@flowio/api-constants 2.13.42 → 2.13.44
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 +37 -1
- package/dist/api.js +41 -3
- package/package.json +2 -2
- package/src/api.ts +39 -1
package/dist/api.d.ts
CHANGED
|
@@ -1123,7 +1123,7 @@ export declare enum PendingPayoutTransactionReasonCode {
|
|
|
1123
1123
|
WAITING_FOR_FULFILLMENT = "waiting_for_fulfillment",
|
|
1124
1124
|
WAITING_FOR_IN_TRANSIT = "waiting_for_in_transit",
|
|
1125
1125
|
WAITING_FOR_NEXT_PAYOUT_DATE = "waiting_for_next_payout_date",
|
|
1126
|
-
|
|
1126
|
+
WAITING_FOR_TRACKING_INFO = "waiting_for_tracking_info",
|
|
1127
1127
|
WAITING_FOR_POSITIVE_ACCOUNT_BALANCE = "waiting_for_positive_account_balance"
|
|
1128
1128
|
}
|
|
1129
1129
|
export declare enum PermittedHttpMethod {
|
|
@@ -1199,6 +1199,37 @@ export declare enum PricingLevySetting {
|
|
|
1199
1199
|
DISPLAYED = "displayed",
|
|
1200
1200
|
IGNORED = "ignored"
|
|
1201
1201
|
}
|
|
1202
|
+
export declare enum ProductRestrictionRule {
|
|
1203
|
+
ADULT_PRODUCT = "Adult Products",
|
|
1204
|
+
ALCOHOL = "Alcohol",
|
|
1205
|
+
ANTI_MONEY_LAUNDERING = "Anti Money Laundering",
|
|
1206
|
+
COLLAGEN = "Collagen",
|
|
1207
|
+
CONSUMER_SAFETY = "Consumer Safety",
|
|
1208
|
+
COSMETICS = "Cosmetics",
|
|
1209
|
+
DG_BATTERIES = "DG - Batteries",
|
|
1210
|
+
DG_HAZMAT = "DG - Hazmat",
|
|
1211
|
+
DRUGS = "Drugs",
|
|
1212
|
+
DUAL_USE = "Dual Use",
|
|
1213
|
+
FINE_ART = "Fine Art",
|
|
1214
|
+
FISH_WILDLIFE_CITES = "Fish & Wildlife - CITES",
|
|
1215
|
+
FISH_WILDLIFE_PLANT = "Fish & Wildlife - Plant",
|
|
1216
|
+
FISH_WILDLIFE_USFWS = "Fish & Wildlife - USFWS",
|
|
1217
|
+
FOOD = "Food",
|
|
1218
|
+
GAMBLING = "Gambling",
|
|
1219
|
+
HEALTH = "Health",
|
|
1220
|
+
HUMAN_HAIR = "Human hair",
|
|
1221
|
+
INSUFFICIENT_DETAILS = "Insufficient Details",
|
|
1222
|
+
INTANGIBLE = "Intangible",
|
|
1223
|
+
JEWELRY = "Jewelry",
|
|
1224
|
+
JEWELRY_WATCHES_OVER_LIMIT = "Jewelry & Watches Over 5000",
|
|
1225
|
+
KNIVES = "Knives",
|
|
1226
|
+
LIQUIDS = "Liquids",
|
|
1227
|
+
OVERSIZED = "Oversized",
|
|
1228
|
+
SUPPLEMENTS = "Supplements",
|
|
1229
|
+
WEAPON = "Weapon",
|
|
1230
|
+
WOOD = "Wood",
|
|
1231
|
+
UNKNOWN = "unknown"
|
|
1232
|
+
}
|
|
1202
1233
|
export declare enum PromotionTriggerType {
|
|
1203
1234
|
AUTOMATIC = "automatic",
|
|
1204
1235
|
ORDER_SUBTOTAL = "order_subtotal"
|
|
@@ -1299,6 +1330,11 @@ export declare enum ReversalStatus {
|
|
|
1299
1330
|
PROCESSED = "processed",
|
|
1300
1331
|
FAILED = "failed"
|
|
1301
1332
|
}
|
|
1333
|
+
export declare enum ReviewStatus {
|
|
1334
|
+
HIGH_RISK_IN_REVIEW = "high_risk_in_review",
|
|
1335
|
+
LOW_RISK_IN_REVIEW = "low_risk_in_review",
|
|
1336
|
+
REVIEWED = "reviewed"
|
|
1337
|
+
}
|
|
1302
1338
|
export declare enum Role {
|
|
1303
1339
|
ADMIN = "admin",
|
|
1304
1340
|
MEMBER = "member"
|
package/dist/api.js
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DutyItemApprovalStatus = 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.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.MeasurementSystem = 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 = void 0;
|
|
5
5
|
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.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 = void 0;
|
|
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 = 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.RegionType = exports.RefundStatus = exports.RefundDeclineCode = exports.RatecardOwner = exports.QuoteErrorCode = exports.ProvinceType = exports.PromotionTriggerType = exports.ProductRestrictionRule = exports.PricingLevySetting = exports.PriceFacetBoundary = 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";
|
|
@@ -1272,7 +1272,7 @@ var PendingPayoutTransactionReasonCode;
|
|
|
1272
1272
|
PendingPayoutTransactionReasonCode["WAITING_FOR_FULFILLMENT"] = "waiting_for_fulfillment";
|
|
1273
1273
|
PendingPayoutTransactionReasonCode["WAITING_FOR_IN_TRANSIT"] = "waiting_for_in_transit";
|
|
1274
1274
|
PendingPayoutTransactionReasonCode["WAITING_FOR_NEXT_PAYOUT_DATE"] = "waiting_for_next_payout_date";
|
|
1275
|
-
PendingPayoutTransactionReasonCode["
|
|
1275
|
+
PendingPayoutTransactionReasonCode["WAITING_FOR_TRACKING_INFO"] = "waiting_for_tracking_info";
|
|
1276
1276
|
PendingPayoutTransactionReasonCode["WAITING_FOR_POSITIVE_ACCOUNT_BALANCE"] = "waiting_for_positive_account_balance";
|
|
1277
1277
|
})(PendingPayoutTransactionReasonCode = exports.PendingPayoutTransactionReasonCode || (exports.PendingPayoutTransactionReasonCode = {}));
|
|
1278
1278
|
var PermittedHttpMethod;
|
|
@@ -1358,6 +1358,38 @@ var PricingLevySetting;
|
|
|
1358
1358
|
PricingLevySetting["DISPLAYED"] = "displayed";
|
|
1359
1359
|
PricingLevySetting["IGNORED"] = "ignored";
|
|
1360
1360
|
})(PricingLevySetting = exports.PricingLevySetting || (exports.PricingLevySetting = {}));
|
|
1361
|
+
var ProductRestrictionRule;
|
|
1362
|
+
(function (ProductRestrictionRule) {
|
|
1363
|
+
ProductRestrictionRule["ADULT_PRODUCT"] = "Adult Products";
|
|
1364
|
+
ProductRestrictionRule["ALCOHOL"] = "Alcohol";
|
|
1365
|
+
ProductRestrictionRule["ANTI_MONEY_LAUNDERING"] = "Anti Money Laundering";
|
|
1366
|
+
ProductRestrictionRule["COLLAGEN"] = "Collagen";
|
|
1367
|
+
ProductRestrictionRule["CONSUMER_SAFETY"] = "Consumer Safety";
|
|
1368
|
+
ProductRestrictionRule["COSMETICS"] = "Cosmetics";
|
|
1369
|
+
ProductRestrictionRule["DG_BATTERIES"] = "DG - Batteries";
|
|
1370
|
+
ProductRestrictionRule["DG_HAZMAT"] = "DG - Hazmat";
|
|
1371
|
+
ProductRestrictionRule["DRUGS"] = "Drugs";
|
|
1372
|
+
ProductRestrictionRule["DUAL_USE"] = "Dual Use";
|
|
1373
|
+
ProductRestrictionRule["FINE_ART"] = "Fine Art";
|
|
1374
|
+
ProductRestrictionRule["FISH_WILDLIFE_CITES"] = "Fish & Wildlife - CITES";
|
|
1375
|
+
ProductRestrictionRule["FISH_WILDLIFE_PLANT"] = "Fish & Wildlife - Plant";
|
|
1376
|
+
ProductRestrictionRule["FISH_WILDLIFE_USFWS"] = "Fish & Wildlife - USFWS";
|
|
1377
|
+
ProductRestrictionRule["FOOD"] = "Food";
|
|
1378
|
+
ProductRestrictionRule["GAMBLING"] = "Gambling";
|
|
1379
|
+
ProductRestrictionRule["HEALTH"] = "Health";
|
|
1380
|
+
ProductRestrictionRule["HUMAN_HAIR"] = "Human hair";
|
|
1381
|
+
ProductRestrictionRule["INSUFFICIENT_DETAILS"] = "Insufficient Details";
|
|
1382
|
+
ProductRestrictionRule["INTANGIBLE"] = "Intangible";
|
|
1383
|
+
ProductRestrictionRule["JEWELRY"] = "Jewelry";
|
|
1384
|
+
ProductRestrictionRule["JEWELRY_WATCHES_OVER_LIMIT"] = "Jewelry & Watches Over 5000";
|
|
1385
|
+
ProductRestrictionRule["KNIVES"] = "Knives";
|
|
1386
|
+
ProductRestrictionRule["LIQUIDS"] = "Liquids";
|
|
1387
|
+
ProductRestrictionRule["OVERSIZED"] = "Oversized";
|
|
1388
|
+
ProductRestrictionRule["SUPPLEMENTS"] = "Supplements";
|
|
1389
|
+
ProductRestrictionRule["WEAPON"] = "Weapon";
|
|
1390
|
+
ProductRestrictionRule["WOOD"] = "Wood";
|
|
1391
|
+
ProductRestrictionRule["UNKNOWN"] = "unknown";
|
|
1392
|
+
})(ProductRestrictionRule = exports.ProductRestrictionRule || (exports.ProductRestrictionRule = {}));
|
|
1361
1393
|
var PromotionTriggerType;
|
|
1362
1394
|
(function (PromotionTriggerType) {
|
|
1363
1395
|
PromotionTriggerType["AUTOMATIC"] = "automatic";
|
|
@@ -1471,6 +1503,12 @@ var ReversalStatus;
|
|
|
1471
1503
|
ReversalStatus["PROCESSED"] = "processed";
|
|
1472
1504
|
ReversalStatus["FAILED"] = "failed";
|
|
1473
1505
|
})(ReversalStatus = exports.ReversalStatus || (exports.ReversalStatus = {}));
|
|
1506
|
+
var ReviewStatus;
|
|
1507
|
+
(function (ReviewStatus) {
|
|
1508
|
+
ReviewStatus["HIGH_RISK_IN_REVIEW"] = "high_risk_in_review";
|
|
1509
|
+
ReviewStatus["LOW_RISK_IN_REVIEW"] = "low_risk_in_review";
|
|
1510
|
+
ReviewStatus["REVIEWED"] = "reviewed";
|
|
1511
|
+
})(ReviewStatus = exports.ReviewStatus || (exports.ReviewStatus = {}));
|
|
1474
1512
|
var Role;
|
|
1475
1513
|
(function (Role) {
|
|
1476
1514
|
Role["ADMIN"] = "admin";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.44",
|
|
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": "1855db886db2701e6ba2ae9ede907ce6abbcaa38"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -1264,7 +1264,7 @@ export enum PendingPayoutTransactionReasonCode {
|
|
|
1264
1264
|
WAITING_FOR_FULFILLMENT = 'waiting_for_fulfillment',
|
|
1265
1265
|
WAITING_FOR_IN_TRANSIT = 'waiting_for_in_transit',
|
|
1266
1266
|
WAITING_FOR_NEXT_PAYOUT_DATE = 'waiting_for_next_payout_date',
|
|
1267
|
-
|
|
1267
|
+
WAITING_FOR_TRACKING_INFO = 'waiting_for_tracking_info',
|
|
1268
1268
|
WAITING_FOR_POSITIVE_ACCOUNT_BALANCE = 'waiting_for_positive_account_balance',
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
@@ -1351,6 +1351,38 @@ export enum PricingLevySetting {
|
|
|
1351
1351
|
IGNORED = 'ignored',
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
|
+
export enum ProductRestrictionRule {
|
|
1355
|
+
ADULT_PRODUCT = 'Adult Products',
|
|
1356
|
+
ALCOHOL = 'Alcohol',
|
|
1357
|
+
ANTI_MONEY_LAUNDERING = 'Anti Money Laundering',
|
|
1358
|
+
COLLAGEN = 'Collagen',
|
|
1359
|
+
CONSUMER_SAFETY = 'Consumer Safety',
|
|
1360
|
+
COSMETICS = 'Cosmetics',
|
|
1361
|
+
DG_BATTERIES = 'DG - Batteries',
|
|
1362
|
+
DG_HAZMAT = 'DG - Hazmat',
|
|
1363
|
+
DRUGS = 'Drugs',
|
|
1364
|
+
DUAL_USE = 'Dual Use',
|
|
1365
|
+
FINE_ART = 'Fine Art',
|
|
1366
|
+
FISH_WILDLIFE_CITES = 'Fish & Wildlife - CITES',
|
|
1367
|
+
FISH_WILDLIFE_PLANT = 'Fish & Wildlife - Plant',
|
|
1368
|
+
FISH_WILDLIFE_USFWS = 'Fish & Wildlife - USFWS',
|
|
1369
|
+
FOOD = 'Food',
|
|
1370
|
+
GAMBLING = 'Gambling',
|
|
1371
|
+
HEALTH = 'Health',
|
|
1372
|
+
HUMAN_HAIR = 'Human hair',
|
|
1373
|
+
INSUFFICIENT_DETAILS = 'Insufficient Details',
|
|
1374
|
+
INTANGIBLE = 'Intangible',
|
|
1375
|
+
JEWELRY = 'Jewelry',
|
|
1376
|
+
JEWELRY_WATCHES_OVER_LIMIT = 'Jewelry & Watches Over 5000',
|
|
1377
|
+
KNIVES = 'Knives',
|
|
1378
|
+
LIQUIDS = 'Liquids',
|
|
1379
|
+
OVERSIZED = 'Oversized',
|
|
1380
|
+
SUPPLEMENTS = 'Supplements',
|
|
1381
|
+
WEAPON = 'Weapon',
|
|
1382
|
+
WOOD = 'Wood',
|
|
1383
|
+
UNKNOWN = 'unknown',
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1354
1386
|
export enum PromotionTriggerType {
|
|
1355
1387
|
AUTOMATIC = 'automatic',
|
|
1356
1388
|
ORDER_SUBTOTAL = 'order_subtotal',
|
|
@@ -1464,6 +1496,12 @@ export enum ReversalStatus {
|
|
|
1464
1496
|
FAILED = 'failed',
|
|
1465
1497
|
}
|
|
1466
1498
|
|
|
1499
|
+
export enum ReviewStatus {
|
|
1500
|
+
HIGH_RISK_IN_REVIEW = 'high_risk_in_review',
|
|
1501
|
+
LOW_RISK_IN_REVIEW = 'low_risk_in_review',
|
|
1502
|
+
REVIEWED = 'reviewed',
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1467
1505
|
export enum Role {
|
|
1468
1506
|
ADMIN = 'admin',
|
|
1469
1507
|
MEMBER = 'member',
|