@instructure/athena-api-client 2.6.0 → 2.7.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.
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Athena API
5
+ * REST API for the Athena system
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const TaxonomyEnrollmentStatusEnum = {
18
+ Active: 'active',
19
+ Paused: 'paused'
20
+ };
21
+ /**
22
+ * Check if a given object implements the TaxonomyEnrollment interface.
23
+ */
24
+ export function instanceOfTaxonomyEnrollment(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('accountUserId' in value) || value['accountUserId'] === undefined)
28
+ return false;
29
+ if (!('taxonomyId' in value) || value['taxonomyId'] === undefined)
30
+ return false;
31
+ if (!('enrolledAt' in value) || value['enrolledAt'] === undefined)
32
+ return false;
33
+ if (!('status' in value) || value['status'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ export function TaxonomyEnrollmentFromJSON(json) {
38
+ return TaxonomyEnrollmentFromJSONTyped(json, false);
39
+ }
40
+ export function TaxonomyEnrollmentFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': json['id'],
46
+ 'accountUserId': json['accountUserId'],
47
+ 'taxonomyId': json['taxonomyId'],
48
+ 'enrolledAt': (new Date(json['enrolledAt'])),
49
+ 'status': json['status'],
50
+ };
51
+ }
52
+ export function TaxonomyEnrollmentToJSON(json) {
53
+ return TaxonomyEnrollmentToJSONTyped(json, false);
54
+ }
55
+ export function TaxonomyEnrollmentToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'accountUserId': value['accountUserId'],
62
+ 'taxonomyId': value['taxonomyId'],
63
+ 'enrolledAt': value['enrolledAt'].toISOString(),
64
+ 'status': value['status'],
65
+ };
66
+ }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Athena API
3
+ * REST API for the Athena system
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { EnrollmentTaxonomy } from './EnrollmentTaxonomy';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TaxonomyEnrollmentWithTaxonomy
17
+ */
18
+ export interface TaxonomyEnrollmentWithTaxonomy {
19
+ /**
20
+ * Enrollment ID
21
+ * @type {string}
22
+ * @memberof TaxonomyEnrollmentWithTaxonomy
23
+ */
24
+ id: string;
25
+ /**
26
+ * Account user ID
27
+ * @type {string}
28
+ * @memberof TaxonomyEnrollmentWithTaxonomy
29
+ */
30
+ accountUserId: string;
31
+ /**
32
+ * Taxonomy ID
33
+ * @type {string}
34
+ * @memberof TaxonomyEnrollmentWithTaxonomy
35
+ */
36
+ taxonomyId: string;
37
+ /**
38
+ * Enrollment timestamp
39
+ * @type {Date}
40
+ * @memberof TaxonomyEnrollmentWithTaxonomy
41
+ */
42
+ enrolledAt: Date;
43
+ /**
44
+ * Enrollment status
45
+ * @type {string}
46
+ * @memberof TaxonomyEnrollmentWithTaxonomy
47
+ */
48
+ status: TaxonomyEnrollmentWithTaxonomyStatusEnum;
49
+ /**
50
+ * Taxonomy metadata
51
+ * @type {EnrollmentTaxonomy}
52
+ * @memberof TaxonomyEnrollmentWithTaxonomy
53
+ */
54
+ taxonomy: EnrollmentTaxonomy;
55
+ }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const TaxonomyEnrollmentWithTaxonomyStatusEnum: {
60
+ readonly Active: "active";
61
+ readonly Paused: "paused";
62
+ };
63
+ export type TaxonomyEnrollmentWithTaxonomyStatusEnum = typeof TaxonomyEnrollmentWithTaxonomyStatusEnum[keyof typeof TaxonomyEnrollmentWithTaxonomyStatusEnum];
64
+ /**
65
+ * Check if a given object implements the TaxonomyEnrollmentWithTaxonomy interface.
66
+ */
67
+ export declare function instanceOfTaxonomyEnrollmentWithTaxonomy(value: object): value is TaxonomyEnrollmentWithTaxonomy;
68
+ export declare function TaxonomyEnrollmentWithTaxonomyFromJSON(json: any): TaxonomyEnrollmentWithTaxonomy;
69
+ export declare function TaxonomyEnrollmentWithTaxonomyFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaxonomyEnrollmentWithTaxonomy;
70
+ export declare function TaxonomyEnrollmentWithTaxonomyToJSON(json: any): TaxonomyEnrollmentWithTaxonomy;
71
+ export declare function TaxonomyEnrollmentWithTaxonomyToJSONTyped(value?: TaxonomyEnrollmentWithTaxonomy | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Athena API
5
+ * REST API for the Athena system
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { EnrollmentTaxonomyFromJSON, EnrollmentTaxonomyToJSON, } from './EnrollmentTaxonomy';
15
+ /**
16
+ * @export
17
+ */
18
+ export const TaxonomyEnrollmentWithTaxonomyStatusEnum = {
19
+ Active: 'active',
20
+ Paused: 'paused'
21
+ };
22
+ /**
23
+ * Check if a given object implements the TaxonomyEnrollmentWithTaxonomy interface.
24
+ */
25
+ export function instanceOfTaxonomyEnrollmentWithTaxonomy(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('accountUserId' in value) || value['accountUserId'] === undefined)
29
+ return false;
30
+ if (!('taxonomyId' in value) || value['taxonomyId'] === undefined)
31
+ return false;
32
+ if (!('enrolledAt' in value) || value['enrolledAt'] === undefined)
33
+ return false;
34
+ if (!('status' in value) || value['status'] === undefined)
35
+ return false;
36
+ if (!('taxonomy' in value) || value['taxonomy'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ export function TaxonomyEnrollmentWithTaxonomyFromJSON(json) {
41
+ return TaxonomyEnrollmentWithTaxonomyFromJSONTyped(json, false);
42
+ }
43
+ export function TaxonomyEnrollmentWithTaxonomyFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'id': json['id'],
49
+ 'accountUserId': json['accountUserId'],
50
+ 'taxonomyId': json['taxonomyId'],
51
+ 'enrolledAt': (new Date(json['enrolledAt'])),
52
+ 'status': json['status'],
53
+ 'taxonomy': EnrollmentTaxonomyFromJSON(json['taxonomy']),
54
+ };
55
+ }
56
+ export function TaxonomyEnrollmentWithTaxonomyToJSON(json) {
57
+ return TaxonomyEnrollmentWithTaxonomyToJSONTyped(json, false);
58
+ }
59
+ export function TaxonomyEnrollmentWithTaxonomyToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'id': value['id'],
65
+ 'accountUserId': value['accountUserId'],
66
+ 'taxonomyId': value['taxonomyId'],
67
+ 'enrolledAt': value['enrolledAt'].toISOString(),
68
+ 'status': value['status'],
69
+ 'taxonomy': EnrollmentTaxonomyToJSON(value['taxonomy']),
70
+ };
71
+ }
@@ -28,6 +28,7 @@ export * from './CreatePlanDto';
28
28
  export * from './CreateTokenRequest';
