@oursprivacy/platform-sdk 1.9.0 → 1.11.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 (64) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/allowed-events.d.mts +1 -1
  10. package/resources/allowed-events.d.mts.map +1 -1
  11. package/resources/allowed-events.d.ts +1 -1
  12. package/resources/allowed-events.d.ts.map +1 -1
  13. package/resources/consent-settings.d.mts +126 -12
  14. package/resources/consent-settings.d.mts.map +1 -1
  15. package/resources/consent-settings.d.ts +126 -12
  16. package/resources/consent-settings.d.ts.map +1 -1
  17. package/resources/destinations.d.mts +8 -8
  18. package/resources/destinations.d.mts.map +1 -1
  19. package/resources/destinations.d.ts +8 -8
  20. package/resources/destinations.d.ts.map +1 -1
  21. package/resources/global-dispatch-centers.d.mts +221 -7
  22. package/resources/global-dispatch-centers.d.mts.map +1 -1
  23. package/resources/global-dispatch-centers.d.ts +221 -7
  24. package/resources/global-dispatch-centers.d.ts.map +1 -1
  25. package/resources/global-dispatch-centers.js +2 -2
  26. package/resources/global-dispatch-centers.js.map +1 -1
  27. package/resources/global-dispatch-centers.mjs +2 -2
  28. package/resources/global-dispatch-centers.mjs.map +1 -1
  29. package/resources/index.d.mts +1 -1
  30. package/resources/index.d.mts.map +1 -1
  31. package/resources/index.d.ts +1 -1
  32. package/resources/index.d.ts.map +1 -1
  33. package/resources/index.js.map +1 -1
  34. package/resources/index.mjs.map +1 -1
  35. package/resources/replay-settings.d.mts +13 -5
  36. package/resources/replay-settings.d.mts.map +1 -1
  37. package/resources/replay-settings.d.ts +13 -5
  38. package/resources/replay-settings.d.ts.map +1 -1
  39. package/resources/sources.d.mts +6 -6
  40. package/resources/sources.d.mts.map +1 -1
  41. package/resources/sources.d.ts +6 -6
  42. package/resources/sources.d.ts.map +1 -1
  43. package/resources/versions.d.mts +11 -11
  44. package/resources/versions.d.mts.map +1 -1
  45. package/resources/versions.d.ts +11 -11
  46. package/resources/versions.d.ts.map +1 -1
  47. package/src/client.ts +2 -0
  48. package/src/resources/allowed-events.ts +1 -1
  49. package/src/resources/consent-settings.ts +196 -12
  50. package/src/resources/destinations.ts +8 -3
  51. package/src/resources/global-dispatch-centers.ts +251 -7
  52. package/src/resources/index.ts +1 -0
  53. package/src/resources/replay-settings.ts +19 -5
  54. package/src/resources/sources.ts +6 -6
  55. package/src/resources/versions.ts +11 -11
  56. package/src/version.ts +1 -1
  57. package/version.d.mts +1 -1
  58. package/version.d.mts.map +1 -1
  59. package/version.d.ts +1 -1
  60. package/version.d.ts.map +1 -1
  61. package/version.js +1 -1
  62. package/version.js.map +1 -1
  63. package/version.mjs +1 -1
  64. package/version.mjs.map +1 -1
