@flowio/api-constants 2.13.76 → 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 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",
@@ -594,7 +564,8 @@ export declare enum FeeDeductionType {
594
564
  PROCESSING = "processing",
595
565
  RATE_LOCK = "rate_lock",
596
566
  TRANSFER = "transfer",
597
- NEGATIVE_BALANCE_GUARANTEE = "negative_balance_guarantee"
567
+ NEGATIVE_BALANCE_GUARANTEE = "negative_balance_guarantee",
568
+ SP = "sp"
598
569
  }
599
570
  export declare enum FlowBehavior {
600
571
  VIEW_CONSUMER_DATA = "view_consumer_data"
@@ -781,6 +752,10 @@ export declare enum LevyComponent {
781
752
  FREIGHT = "freight",
782
753
  VAT = "vat"
783
754
  }
755
+ export declare enum LevyInclusion {
756
+ TAX = "tax",
757
+ DUTY = "duty"
758
+ }
784
759
  export declare enum LevyStrategy {
785
760
  MINIMUM = "minimum",
786
761
  AVERAGE = "average",
@@ -1045,7 +1020,8 @@ export declare enum PaymentFailureCode {
1045
1020
  }
1046
1021
  export declare enum PaymentFeeType {
1047
1022
  FX = "fx",
1048
- MOR = "mor"
1023
+ MOR = "mor",
1024
+ SP = "sp"
1049
1025
  }
1050
1026
  export declare enum PaymentMethodCapability {
1051
1027
  CREDIT = "credit",
@@ -1155,6 +1131,10 @@ export declare enum PostalType {
1155
1131
  POSTAL = "postal",
1156
1132
  ZIP = "zip"
1157
1133
  }
1134
+ export declare enum PreferentialRateEligibility {
1135
+ BABY_CLOTHING = "baby_clothing",
1136
+ KIDS_CLOTHING = "kids_clothing"
1137
+ }
1158
1138
  export declare enum PreferredServiceSelectionStrategy {
1159
1139
  CALCULATED_RATE = "calculated_rate",
1160
1140
  FLAT_RATE = "flat_rate",
@@ -1236,9 +1216,11 @@ export declare enum ProductRestrictionRule {
1236
1216
  KNIVES = "Knives",
1237
1217
  LIQUIDS = "Liquids",
1238
1218
  OVERSIZED = "Oversized",
1219
+ PENDING_CLASSIFICATION = "Pending Classification",
1239
1220
  RESTRICT_BY_DEFAULT = "Restrict by Default",
1240
1221
  SUPPLEMENTS = "Supplements",
1241
1222
  TATTOO_INK_AND_PMU = "Tattoo Ink And PMU",
1223
+ UNKNOWN_BUNDLES = "Unknown Bundles",
1242
1224
  WEAPON = "Weapon",
1243
1225
  WOOD = "Wood"
1244
1226
  }
@@ -1378,10 +1360,25 @@ export declare enum RoundingType {
1378
1360
  PATTERN = "pattern",
1379
1361
  MULTIPLE = "multiple"
1380
1362
  }
1363
+ export declare enum RuleEffectType {
1364
+ MARKET = "market",
1365
+ DHL = "dhl",
1366
+ DHL_ECOMMERCE = "dhl_ecommerce",
1367
+ UPS = "ups"
1368
+ }
1381
1369
  export declare enum ScheduleExceptionStatus {
1382
1370
  OPEN = "Open",
1383
1371
  CLOSED = "Closed"
1384
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
+ }
1385
1382
  export declare enum ShipmentIntegrationType {
1386
1383
  DIRECT = "direct",
1387
1384
  INFORMATION = "information",
@@ -1497,14 +1494,40 @@ export declare enum TaxApplicability {
1497
1494
  NONE = "none",
1498
1495
  ALL = "all"
1499
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
+ }
1500
1520
  export declare enum TaxDutyTransactionReasonCode {
1521
+ POST_CAPTURE = "post_capture",
1522
+ POST_FULFILMENT = "post_fulfilment",
1523
+ MANUAL_PAYMENT_OR_GIFT_CARD = "manual_payment_or_gift_card",
1501
1524
  ORDER_EDIT = "order_edit",
1502
- ORDER_ACCEPTANCE = "order_acceptance",
1503
1525
  MIXED_FULFILMENT_NON_LVG = "mixed_fulfilment_non_lvg",
1504
1526
  LVG_REFUND = "lvg_refund",
1505
1527
  ORDER_CANCELLATION_ABOVE_DE_MIN = "order_cancellation_above_de_min",
1506
1528
  WYOL_SHIPMENT_ABOVE_DE_MIN = "wyol_shipment_above_de_min",
1507
- FULL_REFUND_WITHOUT_SHIPMENT = "full_refund_without_shipment"
1529
+ FULL_REFUND_WITHOUT_SHIPMENT = "full_refund_without_shipment",
1530
+ UNFULFILLED_ORDER_ABOVE_DE_MIN = "unfulfilled_order_above_de_min"
1508
1531
  }
1509
1532
  export declare enum TaxReportType {
1510
1533
  CONSUMER = "consumer",
@@ -1607,6 +1630,8 @@ export declare enum TransactionSource {
1607
1630
  TAX_REFUND = "tax_refund",
1608
1631
  DUTY_REFUND = "duty_refund",
1609
1632
  NON_L_4_L_TAX_DUTY_FX = "non_l4l_tax_duty_fx",
1633
+ MERCHANT_PAYOUT = "merchant_payout",
1634
+ MERCHANT_REFUND = "merchant_refund",
1610
1635
  GE_REVENUE_SHARE = "ge_revenue_share"
1611
1636
  }
1612
1637
  export declare enum TransferStatus {
@@ -1725,3 +1750,15 @@ export declare enum ZeroAmountIndicator {
1725
1750
  ZERO = "zero",
1726
1751
  FREE = "free"
1727
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.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.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";
@@ -667,6 +637,7 @@ var FeeDeductionType;
667
637
  FeeDeductionType["RATE_LOCK"] = "rate_lock";
668
638
  FeeDeductionType["TRANSFER"] = "transfer";
669
639
  FeeDeductionType["NEGATIVE_BALANCE_GUARANTEE"] = "negative_balance_guarantee";
640
+ FeeDeductionType["SP"] = "sp";
670
641
  })(FeeDeductionType = exports.FeeDeductionType || (exports.FeeDeductionType = {}));
671
642
  var FlowBehavior;
672
643
  (function (FlowBehavior) {
@@ -885,6 +856,11 @@ var LevyComponent;
885
856
  LevyComponent["FREIGHT"] = "freight";
886
857
  LevyComponent["VAT"] = "vat";
887
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 = {}));
888
864
  var LevyStrategy;
889
865
  (function (LevyStrategy) {
890
866
  LevyStrategy["MINIMUM"] = "minimum";
@@ -1184,6 +1160,7 @@ var PaymentFeeType;
1184
1160
  (function (PaymentFeeType) {
1185
1161
  PaymentFeeType["FX"] = "fx";
1186
1162
  PaymentFeeType["MOR"] = "mor";
1163
+ PaymentFeeType["SP"] = "sp";
1187
1164
  })(PaymentFeeType = exports.PaymentFeeType || (exports.PaymentFeeType = {}));
1188
1165
  var PaymentMethodCapability;
1189
1166
  (function (PaymentMethodCapability) {
@@ -1309,6 +1286,11 @@ var PostalType;
1309
1286
  PostalType["POSTAL"] = "postal";
1310
1287
  PostalType["ZIP"] = "zip";
1311
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 = {}));
1312
1294
  var PreferredServiceSelectionStrategy;
1313
1295
  (function (PreferredServiceSelectionStrategy) {
1314
1296
  PreferredServiceSelectionStrategy["CALCULATED_RATE"] = "calculated_rate";
@@ -1398,9 +1380,11 @@ var ProductRestrictionRule;
1398
1380
  ProductRestrictionRule["KNIVES"] = "Knives";
1399
1381
  ProductRestrictionRule["LIQUIDS"] = "Liquids";
1400
1382
  ProductRestrictionRule["OVERSIZED"] = "Oversized";
1383
+ ProductRestrictionRule["PENDING_CLASSIFICATION"] = "Pending Classification";
1401
1384
  ProductRestrictionRule["RESTRICT_BY_DEFAULT"] = "Restrict by Default";
1402
1385
  ProductRestrictionRule["SUPPLEMENTS"] = "Supplements";
1403
1386
  ProductRestrictionRule["TATTOO_INK_AND_PMU"] = "Tattoo Ink And PMU";
1387
+ ProductRestrictionRule["UNKNOWN_BUNDLES"] = "Unknown Bundles";
1404
1388
  ProductRestrictionRule["WEAPON"] = "Weapon";
1405
1389
  ProductRestrictionRule["WOOD"] = "Wood";
1406
1390
  })(ProductRestrictionRule = exports.ProductRestrictionRule || (exports.ProductRestrictionRule = {}));
@@ -1559,11 +1543,29 @@ var RoundingType;
1559
1543
  RoundingType["PATTERN"] = "pattern";
1560
1544
  RoundingType["MULTIPLE"] = "multiple";
1561
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 = {}));
1562
1553
  var ScheduleExceptionStatus;
1563
1554
  (function (ScheduleExceptionStatus) {
1564
1555
  ScheduleExceptionStatus["OPEN"] = "Open";
1565
1556
  ScheduleExceptionStatus["CLOSED"] = "Closed";
1566
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 = {}));
1567
1569
  var ShipmentIntegrationType;
1568
1570
  (function (ShipmentIntegrationType) {
1569
1571
  ShipmentIntegrationType["DIRECT"] = "direct";
@@ -1694,15 +1696,42 @@ var TaxApplicability;
1694
1696
  TaxApplicability["NONE"] = "none";
1695
1697
  TaxApplicability["ALL"] = "all";
1696
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 = {}));
1697
1723
  var TaxDutyTransactionReasonCode;
1698
1724
  (function (TaxDutyTransactionReasonCode) {
1725
+ TaxDutyTransactionReasonCode["POST_CAPTURE"] = "post_capture";
1726
+ TaxDutyTransactionReasonCode["POST_FULFILMENT"] = "post_fulfilment";
1727
+ TaxDutyTransactionReasonCode["MANUAL_PAYMENT_OR_GIFT_CARD"] = "manual_payment_or_gift_card";
1699
1728
  TaxDutyTransactionReasonCode["ORDER_EDIT"] = "order_edit";
1700
- TaxDutyTransactionReasonCode["ORDER_ACCEPTANCE"] = "order_acceptance";
1701
1729
  TaxDutyTransactionReasonCode["MIXED_FULFILMENT_NON_LVG"] = "mixed_fulfilment_non_lvg";
1702
1730
  TaxDutyTransactionReasonCode["LVG_REFUND"] = "lvg_refund";
1703
1731
  TaxDutyTransactionReasonCode["ORDER_CANCELLATION_ABOVE_DE_MIN"] = "order_cancellation_above_de_min";
1704
1732
  TaxDutyTransactionReasonCode["WYOL_SHIPMENT_ABOVE_DE_MIN"] = "wyol_shipment_above_de_min";
1705
1733
  TaxDutyTransactionReasonCode["FULL_REFUND_WITHOUT_SHIPMENT"] = "full_refund_without_shipment";
1734
+ TaxDutyTransactionReasonCode["UNFULFILLED_ORDER_ABOVE_DE_MIN"] = "unfulfilled_order_above_de_min";
1706
1735
  })(TaxDutyTransactionReasonCode = exports.TaxDutyTransactionReasonCode || (exports.TaxDutyTransactionReasonCode = {}));
1707
1736
  var TaxReportType;
1708
1737
  (function (TaxReportType) {
@@ -1820,6 +1849,8 @@ var TransactionSource;
1820
1849
  TransactionSource["TAX_REFUND"] = "tax_refund";
1821
1850
  TransactionSource["DUTY_REFUND"] = "duty_refund";
1822
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";
1823
1854
  TransactionSource["GE_REVENUE_SHARE"] = "ge_revenue_share";
1824
1855
  })(TransactionSource = exports.TransactionSource || (exports.TransactionSource = {}));
1825
1856
  var TransferStatus;
@@ -1954,3 +1985,16 @@ var ZeroAmountIndicator;
1954
1985
  ZeroAmountIndicator["ZERO"] = "zero";
1955
1986
  ZeroAmountIndicator["FREE"] = "free";
1956
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.76",
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": "190ae7774967db79faaab1c6f4ea63dd48a75358"
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',
@@ -659,6 +629,7 @@ export enum FeeDeductionType {
659
629
  RATE_LOCK = 'rate_lock',
660
630
  TRANSFER = 'transfer',
661
631
  NEGATIVE_BALANCE_GUARANTEE = 'negative_balance_guarantee',
632
+ SP = 'sp',
662
633
  }
663
634
 
664
635
  export enum FlowBehavior {
@@ -878,6 +849,11 @@ export enum LevyComponent {
878
849
  VAT = 'vat',
879
850
  }
880
851
 
852
+ export enum LevyInclusion {
853
+ TAX = 'tax',
854
+ DUTY = 'duty',
855
+ }
856
+
881
857
  export enum LevyStrategy {
882
858
  MINIMUM = 'minimum',
883
859
  AVERAGE = 'average',
@@ -1176,6 +1152,7 @@ export enum PaymentFailureCode {
1176
1152
  export enum PaymentFeeType {
1177
1153
  FX = 'fx',
1178
1154
  MOR = 'mor',
1155
+ SP = 'sp',
1179
1156
  }
1180
1157
 
1181
1158
  export enum PaymentMethodCapability {
@@ -1302,6 +1279,11 @@ export enum PostalType {
1302
1279
  ZIP = 'zip',
1303
1280
  }
1304
1281
 
1282
+ export enum PreferentialRateEligibility {
1283
+ BABY_CLOTHING = 'baby_clothing',
1284
+ KIDS_CLOTHING = 'kids_clothing',
1285
+ }
1286
+
1305
1287
  export enum PreferredServiceSelectionStrategy {
1306
1288
  CALCULATED_RATE = 'calculated_rate',
1307
1289
  FLAT_RATE = 'flat_rate',
@@ -1390,9 +1372,11 @@ export enum ProductRestrictionRule {
1390
1372
  KNIVES = 'Knives',
1391
1373
  LIQUIDS = 'Liquids',
1392
1374
  OVERSIZED = 'Oversized',
1375
+ PENDING_CLASSIFICATION = 'Pending Classification',
1393
1376
  RESTRICT_BY_DEFAULT = 'Restrict by Default',
1394
1377
  SUPPLEMENTS = 'Supplements',
1395
1378
  TATTOO_INK_AND_PMU = 'Tattoo Ink And PMU',
1379
+ UNKNOWN_BUNDLES = 'Unknown Bundles',
1396
1380
  WEAPON = 'Weapon',
1397
1381
  WOOD = 'Wood',
1398
1382
  }
@@ -1552,11 +1536,29 @@ export enum RoundingType {
1552
1536
  MULTIPLE = 'multiple',
1553
1537
  }
1554
1538
 
1539
+ export enum RuleEffectType {
1540
+ MARKET = 'market',
1541
+ DHL = 'dhl',
1542
+ DHL_ECOMMERCE = 'dhl_ecommerce',
1543
+ UPS = 'ups',
1544
+ }
1545
+
1555
1546
  export enum ScheduleExceptionStatus {
1556
1547
  OPEN = 'Open',
1557
1548
  CLOSED = 'Closed',
1558
1549
  }
1559
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
+
1560
1562
  export enum ShipmentIntegrationType {
1561
1563
  DIRECT = 'direct',
1562
1564
  INFORMATION = 'information',
@@ -1687,14 +1689,41 @@ export enum TaxApplicability {
1687
1689
  ALL = 'all',
1688
1690
  }
1689
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
+
1690
1716
  export enum TaxDutyTransactionReasonCode {
1717
+ POST_CAPTURE = 'post_capture',
1718
+ POST_FULFILMENT = 'post_fulfilment',
1719
+ MANUAL_PAYMENT_OR_GIFT_CARD = 'manual_payment_or_gift_card',
1691
1720
  ORDER_EDIT = 'order_edit',
1692
- ORDER_ACCEPTANCE = 'order_acceptance',
1693
1721
  MIXED_FULFILMENT_NON_LVG = 'mixed_fulfilment_non_lvg',
1694
1722
  LVG_REFUND = 'lvg_refund',
1695
1723
  ORDER_CANCELLATION_ABOVE_DE_MIN = 'order_cancellation_above_de_min',
1696
1724
  WYOL_SHIPMENT_ABOVE_DE_MIN = 'wyol_shipment_above_de_min',
1697
1725
  FULL_REFUND_WITHOUT_SHIPMENT = 'full_refund_without_shipment',
1726
+ UNFULFILLED_ORDER_ABOVE_DE_MIN = 'unfulfilled_order_above_de_min',
1698
1727
  }
1699
1728
 
1700
1729
  export enum TaxReportType {
@@ -1812,6 +1841,8 @@ export enum TransactionSource {
1812
1841
  TAX_REFUND = 'tax_refund',
1813
1842
  DUTY_REFUND = 'duty_refund',
1814
1843
  NON_L_4_L_TAX_DUTY_FX = 'non_l4l_tax_duty_fx',
1844
+ MERCHANT_PAYOUT = 'merchant_payout',
1845
+ MERCHANT_REFUND = 'merchant_refund',
1815
1846
  GE_REVENUE_SHARE = 'ge_revenue_share',
1816
1847
  }
1817
1848
 
@@ -1946,3 +1977,16 @@ export enum ZeroAmountIndicator {
1946
1977
  ZERO = 'zero',
1947
1978
  FREE = 'free',
1948
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
+ }