@wix/auto_sdk_ecom_delivery-profile 1.0.43 → 1.0.44

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 (134) hide show
  1. package/build/{cjs/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.mts} +371 -136
  2. package/build/{internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.ts} +371 -136
  3. package/build/index.d.mts +176 -0
  4. package/build/index.d.ts +176 -0
  5. package/build/index.js +1260 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +1213 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.mts} +371 -136
  10. package/build/{es/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → internal/ecom-v1-delivery-profile-delivery-profile.universal-CQYvMtsF.d.ts} +371 -136
  11. package/build/internal/index.d.mts +176 -0
  12. package/build/internal/index.d.ts +176 -0
  13. package/build/internal/index.js +1260 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +1213 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +733 -0
  18. package/build/internal/meta.d.ts +733 -0
  19. package/build/internal/meta.js +855 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +813 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +733 -0
  24. package/build/meta.d.ts +733 -0
  25. package/build/meta.js +855 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +813 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
  40. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -31
  41. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
  42. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
  43. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -567
  44. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
  45. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
  46. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -344
  47. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
  48. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
  49. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -111
  50. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
  51. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -142
  52. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
  53. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
  54. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -967
  55. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
  67. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -20
  68. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
  69. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
  70. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -548
  71. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
  72. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
  73. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -302
  74. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
  75. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
  76. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -84
  77. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
  78. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -139
  79. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
  80. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
  81. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -925
  82. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
  93. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -31
  94. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
  95. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
  96. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -567
  97. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
  98. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
  99. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -344
  100. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
  101. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
  102. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -111
  103. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
  104. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -142
  105. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
  106. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
  107. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -967
  108. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.d.ts +0 -20
  119. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.js +0 -20
  120. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.context.js.map +0 -1
  121. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.d.ts +0 -73
  122. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.js +0 -548
  123. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.http.js.map +0 -1
  124. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.d.ts +0 -46
  125. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js +0 -302
  126. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.meta.js.map +0 -1
  127. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.d.ts +0 -159
  128. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.js +0 -84
  129. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.public.js.map +0 -1
  130. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.types.js +0 -139
  131. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.types.js.map +0 -1
  132. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.d.ts +0 -2011
  133. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -925
  134. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
@@ -4,13 +4,13 @@
4
4
  * Read more about DeliveryProfiles
5
5
  * in this [article](<LINK_TO_KB_ARTICLE>).
6
6
  */
