@epam/ai-dial-chat-api-client 1.3.0-dev.16 → 1.3.0-dev.160
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/generated/src/apis/ApplicationsApi.d.ts +2 -2
- package/generated/src/apis/ApplicationsApi.js +2 -2
- package/generated/src/apis/ConversationsApi.d.ts +2 -2
- package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
- package/generated/src/apis/ConversationsApi.js +2 -2
- package/generated/src/apis/DeploymentsApi.d.ts +13 -0
- package/generated/src/apis/DeploymentsApi.d.ts.map +1 -1
- package/generated/src/apis/DeploymentsApi.js +35 -0
- package/generated/src/apis/ExternalServicesApi.d.ts +30 -1
- package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
- package/generated/src/apis/ExternalServicesApi.js +82 -0
- package/generated/src/apis/OfflineCredentialsApi.d.ts +10 -0
- package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -1
- package/generated/src/apis/OfflineCredentialsApi.js +31 -0
- package/generated/src/apis/PublishApi.d.ts +26 -1
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +50 -1
- package/generated/src/apis/ShareApi.d.ts +13 -0
- package/generated/src/apis/ShareApi.d.ts.map +1 -1
- package/generated/src/apis/ShareApi.js +34 -0
- package/generated/src/models/index.d.ts +253 -5
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +21 -3
- package/package.json +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -90,6 +90,40 @@ class ShareApi extends runtime.BaseAPI {
|
|
|
90
90
|
const response = await this.createShareLinkRaw(requestParameters, initOverrides);
|
|
91
91
|
return await response.value();
|
|
92
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* Withdraws one invitation the caller created, by proxying DIAL Core (DELETE /v1/invitations/{id}). Access already accepted from it stays; only the link stops working. Withdrawing an invitation that is already gone succeeds. Unlike POST /api/v1/share/revoke, which revokes every share of a resource at once.
|
|
95
|
+
* Withdraw a share invitation
|
|
96
|
+
*/
|
|
97
|
+
async deleteInvitationRaw(requestParameters, initOverrides) {
|
|
98
|
+
if (requestParameters['invitationId'] == null) {
|
|
99
|
+
throw new runtime.RequiredError('invitationId', 'Required parameter "invitationId" was null or undefined when calling deleteInvitation().');
|
|
100
|
+
}
|
|
101
|
+
const queryParameters = {};
|
|
102
|
+
const headerParameters = {};
|
|
103
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
104
|
+
const token = this.configuration.accessToken;
|
|
105
|
+
const tokenString = await token('bearer', []);
|
|
106
|
+
if (tokenString) {
|
|
107
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
let urlPath = `/api/v1/share/invitations/{invitationId}`;
|
|
111
|
+
urlPath = urlPath.replace(`{${'invitationId'}}`, encodeURIComponent(String(requestParameters['invitationId'])));
|
|
112
|
+
const response = await this.request({
|
|
113
|
+
path: urlPath,
|
|
114
|
+
method: 'DELETE',
|
|
115
|
+
headers: headerParameters,
|
|
116
|
+
query: queryParameters,
|
|
117
|
+
}, initOverrides);
|
|
118
|
+
return new runtime.VoidApiResponse(response);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Withdraws one invitation the caller created, by proxying DIAL Core (DELETE /v1/invitations/{id}). Access already accepted from it stays; only the link stops working. Withdrawing an invitation that is already gone succeeds. Unlike POST /api/v1/share/revoke, which revokes every share of a resource at once.
|
|
122
|
+
* Withdraw a share invitation
|
|
123
|
+
*/
|
|
124
|
+
async deleteInvitation(requestParameters, initOverrides) {
|
|
125
|
+
await this.deleteInvitationRaw(requestParameters, initOverrides);
|
|
126
|
+
}
|
|
93
127
|
/**
|
|
94
128
|
* Discards the authenticated user\'s own access to a shared catalog entity (application or toolset), a skill, a conversation, or a prompt, via DIAL Core\'s discardSharedResources operation. Only affects the caller\'s own access — removing access for everyone else is a separate operation.
|
|
95
129
|
* Discard a shared catalog resource, conversation, or prompt
|
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @export
|
|
4
|
+
* @interface AcceptInvitationErrorDto
|
|
5
|
+
*/
|
|
6
|
+
export interface AcceptInvitationErrorDto {
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @type {number}
|
|
10
|
+
* @memberof AcceptInvitationErrorDto
|
|
11
|
+
*/
|
|
12
|
+
statusCode: number;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof AcceptInvitationErrorDto
|
|
17
|
+
*/
|
|
18
|
+
error: string;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AcceptInvitationErrorDto
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
/**
|
|
26
|
+
* Why DIAL Core refused the invitation. `shareInvitationNotFound`: the link expired, was revoked, or never existed. `shareInvitationAcceptedUsersLimitReached`: the shared resource has already been accepted by its maximum number of users.
|
|
27
|
+
* @type {ShareInvitationErrorCode}
|
|
28
|
+
* @memberof AcceptInvitationErrorDto
|
|
29
|
+
*/
|
|
30
|
+
code?: ShareInvitationErrorCode;
|
|
31
|
+
/**
|
|
32
|
+
* Title of the shared conversation, present with `shareInvitationAcceptedUsersLimitReached` when the invitation shares a conversation.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AcceptInvitationErrorDto
|
|
35
|
+
*/
|
|
36
|
+
itemName?: string;
|
|
37
|
+
}
|
|
1
38
|
/**
|
|
2
39
|
*
|
|
3
40
|
* @export
|
|
@@ -1153,6 +1190,18 @@ export interface ClientConfigDto {
|
|
|
1153
1190
|
* @memberof ClientConfigDto
|
|
1154
1191
|
*/
|
|
1155
1192
|
maxAttachmentFileSizeBytes: number;
|
|
1193
|
+
/**
|
|
1194
|
+
* Percentage (1–99) of a capped day/week/month usage limit at which the composer shows its usage banner. Sourced from USAGE_LIMITS_WARNING_THRESHOLD_PERCENT; governs the banner only, not the usage dial.
|
|
1195
|
+
* @type {number}
|
|
1196
|
+
* @memberof ClientConfigDto
|
|
1197
|
+
*/
|
|
1198
|
+
usageLimitsWarningThresholdPercent: number;
|
|
1199
|
+
/**
|
|
1200
|
+
* Operator default for the seasonal-celebrations switch, applied to users who have not saved a choice of their own; a saved choice overrides it. Sourced from UI_EVENT_ENABLED_BY_DEFAULT; true unless it is false, 0 or no. Has no visible effect while activeEventId is null.
|
|
1201
|
+
* @type {boolean}
|
|
1202
|
+
* @memberof ClientConfigDto
|
|
1203
|
+
*/
|
|
1204
|
+
celebrationsEnabledByDefault: boolean;
|
|
1156
1205
|
}
|
|
1157
1206
|
/**
|
|
1158
1207
|
* @export
|
|
@@ -1212,6 +1261,43 @@ export interface ClientConfigResponseDto {
|
|
|
1212
1261
|
*/
|
|
1213
1262
|
metadata?: ClientConfigMetadataDto;
|
|
1214
1263
|
}
|
|
1264
|
+
/**
|
|
1265
|
+
*
|
|
1266
|
+
* @export
|
|
1267
|
+
* @interface ConversationAttachmentMissingErrorDto
|
|
1268
|
+
*/
|
|
1269
|
+
export interface ConversationAttachmentMissingErrorDto {
|
|
1270
|
+
/**
|
|
1271
|
+
*
|
|
1272
|
+
* @type {number}
|
|
1273
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1274
|
+
*/
|
|
1275
|
+
statusCode: number;
|
|
1276
|
+
/**
|
|
1277
|
+
*
|
|
1278
|
+
* @type {string}
|
|
1279
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1280
|
+
*/
|
|
1281
|
+
error: string;
|
|
1282
|
+
/**
|
|
1283
|
+
*
|
|
1284
|
+
* @type {string}
|
|
1285
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1286
|
+
*/
|
|
1287
|
+
message: string;
|
|
1288
|
+
/**
|
|
1289
|
+
*
|
|
1290
|
+
* @type {ConversationErrorCode}
|
|
1291
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1292
|
+
*/
|
|
1293
|
+
code: ConversationErrorCode;
|
|
1294
|
+
/**
|
|
1295
|
+
* Urls of the attachment files that no longer exist
|
|
1296
|
+
* @type {Array<string>}
|
|
1297
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1298
|
+
*/
|
|
1299
|
+
missingFiles: Array<string>;
|
|
1300
|
+
}
|
|
1215
1301
|
/**
|
|
1216
1302
|
*
|
|
1217
1303
|
* @export
|
|
@@ -1273,11 +1359,13 @@ export interface ConversationDeletionResultDto {
|
|
|
1273
1359
|
failed: Array<ConversationDeletionFailureDto>;
|
|
1274
1360
|
}
|
|
1275
1361
|
/**
|
|
1276
|
-
* Present when the
|
|
1362
|
+
* Present when the request was refused by a chat-api rule rather than by DIAL Core. `conversationDuplicateModelHidden`: the conversation's current model is hidden through `HIDDEN_ENTITY_TAGS`, so it cannot be duplicated. `conversationModelHidden`: the model a completion, share or publish would use is hidden through `HIDDEN_ENTITY_TAGS`.
|
|
1277
1363
|
* @export
|
|
1278
1364
|
*/
|
|
1279
1365
|
export declare const ConversationErrorCode: {
|
|
1280
1366
|
readonly ConversationDuplicateModelHidden: "conversationDuplicateModelHidden";
|
|
1367
|
+
readonly ConversationModelHidden: "conversationModelHidden";
|
|
1368
|
+
readonly ConversationAttachmentMissing: "conversationAttachmentMissing";
|
|
1281
1369
|
};
|
|
1282
1370
|
export type ConversationErrorCode = (typeof ConversationErrorCode)[keyof typeof ConversationErrorCode];
|
|
1283
1371
|
/**
|
|
@@ -1335,7 +1423,7 @@ export interface ConversationListItemDto {
|
|
|
1335
1423
|
*/
|
|
1336
1424
|
isReadonly: boolean;
|
|
1337
1425
|
/**
|
|
1338
|
-
* True when this conversation
|
|
1426
|
+
* True when this conversation is a DIAL Scheduler run in the caller's own bucket (its resource path matches the `.scheduler/{scheduleId}/{filename}` reserved segment, with `{filename}` shaped `{deploymentId}__{title}__{runId}`). Always false for published and shared conversations, even when their path has that shape.
|
|
1339
1427
|
* @type {boolean}
|
|
1340
1428
|
* @memberof ConversationListItemDto
|
|
1341
1429
|
*/
|
|
@@ -1614,6 +1702,37 @@ export interface ConversationModelDto {
|
|
|
1614
1702
|
*/
|
|
1615
1703
|
id: string;
|
|
1616
1704
|
}
|
|
1705
|
+
/**
|
|
1706
|
+
*
|
|
1707
|
+
* @export
|
|
1708
|
+
* @interface ConversationModelHiddenErrorDto
|
|
1709
|
+
*/
|
|
1710
|
+
export interface ConversationModelHiddenErrorDto {
|
|
1711
|
+
/**
|
|
1712
|
+
*
|
|
1713
|
+
* @type {number}
|
|
1714
|
+
* @memberof ConversationModelHiddenErrorDto
|
|
1715
|
+
*/
|
|
1716
|
+
statusCode: number;
|
|
1717
|
+
/**
|
|
1718
|
+
*
|
|
1719
|
+
* @type {string}
|
|
1720
|
+
* @memberof ConversationModelHiddenErrorDto
|
|
1721
|
+
*/
|
|
1722
|
+
error: string;
|
|
1723
|
+
/**
|
|
1724
|
+
*
|
|
1725
|
+
* @type {string}
|
|
1726
|
+
* @memberof ConversationModelHiddenErrorDto
|
|
1727
|
+
*/
|
|
1728
|
+
message: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* Present when the request was refused by a chat-api rule rather than by DIAL Core. `conversationDuplicateModelHidden`: the conversation's current model is hidden through `HIDDEN_ENTITY_TAGS`, so it cannot be duplicated. `conversationModelHidden`: the model a completion, share or publish would use is hidden through `HIDDEN_ENTITY_TAGS`.
|
|
1731
|
+
* @type {ConversationErrorCode}
|
|
1732
|
+
* @memberof ConversationModelHiddenErrorDto
|
|
1733
|
+
*/
|
|
1734
|
+
code?: ConversationErrorCode;
|
|
1735
|
+
}
|
|
1617
1736
|
/**
|
|
1618
1737
|
*
|
|
1619
1738
|
* @export
|
|
@@ -1941,7 +2060,7 @@ export interface CreateApplicationBodyDto {
|
|
|
1941
2060
|
*/
|
|
1942
2061
|
applicationProperties?: object;
|
|
1943
2062
|
/**
|
|
1944
|
-
*
|
|
2063
|
+
* Never overwrite an existing application: when the name/version path is taken, create at the next free path (name-2, name-3, ...), checked atomically by DIAL Core; 409 only when every candidate is taken.
|
|
1945
2064
|
* @type {boolean}
|
|
1946
2065
|
* @memberof CreateApplicationBodyDto
|
|
1947
2066
|
*/
|
|
@@ -1952,6 +2071,12 @@ export interface CreateApplicationBodyDto {
|
|
|
1952
2071
|
* @memberof CreateApplicationBodyDto
|
|
1953
2072
|
*/
|
|
1954
2073
|
preserveApplicationProperties?: boolean;
|
|
2074
|
+
/**
|
|
2075
|
+
* Top-level DIAL Core application features, stored as supplied. Takes precedence over features hoisted from applicationProperties and turns off the Quick App system_prompt_supported default.
|
|
2076
|
+
* @type {object}
|
|
2077
|
+
* @memberof CreateApplicationBodyDto
|
|
2078
|
+
*/
|
|
2079
|
+
features?: object;
|
|
1955
2080
|
/**
|
|
1956
2081
|
*
|
|
1957
2082
|
* @type {Array<string>}
|
|
@@ -2913,6 +3038,12 @@ export interface DeploymentItemDto {
|
|
|
2913
3038
|
* @memberof DeploymentItemDto
|
|
2914
3039
|
*/
|
|
2915
3040
|
applicationTypeSchemaId?: string;
|
|
3041
|
+
/**
|
|
3042
|
+
* Custom Viewer URL from DIAL Core viewer_url (present only for application deployments that configure one)
|
|
3043
|
+
* @type {string}
|
|
3044
|
+
* @memberof DeploymentItemDto
|
|
3045
|
+
*/
|
|
3046
|
+
viewerUrl?: string;
|
|
2916
3047
|
/**
|
|
2917
3048
|
* Accepted MIME types for input attachments from DIAL Core (e.g. ["audio/*", "image/*"])
|
|
2918
3049
|
* @type {Array<string>}
|
|
@@ -4076,7 +4207,7 @@ export interface DuplicateConversationErrorDto {
|
|
|
4076
4207
|
*/
|
|
4077
4208
|
message: string;
|
|
4078
4209
|
/**
|
|
4079
|
-
* Present when the
|
|
4210
|
+
* Present when the request was refused by a chat-api rule rather than by DIAL Core. `conversationDuplicateModelHidden`: the conversation's current model is hidden through `HIDDEN_ENTITY_TAGS`, so it cannot be duplicated. `conversationModelHidden`: the model a completion, share or publish would use is hidden through `HIDDEN_ENTITY_TAGS`.
|
|
4080
4211
|
* @type {ConversationErrorCode}
|
|
4081
4212
|
* @memberof DuplicateConversationErrorDto
|
|
4082
4213
|
*/
|
|
@@ -4108,6 +4239,88 @@ export interface ExternalServiceAuthResultDto {
|
|
|
4108
4239
|
*/
|
|
4109
4240
|
success: boolean;
|
|
4110
4241
|
}
|
|
4242
|
+
/**
|
|
4243
|
+
*
|
|
4244
|
+
* @export
|
|
4245
|
+
* @interface ExternalServiceAuthSettingsBodyDto
|
|
4246
|
+
*/
|
|
4247
|
+
export interface ExternalServiceAuthSettingsBodyDto {
|
|
4248
|
+
/**
|
|
4249
|
+
*
|
|
4250
|
+
* @type {string}
|
|
4251
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
4252
|
+
*/
|
|
4253
|
+
authenticationType: ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum;
|
|
4254
|
+
/**
|
|
4255
|
+
* API_KEY: the header the stored key is sent under. The key itself is never part of the definition.
|
|
4256
|
+
* @type {string}
|
|
4257
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
4258
|
+
*/
|
|
4259
|
+
apiKeyHeader?: string;
|
|
4260
|
+
/**
|
|
4261
|
+
* OAUTH: the client id.
|
|
4262
|
+
* @type {string}
|
|
4263
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
4264
|
+
*/
|
|
4265
|
+
clientId?: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* OAUTH: the client secret. Write-only: never returned, never logged.
|
|
4268
|
+
* @type {string}
|
|
4269
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
4270
|
+
*/
|
|
4271
|
+
clientSecret?: string;
|
|
4272
|
+
/**
|
|
4273
|
+
*
|
|
4274
|
+
* @type {string}
|
|
4275
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
4276
|
+
*/
|
|
4277
|
+
authorizationEndpoint?: string;
|
|
4278
|
+
/**
|
|
4279
|
+
*
|
|
4280
|
+
* @type {string}
|
|
4281
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
4282
|
+
*/
|
|
4283
|
+
tokenEndpoint?: string;
|
|
4284
|
+
/**
|
|
4285
|
+
*
|
|
4286
|
+
* @type {Array<string>}
|
|
4287
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
4288
|
+
*/
|
|
4289
|
+
scopesSupported?: Array<string>;
|
|
4290
|
+
}
|
|
4291
|
+
/**
|
|
4292
|
+
* @export
|
|
4293
|
+
*/
|
|
4294
|
+
export declare const ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum: {
|
|
4295
|
+
readonly ApiKey: "API_KEY";
|
|
4296
|
+
readonly Oauth: "OAUTH";
|
|
4297
|
+
};
|
|
4298
|
+
export type ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum = (typeof ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum)[keyof typeof ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum];
|
|
4299
|
+
/**
|
|
4300
|
+
*
|
|
4301
|
+
* @export
|
|
4302
|
+
* @interface ExternalServiceDefinitionBodyDto
|
|
4303
|
+
*/
|
|
4304
|
+
export interface ExternalServiceDefinitionBodyDto {
|
|
4305
|
+
/**
|
|
4306
|
+
*
|
|
4307
|
+
* @type {string}
|
|
4308
|
+
* @memberof ExternalServiceDefinitionBodyDto
|
|
4309
|
+
*/
|
|
4310
|
+
displayName: string;
|
|
4311
|
+
/**
|
|
4312
|
+
*
|
|
4313
|
+
* @type {string}
|
|
4314
|
+
* @memberof ExternalServiceDefinitionBodyDto
|
|
4315
|
+
*/
|
|
4316
|
+
description?: string;
|
|
4317
|
+
/**
|
|
4318
|
+
*
|
|
4319
|
+
* @type {ExternalServiceAuthSettingsBodyDto}
|
|
4320
|
+
* @memberof ExternalServiceDefinitionBodyDto
|
|
4321
|
+
*/
|
|
4322
|
+
authSettings: ExternalServiceAuthSettingsBodyDto;
|
|
4323
|
+
}
|
|
4111
4324
|
/**
|
|
4112
4325
|
*
|
|
4113
4326
|
* @export
|
|
@@ -5797,7 +6010,7 @@ export interface RefineTextRequestDto {
|
|
|
5797
6010
|
*/
|
|
5798
6011
|
purpose: TextRefinementPurpose;
|
|
5799
6012
|
/**
|
|
5800
|
-
* Exact nonblank draft. Unicode code point limits: skill Description 4000, task Description 500, application/toolset/prompt Description 2000,
|
|
6013
|
+
* Exact nonblank draft. Unicode code point limits: skill Description 4000, task Description 500, application/toolset/prompt Description 2000, skill/task/prompt Instructions 32000.
|
|
5801
6014
|
* @type {string}
|
|
5802
6015
|
* @memberof RefineTextRequestDto
|
|
5803
6016
|
*/
|
|
@@ -6297,6 +6510,12 @@ export interface ScheduledTaskRunDto {
|
|
|
6297
6510
|
* @memberof ScheduledTaskRunDto
|
|
6298
6511
|
*/
|
|
6299
6512
|
resultStage?: string;
|
|
6513
|
+
/**
|
|
6514
|
+
* Failure details reported by DIAL Scheduler (result.error_text) for a failed run. Only a non-blank string is exposed; the rest of the upstream result is not.
|
|
6515
|
+
* @type {string}
|
|
6516
|
+
* @memberof ScheduledTaskRunDto
|
|
6517
|
+
*/
|
|
6518
|
+
errorText?: string;
|
|
6300
6519
|
}
|
|
6301
6520
|
/**
|
|
6302
6521
|
* @export
|
|
@@ -6428,6 +6647,15 @@ export declare const SendCompletionDtoModeEnum: {
|
|
|
6428
6647
|
readonly Edit: "edit";
|
|
6429
6648
|
};
|
|
6430
6649
|
export type SendCompletionDtoModeEnum = (typeof SendCompletionDtoModeEnum)[keyof typeof SendCompletionDtoModeEnum];
|
|
6650
|
+
/**
|
|
6651
|
+
* Why DIAL Core refused the invitation. `shareInvitationNotFound`: the link expired, was revoked, or never existed. `shareInvitationAcceptedUsersLimitReached`: the shared resource has already been accepted by its maximum number of users.
|
|
6652
|
+
* @export
|
|
6653
|
+
*/
|
|
6654
|
+
export declare const ShareInvitationErrorCode: {
|
|
6655
|
+
readonly ShareInvitationNotFound: "shareInvitationNotFound";
|
|
6656
|
+
readonly ShareInvitationAcceptedUsersLimitReached: "shareInvitationAcceptedUsersLimitReached";
|
|
6657
|
+
};
|
|
6658
|
+
export type ShareInvitationErrorCode = (typeof ShareInvitationErrorCode)[keyof typeof ShareInvitationErrorCode];
|
|
6431
6659
|
/**
|
|
6432
6660
|
*
|
|
6433
6661
|
* @export
|
|
@@ -6446,6 +6674,12 @@ export interface ShareLinkResponseDto {
|
|
|
6446
6674
|
* @memberof ShareLinkResponseDto
|
|
6447
6675
|
*/
|
|
6448
6676
|
expiresInDays?: number;
|
|
6677
|
+
/**
|
|
6678
|
+
* Hours until the DIAL Core invitation expires, rounded up. Lets a client describe a TTL shorter than a day, which `expiresInDays` rounds up to 1. Omitted together with `expiresInDays`.
|
|
6679
|
+
* @type {number}
|
|
6680
|
+
* @memberof ShareLinkResponseDto
|
|
6681
|
+
*/
|
|
6682
|
+
expiresInHours?: number;
|
|
6449
6683
|
/**
|
|
6450
6684
|
* Access levels granted to holders of the share link. Edit access implies view access, so this is `[View, Edit]` rather than `[Edit]` alone.
|
|
6451
6685
|
* @type {Array<string>}
|
|
@@ -6900,6 +7134,7 @@ export declare const TextRefinementPurpose: {
|
|
|
6900
7134
|
readonly ApplicationDescription: "application-description";
|
|
6901
7135
|
readonly ToolsetDescription: "toolset-description";
|
|
6902
7136
|
readonly PromptDescription: "prompt-description";
|
|
7137
|
+
readonly PromptInstructions: "prompt-instructions";
|
|
6903
7138
|
};
|
|
6904
7139
|
export type TextRefinementPurpose = (typeof TextRefinementPurpose)[keyof typeof TextRefinementPurpose];
|
|
6905
7140
|
/**
|
|
@@ -7507,6 +7742,19 @@ export interface TranscribeAudioDto {
|
|
|
7507
7742
|
*/
|
|
7508
7743
|
mimeType: string;
|
|
7509
7744
|
}
|
|
7745
|
+
/**
|
|
7746
|
+
*
|
|
7747
|
+
* @export
|
|
7748
|
+
* @interface UnpublishAccessDto
|
|
7749
|
+
*/
|
|
7750
|
+
export interface UnpublishAccessDto {
|
|
7751
|
+
/**
|
|
7752
|
+
* Whether the caller may request removal of this entity: true for an administrator or the publisher of the copy
|
|
7753
|
+
* @type {boolean}
|
|
7754
|
+
* @memberof UnpublishAccessDto
|
|
7755
|
+
*/
|
|
7756
|
+
canUnpublish: boolean;
|
|
7757
|
+
}
|
|
7510
7758
|
/**
|
|
7511
7759
|
*
|
|
7512
7760
|
* @export
|