@flowio/api-constants 2.13.77 → 2.13.79

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 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",
@@ -356,6 +360,8 @@ export declare enum EventType {
356
360
  ALDO_ITEM_DELETED = "aldo_item_deleted",
357
361
  ANSH_ITEM_UPSERTED = "ansh_item_upserted",
358
362
  ANSH_ITEM_DELETED = "ansh_item_deleted",
363
+ ANIRBAN_ITEM_UPSERTED = "anirban_item_upserted",
364
+ ANIRBAN_ITEM_DELETED = "anirban_item_deleted",
359
365
  TRANSACTION_UPSERTED = "transaction_upserted",
360
366
  ORGANIZATION_TRANSACTION_UPSERTED = "organization_transaction_upserted",
361
367
  ORGANIZATION_TRANSACTION_DELETED = "organization_transaction_deleted",
@@ -410,44 +416,12 @@ export declare enum EventType {
410
416
  RATE_UPSERTED = "rate_upserted",
411
417
  RATE_DELETED_V_3 = "rate_deleted_v3",
412
418
  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
419
  ALLOCATION_DELETED_V_2 = "allocation_deleted_v2",
418
420
  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
421
  ORDER_DELETED_V_2 = "order_deleted_v2",
440
422
  ORDER_UPSERTED_V_2 = "order_upserted_v2",
441
- ORDER_IDENTIFIER_DELETED = "order_identifier_deleted",
442
- ORDER_IDENTIFIER_UPSERTED = "order_identifier_upserted",
443
423
  ORDER_IDENTIFIER_DELETED_V_2 = "order_identifier_deleted_v2",
444
- ORDER_IDENTIFIER_UPSERTED_V_2 = "order_identifier_upserted_v2",
445
424
  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
425
  FRAUD_STATUS_CHANGED = "fraud_status_changed",
452
426
  CENTER_UPSERTED = "center_upserted",
453
427
  CENTER_DELETED = "center_deleted",
@@ -472,8 +446,6 @@ export declare enum EventType {
472
446
  ITEM_ORIGIN_DELETED = "item_origin_deleted",
473
447
  HARMONIZED_LANDED_COST_UPSERTED = "harmonized_landed_cost_upserted",
474
448
  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
449
  LABEL_UPSERTED = "label_upserted",
478
450
  LABEL_DELETED_V_2 = "label_deleted_v2",
479
451
  LABEL_UPSERTED_V_2 = "label_upserted_v2",
@@ -782,6 +754,10 @@ export declare enum LevyComponent {
782
754
  FREIGHT = "freight",
783
755
  VAT = "vat"
784
756
  }
757
+ export declare enum LevyInclusion {
758
+ TAX = "tax",
759
+ DUTY = "duty"
760
+ }
785
761
  export declare enum LevyStrategy {
786
762
  MINIMUM = "minimum",
787
763
  AVERAGE = "average",
@@ -960,6 +936,14 @@ export declare enum OrderPriceDetailKey {
960
936
  SURCHARGES = "surcharges",
961
937
  TIP = "tip"
962
938
  }
939
+ export declare enum OrderPriceFeeType {
940
+ SERVICE = "service",
941
+ FX = "fx",
942
+ TAX = "tax",
943
+ DUTIES = "duties",
944
+ TAX_AND_DUTIES = "tax_and_duties",
945
+ PRODUCT = "product"
946
+ }
963
947
  export declare enum OrderRefundSummaryIncludes {
964
948
  DUTIES = "duties",
965
949
  VAT = "vat",
@@ -1157,6 +1141,10 @@ export declare enum PostalType {
1157
1141
  POSTAL = "postal",
1158
1142
  ZIP = "zip"
1159
1143
  }
1144
+ export declare enum PreferentialRateEligibility {
1145
+ BABY_CLOTHING = "baby_clothing",
1146
+ KIDS_CLOTHING = "kids_clothing"
1147
+ }
1160
1148
  export declare enum PreferredServiceSelectionStrategy {
1161
1149
  CALCULATED_RATE = "calculated_rate",
1162
1150
  FLAT_RATE = "flat_rate",
@@ -1212,38 +1200,6 @@ export declare enum PricingLevySetting {
1212
1200
  DISPLAYED = "displayed",
1213
1201
  IGNORED = "ignored"
1214
1202
  }
1215
- export declare enum ProductRestrictionRule {
1216
- ADULT_PRODUCT = "Adult Products",
1217
- ALCOHOL = "Alcohol",
1218
- ANTI_MONEY_LAUNDERING = "Anti Money Laundering",
1219
- COLLAGEN = "Collagen",
1220
- CONSUMER_SAFETY = "Consumer Safety",
1221
- COSMETICS = "Cosmetics",
1222
- DG_BATTERIES = "DG - Batteries",
1223
- DG_HAZMAT = "DG - Hazmat",
1224
- DRUGS = "Drugs",
1225
- DUAL_USE = "Dual Use",
1226
- FINE_ART = "Fine Art",
1227
- FISH_WILDLIFE_CITES = "Fish & Wildlife - CITES",
1228
- FISH_WILDLIFE_PLANT = "Fish & Wildlife - Plant",
1229
- FISH_WILDLIFE_USFWS = "Fish & Wildlife - USFWS",
1230
- FOOD = "Food",
1231
- GAMBLING = "Gambling",
1232
- HEALTH = "Health",
1233
- HUMAN_HAIR = "Human hair",
1234
- INSUFFICIENT_DETAILS = "Insufficient Details",
1235
- INTANGIBLE = "Intangible",
1236
- JEWELRY = "Jewelry",
1237
- JEWELRY_WATCHES_OVER_LIMIT = "Jewelry & Watches Over 5000",
1238
- KNIVES = "Knives",
1239
- LIQUIDS = "Liquids",
1240
- OVERSIZED = "Oversized",
1241
- RESTRICT_BY_DEFAULT = "Restrict by Default",
1242
- SUPPLEMENTS = "Supplements",
1243
- TATTOO_INK_AND_PMU = "Tattoo Ink And PMU",
1244
- WEAPON = "Weapon",
1245
- WOOD = "Wood"
1246
- }
1247
1203
  export declare enum PromotionTriggerType {
1248
1204
  AUTOMATIC = "automatic",
1249
1205
  ORDER_SUBTOTAL = "order_subtotal"
@@ -1380,10 +1336,25 @@ export declare enum RoundingType {
1380
1336
  PATTERN = "pattern",
1381
1337
  MULTIPLE = "multiple"
1382
1338
  }
1339
+ export declare enum RuleEffectType {
1340
+ MARKET = "market",
1341
+ DHL = "dhl",
1342
+ DHL_ECOMMERCE = "dhl_ecommerce",
1343
+ UPS = "ups"
1344
+ }
1383
1345
  export declare enum ScheduleExceptionStatus {
1384
1346
  OPEN = "Open",
1385
1347
  CLOSED = "Closed"
1386
1348
  }
1349
+ export declare enum SellabilityErrorCode {
1350
+ INSUFFICIENT_DETAILS = "insufficient_details",
1351
+ INELIGIBLE_CATEGORY = "ineligible_category",
1352
+ WAIT_FOR_HIGH_FIDELITY = "wait_for_high_fidelity",
1353
+ EXTERNAL_SERVICE_UNAVAILABLE = "external_service_unavailable"
1354
+ }
1355
+ export declare enum SellabilityRequestStatus {
1356
+ COMMIT = "commit"
1357
+ }
1387
1358
  export declare enum ShipmentIntegrationType {
1388
1359
  DIRECT = "direct",
1389
1360
  INFORMATION = "information",
@@ -1499,6 +1470,29 @@ export declare enum TaxApplicability {
1499
1470
  NONE = "none",
1500
1471
  ALL = "all"
1501
1472
  }
1473
+ export declare enum TaxDutyCalculatorValidationErrorCode {
1474
+ GENERIC_ERROR = "generic_error",
1475
+ DESTINATION_COUNTRY_NOT_DEFINED = "destination_country_not_defined",
1476
+ DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED = "destination_address_iso3166_unrecognized",
1477
+ LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID = "line_item_shipfrom_shipto_country_invalid",
1478
+ LINE_ITEM_SHIP_FROM_INVALID = "line_item_ship_from_invalid",
1479
+ LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED = "line_item_currency_iso4217_unrecognized",
1480
+ LINE_QUANTITY_INVALID = "line_quantity_invalid",
1481
+ LINE_ITEM_QUANTITY_INVALID = "line_item_quantity_invalid",
1482
+ LINE_ITEM_UNIT_PRICE_PRECISION_INVALID = "line_item_unit_price_precision_invalid",
1483
+ LINE_ITEM_UNIT_PRICE_NEGATIVE = "line_item_unit_price_negative",
1484
+ LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID = "line_item_discount_amount_precision_invalid",
1485
+ LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE = "line_item_discount_amount_positive",
1486
+ LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED = "line_item_country_of_origin_iso3166_unrecognized",
1487
+ LINE_ITEM_HS_CODE_INVALID = "line_item_hs_code_invalid",
1488
+ LINE_ITEM_DUTY_PROVIDER_INVALID = "line_item_duty_provider_invalid",
1489
+ SHIPPING_UNIT_PRICE_PRECISION_INVALID = "shipping_unit_price_precision_invalid",
1490
+ SHIPPING_UNIT_PRICE_NEGATIVE = "shipping_unit_price_negative",
1491
+ SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID = "shipping_discount_amount_precision_invalid",
1492
+ SHIPPING_DISCOUNT_AMOUNT_INVALID = "shipping_discount_amount_invalid",
1493
+ MERCHANT_OF_RECORD_INVALID = "merchant_of_record_invalid",
1494
+ WRONG_UNIT_SPECIFIED = "wrong_unit_specified"
1495
+ }
1502
1496
  export declare enum TaxDutyTransactionReasonCode {
1503
1497
  POST_CAPTURE = "post_capture",
1504
1498
  POST_FULFILMENT = "post_fulfilment",
@@ -1612,6 +1606,8 @@ export declare enum TransactionSource {
1612
1606
  TAX_REFUND = "tax_refund",
1613
1607
  DUTY_REFUND = "duty_refund",
1614
1608
  NON_L_4_L_TAX_DUTY_FX = "non_l4l_tax_duty_fx",
1609
+ MERCHANT_PAYOUT = "merchant_payout",
1610
+ MERCHANT_REFUND = "merchant_refund",
1615
1611
  GE_REVENUE_SHARE = "ge_revenue_share"
1616
1612
  }
1617
1613
  export declare enum TransferStatus {
@@ -1651,7 +1647,8 @@ export declare enum TrueupSurchargeType {
1651
1647
  DIRECT_DELIVERY = "direct_delivery",
1652
1648
  SATURDAY_STOP = "saturday_stop",
1653
1649
  RESIDENTIAL_EXTENDED_AREA_PICKUP = "residential_extended_area_pickup",
1654
- PACKAGE_LEVEL_DETAIL = "package_level_detail"
1650
+ PACKAGE_LEVEL_DETAIL = "package_level_detail",
1651
+ PICKUP = "pickup"
1655
1652
  }
1656
1653
  export declare enum UnitOfLength {
1657
1654
  MILLIMETER = "millimeter",
@@ -1730,3 +1727,15 @@ export declare enum ZeroAmountIndicator {
1730
1727
  ZERO = "zero",
1731
1728
  FREE = "free"
1732
1729
  }
1730
+ export declare enum ZeroLevyReasonCode {
1731
+ ZERO_BASIS = "zero_basis",
1732
+ ZERO_RATE_ON_GOODS = "zero_rate_on_goods",
1733
+ VALUE_ROUNDS_TO_ZERO = "value_rounds_to_zero",
1734
+ ORDER_BELOW_DE_MINIMIS_THRESHOLD = "order_below_de_minimis_threshold",
1735
+ AMOUNT_BELOW_DE_MINIMIS_THRESHOLD = "amount_below_de_minimis_threshold",
1736
+ DELIVERED_UNPAID = "delivered_unpaid",
1737
+ DUTY_FREE_DOMESTIC = "duty_free_domestic",
1738
+ DUTY_FREE_INTRA_COMMUNITY = "duty_free_intra_community",
1739
+ DUTY_FREE_REIMPORT = "duty_free_reimport",
1740
+ DUTY_FREE_BY_TRADE_AGREEMENT = "duty_free_by_trade_agreement"
1741
+ }
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.LogisticsFormatPreference = exports.LocationErrorCode = exports.LevyStrategy = 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.PriceBookStatus = exports.PriceAccuracy = exports.PreferredServiceSelectionStrategy = 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 = void 0;
6
- exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.TaxDutyTransactionReasonCode = 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.ScheduleExceptionStatus = 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 = void 0;
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.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.OrderPriceFeeType = 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.PricingLevySetting = exports.PriceFacetBoundary = exports.PriceDetailKey = exports.PriceDetailComponentKey = exports.PriceBookStatus = exports.PriceAccuracy = exports.PreferredServiceSelectionStrategy = 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";
@@ -419,6 +423,8 @@ var EventType;
419
423
  EventType["ALDO_ITEM_DELETED"] = "aldo_item_deleted";
420
424
  EventType["ANSH_ITEM_UPSERTED"] = "ansh_item_upserted";
421
425
  EventType["ANSH_ITEM_DELETED"] = "ansh_item_deleted";
426
+ EventType["ANIRBAN_ITEM_UPSERTED"] = "anirban_item_upserted";
427
+ EventType["ANIRBAN_ITEM_DELETED"] = "anirban_item_deleted";
422
428
  EventType["TRANSACTION_UPSERTED"] = "transaction_upserted";
423
429
  EventType["ORGANIZATION_TRANSACTION_UPSERTED"] = "organization_transaction_upserted";
424
430
  EventType["ORGANIZATION_TRANSACTION_DELETED"] = "organization_transaction_deleted";
@@ -473,44 +479,12 @@ var EventType;
473
479
  EventType["RATE_UPSERTED"] = "rate_upserted";
474
480
  EventType["RATE_DELETED_V_3"] = "rate_deleted_v3";
475
481
  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
482
  EventType["ALLOCATION_DELETED_V_2"] = "allocation_deleted_v2";
481
483
  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
484
  EventType["ORDER_DELETED_V_2"] = "order_deleted_v2";
503
485
  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
486
  EventType["ORDER_IDENTIFIER_DELETED_V_2"] = "order_identifier_deleted_v2";
507
- EventType["ORDER_IDENTIFIER_UPSERTED_V_2"] = "order_identifier_upserted_v2";
508
487
  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
488
  EventType["FRAUD_STATUS_CHANGED"] = "fraud_status_changed";
515
489
  EventType["CENTER_UPSERTED"] = "center_upserted";
516
490
  EventType["CENTER_DELETED"] = "center_deleted";
@@ -535,8 +509,6 @@ var EventType;
535
509
  EventType["ITEM_ORIGIN_DELETED"] = "item_origin_deleted";
536
510
  EventType["HARMONIZED_LANDED_COST_UPSERTED"] = "harmonized_landed_cost_upserted";
537
511
  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
512
  EventType["LABEL_UPSERTED"] = "label_upserted";
541
513
  EventType["LABEL_DELETED_V_2"] = "label_deleted_v2";
542
514
  EventType["LABEL_UPSERTED_V_2"] = "label_upserted_v2";
@@ -886,6 +858,11 @@ var LevyComponent;
886
858
  LevyComponent["FREIGHT"] = "freight";
887
859
  LevyComponent["VAT"] = "vat";
888
860
  })(LevyComponent = exports.LevyComponent || (exports.LevyComponent = {}));
861
+ var LevyInclusion;
862
+ (function (LevyInclusion) {
863
+ LevyInclusion["TAX"] = "tax";
864
+ LevyInclusion["DUTY"] = "duty";
865
+ })(LevyInclusion = exports.LevyInclusion || (exports.LevyInclusion = {}));
889
866
  var LevyStrategy;
890
867
  (function (LevyStrategy) {
891
868
  LevyStrategy["MINIMUM"] = "minimum";
@@ -1084,6 +1061,15 @@ var OrderPriceDetailKey;
1084
1061
  OrderPriceDetailKey["SURCHARGES"] = "surcharges";
1085
1062
  OrderPriceDetailKey["TIP"] = "tip";
1086
1063
  })(OrderPriceDetailKey = exports.OrderPriceDetailKey || (exports.OrderPriceDetailKey = {}));
1064
+ var OrderPriceFeeType;
1065
+ (function (OrderPriceFeeType) {
1066
+ OrderPriceFeeType["SERVICE"] = "service";
1067
+ OrderPriceFeeType["FX"] = "fx";
1068
+ OrderPriceFeeType["TAX"] = "tax";
1069
+ OrderPriceFeeType["DUTIES"] = "duties";
1070
+ OrderPriceFeeType["TAX_AND_DUTIES"] = "tax_and_duties";
1071
+ OrderPriceFeeType["PRODUCT"] = "product";
1072
+ })(OrderPriceFeeType = exports.OrderPriceFeeType || (exports.OrderPriceFeeType = {}));
1087
1073
  var OrderRefundSummaryIncludes;
1088
1074
  (function (OrderRefundSummaryIncludes) {
1089
1075
  OrderRefundSummaryIncludes["DUTIES"] = "duties";
@@ -1311,6 +1297,11 @@ var PostalType;
1311
1297
  PostalType["POSTAL"] = "postal";
1312
1298
  PostalType["ZIP"] = "zip";
1313
1299
  })(PostalType = exports.PostalType || (exports.PostalType = {}));
1300
+ var PreferentialRateEligibility;
1301
+ (function (PreferentialRateEligibility) {
1302
+ PreferentialRateEligibility["BABY_CLOTHING"] = "baby_clothing";
1303
+ PreferentialRateEligibility["KIDS_CLOTHING"] = "kids_clothing";
1304
+ })(PreferentialRateEligibility = exports.PreferentialRateEligibility || (exports.PreferentialRateEligibility = {}));
1314
1305
  var PreferredServiceSelectionStrategy;
1315
1306
  (function (PreferredServiceSelectionStrategy) {
1316
1307
  PreferredServiceSelectionStrategy["CALCULATED_RATE"] = "calculated_rate";
@@ -1373,39 +1364,6 @@ var PricingLevySetting;
1373
1364
  PricingLevySetting["DISPLAYED"] = "displayed";
1374
1365
  PricingLevySetting["IGNORED"] = "ignored";
1375
1366
  })(PricingLevySetting = exports.PricingLevySetting || (exports.PricingLevySetting = {}));
1376
- var ProductRestrictionRule;
1377
- (function (ProductRestrictionRule) {
1378
- ProductRestrictionRule["ADULT_PRODUCT"] = "Adult Products";
1379
- ProductRestrictionRule["ALCOHOL"] = "Alcohol";
1380
- ProductRestrictionRule["ANTI_MONEY_LAUNDERING"] = "Anti Money Laundering";
1381
- ProductRestrictionRule["COLLAGEN"] = "Collagen";
1382
- ProductRestrictionRule["CONSUMER_SAFETY"] = "Consumer Safety";
1383
- ProductRestrictionRule["COSMETICS"] = "Cosmetics";
1384
- ProductRestrictionRule["DG_BATTERIES"] = "DG - Batteries";
1385
- ProductRestrictionRule["DG_HAZMAT"] = "DG - Hazmat";
1386
- ProductRestrictionRule["DRUGS"] = "Drugs";
1387
- ProductRestrictionRule["DUAL_USE"] = "Dual Use";
1388
- ProductRestrictionRule["FINE_ART"] = "Fine Art";
1389
- ProductRestrictionRule["FISH_WILDLIFE_CITES"] = "Fish & Wildlife - CITES";
1390
- ProductRestrictionRule["FISH_WILDLIFE_PLANT"] = "Fish & Wildlife - Plant";
1391
- ProductRestrictionRule["FISH_WILDLIFE_USFWS"] = "Fish & Wildlife - USFWS";
1392
- ProductRestrictionRule["FOOD"] = "Food";
1393
- ProductRestrictionRule["GAMBLING"] = "Gambling";
1394
- ProductRestrictionRule["HEALTH"] = "Health";
1395
- ProductRestrictionRule["HUMAN_HAIR"] = "Human hair";
1396
- ProductRestrictionRule["INSUFFICIENT_DETAILS"] = "Insufficient Details";
1397
- ProductRestrictionRule["INTANGIBLE"] = "Intangible";
1398
- ProductRestrictionRule["JEWELRY"] = "Jewelry";
1399
- ProductRestrictionRule["JEWELRY_WATCHES_OVER_LIMIT"] = "Jewelry & Watches Over 5000";
1400
- ProductRestrictionRule["KNIVES"] = "Knives";
1401
- ProductRestrictionRule["LIQUIDS"] = "Liquids";
1402
- ProductRestrictionRule["OVERSIZED"] = "Oversized";
1403
- ProductRestrictionRule["RESTRICT_BY_DEFAULT"] = "Restrict by Default";
1404
- ProductRestrictionRule["SUPPLEMENTS"] = "Supplements";
1405
- ProductRestrictionRule["TATTOO_INK_AND_PMU"] = "Tattoo Ink And PMU";
1406
- ProductRestrictionRule["WEAPON"] = "Weapon";
1407
- ProductRestrictionRule["WOOD"] = "Wood";
1408
- })(ProductRestrictionRule = exports.ProductRestrictionRule || (exports.ProductRestrictionRule = {}));
1409
1367
  var PromotionTriggerType;
1410
1368
  (function (PromotionTriggerType) {
1411
1369
  PromotionTriggerType["AUTOMATIC"] = "automatic";
@@ -1561,11 +1519,29 @@ var RoundingType;
1561
1519
  RoundingType["PATTERN"] = "pattern";
1562
1520
  RoundingType["MULTIPLE"] = "multiple";
1563
1521
  })(RoundingType = exports.RoundingType || (exports.RoundingType = {}));
1522
+ var RuleEffectType;
1523
+ (function (RuleEffectType) {
1524
+ RuleEffectType["MARKET"] = "market";
1525
+ RuleEffectType["DHL"] = "dhl";
1526
+ RuleEffectType["DHL_ECOMMERCE"] = "dhl_ecommerce";
1527
+ RuleEffectType["UPS"] = "ups";
1528
+ })(RuleEffectType = exports.RuleEffectType || (exports.RuleEffectType = {}));
1564
1529
  var ScheduleExceptionStatus;
1565
1530
  (function (ScheduleExceptionStatus) {
1566
1531
  ScheduleExceptionStatus["OPEN"] = "Open";
1567
1532
  ScheduleExceptionStatus["CLOSED"] = "Closed";
1568
1533
  })(ScheduleExceptionStatus = exports.ScheduleExceptionStatus || (exports.ScheduleExceptionStatus = {}));
1534
+ var SellabilityErrorCode;
1535
+ (function (SellabilityErrorCode) {
1536
+ SellabilityErrorCode["INSUFFICIENT_DETAILS"] = "insufficient_details";
1537
+ SellabilityErrorCode["INELIGIBLE_CATEGORY"] = "ineligible_category";
1538
+ SellabilityErrorCode["WAIT_FOR_HIGH_FIDELITY"] = "wait_for_high_fidelity";
1539
+ SellabilityErrorCode["EXTERNAL_SERVICE_UNAVAILABLE"] = "external_service_unavailable";
1540
+ })(SellabilityErrorCode = exports.SellabilityErrorCode || (exports.SellabilityErrorCode = {}));
1541
+ var SellabilityRequestStatus;
1542
+ (function (SellabilityRequestStatus) {
1543
+ SellabilityRequestStatus["COMMIT"] = "commit";
1544
+ })(SellabilityRequestStatus = exports.SellabilityRequestStatus || (exports.SellabilityRequestStatus = {}));
1569
1545
  var ShipmentIntegrationType;
1570
1546
  (function (ShipmentIntegrationType) {
1571
1547
  ShipmentIntegrationType["DIRECT"] = "direct";
@@ -1696,6 +1672,30 @@ var TaxApplicability;
1696
1672
  TaxApplicability["NONE"] = "none";
1697
1673
  TaxApplicability["ALL"] = "all";
1698
1674
  })(TaxApplicability = exports.TaxApplicability || (exports.TaxApplicability = {}));
1675
+ var TaxDutyCalculatorValidationErrorCode;
1676
+ (function (TaxDutyCalculatorValidationErrorCode) {
1677
+ TaxDutyCalculatorValidationErrorCode["GENERIC_ERROR"] = "generic_error";
1678
+ TaxDutyCalculatorValidationErrorCode["DESTINATION_COUNTRY_NOT_DEFINED"] = "destination_country_not_defined";
1679
+ TaxDutyCalculatorValidationErrorCode["DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED"] = "destination_address_iso3166_unrecognized";
1680
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID"] = "line_item_shipfrom_shipto_country_invalid";
1681
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_SHIP_FROM_INVALID"] = "line_item_ship_from_invalid";
1682
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED"] = "line_item_currency_iso4217_unrecognized";
1683
+ TaxDutyCalculatorValidationErrorCode["LINE_QUANTITY_INVALID"] = "line_quantity_invalid";
1684
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_QUANTITY_INVALID"] = "line_item_quantity_invalid";
1685
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_UNIT_PRICE_PRECISION_INVALID"] = "line_item_unit_price_precision_invalid";
1686
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_UNIT_PRICE_NEGATIVE"] = "line_item_unit_price_negative";
1687
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID"] = "line_item_discount_amount_precision_invalid";
1688
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE"] = "line_item_discount_amount_positive";
1689
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED"] = "line_item_country_of_origin_iso3166_unrecognized";
1690
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_HS_CODE_INVALID"] = "line_item_hs_code_invalid";
1691
+ TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DUTY_PROVIDER_INVALID"] = "line_item_duty_provider_invalid";
1692
+ TaxDutyCalculatorValidationErrorCode["SHIPPING_UNIT_PRICE_PRECISION_INVALID"] = "shipping_unit_price_precision_invalid";
1693
+ TaxDutyCalculatorValidationErrorCode["SHIPPING_UNIT_PRICE_NEGATIVE"] = "shipping_unit_price_negative";
1694
+ TaxDutyCalculatorValidationErrorCode["SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID"] = "shipping_discount_amount_precision_invalid";
1695
+ TaxDutyCalculatorValidationErrorCode["SHIPPING_DISCOUNT_AMOUNT_INVALID"] = "shipping_discount_amount_invalid";
1696
+ TaxDutyCalculatorValidationErrorCode["MERCHANT_OF_RECORD_INVALID"] = "merchant_of_record_invalid";
1697
+ TaxDutyCalculatorValidationErrorCode["WRONG_UNIT_SPECIFIED"] = "wrong_unit_specified";
1698
+ })(TaxDutyCalculatorValidationErrorCode = exports.TaxDutyCalculatorValidationErrorCode || (exports.TaxDutyCalculatorValidationErrorCode = {}));
1699
1699
  var TaxDutyTransactionReasonCode;
1700
1700
  (function (TaxDutyTransactionReasonCode) {
1701
1701
  TaxDutyTransactionReasonCode["POST_CAPTURE"] = "post_capture";
@@ -1825,6 +1825,8 @@ var TransactionSource;
1825
1825
  TransactionSource["TAX_REFUND"] = "tax_refund";
1826
1826
  TransactionSource["DUTY_REFUND"] = "duty_refund";
1827
1827
  TransactionSource["NON_L_4_L_TAX_DUTY_FX"] = "non_l4l_tax_duty_fx";
1828
+ TransactionSource["MERCHANT_PAYOUT"] = "merchant_payout";
1829
+ TransactionSource["MERCHANT_REFUND"] = "merchant_refund";
1828
1830
  TransactionSource["GE_REVENUE_SHARE"] = "ge_revenue_share";
1829
1831
  })(TransactionSource = exports.TransactionSource || (exports.TransactionSource = {}));
1830
1832
  var TransferStatus;
@@ -1869,6 +1871,7 @@ var TrueupSurchargeType;
1869
1871
  TrueupSurchargeType["SATURDAY_STOP"] = "saturday_stop";
1870
1872
  TrueupSurchargeType["RESIDENTIAL_EXTENDED_AREA_PICKUP"] = "residential_extended_area_pickup";
1871
1873
  TrueupSurchargeType["PACKAGE_LEVEL_DETAIL"] = "package_level_detail";
1874
+ TrueupSurchargeType["PICKUP"] = "pickup";
1872
1875
  })(TrueupSurchargeType = exports.TrueupSurchargeType || (exports.TrueupSurchargeType = {}));
1873
1876
  var UnitOfLength;
1874
1877
  (function (UnitOfLength) {
@@ -1959,3 +1962,16 @@ var ZeroAmountIndicator;
1959
1962
  ZeroAmountIndicator["ZERO"] = "zero";
1960
1963
  ZeroAmountIndicator["FREE"] = "free";
1961
1964
  })(ZeroAmountIndicator = exports.ZeroAmountIndicator || (exports.ZeroAmountIndicator = {}));
1965
+ var ZeroLevyReasonCode;
1966
+ (function (ZeroLevyReasonCode) {
1967
+ ZeroLevyReasonCode["ZERO_BASIS"] = "zero_basis";
1968
+ ZeroLevyReasonCode["ZERO_RATE_ON_GOODS"] = "zero_rate_on_goods";
1969
+ ZeroLevyReasonCode["VALUE_ROUNDS_TO_ZERO"] = "value_rounds_to_zero";
1970
+ ZeroLevyReasonCode["ORDER_BELOW_DE_MINIMIS_THRESHOLD"] = "order_below_de_minimis_threshold";
1971
+ ZeroLevyReasonCode["AMOUNT_BELOW_DE_MINIMIS_THRESHOLD"] = "amount_below_de_minimis_threshold";
1972
+ ZeroLevyReasonCode["DELIVERED_UNPAID"] = "delivered_unpaid";
1973
+ ZeroLevyReasonCode["DUTY_FREE_DOMESTIC"] = "duty_free_domestic";
1974
+ ZeroLevyReasonCode["DUTY_FREE_INTRA_COMMUNITY"] = "duty_free_intra_community";
1975
+ ZeroLevyReasonCode["DUTY_FREE_REIMPORT"] = "duty_free_reimport";
1976
+ ZeroLevyReasonCode["DUTY_FREE_BY_TRADE_AGREEMENT"] = "duty_free_by_trade_agreement";
1977
+ })(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.77",
3
+ "version": "2.13.79",
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": "02aac7bc00282660cbd728450e9d4a633df23dce"
29
+ "gitHead": "2632f6e2c71eb30e4e61bee087ba63be6ae0f4bc"
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',
@@ -411,6 +415,8 @@ export enum EventType {
411
415
  ALDO_ITEM_DELETED = 'aldo_item_deleted',
412
416
  ANSH_ITEM_UPSERTED = 'ansh_item_upserted',
413
417
  ANSH_ITEM_DELETED = 'ansh_item_deleted',
418
+ ANIRBAN_ITEM_UPSERTED = 'anirban_item_upserted',
419
+ ANIRBAN_ITEM_DELETED = 'anirban_item_deleted',
414
420
  TRANSACTION_UPSERTED = 'transaction_upserted',
415
421
  ORGANIZATION_TRANSACTION_UPSERTED = 'organization_transaction_upserted',
416
422
  ORGANIZATION_TRANSACTION_DELETED = 'organization_transaction_deleted',
@@ -465,44 +471,12 @@ export enum EventType {
465
471
  RATE_UPSERTED = 'rate_upserted',
466
472
  RATE_DELETED_V_3 = 'rate_deleted_v3',
467
473
  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
474
  ALLOCATION_DELETED_V_2 = 'allocation_deleted_v2',
473
475
  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
476
  ORDER_DELETED_V_2 = 'order_deleted_v2',
495
477
  ORDER_UPSERTED_V_2 = 'order_upserted_v2',
496
- ORDER_IDENTIFIER_DELETED = 'order_identifier_deleted',
497
- ORDER_IDENTIFIER_UPSERTED = 'order_identifier_upserted',
498
478
  ORDER_IDENTIFIER_DELETED_V_2 = 'order_identifier_deleted_v2',
499
- ORDER_IDENTIFIER_UPSERTED_V_2 = 'order_identifier_upserted_v2',
500
479
  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
480
  FRAUD_STATUS_CHANGED = 'fraud_status_changed',
507
481
  CENTER_UPSERTED = 'center_upserted',
508
482
  CENTER_DELETED = 'center_deleted',
@@ -527,8 +501,6 @@ export enum EventType {
527
501
  ITEM_ORIGIN_DELETED = 'item_origin_deleted',
528
502
  HARMONIZED_LANDED_COST_UPSERTED = 'harmonized_landed_cost_upserted',
529
503
  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
504
  LABEL_UPSERTED = 'label_upserted',
533
505
  LABEL_DELETED_V_2 = 'label_deleted_v2',
534
506
  LABEL_UPSERTED_V_2 = 'label_upserted_v2',
@@ -879,6 +851,11 @@ export enum LevyComponent {
879
851
  VAT = 'vat',
880
852
  }
881
853
 
854
+ export enum LevyInclusion {
855
+ TAX = 'tax',
856
+ DUTY = 'duty',
857
+ }
858
+
882
859
  export enum LevyStrategy {
883
860
  MINIMUM = 'minimum',
884
861
  AVERAGE = 'average',
@@ -1077,6 +1054,15 @@ export enum OrderPriceDetailKey {
1077
1054
  TIP = 'tip',
1078
1055
  }
1079
1056
 
1057
+ export enum OrderPriceFeeType {
1058
+ SERVICE = 'service',
1059
+ FX = 'fx',
1060
+ TAX = 'tax',
1061
+ DUTIES = 'duties',
1062
+ TAX_AND_DUTIES = 'tax_and_duties',
1063
+ PRODUCT = 'product',
1064
+ }
1065
+
1080
1066
  export enum OrderRefundSummaryIncludes {
1081
1067
  DUTIES = 'duties',
1082
1068
  VAT = 'vat',
@@ -1304,6 +1290,11 @@ export enum PostalType {
1304
1290
  ZIP = 'zip',
1305
1291
  }
1306
1292
 
1293
+ export enum PreferentialRateEligibility {
1294
+ BABY_CLOTHING = 'baby_clothing',
1295
+ KIDS_CLOTHING = 'kids_clothing',
1296
+ }
1297
+
1307
1298
  export enum PreferredServiceSelectionStrategy {
1308
1299
  CALCULATED_RATE = 'calculated_rate',
1309
1300
  FLAT_RATE = 'flat_rate',
@@ -1366,39 +1357,6 @@ export enum PricingLevySetting {
1366
1357
  IGNORED = 'ignored',
1367
1358
  }
1368
1359
 
1369
- export enum ProductRestrictionRule {
1370
- ADULT_PRODUCT = 'Adult Products',
1371
- ALCOHOL = 'Alcohol',
1372
- ANTI_MONEY_LAUNDERING = 'Anti Money Laundering',
1373
- COLLAGEN = 'Collagen',
1374
- CONSUMER_SAFETY = 'Consumer Safety',
1375
- COSMETICS = 'Cosmetics',
1376
- DG_BATTERIES = 'DG - Batteries',
1377
- DG_HAZMAT = 'DG - Hazmat',
1378
- DRUGS = 'Drugs',
1379
- DUAL_USE = 'Dual Use',
1380
- FINE_ART = 'Fine Art',
1381
- FISH_WILDLIFE_CITES = 'Fish & Wildlife - CITES',
1382
- FISH_WILDLIFE_PLANT = 'Fish & Wildlife - Plant',
1383
- FISH_WILDLIFE_USFWS = 'Fish & Wildlife - USFWS',
1384
- FOOD = 'Food',
1385
- GAMBLING = 'Gambling',
1386
- HEALTH = 'Health',
1387
- HUMAN_HAIR = 'Human hair',
1388
- INSUFFICIENT_DETAILS = 'Insufficient Details',
1389
- INTANGIBLE = 'Intangible',
1390
- JEWELRY = 'Jewelry',
1391
- JEWELRY_WATCHES_OVER_LIMIT = 'Jewelry & Watches Over 5000',
1392
- KNIVES = 'Knives',
1393
- LIQUIDS = 'Liquids',
1394
- OVERSIZED = 'Oversized',
1395
- RESTRICT_BY_DEFAULT = 'Restrict by Default',
1396
- SUPPLEMENTS = 'Supplements',
1397
- TATTOO_INK_AND_PMU = 'Tattoo Ink And PMU',
1398
- WEAPON = 'Weapon',
1399
- WOOD = 'Wood',
1400
- }
1401
-
1402
1360
  export enum PromotionTriggerType {
1403
1361
  AUTOMATIC = 'automatic',
1404
1362
  ORDER_SUBTOTAL = 'order_subtotal',
@@ -1554,11 +1512,29 @@ export enum RoundingType {
1554
1512
  MULTIPLE = 'multiple',
1555
1513
  }
1556
1514
 
1515
+ export enum RuleEffectType {
1516
+ MARKET = 'market',
1517
+ DHL = 'dhl',
1518
+ DHL_ECOMMERCE = 'dhl_ecommerce',
1519
+ UPS = 'ups',
1520
+ }
1521
+
1557
1522
  export enum ScheduleExceptionStatus {
1558
1523
  OPEN = 'Open',
1559
1524
  CLOSED = 'Closed',
1560
1525
  }
1561
1526
 
1527
+ export enum SellabilityErrorCode {
1528
+ INSUFFICIENT_DETAILS = 'insufficient_details',
1529
+ INELIGIBLE_CATEGORY = 'ineligible_category',
1530
+ WAIT_FOR_HIGH_FIDELITY = 'wait_for_high_fidelity',
1531
+ EXTERNAL_SERVICE_UNAVAILABLE = 'external_service_unavailable',
1532
+ }
1533
+
1534
+ export enum SellabilityRequestStatus {
1535
+ COMMIT = 'commit',
1536
+ }
1537
+
1562
1538
  export enum ShipmentIntegrationType {
1563
1539
  DIRECT = 'direct',
1564
1540
  INFORMATION = 'information',
@@ -1689,6 +1665,30 @@ export enum TaxApplicability {
1689
1665
  ALL = 'all',
1690
1666
  }
1691
1667
 
1668
+ export enum TaxDutyCalculatorValidationErrorCode {
1669
+ GENERIC_ERROR = 'generic_error',
1670
+ DESTINATION_COUNTRY_NOT_DEFINED = 'destination_country_not_defined',
1671
+ DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED = 'destination_address_iso3166_unrecognized',
1672
+ LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID = 'line_item_shipfrom_shipto_country_invalid',
1673
+ LINE_ITEM_SHIP_FROM_INVALID = 'line_item_ship_from_invalid',
1674
+ LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED = 'line_item_currency_iso4217_unrecognized',
1675
+ LINE_QUANTITY_INVALID = 'line_quantity_invalid',
1676
+ LINE_ITEM_QUANTITY_INVALID = 'line_item_quantity_invalid',
1677
+ LINE_ITEM_UNIT_PRICE_PRECISION_INVALID = 'line_item_unit_price_precision_invalid',
1678
+ LINE_ITEM_UNIT_PRICE_NEGATIVE = 'line_item_unit_price_negative',
1679
+ LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID = 'line_item_discount_amount_precision_invalid',
1680
+ LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE = 'line_item_discount_amount_positive',
1681
+ LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED = 'line_item_country_of_origin_iso3166_unrecognized',
1682
+ LINE_ITEM_HS_CODE_INVALID = 'line_item_hs_code_invalid',
1683
+ LINE_ITEM_DUTY_PROVIDER_INVALID = 'line_item_duty_provider_invalid',
1684
+ SHIPPING_UNIT_PRICE_PRECISION_INVALID = 'shipping_unit_price_precision_invalid',
1685
+ SHIPPING_UNIT_PRICE_NEGATIVE = 'shipping_unit_price_negative',
1686
+ SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID = 'shipping_discount_amount_precision_invalid',
1687
+ SHIPPING_DISCOUNT_AMOUNT_INVALID = 'shipping_discount_amount_invalid',
1688
+ MERCHANT_OF_RECORD_INVALID = 'merchant_of_record_invalid',
1689
+ WRONG_UNIT_SPECIFIED = 'wrong_unit_specified',
1690
+ }
1691
+
1692
1692
  export enum TaxDutyTransactionReasonCode {
1693
1693
  POST_CAPTURE = 'post_capture',
1694
1694
  POST_FULFILMENT = 'post_fulfilment',
@@ -1817,6 +1817,8 @@ export enum TransactionSource {
1817
1817
  TAX_REFUND = 'tax_refund',
1818
1818
  DUTY_REFUND = 'duty_refund',
1819
1819
  NON_L_4_L_TAX_DUTY_FX = 'non_l4l_tax_duty_fx',
1820
+ MERCHANT_PAYOUT = 'merchant_payout',
1821
+ MERCHANT_REFUND = 'merchant_refund',
1820
1822
  GE_REVENUE_SHARE = 'ge_revenue_share',
1821
1823
  }
1822
1824
 
@@ -1861,6 +1863,7 @@ export enum TrueupSurchargeType {
1861
1863
  SATURDAY_STOP = 'saturday_stop',
1862
1864
  RESIDENTIAL_EXTENDED_AREA_PICKUP = 'residential_extended_area_pickup',
1863
1865
  PACKAGE_LEVEL_DETAIL = 'package_level_detail',
1866
+ PICKUP = 'pickup',
1864
1867
  }
1865
1868
 
1866
1869
  export enum UnitOfLength {
@@ -1951,3 +1954,16 @@ export enum ZeroAmountIndicator {
1951
1954
  ZERO = 'zero',
1952
1955
  FREE = 'free',
1953
1956
  }
1957
+
1958
+ export enum ZeroLevyReasonCode {
1959
+ ZERO_BASIS = 'zero_basis',
1960
+ ZERO_RATE_ON_GOODS = 'zero_rate_on_goods',
1961
+ VALUE_ROUNDS_TO_ZERO = 'value_rounds_to_zero',
1962
+ ORDER_BELOW_DE_MINIMIS_THRESHOLD = 'order_below_de_minimis_threshold',
1963
+ AMOUNT_BELOW_DE_MINIMIS_THRESHOLD = 'amount_below_de_minimis_threshold',
1964
+ DELIVERED_UNPAID = 'delivered_unpaid',
1965
+ DUTY_FREE_DOMESTIC = 'duty_free_domestic',
1966
+ DUTY_FREE_INTRA_COMMUNITY = 'duty_free_intra_community',
1967
+ DUTY_FREE_REIMPORT = 'duty_free_reimport',
1968
+ DUTY_FREE_BY_TRADE_AGREEMENT = 'duty_free_by_trade_agreement',
1969
+ }