@flowio/api-factories 0.0.96 → 0.0.98
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 +89 -131
- package/dist/esm/api.js +55 -89
- package/dist/types/api.d.ts +5 -13
- package/package.json +2 -2
- package/src/api.ts +63 -103
package/dist/esm/api.js
CHANGED
|
@@ -101,9 +101,6 @@ var factories = {
|
|
|
101
101
|
organization_id: factories.string(),
|
|
102
102
|
num_events: factories.long(),
|
|
103
103
|
}); },
|
|
104
|
-
'io.flow.ben.test.internal.v0.models.svitlana_test': function () { return ({
|
|
105
|
-
name: factories.string(),
|
|
106
|
-
}); },
|
|
107
104
|
'io.flow.ben.test.internal.v0.models.test': function () { return ({
|
|
108
105
|
id: factories.string(),
|
|
109
106
|
name: factories.string(),
|
|
@@ -3571,6 +3568,16 @@ var factories = {
|
|
|
3571
3568
|
'won',
|
|
3572
3569
|
'lost',
|
|
3573
3570
|
]); },
|
|
3571
|
+
'io.flow.stripe.v0.enums.early_fraud_warning_event_type': function () { return faker.helpers.arrayElement(['radar.early_fraud_warning']); },
|
|
3572
|
+
'io.flow.stripe.v0.enums.early_fraud_warning_type': function () { return faker.helpers.arrayElement([
|
|
3573
|
+
'card_never_received',
|
|
3574
|
+
'fraudulent_card_application',
|
|
3575
|
+
'made_with_counterfeit_card',
|
|
3576
|
+
'made_with_lost_card',
|
|
3577
|
+
'made_with_stolen_card',
|
|
3578
|
+
'unauthorized_use_of_card',
|
|
3579
|
+
'misc',
|
|
3580
|
+
]); },
|
|
3574
3581
|
'io.flow.stripe.v0.enums.error_code': function () { return faker.helpers.arrayElement([
|
|
3575
3582
|
'invalid_number',
|
|
3576
3583
|
'invalid_expiry_month',
|
|
@@ -4734,6 +4741,16 @@ var factories = {
|
|
|
4734
4741
|
object: factories['io.flow.stripe.v0.models.dispute'](),
|
|
4735
4742
|
previous_attributes: factories.object(),
|
|
4736
4743
|
}); },
|
|
4744
|
+
'io.flow.stripe.v0.models.stripe_early_fraud_warning_event': function () { return ({
|
|
4745
|
+
id: factories.string(),
|
|
4746
|
+
object: factories['io.flow.stripe.v0.enums.early_fraud_warning_event_type'](),
|
|
4747
|
+
actionable: factories.boolean(),
|
|
4748
|
+
charge: factories.string(),
|
|
4749
|
+
created: factories.long(),
|
|
4750
|
+
fraud_type: factories['io.flow.stripe.v0.enums.early_fraud_warning_type'](),
|
|
4751
|
+
livemode: factories.boolean(),
|
|
4752
|
+
payment_intent: factories.string(),
|
|
4753
|
+
}); },
|
|
4737
4754
|
'io.flow.stripe.v0.models.stripe_error': function () { return ({
|
|
4738
4755
|
type: factories['io.flow.stripe.v0.enums.error_type'](),
|
|
4739
4756
|
charge: factories.string(),
|
|
@@ -5158,10 +5175,6 @@ var factories = {
|
|
|
5158
5175
|
'fully_harmonized_item_upserted',
|
|
5159
5176
|
'import_completed_v2',
|
|
5160
5177
|
'import_failed_v2',
|
|
5161
|
-
'rule_upserted',
|
|
5162
|
-
'rule_deleted',
|
|
5163
|
-
'snapshot_upserted',
|
|
5164
|
-
'snapshot_deleted',
|
|
5165
5178
|
'label_upserted',
|
|
5166
5179
|
'label_deleted_v2',
|
|
5167
5180
|
'label_upserted_v2',
|
|
@@ -5317,6 +5330,7 @@ var factories = {
|
|
|
5317
5330
|
'DEQ',
|
|
5318
5331
|
'DDU',
|
|
5319
5332
|
]); },
|
|
5333
|
+
'io.flow.v0.enums.incoterm_configuration': function () { return faker.helpers.arrayElement(['DDP', 'DAP', 'DDU', 'UNSUPPORTED']); },
|
|
5320
5334
|
'io.flow.v0.enums.inline_window_viewport_size': function () { return faker.helpers.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen', 'responsive']); },
|
|
5321
5335
|
'io.flow.v0.enums.input_specification_type': function () { return faker.helpers.arrayElement(['text', 'number']); },
|
|
5322
5336
|
'io.flow.v0.enums.invitation_error_code': function () { return faker.helpers.arrayElement(['expired', 'invalid_email']); },
|
|
@@ -5739,6 +5753,20 @@ var factories = {
|
|
|
5739
5753
|
'io.flow.v0.enums.shipment_integration_type': function () { return faker.helpers.arrayElement(['direct', 'information', 'preadvice']); },
|
|
5740
5754
|
'io.flow.v0.enums.shipment_recipient': function () { return faker.helpers.arrayElement(['customer', 'return', 'crossdock']); },
|
|
5741
5755
|
'io.flow.v0.enums.shipping_configuration_type': function () { return faker.helpers.arrayElement(['default', 'variant']); },
|
|
5756
|
+
'io.flow.v0.enums.shipping_label_error_code': function () { return faker.helpers.arrayElement([
|
|
5757
|
+
'generic_error',
|
|
5758
|
+
'cancelled_order',
|
|
5759
|
+
'carrier_outage',
|
|
5760
|
+
'catalog_issue',
|
|
5761
|
+
'invalid_destination',
|
|
5762
|
+
'invalid_origin',
|
|
5763
|
+
'invalid_shipping_parameters',
|
|
5764
|
+
'merchant_error',
|
|
5765
|
+
'order_not_found',
|
|
5766
|
+
'order_processing',
|
|
5767
|
+
'restricted_item',
|
|
5768
|
+
'unsupported_lane',
|
|
5769
|
+
]); },
|
|
5742
5770
|
'io.flow.v0.enums.shopify_grant': function () { return faker.helpers.arrayElement(['customer', 'discount', 'gift_card', 'metafield', 'order']); },
|
|
5743
5771
|
'io.flow.v0.enums.shopify_localization_method': function () { return faker.helpers.arrayElement(['api', 'ssr']); },
|
|
5744
5772
|
'io.flow.v0.enums.shopify_sync_check': function () { return faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']); },
|
|
@@ -7599,16 +7627,6 @@ var factories = {
|
|
|
7599
7627
|
email: factories.string(),
|
|
7600
7628
|
phone: factories.string(),
|
|
7601
7629
|
}); },
|
|
7602
|
-
'io.flow.v0.models.context': function () { return ({
|
|
7603
|
-
id: factories.string(),
|
|
7604
|
-
experiments: arrayOf(function () { return factories['io.flow.v0.models.session_context_experiment'](); }),
|
|
7605
|
-
}); },
|
|
7606
|
-
'io.flow.v0.models.context_form': function () { return ({
|
|
7607
|
-
experiments: arrayOf(function () { return factories['io.flow.v0.models.session_context_experiment'](); }),
|
|
7608
|
-
}); },
|
|
7609
|
-
'io.flow.v0.models.context_reference': function () { return ({
|
|
7610
|
-
id: factories.string(),
|
|
7611
|
-
}); },
|
|
7612
7630
|
'io.flow.v0.models.country': function () { return ({
|
|
7613
7631
|
name: factories.string(),
|
|
7614
7632
|
iso_3166_2: factories.string(),
|
|
@@ -8696,9 +8714,6 @@ var factories = {
|
|
|
8696
8714
|
type: factories['io.flow.v0.enums.change_type'](),
|
|
8697
8715
|
experience: factories['io.flow.v0.models.experience'](),
|
|
8698
8716
|
}); },
|
|
8699
|
-
'io.flow.v0.models.experiment_variant': function () { return ({
|
|
8700
|
-
key: factories.string(),
|
|
8701
|
-
}); },
|
|
8702
8717
|
'io.flow.v0.models.expiration': function () { return ({
|
|
8703
8718
|
month: factories.integer(),
|
|
8704
8719
|
year: factories.integer(),
|
|
@@ -9291,6 +9306,15 @@ var factories = {
|
|
|
9291
9306
|
key: factories['io.flow.v0.enums.included_levy_key'](),
|
|
9292
9307
|
label: factories.string(),
|
|
9293
9308
|
}); },
|
|
9309
|
+
'io.flow.v0.models.incoterm_includes': function () { return ({
|
|
9310
|
+
duties: factories.boolean(),
|
|
9311
|
+
taxes: factories.boolean(),
|
|
9312
|
+
}); },
|
|
9313
|
+
'io.flow.v0.models.incoterm_summary': function () { return ({
|
|
9314
|
+
configuration: factories['io.flow.v0.enums.incoterm_configuration'](),
|
|
9315
|
+
includes: factories['io.flow.v0.models.incoterm_includes'](),
|
|
9316
|
+
reason: factories.string(),
|
|
9317
|
+
}); },
|
|
9294
9318
|
'io.flow.v0.models.indirect_tax': function () { return ({
|
|
9295
9319
|
number: factories.string(),
|
|
9296
9320
|
id: factories.string(),
|
|
@@ -9895,7 +9919,6 @@ var factories = {
|
|
|
9895
9919
|
language: factories['io.flow.v0.models.language'](),
|
|
9896
9920
|
locale: factories['io.flow.v0.models.locale'](),
|
|
9897
9921
|
experience: factories['io.flow.v0.models.experience_geo'](),
|
|
9898
|
-
experiment: factories['io.flow.v0.models.session_experiment'](),
|
|
9899
9922
|
}); },
|
|
9900
9923
|
'io.flow.v0.models.locale': function () { return ({
|
|
9901
9924
|
id: factories.string(),
|
|
@@ -10360,6 +10383,7 @@ var factories = {
|
|
|
10360
10383
|
geo: factories['io.flow.v0.models.order_geo'](),
|
|
10361
10384
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
10362
10385
|
destination_contact_details: arrayOf(function () { return factories['io.flow.v0.models.destination_contact_detail'](); }),
|
|
10386
|
+
incoterm_summary: factories['io.flow.v0.models.incoterm_summary'](),
|
|
10363
10387
|
}); },
|
|
10364
10388
|
'io.flow.v0.models.order_address': function () { return ({
|
|
10365
10389
|
text: factories.string(),
|
|
@@ -11052,8 +11076,6 @@ var factories = {
|
|
|
11052
11076
|
geo: factories['io.flow.v0.models.session_geo'](),
|
|
11053
11077
|
experience: factories['io.flow.v0.models.experience_geo'](),
|
|
11054
11078
|
format: factories['io.flow.v0.models.session_format'](),
|
|
11055
|
-
experiment: factories['io.flow.v0.models.session_experiment'](),
|
|
11056
|
-
context: factories['io.flow.v0.models.context_reference'](),
|
|
11057
11079
|
}); },
|
|
11058
11080
|
'io.flow.v0.models.organization_session_authorization': function () { return ({
|
|
11059
11081
|
discriminator: 'organization_session_authorization',
|
|
@@ -12973,19 +12995,6 @@ var factories = {
|
|
|
12973
12995
|
authentication_techniques: arrayOf(function () { return factories['io.flow.v0.enums.authentication_technique'](); }),
|
|
12974
12996
|
roles: arrayOf(function () { return factories['io.flow.v0.enums.flow_role'](); }),
|
|
12975
12997
|
}); },
|
|
12976
|
-
'io.flow.v0.models.rule_deleted': function () { return ({
|
|
12977
|
-
discriminator: 'rule_deleted',
|
|
12978
|
-
event_id: factories.string(),
|
|
12979
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12980
|
-
id: factories.string(),
|
|
12981
|
-
}); },
|
|
12982
|
-
'io.flow.v0.models.rule_upserted': function () { return ({
|
|
12983
|
-
discriminator: 'rule_upserted',
|
|
12984
|
-
event_id: factories.string(),
|
|
12985
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12986
|
-
organization_id: factories.string(),
|
|
12987
|
-
rule: factories['io.flow.inventory.v0.models.inventory_rule'](),
|
|
12988
|
-
}); },
|
|
12989
12998
|
'io.flow.v0.models.schedule': function () { return ({
|
|
12990
12999
|
calendar: factories['io.flow.v0.enums.calendar'](),
|
|
12991
13000
|
holiday: factories['io.flow.v0.enums.holiday_calendar'](),
|
|
@@ -13047,29 +13056,10 @@ var factories = {
|
|
|
13047
13056
|
'io.flow.v0.models.session_authorization_form': function () { return ({
|
|
13048
13057
|
session: factories.string(),
|
|
13049
13058
|
}); },
|
|
13050
|
-
'io.flow.v0.models.session_context_experiment': function () { return ({
|
|
13051
|
-
key: factories.string(),
|
|
13052
|
-
variant: factories['io.flow.v0.models.experiment_variant'](),
|
|
13053
|
-
}); },
|
|
13054
13059
|
'io.flow.v0.models.session_currency_format': function () { return ({
|
|
13055
13060
|
symbol: factories['io.flow.v0.enums.currency_symbol_format'](),
|
|
13056
13061
|
label_formatters: arrayOf(function () { return factories['io.flow.v0.enums.currency_label_formatter'](); }),
|
|
13057
13062
|
}); },
|
|
13058
|
-
'io.flow.v0.models.session_experiment': function () { return ({
|
|
13059
|
-
key: factories.string(),
|
|
13060
|
-
variant: factories['io.flow.v0.models.session_experiment_variant'](),
|
|
13061
|
-
}); },
|
|
13062
|
-
'io.flow.v0.models.session_experiment_form': function () { return ({
|
|
13063
|
-
key: factories.string(),
|
|
13064
|
-
variant: factories['io.flow.v0.models.session_experiment_variant_form'](),
|
|
13065
|
-
}); },
|
|
13066
|
-
'io.flow.v0.models.session_experiment_variant': function () { return ({
|
|
13067
|
-
key: factories.string(),
|
|
13068
|
-
name: factories.string(),
|
|
13069
|
-
}); },
|
|
13070
|
-
'io.flow.v0.models.session_experiment_variant_form': function () { return ({
|
|
13071
|
-
key: factories.string(),
|
|
13072
|
-
}); },
|
|
13073
13063
|
'io.flow.v0.models.session_expiration_config': function () { return ({
|
|
13074
13064
|
unit: factories['io.flow.v0.enums.unit_of_time'](),
|
|
13075
13065
|
value: factories.long(),
|
|
@@ -13280,6 +13270,10 @@ var factories = {
|
|
|
13280
13270
|
html: factories.string(),
|
|
13281
13271
|
required: factories.boolean(),
|
|
13282
13272
|
}); },
|
|
13273
|
+
'io.flow.v0.models.shipping_label_error': function () { return ({
|
|
13274
|
+
code: factories['io.flow.v0.enums.shipping_label_error_code'](),
|
|
13275
|
+
messages: arrayOf(function () { return factories.string(); }),
|
|
13276
|
+
}); },
|
|
13283
13277
|
'io.flow.v0.models.shipping_label_hop_cost_itemized_estimate': function () { return ({
|
|
13284
13278
|
units: factories['io.flow.v0.models.label_units'](),
|
|
13285
13279
|
base: factories['io.flow.v0.models.label_base'](),
|
|
@@ -13710,23 +13704,6 @@ var factories = {
|
|
|
13710
13704
|
service: factories.string(),
|
|
13711
13705
|
shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
|
|
13712
13706
|
}); },
|
|
13713
|
-
'io.flow.v0.models.snapshot_deleted': function () { return ({
|
|
13714
|
-
discriminator: 'snapshot_deleted',
|
|
13715
|
-
event_id: factories.string(),
|
|
13716
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13717
|
-
snapshot_id: factories.string(),
|
|
13718
|
-
}); },
|
|
13719
|
-
'io.flow.v0.models.snapshot_upserted': function () { return ({
|
|
13720
|
-
discriminator: 'snapshot_upserted',
|
|
13721
|
-
event_id: factories.string(),
|
|
13722
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13723
|
-
organization: factories.string(),
|
|
13724
|
-
snapshot_id: factories.string(),
|
|
13725
|
-
available: factories.long(),
|
|
13726
|
-
center_key: factories.string(),
|
|
13727
|
-
item_number: factories.string(),
|
|
13728
|
-
quantity: factories.long(),
|
|
13729
|
-
}); },
|
|
13730
13707
|
'io.flow.v0.models.solidus_product_export_type': function () { return ({
|
|
13731
13708
|
discriminator: 'solidus_product_export_type',
|
|
13732
13709
|
numbers: arrayOf(function () { return factories.string(); }),
|
|
@@ -14240,6 +14217,7 @@ var factories = {
|
|
|
14240
14217
|
status: factories['io.flow.v0.enums.tracking_status'](),
|
|
14241
14218
|
timestamp: factories.date_time_iso_8601(),
|
|
14242
14219
|
description: factories.string(),
|
|
14220
|
+
aggregator_status_code: factories.string(),
|
|
14243
14221
|
}); },
|
|
14244
14222
|
'io.flow.v0.models.tracking_event_form': function () { return ({
|
|
14245
14223
|
tracking_label_id: factories.string(),
|
|
@@ -15062,10 +15040,6 @@ var factories = {
|
|
|
15062
15040
|
function () { return factories['io.flow.v0.models.fully_harmonized_item_upserted'](); },
|
|
15063
15041
|
function () { return factories['io.flow.v0.models.import_completed_v2'](); },
|
|
15064
15042
|
function () { return factories['io.flow.v0.models.import_failed_v2'](); },
|
|
15065
|
-
function () { return factories['io.flow.v0.models.rule_upserted'](); },
|
|
15066
|
-
function () { return factories['io.flow.v0.models.rule_deleted'](); },
|
|
15067
|
-
function () { return factories['io.flow.v0.models.snapshot_upserted'](); },
|
|
15068
|
-
function () { return factories['io.flow.v0.models.snapshot_deleted'](); },
|
|
15069
15043
|
function () { return factories['io.flow.v0.models.label_upserted'](); },
|
|
15070
15044
|
function () { return factories['io.flow.v0.models.label_deleted_v2'](); },
|
|
15071
15045
|
function () { return factories['io.flow.v0.models.label_upserted_v2'](); },
|
|
@@ -16070,9 +16044,6 @@ export var makeConsumerInvoiceReference = function () { return factories['io.flo
|
|
|
16070
16044
|
export var makeConsumerInvoiceStatus = function () { return factories['io.flow.v0.enums.consumer_invoice_status'](); };
|
|
16071
16045
|
export var makeConsumerInvoiceUpserted = function () { return factories['io.flow.v0.models.consumer_invoice_upserted'](); };
|
|
16072
16046
|
export var makeContact = function () { return factories['io.flow.v0.models.contact'](); };
|
|
16073
|
-
export var makeContext = function () { return factories['io.flow.v0.models.context'](); };
|
|
16074
|
-
export var makeContextForm = function () { return factories['io.flow.v0.models.context_form'](); };
|
|
16075
|
-
export var makeContextReference = function () { return factories['io.flow.v0.models.context_reference'](); };
|
|
16076
16047
|
export var makeCostEstimateSource = function () { return factories['io.flow.v0.enums.cost_estimate_source'](); };
|
|
16077
16048
|
export var makeCountry = function () { return factories['io.flow.v0.models.country'](); };
|
|
16078
16049
|
export var makeCountryAvailability = function () { return factories['io.flow.v0.models.country_availability'](); };
|
|
@@ -16306,7 +16277,6 @@ export var makeExperienceSummary = function () { return factories['io.flow.v0.mo
|
|
|
16306
16277
|
export var makeExperienceUpserted = function () { return factories['io.flow.v0.models.experience_upserted'](); };
|
|
16307
16278
|
export var makeExperienceUpsertedV2 = function () { return factories['io.flow.v0.models.experience_upserted_v2'](); };
|
|
16308
16279
|
export var makeExperienceVersion = function () { return factories['io.flow.v0.models.experience_version'](); };
|
|
16309
|
-
export var makeExperimentVariant = function () { return factories['io.flow.v0.models.experiment_variant'](); };
|
|
16310
16280
|
export var makeExpiration = function () { return factories['io.flow.v0.models.expiration'](); };
|
|
16311
16281
|
export var makeExport = function () { return factories['io.flow.v0.models.export'](); };
|
|
16312
16282
|
export var makeExportDelivery = function () { return factories['io.flow.v0.unions.export_delivery'](); };
|
|
@@ -16438,6 +16408,9 @@ export var makeInboundCartonFee = function () { return factories['io.flow.v0.mod
|
|
|
16438
16408
|
export var makeIncludedLevies = function () { return factories['io.flow.v0.models.included_levies'](); };
|
|
16439
16409
|
export var makeIncludedLevyKey = function () { return factories['io.flow.v0.enums.included_levy_key'](); };
|
|
16440
16410
|
export var makeIncoterm = function () { return factories['io.flow.v0.enums.incoterm'](); };
|
|
16411
|
+
export var makeIncotermConfiguration = function () { return factories['io.flow.v0.enums.incoterm_configuration'](); };
|
|
16412
|
+
export var makeIncotermIncludes = function () { return factories['io.flow.v0.models.incoterm_includes'](); };
|
|
16413
|
+
export var makeIncotermSummary = function () { return factories['io.flow.v0.models.incoterm_summary'](); };
|
|
16441
16414
|
export var makeIndirectTax = function () { return factories['io.flow.v0.models.indirect_tax'](); };
|
|
16442
16415
|
export var makeIndividual = function () { return factories['io.flow.v0.models.individual'](); };
|
|
16443
16416
|
export var makeInlineActionConfiguration = function () { return factories['io.flow.v0.unions.inline_action_configuration'](); };
|
|
@@ -17154,8 +17127,6 @@ export var makeRounding = function () { return factories['io.flow.v0.models.roun
|
|
|
17154
17127
|
export var makeRoundingMethod = function () { return factories['io.flow.v0.enums.rounding_method'](); };
|
|
17155
17128
|
export var makeRoundingType = function () { return factories['io.flow.v0.enums.rounding_type'](); };
|
|
17156
17129
|
export var makeRouteAudit = function () { return factories['io.flow.v0.models.route_audit'](); };
|
|
17157
|
-
export var makeRuleDeleted = function () { return factories['io.flow.v0.models.rule_deleted'](); };
|
|
17158
|
-
export var makeRuleUpserted = function () { return factories['io.flow.v0.models.rule_upserted'](); };
|
|
17159
17130
|
export var makeSchedule = function () { return factories['io.flow.v0.models.schedule'](); };
|
|
17160
17131
|
export var makeScheduleExceptionStatus = function () { return factories['io.flow.v0.enums.schedule_exception_status'](); };
|
|
17161
17132
|
export var makeScheduledExport = function () { return factories['io.flow.v0.models.scheduled_export'](); };
|
|
@@ -17173,12 +17144,7 @@ export var makeServiceUnknown = function () { return factories['io.flow.v0.model
|
|
|
17173
17144
|
export var makeSession = function () { return factories['io.flow.v0.unions.session'](); };
|
|
17174
17145
|
export var makeSessionAuthorization = function () { return factories['io.flow.v0.unions.session_authorization'](); };
|
|
17175
17146
|
export var makeSessionAuthorizationForm = function () { return factories['io.flow.v0.models.session_authorization_form'](); };
|
|
17176
|
-
export var makeSessionContextExperiment = function () { return factories['io.flow.v0.models.session_context_experiment'](); };
|
|
17177
17147
|
export var makeSessionCurrencyFormat = function () { return factories['io.flow.v0.models.session_currency_format'](); };
|
|
17178
|
-
export var makeSessionExperiment = function () { return factories['io.flow.v0.models.session_experiment'](); };
|
|
17179
|
-
export var makeSessionExperimentForm = function () { return factories['io.flow.v0.models.session_experiment_form'](); };
|
|
17180
|
-
export var makeSessionExperimentVariant = function () { return factories['io.flow.v0.models.session_experiment_variant'](); };
|
|
17181
|
-
export var makeSessionExperimentVariantForm = function () { return factories['io.flow.v0.models.session_experiment_variant_form'](); };
|
|
17182
17148
|
export var makeSessionExpirationConfig = function () { return factories['io.flow.v0.models.session_expiration_config'](); };
|
|
17183
17149
|
export var makeSessionForm = function () { return factories['io.flow.v0.models.session_form'](); };
|
|
17184
17150
|
export var makeSessionFormat = function () { return factories['io.flow.v0.models.session_format'](); };
|
|
@@ -17216,6 +17182,8 @@ export var makeShippingConfigurationUpserted = function () { return factories['i
|
|
|
17216
17182
|
export var makeShippingConfigurationVersion = function () { return factories['io.flow.v0.models.shipping_configuration_version'](); };
|
|
17217
17183
|
export var makeShippingLabel = function () { return factories['io.flow.v0.models.shipping_label'](); };
|
|
17218
17184
|
export var makeShippingLabelDocument = function () { return factories['io.flow.v0.models.shipping_label_document'](); };
|
|
17185
|
+
export var makeShippingLabelError = function () { return factories['io.flow.v0.models.shipping_label_error'](); };
|
|
17186
|
+
export var makeShippingLabelErrorCode = function () { return factories['io.flow.v0.enums.shipping_label_error_code'](); };
|
|
17219
17187
|
export var makeShippingLabelForm = function () { return factories['io.flow.v0.unions.shipping_label_form'](); };
|
|
17220
17188
|
export var makeShippingLabelHopCostItemizedEstimate = function () { return factories['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'](); };
|
|
17221
17189
|
export var makeShippingLabelHopSummary = function () { return factories['io.flow.v0.models.shipping_label_hop_summary'](); };
|
|
@@ -17283,8 +17251,6 @@ export var makeShopifyVariantFlowMetafield = function () { return factories['io.
|
|
|
17283
17251
|
export var makeShopifyVariantInventoryMetafield = function () { return factories['io.flow.v0.models.shopify_variant_inventory_metafield'](); };
|
|
17284
17252
|
export var makeSimplePermissionCheck = function () { return factories['io.flow.v0.models.simple_permission_check'](); };
|
|
17285
17253
|
export var makeSinglePackageShippingNotificationForm = function () { return factories['io.flow.v0.models.single_package_shipping_notification_form'](); };
|
|
17286
|
-
export var makeSnapshotDeleted = function () { return factories['io.flow.v0.models.snapshot_deleted'](); };
|
|
17287
|
-
export var makeSnapshotUpserted = function () { return factories['io.flow.v0.models.snapshot_upserted'](); };
|
|
17288
17254
|
export var makeSolidusProductExportType = function () { return factories['io.flow.v0.models.solidus_product_export_type'](); };
|
|
17289
17255
|
export var makeSolidusVariantExportType = function () { return factories['io.flow.v0.models.solidus_variant_export_type'](); };
|
|
17290
17256
|
export var makeSortDirection = function () { return factories['io.flow.v0.enums.sort_direction'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -315,9 +315,6 @@ export declare const makeConsumerInvoiceReference: () => io.flow.v0.models.Consu
|
|
|
315
315
|
export declare const makeConsumerInvoiceStatus: () => io.flow.v0.enums.ConsumerInvoiceStatus;
|
|
316
316
|
export declare const makeConsumerInvoiceUpserted: () => io.flow.v0.models.ConsumerInvoiceUpserted;
|
|
317
317
|
export declare const makeContact: () => io.flow.v0.models.Contact;
|
|
318
|
-
export declare const makeContext: () => io.flow.v0.models.Context;
|
|
319
|
-
export declare const makeContextForm: () => io.flow.v0.models.ContextForm;
|
|
320
|
-
export declare const makeContextReference: () => io.flow.v0.models.ContextReference;
|
|
321
318
|
export declare const makeCostEstimateSource: () => io.flow.v0.enums.CostEstimateSource;
|
|
322
319
|
export declare const makeCountry: () => io.flow.v0.models.Country;
|
|
323
320
|
export declare const makeCountryAvailability: () => io.flow.v0.models.CountryAvailability;
|
|
@@ -551,7 +548,6 @@ export declare const makeExperienceSummary: () => io.flow.v0.models.ExperienceSu
|
|
|
551
548
|
export declare const makeExperienceUpserted: () => io.flow.v0.models.ExperienceUpserted;
|
|
552
549
|
export declare const makeExperienceUpsertedV2: () => io.flow.v0.models.ExperienceUpsertedV2;
|
|
553
550
|
export declare const makeExperienceVersion: () => io.flow.v0.models.ExperienceVersion;
|
|
554
|
-
export declare const makeExperimentVariant: () => io.flow.v0.models.ExperimentVariant;
|
|
555
551
|
export declare const makeExpiration: () => io.flow.v0.models.Expiration;
|
|
556
552
|
export declare const makeExport: () => io.flow.v0.models.Export;
|
|
557
553
|
export declare const makeExportDelivery: () => io.flow.v0.models.ExportDeliveryEmail;
|
|
@@ -683,6 +679,9 @@ export declare const makeInboundCartonFee: () => io.flow.v0.models.InboundCarton
|
|
|
683
679
|
export declare const makeIncludedLevies: () => io.flow.v0.models.IncludedLevies;
|
|
684
680
|
export declare const makeIncludedLevyKey: () => io.flow.v0.enums.IncludedLevyKey;
|
|
685
681
|
export declare const makeIncoterm: () => io.flow.v0.enums.Incoterm;
|
|
682
|
+
export declare const makeIncotermConfiguration: () => io.flow.v0.enums.IncotermConfiguration;
|
|
683
|
+
export declare const makeIncotermIncludes: () => io.flow.v0.models.IncotermIncludes;
|
|
684
|
+
export declare const makeIncotermSummary: () => io.flow.v0.models.IncotermSummary;
|
|
686
685
|
export declare const makeIndirectTax: () => io.flow.v0.models.IndirectTax;
|
|
687
686
|
export declare const makeIndividual: () => io.flow.v0.models.Individual;
|
|
688
687
|
export declare const makeInlineActionConfiguration: () => io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
@@ -1399,8 +1398,6 @@ export declare const makeRounding: () => io.flow.v0.models.Rounding;
|
|
|
1399
1398
|
export declare const makeRoundingMethod: () => io.flow.v0.enums.RoundingMethod;
|
|
1400
1399
|
export declare const makeRoundingType: () => io.flow.v0.enums.RoundingType;
|
|
1401
1400
|
export declare const makeRouteAudit: () => io.flow.v0.models.RouteAudit;
|
|
1402
|
-
export declare const makeRuleDeleted: () => io.flow.v0.models.RuleDeleted;
|
|
1403
|
-
export declare const makeRuleUpserted: () => io.flow.v0.models.RuleUpserted;
|
|
1404
1401
|
export declare const makeSchedule: () => io.flow.v0.models.Schedule;
|
|
1405
1402
|
export declare const makeScheduleExceptionStatus: () => io.flow.v0.enums.ScheduleExceptionStatus;
|
|
1406
1403
|
export declare const makeScheduledExport: () => io.flow.v0.models.ScheduledExport;
|
|
@@ -1418,12 +1415,7 @@ export declare const makeServiceUnknown: () => io.flow.v0.models.ServiceUnknown;
|
|
|
1418
1415
|
export declare const makeSession: () => io.flow.v0.models.OrganizationSession;
|
|
1419
1416
|
export declare const makeSessionAuthorization: () => io.flow.v0.models.OrganizationSessionAuthorization;
|
|
1420
1417
|
export declare const makeSessionAuthorizationForm: () => io.flow.v0.models.SessionAuthorizationForm;
|
|
1421
|
-
export declare const makeSessionContextExperiment: () => io.flow.v0.models.SessionContextExperiment;
|
|
1422
1418
|
export declare const makeSessionCurrencyFormat: () => io.flow.v0.models.SessionCurrencyFormat;
|
|
1423
|
-
export declare const makeSessionExperiment: () => io.flow.v0.models.SessionExperiment;
|
|
1424
|
-
export declare const makeSessionExperimentForm: () => io.flow.v0.models.SessionExperimentForm;
|
|
1425
|
-
export declare const makeSessionExperimentVariant: () => io.flow.v0.models.SessionExperimentVariant;
|
|
1426
|
-
export declare const makeSessionExperimentVariantForm: () => io.flow.v0.models.SessionExperimentVariantForm;
|
|
1427
1419
|
export declare const makeSessionExpirationConfig: () => io.flow.v0.models.SessionExpirationConfig;
|
|
1428
1420
|
export declare const makeSessionForm: () => io.flow.v0.models.SessionForm;
|
|
1429
1421
|
export declare const makeSessionFormat: () => io.flow.v0.models.SessionFormat;
|
|
@@ -1461,6 +1453,8 @@ export declare const makeShippingConfigurationUpserted: () => io.flow.v0.models.
|
|
|
1461
1453
|
export declare const makeShippingConfigurationVersion: () => io.flow.v0.models.ShippingConfigurationVersion;
|
|
1462
1454
|
export declare const makeShippingLabel: () => io.flow.v0.models.ShippingLabel;
|
|
1463
1455
|
export declare const makeShippingLabelDocument: () => io.flow.v0.models.ShippingLabelDocument;
|
|
1456
|
+
export declare const makeShippingLabelError: () => io.flow.v0.models.ShippingLabelError;
|
|
1457
|
+
export declare const makeShippingLabelErrorCode: () => io.flow.v0.enums.ShippingLabelErrorCode;
|
|
1464
1458
|
export declare const makeShippingLabelForm: () => io.flow.v0.unions.ShippingLabelForm;
|
|
1465
1459
|
export declare const makeShippingLabelHopCostItemizedEstimate: () => io.flow.v0.models.ShippingLabelHopCostItemizedEstimate;
|
|
1466
1460
|
export declare const makeShippingLabelHopSummary: () => io.flow.v0.models.ShippingLabelHopSummary;
|
|
@@ -1528,8 +1522,6 @@ export declare const makeShopifyVariantFlowMetafield: () => io.flow.v0.models.Sh
|
|
|
1528
1522
|
export declare const makeShopifyVariantInventoryMetafield: () => io.flow.v0.models.ShopifyVariantInventoryMetafield;
|
|
1529
1523
|
export declare const makeSimplePermissionCheck: () => io.flow.v0.models.SimplePermissionCheck;
|
|
1530
1524
|
export declare const makeSinglePackageShippingNotificationForm: () => io.flow.v0.models.SinglePackageShippingNotificationForm;
|
|
1531
|
-
export declare const makeSnapshotDeleted: () => io.flow.v0.models.SnapshotDeleted;
|
|
1532
|
-
export declare const makeSnapshotUpserted: () => io.flow.v0.models.SnapshotUpserted;
|
|
1533
1525
|
export declare const makeSolidusProductExportType: () => io.flow.v0.models.SolidusProductExportType;
|
|
1534
1526
|
export declare const makeSolidusVariantExportType: () => io.flow.v0.models.SolidusVariantExportType;
|
|
1535
1527
|
export declare const makeSortDirection: () => io.flow.v0.enums.SortDirection;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.98",
|
|
4
4
|
"description": "Flow API mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@faker-js/faker": "^6.2.0",
|
|
37
37
|
"@flowio/api-types": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "2e07a02edf9ba40b639c33c004df49e4d9b88ed2"
|
|
40
40
|
}
|