@flowio/types 11.23.4 → 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.
- package/dist/api-internal.d.ts +1 -1
- package/dist/api.d.ts +68 -124
- package/package.json +2 -2
- package/src/api-internal.ts +2 -1
- package/src/api.ts +73 -144
package/dist/api-internal.d.ts
CHANGED
|
@@ -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
|
@@ -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
|
+
"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": "
|
|
28
|
+
"gitHead": "8d26790d7b5a0972ae0243ebf14d224f1ec78fea"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -13510,7 +13510,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13510
13510
|
| 'no_transactions'
|
|
13511
13511
|
| 'transactions_assigned'
|
|
13512
13512
|
| 'statement_generated'
|
|
13513
|
-
| 'statement_regenerated'
|
|
13513
|
+
| 'statement_regenerated'
|
|
13514
|
+
| 'failed';
|
|
13514
13515
|
type StatisticType =
|
|
13515
13516
|
| 'time-to-classify'
|
|
13516
13517
|
| 'time-to-classify-aggregated'
|
package/src/api.ts
CHANGED
|
@@ -3602,6 +3602,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3602
3602
|
type RatecardOwner = 'flow' | 'organization';
|
|
3603
3603
|
type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown';
|
|
3604
3604
|
type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled';
|
|
3605
|
+
type RegionType = 'state' | 'province' | 'jurisdiction';
|
|
3605
3606
|
type ReturnItemStatus = 'returnable' | 'non-returnable';
|
|
3606
3607
|
type ReturnPolicyState = 'current' | 'deleting' | 'updating';
|
|
3607
3608
|
type ReturnStatus = 'open' | 'refunded';
|
|
@@ -3715,7 +3716,6 @@ declare namespace io.flow.v0.enums {
|
|
|
3715
3716
|
| 'expired';
|
|
3716
3717
|
type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
|
|
3717
3718
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
3718
|
-
type UncertainBoolean = 'yes' | 'no' | 'i_dont_know';
|
|
3719
3719
|
type UnitOfMeasurement =
|
|
3720
3720
|
| 'millimeter'
|
|
3721
3721
|
| 'centimeter'
|
|
@@ -3850,6 +3850,7 @@ declare namespace io.flow.v0.models {
|
|
|
3850
3850
|
|
|
3851
3851
|
interface ActionIdealSelectIssuer {
|
|
3852
3852
|
readonly type: 'select_ideal_issuer';
|
|
3853
|
+
readonly expires_at?: string;
|
|
3853
3854
|
readonly issuers: io.flow.v0.models.IdealIssuer[];
|
|
3854
3855
|
}
|
|
3855
3856
|
|
|
@@ -5036,6 +5037,58 @@ declare namespace io.flow.v0.models {
|
|
|
5036
5037
|
readonly attributes?: Record<string, string>;
|
|
5037
5038
|
}
|
|
5038
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
|
+
|
|
5039
5092
|
interface ChannelOrganizationAuthorization {
|
|
5040
5093
|
readonly placeholder?: string;
|
|
5041
5094
|
}
|
|
@@ -8071,6 +8124,13 @@ declare namespace io.flow.v0.models {
|
|
|
8071
8124
|
readonly currency: string;
|
|
8072
8125
|
}
|
|
8073
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
|
+
|
|
8074
8134
|
interface MerchantOfRecordAuthorizationForm {
|
|
8075
8135
|
readonly discriminator: 'merchant_of_record_authorization_form';
|
|
8076
8136
|
readonly token: string;
|
|
@@ -8174,128 +8234,6 @@ declare namespace io.flow.v0.models {
|
|
|
8174
8234
|
readonly max: number;
|
|
8175
8235
|
}
|
|
8176
8236
|
|
|
8177
|
-
interface OnboardingBankAccount {
|
|
8178
|
-
readonly id: string;
|
|
8179
|
-
readonly name?: string;
|
|
8180
|
-
readonly address?: io.flow.v0.models.Address;
|
|
8181
|
-
readonly contact?: io.flow.v0.models.Contact;
|
|
8182
|
-
readonly account_number: string;
|
|
8183
|
-
readonly aba_routing_transit_number: string;
|
|
8184
|
-
readonly created_at: string;
|
|
8185
|
-
}
|
|
8186
|
-
|
|
8187
|
-
interface OnboardingBankAccountForm {
|
|
8188
|
-
readonly name?: string;
|
|
8189
|
-
readonly address?: io.flow.v0.models.Address;
|
|
8190
|
-
readonly contact?: io.flow.v0.models.Contact;
|
|
8191
|
-
readonly account_number: string;
|
|
8192
|
-
readonly aba_routing_transit_number: string;
|
|
8193
|
-
}
|
|
8194
|
-
|
|
8195
|
-
interface OnboardingClassification {
|
|
8196
|
-
readonly id: string;
|
|
8197
|
-
readonly country_of_origin_populated: boolean;
|
|
8198
|
-
readonly created_at: string;
|
|
8199
|
-
}
|
|
8200
|
-
|
|
8201
|
-
interface OnboardingClassificationForm {
|
|
8202
|
-
readonly country_of_origin_populated: boolean;
|
|
8203
|
-
}
|
|
8204
|
-
|
|
8205
|
-
interface OnboardingIncorporation {
|
|
8206
|
-
readonly country: string;
|
|
8207
|
-
readonly state?: string;
|
|
8208
|
-
readonly province?: string;
|
|
8209
|
-
readonly jurisdiction?: string;
|
|
8210
|
-
}
|
|
8211
|
-
|
|
8212
|
-
interface OnboardingPayment {
|
|
8213
|
-
readonly id: string;
|
|
8214
|
-
readonly legal_name: string;
|
|
8215
|
-
readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
|
|
8216
|
-
readonly indirect_tax_number?: number;
|
|
8217
|
-
readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
8218
|
-
readonly beneficiary: string;
|
|
8219
|
-
readonly business_url: string;
|
|
8220
|
-
readonly business_description: string;
|
|
8221
|
-
readonly business_address: io.flow.v0.models.Address;
|
|
8222
|
-
readonly refund_percentage: number;
|
|
8223
|
-
readonly chargeback_percentage: number;
|
|
8224
|
-
readonly created_at: string;
|
|
8225
|
-
}
|
|
8226
|
-
|
|
8227
|
-
interface OnboardingPaymentForm {
|
|
8228
|
-
readonly legal_name: string;
|
|
8229
|
-
readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
|
|
8230
|
-
readonly indirect_tax_number?: number;
|
|
8231
|
-
readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
8232
|
-
readonly beneficiary: string;
|
|
8233
|
-
readonly business_url: string;
|
|
8234
|
-
readonly business_description: string;
|
|
8235
|
-
readonly business_address: io.flow.v0.models.Address;
|
|
8236
|
-
readonly refund_percentage: number;
|
|
8237
|
-
readonly chargeback_percentage: number;
|
|
8238
|
-
}
|
|
8239
|
-
|
|
8240
|
-
interface OnboardingPreparerDetails {
|
|
8241
|
-
readonly id: string;
|
|
8242
|
-
readonly name?: string;
|
|
8243
|
-
readonly title?: string;
|
|
8244
|
-
readonly company?: string;
|
|
8245
|
-
readonly created_at: string;
|
|
8246
|
-
}
|
|
8247
|
-
|
|
8248
|
-
interface OnboardingPreparerDetailsForm {
|
|
8249
|
-
readonly name?: string;
|
|
8250
|
-
readonly title?: string;
|
|
8251
|
-
readonly company?: string;
|
|
8252
|
-
}
|
|
8253
|
-
|
|
8254
|
-
interface OnboardingProductLogistics {
|
|
8255
|
-
readonly id: string;
|
|
8256
|
-
readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
|
|
8257
|
-
readonly other_trade_sector?: string;
|
|
8258
|
-
readonly shipped_prohibited_products_before: boolean;
|
|
8259
|
-
readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
8260
|
-
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
8261
|
-
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
8262
|
-
readonly pickup_instructions?: string;
|
|
8263
|
-
readonly operations_contact: io.flow.v0.models.Contact;
|
|
8264
|
-
readonly average_order_weight?: number;
|
|
8265
|
-
readonly package_dimensions: io.flow.v0.models.Dimensions;
|
|
8266
|
-
readonly average_order_value?: number;
|
|
8267
|
-
readonly maximum_order_value: number;
|
|
8268
|
-
readonly monthly_average_volume: number;
|
|
8269
|
-
readonly monthly_average_transactions: number;
|
|
8270
|
-
readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
|
|
8271
|
-
readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
8272
|
-
readonly created_at: string;
|
|
8273
|
-
}
|
|
8274
|
-
|
|
8275
|
-
interface OnboardingProductLogisticsForm {
|
|
8276
|
-
readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
|
|
8277
|
-
readonly other_trade_sector?: string;
|
|
8278
|
-
readonly shipped_prohibited_products_before: boolean;
|
|
8279
|
-
readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
8280
|
-
readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
8281
|
-
readonly pickup_location: io.flow.v0.models.BillingAddress;
|
|
8282
|
-
readonly pickup_instructions?: string;
|
|
8283
|
-
readonly operations_contact: io.flow.v0.models.Contact;
|
|
8284
|
-
readonly average_order_weight?: number;
|
|
8285
|
-
readonly package_dimensions: io.flow.v0.models.Dimensions;
|
|
8286
|
-
readonly average_order_value?: number;
|
|
8287
|
-
readonly maximum_order_value: number;
|
|
8288
|
-
readonly monthly_average_volume: number;
|
|
8289
|
-
readonly monthly_average_transactions: number;
|
|
8290
|
-
readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
|
|
8291
|
-
readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
|
|
8292
|
-
}
|
|
8293
|
-
|
|
8294
|
-
interface OnboardingSubsidiaryCompany {
|
|
8295
|
-
readonly legal_name?: string;
|
|
8296
|
-
readonly incorporation_country?: io.flow.v0.models.OnboardingIncorporation;
|
|
8297
|
-
}
|
|
8298
|
-
|
|
8299
8237
|
interface OnlineAuthorization {
|
|
8300
8238
|
readonly discriminator: 'online_authorization';
|
|
8301
8239
|
readonly id: string;
|
|
@@ -9490,6 +9428,7 @@ declare namespace io.flow.v0.models {
|
|
|
9490
9428
|
readonly order?: io.flow.v0.models.AuthorizationOrderReference;
|
|
9491
9429
|
readonly amount: number;
|
|
9492
9430
|
readonly currency: string;
|
|
9431
|
+
readonly created_at?: string;
|
|
9493
9432
|
readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
9494
9433
|
}
|
|
9495
9434
|
|
|
@@ -9765,6 +9704,7 @@ declare namespace io.flow.v0.models {
|
|
|
9765
9704
|
readonly order?: io.flow.v0.models.AuthorizationOrderReference;
|
|
9766
9705
|
readonly amount: number;
|
|
9767
9706
|
readonly currency: string;
|
|
9707
|
+
readonly created_at?: string;
|
|
9768
9708
|
readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
9769
9709
|
}
|
|
9770
9710
|
|
|
@@ -12216,6 +12156,10 @@ declare namespace io.flow.v0.models {
|
|
|
12216
12156
|
interface ThirdPartyLogisticsPartner {
|
|
12217
12157
|
readonly warehouse_address: io.flow.v0.models.BillingAddress;
|
|
12218
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;
|
|
12219
12163
|
}
|
|
12220
12164
|
|
|
12221
12165
|
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
@@ -13525,6 +13469,10 @@ export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
|
|
|
13525
13469
|
export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
|
|
13526
13470
|
export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
|
|
13527
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;
|
|
13528
13476
|
export type ChannelOrganizationAuthorization =
|
|
13529
13477
|
io.flow.v0.models.ChannelOrganizationAuthorization;
|
|
13530
13478
|
export type ChannelOrganizationAuthorizationForm =
|
|
@@ -14196,6 +14144,7 @@ export type MerchantGiftCardReversal =
|
|
|
14196
14144
|
io.flow.v0.models.MerchantGiftCardReversal;
|
|
14197
14145
|
export type MerchantGiftCardReversalForm =
|
|
14198
14146
|
io.flow.v0.models.MerchantGiftCardReversalForm;
|
|
14147
|
+
export type MerchantInfo = io.flow.v0.models.MerchantInfo;
|
|
14199
14148
|
export type MerchantOfRecord = io.flow.v0.enums.MerchantOfRecord;
|
|
14200
14149
|
export type MerchantOfRecordAuthorizationForm =
|
|
14201
14150
|
io.flow.v0.models.MerchantOfRecordAuthorizationForm;
|
|
@@ -14217,28 +14166,8 @@ export type NoInventoryReservationErrorItem =
|
|
|
14217
14166
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
14218
14167
|
export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
14219
14168
|
export type NumberRange = io.flow.v0.models.NumberRange;
|
|
14220
|
-
export type OnboardingBankAccount = io.flow.v0.models.OnboardingBankAccount;
|
|
14221
|
-
export type OnboardingBankAccountForm =
|
|
14222
|
-
io.flow.v0.models.OnboardingBankAccountForm;
|
|
14223
|
-
export type OnboardingClassification =
|
|
14224
|
-
io.flow.v0.models.OnboardingClassification;
|
|
14225
|
-
export type OnboardingClassificationForm =
|
|
14226
|
-
io.flow.v0.models.OnboardingClassificationForm;
|
|
14227
14169
|
export type OnboardingDangerousGoods =
|
|
14228
14170
|
io.flow.v0.enums.OnboardingDangerousGoods;
|
|
14229
|
-
export type OnboardingIncorporation = io.flow.v0.models.OnboardingIncorporation;
|
|
14230
|
-
export type OnboardingPayment = io.flow.v0.models.OnboardingPayment;
|
|
14231
|
-
export type OnboardingPaymentForm = io.flow.v0.models.OnboardingPaymentForm;
|
|
14232
|
-
export type OnboardingPreparerDetails =
|
|
14233
|
-
io.flow.v0.models.OnboardingPreparerDetails;
|
|
14234
|
-
export type OnboardingPreparerDetailsForm =
|
|
14235
|
-
io.flow.v0.models.OnboardingPreparerDetailsForm;
|
|
14236
|
-
export type OnboardingProductLogistics =
|
|
14237
|
-
io.flow.v0.models.OnboardingProductLogistics;
|
|
14238
|
-
export type OnboardingProductLogisticsForm =
|
|
14239
|
-
io.flow.v0.models.OnboardingProductLogisticsForm;
|
|
14240
|
-
export type OnboardingSubsidiaryCompany =
|
|
14241
|
-
io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
14242
14171
|
export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
|
|
14243
14172
|
export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
|
|
14244
14173
|
export type OnlineAuthorizationDeletedV2 =
|
|
@@ -14766,6 +14695,7 @@ export type Region = io.flow.v0.models.Region;
|
|
|
14766
14695
|
export type RegionReference = io.flow.v0.models.RegionReference;
|
|
14767
14696
|
export type RegionSetting = io.flow.v0.models.RegionSetting;
|
|
14768
14697
|
export type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
|
|
14698
|
+
export type RegionType = io.flow.v0.enums.RegionType;
|
|
14769
14699
|
export type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
|
|
14770
14700
|
export type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
|
|
14771
14701
|
export type RepeatDaily = io.flow.v0.models.RepeatDaily;
|
|
@@ -15137,7 +15067,6 @@ export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
|
|
|
15137
15067
|
export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
|
|
15138
15068
|
export type TransitEstimate = io.flow.v0.models.TransitEstimate;
|
|
15139
15069
|
export type TransitWindow = io.flow.v0.models.TransitWindow;
|
|
15140
|
-
export type UncertainBoolean = io.flow.v0.enums.UncertainBoolean;
|
|
15141
15070
|
export type UnharmonizedItemExportType =
|
|
15142
15071
|
io.flow.v0.models.UnharmonizedItemExportType;
|
|
15143
15072
|
export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;
|