@wix/auto_sdk_ecom_orders 1.0.163 → 1.0.164

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-97MQ6VTe.d.ts → ecom-v1-order-orders.universal-CSyYCbnE.d.ts} +173 -165
  2. package/build/cjs/index.d.ts +3 -3
  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 +163 -163
  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-97MQ6VTe.d.mts → ecom-v1-order-orders.universal-CSyYCbnE.d.mts} +173 -165
  12. package/build/es/index.d.mts +3 -3
  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 +163 -163
  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-Ocs0Z0Cd.d.ts → ecom-v1-order-orders.universal-DNHIfCHi.d.ts} +173 -165
  22. package/build/internal/cjs/index.d.ts +3 -3
  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 +163 -163
  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-Ocs0Z0Cd.d.mts → ecom-v1-order-orders.universal-DNHIfCHi.d.mts} +173 -165
  32. package/build/internal/es/index.d.mts +3 -3
  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 +163 -163
  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 { cM as ImportOrderRequest$1, cN as ImportOrderResponse$1, cO as SetOrderNumberCounterRequest$1, cP as SetOrderNumberCounterResponse$1, cQ as BulkDeleteImportedOrdersRequest$1, cR as BulkDeleteImportedOrdersResponse$1, dZ as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, e1 as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, e2 as RecordManuallyCollectedPaymentRequest$1, e3 as RecordManuallyCollectedPaymentResponse$1, e4 as MarkOrderAsPaidRequest$1, e5 as MarkOrderAsPaidResponse$1, e6 as BulkMarkOrdersAsPaidRequest$1, e7 as BulkMarkOrdersAsPaidResponse$1, ec as GetRefundabilityStatusRequest$1, ed as GetRefundabilityStatusResponse$1, eg as CreatePaymentGatewayOrderRequest$1, ei as CreatePaymentGatewayOrderResponse$1, ej as ChargeMembershipsRequest$1, en as ChargeMembershipsResponse$1, eo as TriggerRefundRequest$1, et as TriggerRefundResponse$1, eV as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eW as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, e$ as GetOrderRequest$1, f0 as GetOrderResponse$1, fc as SearchOrdersRequest$1, S as SearchOrdersResponse$1, fg as CreateOrderRequest$1, fj as CreateOrderResponse$1, fk as UpdateOrderRequest$1, fl as UpdateOrderResponse$1, fm as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, g2 as UpdateOrderLineItemRequest$1, g3 as UpdateOrderLineItemResponse$1, gu as AddActivityRequest$1, gx as AddActivityResponse$1, gy as AddActivitiesRequest$1, m as AddActivitiesResponse$1, gz as UpdateActivityRequest$1, gA as UpdateActivityResponse$1, gB as DeleteActivityRequest$1, gC as DeleteActivityResponse$1, gI as CancelOrderRequest$1, o as CancelOrderResponse$1, gK as UpdateOrderStatusRequest$1, gL as UpdateOrderStatusResponse$1, h9 as AggregateOrdersRequest$1, ha as AggregateOrdersResponse$1, he as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-97MQ6VTe.js';
1
+ import { cM as ImportOrderRequest$1, cN as ImportOrderResponse$1, cO as SetOrderNumberCounterRequest$1, cP as SetOrderNumberCounterResponse$1, cQ as BulkDeleteImportedOrdersRequest$1, cR as BulkDeleteImportedOrdersResponse$1, dK as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, dO as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, dP as RecordManuallyCollectedPaymentRequest$1, dQ as RecordManuallyCollectedPaymentResponse$1, dR as MarkOrderAsPaidRequest$1, dS as MarkOrderAsPaidResponse$1, dT as BulkMarkOrdersAsPaidRequest$1, dU as BulkMarkOrdersAsPaidResponse$1, dZ as GetRefundabilityStatusRequest$1, d_ as GetRefundabilityStatusResponse$1, e1 as CreatePaymentGatewayOrderRequest$1, e3 as CreatePaymentGatewayOrderResponse$1, e4 as ChargeMembershipsRequest$1, e8 as ChargeMembershipsResponse$1, e9 as TriggerRefundRequest$1, ee as TriggerRefundResponse$1, eG as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eH as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, e$ as GetOrderRequest$1, f0 as GetOrderResponse$1, fc as SearchOrdersRequest$1, S as SearchOrdersResponse$1, fg as CreateOrderRequest$1, fj as CreateOrderResponse$1, fk as UpdateOrderRequest$1, fl as UpdateOrderResponse$1, fm as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, g2 as UpdateOrderLineItemRequest$1, g3 as UpdateOrderLineItemResponse$1, gu as AddActivityRequest$1, gx as AddActivityResponse$1, gy as AddActivitiesRequest$1, m as AddActivitiesResponse$1, gz as UpdateActivityRequest$1, gA as UpdateActivityResponse$1, gB as DeleteActivityRequest$1, gC as DeleteActivityResponse$1, gI as CancelOrderRequest$1, o as CancelOrderResponse$1, gK as UpdateOrderStatusRequest$1, gL as UpdateOrderStatusResponse$1, h9 as AggregateOrdersRequest$1, ha as AggregateOrdersResponse$1, he as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-CSyYCbnE.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Order {
@@ -3250,168 +3250,6 @@ interface AccountInfo {
3250
3250
  */
3251
3251
  siteId?: string | null;
3252
3252
  }
3253
- interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
3254
- /** insert/update documents */
3255
- update?: InternalDocumentUpdateOperation;
3256
- /** delete by document ids */
3257
- deleteByIds?: DeleteByIdsOperation;
3258
- /** delete documents matching filter */
3259
- deleteByFilter?: DeleteByFilterOperation;
3260
- /** update internal documents matching filter */
3261
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
3262
- /** update only existing documents */
3263
- updateExisting?: InternalUpdateExistingOperation;
3264
- /** insert/update documents with versioning */
3265
- versionedUpdate?: VersionedDocumentUpdateOperation;
3266
- /** delete by document ids with versioning */
3267
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3268
- /**
3269
- * type of the documents
3270
- * @minLength 2
3271
- */
3272
- documentType?: string;
3273
- /**
3274
- * language of the documents (mandatory)
3275
- * @minLength 2
3276
- */
3277
- language?: string | null;
3278
- /**
3279
- * one or more search documents
3280
- * @deprecated
3281
- */
3282
- addDocuments?: InternalDocument[];
3283
- /**
3284
- * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
3285
- * @deprecated
3286
- */
3287
- removeDocumentIds?: string[];
3288
- /** id to pass to processing notification */
3289
- correlationId?: string | null;
3290
- /** when event was created / issued */
3291
- issuedAt?: Date | null;
3292
- }
3293
- /** @oneof */
3294
- interface UpdateInternalDocumentsEventOperationOneOf {
3295
- /** insert/update documents */
3296
- update?: InternalDocumentUpdateOperation;
3297
- /** delete by document ids */
3298
- deleteByIds?: DeleteByIdsOperation;
3299
- /** delete documents matching filter */
3300
- deleteByFilter?: DeleteByFilterOperation;
3301
- /** update internal documents matching filter */
3302
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
3303
- /** update only existing documents */
3304
- updateExisting?: InternalUpdateExistingOperation;
3305
- /** insert/update documents with versioning */
3306
- versionedUpdate?: VersionedDocumentUpdateOperation;
3307
- /** delete by document ids with versioning */
3308
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3309
- }
3310
- interface InternalDocument {
3311
- /** document with mandatory fields (id) and with fields specific to the type of the document */
3312
- document?: Record<string, any> | null;
3313
- }
3314
- interface InternalDocumentUpdateOperation {
3315
- /** documents to index or update */
3316
- documents?: InternalDocument[];
3317
- }
3318
- interface DeleteByIdsOperation {
3319
- /** ids of the documents to delete */
3320
- documentIds?: string[];
3321
- /**
3322
- * tenant id for custom tenancy strategy
3323
- * @minLength 2
3324
- * @maxLength 300
3325
- */
3326
- tenantId?: string | null;
3327
- }
3328
- interface DeleteByFilterOperation {
3329
- /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
3330
- filter?: Record<string, any> | null;
3331
- /**
3332
- * tenant id for custom tenancy strategy
3333
- * @minLength 2
3334
- * @maxLength 300
3335
- */
3336
- tenantId?: string | null;
3337
- }
3338
- interface InternalDocumentUpdateByFilterOperation {
3339
- /** documents matching this filter will be updated */
3340
- filter?: Record<string, any> | null;
3341
- /** partial document to apply */
3342
- document?: InternalDocument;
3343
- /**
3344
- * tenant id for custom tenancy strategy
3345
- * @minLength 2
3346
- * @maxLength 300
3347
- */
3348
- tenantId?: string | null;
3349
- }
3350
- interface InternalUpdateExistingOperation {
3351
- /** documents to update */
3352
- documents?: InternalDocument[];
3353
- }
3354
- interface VersionedDocumentUpdateOperation {
3355
- /** documents to create or overwrite */
3356
- documents?: InternalDocument[];
3357
- /** versioning mode to use instead of default */
3358
- versioningMode?: VersioningModeWithLiterals;
3359
- }
3360
- declare enum VersioningMode {
3361
- /** use default versioning mode agreed with search team */
3362
- DEFAULT = "DEFAULT",
3363
- /** execute only if version is greater than existing */
3364
- GREATER_THAN = "GREATER_THAN",
3365
- /** execute only if version is greater or equal to existing */
3366
- GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
3367
- }
3368
- /** @enumType */
3369
- type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
3370
- interface VersionedDeleteByIdsOperation {
3371
- /** ids with version of the documents to delete */
3372
- documentIds?: VersionedDocumentId[];
3373
- /**
3374
- * tenant id for custom tenancy strategy
3375
- * @minLength 2
3376
- * @maxLength 300
3377
- */
3378
- tenantId?: string | null;
3379
- }
3380
- interface VersionedDocumentId {
3381
- /** document id */
3382
- documentId?: string;
3383
- /** document version */
3384
- version?: string;
3385
- /** versioning mode to use instead of default */
3386
- versioningMode?: VersioningModeWithLiterals;
3387
- }
3388
- interface TriggerReindexRequest {
3389
- /** @format GUID */
3390
- metasiteId?: string;
3391
- /**
3392
- * @minLength 1
3393
- * @maxLength 100
3394
- * @maxSize 100
3395
- */
3396
- orderIds?: string[];
3397
- }
3398
- interface TriggerReindexResponse {
3399
- }
3400
- interface Empty {
3401
- }
3402
- interface BatchOfTriggerReindexOrderRequest {
3403
- /** @maxSize 25 */
3404
- requests?: TriggerReindexOrderRequest[];
3405
- }
3406
- interface TriggerReindexOrderRequest {
3407
- /** @format GUID */
3408
- metasiteId?: string;
3409
- /**
3410
- * @minLength 1
3411
- * @maxLength 100
3412
- */
3413
- orderId?: string;
3414
- }
3415
3253
  interface SendBuyerConfirmationEmailRequest {
3416
3254
  /** @format GUID */
3417
3255
  orderId?: string;
@@ -3704,6 +3542,8 @@ interface PreviewResendDownloadLinksEmailRequest {
3704
3542
  interface PreviewResendDownloadLinksEmailResponse {
3705
3543
  emailPreview?: string;
3706
3544
  }
3545
+ interface Empty {
3546
+ }
3707
3547
  interface PreparePaymentCollectionRequest {
3708
3548
  /**
3709
3549
  * Ecom order ID.
@@ -4768,6 +4608,166 @@ interface ChargeSavedPaymentMethodResponse {
4768
4608
  /** Payment gateway's order ID (e.g Wix Payments) */
4769
4609
  paymentGatewayOrderId?: string;
4770
4610
  }
4611
+ interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
4612
+ /** insert/update documents */
4613
+ update?: InternalDocumentUpdateOperation;
4614
+ /** delete by document ids */
4615
+ deleteByIds?: DeleteByIdsOperation;
4616
+ /** delete documents matching filter */
4617
+ deleteByFilter?: DeleteByFilterOperation;
4618
+ /** update internal documents matching filter */
4619
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
4620
+ /** update only existing documents */
4621
+ updateExisting?: InternalUpdateExistingOperation;
4622
+ /** insert/update documents with versioning */
4623
+ versionedUpdate?: VersionedDocumentUpdateOperation;
4624
+ /** delete by document ids with versioning */
4625
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
4626
+ /**
4627
+ * type of the documents
4628
+ * @minLength 2
4629
+ */
4630
+ documentType?: string;
4631
+ /**
4632
+ * language of the documents (mandatory)
4633
+ * @minLength 2
4634
+ */
4635
+ language?: string | null;
4636
+ /**
4637
+ * one or more search documents
4638
+ * @deprecated
4639
+ */
4640
+ addDocuments?: InternalDocument[];
4641
+ /**
4642
+ * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
4643
+ * @deprecated
4644
+ */
4645
+ removeDocumentIds?: string[];
4646
+ /** id to pass to processing notification */
4647
+ correlationId?: string | null;
4648
+ /** when event was created / issued */
4649
+ issuedAt?: Date | null;
4650
+ }
4651
+ /** @oneof */
4652
+ interface UpdateInternalDocumentsEventOperationOneOf {
4653
+ /** insert/update documents */
4654
+ update?: InternalDocumentUpdateOperation;
4655
+ /** delete by document ids */
4656
+ deleteByIds?: DeleteByIdsOperation;
4657
+ /** delete documents matching filter */
4658
+ deleteByFilter?: DeleteByFilterOperation;
4659
+ /** update internal documents matching filter */
4660
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
4661
+ /** update only existing documents */
4662
+ updateExisting?: InternalUpdateExistingOperation;
4663
+ /** insert/update documents with versioning */
4664
+ versionedUpdate?: VersionedDocumentUpdateOperation;
4665
+ /** delete by document ids with versioning */
4666
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
4667
+ }
4668
+ interface InternalDocument {
4669
+ /** document with mandatory fields (id) and with fields specific to the type of the document */
4670
+ document?: Record<string, any> | null;
4671
+ }
4672
+ interface InternalDocumentUpdateOperation {
4673
+ /** documents to index or update */
4674
+ documents?: InternalDocument[];
4675
+ }
4676
+ interface DeleteByIdsOperation {
4677
+ /** ids of the documents to delete */
4678
+ documentIds?: string[];
4679
+ /**
4680
+ * tenant id for custom tenancy strategy
4681
+ * @minLength 2
4682
+ * @maxLength 300
4683
+ */
4684
+ tenantId?: string | null;
4685
+ }
4686
+ interface DeleteByFilterOperation {
4687
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
4688
+ filter?: Record<string, any> | null;
4689
+ /**
4690
+ * tenant id for custom tenancy strategy
4691
+ * @minLength 2
4692
+ * @maxLength 300
4693
+ */
4694
+ tenantId?: string | null;
4695
+ }
4696
+ interface InternalDocumentUpdateByFilterOperation {
4697
+ /** documents matching this filter will be updated */
4698
+ filter?: Record<string, any> | null;
4699
+ /** partial document to apply */
4700
+ document?: InternalDocument;
4701
+ /**
4702
+ * tenant id for custom tenancy strategy
4703
+ * @minLength 2
4704
+ * @maxLength 300
4705
+ */
4706
+ tenantId?: string | null;
4707
+ }
4708
+ interface InternalUpdateExistingOperation {
4709
+ /** documents to update */
4710
+ documents?: InternalDocument[];
4711
+ }
4712
+ interface VersionedDocumentUpdateOperation {
4713
+ /** documents to create or overwrite */
4714
+ documents?: InternalDocument[];
4715
+ /** versioning mode to use instead of default */
4716
+ versioningMode?: VersioningModeWithLiterals;
4717
+ }
4718
+ declare enum VersioningMode {
4719
+ /** use default versioning mode agreed with search team */
4720
+ DEFAULT = "DEFAULT",
4721
+ /** execute only if version is greater than existing */
4722
+ GREATER_THAN = "GREATER_THAN",
4723
+ /** execute only if version is greater or equal to existing */
4724
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
4725
+ }
4726
+ /** @enumType */
4727
+ type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
4728
+ interface VersionedDeleteByIdsOperation {
4729
+ /** ids with version of the documents to delete */
4730
+ documentIds?: VersionedDocumentId[];
4731
+ /**
4732
+ * tenant id for custom tenancy strategy
4733
+ * @minLength 2
4734
+ * @maxLength 300
4735
+ */
4736
+ tenantId?: string | null;
4737
+ }
4738
+ interface VersionedDocumentId {
4739
+ /** document id */
4740
+ documentId?: string;
4741
+ /** document version */
4742
+ version?: string;
4743
+ /** versioning mode to use instead of default */
4744
+ versioningMode?: VersioningModeWithLiterals;
4745
+ }
4746
+ interface TriggerReindexRequest {
4747
+ /** @format GUID */
4748
+ metasiteId?: string;
4749
+ /**
4750
+ * @minLength 1
4751
+ * @maxLength 100
4752
+ * @maxSize 100
4753
+ */
4754
+ orderIds?: string[];
4755
+ }
4756
+ interface TriggerReindexResponse {
4757
+ }
4758
+ interface BatchOfTriggerReindexOrderRequest {
4759
+ /** @maxSize 25 */
4760
+ requests?: TriggerReindexOrderRequest[];
4761
+ }
4762
+ interface TriggerReindexOrderRequest {
4763
+ /** @format GUID */
4764
+ metasiteId?: string;
4765
+ /**
4766
+ * @minLength 1
4767
+ * @maxLength 100
4768
+ */
4769
+ orderId?: string;
4770
+ }
4771
4771
  interface DiffmatokyPayload {
4772
4772
  left?: string;
4773
4773
  right?: string;
package/build/cjs/meta.js CHANGED
@@ -2027,12 +2027,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
2027
2027
  WebhookIdentityType2["APP"] = "APP";
2028
2028
  return WebhookIdentityType2;
2029
2029
  })(WebhookIdentityType || {});
2030
- var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
2031
- VersioningMode2["DEFAULT"] = "DEFAULT";
2032
- VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
2033
- VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
2034
- return VersioningMode2;
2035
- })(VersioningMode || {});
2036
2030
  var PreviewEmailType = /* @__PURE__ */ ((PreviewEmailType2) => {
2037
2031
  PreviewEmailType2["ORDER_PLACED"] = "ORDER_PLACED";
2038
2032
  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";