@flowio/api-constants 2.13.68 → 2.13.70
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 +63 -5
- package/dist/api.js +70 -9
- package/package.json +2 -2
- package/src/api.ts +65 -4
package/dist/api.d.ts
CHANGED
|
@@ -192,6 +192,9 @@ export declare enum ChannelCurrencyCapability {
|
|
|
192
192
|
PAYMENT_AUTHORIZATIONS = "payment_authorizations",
|
|
193
193
|
SETTLEMENT_CURRENCY = "settlement_currency"
|
|
194
194
|
}
|
|
195
|
+
export declare enum ChannelShopifyOrderStateReasonCode {
|
|
196
|
+
PLACEHOLDER_REASON_CODE = "placeholder_reason_code"
|
|
197
|
+
}
|
|
195
198
|
export declare enum ConsumerInvoiceCustomerType {
|
|
196
199
|
BUSINESS_EU_VERIFIED = "business_eu_verified",
|
|
197
200
|
BUSINESS_NON_VERIFIED = "business_non_verified",
|
|
@@ -345,6 +348,8 @@ export declare enum Environment {
|
|
|
345
348
|
export declare enum EventType {
|
|
346
349
|
TEST_UPSERTED = "test_upserted",
|
|
347
350
|
GENERATE_LOAD = "generate_load",
|
|
351
|
+
ALDO_ITEM_UPSERTED = "aldo_item_upserted",
|
|
352
|
+
ALDO_ITEM_DELETED = "aldo_item_deleted",
|
|
348
353
|
TRANSACTION_UPSERTED = "transaction_upserted",
|
|
349
354
|
ORGANIZATION_TRANSACTION_UPSERTED = "organization_transaction_upserted",
|
|
350
355
|
ORGANIZATION_TRANSACTION_DELETED = "organization_transaction_deleted",
|
|
@@ -371,10 +376,6 @@ export declare enum EventType {
|
|
|
371
376
|
CATALOG_DELETED = "catalog_deleted",
|
|
372
377
|
SUBCATALOG_UPSERTED = "subcatalog_upserted",
|
|
373
378
|
SUBCATALOG_DELETED = "subcatalog_deleted",
|
|
374
|
-
CATALOG_ITEM_UPSERTED = "catalog_item_upserted",
|
|
375
|
-
CATALOG_ITEM_DELETED = "catalog_item_deleted",
|
|
376
|
-
CATALOG_ITEM_UPSERTED_V_2 = "catalog_item_upserted_v2",
|
|
377
|
-
CATALOG_ITEM_DELETED_V_2 = "catalog_item_deleted_v2",
|
|
378
379
|
SUBCATALOG_ITEM_UPSERTED = "subcatalog_item_upserted",
|
|
379
380
|
SUBCATALOG_ITEM_DELETED = "subcatalog_item_deleted",
|
|
380
381
|
CATALOG_STATISTICS_UPSERTED = "catalog_statistics_upserted",
|
|
@@ -382,6 +383,8 @@ export declare enum EventType {
|
|
|
382
383
|
ITEM_INSERTED = "item_inserted",
|
|
383
384
|
ITEM_UPDATED = "item_updated",
|
|
384
385
|
ITEM_DELETED = "item_deleted",
|
|
386
|
+
CHANNEL_SHOPIFY_ORDER_STATE_UPSERTED = "channel_shopify_order_state_upserted",
|
|
387
|
+
CHANNEL_SHOPIFY_ORDER_STATE_DELETED = "channel_shopify_order_state_deleted",
|
|
385
388
|
CHANNEL_UPSERTED = "channel_upserted",
|
|
386
389
|
CHANNEL_DELETED = "channel_deleted",
|
|
387
390
|
CHANNEL_CURRENCY_UPSERTED = "channel_currency_upserted",
|
|
@@ -530,6 +533,9 @@ export declare enum EventType {
|
|
|
530
533
|
PRICE_BOOK_DELETED = "price_book_deleted",
|
|
531
534
|
PRICE_BOOK_ITEM_UPSERTED = "price_book_item_upserted",
|
|
532
535
|
PRICE_BOOK_ITEM_DELETED = "price_book_item_deleted",
|
|
536
|
+
PRODUCT_INSERTED = "product_inserted",
|
|
537
|
+
PRODUCT_UPDATED = "product_updated",
|
|
538
|
+
PRODUCT_DELETED = "product_deleted",
|
|
533
539
|
ORGANIZATION_RATES_PUBLISHED = "organization_rates_published",
|
|
534
540
|
RATECARD_LANE_UPSERTED = "ratecard_lane_upserted",
|
|
535
541
|
RATECARD_LANE_DELETED = "ratecard_lane_deleted",
|
|
@@ -1363,6 +1369,12 @@ export declare enum RoundingType {
|
|
|
1363
1369
|
PATTERN = "pattern",
|
|
1364
1370
|
MULTIPLE = "multiple"
|
|
1365
1371
|
}
|
|
1372
|
+
export declare enum RuleEffectType {
|
|
1373
|
+
MARKET = "market",
|
|
1374
|
+
DHL = "dhl",
|
|
1375
|
+
DHL_ECOMMERCE = "dhl_ecommerce",
|
|
1376
|
+
UPS = "ups"
|
|
1377
|
+
}
|
|
1366
1378
|
export declare enum ScheduleExceptionStatus {
|
|
1367
1379
|
OPEN = "Open",
|
|
1368
1380
|
CLOSED = "Closed"
|
|
@@ -1431,6 +1443,49 @@ export declare enum SubcatalogItemStatus {
|
|
|
1431
1443
|
INCLUDED = "included",
|
|
1432
1444
|
RESTRICTED = "restricted"
|
|
1433
1445
|
}
|
|
1446
|
+
export declare enum SubstatusCode {
|
|
1447
|
+
DELIVERED_001 = "Delivered_001",
|
|
1448
|
+
DELIVERED_002 = "Delivered_002",
|
|
1449
|
+
DELIVERED_003 = "Delivered_003",
|
|
1450
|
+
DELIVERED_004 = "Delivered_004",
|
|
1451
|
+
AVAILABLE_FOR_PICKUP_001 = "AvailableForPickup_001",
|
|
1452
|
+
EXCEPTION_001 = "Exception_001",
|
|
1453
|
+
EXCEPTION_002 = "Exception_002",
|
|
1454
|
+
EXCEPTION_003 = "Exception_003",
|
|
1455
|
+
EXCEPTION_004 = "Exception_004",
|
|
1456
|
+
EXCEPTION_005 = "Exception_005",
|
|
1457
|
+
EXCEPTION_006 = "Exception_006",
|
|
1458
|
+
EXCEPTION_007 = "Exception_007",
|
|
1459
|
+
EXCEPTION_008 = "Exception_008",
|
|
1460
|
+
EXCEPTION_009 = "Exception_009",
|
|
1461
|
+
EXCEPTION_010 = "Exception_010",
|
|
1462
|
+
EXCEPTION_011 = "Exception_011",
|
|
1463
|
+
EXCEPTION_012 = "Exception_012",
|
|
1464
|
+
EXCEPTION_013 = "Exception_013",
|
|
1465
|
+
ATTEMPT_FAIL_001 = "AttemptFail_001",
|
|
1466
|
+
ATTEMPT_FAIL_002 = "AttemptFail_002",
|
|
1467
|
+
ATTEMPT_FAIL_003 = "AttemptFail_003",
|
|
1468
|
+
IN_TRANSIT_001 = "InTransit_001",
|
|
1469
|
+
IN_TRANSIT_002 = "InTransit_002",
|
|
1470
|
+
IN_TRANSIT_003 = "InTransit_003",
|
|
1471
|
+
IN_TRANSIT_004 = "InTransit_004",
|
|
1472
|
+
IN_TRANSIT_005 = "InTransit_005",
|
|
1473
|
+
IN_TRANSIT_006 = "InTransit_006",
|
|
1474
|
+
IN_TRANSIT_007 = "InTransit_007",
|
|
1475
|
+
IN_TRANSIT_008 = "InTransit_008",
|
|
1476
|
+
IN_TRANSIT_009 = "InTransit_009",
|
|
1477
|
+
INFO_RECEIVED_001 = "InfoReceived_001",
|
|
1478
|
+
OUT_FOR_DELIVERY_001 = "OutForDelivery_001",
|
|
1479
|
+
OUT_FOR_DELIVERY_003 = "OutForDelivery_003",
|
|
1480
|
+
OUT_FOR_DELIVERY_004 = "OutForDelivery_004",
|
|
1481
|
+
PENDING_001 = "Pending_001",
|
|
1482
|
+
PENDING_002 = "Pending_002",
|
|
1483
|
+
PENDING_003 = "Pending_003",
|
|
1484
|
+
PENDING_004 = "Pending_004",
|
|
1485
|
+
PENDING_005 = "Pending_005",
|
|
1486
|
+
PENDING_006 = "Pending_006",
|
|
1487
|
+
EXPIRED_001 = "Expired_001"
|
|
1488
|
+
}
|
|
1434
1489
|
export declare enum SurchargeResponsibleParty {
|
|
1435
1490
|
ORGANIZATION = "organization",
|
|
1436
1491
|
CUSTOMER = "customer"
|
|
@@ -1551,7 +1606,10 @@ export declare enum TransactionSource {
|
|
|
1551
1606
|
VIRTUAL_CARD_CAPTURE = "virtual_card_capture",
|
|
1552
1607
|
VIRTUAL_CARD_REFUND = "virtual_card_refund",
|
|
1553
1608
|
FAILED_PAYOUT = "failed_payout",
|
|
1554
|
-
TAX_REFUND = "tax_refund"
|
|
1609
|
+
TAX_REFUND = "tax_refund",
|
|
1610
|
+
ORDER_FX = "order_fx",
|
|
1611
|
+
GE_REVENUE_SHARE = "ge_revenue_share",
|
|
1612
|
+
TAX_DUTY_DELTA = "tax_duty_delta"
|
|
1555
1613
|
}
|
|
1556
1614
|
export declare enum TrueupSource {
|
|
1557
1615
|
FLOW = "flow",
|
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.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;
|
|
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.MeasurementSystem = exports.MarginType = 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.Environment = exports.EntityIdentifierType = exports.EconomicTitleLocation = exports.EcommercePlatformType = exports.DutyItemApprovalStatus = void 0;
|
|
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.OriginLocationSource = 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 = void 0;
|
|
6
|
+
exports.TierStrategy = exports.TierEstimateType = exports.TierAvailability = exports.ThreedsTwoChallengeViewport = exports.ThreeDSecureCode = exports.TaxabilityValue = exports.TaxabilityType = exports.TaxVerificationResult = exports.TaxReportType = exports.TaxApplicability = exports.SyncUnitOfTime = exports.SyncStreamType = exports.SyncRecordFailureReason = 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.RuleEffectType = 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 = 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";
|
|
@@ -226,6 +226,10 @@ var ChannelCurrencyCapability;
|
|
|
226
226
|
ChannelCurrencyCapability["PAYMENT_AUTHORIZATIONS"] = "payment_authorizations";
|
|
227
227
|
ChannelCurrencyCapability["SETTLEMENT_CURRENCY"] = "settlement_currency";
|
|
228
228
|
})(ChannelCurrencyCapability = exports.ChannelCurrencyCapability || (exports.ChannelCurrencyCapability = {}));
|
|
229
|
+
var ChannelShopifyOrderStateReasonCode;
|
|
230
|
+
(function (ChannelShopifyOrderStateReasonCode) {
|
|
231
|
+
ChannelShopifyOrderStateReasonCode["PLACEHOLDER_REASON_CODE"] = "placeholder_reason_code";
|
|
232
|
+
})(ChannelShopifyOrderStateReasonCode = exports.ChannelShopifyOrderStateReasonCode || (exports.ChannelShopifyOrderStateReasonCode = {}));
|
|
229
233
|
var ConsumerInvoiceCustomerType;
|
|
230
234
|
(function (ConsumerInvoiceCustomerType) {
|
|
231
235
|
ConsumerInvoiceCustomerType["BUSINESS_EU_VERIFIED"] = "business_eu_verified";
|
|
@@ -407,6 +411,8 @@ var EventType;
|
|
|
407
411
|
(function (EventType) {
|
|
408
412
|
EventType["TEST_UPSERTED"] = "test_upserted";
|
|
409
413
|
EventType["GENERATE_LOAD"] = "generate_load";
|
|
414
|
+
EventType["ALDO_ITEM_UPSERTED"] = "aldo_item_upserted";
|
|
415
|
+
EventType["ALDO_ITEM_DELETED"] = "aldo_item_deleted";
|
|
410
416
|
EventType["TRANSACTION_UPSERTED"] = "transaction_upserted";
|
|
411
417
|
EventType["ORGANIZATION_TRANSACTION_UPSERTED"] = "organization_transaction_upserted";
|
|
412
418
|
EventType["ORGANIZATION_TRANSACTION_DELETED"] = "organization_transaction_deleted";
|
|
@@ -433,10 +439,6 @@ var EventType;
|
|
|
433
439
|
EventType["CATALOG_DELETED"] = "catalog_deleted";
|
|
434
440
|
EventType["SUBCATALOG_UPSERTED"] = "subcatalog_upserted";
|
|
435
441
|
EventType["SUBCATALOG_DELETED"] = "subcatalog_deleted";
|
|
436
|
-
EventType["CATALOG_ITEM_UPSERTED"] = "catalog_item_upserted";
|
|
437
|
-
EventType["CATALOG_ITEM_DELETED"] = "catalog_item_deleted";
|
|
438
|
-
EventType["CATALOG_ITEM_UPSERTED_V_2"] = "catalog_item_upserted_v2";
|
|
439
|
-
EventType["CATALOG_ITEM_DELETED_V_2"] = "catalog_item_deleted_v2";
|
|
440
442
|
EventType["SUBCATALOG_ITEM_UPSERTED"] = "subcatalog_item_upserted";
|
|
441
443
|
EventType["SUBCATALOG_ITEM_DELETED"] = "subcatalog_item_deleted";
|
|
442
444
|
EventType["CATALOG_STATISTICS_UPSERTED"] = "catalog_statistics_upserted";
|
|
@@ -444,6 +446,8 @@ var EventType;
|
|
|
444
446
|
EventType["ITEM_INSERTED"] = "item_inserted";
|
|
445
447
|
EventType["ITEM_UPDATED"] = "item_updated";
|
|
446
448
|
EventType["ITEM_DELETED"] = "item_deleted";
|
|
449
|
+
EventType["CHANNEL_SHOPIFY_ORDER_STATE_UPSERTED"] = "channel_shopify_order_state_upserted";
|
|
450
|
+
EventType["CHANNEL_SHOPIFY_ORDER_STATE_DELETED"] = "channel_shopify_order_state_deleted";
|
|
447
451
|
EventType["CHANNEL_UPSERTED"] = "channel_upserted";
|
|
448
452
|
EventType["CHANNEL_DELETED"] = "channel_deleted";
|
|
449
453
|
EventType["CHANNEL_CURRENCY_UPSERTED"] = "channel_currency_upserted";
|
|
@@ -592,6 +596,9 @@ var EventType;
|
|
|
592
596
|
EventType["PRICE_BOOK_DELETED"] = "price_book_deleted";
|
|
593
597
|
EventType["PRICE_BOOK_ITEM_UPSERTED"] = "price_book_item_upserted";
|
|
594
598
|
EventType["PRICE_BOOK_ITEM_DELETED"] = "price_book_item_deleted";
|
|
599
|
+
EventType["PRODUCT_INSERTED"] = "product_inserted";
|
|
600
|
+
EventType["PRODUCT_UPDATED"] = "product_updated";
|
|
601
|
+
EventType["PRODUCT_DELETED"] = "product_deleted";
|
|
595
602
|
EventType["ORGANIZATION_RATES_PUBLISHED"] = "organization_rates_published";
|
|
596
603
|
EventType["RATECARD_LANE_UPSERTED"] = "ratecard_lane_upserted";
|
|
597
604
|
EventType["RATECARD_LANE_DELETED"] = "ratecard_lane_deleted";
|
|
@@ -1540,6 +1547,13 @@ var RoundingType;
|
|
|
1540
1547
|
RoundingType["PATTERN"] = "pattern";
|
|
1541
1548
|
RoundingType["MULTIPLE"] = "multiple";
|
|
1542
1549
|
})(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 = {}));
|
|
1543
1557
|
var ScheduleExceptionStatus;
|
|
1544
1558
|
(function (ScheduleExceptionStatus) {
|
|
1545
1559
|
ScheduleExceptionStatus["OPEN"] = "Open";
|
|
@@ -1621,6 +1635,50 @@ var SubcatalogItemStatus;
|
|
|
1621
1635
|
SubcatalogItemStatus["INCLUDED"] = "included";
|
|
1622
1636
|
SubcatalogItemStatus["RESTRICTED"] = "restricted";
|
|
1623
1637
|
})(SubcatalogItemStatus = exports.SubcatalogItemStatus || (exports.SubcatalogItemStatus = {}));
|
|
1638
|
+
var SubstatusCode;
|
|
1639
|
+
(function (SubstatusCode) {
|
|
1640
|
+
SubstatusCode["DELIVERED_001"] = "Delivered_001";
|
|
1641
|
+
SubstatusCode["DELIVERED_002"] = "Delivered_002";
|
|
1642
|
+
SubstatusCode["DELIVERED_003"] = "Delivered_003";
|
|
1643
|
+
SubstatusCode["DELIVERED_004"] = "Delivered_004";
|
|
1644
|
+
SubstatusCode["AVAILABLE_FOR_PICKUP_001"] = "AvailableForPickup_001";
|
|
1645
|
+
SubstatusCode["EXCEPTION_001"] = "Exception_001";
|
|
1646
|
+
SubstatusCode["EXCEPTION_002"] = "Exception_002";
|
|
1647
|
+
SubstatusCode["EXCEPTION_003"] = "Exception_003";
|
|
1648
|
+
SubstatusCode["EXCEPTION_004"] = "Exception_004";
|
|
1649
|
+
SubstatusCode["EXCEPTION_005"] = "Exception_005";
|
|
1650
|
+
SubstatusCode["EXCEPTION_006"] = "Exception_006";
|
|
1651
|
+
SubstatusCode["EXCEPTION_007"] = "Exception_007";
|
|
1652
|
+
SubstatusCode["EXCEPTION_008"] = "Exception_008";
|
|
1653
|
+
SubstatusCode["EXCEPTION_009"] = "Exception_009";
|
|
1654
|
+
SubstatusCode["EXCEPTION_010"] = "Exception_010";
|
|
1655
|
+
SubstatusCode["EXCEPTION_011"] = "Exception_011";
|
|
1656
|
+
SubstatusCode["EXCEPTION_012"] = "Exception_012";
|
|
1657
|
+
SubstatusCode["EXCEPTION_013"] = "Exception_013";
|
|
1658
|
+
SubstatusCode["ATTEMPT_FAIL_001"] = "AttemptFail_001";
|
|
1659
|
+
SubstatusCode["ATTEMPT_FAIL_002"] = "AttemptFail_002";
|
|
1660
|
+
SubstatusCode["ATTEMPT_FAIL_003"] = "AttemptFail_003";
|
|
1661
|
+
SubstatusCode["IN_TRANSIT_001"] = "InTransit_001";
|
|
1662
|
+
SubstatusCode["IN_TRANSIT_002"] = "InTransit_002";
|
|
1663
|
+
SubstatusCode["IN_TRANSIT_003"] = "InTransit_003";
|
|
1664
|
+
SubstatusCode["IN_TRANSIT_004"] = "InTransit_004";
|
|
1665
|
+
SubstatusCode["IN_TRANSIT_005"] = "InTransit_005";
|
|
1666
|
+
SubstatusCode["IN_TRANSIT_006"] = "InTransit_006";
|
|
1667
|
+
SubstatusCode["IN_TRANSIT_007"] = "InTransit_007";
|
|
1668
|
+
SubstatusCode["IN_TRANSIT_008"] = "InTransit_008";
|
|
1669
|
+
SubstatusCode["IN_TRANSIT_009"] = "InTransit_009";
|
|
1670
|
+
SubstatusCode["INFO_RECEIVED_001"] = "InfoReceived_001";
|
|
1671
|
+
SubstatusCode["OUT_FOR_DELIVERY_001"] = "OutForDelivery_001";
|
|
1672
|
+
SubstatusCode["OUT_FOR_DELIVERY_003"] = "OutForDelivery_003";
|
|
1673
|
+
SubstatusCode["OUT_FOR_DELIVERY_004"] = "OutForDelivery_004";
|
|
1674
|
+
SubstatusCode["PENDING_001"] = "Pending_001";
|
|
1675
|
+
SubstatusCode["PENDING_002"] = "Pending_002";
|
|
1676
|
+
SubstatusCode["PENDING_003"] = "Pending_003";
|
|
1677
|
+
SubstatusCode["PENDING_004"] = "Pending_004";
|
|
1678
|
+
SubstatusCode["PENDING_005"] = "Pending_005";
|
|
1679
|
+
SubstatusCode["PENDING_006"] = "Pending_006";
|
|
1680
|
+
SubstatusCode["EXPIRED_001"] = "Expired_001";
|
|
1681
|
+
})(SubstatusCode = exports.SubstatusCode || (exports.SubstatusCode = {}));
|
|
1624
1682
|
var SurchargeResponsibleParty;
|
|
1625
1683
|
(function (SurchargeResponsibleParty) {
|
|
1626
1684
|
SurchargeResponsibleParty["ORGANIZATION"] = "organization";
|
|
@@ -1762,6 +1820,9 @@ var TransactionSource;
|
|
|
1762
1820
|
TransactionSource["VIRTUAL_CARD_REFUND"] = "virtual_card_refund";
|
|
1763
1821
|
TransactionSource["FAILED_PAYOUT"] = "failed_payout";
|
|
1764
1822
|
TransactionSource["TAX_REFUND"] = "tax_refund";
|
|
1823
|
+
TransactionSource["ORDER_FX"] = "order_fx";
|
|
1824
|
+
TransactionSource["GE_REVENUE_SHARE"] = "ge_revenue_share";
|
|
1825
|
+
TransactionSource["TAX_DUTY_DELTA"] = "tax_duty_delta";
|
|
1765
1826
|
})(TransactionSource = exports.TransactionSource || (exports.TransactionSource = {}));
|
|
1766
1827
|
var TrueupSource;
|
|
1767
1828
|
(function (TrueupSource) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.70",
|
|
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": "b6c2f519293efcf70e56cc356ba0b60292295b25"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -219,6 +219,10 @@ export enum ChannelCurrencyCapability {
|
|
|
219
219
|
SETTLEMENT_CURRENCY = 'settlement_currency',
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
+
export enum ChannelShopifyOrderStateReasonCode {
|
|
223
|
+
PLACEHOLDER_REASON_CODE = 'placeholder_reason_code',
|
|
224
|
+
}
|
|
225
|
+
|
|
222
226
|
export enum ConsumerInvoiceCustomerType {
|
|
223
227
|
BUSINESS_EU_VERIFIED = 'business_eu_verified',
|
|
224
228
|
BUSINESS_NON_VERIFIED = 'business_non_verified',
|
|
@@ -399,6 +403,8 @@ export enum Environment {
|
|
|
399
403
|
export enum EventType {
|
|
400
404
|
TEST_UPSERTED = 'test_upserted',
|
|
401
405
|
GENERATE_LOAD = 'generate_load',
|
|
406
|
+
ALDO_ITEM_UPSERTED = 'aldo_item_upserted',
|
|
407
|
+
ALDO_ITEM_DELETED = 'aldo_item_deleted',
|
|
402
408
|
TRANSACTION_UPSERTED = 'transaction_upserted',
|
|
403
409
|
ORGANIZATION_TRANSACTION_UPSERTED = 'organization_transaction_upserted',
|
|
404
410
|
ORGANIZATION_TRANSACTION_DELETED = 'organization_transaction_deleted',
|
|
@@ -425,10 +431,6 @@ export enum EventType {
|
|
|
425
431
|
CATALOG_DELETED = 'catalog_deleted',
|
|
426
432
|
SUBCATALOG_UPSERTED = 'subcatalog_upserted',
|
|
427
433
|
SUBCATALOG_DELETED = 'subcatalog_deleted',
|
|
428
|
-
CATALOG_ITEM_UPSERTED = 'catalog_item_upserted',
|
|
429
|
-
CATALOG_ITEM_DELETED = 'catalog_item_deleted',
|
|
430
|
-
CATALOG_ITEM_UPSERTED_V_2 = 'catalog_item_upserted_v2',
|
|
431
|
-
CATALOG_ITEM_DELETED_V_2 = 'catalog_item_deleted_v2',
|
|
432
434
|
SUBCATALOG_ITEM_UPSERTED = 'subcatalog_item_upserted',
|
|
433
435
|
SUBCATALOG_ITEM_DELETED = 'subcatalog_item_deleted',
|
|
434
436
|
CATALOG_STATISTICS_UPSERTED = 'catalog_statistics_upserted',
|
|
@@ -436,6 +438,8 @@ export enum EventType {
|
|
|
436
438
|
ITEM_INSERTED = 'item_inserted',
|
|
437
439
|
ITEM_UPDATED = 'item_updated',
|
|
438
440
|
ITEM_DELETED = 'item_deleted',
|
|
441
|
+
CHANNEL_SHOPIFY_ORDER_STATE_UPSERTED = 'channel_shopify_order_state_upserted',
|
|
442
|
+
CHANNEL_SHOPIFY_ORDER_STATE_DELETED = 'channel_shopify_order_state_deleted',
|
|
439
443
|
CHANNEL_UPSERTED = 'channel_upserted',
|
|
440
444
|
CHANNEL_DELETED = 'channel_deleted',
|
|
441
445
|
CHANNEL_CURRENCY_UPSERTED = 'channel_currency_upserted',
|
|
@@ -584,6 +588,9 @@ export enum EventType {
|
|
|
584
588
|
PRICE_BOOK_DELETED = 'price_book_deleted',
|
|
585
589
|
PRICE_BOOK_ITEM_UPSERTED = 'price_book_item_upserted',
|
|
586
590
|
PRICE_BOOK_ITEM_DELETED = 'price_book_item_deleted',
|
|
591
|
+
PRODUCT_INSERTED = 'product_inserted',
|
|
592
|
+
PRODUCT_UPDATED = 'product_updated',
|
|
593
|
+
PRODUCT_DELETED = 'product_deleted',
|
|
587
594
|
ORGANIZATION_RATES_PUBLISHED = 'organization_rates_published',
|
|
588
595
|
RATECARD_LANE_UPSERTED = 'ratecard_lane_upserted',
|
|
589
596
|
RATECARD_LANE_DELETED = 'ratecard_lane_deleted',
|
|
@@ -1533,6 +1540,13 @@ export enum RoundingType {
|
|
|
1533
1540
|
MULTIPLE = 'multiple',
|
|
1534
1541
|
}
|
|
1535
1542
|
|
|
1543
|
+
export enum RuleEffectType {
|
|
1544
|
+
MARKET = 'market',
|
|
1545
|
+
DHL = 'dhl',
|
|
1546
|
+
DHL_ECOMMERCE = 'dhl_ecommerce',
|
|
1547
|
+
UPS = 'ups',
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1536
1550
|
export enum ScheduleExceptionStatus {
|
|
1537
1551
|
OPEN = 'Open',
|
|
1538
1552
|
CLOSED = 'Closed',
|
|
@@ -1614,6 +1628,50 @@ export enum SubcatalogItemStatus {
|
|
|
1614
1628
|
RESTRICTED = 'restricted',
|
|
1615
1629
|
}
|
|
1616
1630
|
|
|
1631
|
+
export enum SubstatusCode {
|
|
1632
|
+
DELIVERED_001 = 'Delivered_001',
|
|
1633
|
+
DELIVERED_002 = 'Delivered_002',
|
|
1634
|
+
DELIVERED_003 = 'Delivered_003',
|
|
1635
|
+
DELIVERED_004 = 'Delivered_004',
|
|
1636
|
+
AVAILABLE_FOR_PICKUP_001 = 'AvailableForPickup_001',
|
|
1637
|
+
EXCEPTION_001 = 'Exception_001',
|
|
1638
|
+
EXCEPTION_002 = 'Exception_002',
|
|
1639
|
+
EXCEPTION_003 = 'Exception_003',
|
|
1640
|
+
EXCEPTION_004 = 'Exception_004',
|
|
1641
|
+
EXCEPTION_005 = 'Exception_005',
|
|
1642
|
+
EXCEPTION_006 = 'Exception_006',
|
|
1643
|
+
EXCEPTION_007 = 'Exception_007',
|
|
1644
|
+
EXCEPTION_008 = 'Exception_008',
|
|
1645
|
+
EXCEPTION_009 = 'Exception_009',
|
|
1646
|
+
EXCEPTION_010 = 'Exception_010',
|
|
1647
|
+
EXCEPTION_011 = 'Exception_011',
|
|
1648
|
+
EXCEPTION_012 = 'Exception_012',
|
|
1649
|
+
EXCEPTION_013 = 'Exception_013',
|
|
1650
|
+
ATTEMPT_FAIL_001 = 'AttemptFail_001',
|
|
1651
|
+
ATTEMPT_FAIL_002 = 'AttemptFail_002',
|
|
1652
|
+
ATTEMPT_FAIL_003 = 'AttemptFail_003',
|
|
1653
|
+
IN_TRANSIT_001 = 'InTransit_001',
|
|
1654
|
+
IN_TRANSIT_002 = 'InTransit_002',
|
|
1655
|
+
IN_TRANSIT_003 = 'InTransit_003',
|
|
1656
|
+
IN_TRANSIT_004 = 'InTransit_004',
|
|
1657
|
+
IN_TRANSIT_005 = 'InTransit_005',
|
|
1658
|
+
IN_TRANSIT_006 = 'InTransit_006',
|
|
1659
|
+
IN_TRANSIT_007 = 'InTransit_007',
|
|
1660
|
+
IN_TRANSIT_008 = 'InTransit_008',
|
|
1661
|
+
IN_TRANSIT_009 = 'InTransit_009',
|
|
1662
|
+
INFO_RECEIVED_001 = 'InfoReceived_001',
|
|
1663
|
+
OUT_FOR_DELIVERY_001 = 'OutForDelivery_001',
|
|
1664
|
+
OUT_FOR_DELIVERY_003 = 'OutForDelivery_003',
|
|
1665
|
+
OUT_FOR_DELIVERY_004 = 'OutForDelivery_004',
|
|
1666
|
+
PENDING_001 = 'Pending_001',
|
|
1667
|
+
PENDING_002 = 'Pending_002',
|
|
1668
|
+
PENDING_003 = 'Pending_003',
|
|
1669
|
+
PENDING_004 = 'Pending_004',
|
|
1670
|
+
PENDING_005 = 'Pending_005',
|
|
1671
|
+
PENDING_006 = 'Pending_006',
|
|
1672
|
+
EXPIRED_001 = 'Expired_001',
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1617
1675
|
export enum SurchargeResponsibleParty {
|
|
1618
1676
|
ORGANIZATION = 'organization',
|
|
1619
1677
|
CUSTOMER = 'customer',
|
|
@@ -1754,6 +1812,9 @@ export enum TransactionSource {
|
|
|
1754
1812
|
VIRTUAL_CARD_REFUND = 'virtual_card_refund',
|
|
1755
1813
|
FAILED_PAYOUT = 'failed_payout',
|
|
1756
1814
|
TAX_REFUND = 'tax_refund',
|
|
1815
|
+
ORDER_FX = 'order_fx',
|
|
1816
|
+
GE_REVENUE_SHARE = 'ge_revenue_share',
|
|
1817
|
+
TAX_DUTY_DELTA = 'tax_duty_delta',
|
|
1757
1818
|
}
|
|
1758
1819
|
|
|
1759
1820
|
export enum TrueupSource {
|