@oursprivacy/platform-sdk 1.53.0 → 1.54.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.
- package/CHANGELOG.md +7 -0
- package/client.d.mts +10 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -4
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/consent-settings.d.mts +5930 -442
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +5930 -442
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/custom-domains.d.mts +301 -0
- package/resources/custom-domains.d.mts.map +1 -0
- package/resources/custom-domains.d.ts +301 -0
- package/resources/custom-domains.d.ts.map +1 -0
- package/resources/custom-domains.js +55 -0
- package/resources/custom-domains.js.map +1 -0
- package/resources/custom-domains.mjs +51 -0
- package/resources/custom-domains.mjs.map +1 -0
- package/resources/data-governance.d.mts +75 -15
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +75 -15
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/default-mappings.d.mts +207 -3
- package/resources/default-mappings.d.mts.map +1 -1
- package/resources/default-mappings.d.ts +207 -3
- package/resources/default-mappings.d.ts.map +1 -1
- package/resources/destinations.d.mts +33 -13
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +33 -13
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiment-variants.d.mts +117 -14
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +117 -14
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiments.d.mts +3979 -253
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +3979 -253
- package/resources/experiments.d.ts.map +1 -1
- package/resources/funnels.d.mts +648 -7
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +648 -7
- package/resources/funnels.d.ts.map +1 -1
- package/resources/index.d.mts +4 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/journey-flows.d.mts +580 -16
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +580 -16
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/locations.d.mts +25 -5
- package/resources/locations.d.mts.map +1 -1
- package/resources/locations.d.ts +25 -5
- package/resources/locations.d.ts.map +1 -1
- package/resources/mappings.d.mts +540 -12
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +540 -12
- package/resources/mappings.d.ts.map +1 -1
- package/resources/mappings.js +22 -0
- package/resources/mappings.js.map +1 -1
- package/resources/mappings.mjs +22 -0
- package/resources/mappings.mjs.map +1 -1
- package/resources/me.d.mts +29 -0
- package/resources/me.d.mts.map +1 -0
- package/resources/me.d.ts +29 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +17 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +13 -0
- package/resources/me.mjs.map +1 -0
- package/resources/replay-settings.d.mts +117 -3
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +117 -3
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/session-replays.d.mts +5 -0
- package/resources/session-replays.d.mts.map +1 -1
- package/resources/session-replays.d.ts +5 -0
- package/resources/session-replays.d.ts.map +1 -1
- package/resources/short-links.d.mts +722 -10
- package/resources/short-links.d.mts.map +1 -1
- package/resources/short-links.d.ts +722 -10
- package/resources/short-links.d.ts.map +1 -1
- package/resources/sources.d.mts +86 -11
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +86 -11
- package/resources/sources.d.ts.map +1 -1
- package/resources/tag-manager-tags.d.mts +3 -1
- package/resources/tag-manager-tags.d.mts.map +1 -1
- package/resources/tag-manager-tags.d.ts +3 -1
- package/resources/tag-manager-tags.d.ts.map +1 -1
- package/resources/tag-manager-triggers.d.mts +3 -1
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +3 -1
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/tag-manager-variables.d.mts +39 -13
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +39 -13
- package/resources/tag-manager-variables.d.ts.map +1 -1
- package/resources/tag-managers.d.mts +14 -1
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +14 -1
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +8 -0
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +8 -0
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +67 -11
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +67 -11
- package/resources/test-events.d.ts.map +1 -1
- package/resources/versions.d.mts +82 -37
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +82 -37
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +5 -5
- package/resources/versions.mjs +5 -5
- package/resources/video-channels.d.mts +32 -4
- package/resources/video-channels.d.mts.map +1 -1
- package/resources/video-channels.d.ts +32 -4
- package/resources/video-channels.d.ts.map +1 -1
- package/src/client.ts +36 -0
- package/src/resources/consent-settings.ts +7287 -374
- package/src/resources/custom-domains.ts +450 -0
- package/src/resources/data-governance.ts +45 -15
- package/src/resources/default-mappings.ts +303 -3
- package/src/resources/destinations.ts +23 -8
- package/src/resources/experiment-variants.ts +131 -14
- package/src/resources/experiments.ts +8021 -443
- package/src/resources/funnels.ts +1355 -7
- package/src/resources/index.ts +15 -0
- package/src/resources/journey-flows.ts +1224 -16
- package/src/resources/locations.ts +35 -5
- package/src/resources/mappings.ts +794 -19
- package/src/resources/me.ts +37 -0
- package/src/resources/replay-settings.ts +138 -3
- package/src/resources/session-replays.ts +6 -0
- package/src/resources/short-links.ts +872 -10
- package/src/resources/sources.ts +96 -11
- package/src/resources/tag-manager-tags.ts +7 -1
- package/src/resources/tag-manager-triggers.ts +7 -1
- package/src/resources/tag-manager-variables.ts +91 -13
- package/src/resources/tag-managers.ts +25 -0
- package/src/resources/test-events.ts +47 -11
- package/src/resources/versions.ts +83 -37
- package/src/resources/video-channels.ts +44 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -69,7 +69,7 @@ export namespace DefaultMappingListResponse {
|
|
|
69
69
|
*
|
|
70
70
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
71
71
|
*/
|
|
72
|
-
logic?:
|
|
72
|
+
logic?: Entity.Logic | null;
|
|
73
73
|
|
|
74
74
|
name?: string | null;
|
|
75
75
|
|
|
@@ -134,6 +134,106 @@ export namespace DefaultMappingListResponse {
|
|
|
134
134
|
| 'UpperCase'
|
|
135
135
|
| null;
|
|
136
136
|
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
140
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
141
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
142
|
+
*
|
|
143
|
+
* Example leaf:
|
|
144
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
145
|
+
*
|
|
146
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
147
|
+
*/
|
|
148
|
+
export interface Logic {
|
|
149
|
+
/**
|
|
150
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
151
|
+
* or combinator).
|
|
152
|
+
*/
|
|
153
|
+
AND?: Array<{
|
|
154
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
155
|
+
}> | null;
|
|
156
|
+
|
|
157
|
+
condition?: Logic.Condition | null;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Negates a single child logic node.
|
|
161
|
+
*/
|
|
162
|
+
NOT?: {
|
|
163
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
164
|
+
} | null;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
168
|
+
* or combinator).
|
|
169
|
+
*/
|
|
170
|
+
OR?: Array<{
|
|
171
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
172
|
+
}> | null;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export namespace Logic {
|
|
176
|
+
export interface Condition {
|
|
177
|
+
/**
|
|
178
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
179
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
180
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
181
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
182
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
183
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
184
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
185
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
186
|
+
*/
|
|
187
|
+
operator:
|
|
188
|
+
| 'Is'
|
|
189
|
+
| 'IsNot'
|
|
190
|
+
| 'Contains'
|
|
191
|
+
| 'DoesNotContain'
|
|
192
|
+
| 'StartsWith'
|
|
193
|
+
| 'EndsWith'
|
|
194
|
+
| 'IsFalsy'
|
|
195
|
+
| 'IsTruthy'
|
|
196
|
+
| 'IsNull'
|
|
197
|
+
| 'IsNotNull'
|
|
198
|
+
| 'IsUndefined'
|
|
199
|
+
| 'IsNotUndefined'
|
|
200
|
+
| 'IsGreaterThan'
|
|
201
|
+
| 'IsGreaterThanOrEqual'
|
|
202
|
+
| 'IsLessThan'
|
|
203
|
+
| 'IsLessThanOrEqual'
|
|
204
|
+
| 'IsIn'
|
|
205
|
+
| 'IsNotIn'
|
|
206
|
+
| 'IsFoundIn'
|
|
207
|
+
| 'IsNotFoundIn'
|
|
208
|
+
| 'IsTrue'
|
|
209
|
+
| 'IsFalse'
|
|
210
|
+
| 'IsBefore'
|
|
211
|
+
| 'IsAfter'
|
|
212
|
+
| 'IsBetween'
|
|
213
|
+
| 'IsOnOrBefore'
|
|
214
|
+
| 'IsOnOrAfter'
|
|
215
|
+
| 'MatchesRegex'
|
|
216
|
+
| 'MatchesRegexIgnoreCase'
|
|
217
|
+
| 'DoesNotMatchRegex'
|
|
218
|
+
| 'DoesNotMatchRegexIgnoreCase';
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
222
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
223
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
224
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
225
|
+
* and would be compared as a literal string.
|
|
226
|
+
*/
|
|
227
|
+
property: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* String compared against the resolved property. Operators that take no value
|
|
231
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
232
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
233
|
+
*/
|
|
234
|
+
value: string;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
137
237
|
}
|
|
138
238
|
}
|
|
139
239
|
|
|
@@ -158,7 +258,7 @@ export interface DefaultMappingRetrieveResponse {
|
|
|
158
258
|
*
|
|
159
259
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
160
260
|
*/
|
|
161
|
-
logic?:
|
|
261
|
+
logic?: DefaultMappingRetrieveResponse.Logic | null;
|
|
162
262
|
|
|
163
263
|
name?: string | null;
|
|
164
264
|
|
|
@@ -223,6 +323,106 @@ export namespace DefaultMappingRetrieveResponse {
|
|
|
223
323
|
| 'UpperCase'
|
|
224
324
|
| null;
|
|
225
325
|
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
329
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
330
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
331
|
+
*
|
|
332
|
+
* Example leaf:
|
|
333
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
334
|
+
*
|
|
335
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
336
|
+
*/
|
|
337
|
+
export interface Logic {
|
|
338
|
+
/**
|
|
339
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
340
|
+
* or combinator).
|
|
341
|
+
*/
|
|
342
|
+
AND?: Array<{
|
|
343
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
344
|
+
}> | null;
|
|
345
|
+
|
|
346
|
+
condition?: Logic.Condition | null;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Negates a single child logic node.
|
|
350
|
+
*/
|
|
351
|
+
NOT?: {
|
|
352
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
353
|
+
} | null;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
357
|
+
* or combinator).
|
|
358
|
+
*/
|
|
359
|
+
OR?: Array<{
|
|
360
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
361
|
+
}> | null;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export namespace Logic {
|
|
365
|
+
export interface Condition {
|
|
366
|
+
/**
|
|
367
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
368
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
369
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
370
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
371
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
372
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
373
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
374
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
375
|
+
*/
|
|
376
|
+
operator:
|
|
377
|
+
| 'Is'
|
|
378
|
+
| 'IsNot'
|
|
379
|
+
| 'Contains'
|
|
380
|
+
| 'DoesNotContain'
|
|
381
|
+
| 'StartsWith'
|
|
382
|
+
| 'EndsWith'
|
|
383
|
+
| 'IsFalsy'
|
|
384
|
+
| 'IsTruthy'
|
|
385
|
+
| 'IsNull'
|
|
386
|
+
| 'IsNotNull'
|
|
387
|
+
| 'IsUndefined'
|
|
388
|
+
| 'IsNotUndefined'
|
|
389
|
+
| 'IsGreaterThan'
|
|
390
|
+
| 'IsGreaterThanOrEqual'
|
|
391
|
+
| 'IsLessThan'
|
|
392
|
+
| 'IsLessThanOrEqual'
|
|
393
|
+
| 'IsIn'
|
|
394
|
+
| 'IsNotIn'
|
|
395
|
+
| 'IsFoundIn'
|
|
396
|
+
| 'IsNotFoundIn'
|
|
397
|
+
| 'IsTrue'
|
|
398
|
+
| 'IsFalse'
|
|
399
|
+
| 'IsBefore'
|
|
400
|
+
| 'IsAfter'
|
|
401
|
+
| 'IsBetween'
|
|
402
|
+
| 'IsOnOrBefore'
|
|
403
|
+
| 'IsOnOrAfter'
|
|
404
|
+
| 'MatchesRegex'
|
|
405
|
+
| 'MatchesRegexIgnoreCase'
|
|
406
|
+
| 'DoesNotMatchRegex'
|
|
407
|
+
| 'DoesNotMatchRegexIgnoreCase';
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
411
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
412
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
413
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
414
|
+
* and would be compared as a literal string.
|
|
415
|
+
*/
|
|
416
|
+
property: string;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* String compared against the resolved property. Operators that take no value
|
|
420
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
421
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
422
|
+
*/
|
|
423
|
+
value: string;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
226
426
|
}
|
|
227
427
|
|
|
228
428
|
export interface DefaultMappingReplaceResponse {
|
|
@@ -246,7 +446,7 @@ export interface DefaultMappingReplaceResponse {
|
|
|
246
446
|
*
|
|
247
447
|
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
248
448
|
*/
|
|
249
|
-
logic?:
|
|
449
|
+
logic?: DefaultMappingReplaceResponse.Logic | null;
|
|
250
450
|
|
|
251
451
|
name?: string | null;
|
|
252
452
|
|
|
@@ -311,6 +511,106 @@ export namespace DefaultMappingReplaceResponse {
|
|
|
311
511
|
| 'UpperCase'
|
|
312
512
|
| null;
|
|
313
513
|
}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* Condition tree gating when this mapping fires. A node is either a leaf
|
|
517
|
+
* `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
|
|
518
|
+
* themselves logic nodes, so trees nest arbitrarily.
|
|
519
|
+
*
|
|
520
|
+
* Example leaf:
|
|
521
|
+
* `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
|
|
522
|
+
*
|
|
523
|
+
* Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
|
|
524
|
+
*/
|
|
525
|
+
export interface Logic {
|
|
526
|
+
/**
|
|
527
|
+
* All child nodes must match. Each child is itself a logic node (leaf `condition`
|
|
528
|
+
* or combinator).
|
|
529
|
+
*/
|
|
530
|
+
AND?: Array<{
|
|
531
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
532
|
+
}> | null;
|
|
533
|
+
|
|
534
|
+
condition?: Logic.Condition | null;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Negates a single child logic node.
|
|
538
|
+
*/
|
|
539
|
+
NOT?: {
|
|
540
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
541
|
+
} | null;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Any child node must match. Each child is itself a logic node (leaf `condition`
|
|
545
|
+
* or combinator).
|
|
546
|
+
*/
|
|
547
|
+
OR?: Array<{
|
|
548
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
549
|
+
}> | null;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export namespace Logic {
|
|
553
|
+
export interface Condition {
|
|
554
|
+
/**
|
|
555
|
+
* Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
|
|
556
|
+
* `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
|
|
557
|
+
* `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
|
|
558
|
+
* `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
|
|
559
|
+
* `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
|
|
560
|
+
* `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
|
|
561
|
+
* `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
|
|
562
|
+
* `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
|
|
563
|
+
*/
|
|
564
|
+
operator:
|
|
565
|
+
| 'Is'
|
|
566
|
+
| 'IsNot'
|
|
567
|
+
| 'Contains'
|
|
568
|
+
| 'DoesNotContain'
|
|
569
|
+
| 'StartsWith'
|
|
570
|
+
| 'EndsWith'
|
|
571
|
+
| 'IsFalsy'
|
|
572
|
+
| 'IsTruthy'
|
|
573
|
+
| 'IsNull'
|
|
574
|
+
| 'IsNotNull'
|
|
575
|
+
| 'IsUndefined'
|
|
576
|
+
| 'IsNotUndefined'
|
|
577
|
+
| 'IsGreaterThan'
|
|
578
|
+
| 'IsGreaterThanOrEqual'
|
|
579
|
+
| 'IsLessThan'
|
|
580
|
+
| 'IsLessThanOrEqual'
|
|
581
|
+
| 'IsIn'
|
|
582
|
+
| 'IsNotIn'
|
|
583
|
+
| 'IsFoundIn'
|
|
584
|
+
| 'IsNotFoundIn'
|
|
585
|
+
| 'IsTrue'
|
|
586
|
+
| 'IsFalse'
|
|
587
|
+
| 'IsBefore'
|
|
588
|
+
| 'IsAfter'
|
|
589
|
+
| 'IsBetween'
|
|
590
|
+
| 'IsOnOrBefore'
|
|
591
|
+
| 'IsOnOrAfter'
|
|
592
|
+
| 'MatchesRegex'
|
|
593
|
+
| 'MatchesRegexIgnoreCase'
|
|
594
|
+
| 'DoesNotMatchRegex'
|
|
595
|
+
| 'DoesNotMatchRegexIgnoreCase';
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Bare dotted path into the event/visitor record. Examples: `$event.event`,
|
|
599
|
+
* `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
|
|
600
|
+
* optional and stripped before lookup. Do **not** use `{{...}}` here — that
|
|
601
|
+
* template syntax is for mapping values (`mappings[].map`), not logic conditions,
|
|
602
|
+
* and would be compared as a literal string.
|
|
603
|
+
*/
|
|
604
|
+
property: string;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* String compared against the resolved property. Operators that take no value
|
|
608
|
+
* (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
|
|
609
|
+
* `IsTrue`, `IsFalse`) ignore this field — send `""`.
|
|
610
|
+
*/
|
|
611
|
+
value: string;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
314
614
|
}
|
|
315
615
|
|
|
316
616
|
export interface DefaultMappingReplaceParams {
|
|
@@ -139,6 +139,7 @@ export interface DestinationListResponse {
|
|
|
139
139
|
| 'GoogleDataManagerEventIngest'
|
|
140
140
|
| 'GooglePubSub'
|
|
141
141
|
| 'GoogleStorage'
|
|
142
|
+
| 'GravityCAPI'
|
|
142
143
|
| 'HTTPCustomRequest'
|
|
143
144
|
| 'HTTPDestination'
|
|
144
145
|
| 'Hubspot'
|
|
@@ -197,7 +198,9 @@ export interface DestinationListResponse {
|
|
|
197
198
|
|
|
198
199
|
name?: string | null;
|
|
199
200
|
|
|
200
|
-
settings?:
|
|
201
|
+
settings?: {
|
|
202
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
203
|
+
} | null;
|
|
201
204
|
|
|
202
205
|
updatedAt?: string | null;
|
|
203
206
|
}
|
|
@@ -257,6 +260,7 @@ export interface DestinationCreateResponse {
|
|
|
257
260
|
| 'GoogleDataManagerEventIngest'
|
|
258
261
|
| 'GooglePubSub'
|
|
259
262
|
| 'GoogleStorage'
|
|
263
|
+
| 'GravityCAPI'
|
|
260
264
|
| 'HTTPCustomRequest'
|
|
261
265
|
| 'HTTPDestination'
|
|
262
266
|
| 'Hubspot'
|
|
@@ -315,7 +319,9 @@ export interface DestinationCreateResponse {
|
|
|
315
319
|
|
|
316
320
|
name?: string | null;
|
|
317
321
|
|
|
318
|
-
settings?:
|
|
322
|
+
settings?: {
|
|
323
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
324
|
+
} | null;
|
|
319
325
|
|
|
320
326
|
updatedAt?: string | null;
|
|
321
327
|
}
|
|
@@ -375,6 +381,7 @@ export interface DestinationRetrieveResponse {
|
|
|
375
381
|
| 'GoogleDataManagerEventIngest'
|
|
376
382
|
| 'GooglePubSub'
|
|
377
383
|
| 'GoogleStorage'
|
|
384
|
+
| 'GravityCAPI'
|
|
378
385
|
| 'HTTPCustomRequest'
|
|
379
386
|
| 'HTTPDestination'
|
|
380
387
|
| 'Hubspot'
|
|
@@ -433,7 +440,9 @@ export interface DestinationRetrieveResponse {
|
|
|
433
440
|
|
|
434
441
|
name?: string | null;
|
|
435
442
|
|
|
436
|
-
settings?:
|
|
443
|
+
settings?: {
|
|
444
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
445
|
+
} | null;
|
|
437
446
|
|
|
438
447
|
updatedAt?: string | null;
|
|
439
448
|
}
|
|
@@ -493,6 +502,7 @@ export interface DestinationUpdateResponse {
|
|
|
493
502
|
| 'GoogleDataManagerEventIngest'
|
|
494
503
|
| 'GooglePubSub'
|
|
495
504
|
| 'GoogleStorage'
|
|
505
|
+
| 'GravityCAPI'
|
|
496
506
|
| 'HTTPCustomRequest'
|
|
497
507
|
| 'HTTPDestination'
|
|
498
508
|
| 'Hubspot'
|
|
@@ -551,7 +561,9 @@ export interface DestinationUpdateResponse {
|
|
|
551
561
|
|
|
552
562
|
name?: string | null;
|
|
553
563
|
|
|
554
|
-
settings?:
|
|
564
|
+
settings?: {
|
|
565
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
566
|
+
} | null;
|
|
555
567
|
|
|
556
568
|
updatedAt?: string | null;
|
|
557
569
|
}
|
|
@@ -644,7 +656,8 @@ export namespace DestinationTypesResponse {
|
|
|
644
656
|
| 'MNTN'
|
|
645
657
|
| 'ZohoCRM'
|
|
646
658
|
| 'Rokt'
|
|
647
|
-
| 'Fullstory'
|
|
659
|
+
| 'Fullstory'
|
|
660
|
+
| 'GravityCAPI';
|
|
648
661
|
|
|
649
662
|
capabilities: Entity.Capabilities;
|
|
650
663
|
|
|
@@ -847,6 +860,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
847
860
|
| 'GoogleDataManagerEventIngest'
|
|
848
861
|
| 'GooglePubSub'
|
|
849
862
|
| 'GoogleStorage'
|
|
863
|
+
| 'GravityCAPI'
|
|
850
864
|
| 'HTTPCustomRequest'
|
|
851
865
|
| 'HTTPDestination'
|
|
852
866
|
| 'Hubspot'
|
|
@@ -987,7 +1001,8 @@ export interface DestinationCreateParams {
|
|
|
987
1001
|
| 'MNTN'
|
|
988
1002
|
| 'ZohoCRM'
|
|
989
1003
|
| 'Rokt'
|
|
990
|
-
| 'Fullstory'
|
|
1004
|
+
| 'Fullstory'
|
|
1005
|
+
| 'GravityCAPI';
|
|
991
1006
|
|
|
992
1007
|
name?: string | null;
|
|
993
1008
|
|
|
@@ -995,7 +1010,7 @@ export interface DestinationCreateParams {
|
|
|
995
1010
|
* Per-type configuration keys and values. Call GET /rest/v1/destinations/types to
|
|
996
1011
|
* get the valid keys for your destination type.
|
|
997
1012
|
*/
|
|
998
|
-
settings?:
|
|
1013
|
+
settings?: { [key: string]: string | null | number | boolean } | null;
|
|
999
1014
|
}
|
|
1000
1015
|
|
|
1001
1016
|
export interface DestinationUpdateParams {
|
|
@@ -1009,7 +1024,7 @@ export interface DestinationUpdateParams {
|
|
|
1009
1024
|
* Per-type configuration keys and values. Call GET /rest/v1/destinations/types to
|
|
1010
1025
|
* get the valid keys for your destination type.
|
|
1011
1026
|
*/
|
|
1012
|
-
settings?:
|
|
1027
|
+
settings?: { [key: string]: string | null | number | boolean } | null;
|
|
1013
1028
|
|
|
1014
1029
|
status?: 'Disabled' | 'Enabled' | null;
|
|
1015
1030
|
}
|