@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,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PortalBrandColorsV1FromJSON, PortalBrandColorsV1ToJSON, } from './PortalBrandColorsV1';
15
+ import { PortalBrandTypographyV1FromJSON, PortalBrandTypographyV1ToJSON, } from './PortalBrandTypographyV1';
16
+ /**
17
+ * @export
18
+ */
19
+ export const PortalBrandThemeV1SchemaVersionEnum = {
20
+ V1: 'v1'
21
+ };
22
+ /**
23
+ * Check if a given object implements the PortalBrandThemeV1 interface.
24
+ */
25
+ export function instanceOfPortalBrandThemeV1(value) {
26
+ if (!('schemaVersion' in value) || value['schemaVersion'] === undefined)
27
+ return false;
28
+ if (!('typography' in value) || value['typography'] === undefined)
29
+ return false;
30
+ if (!('colors' in value) || value['colors'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function PortalBrandThemeV1FromJSON(json) {
35
+ return PortalBrandThemeV1FromJSONTyped(json, false);
36
+ }
37
+ export function PortalBrandThemeV1FromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'schemaVersion': json['schema_version'],
43
+ 'typography': PortalBrandTypographyV1FromJSON(json['typography']),
44
+ 'colors': PortalBrandColorsV1FromJSON(json['colors']),
45
+ };
46
+ }
47
+ export function PortalBrandThemeV1ToJSON(json) {
48
+ return PortalBrandThemeV1ToJSONTyped(json, false);
49
+ }
50
+ export function PortalBrandThemeV1ToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'schema_version': value['schemaVersion'],
56
+ 'typography': PortalBrandTypographyV1ToJSON(value['typography']),
57
+ 'colors': PortalBrandColorsV1ToJSON(value['colors']),
58
+ };
59
+ }
@@ -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,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const PortalBrandTypographyV1FontFamilyEnum = {
18
+ Inter: 'Inter',
19
+ Roboto: 'Roboto',
20
+ OpenSans: 'Open Sans',
21
+ Montserrat: 'Montserrat',
22
+ SourceSans3: 'Source Sans 3',
23
+ NunitoSans: 'Nunito Sans'
24
+ };
25
+ /**
26
+ * Check if a given object implements the PortalBrandTypographyV1 interface.
27
+ */
28
+ export function instanceOfPortalBrandTypographyV1(value) {
29
+ if (!('fontFamily' in value) || value['fontFamily'] === undefined)
30
+ return false;
31
+ if (!('baseFontSizePx' in value) || value['baseFontSizePx'] === undefined)
32
+ return false;
33
+ if (!('fontWeightRegular' in value) || value['fontWeightRegular'] === undefined)
34
+ return false;
35
+ if (!('fontWeightMedium' in value) || value['fontWeightMedium'] === undefined)
36
+ return false;
37
+ if (!('fontWeightBold' in value) || value['fontWeightBold'] === undefined)
38
+ return false;
39
+ if (!('lineHeight' in value) || value['lineHeight'] === undefined)
40
+ return false;
41
+ if (!('letterSpacingEm' in value) || value['letterSpacingEm'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ export function PortalBrandTypographyV1FromJSON(json) {
46
+ return PortalBrandTypographyV1FromJSONTyped(json, false);
47
+ }
48
+ export function PortalBrandTypographyV1FromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'fontFamily': json['font_family'],
54
+ 'baseFontSizePx': json['base_font_size_px'],
55
+ 'fontWeightRegular': json['font_weight_regular'],
56
+ 'fontWeightMedium': json['font_weight_medium'],
57
+ 'fontWeightBold': json['font_weight_bold'],
58
+ 'lineHeight': json['line_height'],
59
+ 'letterSpacingEm': json['letter_spacing_em'],
60
+ };
61
+ }
62
+ export function PortalBrandTypographyV1ToJSON(json) {
63
+ return PortalBrandTypographyV1ToJSONTyped(json, false);
64
+ }
65
+ export function PortalBrandTypographyV1ToJSONTyped(value, ignoreDiscriminator = false) {
66
+ if (value == null) {
67
+ return value;
68
+ }
69
+ return {
70
+ 'font_family': value['fontFamily'],
71
+ 'base_font_size_px': value['baseFontSizePx'],
72
+ 'font_weight_regular': value['fontWeightRegular'],
73
+ 'font_weight_medium': value['fontWeightMedium'],
74
+ 'font_weight_bold': value['fontWeightBold'],
75
+ 'line_height': value['lineHeight'],
76
+ 'letter_spacing_em': value['letterSpacingEm'],
77
+ };
78
+ }
@@ -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}
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { PortalBrandThemeV1FromJSON, PortalBrandThemeV1ToJSON, } from './PortalBrandThemeV1';
14
15
  /**
15
16
  * Check if a given object implements the PostPortal interface.
16
17
  */
