@easyedu/js-lsm-api 1.127.0 → 1.129.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 (55) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +8 -2
  3. package/dist/apis/ScormToolsApi.d.ts +35 -0
  4. package/dist/apis/ScormToolsApi.js +75 -0
  5. package/dist/apis/UserApi.d.ts +16 -0
  6. package/dist/apis/UserApi.js +42 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/apis/ScormToolsApi.d.ts +35 -0
  10. package/dist/esm/apis/ScormToolsApi.js +71 -0
  11. package/dist/esm/apis/UserApi.d.ts +16 -0
  12. package/dist/esm/apis/UserApi.js +42 -0
  13. package/dist/esm/apis/index.d.ts +1 -0
  14. package/dist/esm/apis/index.js +1 -0
  15. package/dist/esm/models/GetSignupSlugAvailability.d.ts +38 -0
  16. package/dist/esm/models/GetSignupSlugAvailability.js +47 -0
  17. package/dist/esm/models/PostSignupRequest.d.ts +6 -0
  18. package/dist/esm/models/PostSignupRequest.js +2 -0
  19. package/dist/esm/models/PostVerifyManifest.d.ts +106 -0
  20. package/dist/esm/models/PostVerifyManifest.js +73 -0
  21. package/dist/esm/models/PostVerifyManifestItemsInner.d.ts +74 -0
  22. package/dist/esm/models/PostVerifyManifestItemsInner.js +55 -0
  23. package/dist/esm/models/PostVerifyManifestResourcesInner.d.ts +56 -0
  24. package/dist/esm/models/PostVerifyManifestResourcesInner.js +49 -0
  25. package/dist/esm/models/index.d.ts +4 -0
  26. package/dist/esm/models/index.js +4 -0
  27. package/dist/models/GetSignupSlugAvailability.d.ts +38 -0
  28. package/dist/models/GetSignupSlugAvailability.js +54 -0
  29. package/dist/models/PostSignupRequest.d.ts +6 -0
  30. package/dist/models/PostSignupRequest.js +2 -0
  31. package/dist/models/PostVerifyManifest.d.ts +106 -0
  32. package/dist/models/PostVerifyManifest.js +80 -0
  33. package/dist/models/PostVerifyManifestItemsInner.d.ts +74 -0
  34. package/dist/models/PostVerifyManifestItemsInner.js +62 -0
  35. package/dist/models/PostVerifyManifestResourcesInner.d.ts +56 -0
  36. package/dist/models/PostVerifyManifestResourcesInner.js +56 -0
  37. package/dist/models/index.d.ts +4 -0
  38. package/dist/models/index.js +4 -0
  39. package/docs/GetSignupSlugAvailability.md +36 -0
  40. package/docs/PostSignupRequest.md +2 -0
  41. package/docs/PostVerifyManifest.md +59 -0
  42. package/docs/PostVerifyManifestItemsInner.md +48 -0
  43. package/docs/PostVerifyManifestResourcesInner.md +42 -0
  44. package/docs/ScormToolsApi.md +78 -0
  45. package/docs/UserApi.md +69 -0
  46. package/package.json +1 -1
  47. package/src/apis/ScormToolsApi.ts +80 -0
  48. package/src/apis/UserApi.ts +57 -0
  49. package/src/apis/index.ts +1 -0
  50. package/src/models/GetSignupSlugAvailability.ts +75 -0
  51. package/src/models/PostSignupRequest.ts +8 -0
  52. package/src/models/PostVerifyManifest.ts +179 -0
  53. package/src/models/PostVerifyManifestItemsInner.ts +121 -0
  54. package/src/models/PostVerifyManifestResourcesInner.ts +97 -0
  55. package/src/models/index.ts +4 -0
