@wix/auto_sdk_ecom_orders 1.0.144 → 1.0.146

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.
Files changed (41) hide show
  1. package/build/cjs/{ecom-v1-order-orders.universal-CRTnOQB3.d.ts → ecom-v1-order-orders.universal-CoyGOJOi.d.ts} +68 -68
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +15 -15
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +15 -15
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +68 -68
  9. package/build/cjs/meta.js +15 -15
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{ecom-v1-order-orders.universal-CRTnOQB3.d.mts → ecom-v1-order-orders.universal-CoyGOJOi.d.mts} +68 -68
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs +15 -15
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +15 -15
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +68 -68
  19. package/build/es/meta.mjs +15 -15
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{ecom-v1-order-orders.universal-CjdFmcMT.d.ts → ecom-v1-order-orders.universal-BcbWE7HT.d.ts} +74 -69
  22. package/build/internal/cjs/index.d.ts +2 -2
  23. package/build/internal/cjs/index.js +15 -15
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +15 -15
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +68 -68
  29. package/build/internal/cjs/meta.js +15 -15
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{ecom-v1-order-orders.universal-CjdFmcMT.d.mts → ecom-v1-order-orders.universal-BcbWE7HT.d.mts} +74 -69
  32. package/build/internal/es/index.d.mts +2 -2
  33. package/build/internal/es/index.mjs +15 -15
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +15 -15
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +68 -68
  39. package/build/internal/es/meta.mjs +15 -15
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. 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, e4 as PreparePaymentCollectionRequest$1, d as PreparePaymentCollectionResponse$1, e8 as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, e9 as RecordManuallyCollectedPaymentRequest$1, ea as RecordManuallyCollectedPaymentResponse$1, eb as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, ec as BulkMarkOrdersAsPaidRequest$1, g as BulkMarkOrdersAsPaidResponse$1, eh as GetRefundabilityStatusRequest$1, h as GetRefundabilityStatusResponse$1, ek as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, em as ChargeMembershipsRequest$1, eq as ChargeMembershipsResponse$1, er as TriggerRefundRequest$1, m as TriggerRefundResponse$1, eW as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eX 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-CjdFmcMT.js';
1
+ import { dc as ImportOrderRequest$1, I as ImportOrderResponse$1, dd as SetOrderNumberCounterRequest$1, a as SetOrderNumberCounterResponse$1, de 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-BcbWE7HT.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Order {
@@ -2730,6 +2730,21 @@ interface AdditionalFee {
2730
2730
  */
2731
2731
  lineItemIds?: string[];
2732
2732
  }
2733
+ declare enum AdditionalFeeSource {
2734
+ UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
2735
+ /** The additional fee was added by an additional fee service plugin. */
2736
+ SERVICE_PLUGIN = "SERVICE_PLUGIN",
2737
+ /** The additional fee was added to the item by a catalog or custom line item. */
2738
+ ITEM = "ITEM",
2739
+ /** The additional fee was added manually on request. */
2740
+ MANUAL = "MANUAL",
2741
+ /** The additional fee was added by the shipping provider. */
2742
+ SHIPPING = "SHIPPING",
2743
+ /** The additional fee was added by the Wix eCommerce platform. */
2744
+ PLATFORM = "PLATFORM"
2745
+ }
2746
+ /** @enumType */
2747
+ type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
2733
2748
  interface FulfillmentStatusesAggregate {
2734
2749
  /** Unique string values based on Fulfillment entities statuses */
2735
2750
  statuses?: string[] | null;
@@ -2900,6 +2915,56 @@ interface FormIdentifier {
2900
2915
  /** @maxLength 100 */
2901
2916
  namespace?: string;
2902
2917
  }
2918
+ interface PlatformFeeSummary {
2919
+ /** Total sum of all platform fees. */
2920
+ total?: Price;
2921
+ /** Total amount of platform fees with `PASS_ON` charge type. */
2922
+ totalPassOn?: Price;
2923
+ /** Total amount of platform fees with `ABSORBED` charge type. */
2924
+ totalAbsorbed?: Price;
2925
+ /**
2926
+ * Specific information about each platform fee.
2927
+ * @maxSize 300
2928
+ */
2929
+ fees?: PlatformFee[];
2930
+ }
2931
+ interface PlatformFee {
2932
+ /** Platform fee name. */
2933
+ name?: TranslatableString;
2934
+ /** Platform fee amount. */
2935
+ amount?: Price;
2936
+ /**
2937
+ * ID of the line item the platform fee applies to.
2938
+ * @format GUID
2939
+ */
2940
+ lineItemId?: string;
2941
+ /** Platform fee charge type. */
2942
+ chargeType?: ChargeTypeWithLiterals;
2943
+ /**
2944
+ * Percentage rate charged as platform fee.
2945
+ * The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
2946
+ * @format DECIMAL_VALUE
2947
+ * @decimalValue options { gte:0, lte:1, maxScale:4 }
2948
+ */
2949
+ percentageRate?: string;
2950
+ }
2951
+ declare enum ChargeType {
2952
+ UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
2953
+ /**
2954
+ * Platform fee passed on to buyer.
2955
+ *
2956
+ * This type increases the order total, and is visible to the buyer and merchant as an additional fee.
2957
+ */
2958
+ PASS_ON = "PASS_ON",
2959
+ /**
2960
+ * Platform fee absorbed by merchant.
2961
+ *
2962
+ * This type does not increase the order total, and is only visible to the merchant.
2963
+ */
2964
+ ABSORBED = "ABSORBED"
2965
+ }
2966
+ /** @enumType */
2967
+ type ChargeTypeWithLiterals = ChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
2903
2968
  /** Triggered when the order status changes to approved */
2904
2969
  interface OrderApproved {
2905
2970
  /** The order that was updated */
@@ -3929,7 +3994,7 @@ interface PaymentPaymentDetailsOneOf {
3929
3994
  interface PaymentReceiptInfoOneOf {
3930
3995
  }
3931
3996
  interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
3932
- /** Whether regular card used */
3997
+ /** Credit card details. */
3933
3998
  creditCardDetails?: CreditCardPaymentMethodDetails;
3934
3999
  /**
3935
4000
  * Wix Payments order ID.
@@ -3972,7 +4037,7 @@ interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetail
3972
4037
  }
3973
4038
  /** @oneof */
3974
4039
  interface RegularPaymentDetailsPaymentMethodDetailsOneOf {
3975
- /** Whether regular card used */
4040
+ /** Credit card details. */
3976
4041
  creditCardDetails?: CreditCardPaymentMethodDetails;
3977
4042
  }
3978
4043
  declare enum TransactionStatus {
@@ -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;
@@ -1983,6 +1983,15 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
1983
1983
  ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
1984
1984
  return ChannelType2;
1985
1985
  })(ChannelType || {});
1986
+ var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
1987
+ AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
1988
+ AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
1989
+ AdditionalFeeSource2["ITEM"] = "ITEM";
1990
+ AdditionalFeeSource2["MANUAL"] = "MANUAL";
1991
+ AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
1992
+ AdditionalFeeSource2["PLATFORM"] = "PLATFORM";
1993
+ return AdditionalFeeSource2;
1994
+ })(AdditionalFeeSource || {});
1986
1995
  var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {
1987
1996
  OrderActionType2["EDIT"] = "EDIT";
1988
1997
  OrderActionType2["UPDATE"] = "UPDATE";
@@ -2001,6 +2010,12 @@ var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {
2001
2010
  OrderActionType2["MODIFY_INVENTORY"] = "MODIFY_INVENTORY";
2002
2011
  return OrderActionType2;
2003
2012
  })(OrderActionType || {});
2013
+ var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
2014
+ ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
2015
+ ChargeType2["PASS_ON"] = "PASS_ON";
2016
+ ChargeType2["ABSORBED"] = "ABSORBED";
2017
+ return ChargeType2;
2018
+ })(ChargeType || {});
2004
2019
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
2005
2020
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
2006
2021
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -2140,21 +2155,6 @@ var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
2140
2155
  VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
2141
2156
  return VersioningMode2;
2142
2157
  })(VersioningMode || {});
2143
- var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
2144
- AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
2145
- AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
2146
- AdditionalFeeSource2["ITEM"] = "ITEM";
2147
- AdditionalFeeSource2["MANUAL"] = "MANUAL";
2148
- AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
2149
- AdditionalFeeSource2["PLATFORM"] = "PLATFORM";
2150
- return AdditionalFeeSource2;
2151
- })(AdditionalFeeSource || {});
2152
- var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
2153
- ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
2154
- ChargeType2["PASS_ON"] = "PASS_ON";
2155
- ChargeType2["ABSORBED"] = "ABSORBED";
2156
- return ChargeType2;
2157
- })(ChargeType || {});
2158
2158
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
2159
2159
  SortOrder2["ASC"] = "ASC";
2160
2160
  SortOrder2["DESC"] = "DESC";