@wix/auto_sdk_ecom_orders 1.0.144 → 1.0.145
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/{ecom-v1-order-orders.universal-CRTnOQB3.d.ts → ecom-v1-order-orders.universal-BlFIYeAo.d.ts} +66 -66
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +15 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +15 -15
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +66 -66
- package/build/cjs/meta.js +15 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{ecom-v1-order-orders.universal-CRTnOQB3.d.mts → ecom-v1-order-orders.universal-BlFIYeAo.d.mts} +66 -66
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +15 -15
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +15 -15
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +66 -66
- package/build/es/meta.mjs +15 -15
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{ecom-v1-order-orders.universal-CjdFmcMT.d.ts → ecom-v1-order-orders.universal-zh_hrpdy.d.ts} +66 -66
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +15 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +15 -15
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +66 -66
- package/build/internal/cjs/meta.js +15 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{ecom-v1-order-orders.universal-CjdFmcMT.d.mts → ecom-v1-order-orders.universal-zh_hrpdy.d.mts} +66 -66
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +15 -15
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +15 -15
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +66 -66
- package/build/internal/es/meta.mjs +15 -15
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { da as ImportOrderRequest$1, I as ImportOrderResponse$1, db as SetOrderNumberCounterRequest$1, a as SetOrderNumberCounterResponse$1, dc as BulkDeleteImportedOrdersRequest$1, b as BulkDeleteImportedOrdersResponse$1,
|
|
1
|
+
import { da as ImportOrderRequest$1, I as ImportOrderResponse$1, db as SetOrderNumberCounterRequest$1, a as SetOrderNumberCounterResponse$1, dc as BulkDeleteImportedOrdersRequest$1, b as BulkDeleteImportedOrdersResponse$1, e6 as PreparePaymentCollectionRequest$1, d as PreparePaymentCollectionResponse$1, ea as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, eb as RecordManuallyCollectedPaymentRequest$1, ec as RecordManuallyCollectedPaymentResponse$1, ed as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, ee as BulkMarkOrdersAsPaidRequest$1, g as BulkMarkOrdersAsPaidResponse$1, ej as GetRefundabilityStatusRequest$1, h as GetRefundabilityStatusResponse$1, em as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, eo as ChargeMembershipsRequest$1, es as ChargeMembershipsResponse$1, et as TriggerRefundRequest$1, m as TriggerRefundResponse$1, eY as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eZ as CaptureAuthorizedPaymentsRequest$1, q as CaptureAuthorizedPaymentsResponse$1, fh as GetOrderRequest$1, fi as GetOrderResponse$1, fu as SearchOrdersRequest$1, u as SearchOrdersResponse$1, fy as CreateOrderRequest$1, fB as CreateOrderResponse$1, fC as UpdateOrderRequest$1, fD as UpdateOrderResponse$1, fE as BulkUpdateOrdersRequest$1, A as BulkUpdateOrdersResponse$1, gk as UpdateOrderLineItemRequest$1, F as UpdateOrderLineItemResponse$1, gL as AddActivityRequest$1, J as AddActivityResponse$1, gN as AddActivitiesRequest$1, L as AddActivitiesResponse$1, gO as UpdateActivityRequest$1, Q as UpdateActivityResponse$1, gP as DeleteActivityRequest$1, X as DeleteActivityResponse$1, gV as CancelOrderRequest$1, Z as CancelOrderResponse$1, gX as UpdateOrderStatusRequest$1, a0 as UpdateOrderStatusResponse$1, hl as AggregateOrdersRequest$1, a3 as AggregateOrdersResponse$1, hp as BulkUpdateOrderTagsRequest$1, a5 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-zh_hrpdy.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface Order {
|
|
@@ -3127,6 +3127,71 @@ declare enum WebhookIdentityType {
|
|
|
3127
3127
|
}
|
|
3128
3128
|
/** @enumType */
|
|
3129
3129
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
3130
|
+
declare enum AdditionalFeeSource {
|
|
3131
|
+
UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
|
|
3132
|
+
/** The additional fee was added by an additional fee service plugin. */
|
|
3133
|
+
SERVICE_PLUGIN = "SERVICE_PLUGIN",
|
|
3134
|
+
/** The additional fee was added to the item by a catalog or custom line item. */
|
|
3135
|
+
ITEM = "ITEM",
|
|
3136
|
+
/** The additional fee was added manually on request. */
|
|
3137
|
+
MANUAL = "MANUAL",
|
|
3138
|
+
/** The additional fee was added by the shipping provider. */
|
|
3139
|
+
SHIPPING = "SHIPPING",
|
|
3140
|
+
/** The additional fee was added by the Wix eCommerce platform. */
|
|
3141
|
+
PLATFORM = "PLATFORM"
|
|
3142
|
+
}
|
|
3143
|
+
/** @enumType */
|
|
3144
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
|
|
3145
|
+
interface PlatformFeeSummary {
|
|
3146
|
+
/** Total sum of all platform fees. */
|
|
3147
|
+
total?: Price;
|
|
3148
|
+
/** Total amount of platform fees with `PASS_ON` charge type. */
|
|
3149
|
+
totalPassOn?: Price;
|
|
3150
|
+
/** Total amount of platform fees with `ABSORBED` charge type. */
|
|
3151
|
+
totalAbsorbed?: Price;
|
|
3152
|
+
/**
|
|
3153
|
+
* Specific information about each platform fee.
|
|
3154
|
+
* @maxSize 300
|
|
3155
|
+
*/
|
|
3156
|
+
fees?: PlatformFee[];
|
|
3157
|
+
}
|
|
3158
|
+
interface PlatformFee {
|
|
3159
|
+
/** Platform fee name. */
|
|
3160
|
+
name?: TranslatableString;
|
|
3161
|
+
/** Platform fee amount. */
|
|
3162
|
+
amount?: Price;
|
|
3163
|
+
/**
|
|
3164
|
+
* ID of the line item the platform fee applies to.
|
|
3165
|
+
* @format GUID
|
|
3166
|
+
*/
|
|
3167
|
+
lineItemId?: string;
|
|
3168
|
+
/** Platform fee charge type. */
|
|
3169
|
+
chargeType?: ChargeTypeWithLiterals;
|
|
3170
|
+
/**
|
|
3171
|
+
* Percentage rate charged as platform fee.
|
|
3172
|
+
* The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
|
|
3173
|
+
* @format DECIMAL_VALUE
|
|
3174
|
+
* @decimalValue options { gte:0, lte:1, maxScale:4 }
|
|
3175
|
+
*/
|
|
3176
|
+
percentageRate?: string;
|
|
3177
|
+
}
|
|
3178
|
+
declare enum ChargeType {
|
|
3179
|
+
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
3180
|
+
/**
|
|
3181
|
+
* Platform fee passed on to buyer.
|
|
3182
|
+
*
|
|
3183
|
+
* This type increases the order total, and is visible to the buyer and merchant as an additional fee.
|
|
3184
|
+
*/
|
|
3185
|
+
PASS_ON = "PASS_ON",
|
|
3186
|
+
/**
|
|
3187
|
+
* Platform fee absorbed by merchant.
|
|
3188
|
+
*
|
|
3189
|
+
* This type does not increase the order total, and is only visible to the merchant.
|
|
3190
|
+
*/
|
|
3191
|
+
ABSORBED = "ABSORBED"
|
|
3192
|
+
}
|
|
3193
|
+
/** @enumType */
|
|
3194
|
+
type ChargeTypeWithLiterals = ChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
|
|
3130
3195
|
interface SendBuyerConfirmationEmailRequest {
|
|
3131
3196
|
/** @format GUID */
|
|
3132
3197
|
orderId?: string;
|
|
@@ -4645,71 +4710,6 @@ interface TriggerReindexOrderRequest {
|
|
|
4645
4710
|
*/
|
|
4646
4711
|
orderId?: string;
|
|
4647
4712
|
}
|
|
4648
|
-
declare enum AdditionalFeeSource {
|
|
4649
|
-
UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
|
|
4650
|
-
/** The additional fee was added by an additional fee service plugin. */
|
|
4651
|
-
SERVICE_PLUGIN = "SERVICE_PLUGIN",
|
|
4652
|
-
/** The additional fee was added to the item by a catalog or custom line item. */
|
|
4653
|
-
ITEM = "ITEM",
|
|
4654
|
-
/** The additional fee was added manually on request. */
|
|
4655
|
-
MANUAL = "MANUAL",
|
|
4656
|
-
/** The additional fee was added by the shipping provider. */
|
|
4657
|
-
SHIPPING = "SHIPPING",
|
|
4658
|
-
/** The additional fee was added by the Wix eCommerce platform. */
|
|
4659
|
-
PLATFORM = "PLATFORM"
|
|
4660
|
-
}
|
|
4661
|
-
/** @enumType */
|
|
4662
|
-
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
|
|
4663
|
-
interface PlatformFeeSummary {
|
|
4664
|
-
/** Total sum of all platform fees. */
|
|
4665
|
-
total?: Price;
|
|
4666
|
-
/** Total amount of platform fees with `PASS_ON` charge type. */
|
|
4667
|
-
totalPassOn?: Price;
|
|
4668
|
-
/** Total amount of platform fees with `ABSORBED` charge type. */
|
|
4669
|
-
totalAbsorbed?: Price;
|
|
4670
|
-
/**
|
|
4671
|
-
* Specific information about each platform fee.
|
|
4672
|
-
* @maxSize 300
|
|
4673
|
-
*/
|
|
4674
|
-
fees?: PlatformFee[];
|
|
4675
|
-
}
|
|
4676
|
-
interface PlatformFee {
|
|
4677
|
-
/** Platform fee name. */
|
|
4678
|
-
name?: TranslatableString;
|
|
4679
|
-
/** Platform fee amount. */
|
|
4680
|
-
amount?: Price;
|
|
4681
|
-
/**
|
|
4682
|
-
* ID of the line item the platform fee applies to.
|
|
4683
|
-
* @format GUID
|
|
4684
|
-
*/
|
|
4685
|
-
lineItemId?: string;
|
|
4686
|
-
/** Platform fee charge type. */
|
|
4687
|
-
chargeType?: ChargeTypeWithLiterals;
|
|
4688
|
-
/**
|
|
4689
|
-
* Percentage rate charged as platform fee.
|
|
4690
|
-
* The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
|
|
4691
|
-
* @format DECIMAL_VALUE
|
|
4692
|
-
* @decimalValue options { gte:0, lte:1, maxScale:4 }
|
|
4693
|
-
*/
|
|
4694
|
-
percentageRate?: string;
|
|
4695
|
-
}
|
|
4696
|
-
declare enum ChargeType {
|
|
4697
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
4698
|
-
/**
|
|
4699
|
-
* Platform fee passed on to buyer.
|
|
4700
|
-
*
|
|
4701
|
-
* This type increases the order total, and is visible to the buyer and merchant as an additional fee.
|
|
4702
|
-
*/
|
|
4703
|
-
PASS_ON = "PASS_ON",
|
|
4704
|
-
/**
|
|
4705
|
-
* Platform fee absorbed by merchant.
|
|
4706
|
-
*
|
|
4707
|
-
* This type does not increase the order total, and is only visible to the merchant.
|
|
4708
|
-
*/
|
|
4709
|
-
ABSORBED = "ABSORBED"
|
|
4710
|
-
}
|
|
4711
|
-
/** @enumType */
|
|
4712
|
-
type ChargeTypeWithLiterals = ChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
|
|
4713
4713
|
interface DiffmatokyPayload {
|
|
4714
4714
|
left?: string;
|
|
4715
4715
|
right?: string;
|
|
@@ -1904,6 +1904,21 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1904
1904
|
WebhookIdentityType2["APP"] = "APP";
|
|
1905
1905
|
return WebhookIdentityType2;
|
|
1906
1906
|
})(WebhookIdentityType || {});
|
|
1907
|
+
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
1908
|
+
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1909
|
+
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
1910
|
+
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
1911
|
+
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
1912
|
+
AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
|
|
1913
|
+
AdditionalFeeSource2["PLATFORM"] = "PLATFORM";
|
|
1914
|
+
return AdditionalFeeSource2;
|
|
1915
|
+
})(AdditionalFeeSource || {});
|
|
1916
|
+
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
1917
|
+
ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
1918
|
+
ChargeType2["PASS_ON"] = "PASS_ON";
|
|
1919
|
+
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
1920
|
+
return ChargeType2;
|
|
1921
|
+
})(ChargeType || {});
|
|
1907
1922
|
var PreviewEmailType = /* @__PURE__ */ ((PreviewEmailType2) => {
|
|
1908
1923
|
PreviewEmailType2["ORDER_PLACED"] = "ORDER_PLACED";
|
|
1909
1924
|
PreviewEmailType2["DOWNLOAD_LINKS"] = "DOWNLOAD_LINKS";
|
|
@@ -2035,21 +2050,6 @@ var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
|
2035
2050
|
VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
|
|
2036
2051
|
return VersioningMode2;
|
|
2037
2052
|
})(VersioningMode || {});
|
|
2038
|
-
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
2039
|
-
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
2040
|
-
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
2041
|
-
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
2042
|
-
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
2043
|
-
AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
|
|
2044
|
-
AdditionalFeeSource2["PLATFORM"] = "PLATFORM";
|
|
2045
|
-
return AdditionalFeeSource2;
|
|
2046
|
-
})(AdditionalFeeSource || {});
|
|
2047
|
-
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
2048
|
-
ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
2049
|
-
ChargeType2["PASS_ON"] = "PASS_ON";
|
|
2050
|
-
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
2051
|
-
return ChargeType2;
|
|
2052
|
-
})(ChargeType || {});
|
|
2053
2053
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
2054
2054
|
SortOrder2["ASC"] = "ASC";
|
|
2055
2055
|
SortOrder2["DESC"] = "DESC";
|