@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.
Files changed (158) hide show
  1. package/CHANGELOG.md +14 -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 +85 -40
  120. package/resources/versions.d.mts.map +1 -1
  121. package/resources/versions.d.ts +85 -40
  122. package/resources/versions.d.ts.map +1 -1
  123. package/resources/versions.js +8 -8
  124. package/resources/versions.mjs +8 -8
  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 +35 -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 +86 -40
  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
@@ -43,6 +43,24 @@ export declare class Mappings extends APIResource {
43
43
  * mapping:delete
44
44
  */
45
45
  delete(id: string, options?: RequestOptions): APIPromise<MappingDeleteResponse>;
46
+ /**
47
+ * Preview a destination-specific event rename before setting or clearing it. Check
48
+ * `supportsRenamedEvents` in `GET /rest/v1/destinations/types` first. If
49
+ * `willCascade` is true, review all `affectedEventNames` before calling
50
+ * `PUT /rest/v1/mappings/rename` with `confirmCascade: true`. Requires API-key
51
+ * scope or current OAuth user permission: mapping:find
52
+ */
53
+ renamePreview(query: MappingRenamePreviewParams, options?: RequestOptions): APIPromise<MappingRenamePreviewResponse>;
54
+ /**
55
+ * Set or clear a destination-specific allowed-event rename. Send
56
+ * `renamedEventName: null` to clear it; clearing an existing mapper also requires
57
+ * the `mapping:delete` scope. Preview first with
58
+ * `GET /rest/v1/mappings/rename-preview`; a shared mapper requires
59
+ * `confirmCascade: true`, and all affected events will change. Publish a new
60
+ * version to activate the change. Requires API-key scope or current OAuth user
61
+ * permission: mapping:update
62
+ */
63
+ rename(body: MappingRenameParams, options?: RequestOptions): APIPromise<MappingRenameResponse | null>;
46
64
  /**
47
65
  * Reassign `priority` for a set of mappings. Pass `{ uuids: [...] }` with the
48
66
  * mapping ids in their new order — index 0 becomes the highest-priority mapping.
@@ -104,7 +122,7 @@ export interface MappingListResponse {
104
122
  *
105
123
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
106
124
  */
107
- logic?: unknown;
125
+ logic?: MappingListResponse.Logic | null;
108
126
  name?: string | null;
109
127
  priority?: number | null;
110
128
  sourceId?: string | null;
@@ -130,6 +148,74 @@ export declare namespace MappingListResponse {
130
148
  property: string;
131
149
  modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
132
150
  }
151
+ /**
152
+ * Condition tree gating when this mapping fires. A node is either a leaf
153
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
154
+ * themselves logic nodes, so trees nest arbitrarily.
155
+ *
156
+ * Example leaf:
157
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
158
+ *
159
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
160
+ */
161
+ interface Logic {
162
+ /**
163
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
164
+ * or combinator).
165
+ */
166
+ AND?: Array<{
167
+ [key: string]: string | null | number | boolean | Array<unknown> | {
168
+ [key: string]: unknown;
169
+ };
170
+ }> | null;
171
+ condition?: Logic.Condition | null;
172
+ /**
173
+ * Negates a single child logic node.
174
+ */
175
+ NOT?: {
176
+ [key: string]: string | null | number | boolean | Array<unknown> | {
177
+ [key: string]: unknown;
178
+ };
179
+ } | null;
180
+ /**
181
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
182
+ * or combinator).
183
+ */
184
+ OR?: Array<{
185
+ [key: string]: string | null | number | boolean | Array<unknown> | {
186
+ [key: string]: unknown;
187
+ };
188
+ }> | null;
189
+ }
190
+ namespace Logic {
191
+ interface Condition {
192
+ /**
193
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
194
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
195
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
196
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
197
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
198
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
199
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
200
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
201
+ */
202
+ operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
203
+ /**
204
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
205
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
206
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
207
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
208
+ * and would be compared as a literal string.
209
+ */
210
+ property: string;
211
+ /**
212
+ * String compared against the resolved property. Operators that take no value
213
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
214
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
215
+ */
216
+ value: string;
217
+ }
218
+ }
133
219
  }