@@ -30,6 +31,7 @@ export function PostPortalFromJSONTyped(json, ignoreDiscriminator) {
30
31
  'name': json['name'],
31
32
  'headerBackgroundColor': json['header_background_color'] == null ? undefined : json['header_background_color'],
32
33
  'headerTextColor': json['header_text_color'] == null ? undefined : json['header_text_color'],
34
+ 'brandingTheme': json['branding_theme'] == null ? undefined : PortalBrandThemeV1FromJSON(json['branding_theme']),
33
35
  'slug': json['slug'] == null ? undefined : json['slug'],
34
36
  'clientDomain': json['client_domain'] == null ? undefined : json['client_domain'],
35
37
  };
@@ -45,6 +47,7 @@ export function PostPortalToJSONTyped(value, ignoreDiscriminator = false) {
45
47
  'name': value['name'],
46
48
  'header_background_color': value['headerBackgroundColor'],
47
49
  'header_text_color': value['headerTextColor'],
50
+ 'branding_theme': PortalBrandThemeV1ToJSON(value['brandingTheme']),
48
51
  'slug': value['slug'],
49
52
  'client_domain': value['clientDomain'],
50
53
  };
@@ -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}
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { PortalBrandThemeV1FromJSON, PortalBrandThemeV1ToJSON, } from './PortalBrandThemeV1';
14
15
  /**
15
16
  * Check if a given object implements the PutPortalBranding interface.
16
17
  */
@@ -28,6 +29,7 @@ export function PutPortalBrandingFromJSONTyped(json, ignoreDiscriminator) {
28
29
  'name': json['name'] == null ? undefined : json['name'],
29
30
  'headerBackgroundColor': json['header_background_color'] == null ? undefined : json['header_background_color'],
30
31
  'headerTextColor': json['header_text_color'] == null ? undefined : json['header_text_color'],
32
+ 'brandingTheme': json['branding_theme'] == null ? undefined : PortalBrandThemeV1FromJSON(json['branding_theme']),
31
33
  'slug': json['slug'] == null ? undefined : json['slug'],
32
34
  'clientDomain': json['client_domain'] == null ? undefined : json['client_domain'],
33
35
  };
@@ -43,6 +45,7 @@ export function PutPortalBrandingToJSONTyped(value, ignoreDiscriminator = false)
43
45
  'name': value['name'],
44
46
  'header_background_color': value['headerBackgroundColor'],
45
47
  'header_text_color': value['headerTextColor'],
48
+ 'branding_theme': PortalBrandThemeV1ToJSON(value['brandingTheme']),
46
49
  'slug': value['slug'],
47
50
  'client_domain': value['clientDomain'],
48
51
  };
@@ -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';
@@ -96,6 +96,7 @@ export * from './GetLibraryQuizVersion';
96
96
  export * from './GetPermission';
97
97
  export * from './GetPortal';
98
98
  export * from './GetPortalFaviconUpload';
99
+ export * from './GetPortalInvitationSummary';
99
100
  export * from './GetPortalList';
100
101
  export * from './GetPortalLogoUpload';
101
102
  export * from './GetPortalUser';
@@ -158,6 +159,9 @@ export * from './LoginResAuthData';
158
159
  export * from './LoginResUserData';
159
160
  export * from './LoginResUserDataSelectedPortal';
160
161
  export * from './Paginated';
