@flowio/api-factories 0.0.13 → 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 +85 -136
- package/dist/esm/api.js +52 -101
- package/dist/types/api.d.ts +8 -9
- package/package.json +2 -2
- package/src/api.ts +58 -120
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,6 +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']); },
|
|
3318
|
+
'io.flow.v0.enums.transaction_source': function () { return faker.random.arrayElement(['capture', 'refund', 'dispute', 'adjustment', 'shipping_label']); },
|
|
3367
3319
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.random.arrayElement([
|
|
3368
3320
|
'millimeter',
|
|
3369
3321
|
'centimeter',
|
|
@@ -4598,6 +4550,21 @@ var factories = {
|
|
|
4598
4550
|
timestamp: factories.date_time_iso_8601(),
|
|
4599
4551
|
channel: factories['io.flow.channel.internal.v0.models.channel'](),
|
|
4600
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
|
+
}); },
|
|
4601
4568
|
'io.flow.v0.models.checkout_attribute': function () { return ({
|
|
4602
4569
|
id: factories.string(),
|
|
4603
4570
|
experience: factories['io.flow.v0.models.experience_reference'](),
|
|
@@ -6041,6 +6008,14 @@ var factories = {
|
|
|
6041
6008
|
username: factories.string(),
|
|
6042
6009
|
password: factories.string(),
|
|
6043
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
|
+
}); },
|
|
6044
6019
|
'io.flow.v0.models.fuel_surcharge_ratecard_fee': function () { return ({
|
|
6045
6020
|
discriminator: 'fuel_surcharge_ratecard_fee',
|
|
6046
6021
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -8669,9 +8644,14 @@ var factories = {
|
|
|
8669
8644
|
payment: factories['io.flow.v0.unions.payment'](),
|
|
8670
8645
|
}); },
|
|
8671
8646
|
'io.flow.v0.models.payout': function () { return ({
|
|
8647
|
+
status: factories['io.flow.v0.models.payout_status'](),
|
|
8672
8648
|
amount: factories.decimal(),
|
|
8673
8649
|
sent_on: factories.date_time_iso_8601(),
|
|
8674
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
|
+
}); },
|
|
8675
8655
|
'io.flow.v0.models.paypal_authorization_details': function () { return ({
|
|
8676
8656
|
discriminator: 'paypal_authorization_details',
|
|
8677
8657
|
payment_id: factories.string(),
|
|
@@ -8724,12 +8704,6 @@ var factories = {
|
|
|
8724
8704
|
behaviors: arrayOf(function () { return factories['io.flow.v0.enums.flow_behavior'](); }),
|
|
8725
8705
|
routes: arrayOf(function () { return factories['io.flow.v0.models.permitted_route'](); }),
|
|
8726
8706
|
}); },
|
|
8727
|
-
'io.flow.v0.models.permission_error': function () { return ({
|
|
8728
|
-
code: factories['io.flow.v0.enums.generic_error_code'](),
|
|
8729
|
-
messages: arrayOf(function () { return factories.string(); }),
|
|
8730
|
-
granting_roles: arrayOf(function () { return factories['io.flow.v0.enums.flow_role'](); }),
|
|
8731
|
-
admin_users: arrayOf(function () { return factories['io.flow.v0.models.user'](); }),
|
|
8732
|
-
}); },
|
|
8733
8707
|
'io.flow.v0.models.permitted_route': function () { return ({
|
|
8734
8708
|
method: factories['io.flow.v0.enums.permitted_http_method'](),
|
|
8735
8709
|
path: factories.string(),
|
|
@@ -10261,6 +10235,7 @@ var factories = {
|
|
|
10261
10235
|
id: factories.string(),
|
|
10262
10236
|
}); },
|
|
10263
10237
|
'io.flow.v0.models.shopify_merchant_application': function () { return ({
|
|
10238
|
+
discriminator: 'shopify_merchant_application',
|
|
10264
10239
|
id: factories.string(),
|
|
10265
10240
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
10266
10241
|
indirect_tax_number: factories.string(),
|
|
@@ -10285,6 +10260,7 @@ var factories = {
|
|
|
10285
10260
|
created_at: factories.date_time_iso_8601(),
|
|
10286
10261
|
}); },
|
|
10287
10262
|
'io.flow.v0.models.shopify_merchant_application_form': function () { return ({
|
|
10263
|
+
discriminator: 'shopify_merchant_application_form',
|
|
10288
10264
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
10289
10265
|
indirect_tax_number: factories.string(),
|
|
10290
10266
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
@@ -10415,13 +10391,9 @@ var factories = {
|
|
|
10415
10391
|
'io.flow.v0.models.statement': function () { return ({
|
|
10416
10392
|
id: factories.string(),
|
|
10417
10393
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
10418
|
-
|
|
10394
|
+
payouts: arrayOf(function () { return factories['io.flow.v0.models.payout'](); }),
|
|
10419
10395
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
|
|
10420
10396
|
}); },
|
|
10421
|
-
'io.flow.v0.models.statement_payout': function () { return ({
|
|
10422
|
-
status: factories['io.flow.v0.enums.payout_status'](),
|
|
10423
|
-
payout: factories['io.flow.v0.models.payout'](),
|
|
10424
|
-
}); },
|
|
10425
10397
|
'io.flow.v0.models.street_address': function () { return ({
|
|
10426
10398
|
streets: arrayOf(function () { return factories.string(); }),
|
|
10427
10399
|
city: factories.string(),
|
|
@@ -10992,37 +10964,18 @@ var factories = {
|
|
|
10992
10964
|
}); },
|
|
10993
10965
|
'io.flow.v0.models.transaction': function () { return ({
|
|
10994
10966
|
id: factories.string(),
|
|
10967
|
+
shopify_transaction_id: factories.string(),
|
|
10995
10968
|
order: factories['io.flow.v0.models.billing_channel_order_reference'](),
|
|
10996
10969
|
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
10997
10970
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
10998
10971
|
currency: factories.string(),
|
|
10999
|
-
source: factories['io.flow.v0.
|
|
10972
|
+
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
11000
10973
|
gross: factories.decimal(),
|
|
11001
10974
|
fees: arrayOf(function () { return factories['io.flow.v0.models.deduction'](); }),
|
|
11002
10975
|
withholdings: arrayOf(function () { return factories['io.flow.v0.models.deduction'](); }),
|
|
11003
10976
|
net: factories.decimal(),
|
|
11004
10977
|
created_at: factories.date_time_iso_8601(),
|
|
11005
10978
|
}); },
|
|
11006
|
-
'io.flow.v0.models.transaction_source_adjustment': function () { return ({
|
|
11007
|
-
discriminator: 'transaction_source_adjustment',
|
|
11008
|
-
id: factories.string(),
|
|
11009
|
-
}); },
|
|
11010
|
-
'io.flow.v0.models.transaction_source_capture': function () { return ({
|
|
11011
|
-
discriminator: 'transaction_source_capture',
|
|
11012
|
-
id: factories.string(),
|
|
11013
|
-
}); },
|
|
11014
|
-
'io.flow.v0.models.transaction_source_dispute': function () { return ({
|
|
11015
|
-
discriminator: 'transaction_source_dispute',
|
|
11016
|
-
id: factories.string(),
|
|
11017
|
-
}); },
|
|
11018
|
-
'io.flow.v0.models.transaction_source_refund': function () { return ({
|
|
11019
|
-
discriminator: 'transaction_source_refund',
|
|
11020
|
-
id: factories.string(),
|
|
11021
|
-
}); },
|
|
11022
|
-
'io.flow.v0.models.transaction_source_shipping_label': function () { return ({
|
|
11023
|
-
discriminator: 'transaction_source_shipping_label',
|
|
11024
|
-
id: factories.string(),
|
|
11025
|
-
}); },
|
|
11026
10979
|
'io.flow.v0.models.transit_estimate': function () { return ({
|
|
11027
10980
|
origin: factories['io.flow.v0.enums.delivery_window_location'](),
|
|
11028
10981
|
destination: factories['io.flow.v0.enums.delivery_window_location'](),
|
|
@@ -11720,6 +11673,14 @@ var factories = {
|
|
|
11720
11673
|
]);
|
|
11721
11674
|
return f();
|
|
11722
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
|
+
},
|
|
11723
11684
|
'io.flow.v0.unions.online_authorization_details': function () {
|
|
11724
11685
|
var f = faker.random.arrayElement([
|
|
11725
11686
|
function () { return factories['io.flow.v0.models.cryptopay_authorization_details'](); },
|
|
@@ -11966,6 +11927,7 @@ var factories = {
|
|
|
11966
11927
|
'io.flow.v0.unions.service_fee': function () {
|
|
11967
11928
|
var f = faker.random.arrayElement([
|
|
11968
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'](); },
|
|
11969
11931
|
function () { return factories['io.flow.v0.models.remote_area_service_fee'](); },
|
|
11970
11932
|
function () { return factories['io.flow.v0.models.emergency_situation_surcharge_service_fee'](); },
|
|
11971
11933
|
function () { return factories['io.flow.v0.models.peak_surcharge_service_fee'](); },
|
|
@@ -12063,16 +12025,6 @@ var factories = {
|
|
|
12063
12025
|
]);
|
|
12064
12026
|
return f();
|
|
12065
12027
|
},
|
|
12066
|
-
'io.flow.v0.unions.transaction_source': function () {
|
|
12067
|
-
var f = faker.random.arrayElement([
|
|
12068
|
-
function () { return factories['io.flow.v0.models.transaction_source_capture'](); },
|
|
12069
|
-
function () { return factories['io.flow.v0.models.transaction_source_refund'](); },
|
|
12070
|
-
function () { return factories['io.flow.v0.models.transaction_source_dispute'](); },
|
|
12071
|
-
function () { return factories['io.flow.v0.models.transaction_source_adjustment'](); },
|
|
12072
|
-
function () { return factories['io.flow.v0.models.transaction_source_shipping_label'](); },
|
|
12073
|
-
]);
|
|
12074
|
-
return f();
|
|
12075
|
-
},
|
|
12076
12028
|
};
|
|
12077
12029
|
export var makeAbandonedOrderEmailSettings = function () { return factories['io.flow.v0.models.abandoned_order_email_settings'](); };
|
|
12078
12030
|
export var makeAbandonedOrderPromotion = function () { return factories['io.flow.v0.models.abandoned_order_promotion'](); };
|
|
@@ -12299,6 +12251,8 @@ export var makeChannelToken = function () { return factories['io.flow.v0.models.
|
|
|
12299
12251
|
export var makeChannelTokenForm = function () { return factories['io.flow.v0.models.channel_token_form'](); };
|
|
12300
12252
|
export var makeChannelTokenReference = function () { return factories['io.flow.v0.models.channel_token_reference'](); };
|
|
12301
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'](); };
|
|
12302
12256
|
export var makeCheckoutAttribute = function () { return factories['io.flow.v0.models.checkout_attribute'](); };
|
|
12303
12257
|
export var makeCheckoutAttributeForm = function () { return factories['io.flow.v0.models.checkout_attribute_form'](); };
|
|
12304
12258
|
export var makeCheckoutItemContent = function () { return factories['io.flow.v0.models.checkout_item_content'](); };
|
|
@@ -12614,6 +12568,7 @@ export var makeFtpOrganizationSettings = function () { return factories['io.flow
|
|
|
12614
12568
|
export var makeFtpOrganizationSettingsForm = function () { return factories['io.flow.v0.models.ftp_organization_settings_form'](); };
|
|
12615
12569
|
export var makeFtpServer = function () { return factories['io.flow.v0.models.ftp_server'](); };
|
|
12616
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'](); };
|
|
12617
12572
|
export var makeFuelSurchargeRatecardFee = function () { return factories['io.flow.v0.models.fuel_surcharge_ratecard_fee'](); };
|
|
12618
12573
|
export var makeFuelSurchargeServiceFee = function () { return factories['io.flow.v0.models.fuel_surcharge_service_fee'](); };
|
|
12619
12574
|
export var makeFulfillment = function () { return factories['io.flow.v0.models.fulfillment'](); };
|
|
@@ -12817,6 +12772,8 @@ export var makeMembershipForm = function () { return factories['io.flow.v0.model
|
|
|
12817
12772
|
export var makeMembershipPutForm = function () { return factories['io.flow.v0.models.membership_put_form'](); };
|
|
12818
12773
|
export var makeMembershipUpsertedV2 = function () { return factories['io.flow.v0.models.membership_upserted_v2'](); };
|
|
12819
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'](); };
|
|
12820
12777
|
export var makeMerchantGiftCardBalance = function () { return factories['io.flow.v0.models.merchant_gift_card_balance'](); };
|
|
12821
12778
|
export var makeMerchantGiftCardBalanceForm = function () { return factories['io.flow.v0.models.merchant_gift_card_balance_form'](); };
|
|
12822
12779
|
export var makeMerchantGiftCardError = function () { return factories['io.flow.v0.models.merchant_gift_card_error'](); };
|
|
@@ -13132,7 +13089,8 @@ export var makePaymentType = function () { return factories['io.flow.v0.enums.pa
|
|
|
13132
13089
|
export var makePaymentUpserted = function () { return factories['io.flow.v0.models.payment_upserted'](); };
|
|
13133
13090
|
export var makePaymentVersion = function () { return factories['io.flow.v0.models.payment_version'](); };
|
|
13134
13091
|
export var makePayout = function () { return factories['io.flow.v0.models.payout'](); };
|
|
13135
|
-
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'](); };
|
|
13136
13094
|
export var makePaypalAuthorizationDetails = function () { return factories['io.flow.v0.models.paypal_authorization_details'](); };
|
|
13137
13095
|
export var makePaypalAuthorizationForm = function () { return factories['io.flow.v0.models.paypal_authorization_form'](); };
|
|
13138
13096
|
export var makePeakSurchargeByWeightServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); };
|
|
@@ -13141,7 +13099,6 @@ export var makePeakSurchargeServiceFee = function () { return factories['io.flow
|
|
|
13141
13099
|
export var makePercentMargin = function () { return factories['io.flow.v0.models.percent_margin'](); };
|
|
13142
13100
|
export var makePermissionAudit = function () { return factories['io.flow.v0.models.permission_audit'](); };
|
|
13143
13101
|
export var makePermissionCheck = function () { return factories['io.flow.v0.models.permission_check'](); };
|
|
13144
|
-
export var makePermissionError = function () { return factories['io.flow.v0.models.permission_error'](); };
|
|
13145
13102
|
export var makePermittedHttpMethod = function () { return factories['io.flow.v0.enums.permitted_http_method'](); };
|
|
13146
13103
|
export var makePermittedRoute = function () { return factories['io.flow.v0.models.permitted_route'](); };
|
|
13147
13104
|
export var makePfsInventoryCheckResponse = function () { return factories['io.flow.v0.models.pfs_inventory_check_response'](); };
|
|
@@ -13456,7 +13413,6 @@ export var makeSolidusProductExportType = function () { return factories['io.flo
|
|
|
13456
13413
|
export var makeSolidusVariantExportType = function () { return factories['io.flow.v0.models.solidus_variant_export_type'](); };
|
|
13457
13414
|
export var makeSortDirection = function () { return factories['io.flow.v0.enums.sort_direction'](); };
|
|
13458
13415
|
export var makeStatement = function () { return factories['io.flow.v0.models.statement'](); };
|
|
13459
|
-
export var makeStatementPayout = function () { return factories['io.flow.v0.models.statement_payout'](); };
|
|
13460
13416
|
export var makeStrategy = function () { return factories['io.flow.v0.enums.strategy'](); };
|
|
13461
13417
|
export var makeStreetAddress = function () { return factories['io.flow.v0.models.street_address'](); };
|
|
13462
13418
|
export var makeStripeAuthenticationData = function () { return factories['io.flow.v0.models.stripe_authentication_data'](); };
|
|
@@ -13578,12 +13534,7 @@ export var makeTradeAgreementDuty = function () { return factories['io.flow.v0.m
|
|
|
13578
13534
|
export var makeTradeAgreementName = function () { return factories['io.flow.v0.enums.trade_agreement_name'](); };
|
|
13579
13535
|
export var makeTradeAgreementStatus = function () { return factories['io.flow.v0.enums.trade_agreement_status'](); };
|
|
13580
13536
|
export var makeTransaction = function () { return factories['io.flow.v0.models.transaction'](); };
|
|
13581
|
-
export var makeTransactionSource = function () { return factories['io.flow.v0.
|
|
13582
|
-
export var makeTransactionSourceAdjustment = function () { return factories['io.flow.v0.models.transaction_source_adjustment'](); };
|
|
13583
|
-
export var makeTransactionSourceCapture = function () { return factories['io.flow.v0.models.transaction_source_capture'](); };
|
|
13584
|
-
export var makeTransactionSourceDispute = function () { return factories['io.flow.v0.models.transaction_source_dispute'](); };
|
|
13585
|
-
export var makeTransactionSourceRefund = function () { return factories['io.flow.v0.models.transaction_source_refund'](); };
|
|
13586
|
-
export var makeTransactionSourceShippingLabel = function () { return factories['io.flow.v0.models.transaction_source_shipping_label'](); };
|
|
13537
|
+
export var makeTransactionSource = function () { return factories['io.flow.v0.enums.transaction_source'](); };
|
|
13587
13538
|
export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
|
|
13588
13539
|
export var makeTransitWindow = function () { return factories['io.flow.v0.models.transit_window'](); };
|
|
13589
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,12 +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 makeTransactionSourceAdjustment: () => io.flow.v0.models.TransactionSourceAdjustment;
|
|
1508
|
-
export declare const makeTransactionSourceCapture: () => io.flow.v0.models.TransactionSourceCapture;
|
|
1509
|
-
export declare const makeTransactionSourceDispute: () => io.flow.v0.models.TransactionSourceDispute;
|
|
1510
|
-
export declare const makeTransactionSourceRefund: () => io.flow.v0.models.TransactionSourceRefund;
|
|
1511
|
-
export declare const makeTransactionSourceShippingLabel: () => io.flow.v0.models.TransactionSourceShippingLabel;
|
|
1510
|
+
export declare const makeTransactionSource: () => io.flow.v0.enums.TransactionSource;
|
|
1512
1511
|
export declare const makeTransitEstimate: () => io.flow.v0.models.TransitEstimate;
|
|
1513
1512
|
export declare const makeTransitWindow: () => io.flow.v0.models.TransitWindow;
|
|
1514
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
|
}
|