@easyedu/js-lsm-api 1.103.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.
Files changed (122) hide show
  1. package/.openapi-generator/FILES +30 -0
  2. package/README.md +24 -2
  3. package/dist/apis/ChatApi.d.ts +98 -0
  4. package/dist/apis/ChatApi.js +255 -0
  5. package/dist/apis/EmailTemplateApi.d.ts +32 -0
  6. package/dist/apis/EmailTemplateApi.js +64 -1
  7. package/dist/esm/apis/ChatApi.d.ts +98 -0
  8. package/dist/esm/apis/ChatApi.js +255 -0
  9. package/dist/esm/apis/EmailTemplateApi.d.ts +32 -0
  10. package/dist/esm/apis/EmailTemplateApi.js +63 -0
  11. package/dist/esm/models/AdminChatMessage.d.ts +51 -0
  12. package/dist/esm/models/AdminChatMessage.js +54 -0
  13. package/dist/esm/models/AdminConversationDetail.d.ts +90 -0
  14. package/dist/esm/models/AdminConversationDetail.js +81 -0
  15. package/dist/esm/models/AdminConversationList.d.ts +57 -0
  16. package/dist/esm/models/AdminConversationList.js +60 -0
  17. package/dist/esm/models/AdminConversationSummary.d.ts +83 -0
  18. package/dist/esm/models/AdminConversationSummary.js +76 -0
  19. package/dist/esm/models/ChatDailyUsage.d.ts +39 -0
  20. package/dist/esm/models/ChatDailyUsage.js +48 -0
  21. package/dist/esm/models/ChatModelUsage.d.ts +68 -0
  22. package/dist/esm/models/ChatModelUsage.js +67 -0
  23. package/dist/esm/models/ChatQuota.d.ts +56 -0
  24. package/dist/esm/models/ChatQuota.js +59 -0
  25. package/dist/esm/models/ChatQuotaExceeded.d.ts +56 -0
  26. package/dist/esm/models/ChatQuotaExceeded.js +59 -0
  27. package/dist/esm/models/ChatTurnUsage.d.ts +82 -0
  28. package/dist/esm/models/ChatTurnUsage.js +78 -0
  29. package/dist/esm/models/ChatUsageTotals.d.ts +68 -0
  30. package/dist/esm/models/ChatUsageTotals.js +67 -0
  31. package/dist/esm/models/ChatUserIdentity.d.ts +50 -0
  32. package/dist/esm/models/ChatUserIdentity.js +55 -0
  33. package/dist/esm/models/GetChatSettings.d.ts +51 -0
  34. package/dist/esm/models/GetChatSettings.js +57 -0
  35. package/dist/esm/models/GetChatUsage.d.ts +59 -0
  36. package/dist/esm/models/GetChatUsage.js +62 -0
  37. package/dist/esm/models/GetEmailDelivery.d.ts +31 -0
  38. package/dist/esm/models/GetEmailDelivery.js +13 -0
  39. package/dist/esm/models/GetPortalInvitationSummary.d.ts +102 -0
  40. package/dist/esm/models/GetPortalInvitationSummary.js +87 -0
  41. package/dist/esm/models/GetPortalUser.d.ts +7 -0
  42. package/dist/esm/models/GetPortalUser.js +3 -0
  43. package/dist/esm/models/PutChatSettings.d.ts +32 -0
  44. package/dist/esm/models/PutChatSettings.js +43 -0
  45. package/dist/esm/models/index.d.ts +15 -0
  46. package/dist/esm/models/index.js +15 -0
  47. package/dist/models/AdminChatMessage.d.ts +51 -0
  48. package/dist/models/AdminChatMessage.js +61 -0
  49. package/dist/models/AdminConversationDetail.d.ts +90 -0
  50. package/dist/models/AdminConversationDetail.js +88 -0
  51. package/dist/models/AdminConversationList.d.ts +57 -0
  52. package/dist/models/AdminConversationList.js +67 -0
  53. package/dist/models/AdminConversationSummary.d.ts +83 -0
  54. package/dist/models/AdminConversationSummary.js +83 -0
  55. package/dist/models/ChatDailyUsage.d.ts +39 -0
  56. package/dist/models/ChatDailyUsage.js +55 -0
  57. package/dist/models/ChatModelUsage.d.ts +68 -0
  58. package/dist/models/ChatModelUsage.js +74 -0
  59. package/dist/models/ChatQuota.d.ts +56 -0
  60. package/dist/models/ChatQuota.js +66 -0
  61. package/dist/models/ChatQuotaExceeded.d.ts +56 -0
  62. package/dist/models/ChatQuotaExceeded.js +66 -0
  63. package/dist/models/ChatTurnUsage.d.ts +82 -0
  64. package/dist/models/ChatTurnUsage.js +86 -0
  65. package/dist/models/ChatUsageTotals.d.ts +68 -0
  66. package/dist/models/ChatUsageTotals.js +74 -0
  67. package/dist/models/ChatUserIdentity.d.ts +50 -0
  68. package/dist/models/ChatUserIdentity.js +62 -0
  69. package/dist/models/GetChatSettings.d.ts +51 -0
  70. package/dist/models/GetChatSettings.js +65 -0
  71. package/dist/models/GetChatUsage.d.ts +59 -0
  72. package/dist/models/GetChatUsage.js +69 -0
  73. package/dist/models/GetEmailDelivery.d.ts +31 -0
  74. package/dist/models/GetEmailDelivery.js +13 -0
  75. package/dist/models/GetPortalInvitationSummary.d.ts +102 -0
  76. package/dist/models/GetPortalInvitationSummary.js +95 -0
  77. package/dist/models/GetPortalUser.d.ts +7 -0
  78. package/dist/models/GetPortalUser.js +3 -0
  79. package/dist/models/PutChatSettings.d.ts +32 -0
  80. package/dist/models/PutChatSettings.js +50 -0
  81. package/dist/models/index.d.ts +15 -0
  82. package/dist/models/index.js +15 -0
  83. package/docs/AdminChatMessage.md +40 -0
  84. package/docs/AdminConversationDetail.md +52 -0
  85. package/docs/AdminConversationList.md +42 -0
  86. package/docs/AdminConversationSummary.md +50 -0
  87. package/docs/ChatApi.md +422 -0
  88. package/docs/ChatDailyUsage.md +36 -0
  89. package/docs/ChatModelUsage.md +46 -0
  90. package/docs/ChatQuota.md +42 -0
  91. package/docs/ChatQuotaExceeded.md +42 -0
  92. package/docs/ChatTurnUsage.md +48 -0
  93. package/docs/ChatUsageTotals.md +46 -0
  94. package/docs/ChatUserIdentity.md +40 -0
  95. package/docs/EmailTemplateApi.md +82 -1
  96. package/docs/GetChatSettings.md +38 -0
  97. package/docs/GetChatUsage.md +42 -0
  98. package/docs/GetEmailDelivery.md +10 -0
  99. package/docs/GetPortalInvitationSummary.md +51 -0
  100. package/docs/GetPortalUser.md +2 -0
  101. package/docs/PutChatSettings.md +34 -0
  102. package/package.json +1 -1
  103. package/src/apis/ChatApi.ts +339 -0
  104. package/src/apis/EmailTemplateApi.ts +83 -0
  105. package/src/models/AdminChatMessage.ts +100 -0
  106. package/src/models/AdminConversationDetail.ts +175 -0
  107. package/src/models/AdminConversationList.ts +110 -0
  108. package/src/models/AdminConversationSummary.ts +159 -0
  109. package/src/models/ChatDailyUsage.ts +83 -0
  110. package/src/models/ChatModelUsage.ts +120 -0
  111. package/src/models/ChatQuota.ts +102 -0
  112. package/src/models/ChatQuotaExceeded.ts +102 -0
  113. package/src/models/ChatTurnUsage.ts +140 -0
  114. package/src/models/ChatUsageTotals.ts +120 -0
  115. package/src/models/ChatUserIdentity.ts +93 -0
  116. package/src/models/GetChatSettings.ts +94 -0
  117. package/src/models/GetChatUsage.ts +124 -0
  118. package/src/models/GetEmailDelivery.ts +49 -0
  119. package/src/models/GetPortalInvitationSummary.ts +160 -0
  120. package/src/models/GetPortalUser.ts +16 -0
  121. package/src/models/PutChatSettings.ts +66 -0
  122. package/src/models/index.ts +15 -0
