@instructure/athena-api-client 3.8.2 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/models/ChatRequestAttachmentsInner.d.ts +12 -0
- package/dist/esm/models/ChatRequestAttachmentsInner.js +13 -1
- package/dist/esm/models/ChatRequestExternalFileUrl.d.ts +12 -1
- package/dist/esm/models/ChatRequestExternalFileUrl.js +13 -2
- package/dist/esm/models/MessageAttachment.d.ts +2 -13
- package/dist/esm/models/MessageAttachment.js +0 -10
- package/dist/esm/models/UploadUrlRequestFilesInner.d.ts +13 -1
- package/dist/esm/models/UploadUrlRequestFilesInner.js +13 -1
- package/dist/esm/models/UserFileUploadUrlRequestFilesInner.d.ts +16 -1
- package/dist/esm/models/UserFileUploadUrlRequestFilesInner.js +16 -1
- package/dist/models/ChatRequestAttachmentsInner.d.ts +12 -0
- package/dist/models/ChatRequestAttachmentsInner.js +13 -1
- package/dist/models/ChatRequestExternalFileUrl.d.ts +12 -1
- package/dist/models/ChatRequestExternalFileUrl.js +13 -2
- package/dist/models/MessageAttachment.d.ts +2 -13
- package/dist/models/MessageAttachment.js +0 -11
- package/dist/models/UploadUrlRequestFilesInner.d.ts +13 -1
- package/dist/models/UploadUrlRequestFilesInner.js +13 -1
- package/dist/models/UserFileUploadUrlRequestFilesInner.d.ts +16 -1
- package/dist/models/UserFileUploadUrlRequestFilesInner.js +16 -1
- package/package.json +1 -1
|
@@ -42,7 +42,19 @@ export declare const ChatRequestAttachmentsInnerMimeTypeEnum: {
|
|
|
42
42
|
readonly ImageJpg: "image/jpg";
|
|
43
43
|
readonly ImagePng: "image/png";
|
|
44
44
|
readonly ImageWebp: "image/webp";
|
|
45
|
+
readonly ImageGif: "image/gif";
|
|
45
46
|
readonly ApplicationPdf: "application/pdf";
|
|
47
|
+
readonly ApplicationMsword: "application/msword";
|
|
48
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
49
|
+
readonly ApplicationVndMsPowerpoint: "application/vnd.ms-powerpoint";
|
|
50
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
51
|
+
readonly ApplicationVndMsExcel: "application/vnd.ms-excel";
|
|
52
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
53
|
+
readonly TextPlain: "text/plain";
|
|
54
|
+
readonly TextMarkdown: "text/markdown";
|
|
55
|
+
readonly TextCsv: "text/csv";
|
|
56
|
+
readonly ApplicationJson: "application/json";
|
|
57
|
+
readonly ApplicationRtf: "application/rtf";
|
|
46
58
|
};
|
|
47
59
|
export type ChatRequestAttachmentsInnerMimeTypeEnum = typeof ChatRequestAttachmentsInnerMimeTypeEnum[keyof typeof ChatRequestAttachmentsInnerMimeTypeEnum];
|
|
48
60
|
/**
|
|
@@ -19,7 +19,19 @@ export const ChatRequestAttachmentsInnerMimeTypeEnum = {
|
|
|
19
19
|
ImageJpg: 'image/jpg',
|
|
20
20
|
ImagePng: 'image/png',
|
|
21
21
|
ImageWebp: 'image/webp',
|
|
22
|
-
|
|
22
|
+
ImageGif: 'image/gif',
|
|
23
|
+
ApplicationPdf: 'application/pdf',
|
|
24
|
+
ApplicationMsword: 'application/msword',
|
|
25
|
+
ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
26
|
+
ApplicationVndMsPowerpoint: 'application/vnd.ms-powerpoint',
|
|
27
|
+
ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
28
|
+
ApplicationVndMsExcel: 'application/vnd.ms-excel',
|
|
29
|
+
ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
30
|
+
TextPlain: 'text/plain',
|
|
31
|
+
TextMarkdown: 'text/markdown',
|
|
32
|
+
TextCsv: 'text/csv',
|
|
33
|
+
ApplicationJson: 'application/json',
|
|
34
|
+
ApplicationRtf: 'application/rtf'
|
|
23
35
|
};
|
|
24
36
|
/**
|
|
25
37
|
* Check if a given object implements the ChatRequestAttachmentsInner interface.
|
|
@@ -38,12 +38,23 @@ export interface ChatRequestExternalFileUrl {
|
|
|
38
38
|
* @export
|
|
39
39
|
*/
|
|
40
40
|
export declare const ChatRequestExternalFileUrlMediaTypeEnum: {
|
|
41
|
-
readonly ImagePng: "image/png";
|
|
42
41
|
readonly ImageJpeg: "image/jpeg";
|
|
43
42
|
readonly ImageJpg: "image/jpg";
|
|
43
|
+
readonly ImagePng: "image/png";
|
|
44
44
|
readonly ImageWebp: "image/webp";
|
|
45
45
|
readonly ImageGif: "image/gif";
|
|
46
46
|
readonly ApplicationPdf: "application/pdf";
|
|
47
|
+
readonly ApplicationMsword: "application/msword";
|
|
48
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
49
|
+
readonly ApplicationVndMsPowerpoint: "application/vnd.ms-powerpoint";
|
|
50
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
51
|
+
readonly ApplicationVndMsExcel: "application/vnd.ms-excel";
|
|
52
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
53
|
+
readonly TextPlain: "text/plain";
|
|
54
|
+
readonly TextMarkdown: "text/markdown";
|
|
55
|
+
readonly TextCsv: "text/csv";
|
|
56
|
+
readonly ApplicationJson: "application/json";
|
|
57
|
+
readonly ApplicationRtf: "application/rtf";
|
|
47
58
|
};
|
|
48
59
|
export type ChatRequestExternalFileUrlMediaTypeEnum = typeof ChatRequestExternalFileUrlMediaTypeEnum[keyof typeof ChatRequestExternalFileUrlMediaTypeEnum];
|
|
49
60
|
/**
|
|
@@ -15,12 +15,23 @@
|
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
17
|
export const ChatRequestExternalFileUrlMediaTypeEnum = {
|
|
18
|
-
ImagePng: 'image/png',
|
|
19
18
|
ImageJpeg: 'image/jpeg',
|
|
20
19
|
ImageJpg: 'image/jpg',
|
|
20
|
+
ImagePng: 'image/png',
|
|
21
21
|
ImageWebp: 'image/webp',
|
|
22
22
|
ImageGif: 'image/gif',
|
|
23
|
-
ApplicationPdf: 'application/pdf'
|
|
23
|
+
ApplicationPdf: 'application/pdf',
|
|
24
|
+
ApplicationMsword: 'application/msword',
|
|
25
|
+
ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
26
|
+
ApplicationVndMsPowerpoint: 'application/vnd.ms-powerpoint',
|
|
27
|
+
ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
28
|
+
ApplicationVndMsExcel: 'application/vnd.ms-excel',
|
|
29
|
+
ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
30
|
+
TextPlain: 'text/plain',
|
|
31
|
+
TextMarkdown: 'text/markdown',
|
|
32
|
+
TextCsv: 'text/csv',
|
|
33
|
+
ApplicationJson: 'application/json',
|
|
34
|
+
ApplicationRtf: 'application/rtf'
|
|
24
35
|
};
|
|
25
36
|
/**
|
|
26
37
|
* Check if a given object implements the ChatRequestExternalFileUrl interface.
|
|
@@ -22,11 +22,11 @@ export interface MessageAttachment {
|
|
|
22
22
|
*/
|
|
23
23
|
fileId?: string;
|
|
24
24
|
/**
|
|
25
|
-
* MIME type of the file
|
|
25
|
+
* MIME type of the file. Usually a supported upload type, but responses may also carry legacy or Canvas-provided content types.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof MessageAttachment
|
|
28
28
|
*/
|
|
29
|
-
mimeType:
|
|
29
|
+
mimeType: string;
|
|
30
30
|
/**
|
|
31
31
|
* Original filename of the uploaded file
|
|
32
32
|
* @type {string}
|
|
@@ -52,17 +52,6 @@ export interface MessageAttachment {
|
|
|
52
52
|
*/
|
|
53
53
|
courseName?: string;
|
|
54
54
|
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const MessageAttachmentMimeTypeEnum: {
|
|
59
|
-
readonly ImageJpeg: "image/jpeg";
|
|
60
|
-
readonly ImageJpg: "image/jpg";
|
|
61
|
-
readonly ImagePng: "image/png";
|
|
62
|
-
readonly ImageWebp: "image/webp";
|
|
63
|
-
readonly ApplicationPdf: "application/pdf";
|
|
64
|
-
};
|
|
65
|
-
export type MessageAttachmentMimeTypeEnum = typeof MessageAttachmentMimeTypeEnum[keyof typeof MessageAttachmentMimeTypeEnum];
|
|
66
55
|
/**
|
|
67
56
|
* Check if a given object implements the MessageAttachment interface.
|
|
68
57
|
*/
|
|
@@ -11,16 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
/**
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const MessageAttachmentMimeTypeEnum = {
|
|
18
|
-
ImageJpeg: 'image/jpeg',
|
|
19
|
-
ImageJpg: 'image/jpg',
|
|
20
|
-
ImagePng: 'image/png',
|
|
21
|
-
ImageWebp: 'image/webp',
|
|
22
|
-
ApplicationPdf: 'application/pdf'
|
|
23
|
-
};
|
|
24
14
|
/**
|
|
25
15
|
* Check if a given object implements the MessageAttachment interface.
|
|
26
16
|
*/
|
|
@@ -22,7 +22,7 @@ export interface UploadUrlRequestFilesInner {
|
|
|
22
22
|
*/
|
|
23
23
|
mimeType: UploadUrlRequestFilesInnerMimeTypeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* File size in bytes (max
|
|
25
|
+
* File size in bytes (max 20971520)
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof UploadUrlRequestFilesInner
|
|
28
28
|
*/
|
|
@@ -36,7 +36,19 @@ export declare const UploadUrlRequestFilesInnerMimeTypeEnum: {
|
|
|
36
36
|
readonly ImageJpg: "image/jpg";
|
|
37
37
|
readonly ImagePng: "image/png";
|
|
38
38
|
readonly ImageWebp: "image/webp";
|
|
39
|
+
readonly ImageGif: "image/gif";
|
|
39
40
|
readonly ApplicationPdf: "application/pdf";
|
|
41
|
+
readonly ApplicationMsword: "application/msword";
|
|
42
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
43
|
+
readonly ApplicationVndMsPowerpoint: "application/vnd.ms-powerpoint";
|
|
44
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
45
|
+
readonly ApplicationVndMsExcel: "application/vnd.ms-excel";
|
|
46
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
47
|
+
readonly TextPlain: "text/plain";
|
|
48
|
+
readonly TextMarkdown: "text/markdown";
|
|
49
|
+
readonly TextCsv: "text/csv";
|
|
50
|
+
readonly ApplicationJson: "application/json";
|
|
51
|
+
readonly ApplicationRtf: "application/rtf";
|
|
40
52
|
};
|
|
41
53
|
export type UploadUrlRequestFilesInnerMimeTypeEnum = typeof UploadUrlRequestFilesInnerMimeTypeEnum[keyof typeof UploadUrlRequestFilesInnerMimeTypeEnum];
|
|
42
54
|
/**
|
|
@@ -19,7 +19,19 @@ export const UploadUrlRequestFilesInnerMimeTypeEnum = {
|
|
|
19
19
|
ImageJpg: 'image/jpg',
|
|
20
20
|
ImagePng: 'image/png',
|
|
21
21
|
ImageWebp: 'image/webp',
|
|
22
|
-
|
|
22
|
+
ImageGif: 'image/gif',
|
|
23
|
+
ApplicationPdf: 'application/pdf',
|
|
24
|
+
ApplicationMsword: 'application/msword',
|
|
25
|
+
ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
26
|
+
ApplicationVndMsPowerpoint: 'application/vnd.ms-powerpoint',
|
|
27
|
+
ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
28
|
+
ApplicationVndMsExcel: 'application/vnd.ms-excel',
|
|
29
|
+
ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
30
|
+
TextPlain: 'text/plain',
|
|
31
|
+
TextMarkdown: 'text/markdown',
|
|
32
|
+
TextCsv: 'text/csv',
|
|
33
|
+
ApplicationJson: 'application/json',
|
|
34
|
+
ApplicationRtf: 'application/rtf'
|
|
23
35
|
};
|
|
24
36
|
/**
|
|
25
37
|
* Check if a given object implements the UploadUrlRequestFilesInner interface.
|
|
@@ -28,7 +28,7 @@ export interface UserFileUploadUrlRequestFilesInner {
|
|
|
28
28
|
*/
|
|
29
29
|
mimeType: UserFileUploadUrlRequestFilesInnerMimeTypeEnum;
|
|
30
30
|
/**
|
|
31
|
-
* File size in bytes (max
|
|
31
|
+
* File size in bytes (max 20971520)
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof UserFileUploadUrlRequestFilesInner
|
|
34
34
|
*/
|
|
@@ -38,8 +38,23 @@ export interface UserFileUploadUrlRequestFilesInner {
|
|
|
38
38
|
* @export
|
|
39
39
|
*/
|
|
40
40
|
export declare const UserFileUploadUrlRequestFilesInnerMimeTypeEnum: {
|
|
41
|
+
readonly ImageJpeg: "image/jpeg";
|
|
42
|
+
readonly ImageJpg: "image/jpg";
|
|
41
43
|
readonly ImagePng: "image/png";
|
|
44
|
+
readonly ImageWebp: "image/webp";
|
|
45
|
+
readonly ImageGif: "image/gif";
|
|
42
46
|
readonly ApplicationPdf: "application/pdf";
|
|
47
|
+
readonly ApplicationMsword: "application/msword";
|
|
48
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
49
|
+
readonly ApplicationVndMsPowerpoint: "application/vnd.ms-powerpoint";
|
|
50
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
51
|
+
readonly ApplicationVndMsExcel: "application/vnd.ms-excel";
|
|
52
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
53
|
+
readonly TextPlain: "text/plain";
|
|
54
|
+
readonly TextMarkdown: "text/markdown";
|
|
55
|
+
readonly TextCsv: "text/csv";
|
|
56
|
+
readonly ApplicationJson: "application/json";
|
|
57
|
+
readonly ApplicationRtf: "application/rtf";
|
|
43
58
|
};
|
|
44
59
|
export type UserFileUploadUrlRequestFilesInnerMimeTypeEnum = typeof UserFileUploadUrlRequestFilesInnerMimeTypeEnum[keyof typeof UserFileUploadUrlRequestFilesInnerMimeTypeEnum];
|
|
45
60
|
/**
|
|
@@ -15,8 +15,23 @@
|
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
17
|
export const UserFileUploadUrlRequestFilesInnerMimeTypeEnum = {
|
|
18
|
+
ImageJpeg: 'image/jpeg',
|
|
19
|
+
ImageJpg: 'image/jpg',
|
|
18
20
|
ImagePng: 'image/png',
|
|
19
|
-
|
|
21
|
+
ImageWebp: 'image/webp',
|
|
22
|
+
ImageGif: 'image/gif',
|
|
23
|
+
ApplicationPdf: 'application/pdf',
|
|
24
|
+
ApplicationMsword: 'application/msword',
|
|
25
|
+
ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
26
|
+
ApplicationVndMsPowerpoint: 'application/vnd.ms-powerpoint',
|
|
27
|
+
ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
28
|
+
ApplicationVndMsExcel: 'application/vnd.ms-excel',
|
|
29
|
+
ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
30
|
+
TextPlain: 'text/plain',
|
|
31
|
+
TextMarkdown: 'text/markdown',
|
|
32
|
+
TextCsv: 'text/csv',
|
|
33
|
+
ApplicationJson: 'application/json',
|
|
34
|
+
ApplicationRtf: 'application/rtf'
|
|
20
35
|
};
|
|
21
36
|
/**
|
|
22
37
|
* Check if a given object implements the UserFileUploadUrlRequestFilesInner interface.
|
|
@@ -42,7 +42,19 @@ export declare const ChatRequestAttachmentsInnerMimeTypeEnum: {
|
|
|
42
42
|
readonly ImageJpg: "image/jpg";
|
|
43
43
|
readonly ImagePng: "image/png";
|
|
44
44
|
readonly ImageWebp: "image/webp";
|
|
45
|
+
readonly ImageGif: "image/gif";
|
|
45
46
|
readonly ApplicationPdf: "application/pdf";
|
|
47
|
+
readonly ApplicationMsword: "application/msword";
|
|
48
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
49
|
+
readonly ApplicationVndMsPowerpoint: "application/vnd.ms-powerpoint";
|
|
50
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
51
|
+
readonly ApplicationVndMsExcel: "application/vnd.ms-excel";
|
|
52
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
53
|
+
readonly TextPlain: "text/plain";
|
|
54
|
+
readonly TextMarkdown: "text/markdown";
|
|
55
|
+
readonly TextCsv: "text/csv";
|
|
56
|
+
readonly ApplicationJson: "application/json";
|
|
57
|
+
readonly ApplicationRtf: "application/rtf";
|
|
46
58
|
};
|
|
47
59
|
export type ChatRequestAttachmentsInnerMimeTypeEnum = typeof ChatRequestAttachmentsInnerMimeTypeEnum[keyof typeof ChatRequestAttachmentsInnerMimeTypeEnum];
|
|
48
60
|
/**
|
|
@@ -27,7 +27,19 @@ exports.ChatRequestAttachmentsInnerMimeTypeEnum = {
|
|
|
27
27
|
ImageJpg: 'image/jpg',
|
|
28
28
|
ImagePng: 'image/png',
|
|
29
29
|
ImageWebp: 'image/webp',
|
|
30
|
-
|
|
30
|
+
ImageGif: 'image/gif',
|
|
31
|
+
ApplicationPdf: 'application/pdf',
|
|
32
|
+
ApplicationMsword: 'application/msword',
|
|
33
|
+
ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
34
|
+
ApplicationVndMsPowerpoint: 'application/vnd.ms-powerpoint',
|
|
35
|
+
ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
36
|
+
ApplicationVndMsExcel: 'application/vnd.ms-excel',
|
|
37
|
+
ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
38
|
+
TextPlain: 'text/plain',
|
|
39
|
+
TextMarkdown: 'text/markdown',
|
|
40
|
+
TextCsv: 'text/csv',
|
|
41
|
+
ApplicationJson: 'application/json',
|
|
42
|
+
ApplicationRtf: 'application/rtf'
|
|
31
43
|
};
|
|
32
44
|
/**
|
|
33
45
|
* Check if a given object implements the ChatRequestAttachmentsInner interface.
|
|
@@ -38,12 +38,23 @@ export interface ChatRequestExternalFileUrl {
|
|
|
38
38
|
* @export
|
|
39
39
|
*/
|
|
40
40
|
export declare const ChatRequestExternalFileUrlMediaTypeEnum: {
|
|
41
|
-
readonly ImagePng: "image/png";
|
|
42
41
|
readonly ImageJpeg: "image/jpeg";
|
|
43
42
|
readonly ImageJpg: "image/jpg";
|
|
43
|
+
readonly ImagePng: "image/png";
|
|
44
44
|
readonly ImageWebp: "image/webp";
|
|
45
45
|
readonly ImageGif: "image/gif";
|
|
46
46
|
readonly ApplicationPdf: "application/pdf";
|
|
47
|
+
readonly ApplicationMsword: "application/msword";
|
|
48
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
49
|
+
readonly ApplicationVndMsPowerpoint: "application/vnd.ms-powerpoint";
|
|
50
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
51
|
+
readonly ApplicationVndMsExcel: "application/vnd.ms-excel";
|
|
52
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
53
|
+
readonly TextPlain: "text/plain";
|
|
54
|
+
readonly TextMarkdown: "text/markdown";
|
|
55
|
+
readonly TextCsv: "text/csv";
|
|
56
|
+
readonly ApplicationJson: "application/json";
|
|
57
|
+
readonly ApplicationRtf: "application/rtf";
|
|
47
58
|
};
|
|
48
59
|
export type ChatRequestExternalFileUrlMediaTypeEnum = typeof ChatRequestExternalFileUrlMediaTypeEnum[keyof typeof ChatRequestExternalFileUrlMediaTypeEnum];
|
|
49
60
|
/**
|
|
@@ -23,12 +23,23 @@ exports.ChatRequestExternalFileUrlToJSONTyped = ChatRequestExternalFileUrlToJSON
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.ChatRequestExternalFileUrlMediaTypeEnum = {
|
|
26
|
-
ImagePng: 'image/png',
|
|
27
26
|
ImageJpeg: 'image/jpeg',
|
|
28
27
|
ImageJpg: 'image/jpg',
|
|
28
|
+
ImagePng: 'image/png',
|
|
29
29
|
ImageWebp: 'image/webp',
|
|
30
30
|
ImageGif: 'image/gif',
|
|
31
|
-
ApplicationPdf: 'application/pdf'
|
|
31
|
+
ApplicationPdf: 'application/pdf',
|
|
32
|
+
ApplicationMsword: 'application/msword',
|
|
33
|
+
ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
34
|
+
ApplicationVndMsPowerpoint: 'application/vnd.ms-powerpoint',
|
|
35
|
+
ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
36
|
+
ApplicationVndMsExcel: 'application/vnd.ms-excel',
|
|
37
|
+
ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
38
|
+
TextPlain: 'text/plain',
|
|
39
|
+
TextMarkdown: 'text/markdown',
|
|
40
|
+
TextCsv: 'text/csv',
|
|
41
|
+
ApplicationJson: 'application/json',
|
|
42
|
+
ApplicationRtf: 'application/rtf'
|
|
32
43
|
};
|
|
33
44
|
/**
|
|
34
45
|
* Check if a given object implements the ChatRequestExternalFileUrl interface.
|
|
@@ -22,11 +22,11 @@ export interface MessageAttachment {
|
|
|
22
22
|
*/
|
|
23
23
|
fileId?: string;
|
|
24
24
|
/**
|
|
25
|
-
* MIME type of the file
|
|
25
|
+
* MIME type of the file. Usually a supported upload type, but responses may also carry legacy or Canvas-provided content types.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof MessageAttachment
|
|
28
28
|
*/
|
|
29
|
-
mimeType:
|
|
29
|
+
mimeType: string;
|
|
30
30
|
/**
|
|
31
31
|
* Original filename of the uploaded file
|
|
32
32
|
* @type {string}
|
|
@@ -52,17 +52,6 @@ export interface MessageAttachment {
|
|
|
52
52
|
*/
|
|
53
53
|
courseName?: string;
|
|
54
54
|
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const MessageAttachmentMimeTypeEnum: {
|
|
59
|
-
readonly ImageJpeg: "image/jpeg";
|
|
60
|
-
readonly ImageJpg: "image/jpg";
|
|
61
|
-
readonly ImagePng: "image/png";
|
|
62
|
-
readonly ImageWebp: "image/webp";
|
|
63
|
-
readonly ApplicationPdf: "application/pdf";
|
|
64
|
-
};
|
|
65
|
-
export type MessageAttachmentMimeTypeEnum = typeof MessageAttachmentMimeTypeEnum[keyof typeof MessageAttachmentMimeTypeEnum];
|
|
66
55
|
/**
|
|
67
56
|
* Check if a given object implements the MessageAttachment interface.
|
|
68
57
|
*/
|
|
@@ -13,22 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MessageAttachmentMimeTypeEnum = void 0;
|
|
17
16
|
exports.instanceOfMessageAttachment = instanceOfMessageAttachment;
|
|
18
17
|
exports.MessageAttachmentFromJSON = MessageAttachmentFromJSON;
|
|
19
18
|
exports.MessageAttachmentFromJSONTyped = MessageAttachmentFromJSONTyped;
|
|
20
19
|
exports.MessageAttachmentToJSON = MessageAttachmentToJSON;
|
|
21
20
|
exports.MessageAttachmentToJSONTyped = MessageAttachmentToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.MessageAttachmentMimeTypeEnum = {
|
|
26
|
-
ImageJpeg: 'image/jpeg',
|
|
27
|
-
ImageJpg: 'image/jpg',
|
|
28
|
-
ImagePng: 'image/png',
|
|
29
|
-
ImageWebp: 'image/webp',
|
|
30
|
-
ApplicationPdf: 'application/pdf'
|
|
31
|
-
};
|
|
32
21
|
/**
|
|
33
22
|
* Check if a given object implements the MessageAttachment interface.
|
|
34
23
|
*/
|
|
@@ -22,7 +22,7 @@ export interface UploadUrlRequestFilesInner {
|
|
|
22
22
|
*/
|
|
23
23
|
mimeType: UploadUrlRequestFilesInnerMimeTypeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* File size in bytes (max
|
|
25
|
+
* File size in bytes (max 20971520)
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof UploadUrlRequestFilesInner
|
|
28
28
|
*/
|
|
@@ -36,7 +36,19 @@ export declare const UploadUrlRequestFilesInnerMimeTypeEnum: {
|
|
|
36
36
|
readonly ImageJpg: "image/jpg";
|
|
37
37
|
readonly ImagePng: "image/png";
|
|
38
38
|
readonly ImageWebp: "image/webp";
|
|
39
|
+
readonly ImageGif: "image/gif";
|
|
39
40
|
readonly ApplicationPdf: "application/pdf";
|
|
41
|
+
readonly ApplicationMsword: "application/msword";
|
|
42
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
43
|
+
readonly ApplicationVndMsPowerpoint: "application/vnd.ms-powerpoint";
|
|
44
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
45
|
+
readonly ApplicationVndMsExcel: "application/vnd.ms-excel";
|
|
46
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
47
|
+
readonly TextPlain: "text/plain";
|
|
48
|
+
readonly TextMarkdown: "text/markdown";
|
|
49
|
+
readonly TextCsv: "text/csv";
|
|
50
|
+
readonly ApplicationJson: "application/json";
|
|
51
|
+
readonly ApplicationRtf: "application/rtf";
|
|
40
52
|
};
|
|
41
53
|
export type UploadUrlRequestFilesInnerMimeTypeEnum = typeof UploadUrlRequestFilesInnerMimeTypeEnum[keyof typeof UploadUrlRequestFilesInnerMimeTypeEnum];
|
|
42
54
|
/**
|
|
@@ -27,7 +27,19 @@ exports.UploadUrlRequestFilesInnerMimeTypeEnum = {
|
|
|
27
27
|
ImageJpg: 'image/jpg',
|
|
28
28
|
ImagePng: 'image/png',
|
|
29
29
|
ImageWebp: 'image/webp',
|
|
30
|
-
|
|
30
|
+
ImageGif: 'image/gif',
|
|
31
|
+
ApplicationPdf: 'application/pdf',
|
|
32
|
+
ApplicationMsword: 'application/msword',
|
|
33
|
+
ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
34
|
+
ApplicationVndMsPowerpoint: 'application/vnd.ms-powerpoint',
|
|
35
|
+
ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
36
|
+
ApplicationVndMsExcel: 'application/vnd.ms-excel',
|
|
37
|
+
ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
38
|
+
TextPlain: 'text/plain',
|
|
39
|
+
TextMarkdown: 'text/markdown',
|
|
40
|
+
TextCsv: 'text/csv',
|
|
41
|
+
ApplicationJson: 'application/json',
|
|
42
|
+
ApplicationRtf: 'application/rtf'
|
|
31
43
|
};
|
|
32
44
|
/**
|
|
33
45
|
* Check if a given object implements the UploadUrlRequestFilesInner interface.
|
|
@@ -28,7 +28,7 @@ export interface UserFileUploadUrlRequestFilesInner {
|
|
|
28
28
|
*/
|
|
29
29
|
mimeType: UserFileUploadUrlRequestFilesInnerMimeTypeEnum;
|
|
30
30
|
/**
|
|
31
|
-
* File size in bytes (max
|
|
31
|
+
* File size in bytes (max 20971520)
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof UserFileUploadUrlRequestFilesInner
|
|
34
34
|
*/
|
|
@@ -38,8 +38,23 @@ export interface UserFileUploadUrlRequestFilesInner {
|
|
|
38
38
|
* @export
|
|
39
39
|
*/
|
|
40
40
|
export declare const UserFileUploadUrlRequestFilesInnerMimeTypeEnum: {
|
|
41
|
+
readonly ImageJpeg: "image/jpeg";
|
|
42
|
+
readonly ImageJpg: "image/jpg";
|
|
41
43
|
readonly ImagePng: "image/png";
|
|
44
|
+
readonly ImageWebp: "image/webp";
|
|
45
|
+
readonly ImageGif: "image/gif";
|
|
42
46
|
readonly ApplicationPdf: "application/pdf";
|
|
47
|
+
readonly ApplicationMsword: "application/msword";
|
|
48
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
49
|
+
readonly ApplicationVndMsPowerpoint: "application/vnd.ms-powerpoint";
|
|
50
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
51
|
+
readonly ApplicationVndMsExcel: "application/vnd.ms-excel";
|
|
52
|
+
readonly ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
53
|
+
readonly TextPlain: "text/plain";
|
|
54
|
+
readonly TextMarkdown: "text/markdown";
|
|
55
|
+
readonly TextCsv: "text/csv";
|
|
56
|
+
readonly ApplicationJson: "application/json";
|
|
57
|
+
readonly ApplicationRtf: "application/rtf";
|
|
43
58
|
};
|
|
44
59
|
export type UserFileUploadUrlRequestFilesInnerMimeTypeEnum = typeof UserFileUploadUrlRequestFilesInnerMimeTypeEnum[keyof typeof UserFileUploadUrlRequestFilesInnerMimeTypeEnum];
|
|
45
60
|
/**
|
|
@@ -23,8 +23,23 @@ exports.UserFileUploadUrlRequestFilesInnerToJSONTyped = UserFileUploadUrlRequest
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.UserFileUploadUrlRequestFilesInnerMimeTypeEnum = {
|
|
26
|
+
ImageJpeg: 'image/jpeg',
|
|
27
|
+
ImageJpg: 'image/jpg',
|
|
26
28
|
ImagePng: 'image/png',
|
|
27
|
-
|
|
29
|
+
ImageWebp: 'image/webp',
|
|
30
|
+
ImageGif: 'image/gif',
|
|
31
|
+
ApplicationPdf: 'application/pdf',
|
|
32
|
+
ApplicationMsword: 'application/msword',
|
|
33
|
+
ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
34
|
+
ApplicationVndMsPowerpoint: 'application/vnd.ms-powerpoint',
|
|
35
|
+
ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
|
36
|
+
ApplicationVndMsExcel: 'application/vnd.ms-excel',
|
|
37
|
+
ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
38
|
+
TextPlain: 'text/plain',
|
|
39
|
+
TextMarkdown: 'text/markdown',
|
|
40
|
+
TextCsv: 'text/csv',
|
|
41
|
+
ApplicationJson: 'application/json',
|
|
42
|
+
ApplicationRtf: 'application/rtf'
|
|
28
43
|
};
|
|
29
44
|
/**
|
|
30
45
|
* Check if a given object implements the UserFileUploadUrlRequestFilesInner interface.
|