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