@easyedu/js-lsm-api 1.90.0 → 1.91.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.
Files changed (80) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +15 -2
  3. package/dist/apis/PlayerApi.d.ts +115 -1
  4. package/dist/apis/PlayerApi.js +213 -1
  5. package/dist/esm/apis/PlayerApi.d.ts +115 -1
  6. package/dist/esm/apis/PlayerApi.js +212 -0
  7. package/dist/esm/models/GetResourceSession.d.ts +30 -0
  8. package/dist/esm/models/GetResourceSession.js +16 -0
  9. package/dist/esm/models/GetResourceSessionDiagnostics.d.ts +76 -0
  10. package/dist/esm/models/GetResourceSessionDiagnostics.js +69 -0
  11. package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
  12. package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.js +76 -0
  13. package/dist/esm/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
  14. package/dist/esm/models/GetResourceSessionDiagnosticsResource.js +56 -0
  15. package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
  16. package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.js +59 -0
  17. package/dist/esm/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
  18. package/dist/esm/models/GetResourceSessionDiagnosticsUser.js +47 -0
  19. package/dist/esm/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
  20. package/dist/esm/models/GetResourceSessionDiagnosticsVersion.js +67 -0
  21. package/dist/esm/models/GetResourceSessionScormApiLogs.d.ts +57 -0
  22. package/dist/esm/models/GetResourceSessionScormApiLogs.js +60 -0
  23. package/dist/esm/models/GetResourceSessionScormData.d.ts +77 -0
  24. package/dist/esm/models/GetResourceSessionScormData.js +66 -0
  25. package/dist/esm/models/GetResourceSessionScormDataActivity.d.ts +44 -0
  26. package/dist/esm/models/GetResourceSessionScormDataActivity.js +45 -0
  27. package/dist/esm/models/ResourceSessionScormApiLogItem.d.ts +79 -0
  28. package/dist/esm/models/ResourceSessionScormApiLogItem.js +73 -0
  29. package/dist/esm/models/index.d.ts +10 -0
  30. package/dist/esm/models/index.js +10 -0
  31. package/dist/models/GetResourceSession.d.ts +30 -0
  32. package/dist/models/GetResourceSession.js +16 -0
  33. package/dist/models/GetResourceSessionDiagnostics.d.ts +76 -0
  34. package/dist/models/GetResourceSessionDiagnostics.js +76 -0
  35. package/dist/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
  36. package/dist/models/GetResourceSessionDiagnosticsCourseContext.js +83 -0
  37. package/dist/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
  38. package/dist/models/GetResourceSessionDiagnosticsResource.js +63 -0
  39. package/dist/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
  40. package/dist/models/GetResourceSessionDiagnosticsScormSummary.js +66 -0
  41. package/dist/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
  42. package/dist/models/GetResourceSessionDiagnosticsUser.js +54 -0
  43. package/dist/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
  44. package/dist/models/GetResourceSessionDiagnosticsVersion.js +74 -0
  45. package/dist/models/GetResourceSessionScormApiLogs.d.ts +57 -0
  46. package/dist/models/GetResourceSessionScormApiLogs.js +67 -0
  47. package/dist/models/GetResourceSessionScormData.d.ts +77 -0
  48. package/dist/models/GetResourceSessionScormData.js +73 -0
  49. package/dist/models/GetResourceSessionScormDataActivity.d.ts +44 -0
  50. package/dist/models/GetResourceSessionScormDataActivity.js +52 -0
  51. package/dist/models/ResourceSessionScormApiLogItem.d.ts +79 -0
  52. package/dist/models/ResourceSessionScormApiLogItem.js +81 -0
  53. package/dist/models/index.d.ts +10 -0
  54. package/dist/models/index.js +10 -0
  55. package/docs/GetResourceSession.md +10 -0
  56. package/docs/GetResourceSessionDiagnostics.md +47 -0
  57. package/docs/GetResourceSessionDiagnosticsCourseContext.md +50 -0
  58. package/docs/GetResourceSessionDiagnosticsResource.md +40 -0
  59. package/docs/GetResourceSessionDiagnosticsScormSummary.md +48 -0
  60. package/docs/GetResourceSessionDiagnosticsUser.md +36 -0
  61. package/docs/GetResourceSessionDiagnosticsVersion.md +52 -0
  62. package/docs/GetResourceSessionScormApiLogs.md +43 -0
  63. package/docs/GetResourceSessionScormData.md +49 -0
  64. package/docs/GetResourceSessionScormDataActivity.md +38 -0
  65. package/docs/PlayerApi.md +254 -3
  66. package/docs/ResourceSessionScormApiLogItem.md +47 -0
  67. package/package.json +1 -1
  68. package/src/apis/PlayerApi.ts +298 -1
  69. package/src/models/GetResourceSession.ts +43 -0
  70. package/src/models/GetResourceSessionDiagnostics.ts +161 -0
  71. package/src/models/GetResourceSessionDiagnosticsCourseContext.ts +148 -0
  72. package/src/models/GetResourceSessionDiagnosticsResource.ts +103 -0
  73. package/src/models/GetResourceSessionDiagnosticsScormSummary.ts +123 -0
  74. package/src/models/GetResourceSessionDiagnosticsUser.ts +75 -0
  75. package/src/models/GetResourceSessionDiagnosticsVersion.ts +141 -0
  76. package/src/models/GetResourceSessionScormApiLogs.ts +110 -0
  77. package/src/models/GetResourceSessionScormData.ts +134 -0
  78. package/src/models/GetResourceSessionScormDataActivity.ts +81 -0
  79. package/src/models/ResourceSessionScormApiLogItem.ts +132 -0
  80. package/src/models/index.ts +10 -0
