@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.
Files changed (158) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +10 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -4
  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 +2 -2
  11. package/resources/consent-settings.d.mts +5930 -442
  12. package/resources/consent-settings.d.mts.map +1 -1
  13. package/resources/consent-settings.d.ts +5930 -442
  14. package/resources/consent-settings.d.ts.map +1 -1
  15. package/resources/custom-domains.d.mts +301 -0
  16. package/resources/custom-domains.d.mts.map +1 -0
  17. package/resources/custom-domains.d.ts +301 -0
  18. package/resources/custom-domains.d.ts.map +1 -0
  19. package/resources/custom-domains.js +55 -0
  20. package/resources/custom-domains.js.map +1 -0
  21. package/resources/custom-domains.mjs +51 -0
  22. package/resources/custom-domains.mjs.map +1 -0
  23. package/resources/data-governance.d.mts +75 -15
  24. package/resources/data-governance.d.mts.map +1 -1
  25. package/resources/data-governance.d.ts +75 -15
  26. package/resources/data-governance.d.ts.map +1 -1
  27. package/resources/default-mappings.d.mts +207 -3
  28. package/resources/default-mappings.d.mts.map +1 -1
  29. package/resources/default-mappings.d.ts +207 -3
  30. package/resources/default-mappings.d.ts.map +1 -1
  31. package/resources/destinations.d.mts +33 -13
  32. package/resources/destinations.d.mts.map +1 -1
  33. package/resources/destinations.d.ts +33 -13
  34. package/resources/destinations.d.ts.map +1 -1
  35. package/resources/experiment-variants.d.mts +117 -14
  36. package/resources/experiment-variants.d.mts.map +1 -1
  37. package/resources/experiment-variants.d.ts +117 -14
  38. package/resources/experiment-variants.d.ts.map +1 -1
  39. package/resources/experiments.d.mts +3979 -253
  40. package/resources/experiments.d.mts.map +1 -1
  41. package/resources/experiments.d.ts +3979 -253
  42. package/resources/experiments.d.ts.map +1 -1
  43. package/resources/funnels.d.mts +648 -7
  44. package/resources/funnels.d.mts.map +1 -1
  45. package/resources/funnels.d.ts +648 -7
  46. package/resources/funnels.d.ts.map +1 -1
  47. package/resources/index.d.mts +4 -2
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +4 -2
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js +5 -1
  52. package/resources/index.js.map +1 -1
  53. package/resources/index.mjs +2 -0
  54. package/resources/index.mjs.map +1 -1
  55. package/resources/journey-flows.d.mts +580 -16
  56. package/resources/journey-flows.d.mts.map +1 -1
  57. package/resources/journey-flows.d.ts +580 -16
  58. package/resources/journey-flows.d.ts.map +1 -1
  59. package/resources/locations.d.mts +25 -5
  60. package/resources/locations.d.mts.map +1 -1
  61. package/resources/locations.d.ts +25 -5
  62. package/resources/locations.d.ts.map +1 -1
  63. package/resources/mappings.d.mts +540 -12
  64. package/resources/mappings.d.mts.map +1 -1
  65. package/resources/mappings.d.ts +540 -12
  66. package/resources/mappings.d.ts.map +1 -1
  67. package/resources/mappings.js +22 -0
  68. package/resources/mappings.js.map +1 -1
  69. package/resources/mappings.mjs +22 -0
  70. package/resources/mappings.mjs.map +1 -1
  71. package/resources/me.d.mts +29 -0
  72. package/resources/me.d.mts.map +1 -0
  73. package/resources/me.d.ts +29 -0
  74. package/resources/me.d.ts.map +1 -0
  75. package/resources/me.js +17 -0
  76. package/resources/me.js.map +1 -0
  77. package/resources/me.mjs +13 -0
  78. package/resources/me.mjs.map +1 -0
  79. package/resources/replay-settings.d.mts +117 -3
  80. package/resources/replay-settings.d.mts.map +1 -1
  81. package/resources/replay-settings.d.ts +117 -3
  82. package/resources/replay-settings.d.ts.map +1 -1
  83. package/resources/session-replays.d.mts +5 -0
  84. package/resources/session-replays.d.mts.map +1 -1
  85. package/resources/session-replays.d.ts +5 -0
  86. package/resources/session-replays.d.ts.map +1 -1
  87. package/resources/short-links.d.mts +722 -10
  88. package/resources/short-links.d.mts.map +1 -1
  89. package/resources/short-links.d.ts +722 -10
  90. package/resources/short-links.d.ts.map +1 -1
  91. package/resources/sources.d.mts +86 -11
  92. package/resources/sources.d.mts.map +1 -1
  93. package/resources/sources.d.ts +86 -11
  94. package/resources/sources.d.ts.map +1 -1
  95. package/resources/tag-manager-tags.d.mts +3 -1
  96. package/resources/tag-manager-tags.d.mts.map +1 -1
  97. package/resources/tag-manager-tags.d.ts +3 -1
  98. package/resources/tag-manager-tags.d.ts.map +1 -1
  99. package/resources/tag-manager-triggers.d.mts +3 -1
  100. package/resources/tag-manager-triggers.d.mts.map +1 -1
  101. package/resources/tag-manager-triggers.d.ts +3 -1
  102. package/resources/tag-manager-triggers.d.ts.map +1 -1
  103. package/resources/tag-manager-variables.d.mts +39 -13
  104. package/resources/tag-manager-variables.d.mts.map +1 -1
  105. package/resources/tag-manager-variables.d.ts +39 -13
  106. package/resources/tag-manager-variables.d.ts.map +1 -1
  107. package/resources/tag-managers.d.mts +14 -1
  108. package/resources/tag-managers.d.mts.map +1 -1
  109. package/resources/tag-managers.d.ts +14 -1
  110. package/resources/tag-managers.d.ts.map +1 -1
  111. package/resources/tag-managers.js +8 -0
  112. package/resources/tag-managers.js.map +1 -1
  113. package/resources/tag-managers.mjs +8 -0
  114. package/resources/tag-managers.mjs.map +1 -1
  115. package/resources/test-events.d.mts +67 -11
  116. package/resources/test-events.d.mts.map +1 -1
  117. package/resources/test-events.d.ts +67 -11
  118. package/resources/test-events.d.ts.map +1 -1
  119. package/resources/versions.d.mts +82 -37
  120. package/resources/versions.d.mts.map +1 -1
  121. package/resources/versions.d.ts +82 -37
  122. package/resources/versions.d.ts.map +1 -1
  123. package/resources/versions.js +5 -5
  124. package/resources/versions.mjs +5 -5
  125. package/resources/video-channels.d.mts +32 -4
  126. package/resources/video-channels.d.mts.map +1 -1
  127. package/resources/video-channels.d.ts +32 -4
  128. package/resources/video-channels.d.ts.map +1 -1
  129. package/src/client.ts +36 -0
  130. package/src/resources/consent-settings.ts +7287 -374
  131. package/src/resources/custom-domains.ts +450 -0
  132. package/src/resources/data-governance.ts +45 -15
  133. package/src/resources/default-mappings.ts +303 -3
  134. package/src/resources/destinations.ts +23 -8
  135. package/src/resources/experiment-variants.ts +131 -14
  136. package/src/resources/experiments.ts +8021 -443
  137. package/src/resources/funnels.ts +1355 -7
  138. package/src/resources/index.ts +15 -0
  139. package/src/resources/journey-flows.ts +1224 -16
  140. package/src/resources/locations.ts +35 -5
  141. package/src/resources/mappings.ts +794 -19
  142. package/src/resources/me.ts +37 -0
  143. package/src/resources/replay-settings.ts +138 -3
  144. package/src/resources/session-replays.ts +6 -0
  145. package/src/resources/short-links.ts +872 -10
  146. package/src/resources/sources.ts +96 -11
  147. package/src/resources/tag-manager-tags.ts +7 -1
  148. package/src/resources/tag-manager-triggers.ts +7 -1
  149. package/src/resources/tag-manager-variables.ts +91 -13
  150. package/src/resources/tag-managers.ts +25 -0
  151. package/src/resources/test-events.ts +47 -11
  152. package/src/resources/versions.ts +83 -37
  153. package/src/resources/video-channels.ts +44 -4
  154. package/src/version.ts +1 -1
  155. package/version.d.mts +1 -1
  156. package/version.d.ts +1 -1
  157. package/version.js +1 -1
  158. 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?: unknown;
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?: unknown;
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?: unknown;
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?: unknown | null;
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?: unknown | null;
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?: unknown | null;
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?: unknown | null;
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?: unknown | null;
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?: unknown | null;
1027
+ settings?: { [key: string]: string | null | number | boolean } | null;
1013
1028
 
1014
1029
  status?: 'Disabled' | 'Enabled' | null;
1015
1030
  }