@botpress/client 1.15.0 → 1.15.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/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 +341 -30
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1389,7 +1389,7 @@ interface UpdateUserRequestBody$1 {
|
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Name of the user
|
|
1391
1391
|
*/
|
|
1392
|
-
name?: string;
|
|
1392
|
+
name?: string | null;
|
|
1393
1393
|
/**
|
|
1394
1394
|
* URI of the user picture
|
|
1395
1395
|
*/
|
|
@@ -3070,6 +3070,18 @@ interface UpdateAccountResponse$1 {
|
|
|
3070
3070
|
};
|
|
3071
3071
|
}
|
|
3072
3072
|
|
|
3073
|
+
interface DeleteAccountRequestHeaders$1 {
|
|
3074
|
+
}
|
|
3075
|
+
interface DeleteAccountRequestQuery$1 {
|
|
3076
|
+
}
|
|
3077
|
+
interface DeleteAccountRequestParams$1 {
|
|
3078
|
+
}
|
|
3079
|
+
interface DeleteAccountRequestBody$1 {
|
|
3080
|
+
}
|
|
3081
|
+
type DeleteAccountInput$1 = DeleteAccountRequestBody$1 & DeleteAccountRequestHeaders$1 & DeleteAccountRequestQuery$1 & DeleteAccountRequestParams$1;
|
|
3082
|
+
interface DeleteAccountResponse$1 {
|
|
3083
|
+
}
|
|
3084
|
+
|
|
3073
3085
|
interface ListPersonalAccessTokensRequestHeaders$1 {
|
|
3074
3086
|
}
|
|
3075
3087
|
interface ListPersonalAccessTokensRequestQuery$1 {
|
|
@@ -5263,6 +5275,14 @@ interface CreateBotResponse$1 {
|
|
|
5263
5275
|
configuration: {
|
|
5264
5276
|
[k: string]: any;
|
|
5265
5277
|
};
|
|
5278
|
+
/**
|
|
5279
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
5280
|
+
*/
|
|
5281
|
+
interfaces?: {
|
|
5282
|
+
[k: string]: {
|
|
5283
|
+
integrationId: string;
|
|
5284
|
+
};
|
|
5285
|
+
};
|
|
5266
5286
|
/**
|
|
5267
5287
|
* ID of the [Plugin](#schema_plugin)
|
|
5268
5288
|
*/
|
|
@@ -5735,8 +5755,20 @@ interface UpdateBotRequestBody$1 {
|
|
|
5735
5755
|
configuration?: {
|
|
5736
5756
|
[k: string]: any;
|
|
5737
5757
|
};
|
|
5758
|
+
/**
|
|
5759
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
5760
|
+
*/
|
|
5761
|
+
interfaces?: {
|
|
5762
|
+
[k: string]: {
|
|
5763
|
+
integrationId: string;
|
|
5764
|
+
};
|
|
5765
|
+
};
|
|
5738
5766
|
} | null;
|
|
5739
5767
|
};
|
|
5768
|
+
/**
|
|
5769
|
+
* If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true
|
|
5770
|
+
*/
|
|
5771
|
+
shouldMergePlugins?: boolean;
|
|
5740
5772
|
subscriptions?: {
|
|
5741
5773
|
events: {
|
|
5742
5774
|
[k: string]: {} | null;
|
|
@@ -5856,6 +5888,14 @@ interface UpdateBotResponse$1 {
|
|
|
5856
5888
|
configuration: {
|
|
5857
5889
|
[k: string]: any;
|
|
5858
5890
|
};
|
|
5891
|
+
/**
|
|
5892
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
5893
|
+
*/
|
|
5894
|
+
interfaces?: {
|
|
5895
|
+
[k: string]: {
|
|
5896
|
+
integrationId: string;
|
|
5897
|
+
};
|
|
5898
|
+
};
|
|
5859
5899
|
/**
|
|
5860
5900
|
* ID of the [Plugin](#schema_plugin)
|
|
5861
5901
|
*/
|
|
@@ -6300,6 +6340,14 @@ interface GetBotResponse$1 {
|
|
|
6300
6340
|
configuration: {
|
|
6301
6341
|
[k: string]: any;
|
|
6302
6342
|
};
|
|
6343
|
+
/**
|
|
6344
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
6345
|
+
*/
|
|
6346
|
+
interfaces?: {
|
|
6347
|
+
[k: string]: {
|
|
6348
|
+
integrationId: string;
|
|
6349
|
+
};
|
|
6350
|
+
};
|
|
6303
6351
|
/**
|
|
6304
6352
|
* ID of the [Plugin](#schema_plugin)
|
|
6305
6353
|
*/
|
|
@@ -6651,7 +6699,7 @@ interface GetBotAnalyticsResponse$1 {
|
|
|
6651
6699
|
*/
|
|
6652
6700
|
startDateTimeUtc: string;
|
|
6653
6701
|
/**
|
|
6654
|
-
* ISO 8601 date string of the end (
|
|
6702
|
+
* ISO 8601 date string of the end (inclusive) of the period
|
|
6655
6703
|
*/
|
|
6656
6704
|
endDateTimeUtc: string;
|
|
6657
6705
|
returningUsers: number;
|
|
@@ -6707,6 +6755,50 @@ interface GetBotAnalyticsResponse$1 {
|
|
|
6707
6755
|
}[];
|
|
6708
6756
|
}
|
|
6709
6757
|
|
|
6758
|
+
interface ListActionRunsRequestHeaders$1 {
|
|
6759
|
+
}
|
|
6760
|
+
interface ListActionRunsRequestQuery$1 {
|
|
6761
|
+
integrationName: string;
|
|
6762
|
+
timestampFrom?: string;
|
|
6763
|
+
timestampUntil?: string;
|
|
6764
|
+
nextToken?: string;
|
|
6765
|
+
}
|
|
6766
|
+
interface ListActionRunsRequestParams$1 {
|
|
6767
|
+
id: string;
|
|
6768
|
+
}
|
|
6769
|
+
interface ListActionRunsRequestBody$1 {
|
|
6770
|
+
}
|
|
6771
|
+
type ListActionRunsInput$1 = ListActionRunsRequestBody$1 & ListActionRunsRequestHeaders$1 & ListActionRunsRequestQuery$1 & ListActionRunsRequestParams$1;
|
|
6772
|
+
interface ListActionRunsResponse$1 {
|
|
6773
|
+
data: {
|
|
6774
|
+
/**
|
|
6775
|
+
* ISO 8601 timestamp of the action run
|
|
6776
|
+
*/
|
|
6777
|
+
timestamp: string;
|
|
6778
|
+
integrationName?: string;
|
|
6779
|
+
actionType: string;
|
|
6780
|
+
/**
|
|
6781
|
+
* Input of the action
|
|
6782
|
+
*/
|
|
6783
|
+
input: {
|
|
6784
|
+
[k: string]: any;
|
|
6785
|
+
};
|
|
6786
|
+
/**
|
|
6787
|
+
* Output of the action
|
|
6788
|
+
*/
|
|
6789
|
+
output: {
|
|
6790
|
+
[k: string]: any;
|
|
6791
|
+
} | null;
|
|
6792
|
+
status: "SUCCESS" | "FAILURE";
|
|
6793
|
+
durationMs: number;
|
|
6794
|
+
cached: boolean;
|
|
6795
|
+
errorMessage?: string | null;
|
|
6796
|
+
}[];
|
|
6797
|
+
meta: {
|
|
6798
|
+
nextToken?: string;
|
|
6799
|
+
};
|
|
6800
|
+
}
|
|
6801
|
+
|
|
6710
6802
|
interface GetBotIssueRequestHeaders$1 {
|
|
6711
6803
|
}
|
|
6712
6804
|
interface GetBotIssueRequestQuery$1 {
|
|
@@ -8993,10 +9085,6 @@ interface UpdateIntegrationRequestBody$1 {
|
|
|
8993
9085
|
};
|
|
8994
9086
|
} | null;
|
|
8995
9087
|
};
|
|
8996
|
-
sandbox?: {
|
|
8997
|
-
identifierExtractScript?: string | null;
|
|
8998
|
-
messageExtractScript?: string | null;
|
|
8999
|
-
};
|
|
9000
9088
|
/**
|
|
9001
9089
|
* Optional attributes. Set attributes to null to remove them
|
|
9002
9090
|
*/
|
|
@@ -9696,10 +9784,6 @@ interface ValidateIntegrationUpdateRequestBody$1 {
|
|
|
9696
9784
|
};
|
|
9697
9785
|
} | null;
|
|
9698
9786
|
};
|
|
9699
|
-
sandbox?: {
|
|
9700
|
-
identifierExtractScript?: string | null;
|
|
9701
|
-
messageExtractScript?: string | null;
|
|
9702
|
-
};
|
|
9703
9787
|
/**
|
|
9704
9788
|
* Optional attributes. Set attributes to null to remove them
|
|
9705
9789
|
*/
|
|
@@ -13143,8 +13227,8 @@ interface ListUsageActivityDailyResponse$1 {
|
|
|
13143
13227
|
value: number;
|
|
13144
13228
|
metadata?: {
|
|
13145
13229
|
botId: string;
|
|
13146
|
-
type: "IntegrationAction" | "FileIndexing";
|
|
13147
|
-
subtype
|
|
13230
|
+
type: "IntegrationAction" | "FileIndexing" | "BingSearch" | "WebSearch";
|
|
13231
|
+
subtype?: string;
|
|
13148
13232
|
source?: string;
|
|
13149
13233
|
};
|
|
13150
13234
|
}[];
|
|
@@ -13227,6 +13311,7 @@ declare class Client$7 {
|
|
|
13227
13311
|
readonly runVrl: (input: RunVrlInput$1) => Promise<RunVrlResponse$1>;
|
|
13228
13312
|
readonly getAccount: (input: GetAccountInput$1) => Promise<GetAccountResponse$1>;
|
|
13229
13313
|
readonly updateAccount: (input: UpdateAccountInput$1) => Promise<UpdateAccountResponse$1>;
|
|
13314
|
+
readonly deleteAccount: (input: DeleteAccountInput$1) => Promise<DeleteAccountResponse$1>;
|
|
13230
13315
|
readonly listPersonalAccessTokens: (input: ListPersonalAccessTokensInput$1) => Promise<ListPersonalAccessTokensResponse$1>;
|
|
13231
13316
|
readonly createPersonalAccessToken: (input: CreatePersonalAccessTokenInput$1) => Promise<CreatePersonalAccessTokenResponse$1>;
|
|
13232
13317
|
readonly deletePersonalAccessToken: (input: DeletePersonalAccessTokenInput$1) => Promise<DeletePersonalAccessTokenResponse$1>;
|
|
@@ -13251,6 +13336,7 @@ declare class Client$7 {
|
|
|
13251
13336
|
readonly getBotLogs: (input: GetBotLogsInput$1) => Promise<GetBotLogsResponse$1>;
|
|
13252
13337
|
readonly getBotWebchat: (input: GetBotWebchatInput$1) => Promise<GetBotWebchatResponse$1>;
|
|
13253
13338
|
readonly getBotAnalytics: (input: GetBotAnalyticsInput$1) => Promise<GetBotAnalyticsResponse$1>;
|
|
13339
|
+
readonly listActionRuns: (input: ListActionRunsInput$1) => Promise<ListActionRunsResponse$1>;
|
|
13254
13340
|
readonly getBotIssue: (input: GetBotIssueInput$1) => Promise<GetBotIssueResponse$1>;
|
|
13255
13341
|
readonly listBotIssues: (input: ListBotIssuesInput$1) => Promise<ListBotIssuesResponse$1>;
|
|
13256
13342
|
readonly deleteBotIssue: (input: DeleteBotIssueInput$1) => Promise<DeleteBotIssueResponse$1>;
|
|
@@ -13517,8 +13603,8 @@ declare class Client$6 extends Client$7 {
|
|
|
13517
13603
|
value: number;
|
|
13518
13604
|
metadata?: {
|
|
13519
13605
|
botId: string;
|
|
13520
|
-
type: "IntegrationAction" | "FileIndexing";
|
|
13521
|
-
subtype
|
|
13606
|
+
type: "IntegrationAction" | "FileIndexing" | "BingSearch" | "WebSearch";
|
|
13607
|
+
subtype?: string;
|
|
13522
13608
|
source?: string;
|
|
13523
13609
|
};
|
|
13524
13610
|
}>;
|
|
@@ -13567,7 +13653,7 @@ interface UpsertFileRequestBody$1 {
|
|
|
13567
13653
|
*/
|
|
13568
13654
|
size: number;
|
|
13569
13655
|
/**
|
|
13570
|
-
* Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace.
|
|
13656
|
+
* Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Files larger than 95 MB cannot be indexed. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace.
|
|
13571
13657
|
*/
|
|
13572
13658
|
index?: boolean;
|
|
13573
13659
|
indexing?: {
|
|
@@ -13774,6 +13860,17 @@ interface UpsertFileResponse$1 {
|
|
|
13774
13860
|
* File expiry timestamp in ISO 8601 format
|
|
13775
13861
|
*/
|
|
13776
13862
|
expiresAt?: string;
|
|
13863
|
+
owner: {
|
|
13864
|
+
type: "bot" | "integration" | "user";
|
|
13865
|
+
/**
|
|
13866
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
13867
|
+
*/
|
|
13868
|
+
id?: string;
|
|
13869
|
+
/**
|
|
13870
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
13871
|
+
*/
|
|
13872
|
+
name?: string;
|
|
13873
|
+
};
|
|
13777
13874
|
/**
|
|
13778
13875
|
* URL to upload the file content. File content needs to be sent to this URL via a PUT request.
|
|
13779
13876
|
*/
|
|
@@ -13885,6 +13982,17 @@ interface ListFilesResponse$1 {
|
|
|
13885
13982
|
* File expiry timestamp in ISO 8601 format
|
|
13886
13983
|
*/
|
|
13887
13984
|
expiresAt?: string;
|
|
13985
|
+
owner: {
|
|
13986
|
+
type: "bot" | "integration" | "user";
|
|
13987
|
+
/**
|
|
13988
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
13989
|
+
*/
|
|
13990
|
+
id?: string;
|
|
13991
|
+
/**
|
|
13992
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
13993
|
+
*/
|
|
13994
|
+
name?: string;
|
|
13995
|
+
};
|
|
13888
13996
|
}[];
|
|
13889
13997
|
meta: {
|
|
13890
13998
|
/**
|
|
@@ -13978,6 +14086,17 @@ interface GetFileResponse$1 {
|
|
|
13978
14086
|
* File expiry timestamp in ISO 8601 format
|
|
13979
14087
|
*/
|
|
13980
14088
|
expiresAt?: string;
|
|
14089
|
+
owner: {
|
|
14090
|
+
type: "bot" | "integration" | "user";
|
|
14091
|
+
/**
|
|
14092
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
14093
|
+
*/
|
|
14094
|
+
id?: string;
|
|
14095
|
+
/**
|
|
14096
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
14097
|
+
*/
|
|
14098
|
+
name?: string;
|
|
14099
|
+
};
|
|
13981
14100
|
};
|
|
13982
14101
|
}
|
|
13983
14102
|
|
|
@@ -14085,6 +14204,17 @@ interface UpdateFileMetadataResponse$1 {
|
|
|
14085
14204
|
* File expiry timestamp in ISO 8601 format
|
|
14086
14205
|
*/
|
|
14087
14206
|
expiresAt?: string;
|
|
14207
|
+
owner: {
|
|
14208
|
+
type: "bot" | "integration" | "user";
|
|
14209
|
+
/**
|
|
14210
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
14211
|
+
*/
|
|
14212
|
+
id?: string;
|
|
14213
|
+
/**
|
|
14214
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
14215
|
+
*/
|
|
14216
|
+
name?: string;
|
|
14217
|
+
};
|
|
14088
14218
|
};
|
|
14089
14219
|
}
|
|
14090
14220
|
|
|
@@ -14180,6 +14310,17 @@ interface CopyFileResponse$1 {
|
|
|
14180
14310
|
* File expiry timestamp in ISO 8601 format
|
|
14181
14311
|
*/
|
|
14182
14312
|
expiresAt?: string;
|
|
14313
|
+
owner: {
|
|
14314
|
+
type: "bot" | "integration" | "user";
|
|
14315
|
+
/**
|
|
14316
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
14317
|
+
*/
|
|
14318
|
+
id?: string;
|
|
14319
|
+
/**
|
|
14320
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
14321
|
+
*/
|
|
14322
|
+
name?: string;
|
|
14323
|
+
};
|
|
14183
14324
|
};
|
|
14184
14325
|
}
|
|
14185
14326
|
|
|
@@ -14571,6 +14712,11 @@ declare class Client$4 extends Client$5 implements IClient$2 {
|
|
|
14571
14712
|
status: "upload_pending" | "upload_failed" | "upload_completed" | "indexing_pending" | "indexing_failed" | "indexing_completed";
|
|
14572
14713
|
failedStatusReason?: string;
|
|
14573
14714
|
expiresAt?: string;
|
|
14715
|
+
owner: {
|
|
14716
|
+
type: "bot" | "integration" | "user";
|
|
14717
|
+
id?: string;
|
|
14718
|
+
name?: string;
|
|
14719
|
+
};
|
|
14574
14720
|
}>;
|
|
14575
14721
|
filePassages: (props: {
|
|
14576
14722
|
id: string;
|
|
@@ -17618,7 +17764,7 @@ interface UpdateUserRequestBody {
|
|
|
17618
17764
|
/**
|
|
17619
17765
|
* Name of the user
|
|
17620
17766
|
*/
|
|
17621
|
-
name?: string;
|
|
17767
|
+
name?: string | null;
|
|
17622
17768
|
/**
|
|
17623
17769
|
* URI of the user picture
|
|
17624
17770
|
*/
|
|
@@ -19091,6 +19237,18 @@ interface UpdateAccountResponse {
|
|
|
19091
19237
|
};
|
|
19092
19238
|
}
|
|
19093
19239
|
|
|
19240
|
+
interface DeleteAccountRequestHeaders {
|
|
19241
|
+
}
|
|
19242
|
+
interface DeleteAccountRequestQuery {
|
|
19243
|
+
}
|
|
19244
|
+
interface DeleteAccountRequestParams {
|
|
19245
|
+
}
|
|
19246
|
+
interface DeleteAccountRequestBody {
|
|
19247
|
+
}
|
|
19248
|
+
type DeleteAccountInput = DeleteAccountRequestBody & DeleteAccountRequestHeaders & DeleteAccountRequestQuery & DeleteAccountRequestParams;
|
|
19249
|
+
interface DeleteAccountResponse {
|
|
19250
|
+
}
|
|
19251
|
+
|
|
19094
19252
|
interface ListPersonalAccessTokensRequestHeaders {
|
|
19095
19253
|
}
|
|
19096
19254
|
interface ListPersonalAccessTokensRequestQuery {
|
|
@@ -21284,6 +21442,14 @@ interface CreateBotResponse {
|
|
|
21284
21442
|
configuration: {
|
|
21285
21443
|
[k: string]: any;
|
|
21286
21444
|
};
|
|
21445
|
+
/**
|
|
21446
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
21447
|
+
*/
|
|
21448
|
+
interfaces?: {
|
|
21449
|
+
[k: string]: {
|
|
21450
|
+
integrationId: string;
|
|
21451
|
+
};
|
|
21452
|
+
};
|
|
21287
21453
|
/**
|
|
21288
21454
|
* ID of the [Plugin](#schema_plugin)
|
|
21289
21455
|
*/
|
|
@@ -21756,8 +21922,20 @@ interface UpdateBotRequestBody {
|
|
|
21756
21922
|
configuration?: {
|
|
21757
21923
|
[k: string]: any;
|
|
21758
21924
|
};
|
|
21925
|
+
/**
|
|
21926
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
21927
|
+
*/
|
|
21928
|
+
interfaces?: {
|
|
21929
|
+
[k: string]: {
|
|
21930
|
+
integrationId: string;
|
|
21931
|
+
};
|
|
21932
|
+
};
|
|
21759
21933
|
} | null;
|
|
21760
21934
|
};
|
|
21935
|
+
/**
|
|
21936
|
+
* If true, plugins will be merged into the bot and entity references will be resolved. If you are uncertain about this field, you should probably set it to true
|
|
21937
|
+
*/
|
|
21938
|
+
shouldMergePlugins?: boolean;
|
|
21761
21939
|
subscriptions?: {
|
|
21762
21940
|
events: {
|
|
21763
21941
|
[k: string]: {} | null;
|
|
@@ -21877,6 +22055,14 @@ interface UpdateBotResponse {
|
|
|
21877
22055
|
configuration: {
|
|
21878
22056
|
[k: string]: any;
|
|
21879
22057
|
};
|
|
22058
|
+
/**
|
|
22059
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
22060
|
+
*/
|
|
22061
|
+
interfaces?: {
|
|
22062
|
+
[k: string]: {
|
|
22063
|
+
integrationId: string;
|
|
22064
|
+
};
|
|
22065
|
+
};
|
|
21880
22066
|
/**
|
|
21881
22067
|
* ID of the [Plugin](#schema_plugin)
|
|
21882
22068
|
*/
|
|
@@ -22321,6 +22507,14 @@ interface GetBotResponse {
|
|
|
22321
22507
|
configuration: {
|
|
22322
22508
|
[k: string]: any;
|
|
22323
22509
|
};
|
|
22510
|
+
/**
|
|
22511
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
22512
|
+
*/
|
|
22513
|
+
interfaces?: {
|
|
22514
|
+
[k: string]: {
|
|
22515
|
+
integrationId: string;
|
|
22516
|
+
};
|
|
22517
|
+
};
|
|
22324
22518
|
/**
|
|
22325
22519
|
* ID of the [Plugin](#schema_plugin)
|
|
22326
22520
|
*/
|
|
@@ -22672,7 +22866,7 @@ interface GetBotAnalyticsResponse {
|
|
|
22672
22866
|
*/
|
|
22673
22867
|
startDateTimeUtc: string;
|
|
22674
22868
|
/**
|
|
22675
|
-
* ISO 8601 date string of the end (
|
|
22869
|
+
* ISO 8601 date string of the end (inclusive) of the period
|
|
22676
22870
|
*/
|
|
22677
22871
|
endDateTimeUtc: string;
|
|
22678
22872
|
returningUsers: number;
|
|
@@ -22728,6 +22922,50 @@ interface GetBotAnalyticsResponse {
|
|
|
22728
22922
|
}[];
|
|
22729
22923
|
}
|
|
22730
22924
|
|
|
22925
|
+
interface ListActionRunsRequestHeaders {
|
|
22926
|
+
}
|
|
22927
|
+
interface ListActionRunsRequestQuery {
|
|
22928
|
+
integrationName: string;
|
|
22929
|
+
timestampFrom?: string;
|
|
22930
|
+
timestampUntil?: string;
|
|
22931
|
+
nextToken?: string;
|
|
22932
|
+
}
|
|
22933
|
+
interface ListActionRunsRequestParams {
|
|
22934
|
+
id: string;
|
|
22935
|
+
}
|
|
22936
|
+
interface ListActionRunsRequestBody {
|
|
22937
|
+
}
|
|
22938
|
+
type ListActionRunsInput = ListActionRunsRequestBody & ListActionRunsRequestHeaders & ListActionRunsRequestQuery & ListActionRunsRequestParams;
|
|
22939
|
+
interface ListActionRunsResponse {
|
|
22940
|
+
data: {
|
|
22941
|
+
/**
|
|
22942
|
+
* ISO 8601 timestamp of the action run
|
|
22943
|
+
*/
|
|
22944
|
+
timestamp: string;
|
|
22945
|
+
integrationName?: string;
|
|
22946
|
+
actionType: string;
|
|
22947
|
+
/**
|
|
22948
|
+
* Input of the action
|
|
22949
|
+
*/
|
|
22950
|
+
input: {
|
|
22951
|
+
[k: string]: any;
|
|
22952
|
+
};
|
|
22953
|
+
/**
|
|
22954
|
+
* Output of the action
|
|
22955
|
+
*/
|
|
22956
|
+
output: {
|
|
22957
|
+
[k: string]: any;
|
|
22958
|
+
} | null;
|
|
22959
|
+
status: "SUCCESS" | "FAILURE";
|
|
22960
|
+
durationMs: number;
|
|
22961
|
+
cached: boolean;
|
|
22962
|
+
errorMessage?: string | null;
|
|
22963
|
+
}[];
|
|
22964
|
+
meta: {
|
|
22965
|
+
nextToken?: string;
|
|
22966
|
+
};
|
|
22967
|
+
}
|
|
22968
|
+
|
|
22731
22969
|
interface GetBotIssueRequestHeaders {
|
|
22732
22970
|
}
|
|
22733
22971
|
interface GetBotIssueRequestQuery {
|
|
@@ -25015,10 +25253,6 @@ interface UpdateIntegrationRequestBody {
|
|
|
25015
25253
|
};
|
|
25016
25254
|
} | null;
|
|
25017
25255
|
};
|
|
25018
|
-
sandbox?: {
|
|
25019
|
-
identifierExtractScript?: string | null;
|
|
25020
|
-
messageExtractScript?: string | null;
|
|
25021
|
-
};
|
|
25022
25256
|
/**
|
|
25023
25257
|
* Optional attributes. Set attributes to null to remove them
|
|
25024
25258
|
*/
|
|
@@ -25718,10 +25952,6 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
25718
25952
|
};
|
|
25719
25953
|
} | null;
|
|
25720
25954
|
};
|
|
25721
|
-
sandbox?: {
|
|
25722
|
-
identifierExtractScript?: string | null;
|
|
25723
|
-
messageExtractScript?: string | null;
|
|
25724
|
-
};
|
|
25725
25955
|
/**
|
|
25726
25956
|
* Optional attributes. Set attributes to null to remove them
|
|
25727
25957
|
*/
|
|
@@ -29165,8 +29395,8 @@ interface ListUsageActivityDailyResponse {
|
|
|
29165
29395
|
value: number;
|
|
29166
29396
|
metadata?: {
|
|
29167
29397
|
botId: string;
|
|
29168
|
-
type: "IntegrationAction" | "FileIndexing";
|
|
29169
|
-
subtype
|
|
29398
|
+
type: "IntegrationAction" | "FileIndexing" | "BingSearch" | "WebSearch";
|
|
29399
|
+
subtype?: string;
|
|
29170
29400
|
source?: string;
|
|
29171
29401
|
};
|
|
29172
29402
|
}[];
|
|
@@ -29260,7 +29490,7 @@ interface UpsertFileRequestBody {
|
|
|
29260
29490
|
*/
|
|
29261
29491
|
size: number;
|
|
29262
29492
|
/**
|
|
29263
|
-
* Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace.
|
|
29493
|
+
* Set to a value of 'true' to index the file in vector storage. Only certain file formats are currently supported for indexing. Files larger than 95 MB cannot be indexed. Note that if a file is indexed, it will count towards both the Vector DB Storage quota and the File Storage quota of the workspace.
|
|
29264
29494
|
*/
|
|
29265
29495
|
index?: boolean;
|
|
29266
29496
|
indexing?: {
|
|
@@ -29467,6 +29697,17 @@ interface UpsertFileResponse {
|
|
|
29467
29697
|
* File expiry timestamp in ISO 8601 format
|
|
29468
29698
|
*/
|
|
29469
29699
|
expiresAt?: string;
|
|
29700
|
+
owner: {
|
|
29701
|
+
type: "bot" | "integration" | "user";
|
|
29702
|
+
/**
|
|
29703
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
29704
|
+
*/
|
|
29705
|
+
id?: string;
|
|
29706
|
+
/**
|
|
29707
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
29708
|
+
*/
|
|
29709
|
+
name?: string;
|
|
29710
|
+
};
|
|
29470
29711
|
/**
|
|
29471
29712
|
* URL to upload the file content. File content needs to be sent to this URL via a PUT request.
|
|
29472
29713
|
*/
|
|
@@ -29578,6 +29819,17 @@ interface ListFilesResponse {
|
|
|
29578
29819
|
* File expiry timestamp in ISO 8601 format
|
|
29579
29820
|
*/
|
|
29580
29821
|
expiresAt?: string;
|
|
29822
|
+
owner: {
|
|
29823
|
+
type: "bot" | "integration" | "user";
|
|
29824
|
+
/**
|
|
29825
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
29826
|
+
*/
|
|
29827
|
+
id?: string;
|
|
29828
|
+
/**
|
|
29829
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
29830
|
+
*/
|
|
29831
|
+
name?: string;
|
|
29832
|
+
};
|
|
29581
29833
|
}[];
|
|
29582
29834
|
meta: {
|
|
29583
29835
|
/**
|
|
@@ -29671,6 +29923,17 @@ interface GetFileResponse {
|
|
|
29671
29923
|
* File expiry timestamp in ISO 8601 format
|
|
29672
29924
|
*/
|
|
29673
29925
|
expiresAt?: string;
|
|
29926
|
+
owner: {
|
|
29927
|
+
type: "bot" | "integration" | "user";
|
|
29928
|
+
/**
|
|
29929
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
29930
|
+
*/
|
|
29931
|
+
id?: string;
|
|
29932
|
+
/**
|
|
29933
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
29934
|
+
*/
|
|
29935
|
+
name?: string;
|
|
29936
|
+
};
|
|
29674
29937
|
};
|
|
29675
29938
|
}
|
|
29676
29939
|
|
|
@@ -29778,6 +30041,17 @@ interface UpdateFileMetadataResponse {
|
|
|
29778
30041
|
* File expiry timestamp in ISO 8601 format
|
|
29779
30042
|
*/
|
|
29780
30043
|
expiresAt?: string;
|
|
30044
|
+
owner: {
|
|
30045
|
+
type: "bot" | "integration" | "user";
|
|
30046
|
+
/**
|
|
30047
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
30048
|
+
*/
|
|
30049
|
+
id?: string;
|
|
30050
|
+
/**
|
|
30051
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
30052
|
+
*/
|
|
30053
|
+
name?: string;
|
|
30054
|
+
};
|
|
29781
30055
|
};
|
|
29782
30056
|
}
|
|
29783
30057
|
|
|
@@ -29873,6 +30147,17 @@ interface CopyFileResponse {
|
|
|
29873
30147
|
* File expiry timestamp in ISO 8601 format
|
|
29874
30148
|
*/
|
|
29875
30149
|
expiresAt?: string;
|
|
30150
|
+
owner: {
|
|
30151
|
+
type: "bot" | "integration" | "user";
|
|
30152
|
+
/**
|
|
30153
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
30154
|
+
*/
|
|
30155
|
+
id?: string;
|
|
30156
|
+
/**
|
|
30157
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
30158
|
+
*/
|
|
30159
|
+
name?: string;
|
|
30160
|
+
};
|
|
29876
30161
|
};
|
|
29877
30162
|
}
|
|
29878
30163
|
|
|
@@ -31913,6 +32198,14 @@ interface Bot {
|
|
|
31913
32198
|
configuration: {
|
|
31914
32199
|
[k: string]: any;
|
|
31915
32200
|
};
|
|
32201
|
+
/**
|
|
32202
|
+
* A mapping of plugin interface aliases to their backing integrations
|
|
32203
|
+
*/
|
|
32204
|
+
interfaces?: {
|
|
32205
|
+
[k: string]: {
|
|
32206
|
+
integrationId: string;
|
|
32207
|
+
};
|
|
32208
|
+
};
|
|
31916
32209
|
/**
|
|
31917
32210
|
* ID of the [Plugin](#schema_plugin)
|
|
31918
32211
|
*/
|
|
@@ -33637,6 +33930,17 @@ interface File {
|
|
|
33637
33930
|
* File expiry timestamp in ISO 8601 format
|
|
33638
33931
|
*/
|
|
33639
33932
|
expiresAt?: string;
|
|
33933
|
+
owner: {
|
|
33934
|
+
type: "bot" | "integration" | "user";
|
|
33935
|
+
/**
|
|
33936
|
+
* This field is present if `type` is "user" or "bot". If `type` is "user", this is the user ID. If `type` is "bot", this is the bot ID.
|
|
33937
|
+
*/
|
|
33938
|
+
id?: string;
|
|
33939
|
+
/**
|
|
33940
|
+
* This field is present if the `type` is "integration". If `type` is "integration", this is the integration name.
|
|
33941
|
+
*/
|
|
33942
|
+
name?: string;
|
|
33943
|
+
};
|
|
33640
33944
|
}
|
|
33641
33945
|
|
|
33642
33946
|
type ClientProps$1 = {
|
|
@@ -33695,6 +33999,7 @@ declare class Client$1 {
|
|
|
33695
33999
|
readonly runVrl: (input: RunVrlInput) => Promise<RunVrlResponse>;
|
|
33696
34000
|
readonly getAccount: (input: GetAccountInput) => Promise<GetAccountResponse>;
|
|
33697
34001
|
readonly updateAccount: (input: UpdateAccountInput) => Promise<UpdateAccountResponse>;
|
|
34002
|
+
readonly deleteAccount: (input: DeleteAccountInput) => Promise<DeleteAccountResponse>;
|
|
33698
34003
|
readonly listPersonalAccessTokens: (input: ListPersonalAccessTokensInput) => Promise<ListPersonalAccessTokensResponse>;
|
|
33699
34004
|
readonly createPersonalAccessToken: (input: CreatePersonalAccessTokenInput) => Promise<CreatePersonalAccessTokenResponse>;
|
|
33700
34005
|
readonly deletePersonalAccessToken: (input: DeletePersonalAccessTokenInput) => Promise<DeletePersonalAccessTokenResponse>;
|
|
@@ -33719,6 +34024,7 @@ declare class Client$1 {
|
|
|
33719
34024
|
readonly getBotLogs: (input: GetBotLogsInput) => Promise<GetBotLogsResponse>;
|
|
33720
34025
|
readonly getBotWebchat: (input: GetBotWebchatInput) => Promise<GetBotWebchatResponse>;
|
|
33721
34026
|
readonly getBotAnalytics: (input: GetBotAnalyticsInput) => Promise<GetBotAnalyticsResponse>;
|
|
34027
|
+
readonly listActionRuns: (input: ListActionRunsInput) => Promise<ListActionRunsResponse>;
|
|
33722
34028
|
readonly getBotIssue: (input: GetBotIssueInput) => Promise<GetBotIssueResponse>;
|
|
33723
34029
|
readonly listBotIssues: (input: ListBotIssuesInput) => Promise<ListBotIssuesResponse>;
|
|
33724
34030
|
readonly deleteBotIssue: (input: DeleteBotIssueInput) => Promise<DeleteBotIssueResponse>;
|
|
@@ -34130,6 +34436,11 @@ declare class Client extends Client$1 implements IClient {
|
|
|
34130
34436
|
status: "upload_pending" | "upload_failed" | "upload_completed" | "indexing_pending" | "indexing_failed" | "indexing_completed";
|
|
34131
34437
|
failedStatusReason?: string;
|
|
34132
34438
|
expiresAt?: string;
|
|
34439
|
+
owner: {
|
|
34440
|
+
type: "bot" | "integration" | "user";
|
|
34441
|
+
id?: string;
|
|
34442
|
+
name?: string;
|
|
34443
|
+
};
|
|
34133
34444
|
}>;
|
|
34134
34445
|
filePassages: (props: {
|
|
34135
34446
|
id: string;
|
|
@@ -34169,8 +34480,8 @@ declare class Client extends Client$1 implements IClient {
|
|
|
34169
34480
|
value: number;
|
|
34170
34481
|
metadata?: {
|
|
34171
34482
|
botId: string;
|
|
34172
|
-
type: "IntegrationAction" | "FileIndexing";
|
|
34173
|
-
subtype
|
|
34483
|
+
type: "IntegrationAction" | "FileIndexing" | "BingSearch" | "WebSearch";
|
|
34484
|
+
subtype?: string;
|
|
34174
34485
|
source?: string;
|
|
34175
34486
|
};
|
|
34176
34487
|
}>;
|