7
- export interface DeliveryProfile {
7
+ interface DeliveryProfile {
8
8
  /**
9
9
  * DeliveryProfile ID.
10
10
  * @format GUID
11
11
  * @readonly
12
12
  */
13
- id?: string | null;
13
+ _id?: string | null;
14
14
  /**
15
15
  * DeliveryProfile name.
16
16
  * @minLength 1
@@ -38,23 +38,23 @@ export interface DeliveryProfile {
38
38
  * Date and time the DeliveryProfile was created.
39
39
  * @readonly
40
40
  */
41
- createdDate?: Date | null;
41
+ _createdDate?: Date | null;
42
42
  /**
43
43
  * Date and time the DeliveryProfile was last updated.
44
44
  * @readonly
45
45
  */
46
- updatedDate?: Date | null;
46
+ _updatedDate?: Date | null;
47
47
  /** [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields ) must be configured in the app dashboard before they can be accessed with API calls. */
48
48
  extendedFields?: ExtendedFields;
49
49
  }
50
50
  /** DeliveryRegion can be used to config a Delivery Destinations with its providers */
51
- export interface DeliveryRegion {
51
+ interface DeliveryRegion {
52
52
  /**
53
53
  * The delivery region id.
54
54
  * @format GUID
55
55
  * @readonly
56
56
  */
57
- id?: string | null;
57
+ _id?: string | null;
58
58
  /**
59
59
  * Optional name of the region, for example: "Domestic".
60
60
  * @minLength 1
@@ -78,9 +78,9 @@ export interface DeliveryRegion {
78
78
  * Represents the time this Profile was created
79
79
  * @readonly
80
80
  */
81
- createdDate?: Date | null;
81
+ _createdDate?: Date | null;
82
82
  }
83
- export interface DeliveryCarrier {
83
+ interface DeliveryCarrier {
84
84
  /**
85
85
  * AppDefId of the provider as it is registered in the [app dashboard](https://dev.wix.com/dc3/my-apps/). Can be fetched by listDeliveryProvider api.
86
86
  * @format GUID
@@ -94,7 +94,7 @@ export interface DeliveryCarrier {
94
94
  */
95
95
  additionalCharges?: AdditionalCharge[];
96
96
  }
97
- export interface BackupRate {
97
+ interface BackupRate {
98
98
  /**
99
99
  * Default rate prefix that will concatenate to the delivery options the provider will offer.
100
100
  * @minLength 1
@@ -133,7 +133,7 @@ export interface BackupRate {
133
133
  /** Should the default rate be used. Default value is false. */
134
134
  active?: boolean;
135
135
  }
136
- export interface AdditionalCharge {
136
+ interface AdditionalCharge {
137
137
  /**
138
138
  * Additional charge type.
139
139
  * @deprecated Additional charge type.
@@ -159,13 +159,13 @@ export interface AdditionalCharge {
159
159
  */
160
160
  amount?: string;
161
161
  }
162
- export declare enum ChargeType {
162
+ declare enum ChargeType {
163
163
  HANDLING_FEE = "HANDLING_FEE"
164
164
  }
165
165
  /** @enumType */
166
- export type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
166
+ type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
167
167
  /** Defines the area inside one country that is relevant for this rule. */
168
- export interface Destination {
168
+ interface Destination {
169
169
  /**
170
170
  * 2-letters code represents the country of the delivery destinations
171
171
  * @format COUNTRY
@@ -180,7 +180,7 @@ export interface Destination {
180
180
  */
181
181
  subdivisions?: string[];
182
182
  }
183
- export interface CreatedBy extends CreatedByIdOneOf {
183
+ interface CreatedBy extends CreatedByIdOneOf {
184
184
  /**
185
185
  * App ID - when the delivery profile was created by an external application or Wix service.
186
186
  * @format GUID
@@ -193,7 +193,7 @@ export interface CreatedBy extends CreatedByIdOneOf {
193
193
  userId?: string | null;
194
194
  }
195
195
  /** @oneof */
196
- export interface CreatedByIdOneOf {
196
+ interface CreatedByIdOneOf {
197
197
  /**
198
198
  * App ID - when the delivery profile was created by an external application or Wix service.
199
199
  * @format GUID
@@ -205,7 +205,7 @@ export interface CreatedByIdOneOf {
205
205
  */
206
206
  userId?: string | null;
207
207
  }
208
- export interface ExtendedFields {
208
+ interface ExtendedFields {
209
209
  /**
210
210
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
211
211
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -216,7 +216,7 @@ export interface ExtendedFields {
216
216
  */
217
217
  namespaces?: Record<string, Record<string, any>>;
218
218
  }
219
- export interface DeliveryRegionAdded {
219
+ interface DeliveryRegionAdded {
220
220
  /**
221
221
  * The DeliveryProfile owns this region.
222
222
  * @format GUID
@@ -251,9 +251,9 @@ export interface DeliveryRegionAdded {
251
251
  * Represents the time this Profile was created
252
252
  * @readonly
253
253
  */
254
- createdDate?: Date | null;
254
+ _createdDate?: Date | null;
255
255
  }
256
- export interface DeliveryRegionRemoved {
256
+ interface DeliveryRegionRemoved {
257
257
  /**
258
258
  * The DeliveryProfile owns this region.
259
259
  * @format GUID
@@ -262,7 +262,7 @@ export interface DeliveryRegionRemoved {
262
262
  /** The removed DeliveryRegion id. */
263
263
  deliveryRegionId?: string;
264
264
  }
265
- export interface DeliveryRegionUpdated {
265
+ interface DeliveryRegionUpdated {
266
266
  /**
267
267
  * The DeliveryProfile owns this DeliveryRegion.
268
268
  * @format GUID
@@ -297,58 +297,58 @@ export interface DeliveryRegionUpdated {
297
297
  * Represents the time this Profile was created
298
298
  * @readonly
299
299
  */
300
- createdDate?: Date | null;
300
+ _createdDate?: Date | null;
301
301
  }
302
- export interface CreateDeliveryProfileRequest {
302
+ interface CreateDeliveryProfileRequest {
303
303
  /** DeliveryProfile to be created. */
304
304
  deliveryProfile: DeliveryProfile;
305
305
  }
306
- export interface CreateDeliveryProfileResponse {
306
+ interface CreateDeliveryProfileResponse {
307
307
  /** The created DeliveryProfile. */
308
308
  deliveryProfile?: DeliveryProfile;
309
309
  }
310
- export interface GetDeliveryProfileRequest {
310
+ interface GetDeliveryProfileRequest {
311
311
  /**
312
312
  * ID of the DeliveryProfile to retrieve.
313
313
  * @format GUID
314
314
  */
315
315
  deliveryProfileId: string;
316
316
  }
317
- export interface GetDeliveryProfileResponse {
317
+ interface GetDeliveryProfileResponse {
318
318
  /** The requested DeliveryProfile. */
319
319
  deliveryProfile?: DeliveryProfile;
320
320
  }
321
- export interface UpdateDeliveryProfileRequest {
321
+ interface UpdateDeliveryProfileRequest {
322
322
  /** DeliveryProfile to be updated, may be partial. */
323
323
  deliveryProfile: DeliveryProfile;
324
324
  }
325
- export interface UpdateDeliveryProfileResponse {
325
+ interface UpdateDeliveryProfileResponse {
326
326
  /** Updated DeliveryProfile. */
327
327
  deliveryProfile?: DeliveryProfile;
328
328
  }
329
- export interface DeleteDeliveryProfileRequest {
329
+ interface DeleteDeliveryProfileRequest {
330
330
  /**
331
331
  * Id of the DeliveryProfile to delete.
332
332
  * @format GUID
333
333
  */
334
334
  deliveryProfileId: string;
335
335
  }
336
- export interface DeleteDeliveryProfileResponse {
336
+ interface DeleteDeliveryProfileResponse {
337
337
  }
338
- export interface DeleteDefaultDeliveryProfileRequest {
338
+ interface DeleteDefaultDeliveryProfileRequest {
339
339
  /**
340
340
  * Id of the DeliveryProfile to delete.
341
341
  * @format GUID
342
342
  */
343
343
  deliveryProfileId?: string;
344
344
  }
345
- export interface DeleteDefaultDeliveryProfileResponse {
345
+ interface DeleteDefaultDeliveryProfileResponse {
346
346
  }
347
- export interface QueryDeliveryProfilesRequest {
347
+ interface QueryDeliveryProfilesRequest {
348
348
  /** WQL expression. */
349
349
  query?: CursorQuery;
350
350
  }
351
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
351
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
352
352
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
353
353
  cursorPaging?: CursorPaging;
354
354
  /**
@@ -368,11 +368,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
368
368
  sort?: Sorting[];
369
369
  }
370
370
  /** @oneof */
371
- export interface CursorQueryPagingMethodOneOf {
371
+ interface CursorQueryPagingMethodOneOf {
372
372
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
373
373
  cursorPaging?: CursorPaging;
374
374
  }
375
- export interface Sorting {
375
+ interface Sorting {
376
376
  /**
377
377
  * Name of the field to sort by.
378
378
  * @maxLength 512
@@ -381,13 +381,13 @@ export interface Sorting {
381
381
  /** Sort order. */
382
382
  order?: SortOrderWithLiterals;
383
383
  }
384
- export declare enum SortOrder {
384
+ declare enum SortOrder {
385
385
  ASC = "ASC",
386
386
  DESC = "DESC"
387
387
  }
388
388
  /** @enumType */
389
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
390
- export interface CursorPaging {
389
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
390
+ interface CursorPaging {
391
391
  /**
392
392
  * Maximum number of items to return in the results.
393
393
  * @max 100
@@ -402,13 +402,13 @@ export interface CursorPaging {
402
402
  */
403
403
  cursor?: string | null;
404
404
  }
405
- export interface QueryDeliveryProfilesResponse {
405
+ interface QueryDeliveryProfilesResponse {
406
406
  /** List of DeliveryProfiles. */
407
407
  deliveryProfiles?: DeliveryProfile[];
408
408
  /** Paging metadata */
409
409
  pagingMetadata?: CursorPagingMetadata;
410
410
  }
411
- export interface CursorPagingMetadata {
411
+ interface CursorPagingMetadata {
412
412
  /** Number of items returned in the response. */
413
413
  count?: number | null;
414
414
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -421,7 +421,7 @@ export interface CursorPagingMetadata {
421
421
  */
422
422
  hasNext?: boolean | null;
423
423
  }
424
- export interface Cursors {
424
+ interface Cursors {
425
425
  /**
426
426
  * Cursor string pointing to the next page in the list of results.
427
427
  * @maxLength 16000
@@ -433,7 +433,7 @@ export interface Cursors {
433
433
  */
434
434
  prev?: string | null;
435
435
  }
436
- export interface AddDeliveryRegionRequest {
436
+ interface AddDeliveryRegionRequest {
437
437
  /**
438
438
  * delivery profile id to associated with the DeliveryRegion
439
439
  * @format GUID
@@ -447,11 +447,11 @@ export interface AddDeliveryRegionRequest {
447
447
  */
448
448
  revision?: string | null;
449
449
  }
450
- export interface AddDeliveryRegionResponse {
450
+ interface AddDeliveryRegionResponse {
451
451
  /** The updated DeliveryProfile with the new DeliveryRegion */
452
452
  deliveryProfile?: DeliveryProfile;
453
453
  }
454
- export interface UpdateDeliveryRegionRequest {
454
+ interface UpdateDeliveryRegionRequest {
455
455
  /**
456
456
  * DeliveryProfile id that owns the DeliveryRegion
457
457
  * @format GUID
@@ -465,11 +465,11 @@ export interface UpdateDeliveryRegionRequest {
465
465
  */
466
466
  revision?: string | null;
467
467
  }
468
- export interface UpdateDeliveryRegionResponse {
468
+ interface UpdateDeliveryRegionResponse {
469
469
  /** The updated DeliveryProfile with the updated DeliveryRegion */
470
470
  deliveryProfile?: DeliveryProfile;
471
471
  }
472
- export interface RemoveDeliveryRegionRequest {
472
+ interface RemoveDeliveryRegionRequest {
473
473
  /**
474
474
  * DeliveryProfile id that owns the DeliveryRegion
475
475
  * @format GUID
@@ -486,11 +486,11 @@ export interface RemoveDeliveryRegionRequest {
486
486
  */
487
487
  revision?: string | null;
488
488
  }
489
- export interface RemoveDeliveryRegionResponse {
489
+ interface RemoveDeliveryRegionResponse {
490
490
  /** The updated DeliveryProfile without DeliveryRegion */
491
491
  deliveryProfile?: DeliveryProfile;
492
492
  }
493
- export interface AddDeliveryCarrierRequest {
493
+ interface AddDeliveryCarrierRequest {
494
494
  /**
495
495
  * delivery_region id to associated with the delivery_carrier.
496
496
  * @format GUID
@@ -499,11 +499,11 @@ export interface AddDeliveryCarrierRequest {
499
499
  /** delivery_carrier to be added. */
500
500
  deliveryCarrier: DeliveryCarrier;
501
501
  }
502
- export interface AddDeliveryCarrierResponse {
502
+ interface AddDeliveryCarrierResponse {
503
503
  /** The updated DeliveryProfile */
504
504
  deliveryProfile?: DeliveryProfile;
505
505
  }
506
- export interface RemoveDeliveryCarrierRequest {
506
+ interface RemoveDeliveryCarrierRequest {
507
507
  /**
508
508
  * Id of the DeliveryRegion
509
509
  * @format GUID
@@ -515,11 +515,11 @@ export interface RemoveDeliveryCarrierRequest {
515
515
  */
516
516
  appId: string;
517
517
  }
518
- export interface RemoveDeliveryCarrierResponse {
518
+ interface RemoveDeliveryCarrierResponse {
519
519
  /** The updated DeliveryProfile */
520
520
  deliveryProfile?: DeliveryProfile;
521
521
  }
522
- export interface UpdateDeliveryCarrierRequest {
522
+ interface UpdateDeliveryCarrierRequest {
523
523
  /**
524
524
  * DeliveryRegion id
525
525
  * @format GUID
@@ -528,25 +528,25 @@ export interface UpdateDeliveryCarrierRequest {
528
528
  /** Updated delivery_carrier */
529
529
  deliveryCarrier?: DeliveryCarrier;
530
530
  }
531
- export interface UpdateDeliveryCarrierResponse {
531
+ interface UpdateDeliveryCarrierResponse {
532
532
  /** The updated DeliveryProfile with the updated DeliveryCarrier */
533
533
  deliveryProfile?: DeliveryProfile;
534
534
  }
535
- export interface ListDeliveryCarrierDetailsRequest {
535
+ interface ListDeliveryCarrierDetailsRequest {
536
536
  }
537
- export interface ListDeliveryCarrierDetailsResponse {
537
+ interface ListDeliveryCarrierDetailsResponse {
538
538
  /**
539
539
  * The list of carrier or multi-carrier services that has implemented the spi and installed on the current context(site)
540
540
  * @maxSize 100
541
541
  */
542
542
  deliveryCarrierDetails?: DeliveryCarrierDetails[];
543
543
  }
544
- export interface DeliveryCarrierDetails {
544
+ interface DeliveryCarrierDetails {
545
545
  /**
546
546
  * The id of the provider.
547
547
  * @format GUID
548
548
  */
549
- id?: string;
549
+ _id?: string;
550
550
  /**
551
551
  * The name of the Provider.
552
552
  * @maxLength 256
@@ -581,21 +581,21 @@ export interface DeliveryCarrierDetails {
581
581
  /** feature toggle initialized with default value = false. should be true if implemented by spi provider */
582
582
  toggleUpdateCarrierActiveStatusEnabled?: boolean;
583
583
  }
584
- export interface ListInstalledDeliveryCarriersRequest {
584
+ interface ListInstalledDeliveryCarriersRequest {
585
585
  }
586
- export interface ListInstalledDeliveryCarriersResponse {
586
+ interface ListInstalledDeliveryCarriersResponse {
587
587
  /**
588
588
  * The list of carrier or multi-carrier services that has implemented the spi and installed on the current context(site)
589
589
  * @maxSize 100
590
590
  */
591
591
  installedDeliveryCarriers?: InstalledDeliveryCarrier[];
592
592
  }
593
- export interface InstalledDeliveryCarrier {
593
+ interface InstalledDeliveryCarrier {
594
594
  /**
595
595
  * The id of the provider.
596
596
  * @format GUID
597
597
  */
598
- id?: string;
598
+ _id?: string;
599
599
  /**
600
600
  * The name of the Provider.
601
601
  * @maxLength 256
@@ -628,9 +628,9 @@ export interface InstalledDeliveryCarrier {
628
628
  /** feature toggle initialized with default value = false. should be true if implemented by spi provider */
629
629
  toggleGetCarrierSettingsEnabled?: boolean;
630
630
  }
631
- export interface ListDeliveryDestinationsRequest {
631
+ interface ListDeliveryDestinationsRequest {
632
632
  }
633
- export interface ListDeliveryDestinationsResponse {
633
+ interface ListDeliveryDestinationsResponse {
634
634
  /** Scope of destinations, when worldwide is selected, the destinations list will be empty. */
635
635
  destinationScope?: DestinationScopeWithLiterals;
636
636
  /**
@@ -639,21 +639,21 @@ export interface ListDeliveryDestinationsResponse {
639
639
  */
640
640
  destinations?: Destination[];
641
641
  }
642
- export declare enum DestinationScope {
642
+ declare enum DestinationScope {
643
643
  /** No additional destinations are requested */
644
644
  SPECIFIC_DESTINATIONS = "SPECIFIC_DESTINATIONS",
645
645
  /** All Destinations */
646
646
  WORLDWIDE = "WORLDWIDE"
647
647
  }
648
648
  /** @enumType */
649
- export type DestinationScopeWithLiterals = DestinationScope | 'SPECIFIC_DESTINATIONS' | 'WORLDWIDE';
650
- export interface RequiredZipcodeRequest {
649
+ type DestinationScopeWithLiterals = DestinationScope | 'SPECIFIC_DESTINATIONS' | 'WORLDWIDE';
650
+ interface RequiredZipcodeRequest {
651
651
  }
652
- export interface RequiredZipcodeResponse {
652
+ interface RequiredZipcodeResponse {
653
653
  /** If the site requires a zipcode for delivery */
654
654
  requiredZipcode?: boolean;
655
655
  }
656
- export interface ListDeliveryCarriersRequest {
656
+ interface ListDeliveryCarriersRequest {
657
657
  /**
658
658
  * Delivery profile id.
659
659
  * @format GUID
@@ -667,7 +667,7 @@ export interface ListDeliveryCarriersRequest {
667
667
  */
668
668
  appIds?: string[];
669
669
  }
670
- export interface ListDeliveryCarriersResponse {
670
+ interface ListDeliveryCarriersResponse {
671
671
  /**
672
672
  * The list of delivery settings for the given requests
673
673
  * @maxSize 100
@@ -676,7 +676,7 @@ export interface ListDeliveryCarriersResponse {
676
676
  /** Bulk action metadata. */
677
677
  bulkActionMetadata?: BulkActionMetadata;
678
678
  }
679
- export interface ListDeliveryCarriersResult {
679
+ interface ListDeliveryCarriersResult {
680
680
  /** Information about successful action or error for failure. */
681
681
  deliveryCarrierMetadata?: ItemMetadata;
682
682
  /** The delivery carrier details */
@@ -688,18 +688,18 @@ export interface ListDeliveryCarriersResult {
688
688
  */
689
689
  deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings[];
690
690
  }
691
- export interface ItemMetadata {
691
+ interface ItemMetadata {
692
692
  /**
693
693
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
694
694
  * @format GUID
695
695
  */
696
- id?: string | null;
696
+ _id?: string | null;
697
697
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
698
698
  success?: boolean;
699
699
  /** Details about the error in case of failure. */
700
700
  error?: ApplicationError;
701
701
  }
702
- export interface ApplicationError {
702
+ interface ApplicationError {
703
703
  /** Error code. */
704
704
  code?: string;
705
705
  /** Description of the error. */
@@ -707,7 +707,7 @@ export interface ApplicationError {
707
707
  /** Data related to the error. */
708
708
  data?: Record<string, any> | null;
709
709
  }
710
- export interface DeliveryCarrierRegionalSettings {
710
+ interface DeliveryCarrierRegionalSettings {
711
711
  /**
712
712
  * The delivery rule id.
713
713
  * @format GUID
@@ -720,7 +720,7 @@ export interface DeliveryCarrierRegionalSettings {
720
720
  */
721
721
  dashboardTables?: DashboardTable[];
722
722
  }
723
- export interface DashboardTable {
723
+ interface DashboardTable {
724
724
  /**
725
725
  * The title of the delivery settings that will be displayed in the UI.
726
726
  * @maxLength 256
@@ -737,7 +737,7 @@ export interface DashboardTable {
737
737
  */
738
738
  rows?: Row[];
739
739
  }
740
- export interface Column {
740
+ interface Column {
741
741
  /**
742
742
  * The name of the column. This is used to get the data from the row.
743
743
  * @maxLength 256
@@ -749,7 +749,7 @@ export interface Column {
749
749
  */
750
750
  name?: string;
751
751
  }
752
- export interface Row {
752
+ interface Row {
753
753
  /**
754
754
  * The external key of the data presented in a row. This is used to identify the row in the UI for editing.
755
755
  * @maxLength 256
@@ -763,7 +763,7 @@ export interface Row {
763
763
  /** The configuration's status of the current row. */
764
764
  active?: boolean;
765
765
  }
766
- export interface BulkActionMetadata {
766
+ interface BulkActionMetadata {
767
767
  /** Number of items that were successfully processed. */
768
768
  totalSuccesses?: number;
769
769
  /** Number of items that couldn't be processed. */
@@ -771,7 +771,7 @@ export interface BulkActionMetadata {
771
771
  /** Number of failures without details because detailed failure threshold was exceeded. */
772
772
  undetailedFailures?: number;
773
773
  }
774
- export interface UpdateCarrierSettingsRequest {
774
+ interface UpdateCarrierSettingsRequest {
775
775
  /**
776
776
  * Carrier id.
777
777
  * @format GUID
@@ -785,21 +785,21 @@ export interface UpdateCarrierSettingsRequest {
785
785
  /** New status */
786
786
  active: boolean | null;
787
787
  }
788
- export interface UpdateCarrierSettingsResponse {
788
+ interface UpdateCarrierSettingsResponse {
789
789
  }
790
- export interface UpdateExtendedFieldsRequest {
790
+ interface UpdateExtendedFieldsRequest {
791
791
  /** ID of the entity to update. */
792
- id: string;
792
+ _id: string;
793
793
  /** Identifier for the app whose extended fields are being updated. */
794
794
  namespace: string;
795
795
  /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
796
796
  namespaceData: Record<string, any> | null;
797
797
  }
798
- export interface UpdateExtendedFieldsResponse {
798
+ interface UpdateExtendedFieldsResponse {
799
799
  /** Updated DeliveryProfile. */
800
800
  deliveryProfile?: DeliveryProfile;
801
801
  }
802
- export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
802
+ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
803
803
  /** Emitted on a meta site creation. */
804
804
  siteCreated?: SiteCreated;
805
805
  /** Emitted on a meta site transfer completion. */
@@ -865,7 +865,7 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
865
865
  assets?: Asset[];
866
866
  }
867
867
  /** @oneof */
868
- export interface MetaSiteSpecialEventPayloadOneOf {
868
+ interface MetaSiteSpecialEventPayloadOneOf {
869
869
  /** Emitted on a meta site creation. */
870
870
  siteCreated?: SiteCreated;
871
871
  /** Emitted on a meta site transfer completion. */
@@ -915,7 +915,7 @@ export interface MetaSiteSpecialEventPayloadOneOf {
915
915
  /** Emitted when Picasso is detached. */
916
916
  picassoUnassigned?: PicassoUnassigned;
917
917
  }
918
- export interface Asset {
918
+ interface Asset {
919
919
  /**
920
920
  * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
921
921
  * @maxLength 36
@@ -929,7 +929,7 @@ export interface Asset {
929
929
  /** An application state. */
930
930
  state?: StateWithLiterals;
931
931
  }
932
- export declare enum State {
932
+ declare enum State {
933
933
  UNKNOWN = "UNKNOWN",
934
934
  ENABLED = "ENABLED",
935
935
  DISABLED = "DISABLED",
@@ -937,8 +937,8 @@ export declare enum State {
937
937
  DEMO = "DEMO"
938
938
  }
939
939
  /** @enumType */
940
- export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
941
- export interface SiteCreated {
940
+ type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
941
+ interface SiteCreated {
942
942
  /**
943
943
  * A template identifier (empty if not created from a template).
944
944
  * @maxLength 36
@@ -967,7 +967,7 @@ export interface SiteCreated {
967
967
  /** A namespace. */
968
968
  namespace?: NamespaceWithLiterals;
969
969
  }
970
- export declare enum SiteCreatedContext {
970
+ declare enum SiteCreatedContext {
971
971
  /** A valid option, we don't expose all reasons why site might be created. */
972
972
  OTHER = "OTHER",
973
973
  /** A meta site was created from template. */
@@ -982,8 +982,8 @@ export declare enum SiteCreatedContext {
982
982
  FLASH = "FLASH"
983
983
  }
984
984
  /** @enumType */
985
- export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
986
- export declare enum Namespace {
985
+ type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
986
+ declare enum Namespace {
987
987
  UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
988
988
  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
989
989
  WIX = "WIX",
@@ -1066,9 +1066,9 @@ export declare enum Namespace {
1066
1066
  MIMIR = "MIMIR"
1067
1067
  }
1068
1068
  /** @enumType */
1069
- export type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
1069
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
1070
1070
  /** Site transferred to another user. */
1071
- export interface SiteTransferred {
1071
+ interface SiteTransferred {
1072
1072
  /**
1073
1073
  * A previous owner id (user that transfers meta site).
1074
1074
  * @format GUID
@@ -1081,11 +1081,11 @@ export interface SiteTransferred {
1081
1081
  newOwnerId?: string;
1082
1082
  }
1083
1083
  /** Soft deletion of the meta site. Could be restored. */
1084
- export interface SiteDeleted {
1084
+ interface SiteDeleted {
1085
1085
  /** A deletion context. */
1086
1086
  deleteContext?: DeleteContext;
1087
1087
  }
1088
- export interface DeleteContext {
1088
+ interface DeleteContext {
1089
1089
  /** When the meta site was deleted. */
1090
1090
  dateDeleted?: Date | null;
1091
1091
  /** A status. */
@@ -1101,7 +1101,7 @@ export interface DeleteContext {
1101
1101
  */
1102
1102
  initiatorId?: string | null;
1103
1103
  }
1104
- export declare enum DeleteStatus {
1104
+ declare enum DeleteStatus {
1105
1105
  UNKNOWN = "UNKNOWN",
1106
1106
  TRASH = "TRASH",
1107
1107
  DELETED = "DELETED",
@@ -1109,14 +1109,14 @@ export declare enum DeleteStatus {
1109
1109
  PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
1110
1110
  }
1111
1111
  /** @enumType */
1112
- export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
1112
+ type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
1113
1113
  /** Restoration of the meta site. */
1114
- export interface SiteUndeleted {
1114
+ interface SiteUndeleted {
1115
1115
  }
1116
1116
  /** First publish of a meta site. Or subsequent publish after unpublish. */
1117
- export interface SitePublished {
1117
+ interface SitePublished {
1118
1118
  }
1119
- export interface SiteUnpublished {
1119
+ interface SiteUnpublished {
1120
1120
  /**
1121
1121
  * A list of URLs previously associated with the meta site.
1122
1122
  * @maxLength 4000
@@ -1124,9 +1124,9 @@ export interface SiteUnpublished {
1124
1124
  */
1125
1125
  urls?: string[];
1126
1126
  }
1127
- export interface SiteMarkedAsTemplate {
1127
+ interface SiteMarkedAsTemplate {
1128
1128
  }
1129
- export interface SiteMarkedAsWixSite {
1129
+ interface SiteMarkedAsWixSite {
1130
1130
  }
1131
1131
  /**
1132
1132
  * Represents a service provisioned a site.
@@ -1143,7 +1143,7 @@ export interface SiteMarkedAsWixSite {
1143
1143
  * changes made to the original template afterward.
1144
1144
  * To ensure this, the TPA on the template gets a new instance_id.
1145
1145
  */
1146
- export interface ServiceProvisioned {
1146
+ interface ServiceProvisioned {
1147
1147
  /**
1148
1148
  * Either UUID or EmbeddedServiceType.
1149
1149
  * @maxLength 36
@@ -1170,7 +1170,7 @@ export interface ServiceProvisioned {
1170
1170
  */
1171
1171
  originMetaSiteId?: string | null;
1172
1172
  }
1173
- export interface ServiceRemoved {
1173
+ interface ServiceRemoved {
1174
1174
  /**
1175
1175
  * Either UUID or EmbeddedServiceType.
1176
1176
  * @maxLength 36
@@ -1188,7 +1188,7 @@ export interface ServiceRemoved {
1188
1188
  version?: string | null;
1189
1189
  }
1190
1190
  /** Rename of the site. Meaning, free public url has been changed as well. */
1191
- export interface SiteRenamed {
1191
+ interface SiteRenamed {
1192
1192
  /**
1193
1193
  * A new meta site name (URL slug).
1194
1194
  * @maxLength 20
@@ -1205,21 +1205,21 @@ export interface SiteRenamed {
1205
1205
  *
1206
1206
  * Could not be restored. Therefore it's desirable to cleanup data.
1207
1207
  */
1208
- export interface SiteHardDeleted {
1208
+ interface SiteHardDeleted {
1209
1209
  /** A deletion context. */
1210
1210
  deleteContext?: DeleteContext;
1211
1211
  }
1212
- export interface NamespaceChanged {
1212
+ interface NamespaceChanged {
1213
1213
  /** A previous namespace. */
1214
1214
  oldNamespace?: NamespaceWithLiterals;
1215
1215
  /** A new namespace. */
1216
1216
  newNamespace?: NamespaceWithLiterals;
1217
1217
  }
1218
1218
  /** Assigned Studio editor */
1219
- export interface StudioAssigned {
1219
+ interface StudioAssigned {
1220
1220
  }
1221
1221
  /** Unassigned Studio editor */
1222
- export interface StudioUnassigned {
1222
+ interface StudioUnassigned {
1223
1223
  }
1224
1224
  /**
1225
1225
  * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
@@ -1229,13 +1229,13 @@ export interface StudioUnassigned {
1229
1229
  *
1230
1230
  * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
1231
1231
  */
1232
- export interface SiteUrlChanged {
1232
+ interface SiteUrlChanged {
1233
1233
  }
1234
1234
  /**
1235
1235
  * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
1236
1236
  * Consumed by other teams to remove relevant data.
1237
1237
  */
1238
- export interface SitePurgedExternally {
1238
+ interface SitePurgedExternally {
1239
1239
  /**
1240
1240
  * @maxLength 2048
1241
1241
  * @maxSize 100
@@ -1245,26 +1245,26 @@ export interface SitePurgedExternally {
1245
1245
  appDefId?: string[];
1246
1246
  }
1247
1247
  /** Assigned Odeditor */
1248
- export interface OdeditorAssigned {
1248
+ interface OdeditorAssigned {
1249
1249
  }
1250
1250
  /** Unassigned Odeditor */
1251
- export interface OdeditorUnassigned {
1251
+ interface OdeditorUnassigned {
1252
1252
  }
1253
1253
  /** Assigned Picasso editor */
1254
- export interface PicassoAssigned {
1254
+ interface PicassoAssigned {
1255
1255
  }
1256
1256
  /** Unassigned Picasso */
1257
- export interface PicassoUnassigned {
1257
+ interface PicassoUnassigned {
1258
1258
  }
1259
- export interface Empty {
1259
+ interface Empty {
1260
1260
  }
1261
- export interface DomainEvent extends DomainEventBodyOneOf {
1261
+ interface DomainEvent extends DomainEventBodyOneOf {
1262
1262
  createdEvent?: EntityCreatedEvent;
1263
1263
  updatedEvent?: EntityUpdatedEvent;
1264
1264
  deletedEvent?: EntityDeletedEvent;
1265
1265
  actionEvent?: ActionEvent;
1266
1266
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1267
- id?: string;
1267
+ _id?: string;
1268
1268
  /**
1269
1269
  * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1270
1270
  * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
@@ -1293,36 +1293,34 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1293
1293
  entityEventSequence?: string | null;
1294
1294
  }
1295
1295
  /** @oneof */
1296
- export interface DomainEventBodyOneOf {
1296
+ interface DomainEventBodyOneOf {
1297
1297
  createdEvent?: EntityCreatedEvent;
1298
1298
  updatedEvent?: EntityUpdatedEvent;
1299
1299
  deletedEvent?: EntityDeletedEvent;
1300
1300
  actionEvent?: ActionEvent;
1301
1301
  }
1302
- export interface EntityCreatedEvent {
1303
- entityAsJson?: string;
1304
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1305
- restoreInfo?: RestoreInfo;
1302
+ interface EntityCreatedEvent {
1303
+ entity?: string;
1306
1304
  }
1307
- export interface RestoreInfo {
1305
+ interface RestoreInfo {
1308
1306
  deletedDate?: Date | null;
1309
1307
  }
1310
- export interface EntityUpdatedEvent {
1308
+ interface EntityUpdatedEvent {
1311
1309
  /**
1312
1310
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1313
1311
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1314
1312
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1315
1313
  */
1316
- currentEntityAsJson?: string;
1314
+ currentEntity?: string;
1317
1315
  }
1318
- export interface EntityDeletedEvent {
1316
+ interface EntityDeletedEvent {
1319
1317
  /** Entity that was deleted. */
1320
- deletedEntityAsJson?: string | null;
1318
+ deletedEntity?: string | null;
1321
1319
  }
1322
- export interface ActionEvent {
1323
- bodyAsJson?: string;
1320
+ interface ActionEvent {
1321
+ body?: string;
1324
1322
  }
1325
- export interface MessageEnvelope {
1323
+ interface MessageEnvelope {
1326
1324
  /**
1327
1325
  * App instance ID.
1328
1326
  * @format GUID
@@ -1338,7 +1336,7 @@ export interface MessageEnvelope {
1338
1336
  /** Stringify payload. */
1339
1337
  data?: string;
1340
1338
  }
1341
- export interface IdentificationData extends IdentificationDataIdOneOf {
1339
+ interface IdentificationData extends IdentificationDataIdOneOf {
1342
1340
  /**
1343
1341
  * ID of a site visitor that has not logged in to the site.
1344
1342
  * @format GUID
@@ -1363,7 +1361,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
1363
1361
  identityType?: WebhookIdentityTypeWithLiterals;
1364
1362
  }
1365
1363
  /** @oneof */
1366
- export interface IdentificationDataIdOneOf {
1364
+ interface IdentificationDataIdOneOf {
1367
1365
  /**
1368
1366
  * ID of a site visitor that has not logged in to the site.
1369
1367
  * @format GUID
@@ -1385,7 +1383,7 @@ export interface IdentificationDataIdOneOf {
1385
1383
  */
1386
1384
  appId?: string;
1387
1385
  }
1388
- export declare enum WebhookIdentityType {
1386
+ declare enum WebhookIdentityType {
1389
1387
  UNKNOWN = "UNKNOWN",
1390
1388
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1391
1389
  MEMBER = "MEMBER",
@@ -1393,4 +1391,241 @@ export declare enum WebhookIdentityType {
1393
1391
  APP = "APP"
1394
1392
  }
1395
1393
  /** @enumType */
1396
- export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1394
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1395
+ interface UpdateDeliveryProfile {
1396
+ /**
1397
+ * DeliveryProfile ID.
1398
+ * @format GUID
1399
+ * @readonly
1400
+ */
1401
+ _id?: string | null;
1402
+ /**
1403
+ * DeliveryProfile name.
1404
+ * @minLength 1
1405
+ * @maxLength 256
1406
+ */
1407
+ name?: string | null;
1408
+ /**
1409
+ * Flags this DeliveryProfile as the default DeliveryProfile.
1410
+ * @readonly
1411
+ */
1412
+ default?: boolean | null;
1413
+ /**
1414
+ * A list of DeliveryProfile regions.
1415
+ * @maxSize 100
1416
+ */
1417
+ deliveryRegions?: DeliveryRegion[];
1418
+ /** ID of the delivery profile's creator. */
1419
+ createdBy?: CreatedBy;
1420
+ /**
1421
+ * DeliveryProfile revision.
1422
+ * @readonly
1423
+ */
1424
+ revision?: string | null;
1425
+ /**
1426
+ * Date and time the DeliveryProfile was created.
1427
+ * @readonly
1428
+ */
1429
+ _createdDate?: Date | null;
1430
+ /**
1431
+ * Date and time the DeliveryProfile was last updated.
1432
+ * @readonly
1433
+ */
1434
+ _updatedDate?: Date | null;
1435
+ /** [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields ) must be configured in the app dashboard before they can be accessed with API calls. */
1436
+ extendedFields?: ExtendedFields;
1437
+ }
1438
+ interface QueryCursorResult {
1439
+ cursors: Cursors;
1440
+ hasNext: () => boolean;
1441
+ hasPrev: () => boolean;
1442
+ length: number;
1443
+ pageSize: number;
1444
+ }
1445
+ interface DeliveryProfilesQueryResult extends QueryCursorResult {
1446
+ items: DeliveryProfile[];
1447
+ query: DeliveryProfilesQueryBuilder;
1448
+ next: () => Promise<DeliveryProfilesQueryResult>;
1449
+ prev: () => Promise<DeliveryProfilesQueryResult>;
1450
+ }
1451
+ interface DeliveryProfilesQueryBuilder {
1452
+ /** @param propertyName - Property whose value is compared with `value`.
1453
+ * @param value - Value to compare against.
1454
+ * @documentationMaturity preview
1455
+ */
1456
+ eq: (propertyName: '_id' | 'name' | 'default' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1457
+ /** @param propertyName - Property whose value is compared with `value`.
1458
+ * @param value - Value to compare against.
1459
+ * @documentationMaturity preview
1460
+ */
1461
+ ne: (propertyName: '_id' | 'name' | 'default' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1462
+ /** @param propertyName - Property whose value is compared with `value`.
1463
+ * @param value - Value to compare against.
1464
+ * @documentationMaturity preview
1465
+ */
1466
+ ge: (propertyName: '_id' | 'name' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1467
+ /** @param propertyName - Property whose value is compared with `value`.
1468
+ * @param value - Value to compare against.
1469
+ * @documentationMaturity preview
1470
+ */
1471
+ gt: (propertyName: '_id' | 'name' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1472
+ /** @param propertyName - Property whose value is compared with `value`.
1473
+ * @param value - Value to compare against.
1474
+ * @documentationMaturity preview
1475
+ */
1476
+ le: (propertyName: '_id' | 'name' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1477
+ /** @param propertyName - Property whose value is compared with `value`.
1478
+ * @param value - Value to compare against.
1479
+ * @documentationMaturity preview
1480
+ */
1481
+ lt: (propertyName: '_id' | 'name' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1482
+ /** @param propertyName - Property whose value is compared with `string`.
1483
+ * @param string - String to compare against. Case-insensitive.
1484
+ * @documentationMaturity preview
1485
+ */
1486
+ startsWith: (propertyName: '_id' | 'name', value: string) => DeliveryProfilesQueryBuilder;
1487
+ /** @param propertyName - Property whose value is compared with `values`.
1488
+ * @param values - List of values to compare against.
1489
+ * @documentationMaturity preview
1490
+ */
1491
+ hasSome: (propertyName: '_id' | 'name' | 'default' | '_createdDate', value: any[]) => DeliveryProfilesQueryBuilder;
1492
+ /** @documentationMaturity preview */
1493
+ in: (propertyName: '_id' | 'name' | 'default' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1494
+ /** @documentationMaturity preview */
1495
+ exists: (propertyName: '_id' | 'name' | 'default' | '_createdDate', value: boolean) => DeliveryProfilesQueryBuilder;
1496
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1497
+ * @documentationMaturity preview
1498
+ */
1499
+ ascending: (...propertyNames: Array<'_id' | 'name' | 'default' | '_createdDate'>) => DeliveryProfilesQueryBuilder;
1500
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1501
+ * @documentationMaturity preview
1502
+ */
1503
+ descending: (...propertyNames: Array<'_id' | 'name' | 'default' | '_createdDate'>) => DeliveryProfilesQueryBuilder;
1504
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
1505
+ * @documentationMaturity preview
1506
+ */
1507
+ limit: (limit: number) => DeliveryProfilesQueryBuilder;
1508
+ /** @param cursor - A pointer to specific record
1509
+ * @documentationMaturity preview
1510
+ */
1511
+ skipTo: (cursor: string) => DeliveryProfilesQueryBuilder;
1512
+ /** @documentationMaturity preview */
1513
+ find: () => Promise<DeliveryProfilesQueryResult>;
1514
+ }
1515
+ interface AddDeliveryRegionOptions {
1516
+ /**
1517
+ * DeliveryProfile revision.
1518
+ * @readonly
1519
+ */
1520
+ revision?: string | null;
1521
+ }
1522
+ interface UpdateDeliveryRegionIdentifiers {
1523
+ /**
1524
+ * DeliveryProfile id that owns the DeliveryRegion
1525
+ * @format GUID
1526
+ */
1527
+ deliveryProfileId: string;
1528
+ /**
1529
+ * The delivery region id.
1530
+ * @format GUID
1531
+ * @readonly
1532
+ */
1533
+ deliveryRegionId?: string | null;
1534
+ }
1535
+ interface UpdateDeliveryRegion {
1536
+ /**
1537
+ * The delivery region id.
1538
+ * @format GUID
1539
+ * @readonly
1540
+ */
1541
+ _id?: string | null;
1542
+ /**
1543
+ * Optional name of the region, for example: "Domestic".
1544
+ * @minLength 1
1545
+ * @maxLength 256
1546
+ */
1547
+ name?: string | null;
1548
+ /** Indicates that this rule is active, default value is true. */
1549
+ active?: boolean | null;
1550
+ /**
1551
+ * The spi implementers id of shipping-rates spi, assigned to this rule.
1552
+ * @maxSize 25
1553
+ * @readonly
1554
+ */
1555
+ deliveryCarriers?: DeliveryCarrier[];
1556
+ /**
1557
+ * The operation region of this rule, if empty than it is global.
1558
+ * @maxSize 200
1559
+ */
1560
+ destinations?: Destination[];
1561
+ /**
1562
+ * Represents the time this Profile was created
1563
+ * @readonly
1564
+ */
1565
+ _createdDate?: Date | null;
1566
+ }
1567
+ interface UpdateDeliveryRegionOptions {
1568
+ /**
1569
+ * DeliveryProfile revision.
1570
+ * @readonly
1571
+ */
1572
+ revision?: string | null;
1573
+ }
1574
+ interface RemoveDeliveryRegionIdentifiers {
1575
+ /**
1576
+ * DeliveryProfile id that owns the DeliveryRegion
1577
+ * @format GUID
1578
+ */
1579
+ deliveryProfileId: string;
1580
+ /**
1581
+ * Id of the DeliveryRegion to delete
1582
+ * @format GUID
1583
+ */
1584
+ deliveryRegionId: string;
1585
+ }
1586
+ interface RemoveDeliveryRegionOptions {
1587
+ /**
1588
+ * DeliveryProfile revision.
1589
+ * @readonly
1590
+ */
1591
+ revision?: string | null;
1592
+ }
1593
+ interface AddDeliveryCarrierOptions {
1594
+ /** delivery_carrier to be added. */
1595
+ deliveryCarrier: DeliveryCarrier;
1596
+ }
1597
+ interface RemoveDeliveryCarrierOptions {
1598
+ /**
1599
+ * DeliveryCarrier app id to be removed.
1600
+ * @format GUID
1601
+ */
1602
+ appId: string;
1603
+ }
1604
+ interface UpdateDeliveryCarrierOptions {
1605
+ /** Updated delivery_carrier */
1606
+ deliveryCarrier?: DeliveryCarrier;
1607
+ }
1608
+ interface ListDeliveryCarriersOptions {
1609
+ /**
1610
+ * Delivery app ids to get settings for.
1611
+ * @format GUID
1612
+ * @minSize 1
1613
+ * @maxSize 25
1614
+ */
1615
+ appIds?: string[];
1616
+ }
1617
+ interface UpdateCarrierSettingsOptions {
1618
+ /**
1619
+ * Row id triggered the change
1620
+ * @format GUID
1621
+ */
1622
+ rowId: string;
1623
+ /** New status */
1624
+ active: boolean | null;
1625
+ }
1626
+ interface UpdateExtendedFieldsOptions {
1627
+ /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
1628
+ namespaceData: Record<string, any> | null;
1629
+ }
1630
+
1631
+ export { type DeleteDefaultDeliveryProfileResponse as $, type AddDeliveryRegionOptions as A, type BackupRate as B, ChargeType as C, type DeliveryProfile as D, type AdditionalCharge as E, type Destination as F, type CreatedBy as G, type CreatedByIdOneOf as H, type ExtendedFields as I, type DeliveryRegionAdded as J, type DeliveryRegionRemoved as K, type ListDeliveryCarrierDetailsResponse as L, type DeliveryRegionUpdated as M, Namespace as N, type CreateDeliveryProfileRequest as O, type CreateDeliveryProfileResponse as P, type GetDeliveryProfileRequest as Q, type RemoveDeliveryRegionIdentifiers as R, SortOrder as S, type GetDeliveryProfileResponse as T, type UpdateDeliveryProfile as U, type UpdateDeliveryProfileRequest as V, WebhookIdentityType as W, type UpdateDeliveryProfileResponse as X, type DeleteDeliveryProfileRequest as Y, type DeleteDeliveryProfileResponse as Z, type DeleteDefaultDeliveryProfileRequest as _, type DeliveryProfilesQueryBuilder as a, type RestoreInfo as a$, type QueryDeliveryProfilesRequest as a0, type CursorQuery as a1, type CursorQueryPagingMethodOneOf as a2, type Sorting as a3, type CursorPaging as a4, type QueryDeliveryProfilesResponse as a5, type CursorPagingMetadata as a6, type Cursors as a7, type AddDeliveryRegionRequest as a8, type UpdateDeliveryRegionRequest as a9, type Asset as aA, type SiteCreated as aB, type SiteTransferred as aC, type SiteDeleted as aD, type DeleteContext as aE, type SiteUndeleted as aF, type SitePublished as aG, type SiteUnpublished as aH, type SiteMarkedAsTemplate as aI, type SiteMarkedAsWixSite as aJ, type ServiceProvisioned as aK, type ServiceRemoved as aL, type SiteRenamed as aM, type SiteHardDeleted as aN, type NamespaceChanged as aO, type StudioAssigned as aP, type StudioUnassigned as aQ, type SiteUrlChanged as aR, type SitePurgedExternally as aS, type OdeditorAssigned as aT, type OdeditorUnassigned as aU, type PicassoAssigned as aV, type PicassoUnassigned as aW, type Empty as aX, type DomainEvent as aY, type DomainEventBodyOneOf as aZ, type EntityCreatedEvent as a_, type RemoveDeliveryRegionRequest as aa, type AddDeliveryCarrierRequest as ab, type RemoveDeliveryCarrierRequest as ac, type UpdateDeliveryCarrierRequest as ad, type ListDeliveryCarrierDetailsRequest as ae, type DeliveryCarrierDetails as af, type ListInstalledDeliveryCarriersRequest as ag, type InstalledDeliveryCarrier as ah, type ListDeliveryDestinationsRequest as ai, type ListDeliveryDestinationsResponse as aj, type RequiredZipcodeRequest as ak, type RequiredZipcodeResponse as al, type ListDeliveryCarriersRequest as am, type ListDeliveryCarriersResult as an, type ItemMetadata as ao, type ApplicationError as ap, type DeliveryCarrierRegionalSettings as aq, type DashboardTable as ar, type Column as as, type Row as at, type BulkActionMetadata as au, type UpdateCarrierSettingsRequest as av, type UpdateCarrierSettingsResponse as aw, type UpdateExtendedFieldsRequest as ax, type MetaSiteSpecialEvent as ay, type MetaSiteSpecialEventPayloadOneOf as az, type DeliveryRegion as b, type EntityUpdatedEvent as b0, type EntityDeletedEvent as b1, type ActionEvent as b2, type MessageEnvelope as b3, type IdentificationData as b4, type IdentificationDataIdOneOf as b5, type DeliveryProfilesQueryResult as b6, type AddDeliveryRegionResponse as c, type UpdateDeliveryRegionIdentifiers as d, type UpdateDeliveryRegion as e, type UpdateDeliveryRegionOptions as f, type UpdateDeliveryRegionResponse as g, type RemoveDeliveryRegionOptions as h, type RemoveDeliveryRegionResponse as i, type AddDeliveryCarrierOptions as j, type AddDeliveryCarrierResponse as k, type RemoveDeliveryCarrierOptions as l, type RemoveDeliveryCarrierResponse as m, type UpdateDeliveryCarrierOptions as n, type UpdateDeliveryCarrierResponse as o, type ListInstalledDeliveryCarriersResponse as p, type ListDeliveryCarriersOptions as q, type ListDeliveryCarriersResponse as r, type UpdateCarrierSettingsOptions as s, type UpdateExtendedFieldsOptions as t, type UpdateExtendedFieldsResponse as u, DestinationScope as v, State as w, SiteCreatedContext as x, DeleteStatus as y, type DeliveryCarrier as z };