@botpress/api 0.40.1 → 0.40.3

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 CHANGED
@@ -285213,6 +285213,11 @@ var state = {
285213
285213
  "minLength": 28,
285214
285214
  "maxLength": 36
285215
285215
  },
285216
+ "name": {
285217
+ "type": "string",
285218
+ "maxLength": 200,
285219
+ "description": "Name of the interface"
285220
+ },
285216
285221
  "entities": {
285217
285222
  "type": "object",
285218
285223
  "additionalProperties": {
@@ -285264,6 +285269,7 @@ var state = {
285264
285269
  },
285265
285270
  "required": [
285266
285271
  "id",
285272
+ "name",
285267
285273
  "entities",
285268
285274
  "actions",
285269
285275
  "events"
@@ -285839,6 +285845,11 @@ var state = {
285839
285845
  "minLength": 28,
285840
285846
  "maxLength": 36
285841
285847
  },
285848
+ "name": {
285849
+ "type": "string",
285850
+ "maxLength": 200,
285851
+ "description": "Name of the interface"
285852
+ },
285842
285853
  "entities": {
285843
285854
  "type": "object",
285844
285855
  "additionalProperties": {
@@ -285890,6 +285901,7 @@ var state = {
285890
285901
  },
285891
285902
  "required": [
285892
285903
  "id",
285904
+ "name",
285893
285905
  "entities",
285894
285906
  "actions",
285895
285907
  "events"
@@ -288217,17 +288229,12 @@ var state = {
288217
288229
  "schema": {
288218
288230
  "type": "object",
288219
288231
  "properties": {
288220
- "id": {
288221
- "type": "string",
288222
- "description": "ID of the invoice."
288223
- },
288224
288232
  "total": {
288225
288233
  "type": "number",
288226
288234
  "description": "Total amount to pay of the invoice."
288227
288235
  }
288228
288236
  },
288229
288237
  "required": [
288230
- "id",
288231
288238
  "total"
288232
288239
  ],
288233
288240
  "title": "getUpcomingInvoiceResponse",
@@ -290045,74 +290052,6 @@ var state = {
290045
290052
  "maxLength": 200,
290046
290053
  "description": "Version of the [Integration](#schema_integration)"
290047
290054
  },
290048
- "interfaces": {
290049
- "type": "object",
290050
- "additionalProperties": {
290051
- "type": "object",
290052
- "properties": {
290053
- "id": {
290054
- "type": "string",
290055
- "minLength": 28,
290056
- "maxLength": 36
290057
- },
290058
- "entities": {
290059
- "type": "object",
290060
- "additionalProperties": {
290061
- "type": "object",
290062
- "properties": {
290063
- "name": {
290064
- "type": "string",
290065
- "maxLength": 200
290066
- }
290067
- },
290068
- "required": [
290069
- "name"
290070
- ],
290071
- "additionalProperties": false
290072
- }
290073
- },
290074
- "actions": {
290075
- "type": "object",
290076
- "additionalProperties": {
290077
- "type": "object",
290078
- "properties": {
290079
- "name": {
290080
- "type": "string",
290081
- "maxLength": 200
290082
- }
290083
- },
290084
- "required": [
290085
- "name"
290086
- ],
290087
- "additionalProperties": false
290088
- }
290089
- },
290090
- "events": {
290091
- "type": "object",
290092
- "additionalProperties": {
290093
- "type": "object",
290094
- "properties": {
290095
- "name": {
290096
- "type": "string",
290097
- "maxLength": 200
290098
- }
290099
- },
290100
- "required": [
290101
- "name"
290102
- ],
290103
- "additionalProperties": false
290104
- }
290105
- }
290106
- },
290107
- "required": [
290108
- "id",
290109
- "entities",
290110
- "actions",
290111
- "events"
290112
- ],
290113
- "additionalProperties": false
290114
- }
290115
- },
290116
290055
  "configuration": {
290117
290056
  "type": "object",
290118
290057
  "properties": {
@@ -290473,6 +290412,74 @@ var state = {
290473
290412
  },
290474
290413
  "additionalProperties": false
290475
290414
  },
290415
+ "interfaces": {
290416
+ "type": "object",
290417
+ "additionalProperties": {
290418
+ "type": "object",
290419
+ "properties": {
290420
+ "id": {
290421
+ "type": "string",
290422
+ "minLength": 28,
290423
+ "maxLength": 36
290424
+ },
290425
+ "entities": {
290426
+ "type": "object",
290427
+ "additionalProperties": {
290428
+ "type": "object",
290429
+ "properties": {
290430
+ "name": {
290431
+ "type": "string",
290432
+ "maxLength": 200
290433
+ }
290434
+ },
290435
+ "required": [
290436
+ "name"
290437
+ ],
290438
+ "additionalProperties": false
290439
+ }
290440
+ },
290441
+ "actions": {
290442
+ "type": "object",
290443
+ "additionalProperties": {
290444
+ "type": "object",
290445
+ "properties": {
290446
+ "name": {
290447
+ "type": "string",
290448
+ "maxLength": 200
290449
+ }
290450
+ },
290451
+ "required": [
290452
+ "name"
290453
+ ],
290454
+ "additionalProperties": false
290455
+ }
290456
+ },
290457
+ "events": {
290458
+ "type": "object",
290459
+ "additionalProperties": {
290460
+ "type": "object",
290461
+ "properties": {
290462
+ "name": {
290463
+ "type": "string",
290464
+ "maxLength": 200
290465
+ }
290466
+ },
290467
+ "required": [
290468
+ "name"
290469
+ ],
290470
+ "additionalProperties": false
290471
+ }
290472
+ }
290473
+ },
290474
+ "required": [
290475
+ "id",
290476
+ "entities",
290477
+ "actions",
290478
+ "events"
290479
+ ],
290480
+ "additionalProperties": false
290481
+ }
290482
+ },
290476
290483
  "secrets": {
290477
290484
  "type": "object",
290478
290485
  "additionalProperties": {
@@ -293932,7 +293939,7 @@ var state = {
293932
293939
  "title": "Botpress API",
293933
293940
  "description": "API for Botpress Cloud",
293934
293941
  "server": "https://api.botpress.cloud",
293935
- "version": "0.40.1",
293942
+ "version": "0.40.3",
293936
293943
  "prefix": "v1"
293937
293944
  },
293938
293945
  "errors": [
@@ -294848,6 +294855,11 @@ var state = {
294848
294855
  "minLength": 28,
294849
294856
  "maxLength": 36
294850
294857
  },
294858
+ "name": {
294859
+ "type": "string",
294860
+ "maxLength": 200,
294861
+ "description": "Name of the interface"
294862
+ },
294851
294863
  "entities": {
294852
294864
  "type": "object",
294853
294865
  "additionalProperties": {
@@ -294899,6 +294911,7 @@ var state = {
294899
294911
  },
294900
294912
  "required": [
294901
294913
  "id",
294914
+ "name",
294902
294915
  "entities",
294903
294916
  "actions",
294904
294917
  "events"
@@ -2393,6 +2393,11 @@ export declare const state: {
2393
2393
  minLength: number;
2394
2394
  maxLength: number;
2395
2395
  };
2396
+ name: {
2397
+ type: "string";
2398
+ maxLength: number;
2399
+ description: string;
2400
+ };
2396
2401
  entities: {
2397
2402
  type: "object";
2398
2403
  additionalProperties: {
@@ -2925,6 +2930,11 @@ export declare const state: {
2925
2930
  minLength: number;
2926
2931
  maxLength: number;
2927
2932
  };
2933
+ name: {
2934
+ type: "string";
2935
+ maxLength: number;
2936
+ description: string;
2937
+ };
2928
2938
  entities: {
2929
2939
  type: "object";
2930
2940
  additionalProperties: {
@@ -4997,10 +5007,6 @@ export declare const state: {
4997
5007
  schema: {
4998
5008
  type: "object";
4999
5009
  properties: {
5000
- id: {
5001
- type: "string";
5002
- description: string;
5003
- };
5004
5010
  total: {
5005
5011
  type: "number";
5006
5012
  description: string;
@@ -6502,63 +6508,6 @@ export declare const state: {
6502
6508
  maxLength: number;
6503
6509
  description: string;
6504
6510
  };
6505
- interfaces: {
6506
- type: "object";
6507
- additionalProperties: {
6508
- type: "object";
6509
- properties: {
6510
- id: {
6511
- type: "string";
6512
- minLength: number;
6513
- maxLength: number;
6514
- };
6515
- entities: {
6516
- type: "object";
6517
- additionalProperties: {
6518
- type: "object";
6519
- properties: {
6520
- name: {
6521
- type: "string";
6522
- maxLength: number;
6523
- };
6524
- };
6525
- required: string[];
6526
- additionalProperties: false;
6527
- };
6528
- };
6529
- actions: {
6530
- type: "object";
6531
- additionalProperties: {
6532
- type: "object";
6533
- properties: {
6534
- name: {
6535
- type: "string";
6536
- maxLength: number;
6537
- };
6538
- };
6539
- required: string[];
6540
- additionalProperties: false;
6541
- };
6542
- };
6543
- events: {
6544
- type: "object";
6545
- additionalProperties: {
6546
- type: "object";
6547
- properties: {
6548
- name: {
6549
- type: "string";
6550
- maxLength: number;
6551
- };
6552
- };
6553
- required: string[];
6554
- additionalProperties: false;
6555
- };
6556
- };
6557
- };
6558
- required: string[];
6559
- additionalProperties: false;
6560
- };
6561
- };
6562
6511
  configuration: {
6563
6512
  type: "object";
6564
6513
  properties: {
@@ -6891,6 +6840,63 @@ export declare const state: {
6891
6840
  };
6892
6841
  additionalProperties: false;
6893
6842
  };
6843
+ interfaces: {
6844
+ type: "object";
6845
+ additionalProperties: {
6846
+ type: "object";
6847
+ properties: {
6848
+ id: {
6849
+ type: "string";
6850
+ minLength: number;
6851
+ maxLength: number;
6852
+ };
6853
+ entities: {
6854
+ type: "object";
6855
+ additionalProperties: {
6856
+ type: "object";
6857
+ properties: {
6858
+ name: {
6859
+ type: "string";
6860
+ maxLength: number;
6861
+ };
6862
+ };
6863
+ required: string[];
6864
+ additionalProperties: false;
6865
+ };
6866
+ };
6867
+ actions: {
6868
+ type: "object";
6869
+ additionalProperties: {
6870
+ type: "object";
6871
+ properties: {
6872
+ name: {
6873
+ type: "string";
6874
+ maxLength: number;
6875
+ };
6876
+ };
6877
+ required: string[];
6878
+ additionalProperties: false;
6879
+ };
6880
+ };
6881
+ events: {
6882
+ type: "object";
6883
+ additionalProperties: {
6884
+ type: "object";
6885
+ properties: {
6886
+ name: {
6887
+ type: "string";
6888
+ maxLength: number;
6889
+ };
6890
+ };
6891
+ required: string[];
6892
+ additionalProperties: false;
6893
+ };
6894
+ };
6895
+ };
6896
+ required: string[];
6897
+ additionalProperties: false;
6898
+ };
6899
+ };
6894
6900
  secrets: {
6895
6901
  type: "object";
6896
6902
  additionalProperties: {
@@ -10724,6 +10730,11 @@ export declare const state: {
10724
10730
  minLength: number;
10725
10731
  maxLength: number;
10726
10732
  };
10733
+ name: {
10734
+ type: "string";
10735
+ maxLength: number;
10736
+ description: string;
10737
+ };
10727
10738
  entities: {
10728
10739
  type: "object";
10729
10740
  additionalProperties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.40.1",
3
+ "version": "0.40.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {