@oursprivacy/platform-sdk 1.12.0 → 1.14.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 (152) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +35 -0
  3. package/client.d.mts +32 -14
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +32 -14
  6. package/client.d.ts.map +1 -1
  7. package/client.js +26 -4
  8. package/client.js.map +1 -1
  9. package/client.mjs +26 -4
  10. package/client.mjs.map +1 -1
  11. package/core/pagination.d.mts +60 -0
  12. package/core/pagination.d.mts.map +1 -0
  13. package/core/pagination.d.ts +60 -0
  14. package/core/pagination.d.ts.map +1 -0
  15. package/core/pagination.js +101 -0
  16. package/core/pagination.js.map +1 -0
  17. package/core/pagination.mjs +95 -0
  18. package/core/pagination.mjs.map +1 -0
  19. package/index.d.mts +1 -0
  20. package/index.d.mts.map +1 -1
  21. package/index.d.ts +1 -0
  22. package/index.d.ts.map +1 -1
  23. package/index.js +3 -1
  24. package/index.js.map +1 -1
  25. package/index.mjs +1 -0
  26. package/index.mjs.map +1 -1
  27. package/package.json +11 -1
  28. package/pagination.d.mts +2 -0
  29. package/pagination.d.mts.map +1 -0
  30. package/pagination.d.ts +2 -0
  31. package/pagination.d.ts.map +1 -0
  32. package/pagination.js +6 -0
  33. package/pagination.js.map +1 -0
  34. package/pagination.mjs +2 -0
  35. package/pagination.mjs.map +1 -0
  36. package/resources/allowed-events.d.mts +18 -18
  37. package/resources/allowed-events.d.mts.map +1 -1
  38. package/resources/allowed-events.d.ts +18 -18
  39. package/resources/allowed-events.d.ts.map +1 -1
  40. package/resources/allowed-events.js +7 -7
  41. package/resources/allowed-events.js.map +1 -1
  42. package/resources/allowed-events.mjs +7 -7
  43. package/resources/allowed-events.mjs.map +1 -1
  44. package/resources/consent-settings.d.mts +2568 -124
  45. package/resources/consent-settings.d.mts.map +1 -1
  46. package/resources/consent-settings.d.ts +2568 -124
  47. package/resources/consent-settings.d.ts.map +1 -1
  48. package/resources/consent-settings.js +24 -7
  49. package/resources/consent-settings.js.map +1 -1
  50. package/resources/consent-settings.mjs +24 -7
  51. package/resources/consent-settings.mjs.map +1 -1
  52. package/resources/destinations.d.mts +33 -32
  53. package/resources/destinations.d.mts.map +1 -1
  54. package/resources/destinations.d.ts +33 -32
  55. package/resources/destinations.d.ts.map +1 -1
  56. package/resources/destinations.js +8 -7
  57. package/resources/destinations.js.map +1 -1
  58. package/resources/destinations.mjs +8 -7
  59. package/resources/destinations.mjs.map +1 -1
  60. package/resources/experiment-settings.d.mts +277 -0
  61. package/resources/experiment-settings.d.mts.map +1 -0
  62. package/resources/experiment-settings.d.ts +277 -0
  63. package/resources/experiment-settings.d.ts.map +1 -0
  64. package/resources/experiment-settings.js +77 -0
  65. package/resources/experiment-settings.js.map +1 -0
  66. package/resources/experiment-settings.mjs +73 -0
  67. package/resources/experiment-settings.mjs.map +1 -0
  68. package/resources/experiment-variants.d.mts +653 -0
  69. package/resources/experiment-variants.d.mts.map +1 -0
  70. package/resources/experiment-variants.d.ts +653 -0
  71. package/resources/experiment-variants.d.ts.map +1 -0
  72. package/resources/experiment-variants.js +86 -0
  73. package/resources/experiment-variants.js.map +1 -0
  74. package/resources/experiment-variants.mjs +82 -0
  75. package/resources/experiment-variants.mjs.map +1 -0
  76. package/resources/experiments.d.mts +2002 -0
  77. package/resources/experiments.d.mts.map +1 -0
  78. package/resources/experiments.d.ts +2002 -0
  79. package/resources/experiments.d.ts.map +1 -0
  80. package/resources/experiments.js +166 -0
  81. package/resources/experiments.js.map +1 -0
  82. package/resources/experiments.mjs +162 -0
  83. package/resources/experiments.mjs.map +1 -0
  84. package/resources/global-dispatch-centers.d.mts +125 -58
  85. package/resources/global-dispatch-centers.d.mts.map +1 -1
  86. package/resources/global-dispatch-centers.d.ts +125 -58
  87. package/resources/global-dispatch-centers.d.ts.map +1 -1
  88. package/resources/global-dispatch-centers.js +10 -7
  89. package/resources/global-dispatch-centers.js.map +1 -1
  90. package/resources/global-dispatch-centers.mjs +10 -7
  91. package/resources/global-dispatch-centers.mjs.map +1 -1
  92. package/resources/index.d.mts +11 -7
  93. package/resources/index.d.mts.map +1 -1
  94. package/resources/index.d.ts +11 -7
  95. package/resources/index.d.ts.map +1 -1
  96. package/resources/index.js +9 -1
  97. package/resources/index.js.map +1 -1
  98. package/resources/index.mjs +4 -0
  99. package/resources/index.mjs.map +1 -1
  100. package/resources/mappings.d.mts +138 -0
  101. package/resources/mappings.d.mts.map +1 -0
  102. package/resources/mappings.d.ts +138 -0
  103. package/resources/mappings.d.ts.map +1 -0
  104. package/resources/mappings.js +45 -0
  105. package/resources/mappings.js.map +1 -0
  106. package/resources/mappings.mjs +41 -0
  107. package/resources/mappings.mjs.map +1 -0
  108. package/resources/replay-settings.d.mts +48 -48
  109. package/resources/replay-settings.d.mts.map +1 -1
  110. package/resources/replay-settings.d.ts +48 -48
  111. package/resources/replay-settings.d.ts.map +1 -1
  112. package/resources/replay-settings.js +13 -8
  113. package/resources/replay-settings.js.map +1 -1
  114. package/resources/replay-settings.mjs +13 -8
  115. package/resources/replay-settings.mjs.map +1 -1
  116. package/resources/sources.d.mts +64 -27
  117. package/resources/sources.d.mts.map +1 -1
  118. package/resources/sources.d.ts +64 -27
  119. package/resources/sources.d.ts.map +1 -1
  120. package/resources/sources.js +14 -7
  121. package/resources/sources.js.map +1 -1
  122. package/resources/sources.mjs +14 -7
  123. package/resources/sources.mjs.map +1 -1
  124. package/resources/versions.d.mts +742 -16
  125. package/resources/versions.d.mts.map +1 -1
  126. package/resources/versions.d.ts +742 -16
  127. package/resources/versions.d.ts.map +1 -1
  128. package/resources/versions.js +45 -5
  129. package/resources/versions.js.map +1 -1
  130. package/resources/versions.mjs +45 -5
  131. package/resources/versions.mjs.map +1 -1
  132. package/src/client.ts +210 -29
  133. package/src/core/pagination.ts +165 -0
  134. package/src/index.ts +1 -0
  135. package/src/pagination.ts +2 -0
  136. package/src/resources/allowed-events.ts +27 -27
  137. package/src/resources/consent-settings.ts +3036 -244
  138. package/src/resources/destinations.ts +128 -127
  139. package/src/resources/experiment-settings.ts +367 -0
  140. package/src/resources/experiment-variants.ts +868 -0
  141. package/src/resources/experiments.ts +2446 -0
  142. package/src/resources/global-dispatch-centers.ts +155 -65
  143. package/src/resources/index.ts +77 -7
  144. package/src/resources/mappings.ts +236 -0
  145. package/src/resources/replay-settings.ts +67 -59
  146. package/src/resources/sources.ts +116 -71
  147. package/src/resources/versions.ts +1130 -17
  148. package/src/version.ts +1 -1
  149. package/version.d.mts +1 -1
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
  152. package/version.mjs +1 -1
