@easyedu/js-lsm-api 1.104.0 → 1.106.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 +8 -0
  2. package/README.md +8 -3
  3. package/dist/apis/EmailTemplateApi.d.ts +32 -0
  4. package/dist/apis/EmailTemplateApi.js +64 -1
  5. package/dist/apis/PortalApi.d.ts +2 -2
  6. package/dist/apis/PortalApi.js +2 -2
  7. package/dist/esm/apis/EmailTemplateApi.d.ts +32 -0
  8. package/dist/esm/apis/EmailTemplateApi.js +63 -0
  9. package/dist/esm/apis/PortalApi.d.ts +2 -2
  10. package/dist/esm/apis/PortalApi.js +2 -2
  11. package/dist/esm/models/GetEmailDelivery.d.ts +31 -0
  12. package/dist/esm/models/GetEmailDelivery.js +13 -0
  13. package/dist/esm/models/GetPortal.d.ts +11 -2
  14. package/dist/esm/models/GetPortal.js +5 -0
  15. package/dist/esm/models/GetPortalInvitationSummary.d.ts +102 -0
  16. package/dist/esm/models/GetPortalInvitationSummary.js +87 -0
  17. package/dist/esm/models/GetPortalUser.d.ts +7 -0
  18. package/dist/esm/models/GetPortalUser.js +3 -0
  19. package/dist/esm/models/GetPublicPortalBranding.d.ts +11 -2
  20. package/dist/esm/models/GetPublicPortalBranding.js +5 -0
  21. package/dist/esm/models/PortalBrandColorsV1.d.ts +194 -0
  22. package/dist/esm/models/PortalBrandColorsV1.js +151 -0
  23. package/dist/esm/models/PortalBrandThemeV1.d.ts +53 -0
  24. package/dist/esm/models/PortalBrandThemeV1.js +59 -0
  25. package/dist/esm/models/PortalBrandTypographyV1.d.ts +80 -0
  26. package/dist/esm/models/PortalBrandTypographyV1.js +78 -0
  27. package/dist/esm/models/PostPortal.d.ts +9 -0
  28. package/dist/esm/models/PostPortal.js +3 -0
  29. package/dist/esm/models/PutPortalBranding.d.ts +9 -0
  30. package/dist/esm/models/PutPortalBranding.js +3 -0
  31. package/dist/esm/models/index.d.ts +4 -0
  32. package/dist/esm/models/index.js +4 -0
  33. package/dist/models/GetEmailDelivery.d.ts +31 -0
  34. package/dist/models/GetEmailDelivery.js +13 -0
  35. package/dist/models/GetPortal.d.ts +11 -2
  36. package/dist/models/GetPortal.js +5 -0
  37. package/dist/models/GetPortalInvitationSummary.d.ts +102 -0
  38. package/dist/models/GetPortalInvitationSummary.js +95 -0
  39. package/dist/models/GetPortalUser.d.ts +7 -0
  40. package/dist/models/GetPortalUser.js +3 -0
  41. package/dist/models/GetPublicPortalBranding.d.ts +11 -2
  42. package/dist/models/GetPublicPortalBranding.js +5 -0
  43. package/dist/models/PortalBrandColorsV1.d.ts +194 -0
  44. package/dist/models/PortalBrandColorsV1.js +158 -0
  45. package/dist/models/PortalBrandThemeV1.d.ts +53 -0
  46. package/dist/models/PortalBrandThemeV1.js +67 -0
  47. package/dist/models/PortalBrandTypographyV1.d.ts +80 -0
  48. package/dist/models/PortalBrandTypographyV1.js +86 -0
  49. package/dist/models/PostPortal.d.ts +9 -0
  50. package/dist/models/PostPortal.js +3 -0
  51. package/dist/models/PutPortalBranding.d.ts +9 -0
  52. package/dist/models/PutPortalBranding.js +3 -0
  53. package/dist/models/index.d.ts +4 -0
  54. package/dist/models/index.js +4 -0
  55. package/docs/EmailTemplateApi.md +82 -1
  56. package/docs/GetEmailDelivery.md +10 -0
  57. package/docs/GetPortal.md +2 -0
  58. package/docs/GetPortalInvitationSummary.md +51 -0
  59. package/docs/GetPortalUser.md +2 -0
  60. package/docs/GetPublicPortalBranding.md +2 -0
  61. package/docs/PortalApi.md +2 -2
  62. package/docs/PortalBrandColorsV1.md +89 -0
  63. package/docs/PortalBrandThemeV1.md +39 -0
  64. package/docs/PortalBrandTypographyV1.md +47 -0
  65. package/docs/PostPortal.md +2 -0
  66. package/docs/PutPortalBranding.md +2 -0
  67. package/package.json +1 -1
  68. package/src/apis/EmailTemplateApi.ts +83 -0
  69. package/src/apis/PortalApi.ts +2 -2
  70. package/src/models/GetEmailDelivery.ts +49 -0
  71. package/src/models/GetPortal.ts +21 -2
  72. package/src/models/GetPortalInvitationSummary.ts +160 -0
  73. package/src/models/GetPortalUser.ts +16 -0
  74. package/src/models/GetPublicPortalBranding.ts +21 -2
  75. package/src/models/PortalBrandColorsV1.ts +309 -0
  76. package/src/models/PortalBrandThemeV1.ts +109 -0
  77. package/src/models/PortalBrandTypographyV1.ts +135 -0
  78. package/src/models/PostPortal.ts +18 -0
  79. package/src/models/PutPortalBranding.ts +18 -0
  80. package/src/models/index.ts +4 -0
