@wix/auto_sdk_ecom_delivery-profile 1.0.24 → 1.0.25

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-_1-ffDas.d.mts} +359 -124
  2. package/build/{internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → ecom-v1-delivery-profile-delivery-profile.universal-_1-ffDas.d.ts} +359 -124
  3. package/build/index.d.mts +176 -0
  4. package/build/index.d.ts +176 -0
  5. package/build/index.js +1257 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +1210 -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-_1-ffDas.d.mts} +359 -124
  10. package/build/{es/src/ecom-v1-delivery-profile-delivery-profile.types.d.ts → internal/ecom-v1-delivery-profile-delivery-profile.universal-_1-ffDas.d.ts} +359 -124
  11. package/build/internal/index.d.mts +176 -0
  12. package/build/internal/index.d.ts +176 -0
  13. package/build/internal/index.js +1257 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +1210 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +729 -0
  18. package/build/internal/meta.d.ts +729 -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 +729 -0
  24. package/build/meta.d.ts +729 -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 +13 -12
  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 -1943
  54. package/build/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -933
  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 -1943
  81. package/build/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -891
  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 -1943
  107. package/build/internal/cjs/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -933
  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 -1943
  133. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js +0 -891
  134. package/build/internal/es/src/ecom-v1-delivery-profile-delivery-profile.universal.js.map +0 -1
