@wix/auto_sdk_ecom_draft-orders 1.0.51 → 1.0.53

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.
@@ -626,14 +626,11 @@ interface SubscriptionInfo {
626
626
  * @format GUID
627
627
  */
628
628
  _id?: string | null;
629
- /**
630
- * Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`.
631
- * @min 1
632
- */
629
+ /** Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`. */
633
630
  cycleNumber?: number;
634
631
  /**
635
632
  * Subscription option title. For example, `"Monthly coffee Subscription"`.
636
- * @maxLength 20
633
+ * @maxLength 150
637
634
  * @deprecated Subscription option title. For example, `"Monthly coffee Subscription"`.
638
635
  * @replacedBy title
639
636
  * @targetRemovalDate 2025-10-01
@@ -646,7 +643,7 @@ interface SubscriptionInfo {
646
643
  title?: SubscriptionTitle;
647
644
  /**
648
645
  * Subscription option description. For example, `"1kg of selected coffee, once a month"`.
649
- * @maxLength 60
646
+ * @maxLength 500
650
647
  * @deprecated Subscription option description. For example, `"1kg of selected coffee, once a month"`.
651
648
  * @replacedBy description
652
649
  * @targetRemovalDate 2025-10-01
@@ -4105,6 +4102,7 @@ declare enum WebhookIdentityType {
4105
4102
  }
4106
4103
  /** @enumType */
4107
4104
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
4105
+ /** @docsIgnore */
4108
4106
  type CreateDraftOrderApplicationErrors = {
4109
4107
  code?: 'ORDER_CANNOT_BE_EDITED';
4110
4108
  description?: string;
@@ -4122,11 +4120,13 @@ type CreateDraftOrderApplicationErrors = {
4122
4120
  description?: string;
4123
4121
  data?: Record<string, any>;
4124
4122
  };
4123
+ /** @docsIgnore */
4125
4124
  type CreateEmptyDraftOrderApplicationErrors = {
4126
4125
  code?: 'FAILED_TO_FETCH_SETTINGS';
4127
4126
  description?: string;
4128
4127
  data?: Record<string, any>;
4129
4128
  };
4129
+ /** @docsIgnore */
4130
4130
  type AddLineItemsToDraftOrderApplicationErrors = {
4131
4131
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4132
4132
  description?: string;
@@ -4164,6 +4164,7 @@ type AddLineItemsToDraftOrderApplicationErrors = {
4164
4164
  description?: string;
4165
4165
  data?: Record<string, any>;
4166
4166
  };
4167
+ /** @docsIgnore */
4167
4168
  type UpdateLineItemsApplicationErrors = {
4168
4169
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4169
4170
  description?: string;
@@ -4189,6 +4190,7 @@ type UpdateLineItemsApplicationErrors = {
4189
4190
  description?: string;
4190
4191
  data?: Record<string, any>;
4191
4192
  };
4193
+ /** @docsIgnore */
4192
4194
  type SetDiscountsApplicationErrors = {
4193
4195
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4194
4196
  description?: string;
@@ -4202,6 +4204,7 @@ type SetDiscountsApplicationErrors = {
4202
4204
  description?: string;
4203
4205
  data?: Record<string, any>;
4204
4206
  };
4207
+ /** @docsIgnore */
4205
4208
  type CreateCustomDiscountsApplicationErrors = {
4206
4209
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4207
4210
  description?: string;
@@ -4223,6 +4226,7 @@ type CreateCustomDiscountsApplicationErrors = {
4223
4226
  description?: string;
4224
4227
  data?: Record<string, any>;
4225
4228
  };
4229
+ /** @docsIgnore */
4226
4230
  type DeleteCustomDiscountsApplicationErrors = {
4227
4231
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4228
4232
  description?: string;
@@ -4236,11 +4240,13 @@ type DeleteCustomDiscountsApplicationErrors = {
4236
4240
  description?: string;
4237
4241
  data?: Record<string, any>;
4238
4242
  };
4243
+ /** @docsIgnore */
4239
4244
  type SetAdditionalFeesApplicationErrors = {
4240
4245
  code?: 'ADDITIONAL_FEE_NOT_FOUND';
4241
4246
  description?: string;
4242
4247
  data?: Record<string, any>;
4243
4248
  };
4249
+ /** @docsIgnore */
4244
4250
  type CreateCustomAdditionalFeesApplicationErrors = {
4245
4251
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4246
4252
  description?: string;
@@ -4250,6 +4256,7 @@ type CreateCustomAdditionalFeesApplicationErrors = {
4250
4256
  description?: string;
4251
4257
  data?: Record<string, any>;
4252
4258
  };
4259
+ /** @docsIgnore */
4253
4260
  type DeleteCustomAdditionalFeesApplicationErrors = {
4254
4261
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4255
4262
  description?: string;
@@ -4263,31 +4270,37 @@ type DeleteCustomAdditionalFeesApplicationErrors = {
4263
4270
  description?: string;
4264
4271
  data?: Record<string, any>;
4265
4272
  };
4273
+ /** @docsIgnore */
4266
4274
  type SetShippingInfoApplicationErrors = {
4267
4275
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4268
4276
  description?: string;
4269
4277
  data?: Record<string, any>;
4270
4278
  };
4279
+ /** @docsIgnore */
4271
4280
  type SetBuyerInfoApplicationErrors = {
4272
4281
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4273
4282
  description?: string;
4274
4283
  data?: Record<string, any>;
4275
4284
  };
4285
+ /** @docsIgnore */
4276
4286
  type SetRecipientInfoApplicationErrors = {
4277
4287
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4278
4288
  description?: string;
4279
4289
  data?: Record<string, any>;
4280
4290
  };
4291
+ /** @docsIgnore */
4281
4292
  type SetBillingInfoApplicationErrors = {
4282
4293
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4283
4294
  description?: string;
4284
4295
  data?: Record<string, any>;
4285
4296
  };
4297
+ /** @docsIgnore */
4286
4298
  type GetDraftOrderApplicationErrors = {
4287
4299
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4288
4300
  description?: string;
4289
4301
  data?: Record<string, any>;
4290
4302
  };
4303
+ /** @docsIgnore */
4291
4304
  type CommitDraftOrderApplicationErrors = {
4292
4305
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4293
4306
  description?: string;
@@ -4297,6 +4310,7 @@ type CommitDraftOrderApplicationErrors = {
4297
4310
  description?: string;
4298
4311
  data?: Record<string, any>;
4299
4312
  };
4313
+ /** @docsIgnore */
4300
4314
  type CreateOrderFromDraftApplicationErrors = {
4301
4315
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4302
4316
  description?: string;
@@ -4306,6 +4320,7 @@ type CreateOrderFromDraftApplicationErrors = {
4306
4320
  description?: string;
4307
4321
  data?: Record<string, any>;
4308
4322
  };
4323
+ /** @docsIgnore */
4309
4324
  type DeleteDraftOrderApplicationErrors = {
4310
4325
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4311
4326
  description?: string;
@@ -4315,16 +4330,19 @@ type DeleteDraftOrderApplicationErrors = {
4315
4330
  description?: string;
4316
4331
  data?: Record<string, any>;
4317
4332
  };
4333
+ /** @docsIgnore */
4318
4334
  type UpdateExtendedFieldsApplicationErrors = {
4319
4335
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4320
4336
  description?: string;
4321
4337
  data?: Record<string, any>;
4322
4338
  };
4339
+ /** @docsIgnore */
4323
4340
  type SetTaxExemptionApplicationErrors = {
4324
4341
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4325
4342
  description?: string;
4326
4343
  data?: Record<string, any>;
4327
4344
  };
4345
+ /** @docsIgnore */
4328
4346
  type SetBusinessLocationApplicationErrors = {
4329
4347
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4330
4348
  description?: string;