@oursprivacy/platform-sdk 1.53.0 → 1.55.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 +14 -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 +85 -40
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +85 -40
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +8 -8
- package/resources/versions.mjs +8 -8
- 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 +35 -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 +86 -40
- 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 {
|
|
@@ -117,6 +117,7 @@ export interface DestinationListResponse {
|
|
|
117
117
|
| 'BingAdsWeb'
|
|
118
118
|
| 'BingRest'
|
|
119
119
|
| 'Braze'
|
|
120
|
+
| 'BrazeAudience'
|
|
120
121
|
| 'ConvertABTestingEvent'
|
|
121
122
|
| 'Customerio'
|
|
122
123
|
| 'DatabricksWarehouse'
|
|
@@ -139,6 +140,7 @@ export interface DestinationListResponse {
|
|
|
139
140
|
| 'GoogleDataManagerEventIngest'
|
|
140
141
|
| 'GooglePubSub'
|
|
141
142
|
| 'GoogleStorage'
|
|
143
|
+
| 'GravityCAPI'
|
|
142
144
|
| 'HTTPCustomRequest'
|
|
143
145
|
| 'HTTPDestination'
|
|
144
146
|
| 'Hubspot'
|
|
@@ -146,6 +148,7 @@ export interface DestinationListResponse {
|
|
|
146
148
|
| 'Impact'
|
|
147
149
|
| 'Iterable'
|
|
148
150
|
| 'Klaviyo'
|
|
151
|
+
| 'LeadSquared'
|
|
149
152
|
| 'LinkedInAdsCAPI'
|
|
150
153
|
| 'LiveIntent'
|
|
151
154
|
| 'LiveRampWarehouse'
|
|
@@ -197,7 +200,9 @@ export interface DestinationListResponse {
|
|
|
197
200
|
|
|
198
201
|
name?: string | null;
|
|
199
202
|
|
|
200
|
-
settings?:
|
|
203
|
+
settings?: {
|
|
204
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
205
|
+
} | null;
|
|
201
206
|
|
|
202
207
|
updatedAt?: string | null;
|
|
203
208
|
}
|
|
@@ -235,6 +240,7 @@ export interface DestinationCreateResponse {
|
|
|
235
240
|
| 'BingAdsWeb'
|
|
236
241
|
| 'BingRest'
|
|
237
242
|
| 'Braze'
|
|
243
|
+
| 'BrazeAudience'
|
|
238
244
|
| 'ConvertABTestingEvent'
|
|
239
245
|
| 'Customerio'
|
|
240
246
|
| 'DatabricksWarehouse'
|
|
@@ -257,6 +263,7 @@ export interface DestinationCreateResponse {
|
|
|
257
263
|
| 'GoogleDataManagerEventIngest'
|
|
258
264
|
| 'GooglePubSub'
|
|
259
265
|
| 'GoogleStorage'
|
|
266
|
+
| 'GravityCAPI'
|
|
260
267
|
| 'HTTPCustomRequest'
|
|
261
268
|
| 'HTTPDestination'
|
|
262
269
|
| 'Hubspot'
|
|
@@ -264,6 +271,7 @@ export interface DestinationCreateResponse {
|
|
|
264
271
|
| 'Impact'
|
|
265
272
|
| 'Iterable'
|
|
266
273
|
| 'Klaviyo'
|
|
274
|
+
| 'LeadSquared'
|
|
267
275
|
| 'LinkedInAdsCAPI'
|
|
268
276
|
| 'LiveIntent'
|
|
269
277
|
| 'LiveRampWarehouse'
|
|
@@ -315,7 +323,9 @@ export interface DestinationCreateResponse {
|
|
|
315
323
|
|
|
316
324
|
name?: string | null;
|
|
317
325
|
|
|
318
|
-
settings?:
|
|
326
|
+
settings?: {
|
|
327
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
328
|
+
} | null;
|
|
319
329
|
|
|
320
330
|
updatedAt?: string | null;
|
|
321
331
|
}
|
|
@@ -353,6 +363,7 @@ export interface DestinationRetrieveResponse {
|
|
|
353
363
|
| 'BingAdsWeb'
|
|
354
364
|
| 'BingRest'
|
|
355
365
|
| 'Braze'
|
|
366
|
+
| 'BrazeAudience'
|
|
356
367
|
| 'ConvertABTestingEvent'
|
|
357
368
|
| 'Customerio'
|
|
358
369
|
| 'DatabricksWarehouse'
|
|
@@ -375,6 +386,7 @@ export interface DestinationRetrieveResponse {
|
|
|
375
386
|
| 'GoogleDataManagerEventIngest'
|
|
376
387
|
| 'GooglePubSub'
|
|
377
388
|
| 'GoogleStorage'
|
|
389
|
+
| 'GravityCAPI'
|
|
378
390
|
| 'HTTPCustomRequest'
|
|
379
391
|
| 'HTTPDestination'
|
|
380
392
|
| 'Hubspot'
|
|
@@ -382,6 +394,7 @@ export interface DestinationRetrieveResponse {
|
|
|
382
394
|
| 'Impact'
|
|
383
395
|
| 'Iterable'
|
|
384
396
|
| 'Klaviyo'
|
|
397
|
+
| 'LeadSquared'
|
|
385
398
|
| 'LinkedInAdsCAPI'
|
|
386
399
|
| 'LiveIntent'
|
|
387
400
|
| 'LiveRampWarehouse'
|
|
@@ -433,7 +446,9 @@ export interface DestinationRetrieveResponse {
|
|
|
433
446
|
|
|
434
447
|
name?: string | null;
|
|
435
448
|
|
|
436
|
-
settings?:
|
|
449
|
+
settings?: {
|
|
450
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
451
|
+
} | null;
|
|
437
452
|
|
|
438
453
|
updatedAt?: string | null;
|
|
439
454
|
}
|
|
@@ -471,6 +486,7 @@ export interface DestinationUpdateResponse {
|
|
|
471
486
|
| 'BingAdsWeb'
|
|
472
487
|
| 'BingRest'
|
|
473
488
|
| 'Braze'
|
|
489
|
+
| 'BrazeAudience'
|
|
474
490
|
| 'ConvertABTestingEvent'
|
|
475
491
|
| 'Customerio'
|
|
476
492
|
| 'DatabricksWarehouse'
|
|
@@ -493,6 +509,7 @@ export interface DestinationUpdateResponse {
|
|
|
493
509
|
| 'GoogleDataManagerEventIngest'
|
|
494
510
|
| 'GooglePubSub'
|
|
495
511
|
| 'GoogleStorage'
|
|
512
|
+
| 'GravityCAPI'
|
|
496
513
|
| 'HTTPCustomRequest'
|
|
497
514
|
| 'HTTPDestination'
|
|
498
515
|
| 'Hubspot'
|
|
@@ -500,6 +517,7 @@ export interface DestinationUpdateResponse {
|
|
|
500
517
|
| 'Impact'
|
|
501
518
|
| 'Iterable'
|
|
502
519
|
| 'Klaviyo'
|
|
520
|
+
| 'LeadSquared'
|
|
503
521
|
| 'LinkedInAdsCAPI'
|
|
504
522
|
| 'LiveIntent'
|
|
505
523
|
| 'LiveRampWarehouse'
|
|
@@ -551,7 +569,9 @@ export interface DestinationUpdateResponse {
|
|
|
551
569
|
|
|
552
570
|
name?: string | null;
|
|
553
571
|
|
|
554
|
-
settings?:
|
|
572
|
+
settings?: {
|
|
573
|
+
[key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
|
|
574
|
+
} | null;
|
|
555
575
|
|
|
556
576
|
updatedAt?: string | null;
|
|
557
577
|
}
|
|
@@ -644,7 +664,9 @@ export namespace DestinationTypesResponse {
|
|
|
644
664
|
| 'MNTN'
|
|
645
665
|
| 'ZohoCRM'
|
|
646
666
|
| 'Rokt'
|
|
647
|
-
| 'Fullstory'
|
|
667
|
+
| 'Fullstory'
|
|
668
|
+
| 'GravityCAPI'
|
|
669
|
+
| 'LeadSquared';
|
|
648
670
|
|
|
649
671
|
capabilities: Entity.Capabilities;
|
|
650
672
|
|
|
@@ -825,6 +847,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
825
847
|
| 'BingAdsWeb'
|
|
826
848
|
| 'BingRest'
|
|
827
849
|
| 'Braze'
|
|
850
|
+
| 'BrazeAudience'
|
|
828
851
|
| 'ConvertABTestingEvent'
|
|
829
852
|
| 'Customerio'
|
|
830
853
|
| 'DatabricksWarehouse'
|
|
@@ -847,6 +870,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
847
870
|
| 'GoogleDataManagerEventIngest'
|
|
848
871
|
| 'GooglePubSub'
|
|
849
872
|
| 'GoogleStorage'
|
|
873
|
+
| 'GravityCAPI'
|
|
850
874
|
| 'HTTPCustomRequest'
|
|
851
875
|
| 'HTTPDestination'
|
|
852
876
|
| 'Hubspot'
|
|
@@ -854,6 +878,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
854
878
|
| 'Impact'
|
|
855
879
|
| 'Iterable'
|
|
856
880
|
| 'Klaviyo'
|
|
881
|
+
| 'LeadSquared'
|
|
857
882
|
| 'LinkedInAdsCAPI'
|
|
858
883
|
| 'LiveIntent'
|
|
859
884
|
| 'LiveRampWarehouse'
|
|
@@ -987,7 +1012,9 @@ export interface DestinationCreateParams {
|
|
|
987
1012
|
| 'MNTN'
|
|
988
1013
|
| 'ZohoCRM'
|
|
989
1014
|
| 'Rokt'
|
|
990
|
-
| 'Fullstory'
|
|
1015
|
+
| 'Fullstory'
|
|
1016
|
+
| 'GravityCAPI'
|
|
1017
|
+
| 'LeadSquared';
|
|
991
1018
|
|
|
992
1019
|
name?: string | null;
|
|
993
1020
|
|
|
@@ -995,7 +1022,7 @@ export interface DestinationCreateParams {
|
|
|
995
1022
|
* Per-type configuration keys and values. Call GET /rest/v1/destinations/types to
|
|
996
1023
|
* get the valid keys for your destination type.
|
|
997
1024
|
*/
|
|
998
|
-
settings?:
|
|
1025
|
+
settings?: { [key: string]: string | null | number | boolean } | null;
|
|
999
1026
|
}
|
|
1000
1027
|
|
|
1001
1028
|
export interface DestinationUpdateParams {
|
|
@@ -1009,7 +1036,7 @@ export interface DestinationUpdateParams {
|
|
|
1009
1036
|
* Per-type configuration keys and values. Call GET /rest/v1/destinations/types to
|
|
1010
1037
|
* get the valid keys for your destination type.
|
|
1011
1038
|
*/
|
|
1012
|
-
settings?:
|
|
1039
|
+
settings?: { [key: string]: string | null | number | boolean } | null;
|
|
1013
1040
|
|
|
1014
1041
|
status?: 'Disabled' | 'Enabled' | null;
|
|
1015
1042
|
}
|