@wix/auto_sdk_ecom_orders 1.0.230 → 1.0.232

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-D6FY2-Jb.d.ts → ecom-v1-order-orders.universal-BNlrrHuJ.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-D6FY2-Jb.d.mts → ecom-v1-order-orders.universal-BNlrrHuJ.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-D_Il2zf_.d.ts → ecom-v1-order-orders.universal-CRMpNFbE.d.ts} +159 -167
  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-D_Il2zf_.d.mts → ecom-v1-order-orders.universal-CRMpNFbE.d.mts} +159 -167
  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 { de as ImportOrderRequest$1, df as ImportOrderResponse$1, dg as SetOrderNumberCounterRequest$1, dh as SetOrderNumberCounterResponse$1, di as BulkDeleteImportedOrdersRequest$1, dj as BulkDeleteImportedOrdersResponse$1, f3 as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, f7 as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, f8 as RecordManuallyCollectedPaymentRequest$1, fb as RecordManuallyCollectedPaymentResponse$1, fc as MarkOrderAsPaidRequest$1, fd as MarkOrderAsPaidResponse$1, fe as BulkMarkOrdersAsPaidRequest$1, ff as BulkMarkOrdersAsPaidResponse$1, fk as GetRefundabilityStatusRequest$1, fl as GetRefundabilityStatusResponse$1, fo as CreatePaymentGatewayOrderRequest$1, fq as CreatePaymentGatewayOrderResponse$1, fr as ChargeMembershipsRequest$1, fv as ChargeMembershipsResponse$1, fw as TriggerRefundRequest$1, fB as TriggerRefundResponse$1, g3 as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, g4 as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, g9 as GetOrderRequest$1, ga as GetOrderResponse$1, gm as SearchOrdersRequest$1, S as SearchOrdersResponse$1, gq as CreateOrderRequest$1, gu as CreateOrderResponse$1, gv as UpdateOrderRequest$1, gw as UpdateOrderResponse$1, gx as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, h0 as UpdateOrderLineItemRequest$1, h1 as UpdateOrderLineItemResponse$1, hs as AddActivityRequest$1, hv as AddActivityResponse$1, hw as AddActivitiesRequest$1, m as AddActivitiesResponse$1, hx as UpdateActivityRequest$1, hy as UpdateActivityResponse$1, hz as DeleteActivityRequest$1, hA as DeleteActivityResponse$1, hG as CancelOrderRequest$1, o as CancelOrderResponse$1, hH as UpdateOrderStatusRequest$1, hI as UpdateOrderStatusResponse$1, i4 as AggregateOrdersRequest$1, i5 as AggregateOrdersResponse$1, i9 as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-D6FY2-Jb.js';
1
+ import { de as ImportOrderRequest$1, df as ImportOrderResponse$1, dg as SetOrderNumberCounterRequest$1, dh as SetOrderNumberCounterResponse$1, di as BulkDeleteImportedOrdersRequest$1, dj as BulkDeleteImportedOrdersResponse$1, eR as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, eV as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, eW as RecordManuallyCollectedPaymentRequest$1, eZ as RecordManuallyCollectedPaymentResponse$1, e_ as MarkOrderAsPaidRequest$1, e$ as MarkOrderAsPaidResponse$1, f0 as BulkMarkOrdersAsPaidRequest$1, f1 as BulkMarkOrdersAsPaidResponse$1, f6 as GetRefundabilityStatusRequest$1, f7 as GetRefundabilityStatusResponse$1, fa as CreatePaymentGatewayOrderRequest$1, fc as CreatePaymentGatewayOrderResponse$1, fd as ChargeMembershipsRequest$1, fh as ChargeMembershipsResponse$1, fi as TriggerRefundRequest$1, fn as TriggerRefundResponse$1, fR as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, fS as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, g9 as GetOrderRequest$1, ga as GetOrderResponse$1, gm as SearchOrdersRequest$1, S as SearchOrdersResponse$1, gq as CreateOrderRequest$1, gu as CreateOrderResponse$1, gv as UpdateOrderRequest$1, gw as UpdateOrderResponse$1, gx as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, h0 as UpdateOrderLineItemRequest$1, h1 as UpdateOrderLineItemResponse$1, hs as AddActivityRequest$1, hv as AddActivityResponse$1, hw as AddActivitiesRequest$1, m as AddActivitiesResponse$1, hx as UpdateActivityRequest$1, hy as UpdateActivityResponse$1, hz as DeleteActivityRequest$1, hA as DeleteActivityResponse$1, hG as CancelOrderRequest$1, o as CancelOrderResponse$1, hH as UpdateOrderStatusRequest$1, hI as UpdateOrderStatusResponse$1, i4 as AggregateOrdersRequest$1, i5 as AggregateOrdersResponse$1, i9 as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-BNlrrHuJ.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -3581,164 +3581,6 @@ interface AccountInfo {
3581
3581
  */
3582
3582
  siteId?: string | null;
3583
3583
  }
3584
- interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
3585
- /** insert/update documents */
3586
- update?: InternalDocumentUpdateOperation;
3587
- /** delete by document ids */
3588
- deleteByIds?: DeleteByIdsOperation;
3589
- /** delete documents matching filter */
3590
- deleteByFilter?: DeleteByFilterOperation;
3591
- /** update internal documents matching filter */
3592
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
3593
- /** update only existing documents */
3594
- updateExisting?: InternalUpdateExistingOperation;
3595
- /** insert/update documents with versioning */
3596
- versionedUpdate?: VersionedDocumentUpdateOperation;
3597
- /** delete by document ids with versioning */
3598
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3599
- /**
3600
- * type of the documents
3601
- * @minLength 2
3602
- */
3603
- documentType?: string;
3604
- /**
3605
- * language of the documents (mandatory)
3606
- * @minLength 2
3607
- */
3608
- language?: string | null;
3609
- /**
3610
- * one or more search documents
3611
- * @deprecated
3612
- */
3613
- addDocuments?: InternalDocument[];
3614
- /**
3615
- * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
3616
- * @deprecated
3617
- */
3618
- removeDocumentIds?: string[];
3619
- /** id to pass to processing notification */
3620
- correlationId?: string | null;
3621
- /** when event was created / issued */
3622
- issuedAt?: Date | null;
3623
- }
3624
- /** @oneof */
3625
- interface UpdateInternalDocumentsEventOperationOneOf {
3626
- /** insert/update documents */
3627
- update?: InternalDocumentUpdateOperation;
3628
- /** delete by document ids */
3629
- deleteByIds?: DeleteByIdsOperation;
3630
- /** delete documents matching filter */
3631
- deleteByFilter?: DeleteByFilterOperation;
3632
- /** update internal documents matching filter */
3633
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
3634
- /** update only existing documents */
3635
- updateExisting?: InternalUpdateExistingOperation;
3636
- /** insert/update documents with versioning */
3637
- versionedUpdate?: VersionedDocumentUpdateOperation;
3638
- /** delete by document ids with versioning */
3639
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3640
- }
3641
- interface InternalDocument {
3642
- /** document with mandatory fields (id) and with fields specific to the type of the document */
3643
- document?: Record<string, any> | null;
3644
- }
3645
- interface InternalDocumentUpdateOperation {
3646
- /** documents to index or update */
3647
- documents?: InternalDocument[];
3648
- }
3649
- interface DeleteByIdsOperation {
3650
- /** ids of the documents to delete */
3651
- documentIds?: string[];
3652
- /**
3653
- * tenant id for custom tenancy strategy
3654
- * @minLength 2
3655
- * @maxLength 300
3656
- */
3657
- tenantId?: string | null;
3658
- }
3659
- interface DeleteByFilterOperation {
3660
- /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
3661
- filter?: Record<string, any> | null;
3662
- /**
3663
- * tenant id for custom tenancy strategy
3664
- * @minLength 2
3665
- * @maxLength 300
3666
- */
3667
- tenantId?: string | null;
3668
- }
3669
- interface InternalDocumentUpdateByFilterOperation {
3670
- /** documents matching this filter will be updated */
3671
- filter?: Record<string, any> | null;
3672
- /** partial document to apply */
3673
- document?: InternalDocument;
3674
- /**
3675
- * tenant id for custom tenancy strategy
3676
- * @minLength 2
3677
- * @maxLength 300
3678
- */
3679
- tenantId?: string | null;
3680
- }
3681
- interface InternalUpdateExistingOperation {
3682
- /** documents to update */
3683
- documents?: InternalDocument[];
3684
- }
3685
- interface VersionedDocumentUpdateOperation {
3686
- /** documents to create or overwrite */
3687
- documents?: InternalDocument[];
3688
- /** versioning mode to use instead of default */
3689
- versioningMode?: VersioningModeWithLiterals;
3690
- }
3691
- declare enum VersioningMode {
3692
- /** use default versioning mode agreed with search team */
3693
- DEFAULT = "DEFAULT",
3694
- /** execute only if version is greater than existing */
3695
- GREATER_THAN = "GREATER_THAN",
3696
- /** execute only if version is greater or equal to existing */
3697
- GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
3698
- }
3699
- /** @enumType */
3700
- type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
3701
- interface VersionedDeleteByIdsOperation {
3702
- /** ids with version of the documents to delete */
3703
- documentIds?: VersionedDocumentId[];
3704
- /**
3705
- * tenant id for custom tenancy strategy
3706
- * @minLength 2
3707
- * @maxLength 300
3708
- */
3709
- tenantId?: string | null;
3710
- }
3711
- interface VersionedDocumentId {
3712
- /** document id */
3713
- documentId?: string;
3714
- /** document version */
3715
- version?: string;
3716
- /** versioning mode to use instead of default */
3717
- versioningMode?: VersioningModeWithLiterals;
3718
- }
3719
- interface TriggerReindexRequest {
3720
- /** @format GUID */
3721
- metasiteId?: string;
3722
- /**
3723
- * @minLength 1
3724
- * @maxLength 100
3725
- * @maxSize 100
3726
- */
3727
- orderIds?: string[];
3728
- }
3729
- interface TriggerReindexResponse {
3730
- }
3731
- interface Empty {
3732
- }
3733
- interface TriggerReindexOrderRequest {
3734
- /** @format GUID */
3735
- metasiteId?: string;
3736
- /**
3737
- * @minLength 1
3738
- * @maxLength 100
3739
- */
3740
- orderId?: string;
3741
- }
3742
3584
  interface SendBuyerConfirmationEmailRequest {
3743
3585
  /** @format GUID */
3744
3586
  orderId?: string;
@@ -4039,6 +3881,8 @@ interface PreviewResendDownloadLinksEmailRequest {
4039
3881
  interface PreviewResendDownloadLinksEmailResponse {
4040
3882
  emailPreview?: string;
4041
3883
  }
3884
+ interface Empty {
3885
+ }
4042
3886
  interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
4043
3887
  /** Emitted on a meta site creation. */
4044
3888
  siteCreated?: SiteCreated;
@@ -5738,6 +5582,162 @@ interface ChargeSavedPaymentMethodResponse {
5738
5582
  /** Payment gateway's order ID (e.g Wix Payments) */
5739
5583
  paymentGatewayOrderId?: string;
5740
5584
  }
5585
+ interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
5586
+ /** insert/update documents */
5587
+ update?: InternalDocumentUpdateOperation;
5588
+ /** delete by document ids */
5589
+ deleteByIds?: DeleteByIdsOperation;
5590
+ /** delete documents matching filter */
5591
+ deleteByFilter?: DeleteByFilterOperation;
5592
+ /** update internal documents matching filter */
5593
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
5594
+ /** update only existing documents */
5595
+ updateExisting?: InternalUpdateExistingOperation;
5596
+ /** insert/update documents with versioning */
5597
+ versionedUpdate?: VersionedDocumentUpdateOperation;
5598
+ /** delete by document ids with versioning */
5599
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5600
+ /**
5601
+ * type of the documents
5602
+ * @minLength 2
5603
+ */
5604
+ documentType?: string;
5605
+ /**
5606
+ * language of the documents (mandatory)
5607
+ * @minLength 2
5608
+ */
5609
+ language?: string | null;
5610
+ /**
5611
+ * one or more search documents
5612
+ * @deprecated
5613
+ */
5614
+ addDocuments?: InternalDocument[];
5615
+ /**
5616
+ * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
5617
+ * @deprecated
5618
+ */
5619
+ removeDocumentIds?: string[];
5620
+ /** id to pass to processing notification */
5621
+ correlationId?: string | null;
5622
+ /** when event was created / issued */
5623
+ issuedAt?: Date | null;
5624
+ }
5625
+ /** @oneof */
5626
+ interface UpdateInternalDocumentsEventOperationOneOf {
5627
+ /** insert/update documents */
5628
+ update?: InternalDocumentUpdateOperation;
5629
+ /** delete by document ids */
5630
+ deleteByIds?: DeleteByIdsOperation;
5631
+ /** delete documents matching filter */
5632
+ deleteByFilter?: DeleteByFilterOperation;
5633
+ /** update internal documents matching filter */
5634
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
5635
+ /** update only existing documents */
5636
+ updateExisting?: InternalUpdateExistingOperation;
5637
+ /** insert/update documents with versioning */
5638
+ versionedUpdate?: VersionedDocumentUpdateOperation;
5639
+ /** delete by document ids with versioning */
5640
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5641
+ }
5642
+ interface InternalDocument {
5643
+ /** document with mandatory fields (id) and with fields specific to the type of the document */
5644
+ document?: Record<string, any> | null;
5645
+ }
5646
+ interface InternalDocumentUpdateOperation {
5647
+ /** documents to index or update */
5648
+ documents?: InternalDocument[];
5649
+ }
5650
+ interface DeleteByIdsOperation {
5651
+ /** ids of the documents to delete */
5652
+ documentIds?: string[];
5653
+ /**
5654
+ * tenant id for custom tenancy strategy
5655
+ * @minLength 2
5656
+ * @maxLength 300
5657
+ */
5658
+ tenantId?: string | null;
5659
+ }
5660
+ interface DeleteByFilterOperation {
5661
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
5662
+ filter?: Record<string, any> | null;
5663
+ /**
5664
+ * tenant id for custom tenancy strategy
5665
+ * @minLength 2
5666
+ * @maxLength 300
5667
+ */
5668
+ tenantId?: string | null;
5669
+ }
5670
+ interface InternalDocumentUpdateByFilterOperation {
5671
+ /** documents matching this filter will be updated */
5672
+ filter?: Record<string, any> | null;
5673
+ /** partial document to apply */
5674
+ document?: InternalDocument;
5675
+ /**
5676
+ * tenant id for custom tenancy strategy
5677
+ * @minLength 2
5678
+ * @maxLength 300
5679
+ */
5680
+ tenantId?: string | null;
5681
+ }
5682
+ interface InternalUpdateExistingOperation {
5683
+ /** documents to update */
5684
+ documents?: InternalDocument[];
5685
+ }
5686
+ interface VersionedDocumentUpdateOperation {
5687
+ /** documents to create or overwrite */
5688
+ documents?: InternalDocument[];
5689
+ /** versioning mode to use instead of default */
5690
+ versioningMode?: VersioningModeWithLiterals;
5691
+ }
5692
+ declare enum VersioningMode {
5693
+ /** use default versioning mode agreed with search team */
5694
+ DEFAULT = "DEFAULT",
5695
+ /** execute only if version is greater than existing */
5696
+ GREATER_THAN = "GREATER_THAN",
5697
+ /** execute only if version is greater or equal to existing */
5698
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
5699
+ }
5700
+ /** @enumType */
5701
+ type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
5702
+ interface VersionedDeleteByIdsOperation {
5703
+ /** ids with version of the documents to delete */
5704
+ documentIds?: VersionedDocumentId[];
5705
+ /**
5706
+ * tenant id for custom tenancy strategy
5707
+ * @minLength 2
5708
+ * @maxLength 300
5709
+ */
5710
+ tenantId?: string | null;
5711
+ }
5712
+ interface VersionedDocumentId {
5713
+ /** document id */
5714
+ documentId?: string;
5715
+ /** document version */
5716
+ version?: string;
5717
+ /** versioning mode to use instead of default */
5718
+ versioningMode?: VersioningModeWithLiterals;
5719
+ }
5720
+ interface TriggerReindexRequest {
5721
+ /** @format GUID */
5722
+ metasiteId?: string;
5723
+ /**
5724
+ * @minLength 1
5725
+ * @maxLength 100
5726
+ * @maxSize 100
5727
+ */
5728
+ orderIds?: string[];
5729
+ }
5730
+ interface TriggerReindexResponse {
5731
+ }
5732
+ interface TriggerReindexOrderRequest {
5733
+ /** @format GUID */
5734
+ metasiteId?: string;
5735
+ /**
5736
+ * @minLength 1
5737
+ * @maxLength 100
5738
+ */
5739
+ orderId?: string;
5740
+ }
5741
5741
  interface DiffmatokyPayload {
5742
5742
  left?: string;
5743
5743
  right?: string;
package/build/cjs/meta.js CHANGED
@@ -2052,12 +2052,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
2052
2052
  WebhookIdentityType2["APP"] = "APP";
2053
2053
  return WebhookIdentityType2;
2054
2054
  })(WebhookIdentityType || {});
2055
- var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
2056
- VersioningMode2["DEFAULT"] = "DEFAULT";
2057
- VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
2058
- VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
2059
- return VersioningMode2;
2060
- })(VersioningMode || {});
2061
2055
  var PreviewEmailType = /* @__PURE__ */ ((PreviewEmailType2) => {
2062
2056
  PreviewEmailType2["ORDER_PLACED"] = "ORDER_PLACED";
2063
2057
  PreviewEmailType2["DOWNLOAD_LINKS"] = "DOWNLOAD_LINKS";
@@ -2263,6 +2257,12 @@ var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
2263
2257
  RefundStatus2["STARTED"] = "STARTED";
2264
2258
  return RefundStatus2;
2265
2259
  })(RefundStatus || {});
2260
+ var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
2261
+ VersioningMode2["DEFAULT"] = "DEFAULT";
2262
+ VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
2263
+ VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
2264
+ return VersioningMode2;
2265
+ })(VersioningMode || {});
2266
2266
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
2267
2267
  SortOrder2["ASC"] = "ASC";
2268
2268
  SortOrder2["DESC"] = "DESC";