@wix/auto_sdk_ecom_orders 1.0.207 → 1.0.208

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-D3-Z-bHz.d.ts → ecom-v1-order-orders.universal-CvSMoLJ1.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-D3-Z-bHz.d.mts → ecom-v1-order-orders.universal-CvSMoLJ1.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-DmQnQVc2.d.ts → ecom-v1-order-orders.universal-C82IbNQo.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-DmQnQVc2.d.mts → ecom-v1-order-orders.universal-C82IbNQo.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 { d9 as ImportOrderRequest$1, da as ImportOrderResponse$1, db as SetOrderNumberCounterRequest$1, dc as SetOrderNumberCounterResponse$1, dd as BulkDeleteImportedOrdersRequest$1, de as BulkDeleteImportedOrdersResponse$1, eM as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, eQ as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, eR as RecordManuallyCollectedPaymentRequest$1, eU as RecordManuallyCollectedPaymentResponse$1, eV as MarkOrderAsPaidRequest$1, eW as MarkOrderAsPaidResponse$1, eX as BulkMarkOrdersAsPaidRequest$1, eY as BulkMarkOrdersAsPaidResponse$1, f1 as GetRefundabilityStatusRequest$1, f2 as GetRefundabilityStatusResponse$1, f5 as CreatePaymentGatewayOrderRequest$1, f7 as CreatePaymentGatewayOrderResponse$1, f8 as ChargeMembershipsRequest$1, fc as ChargeMembershipsResponse$1, fd as TriggerRefundRequest$1, fi as TriggerRefundResponse$1, fL as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, fM as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, g3 as GetOrderRequest$1, g4 as GetOrderResponse$1, gg as SearchOrdersRequest$1, S as SearchOrdersResponse$1, gk as CreateOrderRequest$1, go as CreateOrderResponse$1, gp as UpdateOrderRequest$1, gq as UpdateOrderResponse$1, gr as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, gW as UpdateOrderLineItemRequest$1, gX as UpdateOrderLineItemResponse$1, hm as AddActivityRequest$1, hp as AddActivityResponse$1, hq as AddActivitiesRequest$1, m as AddActivitiesResponse$1, hr as UpdateActivityRequest$1, hs as UpdateActivityResponse$1, ht as DeleteActivityRequest$1, hu as DeleteActivityResponse$1, hA as CancelOrderRequest$1, o as CancelOrderResponse$1, hB as UpdateOrderStatusRequest$1, hC as UpdateOrderStatusResponse$1, h_ as AggregateOrdersRequest$1, h$ as AggregateOrdersResponse$1, i3 as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-D3-Z-bHz.mjs';
1
+ import { d9 as ImportOrderRequest$1, da as ImportOrderResponse$1, db as SetOrderNumberCounterRequest$1, dc as SetOrderNumberCounterResponse$1, dd as BulkDeleteImportedOrdersRequest$1, de as BulkDeleteImportedOrdersResponse$1, e_ as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, f2 as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, f3 as RecordManuallyCollectedPaymentRequest$1, f6 as RecordManuallyCollectedPaymentResponse$1, f7 as MarkOrderAsPaidRequest$1, f8 as MarkOrderAsPaidResponse$1, f9 as BulkMarkOrdersAsPaidRequest$1, fa as BulkMarkOrdersAsPaidResponse$1, ff as GetRefundabilityStatusRequest$1, fg as GetRefundabilityStatusResponse$1, fj as CreatePaymentGatewayOrderRequest$1, fl as CreatePaymentGatewayOrderResponse$1, fm as ChargeMembershipsRequest$1, fq as ChargeMembershipsResponse$1, fr as TriggerRefundRequest$1, fw as TriggerRefundResponse$1, fZ as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, f_ as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, g3 as GetOrderRequest$1, g4 as GetOrderResponse$1, gg as SearchOrdersRequest$1, S as SearchOrdersResponse$1, gk as CreateOrderRequest$1, go as CreateOrderResponse$1, gp as UpdateOrderRequest$1, gq as UpdateOrderResponse$1, gr as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, gW as UpdateOrderLineItemRequest$1, gX as UpdateOrderLineItemResponse$1, hm as AddActivityRequest$1, hp as AddActivityResponse$1, hq as AddActivitiesRequest$1, m as AddActivitiesResponse$1, hr as UpdateActivityRequest$1, hs as UpdateActivityResponse$1, ht as DeleteActivityRequest$1, hu as DeleteActivityResponse$1, hA as CancelOrderRequest$1, o as CancelOrderResponse$1, hB as UpdateOrderStatusRequest$1, hC as UpdateOrderStatusResponse$1, h_ as AggregateOrdersRequest$1, h$ as AggregateOrdersResponse$1, i3 as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-CvSMoLJ1.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -3552,6 +3552,164 @@ interface AccountInfo {
3552
3552
  */
3553
3553
  siteId?: string | null;
3554
3554
  }
3555
+ interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
3556
+ /** insert/update documents */
3557
+ update?: InternalDocumentUpdateOperation;
3558
+ /** delete by document ids */
3559
+ deleteByIds?: DeleteByIdsOperation;
3560
+ /** delete documents matching filter */
3561
+ deleteByFilter?: DeleteByFilterOperation;
3562
+ /** update internal documents matching filter */
3563
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
3564
+ /** update only existing documents */
3565
+ updateExisting?: InternalUpdateExistingOperation;
3566
+ /** insert/update documents with versioning */
3567
+ versionedUpdate?: VersionedDocumentUpdateOperation;
3568
+ /** delete by document ids with versioning */
3569
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3570
+ /**
3571
+ * type of the documents
3572
+ * @minLength 2
3573
+ */
3574
+ documentType?: string;
3575
+ /**
3576
+ * language of the documents (mandatory)
3577
+ * @minLength 2
3578
+ */
3579
+ language?: string | null;
3580
+ /**
3581
+ * one or more search documents
3582
+ * @deprecated
3583
+ */
3584
+ addDocuments?: InternalDocument[];
3585
+ /**
3586
+ * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
3587
+ * @deprecated
3588
+ */
3589
+ removeDocumentIds?: string[];
3590
+ /** id to pass to processing notification */
3591
+ correlationId?: string | null;
3592
+ /** when event was created / issued */
3593
+ issuedAt?: Date | null;
3594
+ }
3595
+ /** @oneof */
3596
+ interface UpdateInternalDocumentsEventOperationOneOf {
3597
+ /** insert/update documents */
3598
+ update?: InternalDocumentUpdateOperation;
3599
+ /** delete by document ids */
3600
+ deleteByIds?: DeleteByIdsOperation;
3601
+ /** delete documents matching filter */
3602
+ deleteByFilter?: DeleteByFilterOperation;
3603
+ /** update internal documents matching filter */
3604
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
3605
+ /** update only existing documents */
3606
+ updateExisting?: InternalUpdateExistingOperation;
3607
+ /** insert/update documents with versioning */
3608
+ versionedUpdate?: VersionedDocumentUpdateOperation;
3609
+ /** delete by document ids with versioning */
3610
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3611
+ }
3612
+ interface InternalDocument {
3613
+ /** document with mandatory fields (id) and with fields specific to the type of the document */
3614
+ document?: Record<string, any> | null;
3615
+ }
3616
+ interface InternalDocumentUpdateOperation {
3617
+ /** documents to index or update */
3618
+ documents?: InternalDocument[];
3619
+ }
3620
+ interface DeleteByIdsOperation {
3621
+ /** ids of the documents to delete */
3622
+ documentIds?: string[];
3623
+ /**
3624
+ * tenant id for custom tenancy strategy
3625
+ * @minLength 2
3626
+ * @maxLength 300
3627
+ */
3628
+ tenantId?: string | null;
3629
+ }
3630
+ interface DeleteByFilterOperation {
3631
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
3632
+ filter?: Record<string, any> | null;
3633
+ /**
3634
+ * tenant id for custom tenancy strategy
3635
+ * @minLength 2
3636
+ * @maxLength 300
3637
+ */
3638
+ tenantId?: string | null;
3639
+ }
3640
+ interface InternalDocumentUpdateByFilterOperation {
3641
+ /** documents matching this filter will be updated */
3642
+ filter?: Record<string, any> | null;
3643
+ /** partial document to apply */
3644
+ document?: InternalDocument;
3645
+ /**
3646
+ * tenant id for custom tenancy strategy
3647
+ * @minLength 2
3648
+ * @maxLength 300
3649
+ */
3650
+ tenantId?: string | null;
3651
+ }
3652
+ interface InternalUpdateExistingOperation {
3653
+ /** documents to update */
3654
+ documents?: InternalDocument[];
3655
+ }
3656
+ interface VersionedDocumentUpdateOperation {
3657
+ /** documents to create or overwrite */
3658
+ documents?: InternalDocument[];
3659
+ /** versioning mode to use instead of default */
3660
+ versioningMode?: VersioningModeWithLiterals;
3661
+ }
3662
+ declare enum VersioningMode {
3663
+ /** use default versioning mode agreed with search team */
3664
+ DEFAULT = "DEFAULT",
3665
+ /** execute only if version is greater than existing */
3666
+ GREATER_THAN = "GREATER_THAN",
3667
+ /** execute only if version is greater or equal to existing */
3668
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
3669
+ }
3670
+ /** @enumType */
3671
+ type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
3672
+ interface VersionedDeleteByIdsOperation {
3673
+ /** ids with version of the documents to delete */
3674
+ documentIds?: VersionedDocumentId[];
3675
+ /**
3676
+ * tenant id for custom tenancy strategy
3677
+ * @minLength 2
3678
+ * @maxLength 300
3679
+ */
3680
+ tenantId?: string | null;
3681
+ }
3682
+ interface VersionedDocumentId {
3683
+ /** document id */
3684
+ documentId?: string;
3685
+ /** document version */
3686
+ version?: string;
3687
+ /** versioning mode to use instead of default */
3688
+ versioningMode?: VersioningModeWithLiterals;
3689
+ }
3690
+ interface TriggerReindexRequest {
3691
+ /** @format GUID */
3692
+ metasiteId?: string;
3693
+ /**
3694
+ * @minLength 1
3695
+ * @maxLength 100
3696
+ * @maxSize 100
3697
+ */
3698
+ orderIds?: string[];
3699
+ }
3700
+ interface TriggerReindexResponse {
3701
+ }
3702
+ interface Empty {
3703
+ }
3704
+ interface TriggerReindexOrderRequest {
3705
+ /** @format GUID */
3706
+ metasiteId?: string;
3707
+ /**
3708
+ * @minLength 1
3709
+ * @maxLength 100
3710
+ */
3711
+ orderId?: string;
3712
+ }
3555
3713
  interface SendBuyerConfirmationEmailRequest {
3556
3714
  /** @format GUID */
3557
3715
  orderId?: string;
@@ -3852,8 +4010,6 @@ interface PreviewResendDownloadLinksEmailRequest {
3852
4010
  interface PreviewResendDownloadLinksEmailResponse {
3853
4011
  emailPreview?: string;
3854
4012
  }
3855
- interface Empty {
3856
- }
3857
4013
  interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
3858
4014
  /** Emitted on a meta site creation. */
3859
4015
  siteCreated?: SiteCreated;
@@ -5539,162 +5695,6 @@ interface ChargeSavedPaymentMethodResponse {
5539
5695
  /** Payment gateway's order ID (e.g Wix Payments) */
5540
5696
  paymentGatewayOrderId?: string;
5541
5697
  }
5542
- interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
5543
- /** insert/update documents */
5544
- update?: InternalDocumentUpdateOperation;
5545
- /** delete by document ids */
5546
- deleteByIds?: DeleteByIdsOperation;
5547
- /** delete documents matching filter */
5548
- deleteByFilter?: DeleteByFilterOperation;
5549
- /** update internal documents matching filter */
5550
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
5551
- /** update only existing documents */
5552
- updateExisting?: InternalUpdateExistingOperation;
5553
- /** insert/update documents with versioning */
5554
- versionedUpdate?: VersionedDocumentUpdateOperation;
5555
- /** delete by document ids with versioning */
5556
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5557
- /**
5558
- * type of the documents
5559
- * @minLength 2
5560
- */
5561
- documentType?: string;
5562
- /**
5563
- * language of the documents (mandatory)
5564
- * @minLength 2
5565
- */
5566
- language?: string | null;
5567
- /**
5568
- * one or more search documents
5569
- * @deprecated
5570
- */
5571
- addDocuments?: InternalDocument[];
5572
- /**
5573
- * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
5574
- * @deprecated
5575
- */
5576
- removeDocumentIds?: string[];
5577
- /** id to pass to processing notification */
5578
- correlationId?: string | null;
5579
- /** when event was created / issued */
5580
- issuedAt?: Date | null;
5581
- }
5582
- /** @oneof */
5583
- interface UpdateInternalDocumentsEventOperationOneOf {
5584
- /** insert/update documents */
5585
- update?: InternalDocumentUpdateOperation;
5586
- /** delete by document ids */
5587
- deleteByIds?: DeleteByIdsOperation;
5588
- /** delete documents matching filter */
5589
- deleteByFilter?: DeleteByFilterOperation;
5590
- /** update internal documents matching filter */
5591
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
5592
- /** update only existing documents */
5593
- updateExisting?: InternalUpdateExistingOperation;
5594
- /** insert/update documents with versioning */
5595
- versionedUpdate?: VersionedDocumentUpdateOperation;
5596
- /** delete by document ids with versioning */
5597
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5598
- }
5599
- interface InternalDocument {
5600
- /** document with mandatory fields (id) and with fields specific to the type of the document */
5601
- document?: Record<string, any> | null;
5602
- }
5603
- interface InternalDocumentUpdateOperation {
5604
- /** documents to index or update */
5605
- documents?: InternalDocument[];
5606
- }
5607
- interface DeleteByIdsOperation {
5608
- /** ids of the documents to delete */
5609
- documentIds?: string[];
5610
- /**
5611
- * tenant id for custom tenancy strategy
5612
- * @minLength 2
5613
- * @maxLength 300
5614
- */
5615
- tenantId?: string | null;
5616
- }
5617
- interface DeleteByFilterOperation {
5618
- /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
5619
- filter?: Record<string, any> | null;
5620
- /**
5621
- * tenant id for custom tenancy strategy
5622
- * @minLength 2
5623
- * @maxLength 300
5624
- */
5625
- tenantId?: string | null;
5626
- }
5627
- interface InternalDocumentUpdateByFilterOperation {
5628
- /** documents matching this filter will be updated */
5629
- filter?: Record<string, any> | null;
5630
- /** partial document to apply */
5631
- document?: InternalDocument;
5632
- /**
5633
- * tenant id for custom tenancy strategy
5634
- * @minLength 2
5635
- * @maxLength 300
5636
- */
5637
- tenantId?: string | null;
5638
- }
5639
- interface InternalUpdateExistingOperation {
5640
- /** documents to update */
5641
- documents?: InternalDocument[];
5642
- }
5643
- interface VersionedDocumentUpdateOperation {
5644
- /** documents to create or overwrite */
5645
- documents?: InternalDocument[];
5646
- /** versioning mode to use instead of default */
5647
- versioningMode?: VersioningModeWithLiterals;
5648
- }
5649
- declare enum VersioningMode {
5650
- /** use default versioning mode agreed with search team */
5651
- DEFAULT = "DEFAULT",
5652
- /** execute only if version is greater than existing */
5653
- GREATER_THAN = "GREATER_THAN",
5654
- /** execute only if version is greater or equal to existing */
5655
- GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
5656
- }
5657
- /** @enumType */
5658
- type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
5659
- interface VersionedDeleteByIdsOperation {
5660
- /** ids with version of the documents to delete */
5661
- documentIds?: VersionedDocumentId[];
5662
- /**
5663
- * tenant id for custom tenancy strategy
5664
- * @minLength 2
5665
- * @maxLength 300
5666
- */
5667
- tenantId?: string | null;
5668
- }
5669
- interface VersionedDocumentId {
5670
- /** document id */
5671
- documentId?: string;
5672
- /** document version */
5673
- version?: string;
5674
- /** versioning mode to use instead of default */
5675
- versioningMode?: VersioningModeWithLiterals;
5676
- }
5677
- interface TriggerReindexRequest {
5678
- /** @format GUID */
5679
- metasiteId?: string;
5680
- /**
5681
- * @minLength 1
5682
- * @maxLength 100
5683
- * @maxSize 100
5684
- */
5685
- orderIds?: string[];
5686
- }
5687
- interface TriggerReindexResponse {
5688
- }
5689
- interface TriggerReindexOrderRequest {
5690
- /** @format GUID */
5691
- metasiteId?: string;
5692
- /**
5693
- * @minLength 1
5694
- * @maxLength 100
5695
- */
5696
- orderId?: string;
5697
- }
5698
5698
  interface DiffmatokyPayload {
5699
5699
  left?: string;
5700
5700
  right?: string;
package/build/es/meta.mjs CHANGED
@@ -1943,6 +1943,12 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1943
1943
  WebhookIdentityType2["APP"] = "APP";
1944
1944
  return WebhookIdentityType2;
1945
1945
  })(WebhookIdentityType || {});
1946
+ var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
1947
+ VersioningMode2["DEFAULT"] = "DEFAULT";
1948
+ VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
1949
+ VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
1950
+ return VersioningMode2;
1951
+ })(VersioningMode || {});
1946
1952
  var PreviewEmailType = /* @__PURE__ */ ((PreviewEmailType2) => {
1947
1953
  PreviewEmailType2["ORDER_PLACED"] = "ORDER_PLACED";
1948
1954
  PreviewEmailType2["DOWNLOAD_LINKS"] = "DOWNLOAD_LINKS";
@@ -2139,12 +2145,6 @@ var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
2139
2145
  RefundStatus2["STARTED"] = "STARTED";
2140
2146
  return RefundStatus2;
2141
2147
  })(RefundStatus || {});
2142
- var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
2143
- VersioningMode2["DEFAULT"] = "DEFAULT";
2144
- VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
2145
- VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
2146
- return VersioningMode2;
2147
- })(VersioningMode || {});
2148
2148
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
2149
2149
  SortOrder2["ASC"] = "ASC";
2150
2150
  SortOrder2["DESC"] = "DESC";