@flowio/types 11.23.4 → 11.23.6
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 +41 -42
- package/dist/api.d.ts +109 -140
- package/package.json +2 -2
- package/src/api-internal.ts +52 -50
- package/src/api.ts +132 -161
package/dist/api.d.ts
CHANGED
|
@@ -2343,15 +2343,16 @@ declare namespace io.flow.v0.enums {
|
|
|
2343
2343
|
type OrderType = 'standard' | 'replacement';
|
|
2344
2344
|
type OrganizationPaymentMethodTag = 'deny';
|
|
2345
2345
|
type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
|
|
2346
|
-
type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | '
|
|
2346
|
+
type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
2347
2347
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
2348
2348
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
|
|
2349
2349
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
2350
|
+
type PaymentMethodDataOptionType = 'ideal_issuer_option';
|
|
2350
2351
|
type PaymentMethodRuleContentKey = 'description';
|
|
2351
2352
|
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
2352
2353
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
2353
2354
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
2354
|
-
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay';
|
|
2355
|
+
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
|
|
2355
2356
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
2356
2357
|
type PhysicalDeliverySpecialSerivce = 'cold_storage' | 'hazardous' | 'perishable';
|
|
2357
2358
|
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
@@ -2367,6 +2368,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2367
2368
|
type RatecardOwner = 'flow' | 'organization';
|
|
2368
2369
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
2369
2370
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
2371
|
+
type RegionType = 'state' | 'province' | 'jurisdiction';
|
|
2370
2372
|
type ReturnItemStatus = 'returnable' | 'non-returnable';
|
|
2371
2373
|
type ReturnPolicyState = 'current' | 'deleting' | 'updating';
|
|
2372
2374
|
type ReturnStatus = 'open' | 'refunded';
|
|
@@ -2406,7 +2408,6 @@ declare namespace io.flow.v0.enums {
|
|
|
2406
2408
|
type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
|
|
2407
2409
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
2408
2410
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2409
|
-
type UncertainBoolean = 'yes' | 'no' | 'i_dont_know';
|
|
2410
2411
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2411
2412
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
2412
2413
|
type UpdatePolicy = 'auto' | 'queue' | 'discard';
|
|
@@ -2507,10 +2508,6 @@ declare namespace io.flow.v0.models {
|
|
|
2507
2508
|
readonly expires_at?: string;
|
|
2508
2509
|
readonly script: string;
|
|
2509
2510
|
}
|
|
2510
|
-
interface ActionIdealSelectIssuer {
|
|
2511
|
-
readonly type: 'select_ideal_issuer';
|
|
2512
|
-
readonly issuers: io.flow.v0.models.IdealIssuer[];
|
|
2513
|
-
}
|
|
2514
2511
|
interface ActionRedirect {
|
|
2515
2512
|
readonly type: 'redirect';
|
|
2516
2513
|
readonly expires_at?: string;
|
|
@@ -2518,6 +2515,12 @@ declare namespace io.flow.v0.models {
|
|
|
2518
2515
|
readonly url: string;
|
|
2519
2516
|
readonly data?: any;
|
|
2520
2517
|
}
|
|
2518
|
+
interface ActionSelectPaymentOption {
|
|
2519
|
+
readonly type: 'select_payment_option';
|
|
2520
|
+
readonly expires_at?: string;
|
|
2521
|
+
readonly options: io.flow.v0.models.PaymentMethodDataPaymentOption[];
|
|
2522
|
+
readonly option_type: io.flow.v0.enums.PaymentMethodDataOptionType;
|
|
2523
|
+
}
|
|
2521
2524
|
interface ActionUseSdkAdyenV3 {
|
|
2522
2525
|
readonly type: 'use_sdk_adyen_v3';
|
|
2523
2526
|
readonly expires_at?: string;
|
|
@@ -3537,6 +3540,56 @@ declare namespace io.flow.v0.models {
|
|
|
3537
3540
|
readonly defaults: io.flow.v0.models.OrganizationDefaults;
|
|
3538
3541
|
readonly attributes?: Record<string, string>;
|
|
3539
3542
|
}
|
|
3543
|
+
interface ChannelOrganizationApplication {
|
|
3544
|
+
readonly id: string;
|
|
3545
|
+
readonly organization: io.flow.v0.models.OrganizationSummary;
|
|
3546
|
+
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
3547
|
+
readonly indirect_tax_number?: number;
|
|
3548
|
+
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
3549
|
+
readonly beneficiary?: string;
|
|
3550
|
+
readonly business_url?: string;
|
|
3551
|
+
readonly business_description?: string;
|
|
3552
|
+
readonly business_address?: io.flow.v0.models.Address;
|
|
3553
|
+
readonly refund_percentage?: number;
|
|
3554
|
+
readonly chargeback_percentage?: number;
|
|
3555
|
+
readonly bank_account_number?: string;
|
|
3556
|
+
readonly aba_routing_transit_number?: string;
|
|
3557
|
+
readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
|
|
3558
|
+
readonly other_trade_sector?: string;
|
|
3559
|
+
readonly third_party_logistics_partner?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
|
|
3560
|
+
readonly average_order_weight?: number;
|
|
3561
|
+
readonly package_dimensions?: io.flow.v0.models.Dimension[];
|
|
3562
|
+
readonly monthly_average_volume?: number;
|
|
3563
|
+
readonly monthly_average_transactions?: number;
|
|
3564
|
+
readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
3565
|
+
readonly default_country_of_origin?: boolean;
|
|
3566
|
+
readonly ratecard_id?: string;
|
|
3567
|
+
readonly created_at: string;
|
|
3568
|
+
}
|
|
3569
|
+
interface ChannelOrganizationApplicationForm {
|
|
3570
|
+
readonly organization_id: string;
|
|
3571
|
+
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
3572
|
+
readonly indirect_tax_number?: number;
|
|
3573
|
+
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
3574
|
+
readonly beneficiary?: string;
|
|
3575
|
+
readonly business_url?: string;
|
|
3576
|
+
readonly business_description?: string;
|
|
3577
|
+
readonly business_address?: io.flow.v0.models.Address;
|
|
3578
|
+
readonly refund_percentage?: number;
|
|
3579
|
+
readonly chargeback_percentage?: number;
|
|
3580
|
+
readonly bank_account_number?: string;
|
|
3581
|
+
readonly aba_routing_transit_number?: string;
|
|
3582
|
+
readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
|
|
3583
|
+
readonly other_trade_sector?: string;
|
|
3584
|
+
readonly third_party_logistics_partner?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
|
|
3585
|
+
readonly average_order_weight?: number;
|
|
3586
|
+
readonly package_dimensions?: io.flow.v0.models.Dimension[];
|
|
3587
|
+
readonly monthly_average_volume?: number;
|
|
3588
|
+
readonly monthly_average_transactions?: number;
|
|
3589
|
+
readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
3590
|
+
readonly default_country_of_origin?: boolean;
|
|
3591
|
+
readonly ratecard_id?: string;
|
|
3592
|
+
}
|
|
3540
3593
|
interface ChannelOrganizationAuthorization {
|
|
3541
3594
|
readonly placeholder?: string;
|
|
3542
3595
|
}
|
|
@@ -5310,11 +5363,6 @@ declare namespace io.flow.v0.models {
|
|
|
5310
5363
|
readonly number: string;
|
|
5311
5364
|
readonly code: string;
|
|
5312
5365
|
}
|
|
5313
|
-
interface IdealIssuer {
|
|
5314
|
-
readonly id: string;
|
|
5315
|
-
readonly name: string;
|
|
5316
|
-
readonly images?: io.flow.v0.models.PaymentMethodImages;
|
|
5317
|
-
}
|
|
5318
5366
|
interface IdentifierForm {
|
|
5319
5367
|
readonly primary?: boolean;
|
|
5320
5368
|
readonly name: string;
|
|
@@ -6132,6 +6180,12 @@ declare namespace io.flow.v0.models {
|
|
|
6132
6180
|
readonly amount: number;
|
|
6133
6181
|
readonly currency: string;
|
|
6134
6182
|
}
|
|
6183
|
+
interface MerchantInfo {
|
|
6184
|
+
readonly legal_name?: string;
|
|
6185
|
+
readonly country: string;
|
|
6186
|
+
readonly region: io.flow.v0.enums.RegionType;
|
|
6187
|
+
readonly region_value: string;
|
|
6188
|
+
}
|
|
6135
6189
|
interface MerchantOfRecordAuthorizationForm {
|
|
6136
6190
|
readonly discriminator: 'merchant_of_record_authorization_form';
|
|
6137
6191
|
readonly token: string;
|
|
@@ -6221,116 +6275,6 @@ declare namespace io.flow.v0.models {
|
|
|
6221
6275
|
readonly min: number;
|
|
6222
6276
|
readonly max: number;
|
|
6223
6277
|
}
|
|
6224
|
-
interface OnboardingBankAccount {
|
|
6225
|
-
readonly id: string;
|
|
6226
|
-
readonly name?: string;
|
|
6227
|
-
readonly address?: io.flow.v0.models.Address;
|
|
6228
|
-
readonly contact?: io.flow.v0.models.Contact;
|
|
6229
|
-
readonly account_number: string;
|
|
6230
|
-
readonly aba_routing_transit_number: string;
|
|
6231
|
-
readonly created_at: string;
|
|
6232
|
-
}
|
|
6233
|
-
interface OnboardingBankAccountForm {
|
|
6234
|
-
readonly name?: string;
|
|
6235
|
-
readonly address?: io.flow.v0.models.Address;
|
|
6236
|
-
readonly contact?: io.flow.v0.models.Contact;
|
|
6237
|
-
readonly account_number: string;
|
|
6238
|
-
readonly aba_routing_transit_number: string;
|
|
6239
|
-
}
|
|
6240
|
-
interface OnboardingClassification {
|
|
6241
|
-
readonly id: string;
|
|
6242
|
-
readonly country_of_origin_populated: boolean;
|
|
6243
|
-
readonly created_at: string;
|
|
6244
|
-
}
|
|
6245
|
-
interface OnboardingClassificationForm {
|
|
6246
|
-
readonly country_of_origin_populated: boolean;
|
|
6247
|
-
}
|
|
6248
|
-
interface OnboardingIncorporation {
|
|
6249
|
-
readonly country: string;
|
|
6250
|
-
readonly state?: string;
|
|
6251
|
-
readonly province?: string;
|
|
6252
|
-
readonly jurisdiction?: string;
|
|
6253
|
-
}
|
|
6254
|
-
interface OnboardingPayment {
|
|
6255
|
-
readonly id: string;
|
|
6256
|
-
readonly legal_name: string;
|
|
6257
|
-
readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
|
|
6258
|
-
readonly indirect_tax_number?: number;
|
|
6259
|
-
readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
6260
|
-
readonly beneficiary: string;
|
|
6261
|
-
readonly business_url: string;
|
|
6262
|
-
readonly business_description: string;
|
|
6263
|
-
readonly business_address: io.flow.v0.models.Address;
|
|
6264
|
-
readonly refund_percentage: number;
|
|
6265
|
-
readonly chargeback_percentage: number;
|
|
6266
|
-
readonly created_at: string;
|
|
6267
|
-
}
|
|
6268
|
-
interface OnboardingPaymentForm {
|
|
6269
|
-
readonly legal_name: string;
|
|
6270
|
-
readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
|
|
6271
|
-
readonly indirect_tax_number?: number;
|
|
6272
|
-
readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
6273
|
-
readonly beneficiary: string;
|
|
6274
|
-
readonly business_url: string;
|
|
6275
|
-
readonly business_description: string;
|
|
6276
|
-
readonly business_address: io.flow.v0.models.Address;
|
|
6277
|
-
readonly refund_percentage: number;
|
|
6278
|
-
readonly chargeback_percentage: number;
|
|
6279
|
-
}
|
|
6280
|
-
interface OnboardingPreparerDetails {
|
|
6281
|
-
readonly id: string;
|
|
6282
|
-
readonly name?: string;
|
|
6283
|
-
readonly title?: string;
|
|
6284
|
-
readonly company?: string;
|
|
6285
|
-
readonly created_at: string;
|
|
6286
|
-
}
|
|
6287
|
-
interface OnboardingPreparerDetailsForm {
|
|
6288
|
-
readonly name?: string;
|
|
6289
|
-
readonly title?: string;
|
|
6290
|
-
readonly company?: string;
|
|
6291
|
-
}
|
|
6292
|
-
interface OnboardingProductLogistics {
|
|
6293
|
-
readonly id: string;
|
|
6294
|
-
readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
|
|
6295
|
-
readonly other_trade_sector?: string;
|
|
6296
|
-
readonly shipped_prohibited_products_before: boolean;
|
|
6297
|
-
readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
6298
|
-
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
6299
|
-
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
6300
|
-
readonly pickup_instructions?: string;
|
|
6301
|
-
readonly operations_contact: io.flow.v0.models.Contact;
|
|
6302
|
-
readonly average_order_weight?: number;
|
|
6303
|
-
readonly package_dimensions: io.flow.v0.models.Dimensions;
|
|
6304
|
-
readonly average_order_value?: number;
|
|
6305
|
-
readonly maximum_order_value: number;
|
|
6306
|
-
readonly monthly_average_volume: number;
|
|
6307
|
-
readonly monthly_average_transactions: number;
|
|
6308
|
-
readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
|
|
6309
|
-
readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
6310
|
-
readonly created_at: string;
|
|
6311
|
-
}
|
|
6312
|
-
interface OnboardingProductLogisticsForm {
|
|
6313
|
-
readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
|
|
6314
|
-
readonly other_trade_sector?: string;
|
|
6315
|
-
readonly shipped_prohibited_products_before: boolean;
|
|
6316
|
-
readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
6317
|
-
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
6318
|
-
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
6319
|
-
readonly pickup_instructions?: string;
|
|
6320
|
-
readonly operations_contact: io.flow.v0.models.Contact;
|
|
6321
|
-
readonly average_order_weight?: number;
|
|
6322
|
-
readonly package_dimensions: io.flow.v0.models.Dimensions;
|
|
6323
|
-
readonly average_order_value?: number;
|
|
6324
|
-
readonly maximum_order_value: number;
|
|
6325
|
-
readonly monthly_average_volume: number;
|
|
6326
|
-
readonly monthly_average_transactions: number;
|
|
6327
|
-
readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
|
|
6328
|
-
readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
6329
|
-
}
|
|
6330
|
-
interface OnboardingSubsidiaryCompany {
|
|
6331
|
-
readonly legal_name?: string;
|
|
6332
|
-
readonly incorporation_country?: io.flow.v0.models.OnboardingIncorporation;
|
|
6333
|
-
}
|
|
6334
6278
|
interface OnlineAuthorization {
|
|
6335
6279
|
readonly discriminator: 'online_authorization';
|
|
6336
6280
|
readonly id: string;
|
|
@@ -7359,6 +7303,7 @@ declare namespace io.flow.v0.models {
|
|
|
7359
7303
|
readonly order?: io.flow.v0.models.AuthorizationOrderReference;
|
|
7360
7304
|
readonly amount: number;
|
|
7361
7305
|
readonly currency: string;
|
|
7306
|
+
readonly created_at?: string;
|
|
7362
7307
|
readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
7363
7308
|
}
|
|
7364
7309
|
interface PaymentDeleted {
|
|
@@ -7471,6 +7416,10 @@ declare namespace io.flow.v0.models {
|
|
|
7471
7416
|
readonly type: 'init_applepay';
|
|
7472
7417
|
readonly placeholder?: string;
|
|
7473
7418
|
}
|
|
7419
|
+
interface PaymentMethodDataInitBancontact {
|
|
7420
|
+
readonly type: 'init_bancontact';
|
|
7421
|
+
readonly placeholder?: string;
|
|
7422
|
+
}
|
|
7474
7423
|
interface PaymentMethodDataInitGooglepay {
|
|
7475
7424
|
readonly type: 'init_googlepay';
|
|
7476
7425
|
readonly placeholder?: string;
|
|
@@ -7491,6 +7440,19 @@ declare namespace io.flow.v0.models {
|
|
|
7491
7440
|
readonly type: 'init_sofort';
|
|
7492
7441
|
readonly placeholder?: string;
|
|
7493
7442
|
}
|
|
7443
|
+
interface PaymentMethodDataOptionLogoSvg {
|
|
7444
|
+
readonly type: 'svg';
|
|
7445
|
+
readonly url: string;
|
|
7446
|
+
}
|
|
7447
|
+
interface PaymentMethodDataPaymentOption {
|
|
7448
|
+
readonly id: string;
|
|
7449
|
+
readonly name: string;
|
|
7450
|
+
readonly logo?: io.flow.v0.unions.PaymentMethodDataOptionLogo[];
|
|
7451
|
+
}
|
|
7452
|
+
interface PaymentMethodDataSelectedPaymentOption {
|
|
7453
|
+
readonly type: 'select_option';
|
|
7454
|
+
readonly option_id: string;
|
|
7455
|
+
}
|
|
7494
7456
|
interface PaymentMethodDataValidateApplepay {
|
|
7495
7457
|
readonly type: 'validate_applepay';
|
|
7496
7458
|
readonly validation_url: string;
|
|
@@ -7530,6 +7492,10 @@ declare namespace io.flow.v0.models {
|
|
|
7530
7492
|
readonly type: 'applepay';
|
|
7531
7493
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7532
7494
|
}
|
|
7495
|
+
interface PaymentMethodSummaryBancontact {
|
|
7496
|
+
readonly type: 'bancontact';
|
|
7497
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7498
|
+
}
|
|
7533
7499
|
interface PaymentMethodSummaryCard {
|
|
7534
7500
|
readonly type: 'card';
|
|
7535
7501
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
@@ -7589,6 +7555,7 @@ declare namespace io.flow.v0.models {
|
|
|
7589
7555
|
readonly order?: io.flow.v0.models.AuthorizationOrderReference;
|
|
7590
7556
|
readonly amount: number;
|
|
7591
7557
|
readonly currency: string;
|
|
7558
|
+
readonly created_at?: string;
|
|
7592
7559
|
readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
7593
7560
|
}
|
|
7594
7561
|
interface PaymentProcessor {
|
|
@@ -9700,6 +9667,10 @@ declare namespace io.flow.v0.models {
|
|
|
9700
9667
|
interface ThirdPartyLogisticsPartner {
|
|
9701
9668
|
readonly warehouse_address: io.flow.v0.models.BillingAddress;
|
|
9702
9669
|
readonly warehouse_url?: string;
|
|
9670
|
+
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
9671
|
+
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
9672
|
+
readonly pickup_instructions?: string;
|
|
9673
|
+
readonly operations_contact: io.flow.v0.models.Contact;
|
|
9703
9674
|
}
|
|
9704
9675
|
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
9705
9676
|
readonly from: string;
|
|
@@ -10163,7 +10134,7 @@ declare namespace io.flow.v0.models {
|
|
|
10163
10134
|
}
|
|
10164
10135
|
declare namespace io.flow.v0.unions {
|
|
10165
10136
|
type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
10166
|
-
type Action = io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.
|
|
10137
|
+
type Action = io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.ActionSelectPaymentOption | io.flow.v0.models.ActionExecuteScript | io.flow.v0.models.ActionDisplayInlineWindow | io.flow.v0.models.ActionWait;
|
|
10167
10138
|
type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
|
|
10168
10139
|
type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
|
|
10169
10140
|
type AllocationDetail = io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail;
|
|
@@ -10219,9 +10190,10 @@ declare namespace io.flow.v0.unions {
|
|
|
10219
10190
|
type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
|
|
10220
10191
|
type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
10221
10192
|
type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
|
|
10222
|
-
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.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.PaymentMethodDataCompleteAuthorizationCard;
|
|
10193
|
+
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.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;
|
|
10223
10194
|
type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
10224
|
-
type
|
|
10195
|
+
type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
10196
|
+
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.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact;
|
|
10225
10197
|
type PaymentMethodTag = {
|
|
10226
10198
|
discriminator: 'organization_payment_method_tag';
|
|
10227
10199
|
value: io.flow.v0.enums.OrganizationPaymentMethodTag;
|
|
@@ -10273,8 +10245,8 @@ export declare type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationFor
|
|
|
10273
10245
|
export declare type Action = io.flow.v0.unions.Action;
|
|
10274
10246
|
export declare type ActionDisplayInlineWindow = io.flow.v0.models.ActionDisplayInlineWindow;
|
|
10275
10247
|
export declare type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
|
|
10276
|
-
export declare type ActionIdealSelectIssuer = io.flow.v0.models.ActionIdealSelectIssuer;
|
|
10277
10248
|
export declare type ActionRedirect = io.flow.v0.models.ActionRedirect;
|
|
10249
|
+
export declare type ActionSelectPaymentOption = io.flow.v0.models.ActionSelectPaymentOption;
|
|
10278
10250
|
export declare type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3;
|
|
10279
10251
|
export declare type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4;
|
|
10280
10252
|
export declare type ActionUseSdkApplepayJsCompleteValidation = io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation;
|
|
@@ -10466,6 +10438,8 @@ export declare type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDe
|
|
|
10466
10438
|
export declare type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
|
|
10467
10439
|
export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
|
|
10468
10440
|
export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
|
|
10441
|
+
export declare type ChannelOrganizationApplication = io.flow.v0.models.ChannelOrganizationApplication;
|
|
10442
|
+
export declare type ChannelOrganizationApplicationForm = io.flow.v0.models.ChannelOrganizationApplicationForm;
|
|
10469
10443
|
export declare type ChannelOrganizationAuthorization = io.flow.v0.models.ChannelOrganizationAuthorization;
|
|
10470
10444
|
export declare type ChannelOrganizationAuthorizationForm = io.flow.v0.models.ChannelOrganizationAuthorizationForm;
|
|
10471
10445
|
export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
|
|
@@ -10843,7 +10817,6 @@ export declare type Hs10Version = io.flow.v0.models.Hs10Version;
|
|
|
10843
10817
|
export declare type Hs6 = io.flow.v0.models.Hs6;
|
|
10844
10818
|
export declare type Hs6CodeDeleted = io.flow.v0.models.Hs6CodeDeleted;
|
|
10845
10819
|
export declare type Hs6CodeUpserted = io.flow.v0.models.Hs6CodeUpserted;
|
|
10846
|
-
export declare type IdealIssuer = io.flow.v0.models.IdealIssuer;
|
|
10847
10820
|
export declare type IdentifierForm = io.flow.v0.models.IdentifierForm;
|
|
10848
10821
|
export declare type Image = io.flow.v0.models.Image;
|
|
10849
10822
|
export declare type ImageForm = io.flow.v0.models.ImageForm;
|
|
@@ -11001,6 +10974,7 @@ export declare type MerchantGiftCardRedemption = io.flow.v0.models.MerchantGiftC
|
|
|
11001
10974
|
export declare type MerchantGiftCardRedemptionForm = io.flow.v0.models.MerchantGiftCardRedemptionForm;
|
|
11002
10975
|
export declare type MerchantGiftCardReversal = io.flow.v0.models.MerchantGiftCardReversal;
|
|
11003
10976
|
export declare type MerchantGiftCardReversalForm = io.flow.v0.models.MerchantGiftCardReversalForm;
|
|
10977
|
+
export declare type MerchantInfo = io.flow.v0.models.MerchantInfo;
|
|
11004
10978
|
export declare type MerchantOfRecord = io.flow.v0.enums.MerchantOfRecord;
|
|
11005
10979
|
export declare type MerchantOfRecordAuthorizationForm = io.flow.v0.models.MerchantOfRecordAuthorizationForm;
|
|
11006
10980
|
export declare type MerchantOfRecordEntity = io.flow.v0.models.MerchantOfRecordEntity;
|
|
@@ -11017,19 +10991,7 @@ export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInvent
|
|
|
11017
10991
|
export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
11018
10992
|
export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
11019
10993
|
export declare type NumberRange = io.flow.v0.models.NumberRange;
|
|
11020
|
-
export declare type OnboardingBankAccount = io.flow.v0.models.OnboardingBankAccount;
|
|
11021
|
-
export declare type OnboardingBankAccountForm = io.flow.v0.models.OnboardingBankAccountForm;
|
|
11022
|
-
export declare type OnboardingClassification = io.flow.v0.models.OnboardingClassification;
|
|
11023
|
-
export declare type OnboardingClassificationForm = io.flow.v0.models.OnboardingClassificationForm;
|
|
11024
10994
|
export declare type OnboardingDangerousGoods = io.flow.v0.enums.OnboardingDangerousGoods;
|
|
11025
|
-
export declare type OnboardingIncorporation = io.flow.v0.models.OnboardingIncorporation;
|
|
11026
|
-
export declare type OnboardingPayment = io.flow.v0.models.OnboardingPayment;
|
|
11027
|
-
export declare type OnboardingPaymentForm = io.flow.v0.models.OnboardingPaymentForm;
|
|
11028
|
-
export declare type OnboardingPreparerDetails = io.flow.v0.models.OnboardingPreparerDetails;
|
|
11029
|
-
export declare type OnboardingPreparerDetailsForm = io.flow.v0.models.OnboardingPreparerDetailsForm;
|
|
11030
|
-
export declare type OnboardingProductLogistics = io.flow.v0.models.OnboardingProductLogistics;
|
|
11031
|
-
export declare type OnboardingProductLogisticsForm = io.flow.v0.models.OnboardingProductLogisticsForm;
|
|
11032
|
-
export declare type OnboardingSubsidiaryCompany = io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
11033
10995
|
export declare type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
|
|
11034
10996
|
export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
|
|
11035
10997
|
export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
|
|
@@ -11252,11 +11214,17 @@ export declare type PaymentMethodDataAuthorizePaypal = io.flow.v0.models.Payment
|
|
|
11252
11214
|
export declare type PaymentMethodDataCompleteAuthorizationCard = io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
11253
11215
|
export declare type PaymentMethodDataInitAfterpay = io.flow.v0.models.PaymentMethodDataInitAfterpay;
|
|
11254
11216
|
export declare type PaymentMethodDataInitApplepay = io.flow.v0.models.PaymentMethodDataInitApplepay;
|
|
11217
|
+
export declare type PaymentMethodDataInitBancontact = io.flow.v0.models.PaymentMethodDataInitBancontact;
|
|
11255
11218
|
export declare type PaymentMethodDataInitGooglepay = io.flow.v0.models.PaymentMethodDataInitGooglepay;
|
|
11256
11219
|
export declare type PaymentMethodDataInitIdeal = io.flow.v0.models.PaymentMethodDataInitIdeal;
|
|
11257
11220
|
export declare type PaymentMethodDataInitKlarna = io.flow.v0.models.PaymentMethodDataInitKlarna;
|
|
11258
11221
|
export declare type PaymentMethodDataInitPaypal = io.flow.v0.models.PaymentMethodDataInitPaypal;
|
|
11259
11222
|
export declare type PaymentMethodDataInitSofort = io.flow.v0.models.PaymentMethodDataInitSofort;
|
|
11223
|
+
export declare type PaymentMethodDataOptionLogo = io.flow.v0.unions.PaymentMethodDataOptionLogo;
|
|
11224
|
+
export declare type PaymentMethodDataOptionLogoSvg = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
11225
|
+
export declare type PaymentMethodDataOptionType = io.flow.v0.enums.PaymentMethodDataOptionType;
|
|
11226
|
+
export declare type PaymentMethodDataPaymentOption = io.flow.v0.models.PaymentMethodDataPaymentOption;
|
|
11227
|
+
export declare type PaymentMethodDataSelectedPaymentOption = io.flow.v0.models.PaymentMethodDataSelectedPaymentOption;
|
|
11260
11228
|
export declare type PaymentMethodDataValidateApplepay = io.flow.v0.models.PaymentMethodDataValidateApplepay;
|
|
11261
11229
|
export declare type PaymentMethodImage = io.flow.v0.models.PaymentMethodImage;
|
|
11262
11230
|
export declare type PaymentMethodImages = io.flow.v0.models.PaymentMethodImages;
|
|
@@ -11267,6 +11235,7 @@ export declare type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethod
|
|
|
11267
11235
|
export declare type PaymentMethodSummary = io.flow.v0.unions.PaymentMethodSummary;
|
|
11268
11236
|
export declare type PaymentMethodSummaryAfterpay = io.flow.v0.models.PaymentMethodSummaryAfterpay;
|
|
11269
11237
|
export declare type PaymentMethodSummaryApplepay = io.flow.v0.models.PaymentMethodSummaryApplepay;
|
|
11238
|
+
export declare type PaymentMethodSummaryBancontact = io.flow.v0.models.PaymentMethodSummaryBancontact;
|
|
11270
11239
|
export declare type PaymentMethodSummaryCard = io.flow.v0.models.PaymentMethodSummaryCard;
|
|
11271
11240
|
export declare type PaymentMethodSummaryGooglepay = io.flow.v0.models.PaymentMethodSummaryGooglepay;
|
|
11272
11241
|
export declare type PaymentMethodSummaryIdeal = io.flow.v0.models.PaymentMethodSummaryIdeal;
|
|
@@ -11450,6 +11419,7 @@ export declare type Region = io.flow.v0.models.Region;
|
|
|
11450
11419
|
export declare type RegionReference = io.flow.v0.models.RegionReference;
|
|
11451
11420
|
export declare type RegionSetting = io.flow.v0.models.RegionSetting;
|
|
11452
11421
|
export declare type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
|
|
11422
|
+
export declare type RegionType = io.flow.v0.enums.RegionType;
|
|
11453
11423
|
export declare type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
|
|
11454
11424
|
export declare type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
|
|
11455
11425
|
export declare type RepeatDaily = io.flow.v0.models.RepeatDaily;
|
|
@@ -11745,7 +11715,6 @@ export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
|
|
|
11745
11715
|
export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
|
|
11746
11716
|
export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
|
11747
11717
|
export declare type TransitWindow = io.flow.v0.models.TransitWindow;
|
|
11748
|
-
export declare type UncertainBoolean = io.flow.v0.enums.UncertainBoolean;
|
|
11749
11718
|
export declare type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;
|
|
11750
11719
|
export declare type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;
|
|
11751
11720
|
export declare type UnitOfTime = io.flow.v0.enums.UnitOfTime;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.23.
|
|
3
|
+
"version": "11.23.6",
|
|
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": "61b03b38690bbff0fced499b2608f485158cb283"
|
|
29
29
|
}
|