@@ -0,0 +1,106 @@
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 { PostVerifyManifestResourcesInner } from './PostVerifyManifestResourcesInner';
13
+ import type { PostVerifyManifestItemsInner } from './PostVerifyManifestItemsInner';
14
+ /**
15
+ * Response from parsing and verifying a SCORM manifest
16
+ * @export
17
+ * @interface PostVerifyManifest
18
+ */
19
+ export interface PostVerifyManifest {
20
+ /**
21
+ * Whether the manifest parsed successfully
22
+ * @type {boolean}
23
+ * @memberof PostVerifyManifest
24
+ */
25
+ valid: boolean;
26
+ /**
27
+ * Parse errors that prevented successful parsing
28
+ * @type {Array<string>}
29
+ * @memberof PostVerifyManifest
30
+ */
31
+ errors: Array<string>;
32
+ /**
33
+ * Non-fatal issues or potential problems detected
34
+ * @type {Array<string>}
35
+ * @memberof PostVerifyManifest
36
+ */
37
+ warnings: Array<string>;
38
+ /**
39
+ * Detected SCORM version (e.g., "1.2", "2004 4th Edition")
40
+ * @type {string}
41
+ * @memberof PostVerifyManifest
42
+ */
43
+ scormVersion?: string | null;
44
+ /**
45
+ * Manifest identifier attribute
46
+ * @type {string}
47
+ * @memberof PostVerifyManifest
48
+ */
49
+ identifier?: string | null;
50
+ /**
51
+ * Manifest version attribute
52
+ * @type {string}
53
+ * @memberof PostVerifyManifest
54
+ */
55
+ version?: string | null;
56
+ /**
57
+ * Organization title (course title)
58
+ * @type {string}
59
+ * @memberof PostVerifyManifest
60
+ */
61
+ title?: string | null;
62
+ /**
63
+ * Metadata schema (e.g., "ADL SCORM")
64
+ * @type {string}
65
+ * @memberof PostVerifyManifest
66
+ */
67
+ schema?: string | null;
68
+ /**
69
+ * Metadata schema version
70
+ * @type {string}
71
+ * @memberof PostVerifyManifest
72
+ */
73
+ schemaVersion?: string | null;
74
+ /**
75
+ * Default organization identifier
76
+ * @type {string}
77
+ * @memberof PostVerifyManifest
78
+ */
79
+ defaultOrganization?: string | null;
80
+ /**
81
+ * List of items (SCOs) from the organization
82
+ * @type {Array<PostVerifyManifestItemsInner>}
83
+ * @memberof PostVerifyManifest
84
+ */
85
+ items?: Array<PostVerifyManifestItemsInner>;
86
+ /**
87
+ * List of resources from the manifest
88
+ * @type {Array<PostVerifyManifestResourcesInner>}
89
+ * @memberof PostVerifyManifest
90
+ */
91
+ resources?: Array<PostVerifyManifestResourcesInner>;
92
+ /**
93
+ * List of SCO entry point URLs
94
+ * @type {Array<string>}
95
+ * @memberof PostVerifyManifest
96
+ */
97
+ entryPoints?: Array<string>;
98
+ }
99
+ /**
100
+ * Check if a given object implements the PostVerifyManifest interface.
101
+ */
102
+ export declare function instanceOfPostVerifyManifest(value: object): value is PostVerifyManifest;
103
+ export declare function PostVerifyManifestFromJSON(json: any): PostVerifyManifest;
104
+ export declare function PostVerifyManifestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVerifyManifest;
105
+ export declare function PostVerifyManifestToJSON(json: any): PostVerifyManifest;
106
+ export declare function PostVerifyManifestToJSONTyped(value?: PostVerifyManifest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,73 @@
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 { PostVerifyManifestResourcesInnerFromJSON, PostVerifyManifestResourcesInnerToJSON, } from './PostVerifyManifestResourcesInner';
15
+ import { PostVerifyManifestItemsInnerFromJSON, PostVerifyManifestItemsInnerToJSON, } from './PostVerifyManifestItemsInner';
16
+ /**
17
+ * Check if a given object implements the PostVerifyManifest interface.
18
+ */
19
+ export function instanceOfPostVerifyManifest(value) {
20
+ if (!('valid' in value) || value['valid'] === undefined)
21
+ return false;
22
+ if (!('errors' in value) || value['errors'] === undefined)
23
+ return false;
24
+ if (!('warnings' in value) || value['warnings'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function PostVerifyManifestFromJSON(json) {
29
+ return PostVerifyManifestFromJSONTyped(json, false);
30
+ }
31
+ export function PostVerifyManifestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'valid': json['valid'],
37
+ 'errors': json['errors'],
38
+ 'warnings': json['warnings'],
39
+ 'scormVersion': json['scorm_version'] == null ? undefined : json['scorm_version'],
40
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
41
+ 'version': json['version'] == null ? undefined : json['version'],
42
+ 'title': json['title'] == null ? undefined : json['title'],
43
+ 'schema': json['schema'] == null ? undefined : json['schema'],
44
+ 'schemaVersion': json['schema_version'] == null ? undefined : json['schema_version'],
45
+ 'defaultOrganization': json['default_organization'] == null ? undefined : json['default_organization'],
46
+ 'items': json['items'] == null ? undefined : (json['items'].map(PostVerifyManifestItemsInnerFromJSON)),
47
+ 'resources': json['resources'] == null ? undefined : (json['resources'].map(PostVerifyManifestResourcesInnerFromJSON)),
48
+ 'entryPoints': json['entry_points'] == null ? undefined : json['entry_points'],
49
+ };
50
+ }
51
+ export function PostVerifyManifestToJSON(json) {
52
+ return PostVerifyManifestToJSONTyped(json, false);
53
+ }
54
+ export function PostVerifyManifestToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'valid': value['valid'],
60
+ 'errors': value['errors'],
61
+ 'warnings': value['warnings'],
62
+ 'scorm_version': value['scormVersion'],
63
+ 'identifier': value['identifier'],
64
+ 'version': value['version'],
65
+ 'title': value['title'],
66
+ 'schema': value['schema'],
67
+ 'schema_version': value['schemaVersion'],
68
+ 'default_organization': value['defaultOrganization'],
69
+ 'items': value['items'] == null ? undefined : (value['items'].map(PostVerifyManifestItemsInnerToJSON)),
70
+ 'resources': value['resources'] == null ? undefined : (value['resources'].map(PostVerifyManifestResourcesInnerToJSON)),
71
+ 'entry_points': value['entryPoints'],
72
+ };
73
+ }
@@ -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 PostVerifyManifestItemsInner
16
+ */
17
+ export interface PostVerifyManifestItemsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostVerifyManifestItemsInner
22
+ */
23
+ identifier?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostVerifyManifestItemsInner
28
+ */
29
+ identifierRef?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostVerifyManifestItemsInner
34
+ */
35
+ title?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PostVerifyManifestItemsInner
40
+ */
41
+ masteryScore?: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PostVerifyManifestItemsInner
46
+ */
47
+ maxTimeAllowed?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PostVerifyManifestItemsInner
52
+ */
53
+ timeLimitAction?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PostVerifyManifestItemsInner
58
+ */
59
+ dataFromLms?: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof PostVerifyManifestItemsInner
64
+ */
65
+ minNormalizedMeasure?: string | null;
66
+ }
67
+ /**
68
+ * Check if a given object implements the PostVerifyManifestItemsInner interface.
69
+ */
70
+ export declare function instanceOfPostVerifyManifestItemsInner(value: object): value is PostVerifyManifestItemsInner;
71
+ export declare function PostVerifyManifestItemsInnerFromJSON(json: any): PostVerifyManifestItemsInner;
72
+ export declare function PostVerifyManifestItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVerifyManifestItemsInner;
73
+ export declare function PostVerifyManifestItemsInnerToJSON(json: any): PostVerifyManifestItemsInner;
74
+ export declare function PostVerifyManifestItemsInnerToJSONTyped(value?: PostVerifyManifestItemsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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 PostVerifyManifestItemsInner interface.
16
+ */
17
+ export function instanceOfPostVerifyManifestItemsInner(value) {
18
+ return true;
19
+ }
20
+ export function PostVerifyManifestItemsInnerFromJSON(json) {
21
+ return PostVerifyManifestItemsInnerFromJSONTyped(json, false);
22
+ }
23
+ export function PostVerifyManifestItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
29
+ 'identifierRef': json['identifier_ref'] == null ? undefined : json['identifier_ref'],
30
+ 'title': json['title'] == null ? undefined : json['title'],
31
+ 'masteryScore': json['mastery_score'] == null ? undefined : json['mastery_score'],
32
+ 'maxTimeAllowed': json['max_time_allowed'] == null ? undefined : json['max_time_allowed'],
33
+ 'timeLimitAction': json['time_limit_action'] == null ? undefined : json['time_limit_action'],
34
+ 'dataFromLms': json['data_from_lms'] == null ? undefined : json['data_from_lms'],
35
+ 'minNormalizedMeasure': json['min_normalized_measure'] == null ? undefined : json['min_normalized_measure'],
36
+ };
37
+ }
38
+ export function PostVerifyManifestItemsInnerToJSON(json) {
39
+ return PostVerifyManifestItemsInnerToJSONTyped(json, false);
40
+ }
41
+ export function PostVerifyManifestItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'identifier': value['identifier'],
47
+ 'identifier_ref': value['identifierRef'],
48
+ 'title': value['title'],
49
+ 'mastery_score': value['masteryScore'],
50
+ 'max_time_allowed': value['maxTimeAllowed'],
51
+ 'time_limit_action': value['timeLimitAction'],
52
+ 'data_from_lms': value['dataFromLms'],
53
+ 'min_normalized_measure': value['minNormalizedMeasure'],
54
+ };
55
+ }
@@ -0,0 +1,56 @@
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 PostVerifyManifestResourcesInner
16
+ */
17
+ export interface PostVerifyManifestResourcesInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostVerifyManifestResourcesInner
22
+ */
23
+ identifier?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostVerifyManifestResourcesInner
28
+ */
29
+ resourceType?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostVerifyManifestResourcesInner
34
+ */
35
+ scormType?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PostVerifyManifestResourcesInner
40
+ */
41
+ href?: string;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof PostVerifyManifestResourcesInner
46
+ */
47
+ files?: Array<string>;
48
+ }
49
+ /**
50
+ * Check if a given object implements the PostVerifyManifestResourcesInner interface.
51
+ */
52
+ export declare function instanceOfPostVerifyManifestResourcesInner(value: object): value is PostVerifyManifestResourcesInner;
53
+ export declare function PostVerifyManifestResourcesInnerFromJSON(json: any): PostVerifyManifestResourcesInner;
54
+ export declare function PostVerifyManifestResourcesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVerifyManifestResourcesInner;
55
+ export declare function PostVerifyManifestResourcesInnerToJSON(json: any): PostVerifyManifestResourcesInner;
56
+ export declare function PostVerifyManifestResourcesInnerToJSONTyped(value?: PostVerifyManifestResourcesInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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 PostVerifyManifestResourcesInner interface.
16
+ */
17
+ export function instanceOfPostVerifyManifestResourcesInner(value) {
18
+ return true;
19
+ }
20
+ export function PostVerifyManifestResourcesInnerFromJSON(json) {
21
+ return PostVerifyManifestResourcesInnerFromJSONTyped(json, false);
22
+ }
23
+ export function PostVerifyManifestResourcesInnerFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
29
+ 'resourceType': json['resource_type'] == null ? undefined : json['resource_type'],
30
+ 'scormType': json['scorm_type'] == null ? undefined : json['scorm_type'],
31
+ 'href': json['href'] == null ? undefined : json['href'],
32
+ 'files': json['files'] == null ? undefined : json['files'],
33
+ };
34
+ }
35
+ export function PostVerifyManifestResourcesInnerToJSON(json) {
36
+ return PostVerifyManifestResourcesInnerToJSONTyped(json, false);
37
+ }
38
+ export function PostVerifyManifestResourcesInnerToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'identifier': value['identifier'],
44
+ 'resource_type': value['resourceType'],
45
+ 'scorm_type': value['scormType'],
46
+ 'href': value['href'],
47
+ 'files': value['files'],
48
+ };
49
+ }
@@ -155,6 +155,7 @@ export * from './GetResourceUsageCoursesInner';
155
155
  export * from './GetResourceVersionUpload';
