@wix/auto_sdk_ecom_orders 1.0.219 → 1.0.220

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-BjvDnQO1.d.ts} +159 -159
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +6 -6
  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 -6
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +159 -159
  9. package/build/cjs/meta.js +6 -6
  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-BjvDnQO1.d.mts} +159 -159
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs +6 -6
  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 -6
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +159 -159
  19. package/build/es/meta.mjs +6 -6
  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-lXc4bLyX.d.ts} +159 -159
  22. package/build/internal/cjs/index.d.ts +2 -2
  23. package/build/internal/cjs/index.js +6 -6
  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 -6
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +159 -159
  29. package/build/internal/cjs/meta.js +6 -6
  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-lXc4bLyX.d.mts} +159 -159
  32. package/build/internal/es/index.d.mts +2 -2
  33. package/build/internal/es/index.mjs +6 -6
  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 -6
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +159 -159
  39. package/build/internal/es/meta.mjs +6 -6
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { dM as ImportOrderRequest$1, I as ImportOrderResponse$1, dN as SetOrderNumberCounterRequest$1, a as SetOrderNumberCounterResponse$1, dO as BulkDeleteImportedOrdersRequest$1, b as BulkDeleteImportedOrdersResponse$1, fx as PreparePaymentCollectionRequest$1, d as PreparePaymentCollectionResponse$1, fB as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, fC as RecordManuallyCollectedPaymentRequest$1, fF as RecordManuallyCollectedPaymentResponse$1, fG as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, fH as BulkMarkOrdersAsPaidRequest$1, i as BulkMarkOrdersAsPaidResponse$1, fM as GetRefundabilityStatusRequest$1, j as GetRefundabilityStatusResponse$1, fP as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, fR as ChargeMembershipsRequest$1, fV as ChargeMembershipsResponse$1, fW as TriggerRefundRequest$1, o as TriggerRefundResponse$1, gr as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, gs as CaptureAuthorizedPaymentsRequest$1, s as CaptureAuthorizedPaymentsResponse$1, gx as GetOrderRequest$1, gy as GetOrderResponse$1, gK as SearchOrdersRequest$1, w as SearchOrdersResponse$1, gO as CreateOrderRequest$1, gS as CreateOrderResponse$1, gT as UpdateOrderRequest$1, gU as UpdateOrderResponse$1, gV as BulkUpdateOrdersRequest$1, E as BulkUpdateOrdersResponse$1, ho as UpdateOrderLineItemRequest$1, J as UpdateOrderLineItemResponse$1, hP as AddActivityRequest$1, L as AddActivityResponse$1, hR as AddActivitiesRequest$1, Q as AddActivitiesResponse$1, hS as UpdateActivityRequest$1, X as UpdateActivityResponse$1, hT as DeleteActivityRequest$1, Z as DeleteActivityResponse$1, hZ as CancelOrderRequest$1, $ as CancelOrderResponse$1, h_ as UpdateOrderStatusRequest$1, a2 as UpdateOrderStatusResponse$1, io as AggregateOrdersRequest$1, a5 as AggregateOrdersResponse$1, is as BulkUpdateOrderTagsRequest$1, a7 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-BpdIFm1L.mjs';
1
+ import { dM as ImportOrderRequest$1, I as ImportOrderResponse$1, dN as SetOrderNumberCounterRequest$1, a as SetOrderNumberCounterResponse$1, dO as BulkDeleteImportedOrdersRequest$1, b as BulkDeleteImportedOrdersResponse$1, fj as PreparePaymentCollectionRequest$1, d as PreparePaymentCollectionResponse$1, fn as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, fo as RecordManuallyCollectedPaymentRequest$1, fr as RecordManuallyCollectedPaymentResponse$1, fs as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, ft as BulkMarkOrdersAsPaidRequest$1, i as BulkMarkOrdersAsPaidResponse$1, fy as GetRefundabilityStatusRequest$1, j as GetRefundabilityStatusResponse$1, fB as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, fD as ChargeMembershipsRequest$1, fH as ChargeMembershipsResponse$1, fI as TriggerRefundRequest$1, o as TriggerRefundResponse$1, gd as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, ge as CaptureAuthorizedPaymentsRequest$1, s as CaptureAuthorizedPaymentsResponse$1, gx as GetOrderRequest$1, gy as GetOrderResponse$1, gK as SearchOrdersRequest$1, w as SearchOrdersResponse$1, gO as CreateOrderRequest$1, gS as CreateOrderResponse$1, gT as UpdateOrderRequest$1, gU as UpdateOrderResponse$1, gV as BulkUpdateOrdersRequest$1, E as BulkUpdateOrdersResponse$1, ho as UpdateOrderLineItemRequest$1, J as UpdateOrderLineItemResponse$1, hP as AddActivityRequest$1, L as AddActivityResponse$1, hR as AddActivitiesRequest$1, Q as AddActivitiesResponse$1, hS as UpdateActivityRequest$1, X as UpdateActivityResponse$1, hT as DeleteActivityRequest$1, Z as DeleteActivityResponse$1, hZ as CancelOrderRequest$1, $ as CancelOrderResponse$1, h_ as UpdateOrderStatusRequest$1, a2 as UpdateOrderStatusResponse$1, io as AggregateOrdersRequest$1, a5 as AggregateOrdersResponse$1, is as BulkUpdateOrderTagsRequest$1, a7 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-lXc4bLyX.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -3600,164 +3600,6 @@ interface AccountInfo {
3600
3600
  */
3601
3601
  siteId?: string | null;
3602
3602
  }
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
3603
  interface SendBuyerConfirmationEmailRequest {
3762
3604
  /** @format GUID */
3763
3605
  orderId?: string;
@@ -4058,6 +3900,8 @@ interface PreviewResendDownloadLinksEmailRequest {
4058
3900
  interface PreviewResendDownloadLinksEmailResponse {
4059
3901
  emailPreview?: string;
4060
3902
  }
3903
+ interface Empty {
3904
+ }
4061
3905
  interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
4062
3906
  /** Emitted on a meta site creation. */
4063
3907
  siteCreated?: SiteCreated;
@@ -5754,6 +5598,162 @@ interface ChargeSavedPaymentMethodResponse {
5754
5598
  /** Payment gateway's order ID (e.g Wix Payments) */
5755
5599
  paymentGatewayOrderId?: string;
5756
5600
  }
5601
+ interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
5602
+ /** insert/update documents */
5603
+ update?: InternalDocumentUpdateOperation;
5604
+ /** delete by document ids */
5605
+ deleteByIds?: DeleteByIdsOperation;
5606
+ /** delete documents matching filter */
5607
+ deleteByFilter?: DeleteByFilterOperation;
5608
+ /** update internal documents matching filter */
5609
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
5610
+ /** update only existing documents */
5611
+ updateExisting?: InternalUpdateExistingOperation;
5612
+ /** insert/update documents with versioning */
5613
+ versionedUpdate?: VersionedDocumentUpdateOperation;
5614
+ /** delete by document ids with versioning */
5615
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5616
+ /**
5617
+ * type of the documents
5618
+ * @minLength 2
5619
+ */
5620
+ documentType?: string;
5621
+ /**
5622
+ * language of the documents (mandatory)
5623
+ * @minLength 2
5624
+ */
5625
+ language?: string | null;
5626
+ /**
5627
+ * one or more search documents
5628
+ * @deprecated
5629
+ */
5630
+ addDocuments?: InternalDocument[];
5631
+ /**
5632
+ * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
5633
+ * @deprecated
5634
+ */
5635
+ removeDocumentIds?: string[];
5636
+ /** id to pass to processing notification */
5637
+ correlationId?: string | null;
5638
+ /** when event was created / issued */
5639
+ issuedAt?: Date | null;
5640
+ }
5641
+ /** @oneof */
5642
+ interface UpdateInternalDocumentsEventOperationOneOf {
5643
+ /** insert/update documents */
5644
+ update?: InternalDocumentUpdateOperation;
5645
+ /** delete by document ids */
5646
+ deleteByIds?: DeleteByIdsOperation;
5647
+ /** delete documents matching filter */
5648
+ deleteByFilter?: DeleteByFilterOperation;
5649
+ /** update internal documents matching filter */
5650
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
5651
+ /** update only existing documents */
5652
+ updateExisting?: InternalUpdateExistingOperation;
5653
+ /** insert/update documents with versioning */
5654
+ versionedUpdate?: VersionedDocumentUpdateOperation;
5655
+ /** delete by document ids with versioning */
5656
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5657
+ }
5658
+ interface InternalDocument {
5659
+ /** document with mandatory fields (id) and with fields specific to the type of the document */
5660
+ document?: Record<string, any> | null;
5661
+ }
5662
+ interface InternalDocumentUpdateOperation {
5663
+ /** documents to index or update */
5664
+ documents?: InternalDocument[];
5665
+ }
5666
+ interface DeleteByIdsOperation {
5667
+ /** ids of the documents to delete */
5668
+ documentIds?: string[];
5669
+ /**
5670
+ * tenant id for custom tenancy strategy
5671
+ * @minLength 2
5672
+ * @maxLength 300
5673
+ */
5674
+ tenantId?: string | null;
5675
+ }
5676
+ interface DeleteByFilterOperation {
5677
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
5678
+ filter?: Record<string, any> | null;
5679
+ /**
5680
+ * tenant id for custom tenancy strategy
5681
+ * @minLength 2
5682
+ * @maxLength 300
5683
+ */
5684
+ tenantId?: string | null;
5685
+ }
5686
+ interface InternalDocumentUpdateByFilterOperation {
5687
+ /** documents matching this filter will be updated */
5688
+ filter?: Record<string, any> | null;
5689
+ /** partial document to apply */
5690
+ document?: InternalDocument;
5691
+ /**
5692
+ * tenant id for custom tenancy strategy
5693
+ * @minLength 2
5694
+ * @maxLength 300
5695
+ */
5696
+ tenantId?: string | null;
5697
+ }
5698
+ interface InternalUpdateExistingOperation {
5699
+ /** documents to update */
5700
+ documents?: InternalDocument[];
5701
+ }
5702
+ interface VersionedDocumentUpdateOperation {
5703
+ /** documents to create or overwrite */
5704
+ documents?: InternalDocument[];
5705
+ /** versioning mode to use instead of default */
5706
+ versioningMode?: VersioningModeWithLiterals;
5707
+ }
5708
+ declare enum VersioningMode {
5709
+ /** use default versioning mode agreed with search team */
5710
+ DEFAULT = "DEFAULT",
5711
+ /** execute only if version is greater than existing */
5712
+ GREATER_THAN = "GREATER_THAN",
5713
+ /** execute only if version is greater or equal to existing */
5714
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
5715
+ }
5716
+ /** @enumType */
5717
+ type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
5718
+ interface VersionedDeleteByIdsOperation {
5719
+ /** ids with version of the documents to delete */
5720
+ documentIds?: VersionedDocumentId[];
5721
+ /**
5722
+ * tenant id for custom tenancy strategy
5723
+ * @minLength 2
5724
+ * @maxLength 300
5725
+ */
5726
+ tenantId?: string | null;
5727
+ }
5728
+ interface VersionedDocumentId {
5729
+ /** document id */
5730
+ documentId?: string;
5731
+ /** document version */
5732
+ version?: string;
5733
+ /** versioning mode to use instead of default */
5734
+ versioningMode?: VersioningModeWithLiterals;
5735
+ }
5736
+ interface TriggerReindexRequest {
5737
+ /** @format GUID */
5738
+ metasiteId?: string;
5739
+ /**
5740
+ * @minLength 1
5741
+ * @maxLength 100
5742
+ * @maxSize 100
5743
+ */
5744
+ orderIds?: string[];
5745
+ }
5746
+ interface TriggerReindexResponse {
5747
+ }
5748
+ interface TriggerReindexOrderRequest {
5749
+ /** @format GUID */
5750
+ metasiteId?: string;
5751
+ /**
5752
+ * @minLength 1
5753
+ * @maxLength 100
5754
+ */
5755
+ orderId?: string;
5756
+ }
5757
5757
  interface DiffmatokyPayload {
5758
5758
  left?: string;
5759
5759
  right?: string;
@@ -1950,12 +1950,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1950
1950
  WebhookIdentityType2["APP"] = "APP";
1951
1951
  return WebhookIdentityType2;
1952
1952
  })(WebhookIdentityType || {});
1953
- var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
1954
- VersioningMode2["DEFAULT"] = "DEFAULT";
1955
- VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
1956
- VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
1957
- return VersioningMode2;
1958
- })(VersioningMode || {});
1959
1953
  var PreviewEmailType = /* @__PURE__ */ ((PreviewEmailType2) => {
1960
1954
  PreviewEmailType2["ORDER_PLACED"] = "ORDER_PLACED";
1961
1955
  PreviewEmailType2["DOWNLOAD_LINKS"] = "DOWNLOAD_LINKS";
@@ -2158,6 +2152,12 @@ var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
2158
2152
  RefundStatus2["STARTED"] = "STARTED";
2159
2153
  return RefundStatus2;
2160
2154
  })(RefundStatus || {});
2155
+ var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
2156
+ VersioningMode2["DEFAULT"] = "DEFAULT";
2157
+ VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
2158
+ VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
2159
+ return VersioningMode2;
2160
+ })(VersioningMode || {});
2161
2161
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
2162
2162
  SortOrder2["ASC"] = "ASC";
2163
2163
  SortOrder2["DESC"] = "DESC";