@botpress/client 0.47.0 → 0.48.1
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 +7 -7
- package/.turbo/turbo-generate.log +1 -1
- package/dist/bundle.cjs +13 -13
- package/dist/bundle.cjs.map +4 -4
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +253 -3
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +4 -4
- package/package.json +8 -5
package/dist/index.d.ts
CHANGED
|
@@ -224,6 +224,10 @@ interface GetOrCreateConversationRequestBody {
|
|
|
224
224
|
* [DEPRECATED] To create a conversation from within a bot, call an action of the integration instead.
|
|
225
225
|
*/
|
|
226
226
|
integrationName?: string;
|
|
227
|
+
/**
|
|
228
|
+
* Optional list of tag names to use for strict matching when looking up existing conversations. If provided, all specified tags must match exactly for a conversation to be considered a match. For example, with an existing conversation whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
229
|
+
*/
|
|
230
|
+
discriminateByTags?: string[];
|
|
227
231
|
}
|
|
228
232
|
type GetOrCreateConversationInput = GetOrCreateConversationRequestBody & GetOrCreateConversationRequestHeaders & GetOrCreateConversationRequestQuery & GetOrCreateConversationRequestParams;
|
|
229
233
|
interface GetOrCreateConversationResponse {
|
|
@@ -830,6 +834,10 @@ interface GetOrCreateMessageRequestBody {
|
|
|
830
834
|
*/
|
|
831
835
|
delay?: number;
|
|
832
836
|
};
|
|
837
|
+
/**
|
|
838
|
+
* Optional list of tag names to use for strict matching when looking up existing messages. If provided, all specified tags must match exactly for a message to be considered a match. For example, with an existing message whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
839
|
+
*/
|
|
840
|
+
discriminateByTags?: string[];
|
|
833
841
|
}
|
|
834
842
|
type GetOrCreateMessageInput = GetOrCreateMessageRequestBody & GetOrCreateMessageRequestHeaders & GetOrCreateMessageRequestQuery & GetOrCreateMessageRequestParams;
|
|
835
843
|
interface GetOrCreateMessageResponse {
|
|
@@ -1247,6 +1255,10 @@ interface GetOrCreateUserRequestBody {
|
|
|
1247
1255
|
* URI of the user picture
|
|
1248
1256
|
*/
|
|
1249
1257
|
pictureUrl?: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* Optional list of tag names to use for strict matching when looking up existing users. If provided, all specified tags must match exactly for a user to be considered a match. For example, with an existing user whose tags are {"foo": "a", "bar": "b", baz: "c"}: Without this parameter, ALL tags must match exactly. With ["bar","baz"], all listed tags must match their values, and other tags are not considered.
|
|
1260
|
+
*/
|
|
1261
|
+
discriminateByTags?: string[];
|
|
1250
1262
|
}
|
|
1251
1263
|
type GetOrCreateUserInput = GetOrCreateUserRequestBody & GetOrCreateUserRequestHeaders & GetOrCreateUserRequestQuery & GetOrCreateUserRequestParams;
|
|
1252
1264
|
interface GetOrCreateUserResponse {
|
|
@@ -1726,6 +1738,12 @@ interface ConfigureIntegrationRequestBody {
|
|
|
1726
1738
|
* Recurring schedule on which `register()` will be called on the integration
|
|
1727
1739
|
*/
|
|
1728
1740
|
scheduleRegisterCall?: "hourly" | "daily" | "weekly" | "bi-weekly" | "monthly" | "bi-monthly" | "quarterly" | "yearly";
|
|
1741
|
+
/**
|
|
1742
|
+
* Sandbox identifiers for the integration. Setting this to null will remove all sandbox identifiers. Setting an individual sandbox identifier to null will remove that sandbox identifier. This is an experimental feature meant to be used by specific integrations.
|
|
1743
|
+
*/
|
|
1744
|
+
sandboxIdentifiers?: {
|
|
1745
|
+
[k: string]: {} | null;
|
|
1746
|
+
} | null;
|
|
1729
1747
|
}
|
|
1730
1748
|
type ConfigureIntegrationInput = ConfigureIntegrationRequestBody & ConfigureIntegrationRequestHeaders & ConfigureIntegrationRequestQuery & ConfigureIntegrationRequestParams;
|
|
1731
1749
|
interface ConfigureIntegrationResponse {
|
|
@@ -2961,6 +2979,16 @@ interface GetPublicIntegrationByIdResponse {
|
|
|
2961
2979
|
*/
|
|
2962
2980
|
extractScript?: string;
|
|
2963
2981
|
};
|
|
2982
|
+
sandbox?: {
|
|
2983
|
+
/**
|
|
2984
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
2985
|
+
*/
|
|
2986
|
+
identifierExtractScript?: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
2989
|
+
*/
|
|
2990
|
+
messageExtractScript?: string;
|
|
2991
|
+
};
|
|
2964
2992
|
/**
|
|
2965
2993
|
* URL of the [Integration](#schema_integration)
|
|
2966
2994
|
*/
|
|
@@ -3336,6 +3364,16 @@ interface GetPublicIntegrationResponse {
|
|
|
3336
3364
|
*/
|
|
3337
3365
|
extractScript?: string;
|
|
3338
3366
|
};
|
|
3367
|
+
sandbox?: {
|
|
3368
|
+
/**
|
|
3369
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
3370
|
+
*/
|
|
3371
|
+
identifierExtractScript?: string;
|
|
3372
|
+
/**
|
|
3373
|
+
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
3374
|
+
*/
|
|
3375
|
+
messageExtractScript?: string;
|
|
3376
|
+
};
|
|
3339
3377
|
/**
|
|
3340
3378
|
* URL of the [Integration](#schema_integration)
|
|
3341
3379
|
*/
|
|
@@ -6313,7 +6351,7 @@ interface CreateIntegrationRequestBody {
|
|
|
6313
6351
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
6314
6352
|
*/
|
|
6315
6353
|
secrets?: {
|
|
6316
|
-
[k: string]: string;
|
|
6354
|
+
[k: string]: string | null;
|
|
6317
6355
|
};
|
|
6318
6356
|
/**
|
|
6319
6357
|
* JavaScript code of the integration
|
|
@@ -6377,6 +6415,16 @@ interface CreateIntegrationResponse {
|
|
|
6377
6415
|
*/
|
|
6378
6416
|
extractScript?: string;
|
|
6379
6417
|
};
|
|
6418
|
+
sandbox?: {
|
|
6419
|
+
/**
|
|
6420
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
6421
|
+
*/
|
|
6422
|
+
identifierExtractScript?: string;
|
|
6423
|
+
/**
|
|
6424
|
+
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
6425
|
+
*/
|
|
6426
|
+
messageExtractScript?: string;
|
|
6427
|
+
};
|
|
6380
6428
|
/**
|
|
6381
6429
|
* URL of the [Integration](#schema_integration)
|
|
6382
6430
|
*/
|
|
@@ -6983,7 +7031,7 @@ interface ValidateIntegrationCreationRequestBody {
|
|
|
6983
7031
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
6984
7032
|
*/
|
|
6985
7033
|
secrets?: {
|
|
6986
|
-
[k: string]: string;
|
|
7034
|
+
[k: string]: string | null;
|
|
6987
7035
|
};
|
|
6988
7036
|
/**
|
|
6989
7037
|
* JavaScript code of the integration
|
|
@@ -7290,6 +7338,10 @@ interface UpdateIntegrationRequestBody {
|
|
|
7290
7338
|
};
|
|
7291
7339
|
} | null;
|
|
7292
7340
|
};
|
|
7341
|
+
sandbox?: {
|
|
7342
|
+
identifierExtractScript?: string | null;
|
|
7343
|
+
messageExtractScript?: string | null;
|
|
7344
|
+
};
|
|
7293
7345
|
/**
|
|
7294
7346
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
7295
7347
|
*/
|
|
@@ -7354,6 +7406,16 @@ interface UpdateIntegrationResponse {
|
|
|
7354
7406
|
*/
|
|
7355
7407
|
extractScript?: string;
|
|
7356
7408
|
};
|
|
7409
|
+
sandbox?: {
|
|
7410
|
+
/**
|
|
7411
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
7412
|
+
*/
|
|
7413
|
+
identifierExtractScript?: string;
|
|
7414
|
+
/**
|
|
7415
|
+
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
7416
|
+
*/
|
|
7417
|
+
messageExtractScript?: string;
|
|
7418
|
+
};
|
|
7357
7419
|
/**
|
|
7358
7420
|
* URL of the [Integration](#schema_integration)
|
|
7359
7421
|
*/
|
|
@@ -7949,6 +8011,10 @@ interface ValidateIntegrationUpdateRequestBody {
|
|
|
7949
8011
|
};
|
|
7950
8012
|
} | null;
|
|
7951
8013
|
};
|
|
8014
|
+
sandbox?: {
|
|
8015
|
+
identifierExtractScript?: string | null;
|
|
8016
|
+
messageExtractScript?: string | null;
|
|
8017
|
+
};
|
|
7952
8018
|
/**
|
|
7953
8019
|
* Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
|
|
7954
8020
|
*/
|
|
@@ -7993,8 +8059,17 @@ interface ListIntegrationsRequestHeaders {
|
|
|
7993
8059
|
}
|
|
7994
8060
|
interface ListIntegrationsRequestQuery {
|
|
7995
8061
|
nextToken?: string;
|
|
8062
|
+
limit?: number;
|
|
7996
8063
|
name?: string;
|
|
7997
8064
|
version?: string;
|
|
8065
|
+
interfaceId?: string;
|
|
8066
|
+
interfaceName?: string;
|
|
8067
|
+
visibility?: "public" | "private";
|
|
8068
|
+
installedByBotId?: string;
|
|
8069
|
+
verificationStatus?: "unapproved" | "pending" | "approved" | "rejected";
|
|
8070
|
+
search?: string;
|
|
8071
|
+
sortBy?: "popularity" | "name" | "createdAt" | "updatedAt" | "installCount";
|
|
8072
|
+
direction?: "asc" | "desc";
|
|
7998
8073
|
dev?: boolean;
|
|
7999
8074
|
}
|
|
8000
8075
|
interface ListIntegrationsRequestParams {
|
|
@@ -8044,6 +8119,36 @@ interface ListIntegrationsResponse {
|
|
|
8044
8119
|
* Status of the integration version verification
|
|
8045
8120
|
*/
|
|
8046
8121
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
8122
|
+
/**
|
|
8123
|
+
* Metadata about which fields matched the search criteria
|
|
8124
|
+
*/
|
|
8125
|
+
matchedOn?: {
|
|
8126
|
+
/**
|
|
8127
|
+
* Whether the integration name matched the search term
|
|
8128
|
+
*/
|
|
8129
|
+
name?: boolean;
|
|
8130
|
+
/**
|
|
8131
|
+
* Whether the integration title matched the search term
|
|
8132
|
+
*/
|
|
8133
|
+
title?: boolean;
|
|
8134
|
+
/**
|
|
8135
|
+
* Whether the integration description matched the search term
|
|
8136
|
+
*/
|
|
8137
|
+
description?: boolean;
|
|
8138
|
+
/**
|
|
8139
|
+
* Action names that matched the search term
|
|
8140
|
+
*/
|
|
8141
|
+
actions?: string[];
|
|
8142
|
+
/**
|
|
8143
|
+
* Interface names that matched the search term
|
|
8144
|
+
*/
|
|
8145
|
+
interfaces?: string[];
|
|
8146
|
+
};
|
|
8147
|
+
ownerWorkspace?: {
|
|
8148
|
+
id: string;
|
|
8149
|
+
handle: string | null;
|
|
8150
|
+
name: string;
|
|
8151
|
+
};
|
|
8047
8152
|
}[];
|
|
8048
8153
|
meta: {
|
|
8049
8154
|
/**
|
|
@@ -8090,6 +8195,16 @@ interface GetIntegrationResponse {
|
|
|
8090
8195
|
*/
|
|
8091
8196
|
extractScript?: string;
|
|
8092
8197
|
};
|
|
8198
|
+
sandbox?: {
|
|
8199
|
+
/**
|
|
8200
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
8201
|
+
*/
|
|
8202
|
+
identifierExtractScript?: string;
|
|
8203
|
+
/**
|
|
8204
|
+
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
8205
|
+
*/
|
|
8206
|
+
messageExtractScript?: string;
|
|
8207
|
+
};
|
|
8093
8208
|
/**
|
|
8094
8209
|
* URL of the [Integration](#schema_integration)
|
|
8095
8210
|
*/
|
|
@@ -8484,6 +8599,16 @@ interface GetIntegrationByNameResponse {
|
|
|
8484
8599
|
*/
|
|
8485
8600
|
extractScript?: string;
|
|
8486
8601
|
};
|
|
8602
|
+
sandbox?: {
|
|
8603
|
+
/**
|
|
8604
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
8605
|
+
*/
|
|
8606
|
+
identifierExtractScript?: string;
|
|
8607
|
+
/**
|
|
8608
|
+
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
8609
|
+
*/
|
|
8610
|
+
messageExtractScript?: string;
|
|
8611
|
+
};
|
|
8487
8612
|
/**
|
|
8488
8613
|
* URL of the [Integration](#schema_integration)
|
|
8489
8614
|
*/
|
|
@@ -11778,6 +11903,105 @@ interface ListFileTagValuesResponse {
|
|
|
11778
11903
|
};
|
|
11779
11904
|
}
|
|
11780
11905
|
|
|
11906
|
+
interface CreateKnowledgeBaseRequestHeaders {
|
|
11907
|
+
}
|
|
11908
|
+
interface CreateKnowledgeBaseRequestQuery {
|
|
11909
|
+
}
|
|
11910
|
+
interface CreateKnowledgeBaseRequestParams {
|
|
11911
|
+
}
|
|
11912
|
+
interface CreateKnowledgeBaseRequestBody {
|
|
11913
|
+
/**
|
|
11914
|
+
* Name of the knowledge base.
|
|
11915
|
+
*/
|
|
11916
|
+
name: string;
|
|
11917
|
+
}
|
|
11918
|
+
type CreateKnowledgeBaseInput = CreateKnowledgeBaseRequestBody & CreateKnowledgeBaseRequestHeaders & CreateKnowledgeBaseRequestQuery & CreateKnowledgeBaseRequestParams;
|
|
11919
|
+
interface CreateKnowledgeBaseResponse {
|
|
11920
|
+
knowledgeBase: {
|
|
11921
|
+
/**
|
|
11922
|
+
* Knowledge base ID
|
|
11923
|
+
*/
|
|
11924
|
+
id: string;
|
|
11925
|
+
/**
|
|
11926
|
+
* Name of the knowledge base.
|
|
11927
|
+
*/
|
|
11928
|
+
name: string;
|
|
11929
|
+
};
|
|
11930
|
+
}
|
|
11931
|
+
|
|
11932
|
+
interface DeleteKnowledgeBaseRequestHeaders {
|
|
11933
|
+
}
|
|
11934
|
+
interface DeleteKnowledgeBaseRequestQuery {
|
|
11935
|
+
}
|
|
11936
|
+
interface DeleteKnowledgeBaseRequestParams {
|
|
11937
|
+
id: string;
|
|
11938
|
+
}
|
|
11939
|
+
interface DeleteKnowledgeBaseRequestBody {
|
|
11940
|
+
}
|
|
11941
|
+
type DeleteKnowledgeBaseInput = DeleteKnowledgeBaseRequestBody & DeleteKnowledgeBaseRequestHeaders & DeleteKnowledgeBaseRequestQuery & DeleteKnowledgeBaseRequestParams;
|
|
11942
|
+
interface DeleteKnowledgeBaseResponse {
|
|
11943
|
+
}
|
|
11944
|
+
|
|
11945
|
+
interface UpdateKnowledgeBaseRequestHeaders {
|
|
11946
|
+
}
|
|
11947
|
+
interface UpdateKnowledgeBaseRequestQuery {
|
|
11948
|
+
}
|
|
11949
|
+
interface UpdateKnowledgeBaseRequestParams {
|
|
11950
|
+
id: string;
|
|
11951
|
+
}
|
|
11952
|
+
interface UpdateKnowledgeBaseRequestBody {
|
|
11953
|
+
/**
|
|
11954
|
+
* New name of the knowledge base.
|
|
11955
|
+
*/
|
|
11956
|
+
name: string;
|
|
11957
|
+
}
|
|
11958
|
+
type UpdateKnowledgeBaseInput = UpdateKnowledgeBaseRequestBody & UpdateKnowledgeBaseRequestHeaders & UpdateKnowledgeBaseRequestQuery & UpdateKnowledgeBaseRequestParams;
|
|
11959
|
+
interface UpdateKnowledgeBaseResponse {
|
|
11960
|
+
knowledgeBase: {
|
|
11961
|
+
/**
|
|
11962
|
+
* Knowledge base ID
|
|
11963
|
+
*/
|
|
11964
|
+
id: string;
|
|
11965
|
+
/**
|
|
11966
|
+
* Name of the knowledge base.
|
|
11967
|
+
*/
|
|
11968
|
+
name: string;
|
|
11969
|
+
};
|
|
11970
|
+
}
|
|
11971
|
+
|
|
11972
|
+
interface ListKnowledgeBasesRequestHeaders {
|
|
11973
|
+
}
|
|
11974
|
+
interface ListKnowledgeBasesRequestQuery {
|
|
11975
|
+
nextToken?: string;
|
|
11976
|
+
}
|
|
11977
|
+
interface ListKnowledgeBasesRequestParams {
|
|
11978
|
+
}
|
|
11979
|
+
interface ListKnowledgeBasesRequestBody {
|
|
11980
|
+
}
|
|
11981
|
+
type ListKnowledgeBasesInput = ListKnowledgeBasesRequestBody & ListKnowledgeBasesRequestHeaders & ListKnowledgeBasesRequestQuery & ListKnowledgeBasesRequestParams;
|
|
11982
|
+
interface ListKnowledgeBasesResponse {
|
|
11983
|
+
knowledgeBases: {
|
|
11984
|
+
/**
|
|
11985
|
+
* Knowledge base ID
|
|
11986
|
+
*/
|
|
11987
|
+
id: string;
|
|
11988
|
+
/**
|
|
11989
|
+
* Name of the knowledge base.
|
|
11990
|
+
*/
|
|
11991
|
+
name: string;
|
|
11992
|
+
/**
|
|
11993
|
+
* Knowledge base creation timestamp in ISO 8601 format
|
|
11994
|
+
*/
|
|
11995
|
+
createdAt: string;
|
|
11996
|
+
}[];
|
|
11997
|
+
meta: {
|
|
11998
|
+
/**
|
|
11999
|
+
* 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.
|
|
12000
|
+
*/
|
|
12001
|
+
nextToken?: string;
|
|
12002
|
+
};
|
|
12003
|
+
}
|
|
12004
|
+
|
|
11781
12005
|
interface ListTablesRequestHeaders {
|
|
11782
12006
|
}
|
|
11783
12007
|
interface ListTablesRequestQuery {
|
|
@@ -13730,6 +13954,16 @@ interface Integration {
|
|
|
13730
13954
|
*/
|
|
13731
13955
|
extractScript?: string;
|
|
13732
13956
|
};
|
|
13957
|
+
sandbox?: {
|
|
13958
|
+
/**
|
|
13959
|
+
* VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook used specifically for the sandbox
|
|
13960
|
+
*/
|
|
13961
|
+
identifierExtractScript?: string;
|
|
13962
|
+
/**
|
|
13963
|
+
* VRL Script of the [Integration](#schema_integration) to extract the message from an incoming webhook used specifically for the sandbox
|
|
13964
|
+
*/
|
|
13965
|
+
messageExtractScript?: string;
|
|
13966
|
+
};
|
|
13733
13967
|
/**
|
|
13734
13968
|
* URL of the [Integration](#schema_integration)
|
|
13735
13969
|
*/
|
|
@@ -15129,6 +15363,10 @@ declare class Client$1 {
|
|
|
15129
15363
|
readonly listFilePassages: (input: ListFilePassagesInput) => Promise<ListFilePassagesResponse>;
|
|
15130
15364
|
readonly listFileTags: (input: ListFileTagsInput) => Promise<ListFileTagsResponse>;
|
|
15131
15365
|
readonly listFileTagValues: (input: ListFileTagValuesInput) => Promise<ListFileTagValuesResponse>;
|
|
15366
|
+
readonly createKnowledgeBase: (input: CreateKnowledgeBaseInput) => Promise<CreateKnowledgeBaseResponse>;
|
|
15367
|
+
readonly deleteKnowledgeBase: (input: DeleteKnowledgeBaseInput) => Promise<DeleteKnowledgeBaseResponse>;
|
|
15368
|
+
readonly updateKnowledgeBase: (input: UpdateKnowledgeBaseInput) => Promise<UpdateKnowledgeBaseResponse>;
|
|
15369
|
+
readonly listKnowledgeBases: (input: ListKnowledgeBasesInput) => Promise<ListKnowledgeBasesResponse>;
|
|
15132
15370
|
readonly listTables: (input: ListTablesInput) => Promise<ListTablesResponse>;
|
|
15133
15371
|
readonly getTable: (input: GetTableInput) => Promise<GetTableResponse>;
|
|
15134
15372
|
readonly getOrCreateTable: (input: GetOrCreateTableInput) => Promise<GetOrCreateTableResponse>;
|
|
@@ -15592,6 +15830,18 @@ declare class Lister {
|
|
|
15592
15830
|
iconUrl: string;
|
|
15593
15831
|
public: boolean;
|
|
15594
15832
|
verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
|
|
15833
|
+
matchedOn?: {
|
|
15834
|
+
name?: boolean;
|
|
15835
|
+
title?: boolean;
|
|
15836
|
+
description?: boolean;
|
|
15837
|
+
actions?: string[];
|
|
15838
|
+
interfaces?: string[];
|
|
15839
|
+
};
|
|
15840
|
+
ownerWorkspace?: {
|
|
15841
|
+
id: string;
|
|
15842
|
+
handle: string | null;
|
|
15843
|
+
name: string;
|
|
15844
|
+
};
|
|
15595
15845
|
}>;
|
|
15596
15846
|
readonly interfaces: (props: ListInputs["listInterfaces"]) => AsyncCollection<{
|
|
15597
15847
|
id: string;
|
|
@@ -15651,7 +15901,7 @@ declare class Client extends Client$1 implements IClient {
|
|
|
15651
15901
|
/**
|
|
15652
15902
|
* Create/update and upload a file in a single step. Returns an object containing the file metadata and the URL to retrieve the file.
|
|
15653
15903
|
*/
|
|
15654
|
-
readonly uploadFile: ({ key, index, tags, contentType, accessPolicies, content, url, indexing, expiresAt, publicContentImmediatelyAccessible, }: ClientInputs["uploadFile"]) => Promise<ClientOutputs["uploadFile"]>;
|
|
15904
|
+
readonly uploadFile: ({ key, index, tags, contentType, accessPolicies, content, url, indexing, expiresAt, metadata, publicContentImmediatelyAccessible, }: ClientInputs["uploadFile"]) => Promise<ClientOutputs["uploadFile"]>;
|
|
15655
15905
|
}
|
|
15656
15906
|
|
|
15657
15907
|
export { type Account, AlreadyExistsError, type ApiError, type Bot, BreakingChangesError, Client, type ClientConfig, type ClientInputs, type ClientOutputs, type ClientParams, type ClientProps, type ClientReturn, type Column, type Conversation, type ErrorType, type Event, type File, ForbiddenError, type IClient, type Integration, type Interface, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, type Issue, type IssueEvent, LimitExceededError, type Message, MethodNotFoundError, type Operation, PayloadTooLargeError, PaymentRequiredError, type Plugin, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, type Usage, type User, type Workflow, type Workspace, type WorkspaceMember, errorFrom, isApiError };
|