@@ -1,1943 +0,0 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
- /**
3
- * A DeliveryProfile is a ...
4
- * You can ...
5
- * Read more about DeliveryProfiles
6
- * in this [article](<LINK_TO_KB_ARTICLE>).
7
- */
8
- export interface DeliveryProfile {
9
- /**
10
- * DeliveryProfile ID.
11
- * @format GUID
12
- * @readonly
13
- */
14
- _id?: string | null;
15
- /**
16
- * DeliveryProfile name.
17
- * @minLength 1
18
- * @maxLength 256
19
- */
20
- name?: string | null;
21
- /**
22
- * Flags this DeliveryProfile as the default DeliveryProfile.
23
- * @readonly
24
- */
25
- default?: boolean | null;
26
- /**
27
- * A list of DeliveryProfile regions.
28
- * @maxSize 100
29
- */
30
- deliveryRegions?: DeliveryRegion[];
31
- /** ID of the delivery profile's creator. */
32
- createdBy?: CreatedBy;
33
- /**
34
- * DeliveryProfile revision.
35
- * @readonly
36
- */
37
- revision?: string | null;
38
- /**
39
- * Date and time the DeliveryProfile was created.
40
- * @readonly
41
- */
42
- _createdDate?: Date | null;
43
- /**
44
- * Date and time the DeliveryProfile was last updated.
45
- * @readonly
46
- */
47
- _updatedDate?: Date | null;
48
- /** [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. */
49
- extendedFields?: ExtendedFields;
50
- }
51
- /** DeliveryRegion can be used to config a Delivery Destinations with its providers */
52
- export interface DeliveryRegion {
53
- /**
54
- * The delivery region id.
55
- * @format GUID
56
- * @readonly
57
- */
58
- _id?: string | null;
59
- /**
60
- * Optional name of the region, for example: "Domestic".
61
- * @minLength 1
62
- * @maxLength 256
63
- */
64
- name?: string | null;
65
- /** Indicates that this rule is active, default value is true. */
66
- active?: boolean | null;
67
- /**
68
- * The spi implementers id of shipping-rates spi, assigned to this rule.
69
- * @maxSize 25
70
- * @readonly
71
- */
72
- deliveryCarriers?: DeliveryCarrier[];
73
- /**
74
- * The operation region of this rule, if empty than it is global.
75
- * @maxSize 200
76
- */
77
- destinations?: Destination[];
78
- /**
79
- * Represents the time this Profile was created
80
- * @readonly
81
- */
82
- _createdDate?: Date | null;
83
- }
84
- export interface DeliveryCarrier {
85
- /**
86
- * 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.
87
- * @format GUID
88
- */
89
- appId?: string;
90
- /** Backup rate to be used in case the cost returned by the provider is empty. */
91
- backupRate?: BackupRate;
92
- /**
93
- * Additional charges to add to the delivery rate for this carrier
94
- * @maxSize 10
95
- */
96
- additionalCharges?: AdditionalCharge[];
97
- }
98
- export interface BackupRate {
99
- /**
100
- * Default rate prefix that will concatenate to the delivery options the provider will offer.
101
- * @minLength 1
102
- * @maxLength 256
103
- * @deprecated Default rate prefix that will concatenate to the delivery options the provider will offer.
104
- * @replacedBy title
105
- * @targetRemovalDate 2025-04-01
106
- */
107
- prefix?: string | null;
108
- /**
109
- * Default rate price for all delivery options that the provider will offer.
110
- * @decimalValue options { gte:0, maxScale:6 }
111
- * @deprecated Default rate price for all delivery options that the provider will offer.
112
- * @replacedBy amount
113
- * @targetRemovalDate 2025-04-01
114
- */
115
- rate?: string | null;
116
- /**
117
- * Should the default rate be used. Default value is false.
118
- * @deprecated Should the default rate be used. Default value is false.
119
- * @replacedBy active
120
- * @targetRemovalDate 2025-04-01
121
- */
122
- enabled?: boolean | null;
123
- /**
124
- * Default rate title that will concatenate to the delivery options the provider will offer.
125
- * @minLength 1
126
- * @maxLength 32
127
- */
128
- title?: string | null;
129
- /**
130
- * Default amount price for all delivery options that the provider will offer.
131
- * @decimalValue options { gte:0, maxScale:6 }
132
- */
133
- amount?: string | null;
134
- /** Should the default rate be used. Default value is false. */
135
- active?: boolean;
136
- }
137
- export interface AdditionalCharge {
138
- /**
139
- * Additional charge type.
140
- * @deprecated Additional charge type.
141
- * @targetRemovalDate 2025-04-01
142
- */
143
- type?: ChargeType;
144
- /**
145
- * Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
146
- * @maxLength 250
147
- */
148
- description?: string | null;
149
- /**
150
- * Cost of additional charge. For example, `12.5`.
151
- * @maxLength 16
152
- * @deprecated Cost of additional charge. For example, `12.5`.
153
- * @replacedBy amount
154
- * @targetRemovalDate 2025-04-01
155
- */
156
- price?: string;
157
- /**
158
- * Cost of additional charge. For example, `12.5`.
159
- * @maxLength 16
160
- */
161
- amount?: string;
162
- }
163
- export declare enum ChargeType {
164
- HANDLING_FEE = "HANDLING_FEE"
165
- }
166
- /** Defines the area inside one country that is relevant for this rule. */
167
- export interface Destination {
168
- /**
169
- * 2-letters code represents the country of the delivery destinations
170
- * @format COUNTRY
171
- */
172
- countryCode?: string;
173
- /**
174
- * subdivisions - Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
175
- * If empty, the rule applies to the entire country.
176
- * @maxSize 100
177
- * @minLength 1
178
- * @maxLength 256
179
- */
180
- subdivisions?: string[];
181
- }
182
- export interface CreatedBy extends CreatedByIdOneOf {
183
- /**
184
- * App ID - when the delivery profile was created by an external application or Wix service.
185
- * @format GUID
186
- */
187
- appId?: string | null;
188
- /**
189
- * User ID - when the delivery profile was created by a Wix user.
190
- * @format GUID
191
- */
192
- userId?: string | null;
193
- }
194
- /** @oneof */
195
- export interface CreatedByIdOneOf {
196
- /**
197
- * App ID - when the delivery profile was created by an external application or Wix service.
198
- * @format GUID
199
- */
200
- appId?: string | null;
201
- /**
202
- * User ID - when the delivery profile was created by a Wix user.
203
- * @format GUID
204
- */
205
- userId?: string | null;
206
- }
207
- export interface ExtendedFields {
208
- /**
209
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
210
- * The value of each key is structured according to the schema defined when the extended fields were configured.
211
- *
212
- * You can only access fields for which you have the appropriate permissions.
213
- *
214
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
215
- */
216
- namespaces?: Record<string, Record<string, any>>;
217
- }
218
- export interface DeliveryRegionAdded {
219
- /**
220
- * The DeliveryProfile owns this region.
221
- * @format GUID
222
- */
223
- deliveryProfileId?: string;
224
- /**
225
- * The delivery region id.
226
- * @format GUID
227
- * @readonly
228
- */
229
- deliveryRegionId?: string | null;
230
- /**
231
- * Optional name of the rule, for example: "Domestic".
232
- * @minLength 1
233
- * @maxLength 256
234
- */
235
- name?: string | null;
236
- /** Indicates that this rule is active, default value is true. */
237
- active?: boolean | null;
238
- /**
239
- * The spi implementers id of shipping-rates spi, assigned to this rule.
240
- * @maxSize 25
241
- * @readonly
242
- */
243
- deliveryCarriers?: DeliveryCarrier[];
244
- /**
245
- * The operation region of this rule, if empty than it is global.
246
- * @maxSize 200
247
- */
248
- destinations?: Destination[];
249
- /**
250
- * Represents the time this Profile was created
251
- * @readonly
252
- */
253
- _createdDate?: Date | null;
254
- }
255
- export interface DeliveryRegionRemoved {
256
- /**
257
- * The DeliveryProfile owns this region.
258
- * @format GUID
259
- */
260
- deliveryProfileId?: string;
261
- /** The removed DeliveryRegion id. */
262
- deliveryRegionId?: string;
263
- }
264
- export interface DeliveryRegionUpdated {
265
- /**
266
- * The DeliveryProfile owns this DeliveryRegion.
267
- * @format GUID
268
- */
269
- deliveryProfileId?: string;
270
- /**
271
- * The delivery region id.
272
- * @format GUID
273
- * @readonly
274
- */
275
- deliveryRegionId?: string | null;
276
- /**
277
- * Optional name of the rule, for example: "Domestic".
278
- * @minLength 1
279
- * @maxLength 256
280
- */
281
- name?: string | null;
282
- /** Indicates that this rule is active, default value is true. */
283
- active?: boolean | null;
284
- /**
285
- * The spi implementers id of shipping-rates spi, assigned to this rule.
286
- * @maxSize 25
287
- * @readonly
288
- */
289
- deliveryCarriers?: DeliveryCarrier[];
290
- /**
291
- * The operation region of this rule, if empty than it is global.
292
- * @maxSize 200
293
- */
294
- destinations?: Destination[];
295
- /**
296
- * Represents the time this Profile was created
297
- * @readonly
298
- */
299
- _createdDate?: Date | null;
300
- }
301
- export interface CreateDeliveryProfileRequest {
302
- /** DeliveryProfile to be created. */
303
- deliveryProfile: DeliveryProfile;
304
- }
305
- export interface CreateDeliveryProfileResponse {
306
- /** The created DeliveryProfile. */
307
- deliveryProfile?: DeliveryProfile;
308
- }
309
- export interface GetDeliveryProfileRequest {
310
- /**
311
- * ID of the DeliveryProfile to retrieve.
312
- * @format GUID
313
- */
314
- deliveryProfileId: string;
315
- }
316
- export interface GetDeliveryProfileResponse {
317
- /** The requested DeliveryProfile. */
318
- deliveryProfile?: DeliveryProfile;
319
- }
320
- export interface UpdateDeliveryProfileRequest {
321
- /** DeliveryProfile to be updated, may be partial. */
322
- deliveryProfile: DeliveryProfile;
323
- }
324
- export interface UpdateDeliveryProfileResponse {
325
- /** Updated DeliveryProfile. */
326
- deliveryProfile?: DeliveryProfile;
327
- }
328
- export interface DeleteDeliveryProfileRequest {
329
- /**
330
- * Id of the DeliveryProfile to delete.
331
- * @format GUID
332
- */
333
- deliveryProfileId: string;
334
- }
335
- export interface DeleteDeliveryProfileResponse {
336
- }
337
- export interface DeleteDefaultDeliveryProfileRequest {
338
- /**
339
- * Id of the DeliveryProfile to delete.
340
- * @format GUID
341
- */
342
- deliveryProfileId?: string;
343
- }
344
- export interface DeleteDefaultDeliveryProfileResponse {
345
- }
346
- export interface QueryDeliveryProfilesRequest {
347
- /** WQL expression. */
348
- query?: CursorQuery;
349
- }
350
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
351
- /** 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`. */
352
- cursorPaging?: CursorPaging;
353
- /**
354
- * Filter object in the following format:
355
- * `"filter" : {
356
- * "fieldName1": "value1",
357
- * "fieldName2":{"$operator":"value2"}
358
- * }`
359
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
360
- */
361
- filter?: Record<string, any> | null;
362
- /**
363
- * Sort object in the following format:
364
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
365
- * @maxSize 5
366
- */
367
- sort?: Sorting[];
368
- }
369
- /** @oneof */
370
- export interface CursorQueryPagingMethodOneOf {
371
- /** 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`. */
372
- cursorPaging?: CursorPaging;
373
- }
374
- export interface Sorting {
375
- /**
376
- * Name of the field to sort by.
377
- * @maxLength 512
378
- */
379
- fieldName?: string;
380
- /** Sort order. */
381
- order?: SortOrder;
382
- }
383
- export declare enum SortOrder {
384
- ASC = "ASC",
385
- DESC = "DESC"
386
- }
387
- export interface CursorPaging {
388
- /**
389
- * Maximum number of items to return in the results.
390
- * @max 100
391
- */
392
- limit?: number | null;
393
- /**
394
- * Pointer to the next or previous page in the list of results.
395
- *
396
- * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
397
- * Not relevant for the first request.
398
- * @maxLength 16000
399
- */
400
- cursor?: string | null;
401
- }
402
- export interface QueryDeliveryProfilesResponse {
403
- /** List of DeliveryProfiles. */
404
- deliveryProfiles?: DeliveryProfile[];
405
- /** Paging metadata */
406
- pagingMetadata?: CursorPagingMetadata;
407
- }
408
- export interface CursorPagingMetadata {
409
- /** Number of items returned in the response. */
410
- count?: number | null;
411
- /** Cursor strings that point to the next page, previous page, or both. */
412
- cursors?: Cursors;
413
- /**
414
- * Whether there are more pages to retrieve following the current page.
415
- *
416
- * + `true`: Another page of results can be retrieved.
417
- * + `false`: This is the last page.
418
- */
419
- hasNext?: boolean | null;
420
- }
421
- export interface Cursors {
422
- /**
423
- * Cursor string pointing to the next page in the list of results.
424
- * @maxLength 16000
425
- */
426
- next?: string | null;
427
- /**
428
- * Cursor pointing to the previous page in the list of results.
429
- * @maxLength 16000
430
- */
431
- prev?: string | null;
432
- }
433
- export interface AddDeliveryRegionRequest {
434
- /**
435
- * delivery profile id to associated with the DeliveryRegion
436
- * @format GUID
437
- */
438
- deliveryProfileId: string;
439
- /** DeliveryRegion to be created */
440
- deliveryRegion: DeliveryRegion;
441
- /**
442
- * DeliveryProfile revision.
443
- * @readonly
444
- */
445
- revision?: string | null;
446
- }
447
- export interface AddDeliveryRegionResponse {
448
- /** The updated DeliveryProfile with the new DeliveryRegion */
449
- deliveryProfile?: DeliveryProfile;
450
- }
451
- export interface UpdateDeliveryRegionRequest {
452
- /**
453
- * DeliveryProfile id that owns the DeliveryRegion
454
- * @format GUID
455
- */
456
- deliveryProfileId: string;
457
- /** DeliveryRegion to be updated, may be partial */
458
- deliveryRegion: DeliveryRegion;
459
- /**
460
- * DeliveryProfile revision.
461
- * @readonly
462
- */
463
- revision?: string | null;
464
- }
465
- export interface UpdateDeliveryRegionResponse {
466
- /** The updated DeliveryProfile with the updated DeliveryRegion */
467
- deliveryProfile?: DeliveryProfile;
468
- }
469
- export interface RemoveDeliveryRegionRequest {
470
- /**
471
- * DeliveryProfile id that owns the DeliveryRegion
472
- * @format GUID
473
- */
474
- deliveryProfileId: string;
475
- /**
476
- * Id of the DeliveryRegion to delete
477
- * @format GUID
478
- */
479
- deliveryRegionId: string;
480
- /**
481
- * DeliveryProfile revision.
482
- * @readonly
483
- */
484
- revision?: string | null;
485
- }
486
- export interface RemoveDeliveryRegionResponse {
487
- /** The updated DeliveryProfile without DeliveryRegion */
488
- deliveryProfile?: DeliveryProfile;
489
- }
490
- export interface AddDeliveryCarrierRequest {
491
- /**
492
- * delivery_region id to associated with the delivery_carrier.
493
- * @format GUID
494
- */
495
- deliveryRegionId: string;
496
- /** delivery_carrier to be added. */
497
- deliveryCarrier: DeliveryCarrier;
498
- }
499
- export interface AddDeliveryCarrierResponse {
500
- /** The updated DeliveryProfile */
501
- deliveryProfile?: DeliveryProfile;
502
- }
503
- export interface RemoveDeliveryCarrierRequest {
504
- /**
505
- * Id of the DeliveryRegion
506
- * @format GUID
507
- */
508
- deliveryRegionId: string;
509
- /**
510
- * DeliveryCarrier app id to be removed.
511
- * @format GUID
512
- */
513
- appId: string;
514
- }
515
- export interface RemoveDeliveryCarrierResponse {
516
- /** The updated DeliveryProfile */
517
- deliveryProfile?: DeliveryProfile;
518
- }
519
- export interface UpdateDeliveryCarrierRequest {
520
- /**
521
- * DeliveryRegion id
522
- * @format GUID
523
- */
524
- deliveryRegionId: string;
525
- /** Updated delivery_carrier */
526
- deliveryCarrier?: DeliveryCarrier;
527
- }
528
- export interface UpdateDeliveryCarrierResponse {
529
- /** The updated DeliveryProfile with the updated DeliveryCarrier */
530
- deliveryProfile?: DeliveryProfile;
531
- }
532
- export interface ListDeliveryCarrierDetailsRequest {
533
- }
534
- export interface ListDeliveryCarrierDetailsResponse {
535
- /**
536
- * The list of carrier or multi-carrier services that has implemented the spi and installed on the current context(site)
537
- * @maxSize 100
538
- */
539
- deliveryCarrierDetails?: DeliveryCarrierDetails[];
540
- }
541
- export interface DeliveryCarrierDetails {
542
- /**
543
- * The id of the provider.
544
- * @format GUID
545
- */
546
- _id?: string;
547
- /**
548
- * The name of the Provider.
549
- * @maxLength 256
550
- */
551
- displayName?: string;
552
- /**
553
- * Provider's description.
554
- * @maxLength 200
555
- */
556
- description?: string | null;
557
- /**
558
- * A link to learn more about the provider.
559
- * @maxLength 200
560
- */
561
- learnMoreUrl?: string | null;
562
- /**
563
- * Dashboard URL for the provider.
564
- * @minLength 1
565
- * @maxLength 2048
566
- * @format WEB_URL
567
- */
568
- dashboardUrl?: string | null;
569
- /** If the provider fallback definition is mandatory. */
570
- fallbackDefinitionMandatory?: boolean | null;
571
- /**
572
- * Thumbnail image for provider.
573
- * @format WEB_URL
574
- */
575
- thumbnailUrl?: string | null;
576
- /** feature toggle initialized with default value = false. should be true if implemented by spi provider */
577
- toggleGetCarrierSettingsEnabled?: boolean;
578
- /** feature toggle initialized with default value = false. should be true if implemented by spi provider */
579
- toggleUpdateCarrierActiveStatusEnabled?: boolean;
580
- }
581
- export interface ListInstalledDeliveryCarriersRequest {
582
- }
583
- export interface ListInstalledDeliveryCarriersResponse {
584
- /**
585
- * The list of carrier or multi-carrier services that has implemented the spi and installed on the current context(site)
586
- * @maxSize 100
587
- */
588
- installedDeliveryCarriers?: InstalledDeliveryCarrier[];
589
- }
590
- export interface InstalledDeliveryCarrier {
591
- /**
592
- * The id of the provider.
593
- * @format GUID
594
- */
595
- _id?: string;
596
- /**
597
- * The name of the Provider.
598
- * @maxLength 256
599
- */
600
- displayName?: string;
601
- /**
602
- * Provider's description.
603
- * @maxLength 200
604
- */
605
- description?: string | null;
606
- /**
607
- * A link to learn more about the provider.
608
- * @maxLength 200
609
- */
610
- learnMoreUrl?: string | null;
611
- /**
612
- * Dashboard URL for the provider.
613
- * @minLength 1
614
- * @maxLength 2048
615
- * @format WEB_URL
616
- */
617
- dashboardUrl?: string | null;
618
- /** If the provider fallback definition is mandatory. */
619
- fallbackDefinitionMandatory?: boolean | null;
620
- /**
621
- * Thumbnail image for provider.
622
- * @format WEB_URL
623
- */
624
- thumbnailUrl?: string | null;
625
- /** feature toggle initialized with default value = false. should be true if implemented by spi provider */
626
- toggleGetCarrierSettingsEnabled?: boolean;
627
- }
628
- export interface ListDeliveryDestinationsRequest {
629
- }
630
- export interface ListDeliveryDestinationsResponse {
631
- /** Scope of destinations, when worldwide is selected, the destinations list will be empty. */
632
- destinationScope?: DestinationScope;
633
- /**
634
- * The list of destinations
635
- * @maxSize 200
636
- */
637
- destinations?: Destination[];
638
- }
639
- export declare enum DestinationScope {
640
- /** No additional destinations are requested */
641
- SPECIFIC_DESTINATIONS = "SPECIFIC_DESTINATIONS",
642
- /** All Destinations */
643
- WORLDWIDE = "WORLDWIDE"
644
- }
645
- export interface RequiredZipcodeRequest {
646
- }
647
- export interface RequiredZipcodeResponse {
648
- /** If the site requires a zipcode for delivery */
649
- requiredZipcode?: boolean;
650
- }
651
- export interface ListDeliveryCarriersRequest {
652
- /**
653
- * Delivery profile id.
654
- * @format GUID
655
- */
656
- deliveryProfileId: string;
657
- /**
658
- * Delivery app ids to get settings for.
659
- * @format GUID
660
- * @minSize 1
661
- * @maxSize 25
662
- */
663
- appIds?: string[];
664
- }
665
- export interface ListDeliveryCarriersResponse {
666
- /**
667
- * The list of delivery settings for the given requests
668
- * @maxSize 100
669
- */
670
- results?: ListDeliveryCarriersResult[];
671
- /** Bulk action metadata. */
672
- bulkActionMetadata?: BulkActionMetadata;
673
- }
674
- export interface ListDeliveryCarriersResult {
675
- /** Information about successful action or error for failure. */
676
- deliveryCarrierMetadata?: ItemMetadata;
677
- /** The delivery carrier details */
678
- deliveryCarrierDetails?: DeliveryCarrierDetails;
679
- /**
680
- * The delivery settings for the delivery profile and delivery region.
681
- * @minSize 1
682
- * @maxSize 5
683
- */
684
- deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings[];
685
- }
686
- export interface ItemMetadata {
687
- /**
688
- * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
689
- * @format GUID
690
- */
691
- _id?: string | null;
692
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
693
- success?: boolean;
694
- /** Details about the error in case of failure. */
695
- error?: ApplicationError;
696
- }
697
- export interface ApplicationError {
698
- /** Error code. */
699
- code?: string;
700
- /** Description of the error. */
701
- description?: string;
702
- /** Data related to the error. */
703
- data?: Record<string, any> | null;
704
- }
705
- export interface DeliveryCarrierRegionalSettings {
706
- /**
707
- * The delivery rule id.
708
- * @format GUID
709
- */
710
- deliveryRegionId?: string;
711
- /**
712
- * The shipping table values that are associated with the delivery rule. Can be multiple if the provider is an aggregator of multiple carriers.
713
- * @minSize 1
714
- * @maxSize 5
715
- */
716
- dashboardTables?: DashboardTable[];
717
- }
718
- export interface DashboardTable {
719
- /**
720
- * The title of the delivery settings that will be displayed in the UI.
721
- * @maxLength 256
722
- */
723
- title?: string;
724
- /**
725
- * The columns of the delivery settings that will be displayed in the UI.
726
- * @maxSize 200
727
- */
728
- columns?: Column[];
729
- /**
730
- * The content of the delivery settings. Each row is a map of column name to value.
731
- * @maxSize 25
732
- */
733
- rows?: Row[];
734
- }
735
- export interface Column {
736
- /**
737
- * The name of the column. This is used to get the data from the row.
738
- * @maxLength 256
739
- */
740
- key?: string;
741
- /**
742
- * The title of the column that will be displayed in the UI.
743
- * @maxLength 256
744
- */
745
- name?: string;
746
- }
747
- export interface Row {
748
- /**
749
- * The external key of the data presented in a row. This is used to identify the row in the UI for editing.
750
- * @maxLength 256
751
- */
752
- key?: string;
753
- /**
754
- * The data presented in the row. The key is the column `name` and the value is the data in the specific row and column.
755
- * Data will be in JSON format.
756
- */
757
- data?: Record<string, any> | null;
758
- /** The configuration's status of the current row. */
759
- active?: boolean;
760
- }
761
- export interface BulkActionMetadata {
762
- /** Number of items that were successfully processed. */
763
- totalSuccesses?: number;
764
- /** Number of items that couldn't be processed. */
765
- totalFailures?: number;
766
- /** Number of failures without details because detailed failure threshold was exceeded. */
767
- undetailedFailures?: number;
768
- }
769
- export interface UpdateCarrierSettingsRequest {
770
- /**
771
- * Carrier id.
772
- * @format GUID
773
- */
774
- carrierId: string;
775
- /**
776
- * Row id triggered the change
777
- * @format GUID
778
- */
779
- rowId: string;
780
- /** New status */
781
- active: boolean | null;
782
- }
783
- export interface UpdateCarrierSettingsResponse {
784
- }
785
- export interface UpdateExtendedFieldsRequest {
786
- /** ID of the entity to update. */
787
- _id: string;
788
- /** Identifier for the app whose extended fields are being updated. */
789
- namespace: string;
790
- /** 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. */
791
- namespaceData: Record<string, any> | null;
792
- }
793
- export interface UpdateExtendedFieldsResponse {
794
- /** Updated DeliveryProfile. */
795
- deliveryProfile?: DeliveryProfile;
796
- }
797
- export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
798
- /** Emitted on a meta site creation. */
799
- siteCreated?: SiteCreated;
800
- /** Emitted on a meta site transfer completion. */
801
- siteTransferred?: SiteTransferred;
802
- /** Emitted on a meta site deletion. */
803
- siteDeleted?: SiteDeleted;
804
- /** Emitted on a meta site restoration. */
805
- siteUndeleted?: SiteUndeleted;
806
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
807
- sitePublished?: SitePublished;
808
- /** Emitted on a meta site unpublish. */
809
- siteUnpublished?: SiteUnpublished;
810
- /** Emitted when meta site is marked as template. */
811
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
812
- /** Emitted when meta site is marked as a WixSite. */
813
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
814
- /** Emitted when an application is provisioned (installed). */
815
- serviceProvisioned?: ServiceProvisioned;
816
- /** Emitted when an application is removed (uninstalled). */
817
- serviceRemoved?: ServiceRemoved;
818
- /** Emitted when meta site name (URL slug) is changed. */
819
- siteRenamedPayload?: SiteRenamed;
820
- /** Emitted when meta site was permanently deleted. */
821
- hardDeleted?: SiteHardDeleted;
822
- /** Emitted on a namespace change. */
823
- namespaceChanged?: NamespaceChanged;
824
- /** Emitted when Studio is attached. */
825
- studioAssigned?: StudioAssigned;
826
- /** Emitted when Studio is detached. */
827
- studioUnassigned?: StudioUnassigned;
828
- /**
829
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
830
- * the actual URL.
831
- *
832
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
833
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
834
- */
835
- urlChanged?: SiteUrlChanged;
836
- /** Site is marked as PurgedExternally */
837
- sitePurgedExternally?: SitePurgedExternally;
838
- /**
839
- * A meta site id.
840
- * @format GUID
841
- */
842
- metaSiteId?: string;
843
- /** A meta site version. Monotonically increasing. */
844
- version?: string;
845
- /** A timestamp of the event. */
846
- timestamp?: string;
847
- /**
848
- * TODO(meta-site): Change validation once validations are disabled for consumers
849
- * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
850
- * @maxSize 4000
851
- */
852
- assets?: Asset[];
853
- }
854
- /** @oneof */
855
- export interface MetaSiteSpecialEventPayloadOneOf {
856
- /** Emitted on a meta site creation. */
857
- siteCreated?: SiteCreated;
858
- /** Emitted on a meta site transfer completion. */
859
- siteTransferred?: SiteTransferred;
860
- /** Emitted on a meta site deletion. */
861
- siteDeleted?: SiteDeleted;
862
- /** Emitted on a meta site restoration. */
863
- siteUndeleted?: SiteUndeleted;
864
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
865
- sitePublished?: SitePublished;
866
- /** Emitted on a meta site unpublish. */
867
- siteUnpublished?: SiteUnpublished;
868
- /** Emitted when meta site is marked as template. */
869
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
870
- /** Emitted when meta site is marked as a WixSite. */
871
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
872
- /** Emitted when an application is provisioned (installed). */
873
- serviceProvisioned?: ServiceProvisioned;
874
- /** Emitted when an application is removed (uninstalled). */
875
- serviceRemoved?: ServiceRemoved;
876
- /** Emitted when meta site name (URL slug) is changed. */
877
- siteRenamedPayload?: SiteRenamed;
878
- /** Emitted when meta site was permanently deleted. */
879
- hardDeleted?: SiteHardDeleted;
880
- /** Emitted on a namespace change. */
881
- namespaceChanged?: NamespaceChanged;
882
- /** Emitted when Studio is attached. */
883
- studioAssigned?: StudioAssigned;
884
- /** Emitted when Studio is detached. */
885
- studioUnassigned?: StudioUnassigned;
886
- /**
887
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
888
- * the actual URL.
889
- *
890
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
891
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
892
- */
893
- urlChanged?: SiteUrlChanged;
894
- /** Site is marked as PurgedExternally */
895
- sitePurgedExternally?: SitePurgedExternally;
896
- }
897
- export interface Asset {
898
- /**
899
- * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
900
- * @maxLength 36
901
- */
902
- appDefId?: string;
903
- /**
904
- * An instance id. For legacy reasons may be UUID or a string.
905
- * @maxLength 200
906
- */
907
- instanceId?: string;
908
- /** An application state. */
909
- state?: State;
910
- }
911
- export declare enum State {
912
- UNKNOWN = "UNKNOWN",
913
- ENABLED = "ENABLED",
914
- DISABLED = "DISABLED",
915
- PENDING = "PENDING",
916
- DEMO = "DEMO"
917
- }
918
- export interface SiteCreated {
919
- /**
920
- * A template identifier (empty if not created from a template).
921
- * @maxLength 36
922
- */
923
- originTemplateId?: string;
924
- /**
925
- * An account id of the owner.
926
- * @format GUID
927
- */
928
- ownerId?: string;
929
- /** A context in which meta site was created. */
930
- context?: SiteCreatedContext;
931
- /**
932
- * A meta site id from which this site was created.
933
- *
934
- * In case of a creation from a template it's a template id.
935
- * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
936
- * @format GUID
937
- */
938
- originMetaSiteId?: string | null;
939
- /**
940
- * A meta site name (URL slug).
941
- * @maxLength 20
942
- */
943
- siteName?: string;
944
- /** A namespace. */
945
- namespace?: Namespace;
946
- }
947
- export declare enum SiteCreatedContext {
948
- /** A valid option, we don't expose all reasons why site might be created. */
949
- OTHER = "OTHER",
950
- /** A meta site was created from template. */
951
- FROM_TEMPLATE = "FROM_TEMPLATE",
952
- /** A meta site was created by copying of the transfferred meta site. */
953
- DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
954
- /** A copy of existing meta site. */
955
- DUPLICATE = "DUPLICATE",
956
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
957
- OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
958
- /** deprecated A meta site was created for Flash editor. */
959
- FLASH = "FLASH"
960
- }
961
- export declare enum Namespace {
962
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
963
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
964
- WIX = "WIX",
965
- /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
966
- SHOUT_OUT = "SHOUT_OUT",
967
- /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
968
- ALBUMS = "ALBUMS",
969
- /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
970
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
971
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
972
- HOTELS = "HOTELS",
973
- /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
974
- CLUBS = "CLUBS",
975
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
976
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
977
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
978
- DEV_SITE = "DEV_SITE",
979
- /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
980
- LOGOS = "LOGOS",
981
- /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
982
- VIDEO_MAKER = "VIDEO_MAKER",
983
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
984
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
985
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
986
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
987
- /**
988
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
989
- *
990
- * Meta site with this namespace will *not* be shown in a user's site list by default.
991
- */
992
- HTML_DRAFT = "HTML_DRAFT",
993
- /**
994
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
995
- * Will be accessible from Site List and will not have a website app.
996
- * Once the user attaches a site, the site will become a regular wixsite.
997
- */
998
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
999
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
1000
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
1001
- /** It is to be used in the Business First efforts. */
1002
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
1003
- /** Bookings business flow with no site. */
1004
- ANYWHERE = "ANYWHERE",
1005
- /** Namespace for Headless Backoffice with no editor */
1006
- HEADLESS = "HEADLESS",
1007
- /**
1008
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
1009
- * The site will be used for account level CSM feature for enterprise
1010
- */
1011
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
1012
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
1013
- RISE = "RISE",
1014
- /**
1015
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
1016
- * There's a blank site behind the scene but it's blank).
1017
- * The Mobile company will be the owner of this namespace.
1018
- */
1019
- BRANDED_FIRST = "BRANDED_FIRST",
1020
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
1021
- NOWNIA = "NOWNIA",
1022
- /**
1023
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
1024
- * The Partners company owns this namespace.
1025
- */
1026
- UGC_TEMPLATE = "UGC_TEMPLATE",
1027
- /** Codux Headless Sites */
1028
- CODUX = "CODUX",
1029
- /** Bobb - AI Design Creator. */
1030
- MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
1031
- /**
1032
- * Shared Blog Site is a unique single site across Enterprise account,
1033
- * This site will hold all Blog posts related to the Marketing product.
1034
- */
1035
- SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
1036
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1037
- STANDALONE_FORMS = "STANDALONE_FORMS",
1038
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1039
- STANDALONE_EVENTS = "STANDALONE_EVENTS",
1040
- /** MIMIR - Siteless account for MIMIR Ai Job runner. */
1041
- MIMIR = "MIMIR"
1042
- }
1043
- /** Site transferred to another user. */
1044
- export interface SiteTransferred {
1045
- /**
1046
- * A previous owner id (user that transfers meta site).
1047
- * @format GUID
1048
- */
1049
- oldOwnerId?: string;
1050
- /**
1051
- * A new owner id (user that accepts meta site).
1052
- * @format GUID
1053
- */
1054
- newOwnerId?: string;
1055
- }
1056
- /** Soft deletion of the meta site. Could be restored. */
1057
- export interface SiteDeleted {
1058
- /** A deletion context. */
1059
- deleteContext?: DeleteContext;
1060
- }
1061
- export interface DeleteContext {
1062
- /** When the meta site was deleted. */
1063
- dateDeleted?: Date | null;
1064
- /** A status. */
1065
- deleteStatus?: DeleteStatus;
1066
- /**
1067
- * A reason (flow).
1068
- * @maxLength 255
1069
- */
1070
- deleteOrigin?: string;
1071
- /**
1072
- * A service that deleted it.
1073
- * @maxLength 255
1074
- */
1075
- initiatorId?: string | null;
1076
- }
1077
- export declare enum DeleteStatus {
1078
- UNKNOWN = "UNKNOWN",
1079
- TRASH = "TRASH",
1080
- DELETED = "DELETED",
1081
- PENDING_PURGE = "PENDING_PURGE",
1082
- PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
1083
- }
1084
- /** Restoration of the meta site. */
1085
- export interface SiteUndeleted {
1086
- }
1087
- /** First publish of a meta site. Or subsequent publish after unpublish. */
1088
- export interface SitePublished {
1089
- }
1090
- export interface SiteUnpublished {
1091
- /**
1092
- * A list of URLs previously associated with the meta site.
1093
- * @maxLength 4000
1094
- * @maxSize 10000
1095
- */
1096
- urls?: string[];
1097
- }
1098
- export interface SiteMarkedAsTemplate {
1099
- }
1100
- export interface SiteMarkedAsWixSite {
1101
- }
1102
- /**
1103
- * Represents a service provisioned a site.
1104
- *
1105
- * Note on `origin_instance_id`:
1106
- * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
1107
- * This is because of the following scenario:
1108
- *
1109
- * Imagine you have a template where a third-party application (TPA) includes some stub data,
1110
- * such as a product catalog. When you create a site from this template, you inherit this
1111
- * default product catalog. However, if the template's product catalog is modified,
1112
- * your site will retain the catalog as it was at the time of site creation. This ensures that
1113
- * your site remains consistent with what you initially received and does not include any
1114
- * changes made to the original template afterward.
1115
- * To ensure this, the TPA on the template gets a new instance_id.
1116
- */
1117
- export interface ServiceProvisioned {
1118
- /**
1119
- * Either UUID or EmbeddedServiceType.
1120
- * @maxLength 36
1121
- */
1122
- appDefId?: string;
1123
- /**
1124
- * Not only UUID. Something here could be something weird.
1125
- * @maxLength 36
1126
- */
1127
- instanceId?: string;
1128
- /**
1129
- * An instance id from which this instance is originated.
1130
- * @maxLength 36
1131
- */
1132
- originInstanceId?: string;
1133
- /**
1134
- * A version.
1135
- * @maxLength 500
1136
- */
1137
- version?: string | null;
1138
- /**
1139
- * The origin meta site id
1140
- * @format GUID
1141
- */
1142
- originMetaSiteId?: string | null;
1143
- }
1144
- export interface ServiceRemoved {
1145
- /**
1146
- * Either UUID or EmbeddedServiceType.
1147
- * @maxLength 36
1148
- */
1149
- appDefId?: string;
1150
- /**
1151
- * Not only UUID. Something here could be something weird.
1152
- * @maxLength 36
1153
- */
1154
- instanceId?: string;
1155
- /**
1156
- * A version.
1157
- * @maxLength 500
1158
- */
1159
- version?: string | null;
1160
- }
1161
- /** Rename of the site. Meaning, free public url has been changed as well. */
1162
- export interface SiteRenamed {
1163
- /**
1164
- * A new meta site name (URL slug).
1165
- * @maxLength 20
1166
- */
1167
- newSiteName?: string;
1168
- /**
1169
- * A previous meta site name (URL slug).
1170
- * @maxLength 255
1171
- */
1172
- oldSiteName?: string;
1173
- }
1174
- /**
1175
- * Hard deletion of the meta site.
1176
- *
1177
- * Could not be restored. Therefore it's desirable to cleanup data.
1178
- */
1179
- export interface SiteHardDeleted {
1180
- /** A deletion context. */
1181
- deleteContext?: DeleteContext;
1182
- }
1183
- export interface NamespaceChanged {
1184
- /** A previous namespace. */
1185
- oldNamespace?: Namespace;
1186
- /** A new namespace. */
1187
- newNamespace?: Namespace;
1188
- }
1189
- /** Assigned Studio editor */
1190
- export interface StudioAssigned {
1191
- }
1192
- /** Unassigned Studio editor */
1193
- export interface StudioUnassigned {
1194
- }
1195
- /**
1196
- * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
1197
- *
1198
- * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
1199
- * with sites and its urls, you need to listen to another topic/event. Read about it:
1200
- *
1201
- * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
1202
- */
1203
- export interface SiteUrlChanged {
1204
- }
1205
- /**
1206
- * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
1207
- * Consumed by other teams to remove relevant data.
1208
- */
1209
- export interface SitePurgedExternally {
1210
- /**
1211
- * @maxLength 2048
1212
- * @maxSize 100
1213
- * @deprecated
1214
- * @targetRemovalDate 2025-04-15
1215
- */
1216
- appDefId?: string[];
1217
- }
1218
- export interface Empty {
1219
- }
1220
- export interface DomainEvent extends DomainEventBodyOneOf {
1221
- createdEvent?: EntityCreatedEvent;
1222
- updatedEvent?: EntityUpdatedEvent;
1223
- deletedEvent?: EntityDeletedEvent;
1224
- actionEvent?: ActionEvent;
1225
- /**
1226
- * Unique event ID.
1227
- * Allows clients to ignore duplicate webhooks.
1228
- */
1229
- _id?: string;
1230
- /**
1231
- * Assumes actions are also always typed to an entity_type
1232
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1233
- */
1234
- entityFqdn?: string;
1235
- /**
1236
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1237
- * This is although the created/updated/deleted notion is duplication of the oneof types
1238
- * Example: created/updated/deleted/started/completed/email_opened
1239
- */
1240
- slug?: string;
1241
- /** ID of the entity associated with the event. */
1242
- entityId?: string;
1243
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1244
- eventTime?: Date | null;
1245
- /**
1246
- * Whether the event was triggered as a result of a privacy regulation application
1247
- * (for example, GDPR).
1248
- */
1249
- triggeredByAnonymizeRequest?: boolean | null;
1250
- /** If present, indicates the action that triggered the event. */
1251
- originatedFrom?: string | null;
1252
- /**
1253
- * A sequence number defining the order of updates to the underlying entity.
1254
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1255
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1256
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1257
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1258
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1259
- */
1260
- entityEventSequence?: string | null;
1261
- }
1262
- /** @oneof */
1263
- export interface DomainEventBodyOneOf {
1264
- createdEvent?: EntityCreatedEvent;
1265
- updatedEvent?: EntityUpdatedEvent;
1266
- deletedEvent?: EntityDeletedEvent;
1267
- actionEvent?: ActionEvent;
1268
- }
1269
- export interface EntityCreatedEvent {
1270
- entity?: string;
1271
- }
1272
- export interface RestoreInfo {
1273
- deletedDate?: Date | null;
1274
- }
1275
- export interface EntityUpdatedEvent {
1276
- /**
1277
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1278
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1279
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1280
- */
1281
- currentEntity?: string;
1282
- }
1283
- export interface EntityDeletedEvent {
1284
- /** Entity that was deleted */
1285
- deletedEntity?: string | null;
1286
- }
1287
- export interface ActionEvent {
1288
- body?: string;
1289
- }
1290
- export interface MessageEnvelope {
1291
- /**
1292
- * App instance ID.
1293
- * @format GUID
1294
- */
1295
- instanceId?: string | null;
1296
- /**
1297
- * Event type.
1298
- * @maxLength 150
1299
- */
1300
- eventType?: string;
1301
- /** The identification type and identity data. */
1302
- identity?: IdentificationData;
1303
- /** Stringify payload. */
1304
- data?: string;
1305
- }
1306
- export interface IdentificationData extends IdentificationDataIdOneOf {
1307
- /**
1308
- * ID of a site visitor that has not logged in to the site.
1309
- * @format GUID
1310
- */
1311
- anonymousVisitorId?: string;
1312
- /**
1313
- * ID of a site visitor that has logged in to the site.
1314
- * @format GUID
1315
- */
1316
- memberId?: string;
1317
- /**
1318
- * ID of a Wix user (site owner, contributor, etc.).
1319
- * @format GUID
1320
- */
1321
- wixUserId?: string;
1322
- /**
1323
- * ID of an app.
1324
- * @format GUID
1325
- */
1326
- appId?: string;
1327
- /** @readonly */
1328
- identityType?: WebhookIdentityType;
1329
- }
1330
- /** @oneof */
1331
- export interface IdentificationDataIdOneOf {
1332
- /**
1333
- * ID of a site visitor that has not logged in to the site.
1334
- * @format GUID
1335
- */
1336
- anonymousVisitorId?: string;
1337
- /**
1338
- * ID of a site visitor that has logged in to the site.
1339
- * @format GUID
1340
- */
1341
- memberId?: string;
1342
- /**
1343
- * ID of a Wix user (site owner, contributor, etc.).
1344
- * @format GUID
1345
- */
1346
- wixUserId?: string;
1347
- /**
1348
- * ID of an app.
1349
- * @format GUID
1350
- */
1351
- appId?: string;
1352
- }
1353
- export declare enum WebhookIdentityType {
1354
- UNKNOWN = "UNKNOWN",
1355
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1356
- MEMBER = "MEMBER",
1357
- WIX_USER = "WIX_USER",
1358
- APP = "APP"
1359
- }
1360
- type DeliveryProfileNonNullablePaths = `deliveryRegions` | `deliveryRegions.${number}.deliveryCarriers` | `deliveryRegions.${number}.deliveryCarriers.${number}.appId` | `deliveryRegions.${number}.deliveryCarriers.${number}.backupRate.active` | `deliveryRegions.${number}.deliveryCarriers.${number}.additionalCharges` | `deliveryRegions.${number}.deliveryCarriers.${number}.additionalCharges.${number}.type` | `deliveryRegions.${number}.deliveryCarriers.${number}.additionalCharges.${number}.price` | `deliveryRegions.${number}.deliveryCarriers.${number}.additionalCharges.${number}.amount` | `deliveryRegions.${number}.destinations` | `deliveryRegions.${number}.destinations.${number}.countryCode` | `deliveryRegions.${number}.destinations.${number}.subdivisions`;
1361
- /**
1362
- * Creates a DeliveryProfile.
1363
- *
1364
- * The request body must include the DeliveryProfiles name. DeliveryRegions are optional.
1365
- * @param deliveryProfile - DeliveryProfile to be created.
1366
- * @public
1367
- * @documentationMaturity preview
1368
- * @requiredField deliveryProfile
1369
- * @requiredField deliveryProfile.deliveryRegions.destinations
1370
- * @requiredField deliveryProfile.deliveryRegions.destinations.countryCode
1371
- * @requiredField deliveryProfile.deliveryRegions.name
1372
- * @requiredField deliveryProfile.name
1373
- * @permissionId ECOM.DELIVERY_PROFILE_CREATE
1374
- * @permissionScope Manage Stores - all permissions
1375
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1376
- * @permissionScope Manage Restaurants - all permissions
1377
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1378
- * @permissionScope Manage eCommerce - all permissions
1379
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1380
- * @applicableIdentity APP
1381
- * @returns The created DeliveryProfile.
1382
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.CreateDeliveryProfile
1383
- */
1384
- export declare function createDeliveryProfile(deliveryProfile: NonNullablePaths<DeliveryProfile, `deliveryRegions.${number}.destinations` | `deliveryRegions.${number}.destinations.${number}.countryCode` | `deliveryRegions.${number}.name` | `name`>): Promise<NonNullablePaths<DeliveryProfile, DeliveryProfileNonNullablePaths>>;
1385
- /**
1386
- * Retrieves a DeliveryProfile.
1387
- * @param deliveryProfileId - ID of the DeliveryProfile to retrieve.
1388
- * @public
1389
- * @documentationMaturity preview
1390
- * @requiredField deliveryProfileId
1391
- * @permissionId ECOM.DELIVERY_PROFILE_READ
1392
- * @permissionScope Manage Stores - all permissions
1393
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1394
- * @permissionScope Read eCommerce - all read permissions
1395
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1396
- * @permissionScope Manage Restaurants - all permissions
1397
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1398
- * @permissionScope Manage eCommerce - all permissions
1399
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1400
- * @applicableIdentity APP
1401
- * @applicableIdentity VISITOR
1402
- * @returns The requested DeliveryProfile.
1403
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfile
1404
- */
1405
- export declare function getDeliveryProfile(deliveryProfileId: string): Promise<NonNullablePaths<DeliveryProfile, DeliveryProfileNonNullablePaths>>;
1406
- /**
1407
- * Updates a DeliveryProfile.
1408
- *
1409
- *
1410
- * Each time the DeliveryProfile is updated,
1411
- * `revision` increments by 1.
1412
- * The current `revision` must be passed when updating the DeliveryProfile.
1413
- * This ensures you're working with the latest DeliveryProfile
1414
- * and prevents unintended overwrites.
1415
- *
1416
- * This method does not allow updating the DeliveryRegions in this DeliveryProfile.
1417
- * Use AddDeliveryRegion, UpdateDeliveryRegion and RemoveDeliveryRegion for these functionalities.
1418
- * @param _id - DeliveryProfile ID.
1419
- * @public
1420
- * @documentationMaturity preview
1421
- * @requiredField _id
1422
- * @requiredField deliveryProfile
1423
- * @requiredField deliveryProfile.revision
1424
- * @permissionId ECOM.DELIVERY_PROFILE_UPDATE
1425
- * @permissionScope Manage Stores - all permissions
1426
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1427
- * @permissionScope Manage Restaurants - all permissions
1428
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1429
- * @permissionScope Manage eCommerce - all permissions
1430
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1431
- * @applicableIdentity APP
1432
- * @returns Updated DeliveryProfile.
1433
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryProfile
1434
- */
1435
- export declare function updateDeliveryProfile(_id: string, deliveryProfile: NonNullablePaths<UpdateDeliveryProfile, `revision`>): Promise<NonNullablePaths<DeliveryProfile, DeliveryProfileNonNullablePaths>>;
1436
- export interface UpdateDeliveryProfile {
1437
- /**
1438
- * DeliveryProfile ID.
1439
- * @format GUID
1440
- * @readonly
1441
- */
1442
- _id?: string | null;
1443
- /**
1444
- * DeliveryProfile name.
1445
- * @minLength 1
1446
- * @maxLength 256
1447
- */
1448
- name?: string | null;
1449
- /**
1450
- * Flags this DeliveryProfile as the default DeliveryProfile.
1451
- * @readonly
1452
- */
1453
- default?: boolean | null;
1454
- /**
1455
- * A list of DeliveryProfile regions.
1456
- * @maxSize 100
1457
- */
1458
- deliveryRegions?: DeliveryRegion[];
1459
- /** ID of the delivery profile's creator. */
1460
- createdBy?: CreatedBy;
1461
- /**
1462
- * DeliveryProfile revision.
1463
- * @readonly
1464
- */
1465
- revision?: string | null;
1466
- /**
1467
- * Date and time the DeliveryProfile was created.
1468
- * @readonly
1469
- */
1470
- _createdDate?: Date | null;
1471
- /**
1472
- * Date and time the DeliveryProfile was last updated.
1473
- * @readonly
1474
- */
1475
- _updatedDate?: Date | null;
1476
- /** [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. */
1477
- extendedFields?: ExtendedFields;
1478
- }
1479
- /**
1480
- * Deletes a DeliveryProfile.
1481
- *
1482
- * Deleting a DeliveryProfile permanently removes them from the DeliveryProfile List.
1483
- * @param deliveryProfileId - Id of the DeliveryProfile to delete.
1484
- * @public
1485
- * @documentationMaturity preview
1486
- * @requiredField deliveryProfileId
1487
- * @permissionId ECOM.DELIVERY_PROFILE_DELETE
1488
- * @permissionScope Manage Stores - all permissions
1489
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1490
- * @permissionScope Manage Restaurants - all permissions
1491
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1492
- * @permissionScope Manage eCommerce - all permissions
1493
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1494
- * @applicableIdentity APP
1495
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.DeleteDeliveryProfile
1496
- */
1497
- export declare function deleteDeliveryProfile(deliveryProfileId: string): Promise<void>;
1498
- /**
1499
- * Retrieves a list of DeliveryProfiles, given the provided [paging, filtering, and sorting][1].
1500
- *
1501
- * Up to 1,000 DeliveryProfiles can be returned per request.
1502
- *
1503
- * To learn how to query DeliveryProfiles, see [API Query Language][2].
1504
- *
1505
- * [1]: https://dev.wix.com/api/rest/getting-started/sorting-and-paging
1506
- * [2]: https://dev.wix.com/api/rest/getting-started/api-query-language
1507
- * @public
1508
- * @documentationMaturity preview
1509
- * @permissionScope Manage Stores - all permissions
1510
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1511
- * @permissionScope Read eCommerce - all read permissions
1512
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1513
- * @permissionScope Manage Restaurants - all permissions
1514
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1515
- * @permissionScope Manage eCommerce - all permissions
1516
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1517
- * @permissionId ECOM.DELIVERY_PROFILE_READ
1518
- * @applicableIdentity APP
1519
- * @applicableIdentity VISITOR
1520
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.QueryDeliveryProfiles
1521
- */
1522
- export declare function queryDeliveryProfiles(): DeliveryProfilesQueryBuilder;
1523
- interface QueryCursorResult {
1524
- cursors: Cursors;
1525
- hasNext: () => boolean;
1526
- hasPrev: () => boolean;
1527
- length: number;
1528
- pageSize: number;
1529
- }
1530
- export interface DeliveryProfilesQueryResult extends QueryCursorResult {
1531
- items: DeliveryProfile[];
1532
- query: DeliveryProfilesQueryBuilder;
1533
- next: () => Promise<DeliveryProfilesQueryResult>;
1534
- prev: () => Promise<DeliveryProfilesQueryResult>;
1535
- }
1536
- export interface DeliveryProfilesQueryBuilder {
1537
- /** @param propertyName - Property whose value is compared with `value`.
1538
- * @param value - Value to compare against.
1539
- * @documentationMaturity preview
1540
- */
1541
- eq: (propertyName: '_id' | 'name' | 'default' | 'deliveryRegions.id' | 'deliveryRegions.active' | 'deliveryRegions.createdDate' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1542
- /** @param propertyName - Property whose value is compared with `value`.
1543
- * @param value - Value to compare against.
1544
- * @documentationMaturity preview
1545
- */
1546
- ne: (propertyName: '_id' | 'name' | 'default' | 'deliveryRegions.id' | 'deliveryRegions.active' | 'deliveryRegions.createdDate' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1547
- /** @param propertyName - Property whose value is compared with `value`.
1548
- * @param value - Value to compare against.
1549
- * @documentationMaturity preview
1550
- */
1551
- ge: (propertyName: 'deliveryRegions.createdDate' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1552
- /** @param propertyName - Property whose value is compared with `value`.
1553
- * @param value - Value to compare against.
1554
- * @documentationMaturity preview
1555
- */
1556
- gt: (propertyName: 'deliveryRegions.createdDate' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1557
- /** @param propertyName - Property whose value is compared with `value`.
1558
- * @param value - Value to compare against.
1559
- * @documentationMaturity preview
1560
- */
1561
- le: (propertyName: 'deliveryRegions.createdDate' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1562
- /** @param propertyName - Property whose value is compared with `value`.
1563
- * @param value - Value to compare against.
1564
- * @documentationMaturity preview
1565
- */
1566
- lt: (propertyName: 'deliveryRegions.createdDate' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1567
- /** @param propertyName - Property whose value is compared with `string`.
1568
- * @param string - String to compare against. Case-insensitive.
1569
- * @documentationMaturity preview
1570
- */
1571
- startsWith: (propertyName: '_id' | 'name' | 'deliveryRegions.id', value: string) => DeliveryProfilesQueryBuilder;
1572
- /** @param propertyName - Property whose value is compared with `values`.
1573
- * @param values - List of values to compare against.
1574
- * @documentationMaturity preview
1575
- */
1576
- hasSome: (propertyName: '_id' | 'name' | 'default' | 'deliveryRegions.id' | 'deliveryRegions.active' | 'deliveryRegions.createdDate' | '_createdDate', value: any[]) => DeliveryProfilesQueryBuilder;
1577
- /** @documentationMaturity preview */
1578
- in: (propertyName: '_id' | 'name' | 'default' | 'deliveryRegions.id' | 'deliveryRegions.active' | 'deliveryRegions.createdDate' | '_createdDate', value: any) => DeliveryProfilesQueryBuilder;
1579
- /** @documentationMaturity preview */
1580
- exists: (propertyName: '_id' | 'name' | 'default' | 'deliveryRegions.id' | 'deliveryRegions.active' | 'deliveryRegions.createdDate' | '_createdDate', value: boolean) => DeliveryProfilesQueryBuilder;
1581
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1582
- * @documentationMaturity preview
1583
- */
1584
- ascending: (...propertyNames: Array<'_id' | 'name' | 'default' | 'deliveryRegions.id' | 'deliveryRegions.active' | 'deliveryRegions.destinations' | 'deliveryRegions.createdDate' | '_createdDate'>) => DeliveryProfilesQueryBuilder;
1585
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1586
- * @documentationMaturity preview
1587
- */
1588
- descending: (...propertyNames: Array<'_id' | 'name' | 'default' | 'deliveryRegions.id' | 'deliveryRegions.active' | 'deliveryRegions.destinations' | 'deliveryRegions.createdDate' | '_createdDate'>) => DeliveryProfilesQueryBuilder;
1589
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
1590
- * @documentationMaturity preview
1591
- */
1592
- limit: (limit: number) => DeliveryProfilesQueryBuilder;
1593
- /** @param cursor - A pointer to specific record
1594
- * @documentationMaturity preview
1595
- */
1596
- skipTo: (cursor: string) => DeliveryProfilesQueryBuilder;
1597
- /** @documentationMaturity preview */
1598
- find: () => Promise<DeliveryProfilesQueryResult>;
1599
- }
1600
- /**
1601
- * Creates a new DeliveryRegion in an existing DeliveryProfile.
1602
- * @param deliveryProfileId - delivery profile id to associated with the DeliveryRegion
1603
- * @param deliveryRegion - DeliveryRegion to be created
1604
- * @public
1605
- * @documentationMaturity preview
1606
- * @requiredField deliveryProfileId
1607
- * @requiredField deliveryRegion
1608
- * @requiredField deliveryRegion.destinations.countryCode
1609
- * @requiredField deliveryRegion.name
1610
- * @permissionId ECOM.DELIVERY_PROFILE_UPDATE
1611
- * @permissionScope Manage Stores - all permissions
1612
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1613
- * @permissionScope Manage Restaurants - all permissions
1614
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1615
- * @permissionScope Manage eCommerce - all permissions
1616
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1617
- * @applicableIdentity APP
1618
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryRegion
1619
- */
1620
- export declare function addDeliveryRegion(deliveryProfileId: string, deliveryRegion: NonNullablePaths<DeliveryRegion, `destinations.${number}.countryCode` | `name`>, options?: AddDeliveryRegionOptions): Promise<NonNullablePaths<AddDeliveryRegionResponse, {
1621
- [P in DeliveryProfileNonNullablePaths]: `deliveryProfile.${P}`;
1622
- }[DeliveryProfileNonNullablePaths]>>;
1623
- export interface AddDeliveryRegionOptions {
1624
- /**
1625
- * DeliveryProfile revision.
1626
- * @readonly
1627
- */
1628
- revision?: string | null;
1629
- }
1630
- /**
1631
- * Update a DeliveryRegion, supports partial update
1632
- * Pass the latest `revision` for a successful update
1633
- *
1634
- * This method does not allow setting or updating the delivery delivery_carriers in this delivery_region.
1635
- * Use AddDeliveryCarrier, UpdateDeliveryCarrier and RemoveDeliveryCarrier for these functionalities.
1636
- * @public
1637
- * @documentationMaturity preview
1638
- * @requiredField deliveryRegion
1639
- * @requiredField identifiers
1640
- * @requiredField identifiers.deliveryProfileId
1641
- * @requiredField identifiers.deliveryRegionId
1642
- * @permissionId ECOM.DELIVERY_REGION_UPDATE
1643
- * @permissionScope Manage Stores - all permissions
1644
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1645
- * @permissionScope Manage Restaurants - all permissions
1646
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1647
- * @permissionScope Manage eCommerce - all permissions
1648
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1649
- * @applicableIdentity APP
1650
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryRegion
1651
- */
1652
- export declare function updateDeliveryRegion(identifiers: NonNullablePaths<UpdateDeliveryRegionIdentifiers, `deliveryProfileId` | `deliveryRegionId`>, deliveryRegion: UpdateDeliveryRegion, options?: UpdateDeliveryRegionOptions): Promise<NonNullablePaths<UpdateDeliveryRegionResponse, {
1653
- [P in DeliveryProfileNonNullablePaths]: `deliveryProfile.${P}`;
1654
- }[DeliveryProfileNonNullablePaths]>>;
1655
- export interface UpdateDeliveryRegionIdentifiers {
1656
- /**
1657
- * DeliveryProfile id that owns the DeliveryRegion
1658
- * @format GUID
1659
- */
1660
- deliveryProfileId: string;
1661
- /**
1662
- * The delivery region id.
1663
- * @format GUID
1664
- * @readonly
1665
- */
1666
- deliveryRegionId?: string | null;
1667
- }
1668
- export interface UpdateDeliveryRegion {
1669
- /**
1670
- * The delivery region id.
1671
- * @format GUID
1672
- * @readonly
1673
- */
1674
- _id?: string | null;
1675
- /**
1676
- * Optional name of the region, for example: "Domestic".
1677
- * @minLength 1
1678
- * @maxLength 256
1679
- */
1680
- name?: string | null;
1681
- /** Indicates that this rule is active, default value is true. */
1682
- active?: boolean | null;
1683
- /**
1684
- * The spi implementers id of shipping-rates spi, assigned to this rule.
1685
- * @maxSize 25
1686
- * @readonly
1687
- */
1688
- deliveryCarriers?: DeliveryCarrier[];
1689
- /**
1690
- * The operation region of this rule, if empty than it is global.
1691
- * @maxSize 200
1692
- */
1693
- destinations?: Destination[];
1694
- /**
1695
- * Represents the time this Profile was created
1696
- * @readonly
1697
- */
1698
- _createdDate?: Date | null;
1699
- }
1700
- export interface UpdateDeliveryRegionOptions {
1701
- /**
1702
- * DeliveryProfile revision.
1703
- * @readonly
1704
- */
1705
- revision?: string | null;
1706
- }
1707
- /**
1708
- * Delete a DeliveryRegion
1709
- * @public
1710
- * @documentationMaturity preview
1711
- * @requiredField identifiers
1712
- * @requiredField identifiers.deliveryProfileId
1713
- * @requiredField identifiers.deliveryRegionId
1714
- * @permissionId ECOM.DELIVERY_PROFILE_UPDATE
1715
- * @permissionScope Manage Stores - all permissions
1716
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1717
- * @permissionScope Manage Restaurants - all permissions
1718
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1719
- * @permissionScope Manage eCommerce - all permissions
1720
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1721
- * @applicableIdentity APP
1722
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryRegion
1723
- */
1724
- export declare function removeDeliveryRegion(identifiers: NonNullablePaths<RemoveDeliveryRegionIdentifiers, `deliveryProfileId` | `deliveryRegionId`>, options?: RemoveDeliveryRegionOptions): Promise<NonNullablePaths<RemoveDeliveryRegionResponse, {
1725
- [P in DeliveryProfileNonNullablePaths]: `deliveryProfile.${P}`;
1726
- }[DeliveryProfileNonNullablePaths]>>;
1727
- export interface RemoveDeliveryRegionIdentifiers {
1728
- /**
1729
- * DeliveryProfile id that owns the DeliveryRegion
1730
- * @format GUID
1731
- */
1732
- deliveryProfileId: string;
1733
- /**
1734
- * Id of the DeliveryRegion to delete
1735
- * @format GUID
1736
- */
1737
- deliveryRegionId: string;
1738
- }
1739
- export interface RemoveDeliveryRegionOptions {
1740
- /**
1741
- * DeliveryProfile revision.
1742
- * @readonly
1743
- */
1744
- revision?: string | null;
1745
- }
1746
- /**
1747
- * Add a delivery_carrier to a delivery region
1748
- * @param deliveryRegionId - delivery_region id to associated with the delivery_carrier.
1749
- * @public
1750
- * @documentationMaturity preview
1751
- * @requiredField deliveryRegionId
1752
- * @requiredField options
1753
- * @requiredField options.deliveryCarrier
1754
- * @permissionId ECOM.DELIVERY_CARRIER_ADD
1755
- * @permissionScope Manage Stores - all permissions
1756
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1757
- * @permissionScope Manage Restaurants - all permissions
1758
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1759
- * @permissionScope Manage eCommerce - all permissions
1760
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1761
- * @applicableIdentity APP
1762
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier
1763
- */
1764
- export declare function addDeliveryCarrier(deliveryRegionId: string, options: NonNullablePaths<AddDeliveryCarrierOptions, `deliveryCarrier`>): Promise<NonNullablePaths<AddDeliveryCarrierResponse, {
1765
- [P in DeliveryProfileNonNullablePaths]: `deliveryProfile.${P}`;
1766
- }[DeliveryProfileNonNullablePaths]>>;
1767
- export interface AddDeliveryCarrierOptions {
1768
- /** delivery_carrier to be added. */
1769
- deliveryCarrier: DeliveryCarrier;
1770
- }
1771
- /**
1772
- * Remove a delivery_carrier from a delivery region
1773
- * @param deliveryRegionId - Id of the DeliveryRegion
1774
- * @public
1775
- * @documentationMaturity preview
1776
- * @requiredField deliveryRegionId
1777
- * @requiredField options
1778
- * @requiredField options.appId
1779
- * @permissionId ECOM.DELIVERY_CARRIER_REMOVE
1780
- * @permissionScope Manage Stores - all permissions
1781
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1782
- * @permissionScope Manage Restaurants - all permissions
1783
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1784
- * @permissionScope Manage eCommerce - all permissions
1785
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1786
- * @applicableIdentity APP
1787
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryCarrier
1788
- */
1789
- export declare function removeDeliveryCarrier(deliveryRegionId: string, options: NonNullablePaths<RemoveDeliveryCarrierOptions, `appId`>): Promise<NonNullablePaths<RemoveDeliveryCarrierResponse, {
1790
- [P in DeliveryProfileNonNullablePaths]: `deliveryProfile.${P}`;
1791
- }[DeliveryProfileNonNullablePaths]>>;
1792
- export interface RemoveDeliveryCarrierOptions {
1793
- /**
1794
- * DeliveryCarrier app id to be removed.
1795
- * @format GUID
1796
- */
1797
- appId: string;
1798
- }
1799
- /**
1800
- * Update a delivery carrier in a delivery region
1801
- * @param deliveryRegionId - DeliveryRegion id
1802
- * @public
1803
- * @documentationMaturity preview
1804
- * @requiredField deliveryRegionId
1805
- * @requiredField options.deliveryCarrier.appId
1806
- * @permissionId ECOM.DELIVERY_CARRIER_UPDATE
1807
- * @permissionScope Manage Stores - all permissions
1808
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1809
- * @permissionScope Manage Restaurants - all permissions
1810
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1811
- * @permissionScope Manage eCommerce - all permissions
1812
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1813
- * @applicableIdentity APP
1814
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryCarrier
1815
- */
1816
- export declare function updateDeliveryCarrier(deliveryRegionId: string, options?: NonNullablePaths<UpdateDeliveryCarrierOptions, `deliveryCarrier.appId`>): Promise<NonNullablePaths<UpdateDeliveryCarrierResponse, {
1817
- [P in DeliveryProfileNonNullablePaths]: `deliveryProfile.${P}`;
1818
- }[DeliveryProfileNonNullablePaths]>>;
1819
- export interface UpdateDeliveryCarrierOptions {
1820
- /** Updated delivery_carrier */
1821
- deliveryCarrier?: DeliveryCarrier;
1822
- }
1823
- /**
1824
- * List all installed delivery carriers in order to set their ids in delivery rules
1825
- * @public
1826
- * @documentationMaturity preview
1827
- * @permissionId ECOM.DELIVERY_CARRIER_DETAILS_READ
1828
- * @permissionScope Manage Stores - all permissions
1829
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1830
- * @permissionScope Read eCommerce - all read permissions
1831
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1832
- * @permissionScope Manage Restaurants - all permissions
1833
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1834
- * @permissionScope Manage eCommerce - all permissions
1835
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1836
- * @applicableIdentity APP
1837
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarrierDetails
1838
- * @deprecated
1839
- * @replacedBy ListInstalledDeliveryCarriers
1840
- * @targetRemovalDate 2025-04-01
1841
- */
1842
- export declare function listDeliveryCarrierDetails(): Promise<NonNullablePaths<ListDeliveryCarrierDetailsResponse, `deliveryCarrierDetails` | `deliveryCarrierDetails.${number}._id` | `deliveryCarrierDetails.${number}.displayName` | `deliveryCarrierDetails.${number}.toggleGetCarrierSettingsEnabled` | `deliveryCarrierDetails.${number}.toggleUpdateCarrierActiveStatusEnabled`>>;
1843
- /** @public
1844
- * @documentationMaturity preview
1845
- * @permissionId ECOM.DELIVERY_CARRIER_READ
1846
- * @permissionScope Manage Stores - all permissions
1847
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1848
- * @permissionScope Read eCommerce - all read permissions
1849
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1850
- * @permissionScope Manage Restaurants - all permissions
1851
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1852
- * @permissionScope Manage eCommerce - all permissions
1853
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1854
- * @applicableIdentity APP
1855
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListInstalledDeliveryCarriers
1856
- */
1857
- export declare function listInstalledDeliveryCarriers(): Promise<NonNullablePaths<ListInstalledDeliveryCarriersResponse, `installedDeliveryCarriers` | `installedDeliveryCarriers.${number}._id` | `installedDeliveryCarriers.${number}.displayName` | `installedDeliveryCarriers.${number}.toggleGetCarrierSettingsEnabled`>>;
1858
- /**
1859
- * Get delivery carrier settings for a delivery profile and delivery region.
1860
- * These are returned in a table format for the dashboard.
1861
- * @param deliveryProfileId - Delivery profile id.
1862
- * @public
1863
- * @documentationMaturity preview
1864
- * @requiredField deliveryProfileId
1865
- * @permissionId ECOM.DELIVERY_CARRIER_READ
1866
- * @permissionScope Manage Stores - all permissions
1867
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1868
- * @permissionScope Read eCommerce - all read permissions
1869
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
1870
- * @permissionScope Manage Restaurants - all permissions
1871
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1872
- * @permissionScope Manage eCommerce - all permissions
1873
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1874
- * @applicableIdentity APP
1875
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarriers
1876
- */
1877
- export declare function listDeliveryCarriers(deliveryProfileId: string, options?: ListDeliveryCarriersOptions): Promise<NonNullablePaths<ListDeliveryCarriersResponse, `results` | `results.${number}.deliveryCarrierMetadata.success` | `results.${number}.deliveryCarrierMetadata.error.code` | `results.${number}.deliveryCarrierMetadata.error.description` | `results.${number}.deliveryCarrierDetails._id` | `results.${number}.deliveryCarrierDetails.displayName` | `results.${number}.deliveryCarrierDetails.toggleGetCarrierSettingsEnabled` | `results.${number}.deliveryCarrierDetails.toggleUpdateCarrierActiveStatusEnabled` | `results.${number}.deliveryCarrierRegionalSettings` | `results.${number}.deliveryCarrierRegionalSettings.${number}.deliveryRegionId` | `results.${number}.deliveryCarrierRegionalSettings.${number}.dashboardTables` | `results.${number}.deliveryCarrierRegionalSettings.${number}.dashboardTables.${number}.title` | `results.${number}.deliveryCarrierRegionalSettings.${number}.dashboardTables.${number}.columns` | `results.${number}.deliveryCarrierRegionalSettings.${number}.dashboardTables.${number}.columns.${number}.key` | `results.${number}.deliveryCarrierRegionalSettings.${number}.dashboardTables.${number}.columns.${number}.name` | `results.${number}.deliveryCarrierRegionalSettings.${number}.dashboardTables.${number}.rows` | `results.${number}.deliveryCarrierRegionalSettings.${number}.dashboardTables.${number}.rows.${number}.key` | `results.${number}.deliveryCarrierRegionalSettings.${number}.dashboardTables.${number}.rows.${number}.active` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
1878
- export interface ListDeliveryCarriersOptions {
1879
- /**
1880
- * Delivery app ids to get settings for.
1881
- * @format GUID
1882
- * @minSize 1
1883
- * @maxSize 25
1884
- */
1885
- appIds?: string[];
1886
- }
1887
- /**
1888
- * Update carrier's external active settings
1889
- * @param carrierId - Carrier id.
1890
- * @public
1891
- * @documentationMaturity preview
1892
- * @requiredField carrierId
1893
- * @requiredField options
1894
- * @requiredField options.active
1895
- * @requiredField options.rowId
1896
- * @permissionId ECOM.DELIVERY_CARRIER_UPDATE
1897
- * @permissionScope Manage Stores - all permissions
1898
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1899
- * @permissionScope Manage Restaurants - all permissions
1900
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1901
- * @permissionScope Manage eCommerce - all permissions
1902
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1903
- * @applicableIdentity APP
1904
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateCarrierSettings
1905
- */
1906
- export declare function updateCarrierSettings(carrierId: string, options: NonNullablePaths<UpdateCarrierSettingsOptions, `active` | `rowId`>): Promise<void>;
1907
- export interface UpdateCarrierSettingsOptions {
1908
- /**
1909
- * Row id triggered the change
1910
- * @format GUID
1911
- */
1912
- rowId: string;
1913
- /** New status */
1914
- active: boolean | null;
1915
- }
1916
- /**
1917
- * Updates extended fields of a DeliveryProfile without incrementing revision
1918
- * @param _id - ID of the entity to update.
1919
- * @param namespace - Identifier for the app whose extended fields are being updated.
1920
- * @public
1921
- * @documentationMaturity preview
1922
- * @requiredField _id
1923
- * @requiredField namespace
1924
- * @requiredField options
1925
- * @requiredField options.namespaceData
1926
- * @permissionId ECOM.DELIVERY_PROFILE_UPDATE
1927
- * @permissionScope Manage Stores - all permissions
1928
- * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1929
- * @permissionScope Manage Restaurants - all permissions
1930
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1931
- * @permissionScope Manage eCommerce - all permissions
1932
- * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
1933
- * @applicableIdentity APP
1934
- * @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateExtendedFields
1935
- */
1936
- export declare function updateExtendedFields(_id: string, namespace: string, options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`>): Promise<NonNullablePaths<UpdateExtendedFieldsResponse, {
1937
- [P in DeliveryProfileNonNullablePaths]: `deliveryProfile.${P}`;
1938
- }[DeliveryProfileNonNullablePaths]>>;
1939
- export interface UpdateExtendedFieldsOptions {
1940
- /** 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. */
1941
- namespaceData: Record<string, any> | null;
1942
- }
1943
- export {};