156
156
  export * from './GetRichTextAssetUpload';
157
157
  export * from './GetRole';
158
+ export * from './GetSignupSlugAvailability';
158
159
  export * from './GetSupportTicket';
159
160
  export * from './GetSupportTicketAttachment';
160
161
  export * from './GetSupportTicketComment';
@@ -287,6 +288,9 @@ export * from './PostSignupRequest';
287
288
  export * from './PostSignupRequestResponse';
288
289
  export * from './PostSupportTicket';
289
290
  export * from './PostSupportTicketComment';
291
+ export * from './PostVerifyManifest';
292
+ export * from './PostVerifyManifestItemsInner';
293
+ export * from './PostVerifyManifestResourcesInner';
290
294
  export * from './PostZapierEnrollment';
291
295
  export * from './PostZapierSetup';
292
296
  export * from './PostZapierSetupResponse';
@@ -157,6 +157,7 @@ export * from './GetResourceUsageCoursesInner';
157
157
  export * from './GetResourceVersionUpload';
158
158
  export * from './GetRichTextAssetUpload';
159
159
  export * from './GetRole';
160
+ export * from './GetSignupSlugAvailability';
160
161
  export * from './GetSupportTicket';
161
162
  export * from './GetSupportTicketAttachment';
162
163
  export * from './GetSupportTicketComment';
