@oursprivacy/platform-sdk 1.24.0 → 1.26.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 (78) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/client.d.mts +15 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +15 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +15 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +15 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/destinations.d.mts +7 -7
  12. package/resources/destinations.d.mts.map +1 -1
  13. package/resources/destinations.d.ts +7 -7
  14. package/resources/destinations.d.ts.map +1 -1
  15. package/resources/index.d.mts +5 -0
  16. package/resources/index.d.mts.map +1 -1
  17. package/resources/index.d.ts +5 -0
  18. package/resources/index.d.ts.map +1 -1
  19. package/resources/index.js +11 -1
  20. package/resources/index.js.map +1 -1
  21. package/resources/index.mjs +5 -0
  22. package/resources/index.mjs.map +1 -1
  23. package/resources/sources.d.mts +2 -2
  24. package/resources/sources.d.ts +2 -2
  25. package/resources/tag-manager-folders.d.mts +100 -0
  26. package/resources/tag-manager-folders.d.mts.map +1 -0
  27. package/resources/tag-manager-folders.d.ts +100 -0
  28. package/resources/tag-manager-folders.d.ts.map +1 -0
  29. package/resources/tag-manager-folders.js +55 -0
  30. package/resources/tag-manager-folders.js.map +1 -0
  31. package/resources/tag-manager-folders.mjs +51 -0
  32. package/resources/tag-manager-folders.mjs.map +1 -0
  33. package/resources/tag-manager-tags.d.mts +430 -0
  34. package/resources/tag-manager-tags.d.mts.map +1 -0
  35. package/resources/tag-manager-tags.d.ts +430 -0
  36. package/resources/tag-manager-tags.d.ts.map +1 -0
  37. package/resources/tag-manager-tags.js +66 -0
  38. package/resources/tag-manager-tags.js.map +1 -0
  39. package/resources/tag-manager-tags.mjs +62 -0
  40. package/resources/tag-manager-tags.mjs.map +1 -0
  41. package/resources/tag-manager-triggers.d.mts +327 -0
  42. package/resources/tag-manager-triggers.d.mts.map +1 -0
  43. package/resources/tag-manager-triggers.d.ts +327 -0
  44. package/resources/tag-manager-triggers.d.ts.map +1 -0
  45. package/resources/tag-manager-triggers.js +61 -0
  46. package/resources/tag-manager-triggers.js.map +1 -0
  47. package/resources/tag-manager-triggers.mjs +57 -0
  48. package/resources/tag-manager-triggers.mjs.map +1 -0
  49. package/resources/tag-manager-variables.d.mts +370 -0
  50. package/resources/tag-manager-variables.d.mts.map +1 -0
  51. package/resources/tag-manager-variables.d.ts +370 -0
  52. package/resources/tag-manager-variables.d.ts.map +1 -0
  53. package/resources/tag-manager-variables.js +63 -0
  54. package/resources/tag-manager-variables.js.map +1 -0
  55. package/resources/tag-manager-variables.mjs +59 -0
  56. package/resources/tag-manager-variables.mjs.map +1 -0
  57. package/resources/tag-managers.d.mts +207 -0
  58. package/resources/tag-managers.d.mts.map +1 -0
  59. package/resources/tag-managers.d.ts +207 -0
  60. package/resources/tag-managers.d.ts.map +1 -0
  61. package/resources/tag-managers.js +51 -0
  62. package/resources/tag-managers.js.map +1 -0
  63. package/resources/tag-managers.mjs +47 -0
  64. package/resources/tag-managers.mjs.map +1 -0
  65. package/src/client.ts +137 -0
  66. package/src/resources/destinations.ts +7 -0
  67. package/src/resources/index.ts +61 -0
  68. package/src/resources/sources.ts +2 -2
  69. package/src/resources/tag-manager-folders.ts +172 -0
  70. package/src/resources/tag-manager-tags.ts +555 -0
  71. package/src/resources/tag-manager-triggers.ts +431 -0
  72. package/src/resources/tag-manager-variables.ts +469 -0
  73. package/src/resources/tag-managers.ts +272 -0
  74. package/src/version.ts +1 -1
  75. package/version.d.mts +1 -1
  76. package/version.d.ts +1 -1
  77. package/version.js +1 -1
  78. package/version.mjs +1 -1
