@flowio/api-factories 0.0.22 → 0.0.24
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 +4 -3
- package/dist/esm/api.js +4 -3
- package/package.json +2 -2
- package/src/api.ts +4 -3
package/dist/cjs/api.js
CHANGED
|
@@ -401,7 +401,7 @@ var factories = {
|
|
|
401
401
|
key: factories.string(),
|
|
402
402
|
namespace: factories.string(),
|
|
403
403
|
value: factories.string(),
|
|
404
|
-
|
|
404
|
+
type: factories['io.flow.shopify.external.v0.enums.value_type'](),
|
|
405
405
|
description: factories.string(),
|
|
406
406
|
owner_id: factories.long(),
|
|
407
407
|
owner_resource: factories.string(),
|
|
@@ -410,7 +410,7 @@ var factories = {
|
|
|
410
410
|
key: factories.string(),
|
|
411
411
|
namespace: factories.string(),
|
|
412
412
|
value: factories.string(),
|
|
413
|
-
|
|
413
|
+
type: factories['io.flow.shopify.external.v0.enums.value_type'](),
|
|
414
414
|
description: factories.string(),
|
|
415
415
|
}); },
|
|
416
416
|
'io.flow.shopify.external.v0.models.option': function () { return ({
|
|
@@ -3456,6 +3456,7 @@ var factories = {
|
|
|
3456
3456
|
}); },
|
|
3457
3457
|
'io.flow.v0.models.billing_channel_payment_request_reference': function () { return ({
|
|
3458
3458
|
id: factories.string(),
|
|
3459
|
+
reference: factories.string(),
|
|
3459
3460
|
}); },
|
|
3460
3461
|
'io.flow.v0.models.billing_channel_statement_reference': function () { return ({
|
|
3461
3462
|
id: factories.string(),
|
|
@@ -9897,6 +9898,7 @@ var factories = {
|
|
|
9897
9898
|
'io.flow.v0.models.statement': function () { return ({
|
|
9898
9899
|
id: factories.string(),
|
|
9899
9900
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
9901
|
+
ending_balance: factories.decimal(),
|
|
9900
9902
|
payout: factories['io.flow.v0.models.payout'](),
|
|
9901
9903
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
|
|
9902
9904
|
}); },
|
|
@@ -10485,7 +10487,6 @@ var factories = {
|
|
|
10485
10487
|
}); },
|
|
10486
10488
|
'io.flow.v0.models.transaction': function () { return ({
|
|
10487
10489
|
id: factories.string(),
|
|
10488
|
-
external_transaction_id: factories.string(),
|
|
10489
10490
|
order: factories['io.flow.v0.models.billing_channel_order_reference'](),
|
|
10490
10491
|
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
10491
10492
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
package/dist/esm/api.js
CHANGED
|
@@ -364,7 +364,7 @@ var factories = {
|
|
|
364
364
|
key: factories.string(),
|
|
365
365
|
namespace: factories.string(),
|
|
366
366
|
value: factories.string(),
|
|
367
|
-
|
|
367
|
+
type: factories['io.flow.shopify.external.v0.enums.value_type'](),
|
|
368
368
|
description: factories.string(),
|
|
369
369
|
owner_id: factories.long(),
|
|
370
370
|
owner_resource: factories.string(),
|
|
@@ -373,7 +373,7 @@ var factories = {
|
|
|
373
373
|
key: factories.string(),
|
|
374
374
|
namespace: factories.string(),
|
|
375
375
|
value: factories.string(),
|
|
376
|
-
|
|
376
|
+
type: factories['io.flow.shopify.external.v0.enums.value_type'](),
|
|
377
377
|
description: factories.string(),
|
|
378
378
|
}); },
|
|
379
379
|
'io.flow.shopify.external.v0.models.option': function () { return ({
|
|
@@ -3419,6 +3419,7 @@ var factories = {
|
|
|
3419
3419
|
}); },
|
|
3420
3420
|
'io.flow.v0.models.billing_channel_payment_request_reference': function () { return ({
|
|
3421
3421
|
id: factories.string(),
|
|
3422
|
+
reference: factories.string(),
|
|
3422
3423
|
}); },
|
|
3423
3424
|
'io.flow.v0.models.billing_channel_statement_reference': function () { return ({
|
|
3424
3425
|
id: factories.string(),
|
|
@@ -9860,6 +9861,7 @@ var factories = {
|
|
|
9860
9861
|
'io.flow.v0.models.statement': function () { return ({
|
|
9861
9862
|
id: factories.string(),
|
|
9862
9863
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
9864
|
+
ending_balance: factories.decimal(),
|
|
9863
9865
|
payout: factories['io.flow.v0.models.payout'](),
|
|
9864
9866
|
attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
|
|
9865
9867
|
}); },
|
|
@@ -10448,7 +10450,6 @@ var factories = {
|
|
|
10448
10450
|
}); },
|
|
10449
10451
|
'io.flow.v0.models.transaction': function () { return ({
|
|
10450
10452
|
id: factories.string(),
|
|
10451
|
-
external_transaction_id: factories.string(),
|
|
10452
10453
|
order: factories['io.flow.v0.models.billing_channel_order_reference'](),
|
|
10453
10454
|
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
10454
10455
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
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": "fdff09214debd93ef272d05c24a88e5c108deded"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -420,7 +420,7 @@ const factories = {
|
|
|
420
420
|
key: factories.string(),
|
|
421
421
|
namespace: factories.string(),
|
|
422
422
|
value: factories.string(),
|
|
423
|
-
|
|
423
|
+
type: factories['io.flow.shopify.external.v0.enums.value_type'](),
|
|
424
424
|
description: factories.string(),
|
|
425
425
|
owner_id: factories.long(),
|
|
426
426
|
owner_resource: factories.string(),
|
|
@@ -430,7 +430,7 @@ const factories = {
|
|
|
430
430
|
key: factories.string(),
|
|
431
431
|
namespace: factories.string(),
|
|
432
432
|
value: factories.string(),
|
|
433
|
-
|
|
433
|
+
type: factories['io.flow.shopify.external.v0.enums.value_type'](),
|
|
434
434
|
description: factories.string(),
|
|
435
435
|
}),
|
|
436
436
|
|
|
@@ -3890,6 +3890,7 @@ const factories = {
|
|
|
3890
3890
|
|
|
3891
3891
|
'io.flow.v0.models.billing_channel_payment_request_reference': (): io.flow.v0.models.BillingChannelPaymentRequestReference => ({
|
|
3892
3892
|
id: factories.string(),
|
|
3893
|
+
reference: factories.string(),
|
|
3893
3894
|
}),
|
|
3894
3895
|
|
|
3895
3896
|
'io.flow.v0.models.billing_channel_statement_reference': (): io.flow.v0.models.BillingChannelStatementReference => ({
|
|
@@ -11390,6 +11391,7 @@ const factories = {
|
|
|
11390
11391
|
'io.flow.v0.models.statement': (): io.flow.v0.models.Statement => ({
|
|
11391
11392
|
id: factories.string(),
|
|
11392
11393
|
account: factories['io.flow.v0.models.account_reference'](),
|
|
11394
|
+
ending_balance: factories.decimal(),
|
|
11393
11395
|
payout: factories['io.flow.v0.models.payout'](),
|
|
11394
11396
|
attachments: arrayOf(() => factories['io.flow.v0.models.attachment']()),
|
|
11395
11397
|
}),
|
|
@@ -12075,7 +12077,6 @@ const factories = {
|
|
|
12075
12077
|
|
|
12076
12078
|
'io.flow.v0.models.transaction': (): io.flow.v0.models.Transaction => ({
|
|
12077
12079
|
id: factories.string(),
|
|
12078
|
-
external_transaction_id: factories.string(),
|
|
12079
12080
|
order: factories['io.flow.v0.models.billing_channel_order_reference'](),
|
|
12080
12081
|
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
12081
12082
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|