134
220
  export interface MappingCreateResponse {
135
221
  id: string;
@@ -147,7 +233,7 @@ export interface MappingCreateResponse {
147
233
  *
148
234
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
149
235
  */
150
- logic?: unknown;
236
+ logic?: MappingCreateResponse.Logic | null;
151
237
  name?: string | null;
152
238
  priority?: number | null;
153
239
  sourceId?: string | null;
@@ -173,6 +259,74 @@ export declare namespace MappingCreateResponse {
173
259
  property: string;
174
260
  modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
175
261
  }
262
+ /**
263
+ * Condition tree gating when this mapping fires. A node is either a leaf
264
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
265
+ * themselves logic nodes, so trees nest arbitrarily.
266
+ *
267
+ * Example leaf:
268
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
269
+ *
270
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
271
+ */
272
+ interface Logic {
273
+ /**
274
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
275
+ * or combinator).
276
+ */
277
+ AND?: Array<{
278
+ [key: string]: string | null | number | boolean | Array<unknown> | {
279
+ [key: string]: unknown;
280
+ };
281
+ }> | null;
282
+ condition?: Logic.Condition | null;
283
+ /**
284
+ * Negates a single child logic node.
285
+ */
286
+ NOT?: {
287
+ [key: string]: string | null | number | boolean | Array<unknown> | {
288
+ [key: string]: unknown;
289
+ };
290
+ } | null;
291
+ /**
292
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
293
+ * or combinator).
294
+ */
295
+ OR?: Array<{
296
+ [key: string]: string | null | number | boolean | Array<unknown> | {
297
+ [key: string]: unknown;
298
+ };
299
+ }> | null;
300
+ }
301
+ namespace Logic {
302
+ interface Condition {
303
+ /**
304
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
305
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
306
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
307
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
308
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
309
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
310
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
311
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
312
+ */
313
+ operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
314
+ /**
315
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
316
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
317
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
318
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
319
+ * and would be compared as a literal string.
320
+ */
321
+ property: string;
322
+ /**
323
+ * String compared against the resolved property. Operators that take no value
324
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
325
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
326
+ */
327
+ value: string;
328
+ }
329
+ }
176
330
  }
177
331
  export interface MappingRetrieveResponse {
178
332
  id: string;
@@ -190,7 +344,7 @@ export interface MappingRetrieveResponse {
190
344
  *
191
345
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
192
346
  */
193
- logic?: unknown;
347
+ logic?: MappingRetrieveResponse.Logic | null;
194
348
  name?: string | null;
195
349
  priority?: number | null;
196
350
  sourceId?: string | null;
@@ -216,6 +370,74 @@ export declare namespace MappingRetrieveResponse {
216
370
  property: string;
217
371
  modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
218
372
  }
373
+ /**
374
+ * Condition tree gating when this mapping fires. A node is either a leaf
375
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
376
+ * themselves logic nodes, so trees nest arbitrarily.
377
+ *
378
+ * Example leaf:
379
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
380
+ *
381
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
382
+ */
383
+ interface Logic {
384
+ /**
385
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
386
+ * or combinator).
387
+ */
388
+ AND?: Array<{
389
+ [key: string]: string | null | number | boolean | Array<unknown> | {
390
+ [key: string]: unknown;
391
+ };
392
+ }> | null;
393
+ condition?: Logic.Condition | null;
394
+ /**
395
+ * Negates a single child logic node.
396
+ */
397
+ NOT?: {
398
+ [key: string]: string | null | number | boolean | Array<unknown> | {
399
+ [key: string]: unknown;
400
+ };
401
+ } | null;
402
+ /**
403
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
404
+ * or combinator).
405
+ */
406
+ OR?: Array<{
407
+ [key: string]: string | null | number | boolean | Array<unknown> | {
408
+ [key: string]: unknown;
409
+ };
410
+ }> | null;
411
+ }
412
+ namespace Logic {
413
+ interface Condition {
414
+ /**
415
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
416
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
417
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
418
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
419
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
420
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
421
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
422
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
423
+ */
424
+ operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
425
+ /**
426
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
427
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
428
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
429
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
430
+ * and would be compared as a literal string.
431
+ */
432
+ property: string;
433
+ /**
434
+ * String compared against the resolved property. Operators that take no value
435
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
436
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
437
+ */
438
+ value: string;
439
+ }
440
+ }
219
441
  }
220
442
  export interface MappingUpdateResponse {
221
443
  id: string;
@@ -233,7 +455,7 @@ export interface MappingUpdateResponse {
233
455
  *
234
456
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
235
457
  */
236
- logic?: unknown;
458
+ logic?: MappingUpdateResponse.Logic | null;
237
459
  name?: string | null;
238
460
  priority?: number | null;
239
461
  sourceId?: string | null;
@@ -259,8 +481,192 @@ export declare namespace MappingUpdateResponse {
259
481
  property: string;
260
482
  modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
261
483
  }
484
+ /**
485
+ * Condition tree gating when this mapping fires. A node is either a leaf
486
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
487
+ * themselves logic nodes, so trees nest arbitrarily.
488
+ *
489
+ * Example leaf:
490
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
491
+ *
492
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
493
+ */
494
+ interface Logic {
495
+ /**
496
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
497
+ * or combinator).
498
+ */
499
+ AND?: Array<{
500
+ [key: string]: string | null | number | boolean | Array<unknown> | {
501
+ [key: string]: unknown;
502
+ };
503
+ }> | null;
504
+ condition?: Logic.Condition | null;
505
+ /**
506
+ * Negates a single child logic node.
507
+ */
508
+ NOT?: {
509
+ [key: string]: string | null | number | boolean | Array<unknown> | {
510
+ [key: string]: unknown;
511
+ };
512
+ } | null;
513
+ /**
514
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
515
+ * or combinator).
516
+ */
517
+ OR?: Array<{
518
+ [key: string]: string | null | number | boolean | Array<unknown> | {
519
+ [key: string]: unknown;
520
+ };
521
+ }> | null;
522
+ }
523
+ namespace Logic {
524
+ interface Condition {
525
+ /**
526
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
527
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
528
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
529
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
530
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
531
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
532
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
533
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
534
+ */
535
+ operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
536
+ /**
537
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
538
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
539
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
540
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
541
+ * and would be compared as a literal string.
542
+ */
543
+ property: string;
544
+ /**
545
+ * String compared against the resolved property. Operators that take no value
546
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
547
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
548
+ */
549
+ value: string;
550
+ }
551
+ }
262
552
  }
263
553
  export type MappingDeleteResponse = boolean;
554
+ export interface MappingRenamePreviewResponse {
555
+ affectedEventNames: Array<string>;
556
+ willCascade: boolean;
557
+ mapperName?: string | null;
558
+ }
559
+ export interface MappingRenameResponse {
560
+ id: string;
561
+ isEnabled: boolean;
562
+ mappings: Array<MappingRenameResponse.Mapping>;
563
+ destinationId?: string | null;
564
+ isDefaultMapping?: boolean | null;
565
+ /**
566
+ * Condition tree gating when this mapping fires. A node is either a leaf
567
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
568
+ * themselves logic nodes, so trees nest arbitrarily.
569
+ *
570
+ * Example leaf:
571
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
572
+ *
573
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
574
+ */
575
+ logic?: MappingRenameResponse.Logic | null;
576
+ name?: string | null;
577
+ priority?: number | null;
578
+ sourceId?: string | null;
579
+ templateId?: string | null;
580
+ templateName?: string | null;
581
+ updatedAt?: string | null;
582
+ }
583
+ export declare namespace MappingRenameResponse {
584
+ interface Mapping {
585
+ /**
586
+ * Source expression sent to the destination for this `property`. Use `{{...}}`
587
+ * template syntax to substitute values from the event/visitor record:
588
+ * `{{event.event}}`, `{{event.event_properties.value}}`, `{{visitor.email}}`. Bare
589
+ * strings (no `{{}}`) are sent verbatim. Note: `{{...}}` template syntax belongs
590
+ * HERE, NOT in `logic.condition.property` — logic conditions use bare dotted paths
591
+ * like `$event.event_properties.value`.
592
+ */
593
+ map: string;
594
+ /**
595
+ * Destination-side field name. Comes from the destination template — discover the
596
+ * valid set via `GET /rest/v1/mapping-templates?entityId=...`.
597
+ */
598
+ property: string;
599
+ modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
600
+ }
601
+ /**
602
+ * Condition tree gating when this mapping fires. A node is either a leaf
603
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
604
+ * themselves logic nodes, so trees nest arbitrarily.
605
+ *
606
+ * Example leaf:
607
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
608
+ *
609
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
610
+ */
611
+ interface Logic {
612
+ /**
613
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
614
+ * or combinator).
615
+ */
616
+ AND?: Array<{
617
+ [key: string]: string | null | number | boolean | Array<unknown> | {
618
+ [key: string]: unknown;
619
+ };
620
+ }> | null;
621
+ condition?: Logic.Condition | null;
622
+ /**
623
+ * Negates a single child logic node.
624
+ */
625
+ NOT?: {
626
+ [key: string]: string | null | number | boolean | Array<unknown> | {
627
+ [key: string]: unknown;
628
+ };
629
+ } | null;
630
+ /**
631
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
632
+ * or combinator).
633
+ */
634
+ OR?: Array<{
635
+ [key: string]: string | null | number | boolean | Array<unknown> | {
636
+ [key: string]: unknown;
637
+ };
638
+ }> | null;
639
+ }
640
+ namespace Logic {
641
+ interface Condition {
642
+ /**
643
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
644
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
645
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
646
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
647
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
648
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
649
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
650
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
651
+ */
652
+ operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
653
+ /**
654
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
655
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
656
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
657
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
658
+ * and would be compared as a literal string.
659
+ */
660
+ property: string;
661
+ /**
662
+ * String compared against the resolved property. Operators that take no value
663
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
664
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
665
+ */
666
+ value: string;
667
+ }
668
+ }
669
+ }
264
670
  export interface MappingReorderResponse {
265
671
  entities: Array<MappingReorderResponse.Entity>;
266
672
  }
@@ -281,7 +687,7 @@ export declare namespace MappingReorderResponse {
281
687
  *
282
688
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
283
689
  */
284
- logic?: unknown;
690
+ logic?: Entity.Logic | null;
285
691
  name?: string | null;
286
692
  priority?: number | null;
287
693
  sourceId?: string | null;
@@ -307,6 +713,74 @@ export declare namespace MappingReorderResponse {
307
713
  property: string;
308
714
  modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
309
715
  }
716
+ /**
717
+ * Condition tree gating when this mapping fires. A node is either a leaf
718
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
719
+ * themselves logic nodes, so trees nest arbitrarily.
720
+ *
721
+ * Example leaf:
722
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
723
+ *
724
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
725
+ */
726
+ interface Logic {
727
+ /**
728
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
729
+ * or combinator).
730
+ */
731
+ AND?: Array<{
732
+ [key: string]: string | null | number | boolean | Array<unknown> | {
733
+ [key: string]: unknown;
734
+ };
735
+ }> | null;
736
+ condition?: Logic.Condition | null;
737
+ /**
738
+ * Negates a single child logic node.
739
+ */
740
+ NOT?: {
741
+ [key: string]: string | null | number | boolean | Array<unknown> | {
742
+ [key: string]: unknown;
743
+ };
744
+ } | null;
745
+ /**
746
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
747
+ * or combinator).
748
+ */
749
+ OR?: Array<{
750
+ [key: string]: string | null | number | boolean | Array<unknown> | {
751
+ [key: string]: unknown;
752
+ };
753
+ }> | null;
754
+ }
755
+ namespace Logic {
756
+ interface Condition {
757
+ /**
758
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
759
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
760
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
761
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
762
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
763
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
764
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
765
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
766
+ */
767
+ operator: 'Is' | 'IsNot' | 'Contains' | 'DoesNotContain' | 'StartsWith' | 'EndsWith' | 'IsFalsy' | 'IsTruthy' | 'IsNull' | 'IsNotNull' | 'IsUndefined' | 'IsNotUndefined' | 'IsGreaterThan' | 'IsGreaterThanOrEqual' | 'IsLessThan' | 'IsLessThanOrEqual' | 'IsIn' | 'IsNotIn' | 'IsFoundIn' | 'IsNotFoundIn' | 'IsTrue' | 'IsFalse' | 'IsBefore' | 'IsAfter' | 'IsBetween' | 'IsOnOrBefore' | 'IsOnOrAfter' | 'MatchesRegex' | 'MatchesRegexIgnoreCase' | 'DoesNotMatchRegex' | 'DoesNotMatchRegexIgnoreCase';
768
+ /**
769
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
770
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
771
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
772
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
773
+ * and would be compared as a literal string.
774
+ */
775
+ property: string;
776
+ /**
777
+ * String compared against the resolved property. Operators that take no value
778
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
779
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
780
+ */
781
+ value: string;
782
+ }
783
+ }
310
784
  }
311
785
  }
312
786
  export interface MappingTemplatesResponse {
@@ -533,17 +1007,29 @@ export declare namespace MappingCreateParams {
533
1007
  * All child nodes must match. Each child is itself a logic node (leaf `condition`
534
1008
  * or combinator).
535
1009
  */
536
- AND?: Array<unknown> | null;
1010
+ AND?: Array<{
1011
+ [key: string]: string | null | number | boolean | Array<unknown> | {
1012
+ [key: string]: unknown;
1013
+ };
1014
+ }> | null;
537
1015
  condition?: Logic.Condition | null;
538
1016
  /**
539
1017
  * Negates a single child logic node.
540
1018
  */
541
- NOT?: unknown;
1019
+ NOT?: {
1020
+ [key: string]: string | null | number | boolean | Array<unknown> | {
1021
+ [key: string]: unknown;
1022
+ };
1023
+ } | null;
542
1024
  /**
543
1025
  * Any child node must match. Each child is itself a logic node (leaf `condition`
544
1026
  * or combinator).
545
1027
  */
546
- OR?: Array<unknown> | null;
1028
+ OR?: Array<{
1029
+ [key: string]: string | null | number | boolean | Array<unknown> | {
1030
+ [key: string]: unknown;
1031
+ };
1032
+ }> | null;
547
1033
  }
548
1034
  namespace Logic {
549
1035
  interface Condition {
@@ -628,17 +1114,29 @@ export declare namespace MappingUpdateParams {
628
1114
  * All child nodes must match. Each child is itself a logic node (leaf `condition`
629
1115
  * or combinator).
630
1116
  */
631
- AND?: Array<unknown> | null;
1117
+ AND?: Array<{
1118
+ [key: string]: string | null | number | boolean | Array<unknown> | {
1119
+ [key: string]: unknown;
1120
+ };
1121
+ }> | null;
632
1122
  condition?: Logic.Condition | null;
633
1123
  /**
634
1124
  * Negates a single child logic node.
635
1125
  */
636
- NOT?: unknown;
1126
+ NOT?: {
1127
+ [key: string]: string | null | number | boolean | Array<unknown> | {
1128
+ [key: string]: unknown;
1129
+ };
1130
+ } | null;
637
1131
  /**
638
1132
  * Any child node must match. Each child is itself a logic node (leaf `condition`
639
1133
  * or combinator).
640
1134
  */
641
- OR?: Array<unknown> | null;
1135
+ OR?: Array<{
1136
+ [key: string]: string | null | number | boolean | Array<unknown> | {
1137
+ [key: string]: unknown;
1138
+ };
1139
+ }> | null;
642
1140
  }
643
1141
  namespace Logic {
644
1142
  interface Condition {
@@ -687,6 +1185,36 @@ export declare namespace MappingUpdateParams {
687
1185
  modification?: 'CamelCase' | 'DmaIP' | 'DomainOnly' | 'DomainPathOnly' | 'DomainPathUTMs' | 'DomainUTMs' | 'FakeDomain' | 'FakeDomainRealPath' | 'FakeIP' | 'FullUrl' | 'Hash' | 'HashMD5' | 'HashedCountry' | 'HashedDateOfBirth' | 'HashedGender' | 'HashedNormalized' | 'HashedNormalizedNoSpecialChars' | 'HashedPhone' | 'HashedState' | 'HashedZip' | 'KebabCase' | 'LowerCase' | 'None' | 'Null' | 'Redacted' | 'RegionalIP' | 'SnakeCase' | 'StartCase' | 'UpperCase' | null;
688
1186
  }
689
1187
  }
1188
+ export interface MappingRenamePreviewParams {
1189
+ /**
1190
+ * Allowed event id to preview for this destination.
1191
+ */
1192
+ allowedEventId: string;
1193
+ /**
1194
+ * Destination id. Discover renaming support through
1195
+ * `GET /rest/v1/destinations/types`.
1196
+ */
1197
+ destinationId: string;
1198
+ }
1199
+ export interface MappingRenameParams {
1200
+ /**
1201
+ * Allowed event id to rename for this destination.
1202
+ */
1203
+ allowedEventId: string;
1204
+ /**
1205
+ * Destination id for the rename.
1206
+ */
1207
+ destinationId: string;
1208
+ /**
1209
+ * Name sent to the destination. Send `null` to clear the rename.
1210
+ */
1211
+ renamedEventName: string | null;
1212
+ /**
1213
+ * Set to `true` only after preview confirms which allowed events a shared mapper
1214
+ * will change. Defaults to `false`.
1215
+ */
1216
+ confirmCascade?: boolean;
1217
+ }
690
1218
  export interface MappingReorderParams {
691
1219
  /**
692
1220
  * Mapping ids in their new priority order, low priority index first. All ids must
@@ -701,6 +1229,6 @@ export interface MappingTemplatesParams {
701
1229
  entityId: string;
702
1230
  }
703
1231
  export declare namespace Mappings {
704
- export { type MappingListResponse as MappingListResponse, type MappingCreateResponse as MappingCreateResponse, type MappingRetrieveResponse as MappingRetrieveResponse, type MappingUpdateResponse as MappingUpdateResponse, type MappingDeleteResponse as MappingDeleteResponse, type MappingReorderResponse as MappingReorderResponse, type MappingTemplatesResponse as MappingTemplatesResponse, type MappingDefaultVariablesResponse as MappingDefaultVariablesResponse, type MappingCustomVariablesResponse as MappingCustomVariablesResponse, type MappingModificationsResponse as MappingModificationsResponse, type MappingListResponsesCursor as MappingListResponsesCursor, type MappingListParams as MappingListParams, type MappingCreateParams as MappingCreateParams, type MappingUpdateParams as MappingUpdateParams, type MappingReorderParams as MappingReorderParams, type MappingTemplatesParams as MappingTemplatesParams, };
1232
+ export { type MappingListResponse as MappingListResponse, type MappingCreateResponse as MappingCreateResponse, type MappingRetrieveResponse as MappingRetrieveResponse, type MappingUpdateResponse as MappingUpdateResponse, type MappingDeleteResponse as MappingDeleteResponse, type MappingRenamePreviewResponse as MappingRenamePreviewResponse, type MappingRenameResponse as MappingRenameResponse, type MappingReorderResponse as MappingReorderResponse, type MappingTemplatesResponse as MappingTemplatesResponse, type MappingDefaultVariablesResponse as MappingDefaultVariablesResponse, type MappingCustomVariablesResponse as MappingCustomVariablesResponse, type MappingModificationsResponse as MappingModificationsResponse, type MappingListResponsesCursor as MappingListResponsesCursor, type MappingListParams as MappingListParams, type MappingCreateParams as MappingCreateParams, type MappingUpdateParams as MappingUpdateParams, type MappingRenamePreviewParams as MappingRenamePreviewParams, type MappingRenameParams as MappingRenameParams, type MappingReorderParams as MappingReorderParams, type MappingTemplatesParams as MappingTemplatesParams, };
705
1233
  }
706
1234
  //# sourceMappingURL=mappings.d.ts.map