@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 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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.21.0",
2
+ "version": "6.22.0",
3
3
  "name": "@memori.ai/memori-api-client",
4
4
  "description": "React library to integrate a Memori in your app or website",
5
5
  "license": "Apache-2.0",
package/src/types.ts CHANGED
@@ -158,13 +158,13 @@ export declare type CompletionConfig = {
158
158
  * - Vertex_Anthropic
159
159
  */
160
160
  provider:
161
- | 'OpenAI'
162
- | 'Anthropic'
163
- | 'Mistral'
164
- | 'Azure_OpenAI'
165
- | 'AWS_Anthropic'
166
- | 'Vertex_Anthropic'
167
- | 'Custom_OpenAI';
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
- | 'NEW'
508
- | 'PROCESSING'
509
- | 'DONE'
510
- | 'REMOVED'
511
- | 'ERROR'
512
- | 'WAITING_MANUAL_ACTION'
513
- | 'DRAFT'
514
- | 'NOT_VALIDATED'
515
- | 'PUBLISHED';
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
- | 'Question'
834
- | 'Story'
835
- | 'Default'
836
- | 'CompletionDraft'
837
- | 'CompletionPlaceholder'
838
- | 'ExpertReference';
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
- | 'Question'
882
- | 'Story'
883
- | 'Default'
884
- | 'CompletionDraft'
885
- | 'ExpertReference';
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
- | 'MemoriOpened'
1548
- | 'MemoriClosed'
1549
- | 'QuestionAnsweredCorrectly'
1550
- | 'QuestionAnsweredIncorrectly'
1551
- | 'QuestionNotAnswered'
1552
- | 'IntentMatched';
1549
+ | 'MemoriOpened'
1550
+ | 'MemoriClosed'
1551
+ | 'QuestionAnsweredCorrectly'
1552
+ | 'QuestionAnsweredIncorrectly'
1553
+ | 'QuestionNotAnswered'
1554
+ | 'IntentMatched';
1553
1555
  memoriID: string;
1554
1556
  sessionID: string;
1555
1557
  maintenanceType?:
1556
- | 'None'
1557
- | 'ConsumptionJob'
1558
- | 'ChatLogExtractionJob'
1559
- | 'ContentQualityJob';
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
- | 'Pending'
1749
- | 'Starting'
1750
- | 'Running'
1751
- | 'Stopped'
1752
- | 'Completed'
1753
- | 'Failed';
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.