@wix/auto_sdk_ecom_orders 1.0.152 → 1.0.153

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-rM7XIM5J.d.ts → ecom-v1-order-orders.universal-C2w5xnBD.d.ts} +163 -163
  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 +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-rM7XIM5J.d.mts → ecom-v1-order-orders.universal-C2w5xnBD.d.mts} +163 -163
  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 +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-CxuQcKw1.d.ts → ecom-v1-order-orders.universal-CggcngNR.d.ts} +163 -163
  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 +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-CxuQcKw1.d.mts → ecom-v1-order-orders.universal-CggcngNR.d.mts} +163 -163
  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 +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 { cK as ImportOrderRequest$1, cL as ImportOrderResponse$1, cM as SetOrderNumberCounterRequest$1, cN as SetOrderNumberCounterResponse$1, cO as BulkDeleteImportedOrdersRequest$1, cP as BulkDeleteImportedOrdersResponse$1, dW as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, d_ as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, d$ as RecordManuallyCollectedPaymentRequest$1, e0 as RecordManuallyCollectedPaymentResponse$1, e1 as MarkOrderAsPaidRequest$1, e2 as MarkOrderAsPaidResponse$1, e3 as BulkMarkOrdersAsPaidRequest$1, e4 as BulkMarkOrdersAsPaidResponse$1, e9 as GetRefundabilityStatusRequest$1, ea as GetRefundabilityStatusResponse$1, ed as CreatePaymentGatewayOrderRequest$1, ef as CreatePaymentGatewayOrderResponse$1, eg as ChargeMembershipsRequest$1, ek as ChargeMembershipsResponse$1, el as TriggerRefundRequest$1, eq as TriggerRefundResponse$1, eS as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eT as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, eY as GetOrderRequest$1, eZ as GetOrderResponse$1, f9 as SearchOrdersRequest$1, S as SearchOrdersResponse$1, fd as CreateOrderRequest$1, fg as CreateOrderResponse$1, fh as UpdateOrderRequest$1, fi as UpdateOrderResponse$1, fj as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, f$ as UpdateOrderLineItemRequest$1, g0 as UpdateOrderLineItemResponse$1, gr as AddActivityRequest$1, gu as AddActivityResponse$1, gv as AddActivitiesRequest$1, m as AddActivitiesResponse$1, gw as UpdateActivityRequest$1, gx as UpdateActivityResponse$1, gy as DeleteActivityRequest$1, gz as DeleteActivityResponse$1, gF as CancelOrderRequest$1, o as CancelOrderResponse$1, gH as UpdateOrderStatusRequest$1, gI as UpdateOrderStatusResponse$1, h6 as AggregateOrdersRequest$1, h7 as AggregateOrdersResponse$1, hb as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-rM7XIM5J.js';
1
+ import { cK as ImportOrderRequest$1, cL as ImportOrderResponse$1, cM as SetOrderNumberCounterRequest$1, cN as SetOrderNumberCounterResponse$1, cO as BulkDeleteImportedOrdersRequest$1, cP as BulkDeleteImportedOrdersResponse$1, dH as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, dL as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, dM as RecordManuallyCollectedPaymentRequest$1, dN as RecordManuallyCollectedPaymentResponse$1, dO as MarkOrderAsPaidRequest$1, dP as MarkOrderAsPaidResponse$1, dQ as BulkMarkOrdersAsPaidRequest$1, dR as BulkMarkOrdersAsPaidResponse$1, dW as GetRefundabilityStatusRequest$1, dX as GetRefundabilityStatusResponse$1, d_ as CreatePaymentGatewayOrderRequest$1, e0 as CreatePaymentGatewayOrderResponse$1, e1 as ChargeMembershipsRequest$1, e5 as ChargeMembershipsResponse$1, e6 as TriggerRefundRequest$1, eb as TriggerRefundResponse$1, eD as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eE as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, eY as GetOrderRequest$1, eZ as GetOrderResponse$1, f9 as SearchOrdersRequest$1, S as SearchOrdersResponse$1, fd as CreateOrderRequest$1, fg as CreateOrderResponse$1, fh as UpdateOrderRequest$1, fi as UpdateOrderResponse$1, fj as BulkUpdateOrdersRequest$1, l as BulkUpdateOrdersResponse$1, f$ as UpdateOrderLineItemRequest$1, g0 as UpdateOrderLineItemResponse$1, gr as AddActivityRequest$1, gu as AddActivityResponse$1, gv as AddActivitiesRequest$1, m as AddActivitiesResponse$1, gw as UpdateActivityRequest$1, gx as UpdateActivityResponse$1, gy as DeleteActivityRequest$1, gz as DeleteActivityResponse$1, gF as CancelOrderRequest$1, o as CancelOrderResponse$1, gH as UpdateOrderStatusRequest$1, gI as UpdateOrderStatusResponse$1, h6 as AggregateOrdersRequest$1, h7 as AggregateOrdersResponse$1, hb as BulkUpdateOrderTagsRequest$1, r as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-C2w5xnBD.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Order {
@@ -3221,168 +3221,6 @@ declare enum WebhookIdentityType {
3221
3221
  }
3222
3222
  /** @enumType */
3223
3223
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3224
- interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
3225
- /** insert/update documents */
3226
- update?: InternalDocumentUpdateOperation;
3227
- /** delete by document ids */
3228
- deleteByIds?: DeleteByIdsOperation;
3229
- /** delete documents matching filter */
3230
- deleteByFilter?: DeleteByFilterOperation;
3231
- /** update internal documents matching filter */
3232
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
3233
- /** update only existing documents */
3234
- updateExisting?: InternalUpdateExistingOperation;
3235
- /** insert/update documents with versioning */
3236
- versionedUpdate?: VersionedDocumentUpdateOperation;
3237
- /** delete by document ids with versioning */
3238
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3239
- /**
3240
- * type of the documents
3241
- * @minLength 2
3242
- */
3243
- documentType?: string;
3244
- /**
3245
- * language of the documents (mandatory)
3246
- * @minLength 2
3247
- */
3248
- language?: string | null;
3249
- /**
3250
- * one or more search documents
3251
- * @deprecated
3252
- */
3253
- addDocuments?: InternalDocument[];
3254
- /**
3255
- * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
3256
- * @deprecated
3257
- */
3258
- removeDocumentIds?: string[];
3259
- /** id to pass to processing notification */
3260
- correlationId?: string | null;
3261
- /** when event was created / issued */
3262
- issuedAt?: Date | null;
3263
- }
3264
- /** @oneof */
3265
- interface UpdateInternalDocumentsEventOperationOneOf {
3266
- /** insert/update documents */
3267
- update?: InternalDocumentUpdateOperation;
3268
- /** delete by document ids */
3269
- deleteByIds?: DeleteByIdsOperation;
3270
- /** delete documents matching filter */
3271
- deleteByFilter?: DeleteByFilterOperation;
3272
- /** update internal documents matching filter */
3273
- updateByFilter?: InternalDocumentUpdateByFilterOperation;
3274
- /** update only existing documents */
3275
- updateExisting?: InternalUpdateExistingOperation;
3276
- /** insert/update documents with versioning */
3277
- versionedUpdate?: VersionedDocumentUpdateOperation;
3278
- /** delete by document ids with versioning */
3279
- versionedDeleteByIds?: VersionedDeleteByIdsOperation;
3280
- }
3281
- interface InternalDocument {
3282
- /** document with mandatory fields (id) and with fields specific to the type of the document */
3283
- document?: Record<string, any> | null;
3284
- }
3285
- interface InternalDocumentUpdateOperation {
3286
- /** documents to index or update */
3287
- documents?: InternalDocument[];
3288
- }
3289
- interface DeleteByIdsOperation {
3290
- /** ids of the documents to delete */
3291
- documentIds?: string[];
3292
- /**
3293
- * tenant id for custom tenancy strategy
3294
- * @minLength 2
3295
- * @maxLength 300
3296
- */
3297
- tenantId?: string | null;
3298
- }
3299
- interface DeleteByFilterOperation {
3300
- /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
3301
- filter?: Record<string, any> | null;
3302
- /**
3303
- * tenant id for custom tenancy strategy
3304
- * @minLength 2
3305
- * @maxLength 300
3306
- */
3307
- tenantId?: string | null;
3308
- }
3309
- interface InternalDocumentUpdateByFilterOperation {
3310
- /** documents matching this filter will be updated */
3311
- filter?: Record<string, any> | null;
3312
- /** partial document to apply */
3313
- document?: InternalDocument;
3314
- /**
3315
- * tenant id for custom tenancy strategy
3316
- * @minLength 2
3317
- * @maxLength 300
3318
- */
3319
- tenantId?: string | null;
3320
- }
3321
- interface InternalUpdateExistingOperation {
3322
- /** documents to update */
3323
- documents?: InternalDocument[];
3324
- }
3325
- interface VersionedDocumentUpdateOperation {
3326
- /** documents to create or overwrite */
3327
- documents?: InternalDocument[];
3328
- /** versioning mode to use instead of default */
3329
- versioningMode?: VersioningModeWithLiterals;
3330
- }
3331
- declare enum VersioningMode {
3332
- /** use default versioning mode agreed with search team */
3333
- DEFAULT = "DEFAULT",
3334
- /** execute only if version is greater than existing */
3335
- GREATER_THAN = "GREATER_THAN",
3336
- /** execute only if version is greater or equal to existing */
3337
- GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
3338
- }
3339
- /** @enumType */
3340
- type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
3341
- interface VersionedDeleteByIdsOperation {
3342
- /** ids with version of the documents to delete */
3343
- documentIds?: VersionedDocumentId[];
3344
- /**
3345
- * tenant id for custom tenancy strategy
3346
- * @minLength 2
3347
- * @maxLength 300
3348
- */
3349
- tenantId?: string | null;
3350
- }
3351
- interface VersionedDocumentId {
3352
- /** document id */
3353
- documentId?: string;
3354
- /** document version */
3355
- version?: string;
3356
- /** versioning mode to use instead of default */
3357
- versioningMode?: VersioningModeWithLiterals;
3358
- }
3359
- interface TriggerReindexRequest {
3360
- /** @format GUID */
3361
- metasiteId?: string;
3362
- /**
3363
- * @minLength 1
3364
- * @maxLength 100
3365
- * @maxSize 100
3366
- */
3367
- orderIds?: string[];
3368
- }
3369
- interface TriggerReindexResponse {
3370
- }
3371
- interface Empty {
3372
- }
3373
- interface BatchOfTriggerReindexOrderRequest {
3374
- /** @maxSize 25 */
3375
- requests?: TriggerReindexOrderRequest[];
3376
- }
3377
- interface TriggerReindexOrderRequest {
3378
- /** @format GUID */
3379
- metasiteId?: string;
3380
- /**
3381
- * @minLength 1
3382
- * @maxLength 100
3383
- */
3384
- orderId?: string;
3385
- }
3386
3224
  interface SendBuyerConfirmationEmailRequest {
3387
3225
  /** @format GUID */
3388
3226
  orderId?: string;
@@ -3675,6 +3513,8 @@ interface PreviewResendDownloadLinksEmailRequest {
3675
3513
  interface PreviewResendDownloadLinksEmailResponse {
3676
3514
  emailPreview?: string;
3677
3515
  }
3516
+ interface Empty {
3517
+ }
3678
3518
  interface PreparePaymentCollectionRequest {
3679
3519
  /**
3680
3520
  * Ecom order ID.
@@ -4739,6 +4579,166 @@ interface ChargeSavedPaymentMethodResponse {
4739
4579
  /** Payment gateway's order ID (e.g Wix Payments) */
4740
4580
  paymentGatewayOrderId?: string;
4741
4581
  }
4582
+ interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
4583
+ /** insert/update documents */
4584
+ update?: InternalDocumentUpdateOperation;
4585
+ /** delete by document ids */
4586
+ deleteByIds?: DeleteByIdsOperation;
4587
+ /** delete documents matching filter */
4588
+ deleteByFilter?: DeleteByFilterOperation;
4589
+ /** update internal documents matching filter */
4590
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
4591
+ /** update only existing documents */
4592
+ updateExisting?: InternalUpdateExistingOperation;
4593
+ /** insert/update documents with versioning */
4594
+ versionedUpdate?: VersionedDocumentUpdateOperation;
4595
+ /** delete by document ids with versioning */
4596
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
4597
+ /**
4598
+ * type of the documents
4599
+ * @minLength 2
4600
+ */
4601
+ documentType?: string;
4602
+ /**
4603
+ * language of the documents (mandatory)
4604
+ * @minLength 2
4605
+ */
4606
+ language?: string | null;
4607
+ /**
4608
+ * one or more search documents
4609
+ * @deprecated
4610
+ */
4611
+ addDocuments?: InternalDocument[];
4612
+ /**
4613
+ * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
4614
+ * @deprecated
4615
+ */
4616
+ removeDocumentIds?: string[];
4617
+ /** id to pass to processing notification */
4618
+ correlationId?: string | null;
4619
+ /** when event was created / issued */
4620
+ issuedAt?: Date | null;
4621
+ }
4622
+ /** @oneof */
4623
+ interface UpdateInternalDocumentsEventOperationOneOf {
4624
+ /** insert/update documents */
4625
+ update?: InternalDocumentUpdateOperation;
4626
+ /** delete by document ids */
4627
+ deleteByIds?: DeleteByIdsOperation;
4628
+ /** delete documents matching filter */
4629
+ deleteByFilter?: DeleteByFilterOperation;
4630
+ /** update internal documents matching filter */
4631
+ updateByFilter?: InternalDocumentUpdateByFilterOperation;
4632
+ /** update only existing documents */
4633
+ updateExisting?: InternalUpdateExistingOperation;
4634
+ /** insert/update documents with versioning */
4635
+ versionedUpdate?: VersionedDocumentUpdateOperation;
4636
+ /** delete by document ids with versioning */
4637
+ versionedDeleteByIds?: VersionedDeleteByIdsOperation;
4638
+ }
4639
+ interface InternalDocument {
4640
+ /** document with mandatory fields (id) and with fields specific to the type of the document */
4641
+ document?: Record<string, any> | null;
4642
+ }
4643
+ interface InternalDocumentUpdateOperation {
4644
+ /** documents to index or update */
4645
+ documents?: InternalDocument[];
4646
+ }
4647
+ interface DeleteByIdsOperation {
4648
+ /** ids of the documents to delete */
4649
+ documentIds?: string[];
4650
+ /**
4651
+ * tenant id for custom tenancy strategy
4652
+ * @minLength 2
4653
+ * @maxLength 300
4654
+ */
4655
+ tenantId?: string | null;
4656
+ }
4657
+ interface DeleteByFilterOperation {
4658
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
4659
+ filter?: Record<string, any> | null;
4660
+ /**
4661
+ * tenant id for custom tenancy strategy
4662
+ * @minLength 2
4663
+ * @maxLength 300
4664
+ */
4665
+ tenantId?: string | null;
4666
+ }
4667
+ interface InternalDocumentUpdateByFilterOperation {
4668
+ /** documents matching this filter will be updated */
4669
+ filter?: Record<string, any> | null;
4670
+ /** partial document to apply */
4671
+ document?: InternalDocument;
4672
+ /**
4673
+ * tenant id for custom tenancy strategy
4674
+ * @minLength 2
4675
+ * @maxLength 300
4676
+ */
4677
+ tenantId?: string | null;
4678
+ }
4679
+ interface InternalUpdateExistingOperation {
4680
+ /** documents to update */
4681
+ documents?: InternalDocument[];
4682
+ }
4683
+ interface VersionedDocumentUpdateOperation {
4684
+ /** documents to create or overwrite */
4685
+ documents?: InternalDocument[];
4686
+ /** versioning mode to use instead of default */
4687
+ versioningMode?: VersioningModeWithLiterals;
4688
+ }
4689
+ declare enum VersioningMode {
4690
+ /** use default versioning mode agreed with search team */
4691
+ DEFAULT = "DEFAULT",
4692
+ /** execute only if version is greater than existing */
4693
+ GREATER_THAN = "GREATER_THAN",
4694
+ /** execute only if version is greater or equal to existing */
4695
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
4696
+ }
4697
+ /** @enumType */
4698
+ type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
4699
+ interface VersionedDeleteByIdsOperation {
4700
+ /** ids with version of the documents to delete */
4701
+ documentIds?: VersionedDocumentId[];
4702
+ /**
4703
+ * tenant id for custom tenancy strategy
4704
+ * @minLength 2
4705
+ * @maxLength 300
4706
+ */
4707
+ tenantId?: string | null;
4708
+ }
4709
+ interface VersionedDocumentId {
4710
+ /** document id */
4711
+ documentId?: string;
4712
+ /** document version */
4713
+ version?: string;
4714
+ /** versioning mode to use instead of default */
4715
+ versioningMode?: VersioningModeWithLiterals;
4716
+ }
4717
+ interface TriggerReindexRequest {
4718
+ /** @format GUID */
4719
+ metasiteId?: string;
4720
+ /**
4721
+ * @minLength 1
4722
+ * @maxLength 100
4723
+ * @maxSize 100
4724
+ */
4725
+ orderIds?: string[];
4726
+ }
4727
+ interface TriggerReindexResponse {
4728
+ }
4729
+ interface BatchOfTriggerReindexOrderRequest {
4730
+ /** @maxSize 25 */
4731
+ requests?: TriggerReindexOrderRequest[];
4732
+ }
4733
+ interface TriggerReindexOrderRequest {
4734
+ /** @format GUID */
4735
+ metasiteId?: string;
4736
+ /**
4737
+ * @minLength 1
4738
+ * @maxLength 100
4739
+ */
4740
+ orderId?: string;
4741
+ }
4742
4742
  interface DiffmatokyPayload {
4743
4743
  left?: string;
4744
4744
  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";