@oursprivacy/platform-sdk 1.53.0 → 1.55.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 (158) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +10 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +2 -2
  11. package/resources/consent-settings.d.mts +5930 -442
  12. package/resources/consent-settings.d.mts.map +1 -1
  13. package/resources/consent-settings.d.ts +5930 -442
  14. package/resources/consent-settings.d.ts.map +1 -1
  15. package/resources/custom-domains.d.mts +301 -0
  16. package/resources/custom-domains.d.mts.map +1 -0
  17. package/resources/custom-domains.d.ts +301 -0
  18. package/resources/custom-domains.d.ts.map +1 -0
  19. package/resources/custom-domains.js +55 -0
  20. package/resources/custom-domains.js.map +1 -0
  21. package/resources/custom-domains.mjs +51 -0
  22. package/resources/custom-domains.mjs.map +1 -0
  23. package/resources/data-governance.d.mts +75 -15
  24. package/resources/data-governance.d.mts.map +1 -1
  25. package/resources/data-governance.d.ts +75 -15
  26. package/resources/data-governance.d.ts.map +1 -1
  27. package/resources/default-mappings.d.mts +207 -3
  28. package/resources/default-mappings.d.mts.map +1 -1
  29. package/resources/default-mappings.d.ts +207 -3
  30. package/resources/default-mappings.d.ts.map +1 -1
  31. package/resources/destinations.d.mts +33 -13
  32. package/resources/destinations.d.mts.map +1 -1
  33. package/resources/destinations.d.ts +33 -13
  34. package/resources/destinations.d.ts.map +1 -1
  35. package/resources/experiment-variants.d.mts +117 -14
  36. package/resources/experiment-variants.d.mts.map +1 -1
  37. package/resources/experiment-variants.d.ts +117 -14
  38. package/resources/experiment-variants.d.ts.map +1 -1
  39. package/resources/experiments.d.mts +3979 -253
  40. package/resources/experiments.d.mts.map +1 -1
  41. package/resources/experiments.d.ts +3979 -253
  42. package/resources/experiments.d.ts.map +1 -1
  43. package/resources/funnels.d.mts +648 -7
  44. package/resources/funnels.d.mts.map +1 -1
  45. package/resources/funnels.d.ts +648 -7
  46. package/resources/funnels.d.ts.map +1 -1
  47. package/resources/index.d.mts +4 -2
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +4 -2
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js +5 -1
  52. package/resources/index.js.map +1 -1
  53. package/resources/index.mjs +2 -0
  54. package/resources/index.mjs.map +1 -1
  55. package/resources/journey-flows.d.mts +580 -16
  56. package/resources/journey-flows.d.mts.map +1 -1
  57. package/resources/journey-flows.d.ts +580 -16
  58. package/resources/journey-flows.d.ts.map +1 -1
  59. package/resources/locations.d.mts +25 -5
  60. package/resources/locations.d.mts.map +1 -1
  61. package/resources/locations.d.ts +25 -5
  62. package/resources/locations.d.ts.map +1 -1
  63. package/resources/mappings.d.mts +540 -12
  64. package/resources/mappings.d.mts.map +1 -1
  65. package/resources/mappings.d.ts +540 -12
  66. package/resources/mappings.d.ts.map +1 -1
  67. package/resources/mappings.js +22 -0
  68. package/resources/mappings.js.map +1 -1
  69. package/resources/mappings.mjs +22 -0
  70. package/resources/mappings.mjs.map +1 -1
  71. package/resources/me.d.mts +29 -0
  72. package/resources/me.d.mts.map +1 -0
  73. package/resources/me.d.ts +29 -0
  74. package/resources/me.d.ts.map +1 -0
  75. package/resources/me.js +17 -0
  76. package/resources/me.js.map +1 -0
  77. package/resources/me.mjs +13 -0
  78. package/resources/me.mjs.map +1 -0
  79. package/resources/replay-settings.d.mts +117 -3
  80. package/resources/replay-settings.d.mts.map +1 -1
  81. package/resources/replay-settings.d.ts +117 -3
  82. package/resources/replay-settings.d.ts.map +1 -1
  83. package/resources/session-replays.d.mts +5 -0
  84. package/resources/session-replays.d.mts.map +1 -1
  85. package/resources/session-replays.d.ts +5 -0
  86. package/resources/session-replays.d.ts.map +1 -1
  87. package/resources/short-links.d.mts +722 -10
  88. package/resources/short-links.d.mts.map +1 -1
  89. package/resources/short-links.d.ts +722 -10
  90. package/resources/short-links.d.ts.map +1 -1
  91. package/resources/sources.d.mts +86 -11
  92. package/resources/sources.d.mts.map +1 -1
  93. package/resources/sources.d.ts +86 -11
  94. package/resources/sources.d.ts.map +1 -1
  95. package/resources/tag-manager-tags.d.mts +3 -1
  96. package/resources/tag-manager-tags.d.mts.map +1 -1
  97. package/resources/tag-manager-tags.d.ts +3 -1
  98. package/resources/tag-manager-tags.d.ts.map +1 -1
  99. package/resources/tag-manager-triggers.d.mts +3 -1
  100. package/resources/tag-manager-triggers.d.mts.map +1 -1
  101. package/resources/tag-manager-triggers.d.ts +3 -1
  102. package/resources/tag-manager-triggers.d.ts.map +1 -1
  103. package/resources/tag-manager-variables.d.mts +39 -13
  104. package/resources/tag-manager-variables.d.mts.map +1 -1
  105. package/resources/tag-manager-variables.d.ts +39 -13
  106. package/resources/tag-manager-variables.d.ts.map +1 -1
  107. package/resources/tag-managers.d.mts +14 -1
  108. package/resources/tag-managers.d.mts.map +1 -1
  109. package/resources/tag-managers.d.ts +14 -1
  110. package/resources/tag-managers.d.ts.map +1 -1
  111. package/resources/tag-managers.js +8 -0
  112. package/resources/tag-managers.js.map +1 -1
  113. package/resources/tag-managers.mjs +8 -0
  114. package/resources/tag-managers.mjs.map +1 -1
  115. package/resources/test-events.d.mts +67 -11
  116. package/resources/test-events.d.mts.map +1 -1
  117. package/resources/test-events.d.ts +67 -11
  118. package/resources/test-events.d.ts.map +1 -1
  119. package/resources/versions.d.mts +85 -40
  120. package/resources/versions.d.mts.map +1 -1
  121. package/resources/versions.d.ts +85 -40
  122. package/resources/versions.d.ts.map +1 -1
  123. package/resources/versions.js +8 -8
  124. package/resources/versions.mjs +8 -8
  125. package/resources/video-channels.d.mts +32 -4
  126. package/resources/video-channels.d.mts.map +1 -1
  127. package/resources/video-channels.d.ts +32 -4
  128. package/resources/video-channels.d.ts.map +1 -1
  129. package/src/client.ts +36 -0
  130. package/src/resources/consent-settings.ts +7287 -374
  131. package/src/resources/custom-domains.ts +450 -0
  132. package/src/resources/data-governance.ts +45 -15
  133. package/src/resources/default-mappings.ts +303 -3
  134. package/src/resources/destinations.ts +35 -8
  135. package/src/resources/experiment-variants.ts +131 -14
  136. package/src/resources/experiments.ts +8021 -443
  137. package/src/resources/funnels.ts +1355 -7
  138. package/src/resources/index.ts +15 -0
  139. package/src/resources/journey-flows.ts +1224 -16
  140. package/src/resources/locations.ts +35 -5
  141. package/src/resources/mappings.ts +794 -19
  142. package/src/resources/me.ts +37 -0
  143. package/src/resources/replay-settings.ts +138 -3
  144. package/src/resources/session-replays.ts +6 -0
  145. package/src/resources/short-links.ts +872 -10
  146. package/src/resources/sources.ts +96 -11
  147. package/src/resources/tag-manager-tags.ts +7 -1
  148. package/src/resources/tag-manager-triggers.ts +7 -1
  149. package/src/resources/tag-manager-variables.ts +91 -13
  150. package/src/resources/tag-managers.ts +25 -0
  151. package/src/resources/test-events.ts +47 -11
  152. package/src/resources/versions.ts +86 -40
  153. package/src/resources/video-channels.ts +44 -4
  154. package/src/version.ts +1 -1
  155. package/version.d.mts +1 -1
  156. package/version.d.ts +1 -1
  157. package/version.js +1 -1
  158. package/version.mjs +1 -1
