@commercetools/history-sdk 5.1.0 → 5.2.1
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/CHANGELOG.md +26 -0
- package/README.md +9 -9
- package/dist/commercetools-history-sdk.browser.cjs.js +719 -0
- package/dist/commercetools-history-sdk.browser.esm.js +684 -1
- package/dist/commercetools-history-sdk.cjs.dev.js +719 -0
- package/dist/commercetools-history-sdk.cjs.prod.js +719 -0
- package/dist/commercetools-history-sdk.esm.js +684 -1
- package/dist/declarations/src/generated/models/change-history.d.ts +324 -5
- package/dist/declarations/src/generated/models/change-history.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/change-value.d.ts +22 -10
- package/dist/declarations/src/generated/models/change-value.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/change.d.ts +305 -288
- package/dist/declarations/src/generated/models/change.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/common.d.ts +265 -31
- package/dist/declarations/src/generated/models/common.d.ts.map +1 -1
- package/dist/declarations/src/generated/models/label.d.ts +19 -13
- package/dist/declarations/src/generated/models/label.d.ts.map +1 -1
- package/dist/declarations/src/generated/shared/utils/middleware.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -266,6 +266,689 @@ class ApiRoot {
|
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
+
/**
|
|
270
|
+
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
271
|
+
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
272
|
+
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Captures the differences between the previous and next version of a resource.
|
|
277
|
+
*
|
|
278
|
+
* The maximum number of Records that can be stored and their retention period are subject to a [limit](/../api/limits#records).
|
|
279
|
+
*
|
|
280
|
+
*/
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* [PagedQueryResult](/../api/general-concepts#pagedqueryresult) with `results` containing an array of [Record](ctp:history:type:Record).
|
|
284
|
+
*
|
|
285
|
+
*/
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Value of resource types supported in Change History.
|
|
289
|
+
*
|
|
290
|
+
*/
|
|
291
|
+
let ChangeHistoryResourceTypeValues = /*#__PURE__*/function (ChangeHistoryResourceTypeValues) {
|
|
292
|
+
ChangeHistoryResourceTypeValues["AssociateRole"] = "associate-role";
|
|
293
|
+
ChangeHistoryResourceTypeValues["BusinessUnit"] = "business-unit";
|
|
294
|
+
ChangeHistoryResourceTypeValues["CartDiscount"] = "cart-discount";
|
|
295
|
+
ChangeHistoryResourceTypeValues["Category"] = "category";
|
|
296
|
+
ChangeHistoryResourceTypeValues["Channel"] = "channel";
|
|
297
|
+
ChangeHistoryResourceTypeValues["Customer"] = "customer";
|
|
298
|
+
ChangeHistoryResourceTypeValues["CustomerGroup"] = "customer-group";
|
|
299
|
+
ChangeHistoryResourceTypeValues["DiscountCode"] = "discount-code";
|
|
300
|
+
ChangeHistoryResourceTypeValues["InventoryEntry"] = "inventory-entry";
|
|
301
|
+
ChangeHistoryResourceTypeValues["KeyValueDocument"] = "key-value-document";
|
|
302
|
+
ChangeHistoryResourceTypeValues["Order"] = "order";
|
|
303
|
+
ChangeHistoryResourceTypeValues["Payment"] = "payment";
|
|
304
|
+
ChangeHistoryResourceTypeValues["Product"] = "product";
|
|
305
|
+
ChangeHistoryResourceTypeValues["ProductDiscount"] = "product-discount";
|
|
306
|
+
ChangeHistoryResourceTypeValues["ProductSelection"] = "product-selection";
|
|
307
|
+
ChangeHistoryResourceTypeValues["ProductType"] = "product-type";
|
|
308
|
+
ChangeHistoryResourceTypeValues["Quote"] = "quote";
|
|
309
|
+
ChangeHistoryResourceTypeValues["QuoteRequest"] = "quote-request";
|
|
310
|
+
ChangeHistoryResourceTypeValues["Review"] = "review";
|
|
311
|
+
ChangeHistoryResourceTypeValues["ShoppingList"] = "shopping-list";
|
|
312
|
+
ChangeHistoryResourceTypeValues["StagedQuote"] = "staged-quote";
|
|
313
|
+
ChangeHistoryResourceTypeValues["State"] = "state";
|
|
314
|
+
ChangeHistoryResourceTypeValues["Store"] = "store";
|
|
315
|
+
ChangeHistoryResourceTypeValues["TaxCategory"] = "tax-category";
|
|
316
|
+
ChangeHistoryResourceTypeValues["Type"] = "type";
|
|
317
|
+
ChangeHistoryResourceTypeValues["Zone"] = "zone";
|
|
318
|
+
return ChangeHistoryResourceTypeValues;
|
|
319
|
+
}({});
|
|
320
|
+
/**
|
|
321
|
+
* This type consists of one enum value:
|
|
322
|
+
*
|
|
323
|
+
*/
|
|
324
|
+
let DateStringFilterValues = /*#__PURE__*/function (DateStringFilterValues) {
|
|
325
|
+
DateStringFilterValues["Now"] = "now";
|
|
326
|
+
return DateStringFilterValues;
|
|
327
|
+
}({});
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Information about the user or API Client who performed the change. This is a variant of [LastModifiedBy](ctp:api:type:LastModifiedBy).
|
|
331
|
+
*
|
|
332
|
+
*/
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Updates that are triggered automatically as a result of a user-initiated change.
|
|
336
|
+
*/
|
|
337
|
+
let PlatformInitiatedChangeValues = /*#__PURE__*/function (PlatformInitiatedChangeValues) {
|
|
338
|
+
PlatformInitiatedChangeValues["ChangeLineItemName"] = "changeLineItemName";
|
|
339
|
+
PlatformInitiatedChangeValues["ChangeReviewRatingStatistics"] = "changeReviewRatingStatistics";
|
|
340
|
+
PlatformInitiatedChangeValues["ExcludeAll"] = "excludeAll";
|
|
341
|
+
PlatformInitiatedChangeValues["SetApplicationVersion"] = "setApplicationVersion";
|
|
342
|
+
PlatformInitiatedChangeValues["SetIsValid"] = "setIsValid";
|
|
343
|
+
PlatformInitiatedChangeValues["SetVariantAvailability"] = "setVariantAvailability";
|
|
344
|
+
return PlatformInitiatedChangeValues;
|
|
345
|
+
}({});
|
|
346
|
+
/**
|
|
347
|
+
* Source of change for the resource.
|
|
348
|
+
*/
|
|
349
|
+
let SourceValues = /*#__PURE__*/function (SourceValues) {
|
|
350
|
+
SourceValues["ApiClient"] = "ApiClient";
|
|
351
|
+
SourceValues["ImpEx"] = "ImpEx";
|
|
352
|
+
SourceValues["MerchantCenter"] = "MerchantCenter";
|
|
353
|
+
return SourceValues;
|
|
354
|
+
}({});
|
|
355
|
+
let UpdateTypeValues = /*#__PURE__*/function (UpdateTypeValues) {
|
|
356
|
+
UpdateTypeValues["AddAddress"] = "addAddress";
|
|
357
|
+
UpdateTypeValues["AddAsset"] = "addAsset";
|
|
358
|
+
UpdateTypeValues["AddAssociate"] = "addAssociate";
|
|
359
|
+
UpdateTypeValues["AddAttributeDefinition"] = "addAttributeDefinition";
|
|
360
|
+
UpdateTypeValues["AddBillingAddressId"] = "addBillingAddressId";
|
|
361
|
+
UpdateTypeValues["AddCustomLineItem"] = "addCustomLineItem";
|
|
362
|
+
UpdateTypeValues["AddDelivery"] = "addDelivery";
|
|
363
|
+
UpdateTypeValues["AddDiscountCode"] = "addDiscountCode";
|
|
364
|
+
UpdateTypeValues["AddEnumValue"] = "addEnumValue";
|
|
365
|
+
UpdateTypeValues["AddExternalImage"] = "addExternalImage";
|
|
366
|
+
UpdateTypeValues["AddFieldDefinition"] = "addFieldDefinition";
|
|
367
|
+
UpdateTypeValues["AddInterfaceInteraction"] = "addInterfaceInteraction";
|
|
368
|
+
UpdateTypeValues["AddItemShippingAddress"] = "addItemShippingAddress";
|
|
369
|
+
UpdateTypeValues["AddLineItem"] = "addLineItem";
|
|
370
|
+
UpdateTypeValues["AddLocalizedEnumValue"] = "addLocalizedEnumValue";
|
|
371
|
+
UpdateTypeValues["AddLocation"] = "addLocation";
|
|
372
|
+
UpdateTypeValues["AddParcelToDelivery"] = "addParcelToDelivery";
|
|
373
|
+
UpdateTypeValues["AddPayment"] = "addPayment";
|
|
374
|
+
UpdateTypeValues["AddPlainEnumValue"] = "addPlainEnumValue";
|
|
375
|
+
UpdateTypeValues["AddPrice"] = "addPrice";
|
|
376
|
+
UpdateTypeValues["AddProduct"] = "addProduct";
|
|
377
|
+
UpdateTypeValues["AddProductSelection"] = "addProductSelection";
|
|
378
|
+
UpdateTypeValues["AddProperty"] = "addProperty";
|
|
379
|
+
UpdateTypeValues["AddReturnInfo"] = "addReturnInfo";
|
|
380
|
+
UpdateTypeValues["AddRoles"] = "addRoles";
|
|
381
|
+
UpdateTypeValues["AddShippingAddressId"] = "addShippingAddressId";
|
|
382
|
+
UpdateTypeValues["AddTaxRate"] = "addTaxRate";
|
|
383
|
+
UpdateTypeValues["AddTextLineItem"] = "addTextLineItem";
|
|
384
|
+
UpdateTypeValues["AddToCategory"] = "addToCategory";
|
|
385
|
+
UpdateTypeValues["AddTransaction"] = "addTransaction";
|
|
386
|
+
UpdateTypeValues["AddVariant"] = "addVariant";
|
|
387
|
+
UpdateTypeValues["ChangeAddress"] = "changeAddress";
|
|
388
|
+
UpdateTypeValues["ChangeAmountAuthorized"] = "changeAmountAuthorized";
|
|
389
|
+
UpdateTypeValues["ChangeAmountPlanned"] = "changeAmountPlanned";
|
|
390
|
+
UpdateTypeValues["ChangeAssetName"] = "changeAssetName";
|
|
391
|
+
UpdateTypeValues["ChangeAssetOrder"] = "changeAssetOrder";
|
|
392
|
+
UpdateTypeValues["ChangeAssociate"] = "changeAssociate";
|
|
393
|
+
UpdateTypeValues["ChangeAssociateMode"] = "changeAssociateMode";
|
|
394
|
+
UpdateTypeValues["ChangeAttributeConstraint"] = "changeAttributeConstraint";
|
|
395
|
+
UpdateTypeValues["ChangeAttributeName"] = "changeAttributeName";
|
|
396
|
+
UpdateTypeValues["ChangeAttributeOrderByName"] = "changeAttributeOrderByName";
|
|
397
|
+
UpdateTypeValues["ChangeCartDiscounts"] = "changeCartDiscounts";
|
|
398
|
+
UpdateTypeValues["ChangeCartPredicate"] = "changeCartPredicate";
|
|
399
|
+
UpdateTypeValues["ChangeCustomLineItemQuantity"] = "changeCustomLineItemQuantity";
|
|
400
|
+
UpdateTypeValues["ChangeDescription"] = "changeDescription";
|
|
401
|
+
UpdateTypeValues["ChangeEmail"] = "changeEmail";
|
|
402
|
+
UpdateTypeValues["ChangeEnumKey"] = "changeEnumKey";
|
|
403
|
+
UpdateTypeValues["ChangeEnumValueLabel"] = "changeEnumValueLabel";
|
|
404
|
+
UpdateTypeValues["ChangeEnumValueOrder"] = "changeEnumValueOrder";
|
|
405
|
+
UpdateTypeValues["ChangeFieldDefinitionOrder"] = "changeFieldDefinitionOrder";
|
|
406
|
+
UpdateTypeValues["ChangeGroups"] = "changeGroups";
|
|
407
|
+
UpdateTypeValues["ChangeInitial"] = "changeInitial";
|
|
408
|
+
UpdateTypeValues["ChangeInputHint"] = "changeInputHint";
|
|
409
|
+
UpdateTypeValues["ChangeIsActive"] = "changeIsActive";
|
|
410
|
+
UpdateTypeValues["ChangeIsSearchable"] = "changeIsSearchable";
|
|
411
|
+
UpdateTypeValues["ChangeKey"] = "changeKey";
|
|
412
|
+
UpdateTypeValues["ChangeLabel"] = "changeLabel";
|
|
413
|
+
UpdateTypeValues["ChangeLineItemName"] = "changeLineItemName";
|
|
414
|
+
UpdateTypeValues["ChangeLineItemQuantity"] = "changeLineItemQuantity";
|
|
415
|
+
UpdateTypeValues["ChangeLineItemsOrder"] = "changeLineItemsOrder";
|
|
416
|
+
UpdateTypeValues["ChangeLocalizedEnumValueLabel"] = "changeLocalizedEnumValueLabel";
|
|
417
|
+
UpdateTypeValues["ChangeLocalizedEnumValueOrder"] = "changeLocalizedEnumValueOrder";
|
|
418
|
+
UpdateTypeValues["ChangeMasterVariant"] = "changeMasterVariant";
|
|
419
|
+
UpdateTypeValues["ChangeName"] = "changeName";
|
|
420
|
+
UpdateTypeValues["ChangeOrderHint"] = "changeOrderHint";
|
|
421
|
+
UpdateTypeValues["ChangeOrderState"] = "changeOrderState";
|
|
422
|
+
UpdateTypeValues["ChangeParent"] = "changeParent";
|
|
423
|
+
UpdateTypeValues["ChangeParentUnit"] = "changeParentUnit";
|
|
424
|
+
UpdateTypeValues["ChangePaymentState"] = "changePaymentState";
|
|
425
|
+
UpdateTypeValues["ChangePlainEnumValueLabel"] = "changePlainEnumValueLabel";
|
|
426
|
+
UpdateTypeValues["ChangePredicate"] = "changePredicate";
|
|
427
|
+
UpdateTypeValues["ChangePrice"] = "changePrice";
|
|
428
|
+
UpdateTypeValues["ChangeProductSelectionActive"] = "changeProductSelectionActive";
|
|
429
|
+
UpdateTypeValues["ChangeQuantity"] = "changeQuantity";
|
|
430
|
+
UpdateTypeValues["ChangeQuoteRequestState"] = "changeQuoteRequestState";
|
|
431
|
+
UpdateTypeValues["ChangeQuoteState"] = "changeQuoteState";
|
|
432
|
+
UpdateTypeValues["ChangeRequiresDiscountCode"] = "changeRequiresDiscountCode";
|
|
433
|
+
UpdateTypeValues["ChangeReviewRatingStatistics"] = "changeReviewRatingStatistics";
|
|
434
|
+
UpdateTypeValues["ChangeShipmentState"] = "changeShipmentState";
|
|
435
|
+
UpdateTypeValues["ChangeSlug"] = "changeSlug";
|
|
436
|
+
UpdateTypeValues["ChangeSortOrder"] = "changeSortOrder";
|
|
437
|
+
UpdateTypeValues["ChangeStackingMode"] = "changeStackingMode";
|
|
438
|
+
UpdateTypeValues["ChangeStagedQuoteState"] = "changeStagedQuoteState";
|
|
439
|
+
UpdateTypeValues["ChangeStatus"] = "changeStatus";
|
|
440
|
+
UpdateTypeValues["ChangeTarget"] = "changeTarget";
|
|
441
|
+
UpdateTypeValues["ChangeTaxCalculationMode"] = "changeTaxCalculationMode";
|
|
442
|
+
UpdateTypeValues["ChangeTaxMode"] = "changeTaxMode";
|
|
443
|
+
UpdateTypeValues["ChangeTaxRoundingMode"] = "changeTaxRoundingMode";
|
|
444
|
+
UpdateTypeValues["ChangeTextLineItemName"] = "changeTextLineItemName";
|
|
445
|
+
UpdateTypeValues["ChangeTextLineItemQuantity"] = "changeTextLineItemQuantity";
|
|
446
|
+
UpdateTypeValues["ChangeTextLineItemsOrder"] = "changeTextLineItemsOrder";
|
|
447
|
+
UpdateTypeValues["ChangeTransactionInteractionId"] = "changeTransactionInteractionId";
|
|
448
|
+
UpdateTypeValues["ChangeTransactionState"] = "changeTransactionState";
|
|
449
|
+
UpdateTypeValues["ChangeTransactionTimestamp"] = "changeTransactionTimestamp";
|
|
450
|
+
UpdateTypeValues["ChangeType"] = "changeType";
|
|
451
|
+
UpdateTypeValues["ChangeValue"] = "changeValue";
|
|
452
|
+
UpdateTypeValues["MoveImageToPosition"] = "moveImageToPosition";
|
|
453
|
+
UpdateTypeValues["Publish"] = "publish";
|
|
454
|
+
UpdateTypeValues["RemoveAddress"] = "removeAddress";
|
|
455
|
+
UpdateTypeValues["RemoveAsset"] = "removeAsset";
|
|
456
|
+
UpdateTypeValues["RemoveAssociate"] = "removeAssociate";
|
|
457
|
+
UpdateTypeValues["RemoveAttributeDefinition"] = "removeAttributeDefinition";
|
|
458
|
+
UpdateTypeValues["RemoveBillingAddressId"] = "removeBillingAddressId";
|
|
459
|
+
UpdateTypeValues["RemoveCustomLineItem"] = "removeCustomLineItem";
|
|
460
|
+
UpdateTypeValues["RemoveDelivery"] = "removeDelivery";
|
|
461
|
+
UpdateTypeValues["RemoveDiscountCode"] = "removeDiscountCode";
|
|
462
|
+
UpdateTypeValues["RemoveEnumValues"] = "removeEnumValues";
|
|
463
|
+
UpdateTypeValues["RemoveFieldDefinition"] = "removeFieldDefinition";
|
|
464
|
+
UpdateTypeValues["RemoveFromCategory"] = "removeFromCategory";
|
|
465
|
+
UpdateTypeValues["RemoveImage"] = "removeImage";
|
|
466
|
+
UpdateTypeValues["RemoveItemShippingAddress"] = "removeItemShippingAddress";
|
|
467
|
+
UpdateTypeValues["RemoveLineItem"] = "removeLineItem";
|
|
468
|
+
UpdateTypeValues["RemoveLocation"] = "removeLocation";
|
|
469
|
+
UpdateTypeValues["RemoveParcelFromDelivery"] = "removeParcelFromDelivery";
|
|
470
|
+
UpdateTypeValues["RemovePayment"] = "removePayment";
|
|
471
|
+
UpdateTypeValues["RemovePrice"] = "removePrice";
|
|
472
|
+
UpdateTypeValues["RemoveProduct"] = "removeProduct";
|
|
473
|
+
UpdateTypeValues["RemoveProductSelection"] = "removeProductSelection";
|
|
474
|
+
UpdateTypeValues["RemoveProperty"] = "removeProperty";
|
|
475
|
+
UpdateTypeValues["RemoveRoles"] = "removeRoles";
|
|
476
|
+
UpdateTypeValues["RemoveShippingAddressId"] = "removeShippingAddressId";
|
|
477
|
+
UpdateTypeValues["RemoveTaxRate"] = "removeTaxRate";
|
|
478
|
+
UpdateTypeValues["RemoveTextLineItem"] = "removeTextLineItem";
|
|
479
|
+
UpdateTypeValues["RemoveVariant"] = "removeVariant";
|
|
480
|
+
UpdateTypeValues["RequestQuoteRenegotiation"] = "requestQuoteRenegotiation";
|
|
481
|
+
UpdateTypeValues["SetAddress"] = "setAddress";
|
|
482
|
+
UpdateTypeValues["SetAddressCustomField"] = "setAddressCustomField";
|
|
483
|
+
UpdateTypeValues["SetAddressCustomType"] = "setAddressCustomType";
|
|
484
|
+
UpdateTypeValues["SetAnonymousId"] = "setAnonymousId";
|
|
485
|
+
UpdateTypeValues["SetApplicationVersion"] = "setApplicationVersion";
|
|
486
|
+
UpdateTypeValues["SetAssetCustomField"] = "setAssetCustomField";
|
|
487
|
+
UpdateTypeValues["SetAssetCustomType"] = "setAssetCustomType";
|
|
488
|
+
UpdateTypeValues["SetAssetDescription"] = "setAssetDescription";
|
|
489
|
+
UpdateTypeValues["SetAssetKey"] = "setAssetKey";
|
|
490
|
+
UpdateTypeValues["SetAssetSources"] = "setAssetSources";
|
|
491
|
+
UpdateTypeValues["SetAssetTags"] = "setAssetTags";
|
|
492
|
+
UpdateTypeValues["SetAttribute"] = "setAttribute";
|
|
493
|
+
UpdateTypeValues["SetAuthenticationMode"] = "setAuthenticationMode";
|
|
494
|
+
UpdateTypeValues["SetAuthorName"] = "setAuthorName";
|
|
495
|
+
UpdateTypeValues["SetBillingAddress"] = "setBillingAddress";
|
|
496
|
+
UpdateTypeValues["SetCartPredicate"] = "setCartPredicate";
|
|
497
|
+
UpdateTypeValues["SetCategoryOrderHint"] = "setCategoryOrderHint";
|
|
498
|
+
UpdateTypeValues["SetCompanyName"] = "setCompanyName";
|
|
499
|
+
UpdateTypeValues["SetContactEmail"] = "setContactEmail";
|
|
500
|
+
UpdateTypeValues["SetCountries"] = "setCountries";
|
|
501
|
+
UpdateTypeValues["SetCountry"] = "setCountry";
|
|
502
|
+
UpdateTypeValues["SetCustomField"] = "setCustomField";
|
|
503
|
+
UpdateTypeValues["SetCustomLineItemCustomField"] = "setCustomLineItemCustomField";
|
|
504
|
+
UpdateTypeValues["SetCustomLineItemCustomType"] = "setCustomLineItemCustomType";
|
|
505
|
+
UpdateTypeValues["SetCustomLineItemMoney"] = "setCustomLineItemMoney";
|
|
506
|
+
UpdateTypeValues["SetCustomLineItemShippingDetails"] = "setCustomLineItemShippingDetails";
|
|
507
|
+
UpdateTypeValues["SetCustomLineItemTaxAmount"] = "setCustomLineItemTaxAmount";
|
|
508
|
+
UpdateTypeValues["SetCustomLineItemTaxCategory"] = "setCustomLineItemTaxCategory";
|
|
509
|
+
UpdateTypeValues["SetCustomLineItemTaxRate"] = "setCustomLineItemTaxRate";
|
|
510
|
+
UpdateTypeValues["SetCustomLineItemTaxedPrice"] = "setCustomLineItemTaxedPrice";
|
|
511
|
+
UpdateTypeValues["SetCustomLineItemTotalPrice"] = "setCustomLineItemTotalPrice";
|
|
512
|
+
UpdateTypeValues["SetCustomShippingMethod"] = "setCustomShippingMethod";
|
|
513
|
+
UpdateTypeValues["SetCustomType"] = "setCustomType";
|
|
514
|
+
UpdateTypeValues["SetCustomer"] = "setCustomer";
|
|
515
|
+
UpdateTypeValues["SetCustomerEmail"] = "setCustomerEmail";
|
|
516
|
+
UpdateTypeValues["SetCustomerGroup"] = "setCustomerGroup";
|
|
517
|
+
UpdateTypeValues["SetCustomerId"] = "setCustomerId";
|
|
518
|
+
UpdateTypeValues["SetCustomerNumber"] = "setCustomerNumber";
|
|
519
|
+
UpdateTypeValues["SetDateOfBirth"] = "setDateOfBirth";
|
|
520
|
+
UpdateTypeValues["SetDefaultBillingAddress"] = "setDefaultBillingAddress";
|
|
521
|
+
UpdateTypeValues["SetDefaultShippingAddress"] = "setDefaultShippingAddress";
|
|
522
|
+
UpdateTypeValues["SetDeleteDaysAfterLastModification"] = "setDeleteDaysAfterLastModification";
|
|
523
|
+
UpdateTypeValues["SetDeliveryAddress"] = "setDeliveryAddress";
|
|
524
|
+
UpdateTypeValues["SetDeliveryItems"] = "setDeliveryItems";
|
|
525
|
+
UpdateTypeValues["SetDescription"] = "setDescription";
|
|
526
|
+
UpdateTypeValues["SetDiscountedPrice"] = "setDiscountedPrice";
|
|
527
|
+
UpdateTypeValues["SetDistributionChannels"] = "setDistributionChannels";
|
|
528
|
+
UpdateTypeValues["SetExpectedDelivery"] = "setExpectedDelivery";
|
|
529
|
+
UpdateTypeValues["SetExternalId"] = "setExternalId";
|
|
530
|
+
UpdateTypeValues["SetFirstName"] = "setFirstName";
|
|
531
|
+
UpdateTypeValues["SetGeoLocation"] = "setGeoLocation";
|
|
532
|
+
UpdateTypeValues["SetImageLabel"] = "setImageLabel";
|
|
533
|
+
UpdateTypeValues["SetInputTip"] = "setInputTip";
|
|
534
|
+
UpdateTypeValues["SetInterfaceId"] = "setInterfaceId";
|
|
535
|
+
UpdateTypeValues["SetIsValid"] = "setIsValid";
|
|
536
|
+
UpdateTypeValues["SetKey"] = "setKey";
|
|
537
|
+
UpdateTypeValues["SetLanguages"] = "setLanguages";
|
|
538
|
+
UpdateTypeValues["SetLastName"] = "setLastName";
|
|
539
|
+
UpdateTypeValues["SetLineItemCustomField"] = "setLineItemCustomField";
|
|
540
|
+
UpdateTypeValues["SetLineItemCustomType"] = "setLineItemCustomType";
|
|
541
|
+
UpdateTypeValues["SetLineItemDeactivatedAt"] = "setLineItemDeactivatedAt";
|
|
542
|
+
UpdateTypeValues["SetLineItemDiscountedPrice"] = "setLineItemDiscountedPrice";
|
|
543
|
+
UpdateTypeValues["SetLineItemDiscountedPricePerQuantity"] = "setLineItemDiscountedPricePerQuantity";
|
|
544
|
+
UpdateTypeValues["SetLineItemDistributionChannel"] = "setLineItemDistributionChannel";
|
|
545
|
+
UpdateTypeValues["SetLineItemPrice"] = "setLineItemPrice";
|
|
546
|
+
UpdateTypeValues["SetLineItemProductKey"] = "setLineItemProductKey";
|
|
547
|
+
UpdateTypeValues["SetLineItemProductSlug"] = "setLineItemProductSlug";
|
|
548
|
+
UpdateTypeValues["SetLineItemShippingDetails"] = "setLineItemShippingDetails";
|
|
549
|
+
UpdateTypeValues["SetLineItemTaxAmount"] = "setLineItemTaxAmount";
|
|
550
|
+
UpdateTypeValues["SetLineItemTaxRate"] = "setLineItemTaxRate";
|
|
551
|
+
UpdateTypeValues["SetLineItemTaxedPrice"] = "setLineItemTaxedPrice";
|
|
552
|
+
UpdateTypeValues["SetLineItemTotalPrice"] = "setLineItemTotalPrice";
|
|
553
|
+
UpdateTypeValues["SetLocale"] = "setLocale";
|
|
554
|
+
UpdateTypeValues["SetMaxApplications"] = "setMaxApplications";
|
|
555
|
+
UpdateTypeValues["SetMaxApplicationsPerCustomer"] = "setMaxApplicationsPerCustomer";
|
|
556
|
+
UpdateTypeValues["SetMetaDescription"] = "setMetaDescription";
|
|
557
|
+
UpdateTypeValues["SetMetaKeywords"] = "setMetaKeywords";
|
|
558
|
+
UpdateTypeValues["SetMetaTitle"] = "setMetaTitle";
|
|
559
|
+
UpdateTypeValues["SetMethodInfoInterface"] = "setMethodInfoInterface";
|
|
560
|
+
UpdateTypeValues["SetMethodInfoMethod"] = "setMethodInfoMethod";
|
|
561
|
+
UpdateTypeValues["SetMethodInfoName"] = "setMethodInfoName";
|
|
562
|
+
UpdateTypeValues["SetMiddleName"] = "setMiddleName";
|
|
563
|
+
UpdateTypeValues["SetName"] = "setName";
|
|
564
|
+
UpdateTypeValues["SetOrderNumber"] = "setOrderNumber";
|
|
565
|
+
UpdateTypeValues["SetOrderTaxedPrice"] = "setOrderTaxedPrice";
|
|
566
|
+
UpdateTypeValues["SetOrderTotalPrice"] = "setOrderTotalPrice";
|
|
567
|
+
UpdateTypeValues["SetOrderTotalTax"] = "setOrderTotalTax";
|
|
568
|
+
UpdateTypeValues["SetParcelItems"] = "setParcelItems";
|
|
569
|
+
UpdateTypeValues["SetParcelMeasurements"] = "setParcelMeasurements";
|
|
570
|
+
UpdateTypeValues["SetParcelTrackingData"] = "setParcelTrackingData";
|
|
571
|
+
UpdateTypeValues["SetPassword"] = "setPassword";
|
|
572
|
+
UpdateTypeValues["SetPrices"] = "setPrices";
|
|
573
|
+
UpdateTypeValues["SetProductCount"] = "setProductCount";
|
|
574
|
+
UpdateTypeValues["SetProductPriceCustomField"] = "setProductPriceCustomField";
|
|
575
|
+
UpdateTypeValues["SetProductPriceCustomType"] = "setProductPriceCustomType";
|
|
576
|
+
UpdateTypeValues["SetProductSelections"] = "setProductSelections";
|
|
577
|
+
UpdateTypeValues["SetProductVariantKey"] = "setProductVariantKey";
|
|
578
|
+
UpdateTypeValues["SetProperty"] = "setProperty";
|
|
579
|
+
UpdateTypeValues["SetPurchaseOrderNumber"] = "setPurchaseOrderNumber";
|
|
580
|
+
UpdateTypeValues["SetRating"] = "setRating";
|
|
581
|
+
UpdateTypeValues["SetReservations"] = "setReservations";
|
|
582
|
+
UpdateTypeValues["SetRestockableInDays"] = "setRestockableInDays";
|
|
583
|
+
UpdateTypeValues["SetReturnPaymentState"] = "setReturnPaymentState";
|
|
584
|
+
UpdateTypeValues["SetReturnShipmentState"] = "setReturnShipmentState";
|
|
585
|
+
UpdateTypeValues["SetRoles"] = "setRoles";
|
|
586
|
+
UpdateTypeValues["SetSalutation"] = "setSalutation";
|
|
587
|
+
UpdateTypeValues["SetSearchKeywords"] = "setSearchKeywords";
|
|
588
|
+
UpdateTypeValues["SetSellerComment"] = "setSellerComment";
|
|
589
|
+
UpdateTypeValues["SetShippingAddress"] = "setShippingAddress";
|
|
590
|
+
UpdateTypeValues["SetShippingInfoPrice"] = "setShippingInfoPrice";
|
|
591
|
+
UpdateTypeValues["SetShippingInfoTaxedPrice"] = "setShippingInfoTaxedPrice";
|
|
592
|
+
UpdateTypeValues["SetShippingMethod"] = "setShippingMethod";
|
|
593
|
+
UpdateTypeValues["SetShippingMethodTaxAmount"] = "setShippingMethodTaxAmount";
|
|
594
|
+
UpdateTypeValues["SetShippingMethodTaxRate"] = "setShippingMethodTaxRate";
|
|
595
|
+
UpdateTypeValues["SetShippingRate"] = "setShippingRate";
|
|
596
|
+
UpdateTypeValues["SetShippingRateInput"] = "setShippingRateInput";
|
|
597
|
+
UpdateTypeValues["SetSku"] = "setSku";
|
|
598
|
+
UpdateTypeValues["SetSlug"] = "setSlug";
|
|
599
|
+
UpdateTypeValues["SetStatusInterfaceCode"] = "setStatusInterfaceCode";
|
|
600
|
+
UpdateTypeValues["SetStatusInterfaceText"] = "setStatusInterfaceText";
|
|
601
|
+
UpdateTypeValues["SetStore"] = "setStore";
|
|
602
|
+
UpdateTypeValues["SetStoreMode"] = "setStoreMode";
|
|
603
|
+
UpdateTypeValues["SetStores"] = "setStores";
|
|
604
|
+
UpdateTypeValues["SetSupplyChannel"] = "setSupplyChannel";
|
|
605
|
+
UpdateTypeValues["SetSupplyChannels"] = "setSupplyChannels";
|
|
606
|
+
UpdateTypeValues["SetTarget"] = "setTarget";
|
|
607
|
+
UpdateTypeValues["SetTaxCategory"] = "setTaxCategory";
|
|
608
|
+
UpdateTypeValues["SetText"] = "setText";
|
|
609
|
+
UpdateTypeValues["SetTextLineItemCustomField"] = "setTextLineItemCustomField";
|
|
610
|
+
UpdateTypeValues["SetTextLineItemCustomType"] = "setTextLineItemCustomType";
|
|
611
|
+
UpdateTypeValues["SetTextLineItemDescription"] = "setTextLineItemDescription";
|
|
612
|
+
UpdateTypeValues["SetTitle"] = "setTitle";
|
|
613
|
+
UpdateTypeValues["SetTransitions"] = "setTransitions";
|
|
614
|
+
UpdateTypeValues["SetValidFrom"] = "setValidFrom";
|
|
615
|
+
UpdateTypeValues["SetValidFromAndUntil"] = "setValidFromAndUntil";
|
|
616
|
+
UpdateTypeValues["SetValidTo"] = "setValidTo";
|
|
617
|
+
UpdateTypeValues["SetValidUntil"] = "setValidUntil";
|
|
618
|
+
UpdateTypeValues["SetValue"] = "setValue";
|
|
619
|
+
UpdateTypeValues["SetVariantAvailability"] = "setVariantAvailability";
|
|
620
|
+
UpdateTypeValues["SetVariantSelection"] = "setVariantSelection";
|
|
621
|
+
UpdateTypeValues["SetVatId"] = "setVatId";
|
|
622
|
+
UpdateTypeValues["TransitionCustomLineItemState"] = "transitionCustomLineItemState";
|
|
623
|
+
UpdateTypeValues["TransitionLineItemState"] = "transitionLineItemState";
|
|
624
|
+
UpdateTypeValues["TransitionState"] = "transitionState";
|
|
625
|
+
UpdateTypeValues["Unpublish"] = "unpublish";
|
|
626
|
+
UpdateTypeValues["UpdateItemShippingAddress"] = "updateItemShippingAddress";
|
|
627
|
+
UpdateTypeValues["UpdateSyncInfo"] = "updateSyncInfo";
|
|
628
|
+
UpdateTypeValues["VerifyEmail"] = "verifyEmail";
|
|
629
|
+
return UpdateTypeValues;
|
|
630
|
+
}({});
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
634
|
+
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
|
|
635
|
+
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
|
|
636
|
+
*/
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Determines whether an [AssociateRoleAssignment](ctp:api:type:AssociateRoleAssignment) can be inherited by child Business Units.
|
|
640
|
+
*/
|
|
641
|
+
let AssociateRoleInheritanceModeValues = /*#__PURE__*/function (AssociateRoleInheritanceModeValues) {
|
|
642
|
+
AssociateRoleInheritanceModeValues["Disabled"] = "Disabled";
|
|
643
|
+
AssociateRoleInheritanceModeValues["Enabled"] = "Enabled";
|
|
644
|
+
return AssociateRoleInheritanceModeValues;
|
|
645
|
+
}({});
|
|
646
|
+
let AttributeConstraintEnumValues = /*#__PURE__*/function (AttributeConstraintEnumValues) {
|
|
647
|
+
AttributeConstraintEnumValues["CombinationUnique"] = "CombinationUnique";
|
|
648
|
+
AttributeConstraintEnumValues["None"] = "None";
|
|
649
|
+
AttributeConstraintEnumValues["SameForAll"] = "SameForAll";
|
|
650
|
+
AttributeConstraintEnumValues["Unique"] = "Unique";
|
|
651
|
+
return AttributeConstraintEnumValues;
|
|
652
|
+
}({});
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* A localized enum value must be unique within the enum, else a [DuplicateEnumValues](ctp:api:type:DuplicateEnumValuesError) error is returned.
|
|
656
|
+
*
|
|
657
|
+
*/
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* A plain enum value must be unique within the enum, else a [DuplicateEnumValues](ctp:api:type:DuplicateEnumValuesError) error is returned.
|
|
661
|
+
*
|
|
662
|
+
*/
|
|
663
|
+
|
|
664
|
+
let AuthenticationModeValues = /*#__PURE__*/function (AuthenticationModeValues) {
|
|
665
|
+
AuthenticationModeValues["ExternalAuth"] = "ExternalAuth";
|
|
666
|
+
AuthenticationModeValues["Password"] = "Password";
|
|
667
|
+
return AuthenticationModeValues;
|
|
668
|
+
}({});
|
|
669
|
+
/**
|
|
670
|
+
* Determines whether a Business Unit can inherit Associates from a parent.
|
|
671
|
+
*/
|
|
672
|
+
let BusinessUnitAssociateModeValues = /*#__PURE__*/function (BusinessUnitAssociateModeValues) {
|
|
673
|
+
BusinessUnitAssociateModeValues["Explicit"] = "Explicit";
|
|
674
|
+
BusinessUnitAssociateModeValues["ExplicitAndFromParent"] = "ExplicitAndFromParent";
|
|
675
|
+
return BusinessUnitAssociateModeValues;
|
|
676
|
+
}({});
|
|
677
|
+
/**
|
|
678
|
+
* Indicates whether the Business Unit can be edited and used in [Carts](ctp:api:type:Cart), [Orders](ctp:api:type:Order), [Quote Requests](ctp:api:type:QuoteRequest), or [Quotes](ctp:api:type:Quote).
|
|
679
|
+
*/
|
|
680
|
+
let BusinessUnitStatusValues = /*#__PURE__*/function (BusinessUnitStatusValues) {
|
|
681
|
+
BusinessUnitStatusValues["Active"] = "Active";
|
|
682
|
+
BusinessUnitStatusValues["Inactive"] = "Inactive";
|
|
683
|
+
return BusinessUnitStatusValues;
|
|
684
|
+
}({});
|
|
685
|
+
/**
|
|
686
|
+
* Defines whether the Stores of the Business Unit are set directly on the Business Unit or are inherited from its parent unit.
|
|
687
|
+
*/
|
|
688
|
+
let BusinessUnitStoreModeValues = /*#__PURE__*/function (BusinessUnitStoreModeValues) {
|
|
689
|
+
BusinessUnitStoreModeValues["Explicit"] = "Explicit";
|
|
690
|
+
BusinessUnitStoreModeValues["FromParent"] = "FromParent";
|
|
691
|
+
return BusinessUnitStoreModeValues;
|
|
692
|
+
}({});
|
|
693
|
+
/**
|
|
694
|
+
* Describes the purpose and type of the Channel. A Channel can have one or more roles.
|
|
695
|
+
*
|
|
696
|
+
*/
|
|
697
|
+
let ChannelRoleEnumValues = /*#__PURE__*/function (ChannelRoleEnumValues) {
|
|
698
|
+
ChannelRoleEnumValues["InventorySupply"] = "InventorySupply";
|
|
699
|
+
ChannelRoleEnumValues["OrderExport"] = "OrderExport";
|
|
700
|
+
ChannelRoleEnumValues["OrderImport"] = "OrderImport";
|
|
701
|
+
ChannelRoleEnumValues["Primary"] = "Primary";
|
|
702
|
+
ChannelRoleEnumValues["ProductDistribution"] = "ProductDistribution";
|
|
703
|
+
return ChannelRoleEnumValues;
|
|
704
|
+
}({});
|
|
705
|
+
let DiscountCodeStateValues = /*#__PURE__*/function (DiscountCodeStateValues) {
|
|
706
|
+
DiscountCodeStateValues["ApplicationStoppedByPreviousDiscount"] = "ApplicationStoppedByPreviousDiscount";
|
|
707
|
+
DiscountCodeStateValues["DoesNotMatchCart"] = "DoesNotMatchCart";
|
|
708
|
+
DiscountCodeStateValues["MatchesCart"] = "MatchesCart";
|
|
709
|
+
DiscountCodeStateValues["MaxApplicationReached"] = "MaxApplicationReached";
|
|
710
|
+
DiscountCodeStateValues["NotActive"] = "NotActive";
|
|
711
|
+
DiscountCodeStateValues["NotValid"] = "NotValid";
|
|
712
|
+
return DiscountCodeStateValues;
|
|
713
|
+
}({});
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Shape of the value for `addLocation` and `removeLocation` actions
|
|
717
|
+
*/
|
|
718
|
+
|
|
719
|
+
let MoneyTypeValues = /*#__PURE__*/function (MoneyTypeValues) {
|
|
720
|
+
MoneyTypeValues["CentPrecision"] = "centPrecision";
|
|
721
|
+
MoneyTypeValues["HighPrecision"] = "highPrecision";
|
|
722
|
+
return MoneyTypeValues;
|
|
723
|
+
}({});
|
|
724
|
+
let OrderStateValues = /*#__PURE__*/function (OrderStateValues) {
|
|
725
|
+
OrderStateValues["Cancelled"] = "Cancelled";
|
|
726
|
+
OrderStateValues["Complete"] = "Complete";
|
|
727
|
+
OrderStateValues["Confirmed"] = "Confirmed";
|
|
728
|
+
OrderStateValues["Open"] = "Open";
|
|
729
|
+
return OrderStateValues;
|
|
730
|
+
}({});
|
|
731
|
+
let PaymentStateValues = /*#__PURE__*/function (PaymentStateValues) {
|
|
732
|
+
PaymentStateValues["BalanceDue"] = "BalanceDue";
|
|
733
|
+
PaymentStateValues["CreditOwed"] = "CreditOwed";
|
|
734
|
+
PaymentStateValues["Failed"] = "Failed";
|
|
735
|
+
PaymentStateValues["Paid"] = "Paid";
|
|
736
|
+
PaymentStateValues["Pending"] = "Pending";
|
|
737
|
+
return PaymentStateValues;
|
|
738
|
+
}({});
|
|
739
|
+
/**
|
|
740
|
+
* Permissions grant granular access to [Business Units](ctp:api:type:BusinessUnit), [Carts](ctp:api:type:Cart), [Orders](ctp:api:type:Order), [Quotes](ctp:api:type:Quote), and [Quote Requests](ctp:api:type:QuoteRequest).
|
|
741
|
+
*/
|
|
742
|
+
let PermissionValues = /*#__PURE__*/function (PermissionValues) {
|
|
743
|
+
PermissionValues["AcceptMyQuotes"] = "AcceptMyQuotes";
|
|
744
|
+
PermissionValues["AcceptOthersQuotes"] = "AcceptOthersQuotes";
|
|
745
|
+
PermissionValues["AddChildUnits"] = "AddChildUnits";
|
|
746
|
+
PermissionValues["CreateMyCarts"] = "CreateMyCarts";
|
|
747
|
+
PermissionValues["CreateMyOrdersFromMyCarts"] = "CreateMyOrdersFromMyCarts";
|
|
748
|
+
PermissionValues["CreateMyOrdersFromMyQuotes"] = "CreateMyOrdersFromMyQuotes";
|
|
749
|
+
PermissionValues["CreateMyQuoteRequestsFromMyCarts"] = "CreateMyQuoteRequestsFromMyCarts";
|
|
750
|
+
PermissionValues["CreateOrdersFromOthersCarts"] = "CreateOrdersFromOthersCarts";
|
|
751
|
+
PermissionValues["CreateOrdersFromOthersQuotes"] = "CreateOrdersFromOthersQuotes";
|
|
752
|
+
PermissionValues["CreateOthersCarts"] = "CreateOthersCarts";
|
|
753
|
+
PermissionValues["CreateQuoteRequestsFromOthersCarts"] = "CreateQuoteRequestsFromOthersCarts";
|
|
754
|
+
PermissionValues["DeclineMyQuotes"] = "DeclineMyQuotes";
|
|
755
|
+
PermissionValues["DeclineOthersQuotes"] = "DeclineOthersQuotes";
|
|
756
|
+
PermissionValues["DeleteMyCarts"] = "DeleteMyCarts";
|
|
757
|
+
PermissionValues["DeleteOthersCarts"] = "DeleteOthersCarts";
|
|
758
|
+
PermissionValues["ReassignMyQuotes"] = "ReassignMyQuotes";
|
|
759
|
+
PermissionValues["ReassignOthersQuotes"] = "ReassignOthersQuotes";
|
|
760
|
+
PermissionValues["RenegotiateMyQuotes"] = "RenegotiateMyQuotes";
|
|
761
|
+
PermissionValues["RenegotiateOthersQuotes"] = "RenegotiateOthersQuotes";
|
|
762
|
+
PermissionValues["UpdateAssociates"] = "UpdateAssociates";
|
|
763
|
+
PermissionValues["UpdateBusinessUnitDetails"] = "UpdateBusinessUnitDetails";
|
|
764
|
+
PermissionValues["UpdateMyCarts"] = "UpdateMyCarts";
|
|
765
|
+
PermissionValues["UpdateMyOrders"] = "UpdateMyOrders";
|
|
766
|
+
PermissionValues["UpdateMyQuoteRequests"] = "UpdateMyQuoteRequests";
|
|
767
|
+
PermissionValues["UpdateOthersCarts"] = "UpdateOthersCarts";
|
|
768
|
+
PermissionValues["UpdateOthersOrders"] = "UpdateOthersOrders";
|
|
769
|
+
PermissionValues["UpdateOthersQuoteRequests"] = "UpdateOthersQuoteRequests";
|
|
770
|
+
PermissionValues["UpdateParentUnit"] = "UpdateParentUnit";
|
|
771
|
+
PermissionValues["ViewMyCarts"] = "ViewMyCarts";
|
|
772
|
+
PermissionValues["ViewMyOrders"] = "ViewMyOrders";
|
|
773
|
+
PermissionValues["ViewMyQuoteRequests"] = "ViewMyQuoteRequests";
|
|
774
|
+
PermissionValues["ViewMyQuotes"] = "ViewMyQuotes";
|
|
775
|
+
PermissionValues["ViewOthersCarts"] = "ViewOthersCarts";
|
|
776
|
+
PermissionValues["ViewOthersOrders"] = "ViewOthersOrders";
|
|
777
|
+
PermissionValues["ViewOthersQuoteRequests"] = "ViewOthersQuoteRequests";
|
|
778
|
+
PermissionValues["ViewOthersQuotes"] = "ViewOthersQuotes";
|
|
779
|
+
return PermissionValues;
|
|
780
|
+
}({});
|
|
781
|
+
let ProductVariantSelectionTypeEnumValues = /*#__PURE__*/function (ProductVariantSelectionTypeEnumValues) {
|
|
782
|
+
ProductVariantSelectionTypeEnumValues["Exclusion"] = "exclusion";
|
|
783
|
+
ProductVariantSelectionTypeEnumValues["Inclusion"] = "inclusion";
|
|
784
|
+
return ProductVariantSelectionTypeEnumValues;
|
|
785
|
+
}({});
|
|
786
|
+
let QuoteRequestStateValues = /*#__PURE__*/function (QuoteRequestStateValues) {
|
|
787
|
+
QuoteRequestStateValues["Accepted"] = "Accepted";
|
|
788
|
+
QuoteRequestStateValues["Cancelled"] = "Cancelled";
|
|
789
|
+
QuoteRequestStateValues["Closed"] = "Closed";
|
|
790
|
+
QuoteRequestStateValues["Rejected"] = "Rejected";
|
|
791
|
+
QuoteRequestStateValues["Submitted"] = "Submitted";
|
|
792
|
+
return QuoteRequestStateValues;
|
|
793
|
+
}({});
|
|
794
|
+
let QuoteStateValues = /*#__PURE__*/function (QuoteStateValues) {
|
|
795
|
+
QuoteStateValues["Accepted"] = "Accepted";
|
|
796
|
+
QuoteStateValues["Declined"] = "Declined";
|
|
797
|
+
QuoteStateValues["DeclinedForRenegotiation"] = "DeclinedForRenegotiation";
|
|
798
|
+
QuoteStateValues["Failed"] = "Failed";
|
|
799
|
+
QuoteStateValues["Pending"] = "Pending";
|
|
800
|
+
QuoteStateValues["Withdrawn"] = "Withdrawn";
|
|
801
|
+
return QuoteStateValues;
|
|
802
|
+
}({});
|
|
803
|
+
let ReferenceTypeIdValues = /*#__PURE__*/function (ReferenceTypeIdValues) {
|
|
804
|
+
ReferenceTypeIdValues["AssociateRole"] = "associate-role";
|
|
805
|
+
ReferenceTypeIdValues["BusinessUnit"] = "business-unit";
|
|
806
|
+
ReferenceTypeIdValues["Cart"] = "cart";
|
|
807
|
+
ReferenceTypeIdValues["CartDiscount"] = "cart-discount";
|
|
808
|
+
ReferenceTypeIdValues["Category"] = "category";
|
|
809
|
+
ReferenceTypeIdValues["Channel"] = "channel";
|
|
810
|
+
ReferenceTypeIdValues["Customer"] = "customer";
|
|
811
|
+
ReferenceTypeIdValues["CustomerEmailToken"] = "customer-email-token";
|
|
812
|
+
ReferenceTypeIdValues["CustomerGroup"] = "customer-group";
|
|
813
|
+
ReferenceTypeIdValues["CustomerPasswordToken"] = "customer-password-token";
|
|
814
|
+
ReferenceTypeIdValues["DiscountCode"] = "discount-code";
|
|
815
|
+
ReferenceTypeIdValues["Extension"] = "extension";
|
|
816
|
+
ReferenceTypeIdValues["InventoryEntry"] = "inventory-entry";
|
|
817
|
+
ReferenceTypeIdValues["KeyValueDocument"] = "key-value-document";
|
|
818
|
+
ReferenceTypeIdValues["Order"] = "order";
|
|
819
|
+
ReferenceTypeIdValues["OrderEdit"] = "order-edit";
|
|
820
|
+
ReferenceTypeIdValues["Payment"] = "payment";
|
|
821
|
+
ReferenceTypeIdValues["Product"] = "product";
|
|
822
|
+
ReferenceTypeIdValues["ProductDiscount"] = "product-discount";
|
|
823
|
+
ReferenceTypeIdValues["ProductSelection"] = "product-selection";
|
|
824
|
+
ReferenceTypeIdValues["ProductType"] = "product-type";
|
|
825
|
+
ReferenceTypeIdValues["Quote"] = "quote";
|
|
826
|
+
ReferenceTypeIdValues["QuoteRequest"] = "quote-request";
|
|
827
|
+
ReferenceTypeIdValues["Review"] = "review";
|
|
828
|
+
ReferenceTypeIdValues["ShippingMethod"] = "shipping-method";
|
|
829
|
+
ReferenceTypeIdValues["ShoppingList"] = "shopping-list";
|
|
830
|
+
ReferenceTypeIdValues["StagedQuote"] = "staged-quote";
|
|
831
|
+
ReferenceTypeIdValues["State"] = "state";
|
|
832
|
+
ReferenceTypeIdValues["Store"] = "store";
|
|
833
|
+
ReferenceTypeIdValues["Subscription"] = "subscription";
|
|
834
|
+
ReferenceTypeIdValues["TaxCategory"] = "tax-category";
|
|
835
|
+
ReferenceTypeIdValues["Type"] = "type";
|
|
836
|
+
ReferenceTypeIdValues["Zone"] = "zone";
|
|
837
|
+
return ReferenceTypeIdValues;
|
|
838
|
+
}({});
|
|
839
|
+
let ReturnPaymentStateValues = /*#__PURE__*/function (ReturnPaymentStateValues) {
|
|
840
|
+
ReturnPaymentStateValues["Initial"] = "Initial";
|
|
841
|
+
ReturnPaymentStateValues["NonRefundable"] = "NonRefundable";
|
|
842
|
+
ReturnPaymentStateValues["NotRefunded"] = "NotRefunded";
|
|
843
|
+
ReturnPaymentStateValues["Refunded"] = "Refunded";
|
|
844
|
+
return ReturnPaymentStateValues;
|
|
845
|
+
}({});
|
|
846
|
+
let ReturnShipmentStateValues = /*#__PURE__*/function (ReturnShipmentStateValues) {
|
|
847
|
+
ReturnShipmentStateValues["Advised"] = "Advised";
|
|
848
|
+
ReturnShipmentStateValues["BackInStock"] = "BackInStock";
|
|
849
|
+
ReturnShipmentStateValues["Returned"] = "Returned";
|
|
850
|
+
ReturnShipmentStateValues["Unusable"] = "Unusable";
|
|
851
|
+
return ReturnShipmentStateValues;
|
|
852
|
+
}({});
|
|
853
|
+
let RoundingModeValues = /*#__PURE__*/function (RoundingModeValues) {
|
|
854
|
+
RoundingModeValues["HalfDown"] = "HalfDown";
|
|
855
|
+
RoundingModeValues["HalfEven"] = "HalfEven";
|
|
856
|
+
RoundingModeValues["HalfUp"] = "HalfUp";
|
|
857
|
+
return RoundingModeValues;
|
|
858
|
+
}({});
|
|
859
|
+
let SelectionModeValues = /*#__PURE__*/function (SelectionModeValues) {
|
|
860
|
+
SelectionModeValues["Cheapest"] = "Cheapest";
|
|
861
|
+
SelectionModeValues["MostExpensive"] = "MostExpensive";
|
|
862
|
+
return SelectionModeValues;
|
|
863
|
+
}({});
|
|
864
|
+
let ShipmentStateValues = /*#__PURE__*/function (ShipmentStateValues) {
|
|
865
|
+
ShipmentStateValues["Backorder"] = "Backorder";
|
|
866
|
+
ShipmentStateValues["Delayed"] = "Delayed";
|
|
867
|
+
ShipmentStateValues["Partial"] = "Partial";
|
|
868
|
+
ShipmentStateValues["Pending"] = "Pending";
|
|
869
|
+
ShipmentStateValues["Ready"] = "Ready";
|
|
870
|
+
ShipmentStateValues["Shipped"] = "Shipped";
|
|
871
|
+
return ShipmentStateValues;
|
|
872
|
+
}({});
|
|
873
|
+
let ShippingRateTierTypeValues = /*#__PURE__*/function (ShippingRateTierTypeValues) {
|
|
874
|
+
ShippingRateTierTypeValues["CartClassification"] = "CartClassification";
|
|
875
|
+
ShippingRateTierTypeValues["CartScore"] = "CartScore";
|
|
876
|
+
ShippingRateTierTypeValues["CartValue"] = "CartValue";
|
|
877
|
+
return ShippingRateTierTypeValues;
|
|
878
|
+
}({});
|
|
879
|
+
let StackingModeValues = /*#__PURE__*/function (StackingModeValues) {
|
|
880
|
+
StackingModeValues["Stacking"] = "Stacking";
|
|
881
|
+
StackingModeValues["StopAfterThisDiscount"] = "StopAfterThisDiscount";
|
|
882
|
+
return StackingModeValues;
|
|
883
|
+
}({});
|
|
884
|
+
let StagedQuoteStateValues = /*#__PURE__*/function (StagedQuoteStateValues) {
|
|
885
|
+
StagedQuoteStateValues["Closed"] = "Closed";
|
|
886
|
+
StagedQuoteStateValues["InProgress"] = "InProgress";
|
|
887
|
+
StagedQuoteStateValues["Sent"] = "Sent";
|
|
888
|
+
return StagedQuoteStateValues;
|
|
889
|
+
}({});
|
|
890
|
+
/**
|
|
891
|
+
* For some resource types, a State can fulfill the following predefined roles:
|
|
892
|
+
*
|
|
893
|
+
*/
|
|
894
|
+
let StateRoleEnumValues = /*#__PURE__*/function (StateRoleEnumValues) {
|
|
895
|
+
StateRoleEnumValues["Return"] = "Return";
|
|
896
|
+
StateRoleEnumValues["ReviewIncludedInStatistics"] = "ReviewIncludedInStatistics";
|
|
897
|
+
return StateRoleEnumValues;
|
|
898
|
+
}({});
|
|
899
|
+
/**
|
|
900
|
+
* Resource or object type the State can be assigned to.
|
|
901
|
+
*
|
|
902
|
+
*/
|
|
903
|
+
let StateTypeEnumValues = /*#__PURE__*/function (StateTypeEnumValues) {
|
|
904
|
+
StateTypeEnumValues["LineItemState"] = "LineItemState";
|
|
905
|
+
StateTypeEnumValues["OrderState"] = "OrderState";
|
|
906
|
+
StateTypeEnumValues["PaymentState"] = "PaymentState";
|
|
907
|
+
StateTypeEnumValues["ProductState"] = "ProductState";
|
|
908
|
+
StateTypeEnumValues["QuoteRequestState"] = "QuoteRequestState";
|
|
909
|
+
StateTypeEnumValues["QuoteState"] = "QuoteState";
|
|
910
|
+
StateTypeEnumValues["ReviewState"] = "ReviewState";
|
|
911
|
+
StateTypeEnumValues["StagedQuoteState"] = "StagedQuoteState";
|
|
912
|
+
return StateTypeEnumValues;
|
|
913
|
+
}({});
|
|
914
|
+
let TaxCalculationModeValues = /*#__PURE__*/function (TaxCalculationModeValues) {
|
|
915
|
+
TaxCalculationModeValues["LineItemLevel"] = "LineItemLevel";
|
|
916
|
+
TaxCalculationModeValues["UnitPriceLevel"] = "UnitPriceLevel";
|
|
917
|
+
return TaxCalculationModeValues;
|
|
918
|
+
}({});
|
|
919
|
+
let TaxModeValues = /*#__PURE__*/function (TaxModeValues) {
|
|
920
|
+
TaxModeValues["Disabled"] = "Disabled";
|
|
921
|
+
TaxModeValues["External"] = "External";
|
|
922
|
+
TaxModeValues["ExternalAmount"] = "ExternalAmount";
|
|
923
|
+
TaxModeValues["Platform"] = "Platform";
|
|
924
|
+
return TaxModeValues;
|
|
925
|
+
}({});
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* Shape of the value for `addTaxRate` and `removeTaxRate` actions
|
|
929
|
+
*/
|
|
930
|
+
|
|
931
|
+
let TextInputHintValues = /*#__PURE__*/function (TextInputHintValues) {
|
|
932
|
+
TextInputHintValues["MultiLine"] = "MultiLine";
|
|
933
|
+
TextInputHintValues["SingleLine"] = "SingleLine";
|
|
934
|
+
return TextInputHintValues;
|
|
935
|
+
}({});
|
|
936
|
+
let TransactionStateValues = /*#__PURE__*/function (TransactionStateValues) {
|
|
937
|
+
TransactionStateValues["Failure"] = "Failure";
|
|
938
|
+
TransactionStateValues["Initial"] = "Initial";
|
|
939
|
+
TransactionStateValues["Pending"] = "Pending";
|
|
940
|
+
TransactionStateValues["Success"] = "Success";
|
|
941
|
+
return TransactionStateValues;
|
|
942
|
+
}({});
|
|
943
|
+
let TransactionTypeValues = /*#__PURE__*/function (TransactionTypeValues) {
|
|
944
|
+
TransactionTypeValues["Authorization"] = "Authorization";
|
|
945
|
+
TransactionTypeValues["CancelAuthorization"] = "CancelAuthorization";
|
|
946
|
+
TransactionTypeValues["Charge"] = "Charge";
|
|
947
|
+
TransactionTypeValues["Chargeback"] = "Chargeback";
|
|
948
|
+
TransactionTypeValues["Refund"] = "Refund";
|
|
949
|
+
return TransactionTypeValues;
|
|
950
|
+
}({});
|
|
951
|
+
|
|
269
952
|
/**
|
|
270
953
|
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
|
|
271
954
|
* Please don't change this file manually but run `rmf-codegen generate <raml_file_path> -o <output_path> -t typescript_client` to update it.
|
|
@@ -295,10 +978,46 @@ function createApiBuilderFromCtpClient(ctpClient, baseUri) {
|
|
|
295
978
|
|
|
296
979
|
exports.ApiRequest = ApiRequest;
|
|
297
980
|
exports.ApiRoot = ApiRoot;
|
|
981
|
+
exports.AssociateRoleInheritanceModeValues = AssociateRoleInheritanceModeValues;
|
|
982
|
+
exports.AttributeConstraintEnumValues = AttributeConstraintEnumValues;
|
|
983
|
+
exports.AuthenticationModeValues = AuthenticationModeValues;
|
|
984
|
+
exports.BusinessUnitAssociateModeValues = BusinessUnitAssociateModeValues;
|
|
985
|
+
exports.BusinessUnitStatusValues = BusinessUnitStatusValues;
|
|
986
|
+
exports.BusinessUnitStoreModeValues = BusinessUnitStoreModeValues;
|
|
298
987
|
exports.ByProjectKeyByResourceTypeByIDRequestBuilder = ByProjectKeyByResourceTypeByIDRequestBuilder;
|
|
299
988
|
exports.ByProjectKeyByResourceTypeRequestBuilder = ByProjectKeyByResourceTypeRequestBuilder;
|
|
300
989
|
exports.ByProjectKeyGraphqlRequestBuilder = ByProjectKeyGraphqlRequestBuilder;
|
|
301
990
|
exports.ByProjectKeyRequestBuilder = ByProjectKeyRequestBuilder;
|
|
991
|
+
exports.ChangeHistoryResourceTypeValues = ChangeHistoryResourceTypeValues;
|
|
992
|
+
exports.ChannelRoleEnumValues = ChannelRoleEnumValues;
|
|
993
|
+
exports.DateStringFilterValues = DateStringFilterValues;
|
|
994
|
+
exports.DiscountCodeStateValues = DiscountCodeStateValues;
|
|
995
|
+
exports.MoneyTypeValues = MoneyTypeValues;
|
|
996
|
+
exports.OrderStateValues = OrderStateValues;
|
|
997
|
+
exports.PaymentStateValues = PaymentStateValues;
|
|
998
|
+
exports.PermissionValues = PermissionValues;
|
|
999
|
+
exports.PlatformInitiatedChangeValues = PlatformInitiatedChangeValues;
|
|
1000
|
+
exports.ProductVariantSelectionTypeEnumValues = ProductVariantSelectionTypeEnumValues;
|
|
1001
|
+
exports.QuoteRequestStateValues = QuoteRequestStateValues;
|
|
1002
|
+
exports.QuoteStateValues = QuoteStateValues;
|
|
1003
|
+
exports.ReferenceTypeIdValues = ReferenceTypeIdValues;
|
|
1004
|
+
exports.ReturnPaymentStateValues = ReturnPaymentStateValues;
|
|
1005
|
+
exports.ReturnShipmentStateValues = ReturnShipmentStateValues;
|
|
1006
|
+
exports.RoundingModeValues = RoundingModeValues;
|
|
1007
|
+
exports.SelectionModeValues = SelectionModeValues;
|
|
1008
|
+
exports.ShipmentStateValues = ShipmentStateValues;
|
|
1009
|
+
exports.ShippingRateTierTypeValues = ShippingRateTierTypeValues;
|
|
1010
|
+
exports.SourceValues = SourceValues;
|
|
1011
|
+
exports.StackingModeValues = StackingModeValues;
|
|
1012
|
+
exports.StagedQuoteStateValues = StagedQuoteStateValues;
|
|
1013
|
+
exports.StateRoleEnumValues = StateRoleEnumValues;
|
|
1014
|
+
exports.StateTypeEnumValues = StateTypeEnumValues;
|
|
1015
|
+
exports.TaxCalculationModeValues = TaxCalculationModeValues;
|
|
1016
|
+
exports.TaxModeValues = TaxModeValues;
|
|
1017
|
+
exports.TextInputHintValues = TextInputHintValues;
|
|
1018
|
+
exports.TransactionStateValues = TransactionStateValues;
|
|
1019
|
+
exports.TransactionTypeValues = TransactionTypeValues;
|
|
1020
|
+
exports.UpdateTypeValues = UpdateTypeValues;
|
|
302
1021
|
exports.buildRelativeUri = buildRelativeUri;
|
|
303
1022
|
exports.createApiBuilderFromCtpClient = createApiBuilderFromCtpClient;
|
|
304
1023
|
exports.createExecutorFromMiddlewares = createExecutorFromMiddlewares;
|