@flowio/api-constants 2.13.67 → 2.13.68
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 +0 -41
- package/dist/api.js +4 -48
- package/package.json +2 -2
- package/src/api.ts +0 -44
package/dist/api.d.ts
CHANGED
|
@@ -405,8 +405,6 @@ export declare enum EventType {
|
|
|
405
405
|
CUSTOMER_DELETED = "customer_deleted",
|
|
406
406
|
CUSTOMER_ADDRESS_BOOK_CONTACT_UPSERTED = "customer_address_book_contact_upserted",
|
|
407
407
|
CUSTOMER_ADDRESS_BOOK_CONTACT_DELETED = "customer_address_book_contact_deleted",
|
|
408
|
-
EMAIL_NOTIFICATION_UPSERTED = "email_notification_upserted",
|
|
409
|
-
EMAIL_NOTIFICATION_DELETED = "email_notification_deleted",
|
|
410
408
|
AVAILABLE_PROMOTIONS_UPSERTED = "available_promotions_upserted",
|
|
411
409
|
AVAILABLE_PROMOTIONS_DELETED = "available_promotions_deleted",
|
|
412
410
|
AVAILABLE_PROMOTIONS_UPSERTED_V_2 = "available_promotions_upserted_v2",
|
|
@@ -772,10 +770,6 @@ export declare enum LevyComponent {
|
|
|
772
770
|
FREIGHT = "freight",
|
|
773
771
|
VAT = "vat"
|
|
774
772
|
}
|
|
775
|
-
export declare enum LevyInclusion {
|
|
776
|
-
TAX = "tax",
|
|
777
|
-
DUTY = "duty"
|
|
778
|
-
}
|
|
779
773
|
export declare enum LevyStrategy {
|
|
780
774
|
MINIMUM = "minimum",
|
|
781
775
|
AVERAGE = "average",
|
|
@@ -1461,29 +1455,6 @@ export declare enum TaxApplicability {
|
|
|
1461
1455
|
NONE = "none",
|
|
1462
1456
|
ALL = "all"
|
|
1463
1457
|
}
|
|
1464
|
-
export declare enum TaxDutyCalculatorValidationErrorCode {
|
|
1465
|
-
GENERIC_ERROR = "generic_error",
|
|
1466
|
-
DESTINATION_COUNTRY_NOT_DEFINED = "destination_country_not_defined",
|
|
1467
|
-
DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED = "destination_address_iso3166_unrecognized",
|
|
1468
|
-
LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID = "line_item_shipfrom_shipto_country_invalid",
|
|
1469
|
-
LINE_ITEM_SHIP_FROM_INVALID = "line_item_ship_from_invalid",
|
|
1470
|
-
LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED = "line_item_currency_iso4217_unrecognized",
|
|
1471
|
-
LINE_QUANTITY_INVALID = "line_quantity_invalid",
|
|
1472
|
-
LINE_ITEM_QUANTITY_INVALID = "line_item_quantity_invalid",
|
|
1473
|
-
LINE_ITEM_UNIT_PRICE_PRECISION_INVALID = "line_item_unit_price_precision_invalid",
|
|
1474
|
-
LINE_ITEM_UNIT_PRICE_NEGATIVE = "line_item_unit_price_negative",
|
|
1475
|
-
LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID = "line_item_discount_amount_precision_invalid",
|
|
1476
|
-
LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE = "line_item_discount_amount_positive",
|
|
1477
|
-
LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED = "line_item_country_of_origin_iso3166_unrecognized",
|
|
1478
|
-
LINE_ITEM_HS_CODE_INVALID = "line_item_hs_code_invalid",
|
|
1479
|
-
LINE_ITEM_DUTY_PROVIDER_INVALID = "line_item_duty_provider_invalid",
|
|
1480
|
-
SHIPPING_UNIT_PRICE_PRECISION_INVALID = "shipping_unit_price_precision_invalid",
|
|
1481
|
-
SHIPPING_UNIT_PRICE_NEGATIVE = "shipping_unit_price_negative",
|
|
1482
|
-
SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID = "shipping_discount_amount_precision_invalid",
|
|
1483
|
-
SHIPPING_DISCOUNT_AMOUNT_INVALID = "shipping_discount_amount_invalid",
|
|
1484
|
-
MERCHANT_OF_RECORD_INVALID = "merchant_of_record_invalid",
|
|
1485
|
-
WRONG_UNIT_SPECIFIED = "wrong_unit_specified"
|
|
1486
|
-
}
|
|
1487
1458
|
export declare enum TaxReportType {
|
|
1488
1459
|
CONSUMER = "consumer",
|
|
1489
1460
|
B_2_B = "b2b"
|
|
@@ -1680,15 +1651,3 @@ export declare enum ZeroAmountIndicator {
|
|
|
1680
1651
|
ZERO = "zero",
|
|
1681
1652
|
FREE = "free"
|
|
1682
1653
|
}
|
|
1683
|
-
export declare enum ZeroLevyReasonCode {
|
|
1684
|
-
ZERO_BASIS = "zero_basis",
|
|
1685
|
-
ZERO_RATE_ON_GOODS = "zero_rate_on_goods",
|
|
1686
|
-
VALUE_ROUNDS_TO_ZERO = "value_rounds_to_zero",
|
|
1687
|
-
ORDER_BELOW_DE_MINIMIS_THRESHOLD = "order_below_de_minimis_threshold",
|
|
1688
|
-
AMOUNT_BELOW_DE_MINIMIS_THRESHOLD = "amount_below_de_minimis_threshold",
|
|
1689
|
-
DELIVERED_UNPAID = "delivered_unpaid",
|
|
1690
|
-
DUTY_FREE_DOMESTIC = "duty_free_domestic",
|
|
1691
|
-
DUTY_FREE_INTRA_COMMUNITY = "duty_free_intra_community",
|
|
1692
|
-
DUTY_FREE_REIMPORT = "duty_free_reimport",
|
|
1693
|
-
DUTY_FREE_BY_TRADE_AGREEMENT = "duty_free_by_trade_agreement"
|
|
1694
|
-
}
|
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DutyItemApprovalStatus = 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.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.MeasurementSystem = exports.MarginType = exports.LogisticsFormatPreference = exports.LocationErrorCode = exports.LevyStrategy = exports.
|
|
5
|
-
exports.PriceFacetBoundary = exports.PriceDetailKey = exports.PriceDetailComponentKey = 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.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.OrderMerchantOfRecord = exports.OrderErrorCode = exports.OrderChangeSource = exports.OptinResponseType = exports.OnboardingTradeSector = exports.OnboardingBlockedReason = exports.OnboardingApplicationStatus = exports.Method = exports.MerchantRejectedReason = exports.MerchantOfRecord = exports.MerchantGiftCardErrorCode =
|
|
6
|
-
exports.TokenType = exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.
|
|
7
|
-
exports.
|
|
4
|
+
exports.MerchantDisabledReason = exports.MeasurementSystem = exports.MarginType = 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.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 = void 0;
|
|
5
|
+
exports.PricingLevySetting = exports.PriceFacetBoundary = exports.PriceDetailKey = exports.PriceDetailComponentKey = 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.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.OrderMerchantOfRecord = exports.OrderErrorCode = exports.OrderChangeSource = exports.OptinResponseType = exports.OnboardingTradeSector = exports.OnboardingBlockedReason = exports.OnboardingApplicationStatus = exports.Method = exports.MerchantRejectedReason = exports.MerchantOfRecord = exports.MerchantGiftCardErrorCode = void 0;
|
|
6
|
+
exports.TrackingStatus = exports.TrackingNumberType = exports.TokenType = exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.TaxApplicability = exports.SyncUnitOfTime = exports.SyncStreamType = exports.SyncRecordFailureReason = exports.SurchargeResponsibleParty = 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 = 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.TransactionSource = exports.TradeAgreementStatus = exports.TradeAgreementName = void 0;
|
|
8
8
|
var AbandonedOrderPromotionStatus;
|
|
9
9
|
(function (AbandonedOrderPromotionStatus) {
|
|
10
10
|
AbandonedOrderPromotionStatus["ACTIVE"] = "active";
|
|
@@ -467,8 +467,6 @@ var EventType;
|
|
|
467
467
|
EventType["CUSTOMER_DELETED"] = "customer_deleted";
|
|
468
468
|
EventType["CUSTOMER_ADDRESS_BOOK_CONTACT_UPSERTED"] = "customer_address_book_contact_upserted";
|
|
469
469
|
EventType["CUSTOMER_ADDRESS_BOOK_CONTACT_DELETED"] = "customer_address_book_contact_deleted";
|
|
470
|
-
EventType["EMAIL_NOTIFICATION_UPSERTED"] = "email_notification_upserted";
|
|
471
|
-
EventType["EMAIL_NOTIFICATION_DELETED"] = "email_notification_deleted";
|
|
472
470
|
EventType["AVAILABLE_PROMOTIONS_UPSERTED"] = "available_promotions_upserted";
|
|
473
471
|
EventType["AVAILABLE_PROMOTIONS_DELETED"] = "available_promotions_deleted";
|
|
474
472
|
EventType["AVAILABLE_PROMOTIONS_UPSERTED_V_2"] = "available_promotions_upserted_v2";
|
|
@@ -873,11 +871,6 @@ var LevyComponent;
|
|
|
873
871
|
LevyComponent["FREIGHT"] = "freight";
|
|
874
872
|
LevyComponent["VAT"] = "vat";
|
|
875
873
|
})(LevyComponent = exports.LevyComponent || (exports.LevyComponent = {}));
|
|
876
|
-
var LevyInclusion;
|
|
877
|
-
(function (LevyInclusion) {
|
|
878
|
-
LevyInclusion["TAX"] = "tax";
|
|
879
|
-
LevyInclusion["DUTY"] = "duty";
|
|
880
|
-
})(LevyInclusion = exports.LevyInclusion || (exports.LevyInclusion = {}));
|
|
881
874
|
var LevyStrategy;
|
|
882
875
|
(function (LevyStrategy) {
|
|
883
876
|
LevyStrategy["MINIMUM"] = "minimum";
|
|
@@ -1657,30 +1650,6 @@ var TaxApplicability;
|
|
|
1657
1650
|
TaxApplicability["NONE"] = "none";
|
|
1658
1651
|
TaxApplicability["ALL"] = "all";
|
|
1659
1652
|
})(TaxApplicability = exports.TaxApplicability || (exports.TaxApplicability = {}));
|
|
1660
|
-
var TaxDutyCalculatorValidationErrorCode;
|
|
1661
|
-
(function (TaxDutyCalculatorValidationErrorCode) {
|
|
1662
|
-
TaxDutyCalculatorValidationErrorCode["GENERIC_ERROR"] = "generic_error";
|
|
1663
|
-
TaxDutyCalculatorValidationErrorCode["DESTINATION_COUNTRY_NOT_DEFINED"] = "destination_country_not_defined";
|
|
1664
|
-
TaxDutyCalculatorValidationErrorCode["DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED"] = "destination_address_iso3166_unrecognized";
|
|
1665
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID"] = "line_item_shipfrom_shipto_country_invalid";
|
|
1666
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_SHIP_FROM_INVALID"] = "line_item_ship_from_invalid";
|
|
1667
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED"] = "line_item_currency_iso4217_unrecognized";
|
|
1668
|
-
TaxDutyCalculatorValidationErrorCode["LINE_QUANTITY_INVALID"] = "line_quantity_invalid";
|
|
1669
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_QUANTITY_INVALID"] = "line_item_quantity_invalid";
|
|
1670
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_UNIT_PRICE_PRECISION_INVALID"] = "line_item_unit_price_precision_invalid";
|
|
1671
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_UNIT_PRICE_NEGATIVE"] = "line_item_unit_price_negative";
|
|
1672
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID"] = "line_item_discount_amount_precision_invalid";
|
|
1673
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE"] = "line_item_discount_amount_positive";
|
|
1674
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED"] = "line_item_country_of_origin_iso3166_unrecognized";
|
|
1675
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_HS_CODE_INVALID"] = "line_item_hs_code_invalid";
|
|
1676
|
-
TaxDutyCalculatorValidationErrorCode["LINE_ITEM_DUTY_PROVIDER_INVALID"] = "line_item_duty_provider_invalid";
|
|
1677
|
-
TaxDutyCalculatorValidationErrorCode["SHIPPING_UNIT_PRICE_PRECISION_INVALID"] = "shipping_unit_price_precision_invalid";
|
|
1678
|
-
TaxDutyCalculatorValidationErrorCode["SHIPPING_UNIT_PRICE_NEGATIVE"] = "shipping_unit_price_negative";
|
|
1679
|
-
TaxDutyCalculatorValidationErrorCode["SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID"] = "shipping_discount_amount_precision_invalid";
|
|
1680
|
-
TaxDutyCalculatorValidationErrorCode["SHIPPING_DISCOUNT_AMOUNT_INVALID"] = "shipping_discount_amount_invalid";
|
|
1681
|
-
TaxDutyCalculatorValidationErrorCode["MERCHANT_OF_RECORD_INVALID"] = "merchant_of_record_invalid";
|
|
1682
|
-
TaxDutyCalculatorValidationErrorCode["WRONG_UNIT_SPECIFIED"] = "wrong_unit_specified";
|
|
1683
|
-
})(TaxDutyCalculatorValidationErrorCode = exports.TaxDutyCalculatorValidationErrorCode || (exports.TaxDutyCalculatorValidationErrorCode = {}));
|
|
1684
1653
|
var TaxReportType;
|
|
1685
1654
|
(function (TaxReportType) {
|
|
1686
1655
|
TaxReportType["CONSUMER"] = "consumer";
|
|
@@ -1906,16 +1875,3 @@ var ZeroAmountIndicator;
|
|
|
1906
1875
|
ZeroAmountIndicator["ZERO"] = "zero";
|
|
1907
1876
|
ZeroAmountIndicator["FREE"] = "free";
|
|
1908
1877
|
})(ZeroAmountIndicator = exports.ZeroAmountIndicator || (exports.ZeroAmountIndicator = {}));
|
|
1909
|
-
var ZeroLevyReasonCode;
|
|
1910
|
-
(function (ZeroLevyReasonCode) {
|
|
1911
|
-
ZeroLevyReasonCode["ZERO_BASIS"] = "zero_basis";
|
|
1912
|
-
ZeroLevyReasonCode["ZERO_RATE_ON_GOODS"] = "zero_rate_on_goods";
|
|
1913
|
-
ZeroLevyReasonCode["VALUE_ROUNDS_TO_ZERO"] = "value_rounds_to_zero";
|
|
1914
|
-
ZeroLevyReasonCode["ORDER_BELOW_DE_MINIMIS_THRESHOLD"] = "order_below_de_minimis_threshold";
|
|
1915
|
-
ZeroLevyReasonCode["AMOUNT_BELOW_DE_MINIMIS_THRESHOLD"] = "amount_below_de_minimis_threshold";
|
|
1916
|
-
ZeroLevyReasonCode["DELIVERED_UNPAID"] = "delivered_unpaid";
|
|
1917
|
-
ZeroLevyReasonCode["DUTY_FREE_DOMESTIC"] = "duty_free_domestic";
|
|
1918
|
-
ZeroLevyReasonCode["DUTY_FREE_INTRA_COMMUNITY"] = "duty_free_intra_community";
|
|
1919
|
-
ZeroLevyReasonCode["DUTY_FREE_REIMPORT"] = "duty_free_reimport";
|
|
1920
|
-
ZeroLevyReasonCode["DUTY_FREE_BY_TRADE_AGREEMENT"] = "duty_free_by_trade_agreement";
|
|
1921
|
-
})(ZeroLevyReasonCode = exports.ZeroLevyReasonCode || (exports.ZeroLevyReasonCode = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.68",
|
|
4
4
|
"description": "Definitions for enumerations found in the Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"postgenerate": "npm run format",
|
|
27
27
|
"prepublish": "npm run clean && npm run build"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "5a525b0a21aca779c3ca5bb3f4a759c144095fd5"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -459,8 +459,6 @@ export enum EventType {
|
|
|
459
459
|
CUSTOMER_DELETED = 'customer_deleted',
|
|
460
460
|
CUSTOMER_ADDRESS_BOOK_CONTACT_UPSERTED = 'customer_address_book_contact_upserted',
|
|
461
461
|
CUSTOMER_ADDRESS_BOOK_CONTACT_DELETED = 'customer_address_book_contact_deleted',
|
|
462
|
-
EMAIL_NOTIFICATION_UPSERTED = 'email_notification_upserted',
|
|
463
|
-
EMAIL_NOTIFICATION_DELETED = 'email_notification_deleted',
|
|
464
462
|
AVAILABLE_PROMOTIONS_UPSERTED = 'available_promotions_upserted',
|
|
465
463
|
AVAILABLE_PROMOTIONS_DELETED = 'available_promotions_deleted',
|
|
466
464
|
AVAILABLE_PROMOTIONS_UPSERTED_V_2 = 'available_promotions_upserted_v2',
|
|
@@ -866,11 +864,6 @@ export enum LevyComponent {
|
|
|
866
864
|
VAT = 'vat',
|
|
867
865
|
}
|
|
868
866
|
|
|
869
|
-
export enum LevyInclusion {
|
|
870
|
-
TAX = 'tax',
|
|
871
|
-
DUTY = 'duty',
|
|
872
|
-
}
|
|
873
|
-
|
|
874
867
|
export enum LevyStrategy {
|
|
875
868
|
MINIMUM = 'minimum',
|
|
876
869
|
AVERAGE = 'average',
|
|
@@ -1650,30 +1643,6 @@ export enum TaxApplicability {
|
|
|
1650
1643
|
ALL = 'all',
|
|
1651
1644
|
}
|
|
1652
1645
|
|
|
1653
|
-
export enum TaxDutyCalculatorValidationErrorCode {
|
|
1654
|
-
GENERIC_ERROR = 'generic_error',
|
|
1655
|
-
DESTINATION_COUNTRY_NOT_DEFINED = 'destination_country_not_defined',
|
|
1656
|
-
DESTINATION_ADDRESS_ISO_3166_UNRECOGNIZED = 'destination_address_iso3166_unrecognized',
|
|
1657
|
-
LINE_ITEM_SHIPFROM_SHIPTO_COUNTRY_INVALID = 'line_item_shipfrom_shipto_country_invalid',
|
|
1658
|
-
LINE_ITEM_SHIP_FROM_INVALID = 'line_item_ship_from_invalid',
|
|
1659
|
-
LINE_ITEM_CURRENCY_ISO_4217_UNRECOGNIZED = 'line_item_currency_iso4217_unrecognized',
|
|
1660
|
-
LINE_QUANTITY_INVALID = 'line_quantity_invalid',
|
|
1661
|
-
LINE_ITEM_QUANTITY_INVALID = 'line_item_quantity_invalid',
|
|
1662
|
-
LINE_ITEM_UNIT_PRICE_PRECISION_INVALID = 'line_item_unit_price_precision_invalid',
|
|
1663
|
-
LINE_ITEM_UNIT_PRICE_NEGATIVE = 'line_item_unit_price_negative',
|
|
1664
|
-
LINE_ITEM_DISCOUNT_AMOUNT_PRECISION_INVALID = 'line_item_discount_amount_precision_invalid',
|
|
1665
|
-
LINE_ITEM_DISCOUNT_AMOUNT_POSITIVE = 'line_item_discount_amount_positive',
|
|
1666
|
-
LINE_ITEM_COUNTRY_OF_ORIGIN_ISO_3166_UNRECOGNIZED = 'line_item_country_of_origin_iso3166_unrecognized',
|
|
1667
|
-
LINE_ITEM_HS_CODE_INVALID = 'line_item_hs_code_invalid',
|
|
1668
|
-
LINE_ITEM_DUTY_PROVIDER_INVALID = 'line_item_duty_provider_invalid',
|
|
1669
|
-
SHIPPING_UNIT_PRICE_PRECISION_INVALID = 'shipping_unit_price_precision_invalid',
|
|
1670
|
-
SHIPPING_UNIT_PRICE_NEGATIVE = 'shipping_unit_price_negative',
|
|
1671
|
-
SHIPPING_DISCOUNT_AMOUNT_PRECISION_INVALID = 'shipping_discount_amount_precision_invalid',
|
|
1672
|
-
SHIPPING_DISCOUNT_AMOUNT_INVALID = 'shipping_discount_amount_invalid',
|
|
1673
|
-
MERCHANT_OF_RECORD_INVALID = 'merchant_of_record_invalid',
|
|
1674
|
-
WRONG_UNIT_SPECIFIED = 'wrong_unit_specified',
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
1646
|
export enum TaxReportType {
|
|
1678
1647
|
CONSUMER = 'consumer',
|
|
1679
1648
|
B_2_B = 'b2b',
|
|
@@ -1898,16 +1867,3 @@ export enum ZeroAmountIndicator {
|
|
|
1898
1867
|
ZERO = 'zero',
|
|
1899
1868
|
FREE = 'free',
|
|
1900
1869
|
}
|
|
1901
|
-
|
|
1902
|
-
export enum ZeroLevyReasonCode {
|
|
1903
|
-
ZERO_BASIS = 'zero_basis',
|
|
1904
|
-
ZERO_RATE_ON_GOODS = 'zero_rate_on_goods',
|
|
1905
|
-
VALUE_ROUNDS_TO_ZERO = 'value_rounds_to_zero',
|
|
1906
|
-
ORDER_BELOW_DE_MINIMIS_THRESHOLD = 'order_below_de_minimis_threshold',
|
|
1907
|
-
AMOUNT_BELOW_DE_MINIMIS_THRESHOLD = 'amount_below_de_minimis_threshold',
|
|
1908
|
-
DELIVERED_UNPAID = 'delivered_unpaid',
|
|
1909
|
-
DUTY_FREE_DOMESTIC = 'duty_free_domestic',
|
|
1910
|
-
DUTY_FREE_INTRA_COMMUNITY = 'duty_free_intra_community',
|
|
1911
|
-
DUTY_FREE_REIMPORT = 'duty_free_reimport',
|
|
1912
|
-
DUTY_FREE_BY_TRADE_AGREEMENT = 'duty_free_by_trade_agreement',
|
|
1913
|
-
}
|