@botpress/api 0.15.11 → 0.16.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.
@@ -1939,6 +1939,25 @@ export declare const state: {
1939
1939
  additionalProperties: false;
1940
1940
  };
1941
1941
  };
1942
+ subscriptions: {
1943
+ type: "object";
1944
+ properties: {
1945
+ events: {
1946
+ type: "object";
1947
+ additionalProperties: {
1948
+ type: "object";
1949
+ additionalProperties: {
1950
+ readOnly: true;
1951
+ };
1952
+ };
1953
+ nullable: true;
1954
+ description: string;
1955
+ };
1956
+ };
1957
+ required: string[];
1958
+ description: string;
1959
+ additionalProperties: false;
1960
+ };
1942
1961
  configuration: {
1943
1962
  type: "object";
1944
1963
  properties: {
@@ -2319,6 +2338,24 @@ export declare const state: {
2319
2338
  additionalProperties: false;
2320
2339
  };
2321
2340
  };
2341
+ subscriptions: {
2342
+ type: "object";
2343
+ properties: {
2344
+ events: {
2345
+ type: "object";
2346
+ additionalProperties: {
2347
+ type: "object";
2348
+ additionalProperties: {
2349
+ readOnly: true;
2350
+ };
2351
+ nullable: true;
2352
+ };
2353
+ nullable: true;
2354
+ };
2355
+ };
2356
+ required: string[];
2357
+ additionalProperties: false;
2358
+ };
2322
2359
  code: {
2323
2360
  type: "string";
2324
2361
  description: string;
@@ -3280,6 +3317,32 @@ export declare const state: {
3280
3317
  spendingLimit: {
3281
3318
  type: "number";
3282
3319
  };
3320
+ about: {
3321
+ default: string;
3322
+ type: "string";
3323
+ };
3324
+ profilePicture: {
3325
+ default: string;
3326
+ type: "string";
3327
+ };
3328
+ contactEmail: {
3329
+ default: string;
3330
+ type: "string";
3331
+ };
3332
+ website: {
3333
+ default: string;
3334
+ type: "string";
3335
+ };
3336
+ socialAccounts: {
3337
+ default: never[];
3338
+ type: "array";
3339
+ items: {
3340
+ type: "string";
3341
+ };
3342
+ };
3343
+ isPublic: {
3344
+ type: "boolean";
3345
+ };
3283
3346
  };
3284
3347
  required: string[];
3285
3348
  title: string;
@@ -3345,6 +3408,32 @@ export declare const state: {
3345
3408
  spendingLimit: {
3346
3409
  type: "number";
3347
3410
  };
3411
+ about: {
3412
+ default: string;
3413
+ type: "string";
3414
+ };
3415
+ profilePicture: {
3416
+ default: string;
3417
+ type: "string";
3418
+ };
3419
+ contactEmail: {
3420
+ default: string;
3421
+ type: "string";
3422
+ };
3423
+ website: {
3424
+ default: string;
3425
+ type: "string";
3426
+ };
3427
+ socialAccounts: {
3428
+ default: never[];
3429
+ type: "array";
3430
+ items: {
3431
+ type: "string";
3432
+ };
3433
+ };
3434
+ isPublic: {
3435
+ type: "boolean";
3436
+ };
3348
3437
  };
3349
3438
  required: string[];
3350
3439
  title: string;
@@ -3635,9 +3724,31 @@ export declare const state: {
3635
3724
  minimum: number;
3636
3725
  maximum: number;
3637
3726
  };
3727
+ about: {
3728
+ type: "string";
3729
+ };
3730
+ profilePicture: {
3731
+ type: "string";
3732
+ };
3733
+ contactEmail: {
3734
+ type: "string";
3735
+ };
3736
+ website: {
3737
+ type: "string";
3738
+ };
3739
+ socialAccounts: {
3740
+ type: "array";
3741
+ items: {
3742
+ type: "string";
3743
+ };
3744
+ maxItems: number;
3745
+ };
3746
+ isPublic: {
3747
+ type: "boolean";
3748
+ };
3638
3749
  };
3639
- title: string;
3640
3750
  additionalProperties: false;
3751
+ title: string;
3641
3752
  };
3642
3753
  };