29
29
  export * from './CreateTokenResponse';
30
30
  export * from './DailyQuizStatus';
31
+ export * from './EnrollmentTaxonomy';
31
32
  export * from './FeatureEntity';
32
33
  export * from './FeatureOverrideEntity';
33
34
  export * from './HealthCheck';
@@ -56,6 +57,8 @@ export * from './ServiceToken';
56
57
  export * from './SubmitQuizResponseRequest';
57
58
  export * from './Tag';
58
59
  export * from './TaxonomyDetail';
60
+ export * from './TaxonomyEnrollment';
61
+ export * from './TaxonomyEnrollmentWithTaxonomy';
59
62
  export * from './TaxonomyNode';
60
63
  export * from './TaxonomyNodeConcept';
61
64
  export * from './TaxonomySummary';
@@ -30,6 +30,7 @@ export * from './CreatePlanDto';
30
30
  export * from './CreateTokenRequest';
31
31
  export * from './CreateTokenResponse';
32
32
  export * from './DailyQuizStatus';
33
+ export * from './EnrollmentTaxonomy';
33
34
  export * from './FeatureEntity';
34
35
  export * from './FeatureOverrideEntity';
35
36
  export * from './HealthCheck';
@@ -58,6 +59,8 @@ export * from './ServiceToken';
58
59
  export * from './SubmitQuizResponseRequest';