162
+ export * from './PortalBrandColorsV1';
163
+ export * from './PortalBrandThemeV1';
164
+ export * from './PortalBrandTypographyV1';
161
165
  export * from './PortalSublicense';
162
166
  export * from './PortalUserFieldConfig';
163
167
  export * from './PortalUserFieldDefinition';
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GetPortalInvitationSummary } from './GetPortalInvitationSummary';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -39,6 +40,12 @@ export interface GetEmailDelivery {
39
40
  * @memberof GetEmailDelivery
40
41
  */
41
42
  recipient: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof GetEmailDelivery
47
+ */
48
+ subject?: string | null;
42
49
  /**
43
50
  *
44
51
  * @type {boolean}
@@ -99,6 +106,30 @@ export interface GetEmailDelivery {
99
106
  * @memberof GetEmailDelivery
100
107
  */
101
108
  failedAt?: number | null;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof GetEmailDelivery
113
+ */
114
+ resendOfDeliveryId?: string | null;
115
+ /**
116
+ *
117
+ * @type {boolean}
118
+ * @memberof GetEmailDelivery
119
+ */
120
+ canResend: boolean;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof GetEmailDelivery
125
+ */
126
+ resendBlockedReason?: string | null;
127
+ /**
128
+ *
129
+ * @type {GetPortalInvitationSummary}
130
+ * @memberof GetEmailDelivery
131
+ */
132
+ invitation?: GetPortalInvitationSummary | null;
102
133
  }
103
134
  /**
104
135
  * @export
@@ -19,6 +19,7 @@ exports.GetEmailDeliveryFromJSON = GetEmailDeliveryFromJSON;
19
19
  exports.GetEmailDeliveryFromJSONTyped = GetEmailDeliveryFromJSONTyped;
20
20
  exports.GetEmailDeliveryToJSON = GetEmailDeliveryToJSON;
21
21
  exports.GetEmailDeliveryToJSONTyped = GetEmailDeliveryToJSONTyped;
22
+ const GetPortalInvitationSummary_1 = require("./GetPortalInvitationSummary");
22
23
  /**
23
24
  * @export
24
25
  */
@@ -49,6 +50,8 @@ function instanceOfGetEmailDelivery(value) {
49
50
  return false;
50
51
  if (!('createdAt' in value) || value['createdAt'] === undefined)
51
52
  return false;
53
+ if (!('canResend' in value) || value['canResend'] === undefined)
54
+ return false;
52
55
  return true;
53
56
  }
