@flowio/api-constants 2.13.77 → 2.13.78
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/dist/api.d.ts +66 -34
- package/dist/api.js +77 -38
- package/package.json +2 -2
- package/src/api.ts +73 -34
package/dist/api.d.ts
CHANGED
|
@@ -348,6 +348,10 @@ export declare enum Environment {
|
|
|
348
348
|
export declare enum EventType {
|
|
349
349
|
TEST_UPSERTED = "test_upserted",
|
|
350
350
|
GENERATE_LOAD = "generate_load",
|
|
351
|
+
SARVESH_ITEM_UPSERTED = "sarvesh_item_upserted",
|
|
352
|
+
SARVESH_ITEM_DELETED = "sarvesh_item_deleted",
|
|
353
|
+
HOSEIN_ITEM_UPSERTED = "hosein_item_upserted",
|
|
354
|
+
HOSEIN_ITEM_DELETED = "hosein_item_deleted",
|
|
351
355
|
NIALL_ITEM_UPSERTED = "niall_item_upserted",
|
|
352
356
|
NIALL_ITEM_DELETED = "niall_item_deleted",
|
|
353
357
|
ROHAN_ITEM_UPSERTED = "rohan_item_upserted",
|
|
@@ -410,44 +414,12 @@ export declare enum EventType {
|
|
|
410
414
|
RATE_UPSERTED = "rate_upserted",
|
|
411
415
|
RATE_DELETED_V_3 = "rate_deleted_v3",
|
|
412
416
|
RATE_UPSERTED_V_3 = "rate_upserted_v3",
|
|
413
|
-
AVAILABLE_PROMOTIONS_UPSERTED = "available_promotions_upserted",
|
|
414
|
-
AVAILABLE_PROMOTIONS_DELETED = "available_promotions_deleted",
|
|
415
|
-
AVAILABLE_PROMOTIONS_UPSERTED_V_2 = "available_promotions_upserted_v2",
|
|
416
|
-
AVAILABLE_PROMOTIONS_DELETED_V_2 = "available_promotions_deleted_v2",
|
|
417
417
|
ALLOCATION_DELETED_V_2 = "allocation_deleted_v2",
|
|
418
418
|
ALLOCATION_UPSERTED_V_2 = "allocation_upserted_v2",
|
|
419
|
-
CURRENCY_FORMAT_DELETED = "currency_format_deleted",
|
|
420
|
-
CURRENCY_FORMAT_UPSERTED = "currency_format_upserted",
|
|
421
|
-
EXPERIENCE_DELETED = "experience_deleted",
|
|
422
|
-
EXPERIENCE_UPSERTED = "experience_upserted",
|
|
423
|
-
EXPERIENCE_DELETED_V_2 = "experience_deleted_v2",
|
|
424
|
-
EXPERIENCE_UPSERTED_V_2 = "experience_upserted_v2",
|
|
425
|
-
COUNTRY_STATUS_UPSERTED = "country_status_upserted",
|
|
426
|
-
COUNTRY_STATUS_DELETED = "country_status_deleted",
|
|
427
|
-
EXPERIENCE_PRICE_BOOK_MAPPING_DELETED = "experience_price_book_mapping_deleted",
|
|
428
|
-
EXPERIENCE_PRICE_BOOK_MAPPING_UPSERTED = "experience_price_book_mapping_upserted",
|
|
429
|
-
EXPERIENCE_LOGISTICS_SETTINGS_UPSERTED = "experience_logistics_settings_upserted",
|
|
430
|
-
EXPERIENCE_LOGISTICS_SETTINGS_DELETED = "experience_logistics_settings_deleted",
|
|
431
|
-
ITEM_MARGIN_DELETED_V_2 = "item_margin_deleted_v2",
|
|
432
|
-
ITEM_MARGIN_UPSERTED_V_2 = "item_margin_upserted_v2",
|
|
433
|
-
ITEM_SALES_MARGIN_DELETED = "item_sales_margin_deleted",
|
|
434
|
-
ITEM_SALES_MARGIN_UPSERTED = "item_sales_margin_upserted",
|
|
435
|
-
LABEL_FORMAT_DELETED = "label_format_deleted",
|
|
436
|
-
LABEL_FORMAT_UPSERTED = "label_format_upserted",
|
|
437
|
-
ORDER_DELETED = "order_deleted",
|
|
438
|
-
ORDER_UPSERTED = "order_upserted",
|
|
439
419
|
ORDER_DELETED_V_2 = "order_deleted_v2",
|
|
440
420
|
ORDER_UPSERTED_V_2 = "order_upserted_v2",
|
|
441
|
-
ORDER_IDENTIFIER_DELETED = "order_identifier_deleted",
|
|
442
|
-
ORDER_IDENTIFIER_UPSERTED = "order_identifier_upserted",
|
|
443
421
|
ORDER_IDENTIFIER_DELETED_V_2 = "order_identifier_deleted_v2",
|
|
444
|
-
ORDER_IDENTIFIER_UPSERTED_V_2 = "order_identifier_upserted_v2",
|
|
445
422
|
ORDER_IDENTIFIER_UPSERTED_V_3 = "order_identifier_upserted_v3",
|
|
446
|
-
ORDER_REPLACEMENT_UPSERTED = "order_replacement_upserted",
|
|
447
|
-
ORDER_REPLACEMENT_DELETED = "order_replacement_deleted",
|
|
448
|
-
PRICING_DELETED = "pricing_deleted",
|
|
449
|
-
PRICING_UPSERTED = "pricing_upserted",
|
|
450
|
-
ORDER_SERVICE_CHANGE_REQUEST = "order_service_change_request",
|
|
451
423
|
FRAUD_STATUS_CHANGED = "fraud_status_changed",
|
|
452
424
|
CENTER_UPSERTED = "center_upserted",
|
|
453
425
|
CENTER_DELETED = "center_deleted",
|
|
@@ -472,8 +444,6 @@ export declare enum EventType {
|
|
|
472
444
|
ITEM_ORIGIN_DELETED = "item_origin_deleted",
|
|
473
445
|
HARMONIZED_LANDED_COST_UPSERTED = "harmonized_landed_cost_upserted",
|
|
474
446
|
FULLY_HARMONIZED_ITEM_UPSERTED = "fully_harmonized_item_upserted",
|
|
475
|
-
IMPORT_COMPLETED_V_2 = "import_completed_v2",
|
|
476
|
-
IMPORT_FAILED_V_2 = "import_failed_v2",
|
|
477
447
|
LABEL_UPSERTED = "label_upserted",
|
|
478
448
|
LABEL_DELETED_V_2 = "label_deleted_v2",
|
|
479
449
|
LABEL_UPSERTED_V_2 = "label_upserted_v2",
|
|
@@ -782,6 +752,10 @@ export declare enum LevyComponent {
|
|
|
782
752
|
FREIGHT = "freight",
|
|
783
753
|
VAT = "vat"
|
|
784
754
|
}
|
|
755
|
+
export declare enum LevyInclusion {
|
|
756
|
+
TAX = "tax",
|
|
757
|
+
DUTY = "duty"
|
|
758
|
+
}
|
|
785
759
|
export declare enum LevyStrategy {
|
|
786
760
|
MINIMUM = "minimum",
|
|
787
761
|
AVERAGE = "average",
|
|
@@ -1157,6 +1131,10 @@ export declare enum PostalType {
|
|
|
1157
1131
|
POSTAL = "postal",
|
|
1158
1132
|
ZIP = "zip"
|
|
1159
1133
|
}
|
|
1134
|
+
export declare enum PreferentialRateEligibility {
|
|
1135
|
+
BABY_CLOTHING = "baby_clothing",
|
|
1136
|
+
KIDS_CLOTHING = "kids_clothing"
|
|
1137
|
+
}
|
|
1160
1138
|
export declare enum PreferredServiceSelectionStrategy {
|
|
1161
1139
|
CALCULATED_RATE = "calculated_rate",
|
|
1162
1140
|
FLAT_RATE = "flat_rate",
|
|
@@ -1238,9 +1216,11 @@ export declare enum ProductRestrictionRule {
|
|
|
1238
1216
|
KNIVES = "Knives",
|
|
1239
1217
|
LIQUIDS = "Liquids",
|
|
1240
1218
|
OVERSIZED = "Oversized",
|
|
1219
|
+
PENDING_CLASSIFICATION = "Pending Classification",
|
|
1241
1220
|
RESTRICT_BY_DEFAULT = "Restrict by Default",
|
|
1242
1221
|
SUPPLEMENTS = "Supplements",
|
|
1243
1222
|
TATTOO_INK_AND_PMU = "Tattoo Ink And PMU",
|
|
1223
|
+
UNKNOWN_BUNDLES = "Unknown Bundles",
|
|
1244
1224
|
WEAPON = "Weapon",
|
|
1245
1225
|
WOOD = "Wood"
|
|
1246
1226
|
}
|
|
@@ -1380,10 +1360,25 @@ export declare enum RoundingType {
|
|
|
1380
1360
|
PATTERN = "pattern",
|
|
1381
1361
|
MULTIPLE = "multiple"
|
|
1382
1362
|
}
|
|
1363
|
+
export declare enum RuleEffectType {
|
|
1364
|
+
MARKET = "market",
|
|
1365
|
+
DHL = "dhl",
|
|
1366
|
+
DHL_ECOMMERCE = "dhl_ecommerce",
|
|
1367
|
+
UPS = "ups"
|
|
1368
|
+
}
|
|
1383
1369
|
export declare enum ScheduleExceptionStatus {
|
|
1384
1370
|
OPEN = "Open",
|
|
1385
1371
|
CLOSED = "Closed"
|
|
1386
1372
|
}
|
|
1373
|
+
export declare enum SellabilityErrorCode {
|
|
1374
|
+
INSUFFICIENT_DETAILS = "insufficient_details",
|
|
1375
|
+
INELIGIBLE_CATEGORY = "ineligible_category",
|
|
1376
|
+
WAIT_FOR_HIGH_FIDELITY = "wait_for_high_fidelity",
|
|
1377
|
+
EXTERNAL_SERVICE_UNAVAILABLE = "external_service_unavailable"
|
|
1378
|
+
}
|
|
1379
|
+
export declare enum SellabilityRequestStatus {
|
|
1380
|
+
COMMIT = "commit"
|
|
1381
|
+
}
|
|
1387
1382
|
export declare enum ShipmentIntegrationType {
|
|
1388
1383
|
DIRECT = "direct",
|
|
1389
1384
|
INFORMATION = "information",
|
|
@@ -1499,6 +1494,29 @@ export declare enum TaxApplicability {
|
|
|
1499
1494
|
NONE = "none",
|
|
1500
1495
|
ALL = "all"
|
|
1501
1496
|
}
|
|
1497
|
+
export declare enum TaxDutyCalculatorValidationErrorCode {
|
|
1498
|
+
GENERIC_ERROR = "generic_error",
|
|
1499
|
+
DESTINATION_COUNTRY_NOT_DEFINED = "destination_country_not_defined",
|
|
1500
|
+
DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED = "destination_address_iso3166_unrecognized",
|
|
1501
|
+
LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID = "line_item_shipfrom_shipto_country_invalid",
|
|
1502
|
+
LINE_ITEM_SHIP_FROM_INVALID = "line_item_ship_from_invalid",
|
|
1503
|
+
LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED = "line_item_currency_iso4217_unrecognized",
|
|
1504
|
+
LINE_QUANTITY_INVALID = "line_quantity_invalid",
|
|
1505
|
+
LINE_ITEM_QUANTITY_INVALID = "line_item_quantity_invalid",
|
|
1506
|
+
LINE_ITEM_UNIT_PRICE_PRECISION_INVALID = "line_item_unit_price_precision_invalid",
|
|
1507
|
+
LINE_ITEM_UNIT_PRICE_NEGATIVE = "line_item_unit_price_negative",
|
|
1508
|
+
LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID = "line_item_discount_amount_precision_invalid",
|
|
1509
|
+
LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE = "line_item_discount_amount_positive",
|
|
1510
|
+
LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED = "line_item_country_of_origin_iso3166_unrecognized",
|
|
1511
|
+
LINE_ITEM_HS_CODE_INVALID = "line_item_hs_code_invalid",
|
|
1512
|
+
LINE_ITEM_DUTY_PROVIDER_INVALID = "line_item_duty_provider_invalid",
|
|
1513
|
+
SHIPPING_UNIT_PRICE_PRECISION_INVALID = "shipping_unit_price_precision_invalid",
|
|
1514
|
+
SHIPPING_UNIT_PRICE_NEGATIVE = "shipping_unit_price_negative",
|
|
1515
|
+
SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID = "shipping_discount_amount_precision_invalid",
|
|
1516
|
+
SHIPPING_DISCOUNT_AMOUNT_INVALID = "shipping_discount_amount_invalid",
|
|
1517
|
+
MERCHANT_OF_RECORD_INVALID = "merchant_of_record_invalid",
|
|
1518
|
+
WRONG_UNIT_SPECIFIED = "wrong_unit_specified"
|
|
1519
|
+
}
|
|
1502
1520
|
export declare enum TaxDutyTransactionReasonCode {
|
|
1503
1521
|
POST_CAPTURE = "post_capture",
|
|
1504
1522
|
POST_FULFILMENT = "post_fulfilment",
|
|
@@ -1612,6 +1630,8 @@ export declare enum TransactionSource {
|
|
|
1612
1630
|
TAX_REFUND = "tax_refund",
|
|
1613
1631
|
DUTY_REFUND = "duty_refund",
|
|
1614
1632
|
NON_L_4_L_TAX_DUTY_FX = "non_l4l_tax_duty_fx",
|
|
1633
|
+
MERCHANT_PAYOUT = "merchant_payout",
|
|
1634
|
+
MERCHANT_REFUND = "merchant_refund",
|
|
1615
1635
|
GE_REVENUE_SHARE = "ge_revenue_share"
|
|
1616
1636
|
}
|
|
1617
1637
|
export declare enum TransferStatus {
|
|
@@ -1730,3 +1750,15 @@ export declare enum ZeroAmountIndicator {
|
|
|
1730
1750
|
ZERO = "zero",
|
|
1731
1751
|
FREE = "free"
|
|
1732
1752
|
}
|
|
1753
|
+
export declare enum ZeroLevyReasonCode {
|
|
1754
|
+
ZERO_BASIS = "zero_basis",
|
|
1755
|
+
ZERO_RATE_ON_GOODS = "zero_rate_on_goods",
|
|
1756
|
+
VALUE_ROUNDS_TO_ZERO = "value_rounds_to_zero",
|
|
1757
|
+
ORDER_BELOW_DE_MINIMIS_THRESHOLD = "order_below_de_minimis_threshold",
|
|
1758
|
+
AMOUNT_BELOW_DE_MINIMIS_THRESHOLD = "amount_below_de_minimis_threshold",
|
|
1759
|
+
DELIVERED_UNPAID = "delivered_unpaid",
|
|
1760
|
+
DUTY_FREE_DOMESTIC = "duty_free_domestic",
|
|
1761
|
+
DUTY_FREE_INTRA_COMMUNITY = "duty_free_intra_community",
|
|
1762
|
+
DUTY_FREE_REIMPORT = "duty_free_reimport",
|
|
1763
|
+
DUTY_FREE_BY_TRADE_AGREEMENT = "duty_free_by_trade_agreement"
|
|
1764
|
+
}
|
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DiscountTarget = exports.DiscountRuleSubsidyTarget = exports.DiscountRuleStatus = exports.Direction = exports.DeliveryWindowLocation = exports.DeliveryWindowComponentSource = exports.DeliveryOptionCostDetailSource = exports.DeliveryOptionCostDetailComponentKey = exports.DeliveredDutyDisplayType = exports.DeliveredDuty = exports.DayOfWeek = exports.CvvResultCode = exports.CvvCode = exports.CustomerAddressType = exports.CurrencySymbolFormat = exports.CurrencyLabelFormatter = exports.CreditPaymentErrorCode = exports.CountryPickerSource = exports.CostEstimateSource = exports.ConsumerInvoiceStatus = exports.ConsumerInvoiceDocumentType = exports.ConsumerInvoiceCustomerType = exports.ChannelShopifyOrderStateReasonCode = exports.ChannelCurrencyCapability = exports.ChangeType = exports.CenterCapability = exports.CarrierChargeReason = exports.CardType = exports.CardErrorCode = exports.CaptureStatus = exports.CaptureDeclineCode = exports.Capability = exports.CancelReason = exports.Calendar = exports.B2BInvoiceType = exports.AvsCode = exports.AvailableFilterFormat = exports.AvailabilityStatus = exports.AuthorizationStatus = exports.AuthorizationResultActionType = exports.AuthorizationOption = exports.AuthorizationDeclineCode = exports.AuthenticationTechnique = exports.AttributeIntent = exports.AttributeDataType = exports.AdjustmentReasonKey = exports.AddressVerificationResultFieldCode = exports.AddressFieldName = exports.AbandonedOrderSettingStatus = exports.AbandonedOrderPromotionStatus = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.ZeroAmountIndicator = exports.WithholdingDeductionType = exports.WebhookStatus = exports.Visibility = exports.ValueAddedService = exports.UserStatus = exports.UpdatePolicy = exports.UnitOfWeight = exports.UnitOfVolume = exports.UnitOfTime = exports.UnitOfMeasurement = exports.UnitOfLength = exports.TrueupSurchargeType = exports.TrueupSource = exports.TransferType = exports.TransferStatus = exports.TransactionSource = exports.TradeAgreementStatus = exports.TradeAgreementName = exports.TrackingStatus = exports.TrackingNumberType = exports.TokenType = void 0;
|
|
4
|
+
exports.LocationErrorCode = exports.LevyStrategy = exports.LevyInclusion = exports.LevyComponent = exports.LaneStrategy = exports.LanePreselectPreference = exports.LaneDirection = exports.LabelTriggerMethod = exports.LabelRequestMethod = exports.ItemIdentifier = exports.ItemAvailabilityStatus = exports.InvitationErrorCode = exports.InputSpecificationType = exports.InlineWindowViewportSize = exports.IncotermConfiguration = exports.Incoterm = exports.IncludedLevyKey = exports.ImportType = exports.ImageTag = exports.HolidayCalendar = exports.GoodsSupply = exports.GenericErrorCode = exports.GeEventType = exports.GeCatalogItemIngestionResponse = exports.FulfillmentRouting = exports.FulfillmentMethodValue = exports.FulfillmentMethodType = exports.FulfillmentItemQuantityStatus = exports.FtpFileSource = exports.FraudStatus = exports.FraudLiability = exports.FraudEmailRuleDecision = exports.FlowRole = exports.FlowEntity = exports.FlowBehavior = exports.FeeDeductionType = exports.ExporterOfRecord = exports.ExportStatus = exports.ExperienceStatus = exports.ExperiencePaymentMethodTag = exports.ExperienceCountryStatus = exports.ExperienceCloneStatus = exports.ExclusionRuleState = exports.ExceptionType = exports.EventType = exports.Environment = exports.EntityIdentifierType = exports.EconomicTitleLocation = exports.EcommercePlatformType = exports.DutyItemApprovalStatus = void 0;
|
|
5
|
+
exports.PreferredServiceSelectionStrategy = exports.PreferentialRateEligibility = exports.PostalType = exports.PhysicalDeliverySpecialSerivce = exports.PermittedHttpMethod = exports.PendingPayoutTransactionReasonCode = exports.PayoutStatusFailureCode = exports.PayoutAttachmentType = exports.PaymentType = exports.PaymentStatus = exports.PaymentSourceConfirmationActionType = exports.PaymentRequestReviewStatus = exports.PaymentRequestReviewCheckType = exports.PaymentRequestReviewCheckStatus = exports.PaymentMethodType = exports.PaymentMethodRuleContentKey = exports.PaymentMethodDataOptionType = exports.PaymentMethodCapability = exports.PaymentFeeType = exports.PaymentFailureCode = exports.PaymentErrorCode = exports.PaymentActionType = exports.PackageDimensionsSource = exports.OriginLocationSource = exports.OrganizationType = exports.OrganizationStatus = exports.OrganizationPaymentMethodTag = exports.OrderType = exports.OrderStorage = exports.OrderStatus = exports.OrderRefundSummaryPartialCharged = exports.OrderRefundSummaryIncludes = exports.OrderPriceDetailKey = exports.OrderPriceDetailComponentKey = exports.OrderPaymentType = exports.OrderPaymentSourceType = exports.OrderMerchantOfRecord = exports.OrderErrorCode = exports.OrderChangeSource = exports.OnboardingTradeSector = exports.OnboardingBlockedReason = exports.OnboardingApplicationStatus = exports.Method = exports.MerchantRejectedReason = exports.MerchantOfRecord = exports.MerchantGiftCardErrorCode = exports.MerchantDisabledReason = exports.MeasurementSystem = exports.MarginType = exports.LogisticsFormatPreference = void 0;
|
|
6
|
+
exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.TaxDutyTransactionReasonCode = exports.TaxDutyCalculatorValidationErrorCode = exports.TaxApplicability = exports.SurchargeResponsibleParty = exports.SubstatusCode = exports.SubcatalogItemStatus = exports.Strategy = exports.StoredMethodUsageStep = exports.StatementAttachmentType = exports.SortDirection = exports.ShopifySyncCheck = exports.ShopifyLocalizationMethod = exports.ShopifyGrant = exports.ShippingLabelErrorCode = exports.ShippingConfigurationType = exports.ShipmentRecipient = exports.ShipmentIntegrationType = exports.SellabilityRequestStatus = exports.SellabilityErrorCode = exports.ScheduleExceptionStatus = exports.RuleEffectType = exports.RoundingType = exports.RoundingMethod = exports.Role = exports.ReviewStatus = exports.ReversalStatus = exports.ReversalErrorCode = exports.ReturnTrackingStatus = exports.ReturnStatus = exports.ReturnPolicyState = exports.ReturnItemStatus = exports.RestrictedReviewStatus = exports.RegionType = exports.RefundStatus = exports.RefundFailureCategory = exports.RefundDeclineCode = exports.RatecardOwner = exports.QuoteErrorCode = exports.ProvinceType = exports.PromotionTriggerType = exports.ProductRestrictionRule = exports.PricingLevySetting = exports.PriceFacetBoundary = exports.PriceDetailKey = exports.PriceDetailComponentKey = exports.PriceBookStatus = exports.PriceAccuracy = void 0;
|
|
7
|
+
exports.ZeroLevyReasonCode = exports.ZeroAmountIndicator = exports.WithholdingDeductionType = exports.WebhookStatus = exports.Visibility = exports.ValueAddedService = exports.UserStatus = exports.UpdatePolicy = exports.UnitOfWeight = exports.UnitOfVolume = exports.UnitOfTime = exports.UnitOfMeasurement = exports.UnitOfLength = exports.TrueupSurchargeType = exports.TrueupSource = exports.TransferType = exports.TransferStatus = exports.TransactionSource = exports.TradeAgreementStatus = exports.TradeAgreementName = exports.TrackingStatus = exports.TrackingNumberType = exports.TokenType = exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = void 0;
|
|
8
8
|
var AbandonedOrderPromotionStatus;
|
|
9
9
|
(function (AbandonedOrderPromotionStatus) {
|
|
10
10
|
AbandonedOrderPromotionStatus["ACTIVE"] = "active";
|
|
@@ -411,6 +411,10 @@ var EventType;
|
|
|
411
411
|
(function (EventType) {
|
|
412
412
|
EventType["TEST_UPSERTED"] = "test_upserted";
|
|
413
413
|
EventType["GENERATE_LOAD"] = "generate_load";
|
|
414
|
+
EventType["SARVESH_ITEM_UPSERTED"] = "sarvesh_item_upserted";
|
|
415
|
+
EventType["SARVESH_ITEM_DELETED"] = "sarvesh_item_deleted";
|
|
416
|
+
EventType["HOSEIN_ITEM_UPSERTED"] = "hosein_item_upserted";
|
|
417
|
+
EventType["HOSEIN_ITEM_DELETED"] = "hosein_item_deleted";
|
|
414
418
|
EventType["NIALL_ITEM_UPSERTED"] = "niall_item_upserted";
|
|
415
419
|
EventType["NIALL_ITEM_DELETED"] = "niall_item_deleted";
|
|
416
420
|
EventType["ROHAN_ITEM_UPSERTED"] = "rohan_item_upserted";
|
|
@@ -473,44 +477,12 @@ var EventType;
|
|
|
473
477
|
EventType["RATE_UPSERTED"] = "rate_upserted";
|
|
474
478
|
EventType["RATE_DELETED_V_3"] = "rate_deleted_v3";
|
|
475
479
|
EventType["RATE_UPSERTED_V_3"] = "rate_upserted_v3";
|
|
476
|
-
EventType["AVAILABLE_PROMOTIONS_UPSERTED"] = "available_promotions_upserted";
|
|
477
|
-
EventType["AVAILABLE_PROMOTIONS_DELETED"] = "available_promotions_deleted";
|
|
478
|
-
EventType["AVAILABLE_PROMOTIONS_UPSERTED_V_2"] = "available_promotions_upserted_v2";
|
|
479
|
-
EventType["AVAILABLE_PROMOTIONS_DELETED_V_2"] = "available_promotions_deleted_v2";
|
|
480
480
|
EventType["ALLOCATION_DELETED_V_2"] = "allocation_deleted_v2";
|
|
481
481
|
EventType["ALLOCATION_UPSERTED_V_2"] = "allocation_upserted_v2";
|
|
482
|
-
EventType["CURRENCY_FORMAT_DELETED"] = "currency_format_deleted";
|
|
483
|
-
EventType["CURRENCY_FORMAT_UPSERTED"] = "currency_format_upserted";
|
|
484
|
-
EventType["EXPERIENCE_DELETED"] = "experience_deleted";
|
|
485
|
-
EventType["EXPERIENCE_UPSERTED"] = "experience_upserted";
|
|
486
|
-
EventType["EXPERIENCE_DELETED_V_2"] = "experience_deleted_v2";
|
|
487
|
-
EventType["EXPERIENCE_UPSERTED_V_2"] = "experience_upserted_v2";
|
|
488
|
-
EventType["COUNTRY_STATUS_UPSERTED"] = "country_status_upserted";
|
|
489
|
-
EventType["COUNTRY_STATUS_DELETED"] = "country_status_deleted";
|
|
490
|
-
EventType["EXPERIENCE_PRICE_BOOK_MAPPING_DELETED"] = "experience_price_book_mapping_deleted";
|
|
491
|
-
EventType["EXPERIENCE_PRICE_BOOK_MAPPING_UPSERTED"] = "experience_price_book_mapping_upserted";
|
|
492
|
-
EventType["EXPERIENCE_LOGISTICS_SETTINGS_UPSERTED"] = "experience_logistics_settings_upserted";
|
|
493
|
-
EventType["EXPERIENCE_LOGISTICS_SETTINGS_DELETED"] = "experience_logistics_settings_deleted";
|
|
494
|
-
EventType["ITEM_MARGIN_DELETED_V_2"] = "item_margin_deleted_v2";
|
|
495
|
-
EventType["ITEM_MARGIN_UPSERTED_V_2"] = "item_margin_upserted_v2";
|
|
496
|
-
EventType["ITEM_SALES_MARGIN_DELETED"] = "item_sales_margin_deleted";
|
|
497
|
-
EventType["ITEM_SALES_MARGIN_UPSERTED"] = "item_sales_margin_upserted";
|
|
498
|
-
EventType["LABEL_FORMAT_DELETED"] = "label_format_deleted";
|
|
499
|
-
EventType["LABEL_FORMAT_UPSERTED"] = "label_format_upserted";
|
|
500
|
-
EventType["ORDER_DELETED"] = "order_deleted";
|
|
501
|
-
EventType["ORDER_UPSERTED"] = "order_upserted";
|
|
502
482
|
EventType["ORDER_DELETED_V_2"] = "order_deleted_v2";
|
|
503
483
|
EventType["ORDER_UPSERTED_V_2"] = "order_upserted_v2";
|
|
504
|
-
EventType["ORDER_IDENTIFIER_DELETED"] = "order_identifier_deleted";
|
|
505
|
-
EventType["ORDER_IDENTIFIER_UPSERTED"] = "order_identifier_upserted";
|
|
506
484
|
EventType["ORDER_IDENTIFIER_DELETED_V_2"] = "order_identifier_deleted_v2";
|
|
507
|
-
EventType["ORDER_IDENTIFIER_UPSERTED_V_2"] = "order_identifier_upserted_v2";
|
|
508
485
|
EventType["ORDER_IDENTIFIER_UPSERTED_V_3"] = "order_identifier_upserted_v3";
|
|
509
|
-
EventType["ORDER_REPLACEMENT_UPSERTED"] = "order_replacement_upserted";
|
|
510
|
-
EventType["ORDER_REPLACEMENT_DELETED"] = "order_replacement_deleted";
|
|
511
|
-
EventType["PRICING_DELETED"] = "pricing_deleted";
|
|
512
|
-
EventType["PRICING_UPSERTED"] = "pricing_upserted";
|
|
513
|
-
EventType["ORDER_SERVICE_CHANGE_REQUEST"] = "order_service_change_request";
|
|
514
486
|
EventType["FRAUD_STATUS_CHANGED"] = "fraud_status_changed";
|
|
515
487
|
EventType["CENTER_UPSERTED"] = "center_upserted";
|
|
516
488
|
EventType["CENTER_DELETED"] = "center_deleted";
|
|
@@ -535,8 +507,6 @@ var EventType;
|
|
|
535
507
|
EventType["ITEM_ORIGIN_DELETED"] = "item_origin_deleted";
|
|
536
508
|
EventType["HARMONIZED_LANDED_COST_UPSERTED"] = "harmonized_landed_cost_upserted";
|
|
537
509
|
EventType["FULLY_HARMONIZED_ITEM_UPSERTED"] = "fully_harmonized_item_upserted";
|
|
538
|
-
EventType["IMPORT_COMPLETED_V_2"] = "import_completed_v2";
|
|
539
|
-
EventType["IMPORT_FAILED_V_2"] = "import_failed_v2";
|
|
540
510
|
EventType["LABEL_UPSERTED"] = "label_upserted";
|
|
541
511
|
EventType["LABEL_DELETED_V_2"] = "label_deleted_v2";
|
|
542
512
|
EventType["LABEL_UPSERTED_V_2"] = "label_upserted_v2";
|
|
@@ -886,6 +856,11 @@ var LevyComponent;
|
|
|
886
856
|
LevyComponent["FREIGHT"] = "freight";
|
|
887
857
|
LevyComponent["VAT"] = "vat";
|
|
888
858
|
})(LevyComponent = exports.LevyComponent || (exports.LevyComponent = {}));
|
|
859
|
+
var LevyInclusion;
|
|
860
|
+
(function (LevyInclusion) {
|
|
861
|
+
LevyInclusion["TAX"] = "tax";
|
|
862
|
+
LevyInclusion["DUTY"] = "duty";
|
|
863
|
+
})(LevyInclusion = exports.LevyInclusion || (exports.LevyInclusion = {}));
|
|
889
864
|
var LevyStrategy;
|
|
890
865
|
(function (LevyStrategy) {
|
|
891
866
|
LevyStrategy["MINIMUM"] = "minimum";
|
|
@@ -1311,6 +1286,11 @@ var PostalType;
|
|
|
1311
1286
|
PostalType["POSTAL"] = "postal";
|
|
1312
1287
|
PostalType["ZIP"] = "zip";
|
|
1313
1288
|
})(PostalType = exports.PostalType || (exports.PostalType = {}));
|
|
1289
|
+
var PreferentialRateEligibility;
|
|
1290
|
+
(function (PreferentialRateEligibility) {
|
|
1291
|
+
PreferentialRateEligibility["BABY_CLOTHING"] = "baby_clothing";
|
|
1292
|
+
PreferentialRateEligibility["KIDS_CLOTHING"] = "kids_clothing";
|
|
1293
|
+
})(PreferentialRateEligibility = exports.PreferentialRateEligibility || (exports.PreferentialRateEligibility = {}));
|
|
1314
1294
|
var PreferredServiceSelectionStrategy;
|
|
1315
1295
|
(function (PreferredServiceSelectionStrategy) {
|
|
1316
1296
|
PreferredServiceSelectionStrategy["CALCULATED_RATE"] = "calculated_rate";
|
|
@@ -1400,9 +1380,11 @@ var ProductRestrictionRule;
|
|
|
1400
1380
|
ProductRestrictionRule["KNIVES"] = "Knives";
|
|
1401
1381
|
ProductRestrictionRule["LIQUIDS"] = "Liquids";
|
|
1402
1382
|
ProductRestrictionRule["OVERSIZED"] = "Oversized";
|
|
1383
|
+
ProductRestrictionRule["PENDING_CLASSIFICATION"] = "Pending Classification";
|
|
1403
1384
|
ProductRestrictionRule["RESTRICT_BY_DEFAULT"] = "Restrict by Default";
|
|
1404
1385
|
ProductRestrictionRule["SUPPLEMENTS"] = "Supplements";
|
|
1405
1386
|
ProductRestrictionRule["TATTOO_INK_AND_PMU"] = "Tattoo Ink And PMU";
|
|
1387
|
+
ProductRestrictionRule["UNKNOWN_BUNDLES"] = "Unknown Bundles";
|
|
1406
1388
|
ProductRestrictionRule["WEAPON"] = "Weapon";
|
|
1407
1389
|
ProductRestrictionRule["WOOD"] = "Wood";
|
|
1408
1390
|
})(ProductRestrictionRule = exports.ProductRestrictionRule || (exports.ProductRestrictionRule = {}));
|
|
@@ -1561,11 +1543,29 @@ var RoundingType;
|
|
|
1561
1543
|
RoundingType["PATTERN"] = "pattern";
|
|
1562
1544
|
RoundingType["MULTIPLE"] = "multiple";
|
|
1563
1545
|
})(RoundingType = exports.RoundingType || (exports.RoundingType = {}));
|
|
1546
|
+
var RuleEffectType;
|
|
1547
|
+
(function (RuleEffectType) {
|
|
1548
|
+
RuleEffectType["MARKET"] = "market";
|
|
1549
|
+
RuleEffectType["DHL"] = "dhl";
|
|
1550
|
+
RuleEffectType["DHL_ECOMMERCE"] = "dhl_ecommerce";
|
|
1551
|
+
RuleEffectType["UPS"] = "ups";
|
|
1552
|
+
})(RuleEffectType = exports.RuleEffectType || (exports.RuleEffectType = {}));
|
|
1564
1553
|
var ScheduleExceptionStatus;
|
|
1565
1554
|
(function (ScheduleExceptionStatus) {
|
|
1566
1555
|
ScheduleExceptionStatus["OPEN"] = "Open";
|
|
1567
1556
|
ScheduleExceptionStatus["CLOSED"] = "Closed";
|
|
1568
1557
|
})(ScheduleExceptionStatus = exports.ScheduleExceptionStatus || (exports.ScheduleExceptionStatus = {}));
|
|
1558
|
+
var SellabilityErrorCode;
|
|
1559
|
+
(function (SellabilityErrorCode) {
|
|
1560
|
+
SellabilityErrorCode["INSUFFICIENT_DETAILS"] = "insufficient_details";
|
|
1561
|
+
SellabilityErrorCode["INELIGIBLE_CATEGORY"] = "ineligible_category";
|
|
1562
|
+
SellabilityErrorCode["WAIT_FOR_HIGH_FIDELITY"] = "wait_for_high_fidelity";
|
|
1563
|
+
SellabilityErrorCode["EXTERNAL_SERVICE_UNAVAILABLE"] = "external_service_unavailable";
|
|
1564
|
+
})(SellabilityErrorCode = exports.SellabilityErrorCode || (exports.SellabilityErrorCode = {}));
|
|
1565
|
+
var SellabilityRequestStatus;
|
|
1566
|
+
(function (SellabilityRequestStatus) {
|
|
1567
|
+
SellabilityRequestStatus["COMMIT"] = "commit";
|
|
1568
|
+
})(SellabilityRequestStatus = exports.SellabilityRequestStatus || (exports.SellabilityRequestStatus = {}));
|
|
1569
1569
|
var ShipmentIntegrationType;
|
|
1570
1570
|
(function (ShipmentIntegrationType) {
|
|
1571
1571
|
ShipmentIntegrationType["DIRECT"] = "direct";
|
|
@@ -1696,6 +1696,30 @@ var TaxApplicability;
|
|
|
1696
1696
|
TaxApplicability["NONE"] = "none";
|
|
1697
1697
|
TaxApplicability["ALL"] = "all";
|
|
1698
1698
|
})(TaxApplicability = exports.TaxApplicability || (exports.TaxApplicability = {}));
|
|
1699
|
+
var TaxDutyCalculatorValidationErrorCode;
|
|
1700
|
+
(function (TaxDutyCalculatorValidationErrorCode) {
|
|
1701
|
+
TaxDutyCalculatorValidationErrorCode["GENERIC_ERROR"] = "generic_error";
|
|
1702
|
+
TaxDutyCalculatorValidationErrorCode["DESTINATION_COUNTRY_NOT_DEFINED"] = "destination_country_not_defined";
|
|
1703
|
+
TaxDutyCalculatorValidationErrorCode["DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED"] = "destination_address_iso3166_unrecognized";
|
|
1704
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID"] = "line_item_shipfrom_shipto_country_invalid";
|
|
1705
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_SHIP_FROM_INVALID"] = "line_item_ship_from_invalid";
|
|
1706
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED"] = "line_item_currency_iso4217_unrecognized";
|
|
1707
|
+
TaxDutyCalculatorValidationErrorCode["LINE_QUANTITY_INVALID"] = "line_quantity_invalid";
|
|
1708
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_QUANTITY_INVALID"] = "line_item_quantity_invalid";
|
|
1709
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_UNIT_PRICE_PRECISION_INVALID"] = "line_item_unit_price_precision_invalid";
|
|
1710
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_UNIT_PRICE_NEGATIVE"] = "line_item_unit_price_negative";
|
|
1711
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID"] = "line_item_discount_amount_precision_invalid";
|
|
1712
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE"] = "line_item_discount_amount_positive";
|
|
1713
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED"] = "line_item_country_of_origin_iso3166_unrecognized";
|
|
1714
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_HS_CODE_INVALID"] = "line_item_hs_code_invalid";
|
|
1715
|
+
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DUTY_PROVIDER_INVALID"] = "line_item_duty_provider_invalid";
|
|
1716
|
+
TaxDutyCalculatorValidationErrorCode["SHIPPING_UNIT_PRICE_PRECISION_INVALID"] = "shipping_unit_price_precision_invalid";
|
|
1717
|
+
TaxDutyCalculatorValidationErrorCode["SHIPPING_UNIT_PRICE_NEGATIVE"] = "shipping_unit_price_negative";
|
|
1718
|
+
TaxDutyCalculatorValidationErrorCode["SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID"] = "shipping_discount_amount_precision_invalid";
|
|
1719
|
+
TaxDutyCalculatorValidationErrorCode["SHIPPING_DISCOUNT_AMOUNT_INVALID"] = "shipping_discount_amount_invalid";
|
|
1720
|
+
TaxDutyCalculatorValidationErrorCode["MERCHANT_OF_RECORD_INVALID"] = "merchant_of_record_invalid";
|
|
1721
|
+
TaxDutyCalculatorValidationErrorCode["WRONG_UNIT_SPECIFIED"] = "wrong_unit_specified";
|
|
1722
|
+
})(TaxDutyCalculatorValidationErrorCode = exports.TaxDutyCalculatorValidationErrorCode || (exports.TaxDutyCalculatorValidationErrorCode = {}));
|
|
1699
1723
|
var TaxDutyTransactionReasonCode;
|
|
1700
1724
|
(function (TaxDutyTransactionReasonCode) {
|
|
1701
1725
|
TaxDutyTransactionReasonCode["POST_CAPTURE"] = "post_capture";
|
|
@@ -1825,6 +1849,8 @@ var TransactionSource;
|
|
|
1825
1849
|
TransactionSource["TAX_REFUND"] = "tax_refund";
|
|
1826
1850
|
TransactionSource["DUTY_REFUND"] = "duty_refund";
|
|
1827
1851
|
TransactionSource["NON_L_4_L_TAX_DUTY_FX"] = "non_l4l_tax_duty_fx";
|
|
1852
|
+
TransactionSource["MERCHANT_PAYOUT"] = "merchant_payout";
|
|
1853
|
+
TransactionSource["MERCHANT_REFUND"] = "merchant_refund";
|
|
1828
1854
|
TransactionSource["GE_REVENUE_SHARE"] = "ge_revenue_share";
|
|
1829
1855
|
})(TransactionSource = exports.TransactionSource || (exports.TransactionSource = {}));
|
|
1830
1856
|
var TransferStatus;
|
|
@@ -1959,3 +1985,16 @@ var ZeroAmountIndicator;
|
|
|
1959
1985
|
ZeroAmountIndicator["ZERO"] = "zero";
|
|
1960
1986
|
ZeroAmountIndicator["FREE"] = "free";
|
|
1961
1987
|
})(ZeroAmountIndicator = exports.ZeroAmountIndicator || (exports.ZeroAmountIndicator = {}));
|
|
1988
|
+
var ZeroLevyReasonCode;
|
|
1989
|
+
(function (ZeroLevyReasonCode) {
|
|
1990
|
+
ZeroLevyReasonCode["ZERO_BASIS"] = "zero_basis";
|
|
1991
|
+
ZeroLevyReasonCode["ZERO_RATE_ON_GOODS"] = "zero_rate_on_goods";
|
|
1992
|
+
ZeroLevyReasonCode["VALUE_ROUNDS_TO_ZERO"] = "value_rounds_to_zero";
|
|
1993
|
+
ZeroLevyReasonCode["ORDER_BELOW_DE_MINIMIS_THRESHOLD"] = "order_below_de_minimis_threshold";
|
|
1994
|
+
ZeroLevyReasonCode["AMOUNT_BELOW_DE_MINIMIS_THRESHOLD"] = "amount_below_de_minimis_threshold";
|
|
1995
|
+
ZeroLevyReasonCode["DELIVERED_UNPAID"] = "delivered_unpaid";
|
|
1996
|
+
ZeroLevyReasonCode["DUTY_FREE_DOMESTIC"] = "duty_free_domestic";
|
|
1997
|
+
ZeroLevyReasonCode["DUTY_FREE_INTRA_COMMUNITY"] = "duty_free_intra_community";
|
|
1998
|
+
ZeroLevyReasonCode["DUTY_FREE_REIMPORT"] = "duty_free_reimport";
|
|
1999
|
+
ZeroLevyReasonCode["DUTY_FREE_BY_TRADE_AGREEMENT"] = "duty_free_by_trade_agreement";
|
|
2000
|
+
})(ZeroLevyReasonCode = exports.ZeroLevyReasonCode || (exports.ZeroLevyReasonCode = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.78",
|
|
4
4
|
"description": "Definitions for enumerations found in the Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"postgenerate": "npm run format",
|
|
27
27
|
"prepublish": "npm run clean && npm run build"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "dc15917b90729596ccdb10b88461680f7f910f89"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -403,6 +403,10 @@ export enum Environment {
|
|
|
403
403
|
export enum EventType {
|
|
404
404
|
TEST_UPSERTED = 'test_upserted',
|
|
405
405
|
GENERATE_LOAD = 'generate_load',
|
|
406
|
+
SARVESH_ITEM_UPSERTED = 'sarvesh_item_upserted',
|
|
407
|
+
SARVESH_ITEM_DELETED = 'sarvesh_item_deleted',
|
|
408
|
+
HOSEIN_ITEM_UPSERTED = 'hosein_item_upserted',
|
|
409
|
+
HOSEIN_ITEM_DELETED = 'hosein_item_deleted',
|
|
406
410
|
NIALL_ITEM_UPSERTED = 'niall_item_upserted',
|
|
407
411
|
NIALL_ITEM_DELETED = 'niall_item_deleted',
|
|
408
412
|
ROHAN_ITEM_UPSERTED = 'rohan_item_upserted',
|
|
@@ -465,44 +469,12 @@ export enum EventType {
|
|
|
465
469
|
RATE_UPSERTED = 'rate_upserted',
|
|
466
470
|
RATE_DELETED_V_3 = 'rate_deleted_v3',
|
|
467
471
|
RATE_UPSERTED_V_3 = 'rate_upserted_v3',
|
|
468
|
-
AVAILABLE_PROMOTIONS_UPSERTED = 'available_promotions_upserted',
|
|
469
|
-
AVAILABLE_PROMOTIONS_DELETED = 'available_promotions_deleted',
|
|
470
|
-
AVAILABLE_PROMOTIONS_UPSERTED_V_2 = 'available_promotions_upserted_v2',
|
|
471
|
-
AVAILABLE_PROMOTIONS_DELETED_V_2 = 'available_promotions_deleted_v2',
|
|
472
472
|
ALLOCATION_DELETED_V_2 = 'allocation_deleted_v2',
|
|
473
473
|
ALLOCATION_UPSERTED_V_2 = 'allocation_upserted_v2',
|
|
474
|
-
CURRENCY_FORMAT_DELETED = 'currency_format_deleted',
|
|
475
|
-
CURRENCY_FORMAT_UPSERTED = 'currency_format_upserted',
|
|
476
|
-
EXPERIENCE_DELETED = 'experience_deleted',
|
|
477
|
-
EXPERIENCE_UPSERTED = 'experience_upserted',
|
|
478
|
-
EXPERIENCE_DELETED_V_2 = 'experience_deleted_v2',
|
|
479
|
-
EXPERIENCE_UPSERTED_V_2 = 'experience_upserted_v2',
|
|
480
|
-
COUNTRY_STATUS_UPSERTED = 'country_status_upserted',
|
|
481
|
-
COUNTRY_STATUS_DELETED = 'country_status_deleted',
|
|
482
|
-
EXPERIENCE_PRICE_BOOK_MAPPING_DELETED = 'experience_price_book_mapping_deleted',
|
|
483
|
-
EXPERIENCE_PRICE_BOOK_MAPPING_UPSERTED = 'experience_price_book_mapping_upserted',
|
|
484
|
-
EXPERIENCE_LOGISTICS_SETTINGS_UPSERTED = 'experience_logistics_settings_upserted',
|
|
485
|
-
EXPERIENCE_LOGISTICS_SETTINGS_DELETED = 'experience_logistics_settings_deleted',
|
|
486
|
-
ITEM_MARGIN_DELETED_V_2 = 'item_margin_deleted_v2',
|
|
487
|
-
ITEM_MARGIN_UPSERTED_V_2 = 'item_margin_upserted_v2',
|
|
488
|
-
ITEM_SALES_MARGIN_DELETED = 'item_sales_margin_deleted',
|
|
489
|
-
ITEM_SALES_MARGIN_UPSERTED = 'item_sales_margin_upserted',
|
|
490
|
-
LABEL_FORMAT_DELETED = 'label_format_deleted',
|
|
491
|
-
LABEL_FORMAT_UPSERTED = 'label_format_upserted',
|
|
492
|
-
ORDER_DELETED = 'order_deleted',
|
|
493
|
-
ORDER_UPSERTED = 'order_upserted',
|
|
494
474
|
ORDER_DELETED_V_2 = 'order_deleted_v2',
|
|
495
475
|
ORDER_UPSERTED_V_2 = 'order_upserted_v2',
|
|
496
|
-
ORDER_IDENTIFIER_DELETED = 'order_identifier_deleted',
|
|
497
|
-
ORDER_IDENTIFIER_UPSERTED = 'order_identifier_upserted',
|
|
498
476
|
ORDER_IDENTIFIER_DELETED_V_2 = 'order_identifier_deleted_v2',
|
|
499
|
-
ORDER_IDENTIFIER_UPSERTED_V_2 = 'order_identifier_upserted_v2',
|
|
500
477
|
ORDER_IDENTIFIER_UPSERTED_V_3 = 'order_identifier_upserted_v3',
|
|
501
|
-
ORDER_REPLACEMENT_UPSERTED = 'order_replacement_upserted',
|
|
502
|
-
ORDER_REPLACEMENT_DELETED = 'order_replacement_deleted',
|
|
503
|
-
PRICING_DELETED = 'pricing_deleted',
|
|
504
|
-
PRICING_UPSERTED = 'pricing_upserted',
|
|
505
|
-
ORDER_SERVICE_CHANGE_REQUEST = 'order_service_change_request',
|
|
506
478
|
FRAUD_STATUS_CHANGED = 'fraud_status_changed',
|
|
507
479
|
CENTER_UPSERTED = 'center_upserted',
|
|
508
480
|
CENTER_DELETED = 'center_deleted',
|
|
@@ -527,8 +499,6 @@ export enum EventType {
|
|
|
527
499
|
ITEM_ORIGIN_DELETED = 'item_origin_deleted',
|
|
528
500
|
HARMONIZED_LANDED_COST_UPSERTED = 'harmonized_landed_cost_upserted',
|
|
529
501
|
FULLY_HARMONIZED_ITEM_UPSERTED = 'fully_harmonized_item_upserted',
|
|
530
|
-
IMPORT_COMPLETED_V_2 = 'import_completed_v2',
|
|
531
|
-
IMPORT_FAILED_V_2 = 'import_failed_v2',
|
|
532
502
|
LABEL_UPSERTED = 'label_upserted',
|
|
533
503
|
LABEL_DELETED_V_2 = 'label_deleted_v2',
|
|
534
504
|
LABEL_UPSERTED_V_2 = 'label_upserted_v2',
|
|
@@ -879,6 +849,11 @@ export enum LevyComponent {
|
|
|
879
849
|
VAT = 'vat',
|
|
880
850
|
}
|
|
881
851
|
|
|
852
|
+
export enum LevyInclusion {
|
|
853
|
+
TAX = 'tax',
|
|
854
|
+
DUTY = 'duty',
|
|
855
|
+
}
|
|
856
|
+
|
|
882
857
|
export enum LevyStrategy {
|
|
883
858
|
MINIMUM = 'minimum',
|
|
884
859
|
AVERAGE = 'average',
|
|
@@ -1304,6 +1279,11 @@ export enum PostalType {
|
|
|
1304
1279
|
ZIP = 'zip',
|
|
1305
1280
|
}
|
|
1306
1281
|
|
|
1282
|
+
export enum PreferentialRateEligibility {
|
|
1283
|
+
BABY_CLOTHING = 'baby_clothing',
|
|
1284
|
+
KIDS_CLOTHING = 'kids_clothing',
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1307
1287
|
export enum PreferredServiceSelectionStrategy {
|
|
1308
1288
|
CALCULATED_RATE = 'calculated_rate',
|
|
1309
1289
|
FLAT_RATE = 'flat_rate',
|
|
@@ -1392,9 +1372,11 @@ export enum ProductRestrictionRule {
|
|
|
1392
1372
|
KNIVES = 'Knives',
|
|
1393
1373
|
LIQUIDS = 'Liquids',
|
|
1394
1374
|
OVERSIZED = 'Oversized',
|
|
1375
|
+
PENDING_CLASSIFICATION = 'Pending Classification',
|
|
1395
1376
|
RESTRICT_BY_DEFAULT = 'Restrict by Default',
|
|
1396
1377
|
SUPPLEMENTS = 'Supplements',
|
|
1397
1378
|
TATTOO_INK_AND_PMU = 'Tattoo Ink And PMU',
|
|
1379
|
+
UNKNOWN_BUNDLES = 'Unknown Bundles',
|
|
1398
1380
|
WEAPON = 'Weapon',
|
|
1399
1381
|
WOOD = 'Wood',
|
|
1400
1382
|
}
|
|
@@ -1554,11 +1536,29 @@ export enum RoundingType {
|
|
|
1554
1536
|
MULTIPLE = 'multiple',
|
|
1555
1537
|
}
|
|
1556
1538
|
|
|
1539
|
+
export enum RuleEffectType {
|
|
1540
|
+
MARKET = 'market',
|
|
1541
|
+
DHL = 'dhl',
|
|
1542
|
+
DHL_ECOMMERCE = 'dhl_ecommerce',
|
|
1543
|
+
UPS = 'ups',
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1557
1546
|
export enum ScheduleExceptionStatus {
|
|
1558
1547
|
OPEN = 'Open',
|
|
1559
1548
|
CLOSED = 'Closed',
|
|
1560
1549
|
}
|
|
1561
1550
|
|
|
1551
|
+
export enum SellabilityErrorCode {
|
|
1552
|
+
INSUFFICIENT_DETAILS = 'insufficient_details',
|
|
1553
|
+
INELIGIBLE_CATEGORY = 'ineligible_category',
|
|
1554
|
+
WAIT_FOR_HIGH_FIDELITY = 'wait_for_high_fidelity',
|
|
1555
|
+
EXTERNAL_SERVICE_UNAVAILABLE = 'external_service_unavailable',
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
export enum SellabilityRequestStatus {
|
|
1559
|
+
COMMIT = 'commit',
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
1562
|
export enum ShipmentIntegrationType {
|
|
1563
1563
|
DIRECT = 'direct',
|
|
1564
1564
|
INFORMATION = 'information',
|
|
@@ -1689,6 +1689,30 @@ export enum TaxApplicability {
|
|
|
1689
1689
|
ALL = 'all',
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
|
+
export enum TaxDutyCalculatorValidationErrorCode {
|
|
1693
|
+
GENERIC_ERROR = 'generic_error',
|
|
1694
|
+
DESTINATION_COUNTRY_NOT_DEFINED = 'destination_country_not_defined',
|
|
1695
|
+
DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED = 'destination_address_iso3166_unrecognized',
|
|
1696
|
+
LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID = 'line_item_shipfrom_shipto_country_invalid',
|
|
1697
|
+
LINE_ITEM_SHIP_FROM_INVALID = 'line_item_ship_from_invalid',
|
|
1698
|
+
LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED = 'line_item_currency_iso4217_unrecognized',
|
|
1699
|
+
LINE_QUANTITY_INVALID = 'line_quantity_invalid',
|
|
1700
|
+
LINE_ITEM_QUANTITY_INVALID = 'line_item_quantity_invalid',
|
|
1701
|
+
LINE_ITEM_UNIT_PRICE_PRECISION_INVALID = 'line_item_unit_price_precision_invalid',
|
|
1702
|
+
LINE_ITEM_UNIT_PRICE_NEGATIVE = 'line_item_unit_price_negative',
|
|
1703
|
+
LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID = 'line_item_discount_amount_precision_invalid',
|
|
1704
|
+
LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE = 'line_item_discount_amount_positive',
|
|
1705
|
+
LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED = 'line_item_country_of_origin_iso3166_unrecognized',
|
|
1706
|
+
LINE_ITEM_HS_CODE_INVALID = 'line_item_hs_code_invalid',
|
|
1707
|
+
LINE_ITEM_DUTY_PROVIDER_INVALID = 'line_item_duty_provider_invalid',
|
|
1708
|
+
SHIPPING_UNIT_PRICE_PRECISION_INVALID = 'shipping_unit_price_precision_invalid',
|
|
1709
|
+
SHIPPING_UNIT_PRICE_NEGATIVE = 'shipping_unit_price_negative',
|
|
1710
|
+
SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID = 'shipping_discount_amount_precision_invalid',
|
|
1711
|
+
SHIPPING_DISCOUNT_AMOUNT_INVALID = 'shipping_discount_amount_invalid',
|
|
1712
|
+
MERCHANT_OF_RECORD_INVALID = 'merchant_of_record_invalid',
|
|
1713
|
+
WRONG_UNIT_SPECIFIED = 'wrong_unit_specified',
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1692
1716
|
export enum TaxDutyTransactionReasonCode {
|
|
1693
1717
|
POST_CAPTURE = 'post_capture',
|
|
1694
1718
|
POST_FULFILMENT = 'post_fulfilment',
|
|
@@ -1817,6 +1841,8 @@ export enum TransactionSource {
|
|
|
1817
1841
|
TAX_REFUND = 'tax_refund',
|
|
1818
1842
|
DUTY_REFUND = 'duty_refund',
|
|
1819
1843
|
NON_L_4_L_TAX_DUTY_FX = 'non_l4l_tax_duty_fx',
|
|
1844
|
+
MERCHANT_PAYOUT = 'merchant_payout',
|
|
1845
|
+
MERCHANT_REFUND = 'merchant_refund',
|
|
1820
1846
|
GE_REVENUE_SHARE = 'ge_revenue_share',
|
|
1821
1847
|
}
|
|
1822
1848
|
|
|
@@ -1951,3 +1977,16 @@ export enum ZeroAmountIndicator {
|
|
|
1951
1977
|
ZERO = 'zero',
|
|
1952
1978
|
FREE = 'free',
|
|
1953
1979
|
}
|
|
1980
|
+
|
|
1981
|
+
export enum ZeroLevyReasonCode {
|
|
1982
|
+
ZERO_BASIS = 'zero_basis',
|
|
1983
|
+
ZERO_RATE_ON_GOODS = 'zero_rate_on_goods',
|
|
1984
|
+
VALUE_ROUNDS_TO_ZERO = 'value_rounds_to_zero',
|
|
1985
|
+
ORDER_BELOW_DE_MINIMIS_THRESHOLD = 'order_below_de_minimis_threshold',
|
|
1986
|
+
AMOUNT_BELOW_DE_MINIMIS_THRESHOLD = 'amount_below_de_minimis_threshold',
|
|
1987
|
+
DELIVERED_UNPAID = 'delivered_unpaid',
|
|
1988
|
+
DUTY_FREE_DOMESTIC = 'duty_free_domestic',
|
|
1989
|
+
DUTY_FREE_INTRA_COMMUNITY = 'duty_free_intra_community',
|
|
1990
|
+
DUTY_FREE_REIMPORT = 'duty_free_reimport',
|
|
1991
|
+
DUTY_FREE_BY_TRADE_AGREEMENT = 'duty_free_by_trade_agreement',
|
|
1992
|
+
}
|