@wix/auto_sdk_ecom_delivery-profile 1.0.83 → 1.0.84

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 (37) hide show
  1. package/build/cjs/index.d.ts +22 -7
  2. package/build/cjs/index.js +1 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +139 -35
  5. package/build/cjs/index.typings.js +1 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +42 -24
  8. package/build/cjs/meta.js +1 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +22 -7
  11. package/build/es/index.mjs +1 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +139 -35
  14. package/build/es/index.typings.mjs +1 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +42 -24
  17. package/build/es/meta.mjs +1 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +22 -7
  20. package/build/internal/cjs/index.js +1 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +139 -35
  23. package/build/internal/cjs/index.typings.js +1 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +42 -24
  26. package/build/internal/cjs/meta.js +1 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +22 -7
  29. package/build/internal/es/index.mjs +1 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +139 -35
  32. package/build/internal/es/index.typings.mjs +1 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +42 -24
  35. package/build/internal/es/meta.mjs +1 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -2,10 +2,9 @@ import { CreateDeliveryProfileRequest as CreateDeliveryProfileRequest$1, CreateD
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
5
- * A DeliveryProfile is a ...
6
- * You can ...
7
- * Read more about DeliveryProfiles
8
- * in this [article](<LINK_TO_KB_ARTICLE>).
5
+ * A DeliveryProfile is a collection of delivery configurations that define shipping options for products.
6
+ * Each profile contains delivery regions, which specify where products can be shipped and which carriers can deliver
7
+ * to those destinations. Use delivery profiles to organize and manage different shipping strategies for your store.
9
8
  */
10
9
  interface DeliveryProfile {
11
10
  /**
@@ -21,7 +20,10 @@ interface DeliveryProfile {
21
20
  */
22
21
  name?: string | null;
23
22
  /**
24
- * Flags this DeliveryProfile as the default DeliveryProfile.
23
+ * Indicates whether this is the default DeliveryProfile.
24
+ * The first delivery profile is automatically created and marked as default when the Wix Stores app is installed.
25
+ * Default status cannot be changed or transferred to another profile.
26
+ * The default profile cannot be deleted because every site requires one for core delivery functionality.
25
27
  * @readonly
26
28
  */
27
29
  default?: boolean | null;
@@ -30,7 +32,10 @@ interface DeliveryProfile {
30
32
  * @maxSize 100
31
33
  */
32
34
  deliveryRegions?: DeliveryRegion[];
33
- /** ID of the delivery profile's creator. */
35
+ /**
36
+ * Information about who created the delivery profile.
37
+ * Contains either an app ID (for profiles created by apps) or a user ID (for profiles created by site users).
38
+ */
34
39
  createdBy?: CreatedBy;
35
40
  /**
36
41
  * DeliveryProfile revision.
@@ -50,7 +55,11 @@ interface DeliveryProfile {
50
55
  /** [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. */
51
56
  extendedFields?: ExtendedFields;
52
57
  }
53
- /** DeliveryRegion can be used to config a Delivery Destinations with its providers */
58
+ /**
59
+ * A DeliveryRegion defines a geographic area and its associated delivery carriers.
60
+ * Each region specifies destinations (countries and subdivisions) where products
61
+ * can be shipped and the carriers available for those deliveries.
62
+ */
54
63
  interface DeliveryRegion {
55
64
  /**
56
65
  * The delivery region id.
@@ -64,16 +73,16 @@ interface DeliveryRegion {
64
73
  * @maxLength 256
65
74
  */
66
75
  name?: string | null;
67
- /** Indicates that this rule is active, default value is true. */
76
+ /** Indicates that this delivery region is active, default value is true. */
68
77
  active?: boolean | null;
69
78
  /**
70
- * The spi implementers id of shipping-rates spi, assigned to this rule.
79
+ * The spi implementers id of shipping-rates spi, assigned to this delivery region.
71
80
  * @maxSize 25
72
81
  * @readonly
73
82
  */
74
83
  deliveryCarriers?: DeliveryCarrier[];
75
84
  /**
76
- * The operation region of this rule, if empty than it is global.
85
+ * The operation region of this delivery region, if empty than it is global.
77
86
  * @maxSize 250
78
87
  */
79
88
  destinations?: Destination[];
@@ -85,7 +94,11 @@ interface DeliveryRegion {
85
94
  }
86
95
  interface DeliveryCarrier {
87
96
  /**
88
- * 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.
97
+ * ID of the app providing the content.
98
+ *
99
+ * You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).
100
+ *
101
+ * Can be fetched by ListDeliveryCarriers api.
89
102
  * @format GUID
90
103
  */
91
104
  appId?: string;
@@ -167,7 +180,7 @@ declare enum ChargeType {
167
180
  }
168
181
  /** @enumType */
169
182
  type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
170
- /** Defines the area inside one country that is relevant for this rule. */
183
+ /** Defines the area inside one country that is relevant for this delivery region. */
171
184
  interface Destination {
172
185
  /**
173
186
  * 2-letters code represents the country of the delivery destinations
@@ -176,7 +189,7 @@ interface Destination {
176
189
  countryCode?: string;
177
190
  /**
178
191
  * subdivisions - Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
179
- * If empty, the rule applies to the entire country.
192
+ * If empty, the delivery region applies to the entire country.
180
193
  * @maxSize 100
181
194
  * @minLength 1
182
195
  * @maxLength 256
@@ -232,21 +245,21 @@ interface DeliveryRegionAdded {
232
245
  */
233
246
  deliveryRegionId?: string | null;
234
247
  /**
235
- * Optional name of the rule, for example: "Domestic".
248
+ * Optional name of the delivery region, for example: "Domestic".
236
249
  * @minLength 1
237
250
  * @maxLength 256
238
251
  */
239
252
  name?: string | null;
240
- /** Indicates that this rule is active, default value is true. */
253
+ /** Indicates that this delivery region is active, default value is true. */
241
254
  active?: boolean | null;
242
255
  /**
243
- * The spi implementers id of shipping-rates spi, assigned to this rule.
256
+ * The spi implementers id of shipping-rates spi, assigned to this delivery region.
244
257
  * @maxSize 25
245
258
  * @readonly
246
259
  */
247
260
  deliveryCarriers?: DeliveryCarrier[];
248
261
  /**
249
- * The operation region of this rule, if empty than it is global.
262
+ * The operation region of this delivery region, if empty than it is global.
250
263
  * @maxSize 200
251
264
  */
252
265
  destinations?: Destination[];
@@ -262,7 +275,10 @@ interface DeliveryRegionRemoved {
262
275
  * @format GUID
263
276
  */
264
277
  deliveryProfileId?: string;
265
- /** The removed DeliveryRegion id. */
278
+ /**
279
+ * The removed DeliveryRegion id.
280
+ * @format GUID
281
+ */
266
282
  deliveryRegionId?: string;
267
283
  }
268
284
  interface DeliveryRegionUpdated {
@@ -278,21 +294,21 @@ interface DeliveryRegionUpdated {
278
294
  */
279
295
  deliveryRegionId?: string | null;
280
296
  /**
281
- * Optional name of the rule, for example: "Domestic".
297
+ * Optional name of the delivery region, for example: "Domestic".
282
298
  * @minLength 1
283
299
  * @maxLength 256
284
300
  */
285
301
  name?: string | null;
286
- /** Indicates that this rule is active, default value is true. */
302
+ /** Indicates that this delivery region is active, default value is true. */
287
303
  active?: boolean | null;
288
304
  /**
289
- * The spi implementers id of shipping-rates spi, assigned to this rule.
305
+ * The spi implementers id of shipping-rates spi, assigned to this delivery region.
290
306
  * @maxSize 25
291
307
  * @readonly
292
308
  */
293
309
  deliveryCarriers?: DeliveryCarrier[];
294
310
  /**
295
- * The operation region of this rule, if empty than it is global.
311
+ * The operation region of this delivery region, if empty than it is global.
296
312
  * @maxSize 200
297
313
  */
298
314
  destinations?: Destination[];
@@ -1132,10 +1148,12 @@ declare enum Namespace {
1132
1148
  /** Wix Twins platform. */
1133
1149
  TWINS = "TWINS",
1134
1150
  /** Wix Nano. */
1135
- NANO = "NANO"
1151
+ NANO = "NANO",
1152
+ /** Base44 headless sites. */
1153
+ BASE44 = "BASE44"
1136
1154
  }
1137
1155
  /** @enumType */
1138
- 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' | 'TWINS' | 'NANO';
1156
+ 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' | 'TWINS' | 'NANO' | 'BASE44';
1139
1157
  /** Site transferred to another user. */
1140
1158
  interface SiteTransferred {
1141
1159
  /**
package/build/es/meta.mjs CHANGED
@@ -653,6 +653,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
653
653
  Namespace2["MIMIR"] = "MIMIR";
654
654
  Namespace2["TWINS"] = "TWINS";
655
655
  Namespace2["NANO"] = "NANO";
656
+ Namespace2["BASE44"] = "BASE44";
656
657
  return Namespace2;
657
658
  })(Namespace || {});
658
659
  var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {