@flowio/api-prop-types 10.16.80 → 10.16.82
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/lib/api.d.ts +20 -5
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +20 -5
- package/src/api.js +67 -47
package/lib/api.d.ts
CHANGED
|
@@ -2501,7 +2501,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2501
2501
|
type ExporterOfRecord = 'flow' | 'organization';
|
|
2502
2502
|
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
2503
2503
|
type FlowBehavior = 'view_consumer_data';
|
|
2504
|
-
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
2504
|
+
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
|
|
2505
2505
|
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
2506
2506
|
type FraudEmailRuleDecision = 'approved' | 'declined';
|
|
2507
2507
|
type FraudLiability = 'flow' | 'organization';
|
|
@@ -2572,7 +2572,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2572
2572
|
type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
|
|
2573
2573
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
2574
2574
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
2575
|
-
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24';
|
|
2575
|
+
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay';
|
|
2576
2576
|
type PayoutAttachmentType = 'transactions';
|
|
2577
2577
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
2578
2578
|
type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
|
|
@@ -2639,7 +2639,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2639
2639
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2640
2640
|
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout';
|
|
2641
2641
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
2642
|
-
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup';
|
|
2642
|
+
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail';
|
|
2643
2643
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
2644
2644
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2645
2645
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
@@ -3554,6 +3554,7 @@ declare namespace io.flow.v0.models {
|
|
|
3554
3554
|
readonly 'items'?: io.flow.v0.models.LineItemForm[];
|
|
3555
3555
|
readonly 'package'?: io.flow.v0.models.ShippingLabelPackage;
|
|
3556
3556
|
readonly 'origin'?: io.flow.v0.models.ShippingAddress;
|
|
3557
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
3557
3558
|
}
|
|
3558
3559
|
|
|
3559
3560
|
interface BrowseOptinResponses {
|
|
@@ -9215,6 +9216,11 @@ declare namespace io.flow.v0.models {
|
|
|
9215
9216
|
readonly 'reference'?: string;
|
|
9216
9217
|
}
|
|
9217
9218
|
|
|
9219
|
+
interface PaymentMethodDataInitMobilepay {
|
|
9220
|
+
readonly 'type': 'init_mobilepay';
|
|
9221
|
+
readonly 'reference'?: string;
|
|
9222
|
+
}
|
|
9223
|
+
|
|
9218
9224
|
interface PaymentMethodDataInitPaypal {
|
|
9219
9225
|
readonly 'type': 'init_paypal';
|
|
9220
9226
|
readonly 'reference'?: string;
|
|
@@ -9341,6 +9347,11 @@ declare namespace io.flow.v0.models {
|
|
|
9341
9347
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9342
9348
|
}
|
|
9343
9349
|
|
|
9350
|
+
interface PaymentMethodSummaryMobilepay {
|
|
9351
|
+
readonly 'type': 'mobilepay';
|
|
9352
|
+
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
9353
|
+
}
|
|
9354
|
+
|
|
9344
9355
|
interface PaymentMethodSummaryPaypal {
|
|
9345
9356
|
readonly 'type': 'paypal';
|
|
9346
9357
|
readonly 'merchant_of_record': io.flow.v0.enums.MerchantOfRecord;
|
|
@@ -11320,6 +11331,7 @@ declare namespace io.flow.v0.models {
|
|
|
11320
11331
|
readonly 'additional_services_requested'?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
11321
11332
|
readonly 'created_at'?: string;
|
|
11322
11333
|
readonly 'updated_at'?: string;
|
|
11334
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
11323
11335
|
}
|
|
11324
11336
|
|
|
11325
11337
|
interface ShippingLabelDocument {
|
|
@@ -12002,6 +12014,7 @@ declare namespace io.flow.v0.models {
|
|
|
12002
12014
|
readonly 'order_number': string;
|
|
12003
12015
|
readonly 'items': io.flow.v0.models.LineItemForm[];
|
|
12004
12016
|
readonly 'center_key'?: string;
|
|
12017
|
+
readonly 'direction'?: io.flow.v0.enums.Direction;
|
|
12005
12018
|
}
|
|
12006
12019
|
|
|
12007
12020
|
interface SummaryShippingNotificationForm {
|
|
@@ -13051,12 +13064,12 @@ declare namespace io.flow.v0.unions {
|
|
|
13051
13064
|
type PaymentCaptureOption = (io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual);
|
|
13052
13065
|
type PaymentForm = (io.flow.v0.models.MerchantOfRecordPaymentForm);
|
|
13053
13066
|
type PaymentMethodCard = (io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken);
|
|
13054
|
-
type PaymentMethodData = (io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitTwint | io.flow.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard);
|
|
13067
|
+
type PaymentMethodData = (io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitTwint | io.flow.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.v0.models.PaymentMethodDataInitMobilepay | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard);
|
|
13055
13068
|
type PaymentMethodDataAuthorizeApplepayResult = (io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure);
|
|
13056
13069
|
type PaymentMethodDataAuthorizeKlarnaResult = (io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure);
|
|
13057
13070
|
type PaymentMethodDataOptionLogo = (io.flow.v0.models.PaymentMethodDataOptionLogoSvg);
|
|
13058
13071
|
type PaymentMethodStoredDetailsCard = (io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent);
|
|
13059
|
-
type PaymentMethodSummary = (io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummaryTwint | io.flow.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact);
|
|
13072
|
+
type PaymentMethodSummary = (io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummaryTwint | io.flow.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.v0.models.PaymentMethodSummaryMobilepay | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact);
|
|
13060
13073
|
|
|
13061
13074
|
type PaymentMethodTag = ({
|
|
13062
13075
|
discriminator: 'organization_payment_method_tag',
|
|
@@ -14241,6 +14254,7 @@ export const paymentMethodDataInitBancontact: PropTypes.Requireable<io.flow.v0.m
|
|
|
14241
14254
|
export const paymentMethodDataInitGooglepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitGooglepay>;
|
|
14242
14255
|
export const paymentMethodDataInitIdeal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitIdeal>;
|
|
14243
14256
|
export const paymentMethodDataInitKlarna: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitKlarna>;
|
|
14257
|
+
export const paymentMethodDataInitMobilepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitMobilepay>;
|
|
14244
14258
|
export const paymentMethodDataInitPaypal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitPaypal>;
|
|
14245
14259
|
export const paymentMethodDataInitPrzelewy24: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitPrzelewy24>;
|
|
14246
14260
|
export const paymentMethodDataInitSofort: PropTypes.Requireable<io.flow.v0.models.PaymentMethodDataInitSofort>;
|
|
@@ -14263,6 +14277,7 @@ export const paymentMethodSummaryCard: PropTypes.Requireable<io.flow.v0.models.P
|
|
|
14263
14277
|
export const paymentMethodSummaryGooglepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryGooglepay>;
|
|
14264
14278
|
export const paymentMethodSummaryIdeal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryIdeal>;
|
|
14265
14279
|
export const paymentMethodSummaryKlarna: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryKlarna>;
|
|
14280
|
+
export const paymentMethodSummaryMobilepay: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryMobilepay>;
|
|
14266
14281
|
export const paymentMethodSummaryPaypal: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryPaypal>;
|
|
14267
14282
|
export const paymentMethodSummaryPrzelewy24: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummaryPrzelewy24>;
|
|
14268
14283
|
export const paymentMethodSummarySofort: PropTypes.Requireable<io.flow.v0.models.PaymentMethodSummarySofort>;
|