59
60
  export * from './Tag';
60
61
  export * from './TaxonomyDetail';
62
+ export * from './TaxonomyEnrollment';
63
+ export * from './TaxonomyEnrollmentWithTaxonomy';
61
64
  export * from './TaxonomyNode';
62
65
  export * from './TaxonomyNodeConcept';
63
66
  export * from './TaxonomySummary';
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Athena API
3
+ * REST API for the Athena system
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface EnrollmentTaxonomy
16
+ */
17
+ export interface EnrollmentTaxonomy {
18
+ /**
19
+ * Taxonomy ID
20
+ * @type {string}
21
+ * @memberof EnrollmentTaxonomy
22
+ */
23
+ id: string;
24
+ /**
25
+ * Taxonomy slug
26
+ * @type {string}
27
+ * @memberof EnrollmentTaxonomy
28
+ */
29
+ slug: string;
30
+ /**
31
+ * Taxonomy name
32
+ * @type {string}
33
+ * @memberof EnrollmentTaxonomy
34
+ */
35
+ name: string;
36
+ /**
37
+ * Taxonomy status
38
+ * @type {string}
39
+ * @memberof EnrollmentTaxonomy
40
+ */
41
+ status: EnrollmentTaxonomyStatusEnum;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const EnrollmentTaxonomyStatusEnum: {
47
+ readonly Draft: "draft";
48
+ readonly Active: "active";
49
+ };
50
+ export type EnrollmentTaxonomyStatusEnum = typeof EnrollmentTaxonomyStatusEnum[keyof typeof EnrollmentTaxonomyStatusEnum];
51
+ /**
52
+ * Check if a given object implements the EnrollmentTaxonomy interface.
53
+ */
54
+ export declare function instanceOfEnrollmentTaxonomy(value: object): value is EnrollmentTaxonomy;
55
+ export declare function EnrollmentTaxonomyFromJSON(json: any): EnrollmentTaxonomy;
56
+ export declare function EnrollmentTaxonomyFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnrollmentTaxonomy;
57
+ export declare function EnrollmentTaxonomyToJSON(json: any): EnrollmentTaxonomy;
58
+ export declare function EnrollmentTaxonomyToJSONTyped(value?: EnrollmentTaxonomy | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Athena API
6
+ * REST API for the Athena system
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.EnrollmentTaxonomyStatusEnum = void 0;
17
+ exports.instanceOfEnrollmentTaxonomy = instanceOfEnrollmentTaxonomy;
18
+ exports.EnrollmentTaxonomyFromJSON = EnrollmentTaxonomyFromJSON;
19
+ exports.EnrollmentTaxonomyFromJSONTyped = EnrollmentTaxonomyFromJSONTyped;
20
+ exports.EnrollmentTaxonomyToJSON = EnrollmentTaxonomyToJSON;
21
+ exports.EnrollmentTaxonomyToJSONTyped = EnrollmentTaxonomyToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.EnrollmentTaxonomyStatusEnum = {
26
+ Draft: 'draft',
27
+ Active: 'active'
28
+ };
29
+ /**
30
+ * Check if a given object implements the EnrollmentTaxonomy interface.
31
+ */
32
+ function instanceOfEnrollmentTaxonomy(value) {
33
+ if (!('id' in value) || value['id'] === undefined)
34
+ return false;
35
+ if (!('slug' in value) || value['slug'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('status' in value) || value['status'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function EnrollmentTaxonomyFromJSON(json) {
44
+ return EnrollmentTaxonomyFromJSONTyped(json, false);
45
+ }
46
+ function EnrollmentTaxonomyFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'id': json['id'],
52
+ 'slug': json['slug'],
53
+ 'name': json['name'],
54
+ 'status': json['status'],
55
+ };
56
+ }
57
+ function EnrollmentTaxonomyToJSON(json) {
58
+ return EnrollmentTaxonomyToJSONTyped(json, false);
59
+ }
60
+ function EnrollmentTaxonomyToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'id': value['id'],
66
+ 'slug': value['slug'],
67
+ 'name': value['name'],
68
+ 'status': value['status'],
69
+ };
70
+ }
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Athena API
3
+ * REST API for the Athena system
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface TaxonomyEnrollment
16
+ */
17
+ export interface TaxonomyEnrollment {
18
+ /**
19
+ * Enrollment ID
20
+ * @type {string}
21
+ * @memberof TaxonomyEnrollment
22
+ */
23
+ id: string;
24
+ /**
25
+ * Account user ID
26
+ * @type {string}
27
+ * @memberof TaxonomyEnrollment
28
+ */
29
+ accountUserId: string;
30
+ /**
31
+ * Taxonomy ID
32
+ * @type {string}
33
+ * @memberof TaxonomyEnrollment
34
+ */
35
+ taxonomyId: string;
36
+ /**
37
+ * Enrollment timestamp
38
+ * @type {Date}
39
+ * @memberof TaxonomyEnrollment
40
+ */
41
+ enrolledAt: Date;
42
+ /**
43
+ * Enrollment status
44
+ * @type {string}
45
+ * @memberof TaxonomyEnrollment
46
+ */
47
+ status: TaxonomyEnrollmentStatusEnum;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const TaxonomyEnrollmentStatusEnum: {
53
+ readonly Active: "active";
54
+ readonly Paused: "paused";
55
+ };
56
+ export type TaxonomyEnrollmentStatusEnum = typeof TaxonomyEnrollmentStatusEnum[keyof typeof TaxonomyEnrollmentStatusEnum];
57
+ /**
58
+ * Check if a given object implements the TaxonomyEnrollment interface.
59
+ */
60
+ export declare function instanceOfTaxonomyEnrollment(value: object): value is TaxonomyEnrollment;
61
+ export declare function TaxonomyEnrollmentFromJSON(json: any): TaxonomyEnrollment;
62
+ export declare function TaxonomyEnrollmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaxonomyEnrollment;
63
+ export declare function TaxonomyEnrollmentToJSON(json: any): TaxonomyEnrollment;
64
+ export declare function TaxonomyEnrollmentToJSONTyped(value?: TaxonomyEnrollment | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Athena API
6
+ * REST API for the Athena system
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TaxonomyEnrollmentStatusEnum = void 0;
17
+ exports.instanceOfTaxonomyEnrollment = instanceOfTaxonomyEnrollment;
18
+ exports.TaxonomyEnrollmentFromJSON = TaxonomyEnrollmentFromJSON;
19
+ exports.TaxonomyEnrollmentFromJSONTyped = TaxonomyEnrollmentFromJSONTyped;
20
+ exports.TaxonomyEnrollmentToJSON = TaxonomyEnrollmentToJSON;
21
+ exports.TaxonomyEnrollmentToJSONTyped = TaxonomyEnrollmentToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.TaxonomyEnrollmentStatusEnum = {
26
+ Active: 'active',
27
+ Paused: 'paused'
28
+ };
29
+ /**
30
+ * Check if a given object implements the TaxonomyEnrollment interface.
31
+ */
32
+ function instanceOfTaxonomyEnrollment(value) {
33
+ if (!('id' in value) || value['id'] === undefined)
34
+ return false;
35
+ if (!('accountUserId' in value) || value['accountUserId'] === undefined)
36
+ return false;
37
+ if (!('taxonomyId' in value) || value['taxonomyId'] === undefined)
38
+ return false;
39
+ if (!('enrolledAt' in value) || value['enrolledAt'] === undefined)
40
+ return false;
41
+ if (!('status' in value) || value['status'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ function TaxonomyEnrollmentFromJSON(json) {
46
+ return TaxonomyEnrollmentFromJSONTyped(json, false);
47
+ }
48
+ function TaxonomyEnrollmentFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'id': json['id'],
54
+ 'accountUserId': json['accountUserId'],
55
+ 'taxonomyId': json['taxonomyId'],
56
+ 'enrolledAt': (new Date(json['enrolledAt'])),
57
+ 'status': json['status'],
58
+ };
59
+ }
60
+ function TaxonomyEnrollmentToJSON(json) {
61
+ return TaxonomyEnrollmentToJSONTyped(json, false);
62
+ }
63
+ function TaxonomyEnrollmentToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'id': value['id'],
69
+ 'accountUserId': value['accountUserId'],
70
+ 'taxonomyId': value['taxonomyId'],
71
+ 'enrolledAt': value['enrolledAt'].toISOString(),
72
+ 'status': value['status'],
73
+ };
74
+ }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Athena API
3
+ * REST API for the Athena system
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { EnrollmentTaxonomy } from './EnrollmentTaxonomy';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TaxonomyEnrollmentWithTaxonomy
17
+ */
18
+ export interface TaxonomyEnrollmentWithTaxonomy {
19
+ /**
20
+ * Enrollment ID
21
+ * @type {string}
22
+ * @memberof TaxonomyEnrollmentWithTaxonomy
23
+ */
24
+ id: string;
25
+ /**
26
+ * Account user ID
27
+ * @type {string}
28
+ * @memberof TaxonomyEnrollmentWithTaxonomy
29
+ */
30
+ accountUserId: string;
31
+ /**
32
+ * Taxonomy ID
33
+ * @type {string}
34
+ * @memberof TaxonomyEnrollmentWithTaxonomy
35
+ */
36
+ taxonomyId: string;
37
+ /**
38
+ * Enrollment timestamp
39
+ * @type {Date}
40
+ * @memberof TaxonomyEnrollmentWithTaxonomy
41
+ */
42
+ enrolledAt: Date;
43
+ /**
44
+ * Enrollment status
45
+ * @type {string}
46
+ * @memberof TaxonomyEnrollmentWithTaxonomy
47
+ */
48
+ status: TaxonomyEnrollmentWithTaxonomyStatusEnum;
49
+ /**
50
+ * Taxonomy metadata
51
+ * @type {EnrollmentTaxonomy}
52
+ * @memberof TaxonomyEnrollmentWithTaxonomy
53
+ */
54
+ taxonomy: EnrollmentTaxonomy;
55
+ }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const TaxonomyEnrollmentWithTaxonomyStatusEnum: {
60
+ readonly Active: "active";
61
+ readonly Paused: "paused";
62
+ };
63
+ export type TaxonomyEnrollmentWithTaxonomyStatusEnum = typeof TaxonomyEnrollmentWithTaxonomyStatusEnum[keyof typeof TaxonomyEnrollmentWithTaxonomyStatusEnum];
64
+ /**
65
+ * Check if a given object implements the TaxonomyEnrollmentWithTaxonomy interface.
66
+ */
67
+ export declare function instanceOfTaxonomyEnrollmentWithTaxonomy(value: object): value is TaxonomyEnrollmentWithTaxonomy;
68
+ export declare function TaxonomyEnrollmentWithTaxonomyFromJSON(json: any): TaxonomyEnrollmentWithTaxonomy;
69
+ export declare function TaxonomyEnrollmentWithTaxonomyFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaxonomyEnrollmentWithTaxonomy;
70
+ export declare function TaxonomyEnrollmentWithTaxonomyToJSON(json: any): TaxonomyEnrollmentWithTaxonomy;
71
+ export declare function TaxonomyEnrollmentWithTaxonomyToJSONTyped(value?: TaxonomyEnrollmentWithTaxonomy | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Athena API
6
+ * REST API for the Athena system
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TaxonomyEnrollmentWithTaxonomyStatusEnum = void 0;
17
+ exports.instanceOfTaxonomyEnrollmentWithTaxonomy = instanceOfTaxonomyEnrollmentWithTaxonomy;
18
+ exports.TaxonomyEnrollmentWithTaxonomyFromJSON = TaxonomyEnrollmentWithTaxonomyFromJSON;
19
+ exports.TaxonomyEnrollmentWithTaxonomyFromJSONTyped = TaxonomyEnrollmentWithTaxonomyFromJSONTyped;
20
+ exports.TaxonomyEnrollmentWithTaxonomyToJSON = TaxonomyEnrollmentWithTaxonomyToJSON;
21
+ exports.TaxonomyEnrollmentWithTaxonomyToJSONTyped = TaxonomyEnrollmentWithTaxonomyToJSONTyped;
22
+ const EnrollmentTaxonomy_1 = require("./EnrollmentTaxonomy");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.TaxonomyEnrollmentWithTaxonomyStatusEnum = {
27
+ Active: 'active',
28
+ Paused: 'paused'
29
+ };
30
+ /**
31
+ * Check if a given object implements the TaxonomyEnrollmentWithTaxonomy interface.
32
+ */
33
+ function instanceOfTaxonomyEnrollmentWithTaxonomy(value) {
34
+ if (!('id' in value) || value['id'] === undefined)
35
+ return false;
36
+ if (!('accountUserId' in value) || value['accountUserId'] === undefined)
37
+ return false;
38
+ if (!('taxonomyId' in value) || value['taxonomyId'] === undefined)
39
+ return false;
40
+ if (!('enrolledAt' in value) || value['enrolledAt'] === undefined)
41
+ return false;
42
+ if (!('status' in value) || value['status'] === undefined)
43
+ return false;
44
+ if (!('taxonomy' in value) || value['taxonomy'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function TaxonomyEnrollmentWithTaxonomyFromJSON(json) {
49
+ return TaxonomyEnrollmentWithTaxonomyFromJSONTyped(json, false);
50
+ }
51
+ function TaxonomyEnrollmentWithTaxonomyFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'id': json['id'],
57
+ 'accountUserId': json['accountUserId'],
58
+ 'taxonomyId': json['taxonomyId'],
59
+ 'enrolledAt': (new Date(json['enrolledAt'])),
60
+ 'status': json['status'],
61
+ 'taxonomy': (0, EnrollmentTaxonomy_1.EnrollmentTaxonomyFromJSON)(json['taxonomy']),
62
+ };
63
+ }
64
+ function TaxonomyEnrollmentWithTaxonomyToJSON(json) {
65
+ return TaxonomyEnrollmentWithTaxonomyToJSONTyped(json, false);
66
+ }
67
+ function TaxonomyEnrollmentWithTaxonomyToJSONTyped(value, ignoreDiscriminator = false) {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'id': value['id'],
73
+ 'accountUserId': value['accountUserId'],
74
+ 'taxonomyId': value['taxonomyId'],
75
+ 'enrolledAt': value['enrolledAt'].toISOString(),
76
+ 'status': value['status'],
77
+ 'taxonomy': (0, EnrollmentTaxonomy_1.EnrollmentTaxonomyToJSON)(value['taxonomy']),
78
+ };
79
+ }
@@ -28,6 +28,7 @@ export * from './CreatePlanDto';
28
28
  export * from './CreateTokenRequest';
29
29
  export * from './CreateTokenResponse';
30
30
  export * from './DailyQuizStatus';
31
+ export * from './EnrollmentTaxonomy';
31
32
  export * from './FeatureEntity';
32
33
  export * from './FeatureOverrideEntity';
33
34
  export * from './HealthCheck';
@@ -56,6 +57,8 @@ export * from './ServiceToken';
56
57
  export * from './SubmitQuizResponseRequest';
57
58
  export * from './Tag';
58
59
  export * from './TaxonomyDetail';
60
+ export * from './TaxonomyEnrollment';
61
+ export * from './TaxonomyEnrollmentWithTaxonomy';
59
62
  export * from './TaxonomyNode';
60
63
  export * from './TaxonomyNodeConcept';
61
64
  export * from './TaxonomySummary';