@@ -16,7 +16,7 @@ export class ConsentSettings extends APIResource {
16
16
  /**
17
17
  * Find a single consent setting by ID. Requires scope: consentSettings:find
18
18
  */
19
- retrieve(id: string, options?: RequestOptions): APIPromise<unknown> {
19
+ retrieve(id: string, options?: RequestOptions): APIPromise<ConsentSettingRetrieveResponse | null> {
20
20
  return this._client.get(path`/rest/v1/consent-settings/${id}`, options);
21
21
  }
22
22
 
@@ -54,7 +54,191 @@ export interface ConsentSettingCreateResponse {
54
54
  consentSettings?: unknown | null;
55
55
  }
56
56
 
57
- export type ConsentSettingRetrieveResponse = unknown;
57
+ export interface ConsentSettingRetrieveResponse {
58
+ id: string;
59
+
60
+ categories: Array<ConsentSettingRetrieveResponse.Category>;
61
+
62
+ createdAt: string;
63
+
64
+ default: ConsentSettingRetrieveResponse.Default;
65
+
66
+ kind: string;
67
+
68
+ name: string;
69
+
70
+ regions: Array<ConsentSettingRetrieveResponse.Region>;
71
+
72
+ services: Array<ConsentSettingRetrieveResponse.Service>;
73
+
74
+ status: 'Disabled' | 'Enabled';
75
+
76
+ consentCookieName?: string | null;
77
+
78
+ customDomain?: string | null;
79
+
80
+ revision?: number | null;
81
+
82
+ skipBlockingClassNames?: Array<string> | null;
83
+
84
+ updatedAt?: string | null;
85
+
86
+ webSDKToken?: string | null;
87
+
88
+ whitelistDomains?: Array<string> | null;
89
+ }
90
+
91
+ export namespace ConsentSettingRetrieveResponse {
92
+ export interface Category {
93
+ label: string;
94
+
95
+ priority: number;
96
+
97
+ value: string;
98
+ }
99
+
100
+ export interface Default {
101
+ categories: Array<Default.Category>;
102
+
103
+ language: string;
104
+
105
+ mode: 'opt_in' | 'opt_out';
106
+
107
+ translations: Array<Default.Translation>;
108
+
109
+ autoblockUnknown?: boolean | null;
110
+
111
+ autoShow?: boolean | null;
112
+
113
+ autoShowDismissConfig?: unknown | null;
114
+
115
+ autoShowDismissMode?: string | null;
116
+
117
+ disablePageInteraction?: boolean | null;
118
+
119
+ guiOptions?: unknown | null;
120
+
121
+ hideFromBots?: boolean | null;
122
+
123
+ showVendorsInPreferences?: boolean | null;
124
+ }
125
+
126
+ export namespace Default {
127
+ export interface Category {
128
+ key: string;
129
+
130
+ value: Category.Value;
131
+ }
132
+
133
+ export namespace Category {
134
+ export interface Value {
135
+ enabled: boolean;
136
+
137
+ autoDisableOnGPC?: boolean | null;
138
+
139
+ readOnly?: boolean | null;
140
+
141
+ reloadPage?: boolean | null;
142
+ }
143
+ }
144
+
145
+ export interface Translation {
146
+ language: string;
147
+
148
+ value: Translation.Value;
149
+ }
150
+
151
+ export namespace Translation {
152
+ export interface Value {
153
+ consentModal?: unknown | null;
154
+
155
+ preferencesModal?: unknown | null;
156
+ }
157
+ }
158
+ }
159
+
160
+ export interface Region {
161
+ regionCode: string;
162
+
163
+ rule: Region.Rule;
164
+
165
+ additionalRegions?: Array<string> | null;
166
+ }
167
+
168
+ export namespace Region {
169
+ export interface Rule {
170
+ categories: Array<Rule.Category>;
171
+
172
+ language: string;
173
+
174
+ mode: 'opt_in' | 'opt_out';
175
+
176
+ translations: Array<Rule.Translation>;
177
+
178
+ autoblockUnknown?: boolean | null;
179
+
180
+ autoShow?: boolean | null;
181
+
182
+ autoShowDismissConfig?: unknown | null;
183
+
184
+ autoShowDismissMode?: string | null;
185
+
186
+ disablePageInteraction?: boolean | null;
187
+
188
+ guiOptions?: unknown | null;
189
+
190
+ hideFromBots?: boolean | null;
191
+
192
+ showVendorsInPreferences?: boolean | null;
193
+ }
194
+
195
+ export namespace Rule {
196
+ export interface Category {
197
+ key: string;
198
+
199
+ value: Category.Value;
200
+ }
201
+
202
+ export namespace Category {
203
+ export interface Value {
204
+ enabled: boolean;
205
+
206
+ autoDisableOnGPC?: boolean | null;
207
+
208
+ readOnly?: boolean | null;
209
+
210
+ reloadPage?: boolean | null;
211
+ }
212
+ }
213
+
214
+ export interface Translation {
215
+ language: string;
216
+
217
+ value: Translation.Value;
218
+ }
219
+
220
+ export namespace Translation {
221
+ export interface Value {
222
+ consentModal?: unknown | null;
223
+
224
+ preferencesModal?: unknown | null;
225
+ }
226
+ }
227
+ }
228
+ }
229
+
230
+ export interface Service {
231
+ internalNotes: string;
232
+
233
+ label: string;
234
+
235
+ additionalCategories?: Array<string> | null;
236
+
237
+ category?: string | null;
238
+
239
+ domainPatterns?: Array<string> | null;
240
+ }
241
+ }
58
242
 
59
243
  export interface ConsentSettingUpdateResponse {
60
244
  isSuccess: boolean;
@@ -94,13 +278,13 @@ export namespace ConsentSettingListResponse {
94
278
 
95
279
  revision?: number | null;
96
280
 
97
- skipBlockingClassNames?: Array<unknown> | null;
281
+ skipBlockingClassNames?: Array<string> | null;
98
282
 
99
283
  updatedAt?: string | null;
100
284
 
101
285
  webSDKToken?: string | null;
102
286
 
103
- whitelistDomains?: Array<unknown> | null;
287
+ whitelistDomains?: Array<string> | null;
104
288
  }
105
289
 
106
290
  export namespace Entity {
@@ -177,7 +361,7 @@ export namespace ConsentSettingListResponse {
177
361
 
178
362
  rule: Region.Rule;
179
363
 
180
- additionalRegions?: Array<unknown> | null;
364
+ additionalRegions?: Array<string> | null;
181
365
  }
182
366
 
183
367
  export namespace Region {
@@ -247,11 +431,11 @@ export namespace ConsentSettingListResponse {
247
431
 
248
432
  label: string;
249
433
 
250
- additionalCategories?: Array<unknown> | null;
434
+ additionalCategories?: Array<string> | null;
251
435
 
252
436
  category?: string | null;
253
437
 
254
- domainPatterns?: Array<unknown> | null;
438
+ domainPatterns?: Array<string> | null;
255
439
  }
256
440
  }
257
441
  }
@@ -289,11 +473,11 @@ export interface ConsentSettingUpdateParams {
289
473
 
290
474
  revision?: number | null;
291
475
 
292
- skipBlockingClassNames?: Array<unknown> | null;
476
+ skipBlockingClassNames?: Array<string> | null;
293
477
 
294
478
  webSDKToken?: string | null;
295
479
 
296
- whitelistDomains?: Array<unknown> | null;
480
+ whitelistDomains?: Array<string> | null;
297
481
  }
298
482
 
299
483
  export namespace ConsentSettingUpdateParams {
@@ -370,7 +554,7 @@ export namespace ConsentSettingUpdateParams {
370
554
 
371
555
  rule: Region.Rule;
372
556
 
373
- additionalRegions?: Array<unknown> | null;
557
+ additionalRegions?: Array<string> | null;
374
558
  }
375
559
 
376
560
  export namespace Region {
@@ -440,11 +624,11 @@ export namespace ConsentSettingUpdateParams {
440
624
 
441
625
  label: string;
442
626
 
443
- additionalCategories?: Array<unknown> | null;
627
+ additionalCategories?: Array<string> | null;
444
628
 
445
629
  category?: string | null;
446
630
 
447
- domainPatterns?: Array<unknown> | null;
631
+ domainPatterns?: Array<string> | null;
448
632
  }
449
633
  }
450
634
 
@@ -111,6 +111,7 @@ export interface DestinationCreateResponse {
111
111
  | 'QuantcastCAPI'
112
112
  | 'QuoraAds'
113
113
  | 'Reddit'
114
+ | 'RokuCAPI'
114
115
  | 'SnapchatAdsCapi'
115
116
  | 'Spotify'
116
117
  | 'StackAdaptAPI'
@@ -196,6 +197,7 @@ export interface DestinationRetrieveResponse {
196
197
  | 'QuantcastCAPI'
197
198
  | 'QuoraAds'
198
199
  | 'Reddit'
200
+ | 'RokuCAPI'
199
201
  | 'SnapchatAdsCapi'
200
202
  | 'Spotify'
201
203
  | 'StackAdaptAPI'
@@ -225,7 +227,7 @@ export interface DestinationRetrieveResponse {
225
227
 
226
228
  httpDestinationUrl?: string | null;
227
229
 
228
- limitedToSourceIds?: Array<unknown> | null;
230
+ limitedToSourceIds?: Array<string> | null;
229
231
 
230
232
  managerGoogleCustomerId?: string | null;
231
233
 
@@ -307,6 +309,7 @@ export interface DestinationUpdateResponse {
307
309
  | 'QuantcastCAPI'
308
310
  | 'QuoraAds'
309
311
  | 'Reddit'
312
+ | 'RokuCAPI'
310
313
  | 'SnapchatAdsCapi'
311
314
  | 'Spotify'
312
315
  | 'StackAdaptAPI'
@@ -397,6 +400,7 @@ export namespace DestinationListResponse {
397
400
  | 'QuantcastCAPI'
398
401
  | 'QuoraAds'
399
402
  | 'Reddit'
403
+ | 'RokuCAPI'
400
404
  | 'SnapchatAdsCapi'
401
405
  | 'Spotify'
402
406
  | 'StackAdaptAPI'
@@ -426,7 +430,7 @@ export namespace DestinationListResponse {
426
430
 
427
431
  httpDestinationUrl?: string | null;
428
432
 
429
- limitedToSourceIds?: Array<unknown> | null;
433
+ limitedToSourceIds?: Array<string> | null;
430
434
 
431
435
  managerGoogleCustomerId?: string | null;
432
436
 
@@ -505,6 +509,7 @@ export interface DestinationCreateParams {
505
509
  | 'QuantcastCAPI'
506
510
  | 'QuoraAds'
507
511
  | 'Reddit'
512
+ | 'RokuCAPI'
508
513
  | 'SnapchatAdsCapi'
509
514
  | 'Spotify'
510
515
  | 'StackAdaptAPI'
@@ -540,7 +545,7 @@ export interface DestinationUpdateParams {
540
545
 
541
546
  httpDestinationUrl?: string | null;
542
547
 
543
- limitedToSourceIds?: Array<unknown> | null;
548
+ limitedToSourceIds?: Array<string> | null;
544
549
 
545
550
  managerGoogleCustomerId?: string | null;
546
551
 
@@ -9,14 +9,17 @@ export class GlobalDispatchCenters extends APIResource {
9
9
  /**
10
10
  * Create a new global dispatch center. Requires scope: globalDispatch:create
11
11
  */
12
- create(options?: RequestOptions): APIPromise<GlobalDispatchCenterCreateResponse> {
13
- return this._client.post('/rest/v1/global-dispatch-centers', options);
12
+ create(
13
+ body: GlobalDispatchCenterCreateParams,
14
+ options?: RequestOptions,
15
+ ): APIPromise<GlobalDispatchCenterCreateResponse> {
16
+ return this._client.post('/rest/v1/global-dispatch-centers', { body, ...options });
14
17
  }
15
18
 
16
19
  /**
17
20
  * Find a single global dispatch center by ID. Requires scope: globalDispatch:find
18
21
  */
19
- retrieve(id: string, options?: RequestOptions): APIPromise<unknown> {
22
+ retrieve(id: string, options?: RequestOptions): APIPromise<GlobalDispatchCenterRetrieveResponse | null> {
20
23
  return this._client.get(path`/rest/v1/global-dispatch-centers/${id}`, options);
21
24
  }
22
25
 
@@ -47,32 +50,141 @@ export class GlobalDispatchCenters extends APIResource {
47
50
  }
48
51
 
49
52
  export interface GlobalDispatchCenterCreateResponse {
53
+ /**
54
+ * Server-assigned UUID for this dispatch center.
55
+ */
50
56
  id: string;
51
57
 
58
+ /**
59
+ * ISO 8601 timestamp when the center was created.
60
+ */
52
61
  createdAt: string;
53
62
 
63
+ /**
64
+ * When false, the dispatch center is configured but does not route events.
65
+ */
54
66
  isEnabled: boolean;
55
67
 
68
+ /**
69
+ * Discriminator for the entity type. Always "globalDispatchCenter".
70
+ */
56
71
  kind: string;
57
72
 
73
+ /**
74
+ * Human-readable name shown in the dashboard.
75
+ */
58
76
  name?: string | null;
59
77
 
78
+ /**
79
+ * ISO 8601 timestamp of the last write. Equal to createdAt on a freshly created
80
+ * center; advances on every PATCH.
81
+ */
60
82
  updatedAt?: string | null;
61
83
  }
62
84
 
63
- export type GlobalDispatchCenterRetrieveResponse = unknown;
85
+ export interface GlobalDispatchCenterRetrieveResponse {
86
+ /**
87
+ * Server-assigned UUID for this dispatch center.
88
+ */
89
+ id: string;
90
+
91
+ /**
92
+ * ISO 8601 timestamp when the center was created.
93
+ */
94
+ createdAt: string;
95
+
96
+ /**
97
+ * When false, the dispatch center is configured but does not route events.
98
+ */
99
+ isEnabled: boolean;
100
+
101
+ /**
102
+ * Discriminator for the entity type. Always "globalDispatchCenter".
103
+ */
104
+ kind: string;
105
+
106
+ /**
107
+ * Routing categories in priority order (1..N).
108
+ */
109
+ categories?: Array<GlobalDispatchCenterRetrieveResponse.Category> | null;
110
+
111
+ /**
112
+ * Human-readable name shown in the dashboard.
113
+ */
114
+ name?: string | null;
115
+
116
+ /**
117
+ * Free-form notes for this center.
118
+ */
119
+ notes?: string | null;
120
+
121
+ /**
122
+ * ISO 8601 timestamp of the last write. Equal to createdAt on a freshly created
123
+ * center; advances on every PATCH.
124
+ */
125
+ updatedAt?: string | null;
126
+ }
127
+
128
+ export namespace GlobalDispatchCenterRetrieveResponse {
129
+ export interface Category {
130
+ /**
131
+ * Display name for the category.
132
+ */
133
+ name: string;
134
+
135
+ /**
136
+ * 1-indexed sort position. Always equals (sorted index + 1) — see PATCH for
137
+ * details.
138
+ */
139
+ priority: number;
140
+
141
+ /**
142
+ * Optional human-readable description.
143
+ */
144
+ description?: string | null;
145
+
146
+ /**
147
+ * Destinations that receive events matching this category.
148
+ */
149
+ destinationIds?: Array<string> | null;
150
+
151
+ /**
152
+ * Optional condition tree gating which events match this category.
153
+ */
154
+ logic?: unknown | null;
155
+ }
156
+ }
64
157
 
65
158
  export interface GlobalDispatchCenterUpdateResponse {
159
+ /**
160
+ * Server-assigned UUID for this dispatch center.
161
+ */
66
162
  id: string;
67
163
 
164
+ /**
165
+ * ISO 8601 timestamp when the center was created.
166
+ */
68
167
  createdAt: string;
69
168
 
169
+ /**
170
+ * When false, the dispatch center is configured but does not route events.
171
+ */
70
172
  isEnabled: boolean;
71
173
 
174
+ /**
175
+ * Discriminator for the entity type. Always "globalDispatchCenter".
176
+ */
72
177
  kind: string;
73
178
 
179
+ /**
180
+ * Human-readable name shown in the dashboard.
181
+ */
74
182
  name?: string | null;
75
183
 
184
+ /**
185
+ * ISO 8601 timestamp of the last write. Equal to createdAt on a freshly created
186
+ * center; advances on every PATCH.
187
+ */
76
188
  updatedAt?: string | null;
77
189
  }
78
190
 
@@ -82,36 +194,167 @@ export interface GlobalDispatchCenterListResponse {
82
194
 
83
195
  export namespace GlobalDispatchCenterListResponse {
84
196
  export interface Entity {
197
+ /**
198
+ * Server-assigned UUID for this dispatch center.
199
+ */
85
200
  id: string;
86
201
 
202
+ /**
203
+ * ISO 8601 timestamp when the center was created.
204
+ */
87
205
  createdAt: string;
88
206
 
207
+ /**
208
+ * When false, the dispatch center is configured but does not route events.
209
+ */
89
210
  isEnabled: boolean;
90
211
 
212
+ /**
213
+ * Discriminator for the entity type. Always "globalDispatchCenter".
214
+ */
91
215
  kind: string;
92
216
 
93
- categories?: Array<unknown> | null;
217
+ /**
218
+ * Routing categories in priority order (1..N).
219
+ */
220
+ categories?: Array<Entity.Category> | null;
94
221
 
222
+ /**
223
+ * Human-readable name shown in the dashboard.
224
+ */
95
225
  name?: string | null;
96
226
 
227
+ /**
228
+ * Free-form notes for this center.
229
+ */
97
230
  notes?: string | null;
98
231
 
232
+ /**
233
+ * ISO 8601 timestamp of the last write. Equal to createdAt on a freshly created
234
+ * center; advances on every PATCH.
235
+ */
99
236
  updatedAt?: string | null;
100
237
  }
238
+
239
+ export namespace Entity {
240
+ export interface Category {
241
+ /**
242
+ * Display name for the category.
243
+ */
244
+ name: string;
245
+
246
+ /**
247
+ * 1-indexed sort position. Always equals (sorted index + 1) — see PATCH for
248
+ * details.
249
+ */
250
+ priority: number;
251
+
252
+ /**
253
+ * Optional human-readable description.
254
+ */
255
+ description?: string | null;
256
+
257
+ /**
258
+ * Destinations that receive events matching this category.
259
+ */
260
+ destinationIds?: Array<string> | null;
261
+
262
+ /**
263
+ * Optional condition tree gating which events match this category.
264
+ */
265
+ logic?: unknown | null;
266
+ }
267
+ }
101
268
  }
102
269
 
103
- export type GlobalDispatchCenterDeleteResponse = boolean;
270
+ export interface GlobalDispatchCenterDeleteResponse {
271
+ /**
272
+ * The id of the dispatch center that was deleted.
273
+ */
274
+ id: string;
275
+
276
+ /**
277
+ * True when the underlying mutation succeeded; the entity is gone.
278
+ */
279
+ deleted: boolean;
280
+ }
281
+
282
+ export interface GlobalDispatchCenterCreateParams {
283
+ /**
284
+ * Whether the center starts enabled. Defaults to false — opt in by setting true
285
+ * here or via PATCH later.
286
+ */
287
+ isEnabled?: boolean | null;
288
+
289
+ /**
290
+ * Display name for the new center. Defaults to "Consent Dispatch Center".
291
+ */
292
+ name?: string | null;
293
+
294
+ /**
295
+ * Free-form notes shown in the dashboard. Not used for routing.
296
+ */
297
+ notes?: string | null;
298
+ }
104
299
 
105
300
  export interface GlobalDispatchCenterUpdateParams {
106
- categories?: Array<unknown> | null;
301
+ /**
302
+ * Full replacement of the categories list. Categories are sorted by priority on
303
+ * write and re-stamped 1..N — see the priority field. Omit to leave existing
304
+ * categories untouched.
305
+ */
306
+ categories?: Array<GlobalDispatchCenterUpdateParams.Category> | null;
107
307
 
308
+ /**
309
+ * Toggle the dispatch center on/off without changing any other config.
310
+ */
108
311
  isEnabled?: boolean | null;
109
312
 
313
+ /**
314
+ * New display name for the center.
315
+ */
110
316
  name?: string | null;
111
317
 
318
+ /**
319
+ * Replace the free-form notes.
320
+ */
112
321
  notes?: string | null;
113
322
  }
114
323
 
324
+ export namespace GlobalDispatchCenterUpdateParams {
325
+ export interface Category {
326
+ /**
327
+ * Optional human-readable description shown in the dashboard.
328
+ */
329
+ description?: string | null;
330
+
331
+ /**
332
+ * Destinations that receive events matching this category. Stale IDs (deleted
333
+ * destinations or ones from another account) are silently filtered out at write
334
+ * time.
335
+ */
336
+ destinationIds?: Array<string> | null;
337
+
338
+ /**
339
+ * Optional condition tree. When set, only matching events route to this category.
340
+ */
341
+ logic?: unknown | null;
342
+
343
+ /**
344
+ * Display name for the category. Auto-generated if omitted.
345
+ */
346
+ name?: string | null;
347
+
348
+ /**
349
+ * Used as a sort key on write. The server sorts categories by this value
350
+ * (ascending), then re-stamps priority as (sorted index + 1) on persist. Send any
351
+ * positive number — gaps are ironed out, duplicate values keep input order via
352
+ * stable sort. Omit to fall to the end.
353
+ */
354
+ priority?: number | null;
355
+ }
356
+ }
357
+
115
358
  export declare namespace GlobalDispatchCenters {
116
359
  export {
117
360
  type GlobalDispatchCenterCreateResponse as GlobalDispatchCenterCreateResponse,
@@ -119,6 +362,7 @@ export declare namespace GlobalDispatchCenters {
119
362
  type GlobalDispatchCenterUpdateResponse as GlobalDispatchCenterUpdateResponse,
120
363
  type GlobalDispatchCenterListResponse as GlobalDispatchCenterListResponse,
121
364
  type GlobalDispatchCenterDeleteResponse as GlobalDispatchCenterDeleteResponse,
365
+ type GlobalDispatchCenterCreateParams as GlobalDispatchCenterCreateParams,
122
366
  type GlobalDispatchCenterUpdateParams as GlobalDispatchCenterUpdateParams,
123
367
  };
124
368
  }
@@ -34,6 +34,7 @@ export {
34
34
  type GlobalDispatchCenterUpdateResponse,
35
35
  type GlobalDispatchCenterListResponse,
36
36
  type GlobalDispatchCenterDeleteResponse,
37
+ type GlobalDispatchCenterCreateParams,
37
38
  type GlobalDispatchCenterUpdateParams,
38
39
  } from './global-dispatch-centers';
39
40
  export {