@flowio/api-constants 2.13.70 → 2.13.72
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 -35
- package/dist/api.js +33 -43
- package/package.json +2 -2
- package/src/api.ts +29 -39
package/dist/api.d.ts
CHANGED
|
@@ -345,11 +345,23 @@ export declare enum Environment {
|
|
|
345
345
|
SANDBOX = "sandbox",
|
|
346
346
|
PRODUCTION = "production"
|
|
347
347
|
}
|
|
348
|
+
export declare enum EstimateOrigin {
|
|
349
|
+
SHOPIFY = "Shopify",
|
|
350
|
+
GLOBAL_E = "GlobalE",
|
|
351
|
+
AFTERSHIP = "Aftership",
|
|
352
|
+
CARRIER = "Carrier"
|
|
353
|
+
}
|
|
354
|
+
export declare enum EstimateType {
|
|
355
|
+
ESTIMATED = "Estimated",
|
|
356
|
+
FINAL = "Final"
|
|
357
|
+
}
|
|
348
358
|
export declare enum EventType {
|
|
349
359
|
TEST_UPSERTED = "test_upserted",
|
|
350
360
|
GENERATE_LOAD = "generate_load",
|
|
351
361
|
ALDO_ITEM_UPSERTED = "aldo_item_upserted",
|
|
352
362
|
ALDO_ITEM_DELETED = "aldo_item_deleted",
|
|
363
|
+
ANSH_ITEM_UPSERTED = "ansh_item_upserted",
|
|
364
|
+
ANSH_ITEM_DELETED = "ansh_item_deleted",
|
|
353
365
|
TRANSACTION_UPSERTED = "transaction_upserted",
|
|
354
366
|
ORGANIZATION_TRANSACTION_UPSERTED = "organization_transaction_upserted",
|
|
355
367
|
ORGANIZATION_TRANSACTION_DELETED = "organization_transaction_deleted",
|
|
@@ -459,6 +471,11 @@ export declare enum EventType {
|
|
|
459
471
|
SHIPPING_CONFIGURATION_ITEM_AVAILABILITY_DELETED = "shipping_configuration_item_availability_deleted",
|
|
460
472
|
SHIPPING_CONFIGURATION_ITEM_SHIPPING_PRICING_UPSERTED = "shipping_configuration_item_shipping_pricing_upserted",
|
|
461
473
|
SHIPPING_CONFIGURATION_ITEM_SHIPPING_PRICING_DELETED = "shipping_configuration_item_shipping_pricing_deleted",
|
|
474
|
+
GE_ITEM_INSERTED = "ge_item_inserted",
|
|
475
|
+
GE_ITEM_UPDATED = "ge_item_updated",
|
|
476
|
+
GE_ITEM_DELETED = "ge_item_deleted",
|
|
477
|
+
GE_PRODUCT_RESTRICTION_RESULT_UPSERTED = "ge_product_restriction_result_upserted",
|
|
478
|
+
GE_PRODUCT_RESTRICTION_RESULT_DELETED = "ge_product_restriction_result_deleted",
|
|
462
479
|
HS_6_CODE_UPSERTED = "hs6_code_upserted",
|
|
463
480
|
HS_6_CODE_DELETED = "hs6_code_deleted",
|
|
464
481
|
HS_10_CODE_UPSERTED = "hs10_code_upserted",
|
|
@@ -478,14 +495,8 @@ export declare enum EventType {
|
|
|
478
495
|
MANIFESTED_LABEL_DELETED = "manifested_label_deleted",
|
|
479
496
|
LABEL_PROCESSING_MODIFICATION_UPSERTED = "label_processing_modification_upserted",
|
|
480
497
|
LABEL_PROCESSING_MODIFICATION_DELETED = "label_processing_modification_deleted",
|
|
481
|
-
LOCAL_ITEM_UPSERTED = "local_item_upserted",
|
|
482
|
-
LOCAL_ITEM_DELETED = "local_item_deleted",
|
|
483
498
|
MERCHANT_APPLICATION_UPSERTED = "merchant_application_upserted",
|
|
484
499
|
MERCHANT_APPLICATION_DELETED = "merchant_application_deleted",
|
|
485
|
-
CHECKOUT_OPTIN_RESPONSES_UPSERTED = "checkout_optin_responses_upserted",
|
|
486
|
-
CHECKOUT_OPTIN_RESPONSES_DELETED = "checkout_optin_responses_deleted",
|
|
487
|
-
BROWSE_OPTIN_RESPONSES_UPSERTED = "browse_optin_responses_upserted",
|
|
488
|
-
BROWSE_OPTIN_RESPONSES_DELETED = "browse_optin_responses_deleted",
|
|
489
500
|
ORDER_PLACED = "order_placed",
|
|
490
501
|
ORDER_PLACED_V_2 = "order_placed_v2",
|
|
491
502
|
READY_TO_FULFILL = "ready_to_fulfill",
|
|
@@ -527,6 +538,8 @@ export declare enum EventType {
|
|
|
527
538
|
VIRTUAL_CARD_CAPTURE_DELETED = "virtual_card_capture_deleted",
|
|
528
539
|
VIRTUAL_CARD_REFUND_UPSERTED = "virtual_card_refund_upserted",
|
|
529
540
|
VIRTUAL_CARD_REFUND_DELETED = "virtual_card_refund_deleted",
|
|
541
|
+
AUTHORIZATION_RETRY_UPSERTED = "authorization_retry_upserted",
|
|
542
|
+
AUTHORIZATION_RETRY_DELETED = "authorization_retry_deleted",
|
|
530
543
|
PAYMENT_REQUEST_UPSERTED = "payment_request_upserted",
|
|
531
544
|
PAYMENT_REQUEST_DELETED = "payment_request_deleted",
|
|
532
545
|
PRICE_BOOK_UPSERTED = "price_book_upserted",
|
|
@@ -870,11 +883,6 @@ export declare enum OnboardingTradeSector {
|
|
|
870
883
|
VEHICLES_AND_PARTS = "vehicles_and_parts",
|
|
871
884
|
OTHER = "other"
|
|
872
885
|
}
|
|
873
|
-
export declare enum OptinResponseType {
|
|
874
|
-
NOT_SHOWN = "not_shown",
|
|
875
|
-
OPTED_IN = "opted_in",
|
|
876
|
-
OPTED_OUT = "opted_out"
|
|
877
|
-
}
|
|
878
886
|
export declare enum OrderChangeSource {
|
|
879
887
|
CONSUMER = "consumer",
|
|
880
888
|
RETAILER = "retailer",
|
|
@@ -903,6 +911,10 @@ export declare enum OrderMerchantOfRecord {
|
|
|
903
911
|
ORGANIZATION = "organization",
|
|
904
912
|
MIXED = "mixed"
|
|
905
913
|
}
|
|
914
|
+
export declare enum OrderPaymentSourceType {
|
|
915
|
+
GLOBALE = "globale",
|
|
916
|
+
THIRD_PARTY = "third_party"
|
|
917
|
+
}
|
|
906
918
|
export declare enum OrderPaymentType {
|
|
907
919
|
CARD = "card",
|
|
908
920
|
ONLINE = "online",
|
|
@@ -1369,12 +1381,6 @@ export declare enum RoundingType {
|
|
|
1369
1381
|
PATTERN = "pattern",
|
|
1370
1382
|
MULTIPLE = "multiple"
|
|
1371
1383
|
}
|
|
1372
|
-
export declare enum RuleEffectType {
|
|
1373
|
-
MARKET = "market",
|
|
1374
|
-
DHL = "dhl",
|
|
1375
|
-
DHL_ECOMMERCE = "dhl_ecommerce",
|
|
1376
|
-
UPS = "ups"
|
|
1377
|
-
}
|
|
1378
1384
|
export declare enum ScheduleExceptionStatus {
|
|
1379
1385
|
OPEN = "Open",
|
|
1380
1386
|
CLOSED = "Closed"
|
|
@@ -1490,22 +1496,6 @@ export declare enum SurchargeResponsibleParty {
|
|
|
1490
1496
|
ORGANIZATION = "organization",
|
|
1491
1497
|
CUSTOMER = "customer"
|
|
1492
1498
|
}
|
|
1493
|
-
export declare enum SyncRecordFailureReason {
|
|
1494
|
-
INVENTORY = "inventory",
|
|
1495
|
-
ADDRESS = "address",
|
|
1496
|
-
PROMOTION = "promotion",
|
|
1497
|
-
OTHER = "other"
|
|
1498
|
-
}
|
|
1499
|
-
export declare enum SyncStreamType {
|
|
1500
|
-
SUBMITTED_ORDER = "submitted_order",
|
|
1501
|
-
PLACED_ORDER = "placed_order"
|
|
1502
|
-
}
|
|
1503
|
-
export declare enum SyncUnitOfTime {
|
|
1504
|
-
DAY = "day",
|
|
1505
|
-
HOUR = "hour",
|
|
1506
|
-
MINUTE = "minute",
|
|
1507
|
-
SECOND = "second"
|
|
1508
|
-
}
|
|
1509
1499
|
export declare enum TaxApplicability {
|
|
1510
1500
|
NONE = "none",
|
|
1511
1501
|
ALL = "all"
|
|
@@ -1568,7 +1558,9 @@ export declare enum TrackingStatus {
|
|
|
1568
1558
|
DELIVERED = "delivered",
|
|
1569
1559
|
EXCEPTION = "exception",
|
|
1570
1560
|
RETURNED = "returned",
|
|
1571
|
-
EXPIRED = "expired"
|
|
1561
|
+
EXPIRED = "expired",
|
|
1562
|
+
UNKNOWN = "unknown",
|
|
1563
|
+
UNMAPPED = "unmapped"
|
|
1572
1564
|
}
|
|
1573
1565
|
export declare enum TradeAgreementName {
|
|
1574
1566
|
USMCA = "USMCA",
|
|
@@ -1607,7 +1599,7 @@ export declare enum TransactionSource {
|
|
|
1607
1599
|
VIRTUAL_CARD_REFUND = "virtual_card_refund",
|
|
1608
1600
|
FAILED_PAYOUT = "failed_payout",
|
|
1609
1601
|
TAX_REFUND = "tax_refund",
|
|
1610
|
-
|
|
1602
|
+
NON_L_4_L_TAX_DUTY_FX = "non_l4l_tax_duty_fx",
|
|
1611
1603
|
GE_REVENUE_SHARE = "ge_revenue_share",
|
|
1612
1604
|
TAX_DUTY_DELTA = "tax_duty_delta"
|
|
1613
1605
|
}
|
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.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.TaxApplicability = 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 = exports.TrackingStatus =
|
|
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.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.EstimateType = exports.EstimateOrigin = exports.Environment = exports.EntityIdentifierType = exports.EconomicTitleLocation = exports.EcommercePlatformType = exports.DutyItemApprovalStatus = void 0;
|
|
5
|
+
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.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.TrackingNumberType = exports.TokenType = 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 = 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 = void 0;
|
|
8
8
|
var AbandonedOrderPromotionStatus;
|
|
9
9
|
(function (AbandonedOrderPromotionStatus) {
|
|
10
10
|
AbandonedOrderPromotionStatus["ACTIVE"] = "active";
|
|
@@ -407,12 +407,26 @@ var Environment;
|
|
|
407
407
|
Environment["SANDBOX"] = "sandbox";
|
|
408
408
|
Environment["PRODUCTION"] = "production";
|
|
409
409
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
410
|
+
var EstimateOrigin;
|
|
411
|
+
(function (EstimateOrigin) {
|
|
412
|
+
EstimateOrigin["SHOPIFY"] = "Shopify";
|
|
413
|
+
EstimateOrigin["GLOBAL_E"] = "GlobalE";
|
|
414
|
+
EstimateOrigin["AFTERSHIP"] = "Aftership";
|
|
415
|
+
EstimateOrigin["CARRIER"] = "Carrier";
|
|
416
|
+
})(EstimateOrigin = exports.EstimateOrigin || (exports.EstimateOrigin = {}));
|
|
417
|
+
var EstimateType;
|
|
418
|
+
(function (EstimateType) {
|
|
419
|
+
EstimateType["ESTIMATED"] = "Estimated";
|
|
420
|
+
EstimateType["FINAL"] = "Final";
|
|
421
|
+
})(EstimateType = exports.EstimateType || (exports.EstimateType = {}));
|
|
410
422
|
var EventType;
|
|
411
423
|
(function (EventType) {
|
|
412
424
|
EventType["TEST_UPSERTED"] = "test_upserted";
|
|
413
425
|
EventType["GENERATE_LOAD"] = "generate_load";
|
|
414
426
|
EventType["ALDO_ITEM_UPSERTED"] = "aldo_item_upserted";
|
|
415
427
|
EventType["ALDO_ITEM_DELETED"] = "aldo_item_deleted";
|
|
428
|
+
EventType["ANSH_ITEM_UPSERTED"] = "ansh_item_upserted";
|
|
429
|
+
EventType["ANSH_ITEM_DELETED"] = "ansh_item_deleted";
|
|
416
430
|
EventType["TRANSACTION_UPSERTED"] = "transaction_upserted";
|
|
417
431
|
EventType["ORGANIZATION_TRANSACTION_UPSERTED"] = "organization_transaction_upserted";
|
|
418
432
|
EventType["ORGANIZATION_TRANSACTION_DELETED"] = "organization_transaction_deleted";
|
|
@@ -522,6 +536,11 @@ var EventType;
|
|
|
522
536
|
EventType["SHIPPING_CONFIGURATION_ITEM_AVAILABILITY_DELETED"] = "shipping_configuration_item_availability_deleted";
|
|
523
537
|
EventType["SHIPPING_CONFIGURATION_ITEM_SHIPPING_PRICING_UPSERTED"] = "shipping_configuration_item_shipping_pricing_upserted";
|
|
524
538
|
EventType["SHIPPING_CONFIGURATION_ITEM_SHIPPING_PRICING_DELETED"] = "shipping_configuration_item_shipping_pricing_deleted";
|
|
539
|
+
EventType["GE_ITEM_INSERTED"] = "ge_item_inserted";
|
|
540
|
+
EventType["GE_ITEM_UPDATED"] = "ge_item_updated";
|
|
541
|
+
EventType["GE_ITEM_DELETED"] = "ge_item_deleted";
|
|
542
|
+
EventType["GE_PRODUCT_RESTRICTION_RESULT_UPSERTED"] = "ge_product_restriction_result_upserted";
|
|
543
|
+
EventType["GE_PRODUCT_RESTRICTION_RESULT_DELETED"] = "ge_product_restriction_result_deleted";
|
|
525
544
|
EventType["HS_6_CODE_UPSERTED"] = "hs6_code_upserted";
|
|
526
545
|
EventType["HS_6_CODE_DELETED"] = "hs6_code_deleted";
|
|
527
546
|
EventType["HS_10_CODE_UPSERTED"] = "hs10_code_upserted";
|
|
@@ -541,14 +560,8 @@ var EventType;
|
|
|
541
560
|
EventType["MANIFESTED_LABEL_DELETED"] = "manifested_label_deleted";
|
|
542
561
|
EventType["LABEL_PROCESSING_MODIFICATION_UPSERTED"] = "label_processing_modification_upserted";
|
|
543
562
|
EventType["LABEL_PROCESSING_MODIFICATION_DELETED"] = "label_processing_modification_deleted";
|
|
544
|
-
EventType["LOCAL_ITEM_UPSERTED"] = "local_item_upserted";
|
|
545
|
-
EventType["LOCAL_ITEM_DELETED"] = "local_item_deleted";
|
|
546
563
|
EventType["MERCHANT_APPLICATION_UPSERTED"] = "merchant_application_upserted";
|
|
547
564
|
EventType["MERCHANT_APPLICATION_DELETED"] = "merchant_application_deleted";
|
|
548
|
-
EventType["CHECKOUT_OPTIN_RESPONSES_UPSERTED"] = "checkout_optin_responses_upserted";
|
|
549
|
-
EventType["CHECKOUT_OPTIN_RESPONSES_DELETED"] = "checkout_optin_responses_deleted";
|
|
550
|
-
EventType["BROWSE_OPTIN_RESPONSES_UPSERTED"] = "browse_optin_responses_upserted";
|
|
551
|
-
EventType["BROWSE_OPTIN_RESPONSES_DELETED"] = "browse_optin_responses_deleted";
|
|
552
565
|
EventType["ORDER_PLACED"] = "order_placed";
|
|
553
566
|
EventType["ORDER_PLACED_V_2"] = "order_placed_v2";
|
|
554
567
|
EventType["READY_TO_FULFILL"] = "ready_to_fulfill";
|
|
@@ -590,6 +603,8 @@ var EventType;
|
|
|
590
603
|
EventType["VIRTUAL_CARD_CAPTURE_DELETED"] = "virtual_card_capture_deleted";
|
|
591
604
|
EventType["VIRTUAL_CARD_REFUND_UPSERTED"] = "virtual_card_refund_upserted";
|
|
592
605
|
EventType["VIRTUAL_CARD_REFUND_DELETED"] = "virtual_card_refund_deleted";
|
|
606
|
+
EventType["AUTHORIZATION_RETRY_UPSERTED"] = "authorization_retry_upserted";
|
|
607
|
+
EventType["AUTHORIZATION_RETRY_DELETED"] = "authorization_retry_deleted";
|
|
593
608
|
EventType["PAYMENT_REQUEST_UPSERTED"] = "payment_request_upserted";
|
|
594
609
|
EventType["PAYMENT_REQUEST_DELETED"] = "payment_request_deleted";
|
|
595
610
|
EventType["PRICE_BOOK_UPSERTED"] = "price_book_upserted";
|
|
@@ -985,12 +1000,6 @@ var OnboardingTradeSector;
|
|
|
985
1000
|
OnboardingTradeSector["VEHICLES_AND_PARTS"] = "vehicles_and_parts";
|
|
986
1001
|
OnboardingTradeSector["OTHER"] = "other";
|
|
987
1002
|
})(OnboardingTradeSector = exports.OnboardingTradeSector || (exports.OnboardingTradeSector = {}));
|
|
988
|
-
var OptinResponseType;
|
|
989
|
-
(function (OptinResponseType) {
|
|
990
|
-
OptinResponseType["NOT_SHOWN"] = "not_shown";
|
|
991
|
-
OptinResponseType["OPTED_IN"] = "opted_in";
|
|
992
|
-
OptinResponseType["OPTED_OUT"] = "opted_out";
|
|
993
|
-
})(OptinResponseType = exports.OptinResponseType || (exports.OptinResponseType = {}));
|
|
994
1003
|
var OrderChangeSource;
|
|
995
1004
|
(function (OrderChangeSource) {
|
|
996
1005
|
OrderChangeSource["CONSUMER"] = "consumer";
|
|
@@ -1022,6 +1031,11 @@ var OrderMerchantOfRecord;
|
|
|
1022
1031
|
OrderMerchantOfRecord["ORGANIZATION"] = "organization";
|
|
1023
1032
|
OrderMerchantOfRecord["MIXED"] = "mixed";
|
|
1024
1033
|
})(OrderMerchantOfRecord = exports.OrderMerchantOfRecord || (exports.OrderMerchantOfRecord = {}));
|
|
1034
|
+
var OrderPaymentSourceType;
|
|
1035
|
+
(function (OrderPaymentSourceType) {
|
|
1036
|
+
OrderPaymentSourceType["GLOBALE"] = "globale";
|
|
1037
|
+
OrderPaymentSourceType["THIRD_PARTY"] = "third_party";
|
|
1038
|
+
})(OrderPaymentSourceType = exports.OrderPaymentSourceType || (exports.OrderPaymentSourceType = {}));
|
|
1025
1039
|
var OrderPaymentType;
|
|
1026
1040
|
(function (OrderPaymentType) {
|
|
1027
1041
|
OrderPaymentType["CARD"] = "card";
|
|
@@ -1547,13 +1561,6 @@ var RoundingType;
|
|
|
1547
1561
|
RoundingType["PATTERN"] = "pattern";
|
|
1548
1562
|
RoundingType["MULTIPLE"] = "multiple";
|
|
1549
1563
|
})(RoundingType = exports.RoundingType || (exports.RoundingType = {}));
|
|
1550
|
-
var RuleEffectType;
|
|
1551
|
-
(function (RuleEffectType) {
|
|
1552
|
-
RuleEffectType["MARKET"] = "market";
|
|
1553
|
-
RuleEffectType["DHL"] = "dhl";
|
|
1554
|
-
RuleEffectType["DHL_ECOMMERCE"] = "dhl_ecommerce";
|
|
1555
|
-
RuleEffectType["UPS"] = "ups";
|
|
1556
|
-
})(RuleEffectType = exports.RuleEffectType || (exports.RuleEffectType = {}));
|
|
1557
1564
|
var ScheduleExceptionStatus;
|
|
1558
1565
|
(function (ScheduleExceptionStatus) {
|
|
1559
1566
|
ScheduleExceptionStatus["OPEN"] = "Open";
|
|
@@ -1684,25 +1691,6 @@ var SurchargeResponsibleParty;
|
|
|
1684
1691
|
SurchargeResponsibleParty["ORGANIZATION"] = "organization";
|
|
1685
1692
|
SurchargeResponsibleParty["CUSTOMER"] = "customer";
|
|
1686
1693
|
})(SurchargeResponsibleParty = exports.SurchargeResponsibleParty || (exports.SurchargeResponsibleParty = {}));
|
|
1687
|
-
var SyncRecordFailureReason;
|
|
1688
|
-
(function (SyncRecordFailureReason) {
|
|
1689
|
-
SyncRecordFailureReason["INVENTORY"] = "inventory";
|
|
1690
|
-
SyncRecordFailureReason["ADDRESS"] = "address";
|
|
1691
|
-
SyncRecordFailureReason["PROMOTION"] = "promotion";
|
|
1692
|
-
SyncRecordFailureReason["OTHER"] = "other";
|
|
1693
|
-
})(SyncRecordFailureReason = exports.SyncRecordFailureReason || (exports.SyncRecordFailureReason = {}));
|
|
1694
|
-
var SyncStreamType;
|
|
1695
|
-
(function (SyncStreamType) {
|
|
1696
|
-
SyncStreamType["SUBMITTED_ORDER"] = "submitted_order";
|
|
1697
|
-
SyncStreamType["PLACED_ORDER"] = "placed_order";
|
|
1698
|
-
})(SyncStreamType = exports.SyncStreamType || (exports.SyncStreamType = {}));
|
|
1699
|
-
var SyncUnitOfTime;
|
|
1700
|
-
(function (SyncUnitOfTime) {
|
|
1701
|
-
SyncUnitOfTime["DAY"] = "day";
|
|
1702
|
-
SyncUnitOfTime["HOUR"] = "hour";
|
|
1703
|
-
SyncUnitOfTime["MINUTE"] = "minute";
|
|
1704
|
-
SyncUnitOfTime["SECOND"] = "second";
|
|
1705
|
-
})(SyncUnitOfTime = exports.SyncUnitOfTime || (exports.SyncUnitOfTime = {}));
|
|
1706
1694
|
var TaxApplicability;
|
|
1707
1695
|
(function (TaxApplicability) {
|
|
1708
1696
|
TaxApplicability["NONE"] = "none";
|
|
@@ -1779,6 +1767,8 @@ var TrackingStatus;
|
|
|
1779
1767
|
TrackingStatus["EXCEPTION"] = "exception";
|
|
1780
1768
|
TrackingStatus["RETURNED"] = "returned";
|
|
1781
1769
|
TrackingStatus["EXPIRED"] = "expired";
|
|
1770
|
+
TrackingStatus["UNKNOWN"] = "unknown";
|
|
1771
|
+
TrackingStatus["UNMAPPED"] = "unmapped";
|
|
1782
1772
|
})(TrackingStatus = exports.TrackingStatus || (exports.TrackingStatus = {}));
|
|
1783
1773
|
var TradeAgreementName;
|
|
1784
1774
|
(function (TradeAgreementName) {
|
|
@@ -1820,7 +1810,7 @@ var TransactionSource;
|
|
|
1820
1810
|
TransactionSource["VIRTUAL_CARD_REFUND"] = "virtual_card_refund";
|
|
1821
1811
|
TransactionSource["FAILED_PAYOUT"] = "failed_payout";
|
|
1822
1812
|
TransactionSource["TAX_REFUND"] = "tax_refund";
|
|
1823
|
-
TransactionSource["
|
|
1813
|
+
TransactionSource["NON_L_4_L_TAX_DUTY_FX"] = "non_l4l_tax_duty_fx";
|
|
1824
1814
|
TransactionSource["GE_REVENUE_SHARE"] = "ge_revenue_share";
|
|
1825
1815
|
TransactionSource["TAX_DUTY_DELTA"] = "tax_duty_delta";
|
|
1826
1816
|
})(TransactionSource = exports.TransactionSource || (exports.TransactionSource = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.72",
|
|
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": "804cd1afec6f2a750da3a0f134494fec43c1f1f7"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -400,11 +400,25 @@ export enum Environment {
|
|
|
400
400
|
PRODUCTION = 'production',
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
+
export enum EstimateOrigin {
|
|
404
|
+
SHOPIFY = 'Shopify',
|
|
405
|
+
GLOBAL_E = 'GlobalE',
|
|
406
|
+
AFTERSHIP = 'Aftership',
|
|
407
|
+
CARRIER = 'Carrier',
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export enum EstimateType {
|
|
411
|
+
ESTIMATED = 'Estimated',
|
|
412
|
+
FINAL = 'Final',
|
|
413
|
+
}
|
|
414
|
+
|
|
403
415
|
export enum EventType {
|
|
404
416
|
TEST_UPSERTED = 'test_upserted',
|
|
405
417
|
GENERATE_LOAD = 'generate_load',
|
|
406
418
|
ALDO_ITEM_UPSERTED = 'aldo_item_upserted',
|
|
407
419
|
ALDO_ITEM_DELETED = 'aldo_item_deleted',
|
|
420
|
+
ANSH_ITEM_UPSERTED = 'ansh_item_upserted',
|
|
421
|
+
ANSH_ITEM_DELETED = 'ansh_item_deleted',
|
|
408
422
|
TRANSACTION_UPSERTED = 'transaction_upserted',
|
|
409
423
|
ORGANIZATION_TRANSACTION_UPSERTED = 'organization_transaction_upserted',
|
|
410
424
|
ORGANIZATION_TRANSACTION_DELETED = 'organization_transaction_deleted',
|
|
@@ -514,6 +528,11 @@ export enum EventType {
|
|
|
514
528
|
SHIPPING_CONFIGURATION_ITEM_AVAILABILITY_DELETED = 'shipping_configuration_item_availability_deleted',
|
|
515
529
|
SHIPPING_CONFIGURATION_ITEM_SHIPPING_PRICING_UPSERTED = 'shipping_configuration_item_shipping_pricing_upserted',
|
|
516
530
|
SHIPPING_CONFIGURATION_ITEM_SHIPPING_PRICING_DELETED = 'shipping_configuration_item_shipping_pricing_deleted',
|
|
531
|
+
GE_ITEM_INSERTED = 'ge_item_inserted',
|
|
532
|
+
GE_ITEM_UPDATED = 'ge_item_updated',
|
|
533
|
+
GE_ITEM_DELETED = 'ge_item_deleted',
|
|
534
|
+
GE_PRODUCT_RESTRICTION_RESULT_UPSERTED = 'ge_product_restriction_result_upserted',
|
|
535
|
+
GE_PRODUCT_RESTRICTION_RESULT_DELETED = 'ge_product_restriction_result_deleted',
|
|
517
536
|
HS_6_CODE_UPSERTED = 'hs6_code_upserted',
|
|
518
537
|
HS_6_CODE_DELETED = 'hs6_code_deleted',
|
|
519
538
|
HS_10_CODE_UPSERTED = 'hs10_code_upserted',
|
|
@@ -533,14 +552,8 @@ export enum EventType {
|
|
|
533
552
|
MANIFESTED_LABEL_DELETED = 'manifested_label_deleted',
|
|
534
553
|
LABEL_PROCESSING_MODIFICATION_UPSERTED = 'label_processing_modification_upserted',
|
|
535
554
|
LABEL_PROCESSING_MODIFICATION_DELETED = 'label_processing_modification_deleted',
|
|
536
|
-
LOCAL_ITEM_UPSERTED = 'local_item_upserted',
|
|
537
|
-
LOCAL_ITEM_DELETED = 'local_item_deleted',
|
|
538
555
|
MERCHANT_APPLICATION_UPSERTED = 'merchant_application_upserted',
|
|
539
556
|
MERCHANT_APPLICATION_DELETED = 'merchant_application_deleted',
|
|
540
|
-
CHECKOUT_OPTIN_RESPONSES_UPSERTED = 'checkout_optin_responses_upserted',
|
|
541
|
-
CHECKOUT_OPTIN_RESPONSES_DELETED = 'checkout_optin_responses_deleted',
|
|
542
|
-
BROWSE_OPTIN_RESPONSES_UPSERTED = 'browse_optin_responses_upserted',
|
|
543
|
-
BROWSE_OPTIN_RESPONSES_DELETED = 'browse_optin_responses_deleted',
|
|
544
557
|
ORDER_PLACED = 'order_placed',
|
|
545
558
|
ORDER_PLACED_V_2 = 'order_placed_v2',
|
|
546
559
|
READY_TO_FULFILL = 'ready_to_fulfill',
|
|
@@ -582,6 +595,8 @@ export enum EventType {
|
|
|
582
595
|
VIRTUAL_CARD_CAPTURE_DELETED = 'virtual_card_capture_deleted',
|
|
583
596
|
VIRTUAL_CARD_REFUND_UPSERTED = 'virtual_card_refund_upserted',
|
|
584
597
|
VIRTUAL_CARD_REFUND_DELETED = 'virtual_card_refund_deleted',
|
|
598
|
+
AUTHORIZATION_RETRY_UPSERTED = 'authorization_retry_upserted',
|
|
599
|
+
AUTHORIZATION_RETRY_DELETED = 'authorization_retry_deleted',
|
|
585
600
|
PAYMENT_REQUEST_UPSERTED = 'payment_request_upserted',
|
|
586
601
|
PAYMENT_REQUEST_DELETED = 'payment_request_deleted',
|
|
587
602
|
PRICE_BOOK_UPSERTED = 'price_book_upserted',
|
|
@@ -978,12 +993,6 @@ export enum OnboardingTradeSector {
|
|
|
978
993
|
OTHER = 'other',
|
|
979
994
|
}
|
|
980
995
|
|
|
981
|
-
export enum OptinResponseType {
|
|
982
|
-
NOT_SHOWN = 'not_shown',
|
|
983
|
-
OPTED_IN = 'opted_in',
|
|
984
|
-
OPTED_OUT = 'opted_out',
|
|
985
|
-
}
|
|
986
|
-
|
|
987
996
|
export enum OrderChangeSource {
|
|
988
997
|
CONSUMER = 'consumer',
|
|
989
998
|
RETAILER = 'retailer',
|
|
@@ -1015,6 +1024,11 @@ export enum OrderMerchantOfRecord {
|
|
|
1015
1024
|
MIXED = 'mixed',
|
|
1016
1025
|
}
|
|
1017
1026
|
|
|
1027
|
+
export enum OrderPaymentSourceType {
|
|
1028
|
+
GLOBALE = 'globale',
|
|
1029
|
+
THIRD_PARTY = 'third_party',
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1018
1032
|
export enum OrderPaymentType {
|
|
1019
1033
|
CARD = 'card',
|
|
1020
1034
|
ONLINE = 'online',
|
|
@@ -1540,13 +1554,6 @@ export enum RoundingType {
|
|
|
1540
1554
|
MULTIPLE = 'multiple',
|
|
1541
1555
|
}
|
|
1542
1556
|
|
|
1543
|
-
export enum RuleEffectType {
|
|
1544
|
-
MARKET = 'market',
|
|
1545
|
-
DHL = 'dhl',
|
|
1546
|
-
DHL_ECOMMERCE = 'dhl_ecommerce',
|
|
1547
|
-
UPS = 'ups',
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
1557
|
export enum ScheduleExceptionStatus {
|
|
1551
1558
|
OPEN = 'Open',
|
|
1552
1559
|
CLOSED = 'Closed',
|
|
@@ -1677,25 +1684,6 @@ export enum SurchargeResponsibleParty {
|
|
|
1677
1684
|
CUSTOMER = 'customer',
|
|
1678
1685
|
}
|
|
1679
1686
|
|
|
1680
|
-
export enum SyncRecordFailureReason {
|
|
1681
|
-
INVENTORY = 'inventory',
|
|
1682
|
-
ADDRESS = 'address',
|
|
1683
|
-
PROMOTION = 'promotion',
|
|
1684
|
-
OTHER = 'other',
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
export enum SyncStreamType {
|
|
1688
|
-
SUBMITTED_ORDER = 'submitted_order',
|
|
1689
|
-
PLACED_ORDER = 'placed_order',
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
export enum SyncUnitOfTime {
|
|
1693
|
-
DAY = 'day',
|
|
1694
|
-
HOUR = 'hour',
|
|
1695
|
-
MINUTE = 'minute',
|
|
1696
|
-
SECOND = 'second',
|
|
1697
|
-
}
|
|
1698
|
-
|
|
1699
1687
|
export enum TaxApplicability {
|
|
1700
1688
|
NONE = 'none',
|
|
1701
1689
|
ALL = 'all',
|
|
@@ -1771,6 +1759,8 @@ export enum TrackingStatus {
|
|
|
1771
1759
|
EXCEPTION = 'exception',
|
|
1772
1760
|
RETURNED = 'returned',
|
|
1773
1761
|
EXPIRED = 'expired',
|
|
1762
|
+
UNKNOWN = 'unknown',
|
|
1763
|
+
UNMAPPED = 'unmapped',
|
|
1774
1764
|
}
|
|
1775
1765
|
|
|
1776
1766
|
export enum TradeAgreementName {
|
|
@@ -1812,7 +1802,7 @@ export enum TransactionSource {
|
|
|
1812
1802
|
VIRTUAL_CARD_REFUND = 'virtual_card_refund',
|
|
1813
1803
|
FAILED_PAYOUT = 'failed_payout',
|
|
1814
1804
|
TAX_REFUND = 'tax_refund',
|
|
1815
|
-
|
|
1805
|
+
NON_L_4_L_TAX_DUTY_FX = 'non_l4l_tax_duty_fx',
|
|
1816
1806
|
GE_REVENUE_SHARE = 'ge_revenue_share',
|
|
1817
1807
|
TAX_DUTY_DELTA = 'tax_duty_delta',
|
|
1818
1808
|
}
|