@botpress/client 1.2.0 → 1.3.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.
- package/dist/bundle.cjs +1 -1
- package/dist/bundle.cjs.map +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +104 -8
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3159,8 +3159,16 @@ interface ListPublicIntegrationsRequestHeaders$1 {
|
|
|
3159
3159
|
}
|
|
3160
3160
|
interface ListPublicIntegrationsRequestQuery$1 {
|
|
3161
3161
|
nextToken?: string;
|
|
3162
|
+
limit?: number;
|
|
3162
3163
|
name?: string;
|
|
3163
3164
|
version?: string;
|
|
3165
|
+
interfaceId?: string;
|
|
3166
|
+
interfaceName?: string;
|
|
3167
|
+
installedByBotId?: string;
|
|
3168
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
3169
|
+
search?: string;
|
|
3170
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
3171
|
+
direction?: "asc" | "desc";
|
|
3164
3172
|
}
|
|
3165
3173
|
interface ListPublicIntegrationsRequestParams$1 {
|
|
3166
3174
|
}
|
|
@@ -3218,6 +3226,31 @@ interface ListPublicIntegrationsResponse$1 {
|
|
|
3218
3226
|
installs: number;
|
|
3219
3227
|
views: number;
|
|
3220
3228
|
};
|
|
3229
|
+
/**
|
|
3230
|
+
* Metadata about which fields matched the search criteria
|
|
3231
|
+
*/
|
|
3232
|
+
matchedOn?: {
|
|
3233
|
+
/**
|
|
3234
|
+
* Whether the integration name matched the search term
|
|
3235
|
+
*/
|
|
3236
|
+
name?: boolean;
|
|
3237
|
+
/**
|
|
3238
|
+
* Whether the integration title matched the search term
|
|
3239
|
+
*/
|
|
3240
|
+
title?: boolean;
|
|
3241
|
+
/**
|
|
3242
|
+
* Whether the integration description matched the search term
|
|
3243
|
+
*/
|
|
3244
|
+
description?: boolean;
|
|
3245
|
+
/**
|
|
3246
|
+
* Action names that matched the search term
|
|
3247
|
+
*/
|
|
3248
|
+
actions?: string[];
|
|
3249
|
+
/**
|
|
3250
|
+
* Interface names that matched the search term
|
|
3251
|
+
*/
|
|
3252
|
+
interfaces?: string[];
|
|
3253
|
+
};
|
|
3221
3254
|
}[];
|
|
3222
3255
|
meta: {
|
|
3223
3256
|
/**
|
|
@@ -8394,12 +8427,12 @@ interface ListIntegrationsRequestQuery$1 {
|
|
|
8394
8427
|
version?: string;
|
|
8395
8428
|
interfaceId?: string;
|
|
8396
8429
|
interfaceName?: string;
|
|
8397
|
-
visibility?: "public" | "private";
|
|
8398
8430
|
installedByBotId?: string;
|
|
8399
8431
|
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
8400
8432
|
search?: string;
|
|
8401
8433
|
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
8402
8434
|
direction?: "asc" | "desc";
|
|
8435
|
+
visibility?: "public" | "private";
|
|
8403
8436
|
dev?: boolean;
|
|
8404
8437
|
}
|
|
8405
8438
|
interface ListIntegrationsRequestParams$1 {
|
|
@@ -11548,8 +11581,16 @@ declare class Client$6 extends Client$7 {
|
|
|
11548
11581
|
constructor(clientProps: ClientProps$6);
|
|
11549
11582
|
get list(): {
|
|
11550
11583
|
publicIntegrations: (props: {
|
|
11584
|
+
search?: string | undefined;
|
|
11551
11585
|
name?: string | undefined;
|
|
11586
|
+
limit?: number | undefined;
|
|
11552
11587
|
version?: string | undefined;
|
|
11588
|
+
interfaceId?: string | undefined;
|
|
11589
|
+
interfaceName?: string | undefined;
|
|
11590
|
+
installedByBotId?: string | undefined;
|
|
11591
|
+
verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
|
|
11592
|
+
sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
|
|
11593
|
+
direction?: ("asc" | "desc") | undefined;
|
|
11553
11594
|
}) => AsyncCollection<{
|
|
11554
11595
|
id: string;
|
|
11555
11596
|
name: string;
|
|
@@ -11570,6 +11611,13 @@ declare class Client$6 extends Client$7 {
|
|
|
11570
11611
|
installs: number;
|
|
11571
11612
|
views: number;
|
|
11572
11613
|
};
|
|
11614
|
+
matchedOn?: {
|
|
11615
|
+
name?: boolean;
|
|
11616
|
+
title?: boolean;
|
|
11617
|
+
description?: boolean;
|
|
11618
|
+
actions?: string[];
|
|
11619
|
+
interfaces?: string[];
|
|
11620
|
+
};
|
|
11573
11621
|
}>;
|
|
11574
11622
|
bots: (props: {
|
|
11575
11623
|
tags?: {
|
|
@@ -11626,16 +11674,16 @@ declare class Client$6 extends Client$7 {
|
|
|
11626
11674
|
integrations: (props: {
|
|
11627
11675
|
search?: string | undefined;
|
|
11628
11676
|
name?: string | undefined;
|
|
11629
|
-
version?: string | undefined;
|
|
11630
|
-
dev?: boolean | undefined;
|
|
11631
11677
|
limit?: number | undefined;
|
|
11678
|
+
version?: string | undefined;
|
|
11632
11679
|
interfaceId?: string | undefined;
|
|
11633
11680
|
interfaceName?: string | undefined;
|
|
11634
|
-
visibility?: ("public" | "private") | undefined;
|
|
11635
11681
|
installedByBotId?: string | undefined;
|
|
11636
11682
|
verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
|
|
11637
11683
|
sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
|
|
11638
11684
|
direction?: ("asc" | "desc") | undefined;
|
|
11685
|
+
dev?: boolean | undefined;
|
|
11686
|
+
visibility?: ("public" | "private") | undefined;
|
|
11639
11687
|
}) => AsyncCollection<{
|
|
11640
11688
|
id: string;
|
|
11641
11689
|
name: string;
|
|
@@ -17318,8 +17366,16 @@ interface ListPublicIntegrationsRequestHeaders {
|
|
|
17318
17366
|
}
|
|
17319
17367
|
interface ListPublicIntegrationsRequestQuery {
|
|
17320
17368
|
nextToken?: string;
|
|
17369
|
+
limit?: number;
|
|
17321
17370
|
name?: string;
|
|
17322
17371
|
version?: string;
|
|
17372
|
+
interfaceId?: string;
|
|
17373
|
+
interfaceName?: string;
|
|
17374
|
+
installedByBotId?: string;
|
|
17375
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
17376
|
+
search?: string;
|
|
17377
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
17378
|
+
direction?: "asc" | "desc";
|
|
17323
17379
|
}
|
|
17324
17380
|
interface ListPublicIntegrationsRequestParams {
|
|
17325
17381
|
}
|
|
@@ -17377,6 +17433,31 @@ interface ListPublicIntegrationsResponse {
|
|
|
17377
17433
|
installs: number;
|
|
17378
17434
|
views: number;
|
|
17379
17435
|
};
|
|
17436
|
+
/**
|
|
17437
|
+
* Metadata about which fields matched the search criteria
|
|
17438
|
+
*/
|
|
17439
|
+
matchedOn?: {
|
|
17440
|
+
/**
|
|
17441
|
+
* Whether the integration name matched the search term
|
|
17442
|
+
*/
|
|
17443
|
+
name?: boolean;
|
|
17444
|
+
/**
|
|
17445
|
+
* Whether the integration title matched the search term
|
|
17446
|
+
*/
|
|
17447
|
+
title?: boolean;
|
|
17448
|
+
/**
|
|
17449
|
+
* Whether the integration description matched the search term
|
|
17450
|
+
*/
|
|
17451
|
+
description?: boolean;
|
|
17452
|
+
/**
|
|
17453
|
+
* Action names that matched the search term
|
|
17454
|
+
*/
|
|
17455
|
+
actions?: string[];
|
|
17456
|
+
/**
|
|
17457
|
+
* Interface names that matched the search term
|
|
17458
|
+
*/
|
|
17459
|
+
interfaces?: string[];
|
|
17460
|
+
};
|
|
17380
17461
|
}[];
|
|
17381
17462
|
meta: {
|
|
17382
17463
|
/**
|
|
@@ -22554,12 +22635,12 @@ interface ListIntegrationsRequestQuery {
|
|
|
22554
22635
|
version?: string;
|
|
22555
22636
|
interfaceId?: string;
|
|
22556
22637
|
interfaceName?: string;
|
|
22557
|
-
visibility?: "public" | "private";
|
|
22558
22638
|
installedByBotId?: string;
|
|
22559
22639
|
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
22560
22640
|
search?: string;
|
|
22561
22641
|
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
22562
22642
|
direction?: "asc" | "desc";
|
|
22643
|
+
visibility?: "public" | "private";
|
|
22563
22644
|
dev?: boolean;
|
|
22564
22645
|
}
|
|
22565
22646
|
interface ListIntegrationsRequestParams {
|
|
@@ -30117,8 +30198,16 @@ declare class Client extends Client$1 implements IClient {
|
|
|
30117
30198
|
};
|
|
30118
30199
|
}>;
|
|
30119
30200
|
publicIntegrations: (props: {
|
|
30201
|
+
search?: string | undefined;
|
|
30120
30202
|
name?: string | undefined;
|
|
30203
|
+
limit?: number | undefined;
|
|
30121
30204
|
version?: string | undefined;
|
|
30205
|
+
interfaceId?: string | undefined;
|
|
30206
|
+
interfaceName?: string | undefined;
|
|
30207
|
+
installedByBotId?: string | undefined;
|
|
30208
|
+
verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
|
|
30209
|
+
sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
|
|
30210
|
+
direction?: ("asc" | "desc") | undefined;
|
|
30122
30211
|
}) => AsyncCollection<{
|
|
30123
30212
|
id: string;
|
|
30124
30213
|
name: string;
|
|
@@ -30139,6 +30228,13 @@ declare class Client extends Client$1 implements IClient {
|
|
|
30139
30228
|
installs: number;
|
|
30140
30229
|
views: number;
|
|
30141
30230
|
};
|
|
30231
|
+
matchedOn?: {
|
|
30232
|
+
name?: boolean;
|
|
30233
|
+
title?: boolean;
|
|
30234
|
+
description?: boolean;
|
|
30235
|
+
actions?: string[];
|
|
30236
|
+
interfaces?: string[];
|
|
30237
|
+
};
|
|
30142
30238
|
}>;
|
|
30143
30239
|
bots: (props: {
|
|
30144
30240
|
tags?: {
|
|
@@ -30187,16 +30283,16 @@ declare class Client extends Client$1 implements IClient {
|
|
|
30187
30283
|
integrations: (props: {
|
|
30188
30284
|
search?: string | undefined;
|
|
30189
30285
|
name?: string | undefined;
|
|
30190
|
-
version?: string | undefined;
|
|
30191
|
-
dev?: boolean | undefined;
|
|
30192
30286
|
limit?: number | undefined;
|
|
30287
|
+
version?: string | undefined;
|
|
30193
30288
|
interfaceId?: string | undefined;
|
|
30194
30289
|
interfaceName?: string | undefined;
|
|
30195
|
-
visibility?: ("public" | "private") | undefined;
|
|
30196
30290
|
installedByBotId?: string | undefined;
|
|
30197
30291
|
verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
|
|
30198
30292
|
sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
|
|
30199
30293
|
direction?: ("asc" | "desc") | undefined;
|
|
30294
|
+
dev?: boolean | undefined;
|
|
30295
|
+
visibility?: ("public" | "private") | undefined;
|
|
30200
30296
|
}) => AsyncCollection<{
|
|
30201
30297
|
id: string;
|
|
30202
30298
|
name: string;
|