@@ -0,0 +1,53 @@
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 { PortalBrandColorsV1 } from './PortalBrandColorsV1';
13
+ import type { PortalBrandTypographyV1 } from './PortalBrandTypographyV1';
14
+ /**
15
+ * Complete version 1 portal application theme. Updates replace this object as a whole.
16
+ * @export
17
+ * @interface PortalBrandThemeV1
18
+ */
19
+ export interface PortalBrandThemeV1 {
20
+ /**
21
+ *
22
+ * @type {PortalBrandThemeV1SchemaVersionEnum}
23
+ * @memberof PortalBrandThemeV1
24
+ */
25
+ schemaVersion: PortalBrandThemeV1SchemaVersionEnum;
26
+ /**
27
+ *
28
+ * @type {PortalBrandTypographyV1}
29
+ * @memberof PortalBrandThemeV1
30
+ */
31
+ typography: PortalBrandTypographyV1;
32
+ /**
33
+ *
34
+ * @type {PortalBrandColorsV1}
35
+ * @memberof PortalBrandThemeV1
36
+ */
37
+ colors: PortalBrandColorsV1;
38
+ }
39
+ /**
40
+ * @export
41
+ */
42
+ export declare const PortalBrandThemeV1SchemaVersionEnum: {
43
+ readonly V1: "v1";
44
+ };
45
+ export type PortalBrandThemeV1SchemaVersionEnum = typeof PortalBrandThemeV1SchemaVersionEnum[keyof typeof PortalBrandThemeV1SchemaVersionEnum];
46
+ /**
47
+ * Check if a given object implements the PortalBrandThemeV1 interface.
48
+ */
49
+ export declare function instanceOfPortalBrandThemeV1(value: object): value is PortalBrandThemeV1;
50
+ export declare function PortalBrandThemeV1FromJSON(json: any): PortalBrandThemeV1;
51
+ export declare function PortalBrandThemeV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): PortalBrandThemeV1;
52
+ export declare function PortalBrandThemeV1ToJSON(json: any): PortalBrandThemeV1;
53
+ export declare function PortalBrandThemeV1ToJSONTyped(value?: PortalBrandThemeV1 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.PortalBrandThemeV1SchemaVersionEnum = void 0;
17
+ exports.instanceOfPortalBrandThemeV1 = instanceOfPortalBrandThemeV1;
18
+ exports.PortalBrandThemeV1FromJSON = PortalBrandThemeV1FromJSON;
19
+ exports.PortalBrandThemeV1FromJSONTyped = PortalBrandThemeV1FromJSONTyped;
20
+ exports.PortalBrandThemeV1ToJSON = PortalBrandThemeV1ToJSON;
21
+ exports.PortalBrandThemeV1ToJSONTyped = PortalBrandThemeV1ToJSONTyped;
22
+ const PortalBrandColorsV1_1 = require("./PortalBrandColorsV1");
23
+ const PortalBrandTypographyV1_1 = require("./PortalBrandTypographyV1");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.PortalBrandThemeV1SchemaVersionEnum = {
28
+ V1: 'v1'
29
+ };
30
+ /**
31
+ * Check if a given object implements the PortalBrandThemeV1 interface.
32
+ */
33
+ function instanceOfPortalBrandThemeV1(value) {
34
+ if (!('schemaVersion' in value) || value['schemaVersion'] === undefined)
35
+ return false;
36
+ if (!('typography' in value) || value['typography'] === undefined)
37
+ return false;
38
+ if (!('colors' in value) || value['colors'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function PortalBrandThemeV1FromJSON(json) {
43
+ return PortalBrandThemeV1FromJSONTyped(json, false);
44
+ }
45
+ function PortalBrandThemeV1FromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'schemaVersion': json['schema_version'],
51
+ 'typography': (0, PortalBrandTypographyV1_1.PortalBrandTypographyV1FromJSON)(json['typography']),
52
+ 'colors': (0, PortalBrandColorsV1_1.PortalBrandColorsV1FromJSON)(json['colors']),
53
+ };
54
+ }
55
+ function PortalBrandThemeV1ToJSON(json) {
56
+ return PortalBrandThemeV1ToJSONTyped(json, false);
57
+ }
58
+ function PortalBrandThemeV1ToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'schema_version': value['schemaVersion'],
64
+ 'typography': (0, PortalBrandTypographyV1_1.PortalBrandTypographyV1ToJSON)(value['typography']),
65
+ 'colors': (0, PortalBrandColorsV1_1.PortalBrandColorsV1ToJSON)(value['colors']),
66
+ };
67
+ }
@@ -0,0 +1,80 @@
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
+ * Typography settings for a portal-owned light application theme.
14
+ * @export
15
+ * @interface PortalBrandTypographyV1
16
+ */
17
+ export interface PortalBrandTypographyV1 {
18
+ /**
19
+ * Curated application font family. Values map to bundled frontend fonts.
20
+ * @type {PortalBrandTypographyV1FontFamilyEnum}
21
+ * @memberof PortalBrandTypographyV1
22
+ */
23
+ fontFamily: PortalBrandTypographyV1FontFamilyEnum;
24
+ /**
25
+ * Base application font size in CSS pixels.
26
+ * @type {number}
27
+ * @memberof PortalBrandTypographyV1
28
+ */
29
+ baseFontSizePx: number;
30
+ /**
31
+ * Regular text weight. Supported values are 300 through 800 in increments of 100.
32
+ * @type {number}
33
+ * @memberof PortalBrandTypographyV1
34
+ */
35
+ fontWeightRegular: number;
36
+ /**
37
+ * Emphasized text weight. Supported values are 300 through 800 in increments of 100.
38
+ * @type {number}
39
+ * @memberof PortalBrandTypographyV1
40
+ */
41
+ fontWeightMedium: number;
42
+ /**
43
+ * Heading and bold text weight. Supported values are 300 through 800 in increments of 100.
44
+ * @type {number}
45
+ * @memberof PortalBrandTypographyV1
46
+ */
47
+ fontWeightBold: number;
48
+ /**
49
+ * Unitless line-height multiplier for normal application text.
50
+ * @type {number}
51
+ * @memberof PortalBrandTypographyV1
52
+ */
53
+ lineHeight: number;
54
+ /**
55
+ * Letter spacing for normal application text, in em units.
56
+ * @type {number}
57
+ * @memberof PortalBrandTypographyV1
58
+ */
59
+ letterSpacingEm: number;
60
+ }
61
+ /**
62
+ * @export
63
+ */
64
+ export declare const PortalBrandTypographyV1FontFamilyEnum: {
65
+ readonly Inter: "Inter";
66
+ readonly Roboto: "Roboto";
67
+ readonly OpenSans: "Open Sans";
68
+ readonly Montserrat: "Montserrat";
69
+ readonly SourceSans3: "Source Sans 3";
70
+ readonly NunitoSans: "Nunito Sans";
71
+ };
72
+ export type PortalBrandTypographyV1FontFamilyEnum = typeof PortalBrandTypographyV1FontFamilyEnum[keyof typeof PortalBrandTypographyV1FontFamilyEnum];
73
+ /**
74
+ * Check if a given object implements the PortalBrandTypographyV1 interface.
75
+ */
76
+ export declare function instanceOfPortalBrandTypographyV1(value: object): value is PortalBrandTypographyV1;
77
+ export declare function PortalBrandTypographyV1FromJSON(json: any): PortalBrandTypographyV1;
78
+ export declare function PortalBrandTypographyV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): PortalBrandTypographyV1;
79
+ export declare function PortalBrandTypographyV1ToJSON(json: any): PortalBrandTypographyV1;
80
+ export declare function PortalBrandTypographyV1ToJSONTyped(value?: PortalBrandTypographyV1 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,86 @@
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.PortalBrandTypographyV1FontFamilyEnum = void 0;
17
+ exports.instanceOfPortalBrandTypographyV1 = instanceOfPortalBrandTypographyV1;
18
+ exports.PortalBrandTypographyV1FromJSON = PortalBrandTypographyV1FromJSON;
19
+ exports.PortalBrandTypographyV1FromJSONTyped = PortalBrandTypographyV1FromJSONTyped;
20
+ exports.PortalBrandTypographyV1ToJSON = PortalBrandTypographyV1ToJSON;
21
+ exports.PortalBrandTypographyV1ToJSONTyped = PortalBrandTypographyV1ToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PortalBrandTypographyV1FontFamilyEnum = {
26
+ Inter: 'Inter',
27
+ Roboto: 'Roboto',
28
+ OpenSans: 'Open Sans',
29
+ Montserrat: 'Montserrat',
30
+ SourceSans3: 'Source Sans 3',
31
+ NunitoSans: 'Nunito Sans'
32
+ };
33
+ /**
34
+ * Check if a given object implements the PortalBrandTypographyV1 interface.
35
+ */
36
+ function instanceOfPortalBrandTypographyV1(value) {
37
+ if (!('fontFamily' in value) || value['fontFamily'] === undefined)
38
+ return false;
39
+ if (!('baseFontSizePx' in value) || value['baseFontSizePx'] === undefined)
40
+ return false;
41
+ if (!('fontWeightRegular' in value) || value['fontWeightRegular'] === undefined)
42
+ return false;
43
+ if (!('fontWeightMedium' in value) || value['fontWeightMedium'] === undefined)
44
+ return false;
45
+ if (!('fontWeightBold' in value) || value['fontWeightBold'] === undefined)
46
+ return false;
47
+ if (!('lineHeight' in value) || value['lineHeight'] === undefined)
48
+ return false;
49
+ if (!('letterSpacingEm' in value) || value['letterSpacingEm'] === undefined)
50
+ return false;
51
+ return true;
52
+ }
53
+ function PortalBrandTypographyV1FromJSON(json) {
54
+ return PortalBrandTypographyV1FromJSONTyped(json, false);
55
+ }
56
+ function PortalBrandTypographyV1FromJSONTyped(json, ignoreDiscriminator) {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+ 'fontFamily': json['font_family'],
62
+ 'baseFontSizePx': json['base_font_size_px'],
63
+ 'fontWeightRegular': json['font_weight_regular'],
64
+ 'fontWeightMedium': json['font_weight_medium'],
65
+ 'fontWeightBold': json['font_weight_bold'],
66
+ 'lineHeight': json['line_height'],
67
+ 'letterSpacingEm': json['letter_spacing_em'],
68
+ };
69
+ }
70
+ function PortalBrandTypographyV1ToJSON(json) {
71
+ return PortalBrandTypographyV1ToJSONTyped(json, false);
72
+ }
73
+ function PortalBrandTypographyV1ToJSONTyped(value, ignoreDiscriminator = false) {
74
+ if (value == null) {
75
+ return value;
76
+ }
77
+ return {
78
+ 'font_family': value['fontFamily'],
79
+ 'base_font_size_px': value['baseFontSizePx'],
80
+ 'font_weight_regular': value['fontWeightRegular'],
81
+ 'font_weight_medium': value['fontWeightMedium'],
82
+ 'font_weight_bold': value['fontWeightBold'],
83
+ 'line_height': value['lineHeight'],
84
+ 'letter_spacing_em': value['letterSpacingEm'],
85
+ };
86
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { PortalBrandThemeV1 } from './PortalBrandThemeV1';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -25,14 +26,22 @@ export interface PostPortal {
25
26
  * Hex color value for portal background (e.g.,
26
27
  * @type {string}
27
28
  * @memberof PostPortal
29
+ * @deprecated
28
30
  */
29
31
  headerBackgroundColor?: string;
30
32
  /**
31
33
  * Hex color value for portal text (e.g.,
32
34
  * @type {string}
33
35
  * @memberof PostPortal
36
+ * @deprecated
34
37
  */
35
38
  headerTextColor?: string;
39
+ /**
40
+ *
41
+ * @type {PortalBrandThemeV1}
42
+ * @memberof PostPortal
43
+ */
44
+ brandingTheme?: PortalBrandThemeV1;
36
45
  /**
37
46
  * Platform subdomain slug used for '{slug}.edaxu.com'
38
47
  * @type {string}
@@ -18,6 +18,7 @@ exports.PostPortalFromJSON = PostPortalFromJSON;
18
18
  exports.PostPortalFromJSONTyped = PostPortalFromJSONTyped;
19
19
  exports.PostPortalToJSON = PostPortalToJSON;
20
20
  exports.PostPortalToJSONTyped = PostPortalToJSONTyped;
21
+ const PortalBrandThemeV1_1 = require("./PortalBrandThemeV1");
21
22
  /**
22
23
  * Check if a given object implements the PostPortal interface.
23
24
  */
@@ -37,6 +38,7 @@ function PostPortalFromJSONTyped(json, ignoreDiscriminator) {
37
38
  'name': json['name'],
38
39
  'headerBackgroundColor': json['header_background_color'] == null ? undefined : json['header_background_color'],
39
40
  'headerTextColor': json['header_text_color'] == null ? undefined : json['header_text_color'],
41
+ 'brandingTheme': json['branding_theme'] == null ? undefined : (0, PortalBrandThemeV1_1.PortalBrandThemeV1FromJSON)(json['branding_theme']),
40
42
  'slug': json['slug'] == null ? undefined : json['slug'],
41
43
  'clientDomain': json['client_domain'] == null ? undefined : json['client_domain'],
42
44
  };
@@ -52,6 +54,7 @@ function PostPortalToJSONTyped(value, ignoreDiscriminator = false) {
52
54
  'name': value['name'],
53
55
  'header_background_color': value['headerBackgroundColor'],
54
56
  'header_text_color': value['headerTextColor'],
57
+ 'branding_theme': (0, PortalBrandThemeV1_1.PortalBrandThemeV1ToJSON)(value['brandingTheme']),
55
58
  'slug': value['slug'],
56
59
  'client_domain': value['clientDomain'],
57
60
  };
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { PortalBrandThemeV1 } from './PortalBrandThemeV1';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -25,14 +26,22 @@ export interface PutPortalBranding {
25
26
  * Hex color value for portal background (e.g.,
26
27
  * @type {string}
27
28
  * @memberof PutPortalBranding
29
+ * @deprecated
28
30
  */
29
31
  headerBackgroundColor?: string;
30
32
  /**
31
33
  * Hex color value for portal text (e.g.,
32
34
  * @type {string}
33
35
  * @memberof PutPortalBranding
36
+ * @deprecated
34
37
  */
35
38
  headerTextColor?: string;
39
+ /**
40
+ *
41
+ * @type {PortalBrandThemeV1}
42
+ * @memberof PutPortalBranding
43
+ */
44
+ brandingTheme?: PortalBrandThemeV1;
36
45
  /**
37
46
  * Platform subdomain slug used for '{slug}.edaxu.com'. Set null to inherit from an ancestor.
38
47
  * @type {string}
@@ -18,6 +18,7 @@ exports.PutPortalBrandingFromJSON = PutPortalBrandingFromJSON;
18
18
  exports.PutPortalBrandingFromJSONTyped = PutPortalBrandingFromJSONTyped;
19
19
  exports.PutPortalBrandingToJSON = PutPortalBrandingToJSON;
20
20
  exports.PutPortalBrandingToJSONTyped = PutPortalBrandingToJSONTyped;
21
+ const PortalBrandThemeV1_1 = require("./PortalBrandThemeV1");
21
22
  /**
22
23
  * Check if a given object implements the PutPortalBranding interface.
23
24
  */
@@ -35,6 +36,7 @@ function PutPortalBrandingFromJSONTyped(json, ignoreDiscriminator) {
35
36
  'name': json['name'] == null ? undefined : json['name'],
36
37
  'headerBackgroundColor': json['header_background_color'] == null ? undefined : json['header_background_color'],
37
38
  'headerTextColor': json['header_text_color'] == null ? undefined : json['header_text_color'],
39
+ 'brandingTheme': json['branding_theme'] == null ? undefined : (0, PortalBrandThemeV1_1.PortalBrandThemeV1FromJSON)(json['branding_theme']),
38
40
  'slug': json['slug'] == null ? undefined : json['slug'],
39
41
  'clientDomain': json['client_domain'] == null ? undefined : json['client_domain'],
40
42
  };
@@ -50,6 +52,7 @@ function PutPortalBrandingToJSONTyped(value, ignoreDiscriminator = false) {
50
52
  'name': value['name'],
51
53
  'header_background_color': value['headerBackgroundColor'],
52
54
  'header_text_color': value['headerTextColor'],
55
+ 'branding_theme': (0, PortalBrandThemeV1_1.PortalBrandThemeV1ToJSON)(value['brandingTheme']),
53
56
  'slug': value['slug'],
54
57
  'client_domain': value['clientDomain'],
55
58
  };
@@ -94,6 +94,7 @@ export * from './GetLibraryQuizVersion';
94
94
  export * from './GetPermission';
95
95
  export * from './GetPortal';
96
96
  export * from './GetPortalFaviconUpload';
97
+ export * from './GetPortalInvitationSummary';
97
98
  export * from './GetPortalList';
98
99
  export * from './GetPortalLogoUpload';
99
100
  export * from './GetPortalUser';
@@ -156,6 +157,9 @@ export * from './LoginResAuthData';
156
157
  export * from './LoginResUserData';
157
158
  export * from './LoginResUserDataSelectedPortal';
158
159
  export * from './Paginated';
160
+ export * from './PortalBrandColorsV1';
161
+ export * from './PortalBrandThemeV1';
162
+ export * from './PortalBrandTypographyV1';
159
163
  export * from './PortalSublicense';
160
164
  export * from './PortalUserFieldConfig';
161
165
  export * from './PortalUserFieldDefinition';
@@ -112,6 +112,7 @@ __exportStar(require("./GetLibraryQuizVersion"), exports);
112
112
  __exportStar(require("./GetPermission"), exports);
113
113
  __exportStar(require("./GetPortal"), exports);
114
114
  __exportStar(require("./GetPortalFaviconUpload"), exports);
115
+ __exportStar(require("./GetPortalInvitationSummary"), exports);
115
116
  __exportStar(require("./GetPortalList"), exports);
116
117
  __exportStar(require("./GetPortalLogoUpload"), exports);
117
118
  __exportStar(require("./GetPortalUser"), exports);
@@ -174,6 +175,9 @@ __exportStar(require("./LoginResAuthData"), exports);
174
175
  __exportStar(require("./LoginResUserData"), exports);
175
176
  __exportStar(require("./LoginResUserDataSelectedPortal"), exports);
176
177
  __exportStar(require("./Paginated"), exports);
178
+ __exportStar(require("./PortalBrandColorsV1"), exports);
179
+ __exportStar(require("./PortalBrandThemeV1"), exports);
180
+ __exportStar(require("./PortalBrandTypographyV1"), exports);
177
181
  __exportStar(require("./PortalSublicense"), exports);
178
182
  __exportStar(require("./PortalUserFieldConfig"), exports);
179
183
  __exportStar(require("./PortalUserFieldDefinition"), exports);
@@ -35,6 +35,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
35
35
  | [**putEmailTemplateDraft**](EmailTemplateApi.md#putemailtemplatedraft) | **PUT** /email-templates/{templateKey}/draft | Update a portal email template draft |
36
36
  | [**putSystemEmailAssetFile**](EmailTemplateApi.md#putsystememailassetfile) | **PUT** /system/email-assets/{assetId}/file | Upload a pending platform email image |
37
37
  | [**putSystemEmailTemplateDraft**](EmailTemplateApi.md#putsystememailtemplatedraft) | **PUT** /system/email-templates/{templateKey}/draft | Update a platform email template draft |
38
+ | [**resendEmailDelivery**](EmailTemplateApi.md#resendemaildelivery) | **POST** /email-deliveries/{deliveryId}/resend | Regenerate and queue a portal email from its current business source |
38
39
 
39
40
 
40
41
 
@@ -172,7 +173,7 @@ No authorization required
172
173
 
173
174
  ## getEmailDeliveryList
174
175
 
175
- > GetEmailDeliveryList getEmailDeliveryList(page, pageSize)
176
+ > GetEmailDeliveryList getEmailDeliveryList(page, pageSize, templateKey, status, recipient, isTest)
176
177
 
177
178
  List selected-portal email delivery activity
178
179
 
@@ -194,6 +195,14 @@ async function example() {
194
195
  page: 56,
195
196
  // number (optional)
196
197
  pageSize: 56,
198
+ // string (optional)
199
+ templateKey: templateKey_example,
200
+ // 'queued' | 'processing' | 'accepted' | 'delivered' | 'deferred' | 'failed' | 'complained' (optional)
201
+ status: status_example,
202
+ // string | Case-insensitive recipient substring search (optional)
203
+ recipient: recipient_example,
204
+ // boolean (optional)
205
+ isTest: true,
197
206
  } satisfies GetEmailDeliveryListRequest;
198
207
 
199
208
  try {
@@ -215,6 +224,10 @@ example().catch(console.error);
215
224
  |------------- | ------------- | ------------- | -------------|
216
225
  | **page** | `number` | | [Optional] [Defaults to `1`] |
217
226
  | **pageSize** | `number` | | [Optional] [Defaults to `20`] |
227
+ | **templateKey** | `string` | | [Optional] [Defaults to `undefined`] |
228
+ | **status** | `queued`, `processing`, `accepted`, `delivered`, `deferred`, `failed`, `complained` | | [Optional] [Defaults to `undefined`] [Enum: queued, processing, accepted, delivered, deferred, failed, complained] |
229
+ | **recipient** | `string` | Case-insensitive recipient substring search | [Optional] [Defaults to `undefined`] |
230
+ | **isTest** | `boolean` | | [Optional] [Defaults to `undefined`] |
218
231
 
219
232
  ### Return type
220
233
 
@@ -2095,3 +2108,71 @@ No authorization required
2095
2108
 
2096
2109
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2097
2110
 
2111
+
2112
+ ## resendEmailDelivery
2113
+
2114
+ > GetEmailDelivery resendEmailDelivery(deliveryId)
2115
+
2116
+ Regenerate and queue a portal email from its current business source
2117
+
2118
+ ### Example
2119
+
2120
+ ```ts
2121
+ import {
2122
+ Configuration,
2123
+ EmailTemplateApi,
2124
+ } from '@easyedu/js-lsm-api';
2125
+ import type { ResendEmailDeliveryRequest } from '@easyedu/js-lsm-api';
2126
+
2127
+ async function example() {
2128
+ console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
2129
+ const api = new EmailTemplateApi();
2130
+
2131
+ const body = {
2132
+ // string
2133
+ deliveryId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
2134
+ } satisfies ResendEmailDeliveryRequest;
2135
+
2136
+ try {
2137
+ const data = await api.resendEmailDelivery(body);
2138
+ console.log(data);
2139
+ } catch (error) {
2140
+ console.error(error);
2141
+ }
2142
+ }
2143
+
2144
+ // Run the test
2145
+ example().catch(console.error);
2146
+ ```
2147
+
2148
+ ### Parameters
2149
+
2150
+
2151
+ | Name | Type | Description | Notes |
2152
+ |------------- | ------------- | ------------- | -------------|
2153
+ | **deliveryId** | `string` | | [Defaults to `undefined`] |
2154
+
2155
+ ### Return type
2156
+
2157
+ [**GetEmailDelivery**](GetEmailDelivery.md)
2158
+
2159
+ ### Authorization
2160
+
2161
+ No authorization required
2162
+
2163
+ ### HTTP request headers
2164
+
2165
+ - **Content-Type**: Not defined
2166
+ - **Accept**: `application/json`
2167
+
2168
+
2169
+ ### HTTP response details
2170
+ | Status code | Description | Response headers |
2171
+ |-------------|-------------|------------------|
2172
+ | **201** | Newly queued delivery | - |
2173
+ | **404** | Delivery not found in the selected portal | - |
2174
+ | **409** | Delivery source is no longer eligible or another send is active | - |
2175
+ | **429** | Delivery source resend cooldown is active | - |
2176
+
2177
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
2178
+
@@ -10,6 +10,7 @@ Name | Type
10
10
  `templateKey` | string
11
11
  `templateVersionId` | string
12
12
  `recipient` | string
13
+ `subject` | string
13
14
  `isTest` | boolean
14
15
  `status` | string
15
16
  `attempts` | number
@@ -20,6 +21,10 @@ Name | Type
20
21
  `acceptedAt` | number
21
22
  `deliveredAt` | number
22
23
  `failedAt` | number
24
+ `resendOfDeliveryId` | string
25
+ `canResend` | boolean
26
+ `resendBlockedReason` | string
27
+ `invitation` | [GetPortalInvitationSummary](GetPortalInvitationSummary.md)
23
28
 
24
29
  ## Example
25
30
 
@@ -32,6 +37,7 @@ const example = {
32
37
  "templateKey": null,
33
38
  "templateVersionId": null,
34
39
  "recipient": null,
40
+ "subject": null,
35
41
  "isTest": null,
36
42
  "status": null,
37
43
  "attempts": null,
@@ -42,6 +48,10 @@ const example = {
42
48
  "acceptedAt": null,
43
49
  "deliveredAt": null,
44
50
  "failedAt": null,
51
+ "resendOfDeliveryId": null,
52
+ "canResend": null,
53
+ "resendBlockedReason": null,
54
+ "invitation": null,
45
55
  } satisfies GetEmailDelivery
46
56
 
47
57
  console.log(example)
package/docs/GetPortal.md CHANGED
@@ -15,6 +15,7 @@ Name | Type
15
15
  `faviconUrl` | string
16
16
  `headerBackgroundColor` | string
17
17
  `headerTextColor` | string
18
+ `brandingTheme` | [PortalBrandThemeV1](PortalBrandThemeV1.md)
18
19
  `baseType` | string
19
20
 
20
21
  ## Example
@@ -33,6 +34,7 @@ const example = {
33
34
  "faviconUrl": null,
34
35
  "headerBackgroundColor": null,
35
36
  "headerTextColor": null,
37
+ "brandingTheme": null,
36
38
  "baseType": null,
37
39
  } satisfies GetPortal
38
40
 
@@ -0,0 +1,51 @@
1
+
2
+ # GetPortalInvitationSummary
3
+
4
+ Invitation lifecycle and latest email delivery state for a portal user.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `id` | string
11
+ `status` | string
12
+ `invitedAt` | number
13
+ `expiresAt` | number
14
+ `acceptedAt` | number
15
+ `lastSentAt` | number
16
+ `latestDeliveryStatus` | string
17
+ `canResend` | boolean
18
+ `resendBlockedReason` | string
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { GetPortalInvitationSummary } from '@easyedu/js-lsm-api'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "id": null,
28
+ "status": null,
29
+ "invitedAt": null,
30
+ "expiresAt": null,
31
+ "acceptedAt": null,
32
+ "lastSentAt": null,
33
+ "latestDeliveryStatus": null,
34
+ "canResend": null,
35
+ "resendBlockedReason": null,
36
+ } satisfies GetPortalInvitationSummary
37
+
38
+ console.log(example)
39
+
40
+ // Convert the instance to a JSON string
41
+ const exampleJSON: string = JSON.stringify(example)
42
+ console.log(exampleJSON)
43
+
44
+ // Parse the JSON string back to an object
45
+ const exampleParsed = JSON.parse(exampleJSON) as GetPortalInvitationSummary
46
+ console.log(exampleParsed)
47
+ ```
48
+
49
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
50
+
51
+
@@ -13,6 +13,7 @@ Name | Type
13
13
  `lastName` | string
14
14
  `role` | string
15
15
  `isActive` | boolean
16
+ `invitation` | [GetPortalInvitationSummary](GetPortalInvitationSummary.md)
16
17
 
17
18
  ## Example
18
19
 
@@ -27,6 +28,7 @@ const example = {
27
28
  "lastName": null,
28
29
  "role": null,
29
30
  "isActive": null,
31
+ "invitation": null,
30
32
  } satisfies GetPortalUser
31
33
 
32
34
  console.log(example)