@@ -0,0 +1,327 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { Cursor, type CursorParams, PagePromise } from "../core/pagination.mjs";
4
+ import { RequestOptions } from "../internal/request-options.mjs";
5
+ export declare class TagManagerTriggers extends APIResource {
6
+ /**
7
+ * List triggers inside a single tag manager. Requires the `tagManagerId` query
8
+ * parameter — triggers are always scoped to one parent container. Supports cursor
9
+ * pagination via `limit` and `cursor`; the limit clamp is 1000 so a single request
10
+ * can return the full set (the web-app workspace renders all triggers in one
11
+ * shot). Requires scope: tagManagers:find
12
+ */
13
+ list(query: TagManagerTriggerListParams, options?: RequestOptions): PagePromise<TagManagerTriggerListResponsesCursor, TagManagerTriggerListResponse>;
14
+ /**
15
+ * Create a new trigger inside a tag manager. `tagManagerId` is required in the
16
+ * body. Send `conditions: []` for an unconditional trigger; otherwise supply
17
+ * type-specific condition objects. Requires scope: tagManagers:update
18
+ */
19
+ create(body: TagManagerTriggerCreateParams, options?: RequestOptions): APIPromise<TagManagerTriggerCreateResponse>;
20
+ /**
21
+ * Find a single tag manager trigger by ID. Requires scope: tagManagers:find
22
+ */
23
+ retrieve(id: string, options?: RequestOptions): APIPromise<TagManagerTriggerRetrieveResponse>;
24
+ /**
25
+ * Partially update a trigger. Only the fields you send are changed. `conditions`
26
+ * is replaced wholesale when sent. Requires scope: tagManagers:update
27
+ */
28
+ update(id: string, body: TagManagerTriggerUpdateParams, options?: RequestOptions): APIPromise<TagManagerTriggerUpdateResponse>;
29
+ /**
30
+ * Delete a tag manager trigger. Requires scope: tagManagers:update
31
+ */
32
+ delete(id: string, options?: RequestOptions): APIPromise<TagManagerTriggerDeleteResponse>;
33
+ /**
34
+ * Lists every trigger template the platform supports — what `type` discriminator
35
+ * to send on create/patch, and the shape of the type-specific `parameters`
36
+ * payload. Trigger `conditions` are evaluated at runtime (per-trigger, see the
37
+ * resource docs) and are not part of this descriptor. Account-agnostic: the
38
+ * response is the same for every API key. Requires scope: tagManagers:find
39
+ */
40
+ types(options?: RequestOptions): APIPromise<TagManagerTriggerTypesResponse>;
41
+ }
42
+ export type TagManagerTriggerListResponsesCursor = Cursor<TagManagerTriggerListResponse>;
43
+ export interface TagManagerTriggerListResponse {
44
+ id: string;
45
+ accountId: string;
46
+ /**
47
+ * Conditions that must hold for the trigger to match. Use `[]` for unconditional
48
+ * triggers.
49
+ */
50
+ conditions: Array<{
51
+ [key: string]: unknown;
52
+ }>;
53
+ name: string;
54
+ /**
55
+ * Type-specific configuration. Send `{}` for a no-op trigger.
56
+ */
57
+ parameters: {
58
+ [key: string]: unknown;
59
+ };
60
+ tagManagerId: string;
61
+ /**
62
+ * Trigger implementation identifier — typically equals `type`.
63
+ */
64
+ Trigger: string;
65
+ /**
66
+ * Trigger type (e.g. `Initialization`, `PageView`, `Click`).
67
+ */
68
+ type: string;
69
+ createdAt?: string | null;
70
+ enabled?: boolean | null;
71
+ /**
72
+ * Folder this trigger belongs to. Read-only on this endpoint — use the GraphQL
73
+ * `assignTagManagerAssetToFolder` mutation to change.
74
+ */
75
+ folderId?: string | null;
76
+ updatedAt?: string | null;
77
+ }
78
+ export interface TagManagerTriggerCreateResponse {
79
+ id: string;
80
+ accountId: string;
81
+ /**
82
+ * Conditions that must hold for the trigger to match. Use `[]` for unconditional
83
+ * triggers.
84
+ */
85
+ conditions: Array<{
86
+ [key: string]: unknown;
87
+ }>;
88
+ name: string;
89
+ /**
90
+ * Type-specific configuration. Send `{}` for a no-op trigger.
91
+ */
92
+ parameters: {
93
+ [key: string]: unknown;
94
+ };
95
+ tagManagerId: string;
96
+ /**
97
+ * Trigger implementation identifier — typically equals `type`.
98
+ */
99
+ Trigger: string;
100
+ /**
101
+ * Trigger type (e.g. `Initialization`, `PageView`, `Click`).
102
+ */
103
+ type: string;
104
+ createdAt?: string | null;
105
+ enabled?: boolean | null;
106
+ /**
107
+ * Folder this trigger belongs to. Read-only on this endpoint — use the GraphQL
108
+ * `assignTagManagerAssetToFolder` mutation to change.
109
+ */
110
+ folderId?: string | null;
111
+ updatedAt?: string | null;
112
+ }
113
+ export interface TagManagerTriggerRetrieveResponse {
114
+ id: string;
115
+ accountId: string;
116
+ /**
117
+ * Conditions that must hold for the trigger to match. Use `[]` for unconditional
118
+ * triggers.
119
+ */
120
+ conditions: Array<{
121
+ [key: string]: unknown;
122
+ }>;
123
+ name: string;
124
+ /**
125
+ * Type-specific configuration. Send `{}` for a no-op trigger.
126
+ */
127
+ parameters: {
128
+ [key: string]: unknown;
129
+ };
130
+ tagManagerId: string;
131
+ /**
132
+ * Trigger implementation identifier — typically equals `type`.
133
+ */
134
+ Trigger: string;
135
+ /**
136
+ * Trigger type (e.g. `Initialization`, `PageView`, `Click`).
137
+ */
138
+ type: string;
139
+ createdAt?: string | null;
140
+ enabled?: boolean | null;
141
+ /**
142
+ * Folder this trigger belongs to. Read-only on this endpoint — use the GraphQL
143
+ * `assignTagManagerAssetToFolder` mutation to change.
144
+ */
145
+ folderId?: string | null;
146
+ updatedAt?: string | null;
147
+ }
148
+ export interface TagManagerTriggerUpdateResponse {
149
+ id: string;
150
+ accountId: string;
151
+ /**
152
+ * Conditions that must hold for the trigger to match. Use `[]` for unconditional
153
+ * triggers.
154
+ */
155
+ conditions: Array<{
156
+ [key: string]: unknown;
157
+ }>;
158
+ name: string;
159
+ /**
160
+ * Type-specific configuration. Send `{}` for a no-op trigger.
161
+ */
162
+ parameters: {
163
+ [key: string]: unknown;
164
+ };
165
+ tagManagerId: string;
166
+ /**
167
+ * Trigger implementation identifier — typically equals `type`.
168
+ */
169
+ Trigger: string;
170
+ /**
171
+ * Trigger type (e.g. `Initialization`, `PageView`, `Click`).
172
+ */
173
+ type: string;
174
+ createdAt?: string | null;
175
+ enabled?: boolean | null;
176
+ /**
177
+ * Folder this trigger belongs to. Read-only on this endpoint — use the GraphQL
178
+ * `assignTagManagerAssetToFolder` mutation to change.
179
+ */
180
+ folderId?: string | null;
181
+ updatedAt?: string | null;
182
+ }
183
+ export interface TagManagerTriggerDeleteResponse {
184
+ id: string;
185
+ deleted: boolean;
186
+ }
187
+ export interface TagManagerTriggerTypesResponse {
188
+ entities: Array<TagManagerTriggerTypesResponse.Entity>;
189
+ }
190
+ export declare namespace TagManagerTriggerTypesResponse {
191
+ interface Entity {
192
+ /**
193
+ * Type discriminator — pass this as `type` on create/patch.
194
+ */
195
+ id: string;
196
+ /**
197
+ * Grouping label.
198
+ */
199
+ category: string;
200
+ fields: Array<Entity.Field>;
201
+ /**
202
+ * Human-readable display name.
203
+ */
204
+ name: string;
205
+ description?: string | null;
206
+ }
207
+ namespace Entity {
208
+ interface Field {
209
+ /**
210
+ * Parameter key that goes in the `parameters` payload at create/patch.
211
+ */
212
+ id: string;
213
+ /**
214
+ * Human-readable title for the field.
215
+ */
216
+ title: string;
217
+ /**
218
+ * Underlying data type of the parameter value.
219
+ */
220
+ type: 'STRING' | 'BOOLEAN' | 'INTEGER' | 'FLOAT' | 'TABLE';
221
+ /**
222
+ * For TABLE-typed fields, the predefined keys each row may contain.
223
+ */
224
+ allowedKeys?: Array<string> | null;
225
+ /**
226
+ * When present, the field accepts only one of these values. Send the `value`
227
+ * string in `parameters`; the `label` is for display.
228
+ */
229
+ availableValues?: Array<Field.AvailableValue> | null;
230
+ /**
231
+ * Default value when the caller omits the parameter on create.
232
+ */
233
+ default?: {
234
+ [key: string]: unknown;
235
+ };
236
+ description?: string | null;
237
+ /**
238
+ * When `true`, omitting or sending an empty value for this parameter on
239
+ * create/patch returns HTTP 400.
240
+ */
241
+ required?: boolean | null;
242
+ /**
243
+ * Server-enforced rules applied to this field at create and patch.
244
+ */
245
+ validators?: Array<Field.Validator> | null;
246
+ }
247
+ namespace Field {
248
+ interface AvailableValue {
249
+ label: string;
250
+ value: string;
251
+ }
252
+ interface Validator {
253
+ type: 'NotEmpty' | 'CharacterLength' | 'Url' | 'Email' | 'Number' | 'Range';
254
+ max?: number | null;
255
+ min?: number | null;
256
+ }
257
+ }
258
+ }
259
+ }
260
+ export interface TagManagerTriggerListParams extends CursorParams {
261
+ /**
262
+ * Parent tag manager whose triggers should be returned.
263
+ */
264
+ tagManagerId: string;
265
+ }
266
+ export interface TagManagerTriggerCreateParams {
267
+ /**
268
+ * Match conditions; use `[]` for an unconditional trigger.
269
+ */
270
+ conditions: Array<{
271
+ [key: string]: unknown;
272
+ }>;
273
+ name: string;
274
+ /**
275
+ * Type-specific JSON configuration.
276
+ */
277
+ parameters: {
278
+ [key: string]: unknown;
279
+ };
280
+ /**
281
+ * Parent tag manager that will own the new trigger.
282
+ */
283
+ tagManagerId: string;
284
+ /**
285
+ * Trigger implementation identifier (typically equals `type`).
286
+ */
287
+ Trigger: string;
288
+ /**
289
+ * Trigger type discriminator.
290
+ */
291
+ type: string;
292
+ enabled?: boolean | null;
293
+ }
294
+ export interface TagManagerTriggerUpdateParams {
295
+ /**
296
+ * Replaces conditions wholesale when sent. Use `[]` for an unconditional trigger.
297
+ */
298
+ conditions?: Array<{
299
+ [key: string]: unknown;
300
+ }>;
301
+ /**
302
+ * Pause/resume the trigger without changing other fields.
303
+ */
304
+ enabled?: boolean | null;
305
+ /**
306
+ * Updated trigger name.
307
+ */
308
+ name?: string;
309
+ /**
310
+ * Updated type-specific JSON configuration.
311
+ */
312
+ parameters?: {
313
+ [key: string]: unknown;
314
+ };
315
+ /**
316
+ * Updated trigger implementation identifier.
317
+ */
318
+ Trigger?: string;
319
+ /**
320
+ * Updated trigger type.
321
+ */
322
+ type?: string;
323
+ }
324
+ export declare namespace TagManagerTriggers {
325
+ export { type TagManagerTriggerListResponse as TagManagerTriggerListResponse, type TagManagerTriggerCreateResponse as TagManagerTriggerCreateResponse, type TagManagerTriggerRetrieveResponse as TagManagerTriggerRetrieveResponse, type TagManagerTriggerUpdateResponse as TagManagerTriggerUpdateResponse, type TagManagerTriggerDeleteResponse as TagManagerTriggerDeleteResponse, type TagManagerTriggerTypesResponse as TagManagerTriggerTypesResponse, type TagManagerTriggerListResponsesCursor as TagManagerTriggerListResponsesCursor, type TagManagerTriggerListParams as TagManagerTriggerListParams, type TagManagerTriggerCreateParams as TagManagerTriggerCreateParams, type TagManagerTriggerUpdateParams as TagManagerTriggerUpdateParams, };
326
+ }
327
+ //# sourceMappingURL=tag-manager-triggers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-manager-triggers.d.mts","sourceRoot":"","sources":["../src/resources/tag-manager-triggers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,+BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;OAMG;IACH,IAAI,CACF,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,6BAA6B,CAAC;IAOnF;;;;OAIG;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;;;OAGG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,CAAC;IAIzF;;;;;;OAMG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;CAG5E;AAED,MAAM,MAAM,oCAAoC,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC;AAEzF,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,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,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;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,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -0,0 +1,327 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { Cursor, type CursorParams, PagePromise } from "../core/pagination.js";
4
+ import { RequestOptions } from "../internal/request-options.js";
5
+ export declare class TagManagerTriggers extends APIResource {
6
+ /**
7
+ * List triggers inside a single tag manager. Requires the `tagManagerId` query
8
+ * parameter — triggers are always scoped to one parent container. Supports cursor
9
+ * pagination via `limit` and `cursor`; the limit clamp is 1000 so a single request
10
+ * can return the full set (the web-app workspace renders all triggers in one
11
+ * shot). Requires scope: tagManagers:find
12
+ */
13
+ list(query: TagManagerTriggerListParams, options?: RequestOptions): PagePromise<TagManagerTriggerListResponsesCursor, TagManagerTriggerListResponse>;
14
+ /**
15
+ * Create a new trigger inside a tag manager. `tagManagerId` is required in the
16
+ * body. Send `conditions: []` for an unconditional trigger; otherwise supply
17
+ * type-specific condition objects. Requires scope: tagManagers:update
18
+ */
19
+ create(body: TagManagerTriggerCreateParams, options?: RequestOptions): APIPromise<TagManagerTriggerCreateResponse>;
20
+ /**
21
+ * Find a single tag manager trigger by ID. Requires scope: tagManagers:find
22
+ */
23
+ retrieve(id: string, options?: RequestOptions): APIPromise<TagManagerTriggerRetrieveResponse>;
24
+ /**
25
+ * Partially update a trigger. Only the fields you send are changed. `conditions`
26
+ * is replaced wholesale when sent. Requires scope: tagManagers:update
27
+ */
28
+ update(id: string, body: TagManagerTriggerUpdateParams, options?: RequestOptions): APIPromise<TagManagerTriggerUpdateResponse>;
29
+ /**
30
+ * Delete a tag manager trigger. Requires scope: tagManagers:update
31
+ */
32
+ delete(id: string, options?: RequestOptions): APIPromise<TagManagerTriggerDeleteResponse>;
33
+ /**
34
+ * Lists every trigger template the platform supports — what `type` discriminator
35
+ * to send on create/patch, and the shape of the type-specific `parameters`
36
+ * payload. Trigger `conditions` are evaluated at runtime (per-trigger, see the
37
+ * resource docs) and are not part of this descriptor. Account-agnostic: the
38
+ * response is the same for every API key. Requires scope: tagManagers:find
39
+ */
40
+ types(options?: RequestOptions): APIPromise<TagManagerTriggerTypesResponse>;
41
+ }
42
+ export type TagManagerTriggerListResponsesCursor = Cursor<TagManagerTriggerListResponse>;
43
+ export interface TagManagerTriggerListResponse {
44
+ id: string;
45
+ accountId: string;
46
+ /**
47
+ * Conditions that must hold for the trigger to match. Use `[]` for unconditional
48
+ * triggers.
49
+ */
50
+ conditions: Array<{
51
+ [key: string]: unknown;
52
+ }>;
53
+ name: string;
54
+ /**
55
+ * Type-specific configuration. Send `{}` for a no-op trigger.
56
+ */
57
+ parameters: {
58
+ [key: string]: unknown;
59
+ };
60
+ tagManagerId: string;
61
+ /**
62
+ * Trigger implementation identifier — typically equals `type`.
63
+ */
64
+ Trigger: string;
65
+ /**
66
+ * Trigger type (e.g. `Initialization`, `PageView`, `Click`).
67
+ */
68
+ type: string;
69
+ createdAt?: string | null;
70
+ enabled?: boolean | null;
71
+ /**
72
+ * Folder this trigger belongs to. Read-only on this endpoint — use the GraphQL
73
+ * `assignTagManagerAssetToFolder` mutation to change.
74
+ */
75
+ folderId?: string | null;
76
+ updatedAt?: string | null;
77
+ }
78
+ export interface TagManagerTriggerCreateResponse {
79
+ id: string;
80
+ accountId: string;
81
+ /**
82
+ * Conditions that must hold for the trigger to match. Use `[]` for unconditional
83
+ * triggers.
84
+ */
85
+ conditions: Array<{
86
+ [key: string]: unknown;
87
+ }>;
88
+ name: string;
89
+ /**
90
+ * Type-specific configuration. Send `{}` for a no-op trigger.
91
+ */
92
+ parameters: {
93
+ [key: string]: unknown;
94
+ };
95
+ tagManagerId: string;
96
+ /**
97
+ * Trigger implementation identifier — typically equals `type`.
98
+ */
99
+ Trigger: string;
100
+ /**
101
+ * Trigger type (e.g. `Initialization`, `PageView`, `Click`).
102
+ */
103
+ type: string;
104
+ createdAt?: string | null;
105
+ enabled?: boolean | null;
106
+ /**
107
+ * Folder this trigger belongs to. Read-only on this endpoint — use the GraphQL
108
+ * `assignTagManagerAssetToFolder` mutation to change.
109
+ */
110
+ folderId?: string | null;
111
+ updatedAt?: string | null;
112
+ }
113
+ export interface TagManagerTriggerRetrieveResponse {
114
+ id: string;
115
+ accountId: string;
116
+ /**
117
+ * Conditions that must hold for the trigger to match. Use `[]` for unconditional
118
+ * triggers.
119
+ */
120
+ conditions: Array<{
121
+ [key: string]: unknown;
122
+ }>;
123
+ name: string;
124
+ /**
125
+ * Type-specific configuration. Send `{}` for a no-op trigger.
126
+ */
127
+ parameters: {
128
+ [key: string]: unknown;
129
+ };
130
+ tagManagerId: string;
131
+ /**
132
+ * Trigger implementation identifier — typically equals `type`.
133
+ */
134
+ Trigger: string;
135
+ /**
136
+ * Trigger type (e.g. `Initialization`, `PageView`, `Click`).
137
+ */
138
+ type: string;
139
+ createdAt?: string | null;
140
+ enabled?: boolean | null;
141
+ /**
142
+ * Folder this trigger belongs to. Read-only on this endpoint — use the GraphQL
143
+ * `assignTagManagerAssetToFolder` mutation to change.
144
+ */
145
+ folderId?: string | null;
146
+ updatedAt?: string | null;
147
+ }
148
+ export interface TagManagerTriggerUpdateResponse {
149
+ id: string;
150
+ accountId: string;
151
+ /**
152
+ * Conditions that must hold for the trigger to match. Use `[]` for unconditional
153
+ * triggers.
154
+ */
155
+ conditions: Array<{
156
+ [key: string]: unknown;
157
+ }>;
158
+ name: string;
159
+ /**
160
+ * Type-specific configuration. Send `{}` for a no-op trigger.
161
+ */
162
+ parameters: {
163
+ [key: string]: unknown;
164
+ };
165
+ tagManagerId: string;
166
+ /**
167
+ * Trigger implementation identifier — typically equals `type`.
168
+ */
169
+ Trigger: string;
170
+ /**
171
+ * Trigger type (e.g. `Initialization`, `PageView`, `Click`).
172
+ */
173
+ type: string;
174
+ createdAt?: string | null;
175
+ enabled?: boolean | null;
176
+ /**
177
+ * Folder this trigger belongs to. Read-only on this endpoint — use the GraphQL
178
+ * `assignTagManagerAssetToFolder` mutation to change.
179
+ */
180
+ folderId?: string | null;
181
+ updatedAt?: string | null;
182
+ }
183
+ export interface TagManagerTriggerDeleteResponse {
184
+ id: string;
185
+ deleted: boolean;
186
+ }
187
+ export interface TagManagerTriggerTypesResponse {
188
+ entities: Array<TagManagerTriggerTypesResponse.Entity>;
189
+ }
190
+ export declare namespace TagManagerTriggerTypesResponse {
191
+ interface Entity {
192
+ /**
193
+ * Type discriminator — pass this as `type` on create/patch.
194
+ */
195
+ id: string;
196
+ /**
197
+ * Grouping label.
198
+ */
199
+ category: string;
200
+ fields: Array<Entity.Field>;
201
+ /**
202
+ * Human-readable display name.
203
+ */
204
+ name: string;
205
+ description?: string | null;
206
+ }
207
+ namespace Entity {
208
+ interface Field {
209
+ /**
210
+ * Parameter key that goes in the `parameters` payload at create/patch.
211
+ */
212
+ id: string;
213
+ /**
214
+ * Human-readable title for the field.
215
+ */
216
+ title: string;
217
+ /**
218
+ * Underlying data type of the parameter value.
219
+ */
220
+ type: 'STRING' | 'BOOLEAN' | 'INTEGER' | 'FLOAT' | 'TABLE';
221
+ /**
222
+ * For TABLE-typed fields, the predefined keys each row may contain.
223
+ */
224
+ allowedKeys?: Array<string> | null;
225
+ /**
226
+ * When present, the field accepts only one of these values. Send the `value`
227
+ * string in `parameters`; the `label` is for display.
228
+ */
229
+ availableValues?: Array<Field.AvailableValue> | null;
230
+ /**
231
+ * Default value when the caller omits the parameter on create.
232
+ */
233
+ default?: {
234
+ [key: string]: unknown;
235
+ };
236
+ description?: string | null;
237
+ /**
238
+ * When `true`, omitting or sending an empty value for this parameter on
239
+ * create/patch returns HTTP 400.
240
+ */
241
+ required?: boolean | null;
242
+ /**
243
+ * Server-enforced rules applied to this field at create and patch.
244
+ */
245
+ validators?: Array<Field.Validator> | null;
246
+ }
247
+ namespace Field {
248
+ interface AvailableValue {
249
+ label: string;
250
+ value: string;
251
+ }
252
+ interface Validator {
253
+ type: 'NotEmpty' | 'CharacterLength' | 'Url' | 'Email' | 'Number' | 'Range';
254
+ max?: number | null;
255
+ min?: number | null;
256
+ }
257
+ }
258
+ }
259
+ }
260
+ export interface TagManagerTriggerListParams extends CursorParams {
261
+ /**
262
+ * Parent tag manager whose triggers should be returned.
263
+ */
264
+ tagManagerId: string;
265
+ }
266
+ export interface TagManagerTriggerCreateParams {
267
+ /**
268
+ * Match conditions; use `[]` for an unconditional trigger.
269
+ */
270
+ conditions: Array<{
271
+ [key: string]: unknown;
272
+ }>;
273
+ name: string;
274
+ /**
275
+ * Type-specific JSON configuration.
276
+ */
277
+ parameters: {
278
+ [key: string]: unknown;
279
+ };
280
+ /**
281
+ * Parent tag manager that will own the new trigger.
282
+ */
283
+ tagManagerId: string;
284
+ /**
285
+ * Trigger implementation identifier (typically equals `type`).
286
+ */
287
+ Trigger: string;
288
+ /**
289
+ * Trigger type discriminator.
290
+ */
291
+ type: string;
292
+ enabled?: boolean | null;
293
+ }
294
+ export interface TagManagerTriggerUpdateParams {
295
+ /**
296
+ * Replaces conditions wholesale when sent. Use `[]` for an unconditional trigger.
297
+ */
298
+ conditions?: Array<{
299
+ [key: string]: unknown;
300
+ }>;
301
+ /**
302
+ * Pause/resume the trigger without changing other fields.
303
+ */
304
+ enabled?: boolean | null;
305
+ /**
306
+ * Updated trigger name.
307
+ */
308
+ name?: string;
309
+ /**
310
+ * Updated type-specific JSON configuration.
311
+ */
312
+ parameters?: {
313
+ [key: string]: unknown;
314
+ };
315
+ /**
316
+ * Updated trigger implementation identifier.
317
+ */
318
+ Trigger?: string;
319
+ /**
320
+ * Updated trigger type.
321
+ */
322
+ type?: string;
323
+ }
324
+ export declare namespace TagManagerTriggers {
325
+ export { type TagManagerTriggerListResponse as TagManagerTriggerListResponse, type TagManagerTriggerCreateResponse as TagManagerTriggerCreateResponse, type TagManagerTriggerRetrieveResponse as TagManagerTriggerRetrieveResponse, type TagManagerTriggerUpdateResponse as TagManagerTriggerUpdateResponse, type TagManagerTriggerDeleteResponse as TagManagerTriggerDeleteResponse, type TagManagerTriggerTypesResponse as TagManagerTriggerTypesResponse, type TagManagerTriggerListResponsesCursor as TagManagerTriggerListResponsesCursor, type TagManagerTriggerListParams as TagManagerTriggerListParams, type TagManagerTriggerCreateParams as TagManagerTriggerCreateParams, type TagManagerTriggerUpdateParams as TagManagerTriggerUpdateParams, };
326
+ }
327
+ //# sourceMappingURL=tag-manager-triggers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-manager-triggers.d.ts","sourceRoot":"","sources":["../src/resources/tag-manager-triggers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,8BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;OAMG;IACH,IAAI,CACF,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,6BAA6B,CAAC;IAOnF;;;;OAIG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC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