@flowio/api-internal-prop-types 6.1.3 → 6.1.5

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.
@@ -29,7 +29,6 @@ T['io.flow.crypto.v0.enums.reason_type'] = PropTypes.oneOf(['duplicate', 'fraudu
29
29
  T['io.flow.crypto.v0.models.refund_request'] = PropTypes.exact({
30
30
  payment_id: PropTypes.string.isRequired,
31
31
  amount: PropTypes.number.isRequired,
32
- debit_currency: PropTypes.string.isRequired,
33
32
  reason: T['io.flow.crypto.v0.enums.reason_type'],
34
33
  description: PropTypes.string,
35
34
  });
@@ -49,15 +48,12 @@ T['io.flow.crypto.v0.models.refund'] = PropTypes.exact({
49
48
  created: PropTypes.number.isRequired,
50
49
  });
51
50
 
52
- T['io.flow.crypto.v0.enums.payment_status'] = PropTypes.oneOf(['pending', 'succeeded', 'cancelled']);
53
- T['io.flow.crypto.v0.enums.error_type'] = PropTypes.oneOf(['authentication_error', 'invalid_request_error', 'rate_limit_error']);
54
-
55
- T['io.flow.crypto.v0.models.error_response'] = PropTypes.exact({
56
- type: T['io.flow.crypto.v0.enums.error_type'].isRequired,
57
- code: PropTypes.string.isRequired,
58
- param: PropTypes.string.isRequired,
51
+ T['io.flow.crypto.v0.models.webhook_refund'] = PropTypes.exact({
52
+ object: T['io.flow.crypto.v0.models.refund'].isRequired,
59
53
  });
60
54
 
55
+ T['io.flow.crypto.v0.enums.payment_status'] = PropTypes.oneOf(['pending', 'succeeded', 'cancelled']);
56
+
61
57
  T['io.flow.crypto.v0.models.payment'] = PropTypes.exact({
62
58
  id: PropTypes.string.isRequired,
63
59
  amount: PropTypes.number.isRequired,
@@ -82,7 +78,21 @@ T['io.flow.crypto.v0.models.webhook_payment'] = PropTypes.exact({
82
78
  object: T['io.flow.crypto.v0.models.payment'].isRequired,
83
79
  });
84
80
 
85
- T['io.flow.crypto.v0.enums.webhook_event_name'] = PropTypes.oneOf(['payment.created', 'payment.captured']);
81
+ T['io.flow.crypto.v0.enums.error_type'] = PropTypes.oneOf(['authentication_error', 'invalid_request_error', 'rate_limit_error']);
82
+
83
+ T['io.flow.crypto.v0.models.error_response'] = PropTypes.exact({
84
+ type: T['io.flow.crypto.v0.enums.error_type'].isRequired,
85
+ code: PropTypes.string.isRequired,
86
+ param: PropTypes.string.isRequired,
87
+ });
88
+
89
+ T['io.flow.crypto.v0.enums.webhook_event_name'] = PropTypes.oneOf([
90
+ 'payment.created',
91
+ 'payment.captured',
92
+ 'payment.refund_requested',
93
+ 'payment.refund_transferred',
94
+ ]);
95
+
86
96
  T['io.flow.crypto.v0.enums.webhook_object_type'] = PropTypes.oneOf(['event']);
87
97
 
88
98
  T['io.flow.crypto.v0.models.crypto_event'] = PropTypes.exact({
@@ -90,7 +100,7 @@ T['io.flow.crypto.v0.models.crypto_event'] = PropTypes.exact({
90
100
  object_type: T['io.flow.crypto.v0.enums.webhook_object_type'].isRequired,
91
101
  type: T['io.flow.crypto.v0.enums.webhook_event_name'].isRequired,
92
102
  created: PropTypes.number.isRequired,
93
- data: T['io.flow.crypto.v0.models.webhook_payment'].isRequired,
103
+ data: PropTypes.object.isRequired,
94
104
  });
95
105
 
96
106
  T['io.flow.billing.internal.v0.models.transaction_reference'] = PropTypes.exact({
@@ -2688,10 +2698,6 @@ T['io.flow.common.v0.enums.incoterm'] = PropTypes.oneOf([
2688
2698
 
2689
2699
  T['io.flow.shopify.v0.enums.shopify_localization_method'] = PropTypes.oneOf(['api', 'ssr']);
2690
2700
 
2691
- T['io.flow.shopify.v0.models.shopify_cart_conversion_shopify_cart'] = PropTypes.exact({
2692
- cart: PropTypes.any.isRequired,
2693
- });
2694
-
2695
2701
  T['io.flow.shopify.v0.models.shopify_cart_add_single_form'] = PropTypes.exact({
2696
2702
  discriminator: PropTypes.oneOf(['shopify_cart_add_single_form']).isRequired,
2697
2703
  id: PropTypes.number.isRequired,
@@ -3468,6 +3474,18 @@ T['io.flow.feature.v0.models.feature_reference'] = PropTypes.exact({
3468
3474
  key: PropTypes.string.isRequired,
3469
3475
  });
3470
3476
 
3477
+ T['io.flow.feature.v0.models.string_feature_value'] = PropTypes.exact({
3478
+ discriminator: PropTypes.oneOf(['string']).isRequired,
3479
+ feature: T['io.flow.feature.v0.models.feature_reference'].isRequired,
3480
+ value: PropTypes.string.isRequired,
3481
+ });
3482
+
3483
+ T['io.flow.feature.v0.models.boolean_feature_value'] = PropTypes.exact({
3484
+ discriminator: PropTypes.oneOf(['boolean']).isRequired,
3485
+ feature: T['io.flow.feature.v0.models.feature_reference'].isRequired,
3486
+ value: PropTypes.bool.isRequired,
3487
+ });
3488
+
3471
3489
  T['io.flow.external.paypal.v1.models.transaction_details'] = PropTypes.exact({
3472
3490
  subtotal: PropTypes.string.isRequired,
3473
3491
  tax: PropTypes.string.isRequired,
@@ -3822,6 +3840,772 @@ T['io.flow.billing.v0.enums.billing_statement_attachment_key'] = PropTypes.oneOf
3822
3840
  'all',
3823
3841
  ]);
3824
3842
 
3843
+ T['io.flow.shopify.external.v0.enums.format'] = PropTypes.oneOf(['json', 'xml']);
3844
+
3845
+ T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact_customer'] = PropTypes.exact({
3846
+ id: PropTypes.number.isRequired,
3847
+ email: PropTypes.string,
3848
+ phone: PropTypes.string,
3849
+ });
3850
+
3851
+ T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact'] = PropTypes.exact({
3852
+ shop_id: PropTypes.number.isRequired,
3853
+ shop_domain: PropTypes.string.isRequired,
3854
+ customer: T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact_customer'].isRequired,
3855
+ orders_to_redact: PropTypes.arrayOf(PropTypes.number),
3856
+ });
3857
+
3858
+ T['io.flow.shopify.external.v0.enums.restock_type'] = PropTypes.oneOf(['no_restock', 'cancel', 'return']);
3859
+
3860
+ T['io.flow.shopify.external.v0.models.shopify_location'] = PropTypes.exact({
3861
+ active: PropTypes.bool.isRequired,
3862
+ address1: PropTypes.string,
3863
+ address2: PropTypes.string,
3864
+ city: PropTypes.string,
3865
+ country: PropTypes.string,
3866
+ country_code: PropTypes.string,
3867
+ created_at: PropTypes.string.isRequired,
3868
+ id: PropTypes.number.isRequired,
3869
+ legacy: PropTypes.bool.isRequired,
3870
+ name: PropTypes.string.isRequired,
3871
+ phone: PropTypes.string,
3872
+ province: PropTypes.string,
3873
+ province_code: PropTypes.string,
3874
+ updated_at: PropTypes.string,
3875
+ zip: PropTypes.string,
3876
+ });
3877
+
3878
+ T['io.flow.shopify.external.v0.models.shopify_locations_response_wrapper'] = PropTypes.exact({
3879
+ locations: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_location']).isRequired,
3880
+ });
3881
+
3882
+ T['io.flow.shopify.external.v0.models.shopify_inventory_level'] = PropTypes.exact({
3883
+ inventory_item_id: PropTypes.number.isRequired,
3884
+ location_id: PropTypes.number.isRequired,
3885
+ updated_at: PropTypes.string.isRequired,
3886
+ available: PropTypes.number,
3887
+ });
3888
+
3889
+ T['io.flow.shopify.external.v0.models.shopify_inventory_level_response_wrapper'] = PropTypes.exact({
3890
+ inventory_levels: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_inventory_level']).isRequired,
3891
+ });
3892
+
3893
+ T['io.flow.shopify.external.v0.models.shopify_gift_card_adjustment'] = PropTypes.exact({
3894
+ id: PropTypes.number.isRequired,
3895
+ gift_card_id: PropTypes.number.isRequired,
3896
+ number: PropTypes.number.isRequired,
3897
+ amount: PropTypes.number.isRequired,
3898
+ created_at: PropTypes.string.isRequired,
3899
+ processed_at: PropTypes.string.isRequired,
3900
+ note: PropTypes.string,
3901
+ remote_transaction_ref: PropTypes.string,
3902
+ remote_transaction_url: PropTypes.string,
3903
+ api_client_id: PropTypes.number,
3904
+ user_id: PropTypes.number,
3905
+ order_transaction_id: PropTypes.number,
3906
+ });
3907
+
3908
+ T['io.flow.shopify.external.v0.models.shopify_gift_card_adjustment_response_wrapper'] = PropTypes.exact({
3909
+ adjustment: T['io.flow.shopify.external.v0.models.shopify_gift_card_adjustment'].isRequired,
3910
+ });
3911
+
3912
+ T['io.flow.shopify.external.v0.models.shopify_gift_card_adjustment_form'] = PropTypes.exact({
3913
+ amount: PropTypes.number.isRequired,
3914
+ note: PropTypes.string,
3915
+ order_transaction_id: PropTypes.number,
3916
+ processed_at: PropTypes.string,
3917
+ });
3918
+
3919
+ T['io.flow.shopify.external.v0.models.shopify_gift_card_adjustment_form_wrapper'] = PropTypes.exact({
3920
+ adjustment: T['io.flow.shopify.external.v0.models.shopify_gift_card_adjustment_form'].isRequired,
3921
+ });
3922
+
3923
+ T['io.flow.shopify.external.v0.enums.shopify_customer_state'] = PropTypes.oneOf(['disabled', 'invited', 'enabled']);
3924
+
3925
+ T['io.flow.shopify.external.v0.models.shopify_customer_address'] = PropTypes.exact({
3926
+ id: PropTypes.number.isRequired,
3927
+ customer_id: PropTypes.number.isRequired,
3928
+ 'default': PropTypes.bool.isRequired,
3929
+ address1: PropTypes.string,
3930
+ address2: PropTypes.string,
3931
+ city: PropTypes.string,
3932
+ company: PropTypes.string,
3933
+ first_name: PropTypes.string,
3934
+ last_name: PropTypes.string,
3935
+ name: PropTypes.string,
3936
+ phone: PropTypes.string,
3937
+ country: PropTypes.string,
3938
+ country_code: PropTypes.string,
3939
+ country_name: PropTypes.string,
3940
+ province: PropTypes.string,
3941
+ province_code: PropTypes.string,
3942
+ zip: PropTypes.string,
3943
+ });
3944
+
3945
+ T['io.flow.shopify.external.v0.models.shopify_customer'] = PropTypes.exact({
3946
+ id: PropTypes.number.isRequired,
3947
+ addresses: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_customer_address']).isRequired,
3948
+ created_at: PropTypes.string.isRequired,
3949
+ tags: PropTypes.string.isRequired,
3950
+ tax_exempt: PropTypes.bool.isRequired,
3951
+ verified_email: PropTypes.bool.isRequired,
3952
+ state: T['io.flow.shopify.external.v0.enums.shopify_customer_state'].isRequired,
3953
+ accepts_marketing: PropTypes.bool,
3954
+ default_address: PropTypes.object,
3955
+ email: PropTypes.string,
3956
+ first_name: PropTypes.string,
3957
+ last_name: PropTypes.string,
3958
+ last_order_id: PropTypes.number,
3959
+ last_order_name: PropTypes.string,
3960
+ note: PropTypes.string,
3961
+ orders_count: PropTypes.number,
3962
+ phone: PropTypes.string,
3963
+ total_spent: PropTypes.string,
3964
+ updated_at: PropTypes.string,
3965
+ });
3966
+
3967
+ T['io.flow.shopify.external.v0.models.shopify_customers_response_wrapper'] = PropTypes.exact({
3968
+ customers: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_customer']).isRequired,
3969
+ });
3970
+
3971
+ T['io.flow.shopify.external.v0.models.shopify_cart_item_discount'] = PropTypes.exact({
3972
+ amount: PropTypes.number.isRequired,
3973
+ title: PropTypes.string.isRequired,
3974
+ });
3975
+
3976
+ T['io.flow.shopify.external.v0.models.shopify_discount_application'] = PropTypes.exact({
3977
+ type: PropTypes.string.isRequired,
3978
+ key: PropTypes.string.isRequired,
3979
+ title: PropTypes.string.isRequired,
3980
+ description: PropTypes.string,
3981
+ value: PropTypes.string.isRequired,
3982
+ created_at: PropTypes.string.isRequired,
3983
+ value_type: PropTypes.string.isRequired,
3984
+ allocation_method: PropTypes.string.isRequired,
3985
+ target_selection: PropTypes.string.isRequired,
3986
+ target_type: PropTypes.string.isRequired,
3987
+ total_allocated_amount: PropTypes.number.isRequired,
3988
+ });
3989
+
3990
+ T['io.flow.shopify.external.v0.models.shopify_line_level_discount_allocation'] = PropTypes.exact({
3991
+ amount: PropTypes.number.isRequired,
3992
+ discount_application: T['io.flow.shopify.external.v0.models.shopify_discount_application'].isRequired,
3993
+ });
3994
+
3995
+ T['io.flow.shopify.external.v0.models.shopify_cart_item'] = PropTypes.exact({
3996
+ id: PropTypes.number.isRequired,
3997
+ title: PropTypes.string.isRequired,
3998
+ key: PropTypes.string,
3999
+ price: PropTypes.number.isRequired,
4000
+ line_price: PropTypes.number.isRequired,
4001
+ final_price: PropTypes.number.isRequired,
4002
+ final_line_price: PropTypes.number.isRequired,
4003
+ original_price: PropTypes.number.isRequired,
4004
+ original_line_price: PropTypes.number.isRequired,
4005
+ total_discount: PropTypes.number.isRequired,
4006
+ discounted_price: PropTypes.number.isRequired,
4007
+ discounts: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_cart_item_discount']),
4008
+ taxable: PropTypes.bool.isRequired,
4009
+ quantity: PropTypes.number.isRequired,
4010
+ sku: PropTypes.string,
4011
+ grams: PropTypes.number,
4012
+ vendor: PropTypes.string,
4013
+ properties: PropTypes.object,
4014
+ variant_id: PropTypes.number,
4015
+ gift_card: PropTypes.bool.isRequired,
4016
+ url: PropTypes.string.isRequired,
4017
+ image: PropTypes.string,
4018
+ handle: PropTypes.string.isRequired,
4019
+ requires_shipping: PropTypes.bool.isRequired,
4020
+ product_id: PropTypes.number.isRequired,
4021
+ product_title: PropTypes.string.isRequired,
4022
+ product_description: PropTypes.string,
4023
+ product_type: PropTypes.string.isRequired,
4024
+ variant_title: PropTypes.string,
4025
+ variant_options: PropTypes.arrayOf(PropTypes.string),
4026
+
4027
+ line_level_discount_allocations: PropTypes.arrayOf(
4028
+ T['io.flow.shopify.external.v0.models.shopify_line_level_discount_allocation'],
4029
+ ),
4030
+ });
4031
+
4032
+ T['io.flow.shopify.external.v0.models.shopify_cart'] = PropTypes.exact({
4033
+ token: PropTypes.string.isRequired,
4034
+ note: PropTypes.string,
4035
+ attributes: PropTypes.object,
4036
+ items_subtotal_price: PropTypes.number,
4037
+ total_price: PropTypes.number.isRequired,
4038
+ total_weight: PropTypes.number.isRequired,
4039
+ total_discount: PropTypes.number.isRequired,
4040
+ original_total_price: PropTypes.number.isRequired,
4041
+ item_count: PropTypes.number.isRequired,
4042
+ requires_shipping: PropTypes.bool.isRequired,
4043
+ currency: PropTypes.string,
4044
+ items: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_cart_item']).isRequired,
4045
+ cart_level_discount_applications: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_discount_application']),
4046
+ });
4047
+
4048
+ T['io.flow.shopify.v0.models.shopify_cart_conversion_shopify_cart'] = PropTypes.exact({
4049
+ cart: T['io.flow.shopify.external.v0.models.shopify_cart'].isRequired,
4050
+ });
4051
+
4052
+ T['io.flow.shopify.external.v0.models.shop'] = PropTypes.exact({
4053
+ id: PropTypes.number.isRequired,
4054
+ domain: PropTypes.string.isRequired,
4055
+ myshopify_domain: PropTypes.string.isRequired,
4056
+ name: PropTypes.string.isRequired,
4057
+ primary_locale: PropTypes.string.isRequired,
4058
+ currency: PropTypes.string.isRequired,
4059
+ country_code: PropTypes.string.isRequired,
4060
+ });
4061
+
4062
+ T['io.flow.shopify.external.v0.models.shop_response'] = PropTypes.exact({
4063
+ shop: T['io.flow.shopify.external.v0.models.shop'].isRequired,
4064
+ });
4065
+
4066
+ T['io.flow.shopify.external.v0.enums.shopify_transaction_error_code'] = PropTypes.oneOf([
4067
+ 'incorrect_number',
4068
+ 'invalid_number',
4069
+ 'invalid_expiry_date',
4070
+ 'invalid_cvc',
4071
+ 'expired_card',
4072
+ 'incorrect_cvc',
4073
+ 'incorrect_zip',
4074
+ 'incorrect_address',
4075
+ 'card_declined',
4076
+ 'processing_error',
4077
+ 'call_issuer',
4078
+ 'pick_up_card',
4079
+ ]);
4080
+
4081
+ T['io.flow.shopify.external.v0.models.shopify_payment_detail'] = PropTypes.exact({
4082
+ avs_result_code: PropTypes.string,
4083
+ credit_card_bin: PropTypes.string,
4084
+ credit_card_company: PropTypes.string.isRequired,
4085
+ credit_card_number: PropTypes.string.isRequired,
4086
+ cvv_result_code: PropTypes.string,
4087
+ });
4088
+
4089
+ T['io.flow.shopify.external.v0.enums.shopify_transaction_status'] = PropTypes.oneOf(['pending', 'failure', 'success', 'error']);
4090
+
4091
+ T['io.flow.shopify.external.v0.models.shopify_gift_card'] = PropTypes.exact({
4092
+ id: PropTypes.number.isRequired,
4093
+ balance: PropTypes.number.isRequired,
4094
+ currency: PropTypes.string.isRequired,
4095
+ initial_value: PropTypes.number.isRequired,
4096
+ last_characters: PropTypes.string.isRequired,
4097
+ created_at: PropTypes.string.isRequired,
4098
+ updated_at: PropTypes.string.isRequired,
4099
+ api_client_id: PropTypes.number,
4100
+ code: PropTypes.string,
4101
+ customer_id: PropTypes.number,
4102
+ disabled_at: PropTypes.string,
4103
+ expires_on: PropTypes.string,
4104
+ line_item_id: PropTypes.number,
4105
+ note: PropTypes.string,
4106
+ order_id: PropTypes.number,
4107
+ template_suffix: PropTypes.string,
4108
+ user_id: PropTypes.number,
4109
+ });
4110
+
4111
+ T['io.flow.shopify.external.v0.models.response_shopify_gift_cards'] = PropTypes.exact({
4112
+ gift_cards: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_gift_card']).isRequired,
4113
+ });
4114
+
4115
+ T['io.flow.shopify.external.v0.models.response_shopify_gift_card'] = PropTypes.exact({
4116
+ gift_card: T['io.flow.shopify.external.v0.models.shopify_gift_card'].isRequired,
4117
+ });
4118
+
4119
+ T['io.flow.shopify.external.v0.enums.inventory_behaviour'] = PropTypes.oneOf(['bypass', 'decrement_ignoring_policy', 'decrement_obeying_policy']);
4120
+
4121
+ T['io.flow.shopify.external.v0.models.shopify_tax_line'] = PropTypes.exact({
4122
+ price: PropTypes.string.isRequired,
4123
+ rate: PropTypes.number.isRequired,
4124
+ title: PropTypes.string.isRequired,
4125
+ });
4126
+
4127
+ T['io.flow.shopify.external.v0.models.shopify_shipping_line'] = PropTypes.exact({
4128
+ code: PropTypes.string.isRequired,
4129
+ price: PropTypes.string.isRequired,
4130
+ source: PropTypes.string.isRequired,
4131
+ title: PropTypes.string.isRequired,
4132
+ tax_lines: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_tax_line']).isRequired,
4133
+ carrier_identifier: PropTypes.string,
4134
+ requested_fulfillment_service_id: PropTypes.string,
4135
+ });
4136
+
4137
+ T['io.flow.shopify.external.v0.enums.shopify_processing_method_type'] = PropTypes.oneOf(['checkout', 'direct', 'manual', 'offsite', 'express']);
4138
+
4139
+ T['io.flow.shopify.external.v0.models.shopify_attribute'] = PropTypes.exact({
4140
+ name: PropTypes.string.isRequired,
4141
+ value: PropTypes.string.isRequired,
4142
+ });
4143
+
4144
+ T['io.flow.shopify.external.v0.enums.fulfillment_status_type'] = PropTypes.oneOf(['fulfilled', 'null', 'partial']);
4145
+
4146
+ T['io.flow.shopify.external.v0.models.shopify_webhook_order_line_item'] = PropTypes.exact({
4147
+ fulfillable_quantity: PropTypes.number,
4148
+ fulfillment_status: T['io.flow.shopify.external.v0.enums.fulfillment_status_type'],
4149
+ product_id: PropTypes.number,
4150
+ quantity: PropTypes.number,
4151
+ requires_shipping: PropTypes.bool.isRequired,
4152
+ variant_id: PropTypes.number,
4153
+ });
4154
+
4155
+ T['io.flow.shopify.external.v0.models.shopify_webhook_order'] = PropTypes.exact({
4156
+ id: PropTypes.number,
4157
+ line_items: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_webhook_order_line_item']),
4158
+ });
4159
+
4160
+ T['io.flow.shopify.external.v0.models.shopify_line_item_form'] = PropTypes.exact({
4161
+ fulfillable_quantity: PropTypes.number,
4162
+ fulfillment_service: PropTypes.string.isRequired,
4163
+ fulfillment_status: T['io.flow.shopify.external.v0.enums.fulfillment_status_type'],
4164
+ grams: PropTypes.number,
4165
+ price: PropTypes.string,
4166
+ product_id: PropTypes.number,
4167
+ quantity: PropTypes.number,
4168
+ requires_shipping: PropTypes.bool.isRequired,
4169
+ sku: PropTypes.string,
4170
+ title: PropTypes.string,
4171
+ variant_id: PropTypes.number,
4172
+ variant_title: PropTypes.string,
4173
+ vendor: PropTypes.string,
4174
+ name: PropTypes.string,
4175
+ gift_card: PropTypes.bool.isRequired,
4176
+ properties: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_attribute']),
4177
+ taxable: PropTypes.bool.isRequired,
4178
+ tax_lines: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_tax_line']).isRequired,
4179
+ total_discount: PropTypes.string,
4180
+ id: PropTypes.number,
4181
+ });
4182
+
4183
+ T['io.flow.shopify.external.v0.models.shopify_line_item'] = PropTypes.exact({
4184
+ id: PropTypes.number.isRequired,
4185
+ quantity: PropTypes.number.isRequired,
4186
+ fulfillable_quantity: PropTypes.number,
4187
+ fulfillment_service: PropTypes.string.isRequired,
4188
+ fulfillment_status: T['io.flow.shopify.external.v0.enums.fulfillment_status_type'],
4189
+ grams: PropTypes.number,
4190
+ price: PropTypes.string,
4191
+ product_id: PropTypes.number,
4192
+ requires_shipping: PropTypes.bool.isRequired,
4193
+ sku: PropTypes.string,
4194
+ title: PropTypes.string,
4195
+ variant_id: PropTypes.number,
4196
+ variant_title: PropTypes.string,
4197
+ vendor: PropTypes.string,
4198
+ name: PropTypes.string,
4199
+ gift_card: PropTypes.bool.isRequired,
4200
+ properties: PropTypes.arrayOf(PropTypes.objectOf(PropTypes.string)).isRequired,
4201
+ taxable: PropTypes.bool.isRequired,
4202
+ tax_lines: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_tax_line']).isRequired,
4203
+ total_discount: PropTypes.string,
4204
+ });
4205
+
4206
+ T['io.flow.shopify.external.v0.models.shopify_refund_line_item'] = PropTypes.exact({
4207
+ id: PropTypes.number.isRequired,
4208
+ line_item: T['io.flow.shopify.external.v0.models.shopify_line_item'].isRequired,
4209
+ line_item_id: PropTypes.number.isRequired,
4210
+ quantity: PropTypes.number.isRequired,
4211
+ restock_type: T['io.flow.shopify.external.v0.enums.restock_type'].isRequired,
4212
+ location_id: PropTypes.number,
4213
+ subtotal: PropTypes.number,
4214
+ total_tax: PropTypes.number,
4215
+ });
4216
+
4217
+ T['io.flow.shopify.external.v0.models.shopify_fulfillment'] = PropTypes.exact({
4218
+ location_id: PropTypes.number.isRequired,
4219
+ created_at: PropTypes.string,
4220
+ id: PropTypes.number,
4221
+ line_items: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_line_item']).isRequired,
4222
+ order_id: PropTypes.number,
4223
+ receipt: PropTypes.object,
4224
+ status: PropTypes.string,
4225
+ tracking_company: PropTypes.string,
4226
+ tracking_number: PropTypes.string,
4227
+ tracking_numbers: PropTypes.arrayOf(PropTypes.string),
4228
+ tracking_url: PropTypes.string,
4229
+ tracking_urls: PropTypes.arrayOf(PropTypes.string),
4230
+ updated_at: PropTypes.string,
4231
+ notify_customer: PropTypes.bool,
4232
+ });
4233
+
4234
+ T['io.flow.shopify.external.v0.models.shopify_fulfillment_wrapper'] = PropTypes.exact({
4235
+ fulfillment: T['io.flow.shopify.external.v0.models.shopify_fulfillment'].isRequired,
4236
+ });
4237
+
4238
+ T['io.flow.shopify.external.v0.enums.financial_status_type'] = PropTypes.oneOf([
4239
+ 'pending',
4240
+ 'authorized',
4241
+ 'partially_paid',
4242
+ 'paid',
4243
+ 'partially_refunded',
4244
+ 'refunded',
4245
+ 'voided',
4246
+ ]);
4247
+
4248
+ T['io.flow.shopify.external.v0.models.shopify_order_customer'] = PropTypes.exact({
4249
+ email: PropTypes.string,
4250
+ first_name: PropTypes.string,
4251
+ last_name: PropTypes.string,
4252
+ phone: PropTypes.string,
4253
+ });
4254
+
4255
+ T['io.flow.shopify.external.v0.models.shopify_client_detail'] = PropTypes.exact({
4256
+ accept_language: PropTypes.bool.isRequired,
4257
+ browser_height: PropTypes.number,
4258
+ browser_ip: PropTypes.string.isRequired,
4259
+ browser_width: PropTypes.number,
4260
+ session_hash: PropTypes.string,
4261
+ user_agent: PropTypes.string,
4262
+ });
4263
+
4264
+ T['io.flow.shopify.external.v0.enums.cancel_reason'] = PropTypes.oneOf(['customer', 'fraud', 'inventory', 'declined', 'other']);
4265
+
4266
+ T['io.flow.shopify.external.v0.models.shopify_address'] = PropTypes.exact({
4267
+ id: PropTypes.number,
4268
+ address1: PropTypes.string,
4269
+ address2: PropTypes.string,
4270
+ city: PropTypes.string,
4271
+ company: PropTypes.string,
4272
+ country: PropTypes.string,
4273
+ country_code: PropTypes.string,
4274
+ 'default': PropTypes.bool,
4275
+ first_name: PropTypes.string,
4276
+ last_name: PropTypes.string,
4277
+ latitude: PropTypes.number,
4278
+ longitude: PropTypes.number,
4279
+ name: PropTypes.string,
4280
+ phone: PropTypes.string,
4281
+ province: PropTypes.string,
4282
+ province_code: PropTypes.string,
4283
+ zip: PropTypes.string,
4284
+ });
4285
+
4286
+ T['io.flow.shopify.external.v0.models.collect'] = PropTypes.exact({
4287
+ id: PropTypes.number.isRequired,
4288
+ collection_id: PropTypes.number.isRequired,
4289
+ product_id: PropTypes.number.isRequired,
4290
+ created_at: PropTypes.string,
4291
+ updated_at: PropTypes.string,
4292
+ position: PropTypes.number.isRequired,
4293
+ sort_value: PropTypes.string.isRequired,
4294
+ });
4295
+
4296
+ T['io.flow.shopify.external.v0.models.response_collects'] = PropTypes.exact({
4297
+ collects: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.collect']).isRequired,
4298
+ });
4299
+
4300
+ T['io.flow.shopify.external.v0.models.response_collect'] = PropTypes.exact({
4301
+ collect: T['io.flow.shopify.external.v0.models.collect'].isRequired,
4302
+ });
4303
+
4304
+ T['io.flow.shopify.external.v0.enums.kind_type'] = PropTypes.oneOf(['authorization', 'capture', 'sale', 'void', 'refund']);
4305
+
4306
+ T['io.flow.shopify.external.v0.models.shopify_transaction'] = PropTypes.exact({
4307
+ id: PropTypes.number.isRequired,
4308
+ order_id: PropTypes.number.isRequired,
4309
+ amount: PropTypes.number.isRequired,
4310
+ kind: T['io.flow.shopify.external.v0.enums.kind_type'].isRequired,
4311
+ gateway: PropTypes.string.isRequired,
4312
+ currency: PropTypes.string.isRequired,
4313
+ status: T['io.flow.shopify.external.v0.enums.shopify_transaction_status'].isRequired,
4314
+ payment_details: T['io.flow.shopify.external.v0.models.shopify_payment_detail'],
4315
+ receipt: PropTypes.object.isRequired,
4316
+ authorization: PropTypes.string,
4317
+ created_at: PropTypes.string.isRequired,
4318
+ device_id: PropTypes.number,
4319
+ gift_card_id: PropTypes.number,
4320
+ source_name: PropTypes.string.isRequired,
4321
+ error_code: T['io.flow.shopify.external.v0.enums.shopify_transaction_error_code'],
4322
+ test: PropTypes.bool.isRequired,
4323
+ parent_id: PropTypes.number,
4324
+ user_id: PropTypes.number,
4325
+ });
4326
+
4327
+ T['io.flow.shopify.external.v0.models.response_shopify_transaction_single'] = PropTypes.exact({
4328
+ transaction: T['io.flow.shopify.external.v0.models.shopify_transaction'].isRequired,
4329
+ });
4330
+
4331
+ T['io.flow.shopify.external.v0.models.response_shopify_transaction'] = PropTypes.exact({
4332
+ transactions: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_transaction']).isRequired,
4333
+ });
4334
+
4335
+ T['io.flow.shopify.external.v0.models.shopify_refund'] = PropTypes.exact({
4336
+ id: PropTypes.number.isRequired,
4337
+ order_id: PropTypes.number.isRequired,
4338
+ created_at: PropTypes.string.isRequired,
4339
+ processed_at: PropTypes.string.isRequired,
4340
+ note: PropTypes.string,
4341
+ refund_line_items: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_refund_line_item']),
4342
+ restock: PropTypes.bool,
4343
+ transactions: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_transaction']),
4344
+ user_id: PropTypes.number,
4345
+ });
4346
+
4347
+ T['io.flow.shopify.external.v0.models.response_shopify_refund_single'] = PropTypes.exact({
4348
+ refund: T['io.flow.shopify.external.v0.models.shopify_refund'].isRequired,
4349
+ });
4350
+
4351
+ T['io.flow.shopify.external.v0.models.shopify_transaction_form'] = PropTypes.exact({
4352
+ amount: PropTypes.number.isRequired,
4353
+ currency: PropTypes.string.isRequired,
4354
+ gateway: PropTypes.string.isRequired,
4355
+ kind: T['io.flow.shopify.external.v0.enums.kind_type'].isRequired,
4356
+ source: PropTypes.string.isRequired,
4357
+ authorization: PropTypes.string,
4358
+ gift_card_id: PropTypes.number,
4359
+ parent_id: PropTypes.number,
4360
+ receipt: PropTypes.object,
4361
+ });
4362
+
4363
+ T['io.flow.shopify.external.v0.models.request_shopify_transaction_form'] = PropTypes.exact({
4364
+ transaction: T['io.flow.shopify.external.v0.models.shopify_transaction_form'].isRequired,
4365
+ });
4366
+
4367
+ T['io.flow.shopify.external.v0.models.shopify_refund_line_item_form'] = PropTypes.exact({
4368
+ line_item_id: PropTypes.number.isRequired,
4369
+ quantity: PropTypes.number.isRequired,
4370
+ restock_type: T['io.flow.shopify.external.v0.enums.restock_type'].isRequired,
4371
+ location_id: PropTypes.number,
4372
+ });
4373
+
4374
+ T['io.flow.shopify.external.v0.enums.discrepancy_reason'] = PropTypes.oneOf(['restock', 'damage', 'customer', 'other']);
4375
+
4376
+ T['io.flow.shopify.external.v0.models.shopify_refund_form'] = PropTypes.exact({
4377
+ note: PropTypes.string,
4378
+ discrepancy_reason: T['io.flow.shopify.external.v0.enums.discrepancy_reason'],
4379
+ refund_line_items: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_refund_line_item_form']).isRequired,
4380
+ transactions: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_transaction_form']).isRequired,
4381
+ currency: PropTypes.string.isRequired,
4382
+ });
4383
+
4384
+ T['io.flow.shopify.external.v0.models.request_shopify_refund_form'] = PropTypes.exact({
4385
+ refund: T['io.flow.shopify.external.v0.models.shopify_refund_form'].isRequired,
4386
+ });
4387
+
4388
+ T['io.flow.shopify.external.v0.models.shopify_gift_card_form'] = PropTypes.exact({
4389
+ initial_value: PropTypes.number.isRequired,
4390
+ code: PropTypes.string,
4391
+ note: PropTypes.string,
4392
+ template_suffix: PropTypes.string,
4393
+ });
4394
+
4395
+ T['io.flow.shopify.external.v0.models.request_shopify_gift_card'] = PropTypes.exact({
4396
+ gift_card: T['io.flow.shopify.external.v0.models.shopify_gift_card_form'].isRequired,
4397
+ });
4398
+
4399
+ T['io.flow.shopify.external.v0.enums.weight_unit'] = PropTypes.oneOf(['g', 'kg', 'oz', 'lb']);
4400
+ T['io.flow.shopify.external.v0.enums.inventory_policy'] = PropTypes.oneOf(['deny', 'continue']);
4401
+ T['io.flow.shopify.external.v0.enums.inventory_management'] = PropTypes.oneOf(['blank', 'shopify']);
4402
+ T['io.flow.shopify.external.v0.enums.fulfillment_service'] = PropTypes.oneOf(['manual', 'gift_card']);
4403
+ T['io.flow.shopify.external.v0.enums.published_scope'] = PropTypes.oneOf(['global']);
4404
+
4405
+ T['io.flow.shopify.external.v0.models.option'] = PropTypes.exact({
4406
+ id: PropTypes.number.isRequired,
4407
+ product_id: PropTypes.number.isRequired,
4408
+ name: PropTypes.string.isRequired,
4409
+ position: PropTypes.number.isRequired,
4410
+ values: PropTypes.arrayOf(PropTypes.string),
4411
+ });
4412
+
4413
+ T['io.flow.shopify.external.v0.models.product_image'] = PropTypes.exact({
4414
+ id: PropTypes.number.isRequired,
4415
+ product_id: PropTypes.number.isRequired,
4416
+ variant_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
4417
+ src: PropTypes.string.isRequired,
4418
+ position: PropTypes.number.isRequired,
4419
+ created_at: PropTypes.string.isRequired,
4420
+ updated_at: PropTypes.string.isRequired,
4421
+ alt: PropTypes.string,
4422
+ });
4423
+
4424
+ T['io.flow.shopify.external.v0.enums.value_type'] = PropTypes.oneOf(['string', 'integer']);
4425
+
4426
+ T['io.flow.shopify.external.v0.models.metafield_form'] = PropTypes.exact({
4427
+ key: PropTypes.string.isRequired,
4428
+ namespace: PropTypes.string.isRequired,
4429
+ value: PropTypes.string.isRequired,
4430
+ value_type: T['io.flow.shopify.external.v0.enums.value_type'].isRequired,
4431
+ description: PropTypes.string,
4432
+ });
4433
+
4434
+ T['io.flow.shopify.external.v0.models.request_metafield_form'] = PropTypes.exact({
4435
+ metafield: T['io.flow.shopify.external.v0.models.metafield_form'].isRequired,
4436
+ });
4437
+
4438
+ T['io.flow.shopify.external.v0.models.metafield'] = PropTypes.exact({
4439
+ id: PropTypes.number.isRequired,
4440
+ key: PropTypes.string.isRequired,
4441
+ namespace: PropTypes.string.isRequired,
4442
+ value: PropTypes.string.isRequired,
4443
+ value_type: T['io.flow.shopify.external.v0.enums.value_type'].isRequired,
4444
+ description: PropTypes.string,
4445
+ owner_id: PropTypes.number.isRequired,
4446
+ owner_resource: PropTypes.string.isRequired,
4447
+ });
4448
+
4449
+ T['io.flow.shopify.external.v0.models.response_metafields'] = PropTypes.exact({
4450
+ metafields: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.metafield']).isRequired,
4451
+ });
4452
+
4453
+ T['io.flow.shopify.external.v0.models.response_metafield'] = PropTypes.exact({
4454
+ metafield: T['io.flow.shopify.external.v0.models.metafield'].isRequired,
4455
+ });
4456
+
4457
+ T['io.flow.shopify.external.v0.models.product_variant'] = PropTypes.exact({
4458
+ id: PropTypes.number.isRequired,
4459
+ sku: PropTypes.string,
4460
+ product_id: PropTypes.number.isRequired,
4461
+ price: PropTypes.number.isRequired,
4462
+ title: PropTypes.string.isRequired,
4463
+ taxable: PropTypes.bool.isRequired,
4464
+ compare_at_price: PropTypes.number,
4465
+ grams: PropTypes.number,
4466
+ image_id: PropTypes.number,
4467
+ barcode: PropTypes.string,
4468
+ fulfillment_service: T['io.flow.shopify.external.v0.enums.fulfillment_service'],
4469
+ inventory_management: T['io.flow.shopify.external.v0.enums.inventory_management'],
4470
+ inventory_policy: T['io.flow.shopify.external.v0.enums.inventory_policy'].isRequired,
4471
+ weight: PropTypes.number,
4472
+ weight_unit: T['io.flow.shopify.external.v0.enums.weight_unit'],
4473
+ inventory_item_id: PropTypes.number,
4474
+ inventory_quantity: PropTypes.number,
4475
+ metafield: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.metafield_form']),
4476
+ option1: PropTypes.string,
4477
+ option2: PropTypes.string,
4478
+ option3: PropTypes.string,
4479
+ requires_shipping: PropTypes.bool.isRequired,
4480
+ metafields: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.metafield']),
4481
+ });
4482
+
4483
+ T['io.flow.shopify.external.v0.models.response_variant'] = PropTypes.exact({
4484
+ variant: T['io.flow.shopify.external.v0.models.product_variant'].isRequired,
4485
+ });
4486
+
4487
+ T['io.flow.shopify.external.v0.models.product'] = PropTypes.exact({
4488
+ id: PropTypes.number.isRequired,
4489
+ handle: PropTypes.string.isRequired,
4490
+ variants: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.product_variant']).isRequired,
4491
+ images: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.product_image']).isRequired,
4492
+ title: PropTypes.string.isRequired,
4493
+ vendor: PropTypes.string,
4494
+ body_html: PropTypes.string,
4495
+ product_type: PropTypes.string,
4496
+ options: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.option']).isRequired,
4497
+ tags: PropTypes.string,
4498
+ template_suffix: PropTypes.string,
4499
+ published_scope: T['io.flow.shopify.external.v0.enums.published_scope'].isRequired,
4500
+ published_at: PropTypes.string,
4501
+ created_at: PropTypes.string.isRequired,
4502
+ updated_at: PropTypes.string.isRequired,
4503
+ });
4504
+
4505
+ T['io.flow.shopify.external.v0.models.response_products'] = PropTypes.exact({
4506
+ products: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.product']).isRequired,
4507
+ });
4508
+
4509
+ T['io.flow.shopify.external.v0.models.response_product'] = PropTypes.exact({
4510
+ product: T['io.flow.shopify.external.v0.models.product'].isRequired,
4511
+ });
4512
+
4513
+ T['io.flow.shopify.external.v0.enums.discount_status'] = PropTypes.oneOf(['enabled', 'disabled', 'depleted']);
4514
+ T['io.flow.shopify.external.v0.enums.discount_type'] = PropTypes.oneOf(['fixed_amount', 'percentage', 'shipping']);
4515
+
4516
+ T['io.flow.shopify.external.v0.models.shopify_discount_code'] = PropTypes.exact({
4517
+ amount: PropTypes.string.isRequired,
4518
+ code: PropTypes.string.isRequired,
4519
+ type: T['io.flow.shopify.external.v0.enums.discount_type'].isRequired,
4520
+ });
4521
+
4522
+ T['io.flow.shopify.external.v0.models.shopify_order'] = PropTypes.exact({
4523
+ billing_address: T['io.flow.shopify.external.v0.models.shopify_address'],
4524
+ browser_ip: PropTypes.string,
4525
+ buyer_accepts_marketing: PropTypes.bool.isRequired,
4526
+ cancel_reason: T['io.flow.shopify.external.v0.enums.cancel_reason'],
4527
+ cancelled_at: PropTypes.string,
4528
+ cart_token: PropTypes.string,
4529
+ client_details: T['io.flow.shopify.external.v0.models.shopify_client_detail'],
4530
+ closed_at: PropTypes.string,
4531
+ created_at: PropTypes.string,
4532
+ currency: PropTypes.string,
4533
+ customer: T['io.flow.shopify.external.v0.models.shopify_order_customer'],
4534
+ discount_codes: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_discount_code']).isRequired,
4535
+ email: PropTypes.string,
4536
+ financial_status: T['io.flow.shopify.external.v0.enums.financial_status_type'].isRequired,
4537
+ fulfillments: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_fulfillment']).isRequired,
4538
+ fulfillment_status: T['io.flow.shopify.external.v0.enums.fulfillment_status_type'],
4539
+ id: PropTypes.number,
4540
+ landing_site: PropTypes.string,
4541
+ line_items: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_line_item_form']).isRequired,
4542
+ location_id: PropTypes.number,
4543
+ name: PropTypes.string,
4544
+ note: PropTypes.string,
4545
+ note_attributes: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_attribute']).isRequired,
4546
+ number: PropTypes.number,
4547
+ order_number: PropTypes.number,
4548
+ payment_gateway_names: PropTypes.arrayOf(PropTypes.string).isRequired,
4549
+ processed_at: PropTypes.string,
4550
+ processing_method: T['io.flow.shopify.external.v0.enums.shopify_processing_method_type'],
4551
+ referring_site: PropTypes.string,
4552
+ refunds: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_refund']).isRequired,
4553
+ shipping_address: T['io.flow.shopify.external.v0.models.shopify_address'],
4554
+ shipping_lines: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_shipping_line']).isRequired,
4555
+ source_name: PropTypes.string,
4556
+ subtotal_price: PropTypes.string,
4557
+ tags: PropTypes.string,
4558
+ tax_lines: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_tax_line']).isRequired,
4559
+ taxes_included: PropTypes.bool.isRequired,
4560
+ token: PropTypes.string,
4561
+ total_discounts: PropTypes.string,
4562
+ total_line_items_price: PropTypes.string,
4563
+ total_price: PropTypes.string,
4564
+ total_tax: PropTypes.string,
4565
+ total_weight: PropTypes.number,
4566
+ updated_at: PropTypes.string,
4567
+ user_id: PropTypes.number,
4568
+ order_status_url: PropTypes.string,
4569
+ inventory_behaviour: T['io.flow.shopify.external.v0.enums.inventory_behaviour'],
4570
+ gateway: PropTypes.string,
4571
+ transactions: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_transaction_form']),
4572
+ send_receipt: PropTypes.bool,
4573
+ metafields: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.metafield_form']),
4574
+ });
4575
+
4576
+ T['io.flow.shopify.external.v0.models.shopify_order_wrapper'] = PropTypes.exact({
4577
+ order: T['io.flow.shopify.external.v0.models.shopify_order'].isRequired,
4578
+ });
4579
+
4580
+ T['io.flow.shopify.external.v0.models.response_orders_wrapper'] = PropTypes.exact({
4581
+ orders: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.shopify_order']).isRequired,
4582
+ });
4583
+
4584
+ T['io.flow.shopify.external.v0.models.discount'] = PropTypes.exact({
4585
+ id: PropTypes.number.isRequired,
4586
+ discount_type: T['io.flow.shopify.external.v0.enums.discount_type'].isRequired,
4587
+ code: PropTypes.string.isRequired,
4588
+ value: PropTypes.number,
4589
+ status: T['io.flow.shopify.external.v0.enums.discount_status'].isRequired,
4590
+ usage_limit: PropTypes.number,
4591
+ applies_once: PropTypes.bool.isRequired,
4592
+ applies_once_per_customer: PropTypes.bool.isRequired,
4593
+ ends_at: PropTypes.string,
4594
+ starts_at: PropTypes.string,
4595
+ minimum_order_amount: PropTypes.number,
4596
+ applies_to_id: PropTypes.number,
4597
+ applies_to_resource: PropTypes.string,
4598
+ times_used: PropTypes.number.isRequired,
4599
+ });
4600
+
4601
+ T['io.flow.shopify.external.v0.models.response_discounts'] = PropTypes.exact({
4602
+ discounts: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.discount']).isRequired,
4603
+ });
4604
+
4605
+ T['io.flow.shopify.external.v0.models.response_discount'] = PropTypes.exact({
4606
+ discount: T['io.flow.shopify.external.v0.models.discount'].isRequired,
4607
+ });
4608
+
3825
4609
  T['io.flow.brickftp.v0.models.file_summary'] = PropTypes.exact({
3826
4610
  type: PropTypes.oneOf(['file']).isRequired,
3827
4611
  id: PropTypes.number.isRequired,
@@ -5850,30 +6634,113 @@ T['io.flow.internal.v0.models.spot_rate_upserted'] = PropTypes.exact({
5850
6634
  spot_rate: T['io.flow.currency.internal.v0.models.spot_rate'].isRequired,
5851
6635
  });
5852
6636
 
5853
- T['io.flow.shopify.internal.v0.models.shopify_webhook_form'] = PropTypes.exact({
5854
- myshopify_domain: PropTypes.string.isRequired,
5855
- address: PropTypes.string.isRequired,
5856
- topic: PropTypes.any.isRequired,
6637
+ T['io.flow.shopify.external.v0.enums.topic'] = PropTypes.oneOf([
6638
+ 'carts/create',
6639
+ 'carts/update',
6640
+ 'checkouts/create',
6641
+ 'checkouts/delete',
6642
+ 'checkouts/update',
6643
+ 'collections/create',
6644
+ 'collections/delete',
6645
+ 'collections/update',
6646
+ 'customer_groups/create',
6647
+ 'customer_groups/delete',
6648
+ 'customer_groups/update',
6649
+ 'customers/create',
6650
+ 'customers/delete',
6651
+ 'customers/disable',
6652
+ 'customers/enable',
6653
+ 'customers/update',
6654
+ 'customers/redact',
6655
+ 'disputes/create',
6656
+ 'disputes/update',
6657
+ 'fulfillment_events/create',
6658
+ 'fulfillment_events/delete',
6659
+ 'fulfillments/create',
6660
+ 'fulfillments/update',
6661
+ 'inventory_items/create',
6662
+ 'inventory_items/update',
6663
+ 'inventory_items/delete',
6664
+ 'inventory_levels/connect',
6665
+ 'inventory_levels/update',
6666
+ 'inventory_levels/disconnect',
6667
+ 'locations/create',
6668
+ 'locations/update',
6669
+ 'locations/delete',
6670
+ 'order_transactions/create',
6671
+ 'orders/cancelled',
6672
+ 'orders/create',
6673
+ 'orders/delete',
6674
+ 'orders/fulfilled',
6675
+ 'orders/paid',
6676
+ 'orders/partially_fulfilled',
6677
+ 'orders/updated',
6678
+ 'products/create',
6679
+ 'products/delete',
6680
+ 'products/update',
6681
+ 'refunds/create',
6682
+ 'shop/update',
6683
+ 'shop/redact',
6684
+ 'themes/create',
6685
+ 'themes/delete',
6686
+ 'themes/publish',
6687
+ 'themes/update',
6688
+ ]);
6689
+
6690
+ T['io.flow.shopify.internal.v0.models.shopify_webhook_form'] = PropTypes.exact({
6691
+ myshopify_domain: PropTypes.string.isRequired,
6692
+ address: PropTypes.string.isRequired,
6693
+ topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
6694
+ });
6695
+
6696
+ T['io.flow.shopify.internal.v0.models.shopify_webhook'] = PropTypes.exact({
6697
+ id: PropTypes.string.isRequired,
6698
+ shop_id: PropTypes.string.isRequired,
6699
+ address: PropTypes.string.isRequired,
6700
+ topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
6701
+ });
6702
+
6703
+ T['io.flow.shopify.external.v0.models.webhook_form'] = PropTypes.exact({
6704
+ topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
6705
+ address: PropTypes.string.isRequired,
6706
+ format: T['io.flow.shopify.external.v0.enums.format'].isRequired,
6707
+ metafield_namespaces: PropTypes.arrayOf(PropTypes.string),
6708
+ });
6709
+
6710
+ T['io.flow.shopify.external.v0.models.webhook_form_wrapper'] = PropTypes.exact({
6711
+ webhook: T['io.flow.shopify.external.v0.models.webhook_form'].isRequired,
6712
+ });
6713
+
6714
+ T['io.flow.shopify.external.v0.models.webhook'] = PropTypes.exact({
6715
+ address: PropTypes.string.isRequired,
6716
+ created_at: PropTypes.string.isRequired,
6717
+ format: T['io.flow.shopify.external.v0.enums.format'].isRequired,
6718
+ id: PropTypes.number.isRequired,
6719
+ topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
6720
+ updated_at: PropTypes.string.isRequired,
6721
+ fields: PropTypes.arrayOf(PropTypes.string),
6722
+ metafield_namespaces: PropTypes.arrayOf(PropTypes.string),
6723
+ });
6724
+
6725
+ T['io.flow.shopify.external.v0.models.webhook_response_single'] = PropTypes.exact({
6726
+ webhook: T['io.flow.shopify.external.v0.models.webhook'].isRequired,
5857
6727
  });
5858
6728
 
5859
- T['io.flow.shopify.internal.v0.models.shopify_webhook'] = PropTypes.exact({
5860
- id: PropTypes.string.isRequired,
5861
- shop_id: PropTypes.string.isRequired,
5862
- address: PropTypes.string.isRequired,
5863
- topic: PropTypes.any.isRequired,
6729
+ T['io.flow.shopify.external.v0.models.webhook_response_list'] = PropTypes.exact({
6730
+ webhooks: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.webhook']).isRequired,
5864
6731
  });
5865
6732
 
5866
6733
  T['io.flow.internal.v0.models.shopify_webhook_form'] = PropTypes.exact({
5867
6734
  myshopify_domain: PropTypes.string.isRequired,
5868
6735
  address: PropTypes.string.isRequired,
5869
- topic: PropTypes.any.isRequired,
6736
+ topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
5870
6737
  });
5871
6738
 
5872
6739
  T['io.flow.internal.v0.models.shopify_webhook'] = PropTypes.exact({
5873
6740
  id: PropTypes.string.isRequired,
5874
6741
  shop_id: PropTypes.string.isRequired,
5875
6742
  address: PropTypes.string.isRequired,
5876
- topic: PropTypes.any.isRequired,
6743
+ topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
5877
6744
  });
5878
6745
 
5879
6746
  T['io.flow.internal.v0.models.shopify_promotion_order_prerequisite'] = PropTypes.exact({
@@ -8029,18 +8896,6 @@ T['io.flow.internal.v0.models.fraud_pending_review'] = PropTypes.exact({
8029
8896
  liability: T['io.flow.fraud.v0.enums.fraud_liability'],
8030
8897
  });
8031
8898
 
8032
- T['io.flow.feature.v0.models.string_feature_value'] = PropTypes.exact({
8033
- discriminator: PropTypes.oneOf(['string']).isRequired,
8034
- feature: T['io.flow.feature.v0.models.feature_reference'].isRequired,
8035
- value: PropTypes.string.isRequired,
8036
- });
8037
-
8038
- T['io.flow.feature.v0.models.boolean_feature_value'] = PropTypes.exact({
8039
- discriminator: PropTypes.oneOf(['boolean']).isRequired,
8040
- feature: T['io.flow.feature.v0.models.feature_reference'].isRequired,
8041
- value: PropTypes.bool.isRequired,
8042
- });
8043
-
8044
8899
  T['io.flow.internal.v0.models.string_feature_rule_form'] = PropTypes.exact({
8045
8900
  discriminator: PropTypes.oneOf(['string']).isRequired,
8046
8901
  query: PropTypes.string.isRequired,
@@ -8356,31 +9211,24 @@ T['io.flow.internal.v0.models.experiment_results_deleted'] = PropTypes.exact({
8356
9211
  experiment_results: T['io.flow.experiment.internal.v0.models.experiment_results'].isRequired,
8357
9212
  });
8358
9213
 
8359
- T['io.flow.internal.v0.enums.status'] = PropTypes.oneOf(['draft', 'ended', 'live']);
8360
-
8361
- T['io.flow.internal.v0.models.experiment_results'] = PropTypes.exact({
8362
- id: PropTypes.string.isRequired,
8363
- experiment_key: PropTypes.string.isRequired,
8364
- experiment_variant_key: PropTypes.string.isRequired,
8365
- visitor_count: PropTypes.number.isRequired,
8366
- visitors_with_transactions_count: PropTypes.number.isRequired,
8367
- conversion_rate: PropTypes.number.isRequired,
8368
- lower_bound: PropTypes.number.isRequired,
8369
- upper_bound: PropTypes.number.isRequired,
8370
- probability_of_being_best: PropTypes.number,
9214
+ T['io.flow.internal.v0.models.experiment_variant_form_default'] = PropTypes.exact({
9215
+ key: PropTypes.string.isRequired,
9216
+ name: PropTypes.string.isRequired,
9217
+ traffic_percentage: PropTypes.number.isRequired,
8371
9218
  });
8372
9219
 
8373
- T['io.flow.internal.v0.models.external_variant'] = PropTypes.exact({
8374
- discriminator: PropTypes.oneOf(['external_variant']).isRequired,
9220
+ T['io.flow.internal.v0.enums.experiment_discriminator_value'] = PropTypes.oneOf(['experience', 'feature']);
9221
+
9222
+ T['io.flow.internal.v0.models.feature_variant_form'] = PropTypes.exact({
9223
+ discriminator: PropTypes.oneOf(['feature']).isRequired,
8375
9224
  key: PropTypes.string.isRequired,
8376
9225
  traffic_percentage: PropTypes.number.isRequired,
8377
- experiment_results: T['io.flow.internal.v0.models.experiment_results'],
8378
- name: PropTypes.string.isRequired,
8379
9226
  });
8380
9227
 
8381
- T['io.flow.internal.v0.models.experiment_results_with_timestamp'] = PropTypes.exact({
8382
- timestamp: PropTypes.string.isRequired,
8383
- results: PropTypes.arrayOf(T['io.flow.internal.v0.models.experiment_results']).isRequired,
9228
+ T['io.flow.internal.v0.models.experience_variant_form'] = PropTypes.exact({
9229
+ discriminator: PropTypes.oneOf(['experience']).isRequired,
9230
+ key: PropTypes.string.isRequired,
9231
+ traffic_percentage: PropTypes.number.isRequired,
8384
9232
  });
8385
9233
 
8386
9234
  T['io.flow.internal.v0.enums.experience_order_action'] = PropTypes.oneOf(['submit', 'refund_gift_cards']);
@@ -8422,6 +9270,93 @@ T['io.flow.internal.v0.models.experience_import_request'] = PropTypes.exact({
8422
9270
  filename: PropTypes.string,
8423
9271
  });
8424
9272
 
9273
+ T['io.flow.internal.v0.models.experiment_results'] = PropTypes.exact({
9274
+ id: PropTypes.string.isRequired,
9275
+ experiment_key: PropTypes.string.isRequired,
9276
+ experiment_variant_key: PropTypes.string.isRequired,
9277
+ visitor_count: PropTypes.number.isRequired,
9278
+ visitors_with_transactions_count: PropTypes.number.isRequired,
9279
+ conversion_rate: PropTypes.number.isRequired,
9280
+ lower_bound: PropTypes.number.isRequired,
9281
+ upper_bound: PropTypes.number.isRequired,
9282
+ probability_of_being_best: PropTypes.number,
9283
+ });
9284
+
9285
+ T['io.flow.internal.v0.models.experiment_results_with_timestamp'] = PropTypes.exact({
9286
+ timestamp: PropTypes.string.isRequired,
9287
+ results: PropTypes.arrayOf(T['io.flow.internal.v0.models.experiment_results']).isRequired,
9288
+ });
9289
+
9290
+ T['io.flow.internal.v0.models.experiment_variant_summary'] = PropTypes.exact({
9291
+ key: PropTypes.string.isRequired,
9292
+ name: PropTypes.string,
9293
+ });
9294
+
9295
+ T['io.flow.internal.v0.models.feature_variant'] = PropTypes.exact({
9296
+ discriminator: PropTypes.oneOf(['feature_variant']).isRequired,
9297
+ value: T['io.flow.internal.v0.models.experiment_variant_summary'].isRequired,
9298
+ traffic_percentage: PropTypes.number.isRequired,
9299
+ experiment_results: T['io.flow.internal.v0.models.experiment_results'],
9300
+ });
9301
+
9302
+ T['io.flow.internal.v0.models.experiment_form_default'] = PropTypes.exact({
9303
+ discriminator: T['io.flow.internal.v0.enums.experiment_discriminator_value'].isRequired,
9304
+ values: PropTypes.arrayOf(T['io.flow.internal.v0.models.experiment_variant_summary']).isRequired,
9305
+ variants: PropTypes.arrayOf(T['io.flow.internal.v0.models.experiment_variant_form_default']),
9306
+ });
9307
+
9308
+ T['io.flow.internal.v0.models.experience_variant'] = PropTypes.exact({
9309
+ discriminator: PropTypes.oneOf(['experience_variant']).isRequired,
9310
+ experience: T['io.flow.internal.v0.models.experiment_variant_summary'].isRequired,
9311
+ traffic_percentage: PropTypes.number.isRequired,
9312
+ experiment_results: T['io.flow.internal.v0.models.experiment_results'],
9313
+ });
9314
+
9315
+ T['io.flow.internal.v0.unions.variant'] = PropTypes.oneOfType([
9316
+ T['io.flow.internal.v0.models.experience_variant'],
9317
+ T['io.flow.internal.v0.models.feature_variant'],
9318
+ ]);
9319
+
9320
+ T['io.flow.internal.v0.unions.variant_form'] = PropTypes.oneOfType([
9321
+ T['io.flow.internal.v0.models.experience_variant'],
9322
+ T['io.flow.internal.v0.models.experience_variant_form'],
9323
+ T['io.flow.internal.v0.models.feature_variant_form'],
9324
+ ]);
9325
+
9326
+ T['io.flow.internal.v0.models.experiment_form'] = PropTypes.exact({
9327
+ name: PropTypes.string.isRequired,
9328
+ variants: PropTypes.arrayOf(T['io.flow.internal.v0.unions.variant_form']).isRequired,
9329
+ });
9330
+
9331
+ T['io.flow.internal.v0.enums.status'] = PropTypes.oneOf(['draft', 'live', 'ended', 'archived']);
9332
+
9333
+ T['io.flow.internal.v0.models.feature_experiment'] = PropTypes.exact({
9334
+ discriminator: PropTypes.oneOf(['feature']).isRequired,
9335
+ id: PropTypes.string.isRequired,
9336
+ key: PropTypes.string.isRequired,
9337
+ name: PropTypes.string.isRequired,
9338
+ status: T['io.flow.internal.v0.enums.status'].isRequired,
9339
+ started_at: PropTypes.string,
9340
+ ended_at: PropTypes.string,
9341
+ variants: PropTypes.arrayOf(T['io.flow.internal.v0.models.feature_variant']).isRequired,
9342
+ });
9343
+
9344
+ T['io.flow.internal.v0.models.experience_experiment'] = PropTypes.exact({
9345
+ discriminator: PropTypes.oneOf(['experience']).isRequired,
9346
+ id: PropTypes.string.isRequired,
9347
+ key: PropTypes.string.isRequired,
9348
+ name: PropTypes.string.isRequired,
9349
+ status: T['io.flow.internal.v0.enums.status'].isRequired,
9350
+ started_at: PropTypes.string,
9351
+ ended_at: PropTypes.string,
9352
+ variants: PropTypes.arrayOf(T['io.flow.internal.v0.models.experience_variant']).isRequired,
9353
+ });
9354
+
9355
+ T['io.flow.internal.v0.unions.experiment'] = PropTypes.oneOfType([
9356
+ T['io.flow.internal.v0.models.experience_experiment'],
9357
+ T['io.flow.internal.v0.models.feature_experiment'],
9358
+ ]);
9359
+
8425
9360
  T['io.flow.internal.v0.models.key_reference'] = PropTypes.exact({
8426
9361
  id: PropTypes.string.isRequired,
8427
9362
  });
@@ -8916,14 +9851,96 @@ T['io.flow.internal.v0.models.content_schema'] = PropTypes.exact({
8916
9851
  allow_multiple: PropTypes.bool,
8917
9852
  });
8918
9853
 
9854
+ T['io.flow.shopify.external.v0.models.price_rule_prerequisite_to_entitlement_quantity_ratio'] = PropTypes.exact({
9855
+ prerequisite_quantity: PropTypes.number,
9856
+ entitled_quantity: PropTypes.number,
9857
+ });
9858
+
9859
+ T['io.flow.shopify.external.v0.enums.price_rule_customer_selection'] = PropTypes.oneOf(['all', 'prerequisite']);
9860
+ T['io.flow.shopify.external.v0.enums.price_rule_target_selection'] = PropTypes.oneOf(['all', 'entitled']);
9861
+ T['io.flow.shopify.external.v0.enums.price_rule_allocation_method'] = PropTypes.oneOf(['across', 'each']);
9862
+
9863
+ T['io.flow.shopify.external.v0.models.price_rule_less_than_range'] = PropTypes.exact({
9864
+ less_than: PropTypes.number,
9865
+ less_than_or_equal_to: PropTypes.number,
9866
+ });
9867
+
9868
+ T['io.flow.shopify.external.v0.models.price_rule_greater_than_range'] = PropTypes.exact({
9869
+ greater_than: PropTypes.number,
9870
+ greater_than_or_equal_to: PropTypes.number,
9871
+ });
9872
+
9873
+ T['io.flow.shopify.external.v0.enums.price_rule_target_type'] = PropTypes.oneOf(['line_item', 'shipping_line']);
9874
+ T['io.flow.shopify.external.v0.enums.price_rule_value_type'] = PropTypes.oneOf(['fixed_amount', 'percentage']);
9875
+
9876
+ T['io.flow.shopify.external.v0.models.price_rule_discount_code'] = PropTypes.exact({
9877
+ id: PropTypes.number.isRequired,
9878
+ price_rule_id: PropTypes.number.isRequired,
9879
+ code: PropTypes.string.isRequired,
9880
+ usage_count: PropTypes.number.isRequired,
9881
+ created_at: PropTypes.string.isRequired,
9882
+ updated_at: PropTypes.string.isRequired,
9883
+ });
9884
+
9885
+ T['io.flow.shopify.external.v0.models.response_price_rule_discount_codes'] = PropTypes.exact({
9886
+ discount_codes: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.price_rule_discount_code']).isRequired,
9887
+ });
9888
+
9889
+ T['io.flow.shopify.external.v0.models.response_price_rule_discount_code'] = PropTypes.exact({
9890
+ discount_code: T['io.flow.shopify.external.v0.models.price_rule_discount_code'].isRequired,
9891
+ });
9892
+
9893
+ T['io.flow.shopify.external.v0.models.price_rule'] = PropTypes.exact({
9894
+ id: PropTypes.number.isRequired,
9895
+ value_type: T['io.flow.shopify.external.v0.enums.price_rule_value_type'].isRequired,
9896
+ target_type: T['io.flow.shopify.external.v0.enums.price_rule_target_type'].isRequired,
9897
+ value: PropTypes.number.isRequired,
9898
+ starts_at: PropTypes.string.isRequired,
9899
+ ends_at: PropTypes.string,
9900
+ prerequisite_subtotal_range: T['io.flow.shopify.external.v0.models.price_rule_greater_than_range'],
9901
+ prerequisite_shipping_range: T['io.flow.shopify.external.v0.models.price_rule_less_than_range'],
9902
+ usage_limit: PropTypes.number,
9903
+ entitled_product_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
9904
+ entitled_variant_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
9905
+ entitled_collection_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
9906
+ entitled_country_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
9907
+ allocation_method: T['io.flow.shopify.external.v0.enums.price_rule_allocation_method'].isRequired,
9908
+ once_per_customer: PropTypes.bool.isRequired,
9909
+ target_selection: T['io.flow.shopify.external.v0.enums.price_rule_target_selection'].isRequired,
9910
+ customer_selection: T['io.flow.shopify.external.v0.enums.price_rule_customer_selection'].isRequired,
9911
+ prerequisite_saved_search_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
9912
+ prerequisite_customer_ids: PropTypes.arrayOf(PropTypes.number),
9913
+ prerequisite_quantity_range: T['io.flow.shopify.external.v0.models.price_rule_greater_than_range'],
9914
+ prerequisite_product_ids: PropTypes.arrayOf(PropTypes.number),
9915
+ prerequisite_variant_ids: PropTypes.arrayOf(PropTypes.number),
9916
+ prerequisite_collection_ids: PropTypes.arrayOf(PropTypes.number),
9917
+ prerequisite_to_entitlement_quantity_ratio: T['io.flow.shopify.external.v0.models.price_rule_prerequisite_to_entitlement_quantity_ratio'],
9918
+ allocation_limit: PropTypes.number,
9919
+ title: PropTypes.string,
9920
+ created_at: PropTypes.string,
9921
+ updated_at: PropTypes.string,
9922
+ });
9923
+
8919
9924
  T['io.flow.shopify.internal.v0.models.complete_price_rule'] = PropTypes.exact({
8920
- price_rule: PropTypes.any.isRequired,
8921
- discount_codes: PropTypes.arrayOf(PropTypes.any).isRequired,
9925
+ price_rule: T['io.flow.shopify.external.v0.models.price_rule'].isRequired,
9926
+ discount_codes: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.price_rule_discount_code']).isRequired,
9927
+ });
9928
+
9929
+ T['io.flow.shopify.external.v0.models.response_price_rules'] = PropTypes.exact({
9930
+ price_rules: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.price_rule']).isRequired,
9931
+ });
9932
+
9933
+ T['io.flow.shopify.external.v0.models.response_price_rule'] = PropTypes.exact({
9934
+ price_rule: T['io.flow.shopify.external.v0.models.price_rule'].isRequired,
9935
+ });
9936
+
9937
+ T['io.flow.shopify.external.v0.models.price_rule_form'] = PropTypes.exact({
9938
+ price_rule: T['io.flow.shopify.external.v0.models.price_rule'].isRequired,
8922
9939
  });
8923
9940
 
8924
9941
  T['io.flow.internal.v0.models.complete_price_rule'] = PropTypes.exact({
8925
- price_rule: PropTypes.any.isRequired,
8926
- discount_codes: PropTypes.arrayOf(PropTypes.any).isRequired,
9942
+ price_rule: T['io.flow.shopify.external.v0.models.price_rule'].isRequired,
9943
+ discount_codes: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.price_rule_discount_code']).isRequired,
8927
9944
  });
8928
9945
 
8929
9946
  T['io.flow.internal.v0.models.classification_product_id'] = PropTypes.exact({
@@ -10211,6 +11228,13 @@ T['io.flow.internal.v0.models.flow_currency_setting_version'] = PropTypes.exact(
10211
11228
  flow_currency_setting: T['io.flow.internal.v0.models.flow_currency_setting'].isRequired,
10212
11229
  });
10213
11230
 
11231
+ T['io.flow.internal.v0.models.experiment_version'] = PropTypes.exact({
11232
+ id: PropTypes.string.isRequired,
11233
+ timestamp: PropTypes.string.isRequired,
11234
+ type: T['io.flow.common.v0.enums.change_type'].isRequired,
11235
+ experiment: T['io.flow.internal.v0.unions.experiment'].isRequired,
11236
+ });
11237
+
10214
11238
  T['io.flow.payment.internal.v0.enums.processor'] = PropTypes.oneOf(['adyen', 'afterpay', 'bitpay', 'stripe', 'paypal', 'flow_sandbox']);
10215
11239
 
10216
11240
  T['io.flow.internal.v0.models.internal_authorization'] = PropTypes.exact({
@@ -10293,7 +11317,7 @@ T['io.flow.internal.v0.enums.processor'] = PropTypes.oneOf([
10293
11317
  'crypto',
10294
11318
  ]);
10295
11319
 
10296
- T['io.flow.internal.v0.enums.chargeback_process_status'] = PropTypes.oneOf(['open', 'closed']);
11320
+ T['io.flow.internal.v0.enums.chargeback_process_status'] = PropTypes.oneOf(['inquiry', 'open', 'closed']);
10297
11321
  T['io.flow.internal.v0.enums.chargeback_payment_status'] = PropTypes.oneOf(['captured', 'refunded']);
10298
11322
 
10299
11323
  T['io.flow.common.v0.models.money'] = PropTypes.exact({
@@ -10973,14 +11997,6 @@ T['io.flow.internal.v0.models.shopify_experience_short_id'] = PropTypes.exact({
10973
11997
  short_id: PropTypes.string.isRequired,
10974
11998
  });
10975
11999
 
10976
- T['io.flow.internal.v0.models.experience_variant'] = PropTypes.exact({
10977
- discriminator: PropTypes.oneOf(['experience_variant']).isRequired,
10978
- experience: T['io.flow.experience.v0.models.experience_reference'].isRequired,
10979
- traffic_percentage: PropTypes.number.isRequired,
10980
- experiment_results: T['io.flow.internal.v0.models.experiment_results'],
10981
- name: PropTypes.string,
10982
- });
10983
-
10984
12000
  T['io.flow.internal.v0.models.feed_statistics_summary'] = PropTypes.exact({
10985
12001
  last_incoming_date: PropTypes.string,
10986
12002
  });
@@ -11199,42 +12215,6 @@ T['io.flow.feature.v0.unions.feature_value'] = PropTypes.oneOfType([
11199
12215
  T['io.flow.feature.v0.models.string_feature_value'],
11200
12216
  ]);
11201
12217
 
11202
- T['io.flow.internal.v0.models.feature_variant'] = PropTypes.exact({
11203
- discriminator: PropTypes.oneOf(['feature_variant']).isRequired,
11204
- feature: T['io.flow.feature.v0.unions.feature_value'].isRequired,
11205
- traffic_percentage: PropTypes.number.isRequired,
11206
- experiment_results: T['io.flow.internal.v0.models.experiment_results'],
11207
- name: PropTypes.string,
11208
- });
11209
-
11210
- T['io.flow.internal.v0.unions.variant'] = PropTypes.oneOfType([
11211
- T['io.flow.internal.v0.models.experience_variant'],
11212
- T['io.flow.internal.v0.models.external_variant'],
11213
- T['io.flow.internal.v0.models.feature_variant'],
11214
- ]);
11215
-
11216
- T['io.flow.internal.v0.models.experiment_form'] = PropTypes.exact({
11217
- name: PropTypes.string.isRequired,
11218
- variants: PropTypes.arrayOf(T['io.flow.internal.v0.unions.variant']).isRequired,
11219
- });
11220
-
11221
- T['io.flow.internal.v0.models.experiment'] = PropTypes.exact({
11222
- id: PropTypes.string.isRequired,
11223
- key: PropTypes.string.isRequired,
11224
- name: PropTypes.string.isRequired,
11225
- status: T['io.flow.internal.v0.enums.status'].isRequired,
11226
- started_at: PropTypes.string,
11227
- ended_at: PropTypes.string,
11228
- variants: PropTypes.arrayOf(T['io.flow.internal.v0.unions.variant']).isRequired,
11229
- });
11230
-
11231
- T['io.flow.internal.v0.models.experiment_version'] = PropTypes.exact({
11232
- id: PropTypes.string.isRequired,
11233
- timestamp: PropTypes.string.isRequired,
11234
- type: T['io.flow.common.v0.enums.change_type'].isRequired,
11235
- experiment: T['io.flow.internal.v0.models.experiment'].isRequired,
11236
- });
11237
-
11238
12218
  T['io.flow.optin.internal.v0.unions.optin_prompt_display'] = PropTypes.oneOfType([T['io.flow.optin.internal.v0.models.optin_prompt_checkout_display']]);
11239
12219
 
11240
12220
  T['io.flow.content.internal.v0.unions.localizable_content'] = PropTypes.oneOfType([
@@ -13779,6 +14759,15 @@ T['io.flow.billing.v0.models.account_statistics'] = PropTypes.exact({
13779
14759
  pending: T['io.flow.common.v0.models.price'].isRequired,
13780
14760
  });
13781
14761
 
14762
+ T['io.flow.order.price.v0.models.order_price_detail_component'] = PropTypes.exact({
14763
+ key: T['io.flow.order.price.v0.enums.order_price_detail_component_key'].isRequired,
14764
+ currency: PropTypes.string.isRequired,
14765
+ amount: PropTypes.number.isRequired,
14766
+ label: PropTypes.string.isRequired,
14767
+ base: T['io.flow.common.v0.models.price'].isRequired,
14768
+ name: PropTypes.string,
14769
+ });
14770
+
13782
14771
  T['io.flow.catalog.v0.models.localized_item_duty'] = PropTypes.exact({
13783
14772
  key: PropTypes.oneOf(['localized_item_duty']).isRequired,
13784
14773
  currency: PropTypes.string.isRequired,
@@ -13810,15 +14799,6 @@ T['io.flow.catalog.v0.models.localized_item_price'] = PropTypes.exact({
13810
14799
  includes: T['io.flow.common.v0.models.included_levies'],
13811
14800
  });
13812
14801
 
13813
- T['io.flow.order.price.v0.models.order_price_detail_component'] = PropTypes.exact({
13814
- key: T['io.flow.order.price.v0.enums.order_price_detail_component_key'].isRequired,
13815
- currency: PropTypes.string.isRequired,
13816
- amount: PropTypes.number.isRequired,
13817
- label: PropTypes.string.isRequired,
13818
- base: T['io.flow.common.v0.models.price'].isRequired,
13819
- name: PropTypes.string,
13820
- });
13821
-
13822
14802
  T['io.flow.label.v0.models.shipping_label'] = PropTypes.exact({
13823
14803
  id: PropTypes.string.isRequired,
13824
14804
  attributes: PropTypes.objectOf(PropTypes.string).isRequired,
@@ -16415,6 +17395,7 @@ T['io.flow.internal.v0.models.shopify_grants_check'] = PropTypes.exact({
16415
17395
  T['io.flow.internal.v0.models.shopify_order_inventory_check'] = PropTypes.exact({
16416
17396
  item_number: PropTypes.string.isRequired,
16417
17397
  quantity: PropTypes.number.isRequired,
17398
+ order_number: PropTypes.string,
16418
17399
  });
16419
17400
 
16420
17401
  T['io.flow.internal.v0.models.shopify_promotion_form'] = PropTypes.exact({
@@ -16653,6 +17634,98 @@ T['io.flow.brickftp.v0.models.file_upload_metadata'] = PropTypes.exact({
16653
17634
  upload_uri: PropTypes.string.isRequired,
16654
17635
  });
16655
17636
 
17637
+ T['io.flow.shopify.external.v0.enums.event'] = PropTypes.oneOf([
17638
+ 'cart',
17639
+ 'checkout',
17640
+ 'collection',
17641
+ 'customer',
17642
+ 'customer_saved_search',
17643
+ 'fulfillment',
17644
+ 'fulfillment_event',
17645
+ 'order',
17646
+ 'order_transaction',
17647
+ 'product',
17648
+ 'refund',
17649
+ 'shop',
17650
+ ]);
17651
+
17652
+ T['io.flow.shopify.external.v0.enums.localized_price'] = PropTypes.oneOf([
17653
+ 'localized_item_price',
17654
+ 'localized_item_vat',
17655
+ 'localized_item_duty',
17656
+ 'localized_total',
17657
+ ]);
17658
+
17659
+ T['io.flow.shopify.external.v0.enums.order_status_type'] = PropTypes.oneOf(['open', 'closed', 'cancelled', 'any']);
17660
+ T['io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction'] = PropTypes.oneOf(['next', 'prev']);
17661
+ T['io.flow.shopify.external.v0.enums.shopify_gift_card_status'] = PropTypes.oneOf(['any', 'enabled', 'disabled']);
17662
+
17663
+ T['io.flow.shopify.external.v0.models.collection'] = PropTypes.exact({
17664
+ id: PropTypes.number.isRequired,
17665
+ handle: PropTypes.string,
17666
+ title: PropTypes.string,
17667
+ published: PropTypes.bool,
17668
+ published_at: PropTypes.string,
17669
+ updated_at: PropTypes.string,
17670
+ });
17671
+
17672
+ T['io.flow.shopify.external.v0.models.count'] = PropTypes.exact({
17673
+ count: PropTypes.number.isRequired,
17674
+ });
17675
+
17676
+ T['io.flow.shopify.external.v0.models.product_delete'] = PropTypes.exact({
17677
+ id: PropTypes.number.isRequired,
17678
+ });
17679
+
17680
+ T['io.flow.shopify.external.v0.models.shopify_customer_delete'] = PropTypes.exact({
17681
+ id: PropTypes.number.isRequired,
17682
+ });
17683
+
17684
+ T['io.flow.shopify.external.v0.models.shopify_error'] = PropTypes.exact({
17685
+ errors: PropTypes.object.isRequired,
17686
+ });
17687
+
17688
+ T['io.flow.shopify.external.v0.models.shopify_inventory_item'] = PropTypes.exact({
17689
+ id: PropTypes.number.isRequired,
17690
+ tracked: PropTypes.bool.isRequired,
17691
+ sku: PropTypes.string,
17692
+ cost: PropTypes.string,
17693
+ country_code_of_origin: PropTypes.string,
17694
+ created_at: PropTypes.string.isRequired,
17695
+ updated_at: PropTypes.string,
17696
+ });
17697
+
17698
+ T['io.flow.shopify.external.v0.models.shopify_inventory_item_delete'] = PropTypes.exact({
17699
+ id: PropTypes.number.isRequired,
17700
+ });
17701
+
17702
+ T['io.flow.shopify.external.v0.models.shopify_inventory_level_disconnect'] = PropTypes.exact({
17703
+ inventory_item_id: PropTypes.number.isRequired,
17704
+ location_id: PropTypes.number.isRequired,
17705
+ });
17706
+
17707
+ T['io.flow.shopify.external.v0.models.shopify_location_delete'] = PropTypes.exact({
17708
+ id: PropTypes.number.isRequired,
17709
+ });
17710
+
17711
+ T['io.flow.shopify.external.v0.models.shopify_order_count'] = PropTypes.exact({
17712
+ count: PropTypes.number.isRequired,
17713
+ });
17714
+
17715
+ T['io.flow.shopify.external.v0.models.shopify_transaction_gift_card_receipt'] = PropTypes.exact({
17716
+ gift_card_id: PropTypes.number.isRequired,
17717
+ gift_card_last_characters: PropTypes.string.isRequired,
17718
+ });
17719
+
17720
+ T['io.flow.shopify.external.v0.models.shopify_webhook_order_cancelled'] = PropTypes.exact({
17721
+ id: PropTypes.number.isRequired,
17722
+ });
17723
+
17724
+ T['io.flow.shopify.external.v0.models.shopify_webhook_shop_redact'] = PropTypes.exact({
17725
+ shop_id: PropTypes.number.isRequired,
17726
+ shop_domain: PropTypes.string.isRequired,
17727
+ });
17728
+
16656
17729
  T['io.flow.billing.v0.models.account_contact'] = PropTypes.exact({
16657
17730
  id: PropTypes.string.isRequired,
16658
17731
  email: PropTypes.string.isRequired,
@@ -17495,6 +18568,10 @@ T['io.flow.billing.internal.v0.models.manual_transaction_form'] = PropTypes.exac
17495
18568
  posted_at: PropTypes.string,
17496
18569
  });
17497
18570
 
18571
+ T['io.flow.crypto.v0.models.crypto_payment_info'] = PropTypes.exact({
18572
+ publishable_key: PropTypes.string.isRequired,
18573
+ });
18574
+
17498
18575
  T['io.flow.crypto.v0.models.payment_request'] = PropTypes.exact({
17499
18576
  amount: PropTypes.number.isRequired,
17500
18577
  currency: PropTypes.string.isRequired,
@@ -17759,6 +18836,7 @@ export const encryption = T['io.flow.internal.v0.models.encryption'];
17759
18836
  export const event = T['io.flow.internal.v0.unions.event'];
17760
18837
  export const eventType = T['io.flow.internal.v0.enums.event_type'];
17761
18838
  export const expectedOrderSummary = T['io.flow.internal.v0.models.expected_order_summary'];
18839
+ export const experienceExperiment = T['io.flow.internal.v0.models.experience_experiment'];
17762
18840
  export const experienceExportRequest = T['io.flow.internal.v0.models.experience_export_request'];
17763
18841
  export const experienceFeedSummary = T['io.flow.internal.v0.models.experience_feed_summary'];
17764
18842
  export const experienceImportRequest = T['io.flow.internal.v0.models.experience_import_request'];
@@ -17768,15 +18846,20 @@ export const experienceOrderActionRule = T['io.flow.internal.v0.models.experienc
17768
18846
  export const experienceOrderActionTrigger = T['io.flow.internal.v0.enums.experience_order_action_trigger'];
17769
18847
  export const experienceSessionReference = T['io.flow.internal.v0.models.experience_session_reference'];
17770
18848
  export const experienceVariant = T['io.flow.internal.v0.models.experience_variant'];
17771
- export const experiment = T['io.flow.internal.v0.models.experiment'];
18849
+ export const experienceVariantForm = T['io.flow.internal.v0.models.experience_variant_form'];
18850
+ export const experiment = T['io.flow.internal.v0.unions.experiment'];
17772
18851
  export const experimentDeleted = T['io.flow.internal.v0.models.experiment_deleted'];
18852
+ export const experimentDiscriminatorValue = T['io.flow.internal.v0.enums.experiment_discriminator_value'];
17773
18853
  export const experimentEngineResults = T['io.flow.internal.v0.models.experiment_engine_results'];
17774
18854
  export const experimentForm = T['io.flow.internal.v0.models.experiment_form'];
18855
+ export const experimentFormDefault = T['io.flow.internal.v0.models.experiment_form_default'];
17775
18856
  export const experimentResults = T['io.flow.internal.v0.models.experiment_results'];
17776
18857
  export const experimentResultsDeleted = T['io.flow.internal.v0.models.experiment_results_deleted'];
17777
18858
  export const experimentResultsUpserted = T['io.flow.internal.v0.models.experiment_results_upserted'];
17778
18859
  export const experimentResultsWithTimestamp = T['io.flow.internal.v0.models.experiment_results_with_timestamp'];
17779
18860
  export const experimentUpserted = T['io.flow.internal.v0.models.experiment_upserted'];
18861
+ export const experimentVariantFormDefault = T['io.flow.internal.v0.models.experiment_variant_form_default'];
18862
+ export const experimentVariantSummary = T['io.flow.internal.v0.models.experiment_variant_summary'];
17780
18863
  export const experimentVersion = T['io.flow.internal.v0.models.experiment_version'];
17781
18864
  export const explicitStatementDate = T['io.flow.internal.v0.models.explicit_statement_date'];
17782
18865
  export const explicitStatementDateForm = T['io.flow.internal.v0.models.explicit_statement_date_form'];
@@ -17787,12 +18870,12 @@ export const exportScheduleDaily = T['io.flow.internal.v0.models.export_schedule
17787
18870
  export const exportScheduleRepeated = T['io.flow.internal.v0.models.export_schedule_repeated'];
17788
18871
  export const exportTrackingLabel = T['io.flow.internal.v0.models.export_tracking_label'];
17789
18872
  export const exportTrackingLabelEvent = T['io.flow.internal.v0.models.export_tracking_label_event'];
17790
- export const externalVariant = T['io.flow.internal.v0.models.external_variant'];
17791
18873
  export const facebookPixel = T['io.flow.internal.v0.models.facebook_pixel'];
17792
18874
  export const feature = T['io.flow.internal.v0.models.feature'];
17793
18875
  export const featureContextForm = T['io.flow.internal.v0.models.feature_context_form'];
17794
18876
  export const featureDefaultValue = T['io.flow.internal.v0.unions.feature_default_value'];
17795
18877
  export const featureDeleted = T['io.flow.internal.v0.models.feature_deleted'];
18878
+ export const featureExperiment = T['io.flow.internal.v0.models.feature_experiment'];
17796
18879
  export const featureForm = T['io.flow.internal.v0.models.feature_form'];
17797
18880
  export const featureGeoForm = T['io.flow.internal.v0.models.feature_geo_form'];
17798
18881
  export const featureIdReference = T['io.flow.internal.v0.models.feature_id_reference'];
@@ -17812,6 +18895,7 @@ export const featureValue = T['io.flow.internal.v0.unions.feature_value'];
17812
18895
  export const featureValueForm = T['io.flow.internal.v0.models.feature_value_form'];
17813
18896
  export const featureValueResult = T['io.flow.internal.v0.models.feature_value_result'];
17814
18897
  export const featureVariant = T['io.flow.internal.v0.models.feature_variant'];
18898
+ export const featureVariantForm = T['io.flow.internal.v0.models.feature_variant_form'];
17815
18899
  export const fedexCrossborder = T['io.flow.internal.v0.models.fedex_crossborder'];
17816
18900
  export const fee = T['io.flow.internal.v0.models.fee'];
17817
18901
  export const feed = T['io.flow.internal.v0.unions.feed'];
@@ -18364,6 +19448,7 @@ export const userUpsertedV2 = T['io.flow.internal.v0.models.user_upserted_v2'];
18364
19448
  export const validationCharacterLength = T['io.flow.internal.v0.models.validation_character_length'];
18365
19449
  export const validationRule = T['io.flow.internal.v0.unions.validation_rule'];
18366
19450
  export const variant = T['io.flow.internal.v0.unions.variant'];
19451
+ export const variantForm = T['io.flow.internal.v0.unions.variant_form'];
18367
19452
  export const viesResult = T['io.flow.internal.v0.models.vies_result'];
18368
19453
  export const virtualCardTransaction = T['io.flow.internal.v0.models.virtual_card_transaction'];
18369
19454
  export const wholeOrderActionForm = T['io.flow.internal.v0.models.whole_order_action_form'];