@flowio/api-internal-factories 0.0.111 → 0.0.112
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-internal.js +197 -38
- package/dist/esm/api-internal.js +145 -0
- package/dist/types/api-internal.d.ts +14 -0
- package/package.json +2 -2
- package/src/api-internal.ts +159 -0
package/dist/esm/api-internal.js
CHANGED
|
@@ -1687,6 +1687,7 @@ var factories = {
|
|
|
1687
1687
|
return f();
|
|
1688
1688
|
},
|
|
1689
1689
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_error_action': function () { return faker.helpers.arrayElement(['auto_reject', 'auto_accept']); },
|
|
1690
|
+
'io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code': function () { return faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']); },
|
|
1690
1691
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from': function () { return faker.helpers.arrayElement([
|
|
1691
1692
|
'cx_team',
|
|
1692
1693
|
'core_team',
|
|
@@ -1758,6 +1759,14 @@ var factories = {
|
|
|
1758
1759
|
order_acceptance: factories['io.flow.channel.internal.v0.models.channel_order_acceptance'](),
|
|
1759
1760
|
external_order: factories.object(),
|
|
1760
1761
|
}); },
|
|
1762
|
+
'io.flow.channel.internal.v0.models.channel_order_acceptance_failure': function () { return ({
|
|
1763
|
+
id: factories.string(),
|
|
1764
|
+
organization_id: factories.string(),
|
|
1765
|
+
channel_id: factories.string(),
|
|
1766
|
+
payment_request_id: factories.string(),
|
|
1767
|
+
code: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code'](),
|
|
1768
|
+
reason: factories.string(),
|
|
1769
|
+
}); },
|
|
1761
1770
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_form': function () { return ({
|
|
1762
1771
|
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
1763
1772
|
}); },
|
|
@@ -6158,6 +6167,7 @@ var factories = {
|
|
|
6158
6167
|
]); },
|
|
6159
6168
|
'io.flow.internal.v0.enums.channel_billed_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'channel_initiated']); },
|
|
6160
6169
|
'io.flow.internal.v0.enums.channel_order_acceptance_error_action': function () { return faker.helpers.arrayElement(['auto_reject', 'auto_accept']); },
|
|
6170
|
+
'io.flow.internal.v0.enums.channel_order_acceptance_failure_reason_code': function () { return faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']); },
|
|
6161
6171
|
'io.flow.internal.v0.enums.channel_order_acceptance_next_action_from': function () { return faker.helpers.arrayElement([
|
|
6162
6172
|
'cx_team',
|
|
6163
6173
|
'core_team',
|
|
@@ -6298,6 +6308,8 @@ var factories = {
|
|
|
6298
6308
|
'adyen_capture_upserted',
|
|
6299
6309
|
'adyen_refund_deleted',
|
|
6300
6310
|
'adyen_refund_upserted',
|
|
6311
|
+
'adyen_dispute_upserted',
|
|
6312
|
+
'adyen_dispute_deleted',
|
|
6301
6313
|
'index_assignment_upserted',
|
|
6302
6314
|
'index_assignment_deleted',
|
|
6303
6315
|
'fulfillment_upserted',
|
|
@@ -6371,6 +6383,7 @@ var factories = {
|
|
|
6371
6383
|
'catalog_settings_deleted',
|
|
6372
6384
|
'channel_order_acceptance_upserted',
|
|
6373
6385
|
'channel_order_acceptance_deleted',
|
|
6386
|
+
'channel_order_acceptance_failed',
|
|
6374
6387
|
'checkout_configuration_upserted',
|
|
6375
6388
|
'checkout_configuration_deleted',
|
|
6376
6389
|
'commercial_invoice_internal_upserted',
|
|
@@ -6984,6 +6997,8 @@ var factories = {
|
|
|
6984
6997
|
'account_quarterly_balances',
|
|
6985
6998
|
'invariants',
|
|
6986
6999
|
'payments',
|
|
7000
|
+
'reconcile_not_recorded',
|
|
7001
|
+
'products_record',
|
|
6987
7002
|
]); },
|
|
6988
7003
|
'io.flow.internal.v0.enums.reporting_fulfillment_is_virtual': function () { return faker.helpers.arrayElement(['all', 'mixed', 'none']); },
|
|
6989
7004
|
'io.flow.internal.v0.enums.reporting_scheme': function () { return faker.helpers.arrayElement([
|
|
@@ -7481,6 +7496,18 @@ var factories = {
|
|
|
7481
7496
|
timestamp: factories.date_time_iso_8601(),
|
|
7482
7497
|
capture: factories['io.flow.internal.v0.models.adyen_internal_capture'](),
|
|
7483
7498
|
}); },
|
|
7499
|
+
'io.flow.internal.v0.models.adyen_dispute_deleted': function () { return ({
|
|
7500
|
+
discriminator: 'adyen_dispute_deleted',
|
|
7501
|
+
event_id: factories.string(),
|
|
7502
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7503
|
+
id: factories.string(),
|
|
7504
|
+
}); },
|
|
7505
|
+
'io.flow.internal.v0.models.adyen_dispute_upserted': function () { return ({
|
|
7506
|
+
discriminator: 'adyen_dispute_upserted',
|
|
7507
|
+
event_id: factories.string(),
|
|
7508
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7509
|
+
dispute: factories['io.flow.internal.v0.models.adyen_internal_dispute'](),
|
|
7510
|
+
}); },
|
|
7484
7511
|
'io.flow.internal.v0.models.adyen_internal_authorization': function () { return ({
|
|
7485
7512
|
id: factories.string(),
|
|
7486
7513
|
flow_authorization_id: factories.string(),
|
|
@@ -7519,6 +7546,31 @@ var factories = {
|
|
|
7519
7546
|
psp_reference: factories.string(),
|
|
7520
7547
|
response: factories.string(),
|
|
7521
7548
|
}); },
|
|
7549
|
+
'io.flow.internal.v0.models.adyen_internal_dispute': function () { return ({
|
|
7550
|
+
id: factories.string(),
|
|
7551
|
+
amount: factories.long(),
|
|
7552
|
+
currency: factories.string(),
|
|
7553
|
+
psp_reference: factories.string(),
|
|
7554
|
+
original_reference: factories.string(),
|
|
7555
|
+
event_code: factories.string(),
|
|
7556
|
+
event_date: factories.date_time_iso_8601(),
|
|
7557
|
+
chargeback_reason_code: factories.string(),
|
|
7558
|
+
modification_merchant_references: factories.string(),
|
|
7559
|
+
chargeback_scheme_code: factories.string(),
|
|
7560
|
+
defense_period_ends_at: factories.date_time_iso_8601(),
|
|
7561
|
+
dispute_status: factories.string(),
|
|
7562
|
+
defendable: factories.string(),
|
|
7563
|
+
merchant_account_code: factories.string(),
|
|
7564
|
+
operations: arrayOf(function () { return factories.string(); }),
|
|
7565
|
+
merchant_reference: factories.string(),
|
|
7566
|
+
payment_method: factories.string(),
|
|
7567
|
+
reason: factories.string(),
|
|
7568
|
+
success: factories.string(),
|
|
7569
|
+
livemode: factories.boolean(),
|
|
7570
|
+
updated_by_user_id: factories.string(),
|
|
7571
|
+
created_at: factories.date_time_iso_8601(),
|
|
7572
|
+
updated_at: factories.date_time_iso_8601(),
|
|
7573
|
+
}); },
|
|
7522
7574
|
'io.flow.internal.v0.models.adyen_internal_refund': function () { return ({
|
|
7523
7575
|
id: factories.string(),
|
|
7524
7576
|
flow_refund_id: factories.string(),
|
|
@@ -8733,6 +8785,22 @@ var factories = {
|
|
|
8733
8785
|
order_acceptance: factories['io.flow.internal.v0.models.channel_order_acceptance'](),
|
|
8734
8786
|
external_order: factories.object(),
|
|
8735
8787
|
}); },
|
|
8788
|
+
'io.flow.internal.v0.models.channel_order_acceptance_failed': function () { return ({
|
|
8789
|
+
discriminator: 'channel_order_acceptance_failed',
|
|
8790
|
+
event_id: factories.string(),
|
|
8791
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8792
|
+
organization: factories.string(),
|
|
8793
|
+
channel_id: factories.string(),
|
|
8794
|
+
channel_order_acceptance_failure: factories['io.flow.internal.v0.models.channel_order_acceptance_failure'](),
|
|
8795
|
+
}); },
|
|
8796
|
+
'io.flow.internal.v0.models.channel_order_acceptance_failure': function () { return ({
|
|
8797
|
+
id: factories.string(),
|
|
8798
|
+
organization_id: factories.string(),
|
|
8799
|
+
channel_id: factories.string(),
|
|
8800
|
+
payment_request_id: factories.string(),
|
|
8801
|
+
code: factories['io.flow.internal.v0.enums.channel_order_acceptance_failure_reason_code'](),
|
|
8802
|
+
reason: factories.string(),
|
|
8803
|
+
}); },
|
|
8736
8804
|
'io.flow.internal.v0.models.channel_order_acceptance_form': function () { return ({
|
|
8737
8805
|
status: factories['io.flow.internal.v0.enums.channel_order_acceptance_status'](),
|
|
8738
8806
|
}); },
|
|
@@ -9888,6 +9956,7 @@ var factories = {
|
|
|
9888
9956
|
issued_at: factories.date_time_iso_8601(),
|
|
9889
9957
|
expires_at: factories.date_time_iso_8601(),
|
|
9890
9958
|
created_at: factories.date_time_iso_8601(),
|
|
9959
|
+
updated_at: factories.date_time_iso_8601(),
|
|
9891
9960
|
}); },
|
|
9892
9961
|
'io.flow.internal.v0.models.dispute_authorization_reference': function () { return ({
|
|
9893
9962
|
id: factories.string(),
|
|
@@ -12155,6 +12224,8 @@ var factories = {
|
|
|
12155
12224
|
suggested_responsibility: factories['io.flow.internal.v0.enums.label_request_error_handling_responsibility'](),
|
|
12156
12225
|
origin_country: factories.string(),
|
|
12157
12226
|
destination_country: factories.string(),
|
|
12227
|
+
reference_id: factories.string(),
|
|
12228
|
+
logistics_integration_provider: factories.string(),
|
|
12158
12229
|
}); },
|
|
12159
12230
|
'io.flow.internal.v0.models.label_summary': function () { return ({
|
|
12160
12231
|
id: factories.string(),
|
|
@@ -12963,6 +13034,18 @@ var factories = {
|
|
|
12963
13034
|
organization: factories.string(),
|
|
12964
13035
|
merchant_guid_assignment: factories['io.flow.internal.v0.models.merchant_guid_assignment'](),
|
|
12965
13036
|
}); },
|
|
13037
|
+
'io.flow.internal.v0.models.merchant_hub_override': function () { return ({
|
|
13038
|
+
id: factories.string(),
|
|
13039
|
+
organization_id: factories.string(),
|
|
13040
|
+
code: factories.string(),
|
|
13041
|
+
contact: factories['io.flow.common.v0.models.contact'](),
|
|
13042
|
+
location: factories['io.flow.common.v0.models.address'](),
|
|
13043
|
+
}); },
|
|
13044
|
+
'io.flow.internal.v0.models.merchant_hub_override_form': function () { return ({
|
|
13045
|
+
code: factories.string(),
|
|
13046
|
+
contact: factories['io.flow.common.v0.models.contact'](),
|
|
13047
|
+
location: factories['io.flow.common.v0.models.address'](),
|
|
13048
|
+
}); },
|
|
12966
13049
|
'io.flow.internal.v0.models.merchant_of_record_entity_settings': function () { return ({
|
|
12967
13050
|
id: factories.string(),
|
|
12968
13051
|
merchant_of_record_entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
@@ -14087,6 +14170,12 @@ var factories = {
|
|
|
14087
14170
|
organization: factories.string(),
|
|
14088
14171
|
partner_organization_settings: factories['io.flow.internal.v0.models.partner_organization_settings'](),
|
|
14089
14172
|
}); },
|
|
14173
|
+
'io.flow.internal.v0.models.partner_request': function () { return ({
|
|
14174
|
+
id: factories.string(),
|
|
14175
|
+
partner_id: factories.string(),
|
|
14176
|
+
organization_id: factories.string(),
|
|
14177
|
+
request_body: factories.json(),
|
|
14178
|
+
}); },
|
|
14090
14179
|
'io.flow.internal.v0.models.passphrase': function () { return ({
|
|
14091
14180
|
id: factories.string(),
|
|
14092
14181
|
tribe: factories['io.flow.internal.v0.models.tribe'](),
|
|
@@ -14587,6 +14676,10 @@ var factories = {
|
|
|
14587
14676
|
classified_product: factories['io.flow.internal.v0.models.classified_product'](),
|
|
14588
14677
|
next_product: factories['io.flow.internal.v0.models.classification_product_id'](),
|
|
14589
14678
|
}); },
|
|
14679
|
+
'io.flow.internal.v0.models.product_currencies': function () { return ({
|
|
14680
|
+
transaction: factories.string(),
|
|
14681
|
+
destination: factories.string(),
|
|
14682
|
+
}); },
|
|
14590
14683
|
'io.flow.internal.v0.models.product_detail_settings_form': function () { return ({
|
|
14591
14684
|
keys: arrayOf(function () { return factories.string(); }),
|
|
14592
14685
|
}); },
|
|
@@ -14609,6 +14702,13 @@ var factories = {
|
|
|
14609
14702
|
'io.flow.internal.v0.models.product_list_settings_form': function () { return ({
|
|
14610
14703
|
column_settings: arrayOf(function () { return factories['io.flow.internal.v0.models.harmonization_column_setting'](); }),
|
|
14611
14704
|
}); },
|
|
14705
|
+
'io.flow.internal.v0.models.product_record': function () { return ({
|
|
14706
|
+
organization_id: factories.string(),
|
|
14707
|
+
order_number: factories.string(),
|
|
14708
|
+
fulfillment_id: factories.string(),
|
|
14709
|
+
currencies: factories['io.flow.internal.v0.models.product_currencies'](),
|
|
14710
|
+
products: arrayOf(function () { return factories['io.flow.internal.v0.models.product_transaction'](); }),
|
|
14711
|
+
}); },
|
|
14612
14712
|
'io.flow.internal.v0.models.product_restriction_result_validation_error': function () { return ({
|
|
14613
14713
|
message: factories.string(),
|
|
14614
14714
|
reason: factories.string(),
|
|
@@ -14649,6 +14749,11 @@ var factories = {
|
|
|
14649
14749
|
product_id: factories.string(),
|
|
14650
14750
|
reviews: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_history_item_review_decision'](); }),
|
|
14651
14751
|
}); },
|
|
14752
|
+
'io.flow.internal.v0.models.product_transaction': function () { return ({
|
|
14753
|
+
transaction_amount: factories.decimal(),
|
|
14754
|
+
destination_amount: factories.decimal(),
|
|
14755
|
+
quantity: factories.long(),
|
|
14756
|
+
}); },
|
|
14652
14757
|
'io.flow.internal.v0.models.profit': function () { return ({
|
|
14653
14758
|
key: factories['io.flow.internal.v0.enums.profit_stream_key'](),
|
|
14654
14759
|
principal: factories['io.flow.internal.v0.models.principal'](),
|
|
@@ -14710,6 +14815,19 @@ var factories = {
|
|
|
14710
14815
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
14711
14816
|
created_at: factories.date_time_iso_8601(),
|
|
14712
14817
|
}); },
|
|
14818
|
+
'io.flow.internal.v0.models.public_hub': function () { return ({
|
|
14819
|
+
id: factories.string(),
|
|
14820
|
+
code: factories.string(),
|
|
14821
|
+
third_party_logistics_reference: factories.string(),
|
|
14822
|
+
contact: factories['io.flow.common.v0.models.contact'](),
|
|
14823
|
+
location: factories['io.flow.common.v0.models.address'](),
|
|
14824
|
+
}); },
|
|
14825
|
+
'io.flow.internal.v0.models.public_hub_form': function () { return ({
|
|
14826
|
+
code: factories.string(),
|
|
14827
|
+
third_party_logistics_reference: factories.string(),
|
|
14828
|
+
contact: factories['io.flow.common.v0.models.contact'](),
|
|
14829
|
+
location: factories['io.flow.common.v0.models.address'](),
|
|
14830
|
+
}); },
|
|
14713
14831
|
'io.flow.internal.v0.models.quote': function () { return ({
|
|
14714
14832
|
id: factories.string(),
|
|
14715
14833
|
base: factories.string(),
|
|
@@ -15190,6 +15308,7 @@ var factories = {
|
|
|
15190
15308
|
'io.flow.internal.v0.models.reporting_conversion_rates': function () { return ({
|
|
15191
15309
|
merchant: factories.decimal(),
|
|
15192
15310
|
entity: factories.decimal(),
|
|
15311
|
+
destination_country: factories.decimal(),
|
|
15193
15312
|
usd: factories.decimal(),
|
|
15194
15313
|
eur: factories.decimal(),
|
|
15195
15314
|
}); },
|
|
@@ -15201,6 +15320,7 @@ var factories = {
|
|
|
15201
15320
|
transaction: factories.string(),
|
|
15202
15321
|
merchant: factories.string(),
|
|
15203
15322
|
entity: factories.string(),
|
|
15323
|
+
destination_country: factories.string(),
|
|
15204
15324
|
}); },
|
|
15205
15325
|
'io.flow.internal.v0.models.reporting_debug': function () { return ({
|
|
15206
15326
|
console_order_link: factories.string(),
|
|
@@ -15308,6 +15428,7 @@ var factories = {
|
|
|
15308
15428
|
transaction: factories.decimal(),
|
|
15309
15429
|
merchant: factories.decimal(),
|
|
15310
15430
|
entity: factories.decimal(),
|
|
15431
|
+
destination_country: factories.decimal(),
|
|
15311
15432
|
usd: factories.decimal(),
|
|
15312
15433
|
eur: factories.decimal(),
|
|
15313
15434
|
}); },
|
|
@@ -17768,6 +17889,8 @@ var factories = {
|
|
|
17768
17889
|
function () { return factories['io.flow.internal.v0.models.adyen_capture_upserted'](); },
|
|
17769
17890
|
function () { return factories['io.flow.internal.v0.models.adyen_refund_deleted'](); },
|
|
17770
17891
|
function () { return factories['io.flow.internal.v0.models.adyen_refund_upserted'](); },
|
|
17892
|
+
function () { return factories['io.flow.internal.v0.models.adyen_dispute_upserted'](); },
|
|
17893
|
+
function () { return factories['io.flow.internal.v0.models.adyen_dispute_deleted'](); },
|
|
17771
17894
|
function () { return factories['io.flow.internal.v0.models.index_assignment_upserted'](); },
|
|
17772
17895
|
function () { return factories['io.flow.internal.v0.models.index_assignment_deleted'](); },
|
|
17773
17896
|
function () { return factories['io.flow.internal.v0.models.fulfillment_upserted'](); },
|
|
@@ -17841,6 +17964,7 @@ var factories = {
|
|
|
17841
17964
|
function () { return factories['io.flow.internal.v0.models.catalog_settings_deleted'](); },
|
|
17842
17965
|
function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_upserted'](); },
|
|
17843
17966
|
function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_deleted'](); },
|
|
17967
|
+
function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_failed'](); },
|
|
17844
17968
|
function () { return factories['io.flow.internal.v0.models.checkout_configuration_upserted'](); },
|
|
17845
17969
|
function () { return factories['io.flow.internal.v0.models.checkout_configuration_deleted'](); },
|
|
17846
17970
|
function () { return factories['io.flow.internal.v0.models.commercial_invoice_internal_upserted'](); },
|
|
@@ -18826,6 +18950,8 @@ var factories = {
|
|
|
18826
18950
|
'package': factories['io.flow.label.v0.models.shipping_label_package'](),
|
|
18827
18951
|
origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
18828
18952
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
18953
|
+
reference_id: factories.string(),
|
|
18954
|
+
hub_code: factories.string(),
|
|
18829
18955
|
}); },
|
|
18830
18956
|
'io.flow.label.v0.models.crossdock_shipment': function () { return ({
|
|
18831
18957
|
partner_id: factories.string(),
|
|
@@ -18846,6 +18972,7 @@ var factories = {
|
|
|
18846
18972
|
service: factories.string(),
|
|
18847
18973
|
shipment_recipient: factories['io.flow.label.v0.enums.shipment_recipient'](),
|
|
18848
18974
|
package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
|
|
18975
|
+
reference_id: factories.string(),
|
|
18849
18976
|
}); },
|
|
18850
18977
|
'io.flow.label.v0.models.detailed_shipping_notification_form': function () { return ({
|
|
18851
18978
|
discriminator: 'detailed_shipping_notification_form',
|
|
@@ -19005,6 +19132,7 @@ var factories = {
|
|
|
19005
19132
|
items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
|
|
19006
19133
|
center_key: factories.string(),
|
|
19007
19134
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
19135
|
+
reference_id: factories.string(),
|
|
19008
19136
|
}); },
|
|
19009
19137
|
'io.flow.label.v0.models.summary_shipping_notification_form': function () { return ({
|
|
19010
19138
|
discriminator: 'summary_shipping_notification_form',
|
|
@@ -26839,6 +26967,9 @@ var factories = {
|
|
|
26839
26967
|
delivered: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
26840
26968
|
rejected: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
26841
26969
|
returned: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
26970
|
+
crossed_border: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
26971
|
+
destroyed: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
26972
|
+
return_reversal: factories['io.flow.tracking.v0.models.label_tracking_summary_update'](),
|
|
26842
26973
|
}); },
|
|
26843
26974
|
'io.flow.tracking.v0.models.label_tracking_summary_update': function () { return ({
|
|
26844
26975
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -27061,10 +27192,13 @@ export var makeAdyenCancelDeleted = function () { return factories['io.flow.inte
|
|
|
27061
27192
|
export var makeAdyenCancelUpserted = function () { return factories['io.flow.internal.v0.models.adyen_cancel_upserted'](); };
|
|
27062
27193
|
export var makeAdyenCaptureDeleted = function () { return factories['io.flow.internal.v0.models.adyen_capture_deleted'](); };
|
|
27063
27194
|
export var makeAdyenCaptureUpserted = function () { return factories['io.flow.internal.v0.models.adyen_capture_upserted'](); };
|
|
27195
|
+
export var makeAdyenDisputeDeleted = function () { return factories['io.flow.internal.v0.models.adyen_dispute_deleted'](); };
|
|
27196
|
+
export var makeAdyenDisputeUpserted = function () { return factories['io.flow.internal.v0.models.adyen_dispute_upserted'](); };
|
|
27064
27197
|
export var makeAdyenIntegrationType = function () { return factories['io.flow.internal.v0.enums.adyen_integration_type'](); };
|
|
27065
27198
|
export var makeAdyenInternalAuthorization = function () { return factories['io.flow.internal.v0.models.adyen_internal_authorization'](); };
|
|
27066
27199
|
export var makeAdyenInternalCancel = function () { return factories['io.flow.internal.v0.models.adyen_internal_cancel'](); };
|
|
27067
27200
|
export var makeAdyenInternalCapture = function () { return factories['io.flow.internal.v0.models.adyen_internal_capture'](); };
|
|
27201
|
+
export var makeAdyenInternalDispute = function () { return factories['io.flow.internal.v0.models.adyen_internal_dispute'](); };
|
|
27068
27202
|
export var makeAdyenInternalRefund = function () { return factories['io.flow.internal.v0.models.adyen_internal_refund'](); };
|
|
27069
27203
|
export var makeAdyenMerchant = function () { return factories['io.flow.internal.v0.models.adyen_merchant'](); };
|
|
27070
27204
|
export var makeAdyenMerchantAccount = function () { return factories['io.flow.internal.v0.models.adyen_merchant_account'](); };
|
|
@@ -27277,6 +27411,9 @@ export var makeChannelOrderAcceptance = function () { return factories['io.flow.
|
|
|
27277
27411
|
export var makeChannelOrderAcceptanceDeleted = function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_deleted'](); };
|
|
27278
27412
|
export var makeChannelOrderAcceptanceDetails = function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_details'](); };
|
|
27279
27413
|
export var makeChannelOrderAcceptanceErrorAction = function () { return factories['io.flow.internal.v0.enums.channel_order_acceptance_error_action'](); };
|
|
27414
|
+
export var makeChannelOrderAcceptanceFailed = function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_failed'](); };
|
|
27415
|
+
export var makeChannelOrderAcceptanceFailure = function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_failure'](); };
|
|
27416
|
+
export var makeChannelOrderAcceptanceFailureReasonCode = function () { return factories['io.flow.internal.v0.enums.channel_order_acceptance_failure_reason_code'](); };
|
|
27280
27417
|
export var makeChannelOrderAcceptanceForm = function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_form'](); };
|
|
27281
27418
|
export var makeChannelOrderAcceptanceNextActionFrom = function () { return factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](); };
|
|
27282
27419
|
export var makeChannelOrderAcceptanceReason = function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_reason'](); };
|
|
@@ -28067,6 +28204,8 @@ export var makeMerchantFees = function () { return factories['io.flow.internal.v
|
|
|
28067
28204
|
export var makeMerchantGuidAssignment = function () { return factories['io.flow.internal.v0.models.merchant_guid_assignment'](); };
|
|
28068
28205
|
export var makeMerchantGuidAssignmentDeleted = function () { return factories['io.flow.internal.v0.models.merchant_guid_assignment_deleted'](); };
|
|
28069
28206
|
export var makeMerchantGuidAssignmentUpserted = function () { return factories['io.flow.internal.v0.models.merchant_guid_assignment_upserted'](); };
|
|
28207
|
+
export var makeMerchantHubOverride = function () { return factories['io.flow.internal.v0.models.merchant_hub_override'](); };
|
|
28208
|
+
export var makeMerchantHubOverrideForm = function () { return factories['io.flow.internal.v0.models.merchant_hub_override_form'](); };
|
|
28070
28209
|
export var makeMerchantOfRecordEntitySettings = function () { return factories['io.flow.internal.v0.models.merchant_of_record_entity_settings'](); };
|
|
28071
28210
|
export var makeMerchantOfRecordEntitySettingsForm = function () { return factories['io.flow.internal.v0.models.merchant_of_record_entity_settings_form'](); };
|
|
28072
28211
|
export var makeMerchantSearchResult = function () { return factories['io.flow.internal.v0.models.merchant_search_result'](); };
|
|
@@ -28272,6 +28411,7 @@ export var makePartnerOrganizationSettings = function () { return factories['io.
|
|
|
28272
28411
|
export var makePartnerOrganizationSettingsDeleted = function () { return factories['io.flow.internal.v0.models.partner_organization_settings_deleted'](); };
|
|
28273
28412
|
export var makePartnerOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.partner_organization_settings_form'](); };
|
|
28274
28413
|
export var makePartnerOrganizationSettingsUpserted = function () { return factories['io.flow.internal.v0.models.partner_organization_settings_upserted'](); };
|
|
28414
|
+
export var makePartnerRequest = function () { return factories['io.flow.internal.v0.models.partner_request'](); };
|
|
28275
28415
|
export var makeParty = function () { return factories['io.flow.internal.v0.enums.party'](); };
|
|
28276
28416
|
export var makePassphrase = function () { return factories['io.flow.internal.v0.models.passphrase'](); };
|
|
28277
28417
|
export var makePassphraseForm = function () { return factories['io.flow.internal.v0.models.passphrase_form'](); };
|
|
@@ -28359,17 +28499,20 @@ export var makeProductClassification = function () { return factories['io.flow.i
|
|
|
28359
28499
|
export var makeProductClassificationForm = function () { return factories['io.flow.internal.v0.models.product_classification_form'](); };
|
|
28360
28500
|
export var makeProductClassificationJudgementForm = function () { return factories['io.flow.internal.v0.models.product_classification_judgement_form'](); };
|
|
28361
28501
|
export var makeProductClassificationResult = function () { return factories['io.flow.internal.v0.models.product_classification_result'](); };
|
|
28502
|
+
export var makeProductCurrencies = function () { return factories['io.flow.internal.v0.models.product_currencies'](); };
|
|
28362
28503
|
export var makeProductDetailSettingsForm = function () { return factories['io.flow.internal.v0.models.product_detail_settings_form'](); };
|
|
28363
28504
|
export var makeProductHarmonization = function () { return factories['io.flow.internal.v0.models.product_harmonization'](); };
|
|
28364
28505
|
export var makeProductHarmonizationForm = function () { return factories['io.flow.internal.v0.models.product_harmonization_form'](); };
|
|
28365
28506
|
export var makeProductLabels = function () { return factories['io.flow.internal.v0.models.product_labels'](); };
|
|
28366
28507
|
export var makeProductListSettingsForm = function () { return factories['io.flow.internal.v0.models.product_list_settings_form'](); };
|
|
28508
|
+
export var makeProductRecord = function () { return factories['io.flow.internal.v0.models.product_record'](); };
|
|
28367
28509
|
export var makeProductRestrictionResultValidationError = function () { return factories['io.flow.internal.v0.models.product_restriction_result_validation_error'](); };
|
|
28368
28510
|
export var makeProductRestrictionRuleDecision = function () { return factories['io.flow.internal.v0.models.product_restriction_rule_decision'](); };
|
|
28369
28511
|
export var makeProductRestrictionRuleDecisionDeleted = function () { return factories['io.flow.internal.v0.models.product_restriction_rule_decision_deleted'](); };
|
|
28370
28512
|
export var makeProductRestrictionRuleDecisionUpserted = function () { return factories['io.flow.internal.v0.models.product_restriction_rule_decision_upserted'](); };
|
|
28371
28513
|
export var makeProductReviewHistory = function () { return factories['io.flow.internal.v0.models.product_review_history'](); };
|
|
28372
28514
|
export var makeProductStatus = function () { return factories['io.flow.internal.v0.enums.product_status'](); };
|
|
28515
|
+
export var makeProductTransaction = function () { return factories['io.flow.internal.v0.models.product_transaction'](); };
|
|
28373
28516
|
export var makeProfit = function () { return factories['io.flow.internal.v0.models.profit'](); };
|
|
28374
28517
|
export var makeProfitShare = function () { return factories['io.flow.internal.v0.models.profit_share'](); };
|
|
28375
28518
|
export var makeProfitShareOrderReference = function () { return factories['io.flow.internal.v0.models.profit_share_order_reference'](); };
|
|
@@ -28389,6 +28532,8 @@ export var makeProofOfPostingOrderCancellation = function () { return factories[
|
|
|
28389
28532
|
export var makeProofOfPostingOrderCombinedShipment = function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment'](); };
|
|
28390
28533
|
export var makeProofOfPostingShippingNotification = function () { return factories['io.flow.internal.v0.models.proof_of_posting_shipping_notification'](); };
|
|
28391
28534
|
export var makeProofOfPostingTimeElapsed = function () { return factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed'](); };
|
|
28535
|
+
export var makePublicHub = function () { return factories['io.flow.internal.v0.models.public_hub'](); };
|
|
28536
|
+
export var makePublicHubForm = function () { return factories['io.flow.internal.v0.models.public_hub_form'](); };
|
|
28392
28537
|
export var makeQuote = function () { return factories['io.flow.internal.v0.models.quote'](); };
|
|
28393
28538
|
export var makeQuoteDeleted = function () { return factories['io.flow.internal.v0.models.quote_deleted'](); };
|
|
28394
28539
|
export var makeQuoteRequest = function () { return factories['io.flow.internal.v0.models.quote_request'](); };
|
|
@@ -62,10 +62,13 @@ export declare const makeAdyenCancelDeleted: () => io.flow.internal.v0.models.Ad
|
|
|
62
62
|
export declare const makeAdyenCancelUpserted: () => io.flow.internal.v0.models.AdyenCancelUpserted;
|
|
63
63
|
export declare const makeAdyenCaptureDeleted: () => io.flow.internal.v0.models.AdyenCaptureDeleted;
|
|
64
64
|
export declare const makeAdyenCaptureUpserted: () => io.flow.internal.v0.models.AdyenCaptureUpserted;
|
|
65
|
+
export declare const makeAdyenDisputeDeleted: () => io.flow.internal.v0.models.AdyenDisputeDeleted;
|
|
66
|
+
export declare const makeAdyenDisputeUpserted: () => io.flow.internal.v0.models.AdyenDisputeUpserted;
|
|
65
67
|
export declare const makeAdyenIntegrationType: () => io.flow.internal.v0.enums.AdyenIntegrationType;
|
|
66
68
|
export declare const makeAdyenInternalAuthorization: () => io.flow.internal.v0.models.AdyenInternalAuthorization;
|
|
67
69
|
export declare const makeAdyenInternalCancel: () => io.flow.internal.v0.models.AdyenInternalCancel;
|
|
68
70
|
export declare const makeAdyenInternalCapture: () => io.flow.internal.v0.models.AdyenInternalCapture;
|
|
71
|
+
export declare const makeAdyenInternalDispute: () => io.flow.internal.v0.models.AdyenInternalDispute;
|
|
69
72
|
export declare const makeAdyenInternalRefund: () => io.flow.internal.v0.models.AdyenInternalRefund;
|
|
70
73
|
export declare const makeAdyenMerchant: () => io.flow.internal.v0.models.AdyenMerchant;
|
|
71
74
|
export declare const makeAdyenMerchantAccount: () => io.flow.internal.v0.models.AdyenMerchantAccount;
|
|
@@ -278,6 +281,9 @@ export declare const makeChannelOrderAcceptance: () => io.flow.internal.v0.model
|
|
|
278
281
|
export declare const makeChannelOrderAcceptanceDeleted: () => io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted;
|
|
279
282
|
export declare const makeChannelOrderAcceptanceDetails: () => io.flow.internal.v0.models.ChannelOrderAcceptanceDetails;
|
|
280
283
|
export declare const makeChannelOrderAcceptanceErrorAction: () => io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
|
|
284
|
+
export declare const makeChannelOrderAcceptanceFailed: () => io.flow.internal.v0.models.ChannelOrderAcceptanceFailed;
|
|
285
|
+
export declare const makeChannelOrderAcceptanceFailure: () => io.flow.internal.v0.models.ChannelOrderAcceptanceFailure;
|
|
286
|
+
export declare const makeChannelOrderAcceptanceFailureReasonCode: () => io.flow.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode;
|
|
281
287
|
export declare const makeChannelOrderAcceptanceForm: () => io.flow.internal.v0.models.ChannelOrderAcceptanceForm;
|
|
282
288
|
export declare const makeChannelOrderAcceptanceNextActionFrom: () => io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
|
|
283
289
|
export declare const makeChannelOrderAcceptanceReason: () => io.flow.internal.v0.models.ChannelOrderAcceptanceReason;
|
|
@@ -1068,6 +1074,8 @@ export declare const makeMerchantFees: () => io.flow.internal.v0.models.Merchant
|
|
|
1068
1074
|
export declare const makeMerchantGuidAssignment: () => io.flow.internal.v0.models.MerchantGuidAssignment;
|
|
1069
1075
|
export declare const makeMerchantGuidAssignmentDeleted: () => io.flow.internal.v0.models.MerchantGuidAssignmentDeleted;
|
|
1070
1076
|
export declare const makeMerchantGuidAssignmentUpserted: () => io.flow.internal.v0.models.MerchantGuidAssignmentUpserted;
|
|
1077
|
+
export declare const makeMerchantHubOverride: () => io.flow.internal.v0.models.MerchantHubOverride;
|
|
1078
|
+
export declare const makeMerchantHubOverrideForm: () => io.flow.internal.v0.models.MerchantHubOverrideForm;
|
|
1071
1079
|
export declare const makeMerchantOfRecordEntitySettings: () => io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
|
|
1072
1080
|
export declare const makeMerchantOfRecordEntitySettingsForm: () => io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
|
|
1073
1081
|
export declare const makeMerchantSearchResult: () => io.flow.internal.v0.models.MerchantSearchResult;
|
|
@@ -1273,6 +1281,7 @@ export declare const makePartnerOrganizationSettings: () => io.flow.internal.v0.
|
|
|
1273
1281
|
export declare const makePartnerOrganizationSettingsDeleted: () => io.flow.internal.v0.models.PartnerOrganizationSettingsDeleted;
|
|
1274
1282
|
export declare const makePartnerOrganizationSettingsForm: () => io.flow.internal.v0.models.PartnerOrganizationSettingsForm;
|
|
1275
1283
|
export declare const makePartnerOrganizationSettingsUpserted: () => io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted;
|
|
1284
|
+
export declare const makePartnerRequest: () => io.flow.internal.v0.models.PartnerRequest;
|
|
1276
1285
|
export declare const makeParty: () => io.flow.internal.v0.enums.Party;
|
|
1277
1286
|
export declare const makePassphrase: () => io.flow.internal.v0.models.Passphrase;
|
|
1278
1287
|
export declare const makePassphraseForm: () => io.flow.internal.v0.models.PassphraseForm;
|
|
@@ -1360,17 +1369,20 @@ export declare const makeProductClassification: () => io.flow.internal.v0.models
|
|
|
1360
1369
|
export declare const makeProductClassificationForm: () => io.flow.internal.v0.models.ProductClassificationForm;
|
|
1361
1370
|
export declare const makeProductClassificationJudgementForm: () => io.flow.internal.v0.models.ProductClassificationJudgementForm;
|
|
1362
1371
|
export declare const makeProductClassificationResult: () => io.flow.internal.v0.models.ProductClassificationResult;
|
|
1372
|
+
export declare const makeProductCurrencies: () => io.flow.internal.v0.models.ProductCurrencies;
|
|
1363
1373
|
export declare const makeProductDetailSettingsForm: () => io.flow.internal.v0.models.ProductDetailSettingsForm;
|
|
1364
1374
|
export declare const makeProductHarmonization: () => io.flow.internal.v0.models.ProductHarmonization;
|
|
1365
1375
|
export declare const makeProductHarmonizationForm: () => io.flow.internal.v0.models.ProductHarmonizationForm;
|
|
1366
1376
|
export declare const makeProductLabels: () => io.flow.internal.v0.models.ProductLabels;
|
|
1367
1377
|
export declare const makeProductListSettingsForm: () => io.flow.internal.v0.models.ProductListSettingsForm;
|
|
1378
|
+
export declare const makeProductRecord: () => io.flow.internal.v0.models.ProductRecord;
|
|
1368
1379
|
export declare const makeProductRestrictionResultValidationError: () => io.flow.internal.v0.models.ProductRestrictionResultValidationError;
|
|
1369
1380
|
export declare const makeProductRestrictionRuleDecision: () => io.flow.internal.v0.models.ProductRestrictionRuleDecision;
|
|
1370
1381
|
export declare const makeProductRestrictionRuleDecisionDeleted: () => io.flow.internal.v0.models.ProductRestrictionRuleDecisionDeleted;
|
|
1371
1382
|
export declare const makeProductRestrictionRuleDecisionUpserted: () => io.flow.internal.v0.models.ProductRestrictionRuleDecisionUpserted;
|
|
1372
1383
|
export declare const makeProductReviewHistory: () => io.flow.internal.v0.models.ProductReviewHistory;
|
|
1373
1384
|
export declare const makeProductStatus: () => io.flow.internal.v0.enums.ProductStatus;
|
|
1385
|
+
export declare const makeProductTransaction: () => io.flow.internal.v0.models.ProductTransaction;
|
|
1374
1386
|
export declare const makeProfit: () => io.flow.internal.v0.models.Profit;
|
|
1375
1387
|
export declare const makeProfitShare: () => io.flow.internal.v0.models.ProfitShare;
|
|
1376
1388
|
export declare const makeProfitShareOrderReference: () => io.flow.internal.v0.models.ProfitShareOrderReference;
|
|
@@ -1390,6 +1402,8 @@ export declare const makeProofOfPostingOrderCancellation: () => io.flow.internal
|
|
|
1390
1402
|
export declare const makeProofOfPostingOrderCombinedShipment: () => io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
|
|
1391
1403
|
export declare const makeProofOfPostingShippingNotification: () => io.flow.internal.v0.models.ProofOfPostingShippingNotification;
|
|
1392
1404
|
export declare const makeProofOfPostingTimeElapsed: () => io.flow.internal.v0.models.ProofOfPostingTimeElapsed;
|
|
1405
|
+
export declare const makePublicHub: () => io.flow.internal.v0.models.PublicHub;
|
|
1406
|
+
export declare const makePublicHubForm: () => io.flow.internal.v0.models.PublicHubForm;
|
|
1393
1407
|
export declare const makeQuote: () => io.flow.internal.v0.models.Quote;
|
|
1394
1408
|
export declare const makeQuoteDeleted: () => io.flow.internal.v0.models.QuoteDeleted;
|
|
1395
1409
|
export declare const makeQuoteRequest: () => io.flow.internal.v0.models.QuoteRequest;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.112",
|
|
4
4
|
"description": "Flow API internal mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"@faker-js/faker": "^6.2.0",
|
|
38
38
|
"@flowio/api-types": "*"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "0dd960b5d48f8ac9f314c8593a3597630199ba40"
|
|
41
41
|
}
|