@wix/auto_sdk_ecom_orders 1.0.203 → 1.0.204

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-DSULx1Ok.d.ts → ecom-v1-order-orders.universal-CMjUSZqJ.d.ts} +169 -159
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +14 -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 +14 -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-DSULx1Ok.d.mts → ecom-v1-order-orders.universal-CMjUSZqJ.d.mts} +169 -159
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs +13 -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 +13 -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-UPGSG2Qx.d.ts → ecom-v1-order-orders.universal-CWkqp_xf.d.ts} +169 -159
  22. package/build/internal/cjs/index.d.ts +2 -2
  23. package/build/internal/cjs/index.js +14 -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 +14 -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-UPGSG2Qx.d.mts → ecom-v1-order-orders.universal-CWkqp_xf.d.mts} +169 -159
  32. package/build/internal/es/index.d.mts +2 -2
  33. package/build/internal/es/index.mjs +13 -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 +13 -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 +4 -4
@@ -1,4 +1,4 @@
1
- import { dI as ImportOrderRequest$1, I as ImportOrderResponse$1, dJ as SetOrderNumberCounterRequest$1, a as SetOrderNumberCounterResponse$1, dK as BulkDeleteImportedOrdersRequest$1, b as BulkDeleteImportedOrdersResponse$1, fp as PreparePaymentCollectionRequest$1, d as PreparePaymentCollectionResponse$1, ft as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, fu as RecordManuallyCollectedPaymentRequest$1, fx as RecordManuallyCollectedPaymentResponse$1, fy as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, fz as BulkMarkOrdersAsPaidRequest$1, i as BulkMarkOrdersAsPaidResponse$1, fE as GetRefundabilityStatusRequest$1, j as GetRefundabilityStatusResponse$1, fH as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, fJ as ChargeMembershipsRequest$1, fN as ChargeMembershipsResponse$1, fO as TriggerRefundRequest$1, o as TriggerRefundResponse$1, gi as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, gj as CaptureAuthorizedPaymentsRequest$1, s as CaptureAuthorizedPaymentsResponse$1, go as GetOrderRequest$1, gp as GetOrderResponse$1, gB as SearchOrdersRequest$1, w as SearchOrdersResponse$1, gF as CreateOrderRequest$1, gJ as CreateOrderResponse$1, gK as UpdateOrderRequest$1, gL as UpdateOrderResponse$1, gM as BulkUpdateOrdersRequest$1, E as BulkUpdateOrdersResponse$1, hf as UpdateOrderLineItemRequest$1, J as UpdateOrderLineItemResponse$1, hG as AddActivityRequest$1, L as AddActivityResponse$1, hI as AddActivitiesRequest$1, Q as AddActivitiesResponse$1, hJ as UpdateActivityRequest$1, X as UpdateActivityResponse$1, hK as DeleteActivityRequest$1, Z as DeleteActivityResponse$1, hQ as CancelOrderRequest$1, $ as CancelOrderResponse$1, hR as UpdateOrderStatusRequest$1, a2 as UpdateOrderStatusResponse$1, id as AggregateOrdersRequest$1, a5 as AggregateOrdersResponse$1, ii as BulkUpdateOrderTagsRequest$1, a7 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-UPGSG2Qx.mjs';
1
+ import { dI as ImportOrderRequest$1, I as ImportOrderResponse$1, dJ as SetOrderNumberCounterRequest$1, a as SetOrderNumberCounterResponse$1, dK as BulkDeleteImportedOrdersRequest$1, b as BulkDeleteImportedOrdersResponse$1, fb as PreparePaymentCollectionRequest$1, d as PreparePaymentCollectionResponse$1, ff as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, fg as RecordManuallyCollectedPaymentRequest$1, fj as RecordManuallyCollectedPaymentResponse$1, fk as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, fl as BulkMarkOrdersAsPaidRequest$1, i as BulkMarkOrdersAsPaidResponse$1, fq as GetRefundabilityStatusRequest$1, j as GetRefundabilityStatusResponse$1, ft as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, fv as ChargeMembershipsRequest$1, fz as ChargeMembershipsResponse$1, fA as TriggerRefundRequest$1, o as TriggerRefundResponse$1, g4 as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, g5 as CaptureAuthorizedPaymentsRequest$1, s as CaptureAuthorizedPaymentsResponse$1, go as GetOrderRequest$1, gp as GetOrderResponse$1, gB as SearchOrdersRequest$1, w as SearchOrdersResponse$1, gF as CreateOrderRequest$1, gJ as CreateOrderResponse$1, gK as UpdateOrderRequest$1, gL as UpdateOrderResponse$1, gM as BulkUpdateOrdersRequest$1, E as BulkUpdateOrdersResponse$1, hf as UpdateOrderLineItemRequest$1, J as UpdateOrderLineItemResponse$1, hG as AddActivityRequest$1, L as AddActivityResponse$1, hI as AddActivitiesRequest$1, Q as AddActivitiesResponse$1, hJ as UpdateActivityRequest$1, X as UpdateActivityResponse$1, hK as DeleteActivityRequest$1, Z as DeleteActivityResponse$1, hQ as CancelOrderRequest$1, $ as CancelOrderResponse$1, hR as UpdateOrderStatusRequest$1, a2 as UpdateOrderStatusResponse$1, id as AggregateOrdersRequest$1, a5 as AggregateOrdersResponse$1, ii as BulkUpdateOrderTagsRequest$1, a7 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-CWkqp_xf.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -3552,164 +3552,6 @@ 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
- }
3713
3555
  interface SendBuyerConfirmationEmailRequest {
3714
3556
  /** @format GUID */
3715
3557
  orderId?: string;
@@ -4002,6 +3844,8 @@ interface PreviewResendDownloadLinksEmailRequest {
4002
3844
  interface PreviewResendDownloadLinksEmailResponse {
4003
3845
  emailPreview?: string;
4004
3846
  }
3847
+ interface Empty {
3848
+ }
4005
3849
  interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
4006
3850
  /** Emitted on a meta site creation. */
4007
3851
  siteCreated?: SiteCreated;
@@ -5661,6 +5505,162 @@ interface ChargeSavedPaymentMethodResponse {
5661
5505
  /** Payment gateway's order ID (e.g Wix Payments) */
5662
5506
  paymentGatewayOrderId?: string;
5663
5507
  }
5508
+ interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
5509
+ /** insert/update documents */
5510
+ update?: InternalDocumentUpdateOperation;
5511
+ /** delete by document ids */
5512
+ deleteByIds?: DeleteByIdsOperation;
5513
+ /** delete documents matching filter */
5514
+ deleteByFilter?: DeleteByFilterOperation;
5515
+ /** update internal documents matching filter */
5516
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
5517
+ /** update only existing documents */
5518
+ updateExisting?: InternalUpdateExistingOperation;
5519
+ /** insert/update documents with versioning */
5520
+ versionedUpdate?: VersionedDocumentUpdateOperation;
5521
+ /** delete by document ids with versioning */
5522
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5523
+ /**
5524
+ * type of the documents
5525
+ * @minLength 2
5526
+ */
5527
+ documentType?: string;
5528
+ /**
5529
+ * language of the documents (mandatory)
5530
+ * @minLength 2
5531
+ */
5532
+ language?: string | null;
5533
+ /**
5534
+ * one or more search documents
5535
+ * @deprecated
5536
+ */
5537
+ addDocuments?: InternalDocument[];
5538
+ /**
5539
+ * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
5540
+ * @deprecated
5541
+ */
5542
+ removeDocumentIds?: string[];
5543
+ /** id to pass to processing notification */
5544
+ correlationId?: string | null;
5545
+ /** when event was created / issued */
5546
+ issuedAt?: Date | null;
5547
+ }
5548
+ /** @oneof */
5549
+ interface UpdateInternalDocumentsEventOperationOneOf {
5550
+ /** insert/update documents */
5551
+ update?: InternalDocumentUpdateOperation;
5552
+ /** delete by document ids */
5553
+ deleteByIds?: DeleteByIdsOperation;
5554
+ /** delete documents matching filter */
5555
+ deleteByFilter?: DeleteByFilterOperation;
5556
+ /** update internal documents matching filter */
5557
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
5558
+ /** update only existing documents */
5559
+ updateExisting?: InternalUpdateExistingOperation;
5560
+ /** insert/update documents with versioning */
5561
+ versionedUpdate?: VersionedDocumentUpdateOperation;
5562
+ /** delete by document ids with versioning */
5563
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
5564
+ }
5565
+ interface InternalDocument {
5566
+ /** document with mandatory fields (id) and with fields specific to the type of the document */
5567
+ document?: Record<string, any> | null;
5568
+ }
5569
+ interface InternalDocumentUpdateOperation {
5570
+ /** documents to index or update */
5571
+ documents?: InternalDocument[];
5572
+ }
5573
+ interface DeleteByIdsOperation {
5574
+ /** ids of the documents to delete */
5575
+ documentIds?: string[];
5576
+ /**
5577
+ * tenant id for custom tenancy strategy
5578
+ * @minLength 2
5579
+ * @maxLength 300
5580
+ */
5581
+ tenantId?: string | null;
5582
+ }
5583
+ interface DeleteByFilterOperation {
5584
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
5585
+ filter?: Record<string, any> | null;
5586
+ /**
5587
+ * tenant id for custom tenancy strategy
5588
+ * @minLength 2
5589
+ * @maxLength 300
5590
+ */
5591
+ tenantId?: string | null;
5592
+ }
5593
+ interface InternalDocumentUpdateByFilterOperation {
5594
+ /** documents matching this filter will be updated */
5595
+ filter?: Record<string, any> | null;
5596
+ /** partial document to apply */
5597
+ document?: InternalDocument;
5598
+ /**
5599
+ * tenant id for custom tenancy strategy
5600
+ * @minLength 2
5601
+ * @maxLength 300
5602
+ */
5603
+ tenantId?: string | null;
5604
+ }
5605
+ interface InternalUpdateExistingOperation {
5606
+ /** documents to update */
5607
+ documents?: InternalDocument[];
5608
+ }
5609
+ interface VersionedDocumentUpdateOperation {
5610
+ /** documents to create or overwrite */
5611
+ documents?: InternalDocument[];
5612
+ /** versioning mode to use instead of default */
5613
+ versioningMode?: VersioningModeWithLiterals;
5614
+ }
5615
+ declare enum VersioningMode {
5616
+ /** use default versioning mode agreed with search team */
5617
+ DEFAULT = "DEFAULT",
5618
+ /** execute only if version is greater than existing */
5619
+ GREATER_THAN = "GREATER_THAN",
5620
+ /** execute only if version is greater or equal to existing */
5621
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
5622
+ }
5623
+ /** @enumType */
5624
+ type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
5625
+ interface VersionedDeleteByIdsOperation {
5626
+ /** ids with version of the documents to delete */
5627
+ documentIds?: VersionedDocumentId[];
5628
+ /**
5629
+ * tenant id for custom tenancy strategy
5630
+ * @minLength 2
5631
+ * @maxLength 300
5632
+ */
5633
+ tenantId?: string | null;
5634
+ }
5635
+ interface VersionedDocumentId {
5636
+ /** document id */
5637
+ documentId?: string;
5638
+ /** document version */
5639
+ version?: string;
5640
+ /** versioning mode to use instead of default */
5641
+ versioningMode?: VersioningModeWithLiterals;
5642
+ }
5643
+ interface TriggerReindexRequest {
5644
+ /** @format GUID */
5645
+ metasiteId?: string;
5646
+ /**
5647
+ * @minLength 1
5648
+ * @maxLength 100
5649
+ * @maxSize 100
5650
+ */
5651
+ orderIds?: string[];
5652
+ }
5653
+ interface TriggerReindexResponse {
5654
+ }
5655
+ interface TriggerReindexOrderRequest {
5656
+ /** @format GUID */
5657
+ metasiteId?: string;
5658
+ /**
5659
+ * @minLength 1
5660
+ * @maxLength 100
5661
+ */
5662
+ orderId?: string;
5663
+ }
5664
5664
  interface DiffmatokyPayload {
5665
5665
  left?: string;
5666
5666
  right?: string;
@@ -1943,12 +1943,6 @@ 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 || {});
1952
1946
  var PreviewEmailType = /* @__PURE__ */ ((PreviewEmailType2) => {
1953
1947
  PreviewEmailType2["ORDER_PLACED"] = "ORDER_PLACED";
1954
1948
  PreviewEmailType2["DOWNLOAD_LINKS"] = "DOWNLOAD_LINKS";
@@ -2145,6 +2139,12 @@ var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
2145
2139
  RefundStatus2["STARTED"] = "STARTED";
2146
2140
  return RefundStatus2;
2147
2141
  })(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";