@flowio/api-internal-prop-types 9.21.1 → 9.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -375,6 +375,206 @@ T['io.flow.shopify.v0.unions.shopify_cart_add_form'] = PropTypes.oneOfType([
375
375
  T['io.flow.shopify.v0.models.shopify_cart_add_multiple_form'],
376
376
  ]);
377
377
 
378
+ T['io.flow.billing.v0.models.simple_account_reference'] = PropTypes.exact({
379
+ id: PropTypes.string.isRequired,
380
+ });
381
+
382
+ T['io.flow.billing.v0.enums.billing_transaction_status'] = PropTypes.oneOf(['pending', 'posted']);
383
+
384
+ T['io.flow.billing.v0.enums.billing_statement_attachment_key'] = PropTypes.oneOf([
385
+ 'invoice',
386
+ 'statement',
387
+ 'consumer_invoice',
388
+ 'credit_memo',
389
+ 'transactions',
390
+ 'channel_transactions',
391
+ 'virtual_card',
392
+ 'tax_remittance',
393
+ 'manual',
394
+ 'orders',
395
+ 'all',
396
+ ]);
397
+
398
+ T['io.flow.billing.v0.models.account_deposit_rule'] = PropTypes.exact({
399
+ target: PropTypes.number.isRequired,
400
+ rate: PropTypes.number.isRequired,
401
+ });
402
+
403
+ T['io.flow.billing.internal.v0.models.billing_invoice_summary'] = PropTypes.exact({
404
+ id: PropTypes.string.isRequired,
405
+ url: PropTypes.string.isRequired,
406
+ });
407
+
408
+ T['io.flow.billing.internal.v0.models.platform_fee_percentage_tier'] = PropTypes.exact({
409
+ minimum_amount_base: PropTypes.number.isRequired,
410
+ rate: PropTypes.number.isRequired,
411
+ });
412
+
413
+ T['io.flow.billing.v0.enums.subscription_frequency'] = PropTypes.oneOf(['yearly', 'monthly']);
414
+
415
+ T['io.flow.billing.internal.v0.models.platform_fee_disabled'] = PropTypes.exact({
416
+ discriminator: PropTypes.oneOf(['platform_fee_disabled']).isRequired,
417
+ attributes: PropTypes.objectOf(PropTypes.string),
418
+ });
419
+
420
+ T['io.flow.billing.internal.v0.models.platform_fee_percentage'] = PropTypes.exact({
421
+ discriminator: PropTypes.oneOf(['platform_fee_percentage']).isRequired,
422
+ tiers: PropTypes.arrayOf(T['io.flow.billing.internal.v0.models.platform_fee_percentage_tier']).isRequired,
423
+ });
424
+
425
+ T['io.flow.billing.internal.v0.models.platform_fee_flat'] = PropTypes.exact({
426
+ discriminator: PropTypes.oneOf(['platform_fee_flat']).isRequired,
427
+ amount: PropTypes.number.isRequired,
428
+ currency: PropTypes.string.isRequired,
429
+ frequency: T['io.flow.billing.v0.enums.subscription_frequency'].isRequired,
430
+ });
431
+
432
+ T['io.flow.billing.internal.v0.models.platform_fee_pause'] = PropTypes.exact({
433
+ discriminator: PropTypes.oneOf(['platform_fee_pause']).isRequired,
434
+ attributes: PropTypes.objectOf(PropTypes.string),
435
+ });
436
+
437
+ T['io.flow.billing.internal.v0.unions.platform_fee'] = PropTypes.oneOfType([
438
+ T['io.flow.billing.internal.v0.models.platform_fee_pause'],
439
+ T['io.flow.billing.internal.v0.models.platform_fee_flat'],
440
+ T['io.flow.billing.internal.v0.models.platform_fee_percentage'],
441
+ T['io.flow.billing.internal.v0.models.platform_fee_disabled'],
442
+ ]);
443
+
444
+ T['io.flow.billing.internal.v0.models.platform_fee_change_form'] = PropTypes.exact({
445
+ platform_fee: T['io.flow.billing.internal.v0.unions.platform_fee'].isRequired,
446
+ starts_at: PropTypes.string.isRequired,
447
+ });
448
+
449
+ T['io.flow.billing.internal.v0.models.platform_fee_change'] = PropTypes.exact({
450
+ organization_id: PropTypes.string.isRequired,
451
+ key: PropTypes.string.isRequired,
452
+ platform_fee: T['io.flow.billing.internal.v0.unions.platform_fee'].isRequired,
453
+ starts_at: PropTypes.string.isRequired,
454
+ });
455
+
456
+ T['io.flow.billing.internal.v0.models.transaction_reference'] = PropTypes.exact({
457
+ id: PropTypes.string.isRequired,
458
+ });
459
+
460
+ T['io.flow.billing.internal.v0.enums.manual_transaction_category'] = PropTypes.oneOf([
461
+ 'cancelled_order_refund',
462
+ 'client_accepted_chargeback',
463
+ 'fee_reimbursement',
464
+ 'partial_refund',
465
+ 'platform_fee',
466
+ 'shipping_true_up',
467
+ 'tax_credit',
468
+ ]);
469
+
470
+ T['io.flow.billing.internal.v0.models.manual_transaction_form'] = PropTypes.exact({
471
+ amount: PropTypes.number.isRequired,
472
+ description: PropTypes.string.isRequired,
473
+ category: T['io.flow.billing.internal.v0.enums.manual_transaction_category'],
474
+ posted_at: PropTypes.string,
475
+ });
476
+
477
+ T['io.flow.billing.internal.v0.enums.billing_statement_review_status'] = PropTypes.oneOf(['approved', 'pending']);
478
+
479
+ T['io.flow.billing.internal.v0.models.fx_revenue_recognition_account_rate'] = PropTypes.exact({
480
+ value: PropTypes.number.isRequired,
481
+ });
482
+
483
+ T['io.flow.billing.internal.v0.models.fx_revenue_recognition_order'] = PropTypes.exact({
484
+ number: PropTypes.string.isRequired,
485
+ submitted_at: PropTypes.string.isRequired,
486
+ });
487
+
488
+ T['io.flow.billing.internal.v0.models.fx_revenue_recognition_rate'] = PropTypes.exact({
489
+ value: PropTypes.number.isRequired,
490
+ margin: PropTypes.number.isRequired,
491
+ timestamp: PropTypes.string.isRequired,
492
+ });
493
+
494
+ T['io.flow.billing.internal.v0.models.fx_revenue_recognition_organization'] = PropTypes.exact({
495
+ id: PropTypes.string.isRequired,
496
+ });
497
+
498
+ T['io.flow.billing.v0.enums.billing_transaction_type'] = PropTypes.oneOf([
499
+ 'manual',
500
+ 'subscription',
501
+ 'invoice',
502
+ 'transfer',
503
+ 'adjustment',
504
+ 'capture',
505
+ 'refund',
506
+ 'virtual_card_capture',
507
+ 'virtual_card_refund',
508
+ 'tax_remittance',
509
+ 'fully_subsidized_order',
510
+ 'credit_payment',
511
+ 'dispute',
512
+ ]);
513
+
514
+ T['io.flow.billing.internal.v0.models.channel_service_fee_tier'] = PropTypes.exact({
515
+ minimum_orders: PropTypes.number.isRequired,
516
+ amount: PropTypes.number.isRequired,
517
+ });
518
+
519
+ T['io.flow.billing.internal.v0.models.channel_service_fee'] = PropTypes.exact({
520
+ tiers: PropTypes.arrayOf(T['io.flow.billing.internal.v0.models.channel_service_fee_tier']).isRequired,
521
+ });
522
+
523
+ T['io.flow.billing.v0.models.billing_statement_reference'] = PropTypes.exact({
524
+ id: PropTypes.string.isRequired,
525
+ });
526
+
527
+ T['io.flow.billing.internal.v0.models.pending_bank_payment_detail'] = PropTypes.exact({
528
+ transaction: T['io.flow.billing.internal.v0.models.transaction_reference'].isRequired,
529
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'].isRequired,
530
+ });
531
+
532
+ T['io.flow.billing.v0.models.billing_statement_attachment'] = PropTypes.exact({
533
+ key: T['io.flow.billing.v0.enums.billing_statement_attachment_key'].isRequired,
534
+ name: PropTypes.string.isRequired,
535
+ url: PropTypes.string.isRequired,
536
+ });
537
+
538
+ T['io.flow.billing.internal.v0.enums.transfer_method'] = PropTypes.oneOf(['ach']);
539
+ T['io.flow.billing.internal.v0.enums.responsible_party'] = PropTypes.oneOf(['flow', 'organization']);
540
+
541
+ T['io.flow.billing.internal.v0.models.billing_organization_processing_rate_form'] = PropTypes.exact({
542
+ query: PropTypes.string.isRequired,
543
+ capture: PropTypes.number.isRequired,
544
+ refund: PropTypes.number.isRequired,
545
+ fraud: PropTypes.number.isRequired,
546
+ });
547
+
548
+ T['io.flow.billing.internal.v0.models.billing_organization_processing_rates_form'] = PropTypes.exact({
549
+ processing_rates: PropTypes.arrayOf(
550
+ T['io.flow.billing.internal.v0.models.billing_organization_processing_rate_form'],
551
+ ).isRequired,
552
+ });
553
+
554
+ T['io.flow.billing.internal.v0.models.billing_order_destination'] = PropTypes.exact({
555
+ city: PropTypes.string,
556
+ province: PropTypes.string,
557
+ postal: PropTypes.string,
558
+ country: PropTypes.string.isRequired,
559
+ });
560
+
561
+ T['io.flow.billing.internal.v0.models.billing_order_summary'] = PropTypes.exact({
562
+ number: PropTypes.string.isRequired,
563
+ submitted_at: PropTypes.string.isRequired,
564
+ primary_identifier: PropTypes.string,
565
+ destination: T['io.flow.billing.internal.v0.models.billing_order_destination'],
566
+ });
567
+
568
+ T['io.flow.billing.v0.models.account_reference'] = PropTypes.exact({
569
+ id: PropTypes.string.isRequired,
570
+ currency: PropTypes.string.isRequired,
571
+ });
572
+
573
+ T['io.flow.billing.v0.models.account_deposit_rule_form'] = PropTypes.exact({
574
+ target: PropTypes.number.isRequired,
575
+ rate: PropTypes.number.isRequired,
576
+ });
577
+
378
578
  T['io.flow.query.builder.v0.models.query_builder_query_form'] = PropTypes.exact({
379
579
  discriminator: PropTypes.oneOf(['query']).isRequired,
380
580
  q: PropTypes.string.isRequired,
@@ -709,6 +909,7 @@ T['io.flow.crypto.v0.models.payment'] = PropTypes.exact({
709
909
  recipient: PropTypes.string.isRequired,
710
910
  refunded: PropTypes.bool.isRequired,
711
911
  status: T['io.flow.crypto.v0.enums.payment_status'].isRequired,
912
+ time_window: PropTypes.number.isRequired,
712
913
  });
713
914
 
714
915
  T['io.flow.crypto.v0.models.webhook_payment'] = PropTypes.exact({
@@ -717,14 +918,10 @@ T['io.flow.crypto.v0.models.webhook_payment'] = PropTypes.exact({
717
918
 
718
919
  T['io.flow.crypto.v0.enums.error_type'] = PropTypes.oneOf(['authentication_error', 'invalid_request_error', 'rate_limit_error']);
719
920
 
720
- T['io.flow.crypto.v0.models.error'] = PropTypes.exact({
721
- type: T['io.flow.crypto.v0.enums.error_type'],
722
- code: PropTypes.string,
723
- param: PropTypes.string,
724
- });
725
-
726
921
  T['io.flow.crypto.v0.models.error_response'] = PropTypes.exact({
727
- error: T['io.flow.crypto.v0.models.error'],
922
+ type: T['io.flow.crypto.v0.enums.error_type'].isRequired,
923
+ code: PropTypes.string.isRequired,
924
+ param: PropTypes.string.isRequired,
728
925
  });
729
926
 
730
927
  T['io.flow.crypto.v0.enums.webhook_event_name'] = PropTypes.oneOf([
@@ -2521,16 +2718,6 @@ T['io.flow.shopify.external.v0.models.response_product'] = PropTypes.exact({
2521
2718
  });
2522
2719
 
2523
2720
  T['io.flow.order.management.v0.enums.fulfillment_item_quantity_status'] = PropTypes.oneOf(['new', 'shipped', 'cancelled']);
2524
-
2525
- T['io.flow.adyen.v0.models.sdk_v3_on_complete_data'] = PropTypes.exact({
2526
- details: PropTypes.object.isRequired,
2527
- payment_data: PropTypes.string,
2528
- });
2529
-
2530
- T['io.flow.adyen.v0.models.sdk_v3_on_complete_result'] = PropTypes.exact({
2531
- data: T['io.flow.adyen.v0.models.sdk_v3_on_complete_data'].isRequired,
2532
- });
2533
-
2534
2721
  T['io.flow.adyen.v0.enums.method'] = PropTypes.oneOf(['GET', 'POST']);
2535
2722
 
2536
2723
  T['io.flow.adyen.v0.models.redirect_data'] = PropTypes.exact({
@@ -2561,11 +2748,6 @@ T['io.flow.adyen.v0.models.payment_response_additional_data'] = PropTypes.exact(
2561
2748
  threeDOfferedResponse: PropTypes.string,
2562
2749
  });
2563
2750
 
2564
- T['io.flow.adyen.v0.models.applepay'] = PropTypes.exact({
2565
- type: PropTypes.oneOf(['applepay']).isRequired,
2566
- applePayToken: PropTypes.string.isRequired,
2567
- });
2568
-
2569
2751
  T['io.flow.adyen.v0.models.scheme'] = PropTypes.exact({
2570
2752
  type: PropTypes.oneOf(['scheme']).isRequired,
2571
2753
  expiryMonth: PropTypes.string.isRequired,
@@ -2582,9 +2764,7 @@ T['io.flow.adyen.v0.models.threeds_additional_data'] = PropTypes.exact({
2582
2764
  allow3DS2: PropTypes.bool,
2583
2765
  });
2584
2766
 
2585
- T['io.flow.adyen.v0.unions.payment_method_data'] = PropTypes.oneOfType(
2586
- [T['io.flow.adyen.v0.models.scheme'], T['io.flow.adyen.v0.models.applepay']],
2587
- );
2767
+ T['io.flow.adyen.v0.unions.payment_method_data'] = PropTypes.oneOfType([T['io.flow.adyen.v0.models.scheme']]);
2588
2768
 
2589
2769
  T['io.flow.adyen.v0.enums.payment_method'] = PropTypes.oneOf([
2590
2770
  'ach',
@@ -2816,9 +2996,7 @@ T['io.flow.adyen.v0.models.payment_request'] = PropTypes.exact({
2816
2996
  browserInfo: T['io.flow.adyen.v0.unions.browser_info'],
2817
2997
  origin: PropTypes.string,
2818
2998
  channel: T['io.flow.adyen.v0.enums.channel'],
2819
- returnUrl: PropTypes.string,
2820
- mcc: PropTypes.string,
2821
- metadata: PropTypes.object,
2999
+ returnURL: PropTypes.string,
2822
3000
  });
2823
3001
 
2824
3002
  T['io.flow.adyen.v0.models.modification_request'] = PropTypes.exact({
@@ -2874,8 +3052,6 @@ T['io.flow.adyen.v0.models.authorize_request'] = PropTypes.exact({
2874
3052
  browserInfo: T['io.flow.adyen.v0.unions.browser_info'],
2875
3053
  threeDS2RequestData: T['io.flow.adyen.v0.models.threeds2_request_data'],
2876
3054
  recurringProcessingModel: T['io.flow.adyen.v0.enums.recurring_processing_model'],
2877
- mcc: PropTypes.string,
2878
- metadata: PropTypes.object,
2879
3055
  });
2880
3056
 
2881
3057
  T['io.flow.brickftp.v0.models.file_summary'] = PropTypes.exact({
@@ -2981,7 +3157,7 @@ T['io.flow.brickftp.v0.models.behavior'] = PropTypes.exact({
2981
3157
  id: PropTypes.number.isRequired,
2982
3158
  path: PropTypes.string.isRequired,
2983
3159
  behavior: T['io.flow.brickftp.v0.enums.behavior_type'].isRequired,
2984
- value: PropTypes.object.isRequired,
3160
+ value: PropTypes.arrayOf(PropTypes.string).isRequired,
2985
3161
  });
2986
3162
 
2987
3163
  T['io.flow.bitpay.v0.enums.webhook_event_name'] = PropTypes.oneOf([
@@ -3959,17 +4135,10 @@ T['io.flow.stripe.v0.models.three_d_secure'] = PropTypes.exact({
3959
4135
  customer: PropTypes.string,
3960
4136
  });
3961
4137
 
3962
- T['io.flow.stripe.v0.enums.klarna_product'] = PropTypes.oneOf(['payment']);
3963
-
3964
4138
  T['io.flow.stripe.v0.models.source_klarna_request'] = PropTypes.exact({
3965
4139
  first_name: PropTypes.string.isRequired,
3966
4140
  last_name: PropTypes.string.isRequired,
3967
- purchase_country: PropTypes.string,
3968
- product: T['io.flow.stripe.v0.enums.klarna_product'],
3969
4141
  attachment: PropTypes.string,
3970
- shipping_first_name: PropTypes.string,
3971
- shipping_last_name: PropTypes.string,
3972
- locale: PropTypes.string,
3973
4142
  });
3974
4143
 
3975
4144
  T['io.flow.stripe.v0.enums.refund_reason'] = PropTypes.oneOf(['duplicate', 'fraudulent', 'requested_by_customer']);
@@ -4046,7 +4215,7 @@ T['io.flow.stripe.v0.models.order_item_request'] = PropTypes.exact({
4046
4215
  });
4047
4216
 
4048
4217
  T['io.flow.stripe.v0.models.order_item'] = PropTypes.exact({
4049
- object: PropTypes.string,
4218
+ object: PropTypes.string.isRequired,
4050
4219
  amount: PropTypes.number.isRequired,
4051
4220
  currency: PropTypes.string.isRequired,
4052
4221
  description: PropTypes.string,
@@ -4079,15 +4248,10 @@ T['io.flow.stripe.v0.models.address'] = PropTypes.exact({
4079
4248
 
4080
4249
  T['io.flow.stripe.v0.models.shipping'] = PropTypes.exact({
4081
4250
  address: T['io.flow.stripe.v0.models.address'].isRequired,
4082
- name: PropTypes.string,
4251
+ name: PropTypes.string.isRequired,
4083
4252
  phone: PropTypes.string,
4084
4253
  });
4085
4254
 
4086
- T['io.flow.stripe.v0.models.source_order_request'] = PropTypes.exact({
4087
- items: PropTypes.arrayOf(T['io.flow.stripe.v0.models.order_item_request']),
4088
- shipping: T['io.flow.stripe.v0.models.shipping'],
4089
- });
4090
-
4091
4255
  T['io.flow.stripe.v0.models.order_request'] = PropTypes.exact({
4092
4256
  currency: PropTypes.string,
4093
4257
  coupon: PropTypes.string,
@@ -4290,14 +4454,6 @@ T['io.flow.stripe.v0.models.charge_request'] = PropTypes.exact({
4290
4454
  transfer_data: T['io.flow.stripe.v0.models.transfer_data'],
4291
4455
  });
4292
4456
 
4293
- T['io.flow.stripe.v0.models.source_order'] = PropTypes.exact({
4294
- amount: PropTypes.number,
4295
- currency: PropTypes.string,
4296
- email: PropTypes.string,
4297
- items: PropTypes.arrayOf(T['io.flow.stripe.v0.models.order_item']),
4298
- shipping: T['io.flow.stripe.v0.models.shipping'],
4299
- });
4300
-
4301
4457
  T['io.flow.stripe.v0.enums.source_usage_type'] = PropTypes.oneOf(['reusable', 'single_use']);
4302
4458
 
4303
4459
  T['io.flow.stripe.v0.enums.source_type'] = PropTypes.oneOf([
@@ -4338,26 +4494,6 @@ T['io.flow.stripe.v0.models.source_klarna'] = PropTypes.exact({
4338
4494
  first_name: PropTypes.string,
4339
4495
  last_name: PropTypes.string,
4340
4496
  client_token: PropTypes.string.isRequired,
4341
- payment_method_categories: PropTypes.string,
4342
- purchase_country: PropTypes.string,
4343
- shipping_first_name: PropTypes.string,
4344
- shipping_last_name: PropTypes.string,
4345
- locale: PropTypes.string,
4346
- pay_later_name: PropTypes.string,
4347
- pay_later_asset_urls_standard: PropTypes.string,
4348
- pay_later_asset_urls_descriptive: PropTypes.string,
4349
- pay_now_name: PropTypes.string,
4350
- pay_now_asset_urls_standard: PropTypes.string,
4351
- pay_now_asset_urls_descriptive: PropTypes.string,
4352
- pay_over_time_name: PropTypes.string,
4353
- pay_over_time_asset_urls_standard: PropTypes.string,
4354
- pay_over_time_asset_urls_descriptive: PropTypes.string,
4355
- direct_bank_transfer_name: PropTypes.string,
4356
- direct_bank_transfer_asset_urls_standard: PropTypes.string,
4357
- direct_bank_transfer_asset_urls_descriptive: PropTypes.string,
4358
- direct_debit_name: PropTypes.string,
4359
- direct_debit_asset_urls_standard: PropTypes.string,
4360
- direct_debit_asset_urls_descriptive: PropTypes.string,
4361
4497
  });
4362
4498
 
4363
4499
  T['io.flow.stripe.v0.enums.source_flow'] = PropTypes.oneOf(['redirect', 'receiver', 'code_verification', 'none']);
@@ -4491,7 +4627,6 @@ T['io.flow.stripe.v0.models.source_request'] = PropTypes.exact({
4491
4627
  three_d_secure: T['io.flow.stripe.v0.models.three_d_secure'],
4492
4628
  token: PropTypes.string,
4493
4629
  usage: T['io.flow.stripe.v0.enums.source_usage_type'].isRequired,
4494
- source_order: T['io.flow.stripe.v0.models.source_order_request'],
4495
4630
  });
4496
4631
 
4497
4632
  T['io.flow.stripe.v0.models.source'] = PropTypes.exact({
@@ -4513,7 +4648,6 @@ T['io.flow.stripe.v0.models.source'] = PropTypes.exact({
4513
4648
  status: T['io.flow.stripe.v0.enums.source_status'].isRequired,
4514
4649
  type: T['io.flow.stripe.v0.enums.source_type'].isRequired,
4515
4650
  usage: T['io.flow.stripe.v0.enums.source_usage_type'].isRequired,
4516
- source_order: T['io.flow.stripe.v0.models.source_order'],
4517
4651
  });
4518
4652
 
4519
4653
  T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
@@ -5365,6 +5499,19 @@ T['io.flow.export.v0.models.account_transactions_export_type'] = PropTypes.exact
5365
5499
 
5366
5500
  T['io.flow.export.v0.unions.export_delivery'] = PropTypes.oneOfType([T['io.flow.export.v0.models.export_delivery_email']]);
5367
5501
  T['io.flow.export.v0.enums.export_status'] = PropTypes.oneOf(['created', 'processing', 'completed', 'failed']);
5502
+ T['io.flow.invoice.v0.enums.payment_term'] = PropTypes.oneOf(['net7', 'net15', 'net30']);
5503
+
5504
+ T['io.flow.billing.internal.v0.models.billing_organization_settings'] = PropTypes.exact({
5505
+ id: PropTypes.string.isRequired,
5506
+ days_until_posted: PropTypes.number.isRequired,
5507
+ logistics: T['io.flow.billing.internal.v0.enums.responsible_party'].isRequired,
5508
+ include_transaction_created_at: PropTypes.bool.isRequired,
5509
+ include_order_exchange_rate: PropTypes.bool.isRequired,
5510
+ send_statements_to_flow_ftp_server: PropTypes.bool.isRequired,
5511
+ invoicing_terms: T['io.flow.invoice.v0.enums.payment_term'],
5512
+ transfer_method: T['io.flow.billing.internal.v0.enums.transfer_method'],
5513
+ b2b_tax_remittance_days: PropTypes.number,
5514
+ });
5368
5515
 
5369
5516
  T['io.flow.reference.v0.models.locale_numbers'] = PropTypes.exact({
5370
5517
  decimal: PropTypes.string.isRequired,
@@ -8828,6 +8975,16 @@ T['io.flow.internal.v0.models.feature_id_reference'] = PropTypes.exact({
8828
8975
  id: PropTypes.string.isRequired,
8829
8976
  });
8830
8977
 
8978
+ T['io.flow.internal.v0.models.order_service_fee_tier'] = PropTypes.exact({
8979
+ minimum_orders: PropTypes.number.isRequired,
8980
+ amount: PropTypes.number.isRequired,
8981
+ });
8982
+
8983
+ T['io.flow.internal.v0.models.order_service_fee'] = PropTypes.exact({
8984
+ currency: PropTypes.string.isRequired,
8985
+ tiers: PropTypes.arrayOf(T['io.flow.internal.v0.models.order_service_fee_tier']).isRequired,
8986
+ });
8987
+
8831
8988
  T['io.flow.experience.v0.models.allocation_order_summary'] = PropTypes.exact({
8832
8989
  id: PropTypes.string.isRequired,
8833
8990
  number: PropTypes.string.isRequired,
@@ -15202,6 +15359,21 @@ T['io.flow.internal.v0.unions.checkout_input'] = PropTypes.oneOfType([
15202
15359
  T['io.flow.internal.v0.models.checkout_input_set_payment_source'],
15203
15360
  ]);
15204
15361
 
15362
+ T['io.flow.internal.v0.models.checkout_address_country'] = PropTypes.exact({
15363
+ name: PropTypes.string.isRequired,
15364
+ code: PropTypes.string.isRequired,
15365
+ availability: PropTypes.arrayOf(T['io.flow.internal.v0.enums.checkout_address_type']).isRequired,
15366
+ });
15367
+
15368
+ T['io.flow.internal.v0.models.checkout_address_countries_form_data'] = PropTypes.exact({
15369
+ countries: PropTypes.arrayOf(T['io.flow.internal.v0.models.checkout_address_country']).isRequired,
15370
+ });
15371
+
15372
+ T['io.flow.internal.v0.models.checkout_info_address_countries_form_data'] = PropTypes.exact({
15373
+ discriminator: PropTypes.oneOf(['checkout_info_address_countries_form_data']).isRequired,
15374
+ data: T['io.flow.internal.v0.models.checkout_address_countries_form_data'].isRequired,
15375
+ });
15376
+
15205
15377
  T['io.flow.internal.v0.models.checkout_address'] = PropTypes.exact({
15206
15378
  name: PropTypes.string,
15207
15379
  first_name: PropTypes.string,
@@ -15786,7 +15958,7 @@ T['io.flow.internal.v0.unions.checkout_create_authorization_details_response'] =
15786
15958
  T['io.flow.internal.v0.models.checkout_create_authorization_details_response_success'],
15787
15959
  ]);
15788
15960
 
15789
- T['io.flow.internal.v0.models.channel_transaction'] = PropTypes.exact({
15961
+ T['io.flow.billing.internal.v0.models.channel_transaction'] = PropTypes.exact({
15790
15962
  id: PropTypes.string.isRequired,
15791
15963
  organization_id: PropTypes.string.isRequired,
15792
15964
  processing_transaction_id: PropTypes.string.isRequired,
@@ -15806,7 +15978,7 @@ T['io.flow.internal.v0.models.channel_transaction_upserted'] = PropTypes.exact({
15806
15978
  event_id: PropTypes.string.isRequired,
15807
15979
  timestamp: PropTypes.string.isRequired,
15808
15980
  organization: PropTypes.string.isRequired,
15809
- channel_transaction: T['io.flow.internal.v0.models.channel_transaction'].isRequired,
15981
+ channel_transaction: T['io.flow.billing.internal.v0.models.channel_transaction'].isRequired,
15810
15982
  });
15811
15983
 
15812
15984
  T['io.flow.internal.v0.models.channel_transaction_deleted'] = PropTypes.exact({
@@ -15814,16 +15986,7 @@ T['io.flow.internal.v0.models.channel_transaction_deleted'] = PropTypes.exact({
15814
15986
  event_id: PropTypes.string.isRequired,
15815
15987
  timestamp: PropTypes.string.isRequired,
15816
15988
  organization: PropTypes.string.isRequired,
15817
- channel_transaction: T['io.flow.internal.v0.models.channel_transaction'].isRequired,
15818
- });
15819
-
15820
- T['io.flow.internal.v0.models.channel_service_fee_tier'] = PropTypes.exact({
15821
- minimum_orders: PropTypes.number.isRequired,
15822
- amount: PropTypes.number.isRequired,
15823
- });
15824
-
15825
- T['io.flow.internal.v0.models.channel_service_fee'] = PropTypes.exact({
15826
- tiers: PropTypes.arrayOf(T['io.flow.internal.v0.models.channel_service_fee_tier']).isRequired,
15989
+ channel_transaction: T['io.flow.billing.internal.v0.models.channel_transaction'].isRequired,
15827
15990
  });
15828
15991
 
15829
15992
  T['io.flow.internal.v0.models.shopify_metadata'] = PropTypes.exact({
@@ -15878,6 +16041,12 @@ T['io.flow.checkout.v0.models.checkout_token'] = PropTypes.exact({
15878
16041
  customer: T['io.flow.common.v0.models.customer_reference'],
15879
16042
  });
15880
16043
 
16044
+ T['io.flow.billing.v0.models.organization_account'] = PropTypes.exact({
16045
+ id: PropTypes.string.isRequired,
16046
+ organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
16047
+ account: T['io.flow.billing.v0.models.simple_account_reference'].isRequired,
16048
+ });
16049
+
15881
16050
  T['io.flow.token.v0.models.organization_token_v2_reference'] = PropTypes.exact({
15882
16051
  discriminator: PropTypes.oneOf(['organization_token_v2_reference']).isRequired,
15883
16052
  id: PropTypes.string.isRequired,
@@ -16293,6 +16462,12 @@ T['io.flow.common.v0.models.channel_reference'] = PropTypes.exact({
16293
16462
  id: PropTypes.string.isRequired,
16294
16463
  });
16295
16464
 
16465
+ T['io.flow.billing.v0.models.channel_account'] = PropTypes.exact({
16466
+ id: PropTypes.string.isRequired,
16467
+ channel: T['io.flow.common.v0.models.channel_reference'].isRequired,
16468
+ account: T['io.flow.billing.v0.models.simple_account_reference'].isRequired,
16469
+ });
16470
+
16296
16471
  T['io.flow.channel.internal.v0.models.channel_currency'] = PropTypes.exact({
16297
16472
  id: PropTypes.string.isRequired,
16298
16473
  currency: PropTypes.string.isRequired,
@@ -17211,7 +17386,6 @@ T['io.flow.internal.v0.enums.billing_statement_attachment_key'] = PropTypes.oneO
17211
17386
  'consumer_invoice',
17212
17387
  'credit_memo',
17213
17388
  'transactions',
17214
- 'channel_transactions',
17215
17389
  'virtual_card',
17216
17390
  'tax_remittance',
17217
17391
  'manual',
@@ -17258,6 +17432,11 @@ T['io.flow.shopify.v0.models.shopify_sync_status'] = PropTypes.exact({
17258
17432
  buckets: PropTypes.arrayOf(T['io.flow.shopify.v0.unions.shopify_event_bucket']).isRequired,
17259
17433
  });
17260
17434
 
17435
+ T['io.flow.billing.internal.v0.models.billing_statement_batch'] = PropTypes.exact({
17436
+ id: PropTypes.string.isRequired,
17437
+ period: T['io.flow.common.v0.models.datetime_range'].isRequired,
17438
+ });
17439
+
17261
17440
  T['io.flow.tracking.v0.models.tracking_form'] = PropTypes.exact({
17262
17441
  status: T['io.flow.tracking.v0.enums.tracking_status'],
17263
17442
  order_number: PropTypes.string,
@@ -17506,6 +17685,35 @@ T['io.flow.fulfillment.v0.models.tier_form'] = PropTypes.exact({
17506
17685
  settings: T['io.flow.fulfillment.v0.models.tier_settings'],
17507
17686
  });
17508
17687
 
17688
+ T['io.flow.billing.internal.v0.models.fx_revenue_recognition_source'] = PropTypes.exact({
17689
+ id: PropTypes.string.isRequired,
17690
+ local: T['io.flow.common.v0.models.money'].isRequired,
17691
+ transaction_created_at: PropTypes.string.isRequired,
17692
+ });
17693
+
17694
+ T['io.flow.billing.internal.v0.models.fx_revenue_recognition_account'] = PropTypes.exact({
17695
+ value: T['io.flow.common.v0.models.money'].isRequired,
17696
+ spot_rate: T['io.flow.billing.internal.v0.models.fx_revenue_recognition_account_rate'].isRequired,
17697
+ });
17698
+
17699
+ T['io.flow.billing.internal.v0.models.fx_fee'] = PropTypes.exact({
17700
+ base: T['io.flow.common.v0.models.money'].isRequired,
17701
+ local: T['io.flow.common.v0.models.money'].isRequired,
17702
+ });
17703
+
17704
+ T['io.flow.billing.internal.v0.models.fx_revenue_recognition'] = PropTypes.exact({
17705
+ id: PropTypes.string.isRequired,
17706
+ organization: T['io.flow.billing.internal.v0.models.fx_revenue_recognition_organization'].isRequired,
17707
+ account: T['io.flow.billing.internal.v0.models.fx_revenue_recognition_account'].isRequired,
17708
+ fx: T['io.flow.billing.internal.v0.models.fx_fee'].isRequired,
17709
+ spot_rate: T['io.flow.billing.internal.v0.models.fx_revenue_recognition_rate'].isRequired,
17710
+ created_at: PropTypes.string.isRequired,
17711
+ order: T['io.flow.billing.internal.v0.models.fx_revenue_recognition_order'].isRequired,
17712
+ merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'].isRequired,
17713
+ source: T['io.flow.billing.internal.v0.models.fx_revenue_recognition_source'].isRequired,
17714
+ reporting_date: PropTypes.string,
17715
+ });
17716
+
17509
17717
  T['io.flow.ratecard.v0.models.remote_area_service_fee'] = PropTypes.exact({
17510
17718
  discriminator: PropTypes.oneOf(['remote_area_service_fee']).isRequired,
17511
17719
  amount: T['io.flow.common.v0.models.money'].isRequired,
@@ -20371,18 +20579,188 @@ T['io.flow.fulfillment.v0.models.delivery_option'] = PropTypes.exact({
20371
20579
  ratecard_owner: T['io.flow.fulfillment.v0.enums.ratecard_owner'],
20372
20580
  });
20373
20581
 
20374
- T['io.flow.catalog.v0.models.localized_adjustment'] = PropTypes.exact({
20375
- currency: PropTypes.string.isRequired,
20376
- amount: PropTypes.number.isRequired,
20377
- label: PropTypes.string.isRequired,
20378
- base: T['io.flow.common.v0.models.price'].isRequired,
20379
- reason: T['io.flow.catalog.v0.models.adjustment_reason'].isRequired,
20582
+ T['io.flow.billing.v0.models.subscription'] = PropTypes.exact({
20583
+ id: PropTypes.string.isRequired,
20584
+ organization: PropTypes.string.isRequired,
20585
+ value: T['io.flow.common.v0.models.price'].isRequired,
20586
+ frequency: T['io.flow.billing.v0.enums.subscription_frequency'].isRequired,
20587
+ starts_at: PropTypes.string.isRequired,
20588
+ created_at: PropTypes.string.isRequired,
20380
20589
  });
20381
20590
 
20382
- T['io.flow.catalog.v0.models.item_form_overlay'] = PropTypes.exact({
20591
+ T['io.flow.billing.v0.models.billing_transaction'] = PropTypes.exact({
20383
20592
  id: PropTypes.string.isRequired,
20384
- number: PropTypes.string.isRequired,
20385
- key: PropTypes.string.isRequired,
20593
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
20594
+ status: T['io.flow.billing.v0.enums.billing_transaction_status'].isRequired,
20595
+ posted_at: PropTypes.string,
20596
+ value: T['io.flow.common.v0.models.price'].isRequired,
20597
+ description: PropTypes.string.isRequired,
20598
+ created_at: PropTypes.string.isRequired,
20599
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
20600
+ });
20601
+
20602
+ T['io.flow.billing.v0.models.billing_statement_totals'] = PropTypes.exact({
20603
+ starting_balance: T['io.flow.common.v0.models.price'].isRequired,
20604
+ subscription: T['io.flow.common.v0.models.price'].isRequired,
20605
+ transfer: T['io.flow.common.v0.models.price'].isRequired,
20606
+ invoice: T['io.flow.common.v0.models.price'].isRequired,
20607
+ manual: T['io.flow.common.v0.models.price'].isRequired,
20608
+ adjustment: T['io.flow.common.v0.models.price'].isRequired,
20609
+ capture: T['io.flow.common.v0.models.price'].isRequired,
20610
+ refund: T['io.flow.common.v0.models.price'].isRequired,
20611
+ virtual_card_capture: T['io.flow.common.v0.models.price'].isRequired,
20612
+ virtual_card_refund: T['io.flow.common.v0.models.price'].isRequired,
20613
+ tax_remittance: T['io.flow.common.v0.models.price'].isRequired,
20614
+ dispute: T['io.flow.common.v0.models.price'].isRequired,
20615
+ ending_balance: T['io.flow.common.v0.models.price'].isRequired,
20616
+ });
20617
+
20618
+ T['io.flow.billing.v0.models.billing_statement'] = PropTypes.exact({
20619
+ id: PropTypes.string.isRequired,
20620
+ account: T['io.flow.billing.v0.models.account_reference'].isRequired,
20621
+ period: T['io.flow.common.v0.models.datetime_range'].isRequired,
20622
+ totals: T['io.flow.billing.v0.models.billing_statement_totals'].isRequired,
20623
+ attachments: PropTypes.arrayOf(T['io.flow.billing.v0.models.billing_statement_attachment']).isRequired,
20624
+ });
20625
+
20626
+ T['io.flow.billing.internal.v0.models.billing_statement_pending_review'] = PropTypes.exact({
20627
+ organization: PropTypes.string.isRequired,
20628
+ statement: T['io.flow.billing.v0.models.billing_statement'].isRequired,
20629
+ });
20630
+
20631
+ T['io.flow.billing.v0.models.next_billing_statement'] = PropTypes.exact({
20632
+ date: PropTypes.string.isRequired,
20633
+ amount: T['io.flow.common.v0.models.price'].isRequired,
20634
+ conditions: PropTypes.string,
20635
+ });
20636
+
20637
+ T['io.flow.billing.v0.models.account_statistics'] = PropTypes.exact({
20638
+ transfers: T['io.flow.common.v0.models.price'].isRequired,
20639
+ balance: T['io.flow.common.v0.models.price'].isRequired,
20640
+ pending: T['io.flow.common.v0.models.price'].isRequired,
20641
+ });
20642
+
20643
+ T['io.flow.billing.internal.v0.models.transfer_transaction'] = PropTypes.exact({
20644
+ discriminator: PropTypes.oneOf(['transfer_transaction']).isRequired,
20645
+ id: PropTypes.string.isRequired,
20646
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
20647
+ posted_at: PropTypes.string.isRequired,
20648
+ value: T['io.flow.common.v0.models.price'].isRequired,
20649
+ description: PropTypes.string.isRequired,
20650
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
20651
+ created_at: PropTypes.string.isRequired,
20652
+ method: T['io.flow.billing.internal.v0.enums.transfer_method'].isRequired,
20653
+ });
20654
+
20655
+ T['io.flow.billing.internal.v0.models.tax_remittance_transaction'] = PropTypes.exact({
20656
+ discriminator: PropTypes.oneOf(['tax_remittance_transaction']).isRequired,
20657
+ id: PropTypes.string.isRequired,
20658
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
20659
+ posted_at: PropTypes.string.isRequired,
20660
+ value: T['io.flow.common.v0.models.price'].isRequired,
20661
+ description: PropTypes.string.isRequired,
20662
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
20663
+ created_at: PropTypes.string.isRequired,
20664
+ order: T['io.flow.billing.internal.v0.models.billing_order_summary'].isRequired,
20665
+ invoice: T['io.flow.billing.internal.v0.models.billing_invoice_summary'].isRequired,
20666
+ });
20667
+
20668
+ T['io.flow.billing.internal.v0.models.subscription_transaction'] = PropTypes.exact({
20669
+ discriminator: PropTypes.oneOf(['subscription_transaction']).isRequired,
20670
+ id: PropTypes.string.isRequired,
20671
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
20672
+ posted_at: PropTypes.string.isRequired,
20673
+ value: T['io.flow.common.v0.models.price'].isRequired,
20674
+ description: PropTypes.string.isRequired,
20675
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
20676
+ created_at: PropTypes.string.isRequired,
20677
+ period: T['io.flow.common.v0.models.datetime_range'].isRequired,
20678
+ });
20679
+
20680
+ T['io.flow.billing.internal.v0.models.pending_bank_payment'] = PropTypes.exact({
20681
+ organization: PropTypes.string.isRequired,
20682
+ account: T['io.flow.billing.v0.models.account_reference'].isRequired,
20683
+ recommended_reference: PropTypes.string.isRequired,
20684
+ total: T['io.flow.common.v0.models.price'].isRequired,
20685
+ details: PropTypes.arrayOf(T['io.flow.billing.internal.v0.models.pending_bank_payment_detail']).isRequired,
20686
+ });
20687
+
20688
+ T['io.flow.billing.internal.v0.models.manual_transaction'] = PropTypes.exact({
20689
+ discriminator: PropTypes.oneOf(['manual_transaction']).isRequired,
20690
+ id: PropTypes.string.isRequired,
20691
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
20692
+ posted_at: PropTypes.string.isRequired,
20693
+ value: T['io.flow.common.v0.models.price'].isRequired,
20694
+ description: PropTypes.string.isRequired,
20695
+ category: T['io.flow.billing.internal.v0.enums.manual_transaction_category'],
20696
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
20697
+ created_at: PropTypes.string.isRequired,
20698
+ });
20699
+
20700
+ T['io.flow.billing.internal.v0.models.main_transaction'] = PropTypes.exact({
20701
+ id: PropTypes.string.isRequired,
20702
+ account: T['io.flow.billing.v0.models.account_reference'].isRequired,
20703
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
20704
+ value: T['io.flow.common.v0.models.price'].isRequired,
20705
+ posted_at: PropTypes.string.isRequired,
20706
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
20707
+ created_at: PropTypes.string.isRequired,
20708
+ original_at: PropTypes.string,
20709
+ disposition: T['io.flow.billing.internal.v0.enums.billing_statement_review_status'],
20710
+ });
20711
+
20712
+ T['io.flow.billing.internal.v0.models.fee'] = PropTypes.exact({
20713
+ value: T['io.flow.common.v0.models.price'].isRequired,
20714
+ description: PropTypes.string,
20715
+ });
20716
+
20717
+ T['io.flow.billing.internal.v0.models.fees'] = PropTypes.exact({
20718
+ processing: T['io.flow.billing.internal.v0.models.fee'].isRequired,
20719
+ rate_lock: T['io.flow.billing.internal.v0.models.fee'].isRequired,
20720
+ mor: T['io.flow.billing.internal.v0.models.fee'].isRequired,
20721
+ });
20722
+
20723
+ T['io.flow.billing.internal.v0.models.dispute_transaction'] = PropTypes.exact({
20724
+ discriminator: PropTypes.oneOf(['dispute_transaction']).isRequired,
20725
+ id: PropTypes.string.isRequired,
20726
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
20727
+ authorization: T['io.flow.payment.v0.models.authorization_reference'].isRequired,
20728
+ posted_at: PropTypes.string.isRequired,
20729
+ value: T['io.flow.common.v0.models.price'].isRequired,
20730
+ description: PropTypes.string.isRequired,
20731
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
20732
+ created_at: PropTypes.string.isRequired,
20733
+ });
20734
+
20735
+ T['io.flow.billing.internal.v0.models.components'] = PropTypes.exact({
20736
+ vat: T['io.flow.common.v0.models.price'].isRequired,
20737
+ duty: T['io.flow.common.v0.models.price'].isRequired,
20738
+ freight: T['io.flow.common.v0.models.price'].isRequired,
20739
+ insurance: T['io.flow.common.v0.models.price'].isRequired,
20740
+ });
20741
+
20742
+ T['io.flow.billing.internal.v0.models.bank_payment'] = PropTypes.exact({
20743
+ id: PropTypes.string.isRequired,
20744
+ key: PropTypes.string.isRequired,
20745
+ account: T['io.flow.billing.v0.models.account_reference'].isRequired,
20746
+ reference: PropTypes.string,
20747
+ sent_on: PropTypes.string.isRequired,
20748
+ expected_delivery_by: PropTypes.string.isRequired,
20749
+ total: T['io.flow.common.v0.models.price'].isRequired,
20750
+ });
20751
+
20752
+ T['io.flow.catalog.v0.models.localized_adjustment'] = PropTypes.exact({
20753
+ currency: PropTypes.string.isRequired,
20754
+ amount: PropTypes.number.isRequired,
20755
+ label: PropTypes.string.isRequired,
20756
+ base: T['io.flow.common.v0.models.price'].isRequired,
20757
+ reason: T['io.flow.catalog.v0.models.adjustment_reason'].isRequired,
20758
+ });
20759
+
20760
+ T['io.flow.catalog.v0.models.item_form_overlay'] = PropTypes.exact({
20761
+ id: PropTypes.string.isRequired,
20762
+ number: PropTypes.string.isRequired,
20763
+ key: PropTypes.string.isRequired,
20386
20764
  position: PropTypes.number.isRequired,
20387
20765
  price: T['io.flow.common.v0.models.price'],
20388
20766
  categories: PropTypes.arrayOf(PropTypes.string),
@@ -20453,6 +20831,34 @@ T['io.flow.catalog.v0.models.localized_item_price'] = PropTypes.exact({
20453
20831
  includes: T['io.flow.common.v0.models.included_levies'],
20454
20832
  });
20455
20833
 
20834
+ T['io.flow.invoice.v0.models.invoice_line'] = PropTypes.exact({
20835
+ id: PropTypes.string.isRequired,
20836
+ description: PropTypes.string.isRequired,
20837
+ value: T['io.flow.common.v0.models.price'].isRequired,
20838
+ });
20839
+
20840
+ T['io.flow.invoice.v0.models.invoice'] = PropTypes.exact({
20841
+ id: PropTypes.string.isRequired,
20842
+ number: PropTypes.string.isRequired,
20843
+ date: PropTypes.string.isRequired,
20844
+ terms: T['io.flow.invoice.v0.enums.payment_term'].isRequired,
20845
+ due_date: PropTypes.string.isRequired,
20846
+ lines: PropTypes.arrayOf(T['io.flow.invoice.v0.models.invoice_line']).isRequired,
20847
+ total: T['io.flow.common.v0.models.price'].isRequired,
20848
+ });
20849
+
20850
+ T['io.flow.billing.internal.v0.models.invoice_transaction'] = PropTypes.exact({
20851
+ discriminator: PropTypes.oneOf(['invoice_transaction']).isRequired,
20852
+ id: PropTypes.string.isRequired,
20853
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
20854
+ posted_at: PropTypes.string.isRequired,
20855
+ value: T['io.flow.common.v0.models.price'].isRequired,
20856
+ description: PropTypes.string.isRequired,
20857
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
20858
+ created_at: PropTypes.string.isRequired,
20859
+ invoice: T['io.flow.invoice.v0.models.invoice'].isRequired,
20860
+ });
20861
+
20456
20862
  T['io.flow.price.v0.models.price_book_item'] = PropTypes.exact({
20457
20863
  id: PropTypes.string.isRequired,
20458
20864
  key: PropTypes.string.isRequired,
@@ -21178,6 +21584,7 @@ T['io.flow.internal.v0.models.checkout_info_order_summary'] = PropTypes.exact({
21178
21584
  T['io.flow.internal.v0.unions.checkout_info'] = PropTypes.oneOfType([
21179
21585
  T['io.flow.internal.v0.models.checkout_info_address_book_contacts'],
21180
21586
  T['io.flow.internal.v0.models.checkout_info_address_configuration_form_data'],
21587
+ T['io.flow.internal.v0.models.checkout_info_address_countries_form_data'],
21181
21588
  T['io.flow.internal.v0.models.checkout_info_address_predictions'],
21182
21589
  T['io.flow.internal.v0.models.checkout_info_analytics_order'],
21183
21590
  T['io.flow.internal.v0.models.checkout_info_analytics_session'],
@@ -21376,6 +21783,62 @@ T['io.flow.shopify.v0.models.shopify_cart_item'] = PropTypes.exact({
21376
21783
  vendor: PropTypes.string,
21377
21784
  });
21378
21785
 
21786
+ T['io.flow.billing.internal.v0.models.virtual_card_transaction'] = PropTypes.exact({
21787
+ discriminator: PropTypes.oneOf(['virtual_card_transaction']).isRequired,
21788
+ id: PropTypes.string.isRequired,
21789
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
21790
+ posted_at: PropTypes.string.isRequired,
21791
+ value: T['io.flow.common.v0.models.price'].isRequired,
21792
+ description: PropTypes.string.isRequired,
21793
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
21794
+ created_at: PropTypes.string.isRequired,
21795
+ virtual_card: T['io.flow.payment.v0.models.virtual_card_reference'].isRequired,
21796
+ authorization: T['io.flow.payment.v0.models.authorization_reference'].isRequired,
21797
+ original: T['io.flow.common.v0.models.price_with_base'].isRequired,
21798
+ processing_fee: T['io.flow.billing.internal.v0.models.fee'].isRequired,
21799
+ });
21800
+
21801
+ T['io.flow.billing.internal.v0.models.processing_transaction'] = PropTypes.exact({
21802
+ discriminator: PropTypes.oneOf(['processing_transaction']).isRequired,
21803
+ id: PropTypes.string.isRequired,
21804
+ type: T['io.flow.billing.v0.enums.billing_transaction_type'].isRequired,
21805
+ merchant_of_record: T['io.flow.common.v0.enums.merchant_of_record'].isRequired,
21806
+ posted_at: PropTypes.string.isRequired,
21807
+ value: T['io.flow.common.v0.models.price'].isRequired,
21808
+ description: PropTypes.string.isRequired,
21809
+ statement: T['io.flow.billing.v0.models.billing_statement_reference'],
21810
+ created_at: PropTypes.string.isRequired,
21811
+ original_at: PropTypes.string,
21812
+ reference: PropTypes.string.isRequired,
21813
+ primary_identifier: PropTypes.string,
21814
+ payment_method: PropTypes.string.isRequired,
21815
+ original: T['io.flow.common.v0.models.price_with_base'].isRequired,
21816
+ original_base_at_spot_rate: T['io.flow.common.v0.models.price'],
21817
+ fees: T['io.flow.billing.internal.v0.models.fees'].isRequired,
21818
+ components: T['io.flow.billing.internal.v0.models.components'],
21819
+ withholdings: T['io.flow.billing.internal.v0.models.components'].isRequired,
21820
+ parent_transaction_id: PropTypes.string,
21821
+ order: T['io.flow.billing.internal.v0.models.billing_order_summary'],
21822
+ spot_rate: PropTypes.number.isRequired,
21823
+ flow_rate: PropTypes.number.isRequired,
21824
+ organization_rate: PropTypes.number.isRequired,
21825
+ flow_margin: PropTypes.number.isRequired,
21826
+ organization_margin: PropTypes.number.isRequired,
21827
+ revenue_share: T['io.flow.common.v0.models.price'],
21828
+ disposition: T['io.flow.billing.internal.v0.enums.billing_statement_review_status'],
21829
+ });
21830
+
21831
+ T['io.flow.billing.internal.v0.unions.transaction'] = PropTypes.oneOfType([
21832
+ T['io.flow.billing.internal.v0.models.invoice_transaction'],
21833
+ T['io.flow.billing.internal.v0.models.manual_transaction'],
21834
+ T['io.flow.billing.internal.v0.models.processing_transaction'],
21835
+ T['io.flow.billing.internal.v0.models.subscription_transaction'],
21836
+ T['io.flow.billing.internal.v0.models.tax_remittance_transaction'],
21837
+ T['io.flow.billing.internal.v0.models.transfer_transaction'],
21838
+ T['io.flow.billing.internal.v0.models.virtual_card_transaction'],
21839
+ T['io.flow.billing.internal.v0.models.dispute_transaction'],
21840
+ ]);
21841
+
21379
21842
  T['io.flow.item.v0.models.local_item_attribute_pricing'] = PropTypes.exact({
21380
21843
  pretax_price: T['io.flow.common.v0.models.price_with_base'].isRequired,
21381
21844
  vat: T['io.flow.catalog.v0.models.localized_item_vat'],
@@ -22234,6 +22697,14 @@ T['io.flow.common.v0.unions.repeat_schedule'] = PropTypes.oneOfType([
22234
22697
  T['io.flow.common.v0.models.repeat_monthly'],
22235
22698
  ]);
22236
22699
 
22700
+ T['io.flow.billing.internal.v0.models.account_form'] = PropTypes.exact({
22701
+ timezone: PropTypes.string.isRequired,
22702
+ payment_schedule: T['io.flow.common.v0.unions.repeat_schedule'].isRequired,
22703
+ payment_conditions: PropTypes.string,
22704
+ deposit_rule: T['io.flow.billing.v0.models.account_deposit_rule_form'],
22705
+ center_key: PropTypes.string,
22706
+ });
22707
+
22237
22708
  T['io.flow.internal.v0.models.account_form'] = PropTypes.exact({
22238
22709
  timezone: PropTypes.string.isRequired,
22239
22710
  payment_schedule: T['io.flow.common.v0.unions.repeat_schedule'].isRequired,
@@ -22248,6 +22719,20 @@ T['io.flow.reference.v0.models.timezone'] = PropTypes.exact({
22248
22719
  offset: PropTypes.number.isRequired,
22249
22720
  });
22250
22721
 
22722
+ T['io.flow.billing.v0.models.account'] = PropTypes.exact({
22723
+ id: PropTypes.string.isRequired,
22724
+ currency: PropTypes.string.isRequired,
22725
+ updated_at: PropTypes.string.isRequired,
22726
+ timezone: T['io.flow.reference.v0.models.timezone'].isRequired,
22727
+ payment_schedule: T['io.flow.common.v0.unions.repeat_schedule'].isRequired,
22728
+ payment_conditions: PropTypes.string,
22729
+ deposit_rule: T['io.flow.billing.v0.models.account_deposit_rule'],
22730
+ center_key: PropTypes.string,
22731
+ statistics: T['io.flow.billing.v0.models.account_statistics'].isRequired,
22732
+ next_statement: T['io.flow.billing.v0.models.next_billing_statement'].isRequired,
22733
+ created_at: PropTypes.string.isRequired,
22734
+ });
22735
+
22251
22736
  T['io.flow.internal.v0.models.account'] = PropTypes.exact({
22252
22737
  id: PropTypes.string.isRequired,
22253
22738
  currency: PropTypes.string.isRequired,
@@ -22511,6 +22996,13 @@ T['io.flow.common.v0.models.user_reference'] = PropTypes.exact({
22511
22996
  id: PropTypes.string.isRequired,
22512
22997
  });
22513
22998
 
22999
+ T['io.flow.billing.internal.v0.models.billing_statement_review'] = PropTypes.exact({
23000
+ id: PropTypes.string.isRequired,
23001
+ billing_statement: T['io.flow.billing.v0.models.billing_statement_reference'].isRequired,
23002
+ reviewed_by: T['io.flow.common.v0.models.user_reference'].isRequired,
23003
+ reviewed_at: PropTypes.string.isRequired,
23004
+ });
23005
+
22514
23006
  T['io.flow.token.v0.models.partner_token_reference'] = PropTypes.exact({
22515
23007
  discriminator: PropTypes.oneOf(['partner_token_reference']).isRequired,
22516
23008
  id: PropTypes.string.isRequired,
@@ -23988,14 +24480,6 @@ T['io.flow.stripe.v0.enums.event_type'] = PropTypes.oneOf([
23988
24480
  'source.failed',
23989
24481
  ]);
23990
24482
 
23991
- T['io.flow.stripe.v0.enums.klarna_payment_method_category_type'] = PropTypes.oneOf([
23992
- 'direct_bank_transfer',
23993
- 'direct_debit',
23994
- 'pay_later',
23995
- 'pay_now',
23996
- 'pay_over_time',
23997
- ]);
23998
-
23999
24483
  T['io.flow.stripe.v0.models.card_request'] = PropTypes.exact({
24000
24484
  object: PropTypes.string.isRequired,
24001
24485
  exp_month: PropTypes.string.isRequired,
@@ -24212,14 +24696,6 @@ T['io.flow.adyen.v0.models.payment_details'] = PropTypes.exact({
24212
24696
  paymentData: PropTypes.string,
24213
24697
  });
24214
24698
 
24215
- T['io.flow.adyen.v0.models.payment_details_v66_3ds2_challenge'] = PropTypes.exact({
24216
- 'threeds2.challengeResult': PropTypes.string.isRequired,
24217
- });
24218
-
24219
- T['io.flow.adyen.v0.models.payment_details_v66_3ds2_fingerprint'] = PropTypes.exact({
24220
- 'threeds2.fingerprint': PropTypes.string.isRequired,
24221
- });
24222
-
24223
24699
  T['io.flow.adyen.v0.models.request_for_information_additional_data'] = PropTypes.exact({
24224
24700
  rfiSchemeCode: PropTypes.string.isRequired,
24225
24701
  modificationMerchantReferences: PropTypes.string.isRequired,
@@ -24490,6 +24966,95 @@ T['io.flow.inventory.v0.models.pfs_inventory_status'] = PropTypes.exact({
24490
24966
  status: PropTypes.string.isRequired,
24491
24967
  });
24492
24968
 
24969
+ T['io.flow.billing.internal.v0.enums.billing_allocation_key'] = PropTypes.oneOf([
24970
+ 'freight_cost',
24971
+ 'adjustment',
24972
+ 'vat_deminimis',
24973
+ 'duty_deminimis',
24974
+ 'duties_item_price',
24975
+ 'duties_freight',
24976
+ 'duties_insurance',
24977
+ 'vat_item_price',
24978
+ 'vat_freight',
24979
+ 'vat_insurance',
24980
+ 'vat_duties_item_price',
24981
+ 'vat_duties_freight',
24982
+ 'vat_duties_insurance',
24983
+ 'item_price',
24984
+ 'item_discount',
24985
+ 'rounding',
24986
+ 'insurance',
24987
+ 'shipping',
24988
+ 'order_discount',
24989
+ 'subtotal_percent_sales_margin',
24990
+ 'subtotal_vat_percent_sales_margin',
24991
+ 'subtotal_duty_percent_sales_margin',
24992
+ 'vat_subsidy',
24993
+ 'duty_subsidy',
24994
+ 'fuel_surcharge',
24995
+ 'remote_area_surcharge',
24996
+ ]);
24997
+
24998
+ T['io.flow.billing.internal.v0.enums.billing_statement_batch_file_key'] = PropTypes.oneOf(['archive', 'summary']);
24999
+ T['io.flow.billing.internal.v0.enums.preferred_billing_schedule'] = PropTypes.oneOf(['monthly', 'bi-monthly']);
25000
+
25001
+ T['io.flow.billing.internal.v0.enums.processing_transaction_type'] = PropTypes.oneOf([
25002
+ 'adjustment',
25003
+ 'capture',
25004
+ 'refund',
25005
+ 'fully_subsidized_order',
25006
+ 'credit_payment',
25007
+ ]);
25008
+
25009
+ T['io.flow.billing.internal.v0.models.bank_payment_form'] = PropTypes.exact({
25010
+ account_id: PropTypes.string.isRequired,
25011
+ reference: PropTypes.string,
25012
+ sent_on: PropTypes.string.isRequired,
25013
+ expected_delivery_by: PropTypes.string.isRequired,
25014
+ amount: PropTypes.number.isRequired,
25015
+ currency: PropTypes.string.isRequired,
25016
+ transfer_transaction_ids: PropTypes.arrayOf(PropTypes.string).isRequired,
25017
+ });
25018
+
25019
+ T['io.flow.billing.internal.v0.models.billing_authorization_reference'] = PropTypes.exact({
25020
+ id: PropTypes.string.isRequired,
25021
+ });
25022
+
25023
+ T['io.flow.billing.internal.v0.models.billing_organization_processing_rates'] = PropTypes.exact({
25024
+ id: PropTypes.string.isRequired,
25025
+ query: PropTypes.string.isRequired,
25026
+ capture: PropTypes.number.isRequired,
25027
+ refund: PropTypes.number.isRequired,
25028
+ fraud: PropTypes.number.isRequired,
25029
+ position: PropTypes.number.isRequired,
25030
+ });
25031
+
25032
+ T['io.flow.billing.internal.v0.models.billing_statement_review_form'] = PropTypes.exact({
25033
+ reviewed_by_id: PropTypes.string.isRequired,
25034
+ reviewed_at: PropTypes.string.isRequired,
25035
+ });
25036
+
25037
+ T['io.flow.billing.v0.models.account_contact'] = PropTypes.exact({
25038
+ id: PropTypes.string.isRequired,
25039
+ email: PropTypes.string.isRequired,
25040
+ first_name: PropTypes.string,
25041
+ last_name: PropTypes.string,
25042
+ phone: PropTypes.string,
25043
+ });
25044
+
25045
+ T['io.flow.billing.v0.models.account_contact_form'] = PropTypes.exact({
25046
+ email: PropTypes.string.isRequired,
25047
+ first_name: PropTypes.string,
25048
+ last_name: PropTypes.string,
25049
+ phone: PropTypes.string,
25050
+ });
25051
+
25052
+ T['io.flow.billing.v0.models.email_form'] = PropTypes.exact({
25053
+ to: PropTypes.arrayOf(PropTypes.string).isRequired,
25054
+ cc: PropTypes.arrayOf(PropTypes.string),
25055
+ bcc: PropTypes.arrayOf(PropTypes.string),
25056
+ });
25057
+
24493
25058
  T['io.flow.harmonization.v0.models.harmonized_category_reference'] = PropTypes.exact({
24494
25059
  id: PropTypes.string.isRequired,
24495
25060
  });
@@ -24854,10 +25419,7 @@ export const channelOrderAcceptanceStatus = T['io.flow.internal.v0.enums.channel
24854
25419
  export const channelOrderAcceptanceUpserted = T['io.flow.internal.v0.models.channel_order_acceptance_upserted'];
24855
25420
  export const channelOrganizationShopify = T['io.flow.internal.v0.models.channel_organization_shopify'];
24856
25421
  export const channelOrganizationShopifyForm = T['io.flow.internal.v0.models.channel_organization_shopify_form'];
24857
- export const channelServiceFee = T['io.flow.internal.v0.models.channel_service_fee'];
24858
- export const channelServiceFeeTier = T['io.flow.internal.v0.models.channel_service_fee_tier'];
24859
25422
  export const channelTokenForm = T['io.flow.internal.v0.models.channel_token_form'];
24860
- export const channelTransaction = T['io.flow.internal.v0.models.channel_transaction'];
24861
25423
  export const channelTransactionDeleted = T['io.flow.internal.v0.models.channel_transaction_deleted'];
24862
25424
  export const channelTransactionUpserted = T['io.flow.internal.v0.models.channel_transaction_upserted'];
24863
25425
  export const chargeback = T['io.flow.internal.v0.models.chargeback'];
@@ -24885,6 +25447,8 @@ export const checkoutAddressBookContact = T['io.flow.internal.v0.models.checkout
24885
25447
  export const checkoutAddressBookContactReference = T['io.flow.internal.v0.models.checkout_address_book_contact_reference'];
24886
25448
  export const checkoutAddressBookContactRemoved = T['io.flow.internal.v0.models.checkout_address_book_contact_removed'];
24887
25449
  export const checkoutAddressBookEdit = T['io.flow.internal.v0.unions.checkout_address_book_edit'];
25450
+ export const checkoutAddressCountriesFormData = T['io.flow.internal.v0.models.checkout_address_countries_form_data'];
25451
+ export const checkoutAddressCountry = T['io.flow.internal.v0.models.checkout_address_country'];
24888
25452
  export const checkoutAddressPrediction = T['io.flow.internal.v0.models.checkout_address_prediction'];
24889
25453
  export const checkoutAddressPredictionMetadata = T['io.flow.internal.v0.models.checkout_address_prediction_metadata'];
24890
25454
  export const checkoutAddressPredictions = T['io.flow.internal.v0.models.checkout_address_predictions'];
@@ -25046,6 +25610,7 @@ export const checkoutInfoAddressBookContactsKeyField = T['io.flow.internal.v0.en
25046
25610
  export const checkoutInfoAddressConfigurationFormData = T['io.flow.internal.v0.models.checkout_info_address_configuration_form_data'];
25047
25611
  export const checkoutInfoAddressConfigurationFormDataKey = T['io.flow.internal.v0.models.checkout_info_address_configuration_form_data_key'];
25048
25612
  export const checkoutInfoAddressConfigurationFormDataKeyField = T['io.flow.internal.v0.enums.checkout_info_address_configuration_form_data_key_field'];
25613
+ export const checkoutInfoAddressCountriesFormData = T['io.flow.internal.v0.models.checkout_info_address_countries_form_data'];
25049
25614
  export const checkoutInfoAddressPredictions = T['io.flow.internal.v0.models.checkout_info_address_predictions'];
25050
25615
  export const checkoutInfoAddressPredictionsKey = T['io.flow.internal.v0.models.checkout_info_address_predictions_key'];
25051
25616
  export const checkoutInfoAddressPredictionsKeyField = T['io.flow.internal.v0.enums.checkout_info_address_predictions_key_field'];
@@ -26000,6 +26565,8 @@ export const orderRevenueRegionDataPoint = T['io.flow.internal.v0.models.order_r
26000
26565
  export const orderRevenueTimelineChart = T['io.flow.internal.v0.models.order_revenue_timeline_chart'];
26001
26566
  export const orderRevenueTimelineDataPoint = T['io.flow.internal.v0.models.order_revenue_timeline_data_point'];
26002
26567
  export const orderServiceChangeCsvForm = T['io.flow.internal.v0.models.order_service_change_csv_form'];
26568
+ export const orderServiceFee = T['io.flow.internal.v0.models.order_service_fee'];
26569
+ export const orderServiceFeeTier = T['io.flow.internal.v0.models.order_service_fee_tier'];
26003
26570
  export const orderShipped = T['io.flow.internal.v0.models.order_shipped'];
26004
26571
  export const orderSubmissionForm = T['io.flow.internal.v0.models.order_submission_form'];
26005
26572
  export const organizationAccount = T['io.flow.internal.v0.models.organization_account'];