@wix/auto_sdk_ecom_draft-orders 1.0.68 → 1.0.70
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.
- package/build/cjs/meta.d.ts +591 -1
- package/build/cjs/meta.js +323 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +591 -1
- package/build/es/meta.mjs +295 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +591 -1
- package/build/internal/cjs/meta.js +323 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +591 -1
- package/build/internal/es/meta.mjs +295 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -282,6 +282,16 @@ interface Color {
|
|
|
282
282
|
/** HEX or RGB color code for display. */
|
|
283
283
|
code?: string | null;
|
|
284
284
|
}
|
|
285
|
+
declare enum DescriptionLineType {
|
|
286
|
+
/** Unrecognized type. */
|
|
287
|
+
UNRECOGNISED = "UNRECOGNISED",
|
|
288
|
+
/** Plain text type. */
|
|
289
|
+
PLAIN_TEXT = "PLAIN_TEXT",
|
|
290
|
+
/** Color type. */
|
|
291
|
+
COLOR = "COLOR"
|
|
292
|
+
}
|
|
293
|
+
/** @enumType */
|
|
294
|
+
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
285
295
|
interface ModifierGroup {
|
|
286
296
|
/**
|
|
287
297
|
* Modifier group ID.
|
|
@@ -514,6 +524,16 @@ interface Image {
|
|
|
514
524
|
*/
|
|
515
525
|
filename?: string | null;
|
|
516
526
|
}
|
|
527
|
+
interface FocalPoint {
|
|
528
|
+
/** X-coordinate of the focal point. */
|
|
529
|
+
x?: number;
|
|
530
|
+
/** Y-coordinate of the focal point. */
|
|
531
|
+
y?: number;
|
|
532
|
+
/** crop by height */
|
|
533
|
+
height?: number | null;
|
|
534
|
+
/** crop by width */
|
|
535
|
+
width?: number | null;
|
|
536
|
+
}
|
|
517
537
|
interface PhysicalProperties {
|
|
518
538
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
519
539
|
weight?: number | null;
|
|
@@ -704,6 +724,34 @@ interface SubscriptionInfo {
|
|
|
704
724
|
*/
|
|
705
725
|
chargesDescription?: string | null;
|
|
706
726
|
}
|
|
727
|
+
interface SubscriptionTitle {
|
|
728
|
+
/**
|
|
729
|
+
* Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
730
|
+
* @minLength 1
|
|
731
|
+
* @maxLength 150
|
|
732
|
+
*/
|
|
733
|
+
original?: string;
|
|
734
|
+
/**
|
|
735
|
+
* Subscription option name translated into the buyer's language.
|
|
736
|
+
*
|
|
737
|
+
* Default: Same as `original`.
|
|
738
|
+
* @minLength 1
|
|
739
|
+
* @maxLength 150
|
|
740
|
+
*/
|
|
741
|
+
translated?: string | null;
|
|
742
|
+
}
|
|
743
|
+
interface SubscriptionDescription {
|
|
744
|
+
/**
|
|
745
|
+
* Subscription option description.
|
|
746
|
+
* @maxLength 500
|
|
747
|
+
*/
|
|
748
|
+
original?: string;
|
|
749
|
+
/**
|
|
750
|
+
* Translated subscription option description.
|
|
751
|
+
* @maxLength 500
|
|
752
|
+
*/
|
|
753
|
+
translated?: string | null;
|
|
754
|
+
}
|
|
707
755
|
interface SubscriptionSettings {
|
|
708
756
|
/** Frequency of recurring payment. */
|
|
709
757
|
frequency?: SubscriptionFrequencyWithLiterals;
|
|
@@ -745,6 +793,29 @@ interface FreeTrialPeriod {
|
|
|
745
793
|
*/
|
|
746
794
|
interval?: number;
|
|
747
795
|
}
|
|
796
|
+
interface BillingAdjustment {
|
|
797
|
+
/** The type of adjustment. */
|
|
798
|
+
type?: AdjustmentTypeWithLiterals;
|
|
799
|
+
/** Summary of the prorated adjustment amount. */
|
|
800
|
+
priceSummary?: BillingAdjustmentPriceSummary;
|
|
801
|
+
}
|
|
802
|
+
declare enum AdjustmentType {
|
|
803
|
+
UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
|
|
804
|
+
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
805
|
+
EXTRA_CHARGE = "EXTRA_CHARGE",
|
|
806
|
+
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
807
|
+
CREDIT = "CREDIT"
|
|
808
|
+
}
|
|
809
|
+
/** @enumType */
|
|
810
|
+
type AdjustmentTypeWithLiterals = AdjustmentType | 'UNKNOWN_ADJUSTMENT_TYPE' | 'EXTRA_CHARGE' | 'CREDIT';
|
|
811
|
+
interface BillingAdjustmentPriceSummary {
|
|
812
|
+
/** Subtotal of adjustment, before tax. */
|
|
813
|
+
subtotal?: Price;
|
|
814
|
+
/** Tax on adjustment. */
|
|
815
|
+
tax?: Price;
|
|
816
|
+
/** Total price after tax. */
|
|
817
|
+
total?: Price;
|
|
818
|
+
}
|
|
748
819
|
interface LocationAndQuantity {
|
|
749
820
|
/**
|
|
750
821
|
* Location id in the associated owner app.
|
|
@@ -1947,6 +2018,8 @@ interface CatalogReferenceLineItem {
|
|
|
1947
2018
|
*/
|
|
1948
2019
|
locations?: LocationAndQuantity[];
|
|
1949
2020
|
}
|
|
2021
|
+
interface DescriptionLinesOverride {
|
|
2022
|
+
}
|
|
1950
2023
|
interface CustomLineItem {
|
|
1951
2024
|
/**
|
|
1952
2025
|
* Line item ID.
|
|
@@ -2015,6 +2088,32 @@ interface PageUrlV2 {
|
|
|
2015
2088
|
/** The page's full URL. For example, `https://mysite.com/product-page/a-product`. */
|
|
2016
2089
|
url?: string | null;
|
|
2017
2090
|
}
|
|
2091
|
+
interface SecuredMedia {
|
|
2092
|
+
/**
|
|
2093
|
+
* Media ID in Wix Media Manager.
|
|
2094
|
+
* @minLength 1
|
|
2095
|
+
* @maxLength 100
|
|
2096
|
+
*/
|
|
2097
|
+
id?: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* Original filename.
|
|
2100
|
+
* @minLength 1
|
|
2101
|
+
* @maxLength 1000
|
|
2102
|
+
*/
|
|
2103
|
+
fileName?: string;
|
|
2104
|
+
/** File type. */
|
|
2105
|
+
fileType?: FileTypeWithLiterals;
|
|
2106
|
+
}
|
|
2107
|
+
declare enum FileType {
|
|
2108
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
2109
|
+
SECURE_PICTURE = "SECURE_PICTURE",
|
|
2110
|
+
SECURE_VIDEO = "SECURE_VIDEO",
|
|
2111
|
+
SECURE_DOCUMENT = "SECURE_DOCUMENT",
|
|
2112
|
+
SECURE_MUSIC = "SECURE_MUSIC",
|
|
2113
|
+
SECURE_ARCHIVE = "SECURE_ARCHIVE"
|
|
2114
|
+
}
|
|
2115
|
+
/** @enumType */
|
|
2116
|
+
type FileTypeWithLiterals = FileType | 'UNSPECIFIED' | 'SECURE_PICTURE' | 'SECURE_VIDEO' | 'SECURE_DOCUMENT' | 'SECURE_MUSIC' | 'SECURE_ARCHIVE';
|
|
2018
2117
|
interface AddLineItemsToDraftOrderResponse {
|
|
2019
2118
|
/** Draft order calculated with the latest changes. */
|
|
2020
2119
|
calculatedDraftOrder?: CalculatedDraftOrder;
|
|
@@ -2057,6 +2156,15 @@ interface LineItemChangeDetails {
|
|
|
2057
2156
|
*/
|
|
2058
2157
|
newPriceDescription?: PriceDescription;
|
|
2059
2158
|
}
|
|
2159
|
+
interface ModifiersGroupsOverride {
|
|
2160
|
+
/**
|
|
2161
|
+
* Line item modifiers to override.
|
|
2162
|
+
*
|
|
2163
|
+
* To remove all modifiers on this line item, pass an empty array.
|
|
2164
|
+
* @maxSize 10
|
|
2165
|
+
*/
|
|
2166
|
+
modifierGroups?: ModifierGroup[];
|
|
2167
|
+
}
|
|
2060
2168
|
interface UpdateLineItemsResponse {
|
|
2061
2169
|
/** Draft order calculated with the latest changes. */
|
|
2062
2170
|
calculatedDraftOrder?: CalculatedDraftOrder;
|
|
@@ -2365,6 +2473,21 @@ interface SetBillingInfoResponse {
|
|
|
2365
2473
|
/** Draft order calculated with the latest changes. */
|
|
2366
2474
|
calculatedDraftOrder?: CalculatedDraftOrder;
|
|
2367
2475
|
}
|
|
2476
|
+
/** Deprecated */
|
|
2477
|
+
interface UpdateShippingInfoRequest {
|
|
2478
|
+
/**
|
|
2479
|
+
* Draft order ID.
|
|
2480
|
+
* @format GUID
|
|
2481
|
+
*/
|
|
2482
|
+
draftOrderId?: string;
|
|
2483
|
+
/** Update the shipping option on the order. If not set then the selected shipping is removed. */
|
|
2484
|
+
shippingOption?: ShippingOption;
|
|
2485
|
+
}
|
|
2486
|
+
/** Deprecated */
|
|
2487
|
+
interface UpdateShippingInfoResponse {
|
|
2488
|
+
/** Draft order calculated with the latest changes. */
|
|
2489
|
+
calculatedDraftOrder?: CalculatedDraftOrder;
|
|
2490
|
+
}
|
|
2368
2491
|
interface GetDraftOrderRequest {
|
|
2369
2492
|
/**
|
|
2370
2493
|
* Draft order ID.
|
|
@@ -2880,6 +3003,39 @@ interface OrderRefunded {
|
|
|
2880
3003
|
*/
|
|
2881
3004
|
reason?: string;
|
|
2882
3005
|
}
|
|
3006
|
+
interface OrderCreatedFromExchange {
|
|
3007
|
+
/**
|
|
3008
|
+
* ID of the original order for which the exchange happened.
|
|
3009
|
+
* @format GUID
|
|
3010
|
+
*/
|
|
3011
|
+
originalOrderId?: string;
|
|
3012
|
+
}
|
|
3013
|
+
interface NewExchangeOrderCreated {
|
|
3014
|
+
/**
|
|
3015
|
+
* ID of the new order created as a result of an exchange of items.
|
|
3016
|
+
* @format GUID
|
|
3017
|
+
*/
|
|
3018
|
+
exchangeOrderId?: string;
|
|
3019
|
+
/**
|
|
3020
|
+
* IDs of the items that were exchanged.
|
|
3021
|
+
* @minSize 1
|
|
3022
|
+
* @maxSize 300
|
|
3023
|
+
*/
|
|
3024
|
+
lineItems?: LineItemExchangeData[];
|
|
3025
|
+
}
|
|
3026
|
+
interface LineItemExchangeData {
|
|
3027
|
+
/**
|
|
3028
|
+
* ID of the exchanged line item.
|
|
3029
|
+
* @format GUID
|
|
3030
|
+
*/
|
|
3031
|
+
lineItemId?: string;
|
|
3032
|
+
/**
|
|
3033
|
+
* Line item quantity being exchanged.
|
|
3034
|
+
* @min 1
|
|
3035
|
+
* @max 100000
|
|
3036
|
+
*/
|
|
3037
|
+
quantity?: number;
|
|
3038
|
+
}
|
|
2883
3039
|
interface DraftOrderChangesApplied {
|
|
2884
3040
|
/** Draft order id. */
|
|
2885
3041
|
draftOrderId?: string;
|
|
@@ -2961,6 +3117,36 @@ interface LineItemPriceChange {
|
|
|
2961
3117
|
/** Item price after update. */
|
|
2962
3118
|
newPrice?: Price;
|
|
2963
3119
|
}
|
|
3120
|
+
interface LineItemProductNameChange {
|
|
3121
|
+
/** Item product name before update. */
|
|
3122
|
+
originalProductName?: ProductName;
|
|
3123
|
+
/** Item product name after update. */
|
|
3124
|
+
newProductName?: ProductName;
|
|
3125
|
+
}
|
|
3126
|
+
interface LineItemDescriptionLineChange {
|
|
3127
|
+
/**
|
|
3128
|
+
* Description lines that were added to the line item.
|
|
3129
|
+
* @maxSize 20
|
|
3130
|
+
*/
|
|
3131
|
+
addedDescriptionLines?: DescriptionLine[];
|
|
3132
|
+
/**
|
|
3133
|
+
* Description lines that were removed from the line item.
|
|
3134
|
+
* @maxSize 20
|
|
3135
|
+
*/
|
|
3136
|
+
removedDescriptionLines?: DescriptionLine[];
|
|
3137
|
+
}
|
|
3138
|
+
interface LineItemModifiersChange {
|
|
3139
|
+
/**
|
|
3140
|
+
* Modifier groups that were added to the line item.
|
|
3141
|
+
* @maxSize 10
|
|
3142
|
+
*/
|
|
3143
|
+
addedModifierGroups?: ModifierGroup[];
|
|
3144
|
+
/**
|
|
3145
|
+
* Modifier groups that were removed from the line item.
|
|
3146
|
+
* @maxSize 10
|
|
3147
|
+
*/
|
|
3148
|
+
removedModifierGroups?: ModifierGroup[];
|
|
3149
|
+
}
|
|
2964
3150
|
interface ManagedLineItem {
|
|
2965
3151
|
/**
|
|
2966
3152
|
* Line item ID.
|
|
@@ -3681,6 +3867,10 @@ interface V1BalanceSummary {
|
|
|
3681
3867
|
*/
|
|
3682
3868
|
chargebackReversal?: Price;
|
|
3683
3869
|
}
|
|
3870
|
+
interface FulfillmentStatusesAggregate {
|
|
3871
|
+
/** Unique string values based on Fulfillment entities statuses */
|
|
3872
|
+
statuses?: string[] | null;
|
|
3873
|
+
}
|
|
3684
3874
|
/**
|
|
3685
3875
|
* Common object for tags.
|
|
3686
3876
|
* Should be use as in this example:
|
|
@@ -3903,6 +4093,406 @@ interface SetBusinessLocationResponse {
|
|
|
3903
4093
|
/** Draft order calculated with the latest changes. */
|
|
3904
4094
|
calculatedDraftOrder?: CalculatedDraftOrder;
|
|
3905
4095
|
}
|
|
4096
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
4097
|
+
createdEvent?: EntityCreatedEvent;
|
|
4098
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
4099
|
+
deletedEvent?: EntityDeletedEvent;
|
|
4100
|
+
actionEvent?: ActionEvent;
|
|
4101
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
4102
|
+
id?: string;
|
|
4103
|
+
/**
|
|
4104
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
4105
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
4106
|
+
*/
|
|
4107
|
+
entityFqdn?: string;
|
|
4108
|
+
/**
|
|
4109
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
4110
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
4111
|
+
*/
|
|
4112
|
+
slug?: string;
|
|
4113
|
+
/** ID of the entity associated with the event. */
|
|
4114
|
+
entityId?: string;
|
|
4115
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
4116
|
+
eventTime?: Date | null;
|
|
4117
|
+
/**
|
|
4118
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
4119
|
+
* (for example, GDPR).
|
|
4120
|
+
*/
|
|
4121
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
4122
|
+
/** If present, indicates the action that triggered the event. */
|
|
4123
|
+
originatedFrom?: string | null;
|
|
4124
|
+
/**
|
|
4125
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
4126
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
4127
|
+
*/
|
|
4128
|
+
entityEventSequence?: string | null;
|
|
4129
|
+
}
|
|
4130
|
+
/** @oneof */
|
|
4131
|
+
interface DomainEventBodyOneOf {
|
|
4132
|
+
createdEvent?: EntityCreatedEvent;
|
|
4133
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
4134
|
+
deletedEvent?: EntityDeletedEvent;
|
|
4135
|
+
actionEvent?: ActionEvent;
|
|
4136
|
+
}
|
|
4137
|
+
interface EntityCreatedEvent {
|
|
4138
|
+
entityAsJson?: string;
|
|
4139
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
4140
|
+
restoreInfo?: RestoreInfo;
|
|
4141
|
+
}
|
|
4142
|
+
interface RestoreInfo {
|
|
4143
|
+
deletedDate?: Date | null;
|
|
4144
|
+
}
|
|
4145
|
+
interface EntityUpdatedEvent {
|
|
4146
|
+
/**
|
|
4147
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
4148
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
4149
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
4150
|
+
*/
|
|
4151
|
+
currentEntityAsJson?: string;
|
|
4152
|
+
}
|
|
4153
|
+
interface EntityDeletedEvent {
|
|
4154
|
+
/** Entity that was deleted. */
|
|
4155
|
+
deletedEntityAsJson?: string | null;
|
|
4156
|
+
}
|
|
4157
|
+
interface ActionEvent {
|
|
4158
|
+
bodyAsJson?: string;
|
|
4159
|
+
}
|
|
4160
|
+
interface MessageEnvelope {
|
|
4161
|
+
/**
|
|
4162
|
+
* App instance ID.
|
|
4163
|
+
* @format GUID
|
|
4164
|
+
*/
|
|
4165
|
+
instanceId?: string | null;
|
|
4166
|
+
/**
|
|
4167
|
+
* Event type.
|
|
4168
|
+
* @maxLength 150
|
|
4169
|
+
*/
|
|
4170
|
+
eventType?: string;
|
|
4171
|
+
/** The identification type and identity data. */
|
|
4172
|
+
identity?: IdentificationData;
|
|
4173
|
+
/** Stringify payload. */
|
|
4174
|
+
data?: string;
|
|
4175
|
+
}
|
|
4176
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
4177
|
+
/**
|
|
4178
|
+
* ID of a site visitor that has not logged in to the site.
|
|
4179
|
+
* @format GUID
|
|
4180
|
+
*/
|
|
4181
|
+
anonymousVisitorId?: string;
|
|
4182
|
+
/**
|
|
4183
|
+
* ID of a site visitor that has logged in to the site.
|
|
4184
|
+
* @format GUID
|
|
4185
|
+
*/
|
|
4186
|
+
memberId?: string;
|
|
4187
|
+
/**
|
|
4188
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
4189
|
+
* @format GUID
|
|
4190
|
+
*/
|
|
4191
|
+
wixUserId?: string;
|
|
4192
|
+
/**
|
|
4193
|
+
* ID of an app.
|
|
4194
|
+
* @format GUID
|
|
4195
|
+
*/
|
|
4196
|
+
appId?: string;
|
|
4197
|
+
/** @readonly */
|
|
4198
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
4199
|
+
}
|
|
4200
|
+
/** @oneof */
|
|
4201
|
+
interface IdentificationDataIdOneOf {
|
|
4202
|
+
/**
|
|
4203
|
+
* ID of a site visitor that has not logged in to the site.
|
|
4204
|
+
* @format GUID
|
|
4205
|
+
*/
|
|
4206
|
+
anonymousVisitorId?: string;
|
|
4207
|
+
/**
|
|
4208
|
+
* ID of a site visitor that has logged in to the site.
|
|
4209
|
+
* @format GUID
|
|
4210
|
+
*/
|
|
4211
|
+
memberId?: string;
|
|
4212
|
+
/**
|
|
4213
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
4214
|
+
* @format GUID
|
|
4215
|
+
*/
|
|
4216
|
+
wixUserId?: string;
|
|
4217
|
+
/**
|
|
4218
|
+
* ID of an app.
|
|
4219
|
+
* @format GUID
|
|
4220
|
+
*/
|
|
4221
|
+
appId?: string;
|
|
4222
|
+
}
|
|
4223
|
+
declare enum WebhookIdentityType {
|
|
4224
|
+
UNKNOWN = "UNKNOWN",
|
|
4225
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
4226
|
+
MEMBER = "MEMBER",
|
|
4227
|
+
WIX_USER = "WIX_USER",
|
|
4228
|
+
APP = "APP"
|
|
4229
|
+
}
|
|
4230
|
+
/** @enumType */
|
|
4231
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
4232
|
+
/** @docsIgnore */
|
|
4233
|
+
type CreateDraftOrderApplicationErrors = {
|
|
4234
|
+
code?: 'ORDER_CANNOT_BE_EDITED';
|
|
4235
|
+
description?: string;
|
|
4236
|
+
data?: Record<string, any>;
|
|
4237
|
+
} | {
|
|
4238
|
+
code?: 'ORDER_IS_ALREADY_EDITED';
|
|
4239
|
+
description?: string;
|
|
4240
|
+
data?: Record<string, any>;
|
|
4241
|
+
} | {
|
|
4242
|
+
code?: 'FAILED_TO_FETCH_SETTINGS';
|
|
4243
|
+
description?: string;
|
|
4244
|
+
data?: Record<string, any>;
|
|
4245
|
+
} | {
|
|
4246
|
+
code?: 'NOT_AUTHORIZED_TO_READ_DRAFT_ORDERS';
|
|
4247
|
+
description?: string;
|
|
4248
|
+
data?: Record<string, any>;
|
|
4249
|
+
};
|
|
4250
|
+
/** @docsIgnore */
|
|
4251
|
+
type CreateEmptyDraftOrderApplicationErrors = {
|
|
4252
|
+
code?: 'FAILED_TO_FETCH_SETTINGS';
|
|
4253
|
+
description?: string;
|
|
4254
|
+
data?: Record<string, any>;
|
|
4255
|
+
};
|
|
4256
|
+
/** @docsIgnore */
|
|
4257
|
+
type AddLineItemsToDraftOrderApplicationErrors = {
|
|
4258
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4259
|
+
description?: string;
|
|
4260
|
+
data?: Record<string, any>;
|
|
4261
|
+
} | {
|
|
4262
|
+
code?: 'MAX_ITEMS_REACHED';
|
|
4263
|
+
description?: string;
|
|
4264
|
+
data?: Record<string, any>;
|
|
4265
|
+
} | {
|
|
4266
|
+
code?: 'MULTIPLE_ADDS_FOR_SAME_LINE_ITEM';
|
|
4267
|
+
description?: string;
|
|
4268
|
+
data?: Record<string, any>;
|
|
4269
|
+
} | {
|
|
4270
|
+
code?: 'CATALOG_ITEM_NOT_AVAILABLE';
|
|
4271
|
+
description?: string;
|
|
4272
|
+
data?: Record<string, any>;
|
|
4273
|
+
} | {
|
|
4274
|
+
code?: 'CATALOG_ITEM_NOT_FOUND';
|
|
4275
|
+
description?: string;
|
|
4276
|
+
data?: Record<string, any>;
|
|
4277
|
+
} | {
|
|
4278
|
+
code?: 'CATALOG_ITEM_PAYMENT_OPTION_UNSUPPORTED';
|
|
4279
|
+
description?: string;
|
|
4280
|
+
data?: Record<string, any>;
|
|
4281
|
+
} | {
|
|
4282
|
+
code?: 'CATALOG_ITEM_ALREADY_EXIST';
|
|
4283
|
+
description?: string;
|
|
4284
|
+
data?: Record<string, any>;
|
|
4285
|
+
} | {
|
|
4286
|
+
code?: 'GIFT_CARD_ITEM_UNSUPPORTED';
|
|
4287
|
+
description?: string;
|
|
4288
|
+
data?: Record<string, any>;
|
|
4289
|
+
} | {
|
|
4290
|
+
code?: 'SUBSCRIPTION_ITEM_UNSUPPORTED';
|
|
4291
|
+
description?: string;
|
|
4292
|
+
data?: Record<string, any>;
|
|
4293
|
+
} | {
|
|
4294
|
+
code?: 'DUPLICATED_EXTERNAL_LINE_ITEM_ID';
|
|
4295
|
+
description?: string;
|
|
4296
|
+
data?: Record<string, any>;
|
|
4297
|
+
};
|
|
4298
|
+
/** @docsIgnore */
|
|
4299
|
+
type UpdateLineItemsApplicationErrors = {
|
|
4300
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4301
|
+
description?: string;
|
|
4302
|
+
data?: Record<string, any>;
|
|
4303
|
+
} | {
|
|
4304
|
+
code?: 'LINE_ITEM_DOES_NOT_EXIST';
|
|
4305
|
+
description?: string;
|
|
4306
|
+
data?: Record<string, any>;
|
|
4307
|
+
} | {
|
|
4308
|
+
code?: 'MULTIPLE_CHANGES_FOR_SAME_LINE_ITEM';
|
|
4309
|
+
description?: string;
|
|
4310
|
+
data?: Record<string, any>;
|
|
4311
|
+
} | {
|
|
4312
|
+
code?: 'EMPTY_CHANGE_REQUEST';
|
|
4313
|
+
description?: string;
|
|
4314
|
+
data?: Record<string, any>;
|
|
4315
|
+
} | {
|
|
4316
|
+
code?: 'UPDATING_PRICE_OF_REMOVED_ITEM_IS_FORBIDDEN';
|
|
4317
|
+
description?: string;
|
|
4318
|
+
data?: Record<string, any>;
|
|
4319
|
+
} | {
|
|
4320
|
+
code?: 'UPDATING_LINE_ITEM_WITH_LOCATIONS';
|
|
4321
|
+
description?: string;
|
|
4322
|
+
data?: Record<string, any>;
|
|
4323
|
+
};
|
|
4324
|
+
/** @docsIgnore */
|
|
4325
|
+
type SetDepositApplicationErrors = {
|
|
4326
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4327
|
+
description?: string;
|
|
4328
|
+
data?: Record<string, any>;
|
|
4329
|
+
} | {
|
|
4330
|
+
code?: 'DEPOSIT_AMOUNT_EXCEEDS_ORDER_TOTALS';
|
|
4331
|
+
description?: string;
|
|
4332
|
+
data?: Record<string, any>;
|
|
4333
|
+
};
|
|
4334
|
+
/** @docsIgnore */
|
|
4335
|
+
type SetDiscountsApplicationErrors = {
|
|
4336
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4337
|
+
description?: string;
|
|
4338
|
+
data?: Record<string, any>;
|
|
4339
|
+
} | {
|
|
4340
|
+
code?: 'DISCOUNTS_AMOUNT_EXCEED_ITEM_TOTALS';
|
|
4341
|
+
description?: string;
|
|
4342
|
+
data?: Record<string, any>;
|
|
4343
|
+
} | {
|
|
4344
|
+
code?: 'DISCOUNTS_AMOUNT_EXCEED_SHIPPING_TOTAL';
|
|
4345
|
+
description?: string;
|
|
4346
|
+
data?: Record<string, any>;
|
|
4347
|
+
};
|
|
4348
|
+
/** @docsIgnore */
|
|
4349
|
+
type CreateCustomDiscountsApplicationErrors = {
|
|
4350
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4351
|
+
description?: string;
|
|
4352
|
+
data?: Record<string, any>;
|
|
4353
|
+
} | {
|
|
4354
|
+
code?: 'DISCOUNT_NOT_FOUND';
|
|
4355
|
+
description?: string;
|
|
4356
|
+
data?: Record<string, any>;
|
|
4357
|
+
} | {
|
|
4358
|
+
code?: 'DISCOUNTS_AMOUNT_EXCEED_ORDER_TOTALS';
|
|
4359
|
+
description?: string;
|
|
4360
|
+
data?: Record<string, any>;
|
|
4361
|
+
} | {
|
|
4362
|
+
code?: 'DISCOUNTS_AMOUNT_EXCEED_ITEM_TOTALS';
|
|
4363
|
+
description?: string;
|
|
4364
|
+
data?: Record<string, any>;
|
|
4365
|
+
} | {
|
|
4366
|
+
code?: 'DISCOUNTS_AMOUNT_EXCEED_SHIPPING_TOTAL';
|
|
4367
|
+
description?: string;
|
|
4368
|
+
data?: Record<string, any>;
|
|
4369
|
+
};
|
|
4370
|
+
/** @docsIgnore */
|
|
4371
|
+
type DeleteCustomDiscountsApplicationErrors = {
|
|
4372
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4373
|
+
description?: string;
|
|
4374
|
+
data?: Record<string, any>;
|
|
4375
|
+
} | {
|
|
4376
|
+
code?: 'DISCOUNT_NOT_FOUND';
|
|
4377
|
+
description?: string;
|
|
4378
|
+
data?: Record<string, any>;
|
|
4379
|
+
} | {
|
|
4380
|
+
code?: 'DISCOUNT_REMOVE_NOT_SUPPORTED';
|
|
4381
|
+
description?: string;
|
|
4382
|
+
data?: Record<string, any>;
|
|
4383
|
+
};
|
|
4384
|
+
/** @docsIgnore */
|
|
4385
|
+
type SetAdditionalFeesApplicationErrors = {
|
|
4386
|
+
code?: 'ADDITIONAL_FEE_NOT_FOUND';
|
|
4387
|
+
description?: string;
|
|
4388
|
+
data?: Record<string, any>;
|
|
4389
|
+
};
|
|
4390
|
+
/** @docsIgnore */
|
|
4391
|
+
type CreateCustomAdditionalFeesApplicationErrors = {
|
|
4392
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4393
|
+
description?: string;
|
|
4394
|
+
data?: Record<string, any>;
|
|
4395
|
+
} | {
|
|
4396
|
+
code?: 'LINE_ITEM_NOT_FOUND';
|
|
4397
|
+
description?: string;
|
|
4398
|
+
data?: Record<string, any>;
|
|
4399
|
+
};
|
|
4400
|
+
/** @docsIgnore */
|
|
4401
|
+
type DeleteCustomAdditionalFeesApplicationErrors = {
|
|
4402
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4403
|
+
description?: string;
|
|
4404
|
+
data?: Record<string, any>;
|
|
4405
|
+
} | {
|
|
4406
|
+
code?: 'ADDITIONAL_FEE_NOT_FOUND';
|
|
4407
|
+
description?: string;
|
|
4408
|
+
data?: Record<string, any>;
|
|
4409
|
+
} | {
|
|
4410
|
+
code?: 'ADDITIONAL_FEE_REMOVE_NOT_SUPPORTED';
|
|
4411
|
+
description?: string;
|
|
4412
|
+
data?: Record<string, any>;
|
|
4413
|
+
};
|
|
4414
|
+
/** @docsIgnore */
|
|
4415
|
+
type SetShippingInfoApplicationErrors = {
|
|
4416
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4417
|
+
description?: string;
|
|
4418
|
+
data?: Record<string, any>;
|
|
4419
|
+
};
|
|
4420
|
+
/** @docsIgnore */
|
|
4421
|
+
type SetBuyerInfoApplicationErrors = {
|
|
4422
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4423
|
+
description?: string;
|
|
4424
|
+
data?: Record<string, any>;
|
|
4425
|
+
};
|
|
4426
|
+
/** @docsIgnore */
|
|
4427
|
+
type SetRecipientInfoApplicationErrors = {
|
|
4428
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4429
|
+
description?: string;
|
|
4430
|
+
data?: Record<string, any>;
|
|
4431
|
+
};
|
|
4432
|
+
/** @docsIgnore */
|
|
4433
|
+
type SetBillingInfoApplicationErrors = {
|
|
4434
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4435
|
+
description?: string;
|
|
4436
|
+
data?: Record<string, any>;
|
|
4437
|
+
};
|
|
4438
|
+
/** @docsIgnore */
|
|
4439
|
+
type GetDraftOrderApplicationErrors = {
|
|
4440
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4441
|
+
description?: string;
|
|
4442
|
+
data?: Record<string, any>;
|
|
4443
|
+
};
|
|
4444
|
+
/** @docsIgnore */
|
|
4445
|
+
type CommitDraftOrderApplicationErrors = {
|
|
4446
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4447
|
+
description?: string;
|
|
4448
|
+
data?: Record<string, any>;
|
|
4449
|
+
} | {
|
|
4450
|
+
code?: 'DRAFT_ORDER_COMMIT_FAILED_VALIDATIONS';
|
|
4451
|
+
description?: string;
|
|
4452
|
+
data?: Record<string, any>;
|
|
4453
|
+
};
|
|
4454
|
+
/** @docsIgnore */
|
|
4455
|
+
type CreateOrderFromDraftApplicationErrors = {
|
|
4456
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4457
|
+
description?: string;
|
|
4458
|
+
data?: Record<string, any>;
|
|
4459
|
+
} | {
|
|
4460
|
+
code?: 'CREATE_ORDER_FAILED_VALIDATIONS';
|
|
4461
|
+
description?: string;
|
|
4462
|
+
data?: Record<string, any>;
|
|
4463
|
+
};
|
|
4464
|
+
/** @docsIgnore */
|
|
4465
|
+
type DeleteDraftOrderApplicationErrors = {
|
|
4466
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4467
|
+
description?: string;
|
|
4468
|
+
data?: Record<string, any>;
|
|
4469
|
+
} | {
|
|
4470
|
+
code?: 'DRAFT_ORDER_CANNOT_BE_DELETED';
|
|
4471
|
+
description?: string;
|
|
4472
|
+
data?: Record<string, any>;
|
|
4473
|
+
};
|
|
4474
|
+
/** @docsIgnore */
|
|
4475
|
+
type UpdateExtendedFieldsApplicationErrors = {
|
|
4476
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4477
|
+
description?: string;
|
|
4478
|
+
data?: Record<string, any>;
|
|
4479
|
+
};
|
|
4480
|
+
/** @docsIgnore */
|
|
4481
|
+
type SetTaxExemptionApplicationErrors = {
|
|
4482
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4483
|
+
description?: string;
|
|
4484
|
+
data?: Record<string, any>;
|
|
4485
|
+
};
|
|
4486
|
+
/** @docsIgnore */
|
|
4487
|
+
type SetBusinessLocationApplicationErrors = {
|
|
4488
|
+
code?: 'DRAFT_ORDER_DOES_NOT_EXIST';
|
|
4489
|
+
description?: string;
|
|
4490
|
+
data?: Record<string, any>;
|
|
4491
|
+
} | {
|
|
4492
|
+
code?: 'BUSINESS_LOCATION_CANNOT_BE_EDITED';
|
|
4493
|
+
description?: string;
|
|
4494
|
+
data?: Record<string, any>;
|
|
4495
|
+
};
|
|
3906
4496
|
|
|
3907
4497
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3908
4498
|
getUrl: (context: any) => string;
|
|
@@ -3969,4 +4559,4 @@ declare function updateExtendedFields(): __PublicMethodMetaInfo<'POST', {
|
|
|
3969
4559
|
declare function setTaxExemption(): __PublicMethodMetaInfo<'PUT', {}, SetTaxExemptionRequest$1, SetTaxExemptionRequest, SetTaxExemptionResponse$1, SetTaxExemptionResponse>;
|
|
3970
4560
|
declare function setBusinessLocation(): __PublicMethodMetaInfo<'PUT', {}, SetBusinessLocationRequest$1, SetBusinessLocationRequest, SetBusinessLocationResponse$1, SetBusinessLocationResponse>;
|
|
3971
4561
|
|
|
3972
|
-
export { type __PublicMethodMetaInfo, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };
|
|
4562
|
+
export { type ActionEvent as ActionEventOriginal, type ActivityContentOneOf as ActivityContentOneOfOriginal, type Activity as ActivityOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AddLineItemsToDraftOrderApplicationErrors as AddLineItemsToDraftOrderApplicationErrorsOriginal, type AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequestOriginal, type AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponseOriginal, type AdditionalFeeDetails as AdditionalFeeDetailsOriginal, type AdditionalFeeOption as AdditionalFeeOptionOriginal, type AdditionalFee as AdditionalFeeOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, AppliedDiscountDiscountType as AppliedDiscountDiscountTypeOriginal, type AppliedDiscountDiscountTypeWithLiterals as AppliedDiscountDiscountTypeWithLiteralsOriginal, type AppliedDiscount as AppliedDiscountOriginal, AttributionSource as AttributionSourceOriginal, type AttributionSourceWithLiterals as AttributionSourceWithLiteralsOriginal, type AuthorizedPaymentCaptured as AuthorizedPaymentCapturedOriginal, type AuthorizedPaymentCreated as AuthorizedPaymentCreatedOriginal, type AuthorizedPaymentVoided as AuthorizedPaymentVoidedOriginal, type Balance as BalanceOriginal, type BalanceSummary as BalanceSummaryOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingChangedDetails as BillingChangedDetailsOriginal, type BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOfOriginal, type BillingDetails as BillingDetailsOriginal, type BusinessLocationChangedDetails as BusinessLocationChangedDetailsOriginal, type BusinessLocationDetailsChangeTypeOneOf as BusinessLocationDetailsChangeTypeOneOfOriginal, type BusinessLocationDetails as BusinessLocationDetailsOriginal, type BuyerChangedDetails as BuyerChangedDetailsOriginal, type BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOfOriginal, type BuyerDetails as BuyerDetailsOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculatedDraftOrder as CalculatedDraftOrderOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type CatalogReferenceLineItem as CatalogReferenceLineItemOriginal, type CatalogReference as CatalogReferenceOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type ChargebackCreated as ChargebackCreatedOriginal, type ChargebackReversed as ChargebackReversedOriginal, type Color as ColorOriginal, type CommitDraftOrderApplicationErrors as CommitDraftOrderApplicationErrorsOriginal, type CommitDraftOrderRequest as CommitDraftOrderRequestOriginal, type CommitDraftOrderResponse as CommitDraftOrderResponseOriginal, type Coupon as CouponOriginal, type CreateCustomAdditionalFeesApplicationErrors as CreateCustomAdditionalFeesApplicationErrorsOriginal, type CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequestOriginal, type CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponseOriginal, type CreateCustomDiscountsApplicationErrors as CreateCustomDiscountsApplicationErrorsOriginal, type CreateCustomDiscountsRequest as CreateCustomDiscountsRequestOriginal, type CreateCustomDiscountsResponse as CreateCustomDiscountsResponseOriginal, type CreateDraftOrderApplicationErrors as CreateDraftOrderApplicationErrorsOriginal, type CreateDraftOrderRequest as CreateDraftOrderRequestOriginal, type CreateDraftOrderResponse as CreateDraftOrderResponseOriginal, type CreateEmptyDraftOrderApplicationErrors as CreateEmptyDraftOrderApplicationErrorsOriginal, type CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequestOriginal, type CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponseOriginal, type CreateOrderFromDraftApplicationErrors as CreateOrderFromDraftApplicationErrorsOriginal, type CreateOrderFromDraftRequest as CreateOrderFromDraftRequestOriginal, type CreateOrderFromDraftResponse as CreateOrderFromDraftResponseOriginal, type CreatedBy as CreatedByOriginal, type CreatedByStringOneOf as CreatedByStringOneOfOriginal, type CreditCardDetails as CreditCardDetailsOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomActivity as CustomActivityOriginal, type CustomField as CustomFieldOriginal, type CustomLineItem as CustomLineItemOriginal, type DeleteCustomAdditionalFeesApplicationErrors as DeleteCustomAdditionalFeesApplicationErrorsOriginal, type DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequestOriginal, type DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponseOriginal, type DeleteCustomDiscountsApplicationErrors as DeleteCustomDiscountsApplicationErrorsOriginal, type DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequestOriginal, type DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponseOriginal, type DeleteDraftOrderApplicationErrors as DeleteDraftOrderApplicationErrorsOriginal, type DeleteDraftOrderRequest as DeleteDraftOrderRequestOriginal, type DeleteDraftOrderResponse as DeleteDraftOrderResponseOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DepositDetailsDepositOneOf as DepositDetailsDepositOneOfOriginal, type DepositDetails as DepositDetailsOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DescriptionLinesOverride as DescriptionLinesOverrideOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type DigitalFile as DigitalFileOriginal, type DiscountDetails as DiscountDetailsOriginal, type DiscountOptionDiscountAmountOneOf as DiscountOptionDiscountAmountOneOfOriginal, type DiscountOption as DiscountOptionOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftOrderChangesApplied as DraftOrderChangesAppliedOriginal, type DraftOrderCommitSettings as DraftOrderCommitSettingsOriginal, type DraftOrder as DraftOrderOriginal, EditingStatus as EditingStatusOriginal, type EditingStatusWithLiterals as EditingStatusWithLiteralsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReceipt as ExternalReceiptOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, FulfillmentStatus as FulfillmentStatusOriginal, type FulfillmentStatusWithLiterals as FulfillmentStatusWithLiteralsOriginal, type FulfillmentStatusesAggregate as FulfillmentStatusesAggregateOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetDraftOrderApplicationErrors as GetDraftOrderApplicationErrorsOriginal, type GetDraftOrderRequest as GetDraftOrderRequestOriginal, type GetDraftOrderResponse as GetDraftOrderResponseOriginal, type GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequestOriginal, type GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponseOriginal, type GiftCardPaymentRefund as GiftCardPaymentRefundOriginal, type IdAndApplied as IdAndAppliedOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InventoryUpdate as InventoryUpdateOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemDetailsChangeTypeOneOf as ItemDetailsChangeTypeOneOfOriginal, type ItemDetails as ItemDetailsOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, ItemTypeItemType as ItemTypeItemTypeOriginal, type ItemTypeItemTypeWithLiterals as ItemTypeItemTypeWithLiteralsOriginal, type ItemType as ItemTypeOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemAmount as LineItemAmountOriginal, type LineItemChangeDetails as LineItemChangeDetailsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemDescriptionLineChange as LineItemDescriptionLineChangeOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemExchangeData as LineItemExchangeDataOriginal, type LineItemModifiersChange as LineItemModifiersChangeOriginal, type LineItemPriceChange as LineItemPriceChangeOriginal, type LineItemProductNameChange as LineItemProductNameChangeOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type ManagedAdditionalFee as ManagedAdditionalFeeOriginal, type ManagedDiscount as ManagedDiscountOriginal, type ManagedLineItem as ManagedLineItemOriginal, type MembershipPaymentRefund as MembershipPaymentRefundOriginal, type MerchantComment as MerchantCommentOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type ModifiersGroupsOverride as ModifiersGroupsOverrideOriginal, type NewExchangeOrderCreated as NewExchangeOrderCreatedOriginal, NonDraftableReason as NonDraftableReasonOriginal, type NonDraftableReasonWithLiterals as NonDraftableReasonWithLiteralsOriginal, type OrderChange as OrderChangeOriginal, type OrderChangeValueOneOf as OrderChangeValueOneOfOriginal, type OrderCreateNotifications as OrderCreateNotificationsOriginal, type OrderCreateSettings as OrderCreateSettingsOriginal, type OrderCreatedFromExchange as OrderCreatedFromExchangeOriginal, type OrderLineItem as OrderLineItemOriginal, type Order as OrderOriginal, type OrderRefunded as OrderRefundedOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentCanceled as PaymentCanceledOriginal, type PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOfOriginal, type PaymentDeclined as PaymentDeclinedOriginal, type PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOfOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PaymentPending as PaymentPendingOriginal, type PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOfOriginal, type PaymentRefundFailed as PaymentRefundFailedOriginal, type PaymentRefunded as PaymentRefundedOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupDetailsPickupMethod as PickupDetailsPickupMethodOriginal, type PickupDetailsPickupMethodWithLiterals as PickupDetailsPickupMethodWithLiteralsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, type QueryDraftOrdersRequest as QueryDraftOrdersRequestOriginal, type QueryDraftOrdersResponse as QueryDraftOrdersResponseOriginal, type ReceiptCreated as ReceiptCreatedOriginal, type ReceiptCreatedReceiptInfoOneOf as ReceiptCreatedReceiptInfoOneOfOriginal, type ReceiptSent as ReceiptSentOriginal, type ReceiptSentReceiptInfoOneOf as ReceiptSentReceiptInfoOneOfOriginal, type RecipientInfoChangedDetails as RecipientInfoChangedDetailsOriginal, type RecipientInfoDetailsChangeTypeOneOf as RecipientInfoDetailsChangeTypeOneOfOriginal, type RecipientInfoDetails as RecipientInfoDetailsOriginal, type RefundInitiated as RefundInitiatedOriginal, type RefundedAsStoreCredit as RefundedAsStoreCreditOriginal, type RefundedPaymentKindOneOf as RefundedPaymentKindOneOfOriginal, type RefundedPayment as RefundedPaymentOriginal, type RegularPayment as RegularPaymentOriginal, type RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOfOriginal, type RegularPaymentRefund as RegularPaymentRefundOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type SavedPaymentMethod as SavedPaymentMethodOriginal, type SecuredMedia as SecuredMediaOriginal, type SetAdditionalFeesApplicationErrors as SetAdditionalFeesApplicationErrorsOriginal, type SetAdditionalFeesRequest as SetAdditionalFeesRequestOriginal, type SetAdditionalFeesResponse as SetAdditionalFeesResponseOriginal, type SetBillingInfoApplicationErrors as SetBillingInfoApplicationErrorsOriginal, type SetBillingInfoRequest as SetBillingInfoRequestOriginal, type SetBillingInfoResponse as SetBillingInfoResponseOriginal, type SetBusinessLocationApplicationErrors as SetBusinessLocationApplicationErrorsOriginal, type SetBusinessLocationRequest as SetBusinessLocationRequestOriginal, type SetBusinessLocationResponse as SetBusinessLocationResponseOriginal, type SetBuyerInfoApplicationErrors as SetBuyerInfoApplicationErrorsOriginal, type SetBuyerInfoRequest as SetBuyerInfoRequestOriginal, type SetBuyerInfoResponse as SetBuyerInfoResponseOriginal, type SetDepositApplicationErrors as SetDepositApplicationErrorsOriginal, type SetDepositRequest as SetDepositRequestOriginal, type SetDepositResponse as SetDepositResponseOriginal, type SetDiscountsApplicationErrors as SetDiscountsApplicationErrorsOriginal, type SetDiscountsRequest as SetDiscountsRequestOriginal, type SetDiscountsResponse as SetDiscountsResponseOriginal, type SetRecipientInfoApplicationErrors as SetRecipientInfoApplicationErrorsOriginal, type SetRecipientInfoRequest as SetRecipientInfoRequestOriginal, type SetRecipientInfoResponse as SetRecipientInfoResponseOriginal, type SetShippingInfoApplicationErrors as SetShippingInfoApplicationErrorsOriginal, type SetShippingInfoRequest as SetShippingInfoRequestOriginal, type SetShippingInfoResponse as SetShippingInfoResponseOriginal, type SetTaxExemptionApplicationErrors as SetTaxExemptionApplicationErrorsOriginal, type SetTaxExemptionRequest as SetTaxExemptionRequestOriginal, type SetTaxExemptionResponse as SetTaxExemptionResponseOriginal, type ShippingChangedDetails as ShippingChangedDetailsOriginal, type ShippingDetailsChangeTypeOneOf as ShippingDetailsChangeTypeOneOfOriginal, type ShippingDetails as ShippingDetailsOriginal, type ShippingInformationChange as ShippingInformationChangeOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SourceType as SourceTypeOriginal, type SourceTypeWithLiterals as SourceTypeWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type SystemError as SystemErrorOriginal, type TagList as TagListOriginal, type Tags as TagsOriginal, type TaxDetails as TaxDetailsOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateExtendedFieldsApplicationErrors as UpdateExtendedFieldsApplicationErrorsOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateLineItemsApplicationErrors as UpdateLineItemsApplicationErrorsOriginal, type UpdateLineItemsRequest as UpdateLineItemsRequestOriginal, type UpdateLineItemsResponse as UpdateLineItemsResponseOriginal, type UpdateShippingInfoRequest as UpdateShippingInfoRequestOriginal, type UpdateShippingInfoResponse as UpdateShippingInfoResponseOriginal, type V1BalanceSummary as V1BalanceSummaryOriginal, type V1CreatedBy as V1CreatedByOriginal, type V1CreatedByStringOneOf as V1CreatedByStringOneOfOriginal, type V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOfOriginal, type V1DeliveryLogistics as V1DeliveryLogisticsOriginal, type V1DeliveryTimeSlot as V1DeliveryTimeSlotOriginal, type V1PickupDetails as V1PickupDetailsOriginal, type V1ShippingInformation as V1ShippingInformationOriginal, type V1ShippingPrice as V1ShippingPriceOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type WixReceipt as WixReceiptOriginal, type __PublicMethodMetaInfo, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };
|