@flowio/api-factories 0.0.5 → 0.0.7
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 +100 -164
- package/dist/esm/api.js +69 -124
- package/dist/types/api.d.ts +4 -13
- package/package.json +2 -2
- package/src/api.ts +72 -136
package/dist/esm/api.js
CHANGED
|
@@ -3137,6 +3137,7 @@ var factories = {
|
|
|
3137
3137
|
'redirect',
|
|
3138
3138
|
'redirect_get',
|
|
3139
3139
|
'redirect_post',
|
|
3140
|
+
'ideal_select_issuer',
|
|
3140
3141
|
'use_sdk_klarna_v1',
|
|
3141
3142
|
'use_sdk_applepay_js',
|
|
3142
3143
|
'use_sdk_googlepay',
|
|
@@ -3252,6 +3253,7 @@ var factories = {
|
|
|
3252
3253
|
'io.flow.v0.enums.ratecard_owner': function () { return faker.random.arrayElement(['flow', 'organization']); },
|
|
3253
3254
|
'io.flow.v0.enums.refund_decline_code': function () { return faker.random.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
3254
3255
|
'io.flow.v0.enums.refund_status': function () { return faker.random.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
|
|
3256
|
+
'io.flow.v0.enums.region_type': function () { return faker.random.arrayElement(['state', 'province', 'jurisdiction']); },
|
|
3255
3257
|
'io.flow.v0.enums.return_item_status': function () { return faker.random.arrayElement(['returnable', 'non-returnable']); },
|
|
3256
3258
|
'io.flow.v0.enums.return_policy_state': function () { return faker.random.arrayElement(['current', 'deleting', 'updating']); },
|
|
3257
3259
|
'io.flow.v0.enums.return_status': function () { return faker.random.arrayElement(['open', 'refunded']); },
|
|
@@ -3355,7 +3357,6 @@ var factories = {
|
|
|
3355
3357
|
]); },
|
|
3356
3358
|
'io.flow.v0.enums.trade_agreement_name': function () { return faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
|
|
3357
3359
|
'io.flow.v0.enums.trade_agreement_status': function () { return faker.random.arrayElement(['supported', 'not_supported']); },
|
|
3358
|
-
'io.flow.v0.enums.uncertain_boolean': function () { return faker.random.arrayElement(['yes', 'no', 'i_dont_know']); },
|
|
3359
3360
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.random.arrayElement([
|
|
3360
3361
|
'millimeter',
|
|
3361
3362
|
'centimeter',
|
|
@@ -3479,6 +3480,7 @@ var factories = {
|
|
|
3479
3480
|
}); },
|
|
3480
3481
|
'io.flow.v0.models.action_ideal_select_issuer': function () { return ({
|
|
3481
3482
|
type: 'select_ideal_issuer',
|
|
3483
|
+
expires_at: factories.date_time_iso_8601(),
|
|
3482
3484
|
issuers: arrayOf(function () { return factories['io.flow.v0.models.ideal_issuer'](); }),
|
|
3483
3485
|
}); },
|
|
3484
3486
|
'io.flow.v0.models.action_redirect': function () { return ({
|
|
@@ -4507,6 +4509,56 @@ var factories = {
|
|
|
4507
4509
|
defaults: factories['io.flow.v0.models.organization_defaults'](),
|
|
4508
4510
|
attributes: objectOf(function () { return factories.string(); }),
|
|
4509
4511
|
}); },
|
|
4512
|
+
'io.flow.v0.models.channel_organization_application': function () { return ({
|
|
4513
|
+
id: factories.string(),
|
|
4514
|
+
organization: factories['io.flow.v0.models.organization_summary'](),
|
|
4515
|
+
company: factories['io.flow.v0.models.merchant_info'](),
|
|
4516
|
+
indirect_tax_number: factories.long(),
|
|
4517
|
+
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
4518
|
+
beneficiary: factories.string(),
|
|
4519
|
+
business_url: factories.string(),
|
|
4520
|
+
business_description: factories.string(),
|
|
4521
|
+
business_address: factories['io.flow.v0.models.address'](),
|
|
4522
|
+
refund_percentage: factories.decimal(),
|
|
4523
|
+
chargeback_percentage: factories.decimal(),
|
|
4524
|
+
bank_account_number: factories.string(),
|
|
4525
|
+
aba_routing_transit_number: factories.string(),
|
|
4526
|
+
trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
4527
|
+
other_trade_sector: factories.string(),
|
|
4528
|
+
third_party_logistics_partner: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
|
|
4529
|
+
average_order_weight: factories.decimal(),
|
|
4530
|
+
package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
|
|
4531
|
+
monthly_average_volume: factories.decimal(),
|
|
4532
|
+
monthly_average_transactions: factories.long(),
|
|
4533
|
+
dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
|
|
4534
|
+
default_country_of_origin: factories.boolean(),
|
|
4535
|
+
ratecard_id: factories.string(),
|
|
4536
|
+
created_at: factories.date_time_iso_8601(),
|
|
4537
|
+
}); },
|
|
4538
|
+
'io.flow.v0.models.channel_organization_application_form': function () { return ({
|
|
4539
|
+
organization_id: factories.string(),
|
|
4540
|
+
company: factories['io.flow.v0.models.merchant_info'](),
|
|
4541
|
+
indirect_tax_number: factories.long(),
|
|
4542
|
+
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
4543
|
+
beneficiary: factories.string(),
|
|
4544
|
+
business_url: factories.string(),
|
|
4545
|
+
business_description: factories.string(),
|
|
4546
|
+
business_address: factories['io.flow.v0.models.address'](),
|
|
4547
|
+
refund_percentage: factories.decimal(),
|
|
4548
|
+
chargeback_percentage: factories.decimal(),
|
|
4549
|
+
bank_account_number: factories.string(),
|
|
4550
|
+
aba_routing_transit_number: factories.string(),
|
|
4551
|
+
trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
4552
|
+
other_trade_sector: factories.string(),
|
|
4553
|
+
third_party_logistics_partner: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
|
|
4554
|
+
average_order_weight: factories.decimal(),
|
|
4555
|
+
package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
|
|
4556
|
+
monthly_average_volume: factories.decimal(),
|
|
4557
|
+
monthly_average_transactions: factories.long(),
|
|
4558
|
+
dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
|
|
4559
|
+
default_country_of_origin: factories.boolean(),
|
|
4560
|
+
ratecard_id: factories.string(),
|
|
4561
|
+
}); },
|
|
4510
4562
|
'io.flow.v0.models.channel_organization_authorization': function () { return ({
|
|
4511
4563
|
placeholder: factories.string(),
|
|
4512
4564
|
}); },
|
|
@@ -7102,6 +7154,12 @@ var factories = {
|
|
|
7102
7154
|
amount: factories.decimal(),
|
|
7103
7155
|
currency: factories.string(),
|
|
7104
7156
|
}); },
|
|
7157
|
+
'io.flow.v0.models.merchant_info': function () { return ({
|
|
7158
|
+
legal_name: factories.string(),
|
|
7159
|
+
country: factories.string(),
|
|
7160
|
+
region: factories['io.flow.v0.enums.region_type'](),
|
|
7161
|
+
region_value: factories.string(),
|
|
7162
|
+
}); },
|
|
7105
7163
|
'io.flow.v0.models.merchant_of_record_authorization_form': function () { return ({
|
|
7106
7164
|
discriminator: 'merchant_of_record_authorization_form',
|
|
7107
7165
|
token: factories.string(),
|
|
@@ -7191,116 +7249,6 @@ var factories = {
|
|
|
7191
7249
|
min: factories.long(),
|
|
7192
7250
|
max: factories.long(),
|
|
7193
7251
|
}); },
|
|
7194
|
-
'io.flow.v0.models.onboarding_bank_account': function () { return ({
|
|
7195
|
-
id: factories.string(),
|
|
7196
|
-
name: factories.string(),
|
|
7197
|
-
address: factories['io.flow.v0.models.address'](),
|
|
7198
|
-
contact: factories['io.flow.v0.models.contact'](),
|
|
7199
|
-
account_number: factories.string(),
|
|
7200
|
-
aba_routing_transit_number: factories.string(),
|
|
7201
|
-
created_at: factories.date_time_iso_8601(),
|
|
7202
|
-
}); },
|
|
7203
|
-
'io.flow.v0.models.onboarding_bank_account_form': function () { return ({
|
|
7204
|
-
name: factories.string(),
|
|
7205
|
-
address: factories['io.flow.v0.models.address'](),
|
|
7206
|
-
contact: factories['io.flow.v0.models.contact'](),
|
|
7207
|
-
account_number: factories.string(),
|
|
7208
|
-
aba_routing_transit_number: factories.string(),
|
|
7209
|
-
}); },
|
|
7210
|
-
'io.flow.v0.models.onboarding_classification': function () { return ({
|
|
7211
|
-
id: factories.string(),
|
|
7212
|
-
country_of_origin_populated: factories.boolean(),
|
|
7213
|
-
created_at: factories.date_time_iso_8601(),
|
|
7214
|
-
}); },
|
|
7215
|
-
'io.flow.v0.models.onboarding_classification_form': function () { return ({
|
|
7216
|
-
country_of_origin_populated: factories.boolean(),
|
|
7217
|
-
}); },
|
|
7218
|
-
'io.flow.v0.models.onboarding_incorporation': function () { return ({
|
|
7219
|
-
country: factories.string(),
|
|
7220
|
-
state: factories.string(),
|
|
7221
|
-
province: factories.string(),
|
|
7222
|
-
jurisdiction: factories.string(),
|
|
7223
|
-
}); },
|
|
7224
|
-
'io.flow.v0.models.onboarding_payment': function () { return ({
|
|
7225
|
-
id: factories.string(),
|
|
7226
|
-
legal_name: factories.string(),
|
|
7227
|
-
incorporation: factories['io.flow.v0.models.onboarding_incorporation'](),
|
|
7228
|
-
indirect_tax_number: factories.long(),
|
|
7229
|
-
subsidiary_company: factories['io.flow.v0.models.onboarding_subsidiary_company'](),
|
|
7230
|
-
beneficiary: factories.string(),
|
|
7231
|
-
business_url: factories.string(),
|
|
7232
|
-
business_description: factories.string(),
|
|
7233
|
-
business_address: factories['io.flow.v0.models.address'](),
|
|
7234
|
-
refund_percentage: factories.decimal(),
|
|
7235
|
-
chargeback_percentage: factories.decimal(),
|
|
7236
|
-
created_at: factories.date_time_iso_8601(),
|
|
7237
|
-
}); },
|
|
7238
|
-
'io.flow.v0.models.onboarding_payment_form': function () { return ({
|
|
7239
|
-
legal_name: factories.string(),
|
|
7240
|
-
incorporation: factories['io.flow.v0.models.onboarding_incorporation'](),
|
|
7241
|
-
indirect_tax_number: factories.long(),
|
|
7242
|
-
subsidiary_company: factories['io.flow.v0.models.onboarding_subsidiary_company'](),
|
|
7243
|
-
beneficiary: factories.string(),
|
|
7244
|
-
business_url: factories.string(),
|
|
7245
|
-
business_description: factories.string(),
|
|
7246
|
-
business_address: factories['io.flow.v0.models.address'](),
|
|
7247
|
-
refund_percentage: factories.decimal(),
|
|
7248
|
-
chargeback_percentage: factories.decimal(),
|
|
7249
|
-
}); },
|
|
7250
|
-
'io.flow.v0.models.onboarding_preparer_details': function () { return ({
|
|
7251
|
-
id: factories.string(),
|
|
7252
|
-
name: factories.string(),
|
|
7253
|
-
title: factories.string(),
|
|
7254
|
-
company: factories.string(),
|
|
7255
|
-
created_at: factories.date_time_iso_8601(),
|
|
7256
|
-
}); },
|
|
7257
|
-
'io.flow.v0.models.onboarding_preparer_details_form': function () { return ({
|
|
7258
|
-
name: factories.string(),
|
|
7259
|
-
title: factories.string(),
|
|
7260
|
-
company: factories.string(),
|
|
7261
|
-
}); },
|
|
7262
|
-
'io.flow.v0.models.onboarding_product_logistics': function () { return ({
|
|
7263
|
-
id: factories.string(),
|
|
7264
|
-
trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
7265
|
-
other_trade_sector: factories.string(),
|
|
7266
|
-
shipped_prohibited_products_before: factories.boolean(),
|
|
7267
|
-
third_party_logistics_partner: factories['io.flow.v0.models.third_party_logistics_partner'](),
|
|
7268
|
-
third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
|
|
7269
|
-
pickup_location: factories['io.flow.v0.models.billing_address'](),
|
|
7270
|
-
pickup_instructions: factories.string(),
|
|
7271
|
-
operations_contact: factories['io.flow.v0.models.contact'](),
|
|
7272
|
-
average_order_weight: factories.decimal(),
|
|
7273
|
-
package_dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
7274
|
-
average_order_value: factories.decimal(),
|
|
7275
|
-
maximum_order_value: factories.decimal(),
|
|
7276
|
-
monthly_average_volume: factories.decimal(),
|
|
7277
|
-
monthly_average_transactions: factories.long(),
|
|
7278
|
-
sells_dangerous_goods: factories['io.flow.v0.enums.uncertain_boolean'](),
|
|
7279
|
-
dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
|
|
7280
|
-
created_at: factories.date_time_iso_8601(),
|
|
7281
|
-
}); },
|
|
7282
|
-
'io.flow.v0.models.onboarding_product_logistics_form': function () { return ({
|
|
7283
|
-
trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
7284
|
-
other_trade_sector: factories.string(),
|
|
7285
|
-
shipped_prohibited_products_before: factories.boolean(),
|
|
7286
|
-
third_party_logistics_partner: factories['io.flow.v0.models.third_party_logistics_partner'](),
|
|
7287
|
-
third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
|
|
7288
|
-
pickup_location: factories['io.flow.v0.models.billing_address'](),
|
|
7289
|
-
pickup_instructions: factories.string(),
|
|
7290
|
-
operations_contact: factories['io.flow.v0.models.contact'](),
|
|
7291
|
-
average_order_weight: factories.decimal(),
|
|
7292
|
-
package_dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
7293
|
-
average_order_value: factories.decimal(),
|
|
7294
|
-
maximum_order_value: factories.decimal(),
|
|
7295
|
-
monthly_average_volume: factories.decimal(),
|
|
7296
|
-
monthly_average_transactions: factories.long(),
|
|
7297
|
-
sells_dangerous_goods: factories['io.flow.v0.enums.uncertain_boolean'](),
|
|
7298
|
-
dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
|
|
7299
|
-
}); },
|
|
7300
|
-
'io.flow.v0.models.onboarding_subsidiary_company': function () { return ({
|
|
7301
|
-
legal_name: factories.string(),
|
|
7302
|
-
incorporation_country: factories['io.flow.v0.models.onboarding_incorporation'](),
|
|
7303
|
-
}); },
|
|
7304
7252
|
'io.flow.v0.models.online_authorization': function () { return ({
|
|
7305
7253
|
discriminator: 'online_authorization',
|
|
7306
7254
|
id: factories.string(),
|
|
@@ -8329,6 +8277,7 @@ var factories = {
|
|
|
8329
8277
|
order: factories['io.flow.v0.models.authorization_order_reference'](),
|
|
8330
8278
|
amount: factories.decimal(),
|
|
8331
8279
|
currency: factories.string(),
|
|
8280
|
+
created_at: factories.date_time_iso_8601(),
|
|
8332
8281
|
cryptopay: factories['io.flow.v0.unions.online_authorization_details'](),
|
|
8333
8282
|
}); },
|
|
8334
8283
|
'io.flow.v0.models.payment_deleted': function () { return ({
|
|
@@ -8559,6 +8508,7 @@ var factories = {
|
|
|
8559
8508
|
order: factories['io.flow.v0.models.authorization_order_reference'](),
|
|
8560
8509
|
amount: factories.decimal(),
|
|
8561
8510
|
currency: factories.string(),
|
|
8511
|
+
created_at: factories.date_time_iso_8601(),
|
|
8562
8512
|
paypal: factories['io.flow.v0.unions.online_authorization_details'](),
|
|
8563
8513
|
}); },
|
|
8564
8514
|
'io.flow.v0.models.payment_processor': function () { return ({
|
|
@@ -10670,6 +10620,10 @@ var factories = {
|
|
|
10670
10620
|
'io.flow.v0.models.third_party_logistics_partner': function () { return ({
|
|
10671
10621
|
warehouse_address: factories['io.flow.v0.models.billing_address'](),
|
|
10672
10622
|
warehouse_url: factories.string(),
|
|
10623
|
+
third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
|
|
10624
|
+
pickup_location: factories['io.flow.v0.models.billing_address'](),
|
|
10625
|
+
pickup_instructions: factories.string(),
|
|
10626
|
+
operations_contact: factories['io.flow.v0.models.contact'](),
|
|
10673
10627
|
}); },
|
|
10674
10628
|
'io.flow.v0.models.third_party_logistics_pick_up_time_window': function () { return ({
|
|
10675
10629
|
from: factories.date_time_iso_8601(),
|
|
@@ -12175,6 +12129,8 @@ export var makeChannelCurrencyDeleted = function () { return factories['io.flow.
|
|
|
12175
12129
|
export var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
|
|
12176
12130
|
export var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
|
|
12177
12131
|
export var makeChannelOrganization = function () { return factories['io.flow.v0.models.channel_organization'](); };
|
|
12132
|
+
export var makeChannelOrganizationApplication = function () { return factories['io.flow.v0.models.channel_organization_application'](); };
|
|
12133
|
+
export var makeChannelOrganizationApplicationForm = function () { return factories['io.flow.v0.models.channel_organization_application_form'](); };
|
|
12178
12134
|
export var makeChannelOrganizationAuthorization = function () { return factories['io.flow.v0.models.channel_organization_authorization'](); };
|
|
12179
12135
|
export var makeChannelOrganizationAuthorizationForm = function () { return factories['io.flow.v0.models.channel_organization_authorization_form'](); };
|
|
12180
12136
|
export var makeChannelOrganizationDeleted = function () { return factories['io.flow.v0.models.channel_organization_deleted'](); };
|
|
@@ -12710,6 +12666,7 @@ export var makeMerchantGiftCardRedemption = function () { return factories['io.f
|
|
|
12710
12666
|
export var makeMerchantGiftCardRedemptionForm = function () { return factories['io.flow.v0.models.merchant_gift_card_redemption_form'](); };
|
|
12711
12667
|
export var makeMerchantGiftCardReversal = function () { return factories['io.flow.v0.models.merchant_gift_card_reversal'](); };
|
|
12712
12668
|
export var makeMerchantGiftCardReversalForm = function () { return factories['io.flow.v0.models.merchant_gift_card_reversal_form'](); };
|
|
12669
|
+
export var makeMerchantInfo = function () { return factories['io.flow.v0.models.merchant_info'](); };
|
|
12713
12670
|
export var makeMerchantOfRecord = function () { return factories['io.flow.v0.enums.merchant_of_record'](); };
|
|
12714
12671
|
export var makeMerchantOfRecordAuthorizationForm = function () { return factories['io.flow.v0.models.merchant_of_record_authorization_form'](); };
|
|
12715
12672
|
export var makeMerchantOfRecordEntity = function () { return factories['io.flow.v0.models.merchant_of_record_entity'](); };
|
|
@@ -12726,19 +12683,7 @@ export var makeNoInventoryReservationErrorItem = function () { return factories[
|
|
|
12726
12683
|
export var makeNotificationDeletedV2 = function () { return factories['io.flow.v0.models.notification_deleted_v2'](); };
|
|
12727
12684
|
export var makeNotificationUpsertedV2 = function () { return factories['io.flow.v0.models.notification_upserted_v2'](); };
|
|
12728
12685
|
export var makeNumberRange = function () { return factories['io.flow.v0.models.number_range'](); };
|
|
12729
|
-
export var makeOnboardingBankAccount = function () { return factories['io.flow.v0.models.onboarding_bank_account'](); };
|
|
12730
|
-
export var makeOnboardingBankAccountForm = function () { return factories['io.flow.v0.models.onboarding_bank_account_form'](); };
|
|
12731
|
-
export var makeOnboardingClassification = function () { return factories['io.flow.v0.models.onboarding_classification'](); };
|
|
12732
|
-
export var makeOnboardingClassificationForm = function () { return factories['io.flow.v0.models.onboarding_classification_form'](); };
|
|
12733
12686
|
export var makeOnboardingDangerousGoods = function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); };
|
|
12734
|
-
export var makeOnboardingIncorporation = function () { return factories['io.flow.v0.models.onboarding_incorporation'](); };
|
|
12735
|
-
export var makeOnboardingPayment = function () { return factories['io.flow.v0.models.onboarding_payment'](); };
|
|
12736
|
-
export var makeOnboardingPaymentForm = function () { return factories['io.flow.v0.models.onboarding_payment_form'](); };
|
|
12737
|
-
export var makeOnboardingPreparerDetails = function () { return factories['io.flow.v0.models.onboarding_preparer_details'](); };
|
|
12738
|
-
export var makeOnboardingPreparerDetailsForm = function () { return factories['io.flow.v0.models.onboarding_preparer_details_form'](); };
|
|
12739
|
-
export var makeOnboardingProductLogistics = function () { return factories['io.flow.v0.models.onboarding_product_logistics'](); };
|
|
12740
|
-
export var makeOnboardingProductLogisticsForm = function () { return factories['io.flow.v0.models.onboarding_product_logistics_form'](); };
|
|
12741
|
-
export var makeOnboardingSubsidiaryCompany = function () { return factories['io.flow.v0.models.onboarding_subsidiary_company'](); };
|
|
12742
12687
|
export var makeOnboardingTradeSector = function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); };
|
|
12743
12688
|
export var makeOnlineAuthorization = function () { return factories['io.flow.v0.models.online_authorization'](); };
|
|
12744
12689
|
export var makeOnlineAuthorizationDeletedV2 = function () { return factories['io.flow.v0.models.online_authorization_deleted_v2'](); };
|
|
@@ -13159,6 +13104,7 @@ export var makeRegion = function () { return factories['io.flow.v0.models.region
|
|
|
13159
13104
|
export var makeRegionReference = function () { return factories['io.flow.v0.models.region_reference'](); };
|
|
13160
13105
|
export var makeRegionSetting = function () { return factories['io.flow.v0.models.region_setting'](); };
|
|
13161
13106
|
export var makeRegionSettingForm = function () { return factories['io.flow.v0.models.region_setting_form'](); };
|
|
13107
|
+
export var makeRegionType = function () { return factories['io.flow.v0.enums.region_type'](); };
|
|
13162
13108
|
export var makeRemoteAreaRatecardFee = function () { return factories['io.flow.v0.models.remote_area_ratecard_fee'](); };
|
|
13163
13109
|
export var makeRemoteAreaServiceFee = function () { return factories['io.flow.v0.models.remote_area_service_fee'](); };
|
|
13164
13110
|
export var makeRepeatDaily = function () { return factories['io.flow.v0.models.repeat_daily'](); };
|
|
@@ -13454,7 +13400,6 @@ export var makeTradeAgreementName = function () { return factories['io.flow.v0.e
|
|
|
13454
13400
|
export var makeTradeAgreementStatus = function () { return factories['io.flow.v0.enums.trade_agreement_status'](); };
|
|
13455
13401
|
export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
|
|
13456
13402
|
export var makeTransitWindow = function () { return factories['io.flow.v0.models.transit_window'](); };
|
|
13457
|
-
export var makeUncertainBoolean = function () { return factories['io.flow.v0.enums.uncertain_boolean'](); };
|
|
13458
13403
|
export var makeUnharmonizedItemExportType = function () { return factories['io.flow.v0.models.unharmonized_item_export_type'](); };
|
|
13459
13404
|
export var makeUnitOfMeasurement = function () { return factories['io.flow.v0.enums.unit_of_measurement'](); };
|
|
13460
13405
|
export var makeUnitOfTime = function () { return factories['io.flow.v0.enums.unit_of_time'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -206,6 +206,8 @@ export declare const makeChannelCurrencyDeleted: () => io.flow.v0.models.Channel
|
|
|
206
206
|
export declare const makeChannelCurrencyUpserted: () => io.flow.v0.models.ChannelCurrencyUpserted;
|
|
207
207
|
export declare const makeChannelDeleted: () => io.flow.v0.models.ChannelDeleted;
|
|
208
208
|
export declare const makeChannelOrganization: () => io.flow.v0.models.ChannelOrganization;
|
|
209
|
+
export declare const makeChannelOrganizationApplication: () => io.flow.v0.models.ChannelOrganizationApplication;
|
|
210
|
+
export declare const makeChannelOrganizationApplicationForm: () => io.flow.v0.models.ChannelOrganizationApplicationForm;
|
|
209
211
|
export declare const makeChannelOrganizationAuthorization: () => io.flow.v0.models.ChannelOrganizationAuthorization;
|
|
210
212
|
export declare const makeChannelOrganizationAuthorizationForm: () => io.flow.v0.models.ChannelOrganizationAuthorizationForm;
|
|
211
213
|
export declare const makeChannelOrganizationDeleted: () => io.flow.v0.models.ChannelOrganizationDeleted;
|
|
@@ -741,6 +743,7 @@ export declare const makeMerchantGiftCardRedemption: () => io.flow.v0.models.Mer
|
|
|
741
743
|
export declare const makeMerchantGiftCardRedemptionForm: () => io.flow.v0.models.MerchantGiftCardRedemptionForm;
|
|
742
744
|
export declare const makeMerchantGiftCardReversal: () => io.flow.v0.models.MerchantGiftCardReversal;
|
|
743
745
|
export declare const makeMerchantGiftCardReversalForm: () => io.flow.v0.models.MerchantGiftCardReversalForm;
|
|
746
|
+
export declare const makeMerchantInfo: () => io.flow.v0.models.MerchantInfo;
|
|
744
747
|
export declare const makeMerchantOfRecord: () => io.flow.v0.enums.MerchantOfRecord;
|
|
745
748
|
export declare const makeMerchantOfRecordAuthorizationForm: () => io.flow.v0.models.MerchantOfRecordAuthorizationForm;
|
|
746
749
|
export declare const makeMerchantOfRecordEntity: () => io.flow.v0.models.MerchantOfRecordEntity;
|
|
@@ -757,19 +760,7 @@ export declare const makeNoInventoryReservationErrorItem: () => io.flow.v0.model
|
|
|
757
760
|
export declare const makeNotificationDeletedV2: () => io.flow.v0.models.NotificationDeletedV2;
|
|
758
761
|
export declare const makeNotificationUpsertedV2: () => io.flow.v0.models.NotificationUpsertedV2;
|
|
759
762
|
export declare const makeNumberRange: () => io.flow.v0.models.NumberRange;
|
|
760
|
-
export declare const makeOnboardingBankAccount: () => io.flow.v0.models.OnboardingBankAccount;
|
|
761
|
-
export declare const makeOnboardingBankAccountForm: () => io.flow.v0.models.OnboardingBankAccountForm;
|
|
762
|
-
export declare const makeOnboardingClassification: () => io.flow.v0.models.OnboardingClassification;
|
|
763
|
-
export declare const makeOnboardingClassificationForm: () => io.flow.v0.models.OnboardingClassificationForm;
|
|
764
763
|
export declare const makeOnboardingDangerousGoods: () => io.flow.v0.enums.OnboardingDangerousGoods;
|
|
765
|
-
export declare const makeOnboardingIncorporation: () => io.flow.v0.models.OnboardingIncorporation;
|
|
766
|
-
export declare const makeOnboardingPayment: () => io.flow.v0.models.OnboardingPayment;
|
|
767
|
-
export declare const makeOnboardingPaymentForm: () => io.flow.v0.models.OnboardingPaymentForm;
|
|
768
|
-
export declare const makeOnboardingPreparerDetails: () => io.flow.v0.models.OnboardingPreparerDetails;
|
|
769
|
-
export declare const makeOnboardingPreparerDetailsForm: () => io.flow.v0.models.OnboardingPreparerDetailsForm;
|
|
770
|
-
export declare const makeOnboardingProductLogistics: () => io.flow.v0.models.OnboardingProductLogistics;
|
|
771
|
-
export declare const makeOnboardingProductLogisticsForm: () => io.flow.v0.models.OnboardingProductLogisticsForm;
|
|
772
|
-
export declare const makeOnboardingSubsidiaryCompany: () => io.flow.v0.models.OnboardingSubsidiaryCompany;
|
|
773
764
|
export declare const makeOnboardingTradeSector: () => io.flow.v0.enums.OnboardingTradeSector;
|
|
774
765
|
export declare const makeOnlineAuthorization: () => io.flow.v0.models.OnlineAuthorization;
|
|
775
766
|
export declare const makeOnlineAuthorizationDeletedV2: () => io.flow.v0.models.OnlineAuthorizationDeletedV2;
|
|
@@ -1190,6 +1181,7 @@ export declare const makeRegion: () => io.flow.v0.models.Region;
|
|
|
1190
1181
|
export declare const makeRegionReference: () => io.flow.v0.models.RegionReference;
|
|
1191
1182
|
export declare const makeRegionSetting: () => io.flow.v0.models.RegionSetting;
|
|
1192
1183
|
export declare const makeRegionSettingForm: () => io.flow.v0.models.RegionSettingForm;
|
|
1184
|
+
export declare const makeRegionType: () => io.flow.v0.enums.RegionType;
|
|
1193
1185
|
export declare const makeRemoteAreaRatecardFee: () => io.flow.v0.models.RemoteAreaRatecardFee;
|
|
1194
1186
|
export declare const makeRemoteAreaServiceFee: () => io.flow.v0.models.RemoteAreaServiceFee;
|
|
1195
1187
|
export declare const makeRepeatDaily: () => io.flow.v0.models.RepeatDaily;
|
|
@@ -1485,7 +1477,6 @@ export declare const makeTradeAgreementName: () => io.flow.v0.enums.TradeAgreeme
|
|
|
1485
1477
|
export declare const makeTradeAgreementStatus: () => io.flow.v0.enums.TradeAgreementStatus;
|
|
1486
1478
|
export declare const makeTransitEstimate: () => io.flow.v0.models.TransitEstimate;
|
|
1487
1479
|
export declare const makeTransitWindow: () => io.flow.v0.models.TransitWindow;
|
|
1488
|
-
export declare const makeUncertainBoolean: () => io.flow.v0.enums.UncertainBoolean;
|
|
1489
1480
|
export declare const makeUnharmonizedItemExportType: () => io.flow.v0.models.UnharmonizedItemExportType;
|
|
1490
1481
|
export declare const makeUnitOfMeasurement: () => io.flow.v0.enums.UnitOfMeasurement;
|
|
1491
1482
|
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.7",
|
|
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": "8d26790d7b5a0972ae0243ebf14d224f1ec78fea"
|
|
40
40
|
}
|