@flowio/api-constants 2.13.41 → 2.13.42
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 +12 -8
- package/dist/api.js +15 -11
- package/package.json +2 -2
- package/src/api.ts +13 -9
package/dist/api.d.ts
CHANGED
|
@@ -357,6 +357,10 @@ export declare enum EventType {
|
|
|
357
357
|
CHANNEL_PAYOUT_DELETED = "channel_payout_deleted",
|
|
358
358
|
ORGANIZATION_PAYOUT_UPSERTED = "organization_payout_upserted",
|
|
359
359
|
ORGANIZATION_PAYOUT_DELETED = "organization_payout_deleted",
|
|
360
|
+
CHANNEL_PENDING_PAYOUT_TRANSACTION_UPSERTED = "channel_pending_payout_transaction_upserted",
|
|
361
|
+
CHANNEL_PENDING_PAYOUT_TRANSACTION_DELETED = "channel_pending_payout_transaction_deleted",
|
|
362
|
+
ORGANIZATION_PENDING_PAYOUT_TRANSACTION_UPSERTED = "organization_pending_payout_transaction_upserted",
|
|
363
|
+
ORGANIZATION_PENDING_PAYOUT_TRANSACTION_DELETED = "organization_pending_payout_transaction_deleted",
|
|
360
364
|
ATTRIBUTE_UPSERTED = "attribute_upserted",
|
|
361
365
|
ATTRIBUTE_DELETED = "attribute_deleted",
|
|
362
366
|
ATTRIBUTE_UPSERTED_V_2 = "attribute_upserted_v2",
|
|
@@ -1114,6 +1118,14 @@ export declare enum PayoutStatusFailureCode {
|
|
|
1114
1118
|
ACCOUNT_CLOSED = "account_closed",
|
|
1115
1119
|
COULD_NOT_PROCESS = "could_not_process"
|
|
1116
1120
|
}
|
|
1121
|
+
export declare enum PendingPayoutTransactionReasonCode {
|
|
1122
|
+
WAITING_FOR_FULL_REFUND = "waiting_for_full_refund",
|
|
1123
|
+
WAITING_FOR_FULFILLMENT = "waiting_for_fulfillment",
|
|
1124
|
+
WAITING_FOR_IN_TRANSIT = "waiting_for_in_transit",
|
|
1125
|
+
WAITING_FOR_NEXT_PAYOUT_DATE = "waiting_for_next_payout_date",
|
|
1126
|
+
EXTERNAL_FULFILLMENT_MISSING_TRACKING_INFO = "external_fulfillment_missing_tracking_info",
|
|
1127
|
+
WAITING_FOR_POSITIVE_ACCOUNT_BALANCE = "waiting_for_positive_account_balance"
|
|
1128
|
+
}
|
|
1117
1129
|
export declare enum PermittedHttpMethod {
|
|
1118
1130
|
GET = "GET",
|
|
1119
1131
|
POST = "POST",
|
|
@@ -1471,14 +1483,6 @@ export declare enum TradeAgreementStatus {
|
|
|
1471
1483
|
SUPPORTED = "supported",
|
|
1472
1484
|
NOT_SUPPORTED = "not_supported"
|
|
1473
1485
|
}
|
|
1474
|
-
export declare enum TransactionPayoutPendingReason {
|
|
1475
|
-
WAITING_FOR_FULL_REFUND = "waiting_for_full_refund",
|
|
1476
|
-
WAITING_FOR_FULFILLMENT = "waiting_for_fulfillment",
|
|
1477
|
-
WAITING_FOR_IN_TRANSIT = "waiting_for_in_transit",
|
|
1478
|
-
WAITING_FOR_NEXT_PAYOUT_DATE = "waiting_for_next_payout_date",
|
|
1479
|
-
EXTERNAL_FULFILLMENT_MISSING_TRACKING_INFO = "external_fulfillment_missing_tracking_info",
|
|
1480
|
-
WAITING_FOR_POSITIVE_ACCOUNT_BALANCE = "waiting_for_positive_account_balance"
|
|
1481
|
-
}
|
|
1482
1486
|
export declare enum TransactionSource {
|
|
1483
1487
|
CAPTURE = "capture",
|
|
1484
1488
|
REFUND = "refund",
|
package/dist/api.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
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
|
-
exports.
|
|
6
|
-
exports.
|
|
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.TradeAgreementStatus = exports.TradeAgreementName = 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.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.PricingLevySetting = exports.PriceFacetBoundary = void 0;
|
|
7
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;
|
|
8
8
|
var AbandonedOrderPromotionStatus;
|
|
9
9
|
(function (AbandonedOrderPromotionStatus) {
|
|
@@ -419,6 +419,10 @@ var EventType;
|
|
|
419
419
|
EventType["CHANNEL_PAYOUT_DELETED"] = "channel_payout_deleted";
|
|
420
420
|
EventType["ORGANIZATION_PAYOUT_UPSERTED"] = "organization_payout_upserted";
|
|
421
421
|
EventType["ORGANIZATION_PAYOUT_DELETED"] = "organization_payout_deleted";
|
|
422
|
+
EventType["CHANNEL_PENDING_PAYOUT_TRANSACTION_UPSERTED"] = "channel_pending_payout_transaction_upserted";
|
|
423
|
+
EventType["CHANNEL_PENDING_PAYOUT_TRANSACTION_DELETED"] = "channel_pending_payout_transaction_deleted";
|
|
424
|
+
EventType["ORGANIZATION_PENDING_PAYOUT_TRANSACTION_UPSERTED"] = "organization_pending_payout_transaction_upserted";
|
|
425
|
+
EventType["ORGANIZATION_PENDING_PAYOUT_TRANSACTION_DELETED"] = "organization_pending_payout_transaction_deleted";
|
|
422
426
|
EventType["ATTRIBUTE_UPSERTED"] = "attribute_upserted";
|
|
423
427
|
EventType["ATTRIBUTE_DELETED"] = "attribute_deleted";
|
|
424
428
|
EventType["ATTRIBUTE_UPSERTED_V_2"] = "attribute_upserted_v2";
|
|
@@ -1262,6 +1266,15 @@ var PayoutStatusFailureCode;
|
|
|
1262
1266
|
PayoutStatusFailureCode["ACCOUNT_CLOSED"] = "account_closed";
|
|
1263
1267
|
PayoutStatusFailureCode["COULD_NOT_PROCESS"] = "could_not_process";
|
|
1264
1268
|
})(PayoutStatusFailureCode = exports.PayoutStatusFailureCode || (exports.PayoutStatusFailureCode = {}));
|
|
1269
|
+
var PendingPayoutTransactionReasonCode;
|
|
1270
|
+
(function (PendingPayoutTransactionReasonCode) {
|
|
1271
|
+
PendingPayoutTransactionReasonCode["WAITING_FOR_FULL_REFUND"] = "waiting_for_full_refund";
|
|
1272
|
+
PendingPayoutTransactionReasonCode["WAITING_FOR_FULFILLMENT"] = "waiting_for_fulfillment";
|
|
1273
|
+
PendingPayoutTransactionReasonCode["WAITING_FOR_IN_TRANSIT"] = "waiting_for_in_transit";
|
|
1274
|
+
PendingPayoutTransactionReasonCode["WAITING_FOR_NEXT_PAYOUT_DATE"] = "waiting_for_next_payout_date";
|
|
1275
|
+
PendingPayoutTransactionReasonCode["EXTERNAL_FULFILLMENT_MISSING_TRACKING_INFO"] = "external_fulfillment_missing_tracking_info";
|
|
1276
|
+
PendingPayoutTransactionReasonCode["WAITING_FOR_POSITIVE_ACCOUNT_BALANCE"] = "waiting_for_positive_account_balance";
|
|
1277
|
+
})(PendingPayoutTransactionReasonCode = exports.PendingPayoutTransactionReasonCode || (exports.PendingPayoutTransactionReasonCode = {}));
|
|
1265
1278
|
var PermittedHttpMethod;
|
|
1266
1279
|
(function (PermittedHttpMethod) {
|
|
1267
1280
|
PermittedHttpMethod["GET"] = "GET";
|
|
@@ -1677,15 +1690,6 @@ var TradeAgreementStatus;
|
|
|
1677
1690
|
TradeAgreementStatus["SUPPORTED"] = "supported";
|
|
1678
1691
|
TradeAgreementStatus["NOT_SUPPORTED"] = "not_supported";
|
|
1679
1692
|
})(TradeAgreementStatus = exports.TradeAgreementStatus || (exports.TradeAgreementStatus = {}));
|
|
1680
|
-
var TransactionPayoutPendingReason;
|
|
1681
|
-
(function (TransactionPayoutPendingReason) {
|
|
1682
|
-
TransactionPayoutPendingReason["WAITING_FOR_FULL_REFUND"] = "waiting_for_full_refund";
|
|
1683
|
-
TransactionPayoutPendingReason["WAITING_FOR_FULFILLMENT"] = "waiting_for_fulfillment";
|
|
1684
|
-
TransactionPayoutPendingReason["WAITING_FOR_IN_TRANSIT"] = "waiting_for_in_transit";
|
|
1685
|
-
TransactionPayoutPendingReason["WAITING_FOR_NEXT_PAYOUT_DATE"] = "waiting_for_next_payout_date";
|
|
1686
|
-
TransactionPayoutPendingReason["EXTERNAL_FULFILLMENT_MISSING_TRACKING_INFO"] = "external_fulfillment_missing_tracking_info";
|
|
1687
|
-
TransactionPayoutPendingReason["WAITING_FOR_POSITIVE_ACCOUNT_BALANCE"] = "waiting_for_positive_account_balance";
|
|
1688
|
-
})(TransactionPayoutPendingReason = exports.TransactionPayoutPendingReason || (exports.TransactionPayoutPendingReason = {}));
|
|
1689
1693
|
var TransactionSource;
|
|
1690
1694
|
(function (TransactionSource) {
|
|
1691
1695
|
TransactionSource["CAPTURE"] = "capture";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-constants",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.42",
|
|
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": "bae206460687524c23b75d19a96a544fb102eb2d"
|
|
30
30
|
}
|
package/src/api.ts
CHANGED
|
@@ -411,6 +411,10 @@ export enum EventType {
|
|
|
411
411
|
CHANNEL_PAYOUT_DELETED = 'channel_payout_deleted',
|
|
412
412
|
ORGANIZATION_PAYOUT_UPSERTED = 'organization_payout_upserted',
|
|
413
413
|
ORGANIZATION_PAYOUT_DELETED = 'organization_payout_deleted',
|
|
414
|
+
CHANNEL_PENDING_PAYOUT_TRANSACTION_UPSERTED = 'channel_pending_payout_transaction_upserted',
|
|
415
|
+
CHANNEL_PENDING_PAYOUT_TRANSACTION_DELETED = 'channel_pending_payout_transaction_deleted',
|
|
416
|
+
ORGANIZATION_PENDING_PAYOUT_TRANSACTION_UPSERTED = 'organization_pending_payout_transaction_upserted',
|
|
417
|
+
ORGANIZATION_PENDING_PAYOUT_TRANSACTION_DELETED = 'organization_pending_payout_transaction_deleted',
|
|
414
418
|
ATTRIBUTE_UPSERTED = 'attribute_upserted',
|
|
415
419
|
ATTRIBUTE_DELETED = 'attribute_deleted',
|
|
416
420
|
ATTRIBUTE_UPSERTED_V_2 = 'attribute_upserted_v2',
|
|
@@ -1255,6 +1259,15 @@ export enum PayoutStatusFailureCode {
|
|
|
1255
1259
|
COULD_NOT_PROCESS = 'could_not_process',
|
|
1256
1260
|
}
|
|
1257
1261
|
|
|
1262
|
+
export enum PendingPayoutTransactionReasonCode {
|
|
1263
|
+
WAITING_FOR_FULL_REFUND = 'waiting_for_full_refund',
|
|
1264
|
+
WAITING_FOR_FULFILLMENT = 'waiting_for_fulfillment',
|
|
1265
|
+
WAITING_FOR_IN_TRANSIT = 'waiting_for_in_transit',
|
|
1266
|
+
WAITING_FOR_NEXT_PAYOUT_DATE = 'waiting_for_next_payout_date',
|
|
1267
|
+
EXTERNAL_FULFILLMENT_MISSING_TRACKING_INFO = 'external_fulfillment_missing_tracking_info',
|
|
1268
|
+
WAITING_FOR_POSITIVE_ACCOUNT_BALANCE = 'waiting_for_positive_account_balance',
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1258
1271
|
export enum PermittedHttpMethod {
|
|
1259
1272
|
GET = 'GET',
|
|
1260
1273
|
POST = 'POST',
|
|
@@ -1670,15 +1683,6 @@ export enum TradeAgreementStatus {
|
|
|
1670
1683
|
NOT_SUPPORTED = 'not_supported',
|
|
1671
1684
|
}
|
|
1672
1685
|
|
|
1673
|
-
export enum TransactionPayoutPendingReason {
|
|
1674
|
-
WAITING_FOR_FULL_REFUND = 'waiting_for_full_refund',
|
|
1675
|
-
WAITING_FOR_FULFILLMENT = 'waiting_for_fulfillment',
|
|
1676
|
-
WAITING_FOR_IN_TRANSIT = 'waiting_for_in_transit',
|
|
1677
|
-
WAITING_FOR_NEXT_PAYOUT_DATE = 'waiting_for_next_payout_date',
|
|
1678
|
-
EXTERNAL_FULFILLMENT_MISSING_TRACKING_INFO = 'external_fulfillment_missing_tracking_info',
|
|
1679
|
-
WAITING_FOR_POSITIVE_ACCOUNT_BALANCE = 'waiting_for_positive_account_balance',
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
1686
|
export enum TransactionSource {
|
|
1683
1687
|
CAPTURE = 'capture',
|
|
1684
1688
|
REFUND = 'refund',
|