@flowio/api-prop-types 10.16.79 → 10.16.80

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
@@ -191,6 +191,23 @@ T['io.flow.shopify.external.v0.models.shopify_inventory_level_response_wrapper']
191
191
  inventory_levels: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_inventory_level']).isRequired,
192
192
  });
193
193
 
194
+ T['io.flow.shopify.external.v0.models.shopify_country_harmonized_system_code'] = PropTypes.exact({
195
+ country_code: PropTypes.string.isRequired,
196
+ harmonized_system_code: PropTypes.string.isRequired,
197
+ });
198
+
199
+ T['io.flow.shopify.external.v0.models.shopify_inventory_item_summary'] = PropTypes.exact({
200
+ country_code_of_origin: PropTypes.string,
201
+
202
+ country_harmonized_system_codes: PropTypes.arrayOf(
203
+ T['io.flow.shopify.external.v0.models.shopify_country_harmonized_system_code'],
204
+ ),
205
+
206
+ harmonized_system_code: PropTypes.string,
207
+ updated_at: PropTypes.string.isRequired,
208
+ requires_shipping: PropTypes.bool.isRequired,
209
+ });
210
+
194
211
  T['io.flow.shopify.external.v0.models.shopify_gift_card_adjustment'] = PropTypes.exact({
195
212
  id: PropTypes.number.isRequired,
196
213
  gift_card_id: PropTypes.number.isRequired,
@@ -658,7 +675,6 @@ T['io.flow.shopify.external.v0.models.request_shopify_gift_card'] = PropTypes.ex
658
675
  });
659
676
 
660
677
  T['io.flow.shopify.external.v0.enums.weight_unit'] = PropTypes.oneOf(['g', 'kg', 'oz', 'lb']);
661
- T['io.flow.shopify.external.v0.enums.inventory_policy'] = PropTypes.oneOf(['deny', 'continue']);
662
678
  T['io.flow.shopify.external.v0.enums.inventory_management'] = PropTypes.oneOf(['blank', 'shopify']);
663
679
  T['io.flow.shopify.external.v0.enums.fulfillment_service'] = PropTypes.oneOf(['manual', 'gift_card']);
664
680
  T['io.flow.shopify.external.v0.enums.published_scope'] = PropTypes.oneOf(['global']);
@@ -675,9 +691,9 @@ T['io.flow.shopify.external.v0.models.product_image'] = PropTypes.exact({
675
691
  product_id: PropTypes.number.isRequired,
676
692
  variant_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
677
693
  src: PropTypes.string,
678
- position: PropTypes.number.isRequired,
679
- created_at: PropTypes.string.isRequired,
680
- updated_at: PropTypes.string.isRequired,
694
+ position: PropTypes.number,
695
+ created_at: PropTypes.string,
696
+ updated_at: PropTypes.string,
681
697
  alt: PropTypes.string,
682
698
  });
683
699
 
@@ -776,6 +792,12 @@ T['io.flow.shopify.external.v0.models.response_metafield'] = PropTypes.exact({
776
792
  metafield: T['io.flow.shopify.external.v0.models.metafield'].isRequired,
777
793
  });
778
794
 