@@ -0,0 +1,653 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { Cursor, type CursorParams, PagePromise } from "../core/pagination.mjs";
4
+ import { RequestOptions } from "../internal/request-options.mjs";
5
+ export declare class ExperimentVariants extends APIResource {
6
+ /**
7
+ * List variants for a specific parent experiment. Requires the `experimentId`
8
+ * query parameter — variants are always scoped to a single experiment. Supports
9
+ * cursor pagination via `limit` and `cursor`; SDK runtimes that need the full set
10
+ * in one request can pass `?limit=100`. Requires scope: experiment:find
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * // Automatically fetches more pages as needed.
15
+ * for await (const experimentVariantListResponse of client.experimentVariants.list(
16
+ * { experimentId: '08524dc8-5289-48e8-bf40-b3a7cfa6ca0a' },
17
+ * )) {
18
+ * // ...
19
+ * }
20
+ * ```
21
+ */
22
+ list(query: ExperimentVariantListParams, options?: RequestOptions): PagePromise<ExperimentVariantListResponsesCursor, ExperimentVariantListResponse>;
23
+ /**
24
+ * Create a new experiment variant. Requires scope: experiment:update
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const experimentVariant =
29
+ * await client.experimentVariants.create({
30
+ * experimentId: 'x',
31
+ * name: 'Variant B',
32
+ * weight: 50,
33
+ * });
34
+ * ```
35
+ */
36
+ create(body: ExperimentVariantCreateParams, options?: RequestOptions): APIPromise<ExperimentVariantCreateResponse>;
37
+ /**
38
+ * Find a single experiment variant by ID. Requires scope: experiment:find
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const experimentVariant =
43
+ * await client.experimentVariants.retrieve('id');
44
+ * ```
45
+ */
46
+ retrieve(id: string, options?: RequestOptions): APIPromise<ExperimentVariantRetrieveResponse>;
47
+ /**
48
+ * Partially update an experiment variant. Only the fields you send are changed.
49
+ * Requires scope: experiment:update
50
+ *
51
+ * @example
52
+ * ```ts
53
+ * const experimentVariant =
54
+ * await client.experimentVariants.update('id');
55
+ * ```
56
+ */
57
+ update(id: string, body: ExperimentVariantUpdateParams, options?: RequestOptions): APIPromise<ExperimentVariantUpdateResponse>;
58
+ /**
59
+ * Delete an experiment variant. Requires scope: experiment:update
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const experimentVariant =
64
+ * await client.experimentVariants.delete('id');
65
+ * ```
66
+ */
67
+ delete(id: string, options?: RequestOptions): APIPromise<ExperimentVariantDeleteResponse>;
68
+ }
69
+ export type ExperimentVariantListResponsesCursor = Cursor<ExperimentVariantListResponse>;
70
+ export interface ExperimentVariantListResponse {
71
+ /**
72
+ * Unique identifier for this experiment variant.
73
+ */
74
+ id: string;
75
+ /**
76
+ * Parent experiment ID this variant belongs to.
77
+ */
78
+ experimentId: string;
79
+ /**
80
+ * Whether this is the baseline control variant.
81
+ */
82
+ isControl: boolean;
83
+ /**
84
+ * Human-readable variant name shown in the dashboard and results.
85
+ */
86
+ name: string;
87
+ /**
88
+ * Relative traffic weight used when assigning visitors among variants in an active
89
+ * experiment.
90
+ */
91
+ weight: number;
92
+ /**
93
+ * Ordered list of declarative DOM mutations applied when this variant is assigned.
94
+ */
95
+ domModifications?: Array<ExperimentVariantListResponse.DomModification> | null;
96
+ /**
97
+ * Target URL for redirect variants. Use either a site-relative path such as
98
+ * `/pricing-v2` or an absolute `https://` URL. Cross-origin `http://` URLs are
99
+ * rejected. Omit for DOM modification variants.
100
+ */
101
+ redirectUrl?: string | null;
102
+ /**
103
+ * How this variant changes the user experience. `dom_modifications` for on-page
104
+ * changes or `redirect` for redirect tests.
105
+ */
106
+ variantType?: string | null;
107
+ }
108
+ export declare namespace ExperimentVariantListResponse {
109
+ interface DomModification {
110
+ /**
111
+ * Mutation to apply when the selector matches. Use `redirectUrl` instead of DOM
112
+ * modifications for redirect variants.
113
+ */
114
+ action: 'customCss' | 'customJs' | 'insertAfter' | 'insertBefore' | 'remove' | 'setAttribute' | 'setHtml' | 'setImage' | 'setStyle' | 'setText';
115
+ /**
116
+ * CSS selector used to find the element to modify on the page at runtime.
117
+ */
118
+ selector: string;
119
+ /**
120
+ * Canonical action payload. For `setText` / `setHtml` / `customCss` / `customJs` /
121
+ * `setImage` / `insertBefore` / `insertAfter` this is the literal
122
+ * text/HTML/CSS/JS/URL. For `setStyle` and `setAttribute` it is a JSON-stringified
123
+ * `{key: value}` object — prefer the structured `styles` / `attribute` fields
124
+ * below to avoid manual JSON encoding.
125
+ */
126
+ value: string;
127
+ /**
128
+ * Populated on read for `setAttribute` modifications, parsed from `value`.
129
+ * Customers may also send this field instead of a JSON-stringified `value` on
130
+ * write — see `domModificationInputSchema`.
131
+ */
132
+ attribute?: unknown | null;
133
+ /**
134
+ * Populated on read for `setStyle` modifications, parsed from `value`. Customers
135
+ * may also send this field instead of a JSON-stringified `value` on write — see
136
+ * `domModificationInputSchema`.
137
+ */
138
+ styles?: Array<DomModification.Style> | null;
139
+ }
140
+ namespace DomModification {
141
+ interface Style {
142
+ /**
143
+ * CSS property name in camelCase or kebab-case.
144
+ */
145
+ property: string;
146
+ /**
147
+ * CSS value to assign to the property.
148
+ */
149
+ value: string;
150
+ }
151
+ }
152
+ }
153
+ export interface ExperimentVariantCreateResponse {
154
+ /**
155
+ * Unique identifier for this experiment variant.
156
+ */
157
+ id: string;
158
+ /**
159
+ * Parent experiment ID this variant belongs to.
160
+ */
161
+ experimentId: string;
162
+ /**
163
+ * Whether this is the baseline control variant.
164
+ */
165
+ isControl: boolean;
166
+ /**
167
+ * Human-readable variant name shown in the dashboard and results.
168
+ */
169
+ name: string;
170
+ /**
171
+ * Relative traffic weight used when assigning visitors among variants in an active
172
+ * experiment.
173
+ */
174
+ weight: number;
175
+ /**
176
+ * Ordered list of declarative DOM mutations applied when this variant is assigned.
177
+ */
178
+ domModifications?: Array<ExperimentVariantCreateResponse.DomModification> | null;
179
+ /**
180
+ * Target URL for redirect variants. Use either a site-relative path such as
181
+ * `/pricing-v2` or an absolute `https://` URL. Cross-origin `http://` URLs are
182
+ * rejected. Omit for DOM modification variants.
183
+ */
184
+ redirectUrl?: string | null;
185
+ /**
186
+ * How this variant changes the user experience. `dom_modifications` for on-page
187
+ * changes or `redirect` for redirect tests.
188
+ */
189
+ variantType?: string | null;
190
+ }
191
+ export declare namespace ExperimentVariantCreateResponse {
192
+ interface DomModification {
193
+ /**
194
+ * Mutation to apply when the selector matches. Use `redirectUrl` instead of DOM
195
+ * modifications for redirect variants.
196
+ */
197
+ action: 'customCss' | 'customJs' | 'insertAfter' | 'insertBefore' | 'remove' | 'setAttribute' | 'setHtml' | 'setImage' | 'setStyle' | 'setText';
198
+ /**
199
+ * CSS selector used to find the element to modify on the page at runtime.
200
+ */
201
+ selector: string;
202
+ /**
203
+ * Canonical action payload. For `setText` / `setHtml` / `customCss` / `customJs` /
204
+ * `setImage` / `insertBefore` / `insertAfter` this is the literal
205
+ * text/HTML/CSS/JS/URL. For `setStyle` and `setAttribute` it is a JSON-stringified
206
+ * `{key: value}` object — prefer the structured `styles` / `attribute` fields
207
+ * below to avoid manual JSON encoding.
208
+ */
209
+ value: string;
210
+ /**
211
+ * Populated on read for `setAttribute` modifications, parsed from `value`.
212
+ * Customers may also send this field instead of a JSON-stringified `value` on
213
+ * write — see `domModificationInputSchema`.
214
+ */
215
+ attribute?: unknown | null;
216
+ /**
217
+ * Populated on read for `setStyle` modifications, parsed from `value`. Customers
218
+ * may also send this field instead of a JSON-stringified `value` on write — see
219
+ * `domModificationInputSchema`.
220
+ */
221
+ styles?: Array<DomModification.Style> | null;
222
+ }
223
+ namespace DomModification {
224
+ interface Style {
225
+ /**
226
+ * CSS property name in camelCase or kebab-case.
227
+ */
228
+ property: string;
229
+ /**
230
+ * CSS value to assign to the property.
231
+ */
232
+ value: string;
233
+ }
234
+ }
235
+ }
236
+ export interface ExperimentVariantRetrieveResponse {
237
+ /**
238
+ * Unique identifier for this experiment variant.
239
+ */
240
+ id: string;
241
+ /**
242
+ * Parent experiment ID this variant belongs to.
243
+ */
244
+ experimentId: string;
245
+ /**
246
+ * Whether this is the baseline control variant.
247
+ */
248
+ isControl: boolean;
249
+ /**
250
+ * Human-readable variant name shown in the dashboard and results.
251
+ */
252
+ name: string;
253
+ /**
254
+ * Relative traffic weight used when assigning visitors among variants in an active
255
+ * experiment.
256
+ */
257
+ weight: number;
258
+ /**
259
+ * Ordered list of declarative DOM mutations applied when this variant is assigned.
260
+ */
261
+ domModifications?: Array<ExperimentVariantRetrieveResponse.DomModification> | null;
262
+ /**
263
+ * Target URL for redirect variants. Use either a site-relative path such as
264
+ * `/pricing-v2` or an absolute `https://` URL. Cross-origin `http://` URLs are
265
+ * rejected. Omit for DOM modification variants.
266
+ */
267
+ redirectUrl?: string | null;
268
+ /**
269
+ * How this variant changes the user experience. `dom_modifications` for on-page
270
+ * changes or `redirect` for redirect tests.
271
+ */
272
+ variantType?: string | null;
273
+ }
274
+ export declare namespace ExperimentVariantRetrieveResponse {
275
+ interface DomModification {
276
+ /**
277
+ * Mutation to apply when the selector matches. Use `redirectUrl` instead of DOM
278
+ * modifications for redirect variants.
279
+ */
280
+ action: 'customCss' | 'customJs' | 'insertAfter' | 'insertBefore' | 'remove' | 'setAttribute' | 'setHtml' | 'setImage' | 'setStyle' | 'setText';
281
+ /**
282
+ * CSS selector used to find the element to modify on the page at runtime.
283
+ */
284
+ selector: string;
285
+ /**
286
+ * Canonical action payload. For `setText` / `setHtml` / `customCss` / `customJs` /
287
+ * `setImage` / `insertBefore` / `insertAfter` this is the literal
288
+ * text/HTML/CSS/JS/URL. For `setStyle` and `setAttribute` it is a JSON-stringified
289
+ * `{key: value}` object — prefer the structured `styles` / `attribute` fields
290
+ * below to avoid manual JSON encoding.
291
+ */
292
+ value: string;
293
+ /**
294
+ * Populated on read for `setAttribute` modifications, parsed from `value`.
295
+ * Customers may also send this field instead of a JSON-stringified `value` on
296
+ * write — see `domModificationInputSchema`.
297
+ */
298
+ attribute?: unknown | null;
299
+ /**
300
+ * Populated on read for `setStyle` modifications, parsed from `value`. Customers
301
+ * may also send this field instead of a JSON-stringified `value` on write — see
302
+ * `domModificationInputSchema`.
303
+ */
304
+ styles?: Array<DomModification.Style> | null;
305
+ }
306
+ namespace DomModification {
307
+ interface Style {
308
+ /**
309
+ * CSS property name in camelCase or kebab-case.
310
+ */
311
+ property: string;
312
+ /**
313
+ * CSS value to assign to the property.
314
+ */
315
+ value: string;
316
+ }
317
+ }
318
+ }
319
+ export interface ExperimentVariantUpdateResponse {
320
+ /**
321
+ * Unique identifier for this experiment variant.
322
+ */
323
+ id: string;
324
+ /**
325
+ * Parent experiment ID this variant belongs to.
326
+ */
327
+ experimentId: string;
328
+ /**
329
+ * Whether this is the baseline control variant.
330
+ */
331
+ isControl: boolean;
332
+ /**
333
+ * Human-readable variant name shown in the dashboard and results.
334
+ */
335
+ name: string;
336
+ /**
337
+ * Relative traffic weight used when assigning visitors among variants in an active
338
+ * experiment.
339
+ */
340
+ weight: number;
341
+ /**
342
+ * Ordered list of declarative DOM mutations applied when this variant is assigned.
343
+ */
344
+ domModifications?: Array<ExperimentVariantUpdateResponse.DomModification> | null;
345
+ /**
346
+ * Target URL for redirect variants. Use either a site-relative path such as
347
+ * `/pricing-v2` or an absolute `https://` URL. Cross-origin `http://` URLs are
348
+ * rejected. Omit for DOM modification variants.
349
+ */
350
+ redirectUrl?: string | null;
351
+ /**
352
+ * How this variant changes the user experience. `dom_modifications` for on-page
353
+ * changes or `redirect` for redirect tests.
354
+ */
355
+ variantType?: string | null;
356
+ }
357
+ export declare namespace ExperimentVariantUpdateResponse {
358
+ interface DomModification {
359
+ /**
360
+ * Mutation to apply when the selector matches. Use `redirectUrl` instead of DOM
361
+ * modifications for redirect variants.
362
+ */
363
+ action: 'customCss' | 'customJs' | 'insertAfter' | 'insertBefore' | 'remove' | 'setAttribute' | 'setHtml' | 'setImage' | 'setStyle' | 'setText';
364
+ /**
365
+ * CSS selector used to find the element to modify on the page at runtime.
366
+ */
367
+ selector: string;
368
+ /**
369
+ * Canonical action payload. For `setText` / `setHtml` / `customCss` / `customJs` /
370
+ * `setImage` / `insertBefore` / `insertAfter` this is the literal
371
+ * text/HTML/CSS/JS/URL. For `setStyle` and `setAttribute` it is a JSON-stringified
372
+ * `{key: value}` object — prefer the structured `styles` / `attribute` fields
373
+ * below to avoid manual JSON encoding.
374
+ */
375
+ value: string;
376
+ /**
377
+ * Populated on read for `setAttribute` modifications, parsed from `value`.
378
+ * Customers may also send this field instead of a JSON-stringified `value` on
379
+ * write — see `domModificationInputSchema`.
380
+ */
381
+ attribute?: unknown | null;
382
+ /**
383
+ * Populated on read for `setStyle` modifications, parsed from `value`. Customers
384
+ * may also send this field instead of a JSON-stringified `value` on write — see
385
+ * `domModificationInputSchema`.
386
+ */
387
+ styles?: Array<DomModification.Style> | null;
388
+ }
389
+ namespace DomModification {
390
+ interface Style {
391
+ /**
392
+ * CSS property name in camelCase or kebab-case.
393
+ */
394
+ property: string;
395
+ /**
396
+ * CSS value to assign to the property.
397
+ */
398
+ value: string;
399
+ }
400
+ }
401
+ }
402
+ export interface ExperimentVariantDeleteResponse {
403
+ /**
404
+ * Unique identifier for this experiment variant.
405
+ */
406
+ id: string;
407
+ /**
408
+ * Parent experiment ID this variant belongs to.
409
+ */
410
+ experimentId: string;
411
+ /**
412
+ * Whether this is the baseline control variant.
413
+ */
414
+ isControl: boolean;
415
+ /**
416
+ * Human-readable variant name shown in the dashboard and results.
417
+ */
418
+ name: string;
419
+ /**
420
+ * Relative traffic weight used when assigning visitors among variants in an active
421
+ * experiment.
422
+ */
423
+ weight: number;
424
+ /**
425
+ * Ordered list of declarative DOM mutations applied when this variant is assigned.
426
+ */
427
+ domModifications?: Array<ExperimentVariantDeleteResponse.DomModification> | null;
428
+ /**
429
+ * Target URL for redirect variants. Use either a site-relative path such as
430
+ * `/pricing-v2` or an absolute `https://` URL. Cross-origin `http://` URLs are
431
+ * rejected. Omit for DOM modification variants.
432
+ */
433
+ redirectUrl?: string | null;
434
+ /**
435
+ * How this variant changes the user experience. `dom_modifications` for on-page
436
+ * changes or `redirect` for redirect tests.
437
+ */
438
+ variantType?: string | null;
439
+ }
440
+ export declare namespace ExperimentVariantDeleteResponse {
441
+ interface DomModification {
442
+ /**
443
+ * Mutation to apply when the selector matches. Use `redirectUrl` instead of DOM
444
+ * modifications for redirect variants.
445
+ */
446
+ action: 'customCss' | 'customJs' | 'insertAfter' | 'insertBefore' | 'remove' | 'setAttribute' | 'setHtml' | 'setImage' | 'setStyle' | 'setText';
447
+ /**
448
+ * CSS selector used to find the element to modify on the page at runtime.
449
+ */
450
+ selector: string;
451
+ /**
452
+ * Canonical action payload. For `setText` / `setHtml` / `customCss` / `customJs` /
453
+ * `setImage` / `insertBefore` / `insertAfter` this is the literal
454
+ * text/HTML/CSS/JS/URL. For `setStyle` and `setAttribute` it is a JSON-stringified
455
+ * `{key: value}` object — prefer the structured `styles` / `attribute` fields
456
+ * below to avoid manual JSON encoding.
457
+ */
458
+ value: string;
459
+ /**
460
+ * Populated on read for `setAttribute` modifications, parsed from `value`.
461
+ * Customers may also send this field instead of a JSON-stringified `value` on
462
+ * write — see `domModificationInputSchema`.
463
+ */
464
+ attribute?: unknown | null;
465
+ /**
466
+ * Populated on read for `setStyle` modifications, parsed from `value`. Customers
467
+ * may also send this field instead of a JSON-stringified `value` on write — see
468
+ * `domModificationInputSchema`.
469
+ */
470
+ styles?: Array<DomModification.Style> | null;
471
+ }
472
+ namespace DomModification {
473
+ interface Style {
474
+ /**
475
+ * CSS property name in camelCase or kebab-case.
476
+ */
477
+ property: string;
478
+ /**
479
+ * CSS value to assign to the property.
480
+ */
481
+ value: string;
482
+ }
483
+ }
484
+ }
485
+ export interface ExperimentVariantListParams extends CursorParams {
486
+ /**
487
+ * Required. List variants belonging to this parent experiment.
488
+ */
489
+ experimentId: string;
490
+ }
491
+ export interface ExperimentVariantCreateParams {
492
+ /**
493
+ * Parent experiment ID that will own this new variant.
494
+ */
495
+ experimentId: string;
496
+ /**
497
+ * Human-readable name for the new variant.
498
+ */
499
+ name: string;
500
+ /**
501
+ * Traffic weight to assign to this variant. Weights are relative shares; the
502
+ * runtime normalizes by their sum. Must be a positive integer in the range
503
+ * 1..1_000_000.
504
+ */
505
+ weight: number;
506
+ /**
507
+ * Required for DOM modification variants. Omit for redirect variants. Each entry
508
+ * is `{selector, action, value}`.
509
+ */
510
+ domModifications?: Array<ExperimentVariantCreateParams.DomModification> | null;
511
+ /**
512
+ * Mark this variant as the experiment control. Defaults to `false`. The API
513
+ * rejects the request with 409 if the experiment already has a control variant —
514
+ * to swap controls, first PATCH the existing control to clear `isControl`, then
515
+ * create or PATCH the new one with `isControl: true`. The auto-generated control
516
+ * variant created with each new experiment can be replaced this way. DELETE on the
517
+ * control returns 409.
518
+ */
519
+ isControl?: boolean | null;
520
+ /**
521
+ * Required for redirect variants. Use either a site-relative path such as
522
+ * `/pricing-v2` or an absolute `https://` URL. Cross-origin `http://` URLs are
523
+ * rejected. Omit for DOM modification variants.
524
+ */
525
+ redirectUrl?: string | null;
526
+ /**
527
+ * Variant type to create. Use `redirect` for redirect tests or `dom_modifications`
528
+ * for on-page changes.
529
+ */
530
+ variantType?: 'dom_modifications' | 'redirect' | null;
531
+ }
532
+ export declare namespace ExperimentVariantCreateParams {
533
+ interface DomModification {
534
+ /**
535
+ * Mutation to apply when the selector matches.
536
+ */
537
+ action: 'customCss' | 'customJs' | 'insertAfter' | 'insertBefore' | 'remove' | 'setAttribute' | 'setHtml' | 'setImage' | 'setStyle' | 'setText';
538
+ /**
539
+ * CSS selector used to find the element to modify on the page at runtime.
540
+ */
541
+ selector: string;
542
+ /**
543
+ * Use this for `setAttribute` to avoid JSON-stringifying `{name: value}` yourself.
544
+ * Ignored for other actions.
545
+ */
546
+ attribute?: unknown | null;
547
+ /**
548
+ * Use this for `setStyle` to avoid JSON-stringifying `{property: value}` yourself.
549
+ * Ignored for other actions.
550
+ */
551
+ styles?: Array<DomModification.Style> | null;
552
+ /**
553
+ * Canonical action payload. For `setText` / `setHtml` / `customCss` / `customJs` /
554
+ * `setImage` / `insertBefore` / `insertAfter` this is the literal
555
+ * text/HTML/CSS/JS/URL. For `setStyle` and `setAttribute` it is a JSON-stringified
556
+ * `{key: value}` object — or you can supply the structured `styles` / `attribute`
557
+ * field instead and the server will normalize.
558
+ */
559
+ value?: string | null;
560
+ }
561
+ namespace DomModification {
562
+ interface Style {
563
+ /**
564
+ * CSS property name in camelCase or kebab-case.
565
+ */
566
+ property: string;
567
+ /**
568
+ * CSS value to assign to the property.
569
+ */
570
+ value: string;
571
+ }
572
+ }
573
+ }
574
+ export interface ExperimentVariantUpdateParams {
575
+ /**
576
+ * Updated declarative DOM mutations. Sending this field replaces the prior list —
577
+ * partial-array merging is not supported.
578
+ */
579
+ domModifications?: Array<ExperimentVariantUpdateParams.DomModification> | null;
580
+ /**
581
+ * Promote or demote this variant as the control. Promoting a second variant while
582
+ * another already has `isControl: true` is rejected with 409 — clear the existing
583
+ * control first.
584
+ */
585
+ isControl?: boolean | null;
586
+ /**
587
+ * Updated variant name.
588
+ */
589
+ name?: string | null;
590
+ /**
591
+ * Updated redirect URL for redirect variants. Use either a site-relative path such
592
+ * as `/pricing-v2` or an absolute `https://` URL. Cross-origin `http://` URLs are
593
+ * rejected.
594
+ */
595
+ redirectUrl?: string | null;
596
+ /**
597
+ * Updated variant type — `redirect` or `dom_modifications`. Changing this also
598
+ * requires updating the matching payload field (`redirectUrl` or
599
+ * `domModifications`).
600
+ */
601
+ variantType?: 'dom_modifications' | 'redirect' | null;
602
+ /**
603
+ * Updated traffic weight relative to other variants. Must be a positive integer in
604
+ * the range 1..1_000_000.
605
+ */
606
+ weight?: number | null;
607
+ }
608
+ export declare namespace ExperimentVariantUpdateParams {
609
+ interface DomModification {
610
+ /**
611
+ * Mutation to apply when the selector matches.
612
+ */
613
+ action: 'customCss' | 'customJs' | 'insertAfter' | 'insertBefore' | 'remove' | 'setAttribute' | 'setHtml' | 'setImage' | 'setStyle' | 'setText';
614
+ /**
615
+ * CSS selector used to find the element to modify on the page at runtime.
616
+ */
617
+ selector: string;
618
+ /**
619
+ * Use this for `setAttribute` to avoid JSON-stringifying `{name: value}` yourself.
620
+ * Ignored for other actions.
621
+ */
622
+ attribute?: unknown | null;
623
+ /**
624
+ * Use this for `setStyle` to avoid JSON-stringifying `{property: value}` yourself.
625
+ * Ignored for other actions.
626
+ */
627
+ styles?: Array<DomModification.Style> | null;
628
+ /**
629
+ * Canonical action payload. For `setText` / `setHtml` / `customCss` / `customJs` /
630
+ * `setImage` / `insertBefore` / `insertAfter` this is the literal
631
+ * text/HTML/CSS/JS/URL. For `setStyle` and `setAttribute` it is a JSON-stringified
632
+ * `{key: value}` object — or you can supply the structured `styles` / `attribute`
633
+ * field instead and the server will normalize.
634
+ */
635
+ value?: string | null;
636
+ }
637
+ namespace DomModification {
638
+ interface Style {
639
+ /**
640
+ * CSS property name in camelCase or kebab-case.
641
+ */
642
+ property: string;
643
+ /**
644
+ * CSS value to assign to the property.
645
+ */
646
+ value: string;
647
+ }
648
+ }
649
+ }
650
+ export declare namespace ExperimentVariants {
651
+ export { type ExperimentVariantListResponse as ExperimentVariantListResponse, type ExperimentVariantCreateResponse as ExperimentVariantCreateResponse, type ExperimentVariantRetrieveResponse as ExperimentVariantRetrieveResponse, type ExperimentVariantUpdateResponse as ExperimentVariantUpdateResponse, type ExperimentVariantDeleteResponse as ExperimentVariantDeleteResponse, type ExperimentVariantListResponsesCursor as ExperimentVariantListResponsesCursor, type ExperimentVariantListParams as ExperimentVariantListParams, type ExperimentVariantCreateParams as ExperimentVariantCreateParams, type ExperimentVariantUpdateParams as ExperimentVariantUpdateParams, };
652
+ }
653
+ //# sourceMappingURL=experiment-variants.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"experiment-variants.d.mts","sourceRoot":"","sources":["../src/resources/experiment-variants.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAGzB,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,6BAA6B,CAAC;IAOnF;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iCAAiC,CAAC;IAI7F;;;;;;;;;OASG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,CAAC;CAG1F;AAED,MAAM,MAAM,oCAAoC,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC;AAEzF,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,YAAY,EA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