@botpress/cognitive 0.1.13 → 0.1.14

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.
@@ -1,19 +1,19 @@
1
1
 
2
- > @botpress/cognitive@0.1.13 build /home/runner/work/botpress/botpress/packages/cognitive
2
+ > @botpress/cognitive@0.1.14 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.1.13 build:type /home/runner/work/botpress/botpress/packages/cognitive
6
+ > @botpress/cognitive@0.1.14 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 9890ms
14
- DTS dist/index.d.ts 521.56 KB
13
+ DTS ⚡️ Build success in 9587ms
14
+ DTS dist/index.d.ts 523.31 KB
15
15
 
16
- > @botpress/cognitive@0.1.13 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
16
+ > @botpress/cognitive@0.1.14 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
@@ -4184,8 +4184,16 @@ interface ListPublicIntegrationsRequestHeaders {
4184
4184
  }
4185
4185
  interface ListPublicIntegrationsRequestQuery {
4186
4186
  nextToken?: string;
4187
+ limit?: number;
4187
4188
  name?: string;
4188
4189
  version?: string;
4190
+ interfaceId?: string;
4191
+ interfaceName?: string;
4192
+ installedByBotId?: string;
4193
+ verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
4194
+ search?: string;
4195
+ sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
4196
+ direction?: "asc" | "desc";
4189
4197
  }
4190
4198
  interface ListPublicIntegrationsRequestParams {
4191
4199
  }
@@ -4243,6 +4251,31 @@ interface ListPublicIntegrationsResponse {
4243
4251
  installs: number;
4244
4252
  views: number;
4245
4253
  };
4254
+ /**
4255
+ * Metadata about which fields matched the search criteria
4256
+ */
4257
+ matchedOn?: {
4258
+ /**
4259
+ * Whether the integration name matched the search term
4260
+ */
4261
+ name?: boolean;
4262
+ /**
4263
+ * Whether the integration title matched the search term
4264
+ */
4265
+ title?: boolean;
4266
+ /**
4267
+ * Whether the integration description matched the search term
4268
+ */
4269
+ description?: boolean;
4270
+ /**
4271
+ * Action names that matched the search term
4272
+ */
4273
+ actions?: string[];
4274
+ /**
4275
+ * Interface names that matched the search term
4276
+ */
4277
+ interfaces?: string[];
4278
+ };
4246
4279
  }[];
4247
4280
  meta: {
4248
4281
  /**
@@ -9420,12 +9453,12 @@ interface ListIntegrationsRequestQuery {
9420
9453
  version?: string;
9421
9454
  interfaceId?: string;
9422
9455
  interfaceName?: string;
9423
- visibility?: "public" | "private";
9424
9456
  installedByBotId?: string;
9425
9457
  verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
9426
9458
  search?: string;
9427
9459
  sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
9428
9460
  direction?: "asc" | "desc";
9461
+ visibility?: "public" | "private";
9429
9462
  dev?: boolean;
9430
9463
  }
9431
9464
  interface ListIntegrationsRequestParams {
@@ -15304,8 +15337,16 @@ declare class Client extends Client$1 implements IClient {
15304
15337
  };
15305
15338
  }>;
15306
15339
  publicIntegrations: (props: {
15340
+ search?: string | undefined;
15307
15341
  name?: string | undefined;
15342
+ limit?: number | undefined;
15308
15343
  version?: string | undefined;
15344
+ interfaceId?: string | undefined;
15345
+ interfaceName?: string | undefined;
15346
+ installedByBotId?: string | undefined;
15347
+ verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
15348
+ sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
15349
+ direction?: ("asc" | "desc") | undefined;
15309
15350
  }) => AsyncCollection<{
15310
15351
  id: string;
15311
15352
  name: string;
@@ -15326,6 +15367,13 @@ declare class Client extends Client$1 implements IClient {
15326
15367
  installs: number;
15327
15368
  views: number;
15328
15369
  };
15370
+ matchedOn?: {
15371
+ name?: boolean;
15372
+ title?: boolean;
15373
+ description?: boolean;
15374
+ actions?: string[];
15375
+ interfaces?: string[];
15376
+ };
15329
15377
  }>;
15330
15378
  bots: (props: {
15331
15379
  tags?: {
@@ -15374,16 +15422,16 @@ declare class Client extends Client$1 implements IClient {
15374
15422
  integrations: (props: {
15375
15423
  search?: string | undefined;
15376
15424
  name?: string | undefined;
15377
- version?: string | undefined;
15378
- dev?: boolean | undefined;
15379
15425
  limit?: number | undefined;
15426
+ version?: string | undefined;
15380
15427
  interfaceId?: string | undefined;
15381
15428
  interfaceName?: string | undefined;
15382
- visibility?: ("public" | "private") | undefined;
15383
15429
  installedByBotId?: string | undefined;
15384
15430
  verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
15385
15431
  sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
15386
15432
  direction?: ("asc" | "desc") | undefined;
15433
+ dev?: boolean | undefined;
15434
+ visibility?: ("public" | "private") | undefined;
15387
15435
  }) => AsyncCollection<{
15388
15436
  id: string;
15389
15437
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/cognitive",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Wrapper around the Botpress Client to call LLMs",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",