@flowio/api-internal-mock-generator 0.1.14 → 0.1.15
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/api-internal.json +88 -0
- package/package.json +2 -3
- package/src/api-internal.json +88 -0
- package/LICENSE +0 -21
package/dist/api-internal.json
CHANGED
|
@@ -2355,6 +2355,36 @@
|
|
|
2355
2355
|
"type": "string",
|
|
2356
2356
|
"required": true
|
|
2357
2357
|
}]
|
|
2358
|
+
}, {
|
|
2359
|
+
"plural": "billing_statement_deleteds",
|
|
2360
|
+
"name": "billing_statement_deleted",
|
|
2361
|
+
"attributes": [],
|
|
2362
|
+
"fields": [{
|
|
2363
|
+
"name": "event_id",
|
|
2364
|
+
"annotations": [],
|
|
2365
|
+
"attributes": [],
|
|
2366
|
+
"type": "string",
|
|
2367
|
+
"required": true
|
|
2368
|
+
}, {
|
|
2369
|
+
"name": "timestamp",
|
|
2370
|
+
"annotations": [],
|
|
2371
|
+
"attributes": [],
|
|
2372
|
+
"type": "date-time-iso8601",
|
|
2373
|
+
"required": true
|
|
2374
|
+
}, {
|
|
2375
|
+
"name": "organization",
|
|
2376
|
+
"annotations": [],
|
|
2377
|
+
"description": "Refers to your organization's account identifier",
|
|
2378
|
+
"attributes": [],
|
|
2379
|
+
"type": "string",
|
|
2380
|
+
"required": true
|
|
2381
|
+
}, {
|
|
2382
|
+
"name": "statement",
|
|
2383
|
+
"annotations": [],
|
|
2384
|
+
"attributes": [],
|
|
2385
|
+
"type": "io.flow.billing.v0.models.billing_statement",
|
|
2386
|
+
"required": true
|
|
2387
|
+
}]
|
|
2358
2388
|
}, {
|
|
2359
2389
|
"plural": "billing_statement_pending_reviews",
|
|
2360
2390
|
"name": "billing_statement_pending_review",
|
|
@@ -2522,6 +2552,36 @@
|
|
|
2522
2552
|
"type": "io.flow.common.v0.models.price",
|
|
2523
2553
|
"required": true
|
|
2524
2554
|
}]
|
|
2555
|
+
}, {
|
|
2556
|
+
"plural": "billing_statement_upserteds",
|
|
2557
|
+
"name": "billing_statement_upserted",
|
|
2558
|
+
"attributes": [],
|
|
2559
|
+
"fields": [{
|
|
2560
|
+
"name": "event_id",
|
|
2561
|
+
"annotations": [],
|
|
2562
|
+
"attributes": [],
|
|
2563
|
+
"type": "string",
|
|
2564
|
+
"required": true
|
|
2565
|
+
}, {
|
|
2566
|
+
"name": "timestamp",
|
|
2567
|
+
"annotations": [],
|
|
2568
|
+
"attributes": [],
|
|
2569
|
+
"type": "date-time-iso8601",
|
|
2570
|
+
"required": true
|
|
2571
|
+
}, {
|
|
2572
|
+
"name": "organization",
|
|
2573
|
+
"annotations": [],
|
|
2574
|
+
"description": "Refers to your organization's account identifier",
|
|
2575
|
+
"attributes": [],
|
|
2576
|
+
"type": "string",
|
|
2577
|
+
"required": true
|
|
2578
|
+
}, {
|
|
2579
|
+
"name": "statement",
|
|
2580
|
+
"annotations": [],
|
|
2581
|
+
"attributes": [],
|
|
2582
|
+
"type": "io.flow.billing.v0.models.billing_statement",
|
|
2583
|
+
"required": true
|
|
2584
|
+
}]
|
|
2525
2585
|
}, {
|
|
2526
2586
|
"plural": "billing_transactions",
|
|
2527
2587
|
"name": "billing_transaction",
|
|
@@ -18900,6 +18960,14 @@
|
|
|
18900
18960
|
"discriminator_value": "adyen_refund_upserted",
|
|
18901
18961
|
"attributes": [],
|
|
18902
18962
|
"type": "adyen_refund_upserted"
|
|
18963
|
+
}, {
|
|
18964
|
+
"discriminator_value": "billing_statement_upserted",
|
|
18965
|
+
"attributes": [],
|
|
18966
|
+
"type": "billing_statement_upserted"
|
|
18967
|
+
}, {
|
|
18968
|
+
"discriminator_value": "billing_statement_deleted",
|
|
18969
|
+
"attributes": [],
|
|
18970
|
+
"type": "billing_statement_deleted"
|
|
18903
18971
|
}, {
|
|
18904
18972
|
"discriminator_value": "tax_remittance_transaction_upserted",
|
|
18905
18973
|
"attributes": [],
|
|
@@ -22874,6 +22942,20 @@
|
|
|
22874
22942
|
"unions": ["transaction"],
|
|
22875
22943
|
"models": ["account_put_form", "bank_payment", "bank_payment_form", "billing_allocation_breakout", "billing_authorization_reference", "billing_invoice_summary", "billing_order_destination", "billing_order_summary", "billing_organization_processing_rates", "billing_organization_settings", "billing_statement_pending_review", "billing_statement_review", "billing_statement_review_form", "components", "explicit_statement_date_form", "fee", "fees", "invoice_transaction", "manual_transaction", "manual_transaction_form", "pending_bank_payment", "pending_bank_payment_detail", "processing_transaction", "subscription_transaction", "tax_remittance_transaction", "transaction_reference", "transfer_transaction", "virtual_card_transaction"],
|
|
22876
22944
|
"annotations": []
|
|
22945
|
+
}, {
|
|
22946
|
+
"uri": "https://app.apibuilder.io/flow/billing/latest/service.json",
|
|
22947
|
+
"namespace": "io.flow.billing.v0",
|
|
22948
|
+
"organization": {
|
|
22949
|
+
"key": "flow"
|
|
22950
|
+
},
|
|
22951
|
+
"application": {
|
|
22952
|
+
"key": "billing"
|
|
22953
|
+
},
|
|
22954
|
+
"version": "0.6.30",
|
|
22955
|
+
"enums": ["billing_statement_attachment_key", "billing_transaction_status", "billing_transaction_type", "subscription_frequency"],
|
|
22956
|
+
"unions": ["repeat_schedule"],
|
|
22957
|
+
"models": ["account", "account_contact", "account_contact_form", "account_deposit_rule", "account_deposit_rule_form", "account_reference", "account_statistics", "billing_statement", "billing_statement_attachment", "billing_statement_reference", "billing_statement_totals", "billing_transaction", "email_form", "explicit_statement_date", "next_billing_statement", "repeat_daily", "repeat_monthly", "repeat_weekly", "subscription"],
|
|
22958
|
+
"annotations": []
|
|
22877
22959
|
}, {
|
|
22878
22960
|
"uri": "https://app.apibuilder.io/flow/fraud-internal/latest/service.json",
|
|
22879
22961
|
"namespace": "io.flow.fraud.internal.v0",
|
|
@@ -44582,6 +44664,12 @@
|
|
|
44582
44664
|
}, {
|
|
44583
44665
|
"name": "adyen_refund_upserted",
|
|
44584
44666
|
"attributes": []
|
|
44667
|
+
}, {
|
|
44668
|
+
"name": "billing_statement_upserted",
|
|
44669
|
+
"attributes": []
|
|
44670
|
+
}, {
|
|
44671
|
+
"name": "billing_statement_deleted",
|
|
44672
|
+
"attributes": []
|
|
44585
44673
|
}, {
|
|
44586
44674
|
"name": "tax_remittance_transaction_upserted",
|
|
44587
44675
|
"attributes": []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-mock-generator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "A mock data generator based on our internal API specifications for JavaScript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -33,6 +33,5 @@
|
|
|
33
33
|
"tslint": "^5.11.0",
|
|
34
34
|
"tslint-config-airbnb": "^5.11.1",
|
|
35
35
|
"typescript": "^3.2.2"
|
|
36
|
-
}
|
|
37
|
-
"gitHead": "4c31b825891faa56dc4f27dd67cef8e51b08ca76"
|
|
36
|
+
}
|
|
38
37
|
}
|
package/src/api-internal.json
CHANGED
|
@@ -2355,6 +2355,36 @@
|
|
|
2355
2355
|
"type" : "string",
|
|
2356
2356
|
"required" : true
|
|
2357
2357
|
} ]
|
|
2358
|
+
}, {
|
|
2359
|
+
"plural" : "billing_statement_deleteds",
|
|
2360
|
+
"name" : "billing_statement_deleted",
|
|
2361
|
+
"attributes" : [ ],
|
|
2362
|
+
"fields" : [ {
|
|
2363
|
+
"name" : "event_id",
|
|
2364
|
+
"annotations" : [ ],
|
|
2365
|
+
"attributes" : [ ],
|
|
2366
|
+
"type" : "string",
|
|
2367
|
+
"required" : true
|
|
2368
|
+
}, {
|
|
2369
|
+
"name" : "timestamp",
|
|
2370
|
+
"annotations" : [ ],
|
|
2371
|
+
"attributes" : [ ],
|
|
2372
|
+
"type" : "date-time-iso8601",
|
|
2373
|
+
"required" : true
|
|
2374
|
+
}, {
|
|
2375
|
+
"name" : "organization",
|
|
2376
|
+
"annotations" : [ ],
|
|
2377
|
+
"description" : "Refers to your organization's account identifier",
|
|
2378
|
+
"attributes" : [ ],
|
|
2379
|
+
"type" : "string",
|
|
2380
|
+
"required" : true
|
|
2381
|
+
}, {
|
|
2382
|
+
"name" : "statement",
|
|
2383
|
+
"annotations" : [ ],
|
|
2384
|
+
"attributes" : [ ],
|
|
2385
|
+
"type" : "io.flow.billing.v0.models.billing_statement",
|
|
2386
|
+
"required" : true
|
|
2387
|
+
} ]
|
|
2358
2388
|
}, {
|
|
2359
2389
|
"plural" : "billing_statement_pending_reviews",
|
|
2360
2390
|
"name" : "billing_statement_pending_review",
|
|
@@ -2522,6 +2552,36 @@
|
|
|
2522
2552
|
"type" : "io.flow.common.v0.models.price",
|
|
2523
2553
|
"required" : true
|
|
2524
2554
|
} ]
|
|
2555
|
+
}, {
|
|
2556
|
+
"plural" : "billing_statement_upserteds",
|
|
2557
|
+
"name" : "billing_statement_upserted",
|
|
2558
|
+
"attributes" : [ ],
|
|
2559
|
+
"fields" : [ {
|
|
2560
|
+
"name" : "event_id",
|
|
2561
|
+
"annotations" : [ ],
|
|
2562
|
+
"attributes" : [ ],
|
|
2563
|
+
"type" : "string",
|
|
2564
|
+
"required" : true
|
|
2565
|
+
}, {
|
|
2566
|
+
"name" : "timestamp",
|
|
2567
|
+
"annotations" : [ ],
|
|
2568
|
+
"attributes" : [ ],
|
|
2569
|
+
"type" : "date-time-iso8601",
|
|
2570
|
+
"required" : true
|
|
2571
|
+
}, {
|
|
2572
|
+
"name" : "organization",
|
|
2573
|
+
"annotations" : [ ],
|
|
2574
|
+
"description" : "Refers to your organization's account identifier",
|
|
2575
|
+
"attributes" : [ ],
|
|
2576
|
+
"type" : "string",
|
|
2577
|
+
"required" : true
|
|
2578
|
+
}, {
|
|
2579
|
+
"name" : "statement",
|
|
2580
|
+
"annotations" : [ ],
|
|
2581
|
+
"attributes" : [ ],
|
|
2582
|
+
"type" : "io.flow.billing.v0.models.billing_statement",
|
|
2583
|
+
"required" : true
|
|
2584
|
+
} ]
|
|
2525
2585
|
}, {
|
|
2526
2586
|
"plural" : "billing_transactions",
|
|
2527
2587
|
"name" : "billing_transaction",
|
|
@@ -18900,6 +18960,14 @@
|
|
|
18900
18960
|
"discriminator_value" : "adyen_refund_upserted",
|
|
18901
18961
|
"attributes" : [ ],
|
|
18902
18962
|
"type" : "adyen_refund_upserted"
|
|
18963
|
+
}, {
|
|
18964
|
+
"discriminator_value" : "billing_statement_upserted",
|
|
18965
|
+
"attributes" : [ ],
|
|
18966
|
+
"type" : "billing_statement_upserted"
|
|
18967
|
+
}, {
|
|
18968
|
+
"discriminator_value" : "billing_statement_deleted",
|
|
18969
|
+
"attributes" : [ ],
|
|
18970
|
+
"type" : "billing_statement_deleted"
|
|
18903
18971
|
}, {
|
|
18904
18972
|
"discriminator_value" : "tax_remittance_transaction_upserted",
|
|
18905
18973
|
"attributes" : [ ],
|
|
@@ -22874,6 +22942,20 @@
|
|
|
22874
22942
|
"unions" : [ "transaction" ],
|
|
22875
22943
|
"models" : [ "account_put_form", "bank_payment", "bank_payment_form", "billing_allocation_breakout", "billing_authorization_reference", "billing_invoice_summary", "billing_order_destination", "billing_order_summary", "billing_organization_processing_rates", "billing_organization_settings", "billing_statement_pending_review", "billing_statement_review", "billing_statement_review_form", "components", "explicit_statement_date_form", "fee", "fees", "invoice_transaction", "manual_transaction", "manual_transaction_form", "pending_bank_payment", "pending_bank_payment_detail", "processing_transaction", "subscription_transaction", "tax_remittance_transaction", "transaction_reference", "transfer_transaction", "virtual_card_transaction" ],
|
|
22876
22944
|
"annotations" : [ ]
|
|
22945
|
+
}, {
|
|
22946
|
+
"uri" : "https://app.apibuilder.io/flow/billing/latest/service.json",
|
|
22947
|
+
"namespace" : "io.flow.billing.v0",
|
|
22948
|
+
"organization" : {
|
|
22949
|
+
"key" : "flow"
|
|
22950
|
+
},
|
|
22951
|
+
"application" : {
|
|
22952
|
+
"key" : "billing"
|
|
22953
|
+
},
|
|
22954
|
+
"version" : "0.6.30",
|
|
22955
|
+
"enums" : [ "billing_statement_attachment_key", "billing_transaction_status", "billing_transaction_type", "subscription_frequency" ],
|
|
22956
|
+
"unions" : [ "repeat_schedule" ],
|
|
22957
|
+
"models" : [ "account", "account_contact", "account_contact_form", "account_deposit_rule", "account_deposit_rule_form", "account_reference", "account_statistics", "billing_statement", "billing_statement_attachment", "billing_statement_reference", "billing_statement_totals", "billing_transaction", "email_form", "explicit_statement_date", "next_billing_statement", "repeat_daily", "repeat_monthly", "repeat_weekly", "subscription" ],
|
|
22958
|
+
"annotations" : [ ]
|
|
22877
22959
|
}, {
|
|
22878
22960
|
"uri" : "https://app.apibuilder.io/flow/fraud-internal/latest/service.json",
|
|
22879
22961
|
"namespace" : "io.flow.fraud.internal.v0",
|
|
@@ -44582,6 +44664,12 @@
|
|
|
44582
44664
|
}, {
|
|
44583
44665
|
"name" : "adyen_refund_upserted",
|
|
44584
44666
|
"attributes" : [ ]
|
|
44667
|
+
}, {
|
|
44668
|
+
"name" : "billing_statement_upserted",
|
|
44669
|
+
"attributes" : [ ]
|
|
44670
|
+
}, {
|
|
44671
|
+
"name" : "billing_statement_deleted",
|
|
44672
|
+
"attributes" : [ ]
|
|
44585
44673
|
}, {
|
|
44586
44674
|
"name" : "tax_remittance_transaction_upserted",
|
|
44587
44675
|
"attributes" : [ ]
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Flow Commerce
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|