@instructure/athena-api-client 3.21.0 → 3.22.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/apis/StudyObjectivesApi.d.ts +2 -2
- package/dist/apis/StudyObjectivesApi.js +2 -2
- package/dist/esm/apis/StudyObjectivesApi.d.ts +2 -2
- package/dist/esm/apis/StudyObjectivesApi.js +2 -2
- package/dist/esm/models/CreateObjectiveResourceDto.d.ts +7 -0
- package/dist/esm/models/CreateObjectiveResourceDto.js +4 -1
- package/dist/esm/models/ObjectiveResource.d.ts +7 -0
- package/dist/esm/models/ObjectiveResource.js +6 -1
- package/dist/esm/models/StudyPlanActivity.d.ts +6 -0
- package/dist/esm/models/StudyPlanActivity.js +4 -0
- package/dist/models/CreateObjectiveResourceDto.d.ts +7 -0
- package/dist/models/CreateObjectiveResourceDto.js +4 -1
- package/dist/models/ObjectiveResource.d.ts +7 -0
- package/dist/models/ObjectiveResource.js +6 -1
- package/dist/models/StudyPlanActivity.d.ts +6 -0
- package/dist/models/StudyPlanActivity.js +4 -0
- package/package.json +1 -1
|
@@ -64,12 +64,12 @@ export interface UpdateStudyObjectiveRequest {
|
|
|
64
64
|
*/
|
|
65
65
|
export declare class StudyObjectivesApi extends runtime.BaseAPI {
|
|
66
66
|
/**
|
|
67
|
-
* Records that a chat (regular chat, quiz, or
|
|
67
|
+
* Records that a chat (regular chat, quiz, flashcard, or plan activity) is being used in service of a study objective. Pass `studyPlanActivityId` to record which study plan activity the chat was started from — required for `plan-activity` resources — which grounds the chat in that activity and marks it complete.
|
|
68
68
|
* Attach a chat resource to a study objective
|
|
69
69
|
*/
|
|
70
70
|
createObjectiveResourceRaw(requestParameters: CreateObjectiveResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ObjectiveResource>>;
|
|
71
71
|
/**
|
|
72
|
-
* Records that a chat (regular chat, quiz, or
|
|
72
|
+
* Records that a chat (regular chat, quiz, flashcard, or plan activity) is being used in service of a study objective. Pass `studyPlanActivityId` to record which study plan activity the chat was started from — required for `plan-activity` resources — which grounds the chat in that activity and marks it complete.
|
|
73
73
|
* Attach a chat resource to a study objective
|
|
74
74
|
*/
|
|
75
75
|
createObjectiveResource(requestParameters: CreateObjectiveResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectiveResource>;
|
|
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class StudyObjectivesApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
* Records that a chat (regular chat, quiz, or
|
|
33
|
+
* Records that a chat (regular chat, quiz, flashcard, or plan activity) is being used in service of a study objective. Pass `studyPlanActivityId` to record which study plan activity the chat was started from — required for `plan-activity` resources — which grounds the chat in that activity and marks it complete.
|
|
34
34
|
* Attach a chat resource to a study objective
|
|
35
35
|
*/
|
|
36
36
|
createObjectiveResourceRaw(requestParameters, initOverrides) {
|
|
@@ -66,7 +66,7 @@ class StudyObjectivesApi extends runtime.BaseAPI {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* Records that a chat (regular chat, quiz, or
|
|
69
|
+
* Records that a chat (regular chat, quiz, flashcard, or plan activity) is being used in service of a study objective. Pass `studyPlanActivityId` to record which study plan activity the chat was started from — required for `plan-activity` resources — which grounds the chat in that activity and marks it complete.
|
|
70
70
|
* Attach a chat resource to a study objective
|
|
71
71
|
*/
|
|
72
72
|
createObjectiveResource(requestParameters, initOverrides) {
|
|
@@ -64,12 +64,12 @@ export interface UpdateStudyObjectiveRequest {
|
|
|
64
64
|
*/
|
|
65
65
|
export declare class StudyObjectivesApi extends runtime.BaseAPI {
|
|
66
66
|
/**
|
|
67
|
-
* Records that a chat (regular chat, quiz, or
|
|
67
|
+
* Records that a chat (regular chat, quiz, flashcard, or plan activity) is being used in service of a study objective. Pass `studyPlanActivityId` to record which study plan activity the chat was started from — required for `plan-activity` resources — which grounds the chat in that activity and marks it complete.
|
|
68
68
|
* Attach a chat resource to a study objective
|
|
69
69
|
*/
|
|
70
70
|
createObjectiveResourceRaw(requestParameters: CreateObjectiveResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ObjectiveResource>>;
|
|
71
71
|
/**
|
|
72
|
-
* Records that a chat (regular chat, quiz, or
|
|
72
|
+
* Records that a chat (regular chat, quiz, flashcard, or plan activity) is being used in service of a study objective. Pass `studyPlanActivityId` to record which study plan activity the chat was started from — required for `plan-activity` resources — which grounds the chat in that activity and marks it complete.
|
|
73
73
|
* Attach a chat resource to a study objective
|
|
74
74
|
*/
|
|
75
75
|
createObjectiveResource(requestParameters: CreateObjectiveResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectiveResource>;
|
|
@@ -27,7 +27,7 @@ import { CreateObjectiveResourceDtoToJSON, CreateStudyObjectiveDtoToJSON, Object
|
|
|
27
27
|
*/
|
|
28
28
|
export class StudyObjectivesApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
* Records that a chat (regular chat, quiz, or
|
|
30
|
+
* Records that a chat (regular chat, quiz, flashcard, or plan activity) is being used in service of a study objective. Pass `studyPlanActivityId` to record which study plan activity the chat was started from — required for `plan-activity` resources — which grounds the chat in that activity and marks it complete.
|
|
31
31
|
* Attach a chat resource to a study objective
|
|
32
32
|
*/
|
|
33
33
|
createObjectiveResourceRaw(requestParameters, initOverrides) {
|
|
@@ -63,7 +63,7 @@ export class StudyObjectivesApi extends runtime.BaseAPI {
|
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
* Records that a chat (regular chat, quiz, or
|
|
66
|
+
* Records that a chat (regular chat, quiz, flashcard, or plan activity) is being used in service of a study objective. Pass `studyPlanActivityId` to record which study plan activity the chat was started from — required for `plan-activity` resources — which grounds the chat in that activity and marks it complete.
|
|
67
67
|
* Attach a chat resource to a study objective
|
|
68
68
|
*/
|
|
69
69
|
createObjectiveResource(requestParameters, initOverrides) {
|
|
@@ -27,6 +27,12 @@ export interface CreateObjectiveResourceDto {
|
|
|
27
27
|
* @memberof CreateObjectiveResourceDto
|
|
28
28
|
*/
|
|
29
29
|
resourceType: CreateObjectiveResourceDtoResourceTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateObjectiveResourceDto
|
|
34
|
+
*/
|
|
35
|
+
studyPlanActivityId?: string | null;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* @export
|
|
@@ -35,6 +41,7 @@ export declare const CreateObjectiveResourceDtoResourceTypeEnum: {
|
|
|
35
41
|
readonly Chat: "chat";
|
|
36
42
|
readonly Quiz: "quiz";
|
|
37
43
|
readonly Flashcard: "flashcard";
|
|
44
|
+
readonly PlanActivity: "plan-activity";
|
|
38
45
|
};
|
|
39
46
|
export type CreateObjectiveResourceDtoResourceTypeEnum = typeof CreateObjectiveResourceDtoResourceTypeEnum[keyof typeof CreateObjectiveResourceDtoResourceTypeEnum];
|
|
40
47
|
/**
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
export const CreateObjectiveResourceDtoResourceTypeEnum = {
|
|
18
18
|
Chat: 'chat',
|
|
19
19
|
Quiz: 'quiz',
|
|
20
|
-
Flashcard: 'flashcard'
|
|
20
|
+
Flashcard: 'flashcard',
|
|
21
|
+
PlanActivity: 'plan-activity'
|
|
21
22
|
};
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the CreateObjectiveResourceDto interface.
|
|
@@ -39,6 +40,7 @@ export function CreateObjectiveResourceDtoFromJSONTyped(json, ignoreDiscriminato
|
|
|
39
40
|
return {
|
|
40
41
|
'chatId': json['chatId'],
|
|
41
42
|
'resourceType': json['resourceType'],
|
|
43
|
+
'studyPlanActivityId': json['studyPlanActivityId'] == null ? undefined : json['studyPlanActivityId'],
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
export function CreateObjectiveResourceDtoToJSON(json) {
|
|
@@ -51,5 +53,6 @@ export function CreateObjectiveResourceDtoToJSONTyped(value, ignoreDiscriminator
|
|
|
51
53
|
return {
|
|
52
54
|
'chatId': value['chatId'],
|
|
53
55
|
'resourceType': value['resourceType'],
|
|
56
|
+
'studyPlanActivityId': value['studyPlanActivityId'],
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -45,6 +45,12 @@ export interface ObjectiveResource {
|
|
|
45
45
|
* @memberof ObjectiveResource
|
|
46
46
|
*/
|
|
47
47
|
resourceType: ObjectiveResourceResourceTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* The study plan activity this chat was started from, or null when it was not launched from one. Goes null if that plan is later replaced or deleted — the resource itself survives.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ObjectiveResource
|
|
52
|
+
*/
|
|
53
|
+
studyPlanActivityId: string | null;
|
|
48
54
|
/**
|
|
49
55
|
*
|
|
50
56
|
* @type {Date}
|
|
@@ -59,6 +65,7 @@ export declare const ObjectiveResourceResourceTypeEnum: {
|
|
|
59
65
|
readonly Chat: "chat";
|
|
60
66
|
readonly Quiz: "quiz";
|
|
61
67
|
readonly Flashcard: "flashcard";
|
|
68
|
+
readonly PlanActivity: "plan-activity";
|
|
62
69
|
};
|
|
63
70
|
export type ObjectiveResourceResourceTypeEnum = typeof ObjectiveResourceResourceTypeEnum[keyof typeof ObjectiveResourceResourceTypeEnum];
|
|
64
71
|
/**
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
export const ObjectiveResourceResourceTypeEnum = {
|
|
18
18
|
Chat: 'chat',
|
|
19
19
|
Quiz: 'quiz',
|
|
20
|
-
Flashcard: 'flashcard'
|
|
20
|
+
Flashcard: 'flashcard',
|
|
21
|
+
PlanActivity: 'plan-activity'
|
|
21
22
|
};
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the ObjectiveResource interface.
|
|
@@ -33,6 +34,8 @@ export function instanceOfObjectiveResource(value) {
|
|
|
33
34
|
return false;
|
|
34
35
|
if (!('resourceType' in value) || value['resourceType'] === undefined)
|
|
35
36
|
return false;
|
|
37
|
+
if (!('studyPlanActivityId' in value) || value['studyPlanActivityId'] === undefined)
|
|
38
|
+
return false;
|
|
36
39
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
40
|
return false;
|
|
38
41
|
return true;
|
|
@@ -50,6 +53,7 @@ export function ObjectiveResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
53
|
'accountUserId': json['accountUserId'],
|
|
51
54
|
'chatId': json['chatId'],
|
|
52
55
|
'resourceType': json['resourceType'],
|
|
56
|
+
'studyPlanActivityId': json['studyPlanActivityId'],
|
|
53
57
|
'createdAt': (new Date(json['createdAt'])),
|
|
54
58
|
};
|
|
55
59
|
}
|
|
@@ -66,6 +70,7 @@ export function ObjectiveResourceToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
66
70
|
'accountUserId': value['accountUserId'],
|
|
67
71
|
'chatId': value['chatId'],
|
|
68
72
|
'resourceType': value['resourceType'],
|
|
73
|
+
'studyPlanActivityId': value['studyPlanActivityId'],
|
|
69
74
|
'createdAt': value['createdAt'].toISOString(),
|
|
70
75
|
};
|
|
71
76
|
}
|
|
@@ -63,6 +63,12 @@ export interface StudyPlanActivity {
|
|
|
63
63
|
* @memberof StudyPlanActivity
|
|
64
64
|
*/
|
|
65
65
|
completedAt: Date | null;
|
|
66
|
+
/**
|
|
67
|
+
* The most recent chat started from this activity, or null when it has never been started. Reopen this chat rather than starting a second one.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof StudyPlanActivity
|
|
70
|
+
*/
|
|
71
|
+
chatId: string | null;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* Check if a given object implements the StudyPlanActivity interface.
|
|
@@ -31,6 +31,8 @@ export function instanceOfStudyPlanActivity(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('completedAt' in value) || value['completedAt'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('chatId' in value) || value['chatId'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
return true;
|
|
35
37
|
}
|
|
36
38
|
export function StudyPlanActivityFromJSON(json) {
|
|
@@ -49,6 +51,7 @@ export function StudyPlanActivityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'title': json['title'],
|
|
50
52
|
'description': json['description'],
|
|
51
53
|
'completedAt': (json['completedAt'] == null ? null : new Date(json['completedAt'])),
|
|
54
|
+
'chatId': json['chatId'],
|
|
52
55
|
};
|
|
53
56
|
}
|
|
54
57
|
export function StudyPlanActivityToJSON(json) {
|
|
@@ -67,5 +70,6 @@ export function StudyPlanActivityToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
67
70
|
'title': value['title'],
|
|
68
71
|
'description': value['description'],
|
|
69
72
|
'completedAt': value['completedAt'] == null ? value['completedAt'] : value['completedAt'].toISOString(),
|
|
73
|
+
'chatId': value['chatId'],
|
|
70
74
|
};
|
|
71
75
|
}
|
|
@@ -27,6 +27,12 @@ export interface CreateObjectiveResourceDto {
|
|
|
27
27
|
* @memberof CreateObjectiveResourceDto
|
|
28
28
|
*/
|
|
29
29
|
resourceType: CreateObjectiveResourceDtoResourceTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateObjectiveResourceDto
|
|
34
|
+
*/
|
|
35
|
+
studyPlanActivityId?: string | null;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* @export
|
|
@@ -35,6 +41,7 @@ export declare const CreateObjectiveResourceDtoResourceTypeEnum: {
|
|
|
35
41
|
readonly Chat: "chat";
|
|
36
42
|
readonly Quiz: "quiz";
|
|
37
43
|
readonly Flashcard: "flashcard";
|
|
44
|
+
readonly PlanActivity: "plan-activity";
|
|
38
45
|
};
|
|
39
46
|
export type CreateObjectiveResourceDtoResourceTypeEnum = typeof CreateObjectiveResourceDtoResourceTypeEnum[keyof typeof CreateObjectiveResourceDtoResourceTypeEnum];
|
|
40
47
|
/**
|
|
@@ -25,7 +25,8 @@ exports.CreateObjectiveResourceDtoToJSONTyped = CreateObjectiveResourceDtoToJSON
|
|
|
25
25
|
exports.CreateObjectiveResourceDtoResourceTypeEnum = {
|
|
26
26
|
Chat: 'chat',
|
|
27
27
|
Quiz: 'quiz',
|
|
28
|
-
Flashcard: 'flashcard'
|
|
28
|
+
Flashcard: 'flashcard',
|
|
29
|
+
PlanActivity: 'plan-activity'
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* Check if a given object implements the CreateObjectiveResourceDto interface.
|
|
@@ -47,6 +48,7 @@ function CreateObjectiveResourceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
48
|
return {
|
|
48
49
|
'chatId': json['chatId'],
|
|
49
50
|
'resourceType': json['resourceType'],
|
|
51
|
+
'studyPlanActivityId': json['studyPlanActivityId'] == null ? undefined : json['studyPlanActivityId'],
|
|
50
52
|
};
|
|
51
53
|
}
|
|
52
54
|
function CreateObjectiveResourceDtoToJSON(json) {
|
|
@@ -59,5 +61,6 @@ function CreateObjectiveResourceDtoToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
59
61
|
return {
|
|
60
62
|
'chatId': value['chatId'],
|
|
61
63
|
'resourceType': value['resourceType'],
|
|
64
|
+
'studyPlanActivityId': value['studyPlanActivityId'],
|
|
62
65
|
};
|
|
63
66
|
}
|
|
@@ -45,6 +45,12 @@ export interface ObjectiveResource {
|
|
|
45
45
|
* @memberof ObjectiveResource
|
|
46
46
|
*/
|
|
47
47
|
resourceType: ObjectiveResourceResourceTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* The study plan activity this chat was started from, or null when it was not launched from one. Goes null if that plan is later replaced or deleted — the resource itself survives.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ObjectiveResource
|
|
52
|
+
*/
|
|
53
|
+
studyPlanActivityId: string | null;
|
|
48
54
|
/**
|
|
49
55
|
*
|
|
50
56
|
* @type {Date}
|
|
@@ -59,6 +65,7 @@ export declare const ObjectiveResourceResourceTypeEnum: {
|
|
|
59
65
|
readonly Chat: "chat";
|
|
60
66
|
readonly Quiz: "quiz";
|
|
61
67
|
readonly Flashcard: "flashcard";
|
|
68
|
+
readonly PlanActivity: "plan-activity";
|
|
62
69
|
};
|
|
63
70
|
export type ObjectiveResourceResourceTypeEnum = typeof ObjectiveResourceResourceTypeEnum[keyof typeof ObjectiveResourceResourceTypeEnum];
|
|
64
71
|
/**
|
|
@@ -25,7 +25,8 @@ exports.ObjectiveResourceToJSONTyped = ObjectiveResourceToJSONTyped;
|
|
|
25
25
|
exports.ObjectiveResourceResourceTypeEnum = {
|
|
26
26
|
Chat: 'chat',
|
|
27
27
|
Quiz: 'quiz',
|
|
28
|
-
Flashcard: 'flashcard'
|
|
28
|
+
Flashcard: 'flashcard',
|
|
29
|
+
PlanActivity: 'plan-activity'
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* Check if a given object implements the ObjectiveResource interface.
|
|
@@ -41,6 +42,8 @@ function instanceOfObjectiveResource(value) {
|
|
|
41
42
|
return false;
|
|
42
43
|
if (!('resourceType' in value) || value['resourceType'] === undefined)
|
|
43
44
|
return false;
|
|
45
|
+
if (!('studyPlanActivityId' in value) || value['studyPlanActivityId'] === undefined)
|
|
46
|
+
return false;
|
|
44
47
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
45
48
|
return false;
|
|
46
49
|
return true;
|
|
@@ -58,6 +61,7 @@ function ObjectiveResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
61
|
'accountUserId': json['accountUserId'],
|
|
59
62
|
'chatId': json['chatId'],
|
|
60
63
|
'resourceType': json['resourceType'],
|
|
64
|
+
'studyPlanActivityId': json['studyPlanActivityId'],
|
|
61
65
|
'createdAt': (new Date(json['createdAt'])),
|
|
62
66
|
};
|
|
63
67
|
}
|
|
@@ -74,6 +78,7 @@ function ObjectiveResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
78
|
'accountUserId': value['accountUserId'],
|
|
75
79
|
'chatId': value['chatId'],
|
|
76
80
|
'resourceType': value['resourceType'],
|
|
81
|
+
'studyPlanActivityId': value['studyPlanActivityId'],
|
|
77
82
|
'createdAt': value['createdAt'].toISOString(),
|
|
78
83
|
};
|
|
79
84
|
}
|
|
@@ -63,6 +63,12 @@ export interface StudyPlanActivity {
|
|
|
63
63
|
* @memberof StudyPlanActivity
|
|
64
64
|
*/
|
|
65
65
|
completedAt: Date | null;
|
|
66
|
+
/**
|
|
67
|
+
* The most recent chat started from this activity, or null when it has never been started. Reopen this chat rather than starting a second one.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof StudyPlanActivity
|
|
70
|
+
*/
|
|
71
|
+
chatId: string | null;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* Check if a given object implements the StudyPlanActivity interface.
|
|
@@ -38,6 +38,8 @@ function instanceOfStudyPlanActivity(value) {
|
|
|
38
38
|
return false;
|
|
39
39
|
if (!('completedAt' in value) || value['completedAt'] === undefined)
|
|
40
40
|
return false;
|
|
41
|
+
if (!('chatId' in value) || value['chatId'] === undefined)
|
|
42
|
+
return false;
|
|
41
43
|
return true;
|
|
42
44
|
}
|
|
43
45
|
function StudyPlanActivityFromJSON(json) {
|
|
@@ -56,6 +58,7 @@ function StudyPlanActivityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
58
|
'title': json['title'],
|
|
57
59
|
'description': json['description'],
|
|
58
60
|
'completedAt': (json['completedAt'] == null ? null : new Date(json['completedAt'])),
|
|
61
|
+
'chatId': json['chatId'],
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
function StudyPlanActivityToJSON(json) {
|
|
@@ -74,5 +77,6 @@ function StudyPlanActivityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
77
|
'title': value['title'],
|
|
75
78
|
'description': value['description'],
|
|
76
79
|
'completedAt': value['completedAt'] == null ? value['completedAt'] : value['completedAt'].toISOString(),
|
|
80
|
+
'chatId': value['chatId'],
|
|
77
81
|
};
|
|
78
82
|
}
|