@flowio/api-factories 0.0.77 → 0.0.79
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 +3 -0
- package/dist/esm/api.js +3 -0
- package/package.json +2 -2
- package/src/api.ts +3 -0
package/dist/cjs/api.js
CHANGED
|
@@ -7578,6 +7578,7 @@ var factories = {
|
|
|
7578
7578
|
discriminator: 'merchant_rejected',
|
|
7579
7579
|
reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
|
|
7580
7580
|
description: factories.string(),
|
|
7581
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
7581
7582
|
}); },
|
|
7582
7583
|
'io.flow.v0.models.money': function () { return ({
|
|
7583
7584
|
amount: factories.double(),
|
|
@@ -11434,6 +11435,7 @@ var factories = {
|
|
|
11434
11435
|
currency: factories.string(),
|
|
11435
11436
|
lines: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_line_item_form'](); }),
|
|
11436
11437
|
shipping: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form'](); }),
|
|
11438
|
+
includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
|
|
11437
11439
|
}); },
|
|
11438
11440
|
'io.flow.v0.models.tax_duty_quote_line_item': function () { return ({
|
|
11439
11441
|
primary_identifier: factories.string(),
|
|
@@ -11847,6 +11849,7 @@ var factories = {
|
|
|
11847
11849
|
discriminator: 'shipping_label',
|
|
11848
11850
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
11849
11851
|
carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
|
|
11852
|
+
revenue_share_percentage: factories.decimal(),
|
|
11850
11853
|
}); },
|
|
11851
11854
|
'io.flow.v0.models.transaction_metadata_shipping_label_carrier': function () { return ({
|
|
11852
11855
|
id: factories.string(),
|
package/dist/esm/api.js
CHANGED
|
@@ -7537,6 +7537,7 @@ var factories = {
|
|
|
7537
7537
|
discriminator: 'merchant_rejected',
|
|
7538
7538
|
reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
|
|
7539
7539
|
description: factories.string(),
|
|
7540
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
7540
7541
|
}); },
|
|
7541
7542
|
'io.flow.v0.models.money': function () { return ({
|
|
7542
7543
|
amount: factories.double(),
|
|
@@ -11393,6 +11394,7 @@ var factories = {
|
|
|
11393
11394
|
currency: factories.string(),
|
|
11394
11395
|
lines: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_line_item_form'](); }),
|
|
11395
11396
|
shipping: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form'](); }),
|
|
11397
|
+
includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
|
|
11396
11398
|
}); },
|
|
11397
11399
|
'io.flow.v0.models.tax_duty_quote_line_item': function () { return ({
|
|
11398
11400
|
primary_identifier: factories.string(),
|
|
@@ -11806,6 +11808,7 @@ var factories = {
|
|
|
11806
11808
|
discriminator: 'shipping_label',
|
|
11807
11809
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
11808
11810
|
carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
|
|
11811
|
+
revenue_share_percentage: factories.decimal(),
|
|
11809
11812
|
}); },
|
|
11810
11813
|
'io.flow.v0.models.transaction_metadata_shipping_label_carrier': function () { return ({
|
|
11811
11814
|
id: factories.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.79",
|
|
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": "2bd18d938f840ec2fa147fa4651350a1bb75b33a"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -8669,6 +8669,7 @@ const factories = {
|
|
|
8669
8669
|
discriminator: 'merchant_rejected',
|
|
8670
8670
|
reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
|
|
8671
8671
|
description: factories.string(),
|
|
8672
|
+
deactivate_at: factories.date_time_iso_8601(),
|
|
8672
8673
|
}),
|
|
8673
8674
|
|
|
8674
8675
|
'io.flow.v0.models.money': (): io.flow.v0.models.Money => ({
|
|
@@ -13150,6 +13151,7 @@ const factories = {
|
|
|
13150
13151
|
currency: factories.string(),
|
|
13151
13152
|
lines: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_line_item_form']()),
|
|
13152
13153
|
shipping: arrayOf(() => factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form']()),
|
|
13154
|
+
includes: arrayOf(() => factories['io.flow.v0.enums.levy_inclusion']()),
|
|
13153
13155
|
}),
|
|
13154
13156
|
|
|
13155
13157
|
'io.flow.v0.models.tax_duty_quote_line_item': (): io.flow.v0.models.TaxDutyQuoteLineItem => ({
|
|
@@ -13629,6 +13631,7 @@ const factories = {
|
|
|
13629
13631
|
discriminator: 'shipping_label',
|
|
13630
13632
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
13631
13633
|
carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
|
|
13634
|
+
revenue_share_percentage: factories.decimal(),
|
|
13632
13635
|
}),
|
|
13633
13636
|
|
|
13634
13637
|
'io.flow.v0.models.transaction_metadata_shipping_label_carrier': (): io.flow.v0.models.TransactionMetadataShippingLabelCarrier => ({
|