@memori.ai/memori-api-client 6.20.0 → 6.22.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/CHANGELOG.md +14 -0
- package/dist/types.d.ts +6 -0
- package/esm/types.d.ts +6 -0
- package/package.json +1 -1
- package/src/types.ts +60 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [6.22.0](https://github.com/memori-ai/memori-api-client/compare/v6.21.0...v6.22.0) (2026-04-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add ssoLogin and ssoRedirect to Tenant type ([56145f3](https://github.com/memori-ai/memori-api-client/commit/56145f3b735bb4690ad82770a8b0a68c9dfa9019))
|
|
9
|
+
|
|
10
|
+
## [6.21.0](https://github.com/memori-ai/memori-api-client/compare/v6.20.0...v6.21.0) (2026-04-23)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add scorm support and additional properties to types ([17941ca](https://github.com/memori-ai/memori-api-client/commit/17941ca846e582dc0effd3f023b085f944af87dd))
|
|
16
|
+
|
|
3
17
|
## [6.20.0](https://github.com/memori-ai/memori-api-client/compare/v6.19.0...v6.20.0) (2026-03-16)
|
|
4
18
|
|
|
5
19
|
|
package/dist/types.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export declare type Memori = {
|
|
|
100
100
|
alwaysAnswerWithCompletion?: boolean;
|
|
101
101
|
disableAIContentCollection?: boolean;
|
|
102
102
|
requireLoginToken?: boolean;
|
|
103
|
+
scorm?: boolean;
|
|
103
104
|
};
|
|
104
105
|
export declare type CompletionConfig = {
|
|
105
106
|
completionConfigID: string;
|
|
@@ -326,10 +327,15 @@ export declare type Tenant = {
|
|
|
326
327
|
adminCount?: number;
|
|
327
328
|
userCount?: number;
|
|
328
329
|
memoriCount?: number;
|
|
330
|
+
scormMemoriCount?: number;
|
|
331
|
+
ScormMemoriCount?: number;
|
|
329
332
|
disableRegistration?: boolean;
|
|
333
|
+
ssoLogin?: boolean;
|
|
334
|
+
ssoRedirect?: string;
|
|
330
335
|
maxMemoriPerAdmin?: number;
|
|
331
336
|
maxMemoriPerUser?: number;
|
|
332
337
|
maxTotalMemori?: number;
|
|
338
|
+
maxScormMemori?: number;
|
|
333
339
|
maxAdmins?: number;
|
|
334
340
|
maxUsers?: number;
|
|
335
341
|
maxFreeSessions?: number;
|
package/esm/types.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export declare type Memori = {
|
|
|
100
100
|
alwaysAnswerWithCompletion?: boolean;
|
|
101
101
|
disableAIContentCollection?: boolean;
|
|
102
102
|
requireLoginToken?: boolean;
|
|
103
|
+
scorm?: boolean;
|
|
103
104
|
};
|
|
104
105
|
export declare type CompletionConfig = {
|
|
105
106
|
completionConfigID: string;
|
|
@@ -326,10 +327,15 @@ export declare type Tenant = {
|
|
|
326
327
|
adminCount?: number;
|
|
327
328
|
userCount?: number;
|
|
328
329
|
memoriCount?: number;
|
|
330
|
+
scormMemoriCount?: number;
|
|
331
|
+
ScormMemoriCount?: number;
|
|
329
332
|
disableRegistration?: boolean;
|
|
333
|
+
ssoLogin?: boolean;
|
|
334
|
+
ssoRedirect?: string;
|
|
330
335
|
maxMemoriPerAdmin?: number;
|
|
331
336
|
maxMemoriPerUser?: number;
|
|
332
337
|
maxTotalMemori?: number;
|
|
338
|
+
maxScormMemori?: number;
|
|
333
339
|
maxAdmins?: number;
|
|
334
340
|
maxUsers?: number;
|
|
335
341
|
maxFreeSessions?: number;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -123,6 +123,12 @@ export declare type Memori = {
|
|
|
123
123
|
alwaysAnswerWithCompletion?: boolean;
|
|
124
124
|
disableAIContentCollection?: boolean;
|
|
125
125
|
requireLoginToken?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* If True the Memori is a SCORM Memori.
|
|
128
|
+
* Once enabled, this flag cannot be reverted through update operations.
|
|
129
|
+
* To remove SCORM status, the Memori must be deleted.
|
|
130
|
+
*/
|
|
131
|
+
scorm?: boolean;
|
|
126
132
|
};
|
|
127
133
|
|
|
128
134
|
export declare type CompletionConfig = {
|
|
@@ -152,13 +158,13 @@ export declare type CompletionConfig = {
|
|
|
152
158
|
* - Vertex_Anthropic
|
|
153
159
|
*/
|
|
154
160
|
provider:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
| 'OpenAI'
|
|
162
|
+
| 'Anthropic'
|
|
163
|
+
| 'Mistral'
|
|
164
|
+
| 'Azure_OpenAI'
|
|
165
|
+
| 'AWS_Anthropic'
|
|
166
|
+
| 'Vertex_Anthropic'
|
|
167
|
+
| 'Custom_OpenAI';
|
|
162
168
|
|
|
163
169
|
/**
|
|
164
170
|
* @type {string=}
|
|
@@ -498,15 +504,15 @@ export declare type Integration = {
|
|
|
498
504
|
memoriID?: string;
|
|
499
505
|
type: IntegrationType;
|
|
500
506
|
state?:
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
507
|
+
| 'NEW'
|
|
508
|
+
| 'PROCESSING'
|
|
509
|
+
| 'DONE'
|
|
510
|
+
| 'REMOVED'
|
|
511
|
+
| 'ERROR'
|
|
512
|
+
| 'WAITING_MANUAL_ACTION'
|
|
513
|
+
| 'DRAFT'
|
|
514
|
+
| 'NOT_VALIDATED'
|
|
515
|
+
| 'PUBLISHED';
|
|
510
516
|
publish?: boolean;
|
|
511
517
|
deviceEmails?: string[];
|
|
512
518
|
invocationText?: string;
|
|
@@ -579,10 +585,21 @@ export declare type Tenant = {
|
|
|
579
585
|
adminCount?: number;
|
|
580
586
|
userCount?: number;
|
|
581
587
|
memoriCount?: number;
|
|
588
|
+
/**
|
|
589
|
+
* Number of SCORM Memori in this Tenant.
|
|
590
|
+
*/
|
|
591
|
+
scormMemoriCount?: number;
|
|
592
|
+
/**
|
|
593
|
+
* Alias kept for backend payloads that expose PascalCase.
|
|
594
|
+
*/
|
|
595
|
+
ScormMemoriCount?: number;
|
|
582
596
|
disableRegistration?: boolean;
|
|
597
|
+
ssoLogin?: boolean;
|
|
598
|
+
ssoRedirect?: string;
|
|
583
599
|
maxMemoriPerAdmin?: number;
|
|
584
600
|
maxMemoriPerUser?: number;
|
|
585
601
|
maxTotalMemori?: number;
|
|
602
|
+
maxScormMemori?: number;
|
|
586
603
|
maxAdmins?: number;
|
|
587
604
|
maxUsers?: number;
|
|
588
605
|
maxFreeSessions?: number;
|
|
@@ -815,12 +832,12 @@ export declare type SearchQuery = {
|
|
|
815
832
|
* If specified, the search is limited to Memories of this type.
|
|
816
833
|
*/
|
|
817
834
|
memoryType?:
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
835
|
+
| 'Question'
|
|
836
|
+
| 'Story'
|
|
837
|
+
| 'Default'
|
|
838
|
+
| 'CompletionDraft'
|
|
839
|
+
| 'CompletionPlaceholder'
|
|
840
|
+
| 'ExpertReference';
|
|
824
841
|
};
|
|
825
842
|
|
|
826
843
|
/**
|
|
@@ -863,11 +880,11 @@ export declare type Answer = {
|
|
|
863
880
|
export declare type Memory = {
|
|
864
881
|
memoryID: string;
|
|
865
882
|
memoryType:
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
883
|
+
| 'Question'
|
|
884
|
+
| 'Story'
|
|
885
|
+
| 'Default'
|
|
886
|
+
| 'CompletionDraft'
|
|
887
|
+
| 'ExpertReference';
|
|
871
888
|
lastRead?: string;
|
|
872
889
|
readOccurrences?: number;
|
|
873
890
|
receiverID?: string;
|
|
@@ -1529,19 +1546,19 @@ export declare type EventLog = {
|
|
|
1529
1546
|
eventLogID: string;
|
|
1530
1547
|
timestamp: string;
|
|
1531
1548
|
eventType:
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1549
|
+
| 'MemoriOpened'
|
|
1550
|
+
| 'MemoriClosed'
|
|
1551
|
+
| 'QuestionAnsweredCorrectly'
|
|
1552
|
+
| 'QuestionAnsweredIncorrectly'
|
|
1553
|
+
| 'QuestionNotAnswered'
|
|
1554
|
+
| 'IntentMatched';
|
|
1538
1555
|
memoriID: string;
|
|
1539
1556
|
sessionID: string;
|
|
1540
1557
|
maintenanceType?:
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1558
|
+
| 'None'
|
|
1559
|
+
| 'ConsumptionJob'
|
|
1560
|
+
| 'ChatLogExtractionJob'
|
|
1561
|
+
| 'ContentQualityJob';
|
|
1545
1562
|
userAgent?: string;
|
|
1546
1563
|
ipAddress?: string;
|
|
1547
1564
|
additionalInfo?: OpenSession['additionalInfo'];
|
|
@@ -1730,12 +1747,12 @@ export interface ProcessStatus {
|
|
|
1730
1747
|
* - Failed: the Import process terminated due to an unexpected error, not all Memory objects may have been processed.
|
|
1731
1748
|
*/
|
|
1732
1749
|
status:
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1750
|
+
| 'Pending'
|
|
1751
|
+
| 'Starting'
|
|
1752
|
+
| 'Running'
|
|
1753
|
+
| 'Stopped'
|
|
1754
|
+
| 'Completed'
|
|
1755
|
+
| 'Failed';
|
|
1739
1756
|
/**
|
|
1740
1757
|
* @type {string=}
|
|
1741
1758
|
* If the Status is Failed, reports the error that caused the Import process to fail. Null otherwise.
|