795
+ T['io.flow.shopify.external.v0.models.graphql_variant_image'] = PropTypes.exact({
796
+ id: PropTypes.string.isRequired,
797
+ });
798
+
799
+ T['io.flow.shopify.external.v0.enums.inventory_policy'] = PropTypes.oneOf(['deny', 'continue']);
800
+
779
801
  T['io.flow.shopify.external.v0.models.product_variant'] = PropTypes.exact({
780
802
  id: PropTypes.number.isRequired,
781
803
  sku: PropTypes.string,
@@ -798,7 +820,7 @@ T['io.flow.shopify.external.v0.models.product_variant'] = PropTypes.exact({
798
820
  option1: PropTypes.string,
799
821
  option2: PropTypes.string,
800
822
  option3: PropTypes.string,
801
- requires_shipping: PropTypes.bool.isRequired,
823
+ requires_shipping: PropTypes.bool,
802
824
  metafields: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.metafield']),
803
825
  });
804
826
 
@@ -819,7 +841,7 @@ T['io.flow.shopify.external.v0.models.product'] = PropTypes.exact({
819
841
  options: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.option']).isRequired,
820
842
  tags: PropTypes.string,
821
843
  template_suffix: PropTypes.string,
822
- published_scope: T['io.flow.shopify.external.v0.enums.published_scope'].isRequired,
844
+ published_scope: T['io.flow.shopify.external.v0.enums.published_scope'],
823
845
  published_at: PropTypes.string,
824
846
  created_at: PropTypes.string.isRequired,
825
847
  updated_at: PropTypes.string.isRequired,
@@ -834,6 +856,72 @@ T['io.flow.shopify.external.v0.models.response_product'] = PropTypes.exact({
834
856
  product: T['io.flow.shopify.external.v0.models.product'].isRequired,
835
857
  });
836
858
 
859
+ T['io.flow.shopify.external.v0.models.graphql_option'] = PropTypes.exact({
860
+ id: PropTypes.string.isRequired,
861
+ values: PropTypes.arrayOf(PropTypes.string).isRequired,
862
+ name: PropTypes.string.isRequired,
863
+ position: PropTypes.number.isRequired,
864
+ });
865
+
866
+ T['io.flow.shopify.external.v0.models.graphql_product_image'] = PropTypes.exact({
867
+ id: PropTypes.string.isRequired,
868
+ url: PropTypes.string.isRequired,
869
+ altText: PropTypes.string,
870
+ });
871
+
872
+ T['io.flow.shopify.external.v0.enums.graphql_weight_unit'] = PropTypes.oneOf(['GRAMS', 'KILOGRAMS', 'OUNCES', 'POUNDS']);
873
+
874
+ T['io.flow.shopify.external.v0.models.graphql_weight'] = PropTypes.exact({
875
+ unit: T['io.flow.shopify.external.v0.enums.graphql_weight_unit'].isRequired,
876
+ value: PropTypes.number.isRequired,
877
+ });
878
+
879
+ T['io.flow.shopify.external.v0.models.graphql_measurement'] = PropTypes.exact({
880
+ weight: T['io.flow.shopify.external.v0.models.graphql_weight'].isRequired,
881
+ });
882
+
883
+ T['io.flow.shopify.external.v0.models.graphql_inventory_item'] = PropTypes.exact({
884
+ id: PropTypes.string.isRequired,
885
+ tracked: PropTypes.bool.isRequired,
886
+ requiresShipping: PropTypes.bool,
887
+ measurement: T['io.flow.shopify.external.v0.models.graphql_measurement'].isRequired,
888
+ });
889
+
890
+ T['io.flow.shopify.external.v0.models.graphql_product_variant'] = PropTypes.exact({
891
+ id: PropTypes.string.isRequired,
892
+ legacyResourceId: PropTypes.string.isRequired,
893
+ sku: PropTypes.string,
894
+ price: PropTypes.string.isRequired,
895
+ title: PropTypes.string.isRequired,
896
+ taxable: PropTypes.bool.isRequired,
897
+ compareAtPrice: PropTypes.string,
898
+ barcode: PropTypes.string,
899
+ inventoryPolicy: T['io.flow.shopify.external.v0.enums.inventory_policy'].isRequired,
900
+ inventoryQuantity: PropTypes.number,
901
+ image: T['io.flow.shopify.external.v0.models.graphql_variant_image'],
902
+ inventoryItem: T['io.flow.shopify.external.v0.models.graphql_inventory_item'].isRequired,
903
+ });
904
+
905
+ T['io.flow.shopify.external.v0.models.graphql_product'] = PropTypes.exact({
906
+ id: PropTypes.string.isRequired,
907
+ legacyResourceId: PropTypes.string.isRequired,
908
+ handle: PropTypes.string.isRequired,
909
+ variants: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.graphql_product_variant']),
910
+ images: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.graphql_product_image']).isRequired,
911
+ title: PropTypes.string.isRequired,
912
+ vendor: PropTypes.string,
913
+ descriptionHtml: PropTypes.string,
914
+ productType: PropTypes.string,
915
+ status: PropTypes.string,
916
+ options: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.graphql_option']).isRequired,
917
+ tags: PropTypes.arrayOf(PropTypes.string),
918
+ templateSuffix: PropTypes.string,
919
+ publishedAt: PropTypes.string,
920
+ createdAt: PropTypes.string.isRequired,
921
+ updatedAt: PropTypes.string.isRequired,
922
+ hasVariantsThatRequiresComponents: PropTypes.bool,
923
+ });
924
+
837
925
  T['io.flow.stripe.v0.models.stripe_event_request'] = PropTypes.exact({
838
926
  id: PropTypes.string,
839
927
  idempotency_key: PropTypes.string,
@@ -1521,6 +1609,57 @@ T['io.flow.stripe.v0.models.dispute_payment_method_details_card'] = PropTypes.ex
1521
1609
  network_reason_code: PropTypes.string,
1522
1610
  });
1523
1611
 
1612
+ T['io.flow.stripe.v0.enums.balance_transaction_type'] = PropTypes.oneOf([
1613
+ 'adjustment',
1614
+ 'advance',
1615
+ 'advance_funding',
1616
+ 'anticipation_repayment',
1617
+ 'application_fee',
1618
+ 'application_fee_refund',
1619
+ 'charge',
1620
+ 'climate_order_purchase',
1621
+ 'climate_order_refund',
1622
+ 'connect_collection_transfer',
1623
+ 'contribution',
1624
+ 'issuing_authorization_hold',
1625
+ 'issuing_authorization_release',
1626
+ 'issuing_dispute',
1627
+ 'issuing_transaction',
1628
+ 'obligation_outbound',
1629
+ 'obligation_reversal_inbound',
1630
+ 'payment',
1631
+ 'payment_failure_refund',
1632
+ 'payment_network_reserve_hold',
1633
+ 'payment_network_reserve_release',
1634
+ 'payment_refund',
1635
+ 'payment_reversal',
1636
+ 'payment_unreconciled',
1637
+ 'payout',
1638
+ 'payout_cancel',
1639
+ 'payout_failure',
1640
+ 'refund',
1641
+ 'refund_failure',
1642
+ 'reserve_transaction',
1643
+ 'reserved_funds',
1644
+ 'stripe_fee',
1645
+ 'stripe_fx_fee',
1646
+ 'tax_fee',
1647
+ 'topup',
1648
+ 'topup_reversal',
1649
+ 'transfer',
1650
+ 'transfer_cancel',
1651
+ 'transfer_failure',
1652
+ 'transfer_refund',
1653
+ ]);
1654
+
1655
+ T['io.flow.stripe.v0.models.dispute_balance_transaction_fee_details'] = PropTypes.exact({
1656
+ amount: PropTypes.number.isRequired,
1657
+ application: PropTypes.string,
1658
+ currency: PropTypes.string.isRequired,
1659
+ description: PropTypes.string,
1660
+ type: PropTypes.string.isRequired,
1661
+ });
1662
+
1524
1663
  T['io.flow.stripe.v0.models.dispute_payment_method_details'] = PropTypes.exact({
1525
1664
  card: T['io.flow.stripe.v0.models.dispute_payment_method_details_card'],
1526
1665
  klarna: T['io.flow.stripe.v0.models.dispute_payment_method_details_klarna'],
@@ -1535,6 +1674,25 @@ T['io.flow.stripe.v0.models.dispute_evidence_details'] = PropTypes.exact({
1535
1674
  submission_count: PropTypes.number.isRequired,
1536
1675
  });
1537
1676
 
1677
+ T['io.flow.stripe.v0.models.dispute_balance_transaction'] = PropTypes.exact({
1678
+ payment_intent: PropTypes.string,
1679
+ id: PropTypes.string.isRequired,
1680
+ object: PropTypes.string.isRequired,
1681
+ amount: PropTypes.number.isRequired,
1682
+ available_on: PropTypes.number.isRequired,
1683
+ created: PropTypes.number.isRequired,
1684
+ currency: PropTypes.string.isRequired,
1685
+ description: PropTypes.string,
1686
+ exchange_rate: PropTypes.number,
1687
+ fee: PropTypes.number,
1688
+ fee_details: PropTypes.arrayOf(T['io.flow.stripe.v0.models.dispute_balance_transaction_fee_details']).isRequired,
1689
+ net: PropTypes.number.isRequired,
1690
+ reporting_category: PropTypes.string.isRequired,
1691
+ source: PropTypes.string,
1692
+ status: PropTypes.string.isRequired,
1693
+ type: T['io.flow.stripe.v0.enums.balance_transaction_type'].isRequired,
1694
+ });
1695
+
1538
1696
  T['io.flow.stripe.v0.enums.dispute_status'] = PropTypes.oneOf([
1539
1697
  'warning_needs_response',
1540
1698
  'warning_under_review',
@@ -1562,18 +1720,48 @@ T['io.flow.stripe.v0.enums.dispute_reason'] = PropTypes.oneOf([
1562
1720
  'unrecognized',
1563
1721
  ]);
1564
1722
 
1723
+ T['io.flow.stripe.v0.models.dispute_evidence'] = PropTypes.exact({
1724
+ access_activity_log: PropTypes.string,
1725
+ billing_address: PropTypes.string,
1726
+ cancellation_policy: PropTypes.string,
1727
+ cancellation_policy_disclosure: PropTypes.string,
1728
+ cancellation_rebuttal: PropTypes.string,
1729
+ customer_communication: PropTypes.string,
1730
+ customer_email_address: PropTypes.string,
1731
+ customer_name: PropTypes.string,
1732
+ 'evidence.customer_purchase_ip': PropTypes.string,
1733
+ customer_signature: PropTypes.string,
1734
+ duplicate_charge_documentation: PropTypes.string,
1735
+ duplicate_charge_explanation: PropTypes.string,
1736
+ duplicate_charge_id: PropTypes.string,
1737
+ product_description: PropTypes.string,
1738
+ receipt: PropTypes.string,
1739
+ refund_policy: PropTypes.string,
1740
+ refund_policy_disclosure: PropTypes.string,
1741
+ refund_refusal_explanation: PropTypes.string,
1742
+ service_date: PropTypes.string,
1743
+ service_documentation: PropTypes.string,
1744
+ shipping_address: PropTypes.string,
1745
+ shipping_carrier: PropTypes.string,
1746
+ shipping_date: PropTypes.string,
1747
+ shipping_documentation: PropTypes.string,
1748
+ shipping_tracking_number: PropTypes.string,
1749
+ uncategorized_file: PropTypes.string,
1750
+ uncategorized_text: PropTypes.string,
1751
+ });
1752
+
1565
1753
  T['io.flow.stripe.v0.models.dispute'] = PropTypes.exact({
1566
1754
  id: PropTypes.string.isRequired,
1567
1755
  amount: PropTypes.number.isRequired,
1568
1756
  charge: PropTypes.string.isRequired,
1569
1757
  currency: PropTypes.string.isRequired,
1570
- evidence: PropTypes.object.isRequired,
1758
+ evidence: T['io.flow.stripe.v0.models.dispute_evidence'].isRequired,
1571
1759
  metadata: PropTypes.objectOf(PropTypes.string).isRequired,
1572
1760
  payment_intent: PropTypes.string,
1573
1761
  reason: T['io.flow.stripe.v0.enums.dispute_reason'].isRequired,
1574
1762
  status: T['io.flow.stripe.v0.enums.dispute_status'].isRequired,
1575
1763
  object: PropTypes.string.isRequired,
1576
- balance_transactions: PropTypes.arrayOf(PropTypes.object).isRequired,
1764
+ balance_transactions: PropTypes.arrayOf(T['io.flow.stripe.v0.models.dispute_balance_transaction']).isRequired,
1577
1765
  created: PropTypes.number.isRequired,
1578
1766
  evidence_details: T['io.flow.stripe.v0.models.dispute_evidence_details'].isRequired,
1579
1767
  is_charge_refundable: PropTypes.bool.isRequired,
@@ -4274,6 +4462,16 @@ T['io.flow.v0.models.payment_method_data_init_bancontact'] = PropTypes.exact({
4274
4462
  reference: PropTypes.string,
4275
4463
  });
4276
4464
 
4465
+ T['io.flow.v0.models.payment_method_data_init_przelewy24'] = PropTypes.exact({
4466
+ type: PropTypes.oneOf(['init_przelewy24']).isRequired,
4467
+ reference: PropTypes.string,
4468
+ });
4469
+
4470
+ T['io.flow.v0.models.payment_method_data_init_twint'] = PropTypes.exact({
4471
+ type: PropTypes.oneOf(['init_twint']).isRequired,
4472
+ reference: PropTypes.string,
4473
+ });
4474
+
4277
4475
  T['io.flow.v0.models.payment_method_data_init_sofort'] = PropTypes.exact({
4278
4476
  type: PropTypes.oneOf(['init_sofort']).isRequired,
4279
4477
  reference: PropTypes.string,
@@ -4481,6 +4679,8 @@ T['io.flow.v0.enums.payment_type'] = PropTypes.oneOf([
4481
4679
  'sofort',
4482
4680
  'afterpay',
4483
4681
  'bancontact',
4682
+ 'twint',
4683
+ 'przelewy24',
4484
4684
  ]);
4485
4685
 
4486
4686
  T['io.flow.v0.enums.payment_method_rule_content_key'] = PropTypes.oneOf(['description']);
@@ -7876,11 +8076,21 @@ T['io.flow.v0.models.payment_payment_method'] = PropTypes.exact({
7876
8076
  possible_actions: PropTypes.arrayOf(T['io.flow.v0.enums.payment_action_type']).isRequired,
7877
8077
  });
7878
8078
 
8079
+ T['io.flow.v0.models.payment_method_summary_twint'] = PropTypes.exact({
8080
+ type: PropTypes.oneOf(['twint']).isRequired,
8081
+ merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
8082
+ });
8083
+
7879
8084
  T['io.flow.v0.models.payment_method_summary_sofort'] = PropTypes.exact({
7880
8085
  type: PropTypes.oneOf(['sofort']).isRequired,
7881
8086
  merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
7882
8087
  });
7883
8088
 
8089
+ T['io.flow.v0.models.payment_method_summary_przelewy24'] = PropTypes.exact({
8090
+ type: PropTypes.oneOf(['przelewy24']).isRequired,
8091
+ merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
8092
+ });
8093
+
7884
8094
  T['io.flow.v0.models.payment_method_summary_paypal'] = PropTypes.exact({
7885
8095
  type: PropTypes.oneOf(['paypal']).isRequired,
7886
8096
  merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
@@ -7998,6 +8208,8 @@ T['io.flow.v0.unions.payment_method_data'] = PropTypes.oneOfType([
7998
8208
  T['io.flow.v0.models.payment_method_data_init_paypal'],
7999
8209
  T['io.flow.v0.models.payment_method_data_init_ideal'],
8000
8210
  T['io.flow.v0.models.payment_method_data_init_sofort'],
8211
+ T['io.flow.v0.models.payment_method_data_init_twint'],
8212
+ T['io.flow.v0.models.payment_method_data_init_przelewy24'],
8001
8213
  T['io.flow.v0.models.payment_method_data_init_bancontact'],
8002
8214
  T['io.flow.v0.models.payment_method_data_validate_applepay'],
8003
8215
  T['io.flow.v0.models.payment_method_data_authorize_card'],
@@ -10254,6 +10466,8 @@ T['io.flow.v0.unions.payment_method_summary'] = PropTypes.oneOfType([
10254
10466
  T['io.flow.v0.models.payment_method_summary_googlepay'],
10255
10467
  T['io.flow.v0.models.payment_method_summary_paypal'],
10256
10468
  T['io.flow.v0.models.payment_method_summary_ideal'],
10469
+ T['io.flow.v0.models.payment_method_summary_twint'],
10470
+ T['io.flow.v0.models.payment_method_summary_przelewy24'],
10257
10471
  T['io.flow.v0.models.payment_method_summary_sofort'],
10258
10472
  T['io.flow.v0.models.payment_method_summary_bancontact'],
10259
10473
  ]);
@@ -16225,7 +16439,9 @@ export const paymentMethodDataInitGooglepay = T['io.flow.v0.models.payment_metho
16225
16439
  export const paymentMethodDataInitIdeal = T['io.flow.v0.models.payment_method_data_init_ideal'];
16226
16440
  export const paymentMethodDataInitKlarna = T['io.flow.v0.models.payment_method_data_init_klarna'];
16227
16441
  export const paymentMethodDataInitPaypal = T['io.flow.v0.models.payment_method_data_init_paypal'];
16442
+ export const paymentMethodDataInitPrzelewy24 = T['io.flow.v0.models.payment_method_data_init_przelewy24'];
16228
16443
  export const paymentMethodDataInitSofort = T['io.flow.v0.models.payment_method_data_init_sofort'];
16444
+ export const paymentMethodDataInitTwint = T['io.flow.v0.models.payment_method_data_init_twint'];
16229
16445
  export const paymentMethodDataOptionLogo = T['io.flow.v0.unions.payment_method_data_option_logo'];
16230
16446
  export const paymentMethodDataOptionLogoSvg = T['io.flow.v0.models.payment_method_data_option_logo_svg'];
16231
16447
  export const paymentMethodDataOptionType = T['io.flow.v0.enums.payment_method_data_option_type'];
@@ -16250,7 +16466,9 @@ export const paymentMethodSummaryGooglepay = T['io.flow.v0.models.payment_method
16250
16466
  export const paymentMethodSummaryIdeal = T['io.flow.v0.models.payment_method_summary_ideal'];
16251
16467
  export const paymentMethodSummaryKlarna = T['io.flow.v0.models.payment_method_summary_klarna'];
16252
16468
  export const paymentMethodSummaryPaypal = T['io.flow.v0.models.payment_method_summary_paypal'];
16469
+ export const paymentMethodSummaryPrzelewy24 = T['io.flow.v0.models.payment_method_summary_przelewy24'];
16253
16470
  export const paymentMethodSummarySofort = T['io.flow.v0.models.payment_method_summary_sofort'];
16471
+ export const paymentMethodSummaryTwint = T['io.flow.v0.models.payment_method_summary_twint'];
16254
16472
  export const paymentMethodTag = T['io.flow.v0.unions.payment_method_tag'];
16255
16473
  export const paymentMethodType = T['io.flow.v0.enums.payment_method_type'];
16256
16474
  export const paymentOrderDetailsLineItem = T['io.flow.v0.models.payment_order_details_line_item'];