@wix/auto_sdk_ecom_orders 1.0.151 → 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.
- package/build/cjs/{ecom-v1-order-orders.universal-BymejMdD.d.ts → ecom-v1-order-orders.universal-C2w5xnBD.d.ts} +182 -182
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +182 -182
- package/build/cjs/meta.js +6 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{ecom-v1-order-orders.universal-BymejMdD.d.mts → ecom-v1-order-orders.universal-C2w5xnBD.d.mts} +182 -182
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +6 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +182 -182
- package/build/es/meta.mjs +6 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{ecom-v1-order-orders.universal-Dj5XDyHJ.d.ts → ecom-v1-order-orders.universal-CggcngNR.d.ts} +182 -182
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +6 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +6 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +182 -182
- package/build/internal/cjs/meta.js +6 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{ecom-v1-order-orders.universal-Dj5XDyHJ.d.mts → ecom-v1-order-orders.universal-CggcngNR.d.mts} +182 -182
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +6 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +6 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +182 -182
- package/build/internal/es/meta.mjs +6 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
@@ -1491,6 +1491,35 @@ interface LineItemDiscount {
|
|
|
1491
1491
|
/** Total discount for this line item. */
|
|
1492
1492
|
totalDiscount?: Price;
|
|
1493
1493
|
}
|
|
1494
|
+
interface ItemCombination {
|
|
1495
|
+
/**
|
|
1496
|
+
* The number of times this exact combination of items (with the specified quantities) was applied together in the order.
|
|
1497
|
+
* @min 1
|
|
1498
|
+
* @max 100000
|
|
1499
|
+
*/
|
|
1500
|
+
count?: number;
|
|
1501
|
+
/**
|
|
1502
|
+
* Line items that participated together in this combination.
|
|
1503
|
+
* @minSize 1
|
|
1504
|
+
* @maxSize 100
|
|
1505
|
+
*/
|
|
1506
|
+
lineItems?: ItemCombinationLineItem[];
|
|
1507
|
+
}
|
|
1508
|
+
interface ItemCombinationLineItem {
|
|
1509
|
+
/**
|
|
1510
|
+
* The unique ID of the line item to which this discount applies.
|
|
1511
|
+
* @format GUID
|
|
1512
|
+
*/
|
|
1513
|
+
lineItemId?: string;
|
|
1514
|
+
/** Total discount amount for all units (quantity) of this line item in this combination. */
|
|
1515
|
+
discountAmount?: Price;
|
|
1516
|
+
/**
|
|
1517
|
+
* Number of units from this line item that participated in a single combination.
|
|
1518
|
+
* @min 1
|
|
1519
|
+
* @max 100000
|
|
1520
|
+
*/
|
|
1521
|
+
quantity?: number;
|
|
1522
|
+
}
|
|
1494
1523
|
interface Activity extends ActivityContentOneOf {
|
|
1495
1524
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
1496
1525
|
customActivity?: CustomActivity;
|
|
@@ -3192,168 +3221,6 @@ declare enum WebhookIdentityType {
|
|
|
3192
3221
|
}
|
|
3193
3222
|
/** @enumType */
|
|
3194
3223
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
3195
|
-
interface UpdateInternalDocumentsEvent extends UpdateInternalDocumentsEventOperationOneOf {
|
|
3196
|
-
/** insert/update documents */
|
|
3197
|
-
update?: InternalDocumentUpdateOperation;
|
|
3198
|
-
/** delete by document ids */
|
|
3199
|
-
deleteByIds?: DeleteByIdsOperation;
|
|
3200
|
-
/** delete documents matching filter */
|
|
3201
|
-
deleteByFilter?: DeleteByFilterOperation;
|
|
3202
|
-
/** update internal documents matching filter */
|
|
3203
|
-
updateByFilter?: InternalDocumentUpdateByFilterOperation;
|
|
3204
|
-
/** update only existing documents */
|
|
3205
|
-
updateExisting?: InternalUpdateExistingOperation;
|
|
3206
|
-
/** insert/update documents with versioning */
|
|
3207
|
-
versionedUpdate?: VersionedDocumentUpdateOperation;
|
|
3208
|
-
/** delete by document ids with versioning */
|
|
3209
|
-
versionedDeleteByIds?: VersionedDeleteByIdsOperation;
|
|
3210
|
-
/**
|
|
3211
|
-
* type of the documents
|
|
3212
|
-
* @minLength 2
|
|
3213
|
-
*/
|
|
3214
|
-
documentType?: string;
|
|
3215
|
-
/**
|
|
3216
|
-
* language of the documents (mandatory)
|
|
3217
|
-
* @minLength 2
|
|
3218
|
-
*/
|
|
3219
|
-
language?: string | null;
|
|
3220
|
-
/**
|
|
3221
|
-
* one or more search documents
|
|
3222
|
-
* @deprecated
|
|
3223
|
-
*/
|
|
3224
|
-
addDocuments?: InternalDocument[];
|
|
3225
|
-
/**
|
|
3226
|
-
* one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)
|
|
3227
|
-
* @deprecated
|
|
3228
|
-
*/
|
|
3229
|
-
removeDocumentIds?: string[];
|
|
3230
|
-
/** id to pass to processing notification */
|
|
3231
|
-
correlationId?: string | null;
|
|
3232
|
-
/** when event was created / issued */
|
|
3233
|
-
issuedAt?: Date | null;
|
|
3234
|
-
}
|
|
3235
|
-
/** @oneof */
|
|
3236
|
-
interface UpdateInternalDocumentsEventOperationOneOf {
|
|
3237
|
-
/** insert/update documents */
|
|
3238
|
-
update?: InternalDocumentUpdateOperation;
|
|
3239
|
-
/** delete by document ids */
|
|
3240
|
-
deleteByIds?: DeleteByIdsOperation;
|
|
3241
|
-
/** delete documents matching filter */
|
|
3242
|
-
deleteByFilter?: DeleteByFilterOperation;
|
|
3243
|
-
/** update internal documents matching filter */
|
|
3244
|
-
updateByFilter?: InternalDocumentUpdateByFilterOperation;
|
|
3245
|
-
/** update only existing documents */
|
|
3246
|
-
updateExisting?: InternalUpdateExistingOperation;
|
|
3247
|
-
/** insert/update documents with versioning */
|
|
3248
|
-
versionedUpdate?: VersionedDocumentUpdateOperation;
|
|
3249
|
-
/** delete by document ids with versioning */
|
|
3250
|
-
versionedDeleteByIds?: VersionedDeleteByIdsOperation;
|
|
3251
|
-
}
|
|
3252
|
-
interface InternalDocument {
|
|
3253
|
-
/** document with mandatory fields (id) and with fields specific to the type of the document */
|
|
3254
|
-
document?: Record<string, any> | null;
|
|
3255
|
-
}
|
|
3256
|
-
interface InternalDocumentUpdateOperation {
|
|
3257
|
-
/** documents to index or update */
|
|
3258
|
-
documents?: InternalDocument[];
|
|
3259
|
-
}
|
|
3260
|
-
interface DeleteByIdsOperation {
|
|
3261
|
-
/** ids of the documents to delete */
|
|
3262
|
-
documentIds?: string[];
|
|
3263
|
-
/**
|
|
3264
|
-
* tenant id for custom tenancy strategy
|
|
3265
|
-
* @minLength 2
|
|
3266
|
-
* @maxLength 300
|
|
3267
|
-
*/
|
|
3268
|
-
tenantId?: string | null;
|
|
3269
|
-
}
|
|
3270
|
-
interface DeleteByFilterOperation {
|
|
3271
|
-
/** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
|
|
3272
|
-
filter?: Record<string, any> | null;
|
|
3273
|
-
/**
|
|
3274
|
-
* tenant id for custom tenancy strategy
|
|
3275
|
-
* @minLength 2
|
|
3276
|
-
* @maxLength 300
|
|
3277
|
-
*/
|
|
3278
|
-
tenantId?: string | null;
|
|
3279
|
-
}
|
|
3280
|
-
interface InternalDocumentUpdateByFilterOperation {
|
|
3281
|
-
/** documents matching this filter will be updated */
|
|
3282
|
-
filter?: Record<string, any> | null;
|
|
3283
|
-
/** partial document to apply */
|
|
3284
|
-
document?: InternalDocument;
|
|
3285
|
-
/**
|
|
3286
|
-
* tenant id for custom tenancy strategy
|
|
3287
|
-
* @minLength 2
|
|
3288
|
-
* @maxLength 300
|
|
3289
|
-
*/
|
|
3290
|
-
tenantId?: string | null;
|
|
3291
|
-
}
|
|
3292
|
-
interface InternalUpdateExistingOperation {
|
|
3293
|
-
/** documents to update */
|
|
3294
|
-
documents?: InternalDocument[];
|
|
3295
|
-
}
|
|
3296
|
-
interface VersionedDocumentUpdateOperation {
|
|
3297
|
-
/** documents to create or overwrite */
|
|
3298
|
-
documents?: InternalDocument[];
|
|
3299
|
-
/** versioning mode to use instead of default */
|
|
3300
|
-
versioningMode?: VersioningModeWithLiterals;
|
|
3301
|
-
}
|
|
3302
|
-
declare enum VersioningMode {
|
|
3303
|
-
/** use default versioning mode agreed with search team */
|
|
3304
|
-
DEFAULT = "DEFAULT",
|
|
3305
|
-
/** execute only if version is greater than existing */
|
|
3306
|
-
GREATER_THAN = "GREATER_THAN",
|
|
3307
|
-
/** execute only if version is greater or equal to existing */
|
|
3308
|
-
GREATER_OR_EQUAL = "GREATER_OR_EQUAL"
|
|
3309
|
-
}
|
|
3310
|
-
/** @enumType */
|
|
3311
|
-
type VersioningModeWithLiterals = VersioningMode | 'DEFAULT' | 'GREATER_THAN' | 'GREATER_OR_EQUAL';
|
|
3312
|
-
interface VersionedDeleteByIdsOperation {
|
|
3313
|
-
/** ids with version of the documents to delete */
|
|
3314
|
-
documentIds?: VersionedDocumentId[];
|
|
3315
|
-
/**
|
|
3316
|
-
* tenant id for custom tenancy strategy
|
|
3317
|
-
* @minLength 2
|
|
3318
|
-
* @maxLength 300
|
|
3319
|
-
*/
|
|
3320
|
-
tenantId?: string | null;
|
|
3321
|
-
}
|
|
3322
|
-
interface VersionedDocumentId {
|
|
3323
|
-
/** document id */
|
|
3324
|
-
documentId?: string;
|
|
3325
|
-
/** document version */
|
|
3326
|
-
version?: string;
|
|
3327
|
-
/** versioning mode to use instead of default */
|
|
3328
|
-
versioningMode?: VersioningModeWithLiterals;
|
|
3329
|
-
}
|
|
3330
|
-
interface TriggerReindexRequest {
|
|
3331
|
-
/** @format GUID */
|
|
3332
|
-
metasiteId?: string;
|
|
3333
|
-
/**
|
|
3334
|
-
* @minLength 1
|
|
3335
|
-
* @maxLength 100
|
|
3336
|
-
* @maxSize 100
|
|
3337
|
-
*/
|
|
3338
|
-
orderIds?: string[];
|
|
3339
|
-
}
|
|
3340
|
-
interface TriggerReindexResponse {
|
|
3341
|
-
}
|
|
3342
|
-
interface Empty {
|
|
3343
|
-
}
|
|
3344
|
-
interface BatchOfTriggerReindexOrderRequest {
|
|
3345
|
-
/** @maxSize 25 */
|
|
3346
|
-
requests?: TriggerReindexOrderRequest[];
|
|
3347
|
-
}
|
|
3348
|
-
interface TriggerReindexOrderRequest {
|
|
3349
|
-
/** @format GUID */
|
|
3350
|
-
metasiteId?: string;
|
|
3351
|
-
/**
|
|
3352
|
-
* @minLength 1
|
|
3353
|
-
* @maxLength 100
|
|
3354
|
-
*/
|
|
3355
|
-
orderId?: string;
|
|
3356
|
-
}
|
|
3357
3224
|
interface SendBuyerConfirmationEmailRequest {
|
|
3358
3225
|
/** @format GUID */
|
|
3359
3226
|
orderId?: string;
|
|
@@ -3646,6 +3513,8 @@ interface PreviewResendDownloadLinksEmailRequest {
|
|
|
3646
3513
|
interface PreviewResendDownloadLinksEmailResponse {
|
|
3647
3514
|
emailPreview?: string;
|
|
3648
3515
|
}
|
|
3516
|
+
interface Empty {
|
|
3517
|
+
}
|
|
3649
3518
|
interface PreparePaymentCollectionRequest {
|
|
3650
3519
|
/**
|
|
3651
3520
|
* Ecom order ID.
|
|
@@ -4710,34 +4579,165 @@ interface ChargeSavedPaymentMethodResponse {
|
|
|
4710
4579
|
/** Payment gateway's order ID (e.g Wix Payments) */
|
|
4711
4580
|
paymentGatewayOrderId?: string;
|
|
4712
4581
|
}
|
|
4713
|
-
interface
|
|
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;
|
|
4714
4597
|
/**
|
|
4715
|
-
*
|
|
4716
|
-
* @
|
|
4717
|
-
* @max 100000
|
|
4598
|
+
* type of the documents
|
|
4599
|
+
* @minLength 2
|
|
4718
4600
|
*/
|
|
4719
|
-
|
|
4601
|
+
documentType?: string;
|
|
4720
4602
|
/**
|
|
4721
|
-
*
|
|
4722
|
-
* @
|
|
4723
|
-
* @maxSize 100
|
|
4603
|
+
* language of the documents (mandatory)
|
|
4604
|
+
* @minLength 2
|
|
4724
4605
|
*/
|
|
4725
|
-
|
|
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;
|
|
4726
4621
|
}
|
|
4727
|
-
|
|
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[];
|
|
4728
4650
|
/**
|
|
4729
|
-
*
|
|
4730
|
-
* @
|
|
4651
|
+
* tenant id for custom tenancy strategy
|
|
4652
|
+
* @minLength 2
|
|
4653
|
+
* @maxLength 300
|
|
4731
4654
|
*/
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
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;
|
|
4735
4660
|
/**
|
|
4736
|
-
*
|
|
4737
|
-
* @
|
|
4738
|
-
* @
|
|
4661
|
+
* tenant id for custom tenancy strategy
|
|
4662
|
+
* @minLength 2
|
|
4663
|
+
* @maxLength 300
|
|
4739
4664
|
*/
|
|
4740
|
-
|
|
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
4741
|
}
|
|
4742
4742
|
interface DiffmatokyPayload {
|
|
4743
4743
|
left?: 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";
|