54
57
  function GetEmailDeliveryFromJSON(json) {
@@ -63,6 +66,7 @@ function GetEmailDeliveryFromJSONTyped(json, ignoreDiscriminator) {
63
66
  'templateKey': json['template_key'],
64
67
  'templateVersionId': json['template_version_id'] == null ? undefined : json['template_version_id'],
65
68
  'recipient': json['recipient'],
69
+ 'subject': json['subject'] == null ? undefined : json['subject'],
66
70
  'isTest': json['is_test'],
67
71
  'status': json['status'],
68
72
  'attempts': json['attempts'],
@@ -73,6 +77,10 @@ function GetEmailDeliveryFromJSONTyped(json, ignoreDiscriminator) {
73
77
  'acceptedAt': json['accepted_at'] == null ? undefined : json['accepted_at'],
74
78
  'deliveredAt': json['delivered_at'] == null ? undefined : json['delivered_at'],
75
79
  'failedAt': json['failed_at'] == null ? undefined : json['failed_at'],
80
+ 'resendOfDeliveryId': json['resend_of_delivery_id'] == null ? undefined : json['resend_of_delivery_id'],
81
+ 'canResend': json['can_resend'],
82
+ 'resendBlockedReason': json['resend_blocked_reason'] == null ? undefined : json['resend_blocked_reason'],
83
+ 'invitation': json['invitation'] == null ? undefined : (0, GetPortalInvitationSummary_1.GetPortalInvitationSummaryFromJSON)(json['invitation']),
76
84
  };
77
85
  }
78
86
  function GetEmailDeliveryToJSON(json) {
@@ -87,6 +95,7 @@ function GetEmailDeliveryToJSONTyped(value, ignoreDiscriminator = false) {
87
95
  'template_key': value['templateKey'],
88
96
  'template_version_id': value['templateVersionId'],
89
97
  'recipient': value['recipient'],
98
+ 'subject': value['subject'],
90
99
  'is_test': value['isTest'],
91
100
  'status': value['status'],
92
101
  'attempts': value['attempts'],
@@ -97,5 +106,9 @@ function GetEmailDeliveryToJSONTyped(value, ignoreDiscriminator = false) {
97
106
  'accepted_at': value['acceptedAt'],
98
107
  'delivered_at': value['deliveredAt'],
99
108
  'failed_at': value['failedAt'],
109
+ 'resend_of_delivery_id': value['resendOfDeliveryId'],
110
+ 'can_resend': value['canResend'],
111
+ 'resend_blocked_reason': value['resendBlockedReason'],
112
+ 'invitation': (0, GetPortalInvitationSummary_1.GetPortalInvitationSummaryToJSON)(value['invitation']),
100
113
  };
101
114
  }
@@ -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
@@ -58,17 +59,25 @@ export interface GetPortal {
58
59
  */
59
60
  faviconUrl?: string | null;
60
61
  /**
61
- *
62
+ * Deprecated compatibility alias for branding_theme.colors.header_background.
62
63
  * @type {string}
63
64
  * @memberof GetPortal
65
+ * @deprecated
64
66
  */
65
67
  headerBackgroundColor: string;
66
68
  /**
67
- *
69
+ * Deprecated compatibility alias for branding_theme.colors.header_foreground.
68
70
  * @type {string}
69
71
  * @memberof GetPortal
72
+ * @deprecated
70
73
  */
71
74
  headerTextColor: string;
75
+ /**
76
+ *
77
+ * @type {PortalBrandThemeV1}
78
+ * @memberof GetPortal
79
+ */
80
+ brandingTheme: PortalBrandThemeV1;
72
81
  /**
73
82
  * The user's highest-privilege role base type for this portal
74
83
  * @type {GetPortalBaseTypeEnum}
@@ -19,6 +19,7 @@ exports.GetPortalFromJSON = GetPortalFromJSON;
19
19
  exports.GetPortalFromJSONTyped = GetPortalFromJSONTyped;
20
20
  exports.GetPortalToJSON = GetPortalToJSON;
21
21
  exports.GetPortalToJSONTyped = GetPortalToJSONTyped;
22
+ const PortalBrandThemeV1_1 = require("./PortalBrandThemeV1");
22
23
  /**
23
24
  * @export
24
25
  */
@@ -43,6 +44,8 @@ function instanceOfGetPortal(value) {
43
44
  return false;
44
45
  if (!('headerTextColor' in value) || value['headerTextColor'] === undefined)
45
46
  return false;
47
+ if (!('brandingTheme' in value) || value['brandingTheme'] === undefined)
48
+ return false;
46
49
  return true;
47
50
  }
48
51
  function GetPortalFromJSON(json) {
@@ -62,6 +65,7 @@ function GetPortalFromJSONTyped(json, ignoreDiscriminator) {
62
65
  'faviconUrl': json['favicon_url'] == null ? undefined : json['favicon_url'],
63
66
  'headerBackgroundColor': json['header_background_color'],
64
67
  'headerTextColor': json['header_text_color'],
68
+ 'brandingTheme': (0, PortalBrandThemeV1_1.PortalBrandThemeV1FromJSON)(json['branding_theme']),
65
69
  'baseType': json['base_type'] == null ? undefined : json['base_type'],
66
70
  };
67
71
  }
@@ -82,6 +86,7 @@ function GetPortalToJSONTyped(value, ignoreDiscriminator = false) {
82
86
  'favicon_url': value['faviconUrl'],
83
87
  'header_background_color': value['headerBackgroundColor'],
84
88
  'header_text_color': value['headerTextColor'],
89
+ 'branding_theme': (0, PortalBrandThemeV1_1.PortalBrandThemeV1ToJSON)(value['brandingTheme']),
85
90
  'base_type': value['baseType'],
86
91
  };
87
92
  }