@instructure/athena-api-client 3.26.0 → 3.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,6 +51,18 @@ export interface MessageAttachment {
|
|
|
51
51
|
* @memberof MessageAttachment
|
|
52
52
|
*/
|
|
53
53
|
courseName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* True when the stored file is no longer retrievable, so no `url` is issued for it and it is excluded from AI context. Re-upload the file to use it again.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof MessageAttachment
|
|
58
|
+
*/
|
|
59
|
+
unavailable?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* When the file was first found to be no longer retrievable. Present only alongside `unavailable`.
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof MessageAttachment
|
|
64
|
+
*/
|
|
65
|
+
missingAt?: Date;
|
|
54
66
|
}
|
|
55
67
|
/**
|
|
56
68
|
* Check if a given object implements the MessageAttachment interface.
|
|
@@ -35,6 +35,8 @@ export function MessageAttachmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'url': json['url'] == null ? undefined : json['url'],
|
|
36
36
|
'type': json['type'] == null ? undefined : json['type'],
|
|
37
37
|
'courseName': json['courseName'] == null ? undefined : json['courseName'],
|
|
38
|
+
'unavailable': json['unavailable'] == null ? undefined : json['unavailable'],
|
|
39
|
+
'missingAt': json['missingAt'] == null ? undefined : (new Date(json['missingAt'])),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
export function MessageAttachmentToJSON(json) {
|
|
@@ -51,5 +53,7 @@ export function MessageAttachmentToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
51
53
|
'url': value['url'],
|
|
52
54
|
'type': value['type'],
|
|
53
55
|
'courseName': value['courseName'],
|
|
56
|
+
'unavailable': value['unavailable'],
|
|
57
|
+
'missingAt': value['missingAt'] == null ? value['missingAt'] : value['missingAt'].toISOString(),
|
|
54
58
|
};
|
|
55
59
|
}
|
|
@@ -51,6 +51,18 @@ export interface MessageAttachment {
|
|
|
51
51
|
* @memberof MessageAttachment
|
|
52
52
|
*/
|
|
53
53
|
courseName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* True when the stored file is no longer retrievable, so no `url` is issued for it and it is excluded from AI context. Re-upload the file to use it again.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof MessageAttachment
|
|
58
|
+
*/
|
|
59
|
+
unavailable?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* When the file was first found to be no longer retrievable. Present only alongside `unavailable`.
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof MessageAttachment
|
|
64
|
+
*/
|
|
65
|
+
missingAt?: Date;
|
|
54
66
|
}
|
|
55
67
|
/**
|
|
56
68
|
* Check if a given object implements the MessageAttachment interface.
|
|
@@ -42,6 +42,8 @@ function MessageAttachmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'url': json['url'] == null ? undefined : json['url'],
|
|
43
43
|
'type': json['type'] == null ? undefined : json['type'],
|
|
44
44
|
'courseName': json['courseName'] == null ? undefined : json['courseName'],
|
|
45
|
+
'unavailable': json['unavailable'] == null ? undefined : json['unavailable'],
|
|
46
|
+
'missingAt': json['missingAt'] == null ? undefined : (new Date(json['missingAt'])),
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
function MessageAttachmentToJSON(json) {
|
|
@@ -58,5 +60,7 @@ function MessageAttachmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
60
|
'url': value['url'],
|
|
59
61
|
'type': value['type'],
|
|
60
62
|
'courseName': value['courseName'],
|
|
63
|
+
'unavailable': value['unavailable'],
|
|
64
|
+
'missingAt': value['missingAt'] == null ? value['missingAt'] : value['missingAt'].toISOString(),
|
|
61
65
|
};
|
|
62
66
|
}
|