@flowio/api-constants 2.13.44 → 2.13.46
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 +8 -2
- package/dist/api.js +13 -6
- package/package.json +2 -2
- package/src/api.ts +8 -1
package/dist/api.d.ts
CHANGED
|
@@ -176,6 +176,11 @@ export declare enum CardType {
|
|
|
176
176
|
MASTERCARD = "mastercard",
|
|
177
177
|
VISA = "visa"
|
|
178
178
|
}
|
|
179
|
+
export declare enum CarrierChargeReason {
|
|
180
|
+
RETURN_TO_ORIGIN = "return_to_origin",
|
|
181
|
+
REJECTION = "rejection",
|
|
182
|
+
OTHER = "other"
|
|
183
|
+
}
|
|
179
184
|
export declare enum CenterCapability {
|
|
180
185
|
INTERNATIONAL = "international",
|
|
181
186
|
DOMESTIC = "domestic",
|
|
@@ -1225,10 +1230,10 @@ export declare enum ProductRestrictionRule {
|
|
|
1225
1230
|
KNIVES = "Knives",
|
|
1226
1231
|
LIQUIDS = "Liquids",
|
|
1227
1232
|
OVERSIZED = "Oversized",
|
|
1233
|
+
RESTRICT_BY_DEFAULT = "Restrict by Default",
|
|
1228
1234
|
SUPPLEMENTS = "Supplements",
|
|
1229
1235
|
WEAPON = "Weapon",
|
|
1230
|
-
WOOD = "Wood"
|
|
1231
|
-
UNKNOWN = "unknown"
|
|
1236
|
+
WOOD = "Wood"
|
|
1232
1237
|
}
|
|
1233
1238
|
export declare enum PromotionTriggerType {
|
|
1234
1239
|
AUTOMATIC = "automatic",
|
|
@@ -1528,6 +1533,7 @@ export declare enum TransactionSource {
|
|
|
1528
1533
|
SHIPPING_LABEL = "shipping_label",
|
|
1529
1534
|
SHIPPING_LABEL_SERVICE = "shipping_label_service",
|
|
1530
1535
|
TRUEUP = "trueup",
|
|
1536
|
+
CARRIER_CHARGE = "carrier_charge",
|
|
1531
1537
|
SHIPPING_LABEL_REVENUE_SHARE = "shipping_label_revenue_share",
|
|
1532
1538
|
PLATFORM_FEE = "platform_fee",
|
|
1533
1539
|
TAX = "tax",
|
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
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;
|
|
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
|
+
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.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.OrderQuoteLineErrorCode = exports.OrderQuoteErrorCode = exports.OrderQuoteAddressType = 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.MeasurementSystem = 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.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 = exports.PriceFacetBoundary = exports.PriceDetailKey = 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 = exports.TrackingStatus = void 0;
|
|
8
8
|
var AbandonedOrderPromotionStatus;
|
|
9
9
|
(function (AbandonedOrderPromotionStatus) {
|
|
10
10
|
AbandonedOrderPromotionStatus["ACTIVE"] = "active";
|
|
@@ -207,6 +207,12 @@ var CardType;
|
|
|
207
207
|
CardType["MASTERCARD"] = "mastercard";
|
|
208
208
|
CardType["VISA"] = "visa";
|
|
209
209
|
})(CardType = exports.CardType || (exports.CardType = {}));
|
|
210
|
+
var CarrierChargeReason;
|
|
211
|
+
(function (CarrierChargeReason) {
|
|
212
|
+
CarrierChargeReason["RETURN_TO_ORIGIN"] = "return_to_origin";
|
|
213
|
+
CarrierChargeReason["REJECTION"] = "rejection";
|
|
214
|
+
CarrierChargeReason["OTHER"] = "other";
|
|
215
|
+
})(CarrierChargeReason = exports.CarrierChargeReason || (exports.CarrierChargeReason = {}));
|
|
210
216
|
var CenterCapability;
|
|
211
217
|
(function (CenterCapability) {
|
|
212
218
|
CenterCapability["INTERNATIONAL"] = "international";
|
|
@@ -1385,10 +1391,10 @@ var ProductRestrictionRule;
|
|
|
1385
1391
|
ProductRestrictionRule["KNIVES"] = "Knives";
|
|
1386
1392
|
ProductRestrictionRule["LIQUIDS"] = "Liquids";
|
|
1387
1393
|
ProductRestrictionRule["OVERSIZED"] = "Oversized";
|
|
1394
|
+
ProductRestrictionRule["RESTRICT_BY_DEFAULT"] = "Restrict by Default";
|
|
1388
1395
|
ProductRestrictionRule["SUPPLEMENTS"] = "Supplements";
|
|
1389
1396
|
ProductRestrictionRule["WEAPON"] = "Weapon";
|
|
1390
1397
|
ProductRestrictionRule["WOOD"] = "Wood";
|
|
1391
|
-
ProductRestrictionRule["UNKNOWN"] = "unknown";
|
|
1392
1398
|
})(ProductRestrictionRule = exports.ProductRestrictionRule || (exports.ProductRestrictionRule = {}));
|
|
1393
1399
|
var PromotionTriggerType;
|
|
1394
1400
|
(function (PromotionTriggerType) {
|
|
@@ -1738,6 +1744,7 @@ var TransactionSource;
|
|
|
1738
1744
|
TransactionSource["SHIPPING_LABEL"] = "shipping_label";
|
|
1739
1745
|
TransactionSource["SHIPPING_LABEL_SERVICE"] = "shipping_label_service";
|
|
1740
1746
|
TransactionSource["TRUEUP"] = "trueup";
|
|
1747
|
+
TransactionSource["CARRIER_CHARGE"] = "carrier_charge";
|
|
1741
1748
|
TransactionSource["SHIPPING_LABEL_REVENUE_SHARE"] = "shipping_label_revenue_share";
|
|
1742
1749
|
TransactionSource["PLATFORM_FEE"] = "platform_fee";
|
|
1743
1750
|
TransactionSource["TAX"] = "tax";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.46",
|
|
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": "2430172d05199bd940ad6b8a39eaf47a9efcea8c"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -200,6 +200,12 @@ export enum CardType {
|
|
|
200
200
|
VISA = 'visa',
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
+
export enum CarrierChargeReason {
|
|
204
|
+
RETURN_TO_ORIGIN = 'return_to_origin',
|
|
205
|
+
REJECTION = 'rejection',
|
|
206
|
+
OTHER = 'other',
|
|
207
|
+
}
|
|
208
|
+
|
|
203
209
|
export enum CenterCapability {
|
|
204
210
|
INTERNATIONAL = 'international',
|
|
205
211
|
DOMESTIC = 'domestic',
|
|
@@ -1377,10 +1383,10 @@ export enum ProductRestrictionRule {
|
|
|
1377
1383
|
KNIVES = 'Knives',
|
|
1378
1384
|
LIQUIDS = 'Liquids',
|
|
1379
1385
|
OVERSIZED = 'Oversized',
|
|
1386
|
+
RESTRICT_BY_DEFAULT = 'Restrict by Default',
|
|
1380
1387
|
SUPPLEMENTS = 'Supplements',
|
|
1381
1388
|
WEAPON = 'Weapon',
|
|
1382
1389
|
WOOD = 'Wood',
|
|
1383
|
-
UNKNOWN = 'unknown',
|
|
1384
1390
|
}
|
|
1385
1391
|
|
|
1386
1392
|
export enum PromotionTriggerType {
|
|
@@ -1730,6 +1736,7 @@ export enum TransactionSource {
|
|
|
1730
1736
|
SHIPPING_LABEL = 'shipping_label',
|
|
1731
1737
|
SHIPPING_LABEL_SERVICE = 'shipping_label_service',
|
|
1732
1738
|
TRUEUP = 'trueup',
|
|
1739
|
+
CARRIER_CHARGE = 'carrier_charge',
|
|
1733
1740
|
SHIPPING_LABEL_REVENUE_SHARE = 'shipping_label_revenue_share',
|
|
1734
1741
|
PLATFORM_FEE = 'platform_fee',
|
|
1735
1742
|
TAX = 'tax',
|