@flowio/api-factories 0.0.97 → 0.0.99
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/dist/cjs/api.js +58 -257
- package/dist/esm/api.js +27 -202
- package/dist/types/api.d.ts +2 -26
- package/package.json +2 -2
- package/src/api.ts +31 -228
package/src/api.ts
CHANGED
|
@@ -5094,6 +5094,13 @@ const factories = {
|
|
|
5094
5094
|
transfer_group: factories.string(),
|
|
5095
5095
|
}),
|
|
5096
5096
|
|
|
5097
|
+
'io.flow.stripe.v0.models.payment_intents': (): io.flow.stripe.v0.models.PaymentIntents => ({
|
|
5098
|
+
object: factories.string(),
|
|
5099
|
+
data: arrayOf(() => factories['io.flow.stripe.v0.models.payment_intent']()),
|
|
5100
|
+
has_more: factories.boolean(),
|
|
5101
|
+
url: factories.string(),
|
|
5102
|
+
}),
|
|
5103
|
+
|
|
5097
5104
|
'io.flow.stripe.v0.models.payment_method': (): io.flow.stripe.v0.models.PaymentMethod => ({
|
|
5098
5105
|
id: factories.string(),
|
|
5099
5106
|
object: factories.string(),
|
|
@@ -5960,8 +5967,6 @@ const factories = {
|
|
|
5960
5967
|
'customer_deleted',
|
|
5961
5968
|
'customer_address_book_contact_upserted',
|
|
5962
5969
|
'customer_address_book_contact_deleted',
|
|
5963
|
-
'email_notification_upserted',
|
|
5964
|
-
'email_notification_deleted',
|
|
5965
5970
|
'available_promotions_upserted',
|
|
5966
5971
|
'available_promotions_deleted',
|
|
5967
5972
|
'available_promotions_upserted_v2',
|
|
@@ -6211,7 +6216,6 @@ const factories = {
|
|
|
6211
6216
|
'io.flow.v0.enums.lane_preselect_preference': (): io.flow.v0.enums.LanePreselectPreference => faker.helpers.arrayElement(['lowest_cost', 'default_tier']),
|
|
6212
6217
|
'io.flow.v0.enums.lane_strategy': (): io.flow.v0.enums.LaneStrategy => faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']),
|
|
6213
6218
|
'io.flow.v0.enums.levy_component': (): io.flow.v0.enums.LevyComponent => faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']),
|
|
6214
|
-
'io.flow.v0.enums.levy_inclusion': (): io.flow.v0.enums.LevyInclusion => faker.helpers.arrayElement(['tax', 'duty']),
|
|
6215
6219
|
'io.flow.v0.enums.levy_strategy': (): io.flow.v0.enums.LevyStrategy => faker.helpers.arrayElement(['minimum', 'average', 'maximum']),
|
|
6216
6220
|
'io.flow.v0.enums.location_error_code': (): io.flow.v0.enums.LocationErrorCode => faker.helpers.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']),
|
|
6217
6221
|
'io.flow.v0.enums.logistics_format_preference': (): io.flow.v0.enums.LogisticsFormatPreference => faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']),
|
|
@@ -6649,6 +6653,22 @@ const factories = {
|
|
|
6649
6653
|
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
|
|
6650
6654
|
'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.helpers.arrayElement(['customer', 'return', 'crossdock']),
|
|
6651
6655
|
'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.helpers.arrayElement(['default', 'variant']),
|
|
6656
|
+
|
|
6657
|
+
'io.flow.v0.enums.shipping_label_error_code': (): io.flow.v0.enums.ShippingLabelErrorCode => faker.helpers.arrayElement([
|
|
6658
|
+
'generic_error',
|
|
6659
|
+
'cancelled_order',
|
|
6660
|
+
'carrier_outage',
|
|
6661
|
+
'catalog_issue',
|
|
6662
|
+
'invalid_destination',
|
|
6663
|
+
'invalid_origin',
|
|
6664
|
+
'invalid_shipping_parameters',
|
|
6665
|
+
'merchant_error',
|
|
6666
|
+
'order_not_found',
|
|
6667
|
+
'order_processing',
|
|
6668
|
+
'restricted_item',
|
|
6669
|
+
'unsupported_lane',
|
|
6670
|
+
]),
|
|
6671
|
+
|
|
6652
6672
|
'io.flow.v0.enums.shopify_grant': (): io.flow.v0.enums.ShopifyGrant => faker.helpers.arrayElement(['customer', 'discount', 'gift_card', 'metafield', 'order']),
|
|
6653
6673
|
'io.flow.v0.enums.shopify_localization_method': (): io.flow.v0.enums.ShopifyLocalizationMethod => faker.helpers.arrayElement(['api', 'ssr']),
|
|
6654
6674
|
'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']),
|
|
@@ -6662,31 +6682,6 @@ const factories = {
|
|
|
6662
6682
|
'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.helpers.arrayElement(['submitted_order', 'placed_order']),
|
|
6663
6683
|
'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.helpers.arrayElement(['day', 'hour', 'minute', 'second']),
|
|
6664
6684
|
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
|
|
6665
|
-
|
|
6666
|
-
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.helpers.arrayElement([
|
|
6667
|
-
'generic_error',
|
|
6668
|
-
'destination_country_not_defined',
|
|
6669
|
-
'destination_address_iso3166_unrecognized',
|
|
6670
|
-
'line_item_shipfrom_shipto_country_invalid',
|
|
6671
|
-
'line_item_ship_from_invalid',
|
|
6672
|
-
'line_item_currency_iso4217_unrecognized',
|
|
6673
|
-
'line_quantity_invalid',
|
|
6674
|
-
'line_item_quantity_invalid',
|
|
6675
|
-
'line_item_unit_price_precision_invalid',
|
|
6676
|
-
'line_item_unit_price_negative',
|
|
6677
|
-
'line_item_discount_amount_precision_invalid',
|
|
6678
|
-
'line_item_discount_amount_positive',
|
|
6679
|
-
'line_item_country_of_origin_iso3166_unrecognized',
|
|
6680
|
-
'line_item_hs_code_invalid',
|
|
6681
|
-
'line_item_duty_provider_invalid',
|
|
6682
|
-
'shipping_unit_price_precision_invalid',
|
|
6683
|
-
'shipping_unit_price_negative',
|
|
6684
|
-
'shipping_discount_amount_precision_invalid',
|
|
6685
|
-
'shipping_discount_amount_invalid',
|
|
6686
|
-
'merchant_of_record_invalid',
|
|
6687
|
-
'wrong_unit_specified',
|
|
6688
|
-
]),
|
|
6689
|
-
|
|
6690
6685
|
'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.helpers.arrayElement(['consumer', 'b2b']),
|
|
6691
6686
|
'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.helpers.arrayElement(['valid', 'invalid', 'unable_to_validate']),
|
|
6692
6687
|
'io.flow.v0.enums.taxability_type': (): io.flow.v0.enums.TaxabilityType => faker.helpers.arrayElement(['tax_rule']),
|
|
@@ -6795,19 +6790,6 @@ const factories = {
|
|
|
6795
6790
|
'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']),
|
|
6796
6791
|
'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.helpers.arrayElement(['zero', 'free']),
|
|
6797
6792
|
|
|
6798
|
-
'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.helpers.arrayElement([
|
|
6799
|
-
'zero_basis',
|
|
6800
|
-
'zero_rate_on_goods',
|
|
6801
|
-
'value_rounds_to_zero',
|
|
6802
|
-
'order_below_de_minimis_threshold',
|
|
6803
|
-
'amount_below_de_minimis_threshold',
|
|
6804
|
-
'delivered_unpaid',
|
|
6805
|
-
'duty_free_domestic',
|
|
6806
|
-
'duty_free_intra_community',
|
|
6807
|
-
'duty_free_reimport',
|
|
6808
|
-
'duty_free_by_trade_agreement',
|
|
6809
|
-
]),
|
|
6810
|
-
|
|
6811
6793
|
'io.flow.v0.models.abandoned_order_email_settings': (): io.flow.v0.models.AbandonedOrderEmailSettings => ({
|
|
6812
6794
|
delay: factories['io.flow.v0.models.duration'](),
|
|
6813
6795
|
frequency: factories['io.flow.v0.models.duration'](),
|
|
@@ -8792,19 +8774,6 @@ const factories = {
|
|
|
8792
8774
|
phone: factories.string(),
|
|
8793
8775
|
}),
|
|
8794
8776
|
|
|
8795
|
-
'io.flow.v0.models.context': (): io.flow.v0.models.Context => ({
|
|
8796
|
-
id: factories.string(),
|
|
8797
|
-
experiments: arrayOf(() => factories['io.flow.v0.models.session_context_experiment']()),
|
|
8798
|
-
}),
|
|
8799
|
-
|
|
8800
|
-
'io.flow.v0.models.context_form': (): io.flow.v0.models.ContextForm => ({
|
|
8801
|
-
experiments: arrayOf(() => factories['io.flow.v0.models.session_context_experiment']()),
|
|
8802
|
-
}),
|
|
8803
|
-
|
|
8804
|
-
'io.flow.v0.models.context_reference': (): io.flow.v0.models.ContextReference => ({
|
|
8805
|
-
id: factories.string(),
|
|
8806
|
-
}),
|
|
8807
|
-
|
|
8808
8777
|
'io.flow.v0.models.country': (): io.flow.v0.models.Country => ({
|
|
8809
8778
|
name: factories.string(),
|
|
8810
8779
|
iso_3166_2: factories.string(),
|
|
@@ -9681,28 +9650,12 @@ const factories = {
|
|
|
9681
9650
|
payment: factories['io.flow.v0.models.email_payment_summary'](),
|
|
9682
9651
|
}),
|
|
9683
9652
|
|
|
9684
|
-
'io.flow.v0.models.email_notification_deleted': (): io.flow.v0.models.EmailNotificationDeleted => ({
|
|
9685
|
-
discriminator: 'email_notification_deleted',
|
|
9686
|
-
event_id: factories.string(),
|
|
9687
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9688
|
-
organization: factories.string(),
|
|
9689
|
-
notification: factories['io.flow.v0.models.email_notification'](),
|
|
9690
|
-
}),
|
|
9691
|
-
|
|
9692
9653
|
'io.flow.v0.models.email_notification_form': (): io.flow.v0.models.EmailNotificationForm => ({
|
|
9693
9654
|
to: factories['io.flow.v0.models.email_recipient'](),
|
|
9694
9655
|
created_at: factories.date_time_iso_8601(),
|
|
9695
9656
|
data: factories['io.flow.v0.unions.email_notification_data'](),
|
|
9696
9657
|
}),
|
|
9697
9658
|
|
|
9698
|
-
'io.flow.v0.models.email_notification_upserted': (): io.flow.v0.models.EmailNotificationUpserted => ({
|
|
9699
|
-
discriminator: 'email_notification_upserted',
|
|
9700
|
-
event_id: factories.string(),
|
|
9701
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9702
|
-
organization: factories.string(),
|
|
9703
|
-
notification: factories['io.flow.v0.models.email_notification'](),
|
|
9704
|
-
}),
|
|
9705
|
-
|
|
9706
9659
|
'io.flow.v0.models.email_payment_summary': (): io.flow.v0.models.EmailPaymentSummary => ({
|
|
9707
9660
|
refund: factories['io.flow.v0.models.refund'](),
|
|
9708
9661
|
}),
|
|
@@ -10076,10 +10029,6 @@ const factories = {
|
|
|
10076
10029
|
experience: factories['io.flow.v0.models.experience'](),
|
|
10077
10030
|
}),
|
|
10078
10031
|
|
|
10079
|
-
'io.flow.v0.models.experiment_variant': (): io.flow.v0.models.ExperimentVariant => ({
|
|
10080
|
-
key: factories.string(),
|
|
10081
|
-
}),
|
|
10082
|
-
|
|
10083
10032
|
'io.flow.v0.models.expiration': (): io.flow.v0.models.Expiration => ({
|
|
10084
10033
|
month: factories.integer(),
|
|
10085
10034
|
year: factories.integer(),
|
|
@@ -11480,7 +11429,6 @@ const factories = {
|
|
|
11480
11429
|
language: factories['io.flow.v0.models.language'](),
|
|
11481
11430
|
locale: factories['io.flow.v0.models.locale'](),
|
|
11482
11431
|
experience: factories['io.flow.v0.models.experience_geo'](),
|
|
11483
|
-
experiment: factories['io.flow.v0.models.session_experiment'](),
|
|
11484
11432
|
}),
|
|
11485
11433
|
|
|
11486
11434
|
'io.flow.v0.models.locale': (): io.flow.v0.models.Locale => ({
|
|
@@ -12821,8 +12769,6 @@ const factories = {
|
|
|
12821
12769
|
geo: factories['io.flow.v0.models.session_geo'](),
|
|
12822
12770
|
experience: factories['io.flow.v0.models.experience_geo'](),
|
|
12823
12771
|
format: factories['io.flow.v0.models.session_format'](),
|
|
12824
|
-
experiment: factories['io.flow.v0.models.session_experiment'](),
|
|
12825
|
-
context: factories['io.flow.v0.models.context_reference'](),
|
|
12826
12772
|
}),
|
|
12827
12773
|
|
|
12828
12774
|
'io.flow.v0.models.organization_session_authorization': (): io.flow.v0.models.OrganizationSessionAuthorization => ({
|
|
@@ -15128,35 +15074,11 @@ const factories = {
|
|
|
15128
15074
|
session: factories.string(),
|
|
15129
15075
|
}),
|
|
15130
15076
|
|
|
15131
|
-
'io.flow.v0.models.session_context_experiment': (): io.flow.v0.models.SessionContextExperiment => ({
|
|
15132
|
-
key: factories.string(),
|
|
15133
|
-
variant: factories['io.flow.v0.models.experiment_variant'](),
|
|
15134
|
-
}),
|
|
15135
|
-
|
|
15136
15077
|
'io.flow.v0.models.session_currency_format': (): io.flow.v0.models.SessionCurrencyFormat => ({
|
|
15137
15078
|
symbol: factories['io.flow.v0.enums.currency_symbol_format'](),
|
|
15138
15079
|
label_formatters: arrayOf(() => factories['io.flow.v0.enums.currency_label_formatter']()),
|
|
15139
15080
|
}),
|
|
15140
15081
|
|
|
15141
|
-
'io.flow.v0.models.session_experiment': (): io.flow.v0.models.SessionExperiment => ({
|
|
15142
|
-
key: factories.string(),
|
|
15143
|
-
variant: factories['io.flow.v0.models.session_experiment_variant'](),
|
|
15144
|
-
}),
|
|
15145
|
-
|
|
15146
|
-
'io.flow.v0.models.session_experiment_form': (): io.flow.v0.models.SessionExperimentForm => ({
|
|
15147
|
-
key: factories.string(),
|
|
15148
|
-
variant: factories['io.flow.v0.models.session_experiment_variant_form'](),
|
|
15149
|
-
}),
|
|
15150
|
-
|
|
15151
|
-
'io.flow.v0.models.session_experiment_variant': (): io.flow.v0.models.SessionExperimentVariant => ({
|
|
15152
|
-
key: factories.string(),
|
|
15153
|
-
name: factories.string(),
|
|
15154
|
-
}),
|
|
15155
|
-
|
|
15156
|
-
'io.flow.v0.models.session_experiment_variant_form': (): io.flow.v0.models.SessionExperimentVariantForm => ({
|
|
15157
|
-
key: factories.string(),
|
|
15158
|
-
}),
|
|
15159
|
-
|
|
15160
15082
|
'io.flow.v0.models.session_expiration_config': (): io.flow.v0.models.SessionExpirationConfig => ({
|
|
15161
15083
|
unit: factories['io.flow.v0.enums.unit_of_time'](),
|
|
15162
15084
|
value: factories.long(),
|
|
@@ -15400,6 +15322,11 @@ const factories = {
|
|
|
15400
15322
|
required: factories.boolean(),
|
|
15401
15323
|
}),
|
|
15402
15324
|
|
|
15325
|
+
'io.flow.v0.models.shipping_label_error': (): io.flow.v0.models.ShippingLabelError => ({
|
|
15326
|
+
code: factories['io.flow.v0.enums.shipping_label_error_code'](),
|
|
15327
|
+
messages: arrayOf(() => factories.string()),
|
|
15328
|
+
}),
|
|
15329
|
+
|
|
15403
15330
|
'io.flow.v0.models.shipping_label_hop_cost_itemized_estimate': (): io.flow.v0.models.ShippingLabelHopCostItemizedEstimate => ({
|
|
15404
15331
|
units: factories['io.flow.v0.models.label_units'](),
|
|
15405
15332
|
base: factories['io.flow.v0.models.label_base'](),
|
|
@@ -15931,14 +15858,6 @@ const factories = {
|
|
|
15931
15858
|
statement: factories['io.flow.v0.models.statement'](),
|
|
15932
15859
|
}),
|
|
15933
15860
|
|
|
15934
|
-
'io.flow.v0.models.street_address': (): io.flow.v0.models.StreetAddress => ({
|
|
15935
|
-
streets: arrayOf(() => factories.string()),
|
|
15936
|
-
city: factories.string(),
|
|
15937
|
-
province: factories.string(),
|
|
15938
|
-
postal: factories.string(),
|
|
15939
|
-
country: factories.string(),
|
|
15940
|
-
}),
|
|
15941
|
-
|
|
15942
15861
|
'io.flow.v0.models.stripe_authentication_data': (): io.flow.v0.models.StripeAuthenticationData => ({
|
|
15943
15862
|
discriminator: 'stripe_authentication_data',
|
|
15944
15863
|
secret_key_reference: factories.string(),
|
|
@@ -16166,92 +16085,6 @@ const factories = {
|
|
|
16166
16085
|
deminimis: factories['io.flow.v0.unions.deminimis'](),
|
|
16167
16086
|
}),
|
|
16168
16087
|
|
|
16169
|
-
'io.flow.v0.models.tax_duty_calculator_validation_error': (): io.flow.v0.models.TaxDutyCalculatorValidationError => ({
|
|
16170
|
-
code: factories['io.flow.v0.enums.tax_duty_calculator_validation_error_code'](),
|
|
16171
|
-
messages: arrayOf(() => factories.string()),
|
|
16172
|
-
}),
|
|
16173
|
-
|
|
16174
|
-
'io.flow.v0.models.tax_duty_quote': (): io.flow.v0.models.TaxDutyQuote => ({
|
|
16175
|
-
id: factories.string(),
|
|
16176
|
-
primary_identifier: factories.string(),
|
|
16177
|
-
attributes: objectOf(() => factories.string()),
|
|
16178
|
-
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
16179
|
-
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
16180
|
-
destination: factories['io.flow.v0.models.street_address'](),
|
|
16181
|
-
quote_date: factories.date_time_iso_8601(),
|
|
16182
|
-
currency: factories.string(),
|
|
16183
|
-
lines: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_line_item']()),
|
|
16184
|
-
shipping: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_simple_shipping']()),
|
|
16185
|
-
total_values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
16186
|
-
}),
|
|
16187
|
-
|
|
16188
|
-
'io.flow.v0.models.tax_duty_quote_fee_value': (): io.flow.v0.models.TaxDutyQuoteFeeValue => ({
|
|
16189
|
-
amount: factories.decimal(),
|
|
16190
|
-
description: factories.string(),
|
|
16191
|
-
amount_refundable_on_return: factories.decimal(),
|
|
16192
|
-
}),
|
|
16193
|
-
|
|
16194
|
-
'io.flow.v0.models.tax_duty_quote_form': (): io.flow.v0.models.TaxDutyQuoteForm => ({
|
|
16195
|
-
primary_identifier: factories.string(),
|
|
16196
|
-
attributes: objectOf(() => factories.string()),
|
|
16197
|
-
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
16198
|
-
destination: factories['io.flow.v0.models.street_address'](),
|
|
16199
|
-
currency: factories.string(),
|
|
16200
|
-
lines: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_line_item_form']()),
|
|
16201
|
-
shipping: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form']()),
|
|
16202
|
-
includes: arrayOf(() => factories['io.flow.v0.enums.levy_inclusion']()),
|
|
16203
|
-
}),
|
|
16204
|
-
|
|
16205
|
-
'io.flow.v0.models.tax_duty_quote_line_item': (): io.flow.v0.models.TaxDutyQuoteLineItem => ({
|
|
16206
|
-
primary_identifier: factories.string(),
|
|
16207
|
-
attributes: objectOf(() => factories.string()),
|
|
16208
|
-
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
16209
|
-
quantity: factories.long(),
|
|
16210
|
-
unit_values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
16211
|
-
country_of_origin: factories.string(),
|
|
16212
|
-
hs_code: factories.string(),
|
|
16213
|
-
}),
|
|
16214
|
-
|
|
16215
|
-
'io.flow.v0.models.tax_duty_quote_line_item_form': (): io.flow.v0.models.TaxDutyQuoteLineItemForm => ({
|
|
16216
|
-
primary_identifier: factories.string(),
|
|
16217
|
-
attributes: objectOf(() => factories.string()),
|
|
16218
|
-
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
16219
|
-
quantity: factories.long(),
|
|
16220
|
-
unit_price: factories.decimal(),
|
|
16221
|
-
unit_weight: factories['io.flow.v0.models.measurement'](),
|
|
16222
|
-
country_of_origin: factories.string(),
|
|
16223
|
-
hs_code: factories.string(),
|
|
16224
|
-
includes: arrayOf(() => factories['io.flow.v0.enums.levy_inclusion']()),
|
|
16225
|
-
}),
|
|
16226
|
-
|
|
16227
|
-
'io.flow.v0.models.tax_duty_quote_simple_levy_value': (): io.flow.v0.models.TaxDutyQuoteSimpleLevyValue => ({
|
|
16228
|
-
discriminator: 'tax_duty_quote_simple_levy_value',
|
|
16229
|
-
amount: factories.decimal(),
|
|
16230
|
-
rate: factories.decimal(),
|
|
16231
|
-
description: factories.string(),
|
|
16232
|
-
zero_levy_reason: arrayOf(() => factories['io.flow.v0.enums.zero_levy_reason_code']()),
|
|
16233
|
-
amount_refundable_on_return: factories.decimal(),
|
|
16234
|
-
}),
|
|
16235
|
-
|
|
16236
|
-
'io.flow.v0.models.tax_duty_quote_simple_shipping': (): io.flow.v0.models.TaxDutyQuoteSimpleShipping => ({
|
|
16237
|
-
values: factories['io.flow.v0.models.tax_duty_quote_values'](),
|
|
16238
|
-
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
16239
|
-
}),
|
|
16240
|
-
|
|
16241
|
-
'io.flow.v0.models.tax_duty_quote_simple_shipping_form': (): io.flow.v0.models.TaxDutyQuoteSimpleShippingForm => ({
|
|
16242
|
-
price: factories.decimal(),
|
|
16243
|
-
includes: arrayOf(() => factories['io.flow.v0.enums.levy_inclusion']()),
|
|
16244
|
-
ship_from: factories['io.flow.v0.models.street_address'](),
|
|
16245
|
-
}),
|
|
16246
|
-
|
|
16247
|
-
'io.flow.v0.models.tax_duty_quote_values': (): io.flow.v0.models.TaxDutyQuoteValues => ({
|
|
16248
|
-
price: factories.decimal(),
|
|
16249
|
-
duty: factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](),
|
|
16250
|
-
tax: factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](),
|
|
16251
|
-
fees: factories['io.flow.v0.models.tax_duty_quote_fee_value'](),
|
|
16252
|
-
total: factories.decimal(),
|
|
16253
|
-
}),
|
|
16254
|
-
|
|
16255
16088
|
'io.flow.v0.models.tax_registration': (): io.flow.v0.models.TaxRegistration => ({
|
|
16256
16089
|
id: factories.string(),
|
|
16257
16090
|
key: factories.string(),
|
|
@@ -16493,6 +16326,7 @@ const factories = {
|
|
|
16493
16326
|
timestamp: factories.date_time_iso_8601(),
|
|
16494
16327
|
description: factories.string(),
|
|
16495
16328
|
aggregator_status_code: factories.string(),
|
|
16329
|
+
created_at: factories.date_time_iso_8601(),
|
|
16496
16330
|
}),
|
|
16497
16331
|
|
|
16498
16332
|
'io.flow.v0.models.tracking_event_form': (): io.flow.v0.models.TrackingEventForm => ({
|
|
@@ -17387,8 +17221,6 @@ const factories = {
|
|
|
17387
17221
|
() => factories['io.flow.v0.models.customer_deleted'](),
|
|
17388
17222
|
() => factories['io.flow.v0.models.customer_address_book_contact_upserted'](),
|
|
17389
17223
|
() => factories['io.flow.v0.models.customer_address_book_contact_deleted'](),
|
|
17390
|
-
() => factories['io.flow.v0.models.email_notification_upserted'](),
|
|
17391
|
-
() => factories['io.flow.v0.models.email_notification_deleted'](),
|
|
17392
17224
|
() => factories['io.flow.v0.models.available_promotions_upserted'](),
|
|
17393
17225
|
() => factories['io.flow.v0.models.available_promotions_deleted'](),
|
|
17394
17226
|
() => factories['io.flow.v0.models.available_promotions_upserted_v2'](),
|
|
@@ -18203,11 +18035,6 @@ const factories = {
|
|
|
18203
18035
|
return f();
|
|
18204
18036
|
},
|
|
18205
18037
|
|
|
18206
|
-
'io.flow.v0.unions.tax_duty_quote_levy_value': (): io.flow.v0.unions.TaxDutyQuoteLevyValue => {
|
|
18207
|
-
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.tax_duty_quote_simple_levy_value']()]);
|
|
18208
|
-
return f();
|
|
18209
|
-
},
|
|
18210
|
-
|
|
18211
18038
|
'io.flow.v0.unions.tax_setting': (): io.flow.v0.unions.TaxSetting => {
|
|
18212
18039
|
const f = faker.helpers.arrayElement([
|
|
18213
18040
|
() => factories['io.flow.v0.models.avalara_tax_setting'](),
|
|
@@ -18609,9 +18436,6 @@ export const makeConsumerInvoiceReference = () => factories['io.flow.v0.models.c
|
|
|
18609
18436
|
export const makeConsumerInvoiceStatus = () => factories['io.flow.v0.enums.consumer_invoice_status']();
|
|
18610
18437
|
export const makeConsumerInvoiceUpserted = () => factories['io.flow.v0.models.consumer_invoice_upserted']();
|
|
18611
18438
|
export const makeContact = () => factories['io.flow.v0.models.contact']();
|
|
18612
|
-
export const makeContext = () => factories['io.flow.v0.models.context']();
|
|
18613
|
-
export const makeContextForm = () => factories['io.flow.v0.models.context_form']();
|
|
18614
|
-
export const makeContextReference = () => factories['io.flow.v0.models.context_reference']();
|
|
18615
18439
|
export const makeCostEstimateSource = () => factories['io.flow.v0.enums.cost_estimate_source']();
|
|
18616
18440
|
export const makeCountry = () => factories['io.flow.v0.models.country']();
|
|
18617
18441
|
export const makeCountryAvailability = () => factories['io.flow.v0.models.country_availability']();
|
|
@@ -18766,9 +18590,7 @@ export const makeEmailNotification = () => factories['io.flow.v0.models.email_no
|
|
|
18766
18590
|
export const makeEmailNotificationAbandonedOrder = () => factories['io.flow.v0.models.email_notification_abandoned_order']();
|
|
18767
18591
|
export const makeEmailNotificationData = () => factories['io.flow.v0.unions.email_notification_data']();
|
|
18768
18592
|
export const makeEmailNotificationDataRefund = () => factories['io.flow.v0.models.email_notification_data_refund']();
|
|
18769
|
-
export const makeEmailNotificationDeleted = () => factories['io.flow.v0.models.email_notification_deleted']();
|
|
18770
18593
|
export const makeEmailNotificationForm = () => factories['io.flow.v0.models.email_notification_form']();
|
|
18771
|
-
export const makeEmailNotificationUpserted = () => factories['io.flow.v0.models.email_notification_upserted']();
|
|
18772
18594
|
export const makeEmailPaymentSummary = () => factories['io.flow.v0.models.email_payment_summary']();
|
|
18773
18595
|
export const makeEmailRecipient = () => factories['io.flow.v0.models.email_recipient']();
|
|
18774
18596
|
export const makeEmailVerification = () => factories['io.flow.v0.models.email_verification']();
|
|
@@ -18845,7 +18667,6 @@ export const makeExperienceSummary = () => factories['io.flow.v0.models.experien
|
|
|
18845
18667
|
export const makeExperienceUpserted = () => factories['io.flow.v0.models.experience_upserted']();
|
|
18846
18668
|
export const makeExperienceUpsertedV2 = () => factories['io.flow.v0.models.experience_upserted_v2']();
|
|
18847
18669
|
export const makeExperienceVersion = () => factories['io.flow.v0.models.experience_version']();
|
|
18848
|
-
export const makeExperimentVariant = () => factories['io.flow.v0.models.experiment_variant']();
|
|
18849
18670
|
export const makeExpiration = () => factories['io.flow.v0.models.expiration']();
|
|
18850
18671
|
export const makeExport = () => factories['io.flow.v0.models.export']();
|
|
18851
18672
|
export const makeExportDelivery = () => factories['io.flow.v0.unions.export_delivery']();
|
|
@@ -19073,7 +18894,6 @@ export const makeLaneSummary = () => factories['io.flow.v0.models.lane_summary']
|
|
|
19073
18894
|
export const makeLanguage = () => factories['io.flow.v0.models.language']();
|
|
19074
18895
|
export const makeLargePackageServiceFee = () => factories['io.flow.v0.models.large_package_service_fee']();
|
|
19075
18896
|
export const makeLevyComponent = () => factories['io.flow.v0.enums.levy_component']();
|
|
19076
|
-
export const makeLevyInclusion = () => factories['io.flow.v0.enums.levy_inclusion']();
|
|
19077
18897
|
export const makeLevyStrategy = () => factories['io.flow.v0.enums.levy_strategy']();
|
|
19078
18898
|
export const makeLine = () => factories['io.flow.v0.models.line']();
|
|
19079
18899
|
export const makeLineItem = () => factories['io.flow.v0.models.line_item']();
|
|
@@ -19713,12 +19533,7 @@ export const makeServiceUnknown = () => factories['io.flow.v0.models.service_unk
|
|
|
19713
19533
|
export const makeSession = () => factories['io.flow.v0.unions.session']();
|
|
19714
19534
|
export const makeSessionAuthorization = () => factories['io.flow.v0.unions.session_authorization']();
|
|
19715
19535
|
export const makeSessionAuthorizationForm = () => factories['io.flow.v0.models.session_authorization_form']();
|
|
19716
|
-
export const makeSessionContextExperiment = () => factories['io.flow.v0.models.session_context_experiment']();
|
|
19717
19536
|
export const makeSessionCurrencyFormat = () => factories['io.flow.v0.models.session_currency_format']();
|
|
19718
|
-
export const makeSessionExperiment = () => factories['io.flow.v0.models.session_experiment']();
|
|
19719
|
-
export const makeSessionExperimentForm = () => factories['io.flow.v0.models.session_experiment_form']();
|
|
19720
|
-
export const makeSessionExperimentVariant = () => factories['io.flow.v0.models.session_experiment_variant']();
|
|
19721
|
-
export const makeSessionExperimentVariantForm = () => factories['io.flow.v0.models.session_experiment_variant_form']();
|
|
19722
19537
|
export const makeSessionExpirationConfig = () => factories['io.flow.v0.models.session_expiration_config']();
|
|
19723
19538
|
export const makeSessionForm = () => factories['io.flow.v0.models.session_form']();
|
|
19724
19539
|
export const makeSessionFormat = () => factories['io.flow.v0.models.session_format']();
|
|
@@ -19756,6 +19571,8 @@ export const makeShippingConfigurationUpserted = () => factories['io.flow.v0.mod
|
|
|
19756
19571
|
export const makeShippingConfigurationVersion = () => factories['io.flow.v0.models.shipping_configuration_version']();
|
|
19757
19572
|
export const makeShippingLabel = () => factories['io.flow.v0.models.shipping_label']();
|
|
19758
19573
|
export const makeShippingLabelDocument = () => factories['io.flow.v0.models.shipping_label_document']();
|
|
19574
|
+
export const makeShippingLabelError = () => factories['io.flow.v0.models.shipping_label_error']();
|
|
19575
|
+
export const makeShippingLabelErrorCode = () => factories['io.flow.v0.enums.shipping_label_error_code']();
|
|
19759
19576
|
export const makeShippingLabelForm = () => factories['io.flow.v0.unions.shipping_label_form']();
|
|
19760
19577
|
export const makeShippingLabelHopCostItemizedEstimate = () => factories['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate']();
|
|
19761
19578
|
export const makeShippingLabelHopSummary = () => factories['io.flow.v0.models.shipping_label_hop_summary']();
|
|
@@ -19832,7 +19649,6 @@ export const makeStatementDeleted = () => factories['io.flow.v0.models.statement
|
|
|
19832
19649
|
export const makeStatementUpserted = () => factories['io.flow.v0.models.statement_upserted']();
|
|
19833
19650
|
export const makeStoredMethodUsageStep = () => factories['io.flow.v0.enums.stored_method_usage_step']();
|
|
19834
19651
|
export const makeStrategy = () => factories['io.flow.v0.enums.strategy']();
|
|
19835
|
-
export const makeStreetAddress = () => factories['io.flow.v0.models.street_address']();
|
|
19836
19652
|
export const makeStripeAuthenticationData = () => factories['io.flow.v0.models.stripe_authentication_data']();
|
|
19837
19653
|
export const makeStripeAuthenticationDataForm = () => factories['io.flow.v0.models.stripe_authentication_data_form']();
|
|
19838
19654
|
export const makeStripeAuthorizationResultActionDetails = () => factories['io.flow.v0.models.stripe_authorization_result_action_details']();
|
|
@@ -19873,18 +19689,6 @@ export const makeSyncStreamType = () => factories['io.flow.v0.enums.sync_stream_
|
|
|
19873
19689
|
export const makeSyncUnitOfTime = () => factories['io.flow.v0.enums.sync_unit_of_time']();
|
|
19874
19690
|
export const makeTax = () => factories['io.flow.v0.models.tax']();
|
|
19875
19691
|
export const makeTaxApplicability = () => factories['io.flow.v0.enums.tax_applicability']();
|
|
19876
|
-
export const makeTaxDutyCalculatorValidationError = () => factories['io.flow.v0.models.tax_duty_calculator_validation_error']();
|
|
19877
|
-
export const makeTaxDutyCalculatorValidationErrorCode = () => factories['io.flow.v0.enums.tax_duty_calculator_validation_error_code']();
|
|
19878
|
-
export const makeTaxDutyQuote = () => factories['io.flow.v0.models.tax_duty_quote']();
|
|
19879
|
-
export const makeTaxDutyQuoteFeeValue = () => factories['io.flow.v0.models.tax_duty_quote_fee_value']();
|
|
19880
|
-
export const makeTaxDutyQuoteForm = () => factories['io.flow.v0.models.tax_duty_quote_form']();
|
|
19881
|
-
export const makeTaxDutyQuoteLevyValue = () => factories['io.flow.v0.unions.tax_duty_quote_levy_value']();
|
|
19882
|
-
export const makeTaxDutyQuoteLineItem = () => factories['io.flow.v0.models.tax_duty_quote_line_item']();
|
|
19883
|
-
export const makeTaxDutyQuoteLineItemForm = () => factories['io.flow.v0.models.tax_duty_quote_line_item_form']();
|
|
19884
|
-
export const makeTaxDutyQuoteSimpleLevyValue = () => factories['io.flow.v0.models.tax_duty_quote_simple_levy_value']();
|
|
19885
|
-
export const makeTaxDutyQuoteSimpleShipping = () => factories['io.flow.v0.models.tax_duty_quote_simple_shipping']();
|
|
19886
|
-
export const makeTaxDutyQuoteSimpleShippingForm = () => factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form']();
|
|
19887
|
-
export const makeTaxDutyQuoteValues = () => factories['io.flow.v0.models.tax_duty_quote_values']();
|
|
19888
19692
|
export const makeTaxRegistration = () => factories['io.flow.v0.models.tax_registration']();
|
|
19889
19693
|
export const makeTaxRegistrationForm = () => factories['io.flow.v0.models.tax_registration_form']();
|
|
19890
19694
|
export const makeTaxReport = () => factories['io.flow.v0.models.tax_report']();
|
|
@@ -20031,5 +19835,4 @@ export const makeWebhookStatus = () => factories['io.flow.v0.enums.webhook_statu
|
|
|
20031
19835
|
export const makeWithholdingDeduction = () => factories['io.flow.v0.models.withholding_deduction']();
|
|
20032
19836
|
export const makeWithholdingDeductionType = () => factories['io.flow.v0.enums.withholding_deduction_type']();
|
|
20033
19837
|
export const makeZeroAmountIndicator = () => factories['io.flow.v0.enums.zero_amount_indicator']();
|
|
20034
|
-
export const makeZeroLevyReasonCode = () => factories['io.flow.v0.enums.zero_levy_reason_code']();
|
|
20035
19838
|
export const makeZone = () => factories['io.flow.v0.models.zone']();
|