@oursprivacy/platform-sdk 1.56.0 → 1.58.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 (180) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +15 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +15 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -0
  9. package/client.mjs.map +1 -1
  10. package/internal/utils/log.d.mts.map +1 -1
  11. package/internal/utils/log.d.ts.map +1 -1
  12. package/internal/utils/log.js.map +1 -1
  13. package/internal/utils/log.mjs.map +1 -1
  14. package/package.json +4 -2
  15. package/resources/consent-settings.d.mts +90 -1
  16. package/resources/consent-settings.d.mts.map +1 -1
  17. package/resources/consent-settings.d.ts +90 -1
  18. package/resources/consent-settings.d.ts.map +1 -1
  19. package/resources/consent-settings.js +13 -0
  20. package/resources/consent-settings.js.map +1 -1
  21. package/resources/consent-settings.mjs +13 -0
  22. package/resources/consent-settings.mjs.map +1 -1
  23. package/resources/custom-domains.d.mts +10 -4
  24. package/resources/custom-domains.d.mts.map +1 -1
  25. package/resources/custom-domains.d.ts +10 -4
  26. package/resources/custom-domains.d.ts.map +1 -1
  27. package/resources/custom-domains.js +3 -2
  28. package/resources/custom-domains.js.map +1 -1
  29. package/resources/custom-domains.mjs +3 -2
  30. package/resources/custom-domains.mjs.map +1 -1
  31. package/resources/dashboards.d.mts +4737 -0
  32. package/resources/dashboards.d.mts.map +1 -0
  33. package/resources/dashboards.d.ts +4737 -0
  34. package/resources/dashboards.d.ts.map +1 -0
  35. package/resources/dashboards.js +124 -0
  36. package/resources/dashboards.js.map +1 -0
  37. package/resources/dashboards.mjs +120 -0
  38. package/resources/dashboards.mjs.map +1 -0
  39. package/resources/data-governance.d.mts +19 -26
  40. package/resources/data-governance.d.mts.map +1 -1
  41. package/resources/data-governance.d.ts +19 -26
  42. package/resources/data-governance.d.ts.map +1 -1
  43. package/resources/data-governance.js +14 -13
  44. package/resources/data-governance.js.map +1 -1
  45. package/resources/data-governance.mjs +14 -13
  46. package/resources/data-governance.mjs.map +1 -1
  47. package/resources/destinations.d.mts +7 -7
  48. package/resources/destinations.d.mts.map +1 -1
  49. package/resources/destinations.d.ts +7 -7
  50. package/resources/destinations.d.ts.map +1 -1
  51. package/resources/experiment-settings.d.mts +84 -24
  52. package/resources/experiment-settings.d.mts.map +1 -1
  53. package/resources/experiment-settings.d.ts +84 -24
  54. package/resources/experiment-settings.d.ts.map +1 -1
  55. package/resources/experiment-settings.js +9 -4
  56. package/resources/experiment-settings.js.map +1 -1
  57. package/resources/experiment-settings.mjs +9 -4
  58. package/resources/experiment-settings.mjs.map +1 -1
  59. package/resources/experiments.d.mts +40 -40
  60. package/resources/experiments.d.mts.map +1 -1
  61. package/resources/experiments.d.ts +40 -40
  62. package/resources/experiments.d.ts.map +1 -1
  63. package/resources/funnels.d.mts +64 -7
  64. package/resources/funnels.d.mts.map +1 -1
  65. package/resources/funnels.d.ts +64 -7
  66. package/resources/funnels.d.ts.map +1 -1
  67. package/resources/funnels.js +2 -1
  68. package/resources/funnels.js.map +1 -1
  69. package/resources/funnels.mjs +2 -1
  70. package/resources/funnels.mjs.map +1 -1
  71. package/resources/index.d.mts +6 -3
  72. package/resources/index.d.mts.map +1 -1
  73. package/resources/index.d.ts +6 -3
  74. package/resources/index.d.ts.map +1 -1
  75. package/resources/index.js +7 -1
  76. package/resources/index.js.map +1 -1
  77. package/resources/index.mjs +3 -0
  78. package/resources/index.mjs.map +1 -1
  79. package/resources/insights.d.mts +1152 -0
  80. package/resources/insights.d.mts.map +1 -0
  81. package/resources/insights.d.ts +1152 -0
  82. package/resources/insights.d.ts.map +1 -0
  83. package/resources/insights.js +81 -0
  84. package/resources/insights.js.map +1 -0
  85. package/resources/insights.mjs +77 -0
  86. package/resources/insights.mjs.map +1 -0
  87. package/resources/journey-flows.d.mts +214 -17
  88. package/resources/journey-flows.d.mts.map +1 -1
  89. package/resources/journey-flows.d.ts +214 -17
  90. package/resources/journey-flows.d.ts.map +1 -1
  91. package/resources/journey-flows.js +17 -13
  92. package/resources/journey-flows.js.map +1 -1
  93. package/resources/journey-flows.mjs +17 -13
  94. package/resources/journey-flows.mjs.map +1 -1
  95. package/resources/replay-settings.d.mts +3 -2
  96. package/resources/replay-settings.d.mts.map +1 -1
  97. package/resources/replay-settings.d.ts +3 -2
  98. package/resources/replay-settings.d.ts.map +1 -1
  99. package/resources/replay-settings.js +3 -2
  100. package/resources/replay-settings.js.map +1 -1
  101. package/resources/replay-settings.mjs +3 -2
  102. package/resources/replay-settings.mjs.map +1 -1
  103. package/resources/report-branding.d.mts +157 -0
  104. package/resources/report-branding.d.mts.map +1 -0
  105. package/resources/report-branding.d.ts +157 -0
  106. package/resources/report-branding.d.ts.map +1 -0
  107. package/resources/report-branding.js +39 -0
  108. package/resources/report-branding.js.map +1 -0
  109. package/resources/report-branding.mjs +35 -0
  110. package/resources/report-branding.mjs.map +1 -0
  111. package/resources/tag-manager-triggers.d.mts +46 -4
  112. package/resources/tag-manager-triggers.d.mts.map +1 -1
  113. package/resources/tag-manager-triggers.d.ts +46 -4
  114. package/resources/tag-manager-triggers.d.ts.map +1 -1
  115. package/resources/tag-manager-triggers.js +6 -4
  116. package/resources/tag-manager-triggers.js.map +1 -1
  117. package/resources/tag-manager-triggers.mjs +6 -4
  118. package/resources/tag-manager-triggers.mjs.map +1 -1
  119. package/resources/tag-manager-variables.d.mts +25 -13
  120. package/resources/tag-manager-variables.d.mts.map +1 -1
  121. package/resources/tag-manager-variables.d.ts +25 -13
  122. package/resources/tag-manager-variables.d.ts.map +1 -1
  123. package/resources/tag-manager-variables.js +9 -4
  124. package/resources/tag-manager-variables.js.map +1 -1
  125. package/resources/tag-manager-variables.mjs +9 -4
  126. package/resources/tag-manager-variables.mjs.map +1 -1
  127. package/resources/tag-managers.d.mts +17 -1
  128. package/resources/tag-managers.d.mts.map +1 -1
  129. package/resources/tag-managers.d.ts +17 -1
  130. package/resources/tag-managers.d.ts.map +1 -1
  131. package/resources/tag-managers.js +10 -0
  132. package/resources/tag-managers.js.map +1 -1
  133. package/resources/tag-managers.mjs +10 -0
  134. package/resources/tag-managers.mjs.map +1 -1
  135. package/resources/test-events.d.mts +18 -13
  136. package/resources/test-events.d.mts.map +1 -1
  137. package/resources/test-events.d.ts +18 -13
  138. package/resources/test-events.d.ts.map +1 -1
  139. package/resources/web-analytics.d.mts +91 -39
  140. package/resources/web-analytics.d.mts.map +1 -1
  141. package/resources/web-analytics.d.ts +91 -39
  142. package/resources/web-analytics.d.ts.map +1 -1
  143. package/resources/web-analytics.js +11 -0
  144. package/resources/web-analytics.js.map +1 -1
  145. package/resources/web-analytics.mjs +11 -0
  146. package/resources/web-analytics.mjs.map +1 -1
  147. package/resources/web-scanners.d.mts +3 -2
  148. package/resources/web-scanners.d.mts.map +1 -1
  149. package/resources/web-scanners.d.ts +3 -2
  150. package/resources/web-scanners.d.ts.map +1 -1
  151. package/resources/web-scanners.js +3 -2
  152. package/resources/web-scanners.js.map +1 -1
  153. package/resources/web-scanners.mjs +3 -2
  154. package/resources/web-scanners.mjs.map +1 -1
  155. package/src/client.ts +118 -3
  156. package/src/internal/utils/log.ts +1 -3
  157. package/src/resources/consent-settings.ts +117 -0
  158. package/src/resources/custom-domains.ts +14 -4
  159. package/src/resources/dashboards.ts +8757 -0
  160. package/src/resources/data-governance.ts +19 -26
  161. package/src/resources/destinations.ts +9 -2
  162. package/src/resources/experiment-settings.ts +84 -24
  163. package/src/resources/experiments.ts +40 -40
  164. package/src/resources/funnels.ts +64 -7
  165. package/src/resources/index.ts +54 -0
  166. package/src/resources/insights.ts +1976 -0
  167. package/src/resources/journey-flows.ts +214 -17
  168. package/src/resources/replay-settings.ts +3 -2
  169. package/src/resources/report-branding.ts +207 -0
  170. package/src/resources/tag-manager-triggers.ts +55 -4
  171. package/src/resources/tag-manager-variables.ts +25 -13
  172. package/src/resources/tag-managers.ts +21 -0
  173. package/src/resources/test-events.ts +18 -13
  174. package/src/resources/web-analytics.ts +137 -38
  175. package/src/resources/web-scanners.ts +3 -2
  176. package/src/version.ts +1 -1
  177. package/version.d.mts +1 -1
  178. package/version.d.ts +1 -1
  179. package/version.js +1 -1
  180. package/version.mjs +1 -1
