@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.
@@ -608,14 +608,11 @@ interface SubscriptionInfo {
608
608
  * @format GUID
609
609
  */
610
610
  _id?: string | null;
611
- /**
612
- * Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`.
613
- * @min 1
614
- */
611
+ /** Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`. */
615
612
  cycleNumber?: number;
616
613
  /**
617
614
  * Subscription option title. For example, `"Monthly coffee Subscription"`.
618
- * @maxLength 20
615
+ * @maxLength 150
619
616
  * @deprecated Subscription option title. For example, `"Monthly coffee Subscription"`.
620
617
  * @replacedBy title
621
618
  * @targetRemovalDate 2025-10-01
@@ -623,7 +620,7 @@ interface SubscriptionInfo {
623
620
  subscriptionOptionTitle?: string;
624
621
  /**
625
622
  * Subscription option description. For example, `"1kg of selected coffee, once a month"`.
626
- * @maxLength 60
623
+ * @maxLength 500
627
624
  * @deprecated Subscription option description. For example, `"1kg of selected coffee, once a month"`.
628
625
  * @replacedBy description
629
626
  * @targetRemovalDate 2025-10-01
@@ -3898,6 +3895,7 @@ declare enum WebhookIdentityType {
3898
3895
  }
3899
3896
  /** @enumType */
3900
3897
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3898
+ /** @docsIgnore */
3901
3899
  type CreateDraftOrderApplicationErrors = {
3902
3900
  code?: 'ORDER_CANNOT_BE_EDITED';
3903
3901
  description?: string;
@@ -3915,11 +3913,13 @@ type CreateDraftOrderApplicationErrors = {
3915
3913
  description?: string;
3916
3914
  data?: Record<string, any>;
3917
3915
  };
3916
+ /** @docsIgnore */
3918
3917
  type CreateEmptyDraftOrderApplicationErrors = {
3919
3918
  code?: 'FAILED_TO_FETCH_SETTINGS';
3920
3919
  description?: string;
3921
3920
  data?: Record<string, any>;
3922
3921
  };
3922
+ /** @docsIgnore */
3923
3923
  type AddLineItemsToDraftOrderApplicationErrors = {
3924
3924
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
3925
3925
  description?: string;
@@ -3957,6 +3957,7 @@ type AddLineItemsToDraftOrderApplicationErrors = {
3957
3957
  description?: string;
3958
3958
  data?: Record<string, any>;
3959
3959
  };
3960
+ /** @docsIgnore */
3960
3961
  type UpdateLineItemsApplicationErrors = {
3961
3962
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
3962
3963
  description?: string;
@@ -3982,6 +3983,7 @@ type UpdateLineItemsApplicationErrors = {
3982
3983
  description?: string;
3983
3984
  data?: Record<string, any>;
3984
3985
  };
3986
+ /** @docsIgnore */
3985
3987
  type SetDiscountsApplicationErrors = {
3986
3988
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
3987
3989
  description?: string;
@@ -3995,6 +3997,7 @@ type SetDiscountsApplicationErrors = {
3995
3997
  description?: string;
3996
3998
  data?: Record<string, any>;
3997
3999
  };
4000
+ /** @docsIgnore */
3998
4001
  type CreateCustomDiscountsApplicationErrors = {
3999
4002
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4000
4003
  description?: string;
@@ -4016,6 +4019,7 @@ type CreateCustomDiscountsApplicationErrors = {
4016
4019
  description?: string;
4017
4020
  data?: Record<string, any>;
4018
4021
  };
4022
+ /** @docsIgnore */
4019
4023
  type DeleteCustomDiscountsApplicationErrors = {
4020
4024
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4021
4025
  description?: string;
@@ -4029,11 +4033,13 @@ type DeleteCustomDiscountsApplicationErrors = {
4029
4033
  description?: string;
4030
4034
  data?: Record<string, any>;
4031
4035
  };
4036
+ /** @docsIgnore */
4032
4037
  type SetAdditionalFeesApplicationErrors = {
4033
4038
  code?: 'ADDITIONAL_FEE_NOT_FOUND';
4034
4039
  description?: string;
4035
4040
  data?: Record<string, any>;
4036
4041
  };
4042
+ /** @docsIgnore */
4037
4043
  type CreateCustomAdditionalFeesApplicationErrors = {
4038
4044
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4039
4045
  description?: string;
@@ -4043,6 +4049,7 @@ type CreateCustomAdditionalFeesApplicationErrors = {
4043
4049
  description?: string;
4044
4050
  data?: Record<string, any>;
4045
4051
  };
4052
+ /** @docsIgnore */
4046
4053
  type DeleteCustomAdditionalFeesApplicationErrors = {
4047
4054
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4048
4055
  description?: string;
@@ -4056,31 +4063,37 @@ type DeleteCustomAdditionalFeesApplicationErrors = {
4056
4063
  description?: string;
4057
4064
  data?: Record<string, any>;
4058
4065
  };
4066
+ /** @docsIgnore */
4059
4067
  type SetShippingInfoApplicationErrors = {
4060
4068
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4061
4069
  description?: string;
4062
4070
  data?: Record<string, any>;
4063
4071
  };
4072
+ /** @docsIgnore */
4064
4073
  type SetBuyerInfoApplicationErrors = {
4065
4074
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4066
4075
  description?: string;
4067
4076
  data?: Record<string, any>;
4068
4077
  };
4078
+ /** @docsIgnore */
4069
4079
  type SetRecipientInfoApplicationErrors = {
4070
4080
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4071
4081
  description?: string;
4072
4082
  data?: Record<string, any>;
4073
4083
  };
4084
+ /** @docsIgnore */
4074
4085
  type SetBillingInfoApplicationErrors = {
4075
4086
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4076
4087
  description?: string;
4077
4088
  data?: Record<string, any>;
4078
4089
  };
4090
+ /** @docsIgnore */
4079
4091
  type GetDraftOrderApplicationErrors = {
4080
4092
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4081
4093
  description?: string;
4082
4094
  data?: Record<string, any>;
4083
4095
  };
4096
+ /** @docsIgnore */
4084
4097
  type CommitDraftOrderApplicationErrors = {
4085
4098
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4086
4099
  description?: string;
@@ -4090,6 +4103,7 @@ type CommitDraftOrderApplicationErrors = {
4090
4103
  description?: string;
4091
4104
  data?: Record<string, any>;
4092
4105
  };
4106
+ /** @docsIgnore */
4093
4107
  type CreateOrderFromDraftApplicationErrors = {
4094
4108
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4095
4109
  description?: string;
@@ -4099,6 +4113,7 @@ type CreateOrderFromDraftApplicationErrors = {
4099
4113
  description?: string;
4100
4114
  data?: Record<string, any>;
4101
4115
  };
4116
+ /** @docsIgnore */
4102
4117
  type DeleteDraftOrderApplicationErrors = {
4103
4118
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4104
4119
  description?: string;
@@ -4108,16 +4123,19 @@ type DeleteDraftOrderApplicationErrors = {
4108
4123
  description?: string;
4109
4124
  data?: Record<string, any>;
4110
4125
  };
4126
+ /** @docsIgnore */
4111
4127
  type UpdateExtendedFieldsApplicationErrors = {
4112
4128
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4113
4129
  description?: string;
4114
4130
  data?: Record<string, any>;
4115
4131
  };
4132
+ /** @docsIgnore */
4116
4133
  type SetTaxExemptionApplicationErrors = {
4117
4134
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4118
4135
  description?: string;
4119
4136
  data?: Record<string, any>;
4120
4137
  };
4138
+ /** @docsIgnore */
4121
4139
  type SetBusinessLocationApplicationErrors = {
4122
4140
  code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
4123
4141
  description?: string;