@easyedu/js-lsm-api 1.84.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.
Files changed (109) hide show
  1. package/.openapi-generator/FILES +32 -0
  2. package/README.md +48 -2
  3. package/dist/apis/EmailTemplateApi.d.ts +504 -0
  4. package/dist/apis/EmailTemplateApi.js +1299 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/esm/apis/EmailTemplateApi.d.ts +504 -0
  8. package/dist/esm/apis/EmailTemplateApi.js +1295 -0
  9. package/dist/esm/apis/index.d.ts +1 -0
  10. package/dist/esm/apis/index.js +1 -0
  11. package/dist/esm/models/EmailTemplateDefinition.d.ts +64 -0
  12. package/dist/esm/models/EmailTemplateDefinition.js +65 -0
  13. package/dist/esm/models/EmailTemplateScope.d.ts +25 -0
  14. package/dist/esm/models/EmailTemplateScope.js +43 -0
  15. package/dist/esm/models/EmailTemplateVariable.d.ts +59 -0
  16. package/dist/esm/models/EmailTemplateVariable.js +63 -0
  17. package/dist/esm/models/EmailTemplateVersion.d.ts +110 -0
  18. package/dist/esm/models/EmailTemplateVersion.js +86 -0
  19. package/dist/esm/models/GetEmailAssetUpload.d.ts +50 -0
  20. package/dist/esm/models/GetEmailAssetUpload.js +55 -0
  21. package/dist/esm/models/GetEmailDelivery.d.ts +123 -0
  22. package/dist/esm/models/GetEmailDelivery.js +93 -0
  23. package/dist/esm/models/GetEmailDeliveryList.d.ts +51 -0
  24. package/dist/esm/models/GetEmailDeliveryList.js +56 -0
  25. package/dist/esm/models/GetEmailTemplate.d.ts +74 -0
  26. package/dist/esm/models/GetEmailTemplate.js +70 -0
  27. package/dist/esm/models/GetEmailTemplateList.d.ts +33 -0
  28. package/dist/esm/models/GetEmailTemplateList.js +44 -0
  29. package/dist/esm/models/GetEmailTemplatePreview.d.ts +44 -0
  30. package/dist/esm/models/GetEmailTemplatePreview.js +51 -0
  31. package/dist/esm/models/PostEmailAssetComplete.d.ts +32 -0
  32. package/dist/esm/models/PostEmailAssetComplete.js +43 -0
  33. package/dist/esm/models/PostEmailAssetUpload.d.ts +54 -0
  34. package/dist/esm/models/PostEmailAssetUpload.js +60 -0
  35. package/dist/esm/models/PostEmailTemplatePreview.d.ts +64 -0
  36. package/dist/esm/models/PostEmailTemplatePreview.js +55 -0
  37. package/dist/esm/models/PostEmailTemplateTestSend.d.ts +32 -0
  38. package/dist/esm/models/PostEmailTemplateTestSend.js +43 -0
  39. package/dist/esm/models/PutEmailTemplateDraft.d.ts +64 -0
  40. package/dist/esm/models/PutEmailTemplateDraft.js +55 -0
  41. package/dist/esm/models/index.d.ts +15 -0
  42. package/dist/esm/models/index.js +15 -0
  43. package/dist/models/EmailTemplateDefinition.d.ts +64 -0
  44. package/dist/models/EmailTemplateDefinition.js +72 -0
  45. package/dist/models/EmailTemplateScope.d.ts +25 -0
  46. package/dist/models/EmailTemplateScope.js +51 -0
  47. package/dist/models/EmailTemplateVariable.d.ts +59 -0
  48. package/dist/models/EmailTemplateVariable.js +71 -0
  49. package/dist/models/EmailTemplateVersion.d.ts +110 -0
  50. package/dist/models/EmailTemplateVersion.js +94 -0
  51. package/dist/models/GetEmailAssetUpload.d.ts +50 -0
  52. package/dist/models/GetEmailAssetUpload.js +62 -0
  53. package/dist/models/GetEmailDelivery.d.ts +123 -0
  54. package/dist/models/GetEmailDelivery.js +101 -0
  55. package/dist/models/GetEmailDeliveryList.d.ts +51 -0
  56. package/dist/models/GetEmailDeliveryList.js +63 -0
  57. package/dist/models/GetEmailTemplate.d.ts +74 -0
  58. package/dist/models/GetEmailTemplate.js +78 -0
  59. package/dist/models/GetEmailTemplateList.d.ts +33 -0
  60. package/dist/models/GetEmailTemplateList.js +51 -0
  61. package/dist/models/GetEmailTemplatePreview.d.ts +44 -0
  62. package/dist/models/GetEmailTemplatePreview.js +58 -0
  63. package/dist/models/PostEmailAssetComplete.d.ts +32 -0
  64. package/dist/models/PostEmailAssetComplete.js +50 -0
  65. package/dist/models/PostEmailAssetUpload.d.ts +54 -0
  66. package/dist/models/PostEmailAssetUpload.js +68 -0
  67. package/dist/models/PostEmailTemplatePreview.d.ts +64 -0
  68. package/dist/models/PostEmailTemplatePreview.js +62 -0
  69. package/dist/models/PostEmailTemplateTestSend.d.ts +32 -0
  70. package/dist/models/PostEmailTemplateTestSend.js +50 -0
  71. package/dist/models/PutEmailTemplateDraft.d.ts +64 -0
  72. package/dist/models/PutEmailTemplateDraft.js +62 -0
  73. package/dist/models/index.d.ts +15 -0
  74. package/dist/models/index.js +15 -0
  75. package/docs/EmailTemplateApi.md +2097 -0
  76. package/docs/EmailTemplateDefinition.md +44 -0
  77. package/docs/EmailTemplateScope.md +32 -0
  78. package/docs/EmailTemplateVariable.md +40 -0
  79. package/docs/EmailTemplateVersion.md +56 -0
  80. package/docs/GetEmailAssetUpload.md +40 -0
  81. package/docs/GetEmailDelivery.md +60 -0
  82. package/docs/GetEmailDeliveryList.md +40 -0
  83. package/docs/GetEmailTemplate.md +44 -0
  84. package/docs/GetEmailTemplateList.md +34 -0
  85. package/docs/GetEmailTemplatePreview.md +38 -0
  86. package/docs/PostEmailAssetComplete.md +34 -0
  87. package/docs/PostEmailAssetUpload.md +38 -0
  88. package/docs/PostEmailTemplatePreview.md +44 -0
  89. package/docs/PostEmailTemplateTestSend.md +34 -0
  90. package/docs/PutEmailTemplateDraft.md +44 -0
  91. package/package.json +1 -1
  92. package/src/apis/EmailTemplateApi.ts +1702 -0
  93. package/src/apis/index.ts +1 -0
  94. package/src/models/EmailTemplateDefinition.ts +128 -0
  95. package/src/models/EmailTemplateScope.ts +53 -0
  96. package/src/models/EmailTemplateVariable.ts +105 -0
  97. package/src/models/EmailTemplateVersion.ts +173 -0
  98. package/src/models/GetEmailAssetUpload.ts +93 -0
  99. package/src/models/GetEmailDelivery.ts +192 -0
  100. package/src/models/GetEmailDeliveryList.ts +101 -0
  101. package/src/models/GetEmailTemplate.ts +137 -0
  102. package/src/models/GetEmailTemplateList.ts +74 -0
  103. package/src/models/GetEmailTemplatePreview.ts +84 -0
  104. package/src/models/PostEmailAssetComplete.ts +66 -0
  105. package/src/models/PostEmailAssetUpload.ts +97 -0
  106. package/src/models/PostEmailTemplatePreview.ts +107 -0
  107. package/src/models/PostEmailTemplateTestSend.ts +66 -0
  108. package/src/models/PutEmailTemplateDraft.ts +107 -0
  109. package/src/models/index.ts +15 -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,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
