@flowio/api-internal-prop-types 9.20.0 → 9.20.1

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.
@@ -15,6 +15,19 @@ T['io.flow.reference.v0.models.language'] = PropTypes.exact({
15
15
  iso_639_2: PropTypes.string.isRequired,
16
16
  });
17
17
 
18
+ T['io.flow.organization.v0.enums.short_id_source_key'] = PropTypes.oneOf(['channel', 'organization']);
19
+
20
+ T['io.flow.organization.v0.models.short_id_source'] = PropTypes.exact({
21
+ key: T['io.flow.organization.v0.enums.short_id_source_key'].isRequired,
22
+ id: PropTypes.string.isRequired,
23
+ });
24
+
25
+ T['io.flow.organization.v0.models.short_id'] = PropTypes.exact({
26
+ id: PropTypes.string.isRequired,
27
+ source: T['io.flow.organization.v0.models.short_id_source'].isRequired,
28
+ identifier: PropTypes.string.isRequired,
29
+ });
30
+
18
31
  T['io.flow.common.v0.enums.availability_status'] = PropTypes.oneOf(['enabled', 'disabled']);
19
32
 
20
33
  T['io.flow.organization.v0.models.region_setting_form'] = PropTypes.exact({
@@ -696,7 +709,6 @@ T['io.flow.crypto.v0.models.payment'] = PropTypes.exact({
696
709
  recipient: PropTypes.string.isRequired,
697
710
  refunded: PropTypes.bool.isRequired,
698
711
  status: T['io.flow.crypto.v0.enums.payment_status'].isRequired,
699
- time_window: PropTypes.number.isRequired,
700
712
  });
701
713
 
702
714
  T['io.flow.crypto.v0.models.webhook_payment'] = PropTypes.exact({
@@ -705,10 +717,14 @@ T['io.flow.crypto.v0.models.webhook_payment'] = PropTypes.exact({
705
717
 
706
718
  T['io.flow.crypto.v0.enums.error_type'] = PropTypes.oneOf(['authentication_error', 'invalid_request_error', 'rate_limit_error']);
707
719
 
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
+
708
726
  T['io.flow.crypto.v0.models.error_response'] = PropTypes.exact({
709
- type: T['io.flow.crypto.v0.enums.error_type'].isRequired,
710
- code: PropTypes.string.isRequired,
711
- param: PropTypes.string.isRequired,
727
+ error: T['io.flow.crypto.v0.models.error'],
712
728
  });
713
729
 
714
730
  T['io.flow.crypto.v0.enums.webhook_event_name'] = PropTypes.oneOf([
@@ -980,7 +996,7 @@ T['io.flow.payment.gateway.v0.enums.payment_failure_code'] = PropTypes.oneOf([
980
996
  ]);
981
997
 
982
998
  T['io.flow.payment.gateway.v0.models.payment_contact_shipping'] = PropTypes.exact({
983
- first_name: PropTypes.string.isRequired,
999
+ first_name: PropTypes.string,
984
1000
  last_name: PropTypes.string.isRequired,
985
1001
  email: PropTypes.string.isRequired,
986
1002
  phone: PropTypes.string.isRequired,
@@ -995,7 +1011,7 @@ T['io.flow.payment.gateway.v0.models.payment_address'] = PropTypes.exact({
995
1011
  });
996
1012
 
997
1013
  T['io.flow.payment.gateway.v0.models.payment_contact_billing'] = PropTypes.exact({
998
- first_name: PropTypes.string.isRequired,
1014
+ first_name: PropTypes.string,
999
1015
  last_name: PropTypes.string.isRequired,
1000
1016
  company: PropTypes.string,
1001
1017
  email: PropTypes.string,
@@ -2505,6 +2521,16 @@ T['io.flow.shopify.external.v0.models.response_product'] = PropTypes.exact({
2505
2521
  });
2506
2522
 
2507
2523
  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
+
2508
2534
  T['io.flow.adyen.v0.enums.method'] = PropTypes.oneOf(['GET', 'POST']);
2509
2535
 
2510
2536
  T['io.flow.adyen.v0.models.redirect_data'] = PropTypes.exact({
@@ -2535,6 +2561,11 @@ T['io.flow.adyen.v0.models.payment_response_additional_data'] = PropTypes.exact(
2535
2561
  threeDOfferedResponse: PropTypes.string,
2536
2562
  });
2537
2563
 
2564
+ T['io.flow.adyen.v0.models.applepay'] = PropTypes.exact({
2565
+ type: PropTypes.oneOf(['applepay']).isRequired,
2566
+ applePayToken: PropTypes.string.isRequired,
2567
+ });
2568
+
2538
2569
  T['io.flow.adyen.v0.models.scheme'] = PropTypes.exact({
2539
2570
  type: PropTypes.oneOf(['scheme']).isRequired,
2540
2571
  expiryMonth: PropTypes.string.isRequired,
@@ -2551,7 +2582,9 @@ T['io.flow.adyen.v0.models.threeds_additional_data'] = PropTypes.exact({
2551
2582
  allow3DS2: PropTypes.bool,
2552
2583
  });
2553
2584
 
2554
- T['io.flow.adyen.v0.unions.payment_method_data'] = PropTypes.oneOfType([T['io.flow.adyen.v0.models.scheme']]);
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
+ );
2555
2588
 
2556
2589
  T['io.flow.adyen.v0.enums.payment_method'] = PropTypes.oneOf([
2557
2590
  'ach',
@@ -2783,7 +2816,9 @@ T['io.flow.adyen.v0.models.payment_request'] = PropTypes.exact({
2783
2816
  browserInfo: T['io.flow.adyen.v0.unions.browser_info'],
2784
2817
  origin: PropTypes.string,
2785
2818
  channel: T['io.flow.adyen.v0.enums.channel'],
2786
- returnURL: PropTypes.string,
2819
+ returnUrl: PropTypes.string,
2820
+ mcc: PropTypes.string,
2821
+ metadata: PropTypes.object,
2787
2822
  });
2788
2823
 
2789
2824
  T['io.flow.adyen.v0.models.modification_request'] = PropTypes.exact({
@@ -2839,6 +2874,8 @@ T['io.flow.adyen.v0.models.authorize_request'] = PropTypes.exact({
2839
2874
  browserInfo: T['io.flow.adyen.v0.unions.browser_info'],
2840
2875
  threeDS2RequestData: T['io.flow.adyen.v0.models.threeds2_request_data'],
2841
2876
  recurringProcessingModel: T['io.flow.adyen.v0.enums.recurring_processing_model'],
2877
+ mcc: PropTypes.string,
2878
+ metadata: PropTypes.object,
2842
2879
  });
2843
2880
 
2844
2881
  T['io.flow.brickftp.v0.models.file_summary'] = PropTypes.exact({
@@ -2944,7 +2981,7 @@ T['io.flow.brickftp.v0.models.behavior'] = PropTypes.exact({
2944
2981
  id: PropTypes.number.isRequired,
2945
2982
  path: PropTypes.string.isRequired,
2946
2983
  behavior: T['io.flow.brickftp.v0.enums.behavior_type'].isRequired,
2947
- value: PropTypes.arrayOf(PropTypes.string).isRequired,
2984
+ value: PropTypes.object.isRequired,
2948
2985
  });
2949
2986
 
2950
2987
  T['io.flow.bitpay.v0.enums.webhook_event_name'] = PropTypes.oneOf([
@@ -3922,10 +3959,17 @@ T['io.flow.stripe.v0.models.three_d_secure'] = PropTypes.exact({
3922
3959
  customer: PropTypes.string,
3923
3960
  });
3924
3961
 
3962
+ T['io.flow.stripe.v0.enums.klarna_product'] = PropTypes.oneOf(['payment']);
3963
+
3925
3964
  T['io.flow.stripe.v0.models.source_klarna_request'] = PropTypes.exact({
3926
3965
  first_name: PropTypes.string.isRequired,
3927
3966
  last_name: PropTypes.string.isRequired,
3967
+ purchase_country: PropTypes.string,
3968
+ product: T['io.flow.stripe.v0.enums.klarna_product'],
3928
3969
  attachment: PropTypes.string,
3970
+ shipping_first_name: PropTypes.string,
3971
+ shipping_last_name: PropTypes.string,
3972
+ locale: PropTypes.string,
3929
3973
  });
3930
3974
 
3931
3975
  T['io.flow.stripe.v0.enums.refund_reason'] = PropTypes.oneOf(['duplicate', 'fraudulent', 'requested_by_customer']);
@@ -4002,7 +4046,7 @@ T['io.flow.stripe.v0.models.order_item_request'] = PropTypes.exact({
4002
4046
  });
4003
4047
 
4004
4048
  T['io.flow.stripe.v0.models.order_item'] = PropTypes.exact({
4005
- object: PropTypes.string.isRequired,
4049
+ object: PropTypes.string,
4006
4050
  amount: PropTypes.number.isRequired,
4007
4051
  currency: PropTypes.string.isRequired,
4008
4052
  description: PropTypes.string,
@@ -4035,10 +4079,15 @@ T['io.flow.stripe.v0.models.address'] = PropTypes.exact({
4035
4079
 
4036
4080
  T['io.flow.stripe.v0.models.shipping'] = PropTypes.exact({
4037
4081
  address: T['io.flow.stripe.v0.models.address'].isRequired,
4038
- name: PropTypes.string.isRequired,
4082
+ name: PropTypes.string,
4039
4083
  phone: PropTypes.string,
4040
4084
  });
4041
4085
 
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
+
4042
4091
  T['io.flow.stripe.v0.models.order_request'] = PropTypes.exact({
4043
4092
  currency: PropTypes.string,
4044
4093
  coupon: PropTypes.string,
@@ -4241,6 +4290,14 @@ T['io.flow.stripe.v0.models.charge_request'] = PropTypes.exact({
4241
4290
  transfer_data: T['io.flow.stripe.v0.models.transfer_data'],
4242
4291
  });
4243
4292
 
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
+
4244
4301
  T['io.flow.stripe.v0.enums.source_usage_type'] = PropTypes.oneOf(['reusable', 'single_use']);
4245
4302
 
4246
4303
  T['io.flow.stripe.v0.enums.source_type'] = PropTypes.oneOf([
@@ -4281,6 +4338,26 @@ T['io.flow.stripe.v0.models.source_klarna'] = PropTypes.exact({
4281
4338
  first_name: PropTypes.string,
4282
4339
  last_name: PropTypes.string,
4283
4340
  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,
4284
4361
  });
4285
4362
 
4286
4363
  T['io.flow.stripe.v0.enums.source_flow'] = PropTypes.oneOf(['redirect', 'receiver', 'code_verification', 'none']);
@@ -4414,6 +4491,7 @@ T['io.flow.stripe.v0.models.source_request'] = PropTypes.exact({
4414
4491
  three_d_secure: T['io.flow.stripe.v0.models.three_d_secure'],
4415
4492
  token: PropTypes.string,
4416
4493
  usage: T['io.flow.stripe.v0.enums.source_usage_type'].isRequired,
4494
+ source_order: T['io.flow.stripe.v0.models.source_order_request'],
4417
4495
  });
4418
4496
 
4419
4497
  T['io.flow.stripe.v0.models.source'] = PropTypes.exact({
@@ -4435,6 +4513,7 @@ T['io.flow.stripe.v0.models.source'] = PropTypes.exact({
4435
4513
  status: T['io.flow.stripe.v0.enums.source_status'].isRequired,
4436
4514
  type: T['io.flow.stripe.v0.enums.source_type'].isRequired,
4437
4515
  usage: T['io.flow.stripe.v0.enums.source_usage_type'].isRequired,
4516
+ source_order: T['io.flow.stripe.v0.models.source_order'],
4438
4517
  });
4439
4518
 
4440
4519
  T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
@@ -7303,6 +7382,13 @@ T['io.flow.internal.v0.models.organization_account_deleted'] = PropTypes.exact({
7303
7382
  id: PropTypes.string.isRequired,
7304
7383
  });
7305
7384
 
7385
+ T['io.flow.internal.v0.models.channel_account_deleted'] = PropTypes.exact({
7386
+ discriminator: PropTypes.oneOf(['channel_account_deleted']).isRequired,
7387
+ event_id: PropTypes.string.isRequired,
7388
+ timestamp: PropTypes.string.isRequired,
7389
+ id: PropTypes.string.isRequired,
7390
+ });
7391
+
7306
7392
  T['io.flow.internal.v0.models.tax_remittance_transaction_deleted'] = PropTypes.exact({
7307
7393
  discriminator: PropTypes.oneOf(['tax_remittance_transaction_deleted']).isRequired,
7308
7394
  event_id: PropTypes.string.isRequired,
@@ -8732,10 +8818,6 @@ T['io.flow.internal.v0.models.feature_id_reference'] = PropTypes.exact({
8732
8818
  id: PropTypes.string.isRequired,
8733
8819
  });
8734
8820
 
8735
- T['io.flow.internal.v0.models.simple_account_reference'] = PropTypes.exact({
8736
- id: PropTypes.string.isRequired,
8737
- });
8738
-
8739
8821
  T['io.flow.experience.v0.models.allocation_order_summary'] = PropTypes.exact({
8740
8822
  id: PropTypes.string.isRequired,
8741
8823
  number: PropTypes.string.isRequired,
@@ -14008,19 +14090,6 @@ T['io.flow.internal.v0.models.organization_boolean_value_deleted'] = PropTypes.e
14008
14090
  value: T['io.flow.internal.v0.models.organization_boolean_value'].isRequired,
14009
14091
  });
14010
14092
 
14011
- T['io.flow.internal.v0.models.organization_account'] = PropTypes.exact({
14012
- id: PropTypes.string.isRequired,
14013
- organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
14014
- account: T['io.flow.internal.v0.models.simple_account_reference'].isRequired,
14015
- });
14016
-
14017
- T['io.flow.internal.v0.models.organization_account_upserted'] = PropTypes.exact({
14018
- discriminator: PropTypes.oneOf(['organization_account_upserted']).isRequired,
14019
- event_id: PropTypes.string.isRequired,
14020
- timestamp: PropTypes.string.isRequired,
14021
- organization_account: T['io.flow.internal.v0.models.organization_account'].isRequired,
14022
- });
14023
-
14024
14093
  T['io.flow.common.v0.models.merchant_of_record_entity'] = PropTypes.exact({
14025
14094
  organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
14026
14095
  name: PropTypes.string.isRequired,
@@ -16166,6 +16235,23 @@ T['io.flow.internal.v0.models.channel_currency_form'] = PropTypes.exact({
16166
16235
  capabilities: PropTypes.arrayOf(T['io.flow.internal.v0.enums.channel_currency_capability']).isRequired,
16167
16236
  });
16168
16237
 
16238
+ T['io.flow.internal.v0.models.simple_account_reference'] = PropTypes.exact({
16239
+ id: PropTypes.string.isRequired,
16240
+ });
16241
+
16242
+ T['io.flow.internal.v0.models.organization_account'] = PropTypes.exact({
16243
+ id: PropTypes.string.isRequired,
16244
+ organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
16245
+ account: T['io.flow.internal.v0.models.simple_account_reference'].isRequired,
16246
+ });
16247
+
16248
+ T['io.flow.internal.v0.models.organization_account_upserted'] = PropTypes.exact({
16249
+ discriminator: PropTypes.oneOf(['organization_account_upserted']).isRequired,
16250
+ event_id: PropTypes.string.isRequired,
16251
+ timestamp: PropTypes.string.isRequired,
16252
+ organization_account: T['io.flow.internal.v0.models.organization_account'].isRequired,
16253
+ });
16254
+
16169
16255
  T['io.flow.common.v0.models.channel_reference'] = PropTypes.exact({
16170
16256
  id: PropTypes.string.isRequired,
16171
16257
  });
@@ -16195,6 +16281,19 @@ T['io.flow.internal.v0.models.channel_currency'] = PropTypes.exact({
16195
16281
  capabilities: PropTypes.arrayOf(T['io.flow.internal.v0.enums.channel_currency_capability']).isRequired,
16196
16282
  });
16197
16283
 
16284
+ T['io.flow.internal.v0.models.channel_account'] = PropTypes.exact({
16285
+ id: PropTypes.string.isRequired,
16286
+ channel: T['io.flow.common.v0.models.channel_reference'].isRequired,
16287
+ account: T['io.flow.internal.v0.models.simple_account_reference'].isRequired,
16288
+ });
16289
+
16290
+ T['io.flow.internal.v0.models.channel_account_upserted'] = PropTypes.exact({
16291
+ discriminator: PropTypes.oneOf(['channel_account_upserted']).isRequired,
16292
+ event_id: PropTypes.string.isRequired,
16293
+ timestamp: PropTypes.string.isRequired,
16294
+ channel_account: T['io.flow.internal.v0.models.channel_account'].isRequired,
16295
+ });
16296
+
16198
16297
  T['io.flow.common.v0.enums.environment'] = PropTypes.oneOf(['sandbox', 'production']);
16199
16298
 
16200
16299
  T['io.flow.session.v0.models.organization_session_authorization'] = PropTypes.exact({
@@ -22150,6 +22249,8 @@ T['io.flow.internal.v0.unions.event'] = PropTypes.oneOfType([
22150
22249
  T['io.flow.internal.v0.models.tax_remittance_transaction_deleted'],
22151
22250
  T['io.flow.internal.v0.models.channel_transaction_upserted'],
22152
22251
  T['io.flow.internal.v0.models.channel_transaction_deleted'],
22252
+ T['io.flow.internal.v0.models.channel_account_upserted'],
22253
+ T['io.flow.internal.v0.models.channel_account_deleted'],
22153
22254
  T['io.flow.internal.v0.models.organization_account_upserted'],
22154
22255
  T['io.flow.internal.v0.models.organization_account_deleted'],
22155
22256
  T['io.flow.internal.v0.models.account_transactions_export_request'],
@@ -22598,6 +22699,8 @@ T['io.flow.internal.v0.enums.event_type'] = PropTypes.oneOf([
22598
22699
  'tax_remittance_transaction_deleted',
22599
22700
  'channel_transaction_upserted',
22600
22701
  'channel_transaction_deleted',
22702
+ 'channel_account_upserted',
22703
+ 'channel_account_deleted',
22601
22704
  'organization_account_upserted',
22602
22705
  'organization_account_deleted',
22603
22706
  'account_transactions_export_request',
@@ -23825,6 +23928,14 @@ T['io.flow.stripe.v0.enums.event_type'] = PropTypes.oneOf([
23825
23928
  'source.failed',
23826
23929
  ]);
23827
23930
 
23931
+ T['io.flow.stripe.v0.enums.klarna_payment_method_category_type'] = PropTypes.oneOf([
23932
+ 'direct_bank_transfer',
23933
+ 'direct_debit',
23934
+ 'pay_later',
23935
+ 'pay_now',
23936
+ 'pay_over_time',
23937
+ ]);
23938
+
23828
23939
  T['io.flow.stripe.v0.models.card_request'] = PropTypes.exact({
23829
23940
  object: PropTypes.string.isRequired,
23830
23941
  exp_month: PropTypes.string.isRequired,
@@ -24041,6 +24152,14 @@ T['io.flow.adyen.v0.models.payment_details'] = PropTypes.exact({
24041
24152
  paymentData: PropTypes.string,
24042
24153
  });
24043
24154
 
24155
+ T['io.flow.adyen.v0.models.payment_details_v66_3ds2_challenge'] = PropTypes.exact({
24156
+ 'threeds2.challengeResult': PropTypes.string.isRequired,
24157
+ });
24158
+
24159
+ T['io.flow.adyen.v0.models.payment_details_v66_3ds2_fingerprint'] = PropTypes.exact({
24160
+ 'threeds2.fingerprint': PropTypes.string.isRequired,
24161
+ });
24162
+
24044
24163
  T['io.flow.adyen.v0.models.request_for_information_additional_data'] = PropTypes.exact({
24045
24164
  rfiSchemeCode: PropTypes.string.isRequired,
24046
24165
  modificationMerchantReferences: PropTypes.string.isRequired,
@@ -24653,6 +24772,9 @@ export const catalogItemRegionAvailabilitiesPublished = T['io.flow.internal.v0.m
24653
24772
  export const centerQueryBuilder = T['io.flow.internal.v0.models.center_query_builder'];
24654
24773
  export const changeSettingsIndexTask = T['io.flow.internal.v0.models.change_settings_index_task'];
24655
24774
  export const channel = T['io.flow.internal.v0.models.channel'];
24775
+ export const channelAccount = T['io.flow.internal.v0.models.channel_account'];
24776
+ export const channelAccountDeleted = T['io.flow.internal.v0.models.channel_account_deleted'];
24777
+ export const channelAccountUpserted = T['io.flow.internal.v0.models.channel_account_upserted'];
24656
24778
  export const channelCurrency = T['io.flow.internal.v0.models.channel_currency'];
24657
24779
  export const channelCurrencyCapability = T['io.flow.internal.v0.enums.channel_currency_capability'];
24658
24780
  export const channelCurrencyForm = T['io.flow.internal.v0.models.channel_currency_form'];