@@ -0,0 +1,450 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { RequestOptions } from '../internal/request-options';
6
+ import { path } from '../internal/utils/path';
7
+
8
+ export class CustomDomains extends APIResource {
9
+ /**
10
+ * Returns the account custom-domain setup, observed DNS values, and `setupStatus`
11
+ * lifecycle guidance, including readiness, blocking domains, and the next
12
+ * recommended action. Reading status also advances certificate setup: it starts
13
+ * certificate validation once DNS is configured and activates the certificate once
14
+ * it is issued. The setup is `null` until created. Requires scope:
15
+ * `distributionTenant:find`. Requires API-key scope or current OAuth user
16
+ * permission: distributionTenant:find
17
+ */
18
+ status(options?: RequestOptions): APIPromise<CustomDomainStatusResponse> {
19
+ return this._client.get('/rest/v1/custom-domains/setup', options);
20
+ }
21
+
22
+ /**
23
+ * Creates the account custom-domain setup and returns its `setupStatus` lifecycle
24
+ * guidance. Each account can have one setup; an existing setup returns HTTP 409.
25
+ * Requires scope: `distributionTenant:create`. Requires API-key scope or current
26
+ * OAuth user permission: distributionTenant:create
27
+ */
28
+ create(options?: RequestOptions): APIPromise<CustomDomainCreateResponse> {
29
+ return this._client.post('/rest/v1/custom-domains', options);
30
+ }
31
+
32
+ /**
33
+ * Replaces the full custom-domain list for this account and returns `setupStatus`
34
+ * lifecycle guidance. The setup `id` is the path identifier. Each account can have
35
+ * up to 10 custom domains. An empty `domains` list removes all custom domains.
36
+ * Duplicate domains are rejected. Domains under `oursprivacy.com` are rejected.
37
+ * Domain delivery and certificate settings are managed by Ours Privacy; DNS
38
+ * changes are customer-managed. Requires scope: `distributionTenant:update`.
39
+ * Requires API-key scope or current OAuth user permission:
40
+ * distributionTenant:update
41
+ */
42
+ replace(
43
+ id: string,
44
+ body: CustomDomainReplaceParams,
45
+ options?: RequestOptions,
46
+ ): APIPromise<CustomDomainReplaceResponse> {
47
+ return this._client.put(path`/rest/v1/custom-domains/${id}`, { body, ...options });
48
+ }
49
+
50
+ /**
51
+ * Checks DNS and certificate status, applies any required certificate changes, and
52
+ * returns updated `setupStatus` lifecycle guidance. Optional: reading the setup
53
+ * status performs the same steps automatically. Use it to retry immediately after
54
+ * configuring the required CNAME or after the certificate is issued. Requires
55
+ * scope: `distributionTenant:update`. Requires API-key scope or current OAuth user
56
+ * permission: distributionTenant:update
57
+ */
58
+ reconcileCertificate(
59
+ id: string,
60
+ options?: RequestOptions,
61
+ ): APIPromise<CustomDomainReconcileCertificateResponse> {
62
+ return this._client.post(path`/rest/v1/custom-domains/${id}/certificate-validation`, options);
63
+ }
64
+ }
65
+
66
+ export interface CustomDomainStatusResponse {
67
+ setup: CustomDomainStatusResponse.Setup | null;
68
+ }
69
+
70
+ export namespace CustomDomainStatusResponse {
71
+ export interface Setup {
72
+ /**
73
+ * Custom-domain setup ID.
74
+ */
75
+ id: string;
76
+
77
+ /**
78
+ * Whether the managed certificate is attached to serve the custom domains.
79
+ */
80
+ certificateActive: boolean;
81
+
82
+ /**
83
+ * Managed certificate issuance status.
84
+ */
85
+ certificateStatus: string | null;
86
+
87
+ createdAt: string | null;
88
+
89
+ domains: Array<Setup.Domain>;
90
+
91
+ enabled: boolean;
92
+
93
+ /**
94
+ * Current custom-domain setup progress and next action.
95
+ */
96
+ setupStatus: Setup.SetupStatus;
97
+
98
+ status: string | null;
99
+
100
+ updatedAt: string | null;
101
+ }
102
+
103
+ export namespace Setup {
104
+ export interface Domain {
105
+ /**
106
+ * Required CNAME target for this domain.
107
+ */
108
+ cnameValue: string;
109
+
110
+ /**
111
+ * Whether DNS points to the required CNAME target.
112
+ */
113
+ dnsStatus: 'configured' | 'notConfigured' | 'wrongEndpoint' | 'error' | null;
114
+
115
+ /**
116
+ * DNS value currently observed for this domain.
117
+ */
118
+ dnsValue: string | null;
119
+
120
+ /**
121
+ * Custom domain attached to the account.
122
+ */
123
+ domain: string;
124
+
125
+ /**
126
+ * Domain attachment status.
127
+ */
128
+ status: 'active' | 'inactive';
129
+ }
130
+
131
+ /**
132
+ * Current custom-domain setup progress and next action.
133
+ */
134
+ export interface SetupStatus {
135
+ blockingDomains: Array<string>;
136
+
137
+ isReady: boolean;
138
+
139
+ message: string;
140
+
141
+ nextAction:
142
+ 'ADD_DOMAINS' | 'CONFIGURE_DNS' | 'RECONCILE_CERTIFICATE' | 'WAIT' | 'CONTACT_SUPPORT' | 'NONE';
143
+
144
+ state:
145
+ | 'NO_DOMAINS'
146
+ | 'DNS_REQUIRED'
147
+ | 'CERTIFICATE_VALIDATION_REQUIRED'
148
+ | 'CERTIFICATE_PENDING'
149
+ | 'CERTIFICATE_ACTIVATION_REQUIRED'
150
+ | 'DEPLOYING'
151
+ | 'READY'
152
+ | 'CERTIFICATE_FAILED'
153
+ | 'DISABLED';
154
+ }
155
+ }
156
+ }
157
+
158
+ export interface CustomDomainCreateResponse {
159
+ setup: CustomDomainCreateResponse.Setup;
160
+ }
161
+
162
+ export namespace CustomDomainCreateResponse {
163
+ export interface Setup {
164
+ /**
165
+ * Custom-domain setup ID.
166
+ */
167
+ id: string;
168
+
169
+ /**
170
+ * Whether the managed certificate is attached to serve the custom domains.
171
+ */
172
+ certificateActive: boolean;
173
+
174
+ /**
175
+ * Managed certificate issuance status.
176
+ */
177
+ certificateStatus: string | null;
178
+
179
+ createdAt: string | null;
180
+
181
+ domains: Array<Setup.Domain>;
182
+
183
+ enabled: boolean;
184
+
185
+ /**
186
+ * Current custom-domain setup progress and next action.
187
+ */
188
+ setupStatus: Setup.SetupStatus;
189
+
190
+ status: string | null;
191
+
192
+ updatedAt: string | null;
193
+ }
194
+
195
+ export namespace Setup {
196
+ export interface Domain {
197
+ /**
198
+ * Required CNAME target for this domain.
199
+ */
200
+ cnameValue: string;
201
+
202
+ /**
203
+ * Whether DNS points to the required CNAME target.
204
+ */
205
+ dnsStatus: 'configured' | 'notConfigured' | 'wrongEndpoint' | 'error' | null;
206
+
207
+ /**
208
+ * DNS value currently observed for this domain.
209
+ */
210
+ dnsValue: string | null;
211
+
212
+ /**
213
+ * Custom domain attached to the account.
214
+ */
215
+ domain: string;
216
+
217
+ /**
218
+ * Domain attachment status.
219
+ */
220
+ status: 'active' | 'inactive';
221
+ }
222
+
223
+ /**
224
+ * Current custom-domain setup progress and next action.
225
+ */
226
+ export interface SetupStatus {
227
+ blockingDomains: Array<string>;
228
+
229
+ isReady: boolean;
230
+
231
+ message: string;
232
+
233
+ nextAction:
234
+ 'ADD_DOMAINS' | 'CONFIGURE_DNS' | 'RECONCILE_CERTIFICATE' | 'WAIT' | 'CONTACT_SUPPORT' | 'NONE';
235
+
236
+ state:
237
+ | 'NO_DOMAINS'
238
+ | 'DNS_REQUIRED'
239
+ | 'CERTIFICATE_VALIDATION_REQUIRED'
240
+ | 'CERTIFICATE_PENDING'
241
+ | 'CERTIFICATE_ACTIVATION_REQUIRED'
242
+ | 'DEPLOYING'
243
+ | 'READY'
244
+ | 'CERTIFICATE_FAILED'
245
+ | 'DISABLED';
246
+ }
247
+ }
248
+ }
249
+
250
+ export interface CustomDomainReplaceResponse {
251
+ setup: CustomDomainReplaceResponse.Setup | null;
252
+ }
253
+
254
+ export namespace CustomDomainReplaceResponse {
255
+ export interface Setup {
256
+ /**
257
+ * Custom-domain setup ID.
258
+ */
259
+ id: string;
260
+
261
+ /**
262
+ * Whether the managed certificate is attached to serve the custom domains.
263
+ */
264
+ certificateActive: boolean;
265
+
266
+ /**
267
+ * Managed certificate issuance status.
268
+ */
269
+ certificateStatus: string | null;
270
+
271
+ createdAt: string | null;
272
+
273
+ domains: Array<Setup.Domain>;
274
+
275
+ enabled: boolean;
276
+
277
+ /**
278
+ * Current custom-domain setup progress and next action.
279
+ */
280
+ setupStatus: Setup.SetupStatus;
281
+
282
+ status: string | null;
283
+
284
+ updatedAt: string | null;
285
+ }
286
+
287
+ export namespace Setup {
288
+ export interface Domain {
289
+ /**
290
+ * Required CNAME target for this domain.
291
+ */
292
+ cnameValue: string;
293
+
294
+ /**
295
+ * Whether DNS points to the required CNAME target.
296
+ */
297
+ dnsStatus: 'configured' | 'notConfigured' | 'wrongEndpoint' | 'error' | null;
298
+
299
+ /**
300
+ * DNS value currently observed for this domain.
301
+ */
302
+ dnsValue: string | null;
303
+
304
+ /**
305
+ * Custom domain attached to the account.
306
+ */
307
+ domain: string;
308
+
309
+ /**
310
+ * Domain attachment status.
311
+ */
312
+ status: 'active' | 'inactive';
313
+ }
314
+
315
+ /**
316
+ * Current custom-domain setup progress and next action.
317
+ */
318
+ export interface SetupStatus {
319
+ blockingDomains: Array<string>;
320
+
321
+ isReady: boolean;
322
+
323
+ message: string;
324
+
325
+ nextAction:
326
+ 'ADD_DOMAINS' | 'CONFIGURE_DNS' | 'RECONCILE_CERTIFICATE' | 'WAIT' | 'CONTACT_SUPPORT' | 'NONE';
327
+
328
+ state:
329
+ | 'NO_DOMAINS'
330
+ | 'DNS_REQUIRED'
331
+ | 'CERTIFICATE_VALIDATION_REQUIRED'
332
+ | 'CERTIFICATE_PENDING'
333
+ | 'CERTIFICATE_ACTIVATION_REQUIRED'
334
+ | 'DEPLOYING'
335
+ | 'READY'
336
+ | 'CERTIFICATE_FAILED'
337
+ | 'DISABLED';
338
+ }
339
+ }
340
+ }
341
+
342
+ export interface CustomDomainReconcileCertificateResponse {
343
+ setup: CustomDomainReconcileCertificateResponse.Setup | null;
344
+ }
345
+
346
+ export namespace CustomDomainReconcileCertificateResponse {
347
+ export interface Setup {
348
+ /**
349
+ * Custom-domain setup ID.
350
+ */
351
+ id: string;
352
+
353
+ /**
354
+ * Whether the managed certificate is attached to serve the custom domains.
355
+ */
356
+ certificateActive: boolean;
357
+
358
+ /**
359
+ * Managed certificate issuance status.
360
+ */
361
+ certificateStatus: string | null;
362
+
363
+ createdAt: string | null;
364
+
365
+ domains: Array<Setup.Domain>;
366
+
367
+ enabled: boolean;
368
+
369
+ /**
370
+ * Current custom-domain setup progress and next action.
371
+ */
372
+ setupStatus: Setup.SetupStatus;
373
+
374
+ status: string | null;
375
+
376
+ updatedAt: string | null;
377
+ }
378
+
379
+ export namespace Setup {
380
+ export interface Domain {
381
+ /**
382
+ * Required CNAME target for this domain.
383
+ */
384
+ cnameValue: string;
385
+
386
+ /**
387
+ * Whether DNS points to the required CNAME target.
388
+ */
389
+ dnsStatus: 'configured' | 'notConfigured' | 'wrongEndpoint' | 'error' | null;
390
+
391
+ /**
392
+ * DNS value currently observed for this domain.
393
+ */
394
+ dnsValue: string | null;
395
+
396
+ /**
397
+ * Custom domain attached to the account.
398
+ */
399
+ domain: string;
400
+
401
+ /**
402
+ * Domain attachment status.
403
+ */
404
+ status: 'active' | 'inactive';
405
+ }
406
+
407
+ /**
408
+ * Current custom-domain setup progress and next action.
409
+ */
410
+ export interface SetupStatus {
411
+ blockingDomains: Array<string>;
412
+
413
+ isReady: boolean;
414
+
415
+ message: string;
416
+
417
+ nextAction:
418
+ 'ADD_DOMAINS' | 'CONFIGURE_DNS' | 'RECONCILE_CERTIFICATE' | 'WAIT' | 'CONTACT_SUPPORT' | 'NONE';
419
+
420
+ state:
421
+ | 'NO_DOMAINS'
422
+ | 'DNS_REQUIRED'
423
+ | 'CERTIFICATE_VALIDATION_REQUIRED'
424
+ | 'CERTIFICATE_PENDING'
425
+ | 'CERTIFICATE_ACTIVATION_REQUIRED'
426
+ | 'DEPLOYING'
427
+ | 'READY'
428
+ | 'CERTIFICATE_FAILED'
429
+ | 'DISABLED';
430
+ }
431
+ }
432
+ }
433
+
434
+ export interface CustomDomainReplaceParams {
435
+ /**
436
+ * Replacement list of up to 10 custom domains. An empty list removes all custom
437
+ * domains. Domains under oursprivacy.com are rejected.
438
+ */
439
+ domains: Array<string>;
440
+ }
441
+
442
+ export declare namespace CustomDomains {
443
+ export {
444
+ type CustomDomainStatusResponse as CustomDomainStatusResponse,
445
+ type CustomDomainCreateResponse as CustomDomainCreateResponse,
446
+ type CustomDomainReplaceResponse as CustomDomainReplaceResponse,
447
+ type CustomDomainReconcileCertificateResponse as CustomDomainReconcileCertificateResponse,
448
+ type CustomDomainReplaceParams as CustomDomainReplaceParams,
449
+ };
450
+ }
@@ -200,20 +200,26 @@ export namespace DataGovernanceListResponse {
200
200
  * All child nodes must match. Each child is itself a logic node (leaf `condition`
201
201
  * or combinator).
202
202
  */
203
- AND?: Array<unknown> | null;
203
+ AND?: Array<{
204
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
205
+ }> | null;
204
206
 
205
207
  condition?: Logic.Condition | null;
206
208
 
207
209
  /**
208
210
  * Negates a single child logic node.
209
211
  */
210
- NOT?: unknown;
212
+ NOT?: {
213
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
214
+ } | null;
211
215
 
212
216
  /**
213
217
  * Any child node must match. Each child is itself a logic node (leaf `condition`
214
218
  * or combinator).
215
219
  */
216
- OR?: Array<unknown> | null;
220
+ OR?: Array<{
221
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
222
+ }> | null;
217
223
  }