@@ -0,0 +1,81 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
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 { ContentLaunchMode } from './ContentLaunchMode';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetResourceSessionDiagnosticsCourseContext
17
+ */
18
+ export interface GetResourceSessionDiagnosticsCourseContext {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof GetResourceSessionDiagnosticsCourseContext
23
+ */
24
+ courseId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GetResourceSessionDiagnosticsCourseContext
29
+ */
30
+ courseName: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GetResourceSessionDiagnosticsCourseContext
35
+ */
36
+ courseVersionId: string;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GetResourceSessionDiagnosticsCourseContext
41
+ */
42
+ courseVersionNumber: number;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof GetResourceSessionDiagnosticsCourseContext
47
+ */
48
+ itemId: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof GetResourceSessionDiagnosticsCourseContext
53
+ */
54
+ displayName: string;
55
+ /**
56
+ *
57
+ * @type {ContentLaunchMode}
58
+ * @memberof GetResourceSessionDiagnosticsCourseContext
59
+ */
60
+ launchMode: ContentLaunchMode;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof GetResourceSessionDiagnosticsCourseContext
65
+ */
66
+ maxAttempts: number;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof GetResourceSessionDiagnosticsCourseContext
71
+ */
72
+ scoreRollupStrategy: string;
73
+ }
74
+ /**
75
+ * Check if a given object implements the GetResourceSessionDiagnosticsCourseContext interface.
76
+ */
77
+ export declare function instanceOfGetResourceSessionDiagnosticsCourseContext(value: object): value is GetResourceSessionDiagnosticsCourseContext;
78
+ export declare function GetResourceSessionDiagnosticsCourseContextFromJSON(json: any): GetResourceSessionDiagnosticsCourseContext;
79
+ export declare function GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsCourseContext;
80
+ export declare function GetResourceSessionDiagnosticsCourseContextToJSON(json: any): GetResourceSessionDiagnosticsCourseContext;
81
+ export declare function GetResourceSessionDiagnosticsCourseContextToJSONTyped(value?: GetResourceSessionDiagnosticsCourseContext | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,76 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
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 { ContentLaunchModeFromJSON, ContentLaunchModeToJSON, } from './ContentLaunchMode';
15
+ /**
16
+ * Check if a given object implements the GetResourceSessionDiagnosticsCourseContext interface.
17
+ */
18
+ export function instanceOfGetResourceSessionDiagnosticsCourseContext(value) {
19
+ if (!('courseId' in value) || value['courseId'] === undefined)
20
+ return false;
21
+ if (!('courseName' in value) || value['courseName'] === undefined)
22
+ return false;
23
+ if (!('courseVersionId' in value) || value['courseVersionId'] === undefined)
24
+ return false;
25
+ if (!('courseVersionNumber' in value) || value['courseVersionNumber'] === undefined)
26
+ return false;
27
+ if (!('itemId' in value) || value['itemId'] === undefined)
28
+ return false;
29
+ if (!('displayName' in value) || value['displayName'] === undefined)
30
+ return false;
31
+ if (!('launchMode' in value) || value['launchMode'] === undefined)
32
+ return false;
33
+ if (!('maxAttempts' in value) || value['maxAttempts'] === undefined)
34
+ return false;
35
+ if (!('scoreRollupStrategy' in value) || value['scoreRollupStrategy'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ export function GetResourceSessionDiagnosticsCourseContextFromJSON(json) {
40
+ return GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json, false);
41
+ }
42
+ export function GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'courseId': json['course_id'],
48
+ 'courseName': json['course_name'],
49
+ 'courseVersionId': json['course_version_id'],
50
+ 'courseVersionNumber': json['course_version_number'],
51
+ 'itemId': json['item_id'],
52
+ 'displayName': json['display_name'],
53
+ 'launchMode': ContentLaunchModeFromJSON(json['launch_mode']),
54
+ 'maxAttempts': json['max_attempts'],
55
+ 'scoreRollupStrategy': json['score_rollup_strategy'],
56
+ };
57
+ }
58
+ export function GetResourceSessionDiagnosticsCourseContextToJSON(json) {
59
+ return GetResourceSessionDiagnosticsCourseContextToJSONTyped(json, false);
60
+ }
61
+ export function GetResourceSessionDiagnosticsCourseContextToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'course_id': value['courseId'],
67
+ 'course_name': value['courseName'],
68
+ 'course_version_id': value['courseVersionId'],
69
+ 'course_version_number': value['courseVersionNumber'],
70
+ 'item_id': value['itemId'],
71
+ 'display_name': value['displayName'],
72
+ 'launch_mode': ContentLaunchModeToJSON(value['launchMode']),
73
+ 'max_attempts': value['maxAttempts'],
74
+ 'score_rollup_strategy': value['scoreRollupStrategy'],
75
+ };
76
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
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 { ResourceType } from './ResourceType';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetResourceSessionDiagnosticsResource
17
+ */
18
+ export interface GetResourceSessionDiagnosticsResource {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof GetResourceSessionDiagnosticsResource
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GetResourceSessionDiagnosticsResource
29
+ */
30
+ name: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GetResourceSessionDiagnosticsResource
35
+ */
36
+ description: string;
37
+ /**
38
+ *
39
+ * @type {ResourceType}
40
+ * @memberof GetResourceSessionDiagnosticsResource
41
+ */
42
+ resourceType: ResourceType;
43
+ }
44
+ /**
45
+ * Check if a given object implements the GetResourceSessionDiagnosticsResource interface.
46
+ */
47
+ export declare function instanceOfGetResourceSessionDiagnosticsResource(value: object): value is GetResourceSessionDiagnosticsResource;
48
+ export declare function GetResourceSessionDiagnosticsResourceFromJSON(json: any): GetResourceSessionDiagnosticsResource;
49
+ export declare function GetResourceSessionDiagnosticsResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsResource;
50
+ export declare function GetResourceSessionDiagnosticsResourceToJSON(json: any): GetResourceSessionDiagnosticsResource;
51
+ export declare function GetResourceSessionDiagnosticsResourceToJSONTyped(value?: GetResourceSessionDiagnosticsResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
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 { ResourceTypeFromJSON, ResourceTypeToJSON, } from './ResourceType';
15
+ /**
16
+ * Check if a given object implements the GetResourceSessionDiagnosticsResource interface.
17
+ */
18
+ export function instanceOfGetResourceSessionDiagnosticsResource(value) {
19
+ if (!('id' in value) || value['id'] === undefined)
20
+ return false;
21
+ if (!('name' in value) || value['name'] === undefined)
22
+ return false;
23
+ if (!('description' in value) || value['description'] === undefined)
24
+ return false;
25
+ if (!('resourceType' in value) || value['resourceType'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ export function GetResourceSessionDiagnosticsResourceFromJSON(json) {
30
+ return GetResourceSessionDiagnosticsResourceFromJSONTyped(json, false);
31
+ }
32
+ export function GetResourceSessionDiagnosticsResourceFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ 'name': json['name'],
39
+ 'description': json['description'],
40
+ 'resourceType': ResourceTypeFromJSON(json['resource_type']),
41
+ };
42
+ }
43
+ export function GetResourceSessionDiagnosticsResourceToJSON(json) {
44
+ return GetResourceSessionDiagnosticsResourceToJSONTyped(json, false);
45
+ }
46
+ export function GetResourceSessionDiagnosticsResourceToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'name': value['name'],
53
+ 'description': value['description'],
54
+ 'resource_type': ResourceTypeToJSON(value['resourceType']),
55
+ };
56
+ }
@@ -0,0 +1,74 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
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 GetResourceSessionDiagnosticsScormSummary
16
+ */
17
+ export interface GetResourceSessionDiagnosticsScormSummary {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetResourceSessionDiagnosticsScormSummary
22
+ */
23
+ schemaVersion?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetResourceSessionDiagnosticsScormSummary
28
+ */
29
+ manifestIdentifier?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GetResourceSessionDiagnosticsScormSummary
34
+ */
35
+ organizationIdentifier?: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof GetResourceSessionDiagnosticsScormSummary
40
+ */
41
+ organizationTitle?: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof GetResourceSessionDiagnosticsScormSummary
46
+ */
47
+ activityIdentifier?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof GetResourceSessionDiagnosticsScormSummary
52
+ */
53
+ activityTitle?: string | null;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof GetResourceSessionDiagnosticsScormSummary
58
+ */
59
+ cmiElementCount: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof GetResourceSessionDiagnosticsScormSummary
64
+ */
65
+ apiLogCount: number;
66
+ }
67
+ /**
68
+ * Check if a given object implements the GetResourceSessionDiagnosticsScormSummary interface.
69
+ */
70
+ export declare function instanceOfGetResourceSessionDiagnosticsScormSummary(value: object): value is GetResourceSessionDiagnosticsScormSummary;
71
+ export declare function GetResourceSessionDiagnosticsScormSummaryFromJSON(json: any): GetResourceSessionDiagnosticsScormSummary;
72
+ export declare function GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsScormSummary;
73
+ export declare function GetResourceSessionDiagnosticsScormSummaryToJSON(json: any): GetResourceSessionDiagnosticsScormSummary;
74
+ export declare function GetResourceSessionDiagnosticsScormSummaryToJSONTyped(value?: GetResourceSessionDiagnosticsScormSummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
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
+ * Check if a given object implements the GetResourceSessionDiagnosticsScormSummary interface.
16
+ */
17
+ export function instanceOfGetResourceSessionDiagnosticsScormSummary(value) {
18
+ if (!('cmiElementCount' in value) || value['cmiElementCount'] === undefined)
19
+ return false;
20
+ if (!('apiLogCount' in value) || value['apiLogCount'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function GetResourceSessionDiagnosticsScormSummaryFromJSON(json) {
25
+ return GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json, false);
26
+ }
27
+ export function GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'schemaVersion': json['schema_version'] == null ? undefined : json['schema_version'],
33
+ 'manifestIdentifier': json['manifest_identifier'] == null ? undefined : json['manifest_identifier'],
34
+ 'organizationIdentifier': json['organization_identifier'] == null ? undefined : json['organization_identifier'],
35
+ 'organizationTitle': json['organization_title'] == null ? undefined : json['organization_title'],
36
+ 'activityIdentifier': json['activity_identifier'] == null ? undefined : json['activity_identifier'],
37
+ 'activityTitle': json['activity_title'] == null ? undefined : json['activity_title'],
38
+ 'cmiElementCount': json['cmi_element_count'],
39
+ 'apiLogCount': json['api_log_count'],
40
+ };
41
+ }
42
+ export function GetResourceSessionDiagnosticsScormSummaryToJSON(json) {
43
+ return GetResourceSessionDiagnosticsScormSummaryToJSONTyped(json, false);
44
+ }
45
+ export function GetResourceSessionDiagnosticsScormSummaryToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'schema_version': value['schemaVersion'],
51
+ 'manifest_identifier': value['manifestIdentifier'],
52
+ 'organization_identifier': value['organizationIdentifier'],
53
+ 'organization_title': value['organizationTitle'],
54
+ 'activity_identifier': value['activityIdentifier'],
55
+ 'activity_title': value['activityTitle'],
56
+ 'cmi_element_count': value['cmiElementCount'],
57
+ 'api_log_count': value['apiLogCount'],
58
+ };
59
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
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 GetResourceSessionDiagnosticsUser
16
+ */
17
+ export interface GetResourceSessionDiagnosticsUser {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetResourceSessionDiagnosticsUser
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetResourceSessionDiagnosticsUser
28
+ */
29
+ name: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GetResourceSessionDiagnosticsUser interface.
33
+ */
34
+ export declare function instanceOfGetResourceSessionDiagnosticsUser(value: object): value is GetResourceSessionDiagnosticsUser;
35
+ export declare function GetResourceSessionDiagnosticsUserFromJSON(json: any): GetResourceSessionDiagnosticsUser;
36
+ export declare function GetResourceSessionDiagnosticsUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsUser;
37
+ export declare function GetResourceSessionDiagnosticsUserToJSON(json: any): GetResourceSessionDiagnosticsUser;
38
+ export declare function GetResourceSessionDiagnosticsUserToJSONTyped(value?: GetResourceSessionDiagnosticsUser | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
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
+ * Check if a given object implements the GetResourceSessionDiagnosticsUser interface.
16
+ */
17
+ export function instanceOfGetResourceSessionDiagnosticsUser(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function GetResourceSessionDiagnosticsUserFromJSON(json) {
25
+ return GetResourceSessionDiagnosticsUserFromJSONTyped(json, false);
26
+ }
27
+ export function GetResourceSessionDiagnosticsUserFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'id': json['id'],
33
+ 'name': json['name'],
34
+ };
35
+ }
36
+ export function GetResourceSessionDiagnosticsUserToJSON(json) {
37
+ return GetResourceSessionDiagnosticsUserToJSONTyped(json, false);
38
+ }
39
+ export function GetResourceSessionDiagnosticsUserToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'id': value['id'],
45
+ 'name': value['name'],
46
+ };
47
+ }
@@ -0,0 +1,88 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
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 GetResourceSessionDiagnosticsVersion
16
+ */
17
+ export interface GetResourceSessionDiagnosticsVersion {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetResourceSessionDiagnosticsVersion
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GetResourceSessionDiagnosticsVersion
28
+ */
29
+ versionNumber: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GetResourceSessionDiagnosticsVersion
34
+ */
35
+ status: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof GetResourceSessionDiagnosticsVersion
40
+ */
41
+ changeNotes?: string | null;
42
+ /**
43
+ *
44
+ * @type {{ [key: string]: any; }}
45
+ * @memberof GetResourceSessionDiagnosticsVersion
46
+ */
47
+ metadata: {
48
+ [key: string]: any;
49
+ };
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof GetResourceSessionDiagnosticsVersion
54
+ */
55
+ filename?: string | null;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof GetResourceSessionDiagnosticsVersion
60
+ */
61
+ mimeType?: string | null;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof GetResourceSessionDiagnosticsVersion
66
+ */
67
+ fileSizeBytes?: number | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof GetResourceSessionDiagnosticsVersion
72
+ */
73
+ checksumSha256?: string | null;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof GetResourceSessionDiagnosticsVersion
78
+ */
79
+ linkUrl?: string | null;
80
+ }
81
+ /**
82
+ * Check if a given object implements the GetResourceSessionDiagnosticsVersion interface.
83
+ */
84
+ export declare function instanceOfGetResourceSessionDiagnosticsVersion(value: object): value is GetResourceSessionDiagnosticsVersion;
85
+ export declare function GetResourceSessionDiagnosticsVersionFromJSON(json: any): GetResourceSessionDiagnosticsVersion;
86
+ export declare function GetResourceSessionDiagnosticsVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsVersion;
87
+ export declare function GetResourceSessionDiagnosticsVersionToJSON(json: any): GetResourceSessionDiagnosticsVersion;
88
+ export declare function GetResourceSessionDiagnosticsVersionToJSONTyped(value?: GetResourceSessionDiagnosticsVersion | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
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
+ * Check if a given object implements the GetResourceSessionDiagnosticsVersion interface.
16
+ */
17
+ export function instanceOfGetResourceSessionDiagnosticsVersion(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('versionNumber' in value) || value['versionNumber'] === undefined)
21
+ return false;
22
+ if (!('status' in value) || value['status'] === undefined)
23
+ return false;
24
+ if (!('metadata' in value) || value['metadata'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function GetResourceSessionDiagnosticsVersionFromJSON(json) {
29
+ return GetResourceSessionDiagnosticsVersionFromJSONTyped(json, false);
30
+ }
31
+ export function GetResourceSessionDiagnosticsVersionFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': json['id'],
37
+ 'versionNumber': json['version_number'],
38
+ 'status': json['status'],
39
+ 'changeNotes': json['change_notes'] == null ? undefined : json['change_notes'],
40
+ 'metadata': json['metadata'],
41
+ 'filename': json['filename'] == null ? undefined : json['filename'],
42
+ 'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
43
+ 'fileSizeBytes': json['file_size_bytes'] == null ? undefined : json['file_size_bytes'],
44
+ 'checksumSha256': json['checksum_sha256'] == null ? undefined : json['checksum_sha256'],
45
+ 'linkUrl': json['link_url'] == null ? undefined : json['link_url'],
46
+ };
47
+ }
48
+ export function GetResourceSessionDiagnosticsVersionToJSON(json) {
49
+ return GetResourceSessionDiagnosticsVersionToJSONTyped(json, false);
50
+ }
51
+ export function GetResourceSessionDiagnosticsVersionToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'id': value['id'],
57
+ 'version_number': value['versionNumber'],
58
+ 'status': value['status'],
59
+ 'change_notes': value['changeNotes'],
60
+ 'metadata': value['metadata'],
61
+ 'filename': value['filename'],
62
+ 'mime_type': value['mimeType'],
63
+ 'file_size_bytes': value['fileSizeBytes'],
64
+ 'checksum_sha256': value['checksumSha256'],
65
+ 'link_url': value['linkUrl'],
66
+ };
67
+ }