@flowio/api-factories 0.0.12 → 0.0.14
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 +87 -104
- package/dist/esm/api.js +54 -74
- package/dist/types/api.d.ts +8 -5
- package/package.json +2 -2
- package/src/api.ts +60 -87
package/dist/esm/api.js
CHANGED
|
@@ -719,55 +719,6 @@ var factories = {
|
|
|
719
719
|
]);
|
|
720
720
|
return f();
|
|
721
721
|
},
|
|
722
|
-
'io.flow.permission.v0.enums.authentication_technique': function () { return faker.random.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']); },
|
|
723
|
-
'io.flow.permission.v0.enums.flow_behavior': function () { return faker.random.arrayElement(['view_consumer_data']); },
|
|
724
|
-
'io.flow.permission.v0.enums.flow_role': function () { return faker.random.arrayElement([
|
|
725
|
-
'organization_admin',
|
|
726
|
-
'organization_merchant',
|
|
727
|
-
'organization_customer_service',
|
|
728
|
-
'organization_fulfillment',
|
|
729
|
-
'organization_marketing',
|
|
730
|
-
'organization_finance',
|
|
731
|
-
'flow_operations',
|
|
732
|
-
'channel_admin',
|
|
733
|
-
'channel_organization_admin',
|
|
734
|
-
]); },
|
|
735
|
-
'io.flow.permission.v0.enums.permitted_http_method': function () { return faker.random.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
736
|
-
'io.flow.permission.v0.models.behavior_audit': function () { return ({
|
|
737
|
-
behavior: factories['io.flow.permission.v0.enums.flow_behavior'](),
|
|
738
|
-
authentication_techniques: arrayOf(function () { return factories['io.flow.permission.v0.enums.authentication_technique'](); }),
|
|
739
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
740
|
-
}); },
|
|
741
|
-
'io.flow.permission.v0.models.permission_audit': function () { return ({
|
|
742
|
-
routes: arrayOf(function () { return factories['io.flow.permission.v0.models.route_audit'](); }),
|
|
743
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.models.behavior_audit'](); }),
|
|
744
|
-
}); },
|
|
745
|
-
'io.flow.permission.v0.models.permission_check': function () { return ({
|
|
746
|
-
authentication_technique: factories['io.flow.permission.v0.enums.authentication_technique'](),
|
|
747
|
-
user: factories['io.flow.common.v0.unions.expandable_user'](),
|
|
748
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
749
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_behavior'](); }),
|
|
750
|
-
routes: arrayOf(function () { return factories['io.flow.permission.v0.models.permitted_route'](); }),
|
|
751
|
-
}); },
|
|
752
|
-
'io.flow.permission.v0.models.permission_error': function () { return ({
|
|
753
|
-
code: factories['io.flow.error.v0.enums.generic_error_code'](),
|
|
754
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
755
|
-
granting_roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
756
|
-
admin_users: arrayOf(function () { return factories['io.flow.common.v0.models.user'](); }),
|
|
757
|
-
}); },
|
|
758
|
-
'io.flow.permission.v0.models.permitted_route': function () { return ({
|
|
759
|
-
method: factories['io.flow.permission.v0.enums.permitted_http_method'](),
|
|
760
|
-
path: factories.string(),
|
|
761
|
-
}); },
|
|
762
|
-
'io.flow.permission.v0.models.route_audit': function () { return ({
|
|
763
|
-
method: factories['io.flow.permission.v0.enums.permitted_http_method'](),
|
|
764
|
-
path: factories.string(),
|
|
765
|
-
authentication_techniques: arrayOf(function () { return factories['io.flow.permission.v0.enums.authentication_technique'](); }),
|
|
766
|
-
roles: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_role'](); }),
|
|
767
|
-
}); },
|
|
768
|
-
'io.flow.permission.v0.models.simple_permission_check': function () { return ({
|
|
769
|
-
behaviors: arrayOf(function () { return factories['io.flow.permission.v0.enums.flow_behavior'](); }),
|
|
770
|
-
}); },
|
|
771
722
|
'io.flow.shopify.external.v0.enums.cancel_reason': function () { return faker.random.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']); },
|
|
772
723
|
'io.flow.shopify.external.v0.enums.discount_status': function () { return faker.random.arrayElement(['enabled', 'disabled', 'depleted']); },
|
|
773
724
|
'io.flow.shopify.external.v0.enums.discount_type': function () { return faker.random.arrayElement(['fixed_amount', 'percentage', 'shipping']); },
|
|
@@ -3201,7 +3152,7 @@ var factories = {
|
|
|
3201
3152
|
'afterpay',
|
|
3202
3153
|
'bancontact',
|
|
3203
3154
|
]); },
|
|
3204
|
-
'io.flow.v0.enums.
|
|
3155
|
+
'io.flow.v0.enums.payout_status_code': function () { return faker.random.arrayElement(['scheduled', 'sent', 'cancelled', 'not_necessary', 'failed']); },
|
|
3205
3156
|
'io.flow.v0.enums.permitted_http_method': function () { return faker.random.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
3206
3157
|
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.random.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
3207
3158
|
'io.flow.v0.enums.postal_type': function () { return faker.random.arrayElement(['eircode', 'pin', 'postal', 'zip']); },
|
|
@@ -3364,7 +3315,7 @@ var factories = {
|
|
|
3364
3315
|
]); },
|
|
3365
3316
|
'io.flow.v0.enums.trade_agreement_name': function () { return faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
|
|
3366
3317
|
'io.flow.v0.enums.trade_agreement_status': function () { return faker.random.arrayElement(['supported', 'not_supported']); },
|
|
3367
|
-
'io.flow.v0.enums.
|
|
3318
|
+
'io.flow.v0.enums.transaction_source': function () { return faker.random.arrayElement(['capture', 'refund', 'dispute', 'adjustment', 'shipping_label']); },
|
|
3368
3319
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.random.arrayElement([
|
|
3369
3320
|
'millimeter',
|
|
3370
3321
|
'centimeter',
|
|
@@ -4599,6 +4550,21 @@ var factories = {
|
|
|
4599
4550
|
timestamp: factories.date_time_iso_8601(),
|
|
4600
4551
|
channel: factories['io.flow.channel.internal.v0.models.channel'](),
|
|
4601
4552
|
}); },
|
|
4553
|
+
'io.flow.v0.models.channel_vies_registration': function () { return ({
|
|
4554
|
+
id: factories.string(),
|
|
4555
|
+
key: factories.string(),
|
|
4556
|
+
number: factories.string(),
|
|
4557
|
+
timestamp: factories.date_time_iso_8601(),
|
|
4558
|
+
result: factories['io.flow.v0.enums.tax_verification_result'](),
|
|
4559
|
+
result_reason: factories.string(),
|
|
4560
|
+
name: factories.string(),
|
|
4561
|
+
address: factories.string(),
|
|
4562
|
+
company_name: factories.string(),
|
|
4563
|
+
}); },
|
|
4564
|
+
'io.flow.v0.models.channel_vies_registration_form': function () { return ({
|
|
4565
|
+
number: factories.string(),
|
|
4566
|
+
company_name: factories.string(),
|
|
4567
|
+
}); },
|
|
4602
4568
|
'io.flow.v0.models.checkout_attribute': function () { return ({
|
|
4603
4569
|
id: factories.string(),
|
|
4604
4570
|
experience: factories['io.flow.v0.models.experience_reference'](),
|
|
@@ -6042,6 +6008,14 @@ var factories = {
|
|
|
6042
6008
|
username: factories.string(),
|
|
6043
6009
|
password: factories.string(),
|
|
6044
6010
|
}); },
|
|
6011
|
+
'io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee': function () { return ({
|
|
6012
|
+
discriminator: 'fuel_surcharge_amount_by_weight_service_fee',
|
|
6013
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
6014
|
+
weight: factories['io.flow.v0.models.fee_weight'](),
|
|
6015
|
+
regions: arrayOf(function () { return factories.string(); }),
|
|
6016
|
+
starts_at: factories.date_time_iso_8601(),
|
|
6017
|
+
ends_at: factories.date_time_iso_8601(),
|
|
6018
|
+
}); },
|
|
6045
6019
|
'io.flow.v0.models.fuel_surcharge_ratecard_fee': function () { return ({
|
|
6046
6020
|
discriminator: 'fuel_surcharge_ratecard_fee',
|
|
6047
6021
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -8670,9 +8644,14 @@ var factories = {
|
|
|
8670
8644
|
payment: factories['io.flow.v0.unions.payment'](),
|
|
8671
8645
|
}); },
|
|
8672
8646
|
'io.flow.v0.models.payout': function () { return ({
|
|
8647
|
+
status: factories['io.flow.v0.models.payout_status'](),
|
|
8673
8648
|
amount: factories.decimal(),
|
|
8674
8649
|
sent_on: factories.date_time_iso_8601(),
|
|
8675
8650
|
}); },
|
|
8651
|
+
'io.flow.v0.models.payout_status': function () { return ({
|
|
8652
|
+
code: factories['io.flow.v0.enums.payout_status_code'](),
|
|
8653
|
+
reason: factories.string(),
|
|
8654
|
+
}); },
|
|
8676
8655
|
'io.flow.v0.models.paypal_authorization_details': function () { return ({
|
|
8677
8656
|
discriminator: 'paypal_authorization_details',
|
|
8678
8657
|
payment_id: factories.string(),
|
|
@@ -8725,12 +8704,6 @@ var factories = {
|
|
|
8725
8704
|
behaviors: arrayOf(function () { return factories['io.flow.v0.enums.flow_behavior'](); }),
|
|
8726
8705
|
routes: arrayOf(function () { return factories['io.flow.v0.models.permitted_route'](); }),
|
|
8727
8706
|
}); },
|
|
8728
|
-
'io.flow.v0.models.permission_error': function () { return ({
|
|
8729
|
-
code: factories['io.flow.v0.enums.generic_error_code'](),
|
|
8730
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
8731
|
-
granting_roles: arrayOf(function () { return factories['io.flow.v0.enums.flow_role'](); }),
|
|
8732
|
-
admin_users: arrayOf(function () { return factories['io.flow.v0.models.user'](); }),
|
|
8733
|
-
}); },
|
|
8734
8707
|
'io.flow.v0.models.permitted_route': function () { return ({
|
|
8735
8708
|
method: factories['io.flow.v0.enums.permitted_http_method'](),
|
|
8736
8709
|
path: factories.string(),
|
|
@@ -10262,6 +10235,7 @@ var factories = {
|
|
|
10262
10235
|
id: factories.string(),
|
|
10263
10236
|
}); },
|
|
10264
10237
|
'io.flow.v0.models.shopify_merchant_application': function () { return ({
|
|
10238
|
+
discriminator: 'shopify_merchant_application',
|
|
10265
10239
|
id: factories.string(),
|
|
10266
10240
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
10267
10241
|
indirect_tax_number: factories.string(),
|
|
@@ -10274,7 +10248,7 @@ var factories = {
|
|
|
10274
10248
|
chargeback_percentage: factories.decimal(),
|
|
10275
10249
|
bank_account_number: factories.string(),
|
|
10276
10250
|
aba_routing_transit_number: factories.string(),
|
|
10277
|
-
|
|
10251
|
+
trade_sectors: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
10278
10252
|
other_trade_sector: factories.string(),
|
|
10279
10253
|
third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
|
|
10280
10254
|
average_order_weight: factories.decimal(),
|
|
@@ -10286,6 +10260,7 @@ var factories = {
|
|
|
10286
10260
|
created_at: factories.date_time_iso_8601(),
|
|
10287
10261
|
}); },
|
|
10288
10262
|
'io.flow.v0.models.shopify_merchant_application_form': function () { return ({
|
|
10263
|
+
discriminator: 'shopify_merchant_application_form',
|
|
10289
10264
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
10290
10265
|
indirect_tax_number: factories.string(),
|
|
10291
10266
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
@@ -10297,7 +10272,7 @@ var factories = {
|
|
|
10297
10272
|
chargeback_percentage: factories.decimal(),
|
|
10298
10273
|
bank_account_number: factories.string(),
|
|
10299
10274
|
aba_routing_transit_number: factories.string(),
|
|
10300
|
-
|
|
10275
|
+
trade_sectors: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
10301
10276
|
other_trade_sector: factories.string(),
|
|
10302
10277
|
third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
|
|
10303
10278
|
average_order_weight: factories.decimal(),
|
|
@@ -10416,13 +10391,9 @@ var factories = {
|
|
|
10416
10391
|
'io.flow.v0.models.statement': function () { return ({
|
|
10417
10392
|
id: factories.string(),
|
|
10418
10393
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
10419
|
-
|
|
10394
|
+
payouts: arrayOf(function () { return factories['io.flow.v0.models.payout'](); }),
|
|
10420
10395
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
|
|
10421
10396
|
}); },
|
|
10422
|
-
'io.flow.v0.models.statement_payout': function () { return ({
|
|
10423
|
-
status: factories['io.flow.v0.enums.payout_status'](),
|
|
10424
|
-
payout: factories['io.flow.v0.models.payout'](),
|
|
10425
|
-
}); },
|
|
10426
10397
|
'io.flow.v0.models.street_address': function () { return ({
|
|
10427
10398
|
streets: arrayOf(function () { return factories.string(); }),
|
|
10428
10399
|
city: factories.string(),
|
|
@@ -10993,21 +10964,18 @@ var factories = {
|
|
|
10993
10964
|
}); },
|
|
10994
10965
|
'io.flow.v0.models.transaction': function () { return ({
|
|
10995
10966
|
id: factories.string(),
|
|
10967
|
+
shopify_transaction_id: factories.string(),
|
|
10996
10968
|
order: factories['io.flow.v0.models.billing_channel_order_reference'](),
|
|
10997
10969
|
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
10998
10970
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
10999
10971
|
currency: factories.string(),
|
|
11000
|
-
source: factories['io.flow.v0.
|
|
10972
|
+
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
11001
10973
|
gross: factories.decimal(),
|
|
11002
10974
|
fees: arrayOf(function () { return factories['io.flow.v0.models.deduction'](); }),
|
|
11003
10975
|
withholdings: arrayOf(function () { return factories['io.flow.v0.models.deduction'](); }),
|
|
11004
10976
|
net: factories.decimal(),
|
|
11005
10977
|
created_at: factories.date_time_iso_8601(),
|
|
11006
10978
|
}); },
|
|
11007
|
-
'io.flow.v0.models.transaction_source': function () { return ({
|
|
11008
|
-
id: factories.string(),
|
|
11009
|
-
type: factories['io.flow.v0.enums.transaction_source_type'](),
|
|
11010
|
-
}); },
|
|
11011
10979
|
'io.flow.v0.models.transit_estimate': function () { return ({
|
|
11012
10980
|
origin: factories['io.flow.v0.enums.delivery_window_location'](),
|
|
11013
10981
|
destination: factories['io.flow.v0.enums.delivery_window_location'](),
|
|
@@ -11705,6 +11673,14 @@ var factories = {
|
|
|
11705
11673
|
]);
|
|
11706
11674
|
return f();
|
|
11707
11675
|
},
|
|
11676
|
+
'io.flow.v0.unions.merchant_application': function () {
|
|
11677
|
+
var f = faker.random.arrayElement([function () { return factories['io.flow.v0.models.shopify_merchant_application'](); }]);
|
|
11678
|
+
return f();
|
|
11679
|
+
},
|
|
11680
|
+
'io.flow.v0.unions.merchant_application_form': function () {
|
|
11681
|
+
var f = faker.random.arrayElement([function () { return factories['io.flow.v0.models.shopify_merchant_application_form'](); }]);
|
|
11682
|
+
return f();
|
|
11683
|
+
},
|
|
11708
11684
|
'io.flow.v0.unions.online_authorization_details': function () {
|
|
11709
11685
|
var f = faker.random.arrayElement([
|
|
11710
11686
|
function () { return factories['io.flow.v0.models.cryptopay_authorization_details'](); },
|
|
@@ -11951,6 +11927,7 @@ var factories = {
|
|
|
11951
11927
|
'io.flow.v0.unions.service_fee': function () {
|
|
11952
11928
|
var f = faker.random.arrayElement([
|
|
11953
11929
|
function () { return factories['io.flow.v0.models.fuel_surcharge_service_fee'](); },
|
|
11930
|
+
function () { return factories['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'](); },
|
|
11954
11931
|
function () { return factories['io.flow.v0.models.remote_area_service_fee'](); },
|
|
11955
11932
|
function () { return factories['io.flow.v0.models.emergency_situation_surcharge_service_fee'](); },
|
|
11956
11933
|
function () { return factories['io.flow.v0.models.peak_surcharge_service_fee'](); },
|
|
@@ -12274,6 +12251,8 @@ export var makeChannelToken = function () { return factories['io.flow.v0.models.
|
|
|
12274
12251
|
export var makeChannelTokenForm = function () { return factories['io.flow.v0.models.channel_token_form'](); };
|
|
12275
12252
|
export var makeChannelTokenReference = function () { return factories['io.flow.v0.models.channel_token_reference'](); };
|
|
12276
12253
|
export var makeChannelUpserted = function () { return factories['io.flow.v0.models.channel_upserted'](); };
|
|
12254
|
+
export var makeChannelViesRegistration = function () { return factories['io.flow.v0.models.channel_vies_registration'](); };
|
|
12255
|
+
export var makeChannelViesRegistrationForm = function () { return factories['io.flow.v0.models.channel_vies_registration_form'](); };
|
|
12277
12256
|
export var makeCheckoutAttribute = function () { return factories['io.flow.v0.models.checkout_attribute'](); };
|
|
12278
12257
|
export var makeCheckoutAttributeForm = function () { return factories['io.flow.v0.models.checkout_attribute_form'](); };
|
|
12279
12258
|
export var makeCheckoutItemContent = function () { return factories['io.flow.v0.models.checkout_item_content'](); };
|
|
@@ -12589,6 +12568,7 @@ export var makeFtpOrganizationSettings = function () { return factories['io.flow
|
|
|
12589
12568
|
export var makeFtpOrganizationSettingsForm = function () { return factories['io.flow.v0.models.ftp_organization_settings_form'](); };
|
|
12590
12569
|
export var makeFtpServer = function () { return factories['io.flow.v0.models.ftp_server'](); };
|
|
12591
12570
|
export var makeFtpUser = function () { return factories['io.flow.v0.models.ftp_user'](); };
|
|
12571
|
+
export var makeFuelSurchargeAmountByWeightServiceFee = function () { return factories['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'](); };
|
|
12592
12572
|
export var makeFuelSurchargeRatecardFee = function () { return factories['io.flow.v0.models.fuel_surcharge_ratecard_fee'](); };
|
|
12593
12573
|
export var makeFuelSurchargeServiceFee = function () { return factories['io.flow.v0.models.fuel_surcharge_service_fee'](); };
|
|
12594
12574
|
export var makeFulfillment = function () { return factories['io.flow.v0.models.fulfillment'](); };
|
|
@@ -12792,6 +12772,8 @@ export var makeMembershipForm = function () { return factories['io.flow.v0.model
|
|
|
12792
12772
|
export var makeMembershipPutForm = function () { return factories['io.flow.v0.models.membership_put_form'](); };
|
|
12793
12773
|
export var makeMembershipUpsertedV2 = function () { return factories['io.flow.v0.models.membership_upserted_v2'](); };
|
|
12794
12774
|
export var makeMembershipVersion = function () { return factories['io.flow.v0.models.membership_version'](); };
|
|
12775
|
+
export var makeMerchantApplication = function () { return factories['io.flow.v0.unions.merchant_application'](); };
|
|
12776
|
+
export var makeMerchantApplicationForm = function () { return factories['io.flow.v0.unions.merchant_application_form'](); };
|
|
12795
12777
|
export var makeMerchantGiftCardBalance = function () { return factories['io.flow.v0.models.merchant_gift_card_balance'](); };
|
|
12796
12778
|
export var makeMerchantGiftCardBalanceForm = function () { return factories['io.flow.v0.models.merchant_gift_card_balance_form'](); };
|
|
12797
12779
|
export var makeMerchantGiftCardError = function () { return factories['io.flow.v0.models.merchant_gift_card_error'](); };
|
|
@@ -13107,7 +13089,8 @@ export var makePaymentType = function () { return factories['io.flow.v0.enums.pa
|
|
|
13107
13089
|
export var makePaymentUpserted = function () { return factories['io.flow.v0.models.payment_upserted'](); };
|
|
13108
13090
|
export var makePaymentVersion = function () { return factories['io.flow.v0.models.payment_version'](); };
|
|
13109
13091
|
export var makePayout = function () { return factories['io.flow.v0.models.payout'](); };
|
|
13110
|
-
export var makePayoutStatus = function () { return factories['io.flow.v0.
|
|
13092
|
+
export var makePayoutStatus = function () { return factories['io.flow.v0.models.payout_status'](); };
|
|
13093
|
+
export var makePayoutStatusCode = function () { return factories['io.flow.v0.enums.payout_status_code'](); };
|
|
13111
13094
|
export var makePaypalAuthorizationDetails = function () { return factories['io.flow.v0.models.paypal_authorization_details'](); };
|
|
13112
13095
|
export var makePaypalAuthorizationForm = function () { return factories['io.flow.v0.models.paypal_authorization_form'](); };
|
|
13113
13096
|
export var makePeakSurchargeByWeightServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); };
|
|
@@ -13116,7 +13099,6 @@ export var makePeakSurchargeServiceFee = function () { return factories['io.flow
|
|
|
13116
13099
|
export var makePercentMargin = function () { return factories['io.flow.v0.models.percent_margin'](); };
|
|
13117
13100
|
export var makePermissionAudit = function () { return factories['io.flow.v0.models.permission_audit'](); };
|
|
13118
13101
|
export var makePermissionCheck = function () { return factories['io.flow.v0.models.permission_check'](); };
|
|
13119
|
-
export var makePermissionError = function () { return factories['io.flow.v0.models.permission_error'](); };
|
|
13120
13102
|
export var makePermittedHttpMethod = function () { return factories['io.flow.v0.enums.permitted_http_method'](); };
|
|
13121
13103
|
export var makePermittedRoute = function () { return factories['io.flow.v0.models.permitted_route'](); };
|
|
13122
13104
|
export var makePfsInventoryCheckResponse = function () { return factories['io.flow.v0.models.pfs_inventory_check_response'](); };
|
|
@@ -13431,7 +13413,6 @@ export var makeSolidusProductExportType = function () { return factories['io.flo
|
|
|
13431
13413
|
export var makeSolidusVariantExportType = function () { return factories['io.flow.v0.models.solidus_variant_export_type'](); };
|
|
13432
13414
|
export var makeSortDirection = function () { return factories['io.flow.v0.enums.sort_direction'](); };
|
|
13433
13415
|
export var makeStatement = function () { return factories['io.flow.v0.models.statement'](); };
|
|
13434
|
-
export var makeStatementPayout = function () { return factories['io.flow.v0.models.statement_payout'](); };
|
|
13435
13416
|
export var makeStrategy = function () { return factories['io.flow.v0.enums.strategy'](); };
|
|
13436
13417
|
export var makeStreetAddress = function () { return factories['io.flow.v0.models.street_address'](); };
|
|
13437
13418
|
export var makeStripeAuthenticationData = function () { return factories['io.flow.v0.models.stripe_authentication_data'](); };
|
|
@@ -13553,8 +13534,7 @@ export var makeTradeAgreementDuty = function () { return factories['io.flow.v0.m
|
|
|
13553
13534
|
export var makeTradeAgreementName = function () { return factories['io.flow.v0.enums.trade_agreement_name'](); };
|
|
13554
13535
|
export var makeTradeAgreementStatus = function () { return factories['io.flow.v0.enums.trade_agreement_status'](); };
|
|
13555
13536
|
export var makeTransaction = function () { return factories['io.flow.v0.models.transaction'](); };
|
|
13556
|
-
export var makeTransactionSource = function () { return factories['io.flow.v0.
|
|
13557
|
-
export var makeTransactionSourceType = function () { return factories['io.flow.v0.enums.transaction_source_type'](); };
|
|
13537
|
+
export var makeTransactionSource = function () { return factories['io.flow.v0.enums.transaction_source'](); };
|
|
13558
13538
|
export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
|
|
13559
13539
|
export var makeTransitWindow = function () { return factories['io.flow.v0.models.transit_window'](); };
|
|
13560
13540
|
export var makeUnharmonizedItemExportType = function () { return factories['io.flow.v0.models.unharmonized_item_export_type'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -224,6 +224,8 @@ export declare const makeChannelToken: () => io.flow.v0.models.ChannelToken;
|
|
|
224
224
|
export declare const makeChannelTokenForm: () => io.flow.v0.models.ChannelTokenForm;
|
|
225
225
|
export declare const makeChannelTokenReference: () => io.flow.v0.models.ChannelTokenReference;
|
|
226
226
|
export declare const makeChannelUpserted: () => io.flow.v0.models.ChannelUpserted;
|
|
227
|
+
export declare const makeChannelViesRegistration: () => io.flow.v0.models.ChannelViesRegistration;
|
|
228
|
+
export declare const makeChannelViesRegistrationForm: () => io.flow.v0.models.ChannelViesRegistrationForm;
|
|
227
229
|
export declare const makeCheckoutAttribute: () => io.flow.v0.models.CheckoutAttribute;
|
|
228
230
|
export declare const makeCheckoutAttributeForm: () => io.flow.v0.models.CheckoutAttributeForm;
|
|
229
231
|
export declare const makeCheckoutItemContent: () => io.flow.v0.models.CheckoutItemContent;
|
|
@@ -539,6 +541,7 @@ export declare const makeFtpOrganizationSettings: () => io.flow.v0.models.FtpOrg
|
|
|
539
541
|
export declare const makeFtpOrganizationSettingsForm: () => io.flow.v0.models.FtpOrganizationSettingsForm;
|
|
540
542
|
export declare const makeFtpServer: () => io.flow.v0.models.FtpServer;
|
|
541
543
|
export declare const makeFtpUser: () => io.flow.v0.models.FtpUser;
|
|
544
|
+
export declare const makeFuelSurchargeAmountByWeightServiceFee: () => io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee;
|
|
542
545
|
export declare const makeFuelSurchargeRatecardFee: () => io.flow.v0.models.FuelSurchargeRatecardFee;
|
|
543
546
|
export declare const makeFuelSurchargeServiceFee: () => io.flow.v0.models.FuelSurchargeServiceFee;
|
|
544
547
|
export declare const makeFulfillment: () => io.flow.v0.models.Fulfillment;
|
|
@@ -742,6 +745,8 @@ export declare const makeMembershipForm: () => io.flow.v0.models.MembershipForm;
|
|
|
742
745
|
export declare const makeMembershipPutForm: () => io.flow.v0.models.MembershipPutForm;
|
|
743
746
|
export declare const makeMembershipUpsertedV2: () => io.flow.v0.models.MembershipUpsertedV2;
|
|
744
747
|
export declare const makeMembershipVersion: () => io.flow.v0.models.MembershipVersion;
|
|
748
|
+
export declare const makeMerchantApplication: () => io.flow.v0.models.ShopifyMerchantApplication;
|
|
749
|
+
export declare const makeMerchantApplicationForm: () => io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
745
750
|
export declare const makeMerchantGiftCardBalance: () => io.flow.v0.models.MerchantGiftCardBalance;
|
|
746
751
|
export declare const makeMerchantGiftCardBalanceForm: () => io.flow.v0.models.MerchantGiftCardBalanceForm;
|
|
747
752
|
export declare const makeMerchantGiftCardError: () => io.flow.v0.models.MerchantGiftCardError;
|
|
@@ -1057,7 +1062,8 @@ export declare const makePaymentType: () => io.flow.v0.enums.PaymentType;
|
|
|
1057
1062
|
export declare const makePaymentUpserted: () => io.flow.v0.models.PaymentUpserted;
|
|
1058
1063
|
export declare const makePaymentVersion: () => io.flow.v0.models.PaymentVersion;
|
|
1059
1064
|
export declare const makePayout: () => io.flow.v0.models.Payout;
|
|
1060
|
-
export declare const makePayoutStatus: () => io.flow.v0.
|
|
1065
|
+
export declare const makePayoutStatus: () => io.flow.v0.models.PayoutStatus;
|
|
1066
|
+
export declare const makePayoutStatusCode: () => io.flow.v0.enums.PayoutStatusCode;
|
|
1061
1067
|
export declare const makePaypalAuthorizationDetails: () => io.flow.v0.models.PaypalAuthorizationDetails;
|
|
1062
1068
|
export declare const makePaypalAuthorizationForm: () => io.flow.v0.models.PaypalAuthorizationForm;
|
|
1063
1069
|
export declare const makePeakSurchargeByWeightServiceFee: () => io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
@@ -1066,7 +1072,6 @@ export declare const makePeakSurchargeServiceFee: () => io.flow.v0.models.PeakSu
|
|
|
1066
1072
|
export declare const makePercentMargin: () => io.flow.v0.models.PercentMargin;
|
|
1067
1073
|
export declare const makePermissionAudit: () => io.flow.v0.models.PermissionAudit;
|
|
1068
1074
|
export declare const makePermissionCheck: () => io.flow.v0.models.PermissionCheck;
|
|
1069
|
-
export declare const makePermissionError: () => io.flow.v0.models.PermissionError;
|
|
1070
1075
|
export declare const makePermittedHttpMethod: () => io.flow.v0.enums.PermittedHttpMethod;
|
|
1071
1076
|
export declare const makePermittedRoute: () => io.flow.v0.models.PermittedRoute;
|
|
1072
1077
|
export declare const makePfsInventoryCheckResponse: () => io.flow.v0.models.PfsInventoryCheckResponse;
|
|
@@ -1381,7 +1386,6 @@ export declare const makeSolidusProductExportType: () => io.flow.v0.models.Solid
|
|
|
1381
1386
|
export declare const makeSolidusVariantExportType: () => io.flow.v0.models.SolidusVariantExportType;
|
|
1382
1387
|
export declare const makeSortDirection: () => io.flow.v0.enums.SortDirection;
|
|
1383
1388
|
export declare const makeStatement: () => io.flow.v0.models.Statement;
|
|
1384
|
-
export declare const makeStatementPayout: () => io.flow.v0.models.StatementPayout;
|
|
1385
1389
|
export declare const makeStrategy: () => io.flow.v0.enums.Strategy;
|
|
1386
1390
|
export declare const makeStreetAddress: () => io.flow.v0.models.StreetAddress;
|
|
1387
1391
|
export declare const makeStripeAuthenticationData: () => io.flow.v0.models.StripeAuthenticationData;
|
|
@@ -1503,8 +1507,7 @@ export declare const makeTradeAgreementDuty: () => io.flow.v0.models.TradeAgreem
|
|
|
1503
1507
|
export declare const makeTradeAgreementName: () => io.flow.v0.enums.TradeAgreementName;
|
|
1504
1508
|
export declare const makeTradeAgreementStatus: () => io.flow.v0.enums.TradeAgreementStatus;
|
|
1505
1509
|
export declare const makeTransaction: () => io.flow.v0.models.Transaction;
|
|
1506
|
-
export declare const makeTransactionSource: () => io.flow.v0.
|
|
1507
|
-
export declare const makeTransactionSourceType: () => io.flow.v0.enums.TransactionSourceType;
|
|
1510
|
+
export declare const makeTransactionSource: () => io.flow.v0.enums.TransactionSource;
|
|
1508
1511
|
export declare const makeTransitEstimate: () => io.flow.v0.models.TransitEstimate;
|
|
1509
1512
|
export declare const makeTransitWindow: () => io.flow.v0.models.TransitWindow;
|
|
1510
1513
|
export declare const makeUnharmonizedItemExportType: () => io.flow.v0.models.UnharmonizedItemExportType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
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": "file:../api-types"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "1aad29348ecfd1ba88217a667a4ba4b84b22506c"
|
|
40
40
|
}
|