@oursprivacy/platform-sdk 1.67.0 → 1.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +8 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +8 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/analytics.d.mts +10 -0
  12. package/resources/analytics.d.mts.map +1 -1
  13. package/resources/analytics.d.ts +10 -0
  14. package/resources/analytics.d.ts.map +1 -1
  15. package/resources/dashboards.d.mts +696 -34
  16. package/resources/dashboards.d.mts.map +1 -1
  17. package/resources/dashboards.d.ts +696 -34
  18. package/resources/dashboards.d.ts.map +1 -1
  19. package/resources/destinations.d.mts +7 -7
  20. package/resources/destinations.d.mts.map +1 -1
  21. package/resources/destinations.d.ts +7 -7
  22. package/resources/destinations.d.ts.map +1 -1
  23. package/resources/funnels.d.mts +255 -9
  24. package/resources/funnels.d.mts.map +1 -1
  25. package/resources/funnels.d.ts +255 -9
  26. package/resources/funnels.d.ts.map +1 -1
  27. package/resources/funnels.js +10 -7
  28. package/resources/funnels.js.map +1 -1
  29. package/resources/funnels.mjs +10 -7
  30. package/resources/funnels.mjs.map +1 -1
  31. package/resources/index.d.mts +3 -1
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +3 -1
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +5 -1
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +2 -0
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/insights.d.mts +178 -57
  40. package/resources/insights.d.mts.map +1 -1
  41. package/resources/insights.d.ts +178 -57
  42. package/resources/insights.d.ts.map +1 -1
  43. package/resources/insights.js +9 -7
  44. package/resources/insights.js.map +1 -1
  45. package/resources/insights.mjs +9 -7
  46. package/resources/insights.mjs.map +1 -1
  47. package/resources/journey-flows.d.mts +242 -18
  48. package/resources/journey-flows.d.mts.map +1 -1
  49. package/resources/journey-flows.d.ts +242 -18
  50. package/resources/journey-flows.d.ts.map +1 -1
  51. package/resources/journey-flows.js +18 -12
  52. package/resources/journey-flows.js.map +1 -1
  53. package/resources/journey-flows.mjs +18 -12
  54. package/resources/journey-flows.mjs.map +1 -1
  55. package/resources/query-events.d.mts +324 -0
  56. package/resources/query-events.d.mts.map +1 -0
  57. package/resources/query-events.d.ts +324 -0
  58. package/resources/query-events.d.ts.map +1 -0
  59. package/resources/query-events.js +64 -0
  60. package/resources/query-events.js.map +1 -0
  61. package/resources/query-events.mjs +60 -0
  62. package/resources/query-events.mjs.map +1 -0
  63. package/resources/query-visitors.d.mts +127 -0
  64. package/resources/query-visitors.d.mts.map +1 -0
  65. package/resources/query-visitors.d.ts +127 -0
  66. package/resources/query-visitors.d.ts.map +1 -0
  67. package/resources/query-visitors.js +35 -0
  68. package/resources/query-visitors.js.map +1 -0
  69. package/resources/query-visitors.mjs +31 -0
  70. package/resources/query-visitors.mjs.map +1 -0
  71. package/resources/report-branding.d.mts +112 -28
  72. package/resources/report-branding.d.mts.map +1 -1
  73. package/resources/report-branding.d.ts +112 -28
  74. package/resources/report-branding.d.ts.map +1 -1
  75. package/resources/report-branding.js +29 -15
  76. package/resources/report-branding.js.map +1 -1
  77. package/resources/report-branding.mjs +29 -15
  78. package/resources/report-branding.mjs.map +1 -1
  79. package/resources/sources.d.mts +6 -6
  80. package/resources/sources.d.mts.map +1 -1
  81. package/resources/sources.d.ts +6 -6
  82. package/resources/sources.d.ts.map +1 -1
  83. package/resources/test-events.d.mts +28 -0
  84. package/resources/test-events.d.mts.map +1 -1
  85. package/resources/test-events.d.ts +28 -0
  86. package/resources/test-events.d.ts.map +1 -1
  87. package/resources/web-analytics.d.mts +25 -1
  88. package/resources/web-analytics.d.mts.map +1 -1
  89. package/resources/web-analytics.d.ts +25 -1
  90. package/resources/web-analytics.d.ts.map +1 -1
  91. package/src/client.ts +54 -0
  92. package/src/resources/analytics.ts +12 -0
  93. package/src/resources/dashboards.ts +939 -47
  94. package/src/resources/destinations.ts +23 -2
  95. package/src/resources/funnels.ts +334 -9
  96. package/src/resources/index.ts +24 -0
  97. package/src/resources/insights.ts +224 -57
  98. package/src/resources/journey-flows.ts +300 -22
  99. package/src/resources/query-events.ts +459 -0
  100. package/src/resources/query-visitors.ts +190 -0
  101. package/src/resources/report-branding.ts +132 -27
  102. package/src/resources/sources.ts +12 -0
  103. package/src/resources/test-events.ts +33 -0
  104. package/src/resources/web-analytics.ts +41 -1
  105. package/src/version.ts +1 -1
  106. package/version.d.mts +1 -1
  107. package/version.d.ts +1 -1
  108. package/version.js +1 -1
  109. package/version.mjs +1 -1
