@instructure/athena-api-client 2.10.0 → 2.11.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.
@@ -54,6 +54,12 @@ export interface ChatRequest {
54
54
  * @memberof ChatRequest
55
55
  */
56
56
  quizContext?: ChatRequestQuizContext;
57
+ /**
58
+ * Optional taxonomy ID to scope this chat to a taxonomy. Only applied when a new chat is created. Requires an active enrollment.
59
+ * @type {string}
60
+ * @memberof ChatRequest
61
+ */
62
+ taxonomyId?: string;
57
63
  }
58
64
  /**
59
65
  * Check if a given object implements the ChatRequest interface.
@@ -38,6 +38,7 @@ export function ChatRequestFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(ChatRequestAttachmentsInnerFromJSON)),
39
39
  'externalFileUrl': json['externalFileUrl'] == null ? undefined : ChatRequestExternalFileUrlFromJSON(json['externalFileUrl']),
40
40
  'quizContext': json['quizContext'] == null ? undefined : ChatRequestQuizContextFromJSON(json['quizContext']),
41
+ 'taxonomyId': json['taxonomyId'] == null ? undefined : json['taxonomyId'],
41
42
  };
42
43
  }
43
44
  export function ChatRequestToJSON(json) {
@@ -54,5 +55,6 @@ export function ChatRequestToJSONTyped(value, ignoreDiscriminator = false) {
54
55
  'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(ChatRequestAttachmentsInnerToJSON)),
55
56
  'externalFileUrl': ChatRequestExternalFileUrlToJSON(value['externalFileUrl']),
56
57
  'quizContext': ChatRequestQuizContextToJSON(value['quizContext']),
58
+ 'taxonomyId': value['taxonomyId'],
57
59
  };
58
60
  }
@@ -54,6 +54,12 @@ export interface ChatRequest {
54
54
  * @memberof ChatRequest
55
55
  */
56
56
  quizContext?: ChatRequestQuizContext;
57
+ /**
58
+ * Optional taxonomy ID to scope this chat to a taxonomy. Only applied when a new chat is created. Requires an active enrollment.
59
+ * @type {string}
60
+ * @memberof ChatRequest
61
+ */
62
+ taxonomyId?: string;
57
63
  }
58
64
  /**
59
65
  * Check if a given object implements the ChatRequest interface.
@@ -45,6 +45,7 @@ function ChatRequestFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(ChatRequestAttachmentsInner_1.ChatRequestAttachmentsInnerFromJSON)),
46
46
  'externalFileUrl': json['externalFileUrl'] == null ? undefined : (0, ChatRequestExternalFileUrl_1.ChatRequestExternalFileUrlFromJSON)(json['externalFileUrl']),
47
47
  'quizContext': json['quizContext'] == null ? undefined : (0, ChatRequestQuizContext_1.ChatRequestQuizContextFromJSON)(json['quizContext']),
48
+ 'taxonomyId': json['taxonomyId'] == null ? undefined : json['taxonomyId'],
48
49
  };
49
50
  }
50
51
  function ChatRequestToJSON(json) {
@@ -61,5 +62,6 @@ function ChatRequestToJSONTyped(value, ignoreDiscriminator = false) {
61
62
  'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(ChatRequestAttachmentsInner_1.ChatRequestAttachmentsInnerToJSON)),
62
63
  'externalFileUrl': (0, ChatRequestExternalFileUrl_1.ChatRequestExternalFileUrlToJSON)(value['externalFileUrl']),
63
64
  'quizContext': (0, ChatRequestQuizContext_1.ChatRequestQuizContextToJSON)(value['quizContext']),
65
+ 'taxonomyId': value['taxonomyId'],
64
66
  };
65
67
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instructure/athena-api-client",
3
3
  "private": false,
4
- "version": "2.10.0",
4
+ "version": "2.11.0",
5
5
  "description": "OpenAPI client for the Athena API",
6
6
  "author": "Instructure",
7
7
  "repository": {