@flowio/api-factories 0.0.48 → 0.0.49
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 +116 -54
- package/dist/esm/api.js +82 -29
- package/dist/types/api.d.ts +13 -5
- package/package.json +2 -2
- package/src/api.ts +91 -30
package/dist/esm/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var factories = {
|
|
|
25
25
|
string: function () { return faker.datatype.string(); },
|
|
26
26
|
unit: function () { return undefined; },
|
|
27
27
|
uuid: function () { return faker.datatype.uuid(); },
|
|
28
|
-
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.helpers.arrayElement(['email', 'name', 'phone', '
|
|
28
|
+
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.helpers.arrayElement(['email', 'name', 'phone', 'postalAddress', 'phoneticName']); },
|
|
29
29
|
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': function () { return faker.helpers.arrayElement(['final', 'pending']); },
|
|
30
30
|
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': function () { return faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']); },
|
|
31
31
|
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker.helpers.arrayElement(['shipping', 'delivery', 'store_pickup', 'service_pickup']); },
|
|
@@ -41,7 +41,7 @@ var factories = {
|
|
|
41
41
|
'io.flow.apple.pay.v0.models.apple_pay_line_item': function () { return ({
|
|
42
42
|
label: factories.string(),
|
|
43
43
|
type: factories['io.flow.apple.pay.v0.enums.apple_pay_line_item_type'](),
|
|
44
|
-
amount: factories.
|
|
44
|
+
amount: factories.string(),
|
|
45
45
|
}); },
|
|
46
46
|
'io.flow.apple.pay.v0.models.apple_pay_payment_contact': function () { return ({
|
|
47
47
|
email_address: factories.string(),
|
|
@@ -88,7 +88,7 @@ var factories = {
|
|
|
88
88
|
'io.flow.apple.pay.v0.models.apple_pay_shipping_method': function () { return ({
|
|
89
89
|
label: factories.string(),
|
|
90
90
|
detail: factories.string(),
|
|
91
|
-
amount: factories.
|
|
91
|
+
amount: factories.string(),
|
|
92
92
|
identifier: factories.string(),
|
|
93
93
|
}); },
|
|
94
94
|
'io.flow.google.pay.v0.enums.auth_method': function () { return faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
|
|
@@ -821,7 +821,6 @@ var factories = {
|
|
|
821
821
|
id: factories.long(),
|
|
822
822
|
quantity: factories.long(),
|
|
823
823
|
fulfillable_quantity: factories.long(),
|
|
824
|
-
fulfillment_service: factories.string(),
|
|
825
824
|
fulfillment_status: factories['io.flow.shopify.external.v0.enums.fulfillment_status_type'](),
|
|
826
825
|
grams: factories.double(),
|
|
827
826
|
price: factories.string(),
|
|
@@ -841,7 +840,6 @@ var factories = {
|
|
|
841
840
|
}); },
|
|
842
841
|
'io.flow.shopify.external.v0.models.shopify_line_item_form': function () { return ({
|
|
843
842
|
fulfillable_quantity: factories.long(),
|
|
844
|
-
fulfillment_service: factories.string(),
|
|
845
843
|
fulfillment_status: factories['io.flow.shopify.external.v0.enums.fulfillment_status_type'](),
|
|
846
844
|
grams: factories.double(),
|
|
847
845
|
price: factories.string(),
|
|
@@ -1007,7 +1005,6 @@ var factories = {
|
|
|
1007
1005
|
title: factories.string(),
|
|
1008
1006
|
tax_lines: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.shopify_tax_line'](); }),
|
|
1009
1007
|
carrier_identifier: factories.string(),
|
|
1010
|
-
requested_fulfillment_service_id: factories.string(),
|
|
1011
1008
|
}); },
|
|
1012
1009
|
'io.flow.shopify.external.v0.models.shopify_tax_line': function () { return ({
|
|
1013
1010
|
price: factories.string(),
|
|
@@ -1902,7 +1899,6 @@ var factories = {
|
|
|
1902
1899
|
'io.flow.v0.enums.address_verification_result_field_code': function () { return faker.helpers.arrayElement(['matched', 'not_available', 'not_checked', 'not_matched']); },
|
|
1903
1900
|
'io.flow.v0.enums.adjustment_reason_key': function () { return faker.helpers.arrayElement(['duty_deminimis', 'vat_deminimis']); },
|
|
1904
1901
|
'io.flow.v0.enums.aggregate': function () { return faker.helpers.arrayElement(['maximum', 'minimum']); },
|
|
1905
|
-
'io.flow.v0.enums.attachment_type': function () { return faker.helpers.arrayElement(['csv']); },
|
|
1906
1902
|
'io.flow.v0.enums.attribute_data_type': function () { return faker.helpers.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']); },
|
|
1907
1903
|
'io.flow.v0.enums.attribute_intent': function () { return faker.helpers.arrayElement([
|
|
1908
1904
|
'brand',
|
|
@@ -2581,7 +2577,8 @@ var factories = {
|
|
|
2581
2577
|
'afterpay',
|
|
2582
2578
|
'bancontact',
|
|
2583
2579
|
]); },
|
|
2584
|
-
'io.flow.v0.enums.
|
|
2580
|
+
'io.flow.v0.enums.payout_attachment_type': function () { return faker.helpers.arrayElement(['transactions']); },
|
|
2581
|
+
'io.flow.v0.enums.payout_status_failure_code': function () { return faker.helpers.arrayElement(['invalid_account_number', 'could_not_process']); },
|
|
2585
2582
|
'io.flow.v0.enums.permitted_http_method': function () { return faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
2586
2583
|
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
2587
2584
|
'io.flow.v0.enums.postal_type': function () { return faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']); },
|
|
@@ -2688,6 +2685,7 @@ var factories = {
|
|
|
2688
2685
|
'io.flow.v0.enums.shopify_localization_method': function () { return faker.helpers.arrayElement(['api', 'ssr']); },
|
|
2689
2686
|
'io.flow.v0.enums.shopify_sync_check': function () { return faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']); },
|
|
2690
2687
|
'io.flow.v0.enums.sort_direction': function () { return faker.helpers.arrayElement(['ascending', 'descending']); },
|
|
2688
|
+
'io.flow.v0.enums.statement_attachment_type': function () { return faker.helpers.arrayElement(['csv']); },
|
|
2691
2689
|
'io.flow.v0.enums.strategy': function () { return faker.helpers.arrayElement(['range', 'from', 'to']); },
|
|
2692
2690
|
'io.flow.v0.enums.subcatalog_item_status': function () { return faker.helpers.arrayElement(['excluded', 'included', 'restricted']); },
|
|
2693
2691
|
'io.flow.v0.enums.surcharge_responsible_party': function () { return faker.helpers.arrayElement(['organization', 'customer']); },
|
|
@@ -3168,7 +3166,7 @@ var factories = {
|
|
|
3168
3166
|
ignore: factories.string(),
|
|
3169
3167
|
}); },
|
|
3170
3168
|
'io.flow.v0.models.attachment': function () { return ({
|
|
3171
|
-
type: factories['io.flow.v0.enums.
|
|
3169
|
+
type: factories['io.flow.v0.enums.statement_attachment_type'](),
|
|
3172
3170
|
url: factories.string(),
|
|
3173
3171
|
}); },
|
|
3174
3172
|
'io.flow.v0.models.attribute': function () { return ({
|
|
@@ -4024,6 +4022,15 @@ var factories = {
|
|
|
4024
4022
|
timestamp: factories.date_time_iso_8601(),
|
|
4025
4023
|
channel_organization: factories['io.flow.v0.models.channel_organization'](),
|
|
4026
4024
|
}); },
|
|
4025
|
+
'io.flow.v0.models.channel_payout': function () { return ({
|
|
4026
|
+
id: factories.string(),
|
|
4027
|
+
account: factories['io.flow.v0.models.account_reference'](),
|
|
4028
|
+
status: factories['io.flow.v0.unions.payout_status'](),
|
|
4029
|
+
amount: factories.decimal(),
|
|
4030
|
+
attachments: arrayOf(function () { return factories['io.flow.v0.models.payout_attachment'](); }),
|
|
4031
|
+
created_at: factories.date_time_iso_8601(),
|
|
4032
|
+
updated_at: factories.date_time_iso_8601(),
|
|
4033
|
+
}); },
|
|
4027
4034
|
'io.flow.v0.models.channel_rate': function () { return ({
|
|
4028
4035
|
placeholder: factories.string(),
|
|
4029
4036
|
}); },
|
|
@@ -4079,6 +4086,7 @@ var factories = {
|
|
|
4079
4086
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
4080
4087
|
currency: factories.string(),
|
|
4081
4088
|
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
4089
|
+
parent: factories['io.flow.v0.models.parent_transaction_summary'](),
|
|
4082
4090
|
gross: factories.decimal(),
|
|
4083
4091
|
fees: arrayOf(function () { return factories['io.flow.v0.models.fee_deduction'](); }),
|
|
4084
4092
|
withholdings: arrayOf(function () { return factories['io.flow.v0.models.withholding_deduction'](); }),
|
|
@@ -4086,6 +4094,7 @@ var factories = {
|
|
|
4086
4094
|
net: factories.decimal(),
|
|
4087
4095
|
identifiers: objectOf(function () { return factories.string(); }),
|
|
4088
4096
|
created_at: factories.date_time_iso_8601(),
|
|
4097
|
+
updated_at: factories.date_time_iso_8601(),
|
|
4089
4098
|
}); },
|
|
4090
4099
|
'io.flow.v0.models.channel_transaction_deleted': function () { return ({
|
|
4091
4100
|
discriminator: 'channel_transaction_deleted',
|
|
@@ -6859,10 +6868,6 @@ var factories = {
|
|
|
6859
6868
|
requested_quantity: factories.long(),
|
|
6860
6869
|
available_quantity: factories.long(),
|
|
6861
6870
|
}); },
|
|
6862
|
-
'io.flow.v0.models.no_payout': function () { return ({
|
|
6863
|
-
discriminator: 'no_payout',
|
|
6864
|
-
placeholder: factories.string(),
|
|
6865
|
-
}); },
|
|
6866
6871
|
'io.flow.v0.models.notification_deleted_v2': function () { return ({
|
|
6867
6872
|
discriminator: 'notification_deleted_v2',
|
|
6868
6873
|
event_id: factories.string(),
|
|
@@ -7714,6 +7719,15 @@ var factories = {
|
|
|
7714
7719
|
organization: factories.string(),
|
|
7715
7720
|
organization_onboarding_state: factories['io.flow.v0.models.organization_onboarding_state'](),
|
|
7716
7721
|
}); },
|
|
7722
|
+
'io.flow.v0.models.organization_payout': function () { return ({
|
|
7723
|
+
id: factories.string(),
|
|
7724
|
+
account: factories['io.flow.v0.models.account_reference'](),
|
|
7725
|
+
status: factories['io.flow.v0.unions.payout_status'](),
|
|
7726
|
+
amount: factories.decimal(),
|
|
7727
|
+
attachments: arrayOf(function () { return factories['io.flow.v0.models.payout_attachment'](); }),
|
|
7728
|
+
created_at: factories.date_time_iso_8601(),
|
|
7729
|
+
updated_at: factories.date_time_iso_8601(),
|
|
7730
|
+
}); },
|
|
7717
7731
|
'io.flow.v0.models.organization_put_form': function () { return ({
|
|
7718
7732
|
name: factories.string(),
|
|
7719
7733
|
environment: factories['io.flow.v0.enums.environment'](),
|
|
@@ -7862,6 +7876,10 @@ var factories = {
|
|
|
7862
7876
|
name: factories.string(),
|
|
7863
7877
|
number: factories.string(),
|
|
7864
7878
|
}); },
|
|
7879
|
+
'io.flow.v0.models.parent_transaction_summary': function () { return ({
|
|
7880
|
+
id: factories.string(),
|
|
7881
|
+
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
7882
|
+
}); },
|
|
7865
7883
|
'io.flow.v0.models.partner_center': function () { return ({
|
|
7866
7884
|
partner_reference: factories['io.flow.v0.models.partner_reference'](),
|
|
7867
7885
|
number: factories.string(),
|
|
@@ -8397,15 +8415,22 @@ var factories = {
|
|
|
8397
8415
|
type: factories['io.flow.v0.enums.change_type'](),
|
|
8398
8416
|
payment: factories['io.flow.v0.unions.payment'](),
|
|
8399
8417
|
}); },
|
|
8400
|
-
'io.flow.v0.models.
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
amount: factories.decimal(),
|
|
8404
|
-
sent_on: factories.date_time_iso_8601(),
|
|
8418
|
+
'io.flow.v0.models.payout_attachment': function () { return ({
|
|
8419
|
+
type: factories['io.flow.v0.enums.payout_attachment_type'](),
|
|
8420
|
+
url: factories.string(),
|
|
8405
8421
|
}); },
|
|
8406
|
-
'io.flow.v0.models.
|
|
8407
|
-
code:
|
|
8408
|
-
|
|
8422
|
+
'io.flow.v0.models.payout_status_failed': function () { return ({
|
|
8423
|
+
code: 'failed',
|
|
8424
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8425
|
+
reason: factories['io.flow.v0.enums.payout_status_failure_code'](),
|
|
8426
|
+
}); },
|
|
8427
|
+
'io.flow.v0.models.payout_status_scheduled': function () { return ({
|
|
8428
|
+
code: 'scheduled',
|
|
8429
|
+
placeholder: factories.string(),
|
|
8430
|
+
}); },
|
|
8431
|
+
'io.flow.v0.models.payout_status_sent': function () { return ({
|
|
8432
|
+
code: 'sent',
|
|
8433
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8409
8434
|
}); },
|
|
8410
8435
|
'io.flow.v0.models.paypal_authorization_details': function () { return ({
|
|
8411
8436
|
discriminator: 'paypal_authorization_details',
|
|
@@ -9620,13 +9645,23 @@ var factories = {
|
|
|
9620
9645
|
'io.flow.v0.models.session_visitor': function () { return ({
|
|
9621
9646
|
id: factories.string(),
|
|
9622
9647
|
}); },
|
|
9648
|
+
'io.flow.v0.models.settlement_no_payout': function () { return ({
|
|
9649
|
+
discriminator: 'no_payout',
|
|
9650
|
+
placeholder: factories.string(),
|
|
9651
|
+
}); },
|
|
9652
|
+
'io.flow.v0.models.settlement_payout': function () { return ({
|
|
9653
|
+
discriminator: 'payout',
|
|
9654
|
+
status: factories['io.flow.v0.unions.payout_status'](),
|
|
9655
|
+
amount: factories.decimal(),
|
|
9656
|
+
sent_on: factories.date_time_iso_8601(),
|
|
9657
|
+
}); },
|
|
9623
9658
|
'io.flow.v0.models.setup_blocked': function () { return ({
|
|
9624
9659
|
discriminator: 'setup_blocked',
|
|
9625
9660
|
reasons: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_blocked_reason'](); }),
|
|
9626
9661
|
}); },
|
|
9627
9662
|
'io.flow.v0.models.setup_completed': function () { return ({
|
|
9628
9663
|
discriminator: 'setup_completed',
|
|
9629
|
-
|
|
9664
|
+
third_party_logistics_guid: factories.string(),
|
|
9630
9665
|
}); },
|
|
9631
9666
|
'io.flow.v0.models.setup_in_progress': function () { return ({
|
|
9632
9667
|
discriminator: 'setup_in_progress',
|
|
@@ -10821,6 +10856,7 @@ var factories = {
|
|
|
10821
10856
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
10822
10857
|
currency: factories.string(),
|
|
10823
10858
|
source: factories['io.flow.v0.enums.transaction_source'](),
|
|
10859
|
+
parent: factories['io.flow.v0.models.parent_transaction_summary'](),
|
|
10824
10860
|
gross: factories.decimal(),
|
|
10825
10861
|
fees: arrayOf(function () { return factories['io.flow.v0.models.fee_deduction'](); }),
|
|
10826
10862
|
withholdings: arrayOf(function () { return factories['io.flow.v0.models.withholding_deduction'](); }),
|
|
@@ -10828,6 +10864,7 @@ var factories = {
|
|
|
10828
10864
|
net: factories.decimal(),
|
|
10829
10865
|
identifiers: objectOf(function () { return factories.string(); }),
|
|
10830
10866
|
created_at: factories.date_time_iso_8601(),
|
|
10867
|
+
updated_at: factories.date_time_iso_8601(),
|
|
10831
10868
|
}); },
|
|
10832
10869
|
'io.flow.v0.models.transaction_details_card': function () { return ({
|
|
10833
10870
|
type: 'card',
|
|
@@ -11777,6 +11814,14 @@ var factories = {
|
|
|
11777
11814
|
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.card_payment_source_form'](); }]);
|
|
11778
11815
|
return f();
|
|
11779
11816
|
},
|
|
11817
|
+
'io.flow.v0.unions.payout_status': function () {
|
|
11818
|
+
var f = faker.helpers.arrayElement([
|
|
11819
|
+
function () { return factories['io.flow.v0.models.payout_status_scheduled'](); },
|
|
11820
|
+
function () { return factories['io.flow.v0.models.payout_status_sent'](); },
|
|
11821
|
+
function () { return factories['io.flow.v0.models.payout_status_failed'](); },
|
|
11822
|
+
]);
|
|
11823
|
+
return f();
|
|
11824
|
+
},
|
|
11780
11825
|
'io.flow.v0.unions.price_source': function () {
|
|
11781
11826
|
var f = faker.helpers.arrayElement([
|
|
11782
11827
|
function () { return factories['io.flow.v0.models.price_source_price_book'](); },
|
|
@@ -11896,8 +11941,8 @@ var factories = {
|
|
|
11896
11941
|
},
|
|
11897
11942
|
'io.flow.v0.unions.settlement': function () {
|
|
11898
11943
|
var f = faker.helpers.arrayElement([
|
|
11899
|
-
function () { return factories['io.flow.v0.models.
|
|
11900
|
-
function () { return factories['io.flow.v0.models.
|
|
11944
|
+
function () { return factories['io.flow.v0.models.settlement_no_payout'](); },
|
|
11945
|
+
function () { return factories['io.flow.v0.models.settlement_payout'](); },
|
|
11901
11946
|
]);
|
|
11902
11947
|
return f();
|
|
11903
11948
|
},
|
|
@@ -12056,7 +12101,6 @@ export var makeAnalyticsExportType = function () { return factories['io.flow.v0.
|
|
|
12056
12101
|
export var makeApplePayMerchantValidationPayload = function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); };
|
|
12057
12102
|
export var makeAtCost = function () { return factories['io.flow.v0.models.at_cost'](); };
|
|
12058
12103
|
export var makeAttachment = function () { return factories['io.flow.v0.models.attachment'](); };
|
|
12059
|
-
export var makeAttachmentType = function () { return factories['io.flow.v0.enums.attachment_type'](); };
|
|
12060
12104
|
export var makeAttribute = function () { return factories['io.flow.v0.models.attribute'](); };
|
|
12061
12105
|
export var makeAttributeDataType = function () { return factories['io.flow.v0.enums.attribute_data_type'](); };
|
|
12062
12106
|
export var makeAttributeDeleted = function () { return factories['io.flow.v0.models.attribute_deleted'](); };
|
|
@@ -12221,6 +12265,7 @@ export var makeChannelOrganizationDeleted = function () { return factories['io.f
|
|
|
12221
12265
|
export var makeChannelOrganizationForm = function () { return factories['io.flow.v0.models.channel_organization_form'](); };
|
|
12222
12266
|
export var makeChannelOrganizationPutForm = function () { return factories['io.flow.v0.models.channel_organization_put_form'](); };
|
|
12223
12267
|
export var makeChannelOrganizationUpserted = function () { return factories['io.flow.v0.models.channel_organization_upserted'](); };
|
|
12268
|
+
export var makeChannelPayout = function () { return factories['io.flow.v0.models.channel_payout'](); };
|
|
12224
12269
|
export var makeChannelRate = function () { return factories['io.flow.v0.models.channel_rate'](); };
|
|
12225
12270
|
export var makeChannelReference = function () { return factories['io.flow.v0.models.channel_reference'](); };
|
|
12226
12271
|
export var makeChannelStatement = function () { return factories['io.flow.v0.models.channel_statement'](); };
|
|
@@ -12808,7 +12853,6 @@ export var makeName = function () { return factories['io.flow.v0.models.name']()
|
|
|
12808
12853
|
export var makeNameForm = function () { return factories['io.flow.v0.models.name_form'](); };
|
|
12809
12854
|
export var makeNoInventoryReservationError = function () { return factories['io.flow.v0.models.no_inventory_reservation_error'](); };
|
|
12810
12855
|
export var makeNoInventoryReservationErrorItem = function () { return factories['io.flow.v0.models.no_inventory_reservation_error_item'](); };
|
|
12811
|
-
export var makeNoPayout = function () { return factories['io.flow.v0.models.no_payout'](); };
|
|
12812
12856
|
export var makeNotificationDeletedV2 = function () { return factories['io.flow.v0.models.notification_deleted_v2'](); };
|
|
12813
12857
|
export var makeNotificationUpsertedV2 = function () { return factories['io.flow.v0.models.notification_upserted_v2'](); };
|
|
12814
12858
|
export var makeNumberRange = function () { return factories['io.flow.v0.models.number_range'](); };
|
|
@@ -12972,6 +13016,7 @@ export var makeOrganizationOnboardingState = function () { return factories['io.
|
|
|
12972
13016
|
export var makeOrganizationOnboardingStateDeleted = function () { return factories['io.flow.v0.models.organization_onboarding_state_deleted'](); };
|
|
12973
13017
|
export var makeOrganizationOnboardingStateUpserted = function () { return factories['io.flow.v0.models.organization_onboarding_state_upserted'](); };
|
|
12974
13018
|
export var makeOrganizationPaymentMethodTag = function () { return factories['io.flow.v0.enums.organization_payment_method_tag'](); };
|
|
13019
|
+
export var makeOrganizationPayout = function () { return factories['io.flow.v0.models.organization_payout'](); };
|
|
12975
13020
|
export var makeOrganizationPutForm = function () { return factories['io.flow.v0.models.organization_put_form'](); };
|
|
12976
13021
|
export var makeOrganizationRatesData = function () { return factories['io.flow.v0.models.organization_rates_data'](); };
|
|
12977
13022
|
export var makeOrganizationRatesPublished = function () { return factories['io.flow.v0.models.organization_rates_published'](); };
|
|
@@ -12996,6 +13041,7 @@ export var makeOriginalPrices = function () { return factories['io.flow.v0.model
|
|
|
12996
13041
|
export var makeOutboundCartonFee = function () { return factories['io.flow.v0.models.outbound_carton_fee'](); };
|
|
12997
13042
|
export var makeOversizedShipmentRatecardFee = function () { return factories['io.flow.v0.models.oversized_shipment_ratecard_fee'](); };
|
|
12998
13043
|
export var makePackaging = function () { return factories['io.flow.v0.models.packaging'](); };
|
|
13044
|
+
export var makeParentTransactionSummary = function () { return factories['io.flow.v0.models.parent_transaction_summary'](); };
|
|
12999
13045
|
export var makePartnerCenter = function () { return factories['io.flow.v0.models.partner_center'](); };
|
|
13000
13046
|
export var makePartnerCenterFee = function () { return factories['io.flow.v0.unions.partner_center_fee'](); };
|
|
13001
13047
|
export var makePartnerCenterForm = function () { return factories['io.flow.v0.models.partner_center_form'](); };
|
|
@@ -13121,9 +13167,13 @@ export var makePaymentTax = function () { return factories['io.flow.v0.models.pa
|
|
|
13121
13167
|
export var makePaymentType = function () { return factories['io.flow.v0.enums.payment_type'](); };
|
|
13122
13168
|
export var makePaymentUpserted = function () { return factories['io.flow.v0.models.payment_upserted'](); };
|
|
13123
13169
|
export var makePaymentVersion = function () { return factories['io.flow.v0.models.payment_version'](); };
|
|
13124
|
-
export var
|
|
13125
|
-
export var
|
|
13126
|
-
export var
|
|
13170
|
+
export var makePayoutAttachment = function () { return factories['io.flow.v0.models.payout_attachment'](); };
|
|
13171
|
+
export var makePayoutAttachmentType = function () { return factories['io.flow.v0.enums.payout_attachment_type'](); };
|
|
13172
|
+
export var makePayoutStatus = function () { return factories['io.flow.v0.unions.payout_status'](); };
|
|
13173
|
+
export var makePayoutStatusFailed = function () { return factories['io.flow.v0.models.payout_status_failed'](); };
|
|
13174
|
+
export var makePayoutStatusFailureCode = function () { return factories['io.flow.v0.enums.payout_status_failure_code'](); };
|
|
13175
|
+
export var makePayoutStatusScheduled = function () { return factories['io.flow.v0.models.payout_status_scheduled'](); };
|
|
13176
|
+
export var makePayoutStatusSent = function () { return factories['io.flow.v0.models.payout_status_sent'](); };
|
|
13127
13177
|
export var makePaypalAuthorizationDetails = function () { return factories['io.flow.v0.models.paypal_authorization_details'](); };
|
|
13128
13178
|
export var makePaypalAuthorizationForm = function () { return factories['io.flow.v0.models.paypal_authorization_form'](); };
|
|
13129
13179
|
export var makePeakSurchargeByWeightServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); };
|
|
@@ -13360,6 +13410,8 @@ export var makeSessionReference = function () { return factories['io.flow.v0.mod
|
|
|
13360
13410
|
export var makeSessionVisit = function () { return factories['io.flow.v0.models.session_visit'](); };
|
|
13361
13411
|
export var makeSessionVisitor = function () { return factories['io.flow.v0.models.session_visitor'](); };
|
|
13362
13412
|
export var makeSettlement = function () { return factories['io.flow.v0.unions.settlement'](); };
|
|
13413
|
+
export var makeSettlementNoPayout = function () { return factories['io.flow.v0.models.settlement_no_payout'](); };
|
|
13414
|
+
export var makeSettlementPayout = function () { return factories['io.flow.v0.models.settlement_payout'](); };
|
|
13363
13415
|
export var makeSetupBlocked = function () { return factories['io.flow.v0.models.setup_blocked'](); };
|
|
13364
13416
|
export var makeSetupCompleted = function () { return factories['io.flow.v0.models.setup_completed'](); };
|
|
13365
13417
|
export var makeSetupInProgress = function () { return factories['io.flow.v0.models.setup_in_progress'](); };
|
|
@@ -13458,6 +13510,7 @@ export var makeSolidusProductExportType = function () { return factories['io.flo
|
|
|
13458
13510
|
export var makeSolidusVariantExportType = function () { return factories['io.flow.v0.models.solidus_variant_export_type'](); };
|
|
13459
13511
|
export var makeSortDirection = function () { return factories['io.flow.v0.enums.sort_direction'](); };
|
|
13460
13512
|
export var makeStatement = function () { return factories['io.flow.v0.models.statement'](); };
|
|
13513
|
+
export var makeStatementAttachmentType = function () { return factories['io.flow.v0.enums.statement_attachment_type'](); };
|
|
13461
13514
|
export var makeStatementDeleted = function () { return factories['io.flow.v0.models.statement_deleted'](); };
|
|
13462
13515
|
export var makeStatementUpserted = function () { return factories['io.flow.v0.models.statement_upserted'](); };
|
|
13463
13516
|
export var makeStrategy = function () { return factories['io.flow.v0.enums.strategy'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -68,7 +68,6 @@ export declare const makeAnalyticsExportType: () => io.flow.v0.models.AnalyticsE
|
|
|
68
68
|
export declare const makeApplePayMerchantValidationPayload: () => io.flow.v0.models.ApplePayMerchantValidationPayload;
|
|
69
69
|
export declare const makeAtCost: () => io.flow.v0.models.AtCost;
|
|
70
70
|
export declare const makeAttachment: () => io.flow.v0.models.Attachment;
|
|
71
|
-
export declare const makeAttachmentType: () => "csv";
|
|
72
71
|
export declare const makeAttribute: () => io.flow.v0.models.Attribute;
|
|
73
72
|
export declare const makeAttributeDataType: () => io.flow.v0.enums.AttributeDataType;
|
|
74
73
|
export declare const makeAttributeDeleted: () => io.flow.v0.models.AttributeDeleted;
|
|
@@ -233,6 +232,7 @@ export declare const makeChannelOrganizationDeleted: () => io.flow.v0.models.Cha
|
|
|
233
232
|
export declare const makeChannelOrganizationForm: () => io.flow.v0.models.ChannelOrganizationForm;
|
|
234
233
|
export declare const makeChannelOrganizationPutForm: () => io.flow.v0.models.ChannelOrganizationPutForm;
|
|
235
234
|
export declare const makeChannelOrganizationUpserted: () => io.flow.v0.models.ChannelOrganizationUpserted;
|
|
235
|
+
export declare const makeChannelPayout: () => io.flow.v0.models.ChannelPayout;
|
|
236
236
|
export declare const makeChannelRate: () => io.flow.v0.models.ChannelRate;
|
|
237
237
|
export declare const makeChannelReference: () => io.flow.v0.models.ChannelReference;
|
|
238
238
|
export declare const makeChannelStatement: () => io.flow.v0.models.ChannelStatement;
|
|
@@ -820,7 +820,6 @@ export declare const makeName: () => io.flow.v0.models.Name;
|
|
|
820
820
|
export declare const makeNameForm: () => io.flow.v0.models.NameForm;
|
|
821
821
|
export declare const makeNoInventoryReservationError: () => io.flow.v0.models.NoInventoryReservationError;
|
|
822
822
|
export declare const makeNoInventoryReservationErrorItem: () => io.flow.v0.models.NoInventoryReservationErrorItem;
|
|
823
|
-
export declare const makeNoPayout: () => io.flow.v0.models.NoPayout;
|
|
824
823
|
export declare const makeNotificationDeletedV2: () => io.flow.v0.models.NotificationDeletedV2;
|
|
825
824
|
export declare const makeNotificationUpsertedV2: () => io.flow.v0.models.NotificationUpsertedV2;
|
|
826
825
|
export declare const makeNumberRange: () => io.flow.v0.models.NumberRange;
|
|
@@ -984,6 +983,7 @@ export declare const makeOrganizationOnboardingState: () => io.flow.v0.models.Or
|
|
|
984
983
|
export declare const makeOrganizationOnboardingStateDeleted: () => io.flow.v0.models.OrganizationOnboardingStateDeleted;
|
|
985
984
|
export declare const makeOrganizationOnboardingStateUpserted: () => io.flow.v0.models.OrganizationOnboardingStateUpserted;
|
|
986
985
|
export declare const makeOrganizationPaymentMethodTag: () => "deny";
|
|
986
|
+
export declare const makeOrganizationPayout: () => io.flow.v0.models.OrganizationPayout;
|
|
987
987
|
export declare const makeOrganizationPutForm: () => io.flow.v0.models.OrganizationPutForm;
|
|
988
988
|
export declare const makeOrganizationRatesData: () => io.flow.v0.models.OrganizationRatesData;
|
|
989
989
|
export declare const makeOrganizationRatesPublished: () => io.flow.v0.models.OrganizationRatesPublished;
|
|
@@ -1008,6 +1008,7 @@ export declare const makeOriginalPrices: () => io.flow.v0.models.OriginalPrices;
|
|
|
1008
1008
|
export declare const makeOutboundCartonFee: () => io.flow.v0.models.OutboundCartonFee;
|
|
1009
1009
|
export declare const makeOversizedShipmentRatecardFee: () => io.flow.v0.models.OversizedShipmentRatecardFee;
|
|
1010
1010
|
export declare const makePackaging: () => io.flow.v0.models.Packaging;
|
|
1011
|
+
export declare const makeParentTransactionSummary: () => io.flow.v0.models.ParentTransactionSummary;
|
|
1011
1012
|
export declare const makePartnerCenter: () => io.flow.v0.models.PartnerCenter;
|
|
1012
1013
|
export declare const makePartnerCenterFee: () => io.flow.v0.unions.PartnerCenterFee;
|
|
1013
1014
|
export declare const makePartnerCenterForm: () => io.flow.v0.models.PartnerCenterForm;
|
|
@@ -1133,9 +1134,13 @@ export declare const makePaymentTax: () => io.flow.v0.models.PaymentTax;
|
|
|
1133
1134
|
export declare const makePaymentType: () => io.flow.v0.enums.PaymentType;
|
|
1134
1135
|
export declare const makePaymentUpserted: () => io.flow.v0.models.PaymentUpserted;
|
|
1135
1136
|
export declare const makePaymentVersion: () => io.flow.v0.models.PaymentVersion;
|
|
1136
|
-
export declare const
|
|
1137
|
-
export declare const
|
|
1138
|
-
export declare const
|
|
1137
|
+
export declare const makePayoutAttachment: () => io.flow.v0.models.PayoutAttachment;
|
|
1138
|
+
export declare const makePayoutAttachmentType: () => "transactions";
|
|
1139
|
+
export declare const makePayoutStatus: () => io.flow.v0.unions.PayoutStatus;
|
|
1140
|
+
export declare const makePayoutStatusFailed: () => io.flow.v0.models.PayoutStatusFailed;
|
|
1141
|
+
export declare const makePayoutStatusFailureCode: () => io.flow.v0.enums.PayoutStatusFailureCode;
|
|
1142
|
+
export declare const makePayoutStatusScheduled: () => io.flow.v0.models.PayoutStatusScheduled;
|
|
1143
|
+
export declare const makePayoutStatusSent: () => io.flow.v0.models.PayoutStatusSent;
|
|
1139
1144
|
export declare const makePaypalAuthorizationDetails: () => io.flow.v0.models.PaypalAuthorizationDetails;
|
|
1140
1145
|
export declare const makePaypalAuthorizationForm: () => io.flow.v0.models.PaypalAuthorizationForm;
|
|
1141
1146
|
export declare const makePeakSurchargeByWeightServiceFee: () => io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
@@ -1372,6 +1377,8 @@ export declare const makeSessionReference: () => io.flow.v0.models.SessionRefere
|
|
|
1372
1377
|
export declare const makeSessionVisit: () => io.flow.v0.models.SessionVisit;
|
|
1373
1378
|
export declare const makeSessionVisitor: () => io.flow.v0.models.SessionVisitor;
|
|
1374
1379
|
export declare const makeSettlement: () => io.flow.v0.unions.Settlement;
|
|
1380
|
+
export declare const makeSettlementNoPayout: () => io.flow.v0.models.SettlementNoPayout;
|
|
1381
|
+
export declare const makeSettlementPayout: () => io.flow.v0.models.SettlementPayout;
|
|
1375
1382
|
export declare const makeSetupBlocked: () => io.flow.v0.models.SetupBlocked;
|
|
1376
1383
|
export declare const makeSetupCompleted: () => io.flow.v0.models.SetupCompleted;
|
|
1377
1384
|
export declare const makeSetupInProgress: () => io.flow.v0.models.SetupInProgress;
|
|
@@ -1470,6 +1477,7 @@ export declare const makeSolidusProductExportType: () => io.flow.v0.models.Solid
|
|
|
1470
1477
|
export declare const makeSolidusVariantExportType: () => io.flow.v0.models.SolidusVariantExportType;
|
|
1471
1478
|
export declare const makeSortDirection: () => io.flow.v0.enums.SortDirection;
|
|
1472
1479
|
export declare const makeStatement: () => io.flow.v0.models.Statement;
|
|
1480
|
+
export declare const makeStatementAttachmentType: () => "csv";
|
|
1473
1481
|
export declare const makeStatementDeleted: () => io.flow.v0.models.StatementDeleted;
|
|
1474
1482
|
export declare const makeStatementUpserted: () => io.flow.v0.models.StatementUpserted;
|
|
1475
1483
|
export declare const makeStrategy: () => io.flow.v0.enums.Strategy;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.49",
|
|
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": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "a8ae712ba7bc25f4abe216a620860b2f43e6c513"
|
|
40
40
|
}
|