@botpress/api 0.75.0 → 0.77.0
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/index.js +1033 -381
- package/dist/src/gen/state.d.ts +53 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +69 -2
package/src/gen/state.ts
CHANGED
|
@@ -6442,10 +6442,77 @@ export const state = {
|
|
|
6442
6442
|
"total": {
|
|
6443
6443
|
"type": "number",
|
|
6444
6444
|
"description": "Total amount to pay of the invoice."
|
|
6445
|
+
},
|
|
6446
|
+
"lineItems": {
|
|
6447
|
+
"type": "array",
|
|
6448
|
+
"items": {
|
|
6449
|
+
"type": "object",
|
|
6450
|
+
"properties": {
|
|
6451
|
+
"id": {
|
|
6452
|
+
"type": "string"
|
|
6453
|
+
},
|
|
6454
|
+
"description": {
|
|
6455
|
+
"type": "string",
|
|
6456
|
+
"description": "Description of the line item."
|
|
6457
|
+
},
|
|
6458
|
+
"totalInCents": {
|
|
6459
|
+
"type": "number",
|
|
6460
|
+
"description": "Total amount to pay (in cents) of the line item."
|
|
6461
|
+
},
|
|
6462
|
+
"currency": {
|
|
6463
|
+
"type": "string",
|
|
6464
|
+
"maxLength": 3,
|
|
6465
|
+
"description": "Three-letter ISO currency code, in lowercase."
|
|
6466
|
+
},
|
|
6467
|
+
"pricePerUnitInCents": {
|
|
6468
|
+
"type": "number",
|
|
6469
|
+
"description": "Price per unit (in cents) of the line item.",
|
|
6470
|
+
"nullable": true
|
|
6471
|
+
},
|
|
6472
|
+
"quantity": {
|
|
6473
|
+
"type": "number",
|
|
6474
|
+
"description": "The quantity of the subscription, if the line item is a subscription or a proration.",
|
|
6475
|
+
"nullable": true
|
|
6476
|
+
},
|
|
6477
|
+
"type": {
|
|
6478
|
+
"type": "string",
|
|
6479
|
+
"enum": [
|
|
6480
|
+
"invoiceitem",
|
|
6481
|
+
"subscription"
|
|
6482
|
+
],
|
|
6483
|
+
"description": "Type of the line item."
|
|
6484
|
+
},
|
|
6485
|
+
"periodStart": {
|
|
6486
|
+
"type": "string",
|
|
6487
|
+
"format": "date",
|
|
6488
|
+
"description": "Start date of the line item period.",
|
|
6489
|
+
"nullable": true
|
|
6490
|
+
},
|
|
6491
|
+
"periodEnd": {
|
|
6492
|
+
"type": "string",
|
|
6493
|
+
"format": "date",
|
|
6494
|
+
"description": "End date of the line item period.",
|
|
6495
|
+
"nullable": true
|
|
6496
|
+
}
|
|
6497
|
+
},
|
|
6498
|
+
"required": [
|
|
6499
|
+
"id",
|
|
6500
|
+
"description",
|
|
6501
|
+
"totalInCents",
|
|
6502
|
+
"currency",
|
|
6503
|
+
"pricePerUnitInCents",
|
|
6504
|
+
"quantity",
|
|
6505
|
+
"type",
|
|
6506
|
+
"periodStart",
|
|
6507
|
+
"periodEnd"
|
|
6508
|
+
]
|
|
6509
|
+
},
|
|
6510
|
+
"description": "List of items included in the invoice."
|
|
6445
6511
|
}
|
|
6446
6512
|
},
|
|
6447
6513
|
"required": [
|
|
6448
|
-
"total"
|
|
6514
|
+
"total",
|
|
6515
|
+
"lineItems"
|
|
6449
6516
|
],
|
|
6450
6517
|
"title": "getUpcomingInvoiceResponse",
|
|
6451
6518
|
"additionalProperties": false
|
|
@@ -15321,7 +15388,7 @@ export const state = {
|
|
|
15321
15388
|
"title": "Botpress API",
|
|
15322
15389
|
"description": "API for Botpress Cloud",
|
|
15323
15390
|
"server": "https://api.botpress.cloud",
|
|
15324
|
-
"version": "0.
|
|
15391
|
+
"version": "0.77.0",
|
|
15325
15392
|
"prefix": "v1"
|
|
15326
15393
|
},
|
|
15327
15394
|
"errors": [
|