@flowio/api-constants 2.13.71 → 2.13.73
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 +27 -16
- package/dist/api.js +33 -19
- package/package.json +2 -2
- package/src/api.ts +29 -15
package/dist/api.d.ts
CHANGED
|
@@ -346,8 +346,6 @@ export declare enum Environment {
|
|
|
346
346
|
PRODUCTION = "production"
|
|
347
347
|
}
|
|
348
348
|
export declare enum EventType {
|
|
349
|
-
AUTHORIZATION_RETRY_UPSERTED = "authorization_retry_upserted",
|
|
350
|
-
AUTHORIZATION_RETRY_DELETED = "authorization_retry_deleted",
|
|
351
349
|
TEST_UPSERTED = "test_upserted",
|
|
352
350
|
GENERATE_LOAD = "generate_load",
|
|
353
351
|
ALDO_ITEM_UPSERTED = "aldo_item_upserted",
|
|
@@ -466,8 +464,6 @@ export declare enum EventType {
|
|
|
466
464
|
GE_ITEM_INSERTED = "ge_item_inserted",
|
|
467
465
|
GE_ITEM_UPDATED = "ge_item_updated",
|
|
468
466
|
GE_ITEM_DELETED = "ge_item_deleted",
|
|
469
|
-
GE_PRODUCT_RESTRICTION_RESULT_UPSERTED = "ge_product_restriction_result_upserted",
|
|
470
|
-
GE_PRODUCT_RESTRICTION_RESULT_DELETED = "ge_product_restriction_result_deleted",
|
|
471
467
|
HS_6_CODE_UPSERTED = "hs6_code_upserted",
|
|
472
468
|
HS_6_CODE_DELETED = "hs6_code_deleted",
|
|
473
469
|
HS_10_CODE_UPSERTED = "hs10_code_upserted",
|
|
@@ -489,10 +485,6 @@ export declare enum EventType {
|
|
|
489
485
|
LABEL_PROCESSING_MODIFICATION_DELETED = "label_processing_modification_deleted",
|
|
490
486
|
MERCHANT_APPLICATION_UPSERTED = "merchant_application_upserted",
|
|
491
487
|
MERCHANT_APPLICATION_DELETED = "merchant_application_deleted",
|
|
492
|
-
CHECKOUT_OPTIN_RESPONSES_UPSERTED = "checkout_optin_responses_upserted",
|
|
493
|
-
CHECKOUT_OPTIN_RESPONSES_DELETED = "checkout_optin_responses_deleted",
|
|
494
|
-
BROWSE_OPTIN_RESPONSES_UPSERTED = "browse_optin_responses_upserted",
|
|
495
|
-
BROWSE_OPTIN_RESPONSES_DELETED = "browse_optin_responses_deleted",
|
|
496
488
|
ORDER_PLACED = "order_placed",
|
|
497
489
|
ORDER_PLACED_V_2 = "order_placed_v2",
|
|
498
490
|
READY_TO_FULFILL = "ready_to_fulfill",
|
|
@@ -534,6 +526,8 @@ export declare enum EventType {
|
|
|
534
526
|
VIRTUAL_CARD_CAPTURE_DELETED = "virtual_card_capture_deleted",
|
|
535
527
|
VIRTUAL_CARD_REFUND_UPSERTED = "virtual_card_refund_upserted",
|
|
536
528
|
VIRTUAL_CARD_REFUND_DELETED = "virtual_card_refund_deleted",
|
|
529
|
+
AUTHORIZATION_RETRY_UPSERTED = "authorization_retry_upserted",
|
|
530
|
+
AUTHORIZATION_RETRY_DELETED = "authorization_retry_deleted",
|
|
537
531
|
PAYMENT_REQUEST_UPSERTED = "payment_request_upserted",
|
|
538
532
|
PAYMENT_REQUEST_DELETED = "payment_request_deleted",
|
|
539
533
|
PRICE_BOOK_UPSERTED = "price_book_upserted",
|
|
@@ -661,6 +655,18 @@ export declare enum FulfillmentRouting {
|
|
|
661
655
|
FULFILLED_FROM_CENTER = "fulfilled_from_center",
|
|
662
656
|
FULFILLMENT_SERVICE = "fulfillment_service"
|
|
663
657
|
}
|
|
658
|
+
export declare enum GeCatalogItemIngestionResponse {
|
|
659
|
+
GE_CATALOG_ITEM_INGESTION_SUCCESS = "ge_catalog_item_ingestion_success",
|
|
660
|
+
GE_CATALOG_ITEM_INGESTION_FAILURE = "ge_catalog_item_ingestion_failure"
|
|
661
|
+
}
|
|
662
|
+
export declare enum GeEnvironment {
|
|
663
|
+
PRODUCTION = "production",
|
|
664
|
+
SANDBOX = "sandbox"
|
|
665
|
+
}
|
|
666
|
+
export declare enum GeEventType {
|
|
667
|
+
RESTRICTION_RESULT = "restriction_result",
|
|
668
|
+
INGESTION_RESULT = "ingestion_result"
|
|
669
|
+
}
|
|
664
670
|
export declare enum GenericErrorCode {
|
|
665
671
|
GENERIC_ERROR = "generic_error",
|
|
666
672
|
CLIENT_ERROR = "client_error",
|
|
@@ -877,11 +883,6 @@ export declare enum OnboardingTradeSector {
|
|
|
877
883
|
VEHICLES_AND_PARTS = "vehicles_and_parts",
|
|
878
884
|
OTHER = "other"
|
|
879
885
|
}
|
|
880
|
-
export declare enum OptinResponseType {
|
|
881
|
-
NOT_SHOWN = "not_shown",
|
|
882
|
-
OPTED_IN = "opted_in",
|
|
883
|
-
OPTED_OUT = "opted_out"
|
|
884
|
-
}
|
|
885
886
|
export declare enum OrderChangeSource {
|
|
886
887
|
CONSUMER = "consumer",
|
|
887
888
|
RETAILER = "retailer",
|
|
@@ -987,7 +988,8 @@ export declare enum OrderStorage {
|
|
|
987
988
|
}
|
|
988
989
|
export declare enum OrderType {
|
|
989
990
|
STANDARD = "standard",
|
|
990
|
-
REPLACEMENT = "replacement"
|
|
991
|
+
REPLACEMENT = "replacement",
|
|
992
|
+
EDIT = "edit"
|
|
991
993
|
}
|
|
992
994
|
export declare enum OrganizationPaymentMethodTag {
|
|
993
995
|
DENY = "deny"
|
|
@@ -1049,6 +1051,10 @@ export declare enum PaymentFailureCode {
|
|
|
1049
1051
|
ERROR = "error",
|
|
1050
1052
|
PAYMENT_CHECKS_DECLINED = "payment_checks_declined"
|
|
1051
1053
|
}
|
|
1054
|
+
export declare enum PaymentFeeType {
|
|
1055
|
+
FX = "fx",
|
|
1056
|
+
MOR = "mor"
|
|
1057
|
+
}
|
|
1052
1058
|
export declare enum PaymentMethodCapability {
|
|
1053
1059
|
CREDIT = "credit",
|
|
1054
1060
|
DEBIT = "debit"
|
|
@@ -1599,8 +1605,7 @@ export declare enum TransactionSource {
|
|
|
1599
1605
|
FAILED_PAYOUT = "failed_payout",
|
|
1600
1606
|
TAX_REFUND = "tax_refund",
|
|
1601
1607
|
NON_L_4_L_TAX_DUTY_FX = "non_l4l_tax_duty_fx",
|
|
1602
|
-
GE_REVENUE_SHARE = "ge_revenue_share"
|
|
1603
|
-
TAX_DUTY_DELTA = "tax_duty_delta"
|
|
1608
|
+
GE_REVENUE_SHARE = "ge_revenue_share"
|
|
1604
1609
|
}
|
|
1605
1610
|
export declare enum TrueupSource {
|
|
1606
1611
|
FLOW = "flow",
|
|
@@ -1642,6 +1647,9 @@ export declare enum UnitOfMeasurement {
|
|
|
1642
1647
|
INCH = "inch",
|
|
1643
1648
|
FOOT = "foot",
|
|
1644
1649
|
CUBIC_INCH = "cubic_inch",
|
|
1650
|
+
CUBIC_FOOT = "cubic_foot",
|
|
1651
|
+
CUBIC_MILLIMETER = "cubic_millimeter",
|
|
1652
|
+
CUBIC_CENTIMETER = "cubic_centimeter",
|
|
1645
1653
|
CUBIC_METER = "cubic_meter",
|
|
1646
1654
|
GRAM = "gram",
|
|
1647
1655
|
KILOGRAM = "kilogram",
|
|
@@ -1659,6 +1667,9 @@ export declare enum UnitOfTime {
|
|
|
1659
1667
|
}
|
|
1660
1668
|
export declare enum UnitOfVolume {
|
|
1661
1669
|
CUBIC_INCH = "cubic_inch",
|
|
1670
|
+
CUBIC_FOOT = "cubic_foot",
|
|
1671
|
+
CUBIC_MILLIMETER = "cubic_millimeter",
|
|
1672
|
+
CUBIC_CENTIMETER = "cubic_centimeter",
|
|
1662
1673
|
CUBIC_METER = "cubic_meter"
|
|
1663
1674
|
}
|
|
1664
1675
|
export declare enum UnitOfWeight {
|
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DiscountTarget = exports.DiscountRuleSubsidyTarget = exports.DiscountRuleStatus = exports.Direction = exports.DeliveryWindowLocation = exports.DeliveryWindowComponentSource = exports.DeliveryOptionCostDetailSource = exports.DeliveryOptionCostDetailComponentKey = exports.DeliveredDutyDisplayType = exports.DeliveredDuty = exports.DayOfWeek = exports.CvvResultCode = exports.CvvCode = exports.CustomerAddressType = exports.CurrencySymbolFormat = exports.CurrencyLabelFormatter = exports.CreditPaymentErrorCode = exports.CountryPickerSource = exports.CostEstimateSource = exports.ConsumerInvoiceStatus = exports.ConsumerInvoiceDocumentType = exports.ConsumerInvoiceCustomerType = exports.ChannelShopifyOrderStateReasonCode = exports.ChannelCurrencyCapability = exports.ChangeType = exports.CenterCapability = exports.CarrierChargeReason = exports.CardType = exports.CardErrorCode = exports.CaptureStatus = exports.CaptureDeclineCode = exports.Capability = exports.CancelReason = exports.Calendar = exports.B2BInvoiceType = exports.AvsCode = exports.AvailableFilterFormat = exports.AvailabilityStatus = exports.AuthorizationStatus = exports.AuthorizationResultActionType = exports.AuthorizationOption = exports.AuthorizationDeclineCode = exports.AuthenticationTechnique = exports.AttributeIntent = exports.AttributeDataType = exports.AdjustmentReasonKey = exports.AddressVerificationResultFieldCode = exports.AddressFieldName = exports.AbandonedOrderSettingStatus = exports.AbandonedOrderPromotionStatus = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.ZeroAmountIndicator = exports.WithholdingDeductionType = exports.WebhookStatus = exports.Visibility = exports.ValueAddedService = exports.UserStatus = exports.UpdatePolicy = exports.UnitOfWeight = exports.UnitOfVolume = exports.UnitOfTime = exports.UnitOfMeasurement = exports.UnitOfLength = exports.TrueupSurchargeType = exports.TrueupSource = exports.TransactionSource = exports.TradeAgreementStatus = exports.TradeAgreementName = void 0;
|
|
4
|
+
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.GeEnvironment = 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.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 = exports.LogisticsFormatPreference = void 0;
|
|
6
|
+
exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = 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 = exports.PriceBookStatus = 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 = exports.TrackingStatus = exports.TrackingNumberType = exports.TokenType = void 0;
|
|
8
8
|
var AbandonedOrderPromotionStatus;
|
|
9
9
|
(function (AbandonedOrderPromotionStatus) {
|
|
10
10
|
AbandonedOrderPromotionStatus["ACTIVE"] = "active";
|
|
@@ -409,8 +409,6 @@ var Environment;
|
|
|
409
409
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
410
410
|
var EventType;
|
|
411
411
|
(function (EventType) {
|
|
412
|
-
EventType["AUTHORIZATION_RETRY_UPSERTED"] = "authorization_retry_upserted";
|
|
413
|
-
EventType["AUTHORIZATION_RETRY_DELETED"] = "authorization_retry_deleted";
|
|
414
412
|
EventType["TEST_UPSERTED"] = "test_upserted";
|
|
415
413
|
EventType["GENERATE_LOAD"] = "generate_load";
|
|
416
414
|
EventType["ALDO_ITEM_UPSERTED"] = "aldo_item_upserted";
|
|
@@ -529,8 +527,6 @@ var EventType;
|
|
|
529
527
|
EventType["GE_ITEM_INSERTED"] = "ge_item_inserted";
|
|
530
528
|
EventType["GE_ITEM_UPDATED"] = "ge_item_updated";
|
|
531
529
|
EventType["GE_ITEM_DELETED"] = "ge_item_deleted";
|
|
532
|
-
EventType["GE_PRODUCT_RESTRICTION_RESULT_UPSERTED"] = "ge_product_restriction_result_upserted";
|
|
533
|
-
EventType["GE_PRODUCT_RESTRICTION_RESULT_DELETED"] = "ge_product_restriction_result_deleted";
|
|
534
530
|
EventType["HS_6_CODE_UPSERTED"] = "hs6_code_upserted";
|
|
535
531
|
EventType["HS_6_CODE_DELETED"] = "hs6_code_deleted";
|
|
536
532
|
EventType["HS_10_CODE_UPSERTED"] = "hs10_code_upserted";
|
|
@@ -552,10 +548,6 @@ var EventType;
|
|
|
552
548
|
EventType["LABEL_PROCESSING_MODIFICATION_DELETED"] = "label_processing_modification_deleted";
|
|
553
549
|
EventType["MERCHANT_APPLICATION_UPSERTED"] = "merchant_application_upserted";
|
|
554
550
|
EventType["MERCHANT_APPLICATION_DELETED"] = "merchant_application_deleted";
|
|
555
|
-
EventType["CHECKOUT_OPTIN_RESPONSES_UPSERTED"] = "checkout_optin_responses_upserted";
|
|
556
|
-
EventType["CHECKOUT_OPTIN_RESPONSES_DELETED"] = "checkout_optin_responses_deleted";
|
|
557
|
-
EventType["BROWSE_OPTIN_RESPONSES_UPSERTED"] = "browse_optin_responses_upserted";
|
|
558
|
-
EventType["BROWSE_OPTIN_RESPONSES_DELETED"] = "browse_optin_responses_deleted";
|
|
559
551
|
EventType["ORDER_PLACED"] = "order_placed";
|
|
560
552
|
EventType["ORDER_PLACED_V_2"] = "order_placed_v2";
|
|
561
553
|
EventType["READY_TO_FULFILL"] = "ready_to_fulfill";
|
|
@@ -597,6 +589,8 @@ var EventType;
|
|
|
597
589
|
EventType["VIRTUAL_CARD_CAPTURE_DELETED"] = "virtual_card_capture_deleted";
|
|
598
590
|
EventType["VIRTUAL_CARD_REFUND_UPSERTED"] = "virtual_card_refund_upserted";
|
|
599
591
|
EventType["VIRTUAL_CARD_REFUND_DELETED"] = "virtual_card_refund_deleted";
|
|
592
|
+
EventType["AUTHORIZATION_RETRY_UPSERTED"] = "authorization_retry_upserted";
|
|
593
|
+
EventType["AUTHORIZATION_RETRY_DELETED"] = "authorization_retry_deleted";
|
|
600
594
|
EventType["PAYMENT_REQUEST_UPSERTED"] = "payment_request_upserted";
|
|
601
595
|
EventType["PAYMENT_REQUEST_DELETED"] = "payment_request_deleted";
|
|
602
596
|
EventType["PRICE_BOOK_UPSERTED"] = "price_book_upserted";
|
|
@@ -744,6 +738,21 @@ var FulfillmentRouting;
|
|
|
744
738
|
FulfillmentRouting["FULFILLED_FROM_CENTER"] = "fulfilled_from_center";
|
|
745
739
|
FulfillmentRouting["FULFILLMENT_SERVICE"] = "fulfillment_service";
|
|
746
740
|
})(FulfillmentRouting = exports.FulfillmentRouting || (exports.FulfillmentRouting = {}));
|
|
741
|
+
var GeCatalogItemIngestionResponse;
|
|
742
|
+
(function (GeCatalogItemIngestionResponse) {
|
|
743
|
+
GeCatalogItemIngestionResponse["GE_CATALOG_ITEM_INGESTION_SUCCESS"] = "ge_catalog_item_ingestion_success";
|
|
744
|
+
GeCatalogItemIngestionResponse["GE_CATALOG_ITEM_INGESTION_FAILURE"] = "ge_catalog_item_ingestion_failure";
|
|
745
|
+
})(GeCatalogItemIngestionResponse = exports.GeCatalogItemIngestionResponse || (exports.GeCatalogItemIngestionResponse = {}));
|
|
746
|
+
var GeEnvironment;
|
|
747
|
+
(function (GeEnvironment) {
|
|
748
|
+
GeEnvironment["PRODUCTION"] = "production";
|
|
749
|
+
GeEnvironment["SANDBOX"] = "sandbox";
|
|
750
|
+
})(GeEnvironment = exports.GeEnvironment || (exports.GeEnvironment = {}));
|
|
751
|
+
var GeEventType;
|
|
752
|
+
(function (GeEventType) {
|
|
753
|
+
GeEventType["RESTRICTION_RESULT"] = "restriction_result";
|
|
754
|
+
GeEventType["INGESTION_RESULT"] = "ingestion_result";
|
|
755
|
+
})(GeEventType = exports.GeEventType || (exports.GeEventType = {}));
|
|
747
756
|
var GenericErrorCode;
|
|
748
757
|
(function (GenericErrorCode) {
|
|
749
758
|
GenericErrorCode["GENERIC_ERROR"] = "generic_error";
|
|
@@ -992,12 +1001,6 @@ var OnboardingTradeSector;
|
|
|
992
1001
|
OnboardingTradeSector["VEHICLES_AND_PARTS"] = "vehicles_and_parts";
|
|
993
1002
|
OnboardingTradeSector["OTHER"] = "other";
|
|
994
1003
|
})(OnboardingTradeSector = exports.OnboardingTradeSector || (exports.OnboardingTradeSector = {}));
|
|
995
|
-
var OptinResponseType;
|
|
996
|
-
(function (OptinResponseType) {
|
|
997
|
-
OptinResponseType["NOT_SHOWN"] = "not_shown";
|
|
998
|
-
OptinResponseType["OPTED_IN"] = "opted_in";
|
|
999
|
-
OptinResponseType["OPTED_OUT"] = "opted_out";
|
|
1000
|
-
})(OptinResponseType = exports.OptinResponseType || (exports.OptinResponseType = {}));
|
|
1001
1004
|
var OrderChangeSource;
|
|
1002
1005
|
(function (OrderChangeSource) {
|
|
1003
1006
|
OrderChangeSource["CONSUMER"] = "consumer";
|
|
@@ -1116,6 +1119,7 @@ var OrderType;
|
|
|
1116
1119
|
(function (OrderType) {
|
|
1117
1120
|
OrderType["STANDARD"] = "standard";
|
|
1118
1121
|
OrderType["REPLACEMENT"] = "replacement";
|
|
1122
|
+
OrderType["EDIT"] = "edit";
|
|
1119
1123
|
})(OrderType = exports.OrderType || (exports.OrderType = {}));
|
|
1120
1124
|
var OrganizationPaymentMethodTag;
|
|
1121
1125
|
(function (OrganizationPaymentMethodTag) {
|
|
@@ -1185,6 +1189,11 @@ var PaymentFailureCode;
|
|
|
1185
1189
|
PaymentFailureCode["ERROR"] = "error";
|
|
1186
1190
|
PaymentFailureCode["PAYMENT_CHECKS_DECLINED"] = "payment_checks_declined";
|
|
1187
1191
|
})(PaymentFailureCode = exports.PaymentFailureCode || (exports.PaymentFailureCode = {}));
|
|
1192
|
+
var PaymentFeeType;
|
|
1193
|
+
(function (PaymentFeeType) {
|
|
1194
|
+
PaymentFeeType["FX"] = "fx";
|
|
1195
|
+
PaymentFeeType["MOR"] = "mor";
|
|
1196
|
+
})(PaymentFeeType = exports.PaymentFeeType || (exports.PaymentFeeType = {}));
|
|
1188
1197
|
var PaymentMethodCapability;
|
|
1189
1198
|
(function (PaymentMethodCapability) {
|
|
1190
1199
|
PaymentMethodCapability["CREDIT"] = "credit";
|
|
@@ -1810,7 +1819,6 @@ var TransactionSource;
|
|
|
1810
1819
|
TransactionSource["TAX_REFUND"] = "tax_refund";
|
|
1811
1820
|
TransactionSource["NON_L_4_L_TAX_DUTY_FX"] = "non_l4l_tax_duty_fx";
|
|
1812
1821
|
TransactionSource["GE_REVENUE_SHARE"] = "ge_revenue_share";
|
|
1813
|
-
TransactionSource["TAX_DUTY_DELTA"] = "tax_duty_delta";
|
|
1814
1822
|
})(TransactionSource = exports.TransactionSource || (exports.TransactionSource = {}));
|
|
1815
1823
|
var TrueupSource;
|
|
1816
1824
|
(function (TrueupSource) {
|
|
@@ -1856,6 +1864,9 @@ var UnitOfMeasurement;
|
|
|
1856
1864
|
UnitOfMeasurement["INCH"] = "inch";
|
|
1857
1865
|
UnitOfMeasurement["FOOT"] = "foot";
|
|
1858
1866
|
UnitOfMeasurement["CUBIC_INCH"] = "cubic_inch";
|
|
1867
|
+
UnitOfMeasurement["CUBIC_FOOT"] = "cubic_foot";
|
|
1868
|
+
UnitOfMeasurement["CUBIC_MILLIMETER"] = "cubic_millimeter";
|
|
1869
|
+
UnitOfMeasurement["CUBIC_CENTIMETER"] = "cubic_centimeter";
|
|
1859
1870
|
UnitOfMeasurement["CUBIC_METER"] = "cubic_meter";
|
|
1860
1871
|
UnitOfMeasurement["GRAM"] = "gram";
|
|
1861
1872
|
UnitOfMeasurement["KILOGRAM"] = "kilogram";
|
|
@@ -1875,6 +1886,9 @@ var UnitOfTime;
|
|
|
1875
1886
|
var UnitOfVolume;
|
|
1876
1887
|
(function (UnitOfVolume) {
|
|
1877
1888
|
UnitOfVolume["CUBIC_INCH"] = "cubic_inch";
|
|
1889
|
+
UnitOfVolume["CUBIC_FOOT"] = "cubic_foot";
|
|
1890
|
+
UnitOfVolume["CUBIC_MILLIMETER"] = "cubic_millimeter";
|
|
1891
|
+
UnitOfVolume["CUBIC_CENTIMETER"] = "cubic_centimeter";
|
|
1878
1892
|
UnitOfVolume["CUBIC_METER"] = "cubic_meter";
|
|
1879
1893
|
})(UnitOfVolume = exports.UnitOfVolume || (exports.UnitOfVolume = {}));
|
|
1880
1894
|
var UnitOfWeight;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.73",
|
|
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": "3e62beab3080f4977b85152f0e0626078fa26933"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -401,8 +401,6 @@ export enum Environment {
|
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
export enum EventType {
|
|
404
|
-
AUTHORIZATION_RETRY_UPSERTED = 'authorization_retry_upserted',
|
|
405
|
-
AUTHORIZATION_RETRY_DELETED = 'authorization_retry_deleted',
|
|
406
404
|
TEST_UPSERTED = 'test_upserted',
|
|
407
405
|
GENERATE_LOAD = 'generate_load',
|
|
408
406
|
ALDO_ITEM_UPSERTED = 'aldo_item_upserted',
|
|
@@ -521,8 +519,6 @@ export enum EventType {
|
|
|
521
519
|
GE_ITEM_INSERTED = 'ge_item_inserted',
|
|
522
520
|
GE_ITEM_UPDATED = 'ge_item_updated',
|
|
523
521
|
GE_ITEM_DELETED = 'ge_item_deleted',
|
|
524
|
-
GE_PRODUCT_RESTRICTION_RESULT_UPSERTED = 'ge_product_restriction_result_upserted',
|
|
525
|
-
GE_PRODUCT_RESTRICTION_RESULT_DELETED = 'ge_product_restriction_result_deleted',
|
|
526
522
|
HS_6_CODE_UPSERTED = 'hs6_code_upserted',
|
|
527
523
|
HS_6_CODE_DELETED = 'hs6_code_deleted',
|
|
528
524
|
HS_10_CODE_UPSERTED = 'hs10_code_upserted',
|
|
@@ -544,10 +540,6 @@ export enum EventType {
|
|
|
544
540
|
LABEL_PROCESSING_MODIFICATION_DELETED = 'label_processing_modification_deleted',
|
|
545
541
|
MERCHANT_APPLICATION_UPSERTED = 'merchant_application_upserted',
|
|
546
542
|
MERCHANT_APPLICATION_DELETED = 'merchant_application_deleted',
|
|
547
|
-
CHECKOUT_OPTIN_RESPONSES_UPSERTED = 'checkout_optin_responses_upserted',
|
|
548
|
-
CHECKOUT_OPTIN_RESPONSES_DELETED = 'checkout_optin_responses_deleted',
|
|
549
|
-
BROWSE_OPTIN_RESPONSES_UPSERTED = 'browse_optin_responses_upserted',
|
|
550
|
-
BROWSE_OPTIN_RESPONSES_DELETED = 'browse_optin_responses_deleted',
|
|
551
543
|
ORDER_PLACED = 'order_placed',
|
|
552
544
|
ORDER_PLACED_V_2 = 'order_placed_v2',
|
|
553
545
|
READY_TO_FULFILL = 'ready_to_fulfill',
|
|
@@ -589,6 +581,8 @@ export enum EventType {
|
|
|
589
581
|
VIRTUAL_CARD_CAPTURE_DELETED = 'virtual_card_capture_deleted',
|
|
590
582
|
VIRTUAL_CARD_REFUND_UPSERTED = 'virtual_card_refund_upserted',
|
|
591
583
|
VIRTUAL_CARD_REFUND_DELETED = 'virtual_card_refund_deleted',
|
|
584
|
+
AUTHORIZATION_RETRY_UPSERTED = 'authorization_retry_upserted',
|
|
585
|
+
AUTHORIZATION_RETRY_DELETED = 'authorization_retry_deleted',
|
|
592
586
|
PAYMENT_REQUEST_UPSERTED = 'payment_request_upserted',
|
|
593
587
|
PAYMENT_REQUEST_DELETED = 'payment_request_deleted',
|
|
594
588
|
PRICE_BOOK_UPSERTED = 'price_book_upserted',
|
|
@@ -737,6 +731,21 @@ export enum FulfillmentRouting {
|
|
|
737
731
|
FULFILLMENT_SERVICE = 'fulfillment_service',
|
|
738
732
|
}
|
|
739
733
|
|
|
734
|
+
export enum GeCatalogItemIngestionResponse {
|
|
735
|
+
GE_CATALOG_ITEM_INGESTION_SUCCESS = 'ge_catalog_item_ingestion_success',
|
|
736
|
+
GE_CATALOG_ITEM_INGESTION_FAILURE = 'ge_catalog_item_ingestion_failure',
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export enum GeEnvironment {
|
|
740
|
+
PRODUCTION = 'production',
|
|
741
|
+
SANDBOX = 'sandbox',
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
export enum GeEventType {
|
|
745
|
+
RESTRICTION_RESULT = 'restriction_result',
|
|
746
|
+
INGESTION_RESULT = 'ingestion_result',
|
|
747
|
+
}
|
|
748
|
+
|
|
740
749
|
export enum GenericErrorCode {
|
|
741
750
|
GENERIC_ERROR = 'generic_error',
|
|
742
751
|
CLIENT_ERROR = 'client_error',
|
|
@@ -985,12 +994,6 @@ export enum OnboardingTradeSector {
|
|
|
985
994
|
OTHER = 'other',
|
|
986
995
|
}
|
|
987
996
|
|
|
988
|
-
export enum OptinResponseType {
|
|
989
|
-
NOT_SHOWN = 'not_shown',
|
|
990
|
-
OPTED_IN = 'opted_in',
|
|
991
|
-
OPTED_OUT = 'opted_out',
|
|
992
|
-
}
|
|
993
|
-
|
|
994
997
|
export enum OrderChangeSource {
|
|
995
998
|
CONSUMER = 'consumer',
|
|
996
999
|
RETAILER = 'retailer',
|
|
@@ -1108,6 +1111,7 @@ export enum OrderStorage {
|
|
|
1108
1111
|
export enum OrderType {
|
|
1109
1112
|
STANDARD = 'standard',
|
|
1110
1113
|
REPLACEMENT = 'replacement',
|
|
1114
|
+
EDIT = 'edit',
|
|
1111
1115
|
}
|
|
1112
1116
|
|
|
1113
1117
|
export enum OrganizationPaymentMethodTag {
|
|
@@ -1178,6 +1182,11 @@ export enum PaymentFailureCode {
|
|
|
1178
1182
|
PAYMENT_CHECKS_DECLINED = 'payment_checks_declined',
|
|
1179
1183
|
}
|
|
1180
1184
|
|
|
1185
|
+
export enum PaymentFeeType {
|
|
1186
|
+
FX = 'fx',
|
|
1187
|
+
MOR = 'mor',
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1181
1190
|
export enum PaymentMethodCapability {
|
|
1182
1191
|
CREDIT = 'credit',
|
|
1183
1192
|
DEBIT = 'debit',
|
|
@@ -1802,7 +1811,6 @@ export enum TransactionSource {
|
|
|
1802
1811
|
TAX_REFUND = 'tax_refund',
|
|
1803
1812
|
NON_L_4_L_TAX_DUTY_FX = 'non_l4l_tax_duty_fx',
|
|
1804
1813
|
GE_REVENUE_SHARE = 'ge_revenue_share',
|
|
1805
|
-
TAX_DUTY_DELTA = 'tax_duty_delta',
|
|
1806
1814
|
}
|
|
1807
1815
|
|
|
1808
1816
|
export enum TrueupSource {
|
|
@@ -1848,6 +1856,9 @@ export enum UnitOfMeasurement {
|
|
|
1848
1856
|
INCH = 'inch',
|
|
1849
1857
|
FOOT = 'foot',
|
|
1850
1858
|
CUBIC_INCH = 'cubic_inch',
|
|
1859
|
+
CUBIC_FOOT = 'cubic_foot',
|
|
1860
|
+
CUBIC_MILLIMETER = 'cubic_millimeter',
|
|
1861
|
+
CUBIC_CENTIMETER = 'cubic_centimeter',
|
|
1851
1862
|
CUBIC_METER = 'cubic_meter',
|
|
1852
1863
|
GRAM = 'gram',
|
|
1853
1864
|
KILOGRAM = 'kilogram',
|
|
@@ -1867,6 +1878,9 @@ export enum UnitOfTime {
|
|
|
1867
1878
|
|
|
1868
1879
|
export enum UnitOfVolume {
|
|
1869
1880
|
CUBIC_INCH = 'cubic_inch',
|
|
1881
|
+
CUBIC_FOOT = 'cubic_foot',
|
|
1882
|
+
CUBIC_MILLIMETER = 'cubic_millimeter',
|
|
1883
|
+
CUBIC_CENTIMETER = 'cubic_centimeter',
|
|
1870
1884
|
CUBIC_METER = 'cubic_meter',
|
|
1871
1885
|
}
|
|
1872
1886
|
|