@easyedu/js-lsm-api 1.104.0 → 1.105.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 +2 -0
- package/README.md +4 -2
- package/dist/apis/EmailTemplateApi.d.ts +32 -0
- package/dist/apis/EmailTemplateApi.js +64 -1
- package/dist/esm/apis/EmailTemplateApi.d.ts +32 -0
- package/dist/esm/apis/EmailTemplateApi.js +63 -0
- package/dist/esm/models/GetEmailDelivery.d.ts +31 -0
- package/dist/esm/models/GetEmailDelivery.js +13 -0
- package/dist/esm/models/GetPortalInvitationSummary.d.ts +102 -0
- package/dist/esm/models/GetPortalInvitationSummary.js +87 -0
- package/dist/esm/models/GetPortalUser.d.ts +7 -0
- package/dist/esm/models/GetPortalUser.js +3 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/GetEmailDelivery.d.ts +31 -0
- package/dist/models/GetEmailDelivery.js +13 -0
- package/dist/models/GetPortalInvitationSummary.d.ts +102 -0
- package/dist/models/GetPortalInvitationSummary.js +95 -0
- package/dist/models/GetPortalUser.d.ts +7 -0
- package/dist/models/GetPortalUser.js +3 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/docs/EmailTemplateApi.md +82 -1
- package/docs/GetEmailDelivery.md +10 -0
- package/docs/GetPortalInvitationSummary.md +51 -0
- package/docs/GetPortalUser.md +2 -0
- package/package.json +1 -1
- package/src/apis/EmailTemplateApi.ts +83 -0
- package/src/models/GetEmailDelivery.ts +49 -0
- package/src/models/GetPortalInvitationSummary.ts +160 -0
- package/src/models/GetPortalUser.ts +16 -0
- package/src/models/index.ts +1 -0
|
@@ -85,6 +85,10 @@ export interface DeleteSystemEmailTemplateDraftRequest {
|
|
|
85
85
|
export interface GetEmailDeliveryListRequest {
|
|
86
86
|
page?: number;
|
|
87
87
|
pageSize?: number;
|
|
88
|
+
templateKey?: string;
|
|
89
|
+
status?: GetEmailDeliveryListStatusEnum;
|
|
90
|
+
recipient?: string;
|
|
91
|
+
isTest?: boolean;
|
|
88
92
|
}
|
|
89
93
|
|
|
90
94
|
export interface GetEmailTemplateRequest {
|
|
@@ -204,6 +208,10 @@ export interface PutSystemEmailTemplateDraftRequest {
|
|
|
204
208
|
putEmailTemplateDraft: PutEmailTemplateDraft;
|
|
205
209
|
}
|
|
206
210
|
|
|
211
|
+
export interface ResendEmailDeliveryRequest {
|
|
212
|
+
deliveryId: string;
|
|
213
|
+
}
|
|
214
|
+
|
|
207
215
|
/**
|
|
208
216
|
*
|
|
209
217
|
*/
|
|
@@ -311,6 +319,22 @@ export class EmailTemplateApi extends runtime.BaseAPI {
|
|
|
311
319
|
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
312
320
|
}
|
|
313
321
|
|
|
322
|
+
if (requestParameters['templateKey'] != null) {
|
|
323
|
+
queryParameters['templateKey'] = requestParameters['templateKey'];
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
if (requestParameters['status'] != null) {
|
|
327
|
+
queryParameters['status'] = requestParameters['status'];
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
if (requestParameters['recipient'] != null) {
|
|
331
|
+
queryParameters['recipient'] = requestParameters['recipient'];
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
if (requestParameters['isTest'] != null) {
|
|
335
|
+
queryParameters['isTest'] = requestParameters['isTest'];
|
|
336
|
+
}
|
|
337
|
+
|
|
314
338
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
315
339
|
|
|
316
340
|
|
|
@@ -1699,4 +1723,63 @@ export class EmailTemplateApi extends runtime.BaseAPI {
|
|
|
1699
1723
|
return await response.value();
|
|
1700
1724
|
}
|
|
1701
1725
|
|
|
1726
|
+
/**
|
|
1727
|
+
* Creates request options for resendEmailDelivery without sending the request
|
|
1728
|
+
*/
|
|
1729
|
+
async resendEmailDeliveryRequestOpts(requestParameters: ResendEmailDeliveryRequest): Promise<runtime.RequestOpts> {
|
|
1730
|
+
if (requestParameters['deliveryId'] == null) {
|
|
1731
|
+
throw new runtime.RequiredError(
|
|
1732
|
+
'deliveryId',
|
|
1733
|
+
'Required parameter "deliveryId" was null or undefined when calling resendEmailDelivery().'
|
|
1734
|
+
);
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
const queryParameters: any = {};
|
|
1738
|
+
|
|
1739
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
let urlPath = `/email-deliveries/{deliveryId}/resend`;
|
|
1743
|
+
urlPath = urlPath.replace('{deliveryId}', encodeURIComponent(String(requestParameters['deliveryId'])));
|
|
1744
|
+
|
|
1745
|
+
return {
|
|
1746
|
+
path: urlPath,
|
|
1747
|
+
method: 'POST',
|
|
1748
|
+
headers: headerParameters,
|
|
1749
|
+
query: queryParameters,
|
|
1750
|
+
};
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Regenerate and queue a portal email from its current business source
|
|
1755
|
+
*/
|
|
1756
|
+
async resendEmailDeliveryRaw(requestParameters: ResendEmailDeliveryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetEmailDelivery>> {
|
|
1757
|
+
const requestOptions = await this.resendEmailDeliveryRequestOpts(requestParameters);
|
|
1758
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1759
|
+
|
|
1760
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetEmailDeliveryFromJSON(jsonValue));
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* Regenerate and queue a portal email from its current business source
|
|
1765
|
+
*/
|
|
1766
|
+
async resendEmailDelivery(requestParameters: ResendEmailDeliveryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetEmailDelivery> {
|
|
1767
|
+
const response = await this.resendEmailDeliveryRaw(requestParameters, initOverrides);
|
|
1768
|
+
return await response.value();
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1702
1771
|
}
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* @export
|
|
1775
|
+
*/
|
|
1776
|
+
export const GetEmailDeliveryListStatusEnum = {
|
|
1777
|
+
Queued: 'queued',
|
|
1778
|
+
Processing: 'processing',
|
|
1779
|
+
Accepted: 'accepted',
|
|
1780
|
+
Delivered: 'delivered',
|
|
1781
|
+
Deferred: 'deferred',
|
|
1782
|
+
Failed: 'failed',
|
|
1783
|
+
Complained: 'complained'
|
|
1784
|
+
} as const;
|
|
1785
|
+
export type GetEmailDeliveryListStatusEnum = typeof GetEmailDeliveryListStatusEnum[keyof typeof GetEmailDeliveryListStatusEnum];
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { GetPortalInvitationSummary } from './GetPortalInvitationSummary';
|
|
17
|
+
import {
|
|
18
|
+
GetPortalInvitationSummaryFromJSON,
|
|
19
|
+
GetPortalInvitationSummaryFromJSONTyped,
|
|
20
|
+
GetPortalInvitationSummaryToJSON,
|
|
21
|
+
GetPortalInvitationSummaryToJSONTyped,
|
|
22
|
+
} from './GetPortalInvitationSummary';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -43,6 +51,12 @@ export interface GetEmailDelivery {
|
|
|
43
51
|
* @memberof GetEmailDelivery
|
|
44
52
|
*/
|
|
45
53
|
recipient: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof GetEmailDelivery
|
|
58
|
+
*/
|
|
59
|
+
subject?: string | null;
|
|
46
60
|
/**
|
|
47
61
|
*
|
|
48
62
|
* @type {boolean}
|
|
@@ -103,6 +117,30 @@ export interface GetEmailDelivery {
|
|
|
103
117
|
* @memberof GetEmailDelivery
|
|
104
118
|
*/
|
|
105
119
|
failedAt?: number | null;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof GetEmailDelivery
|
|
124
|
+
*/
|
|
125
|
+
resendOfDeliveryId?: string | null;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {boolean}
|
|
129
|
+
* @memberof GetEmailDelivery
|
|
130
|
+
*/
|
|
131
|
+
canResend: boolean;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof GetEmailDelivery
|
|
136
|
+
*/
|
|
137
|
+
resendBlockedReason?: string | null;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {GetPortalInvitationSummary}
|
|
141
|
+
* @memberof GetEmailDelivery
|
|
142
|
+
*/
|
|
143
|
+
invitation?: GetPortalInvitationSummary | null;
|
|
106
144
|
}
|
|
107
145
|
|
|
108
146
|
|
|
@@ -132,6 +170,7 @@ export function instanceOfGetEmailDelivery(value: object): value is GetEmailDeli
|
|
|
132
170
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
133
171
|
if (!('attempts' in value) || value['attempts'] === undefined) return false;
|
|
134
172
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
173
|
+
if (!('canResend' in value) || value['canResend'] === undefined) return false;
|
|
135
174
|
return true;
|
|
136
175
|
}
|
|
137
176
|
|
|
@@ -149,6 +188,7 @@ export function GetEmailDeliveryFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
149
188
|
'templateKey': json['template_key'],
|
|
150
189
|
'templateVersionId': json['template_version_id'] == null ? undefined : json['template_version_id'],
|
|
151
190
|
'recipient': json['recipient'],
|
|
191
|
+
'subject': json['subject'] == null ? undefined : json['subject'],
|
|
152
192
|
'isTest': json['is_test'],
|
|
153
193
|
'status': json['status'],
|
|
154
194
|
'attempts': json['attempts'],
|
|
@@ -159,6 +199,10 @@ export function GetEmailDeliveryFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
159
199
|
'acceptedAt': json['accepted_at'] == null ? undefined : json['accepted_at'],
|
|
160
200
|
'deliveredAt': json['delivered_at'] == null ? undefined : json['delivered_at'],
|
|
161
201
|
'failedAt': json['failed_at'] == null ? undefined : json['failed_at'],
|
|
202
|
+
'resendOfDeliveryId': json['resend_of_delivery_id'] == null ? undefined : json['resend_of_delivery_id'],
|
|
203
|
+
'canResend': json['can_resend'],
|
|
204
|
+
'resendBlockedReason': json['resend_blocked_reason'] == null ? undefined : json['resend_blocked_reason'],
|
|
205
|
+
'invitation': json['invitation'] == null ? undefined : GetPortalInvitationSummaryFromJSON(json['invitation']),
|
|
162
206
|
};
|
|
163
207
|
}
|
|
164
208
|
|
|
@@ -177,6 +221,7 @@ export function GetEmailDeliveryToJSONTyped(value?: GetEmailDelivery | null, ign
|
|
|
177
221
|
'template_key': value['templateKey'],
|
|
178
222
|
'template_version_id': value['templateVersionId'],
|
|
179
223
|
'recipient': value['recipient'],
|
|
224
|
+
'subject': value['subject'],
|
|
180
225
|
'is_test': value['isTest'],
|
|
181
226
|
'status': value['status'],
|
|
182
227
|
'attempts': value['attempts'],
|
|
@@ -187,6 +232,10 @@ export function GetEmailDeliveryToJSONTyped(value?: GetEmailDelivery | null, ign
|
|
|
187
232
|
'accepted_at': value['acceptedAt'],
|
|
188
233
|
'delivered_at': value['deliveredAt'],
|
|
189
234
|
'failed_at': value['failedAt'],
|
|
235
|
+
'resend_of_delivery_id': value['resendOfDeliveryId'],
|
|
236
|
+
'can_resend': value['canResend'],
|
|
237
|
+
'resend_blocked_reason': value['resendBlockedReason'],
|
|
238
|
+
'invitation': GetPortalInvitationSummaryToJSON(value['invitation']),
|
|
190
239
|
};
|
|
191
240
|
}
|
|
192
241
|
|
|
@@ -0,0 +1,160 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Invitation lifecycle and latest email delivery state for a portal user.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetPortalInvitationSummary
|
|
20
|
+
*/
|
|
21
|
+
export interface GetPortalInvitationSummary {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetPortalInvitationSummary
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {GetPortalInvitationSummaryStatusEnum}
|
|
31
|
+
* @memberof GetPortalInvitationSummary
|
|
32
|
+
*/
|
|
33
|
+
status: GetPortalInvitationSummaryStatusEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof GetPortalInvitationSummary
|
|
38
|
+
*/
|
|
39
|
+
invitedAt: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof GetPortalInvitationSummary
|
|
44
|
+
*/
|
|
45
|
+
expiresAt: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof GetPortalInvitationSummary
|
|
50
|
+
*/
|
|
51
|
+
acceptedAt?: number | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof GetPortalInvitationSummary
|
|
56
|
+
*/
|
|
57
|
+
lastSentAt?: number | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {GetPortalInvitationSummaryLatestDeliveryStatusEnum}
|
|
61
|
+
* @memberof GetPortalInvitationSummary
|
|
62
|
+
*/
|
|
63
|
+
latestDeliveryStatus?: GetPortalInvitationSummaryLatestDeliveryStatusEnum | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof GetPortalInvitationSummary
|
|
68
|
+
*/
|
|
69
|
+
canResend: boolean;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof GetPortalInvitationSummary
|
|
74
|
+
*/
|
|
75
|
+
resendBlockedReason?: string | null;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const GetPortalInvitationSummaryStatusEnum = {
|
|
83
|
+
Pending: 'pending',
|
|
84
|
+
Expired: 'expired',
|
|
85
|
+
Accepted: 'accepted'
|
|
86
|
+
} as const;
|
|
87
|
+
export type GetPortalInvitationSummaryStatusEnum = typeof GetPortalInvitationSummaryStatusEnum[keyof typeof GetPortalInvitationSummaryStatusEnum];
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
export const GetPortalInvitationSummaryLatestDeliveryStatusEnum = {
|
|
93
|
+
Queued: 'queued',
|
|
94
|
+
Processing: 'processing',
|
|
95
|
+
Accepted: 'accepted',
|
|
96
|
+
Delivered: 'delivered',
|
|
97
|
+
Deferred: 'deferred',
|
|
98
|
+
Failed: 'failed',
|
|
99
|
+
Complained: 'complained'
|
|
100
|
+
} as const;
|
|
101
|
+
export type GetPortalInvitationSummaryLatestDeliveryStatusEnum = typeof GetPortalInvitationSummaryLatestDeliveryStatusEnum[keyof typeof GetPortalInvitationSummaryLatestDeliveryStatusEnum];
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Check if a given object implements the GetPortalInvitationSummary interface.
|
|
106
|
+
*/
|
|
107
|
+
export function instanceOfGetPortalInvitationSummary(value: object): value is GetPortalInvitationSummary {
|
|
108
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
109
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
110
|
+
if (!('invitedAt' in value) || value['invitedAt'] === undefined) return false;
|
|
111
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined) return false;
|
|
112
|
+
if (!('canResend' in value) || value['canResend'] === undefined) return false;
|
|
113
|
+
return true;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function GetPortalInvitationSummaryFromJSON(json: any): GetPortalInvitationSummary {
|
|
117
|
+
return GetPortalInvitationSummaryFromJSONTyped(json, false);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function GetPortalInvitationSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalInvitationSummary {
|
|
121
|
+
if (json == null) {
|
|
122
|
+
return json;
|
|
123
|
+
}
|
|
124
|
+
return {
|
|
125
|
+
|
|
126
|
+
'id': json['id'],
|
|
127
|
+
'status': json['status'],
|
|
128
|
+
'invitedAt': json['invited_at'],
|
|
129
|
+
'expiresAt': json['expires_at'],
|
|
130
|
+
'acceptedAt': json['accepted_at'] == null ? undefined : json['accepted_at'],
|
|
131
|
+
'lastSentAt': json['last_sent_at'] == null ? undefined : json['last_sent_at'],
|
|
132
|
+
'latestDeliveryStatus': json['latest_delivery_status'] == null ? undefined : json['latest_delivery_status'],
|
|
133
|
+
'canResend': json['can_resend'],
|
|
134
|
+
'resendBlockedReason': json['resend_blocked_reason'] == null ? undefined : json['resend_blocked_reason'],
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function GetPortalInvitationSummaryToJSON(json: any): GetPortalInvitationSummary {
|
|
139
|
+
return GetPortalInvitationSummaryToJSONTyped(json, false);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export function GetPortalInvitationSummaryToJSONTyped(value?: GetPortalInvitationSummary | null, ignoreDiscriminator: boolean = false): any {
|
|
143
|
+
if (value == null) {
|
|
144
|
+
return value;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
return {
|
|
148
|
+
|
|
149
|
+
'id': value['id'],
|
|
150
|
+
'status': value['status'],
|
|
151
|
+
'invited_at': value['invitedAt'],
|
|
152
|
+
'expires_at': value['expiresAt'],
|
|
153
|
+
'accepted_at': value['acceptedAt'],
|
|
154
|
+
'last_sent_at': value['lastSentAt'],
|
|
155
|
+
'latest_delivery_status': value['latestDeliveryStatus'],
|
|
156
|
+
'can_resend': value['canResend'],
|
|
157
|
+
'resend_blocked_reason': value['resendBlockedReason'],
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { GetPortalInvitationSummary } from './GetPortalInvitationSummary';
|
|
17
|
+
import {
|
|
18
|
+
GetPortalInvitationSummaryFromJSON,
|
|
19
|
+
GetPortalInvitationSummaryFromJSONTyped,
|
|
20
|
+
GetPortalInvitationSummaryToJSON,
|
|
21
|
+
GetPortalInvitationSummaryToJSONTyped,
|
|
22
|
+
} from './GetPortalInvitationSummary';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* A user with their portal access information
|
|
18
26
|
* @export
|
|
@@ -55,6 +63,12 @@ export interface GetPortalUser {
|
|
|
55
63
|
* @memberof GetPortalUser
|
|
56
64
|
*/
|
|
57
65
|
isActive: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {GetPortalInvitationSummary}
|
|
69
|
+
* @memberof GetPortalUser
|
|
70
|
+
*/
|
|
71
|
+
invitation?: GetPortalInvitationSummary | null;
|
|
58
72
|
}
|
|
59
73
|
|
|
60
74
|
/**
|
|
@@ -86,6 +100,7 @@ export function GetPortalUserFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
86
100
|
'lastName': json['last_name'],
|
|
87
101
|
'role': json['role'],
|
|
88
102
|
'isActive': json['is_active'],
|
|
103
|
+
'invitation': json['invitation'] == null ? undefined : GetPortalInvitationSummaryFromJSON(json['invitation']),
|
|
89
104
|
};
|
|
90
105
|
}
|
|
91
106
|
|
|
@@ -106,6 +121,7 @@ export function GetPortalUserToJSONTyped(value?: GetPortalUser | null, ignoreDis
|
|
|
106
121
|
'last_name': value['lastName'],
|
|
107
122
|
'role': value['role'],
|
|
108
123
|
'is_active': value['isActive'],
|
|
124
|
+
'invitation': GetPortalInvitationSummaryToJSON(value['invitation']),
|
|
109
125
|
};
|
|
110
126
|
}
|
|
111
127
|
|
package/src/models/index.ts
CHANGED
|
@@ -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';
|