@flowio/types 11.24.70 → 11.24.72
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-internal.d.ts +138 -44
- package/dist/api.d.ts +73 -10
- package/package.json +2 -2
- package/src/api-internal.ts +178 -57
- package/src/api.ts +98 -11
package/dist/api-internal.d.ts
CHANGED
|
@@ -1739,7 +1739,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
1739
1739
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
1740
1740
|
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
1741
1741
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
1742
|
-
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.
|
|
1742
|
+
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
1743
1743
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
1744
1744
|
type KlarnaProduct = 'payment';
|
|
1745
1745
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -1761,6 +1761,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
1761
1761
|
type SourceStatus = 'canceled' | 'chargeable' | 'consumed' | 'failed' | 'pending';
|
|
1762
1762
|
type SourceType = 'ach_credit_transfer' | 'ach_debit' | 'alipay' | 'bancontact' | 'bitcoin' | 'card' | 'eps' | 'giropay' | 'ideal' | 'klarna' | 'multibanco' | 'p24' | 'sepa_debit' | 'sofort' | 'three_d_secure';
|
|
1763
1763
|
type SourceUsageType = 'reusable' | 'single_use';
|
|
1764
|
+
type StoredCredentialTransactionType = 'setup_on_session' | 'setup_off_session_recurring' | 'setup_off_session_unscheduled' | 'stored_on_session' | 'stored_on_session_recurring' | 'stored_on_session_unscheduled';
|
|
1764
1765
|
type ThreeDSecureSupport = 'required' | 'recommended' | 'optional' | 'not_supported';
|
|
1765
1766
|
type ThreeDsAuthenticationFlow = 'challenge' | 'frictionless';
|
|
1766
1767
|
type ThreeDsResult = 'authenticated' | 'attempt_acknowledged' | 'exempted' | 'not_supported' | 'failed' | 'processing_error';
|
|
@@ -1847,6 +1848,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1847
1848
|
readonly address_postal_code_check?: io.flow.stripe.v0.enums.CheckOutcome;
|
|
1848
1849
|
readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome;
|
|
1849
1850
|
}
|
|
1851
|
+
interface CardNetworks {
|
|
1852
|
+
readonly available?: string[];
|
|
1853
|
+
readonly preferred?: string;
|
|
1854
|
+
}
|
|
1850
1855
|
interface CardRequest {
|
|
1851
1856
|
readonly object: string;
|
|
1852
1857
|
readonly exp_month: string;
|
|
@@ -2000,6 +2005,8 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2000
2005
|
readonly order_number?: string;
|
|
2001
2006
|
readonly authorization_id?: string;
|
|
2002
2007
|
readonly organization_id?: string;
|
|
2008
|
+
readonly payment_request_id?: string;
|
|
2009
|
+
readonly payment_request_order_reference?: string;
|
|
2003
2010
|
}
|
|
2004
2011
|
interface NetworkTokenUsed {
|
|
2005
2012
|
readonly used?: boolean;
|
|
@@ -2108,6 +2115,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2108
2115
|
interface PaymentIntentConfirmationForm {
|
|
2109
2116
|
readonly off_session?: boolean;
|
|
2110
2117
|
readonly payment_method?: string;
|
|
2118
|
+
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2111
2119
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
2112
2120
|
readonly payment_method_types?: string[];
|
|
2113
2121
|
readonly receipt_email?: string;
|
|
@@ -2127,6 +2135,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2127
2135
|
readonly metadata?: io.flow.stripe.v0.models.Metadata;
|
|
2128
2136
|
readonly on_behalf_of?: string;
|
|
2129
2137
|
readonly payment_method?: string;
|
|
2138
|
+
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2130
2139
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
2131
2140
|
readonly payment_method_types?: string[];
|
|
2132
2141
|
readonly receipt_email?: string;
|
|
@@ -2157,7 +2166,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2157
2166
|
readonly id: string;
|
|
2158
2167
|
readonly object: string;
|
|
2159
2168
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2160
|
-
readonly card?: io.flow.stripe.v0.models.
|
|
2169
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
2161
2170
|
readonly card_present?: any;
|
|
2162
2171
|
readonly created: number;
|
|
2163
2172
|
readonly customer?: string;
|
|
@@ -2170,6 +2179,30 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2170
2179
|
readonly name?: string;
|
|
2171
2180
|
readonly phone?: string;
|
|
2172
2181
|
}
|
|
2182
|
+
interface PaymentMethodCardDetails {
|
|
2183
|
+
readonly brand?: io.flow.stripe.v0.enums.CardBrand;
|
|
2184
|
+
readonly checks?: io.flow.stripe.v0.models.CardChecks;
|
|
2185
|
+
readonly country?: string;
|
|
2186
|
+
readonly exp_month?: number;
|
|
2187
|
+
readonly exp_year?: number;
|
|
2188
|
+
readonly fingerprint?: string;
|
|
2189
|
+
readonly funding?: io.flow.stripe.v0.enums.CardFundingType;
|
|
2190
|
+
readonly last4?: string;
|
|
2191
|
+
readonly networks?: io.flow.stripe.v0.models.CardNetworks;
|
|
2192
|
+
readonly three_d_secure_usage?: io.flow.stripe.v0.models.ThreeDSecureUsage;
|
|
2193
|
+
}
|
|
2194
|
+
interface PaymentMethodCardForm {
|
|
2195
|
+
readonly exp_month: string;
|
|
2196
|
+
readonly exp_year: string;
|
|
2197
|
+
readonly number: string;
|
|
2198
|
+
readonly cvc?: string;
|
|
2199
|
+
}
|
|
2200
|
+
interface PaymentMethodDataCard {
|
|
2201
|
+
readonly type: 'card';
|
|
2202
|
+
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2203
|
+
readonly metadata?: any;
|
|
2204
|
+
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
2205
|
+
}
|
|
2173
2206
|
interface PaymentMethodDetailsCard {
|
|
2174
2207
|
readonly type: 'card';
|
|
2175
2208
|
readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -2203,16 +2236,19 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2203
2236
|
readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna;
|
|
2204
2237
|
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
2205
2238
|
}
|
|
2206
|
-
interface
|
|
2207
|
-
readonly type:
|
|
2239
|
+
interface PaymentMethodFormCard {
|
|
2240
|
+
readonly type: 'card';
|
|
2208
2241
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2209
|
-
readonly
|
|
2242
|
+
readonly metadata?: any;
|
|
2243
|
+
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
2210
2244
|
}
|
|
2211
2245
|
interface PaymentMethodOptions {
|
|
2212
2246
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
|
|
2213
2247
|
}
|
|
2214
2248
|
interface PaymentMethodOptionsCard {
|
|
2249
|
+
readonly network?: string;
|
|
2215
2250
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
2251
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
2216
2252
|
}
|
|
2217
2253
|
interface PaymentOutcome {
|
|
2218
2254
|
readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
|
|
@@ -2438,6 +2474,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2438
2474
|
readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
|
|
2439
2475
|
readonly stripe_js: string;
|
|
2440
2476
|
}
|
|
2477
|
+
interface ThreeDSecureUsage {
|
|
2478
|
+
readonly supported?: boolean;
|
|
2479
|
+
}
|
|
2441
2480
|
interface Token {
|
|
2442
2481
|
readonly id: string;
|
|
2443
2482
|
readonly object: string;
|
|
@@ -2471,7 +2510,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2471
2510
|
}
|
|
2472
2511
|
declare namespace io.flow.stripe.v0.unions {
|
|
2473
2512
|
type CardWallet = io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout;
|
|
2513
|
+
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
|
|
2474
2514
|
type PaymentMethodDetails = io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
|
|
2515
|
+
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
|
|
2475
2516
|
}
|
|
2476
2517
|
declare namespace io.flow.customer.v0.enums {
|
|
2477
2518
|
type CustomerAddressType = 'billing' | 'invoice' | 'shipping';
|
|
@@ -4692,6 +4733,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
|
|
|
4692
4733
|
type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
4693
4734
|
type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
4694
4735
|
type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
|
|
4736
|
+
type ShopifyOrderPaymentGatewayNames = 'flow_commerce' | 'gift_card' | 'manual' | 'shopify_payments';
|
|
4695
4737
|
type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
4696
4738
|
type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
|
|
4697
4739
|
type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
@@ -9434,6 +9476,11 @@ declare namespace io.flow.billing.v0.models {
|
|
|
9434
9476
|
readonly created_at: string;
|
|
9435
9477
|
readonly updated_at: string;
|
|
9436
9478
|
}
|
|
9479
|
+
interface PendingTransaction {
|
|
9480
|
+
readonly id: string;
|
|
9481
|
+
readonly reason: io.flow.billing.v0.enums.TransactionPayoutPendingReason;
|
|
9482
|
+
readonly reason_set_at: string;
|
|
9483
|
+
}
|
|
9437
9484
|
interface SettlementNoPayout {
|
|
9438
9485
|
readonly discriminator: 'no_payout';
|
|
9439
9486
|
readonly placeholder?: string;
|
|
@@ -9470,6 +9517,19 @@ declare namespace io.flow.billing.v0.models {
|
|
|
9470
9517
|
readonly created_at: string;
|
|
9471
9518
|
readonly updated_at: string;
|
|
9472
9519
|
}
|
|
9520
|
+
interface TransactionMetadataChannel {
|
|
9521
|
+
readonly discriminator: 'channel';
|
|
9522
|
+
readonly method: string;
|
|
9523
|
+
readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
|
|
9524
|
+
}
|
|
9525
|
+
interface TransactionMetadataChannelCardMetadata {
|
|
9526
|
+
readonly type: io.flow.payment.v0.enums.CardType;
|
|
9527
|
+
readonly issuer: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
|
9528
|
+
}
|
|
9529
|
+
interface TransactionMetadataChannelCardMetadataIssuerSummary {
|
|
9530
|
+
readonly iin: string;
|
|
9531
|
+
readonly country: string;
|
|
9532
|
+
}
|
|
9473
9533
|
interface TransactionMetadataShippingLabel {
|
|
9474
9534
|
readonly discriminator: 'shipping_label';
|
|
9475
9535
|
readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
@@ -9513,7 +9573,7 @@ declare namespace io.flow.billing.v0.unions {
|
|
|
9513
9573
|
type BankAccountForm = io.flow.billing.v0.models.BankAccountFormInfo | io.flow.billing.v0.models.BankAccountFormSimple;
|
|
9514
9574
|
type PayoutStatus = io.flow.billing.v0.models.PayoutStatusScheduled | io.flow.billing.v0.models.PayoutStatusSent | io.flow.billing.v0.models.PayoutStatusFailed;
|
|
9515
9575
|
type Settlement = io.flow.billing.v0.models.SettlementNoPayout | io.flow.billing.v0.models.SettlementPayout;
|
|
9516
|
-
type TransactionMetadata = io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataTrueup;
|
|
9576
|
+
type TransactionMetadata = io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup;
|
|
9517
9577
|
}
|
|
9518
9578
|
declare namespace io.flow.harmonization.v0.enums {
|
|
9519
9579
|
type TaxApplicability = 'none' | 'all';
|
|
@@ -10461,17 +10521,17 @@ declare namespace io.flow.catalog.RESERVED_WORD_return.v0.models {
|
|
|
10461
10521
|
}
|
|
10462
10522
|
}
|
|
10463
10523
|
declare namespace io.flow.apple.pay.v0.enums {
|
|
10464
|
-
type ApplePayContactField = 'email' | 'name' | 'phone' | '
|
|
10524
|
+
type ApplePayContactField = 'email' | 'name' | 'phone' | 'postal_address' | 'phonetic_name';
|
|
10465
10525
|
type ApplePayLineItemType = 'final' | 'pending';
|
|
10466
10526
|
type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
|
|
10467
|
-
type ApplePayShippingType = 'shipping' | 'delivery' | '
|
|
10527
|
+
type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
|
|
10468
10528
|
type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
|
|
10469
10529
|
}
|
|
10470
10530
|
declare namespace io.flow.apple.pay.v0.models {
|
|
10471
10531
|
interface ApplePayLineItem {
|
|
10472
10532
|
readonly label: string;
|
|
10473
10533
|
readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
10474
|
-
readonly amount:
|
|
10534
|
+
readonly amount: number;
|
|
10475
10535
|
}
|
|
10476
10536
|
interface ApplePayPaymentContact {
|
|
10477
10537
|
readonly email_address?: string;
|
|
@@ -10518,7 +10578,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
10518
10578
|
interface ApplePayShippingMethod {
|
|
10519
10579
|
readonly label: string;
|
|
10520
10580
|
readonly detail: string;
|
|
10521
|
-
readonly amount:
|
|
10581
|
+
readonly amount: number;
|
|
10522
10582
|
readonly identifier: string;
|
|
10523
10583
|
}
|
|
10524
10584
|
}
|
|
@@ -11147,7 +11207,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11147
11207
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
11148
11208
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
11149
11209
|
type PromptTarget = 'browse' | 'checkout';
|
|
11150
|
-
type QueuedRecordType = 'capture' | '
|
|
11210
|
+
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_cancellation' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'label_origin' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email';
|
|
11151
11211
|
type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
|
|
11152
11212
|
type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
|
|
11153
11213
|
type RateSource = 'calculated' | 'market';
|
|
@@ -12434,6 +12494,47 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12434
12494
|
readonly status: io.flow.internal.v0.enums.CarrierValidationStatus;
|
|
12435
12495
|
readonly error_message?: string;
|
|
12436
12496
|
}
|
|
12497
|
+
interface CarrierChargeFile {
|
|
12498
|
+
readonly id: string;
|
|
12499
|
+
readonly url: string;
|
|
12500
|
+
readonly created_at: string;
|
|
12501
|
+
readonly result?: io.flow.internal.v0.models.CarrierChargeFileResult;
|
|
12502
|
+
}
|
|
12503
|
+
interface CarrierChargeFileForm {
|
|
12504
|
+
readonly url: string;
|
|
12505
|
+
}
|
|
12506
|
+
interface CarrierChargeFileResult {
|
|
12507
|
+
readonly processed_at: string;
|
|
12508
|
+
readonly number_lines_successful: number;
|
|
12509
|
+
readonly number_lines_with_errors: number;
|
|
12510
|
+
readonly errors_url?: string;
|
|
12511
|
+
}
|
|
12512
|
+
interface CarrierChargeFormLabel {
|
|
12513
|
+
readonly discriminator: 'label';
|
|
12514
|
+
readonly id: string;
|
|
12515
|
+
readonly label_invoice_request_id: string;
|
|
12516
|
+
readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
|
|
12517
|
+
readonly base: io.flow.internal.v0.models.LabelBase;
|
|
12518
|
+
readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
|
|
12519
|
+
readonly total: number;
|
|
12520
|
+
readonly attributes?: Record<string, string>;
|
|
12521
|
+
}
|
|
12522
|
+
interface CarrierChargeFormReturnToOrigin {
|
|
12523
|
+
readonly discriminator: 'return_to_origin';
|
|
12524
|
+
readonly id: string;
|
|
12525
|
+
readonly carrier_id: string;
|
|
12526
|
+
readonly carrier_tracking_number: string;
|
|
12527
|
+
readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
|
|
12528
|
+
readonly base: io.flow.internal.v0.models.LabelBase;
|
|
12529
|
+
readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
|
|
12530
|
+
readonly total: number;
|
|
12531
|
+
readonly attributes?: Record<string, string>;
|
|
12532
|
+
}
|
|
12533
|
+
interface CarrierChargeUnits {
|
|
12534
|
+
readonly currency: string;
|
|
12535
|
+
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
12536
|
+
readonly length?: io.flow.units.v0.enums.UnitOfLength;
|
|
12537
|
+
}
|
|
12437
12538
|
interface CarrierInvoice {
|
|
12438
12539
|
readonly number: string;
|
|
12439
12540
|
readonly timestamp: string;
|
|
@@ -16433,14 +16534,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16433
16534
|
interface FulfillmentProofExternalFulfillmentProofReference {
|
|
16434
16535
|
readonly discriminator: 'external_fulfillment';
|
|
16435
16536
|
readonly id: string;
|
|
16537
|
+
readonly carrier_id?: string;
|
|
16538
|
+
readonly carrier_service_id?: string;
|
|
16539
|
+
readonly carrier_tracking_number?: string;
|
|
16540
|
+
readonly label_id?: string;
|
|
16436
16541
|
}
|
|
16437
16542
|
interface FulfillmentProofLabelTrackingReference {
|
|
16438
16543
|
readonly discriminator: 'label_tracking';
|
|
16439
16544
|
readonly id: string;
|
|
16545
|
+
readonly carrier_id?: string;
|
|
16546
|
+
readonly carrier_service_id?: string;
|
|
16547
|
+
readonly carrier_tracking_number?: string;
|
|
16548
|
+
readonly label_id?: string;
|
|
16440
16549
|
}
|
|
16441
16550
|
interface FulfillmentProofShippingNotificationReference {
|
|
16442
16551
|
readonly discriminator: 'shipping_notification';
|
|
16443
16552
|
readonly id: string;
|
|
16553
|
+
readonly carrier_id?: string;
|
|
16554
|
+
readonly carrier_service_id?: string;
|
|
16555
|
+
readonly carrier_tracking_number?: string;
|
|
16556
|
+
readonly label_id?: string;
|
|
16444
16557
|
}
|
|
16445
16558
|
interface FulfillmentReference {
|
|
16446
16559
|
readonly id: string;
|
|
@@ -17882,29 +17995,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17882
17995
|
readonly organization: string;
|
|
17883
17996
|
readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest;
|
|
17884
17997
|
}
|
|
17885
|
-
interface LabelInvoiceResponseFile {
|
|
17886
|
-
readonly id: string;
|
|
17887
|
-
readonly url: string;
|
|
17888
|
-
readonly created_at: string;
|
|
17889
|
-
readonly result?: io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
|
|
17890
|
-
}
|
|
17891
|
-
interface LabelInvoiceResponseFileForm {
|
|
17892
|
-
readonly url: string;
|
|
17893
|
-
}
|
|
17894
|
-
interface LabelInvoiceResponseFileResult {
|
|
17895
|
-
readonly processed_at: string;
|
|
17896
|
-
readonly number_lines_successful: number;
|
|
17897
|
-
readonly number_lines_with_errors: number;
|
|
17898
|
-
readonly errors_url?: string;
|
|
17899
|
-
}
|
|
17900
|
-
interface LabelInvoiceResponseForm {
|
|
17901
|
-
readonly id: string;
|
|
17902
|
-
readonly label_invoice_request_id: string;
|
|
17903
|
-
readonly units: io.flow.internal.v0.models.LabelResponseUnits;
|
|
17904
|
-
readonly base: io.flow.internal.v0.models.LabelBase;
|
|
17905
|
-
readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
|
|
17906
|
-
readonly total: number;
|
|
17907
|
-
}
|
|
17908
17998
|
interface LabelMetadata {
|
|
17909
17999
|
readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
|
|
17910
18000
|
readonly weights: io.flow.internal.v0.models.MetadataWeights;
|
|
@@ -17936,11 +18026,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17936
18026
|
readonly organization: string;
|
|
17937
18027
|
readonly label_request_error: io.flow.internal.v0.models.LabelRequestError;
|
|
17938
18028
|
}
|
|
17939
|
-
interface LabelResponseUnits {
|
|
17940
|
-
readonly currency: string;
|
|
17941
|
-
readonly weight: io.flow.units.v0.enums.UnitOfWeight;
|
|
17942
|
-
readonly length?: io.flow.units.v0.enums.UnitOfLength;
|
|
17943
|
-
}
|
|
17944
18029
|
interface LabelSummary {
|
|
17945
18030
|
readonly id: string;
|
|
17946
18031
|
readonly commercial_invoice?: string;
|
|
@@ -18635,6 +18720,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18635
18720
|
readonly organization_reference: io.flow.common.v0.models.Organization;
|
|
18636
18721
|
}
|
|
18637
18722
|
interface MerchantCharges {
|
|
18723
|
+
readonly adjustment: number;
|
|
18724
|
+
readonly reversal: number;
|
|
18725
|
+
readonly tax: number;
|
|
18726
|
+
readonly duty: number;
|
|
18638
18727
|
readonly labels: number;
|
|
18639
18728
|
readonly total: number;
|
|
18640
18729
|
}
|
|
@@ -19202,6 +19291,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19202
19291
|
readonly id: string;
|
|
19203
19292
|
readonly deactivate_at: string;
|
|
19204
19293
|
readonly created_at: string;
|
|
19294
|
+
readonly reason?: string;
|
|
19205
19295
|
}
|
|
19206
19296
|
interface OrganizationDeactivationDeleted {
|
|
19207
19297
|
readonly discriminator: 'organization_deactivation_deleted';
|
|
@@ -19212,6 +19302,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19212
19302
|
}
|
|
19213
19303
|
interface OrganizationDeactivationForm {
|
|
19214
19304
|
readonly deactivate_at: string;
|
|
19305
|
+
readonly reason?: string;
|
|
19215
19306
|
}
|
|
19216
19307
|
interface OrganizationDeactivationUpserted {
|
|
19217
19308
|
readonly discriminator: 'organization_deactivation_upserted';
|
|
@@ -22298,6 +22389,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22298
22389
|
type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
|
|
22299
22390
|
type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeCreateByCartToken | io.flow.internal.v0.models.BlazeInitializeByOrderQuoteMessage | io.flow.internal.v0.models.BlazeInitializeBySessionMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeSetCheckoutIdMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage;
|
|
22300
22391
|
type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
|
|
22392
|
+
type CarrierChargeForm = io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
|
|
22301
22393
|
type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
|
|
22302
22394
|
type ChannelRateMetadata = io.flow.internal.v0.models.ChannelRateMetadataIdentity | io.flow.internal.v0.models.ChannelRateMetadataRate;
|
|
22303
22395
|
type CheckoutAddressBookEdit = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
|
|
@@ -22675,6 +22767,13 @@ export declare type CarrierAccountDeleted = io.flow.internal.v0.models.CarrierAc
|
|
|
22675
22767
|
export declare type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
|
|
22676
22768
|
export declare type CarrierAccountUpsertedV2 = io.flow.internal.v0.models.CarrierAccountUpsertedV2;
|
|
22677
22769
|
export declare type CarrierAccountValidation = io.flow.internal.v0.models.CarrierAccountValidation;
|
|
22770
|
+
export declare type CarrierChargeFile = io.flow.internal.v0.models.CarrierChargeFile;
|
|
22771
|
+
export declare type CarrierChargeFileForm = io.flow.internal.v0.models.CarrierChargeFileForm;
|
|
22772
|
+
export declare type CarrierChargeFileResult = io.flow.internal.v0.models.CarrierChargeFileResult;
|
|
22773
|
+
export declare type CarrierChargeForm = io.flow.internal.v0.unions.CarrierChargeForm;
|
|
22774
|
+
export declare type CarrierChargeFormLabel = io.flow.internal.v0.models.CarrierChargeFormLabel;
|
|
22775
|
+
export declare type CarrierChargeFormReturnToOrigin = io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
|
|
22776
|
+
export declare type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
|
|
22678
22777
|
export declare type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
|
|
22679
22778
|
export declare type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
|
|
22680
22779
|
export declare type CarrierLabelGenerationMethod = io.flow.internal.v0.enums.CarrierLabelGenerationMethod;
|
|
@@ -23841,16 +23940,11 @@ export declare type LabelGenerationSettingsUpserted = io.flow.internal.v0.models
|
|
|
23841
23940
|
export declare type LabelInvoiceRequest = io.flow.internal.v0.models.LabelInvoiceRequest;
|
|
23842
23941
|
export declare type LabelInvoiceRequestDeleted = io.flow.internal.v0.models.LabelInvoiceRequestDeleted;
|
|
23843
23942
|
export declare type LabelInvoiceRequestUpserted = io.flow.internal.v0.models.LabelInvoiceRequestUpserted;
|
|
23844
|
-
export declare type LabelInvoiceResponseFile = io.flow.internal.v0.models.LabelInvoiceResponseFile;
|
|
23845
|
-
export declare type LabelInvoiceResponseFileForm = io.flow.internal.v0.models.LabelInvoiceResponseFileForm;
|
|
23846
|
-
export declare type LabelInvoiceResponseFileResult = io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
|
|
23847
|
-
export declare type LabelInvoiceResponseForm = io.flow.internal.v0.models.LabelInvoiceResponseForm;
|
|
23848
23943
|
export declare type LabelMetadata = io.flow.internal.v0.models.LabelMetadata;
|
|
23849
23944
|
export declare type LabelRequestError = io.flow.internal.v0.models.LabelRequestError;
|
|
23850
23945
|
export declare type LabelRequestErrorDeleted = io.flow.internal.v0.models.LabelRequestErrorDeleted;
|
|
23851
23946
|
export declare type LabelRequestErrorHandlingResponsibility = io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility;
|
|
23852
23947
|
export declare type LabelRequestErrorUpserted = io.flow.internal.v0.models.LabelRequestErrorUpserted;
|
|
23853
|
-
export declare type LabelResponseUnits = io.flow.internal.v0.models.LabelResponseUnits;
|
|
23854
23948
|
export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
|
|
23855
23949
|
export declare type LabelSurcharge = io.flow.internal.v0.models.LabelSurcharge;
|
|
23856
23950
|
export declare type LabelSurchargeDetail = io.flow.internal.v0.unions.LabelSurchargeDetail;
|
package/dist/api.d.ts
CHANGED
|
@@ -140,7 +140,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
140
140
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
141
141
|
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
142
142
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
143
|
-
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.
|
|
143
|
+
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
144
144
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
145
145
|
type KlarnaProduct = 'payment';
|
|
146
146
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -162,6 +162,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
162
162
|
type SourceStatus = 'canceled' | 'chargeable' | 'consumed' | 'failed' | 'pending';
|
|
163
163
|
type SourceType = 'ach_credit_transfer' | 'ach_debit' | 'alipay' | 'bancontact' | 'bitcoin' | 'card' | 'eps' | 'giropay' | 'ideal' | 'klarna' | 'multibanco' | 'p24' | 'sepa_debit' | 'sofort' | 'three_d_secure';
|
|
164
164
|
type SourceUsageType = 'reusable' | 'single_use';
|
|
165
|
+
type StoredCredentialTransactionType = 'setup_on_session' | 'setup_off_session_recurring' | 'setup_off_session_unscheduled' | 'stored_on_session' | 'stored_on_session_recurring' | 'stored_on_session_unscheduled';
|
|
165
166
|
type ThreeDSecureSupport = 'required' | 'recommended' | 'optional' | 'not_supported';
|
|
166
167
|
type ThreeDsAuthenticationFlow = 'challenge' | 'frictionless';
|
|
167
168
|
type ThreeDsResult = 'authenticated' | 'attempt_acknowledged' | 'exempted' | 'not_supported' | 'failed' | 'processing_error';
|
|
@@ -248,6 +249,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
248
249
|
readonly address_postal_code_check?: io.flow.stripe.v0.enums.CheckOutcome;
|
|
249
250
|
readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome;
|
|
250
251
|
}
|
|
252
|
+
interface CardNetworks {
|
|
253
|
+
readonly available?: string[];
|
|
254
|
+
readonly preferred?: string;
|
|
255
|
+
}
|
|
251
256
|
interface CardRequest {
|
|
252
257
|
readonly object: string;
|
|
253
258
|
readonly exp_month: string;
|
|
@@ -401,6 +406,8 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
401
406
|
readonly order_number?: string;
|
|
402
407
|
readonly authorization_id?: string;
|
|
403
408
|
readonly organization_id?: string;
|
|
409
|
+
readonly payment_request_id?: string;
|
|
410
|
+
readonly payment_request_order_reference?: string;
|
|
404
411
|
}
|
|
405
412
|
interface NetworkTokenUsed {
|
|
406
413
|
readonly used?: boolean;
|
|
@@ -509,6 +516,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
509
516
|
interface PaymentIntentConfirmationForm {
|
|
510
517
|
readonly off_session?: boolean;
|
|
511
518
|
readonly payment_method?: string;
|
|
519
|
+
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
512
520
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
513
521
|
readonly payment_method_types?: string[];
|
|
514
522
|
readonly receipt_email?: string;
|
|
@@ -528,6 +536,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
528
536
|
readonly metadata?: io.flow.stripe.v0.models.Metadata;
|
|
529
537
|
readonly on_behalf_of?: string;
|
|
530
538
|
readonly payment_method?: string;
|
|
539
|
+
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
531
540
|
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
532
541
|
readonly payment_method_types?: string[];
|
|
533
542
|
readonly receipt_email?: string;
|
|
@@ -558,7 +567,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
558
567
|
readonly id: string;
|
|
559
568
|
readonly object: string;
|
|
560
569
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
561
|
-
readonly card?: io.flow.stripe.v0.models.
|
|
570
|
+
readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
562
571
|
readonly card_present?: any;
|
|
563
572
|
readonly created: number;
|
|
564
573
|
readonly customer?: string;
|
|
@@ -571,6 +580,30 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
571
580
|
readonly name?: string;
|
|
572
581
|
readonly phone?: string;
|
|
573
582
|
}
|
|
583
|
+
interface PaymentMethodCardDetails {
|
|
584
|
+
readonly brand?: io.flow.stripe.v0.enums.CardBrand;
|
|
585
|
+
readonly checks?: io.flow.stripe.v0.models.CardChecks;
|
|
586
|
+
readonly country?: string;
|
|
587
|
+
readonly exp_month?: number;
|
|
588
|
+
readonly exp_year?: number;
|
|
589
|
+
readonly fingerprint?: string;
|
|
590
|
+
readonly funding?: io.flow.stripe.v0.enums.CardFundingType;
|
|
591
|
+
readonly last4?: string;
|
|
592
|
+
readonly networks?: io.flow.stripe.v0.models.CardNetworks;
|
|
593
|
+
readonly three_d_secure_usage?: io.flow.stripe.v0.models.ThreeDSecureUsage;
|
|
594
|
+
}
|
|
595
|
+
interface PaymentMethodCardForm {
|
|
596
|
+
readonly exp_month: string;
|
|
597
|
+
readonly exp_year: string;
|
|
598
|
+
readonly number: string;
|
|
599
|
+
readonly cvc?: string;
|
|
600
|
+
}
|
|
601
|
+
interface PaymentMethodDataCard {
|
|
602
|
+
readonly type: 'card';
|
|
603
|
+
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
604
|
+
readonly metadata?: any;
|
|
605
|
+
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
606
|
+
}
|
|
574
607
|
interface PaymentMethodDetailsCard {
|
|
575
608
|
readonly type: 'card';
|
|
576
609
|
readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -604,16 +637,19 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
604
637
|
readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna;
|
|
605
638
|
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
606
639
|
}
|
|
607
|
-
interface
|
|
608
|
-
readonly type:
|
|
640
|
+
interface PaymentMethodFormCard {
|
|
641
|
+
readonly type: 'card';
|
|
609
642
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
610
|
-
readonly
|
|
643
|
+
readonly metadata?: any;
|
|
644
|
+
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
611
645
|
}
|
|
612
646
|
interface PaymentMethodOptions {
|
|
613
647
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
|
|
614
648
|
}
|
|
615
649
|
interface PaymentMethodOptionsCard {
|
|
650
|
+
readonly network?: string;
|
|
616
651
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
652
|
+
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
617
653
|
}
|
|
618
654
|
interface PaymentOutcome {
|
|
619
655
|
readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
|
|
@@ -839,6 +875,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
839
875
|
readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
|
|
840
876
|
readonly stripe_js: string;
|
|
841
877
|
}
|
|
878
|
+
interface ThreeDSecureUsage {
|
|
879
|
+
readonly supported?: boolean;
|
|
880
|
+
}
|
|
842
881
|
interface Token {
|
|
843
882
|
readonly id: string;
|
|
844
883
|
readonly object: string;
|
|
@@ -872,7 +911,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
872
911
|
}
|
|
873
912
|
declare namespace io.flow.stripe.v0.unions {
|
|
874
913
|
type CardWallet = io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout;
|
|
914
|
+
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
|
|
875
915
|
type PaymentMethodDetails = io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
|
|
916
|
+
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
|
|
876
917
|
}
|
|
877
918
|
declare namespace io.flow.units.v0.enums {
|
|
878
919
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
@@ -1705,17 +1746,17 @@ declare namespace io.flow.ben.test.internal.v0.unions {
|
|
|
1705
1746
|
type GenerateLoad = io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
|
|
1706
1747
|
}
|
|
1707
1748
|
declare namespace io.flow.apple.pay.v0.enums {
|
|
1708
|
-
type ApplePayContactField = 'email' | 'name' | 'phone' | '
|
|
1749
|
+
type ApplePayContactField = 'email' | 'name' | 'phone' | 'postal_address' | 'phonetic_name';
|
|
1709
1750
|
type ApplePayLineItemType = 'final' | 'pending';
|
|
1710
1751
|
type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
|
|
1711
|
-
type ApplePayShippingType = 'shipping' | 'delivery' | '
|
|
1752
|
+
type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
|
|
1712
1753
|
type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
|
|
1713
1754
|
}
|
|
1714
1755
|
declare namespace io.flow.apple.pay.v0.models {
|
|
1715
1756
|
interface ApplePayLineItem {
|
|
1716
1757
|
readonly label: string;
|
|
1717
1758
|
readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
1718
|
-
readonly amount:
|
|
1759
|
+
readonly amount: number;
|
|
1719
1760
|
}
|
|
1720
1761
|
interface ApplePayPaymentContact {
|
|
1721
1762
|
readonly email_address?: string;
|
|
@@ -1762,7 +1803,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
1762
1803
|
interface ApplePayShippingMethod {
|
|
1763
1804
|
readonly label: string;
|
|
1764
1805
|
readonly detail: string;
|
|
1765
|
-
readonly amount:
|
|
1806
|
+
readonly amount: number;
|
|
1766
1807
|
readonly identifier: string;
|
|
1767
1808
|
}
|
|
1768
1809
|
}
|
|
@@ -8046,6 +8087,11 @@ declare namespace io.flow.v0.models {
|
|
|
8046
8087
|
readonly starts_at?: string;
|
|
8047
8088
|
readonly ends_at?: string;
|
|
8048
8089
|
}
|
|
8090
|
+
interface PendingTransaction {
|
|
8091
|
+
readonly id: string;
|
|
8092
|
+
readonly reason: io.flow.v0.enums.TransactionPayoutPendingReason;
|
|
8093
|
+
readonly reason_set_at: string;
|
|
8094
|
+
}
|
|
8049
8095
|
interface PercentMargin {
|
|
8050
8096
|
readonly discriminator: 'percent_margin';
|
|
8051
8097
|
readonly percentage: number;
|
|
@@ -10490,6 +10536,19 @@ declare namespace io.flow.v0.models {
|
|
|
10490
10536
|
readonly cvv_result?: io.flow.v0.models.CvvResult;
|
|
10491
10537
|
readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard;
|
|
10492
10538
|
}
|
|
10539
|
+
interface TransactionMetadataChannel {
|
|
10540
|
+
readonly discriminator: 'channel';
|
|
10541
|
+
readonly method: string;
|
|
10542
|
+
readonly card?: io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
10543
|
+
}
|
|
10544
|
+
interface TransactionMetadataChannelCardMetadata {
|
|
10545
|
+
readonly type: io.flow.v0.enums.CardType;
|
|
10546
|
+
readonly issuer: io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
|
10547
|
+
}
|
|
10548
|
+
interface TransactionMetadataChannelCardMetadataIssuerSummary {
|
|
10549
|
+
readonly iin: string;
|
|
10550
|
+
readonly country: string;
|
|
10551
|
+
}
|
|
10493
10552
|
interface TransactionMetadataShippingLabel {
|
|
10494
10553
|
readonly discriminator: 'shipping_label';
|
|
10495
10554
|
readonly request_method?: io.flow.v0.enums.LabelRequestMethod;
|
|
@@ -10852,7 +10911,7 @@ declare namespace io.flow.v0.unions {
|
|
|
10852
10911
|
type Token = io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken;
|
|
10853
10912
|
type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference;
|
|
10854
10913
|
type TransactionDetails = io.flow.v0.models.TransactionDetailsCard;
|
|
10855
|
-
type TransactionMetadata = io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataTrueup;
|
|
10914
|
+
type TransactionMetadata = io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup;
|
|
10856
10915
|
}
|
|
10857
10916
|
export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
10858
10917
|
export declare type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
|
|
@@ -12048,6 +12107,7 @@ export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizat
|
|
|
12048
12107
|
export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
12049
12108
|
export declare type PeakSurchargeRatecardFee = io.flow.v0.models.PeakSurchargeRatecardFee;
|
|
12050
12109
|
export declare type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
|
|
12110
|
+
export declare type PendingTransaction = io.flow.v0.models.PendingTransaction;
|
|
12051
12111
|
export declare type PercentMargin = io.flow.v0.models.PercentMargin;
|
|
12052
12112
|
export declare type PermissionAudit = io.flow.v0.models.PermissionAudit;
|
|
12053
12113
|
export declare type PermissionCheck = io.flow.v0.models.PermissionCheck;
|
|
@@ -12511,6 +12571,9 @@ export declare type Transaction = io.flow.v0.models.Transaction;
|
|
|
12511
12571
|
export declare type TransactionDetails = io.flow.v0.unions.TransactionDetails;
|
|
12512
12572
|
export declare type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard;
|
|
12513
12573
|
export declare type TransactionMetadata = io.flow.v0.unions.TransactionMetadata;
|
|
12574
|
+
export declare type TransactionMetadataChannel = io.flow.v0.models.TransactionMetadataChannel;
|
|
12575
|
+
export declare type TransactionMetadataChannelCardMetadata = io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
12576
|
+
export declare type TransactionMetadataChannelCardMetadataIssuerSummary = io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
|
12514
12577
|
export declare type TransactionMetadataShippingLabel = io.flow.v0.models.TransactionMetadataShippingLabel;
|
|
12515
12578
|
export declare type TransactionMetadataTrueup = io.flow.v0.models.TransactionMetadataTrueup;
|
|
12516
12579
|
export declare type TransactionMetadataTrueupData = io.flow.v0.models.TransactionMetadataTrueupData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.72",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "2eaa54ec47aea1e42dad859077feb3852172583c"
|
|
29
29
|
}
|