@botpress/api 0.74.0 → 0.76.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/src/gen/state.ts CHANGED
@@ -6442,10 +6442,63 @@ 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
+ },
6486
+ "required": [
6487
+ "id",
6488
+ "description",
6489
+ "totalInCents",
6490
+ "currency",
6491
+ "pricePerUnitInCents",
6492
+ "quantity",
6493
+ "type"
6494
+ ]
6495
+ },
6496
+ "description": "List of items included in the invoice."
6445
6497
  }
6446
6498
  },
6447
6499
  "required": [
6448
- "total"
6500
+ "total",
6501
+ "lineItems"
6449
6502
  ],
6450
6503
  "title": "getUpcomingInvoiceResponse",
6451
6504
  "additionalProperties": false
@@ -11722,6 +11775,25 @@ export const state = {
11722
11775
  "browser"
11723
11776
  ],
11724
11777
  "additionalProperties": false
11778
+ },
11779
+ "icon": {
11780
+ "type": "string",
11781
+ "description": "Base64 encoded svg of the plugin icon. This icon is global to the plugin each versions will be updated when this changes."
11782
+ },
11783
+ "readme": {
11784
+ "type": "string",
11785
+ "description": "Base64 encoded markdown of the plugin readme. The readme is specific to each plugin versions."
11786
+ },
11787
+ "title": {
11788
+ "type": "string",
11789
+ "minLength": 1,
11790
+ "maxLength": 64,
11791
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
11792
+ },
11793
+ "description": {
11794
+ "type": "string",
11795
+ "maxLength": 256,
11796
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
11725
11797
  }
11726
11798
  },
11727
11799
  "required": [
@@ -12089,6 +12161,25 @@ export const state = {
12089
12161
  }
12090
12162
  },
12091
12163
  "additionalProperties": false
12164
+ },
12165
+ "icon": {
12166
+ "type": "string",
12167
+ "description": "Base64 encoded svg of the plugin icon. This icon is global to the plugin each versions will be updated when this changes."
12168
+ },
12169
+ "readme": {
12170
+ "type": "string",
12171
+ "description": "Base64 encoded markdown of the plugin readme. The readme is specific to each plugin versions."
12172
+ },
12173
+ "title": {
12174
+ "type": "string",
12175
+ "minLength": 1,
12176
+ "maxLength": 64,
12177
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
12178
+ },
12179
+ "description": {
12180
+ "type": "string",
12181
+ "maxLength": 256,
12182
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
12092
12183
  }
12093
12184
  },
12094
12185
  "title": "updatePluginBody",
@@ -15283,7 +15374,7 @@ export const state = {
15283
15374
  "title": "Botpress API",
15284
15375
  "description": "API for Botpress Cloud",
15285
15376
  "server": "https://api.botpress.cloud",
15286
- "version": "0.74.0",
15377
+ "version": "0.76.0",
15287
15378
  "prefix": "v1"
15288
15379
  },
15289
15380
  "errors": [
@@ -17330,6 +17421,25 @@ export const state = {
17330
17421
  ],
17331
17422
  "description": "Conversation object configuration",
17332
17423
  "additionalProperties": false
17424
+ },
17425
+ "title": {
17426
+ "type": "string",
17427
+ "minLength": 1,
17428
+ "maxLength": 64,
17429
+ "description": "Title of the plugin. This is the name that will be displayed in the UI"
17430
+ },
17431
+ "description": {
17432
+ "type": "string",
17433
+ "maxLength": 256,
17434
+ "description": "Description of the plugin. This is the description that will be displayed in the UI"
17435
+ },
17436
+ "iconUrl": {
17437
+ "type": "string",
17438
+ "description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
17439
+ },
17440
+ "readmeUrl": {
17441
+ "type": "string",
17442
+ "description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
17333
17443
  }
17334
17444
  },
17335
17445
  "required": [
@@ -17344,9 +17454,12 @@ export const state = {
17344
17454
  "actions",
17345
17455
  "dependencies",
17346
17456
  "user",
17347
- "conversation"
17457
+ "conversation",
17458
+ "title",
17459
+ "description",
17460
+ "iconUrl",
17461
+ "readmeUrl"
17348
17462
  ],
17349
- "description": "Plugin definition",
17350
17463
  "additionalProperties": false
17351
17464
  }
17352
17465
  },