@@ -0,0 +1,324 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ export declare class QueryEvents extends APIResource {
5
+ /**
6
+ * List matching event occurrences. JSON-encode input in the query string.
7
+ * includeCount defaults to false. Requests that include raw event or visitor
8
+ * properties also require event-detail permission, checked by the resolver; a
9
+ * missing permission is masked as 404 Not Found. Requires API-key scope or current
10
+ * OAuth user permission: report:list-events
11
+ */
12
+ list(query: QueryEventListParams, options?: RequestOptions): APIPromise<QueryEventListResponse>;
13
+ /**
14
+ * Return Query Events date, page, selection, projection, and export limits.
15
+ * Requires API-key scope or current OAuth user permission: report:list-events
16
+ */
17
+ capabilities(options?: RequestOptions): APIPromise<QueryEventCapabilitiesResponse>;
18
+ /**
19
+ * List the filter fields and operators supported by Query Events. Requires API-key
20
+ * scope or current OAuth user permission: report:list-events
21
+ */
22
+ catalog(options?: RequestOptions): APIPromise<QueryEventCatalogResponse>;
23
+ /**
24
+ * Suggest observed event and visitor property paths. Optionally scope by exact
25
+ * event name or source id. Requires API-key scope or current OAuth user
26
+ * permission: report:list-events
27
+ */
28
+ propertySuggestions(query?: QueryEventPropertySuggestionsParams | null | undefined, options?: RequestOptions): APIPromise<QueryEventPropertySuggestionsResponse>;
29
+ /**
30
+ * List observed event names available to Query Events. Requires API-key scope or
31
+ * current OAuth user permission: report:list-events
32
+ */
33
+ eventNames(options?: RequestOptions): APIPromise<QueryEventEventNamesResponse>;
34
+ /**
35
+ * Find one event occurrence using the same JSON-encoded input and cursor returned
36
+ * by a Query Events list. Requires API-key scope or current OAuth user permission:
37
+ * report:list-events, report:view-event
38
+ */
39
+ occurrence(query: QueryEventOccurrenceParams, options?: RequestOptions): APIPromise<QueryEventOccurrenceResponse | null>;
40
+ /**
41
+ * Export matching events as CSV or JSON, up to the supported row limit.
42
+ * JSON-encode input in the query string. Requires API-key scope or current OAuth
43
+ * user permission: report:list-events, report:view-event
44
+ */
45
+ export(query: QueryEventExportParams, options?: RequestOptions): APIPromise<QueryEventExportResponse>;
46
+ }
47
+ export interface QueryEventListResponse {
48
+ freshness: QueryEventListResponse.Freshness;
49
+ matchedCount: number | null;
50
+ pagination: QueryEventListResponse.Pagination;
51
+ rows: Array<QueryEventListResponse.Row>;
52
+ }
53
+ export declare namespace QueryEventListResponse {
54
+ interface Freshness {
55
+ coverageStatus: 'UNKNOWN';
56
+ coverageWatermark: string | null;
57
+ syncCompletedAt?: string | null;
58
+ syncCursor?: string | null;
59
+ }
60
+ interface Pagination {
61
+ hasMore: boolean;
62
+ nextCursor: string | null;
63
+ }
64
+ interface Row {
65
+ columns: Array<Row.Column>;
66
+ cursor: string;
67
+ distinctId: string;
68
+ email: string | null;
69
+ eventName: string;
70
+ eventProperties: {
71
+ [key: string]: unknown;
72
+ };
73
+ isBot: boolean;
74
+ isTestEvent: boolean;
75
+ pagePath: string | null;
76
+ sessionId: string | null;
77
+ sourceId: string;
78
+ sourceName: string;
79
+ sourceType: string;
80
+ timestamp: string;
81
+ visitorId: string;
82
+ visitorProperties: {
83
+ [key: string]: unknown;
84
+ };
85
+ }
86
+ namespace Row {
87
+ interface Column {
88
+ path: Array<string> | null;
89
+ property: string;
90
+ type: 'STRING' | 'NUMBER' | 'BOOLEAN' | null;
91
+ value: string | null;
92
+ }
93
+ }
94
+ }
95
+ export interface QueryEventCapabilitiesResponse {
96
+ defaultPageSize: number;
97
+ maxColumns: 20;
98
+ maxDateRangeDays: 366;
99
+ maxExportRows: 100;
100
+ maxPageSize: 250;
101
+ maxSelections: 10;
102
+ supportsVerifiedCoverageWatermark: boolean;
103
+ version: 1;
104
+ }
105
+ export interface QueryEventCatalogResponse {
106
+ /**
107
+ * Fields available to analytics report filters.
108
+ */
109
+ entries: Array<QueryEventCatalogResponse.Entry>;
110
+ /**
111
+ * Known limits of analytics filtering.
112
+ */
113
+ limitations: Array<string>;
114
+ /**
115
+ * Catalog format version.
116
+ */
117
+ version: 1;
118
+ }
119
+ export declare namespace QueryEventCatalogResponse {
120
+ interface Entry {
121
+ /**
122
+ * Catalog identifier for this filterable field.
123
+ */
124
+ id: string;
125
+ /**
126
+ * Human-readable field name.
127
+ */
128
+ label: string;
129
+ /**
130
+ * How a filter treats events where the field is absent.
131
+ */
132
+ missingBehavior: string;
133
+ /**
134
+ * Operators this field accepts in a filter condition.
135
+ */
136
+ operators: Array<string>;
137
+ /**
138
+ * Data source that supplies the field value.
139
+ */
140
+ provider: string;
141
+ /**
142
+ * Whether the field belongs to the event or to its session.
143
+ */
144
+ scope: string;
145
+ /**
146
+ * False when the field identifies a person, so reports can filter on it but not
147
+ * break down by it.
148
+ */
149
+ supportsBreakdown: boolean;
150
+ /**
151
+ * Value type the filter compares against.
152
+ */
153
+ type: string;
154
+ /**
155
+ * Value types allowed for a path-based field.
156
+ */
157
+ allowedTypes?: Array<string> | null;
158
+ /**
159
+ * True when a property path must be supplied, as for custom event properties.
160
+ */
161
+ requiresPath?: boolean | null;
162
+ }
163
+ }
164
+ export interface QueryEventPropertySuggestionsResponse {
165
+ /**
166
+ * Property paths and value types observed in a sample of recent events.
167
+ */
168
+ entities: Array<QueryEventPropertySuggestionsResponse.Entity>;
169
+ /**
170
+ * Start of the observation window the suggestions were drawn from.
171
+ */
172
+ from: string;
173
+ /**
174
+ * True when the suggestions come from a sample, so some paths may be missing.
175
+ */
176
+ sampled: boolean;
177
+ /**
178
+ * End of the observation window the suggestions were drawn from.
179
+ */
180
+ to: string;
181
+ }
182
+ export declare namespace QueryEventPropertySuggestionsResponse {
183
+ interface Entity {
184
+ /**
185
+ * Property path segments, outermost first.
186
+ */
187
+ path: Array<string>;
188
+ /**
189
+ * Property bag the path belongs to.
190
+ */
191
+ property: 'event.properties' | 'event.visitor_properties';
192
+ /**
193
+ * False when the path identifies a person, so reports can filter on it but not
194
+ * break down by it.
195
+ */
196
+ supportsBreakdown: boolean;
197
+ /**
198
+ * Value type observed at this path.
199
+ */
200
+ type: 'string' | 'number' | 'boolean';
201
+ }
202
+ }
203
+ export interface QueryEventEventNamesResponse {
204
+ /**
205
+ * Distinct event names seen in the last 30 days, alphabetical. Not paginated: the
206
+ * list holds up to the 500 most frequent names.
207
+ */
208
+ entities: Array<QueryEventEventNamesResponse.Entity>;
209
+ /**
210
+ * Start of the observation window the suggestions were drawn from.
211
+ */
212
+ from: string;
213
+ /**
214
+ * True when rare names may be missing from the list. Missing names still work when
215
+ * entered exactly.
216
+ */
217
+ sampled: boolean;
218
+ /**
219
+ * End of the observation window the suggestions were drawn from.
220
+ */
221
+ to: string;
222
+ }
223
+ export declare namespace QueryEventEventNamesResponse {
224
+ interface Entity {
225
+ /**
226
+ * Event name exactly as collected, including `$`-prefixed system events.
227
+ */
228
+ name: string;
229
+ }
230
+ }
231
+ export interface QueryEventOccurrenceResponse {
232
+ columns: Array<QueryEventOccurrenceResponse.Column>;
233
+ cursor: string;
234
+ distinctId: string;
235
+ email: string | null;
236
+ eventName: string;
237
+ eventProperties: {
238
+ [key: string]: unknown;
239
+ };
240
+ isBot: boolean;
241
+ isTestEvent: boolean;
242
+ pagePath: string | null;
243
+ sessionId: string | null;
244
+ sourceId: string;
245
+ sourceName: string;
246
+ sourceType: string;
247
+ timestamp: string;
248
+ visitorId: string;
249
+ visitorProperties: {
250
+ [key: string]: unknown;
251
+ };
252
+ }
253
+ export declare namespace QueryEventOccurrenceResponse {
254
+ interface Column {
255
+ path: Array<string> | null;
256
+ property: string;
257
+ type: 'STRING' | 'NUMBER' | 'BOOLEAN' | null;
258
+ value: string | null;
259
+ }
260
+ }
261
+ export interface QueryEventExportResponse {
262
+ content: string;
263
+ format: 'CSV' | 'JSON';
264
+ pagination: QueryEventExportResponse.Pagination;
265
+ rowCount: number;
266
+ }
267
+ export declare namespace QueryEventExportResponse {
268
+ interface Pagination {
269
+ hasMore: boolean;
270
+ nextCursor: string | null;
271
+ }
272
+ }
273
+ export interface QueryEventListParams {
274
+ /**
275
+ * Query Events filters and projection. JSON-encode input in the REST query string.
276
+ */
277
+ input: string;
278
+ /**
279
+ * Cursor from the previous page.
280
+ */
281
+ cursor?: string;
282
+ includeCount?: boolean;
283
+ limit?: number;
284
+ }
285
+ export interface QueryEventPropertySuggestionsParams {
286
+ /**
287
+ * Optional exact event name to scope the suggestions.
288
+ */
289
+ eventName?: string;
290
+ /**
291
+ * Optional exact source identifier to scope the suggestions.
292
+ */
293
+ sourceId?: string;
294
+ }
295
+ export interface QueryEventOccurrenceParams {
296
+ /**
297
+ * Cursor from the page containing this event.
298
+ */
299
+ cursor: string;
300
+ /**
301
+ * The same filters used to obtain the event cursor. JSON-encode input in the REST
302
+ * query string.
303
+ */
304
+ input: string;
305
+ }
306
+ export interface QueryEventExportParams {
307
+ /**
308
+ * Export encoding.
309
+ */
310
+ format: 'CSV' | 'JSON';
311
+ /**
312
+ * Query Events filters and projection. JSON-encode input in the REST query string.
313
+ */
314
+ input: string;
315
+ /**
316
+ * Start after this event cursor.
317
+ */
318
+ cursor?: string;
319
+ limit?: number;
320
+ }
321
+ export declare namespace QueryEvents {
322
+ export { type QueryEventListResponse as QueryEventListResponse, type QueryEventCapabilitiesResponse as QueryEventCapabilitiesResponse, type QueryEventCatalogResponse as QueryEventCatalogResponse, type QueryEventPropertySuggestionsResponse as QueryEventPropertySuggestionsResponse, type QueryEventEventNamesResponse as QueryEventEventNamesResponse, type QueryEventOccurrenceResponse as QueryEventOccurrenceResponse, type QueryEventExportResponse as QueryEventExportResponse, type QueryEventListParams as QueryEventListParams, type QueryEventPropertySuggestionsParams as QueryEventPropertySuggestionsParams, type QueryEventOccurrenceParams as QueryEventOccurrenceParams, type QueryEventExportParams as QueryEventExportParams, };
323
+ }
324
+ //# sourceMappingURL=query-events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-events.d.ts","sourceRoot":"","sources":["../src/resources/query-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;OAMG;IACH,IAAI,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAI/F;;;OAGG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAIlF;;;OAGG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAIxE;;;;OAIG;IACH,mBAAmB,CACjB,KAAK,GAAE,mCAAmC,GAAG,IAAI,GAAG,SAAc,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;IAIpD;;;OAGG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAI9E;;;;OAIG;IACH,UAAU,CACR,KAAK,EAAE,0BAA0B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,GAAG,IAAI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,EAAE,MAAM,CAAC;IAEhB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.QueryEvents = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class QueryEvents extends resource_1.APIResource {
7
+ /**
8
+ * List matching event occurrences. JSON-encode input in the query string.
9
+ * includeCount defaults to false. Requests that include raw event or visitor
10
+ * properties also require event-detail permission, checked by the resolver; a
11
+ * missing permission is masked as 404 Not Found. Requires API-key scope or current
12
+ * OAuth user permission: report:list-events
13
+ */
14
+ list(query, options) {
15
+ return this._client.get('/rest/v1/query-events', { query, ...options });
16
+ }
17
+ /**
18
+ * Return Query Events date, page, selection, projection, and export limits.
19
+ * Requires API-key scope or current OAuth user permission: report:list-events
20
+ */
21
+ capabilities(options) {
22
+ return this._client.get('/rest/v1/query-events/capabilities', options);
23
+ }
24
+ /**
25
+ * List the filter fields and operators supported by Query Events. Requires API-key
26
+ * scope or current OAuth user permission: report:list-events
27
+ */
28
+ catalog(options) {
29
+ return this._client.get('/rest/v1/query-events/query-catalog', options);
30
+ }
31
+ /**
32
+ * Suggest observed event and visitor property paths. Optionally scope by exact
33
+ * event name or source id. Requires API-key scope or current OAuth user
34
+ * permission: report:list-events
35
+ */
36
+ propertySuggestions(query = {}, options) {
37
+ return this._client.get('/rest/v1/query-events/property-suggestions', { query, ...options });
38
+ }
39
+ /**
40
+ * List observed event names available to Query Events. Requires API-key scope or
41
+ * current OAuth user permission: report:list-events
42
+ */
43
+ eventNames(options) {
44
+ return this._client.get('/rest/v1/query-events/event-names', options);
45
+ }
46
+ /**
47
+ * Find one event occurrence using the same JSON-encoded input and cursor returned
48
+ * by a Query Events list. Requires API-key scope or current OAuth user permission:
49
+ * report:list-events, report:view-event
50
+ */
51
+ occurrence(query, options) {
52
+ return this._client.get('/rest/v1/query-events/occurrence', { query, ...options });
53
+ }
54
+ /**
55
+ * Export matching events as CSV or JSON, up to the supported row limit.
56
+ * JSON-encode input in the query string. Requires API-key scope or current OAuth
57
+ * user permission: report:list-events, report:view-event
58
+ */
59
+ export(query, options) {
60
+ return this._client.get('/rest/v1/query-events/export', { query, ...options });
61
+ }
62
+ }
63
+ exports.QueryEvents = QueryEvents;
64
+ //# sourceMappingURL=query-events.js.map
@@ -0,0 +1 @@
1
+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CAAC;CACF;AApED,kCAoEC"}
@@ -0,0 +1,60 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class QueryEvents extends APIResource {
4
+ /**
5
+ * List matching event occurrences. JSON-encode input in the query string.
6
+ * includeCount defaults to false. Requests that include raw event or visitor
7
+ * properties also require event-detail permission, checked by the resolver; a
8
+ * missing permission is masked as 404 Not Found. Requires API-key scope or current
9
+ * OAuth user permission: report:list-events
10
+ */
11
+ list(query, options) {
12
+ return this._client.get('/rest/v1/query-events', { query, ...options });
13
+ }
14
+ /**
15
+ * Return Query Events date, page, selection, projection, and export limits.
16
+ * Requires API-key scope or current OAuth user permission: report:list-events
17
+ */
18
+ capabilities(options) {
19
+ return this._client.get('/rest/v1/query-events/capabilities', options);
20
+ }
21
+ /**
22
+ * List the filter fields and operators supported by Query Events. Requires API-key
23
+ * scope or current OAuth user permission: report:list-events
24
+ */
25
+ catalog(options) {
26
+ return this._client.get('/rest/v1/query-events/query-catalog', options);
27
+ }
28
+ /**
29
+ * Suggest observed event and visitor property paths. Optionally scope by exact
30
+ * event name or source id. Requires API-key scope or current OAuth user
31
+ * permission: report:list-events
32
+ */
33
+ propertySuggestions(query = {}, options) {
34
+ return this._client.get('/rest/v1/query-events/property-suggestions', { query, ...options });
35
+ }
36
+ /**
37
+ * List observed event names available to Query Events. Requires API-key scope or
38
+ * current OAuth user permission: report:list-events
39
+ */
40
+ eventNames(options) {
41
+ return this._client.get('/rest/v1/query-events/event-names', options);
42
+ }
43
+ /**
44
+ * Find one event occurrence using the same JSON-encoded input and cursor returned
45
+ * by a Query Events list. Requires API-key scope or current OAuth user permission:
46
+ * report:list-events, report:view-event
47
+ */
48
+ occurrence(query, options) {
49
+ return this._client.get('/rest/v1/query-events/occurrence', { query, ...options });
50
+ }
51
+ /**
52
+ * Export matching events as CSV or JSON, up to the supported row limit.
53
+ * JSON-encode input in the query string. Requires API-key scope or current OAuth
54
+ * user permission: report:list-events, report:view-event
55
+ */
56
+ export(query, options) {
57
+ return this._client.get('/rest/v1/query-events/export', { query, ...options });
58
+ }
59
+ }
60
+ //# sourceMappingURL=query-events.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-events.mjs","sourceRoot":"","sources":["../src/resources/query-events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;OAMG;IACH,IAAI,CAAC,KAA2B,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,OAAwB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;OAGG;IACH,OAAO,CAAC,OAAwB;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qCAAqC,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACH,mBAAmB,CACjB,QAAgE,EAAE,EAClE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4CAA4C,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED;;;OAGG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,KAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,KAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
@@ -0,0 +1,127 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ export declare class QueryVisitors extends APIResource {
5
+ /**
6
+ * List visitors with matching events and their permitted current-profile fields.
7
+ * JSON-encode input in the query string; cursors stay bound to the account and
8
+ * filters, while page size may change. Requires API-key scope or current OAuth
9
+ * user permission: web-analytics:view, report:list-events
10
+ */
11
+ list(query: QueryVisitorListParams, options?: RequestOptions): APIPromise<QueryVisitorListResponse>;
12
+ /**
13
+ * Return Query Visitors date, page, selection, and touch-filter capabilities.
14
+ * Requires API-key scope or current OAuth user permission: web-analytics:view,
15
+ * report:list-events
16
+ */
17
+ capabilities(options?: RequestOptions): APIPromise<QueryVisitorCapabilitiesResponse>;
18
+ /**
19
+ * Search current visitor profiles for the Query Visitors typeahead. Pass returned
20
+ * visitorIds to the list input to filter the result. Requires API-key scope or
21
+ * current OAuth user permission: web-analytics:view, report:list-events,
22
+ * report:view-visitor
23
+ */
24
+ profileSearch(query: QueryVisitorProfileSearchParams, options?: RequestOptions): APIPromise<QueryVisitorProfileSearchResponse>;
25
+ }
26
+ export interface QueryVisitorListResponse {
27
+ freshness: QueryVisitorListResponse.Freshness;
28
+ matchedCount: number | null;
29
+ pagination: QueryVisitorListResponse.Pagination;
30
+ rows: Array<QueryVisitorListResponse.Row>;
31
+ }
32
+ export declare namespace QueryVisitorListResponse {
33
+ interface Freshness {
34
+ coverageStatus: 'UNKNOWN';
35
+ coverageWatermark: string | null;
36
+ syncCompletedAt?: string | null;
37
+ syncCursor?: string | null;
38
+ }
39
+ interface Pagination {
40
+ hasMore: boolean;
41
+ nextCursor: string | null;
42
+ }
43
+ interface Row {
44
+ match: Row.Match;
45
+ profile: Row.Profile;
46
+ visitorId: string;
47
+ }
48
+ namespace Row {
49
+ interface Match {
50
+ eventCount: number;
51
+ firstEventAt: string;
52
+ lastEventAt: string;
53
+ }
54
+ interface Profile {
55
+ /**
56
+ * Current profile email, when available.
57
+ */
58
+ email: string | null;
59
+ /**
60
+ * Current external ID, when available.
61
+ */
62
+ externalId: string | null;
63
+ /**
64
+ * Current first name, when permitted and available.
65
+ */
66
+ firstName: string | null;
67
+ /**
68
+ * First activity recorded on the current profile.
69
+ */
70
+ firstSeenAt: string | null;
71
+ /**
72
+ * Current last name, when permitted and available.
73
+ */
74
+ lastName: string | null;
75
+ /**
76
+ * Most recent activity recorded on the current profile.
77
+ */
78
+ lastSeenAt: string | null;
79
+ /**
80
+ * Current profile lookup status.
81
+ */
82
+ status: 'FOUND' | 'NOT_FOUND' | 'UNAVAILABLE';
83
+ }
84
+ }
85
+ }
86
+ export interface QueryVisitorCapabilitiesResponse {
87
+ defaultPageSize: 25;
88
+ defaultTouchLookbackDays: number;
89
+ maxDateRangeDays: 31;
90
+ maxPageSize: 100;
91
+ maxSelections: 10;
92
+ supportsVerifiedCoverageWatermark: boolean;
93
+ touchEnabled: boolean;
94
+ touchLookbackDays: Array<number>;
95
+ version: 1;
96
+ }
97
+ export interface QueryVisitorProfileSearchResponse {
98
+ matches: Array<QueryVisitorProfileSearchResponse.Match>;
99
+ truncated: boolean;
100
+ visitorIds: Array<string>;
101
+ }
102
+ export declare namespace QueryVisitorProfileSearchResponse {
103
+ interface Match {
104
+ email: string | null;
105
+ externalId: string | null;
106
+ firstName: string | null;
107
+ lastName: string | null;
108
+ lastSeenAt: string | null;
109
+ visitorId: string;
110
+ }
111
+ }
112
+ export interface QueryVisitorListParams {
113
+ /**
114
+ * Query Visitors filters and page. JSON-encode input in the REST query string.
115
+ */
116
+ input: string;
117
+ }
118
+ export interface QueryVisitorProfileSearchParams {
119
+ /**
120
+ * Current profile search filters. JSON-encode input in the REST query string.
121
+ */
122
+ input: string;
123
+ }
124
+ export declare namespace QueryVisitors {
125
+ export { type QueryVisitorListResponse as QueryVisitorListResponse, type QueryVisitorCapabilitiesResponse as QueryVisitorCapabilitiesResponse, type QueryVisitorProfileSearchResponse as QueryVisitorProfileSearchResponse, type QueryVisitorListParams as QueryVisitorListParams, type QueryVisitorProfileSearchParams as QueryVisitorProfileSearchParams, };
126
+ }
127
+ //# sourceMappingURL=query-visitors.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-visitors.d.mts","sourceRoot":"","sources":["../src/resources/query-visitors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAInG;;;;OAIG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gCAAgC,CAAC;IAIpF;;;;;OAKG;IACH,aAAa,CACX,KAAK,EAAE,+BAA+B,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;CAGjD;AAED,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,wBAAwB,CAAC,SAAS,CAAC;IAE9C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,UAAU,EAAE,wBAAwB,CAAC,UAAU,CAAC;IAEhD,IAAI,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC;CAC3C;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,SAAS;QACxB,cAAc,EAAE,SAAS,CAAC;QAE1B,iBAAiB,EAAE,MAAM,GAA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