@oursprivacy/platform-sdk 1.55.0 → 1.57.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 +14 -0
- package/client.d.mts +15 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -6
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +4 -2
- package/resources/consent-settings.d.mts +90 -1
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +90 -1
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/consent-settings.js +13 -0
- package/resources/consent-settings.js.map +1 -1
- package/resources/consent-settings.mjs +13 -0
- package/resources/consent-settings.mjs.map +1 -1
- package/resources/custom-domains.d.mts +10 -4
- package/resources/custom-domains.d.mts.map +1 -1
- package/resources/custom-domains.d.ts +10 -4
- package/resources/custom-domains.d.ts.map +1 -1
- package/resources/custom-domains.js +3 -2
- package/resources/custom-domains.js.map +1 -1
- package/resources/custom-domains.mjs +3 -2
- package/resources/custom-domains.mjs.map +1 -1
- package/resources/dashboards.d.mts +4737 -0
- package/resources/dashboards.d.mts.map +1 -0
- package/resources/dashboards.d.ts +4737 -0
- package/resources/dashboards.d.ts.map +1 -0
- package/resources/dashboards.js +124 -0
- package/resources/dashboards.js.map +1 -0
- package/resources/dashboards.mjs +120 -0
- package/resources/dashboards.mjs.map +1 -0
- package/resources/data-governance.d.mts +19 -26
- package/resources/data-governance.d.mts.map +1 -1
- package/resources/data-governance.d.ts +19 -26
- package/resources/data-governance.d.ts.map +1 -1
- package/resources/data-governance.js +14 -13
- package/resources/data-governance.js.map +1 -1
- package/resources/data-governance.mjs +14 -13
- package/resources/data-governance.mjs.map +1 -1
- package/resources/destinations.d.mts +46 -11
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +46 -11
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiment-settings.d.mts +84 -24
- package/resources/experiment-settings.d.mts.map +1 -1
- package/resources/experiment-settings.d.ts +84 -24
- package/resources/experiment-settings.d.ts.map +1 -1
- package/resources/experiment-settings.js +9 -4
- package/resources/experiment-settings.js.map +1 -1
- package/resources/experiment-settings.mjs +9 -4
- package/resources/experiment-settings.mjs.map +1 -1
- package/resources/funnels.d.mts +64 -7
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +64 -7
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +2 -1
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +2 -1
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +6 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/insights.d.mts +1152 -0
- package/resources/insights.d.mts.map +1 -0
- package/resources/insights.d.ts +1152 -0
- package/resources/insights.d.ts.map +1 -0
- package/resources/insights.js +81 -0
- package/resources/insights.js.map +1 -0
- package/resources/insights.mjs +77 -0
- package/resources/insights.mjs.map +1 -0
- package/resources/journey-flows.d.mts +214 -17
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +214 -17
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/journey-flows.js +17 -13
- package/resources/journey-flows.js.map +1 -1
- package/resources/journey-flows.mjs +17 -13
- package/resources/journey-flows.mjs.map +1 -1
- package/resources/replay-settings.d.mts +72 -42
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +72 -42
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.js +12 -7
- package/resources/replay-settings.js.map +1 -1
- package/resources/replay-settings.mjs +12 -7
- package/resources/replay-settings.mjs.map +1 -1
- package/resources/report-branding.d.mts +157 -0
- package/resources/report-branding.d.mts.map +1 -0
- package/resources/report-branding.d.ts +157 -0
- package/resources/report-branding.d.ts.map +1 -0
- package/resources/report-branding.js +39 -0
- package/resources/report-branding.js.map +1 -0
- package/resources/report-branding.mjs +35 -0
- package/resources/report-branding.mjs.map +1 -0
- package/resources/tag-manager-triggers.d.mts +46 -4
- package/resources/tag-manager-triggers.d.mts.map +1 -1
- package/resources/tag-manager-triggers.d.ts +46 -4
- package/resources/tag-manager-triggers.d.ts.map +1 -1
- package/resources/tag-manager-triggers.js +6 -4
- package/resources/tag-manager-triggers.js.map +1 -1
- package/resources/tag-manager-triggers.mjs +6 -4
- package/resources/tag-manager-triggers.mjs.map +1 -1
- package/resources/tag-manager-variables.d.mts +25 -13
- package/resources/tag-manager-variables.d.mts.map +1 -1
- package/resources/tag-manager-variables.d.ts +25 -13
- package/resources/tag-manager-variables.d.ts.map +1 -1
- package/resources/tag-manager-variables.js +9 -4
- package/resources/tag-manager-variables.js.map +1 -1
- package/resources/tag-manager-variables.mjs +9 -4
- package/resources/tag-manager-variables.mjs.map +1 -1
- package/resources/tag-managers.d.mts +17 -1
- package/resources/tag-managers.d.mts.map +1 -1
- package/resources/tag-managers.d.ts +17 -1
- package/resources/tag-managers.d.ts.map +1 -1
- package/resources/tag-managers.js +10 -0
- package/resources/tag-managers.js.map +1 -1
- package/resources/tag-managers.mjs +10 -0
- package/resources/tag-managers.mjs.map +1 -1
- package/resources/test-events.d.mts +28 -13
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +28 -13
- package/resources/test-events.d.ts.map +1 -1
- package/resources/versions.d.mts +607 -139
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +607 -139
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +2 -0
- package/resources/versions.js.map +1 -1
- package/resources/versions.mjs +2 -0
- package/resources/versions.mjs.map +1 -1
- package/resources/web-analytics.d.mts +91 -39
- package/resources/web-analytics.d.mts.map +1 -1
- package/resources/web-analytics.d.ts +91 -39
- package/resources/web-analytics.d.ts.map +1 -1
- package/resources/web-analytics.js +11 -0
- package/resources/web-analytics.js.map +1 -1
- package/resources/web-analytics.mjs +11 -0
- package/resources/web-analytics.mjs.map +1 -1
- package/resources/web-scanners.d.mts +3 -2
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +3 -2
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +3 -2
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +3 -2
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +118 -3
- package/src/internal/utils/log.ts +1 -3
- package/src/resources/consent-settings.ts +117 -0
- package/src/resources/custom-domains.ts +14 -4
- package/src/resources/dashboards.ts +8757 -0
- package/src/resources/data-governance.ts +19 -26
- package/src/resources/destinations.ts +50 -6
- package/src/resources/experiment-settings.ts +84 -24
- package/src/resources/funnels.ts +64 -7
- package/src/resources/index.ts +54 -0
- package/src/resources/insights.ts +1976 -0
- package/src/resources/journey-flows.ts +214 -17
- package/src/resources/replay-settings.ts +77 -42
- package/src/resources/report-branding.ts +207 -0
- package/src/resources/tag-manager-triggers.ts +55 -4
- package/src/resources/tag-manager-variables.ts +25 -13
- package/src/resources/tag-managers.ts +21 -0
- package/src/resources/test-events.ts +30 -13
- package/src/resources/versions.ts +777 -139
- package/src/resources/web-analytics.ts +137 -38
- package/src/resources/web-scanners.ts +3 -2
- 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
|
@@ -27,14 +27,19 @@ export declare class ExperimentSettings extends APIResource {
|
|
|
27
27
|
*/
|
|
28
28
|
create(body: ExperimentSettingCreateParams, options?: RequestOptions): APIPromise<ExperimentSettingCreateResponse>;
|
|
29
29
|
/**
|
|
30
|
-
* Find
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* Find an experiment settings record by ID, including its cookie name, public
|
|
31
|
+
* pixel token, and domain allowlist. Discover the ID with GET
|
|
32
|
+
* /rest/v1/experiment-settings. Returns 404 when the record is unavailable to this
|
|
33
|
+
* account; returns 403 when Experimentation is disabled for an otherwise
|
|
34
|
+
* authorized record. Requires API-key scope or current OAuth user permission:
|
|
35
|
+
* experimentSettings:find
|
|
33
36
|
*
|
|
34
37
|
* @example
|
|
35
38
|
* ```ts
|
|
36
39
|
* const experimentSetting =
|
|
37
|
-
* await client.experimentSettings.retrieve(
|
|
40
|
+
* await client.experimentSettings.retrieve(
|
|
41
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
42
|
+
* );
|
|
38
43
|
* ```
|
|
39
44
|
*/
|
|
40
45
|
retrieve(id: string, options?: RequestOptions): APIPromise<ExperimentSettingRetrieveResponse>;
|
|
@@ -81,29 +86,40 @@ export declare namespace ExperimentSettingListResponse {
|
|
|
81
86
|
* Account that owns this experiment settings record.
|
|
82
87
|
*/
|
|
83
88
|
accountId: string;
|
|
89
|
+
/**
|
|
90
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
91
|
+
*/
|
|
84
92
|
createdAt: string;
|
|
85
93
|
/**
|
|
86
94
|
* Human-readable name for this experimentation configuration.
|
|
87
95
|
*/
|
|
88
96
|
name: string;
|
|
89
97
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
98
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
99
|
+
* than this token, when creating an experiment.
|
|
92
100
|
*/
|
|
93
101
|
pixel: string;
|
|
94
102
|
/**
|
|
95
103
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
96
104
|
*/
|
|
97
105
|
cookieName?: string | null;
|
|
106
|
+
/**
|
|
107
|
+
* User who created this settings record.
|
|
108
|
+
*/
|
|
98
109
|
createdByUserId?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
112
|
+
*/
|
|
99
113
|
updatedAt?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* User who last updated this settings record.
|
|
116
|
+
*/
|
|
100
117
|
updatedByUserId?: string | null;
|
|
101
118
|
/**
|
|
102
119
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
103
120
|
* settings record are only served on these domains; the SDK refuses to load
|
|
104
121
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
105
|
-
* source
|
|
106
|
-
* CDP.
|
|
122
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
107
123
|
*/
|
|
108
124
|
whitelistDomains?: Array<string> | null;
|
|
109
125
|
}
|
|
@@ -117,29 +133,40 @@ export interface ExperimentSettingCreateResponse {
|
|
|
117
133
|
* Account that owns this experiment settings record.
|
|
118
134
|
*/
|
|
119
135
|
accountId: string;
|
|
136
|
+
/**
|
|
137
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
138
|
+
*/
|
|
120
139
|
createdAt: string;
|
|
121
140
|
/**
|
|
122
141
|
* Human-readable name for this experimentation configuration.
|
|
123
142
|
*/
|
|
124
143
|
name: string;
|
|
125
144
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
145
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
146
|
+
* than this token, when creating an experiment.
|
|
128
147
|
*/
|
|
129
148
|
pixel: string;
|
|
130
149
|
/**
|
|
131
150
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
132
151
|
*/
|
|
133
152
|
cookieName?: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* User who created this settings record.
|
|
155
|
+
*/
|
|
134
156
|
createdByUserId?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
159
|
+
*/
|
|
135
160
|
updatedAt?: string | null;
|
|
161
|
+
/**
|
|
162
|
+
* User who last updated this settings record.
|
|
163
|
+
*/
|
|
136
164
|
updatedByUserId?: string | null;
|
|
137
165
|
/**
|
|
138
166
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
139
167
|
* settings record are only served on these domains; the SDK refuses to load
|
|
140
168
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
141
|
-
* source
|
|
142
|
-
* CDP.
|
|
169
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
143
170
|
*/
|
|
144
171
|
whitelistDomains?: Array<string> | null;
|
|
145
172
|
}
|
|
@@ -152,29 +179,40 @@ export interface ExperimentSettingRetrieveResponse {
|
|
|
152
179
|
* Account that owns this experiment settings record.
|
|
153
180
|
*/
|
|
154
181
|
accountId: string;
|
|
182
|
+
/**
|
|
183
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
184
|
+
*/
|
|
155
185
|
createdAt: string;
|
|
156
186
|
/**
|
|
157
187
|
* Human-readable name for this experimentation configuration.
|
|
158
188
|
*/
|
|
159
189
|
name: string;
|
|
160
190
|
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
191
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
192
|
+
* than this token, when creating an experiment.
|
|
163
193
|
*/
|
|
164
194
|
pixel: string;
|
|
165
195
|
/**
|
|
166
196
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
167
197
|
*/
|
|
168
198
|
cookieName?: string | null;
|
|
199
|
+
/**
|
|
200
|
+
* User who created this settings record.
|
|
201
|
+
*/
|
|
169
202
|
createdByUserId?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
205
|
+
*/
|
|
170
206
|
updatedAt?: string | null;
|
|
207
|
+
/**
|
|
208
|
+
* User who last updated this settings record.
|
|
209
|
+
*/
|
|
171
210
|
updatedByUserId?: string | null;
|
|
172
211
|
/**
|
|
173
212
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
174
213
|
* settings record are only served on these domains; the SDK refuses to load
|
|
175
214
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
176
|
-
* source
|
|
177
|
-
* CDP.
|
|
215
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
178
216
|
*/
|
|
179
217
|
whitelistDomains?: Array<string> | null;
|
|
180
218
|
}
|
|
@@ -187,29 +225,40 @@ export interface ExperimentSettingUpdateResponse {
|
|
|
187
225
|
* Account that owns this experiment settings record.
|
|
188
226
|
*/
|
|
189
227
|
accountId: string;
|
|
228
|
+
/**
|
|
229
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
230
|
+
*/
|
|
190
231
|
createdAt: string;
|
|
191
232
|
/**
|
|
192
233
|
* Human-readable name for this experimentation configuration.
|
|
193
234
|
*/
|
|
194
235
|
name: string;
|
|
195
236
|
/**
|
|
196
|
-
*
|
|
197
|
-
*
|
|
237
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
238
|
+
* than this token, when creating an experiment.
|
|
198
239
|
*/
|
|
199
240
|
pixel: string;
|
|
200
241
|
/**
|
|
201
242
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
202
243
|
*/
|
|
203
244
|
cookieName?: string | null;
|
|
245
|
+
/**
|
|
246
|
+
* User who created this settings record.
|
|
247
|
+
*/
|
|
204
248
|
createdByUserId?: string | null;
|
|
249
|
+
/**
|
|
250
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
251
|
+
*/
|
|
205
252
|
updatedAt?: string | null;
|
|
253
|
+
/**
|
|
254
|
+
* User who last updated this settings record.
|
|
255
|
+
*/
|
|
206
256
|
updatedByUserId?: string | null;
|
|
207
257
|
/**
|
|
208
258
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
209
259
|
* settings record are only served on these domains; the SDK refuses to load
|
|
210
260
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
211
|
-
* source
|
|
212
|
-
* CDP.
|
|
261
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
213
262
|
*/
|
|
214
263
|
whitelistDomains?: Array<string> | null;
|
|
215
264
|
}
|
|
@@ -222,29 +271,40 @@ export interface ExperimentSettingDeleteResponse {
|
|
|
222
271
|
* Account that owns this experiment settings record.
|
|
223
272
|
*/
|
|
224
273
|
accountId: string;
|
|
274
|
+
/**
|
|
275
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
276
|
+
*/
|
|
225
277
|
createdAt: string;
|
|
226
278
|
/**
|
|
227
279
|
* Human-readable name for this experimentation configuration.
|
|
228
280
|
*/
|
|
229
281
|
name: string;
|
|
230
282
|
/**
|
|
231
|
-
*
|
|
232
|
-
*
|
|
283
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
284
|
+
* than this token, when creating an experiment.
|
|
233
285
|
*/
|
|
234
286
|
pixel: string;
|
|
235
287
|
/**
|
|
236
288
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
237
289
|
*/
|
|
238
290
|
cookieName?: string | null;
|
|
291
|
+
/**
|
|
292
|
+
* User who created this settings record.
|
|
293
|
+
*/
|
|
239
294
|
createdByUserId?: string | null;
|
|
295
|
+
/**
|
|
296
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
297
|
+
*/
|
|
240
298
|
updatedAt?: string | null;
|
|
299
|
+
/**
|
|
300
|
+
* User who last updated this settings record.
|
|
301
|
+
*/
|
|
241
302
|
updatedByUserId?: string | null;
|
|
242
303
|
/**
|
|
243
304
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
244
305
|
* settings record are only served on these domains; the SDK refuses to load
|
|
245
306
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
246
|
-
* source
|
|
247
|
-
* CDP.
|
|
307
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
248
308
|
*/
|
|
249
309
|
whitelistDomains?: Array<string> | null;
|
|
250
310
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experiment-settings.d.mts","sourceRoot":"","sources":["../src/resources/experiment-settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/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KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -27,14 +27,19 @@ export declare class ExperimentSettings extends APIResource {
|
|
|
27
27
|
*/
|
|
28
28
|
create(body: ExperimentSettingCreateParams, options?: RequestOptions): APIPromise<ExperimentSettingCreateResponse>;
|
|
29
29
|
/**
|
|
30
|
-
* Find
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* Find an experiment settings record by ID, including its cookie name, public
|
|
31
|
+
* pixel token, and domain allowlist. Discover the ID with GET
|
|
32
|
+
* /rest/v1/experiment-settings. Returns 404 when the record is unavailable to this
|
|
33
|
+
* account; returns 403 when Experimentation is disabled for an otherwise
|
|
34
|
+
* authorized record. Requires API-key scope or current OAuth user permission:
|
|
35
|
+
* experimentSettings:find
|
|
33
36
|
*
|
|
34
37
|
* @example
|
|
35
38
|
* ```ts
|
|
36
39
|
* const experimentSetting =
|
|
37
|
-
* await client.experimentSettings.retrieve(
|
|
40
|
+
* await client.experimentSettings.retrieve(
|
|
41
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
42
|
+
* );
|
|
38
43
|
* ```
|
|
39
44
|
*/
|
|
40
45
|
retrieve(id: string, options?: RequestOptions): APIPromise<ExperimentSettingRetrieveResponse>;
|
|
@@ -81,29 +86,40 @@ export declare namespace ExperimentSettingListResponse {
|
|
|
81
86
|
* Account that owns this experiment settings record.
|
|
82
87
|
*/
|
|
83
88
|
accountId: string;
|
|
89
|
+
/**
|
|
90
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
91
|
+
*/
|
|
84
92
|
createdAt: string;
|
|
85
93
|
/**
|
|
86
94
|
* Human-readable name for this experimentation configuration.
|
|
87
95
|
*/
|
|
88
96
|
name: string;
|
|
89
97
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
98
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
99
|
+
* than this token, when creating an experiment.
|
|
92
100
|
*/
|
|
93
101
|
pixel: string;
|
|
94
102
|
/**
|
|
95
103
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
96
104
|
*/
|
|
97
105
|
cookieName?: string | null;
|
|
106
|
+
/**
|
|
107
|
+
* User who created this settings record.
|
|
108
|
+
*/
|
|
98
109
|
createdByUserId?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
112
|
+
*/
|
|
99
113
|
updatedAt?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* User who last updated this settings record.
|
|
116
|
+
*/
|
|
100
117
|
updatedByUserId?: string | null;
|
|
101
118
|
/**
|
|
102
119
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
103
120
|
* settings record are only served on these domains; the SDK refuses to load
|
|
104
121
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
105
|
-
* source
|
|
106
|
-
* CDP.
|
|
122
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
107
123
|
*/
|
|
108
124
|
whitelistDomains?: Array<string> | null;
|
|
109
125
|
}
|
|
@@ -117,29 +133,40 @@ export interface ExperimentSettingCreateResponse {
|
|
|
117
133
|
* Account that owns this experiment settings record.
|
|
118
134
|
*/
|
|
119
135
|
accountId: string;
|
|
136
|
+
/**
|
|
137
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
138
|
+
*/
|
|
120
139
|
createdAt: string;
|
|
121
140
|
/**
|
|
122
141
|
* Human-readable name for this experimentation configuration.
|
|
123
142
|
*/
|
|
124
143
|
name: string;
|
|
125
144
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
145
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
146
|
+
* than this token, when creating an experiment.
|
|
128
147
|
*/
|
|
129
148
|
pixel: string;
|
|
130
149
|
/**
|
|
131
150
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
132
151
|
*/
|
|
133
152
|
cookieName?: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* User who created this settings record.
|
|
155
|
+
*/
|
|
134
156
|
createdByUserId?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
159
|
+
*/
|
|
135
160
|
updatedAt?: string | null;
|
|
161
|
+
/**
|
|
162
|
+
* User who last updated this settings record.
|
|
163
|
+
*/
|
|
136
164
|
updatedByUserId?: string | null;
|
|
137
165
|
/**
|
|
138
166
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
139
167
|
* settings record are only served on these domains; the SDK refuses to load
|
|
140
168
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
141
|
-
* source
|
|
142
|
-
* CDP.
|
|
169
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
143
170
|
*/
|
|
144
171
|
whitelistDomains?: Array<string> | null;
|
|
145
172
|
}
|
|
@@ -152,29 +179,40 @@ export interface ExperimentSettingRetrieveResponse {
|
|
|
152
179
|
* Account that owns this experiment settings record.
|
|
153
180
|
*/
|
|
154
181
|
accountId: string;
|
|
182
|
+
/**
|
|
183
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
184
|
+
*/
|
|
155
185
|
createdAt: string;
|
|
156
186
|
/**
|
|
157
187
|
* Human-readable name for this experimentation configuration.
|
|
158
188
|
*/
|
|
159
189
|
name: string;
|
|
160
190
|
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
191
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
192
|
+
* than this token, when creating an experiment.
|
|
163
193
|
*/
|
|
164
194
|
pixel: string;
|
|
165
195
|
/**
|
|
166
196
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
167
197
|
*/
|
|
168
198
|
cookieName?: string | null;
|
|
199
|
+
/**
|
|
200
|
+
* User who created this settings record.
|
|
201
|
+
*/
|
|
169
202
|
createdByUserId?: string | null;
|
|
203
|
+
/**
|
|
204
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
205
|
+
*/
|
|
170
206
|
updatedAt?: string | null;
|
|
207
|
+
/**
|
|
208
|
+
* User who last updated this settings record.
|
|
209
|
+
*/
|
|
171
210
|
updatedByUserId?: string | null;
|
|
172
211
|
/**
|
|
173
212
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
174
213
|
* settings record are only served on these domains; the SDK refuses to load
|
|
175
214
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
176
|
-
* source
|
|
177
|
-
* CDP.
|
|
215
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
178
216
|
*/
|
|
179
217
|
whitelistDomains?: Array<string> | null;
|
|
180
218
|
}
|
|
@@ -187,29 +225,40 @@ export interface ExperimentSettingUpdateResponse {
|
|
|
187
225
|
* Account that owns this experiment settings record.
|
|
188
226
|
*/
|
|
189
227
|
accountId: string;
|
|
228
|
+
/**
|
|
229
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
230
|
+
*/
|
|
190
231
|
createdAt: string;
|
|
191
232
|
/**
|
|
192
233
|
* Human-readable name for this experimentation configuration.
|
|
193
234
|
*/
|
|
194
235
|
name: string;
|
|
195
236
|
/**
|
|
196
|
-
*
|
|
197
|
-
*
|
|
237
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
238
|
+
* than this token, when creating an experiment.
|
|
198
239
|
*/
|
|
199
240
|
pixel: string;
|
|
200
241
|
/**
|
|
201
242
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
202
243
|
*/
|
|
203
244
|
cookieName?: string | null;
|
|
245
|
+
/**
|
|
246
|
+
* User who created this settings record.
|
|
247
|
+
*/
|
|
204
248
|
createdByUserId?: string | null;
|
|
249
|
+
/**
|
|
250
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
251
|
+
*/
|
|
205
252
|
updatedAt?: string | null;
|
|
253
|
+
/**
|
|
254
|
+
* User who last updated this settings record.
|
|
255
|
+
*/
|
|
206
256
|
updatedByUserId?: string | null;
|
|
207
257
|
/**
|
|
208
258
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
209
259
|
* settings record are only served on these domains; the SDK refuses to load
|
|
210
260
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
211
|
-
* source
|
|
212
|
-
* CDP.
|
|
261
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
213
262
|
*/
|
|
214
263
|
whitelistDomains?: Array<string> | null;
|
|
215
264
|
}
|
|
@@ -222,29 +271,40 @@ export interface ExperimentSettingDeleteResponse {
|
|
|
222
271
|
* Account that owns this experiment settings record.
|
|
223
272
|
*/
|
|
224
273
|
accountId: string;
|
|
274
|
+
/**
|
|
275
|
+
* ISO 8601 timestamp when this settings record was created.
|
|
276
|
+
*/
|
|
225
277
|
createdAt: string;
|
|
226
278
|
/**
|
|
227
279
|
* Human-readable name for this experimentation configuration.
|
|
228
280
|
*/
|
|
229
281
|
name: string;
|
|
230
282
|
/**
|
|
231
|
-
*
|
|
232
|
-
*
|
|
283
|
+
* Public pixel token used by the experiments runtime. Use the settings id, rather
|
|
284
|
+
* than this token, when creating an experiment.
|
|
233
285
|
*/
|
|
234
286
|
pixel: string;
|
|
235
287
|
/**
|
|
236
288
|
* Cookie name used to persist sticky variant assignments in the browser.
|
|
237
289
|
*/
|
|
238
290
|
cookieName?: string | null;
|
|
291
|
+
/**
|
|
292
|
+
* User who created this settings record.
|
|
293
|
+
*/
|
|
239
294
|
createdByUserId?: string | null;
|
|
295
|
+
/**
|
|
296
|
+
* ISO 8601 timestamp when this settings record was last updated.
|
|
297
|
+
*/
|
|
240
298
|
updatedAt?: string | null;
|
|
299
|
+
/**
|
|
300
|
+
* User who last updated this settings record.
|
|
301
|
+
*/
|
|
241
302
|
updatedByUserId?: string | null;
|
|
242
303
|
/**
|
|
243
304
|
* Limits which domains can load your experiments. When set, experiments using this
|
|
244
305
|
* settings record are only served on these domains; the SDK refuses to load
|
|
245
306
|
* anywhere else and your experiments never run on those hosts. Separate from
|
|
246
|
-
* source
|
|
247
|
-
* CDP.
|
|
307
|
+
* source whitelistDomains, which limits which domains can send events to the CDP.
|
|
248
308
|
*/
|
|
249
309
|
whitelistDomains?: Array<string> | null;
|
|
250
310
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experiment-settings.d.ts","sourceRoot":"","sources":["../src/resources/experiment-settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;OAUG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIzE;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C
|
|
1
|
+
{"version":3,"file":"experiment-settings.d.ts","sourceRoot":"","sources":["../src/resources/experiment-settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;OAUG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIzE;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iCAAiC,CAAC;IAI7F;;;;;;;;;;OAUG;IACH,MAAM,CACJ,EAAE,EAAE,MAA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CAAC;CACzC;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -34,14 +34,19 @@ class ExperimentSettings extends resource_1.APIResource {
|
|
|
34
34
|
return this._client.post('/rest/v1/experiment-settings', { body, ...options });
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Find
|
|
38
|
-
*
|
|
39
|
-
*
|
|
37
|
+
* Find an experiment settings record by ID, including its cookie name, public
|
|
38
|
+
* pixel token, and domain allowlist. Discover the ID with GET
|
|
39
|
+
* /rest/v1/experiment-settings. Returns 404 when the record is unavailable to this
|
|
40
|
+
* account; returns 403 when Experimentation is disabled for an otherwise
|
|
41
|
+
* authorized record. Requires API-key scope or current OAuth user permission:
|
|
42
|
+
* experimentSettings:find
|
|
40
43
|
*
|
|
41
44
|
* @example
|
|
42
45
|
* ```ts
|
|
43
46
|
* const experimentSetting =
|
|
44
|
-
* await client.experimentSettings.retrieve(
|
|
47
|
+
* await client.experimentSettings.retrieve(
|
|
48
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
49
|
+
* );
|
|
45
50
|
* ```
|
|
46
51
|
*/
|
|
47
52
|
retrieve(id, options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experiment-settings.js","sourceRoot":"","sources":["../src/resources/experiment-settings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;;;OAUG;IACH,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AAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gCAAgC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;AAvFD,gDAuFC"}
|
|
@@ -31,14 +31,19 @@ export class ExperimentSettings extends APIResource {
|
|
|
31
31
|
return this._client.post('/rest/v1/experiment-settings', { body, ...options });
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* Find
|
|
35
|
-
*
|
|
36
|
-
*
|
|
34
|
+
* Find an experiment settings record by ID, including its cookie name, public
|
|
35
|
+
* pixel token, and domain allowlist. Discover the ID with GET
|
|
36
|
+
* /rest/v1/experiment-settings. Returns 404 when the record is unavailable to this
|
|
37
|
+
* account; returns 403 when Experimentation is disabled for an otherwise
|
|
38
|
+
* authorized record. Requires API-key scope or current OAuth user permission:
|
|
39
|
+
* experimentSettings:find
|
|
37
40
|
*
|
|
38
41
|
* @example
|
|
39
42
|
* ```ts
|
|
40
43
|
* const experimentSetting =
|
|
41
|
-
* await client.experimentSettings.retrieve(
|
|
44
|
+
* await client.experimentSettings.retrieve(
|
|
45
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
46
|
+
* );
|
|
42
47
|
* ```
|
|
43
48
|
*/
|
|
44
49
|
retrieve(id, options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experiment-settings.mjs","sourceRoot":"","sources":["../src/resources/experiment-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;OAUG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,C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