@wix/auto_sdk_ecom_orders 1.0.219 → 1.0.221

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-CXi8ZvaS.d.ts → ecom-v1-order-orders.universal-cW_bf4vG.d.ts} +176 -205
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +6 -27
  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 +6 -27
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +176 -205
  9. package/build/cjs/meta.js +6 -27
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{ecom-v1-order-orders.universal-CXi8ZvaS.d.mts → ecom-v1-order-orders.universal-cW_bf4vG.d.mts} +176 -205
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs +6 -27
  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 +6 -27
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +176 -205
  19. package/build/es/meta.mjs +6 -27
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{ecom-v1-order-orders.universal-BpdIFm1L.d.ts → ecom-v1-order-orders.universal-UePQMlea.d.ts} +176 -205
  22. package/build/internal/cjs/index.d.ts +2 -2
  23. package/build/internal/cjs/index.js +6 -27
  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 +6 -27
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +176 -205
  29. package/build/internal/cjs/meta.js +6 -27
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{ecom-v1-order-orders.universal-BpdIFm1L.d.mts → ecom-v1-order-orders.universal-UePQMlea.d.mts} +176 -205
  32. package/build/internal/es/index.d.mts +2 -2
  33. package/build/internal/es/index.mjs +6 -27
  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 +6 -27
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +176 -205
  39. package/build/internal/es/meta.mjs +6 -27
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { dd as ImportOrderRequest$1, de as ImportOrderResponse$1, df as SetOrderNumberCounterRequest$1, dg as SetOrderNumberCounterResponse$1, dh as BulkDeleteImportedOrdersRequest$1, di as BulkDeleteImportedOrdersResponse$1, f2 as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, f6 as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, f7 as RecordManuallyCollectedPaymentRequest$1, fa as RecordManuallyCollectedPaymentResponse$1, fb as MarkOrderAsPaidRequest$1, fc as MarkOrderAsPaidResponse$1, fd as BulkMarkOrdersAsPaidRequest$1, fe as BulkMarkOrdersAsPaidResponse$1, fj as GetRefundabilityStatusRequest$1, fk as GetRefundabilityStatusResponse$1, fn as CreatePaymentGatewayOrderRequest$1, fp as CreatePaymentGatewayOrderResponse$1, fq as ChargeMembershipsRequest$1, fu as ChargeMembershipsResponse$1, fv as TriggerRefundRequest$1, fA as TriggerRefundResponse$1, g2 as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, g3 as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, g8 as GetOrderRequest$1, g9 as GetOrderResponse$1, gl as SearchOrdersRequest$1, S as SearchOrdersResponse$1, gp as CreateOrderRequest$1, gt as CreateOrderResponse$1, gu as UpdateOrderRequest$1, gv as UpdateOrderResponse$1, gw as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, g$ as UpdateOrderLineItemRequest$1, h0 as UpdateOrderLineItemResponse$1, hr as AddActivityRequest$1, hu as AddActivityResponse$1, hv as AddActivitiesRequest$1, m as AddActivitiesResponse$1, hw as UpdateActivityRequest$1, hx as UpdateActivityResponse$1, hy as DeleteActivityRequest$1, hz as DeleteActivityResponse$1, hF as CancelOrderRequest$1, o as CancelOrderResponse$1, hG as UpdateOrderStatusRequest$1, hH as UpdateOrderStatusResponse$1, i3 as AggregateOrdersRequest$1, i4 as AggregateOrdersResponse$1, i8 as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-CXi8ZvaS.mjs';
1
+ import { dd as ImportOrderRequest$1, de as ImportOrderResponse$1, df as SetOrderNumberCounterRequest$1, dg as SetOrderNumberCounterResponse$1, dh as BulkDeleteImportedOrdersRequest$1, di as BulkDeleteImportedOrdersResponse$1, eQ as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, eU as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, eV as RecordManuallyCollectedPaymentRequest$1, eY as RecordManuallyCollectedPaymentResponse$1, eZ as MarkOrderAsPaidRequest$1, e_ as MarkOrderAsPaidResponse$1, e$ as BulkMarkOrdersAsPaidRequest$1, f0 as BulkMarkOrdersAsPaidResponse$1, f5 as GetRefundabilityStatusRequest$1, f6 as GetRefundabilityStatusResponse$1, f9 as CreatePaymentGatewayOrderRequest$1, fb as CreatePaymentGatewayOrderResponse$1, fc as ChargeMembershipsRequest$1, fg as ChargeMembershipsResponse$1, fh as TriggerRefundRequest$1, fm as TriggerRefundResponse$1, fQ as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, fR as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, g8 as GetOrderRequest$1, g9 as GetOrderResponse$1, gl as SearchOrdersRequest$1, S as SearchOrdersResponse$1, gp as CreateOrderRequest$1, gt as CreateOrderResponse$1, gu as UpdateOrderRequest$1, gv as UpdateOrderResponse$1, gw as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, g$ as UpdateOrderLineItemRequest$1, h0 as UpdateOrderLineItemResponse$1, hr as AddActivityRequest$1, hu as AddActivityResponse$1, hv as AddActivitiesRequest$1, m as AddActivitiesResponse$1, hw as UpdateActivityRequest$1, hx as UpdateActivityResponse$1, hy as DeleteActivityRequest$1, hz as DeleteActivityResponse$1, hF as CancelOrderRequest$1, o as CancelOrderResponse$1, hG as UpdateOrderStatusRequest$1, hH as UpdateOrderStatusResponse$1, i3 as AggregateOrdersRequest$1, i4 as AggregateOrdersResponse$1, i8 as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-cW_bf4vG.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -798,14 +798,13 @@ interface BillingAdjustment {
798
798
  priceSummary?: BillingAdjustmentPriceSummary;
799
799
  }
800
800
  declare enum AdjustmentType {
801
- UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
802
801
  /** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
803
802
  EXTRA_CHARGE = "EXTRA_CHARGE",
804
803
  /** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
805
804
  CREDIT = "CREDIT"
806
805
  }
807
806
  /** @enumType */
808
- type AdjustmentTypeWithLiterals = AdjustmentType | 'UNKNOWN_ADJUSTMENT_TYPE' | 'EXTRA_CHARGE' | 'CREDIT';
807
+ type AdjustmentTypeWithLiterals = AdjustmentType | 'EXTRA_CHARGE' | 'CREDIT';
809
808
  interface BillingAdjustmentPriceSummary {
810
809
  /** Subtotal of adjustment, before tax. */
811
810
  subtotal?: Price;
@@ -866,13 +865,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
866
865
  addressType?: TaxableAddressTypeWithLiterals;
867
866
  }
868
867
  declare enum TaxableAddressType {
869
- UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
870
868
  BUSINESS = "BUSINESS",
871
869
  BILLING = "BILLING",
872
870
  SHIPPING = "SHIPPING"
873
871
  }
874
872
  /** @enumType */
875
- type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS' | 'BUSINESS' | 'BILLING' | 'SHIPPING';
873
+ type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
876
874
  interface ExtendedFields {
877
875
  /**
878
876
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -1296,12 +1294,11 @@ interface PickupAddress {
1296
1294
  subdivisionFullname?: string | null;
1297
1295
  }
1298
1296
  declare enum PickupMethod {
1299
- UNKNOWN_METHOD = "UNKNOWN_METHOD",
1300
1297
  STORE_PICKUP = "STORE_PICKUP",
1301
1298
  PICKUP_POINT = "PICKUP_POINT"
1302
1299
  }
1303
1300
  /** @enumType */
1304
- type PickupMethodWithLiterals = PickupMethod | 'UNKNOWN_METHOD' | 'STORE_PICKUP' | 'PICKUP_POINT';
1301
+ type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
1305
1302
  interface DeliveryTimeSlot {
1306
1303
  /** Delivery slot starting time. */
1307
1304
  from?: Date | null;
@@ -2357,10 +2354,6 @@ declare enum ActivityType {
2357
2354
  CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
2358
2355
  /** Comment added to the order by a merchant. */
2359
2356
  MERCHANT_COMMENT = "MERCHANT_COMMENT",
2360
- /** Order was created as a result of an exchange. */
2361
- ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
2362
- /** New exchange order was created from this order. */
2363
- NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
2364
2357
  /** Partial payment was received for the order. */
2365
2358
  ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
2366
2359
  /** Changes were applied to a draft order. */
@@ -2449,10 +2442,8 @@ declare enum ActivityType {
2449
2442
  CHARGEBACK_REVERSED = "CHARGEBACK_REVERSED"
2450
2443
  }
2451
2444
  /** @enumType */
2452
- type ActivityTypeWithLiterals = ActivityType | 'ORDER_REFUNDED' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'CUSTOM_ACTIVITY' | 'MERCHANT_COMMENT' | 'ORDER_CREATED_FROM_EXCHANGE' | 'NEW_EXCHANGE_ORDER_CREATED' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED';
2445
+ type ActivityTypeWithLiterals = ActivityType | 'ORDER_REFUNDED' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'CUSTOM_ACTIVITY' | 'MERCHANT_COMMENT' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED';
2453
2446
  declare enum OrderActivityTypeEnumActivityType {
2454
- /** Default value. This value is unused. */
2455
- UNKNOWN_ACTIVITY_TYPE = "UNKNOWN_ACTIVITY_TYPE",
2456
2447
  /** New order was created and placed. */
2457
2448
  ORDER_PLACED = "ORDER_PLACED",
2458
2449
  /** Order payment was completed and confirmed. */
@@ -2487,14 +2478,8 @@ declare enum OrderActivityTypeEnumActivityType {
2487
2478
  EMAIL_EDITED = "EMAIL_EDITED",
2488
2479
  /** Email notification for pickup readiness was sent. */
2489
2480
  PICKUP_READY_EMAIL_SENT = "PICKUP_READY_EMAIL_SENT",
2490
- /** Custom activity created by a third-party application. */
2491
- CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
2492
2481
  /** Comment added to the order by a merchant. */
2493
2482
  MERCHANT_COMMENT = "MERCHANT_COMMENT",
2494
- /** Order was created as a result of an exchange. */
2495
- ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
2496
- /** New exchange order was created from this order. */
2497
- NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
2498
2483
  /** Partial payment was received for the order. */
2499
2484
  ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
2500
2485
  /** Changes were applied to a draft order. */
@@ -2585,7 +2570,7 @@ declare enum OrderActivityTypeEnumActivityType {
2585
2570
  ORDER_REFUNDED = "ORDER_REFUNDED"
2586
2571
  }
2587
2572
  /** @enumType */
2588
- type OrderActivityTypeEnumActivityTypeWithLiterals = OrderActivityTypeEnumActivityType | 'UNKNOWN_ACTIVITY_TYPE' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'CUSTOM_ACTIVITY' | 'MERCHANT_COMMENT' | 'ORDER_CREATED_FROM_EXCHANGE' | 'NEW_EXCHANGE_ORDER_CREATED' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED' | 'ORDER_REFUNDED';
2573
+ type OrderActivityTypeEnumActivityTypeWithLiterals = OrderActivityTypeEnumActivityType | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'MERCHANT_COMMENT' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED' | 'ORDER_REFUNDED';
2589
2574
  declare enum AttributionSource {
2590
2575
  UNSPECIFIED = "UNSPECIFIED",
2591
2576
  FACEBOOK_ADS = "FACEBOOK_ADS"
@@ -2838,7 +2823,6 @@ interface AdditionalFee {
2838
2823
  lineItemIds?: string[];
2839
2824
  }
2840
2825
  declare enum AdditionalFeeSource {
2841
- UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
2842
2826
  /** The additional fee was added by an additional fee service plugin. */
2843
2827
  SERVICE_PLUGIN = "SERVICE_PLUGIN",
2844
2828
  /** The additional fee was added to the item by a catalog or custom line item. */
@@ -2851,7 +2835,7 @@ declare enum AdditionalFeeSource {
2851
2835
  PLATFORM = "PLATFORM"
2852
2836
  }
2853
2837
  /** @enumType */
2854
- type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
2838
+ type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
2855
2839
  interface FulfillmentStatusesAggregate {
2856
2840
  /** Unique string values based on Fulfillment entities statuses */
2857
2841
  statuses?: string[] | null;
@@ -3082,7 +3066,6 @@ interface PlatformFee {
3082
3066
  percentageRate?: string;
3083
3067
  }
3084
3068
  declare enum ChargeType {
3085
- UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
3086
3069
  /**
3087
3070
  * Platform fee passed on to buyer.
3088
3071
  *
@@ -3097,7 +3080,7 @@ declare enum ChargeType {
3097
3080
  ABSORBED = "ABSORBED"
3098
3081
  }
3099
3082
  /** @enumType */
3100
- type ChargeTypeWithLiterals = ChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
3083
+ type ChargeTypeWithLiterals = ChargeType | 'PASS_ON' | 'ABSORBED';
3101
3084
  /** Triggered when the order status changes to approved */
3102
3085
  interface OrderApproved {
3103
3086
  /** The order that was updated */
@@ -3313,8 +3296,6 @@ interface OrderLineItemChangedDetails {
3313
3296
  }
3314
3297
  /** Type of selected payment option for catalog item */
3315
3298
  declare enum DeltaPaymentOptionType {
3316
- /** Irrelevant */
3317
- UNKNOWN_PAYMENT_OPTION = "UNKNOWN_PAYMENT_OPTION",
3318
3299
  /** The entire payment for the given item will happen after checkout. */
3319
3300
  FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
3320
3301
  /**
@@ -3324,7 +3305,7 @@ declare enum DeltaPaymentOptionType {
3324
3305
  MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
3325
3306
  }
3326
3307
  /** @enumType */
3327
- type DeltaPaymentOptionTypeWithLiterals = DeltaPaymentOptionType | 'UNKNOWN_PAYMENT_OPTION' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP_OFFLINE';
3308
+ type DeltaPaymentOptionTypeWithLiterals = DeltaPaymentOptionType | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP_OFFLINE';
3328
3309
  interface LineItemDelta extends LineItemDeltaDeltaOneOf {
3329
3310
  lineItemAdded?: boolean;
3330
3311
  changedDetails?: ItemChangedDetails;
@@ -3600,164 +3581,6 @@ interface AccountInfo {
3600
3581
  */
3601
3582
  siteId?: string | null;
3602
3583
  }
3603
- interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
3604
- /** insert/update documents */
3605
- update?: InternalDocumentUpdateOperation;
3606
- /** delete by document ids */
3607
- deleteByIds?: DeleteByIdsOperation;
3608
- /** delete documents matching filter */
3609
- deleteByFilter?: DeleteByFilterOperation;
3610
- /** update internal documents matching filter */
3611
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
3612
- /** update only existing documents */
3613
- updateExisting?: InternalUpdateExistingOperation;
3614
- /** insert/update documents with versioning */
3615
- versionedUpdate?: VersionedDocumentUpdateOperation;
3616
- /** delete by document ids with versioning */
3617
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3618
- /**
3619
- * type of the documents
3620
- * @minLength 2
3621
- */
3622
- documentType?: string;
3623
- /**
3624
- * language of the documents (mandatory)
3625
- * @minLength 2
3626
- */
3627
- language?: string | null;
3628
- /**
3629
- * one or more search documents
3630
- * @deprecated
3631
- */
3632
- addDocuments?: InternalDocument[];
3633
- /**
3634
- * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
3635
- * @deprecated
3636
- */
3637
- removeDocumentIds?: string[];
3638
- /** id to pass to processing notification */
3639
- correlationId?: string | null;
3640
- /** when event was created / issued */
3641
- issuedAt?: Date | null;
3642
- }
3643
- /** @oneof */
3644
- interface UpdateInternalDocumentsEventOperationOneOf {
3645
- /** insert/update documents */
3646
- update?: InternalDocumentUpdateOperation;
3647
- /** delete by document ids */
3648
- deleteByIds?: DeleteByIdsOperation;
3649
- /** delete documents matching filter */
3650
- deleteByFilter?: DeleteByFilterOperation;
3651
- /** update internal documents matching filter */
3652
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
3653
- /** update only existing documents */
3654
- updateExisting?: InternalUpdateExistingOperation;
3655
- /** insert/update documents with versioning */
3656
- versionedUpdate?: VersionedDocumentUpdateOperation;
3657
- /** delete by document ids with versioning */
3658
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3659
- }
3660
- interface InternalDocument {
3661
- /** document with mandatory fields (id) and with fields specific to the type of the document */
3662
- document?: Record<string, any> | null;
3663
- }
3664
- interface InternalDocumentUpdateOperation {
3665
- /** documents to index or update */
3666
- documents?: InternalDocument[];
3667
- }
3668
- interface DeleteByIdsOperation {
3669
- /** ids of the documents to delete */
3670
- documentIds?: string[];
3671
- /**
3672
- * tenant id for custom tenancy strategy
3673
- * @minLength 2
3674
- * @maxLength 300
3675
- */
3676
- tenantId?: string | null;
3677
- }
3678
- interface DeleteByFilterOperation {
3679
- /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
3680
- filter?: Record<string, any> | null;
3681
- /**
3682
- * tenant id for custom tenancy strategy
3683
- * @minLength 2
3684
- * @maxLength 300
3685
- */
3686
- tenantId?: string | null;
3687
- }
3688
- interface InternalDocumentUpdateByFilterOperation {
3689
- /** documents matching this filter will be updated */
3690
- filter?: Record<string, any> | null;
3691
- /** partial document to apply */
3692
- document?: InternalDocument;
3693
- /**
3694
- * tenant id for custom tenancy strategy
3695
- * @minLength 2
3696
- * @maxLength 300
3697
- */
3698
- tenantId?: string | null;
3699
- }
3700
- interface InternalUpdateExistingOperation {
3701
- /** documents to update */
3702
- documents?: InternalDocument[];
3703
- }
3704
- interface VersionedDocumentUpdateOperation {
3705
- /** documents to create or overwrite */
3706
- documents?: InternalDocument[];
3707
- /** versioning mode to use instead of default */
3708
- versioningMode?: VersioningModeWithLiterals;
3709
- }
3710
- declare enum VersioningMode {
3711
- /** use default versioning mode agreed with search team */
3712
- DEFAULT = "DEFAULT",
3713
- /** execute only if version is greater than existing */
3714
- GREATER_THAN = "GREATER_THAN",
3715
- /** execute only if version is greater or equal to existing */
3716
- GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
3717
- }
3718
- /** @enumType */
3719
- type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
3720
- interface VersionedDeleteByIdsOperation {
3721
- /** ids with version of the documents to delete */
3722
- documentIds?: VersionedDocumentId[];
3723
- /**
3724
- * tenant id for custom tenancy strategy
3725
- * @minLength 2
3726
- * @maxLength 300
3727
- */
3728
- tenantId?: string | null;
3729
- }
3730
- interface VersionedDocumentId {
3731
- /** document id */
3732
- documentId?: string;
3733
- /** document version */
3734
- version?: string;
3735
- /** versioning mode to use instead of default */
3736
- versioningMode?: VersioningModeWithLiterals;
3737
- }
3738
- interface TriggerReindexRequest {
3739
- /** @format GUID */
3740
- metasiteId?: string;
3741
- /**
3742
- * @minLength 1
3743
- * @maxLength 100
3744
- * @maxSize 100
3745
- */
3746
- orderIds?: string[];
3747
- }
3748
- interface TriggerReindexResponse {
3749
- }
3750
- interface Empty {
3751
- }
3752
- interface TriggerReindexOrderRequest {
3753
- /** @format GUID */
3754
- metasiteId?: string;
3755
- /**
3756
- * @minLength 1
3757
- * @maxLength 100
3758
- */
3759
- orderId?: string;
3760
- }
3761
3584
  interface SendBuyerConfirmationEmailRequest {
3762
3585
  /** @format GUID */
3763
3586
  orderId?: string;
@@ -4058,6 +3881,8 @@ interface PreviewResendDownloadLinksEmailRequest {
4058
3881
  interface PreviewResendDownloadLinksEmailResponse {
4059
3882
  emailPreview?: string;
4060
3883
  }
3884
+ interface Empty {
3885
+ }
4061
3886
  interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
4062
3887
  /** Emitted on a meta site creation. */
4063
3888
  siteCreated?: SiteCreated;
@@ -4591,12 +4416,11 @@ interface AddToAutomationMigrationPopulationRequest {
4591
4416
  origin?: OriginWithLiterals;
4592
4417
  }
4593
4418
  declare enum Origin {
4594
- UNKNOWN_ORIGIN = "UNKNOWN_ORIGIN",
4595
4419
  OPT_IN = "OPT_IN",
4596
4420
  MIGRATION = "MIGRATION"
4597
4421
  }
4598
4422
  /** @enumType */
4599
- type OriginWithLiterals = Origin | 'UNKNOWN_ORIGIN' | 'OPT_IN' | 'MIGRATION';
4423
+ type OriginWithLiterals = Origin | 'OPT_IN' | 'MIGRATION';
4600
4424
  interface AddToAutomationMigrationPopulationResponse {
4601
4425
  success?: boolean;
4602
4426
  }
@@ -4661,14 +4485,13 @@ interface DelayedCaptureSettings {
4661
4485
  delayDuration?: Duration;
4662
4486
  }
4663
4487
  declare enum ScheduledAction {
4664
- UNSPECIFIED = "UNSPECIFIED",
4665
4488
  /** Whether payment will be auto-voided when duration passes */
4666
4489
  VOID = "VOID",
4667
4490
  /** Whether payment will be auto-captured when duration passes */
4668
4491
  CAPTURE = "CAPTURE"
4669
4492
  }
4670
4493
  /** @enumType */
4671
- type ScheduledActionWithLiterals = ScheduledAction | 'UNSPECIFIED' | 'VOID' | 'CAPTURE';
4494
+ type ScheduledActionWithLiterals = ScheduledAction | 'VOID' | 'CAPTURE';
4672
4495
  interface Duration {
4673
4496
  /**
4674
4497
  * Amount of units. For example, 30 MINUTES, 1 HOURS, 7 DAYS, etc
@@ -4679,13 +4502,12 @@ interface Duration {
4679
4502
  unit?: DurationUnitWithLiterals;
4680
4503
  }
4681
4504
  declare enum DurationUnit {
4682
- UNKNOWN_DURATION_UNIT = "UNKNOWN_DURATION_UNIT",
4683
4505
  MINUTES = "MINUTES",
4684
4506
  HOURS = "HOURS",
4685
4507
  DAYS = "DAYS"
4686
4508
  }
4687
4509
  /** @enumType */
4688
- type DurationUnitWithLiterals = DurationUnit | 'UNKNOWN_DURATION_UNIT' | 'MINUTES' | 'HOURS' | 'DAYS';
4510
+ type DurationUnitWithLiterals = DurationUnit | 'MINUTES' | 'HOURS' | 'DAYS';
4689
4511
  interface PreparePaymentCollectionResponse {
4690
4512
  /** Payment gateway order id which is associated with given payment */
4691
4513
  paymentGatewayOrderId?: string;
@@ -4758,8 +4580,6 @@ interface UserDefinedPaymentMethodNameKindOneOf {
4758
4580
  }
4759
4581
  /** Predefined payment method types for offline/manual payments. */
4760
4582
  declare enum PredefinedPaymentMethod {
4761
- /** Unknown payment method type. */
4762
- UNKNOWN_PREDEFINED_PAYMENT_METHOD = "UNKNOWN_PREDEFINED_PAYMENT_METHOD",
4763
4583
  /** Cash payment. */
4764
4584
  CASH = "CASH",
4765
4585
  /** Bank transfer. */
@@ -4768,7 +4588,7 @@ declare enum PredefinedPaymentMethod {
4768
4588
  CHECK = "CHECK"
4769
4589
  }
4770
4590
  /** @enumType */
4771
- type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | 'UNKNOWN_PREDEFINED_PAYMENT_METHOD' | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
4591
+ type PredefinedPaymentMethodWithLiterals = PredefinedPaymentMethod | 'CASH' | 'BANK_TRANSFER' | 'CHECK';
4772
4592
  interface RecordManuallyCollectedPaymentResponse {
4773
4593
  }
4774
4594
  interface MarkOrderAsPaidRequest {
@@ -5285,7 +5105,6 @@ interface AuthorizationCapture {
5285
5105
  failureDetails?: AuthorizationActionFailureDetails;
5286
5106
  }
5287
5107
  declare enum AuthorizationCaptureStatus {
5288
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
5289
5108
  /** Capture operation still in progress. */
5290
5109
  PENDING = "PENDING",
5291
5110
  /** Capture operation succeeded. */
@@ -5294,7 +5113,7 @@ declare enum AuthorizationCaptureStatus {
5294
5113
  FAILED = "FAILED"
5295
5114
  }
5296
5115
  /** @enumType */
5297
- type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | 'UNKNOWN_STATUS' | 'PENDING' | 'SUCCEEDED' | 'FAILED';
5116
+ type AuthorizationCaptureStatusWithLiterals = AuthorizationCaptureStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED';
5298
5117
  interface AuthorizationActionFailureDetails {
5299
5118
  /** @maxLength 100 */
5300
5119
  failureCode?: string;
@@ -5310,7 +5129,6 @@ interface AuthorizationVoid {
5310
5129
  reason?: ReasonWithLiterals;
5311
5130
  }
5312
5131
  declare enum AuthorizationVoidStatus {
5313
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
5314
5132
  /** Void operation still in progress. */
5315
5133
  PENDING = "PENDING",
5316
5134
  /** Void operation succeeded. */
@@ -5319,17 +5137,16 @@ declare enum AuthorizationVoidStatus {
5319
5137
  FAILED = "FAILED"
5320
5138
  }
5321
5139
  /** @enumType */
5322
- type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | 'UNKNOWN_STATUS' | 'PENDING' | 'SUCCEEDED' | 'FAILED';
5140
+ type AuthorizationVoidStatusWithLiterals = AuthorizationVoidStatus | 'PENDING' | 'SUCCEEDED' | 'FAILED';
5323
5141
  /** Reason the authorization was voided. */
5324
5142
  declare enum Reason {
5325
- UNKNOWN_REASON = "UNKNOWN_REASON",
5326
5143
  /** Authorization was voided by user. */
5327
5144
  MANUAL = "MANUAL",
5328
5145
  /** Authorization passed execution date. */
5329
5146
  SCHEDULED = "SCHEDULED"
5330
5147
  }
5331
5148
  /** @enumType */
5332
- type ReasonWithLiterals = Reason | 'UNKNOWN_REASON' | 'MANUAL' | 'SCHEDULED';
5149
+ type ReasonWithLiterals = Reason | 'MANUAL' | 'SCHEDULED';
5333
5150
  interface V1ScheduledAction {
5334
5151
  /** Type of the action. */
5335
5152
  actionType?: ActionTypeWithLiterals;
@@ -5337,12 +5154,11 @@ interface V1ScheduledAction {
5337
5154
  executionDate?: Date | null;
5338
5155
  }
5339
5156
  declare enum ActionType {
5340
- UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
5341
5157
  VOID = "VOID",
5342
5158
  CAPTURE = "CAPTURE"
5343
5159
  }
5344
5160
  /** @enumType */
5345
- type ActionTypeWithLiterals = ActionType | 'UNKNOWN_ACTION_TYPE' | 'VOID' | 'CAPTURE';
5161
+ type ActionTypeWithLiterals = ActionType | 'VOID' | 'CAPTURE';
5346
5162
  interface Chargeback {
5347
5163
  /**
5348
5164
  * Chargeback ID.
@@ -5388,14 +5204,13 @@ interface Chargeback {
5388
5204
  externalId?: string | null;
5389
5205
  }
5390
5206
  declare enum ChargebackStatus {
5391
- UNSPECIFIED = "UNSPECIFIED",
5392
5207
  /** Chargeback was approved. */
5393
5208
  APPROVED = "APPROVED",
5394
5209
  /** Chargeback was reversed. */
5395
5210
  REVERSED = "REVERSED"
5396
5211
  }
5397
5212
  /** @enumType */
5398
- type ChargebackStatusWithLiterals = ChargebackStatus | 'UNSPECIFIED' | 'APPROVED' | 'REVERSED';
5213
+ type ChargebackStatusWithLiterals = ChargebackStatus | 'APPROVED' | 'REVERSED';
5399
5214
  interface PaymentMethodName {
5400
5215
  /**
5401
5216
  * Translated payment method name in buyer language.
@@ -5754,6 +5569,162 @@ interface ChargeSavedPaymentMethodResponse {
5754
5569
  /** Payment gateway's order ID (e.g Wix Payments) */
5755
5570
  paymentGatewayOrderId?: string;
5756
5571
  }
5572
+ interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
5573
+ /** insert/update documents */
5574
+ update?: InternalDocumentUpdateOperation;
5575
+ /** delete by document ids */
5576
+ deleteByIds?: DeleteByIdsOperation;
5577
+ /** delete documents matching filter */
5578
+ deleteByFilter?: DeleteByFilterOperation;
5579
+ /** update internal documents matching filter */
5580
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
5581
+ /** update only existing documents */
5582
+ updateExisting?: InternalUpdateExistingOperation;
5583
+ /** insert/update documents with versioning */
5584
+ versionedUpdate?: VersionedDocumentUpdateOperation;
5585
+ /** delete by document ids with versioning */
5586
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5587
+ /**
5588
+ * type of the documents
5589
+ * @minLength 2
5590
+ */
5591
+ documentType?: string;
5592
+ /**
5593
+ * language of the documents (mandatory)
5594
+ * @minLength 2
5595
+ */
5596
+ language?: string | null;
5597
+ /**
5598
+ * one or more search documents
5599
+ * @deprecated
5600
+ */
5601
+ addDocuments?: InternalDocument[];
5602
+ /**
5603
+ * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
5604
+ * @deprecated
5605
+ */
5606
+ removeDocumentIds?: string[];
5607
+ /** id to pass to processing notification */
5608
+ correlationId?: string | null;
5609
+ /** when event was created / issued */
5610
+ issuedAt?: Date | null;
5611
+ }
5612
+ /** @oneof */
5613
+ interface UpdateInternalDocumentsEventOperationOneOf {
5614
+ /** insert/update documents */
5615
+ update?: InternalDocumentUpdateOperation;
5616
+ /** delete by document ids */
5617
+ deleteByIds?: DeleteByIdsOperation;
5618
+ /** delete documents matching filter */
5619
+ deleteByFilter?: DeleteByFilterOperation;
5620
+ /** update internal documents matching filter */
5621
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
5622
+ /** update only existing documents */
5623
+ updateExisting?: InternalUpdateExistingOperation;
5624
+ /** insert/update documents with versioning */
5625
+ versionedUpdate?: VersionedDocumentUpdateOperation;
5626
+ /** delete by document ids with versioning */
5627
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5628
+ }
5629
+ interface InternalDocument {
5630
+ /** document with mandatory fields (id) and with fields specific to the type of the document */
5631
+ document?: Record<string, any> | null;
5632
+ }
5633
+ interface InternalDocumentUpdateOperation {
5634
+ /** documents to index or update */
5635
+ documents?: InternalDocument[];
5636
+ }
5637
+ interface DeleteByIdsOperation {
5638
+ /** ids of the documents to delete */
5639
+ documentIds?: string[];
5640
+ /**
5641
+ * tenant id for custom tenancy strategy
5642
+ * @minLength 2
5643
+ * @maxLength 300
5644
+ */
5645
+ tenantId?: string | null;
5646
+ }
5647
+ interface DeleteByFilterOperation {
5648
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
5649
+ filter?: Record<string, any> | null;
5650
+ /**
5651
+ * tenant id for custom tenancy strategy
5652
+ * @minLength 2
5653
+ * @maxLength 300
5654
+ */
5655
+ tenantId?: string | null;
5656
+ }
5657
+ interface InternalDocumentUpdateByFilterOperation {
5658
+ /** documents matching this filter will be updated */
5659
+ filter?: Record<string, any> | null;
5660
+ /** partial document to apply */
5661
+ document?: InternalDocument;
5662
+ /**
5663
+ * tenant id for custom tenancy strategy
5664
+ * @minLength 2
5665
+ * @maxLength 300
5666
+ */
5667
+ tenantId?: string | null;
5668
+ }
5669
+ interface InternalUpdateExistingOperation {
5670
+ /** documents to update */
5671
+ documents?: InternalDocument[];
5672
+ }
5673
+ interface VersionedDocumentUpdateOperation {
5674
+ /** documents to create or overwrite */
5675
+ documents?: InternalDocument[];
5676
+ /** versioning mode to use instead of default */
5677
+ versioningMode?: VersioningModeWithLiterals;
5678
+ }
5679
+ declare enum VersioningMode {
5680
+ /** use default versioning mode agreed with search team */
5681
+ DEFAULT = "DEFAULT",
5682
+ /** execute only if version is greater than existing */
5683
+ GREATER_THAN = "GREATER_THAN",
5684
+ /** execute only if version is greater or equal to existing */
5685
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
5686
+ }
5687
+ /** @enumType */
5688
+ type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
5689
+ interface VersionedDeleteByIdsOperation {
5690
+ /** ids with version of the documents to delete */
5691
+ documentIds?: VersionedDocumentId[];
5692
+ /**
5693
+ * tenant id for custom tenancy strategy
5694
+ * @minLength 2
5695
+ * @maxLength 300
5696
+ */
5697
+ tenantId?: string | null;
5698
+ }
5699
+ interface VersionedDocumentId {
5700
+ /** document id */
5701
+ documentId?: string;
5702
+ /** document version */
5703
+ version?: string;
5704
+ /** versioning mode to use instead of default */
5705
+ versioningMode?: VersioningModeWithLiterals;
5706
+ }
5707
+ interface TriggerReindexRequest {
5708
+ /** @format GUID */
5709
+ metasiteId?: string;
5710
+ /**
5711
+ * @minLength 1
5712
+ * @maxLength 100
5713
+ * @maxSize 100
5714
+ */
5715
+ orderIds?: string[];
5716
+ }
5717
+ interface TriggerReindexResponse {
5718
+ }
5719
+ interface TriggerReindexOrderRequest {
5720
+ /** @format GUID */
5721
+ metasiteId?: string;
5722
+ /**
5723
+ * @minLength 1
5724
+ * @maxLength 100
5725
+ */
5726
+ orderId?: string;
5727
+ }
5757
5728
  interface DiffmatokyPayload {
5758
5729
  left?: string;
5759
5730
  right?: string;