@flowio/api-constants 2.13.80 → 2.13.82
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 +21 -2
- package/dist/api.js +24 -3
- package/package.json +2 -2
- package/src/api.ts +22 -1
package/dist/api.d.ts
CHANGED
|
@@ -446,7 +446,6 @@ export declare enum EventType {
|
|
|
446
446
|
ITEM_ORIGIN_DELETED = "item_origin_deleted",
|
|
447
447
|
HARMONIZED_LANDED_COST_UPSERTED = "harmonized_landed_cost_upserted",
|
|
448
448
|
FULLY_HARMONIZED_ITEM_UPSERTED = "fully_harmonized_item_upserted",
|
|
449
|
-
LABEL_UPSERTED = "label_upserted",
|
|
450
449
|
LABEL_DELETED_V_2 = "label_deleted_v2",
|
|
451
450
|
LABEL_UPSERTED_V_2 = "label_upserted_v2",
|
|
452
451
|
NOTIFICATION_UPSERTED_V_2 = "notification_upserted_v2",
|
|
@@ -562,6 +561,11 @@ export declare enum FeeDeductionType {
|
|
|
562
561
|
DUTY_GUARANTEE = "duty_guarantee",
|
|
563
562
|
MOR = "mor",
|
|
564
563
|
FRAUD = "fraud",
|
|
564
|
+
TAX = "tax",
|
|
565
|
+
DUTY = "duty",
|
|
566
|
+
TAX_AND_DUTY = "tax_and_duty",
|
|
567
|
+
PRODUCT = "product",
|
|
568
|
+
TAX_AND_DUTY_FX_DIFF = "tax_and_duty_fx_diff",
|
|
565
569
|
FX = "fx",
|
|
566
570
|
PROCESSING = "processing",
|
|
567
571
|
RATE_LOCK = "rate_lock",
|
|
@@ -576,7 +580,10 @@ export declare enum FlowEntity {
|
|
|
576
580
|
FLOW_USA = "flow-usa",
|
|
577
581
|
FLOW_IRL = "flow-irl",
|
|
578
582
|
FLOW_CAN = "flow-can",
|
|
579
|
-
GE_USA = "ge-usa"
|
|
583
|
+
GE_USA = "ge-usa",
|
|
584
|
+
GE_CAN = "ge-can",
|
|
585
|
+
GE_GBR = "ge-gbr",
|
|
586
|
+
GE_IRL = "ge-irl"
|
|
580
587
|
}
|
|
581
588
|
export declare enum FlowRole {
|
|
582
589
|
ORGANIZATION_ADMIN = "organization_admin",
|
|
@@ -1505,10 +1512,22 @@ export declare enum TaxDutyTransactionReasonCode {
|
|
|
1505
1512
|
FULL_REFUND_WITHOUT_SHIPMENT = "full_refund_without_shipment",
|
|
1506
1513
|
UNFULFILLED_ORDER_ABOVE_DE_MIN = "unfulfilled_order_above_de_min"
|
|
1507
1514
|
}
|
|
1515
|
+
export declare enum TaxJurisdictionType {
|
|
1516
|
+
COUNTRY = "country",
|
|
1517
|
+
PROVINCE = "province"
|
|
1518
|
+
}
|
|
1508
1519
|
export declare enum TaxReportType {
|
|
1509
1520
|
CONSUMER = "consumer",
|
|
1510
1521
|
B_2_B = "b2b"
|
|
1511
1522
|
}
|
|
1523
|
+
export declare enum TaxType {
|
|
1524
|
+
VAT = "vat",
|
|
1525
|
+
GST = "gst",
|
|
1526
|
+
HST = "hst",
|
|
1527
|
+
PST = "pst",
|
|
1528
|
+
QST = "qst",
|
|
1529
|
+
SALES_TAX = "sales_tax"
|
|
1530
|
+
}
|
|
1512
1531
|
export declare enum TaxVerificationResult {
|
|
1513
1532
|
VALID = "valid",
|
|
1514
1533
|
INVALID = "invalid",
|
package/dist/api.js
CHANGED
|
@@ -3,8 +3,8 @@ 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
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
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.
|
|
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;
|
|
6
|
+
exports.TaxType = exports.TaxReportType = exports.TaxJurisdictionType = 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 = exports.TaxabilityType = exports.TaxVerificationResult = void 0;
|
|
8
8
|
var AbandonedOrderPromotionStatus;
|
|
9
9
|
(function (AbandonedOrderPromotionStatus) {
|
|
10
10
|
AbandonedOrderPromotionStatus["ACTIVE"] = "active";
|
|
@@ -509,7 +509,6 @@ var EventType;
|
|
|
509
509
|
EventType["ITEM_ORIGIN_DELETED"] = "item_origin_deleted";
|
|
510
510
|
EventType["HARMONIZED_LANDED_COST_UPSERTED"] = "harmonized_landed_cost_upserted";
|
|
511
511
|
EventType["FULLY_HARMONIZED_ITEM_UPSERTED"] = "fully_harmonized_item_upserted";
|
|
512
|
-
EventType["LABEL_UPSERTED"] = "label_upserted";
|
|
513
512
|
EventType["LABEL_DELETED_V_2"] = "label_deleted_v2";
|
|
514
513
|
EventType["LABEL_UPSERTED_V_2"] = "label_upserted_v2";
|
|
515
514
|
EventType["NOTIFICATION_UPSERTED_V_2"] = "notification_upserted_v2";
|
|
@@ -634,6 +633,11 @@ var FeeDeductionType;
|
|
|
634
633
|
FeeDeductionType["DUTY_GUARANTEE"] = "duty_guarantee";
|
|
635
634
|
FeeDeductionType["MOR"] = "mor";
|
|
636
635
|
FeeDeductionType["FRAUD"] = "fraud";
|
|
636
|
+
FeeDeductionType["TAX"] = "tax";
|
|
637
|
+
FeeDeductionType["DUTY"] = "duty";
|
|
638
|
+
FeeDeductionType["TAX_AND_DUTY"] = "tax_and_duty";
|
|
639
|
+
FeeDeductionType["PRODUCT"] = "product";
|
|
640
|
+
FeeDeductionType["TAX_AND_DUTY_FX_DIFF"] = "tax_and_duty_fx_diff";
|
|
637
641
|
FeeDeductionType["FX"] = "fx";
|
|
638
642
|
FeeDeductionType["PROCESSING"] = "processing";
|
|
639
643
|
FeeDeductionType["RATE_LOCK"] = "rate_lock";
|
|
@@ -651,6 +655,9 @@ var FlowEntity;
|
|
|
651
655
|
FlowEntity["FLOW_IRL"] = "flow-irl";
|
|
652
656
|
FlowEntity["FLOW_CAN"] = "flow-can";
|
|
653
657
|
FlowEntity["GE_USA"] = "ge-usa";
|
|
658
|
+
FlowEntity["GE_CAN"] = "ge-can";
|
|
659
|
+
FlowEntity["GE_GBR"] = "ge-gbr";
|
|
660
|
+
FlowEntity["GE_IRL"] = "ge-irl";
|
|
654
661
|
})(FlowEntity = exports.FlowEntity || (exports.FlowEntity = {}));
|
|
655
662
|
var FlowRole;
|
|
656
663
|
(function (FlowRole) {
|
|
@@ -1709,11 +1716,25 @@ var TaxDutyTransactionReasonCode;
|
|
|
1709
1716
|
TaxDutyTransactionReasonCode["FULL_REFUND_WITHOUT_SHIPMENT"] = "full_refund_without_shipment";
|
|
1710
1717
|
TaxDutyTransactionReasonCode["UNFULFILLED_ORDER_ABOVE_DE_MIN"] = "unfulfilled_order_above_de_min";
|
|
1711
1718
|
})(TaxDutyTransactionReasonCode = exports.TaxDutyTransactionReasonCode || (exports.TaxDutyTransactionReasonCode = {}));
|
|
1719
|
+
var TaxJurisdictionType;
|
|
1720
|
+
(function (TaxJurisdictionType) {
|
|
1721
|
+
TaxJurisdictionType["COUNTRY"] = "country";
|
|
1722
|
+
TaxJurisdictionType["PROVINCE"] = "province";
|
|
1723
|
+
})(TaxJurisdictionType = exports.TaxJurisdictionType || (exports.TaxJurisdictionType = {}));
|
|
1712
1724
|
var TaxReportType;
|
|
1713
1725
|
(function (TaxReportType) {
|
|
1714
1726
|
TaxReportType["CONSUMER"] = "consumer";
|
|
1715
1727
|
TaxReportType["B_2_B"] = "b2b";
|
|
1716
1728
|
})(TaxReportType = exports.TaxReportType || (exports.TaxReportType = {}));
|
|
1729
|
+
var TaxType;
|
|
1730
|
+
(function (TaxType) {
|
|
1731
|
+
TaxType["VAT"] = "vat";
|
|
1732
|
+
TaxType["GST"] = "gst";
|
|
1733
|
+
TaxType["HST"] = "hst";
|
|
1734
|
+
TaxType["PST"] = "pst";
|
|
1735
|
+
TaxType["QST"] = "qst";
|
|
1736
|
+
TaxType["SALES_TAX"] = "sales_tax";
|
|
1737
|
+
})(TaxType = exports.TaxType || (exports.TaxType = {}));
|
|
1717
1738
|
var TaxVerificationResult;
|
|
1718
1739
|
(function (TaxVerificationResult) {
|
|
1719
1740
|
TaxVerificationResult["VALID"] = "valid";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.82",
|
|
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": "b4b0cd6a13ae636625754fd06a00ff8f0016498e"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -501,7 +501,6 @@ export enum EventType {
|
|
|
501
501
|
ITEM_ORIGIN_DELETED = 'item_origin_deleted',
|
|
502
502
|
HARMONIZED_LANDED_COST_UPSERTED = 'harmonized_landed_cost_upserted',
|
|
503
503
|
FULLY_HARMONIZED_ITEM_UPSERTED = 'fully_harmonized_item_upserted',
|
|
504
|
-
LABEL_UPSERTED = 'label_upserted',
|
|
505
504
|
LABEL_DELETED_V_2 = 'label_deleted_v2',
|
|
506
505
|
LABEL_UPSERTED_V_2 = 'label_upserted_v2',
|
|
507
506
|
NOTIFICATION_UPSERTED_V_2 = 'notification_upserted_v2',
|
|
@@ -626,6 +625,11 @@ export enum FeeDeductionType {
|
|
|
626
625
|
DUTY_GUARANTEE = 'duty_guarantee',
|
|
627
626
|
MOR = 'mor',
|
|
628
627
|
FRAUD = 'fraud',
|
|
628
|
+
TAX = 'tax',
|
|
629
|
+
DUTY = 'duty',
|
|
630
|
+
TAX_AND_DUTY = 'tax_and_duty',
|
|
631
|
+
PRODUCT = 'product',
|
|
632
|
+
TAX_AND_DUTY_FX_DIFF = 'tax_and_duty_fx_diff',
|
|
629
633
|
FX = 'fx',
|
|
630
634
|
PROCESSING = 'processing',
|
|
631
635
|
RATE_LOCK = 'rate_lock',
|
|
@@ -643,6 +647,9 @@ export enum FlowEntity {
|
|
|
643
647
|
FLOW_IRL = 'flow-irl',
|
|
644
648
|
FLOW_CAN = 'flow-can',
|
|
645
649
|
GE_USA = 'ge-usa',
|
|
650
|
+
GE_CAN = 'ge-can',
|
|
651
|
+
GE_GBR = 'ge-gbr',
|
|
652
|
+
GE_IRL = 'ge-irl',
|
|
646
653
|
}
|
|
647
654
|
|
|
648
655
|
export enum FlowRole {
|
|
@@ -1702,11 +1709,25 @@ export enum TaxDutyTransactionReasonCode {
|
|
|
1702
1709
|
UNFULFILLED_ORDER_ABOVE_DE_MIN = 'unfulfilled_order_above_de_min',
|
|
1703
1710
|
}
|
|
1704
1711
|
|
|
1712
|
+
export enum TaxJurisdictionType {
|
|
1713
|
+
COUNTRY = 'country',
|
|
1714
|
+
PROVINCE = 'province',
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1705
1717
|
export enum TaxReportType {
|
|
1706
1718
|
CONSUMER = 'consumer',
|
|
1707
1719
|
B_2_B = 'b2b',
|
|
1708
1720
|
}
|
|
1709
1721
|
|
|
1722
|
+
export enum TaxType {
|
|
1723
|
+
VAT = 'vat',
|
|
1724
|
+
GST = 'gst',
|
|
1725
|
+
HST = 'hst',
|
|
1726
|
+
PST = 'pst',
|
|
1727
|
+
QST = 'qst',
|
|
1728
|
+
SALES_TAX = 'sales_tax',
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1710
1731
|
export enum TaxVerificationResult {
|
|
1711
1732
|
VALID = 'valid',
|
|
1712
1733
|
INVALID = 'invalid',
|