@flowio/types 11.24.31 → 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.
@@ -309,7 +309,7 @@ declare namespace io.flow.order.price.v0.models {
309
309
  readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
310
310
  readonly name?: string;
311
311
  readonly rate?: number;
312
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
312
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
313
313
  readonly rate_label?: string;
314
314
  }
315
315
 
@@ -482,7 +482,7 @@ declare namespace io.flow.common.v0.models {
482
482
 
483
483
  interface DiscountForm {
484
484
  readonly offer: io.flow.common.v0.unions.DiscountOffer;
485
- readonly target: io.flow.common.v0.enums.DiscountTarget;
485
+ readonly target?: io.flow.common.v0.enums.DiscountTarget;
486
486
  readonly label?: string;
487
487
  }
488
488
 
@@ -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;
@@ -663,7 +681,7 @@ declare namespace io.flow.common.v0.models {
663
681
  readonly parent?: io.flow.common.v0.models.OrganizationReference;
664
682
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
665
683
  readonly created_at?: string;
666
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
684
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
667
685
  }
668
686
 
669
687
  interface OrganizationDefaults {
@@ -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
@@ -909,7 +930,7 @@ declare namespace io.flow.price.v0.models {
909
930
  readonly currency: string;
910
931
  readonly name: string;
911
932
  readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
912
- readonly status: io.flow.common.v0.enums.PriceBookStatus;
933
+ readonly status?: io.flow.common.v0.enums.PriceBookStatus;
913
934
  }
914
935
 
915
936
  interface PriceBookItem {
@@ -1418,7 +1439,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
1418
1439
  readonly item_numbers?: string[];
1419
1440
  readonly start_date?: string;
1420
1441
  readonly end_date?: string;
1421
- readonly item_identifier: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
1442
+ readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
1422
1443
  }
1423
1444
 
1424
1445
  interface ScheduledExport {
@@ -2039,7 +2060,7 @@ declare namespace io.flow.payment.v0.models {
2039
2060
  readonly requested?: io.flow.common.v0.models.Money;
2040
2061
  readonly created_at: string;
2041
2062
  readonly attributes?: Record<string, string>;
2042
- readonly status: io.flow.payment.v0.enums.CaptureStatus;
2063
+ readonly status?: io.flow.payment.v0.enums.CaptureStatus;
2043
2064
  readonly base?: io.flow.common.v0.models.Money;
2044
2065
  }
2045
2066
 
@@ -2094,7 +2115,7 @@ declare namespace io.flow.payment.v0.models {
2094
2115
  readonly discriminator: 'card_authorization';
2095
2116
  readonly id: string;
2096
2117
  readonly key: string;
2097
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
2118
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
2098
2119
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
2099
2120
  readonly card: io.flow.payment.v0.unions.ExpandableCard;
2100
2121
  readonly amount: number;
@@ -2282,13 +2303,6 @@ declare namespace io.flow.payment.v0.models {
2282
2303
  readonly payload?: io.flow.payment.v0.models.AuthorizationPayload;
2283
2304
  }
2284
2305
 
2285
- interface Installment {
2286
- readonly discriminator: 'installment';
2287
- readonly first_name?: string;
2288
- readonly last_name?: string;
2289
- readonly response_code?: string;
2290
- }
2291
-
2292
2306
  interface IssuerReference {
2293
2307
  readonly id: string;
2294
2308
  }
@@ -2349,7 +2363,7 @@ declare namespace io.flow.payment.v0.models {
2349
2363
  readonly id: string;
2350
2364
  readonly key: string;
2351
2365
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
2352
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
2366
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
2353
2367
  readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
2354
2368
  readonly payment?: any /*object*/;
2355
2369
  readonly amount: number;
@@ -2509,7 +2523,7 @@ declare namespace io.flow.payment.v0.models {
2509
2523
  readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
2510
2524
  readonly created_at: string;
2511
2525
  readonly attributes?: Record<string, string>;
2512
- readonly status: io.flow.payment.v0.enums.RefundStatus;
2526
+ readonly status?: io.flow.payment.v0.enums.RefundStatus;
2513
2527
  readonly base?: io.flow.common.v0.models.Money;
2514
2528
  }
2515
2529
 
@@ -2520,7 +2534,7 @@ declare namespace io.flow.payment.v0.models {
2520
2534
  readonly amount: number;
2521
2535
  readonly currency: string;
2522
2536
  readonly base: io.flow.common.v0.models.Money;
2523
- readonly status: io.flow.payment.v0.enums.RefundStatus;
2537
+ readonly status?: io.flow.payment.v0.enums.RefundStatus;
2524
2538
  }
2525
2539
 
2526
2540
  interface RefundCaptureSummary {
@@ -2775,9 +2789,7 @@ declare namespace io.flow.payment.v0.unions {
2775
2789
  | io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
2776
2790
  type BrowserActionConfiguration =
2777
2791
  io.flow.payment.v0.models.CardBrowserActionConfiguration;
2778
- type ConfirmationDetails =
2779
- | io.flow.payment.v0.models.DirectDebit
2780
- | io.flow.payment.v0.models.Installment;
2792
+ type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
2781
2793
  type ExpandableCard =
2782
2794
  | io.flow.payment.v0.models.Card
2783
2795
  | io.flow.payment.v0.models.CardReference
@@ -3364,7 +3376,7 @@ declare namespace io.flow.stripe.v0.models {
3364
3376
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
3365
3377
  readonly payment_method_types?: string[];
3366
3378
  readonly receipt_email?: string;
3367
- readonly save_payment_method: boolean;
3379
+ readonly save_payment_method?: boolean;
3368
3380
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
3369
3381
  }
3370
3382
 
@@ -3385,7 +3397,7 @@ declare namespace io.flow.stripe.v0.models {
3385
3397
  readonly payment_method_types?: string[];
3386
3398
  readonly receipt_email?: string;
3387
3399
  readonly return_url?: string;
3388
- readonly save_payment_method: boolean;
3400
+ readonly save_payment_method?: boolean;
3389
3401
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
3390
3402
  readonly statement_descriptor?: string;
3391
3403
  readonly statement_descriptor_suffix?: string;
@@ -3402,7 +3414,7 @@ declare namespace io.flow.stripe.v0.models {
3402
3414
  readonly payment_method?: string;
3403
3415
  readonly payment_method_types?: string[];
3404
3416
  readonly receipt_email?: string;
3405
- readonly save_payment_method: boolean;
3417
+ readonly save_payment_method?: boolean;
3406
3418
  readonly statement_descriptor?: string;
3407
3419
  readonly statement_descriptor_suffix?: string;
3408
3420
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -4839,14 +4851,14 @@ declare namespace io.flow.bitpay.v0.models {
4839
4851
  readonly currency: string;
4840
4852
  readonly posData?: string;
4841
4853
  readonly notificationURL?: string;
4842
- readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
4854
+ readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
4843
4855
  readonly fullNotifications?: boolean;
4844
4856
  readonly notificationEmail?: string;
4845
4857
  readonly redirectURL?: string;
4846
4858
  readonly orderId?: string;
4847
4859
  readonly itemDesc?: string;
4848
4860
  readonly itemCode?: string;
4849
- readonly physical: boolean;
4861
+ readonly physical?: boolean;
4850
4862
  readonly buyerName?: string;
4851
4863
  readonly buyerAddress1?: string;
4852
4864
  readonly buyerAddress2?: string;
@@ -4903,12 +4915,12 @@ declare namespace io.flow.bitpay.v0.models {
4903
4915
  readonly currency: string;
4904
4916
  readonly posData?: string;
4905
4917
  readonly notificationURL?: string;
4906
- readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
4918
+ readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
4907
4919
  readonly fullNotifications?: boolean;
4908
4920
  readonly extendedNotifications?: boolean;
4909
4921
  readonly redirectURL?: string;
4910
4922
  readonly orderId?: string;
4911
- readonly physical: boolean;
4923
+ readonly physical?: boolean;
4912
4924
  readonly buyerName?: string;
4913
4925
  readonly buyerAddress1?: string;
4914
4926
  readonly buyerAddress2?: string;
@@ -5174,7 +5186,7 @@ declare namespace io.flow.adyen.v0.enums {
5174
5186
  | 'SECOND_CHARGEBACK'
5175
5187
  | 'PREARBITRATION_WON'
5176
5188
  | 'PREARBITRATION_LOST';
5177
- type HttpRedirectMethod = 'GET' | 'POST';
5189
+ type Method = 'GET' | 'POST';
5178
5190
  type Operation = 'cancel' | 'capture' | 'refund';
5179
5191
  type PaymentMethod =
5180
5192
  | 'ach'
@@ -5183,7 +5195,6 @@ declare namespace io.flow.adyen.v0.enums {
5183
5195
  | 'amex'
5184
5196
  | 'bankTransfer_IBAN'
5185
5197
  | 'bcmc'
5186
- | 'bcmc_mobile'
5187
5198
  | 'cartebancaire'
5188
5199
  | 'cup'
5189
5200
  | 'diners'
@@ -5246,11 +5257,6 @@ declare namespace io.flow.adyen.v0.models {
5246
5257
  readonly currency: string;
5247
5258
  }
5248
5259
 
5249
- interface Applepay {
5250
- readonly type: 'applepay';
5251
- readonly applePayToken: string;
5252
- }
5253
-
5254
5260
  interface Authentication {
5255
5261
  readonly 'threeds2.fingerprintToken'?: string;
5256
5262
  readonly 'threeds2.challengeToken'?: string;
@@ -5278,8 +5284,6 @@ declare namespace io.flow.adyen.v0.models {
5278
5284
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5279
5285
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5280
5286
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5281
- readonly mcc?: string;
5282
- readonly metadata?: any /*object*/;
5283
5287
  }
5284
5288
 
5285
5289
  interface AuthorizeRequest3D {
@@ -5436,14 +5440,6 @@ declare namespace io.flow.adyen.v0.models {
5436
5440
  readonly paymentData?: string;
5437
5441
  }
5438
5442
 
5439
- interface PaymentDetailsV663Ds2Challenge {
5440
- readonly 'threeds2.challengeResult': string;
5441
- }
5442
-
5443
- interface PaymentDetailsV663Ds2Fingerprint {
5444
- readonly 'threeds2.fingerprint': string;
5445
- }
5446
-
5447
5443
  interface PaymentRequest {
5448
5444
  readonly reference: string;
5449
5445
  readonly merchantAccount: string;
@@ -5465,11 +5461,7 @@ declare namespace io.flow.adyen.v0.models {
5465
5461
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5466
5462
  readonly origin?: string;
5467
5463
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5468
- readonly returnUrl?: string;
5469
- readonly mcc?: string;
5470
- readonly metadata?: any /*object*/;
5471
- readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5472
- readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5464
+ readonly returnURL?: string;
5473
5465
  }
5474
5466
 
5475
5467
  interface PaymentResponse {
@@ -5486,43 +5478,12 @@ declare namespace io.flow.adyen.v0.models {
5486
5478
  interface PaymentResponseAdditionalData {
5487
5479
  readonly authCode?: string;
5488
5480
  readonly avsResultRaw?: string;
5489
- readonly avsResult?: string;
5490
5481
  readonly cvcResultRaw?: string;
5491
- readonly cvcResult?: string;
5492
- readonly refusalReasonRaw?: string;
5493
5482
  readonly liabilityShift?: string;
5494
5483
  readonly threeDAuthenticated?: string;
5495
5484
  readonly threeDAuthenticatedResponse?: string;
5496
5485
  readonly threeDOffered?: string;
5497
5486
  readonly threeDOfferedResponse?: string;
5498
- readonly threeDSVersion?: string;
5499
- readonly eci?: string;
5500
- readonly scaExemptionRequested?: string;
5501
- readonly paymentMethod?: string;
5502
- readonly paymentMethodVariant?: string;
5503
- readonly tokenTxVariant?: string;
5504
- readonly acquirerCode?: string;
5505
- readonly acquirerAccountCode?: string;
5506
- readonly cardPaymentMethod?: string;
5507
- readonly coBrandedWith?: string;
5508
- readonly cardIssuingCountry?: string;
5509
- readonly cardIssuingCurrency?: string;
5510
- readonly cardIssuingBank?: string;
5511
- readonly cardBin?: string;
5512
- readonly issuerBin?: string;
5513
- readonly cardSummary?: string;
5514
- readonly untokenisedCardSummary?: string;
5515
- readonly ownerName?: string;
5516
- readonly bankName?: string;
5517
- readonly issuerCountry?: string;
5518
- readonly iban?: string;
5519
- readonly bic?: string;
5520
- readonly iDealConsumerAccountNumber?: string;
5521
- readonly iDealConsumerBIC?: string;
5522
- readonly iDealConsumerCity?: string;
5523
- readonly iDealConsumerIBAN?: string;
5524
- readonly iDealConsumerName?: string;
5525
- readonly iDealTransactionId?: string;
5526
5487
  }
5527
5488
 
5528
5489
  interface Recurring {
@@ -5531,7 +5492,7 @@ declare namespace io.flow.adyen.v0.models {
5531
5492
 
5532
5493
  interface Redirect {
5533
5494
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5534
- readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5495
+ readonly method?: io.flow.adyen.v0.enums.Method;
5535
5496
  readonly url?: string;
5536
5497
  }
5537
5498
 
@@ -5556,15 +5517,6 @@ declare namespace io.flow.adyen.v0.models {
5556
5517
  readonly cvc?: string;
5557
5518
  }
5558
5519
 
5559
- interface SdkV3OnCompleteData {
5560
- readonly details: any /*object*/;
5561
- readonly payment_data?: string;
5562
- }
5563
-
5564
- interface SdkV3OnCompleteResult {
5565
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5566
- }
5567
-
5568
5520
  interface ThreeDSecureData {
5569
5521
  readonly authenticationResponse?: string;
5570
5522
  readonly cavv?: string;
@@ -5596,9 +5548,7 @@ declare namespace io.flow.adyen.v0.unions {
5596
5548
  type BrowserInfo =
5597
5549
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5598
5550
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5599
- type PaymentMethodData =
5600
- | io.flow.adyen.v0.models.Scheme
5601
- | io.flow.adyen.v0.models.Applepay;
5551
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5602
5552
  }
5603
5553
 
5604
5554
  declare namespace io.flow.order.management.v0.enums {
@@ -5900,7 +5850,7 @@ declare namespace io.flow.shopify.external.v0.models {
5900
5850
  interface Product {
5901
5851
  readonly id: number;
5902
5852
  readonly handle: string;
5903
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
5853
+ readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
5904
5854
  readonly images: io.flow.shopify.external.v0.models.ProductImage[];
5905
5855
  readonly title: string;
5906
5856
  readonly vendor?: string;
@@ -6085,7 +6035,7 @@ declare namespace io.flow.shopify.external.v0.models {
6085
6035
  }
6086
6036
 
6087
6037
  interface ShopifyClientDetail {
6088
- readonly accept_language: boolean;
6038
+ readonly accept_language?: boolean;
6089
6039
  readonly browser_height?: number;
6090
6040
  readonly browser_ip?: string;
6091
6041
  readonly browser_width?: number;
@@ -6101,7 +6051,7 @@ declare namespace io.flow.shopify.external.v0.models {
6101
6051
  readonly tax_exempt: boolean;
6102
6052
  readonly verified_email: boolean;
6103
6053
  readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
6104
- readonly accepts_marketing: boolean;
6054
+ readonly accepts_marketing?: boolean;
6105
6055
  readonly default_address?: any /*object*/;
6106
6056
  readonly email?: string;
6107
6057
  readonly first_name?: string;
@@ -6180,7 +6130,7 @@ declare namespace io.flow.shopify.external.v0.models {
6180
6130
  readonly requires_shipping: boolean;
6181
6131
  readonly currency?: string;
6182
6132
  readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
6183
- 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[];
6184
6134
  }
6185
6135
 
6186
6136
  interface ShopifyExternalCartItem {
@@ -6195,7 +6145,7 @@ declare namespace io.flow.shopify.external.v0.models {
6195
6145
  readonly original_line_price: number;
6196
6146
  readonly total_discount: number;
6197
6147
  readonly discounted_price: number;
6198
- readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
6148
+ readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
6199
6149
  readonly taxable: boolean;
6200
6150
  readonly quantity: number;
6201
6151
  readonly sku?: string;
@@ -6213,8 +6163,8 @@ declare namespace io.flow.shopify.external.v0.models {
6213
6163
  readonly product_description?: string;
6214
6164
  readonly product_type: string;
6215
6165
  readonly variant_title?: string;
6216
- readonly variant_options: string[];
6217
- 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[];
6218
6168
  }
6219
6169
 
6220
6170
  interface ShopifyFulfillment {
@@ -6455,11 +6405,11 @@ declare namespace io.flow.shopify.external.v0.models {
6455
6405
  readonly updated_at?: string;
6456
6406
  readonly user_id?: number;
6457
6407
  readonly order_status_url?: string;
6458
- readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
6408
+ readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
6459
6409
  readonly gateway?: string;
6460
6410
  readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
6461
6411
  readonly send_receipt?: boolean;
6462
- readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
6412
+ readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
6463
6413
  }
6464
6414
 
6465
6415
  interface ShopifyOrderCount {
@@ -6597,7 +6547,7 @@ declare namespace io.flow.shopify.external.v0.models {
6597
6547
 
6598
6548
  interface ShopifyWebhookOrder {
6599
6549
  readonly id?: number;
6600
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
6550
+ readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
6601
6551
  }
6602
6552
 
6603
6553
  interface ShopifyWebhookOrderCancelled {
@@ -7007,7 +6957,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7007
6957
  readonly updated_at?: string;
7008
6958
  readonly user_id?: number;
7009
6959
  readonly order_status_url?: string;
7010
- readonly inventory_behaviour: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
6960
+ readonly inventory_behaviour?: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour;
7011
6961
  readonly gateway?: string;
7012
6962
  readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
7013
6963
  readonly send_receipt?: boolean;
@@ -7045,7 +6995,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7045
6995
  }
7046
6996
 
7047
6997
  interface ShopifyOrderClientDetail {
7048
- readonly accept_language: string;
6998
+ readonly accept_language?: string;
7049
6999
  readonly browser_height?: number;
7050
7000
  readonly browser_ip?: string;
7051
7001
  readonly browser_width?: number;
@@ -7289,7 +7239,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7289
7239
  readonly kind: io.flow.shopify.markets.v0.enums.ShopifyOrderKindType;
7290
7240
  readonly gateway: string;
7291
7241
  readonly currency: string;
7292
- readonly status: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
7242
+ readonly status?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus;
7293
7243
  readonly payment_details?: io.flow.shopify.markets.v0.models.ShopifyOrderPaymentDetail;
7294
7244
  readonly receipt: any /*object*/;
7295
7245
  readonly authorization?: string;
@@ -7915,13 +7865,13 @@ declare namespace io.flow.payment.gateway.v0.models {
7915
7865
 
7916
7866
  interface PaymentDiscount {
7917
7867
  readonly amount: number;
7918
- readonly name: string;
7868
+ readonly name?: string;
7919
7869
  readonly code?: string;
7920
7870
  }
7921
7871
 
7922
7872
  interface PaymentDuty {
7923
7873
  readonly amount: number;
7924
- readonly name: string;
7874
+ readonly name?: string;
7925
7875
  }
7926
7876
 
7927
7877
  interface PaymentFailure {
@@ -8225,7 +8175,7 @@ declare namespace io.flow.payment.gateway.v0.models {
8225
8175
 
8226
8176
  interface PaymentTax {
8227
8177
  readonly amount: number;
8228
- readonly name: string;
8178
+ readonly name?: string;
8229
8179
  }
8230
8180
 
8231
8181
  interface Shipping {
@@ -8499,7 +8449,7 @@ declare namespace io.flow.experience.v0.models {
8499
8449
  readonly country: string;
8500
8450
  readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
8501
8451
  readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
8502
- readonly formats: io.flow.experience.v0.models.AddressConfigurationFormat[];
8452
+ readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
8503
8453
  readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
8504
8454
  readonly postal_type?: io.flow.reference.v0.enums.PostalType;
8505
8455
  }
@@ -8560,7 +8510,7 @@ declare namespace io.flow.experience.v0.models {
8560
8510
  readonly rate: number;
8561
8511
  readonly name: string;
8562
8512
  readonly price?: io.flow.common.v0.models.PriceWithBase;
8563
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
8513
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
8564
8514
  readonly basis?: io.flow.common.v0.models.MoneyWithBase;
8565
8515
  }
8566
8516
 
@@ -9060,7 +9010,7 @@ declare namespace io.flow.experience.v0.models {
9060
9010
  readonly discriminator: 'order';
9061
9011
  readonly id: string;
9062
9012
  readonly number: string;
9063
- readonly order_type: io.flow.experience.v0.enums.OrderType;
9013
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
9064
9014
  readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
9065
9015
  readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
9066
9016
  readonly customer: io.flow.common.v0.models.OrderCustomer;
@@ -9239,7 +9189,7 @@ declare namespace io.flow.experience.v0.models {
9239
9189
 
9240
9190
  interface OrderNumberGeneratorUuid {
9241
9191
  readonly discriminator: 'uuid';
9242
- readonly prefix: string;
9192
+ readonly prefix?: string;
9243
9193
  }
9244
9194
 
9245
9195
  interface OrderNumberReference {
@@ -9253,13 +9203,13 @@ declare namespace io.flow.experience.v0.models {
9253
9203
  interface OrderPayment {
9254
9204
  readonly id: string;
9255
9205
  readonly type: io.flow.experience.v0.enums.OrderPaymentType;
9256
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
9206
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
9257
9207
  readonly reference: string;
9258
9208
  readonly description: string;
9259
9209
  readonly total: io.flow.common.v0.models.PriceWithBase;
9260
9210
  readonly address?: io.flow.common.v0.models.BillingAddress;
9261
9211
  readonly date?: string;
9262
- readonly attributes: Record<string, string>;
9212
+ readonly attributes?: Record<string, string>;
9263
9213
  readonly method?: string;
9264
9214
  }
9265
9215
 
@@ -9269,7 +9219,7 @@ declare namespace io.flow.experience.v0.models {
9269
9219
  }
9270
9220
 
9271
9221
  interface OrderPutForm {
9272
- readonly order_type: io.flow.experience.v0.enums.OrderType;
9222
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
9273
9223
  readonly items: io.flow.common.v0.models.LineItemForm[];
9274
9224
  readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
9275
9225
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
@@ -9361,7 +9311,7 @@ declare namespace io.flow.experience.v0.models {
9361
9311
  }
9362
9312
 
9363
9313
  interface OrderSubmissionForm {
9364
- readonly identifiers: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
9314
+ readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
9365
9315
  }
9366
9316
 
9367
9317
  interface OrderSubmissionIdentifierForm {
@@ -9448,6 +9398,7 @@ declare namespace io.flow.experience.v0.models {
9448
9398
  interface PaymentMethodIssuer {
9449
9399
  readonly id: string;
9450
9400
  readonly name: string;
9401
+ readonly logo?: io.flow.common.v0.unions.LogoImage;
9451
9402
  }
9452
9403
 
9453
9404
  interface PaymentMethodRule {
@@ -9811,7 +9762,7 @@ declare namespace io.flow.ratecard.v0.models {
9811
9762
  readonly origination_zones: io.flow.common.v0.models.Zone[];
9812
9763
  readonly service: string;
9813
9764
  readonly number?: string;
9814
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
9765
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
9815
9766
  }
9816
9767
 
9817
9768
  interface RatecardLane {
@@ -10478,7 +10429,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10478
10429
  readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference;
10479
10430
  readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
10480
10431
  readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10481
- readonly indirect_tax_number?: string;
10482
10432
  readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
10483
10433
  readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10484
10434
  readonly beneficiary?: string;
@@ -10508,7 +10458,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10508
10458
  interface ShopifyMerchantApplicationForm {
10509
10459
  readonly discriminator: 'shopify_merchant_application_form';
10510
10460
  readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10511
- readonly indirect_tax_number?: string;
10512
10461
  readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
10513
10462
  readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
10514
10463
  readonly beneficiary?: string;
@@ -10804,7 +10753,7 @@ declare namespace io.flow.catalog.v0.models {
10804
10753
  readonly base: io.flow.common.v0.models.Price;
10805
10754
  readonly name: string;
10806
10755
  readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
10807
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
10756
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
10808
10757
  readonly basis?: io.flow.common.v0.models.MoneyWithBase;
10809
10758
  }
10810
10759
 
@@ -10986,7 +10935,7 @@ declare namespace io.flow.inventory.v0.models {
10986
10935
 
10987
10936
  interface InventoryUnlimited {
10988
10937
  readonly discriminator: 'inventory_unlimited';
10989
- readonly placeholder: string;
10938
+ readonly placeholder?: string;
10990
10939
  }
10991
10940
 
10992
10941
  interface InventoryUpdate {
@@ -11265,6 +11214,147 @@ declare namespace io.flow.item.v0.models {
11265
11214
  }
11266
11215
  }
11267
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
+
11268
11358
  declare namespace io.flow.harmonization.v0.enums {
11269
11359
  type TaxApplicability = 'none' | 'all';
11270
11360
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
@@ -12653,7 +12743,7 @@ declare namespace io.flow.organization.v0.models {
12653
12743
  readonly organization: string;
12654
12744
  readonly email: string;
12655
12745
  readonly name?: io.flow.common.v0.models.Name;
12656
- readonly role: io.flow.common.v0.enums.Role;
12746
+ readonly role?: io.flow.common.v0.enums.Role;
12657
12747
  readonly roles?: io.flow.permission.v0.enums.FlowRole[];
12658
12748
  }
12659
12749
 
@@ -12675,13 +12765,13 @@ declare namespace io.flow.organization.v0.models {
12675
12765
  interface MembershipForm {
12676
12766
  readonly organization: string;
12677
12767
  readonly user: string;
12678
- readonly role: io.flow.common.v0.enums.Role;
12679
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
12768
+ readonly role?: io.flow.common.v0.enums.Role;
12769
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
12680
12770
  }
12681
12771
 
12682
12772
  interface MembershipPutForm {
12683
- readonly role: io.flow.common.v0.enums.Role;
12684
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
12773
+ readonly role?: io.flow.common.v0.enums.Role;
12774
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
12685
12775
  }
12686
12776
 
12687
12777
  interface MembershipVersion {
@@ -12720,7 +12810,7 @@ declare namespace io.flow.organization.v0.models {
12720
12810
  readonly environment: io.flow.common.v0.enums.Environment;
12721
12811
  readonly parent_id?: string;
12722
12812
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
12723
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
12813
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
12724
12814
  }
12725
12815
 
12726
12816
  interface OrganizationPutForm {
@@ -12728,7 +12818,7 @@ declare namespace io.flow.organization.v0.models {
12728
12818
  readonly environment?: io.flow.common.v0.enums.Environment;
12729
12819
  readonly parent_id?: string;
12730
12820
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
12731
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
12821
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
12732
12822
  }
12733
12823
 
12734
12824
  interface OrganizationVersion {
@@ -12869,6 +12959,10 @@ declare namespace io.flow.session.v0.unions {
12869
12959
  declare namespace io.flow.internal.v0.enums {
12870
12960
  type AccountType = 'channel' | 'organization';
12871
12961
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
12962
+ type AdyenIntegrationType =
12963
+ | 'hosted_payment_page'
12964
+ | 'checkout_payments_api'
12965
+ | 'classic_authorise_api';
12872
12966
  type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
12873
12967
  type ApiCallReferenceId =
12874
12968
  | 'duty_rates_data_event'
@@ -12966,6 +13060,7 @@ declare namespace io.flow.internal.v0.enums {
12966
13060
  | 'missing_order_information'
12967
13061
  | 'unsupported_payment_information';
12968
13062
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
13063
+ type ChannelTransactionType = 'adjustment' | 'processing';
12969
13064
  type ChargebackPaymentStatus = 'captured' | 'refunded';
12970
13065
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
12971
13066
  type CheckoutAddAuthorizationErrorCode =
@@ -13474,6 +13569,8 @@ declare namespace io.flow.internal.v0.enums {
13474
13569
  | 'fulfillment_cancel'
13475
13570
  | 'order_shipped'
13476
13571
  | 'items_shipped'
13572
+ | 'organization_restriction_snapshot_upserted'
13573
+ | 'organization_restriction_snapshot_deleted'
13477
13574
  | 'internal_authorization_upserted'
13478
13575
  | 'internal_authorization_deleted'
13479
13576
  | 'afterpay_authorization_upserted'
@@ -13494,6 +13591,8 @@ declare namespace io.flow.internal.v0.enums {
13494
13591
  | 'virtual_card_provider_deleted'
13495
13592
  | 'authorization_bundle_upserted'
13496
13593
  | 'authorization_bundle_deleted'
13594
+ | 'organization_payment_setting_upserted'
13595
+ | 'organization_payment_setting_deleted'
13497
13596
  | 'paypal_payment_deleted'
13498
13597
  | 'paypal_payment_upserted'
13499
13598
  | 'paypal_execution_deleted'
@@ -13875,7 +13974,12 @@ declare namespace io.flow.internal.v0.enums {
13875
13974
  type SubscriptionFrequency = 'yearly' | 'monthly';
13876
13975
  type SuggestionAction = 'accept' | 'validate' | 'review';
13877
13976
  type TariffEligibilityType = 'rex';
13878
- type TaskProcessorKey = 'billing_account' | 'carrier_account';
13977
+ type TaskProcessorKey =
13978
+ | 'billing_account'
13979
+ | 'order_messenger'
13980
+ | 'harmonization'
13981
+ | 'carrier_account'
13982
+ | 'label_generation_settings';
13879
13983
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
13880
13984
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
13881
13985
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
@@ -14193,6 +14297,7 @@ declare namespace io.flow.internal.v0.models {
14193
14297
  readonly account_id: string;
14194
14298
  readonly merchant_account: string;
14195
14299
  readonly origin_key?: string;
14300
+ readonly integration_type?: io.flow.internal.v0.enums.AdyenIntegrationType;
14196
14301
  }
14197
14302
 
14198
14303
  interface AdyenAuthenticationForm {
@@ -14755,6 +14860,7 @@ declare namespace io.flow.internal.v0.models {
14755
14860
  readonly number: string;
14756
14861
  readonly submitted_at: string;
14757
14862
  readonly primary_identifier?: string;
14863
+ readonly identifiers?: Record<string, string>;
14758
14864
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
14759
14865
  }
14760
14866
 
@@ -15183,6 +15289,13 @@ declare namespace io.flow.internal.v0.models {
15183
15289
  readonly displayed?: io.flow.internal.v0.models.BrowserBundlePaymentMethod[];
15184
15290
  }
15185
15291
 
15292
+ interface ByRuleSnapshot {
15293
+ readonly id: string;
15294
+ readonly name: string;
15295
+ readonly open_decision_count: number;
15296
+ readonly restricted_product_count: number;
15297
+ }
15298
+
15186
15299
  interface CalculatedTaxAmount {
15187
15300
  readonly discriminator: 'calculated_tax_amount';
15188
15301
  readonly amount: number;
@@ -15414,6 +15527,7 @@ declare namespace io.flow.internal.v0.models {
15414
15527
  readonly payment_request_id?: string;
15415
15528
  readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
15416
15529
  readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[];
15530
+ readonly order_created_at?: string;
15417
15531
  }
15418
15532
 
15419
15533
  interface ChannelOrderAcceptanceDeleted {
@@ -16917,6 +17031,7 @@ declare namespace io.flow.internal.v0.models {
16917
17031
  interface CheckoutPaymentMethodIssuer {
16918
17032
  readonly id: string;
16919
17033
  readonly name: string;
17034
+ readonly logo?: io.flow.common.v0.unions.LogoImage;
16920
17035
  }
16921
17036
 
16922
17037
  interface CheckoutPaymentSourceOption {
@@ -18096,6 +18211,90 @@ declare namespace io.flow.internal.v0.models {
18096
18211
  readonly daily_experiment_results: io.flow.internal.v0.models.DailyExperimentResults;
18097
18212
  }
18098
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
+
18099
18298
  interface Decision {
18100
18299
  readonly id: string;
18101
18300
  readonly status: string;
@@ -20336,6 +20535,11 @@ declare namespace io.flow.internal.v0.models {
20336
20535
  readonly rate: io.flow.internal.v0.models.InternalChannelRate;
20337
20536
  }
20338
20537
 
20538
+ interface InternalDebugTransaction {
20539
+ readonly debug: io.flow.internal.v0.models.DebugTransactionDetails;
20540
+ readonly order?: io.flow.internal.v0.models.DebugOrder;
20541
+ }
20542
+
20339
20543
  interface InternalExclusionRuleForm {
20340
20544
  readonly id: string;
20341
20545
  readonly export_id: string;
@@ -21918,6 +22122,11 @@ declare namespace io.flow.internal.v0.models {
21918
22122
  readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting;
21919
22123
  }
21920
22124
 
22125
+ interface OrganizationDebugTransaction {
22126
+ readonly debug: io.flow.internal.v0.models.DebugTransactionDetails;
22127
+ readonly order?: io.flow.internal.v0.models.DebugOrder;
22128
+ }
22129
+
21921
22130
  interface OrganizationInvitationAcceptForm {
21922
22131
  readonly email: string;
21923
22132
  }
@@ -21945,6 +22154,14 @@ declare namespace io.flow.internal.v0.models {
21945
22154
  readonly updated_at: string;
21946
22155
  }
21947
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
+
21948
22165
  interface OrganizationPaymentSettingForm {
21949
22166
  readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
21950
22167
  readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus;
@@ -21953,6 +22170,14 @@ declare namespace io.flow.internal.v0.models {
21953
22170
  readonly payment_statement_suffix?: string;
21954
22171
  }
21955
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
+
21956
22181
  interface OrganizationPaymentSettingVersion {
21957
22182
  readonly id: string;
21958
22183
  readonly timestamp: string;
@@ -21960,6 +22185,34 @@ declare namespace io.flow.internal.v0.models {
21960
22185
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
21961
22186
  }
21962
22187
 
22188
+ interface OrganizationRestrictionSnapshot {
22189
+ readonly id: string;
22190
+ readonly organization_id: string;
22191
+ readonly organization_channel_id: string;
22192
+ readonly organization_status: string;
22193
+ readonly product_count: number;
22194
+ readonly open_decision_count: number;
22195
+ readonly restricted_product_count: number;
22196
+ readonly count_by_rule: io.flow.internal.v0.models.ByRuleSnapshot[];
22197
+ readonly earliest_pending_decision_date: string;
22198
+ readonly earliest_product_receipt_date: string;
22199
+ readonly date: string;
22200
+ }
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
+
21963
22216
  interface OrganizationRestrictionSummary {
21964
22217
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21965
22218
  readonly earliest_date: string;
@@ -22069,6 +22322,17 @@ declare namespace io.flow.internal.v0.models {
22069
22322
  readonly tribe: io.flow.internal.v0.models.Tribe;
22070
22323
  }
22071
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
+
22072
22336
  interface PaymentOrganizationSettings {
22073
22337
  readonly id: string;
22074
22338
  readonly enable_auto_capture: boolean;
@@ -25295,6 +25559,8 @@ declare namespace io.flow.internal.v0.unions {
25295
25559
  | io.flow.internal.v0.models.FulfillmentCancel
25296
25560
  | io.flow.internal.v0.models.OrderShipped
25297
25561
  | io.flow.internal.v0.models.ItemsShipped
25562
+ | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted
25563
+ | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted
25298
25564
  | io.flow.internal.v0.models.InternalAuthorizationUpserted
25299
25565
  | io.flow.internal.v0.models.InternalAuthorizationDeleted
25300
25566
  | io.flow.internal.v0.models.AfterpayAuthorizationUpserted
@@ -25315,6 +25581,8 @@ declare namespace io.flow.internal.v0.unions {
25315
25581
  | io.flow.internal.v0.models.VirtualCardProviderDeleted
25316
25582
  | io.flow.internal.v0.models.AuthorizationBundleUpserted
25317
25583
  | io.flow.internal.v0.models.AuthorizationBundleDeleted
25584
+ | io.flow.internal.v0.models.OrganizationPaymentSettingUpserted
25585
+ | io.flow.internal.v0.models.OrganizationPaymentSettingDeleted
25318
25586
  | io.flow.internal.v0.models.PaypalPaymentDeleted
25319
25587
  | io.flow.internal.v0.models.PaypalPaymentUpserted
25320
25588
  | io.flow.internal.v0.models.PaypalExecutionDeleted
@@ -25679,6 +25947,8 @@ export type AdyenCaptureDeleted =
25679
25947
  io.flow.internal.v0.models.AdyenCaptureDeleted;
25680
25948
  export type AdyenCaptureUpserted =
25681
25949
  io.flow.internal.v0.models.AdyenCaptureUpserted;
25950
+ export type AdyenIntegrationType =
25951
+ io.flow.internal.v0.enums.AdyenIntegrationType;
25682
25952
  export type AdyenInternalAuthorization =
25683
25953
  io.flow.internal.v0.models.AdyenInternalAuthorization;
25684
25954
  export type AdyenInternalCancel =
@@ -25943,6 +26213,7 @@ export type BrowserBundlePaymentMethodForm =
25943
26213
  io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
25944
26214
  export type BrowserBundlePaymentMethods =
25945
26215
  io.flow.internal.v0.models.BrowserBundlePaymentMethods;
26216
+ export type ByRuleSnapshot = io.flow.internal.v0.models.ByRuleSnapshot;
25946
26217
  export type CalculatedTaxAmount =
25947
26218
  io.flow.internal.v0.models.CalculatedTaxAmount;
25948
26219
  export type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
@@ -26036,6 +26307,8 @@ export type ChannelRateMetadataRate =
26036
26307
  export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
26037
26308
  export type ChannelTransactionRate =
26038
26309
  io.flow.internal.v0.models.ChannelTransactionRate;
26310
+ export type ChannelTransactionType =
26311
+ io.flow.internal.v0.enums.ChannelTransactionType;
26039
26312
  export type Chargeback = io.flow.internal.v0.models.Chargeback;
26040
26313
  export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
26041
26314
  export type ChargebackPaymentStatus =
@@ -27188,6 +27461,28 @@ export type DailyExperimentResultsDeleted =
27188
27461
  io.flow.internal.v0.models.DailyExperimentResultsDeleted;
27189
27462
  export type DailyExperimentResultsUpserted =
27190
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;
27191
27486
  export type Decision = io.flow.internal.v0.models.Decision;
27192
27487
  export type DeclineReason = io.flow.internal.v0.unions.DeclineReason;
27193
27488
  export type DeclineReasonChannelOrderAcceptance =
@@ -27688,6 +27983,8 @@ export type InternalChannelRateDeleted =
27688
27983
  io.flow.internal.v0.models.InternalChannelRateDeleted;
27689
27984
  export type InternalChannelRateUpserted =
27690
27985
  io.flow.internal.v0.models.InternalChannelRateUpserted;
27986
+ export type InternalDebugTransaction =
27987
+ io.flow.internal.v0.models.InternalDebugTransaction;
27691
27988
  export type InternalExclusionRuleForm =
27692
27989
  io.flow.internal.v0.models.InternalExclusionRuleForm;
27693
27990
  export type InternalFiservAuthorizationDetails =
@@ -28131,6 +28428,8 @@ export type OrganizationCurrencySettingUpserted =
28131
28428
  io.flow.internal.v0.models.OrganizationCurrencySettingUpserted;
28132
28429
  export type OrganizationCurrencySettingVersion =
28133
28430
  io.flow.internal.v0.models.OrganizationCurrencySettingVersion;
28431
+ export type OrganizationDebugTransaction =
28432
+ io.flow.internal.v0.models.OrganizationDebugTransaction;
28134
28433
  export type OrganizationInvitationAcceptForm =
28135
28434
  io.flow.internal.v0.models.OrganizationInvitationAcceptForm;
28136
28435
  export type OrganizationMembershipCopy =
@@ -28139,12 +28438,22 @@ export type OrganizationMembershipCopyForm =
28139
28438
  io.flow.internal.v0.models.OrganizationMembershipCopyForm;
28140
28439
  export type OrganizationPaymentSetting =
28141
28440
  io.flow.internal.v0.models.OrganizationPaymentSetting;
28441
+ export type OrganizationPaymentSettingDeleted =
28442
+ io.flow.internal.v0.models.OrganizationPaymentSettingDeleted;
28142
28443
  export type OrganizationPaymentSettingForm =
28143
28444
  io.flow.internal.v0.models.OrganizationPaymentSettingForm;
28445
+ export type OrganizationPaymentSettingUpserted =
28446
+ io.flow.internal.v0.models.OrganizationPaymentSettingUpserted;
28144
28447
  export type OrganizationPaymentSettingVersion =
28145
28448
  io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
28146
28449
  export type OrganizationPaymentStatus =
28147
28450
  io.flow.internal.v0.enums.OrganizationPaymentStatus;
28451
+ export type OrganizationRestrictionSnapshot =
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;
28148
28457
  export type OrganizationRestrictionSummary =
28149
28458
  io.flow.internal.v0.models.OrganizationRestrictionSummary;
28150
28459
  export type OrganizationSettings =
@@ -28175,6 +28484,10 @@ export type PartnerOrganizationAuthorizationForm =
28175
28484
  export type Passphrase = io.flow.internal.v0.models.Passphrase;
28176
28485
  export type PassphraseForm = io.flow.internal.v0.models.PassphraseForm;
28177
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;
28178
28491
  export type PaymentOrganizationSettings =
28179
28492
  io.flow.internal.v0.models.PaymentOrganizationSettings;
28180
28493
  export type PaymentOrganizationSettingsPutForm =