@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.
@@ -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
  }
@@ -0,0 +1,102 @@
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
+ * Invitation lifecycle and latest email delivery state for a portal user.
14
+ * @export
15
+ * @interface GetPortalInvitationSummary
16
+ */
17
+ export interface GetPortalInvitationSummary {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetPortalInvitationSummary
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {GetPortalInvitationSummaryStatusEnum}
27
+ * @memberof GetPortalInvitationSummary
28
+ */
29
+ status: GetPortalInvitationSummaryStatusEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof GetPortalInvitationSummary
34
+ */
35
+ invitedAt: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof GetPortalInvitationSummary
40
+ */
41
+ expiresAt: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof GetPortalInvitationSummary
46
+ */
47
+ acceptedAt?: number | null;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof GetPortalInvitationSummary
52
+ */
53
+ lastSentAt?: number | null;
54
+ /**
55
+ *
56
+ * @type {GetPortalInvitationSummaryLatestDeliveryStatusEnum}
57
+ * @memberof GetPortalInvitationSummary
58
+ */
59
+ latestDeliveryStatus?: GetPortalInvitationSummaryLatestDeliveryStatusEnum | null;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof GetPortalInvitationSummary
64
+ */
65
+ canResend: boolean;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof GetPortalInvitationSummary
70
+ */
71
+ resendBlockedReason?: string | null;
72
+ }
73
+ /**
74
+ * @export
75
+ */
76
+ export declare const GetPortalInvitationSummaryStatusEnum: {
77
+ readonly Pending: "pending";
78
+ readonly Expired: "expired";
79
+ readonly Accepted: "accepted";
80
+ };
81
+ export type GetPortalInvitationSummaryStatusEnum = typeof GetPortalInvitationSummaryStatusEnum[keyof typeof GetPortalInvitationSummaryStatusEnum];
82
+ /**
83
+ * @export
84
+ */
85
+ export declare const GetPortalInvitationSummaryLatestDeliveryStatusEnum: {
86
+ readonly Queued: "queued";
87
+ readonly Processing: "processing";
88
+ readonly Accepted: "accepted";
89
+ readonly Delivered: "delivered";
90
+ readonly Deferred: "deferred";
91
+ readonly Failed: "failed";
92
+ readonly Complained: "complained";
93
+ };
94
+ export type GetPortalInvitationSummaryLatestDeliveryStatusEnum = typeof GetPortalInvitationSummaryLatestDeliveryStatusEnum[keyof typeof GetPortalInvitationSummaryLatestDeliveryStatusEnum];
95
+ /**
96
+ * Check if a given object implements the GetPortalInvitationSummary interface.
97
+ */
98
+ export declare function instanceOfGetPortalInvitationSummary(value: object): value is GetPortalInvitationSummary;
99
+ export declare function GetPortalInvitationSummaryFromJSON(json: any): GetPortalInvitationSummary;
100
+ export declare function GetPortalInvitationSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalInvitationSummary;
101
+ export declare function GetPortalInvitationSummaryToJSON(json: any): GetPortalInvitationSummary;
102
+ export declare function GetPortalInvitationSummaryToJSONTyped(value?: GetPortalInvitationSummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,95 @@
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.GetPortalInvitationSummaryLatestDeliveryStatusEnum = exports.GetPortalInvitationSummaryStatusEnum = void 0;
17
+ exports.instanceOfGetPortalInvitationSummary = instanceOfGetPortalInvitationSummary;
18
+ exports.GetPortalInvitationSummaryFromJSON = GetPortalInvitationSummaryFromJSON;
19
+ exports.GetPortalInvitationSummaryFromJSONTyped = GetPortalInvitationSummaryFromJSONTyped;
20
+ exports.GetPortalInvitationSummaryToJSON = GetPortalInvitationSummaryToJSON;
21
+ exports.GetPortalInvitationSummaryToJSONTyped = GetPortalInvitationSummaryToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.GetPortalInvitationSummaryStatusEnum = {
26
+ Pending: 'pending',
27
+ Expired: 'expired',
28
+ Accepted: 'accepted'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.GetPortalInvitationSummaryLatestDeliveryStatusEnum = {
34
+ Queued: 'queued',
35
+ Processing: 'processing',
36
+ Accepted: 'accepted',
37
+ Delivered: 'delivered',
38
+ Deferred: 'deferred',
39
+ Failed: 'failed',
40
+ Complained: 'complained'
41
+ };
42
+ /**
43
+ * Check if a given object implements the GetPortalInvitationSummary interface.
44
+ */
45
+ function instanceOfGetPortalInvitationSummary(value) {
46
+ if (!('id' in value) || value['id'] === undefined)
47
+ return false;
48
+ if (!('status' in value) || value['status'] === undefined)
49
+ return false;
50
+ if (!('invitedAt' in value) || value['invitedAt'] === undefined)
51
+ return false;
52
+ if (!('expiresAt' in value) || value['expiresAt'] === undefined)
53
+ return false;
54
+ if (!('canResend' in value) || value['canResend'] === undefined)
55
+ return false;
56
+ return true;
57
+ }
58
+ function GetPortalInvitationSummaryFromJSON(json) {
59
+ return GetPortalInvitationSummaryFromJSONTyped(json, false);
60
+ }
61
+ function GetPortalInvitationSummaryFromJSONTyped(json, ignoreDiscriminator) {
62
+ if (json == null) {
63
+ return json;
64
+ }
65
+ return {
66
+ 'id': json['id'],
67
+ 'status': json['status'],
68
+ 'invitedAt': json['invited_at'],
69
+ 'expiresAt': json['expires_at'],
70
+ 'acceptedAt': json['accepted_at'] == null ? undefined : json['accepted_at'],
71
+ 'lastSentAt': json['last_sent_at'] == null ? undefined : json['last_sent_at'],
72
+ 'latestDeliveryStatus': json['latest_delivery_status'] == null ? undefined : json['latest_delivery_status'],
73
+ 'canResend': json['can_resend'],
74
+ 'resendBlockedReason': json['resend_blocked_reason'] == null ? undefined : json['resend_blocked_reason'],
75
+ };
76
+ }
77
+ function GetPortalInvitationSummaryToJSON(json) {
78
+ return GetPortalInvitationSummaryToJSONTyped(json, false);
79
+ }
80
+ function GetPortalInvitationSummaryToJSONTyped(value, ignoreDiscriminator = false) {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+ return {
85
+ 'id': value['id'],
86
+ 'status': value['status'],
87
+ 'invited_at': value['invitedAt'],
88
+ 'expires_at': value['expiresAt'],
89
+ 'accepted_at': value['acceptedAt'],
90
+ 'last_sent_at': value['lastSentAt'],
91
+ 'latest_delivery_status': value['latestDeliveryStatus'],
92
+ 'can_resend': value['canResend'],
93
+ 'resend_blocked_reason': value['resendBlockedReason'],
94
+ };
95
+ }
@@ -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
  * A user with their portal access information
14
15
  * @export
@@ -51,6 +52,12 @@ export interface GetPortalUser {
51
52
  * @memberof GetPortalUser
52
53
  */
53
54
  isActive: boolean;
55
+ /**
56
+ *
57
+ * @type {GetPortalInvitationSummary}
58
+ * @memberof GetPortalUser
59
+ */
60
+ invitation?: GetPortalInvitationSummary | null;
54
61
  }
55
62
  /**
56
63
  * Check if a given object implements the GetPortalUser interface.
@@ -18,6 +18,7 @@ exports.GetPortalUserFromJSON = GetPortalUserFromJSON;
18
18
  exports.GetPortalUserFromJSONTyped = GetPortalUserFromJSONTyped;
19
19
  exports.GetPortalUserToJSON = GetPortalUserToJSON;
20
20
  exports.GetPortalUserToJSONTyped = GetPortalUserToJSONTyped;
21
+ const GetPortalInvitationSummary_1 = require("./GetPortalInvitationSummary");
21
22
  /**
22
23
  * Check if a given object implements the GetPortalUser interface.
23
24
  */
@@ -50,6 +51,7 @@ function GetPortalUserFromJSONTyped(json, ignoreDiscriminator) {
50
51
  'lastName': json['last_name'],
51
52
  'role': json['role'],
52
53
  'isActive': json['is_active'],
54
+ 'invitation': json['invitation'] == null ? undefined : (0, GetPortalInvitationSummary_1.GetPortalInvitationSummaryFromJSON)(json['invitation']),
53
55
  };
54
56
  }
55
57
  function GetPortalUserToJSON(json) {
@@ -66,5 +68,6 @@ function GetPortalUserToJSONTyped(value, ignoreDiscriminator = false) {
66
68
  'last_name': value['lastName'],
67
69
  'role': value['role'],
68
70
  'is_active': value['isActive'],
71
+ 'invitation': (0, GetPortalInvitationSummary_1.GetPortalInvitationSummaryToJSON)(value['invitation']),
69
72
  };
70
73
  }
@@ -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';
@@ -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);
@@ -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)
@@ -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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.104.0",
3
+ "version": "1.105.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {