1 | import type { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types';
|
2 | import type { TransactionNamingScheme } from '@sentry/utils';
|
3 | export type RequestDataIntegrationOptions = {
|
4 | |
5 |
|
6 |
|
7 | include?: {
|
8 | cookies?: boolean;
|
9 | data?: boolean;
|
10 | headers?: boolean;
|
11 | ip?: boolean;
|
12 | query_string?: boolean;
|
13 | url?: boolean;
|
14 | user?: boolean | {
|
15 | id?: boolean;
|
16 | username?: boolean;
|
17 | email?: boolean;
|
18 | };
|
19 | };
|
20 |
|
21 | transactionNamingScheme?: TransactionNamingScheme;
|
22 | };
|
23 | export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("@sentry/types").IntegrationFnResult;
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 | export declare const RequestData: IntegrationClass<Integration & {
|
30 | processEvent: (event: Event, hint: EventHint, client: Client) => Event;
|
31 | }> & (new (options?: {
|
32 | |
33 |
|
34 |
|
35 | include?: {
|
36 | cookies?: boolean;
|
37 | data?: boolean;
|
38 | headers?: boolean;
|
39 | ip?: boolean;
|
40 | query_string?: boolean;
|
41 | url?: boolean;
|
42 | user?: boolean | {
|
43 | id?: boolean;
|
44 | username?: boolean;
|
45 | email?: boolean;
|
46 | };
|
47 | };
|
48 |
|
49 | transactionNamingScheme?: TransactionNamingScheme;
|
50 | }) => Integration);
|
51 |
|
\ | No newline at end of file |