@wix/auto_sdk_ecom_draft-orders 1.0.202 → 1.0.204
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/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +19 -0
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +19 -0
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +19 -0
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +19 -0
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -1
- package/build/internal/cjs/index.typings.d.ts +28 -2
- package/build/internal/cjs/meta.d.ts +26 -1
- package/build/internal/es/index.d.mts +2 -1
- package/build/internal/es/index.typings.d.mts +28 -2
- package/build/internal/es/meta.d.mts +26 -1
- package/package.json +2 -2
|
@@ -84,7 +84,8 @@ interface ChangeDraftOrderCurrencySignature {
|
|
|
84
84
|
* Changes a draft order's currency and converts every stored amount to that currency.
|
|
85
85
|
*
|
|
86
86
|
* You can change the currency only while the draft order is uncommitted, and only to a
|
|
87
|
-
* currency the site can accept payment in.
|
|
87
|
+
* currency the site can accept payment in. You can't change the currency of a draft order
|
|
88
|
+
* created to edit an existing order.
|
|
88
89
|
*
|
|
89
90
|
* The draft order stores the converted amounts only. It doesn't store the original amounts
|
|
90
91
|
* or the exchange rate. Each change converts the amounts at their stored values and replaces
|
|
@@ -3125,13 +3125,26 @@ interface SecuredMedia {
|
|
|
3125
3125
|
fileType?: FileTypeWithLiterals;
|
|
3126
3126
|
}
|
|
3127
3127
|
declare enum FileType {
|
|
3128
|
+
/** Unspecified file type. */
|
|
3128
3129
|
UNSPECIFIED = "UNSPECIFIED",
|
|
3130
|
+
/** Secure picture file. */
|
|
3129
3131
|
SECURE_PICTURE = "SECURE_PICTURE",
|
|
3132
|
+
/** Secure video file. */
|
|
3130
3133
|
SECURE_VIDEO = "SECURE_VIDEO",
|
|
3134
|
+
/** Secure document file. */
|
|
3131
3135
|
SECURE_DOCUMENT = "SECURE_DOCUMENT",
|
|
3136
|
+
/** Secure music file. */
|
|
3132
3137
|
SECURE_MUSIC = "SECURE_MUSIC",
|
|
3138
|
+
/** Secure archive file. */
|
|
3133
3139
|
SECURE_ARCHIVE = "SECURE_ARCHIVE",
|
|
3134
|
-
|
|
3140
|
+
/** Secure raw file. */
|
|
3141
|
+
SECURE_RAW = "SECURE_RAW",
|
|
3142
|
+
/**
|
|
3143
|
+
* Secure vector graphics file, such as an SVG file.
|
|
3144
|
+
* @documentationMaturity preview
|
|
3145
|
+
* @internal
|
|
3146
|
+
*/
|
|
3147
|
+
SECURE_VECTOR = "SECURE_VECTOR"
|
|
3135
3148
|
}
|
|
3136
3149
|
/** @enumType */
|
|
3137
3150
|
type FileTypeWithLiterals = FileType | 'UNSPECIFIED' | 'SECURE_PICTURE' | 'SECURE_VIDEO' | 'SECURE_DOCUMENT' | 'SECURE_MUSIC' | 'SECURE_ARCHIVE' | 'SECURE_RAW';
|
|
@@ -6648,6 +6661,18 @@ type ChangeDraftOrderCurrencyApplicationErrors = {
|
|
|
6648
6661
|
code?: 'CURRENCY_CONVERSION_UNAVAILABLE';
|
|
6649
6662
|
description?: string;
|
|
6650
6663
|
data?: Record<string, any>;
|
|
6664
|
+
} | {
|
|
6665
|
+
code?: 'DRAFT_ORDER_UPDATE_IN_PROGRESS';
|
|
6666
|
+
description?: string;
|
|
6667
|
+
data?: Record<string, any>;
|
|
6668
|
+
} | {
|
|
6669
|
+
code?: 'CHANGE_CURRENCY_NOT_ALLOWED_IN_EDIT_MODE';
|
|
6670
|
+
description?: string;
|
|
6671
|
+
data?: Record<string, any>;
|
|
6672
|
+
} | {
|
|
6673
|
+
code?: 'FAILED_TO_FETCH_PAYABLE_CURRENCIES';
|
|
6674
|
+
description?: string;
|
|
6675
|
+
data?: Record<string, any>;
|
|
6651
6676
|
};
|
|
6652
6677
|
/** @docsIgnore */
|
|
6653
6678
|
type SetDiscountsApplicationErrors = {
|
|
@@ -7233,7 +7258,8 @@ interface SetDepositOptions {
|
|
|
7233
7258
|
* Changes a draft order's currency and converts every stored amount to that currency.
|
|
7234
7259
|
*
|
|
7235
7260
|
* You can change the currency only while the draft order is uncommitted, and only to a
|
|
7236
|
-
* currency the site can accept payment in.
|
|
7261
|
+
* currency the site can accept payment in. You can't change the currency of a draft order
|
|
7262
|
+
* created to edit an existing order.
|
|
7237
7263
|
*
|
|
7238
7264
|
* The draft order stores the converted amounts only. It doesn't store the original amounts
|
|
7239
7265
|
* or the exchange rate. Each change converts the amounts at their stored values and replaces
|
|
@@ -3172,13 +3172,26 @@ interface SecuredMedia {
|
|
|
3172
3172
|
fileType?: FileTypeWithLiterals;
|
|
3173
3173
|
}
|
|
3174
3174
|
declare enum FileType {
|
|
3175
|
+
/** Unspecified file type. */
|
|
3175
3176
|
UNSPECIFIED = "UNSPECIFIED",
|
|
3177
|
+
/** Secure picture file. */
|
|
3176
3178
|
SECURE_PICTURE = "SECURE_PICTURE",
|
|
3179
|
+
/** Secure video file. */
|
|
3177
3180
|
SECURE_VIDEO = "SECURE_VIDEO",
|
|
3181
|
+
/** Secure document file. */
|
|
3178
3182
|
SECURE_DOCUMENT = "SECURE_DOCUMENT",
|
|
3183
|
+
/** Secure music file. */
|
|
3179
3184
|
SECURE_MUSIC = "SECURE_MUSIC",
|
|
3185
|
+
/** Secure archive file. */
|
|
3180
3186
|
SECURE_ARCHIVE = "SECURE_ARCHIVE",
|
|
3181
|
-
|
|
3187
|
+
/** Secure raw file. */
|
|
3188
|
+
SECURE_RAW = "SECURE_RAW",
|
|
3189
|
+
/**
|
|
3190
|
+
* Secure vector graphics file, such as an SVG file.
|
|
3191
|
+
* @documentationMaturity preview
|
|
3192
|
+
* @internal
|
|
3193
|
+
*/
|
|
3194
|
+
SECURE_VECTOR = "SECURE_VECTOR"
|
|
3182
3195
|
}
|
|
3183
3196
|
/** @enumType */
|
|
3184
3197
|
type FileTypeWithLiterals = FileType | 'UNSPECIFIED' | 'SECURE_PICTURE' | 'SECURE_VIDEO' | 'SECURE_DOCUMENT' | 'SECURE_MUSIC' | 'SECURE_ARCHIVE' | 'SECURE_RAW';
|
|
@@ -6778,6 +6791,18 @@ type ChangeDraftOrderCurrencyApplicationErrors = {
|
|
|
6778
6791
|
code?: 'CURRENCY_CONVERSION_UNAVAILABLE';
|
|
6779
6792
|
description?: string;
|
|
6780
6793
|
data?: Record<string, any>;
|
|
6794
|
+
} | {
|
|
6795
|
+
code?: 'DRAFT_ORDER_UPDATE_IN_PROGRESS';
|
|
6796
|
+
description?: string;
|
|
6797
|
+
data?: Record<string, any>;
|
|
6798
|
+
} | {
|
|
6799
|
+
code?: 'CHANGE_CURRENCY_NOT_ALLOWED_IN_EDIT_MODE';
|
|
6800
|
+
description?: string;
|
|
6801
|
+
data?: Record<string, any>;
|
|
6802
|
+
} | {
|
|
6803
|
+
code?: 'FAILED_TO_FETCH_PAYABLE_CURRENCIES';
|
|
6804
|
+
description?: string;
|
|
6805
|
+
data?: Record<string, any>;
|
|
6781
6806
|
};
|
|
6782
6807
|
/** @docsIgnore */
|
|
6783
6808
|
type SetDiscountsApplicationErrors = {
|
|
@@ -84,7 +84,8 @@ interface ChangeDraftOrderCurrencySignature {
|
|
|
84
84
|
* Changes a draft order's currency and converts every stored amount to that currency.
|
|
85
85
|
*
|
|
86
86
|
* You can change the currency only while the draft order is uncommitted, and only to a
|
|
87
|
-
* currency the site can accept payment in.
|
|
87
|
+
* currency the site can accept payment in. You can't change the currency of a draft order
|
|
88
|
+
* created to edit an existing order.
|
|
88
89
|
*
|
|
89
90
|
* The draft order stores the converted amounts only. It doesn't store the original amounts
|
|
90
91
|
* or the exchange rate. Each change converts the amounts at their stored values and replaces
|
|
@@ -3125,13 +3125,26 @@ interface SecuredMedia {
|
|
|
3125
3125
|
fileType?: FileTypeWithLiterals;
|
|
3126
3126
|
}
|
|
3127
3127
|
declare enum FileType {
|
|
3128
|
+
/** Unspecified file type. */
|
|
3128
3129
|
UNSPECIFIED = "UNSPECIFIED",
|
|
3130
|
+
/** Secure picture file. */
|
|
3129
3131
|
SECURE_PICTURE = "SECURE_PICTURE",
|
|
3132
|
+
/** Secure video file. */
|
|
3130
3133
|
SECURE_VIDEO = "SECURE_VIDEO",
|
|
3134
|
+
/** Secure document file. */
|
|
3131
3135
|
SECURE_DOCUMENT = "SECURE_DOCUMENT",
|
|
3136
|
+
/** Secure music file. */
|
|
3132
3137
|
SECURE_MUSIC = "SECURE_MUSIC",
|
|
3138
|
+
/** Secure archive file. */
|
|
3133
3139
|
SECURE_ARCHIVE = "SECURE_ARCHIVE",
|
|
3134
|
-
|
|
3140
|
+
/** Secure raw file. */
|
|
3141
|
+
SECURE_RAW = "SECURE_RAW",
|
|
3142
|
+
/**
|
|
3143
|
+
* Secure vector graphics file, such as an SVG file.
|
|
3144
|
+
* @documentationMaturity preview
|
|
3145
|
+
* @internal
|
|
3146
|
+
*/
|
|
3147
|
+
SECURE_VECTOR = "SECURE_VECTOR"
|
|
3135
3148
|
}
|
|
3136
3149
|
/** @enumType */
|
|
3137
3150
|
type FileTypeWithLiterals = FileType | 'UNSPECIFIED' | 'SECURE_PICTURE' | 'SECURE_VIDEO' | 'SECURE_DOCUMENT' | 'SECURE_MUSIC' | 'SECURE_ARCHIVE' | 'SECURE_RAW';
|
|
@@ -6648,6 +6661,18 @@ type ChangeDraftOrderCurrencyApplicationErrors = {
|
|
|
6648
6661
|
code?: 'CURRENCY_CONVERSION_UNAVAILABLE';
|
|
6649
6662
|
description?: string;
|
|
6650
6663
|
data?: Record<string, any>;
|
|
6664
|
+
} | {
|
|
6665
|
+
code?: 'DRAFT_ORDER_UPDATE_IN_PROGRESS';
|
|
6666
|
+
description?: string;
|
|
6667
|
+
data?: Record<string, any>;
|
|
6668
|
+
} | {
|
|
6669
|
+
code?: 'CHANGE_CURRENCY_NOT_ALLOWED_IN_EDIT_MODE';
|
|
6670
|
+
description?: string;
|
|
6671
|
+
data?: Record<string, any>;
|
|
6672
|
+
} | {
|
|
6673
|
+
code?: 'FAILED_TO_FETCH_PAYABLE_CURRENCIES';
|
|
6674
|
+
description?: string;
|
|
6675
|
+
data?: Record<string, any>;
|
|
6651
6676
|
};
|
|
6652
6677
|
/** @docsIgnore */
|
|
6653
6678
|
type SetDiscountsApplicationErrors = {
|
|
@@ -7233,7 +7258,8 @@ interface SetDepositOptions {
|
|
|
7233
7258
|
* Changes a draft order's currency and converts every stored amount to that currency.
|
|
7234
7259
|
*
|
|
7235
7260
|
* You can change the currency only while the draft order is uncommitted, and only to a
|
|
7236
|
-
* currency the site can accept payment in.
|
|
7261
|
+
* currency the site can accept payment in. You can't change the currency of a draft order
|
|
7262
|
+
* created to edit an existing order.
|
|
7237
7263
|
*
|
|
7238
7264
|
* The draft order stores the converted amounts only. It doesn't store the original amounts
|
|
7239
7265
|
* or the exchange rate. Each change converts the amounts at their stored values and replaces
|
|
@@ -3172,13 +3172,26 @@ interface SecuredMedia {
|
|
|
3172
3172
|
fileType?: FileTypeWithLiterals;
|
|
3173
3173
|
}
|
|
3174
3174
|
declare enum FileType {
|
|
3175
|
+
/** Unspecified file type. */
|
|
3175
3176
|
UNSPECIFIED = "UNSPECIFIED",
|
|
3177
|
+
/** Secure picture file. */
|
|
3176
3178
|
SECURE_PICTURE = "SECURE_PICTURE",
|
|
3179
|
+
/** Secure video file. */
|
|
3177
3180
|
SECURE_VIDEO = "SECURE_VIDEO",
|
|
3181
|
+
/** Secure document file. */
|
|
3178
3182
|
SECURE_DOCUMENT = "SECURE_DOCUMENT",
|
|
3183
|
+
/** Secure music file. */
|
|
3179
3184
|
SECURE_MUSIC = "SECURE_MUSIC",
|
|
3185
|
+
/** Secure archive file. */
|
|
3180
3186
|
SECURE_ARCHIVE = "SECURE_ARCHIVE",
|
|
3181
|
-
|
|
3187
|
+
/** Secure raw file. */
|
|
3188
|
+
SECURE_RAW = "SECURE_RAW",
|
|
3189
|
+
/**
|
|
3190
|
+
* Secure vector graphics file, such as an SVG file.
|
|
3191
|
+
* @documentationMaturity preview
|
|
3192
|
+
* @internal
|
|
3193
|
+
*/
|
|
3194
|
+
SECURE_VECTOR = "SECURE_VECTOR"
|
|
3182
3195
|
}
|
|
3183
3196
|
/** @enumType */
|
|
3184
3197
|
type FileTypeWithLiterals = FileType | 'UNSPECIFIED' | 'SECURE_PICTURE' | 'SECURE_VIDEO' | 'SECURE_DOCUMENT' | 'SECURE_MUSIC' | 'SECURE_ARCHIVE' | 'SECURE_RAW';
|
|
@@ -6778,6 +6791,18 @@ type ChangeDraftOrderCurrencyApplicationErrors = {
|
|
|
6778
6791
|
code?: 'CURRENCY_CONVERSION_UNAVAILABLE';
|
|
6779
6792
|
description?: string;
|
|
6780
6793
|
data?: Record<string, any>;
|
|
6794
|
+
} | {
|
|
6795
|
+
code?: 'DRAFT_ORDER_UPDATE_IN_PROGRESS';
|
|
6796
|
+
description?: string;
|
|
6797
|
+
data?: Record<string, any>;
|
|
6798
|
+
} | {
|
|
6799
|
+
code?: 'CHANGE_CURRENCY_NOT_ALLOWED_IN_EDIT_MODE';
|
|
6800
|
+
description?: string;
|
|
6801
|
+
data?: Record<string, any>;
|
|
6802
|
+
} | {
|
|
6803
|
+
code?: 'FAILED_TO_FETCH_PAYABLE_CURRENCIES';
|
|
6804
|
+
description?: string;
|
|
6805
|
+
data?: Record<string, any>;
|
|
6781
6806
|
};
|
|
6782
6807
|
/** @docsIgnore */
|
|
6783
6808
|
type SetDiscountsApplicationErrors = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_draft-orders",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.204",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.ecom.v1.draft_order"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "a99f547cfef4e22be15b983ee49af2099247584dfdb10b46c74e81fc"
|
|
54
54
|
}
|