@oursprivacy/platform-sdk 1.52.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 (376) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +12 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +12 -6
  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/allowed-events.d.mts +9 -7
  12. package/resources/allowed-events.d.mts.map +1 -1
  13. package/resources/allowed-events.d.ts +9 -7
  14. package/resources/allowed-events.d.ts.map +1 -1
  15. package/resources/allowed-events.js +9 -7
  16. package/resources/allowed-events.js.map +1 -1
  17. package/resources/allowed-events.mjs +9 -7
  18. package/resources/allowed-events.mjs.map +1 -1
  19. package/resources/analytics.d.mts +4 -2
  20. package/resources/analytics.d.mts.map +1 -1
  21. package/resources/analytics.d.ts +4 -2
  22. package/resources/analytics.d.ts.map +1 -1
  23. package/resources/analytics.js +4 -2
  24. package/resources/analytics.js.map +1 -1
  25. package/resources/analytics.mjs +4 -2
  26. package/resources/analytics.mjs.map +1 -1
  27. package/resources/attribution.d.mts +8 -5
  28. package/resources/attribution.d.mts.map +1 -1
  29. package/resources/attribution.d.ts +8 -5
  30. package/resources/attribution.d.ts.map +1 -1
  31. package/resources/attribution.js +8 -5
  32. package/resources/attribution.js.map +1 -1
  33. package/resources/attribution.mjs +8 -5
  34. package/resources/attribution.mjs.map +1 -1
  35. package/resources/audience-conversion-reports.d.mts +11 -9
  36. package/resources/audience-conversion-reports.d.mts.map +1 -1
  37. package/resources/audience-conversion-reports.d.ts +11 -9
  38. package/resources/audience-conversion-reports.d.ts.map +1 -1
  39. package/resources/audience-conversion-reports.js +11 -9
  40. package/resources/audience-conversion-reports.js.map +1 -1
  41. package/resources/audience-conversion-reports.mjs +11 -9
  42. package/resources/audience-conversion-reports.mjs.map +1 -1
  43. package/resources/consent-analytics.d.mts +2 -1
  44. package/resources/consent-analytics.d.mts.map +1 -1
  45. package/resources/consent-analytics.d.ts +2 -1
  46. package/resources/consent-analytics.d.ts.map +1 -1
  47. package/resources/consent-analytics.js +2 -1
  48. package/resources/consent-analytics.js.map +1 -1
  49. package/resources/consent-analytics.mjs +2 -1
  50. package/resources/consent-analytics.mjs.map +1 -1
  51. package/resources/consent-settings.d.mts +6238 -650
  52. package/resources/consent-settings.d.mts.map +1 -1
  53. package/resources/consent-settings.d.ts +6238 -650
  54. package/resources/consent-settings.d.ts.map +1 -1
  55. package/resources/consent-settings.js +72 -34
  56. package/resources/consent-settings.js.map +1 -1
  57. package/resources/consent-settings.mjs +72 -34
  58. package/resources/consent-settings.mjs.map +1 -1
  59. package/resources/conversion-journey-summaries.d.mts +10 -5
  60. package/resources/conversion-journey-summaries.d.mts.map +1 -1
  61. package/resources/conversion-journey-summaries.d.ts +10 -5
  62. package/resources/conversion-journey-summaries.d.ts.map +1 -1
  63. package/resources/conversion-journey-summaries.js +10 -5
  64. package/resources/conversion-journey-summaries.js.map +1 -1
  65. package/resources/conversion-journey-summaries.mjs +10 -5
  66. package/resources/conversion-journey-summaries.mjs.map +1 -1
  67. package/resources/custom-domains.d.mts +301 -0
  68. package/resources/custom-domains.d.mts.map +1 -0
  69. package/resources/custom-domains.d.ts +301 -0
  70. package/resources/custom-domains.d.ts.map +1 -0
  71. package/resources/custom-domains.js +55 -0
  72. package/resources/custom-domains.js.map +1 -0
  73. package/resources/custom-domains.mjs +51 -0
  74. package/resources/custom-domains.mjs.map +1 -0
  75. package/resources/data-governance.d.mts +83 -21
  76. package/resources/data-governance.d.mts.map +1 -1
  77. package/resources/data-governance.d.ts +83 -21
  78. package/resources/data-governance.d.ts.map +1 -1
  79. package/resources/data-governance.js +8 -6
  80. package/resources/data-governance.js.map +1 -1
  81. package/resources/data-governance.mjs +8 -6
  82. package/resources/data-governance.mjs.map +1 -1
  83. package/resources/default-mappings.d.mts +213 -8
  84. package/resources/default-mappings.d.mts.map +1 -1
  85. package/resources/default-mappings.d.ts +213 -8
  86. package/resources/default-mappings.d.ts.map +1 -1
  87. package/resources/default-mappings.js +6 -5
  88. package/resources/default-mappings.js.map +1 -1
  89. package/resources/default-mappings.mjs +6 -5
  90. package/resources/default-mappings.mjs.map +1 -1
  91. package/resources/destinations.d.mts +45 -20
  92. package/resources/destinations.d.mts.map +1 -1
  93. package/resources/destinations.d.ts +45 -20
  94. package/resources/destinations.d.ts.map +1 -1
  95. package/resources/destinations.js +12 -7
  96. package/resources/destinations.js.map +1 -1
  97. package/resources/destinations.mjs +12 -7
  98. package/resources/destinations.mjs.map +1 -1
  99. package/resources/experiment-settings.d.mts +9 -6
  100. package/resources/experiment-settings.d.mts.map +1 -1
  101. package/resources/experiment-settings.d.ts +9 -6
  102. package/resources/experiment-settings.d.ts.map +1 -1
  103. package/resources/experiment-settings.js +9 -6
  104. package/resources/experiment-settings.js.map +1 -1
  105. package/resources/experiment-settings.mjs +9 -6
  106. package/resources/experiment-settings.mjs.map +1 -1
  107. package/resources/experiment-variants.d.mts +126 -19
  108. package/resources/experiment-variants.d.mts.map +1 -1
  109. package/resources/experiment-variants.d.ts +126 -19
  110. package/resources/experiment-variants.d.ts.map +1 -1
  111. package/resources/experiment-variants.js +9 -5
  112. package/resources/experiment-variants.js.map +1 -1
  113. package/resources/experiment-variants.mjs +9 -5
  114. package/resources/experiment-variants.mjs.map +1 -1
  115. package/resources/experiments.d.mts +4009 -272
  116. package/resources/experiments.d.mts.map +1 -1
  117. package/resources/experiments.d.ts +4009 -272
  118. package/resources/experiments.d.ts.map +1 -1
  119. package/resources/experiments.js +30 -19
  120. package/resources/experiments.js.map +1 -1
  121. package/resources/experiments.mjs +30 -19
  122. package/resources/experiments.mjs.map +1 -1
  123. package/resources/funnels.d.mts +659 -17
  124. package/resources/funnels.d.mts.map +1 -1
  125. package/resources/funnels.d.ts +659 -17
  126. package/resources/funnels.d.ts.map +1 -1
  127. package/resources/funnels.js +11 -10
  128. package/resources/funnels.js.map +1 -1
  129. package/resources/funnels.mjs +11 -10
  130. package/resources/funnels.mjs.map +1 -1
  131. package/resources/heatmap-pages.d.mts +3 -2
  132. package/resources/heatmap-pages.d.mts.map +1 -1
  133. package/resources/heatmap-pages.d.ts +3 -2
  134. package/resources/heatmap-pages.d.ts.map +1 -1
  135. package/resources/heatmap-pages.js +3 -2
  136. package/resources/heatmap-pages.js.map +1 -1
  137. package/resources/heatmap-pages.mjs +3 -2
  138. package/resources/heatmap-pages.mjs.map +1 -1
  139. package/resources/index.d.mts +5 -3
  140. package/resources/index.d.mts.map +1 -1
  141. package/resources/index.d.ts +5 -3
  142. package/resources/index.d.ts.map +1 -1
  143. package/resources/index.js +5 -1
  144. package/resources/index.js.map +1 -1
  145. package/resources/index.mjs +2 -0
  146. package/resources/index.mjs.map +1 -1
  147. package/resources/journey-flows.d.mts +597 -28
  148. package/resources/journey-flows.d.mts.map +1 -1
  149. package/resources/journey-flows.d.ts +597 -28
  150. package/resources/journey-flows.d.ts.map +1 -1
  151. package/resources/journey-flows.js +17 -12
  152. package/resources/journey-flows.js.map +1 -1
  153. package/resources/journey-flows.mjs +17 -12
  154. package/resources/journey-flows.mjs.map +1 -1
  155. package/resources/locations.d.mts +31 -10
  156. package/resources/locations.d.mts.map +1 -1
  157. package/resources/locations.d.ts +31 -10
  158. package/resources/locations.d.ts.map +1 -1
  159. package/resources/locations.js +6 -5
  160. package/resources/locations.js.map +1 -1
  161. package/resources/locations.mjs +6 -5
  162. package/resources/locations.mjs.map +1 -1
  163. package/resources/mappings.d.mts +558 -24
  164. package/resources/mappings.d.mts.map +1 -1
  165. package/resources/mappings.d.ts +558 -24
  166. package/resources/mappings.d.ts.map +1 -1
  167. package/resources/mappings.js +40 -12
  168. package/resources/mappings.js.map +1 -1
  169. package/resources/mappings.mjs +40 -12
  170. package/resources/mappings.mjs.map +1 -1
  171. package/resources/me.d.mts +29 -0
  172. package/resources/me.d.mts.map +1 -0
  173. package/resources/me.d.ts +29 -0
  174. package/resources/me.d.ts.map +1 -0
  175. package/resources/me.js +17 -0
  176. package/resources/me.js.map +1 -0
  177. package/resources/me.mjs +13 -0
  178. package/resources/me.mjs.map +1 -0
  179. package/resources/personalization-properties.d.mts +10 -7
  180. package/resources/personalization-properties.d.mts.map +1 -1
  181. package/resources/personalization-properties.d.ts +10 -7
  182. package/resources/personalization-properties.d.ts.map +1 -1
  183. package/resources/personalization-properties.js +10 -7
  184. package/resources/personalization-properties.js.map +1 -1
  185. package/resources/personalization-properties.mjs +10 -7
  186. package/resources/personalization-properties.mjs.map +1 -1
  187. package/resources/replay-settings.d.mts +126 -9
  188. package/resources/replay-settings.d.mts.map +1 -1
  189. package/resources/replay-settings.d.ts +126 -9
  190. package/resources/replay-settings.d.ts.map +1 -1
  191. package/resources/replay-settings.js +9 -6
  192. package/resources/replay-settings.js.map +1 -1
  193. package/resources/replay-settings.mjs +9 -6
  194. package/resources/replay-settings.mjs.map +1 -1
  195. package/resources/session-replays.d.mts +9 -2
  196. package/resources/session-replays.d.mts.map +1 -1
  197. package/resources/session-replays.d.ts +9 -2
  198. package/resources/session-replays.d.ts.map +1 -1
  199. package/resources/session-replays.js +4 -2
  200. package/resources/session-replays.js.map +1 -1
  201. package/resources/session-replays.mjs +4 -2
  202. package/resources/session-replays.mjs.map +1 -1
  203. package/resources/short-links.d.mts +733 -17
  204. package/resources/short-links.d.mts.map +1 -1
  205. package/resources/short-links.d.ts +733 -17
  206. package/resources/short-links.d.ts.map +1 -1
  207. package/resources/short-links.js +11 -7
  208. package/resources/short-links.js.map +1 -1
  209. package/resources/short-links.mjs +11 -7
  210. package/resources/short-links.mjs.map +1 -1
  211. package/resources/sources.d.mts +98 -17
  212. package/resources/sources.d.mts.map +1 -1
  213. package/resources/sources.d.ts +98 -17
  214. package/resources/sources.d.ts.map +1 -1
  215. package/resources/sources.js +12 -6
  216. package/resources/sources.js.map +1 -1
  217. package/resources/sources.mjs +12 -6
  218. package/resources/sources.mjs.map +1 -1
  219. package/resources/tag-manager-asset-folders.d.mts +2 -1
  220. package/resources/tag-manager-asset-folders.d.mts.map +1 -1
  221. package/resources/tag-manager-asset-folders.d.ts +2 -1
  222. package/resources/tag-manager-asset-folders.d.ts.map +1 -1
  223. package/resources/tag-manager-asset-folders.js +2 -1
  224. package/resources/tag-manager-asset-folders.js.map +1 -1
  225. package/resources/tag-manager-asset-folders.mjs +2 -1
  226. package/resources/tag-manager-asset-folders.mjs.map +1 -1
  227. package/resources/tag-manager-folders.d.mts +9 -7
  228. package/resources/tag-manager-folders.d.mts.map +1 -1
  229. package/resources/tag-manager-folders.d.ts +9 -7
  230. package/resources/tag-manager-folders.d.ts.map +1 -1
  231. package/resources/tag-manager-folders.js +9 -7
  232. package/resources/tag-manager-folders.js.map +1 -1
  233. package/resources/tag-manager-folders.mjs +9 -7
  234. package/resources/tag-manager-folders.mjs.map +1 -1
  235. package/resources/tag-manager-tags.d.mts +13 -7
  236. package/resources/tag-manager-tags.d.mts.map +1 -1
  237. package/resources/tag-manager-tags.d.ts +13 -7
  238. package/resources/tag-manager-tags.d.ts.map +1 -1
  239. package/resources/tag-manager-tags.js +10 -6
  240. package/resources/tag-manager-tags.js.map +1 -1
  241. package/resources/tag-manager-tags.mjs +10 -6
  242. package/resources/tag-manager-tags.mjs.map +1 -1
  243. package/resources/tag-manager-triggers.d.mts +14 -7
  244. package/resources/tag-manager-triggers.d.mts.map +1 -1
  245. package/resources/tag-manager-triggers.d.ts +14 -7
  246. package/resources/tag-manager-triggers.d.ts.map +1 -1
  247. package/resources/tag-manager-triggers.js +11 -6
  248. package/resources/tag-manager-triggers.js.map +1 -1
  249. package/resources/tag-manager-triggers.mjs +11 -6
  250. package/resources/tag-manager-triggers.mjs.map +1 -1
  251. package/resources/tag-manager-variables.d.mts +53 -23
  252. package/resources/tag-manager-variables.d.mts.map +1 -1
  253. package/resources/tag-manager-variables.d.ts +53 -23
  254. package/resources/tag-manager-variables.d.ts.map +1 -1
  255. package/resources/tag-manager-variables.js +10 -6
  256. package/resources/tag-manager-variables.js.map +1 -1
  257. package/resources/tag-manager-variables.mjs +10 -6
  258. package/resources/tag-manager-variables.mjs.map +1 -1
  259. package/resources/tag-managers.d.mts +24 -6
  260. package/resources/tag-managers.d.mts.map +1 -1
  261. package/resources/tag-managers.d.ts +24 -6
  262. package/resources/tag-managers.d.ts.map +1 -1
  263. package/resources/tag-managers.js +18 -5
  264. package/resources/tag-managers.js.map +1 -1
  265. package/resources/tag-managers.mjs +18 -5
  266. package/resources/tag-managers.mjs.map +1 -1
  267. package/resources/test-events.d.mts +73 -15
  268. package/resources/test-events.d.mts.map +1 -1
  269. package/resources/test-events.d.ts +73 -15
  270. package/resources/test-events.d.ts.map +1 -1
  271. package/resources/test-events.js +6 -4
  272. package/resources/test-events.js.map +1 -1
  273. package/resources/test-events.mjs +6 -4
  274. package/resources/test-events.mjs.map +1 -1
  275. package/resources/translation-widgets.d.mts +7 -6
  276. package/resources/translation-widgets.d.mts.map +1 -1
  277. package/resources/translation-widgets.d.ts +7 -6
  278. package/resources/translation-widgets.d.ts.map +1 -1
  279. package/resources/translation-widgets.js +7 -6
  280. package/resources/translation-widgets.js.map +1 -1
  281. package/resources/translation-widgets.mjs +7 -6
  282. package/resources/translation-widgets.mjs.map +1 -1
  283. package/resources/versions.d.mts +102 -47
  284. package/resources/versions.d.mts.map +1 -1
  285. package/resources/versions.d.ts +102 -47
  286. package/resources/versions.d.ts.map +1 -1
  287. package/resources/versions.js +20 -15
  288. package/resources/versions.js.map +1 -1
  289. package/resources/versions.mjs +20 -15
  290. package/resources/versions.mjs.map +1 -1
  291. package/resources/video-channels.d.mts +47 -13
  292. package/resources/video-channels.d.mts.map +1 -1
  293. package/resources/video-channels.d.ts +47 -13
  294. package/resources/video-channels.d.ts.map +1 -1
  295. package/resources/video-channels.js +15 -9
  296. package/resources/video-channels.js.map +1 -1
  297. package/resources/video-channels.mjs +15 -9
  298. package/resources/video-channels.mjs.map +1 -1
  299. package/resources/videos.d.mts +21 -14
  300. package/resources/videos.d.mts.map +1 -1
  301. package/resources/videos.d.ts +21 -14
  302. package/resources/videos.d.ts.map +1 -1
  303. package/resources/videos.js +21 -14
  304. package/resources/videos.js.map +1 -1
  305. package/resources/videos.mjs +21 -14
  306. package/resources/videos.mjs.map +1 -1
  307. package/resources/web-analytics.d.mts +14 -9
  308. package/resources/web-analytics.d.mts.map +1 -1
  309. package/resources/web-analytics.d.ts +14 -9
  310. package/resources/web-analytics.d.ts.map +1 -1
  311. package/resources/web-analytics.js +14 -9
  312. package/resources/web-analytics.js.map +1 -1
  313. package/resources/web-analytics.mjs +14 -9
  314. package/resources/web-analytics.mjs.map +1 -1
  315. package/resources/web-scanner-rules.d.mts +10 -6
  316. package/resources/web-scanner-rules.d.mts.map +1 -1
  317. package/resources/web-scanner-rules.d.ts +10 -6
  318. package/resources/web-scanner-rules.d.ts.map +1 -1
  319. package/resources/web-scanner-rules.js +10 -6
  320. package/resources/web-scanner-rules.js.map +1 -1
  321. package/resources/web-scanner-rules.mjs +10 -6
  322. package/resources/web-scanner-rules.mjs.map +1 -1
  323. package/resources/web-scanners.d.mts +26 -19
  324. package/resources/web-scanners.d.mts.map +1 -1
  325. package/resources/web-scanners.d.ts +26 -19
  326. package/resources/web-scanners.d.ts.map +1 -1
  327. package/resources/web-scanners.js +25 -18
  328. package/resources/web-scanners.js.map +1 -1
  329. package/resources/web-scanners.mjs +25 -18
  330. package/resources/web-scanners.mjs.map +1 -1
  331. package/src/client.ts +44 -0
  332. package/src/resources/allowed-events.ts +9 -7
  333. package/src/resources/analytics.ts +4 -2
  334. package/src/resources/attribution.ts +8 -5
  335. package/src/resources/audience-conversion-reports.ts +11 -9
  336. package/src/resources/consent-analytics.ts +2 -1
  337. package/src/resources/consent-settings.ts +7576 -519
  338. package/src/resources/conversion-journey-summaries.ts +10 -5
  339. package/src/resources/custom-domains.ts +450 -0
  340. package/src/resources/data-governance.ts +53 -21
  341. package/src/resources/default-mappings.ts +309 -8
  342. package/src/resources/destinations.ts +40 -15
  343. package/src/resources/experiment-settings.ts +9 -6
  344. package/src/resources/experiment-variants.ts +140 -19
  345. package/src/resources/experiments.ts +8051 -462
  346. package/src/resources/funnels.ts +1366 -17
  347. package/src/resources/heatmap-pages.ts +3 -2
  348. package/src/resources/index.ts +19 -0
  349. package/src/resources/journey-flows.ts +1241 -28
  350. package/src/resources/locations.ts +41 -10
  351. package/src/resources/mappings.ts +812 -31
  352. package/src/resources/me.ts +37 -0
  353. package/src/resources/personalization-properties.ts +10 -7
  354. package/src/resources/replay-settings.ts +147 -9
  355. package/src/resources/session-replays.ts +10 -2
  356. package/src/resources/short-links.ts +883 -17
  357. package/src/resources/sources.ts +108 -17
  358. package/src/resources/tag-manager-asset-folders.ts +2 -1
  359. package/src/resources/tag-manager-folders.ts +9 -7
  360. package/src/resources/tag-manager-tags.ts +17 -7
  361. package/src/resources/tag-manager-triggers.ts +18 -7
  362. package/src/resources/tag-manager-variables.ts +101 -19
  363. package/src/resources/tag-managers.ts +35 -5
  364. package/src/resources/test-events.ts +53 -15
  365. package/src/resources/translation-widgets.ts +7 -6
  366. package/src/resources/versions.ts +104 -47
  367. package/src/resources/video-channels.ts +59 -13
  368. package/src/resources/videos.ts +21 -14
  369. package/src/resources/web-analytics.ts +14 -9
  370. package/src/resources/web-scanner-rules.ts +10 -6
  371. package/src/resources/web-scanners.ts +26 -19
  372. package/src/version.ts +1 -1
  373. package/version.d.mts +1 -1
  374. package/version.d.ts +1 -1
  375. package/version.js +1 -1
  376. package/version.mjs +1 -1