@@ -289,6 +290,9 @@ export * from './PostSignupRequest';
289
290
  export * from './PostSignupRequestResponse';
290
291
  export * from './PostSupportTicket';
291
292
  export * from './PostSupportTicketComment';
293
+ export * from './PostVerifyManifest';
294
+ export * from './PostVerifyManifestItemsInner';
295
+ export * from './PostVerifyManifestResourcesInner';
292
296
  export * from './PostZapierEnrollment';
293
297
  export * from './PostZapierSetup';
294
298
  export * from './PostZapierSetupResponse';
@@ -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 GetSignupSlugAvailability
16
+ */
17
+ export interface GetSignupSlugAvailability {
18
+ /**
19
+ * Normalized subdomain checked.
20
+ * @type {string}
21
+ * @memberof GetSignupSlugAvailability
22
+ */
23
+ slug: string;
24
+ /**
25
+ * Whether the subdomain is currently unused. This check does not reserve it.
26
+ * @type {boolean}
27
+ * @memberof GetSignupSlugAvailability
28
+ */
29
+ available: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GetSignupSlugAvailability interface.
33
+ */
34
+ export declare function instanceOfGetSignupSlugAvailability(value: object): value is GetSignupSlugAvailability;
35
+ export declare function GetSignupSlugAvailabilityFromJSON(json: any): GetSignupSlugAvailability;
36
+ export declare function GetSignupSlugAvailabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSignupSlugAvailability;
37
+ export declare function GetSignupSlugAvailabilityToJSON(json: any): GetSignupSlugAvailability;
38
+ export declare function GetSignupSlugAvailabilityToJSONTyped(value?: GetSignupSlugAvailability | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
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.instanceOfGetSignupSlugAvailability = instanceOfGetSignupSlugAvailability;
17
+ exports.GetSignupSlugAvailabilityFromJSON = GetSignupSlugAvailabilityFromJSON;
18
+ exports.GetSignupSlugAvailabilityFromJSONTyped = GetSignupSlugAvailabilityFromJSONTyped;
19
+ exports.GetSignupSlugAvailabilityToJSON = GetSignupSlugAvailabilityToJSON;
20
+ exports.GetSignupSlugAvailabilityToJSONTyped = GetSignupSlugAvailabilityToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetSignupSlugAvailability interface.
23
+ */
24
+ function instanceOfGetSignupSlugAvailability(value) {
25
+ if (!('slug' in value) || value['slug'] === undefined)
26
+ return false;
27
+ if (!('available' in value) || value['available'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GetSignupSlugAvailabilityFromJSON(json) {
32
+ return GetSignupSlugAvailabilityFromJSONTyped(json, false);
33
+ }
34
+ function GetSignupSlugAvailabilityFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'slug': json['slug'],
40
+ 'available': json['available'],
41
+ };
42
+ }
43
+ function GetSignupSlugAvailabilityToJSON(json) {
44
+ return GetSignupSlugAvailabilityToJSONTyped(json, false);
45
+ }
46
+ function GetSignupSlugAvailabilityToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'slug': value['slug'],
52
+ 'available': value['available'],
53
+ };
54
+ }
@@ -45,6 +45,12 @@ export interface PostSignupRequest {
45
45
  * @memberof PostSignupRequest
46
46
  */
47
47
  organization: string;
48
+ /**
49
+ * Requested learner subdomain, without the domain suffix. Must be available and not reserved. If omitted, it is derived from the organization. Availability does not reserve the address; verification checks again and never substitutes another address.
50
+ * @type {string}
51
+ * @memberof PostSignupRequest
52
+ */
53
+ slug?: string;
48
54
  /**
49
55
  * Signup/onboarding role supplied by the user; not an LMS RBAC role.
50
56
  * @type {string}
@@ -51,6 +51,7 @@ function PostSignupRequestFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'email': json['email'],
52
52
  'password': json['password'],
53
53
  'organization': json['organization'],
54
+ 'slug': json['slug'] == null ? undefined : json['slug'],
54
55
  'jobRole': json['job_role'],
55
56
  'learnerCount': json['learner_count'],
56
57
  };
@@ -68,6 +69,7 @@ function PostSignupRequestToJSONTyped(value, ignoreDiscriminator = false) {
68
69
  'email': value['email'],
69
70
  'password': value['password'],
70
71
  'organization': value['organization'],
72
+ 'slug': value['slug'],
71
73
  'job_role': value['jobRole'],
72
74
  'learner_count': value['learnerCount'],
73
75
  };
@@ -0,0 +1,106 @@
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 { PostVerifyManifestResourcesInner } from './PostVerifyManifestResourcesInner';
13
+ import type { PostVerifyManifestItemsInner } from './PostVerifyManifestItemsInner';
14
+ /**
15
+ * Response from parsing and verifying a SCORM manifest
16
+ * @export
17
+ * @interface PostVerifyManifest
18
+ */
19
+ export interface PostVerifyManifest {
20
+ /**
21
+ * Whether the manifest parsed successfully
22
+ * @type {boolean}
23
+ * @memberof PostVerifyManifest
24
+ */
25
+ valid: boolean;
26
+ /**
27
+ * Parse errors that prevented successful parsing
28
+ * @type {Array<string>}
29
+ * @memberof PostVerifyManifest
30
+ */
31
+ errors: Array<string>;
32
+ /**
33
+ * Non-fatal issues or potential problems detected
34
+ * @type {Array<string>}
35
+ * @memberof PostVerifyManifest
36
+ */
37
+ warnings: Array<string>;
38
+ /**
39
+ * Detected SCORM version (e.g., "1.2", "2004 4th Edition")
40
+ * @type {string}
41
+ * @memberof PostVerifyManifest
42
+ */
43
+ scormVersion?: string | null;
44
+ /**
45
+ * Manifest identifier attribute
46
+ * @type {string}
47
+ * @memberof PostVerifyManifest
48
+ */
49
+ identifier?: string | null;
50
+ /**
51
+ * Manifest version attribute
52
+ * @type {string}
53
+ * @memberof PostVerifyManifest
54
+ */
55
+ version?: string | null;
56
+ /**
57
+ * Organization title (course title)
58
+ * @type {string}
59
+ * @memberof PostVerifyManifest
60
+ */
61
+ title?: string | null;
62
+ /**
63
+ * Metadata schema (e.g., "ADL SCORM")
64
+ * @type {string}
65
+ * @memberof PostVerifyManifest
66
+ */
67
+ schema?: string | null;
68
+ /**
69
+ * Metadata schema version
70
+ * @type {string}
71
+ * @memberof PostVerifyManifest
72
+ */
73
+ schemaVersion?: string | null;
74
+ /**
75
+ * Default organization identifier
76
+ * @type {string}
77
+ * @memberof PostVerifyManifest
78
+ */
79
+ defaultOrganization?: string | null;
80
+ /**
81
+ * List of items (SCOs) from the organization
82
+ * @type {Array<PostVerifyManifestItemsInner>}
83
+ * @memberof PostVerifyManifest
84
+ */
85
+ items?: Array<PostVerifyManifestItemsInner>;
86
+ /**
87
+ * List of resources from the manifest
88
+ * @type {Array<PostVerifyManifestResourcesInner>}
89
+ * @memberof PostVerifyManifest
90
+ */
91
+ resources?: Array<PostVerifyManifestResourcesInner>;
92
+ /**
93
+ * List of SCO entry point URLs
94
+ * @type {Array<string>}
95
+ * @memberof PostVerifyManifest
96
+ */
97
+ entryPoints?: Array<string>;
98
+ }
99
+ /**
100
+ * Check if a given object implements the PostVerifyManifest interface.
101
+ */
102
+ export declare function instanceOfPostVerifyManifest(value: object): value is PostVerifyManifest;
103
+ export declare function PostVerifyManifestFromJSON(json: any): PostVerifyManifest;
104
+ export declare function PostVerifyManifestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVerifyManifest;
105
+ export declare function PostVerifyManifestToJSON(json: any): PostVerifyManifest;
106
+ export declare function PostVerifyManifestToJSONTyped(value?: PostVerifyManifest | null, ignoreDiscriminator?: boolean): any;