@epam/ai-dial-chat-api-client 1.3.0-dev.28 → 1.3.0-dev.282
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/AuthApi.d.ts +10 -0
- package/generated/src/apis/AuthApi.d.ts.map +1 -1
- package/generated/src/apis/AuthApi.js +24 -0
- package/generated/src/apis/CelebrationsApi.d.ts +60 -0
- package/generated/src/apis/CelebrationsApi.d.ts.map +1 -0
- package/generated/src/apis/CelebrationsApi.js +107 -0
- package/generated/src/apis/ConversationsApi.d.ts +33 -7
- package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
- package/generated/src/apis/ConversationsApi.js +83 -6
- package/generated/src/apis/CustomApiApi.d.ts +49 -4
- package/generated/src/apis/CustomApiApi.d.ts.map +1 -1
- package/generated/src/apis/CustomApiApi.js +113 -4
- 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/FilesApi.d.ts +25 -0
- package/generated/src/apis/FilesApi.d.ts.map +1 -1
- package/generated/src/apis/FilesApi.js +62 -1
- 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/ProjectsApi.d.ts +256 -0
- package/generated/src/apis/ProjectsApi.d.ts.map +1 -0
- package/generated/src/apis/ProjectsApi.js +760 -0
- package/generated/src/apis/PublishApi.d.ts +30 -1
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +54 -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/apis/index.d.ts +2 -0
- package/generated/src/apis/index.d.ts.map +1 -1
- package/generated/src/apis/index.js +2 -0
- package/generated/src/models/index.d.ts +1983 -342
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +218 -3
- package/package.json +2 -2
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -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
|
|
@@ -840,295 +877,852 @@ export type BackgroundGenerationStatus = (typeof BackgroundGenerationStatus)[key
|
|
|
840
877
|
/**
|
|
841
878
|
*
|
|
842
879
|
* @export
|
|
843
|
-
* @interface
|
|
880
|
+
* @interface CatalogCreationPermissionsDto
|
|
844
881
|
*/
|
|
845
|
-
export interface
|
|
882
|
+
export interface CatalogCreationPermissionsDto {
|
|
846
883
|
/**
|
|
847
|
-
*
|
|
848
|
-
* @type {
|
|
849
|
-
* @memberof
|
|
884
|
+
* Creation types the caller may create, in the fixed order custom-app, schema-app, toolset, prompt, skill. Evaluated from CATALOG_CREATION_ROLES; a type without a rule is always present. Controls client creation workflows only.
|
|
885
|
+
* @type {Array<CatalogCreationType>}
|
|
886
|
+
* @memberof CatalogCreationPermissionsDto
|
|
850
887
|
*/
|
|
851
|
-
|
|
888
|
+
allowedTypes: Array<CatalogCreationType>;
|
|
852
889
|
/**
|
|
853
|
-
*
|
|
854
|
-
* @type {
|
|
855
|
-
* @memberof
|
|
890
|
+
* Exact application schema ids whose CATALOG_CREATION_ROLES rule the caller fails, in configuration order. Reported independently of the schema-app type; creating a schema app requires both.
|
|
891
|
+
* @type {Array<string>}
|
|
892
|
+
* @memberof CatalogCreationPermissionsDto
|
|
856
893
|
*/
|
|
857
|
-
|
|
894
|
+
restrictedSchemaIds: Array<string>;
|
|
858
895
|
}
|
|
896
|
+
/**
|
|
897
|
+
* Creation types the caller may create, in the fixed order custom-app, schema-app, toolset, prompt, skill. Evaluated from CATALOG_CREATION_ROLES; a type without a rule is always present. Controls client creation workflows only.
|
|
898
|
+
* @export
|
|
899
|
+
*/
|
|
900
|
+
export declare const CatalogCreationType: {
|
|
901
|
+
readonly CustomApp: "custom-app";
|
|
902
|
+
readonly SchemaApp: "schema-app";
|
|
903
|
+
readonly Toolset: "toolset";
|
|
904
|
+
readonly Prompt: "prompt";
|
|
905
|
+
readonly Skill: "skill";
|
|
906
|
+
};
|
|
907
|
+
export type CatalogCreationType = (typeof CatalogCreationType)[keyof typeof CatalogCreationType];
|
|
859
908
|
/**
|
|
860
909
|
*
|
|
861
910
|
* @export
|
|
862
|
-
* @interface
|
|
911
|
+
* @interface CelebrationAssetDto
|
|
863
912
|
*/
|
|
864
|
-
export interface
|
|
913
|
+
export interface CelebrationAssetDto {
|
|
865
914
|
/**
|
|
866
|
-
*
|
|
915
|
+
* Asset ID, unique across the catalog; ends with the first 16 hex characters of its SHA-256.
|
|
916
|
+
* @type {string}
|
|
917
|
+
* @memberof CelebrationAssetDto
|
|
918
|
+
*/
|
|
919
|
+
assetId: string;
|
|
920
|
+
/**
|
|
921
|
+
* Media type the asset is served with.
|
|
922
|
+
* @type {CelebrationMediaType}
|
|
923
|
+
* @memberof CelebrationAssetDto
|
|
924
|
+
*/
|
|
925
|
+
mediaType: CelebrationMediaType;
|
|
926
|
+
/**
|
|
927
|
+
* Exact byte length of the uncompressed asset.
|
|
867
928
|
* @type {number}
|
|
868
|
-
* @memberof
|
|
929
|
+
* @memberof CelebrationAssetDto
|
|
869
930
|
*/
|
|
870
|
-
|
|
931
|
+
bytes: number;
|
|
871
932
|
/**
|
|
872
|
-
*
|
|
873
|
-
* @type {
|
|
874
|
-
* @memberof
|
|
933
|
+
* Lowercase hex SHA-256 of the uncompressed asset.
|
|
934
|
+
* @type {string}
|
|
935
|
+
* @memberof CelebrationAssetDto
|
|
875
936
|
*/
|
|
876
|
-
|
|
937
|
+
sha256: string;
|
|
877
938
|
}
|
|
878
939
|
/**
|
|
879
940
|
*
|
|
880
941
|
* @export
|
|
881
|
-
* @interface
|
|
942
|
+
* @interface CelebrationCatalogDto
|
|
882
943
|
*/
|
|
883
|
-
export interface
|
|
944
|
+
export interface CelebrationCatalogDto {
|
|
884
945
|
/**
|
|
885
|
-
*
|
|
886
|
-
* @type {
|
|
887
|
-
* @memberof
|
|
946
|
+
* Schema version of the published celebration index.
|
|
947
|
+
* @type {number}
|
|
948
|
+
* @memberof CelebrationCatalogDto
|
|
888
949
|
*/
|
|
889
|
-
|
|
950
|
+
schemaVersion: number;
|
|
890
951
|
/**
|
|
891
|
-
*
|
|
952
|
+
* Catalog revision. Changes whenever the published index changes; every pack resolved from this index reports it as catalogRevision.
|
|
892
953
|
* @type {string}
|
|
893
|
-
* @memberof
|
|
954
|
+
* @memberof CelebrationCatalogDto
|
|
894
955
|
*/
|
|
895
|
-
|
|
956
|
+
revision: string;
|
|
957
|
+
/**
|
|
958
|
+
* Every published pack version, in index order.
|
|
959
|
+
* @type {Array<CelebrationCatalogPackDto>}
|
|
960
|
+
* @memberof CelebrationCatalogDto
|
|
961
|
+
*/
|
|
962
|
+
packs: Array<CelebrationCatalogPackDto>;
|
|
963
|
+
/**
|
|
964
|
+
* Default pack per event ID. Each value names a listed pack whose eventId equals the key; invalid entries are dropped.
|
|
965
|
+
* @type {{ [key: string]: CelebrationPackRefDto; }}
|
|
966
|
+
* @memberof CelebrationCatalogDto
|
|
967
|
+
*/
|
|
968
|
+
defaults: {
|
|
969
|
+
[key: string]: CelebrationPackRefDto;
|
|
970
|
+
};
|
|
896
971
|
}
|
|
897
972
|
/**
|
|
898
973
|
*
|
|
899
974
|
* @export
|
|
900
|
-
* @interface
|
|
975
|
+
* @interface CelebrationCatalogPackDto
|
|
901
976
|
*/
|
|
902
|
-
export interface
|
|
977
|
+
export interface CelebrationCatalogPackDto {
|
|
903
978
|
/**
|
|
904
|
-
*
|
|
979
|
+
* Pack ID, lowercase kebab-case.
|
|
905
980
|
* @type {string}
|
|
906
|
-
* @memberof
|
|
907
|
-
*/
|
|
908
|
-
deployment: string;
|
|
909
|
-
/**
|
|
910
|
-
* Ordered chat messages to send to DIAL Core
|
|
911
|
-
* @type {Array<MessageDto>}
|
|
912
|
-
* @memberof ChatCompletionDto
|
|
981
|
+
* @memberof CelebrationCatalogPackDto
|
|
913
982
|
*/
|
|
914
|
-
|
|
983
|
+
packId: string;
|
|
915
984
|
/**
|
|
916
|
-
*
|
|
917
|
-
* @type {
|
|
918
|
-
* @memberof
|
|
985
|
+
* Pack version, strict semver.
|
|
986
|
+
* @type {string}
|
|
987
|
+
* @memberof CelebrationCatalogPackDto
|
|
919
988
|
*/
|
|
920
|
-
|
|
989
|
+
version: string;
|
|
921
990
|
/**
|
|
922
|
-
*
|
|
923
|
-
* @type {
|
|
924
|
-
* @memberof
|
|
991
|
+
* Celebration event the pack belongs to.
|
|
992
|
+
* @type {string}
|
|
993
|
+
* @memberof CelebrationCatalogPackDto
|
|
925
994
|
*/
|
|
926
|
-
|
|
995
|
+
eventId: string;
|
|
927
996
|
}
|
|
928
997
|
/**
|
|
929
998
|
*
|
|
930
999
|
* @export
|
|
931
|
-
* @interface
|
|
1000
|
+
* @interface CelebrationDecorationDto
|
|
932
1001
|
*/
|
|
933
|
-
export interface
|
|
1002
|
+
export interface CelebrationDecorationDto {
|
|
934
1003
|
/**
|
|
935
|
-
*
|
|
1004
|
+
* Decoration template ID.
|
|
936
1005
|
* @type {string}
|
|
937
|
-
* @memberof
|
|
1006
|
+
* @memberof CelebrationDecorationDto
|
|
938
1007
|
*/
|
|
939
|
-
|
|
1008
|
+
template: string;
|
|
940
1009
|
/**
|
|
941
|
-
*
|
|
1010
|
+
* Asset ID of the trigger image.
|
|
942
1011
|
* @type {string}
|
|
943
|
-
* @memberof
|
|
1012
|
+
* @memberof CelebrationDecorationDto
|
|
944
1013
|
*/
|
|
945
|
-
|
|
1014
|
+
posterAssetId: string;
|
|
946
1015
|
/**
|
|
947
|
-
*
|
|
948
|
-
* @type {
|
|
949
|
-
* @memberof
|
|
1016
|
+
* Label ID of the trigger accessible name.
|
|
1017
|
+
* @type {string}
|
|
1018
|
+
* @memberof CelebrationDecorationDto
|
|
950
1019
|
*/
|
|
951
|
-
|
|
1020
|
+
labelId: string;
|
|
952
1021
|
}
|
|
953
1022
|
/**
|
|
954
1023
|
*
|
|
955
1024
|
* @export
|
|
956
|
-
* @interface
|
|
1025
|
+
* @interface CelebrationDeliveryDto
|
|
957
1026
|
*/
|
|
958
|
-
export interface
|
|
1027
|
+
export interface CelebrationDeliveryDto {
|
|
959
1028
|
/**
|
|
960
|
-
*
|
|
961
|
-
* @type {
|
|
962
|
-
* @memberof
|
|
1029
|
+
* Where scenes come from. Sourced from UI_EVENT_DELIVERY_MODE; bundled unless it is prefer-external.
|
|
1030
|
+
* @type {CelebrationDeliveryMode}
|
|
1031
|
+
* @memberof CelebrationDeliveryDto
|
|
963
1032
|
*/
|
|
964
|
-
|
|
1033
|
+
mode: CelebrationDeliveryMode;
|
|
965
1034
|
/**
|
|
966
|
-
*
|
|
1035
|
+
* Operator revision of this policy, from UI_EVENT_DELIVERY_REVISION; changing it restarts a playing scene. Defaults to "0".
|
|
967
1036
|
* @type {string}
|
|
968
|
-
* @memberof
|
|
1037
|
+
* @memberof CelebrationDeliveryDto
|
|
969
1038
|
*/
|
|
970
|
-
|
|
1039
|
+
revision: string;
|
|
971
1040
|
/**
|
|
972
|
-
*
|
|
973
|
-
* @type {
|
|
974
|
-
* @memberof
|
|
1041
|
+
* Scenes of compiled events that may come from a pack, from UI_EVENT_EXTERNAL_SCENES. Empty by default.
|
|
1042
|
+
* @type {Array<CelebrationExternalSceneDto>}
|
|
1043
|
+
* @memberof CelebrationDeliveryDto
|
|
975
1044
|
*/
|
|
976
|
-
|
|
1045
|
+
externalScenes: Array<CelebrationExternalSceneDto>;
|
|
977
1046
|
/**
|
|
978
|
-
*
|
|
979
|
-
* @type {string}
|
|
980
|
-
* @memberof
|
|
1047
|
+
* Event IDs without a compiled module that may come entirely from a pack, from UI_EVENT_EXTERNAL_EVENTS. Empty by default.
|
|
1048
|
+
* @type {Array<string>}
|
|
1049
|
+
* @memberof CelebrationDeliveryDto
|
|
981
1050
|
*/
|
|
982
|
-
|
|
1051
|
+
externalEvents: Array<string>;
|
|
983
1052
|
}
|
|
1053
|
+
/**
|
|
1054
|
+
* Where scenes come from. Sourced from UI_EVENT_DELIVERY_MODE; bundled unless it is prefer-external.
|
|
1055
|
+
* @export
|
|
1056
|
+
*/
|
|
1057
|
+
export declare const CelebrationDeliveryMode: {
|
|
1058
|
+
readonly Bundled: "bundled";
|
|
1059
|
+
readonly PreferExternal: "prefer-external";
|
|
1060
|
+
};
|
|
1061
|
+
export type CelebrationDeliveryMode = (typeof CelebrationDeliveryMode)[keyof typeof CelebrationDeliveryMode];
|
|
984
1062
|
/**
|
|
985
1063
|
*
|
|
986
1064
|
* @export
|
|
987
|
-
* @interface
|
|
1065
|
+
* @interface CelebrationEventDto
|
|
988
1066
|
*/
|
|
989
|
-
export interface
|
|
990
|
-
/**
|
|
991
|
-
* Whether a text refinement model is configured. Missing means unavailable.
|
|
992
|
-
* @type {boolean}
|
|
993
|
-
* @memberof ClientConfigDto
|
|
994
|
-
*/
|
|
995
|
-
aiTextRefinementAvailable?: boolean;
|
|
1067
|
+
export interface CelebrationEventDto {
|
|
996
1068
|
/**
|
|
997
|
-
*
|
|
1069
|
+
* Label ID of the notification title.
|
|
998
1070
|
* @type {string}
|
|
999
|
-
* @memberof
|
|
1071
|
+
* @memberof CelebrationEventDto
|
|
1000
1072
|
*/
|
|
1001
|
-
|
|
1073
|
+
titleLabelId: string;
|
|
1002
1074
|
/**
|
|
1003
|
-
*
|
|
1004
|
-
* @type {string}
|
|
1005
|
-
* @memberof
|
|
1075
|
+
* Scenes the trigger plays, each a declared scene ID.
|
|
1076
|
+
* @type {Array<string>}
|
|
1077
|
+
* @memberof CelebrationEventDto
|
|
1006
1078
|
*/
|
|
1007
|
-
|
|
1079
|
+
clickSceneIds: Array<string>;
|
|
1008
1080
|
/**
|
|
1009
|
-
*
|
|
1081
|
+
* Asset ID of the event icon.
|
|
1010
1082
|
* @type {string}
|
|
1011
|
-
* @memberof
|
|
1083
|
+
* @memberof CelebrationEventDto
|
|
1012
1084
|
*/
|
|
1013
|
-
|
|
1085
|
+
iconAssetId?: string;
|
|
1014
1086
|
/**
|
|
1015
|
-
*
|
|
1016
|
-
* @type {
|
|
1017
|
-
* @memberof
|
|
1087
|
+
* The static trigger.
|
|
1088
|
+
* @type {CelebrationDecorationDto}
|
|
1089
|
+
* @memberof CelebrationEventDto
|
|
1018
1090
|
*/
|
|
1019
|
-
|
|
1091
|
+
decoration: CelebrationDecorationDto;
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @export
|
|
1096
|
+
* @interface CelebrationExternalSceneDto
|
|
1097
|
+
*/
|
|
1098
|
+
export interface CelebrationExternalSceneDto {
|
|
1020
1099
|
/**
|
|
1021
|
-
*
|
|
1100
|
+
* Celebration event ID.
|
|
1022
1101
|
* @type {string}
|
|
1023
|
-
* @memberof
|
|
1102
|
+
* @memberof CelebrationExternalSceneDto
|
|
1024
1103
|
*/
|
|
1025
|
-
|
|
1104
|
+
eventId: string;
|
|
1026
1105
|
/**
|
|
1027
|
-
*
|
|
1106
|
+
* Scene ID within the event.
|
|
1028
1107
|
* @type {string}
|
|
1029
|
-
* @memberof
|
|
1108
|
+
* @memberof CelebrationExternalSceneDto
|
|
1030
1109
|
*/
|
|
1031
|
-
|
|
1110
|
+
sceneId: string;
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Media type the asset is served with.
|
|
1114
|
+
* @export
|
|
1115
|
+
*/
|
|
1116
|
+
export declare const CelebrationMediaType: {
|
|
1117
|
+
readonly ApplicationJson: "application/json";
|
|
1118
|
+
readonly ImageSvgxml: "image/svg+xml";
|
|
1119
|
+
readonly ImagePng: "image/png";
|
|
1120
|
+
readonly ImageWebp: "image/webp";
|
|
1121
|
+
};
|
|
1122
|
+
export type CelebrationMediaType = (typeof CelebrationMediaType)[keyof typeof CelebrationMediaType];
|
|
1123
|
+
/**
|
|
1124
|
+
*
|
|
1125
|
+
* @export
|
|
1126
|
+
* @interface CelebrationPackDto
|
|
1127
|
+
*/
|
|
1128
|
+
export interface CelebrationPackDto {
|
|
1032
1129
|
/**
|
|
1033
|
-
*
|
|
1130
|
+
* Pack ID.
|
|
1034
1131
|
* @type {string}
|
|
1035
|
-
* @memberof
|
|
1132
|
+
* @memberof CelebrationPackDto
|
|
1036
1133
|
*/
|
|
1037
|
-
|
|
1134
|
+
packId: string;
|
|
1038
1135
|
/**
|
|
1039
|
-
*
|
|
1136
|
+
* Pack version.
|
|
1040
1137
|
* @type {string}
|
|
1041
|
-
* @memberof
|
|
1138
|
+
* @memberof CelebrationPackDto
|
|
1042
1139
|
*/
|
|
1043
|
-
|
|
1140
|
+
version: string;
|
|
1044
1141
|
/**
|
|
1045
|
-
*
|
|
1142
|
+
* Celebration event ID.
|
|
1046
1143
|
* @type {string}
|
|
1047
|
-
* @memberof
|
|
1144
|
+
* @memberof CelebrationPackDto
|
|
1048
1145
|
*/
|
|
1049
|
-
|
|
1146
|
+
eventId: string;
|
|
1050
1147
|
/**
|
|
1051
|
-
*
|
|
1148
|
+
* Revision of the celebration index the pack was resolved from.
|
|
1052
1149
|
* @type {string}
|
|
1053
|
-
* @memberof
|
|
1150
|
+
* @memberof CelebrationPackDto
|
|
1054
1151
|
*/
|
|
1055
|
-
|
|
1152
|
+
catalogRevision: string;
|
|
1056
1153
|
/**
|
|
1057
|
-
*
|
|
1154
|
+
* Capabilities the pack as a whole requires.
|
|
1058
1155
|
* @type {Array<string>}
|
|
1059
|
-
* @memberof
|
|
1156
|
+
* @memberof CelebrationPackDto
|
|
1060
1157
|
*/
|
|
1061
|
-
|
|
1158
|
+
requiredCapabilities: Array<string>;
|
|
1062
1159
|
/**
|
|
1063
|
-
*
|
|
1064
|
-
* @type {
|
|
1065
|
-
* @memberof
|
|
1160
|
+
* Every asset the pack declares.
|
|
1161
|
+
* @type {Array<CelebrationAssetDto>}
|
|
1162
|
+
* @memberof CelebrationPackDto
|
|
1066
1163
|
*/
|
|
1067
|
-
|
|
1164
|
+
assets: Array<CelebrationAssetDto>;
|
|
1068
1165
|
/**
|
|
1069
|
-
*
|
|
1070
|
-
* @type {
|
|
1071
|
-
* @memberof
|
|
1166
|
+
* Pack labels as locale → label ID → plain text. Includes en whenever it is non-empty.
|
|
1167
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
1168
|
+
* @memberof CelebrationPackDto
|
|
1072
1169
|
*/
|
|
1073
|
-
|
|
1170
|
+
labels: {
|
|
1171
|
+
[key: string]: {
|
|
1172
|
+
[key: string]: string;
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1074
1175
|
/**
|
|
1075
|
-
*
|
|
1076
|
-
* @type {
|
|
1077
|
-
* @memberof
|
|
1176
|
+
* Event-level fields; present only for an external-only event.
|
|
1177
|
+
* @type {CelebrationEventDto}
|
|
1178
|
+
* @memberof CelebrationPackDto
|
|
1078
1179
|
*/
|
|
1079
|
-
|
|
1180
|
+
event?: CelebrationEventDto;
|
|
1080
1181
|
/**
|
|
1081
|
-
*
|
|
1082
|
-
* @type {Array<
|
|
1083
|
-
* @memberof
|
|
1182
|
+
* Scenes in declaration order.
|
|
1183
|
+
* @type {Array<CelebrationSceneDto>}
|
|
1184
|
+
* @memberof CelebrationPackDto
|
|
1084
1185
|
*/
|
|
1085
|
-
|
|
1186
|
+
scenes: Array<CelebrationSceneDto>;
|
|
1187
|
+
}
|
|
1188
|
+
/**
|
|
1189
|
+
*
|
|
1190
|
+
* @export
|
|
1191
|
+
* @interface CelebrationPackRefDto
|
|
1192
|
+
*/
|
|
1193
|
+
export interface CelebrationPackRefDto {
|
|
1086
1194
|
/**
|
|
1087
|
-
*
|
|
1195
|
+
* Pack ID, lowercase kebab-case.
|
|
1088
1196
|
* @type {string}
|
|
1089
|
-
* @memberof
|
|
1197
|
+
* @memberof CelebrationPackRefDto
|
|
1090
1198
|
*/
|
|
1091
|
-
|
|
1199
|
+
packId: string;
|
|
1092
1200
|
/**
|
|
1093
|
-
*
|
|
1201
|
+
* Pack version, strict semver.
|
|
1094
1202
|
* @type {string}
|
|
1095
|
-
* @memberof
|
|
1203
|
+
* @memberof CelebrationPackRefDto
|
|
1096
1204
|
*/
|
|
1097
|
-
|
|
1205
|
+
version: string;
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
*
|
|
1209
|
+
* @export
|
|
1210
|
+
* @interface CelebrationPlacementDto
|
|
1211
|
+
*/
|
|
1212
|
+
export interface CelebrationPlacementDto {
|
|
1098
1213
|
/**
|
|
1099
|
-
*
|
|
1214
|
+
* Placement template ID. Templates other than viewport-stage-v1 are passed as the ID alone, and clients without the matching capability skip the scene.
|
|
1100
1215
|
* @type {string}
|
|
1101
|
-
* @memberof
|
|
1216
|
+
* @memberof CelebrationPlacementDto
|
|
1102
1217
|
*/
|
|
1103
|
-
|
|
1218
|
+
template: string;
|
|
1104
1219
|
/**
|
|
1105
|
-
*
|
|
1106
|
-
* @type {
|
|
1107
|
-
* @memberof
|
|
1220
|
+
* How the stage scales into the viewport (viewport-stage-v1).
|
|
1221
|
+
* @type {CelebrationStageFit}
|
|
1222
|
+
* @memberof CelebrationPlacementDto
|
|
1108
1223
|
*/
|
|
1109
|
-
|
|
1224
|
+
fit?: CelebrationStageFit;
|
|
1110
1225
|
/**
|
|
1111
|
-
*
|
|
1112
|
-
* @type {
|
|
1113
|
-
* @memberof
|
|
1226
|
+
* Where the stage sits in the viewport, in logical terms (viewport-stage-v1).
|
|
1227
|
+
* @type {CelebrationStageAlign}
|
|
1228
|
+
* @memberof CelebrationPlacementDto
|
|
1114
1229
|
*/
|
|
1115
|
-
|
|
1230
|
+
align?: CelebrationStageAlign;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
* How the scene adapts to a right-to-left host.
|
|
1234
|
+
* @export
|
|
1235
|
+
*/
|
|
1236
|
+
export declare const CelebrationSceneDirection: {
|
|
1237
|
+
readonly None: "none";
|
|
1238
|
+
readonly Mirror: "mirror";
|
|
1239
|
+
readonly Variant: "variant";
|
|
1240
|
+
};
|
|
1241
|
+
export type CelebrationSceneDirection = (typeof CelebrationSceneDirection)[keyof typeof CelebrationSceneDirection];
|
|
1242
|
+
/**
|
|
1243
|
+
*
|
|
1244
|
+
* @export
|
|
1245
|
+
* @interface CelebrationSceneDto
|
|
1246
|
+
*/
|
|
1247
|
+
export interface CelebrationSceneDto {
|
|
1116
1248
|
/**
|
|
1117
|
-
*
|
|
1249
|
+
* Scene ID; a scene that replaces a bundled scene uses its bundled ID.
|
|
1118
1250
|
* @type {string}
|
|
1119
|
-
* @memberof
|
|
1251
|
+
* @memberof CelebrationSceneDto
|
|
1120
1252
|
*/
|
|
1121
|
-
|
|
1253
|
+
id: string;
|
|
1122
1254
|
/**
|
|
1123
|
-
*
|
|
1124
|
-
* @type {
|
|
1125
|
-
* @memberof
|
|
1255
|
+
* Label ID of the notification text shown with the scene.
|
|
1256
|
+
* @type {string}
|
|
1257
|
+
* @memberof CelebrationSceneDto
|
|
1126
1258
|
*/
|
|
1127
|
-
|
|
1259
|
+
labelId: string;
|
|
1128
1260
|
/**
|
|
1129
|
-
*
|
|
1130
|
-
* @type {
|
|
1131
|
-
* @memberof
|
|
1261
|
+
* Renderer capability ID.
|
|
1262
|
+
* @type {string}
|
|
1263
|
+
* @memberof CelebrationSceneDto
|
|
1264
|
+
*/
|
|
1265
|
+
renderer: string;
|
|
1266
|
+
/**
|
|
1267
|
+
* Capabilities the client must support to play the scene.
|
|
1268
|
+
* @type {Array<string>}
|
|
1269
|
+
* @memberof CelebrationSceneDto
|
|
1270
|
+
*/
|
|
1271
|
+
requiredCapabilities: Array<string>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Scene placement.
|
|
1274
|
+
* @type {CelebrationPlacementDto}
|
|
1275
|
+
* @memberof CelebrationSceneDto
|
|
1276
|
+
*/
|
|
1277
|
+
placement: CelebrationPlacementDto;
|
|
1278
|
+
/**
|
|
1279
|
+
* How the scene adapts to a right-to-left host.
|
|
1280
|
+
* @type {CelebrationSceneDirection}
|
|
1281
|
+
* @memberof CelebrationSceneDto
|
|
1282
|
+
*/
|
|
1283
|
+
direction: CelebrationSceneDirection;
|
|
1284
|
+
/**
|
|
1285
|
+
* Scene timing.
|
|
1286
|
+
* @type {CelebrationTimingDto}
|
|
1287
|
+
* @memberof CelebrationSceneDto
|
|
1288
|
+
*/
|
|
1289
|
+
timing: CelebrationTimingDto;
|
|
1290
|
+
/**
|
|
1291
|
+
* Asset ID of the static poster.
|
|
1292
|
+
* @type {string}
|
|
1293
|
+
* @memberof CelebrationSceneDto
|
|
1294
|
+
*/
|
|
1295
|
+
posterAssetId: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* How long the poster stays, from 1000 to maxLifetimeMs.
|
|
1298
|
+
* @type {number}
|
|
1299
|
+
* @memberof CelebrationSceneDto
|
|
1300
|
+
*/
|
|
1301
|
+
posterDurationMs: number;
|
|
1302
|
+
/**
|
|
1303
|
+
* One to eight variants, in declaration order.
|
|
1304
|
+
* @type {Array<CelebrationVariantDto>}
|
|
1305
|
+
* @memberof CelebrationSceneDto
|
|
1306
|
+
*/
|
|
1307
|
+
variants: Array<CelebrationVariantDto>;
|
|
1308
|
+
}
|
|
1309
|
+
/**
|
|
1310
|
+
* Where the stage sits in the viewport, in logical terms (viewport-stage-v1).
|
|
1311
|
+
* @export
|
|
1312
|
+
*/
|
|
1313
|
+
export declare const CelebrationStageAlign: {
|
|
1314
|
+
readonly Center: "center";
|
|
1315
|
+
readonly Top: "top";
|
|
1316
|
+
readonly Bottom: "bottom";
|
|
1317
|
+
readonly TopStart: "top-start";
|
|
1318
|
+
readonly TopEnd: "top-end";
|
|
1319
|
+
readonly BottomStart: "bottom-start";
|
|
1320
|
+
readonly BottomEnd: "bottom-end";
|
|
1321
|
+
};
|
|
1322
|
+
export type CelebrationStageAlign = (typeof CelebrationStageAlign)[keyof typeof CelebrationStageAlign];
|
|
1323
|
+
/**
|
|
1324
|
+
* How the stage scales into the viewport (viewport-stage-v1).
|
|
1325
|
+
* @export
|
|
1326
|
+
*/
|
|
1327
|
+
export declare const CelebrationStageFit: {
|
|
1328
|
+
readonly Contain: "contain";
|
|
1329
|
+
readonly Cover: "cover";
|
|
1330
|
+
};
|
|
1331
|
+
export type CelebrationStageFit = (typeof CelebrationStageFit)[keyof typeof CelebrationStageFit];
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @export
|
|
1335
|
+
* @interface CelebrationTimingDto
|
|
1336
|
+
*/
|
|
1337
|
+
export interface CelebrationTimingDto {
|
|
1338
|
+
/**
|
|
1339
|
+
* Authored story length.
|
|
1340
|
+
* @type {number}
|
|
1341
|
+
* @memberof CelebrationTimingDto
|
|
1342
|
+
*/
|
|
1343
|
+
playbackDurationMs: number;
|
|
1344
|
+
/**
|
|
1345
|
+
* Time allowed for the player and animation data, at most 2000.
|
|
1346
|
+
* @type {number}
|
|
1347
|
+
* @memberof CelebrationTimingDto
|
|
1348
|
+
*/
|
|
1349
|
+
loadTimeoutMs: number;
|
|
1350
|
+
/**
|
|
1351
|
+
* Time from loadAnimation to renderer readiness, at most 250.
|
|
1352
|
+
* @type {number}
|
|
1353
|
+
* @memberof CelebrationTimingDto
|
|
1354
|
+
*/
|
|
1355
|
+
readyTimeoutMs: number;
|
|
1356
|
+
/**
|
|
1357
|
+
* Total lifetime from mount, at least load + ready + playback and at most 32000.
|
|
1358
|
+
* @type {number}
|
|
1359
|
+
* @memberof CelebrationTimingDto
|
|
1360
|
+
*/
|
|
1361
|
+
maxLifetimeMs: number;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* Required color scheme.
|
|
1365
|
+
* @export
|
|
1366
|
+
*/
|
|
1367
|
+
export declare const CelebrationVariantColorScheme: {
|
|
1368
|
+
readonly Light: "light";
|
|
1369
|
+
readonly Dark: "dark";
|
|
1370
|
+
};
|
|
1371
|
+
export type CelebrationVariantColorScheme = (typeof CelebrationVariantColorScheme)[keyof typeof CelebrationVariantColorScheme];
|
|
1372
|
+
/**
|
|
1373
|
+
*
|
|
1374
|
+
* @export
|
|
1375
|
+
* @interface CelebrationVariantConditionsDto
|
|
1376
|
+
*/
|
|
1377
|
+
export interface CelebrationVariantConditionsDto {
|
|
1378
|
+
/**
|
|
1379
|
+
* Required host layout.
|
|
1380
|
+
* @type {CelebrationVariantLayout}
|
|
1381
|
+
* @memberof CelebrationVariantConditionsDto
|
|
1382
|
+
*/
|
|
1383
|
+
layout?: CelebrationVariantLayout;
|
|
1384
|
+
/**
|
|
1385
|
+
* Required text direction.
|
|
1386
|
+
* @type {CelebrationVariantDirection}
|
|
1387
|
+
* @memberof CelebrationVariantConditionsDto
|
|
1388
|
+
*/
|
|
1389
|
+
direction?: CelebrationVariantDirection;
|
|
1390
|
+
/**
|
|
1391
|
+
* Required color scheme.
|
|
1392
|
+
* @type {CelebrationVariantColorScheme}
|
|
1393
|
+
* @memberof CelebrationVariantConditionsDto
|
|
1394
|
+
*/
|
|
1395
|
+
colorScheme?: CelebrationVariantColorScheme;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* Required text direction.
|
|
1399
|
+
* @export
|
|
1400
|
+
*/
|
|
1401
|
+
export declare const CelebrationVariantDirection: {
|
|
1402
|
+
readonly Ltr: "ltr";
|
|
1403
|
+
readonly Rtl: "rtl";
|
|
1404
|
+
};
|
|
1405
|
+
export type CelebrationVariantDirection = (typeof CelebrationVariantDirection)[keyof typeof CelebrationVariantDirection];
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @export
|
|
1409
|
+
* @interface CelebrationVariantDto
|
|
1410
|
+
*/
|
|
1411
|
+
export interface CelebrationVariantDto {
|
|
1412
|
+
/**
|
|
1413
|
+
* Conditions the variant requires.
|
|
1414
|
+
* @type {CelebrationVariantConditionsDto}
|
|
1415
|
+
* @memberof CelebrationVariantDto
|
|
1416
|
+
*/
|
|
1417
|
+
when: CelebrationVariantConditionsDto;
|
|
1418
|
+
/**
|
|
1419
|
+
* Asset ID of the Lottie JSON.
|
|
1420
|
+
* @type {string}
|
|
1421
|
+
* @memberof CelebrationVariantDto
|
|
1422
|
+
*/
|
|
1423
|
+
animationAssetId: string;
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Required host layout.
|
|
1427
|
+
* @export
|
|
1428
|
+
*/
|
|
1429
|
+
export declare const CelebrationVariantLayout: {
|
|
1430
|
+
readonly Mobile: "mobile";
|
|
1431
|
+
readonly Desktop: "desktop";
|
|
1432
|
+
};
|
|
1433
|
+
export type CelebrationVariantLayout = (typeof CelebrationVariantLayout)[keyof typeof CelebrationVariantLayout];
|
|
1434
|
+
/**
|
|
1435
|
+
*
|
|
1436
|
+
* @export
|
|
1437
|
+
* @interface CellAddressDto
|
|
1438
|
+
*/
|
|
1439
|
+
export interface CellAddressDto {
|
|
1440
|
+
/**
|
|
1441
|
+
* 1-based row number
|
|
1442
|
+
* @type {number}
|
|
1443
|
+
* @memberof CellAddressDto
|
|
1444
|
+
*/
|
|
1445
|
+
row?: number;
|
|
1446
|
+
/**
|
|
1447
|
+
* 1-based column number
|
|
1448
|
+
* @type {number}
|
|
1449
|
+
* @memberof CellAddressDto
|
|
1450
|
+
*/
|
|
1451
|
+
col?: number;
|
|
1452
|
+
}
|
|
1453
|
+
/**
|
|
1454
|
+
*
|
|
1455
|
+
* @export
|
|
1456
|
+
* @interface ChatCompletionChoiceDto
|
|
1457
|
+
*/
|
|
1458
|
+
export interface ChatCompletionChoiceDto {
|
|
1459
|
+
/**
|
|
1460
|
+
*
|
|
1461
|
+
* @type {number}
|
|
1462
|
+
* @memberof ChatCompletionChoiceDto
|
|
1463
|
+
*/
|
|
1464
|
+
index: number;
|
|
1465
|
+
/**
|
|
1466
|
+
*
|
|
1467
|
+
* @type {ChatCompletionChoiceDtoMessage}
|
|
1468
|
+
* @memberof ChatCompletionChoiceDto
|
|
1469
|
+
*/
|
|
1470
|
+
message: ChatCompletionChoiceDtoMessage;
|
|
1471
|
+
}
|
|
1472
|
+
/**
|
|
1473
|
+
*
|
|
1474
|
+
* @export
|
|
1475
|
+
* @interface ChatCompletionChoiceDtoMessage
|
|
1476
|
+
*/
|
|
1477
|
+
export interface ChatCompletionChoiceDtoMessage {
|
|
1478
|
+
/**
|
|
1479
|
+
*
|
|
1480
|
+
* @type {string}
|
|
1481
|
+
* @memberof ChatCompletionChoiceDtoMessage
|
|
1482
|
+
*/
|
|
1483
|
+
role?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
*
|
|
1486
|
+
* @type {string}
|
|
1487
|
+
* @memberof ChatCompletionChoiceDtoMessage
|
|
1488
|
+
*/
|
|
1489
|
+
content?: string;
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
*
|
|
1493
|
+
* @export
|
|
1494
|
+
* @interface ChatCompletionDto
|
|
1495
|
+
*/
|
|
1496
|
+
export interface ChatCompletionDto {
|
|
1497
|
+
/**
|
|
1498
|
+
* DIAL Core deployment name (may contain slashes and special characters)
|
|
1499
|
+
* @type {string}
|
|
1500
|
+
* @memberof ChatCompletionDto
|
|
1501
|
+
*/
|
|
1502
|
+
deployment: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* Ordered chat messages to send to DIAL Core
|
|
1505
|
+
* @type {Array<MessageDto>}
|
|
1506
|
+
* @memberof ChatCompletionDto
|
|
1507
|
+
*/
|
|
1508
|
+
messages: Array<MessageDto>;
|
|
1509
|
+
/**
|
|
1510
|
+
* Sampling temperature
|
|
1511
|
+
* @type {number}
|
|
1512
|
+
* @memberof ChatCompletionDto
|
|
1513
|
+
*/
|
|
1514
|
+
temperature?: number;
|
|
1515
|
+
/**
|
|
1516
|
+
* Maximum number of tokens to generate
|
|
1517
|
+
* @type {number}
|
|
1518
|
+
* @memberof ChatCompletionDto
|
|
1519
|
+
*/
|
|
1520
|
+
maxTokens?: number;
|
|
1521
|
+
}
|
|
1522
|
+
/**
|
|
1523
|
+
*
|
|
1524
|
+
* @export
|
|
1525
|
+
* @interface ChatCompletionResponseDto
|
|
1526
|
+
*/
|
|
1527
|
+
export interface ChatCompletionResponseDto {
|
|
1528
|
+
/**
|
|
1529
|
+
*
|
|
1530
|
+
* @type {string}
|
|
1531
|
+
* @memberof ChatCompletionResponseDto
|
|
1532
|
+
*/
|
|
1533
|
+
id: string;
|
|
1534
|
+
/**
|
|
1535
|
+
*
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof ChatCompletionResponseDto
|
|
1538
|
+
*/
|
|
1539
|
+
object: string;
|
|
1540
|
+
/**
|
|
1541
|
+
*
|
|
1542
|
+
* @type {Array<ChatCompletionChoiceDto>}
|
|
1543
|
+
* @memberof ChatCompletionResponseDto
|
|
1544
|
+
*/
|
|
1545
|
+
choices: Array<ChatCompletionChoiceDto>;
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
*
|
|
1549
|
+
* @export
|
|
1550
|
+
* @interface Check200Response
|
|
1551
|
+
*/
|
|
1552
|
+
export interface Check200Response {
|
|
1553
|
+
/**
|
|
1554
|
+
* Health status
|
|
1555
|
+
* @type {string}
|
|
1556
|
+
* @memberof Check200Response
|
|
1557
|
+
*/
|
|
1558
|
+
status?: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* Current server time in ISO format
|
|
1561
|
+
* @type {string}
|
|
1562
|
+
* @memberof Check200Response
|
|
1563
|
+
*/
|
|
1564
|
+
timestamp?: string;
|
|
1565
|
+
/**
|
|
1566
|
+
* Application version. Sourced from CHAT_VERSION; falls back to the workspace root package.json version — the one the release pipeline stamps — when that env var is unset or blank. Matches the appVersion reported by the client config endpoint.
|
|
1567
|
+
* @type {string}
|
|
1568
|
+
* @memberof Check200Response
|
|
1569
|
+
*/
|
|
1570
|
+
version?: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* Stable identifier for the running deployment, derived from a hash of the served frontend build, or of the application version when no frontend is bundled (BFF-only image). Changes when a new deployment replaces the frontend static assets or the version, letting long-lived clients detect that a reload will pick up a newer build.
|
|
1573
|
+
* @type {string}
|
|
1574
|
+
* @memberof Check200Response
|
|
1575
|
+
*/
|
|
1576
|
+
buildId?: string;
|
|
1577
|
+
}
|
|
1578
|
+
/**
|
|
1579
|
+
*
|
|
1580
|
+
* @export
|
|
1581
|
+
* @interface ClientConfigDto
|
|
1582
|
+
*/
|
|
1583
|
+
export interface ClientConfigDto {
|
|
1584
|
+
/**
|
|
1585
|
+
* Whether a text refinement model is configured. Missing means unavailable.
|
|
1586
|
+
* @type {boolean}
|
|
1587
|
+
* @memberof ClientConfigDto
|
|
1588
|
+
*/
|
|
1589
|
+
aiTextRefinementAvailable?: boolean;
|
|
1590
|
+
/**
|
|
1591
|
+
* Active start-page celebration module ID selected by UI_EVENT. Null when UI_EVENT is absent or none. Event IDs are open-ended; clients ignore IDs not present in their local registry.
|
|
1592
|
+
* @type {string}
|
|
1593
|
+
* @memberof ClientConfigDto
|
|
1594
|
+
*/
|
|
1595
|
+
activeEventId: string | null;
|
|
1596
|
+
/**
|
|
1597
|
+
* Version string of the running chat application. Sourced from CHAT_VERSION; falls back to the workspace root package.json version — the one the release pipeline stamps — when that env var is unset or blank. Always a non-empty string.
|
|
1598
|
+
* @type {string}
|
|
1599
|
+
* @memberof ClientConfigDto
|
|
1600
|
+
*/
|
|
1601
|
+
appVersion: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Deployment ID of the ASR model. Null when ASR is not configured.
|
|
1604
|
+
* @type {string}
|
|
1605
|
+
* @memberof ClientConfigDto
|
|
1606
|
+
*/
|
|
1607
|
+
asrModelId: string | null;
|
|
1608
|
+
/**
|
|
1609
|
+
* Maximum audio file size in bytes accepted by the transcription endpoint.
|
|
1610
|
+
* @type {number}
|
|
1611
|
+
* @memberof ClientConfigDto
|
|
1612
|
+
*/
|
|
1613
|
+
transcribeSizeLimitBytes: number;
|
|
1614
|
+
/**
|
|
1615
|
+
* Operator-configured default deployment ID. Null when not configured.
|
|
1616
|
+
* @type {string}
|
|
1617
|
+
* @memberof ClientConfigDto
|
|
1618
|
+
*/
|
|
1619
|
+
defaultDeploymentId?: string | null;
|
|
1620
|
+
/**
|
|
1621
|
+
* Public-facing DIAL Core base URL reachable from the browser. Null when DIAL_CORE_EXTERNAL_URL is not configured.
|
|
1622
|
+
* @type {string}
|
|
1623
|
+
* @memberof ClientConfigDto
|
|
1624
|
+
*/
|
|
1625
|
+
dialCoreExternalUrl?: string | null;
|
|
1626
|
+
/**
|
|
1627
|
+
* Isolated-origin URL of the deployed MCP Apps sandbox-proxy app. Null when MCP_APP_SANDBOX_URL is not configured.
|
|
1628
|
+
* @type {string}
|
|
1629
|
+
* @memberof ClientConfigDto
|
|
1630
|
+
*/
|
|
1631
|
+
mcpAppSandboxUrl?: string | null;
|
|
1632
|
+
/**
|
|
1633
|
+
* Admin-controlled color theme override for MCP App Views. Null when MCP_APP_THEME is not configured — each client uses its own active theme.
|
|
1634
|
+
* @type {string}
|
|
1635
|
+
* @memberof ClientConfigDto
|
|
1636
|
+
*/
|
|
1637
|
+
mcpAppTheme?: ClientConfigDtoMcpAppThemeEnum | null;
|
|
1638
|
+
/**
|
|
1639
|
+
* Host application identifier sent to MCP App Views in hostContext.userAgent. Null when MCP_APP_USER_AGENT is not configured — the client then falls back to the browser's navigator.userAgent.
|
|
1640
|
+
* @type {string}
|
|
1641
|
+
* @memberof ClientConfigDto
|
|
1642
|
+
*/
|
|
1643
|
+
mcpAppUserAgent?: string | null;
|
|
1644
|
+
/**
|
|
1645
|
+
* Host application identifier sent to every mounted MCP App as hostInfo.name during its ui/initialize handshake. Null when MCP_APP_HOST_NAME is not configured — defaults to "ai-dial-chat" on the client.
|
|
1646
|
+
* @type {string}
|
|
1647
|
+
* @memberof ClientConfigDto
|
|
1648
|
+
*/
|
|
1649
|
+
mcpAppHostName?: string | null;
|
|
1650
|
+
/**
|
|
1651
|
+
* Which File Manager tabs are shown to users. Defaults to the All tab plus the three source tabs.
|
|
1652
|
+
* @type {Array<string>}
|
|
1653
|
+
* @memberof ClientConfigDto
|
|
1654
|
+
*/
|
|
1655
|
+
fileManagerTabs: Array<string>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Whether the chat-overlay embedded runtime mode is enabled. Sourced from OVERLAY_ENABLED.
|
|
1658
|
+
* @type {boolean}
|
|
1659
|
+
* @memberof ClientConfigDto
|
|
1660
|
+
*/
|
|
1661
|
+
overlayEnabled: boolean;
|
|
1662
|
+
/**
|
|
1663
|
+
* Host origins allowed to embed this app. Sourced from ALLOWED_IFRAME_ORIGINS, the same list used for CSP frame-ancestors/frame-src.
|
|
1664
|
+
* @type {Array<string>}
|
|
1665
|
+
* @memberof ClientConfigDto
|
|
1666
|
+
*/
|
|
1667
|
+
overlayAllowedOrigins: Array<string>;
|
|
1668
|
+
/**
|
|
1669
|
+
* Trusted HTTP(S) connection origins from ALLOWED_CONNECT_ORIGINS, including leading *. subdomain patterns. PDF previews use browser credentials for matching external origins and reject redirects. Empty by default; upstream credentialed CORS and browser cookie policy still apply.
|
|
1670
|
+
* @type {Array<string>}
|
|
1671
|
+
* @memberof ClientConfigDto
|
|
1672
|
+
*/
|
|
1673
|
+
allowedConnectOrigins?: Array<string>;
|
|
1674
|
+
/**
|
|
1675
|
+
* When set, the complete list of OverlayFeature values that are enabled (replace semantics). Sourced from ENABLED_UI_FEATURES, filtered to recognized values. When null, the compiled-in DEFAULT_ENABLED_UI_FEATURES baseline is used. Does not affect an overlay host that supplies its own enabledFeatures.
|
|
1676
|
+
* @type {Array<string>}
|
|
1677
|
+
* @memberof ClientConfigDto
|
|
1678
|
+
*/
|
|
1679
|
+
enabledUiFeatures: Array<string> | null;
|
|
1680
|
+
/**
|
|
1681
|
+
* Operator-authored HTML announcement message shown in a dismissible top-of-app banner. Null when ANNOUNCEMENT_HTML_MESSAGE is not configured.
|
|
1682
|
+
* @type {string}
|
|
1683
|
+
* @memberof ClientConfigDto
|
|
1684
|
+
*/
|
|
1685
|
+
announcementHtml?: string | null;
|
|
1686
|
+
/**
|
|
1687
|
+
* Plain-text heading shown in bold at the start of the announcement banner line. Never interpreted as markup. Null when ANNOUNCEMENT_TITLE is not configured or is blank.
|
|
1688
|
+
* @type {string}
|
|
1689
|
+
* @memberof ClientConfigDto
|
|
1690
|
+
*/
|
|
1691
|
+
announcementTitle?: string | null;
|
|
1692
|
+
/**
|
|
1693
|
+
* Supporting copy shown after the announcement banner title. Sanitized server-side to a safe HTML subset; anchors are forced to target="_blank" with rel="noopener noreferrer". Null when ANNOUNCEMENT_DESCRIPTION is not configured, is blank, or sanitizes away entirely.
|
|
1694
|
+
* @type {string}
|
|
1695
|
+
* @memberof ClientConfigDto
|
|
1696
|
+
*/
|
|
1697
|
+
announcementDescription?: string | null;
|
|
1698
|
+
/**
|
|
1699
|
+
* Announcements listed in the popover behind the banner's "+N announcements" pill, in configured order. Empty when ANNOUNCEMENTS is unset or contained no valid entries. Sourced from ANNOUNCEMENTS.
|
|
1700
|
+
* @type {Array<AnnouncementItemDto>}
|
|
1701
|
+
* @memberof ClientConfigDto
|
|
1702
|
+
*/
|
|
1703
|
+
announcements: Array<AnnouncementItemDto>;
|
|
1704
|
+
/**
|
|
1705
|
+
* Plain-text copy shown below the greeting heading on the new-chat start screen. Never interpreted as markup. Null when WELCOME_SCREEN_DESCRIPTION is not configured or is blank.
|
|
1706
|
+
* @type {string}
|
|
1707
|
+
* @memberof ClientConfigDto
|
|
1708
|
+
*/
|
|
1709
|
+
welcomeScreenDescription?: string | null;
|
|
1710
|
+
/**
|
|
1711
|
+
* Operator-authored HTML footer message shown below the chat input (desktop) and in the mobile user panel. Empty string when FOOTER_HTML_MESSAGE is not configured. Sanitized server-side; supports %%VERSION%% token.
|
|
1712
|
+
* @type {string}
|
|
1713
|
+
* @memberof ClientConfigDto
|
|
1714
|
+
*/
|
|
1715
|
+
footerHtmlMessage: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* Registry of MIME → visualizer iframe mappings. Sourced from CUSTOM_VISUALIZERS. Empty when unset — the feature is dark by default.
|
|
1718
|
+
* @type {Array<CustomVisualizerDto>}
|
|
1719
|
+
* @memberof ClientConfigDto
|
|
1720
|
+
*/
|
|
1721
|
+
customVisualizers: Array<CustomVisualizerDto>;
|
|
1722
|
+
/**
|
|
1723
|
+
* Registry of application id → grouped visualizer mappings, keyed by a message's effective deployment id. Sourced from APPLICATION_VISUALIZERS. Every attachment an entry claims is delivered to one iframe together; an entry takes precedence over customVisualizers for the attachments it claims. The origin of each entry URL must also appear in ALLOWED_IFRAME_ORIGINS or the browser blocks the iframe. Each entry's passAuthInfo and passExplicitToken are accepted for configuration parity and are not consumed — auth is server-side and the browser holds no access token. Empty when unset — the feature is dark by default.
|
|
1724
|
+
* @type {{ [key: string]: ApplicationVisualizerDto; }}
|
|
1725
|
+
* @memberof ClientConfigDto
|
|
1132
1726
|
*/
|
|
1133
1727
|
applicationVisualizers: {
|
|
1134
1728
|
[key: string]: ApplicationVisualizerDto;
|
|
@@ -1153,6 +1747,48 @@ export interface ClientConfigDto {
|
|
|
1153
1747
|
* @memberof ClientConfigDto
|
|
1154
1748
|
*/
|
|
1155
1749
|
maxAttachmentFileSizeBytes: number;
|
|
1750
|
+
/**
|
|
1751
|
+
* 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.
|
|
1752
|
+
* @type {number}
|
|
1753
|
+
* @memberof ClientConfigDto
|
|
1754
|
+
*/
|
|
1755
|
+
usageLimitsWarningThresholdPercent: number;
|
|
1756
|
+
/**
|
|
1757
|
+
* 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.
|
|
1758
|
+
* @type {boolean}
|
|
1759
|
+
* @memberof ClientConfigDto
|
|
1760
|
+
*/
|
|
1761
|
+
celebrationsEnabledByDefault: boolean;
|
|
1762
|
+
/**
|
|
1763
|
+
* Operator policy for external celebration packs, from UI_EVENT_DELIVERY_MODE, UI_EVENT_DELIVERY_REVISION, UI_EVENT_EXTERNAL_SCENES and UI_EVENT_EXTERNAL_EVENTS. The default is bundled with empty lists, in which case the client makes no celebration request.
|
|
1764
|
+
* @type {CelebrationDeliveryDto}
|
|
1765
|
+
* @memberof ClientConfigDto
|
|
1766
|
+
*/
|
|
1767
|
+
celebrationDelivery: CelebrationDeliveryDto;
|
|
1768
|
+
/**
|
|
1769
|
+
* Maximum size in bytes of one project context file. Sourced from PROJECT_CONTEXT_FILE_MAX_BYTES, which POST /api/v1/projects enforces.
|
|
1770
|
+
* @type {number}
|
|
1771
|
+
* @memberof ClientConfigDto
|
|
1772
|
+
*/
|
|
1773
|
+
projectContextFileMaxBytes: number;
|
|
1774
|
+
/**
|
|
1775
|
+
* Maximum combined size in bytes of a project's context files. Sourced from PROJECT_CONTEXT_TOTAL_MAX_BYTES, which POST /api/v1/projects enforces.
|
|
1776
|
+
* @type {number}
|
|
1777
|
+
* @memberof ClientConfigDto
|
|
1778
|
+
*/
|
|
1779
|
+
projectContextTotalMaxBytes: number;
|
|
1780
|
+
/**
|
|
1781
|
+
* Lower-case file extensions, without a dot, accepted as project context files. Sourced from PROJECT_CONTEXT_ALLOWED_EXTENSIONS, which POST /api/v1/projects enforces.
|
|
1782
|
+
* @type {Array<string>}
|
|
1783
|
+
* @memberof ClientConfigDto
|
|
1784
|
+
*/
|
|
1785
|
+
projectContextAllowedExtensions: Array<string>;
|
|
1786
|
+
/**
|
|
1787
|
+
* The caller's resolved catalog creation permissions, evaluated from the server-only CATALOG_CREATION_ROLES and the session roles. Independent of enabledUiFeatures, which it never filters. Never carries role names or the raw policy.
|
|
1788
|
+
* @type {CatalogCreationPermissionsDto}
|
|
1789
|
+
* @memberof ClientConfigDto
|
|
1790
|
+
*/
|
|
1791
|
+
catalogCreationPermissions: CatalogCreationPermissionsDto;
|
|
1156
1792
|
}
|
|
1157
1793
|
/**
|
|
1158
1794
|
* @export
|
|
@@ -1212,6 +1848,43 @@ export interface ClientConfigResponseDto {
|
|
|
1212
1848
|
*/
|
|
1213
1849
|
metadata?: ClientConfigMetadataDto;
|
|
1214
1850
|
}
|
|
1851
|
+
/**
|
|
1852
|
+
*
|
|
1853
|
+
* @export
|
|
1854
|
+
* @interface ConversationAttachmentMissingErrorDto
|
|
1855
|
+
*/
|
|
1856
|
+
export interface ConversationAttachmentMissingErrorDto {
|
|
1857
|
+
/**
|
|
1858
|
+
*
|
|
1859
|
+
* @type {number}
|
|
1860
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1861
|
+
*/
|
|
1862
|
+
statusCode: number;
|
|
1863
|
+
/**
|
|
1864
|
+
*
|
|
1865
|
+
* @type {string}
|
|
1866
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1867
|
+
*/
|
|
1868
|
+
error: string;
|
|
1869
|
+
/**
|
|
1870
|
+
*
|
|
1871
|
+
* @type {string}
|
|
1872
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1873
|
+
*/
|
|
1874
|
+
message: string;
|
|
1875
|
+
/**
|
|
1876
|
+
*
|
|
1877
|
+
* @type {ConversationErrorCode}
|
|
1878
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1879
|
+
*/
|
|
1880
|
+
code: ConversationErrorCode;
|
|
1881
|
+
/**
|
|
1882
|
+
* Urls of the attachment files that no longer exist
|
|
1883
|
+
* @type {Array<string>}
|
|
1884
|
+
* @memberof ConversationAttachmentMissingErrorDto
|
|
1885
|
+
*/
|
|
1886
|
+
missingFiles: Array<string>;
|
|
1887
|
+
}
|
|
1215
1888
|
/**
|
|
1216
1889
|
*
|
|
1217
1890
|
* @export
|
|
@@ -1273,11 +1946,13 @@ export interface ConversationDeletionResultDto {
|
|
|
1273
1946
|
failed: Array<ConversationDeletionFailureDto>;
|
|
1274
1947
|
}
|
|
1275
1948
|
/**
|
|
1276
|
-
* Present when the
|
|
1949
|
+
* 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
1950
|
* @export
|
|
1278
1951
|
*/
|
|
1279
1952
|
export declare const ConversationErrorCode: {
|
|
1280
1953
|
readonly ConversationDuplicateModelHidden: "conversationDuplicateModelHidden";
|
|
1954
|
+
readonly ConversationModelHidden: "conversationModelHidden";
|
|
1955
|
+
readonly ConversationAttachmentMissing: "conversationAttachmentMissing";
|
|
1281
1956
|
};
|
|
1282
1957
|
export type ConversationErrorCode = (typeof ConversationErrorCode)[keyof typeof ConversationErrorCode];
|
|
1283
1958
|
/**
|
|
@@ -1293,11 +1968,17 @@ export interface ConversationListItemDto {
|
|
|
1293
1968
|
*/
|
|
1294
1969
|
id: string;
|
|
1295
1970
|
/**
|
|
1296
|
-
*
|
|
1971
|
+
* Cached display title, or the filename-derived title while background title resolution is pending.
|
|
1297
1972
|
* @type {string}
|
|
1298
1973
|
* @memberof ConversationListItemDto
|
|
1299
1974
|
*/
|
|
1300
1975
|
title: string;
|
|
1976
|
+
/**
|
|
1977
|
+
* True when the title has not been resolved from the stored conversation yet, or its cached value expired. Resolve it with POST /conversations/titles.
|
|
1978
|
+
* @type {boolean}
|
|
1979
|
+
* @memberof ConversationListItemDto
|
|
1980
|
+
*/
|
|
1981
|
+
isTitlePending?: boolean;
|
|
1301
1982
|
/**
|
|
1302
1983
|
* Unix epoch milliseconds of the resource creation, as reported by DIAL Core metadata. Absent when DIAL Core does not report it, and always absent for conversations shared with the current user.
|
|
1303
1984
|
* @type {number}
|
|
@@ -1335,7 +2016,7 @@ export interface ConversationListItemDto {
|
|
|
1335
2016
|
*/
|
|
1336
2017
|
isReadonly: boolean;
|
|
1337
2018
|
/**
|
|
1338
|
-
* True when this conversation
|
|
2019
|
+
* 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
2020
|
* @type {boolean}
|
|
1340
2021
|
* @memberof ConversationListItemDto
|
|
1341
2022
|
*/
|
|
@@ -1353,7 +2034,7 @@ export interface ConversationListItemDto {
|
|
|
1353
2034
|
*/
|
|
1354
2035
|
runId?: string;
|
|
1355
2036
|
/**
|
|
1356
|
-
* True when
|
|
2037
|
+
* True when the conversation holds an answer the user has not seen. A scheduler-created conversation always carries it (true until first opened); a regular conversation in the caller's own bucket carries it, as true, only when it was updated after the user's read-before baseline and has not been viewed since. Omitted otherwise, including for published and shared conversations.
|
|
1357
2038
|
* @type {boolean}
|
|
1358
2039
|
* @memberof ConversationListItemDto
|
|
1359
2040
|
*/
|
|
@@ -1614,6 +2295,37 @@ export interface ConversationModelDto {
|
|
|
1614
2295
|
*/
|
|
1615
2296
|
id: string;
|
|
1616
2297
|
}
|
|
2298
|
+
/**
|
|
2299
|
+
*
|
|
2300
|
+
* @export
|
|
2301
|
+
* @interface ConversationModelHiddenErrorDto
|
|
2302
|
+
*/
|
|
2303
|
+
export interface ConversationModelHiddenErrorDto {
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @type {number}
|
|
2307
|
+
* @memberof ConversationModelHiddenErrorDto
|
|
2308
|
+
*/
|
|
2309
|
+
statusCode: number;
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @type {string}
|
|
2313
|
+
* @memberof ConversationModelHiddenErrorDto
|
|
2314
|
+
*/
|
|
2315
|
+
error: string;
|
|
2316
|
+
/**
|
|
2317
|
+
*
|
|
2318
|
+
* @type {string}
|
|
2319
|
+
* @memberof ConversationModelHiddenErrorDto
|
|
2320
|
+
*/
|
|
2321
|
+
message: string;
|
|
2322
|
+
/**
|
|
2323
|
+
* 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`.
|
|
2324
|
+
* @type {ConversationErrorCode}
|
|
2325
|
+
* @memberof ConversationModelHiddenErrorDto
|
|
2326
|
+
*/
|
|
2327
|
+
code?: ConversationErrorCode;
|
|
2328
|
+
}
|
|
1617
2329
|
/**
|
|
1618
2330
|
*
|
|
1619
2331
|
* @export
|
|
@@ -1647,129 +2359,387 @@ export interface ConversationResponseDto {
|
|
|
1647
2359
|
/**
|
|
1648
2360
|
*
|
|
1649
2361
|
* @type {string}
|
|
1650
|
-
* @memberof ConversationResponseDto
|
|
2362
|
+
* @memberof ConversationResponseDto
|
|
2363
|
+
*/
|
|
2364
|
+
prompt: string;
|
|
2365
|
+
/**
|
|
2366
|
+
*
|
|
2367
|
+
* @type {number}
|
|
2368
|
+
* @memberof ConversationResponseDto
|
|
2369
|
+
*/
|
|
2370
|
+
temperature: number;
|
|
2371
|
+
/**
|
|
2372
|
+
* Optional Responses-API output-token cap, forwarded verbatim as max_output_tokens. Never derived from deployment limits or Chat Completions defaults. Documentation-only decorator — the actual positive-safe-integer check runs at the Responses request-building boundary (ResponsesAdapter.buildRequest via isValidMaxOutputTokens), not through nested DTO validation on save (see design.md Decision 4 of the support-responses-generation-parameters change).
|
|
2373
|
+
* @type {number}
|
|
2374
|
+
* @memberof ConversationResponseDto
|
|
2375
|
+
*/
|
|
2376
|
+
maxOutputTokens?: number;
|
|
2377
|
+
/**
|
|
2378
|
+
*
|
|
2379
|
+
* @type {Array<ConversationMessageDto>}
|
|
2380
|
+
* @memberof ConversationResponseDto
|
|
2381
|
+
*/
|
|
2382
|
+
messages: Array<ConversationMessageDto>;
|
|
2383
|
+
/**
|
|
2384
|
+
*
|
|
2385
|
+
* @type {number}
|
|
2386
|
+
* @memberof ConversationResponseDto
|
|
2387
|
+
*/
|
|
2388
|
+
lastActivityDate: number;
|
|
2389
|
+
/**
|
|
2390
|
+
*
|
|
2391
|
+
* @type {number}
|
|
2392
|
+
* @memberof ConversationResponseDto
|
|
2393
|
+
*/
|
|
2394
|
+
updatedAt: number;
|
|
2395
|
+
/**
|
|
2396
|
+
*
|
|
2397
|
+
* @type {Array<string>}
|
|
2398
|
+
* @memberof ConversationResponseDto
|
|
2399
|
+
*/
|
|
2400
|
+
selectedAddons: Array<string>;
|
|
2401
|
+
/**
|
|
2402
|
+
*
|
|
2403
|
+
* @type {string}
|
|
2404
|
+
* @memberof ConversationResponseDto
|
|
2405
|
+
*/
|
|
2406
|
+
assistantModelId: string;
|
|
2407
|
+
/**
|
|
2408
|
+
*
|
|
2409
|
+
* @type {string}
|
|
2410
|
+
* @memberof ConversationResponseDto
|
|
2411
|
+
*/
|
|
2412
|
+
responseFormat?: ConversationResponseDtoResponseFormatEnum;
|
|
2413
|
+
/**
|
|
2414
|
+
* When true, automatic LLM conversation naming has already run for this conversation.
|
|
2415
|
+
* @type {boolean}
|
|
2416
|
+
* @memberof ConversationResponseDto
|
|
2417
|
+
*/
|
|
2418
|
+
llmNamingDone?: boolean;
|
|
2419
|
+
/**
|
|
2420
|
+
* Open, feature-keyed container for conversation-level view state. Currently defines exactly one key, `annotations`, holding the pool of html_tag citation annotations accumulated across the conversation. Any other key is opaque and preserved as-is.
|
|
2421
|
+
* @type {{ [key: string]: unknown }}
|
|
2422
|
+
* @memberof ConversationResponseDto
|
|
2423
|
+
*/
|
|
2424
|
+
customViewState?: {
|
|
2425
|
+
[key: string]: unknown;
|
|
2426
|
+
};
|
|
2427
|
+
}
|
|
2428
|
+
/**
|
|
2429
|
+
* @export
|
|
2430
|
+
*/
|
|
2431
|
+
export declare const ConversationResponseDtoResponseFormatEnum: {
|
|
2432
|
+
readonly Markdown: "markdown";
|
|
2433
|
+
readonly PlainText: "plain_text";
|
|
2434
|
+
};
|
|
2435
|
+
export type ConversationResponseDtoResponseFormatEnum = (typeof ConversationResponseDtoResponseFormatEnum)[keyof typeof ConversationResponseDtoResponseFormatEnum];
|
|
2436
|
+
/**
|
|
2437
|
+
*
|
|
2438
|
+
* @export
|
|
2439
|
+
* @interface ConversationStarterDto
|
|
2440
|
+
*/
|
|
2441
|
+
export interface ConversationStarterDto {
|
|
2442
|
+
/**
|
|
2443
|
+
* Starter button label
|
|
2444
|
+
* @type {string}
|
|
2445
|
+
* @memberof ConversationStarterDto
|
|
2446
|
+
*/
|
|
2447
|
+
title: string;
|
|
2448
|
+
/**
|
|
2449
|
+
* Text inserted into the chat input
|
|
2450
|
+
* @type {string}
|
|
2451
|
+
* @memberof ConversationStarterDto
|
|
2452
|
+
*/
|
|
2453
|
+
text: string;
|
|
2454
|
+
}
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @export
|
|
2458
|
+
* @interface ConversationStartersDto
|
|
2459
|
+
*/
|
|
2460
|
+
export interface ConversationStartersDto {
|
|
2461
|
+
/**
|
|
2462
|
+
* Optional text shown above the conversation starter buttons
|
|
2463
|
+
* @type {string}
|
|
2464
|
+
* @memberof ConversationStartersDto
|
|
2465
|
+
*/
|
|
2466
|
+
introText?: string;
|
|
2467
|
+
/**
|
|
2468
|
+
* When true, starter buttons submit immediately after selection
|
|
2469
|
+
* @type {boolean}
|
|
2470
|
+
* @memberof ConversationStartersDto
|
|
2471
|
+
*/
|
|
2472
|
+
autoSubmit?: boolean;
|
|
2473
|
+
/**
|
|
2474
|
+
* When true, the chat input is disabled and users can only use starters
|
|
2475
|
+
* @type {boolean}
|
|
2476
|
+
* @memberof ConversationStartersDto
|
|
2477
|
+
*/
|
|
2478
|
+
chatMessageInputDisabled?: boolean;
|
|
2479
|
+
/**
|
|
2480
|
+
* Conversation starter buttons configured by the application
|
|
2481
|
+
* @type {Array<ConversationStarterDto>}
|
|
2482
|
+
* @memberof ConversationStartersDto
|
|
2483
|
+
*/
|
|
2484
|
+
starters: Array<ConversationStarterDto>;
|
|
2485
|
+
}
|
|
2486
|
+
/**
|
|
2487
|
+
*
|
|
2488
|
+
* @export
|
|
2489
|
+
* @interface ConversationTitleDto
|
|
2490
|
+
*/
|
|
2491
|
+
export interface ConversationTitleDto {
|
|
2492
|
+
/**
|
|
2493
|
+
* The exact conversation resource URL supplied in the request.
|
|
2494
|
+
* @type {string}
|
|
2495
|
+
* @memberof ConversationTitleDto
|
|
2496
|
+
*/
|
|
2497
|
+
id: string;
|
|
2498
|
+
/**
|
|
2499
|
+
* Current display title without conversation messages.
|
|
2500
|
+
* @type {string}
|
|
2501
|
+
* @memberof ConversationTitleDto
|
|
2502
|
+
*/
|
|
2503
|
+
title: string;
|
|
2504
|
+
}
|
|
2505
|
+
/**
|
|
2506
|
+
*
|
|
2507
|
+
* @export
|
|
2508
|
+
* @interface ConversationTitleStreamDoneEventDto
|
|
2509
|
+
*/
|
|
2510
|
+
export interface ConversationTitleStreamDoneEventDto {
|
|
2511
|
+
/**
|
|
2512
|
+
*
|
|
2513
|
+
* @type {string}
|
|
2514
|
+
* @memberof ConversationTitleStreamDoneEventDto
|
|
1651
2515
|
*/
|
|
1652
|
-
|
|
2516
|
+
type: ConversationTitleStreamDoneEventDtoTypeEnum;
|
|
1653
2517
|
/**
|
|
1654
|
-
*
|
|
1655
|
-
* @type {
|
|
1656
|
-
* @memberof
|
|
2518
|
+
* `complete` when every distinct ID has an outcome; `budget` when the request lifetime ended and IDs without an outcome may be requested again.
|
|
2519
|
+
* @type {ConversationTitleStreamDoneReason}
|
|
2520
|
+
* @memberof ConversationTitleStreamDoneEventDto
|
|
1657
2521
|
*/
|
|
1658
|
-
|
|
2522
|
+
reason: ConversationTitleStreamDoneReason;
|
|
1659
2523
|
/**
|
|
1660
|
-
*
|
|
2524
|
+
* Item outcome events emitted (title, unavailable, item_error).
|
|
1661
2525
|
* @type {number}
|
|
1662
|
-
* @memberof
|
|
2526
|
+
* @memberof ConversationTitleStreamDoneEventDto
|
|
1663
2527
|
*/
|
|
1664
|
-
|
|
2528
|
+
processed: number;
|
|
1665
2529
|
/**
|
|
1666
|
-
*
|
|
1667
|
-
* @type {
|
|
1668
|
-
* @memberof
|
|
2530
|
+
* Distinct requested IDs.
|
|
2531
|
+
* @type {number}
|
|
2532
|
+
* @memberof ConversationTitleStreamDoneEventDto
|
|
1669
2533
|
*/
|
|
1670
|
-
|
|
2534
|
+
total: number;
|
|
2535
|
+
}
|
|
2536
|
+
/**
|
|
2537
|
+
* @export
|
|
2538
|
+
*/
|
|
2539
|
+
export declare const ConversationTitleStreamDoneEventDtoTypeEnum: {
|
|
2540
|
+
readonly Done: "done";
|
|
2541
|
+
};
|
|
2542
|
+
export type ConversationTitleStreamDoneEventDtoTypeEnum = (typeof ConversationTitleStreamDoneEventDtoTypeEnum)[keyof typeof ConversationTitleStreamDoneEventDtoTypeEnum];
|
|
2543
|
+
/**
|
|
2544
|
+
* `complete` when every distinct ID has an outcome; `budget` when the request lifetime ended and IDs without an outcome may be requested again.
|
|
2545
|
+
* @export
|
|
2546
|
+
*/
|
|
2547
|
+
export declare const ConversationTitleStreamDoneReason: {
|
|
2548
|
+
readonly Complete: "complete";
|
|
2549
|
+
readonly Budget: "budget";
|
|
2550
|
+
};
|
|
2551
|
+
export type ConversationTitleStreamDoneReason = (typeof ConversationTitleStreamDoneReason)[keyof typeof ConversationTitleStreamDoneReason];
|
|
2552
|
+
/**
|
|
2553
|
+
* Paired with `status`: 401/unauthenticated, 502/upstream_error, 503/unavailable.
|
|
2554
|
+
* @export
|
|
2555
|
+
*/
|
|
2556
|
+
export declare const ConversationTitleStreamErrorCode: {
|
|
2557
|
+
readonly Unauthenticated: "unauthenticated";
|
|
2558
|
+
readonly UpstreamError: "upstream_error";
|
|
2559
|
+
readonly Unavailable: "unavailable";
|
|
2560
|
+
};
|
|
2561
|
+
export type ConversationTitleStreamErrorCode = (typeof ConversationTitleStreamErrorCode)[keyof typeof ConversationTitleStreamErrorCode];
|
|
2562
|
+
/**
|
|
2563
|
+
*
|
|
2564
|
+
* @export
|
|
2565
|
+
* @interface ConversationTitleStreamErrorEventDto
|
|
2566
|
+
*/
|
|
2567
|
+
export interface ConversationTitleStreamErrorEventDto {
|
|
1671
2568
|
/**
|
|
1672
2569
|
*
|
|
1673
|
-
* @type {
|
|
1674
|
-
* @memberof
|
|
2570
|
+
* @type {string}
|
|
2571
|
+
* @memberof ConversationTitleStreamErrorEventDto
|
|
1675
2572
|
*/
|
|
1676
|
-
|
|
2573
|
+
type: ConversationTitleStreamErrorEventDtoTypeEnum;
|
|
1677
2574
|
/**
|
|
1678
|
-
*
|
|
2575
|
+
* HTTP-equivalent status of the stream-fatal failure; the response status was already 200.
|
|
1679
2576
|
* @type {number}
|
|
1680
|
-
* @memberof
|
|
2577
|
+
* @memberof ConversationTitleStreamErrorEventDto
|
|
1681
2578
|
*/
|
|
1682
|
-
|
|
2579
|
+
status: ConversationTitleStreamErrorEventDtoStatusEnum;
|
|
1683
2580
|
/**
|
|
1684
|
-
*
|
|
1685
|
-
* @type {
|
|
1686
|
-
* @memberof
|
|
2581
|
+
* Paired with `status`: 401/unauthenticated, 502/upstream_error, 503/unavailable.
|
|
2582
|
+
* @type {ConversationTitleStreamErrorCode}
|
|
2583
|
+
* @memberof ConversationTitleStreamErrorEventDto
|
|
1687
2584
|
*/
|
|
1688
|
-
|
|
2585
|
+
code: ConversationTitleStreamErrorCode;
|
|
2586
|
+
}
|
|
2587
|
+
/**
|
|
2588
|
+
* @export
|
|
2589
|
+
*/
|
|
2590
|
+
export declare const ConversationTitleStreamErrorEventDtoTypeEnum: {
|
|
2591
|
+
readonly Error: "error";
|
|
2592
|
+
};
|
|
2593
|
+
export type ConversationTitleStreamErrorEventDtoTypeEnum = (typeof ConversationTitleStreamErrorEventDtoTypeEnum)[keyof typeof ConversationTitleStreamErrorEventDtoTypeEnum];
|
|
2594
|
+
/**
|
|
2595
|
+
* @export
|
|
2596
|
+
*/
|
|
2597
|
+
export declare const ConversationTitleStreamErrorEventDtoStatusEnum: {
|
|
2598
|
+
readonly NUMBER_401: 401;
|
|
2599
|
+
readonly NUMBER_502: 502;
|
|
2600
|
+
readonly NUMBER_503: 503;
|
|
2601
|
+
};
|
|
2602
|
+
export type ConversationTitleStreamErrorEventDtoStatusEnum = (typeof ConversationTitleStreamErrorEventDtoStatusEnum)[keyof typeof ConversationTitleStreamErrorEventDtoStatusEnum];
|
|
2603
|
+
/**
|
|
2604
|
+
* @type ConversationTitleStreamEventDto
|
|
2605
|
+
* One `data:` JSON payload of the conversation title stream, discriminated by `type`.
|
|
2606
|
+
* @export
|
|
2607
|
+
*/
|
|
2608
|
+
export type ConversationTitleStreamEventDto = ({
|
|
2609
|
+
type: 'done';
|
|
2610
|
+
} & ConversationTitleStreamDoneEventDto) | ({
|
|
2611
|
+
type: 'error';
|
|
2612
|
+
} & ConversationTitleStreamErrorEventDto) | ({
|
|
2613
|
+
type: 'item_error';
|
|
2614
|
+
} & ConversationTitleStreamItemErrorEventDto) | ({
|
|
2615
|
+
type: 'title';
|
|
2616
|
+
} & ConversationTitleStreamTitleEventDto) | ({
|
|
2617
|
+
type: 'unavailable';
|
|
2618
|
+
} & ConversationTitleStreamUnavailableEventDto);
|
|
2619
|
+
/**
|
|
2620
|
+
* Why this attempted item failed. It is not retried by the stream.
|
|
2621
|
+
* @export
|
|
2622
|
+
*/
|
|
2623
|
+
export declare const ConversationTitleStreamItemErrorCode: {
|
|
2624
|
+
readonly UpstreamError: "upstream_error";
|
|
2625
|
+
readonly Timeout: "timeout";
|
|
2626
|
+
};
|
|
2627
|
+
export type ConversationTitleStreamItemErrorCode = (typeof ConversationTitleStreamItemErrorCode)[keyof typeof ConversationTitleStreamItemErrorCode];
|
|
2628
|
+
/**
|
|
2629
|
+
*
|
|
2630
|
+
* @export
|
|
2631
|
+
* @interface ConversationTitleStreamItemErrorEventDto
|
|
2632
|
+
*/
|
|
2633
|
+
export interface ConversationTitleStreamItemErrorEventDto {
|
|
1689
2634
|
/**
|
|
1690
2635
|
*
|
|
1691
2636
|
* @type {string}
|
|
1692
|
-
* @memberof
|
|
2637
|
+
* @memberof ConversationTitleStreamItemErrorEventDto
|
|
1693
2638
|
*/
|
|
1694
|
-
|
|
2639
|
+
type: ConversationTitleStreamItemErrorEventDtoTypeEnum;
|
|
1695
2640
|
/**
|
|
1696
|
-
*
|
|
2641
|
+
* The exact conversation resource URL supplied in the request.
|
|
1697
2642
|
* @type {string}
|
|
1698
|
-
* @memberof
|
|
1699
|
-
*/
|
|
1700
|
-
responseFormat?: ConversationResponseDtoResponseFormatEnum;
|
|
1701
|
-
/**
|
|
1702
|
-
* When true, automatic LLM conversation naming has already run for this conversation.
|
|
1703
|
-
* @type {boolean}
|
|
1704
|
-
* @memberof ConversationResponseDto
|
|
2643
|
+
* @memberof ConversationTitleStreamItemErrorEventDto
|
|
1705
2644
|
*/
|
|
1706
|
-
|
|
2645
|
+
id: string;
|
|
1707
2646
|
/**
|
|
1708
|
-
*
|
|
1709
|
-
* @type {
|
|
1710
|
-
* @memberof
|
|
2647
|
+
* Why this attempted item failed. It is not retried by the stream.
|
|
2648
|
+
* @type {ConversationTitleStreamItemErrorCode}
|
|
2649
|
+
* @memberof ConversationTitleStreamItemErrorEventDto
|
|
1711
2650
|
*/
|
|
1712
|
-
|
|
1713
|
-
[key: string]: unknown;
|
|
1714
|
-
};
|
|
2651
|
+
code: ConversationTitleStreamItemErrorCode;
|
|
1715
2652
|
}
|
|
1716
2653
|
/**
|
|
1717
2654
|
* @export
|
|
1718
2655
|
*/
|
|
1719
|
-
export declare const
|
|
1720
|
-
readonly
|
|
1721
|
-
readonly PlainText: "plain_text";
|
|
2656
|
+
export declare const ConversationTitleStreamItemErrorEventDtoTypeEnum: {
|
|
2657
|
+
readonly ItemError: "item_error";
|
|
1722
2658
|
};
|
|
1723
|
-
export type
|
|
2659
|
+
export type ConversationTitleStreamItemErrorEventDtoTypeEnum = (typeof ConversationTitleStreamItemErrorEventDtoTypeEnum)[keyof typeof ConversationTitleStreamItemErrorEventDtoTypeEnum];
|
|
1724
2660
|
/**
|
|
1725
2661
|
*
|
|
1726
2662
|
* @export
|
|
1727
|
-
* @interface
|
|
2663
|
+
* @interface ConversationTitleStreamTitleEventDto
|
|
1728
2664
|
*/
|
|
1729
|
-
export interface
|
|
2665
|
+
export interface ConversationTitleStreamTitleEventDto {
|
|
1730
2666
|
/**
|
|
1731
|
-
*
|
|
2667
|
+
*
|
|
1732
2668
|
* @type {string}
|
|
1733
|
-
* @memberof
|
|
2669
|
+
* @memberof ConversationTitleStreamTitleEventDto
|
|
1734
2670
|
*/
|
|
1735
|
-
|
|
2671
|
+
type: ConversationTitleStreamTitleEventDtoTypeEnum;
|
|
1736
2672
|
/**
|
|
1737
|
-
*
|
|
2673
|
+
* The exact conversation resource URL supplied in the request.
|
|
1738
2674
|
* @type {string}
|
|
1739
|
-
* @memberof
|
|
2675
|
+
* @memberof ConversationTitleStreamTitleEventDto
|
|
1740
2676
|
*/
|
|
1741
|
-
|
|
2677
|
+
id: string;
|
|
2678
|
+
/**
|
|
2679
|
+
* Current display title without conversation messages.
|
|
2680
|
+
* @type {string}
|
|
2681
|
+
* @memberof ConversationTitleStreamTitleEventDto
|
|
2682
|
+
*/
|
|
2683
|
+
title: string;
|
|
1742
2684
|
}
|
|
2685
|
+
/**
|
|
2686
|
+
* @export
|
|
2687
|
+
*/
|
|
2688
|
+
export declare const ConversationTitleStreamTitleEventDtoTypeEnum: {
|
|
2689
|
+
readonly Title: "title";
|
|
2690
|
+
};
|
|
2691
|
+
export type ConversationTitleStreamTitleEventDtoTypeEnum = (typeof ConversationTitleStreamTitleEventDtoTypeEnum)[keyof typeof ConversationTitleStreamTitleEventDtoTypeEnum];
|
|
1743
2692
|
/**
|
|
1744
2693
|
*
|
|
1745
2694
|
* @export
|
|
1746
|
-
* @interface
|
|
2695
|
+
* @interface ConversationTitleStreamUnavailableEventDto
|
|
1747
2696
|
*/
|
|
1748
|
-
export interface
|
|
2697
|
+
export interface ConversationTitleStreamUnavailableEventDto {
|
|
1749
2698
|
/**
|
|
1750
|
-
*
|
|
2699
|
+
*
|
|
1751
2700
|
* @type {string}
|
|
1752
|
-
* @memberof
|
|
2701
|
+
* @memberof ConversationTitleStreamUnavailableEventDto
|
|
1753
2702
|
*/
|
|
1754
|
-
|
|
2703
|
+
type: ConversationTitleStreamUnavailableEventDtoTypeEnum;
|
|
1755
2704
|
/**
|
|
1756
|
-
*
|
|
1757
|
-
* @type {
|
|
1758
|
-
* @memberof
|
|
2705
|
+
* The exact conversation resource URL supplied in the request. The conversation is missing or inaccessible; which one is not disclosed.
|
|
2706
|
+
* @type {string}
|
|
2707
|
+
* @memberof ConversationTitleStreamUnavailableEventDto
|
|
1759
2708
|
*/
|
|
1760
|
-
|
|
2709
|
+
id: string;
|
|
2710
|
+
}
|
|
2711
|
+
/**
|
|
2712
|
+
* @export
|
|
2713
|
+
*/
|
|
2714
|
+
export declare const ConversationTitleStreamUnavailableEventDtoTypeEnum: {
|
|
2715
|
+
readonly Unavailable: "unavailable";
|
|
2716
|
+
};
|
|
2717
|
+
export type ConversationTitleStreamUnavailableEventDtoTypeEnum = (typeof ConversationTitleStreamUnavailableEventDtoTypeEnum)[keyof typeof ConversationTitleStreamUnavailableEventDtoTypeEnum];
|
|
2718
|
+
/**
|
|
2719
|
+
*
|
|
2720
|
+
* @export
|
|
2721
|
+
* @interface ConversationTitlesBodyDto
|
|
2722
|
+
*/
|
|
2723
|
+
export interface ConversationTitlesBodyDto {
|
|
1761
2724
|
/**
|
|
1762
|
-
*
|
|
1763
|
-
* @type {
|
|
1764
|
-
* @memberof
|
|
2725
|
+
* Full DIAL Core conversation resource URLs. Duplicate IDs are read once. Missing or inaccessible conversations are omitted.
|
|
2726
|
+
* @type {Array<string>}
|
|
2727
|
+
* @memberof ConversationTitlesBodyDto
|
|
1765
2728
|
*/
|
|
1766
|
-
|
|
2729
|
+
ids: Array<string>;
|
|
2730
|
+
}
|
|
2731
|
+
/**
|
|
2732
|
+
*
|
|
2733
|
+
* @export
|
|
2734
|
+
* @interface ConversationTitlesResponseDto
|
|
2735
|
+
*/
|
|
2736
|
+
export interface ConversationTitlesResponseDto {
|
|
1767
2737
|
/**
|
|
1768
|
-
*
|
|
1769
|
-
* @type {Array<
|
|
1770
|
-
* @memberof
|
|
2738
|
+
*
|
|
2739
|
+
* @type {Array<ConversationTitleDto>}
|
|
2740
|
+
* @memberof ConversationTitlesResponseDto
|
|
1771
2741
|
*/
|
|
1772
|
-
|
|
2742
|
+
items: Array<ConversationTitleDto>;
|
|
1773
2743
|
}
|
|
1774
2744
|
/**
|
|
1775
2745
|
*
|
|
@@ -1941,7 +2911,7 @@ export interface CreateApplicationBodyDto {
|
|
|
1941
2911
|
*/
|
|
1942
2912
|
applicationProperties?: object;
|
|
1943
2913
|
/**
|
|
1944
|
-
*
|
|
2914
|
+
* 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
2915
|
* @type {boolean}
|
|
1946
2916
|
* @memberof CreateApplicationBodyDto
|
|
1947
2917
|
*/
|
|
@@ -1952,6 +2922,12 @@ export interface CreateApplicationBodyDto {
|
|
|
1952
2922
|
* @memberof CreateApplicationBodyDto
|
|
1953
2923
|
*/
|
|
1954
2924
|
preserveApplicationProperties?: boolean;
|
|
2925
|
+
/**
|
|
2926
|
+
* 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.
|
|
2927
|
+
* @type {object}
|
|
2928
|
+
* @memberof CreateApplicationBodyDto
|
|
2929
|
+
*/
|
|
2930
|
+
features?: object;
|
|
1955
2931
|
/**
|
|
1956
2932
|
*
|
|
1957
2933
|
* @type {Array<string>}
|
|
@@ -2070,6 +3046,43 @@ export interface CreateFolderResponseDto {
|
|
|
2070
3046
|
*/
|
|
2071
3047
|
folderId: string;
|
|
2072
3048
|
}
|
|
3049
|
+
/**
|
|
3050
|
+
*
|
|
3051
|
+
* @export
|
|
3052
|
+
* @interface CreateProjectResponseDto
|
|
3053
|
+
*/
|
|
3054
|
+
export interface CreateProjectResponseDto {
|
|
3055
|
+
/**
|
|
3056
|
+
* DIAL Core resource id, `projects/{bucket}/{path}` without a trailing slash.
|
|
3057
|
+
* @type {string}
|
|
3058
|
+
* @memberof CreateProjectResponseDto
|
|
3059
|
+
*/
|
|
3060
|
+
id: string;
|
|
3061
|
+
/**
|
|
3062
|
+
*
|
|
3063
|
+
* @type {string}
|
|
3064
|
+
* @memberof CreateProjectResponseDto
|
|
3065
|
+
*/
|
|
3066
|
+
name: string;
|
|
3067
|
+
/**
|
|
3068
|
+
*
|
|
3069
|
+
* @type {string}
|
|
3070
|
+
* @memberof CreateProjectResponseDto
|
|
3071
|
+
*/
|
|
3072
|
+
bucket: string;
|
|
3073
|
+
/**
|
|
3074
|
+
* Path of the project within its bucket.
|
|
3075
|
+
* @type {string}
|
|
3076
|
+
* @memberof CreateProjectResponseDto
|
|
3077
|
+
*/
|
|
3078
|
+
path: string;
|
|
3079
|
+
/**
|
|
3080
|
+
* Aggregate ETag of the created project, when DIAL Core returns one.
|
|
3081
|
+
* @type {string}
|
|
3082
|
+
* @memberof CreateProjectResponseDto
|
|
3083
|
+
*/
|
|
3084
|
+
etag?: string;
|
|
3085
|
+
}
|
|
2073
3086
|
/**
|
|
2074
3087
|
*
|
|
2075
3088
|
* @export
|
|
@@ -2913,6 +3926,12 @@ export interface DeploymentItemDto {
|
|
|
2913
3926
|
* @memberof DeploymentItemDto
|
|
2914
3927
|
*/
|
|
2915
3928
|
applicationTypeSchemaId?: string;
|
|
3929
|
+
/**
|
|
3930
|
+
* Custom Viewer URL from DIAL Core viewer_url (present only for application deployments that configure one)
|
|
3931
|
+
* @type {string}
|
|
3932
|
+
* @memberof DeploymentItemDto
|
|
3933
|
+
*/
|
|
3934
|
+
viewerUrl?: string;
|
|
2916
3935
|
/**
|
|
2917
3936
|
* Accepted MIME types for input attachments from DIAL Core (e.g. ["audio/*", "image/*"])
|
|
2918
3937
|
* @type {Array<string>}
|
|
@@ -3568,6 +4587,12 @@ export interface DialToolsetAuthSettingsDto {
|
|
|
3568
4587
|
* @memberof DialToolsetAuthSettingsDto
|
|
3569
4588
|
*/
|
|
3570
4589
|
clientId?: string;
|
|
4590
|
+
/**
|
|
4591
|
+
* Last characters of the stored OAuth client secret, as returned by DIAL Core. Never the secret itself.
|
|
4592
|
+
* @type {string}
|
|
4593
|
+
* @memberof DialToolsetAuthSettingsDto
|
|
4594
|
+
*/
|
|
4595
|
+
clientSecretHint?: string;
|
|
3571
4596
|
/**
|
|
3572
4597
|
*
|
|
3573
4598
|
* @type {string}
|
|
@@ -4076,7 +5101,7 @@ export interface DuplicateConversationErrorDto {
|
|
|
4076
5101
|
*/
|
|
4077
5102
|
message: string;
|
|
4078
5103
|
/**
|
|
4079
|
-
* Present when the
|
|
5104
|
+
* 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
5105
|
* @type {ConversationErrorCode}
|
|
4081
5106
|
* @memberof DuplicateConversationErrorDto
|
|
4082
5107
|
*/
|
|
@@ -4108,6 +5133,88 @@ export interface ExternalServiceAuthResultDto {
|
|
|
4108
5133
|
*/
|
|
4109
5134
|
success: boolean;
|
|
4110
5135
|
}
|
|
5136
|
+
/**
|
|
5137
|
+
*
|
|
5138
|
+
* @export
|
|
5139
|
+
* @interface ExternalServiceAuthSettingsBodyDto
|
|
5140
|
+
*/
|
|
5141
|
+
export interface ExternalServiceAuthSettingsBodyDto {
|
|
5142
|
+
/**
|
|
5143
|
+
*
|
|
5144
|
+
* @type {string}
|
|
5145
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
5146
|
+
*/
|
|
5147
|
+
authenticationType: ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum;
|
|
5148
|
+
/**
|
|
5149
|
+
* API_KEY: the header the stored key is sent under. The key itself is never part of the definition.
|
|
5150
|
+
* @type {string}
|
|
5151
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
5152
|
+
*/
|
|
5153
|
+
apiKeyHeader?: string;
|
|
5154
|
+
/**
|
|
5155
|
+
* OAUTH: the client id.
|
|
5156
|
+
* @type {string}
|
|
5157
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
5158
|
+
*/
|
|
5159
|
+
clientId?: string;
|
|
5160
|
+
/**
|
|
5161
|
+
* OAUTH: the client secret. Write-only: never returned, never logged.
|
|
5162
|
+
* @type {string}
|
|
5163
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
5164
|
+
*/
|
|
5165
|
+
clientSecret?: string;
|
|
5166
|
+
/**
|
|
5167
|
+
*
|
|
5168
|
+
* @type {string}
|
|
5169
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
5170
|
+
*/
|
|
5171
|
+
authorizationEndpoint?: string;
|
|
5172
|
+
/**
|
|
5173
|
+
*
|
|
5174
|
+
* @type {string}
|
|
5175
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
5176
|
+
*/
|
|
5177
|
+
tokenEndpoint?: string;
|
|
5178
|
+
/**
|
|
5179
|
+
*
|
|
5180
|
+
* @type {Array<string>}
|
|
5181
|
+
* @memberof ExternalServiceAuthSettingsBodyDto
|
|
5182
|
+
*/
|
|
5183
|
+
scopesSupported?: Array<string>;
|
|
5184
|
+
}
|
|
5185
|
+
/**
|
|
5186
|
+
* @export
|
|
5187
|
+
*/
|
|
5188
|
+
export declare const ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum: {
|
|
5189
|
+
readonly ApiKey: "API_KEY";
|
|
5190
|
+
readonly Oauth: "OAUTH";
|
|
5191
|
+
};
|
|
5192
|
+
export type ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum = (typeof ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum)[keyof typeof ExternalServiceAuthSettingsBodyDtoAuthenticationTypeEnum];
|
|
5193
|
+
/**
|
|
5194
|
+
*
|
|
5195
|
+
* @export
|
|
5196
|
+
* @interface ExternalServiceDefinitionBodyDto
|
|
5197
|
+
*/
|
|
5198
|
+
export interface ExternalServiceDefinitionBodyDto {
|
|
5199
|
+
/**
|
|
5200
|
+
*
|
|
5201
|
+
* @type {string}
|
|
5202
|
+
* @memberof ExternalServiceDefinitionBodyDto
|
|
5203
|
+
*/
|
|
5204
|
+
displayName: string;
|
|
5205
|
+
/**
|
|
5206
|
+
*
|
|
5207
|
+
* @type {string}
|
|
5208
|
+
* @memberof ExternalServiceDefinitionBodyDto
|
|
5209
|
+
*/
|
|
5210
|
+
description?: string;
|
|
5211
|
+
/**
|
|
5212
|
+
*
|
|
5213
|
+
* @type {ExternalServiceAuthSettingsBodyDto}
|
|
5214
|
+
* @memberof ExternalServiceDefinitionBodyDto
|
|
5215
|
+
*/
|
|
5216
|
+
authSettings: ExternalServiceAuthSettingsBodyDto;
|
|
5217
|
+
}
|
|
4111
5218
|
/**
|
|
4112
5219
|
*
|
|
4113
5220
|
* @export
|
|
@@ -4424,6 +5531,12 @@ export interface GetOfflineCredentialsResponseDto {
|
|
|
4424
5531
|
* @memberof GetOfflineCredentialsResponseDto
|
|
4425
5532
|
*/
|
|
4426
5533
|
connect?: OfflineCredentialsConnectDto;
|
|
5534
|
+
/**
|
|
5535
|
+
* Consent state of the DIAL_NATIVE scheduler external service: 'signed_out' when the administrator's application consent is missing or revoked, 'signed_in' when it is in place, and 'unknown' when the consent read itself failed (the offline-credentials status is still valid).
|
|
5536
|
+
* @type {SchedulerServiceConsentStatus}
|
|
5537
|
+
* @memberof GetOfflineCredentialsResponseDto
|
|
5538
|
+
*/
|
|
5539
|
+
schedulerServiceConsent: SchedulerServiceConsentStatus;
|
|
4427
5540
|
}
|
|
4428
5541
|
/**
|
|
4429
5542
|
*
|
|
@@ -4606,6 +5719,25 @@ export interface ListMcpToolNamesResponseDto {
|
|
|
4606
5719
|
*/
|
|
4607
5720
|
toolNames: Array<string>;
|
|
4608
5721
|
}
|
|
5722
|
+
/**
|
|
5723
|
+
*
|
|
5724
|
+
* @export
|
|
5725
|
+
* @interface ListProjectsResponseDto
|
|
5726
|
+
*/
|
|
5727
|
+
export interface ListProjectsResponseDto {
|
|
5728
|
+
/**
|
|
5729
|
+
* Every project visible to the caller across the personal, organization and shared sources, de-duplicated by id. Order is unspecified.
|
|
5730
|
+
* @type {Array<ProjectDto>}
|
|
5731
|
+
* @memberof ListProjectsResponseDto
|
|
5732
|
+
*/
|
|
5733
|
+
items: Array<ProjectDto>;
|
|
5734
|
+
/**
|
|
5735
|
+
* Sources that failed or were truncated at the page cap, so `items` may be missing projects from them. Empty when every source answered in full.
|
|
5736
|
+
* @type {Array<ProjectSource>}
|
|
5737
|
+
* @memberof ListProjectsResponseDto
|
|
5738
|
+
*/
|
|
5739
|
+
incompleteSources: Array<ProjectSource>;
|
|
5740
|
+
}
|
|
4609
5741
|
/**
|
|
4610
5742
|
*
|
|
4611
5743
|
* @export
|
|
@@ -5077,16 +6209,16 @@ export interface ModelLimitsDto {
|
|
|
5077
6209
|
export interface ModelPricingRateDto {
|
|
5078
6210
|
/**
|
|
5079
6211
|
*
|
|
5080
|
-
* @type {
|
|
6212
|
+
* @type {ModelPricingRateDtoIfFalse}
|
|
5081
6213
|
* @memberof ModelPricingRateDto
|
|
5082
6214
|
*/
|
|
5083
|
-
ifFalse?:
|
|
6215
|
+
ifFalse?: ModelPricingRateDtoIfFalse;
|
|
5084
6216
|
/**
|
|
5085
6217
|
*
|
|
5086
|
-
* @type {
|
|
6218
|
+
* @type {ModelPricingRateDtoIfTrue}
|
|
5087
6219
|
* @memberof ModelPricingRateDto
|
|
5088
6220
|
*/
|
|
5089
|
-
ifTrue?:
|
|
6221
|
+
ifTrue?: ModelPricingRateDtoIfTrue;
|
|
5090
6222
|
/**
|
|
5091
6223
|
* Per-unit price for this pricing branch
|
|
5092
6224
|
* @type {string}
|
|
@@ -5102,6 +6234,18 @@ export interface ModelPricingRateDto {
|
|
|
5102
6234
|
[key: string]: unknown;
|
|
5103
6235
|
};
|
|
5104
6236
|
}
|
|
6237
|
+
/**
|
|
6238
|
+
* @type ModelPricingRateDtoIfFalse
|
|
6239
|
+
* Price applied when `test` fails: a per-unit price or a nested pricing branch
|
|
6240
|
+
* @export
|
|
6241
|
+
*/
|
|
6242
|
+
export type ModelPricingRateDtoIfFalse = ModelPricingRateDto | string;
|
|
6243
|
+
/**
|
|
6244
|
+
* @type ModelPricingRateDtoIfTrue
|
|
6245
|
+
* Price applied when `test` holds: a per-unit price or a nested pricing branch
|
|
6246
|
+
* @export
|
|
6247
|
+
*/
|
|
6248
|
+
export type ModelPricingRateDtoIfTrue = ModelPricingRateDto | string;
|
|
5105
6249
|
/**
|
|
5106
6250
|
*
|
|
5107
6251
|
* @export
|
|
@@ -5131,173 +6275,533 @@ export interface MoveFilesResponseDto {
|
|
|
5131
6275
|
/**
|
|
5132
6276
|
*
|
|
5133
6277
|
* @export
|
|
5134
|
-
* @interface MoveItemDto
|
|
6278
|
+
* @interface MoveItemDto
|
|
6279
|
+
*/
|
|
6280
|
+
export interface MoveItemDto {
|
|
6281
|
+
/**
|
|
6282
|
+
* DIAL Core bucket name
|
|
6283
|
+
* @type {string}
|
|
6284
|
+
* @memberof MoveItemDto
|
|
6285
|
+
*/
|
|
6286
|
+
bucket: string;
|
|
6287
|
+
/**
|
|
6288
|
+
* Relative source path within bucket
|
|
6289
|
+
* @type {string}
|
|
6290
|
+
* @memberof MoveItemDto
|
|
6291
|
+
*/
|
|
6292
|
+
sourcePath: string;
|
|
6293
|
+
/**
|
|
6294
|
+
* Relative destination path within bucket
|
|
6295
|
+
* @type {string}
|
|
6296
|
+
* @memberof MoveItemDto
|
|
6297
|
+
*/
|
|
6298
|
+
destinationPath: string;
|
|
6299
|
+
/**
|
|
6300
|
+
* Whether to overwrite an existing destination resource
|
|
6301
|
+
* @type {boolean}
|
|
6302
|
+
* @memberof MoveItemDto
|
|
6303
|
+
*/
|
|
6304
|
+
overwrite?: boolean;
|
|
6305
|
+
/**
|
|
6306
|
+
*
|
|
6307
|
+
* @type {string}
|
|
6308
|
+
* @memberof MoveItemDto
|
|
6309
|
+
*/
|
|
6310
|
+
nodeType: MoveItemDtoNodeTypeEnum;
|
|
6311
|
+
/**
|
|
6312
|
+
* Display name (last segment) for error messages
|
|
6313
|
+
* @type {string}
|
|
6314
|
+
* @memberof MoveItemDto
|
|
6315
|
+
*/
|
|
6316
|
+
name: string;
|
|
6317
|
+
}
|
|
6318
|
+
/**
|
|
6319
|
+
* @export
|
|
6320
|
+
*/
|
|
6321
|
+
export declare const MoveItemDtoNodeTypeEnum: {
|
|
6322
|
+
readonly Item: "item";
|
|
6323
|
+
readonly Folder: "folder";
|
|
6324
|
+
};
|
|
6325
|
+
export type MoveItemDtoNodeTypeEnum = (typeof MoveItemDtoNodeTypeEnum)[keyof typeof MoveItemDtoNodeTypeEnum];
|
|
6326
|
+
/**
|
|
6327
|
+
*
|
|
6328
|
+
* @export
|
|
6329
|
+
* @interface MoveItemResultDto
|
|
6330
|
+
*/
|
|
6331
|
+
export interface MoveItemResultDto {
|
|
6332
|
+
/**
|
|
6333
|
+
* Source path from request
|
|
6334
|
+
* @type {string}
|
|
6335
|
+
* @memberof MoveItemResultDto
|
|
6336
|
+
*/
|
|
6337
|
+
sourcePath: string;
|
|
6338
|
+
/**
|
|
6339
|
+
* Destination path from request
|
|
6340
|
+
* @type {string}
|
|
6341
|
+
* @memberof MoveItemResultDto
|
|
6342
|
+
*/
|
|
6343
|
+
destinationPath: string;
|
|
6344
|
+
/**
|
|
6345
|
+
* true when all Core moveResource calls succeeded
|
|
6346
|
+
* @type {boolean}
|
|
6347
|
+
* @memberof MoveItemResultDto
|
|
6348
|
+
*/
|
|
6349
|
+
success: boolean;
|
|
6350
|
+
/**
|
|
6351
|
+
* Human-readable error reason when success is false
|
|
6352
|
+
* @type {string}
|
|
6353
|
+
* @memberof MoveItemResultDto
|
|
6354
|
+
*/
|
|
6355
|
+
error?: string;
|
|
6356
|
+
}
|
|
6357
|
+
/**
|
|
6358
|
+
*
|
|
6359
|
+
* @export
|
|
6360
|
+
* @interface MovePromptDto
|
|
6361
|
+
*/
|
|
6362
|
+
export interface MovePromptDto {
|
|
6363
|
+
/**
|
|
6364
|
+
* Target folder path. Empty string to move to root.
|
|
6365
|
+
* @type {string}
|
|
6366
|
+
* @memberof MovePromptDto
|
|
6367
|
+
*/
|
|
6368
|
+
targetFolderId: string;
|
|
6369
|
+
}
|
|
6370
|
+
/**
|
|
6371
|
+
*
|
|
6372
|
+
* @export
|
|
6373
|
+
* @interface MutatedToolsetDto
|
|
6374
|
+
*/
|
|
6375
|
+
export interface MutatedToolsetDto {
|
|
6376
|
+
/**
|
|
6377
|
+
*
|
|
6378
|
+
* @type {string}
|
|
6379
|
+
* @memberof MutatedToolsetDto
|
|
6380
|
+
*/
|
|
6381
|
+
id: string;
|
|
6382
|
+
}
|
|
6383
|
+
/**
|
|
6384
|
+
*
|
|
6385
|
+
* @export
|
|
6386
|
+
* @interface OfflineCredentialsAuthResultDto
|
|
6387
|
+
*/
|
|
6388
|
+
export interface OfflineCredentialsAuthResultDto {
|
|
6389
|
+
/**
|
|
6390
|
+
*
|
|
6391
|
+
* @type {boolean}
|
|
6392
|
+
* @memberof OfflineCredentialsAuthResultDto
|
|
6393
|
+
*/
|
|
6394
|
+
success: boolean;
|
|
6395
|
+
}
|
|
6396
|
+
/**
|
|
6397
|
+
*
|
|
6398
|
+
* @export
|
|
6399
|
+
* @interface OfflineCredentialsConnectDto
|
|
6400
|
+
*/
|
|
6401
|
+
export interface OfflineCredentialsConnectDto {
|
|
6402
|
+
/**
|
|
6403
|
+
*
|
|
6404
|
+
* @type {string}
|
|
6405
|
+
* @memberof OfflineCredentialsConnectDto
|
|
6406
|
+
*/
|
|
6407
|
+
authorizationEndpoint: string;
|
|
6408
|
+
/**
|
|
6409
|
+
*
|
|
6410
|
+
* @type {string}
|
|
6411
|
+
* @memberof OfflineCredentialsConnectDto
|
|
6412
|
+
*/
|
|
6413
|
+
clientId: string;
|
|
6414
|
+
/**
|
|
6415
|
+
*
|
|
6416
|
+
* @type {string}
|
|
6417
|
+
* @memberof OfflineCredentialsConnectDto
|
|
6418
|
+
*/
|
|
6419
|
+
redirectUri?: string;
|
|
6420
|
+
/**
|
|
6421
|
+
*
|
|
6422
|
+
* @type {Array<string>}
|
|
6423
|
+
* @memberof OfflineCredentialsConnectDto
|
|
6424
|
+
*/
|
|
6425
|
+
scopes: Array<string>;
|
|
6426
|
+
}
|
|
6427
|
+
/**
|
|
6428
|
+
*
|
|
6429
|
+
* @export
|
|
6430
|
+
* @interface OfflineCredentialsSigninBodyDto
|
|
6431
|
+
*/
|
|
6432
|
+
export interface OfflineCredentialsSigninBodyDto {
|
|
6433
|
+
/**
|
|
6434
|
+
* OAuth authorization code.
|
|
6435
|
+
* @type {string}
|
|
6436
|
+
* @memberof OfflineCredentialsSigninBodyDto
|
|
6437
|
+
*/
|
|
6438
|
+
code: string;
|
|
6439
|
+
/**
|
|
6440
|
+
* OAuth redirect URI used for the code exchange. Must resolve to the configured AUTH_CALLBACK_BASE_URL origin and one of the app's own callback paths.
|
|
6441
|
+
* @type {string}
|
|
6442
|
+
* @memberof OfflineCredentialsSigninBodyDto
|
|
6443
|
+
*/
|
|
6444
|
+
redirectUri: string;
|
|
6445
|
+
}
|
|
6446
|
+
/**
|
|
6447
|
+
*
|
|
6448
|
+
* @export
|
|
6449
|
+
* @interface ProjectContextFileDto
|
|
6450
|
+
*/
|
|
6451
|
+
export interface ProjectContextFileDto {
|
|
6452
|
+
/**
|
|
6453
|
+
*
|
|
6454
|
+
* @type {string}
|
|
6455
|
+
* @memberof ProjectContextFileDto
|
|
6456
|
+
*/
|
|
6457
|
+
name: string;
|
|
6458
|
+
/**
|
|
6459
|
+
* Size in bytes.
|
|
6460
|
+
* @type {number}
|
|
6461
|
+
* @memberof ProjectContextFileDto
|
|
6462
|
+
*/
|
|
6463
|
+
size: number;
|
|
6464
|
+
}
|
|
6465
|
+
/**
|
|
6466
|
+
*
|
|
6467
|
+
* @export
|
|
6468
|
+
* @interface ProjectConversationItemDto
|
|
6469
|
+
*/
|
|
6470
|
+
export interface ProjectConversationItemDto {
|
|
6471
|
+
/**
|
|
6472
|
+
* Locator of the conversation, `projects/{bucket}/{projectPath}/conversations/{name}`; it is the conversation id.
|
|
6473
|
+
* @type {string}
|
|
6474
|
+
* @memberof ProjectConversationItemDto
|
|
6475
|
+
*/
|
|
6476
|
+
id: string;
|
|
6477
|
+
/**
|
|
6478
|
+
* File name under the project `conversations/` folder.
|
|
6479
|
+
* @type {string}
|
|
6480
|
+
* @memberof ProjectConversationItemDto
|
|
6481
|
+
*/
|
|
6482
|
+
name: string;
|
|
6483
|
+
/**
|
|
6484
|
+
* Display title: the stored body's `name`, or the title derived from the file name when the body cannot be read.
|
|
6485
|
+
* @type {string}
|
|
6486
|
+
* @memberof ProjectConversationItemDto
|
|
6487
|
+
*/
|
|
6488
|
+
title: string;
|
|
6489
|
+
/**
|
|
6490
|
+
* Display name of the conversation's last writer, from DIAL Core.
|
|
6491
|
+
* @type {string}
|
|
6492
|
+
* @memberof ProjectConversationItemDto
|
|
6493
|
+
*/
|
|
6494
|
+
author?: string;
|
|
6495
|
+
/**
|
|
6496
|
+
* Last update time, in epoch milliseconds.
|
|
6497
|
+
* @type {number}
|
|
6498
|
+
* @memberof ProjectConversationItemDto
|
|
6499
|
+
*/
|
|
6500
|
+
updatedAt?: number;
|
|
6501
|
+
}
|
|
6502
|
+
/**
|
|
6503
|
+
*
|
|
6504
|
+
* @export
|
|
6505
|
+
* @interface ProjectConversationListResponseDto
|
|
6506
|
+
*/
|
|
6507
|
+
export interface ProjectConversationListResponseDto {
|
|
6508
|
+
/**
|
|
6509
|
+
* Conversations, newest first.
|
|
6510
|
+
* @type {Array<ProjectConversationItemDto>}
|
|
6511
|
+
* @memberof ProjectConversationListResponseDto
|
|
6512
|
+
*/
|
|
6513
|
+
items: Array<ProjectConversationItemDto>;
|
|
6514
|
+
/**
|
|
6515
|
+
* Whether the project holds more conversations than `items`.
|
|
6516
|
+
* @type {boolean}
|
|
6517
|
+
* @memberof ProjectConversationListResponseDto
|
|
6518
|
+
*/
|
|
6519
|
+
hasMore: boolean;
|
|
6520
|
+
}
|
|
6521
|
+
/**
|
|
6522
|
+
*
|
|
6523
|
+
* @export
|
|
6524
|
+
*/
|
|
6525
|
+
export declare const ProjectCreateErrorCode: {
|
|
6526
|
+
readonly InvalidName: "invalid-name";
|
|
6527
|
+
readonly NameTaken: "name-taken";
|
|
6528
|
+
readonly InvalidFileName: "invalid-file-name";
|
|
6529
|
+
readonly DuplicateFileName: "duplicate-file-name";
|
|
6530
|
+
readonly UnsupportedFileType: "unsupported-file-type";
|
|
6531
|
+
readonly FileTooLarge: "file-too-large";
|
|
6532
|
+
readonly CapacityExceeded: "capacity-exceeded";
|
|
6533
|
+
readonly TooManyFiles: "too-many-files";
|
|
6534
|
+
readonly ProjectChanged: "project-changed";
|
|
6535
|
+
readonly IfMatchRequired: "if-match-required";
|
|
6536
|
+
readonly ProjectTooLarge: "project-too-large";
|
|
6537
|
+
readonly UnknownFile: "unknown-file";
|
|
6538
|
+
readonly ProjectStorageFull: "project-storage-full";
|
|
6539
|
+
};
|
|
6540
|
+
export type ProjectCreateErrorCode = (typeof ProjectCreateErrorCode)[keyof typeof ProjectCreateErrorCode];
|
|
6541
|
+
/**
|
|
6542
|
+
*
|
|
6543
|
+
* @export
|
|
6544
|
+
* @interface ProjectCreateErrorDto
|
|
6545
|
+
*/
|
|
6546
|
+
export interface ProjectCreateErrorDto {
|
|
6547
|
+
/**
|
|
6548
|
+
*
|
|
6549
|
+
* @type {number}
|
|
6550
|
+
* @memberof ProjectCreateErrorDto
|
|
6551
|
+
*/
|
|
6552
|
+
statusCode: number;
|
|
6553
|
+
/**
|
|
6554
|
+
*
|
|
6555
|
+
* @type {ScheduledTaskValidationErrorDtoMessage}
|
|
6556
|
+
* @memberof ProjectCreateErrorDto
|
|
6557
|
+
*/
|
|
6558
|
+
message: ScheduledTaskValidationErrorDtoMessage;
|
|
6559
|
+
/**
|
|
6560
|
+
*
|
|
6561
|
+
* @type {string}
|
|
6562
|
+
* @memberof ProjectCreateErrorDto
|
|
6563
|
+
*/
|
|
6564
|
+
error: string;
|
|
6565
|
+
/**
|
|
6566
|
+
*
|
|
6567
|
+
* @type {ProjectCreateErrorCode}
|
|
6568
|
+
* @memberof ProjectCreateErrorDto
|
|
6569
|
+
*/
|
|
6570
|
+
code?: ProjectCreateErrorCode;
|
|
6571
|
+
/**
|
|
6572
|
+
* `name`, or the name of the rejected context file.
|
|
6573
|
+
* @type {string}
|
|
6574
|
+
* @memberof ProjectCreateErrorDto
|
|
6575
|
+
*/
|
|
6576
|
+
field?: string;
|
|
6577
|
+
}
|
|
6578
|
+
/**
|
|
6579
|
+
*
|
|
6580
|
+
* @export
|
|
6581
|
+
* @interface ProjectDetailsDto
|
|
5135
6582
|
*/
|
|
5136
|
-
export interface
|
|
6583
|
+
export interface ProjectDetailsDto {
|
|
5137
6584
|
/**
|
|
5138
|
-
* DIAL Core bucket
|
|
6585
|
+
* DIAL Core resource id, `projects/{bucket}/{path}` without a trailing slash.
|
|
5139
6586
|
* @type {string}
|
|
5140
|
-
* @memberof
|
|
6587
|
+
* @memberof ProjectDetailsDto
|
|
6588
|
+
*/
|
|
6589
|
+
id: string;
|
|
6590
|
+
/**
|
|
6591
|
+
*
|
|
6592
|
+
* @type {string}
|
|
6593
|
+
* @memberof ProjectDetailsDto
|
|
6594
|
+
*/
|
|
6595
|
+
name: string;
|
|
6596
|
+
/**
|
|
6597
|
+
*
|
|
6598
|
+
* @type {string}
|
|
6599
|
+
* @memberof ProjectDetailsDto
|
|
5141
6600
|
*/
|
|
5142
6601
|
bucket: string;
|
|
5143
6602
|
/**
|
|
5144
|
-
*
|
|
6603
|
+
* Path of the project within its bucket.
|
|
5145
6604
|
* @type {string}
|
|
5146
|
-
* @memberof
|
|
6605
|
+
* @memberof ProjectDetailsDto
|
|
5147
6606
|
*/
|
|
5148
|
-
|
|
6607
|
+
path: string;
|
|
5149
6608
|
/**
|
|
5150
|
-
*
|
|
6609
|
+
* Grouping folder path the project sits in, when nested.
|
|
5151
6610
|
* @type {string}
|
|
5152
|
-
* @memberof
|
|
6611
|
+
* @memberof ProjectDetailsDto
|
|
5153
6612
|
*/
|
|
5154
|
-
|
|
6613
|
+
parentPath?: string;
|
|
5155
6614
|
/**
|
|
5156
|
-
*
|
|
5157
|
-
* @type {
|
|
5158
|
-
* @memberof
|
|
6615
|
+
*
|
|
6616
|
+
* @type {ProjectSource}
|
|
6617
|
+
* @memberof ProjectDetailsDto
|
|
5159
6618
|
*/
|
|
5160
|
-
|
|
6619
|
+
source: ProjectSource;
|
|
5161
6620
|
/**
|
|
5162
6621
|
*
|
|
5163
6622
|
* @type {string}
|
|
5164
|
-
* @memberof
|
|
6623
|
+
* @memberof ProjectDetailsDto
|
|
5165
6624
|
*/
|
|
5166
|
-
|
|
6625
|
+
author?: string;
|
|
5167
6626
|
/**
|
|
5168
|
-
*
|
|
5169
|
-
* @type {
|
|
5170
|
-
* @memberof
|
|
6627
|
+
* Creation time, epoch milliseconds.
|
|
6628
|
+
* @type {number}
|
|
6629
|
+
* @memberof ProjectDetailsDto
|
|
5171
6630
|
*/
|
|
5172
|
-
|
|
5173
|
-
}
|
|
5174
|
-
/**
|
|
5175
|
-
* @export
|
|
5176
|
-
*/
|
|
5177
|
-
export declare const MoveItemDtoNodeTypeEnum: {
|
|
5178
|
-
readonly Item: "item";
|
|
5179
|
-
readonly Folder: "folder";
|
|
5180
|
-
};
|
|
5181
|
-
export type MoveItemDtoNodeTypeEnum = (typeof MoveItemDtoNodeTypeEnum)[keyof typeof MoveItemDtoNodeTypeEnum];
|
|
5182
|
-
/**
|
|
5183
|
-
*
|
|
5184
|
-
* @export
|
|
5185
|
-
* @interface MoveItemResultDto
|
|
5186
|
-
*/
|
|
5187
|
-
export interface MoveItemResultDto {
|
|
6631
|
+
createdAt?: number;
|
|
5188
6632
|
/**
|
|
5189
|
-
*
|
|
6633
|
+
* Last update time, epoch milliseconds.
|
|
6634
|
+
* @type {number}
|
|
6635
|
+
* @memberof ProjectDetailsDto
|
|
6636
|
+
*/
|
|
6637
|
+
updatedAt?: number;
|
|
6638
|
+
/**
|
|
6639
|
+
* Plain-text description from `PROJECT.md`; empty when absent.
|
|
5190
6640
|
* @type {string}
|
|
5191
|
-
* @memberof
|
|
6641
|
+
* @memberof ProjectDetailsDto
|
|
5192
6642
|
*/
|
|
5193
|
-
|
|
6643
|
+
description: string;
|
|
5194
6644
|
/**
|
|
5195
|
-
*
|
|
6645
|
+
* Markdown instructions from `PROJECT.md`; empty when absent.
|
|
5196
6646
|
* @type {string}
|
|
5197
|
-
* @memberof
|
|
6647
|
+
* @memberof ProjectDetailsDto
|
|
5198
6648
|
*/
|
|
5199
|
-
|
|
6649
|
+
instructions: string;
|
|
5200
6650
|
/**
|
|
5201
|
-
*
|
|
5202
|
-
* @type {
|
|
5203
|
-
* @memberof
|
|
6651
|
+
* Files directly under `context/`, sorted by name.
|
|
6652
|
+
* @type {Array<ProjectContextFileDto>}
|
|
6653
|
+
* @memberof ProjectDetailsDto
|
|
5204
6654
|
*/
|
|
5205
|
-
|
|
6655
|
+
contextFiles: Array<ProjectContextFileDto>;
|
|
5206
6656
|
/**
|
|
5207
|
-
*
|
|
6657
|
+
* Aggregate ETag of the version these details were read from. It changes on every write, project conversation writes included.
|
|
5208
6658
|
* @type {string}
|
|
5209
|
-
* @memberof
|
|
6659
|
+
* @memberof ProjectDetailsDto
|
|
5210
6660
|
*/
|
|
5211
|
-
|
|
5212
|
-
}
|
|
5213
|
-
/**
|
|
5214
|
-
*
|
|
5215
|
-
* @export
|
|
5216
|
-
* @interface MovePromptDto
|
|
5217
|
-
*/
|
|
5218
|
-
export interface MovePromptDto {
|
|
6661
|
+
etag: string;
|
|
5219
6662
|
/**
|
|
5220
|
-
*
|
|
6663
|
+
* Version of the project content (`PROJECT.md`, `context/` and every other non-conversation file). A conversation write leaves it unchanged. Send it as `If-Match` on update and delete.
|
|
5221
6664
|
* @type {string}
|
|
5222
|
-
* @memberof
|
|
6665
|
+
* @memberof ProjectDetailsDto
|
|
5223
6666
|
*/
|
|
5224
|
-
|
|
6667
|
+
contentVersion: string;
|
|
6668
|
+
/**
|
|
6669
|
+
* Number of conversations stored in the project.
|
|
6670
|
+
* @type {number}
|
|
6671
|
+
* @memberof ProjectDetailsDto
|
|
6672
|
+
*/
|
|
6673
|
+
conversationCount: number;
|
|
6674
|
+
/**
|
|
6675
|
+
* Whether the caller may edit, delete, share and publish the project — `true` only in the caller's own bucket.
|
|
6676
|
+
* @type {boolean}
|
|
6677
|
+
* @memberof ProjectDetailsDto
|
|
6678
|
+
*/
|
|
6679
|
+
canEdit: boolean;
|
|
5225
6680
|
}
|
|
5226
6681
|
/**
|
|
5227
6682
|
*
|
|
5228
6683
|
* @export
|
|
5229
|
-
* @interface
|
|
6684
|
+
* @interface ProjectDto
|
|
5230
6685
|
*/
|
|
5231
|
-
export interface
|
|
6686
|
+
export interface ProjectDto {
|
|
5232
6687
|
/**
|
|
5233
|
-
*
|
|
6688
|
+
* DIAL Core resource id, `projects/{bucket}/{path}` without a trailing slash.
|
|
5234
6689
|
* @type {string}
|
|
5235
|
-
* @memberof
|
|
6690
|
+
* @memberof ProjectDto
|
|
5236
6691
|
*/
|
|
5237
6692
|
id: string;
|
|
5238
|
-
}
|
|
5239
|
-
/**
|
|
5240
|
-
*
|
|
5241
|
-
* @export
|
|
5242
|
-
* @interface OfflineCredentialsAuthResultDto
|
|
5243
|
-
*/
|
|
5244
|
-
export interface OfflineCredentialsAuthResultDto {
|
|
5245
6693
|
/**
|
|
5246
6694
|
*
|
|
5247
|
-
* @type {
|
|
5248
|
-
* @memberof
|
|
6695
|
+
* @type {string}
|
|
6696
|
+
* @memberof ProjectDto
|
|
5249
6697
|
*/
|
|
5250
|
-
|
|
5251
|
-
}
|
|
5252
|
-
/**
|
|
5253
|
-
*
|
|
5254
|
-
* @export
|
|
5255
|
-
* @interface OfflineCredentialsConnectDto
|
|
5256
|
-
*/
|
|
5257
|
-
export interface OfflineCredentialsConnectDto {
|
|
6698
|
+
name: string;
|
|
5258
6699
|
/**
|
|
5259
6700
|
*
|
|
5260
6701
|
* @type {string}
|
|
5261
|
-
* @memberof
|
|
6702
|
+
* @memberof ProjectDto
|
|
5262
6703
|
*/
|
|
5263
|
-
|
|
6704
|
+
bucket: string;
|
|
5264
6705
|
/**
|
|
5265
|
-
*
|
|
6706
|
+
* Path of the project within its bucket.
|
|
5266
6707
|
* @type {string}
|
|
5267
|
-
* @memberof
|
|
6708
|
+
* @memberof ProjectDto
|
|
5268
6709
|
*/
|
|
5269
|
-
|
|
6710
|
+
path: string;
|
|
5270
6711
|
/**
|
|
5271
|
-
*
|
|
6712
|
+
* Grouping folder path the project sits in, when nested.
|
|
5272
6713
|
* @type {string}
|
|
5273
|
-
* @memberof
|
|
6714
|
+
* @memberof ProjectDto
|
|
5274
6715
|
*/
|
|
5275
|
-
|
|
6716
|
+
parentPath?: string;
|
|
5276
6717
|
/**
|
|
5277
6718
|
*
|
|
5278
|
-
* @type {
|
|
5279
|
-
* @memberof
|
|
6719
|
+
* @type {ProjectSource}
|
|
6720
|
+
* @memberof ProjectDto
|
|
5280
6721
|
*/
|
|
5281
|
-
|
|
6722
|
+
source: ProjectSource;
|
|
6723
|
+
/**
|
|
6724
|
+
*
|
|
6725
|
+
* @type {string}
|
|
6726
|
+
* @memberof ProjectDto
|
|
6727
|
+
*/
|
|
6728
|
+
author?: string;
|
|
6729
|
+
/**
|
|
6730
|
+
* Creation time, epoch milliseconds.
|
|
6731
|
+
* @type {number}
|
|
6732
|
+
* @memberof ProjectDto
|
|
6733
|
+
*/
|
|
6734
|
+
createdAt?: number;
|
|
6735
|
+
/**
|
|
6736
|
+
* Last update time, epoch milliseconds.
|
|
6737
|
+
* @type {number}
|
|
6738
|
+
* @memberof ProjectDto
|
|
6739
|
+
*/
|
|
6740
|
+
updatedAt?: number;
|
|
5282
6741
|
}
|
|
5283
6742
|
/**
|
|
5284
6743
|
*
|
|
5285
6744
|
* @export
|
|
5286
|
-
* @interface OfflineCredentialsSigninBodyDto
|
|
5287
6745
|
*/
|
|
5288
|
-
export
|
|
6746
|
+
export declare const ProjectSource: {
|
|
6747
|
+
readonly Personal: "personal";
|
|
6748
|
+
readonly Shared: "shared";
|
|
6749
|
+
readonly Organization: "organization";
|
|
6750
|
+
};
|
|
6751
|
+
export type ProjectSource = (typeof ProjectSource)[keyof typeof ProjectSource];
|
|
6752
|
+
/**
|
|
6753
|
+
*
|
|
6754
|
+
* @export
|
|
6755
|
+
*/
|
|
6756
|
+
export declare const ProjectWatchAction: {
|
|
6757
|
+
readonly Create: "CREATE";
|
|
6758
|
+
readonly Update: "UPDATE";
|
|
6759
|
+
readonly Delete: "DELETE";
|
|
6760
|
+
};
|
|
6761
|
+
export type ProjectWatchAction = (typeof ProjectWatchAction)[keyof typeof ProjectWatchAction];
|
|
6762
|
+
/**
|
|
6763
|
+
*
|
|
6764
|
+
* @export
|
|
6765
|
+
* @interface ProjectWatchEventDto
|
|
6766
|
+
*/
|
|
6767
|
+
export interface ProjectWatchEventDto {
|
|
5289
6768
|
/**
|
|
5290
|
-
*
|
|
6769
|
+
* Id of the watched project the event is about.
|
|
5291
6770
|
* @type {string}
|
|
5292
|
-
* @memberof
|
|
6771
|
+
* @memberof ProjectWatchEventDto
|
|
5293
6772
|
*/
|
|
5294
|
-
|
|
6773
|
+
id: string;
|
|
5295
6774
|
/**
|
|
5296
|
-
*
|
|
6775
|
+
*
|
|
6776
|
+
* @type {ProjectWatchAction}
|
|
6777
|
+
* @memberof ProjectWatchEventDto
|
|
6778
|
+
*/
|
|
6779
|
+
action: ProjectWatchAction;
|
|
6780
|
+
/**
|
|
6781
|
+
* Epoch ms at which DIAL Core published the event; within milliseconds of the stored `updatedAt`, but not equal to it.
|
|
6782
|
+
* @type {number}
|
|
6783
|
+
* @memberof ProjectWatchEventDto
|
|
6784
|
+
*/
|
|
6785
|
+
timestamp: number;
|
|
6786
|
+
/**
|
|
6787
|
+
* The project's new aggregate ETag; absent on `DELETE`.
|
|
5297
6788
|
* @type {string}
|
|
5298
|
-
* @memberof
|
|
6789
|
+
* @memberof ProjectWatchEventDto
|
|
5299
6790
|
*/
|
|
5300
|
-
|
|
6791
|
+
etag?: string;
|
|
6792
|
+
}
|
|
6793
|
+
/**
|
|
6794
|
+
*
|
|
6795
|
+
* @export
|
|
6796
|
+
* @interface ProjectsConfigDto
|
|
6797
|
+
*/
|
|
6798
|
+
export interface ProjectsConfigDto {
|
|
6799
|
+
/**
|
|
6800
|
+
* Pinned project identifiers (`projects/{bucket}/{path}`).
|
|
6801
|
+
* @type {Array<string>}
|
|
6802
|
+
* @memberof ProjectsConfigDto
|
|
6803
|
+
*/
|
|
6804
|
+
pinnedIds: Array<string>;
|
|
5301
6805
|
}
|
|
5302
6806
|
/**
|
|
5303
6807
|
*
|
|
@@ -5636,6 +7140,7 @@ export declare const PublishHistoryEntryDtoEntityTypeEnum: {
|
|
|
5636
7140
|
readonly Application: "application";
|
|
5637
7141
|
readonly Prompt: "prompt";
|
|
5638
7142
|
readonly Skill: "skill";
|
|
7143
|
+
readonly Project: "project";
|
|
5639
7144
|
};
|
|
5640
7145
|
export type PublishHistoryEntryDtoEntityTypeEnum = (typeof PublishHistoryEntryDtoEntityTypeEnum)[keyof typeof PublishHistoryEntryDtoEntityTypeEnum];
|
|
5641
7146
|
/**
|
|
@@ -5690,6 +7195,7 @@ export declare const PublishResultDtoEntityTypeEnum: {
|
|
|
5690
7195
|
readonly Application: "application";
|
|
5691
7196
|
readonly Prompt: "prompt";
|
|
5692
7197
|
readonly Skill: "skill";
|
|
7198
|
+
readonly Project: "project";
|
|
5693
7199
|
};
|
|
5694
7200
|
export type PublishResultDtoEntityTypeEnum = (typeof PublishResultDtoEntityTypeEnum)[keyof typeof PublishResultDtoEntityTypeEnum];
|
|
5695
7201
|
/**
|
|
@@ -5797,7 +7303,7 @@ export interface RefineTextRequestDto {
|
|
|
5797
7303
|
*/
|
|
5798
7304
|
purpose: TextRefinementPurpose;
|
|
5799
7305
|
/**
|
|
5800
|
-
* Exact nonblank draft. Unicode code point limits: skill Description 4000, task Description 500, application/toolset/prompt Description 2000,
|
|
7306
|
+
* Exact nonblank draft. Unicode code point limits: skill/project Description 4000, task Description 500, application/toolset/prompt Description 2000, skill/task/prompt/project Instructions 32000.
|
|
5801
7307
|
* @type {string}
|
|
5802
7308
|
* @memberof RefineTextRequestDto
|
|
5803
7309
|
*/
|
|
@@ -6297,6 +7803,12 @@ export interface ScheduledTaskRunDto {
|
|
|
6297
7803
|
* @memberof ScheduledTaskRunDto
|
|
6298
7804
|
*/
|
|
6299
7805
|
resultStage?: string;
|
|
7806
|
+
/**
|
|
7807
|
+
* 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.
|
|
7808
|
+
* @type {string}
|
|
7809
|
+
* @memberof ScheduledTaskRunDto
|
|
7810
|
+
*/
|
|
7811
|
+
errorText?: string;
|
|
6300
7812
|
}
|
|
6301
7813
|
/**
|
|
6302
7814
|
* @export
|
|
@@ -6363,6 +7875,16 @@ export interface ScheduledTaskValidationErrorDto {
|
|
|
6363
7875
|
* @export
|
|
6364
7876
|
*/
|
|
6365
7877
|
export type ScheduledTaskValidationErrorDtoMessage = Array<string> | string;
|
|
7878
|
+
/**
|
|
7879
|
+
* Consent state of the DIAL_NATIVE scheduler external service: 'signed_out' when the administrator's application consent is missing or revoked, 'signed_in' when it is in place, and 'unknown' when the consent read itself failed (the offline-credentials status is still valid).
|
|
7880
|
+
* @export
|
|
7881
|
+
*/
|
|
7882
|
+
export declare const SchedulerServiceConsentStatus: {
|
|
7883
|
+
readonly SignedIn: "signed_in";
|
|
7884
|
+
readonly SignedOut: "signed_out";
|
|
7885
|
+
readonly Unknown: "unknown";
|
|
7886
|
+
};
|
|
7887
|
+
export type SchedulerServiceConsentStatus = (typeof SchedulerServiceConsentStatus)[keyof typeof SchedulerServiceConsentStatus];
|
|
6366
7888
|
/**
|
|
6367
7889
|
*
|
|
6368
7890
|
* @export
|
|
@@ -6428,6 +7950,15 @@ export declare const SendCompletionDtoModeEnum: {
|
|
|
6428
7950
|
readonly Edit: "edit";
|
|
6429
7951
|
};
|
|
6430
7952
|
export type SendCompletionDtoModeEnum = (typeof SendCompletionDtoModeEnum)[keyof typeof SendCompletionDtoModeEnum];
|
|
7953
|
+
/**
|
|
7954
|
+
* 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.
|
|
7955
|
+
* @export
|
|
7956
|
+
*/
|
|
7957
|
+
export declare const ShareInvitationErrorCode: {
|
|
7958
|
+
readonly ShareInvitationNotFound: "shareInvitationNotFound";
|
|
7959
|
+
readonly ShareInvitationAcceptedUsersLimitReached: "shareInvitationAcceptedUsersLimitReached";
|
|
7960
|
+
};
|
|
7961
|
+
export type ShareInvitationErrorCode = (typeof ShareInvitationErrorCode)[keyof typeof ShareInvitationErrorCode];
|
|
6431
7962
|
/**
|
|
6432
7963
|
*
|
|
6433
7964
|
* @export
|
|
@@ -6446,6 +7977,12 @@ export interface ShareLinkResponseDto {
|
|
|
6446
7977
|
* @memberof ShareLinkResponseDto
|
|
6447
7978
|
*/
|
|
6448
7979
|
expiresInDays?: number;
|
|
7980
|
+
/**
|
|
7981
|
+
* 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`.
|
|
7982
|
+
* @type {number}
|
|
7983
|
+
* @memberof ShareLinkResponseDto
|
|
7984
|
+
*/
|
|
7985
|
+
expiresInHours?: number;
|
|
6449
7986
|
/**
|
|
6450
7987
|
* Access levels granted to holders of the share link. Edit access implies view access, so this is `[View, Edit]` rather than `[Edit]` alone.
|
|
6451
7988
|
* @type {Array<string>}
|
|
@@ -6888,6 +8425,19 @@ export interface StopCompletionDto {
|
|
|
6888
8425
|
*/
|
|
6889
8426
|
content?: string;
|
|
6890
8427
|
}
|
|
8428
|
+
/**
|
|
8429
|
+
*
|
|
8430
|
+
* @export
|
|
8431
|
+
* @interface StreamConversationTitlesBodyDto
|
|
8432
|
+
*/
|
|
8433
|
+
export interface StreamConversationTitlesBodyDto {
|
|
8434
|
+
/**
|
|
8435
|
+
* Full DIAL Core conversation resource URLs, at most 500 and 262144 bytes as a serialized JSON array. Duplicate IDs produce one outcome; visible conversations should come first, because IDs are admitted in order.
|
|
8436
|
+
* @type {Array<string>}
|
|
8437
|
+
* @memberof StreamConversationTitlesBodyDto
|
|
8438
|
+
*/
|
|
8439
|
+
ids: Array<string>;
|
|
8440
|
+
}
|
|
6891
8441
|
/**
|
|
6892
8442
|
* Server-owned rewriting purpose
|
|
6893
8443
|
* @export
|
|
@@ -6900,6 +8450,9 @@ export declare const TextRefinementPurpose: {
|
|
|
6900
8450
|
readonly ApplicationDescription: "application-description";
|
|
6901
8451
|
readonly ToolsetDescription: "toolset-description";
|
|
6902
8452
|
readonly PromptDescription: "prompt-description";
|
|
8453
|
+
readonly PromptInstructions: "prompt-instructions";
|
|
8454
|
+
readonly ProjectDescription: "project-description";
|
|
8455
|
+
readonly ProjectInstructions: "project-instructions";
|
|
6903
8456
|
};
|
|
6904
8457
|
export type TextRefinementPurpose = (typeof TextRefinementPurpose)[keyof typeof TextRefinementPurpose];
|
|
6905
8458
|
/**
|
|
@@ -7152,6 +8705,12 @@ export interface ToolsetAuthSettingsDto {
|
|
|
7152
8705
|
* @memberof ToolsetAuthSettingsDto
|
|
7153
8706
|
*/
|
|
7154
8707
|
clientId?: string;
|
|
8708
|
+
/**
|
|
8709
|
+
* (OAuth only) Last characters of the stored OAuth client secret, as returned by DIAL Core. Never the secret itself.
|
|
8710
|
+
* @type {string}
|
|
8711
|
+
* @memberof ToolsetAuthSettingsDto
|
|
8712
|
+
*/
|
|
8713
|
+
clientSecretHint?: string;
|
|
7155
8714
|
/**
|
|
7156
8715
|
* (OAuth only) OAuth redirect URI
|
|
7157
8716
|
* @type {string}
|
|
@@ -7507,6 +9066,19 @@ export interface TranscribeAudioDto {
|
|
|
7507
9066
|
*/
|
|
7508
9067
|
mimeType: string;
|
|
7509
9068
|
}
|
|
9069
|
+
/**
|
|
9070
|
+
*
|
|
9071
|
+
* @export
|
|
9072
|
+
* @interface UnpublishAccessDto
|
|
9073
|
+
*/
|
|
9074
|
+
export interface UnpublishAccessDto {
|
|
9075
|
+
/**
|
|
9076
|
+
* Whether the caller may request removal of this entity: true for an administrator or the publisher of the copy
|
|
9077
|
+
* @type {boolean}
|
|
9078
|
+
* @memberof UnpublishAccessDto
|
|
9079
|
+
*/
|
|
9080
|
+
canUnpublish: boolean;
|
|
9081
|
+
}
|
|
7510
9082
|
/**
|
|
7511
9083
|
*
|
|
7512
9084
|
* @export
|
|
@@ -7622,6 +9194,7 @@ export declare const UnpublishResultDtoEntityTypeEnum: {
|
|
|
7622
9194
|
readonly Application: "application";
|
|
7623
9195
|
readonly Prompt: "prompt";
|
|
7624
9196
|
readonly Skill: "skill";
|
|
9197
|
+
readonly Project: "project";
|
|
7625
9198
|
};
|
|
7626
9199
|
export type UnpublishResultDtoEntityTypeEnum = (typeof UnpublishResultDtoEntityTypeEnum)[keyof typeof UnpublishResultDtoEntityTypeEnum];
|
|
7627
9200
|
/**
|
|
@@ -7767,18 +9340,61 @@ export interface UpdateInstalledSkillDto {
|
|
|
7767
9340
|
*/
|
|
7768
9341
|
export interface UpdatePinsDto {
|
|
7769
9342
|
/**
|
|
7770
|
-
* Full DIAL Core resource URL of the conversation to pin or unpin (matches `id` in `ConversationListItemDto`).
|
|
9343
|
+
* Full DIAL Core resource URL of the conversation or project to pin or unpin (matches `id` in `ConversationListItemDto` or `ProjectDto`). A `projects/` id is stored under `projects.pinnedIds`.
|
|
7771
9344
|
* @type {string}
|
|
7772
9345
|
* @memberof UpdatePinsDto
|
|
7773
9346
|
*/
|
|
7774
9347
|
path: string;
|
|
7775
9348
|
/**
|
|
7776
|
-
* Pass `true` to pin the conversation, `false` to unpin.
|
|
9349
|
+
* Pass `true` to pin the conversation or project, `false` to unpin.
|
|
7777
9350
|
* @type {boolean}
|
|
7778
9351
|
* @memberof UpdatePinsDto
|
|
7779
9352
|
*/
|
|
7780
9353
|
isPinned: boolean;
|
|
7781
9354
|
}
|
|
9355
|
+
/**
|
|
9356
|
+
*
|
|
9357
|
+
* @export
|
|
9358
|
+
* @interface UpdateProjectResponseDto
|
|
9359
|
+
*/
|
|
9360
|
+
export interface UpdateProjectResponseDto {
|
|
9361
|
+
/**
|
|
9362
|
+
* The project id after the save — a new id when it was renamed.
|
|
9363
|
+
* @type {string}
|
|
9364
|
+
* @memberof UpdateProjectResponseDto
|
|
9365
|
+
*/
|
|
9366
|
+
id: string;
|
|
9367
|
+
/**
|
|
9368
|
+
*
|
|
9369
|
+
* @type {string}
|
|
9370
|
+
* @memberof UpdateProjectResponseDto
|
|
9371
|
+
*/
|
|
9372
|
+
name: string;
|
|
9373
|
+
/**
|
|
9374
|
+
*
|
|
9375
|
+
* @type {string}
|
|
9376
|
+
* @memberof UpdateProjectResponseDto
|
|
9377
|
+
*/
|
|
9378
|
+
bucket: string;
|
|
9379
|
+
/**
|
|
9380
|
+
*
|
|
9381
|
+
* @type {string}
|
|
9382
|
+
* @memberof UpdateProjectResponseDto
|
|
9383
|
+
*/
|
|
9384
|
+
path: string;
|
|
9385
|
+
/**
|
|
9386
|
+
* Aggregate ETag of the saved version. Absent when the project was renamed and its new ETag could not be read back; the save itself committed, so reload the project for a fresh one.
|
|
9387
|
+
* @type {string}
|
|
9388
|
+
* @memberof UpdateProjectResponseDto
|
|
9389
|
+
*/
|
|
9390
|
+
etag?: string;
|
|
9391
|
+
/**
|
|
9392
|
+
* Whether the project is in the caller's pins after the save.
|
|
9393
|
+
* @type {boolean}
|
|
9394
|
+
* @memberof UpdateProjectResponseDto
|
|
9395
|
+
*/
|
|
9396
|
+
isPinned: boolean;
|
|
9397
|
+
}
|
|
7782
9398
|
/**
|
|
7783
9399
|
*
|
|
7784
9400
|
* @export
|
|
@@ -8052,6 +9668,12 @@ export interface UserConfigDto {
|
|
|
8052
9668
|
* @memberof UserConfigDto
|
|
8053
9669
|
*/
|
|
8054
9670
|
conversations: ConversationsConfigDto;
|
|
9671
|
+
/**
|
|
9672
|
+
*
|
|
9673
|
+
* @type {ProjectsConfigDto}
|
|
9674
|
+
* @memberof UserConfigDto
|
|
9675
|
+
*/
|
|
9676
|
+
projects: ProjectsConfigDto;
|
|
8055
9677
|
/**
|
|
8056
9678
|
*
|
|
8057
9679
|
* @type {ToolsetsConfigDto}
|
|
@@ -8154,6 +9776,12 @@ export interface UserProfileDto {
|
|
|
8154
9776
|
* @memberof UserProfileDto
|
|
8155
9777
|
*/
|
|
8156
9778
|
isAdmin: boolean;
|
|
9779
|
+
/**
|
|
9780
|
+
* URL of the user's profile picture: the IdP's absolute http(s) `picture` claim, or the same-origin `GET /auth/me/picture` path when the IdP supplied the image inline. Omitted when there is no picture.
|
|
9781
|
+
* @type {string}
|
|
9782
|
+
* @memberof UserProfileDto
|
|
9783
|
+
*/
|
|
9784
|
+
pictureUrl?: string;
|
|
8157
9785
|
}
|
|
8158
9786
|
/**
|
|
8159
9787
|
*
|
|
@@ -8168,4 +9796,17 @@ export interface WatchConversationBodyDto {
|
|
|
8168
9796
|
*/
|
|
8169
9797
|
path: string;
|
|
8170
9798
|
}
|
|
9799
|
+
/**
|
|
9800
|
+
*
|
|
9801
|
+
* @export
|
|
9802
|
+
* @interface WatchProjectsBodyDto
|
|
9803
|
+
*/
|
|
9804
|
+
export interface WatchProjectsBodyDto {
|
|
9805
|
+
/**
|
|
9806
|
+
* Unique ids of the listed projects, `projects/{bucket}/{path}` each.
|
|
9807
|
+
* @type {Array<string>}
|
|
9808
|
+
* @memberof WatchProjectsBodyDto
|
|
9809
|
+
*/
|
|
9810
|
+
ids: Array<string>;
|
|
9811
|
+
}
|
|
8171
9812
|
//# sourceMappingURL=index.d.ts.map
|