@@ -10,7 +10,8 @@ export class DataGovernance extends APIResource {
10
10
  * meaningful here. Data governance is the second stage of the dispatch flow
11
11
  * (Source → Allowed Events → Data Governance → Mappings → Destination) — it
12
12
  * evaluates each event against the configured category logic and stops dispatch to
13
- * the destinations on any matching category. Requires scope: globalDispatch:list
13
+ * the destinations on any matching category. Requires API-key scope or current
14
+ * OAuth user permission: globalDispatch:list
14
15
  */
15
16
  list(query = {}, options) {
16
17
  return this._client.getAPIList('/rest/v1/data-governance', (Cursor), {
@@ -22,15 +23,15 @@ export class DataGovernance extends APIResource {
22
23
  * Create the data-governance record for this account. Each account may have at
23
24
  * most one — a second POST returns 409. Body is optional; defaults are
24
25
  * `isEnabled: false` and no categories. Categories are added later via PATCH.
25
- * Requires scope: globalDispatch:create
26
+ * Requires API-key scope or current OAuth user permission: globalDispatch:create
26
27
  */
27
28
  create(body, options) {
28
29
  return this._client.post('/rest/v1/data-governance', { body, ...options });
29
30
  }
30
31
  /**
31
32
  * Fetch the data-governance record by id, including its categories (logic,
32
- * destinations, priority). Returns 404 when no record matches. Requires scope:
33
- * globalDispatch:find
33
+ * destinations, priority). Returns 404 when no record matches. Requires API-key
34
+ * scope or current OAuth user permission: globalDispatch:find
34
35
  */
35
36
  retrieve(id, options) {
36
37
  return this._client.get(path `/rest/v1/data-governance/${id}`, options);
@@ -49,7 +50,7 @@ export class DataGovernance extends APIResource {
49
50
  * sequential with no gaps. Stale `destinationIds` (deleted destinations or
50
51
  * destinations on another account) are silently filtered out — the response echoes
51
52
  * the filtered list, so a follow-up GET is not required to see what was saved.
52
- * Requires scope: globalDispatch:update
53
+ * Requires API-key scope or current OAuth user permission: globalDispatch:update
53
54
  */
54
55
  update(id, body, options) {
55
56
  return this._client.patch(path `/rest/v1/data-governance/${id}`, { body, ...options });
@@ -57,7 +58,8 @@ export class DataGovernance extends APIResource {
57
58
  /**
58
59
  * Delete the data-governance record. After deletion, inbound events flow through
59
60
  * to destinations without category-level gating. Create a new record with POST to
60
- * reinstate governance. Requires scope: globalDispatch:delete
61
+ * reinstate governance. Requires API-key scope or current OAuth user permission:
62
+ * globalDispatch:delete
61
63
  */
62
64
  delete(id, options) {
63
65
  return this._client.delete(path `/rest/v1/data-governance/${id}`, options);
@@ -1 +1 @@
1
- {"version":3,"file":"data-governance.mjs","sourceRoot":"","sources":["../src/resources/data-governance.ts"],"names":[],"mappings":"AAAA,s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W,EAAE,6BAAyB;AAE/C,OAAO,EAAE,MAAM,EAAkC,+BAA2B;AAE5E,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;OASG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,0BAA0B,EAAE,CAAA,MAAkC,CAAA,EAAE;YAC7F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,EAAU,EACV,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF"}
@@ -6,22 +6,23 @@ export declare class DefaultMappings extends APIResource {
6
6
  * List every stored default mapping for the account, one per destination that has
7
7
  * ever written a default. Destinations that have not yet written a default mapping
8
8
  * do not appear here. Use `GET /rest/v1/default-mappings/{destinationId}` to fetch
9
- * the hydrated would-be row for a specific destination. Requires scope:
10
- * mapping:list
9
+ * the hydrated would-be row for a specific destination. Requires API-key scope or
10
+ * current OAuth user permission: mapping:list
11
11
  */
12
12
  list(options?: RequestOptions): APIPromise<DefaultMappingListResponse>;
13
13
  /**
14
14
  * Fetch the destination's default mapping by destination id. Returns a hydrated
15
15
  * row with empty `mappings[]` when no default mapping has been written yet (so
16
16
  * callers do not need to handle a 404-vs-200 branch). Each destination has at most
17
- * one default mapping. Requires scope: mapping:find
17
+ * one default mapping. Requires API-key scope or current OAuth user permission:
18
+ * mapping:find
18
19
  */
19
20
  retrieve(id: string, options?: RequestOptions): APIPromise<DefaultMappingRetrieveResponse>;
20
21
  /**
21
22
  * Upsert the destination default mapping. Always replaces `mappings[]` wholesale
22
23
  * (default mappings have no merge-partial semantic). Default mappings cannot have
23
- * custom `logic`; the field is not accepted on this endpoint. Requires scope:
24
- * mapping:update
24
+ * custom `logic`; the field is not accepted on this endpoint. Requires API-key
25
+ * scope or current OAuth user permission: mapping:update
25
26
  */
26
27
  replace(id: string, body: DefaultMappingReplaceParams, options?: RequestOptions): APIPromise<DefaultMappingReplaceResponse>;
27
28
  }
@@ -45,7 +46,7 @@ export declare namespace DefaultMappingListResponse {
45
46
  *
46
47
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
47
48
  */
48
- logic?: unknown;
49
+ logic?: Entity.Logic | null;
49
50
  name?: string | null;
50
51
  priority?: number | null;
51
52
  sourceId?: string | null;
@@ -71,6 +72,74 @@ export declare namespace DefaultMappingListResponse {
71
72
  property: string;
72
73
  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;
73
74
  }
75
+ /**
76
+ * Condition tree gating when this mapping fires. A node is either a leaf
77
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
78
+ * themselves logic nodes, so trees nest arbitrarily.
79
+ *
80
+ * Example leaf:
81
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
82
+ *
83
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
84
+ */
85
+ interface Logic {
86
+ /**
87
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
88
+ * or combinator).
89
+ */
90
+ AND?: Array<{
91
+ [key: string]: string | null | number | boolean | Array<unknown> | {
92
+ [key: string]: unknown;
93
+ };
94
+ }> | null;
95
+ condition?: Logic.Condition | null;
96
+ /**
97
+ * Negates a single child logic node.
98
+ */
99
+ NOT?: {
100
+ [key: string]: string | null | number | boolean | Array<unknown> | {
101
+ [key: string]: unknown;
102
+ };
103
+ } | null;
104
+ /**
105
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
106
+ * or combinator).
107
+ */
108
+ OR?: Array<{
109
+ [key: string]: string | null | number | boolean | Array<unknown> | {
110
+ [key: string]: unknown;
111
+ };
112
+ }> | null;
113
+ }
114
+ namespace Logic {
115
+ interface Condition {
116
+ /**
117
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
118
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
119
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
120
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
121
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
122
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
123
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
124
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
125
+ */
126
+ 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';
127
+ /**
128
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
129
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
130
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
131
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
132
+ * and would be compared as a literal string.
133
+ */
134
+ property: string;
135
+ /**
136
+ * String compared against the resolved property. Operators that take no value
137
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
138
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
139
+ */
140
+ value: string;
141
+ }
142
+ }
74
143
  }
75
144
  }
76
145
  export interface DefaultMappingRetrieveResponse {
@@ -89,7 +158,7 @@ export interface DefaultMappingRetrieveResponse {
89
158
  *
90
159
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
91
160
  */
92
- logic?: unknown;
161
+ logic?: DefaultMappingRetrieveResponse.Logic | null;
93
162
  name?: string | null;
94
163
  priority?: number | null;
95
164
  sourceId?: string | null;
@@ -115,6 +184,74 @@ export declare namespace DefaultMappingRetrieveResponse {
115
184
  property: string;
116
185
  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;
117
186
  }
187
+ /**
188
+ * Condition tree gating when this mapping fires. A node is either a leaf
189
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
190
+ * themselves logic nodes, so trees nest arbitrarily.
191
+ *
192
+ * Example leaf:
193
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
194
+ *
195
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
196
+ */
197
+ interface Logic {
198
+ /**
199
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
200
+ * or combinator).
201
+ */
202
+ AND?: Array<{
203
+ [key: string]: string | null | number | boolean | Array<unknown> | {
204
+ [key: string]: unknown;
205
+ };
206
+ }> | null;
207
+ condition?: Logic.Condition | null;
208
+ /**
209
+ * Negates a single child logic node.
210
+ */
211
+ NOT?: {
212
+ [key: string]: string | null | number | boolean | Array<unknown> | {
213
+ [key: string]: unknown;
214
+ };
215
+ } | null;
216
+ /**
217
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
218
+ * or combinator).
219
+ */
220
+ OR?: Array<{
221
+ [key: string]: string | null | number | boolean | Array<unknown> | {
222
+ [key: string]: unknown;
223
+ };
224
+ }> | null;
225
+ }
226
+ namespace Logic {
227
+ interface Condition {
228
+ /**
229
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
230
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
231
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
232
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
233
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
234
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
235
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
236
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
237
+ */
238
+ 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';
239
+ /**
240
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
241
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
242
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
243
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
244
+ * and would be compared as a literal string.
245
+ */
246
+ property: string;
247
+ /**
248
+ * String compared against the resolved property. Operators that take no value
249
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
250
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
251
+ */
252
+ value: string;
253
+ }
254
+ }
118
255
  }
119
256
  export interface DefaultMappingReplaceResponse {
120
257
  id: string;
@@ -132,7 +269,7 @@ export interface DefaultMappingReplaceResponse {
132
269
  *
133
270
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
134
271
  */
135
- logic?: unknown;
272
+ logic?: DefaultMappingReplaceResponse.Logic | null;
136
273
  name?: string | null;
137
274
  priority?: number | null;
138
275
  sourceId?: string | null;
@@ -158,6 +295,74 @@ export declare namespace DefaultMappingReplaceResponse {
158
295
  property: string;
159
296
  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;
160
297
  }
298
+ /**
299
+ * Condition tree gating when this mapping fires. A node is either a leaf
300
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
301
+ * themselves logic nodes, so trees nest arbitrarily.
302
+ *
303
+ * Example leaf:
304
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
305
+ *
306
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
307
+ */
308
+ interface Logic {
309
+ /**
310
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
311
+ * or combinator).
312
+ */
313
+ AND?: Array<{
314
+ [key: string]: string | null | number | boolean | Array<unknown> | {
315
+ [key: string]: unknown;
316
+ };
317
+ }> | null;
318
+ condition?: Logic.Condition | null;
319
+ /**
320
+ * Negates a single child logic node.
321
+ */
322
+ NOT?: {
323
+ [key: string]: string | null | number | boolean | Array<unknown> | {
324
+ [key: string]: unknown;
325
+ };
326
+ } | null;
327
+ /**
328
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
329
+ * or combinator).
330
+ */
331
+ OR?: Array<{
332
+ [key: string]: string | null | number | boolean | Array<unknown> | {
333
+ [key: string]: unknown;
334
+ };
335
+ }> | null;
336
+ }
337
+ namespace Logic {
338
+ interface Condition {
339
+ /**
340
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
341
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
342
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
343
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
344
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
345
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
346
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
347
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
348
+ */
349
+ 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';
350
+ /**
351
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
352
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
353
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
354
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
355
+ * and would be compared as a literal string.
356
+ */
357
+ property: string;
358
+ /**
359
+ * String compared against the resolved property. Operators that take no value
360
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
361
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
362
+ */
363
+ value: string;
364
+ }
365
+ }
161
366
  }
162
367
  export interface DefaultMappingReplaceParams {
163
368
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"default-mappings.d.mts","sourceRoot":"","sources":["../src/resources/default-mappings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItE;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1F;;;;;OAKG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC;CACpD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,MAAM;QACrB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,OAAO,CAAC;QAEnB,QAAQ,EA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gB,GAChB,gBAAgB,GAChB,YAAY,GACZ,YAAY,GACZ,oBAAoB,GACpB,QAAQ,GACR,SAAS,GACT,MAAM,GACN,SAAS,GACT,eAAe,GACf,mBAAmB,GACnB,cAAc,GACd,kBAAkB,GAClB,gCAAgC,GAChC,aAAa,GACb,aAAa,GACb,WAAW,GACX,WAAW,GACX,WAAW,GACX,MAAM,GACN,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,GACX,WAAW,GACX,WAAW,GACX,IAAI,CAAC;KACV;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
1
+ {"version":3,"file":"default-mappings.d.mts","sourceRoot":"","sources":["../src/resources/default-mappings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItE;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI1F;;;;;OAKG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC;CACpD;AAED,yBAAiB,0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GAChE,CAAC;CACH"}
@@ -6,22 +6,23 @@ export declare class DefaultMappings extends APIResource {
6
6
  * List every stored default mapping for the account, one per destination that has
7
7
  * ever written a default. Destinations that have not yet written a default mapping
8
8
  * do not appear here. Use `GET /rest/v1/default-mappings/{destinationId}` to fetch
9
- * the hydrated would-be row for a specific destination. Requires scope:
10
- * mapping:list
9
+ * the hydrated would-be row for a specific destination. Requires API-key scope or
10
+ * current OAuth user permission: mapping:list
11
11
  */
12
12
  list(options?: RequestOptions): APIPromise<DefaultMappingListResponse>;
13
13
  /**
14
14
  * Fetch the destination's default mapping by destination id. Returns a hydrated
15
15
  * row with empty `mappings[]` when no default mapping has been written yet (so
16
16
  * callers do not need to handle a 404-vs-200 branch). Each destination has at most
17
- * one default mapping. Requires scope: mapping:find
17
+ * one default mapping. Requires API-key scope or current OAuth user permission:
18
+ * mapping:find
18
19
  */
19
20
  retrieve(id: string, options?: RequestOptions): APIPromise<DefaultMappingRetrieveResponse>;
20
21
  /**
21
22
  * Upsert the destination default mapping. Always replaces `mappings[]` wholesale
22
23
  * (default mappings have no merge-partial semantic). Default mappings cannot have
23
- * custom `logic`; the field is not accepted on this endpoint. Requires scope:
24
- * mapping:update
24
+ * custom `logic`; the field is not accepted on this endpoint. Requires API-key
25
+ * scope or current OAuth user permission: mapping:update
25
26
  */
26
27
  replace(id: string, body: DefaultMappingReplaceParams, options?: RequestOptions): APIPromise<DefaultMappingReplaceResponse>;
27
28
  }
@@ -45,7 +46,7 @@ export declare namespace DefaultMappingListResponse {
45
46
  *
46
47
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
47
48
  */
48
- logic?: unknown;
49
+ logic?: Entity.Logic | null;
49
50
  name?: string | null;
50
51
  priority?: number | null;
51
52
  sourceId?: string | null;
@@ -71,6 +72,74 @@ export declare namespace DefaultMappingListResponse {
71
72
  property: string;
72
73
  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;
73
74
  }
75
+ /**
76
+ * Condition tree gating when this mapping fires. A node is either a leaf
77
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
78
+ * themselves logic nodes, so trees nest arbitrarily.
79
+ *
80
+ * Example leaf:
81
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
82
+ *
83
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
84
+ */
85
+ interface Logic {
86
+ /**
87
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
88
+ * or combinator).
89
+ */
90
+ AND?: Array<{
91
+ [key: string]: string | null | number | boolean | Array<unknown> | {
92
+ [key: string]: unknown;
93
+ };
94
+ }> | null;
95
+ condition?: Logic.Condition | null;
96
+ /**
97
+ * Negates a single child logic node.
98
+ */
99
+ NOT?: {
100
+ [key: string]: string | null | number | boolean | Array<unknown> | {
101
+ [key: string]: unknown;
102
+ };
103
+ } | null;
104
+ /**
105
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
106
+ * or combinator).
107
+ */
108
+ OR?: Array<{
109
+ [key: string]: string | null | number | boolean | Array<unknown> | {
110
+ [key: string]: unknown;
111
+ };
112
+ }> | null;
113
+ }
114
+ namespace Logic {
115
+ interface Condition {
116
+ /**
117
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
118
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
119
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
120
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
121
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
122
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
123
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
124
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
125
+ */
126
+ 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';
127
+ /**
128
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
129
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
130
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
131
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
132
+ * and would be compared as a literal string.
133
+ */
134
+ property: string;
135
+ /**
136
+ * String compared against the resolved property. Operators that take no value
137
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
138
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
139
+ */
140
+ value: string;
141
+ }
142
+ }
74
143
  }
75
144
  }
76
145
  export interface DefaultMappingRetrieveResponse {
@@ -89,7 +158,7 @@ export interface DefaultMappingRetrieveResponse {
89
158
  *
90
159
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
91
160
  */
92
- logic?: unknown;
161
+ logic?: DefaultMappingRetrieveResponse.Logic | null;
93
162
  name?: string | null;
94
163
  priority?: number | null;
95
164
  sourceId?: string | null;
@@ -115,6 +184,74 @@ export declare namespace DefaultMappingRetrieveResponse {
115
184
  property: string;
116
185
  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;
117
186
  }
187
+ /**
188
+ * Condition tree gating when this mapping fires. A node is either a leaf
189
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
190
+ * themselves logic nodes, so trees nest arbitrarily.
191
+ *
192
+ * Example leaf:
193
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
194
+ *
195
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
196
+ */
197
+ interface Logic {
198
+ /**
199
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
200
+ * or combinator).
201
+ */
202
+ AND?: Array<{
203
+ [key: string]: string | null | number | boolean | Array<unknown> | {
204
+ [key: string]: unknown;
205
+ };
206
+ }> | null;
207
+ condition?: Logic.Condition | null;
208
+ /**
209
+ * Negates a single child logic node.
210
+ */
211
+ NOT?: {
212
+ [key: string]: string | null | number | boolean | Array<unknown> | {
213
+ [key: string]: unknown;
214
+ };
215
+ } | null;
216
+ /**
217
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
218
+ * or combinator).
219
+ */
220
+ OR?: Array<{
221
+ [key: string]: string | null | number | boolean | Array<unknown> | {
222
+ [key: string]: unknown;
223
+ };
224
+ }> | null;
225
+ }
226
+ namespace Logic {
227
+ interface Condition {
228
+ /**
229
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
230
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
231
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
232
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
233
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
234
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
235
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
236
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
237
+ */
238
+ 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';
239
+ /**
240
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
241
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
242
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
243
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
244
+ * and would be compared as a literal string.
245
+ */
246
+ property: string;
247
+ /**
248
+ * String compared against the resolved property. Operators that take no value
249
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
250
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
251
+ */
252
+ value: string;
253
+ }
254
+ }
118
255
  }
119
256
  export interface DefaultMappingReplaceResponse {
120
257
  id: string;
@@ -132,7 +269,7 @@ export interface DefaultMappingReplaceResponse {
132
269
  *
133
270
  * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
134
271
  */
135
- logic?: unknown;
272
+ logic?: DefaultMappingReplaceResponse.Logic | null;
136
273
  name?: string | null;
137
274
  priority?: number | null;
138
275
  sourceId?: string | null;
@@ -158,6 +295,74 @@ export declare namespace DefaultMappingReplaceResponse {
158
295
  property: string;
159
296
  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;
160
297
  }
298
+ /**
299
+ * Condition tree gating when this mapping fires. A node is either a leaf
300
+ * `condition` or a combinator (`AND`, `OR`, `NOT`). Combinator children are
301
+ * themselves logic nodes, so trees nest arbitrarily.
302
+ *
303
+ * Example leaf:
304
+ * `{ "condition": { "property": "$event.event", "operator": "Is", "value": "page_view" } }`.
305
+ *
306
+ * Example combinator: `{ "AND": [{ "condition": ... }, { "OR": [...] }] }`.
307
+ */
308
+ interface Logic {
309
+ /**
310
+ * All child nodes must match. Each child is itself a logic node (leaf `condition`
311
+ * or combinator).
312
+ */
313
+ AND?: Array<{
314
+ [key: string]: string | null | number | boolean | Array<unknown> | {
315
+ [key: string]: unknown;
316
+ };
317
+ }> | null;
318
+ condition?: Logic.Condition | null;
319
+ /**
320
+ * Negates a single child logic node.
321
+ */
322
+ NOT?: {
323
+ [key: string]: string | null | number | boolean | Array<unknown> | {
324
+ [key: string]: unknown;
325
+ };
326
+ } | null;
327
+ /**
328
+ * Any child node must match. Each child is itself a logic node (leaf `condition`
329
+ * or combinator).
330
+ */
331
+ OR?: Array<{
332
+ [key: string]: string | null | number | boolean | Array<unknown> | {
333
+ [key: string]: unknown;
334
+ };
335
+ }> | null;
336
+ }
337
+ namespace Logic {
338
+ interface Condition {
339
+ /**
340
+ * Comparison verb in PascalCase. Equality/text: `Is`, `IsNot`, `Contains`,
341
+ * `DoesNotContain`, `StartsWith`, `EndsWith`. Truthiness/nullability: `IsFalsy`,
342
+ * `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`, `IsTrue`,
343
+ * `IsFalse`. Numeric: `IsGreaterThan`, `IsGreaterThanOrEqual`, `IsLessThan`,
344
+ * `IsLessThanOrEqual`. Set membership: `IsIn`, `IsNotIn`, `IsFoundIn`,
345
+ * `IsNotFoundIn`. Date: `IsBefore`, `IsAfter`, `IsBetween`, `IsOnOrBefore`,
346
+ * `IsOnOrAfter`. Regex: `MatchesRegex`, `MatchesRegexIgnoreCase`,
347
+ * `DoesNotMatchRegex`, `DoesNotMatchRegexIgnoreCase`.
348
+ */
349
+ 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';
350
+ /**
351
+ * Bare dotted path into the event/visitor record. Examples: `$event.event`,
352
+ * `$event.event_properties.value`, `visitor.consent.marketing`. The leading `$` is
353
+ * optional and stripped before lookup. Do **not** use `{{...}}` here — that
354
+ * template syntax is for mapping values (`mappings[].map`), not logic conditions,
355
+ * and would be compared as a literal string.
356
+ */
357
+ property: string;
358
+ /**
359
+ * String compared against the resolved property. Operators that take no value
360
+ * (`IsFalsy`, `IsTruthy`, `IsNull`, `IsNotNull`, `IsUndefined`, `IsNotUndefined`,
361
+ * `IsTrue`, `IsFalse`) ignore this field — send `""`.
362
+ */
363
+ value: string;
364
+ }
365
+ }
161
366
  }
162
367
  export interface DefaultMappingReplaceParams {
163
368
  /**