@flowio/types 11.23.3 → 11.23.5

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.
@@ -6606,7 +6606,7 @@ declare namespace io.flow.svb.v0.models {
6606
6606
  }
6607
6607
  declare namespace io.flow.payment.gateway.v0.enums {
6608
6608
  type InlineWindowViewportSize = 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive';
6609
- type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | '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';
6609
+ type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'ideal_select_issuer' | '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';
6610
6610
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
6611
6611
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
6612
6612
  type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay';
@@ -9863,7 +9863,7 @@ declare namespace io.flow.internal.v0.enums {
9863
9863
  type ShopifyService = 'payment' | 'duty_tax_calculator';
9864
9864
  type SignificanceAction = 'end_and_implement_winner' | 'end_and_revert' | 'do_nothing';
9865
9865
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
9866
- type StatementStatus = 'created' | 'no_transactions' | 'transactions_assigned' | 'statement_generated' | 'statement_regenerated';
9866
+ type StatementStatus = 'created' | 'no_transactions' | 'transactions_assigned' | 'statement_generated' | 'statement_regenerated' | 'failed';
9867
9867
  type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
9868
9868
  type Status = 'draft' | 'scheduled' | 'live' | 'ended' | 'archived';
9869
9869
  type SubscriptionFrequency = 'yearly' | 'monthly';
package/dist/api.d.ts CHANGED
@@ -2343,7 +2343,7 @@ 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' | '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';
2346
+ type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'ideal_select_issuer' | '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';
@@ -2367,6 +2367,7 @@ declare namespace io.flow.v0.enums {
2367
2367
  type RatecardOwner = 'flow' | 'organization';
2368
2368
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
2369
2369
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
2370
+ type RegionType = 'state' | 'province' | 'jurisdiction';
2370
2371
  type ReturnItemStatus = 'returnable' | 'non-returnable';
2371
2372
  type ReturnPolicyState = 'current' | 'deleting' | 'updating';
2372
2373
  type ReturnStatus = 'open' | 'refunded';
@@ -2406,7 +2407,6 @@ declare namespace io.flow.v0.enums {
2406
2407
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
2407
2408
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2408
2409
  type TradeAgreementStatus = 'supported' | 'not_supported';
2409
- type UncertainBoolean = 'yes' | 'no' | 'i_dont_know';
2410
2410
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
2411
2411
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
2412
2412
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -2509,6 +2509,7 @@ declare namespace io.flow.v0.models {
2509
2509
  }
2510
2510
  interface ActionIdealSelectIssuer {
2511
2511
  readonly type: 'select_ideal_issuer';
2512
+ readonly expires_at?: string;
2512
2513
  readonly issuers: io.flow.v0.models.IdealIssuer[];
2513
2514
  }
2514
2515
  interface ActionRedirect {
@@ -3537,6 +3538,56 @@ declare namespace io.flow.v0.models {
3537
3538
  readonly defaults: io.flow.v0.models.OrganizationDefaults;
3538
3539
  readonly attributes?: Record<string, string>;
3539
3540
  }
3541
+ interface ChannelOrganizationApplication {
3542
+ readonly id: string;
3543
+ readonly organization: io.flow.v0.models.OrganizationSummary;
3544
+ readonly company?: io.flow.v0.models.MerchantInfo;
3545
+ readonly indirect_tax_number?: number;
3546
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
3547
+ readonly beneficiary?: string;
3548
+ readonly business_url?: string;
3549
+ readonly business_description?: string;
3550
+ readonly business_address?: io.flow.v0.models.Address;
3551
+ readonly refund_percentage?: number;
3552
+ readonly chargeback_percentage?: number;
3553
+ readonly bank_account_number?: string;
3554
+ readonly aba_routing_transit_number?: string;
3555
+ readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
3556
+ readonly other_trade_sector?: string;
3557
+ readonly third_party_logistics_partner?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
3558
+ readonly average_order_weight?: number;
3559
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
3560
+ readonly monthly_average_volume?: number;
3561
+ readonly monthly_average_transactions?: number;
3562
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
3563
+ readonly default_country_of_origin?: boolean;
3564
+ readonly ratecard_id?: string;
3565
+ readonly created_at: string;
3566
+ }
3567
+ interface ChannelOrganizationApplicationForm {
3568
+ readonly organization_id: string;
3569
+ readonly company?: io.flow.v0.models.MerchantInfo;
3570
+ readonly indirect_tax_number?: number;
3571
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
3572
+ readonly beneficiary?: string;
3573
+ readonly business_url?: string;
3574
+ readonly business_description?: string;
3575
+ readonly business_address?: io.flow.v0.models.Address;
3576
+ readonly refund_percentage?: number;
3577
+ readonly chargeback_percentage?: number;
3578
+ readonly bank_account_number?: string;
3579
+ readonly aba_routing_transit_number?: string;
3580
+ readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
3581
+ readonly other_trade_sector?: string;
3582
+ readonly third_party_logistics_partner?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
3583
+ readonly average_order_weight?: number;
3584
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
3585
+ readonly monthly_average_volume?: number;
3586
+ readonly monthly_average_transactions?: number;
3587
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
3588
+ readonly default_country_of_origin?: boolean;
3589
+ readonly ratecard_id?: string;
3590
+ }
3540
3591
  interface ChannelOrganizationAuthorization {
3541
3592
  readonly placeholder?: string;
3542
3593
  }
@@ -6132,6 +6183,12 @@ declare namespace io.flow.v0.models {
6132
6183
  readonly amount: number;
6133
6184
  readonly currency: string;
6134
6185
  }
6186
+ interface MerchantInfo {
6187
+ readonly legal_name?: string;
6188
+ readonly country: string;
6189
+ readonly region: io.flow.v0.enums.RegionType;
6190
+ readonly region_value: string;
6191
+ }
6135
6192
  interface MerchantOfRecordAuthorizationForm {
6136
6193
  readonly discriminator: 'merchant_of_record_authorization_form';
6137
6194
  readonly token: string;
@@ -6221,116 +6278,6 @@ declare namespace io.flow.v0.models {
6221
6278
  readonly min: number;
6222
6279
  readonly max: number;
6223
6280
  }
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
6281
  interface OnlineAuthorization {
6335
6282
  readonly discriminator: 'online_authorization';
6336
6283
  readonly id: string;
@@ -7359,6 +7306,7 @@ declare namespace io.flow.v0.models {
7359
7306
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
7360
7307
  readonly amount: number;
7361
7308
  readonly currency: string;
7309
+ readonly created_at?: string;
7362
7310
  readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails;
7363
7311
  }
7364
7312
  interface PaymentDeleted {
@@ -7589,6 +7537,7 @@ declare namespace io.flow.v0.models {
7589
7537
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
7590
7538
  readonly amount: number;
7591
7539
  readonly currency: string;
7540
+ readonly created_at?: string;
7592
7541
  readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
7593
7542
  }
7594
7543
  interface PaymentProcessor {
@@ -9700,6 +9649,10 @@ declare namespace io.flow.v0.models {
9700
9649
  interface ThirdPartyLogisticsPartner {
9701
9650
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
9702
9651
  readonly warehouse_url?: string;
9652
+ readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
9653
+ readonly pickup_location: io.flow.v0.models.BillingAddress;
9654
+ readonly pickup_instructions?: string;
9655
+ readonly operations_contact: io.flow.v0.models.Contact;
9703
9656
  }
9704
9657
  interface ThirdPartyLogisticsPickUpTimeWindow {
9705
9658
  readonly from: string;
@@ -10466,6 +10419,8 @@ export declare type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDe
10466
10419
  export declare type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
10467
10420
  export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
10468
10421
  export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
10422
+ export declare type ChannelOrganizationApplication = io.flow.v0.models.ChannelOrganizationApplication;
10423
+ export declare type ChannelOrganizationApplicationForm = io.flow.v0.models.ChannelOrganizationApplicationForm;
10469
10424
  export declare type ChannelOrganizationAuthorization = io.flow.v0.models.ChannelOrganizationAuthorization;
10470
10425
  export declare type ChannelOrganizationAuthorizationForm = io.flow.v0.models.ChannelOrganizationAuthorizationForm;
10471
10426
  export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
@@ -11001,6 +10956,7 @@ export declare type MerchantGiftCardRedemption = io.flow.v0.models.MerchantGiftC
11001
10956
  export declare type MerchantGiftCardRedemptionForm = io.flow.v0.models.MerchantGiftCardRedemptionForm;
11002
10957
  export declare type MerchantGiftCardReversal = io.flow.v0.models.MerchantGiftCardReversal;
11003
10958
  export declare type MerchantGiftCardReversalForm = io.flow.v0.models.MerchantGiftCardReversalForm;
10959
+ export declare type MerchantInfo = io.flow.v0.models.MerchantInfo;
11004
10960
  export declare type MerchantOfRecord = io.flow.v0.enums.MerchantOfRecord;
11005
10961
  export declare type MerchantOfRecordAuthorizationForm = io.flow.v0.models.MerchantOfRecordAuthorizationForm;
11006
10962
  export declare type MerchantOfRecordEntity = io.flow.v0.models.MerchantOfRecordEntity;
@@ -11017,19 +10973,7 @@ export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInvent
11017
10973
  export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
11018
10974
  export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
11019
10975
  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
10976
  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
10977
  export declare type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
11034
10978
  export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
11035
10979
  export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
@@ -11450,6 +11394,7 @@ export declare type Region = io.flow.v0.models.Region;
11450
11394
  export declare type RegionReference = io.flow.v0.models.RegionReference;
11451
11395
  export declare type RegionSetting = io.flow.v0.models.RegionSetting;
11452
11396
  export declare type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
11397
+ export declare type RegionType = io.flow.v0.enums.RegionType;
11453
11398
  export declare type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
11454
11399
  export declare type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
11455
11400
  export declare type RepeatDaily = io.flow.v0.models.RepeatDaily;
@@ -11745,7 +11690,6 @@ export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
11745
11690
  export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
11746
11691
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
11747
11692
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
11748
- export declare type UncertainBoolean = io.flow.v0.enums.UncertainBoolean;
11749
11693
  export declare type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;
11750
11694
  export declare type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;
11751
11695
  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",
3
+ "version": "11.23.5",
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": "a4ac670b27bea4060357fda0c13229174f48c854"
28
+ "gitHead": "8d26790d7b5a0972ae0243ebf14d224f1ec78fea"
29
29
  }
@@ -8686,6 +8686,7 @@ declare namespace io.flow.payment.gateway.v0.enums {
8686
8686
  | 'redirect'
8687
8687
  | 'redirect_get'
8688
8688
  | 'redirect_post'
8689
+ | 'ideal_select_issuer'
8689
8690
  | 'use_sdk_klarna_v1'
8690
8691
  | 'use_sdk_applepay_js'
8691
8692
  | 'use_sdk_googlepay'
@@ -13509,7 +13510,8 @@ declare namespace io.flow.internal.v0.enums {
13509
13510
  | 'no_transactions'
13510
13511
  | 'transactions_assigned'
13511
13512
  | 'statement_generated'
13512
- | 'statement_regenerated';
13513
+ | 'statement_regenerated'
13514
+ | 'failed';
13513
13515
  type StatisticType =
13514
13516
  | 'time-to-classify'
13515
13517
  | 'time-to-classify-aggregated'
package/src/api.ts CHANGED
@@ -3478,6 +3478,7 @@ declare namespace io.flow.v0.enums {
3478
3478
  | 'redirect'
3479
3479
  | 'redirect_get'
3480
3480
  | 'redirect_post'
3481
+ | 'ideal_select_issuer'
3481
3482
  | 'use_sdk_klarna_v1'
3482
3483
  | 'use_sdk_applepay_js'
3483
3484
  | 'use_sdk_googlepay'
@@ -3601,6 +3602,7 @@ declare namespace io.flow.v0.enums {
3601
3602
  type RatecardOwner = 'flow' | 'organization';
3602
3603
  type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
3603
3604
  type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
3605
+ type RegionType = 'state' | 'province' | 'jurisdiction';
3604
3606
  type ReturnItemStatus = 'returnable' | 'non-returnable';
3605
3607
  type ReturnPolicyState = 'current' | 'deleting' | 'updating';
3606
3608
  type ReturnStatus = 'open' | 'refunded';
@@ -3714,7 +3716,6 @@ declare namespace io.flow.v0.enums {
3714
3716
  | 'expired';
3715
3717
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3716
3718
  type TradeAgreementStatus = 'supported' | 'not_supported';
3717
- type UncertainBoolean = 'yes' | 'no' | 'i_dont_know';
3718
3719
  type UnitOfMeasurement =
3719
3720
  | 'millimeter'
3720
3721
  | 'centimeter'
@@ -3849,6 +3850,7 @@ declare namespace io.flow.v0.models {
3849
3850
 
3850
3851
  interface ActionIdealSelectIssuer {
3851
3852
  readonly type: 'select_ideal_issuer';
3853
+ readonly expires_at?: string;
3852
3854
  readonly issuers: io.flow.v0.models.IdealIssuer[];
3853
3855
  }
3854
3856
 
@@ -5035,6 +5037,58 @@ declare namespace io.flow.v0.models {
5035
5037
  readonly attributes?: Record<string, string>;
5036
5038
  }
5037
5039
 
5040
+ interface ChannelOrganizationApplication {
5041
+ readonly id: string;
5042
+ readonly organization: io.flow.v0.models.OrganizationSummary;
5043
+ readonly company?: io.flow.v0.models.MerchantInfo;
5044
+ readonly indirect_tax_number?: number;
5045
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
5046
+ readonly beneficiary?: string;
5047
+ readonly business_url?: string;
5048
+ readonly business_description?: string;
5049
+ readonly business_address?: io.flow.v0.models.Address;
5050
+ readonly refund_percentage?: number;
5051
+ readonly chargeback_percentage?: number;
5052
+ readonly bank_account_number?: string;
5053
+ readonly aba_routing_transit_number?: string;
5054
+ readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
5055
+ readonly other_trade_sector?: string;
5056
+ readonly third_party_logistics_partner?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
5057
+ readonly average_order_weight?: number;
5058
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
5059
+ readonly monthly_average_volume?: number;
5060
+ readonly monthly_average_transactions?: number;
5061
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
5062
+ readonly default_country_of_origin?: boolean;
5063
+ readonly ratecard_id?: string;
5064
+ readonly created_at: string;
5065
+ }
5066
+
5067
+ interface ChannelOrganizationApplicationForm {
5068
+ readonly organization_id: string;
5069
+ readonly company?: io.flow.v0.models.MerchantInfo;
5070
+ readonly indirect_tax_number?: number;
5071
+ readonly parent_company?: io.flow.v0.models.MerchantInfo;
5072
+ readonly beneficiary?: string;
5073
+ readonly business_url?: string;
5074
+ readonly business_description?: string;
5075
+ readonly business_address?: io.flow.v0.models.Address;
5076
+ readonly refund_percentage?: number;
5077
+ readonly chargeback_percentage?: number;
5078
+ readonly bank_account_number?: string;
5079
+ readonly aba_routing_transit_number?: string;
5080
+ readonly trade_sector?: io.flow.v0.enums.OnboardingTradeSector[];
5081
+ readonly other_trade_sector?: string;
5082
+ readonly third_party_logistics_partner?: io.flow.v0.models.ThirdPartyLogisticsPartner[];
5083
+ readonly average_order_weight?: number;
5084
+ readonly package_dimensions?: io.flow.v0.models.Dimension[];
5085
+ readonly monthly_average_volume?: number;
5086
+ readonly monthly_average_transactions?: number;
5087
+ readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
5088
+ readonly default_country_of_origin?: boolean;
5089
+ readonly ratecard_id?: string;
5090
+ }
5091
+
5038
5092
  interface ChannelOrganizationAuthorization {
5039
5093
  readonly placeholder?: string;
5040
5094
  }
@@ -8070,6 +8124,13 @@ declare namespace io.flow.v0.models {
8070
8124
  readonly currency: string;
8071
8125
  }
8072
8126
 
8127
+ interface MerchantInfo {
8128
+ readonly legal_name?: string;
8129
+ readonly country: string;
8130
+ readonly region: io.flow.v0.enums.RegionType;
8131
+ readonly region_value: string;
8132
+ }
8133
+
8073
8134
  interface MerchantOfRecordAuthorizationForm {
8074
8135
  readonly discriminator: 'merchant_of_record_authorization_form';
8075
8136
  readonly token: string;
@@ -8173,128 +8234,6 @@ declare namespace io.flow.v0.models {
8173
8234
  readonly max: number;
8174
8235
  }
8175
8236
 
8176
- interface OnboardingBankAccount {
8177
- readonly id: string;
8178
- readonly name?: string;
8179
- readonly address?: io.flow.v0.models.Address;
8180
- readonly contact?: io.flow.v0.models.Contact;
8181
- readonly account_number: string;
8182
- readonly aba_routing_transit_number: string;
8183
- readonly created_at: string;
8184
- }
8185
-
8186
- interface OnboardingBankAccountForm {
8187
- readonly name?: string;
8188
- readonly address?: io.flow.v0.models.Address;
8189
- readonly contact?: io.flow.v0.models.Contact;
8190
- readonly account_number: string;
8191
- readonly aba_routing_transit_number: string;
8192
- }
8193
-
8194
- interface OnboardingClassification {
8195
- readonly id: string;
8196
- readonly country_of_origin_populated: boolean;
8197
- readonly created_at: string;
8198
- }
8199
-
8200
- interface OnboardingClassificationForm {
8201
- readonly country_of_origin_populated: boolean;
8202
- }
8203
-
8204
- interface OnboardingIncorporation {
8205
- readonly country: string;
8206
- readonly state?: string;
8207
- readonly province?: string;
8208
- readonly jurisdiction?: string;
8209
- }
8210
-
8211
- interface OnboardingPayment {
8212
- readonly id: string;
8213
- readonly legal_name: string;
8214
- readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
8215
- readonly indirect_tax_number?: number;
8216
- readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
8217
- readonly beneficiary: string;
8218
- readonly business_url: string;
8219
- readonly business_description: string;
8220
- readonly business_address: io.flow.v0.models.Address;
8221
- readonly refund_percentage: number;
8222
- readonly chargeback_percentage: number;
8223
- readonly created_at: string;
8224
- }
8225
-
8226
- interface OnboardingPaymentForm {
8227
- readonly legal_name: string;
8228
- readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
8229
- readonly indirect_tax_number?: number;
8230
- readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
8231
- readonly beneficiary: string;
8232
- readonly business_url: string;
8233
- readonly business_description: string;
8234
- readonly business_address: io.flow.v0.models.Address;
8235
- readonly refund_percentage: number;
8236
- readonly chargeback_percentage: number;
8237
- }
8238
-
8239
- interface OnboardingPreparerDetails {
8240
- readonly id: string;
8241
- readonly name?: string;
8242
- readonly title?: string;
8243
- readonly company?: string;
8244
- readonly created_at: string;
8245
- }
8246
-
8247
- interface OnboardingPreparerDetailsForm {
8248
- readonly name?: string;
8249
- readonly title?: string;
8250
- readonly company?: string;
8251
- }
8252
-
8253
- interface OnboardingProductLogistics {
8254
- readonly id: string;
8255
- readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
8256
- readonly other_trade_sector?: string;
8257
- readonly shipped_prohibited_products_before: boolean;
8258
- readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
8259
- readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
8260
- readonly pickup_location: io.flow.v0.models.BillingAddress;
8261
- readonly pickup_instructions?: string;
8262
- readonly operations_contact: io.flow.v0.models.Contact;
8263
- readonly average_order_weight?: number;
8264
- readonly package_dimensions: io.flow.v0.models.Dimensions;
8265
- readonly average_order_value?: number;
8266
- readonly maximum_order_value: number;
8267
- readonly monthly_average_volume: number;
8268
- readonly monthly_average_transactions: number;
8269
- readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
8270
- readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
8271
- readonly created_at: string;
8272
- }
8273
-
8274
- interface OnboardingProductLogisticsForm {
8275
- readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
8276
- readonly other_trade_sector?: string;
8277
- readonly shipped_prohibited_products_before: boolean;
8278
- readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
8279
- readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
8280
- readonly pickup_location: io.flow.v0.models.BillingAddress;
8281
- readonly pickup_instructions?: string;
8282
- readonly operations_contact: io.flow.v0.models.Contact;
8283
- readonly average_order_weight?: number;
8284
- readonly package_dimensions: io.flow.v0.models.Dimensions;
8285
- readonly average_order_value?: number;
8286
- readonly maximum_order_value: number;
8287
- readonly monthly_average_volume: number;
8288
- readonly monthly_average_transactions: number;
8289
- readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
8290
- readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
8291
- }
8292
-
8293
- interface OnboardingSubsidiaryCompany {
8294
- readonly legal_name?: string;
8295
- readonly incorporation_country?: io.flow.v0.models.OnboardingIncorporation;
8296
- }
8297
-
8298
8237
  interface OnlineAuthorization {
8299
8238
  readonly discriminator: 'online_authorization';
8300
8239
  readonly id: string;
@@ -9489,6 +9428,7 @@ declare namespace io.flow.v0.models {
9489
9428
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
9490
9429
  readonly amount: number;
9491
9430
  readonly currency: string;
9431
+ readonly created_at?: string;
9492
9432
  readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails;
9493
9433
  }
9494
9434
 
@@ -9764,6 +9704,7 @@ declare namespace io.flow.v0.models {
9764
9704
  readonly order?: io.flow.v0.models.AuthorizationOrderReference;
9765
9705
  readonly amount: number;
9766
9706
  readonly currency: string;
9707
+ readonly created_at?: string;
9767
9708
  readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
9768
9709
  }
9769
9710
 
@@ -12215,6 +12156,10 @@ declare namespace io.flow.v0.models {
12215
12156
  interface ThirdPartyLogisticsPartner {
12216
12157
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
12217
12158
  readonly warehouse_url?: string;
12159
+ readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
12160
+ readonly pickup_location: io.flow.v0.models.BillingAddress;
12161
+ readonly pickup_instructions?: string;
12162
+ readonly operations_contact: io.flow.v0.models.Contact;
12218
12163
  }
12219
12164
 
12220
12165
  interface ThirdPartyLogisticsPickUpTimeWindow {
@@ -13524,6 +13469,10 @@ export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
13524
13469
  export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
13525
13470
  export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
13526
13471
  export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
13472
+ export type ChannelOrganizationApplication =
13473
+ io.flow.v0.models.ChannelOrganizationApplication;
13474
+ export type ChannelOrganizationApplicationForm =
13475
+ io.flow.v0.models.ChannelOrganizationApplicationForm;
13527
13476
  export type ChannelOrganizationAuthorization =
13528
13477
  io.flow.v0.models.ChannelOrganizationAuthorization;
13529
13478
  export type ChannelOrganizationAuthorizationForm =
@@ -14195,6 +14144,7 @@ export type MerchantGiftCardReversal =
14195
14144
  io.flow.v0.models.MerchantGiftCardReversal;
14196
14145
  export type MerchantGiftCardReversalForm =
14197
14146
  io.flow.v0.models.MerchantGiftCardReversalForm;
14147
+ export type MerchantInfo = io.flow.v0.models.MerchantInfo;
14198
14148
  export type MerchantOfRecord = io.flow.v0.enums.MerchantOfRecord;
14199
14149
  export type MerchantOfRecordAuthorizationForm =
14200
14150
  io.flow.v0.models.MerchantOfRecordAuthorizationForm;
@@ -14216,28 +14166,8 @@ export type NoInventoryReservationErrorItem =
14216
14166
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
14217
14167
  export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
14218
14168
  export type NumberRange = io.flow.v0.models.NumberRange;
14219
- export type OnboardingBankAccount = io.flow.v0.models.OnboardingBankAccount;
14220
- export type OnboardingBankAccountForm =
14221
- io.flow.v0.models.OnboardingBankAccountForm;
14222
- export type OnboardingClassification =
14223
- io.flow.v0.models.OnboardingClassification;
14224
- export type OnboardingClassificationForm =
14225
- io.flow.v0.models.OnboardingClassificationForm;
14226
14169
  export type OnboardingDangerousGoods =
14227
14170
  io.flow.v0.enums.OnboardingDangerousGoods;
14228
- export type OnboardingIncorporation = io.flow.v0.models.OnboardingIncorporation;
14229
- export type OnboardingPayment = io.flow.v0.models.OnboardingPayment;
14230
- export type OnboardingPaymentForm = io.flow.v0.models.OnboardingPaymentForm;
14231
- export type OnboardingPreparerDetails =
14232
- io.flow.v0.models.OnboardingPreparerDetails;
14233
- export type OnboardingPreparerDetailsForm =
14234
- io.flow.v0.models.OnboardingPreparerDetailsForm;
14235
- export type OnboardingProductLogistics =
14236
- io.flow.v0.models.OnboardingProductLogistics;
14237
- export type OnboardingProductLogisticsForm =
14238
- io.flow.v0.models.OnboardingProductLogisticsForm;
14239
- export type OnboardingSubsidiaryCompany =
14240
- io.flow.v0.models.OnboardingSubsidiaryCompany;
14241
14171
  export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
14242
14172
  export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
14243
14173
  export type OnlineAuthorizationDeletedV2 =
@@ -14765,6 +14695,7 @@ export type Region = io.flow.v0.models.Region;
14765
14695
  export type RegionReference = io.flow.v0.models.RegionReference;
14766
14696
  export type RegionSetting = io.flow.v0.models.RegionSetting;
14767
14697
  export type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
14698
+ export type RegionType = io.flow.v0.enums.RegionType;
14768
14699
  export type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
14769
14700
  export type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
14770
14701
  export type RepeatDaily = io.flow.v0.models.RepeatDaily;
@@ -15136,7 +15067,6 @@ export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
15136
15067
  export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15137
15068
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
15138
15069
  export type TransitWindow = io.flow.v0.models.TransitWindow;
15139
- export type UncertainBoolean = io.flow.v0.enums.UncertainBoolean;
15140
15070
  export type UnharmonizedItemExportType =
15141
15071
  io.flow.v0.models.UnharmonizedItemExportType;
15142
15072
  export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;