@botpress/client 1.37.0 → 1.38.1
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/bundle.cjs +13 -13
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +80 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5743,6 +5743,12 @@ interface CreateBotRequestBody$1 {
|
|
|
5743
5743
|
* URL of the [Bot](#schema_bot)
|
|
5744
5744
|
*/
|
|
5745
5745
|
url?: string;
|
|
5746
|
+
/**
|
|
5747
|
+
* Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
5748
|
+
*/
|
|
5749
|
+
secrets?: {
|
|
5750
|
+
[k: string]: string;
|
|
5751
|
+
};
|
|
5746
5752
|
/**
|
|
5747
5753
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
5748
5754
|
*/
|
|
@@ -6137,6 +6143,10 @@ interface CreateBotResponse$1 {
|
|
|
6137
6143
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
6138
6144
|
*/
|
|
6139
6145
|
dev: boolean;
|
|
6146
|
+
/**
|
|
6147
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
6148
|
+
*/
|
|
6149
|
+
secrets: string[];
|
|
6140
6150
|
/**
|
|
6141
6151
|
* Id of the user that created the bot
|
|
6142
6152
|
*/
|
|
@@ -6422,6 +6432,12 @@ interface UpdateBotRequestBody$1 {
|
|
|
6422
6432
|
url: string;
|
|
6423
6433
|
name: string;
|
|
6424
6434
|
}[];
|
|
6435
|
+
/**
|
|
6436
|
+
* Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
6437
|
+
*/
|
|
6438
|
+
secrets?: {
|
|
6439
|
+
[k: string]: string | null;
|
|
6440
|
+
};
|
|
6425
6441
|
layers?: string[];
|
|
6426
6442
|
/**
|
|
6427
6443
|
* UNUSED. Please ignore this field. It will be removed in the near future.
|
|
@@ -6817,6 +6833,10 @@ interface UpdateBotResponse$1 {
|
|
|
6817
6833
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
6818
6834
|
*/
|
|
6819
6835
|
dev: boolean;
|
|
6836
|
+
/**
|
|
6837
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
6838
|
+
*/
|
|
6839
|
+
secrets: string[];
|
|
6820
6840
|
/**
|
|
6821
6841
|
* Id of the user that created the bot
|
|
6822
6842
|
*/
|
|
@@ -7325,6 +7345,10 @@ interface GetBotResponse$1 {
|
|
|
7325
7345
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
7326
7346
|
*/
|
|
7327
7347
|
dev: boolean;
|
|
7348
|
+
/**
|
|
7349
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
7350
|
+
*/
|
|
7351
|
+
secrets: string[];
|
|
7328
7352
|
/**
|
|
7329
7353
|
* Id of the user that created the bot
|
|
7330
7354
|
*/
|
|
@@ -7903,6 +7927,19 @@ type UpdateBotAllowlistInput$1 = UpdateBotAllowlistRequestBody$1 & UpdateBotAllo
|
|
|
7903
7927
|
interface UpdateBotAllowlistResponse$1 {
|
|
7904
7928
|
}
|
|
7905
7929
|
|
|
7930
|
+
interface MigrateWorkspaceToV4RequestHeaders$1 {
|
|
7931
|
+
}
|
|
7932
|
+
interface MigrateWorkspaceToV4RequestQuery$1 {
|
|
7933
|
+
}
|
|
7934
|
+
interface MigrateWorkspaceToV4RequestParams$1 {
|
|
7935
|
+
id: string;
|
|
7936
|
+
}
|
|
7937
|
+
interface MigrateWorkspaceToV4RequestBody$1 {
|
|
7938
|
+
}
|
|
7939
|
+
type MigrateWorkspaceToV4Input$1 = MigrateWorkspaceToV4RequestBody$1 & MigrateWorkspaceToV4RequestHeaders$1 & MigrateWorkspaceToV4RequestQuery$1 & MigrateWorkspaceToV4RequestParams$1;
|
|
7940
|
+
interface MigrateWorkspaceToV4Response$1 {
|
|
7941
|
+
}
|
|
7942
|
+
|
|
7906
7943
|
interface ListWorkspaceInvoicesRequestHeaders$1 {
|
|
7907
7944
|
}
|
|
7908
7945
|
interface ListWorkspaceInvoicesRequestQuery$1 {
|
|
@@ -14855,6 +14892,7 @@ declare class Client$9 {
|
|
|
14855
14892
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput$1) => Promise<DeleteBotApiKeyResponse$1>;
|
|
14856
14893
|
readonly getBotAllowlist: (input: GetBotAllowlistInput$1) => Promise<GetBotAllowlistResponse$1>;
|
|
14857
14894
|
readonly updateBotAllowlist: (input: UpdateBotAllowlistInput$1) => Promise<UpdateBotAllowlistResponse$1>;
|
|
14895
|
+
readonly migrateWorkspaceToV4: (input: MigrateWorkspaceToV4Input$1) => Promise<MigrateWorkspaceToV4Response$1>;
|
|
14858
14896
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput$1) => Promise<ListWorkspaceInvoicesResponse$1>;
|
|
14859
14897
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput$1) => Promise<GetUpcomingInvoiceResponse$1>;
|
|
14860
14898
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput$1) => Promise<ChargeWorkspaceUnpaidInvoicesResponse$1>;
|
|
@@ -24381,6 +24419,12 @@ interface CreateBotRequestBody {
|
|
|
24381
24419
|
* URL of the [Bot](#schema_bot)
|
|
24382
24420
|
*/
|
|
24383
24421
|
url?: string;
|
|
24422
|
+
/**
|
|
24423
|
+
* Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
24424
|
+
*/
|
|
24425
|
+
secrets?: {
|
|
24426
|
+
[k: string]: string;
|
|
24427
|
+
};
|
|
24384
24428
|
/**
|
|
24385
24429
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
24386
24430
|
*/
|
|
@@ -24775,6 +24819,10 @@ interface CreateBotResponse {
|
|
|
24775
24819
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
24776
24820
|
*/
|
|
24777
24821
|
dev: boolean;
|
|
24822
|
+
/**
|
|
24823
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
24824
|
+
*/
|
|
24825
|
+
secrets: string[];
|
|
24778
24826
|
/**
|
|
24779
24827
|
* Id of the user that created the bot
|
|
24780
24828
|
*/
|
|
@@ -25060,6 +25108,12 @@ interface UpdateBotRequestBody {
|
|
|
25060
25108
|
url: string;
|
|
25061
25109
|
name: string;
|
|
25062
25110
|
}[];
|
|
25111
|
+
/**
|
|
25112
|
+
* Secrets are values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
25113
|
+
*/
|
|
25114
|
+
secrets?: {
|
|
25115
|
+
[k: string]: string | null;
|
|
25116
|
+
};
|
|
25063
25117
|
layers?: string[];
|
|
25064
25118
|
/**
|
|
25065
25119
|
* UNUSED. Please ignore this field. It will be removed in the near future.
|
|
@@ -25455,6 +25509,10 @@ interface UpdateBotResponse {
|
|
|
25455
25509
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
25456
25510
|
*/
|
|
25457
25511
|
dev: boolean;
|
|
25512
|
+
/**
|
|
25513
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
25514
|
+
*/
|
|
25515
|
+
secrets: string[];
|
|
25458
25516
|
/**
|
|
25459
25517
|
* Id of the user that created the bot
|
|
25460
25518
|
*/
|
|
@@ -25963,6 +26021,10 @@ interface GetBotResponse {
|
|
|
25963
26021
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
25964
26022
|
*/
|
|
25965
26023
|
dev: boolean;
|
|
26024
|
+
/**
|
|
26025
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
26026
|
+
*/
|
|
26027
|
+
secrets: string[];
|
|
25966
26028
|
/**
|
|
25967
26029
|
* Id of the user that created the bot
|
|
25968
26030
|
*/
|
|
@@ -26541,6 +26603,19 @@ type UpdateBotAllowlistInput = UpdateBotAllowlistRequestBody & UpdateBotAllowlis
|
|
|
26541
26603
|
interface UpdateBotAllowlistResponse {
|
|
26542
26604
|
}
|
|
26543
26605
|
|
|
26606
|
+
interface MigrateWorkspaceToV4RequestHeaders {
|
|
26607
|
+
}
|
|
26608
|
+
interface MigrateWorkspaceToV4RequestQuery {
|
|
26609
|
+
}
|
|
26610
|
+
interface MigrateWorkspaceToV4RequestParams {
|
|
26611
|
+
id: string;
|
|
26612
|
+
}
|
|
26613
|
+
interface MigrateWorkspaceToV4RequestBody {
|
|
26614
|
+
}
|
|
26615
|
+
type MigrateWorkspaceToV4Input = MigrateWorkspaceToV4RequestBody & MigrateWorkspaceToV4RequestHeaders & MigrateWorkspaceToV4RequestQuery & MigrateWorkspaceToV4RequestParams;
|
|
26616
|
+
interface MigrateWorkspaceToV4Response {
|
|
26617
|
+
}
|
|
26618
|
+
|
|
26544
26619
|
interface ListWorkspaceInvoicesRequestHeaders {
|
|
26545
26620
|
}
|
|
26546
26621
|
interface ListWorkspaceInvoicesRequestQuery {
|
|
@@ -36591,6 +36666,10 @@ interface Bot {
|
|
|
36591
36666
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
36592
36667
|
*/
|
|
36593
36668
|
dev: boolean;
|
|
36669
|
+
/**
|
|
36670
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
36671
|
+
*/
|
|
36672
|
+
secrets: string[];
|
|
36594
36673
|
/**
|
|
36595
36674
|
* Id of the user that created the bot
|
|
36596
36675
|
*/
|
|
@@ -38199,6 +38278,7 @@ declare class Client$1 {
|
|
|
38199
38278
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
|
|
38200
38279
|
readonly getBotAllowlist: (input: GetBotAllowlistInput) => Promise<GetBotAllowlistResponse>;
|
|
38201
38280
|
readonly updateBotAllowlist: (input: UpdateBotAllowlistInput) => Promise<UpdateBotAllowlistResponse>;
|
|
38281
|
+
readonly migrateWorkspaceToV4: (input: MigrateWorkspaceToV4Input) => Promise<MigrateWorkspaceToV4Response>;
|
|
38202
38282
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
|
|
38203
38283
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
|
|
38204
38284
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
|