@memori.ai/memori-api-client 6.2.0 → 6.4.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,19 @@
1
1
 
2
2
 
3
+ ## [6.4.0](https://github.com/memori-ai/memori-api-client/compare/v6.3.0...v6.4.0) (2025-05-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * update CompletionConfig to Vertex_Anthropic provider options ([e2e23ad](https://github.com/memori-ai/memori-api-client/commit/e2e23ad86de1457440b45104bbbb64a2c3d69f69))
9
+
10
+ ## [6.3.0](https://github.com/memori-ai/memori-api-client/compare/v6.2.0...v6.3.0) (2025-05-22)
11
+
12
+
13
+ ### Features
14
+
15
+ * add Vertex Anthropic model configuration fields to CompletionConfig ([80901bf](https://github.com/memori-ai/memori-api-client/commit/80901bf95ea196dc232993525b3f7d0003e4bedd))
16
+
3
17
  ## [6.2.0](https://github.com/memori-ai/memori-api-client/compare/v6.1.1...v6.2.0) (2025-05-14)
4
18
 
5
19
 
package/dist/types.d.ts CHANGED
@@ -102,7 +102,7 @@ export declare type CompletionConfig = {
102
102
  completionConfigID: string;
103
103
  configName: string;
104
104
  description?: string;
105
- provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic';
105
+ provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic' | 'Vertex_Anthropic';
106
106
  endPoint?: string;
107
107
  apiKey?: string;
108
108
  model: string;
@@ -119,7 +119,12 @@ export declare type CompletionConfig = {
119
119
  region?: string;
120
120
  modelId?: string;
121
121
  accessKeyId?: string;
122
+ projectId?: string;
122
123
  secretAccessKey?: string;
124
+ location?: string;
125
+ clientSecret?: string;
126
+ refreshToken?: string;
127
+ clientId?: string;
123
128
  applyTo?: ApplyToOption;
124
129
  };
125
130
  export declare type ApplyToOption = 'ALL_TENANT_MEMORI_ONLY_QA_PURPOSE' | 'ALL_TENANT_MEMORI_ONLY_IE_PURPOSE' | 'ALL_TENANT_MEMORI_ONLY_DT_PURPOSE' | 'ALL_TENANT_MEMORI_ALL_ENABLED_PURPOSES';
package/esm/types.d.ts CHANGED
@@ -102,7 +102,7 @@ export declare type CompletionConfig = {
102
102
  completionConfigID: string;
103
103
  configName: string;
104
104
  description?: string;
105
- provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic';
105
+ provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic' | 'Vertex_Anthropic';
106
106
  endPoint?: string;
107
107
  apiKey?: string;
108
108
  model: string;
@@ -119,7 +119,12 @@ export declare type CompletionConfig = {
119
119
  region?: string;
120
120
  modelId?: string;
121
121
  accessKeyId?: string;
122
+ projectId?: string;
122
123
  secretAccessKey?: string;
124
+ location?: string;
125
+ clientSecret?: string;
126
+ refreshToken?: string;
127
+ clientId?: string;
123
128
  applyTo?: ApplyToOption;
124
129
  };
125
130
  export declare type ApplyToOption = 'ALL_TENANT_MEMORI_ONLY_QA_PURPOSE' | 'ALL_TENANT_MEMORI_ONLY_IE_PURPOSE' | 'ALL_TENANT_MEMORI_ONLY_DT_PURPOSE' | 'ALL_TENANT_MEMORI_ALL_ENABLED_PURPOSES';
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.2.0",
2
+ "version": "6.4.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
@@ -145,13 +145,16 @@ export declare type CompletionConfig = {
145
145
  * - Anthropic
146
146
  * - Mistral
147
147
  * - Azure_OpenAI
148
+ * - AWS_Anthropic
149
+ * - Vertex_Anthropic
148
150
  */
149
151
  provider:
150
152
  | 'OpenAI'
151
153
  | 'Anthropic'
152
154
  | 'Mistral'
153
155
  | 'Azure_OpenAI'
154
- | 'AWS_Anthropic';
156
+ | 'AWS_Anthropic'
157
+ | 'Vertex_Anthropic';
155
158
  /**
156
159
  * @type {string=}
157
160
  * URL of the Completion Provider API end-point. If not specified, the default end-point for the provider is used.
@@ -238,12 +241,40 @@ export declare type CompletionConfig = {
238
241
  * Access Key ID of the AWS Anthropic model.
239
242
  */
240
243
  accessKeyId?: string;
244
+ /**
245
+ * @type {string=}
246
+ * Project ID of the Vertex Anthropic model.
247
+ */
248
+ projectId?: string;
241
249
  /**
242
250
  * @type {string=}
243
251
  * Secret Access Key of the AWS Anthropic model.
244
252
  */
245
253
  secretAccessKey?: string;
246
-
254
+ /**
255
+ * @type {string=}
256
+ * Location of the Vertex Anthropic model.
257
+ */
258
+ location?: string;
259
+ /**
260
+ * @type {string=}
261
+ * Client Secret of the Vertex Anthropic model.
262
+ */
263
+ clientSecret?: string;
264
+ /**
265
+ * @type {string=}
266
+ * Refresh Token of the Vertex Anthropic model.
267
+ */
268
+ refreshToken?: string;
269
+ /**
270
+ * @type {string=}
271
+ * Client ID of the Vertex Anthropic model.
272
+ */
273
+ clientId?: string;
274
+ /**
275
+ * @type {string=}
276
+ * Project ID of the Vertex Anthropic model.
277
+ */
247
278
  /**
248
279
  * @type {string=}
249
280
  * If True this configuration is applied to all Memori of the Tenant.