@flowio/types 11.20.0 → 11.21.0
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 +151 -17
- package/dist/api.d.ts +71 -4
- package/package.json +2 -2
- package/src/api-internal.ts +183 -12
- package/src/api.ts +84 -2
package/src/api-internal.ts
CHANGED
|
@@ -4043,6 +4043,13 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
4043
4043
|
| 'source.canceled'
|
|
4044
4044
|
| 'source.chargeable'
|
|
4045
4045
|
| 'source.failed';
|
|
4046
|
+
type KlarnaPaymentMethodCategoryType =
|
|
4047
|
+
| 'direct_bank_transfer'
|
|
4048
|
+
| 'direct_debit'
|
|
4049
|
+
| 'pay_later'
|
|
4050
|
+
| 'pay_now'
|
|
4051
|
+
| 'pay_over_time';
|
|
4052
|
+
type KlarnaProduct = 'payment';
|
|
4046
4053
|
type NetworkStatus =
|
|
4047
4054
|
| 'approved_by_network'
|
|
4048
4055
|
| 'declined_by_network'
|
|
@@ -4346,7 +4353,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4346
4353
|
}
|
|
4347
4354
|
|
|
4348
4355
|
interface OrderItem {
|
|
4349
|
-
readonly object
|
|
4356
|
+
readonly object?: string;
|
|
4350
4357
|
readonly amount: number;
|
|
4351
4358
|
readonly currency: string;
|
|
4352
4359
|
readonly description?: string;
|
|
@@ -4588,7 +4595,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4588
4595
|
|
|
4589
4596
|
interface Shipping {
|
|
4590
4597
|
readonly address: io.flow.stripe.v0.models.Address;
|
|
4591
|
-
readonly name
|
|
4598
|
+
readonly name?: string;
|
|
4592
4599
|
readonly phone?: string;
|
|
4593
4600
|
}
|
|
4594
4601
|
|
|
@@ -4611,6 +4618,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4611
4618
|
readonly status: io.flow.stripe.v0.enums.SourceStatus;
|
|
4612
4619
|
readonly type: io.flow.stripe.v0.enums.SourceType;
|
|
4613
4620
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
4621
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
|
|
4614
4622
|
}
|
|
4615
4623
|
|
|
4616
4624
|
interface SourceCard {
|
|
@@ -4641,12 +4649,50 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4641
4649
|
readonly first_name?: string;
|
|
4642
4650
|
readonly last_name?: string;
|
|
4643
4651
|
readonly client_token: string;
|
|
4652
|
+
readonly payment_method_categories?: string;
|
|
4653
|
+
readonly purchase_country?: string;
|
|
4654
|
+
readonly shipping_first_name?: string;
|
|
4655
|
+
readonly shipping_last_name?: string;
|
|
4656
|
+
readonly locale?: string;
|
|
4657
|
+
readonly pay_later_name?: string;
|
|
4658
|
+
readonly pay_later_asset_urls_standard?: string;
|
|
4659
|
+
readonly pay_later_asset_urls_descriptive?: string;
|
|
4660
|
+
readonly pay_now_name?: string;
|
|
4661
|
+
readonly pay_now_asset_urls_standard?: string;
|
|
4662
|
+
readonly pay_now_asset_urls_descriptive?: string;
|
|
4663
|
+
readonly pay_over_time_name?: string;
|
|
4664
|
+
readonly pay_over_time_asset_urls_standard?: string;
|
|
4665
|
+
readonly pay_over_time_asset_urls_descriptive?: string;
|
|
4666
|
+
readonly direct_bank_transfer_name?: string;
|
|
4667
|
+
readonly direct_bank_transfer_asset_urls_standard?: string;
|
|
4668
|
+
readonly direct_bank_transfer_asset_urls_descriptive?: string;
|
|
4669
|
+
readonly direct_debit_name?: string;
|
|
4670
|
+
readonly direct_debit_asset_urls_standard?: string;
|
|
4671
|
+
readonly direct_debit_asset_urls_descriptive?: string;
|
|
4644
4672
|
}
|
|
4645
4673
|
|
|
4646
4674
|
interface SourceKlarnaRequest {
|
|
4647
4675
|
readonly first_name: string;
|
|
4648
4676
|
readonly last_name: string;
|
|
4677
|
+
readonly purchase_country?: string;
|
|
4678
|
+
readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
|
|
4649
4679
|
readonly attachment?: string;
|
|
4680
|
+
readonly shipping_first_name?: string;
|
|
4681
|
+
readonly shipping_last_name?: string;
|
|
4682
|
+
readonly locale?: string;
|
|
4683
|
+
}
|
|
4684
|
+
|
|
4685
|
+
interface SourceOrder {
|
|
4686
|
+
readonly amount?: number;
|
|
4687
|
+
readonly currency?: string;
|
|
4688
|
+
readonly email?: string;
|
|
4689
|
+
readonly items?: io.flow.stripe.v0.models.OrderItem[];
|
|
4690
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
4691
|
+
}
|
|
4692
|
+
|
|
4693
|
+
interface SourceOrderRequest {
|
|
4694
|
+
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
4695
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
4650
4696
|
}
|
|
4651
4697
|
|
|
4652
4698
|
interface SourceRequest {
|
|
@@ -4664,6 +4710,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
4664
4710
|
readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
4665
4711
|
readonly token?: string;
|
|
4666
4712
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
4713
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
4667
4714
|
}
|
|
4668
4715
|
|
|
4669
4716
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -6017,7 +6064,7 @@ declare namespace io.flow.brickftp.v0.models {
|
|
|
6017
6064
|
readonly id: number;
|
|
6018
6065
|
readonly path: string;
|
|
6019
6066
|
readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
|
|
6020
|
-
readonly value:
|
|
6067
|
+
readonly value: any /*object*/;
|
|
6021
6068
|
}
|
|
6022
6069
|
|
|
6023
6070
|
interface BehaviorForm {
|
|
@@ -6256,6 +6303,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6256
6303
|
readonly currency: string;
|
|
6257
6304
|
}
|
|
6258
6305
|
|
|
6306
|
+
interface Applepay {
|
|
6307
|
+
readonly type: 'applepay';
|
|
6308
|
+
readonly applePayToken: string;
|
|
6309
|
+
}
|
|
6310
|
+
|
|
6259
6311
|
interface Authentication {
|
|
6260
6312
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
6261
6313
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -6283,6 +6335,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6283
6335
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6284
6336
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
6285
6337
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
6338
|
+
readonly mcc?: string;
|
|
6339
|
+
readonly metadata?: any /*object*/;
|
|
6286
6340
|
}
|
|
6287
6341
|
|
|
6288
6342
|
interface AuthorizeRequest3D {
|
|
@@ -6439,6 +6493,14 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6439
6493
|
readonly paymentData?: string;
|
|
6440
6494
|
}
|
|
6441
6495
|
|
|
6496
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
6497
|
+
readonly 'threeds2.challengeResult': string;
|
|
6498
|
+
}
|
|
6499
|
+
|
|
6500
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
6501
|
+
readonly 'threeds2.fingerprint': string;
|
|
6502
|
+
}
|
|
6503
|
+
|
|
6442
6504
|
interface PaymentRequest {
|
|
6443
6505
|
readonly reference: string;
|
|
6444
6506
|
readonly merchantAccount: string;
|
|
@@ -6460,7 +6522,9 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6460
6522
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
6461
6523
|
readonly origin?: string;
|
|
6462
6524
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
6463
|
-
readonly
|
|
6525
|
+
readonly returnUrl?: string;
|
|
6526
|
+
readonly mcc?: string;
|
|
6527
|
+
readonly metadata?: any /*object*/;
|
|
6464
6528
|
}
|
|
6465
6529
|
|
|
6466
6530
|
interface PaymentResponse {
|
|
@@ -6516,6 +6580,15 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
6516
6580
|
readonly cvc?: string;
|
|
6517
6581
|
}
|
|
6518
6582
|
|
|
6583
|
+
interface SdkV3OnCompleteData {
|
|
6584
|
+
readonly details: any /*object*/;
|
|
6585
|
+
readonly payment_data?: string;
|
|
6586
|
+
}
|
|
6587
|
+
|
|
6588
|
+
interface SdkV3OnCompleteResult {
|
|
6589
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
6590
|
+
}
|
|
6591
|
+
|
|
6519
6592
|
interface ThreeDSecureData {
|
|
6520
6593
|
readonly authenticationResponse?: string;
|
|
6521
6594
|
readonly cavv?: string;
|
|
@@ -6547,7 +6620,9 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
6547
6620
|
type BrowserInfo =
|
|
6548
6621
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
6549
6622
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
6550
|
-
type PaymentMethodData =
|
|
6623
|
+
type PaymentMethodData =
|
|
6624
|
+
| io.flow.adyen.v0.models.Scheme
|
|
6625
|
+
| io.flow.adyen.v0.models.Applepay;
|
|
6551
6626
|
}
|
|
6552
6627
|
|
|
6553
6628
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -8770,7 +8845,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8770
8845
|
}
|
|
8771
8846
|
|
|
8772
8847
|
interface PaymentContactBilling {
|
|
8773
|
-
readonly first_name
|
|
8848
|
+
readonly first_name?: string;
|
|
8774
8849
|
readonly last_name: string;
|
|
8775
8850
|
readonly company?: string;
|
|
8776
8851
|
readonly email?: string;
|
|
@@ -8778,7 +8853,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8778
8853
|
}
|
|
8779
8854
|
|
|
8780
8855
|
interface PaymentContactShipping {
|
|
8781
|
-
readonly first_name
|
|
8856
|
+
readonly first_name?: string;
|
|
8782
8857
|
readonly last_name: string;
|
|
8783
8858
|
readonly email: string;
|
|
8784
8859
|
readonly phone: string;
|
|
@@ -9979,10 +10054,14 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
9979
10054
|
readonly publishable_key: string;
|
|
9980
10055
|
}
|
|
9981
10056
|
|
|
10057
|
+
interface Error {
|
|
10058
|
+
readonly type?: io.flow.crypto.v0.enums.ErrorType;
|
|
10059
|
+
readonly code?: string;
|
|
10060
|
+
readonly param?: string;
|
|
10061
|
+
}
|
|
10062
|
+
|
|
9982
10063
|
interface ErrorResponse {
|
|
9983
|
-
readonly
|
|
9984
|
-
readonly code: string;
|
|
9985
|
-
readonly param: string;
|
|
10064
|
+
readonly error?: io.flow.crypto.v0.models.Error;
|
|
9986
10065
|
}
|
|
9987
10066
|
|
|
9988
10067
|
interface Payment {
|
|
@@ -10002,7 +10081,6 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
10002
10081
|
readonly recipient: string;
|
|
10003
10082
|
readonly refunded: boolean;
|
|
10004
10083
|
readonly status: io.flow.crypto.v0.enums.PaymentStatus;
|
|
10005
|
-
readonly time_window: number;
|
|
10006
10084
|
}
|
|
10007
10085
|
|
|
10008
10086
|
interface PaymentRequest {
|
|
@@ -12091,6 +12169,7 @@ declare namespace io.flow.organization.v0.enums {
|
|
|
12091
12169
|
| 'solidus'
|
|
12092
12170
|
| 'workarea';
|
|
12093
12171
|
type InvitationErrorCode = 'expired' | 'invalid_email';
|
|
12172
|
+
type ShortIdSourceKey = 'channel' | 'organization';
|
|
12094
12173
|
}
|
|
12095
12174
|
|
|
12096
12175
|
declare namespace io.flow.organization.v0.models {
|
|
@@ -12233,6 +12312,17 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12233
12312
|
interface RegionSettingForm {
|
|
12234
12313
|
readonly status: io.flow.common.v0.enums.AvailabilityStatus;
|
|
12235
12314
|
}
|
|
12315
|
+
|
|
12316
|
+
interface ShortId {
|
|
12317
|
+
readonly id: string;
|
|
12318
|
+
readonly source: io.flow.organization.v0.models.ShortIdSource;
|
|
12319
|
+
readonly identifier: string;
|
|
12320
|
+
}
|
|
12321
|
+
|
|
12322
|
+
interface ShortIdSource {
|
|
12323
|
+
readonly key: io.flow.organization.v0.enums.ShortIdSourceKey;
|
|
12324
|
+
readonly id: string;
|
|
12325
|
+
}
|
|
12236
12326
|
}
|
|
12237
12327
|
|
|
12238
12328
|
declare namespace io.flow.session.v0.models {
|
|
@@ -12489,6 +12579,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12489
12579
|
| 'authorization_invalid_currency'
|
|
12490
12580
|
| 'authorization_amount_exceeds_balance'
|
|
12491
12581
|
| 'address_street1_required';
|
|
12582
|
+
type CheckoutCreateByCartTokenErrorCode = 'cart_token_not_found';
|
|
12492
12583
|
type CheckoutCreateByOrderQuoteErrorCode = 'order_quote_not_found';
|
|
12493
12584
|
type CheckoutCreateBySessionByCustomerTokenErrorCode =
|
|
12494
12585
|
| 'session_not_found'
|
|
@@ -12789,6 +12880,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12789
12880
|
| 'tax_remittance_transaction_deleted'
|
|
12790
12881
|
| 'channel_transaction_upserted'
|
|
12791
12882
|
| 'channel_transaction_deleted'
|
|
12883
|
+
| 'channel_account_upserted'
|
|
12884
|
+
| 'channel_account_deleted'
|
|
12792
12885
|
| 'organization_account_upserted'
|
|
12793
12886
|
| 'organization_account_deleted'
|
|
12794
12887
|
| 'account_transactions_export_request'
|
|
@@ -13220,6 +13313,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13220
13313
|
| 'vat'
|
|
13221
13314
|
| 'duty';
|
|
13222
13315
|
type ShopifyPromotionStatus = 'active' | 'inactive';
|
|
13316
|
+
type ShopifyService = 'payment' | 'duty_tax_calculator';
|
|
13223
13317
|
type SignificanceAction =
|
|
13224
13318
|
| 'end_and_implement_winner'
|
|
13225
13319
|
| 'end_and_revert'
|
|
@@ -14243,6 +14337,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14243
14337
|
readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
14244
14338
|
}
|
|
14245
14339
|
|
|
14340
|
+
interface BlazeCreateByCartToken {
|
|
14341
|
+
readonly discriminator: 'create_by_cart_token';
|
|
14342
|
+
readonly cart_token: string;
|
|
14343
|
+
}
|
|
14344
|
+
|
|
14246
14345
|
interface BlazeExitCheckoutConfirmationMessage {
|
|
14247
14346
|
readonly discriminator: 'exit_checkout_confirmation';
|
|
14248
14347
|
}
|
|
@@ -14493,6 +14592,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14493
14592
|
readonly organization_id_prefix?: string;
|
|
14494
14593
|
}
|
|
14495
14594
|
|
|
14595
|
+
interface ChannelAccount {
|
|
14596
|
+
readonly id: string;
|
|
14597
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
14598
|
+
readonly account: io.flow.internal.v0.models.SimpleAccountReference;
|
|
14599
|
+
}
|
|
14600
|
+
|
|
14601
|
+
interface ChannelAccountDeleted {
|
|
14602
|
+
readonly discriminator: 'channel_account_deleted';
|
|
14603
|
+
readonly event_id: string;
|
|
14604
|
+
readonly timestamp: string;
|
|
14605
|
+
readonly id: string;
|
|
14606
|
+
}
|
|
14607
|
+
|
|
14608
|
+
interface ChannelAccountUpserted {
|
|
14609
|
+
readonly discriminator: 'channel_account_upserted';
|
|
14610
|
+
readonly event_id: string;
|
|
14611
|
+
readonly timestamp: string;
|
|
14612
|
+
readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
|
|
14613
|
+
}
|
|
14614
|
+
|
|
14496
14615
|
interface ChannelCurrency {
|
|
14497
14616
|
readonly id: string;
|
|
14498
14617
|
readonly currency: string;
|
|
@@ -14580,6 +14699,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14580
14699
|
readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
|
|
14581
14700
|
}
|
|
14582
14701
|
|
|
14702
|
+
interface ChannelOrganizationShopify {
|
|
14703
|
+
readonly organization: io.flow.channel.v0.models.ChannelOrganization;
|
|
14704
|
+
readonly tokens: io.flow.internal.v0.models.ShopifyChannelOrganizationTokens[];
|
|
14705
|
+
}
|
|
14706
|
+
|
|
14583
14707
|
interface ChannelOrganizationShopifyForm {
|
|
14584
14708
|
readonly form: io.flow.channel.v0.models.ChannelOrganizationForm;
|
|
14585
14709
|
readonly metadata: io.flow.internal.v0.models.ShopifyMetadata;
|
|
@@ -15077,6 +15201,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15077
15201
|
readonly message: string;
|
|
15078
15202
|
}
|
|
15079
15203
|
|
|
15204
|
+
interface CheckoutCreateByCartTokenError {
|
|
15205
|
+
readonly code: io.flow.internal.v0.enums.CheckoutCreateByCartTokenErrorCode;
|
|
15206
|
+
readonly message: string;
|
|
15207
|
+
}
|
|
15208
|
+
|
|
15209
|
+
interface CheckoutCreateByCartTokenRequestForm {
|
|
15210
|
+
readonly discriminator: 'checkout_create_by_cart_token_request_form';
|
|
15211
|
+
readonly cart_token: string;
|
|
15212
|
+
}
|
|
15213
|
+
|
|
15214
|
+
interface CheckoutCreateByCartTokenResponseError {
|
|
15215
|
+
readonly discriminator: 'checkout_create_by_cart_token_response_error';
|
|
15216
|
+
readonly errors: io.flow.internal.v0.models.CheckoutCreateByCartTokenError[];
|
|
15217
|
+
}
|
|
15218
|
+
|
|
15219
|
+
interface CheckoutCreateByCartTokenResponseSuccess {
|
|
15220
|
+
readonly discriminator: 'checkout_create_by_cart_token_response_success';
|
|
15221
|
+
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
15222
|
+
}
|
|
15223
|
+
|
|
15080
15224
|
interface CheckoutCreateByOrderQuoteError {
|
|
15081
15225
|
readonly code: io.flow.internal.v0.enums.CheckoutCreateByOrderQuoteErrorCode;
|
|
15082
15226
|
readonly message: string;
|
|
@@ -21409,7 +21553,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21409
21553
|
readonly discriminator: 'product_classification_form';
|
|
21410
21554
|
readonly initial_customs_description?: string;
|
|
21411
21555
|
readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
|
|
21412
|
-
readonly model_version
|
|
21556
|
+
readonly model_version?: string;
|
|
21413
21557
|
}
|
|
21414
21558
|
|
|
21415
21559
|
interface ProductClassificationJudgementForm {
|
|
@@ -22033,6 +22177,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22033
22177
|
readonly shop: io.flow.internal.v0.models.Shop;
|
|
22034
22178
|
}
|
|
22035
22179
|
|
|
22180
|
+
interface ShopifyChannelOrganizationTokens {
|
|
22181
|
+
readonly token: io.flow.token.v0.models.OrganizationTokenV2;
|
|
22182
|
+
readonly service: io.flow.internal.v0.enums.ShopifyService;
|
|
22183
|
+
}
|
|
22184
|
+
|
|
22036
22185
|
interface ShopifyCheckInventoryError {
|
|
22037
22186
|
readonly code: io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
|
|
22038
22187
|
readonly messages: string[];
|
|
@@ -23256,6 +23405,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23256
23405
|
type BlazeConsumerMessage =
|
|
23257
23406
|
| io.flow.internal.v0.models.BlazeAddOrderAttributesMessage
|
|
23258
23407
|
| io.flow.internal.v0.models.BlazeAddToCartMessage
|
|
23408
|
+
| io.flow.internal.v0.models.BlazeCreateByCartToken
|
|
23259
23409
|
| io.flow.internal.v0.models.BlazeInitializeByOrderQuoteMessage
|
|
23260
23410
|
| io.flow.internal.v0.models.BlazeInitializeBySessionMessage
|
|
23261
23411
|
| io.flow.internal.v0.models.BlazeInitializeMessage
|
|
@@ -23306,6 +23456,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23306
23456
|
type CheckoutCreateAuthorizationDetailsResponse =
|
|
23307
23457
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
23308
23458
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
23459
|
+
type CheckoutCreateByCartTokenResponse =
|
|
23460
|
+
| io.flow.internal.v0.models.CheckoutCreateByCartTokenResponseError
|
|
23461
|
+
| io.flow.internal.v0.models.CheckoutCreateByCartTokenResponseSuccess;
|
|
23309
23462
|
type CheckoutCreateByOrderQuoteResponse =
|
|
23310
23463
|
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError
|
|
23311
23464
|
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess;
|
|
@@ -23415,6 +23568,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23415
23568
|
| io.flow.internal.v0.models.CheckoutConnectByOrderQuoteRequestForm
|
|
23416
23569
|
| io.flow.internal.v0.models.CheckoutConnectBySessionRequestForm
|
|
23417
23570
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
|
|
23571
|
+
| io.flow.internal.v0.models.CheckoutCreateByCartTokenRequestForm
|
|
23418
23572
|
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm
|
|
23419
23573
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm
|
|
23420
23574
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm
|
|
@@ -23428,6 +23582,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23428
23582
|
| io.flow.internal.v0.models.CheckoutConnectBySessionResponseSuccess
|
|
23429
23583
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
23430
23584
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
|
|
23585
|
+
| io.flow.internal.v0.models.CheckoutCreateByCartTokenResponseError
|
|
23586
|
+
| io.flow.internal.v0.models.CheckoutCreateByCartTokenResponseSuccess
|
|
23431
23587
|
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError
|
|
23432
23588
|
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess
|
|
23433
23589
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
|
|
@@ -23648,6 +23804,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23648
23804
|
| io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
|
|
23649
23805
|
| io.flow.internal.v0.models.ChannelTransactionUpserted
|
|
23650
23806
|
| io.flow.internal.v0.models.ChannelTransactionDeleted
|
|
23807
|
+
| io.flow.internal.v0.models.ChannelAccountUpserted
|
|
23808
|
+
| io.flow.internal.v0.models.ChannelAccountDeleted
|
|
23651
23809
|
| io.flow.internal.v0.models.OrganizationAccountUpserted
|
|
23652
23810
|
| io.flow.internal.v0.models.OrganizationAccountDeleted
|
|
23653
23811
|
| io.flow.internal.v0.models.AccountTransactionsExportRequest
|
|
@@ -24221,6 +24379,7 @@ export type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
|
|
|
24221
24379
|
export type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
|
|
24222
24380
|
export type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
24223
24381
|
export type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
|
|
24382
|
+
export type BlazeCreateByCartToken = io.flow.internal.v0.models.BlazeCreateByCartToken;
|
|
24224
24383
|
export type BlazeExitCheckoutConfirmationMessage = io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage;
|
|
24225
24384
|
export type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
|
|
24226
24385
|
export type BlazeInitializeByOrderQuoteMessage = io.flow.internal.v0.models.BlazeInitializeByOrderQuoteMessage;
|
|
@@ -24270,6 +24429,9 @@ export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.model
|
|
|
24270
24429
|
export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
|
|
24271
24430
|
export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
|
|
24272
24431
|
export type Channel = io.flow.internal.v0.models.Channel;
|
|
24432
|
+
export type ChannelAccount = io.flow.internal.v0.models.ChannelAccount;
|
|
24433
|
+
export type ChannelAccountDeleted = io.flow.internal.v0.models.ChannelAccountDeleted;
|
|
24434
|
+
export type ChannelAccountUpserted = io.flow.internal.v0.models.ChannelAccountUpserted;
|
|
24273
24435
|
export type ChannelCurrency = io.flow.internal.v0.models.ChannelCurrency;
|
|
24274
24436
|
export type ChannelCurrencyCapability = io.flow.internal.v0.enums.ChannelCurrencyCapability;
|
|
24275
24437
|
export type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm;
|
|
@@ -24286,6 +24448,7 @@ export type ChannelOrderAcceptanceForm = io.flow.internal.v0.models.ChannelOrder
|
|
|
24286
24448
|
export type ChannelOrderAcceptanceRejectionReason = io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
|
|
24287
24449
|
export type ChannelOrderAcceptanceStatus = io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
24288
24450
|
export type ChannelOrderAcceptanceUpserted = io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted;
|
|
24451
|
+
export type ChannelOrganizationShopify = io.flow.internal.v0.models.ChannelOrganizationShopify;
|
|
24289
24452
|
export type ChannelOrganizationShopifyForm = io.flow.internal.v0.models.ChannelOrganizationShopifyForm;
|
|
24290
24453
|
export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
|
|
24291
24454
|
export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
|
|
@@ -24393,6 +24556,12 @@ export type CheckoutCreateAuthorizationDetailsResponseError = io.flow.internal.v
|
|
|
24393
24556
|
export type CheckoutCreateAuthorizationDetailsResponseSuccess = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
24394
24557
|
export type CheckoutCreateAuthorizationError = io.flow.internal.v0.models.CheckoutCreateAuthorizationError;
|
|
24395
24558
|
export type CheckoutCreateAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
|
|
24559
|
+
export type CheckoutCreateByCartTokenError = io.flow.internal.v0.models.CheckoutCreateByCartTokenError;
|
|
24560
|
+
export type CheckoutCreateByCartTokenErrorCode = io.flow.internal.v0.enums.CheckoutCreateByCartTokenErrorCode;
|
|
24561
|
+
export type CheckoutCreateByCartTokenRequestForm = io.flow.internal.v0.models.CheckoutCreateByCartTokenRequestForm;
|
|
24562
|
+
export type CheckoutCreateByCartTokenResponse = io.flow.internal.v0.unions.CheckoutCreateByCartTokenResponse;
|
|
24563
|
+
export type CheckoutCreateByCartTokenResponseError = io.flow.internal.v0.models.CheckoutCreateByCartTokenResponseError;
|
|
24564
|
+
export type CheckoutCreateByCartTokenResponseSuccess = io.flow.internal.v0.models.CheckoutCreateByCartTokenResponseSuccess;
|
|
24396
24565
|
export type CheckoutCreateByOrderQuoteError = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteError;
|
|
24397
24566
|
export type CheckoutCreateByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutCreateByOrderQuoteErrorCode;
|
|
24398
24567
|
export type CheckoutCreateByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm;
|
|
@@ -25643,6 +25812,7 @@ export type ShippingLane = io.flow.internal.v0.models.ShippingLane;
|
|
|
25643
25812
|
export type Shop = io.flow.internal.v0.models.Shop;
|
|
25644
25813
|
export type ShopForm = io.flow.internal.v0.models.ShopForm;
|
|
25645
25814
|
export type ShopVersion = io.flow.internal.v0.models.ShopVersion;
|
|
25815
|
+
export type ShopifyChannelOrganizationTokens = io.flow.internal.v0.models.ShopifyChannelOrganizationTokens;
|
|
25646
25816
|
export type ShopifyCheckInventoryError = io.flow.internal.v0.models.ShopifyCheckInventoryError;
|
|
25647
25817
|
export type ShopifyCheckInventoryErrorCode = io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
|
|
25648
25818
|
export type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
|
|
@@ -25695,6 +25865,7 @@ export type ShopifyPromotionPercent = io.flow.internal.v0.models.ShopifyPromotio
|
|
|
25695
25865
|
export type ShopifyPromotionPrerequisite = io.flow.internal.v0.unions.ShopifyPromotionPrerequisite;
|
|
25696
25866
|
export type ShopifyPromotionRule = io.flow.internal.v0.models.ShopifyPromotionRule;
|
|
25697
25867
|
export type ShopifyPromotionStatus = io.flow.internal.v0.enums.ShopifyPromotionStatus;
|
|
25868
|
+
export type ShopifyService = io.flow.internal.v0.enums.ShopifyService;
|
|
25698
25869
|
export type ShopifyShopDeleted = io.flow.internal.v0.models.ShopifyShopDeleted;
|
|
25699
25870
|
export type ShopifyShopUpserted = io.flow.internal.v0.models.ShopifyShopUpserted;
|
|
25700
25871
|
export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
|
package/src/api.ts
CHANGED
|
@@ -251,6 +251,13 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
251
251
|
| 'source.canceled'
|
|
252
252
|
| 'source.chargeable'
|
|
253
253
|
| 'source.failed';
|
|
254
|
+
type KlarnaPaymentMethodCategoryType =
|
|
255
|
+
| 'direct_bank_transfer'
|
|
256
|
+
| 'direct_debit'
|
|
257
|
+
| 'pay_later'
|
|
258
|
+
| 'pay_now'
|
|
259
|
+
| 'pay_over_time';
|
|
260
|
+
type KlarnaProduct = 'payment';
|
|
254
261
|
type NetworkStatus =
|
|
255
262
|
| 'approved_by_network'
|
|
256
263
|
| 'declined_by_network'
|
|
@@ -554,7 +561,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
554
561
|
}
|
|
555
562
|
|
|
556
563
|
interface OrderItem {
|
|
557
|
-
readonly object
|
|
564
|
+
readonly object?: string;
|
|
558
565
|
readonly amount: number;
|
|
559
566
|
readonly currency: string;
|
|
560
567
|
readonly description?: string;
|
|
@@ -796,7 +803,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
796
803
|
|
|
797
804
|
interface Shipping {
|
|
798
805
|
readonly address: io.flow.stripe.v0.models.Address;
|
|
799
|
-
readonly name
|
|
806
|
+
readonly name?: string;
|
|
800
807
|
readonly phone?: string;
|
|
801
808
|
}
|
|
802
809
|
|
|
@@ -819,6 +826,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
819
826
|
readonly status: io.flow.stripe.v0.enums.SourceStatus;
|
|
820
827
|
readonly type: io.flow.stripe.v0.enums.SourceType;
|
|
821
828
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
829
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
|
|
822
830
|
}
|
|
823
831
|
|
|
824
832
|
interface SourceCard {
|
|
@@ -849,12 +857,50 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
849
857
|
readonly first_name?: string;
|
|
850
858
|
readonly last_name?: string;
|
|
851
859
|
readonly client_token: string;
|
|
860
|
+
readonly payment_method_categories?: string;
|
|
861
|
+
readonly purchase_country?: string;
|
|
862
|
+
readonly shipping_first_name?: string;
|
|
863
|
+
readonly shipping_last_name?: string;
|
|
864
|
+
readonly locale?: string;
|
|
865
|
+
readonly pay_later_name?: string;
|
|
866
|
+
readonly pay_later_asset_urls_standard?: string;
|
|
867
|
+
readonly pay_later_asset_urls_descriptive?: string;
|
|
868
|
+
readonly pay_now_name?: string;
|
|
869
|
+
readonly pay_now_asset_urls_standard?: string;
|
|
870
|
+
readonly pay_now_asset_urls_descriptive?: string;
|
|
871
|
+
readonly pay_over_time_name?: string;
|
|
872
|
+
readonly pay_over_time_asset_urls_standard?: string;
|
|
873
|
+
readonly pay_over_time_asset_urls_descriptive?: string;
|
|
874
|
+
readonly direct_bank_transfer_name?: string;
|
|
875
|
+
readonly direct_bank_transfer_asset_urls_standard?: string;
|
|
876
|
+
readonly direct_bank_transfer_asset_urls_descriptive?: string;
|
|
877
|
+
readonly direct_debit_name?: string;
|
|
878
|
+
readonly direct_debit_asset_urls_standard?: string;
|
|
879
|
+
readonly direct_debit_asset_urls_descriptive?: string;
|
|
852
880
|
}
|
|
853
881
|
|
|
854
882
|
interface SourceKlarnaRequest {
|
|
855
883
|
readonly first_name: string;
|
|
856
884
|
readonly last_name: string;
|
|
885
|
+
readonly purchase_country?: string;
|
|
886
|
+
readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
|
|
857
887
|
readonly attachment?: string;
|
|
888
|
+
readonly shipping_first_name?: string;
|
|
889
|
+
readonly shipping_last_name?: string;
|
|
890
|
+
readonly locale?: string;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
interface SourceOrder {
|
|
894
|
+
readonly amount?: number;
|
|
895
|
+
readonly currency?: string;
|
|
896
|
+
readonly email?: string;
|
|
897
|
+
readonly items?: io.flow.stripe.v0.models.OrderItem[];
|
|
898
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
interface SourceOrderRequest {
|
|
902
|
+
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
903
|
+
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
858
904
|
}
|
|
859
905
|
|
|
860
906
|
interface SourceRequest {
|
|
@@ -872,6 +918,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
872
918
|
readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
|
|
873
919
|
readonly token?: string;
|
|
874
920
|
readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
|
|
921
|
+
readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
|
|
875
922
|
}
|
|
876
923
|
|
|
877
924
|
interface Stripe3Ds2Fingerprint {
|
|
@@ -3132,6 +3179,8 @@ declare namespace io.flow.v0.enums {
|
|
|
3132
3179
|
| 'organization_deleted_v2'
|
|
3133
3180
|
| 'organization_short_id_upserted'
|
|
3134
3181
|
| 'organization_short_id_deleted'
|
|
3182
|
+
| 'short_id_upserted'
|
|
3183
|
+
| 'short_id_deleted'
|
|
3135
3184
|
| 'organization_default_configurations_upserted'
|
|
3136
3185
|
| 'organization_default_configurations_deleted'
|
|
3137
3186
|
| 'ecommerce_platform_upserted'
|
|
@@ -3557,6 +3606,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3557
3606
|
| 'order';
|
|
3558
3607
|
type ShopifyLocalizationMethod = 'api' | 'ssr';
|
|
3559
3608
|
type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
|
|
3609
|
+
type ShortIdSourceKey = 'channel' | 'organization';
|
|
3560
3610
|
type SortDirection = 'ascending' | 'descending';
|
|
3561
3611
|
type Strategy = 'range' | 'from' | 'to';
|
|
3562
3612
|
type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
|
|
@@ -11572,6 +11622,31 @@ declare namespace io.flow.v0.models {
|
|
|
11572
11622
|
readonly status: io.flow.v0.enums.ItemAvailabilityStatus;
|
|
11573
11623
|
}
|
|
11574
11624
|
|
|
11625
|
+
interface ShortId {
|
|
11626
|
+
readonly id: string;
|
|
11627
|
+
readonly source: io.flow.v0.models.ShortIdSource;
|
|
11628
|
+
readonly identifier: string;
|
|
11629
|
+
}
|
|
11630
|
+
|
|
11631
|
+
interface ShortIdDeleted {
|
|
11632
|
+
readonly discriminator: 'short_id_deleted';
|
|
11633
|
+
readonly event_id: string;
|
|
11634
|
+
readonly timestamp: string;
|
|
11635
|
+
readonly id: string;
|
|
11636
|
+
}
|
|
11637
|
+
|
|
11638
|
+
interface ShortIdSource {
|
|
11639
|
+
readonly key: io.flow.v0.enums.ShortIdSourceKey;
|
|
11640
|
+
readonly id: string;
|
|
11641
|
+
}
|
|
11642
|
+
|
|
11643
|
+
interface ShortIdUpserted {
|
|
11644
|
+
readonly discriminator: 'short_id_upserted';
|
|
11645
|
+
readonly event_id: string;
|
|
11646
|
+
readonly timestamp: string;
|
|
11647
|
+
readonly short_id: io.flow.v0.models.ShortId;
|
|
11648
|
+
}
|
|
11649
|
+
|
|
11575
11650
|
interface SimplePermissionCheck {
|
|
11576
11651
|
readonly behaviors: io.flow.v0.enums.FlowBehavior[];
|
|
11577
11652
|
}
|
|
@@ -12700,6 +12775,8 @@ declare namespace io.flow.v0.unions {
|
|
|
12700
12775
|
| io.flow.v0.models.OrganizationDeletedV2
|
|
12701
12776
|
| io.flow.v0.models.OrganizationShortIdUpserted
|
|
12702
12777
|
| io.flow.v0.models.OrganizationShortIdDeleted
|
|
12778
|
+
| io.flow.v0.models.ShortIdUpserted
|
|
12779
|
+
| io.flow.v0.models.ShortIdDeleted
|
|
12703
12780
|
| io.flow.v0.models.OrganizationDefaultConfigurationsUpserted
|
|
12704
12781
|
| io.flow.v0.models.OrganizationDefaultConfigurationsDeleted
|
|
12705
12782
|
| io.flow.v0.models.EcommercePlatformUpserted
|
|
@@ -14314,6 +14391,11 @@ export type ShopifySyncCheck = io.flow.v0.enums.ShopifySyncCheck;
|
|
|
14314
14391
|
export type ShopifySyncStatus = io.flow.v0.models.ShopifySyncStatus;
|
|
14315
14392
|
export type ShopifyVariantFlowMetafield = io.flow.v0.models.ShopifyVariantFlowMetafield;
|
|
14316
14393
|
export type ShopifyVariantInventoryMetafield = io.flow.v0.models.ShopifyVariantInventoryMetafield;
|
|
14394
|
+
export type ShortId = io.flow.v0.models.ShortId;
|
|
14395
|
+
export type ShortIdDeleted = io.flow.v0.models.ShortIdDeleted;
|
|
14396
|
+
export type ShortIdSource = io.flow.v0.models.ShortIdSource;
|
|
14397
|
+
export type ShortIdSourceKey = io.flow.v0.enums.ShortIdSourceKey;
|
|
14398
|
+
export type ShortIdUpserted = io.flow.v0.models.ShortIdUpserted;
|
|
14317
14399
|
export type SimplePermissionCheck = io.flow.v0.models.SimplePermissionCheck;
|
|
14318
14400
|
export type SinglePackageShippingNotificationForm = io.flow.v0.models.SinglePackageShippingNotificationForm;
|
|
14319
14401
|
export type SnapshotDeleted = io.flow.v0.models.SnapshotDeleted;
|