@flowio/api-constants 2.13.51 → 2.13.53
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 +11 -38
- package/dist/api.js +14 -43
- package/package.json +2 -2
- package/src/api.ts +11 -40
package/dist/api.d.ts
CHANGED
|
@@ -953,39 +953,6 @@ export declare enum OrderPriceDetailKey {
|
|
|
953
953
|
SURCHARGES = "surcharges",
|
|
954
954
|
TIP = "tip"
|
|
955
955
|
}
|
|
956
|
-
export declare enum OrderQuoteAddressType {
|
|
957
|
-
SHIPPING = "shipping"
|
|
958
|
-
}
|
|
959
|
-
export declare enum OrderQuoteErrorCode {
|
|
960
|
-
CONTACT_EMAIL_INVALID = "contact_email_invalid",
|
|
961
|
-
CONTACT_EMAIL_REQUIRED = "contact_email_required",
|
|
962
|
-
CONTACT_PHONE_INVALID = "contact_phone_invalid",
|
|
963
|
-
CONTACT_PHONE_REQUIRED = "contact_phone_required",
|
|
964
|
-
COUNTRY_NOT_SUPPORTED = "country_not_supported",
|
|
965
|
-
CURRENCY_INVALID = "currency_invalid",
|
|
966
|
-
FIRST_NAME_INVALID = "first_name_invalid",
|
|
967
|
-
FIRST_NAME_REQUIRED = "first_name_required",
|
|
968
|
-
GEO_REQUIRED_WHEN_NO_SESSION = "geo_required_when_no_session",
|
|
969
|
-
LANGUAGE_INVALID = "language_invalid",
|
|
970
|
-
LAST_NAME_INVALID = "last_name_invalid",
|
|
971
|
-
LAST_NAME_REQUIRED = "last_name_required",
|
|
972
|
-
LINE_ITEM_NUMBER_INVALID = "line_item_number_invalid",
|
|
973
|
-
LINE_ITEM_NUMBER_NOT_AVAILABLE = "line_item_number_not_available",
|
|
974
|
-
LINE_NOT_FOUND = "line_not_found",
|
|
975
|
-
LINE_QUANTITY_INVALID = "line_quantity_invalid",
|
|
976
|
-
LINE_VALUE_THRESHOLD_EXCEEDED = "line_value_threshold_exceeded",
|
|
977
|
-
NAME_MISSING_FIRST_OR_LAST = "name_missing_first_or_last",
|
|
978
|
-
NAME_REQUIRED = "name_required",
|
|
979
|
-
ORDER_QUOTE_REQUIRES_AT_LEAST_ONE_LINE = "order_quote_requires_at_least_one_line",
|
|
980
|
-
SESSION_NOT_FOUND = "session_not_found",
|
|
981
|
-
SESSION_ORGANIZATION_MISMATCH = "session_organization_mismatch"
|
|
982
|
-
}
|
|
983
|
-
export declare enum OrderQuoteLineErrorCode {
|
|
984
|
-
LINE_ITEM_NUMBER_INVALID = "line_item_number_invalid",
|
|
985
|
-
LINE_ITEM_NUMBER_NOT_AVAILABLE = "line_item_number_not_available",
|
|
986
|
-
LINE_QUANTITY_INVALID = "line_quantity_invalid",
|
|
987
|
-
LINE_VALUE_THRESHOLD_EXCEEDED = "line_value_threshold_exceeded"
|
|
988
|
-
}
|
|
989
956
|
export declare enum OrderRefundSummaryIncludes {
|
|
990
957
|
DUTIES = "duties",
|
|
991
958
|
VAT = "vat",
|
|
@@ -1024,7 +991,9 @@ export declare enum OrganizationType {
|
|
|
1024
991
|
}
|
|
1025
992
|
export declare enum PackageDimensionsSource {
|
|
1026
993
|
PROVIDED = "provided",
|
|
1027
|
-
|
|
994
|
+
ITEM_DIMENSIONS_ESTIMATED = "item_dimensions_estimated",
|
|
995
|
+
DIMENSIONS_ESTIMATED = "dimensions_estimated",
|
|
996
|
+
DEFAULT_ITEM_DIMENSIONS_ESTIMATED = "default_item_dimensions_estimated"
|
|
1028
997
|
}
|
|
1029
998
|
export declare enum PaymentActionType {
|
|
1030
999
|
REDIRECT = "redirect",
|
|
@@ -1296,6 +1265,10 @@ export declare enum RegionType {
|
|
|
1296
1265
|
PROVINCE = "province",
|
|
1297
1266
|
JURISDICTION = "jurisdiction"
|
|
1298
1267
|
}
|
|
1268
|
+
export declare enum RestrictedReviewStatus {
|
|
1269
|
+
IN_REVIEW = "in_review",
|
|
1270
|
+
REVIEWED = "reviewed"
|
|
1271
|
+
}
|
|
1299
1272
|
export declare enum ReturnItemStatus {
|
|
1300
1273
|
RETURNABLE = "returnable",
|
|
1301
1274
|
NON_RETURNABLE = "non-returnable"
|
|
@@ -1573,10 +1546,10 @@ export declare enum TrueupSurchargeType {
|
|
|
1573
1546
|
EMERGENCY = "emergency",
|
|
1574
1547
|
PEAK = "peak",
|
|
1575
1548
|
ADDRESS_CORRECTION = "address_correction",
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1549
|
+
SECURITY = "security",
|
|
1550
|
+
EEI_FILING = "eei_filing",
|
|
1551
|
+
FIXED_DDP = "fixed_ddp",
|
|
1552
|
+
FIXED_CURRENCY_CONVERSION = "fixed_currency_conversion"
|
|
1580
1553
|
}
|
|
1581
1554
|
export declare enum UnitOfLength {
|
|
1582
1555
|
MILLIMETER = "millimeter",
|
package/dist/api.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
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.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.Aggregate = exports.AdjustmentReasonKey = exports.AddressVerificationResultFieldCode = exports.AddressFieldName = exports.AbandonedOrderSettingStatus = exports.AbandonedOrderPromotionStatus = void 0;
|
|
4
4
|
exports.MarginType = exports.LogisticsFormatPreference = 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.InventoryStatus = exports.InputSpecificationType = exports.InlineWindowViewportSize = 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 = exports.DutyItemApprovalStatus = void 0;
|
|
5
|
-
exports.PriceBookStatus = exports.PriceAccuracy = exports.PreferredServiceSelectionStrategy = exports.PostalType = exports.PhysicalDeliverySpecialSerivce = exports.PermittedHttpMethod = exports.PendingPayoutTransactionReasonCode = exports.PayoutStatusFailureCode = exports.PayoutAttachmentType = exports.PaymentType = exports.PaymentStatus = exports.PaymentSourceConfirmationActionType = exports.PaymentRequestReviewStatus = exports.PaymentRequestReviewCheckType = exports.PaymentRequestReviewCheckStatus = exports.PaymentMethodType = exports.PaymentMethodRuleContentKey = exports.PaymentMethodDataOptionType = exports.PaymentMethodCapability = exports.PaymentFailureCode = exports.PaymentErrorCode = exports.PaymentActionType = exports.PackageDimensionsSource = exports.OrganizationType = exports.OrganizationStatus = exports.OrganizationPaymentMethodTag = exports.OrderType = exports.OrderStorage = exports.OrderStatus = exports.OrderRefundSummaryPartialCharged = exports.OrderRefundSummaryIncludes = exports.
|
|
6
|
-
exports.TokenType = exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.TaxDutyCalculatorValidationErrorCode = 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.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.RegionType = exports.RefundStatus = exports.RefundDeclineCode = exports.RatecardOwner = exports.QuoteErrorCode = exports.ProvinceType = exports.PromotionTriggerType = exports.ProductRestrictionRule = exports.PricingLevySetting =
|
|
7
|
-
exports.ZeroLevyReasonCode = exports.ZeroAmountIndicator = exports.WithholdingDeductionType = exports.WebhookStatus = exports.Visibility = exports.ValueAddedService = exports.UserStatus = exports.UpdateType = exports.UpdatePolicy = exports.UnitOfWeight = exports.UnitOfVolume = exports.UnitOfTime = exports.UnitOfMeasurement = exports.UnitOfLength = exports.TrueupSurchargeType = exports.TrueupSource = exports.TransactionSource = exports.TradeAgreementStatus = exports.TradeAgreementName =
|
|
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.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 = exports.MerchantDisabledReason = exports.MeasurementSystem = 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.TaxDutyCalculatorValidationErrorCode = 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.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.RefundDeclineCode = exports.RatecardOwner = exports.QuoteErrorCode = exports.ProvinceType = exports.PromotionTriggerType = exports.ProductRestrictionRule = exports.PricingLevySetting = void 0;
|
|
7
|
+
exports.ZeroLevyReasonCode = exports.ZeroAmountIndicator = exports.WithholdingDeductionType = exports.WebhookStatus = exports.Visibility = exports.ValueAddedService = exports.UserStatus = exports.UpdateType = 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";
|
|
@@ -1076,42 +1076,6 @@ var OrderPriceDetailKey;
|
|
|
1076
1076
|
OrderPriceDetailKey["SURCHARGES"] = "surcharges";
|
|
1077
1077
|
OrderPriceDetailKey["TIP"] = "tip";
|
|
1078
1078
|
})(OrderPriceDetailKey = exports.OrderPriceDetailKey || (exports.OrderPriceDetailKey = {}));
|
|
1079
|
-
var OrderQuoteAddressType;
|
|
1080
|
-
(function (OrderQuoteAddressType) {
|
|
1081
|
-
OrderQuoteAddressType["SHIPPING"] = "shipping";
|
|
1082
|
-
})(OrderQuoteAddressType = exports.OrderQuoteAddressType || (exports.OrderQuoteAddressType = {}));
|
|
1083
|
-
var OrderQuoteErrorCode;
|
|
1084
|
-
(function (OrderQuoteErrorCode) {
|
|
1085
|
-
OrderQuoteErrorCode["CONTACT_EMAIL_INVALID"] = "contact_email_invalid";
|
|
1086
|
-
OrderQuoteErrorCode["CONTACT_EMAIL_REQUIRED"] = "contact_email_required";
|
|
1087
|
-
OrderQuoteErrorCode["CONTACT_PHONE_INVALID"] = "contact_phone_invalid";
|
|
1088
|
-
OrderQuoteErrorCode["CONTACT_PHONE_REQUIRED"] = "contact_phone_required";
|
|
1089
|
-
OrderQuoteErrorCode["COUNTRY_NOT_SUPPORTED"] = "country_not_supported";
|
|
1090
|
-
OrderQuoteErrorCode["CURRENCY_INVALID"] = "currency_invalid";
|
|
1091
|
-
OrderQuoteErrorCode["FIRST_NAME_INVALID"] = "first_name_invalid";
|
|
1092
|
-
OrderQuoteErrorCode["FIRST_NAME_REQUIRED"] = "first_name_required";
|
|
1093
|
-
OrderQuoteErrorCode["GEO_REQUIRED_WHEN_NO_SESSION"] = "geo_required_when_no_session";
|
|
1094
|
-
OrderQuoteErrorCode["LANGUAGE_INVALID"] = "language_invalid";
|
|
1095
|
-
OrderQuoteErrorCode["LAST_NAME_INVALID"] = "last_name_invalid";
|
|
1096
|
-
OrderQuoteErrorCode["LAST_NAME_REQUIRED"] = "last_name_required";
|
|
1097
|
-
OrderQuoteErrorCode["LINE_ITEM_NUMBER_INVALID"] = "line_item_number_invalid";
|
|
1098
|
-
OrderQuoteErrorCode["LINE_ITEM_NUMBER_NOT_AVAILABLE"] = "line_item_number_not_available";
|
|
1099
|
-
OrderQuoteErrorCode["LINE_NOT_FOUND"] = "line_not_found";
|
|
1100
|
-
OrderQuoteErrorCode["LINE_QUANTITY_INVALID"] = "line_quantity_invalid";
|
|
1101
|
-
OrderQuoteErrorCode["LINE_VALUE_THRESHOLD_EXCEEDED"] = "line_value_threshold_exceeded";
|
|
1102
|
-
OrderQuoteErrorCode["NAME_MISSING_FIRST_OR_LAST"] = "name_missing_first_or_last";
|
|
1103
|
-
OrderQuoteErrorCode["NAME_REQUIRED"] = "name_required";
|
|
1104
|
-
OrderQuoteErrorCode["ORDER_QUOTE_REQUIRES_AT_LEAST_ONE_LINE"] = "order_quote_requires_at_least_one_line";
|
|
1105
|
-
OrderQuoteErrorCode["SESSION_NOT_FOUND"] = "session_not_found";
|
|
1106
|
-
OrderQuoteErrorCode["SESSION_ORGANIZATION_MISMATCH"] = "session_organization_mismatch";
|
|
1107
|
-
})(OrderQuoteErrorCode = exports.OrderQuoteErrorCode || (exports.OrderQuoteErrorCode = {}));
|
|
1108
|
-
var OrderQuoteLineErrorCode;
|
|
1109
|
-
(function (OrderQuoteLineErrorCode) {
|
|
1110
|
-
OrderQuoteLineErrorCode["LINE_ITEM_NUMBER_INVALID"] = "line_item_number_invalid";
|
|
1111
|
-
OrderQuoteLineErrorCode["LINE_ITEM_NUMBER_NOT_AVAILABLE"] = "line_item_number_not_available";
|
|
1112
|
-
OrderQuoteLineErrorCode["LINE_QUANTITY_INVALID"] = "line_quantity_invalid";
|
|
1113
|
-
OrderQuoteLineErrorCode["LINE_VALUE_THRESHOLD_EXCEEDED"] = "line_value_threshold_exceeded";
|
|
1114
|
-
})(OrderQuoteLineErrorCode = exports.OrderQuoteLineErrorCode || (exports.OrderQuoteLineErrorCode = {}));
|
|
1115
1079
|
var OrderRefundSummaryIncludes;
|
|
1116
1080
|
(function (OrderRefundSummaryIncludes) {
|
|
1117
1081
|
OrderRefundSummaryIncludes["DUTIES"] = "duties";
|
|
@@ -1159,7 +1123,9 @@ var OrganizationType;
|
|
|
1159
1123
|
var PackageDimensionsSource;
|
|
1160
1124
|
(function (PackageDimensionsSource) {
|
|
1161
1125
|
PackageDimensionsSource["PROVIDED"] = "provided";
|
|
1126
|
+
PackageDimensionsSource["ITEM_DIMENSIONS_ESTIMATED"] = "item_dimensions_estimated";
|
|
1162
1127
|
PackageDimensionsSource["DIMENSIONS_ESTIMATED"] = "dimensions_estimated";
|
|
1128
|
+
PackageDimensionsSource["DEFAULT_ITEM_DIMENSIONS_ESTIMATED"] = "default_item_dimensions_estimated";
|
|
1163
1129
|
})(PackageDimensionsSource = exports.PackageDimensionsSource || (exports.PackageDimensionsSource = {}));
|
|
1164
1130
|
var PaymentActionType;
|
|
1165
1131
|
(function (PaymentActionType) {
|
|
@@ -1465,6 +1431,11 @@ var RegionType;
|
|
|
1465
1431
|
RegionType["PROVINCE"] = "province";
|
|
1466
1432
|
RegionType["JURISDICTION"] = "jurisdiction";
|
|
1467
1433
|
})(RegionType = exports.RegionType || (exports.RegionType = {}));
|
|
1434
|
+
var RestrictedReviewStatus;
|
|
1435
|
+
(function (RestrictedReviewStatus) {
|
|
1436
|
+
RestrictedReviewStatus["IN_REVIEW"] = "in_review";
|
|
1437
|
+
RestrictedReviewStatus["REVIEWED"] = "reviewed";
|
|
1438
|
+
})(RestrictedReviewStatus = exports.RestrictedReviewStatus || (exports.RestrictedReviewStatus = {}));
|
|
1468
1439
|
var ReturnItemStatus;
|
|
1469
1440
|
(function (ReturnItemStatus) {
|
|
1470
1441
|
ReturnItemStatus["RETURNABLE"] = "returnable";
|
|
@@ -1787,10 +1758,10 @@ var TrueupSurchargeType;
|
|
|
1787
1758
|
TrueupSurchargeType["EMERGENCY"] = "emergency";
|
|
1788
1759
|
TrueupSurchargeType["PEAK"] = "peak";
|
|
1789
1760
|
TrueupSurchargeType["ADDRESS_CORRECTION"] = "address_correction";
|
|
1790
|
-
TrueupSurchargeType["
|
|
1791
|
-
TrueupSurchargeType["
|
|
1792
|
-
TrueupSurchargeType["
|
|
1793
|
-
TrueupSurchargeType["
|
|
1761
|
+
TrueupSurchargeType["SECURITY"] = "security";
|
|
1762
|
+
TrueupSurchargeType["EEI_FILING"] = "eei_filing";
|
|
1763
|
+
TrueupSurchargeType["FIXED_DDP"] = "fixed_ddp";
|
|
1764
|
+
TrueupSurchargeType["FIXED_CURRENCY_CONVERSION"] = "fixed_currency_conversion";
|
|
1794
1765
|
})(TrueupSurchargeType = exports.TrueupSurchargeType || (exports.TrueupSurchargeType = {}));
|
|
1795
1766
|
var UnitOfLength;
|
|
1796
1767
|
(function (UnitOfLength) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.53",
|
|
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": "92e35a5f134c649a116d30d3d3af55458f8afa4d"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -1069,42 +1069,6 @@ export enum OrderPriceDetailKey {
|
|
|
1069
1069
|
TIP = 'tip',
|
|
1070
1070
|
}
|
|
1071
1071
|
|
|
1072
|
-
export enum OrderQuoteAddressType {
|
|
1073
|
-
SHIPPING = 'shipping',
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
export enum OrderQuoteErrorCode {
|
|
1077
|
-
CONTACT_EMAIL_INVALID = 'contact_email_invalid',
|
|
1078
|
-
CONTACT_EMAIL_REQUIRED = 'contact_email_required',
|
|
1079
|
-
CONTACT_PHONE_INVALID = 'contact_phone_invalid',
|
|
1080
|
-
CONTACT_PHONE_REQUIRED = 'contact_phone_required',
|
|
1081
|
-
COUNTRY_NOT_SUPPORTED = 'country_not_supported',
|
|
1082
|
-
CURRENCY_INVALID = 'currency_invalid',
|
|
1083
|
-
FIRST_NAME_INVALID = 'first_name_invalid',
|
|
1084
|
-
FIRST_NAME_REQUIRED = 'first_name_required',
|
|
1085
|
-
GEO_REQUIRED_WHEN_NO_SESSION = 'geo_required_when_no_session',
|
|
1086
|
-
LANGUAGE_INVALID = 'language_invalid',
|
|
1087
|
-
LAST_NAME_INVALID = 'last_name_invalid',
|
|
1088
|
-
LAST_NAME_REQUIRED = 'last_name_required',
|
|
1089
|
-
LINE_ITEM_NUMBER_INVALID = 'line_item_number_invalid',
|
|
1090
|
-
LINE_ITEM_NUMBER_NOT_AVAILABLE = 'line_item_number_not_available',
|
|
1091
|
-
LINE_NOT_FOUND = 'line_not_found',
|
|
1092
|
-
LINE_QUANTITY_INVALID = 'line_quantity_invalid',
|
|
1093
|
-
LINE_VALUE_THRESHOLD_EXCEEDED = 'line_value_threshold_exceeded',
|
|
1094
|
-
NAME_MISSING_FIRST_OR_LAST = 'name_missing_first_or_last',
|
|
1095
|
-
NAME_REQUIRED = 'name_required',
|
|
1096
|
-
ORDER_QUOTE_REQUIRES_AT_LEAST_ONE_LINE = 'order_quote_requires_at_least_one_line',
|
|
1097
|
-
SESSION_NOT_FOUND = 'session_not_found',
|
|
1098
|
-
SESSION_ORGANIZATION_MISMATCH = 'session_organization_mismatch',
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
export enum OrderQuoteLineErrorCode {
|
|
1102
|
-
LINE_ITEM_NUMBER_INVALID = 'line_item_number_invalid',
|
|
1103
|
-
LINE_ITEM_NUMBER_NOT_AVAILABLE = 'line_item_number_not_available',
|
|
1104
|
-
LINE_QUANTITY_INVALID = 'line_quantity_invalid',
|
|
1105
|
-
LINE_VALUE_THRESHOLD_EXCEEDED = 'line_value_threshold_exceeded',
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
1072
|
export enum OrderRefundSummaryIncludes {
|
|
1109
1073
|
DUTIES = 'duties',
|
|
1110
1074
|
VAT = 'vat',
|
|
@@ -1151,7 +1115,9 @@ export enum OrganizationType {
|
|
|
1151
1115
|
|
|
1152
1116
|
export enum PackageDimensionsSource {
|
|
1153
1117
|
PROVIDED = 'provided',
|
|
1118
|
+
ITEM_DIMENSIONS_ESTIMATED = 'item_dimensions_estimated',
|
|
1154
1119
|
DIMENSIONS_ESTIMATED = 'dimensions_estimated',
|
|
1120
|
+
DEFAULT_ITEM_DIMENSIONS_ESTIMATED = 'default_item_dimensions_estimated',
|
|
1155
1121
|
}
|
|
1156
1122
|
|
|
1157
1123
|
export enum PaymentActionType {
|
|
@@ -1458,6 +1424,11 @@ export enum RegionType {
|
|
|
1458
1424
|
JURISDICTION = 'jurisdiction',
|
|
1459
1425
|
}
|
|
1460
1426
|
|
|
1427
|
+
export enum RestrictedReviewStatus {
|
|
1428
|
+
IN_REVIEW = 'in_review',
|
|
1429
|
+
REVIEWED = 'reviewed',
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1461
1432
|
export enum ReturnItemStatus {
|
|
1462
1433
|
RETURNABLE = 'returnable',
|
|
1463
1434
|
NON_RETURNABLE = 'non-returnable',
|
|
@@ -1779,10 +1750,10 @@ export enum TrueupSurchargeType {
|
|
|
1779
1750
|
EMERGENCY = 'emergency',
|
|
1780
1751
|
PEAK = 'peak',
|
|
1781
1752
|
ADDRESS_CORRECTION = 'address_correction',
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1753
|
+
SECURITY = 'security',
|
|
1754
|
+
EEI_FILING = 'eei_filing',
|
|
1755
|
+
FIXED_DDP = 'fixed_ddp',
|
|
1756
|
+
FIXED_CURRENCY_CONVERSION = 'fixed_currency_conversion',
|
|
1786
1757
|
}
|
|
1787
1758
|
|
|
1788
1759
|
export enum UnitOfLength {
|