@@ -8,14 +8,13 @@ import { path } from '../internal/utils/path';
8
8
 
9
9
  export class DataGovernance extends APIResource {
10
10
  /**
11
- * List the data-governance record(s) on this account. Each account has at most one
12
- * record, so this list returns either an empty array or a single entity. Cursor
13
- * pagination is exposed for consistency with other list endpoints but is rarely
14
- * meaningful here. Data governance is the second stage of the dispatch flow
15
- * (Source → Allowed Events → Data Governance → Mappings → Destination) — it
16
- * evaluates each event against the configured category logic and stops dispatch to
17
- * the destinations on any matching category. Requires API-key scope or current
18
- * OAuth user permission: globalDispatch:list
11
+ * List data-governance records as { entities, pagination }. Supports limit and
12
+ * cursor; pass pagination.nextCursor to retrieve the next page. Records are
13
+ * ordered newest first, with stable id ordering for equal creation times. Each
14
+ * account currently has at most one record, so entities is empty or contains one
15
+ * record. Categories stop dispatch to their destinationIds when their logic
16
+ * matches. Requires API-key scope or current OAuth user permission:
17
+ * globalDispatch:list
19
18
  */
20
19
  list(
21
20
  query: DataGovernanceListParams | null | undefined = {},
@@ -42,10 +41,11 @@ export class DataGovernance extends APIResource {
42
41
 
43
42
  /**
44
43
  * Fetch the data-governance record by id, including its categories (logic,
45
- * destinations, priority). Returns 404 when no record matches. Requires API-key
46
- * scope or current OAuth user permission: globalDispatch:find
44
+ * destinations, priority). Returns the same 404 when the record is missing or
45
+ * inaccessible. Requires API-key scope or current OAuth user permission:
46
+ * globalDispatch:find
47
47
  */
48
- retrieve(id: string, options?: RequestOptions): APIPromise<DataGovernanceRetrieveResponse | null> {
48
+ retrieve(id: string, options?: RequestOptions): APIPromise<DataGovernanceRetrieveResponse> {
49
49
  return this._client.get(path`/rest/v1/data-governance/${id}`, options);
50
50
  }
51
51
 
@@ -74,9 +74,10 @@ export class DataGovernance extends APIResource {
74
74
  }
75
75
 
76
76
  /**
77
- * Delete the data-governance record. After deletion, inbound events flow through
78
- * to destinations without category-level gating. Create a new record with POST to
79
- * reinstate governance. Requires API-key scope or current OAuth user permission:
77
+ * Delete the data-governance record from the draft. Publish a version for inbound
78
+ * events to flow through without category-level gating. Create a new record with
79
+ * POST to reinstate governance. Returns the same 404 when the record is missing or
80
+ * inaccessible. Requires API-key scope or current OAuth user permission:
80
81
  * globalDispatch:delete
81
82
  */
82
83
  delete(id: string, options?: RequestOptions): APIPromise<DataGovernanceDeleteResponse> {
@@ -104,9 +105,7 @@ export interface DataGovernanceListResponse {
104
105
  isEnabled: boolean;
105
106
 
106
107
  /**
107
- * Discriminator for the entity type. Always "dataGovernance" on the REST surface.
108
- * The underlying storage discriminator is "globalDispatchCenter" — REST translates
109
- * it on the way out.
108
+ * Discriminator for this resource. Always "dataGovernance".
110
109
  */
111
110
  kind: string;
112
111
 
@@ -305,9 +304,7 @@ export interface DataGovernanceCreateResponse {
305
304
  isEnabled: boolean;
306
305
 
307
306
  /**
308
- * Discriminator for the entity type. Always "dataGovernance" on the REST surface.
309
- * The underlying storage discriminator is "globalDispatchCenter" — REST translates
310
- * it on the way out.
307
+ * Discriminator for this resource. Always "dataGovernance".
311
308
  */
312
309
  kind: string;
313
310
 
@@ -506,9 +503,7 @@ export interface DataGovernanceRetrieveResponse {
506
503
  isEnabled: boolean;
507
504
 
508
505
  /**
509
- * Discriminator for the entity type. Always "dataGovernance" on the REST surface.
510
- * The underlying storage discriminator is "globalDispatchCenter" — REST translates
511
- * it on the way out.
506
+ * Discriminator for this resource. Always "dataGovernance".
512
507
  */
513
508
  kind: string;
514
509
 
@@ -707,9 +702,7 @@ export interface DataGovernanceUpdateResponse {
707
702
  isEnabled: boolean;
708
703
 
709
704
  /**
710
- * Discriminator for the entity type. Always "dataGovernance" on the REST surface.
711
- * The underlying storage discriminator is "globalDispatchCenter" — REST translates
712
- * it on the way out.
705
+ * Discriminator for this resource. Always "dataGovernance".
713
706
  */
714
707
  kind: string;
715
708
 
@@ -181,6 +181,7 @@ export interface DestinationListResponse {
181
181
  | 'TatariCAPI'
182
182
  | 'TheTradeDesk'
183
183
  | 'TikTok'
184
+ | 'Trybe'
184
185
  | 'UniversalAds'
185
186
  | 'VWO'
186
187
  | 'Viant'
@@ -304,6 +305,7 @@ export interface DestinationCreateResponse {
304
305
  | 'TatariCAPI'
305
306
  | 'TheTradeDesk'
306
307
  | 'TikTok'
308
+ | 'Trybe'
307
309
  | 'UniversalAds'
308
310
  | 'VWO'
309
311
  | 'Viant'
@@ -427,6 +429,7 @@ export interface DestinationRetrieveResponse {
427
429
  | 'TatariCAPI'
428
430
  | 'TheTradeDesk'
429
431
  | 'TikTok'
432
+ | 'Trybe'
430
433
  | 'UniversalAds'
431
434
  | 'VWO'
432
435
  | 'Viant'
@@ -550,6 +553,7 @@ export interface DestinationUpdateResponse {
550
553
  | 'TatariCAPI'
551
554
  | 'TheTradeDesk'
552
555
  | 'TikTok'
556
+ | 'Trybe'
553
557
  | 'UniversalAds'
554
558
  | 'VWO'
555
559
  | 'Viant'
@@ -666,7 +670,8 @@ export namespace DestinationTypesResponse {
666
670
  | 'Rokt'
667
671
  | 'Fullstory'
668
672
  | 'GravityCAPI'
669
- | 'LeadSquared';
673
+ | 'LeadSquared'
674
+ | 'Trybe';
670
675
 
671
676
  capabilities: Entity.Capabilities;
672
677
 
@@ -911,6 +916,7 @@ export interface DestinationListParams extends CursorParams {
911
916
  | 'TatariCAPI'
912
917
  | 'TheTradeDesk'
913
918
  | 'TikTok'
919
+ | 'Trybe'
914
920
  | 'UniversalAds'
915
921
  | 'VWO'
916
922
  | 'Viant'
@@ -1015,7 +1021,8 @@ export interface DestinationCreateParams {
1015
1021
  | 'Rokt'
1016
1022
  | 'Fullstory'
1017
1023
  | 'GravityCAPI'
1018
- | 'LeadSquared';
1024
+ | 'LeadSquared'
1025
+ | 'Trybe';
1019
1026
 
1020
1027
  /**
1021
1028
  * Restrict dispatch to these source IDs. Omit on create or send `null` to accept
@@ -40,14 +40,19 @@ export class ExperimentSettings extends APIResource {
40
40
  }
41
41
 
42
42
  /**
43
- * Find a single experiment settings record by ID. Returns 404 when no record
44
- * matches the supplied id. Requires API-key scope or current OAuth user
45
- * permission: experimentSettings:find
43
+ * Find an experiment settings record by ID, including its cookie name, public
44
+ * pixel token, and domain allowlist. Discover the ID with GET
45
+ * /rest/v1/experiment-settings. Returns 404 when the record is unavailable to this
46
+ * account; returns 403 when Experimentation is disabled for an otherwise
47
+ * authorized record. Requires API-key scope or current OAuth user permission:
48
+ * experimentSettings:find
46
49
  *
47
50
  * @example
48
51
  * ```ts
49
52
  * const experimentSetting =
50
- * await client.experimentSettings.retrieve('id');
53
+ * await client.experimentSettings.retrieve(
54
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
55
+ * );
51
56
  * ```
52
57
  */
53
58
  retrieve(id: string, options?: RequestOptions): APIPromise<ExperimentSettingRetrieveResponse> {
@@ -110,6 +115,9 @@ export namespace ExperimentSettingListResponse {
110
115
  */
111
116
  accountId: string;
112
117
 
118
+ /**
119
+ * ISO 8601 timestamp when this settings record was created.
120
+ */
113
121
  createdAt: string;
114
122
 
115
123
  /**
@@ -118,8 +126,8 @@ export namespace ExperimentSettingListResponse {
118
126
  name: string;
119
127
 
120
128
  /**
121
- * Pixel token used by the experiments runtime and CDN configuration. This is
122
- * informative for REST clients; use the settings `id` for createExperiment.
129
+ * Public pixel token used by the experiments runtime. Use the settings id, rather
130
+ * than this token, when creating an experiment.
123
131
  */
124
132
  pixel: string;
125
133
 
@@ -128,18 +136,26 @@ export namespace ExperimentSettingListResponse {
128
136
  */
129
137
  cookieName?: string | null;
130
138
 
139
+ /**
140
+ * User who created this settings record.
141
+ */
131
142
  createdByUserId?: string | null;
132
143
 
144
+ /**
145
+ * ISO 8601 timestamp when this settings record was last updated.
146
+ */
133
147
  updatedAt?: string | null;
134
148
 
149
+ /**
150
+ * User who last updated this settings record.
151
+ */
135
152
  updatedByUserId?: string | null;
136
153
 
137
154
  /**
138
155
  * Limits which domains can load your experiments. When set, experiments using this
139
156
  * settings record are only served on these domains; the SDK refuses to load
140
157
  * anywhere else and your experiments never run on those hosts. Separate from
141
- * source `whitelistDomains`, which limits which domains can send events to the
142
- * CDP.
158
+ * source whitelistDomains, which limits which domains can send events to the CDP.
143
159
  */
144
160
  whitelistDomains?: Array<string> | null;
145
161
  }
@@ -156,6 +172,9 @@ export interface ExperimentSettingCreateResponse {
156
172
  */
157
173
  accountId: string;
158
174
 
175
+ /**
176
+ * ISO 8601 timestamp when this settings record was created.
177
+ */
159
178
  createdAt: string;
160
179
 
161
180
  /**
@@ -164,8 +183,8 @@ export interface ExperimentSettingCreateResponse {
164
183
  name: string;
165
184
 
166
185
  /**
167
- * Pixel token used by the experiments runtime and CDN configuration. This is
168
- * informative for REST clients; use the settings `id` for createExperiment.
186
+ * Public pixel token used by the experiments runtime. Use the settings id, rather
187
+ * than this token, when creating an experiment.
169
188
  */
170
189
  pixel: string;
171
190
 
@@ -174,18 +193,26 @@ export interface ExperimentSettingCreateResponse {
174
193
  */
175
194
  cookieName?: string | null;
176
195
 
196
+ /**
197
+ * User who created this settings record.
198
+ */
177
199
  createdByUserId?: string | null;
178
200
 
201
+ /**
202
+ * ISO 8601 timestamp when this settings record was last updated.
203
+ */
179
204
  updatedAt?: string | null;
180
205
 
206
+ /**
207
+ * User who last updated this settings record.
208
+ */
181
209
  updatedByUserId?: string | null;
182
210
 
183
211
  /**
184
212
  * Limits which domains can load your experiments. When set, experiments using this
185
213
  * settings record are only served on these domains; the SDK refuses to load
186
214
  * anywhere else and your experiments never run on those hosts. Separate from
187
- * source `whitelistDomains`, which limits which domains can send events to the
188
- * CDP.
215
+ * source whitelistDomains, which limits which domains can send events to the CDP.
189
216
  */
190
217
  whitelistDomains?: Array<string> | null;
191
218
  }
@@ -201,6 +228,9 @@ export interface ExperimentSettingRetrieveResponse {
201
228
  */
202
229
  accountId: string;
203
230
 
231
+ /**
232
+ * ISO 8601 timestamp when this settings record was created.
233
+ */
204
234
  createdAt: string;
205
235
 
206
236
  /**
@@ -209,8 +239,8 @@ export interface ExperimentSettingRetrieveResponse {
209
239
  name: string;
210
240
 
211
241
  /**
212
- * Pixel token used by the experiments runtime and CDN configuration. This is
213
- * informative for REST clients; use the settings `id` for createExperiment.
242
+ * Public pixel token used by the experiments runtime. Use the settings id, rather
243
+ * than this token, when creating an experiment.
214
244
  */
215
245
  pixel: string;
216
246
 
@@ -219,18 +249,26 @@ export interface ExperimentSettingRetrieveResponse {
219
249
  */
220
250
  cookieName?: string | null;
221
251
 
252
+ /**
253
+ * User who created this settings record.
254
+ */
222
255
  createdByUserId?: string | null;
223
256
 
257
+ /**
258
+ * ISO 8601 timestamp when this settings record was last updated.
259
+ */
224
260
  updatedAt?: string | null;
225
261
 
262
+ /**
263
+ * User who last updated this settings record.
264
+ */
226
265
  updatedByUserId?: string | null;
227
266
 
228
267
  /**
229
268
  * Limits which domains can load your experiments. When set, experiments using this
230
269
  * settings record are only served on these domains; the SDK refuses to load
231
270
  * anywhere else and your experiments never run on those hosts. Separate from
232
- * source `whitelistDomains`, which limits which domains can send events to the
233
- * CDP.
271
+ * source whitelistDomains, which limits which domains can send events to the CDP.
234
272
  */
235
273
  whitelistDomains?: Array<string> | null;
236
274
  }
@@ -246,6 +284,9 @@ export interface ExperimentSettingUpdateResponse {
246
284
  */
247
285
  accountId: string;
248
286
 
287
+ /**
288
+ * ISO 8601 timestamp when this settings record was created.
289
+ */
249
290
  createdAt: string;
250
291
 
251
292
  /**
@@ -254,8 +295,8 @@ export interface ExperimentSettingUpdateResponse {
254
295
  name: string;
255
296
 
256
297
  /**
257
- * Pixel token used by the experiments runtime and CDN configuration. This is
258
- * informative for REST clients; use the settings `id` for createExperiment.
298
+ * Public pixel token used by the experiments runtime. Use the settings id, rather
299
+ * than this token, when creating an experiment.
259
300
  */
260
301
  pixel: string;
261
302
 
@@ -264,18 +305,26 @@ export interface ExperimentSettingUpdateResponse {
264
305
  */
265
306
  cookieName?: string | null;
266
307
 
308
+ /**
309
+ * User who created this settings record.
310
+ */
267
311
  createdByUserId?: string | null;
268
312
 
313
+ /**
314
+ * ISO 8601 timestamp when this settings record was last updated.
315
+ */
269
316
  updatedAt?: string | null;
270
317
 
318
+ /**
319
+ * User who last updated this settings record.
320
+ */
271
321
  updatedByUserId?: string | null;
272
322
 
273
323
  /**
274
324
  * Limits which domains can load your experiments. When set, experiments using this
275
325
  * settings record are only served on these domains; the SDK refuses to load
276
326
  * anywhere else and your experiments never run on those hosts. Separate from
277
- * source `whitelistDomains`, which limits which domains can send events to the
278
- * CDP.
327
+ * source whitelistDomains, which limits which domains can send events to the CDP.
279
328
  */
280
329
  whitelistDomains?: Array<string> | null;
281
330
  }
@@ -291,6 +340,9 @@ export interface ExperimentSettingDeleteResponse {
291
340
  */
292
341
  accountId: string;
293
342
 
343
+ /**
344
+ * ISO 8601 timestamp when this settings record was created.
345
+ */
294
346
  createdAt: string;
295
347
 
296
348
  /**
@@ -299,8 +351,8 @@ export interface ExperimentSettingDeleteResponse {
299
351
  name: string;
300
352
 
301
353
  /**
302
- * Pixel token used by the experiments runtime and CDN configuration. This is
303
- * informative for REST clients; use the settings `id` for createExperiment.
354
+ * Public pixel token used by the experiments runtime. Use the settings id, rather
355
+ * than this token, when creating an experiment.
304
356
  */
305
357
  pixel: string;
306
358
 
@@ -309,18 +361,26 @@ export interface ExperimentSettingDeleteResponse {
309
361
  */
310
362
  cookieName?: string | null;
311
363
 
364
+ /**
365
+ * User who created this settings record.
366
+ */
312
367
  createdByUserId?: string | null;
313
368
 
369
+ /**
370
+ * ISO 8601 timestamp when this settings record was last updated.
371
+ */
314
372
  updatedAt?: string | null;
315
373
 
374
+ /**
375
+ * User who last updated this settings record.
376
+ */
316
377
  updatedByUserId?: string | null;
317
378
 
318
379
  /**
319
380
  * Limits which domains can load your experiments. When set, experiments using this
320
381
  * settings record are only served on these domains; the SDK refuses to load
321
382
  * anywhere else and your experiments never run on those hosts. Separate from
322
- * source `whitelistDomains`, which limits which domains can send events to the
323
- * CDP.
383
+ * source whitelistDomains, which limits which domains can send events to the CDP.
324
384
  */
325
385
  whitelistDomains?: Array<string> | null;
326
386
  }