218
224
 
219
225
  export namespace Logic {
@@ -395,20 +401,26 @@ export namespace DataGovernanceCreateResponse {
395
401
  * All child nodes must match. Each child is itself a logic node (leaf `condition`
396
402
  * or combinator).
397
403
  */
398
- AND?: Array<unknown> | null;
404
+ AND?: Array<{
405
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
406
+ }> | null;
399
407
 
400
408
  condition?: Logic.Condition | null;
401
409
 
402
410
  /**
403
411
  * Negates a single child logic node.
404
412
  */
405
- NOT?: unknown;
413
+ NOT?: {
414
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
415
+ } | null;
406
416
 
407
417
  /**
408
418
  * Any child node must match. Each child is itself a logic node (leaf `condition`
409
419
  * or combinator).
410
420
  */
411
- OR?: Array<unknown> | null;
421
+ OR?: Array<{
422
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
423
+ }> | null;
412
424
  }
413
425
 
414
426
  export namespace Logic {
@@ -590,20 +602,26 @@ export namespace DataGovernanceRetrieveResponse {
590
602
  * All child nodes must match. Each child is itself a logic node (leaf `condition`
591
603
  * or combinator).
592
604
  */
593
- AND?: Array<unknown> | null;
605
+ AND?: Array<{
606
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
607
+ }> | null;
594
608
 
595
609
  condition?: Logic.Condition | null;
596
610
 
597
611
  /**
598
612
  * Negates a single child logic node.
599
613
  */
600
- NOT?: unknown;
614
+ NOT?: {
615
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
616
+ } | null;
601
617
 
602
618
  /**
603
619
  * Any child node must match. Each child is itself a logic node (leaf `condition`
604
620
  * or combinator).
605
621
  */
606
- OR?: Array<unknown> | null;
622
+ OR?: Array<{
623
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
624
+ }> | null;
607
625
  }
608
626
 
609
627
  export namespace Logic {
@@ -785,20 +803,26 @@ export namespace DataGovernanceUpdateResponse {
785
803
  * All child nodes must match. Each child is itself a logic node (leaf `condition`
786
804
  * or combinator).
787
805
  */
788
- AND?: Array<unknown> | null;
806
+ AND?: Array<{
807
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
808
+ }> | null;
789
809
 
790
810
  condition?: Logic.Condition | null;
791
811
 
792
812
  /**
793
813
  * Negates a single child logic node.
794
814
  */
795
- NOT?: unknown;
815
+ NOT?: {
816
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
817
+ } | null;
796
818
 
797
819
  /**
798
820
  * Any child node must match. Each child is itself a logic node (leaf `condition`
799
821
  * or combinator).
800
822
  */
801
- OR?: Array<unknown> | null;
823
+ OR?: Array<{
824
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
825
+ }> | null;
802
826
  }
803
827
 
804
828
  export namespace Logic {
@@ -997,20 +1021,26 @@ export namespace DataGovernanceUpdateParams {
997
1021
  * All child nodes must match. Each child is itself a logic node (leaf `condition`
998
1022
  * or combinator).
999
1023
  */
1000
- AND?: Array<unknown> | null;
1024
+ AND?: Array<{
1025
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
1026
+ }> | null;
1001
1027
 
1002
1028
  condition?: Logic.Condition | null;
1003
1029
 
1004
1030
  /**
1005
1031
  * Negates a single child logic node.
1006
1032
  */
1007
- NOT?: unknown;
1033
+ NOT?: {
1034
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
1035
+ } | null;
1008
1036
 
1009
1037
  /**
1010
1038
  * Any child node must match. Each child is itself a logic node (leaf `condition`
1011
1039
  * or combinator).
1012
1040
  */
1013
- OR?: Array<unknown> | null;
1041
+ OR?: Array<{
1042
+ [key: string]: string | null | number | boolean | Array<unknown> | { [key: string]: unknown };
1043
+ }> | null;
1014
1044
  }
1015
1045
 
1016
1046
  export namespace Logic {