@memori.ai/memori-api-client 6.2.0 → 6.3.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.3.0](https://github.com/memori-ai/memori-api-client/compare/v6.2.0...v6.3.0) (2025-05-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * add Vertex Anthropic model configuration fields to CompletionConfig ([80901bf](https://github.com/memori-ai/memori-api-client/commit/80901bf95ea196dc232993525b3f7d0003e4bedd))
9
+
3
10
  ## [6.2.0](https://github.com/memori-ai/memori-api-client/compare/v6.1.1...v6.2.0) (2025-05-14)
4
11
 
5
12
 
package/dist/types.d.ts CHANGED
@@ -120,6 +120,10 @@ export declare type CompletionConfig = {
120
120
  modelId?: string;
121
121
  accessKeyId?: string;
122
122
  secretAccessKey?: string;
123
+ location?: string;
124
+ clientSecret?: string;
125
+ refreshToken?: string;
126
+ clientId?: string;
123
127
  applyTo?: ApplyToOption;
124
128
  };
125
129
  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
@@ -120,6 +120,10 @@ export declare type CompletionConfig = {
120
120
  modelId?: string;
121
121
  accessKeyId?: string;
122
122
  secretAccessKey?: string;
123
+ location?: string;
124
+ clientSecret?: string;
125
+ refreshToken?: string;
126
+ clientId?: string;
123
127
  applyTo?: ApplyToOption;
124
128
  };
125
129
  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.3.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
@@ -243,7 +243,30 @@ export declare type CompletionConfig = {
243
243
  * Secret Access Key of the AWS Anthropic model.
244
244
  */
245
245
  secretAccessKey?: string;
246
-
246
+ /**
247
+ * @type {string=}
248
+ * Location of the Vertex Anthropic model.
249
+ */
250
+ location?: string;
251
+ /**
252
+ * @type {string=}
253
+ * Client Secret of the Vertex Anthropic model.
254
+ */
255
+ clientSecret?: string;
256
+ /**
257
+ * @type {string=}
258
+ * Refresh Token of the Vertex Anthropic model.
259
+ */
260
+ refreshToken?: string;
261
+ /**
262
+ * @type {string=}
263
+ * Client ID of the Vertex Anthropic model.
264
+ */
265
+ clientId?: string;
266
+ /**
267
+ * @type {string=}
268
+ * Project ID of the Vertex Anthropic model.
269
+ */
247
270
  /**
248
271
  * @type {string=}
249
272
  * If True this configuration is applied to all Memori of the Tenant.