@botpress/client 0.41.0 → 0.41.2
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 +9 -9
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs +11 -11
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +343 -17
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +4 -4
- package/{tests/e2e → e2e}/node.ts +1 -1
- package/package.json +4 -6
- package/tsconfig.build.json +9 -0
- package/tests/manual/file-upload.test.ts +0 -88
- /package/{tests/e2e → e2e}/consts.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -5465,7 +5465,7 @@ interface CreateWorkspaceResponse {
|
|
|
5465
5465
|
updatedAt: string;
|
|
5466
5466
|
botCount: number;
|
|
5467
5467
|
billingVersion: "v1" | "v2" | "v3";
|
|
5468
|
-
plan: "community" | "team" | "enterprise" | "
|
|
5468
|
+
plan: "community" | "team" | "enterprise" | "plus";
|
|
5469
5469
|
blocked: boolean;
|
|
5470
5470
|
spendingLimit: number;
|
|
5471
5471
|
about?: string;
|
|
@@ -5518,7 +5518,7 @@ interface GetWorkspaceResponse {
|
|
|
5518
5518
|
updatedAt: string;
|
|
5519
5519
|
botCount: number;
|
|
5520
5520
|
billingVersion: "v1" | "v2" | "v3";
|
|
5521
|
-
plan: "community" | "team" | "enterprise" | "
|
|
5521
|
+
plan: "community" | "team" | "enterprise" | "plus";
|
|
5522
5522
|
blocked: boolean;
|
|
5523
5523
|
spendingLimit: number;
|
|
5524
5524
|
about?: string;
|
|
@@ -5689,7 +5689,7 @@ interface UpdateWorkspaceResponse$1 {
|
|
|
5689
5689
|
updatedAt: string;
|
|
5690
5690
|
botCount: number;
|
|
5691
5691
|
billingVersion: "v1" | "v2" | "v3";
|
|
5692
|
-
plan: "community" | "team" | "enterprise" | "
|
|
5692
|
+
plan: "community" | "team" | "enterprise" | "plus";
|
|
5693
5693
|
blocked: boolean;
|
|
5694
5694
|
spendingLimit: number;
|
|
5695
5695
|
about?: string;
|
|
@@ -5744,7 +5744,7 @@ interface UpdateWorkspaceResponse {
|
|
|
5744
5744
|
updatedAt: string;
|
|
5745
5745
|
botCount: number;
|
|
5746
5746
|
billingVersion: "v1" | "v2" | "v3";
|
|
5747
|
-
plan: "community" | "team" | "enterprise" | "
|
|
5747
|
+
plan: "community" | "team" | "enterprise" | "plus";
|
|
5748
5748
|
blocked: boolean;
|
|
5749
5749
|
spendingLimit: number;
|
|
5750
5750
|
about?: string;
|
|
@@ -6299,6 +6299,7 @@ interface CreateIntegrationRequestBody {
|
|
|
6299
6299
|
* Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
6300
6300
|
*/
|
|
6301
6301
|
public?: boolean;
|
|
6302
|
+
layers?: string[];
|
|
6302
6303
|
}
|
|
6303
6304
|
type CreateIntegrationInput = CreateIntegrationRequestBody & CreateIntegrationRequestHeaders & CreateIntegrationRequestQuery & CreateIntegrationRequestParams;
|
|
6304
6305
|
interface CreateIntegrationResponse {
|
|
@@ -6957,6 +6958,7 @@ interface UpdateIntegrationRequestBody {
|
|
|
6957
6958
|
* Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
|
|
6958
6959
|
*/
|
|
6959
6960
|
public?: boolean;
|
|
6961
|
+
layers?: string[];
|
|
6960
6962
|
}
|
|
6961
6963
|
type UpdateIntegrationInput = UpdateIntegrationRequestBody & UpdateIntegrationRequestHeaders & UpdateIntegrationRequestQuery & UpdateIntegrationRequestParams;
|
|
6962
6964
|
interface UpdateIntegrationResponse {
|
|
@@ -9035,7 +9037,26 @@ interface CreatePluginRequestBody {
|
|
|
9035
9037
|
};
|
|
9036
9038
|
};
|
|
9037
9039
|
};
|
|
9038
|
-
|
|
9040
|
+
/**
|
|
9041
|
+
* Conversation object configuration
|
|
9042
|
+
*/
|
|
9043
|
+
conversation?: {
|
|
9044
|
+
tags: {
|
|
9045
|
+
/**
|
|
9046
|
+
* Definition of a tag that can be provided on the object
|
|
9047
|
+
*/
|
|
9048
|
+
[k: string]: {
|
|
9049
|
+
/**
|
|
9050
|
+
* Title of the tag
|
|
9051
|
+
*/
|
|
9052
|
+
title?: string;
|
|
9053
|
+
/**
|
|
9054
|
+
* Description of the tag
|
|
9055
|
+
*/
|
|
9056
|
+
description?: string;
|
|
9057
|
+
};
|
|
9058
|
+
};
|
|
9059
|
+
};
|
|
9039
9060
|
dependencies?: {
|
|
9040
9061
|
interfaces?: {
|
|
9041
9062
|
[k: string]: {
|
|
@@ -9048,6 +9069,16 @@ interface CreatePluginRequestBody {
|
|
|
9048
9069
|
};
|
|
9049
9070
|
};
|
|
9050
9071
|
};
|
|
9072
|
+
code: {
|
|
9073
|
+
/**
|
|
9074
|
+
* Code of plugin bundled for Node.JS
|
|
9075
|
+
*/
|
|
9076
|
+
node: string;
|
|
9077
|
+
/**
|
|
9078
|
+
* Code of plugin bundled for the browser
|
|
9079
|
+
*/
|
|
9080
|
+
browser: string;
|
|
9081
|
+
};
|
|
9051
9082
|
}
|
|
9052
9083
|
type CreatePluginInput = CreatePluginRequestBody & CreatePluginRequestHeaders & CreatePluginRequestQuery & CreatePluginRequestParams;
|
|
9053
9084
|
interface CreatePluginResponse {
|
|
@@ -9193,7 +9224,26 @@ interface CreatePluginResponse {
|
|
|
9193
9224
|
};
|
|
9194
9225
|
};
|
|
9195
9226
|
};
|
|
9196
|
-
|
|
9227
|
+
/**
|
|
9228
|
+
* Conversation object configuration
|
|
9229
|
+
*/
|
|
9230
|
+
conversation: {
|
|
9231
|
+
tags: {
|
|
9232
|
+
/**
|
|
9233
|
+
* Definition of a tag that can be provided on the object
|
|
9234
|
+
*/
|
|
9235
|
+
[k: string]: {
|
|
9236
|
+
/**
|
|
9237
|
+
* Title of the tag
|
|
9238
|
+
*/
|
|
9239
|
+
title?: string;
|
|
9240
|
+
/**
|
|
9241
|
+
* Description of the tag
|
|
9242
|
+
*/
|
|
9243
|
+
description?: string;
|
|
9244
|
+
};
|
|
9245
|
+
};
|
|
9246
|
+
};
|
|
9197
9247
|
};
|
|
9198
9248
|
}
|
|
9199
9249
|
|
|
@@ -9350,7 +9400,26 @@ interface GetPluginResponse {
|
|
|
9350
9400
|
};
|
|
9351
9401
|
};
|
|
9352
9402
|
};
|
|
9353
|
-
|
|
9403
|
+
/**
|
|
9404
|
+
* Conversation object configuration
|
|
9405
|
+
*/
|
|
9406
|
+
conversation: {
|
|
9407
|
+
tags: {
|
|
9408
|
+
/**
|
|
9409
|
+
* Definition of a tag that can be provided on the object
|
|
9410
|
+
*/
|
|
9411
|
+
[k: string]: {
|
|
9412
|
+
/**
|
|
9413
|
+
* Title of the tag
|
|
9414
|
+
*/
|
|
9415
|
+
title?: string;
|
|
9416
|
+
/**
|
|
9417
|
+
* Description of the tag
|
|
9418
|
+
*/
|
|
9419
|
+
description?: string;
|
|
9420
|
+
};
|
|
9421
|
+
};
|
|
9422
|
+
};
|
|
9354
9423
|
};
|
|
9355
9424
|
}
|
|
9356
9425
|
|
|
@@ -9508,7 +9577,26 @@ interface GetPluginByNameResponse {
|
|
|
9508
9577
|
};
|
|
9509
9578
|
};
|
|
9510
9579
|
};
|
|
9511
|
-
|
|
9580
|
+
/**
|
|
9581
|
+
* Conversation object configuration
|
|
9582
|
+
*/
|
|
9583
|
+
conversation: {
|
|
9584
|
+
tags: {
|
|
9585
|
+
/**
|
|
9586
|
+
* Definition of a tag that can be provided on the object
|
|
9587
|
+
*/
|
|
9588
|
+
[k: string]: {
|
|
9589
|
+
/**
|
|
9590
|
+
* Title of the tag
|
|
9591
|
+
*/
|
|
9592
|
+
title?: string;
|
|
9593
|
+
/**
|
|
9594
|
+
* Description of the tag
|
|
9595
|
+
*/
|
|
9596
|
+
description?: string;
|
|
9597
|
+
};
|
|
9598
|
+
};
|
|
9599
|
+
};
|
|
9512
9600
|
};
|
|
9513
9601
|
}
|
|
9514
9602
|
|
|
@@ -9602,9 +9690,6 @@ interface UpdatePluginRequestBody {
|
|
|
9602
9690
|
};
|
|
9603
9691
|
} | null;
|
|
9604
9692
|
};
|
|
9605
|
-
/**
|
|
9606
|
-
* User object configuration
|
|
9607
|
-
*/
|
|
9608
9693
|
user?: {
|
|
9609
9694
|
tags: {
|
|
9610
9695
|
/**
|
|
@@ -9619,10 +9704,26 @@ interface UpdatePluginRequestBody {
|
|
|
9619
9704
|
* Description of the tag
|
|
9620
9705
|
*/
|
|
9621
9706
|
description?: string;
|
|
9622
|
-
};
|
|
9707
|
+
} | null;
|
|
9623
9708
|
};
|
|
9624
|
-
}
|
|
9625
|
-
|
|
9709
|
+
};
|
|
9710
|
+
conversation?: {
|
|
9711
|
+
tags: {
|
|
9712
|
+
/**
|
|
9713
|
+
* Definition of a tag that can be provided on the object
|
|
9714
|
+
*/
|
|
9715
|
+
[k: string]: {
|
|
9716
|
+
/**
|
|
9717
|
+
* Title of the tag
|
|
9718
|
+
*/
|
|
9719
|
+
title?: string;
|
|
9720
|
+
/**
|
|
9721
|
+
* Description of the tag
|
|
9722
|
+
*/
|
|
9723
|
+
description?: string;
|
|
9724
|
+
} | null;
|
|
9725
|
+
};
|
|
9726
|
+
};
|
|
9626
9727
|
dependencies?: {
|
|
9627
9728
|
interfaces?: {
|
|
9628
9729
|
[k: string]: {
|
|
@@ -9635,6 +9736,16 @@ interface UpdatePluginRequestBody {
|
|
|
9635
9736
|
} | null;
|
|
9636
9737
|
};
|
|
9637
9738
|
};
|
|
9739
|
+
code?: {
|
|
9740
|
+
/**
|
|
9741
|
+
* Code of plugin bundled for Node.JS
|
|
9742
|
+
*/
|
|
9743
|
+
node?: string;
|
|
9744
|
+
/**
|
|
9745
|
+
* Code of plugin bundled for the browser
|
|
9746
|
+
*/
|
|
9747
|
+
browser?: string;
|
|
9748
|
+
};
|
|
9638
9749
|
}
|
|
9639
9750
|
type UpdatePluginInput = UpdatePluginRequestBody & UpdatePluginRequestHeaders & UpdatePluginRequestQuery & UpdatePluginRequestParams;
|
|
9640
9751
|
interface UpdatePluginResponse {
|
|
@@ -9780,7 +9891,26 @@ interface UpdatePluginResponse {
|
|
|
9780
9891
|
};
|
|
9781
9892
|
};
|
|
9782
9893
|
};
|
|
9783
|
-
|
|
9894
|
+
/**
|
|
9895
|
+
* Conversation object configuration
|
|
9896
|
+
*/
|
|
9897
|
+
conversation: {
|
|
9898
|
+
tags: {
|
|
9899
|
+
/**
|
|
9900
|
+
* Definition of a tag that can be provided on the object
|
|
9901
|
+
*/
|
|
9902
|
+
[k: string]: {
|
|
9903
|
+
/**
|
|
9904
|
+
* Title of the tag
|
|
9905
|
+
*/
|
|
9906
|
+
title?: string;
|
|
9907
|
+
/**
|
|
9908
|
+
* Description of the tag
|
|
9909
|
+
*/
|
|
9910
|
+
description?: string;
|
|
9911
|
+
};
|
|
9912
|
+
};
|
|
9913
|
+
};
|
|
9784
9914
|
};
|
|
9785
9915
|
}
|
|
9786
9916
|
|
|
@@ -9839,6 +9969,21 @@ interface ListPluginsResponse {
|
|
|
9839
9969
|
};
|
|
9840
9970
|
}
|
|
9841
9971
|
|
|
9972
|
+
interface GetPluginCodeRequestHeaders {
|
|
9973
|
+
}
|
|
9974
|
+
interface GetPluginCodeRequestQuery {
|
|
9975
|
+
}
|
|
9976
|
+
interface GetPluginCodeRequestParams {
|
|
9977
|
+
id: string;
|
|
9978
|
+
platform: "node" | "browser";
|
|
9979
|
+
}
|
|
9980
|
+
interface GetPluginCodeRequestBody {
|
|
9981
|
+
}
|
|
9982
|
+
type GetPluginCodeInput = GetPluginCodeRequestBody & GetPluginCodeRequestHeaders & GetPluginCodeRequestQuery & GetPluginCodeRequestParams;
|
|
9983
|
+
interface GetPluginCodeResponse {
|
|
9984
|
+
code: string;
|
|
9985
|
+
}
|
|
9986
|
+
|
|
9842
9987
|
interface GetUsageRequestHeaders {
|
|
9843
9988
|
}
|
|
9844
9989
|
interface GetUsageRequestQuery {
|
|
@@ -9953,6 +10098,8 @@ interface ListUsageActivityRequestHeaders {
|
|
|
9953
10098
|
}
|
|
9954
10099
|
interface ListUsageActivityRequestQuery {
|
|
9955
10100
|
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
|
|
10101
|
+
timestampFrom?: string;
|
|
10102
|
+
timestampUntil?: string;
|
|
9956
10103
|
nextToken?: string;
|
|
9957
10104
|
}
|
|
9958
10105
|
interface ListUsageActivityRequestParams {
|
|
@@ -9975,6 +10122,30 @@ interface ListUsageActivityResponse {
|
|
|
9975
10122
|
};
|
|
9976
10123
|
}
|
|
9977
10124
|
|
|
10125
|
+
interface ListUsageActivityDailyRequestHeaders {
|
|
10126
|
+
}
|
|
10127
|
+
interface ListUsageActivityDailyRequestQuery {
|
|
10128
|
+
type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive";
|
|
10129
|
+
dateFrom?: string;
|
|
10130
|
+
dateUntil?: string;
|
|
10131
|
+
nextToken?: string;
|
|
10132
|
+
}
|
|
10133
|
+
interface ListUsageActivityDailyRequestParams {
|
|
10134
|
+
id: string;
|
|
10135
|
+
}
|
|
10136
|
+
interface ListUsageActivityDailyRequestBody {
|
|
10137
|
+
}
|
|
10138
|
+
type ListUsageActivityDailyInput = ListUsageActivityDailyRequestBody & ListUsageActivityDailyRequestHeaders & ListUsageActivityDailyRequestQuery & ListUsageActivityDailyRequestParams;
|
|
10139
|
+
interface ListUsageActivityDailyResponse {
|
|
10140
|
+
data: {
|
|
10141
|
+
date: string;
|
|
10142
|
+
value: number;
|
|
10143
|
+
}[];
|
|
10144
|
+
meta: {
|
|
10145
|
+
nextToken?: string;
|
|
10146
|
+
};
|
|
10147
|
+
}
|
|
10148
|
+
|
|
9978
10149
|
interface ChangeAispendQuotaRequestHeaders {
|
|
9979
10150
|
}
|
|
9980
10151
|
interface ChangeAispendQuotaRequestQuery {
|
|
@@ -10575,6 +10746,96 @@ interface UpdateFileMetadataResponse {
|
|
|
10575
10746
|
};
|
|
10576
10747
|
}
|
|
10577
10748
|
|
|
10749
|
+
interface CopyFileRequestHeaders {
|
|
10750
|
+
"x-destination-bot-id"?: string;
|
|
10751
|
+
}
|
|
10752
|
+
interface CopyFileRequestQuery {
|
|
10753
|
+
}
|
|
10754
|
+
interface CopyFileRequestParams {
|
|
10755
|
+
idOrKey: string;
|
|
10756
|
+
destinationKey: string;
|
|
10757
|
+
}
|
|
10758
|
+
interface CopyFileRequestBody {
|
|
10759
|
+
i?: boolean;
|
|
10760
|
+
}
|
|
10761
|
+
type CopyFileInput = CopyFileRequestBody & CopyFileRequestHeaders & CopyFileRequestQuery & CopyFileRequestParams;
|
|
10762
|
+
interface CopyFileResponse {
|
|
10763
|
+
file: {
|
|
10764
|
+
/**
|
|
10765
|
+
* File ID
|
|
10766
|
+
*/
|
|
10767
|
+
id: string;
|
|
10768
|
+
/**
|
|
10769
|
+
* The ID of the bot the file belongs to
|
|
10770
|
+
*/
|
|
10771
|
+
botId: string;
|
|
10772
|
+
/**
|
|
10773
|
+
* Unique key for the file. Must be unique across the bot (and the integration, when applicable).
|
|
10774
|
+
*/
|
|
10775
|
+
key: string;
|
|
10776
|
+
/**
|
|
10777
|
+
* URL to retrieve the file content. This URL will be ready to use once the file is uploaded.
|
|
10778
|
+
*
|
|
10779
|
+
* If the file has a `public_content` policy, this will contain the permanent public URL to retrieve the file, otherwise this will contain a temporary pre-signed URL to download the file which should be used shortly after retrieving and should not be stored long-term as the URL will expire after a short timeframe.
|
|
10780
|
+
*/
|
|
10781
|
+
url: string;
|
|
10782
|
+
/**
|
|
10783
|
+
* File size in bytes. Non-null if file upload status is "COMPLETE".
|
|
10784
|
+
*/
|
|
10785
|
+
size: number | null;
|
|
10786
|
+
/**
|
|
10787
|
+
* MIME type of the file's content
|
|
10788
|
+
*/
|
|
10789
|
+
contentType: string;
|
|
10790
|
+
/**
|
|
10791
|
+
* The tags of the file as an object of key/value pairs
|
|
10792
|
+
*/
|
|
10793
|
+
tags: {
|
|
10794
|
+
[k: string]: string;
|
|
10795
|
+
};
|
|
10796
|
+
/**
|
|
10797
|
+
* Metadata of the file as an object of key/value pairs. The values can be of any type.
|
|
10798
|
+
*/
|
|
10799
|
+
metadata: {
|
|
10800
|
+
[k: string]: any;
|
|
10801
|
+
};
|
|
10802
|
+
/**
|
|
10803
|
+
* File creation timestamp in ISO 8601 format
|
|
10804
|
+
*/
|
|
10805
|
+
createdAt: string;
|
|
10806
|
+
/**
|
|
10807
|
+
* File last update timestamp in ISO 8601 format
|
|
10808
|
+
*/
|
|
10809
|
+
updatedAt: string;
|
|
10810
|
+
/**
|
|
10811
|
+
* Access policies configured for the file.
|
|
10812
|
+
*/
|
|
10813
|
+
accessPolicies: ("integrations" | "public_content")[];
|
|
10814
|
+
/**
|
|
10815
|
+
* Whether the file was requested to be indexed for search or not.
|
|
10816
|
+
*/
|
|
10817
|
+
index: boolean;
|
|
10818
|
+
/**
|
|
10819
|
+
* Status of the file. If the status is `upload_pending`, the file content has not been uploaded yet. The status will be set to `upload_completed` once the file content has been uploaded successfully.
|
|
10820
|
+
*
|
|
10821
|
+
* If the upload failed for any reason (e.g. exceeding the storage quota or the maximum file size limit) the status will be set to `upload_failed` and the reason for the failure will be available in the `failedStatusReason` field of the file.
|
|
10822
|
+
*
|
|
10823
|
+
* However, if the file has been uploaded and the `index` attribute was set to `true` on the file, the status will immediately transition to the `indexing_pending` status (the `upload_completed` status step will be skipped).
|
|
10824
|
+
*
|
|
10825
|
+
* Once the indexing is completed and the file is ready to be used for searching its status will be set to `indexing_completed`. If the indexing failed the status will be set to `indexing_failed` and the reason for the failure will be available in the `failedStatusReason` field.
|
|
10826
|
+
*/
|
|
10827
|
+
status: "upload_pending" | "upload_failed" | "upload_completed" | "indexing_pending" | "indexing_failed" | "indexing_completed";
|
|
10828
|
+
/**
|
|
10829
|
+
* If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure.
|
|
10830
|
+
*/
|
|
10831
|
+
failedStatusReason?: string;
|
|
10832
|
+
/**
|
|
10833
|
+
* File expiry timestamp in ISO 8601 format
|
|
10834
|
+
*/
|
|
10835
|
+
expiresAt?: string;
|
|
10836
|
+
};
|
|
10837
|
+
}
|
|
10838
|
+
|
|
10578
10839
|
interface SearchFilesRequestHeaders {
|
|
10579
10840
|
}
|
|
10580
10841
|
interface SearchFilesRequestQuery {
|
|
@@ -10712,6 +10973,47 @@ interface ListFilePassagesResponse {
|
|
|
10712
10973
|
};
|
|
10713
10974
|
}
|
|
10714
10975
|
|
|
10976
|
+
interface ListFileTagsRequestHeaders {
|
|
10977
|
+
}
|
|
10978
|
+
interface ListFileTagsRequestQuery {
|
|
10979
|
+
nextToken?: string;
|
|
10980
|
+
}
|
|
10981
|
+
interface ListFileTagsRequestParams {
|
|
10982
|
+
}
|
|
10983
|
+
interface ListFileTagsRequestBody {
|
|
10984
|
+
}
|
|
10985
|
+
type ListFileTagsInput = ListFileTagsRequestBody & ListFileTagsRequestHeaders & ListFileTagsRequestQuery & ListFileTagsRequestParams;
|
|
10986
|
+
interface ListFileTagsResponse {
|
|
10987
|
+
tags: string[];
|
|
10988
|
+
meta: {
|
|
10989
|
+
/**
|
|
10990
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
10991
|
+
*/
|
|
10992
|
+
nextToken?: string;
|
|
10993
|
+
};
|
|
10994
|
+
}
|
|
10995
|
+
|
|
10996
|
+
interface ListFileTagValuesRequestHeaders {
|
|
10997
|
+
}
|
|
10998
|
+
interface ListFileTagValuesRequestQuery {
|
|
10999
|
+
nextToken?: string;
|
|
11000
|
+
}
|
|
11001
|
+
interface ListFileTagValuesRequestParams {
|
|
11002
|
+
tag: string;
|
|
11003
|
+
}
|
|
11004
|
+
interface ListFileTagValuesRequestBody {
|
|
11005
|
+
}
|
|
11006
|
+
type ListFileTagValuesInput = ListFileTagValuesRequestBody & ListFileTagValuesRequestHeaders & ListFileTagValuesRequestQuery & ListFileTagValuesRequestParams;
|
|
11007
|
+
interface ListFileTagValuesResponse {
|
|
11008
|
+
values: string[];
|
|
11009
|
+
meta: {
|
|
11010
|
+
/**
|
|
11011
|
+
* The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
|
|
11012
|
+
*/
|
|
11013
|
+
nextToken?: string;
|
|
11014
|
+
};
|
|
11015
|
+
}
|
|
11016
|
+
|
|
10715
11017
|
interface ListTablesRequestHeaders {
|
|
10716
11018
|
}
|
|
10717
11019
|
interface ListTablesRequestQuery {
|
|
@@ -13246,7 +13548,26 @@ interface Plugin {
|
|
|
13246
13548
|
};
|
|
13247
13549
|
};
|
|
13248
13550
|
};
|
|
13249
|
-
|
|
13551
|
+
/**
|
|
13552
|
+
* Conversation object configuration
|
|
13553
|
+
*/
|
|
13554
|
+
conversation: {
|
|
13555
|
+
tags: {
|
|
13556
|
+
/**
|
|
13557
|
+
* Definition of a tag that can be provided on the object
|
|
13558
|
+
*/
|
|
13559
|
+
[k: string]: {
|
|
13560
|
+
/**
|
|
13561
|
+
* Title of the tag
|
|
13562
|
+
*/
|
|
13563
|
+
title?: string;
|
|
13564
|
+
/**
|
|
13565
|
+
* Description of the tag
|
|
13566
|
+
*/
|
|
13567
|
+
description?: string;
|
|
13568
|
+
};
|
|
13569
|
+
};
|
|
13570
|
+
};
|
|
13250
13571
|
}
|
|
13251
13572
|
interface Workspace {
|
|
13252
13573
|
id: string;
|
|
@@ -13256,7 +13577,7 @@ interface Workspace {
|
|
|
13256
13577
|
updatedAt: string;
|
|
13257
13578
|
botCount: number;
|
|
13258
13579
|
billingVersion: "v1" | "v2" | "v3";
|
|
13259
|
-
plan: "community" | "team" | "enterprise" | "
|
|
13580
|
+
plan: "community" | "team" | "enterprise" | "plus";
|
|
13260
13581
|
blocked: boolean;
|
|
13261
13582
|
spendingLimit: number;
|
|
13262
13583
|
about?: string;
|
|
@@ -14010,10 +14331,12 @@ declare class Client$1 {
|
|
|
14010
14331
|
readonly updatePlugin: (input: UpdatePluginInput) => Promise<UpdatePluginResponse>;
|
|
14011
14332
|
readonly deletePlugin: (input: DeletePluginInput) => Promise<DeletePluginResponse>;
|
|
14012
14333
|
readonly listPlugins: (input: ListPluginsInput) => Promise<ListPluginsResponse>;
|
|
14334
|
+
readonly getPluginCode: (input: GetPluginCodeInput) => Promise<GetPluginCodeResponse>;
|
|
14013
14335
|
readonly getUsage: (input: GetUsageInput) => Promise<GetUsageResponse>;
|
|
14014
14336
|
readonly getMultipleUsages: (input: GetMultipleUsagesInput) => Promise<GetMultipleUsagesResponse>;
|
|
14015
14337
|
readonly listUsageHistory: (input: ListUsageHistoryInput) => Promise<ListUsageHistoryResponse>;
|
|
14016
14338
|
readonly listUsageActivity: (input: ListUsageActivityInput) => Promise<ListUsageActivityResponse>;
|
|
14339
|
+
readonly listUsageActivityDaily: (input: ListUsageActivityDailyInput) => Promise<ListUsageActivityDailyResponse>;
|
|
14017
14340
|
readonly changeAISpendQuota: (input: ChangeAispendQuotaInput) => Promise<ChangeAispendQuotaResponse>;
|
|
14018
14341
|
readonly listActivities: (input: ListActivitiesInput) => Promise<ListActivitiesResponse>;
|
|
14019
14342
|
readonly introspect: (input: IntrospectInput) => Promise<IntrospectResponse>;
|
|
@@ -14022,8 +14345,11 @@ declare class Client$1 {
|
|
|
14022
14345
|
readonly listFiles: (input: ListFilesInput) => Promise<ListFilesResponse>;
|
|
14023
14346
|
readonly getFile: (input: GetFileInput) => Promise<GetFileResponse>;
|
|
14024
14347
|
readonly updateFileMetadata: (input: UpdateFileMetadataInput) => Promise<UpdateFileMetadataResponse>;
|
|
14348
|
+
readonly copyFile: (input: CopyFileInput) => Promise<CopyFileResponse>;
|
|
14025
14349
|
readonly searchFiles: (input: SearchFilesInput) => Promise<SearchFilesResponse>;
|
|
14026
14350
|
readonly listFilePassages: (input: ListFilePassagesInput) => Promise<ListFilePassagesResponse>;
|
|
14351
|
+
readonly listFileTags: (input: ListFileTagsInput) => Promise<ListFileTagsResponse>;
|
|
14352
|
+
readonly listFileTagValues: (input: ListFileTagValuesInput) => Promise<ListFileTagValuesResponse>;
|
|
14027
14353
|
readonly listTables: (input: ListTablesInput) => Promise<ListTablesResponse>;
|
|
14028
14354
|
readonly getTable: (input: GetTableInput) => Promise<GetTableResponse>;
|
|
14029
14355
|
readonly getOrCreateTable: (input: GetOrCreateTableInput) => Promise<GetOrCreateTableResponse>;
|