@flowio/api-factories 0.0.25 → 0.0.27
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 +153 -33
- package/dist/esm/api.js +109 -2
- package/dist/types/api.d.ts +13 -0
- package/package.json +2 -2
- package/src/api.ts +124 -2
package/dist/esm/api.js
CHANGED
|
@@ -2183,6 +2183,8 @@ var factories = {
|
|
|
2183
2183
|
'manifested_label_deleted',
|
|
2184
2184
|
'local_item_upserted',
|
|
2185
2185
|
'local_item_deleted',
|
|
2186
|
+
'merchant_application_upserted',
|
|
2187
|
+
'merchant_application_deleted',
|
|
2186
2188
|
'checkout_optin_responses_upserted',
|
|
2187
2189
|
'checkout_optin_responses_deleted',
|
|
2188
2190
|
'browse_optin_responses_upserted',
|
|
@@ -2714,11 +2716,13 @@ var factories = {
|
|
|
2714
2716
|
'dispute',
|
|
2715
2717
|
'adjustment',
|
|
2716
2718
|
'shipping_label',
|
|
2719
|
+
'shipping_label_service',
|
|
2720
|
+
'shipping_label_revenue_share',
|
|
2717
2721
|
'platform_fee',
|
|
2718
2722
|
'other_adjustment',
|
|
2719
2723
|
'tax_adjustment',
|
|
2720
2724
|
'channel',
|
|
2721
|
-
'
|
|
2725
|
+
'order_service',
|
|
2722
2726
|
'virtual_card_capture',
|
|
2723
2727
|
'virtual_card_refund',
|
|
2724
2728
|
]); },
|
|
@@ -3186,6 +3190,10 @@ var factories = {
|
|
|
3186
3190
|
type: 'adyen_v4',
|
|
3187
3191
|
result: factories.object(),
|
|
3188
3192
|
}); },
|
|
3193
|
+
'io.flow.v0.models.authorization_code': function () { return ({
|
|
3194
|
+
result_code: factories.string(),
|
|
3195
|
+
code: factories.string(),
|
|
3196
|
+
}); },
|
|
3189
3197
|
'io.flow.v0.models.authorization_copy_form': function () { return ({
|
|
3190
3198
|
discriminator: 'authorization_copy_form',
|
|
3191
3199
|
source_authorization_key: factories.string(),
|
|
@@ -3226,6 +3234,7 @@ var factories = {
|
|
|
3226
3234
|
cvv: factories['io.flow.v0.models.cvv'](),
|
|
3227
3235
|
three_d_secure: factories['io.flow.v0.models.three_d_secure'](),
|
|
3228
3236
|
description: factories['io.flow.v0.models.authorization_result_description'](),
|
|
3237
|
+
authorization_code: factories['io.flow.v0.models.authorization_code'](),
|
|
3229
3238
|
}); },
|
|
3230
3239
|
'io.flow.v0.models.authorization_result_action_get': function () { return ({
|
|
3231
3240
|
discriminator: 'authorization_result_action_get',
|
|
@@ -3425,6 +3434,15 @@ var factories = {
|
|
|
3425
3434
|
'io.flow.v0.models.billing_channel_statement_reference': function () { return ({
|
|
3426
3435
|
id: factories.string(),
|
|
3427
3436
|
}); },
|
|
3437
|
+
'io.flow.v0.models.bridge_manifest': function () { return ({
|
|
3438
|
+
id: factories.string(),
|
|
3439
|
+
service: factories['io.flow.v0.models.service_summary'](),
|
|
3440
|
+
pdf: factories.string(),
|
|
3441
|
+
data: factories.string(),
|
|
3442
|
+
}); },
|
|
3443
|
+
'io.flow.v0.models.bridge_manifest_form': function () { return ({
|
|
3444
|
+
order_numbers: arrayOf(function () { return factories.string(); }),
|
|
3445
|
+
}); },
|
|
3428
3446
|
'io.flow.v0.models.browse_optin_responses': function () { return ({
|
|
3429
3447
|
id: factories.string(),
|
|
3430
3448
|
session_id: factories.string(),
|
|
@@ -3944,6 +3962,14 @@ var factories = {
|
|
|
3944
3962
|
'io.flow.v0.models.channel_reference': function () { return ({
|
|
3945
3963
|
id: factories.string(),
|
|
3946
3964
|
}); },
|
|
3965
|
+
'io.flow.v0.models.channel_statement': function () { return ({
|
|
3966
|
+
id: factories.string(),
|
|
3967
|
+
account: factories['io.flow.v0.models.account_reference'](),
|
|
3968
|
+
ending_balance: factories.decimal(),
|
|
3969
|
+
settlement: factories['io.flow.v0.unions.settlement'](),
|
|
3970
|
+
attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
|
|
3971
|
+
created_at: factories.date_time_iso_8601(),
|
|
3972
|
+
}); },
|
|
3947
3973
|
'io.flow.v0.models.channel_token': function () { return ({
|
|
3948
3974
|
discriminator: 'channel_token',
|
|
3949
3975
|
id: factories.string(),
|
|
@@ -3964,6 +3990,19 @@ var factories = {
|
|
|
3964
3990
|
channel: factories['io.flow.v0.models.channel_reference'](),
|
|
3965
3991
|
user: factories['io.flow.v0.models.user_reference'](),
|
|
3966
3992
|
}); },
|
|
3993
|
+
'io.flow.v0.models.channel_transaction': function () { return ({
|
|
3994
|
+
id: factories.string(),
|
|
3995
|
+
order: factories['io.flow.v0.models.billing_channel_order_reference'](),
|
|
3996
|
+
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
3997
|
+
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
3998
|
+
currency: factories.string(),
|
|
3999
|
+
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
4000
|
+
gross: factories.decimal(),
|
|
4001
|
+
fees: arrayOf(function () { return factories['io.flow.v0.models.fee_deduction'](); }),
|
|
4002
|
+
withholdings: arrayOf(function () { return factories['io.flow.v0.models.withholding_deduction'](); }),
|
|
4003
|
+
net: factories.decimal(),
|
|
4004
|
+
created_at: factories.date_time_iso_8601(),
|
|
4005
|
+
}); },
|
|
3967
4006
|
'io.flow.v0.models.channel_upserted': function () { return ({
|
|
3968
4007
|
discriminator: 'channel_upserted',
|
|
3969
4008
|
event_id: factories.string(),
|
|
@@ -4747,6 +4786,7 @@ var factories = {
|
|
|
4747
4786
|
discriminator: 'direct_debit',
|
|
4748
4787
|
routing_number: factories.string(),
|
|
4749
4788
|
last4: factories.string(),
|
|
4789
|
+
additional_data: objectOf(function () { return factories.string(); }),
|
|
4750
4790
|
}); },
|
|
4751
4791
|
'io.flow.v0.models.discount': function () { return ({
|
|
4752
4792
|
discriminator: 'discount',
|
|
@@ -6511,6 +6551,18 @@ var factories = {
|
|
|
6511
6551
|
type: factories['io.flow.v0.enums.change_type'](),
|
|
6512
6552
|
membership: factories['io.flow.v0.models.membership'](),
|
|
6513
6553
|
}); },
|
|
6554
|
+
'io.flow.v0.models.merchant_application_deleted': function () { return ({
|
|
6555
|
+
discriminator: 'merchant_application_deleted',
|
|
6556
|
+
event_id: factories.string(),
|
|
6557
|
+
timestamp: factories.date_time_iso_8601(),
|
|
6558
|
+
merchant_application: factories['io.flow.v0.unions.merchant_application'](),
|
|
6559
|
+
}); },
|
|
6560
|
+
'io.flow.v0.models.merchant_application_upserted': function () { return ({
|
|
6561
|
+
discriminator: 'merchant_application_upserted',
|
|
6562
|
+
event_id: factories.string(),
|
|
6563
|
+
timestamp: factories.date_time_iso_8601(),
|
|
6564
|
+
merchant_application: factories['io.flow.v0.unions.merchant_application'](),
|
|
6565
|
+
}); },
|
|
6514
6566
|
'io.flow.v0.models.merchant_gift_card_balance': function () { return ({
|
|
6515
6567
|
amount: factories.decimal(),
|
|
6516
6568
|
currency: factories.string(),
|
|
@@ -6631,6 +6683,10 @@ var factories = {
|
|
|
6631
6683
|
requested_quantity: factories.long(),
|
|
6632
6684
|
available_quantity: factories.long(),
|
|
6633
6685
|
}); },
|
|
6686
|
+
'io.flow.v0.models.no_payout': function () { return ({
|
|
6687
|
+
discriminator: 'no_payout',
|
|
6688
|
+
placeholder: factories.string(),
|
|
6689
|
+
}); },
|
|
6634
6690
|
'io.flow.v0.models.notification_deleted_v2': function () { return ({
|
|
6635
6691
|
discriminator: 'notification_deleted_v2',
|
|
6636
6692
|
event_id: factories.string(),
|
|
@@ -6663,6 +6719,10 @@ var factories = {
|
|
|
6663
6719
|
minute_of_hour: factories.string(),
|
|
6664
6720
|
timezone: factories.string(),
|
|
6665
6721
|
}); },
|
|
6722
|
+
'io.flow.v0.models.onboarding_organization_reference': function () { return ({
|
|
6723
|
+
id: factories.string(),
|
|
6724
|
+
status: factories['io.flow.v0.enums.organization_status'](),
|
|
6725
|
+
}); },
|
|
6666
6726
|
'io.flow.v0.models.online_authorization': function () { return ({
|
|
6667
6727
|
discriminator: 'online_authorization',
|
|
6668
6728
|
id: factories.string(),
|
|
@@ -8092,6 +8152,7 @@ var factories = {
|
|
|
8092
8152
|
payment: factories['io.flow.v0.unions.payment'](),
|
|
8093
8153
|
}); },
|
|
8094
8154
|
'io.flow.v0.models.payout': function () { return ({
|
|
8155
|
+
discriminator: 'payout',
|
|
8095
8156
|
status: factories['io.flow.v0.models.payout_status'](),
|
|
8096
8157
|
amount: factories.decimal(),
|
|
8097
8158
|
sent_on: factories.date_time_iso_8601(),
|
|
@@ -8105,6 +8166,7 @@ var factories = {
|
|
|
8105
8166
|
payment_id: factories.string(),
|
|
8106
8167
|
payment_method: factories.string(),
|
|
8107
8168
|
payment_state: factories.string(),
|
|
8169
|
+
payer_id: factories.string(),
|
|
8108
8170
|
payer_email: factories.string(),
|
|
8109
8171
|
payer_status: factories.string(),
|
|
8110
8172
|
approval_url: factories.string(),
|
|
@@ -9706,11 +9768,13 @@ var factories = {
|
|
|
9706
9768
|
discriminator: 'shopify_merchant_application',
|
|
9707
9769
|
id: factories.string(),
|
|
9708
9770
|
organization_id: factories.string(),
|
|
9771
|
+
organization_reference: factories['io.flow.v0.models.onboarding_organization_reference'](),
|
|
9709
9772
|
status: factories['io.flow.v0.enums.onboarding_application_status'](),
|
|
9710
9773
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
9711
9774
|
indirect_tax_number: factories.string(),
|
|
9712
9775
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
9713
9776
|
beneficiary: factories.string(),
|
|
9777
|
+
ultimate_beneficiary_owner: factories['io.flow.v0.models.ultimate_beneficiary_owner'](),
|
|
9714
9778
|
business_url: factories.string(),
|
|
9715
9779
|
business_description: factories.string(),
|
|
9716
9780
|
business_address: factories['io.flow.v0.models.address'](),
|
|
@@ -9729,6 +9793,7 @@ var factories = {
|
|
|
9729
9793
|
ratecard: factories['io.flow.v0.models.ratecard_reference'](),
|
|
9730
9794
|
rate_card: factories.string(),
|
|
9731
9795
|
created_at: factories.date_time_iso_8601(),
|
|
9796
|
+
activated_at: factories.date_time_iso_8601(),
|
|
9732
9797
|
}); },
|
|
9733
9798
|
'io.flow.v0.models.shopify_merchant_application_form': function () { return ({
|
|
9734
9799
|
discriminator: 'shopify_merchant_application_form',
|
|
@@ -9736,6 +9801,7 @@ var factories = {
|
|
|
9736
9801
|
indirect_tax_number: factories.string(),
|
|
9737
9802
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
9738
9803
|
beneficiary: factories.string(),
|
|
9804
|
+
ultimate_beneficiary_owner: factories['io.flow.v0.models.ultimate_beneficiary_owner'](),
|
|
9739
9805
|
business_url: factories.string(),
|
|
9740
9806
|
business_description: factories.string(),
|
|
9741
9807
|
business_address: factories['io.flow.v0.models.address'](),
|
|
@@ -9760,6 +9826,10 @@ var factories = {
|
|
|
9760
9826
|
discriminator: 'shopify_merchant_application_put_form',
|
|
9761
9827
|
status: factories['io.flow.v0.enums.onboarding_application_status'](),
|
|
9762
9828
|
}); },
|
|
9829
|
+
'io.flow.v0.models.shopify_merchant_applications_summary': function () { return ({
|
|
9830
|
+
discriminator: 'shopify_merchant_applications_summary',
|
|
9831
|
+
total: factories.long(),
|
|
9832
|
+
}); },
|
|
9763
9833
|
'io.flow.v0.models.shopify_order_attributes_form': function () { return ({
|
|
9764
9834
|
attributes: objectOf(function () { return factories.string(); }),
|
|
9765
9835
|
}); },
|
|
@@ -9868,8 +9938,9 @@ var factories = {
|
|
|
9868
9938
|
id: factories.string(),
|
|
9869
9939
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
9870
9940
|
ending_balance: factories.decimal(),
|
|
9871
|
-
|
|
9941
|
+
settlement: factories['io.flow.v0.unions.settlement'](),
|
|
9872
9942
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
|
|
9943
|
+
created_at: factories.date_time_iso_8601(),
|
|
9873
9944
|
}); },
|
|
9874
9945
|
'io.flow.v0.models.statement_deleted': function () { return ({
|
|
9875
9946
|
discriminator: 'statement_deleted',
|
|
@@ -10185,10 +10256,14 @@ var factories = {
|
|
|
10185
10256
|
location: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
10186
10257
|
scheduled_pickups: arrayOf(function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); }),
|
|
10187
10258
|
operations_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
10259
|
+
center_id: factories.string(),
|
|
10188
10260
|
}); },
|
|
10189
10261
|
'io.flow.v0.models.three_d_secure': function () { return ({
|
|
10190
10262
|
code: factories['io.flow.v0.enums.three_d_secure_code'](),
|
|
10191
10263
|
description: factories.string(),
|
|
10264
|
+
eci: factories.string(),
|
|
10265
|
+
liability_sift: factories.boolean(),
|
|
10266
|
+
version: factories.string(),
|
|
10192
10267
|
}); },
|
|
10193
10268
|
'io.flow.v0.models.threeds_challenge_action_details': function () { return ({
|
|
10194
10269
|
discriminator: 'threeds_challenge_action_details',
|
|
@@ -10494,6 +10569,10 @@ var factories = {
|
|
|
10494
10569
|
from: factories.long(),
|
|
10495
10570
|
to: factories.long(),
|
|
10496
10571
|
}); },
|
|
10572
|
+
'io.flow.v0.models.ultimate_beneficiary_owner': function () { return ({
|
|
10573
|
+
name: factories.string(),
|
|
10574
|
+
dob: factories.date_time_iso_8601(),
|
|
10575
|
+
}); },
|
|
10497
10576
|
'io.flow.v0.models.unharmonized_item_export_type': function () { return ({
|
|
10498
10577
|
discriminator: 'unharmonized_item_export_type',
|
|
10499
10578
|
sort: factories.string(),
|
|
@@ -10990,6 +11069,8 @@ var factories = {
|
|
|
10990
11069
|
function () { return factories['io.flow.v0.models.manifested_label_deleted'](); },
|
|
10991
11070
|
function () { return factories['io.flow.v0.models.local_item_upserted'](); },
|
|
10992
11071
|
function () { return factories['io.flow.v0.models.local_item_deleted'](); },
|
|
11072
|
+
function () { return factories['io.flow.v0.models.merchant_application_upserted'](); },
|
|
11073
|
+
function () { return factories['io.flow.v0.models.merchant_application_deleted'](); },
|
|
10993
11074
|
function () { return factories['io.flow.v0.models.checkout_optin_responses_upserted'](); },
|
|
10994
11075
|
function () { return factories['io.flow.v0.models.checkout_optin_responses_deleted'](); },
|
|
10995
11076
|
function () { return factories['io.flow.v0.models.browse_optin_responses_upserted'](); },
|
|
@@ -11203,6 +11284,12 @@ var factories = {
|
|
|
11203
11284
|
]);
|
|
11204
11285
|
return f();
|
|
11205
11286
|
},
|
|
11287
|
+
'io.flow.v0.unions.merchant_applications_summary': function () {
|
|
11288
|
+
var f = faker.random.arrayElement([
|
|
11289
|
+
function () { return factories['io.flow.v0.models.shopify_merchant_applications_summary'](); },
|
|
11290
|
+
]);
|
|
11291
|
+
return f();
|
|
11292
|
+
},
|
|
11206
11293
|
'io.flow.v0.unions.online_authorization_details': function () {
|
|
11207
11294
|
var f = faker.random.arrayElement([
|
|
11208
11295
|
function () { return factories['io.flow.v0.models.cryptopay_authorization_details'](); },
|
|
@@ -11466,6 +11553,13 @@ var factories = {
|
|
|
11466
11553
|
var f = faker.random.arrayElement([function () { return factories['io.flow.v0.models.organization_session_authorization'](); }]);
|
|
11467
11554
|
return f();
|
|
11468
11555
|
},
|
|
11556
|
+
'io.flow.v0.unions.settlement': function () {
|
|
11557
|
+
var f = faker.random.arrayElement([
|
|
11558
|
+
function () { return factories['io.flow.v0.models.no_payout'](); },
|
|
11559
|
+
function () { return factories['io.flow.v0.models.payout'](); },
|
|
11560
|
+
]);
|
|
11561
|
+
return f();
|
|
11562
|
+
},
|
|
11469
11563
|
'io.flow.v0.unions.shipping_label_form': function () {
|
|
11470
11564
|
var f = faker.random.arrayElement([
|
|
11471
11565
|
function () { return factories['io.flow.v0.models.detailed_shipping_label_form'](); },
|
|
@@ -11629,6 +11723,7 @@ export var makeAuthenticationTechnique = function () { return factories['io.flow
|
|
|
11629
11723
|
export var makeAuthorization = function () { return factories['io.flow.v0.unions.authorization'](); };
|
|
11630
11724
|
export var makeAuthorizationActionResultAdyenV3 = function () { return factories['io.flow.v0.models.authorization_action_result_adyen_v3'](); };
|
|
11631
11725
|
export var makeAuthorizationActionResultAdyenV4 = function () { return factories['io.flow.v0.models.authorization_action_result_adyen_v4'](); };
|
|
11726
|
+
export var makeAuthorizationCode = function () { return factories['io.flow.v0.models.authorization_code'](); };
|
|
11632
11727
|
export var makeAuthorizationCopyForm = function () { return factories['io.flow.v0.models.authorization_copy_form'](); };
|
|
11633
11728
|
export var makeAuthorizationDeclineCode = function () { return factories['io.flow.v0.enums.authorization_decline_code'](); };
|
|
11634
11729
|
export var makeAuthorizationDeletedV2 = function () { return factories['io.flow.v0.models.authorization_deleted_v2'](); };
|
|
@@ -11679,6 +11774,8 @@ export var makeBillingAddress = function () { return factories['io.flow.v0.model
|
|
|
11679
11774
|
export var makeBillingChannelOrderReference = function () { return factories['io.flow.v0.models.billing_channel_order_reference'](); };
|
|
11680
11775
|
export var makeBillingChannelPaymentRequestReference = function () { return factories['io.flow.v0.models.billing_channel_payment_request_reference'](); };
|
|
11681
11776
|
export var makeBillingChannelStatementReference = function () { return factories['io.flow.v0.models.billing_channel_statement_reference'](); };
|
|
11777
|
+
export var makeBridgeManifest = function () { return factories['io.flow.v0.models.bridge_manifest'](); };
|
|
11778
|
+
export var makeBridgeManifestForm = function () { return factories['io.flow.v0.models.bridge_manifest_form'](); };
|
|
11682
11779
|
export var makeBrowseOptinResponses = function () { return factories['io.flow.v0.models.browse_optin_responses'](); };
|
|
11683
11780
|
export var makeBrowseOptinResponsesDeleted = function () { return factories['io.flow.v0.models.browse_optin_responses_deleted'](); };
|
|
11684
11781
|
export var makeBrowseOptinResponsesUpserted = function () { return factories['io.flow.v0.models.browse_optin_responses_upserted'](); };
|
|
@@ -11772,9 +11869,11 @@ export var makeChannelOrganizationPutForm = function () { return factories['io.f
|
|
|
11772
11869
|
export var makeChannelOrganizationUpserted = function () { return factories['io.flow.v0.models.channel_organization_upserted'](); };
|
|
11773
11870
|
export var makeChannelRate = function () { return factories['io.flow.v0.models.channel_rate'](); };
|
|
11774
11871
|
export var makeChannelReference = function () { return factories['io.flow.v0.models.channel_reference'](); };
|
|
11872
|
+
export var makeChannelStatement = function () { return factories['io.flow.v0.models.channel_statement'](); };
|
|
11775
11873
|
export var makeChannelToken = function () { return factories['io.flow.v0.models.channel_token'](); };
|
|
11776
11874
|
export var makeChannelTokenForm = function () { return factories['io.flow.v0.models.channel_token_form'](); };
|
|
11777
11875
|
export var makeChannelTokenReference = function () { return factories['io.flow.v0.models.channel_token_reference'](); };
|
|
11876
|
+
export var makeChannelTransaction = function () { return factories['io.flow.v0.models.channel_transaction'](); };
|
|
11778
11877
|
export var makeChannelUpserted = function () { return factories['io.flow.v0.models.channel_upserted'](); };
|
|
11779
11878
|
export var makeChannelViesRegistration = function () { return factories['io.flow.v0.models.channel_vies_registration'](); };
|
|
11780
11879
|
export var makeChannelViesRegistrationForm = function () { return factories['io.flow.v0.models.channel_vies_registration_form'](); };
|
|
@@ -12298,8 +12397,11 @@ export var makeMembershipPutForm = function () { return factories['io.flow.v0.mo
|
|
|
12298
12397
|
export var makeMembershipUpsertedV2 = function () { return factories['io.flow.v0.models.membership_upserted_v2'](); };
|
|
12299
12398
|
export var makeMembershipVersion = function () { return factories['io.flow.v0.models.membership_version'](); };
|
|
12300
12399
|
export var makeMerchantApplication = function () { return factories['io.flow.v0.unions.merchant_application'](); };
|
|
12400
|
+
export var makeMerchantApplicationDeleted = function () { return factories['io.flow.v0.models.merchant_application_deleted'](); };
|
|
12301
12401
|
export var makeMerchantApplicationForm = function () { return factories['io.flow.v0.unions.merchant_application_form'](); };
|
|
12302
12402
|
export var makeMerchantApplicationPutForm = function () { return factories['io.flow.v0.unions.merchant_application_put_form'](); };
|
|
12403
|
+
export var makeMerchantApplicationUpserted = function () { return factories['io.flow.v0.models.merchant_application_upserted'](); };
|
|
12404
|
+
export var makeMerchantApplicationsSummary = function () { return factories['io.flow.v0.unions.merchant_applications_summary'](); };
|
|
12303
12405
|
export var makeMerchantGiftCardBalance = function () { return factories['io.flow.v0.models.merchant_gift_card_balance'](); };
|
|
12304
12406
|
export var makeMerchantGiftCardBalanceForm = function () { return factories['io.flow.v0.models.merchant_gift_card_balance_form'](); };
|
|
12305
12407
|
export var makeMerchantGiftCardError = function () { return factories['io.flow.v0.models.merchant_gift_card_error'](); };
|
|
@@ -12325,6 +12427,7 @@ export var makeName = function () { return factories['io.flow.v0.models.name']()
|
|
|
12325
12427
|
export var makeNameForm = function () { return factories['io.flow.v0.models.name_form'](); };
|
|
12326
12428
|
export var makeNoInventoryReservationError = function () { return factories['io.flow.v0.models.no_inventory_reservation_error'](); };
|
|
12327
12429
|
export var makeNoInventoryReservationErrorItem = function () { return factories['io.flow.v0.models.no_inventory_reservation_error_item'](); };
|
|
12430
|
+
export var makeNoPayout = function () { return factories['io.flow.v0.models.no_payout'](); };
|
|
12328
12431
|
export var makeNotificationDeletedV2 = function () { return factories['io.flow.v0.models.notification_deleted_v2'](); };
|
|
12329
12432
|
export var makeNotificationUpsertedV2 = function () { return factories['io.flow.v0.models.notification_upserted_v2'](); };
|
|
12330
12433
|
export var makeNumberRange = function () { return factories['io.flow.v0.models.number_range'](); };
|
|
@@ -12332,6 +12435,7 @@ export var makeOnboardingApplicationStatus = function () { return factories['io.
|
|
|
12332
12435
|
export var makeOnboardingMerchantPickupWindow = function () { return factories['io.flow.v0.models.onboarding_merchant_pickup_window'](); };
|
|
12333
12436
|
export var makeOnboardingMerchantScheduledPickup = function () { return factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup'](); };
|
|
12334
12437
|
export var makeOnboardingMerchantTime = function () { return factories['io.flow.v0.models.onboarding_merchant_time'](); };
|
|
12438
|
+
export var makeOnboardingOrganizationReference = function () { return factories['io.flow.v0.models.onboarding_organization_reference'](); };
|
|
12335
12439
|
export var makeOnboardingTradeSector = function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); };
|
|
12336
12440
|
export var makeOnlineAuthorization = function () { return factories['io.flow.v0.models.online_authorization'](); };
|
|
12337
12441
|
export var makeOnlineAuthorizationDeletedV2 = function () { return factories['io.flow.v0.models.online_authorization_deleted_v2'](); };
|
|
@@ -12855,6 +12959,7 @@ export var makeSessionPutForm = function () { return factories['io.flow.v0.model
|
|
|
12855
12959
|
export var makeSessionReference = function () { return factories['io.flow.v0.models.session_reference'](); };
|
|
12856
12960
|
export var makeSessionVisit = function () { return factories['io.flow.v0.models.session_visit'](); };
|
|
12857
12961
|
export var makeSessionVisitor = function () { return factories['io.flow.v0.models.session_visitor'](); };
|
|
12962
|
+
export var makeSettlement = function () { return factories['io.flow.v0.unions.settlement'](); };
|
|
12858
12963
|
export var makeShipmentIntegrationType = function () { return factories['io.flow.v0.enums.shipment_integration_type'](); };
|
|
12859
12964
|
export var makeShipmentRecipient = function () { return factories['io.flow.v0.enums.shipment_recipient'](); };
|
|
12860
12965
|
export var makeShipmentWindow = function () { return factories['io.flow.v0.models.shipment_window'](); };
|
|
@@ -12928,6 +13033,7 @@ export var makeShopifyLocationReference = function () { return factories['io.flo
|
|
|
12928
13033
|
export var makeShopifyMerchantApplication = function () { return factories['io.flow.v0.models.shopify_merchant_application'](); };
|
|
12929
13034
|
export var makeShopifyMerchantApplicationForm = function () { return factories['io.flow.v0.models.shopify_merchant_application_form'](); };
|
|
12930
13035
|
export var makeShopifyMerchantApplicationPutForm = function () { return factories['io.flow.v0.models.shopify_merchant_application_put_form'](); };
|
|
13036
|
+
export var makeShopifyMerchantApplicationsSummary = function () { return factories['io.flow.v0.models.shopify_merchant_applications_summary'](); };
|
|
12931
13037
|
export var makeShopifyOrderAttributesForm = function () { return factories['io.flow.v0.models.shopify_order_attributes_form'](); };
|
|
12932
13038
|
export var makeShopifyOrderDeliveryMetafield = function () { return factories['io.flow.v0.models.shopify_order_delivery_metafield'](); };
|
|
12933
13039
|
export var makeShopifyOrderDeliveryMetafieldItem = function () { return factories['io.flow.v0.models.shopify_order_delivery_metafield_item'](); };
|
|
@@ -13076,6 +13182,7 @@ export var makeTransactionSource = function () { return factories['io.flow.v0.en
|
|
|
13076
13182
|
export var makeTransactionUpserted = function () { return factories['io.flow.v0.models.transaction_upserted'](); };
|
|
13077
13183
|
export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
|
|
13078
13184
|
export var makeTransitWindow = function () { return factories['io.flow.v0.models.transit_window'](); };
|
|
13185
|
+
export var makeUltimateBeneficiaryOwner = function () { return factories['io.flow.v0.models.ultimate_beneficiary_owner'](); };
|
|
13079
13186
|
export var makeUnharmonizedItemExportType = function () { return factories['io.flow.v0.models.unharmonized_item_export_type'](); };
|
|
13080
13187
|
export var makeUnitOfMeasurement = function () { return factories['io.flow.v0.enums.unit_of_measurement'](); };
|
|
13081
13188
|
export var makeUnitOfTime = function () { return factories['io.flow.v0.enums.unit_of_time'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ export declare const makeAuthenticationTechnique: () => io.flow.v0.enums.Authent
|
|
|
80
80
|
export declare const makeAuthorization: () => io.flow.v0.unions.Authorization;
|
|
81
81
|
export declare const makeAuthorizationActionResultAdyenV3: () => io.flow.v0.models.AuthorizationActionResultAdyenV3;
|
|
82
82
|
export declare const makeAuthorizationActionResultAdyenV4: () => io.flow.v0.models.AuthorizationActionResultAdyenV4;
|
|
83
|
+
export declare const makeAuthorizationCode: () => io.flow.v0.models.AuthorizationCode;
|
|
83
84
|
export declare const makeAuthorizationCopyForm: () => io.flow.v0.models.AuthorizationCopyForm;
|
|
84
85
|
export declare const makeAuthorizationDeclineCode: () => io.flow.v0.enums.AuthorizationDeclineCode;
|
|
85
86
|
export declare const makeAuthorizationDeletedV2: () => io.flow.v0.models.AuthorizationDeletedV2;
|
|
@@ -130,6 +131,8 @@ export declare const makeBillingAddress: () => io.flow.v0.models.BillingAddress;
|
|
|
130
131
|
export declare const makeBillingChannelOrderReference: () => io.flow.v0.models.BillingChannelOrderReference;
|
|
131
132
|
export declare const makeBillingChannelPaymentRequestReference: () => io.flow.v0.models.BillingChannelPaymentRequestReference;
|
|
132
133
|
export declare const makeBillingChannelStatementReference: () => io.flow.v0.models.BillingChannelStatementReference;
|
|
134
|
+
export declare const makeBridgeManifest: () => io.flow.v0.models.BridgeManifest;
|
|
135
|
+
export declare const makeBridgeManifestForm: () => io.flow.v0.models.BridgeManifestForm;
|
|
133
136
|
export declare const makeBrowseOptinResponses: () => io.flow.v0.models.BrowseOptinResponses;
|
|
134
137
|
export declare const makeBrowseOptinResponsesDeleted: () => io.flow.v0.models.BrowseOptinResponsesDeleted;
|
|
135
138
|
export declare const makeBrowseOptinResponsesUpserted: () => io.flow.v0.models.BrowseOptinResponsesUpserted;
|
|
@@ -223,9 +226,11 @@ export declare const makeChannelOrganizationPutForm: () => io.flow.v0.models.Cha
|
|
|
223
226
|
export declare const makeChannelOrganizationUpserted: () => io.flow.v0.models.ChannelOrganizationUpserted;
|
|
224
227
|
export declare const makeChannelRate: () => io.flow.v0.models.ChannelRate;
|
|
225
228
|
export declare const makeChannelReference: () => io.flow.v0.models.ChannelReference;
|
|
229
|
+
export declare const makeChannelStatement: () => io.flow.v0.models.ChannelStatement;
|
|
226
230
|
export declare const makeChannelToken: () => io.flow.v0.models.ChannelToken;
|
|
227
231
|
export declare const makeChannelTokenForm: () => io.flow.v0.models.ChannelTokenForm;
|
|
228
232
|
export declare const makeChannelTokenReference: () => io.flow.v0.models.ChannelTokenReference;
|
|
233
|
+
export declare const makeChannelTransaction: () => io.flow.v0.models.ChannelTransaction;
|
|
229
234
|
export declare const makeChannelUpserted: () => io.flow.v0.models.ChannelUpserted;
|
|
230
235
|
export declare const makeChannelViesRegistration: () => io.flow.v0.models.ChannelViesRegistration;
|
|
231
236
|
export declare const makeChannelViesRegistrationForm: () => io.flow.v0.models.ChannelViesRegistrationForm;
|
|
@@ -749,8 +754,11 @@ export declare const makeMembershipPutForm: () => io.flow.v0.models.MembershipPu
|
|
|
749
754
|
export declare const makeMembershipUpsertedV2: () => io.flow.v0.models.MembershipUpsertedV2;
|
|
750
755
|
export declare const makeMembershipVersion: () => io.flow.v0.models.MembershipVersion;
|
|
751
756
|
export declare const makeMerchantApplication: () => io.flow.v0.models.ShopifyMerchantApplication;
|
|
757
|
+
export declare const makeMerchantApplicationDeleted: () => io.flow.v0.models.MerchantApplicationDeleted;
|
|
752
758
|
export declare const makeMerchantApplicationForm: () => io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
753
759
|
export declare const makeMerchantApplicationPutForm: () => io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
760
|
+
export declare const makeMerchantApplicationUpserted: () => io.flow.v0.models.MerchantApplicationUpserted;
|
|
761
|
+
export declare const makeMerchantApplicationsSummary: () => io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
754
762
|
export declare const makeMerchantGiftCardBalance: () => io.flow.v0.models.MerchantGiftCardBalance;
|
|
755
763
|
export declare const makeMerchantGiftCardBalanceForm: () => io.flow.v0.models.MerchantGiftCardBalanceForm;
|
|
756
764
|
export declare const makeMerchantGiftCardError: () => io.flow.v0.models.MerchantGiftCardError;
|
|
@@ -776,6 +784,7 @@ export declare const makeName: () => io.flow.v0.models.Name;
|
|
|
776
784
|
export declare const makeNameForm: () => io.flow.v0.models.NameForm;
|
|
777
785
|
export declare const makeNoInventoryReservationError: () => io.flow.v0.models.NoInventoryReservationError;
|
|
778
786
|
export declare const makeNoInventoryReservationErrorItem: () => io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
787
|
+
export declare const makeNoPayout: () => io.flow.v0.models.NoPayout;
|
|
779
788
|
export declare const makeNotificationDeletedV2: () => io.flow.v0.models.NotificationDeletedV2;
|
|
780
789
|
export declare const makeNotificationUpsertedV2: () => io.flow.v0.models.NotificationUpsertedV2;
|
|
781
790
|
export declare const makeNumberRange: () => io.flow.v0.models.NumberRange;
|
|
@@ -783,6 +792,7 @@ export declare const makeOnboardingApplicationStatus: () => io.flow.v0.enums.Onb
|
|
|
783
792
|
export declare const makeOnboardingMerchantPickupWindow: () => io.flow.v0.models.OnboardingMerchantPickupWindow;
|
|
784
793
|
export declare const makeOnboardingMerchantScheduledPickup: () => io.flow.v0.models.OnboardingMerchantScheduledPickup;
|
|
785
794
|
export declare const makeOnboardingMerchantTime: () => io.flow.v0.models.OnboardingMerchantTime;
|
|
795
|
+
export declare const makeOnboardingOrganizationReference: () => io.flow.v0.models.OnboardingOrganizationReference;
|
|
786
796
|
export declare const makeOnboardingTradeSector: () => io.flow.v0.enums.OnboardingTradeSector;
|
|
787
797
|
export declare const makeOnlineAuthorization: () => io.flow.v0.models.OnlineAuthorization;
|
|
788
798
|
export declare const makeOnlineAuthorizationDeletedV2: () => io.flow.v0.models.OnlineAuthorizationDeletedV2;
|
|
@@ -1306,6 +1316,7 @@ export declare const makeSessionPutForm: () => io.flow.v0.models.SessionPutForm;
|
|
|
1306
1316
|
export declare const makeSessionReference: () => io.flow.v0.models.SessionReference;
|
|
1307
1317
|
export declare const makeSessionVisit: () => io.flow.v0.models.SessionVisit;
|
|
1308
1318
|
export declare const makeSessionVisitor: () => io.flow.v0.models.SessionVisitor;
|
|
1319
|
+
export declare const makeSettlement: () => io.flow.v0.unions.Settlement;
|
|
1309
1320
|
export declare const makeShipmentIntegrationType: () => io.flow.v0.enums.ShipmentIntegrationType;
|
|
1310
1321
|
export declare const makeShipmentRecipient: () => io.flow.v0.enums.ShipmentRecipient;
|
|
1311
1322
|
export declare const makeShipmentWindow: () => io.flow.v0.models.ShipmentWindow;
|
|
@@ -1379,6 +1390,7 @@ export declare const makeShopifyLocationReference: () => io.flow.v0.models.Shopi
|
|
|
1379
1390
|
export declare const makeShopifyMerchantApplication: () => io.flow.v0.models.ShopifyMerchantApplication;
|
|
1380
1391
|
export declare const makeShopifyMerchantApplicationForm: () => io.flow.v0.models.ShopifyMerchantApplicationForm;
|
|
1381
1392
|
export declare const makeShopifyMerchantApplicationPutForm: () => io.flow.v0.models.ShopifyMerchantApplicationPutForm;
|
|
1393
|
+
export declare const makeShopifyMerchantApplicationsSummary: () => io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
1382
1394
|
export declare const makeShopifyOrderAttributesForm: () => io.flow.v0.models.ShopifyOrderAttributesForm;
|
|
1383
1395
|
export declare const makeShopifyOrderDeliveryMetafield: () => io.flow.v0.models.ShopifyOrderDeliveryMetafield;
|
|
1384
1396
|
export declare const makeShopifyOrderDeliveryMetafieldItem: () => io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem;
|
|
@@ -1527,6 +1539,7 @@ export declare const makeTransactionSource: () => io.flow.v0.enums.TransactionSo
|
|
|
1527
1539
|
export declare const makeTransactionUpserted: () => io.flow.v0.models.TransactionUpserted;
|
|
1528
1540
|
export declare const makeTransitEstimate: () => io.flow.v0.models.TransitEstimate;
|
|
1529
1541
|
export declare const makeTransitWindow: () => io.flow.v0.models.TransitWindow;
|
|
1542
|
+
export declare const makeUltimateBeneficiaryOwner: () => io.flow.v0.models.UltimateBeneficiaryOwner;
|
|
1530
1543
|
export declare const makeUnharmonizedItemExportType: () => io.flow.v0.models.UnharmonizedItemExportType;
|
|
1531
1544
|
export declare const makeUnitOfMeasurement: () => io.flow.v0.enums.UnitOfMeasurement;
|
|
1532
1545
|
export declare const makeUnitOfTime: () => io.flow.v0.enums.UnitOfTime;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
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": "f35925cb8986e0716d9dcdec6be43879dd1d3c0d"
|
|
40
40
|
}
|