@@ -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
  }
@@ -0,0 +1,32 @@
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
+ *
14
+ * @export
15
+ * @interface PutChatSettings
16
+ */
17
+ export interface PutChatSettings {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof PutChatSettings
22
+ */
23
+ learnerDailyMessageLimit: number;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PutChatSettings interface.
27
+ */
28
+ export declare function instanceOfPutChatSettings(value: object): value is PutChatSettings;
29
+ export declare function PutChatSettingsFromJSON(json: any): PutChatSettings;
30
+ export declare function PutChatSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutChatSettings;
31
+ export declare function PutChatSettingsToJSON(json: any): PutChatSettings;
32
+ export declare function PutChatSettingsToJSONTyped(value?: PutChatSettings | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfPutChatSettings = instanceOfPutChatSettings;
17
+ exports.PutChatSettingsFromJSON = PutChatSettingsFromJSON;
18
+ exports.PutChatSettingsFromJSONTyped = PutChatSettingsFromJSONTyped;
19
+ exports.PutChatSettingsToJSON = PutChatSettingsToJSON;
20
+ exports.PutChatSettingsToJSONTyped = PutChatSettingsToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PutChatSettings interface.
23
+ */
24
+ function instanceOfPutChatSettings(value) {
25
+ if (!('learnerDailyMessageLimit' in value) || value['learnerDailyMessageLimit'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PutChatSettingsFromJSON(json) {
30
+ return PutChatSettingsFromJSONTyped(json, false);
31
+ }
32
+ function PutChatSettingsFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'learnerDailyMessageLimit': json['learner_daily_message_limit'],
38
+ };
39
+ }
40
+ function PutChatSettingsToJSON(json) {
41
+ return PutChatSettingsToJSONTyped(json, false);
42
+ }
43
+ function PutChatSettingsToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'learner_daily_message_limit': value['learnerDailyMessageLimit'],
49
+ };
50
+ }
@@ -1,3 +1,7 @@
1
+ export * from './AdminChatMessage';
2
+ export * from './AdminConversationDetail';
3
+ export * from './AdminConversationList';
4
+ export * from './AdminConversationSummary';
1
5
  export * from './ArtifactConflict';
2
6
  export * from './BadgeIssuer';
3
7
  export * from './Certificate';
@@ -20,6 +24,13 @@ export * from './CertificatePublic';
20
24
  export * from './CertificateRenewalPolicy';
21
25
  export * from './CertificateTemplate';
22
26
  export * from './CertificateTemplateVersion';
27
+ export * from './ChatDailyUsage';
28
+ export * from './ChatModelUsage';
29
+ export * from './ChatQuota';
30
+ export * from './ChatQuotaExceeded';
31
+ export * from './ChatTurnUsage';
32
+ export * from './ChatUsageTotals';
33
+ export * from './ChatUserIdentity';
23
34
  export * from './ContentLaunchMode';
24
35
  export * from './ContentLibraryVersionStatus';
25
36
  export * from './CourseCatalog';
@@ -39,6 +50,8 @@ export * from './GetCertificateTemplateList';
39
50
  export * from './GetChangelogEntry';
40
51
  export * from './GetChangelogList';
41
52
  export * from './GetChatMessage';
53
+ export * from './GetChatSettings';
54
+ export * from './GetChatUsage';
42
55
  export * from './GetContentLibraryVersion';
43
56
  export * from './GetConversation';
44
57
  export * from './GetConversationList';
@@ -81,6 +94,7 @@ export * from './GetLibraryQuizVersion';
81
94
  export * from './GetPermission';
82
95
  export * from './GetPortal';
83
96
  export * from './GetPortalFaviconUpload';
97
+ export * from './GetPortalInvitationSummary';
84
98
  export * from './GetPortalList';
85
99
  export * from './GetPortalLogoUpload';
86
100
  export * from './GetPortalUser';
@@ -218,6 +232,7 @@ export * from './PutBadgeIssuer';
218
232
  export * from './PutCertificateConfig';
219
233
  export * from './PutCertificateTemplate';
220
234
  export * from './PutCertificateTemplateDraft';
235
+ export * from './PutChatSettings';
221
236
  export * from './PutCourse';
222
237
  export * from './PutCourseCatalog';
223
238
  export * from './PutCourseEnrollment';
@@ -16,6 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
+ __exportStar(require("./AdminChatMessage"), exports);
20
+ __exportStar(require("./AdminConversationDetail"), exports);
21
+ __exportStar(require("./AdminConversationList"), exports);
22
+ __exportStar(require("./AdminConversationSummary"), exports);
19
23
  __exportStar(require("./ArtifactConflict"), exports);
20
24
  __exportStar(require("./BadgeIssuer"), exports);
21
25
  __exportStar(require("./Certificate"), exports);
@@ -38,6 +42,13 @@ __exportStar(require("./CertificatePublic"), exports);
38
42
  __exportStar(require("./CertificateRenewalPolicy"), exports);
39
43
  __exportStar(require("./CertificateTemplate"), exports);
40
44
  __exportStar(require("./CertificateTemplateVersion"), exports);
45
+ __exportStar(require("./ChatDailyUsage"), exports);
46
+ __exportStar(require("./ChatModelUsage"), exports);
47
+ __exportStar(require("./ChatQuota"), exports);
48
+ __exportStar(require("./ChatQuotaExceeded"), exports);
49
+ __exportStar(require("./ChatTurnUsage"), exports);
50
+ __exportStar(require("./ChatUsageTotals"), exports);
51
+ __exportStar(require("./ChatUserIdentity"), exports);
41
52
  __exportStar(require("./ContentLaunchMode"), exports);
42
53
  __exportStar(require("./ContentLibraryVersionStatus"), exports);
43
54
  __exportStar(require("./CourseCatalog"), exports);
@@ -57,6 +68,8 @@ __exportStar(require("./GetCertificateTemplateList"), exports);
57
68
  __exportStar(require("./GetChangelogEntry"), exports);
58
69
  __exportStar(require("./GetChangelogList"), exports);
59
70
  __exportStar(require("./GetChatMessage"), exports);
71
+ __exportStar(require("./GetChatSettings"), exports);
72
+ __exportStar(require("./GetChatUsage"), exports);
60
73
  __exportStar(require("./GetContentLibraryVersion"), exports);
61
74
  __exportStar(require("./GetConversation"), exports);
62
75
  __exportStar(require("./GetConversationList"), exports);
@@ -99,6 +112,7 @@ __exportStar(require("./GetLibraryQuizVersion"), exports);
99
112
  __exportStar(require("./GetPermission"), exports);
100
113
  __exportStar(require("./GetPortal"), exports);
101
114
  __exportStar(require("./GetPortalFaviconUpload"), exports);
115
+ __exportStar(require("./GetPortalInvitationSummary"), exports);
102
116
  __exportStar(require("./GetPortalList"), exports);
103
117
  __exportStar(require("./GetPortalLogoUpload"), exports);
104
118
  __exportStar(require("./GetPortalUser"), exports);
@@ -236,6 +250,7 @@ __exportStar(require("./PutBadgeIssuer"), exports);
236
250
  __exportStar(require("./PutCertificateConfig"), exports);
237
251
  __exportStar(require("./PutCertificateTemplate"), exports);
238
252
  __exportStar(require("./PutCertificateTemplateDraft"), exports);
253
+ __exportStar(require("./PutChatSettings"), exports);
239
254
  __exportStar(require("./PutCourse"), exports);
240
255
  __exportStar(require("./PutCourseCatalog"), exports);
241
256
  __exportStar(require("./PutCourseEnrollment"), exports);
@@ -0,0 +1,40 @@
1
+
2
+ # AdminChatMessage
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `role` | string
10
+ `content` | string
11
+ `createdAt` | number
12
+ `usage` | [ChatTurnUsage](ChatTurnUsage.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { AdminChatMessage } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "role": null,
22
+ "content": null,
23
+ "createdAt": null,
24
+ "usage": null,
25
+ } satisfies AdminChatMessage
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as AdminChatMessage
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,52 @@
1
+
2
+ # AdminConversationDetail
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `user` | [ChatUserIdentity](ChatUserIdentity.md)
11
+ `title` | string
12
+ `createdAt` | number
13
+ `updatedAt` | number
14
+ `messageCount` | number
15
+ `model` | string
16
+ `usage` | [ChatUsageTotals](ChatUsageTotals.md)
17
+ `modelUsage` | [Array<ChatModelUsage>](ChatModelUsage.md)
18
+ `messages` | [Array<AdminChatMessage>](AdminChatMessage.md)
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { AdminConversationDetail } from '@easyedu/js-lsm-api'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "id": null,
28
+ "user": null,
29
+ "title": null,
30
+ "createdAt": null,
31
+ "updatedAt": null,
32
+ "messageCount": null,
33
+ "model": null,
34
+ "usage": null,
35
+ "modelUsage": null,
36
+ "messages": null,
37
+ } satisfies AdminConversationDetail
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as AdminConversationDetail
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,42 @@
1
+
2
+ # AdminConversationList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `page` | number
10
+ `pageSize` | number
11
+ `totalPages` | number
12
+ `totalItems` | number
13
+ `items` | [Array<AdminConversationSummary>](AdminConversationSummary.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { AdminConversationList } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "page": null,
23
+ "pageSize": null,
24
+ "totalPages": null,
25
+ "totalItems": null,
26
+ "items": null,
27
+ } satisfies AdminConversationList
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as AdminConversationList
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,50 @@
1
+
2
+ # AdminConversationSummary
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `user` | [ChatUserIdentity](ChatUserIdentity.md)
11
+ `title` | string
12
+ `createdAt` | number
13
+ `updatedAt` | number
14
+ `messageCount` | number
15
+ `model` | string
16
+ `usage` | [ChatUsageTotals](ChatUsageTotals.md)
17
+ `modelUsage` | [Array<ChatModelUsage>](ChatModelUsage.md)
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { AdminConversationSummary } from '@easyedu/js-lsm-api'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "id": null,
27
+ "user": null,
28
+ "title": null,
29
+ "createdAt": null,
30
+ "updatedAt": null,
31
+ "messageCount": null,
32
+ "model": null,
33
+ "usage": null,
34
+ "modelUsage": null,
35
+ } satisfies AdminConversationSummary
36
+
37
+ console.log(example)
38
+
39
+ // Convert the instance to a JSON string
40
+ const exampleJSON: string = JSON.stringify(example)
41
+ console.log(exampleJSON)
42
+
43
+ // Parse the JSON string back to an object
44
+ const exampleParsed = JSON.parse(exampleJSON) as AdminConversationSummary
45
+ console.log(exampleParsed)
46
+ ```
47
+
48
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
+
50
+