+
@@ -0,0 +1,44 @@
1
+
2
+ # GetEmailTemplate
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `definition` | [EmailTemplateDefinition](EmailTemplateDefinition.md)
10
+ `effectiveSource` | string
11
+ `effectiveSourcePortalId` | string
12
+ `effectiveVersion` | [EmailTemplateVersion](EmailTemplateVersion.md)
13
+ `draftVersion` | [EmailTemplateVersion](EmailTemplateVersion.md)
14
+ `versions` | [Array<EmailTemplateVersion>](EmailTemplateVersion.md)
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { GetEmailTemplate } from '@easyedu/js-lsm-api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "definition": null,
24
+ "effectiveSource": null,
25
+ "effectiveSourcePortalId": null,
26
+ "effectiveVersion": null,
27
+ "draftVersion": null,
28
+ "versions": null,
29
+ } satisfies GetEmailTemplate
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 GetEmailTemplate
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,34 @@
1
+
2
+ # GetEmailTemplateList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `items` | [Array<GetEmailTemplate>](GetEmailTemplate.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { GetEmailTemplateList } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "items": null,
19
+ } satisfies GetEmailTemplateList
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 GetEmailTemplateList
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,38 @@
1
+
2
+ # GetEmailTemplatePreview
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `subject` | string
10
+ `html` | string
11
+ `text` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { GetEmailTemplatePreview } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "subject": null,
21
+ "html": null,
22
+ "text": null,
23
+ } satisfies GetEmailTemplatePreview
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as GetEmailTemplatePreview
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,34 @@
1
+
2
+ # PostEmailAssetComplete
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `checksumSha256` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PostEmailAssetComplete } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "checksumSha256": null,
19
+ } satisfies PostEmailAssetComplete
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 PostEmailAssetComplete
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,38 @@
1
+
2
+ # PostEmailAssetUpload
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `filename` | string
10
+ `contentType` | string
11
+ `byteSize` | number
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PostEmailAssetUpload } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "filename": null,
21
+ "contentType": null,
22
+ "byteSize": null,
23
+ } satisfies PostEmailAssetUpload
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostEmailAssetUpload
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,44 @@
1
+
2
+ # PostEmailTemplatePreview
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `subjectTemplate` | string
10
+ `preheaderTemplate` | string
11
+ `fromNameTemplate` | string
12
+ `replyTo` | string
13
+ `designDocument` | { [key: string]: any; }
14
+ `changeNotes` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { PostEmailTemplatePreview } from '@easyedu/js-lsm-api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "subjectTemplate": null,
24
+ "preheaderTemplate": null,
25
+ "fromNameTemplate": null,
26
+ "replyTo": null,
27
+ "designDocument": null,
28
+ "changeNotes": null,
29
+ } satisfies PostEmailTemplatePreview
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 PostEmailTemplatePreview
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,34 @@
1
+
2
+ # PostEmailTemplateTestSend
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `recipient` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PostEmailTemplateTestSend } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "recipient": null,
19
+ } satisfies PostEmailTemplateTestSend
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 PostEmailTemplateTestSend
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
+ # PutEmailTemplateDraft
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `subjectTemplate` | string
10
+ `preheaderTemplate` | string
11
+ `fromNameTemplate` | string
12
+ `replyTo` | string
13
+ `designDocument` | { [key: string]: any; }
14
+ `changeNotes` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { PutEmailTemplateDraft } from '@easyedu/js-lsm-api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "subjectTemplate": null,
24
+ "preheaderTemplate": null,
25
+ "fromNameTemplate": null,
26
+ "replyTo": null,
27
+ "designDocument": null,
28
+ "changeNotes": null,
29
+ } satisfies PutEmailTemplateDraft
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 PutEmailTemplateDraft
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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.84.0",
3
+ "version": "1.85.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {