@botpress/client 1.2.0 → 1.4.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 +234 -44
- 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
|
}
|
|
@@ -3202,7 +3210,7 @@ interface ListPublicIntegrationsResponse$1 {
|
|
|
3202
3210
|
*/
|
|
3203
3211
|
iconUrl: string;
|
|
3204
3212
|
/**
|
|
3205
|
-
*
|
|
3213
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
3206
3214
|
*/
|
|
3207
3215
|
public: boolean;
|
|
3208
3216
|
/**
|
|
@@ -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
|
/**
|
|
@@ -3588,7 +3621,7 @@ interface GetPublicIntegrationByIdResponse$1 {
|
|
|
3588
3621
|
*/
|
|
3589
3622
|
readmeUrl: string;
|
|
3590
3623
|
/**
|
|
3591
|
-
*
|
|
3624
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
3592
3625
|
*/
|
|
3593
3626
|
public: boolean;
|
|
3594
3627
|
/**
|
|
@@ -3973,7 +4006,7 @@ interface GetPublicIntegrationResponse$1 {
|
|
|
3973
4006
|
*/
|
|
3974
4007
|
readmeUrl: string;
|
|
3975
4008
|
/**
|
|
3976
|
-
*
|
|
4009
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
3977
4010
|
*/
|
|
3978
4011
|
public: boolean;
|
|
3979
4012
|
/**
|
|
@@ -4259,7 +4292,7 @@ interface CreateBotResponse$1 {
|
|
|
4259
4292
|
*/
|
|
4260
4293
|
iconUrl: string;
|
|
4261
4294
|
/**
|
|
4262
|
-
*
|
|
4295
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
4263
4296
|
*/
|
|
4264
4297
|
public: boolean;
|
|
4265
4298
|
/**
|
|
@@ -4694,6 +4727,7 @@ interface UpdateBotRequestBody$1 {
|
|
|
4694
4727
|
url: string;
|
|
4695
4728
|
name: string;
|
|
4696
4729
|
}[];
|
|
4730
|
+
layers?: string[];
|
|
4697
4731
|
}
|
|
4698
4732
|
type UpdateBotInput$1 = UpdateBotRequestBody$1 & UpdateBotRequestHeaders$1 & UpdateBotRequestQuery$1 & UpdateBotRequestParams$1;
|
|
4699
4733
|
interface UpdateBotResponse$1 {
|
|
@@ -4762,7 +4796,7 @@ interface UpdateBotResponse$1 {
|
|
|
4762
4796
|
*/
|
|
4763
4797
|
iconUrl: string;
|
|
4764
4798
|
/**
|
|
4765
|
-
*
|
|
4799
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
4766
4800
|
*/
|
|
4767
4801
|
public: boolean;
|
|
4768
4802
|
/**
|
|
@@ -5139,7 +5173,7 @@ interface GetBotResponse$1 {
|
|
|
5139
5173
|
*/
|
|
5140
5174
|
iconUrl: string;
|
|
5141
5175
|
/**
|
|
5142
|
-
*
|
|
5176
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
5143
5177
|
*/
|
|
5144
5178
|
public: boolean;
|
|
5145
5179
|
/**
|
|
@@ -5393,7 +5427,7 @@ interface GetBotLogsRequestHeaders$1 {
|
|
|
5393
5427
|
}
|
|
5394
5428
|
interface GetBotLogsRequestQuery$1 {
|
|
5395
5429
|
timeStart: string;
|
|
5396
|
-
timeEnd
|
|
5430
|
+
timeEnd?: string;
|
|
5397
5431
|
level?: string;
|
|
5398
5432
|
userId?: string;
|
|
5399
5433
|
workflowId?: string;
|
|
@@ -6712,7 +6746,7 @@ interface CreateIntegrationRequestBody$1 {
|
|
|
6712
6746
|
*/
|
|
6713
6747
|
description?: string;
|
|
6714
6748
|
/**
|
|
6715
|
-
*
|
|
6749
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
6716
6750
|
*/
|
|
6717
6751
|
public?: boolean;
|
|
6718
6752
|
layers?: string[];
|
|
@@ -7069,7 +7103,7 @@ interface CreateIntegrationResponse$1 {
|
|
|
7069
7103
|
*/
|
|
7070
7104
|
readmeUrl: string;
|
|
7071
7105
|
/**
|
|
7072
|
-
*
|
|
7106
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
7073
7107
|
*/
|
|
7074
7108
|
public: boolean;
|
|
7075
7109
|
/**
|
|
@@ -7392,7 +7426,7 @@ interface ValidateIntegrationCreationRequestBody$1 {
|
|
|
7392
7426
|
*/
|
|
7393
7427
|
description?: string;
|
|
7394
7428
|
/**
|
|
7395
|
-
*
|
|
7429
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
7396
7430
|
*/
|
|
7397
7431
|
public?: boolean;
|
|
7398
7432
|
layers?: string[];
|
|
@@ -7703,7 +7737,7 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
7703
7737
|
*/
|
|
7704
7738
|
url?: string | null;
|
|
7705
7739
|
/**
|
|
7706
|
-
*
|
|
7740
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
7707
7741
|
*/
|
|
7708
7742
|
public?: boolean;
|
|
7709
7743
|
layers?: string[];
|
|
@@ -8060,7 +8094,7 @@ interface UpdateIntegrationResponse$1 {
|
|
|
8060
8094
|
*/
|
|
8061
8095
|
readmeUrl: string;
|
|
8062
8096
|
/**
|
|
8063
|
-
*
|
|
8097
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
8064
8098
|
*/
|
|
8065
8099
|
public: boolean;
|
|
8066
8100
|
/**
|
|
@@ -8376,7 +8410,7 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
8376
8410
|
*/
|
|
8377
8411
|
url?: string | null;
|
|
8378
8412
|
/**
|
|
8379
|
-
*
|
|
8413
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
8380
8414
|
*/
|
|
8381
8415
|
public?: boolean;
|
|
8382
8416
|
layers?: string[];
|
|
@@ -8394,12 +8428,12 @@ interface ListIntegrationsRequestQuery$1 {
|
|
|
8394
8428
|
version?: string;
|
|
8395
8429
|
interfaceId?: string;
|
|
8396
8430
|
interfaceName?: string;
|
|
8397
|
-
visibility?: "public" | "private";
|
|
8398
8431
|
installedByBotId?: string;
|
|
8399
8432
|
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
8400
8433
|
search?: string;
|
|
8401
8434
|
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
8402
8435
|
direction?: "asc" | "desc";
|
|
8436
|
+
visibility?: "public" | "private";
|
|
8403
8437
|
dev?: boolean;
|
|
8404
8438
|
}
|
|
8405
8439
|
interface ListIntegrationsRequestParams$1 {
|
|
@@ -8442,7 +8476,7 @@ interface ListIntegrationsResponse$1 {
|
|
|
8442
8476
|
*/
|
|
8443
8477
|
iconUrl: string;
|
|
8444
8478
|
/**
|
|
8445
|
-
*
|
|
8479
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
8446
8480
|
*/
|
|
8447
8481
|
public: boolean;
|
|
8448
8482
|
/**
|
|
@@ -8849,7 +8883,7 @@ interface GetIntegrationResponse$1 {
|
|
|
8849
8883
|
*/
|
|
8850
8884
|
readmeUrl: string;
|
|
8851
8885
|
/**
|
|
8852
|
-
*
|
|
8886
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
8853
8887
|
*/
|
|
8854
8888
|
public: boolean;
|
|
8855
8889
|
/**
|
|
@@ -8867,7 +8901,7 @@ interface GetIntegrationLogsRequestHeaders$1 {
|
|
|
8867
8901
|
}
|
|
8868
8902
|
interface GetIntegrationLogsRequestQuery$1 {
|
|
8869
8903
|
timeStart: string;
|
|
8870
|
-
timeEnd
|
|
8904
|
+
timeEnd?: string;
|
|
8871
8905
|
level?: string;
|
|
8872
8906
|
userId?: string;
|
|
8873
8907
|
conversationId?: string;
|
|
@@ -9253,7 +9287,7 @@ interface GetIntegrationByNameResponse$1 {
|
|
|
9253
9287
|
*/
|
|
9254
9288
|
readmeUrl: string;
|
|
9255
9289
|
/**
|
|
9256
|
-
*
|
|
9290
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
9257
9291
|
*/
|
|
9258
9292
|
public: boolean;
|
|
9259
9293
|
/**
|
|
@@ -10223,6 +10257,10 @@ interface CreatePluginRequestBody$1 {
|
|
|
10223
10257
|
* Description of the plugin. This is the description that will be displayed in the UI
|
|
10224
10258
|
*/
|
|
10225
10259
|
description?: string;
|
|
10260
|
+
/**
|
|
10261
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
10262
|
+
*/
|
|
10263
|
+
public?: boolean;
|
|
10226
10264
|
}
|
|
10227
10265
|
type CreatePluginInput$1 = CreatePluginRequestBody$1 & CreatePluginRequestHeaders$1 & CreatePluginRequestQuery$1 & CreatePluginRequestParams$1;
|
|
10228
10266
|
interface CreatePluginResponse$1 {
|
|
@@ -10401,6 +10439,10 @@ interface CreatePluginResponse$1 {
|
|
|
10401
10439
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
10402
10440
|
*/
|
|
10403
10441
|
readmeUrl: string;
|
|
10442
|
+
/**
|
|
10443
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
10444
|
+
*/
|
|
10445
|
+
public: boolean;
|
|
10404
10446
|
};
|
|
10405
10447
|
}
|
|
10406
10448
|
|
|
@@ -10590,6 +10632,10 @@ interface GetPluginResponse$1 {
|
|
|
10590
10632
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
10591
10633
|
*/
|
|
10592
10634
|
readmeUrl: string;
|
|
10635
|
+
/**
|
|
10636
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
10637
|
+
*/
|
|
10638
|
+
public: boolean;
|
|
10593
10639
|
};
|
|
10594
10640
|
}
|
|
10595
10641
|
|
|
@@ -10780,6 +10826,10 @@ interface GetPluginByNameResponse$1 {
|
|
|
10780
10826
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
10781
10827
|
*/
|
|
10782
10828
|
readmeUrl: string;
|
|
10829
|
+
/**
|
|
10830
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
10831
|
+
*/
|
|
10832
|
+
public: boolean;
|
|
10783
10833
|
};
|
|
10784
10834
|
}
|
|
10785
10835
|
|
|
@@ -10945,6 +10995,10 @@ interface UpdatePluginRequestBody$1 {
|
|
|
10945
10995
|
* Description of the plugin. This is the description that will be displayed in the UI
|
|
10946
10996
|
*/
|
|
10947
10997
|
description?: string;
|
|
10998
|
+
/**
|
|
10999
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
11000
|
+
*/
|
|
11001
|
+
public?: boolean;
|
|
10948
11002
|
}
|
|
10949
11003
|
type UpdatePluginInput$1 = UpdatePluginRequestBody$1 & UpdatePluginRequestHeaders$1 & UpdatePluginRequestQuery$1 & UpdatePluginRequestParams$1;
|
|
10950
11004
|
interface UpdatePluginResponse$1 {
|
|
@@ -11123,6 +11177,10 @@ interface UpdatePluginResponse$1 {
|
|
|
11123
11177
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
11124
11178
|
*/
|
|
11125
11179
|
readmeUrl: string;
|
|
11180
|
+
/**
|
|
11181
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
11182
|
+
*/
|
|
11183
|
+
public: boolean;
|
|
11126
11184
|
};
|
|
11127
11185
|
}
|
|
11128
11186
|
|
|
@@ -11188,6 +11246,10 @@ interface ListPluginsResponse$1 {
|
|
|
11188
11246
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
11189
11247
|
*/
|
|
11190
11248
|
readmeUrl: string;
|
|
11249
|
+
/**
|
|
11250
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
11251
|
+
*/
|
|
11252
|
+
public: boolean;
|
|
11191
11253
|
}[];
|
|
11192
11254
|
meta: {
|
|
11193
11255
|
/**
|
|
@@ -11548,8 +11610,16 @@ declare class Client$6 extends Client$7 {
|
|
|
11548
11610
|
constructor(clientProps: ClientProps$6);
|
|
11549
11611
|
get list(): {
|
|
11550
11612
|
publicIntegrations: (props: {
|
|
11613
|
+
search?: string | undefined;
|
|
11551
11614
|
name?: string | undefined;
|
|
11615
|
+
limit?: number | undefined;
|
|
11552
11616
|
version?: string | undefined;
|
|
11617
|
+
interfaceId?: string | undefined;
|
|
11618
|
+
interfaceName?: string | undefined;
|
|
11619
|
+
installedByBotId?: string | undefined;
|
|
11620
|
+
verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
|
|
11621
|
+
sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
|
|
11622
|
+
direction?: ("asc" | "desc") | undefined;
|
|
11553
11623
|
}) => AsyncCollection<{
|
|
11554
11624
|
id: string;
|
|
11555
11625
|
name: string;
|
|
@@ -11570,6 +11640,13 @@ declare class Client$6 extends Client$7 {
|
|
|
11570
11640
|
installs: number;
|
|
11571
11641
|
views: number;
|
|
11572
11642
|
};
|
|
11643
|
+
matchedOn?: {
|
|
11644
|
+
name?: boolean;
|
|
11645
|
+
title?: boolean;
|
|
11646
|
+
description?: boolean;
|
|
11647
|
+
actions?: string[];
|
|
11648
|
+
interfaces?: string[];
|
|
11649
|
+
};
|
|
11573
11650
|
}>;
|
|
11574
11651
|
bots: (props: {
|
|
11575
11652
|
tags?: {
|
|
@@ -11626,16 +11703,16 @@ declare class Client$6 extends Client$7 {
|
|
|
11626
11703
|
integrations: (props: {
|
|
11627
11704
|
search?: string | undefined;
|
|
11628
11705
|
name?: string | undefined;
|
|
11629
|
-
version?: string | undefined;
|
|
11630
|
-
dev?: boolean | undefined;
|
|
11631
11706
|
limit?: number | undefined;
|
|
11707
|
+
version?: string | undefined;
|
|
11632
11708
|
interfaceId?: string | undefined;
|
|
11633
11709
|
interfaceName?: string | undefined;
|
|
11634
|
-
visibility?: ("public" | "private") | undefined;
|
|
11635
11710
|
installedByBotId?: string | undefined;
|
|
11636
11711
|
verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
|
|
11637
11712
|
sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
|
|
11638
11713
|
direction?: ("asc" | "desc") | undefined;
|
|
11714
|
+
dev?: boolean | undefined;
|
|
11715
|
+
visibility?: ("public" | "private") | undefined;
|
|
11639
11716
|
}) => AsyncCollection<{
|
|
11640
11717
|
id: string;
|
|
11641
11718
|
name: string;
|
|
@@ -11813,6 +11890,10 @@ interface UpsertFileRequestBody$1 {
|
|
|
11813
11890
|
*/
|
|
11814
11891
|
generateMasterSummary?: boolean;
|
|
11815
11892
|
};
|
|
11893
|
+
/**
|
|
11894
|
+
* Internal setting, cannot be set manually.
|
|
11895
|
+
*/
|
|
11896
|
+
stack?: "realtime-v1";
|
|
11816
11897
|
vision?: {
|
|
11817
11898
|
/**
|
|
11818
11899
|
* (Team/Enterprise plan only, charged as AI Spend) For PDF files, set this option to `true` or pass an array with specific page numbers to use a vision-enabled LLM to transcribe each page of the PDF as standalone vectors and index them.
|
|
@@ -12439,6 +12520,18 @@ interface SearchFilesResponse$1 {
|
|
|
12439
12520
|
*/
|
|
12440
12521
|
updatedAt: string;
|
|
12441
12522
|
};
|
|
12523
|
+
context?: {
|
|
12524
|
+
id: string;
|
|
12525
|
+
text: string;
|
|
12526
|
+
/**
|
|
12527
|
+
* Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs.
|
|
12528
|
+
*/
|
|
12529
|
+
offset?: number;
|
|
12530
|
+
/**
|
|
12531
|
+
* The type of context passage
|
|
12532
|
+
*/
|
|
12533
|
+
type: "preceding" | "subsequent" | "breadcrumb";
|
|
12534
|
+
}[];
|
|
12442
12535
|
}[];
|
|
12443
12536
|
}
|
|
12444
12537
|
|
|
@@ -17318,8 +17411,16 @@ interface ListPublicIntegrationsRequestHeaders {
|
|
|
17318
17411
|
}
|
|
17319
17412
|
interface ListPublicIntegrationsRequestQuery {
|
|
17320
17413
|
nextToken?: string;
|
|
17414
|
+
limit?: number;
|
|
17321
17415
|
name?: string;
|
|
17322
17416
|
version?: string;
|
|
17417
|
+
interfaceId?: string;
|
|
17418
|
+
interfaceName?: string;
|
|
17419
|
+
installedByBotId?: string;
|
|
17420
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
17421
|
+
search?: string;
|
|
17422
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
17423
|
+
direction?: "asc" | "desc";
|
|
17323
17424
|
}
|
|
17324
17425
|
interface ListPublicIntegrationsRequestParams {
|
|
17325
17426
|
}
|
|
@@ -17361,7 +17462,7 @@ interface ListPublicIntegrationsResponse {
|
|
|
17361
17462
|
*/
|
|
17362
17463
|
iconUrl: string;
|
|
17363
17464
|
/**
|
|
17364
|
-
*
|
|
17465
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
17365
17466
|
*/
|
|
17366
17467
|
public: boolean;
|
|
17367
17468
|
/**
|
|
@@ -17377,6 +17478,31 @@ interface ListPublicIntegrationsResponse {
|
|
|
17377
17478
|
installs: number;
|
|
17378
17479
|
views: number;
|
|
17379
17480
|
};
|
|
17481
|
+
/**
|
|
17482
|
+
* Metadata about which fields matched the search criteria
|
|
17483
|
+
*/
|
|
17484
|
+
matchedOn?: {
|
|
17485
|
+
/**
|
|
17486
|
+
* Whether the integration name matched the search term
|
|
17487
|
+
*/
|
|
17488
|
+
name?: boolean;
|
|
17489
|
+
/**
|
|
17490
|
+
* Whether the integration title matched the search term
|
|
17491
|
+
*/
|
|
17492
|
+
title?: boolean;
|
|
17493
|
+
/**
|
|
17494
|
+
* Whether the integration description matched the search term
|
|
17495
|
+
*/
|
|
17496
|
+
description?: boolean;
|
|
17497
|
+
/**
|
|
17498
|
+
* Action names that matched the search term
|
|
17499
|
+
*/
|
|
17500
|
+
actions?: string[];
|
|
17501
|
+
/**
|
|
17502
|
+
* Interface names that matched the search term
|
|
17503
|
+
*/
|
|
17504
|
+
interfaces?: string[];
|
|
17505
|
+
};
|
|
17380
17506
|
}[];
|
|
17381
17507
|
meta: {
|
|
17382
17508
|
/**
|
|
@@ -17747,7 +17873,7 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
17747
17873
|
*/
|
|
17748
17874
|
readmeUrl: string;
|
|
17749
17875
|
/**
|
|
17750
|
-
*
|
|
17876
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
17751
17877
|
*/
|
|
17752
17878
|
public: boolean;
|
|
17753
17879
|
/**
|
|
@@ -18132,7 +18258,7 @@ interface GetPublicIntegrationResponse {
|
|
|
18132
18258
|
*/
|
|
18133
18259
|
readmeUrl: string;
|
|
18134
18260
|
/**
|
|
18135
|
-
*
|
|
18261
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
18136
18262
|
*/
|
|
18137
18263
|
public: boolean;
|
|
18138
18264
|
/**
|
|
@@ -18418,7 +18544,7 @@ interface CreateBotResponse {
|
|
|
18418
18544
|
*/
|
|
18419
18545
|
iconUrl: string;
|
|
18420
18546
|
/**
|
|
18421
|
-
*
|
|
18547
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
18422
18548
|
*/
|
|
18423
18549
|
public: boolean;
|
|
18424
18550
|
/**
|
|
@@ -18853,6 +18979,7 @@ interface UpdateBotRequestBody {
|
|
|
18853
18979
|
url: string;
|
|
18854
18980
|
name: string;
|
|
18855
18981
|
}[];
|
|
18982
|
+
layers?: string[];
|
|
18856
18983
|
}
|
|
18857
18984
|
type UpdateBotInput = UpdateBotRequestBody & UpdateBotRequestHeaders & UpdateBotRequestQuery & UpdateBotRequestParams;
|
|
18858
18985
|
interface UpdateBotResponse {
|
|
@@ -18921,7 +19048,7 @@ interface UpdateBotResponse {
|
|
|
18921
19048
|
*/
|
|
18922
19049
|
iconUrl: string;
|
|
18923
19050
|
/**
|
|
18924
|
-
*
|
|
19051
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
18925
19052
|
*/
|
|
18926
19053
|
public: boolean;
|
|
18927
19054
|
/**
|
|
@@ -19298,7 +19425,7 @@ interface GetBotResponse {
|
|
|
19298
19425
|
*/
|
|
19299
19426
|
iconUrl: string;
|
|
19300
19427
|
/**
|
|
19301
|
-
*
|
|
19428
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
19302
19429
|
*/
|
|
19303
19430
|
public: boolean;
|
|
19304
19431
|
/**
|
|
@@ -19552,7 +19679,7 @@ interface GetBotLogsRequestHeaders {
|
|
|
19552
19679
|
}
|
|
19553
19680
|
interface GetBotLogsRequestQuery {
|
|
19554
19681
|
timeStart: string;
|
|
19555
|
-
timeEnd
|
|
19682
|
+
timeEnd?: string;
|
|
19556
19683
|
level?: string;
|
|
19557
19684
|
userId?: string;
|
|
19558
19685
|
workflowId?: string;
|
|
@@ -20872,7 +20999,7 @@ interface CreateIntegrationRequestBody {
|
|
|
20872
20999
|
*/
|
|
20873
21000
|
description?: string;
|
|
20874
21001
|
/**
|
|
20875
|
-
*
|
|
21002
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
20876
21003
|
*/
|
|
20877
21004
|
public?: boolean;
|
|
20878
21005
|
layers?: string[];
|
|
@@ -21229,7 +21356,7 @@ interface CreateIntegrationResponse {
|
|
|
21229
21356
|
*/
|
|
21230
21357
|
readmeUrl: string;
|
|
21231
21358
|
/**
|
|
21232
|
-
*
|
|
21359
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
21233
21360
|
*/
|
|
21234
21361
|
public: boolean;
|
|
21235
21362
|
/**
|
|
@@ -21552,7 +21679,7 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
21552
21679
|
*/
|
|
21553
21680
|
description?: string;
|
|
21554
21681
|
/**
|
|
21555
|
-
*
|
|
21682
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
21556
21683
|
*/
|
|
21557
21684
|
public?: boolean;
|
|
21558
21685
|
layers?: string[];
|
|
@@ -21863,7 +21990,7 @@ interface UpdateIntegrationRequestBody {
|
|
|
21863
21990
|
*/
|
|
21864
21991
|
url?: string | null;
|
|
21865
21992
|
/**
|
|
21866
|
-
*
|
|
21993
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
21867
21994
|
*/
|
|
21868
21995
|
public?: boolean;
|
|
21869
21996
|
layers?: string[];
|
|
@@ -22220,7 +22347,7 @@ interface UpdateIntegrationResponse {
|
|
|
22220
22347
|
*/
|
|
22221
22348
|
readmeUrl: string;
|
|
22222
22349
|
/**
|
|
22223
|
-
*
|
|
22350
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
22224
22351
|
*/
|
|
22225
22352
|
public: boolean;
|
|
22226
22353
|
/**
|
|
@@ -22536,7 +22663,7 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
22536
22663
|
*/
|
|
22537
22664
|
url?: string | null;
|
|
22538
22665
|
/**
|
|
22539
|
-
*
|
|
22666
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
22540
22667
|
*/
|
|
22541
22668
|
public?: boolean;
|
|
22542
22669
|
layers?: string[];
|
|
@@ -22554,12 +22681,12 @@ interface ListIntegrationsRequestQuery {
|
|
|
22554
22681
|
version?: string;
|
|
22555
22682
|
interfaceId?: string;
|
|
22556
22683
|
interfaceName?: string;
|
|
22557
|
-
visibility?: "public" | "private";
|
|
22558
22684
|
installedByBotId?: string;
|
|
22559
22685
|
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
22560
22686
|
search?: string;
|
|
22561
22687
|
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
22562
22688
|
direction?: "asc" | "desc";
|
|
22689
|
+
visibility?: "public" | "private";
|
|
22563
22690
|
dev?: boolean;
|
|
22564
22691
|
}
|
|
22565
22692
|
interface ListIntegrationsRequestParams {
|
|
@@ -22602,7 +22729,7 @@ interface ListIntegrationsResponse {
|
|
|
22602
22729
|
*/
|
|
22603
22730
|
iconUrl: string;
|
|
22604
22731
|
/**
|
|
22605
|
-
*
|
|
22732
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
22606
22733
|
*/
|
|
22607
22734
|
public: boolean;
|
|
22608
22735
|
/**
|
|
@@ -23009,7 +23136,7 @@ interface GetIntegrationResponse {
|
|
|
23009
23136
|
*/
|
|
23010
23137
|
readmeUrl: string;
|
|
23011
23138
|
/**
|
|
23012
|
-
*
|
|
23139
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
23013
23140
|
*/
|
|
23014
23141
|
public: boolean;
|
|
23015
23142
|
/**
|
|
@@ -23027,7 +23154,7 @@ interface GetIntegrationLogsRequestHeaders {
|
|
|
23027
23154
|
}
|
|
23028
23155
|
interface GetIntegrationLogsRequestQuery {
|
|
23029
23156
|
timeStart: string;
|
|
23030
|
-
timeEnd
|
|
23157
|
+
timeEnd?: string;
|
|
23031
23158
|
level?: string;
|
|
23032
23159
|
userId?: string;
|
|
23033
23160
|
conversationId?: string;
|
|
@@ -23413,7 +23540,7 @@ interface GetIntegrationByNameResponse {
|
|
|
23413
23540
|
*/
|
|
23414
23541
|
readmeUrl: string;
|
|
23415
23542
|
/**
|
|
23416
|
-
*
|
|
23543
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
23417
23544
|
*/
|
|
23418
23545
|
public: boolean;
|
|
23419
23546
|
/**
|
|
@@ -24383,6 +24510,10 @@ interface CreatePluginRequestBody {
|
|
|
24383
24510
|
* Description of the plugin. This is the description that will be displayed in the UI
|
|
24384
24511
|
*/
|
|
24385
24512
|
description?: string;
|
|
24513
|
+
/**
|
|
24514
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
24515
|
+
*/
|
|
24516
|
+
public?: boolean;
|
|
24386
24517
|
}
|
|
24387
24518
|
type CreatePluginInput = CreatePluginRequestBody & CreatePluginRequestHeaders & CreatePluginRequestQuery & CreatePluginRequestParams;
|
|
24388
24519
|
interface CreatePluginResponse {
|
|
@@ -24561,6 +24692,10 @@ interface CreatePluginResponse {
|
|
|
24561
24692
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
24562
24693
|
*/
|
|
24563
24694
|
readmeUrl: string;
|
|
24695
|
+
/**
|
|
24696
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
24697
|
+
*/
|
|
24698
|
+
public: boolean;
|
|
24564
24699
|
};
|
|
24565
24700
|
}
|
|
24566
24701
|
|
|
@@ -24750,6 +24885,10 @@ interface GetPluginResponse {
|
|
|
24750
24885
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
24751
24886
|
*/
|
|
24752
24887
|
readmeUrl: string;
|
|
24888
|
+
/**
|
|
24889
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
24890
|
+
*/
|
|
24891
|
+
public: boolean;
|
|
24753
24892
|
};
|
|
24754
24893
|
}
|
|
24755
24894
|
|
|
@@ -24940,6 +25079,10 @@ interface GetPluginByNameResponse {
|
|
|
24940
25079
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
24941
25080
|
*/
|
|
24942
25081
|
readmeUrl: string;
|
|
25082
|
+
/**
|
|
25083
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
25084
|
+
*/
|
|
25085
|
+
public: boolean;
|
|
24943
25086
|
};
|
|
24944
25087
|
}
|
|
24945
25088
|
|
|
@@ -25105,6 +25248,10 @@ interface UpdatePluginRequestBody {
|
|
|
25105
25248
|
* Description of the plugin. This is the description that will be displayed in the UI
|
|
25106
25249
|
*/
|
|
25107
25250
|
description?: string;
|
|
25251
|
+
/**
|
|
25252
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
25253
|
+
*/
|
|
25254
|
+
public?: boolean;
|
|
25108
25255
|
}
|
|
25109
25256
|
type UpdatePluginInput = UpdatePluginRequestBody & UpdatePluginRequestHeaders & UpdatePluginRequestQuery & UpdatePluginRequestParams;
|
|
25110
25257
|
interface UpdatePluginResponse {
|
|
@@ -25283,6 +25430,10 @@ interface UpdatePluginResponse {
|
|
|
25283
25430
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
25284
25431
|
*/
|
|
25285
25432
|
readmeUrl: string;
|
|
25433
|
+
/**
|
|
25434
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
25435
|
+
*/
|
|
25436
|
+
public: boolean;
|
|
25286
25437
|
};
|
|
25287
25438
|
}
|
|
25288
25439
|
|
|
@@ -25348,6 +25499,10 @@ interface ListPluginsResponse {
|
|
|
25348
25499
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
25349
25500
|
*/
|
|
25350
25501
|
readmeUrl: string;
|
|
25502
|
+
/**
|
|
25503
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
25504
|
+
*/
|
|
25505
|
+
public: boolean;
|
|
25351
25506
|
}[];
|
|
25352
25507
|
meta: {
|
|
25353
25508
|
/**
|
|
@@ -25683,6 +25838,10 @@ interface UpsertFileRequestBody {
|
|
|
25683
25838
|
*/
|
|
25684
25839
|
generateMasterSummary?: boolean;
|
|
25685
25840
|
};
|
|
25841
|
+
/**
|
|
25842
|
+
* Internal setting, cannot be set manually.
|
|
25843
|
+
*/
|
|
25844
|
+
stack?: "realtime-v1";
|
|
25686
25845
|
vision?: {
|
|
25687
25846
|
/**
|
|
25688
25847
|
* (Team/Enterprise plan only, charged as AI Spend) For PDF files, set this option to `true` or pass an array with specific page numbers to use a vision-enabled LLM to transcribe each page of the PDF as standalone vectors and index them.
|
|
@@ -26309,6 +26468,18 @@ interface SearchFilesResponse {
|
|
|
26309
26468
|
*/
|
|
26310
26469
|
updatedAt: string;
|
|
26311
26470
|
};
|
|
26471
|
+
context?: {
|
|
26472
|
+
id: string;
|
|
26473
|
+
text: string;
|
|
26474
|
+
/**
|
|
26475
|
+
* Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs.
|
|
26476
|
+
*/
|
|
26477
|
+
offset?: number;
|
|
26478
|
+
/**
|
|
26479
|
+
* The type of context passage
|
|
26480
|
+
*/
|
|
26481
|
+
type: "preceding" | "subsequent" | "breadcrumb";
|
|
26482
|
+
}[];
|
|
26312
26483
|
}[];
|
|
26313
26484
|
}
|
|
26314
26485
|
|
|
@@ -28199,7 +28370,7 @@ interface Bot {
|
|
|
28199
28370
|
*/
|
|
28200
28371
|
iconUrl: string;
|
|
28201
28372
|
/**
|
|
28202
|
-
*
|
|
28373
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
28203
28374
|
*/
|
|
28204
28375
|
public: boolean;
|
|
28205
28376
|
/**
|
|
@@ -28784,7 +28955,7 @@ interface Integration {
|
|
|
28784
28955
|
*/
|
|
28785
28956
|
readmeUrl: string;
|
|
28786
28957
|
/**
|
|
28787
|
-
*
|
|
28958
|
+
* Indicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
28788
28959
|
*/
|
|
28789
28960
|
public: boolean;
|
|
28790
28961
|
/**
|
|
@@ -29085,6 +29256,10 @@ interface Plugin {
|
|
|
29085
29256
|
* URL of the readme of the plugin. This is the readme that will be displayed in the UI
|
|
29086
29257
|
*/
|
|
29087
29258
|
readmeUrl: string;
|
|
29259
|
+
/**
|
|
29260
|
+
* Indicates if the plugin is public. Public plugins are available to all and cannot be updated without creating a new version.
|
|
29261
|
+
*/
|
|
29262
|
+
public: boolean;
|
|
29088
29263
|
}
|
|
29089
29264
|
interface Workspace {
|
|
29090
29265
|
id: string;
|
|
@@ -30117,8 +30292,16 @@ declare class Client extends Client$1 implements IClient {
|
|
|
30117
30292
|
};
|
|
30118
30293
|
}>;
|
|
30119
30294
|
publicIntegrations: (props: {
|
|
30295
|
+
search?: string | undefined;
|
|
30120
30296
|
name?: string | undefined;
|
|
30297
|
+
limit?: number | undefined;
|
|
30121
30298
|
version?: string | undefined;
|
|
30299
|
+
interfaceId?: string | undefined;
|
|
30300
|
+
interfaceName?: string | undefined;
|
|
30301
|
+
installedByBotId?: string | undefined;
|
|
30302
|
+
verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
|
|
30303
|
+
sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
|
|
30304
|
+
direction?: ("asc" | "desc") | undefined;
|
|
30122
30305
|
}) => AsyncCollection<{
|
|
30123
30306
|
id: string;
|
|
30124
30307
|
name: string;
|
|
@@ -30139,6 +30322,13 @@ declare class Client extends Client$1 implements IClient {
|
|
|
30139
30322
|
installs: number;
|
|
30140
30323
|
views: number;
|
|
30141
30324
|
};
|
|
30325
|
+
matchedOn?: {
|
|
30326
|
+
name?: boolean;
|
|
30327
|
+
title?: boolean;
|
|
30328
|
+
description?: boolean;
|
|
30329
|
+
actions?: string[];
|
|
30330
|
+
interfaces?: string[];
|
|
30331
|
+
};
|
|
30142
30332
|
}>;
|
|
30143
30333
|
bots: (props: {
|
|
30144
30334
|
tags?: {
|
|
@@ -30187,16 +30377,16 @@ declare class Client extends Client$1 implements IClient {
|
|
|
30187
30377
|
integrations: (props: {
|
|
30188
30378
|
search?: string | undefined;
|
|
30189
30379
|
name?: string | undefined;
|
|
30190
|
-
version?: string | undefined;
|
|
30191
|
-
dev?: boolean | undefined;
|
|
30192
30380
|
limit?: number | undefined;
|
|
30381
|
+
version?: string | undefined;
|
|
30193
30382
|
interfaceId?: string | undefined;
|
|
30194
30383
|
interfaceName?: string | undefined;
|
|
30195
|
-
visibility?: ("public" | "private") | undefined;
|
|
30196
30384
|
installedByBotId?: string | undefined;
|
|
30197
30385
|
verificationStatus?: ("unapproved" | "pending" | "approved" | "rejected") | undefined;
|
|
30198
30386
|
sortBy?: ("popularity" | "name" | "createdAt" | "updatedAt" | "installCount") | undefined;
|
|
30199
30387
|
direction?: ("asc" | "desc") | undefined;
|
|
30388
|
+
dev?: boolean | undefined;
|
|
30389
|
+
visibility?: ("public" | "private") | undefined;
|
|
30200
30390
|
}) => AsyncCollection<{
|
|
30201
30391
|
id: string;
|
|
30202
30392
|
name: string;
|