@memori.ai/memori-api-client 6.21.0 → 6.23.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 +3 -0
- package/esm/types.d.ts +3 -0
- package/package.json +1 -1
- package/src/types.ts +46 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [6.23.0](https://github.com/memori-ai/memori-api-client/compare/v6.22.0...v6.23.0) (2026-04-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add enableScorm property to Tenant type ([89ba708](https://github.com/memori-ai/memori-api-client/commit/89ba7081c08501735574f53277b169818f410686))
|
|
9
|
+
|
|
10
|
+
## [6.22.0](https://github.com/memori-ai/memori-api-client/compare/v6.21.0...v6.22.0) (2026-04-24)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add ssoLogin and ssoRedirect to Tenant type ([56145f3](https://github.com/memori-ai/memori-api-client/commit/56145f3b735bb4690ad82770a8b0a68c9dfa9019))
|
|
16
|
+
|
|
3
17
|
## [6.21.0](https://github.com/memori-ai/memori-api-client/compare/v6.20.0...v6.21.0) (2026-04-23)
|
|
4
18
|
|
|
5
19
|
|
package/dist/types.d.ts
CHANGED
|
@@ -328,8 +328,11 @@ export declare type Tenant = {
|
|
|
328
328
|
userCount?: number;
|
|
329
329
|
memoriCount?: number;
|
|
330
330
|
scormMemoriCount?: number;
|
|
331
|
+
enableScorm?: boolean;
|
|
331
332
|
ScormMemoriCount?: number;
|
|
332
333
|
disableRegistration?: boolean;
|
|
334
|
+
ssoLogin?: boolean;
|
|
335
|
+
ssoRedirect?: string;
|
|
333
336
|
maxMemoriPerAdmin?: number;
|
|
334
337
|
maxMemoriPerUser?: number;
|
|
335
338
|
maxTotalMemori?: number;
|
package/esm/types.d.ts
CHANGED
|
@@ -328,8 +328,11 @@ export declare type Tenant = {
|
|
|
328
328
|
userCount?: number;
|
|
329
329
|
memoriCount?: number;
|
|
330
330
|
scormMemoriCount?: number;
|
|
331
|
+
enableScorm?: boolean;
|
|
331
332
|
ScormMemoriCount?: number;
|
|
332
333
|
disableRegistration?: boolean;
|
|
334
|
+
ssoLogin?: boolean;
|
|
335
|
+
ssoRedirect?: string;
|
|
333
336
|
maxMemoriPerAdmin?: number;
|
|
334
337
|
maxMemoriPerUser?: number;
|
|
335
338
|
maxTotalMemori?: number;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -158,13 +158,13 @@ export declare type CompletionConfig = {
|
|
|
158
158
|
* - Vertex_Anthropic
|
|
159
159
|
*/
|
|
160
160
|
provider:
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
161
|
+
| 'OpenAI'
|
|
162
|
+
| 'Anthropic'
|
|
163
|
+
| 'Mistral'
|
|
164
|
+
| 'Azure_OpenAI'
|
|
165
|
+
| 'AWS_Anthropic'
|
|
166
|
+
| 'Vertex_Anthropic'
|
|
167
|
+
| 'Custom_OpenAI';
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* @type {string=}
|
|
@@ -504,15 +504,15 @@ export declare type Integration = {
|
|
|
504
504
|
memoriID?: string;
|
|
505
505
|
type: IntegrationType;
|
|
506
506
|
state?:
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
507
|
+
| 'NEW'
|
|
508
|
+
| 'PROCESSING'
|
|
509
|
+
| 'DONE'
|
|
510
|
+
| 'REMOVED'
|
|
511
|
+
| 'ERROR'
|
|
512
|
+
| 'WAITING_MANUAL_ACTION'
|
|
513
|
+
| 'DRAFT'
|
|
514
|
+
| 'NOT_VALIDATED'
|
|
515
|
+
| 'PUBLISHED';
|
|
516
516
|
publish?: boolean;
|
|
517
517
|
deviceEmails?: string[];
|
|
518
518
|
invocationText?: string;
|
|
@@ -592,8 +592,11 @@ export declare type Tenant = {
|
|
|
592
592
|
/**
|
|
593
593
|
* Alias kept for backend payloads that expose PascalCase.
|
|
594
594
|
*/
|
|
595
|
+
enableScorm?: boolean;
|
|
595
596
|
ScormMemoriCount?: number;
|
|
596
597
|
disableRegistration?: boolean;
|
|
598
|
+
ssoLogin?: boolean;
|
|
599
|
+
ssoRedirect?: string;
|
|
597
600
|
maxMemoriPerAdmin?: number;
|
|
598
601
|
maxMemoriPerUser?: number;
|
|
599
602
|
maxTotalMemori?: number;
|
|
@@ -830,12 +833,12 @@ export declare type SearchQuery = {
|
|
|
830
833
|
* If specified, the search is limited to Memories of this type.
|
|
831
834
|
*/
|
|
832
835
|
memoryType?:
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
836
|
+
| 'Question'
|
|
837
|
+
| 'Story'
|
|
838
|
+
| 'Default'
|
|
839
|
+
| 'CompletionDraft'
|
|
840
|
+
| 'CompletionPlaceholder'
|
|
841
|
+
| 'ExpertReference';
|
|
839
842
|
};
|
|
840
843
|
|
|
841
844
|
/**
|
|
@@ -878,11 +881,11 @@ export declare type Answer = {
|
|
|
878
881
|
export declare type Memory = {
|
|
879
882
|
memoryID: string;
|
|
880
883
|
memoryType:
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
884
|
+
| 'Question'
|
|
885
|
+
| 'Story'
|
|
886
|
+
| 'Default'
|
|
887
|
+
| 'CompletionDraft'
|
|
888
|
+
| 'ExpertReference';
|
|
886
889
|
lastRead?: string;
|
|
887
890
|
readOccurrences?: number;
|
|
888
891
|
receiverID?: string;
|
|
@@ -1544,19 +1547,19 @@ export declare type EventLog = {
|
|
|
1544
1547
|
eventLogID: string;
|
|
1545
1548
|
timestamp: string;
|
|
1546
1549
|
eventType:
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1550
|
+
| 'MemoriOpened'
|
|
1551
|
+
| 'MemoriClosed'
|
|
1552
|
+
| 'QuestionAnsweredCorrectly'
|
|
1553
|
+
| 'QuestionAnsweredIncorrectly'
|
|
1554
|
+
| 'QuestionNotAnswered'
|
|
1555
|
+
| 'IntentMatched';
|
|
1553
1556
|
memoriID: string;
|
|
1554
1557
|
sessionID: string;
|
|
1555
1558
|
maintenanceType?:
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1559
|
+
| 'None'
|
|
1560
|
+
| 'ConsumptionJob'
|
|
1561
|
+
| 'ChatLogExtractionJob'
|
|
1562
|
+
| 'ContentQualityJob';
|
|
1560
1563
|
userAgent?: string;
|
|
1561
1564
|
ipAddress?: string;
|
|
1562
1565
|
additionalInfo?: OpenSession['additionalInfo'];
|
|
@@ -1745,12 +1748,12 @@ export interface ProcessStatus {
|
|
|
1745
1748
|
* - Failed: the Import process terminated due to an unexpected error, not all Memory objects may have been processed.
|
|
1746
1749
|
*/
|
|
1747
1750
|
status:
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1751
|
+
| 'Pending'
|
|
1752
|
+
| 'Starting'
|
|
1753
|
+
| 'Running'
|
|
1754
|
+
| 'Stopped'
|
|
1755
|
+
| 'Completed'
|
|
1756
|
+
| 'Failed';
|
|
1754
1757
|
/**
|
|
1755
1758
|
* @type {string=}
|
|
1756
1759
|
* If the Status is Failed, reports the error that caused the Import process to fail. Null otherwise.
|