3643
3754
  response: {
@@ -3681,6 +3792,32 @@ export declare const state: {
3681
3792
  spendingLimit: {
3682
3793
  type: "number";
3683
3794
  };
3795
+ about: {
3796
+ default: string;
3797
+ type: "string";
3798
+ };
3799
+ profilePicture: {
3800
+ default: string;
3801
+ type: "string";
3802
+ };
3803
+ contactEmail: {
3804
+ default: string;
3805
+ type: "string";
3806
+ };
3807
+ website: {
3808
+ default: string;
3809
+ type: "string";
3810
+ };
3811
+ socialAccounts: {
3812
+ default: never[];
3813
+ type: "array";
3814
+ items: {
3815
+ type: "string";
3816
+ };
3817
+ };
3818
+ isPublic: {
3819
+ type: "boolean";
3820
+ };
3684
3821
  };
3685
3822
  required: string[];
3686
3823
  title: string;
@@ -3750,6 +3887,32 @@ export declare const state: {
3750
3887
  spendingLimit: {
3751
3888
  type: "number";
3752
3889
  };
3890
+ about: {
3891
+ default: string;
3892
+ type: "string";
3893
+ };
3894
+ profilePicture: {
3895
+ default: string;
3896
+ type: "string";
3897
+ };
3898
+ contactEmail: {
3899
+ default: string;
3900
+ type: "string";
3901
+ };
3902
+ website: {
3903
+ default: string;
3904
+ type: "string";
3905
+ };
3906
+ socialAccounts: {
3907
+ default: never[];
3908
+ type: "array";
3909
+ items: {
3910
+ type: "string";
3911
+ };
3912
+ };
3913
+ isPublic: {
3914
+ type: "boolean";
3915
+ };
3753
3916
  };
3754
3917
  required: string[];
3755
3918
  title: string;
@@ -3844,6 +4007,32 @@ export declare const state: {
3844
4007
  spendingLimit: {
3845
4008
  type: "number";
3846
4009
  };
4010
+ about: {
4011
+ default: string;
4012
+ type: "string";
4013
+ };
4014
+ profilePicture: {
4015
+ default: string;
4016
+ type: "string";
4017
+ };
4018
+ contactEmail: {
4019
+ default: string;
4020
+ type: "string";
4021
+ };
4022
+ website: {
4023
+ default: string;
4024
+ type: "string";
4025
+ };
4026
+ socialAccounts: {
4027
+ default: never[];
4028
+ type: "array";
4029
+ items: {
4030
+ type: "string";
4031
+ };
4032
+ };
4033
+ isPublic: {
4034
+ type: "boolean";
4035
+ };
3847
4036
  };
3848
4037
  required: string[];
3849
4038
  title: string;
@@ -3989,6 +4178,9 @@ export declare const state: {
3989
4178
  email: {
3990
4179
  type: "string";
3991
4180
  };
4181
+ createdAt: {
4182
+ type: "string";
4183
+ };
3992
4184
  role: {
3993
4185
  type: "string";
3994
4186
  enum: string[];
@@ -4076,6 +4268,9 @@ export declare const state: {
4076
4268
  email: {
4077
4269
  type: "string";
4078
4270
  };
4271
+ createdAt: {
4272
+ type: "string";
4273
+ };
4079
4274
  role: {
4080
4275
  type: "string";
4081
4276
  enum: string[];
@@ -4130,6 +4325,9 @@ export declare const state: {
4130
4325
  email: {
4131
4326
  type: "string";
4132
4327
  };
4328
+ createdAt: {
4329
+ type: "string";
4330
+ };
4133
4331
  role: {
4134
4332
  type: "string";
4135
4333
  enum: string[];
@@ -5927,12 +6125,41 @@ export declare const state: {
5927
6125
  type: "object";
5928
6126
  additionalProperties: true;
5929
6127
  };
6128
+ failedAttempts: {
6129
+ type: "number";
6130
+ description: string;
6131
+ };
6132
+ lastFailureReason: {
6133
+ type: "string";
6134
+ maxLength: number;
6135
+ description: string;
6136
+ nullable: true;
6137
+ };
5930
6138
  };
5931
6139
  required: string[];
5932
6140
  additionalProperties: false;
5933
6141
  };
5934
6142
  description: string;
5935
6143
  };
6144
+ subscriptions: {
6145
+ type: "object";
6146
+ properties: {
6147
+ events: {
6148
+ type: "object";
6149
+ additionalProperties: {
6150
+ type: "object";
6151
+ additionalProperties: {
6152
+ readOnly: true;
6153
+ };
6154
+ };
6155
+ nullable: true;
6156
+ description: string;
6157
+ };
6158
+ };
6159
+ required: string[];
6160
+ description: string;
6161
+ additionalProperties: false;
6162
+ };
5936
6163
  name: {
5937
6164
  type: "string";
5938
6165
  description: string;
@@ -6382,6 +6609,32 @@ export declare const state: {
6382
6609
  spendingLimit: {
6383
6610
  type: "number";
6384
6611
  };
6612
+ about: {
6613
+ default: string;
6614
+ type: "string";
6615
+ };
6616
+ profilePicture: {
6617
+ default: string;
6618
+ type: "string";
6619
+ };
6620
+ contactEmail: {
6621
+ default: string;
6622
+ type: "string";
6623
+ };
6624
+ website: {
6625
+ default: string;
6626
+ type: "string";
6627
+ };
6628
+ socialAccounts: {
6629
+ default: never[];
6630
+ type: "array";
6631
+ items: {
6632
+ type: "string";
6633
+ };
6634
+ };
6635
+ isPublic: {
6636
+ type: "boolean";
6637
+ };
6385
6638
  };
6386
6639
  required: string[];
6387
6640
  additionalProperties: false;
@@ -6402,6 +6655,9 @@ export declare const state: {
6402
6655
  email: {
6403
6656
  type: "string";
6404
6657
  };
6658
+ createdAt: {
6659
+ type: "string";
6660
+ };
6405
6661
  role: {
6406
6662
  type: "string";
6407
6663
  enum: string[];
@@ -6683,6 +6939,10 @@ export declare const state: {
6683
6939
  maxLength: number;
6684
6940
  description: string;
6685
6941
  };
6942
+ status: {
6943
+ type: "string";
6944
+ description: string;
6945
+ };
6686
6946
  };
6687
6947
  required: string[];
6688
6948
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.15.11",
3
+ "version": "0.16.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {