@flowio/types 11.24.32 → 11.24.33

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.
@@ -586,6 +586,24 @@ declare namespace io.flow.common.v0.models {
586
586
  readonly quantity: number;
587
587
  }
588
588
 
589
+ interface LogoImageSetStatic {
590
+ readonly discriminator: 'static';
591
+ readonly small?: io.flow.common.v0.models.LogoImageStatic;
592
+ readonly medium: io.flow.common.v0.models.LogoImageStatic;
593
+ readonly large?: io.flow.common.v0.models.LogoImageStatic;
594
+ }
595
+
596
+ interface LogoImageStatic {
597
+ readonly url: string;
598
+ readonly width: number;
599
+ readonly height: number;
600
+ }
601
+
602
+ interface LogoImageSvg {
603
+ readonly discriminator: 'svg';
604
+ readonly url: string;
605
+ }
606
+
589
607
  interface Margin {
590
608
  readonly type: io.flow.common.v0.enums.MarginType;
591
609
  readonly value: number;
@@ -802,6 +820,9 @@ declare namespace io.flow.common.v0.unions {
802
820
  | io.flow.common.v0.models.UserReference;
803
821
  type InputSpecificationLimitation =
804
822
  io.flow.common.v0.models.InputSpecificationLimitationMax;
823
+ type LogoImage =
824
+ | io.flow.common.v0.models.LogoImageSvg
825
+ | io.flow.common.v0.models.LogoImageSetStatic;
805
826
  type PriceSource =
806
827
  | io.flow.common.v0.models.PriceSourcePriceBook
807
828
  | io.flow.common.v0.models.PriceSourceCatalog
@@ -3355,7 +3376,7 @@ declare namespace io.flow.stripe.v0.models {
3355
3376
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
3356
3377
  readonly payment_method_types?: string[];
3357
3378
  readonly receipt_email?: string;
3358
- readonly save_payment_method: boolean;
3379
+ readonly save_payment_method?: boolean;
3359
3380
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
3360
3381
  }
3361
3382
 
@@ -3376,7 +3397,7 @@ declare namespace io.flow.stripe.v0.models {
3376
3397
  readonly payment_method_types?: string[];
3377
3398
  readonly receipt_email?: string;
3378
3399
  readonly return_url?: string;
3379
- readonly save_payment_method: boolean;
3400
+ readonly save_payment_method?: boolean;
3380
3401
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
3381
3402
  readonly statement_descriptor?: string;
3382
3403
  readonly statement_descriptor_suffix?: string;
@@ -3393,7 +3414,7 @@ declare namespace io.flow.stripe.v0.models {
3393
3414
  readonly payment_method?: string;
3394
3415
  readonly payment_method_types?: string[];
3395
3416
  readonly receipt_email?: string;
3396
- readonly save_payment_method: boolean;
3417
+ readonly save_payment_method?: boolean;
3397
3418
  readonly statement_descriptor?: string;
3398
3419
  readonly statement_descriptor_suffix?: string;
3399
3420
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -4830,14 +4851,14 @@ declare namespace io.flow.bitpay.v0.models {
4830
4851
  readonly currency: string;
4831
4852
  readonly posData?: string;
4832
4853
  readonly notificationURL?: string;
4833
- readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
4854
+ readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
4834
4855
  readonly fullNotifications?: boolean;
4835
4856
  readonly notificationEmail?: string;
4836
4857
  readonly redirectURL?: string;
4837
4858
  readonly orderId?: string;
4838
4859
  readonly itemDesc?: string;
4839
4860
  readonly itemCode?: string;
4840
- readonly physical: boolean;
4861
+ readonly physical?: boolean;
4841
4862
  readonly buyerName?: string;
4842
4863
  readonly buyerAddress1?: string;
4843
4864
  readonly buyerAddress2?: string;
@@ -4894,12 +4915,12 @@ declare namespace io.flow.bitpay.v0.models {
4894
4915
  readonly currency: string;
4895
4916
  readonly posData?: string;
4896
4917
  readonly notificationURL?: string;
4897
- readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
4918
+ readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
4898
4919
  readonly fullNotifications?: boolean;
4899
4920
  readonly extendedNotifications?: boolean;
4900
4921
  readonly redirectURL?: string;
4901
4922
  readonly orderId?: string;
4902
- readonly physical: boolean;
4923
+ readonly physical?: boolean;
4903
4924
  readonly buyerName?: string;
4904
4925
  readonly buyerAddress1?: string;
4905
4926
  readonly buyerAddress2?: string;
@@ -5165,7 +5186,7 @@ declare namespace io.flow.adyen.v0.enums {
5165
5186
  | 'SECOND_CHARGEBACK'
5166
5187
  | 'PREARBITRATION_WON'
5167
5188
  | 'PREARBITRATION_LOST';
5168
- type HttpRedirectMethod = 'GET' | 'POST';
5189
+ type Method = 'GET' | 'POST';
5169
5190
  type Operation = 'cancel' | 'capture' | 'refund';
5170
5191
  type PaymentMethod =
5171
5192
  | 'ach'
@@ -5174,7 +5195,6 @@ declare namespace io.flow.adyen.v0.enums {
5174
5195
  | 'amex'
5175
5196
  | 'bankTransfer_IBAN'
5176
5197
  | 'bcmc'
5177
- | 'bcmc_mobile'
5178
5198
  | 'cartebancaire'
5179
5199
  | 'cup'
5180
5200
  | 'diners'
@@ -5237,11 +5257,6 @@ declare namespace io.flow.adyen.v0.models {
5237
5257
  readonly currency: string;
5238
5258
  }
5239
5259
 
5240
- interface Applepay {
5241
- readonly type: 'applepay';
5242
- readonly applePayToken: string;
5243
- }
5244
-
5245
5260
  interface Authentication {
5246
5261
  readonly 'threeds2.fingerprintToken'?: string;
5247
5262
  readonly 'threeds2.challengeToken'?: string;
@@ -5269,8 +5284,6 @@ declare namespace io.flow.adyen.v0.models {
5269
5284
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5270
5285
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5271
5286
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5272
- readonly mcc?: string;
5273
- readonly metadata?: any /*object*/;
5274
5287
  }
5275
5288
 
5276
5289
  interface AuthorizeRequest3D {
@@ -5427,14 +5440,6 @@ declare namespace io.flow.adyen.v0.models {
5427
5440
  readonly paymentData?: string;
5428
5441
  }
5429
5442
 
5430
- interface PaymentDetailsV663Ds2Challenge {
5431
- readonly 'threeds2.challengeResult': string;
5432
- }
5433
-
5434
- interface PaymentDetailsV663Ds2Fingerprint {
5435
- readonly 'threeds2.fingerprint': string;
5436
- }
5437
-
5438
5443
  interface PaymentRequest {
5439
5444
  readonly reference: string;
5440
5445
  readonly merchantAccount: string;
@@ -5456,11 +5461,7 @@ declare namespace io.flow.adyen.v0.models {
5456
5461
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5457
5462
  readonly origin?: string;
5458
5463
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5459
- readonly returnUrl?: string;
5460
- readonly mcc?: string;
5461
- readonly metadata?: any /*object*/;
5462
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5463
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5464
+ readonly returnURL?: string;
5464
5465
  }
5465
5466
 
5466
5467
  interface PaymentResponse {
@@ -5477,43 +5478,12 @@ declare namespace io.flow.adyen.v0.models {
5477
5478
  interface PaymentResponseAdditionalData {
5478
5479
  readonly authCode?: string;
5479
5480
  readonly avsResultRaw?: string;
5480
- readonly avsResult?: string;
5481
5481
  readonly cvcResultRaw?: string;
5482
- readonly cvcResult?: string;
5483
- readonly refusalReasonRaw?: string;
5484
5482
  readonly liabilityShift?: string;
5485
5483
  readonly threeDAuthenticated?: string;
5486
5484
  readonly threeDAuthenticatedResponse?: string;
5487
5485
  readonly threeDOffered?: string;
5488
5486
  readonly threeDOfferedResponse?: string;
5489
- readonly threeDSVersion?: string;
5490
- readonly eci?: string;
5491
- readonly scaExemptionRequested?: string;
5492
- readonly paymentMethod?: string;
5493
- readonly paymentMethodVariant?: string;
5494
- readonly tokenTxVariant?: string;
5495
- readonly acquirerCode?: string;
5496
- readonly acquirerAccountCode?: string;
5497
- readonly cardPaymentMethod?: string;
5498
- readonly coBrandedWith?: string;
5499
- readonly cardIssuingCountry?: string;
5500
- readonly cardIssuingCurrency?: string;
5501
- readonly cardIssuingBank?: string;
5502
- readonly cardBin?: string;
5503
- readonly issuerBin?: string;
5504
- readonly cardSummary?: string;
5505
- readonly untokenisedCardSummary?: string;
5506
- readonly ownerName?: string;
5507
- readonly bankName?: string;
5508
- readonly issuerCountry?: string;
5509
- readonly iban?: string;
5510
- readonly bic?: string;
5511
- readonly iDealConsumerAccountNumber?: string;
5512
- readonly iDealConsumerBIC?: string;
5513
- readonly iDealConsumerCity?: string;
5514
- readonly iDealConsumerIBAN?: string;
5515
- readonly iDealConsumerName?: string;
5516
- readonly iDealTransactionId?: string;
5517
5487
  }
5518
5488
 
5519
5489
  interface Recurring {
@@ -5522,7 +5492,7 @@ declare namespace io.flow.adyen.v0.models {
5522
5492
 
5523
5493
  interface Redirect {
5524
5494
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5525
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5495
+ readonly method?: io.flow.adyen.v0.enums.Method;
5526
5496
  readonly url?: string;
5527
5497
  }
5528
5498
 
@@ -5547,15 +5517,6 @@ declare namespace io.flow.adyen.v0.models {
5547
5517
  readonly cvc?: string;
5548
5518
  }
5549
5519
 
5550
- interface SdkV3OnCompleteData {
5551
- readonly details: any /*object*/;
5552
- readonly payment_data?: string;
5553
- }
5554
-
5555
- interface SdkV3OnCompleteResult {
5556
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5557
- }
5558
-
5559
5520
  interface ThreeDSecureData {
5560
5521
  readonly authenticationResponse?: string;
5561
5522
  readonly cavv?: string;
@@ -5587,9 +5548,7 @@ declare namespace io.flow.adyen.v0.unions {
5587
5548
  type BrowserInfo =
5588
5549
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5589
5550
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5590
- type PaymentMethodData =
5591
- | io.flow.adyen.v0.models.Scheme
5592
- | io.flow.adyen.v0.models.Applepay;
5551
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5593
5552
  }
5594
5553
 
5595
5554
  declare namespace io.flow.order.management.v0.enums {
@@ -5891,7 +5850,7 @@ declare namespace io.flow.shopify.external.v0.models {
5891
5850
  interface Product {
5892
5851
  readonly id: number;
5893
5852
  readonly handle: string;
5894
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
5853
+ readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
5895
5854
  readonly images: io.flow.shopify.external.v0.models.ProductImage[];
5896
5855
  readonly title: string;
5897
5856
  readonly vendor?: string;
@@ -6076,7 +6035,7 @@ declare namespace io.flow.shopify.external.v0.models {
6076
6035
  }
6077
6036
 
6078
6037
  interface ShopifyClientDetail {
6079
- readonly accept_language: boolean;
6038
+ readonly accept_language?: boolean;
6080
6039
  readonly browser_height?: number;
6081
6040
  readonly browser_ip?: string;
6082
6041
  readonly browser_width?: number;
@@ -6092,7 +6051,7 @@ declare namespace io.flow.shopify.external.v0.models {
6092
6051
  readonly tax_exempt: boolean;
6093
6052
  readonly verified_email: boolean;
6094
6053
  readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
6095
- readonly accepts_marketing: boolean;
6054
+ readonly accepts_marketing?: boolean;
6096
6055
  readonly default_address?: any /*object*/;
6097
6056
  readonly email?: string;
6098
6057
  readonly first_name?: string;
@@ -6171,7 +6130,7 @@ declare namespace io.flow.shopify.external.v0.models {
6171
6130
  readonly requires_shipping: boolean;
6172
6131
  readonly currency?: string;
6173
6132
  readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
6174
- readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
6133
+ readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
6175
6134
  }
6176
6135
 
6177
6136
  interface ShopifyExternalCartItem {
@@ -6186,7 +6145,7 @@ declare namespace io.flow.shopify.external.v0.models {
6186
6145
  readonly original_line_price: number;
6187
6146
  readonly total_discount: number;
6188
6147
  readonly discounted_price: number;
6189
- readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
6148
+ readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
6190
6149
  readonly taxable: boolean;
6191
6150
  readonly quantity: number;
6192
6151
  readonly sku?: string;
@@ -6204,8 +6163,8 @@ declare namespace io.flow.shopify.external.v0.models {
6204
6163
  readonly product_description?: string;
6205
6164
  readonly product_type: string;
6206
6165
  readonly variant_title?: string;
6207
- readonly variant_options: string[];
6208
- readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
6166
+ readonly variant_options?: string[];
6167
+ readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
6209
6168
  }
6210
6169
 
6211
6170
  interface ShopifyFulfillment {
@@ -6446,11 +6405,11 @@ declare namespace io.flow.shopify.external.v0.models {
6446
6405
  readonly updated_at?: string;
6447
6406
  readonly user_id?: number;
6448
6407
  readonly order_status_url?: string;
6449
- readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
6408
+ readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
6450
6409
  readonly gateway?: string;
6451
6410
  readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
6452
6411
  readonly send_receipt?: boolean;
6453
- readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
6412
+ readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
6454
6413
  }
6455
6414
 
6456
6415
  interface ShopifyOrderCount {
@@ -6588,7 +6547,7 @@ declare namespace io.flow.shopify.external.v0.models {
6588
6547
 
6589
6548
  interface ShopifyWebhookOrder {
6590
6549
  readonly id?: number;
6591
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
6550
+ readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
6592
6551
  }
6593
6552
 
6594
6553
  interface ShopifyWebhookOrderCancelled {
@@ -6998,7 +6957,7 @@ declare namespace io.flow.shopify.markets.v0.models {
6998
6957
  readonly updated_at?: string;
6999
6958
  readonly user_id?: number;
7000
6959
  readonly order_status_url?: string;
7001
- readonly inventory_behaviour: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
6960
+ readonly inventory_behaviour?: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
7002
6961
  readonly gateway?: string;
7003
6962
  readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
7004
6963
  readonly send_receipt?: boolean;
@@ -7036,7 +6995,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7036
6995
  }
7037
6996
 
7038
6997
  interface ShopifyOrderClientDetail {
7039
- readonly accept_language: string;
6998
+ readonly accept_language?: string;
7040
6999
  readonly browser_height?: number;
7041
7000
  readonly browser_ip?: string;
7042
7001
  readonly browser_width?: number;
@@ -7280,7 +7239,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7280
7239
  readonly kind: io.flow.shopify.markets.v0.enums.ShopifyOrderKindType;
7281
7240
  readonly gateway: string;
7282
7241
  readonly currency: string;
7283
- readonly status: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
7242
+ readonly status?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
7284
7243
  readonly payment_details?: io.flow.shopify.markets.v0.models.ShopifyOrderPaymentDetail;
7285
7244
  readonly receipt: any /*object*/;
7286
7245
  readonly authorization?: string;
@@ -9439,6 +9398,7 @@ declare namespace io.flow.experience.v0.models {
9439
9398
  interface PaymentMethodIssuer {
9440
9399
  readonly id: string;
9441
9400
  readonly name: string;
9401
+ readonly logo?: io.flow.common.v0.unions.LogoImage;
9442
9402
  }
9443
9403
 
9444
9404
  interface PaymentMethodRule {
@@ -10469,7 +10429,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10469
10429
  readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference;
10470
10430
  readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
10471
10431
  readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10472
- readonly indirect_tax_number?: string;
10473
10432
  readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
10474
10433
  readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10475
10434
  readonly beneficiary?: string;
@@ -10499,7 +10458,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10499
10458
  interface ShopifyMerchantApplicationForm {
10500
10459
  readonly discriminator: 'shopify_merchant_application_form';
10501
10460
  readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10502
- readonly indirect_tax_number?: string;
10503
10461
  readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
10504
10462
  readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10505
10463
  readonly beneficiary?: string;
@@ -11256,6 +11214,147 @@ declare namespace io.flow.item.v0.models {
11256
11214
  }
11257
11215
  }
11258
11216
 
11217
+ declare namespace io.flow.billing.v0.enums {
11218
+ type AttachmentType = 'csv';
11219
+ type FeeDeductionType =
11220
+ | 'duty_guarantee'
11221
+ | 'mor'
11222
+ | 'fraud'
11223
+ | 'fx'
11224
+ | 'processing'
11225
+ | 'rate_lock'
11226
+ | 'transfer';
11227
+ type PayoutStatusCode =
11228
+ | 'scheduled'
11229
+ | 'sent'
11230
+ | 'cancelled'
11231
+ | 'failed'
11232
+ | 'succeeded';
11233
+ type TransactionSource =
11234
+ | 'capture'
11235
+ | 'refund'
11236
+ | 'dispute'
11237
+ | 'adjustment'
11238
+ | 'shipping_label'
11239
+ | 'shipping_label_service'
11240
+ | 'shipping_label_revenue_share'
11241
+ | 'platform_fee'
11242
+ | 'other_adjustment'
11243
+ | 'tax_adjustment'
11244
+ | 'channel'
11245
+ | 'order_service'
11246
+ | 'virtual_card_capture'
11247
+ | 'virtual_card_refund';
11248
+ type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
11249
+ }
11250
+
11251
+ declare namespace io.flow.billing.v0.models {
11252
+ interface AccountReference {
11253
+ readonly id: string;
11254
+ readonly currency: string;
11255
+ }
11256
+
11257
+ interface Attachment {
11258
+ readonly type: io.flow.billing.v0.enums.AttachmentType;
11259
+ readonly url: string;
11260
+ }
11261
+
11262
+ interface BillingChannelOrderSummary {
11263
+ readonly number: string;
11264
+ readonly identifiers?: Record<string, string>;
11265
+ }
11266
+
11267
+ interface BillingChannelPaymentRequestReference {
11268
+ readonly id: string;
11269
+ readonly reference?: string;
11270
+ }
11271
+
11272
+ interface BillingChannelStatementReference {
11273
+ readonly id: string;
11274
+ }
11275
+
11276
+ interface ChannelStatement {
11277
+ readonly id: string;
11278
+ readonly account: io.flow.billing.v0.models.AccountReference;
11279
+ readonly ending_balance: number;
11280
+ readonly settlement: io.flow.billing.v0.unions.Settlement;
11281
+ readonly attachments: io.flow.billing.v0.models.Attachment[];
11282
+ readonly created_at: string;
11283
+ }
11284
+
11285
+ interface ChannelTransaction {
11286
+ readonly id: string;
11287
+ readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
11288
+ readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference;
11289
+ readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
11290
+ readonly currency: string;
11291
+ readonly source: io.flow.billing.v0.enums.TransactionSource;
11292
+ readonly gross: number;
11293
+ readonly fees: io.flow.billing.v0.models.FeeDeduction[];
11294
+ readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
11295
+ readonly net: number;
11296
+ readonly created_at: string;
11297
+ }
11298
+
11299
+ interface FeeDeduction {
11300
+ readonly type: io.flow.billing.v0.enums.FeeDeductionType;
11301
+ readonly amount: number;
11302
+ readonly description?: string;
11303
+ }
11304
+
11305
+ interface NoPayout {
11306
+ readonly discriminator: 'no_payout';
11307
+ readonly placeholder?: string;
11308
+ }
11309
+
11310
+ interface Payout {
11311
+ readonly discriminator: 'payout';
11312
+ readonly status: io.flow.billing.v0.models.PayoutStatus;
11313
+ readonly amount: number;
11314
+ readonly sent_on?: string;
11315
+ }
11316
+
11317
+ interface PayoutStatus {
11318
+ readonly code: io.flow.billing.v0.enums.PayoutStatusCode;
11319
+ readonly reason?: string;
11320
+ }
11321
+
11322
+ interface Statement {
11323
+ readonly id: string;
11324
+ readonly account: io.flow.billing.v0.models.AccountReference;
11325
+ readonly ending_balance: number;
11326
+ readonly settlement: io.flow.billing.v0.unions.Settlement;
11327
+ readonly attachments: io.flow.billing.v0.models.Attachment[];
11328
+ readonly created_at: string;
11329
+ }
11330
+
11331
+ interface Transaction {
11332
+ readonly id: string;
11333
+ readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
11334
+ readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference;
11335
+ readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
11336
+ readonly currency: string;
11337
+ readonly source: io.flow.billing.v0.enums.TransactionSource;
11338
+ readonly gross: number;
11339
+ readonly fees: io.flow.billing.v0.models.FeeDeduction[];
11340
+ readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
11341
+ readonly net: number;
11342
+ readonly created_at: string;
11343
+ }
11344
+
11345
+ interface WithholdingDeduction {
11346
+ readonly type: io.flow.billing.v0.enums.WithholdingDeductionType;
11347
+ readonly amount: number;
11348
+ readonly description?: string;
11349
+ }
11350
+ }
11351
+
11352
+ declare namespace io.flow.billing.v0.unions {
11353
+ type Settlement =
11354
+ | io.flow.billing.v0.models.NoPayout
11355
+ | io.flow.billing.v0.models.Payout;
11356
+ }
11357
+
11259
11358
  declare namespace io.flow.harmonization.v0.enums {
11260
11359
  type TaxApplicability = 'none' | 'all';
11261
11360
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
@@ -12860,6 +12959,10 @@ declare namespace io.flow.session.v0.unions {
12860
12959
  declare namespace io.flow.internal.v0.enums {
12861
12960
  type AccountType = 'channel' | 'organization';
12862
12961
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
12962
+ type AdyenIntegrationType =
12963
+ | 'hosted_payment_page'
12964
+ | 'checkout_payments_api'
12965
+ | 'classic_authorise_api';
12863
12966
  type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
12864
12967
  type ApiCallReferenceId =
12865
12968
  | 'duty_rates_data_event'
@@ -12957,6 +13060,7 @@ declare namespace io.flow.internal.v0.enums {
12957
13060
  | 'missing_order_information'
12958
13061
  | 'unsupported_payment_information';
12959
13062
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
13063
+ type ChannelTransactionType = 'adjustment' | 'processing';
12960
13064
  type ChargebackPaymentStatus = 'captured' | 'refunded';
12961
13065
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
12962
13066
  type CheckoutAddAuthorizationErrorCode =
@@ -13465,6 +13569,8 @@ declare namespace io.flow.internal.v0.enums {
13465
13569
  | 'fulfillment_cancel'
13466
13570
  | 'order_shipped'
13467
13571
  | 'items_shipped'
13572
+ | 'organization_restriction_snapshot_upserted'
13573
+ | 'organization_restriction_snapshot_deleted'
13468
13574
  | 'internal_authorization_upserted'
13469
13575
  | 'internal_authorization_deleted'
13470
13576
  | 'afterpay_authorization_upserted'
@@ -13485,6 +13591,8 @@ declare namespace io.flow.internal.v0.enums {
13485
13591
  | 'virtual_card_provider_deleted'
13486
13592
  | 'authorization_bundle_upserted'
13487
13593
  | 'authorization_bundle_deleted'
13594
+ | 'organization_payment_setting_upserted'
13595
+ | 'organization_payment_setting_deleted'
13488
13596
  | 'paypal_payment_deleted'
13489
13597
  | 'paypal_payment_upserted'
13490
13598
  | 'paypal_execution_deleted'
@@ -13866,7 +13974,12 @@ declare namespace io.flow.internal.v0.enums {
13866
13974
  type SubscriptionFrequency = 'yearly' | 'monthly';
13867
13975
  type SuggestionAction = 'accept' | 'validate' | 'review';
13868
13976
  type TariffEligibilityType = 'rex';
13869
- type TaskProcessorKey = 'billing_account' | 'carrier_account';
13977
+ type TaskProcessorKey =
13978
+ | 'billing_account'
13979
+ | 'order_messenger'
13980
+ | 'harmonization'
13981
+ | 'carrier_account'
13982
+ | 'label_generation_settings';
13870
13983
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
13871
13984
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
13872
13985
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
@@ -14184,6 +14297,7 @@ declare namespace io.flow.internal.v0.models {
14184
14297
  readonly account_id: string;
14185
14298
  readonly merchant_account: string;
14186
14299
  readonly origin_key?: string;
14300
+ readonly integration_type?: io.flow.internal.v0.enums.AdyenIntegrationType;
14187
14301
  }
14188
14302
 
14189
14303
  interface AdyenAuthenticationForm {
@@ -15413,6 +15527,7 @@ declare namespace io.flow.internal.v0.models {
15413
15527
  readonly payment_request_id?: string;
15414
15528
  readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
15415
15529
  readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[];
15530
+ readonly order_created_at?: string;
15416
15531
  }
15417
15532
 
15418
15533
  interface ChannelOrderAcceptanceDeleted {
@@ -16916,6 +17031,7 @@ declare namespace io.flow.internal.v0.models {
16916
17031
  interface CheckoutPaymentMethodIssuer {
16917
17032
  readonly id: string;
16918
17033
  readonly name: string;
17034
+ readonly logo?: io.flow.common.v0.unions.LogoImage;
16919
17035
  }
16920
17036
 
16921
17037
  interface CheckoutPaymentSourceOption {
@@ -18095,6 +18211,90 @@ declare namespace io.flow.internal.v0.models {
18095
18211
  readonly daily_experiment_results: io.flow.internal.v0.models.DailyExperimentResults;
18096
18212
  }
18097
18213
 
18214
+ interface DebugDetails {
18215
+ readonly labels: io.flow.internal.v0.models.DebugLabel[];
18216
+ readonly captures: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
18217
+ readonly refunds: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
18218
+ }
18219
+
18220
+ interface DebugLabel {
18221
+ readonly carrier_id: string;
18222
+ readonly carrier_tracking_number: string;
18223
+ readonly billable_label_id?: string;
18224
+ readonly transactions?: io.flow.internal.v0.models.DebugLabelTransactionSummary[];
18225
+ }
18226
+
18227
+ interface DebugLabelTransactionSummary {
18228
+ readonly id: string;
18229
+ readonly type: string;
18230
+ }
18231
+
18232
+ interface DebugOrder {
18233
+ readonly organization_id: string;
18234
+ readonly number: string;
18235
+ readonly identifiers?: Record<string, string>;
18236
+ readonly submitted_at?: string;
18237
+ }
18238
+
18239
+ interface DebugOrderTransaction {
18240
+ readonly order: io.flow.internal.v0.models.DebugOrder;
18241
+ readonly debug: io.flow.internal.v0.models.DebugDetails;
18242
+ readonly transactions: io.flow.billing.v0.models.Transaction[];
18243
+ }
18244
+
18245
+ interface DebugOrderTransactionForm {
18246
+ readonly order_id?: string;
18247
+ readonly organization_id?: string;
18248
+ readonly order_number?: string;
18249
+ readonly transaction_id?: string;
18250
+ readonly capture_id?: string;
18251
+ readonly refund_id?: string;
18252
+ readonly order_identifier?: io.flow.internal.v0.models.DebugOrderTransactionFormOrderIdentifier;
18253
+ }
18254
+
18255
+ interface DebugOrderTransactionFormOrderIdentifier {
18256
+ readonly key?: string;
18257
+ readonly value?: string;
18258
+ }
18259
+
18260
+ interface DebugPaymentTransactionSummary {
18261
+ readonly id: string;
18262
+ readonly type: string;
18263
+ readonly processing_transaction_id?: string;
18264
+ readonly queue_errors?: string[];
18265
+ readonly processing_transaction_ignore_reason?: string;
18266
+ readonly channel_transaction_ignore_reason?: string;
18267
+ }
18268
+
18269
+ interface DebugTransactionDetails {
18270
+ readonly id: string;
18271
+ readonly status: io.flow.internal.v0.models.DebugTransactionDetailsStatus;
18272
+ readonly fx?: io.flow.internal.v0.models.DebugTransactionFx;
18273
+ readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued;
18274
+ }
18275
+
18276
+ interface DebugTransactionDetailsStatus {
18277
+ readonly status: io.flow.internal.v0.enums.MainTransactionStatus;
18278
+ readonly description: string;
18279
+ }
18280
+
18281
+ interface DebugTransactionFx {
18282
+ readonly timestamp?: string;
18283
+ readonly market: io.flow.internal.v0.models.DebugTransactionFxRate[];
18284
+ readonly order_effective_rate?: io.flow.internal.v0.models.DebugTransactionFxRate;
18285
+ readonly transaction_effective_rate?: io.flow.internal.v0.models.DebugTransactionFxRate;
18286
+ }
18287
+
18288
+ interface DebugTransactionFxRate {
18289
+ readonly base: string;
18290
+ readonly target: string;
18291
+ readonly value: number;
18292
+ }
18293
+
18294
+ interface DebugTransactionQueued {
18295
+ readonly reasons: string[];
18296
+ }
18297
+
18098
18298
  interface Decision {
18099
18299
  readonly id: string;
18100
18300
  readonly status: string;
@@ -20335,6 +20535,11 @@ declare namespace io.flow.internal.v0.models {
20335
20535
  readonly rate: io.flow.internal.v0.models.InternalChannelRate;
20336
20536
  }
20337
20537
 
20538
+ interface InternalDebugTransaction {
20539
+ readonly debug: io.flow.internal.v0.models.DebugTransactionDetails;
20540
+ readonly order?: io.flow.internal.v0.models.DebugOrder;
20541
+ }
20542
+
20338
20543
  interface InternalExclusionRuleForm {
20339
20544
  readonly id: string;
20340
20545
  readonly export_id: string;
@@ -21917,6 +22122,11 @@ declare namespace io.flow.internal.v0.models {
21917
22122
  readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting;
21918
22123
  }
21919
22124
 
22125
+ interface OrganizationDebugTransaction {
22126
+ readonly debug: io.flow.internal.v0.models.DebugTransactionDetails;
22127
+ readonly order?: io.flow.internal.v0.models.DebugOrder;
22128
+ }
22129
+
21920
22130
  interface OrganizationInvitationAcceptForm {
21921
22131
  readonly email: string;
21922
22132
  }
@@ -21944,6 +22154,14 @@ declare namespace io.flow.internal.v0.models {
21944
22154
  readonly updated_at: string;
21945
22155
  }
21946
22156
 
22157
+ interface OrganizationPaymentSettingDeleted {
22158
+ readonly discriminator: 'organization_payment_setting_deleted';
22159
+ readonly event_id: string;
22160
+ readonly timestamp: string;
22161
+ readonly organization: string;
22162
+ readonly id: string;
22163
+ }
22164
+
21947
22165
  interface OrganizationPaymentSettingForm {
21948
22166
  readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
21949
22167
  readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus;
@@ -21952,6 +22170,14 @@ declare namespace io.flow.internal.v0.models {
21952
22170
  readonly payment_statement_suffix?: string;
21953
22171
  }
21954
22172
 
22173
+ interface OrganizationPaymentSettingUpserted {
22174
+ readonly discriminator: 'organization_payment_setting_upserted';
22175
+ readonly event_id: string;
22176
+ readonly timestamp: string;
22177
+ readonly organization: string;
22178
+ readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
22179
+ }
22180
+
21955
22181
  interface OrganizationPaymentSettingVersion {
21956
22182
  readonly id: string;
21957
22183
  readonly timestamp: string;
@@ -21960,6 +22186,7 @@ declare namespace io.flow.internal.v0.models {
21960
22186
  }
21961
22187
 
21962
22188
  interface OrganizationRestrictionSnapshot {
22189
+ readonly id: string;
21963
22190
  readonly organization_id: string;
21964
22191
  readonly organization_channel_id: string;
21965
22192
  readonly organization_status: string;
@@ -21972,6 +22199,20 @@ declare namespace io.flow.internal.v0.models {
21972
22199
  readonly date: string;
21973
22200
  }
21974
22201
 
22202
+ interface OrganizationRestrictionSnapshotDeleted {
22203
+ readonly discriminator: 'organization_restriction_snapshot_deleted';
22204
+ readonly event_id: string;
22205
+ readonly timestamp: string;
22206
+ readonly organization_restriction_snapshot: io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
22207
+ }
22208
+
22209
+ interface OrganizationRestrictionSnapshotUpserted {
22210
+ readonly discriminator: 'organization_restriction_snapshot_upserted';
22211
+ readonly event_id: string;
22212
+ readonly timestamp: string;
22213
+ readonly organization_restriction_snapshot: io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
22214
+ }
22215
+
21975
22216
  interface OrganizationRestrictionSummary {
21976
22217
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21977
22218
  readonly earliest_date: string;
@@ -22081,6 +22322,17 @@ declare namespace io.flow.internal.v0.models {
22081
22322
  readonly tribe: io.flow.internal.v0.models.Tribe;
22082
22323
  }
22083
22324
 
22325
+ interface PaymentMethodDetail {
22326
+ readonly method: io.flow.reference.v0.models.PaymentMethod;
22327
+ readonly method_options?: io.flow.internal.v0.models.PaymentMethodOption[];
22328
+ }
22329
+
22330
+ interface PaymentMethodOption {
22331
+ readonly id: string;
22332
+ readonly name: string;
22333
+ readonly logo?: io.flow.common.v0.unions.LogoImage;
22334
+ }
22335
+
22084
22336
  interface PaymentOrganizationSettings {
22085
22337
  readonly id: string;
22086
22338
  readonly enable_auto_capture: boolean;
@@ -25307,6 +25559,8 @@ declare namespace io.flow.internal.v0.unions {
25307
25559
  | io.flow.internal.v0.models.FulfillmentCancel
25308
25560
  | io.flow.internal.v0.models.OrderShipped
25309
25561
  | io.flow.internal.v0.models.ItemsShipped
25562
+ | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted
25563
+ | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted
25310
25564
  | io.flow.internal.v0.models.InternalAuthorizationUpserted
25311
25565
  | io.flow.internal.v0.models.InternalAuthorizationDeleted
25312
25566
  | io.flow.internal.v0.models.AfterpayAuthorizationUpserted
@@ -25327,6 +25581,8 @@ declare namespace io.flow.internal.v0.unions {
25327
25581
  | io.flow.internal.v0.models.VirtualCardProviderDeleted
25328
25582
  | io.flow.internal.v0.models.AuthorizationBundleUpserted
25329
25583
  | io.flow.internal.v0.models.AuthorizationBundleDeleted
25584
+ | io.flow.internal.v0.models.OrganizationPaymentSettingUpserted
25585
+ | io.flow.internal.v0.models.OrganizationPaymentSettingDeleted
25330
25586
  | io.flow.internal.v0.models.PaypalPaymentDeleted
25331
25587
  | io.flow.internal.v0.models.PaypalPaymentUpserted
25332
25588
  | io.flow.internal.v0.models.PaypalExecutionDeleted
@@ -25691,6 +25947,8 @@ export type AdyenCaptureDeleted =
25691
25947
  io.flow.internal.v0.models.AdyenCaptureDeleted;
25692
25948
  export type AdyenCaptureUpserted =
25693
25949
  io.flow.internal.v0.models.AdyenCaptureUpserted;
25950
+ export type AdyenIntegrationType =
25951
+ io.flow.internal.v0.enums.AdyenIntegrationType;
25694
25952
  export type AdyenInternalAuthorization =
25695
25953
  io.flow.internal.v0.models.AdyenInternalAuthorization;
25696
25954
  export type AdyenInternalCancel =
@@ -26049,6 +26307,8 @@ export type ChannelRateMetadataRate =
26049
26307
  export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
26050
26308
  export type ChannelTransactionRate =
26051
26309
  io.flow.internal.v0.models.ChannelTransactionRate;
26310
+ export type ChannelTransactionType =
26311
+ io.flow.internal.v0.enums.ChannelTransactionType;
26052
26312
  export type Chargeback = io.flow.internal.v0.models.Chargeback;
26053
26313
  export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
26054
26314
  export type ChargebackPaymentStatus =
@@ -27201,6 +27461,28 @@ export type DailyExperimentResultsDeleted =
27201
27461
  io.flow.internal.v0.models.DailyExperimentResultsDeleted;
27202
27462
  export type DailyExperimentResultsUpserted =
27203
27463
  io.flow.internal.v0.models.DailyExperimentResultsUpserted;
27464
+ export type DebugDetails = io.flow.internal.v0.models.DebugDetails;
27465
+ export type DebugLabel = io.flow.internal.v0.models.DebugLabel;
27466
+ export type DebugLabelTransactionSummary =
27467
+ io.flow.internal.v0.models.DebugLabelTransactionSummary;
27468
+ export type DebugOrder = io.flow.internal.v0.models.DebugOrder;
27469
+ export type DebugOrderTransaction =
27470
+ io.flow.internal.v0.models.DebugOrderTransaction;
27471
+ export type DebugOrderTransactionForm =
27472
+ io.flow.internal.v0.models.DebugOrderTransactionForm;
27473
+ export type DebugOrderTransactionFormOrderIdentifier =
27474
+ io.flow.internal.v0.models.DebugOrderTransactionFormOrderIdentifier;
27475
+ export type DebugPaymentTransactionSummary =
27476
+ io.flow.internal.v0.models.DebugPaymentTransactionSummary;
27477
+ export type DebugTransactionDetails =
27478
+ io.flow.internal.v0.models.DebugTransactionDetails;
27479
+ export type DebugTransactionDetailsStatus =
27480
+ io.flow.internal.v0.models.DebugTransactionDetailsStatus;
27481
+ export type DebugTransactionFx = io.flow.internal.v0.models.DebugTransactionFx;
27482
+ export type DebugTransactionFxRate =
27483
+ io.flow.internal.v0.models.DebugTransactionFxRate;
27484
+ export type DebugTransactionQueued =
27485
+ io.flow.internal.v0.models.DebugTransactionQueued;
27204
27486
  export type Decision = io.flow.internal.v0.models.Decision;
27205
27487
  export type DeclineReason = io.flow.internal.v0.unions.DeclineReason;
27206
27488
  export type DeclineReasonChannelOrderAcceptance =
@@ -27701,6 +27983,8 @@ export type InternalChannelRateDeleted =
27701
27983
  io.flow.internal.v0.models.InternalChannelRateDeleted;
27702
27984
  export type InternalChannelRateUpserted =
27703
27985
  io.flow.internal.v0.models.InternalChannelRateUpserted;
27986
+ export type InternalDebugTransaction =
27987
+ io.flow.internal.v0.models.InternalDebugTransaction;
27704
27988
  export type InternalExclusionRuleForm =
27705
27989
  io.flow.internal.v0.models.InternalExclusionRuleForm;
27706
27990
  export type InternalFiservAuthorizationDetails =
@@ -28144,6 +28428,8 @@ export type OrganizationCurrencySettingUpserted =
28144
28428
  io.flow.internal.v0.models.OrganizationCurrencySettingUpserted;
28145
28429
  export type OrganizationCurrencySettingVersion =
28146
28430
  io.flow.internal.v0.models.OrganizationCurrencySettingVersion;
28431
+ export type OrganizationDebugTransaction =
28432
+ io.flow.internal.v0.models.OrganizationDebugTransaction;
28147
28433
  export type OrganizationInvitationAcceptForm =
28148
28434
  io.flow.internal.v0.models.OrganizationInvitationAcceptForm;
28149
28435
  export type OrganizationMembershipCopy =
@@ -28152,14 +28438,22 @@ export type OrganizationMembershipCopyForm =
28152
28438
  io.flow.internal.v0.models.OrganizationMembershipCopyForm;
28153
28439
  export type OrganizationPaymentSetting =
28154
28440
  io.flow.internal.v0.models.OrganizationPaymentSetting;
28441
+ export type OrganizationPaymentSettingDeleted =
28442
+ io.flow.internal.v0.models.OrganizationPaymentSettingDeleted;
28155
28443
  export type OrganizationPaymentSettingForm =
28156
28444
  io.flow.internal.v0.models.OrganizationPaymentSettingForm;
28445
+ export type OrganizationPaymentSettingUpserted =
28446
+ io.flow.internal.v0.models.OrganizationPaymentSettingUpserted;
28157
28447
  export type OrganizationPaymentSettingVersion =
28158
28448
  io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
28159
28449
  export type OrganizationPaymentStatus =
28160
28450
  io.flow.internal.v0.enums.OrganizationPaymentStatus;
28161
28451
  export type OrganizationRestrictionSnapshot =
28162
28452
  io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
28453
+ export type OrganizationRestrictionSnapshotDeleted =
28454
+ io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted;
28455
+ export type OrganizationRestrictionSnapshotUpserted =
28456
+ io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted;
28163
28457
  export type OrganizationRestrictionSummary =
28164
28458
  io.flow.internal.v0.models.OrganizationRestrictionSummary;
28165
28459
  export type OrganizationSettings =
@@ -28190,6 +28484,10 @@ export type PartnerOrganizationAuthorizationForm =
28190
28484
  export type Passphrase = io.flow.internal.v0.models.Passphrase;
28191
28485
  export type PassphraseForm = io.flow.internal.v0.models.PassphraseForm;
28192
28486
  export type PassphraseSummary = io.flow.internal.v0.models.PassphraseSummary;
28487
+ export type PaymentMethodDetail =
28488
+ io.flow.internal.v0.models.PaymentMethodDetail;
28489
+ export type PaymentMethodOption =
28490
+ io.flow.internal.v0.models.PaymentMethodOption;
28193
28491
  export type PaymentOrganizationSettings =
28194
28492
  io.flow.internal.v0.models.PaymentOrganizationSettings;
28195
28493
  export type PaymentOrganizationSettingsPutForm =