@oursprivacy/platform-sdk 1.12.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +35 -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 +653 -0
- package/resources/experiment-variants.d.mts.map +1 -0
- package/resources/experiment-variants.d.ts +653 -0
- package/resources/experiment-variants.d.ts.map +1 -0
- package/resources/experiment-variants.js +86 -0
- package/resources/experiment-variants.js.map +1 -0
- package/resources/experiment-variants.mjs +82 -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 +138 -0
- package/resources/mappings.d.mts.map +1 -0
- package/resources/mappings.d.ts +138 -0
- package/resources/mappings.d.ts.map +1 -0
- package/resources/mappings.js +45 -0
- package/resources/mappings.js.map +1 -0
- package/resources/mappings.mjs +41 -0
- package/resources/mappings.mjs.map +1 -0
- package/resources/replay-settings.d.mts +48 -48
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +48 -48
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.js +13 -8
- package/resources/replay-settings.js.map +1 -1
- package/resources/replay-settings.mjs +13 -8
- 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 +210 -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 +868 -0
- package/src/resources/experiments.ts +2446 -0
- package/src/resources/global-dispatch-centers.ts +155 -65
- package/src/resources/index.ts +77 -7
- package/src/resources/mappings.ts +236 -0
- package/src/resources/replay-settings.ts +67 -59
- 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
package/resources/versions.d.ts
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.js";
|
|
3
4
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
5
|
export declare class Versions extends APIResource {
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
+
* List versions for this account, newest first. Supports cursor pagination and
|
|
8
|
+
* filtering by `isPublished`, `nameContains`, and `notesContains`. Combine filters
|
|
9
|
+
* with AND semantics. Requires scope: version:list
|
|
10
|
+
*/
|
|
11
|
+
list(query?: VersionListParams | null | undefined, options?: RequestOptions): PagePromise<VersionListResponsesCursor, VersionListResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* Publish the current draft (i.e. all unpublished entity changes) as a new
|
|
14
|
+
* version. Returns the full Version on success. Returns HTTP 409 with the reason
|
|
15
|
+
* in the response `error` field when there are no draft changes to publish, when
|
|
16
|
+
* another publish is already in flight, or when the action otherwise conflicts
|
|
17
|
+
* with current state. To re-publish an existing version, use POST
|
|
18
|
+
* /rest/v1/versions/{id}/publish instead. Requires scope: version:publish
|
|
7
19
|
*/
|
|
8
20
|
create(body: VersionCreateParams, options?: RequestOptions): APIPromise<VersionCreateResponse>;
|
|
9
21
|
/**
|
|
@@ -11,17 +23,65 @@ export declare class Versions extends APIResource {
|
|
|
11
23
|
*/
|
|
12
24
|
retrieve(id: string, options?: RequestOptions): APIPromise<VersionRetrieveResponse>;
|
|
13
25
|
/**
|
|
14
|
-
*
|
|
26
|
+
* Partially update a version. Only the fields you send are changed. Requires
|
|
27
|
+
* scope: version:update
|
|
15
28
|
*/
|
|
16
29
|
update(id: string, body: VersionUpdateParams, options?: RequestOptions): APIPromise<VersionUpdateResponse>;
|
|
17
30
|
/**
|
|
18
|
-
*
|
|
31
|
+
* Re-publish an existing (previously created) version by ID. Use this to roll back
|
|
32
|
+
* to an older snapshot. Returns 409 if the version is already published, was
|
|
33
|
+
* created more than 45 days ago, or another publish is already in flight. To
|
|
34
|
+
* create-and-publish from current draft state, use POST /rest/v1/versions instead.
|
|
35
|
+
* Requires scope: version:publish
|
|
36
|
+
*/
|
|
37
|
+
publish(id: string, options?: RequestOptions): APIPromise<VersionPublishResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Retrieve the full JSON snapshot captured by a version — every entity
|
|
40
|
+
* (destinations, sources, mappings, consent settings, etc.) as it existed when
|
|
41
|
+
* this version was published. Sensitive fields (API keys, tokens, secrets) are
|
|
42
|
+
* redacted. Useful for IaC export, audit, and backup workflows. Requires scope:
|
|
43
|
+
* version:find
|
|
19
44
|
*/
|
|
20
|
-
|
|
45
|
+
snapshot(id: string, options?: RequestOptions): APIPromise<VersionSnapshotResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Compare the current draft (all unpublished entity changes) against the latest
|
|
48
|
+
* published version. Returns added/removed/modified entities grouped by
|
|
49
|
+
* collection, plus a total `count`. Use this to preview what would be included in
|
|
50
|
+
* a `POST /rest/v1/versions` call. The path segment `draft` is a literal — there
|
|
51
|
+
* is no version with that ID; it identifies the comparison target. Requires scope:
|
|
52
|
+
* version:find
|
|
53
|
+
*/
|
|
54
|
+
diff(id: 'draft', options?: RequestOptions): APIPromise<VersionDiffResponse>;
|
|
55
|
+
}
|
|
56
|
+
export type VersionListResponsesCursor = Cursor<VersionListResponse>;
|
|
57
|
+
export interface VersionListResponse {
|
|
58
|
+
id: string;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
isPublished: boolean;
|
|
61
|
+
versionNumber: number;
|
|
62
|
+
name?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* When this version was most recently published. NOT cleared when a newer version
|
|
65
|
+
* is published — `publishedAt` reflects the most recent successful publish of this
|
|
66
|
+
* row, regardless of whether `isPublished` is currently true. Use `isPublished` to
|
|
67
|
+
* determine the current live version.
|
|
68
|
+
*/
|
|
69
|
+
publishedAt?: string | null;
|
|
21
70
|
}
|
|
22
71
|
export interface VersionCreateResponse {
|
|
23
|
-
|
|
24
|
-
|
|
72
|
+
id: string;
|
|
73
|
+
createdAt: string;
|
|
74
|
+
isPublished: boolean;
|
|
75
|
+
versionNumber: number;
|
|
76
|
+
name?: string | null;
|
|
77
|
+
notes?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* When this version was most recently published. NOT cleared when a newer version
|
|
80
|
+
* is published — `publishedAt` reflects the most recent successful publish of this
|
|
81
|
+
* row, regardless of whether `isPublished` is currently true. Use `isPublished` to
|
|
82
|
+
* determine the current live version.
|
|
83
|
+
*/
|
|
84
|
+
publishedAt?: string | null;
|
|
25
85
|
}
|
|
26
86
|
export interface VersionRetrieveResponse {
|
|
27
87
|
id: string;
|
|
@@ -30,6 +90,12 @@ export interface VersionRetrieveResponse {
|
|
|
30
90
|
versionNumber: number;
|
|
31
91
|
name?: string | null;
|
|
32
92
|
notes?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* When this version was most recently published. NOT cleared when a newer version
|
|
95
|
+
* is published — `publishedAt` reflects the most recent successful publish of this
|
|
96
|
+
* row, regardless of whether `isPublished` is currently true. Use `isPublished` to
|
|
97
|
+
* determine the current live version.
|
|
98
|
+
*/
|
|
33
99
|
publishedAt?: string | null;
|
|
34
100
|
}
|
|
35
101
|
export interface VersionUpdateResponse {
|
|
@@ -39,19 +105,679 @@ export interface VersionUpdateResponse {
|
|
|
39
105
|
versionNumber: number;
|
|
40
106
|
name?: string | null;
|
|
41
107
|
notes?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* When this version was most recently published. NOT cleared when a newer version
|
|
110
|
+
* is published — `publishedAt` reflects the most recent successful publish of this
|
|
111
|
+
* row, regardless of whether `isPublished` is currently true. Use `isPublished` to
|
|
112
|
+
* determine the current live version.
|
|
113
|
+
*/
|
|
114
|
+
publishedAt?: string | null;
|
|
115
|
+
}
|
|
116
|
+
export interface VersionPublishResponse {
|
|
117
|
+
id: string;
|
|
118
|
+
createdAt: string;
|
|
119
|
+
isPublished: boolean;
|
|
120
|
+
versionNumber: number;
|
|
121
|
+
name?: string | null;
|
|
122
|
+
notes?: string | null;
|
|
123
|
+
/**
|
|
124
|
+
* When this version was most recently published. NOT cleared when a newer version
|
|
125
|
+
* is published — `publishedAt` reflects the most recent successful publish of this
|
|
126
|
+
* row, regardless of whether `isPublished` is currently true. Use `isPublished` to
|
|
127
|
+
* determine the current live version.
|
|
128
|
+
*/
|
|
42
129
|
publishedAt?: string | null;
|
|
43
130
|
}
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
131
|
+
export interface VersionSnapshotResponse {
|
|
132
|
+
id: string;
|
|
133
|
+
/**
|
|
134
|
+
* The full entity snapshot captured by this version. Keys are entity collection
|
|
135
|
+
* names (destinations, sources, allowedEvents, mappings, consentSettings,
|
|
136
|
+
* replaySettings, globalDispatchCenters, etc.) and values are arrays of the
|
|
137
|
+
* entities as they existed at publish time. Sensitive fields (API keys, tokens,
|
|
138
|
+
* secrets) are redacted. Returns null when the version snapshot has been pruned.
|
|
139
|
+
*/
|
|
140
|
+
jsonContent: {
|
|
141
|
+
[key: string]: unknown;
|
|
142
|
+
};
|
|
143
|
+
versionNumber: number;
|
|
144
|
+
}
|
|
145
|
+
export interface VersionDiffResponse {
|
|
146
|
+
/**
|
|
147
|
+
* Total number of differences across all entity collections. Equals the sum of
|
|
148
|
+
* `added + removed + modified` across every collection in `differences`.
|
|
149
|
+
*/
|
|
150
|
+
count: number;
|
|
151
|
+
differences: VersionDiffResponse.Differences;
|
|
152
|
+
}
|
|
153
|
+
export declare namespace VersionDiffResponse {
|
|
154
|
+
interface Differences {
|
|
155
|
+
allowedEvents: Differences.AllowedEvents;
|
|
156
|
+
consentSettings: Differences.ConsentSettings;
|
|
157
|
+
dataGovernanceEvents: Differences.DataGovernanceEvents;
|
|
158
|
+
dataGovernanceRules: Differences.DataGovernanceRules;
|
|
159
|
+
destinations: Differences.Destinations;
|
|
160
|
+
experiments: Differences.Experiments;
|
|
161
|
+
experimentSettings: Differences.ExperimentSettings;
|
|
162
|
+
experimentVariants: Differences.ExperimentVariants;
|
|
163
|
+
externalAllowedEventData: Differences.ExternalAllowedEventData;
|
|
164
|
+
globalDispatchCenters: Differences.GlobalDispatchCenters;
|
|
165
|
+
mappings: Differences.Mappings;
|
|
166
|
+
replaySettings: Differences.ReplaySettings;
|
|
167
|
+
sources: Differences.Sources;
|
|
168
|
+
tagManagerTags: Differences.TagManagerTags;
|
|
169
|
+
tagManagerTriggers: Differences.TagManagerTriggers;
|
|
170
|
+
tagManagerVariables: Differences.TagManagerVariables;
|
|
171
|
+
}
|
|
172
|
+
namespace Differences {
|
|
173
|
+
interface AllowedEvents {
|
|
174
|
+
added: Array<AllowedEvents.Added>;
|
|
175
|
+
modified: Array<AllowedEvents.Modified>;
|
|
176
|
+
removed: Array<AllowedEvents.Removed>;
|
|
177
|
+
}
|
|
178
|
+
namespace AllowedEvents {
|
|
179
|
+
interface Added {
|
|
180
|
+
id: string;
|
|
181
|
+
name?: string | null;
|
|
182
|
+
summary?: string | null;
|
|
183
|
+
tagManagerId?: string | null;
|
|
184
|
+
}
|
|
185
|
+
interface Modified {
|
|
186
|
+
new: Modified.New;
|
|
187
|
+
old: Modified.Old;
|
|
188
|
+
}
|
|
189
|
+
namespace Modified {
|
|
190
|
+
interface New {
|
|
191
|
+
id: string;
|
|
192
|
+
name?: string | null;
|
|
193
|
+
summary?: string | null;
|
|
194
|
+
tagManagerId?: string | null;
|
|
195
|
+
}
|
|
196
|
+
interface Old {
|
|
197
|
+
id: string;
|
|
198
|
+
name?: string | null;
|
|
199
|
+
summary?: string | null;
|
|
200
|
+
tagManagerId?: string | null;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
interface Removed {
|
|
204
|
+
id: string;
|
|
205
|
+
name?: string | null;
|
|
206
|
+
summary?: string | null;
|
|
207
|
+
tagManagerId?: string | null;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
interface ConsentSettings {
|
|
211
|
+
added: Array<ConsentSettings.Added>;
|
|
212
|
+
modified: Array<ConsentSettings.Modified>;
|
|
213
|
+
removed: Array<ConsentSettings.Removed>;
|
|
214
|
+
}
|
|
215
|
+
namespace ConsentSettings {
|
|
216
|
+
interface Added {
|
|
217
|
+
id: string;
|
|
218
|
+
name?: string | null;
|
|
219
|
+
summary?: string | null;
|
|
220
|
+
tagManagerId?: string | null;
|
|
221
|
+
}
|
|
222
|
+
interface Modified {
|
|
223
|
+
new: Modified.New;
|
|
224
|
+
old: Modified.Old;
|
|
225
|
+
}
|
|
226
|
+
namespace Modified {
|
|
227
|
+
interface New {
|
|
228
|
+
id: string;
|
|
229
|
+
name?: string | null;
|
|
230
|
+
summary?: string | null;
|
|
231
|
+
tagManagerId?: string | null;
|
|
232
|
+
}
|
|
233
|
+
interface Old {
|
|
234
|
+
id: string;
|
|
235
|
+
name?: string | null;
|
|
236
|
+
summary?: string | null;
|
|
237
|
+
tagManagerId?: string | null;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
interface Removed {
|
|
241
|
+
id: string;
|
|
242
|
+
name?: string | null;
|
|
243
|
+
summary?: string | null;
|
|
244
|
+
tagManagerId?: string | null;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
interface DataGovernanceEvents {
|
|
248
|
+
added: Array<DataGovernanceEvents.Added>;
|
|
249
|
+
modified: Array<DataGovernanceEvents.Modified>;
|
|
250
|
+
removed: Array<DataGovernanceEvents.Removed>;
|
|
251
|
+
}
|
|
252
|
+
namespace DataGovernanceEvents {
|
|
253
|
+
interface Added {
|
|
254
|
+
id: string;
|
|
255
|
+
name?: string | null;
|
|
256
|
+
summary?: string | null;
|
|
257
|
+
tagManagerId?: string | null;
|
|
258
|
+
}
|
|
259
|
+
interface Modified {
|
|
260
|
+
new: Modified.New;
|
|
261
|
+
old: Modified.Old;
|
|
262
|
+
}
|
|
263
|
+
namespace Modified {
|
|
264
|
+
interface New {
|
|
265
|
+
id: string;
|
|
266
|
+
name?: string | null;
|
|
267
|
+
summary?: string | null;
|
|
268
|
+
tagManagerId?: string | null;
|
|
269
|
+
}
|
|
270
|
+
interface Old {
|
|
271
|
+
id: string;
|
|
272
|
+
name?: string | null;
|
|
273
|
+
summary?: string | null;
|
|
274
|
+
tagManagerId?: string | null;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
interface Removed {
|
|
278
|
+
id: string;
|
|
279
|
+
name?: string | null;
|
|
280
|
+
summary?: string | null;
|
|
281
|
+
tagManagerId?: string | null;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
interface DataGovernanceRules {
|
|
285
|
+
added: Array<DataGovernanceRules.Added>;
|
|
286
|
+
modified: Array<DataGovernanceRules.Modified>;
|
|
287
|
+
removed: Array<DataGovernanceRules.Removed>;
|
|
288
|
+
}
|
|
289
|
+
namespace DataGovernanceRules {
|
|
290
|
+
interface Added {
|
|
291
|
+
id: string;
|
|
292
|
+
name?: string | null;
|
|
293
|
+
summary?: string | null;
|
|
294
|
+
tagManagerId?: string | null;
|
|
295
|
+
}
|
|
296
|
+
interface Modified {
|
|
297
|
+
new: Modified.New;
|
|
298
|
+
old: Modified.Old;
|
|
299
|
+
}
|
|
300
|
+
namespace Modified {
|
|
301
|
+
interface New {
|
|
302
|
+
id: string;
|
|
303
|
+
name?: string | null;
|
|
304
|
+
summary?: string | null;
|
|
305
|
+
tagManagerId?: string | null;
|
|
306
|
+
}
|
|
307
|
+
interface Old {
|
|
308
|
+
id: string;
|
|
309
|
+
name?: string | null;
|
|
310
|
+
summary?: string | null;
|
|
311
|
+
tagManagerId?: string | null;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
interface Removed {
|
|
315
|
+
id: string;
|
|
316
|
+
name?: string | null;
|
|
317
|
+
summary?: string | null;
|
|
318
|
+
tagManagerId?: string | null;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
interface Destinations {
|
|
322
|
+
added: Array<Destinations.Added>;
|
|
323
|
+
modified: Array<Destinations.Modified>;
|
|
324
|
+
removed: Array<Destinations.Removed>;
|
|
325
|
+
}
|
|
326
|
+
namespace Destinations {
|
|
327
|
+
interface Added {
|
|
328
|
+
id: string;
|
|
329
|
+
name?: string | null;
|
|
330
|
+
summary?: string | null;
|
|
331
|
+
tagManagerId?: string | null;
|
|
332
|
+
}
|
|
333
|
+
interface Modified {
|
|
334
|
+
new: Modified.New;
|
|
335
|
+
old: Modified.Old;
|
|
336
|
+
}
|
|
337
|
+
namespace Modified {
|
|
338
|
+
interface New {
|
|
339
|
+
id: string;
|
|
340
|
+
name?: string | null;
|
|
341
|
+
summary?: string | null;
|
|
342
|
+
tagManagerId?: string | null;
|
|
343
|
+
}
|
|
344
|
+
interface Old {
|
|
345
|
+
id: string;
|
|
346
|
+
name?: string | null;
|
|
347
|
+
summary?: string | null;
|
|
348
|
+
tagManagerId?: string | null;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
interface Removed {
|
|
352
|
+
id: string;
|
|
353
|
+
name?: string | null;
|
|
354
|
+
summary?: string | null;
|
|
355
|
+
tagManagerId?: string | null;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
interface Experiments {
|
|
359
|
+
added: Array<Experiments.Added>;
|
|
360
|
+
modified: Array<Experiments.Modified>;
|
|
361
|
+
removed: Array<Experiments.Removed>;
|
|
362
|
+
}
|
|
363
|
+
namespace Experiments {
|
|
364
|
+
interface Added {
|
|
365
|
+
id: string;
|
|
366
|
+
name?: string | null;
|
|
367
|
+
summary?: string | null;
|
|
368
|
+
tagManagerId?: string | null;
|
|
369
|
+
}
|
|
370
|
+
interface Modified {
|
|
371
|
+
new: Modified.New;
|
|
372
|
+
old: Modified.Old;
|
|
373
|
+
}
|
|
374
|
+
namespace Modified {
|
|
375
|
+
interface New {
|
|
376
|
+
id: string;
|
|
377
|
+
name?: string | null;
|
|
378
|
+
summary?: string | null;
|
|
379
|
+
tagManagerId?: string | null;
|
|
380
|
+
}
|
|
381
|
+
interface Old {
|
|
382
|
+
id: string;
|
|
383
|
+
name?: string | null;
|
|
384
|
+
summary?: string | null;
|
|
385
|
+
tagManagerId?: string | null;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
interface Removed {
|
|
389
|
+
id: string;
|
|
390
|
+
name?: string | null;
|
|
391
|
+
summary?: string | null;
|
|
392
|
+
tagManagerId?: string | null;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
interface ExperimentSettings {
|
|
396
|
+
added: Array<ExperimentSettings.Added>;
|
|
397
|
+
modified: Array<ExperimentSettings.Modified>;
|
|
398
|
+
removed: Array<ExperimentSettings.Removed>;
|
|
399
|
+
}
|
|
400
|
+
namespace ExperimentSettings {
|
|
401
|
+
interface Added {
|
|
402
|
+
id: string;
|
|
403
|
+
name?: string | null;
|
|
404
|
+
summary?: string | null;
|
|
405
|
+
tagManagerId?: string | null;
|
|
406
|
+
}
|
|
407
|
+
interface Modified {
|
|
408
|
+
new: Modified.New;
|
|
409
|
+
old: Modified.Old;
|
|
410
|
+
}
|
|
411
|
+
namespace Modified {
|
|
412
|
+
interface New {
|
|
413
|
+
id: string;
|
|
414
|
+
name?: string | null;
|
|
415
|
+
summary?: string | null;
|
|
416
|
+
tagManagerId?: string | null;
|
|
417
|
+
}
|
|
418
|
+
interface Old {
|
|
419
|
+
id: string;
|
|
420
|
+
name?: string | null;
|
|
421
|
+
summary?: string | null;
|
|
422
|
+
tagManagerId?: string | null;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
interface Removed {
|
|
426
|
+
id: string;
|
|
427
|
+
name?: string | null;
|
|
428
|
+
summary?: string | null;
|
|
429
|
+
tagManagerId?: string | null;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
interface ExperimentVariants {
|
|
433
|
+
added: Array<ExperimentVariants.Added>;
|
|
434
|
+
modified: Array<ExperimentVariants.Modified>;
|
|
435
|
+
removed: Array<ExperimentVariants.Removed>;
|
|
436
|
+
}
|
|
437
|
+
namespace ExperimentVariants {
|
|
438
|
+
interface Added {
|
|
439
|
+
id: string;
|
|
440
|
+
name?: string | null;
|
|
441
|
+
summary?: string | null;
|
|
442
|
+
tagManagerId?: string | null;
|
|
443
|
+
}
|
|
444
|
+
interface Modified {
|
|
445
|
+
new: Modified.New;
|
|
446
|
+
old: Modified.Old;
|
|
447
|
+
}
|
|
448
|
+
namespace Modified {
|
|
449
|
+
interface New {
|
|
450
|
+
id: string;
|
|
451
|
+
name?: string | null;
|
|
452
|
+
summary?: string | null;
|
|
453
|
+
tagManagerId?: string | null;
|
|
454
|
+
}
|
|
455
|
+
interface Old {
|
|
456
|
+
id: string;
|
|
457
|
+
name?: string | null;
|
|
458
|
+
summary?: string | null;
|
|
459
|
+
tagManagerId?: string | null;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
interface Removed {
|
|
463
|
+
id: string;
|
|
464
|
+
name?: string | null;
|
|
465
|
+
summary?: string | null;
|
|
466
|
+
tagManagerId?: string | null;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
interface ExternalAllowedEventData {
|
|
470
|
+
added: Array<ExternalAllowedEventData.Added>;
|
|
471
|
+
modified: Array<ExternalAllowedEventData.Modified>;
|
|
472
|
+
removed: Array<ExternalAllowedEventData.Removed>;
|
|
473
|
+
}
|
|
474
|
+
namespace ExternalAllowedEventData {
|
|
475
|
+
interface Added {
|
|
476
|
+
id: string;
|
|
477
|
+
name?: string | null;
|
|
478
|
+
summary?: string | null;
|
|
479
|
+
tagManagerId?: string | null;
|
|
480
|
+
}
|
|
481
|
+
interface Modified {
|
|
482
|
+
new: Modified.New;
|
|
483
|
+
old: Modified.Old;
|
|
484
|
+
}
|
|
485
|
+
namespace Modified {
|
|
486
|
+
interface New {
|
|
487
|
+
id: string;
|
|
488
|
+
name?: string | null;
|
|
489
|
+
summary?: string | null;
|
|
490
|
+
tagManagerId?: string | null;
|
|
491
|
+
}
|
|
492
|
+
interface Old {
|
|
493
|
+
id: string;
|
|
494
|
+
name?: string | null;
|
|
495
|
+
summary?: string | null;
|
|
496
|
+
tagManagerId?: string | null;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
interface Removed {
|
|
500
|
+
id: string;
|
|
501
|
+
name?: string | null;
|
|
502
|
+
summary?: string | null;
|
|
503
|
+
tagManagerId?: string | null;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
interface GlobalDispatchCenters {
|
|
507
|
+
added: Array<GlobalDispatchCenters.Added>;
|
|
508
|
+
modified: Array<GlobalDispatchCenters.Modified>;
|
|
509
|
+
removed: Array<GlobalDispatchCenters.Removed>;
|
|
510
|
+
}
|
|
511
|
+
namespace GlobalDispatchCenters {
|
|
512
|
+
interface Added {
|
|
513
|
+
id: string;
|
|
514
|
+
name?: string | null;
|
|
515
|
+
summary?: string | null;
|
|
516
|
+
tagManagerId?: string | null;
|
|
517
|
+
}
|
|
518
|
+
interface Modified {
|
|
519
|
+
new: Modified.New;
|
|
520
|
+
old: Modified.Old;
|
|
521
|
+
}
|
|
522
|
+
namespace Modified {
|
|
523
|
+
interface New {
|
|
524
|
+
id: string;
|
|
525
|
+
name?: string | null;
|
|
526
|
+
summary?: string | null;
|
|
527
|
+
tagManagerId?: string | null;
|
|
528
|
+
}
|
|
529
|
+
interface Old {
|
|
530
|
+
id: string;
|
|
531
|
+
name?: string | null;
|
|
532
|
+
summary?: string | null;
|
|
533
|
+
tagManagerId?: string | null;
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
interface Removed {
|
|
537
|
+
id: string;
|
|
538
|
+
name?: string | null;
|
|
539
|
+
summary?: string | null;
|
|
540
|
+
tagManagerId?: string | null;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
interface Mappings {
|
|
544
|
+
added: Array<Mappings.Added>;
|
|
545
|
+
modified: Array<Mappings.Modified>;
|
|
546
|
+
removed: Array<Mappings.Removed>;
|
|
547
|
+
}
|
|
548
|
+
namespace Mappings {
|
|
549
|
+
interface Added {
|
|
550
|
+
id: string;
|
|
551
|
+
name?: string | null;
|
|
552
|
+
summary?: string | null;
|
|
553
|
+
tagManagerId?: string | null;
|
|
554
|
+
}
|
|
555
|
+
interface Modified {
|
|
556
|
+
new: Modified.New;
|
|
557
|
+
old: Modified.Old;
|
|
558
|
+
}
|
|
559
|
+
namespace Modified {
|
|
560
|
+
interface New {
|
|
561
|
+
id: string;
|
|
562
|
+
name?: string | null;
|
|
563
|
+
summary?: string | null;
|
|
564
|
+
tagManagerId?: string | null;
|
|
565
|
+
}
|
|
566
|
+
interface Old {
|
|
567
|
+
id: string;
|
|
568
|
+
name?: string | null;
|
|
569
|
+
summary?: string | null;
|
|
570
|
+
tagManagerId?: string | null;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
interface Removed {
|
|
574
|
+
id: string;
|
|
575
|
+
name?: string | null;
|
|
576
|
+
summary?: string | null;
|
|
577
|
+
tagManagerId?: string | null;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
interface ReplaySettings {
|
|
581
|
+
added: Array<ReplaySettings.Added>;
|
|
582
|
+
modified: Array<ReplaySettings.Modified>;
|
|
583
|
+
removed: Array<ReplaySettings.Removed>;
|
|
584
|
+
}
|
|
585
|
+
namespace ReplaySettings {
|
|
586
|
+
interface Added {
|
|
587
|
+
id: string;
|
|
588
|
+
name?: string | null;
|
|
589
|
+
summary?: string | null;
|
|
590
|
+
tagManagerId?: string | null;
|
|
591
|
+
}
|
|
592
|
+
interface Modified {
|
|
593
|
+
new: Modified.New;
|
|
594
|
+
old: Modified.Old;
|
|
595
|
+
}
|
|
596
|
+
namespace Modified {
|
|
597
|
+
interface New {
|
|
598
|
+
id: string;
|
|
599
|
+
name?: string | null;
|
|
600
|
+
summary?: string | null;
|
|
601
|
+
tagManagerId?: string | null;
|
|
602
|
+
}
|
|
603
|
+
interface Old {
|
|
604
|
+
id: string;
|
|
605
|
+
name?: string | null;
|
|
606
|
+
summary?: string | null;
|
|
607
|
+
tagManagerId?: string | null;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
interface Removed {
|
|
611
|
+
id: string;
|
|
612
|
+
name?: string | null;
|
|
613
|
+
summary?: string | null;
|
|
614
|
+
tagManagerId?: string | null;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
interface Sources {
|
|
618
|
+
added: Array<Sources.Added>;
|
|
619
|
+
modified: Array<Sources.Modified>;
|
|
620
|
+
removed: Array<Sources.Removed>;
|
|
621
|
+
}
|
|
622
|
+
namespace Sources {
|
|
623
|
+
interface Added {
|
|
624
|
+
id: string;
|
|
625
|
+
name?: string | null;
|
|
626
|
+
summary?: string | null;
|
|
627
|
+
tagManagerId?: string | null;
|
|
628
|
+
}
|
|
629
|
+
interface Modified {
|
|
630
|
+
new: Modified.New;
|
|
631
|
+
old: Modified.Old;
|
|
632
|
+
}
|
|
633
|
+
namespace Modified {
|
|
634
|
+
interface New {
|
|
635
|
+
id: string;
|
|
636
|
+
name?: string | null;
|
|
637
|
+
summary?: string | null;
|
|
638
|
+
tagManagerId?: string | null;
|
|
639
|
+
}
|
|
640
|
+
interface Old {
|
|
641
|
+
id: string;
|
|
642
|
+
name?: string | null;
|
|
643
|
+
summary?: string | null;
|
|
644
|
+
tagManagerId?: string | null;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
interface Removed {
|
|
648
|
+
id: string;
|
|
649
|
+
name?: string | null;
|
|
650
|
+
summary?: string | null;
|
|
651
|
+
tagManagerId?: string | null;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
interface TagManagerTags {
|
|
655
|
+
added: Array<TagManagerTags.Added>;
|
|
656
|
+
modified: Array<TagManagerTags.Modified>;
|
|
657
|
+
removed: Array<TagManagerTags.Removed>;
|
|
658
|
+
}
|
|
659
|
+
namespace TagManagerTags {
|
|
660
|
+
interface Added {
|
|
661
|
+
id: string;
|
|
662
|
+
name?: string | null;
|
|
663
|
+
summary?: string | null;
|
|
664
|
+
tagManagerId?: string | null;
|
|
665
|
+
}
|
|
666
|
+
interface Modified {
|
|
667
|
+
new: Modified.New;
|
|
668
|
+
old: Modified.Old;
|
|
669
|
+
}
|
|
670
|
+
namespace Modified {
|
|
671
|
+
interface New {
|
|
672
|
+
id: string;
|
|
673
|
+
name?: string | null;
|
|
674
|
+
summary?: string | null;
|
|
675
|
+
tagManagerId?: string | null;
|
|
676
|
+
}
|
|
677
|
+
interface Old {
|
|
678
|
+
id: string;
|
|
679
|
+
name?: string | null;
|
|
680
|
+
summary?: string | null;
|
|
681
|
+
tagManagerId?: string | null;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
interface Removed {
|
|
685
|
+
id: string;
|
|
686
|
+
name?: string | null;
|
|
687
|
+
summary?: string | null;
|
|
688
|
+
tagManagerId?: string | null;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
interface TagManagerTriggers {
|
|
692
|
+
added: Array<TagManagerTriggers.Added>;
|
|
693
|
+
modified: Array<TagManagerTriggers.Modified>;
|
|
694
|
+
removed: Array<TagManagerTriggers.Removed>;
|
|
695
|
+
}
|
|
696
|
+
namespace TagManagerTriggers {
|
|
697
|
+
interface Added {
|
|
698
|
+
id: string;
|
|
699
|
+
name?: string | null;
|
|
700
|
+
summary?: string | null;
|
|
701
|
+
tagManagerId?: string | null;
|
|
702
|
+
}
|
|
703
|
+
interface Modified {
|
|
704
|
+
new: Modified.New;
|
|
705
|
+
old: Modified.Old;
|
|
706
|
+
}
|
|
707
|
+
namespace Modified {
|
|
708
|
+
interface New {
|
|
709
|
+
id: string;
|
|
710
|
+
name?: string | null;
|
|
711
|
+
summary?: string | null;
|
|
712
|
+
tagManagerId?: string | null;
|
|
713
|
+
}
|
|
714
|
+
interface Old {
|
|
715
|
+
id: string;
|
|
716
|
+
name?: string | null;
|
|
717
|
+
summary?: string | null;
|
|
718
|
+
tagManagerId?: string | null;
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
interface Removed {
|
|
722
|
+
id: string;
|
|
723
|
+
name?: string | null;
|
|
724
|
+
summary?: string | null;
|
|
725
|
+
tagManagerId?: string | null;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
interface TagManagerVariables {
|
|
729
|
+
added: Array<TagManagerVariables.Added>;
|
|
730
|
+
modified: Array<TagManagerVariables.Modified>;
|
|
731
|
+
removed: Array<TagManagerVariables.Removed>;
|
|
732
|
+
}
|
|
733
|
+
namespace TagManagerVariables {
|
|
734
|
+
interface Added {
|
|
735
|
+
id: string;
|
|
736
|
+
name?: string | null;
|
|
737
|
+
summary?: string | null;
|
|
738
|
+
tagManagerId?: string | null;
|
|
739
|
+
}
|
|
740
|
+
interface Modified {
|
|
741
|
+
new: Modified.New;
|
|
742
|
+
old: Modified.Old;
|
|
743
|
+
}
|
|
744
|
+
namespace Modified {
|
|
745
|
+
interface New {
|
|
746
|
+
id: string;
|
|
747
|
+
name?: string | null;
|
|
748
|
+
summary?: string | null;
|
|
749
|
+
tagManagerId?: string | null;
|
|
750
|
+
}
|
|
751
|
+
interface Old {
|
|
752
|
+
id: string;
|
|
753
|
+
name?: string | null;
|
|
754
|
+
summary?: string | null;
|
|
755
|
+
tagManagerId?: string | null;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
interface Removed {
|
|
759
|
+
id: string;
|
|
760
|
+
name?: string | null;
|
|
761
|
+
summary?: string | null;
|
|
762
|
+
tagManagerId?: string | null;
|
|
763
|
+
}
|
|
764
|
+
}
|
|
53
765
|
}
|
|
54
766
|
}
|
|
767
|
+
export interface VersionListParams extends CursorParams {
|
|
768
|
+
/**
|
|
769
|
+
* Filter to only published or unpublished versions.
|
|
770
|
+
*/
|
|
771
|
+
isPublished?: 'true' | 'false';
|
|
772
|
+
/**
|
|
773
|
+
* Case-insensitive substring match on the version name.
|
|
774
|
+
*/
|
|
775
|
+
nameContains?: string;
|
|
776
|
+
/**
|
|
777
|
+
* Case-insensitive substring match on the version notes.
|
|
778
|
+
*/
|
|
779
|
+
notesContains?: string;
|
|
780
|
+
}
|
|
55
781
|
export interface VersionCreateParams {
|
|
56
782
|
includeAllowedEvents?: Array<string> | null;
|
|
57
783
|
includeConsentSettings?: Array<string> | null;
|
|
@@ -72,6 +798,6 @@ export interface VersionUpdateParams {
|
|
|
72
798
|
notes?: string | null;
|
|
73
799
|
}
|
|
74
800
|
export declare namespace Versions {
|
|
75
|
-
export { type VersionCreateResponse as VersionCreateResponse, type VersionRetrieveResponse as VersionRetrieveResponse, type VersionUpdateResponse as VersionUpdateResponse, type
|
|
801
|
+
export { type VersionListResponse as VersionListResponse, type VersionCreateResponse as VersionCreateResponse, type VersionRetrieveResponse as VersionRetrieveResponse, type VersionUpdateResponse as VersionUpdateResponse, type VersionPublishResponse as VersionPublishResponse, type VersionSnapshotResponse as VersionSnapshotResponse, type VersionDiffResponse as VersionDiffResponse, type VersionListResponsesCursor as VersionListResponsesCursor, type VersionListParams as VersionListParams, type VersionCreateParams as VersionCreateParams, type VersionUpdateParams as VersionUpdateParams, };
|
|
76
802
|
}
|
|
77
803
|
//# sourceMappingURL=versions.d.ts.map
|