@flowio/api-prop-types 10.16.95 → 10.16.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.js CHANGED
@@ -3079,6 +3079,74 @@ T['io.flow.shopify.external.v0.models.graphql_product'] = PropTypes.exact({
3079
3079
  metafields: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.graphql_metafield']),
3080
3080
  });
3081
3081
 
3082
+ T['io.flow.stripe.v0.enums.connect_report_connect_reporting_category'] = PropTypes.oneOf([
3083
+ 'advance',
3084
+ 'advance_funding',
3085
+ 'connect_collection_transfer',
3086
+ 'connect_reserved_funds',
3087
+ 'platform_earning',
3088
+ 'platform_earning_refund',
3089
+ 'transfer',
3090
+ 'transfer_reversal',
3091
+ ]);
3092
+
3093
+ T['io.flow.stripe.v0.enums.connect_report_issuing_reporting_category'] = PropTypes.oneOf([
3094
+ 'issuing_authorization_hold',
3095
+ 'issuing_authorization_release',
3096
+ 'issuing_disbursement',
3097
+ 'issuing_dispute',
3098
+ 'issuing_dispute_fraud_liability_debit',
3099
+ 'issuing_dispute_provisional_credit',
3100
+ 'issuing_dispute_provisional_credit_reversal',
3101
+ 'issuing_transaction',
3102
+ ]);
3103
+
3104
+ T['io.flow.stripe.v0.enums.connect_report_balance_reporting_category'] = PropTypes.oneOf([
3105
+ 'anticipation_repayment',
3106
+ 'climate_order_purchase',
3107
+ 'climate_order_refund',
3108
+ 'contribution',
3109
+ 'currency_conversion',
3110
+ 'fee',
3111
+ 'other_adjustment',
3112
+ 'payment_network_reserve_hold',
3113
+ 'payment_network_reserve_release',
3114
+ 'payout',
3115
+ 'payout_minimum_balance_hold',
3116
+ 'payout_minimum_balance_release',
3117
+ 'payout_reversal',
3118
+ 'risk_reserved_funds',
3119
+ 'stripe_balance_payment_debit',
3120
+ 'stripe_balance_payment_debit_reversal',
3121
+ 'topup',
3122
+ 'topup_reversal',
3123
+ 'unreconciled_customer_funds',
3124
+ ]);
3125
+
3126
+ T['io.flow.stripe.v0.enums.connect_report_payment_reporting_category'] = PropTypes.oneOf([
3127
+ 'charge',
3128
+ 'charge_failure',
3129
+ 'dispute',
3130
+ 'dispute_reversal',
3131
+ 'partial_capture_reversal',
3132
+ 'refund',
3133
+ 'refund_failure',
3134
+ ]);
3135
+
3136
+ T['io.flow.stripe.v0.unions.connect_report_reporting_category'] = PropTypes.oneOfType([PropTypes.exact({
3137
+ discriminator: PropTypes.oneOf(['connect_report_payment_reporting_category']).isRequired,
3138
+ value: T['io.flow.stripe.v0.enums.connect_report_payment_reporting_category'],
3139
+ }), PropTypes.exact({
3140
+ discriminator: PropTypes.oneOf(['connect_report_balance_reporting_category']).isRequired,
3141
+ value: T['io.flow.stripe.v0.enums.connect_report_balance_reporting_category'],
3142
+ }), PropTypes.exact({
3143
+ discriminator: PropTypes.oneOf(['connect_report_issuing_reporting_category']).isRequired,
3144
+ value: T['io.flow.stripe.v0.enums.connect_report_issuing_reporting_category'],
3145
+ }), PropTypes.exact({
3146
+ discriminator: PropTypes.oneOf(['connect_report_connect_reporting_category']).isRequired,
3147
+ value: T['io.flow.stripe.v0.enums.connect_report_connect_reporting_category'],
3148
+ })]);
3149
+
3082
3150
  T['io.flow.stripe.v0.models.stripe_event_request'] = PropTypes.exact({
3083
3151
  id: PropTypes.string,
3084
3152
  idempotency_key: PropTypes.string,
@@ -4009,6 +4077,23 @@ T['io.flow.stripe.v0.enums.dispute_status'] = PropTypes.oneOf([
4009
4077
  'lost',
4010
4078
  ]);
4011
4079
 
4080
+ T['io.flow.stripe.v0.enums.dispute_reason'] = PropTypes.oneOf([
4081
+ 'bank_cannot_process',
4082
+ 'check_returned',
4083
+ 'credit_not_processed',
4084
+ 'customer_initiated',
4085
+ 'debit_not_authorized',
4086
+ 'duplicate',
4087
+ 'fraudulent',
4088
+ 'general',
4089
+ 'incorrect_account_details',
4090
+ 'insufficient_funds',
4091
+ 'product_not_received',
4092
+ 'product_unacceptable',
4093
+ 'subscription_canceled',
4094
+ 'unrecognized',
4095
+ ]);
4096
+
4012
4097
  T['io.flow.stripe.v0.models.dispute_evidence'] = PropTypes.exact({
4013
4098
  access_activity_log: PropTypes.string,
4014
4099
  billing_address: PropTypes.string,
@@ -4039,48 +4124,6 @@ T['io.flow.stripe.v0.models.dispute_evidence'] = PropTypes.exact({
4039
4124
  uncategorized_text: PropTypes.string,
4040
4125
  });
4041
4126
 
4042
- T['io.flow.stripe.v0.enums.connect_report_transfer_type'] = PropTypes.oneOf([
4043
- 'ManagedMarketsRefundDebit',
4044
- 'ManagedMarketsDutiesAndTaxesAdjustmentDebit',
4045
- 'ManagedMarketsDisputedAmountDebit',
4046
- ]);
4047
-
4048
- T['io.flow.stripe.v0.enums.connect_report_shop_plan'] = PropTypes.oneOf(['shopify_plus', 'standard']);
4049
-
4050
- T['io.flow.stripe.v0.models.connect_report_record_payment_metadata'] = PropTypes.exact({
4051
- shop_id: PropTypes.number,
4052
- shop_plan: T['io.flow.stripe.v0.enums.connect_report_shop_plan'],
4053
- checkout_id: PropTypes.string,
4054
- order_id: PropTypes.number,
4055
- order_transaction_id: PropTypes.number,
4056
- transfer_type: T['io.flow.stripe.v0.enums.connect_report_transfer_type'],
4057
- transfer_exchange_rate: PropTypes.number,
4058
- charge_total: PropTypes.number,
4059
- charge_currency: PropTypes.string,
4060
- charge_exchange_rate: PropTypes.number,
4061
- duties: PropTypes.number,
4062
- import_taxes: PropTypes.number,
4063
- mor_fee: PropTypes.number,
4064
- fx_fee: PropTypes.number,
4065
- });
4066
-
4067
- T['io.flow.stripe.v0.enums.dispute_reason'] = PropTypes.oneOf([
4068
- 'bank_cannot_process',
4069
- 'check_returned',
4070
- 'credit_not_processed',
4071
- 'customer_initiated',
4072
- 'debit_not_authorized',
4073
- 'duplicate',
4074
- 'fraudulent',
4075
- 'general',
4076
- 'incorrect_account_details',
4077
- 'insufficient_funds',
4078
- 'product_not_received',
4079
- 'product_unacceptable',
4080
- 'subscription_canceled',
4081
- 'unrecognized',
4082
- ]);
4083
-
4084
4127
  T['io.flow.stripe.v0.models.dispute'] = PropTypes.exact({
4085
4128
  id: PropTypes.string.isRequired,
4086
4129
  amount: PropTypes.number.isRequired,
@@ -4118,31 +4161,6 @@ T['io.flow.stripe.v0.models.stripe_dispute_event'] = PropTypes.exact({
4118
4161
  pending_webhooks: PropTypes.number.isRequired,
4119
4162
  });
4120
4163
 
4121
- T['io.flow.stripe.v0.enums.connect_report_reporting_category'] = PropTypes.oneOf(['charge', 'refund', 'payout_reversal', 'transfer', 'transfer_reversal']);
4122
-
4123
- T['io.flow.stripe.v0.models.connect_report_record'] = PropTypes.exact({
4124
- created_utc: PropTypes.string.isRequired,
4125
- charge_id: PropTypes.string,
4126
- payment_intent_id: PropTypes.string,
4127
- gross: PropTypes.number.isRequired,
4128
- fee: PropTypes.number.isRequired,
4129
- net: PropTypes.number.isRequired,
4130
- currency: PropTypes.string.isRequired,
4131
- connected_account: PropTypes.string.isRequired,
4132
- reporting_category: T['io.flow.stripe.v0.enums.connect_report_reporting_category'].isRequired,
4133
- dispute_reason: T['io.flow.stripe.v0.enums.dispute_reason'],
4134
- available_on_utc: PropTypes.string.isRequired,
4135
- automatic_payout_effective_at_utc: PropTypes.string,
4136
- source_id: PropTypes.string,
4137
- customer_facing_amount: PropTypes.number,
4138
- customer_facing_currency: PropTypes.string,
4139
- payment_method_type: PropTypes.string,
4140
- card_brand: PropTypes.string,
4141
- statement_descriptor: PropTypes.string,
4142
- payment_metadata: T['io.flow.stripe.v0.models.connect_report_record_payment_metadata'],
4143
- transfer_metadata: PropTypes.object,
4144
- });
4145
-
4146
4164
  T['io.flow.stripe.v0.enums.code_verification_status'] = PropTypes.oneOf(['pending', 'succeeded', 'failed']);
4147
4165
 
4148
4166
  T['io.flow.stripe.v0.models.transfer_data'] = PropTypes.exact({
@@ -5174,6 +5192,14 @@ T['io.flow.v0.models.payment_request_deleted'] = PropTypes.exact({
5174
5192
  id: PropTypes.string.isRequired,
5175
5193
  });
5176
5194
 
5195
+ T['io.flow.v0.models.transfer_deleted'] = PropTypes.exact({
5196
+ discriminator: PropTypes.oneOf(['transfer_deleted']).isRequired,
5197
+ event_id: PropTypes.string.isRequired,
5198
+ timestamp: PropTypes.string.isRequired,
5199
+ organization: PropTypes.string.isRequired,
5200
+ id: PropTypes.string.isRequired,
5201
+ });
5202
+
5177
5203
  T['io.flow.v0.models.authorization_retry_deleted'] = PropTypes.exact({
5178
5204
  discriminator: PropTypes.oneOf(['authorization_retry_deleted']).isRequired,
5179
5205
  event_id: PropTypes.string.isRequired,
@@ -5821,6 +5847,23 @@ T['io.flow.v0.models.user_form'] = PropTypes.exact({
5821
5847
 
5822
5848
  T['io.flow.v0.enums.user_status'] = PropTypes.oneOf(['pending', 'active', 'inactive']);
5823
5849
 
5850
+ T['io.flow.v0.models.dispute_reference'] = PropTypes.exact({
5851
+ discriminator: PropTypes.oneOf(['dispute_reference']).isRequired,
5852
+ id: PropTypes.string.isRequired,
5853
+ key: PropTypes.string.isRequired,
5854
+ });
5855
+
5856
+ T['io.flow.v0.enums.transfer_status'] = PropTypes.oneOf(['succeeded', 'canceled']);
5857
+
5858
+ T['io.flow.v0.enums.transfer_type'] = PropTypes.oneOf([
5859
+ 'payout_to_merchant',
5860
+ 'disputed_amount_to_merchant',
5861
+ 'duties_and_taxes_adjustment_to_merchant',
5862
+ 'disputed_amount_from_merchant',
5863
+ 'duties_and_taxes_adjustment_from_merchant',
5864
+ 'refund_from_merchant',
5865
+ ]);
5866
+
5824
5867
  T['io.flow.v0.models.trueup_label_base_weight'] = PropTypes.exact({
5825
5868
  weight: PropTypes.number.isRequired,
5826
5869
  });
@@ -6330,6 +6373,7 @@ T['io.flow.v0.models.refund_order_summary'] = PropTypes.exact({
6330
6373
  });
6331
6374
 
6332
6375
  T['io.flow.v0.models.refund_reference'] = PropTypes.exact({
6376
+ discriminator: PropTypes.oneOf(['refund_reference']).isRequired,
6333
6377
  id: PropTypes.string.isRequired,
6334
6378
  key: PropTypes.string.isRequired,
6335
6379
  });
@@ -8006,6 +8050,7 @@ T['io.flow.v0.models.ge_input_attributes'] = PropTypes.exact({
8006
8050
  country_of_origin: PropTypes.string.isRequired,
8007
8051
  ge_hs6_code: PropTypes.string.isRequired,
8008
8052
  product_id: PropTypes.string.isRequired,
8053
+ ge_organization_name: PropTypes.string.isRequired,
8009
8054
  });
8010
8055
 
8011
8056
  T['io.flow.v0.models.ge_input_price'] = PropTypes.exact({
@@ -8030,7 +8075,7 @@ T['io.flow.v0.models.ge_catalog_item_input'] = PropTypes.exact({
8030
8075
  images: PropTypes.arrayOf(PropTypes.string).isRequired,
8031
8076
  });
8032
8077
 
8033
- T['io.flow.v0.enums.ge_catalog_item_ingestion_response'] = PropTypes.oneOf(['ge_catalog_item_ingestion_success', 'ge_catalog_item_ingestion_failure']);
8078
+ T['io.flow.v0.enums.ge_catalog_item_ingestion_response'] = PropTypes.oneOf(['success', 'failure']);
8034
8079
  T['io.flow.v0.enums.ge_environment'] = PropTypes.oneOf(['production', 'sandbox']);
8035
8080
  T['io.flow.v0.enums.ge_event_type'] = PropTypes.oneOf(['restriction_result', 'ingestion_result']);
8036
8081
 
@@ -9640,6 +9685,7 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
9640
9685
  'virtual_card_refund',
9641
9686
  'failed_payout',
9642
9687
  'tax_refund',
9688
+ 'duty_refund',
9643
9689
  'non_l4l_tax_duty_fx',
9644
9690
  'ge_revenue_share',
9645
9691
  ]);
@@ -10489,10 +10535,17 @@ T['io.flow.v0.unions.confirmation_details'] = PropTypes.oneOfType([
10489
10535
  ]);
10490
10536
 
10491
10537
  T['io.flow.v0.models.capture_reference'] = PropTypes.exact({
10538
+ discriminator: PropTypes.oneOf(['capture_reference']).isRequired,
10492
10539
  id: PropTypes.string.isRequired,
10493
10540
  key: PropTypes.string.isRequired,
10494
10541
  });
10495
10542
 
10543
+ T['io.flow.v0.unions.transfer_reference'] = PropTypes.oneOfType([
10544
+ T['io.flow.v0.models.capture_reference'],
10545
+ T['io.flow.v0.models.refund_reference'],
10546
+ T['io.flow.v0.models.dispute_reference'],
10547
+ ]);
10548
+
10496
10549
  T['io.flow.v0.models.capture_identifier'] = PropTypes.exact({
10497
10550
  id: PropTypes.string.isRequired,
10498
10551
  capture: T['io.flow.v0.models.capture_reference'].isRequired,
@@ -13637,6 +13690,30 @@ T['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'] = PropTypes.exact(
13637
13690
  amount: T['io.flow.v0.models.money'].isRequired,
13638
13691
  });
13639
13692
 
13693
+ T['io.flow.v0.models.exchanged_money'] = PropTypes.exact({
13694
+ fx_rate: PropTypes.number.isRequired,
13695
+ money: T['io.flow.v0.models.money'].isRequired,
13696
+ });
13697
+
13698
+ T['io.flow.v0.models.transfer'] = PropTypes.exact({
13699
+ id: PropTypes.string.isRequired,
13700
+ type: T['io.flow.v0.enums.transfer_type'].isRequired,
13701
+ money: T['io.flow.v0.models.money'].isRequired,
13702
+ transferred_money: T['io.flow.v0.models.exchanged_money'].isRequired,
13703
+ status: T['io.flow.v0.enums.transfer_status'].isRequired,
13704
+ created_at: PropTypes.string.isRequired,
13705
+ reference: T['io.flow.v0.unions.transfer_reference'].isRequired,
13706
+ transferred_at: PropTypes.string.isRequired,
13707
+ });
13708
+
13709
+ T['io.flow.v0.models.transfer_upserted'] = PropTypes.exact({
13710
+ discriminator: PropTypes.oneOf(['transfer_upserted']).isRequired,
13711
+ event_id: PropTypes.string.isRequired,
13712
+ timestamp: PropTypes.string.isRequired,
13713
+ organization: PropTypes.string.isRequired,
13714
+ transfer: T['io.flow.v0.models.transfer'].isRequired,
13715
+ });
13716
+
13640
13717
  T['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'] = PropTypes.exact({
13641
13718
  discriminator: PropTypes.oneOf(['emergency_situation_surcharge_ratecard_fee']).isRequired,
13642
13719
  amount: T['io.flow.v0.models.money'].isRequired,
@@ -16174,6 +16251,8 @@ T['io.flow.v0.models.ratecard_estimate_v4'] = PropTypes.exact({
16174
16251
  discriminator: PropTypes.oneOf(['ratecard_estimate_v4']).isRequired,
16175
16252
  hops: PropTypes.arrayOf(T['io.flow.v0.models.hop_v2']).isRequired,
16176
16253
  delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
16254
+ distance_unit_of_measurement: T['io.flow.v0.enums.unit_of_measurement'],
16255
+ weight_unit_of_measurement: T['io.flow.v0.enums.unit_of_measurement'],
16177
16256
  dimensional_weight: T['io.flow.v0.models.measurement'],
16178
16257
  gravitational_weight: T['io.flow.v0.models.measurement'],
16179
16258
  ratecard_id: PropTypes.string,
@@ -16684,6 +16763,8 @@ T['io.flow.v0.unions.event'] = PropTypes.oneOfType([
16684
16763
  T['io.flow.v0.models.virtual_card_refund_deleted'],
16685
16764
  T['io.flow.v0.models.authorization_retry_upserted'],
16686
16765
  T['io.flow.v0.models.authorization_retry_deleted'],
16766
+ T['io.flow.v0.models.transfer_upserted'],
16767
+ T['io.flow.v0.models.transfer_deleted'],
16687
16768
  T['io.flow.v0.models.payment_request_upserted'],
16688
16769
  T['io.flow.v0.models.payment_request_deleted'],
16689
16770
  T['io.flow.v0.models.price_book_upserted'],
@@ -17074,6 +17155,8 @@ T['io.flow.v0.enums.event_type'] = PropTypes.oneOf([
17074
17155
  'virtual_card_refund_deleted',
17075
17156
  'authorization_retry_upserted',
17076
17157
  'authorization_retry_deleted',
17158
+ 'transfer_upserted',
17159
+ 'transfer_deleted',
17077
17160
  'payment_request_upserted',
17078
17161
  'payment_request_deleted',
17079
17162
  'price_book_upserted',
@@ -18759,6 +18842,7 @@ export const discountRuleSubsidyEntitlement = T['io.flow.v0.models.discount_rule
18759
18842
  export const discountRuleSubsidyTarget = T['io.flow.v0.enums.discount_rule_subsidy_target'];
18760
18843
  export const discountTarget = T['io.flow.v0.enums.discount_target'];
18761
18844
  export const discountsForm = T['io.flow.v0.models.discounts_form'];
18845
+ export const disputeReference = T['io.flow.v0.models.dispute_reference'];
18762
18846
  export const document = T['io.flow.v0.unions.document'];
18763
18847
  export const duration = T['io.flow.v0.models.duration'];
18764
18848
  export const dutiesTaxesPaidSurchargeRatecardFee = T['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'];
@@ -18800,6 +18884,7 @@ export const event = T['io.flow.v0.unions.event'];
18800
18884
  export const eventType = T['io.flow.v0.enums.event_type'];
18801
18885
  export const exception = T['io.flow.v0.models.exception'];
18802
18886
  export const exceptionType = T['io.flow.v0.enums.exception_type'];
18887
+ export const exchangedMoney = T['io.flow.v0.models.exchanged_money'];
18803
18888
  export const exclusionRule = T['io.flow.v0.models.exclusion_rule'];
18804
18889
  export const exclusionRuleForm = T['io.flow.v0.models.exclusion_rule_form'];
18805
18890
  export const exclusionRuleState = T['io.flow.v0.enums.exclusion_rule_state'];
@@ -19982,6 +20067,12 @@ export const transactionNetworkDetailsCard = T['io.flow.v0.models.transaction_ne
19982
20067
  export const transactionReference = T['io.flow.v0.models.transaction_reference'];
19983
20068
  export const transactionSource = T['io.flow.v0.enums.transaction_source'];
19984
20069
  export const transactionUpserted = T['io.flow.v0.models.transaction_upserted'];
20070
+ export const transfer = T['io.flow.v0.models.transfer'];
20071
+ export const transferDeleted = T['io.flow.v0.models.transfer_deleted'];
20072
+ export const transferReference = T['io.flow.v0.unions.transfer_reference'];
20073
+ export const transferStatus = T['io.flow.v0.enums.transfer_status'];
20074
+ export const transferType = T['io.flow.v0.enums.transfer_type'];
20075
+ export const transferUpserted = T['io.flow.v0.models.transfer_upserted'];
19985
20076
  export const transitEstimate = T['io.flow.v0.models.transit_estimate'];
19986
20077
  export const transitWindow = T['io.flow.v0.models.transit_window'];
19987
20078
  export const trueupLabelBase = T['io.flow.v0.models.trueup_label_base'];