@memori.ai/memori-api-client 6.21.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 +7 -0
- package/dist/types.d.ts +2 -0
- package/esm/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/types.ts +45 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## [6.21.0](https://github.com/memori-ai/memori-api-client/compare/v6.20.0...v6.21.0) (2026-04-23)
|
|
4
11
|
|
|
5
12
|
|
package/dist/types.d.ts
CHANGED
|
@@ -330,6 +330,8 @@ export declare type Tenant = {
|
|
|
330
330
|
scormMemoriCount?: number;
|
|
331
331
|
ScormMemoriCount?: number;
|
|
332
332
|
disableRegistration?: boolean;
|
|
333
|
+
ssoLogin?: boolean;
|
|
334
|
+
ssoRedirect?: string;
|
|
333
335
|
maxMemoriPerAdmin?: number;
|
|
334
336
|
maxMemoriPerUser?: number;
|
|
335
337
|
maxTotalMemori?: number;
|
package/esm/types.d.ts
CHANGED
|
@@ -330,6 +330,8 @@ export declare type Tenant = {
|
|
|
330
330
|
scormMemoriCount?: number;
|
|
331
331
|
ScormMemoriCount?: number;
|
|
332
332
|
disableRegistration?: boolean;
|
|
333
|
+
ssoLogin?: boolean;
|
|
334
|
+
ssoRedirect?: string;
|
|
333
335
|
maxMemoriPerAdmin?: number;
|
|
334
336
|
maxMemoriPerUser?: number;
|
|
335
337
|
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;
|
|
@@ -594,6 +594,8 @@ export declare type Tenant = {
|
|
|
594
594
|
*/
|
|
595
595
|
ScormMemoriCount?: number;
|
|
596
596
|
disableRegistration?: boolean;
|
|
597
|
+
ssoLogin?: boolean;
|
|
598
|
+
ssoRedirect?: string;
|
|
597
599
|
maxMemoriPerAdmin?: number;
|
|
598
600
|
maxMemoriPerUser?: number;
|
|
599
601
|
maxTotalMemori?: number;
|
|
@@ -830,12 +832,12 @@ export declare type SearchQuery = {
|
|
|
830
832
|
* If specified, the search is limited to Memories of this type.
|
|
831
833
|
*/
|
|
832
834
|
memoryType?:
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
835
|
+
| 'Question'
|
|
836
|
+
| 'Story'
|
|
837
|
+
| 'Default'
|
|
838
|
+
| 'CompletionDraft'
|
|
839
|
+
| 'CompletionPlaceholder'
|
|
840
|
+
| 'ExpertReference';
|
|
839
841
|
};
|
|
840
842
|
|
|
841
843
|
/**
|
|
@@ -878,11 +880,11 @@ export declare type Answer = {
|
|
|
878
880
|
export declare type Memory = {
|
|
879
881
|
memoryID: string;
|
|
880
882
|
memoryType:
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
883
|
+
| 'Question'
|
|
884
|
+
| 'Story'
|
|
885
|
+
| 'Default'
|
|
886
|
+
| 'CompletionDraft'
|
|
887
|
+
| 'ExpertReference';
|
|
886
888
|
lastRead?: string;
|
|
887
889
|
readOccurrences?: number;
|
|
888
890
|
receiverID?: string;
|
|
@@ -1544,19 +1546,19 @@ export declare type EventLog = {
|
|
|
1544
1546
|
eventLogID: string;
|
|
1545
1547
|
timestamp: string;
|
|
1546
1548
|
eventType:
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1549
|
+
| 'MemoriOpened'
|
|
1550
|
+
| 'MemoriClosed'
|
|
1551
|
+
| 'QuestionAnsweredCorrectly'
|
|
1552
|
+
| 'QuestionAnsweredIncorrectly'
|
|
1553
|
+
| 'QuestionNotAnswered'
|
|
1554
|
+
| 'IntentMatched';
|
|
1553
1555
|
memoriID: string;
|
|
1554
1556
|
sessionID: string;
|
|
1555
1557
|
maintenanceType?:
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1558
|
+
| 'None'
|
|
1559
|
+
| 'ConsumptionJob'
|
|
1560
|
+
| 'ChatLogExtractionJob'
|
|
1561
|
+
| 'ContentQualityJob';
|
|
1560
1562
|
userAgent?: string;
|
|
1561
1563
|
ipAddress?: string;
|
|
1562
1564
|
additionalInfo?: OpenSession['additionalInfo'];
|
|
@@ -1745,12 +1747,12 @@ export interface ProcessStatus {
|
|
|
1745
1747
|
* - Failed: the Import process terminated due to an unexpected error, not all Memory objects may have been processed.
|
|
1746
1748
|
*/
|
|
1747
1749
|
status:
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1750
|
+
| 'Pending'
|
|
1751
|
+
| 'Starting'
|
|
1752
|
+
| 'Running'
|
|
1753
|
+
| 'Stopped'
|
|
1754
|
+
| 'Completed'
|
|
1755
|
+
| 'Failed';
|
|
1754
1756
|
/**
|
|
1755
1757
|
* @type {string=}
|
|
1756
1758
|
* If the Status is Failed, reports the error that caused the Import process to fail. Null otherwise.
|