@botpress/cognitive 0.4.0 → 0.4.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/.turbo/turbo-build.log +5 -5
- package/dist/index.d.ts +38 -0
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/cognitive@0.4.
|
|
2
|
+
> @botpress/cognitive@0.4.1 build /home/runner/work/botpress/botpress/packages/cognitive
|
|
3
3
|
> pnpm build:type && pnpm build:neutral && size-limit
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @botpress/cognitive@0.4.
|
|
6
|
+
> @botpress/cognitive@0.4.1 build:type /home/runner/work/botpress/botpress/packages/cognitive
|
|
7
7
|
> tsup --tsconfig tsconfig.build.json ./src/index.ts --dts-resolve --dts-only --clean
|
|
8
8
|
|
|
9
9
|
CLI Building entry: ./src/index.ts
|
|
10
10
|
CLI Using tsconfig: tsconfig.build.json
|
|
11
11
|
CLI tsup v8.0.2
|
|
12
12
|
DTS Build start
|
|
13
|
-
DTS ⚡️ Build success in
|
|
14
|
-
DTS dist/index.d.ts
|
|
13
|
+
DTS ⚡️ Build success in 6815ms
|
|
14
|
+
DTS dist/index.d.ts 669.97 KB
|
|
15
15
|
|
|
16
|
-
> @botpress/cognitive@0.4.
|
|
16
|
+
> @botpress/cognitive@0.4.1 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
|
|
17
17
|
> ts-node -T ./build.ts --neutral
|
|
18
18
|
|
|
19
19
|
Done
|
package/dist/index.d.ts
CHANGED
|
@@ -6817,6 +6817,12 @@ interface CreateBotRequestBody {
|
|
|
6817
6817
|
* URL of the [Bot](#schema_bot)
|
|
6818
6818
|
*/
|
|
6819
6819
|
url?: string;
|
|
6820
|
+
/**
|
|
6821
|
+
* 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.
|
|
6822
|
+
*/
|
|
6823
|
+
secrets?: {
|
|
6824
|
+
[k: string]: string;
|
|
6825
|
+
};
|
|
6820
6826
|
/**
|
|
6821
6827
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
6822
6828
|
*/
|
|
@@ -7211,6 +7217,10 @@ interface CreateBotResponse {
|
|
|
7211
7217
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
7212
7218
|
*/
|
|
7213
7219
|
dev: boolean;
|
|
7220
|
+
/**
|
|
7221
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
7222
|
+
*/
|
|
7223
|
+
secrets: string[];
|
|
7214
7224
|
/**
|
|
7215
7225
|
* Id of the user that created the bot
|
|
7216
7226
|
*/
|
|
@@ -7496,6 +7506,12 @@ interface UpdateBotRequestBody {
|
|
|
7496
7506
|
url: string;
|
|
7497
7507
|
name: string;
|
|
7498
7508
|
}[];
|
|
7509
|
+
/**
|
|
7510
|
+
* 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.
|
|
7511
|
+
*/
|
|
7512
|
+
secrets?: {
|
|
7513
|
+
[k: string]: string | null;
|
|
7514
|
+
};
|
|
7499
7515
|
layers?: string[];
|
|
7500
7516
|
/**
|
|
7501
7517
|
* UNUSED. Please ignore this field. It will be removed in the near future.
|
|
@@ -7891,6 +7907,10 @@ interface UpdateBotResponse {
|
|
|
7891
7907
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
7892
7908
|
*/
|
|
7893
7909
|
dev: boolean;
|
|
7910
|
+
/**
|
|
7911
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
7912
|
+
*/
|
|
7913
|
+
secrets: string[];
|
|
7894
7914
|
/**
|
|
7895
7915
|
* Id of the user that created the bot
|
|
7896
7916
|
*/
|
|
@@ -8399,6 +8419,10 @@ interface GetBotResponse {
|
|
|
8399
8419
|
* Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
|
|
8400
8420
|
*/
|
|
8401
8421
|
dev: boolean;
|
|
8422
|
+
/**
|
|
8423
|
+
* List of secret names configured for this [Bot](#schema_bot)
|
|
8424
|
+
*/
|
|
8425
|
+
secrets: string[];
|
|
8402
8426
|
/**
|
|
8403
8427
|
* Id of the user that created the bot
|
|
8404
8428
|
*/
|
|
@@ -8977,6 +9001,19 @@ type UpdateBotAllowlistInput = UpdateBotAllowlistRequestBody & UpdateBotAllowlis
|
|
|
8977
9001
|
interface UpdateBotAllowlistResponse {
|
|
8978
9002
|
}
|
|
8979
9003
|
|
|
9004
|
+
interface MigrateWorkspaceToV4RequestHeaders {
|
|
9005
|
+
}
|
|
9006
|
+
interface MigrateWorkspaceToV4RequestQuery {
|
|
9007
|
+
}
|
|
9008
|
+
interface MigrateWorkspaceToV4RequestParams {
|
|
9009
|
+
id: string;
|
|
9010
|
+
}
|
|
9011
|
+
interface MigrateWorkspaceToV4RequestBody {
|
|
9012
|
+
}
|
|
9013
|
+
type MigrateWorkspaceToV4Input = MigrateWorkspaceToV4RequestBody & MigrateWorkspaceToV4RequestHeaders & MigrateWorkspaceToV4RequestQuery & MigrateWorkspaceToV4RequestParams;
|
|
9014
|
+
interface MigrateWorkspaceToV4Response {
|
|
9015
|
+
}
|
|
9016
|
+
|
|
8980
9017
|
interface ListWorkspaceInvoicesRequestHeaders {
|
|
8981
9018
|
}
|
|
8982
9019
|
interface ListWorkspaceInvoicesRequestQuery {
|
|
@@ -18742,6 +18779,7 @@ declare class Client$1 {
|
|
|
18742
18779
|
readonly deleteBotApiKey: (input: DeleteBotApiKeyInput) => Promise<DeleteBotApiKeyResponse>;
|
|
18743
18780
|
readonly getBotAllowlist: (input: GetBotAllowlistInput) => Promise<GetBotAllowlistResponse>;
|
|
18744
18781
|
readonly updateBotAllowlist: (input: UpdateBotAllowlistInput) => Promise<UpdateBotAllowlistResponse>;
|
|
18782
|
+
readonly migrateWorkspaceToV4: (input: MigrateWorkspaceToV4Input) => Promise<MigrateWorkspaceToV4Response>;
|
|
18745
18783
|
readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
|
|
18746
18784
|
readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
|
|
18747
18785
|
readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
|