@easyedu/js-lsm-api 1.83.0 → 1.85.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/.openapi-generator/FILES +84 -0
- package/README.md +106 -2
- package/dist/apis/ContentLibraryApi.d.ts +290 -0
- package/dist/apis/ContentLibraryApi.js +744 -0
- package/dist/apis/CourseApi.d.ts +172 -0
- package/dist/apis/CourseApi.js +443 -0
- package/dist/apis/EmailTemplateApi.d.ts +504 -0
- package/dist/apis/EmailTemplateApi.js +1299 -0
- package/dist/apis/PlayerApi.d.ts +112 -0
- package/dist/apis/PlayerApi.js +297 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/ContentLibraryApi.d.ts +290 -0
- package/dist/esm/apis/ContentLibraryApi.js +740 -0
- package/dist/esm/apis/CourseApi.d.ts +172 -0
- package/dist/esm/apis/CourseApi.js +443 -0
- package/dist/esm/apis/EmailTemplateApi.d.ts +504 -0
- package/dist/esm/apis/EmailTemplateApi.js +1295 -0
- package/dist/esm/apis/PlayerApi.d.ts +112 -0
- package/dist/esm/apis/PlayerApi.js +297 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/ContentLibraryVersionStatus.d.ts +26 -0
- package/dist/esm/models/ContentLibraryVersionStatus.js +44 -0
- package/dist/esm/models/EmailTemplateDefinition.d.ts +64 -0
- package/dist/esm/models/EmailTemplateDefinition.js +65 -0
- package/dist/esm/models/EmailTemplateScope.d.ts +25 -0
- package/dist/esm/models/EmailTemplateScope.js +43 -0
- package/dist/esm/models/EmailTemplateVariable.d.ts +59 -0
- package/dist/esm/models/EmailTemplateVariable.js +63 -0
- package/dist/esm/models/EmailTemplateVersion.d.ts +110 -0
- package/dist/esm/models/EmailTemplateVersion.js +86 -0
- package/dist/esm/models/GetContentLibraryVersion.d.ts +126 -0
- package/dist/esm/models/GetContentLibraryVersion.js +87 -0
- package/dist/esm/models/GetCourseVersion.d.ts +101 -0
- package/dist/esm/models/GetCourseVersion.js +86 -0
- package/dist/esm/models/GetCourseVersionItem.d.ts +135 -0
- package/dist/esm/models/GetCourseVersionItem.js +104 -0
- package/dist/esm/models/GetCourseVersionItemLaunch.d.ts +103 -0
- package/dist/esm/models/GetCourseVersionItemLaunch.js +82 -0
- package/dist/esm/models/GetCourseVersionItemSession.d.ts +124 -0
- package/dist/esm/models/GetCourseVersionItemSession.js +101 -0
- package/dist/esm/models/GetCourseVersionList.d.ts +33 -0
- package/dist/esm/models/GetCourseVersionList.js +44 -0
- package/dist/esm/models/GetCourseVersionModule.d.ts +64 -0
- package/dist/esm/models/GetCourseVersionModule.js +65 -0
- package/dist/esm/models/GetEmailAssetUpload.d.ts +50 -0
- package/dist/esm/models/GetEmailAssetUpload.js +55 -0
- package/dist/esm/models/GetEmailDelivery.d.ts +123 -0
- package/dist/esm/models/GetEmailDelivery.js +93 -0
- package/dist/esm/models/GetEmailDeliveryList.d.ts +51 -0
- package/dist/esm/models/GetEmailDeliveryList.js +56 -0
- package/dist/esm/models/GetEmailTemplate.d.ts +74 -0
- package/dist/esm/models/GetEmailTemplate.js +70 -0
- package/dist/esm/models/GetEmailTemplateList.d.ts +33 -0
- package/dist/esm/models/GetEmailTemplateList.js +44 -0
- package/dist/esm/models/GetEmailTemplatePreview.d.ts +44 -0
- package/dist/esm/models/GetEmailTemplatePreview.js +51 -0
- package/dist/esm/models/GetResource.d.ts +118 -0
- package/dist/esm/models/GetResource.js +95 -0
- package/dist/esm/models/GetResourceList.d.ts +57 -0
- package/dist/esm/models/GetResourceList.js +60 -0
- package/dist/esm/models/GetResourceUsage.d.ts +63 -0
- package/dist/esm/models/GetResourceUsage.js +64 -0
- package/dist/esm/models/GetResourceUsageCoursesInner.d.ts +63 -0
- package/dist/esm/models/GetResourceUsageCoursesInner.js +64 -0
- package/dist/esm/models/GetResourceVersionUpload.d.ts +38 -0
- package/dist/esm/models/GetResourceVersionUpload.js +47 -0
- package/dist/esm/models/PostCourseDraft.d.ts +32 -0
- package/dist/esm/models/PostCourseDraft.js +41 -0
- package/dist/esm/models/PostCourseVersionItem.d.ts +97 -0
- package/dist/esm/models/PostCourseVersionItem.js +71 -0
- package/dist/esm/models/PostCourseVersionItemSession.d.ts +32 -0
- package/dist/esm/models/PostCourseVersionItemSession.js +41 -0
- package/dist/esm/models/PostCourseVersionPublish.d.ts +32 -0
- package/dist/esm/models/PostCourseVersionPublish.js +41 -0
- package/dist/esm/models/PostEmailAssetComplete.d.ts +32 -0
- package/dist/esm/models/PostEmailAssetComplete.js +43 -0
- package/dist/esm/models/PostEmailAssetUpload.d.ts +54 -0
- package/dist/esm/models/PostEmailAssetUpload.js +60 -0
- package/dist/esm/models/PostEmailTemplatePreview.d.ts +64 -0
- package/dist/esm/models/PostEmailTemplatePreview.js +55 -0
- package/dist/esm/models/PostEmailTemplateTestSend.d.ts +32 -0
- package/dist/esm/models/PostEmailTemplateTestSend.js +43 -0
- package/dist/esm/models/PostResource.d.ts +58 -0
- package/dist/esm/models/PostResource.js +55 -0
- package/dist/esm/models/PostResourceVersion.d.ts +45 -0
- package/dist/esm/models/PostResourceVersion.js +46 -0
- package/dist/esm/models/PostResourceVersionComplete.d.ts +32 -0
- package/dist/esm/models/PostResourceVersionComplete.js +43 -0
- package/dist/esm/models/PostResourceVersionUpload.d.ts +50 -0
- package/dist/esm/models/PostResourceVersionUpload.js +55 -0
- package/dist/esm/models/PutCourseVersionItem.d.ts +85 -0
- package/dist/esm/models/PutCourseVersionItem.js +63 -0
- package/dist/esm/models/PutEmailTemplateDraft.d.ts +64 -0
- package/dist/esm/models/PutEmailTemplateDraft.js +55 -0
- package/dist/esm/models/PutResource.d.ts +38 -0
- package/dist/esm/models/PutResource.js +43 -0
- package/dist/esm/models/PutResourceVersion.d.ts +53 -0
- package/dist/esm/models/PutResourceVersion.js +48 -0
- package/dist/esm/models/ResourceType.d.ts +32 -0
- package/dist/esm/models/ResourceType.js +50 -0
- package/dist/esm/models/index.d.ts +40 -0
- package/dist/esm/models/index.js +40 -0
- package/dist/models/ContentLibraryVersionStatus.d.ts +26 -0
- package/dist/models/ContentLibraryVersionStatus.js +52 -0
- package/dist/models/EmailTemplateDefinition.d.ts +64 -0
- package/dist/models/EmailTemplateDefinition.js +72 -0
- package/dist/models/EmailTemplateScope.d.ts +25 -0
- package/dist/models/EmailTemplateScope.js +51 -0
- package/dist/models/EmailTemplateVariable.d.ts +59 -0
- package/dist/models/EmailTemplateVariable.js +71 -0
- package/dist/models/EmailTemplateVersion.d.ts +110 -0
- package/dist/models/EmailTemplateVersion.js +94 -0
- package/dist/models/GetContentLibraryVersion.d.ts +126 -0
- package/dist/models/GetContentLibraryVersion.js +94 -0
- package/dist/models/GetCourseVersion.d.ts +101 -0
- package/dist/models/GetCourseVersion.js +93 -0
- package/dist/models/GetCourseVersionItem.d.ts +135 -0
- package/dist/models/GetCourseVersionItem.js +112 -0
- package/dist/models/GetCourseVersionItemLaunch.d.ts +103 -0
- package/dist/models/GetCourseVersionItemLaunch.js +89 -0
- package/dist/models/GetCourseVersionItemSession.d.ts +124 -0
- package/dist/models/GetCourseVersionItemSession.js +108 -0
- package/dist/models/GetCourseVersionList.d.ts +33 -0
- package/dist/models/GetCourseVersionList.js +51 -0
- package/dist/models/GetCourseVersionModule.d.ts +64 -0
- package/dist/models/GetCourseVersionModule.js +72 -0
- package/dist/models/GetEmailAssetUpload.d.ts +50 -0
- package/dist/models/GetEmailAssetUpload.js +62 -0
- package/dist/models/GetEmailDelivery.d.ts +123 -0
- package/dist/models/GetEmailDelivery.js +101 -0
- package/dist/models/GetEmailDeliveryList.d.ts +51 -0
- package/dist/models/GetEmailDeliveryList.js +63 -0
- package/dist/models/GetEmailTemplate.d.ts +74 -0
- package/dist/models/GetEmailTemplate.js +78 -0
- package/dist/models/GetEmailTemplateList.d.ts +33 -0
- package/dist/models/GetEmailTemplateList.js +51 -0
- package/dist/models/GetEmailTemplatePreview.d.ts +44 -0
- package/dist/models/GetEmailTemplatePreview.js +58 -0
- package/dist/models/GetResource.d.ts +118 -0
- package/dist/models/GetResource.js +102 -0
- package/dist/models/GetResourceList.d.ts +57 -0
- package/dist/models/GetResourceList.js +67 -0
- package/dist/models/GetResourceUsage.d.ts +63 -0
- package/dist/models/GetResourceUsage.js +71 -0
- package/dist/models/GetResourceUsageCoursesInner.d.ts +63 -0
- package/dist/models/GetResourceUsageCoursesInner.js +71 -0
- package/dist/models/GetResourceVersionUpload.d.ts +38 -0
- package/dist/models/GetResourceVersionUpload.js +54 -0
- package/dist/models/PostCourseDraft.d.ts +32 -0
- package/dist/models/PostCourseDraft.js +48 -0
- package/dist/models/PostCourseVersionItem.d.ts +97 -0
- package/dist/models/PostCourseVersionItem.js +79 -0
- package/dist/models/PostCourseVersionItemSession.d.ts +32 -0
- package/dist/models/PostCourseVersionItemSession.js +48 -0
- package/dist/models/PostCourseVersionPublish.d.ts +32 -0
- package/dist/models/PostCourseVersionPublish.js +48 -0
- package/dist/models/PostEmailAssetComplete.d.ts +32 -0
- package/dist/models/PostEmailAssetComplete.js +50 -0
- package/dist/models/PostEmailAssetUpload.d.ts +54 -0
- package/dist/models/PostEmailAssetUpload.js +68 -0
- package/dist/models/PostEmailTemplatePreview.d.ts +64 -0
- package/dist/models/PostEmailTemplatePreview.js +62 -0
- package/dist/models/PostEmailTemplateTestSend.d.ts +32 -0
- package/dist/models/PostEmailTemplateTestSend.js +50 -0
- package/dist/models/PostResource.d.ts +58 -0
- package/dist/models/PostResource.js +62 -0
- package/dist/models/PostResourceVersion.d.ts +45 -0
- package/dist/models/PostResourceVersion.js +53 -0
- package/dist/models/PostResourceVersionComplete.d.ts +32 -0
- package/dist/models/PostResourceVersionComplete.js +50 -0
- package/dist/models/PostResourceVersionUpload.d.ts +50 -0
- package/dist/models/PostResourceVersionUpload.js +62 -0
- package/dist/models/PutCourseVersionItem.d.ts +85 -0
- package/dist/models/PutCourseVersionItem.js +71 -0
- package/dist/models/PutEmailTemplateDraft.d.ts +64 -0
- package/dist/models/PutEmailTemplateDraft.js +62 -0
- package/dist/models/PutResource.d.ts +38 -0
- package/dist/models/PutResource.js +50 -0
- package/dist/models/PutResourceVersion.d.ts +53 -0
- package/dist/models/PutResourceVersion.js +55 -0
- package/dist/models/ResourceType.d.ts +32 -0
- package/dist/models/ResourceType.js +58 -0
- package/dist/models/index.d.ts +40 -0
- package/dist/models/index.js +40 -0
- package/docs/ContentLibraryApi.md +1132 -0
- package/docs/ContentLibraryVersionStatus.md +33 -0
- package/docs/CourseApi.md +797 -96
- package/docs/EmailTemplateApi.md +2097 -0
- package/docs/EmailTemplateDefinition.md +44 -0
- package/docs/EmailTemplateScope.md +32 -0
- package/docs/EmailTemplateVariable.md +40 -0
- package/docs/EmailTemplateVersion.md +56 -0
- package/docs/GetContentLibraryVersion.md +64 -0
- package/docs/GetCourseVersion.md +56 -0
- package/docs/GetCourseVersionItem.md +62 -0
- package/docs/GetCourseVersionItemLaunch.md +56 -0
- package/docs/GetCourseVersionItemSession.md +65 -0
- package/docs/GetCourseVersionList.md +34 -0
- package/docs/GetCourseVersionModule.md +44 -0
- package/docs/GetEmailAssetUpload.md +40 -0
- package/docs/GetEmailDelivery.md +60 -0
- package/docs/GetEmailDeliveryList.md +40 -0
- package/docs/GetEmailTemplate.md +44 -0
- package/docs/GetEmailTemplateList.md +34 -0
- package/docs/GetEmailTemplatePreview.md +38 -0
- package/docs/GetResource.md +62 -0
- package/docs/GetResourceList.md +42 -0
- package/docs/GetResourceUsage.md +44 -0
- package/docs/GetResourceUsageCoursesInner.md +44 -0
- package/docs/GetResourceVersionUpload.md +36 -0
- package/docs/PlayerApi.md +480 -0
- package/docs/PostCourseDraft.md +34 -0
- package/docs/PostCourseVersionItem.md +52 -0
- package/docs/PostCourseVersionItemSession.md +35 -0
- package/docs/PostCourseVersionPublish.md +34 -0
- package/docs/PostEmailAssetComplete.md +34 -0
- package/docs/PostEmailAssetUpload.md +38 -0
- package/docs/PostEmailTemplatePreview.md +44 -0
- package/docs/PostEmailTemplateTestSend.md +34 -0
- package/docs/PostResource.md +42 -0
- package/docs/PostResourceVersion.md +38 -0
- package/docs/PostResourceVersionComplete.md +34 -0
- package/docs/PostResourceVersionUpload.md +40 -0
- package/docs/PutCourseVersionItem.md +48 -0
- package/docs/PutEmailTemplateDraft.md +44 -0
- package/docs/PutResource.md +36 -0
- package/docs/PutResourceVersion.md +40 -0
- package/docs/ResourceType.md +33 -0
- package/package.json +1 -1
- package/src/apis/ContentLibraryApi.ts +1024 -0
- package/src/apis/CourseApi.ts +636 -0
- package/src/apis/EmailTemplateApi.ts +1702 -0
- package/src/apis/PlayerApi.ts +400 -0
- package/src/apis/index.ts +2 -0
- package/src/models/ContentLibraryVersionStatus.ts +54 -0
- package/src/models/EmailTemplateDefinition.ts +128 -0
- package/src/models/EmailTemplateScope.ts +53 -0
- package/src/models/EmailTemplateVariable.ts +105 -0
- package/src/models/EmailTemplateVersion.ts +173 -0
- package/src/models/GetContentLibraryVersion.ts +209 -0
- package/src/models/GetCourseVersion.ts +187 -0
- package/src/models/GetCourseVersionItem.ts +215 -0
- package/src/models/GetCourseVersionItemLaunch.ts +185 -0
- package/src/models/GetCourseVersionItemSession.ts +216 -0
- package/src/models/GetCourseVersionList.ts +74 -0
- package/src/models/GetCourseVersionModule.ts +126 -0
- package/src/models/GetEmailAssetUpload.ts +93 -0
- package/src/models/GetEmailDelivery.ts +192 -0
- package/src/models/GetEmailDeliveryList.ts +101 -0
- package/src/models/GetEmailTemplate.ts +137 -0
- package/src/models/GetEmailTemplateList.ts +74 -0
- package/src/models/GetEmailTemplatePreview.ts +84 -0
- package/src/models/GetResource.ts +206 -0
- package/src/models/GetResourceList.ts +110 -0
- package/src/models/GetResourceUsage.ts +119 -0
- package/src/models/GetResourceUsageCoursesInner.ts +121 -0
- package/src/models/GetResourceVersionUpload.ts +75 -0
- package/src/models/PostCourseDraft.ts +65 -0
- package/src/models/PostCourseVersionItem.ts +158 -0
- package/src/models/PostCourseVersionItemSession.ts +65 -0
- package/src/models/PostCourseVersionPublish.ts +65 -0
- package/src/models/PostEmailAssetComplete.ts +66 -0
- package/src/models/PostEmailAssetUpload.ts +97 -0
- package/src/models/PostEmailTemplatePreview.ts +107 -0
- package/src/models/PostEmailTemplateTestSend.ts +66 -0
- package/src/models/PostResource.ts +116 -0
- package/src/models/PostResourceVersion.ts +89 -0
- package/src/models/PostResourceVersionComplete.ts +66 -0
- package/src/models/PostResourceVersionUpload.ts +93 -0
- package/src/models/PutCourseVersionItem.ts +140 -0
- package/src/models/PutEmailTemplateDraft.ts +107 -0
- package/src/models/PutResource.ts +73 -0
- package/src/models/PutResourceVersion.ts +97 -0
- package/src/models/ResourceType.ts +60 -0
- package/src/models/index.ts +40 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# EmailTemplateDefinition
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`key` | string
|
|
10
|
+
`displayName` | string
|
|
11
|
+
`description` | string
|
|
12
|
+
`scope` | [EmailTemplateScope](EmailTemplateScope.md)
|
|
13
|
+
`variables` | [Array<EmailTemplateVariable>](EmailTemplateVariable.md)
|
|
14
|
+
`requiredBlockTypes` | Array<string>
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { EmailTemplateDefinition } from '@easyedu/js-lsm-api'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"key": null,
|
|
24
|
+
"displayName": null,
|
|
25
|
+
"description": null,
|
|
26
|
+
"scope": null,
|
|
27
|
+
"variables": null,
|
|
28
|
+
"requiredBlockTypes": null,
|
|
29
|
+
} satisfies EmailTemplateDefinition
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as EmailTemplateDefinition
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# EmailTemplateScope
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { EmailTemplateScope } from '@easyedu/js-lsm-api'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies EmailTemplateScope
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as EmailTemplateScope
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# EmailTemplateVariable
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`key` | string
|
|
10
|
+
`description` | string
|
|
11
|
+
`valueType` | string
|
|
12
|
+
`sampleValue` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { EmailTemplateVariable } from '@easyedu/js-lsm-api'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"key": null,
|
|
22
|
+
"description": null,
|
|
23
|
+
"valueType": null,
|
|
24
|
+
"sampleValue": null,
|
|
25
|
+
} satisfies EmailTemplateVariable
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as EmailTemplateVariable
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
|
|
2
|
+
# EmailTemplateVersion
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`versionNumber` | number
|
|
11
|
+
`status` | string
|
|
12
|
+
`subjectTemplate` | string
|
|
13
|
+
`preheaderTemplate` | string
|
|
14
|
+
`fromNameTemplate` | string
|
|
15
|
+
`replyTo` | string
|
|
16
|
+
`designDocument` | { [key: string]: any; }
|
|
17
|
+
`changeNotes` | string
|
|
18
|
+
`createdAt` | number
|
|
19
|
+
`updatedAt` | number
|
|
20
|
+
`publishedAt` | number
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import type { EmailTemplateVersion } from '@easyedu/js-lsm-api'
|
|
26
|
+
|
|
27
|
+
// TODO: Update the object below with actual values
|
|
28
|
+
const example = {
|
|
29
|
+
"id": null,
|
|
30
|
+
"versionNumber": null,
|
|
31
|
+
"status": null,
|
|
32
|
+
"subjectTemplate": null,
|
|
33
|
+
"preheaderTemplate": null,
|
|
34
|
+
"fromNameTemplate": null,
|
|
35
|
+
"replyTo": null,
|
|
36
|
+
"designDocument": null,
|
|
37
|
+
"changeNotes": null,
|
|
38
|
+
"createdAt": null,
|
|
39
|
+
"updatedAt": null,
|
|
40
|
+
"publishedAt": null,
|
|
41
|
+
} satisfies EmailTemplateVersion
|
|
42
|
+
|
|
43
|
+
console.log(example)
|
|
44
|
+
|
|
45
|
+
// Convert the instance to a JSON string
|
|
46
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
47
|
+
console.log(exampleJSON)
|
|
48
|
+
|
|
49
|
+
// Parse the JSON string back to an object
|
|
50
|
+
const exampleParsed = JSON.parse(exampleJSON) as EmailTemplateVersion
|
|
51
|
+
console.log(exampleParsed)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
55
|
+
|
|
56
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
|
|
2
|
+
# GetContentLibraryVersion
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`versionNumber` | number
|
|
11
|
+
`status` | [ContentLibraryVersionStatus](ContentLibraryVersionStatus.md)
|
|
12
|
+
`changeNotes` | string
|
|
13
|
+
`metadata` | { [key: string]: any; }
|
|
14
|
+
`filename` | string
|
|
15
|
+
`mimeType` | string
|
|
16
|
+
`fileSizeBytes` | number
|
|
17
|
+
`checksumSha256` | string
|
|
18
|
+
`linkUrl` | string
|
|
19
|
+
`richText` | [RichTextDocument](RichTextDocument.md)
|
|
20
|
+
`createdBy` | string
|
|
21
|
+
`createdAt` | number
|
|
22
|
+
`updatedAt` | number
|
|
23
|
+
`publishedAt` | number
|
|
24
|
+
`archivedAt` | number
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import type { GetContentLibraryVersion } from '@easyedu/js-lsm-api'
|
|
30
|
+
|
|
31
|
+
// TODO: Update the object below with actual values
|
|
32
|
+
const example = {
|
|
33
|
+
"id": null,
|
|
34
|
+
"versionNumber": null,
|
|
35
|
+
"status": null,
|
|
36
|
+
"changeNotes": null,
|
|
37
|
+
"metadata": null,
|
|
38
|
+
"filename": null,
|
|
39
|
+
"mimeType": null,
|
|
40
|
+
"fileSizeBytes": null,
|
|
41
|
+
"checksumSha256": null,
|
|
42
|
+
"linkUrl": null,
|
|
43
|
+
"richText": null,
|
|
44
|
+
"createdBy": null,
|
|
45
|
+
"createdAt": null,
|
|
46
|
+
"updatedAt": null,
|
|
47
|
+
"publishedAt": null,
|
|
48
|
+
"archivedAt": null,
|
|
49
|
+
} satisfies GetContentLibraryVersion
|
|
50
|
+
|
|
51
|
+
console.log(example)
|
|
52
|
+
|
|
53
|
+
// Convert the instance to a JSON string
|
|
54
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
55
|
+
console.log(exampleJSON)
|
|
56
|
+
|
|
57
|
+
// Parse the JSON string back to an object
|
|
58
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetContentLibraryVersion
|
|
59
|
+
console.log(exampleParsed)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
63
|
+
|
|
64
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
|
|
2
|
+
# GetCourseVersion
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`courseId` | string
|
|
11
|
+
`versionNumber` | number
|
|
12
|
+
`status` | [ContentLibraryVersionStatus](ContentLibraryVersionStatus.md)
|
|
13
|
+
`name` | string
|
|
14
|
+
`description` | string
|
|
15
|
+
`descriptionRich` | [RichTextDocument](RichTextDocument.md)
|
|
16
|
+
`changeNotes` | string
|
|
17
|
+
`modules` | [Array<GetCourseVersionModule>](GetCourseVersionModule.md)
|
|
18
|
+
`createdAt` | number
|
|
19
|
+
`updatedAt` | number
|
|
20
|
+
`publishedAt` | number
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import type { GetCourseVersion } from '@easyedu/js-lsm-api'
|
|
26
|
+
|
|
27
|
+
// TODO: Update the object below with actual values
|
|
28
|
+
const example = {
|
|
29
|
+
"id": null,
|
|
30
|
+
"courseId": null,
|
|
31
|
+
"versionNumber": null,
|
|
32
|
+
"status": null,
|
|
33
|
+
"name": null,
|
|
34
|
+
"description": null,
|
|
35
|
+
"descriptionRich": null,
|
|
36
|
+
"changeNotes": null,
|
|
37
|
+
"modules": null,
|
|
38
|
+
"createdAt": null,
|
|
39
|
+
"updatedAt": null,
|
|
40
|
+
"publishedAt": null,
|
|
41
|
+
} satisfies GetCourseVersion
|
|
42
|
+
|
|
43
|
+
console.log(example)
|
|
44
|
+
|
|
45
|
+
// Convert the instance to a JSON string
|
|
46
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
47
|
+
console.log(exampleJSON)
|
|
48
|
+
|
|
49
|
+
// Parse the JSON string back to an object
|
|
50
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersion
|
|
51
|
+
console.log(exampleParsed)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
55
|
+
|
|
56
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
|
|
2
|
+
# GetCourseVersionItem
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`sourceKind` | string
|
|
11
|
+
`contentLibraryItemId` | string
|
|
12
|
+
`contentLibraryVersionId` | string
|
|
13
|
+
`resourceVersionNumber` | number
|
|
14
|
+
`latestPublishedVersionId` | string
|
|
15
|
+
`latestPublishedVersionNumber` | number
|
|
16
|
+
`updateAvailable` | boolean
|
|
17
|
+
`displayName` | string
|
|
18
|
+
`displayOrder` | number
|
|
19
|
+
`isVisible` | boolean
|
|
20
|
+
`launchMode` | [ContentLaunchMode](ContentLaunchMode.md)
|
|
21
|
+
`maxAttempts` | number
|
|
22
|
+
`scoreRollupStrategy` | string
|
|
23
|
+
`settings` | { [key: string]: any; }
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import type { GetCourseVersionItem } from '@easyedu/js-lsm-api'
|
|
29
|
+
|
|
30
|
+
// TODO: Update the object below with actual values
|
|
31
|
+
const example = {
|
|
32
|
+
"id": null,
|
|
33
|
+
"sourceKind": null,
|
|
34
|
+
"contentLibraryItemId": null,
|
|
35
|
+
"contentLibraryVersionId": null,
|
|
36
|
+
"resourceVersionNumber": null,
|
|
37
|
+
"latestPublishedVersionId": null,
|
|
38
|
+
"latestPublishedVersionNumber": null,
|
|
39
|
+
"updateAvailable": null,
|
|
40
|
+
"displayName": null,
|
|
41
|
+
"displayOrder": null,
|
|
42
|
+
"isVisible": null,
|
|
43
|
+
"launchMode": null,
|
|
44
|
+
"maxAttempts": null,
|
|
45
|
+
"scoreRollupStrategy": null,
|
|
46
|
+
"settings": null,
|
|
47
|
+
} satisfies GetCourseVersionItem
|
|
48
|
+
|
|
49
|
+
console.log(example)
|
|
50
|
+
|
|
51
|
+
// Convert the instance to a JSON string
|
|
52
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
53
|
+
console.log(exampleJSON)
|
|
54
|
+
|
|
55
|
+
// Parse the JSON string back to an object
|
|
56
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionItem
|
|
57
|
+
console.log(exampleParsed)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
61
|
+
|
|
62
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
|
|
2
|
+
# GetCourseVersionItemLaunch
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`courseVersionId` | string
|
|
10
|
+
`itemId` | string
|
|
11
|
+
`contentLibraryItemId` | string
|
|
12
|
+
`contentLibraryVersionId` | string
|
|
13
|
+
`resourceType` | [ResourceType](ResourceType.md)
|
|
14
|
+
`launchMode` | [ContentLaunchMode](ContentLaunchMode.md)
|
|
15
|
+
`maxAttempts` | number
|
|
16
|
+
`url` | string
|
|
17
|
+
`filename` | string
|
|
18
|
+
`mimeType` | string
|
|
19
|
+
`richText` | [RichTextDocument](RichTextDocument.md)
|
|
20
|
+
`metadata` | { [key: string]: any; }
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import type { GetCourseVersionItemLaunch } from '@easyedu/js-lsm-api'
|
|
26
|
+
|
|
27
|
+
// TODO: Update the object below with actual values
|
|
28
|
+
const example = {
|
|
29
|
+
"courseVersionId": null,
|
|
30
|
+
"itemId": null,
|
|
31
|
+
"contentLibraryItemId": null,
|
|
32
|
+
"contentLibraryVersionId": null,
|
|
33
|
+
"resourceType": null,
|
|
34
|
+
"launchMode": null,
|
|
35
|
+
"maxAttempts": null,
|
|
36
|
+
"url": null,
|
|
37
|
+
"filename": null,
|
|
38
|
+
"mimeType": null,
|
|
39
|
+
"richText": null,
|
|
40
|
+
"metadata": null,
|
|
41
|
+
} satisfies GetCourseVersionItemLaunch
|
|
42
|
+
|
|
43
|
+
console.log(example)
|
|
44
|
+
|
|
45
|
+
// Convert the instance to a JSON string
|
|
46
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
47
|
+
console.log(exampleJSON)
|
|
48
|
+
|
|
49
|
+
// Parse the JSON string back to an object
|
|
50
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionItemLaunch
|
|
51
|
+
console.log(exampleParsed)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
55
|
+
|
|
56
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
|
|
2
|
+
# GetCourseVersionItemSession
|
|
3
|
+
|
|
4
|
+
A learner resource attempt pinned to an immutable course and Content Library version.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`id` | string
|
|
11
|
+
`courseVersionId` | string
|
|
12
|
+
`itemId` | string
|
|
13
|
+
`contentLibraryItemId` | string
|
|
14
|
+
`contentLibraryVersionId` | string
|
|
15
|
+
`resourceType` | [ResourceType](ResourceType.md)
|
|
16
|
+
`launchMode` | [ContentLaunchMode](ContentLaunchMode.md)
|
|
17
|
+
`launchUrl` | string
|
|
18
|
+
`attemptNumber` | number
|
|
19
|
+
`isCurrent` | boolean
|
|
20
|
+
`completionStatus` | string
|
|
21
|
+
`gradeStatus` | string
|
|
22
|
+
`scoreRaw` | number
|
|
23
|
+
`createdAt` | number
|
|
24
|
+
`updatedAt` | number
|
|
25
|
+
`completedAt` | number
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import type { GetCourseVersionItemSession } from '@easyedu/js-lsm-api'
|
|
31
|
+
|
|
32
|
+
// TODO: Update the object below with actual values
|
|
33
|
+
const example = {
|
|
34
|
+
"id": null,
|
|
35
|
+
"courseVersionId": null,
|
|
36
|
+
"itemId": null,
|
|
37
|
+
"contentLibraryItemId": null,
|
|
38
|
+
"contentLibraryVersionId": null,
|
|
39
|
+
"resourceType": null,
|
|
40
|
+
"launchMode": null,
|
|
41
|
+
"launchUrl": null,
|
|
42
|
+
"attemptNumber": null,
|
|
43
|
+
"isCurrent": null,
|
|
44
|
+
"completionStatus": null,
|
|
45
|
+
"gradeStatus": null,
|
|
46
|
+
"scoreRaw": null,
|
|
47
|
+
"createdAt": null,
|
|
48
|
+
"updatedAt": null,
|
|
49
|
+
"completedAt": null,
|
|
50
|
+
} satisfies GetCourseVersionItemSession
|
|
51
|
+
|
|
52
|
+
console.log(example)
|
|
53
|
+
|
|
54
|
+
// Convert the instance to a JSON string
|
|
55
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
56
|
+
console.log(exampleJSON)
|
|
57
|
+
|
|
58
|
+
// Parse the JSON string back to an object
|
|
59
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionItemSession
|
|
60
|
+
console.log(exampleParsed)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
64
|
+
|
|
65
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# GetCourseVersionList
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`items` | [Array<GetCourseVersion>](GetCourseVersion.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { GetCourseVersionList } from '@easyedu/js-lsm-api'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"items": null,
|
|
19
|
+
} satisfies GetCourseVersionList
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionList
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# GetCourseVersionModule
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`name` | string
|
|
11
|
+
`description` | string
|
|
12
|
+
`descriptionRich` | [RichTextDocument](RichTextDocument.md)
|
|
13
|
+
`displayOrder` | number
|
|
14
|
+
`items` | [Array<GetCourseVersionItem>](GetCourseVersionItem.md)
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { GetCourseVersionModule } from '@easyedu/js-lsm-api'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"id": null,
|
|
24
|
+
"name": null,
|
|
25
|
+
"description": null,
|
|
26
|
+
"descriptionRich": null,
|
|
27
|
+
"displayOrder": null,
|
|
28
|
+
"items": null,
|
|
29
|
+
} satisfies GetCourseVersionModule
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetCourseVersionModule
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# GetEmailAssetUpload
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`assetId` | string
|
|
10
|
+
`uploadUrl` | string
|
|
11
|
+
`publicUrl` | string
|
|
12
|
+
`status` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { GetEmailAssetUpload } from '@easyedu/js-lsm-api'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"assetId": null,
|
|
22
|
+
"uploadUrl": null,
|
|
23
|
+
"publicUrl": null,
|
|
24
|
+
"status": null,
|
|
25
|
+
} satisfies GetEmailAssetUpload
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetEmailAssetUpload
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
|
|
2
|
+
# GetEmailDelivery
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`templateKey` | string
|
|
11
|
+
`templateVersionId` | string
|
|
12
|
+
`recipient` | string
|
|
13
|
+
`isTest` | boolean
|
|
14
|
+
`status` | string
|
|
15
|
+
`attempts` | number
|
|
16
|
+
`providerMessageId` | string
|
|
17
|
+
`lastErrorCode` | string
|
|
18
|
+
`lastErrorMessage` | string
|
|
19
|
+
`createdAt` | number
|
|
20
|
+
`acceptedAt` | number
|
|
21
|
+
`deliveredAt` | number
|
|
22
|
+
`failedAt` | number
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import type { GetEmailDelivery } from '@easyedu/js-lsm-api'
|
|
28
|
+
|
|
29
|
+
// TODO: Update the object below with actual values
|
|
30
|
+
const example = {
|
|
31
|
+
"id": null,
|
|
32
|
+
"templateKey": null,
|
|
33
|
+
"templateVersionId": null,
|
|
34
|
+
"recipient": null,
|
|
35
|
+
"isTest": null,
|
|
36
|
+
"status": null,
|
|
37
|
+
"attempts": null,
|
|
38
|
+
"providerMessageId": null,
|
|
39
|
+
"lastErrorCode": null,
|
|
40
|
+
"lastErrorMessage": null,
|
|
41
|
+
"createdAt": null,
|
|
42
|
+
"acceptedAt": null,
|
|
43
|
+
"deliveredAt": null,
|
|
44
|
+
"failedAt": null,
|
|
45
|
+
} satisfies GetEmailDelivery
|
|
46
|
+
|
|
47
|
+
console.log(example)
|
|
48
|
+
|
|
49
|
+
// Convert the instance to a JSON string
|
|
50
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
51
|
+
console.log(exampleJSON)
|
|
52
|
+
|
|
53
|
+
// Parse the JSON string back to an object
|
|
54
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetEmailDelivery
|
|
55
|
+
console.log(exampleParsed)
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
59
|
+
|
|
60
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# GetEmailDeliveryList
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`items` | [Array<GetEmailDelivery>](GetEmailDelivery.md)
|
|
10
|
+
`total` | number
|
|
11
|
+
`page` | number
|
|
12
|
+
`pageSize` | number
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { GetEmailDeliveryList } from '@easyedu/js-lsm-api'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"items": null,
|
|
22
|
+
"total": null,
|
|
23
|
+
"page": null,
|
|
24
|
+
"pageSize": null,
|
|
25
|
+
} satisfies GetEmailDeliveryList
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetEmailDeliveryList
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|