@memnexus-ai/typescript-sdk 1.68.6 → 1.68.8
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/dist/index.cjs +36 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +44 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.js +36 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5888,6 +5888,42 @@ var AdminService = class extends BaseService {
|
|
|
5888
5888
|
}
|
|
5889
5889
|
return this.client.call(request);
|
|
5890
5890
|
}
|
|
5891
|
+
/**
|
|
5892
|
+
* Re-encrypt existing plaintext-at-rest Memory and Entity rows (dry-run by default)
|
|
5893
|
+
* @param apply - When true, mutate rows. Default false = dry-run (count only, no writes). May also be supplied as `apply: true` in the request body; either the query param or the body field enables apply mode.
|
|
5894
|
+
* @param body - Request body
|
|
5895
|
+
*/
|
|
5896
|
+
async adminMigrateEncryptionBackfill(options) {
|
|
5897
|
+
const request = new Request({
|
|
5898
|
+
baseUrl: this.config.baseUrl || "http://localhost:3000",
|
|
5899
|
+
method: "POST",
|
|
5900
|
+
path: "/api/admin/migrate/encryption-backfill",
|
|
5901
|
+
config: this.config,
|
|
5902
|
+
retry: {
|
|
5903
|
+
attempts: 3,
|
|
5904
|
+
delayMs: 150,
|
|
5905
|
+
maxDelayMs: 5e3,
|
|
5906
|
+
jitterMs: 50,
|
|
5907
|
+
backoffFactor: 2
|
|
5908
|
+
}
|
|
5909
|
+
});
|
|
5910
|
+
if (options?.apply !== void 0) {
|
|
5911
|
+
request.addQueryParam("apply", {
|
|
5912
|
+
key: "apply",
|
|
5913
|
+
value: options.apply,
|
|
5914
|
+
explode: false,
|
|
5915
|
+
encode: true,
|
|
5916
|
+
style: "form",
|
|
5917
|
+
isLimit: false,
|
|
5918
|
+
isOffset: false,
|
|
5919
|
+
isCursor: false
|
|
5920
|
+
});
|
|
5921
|
+
}
|
|
5922
|
+
if (options?.body !== void 0) {
|
|
5923
|
+
request.addBody(options?.body);
|
|
5924
|
+
}
|
|
5925
|
+
return this.client.call(request);
|
|
5926
|
+
}
|
|
5891
5927
|
};
|
|
5892
5928
|
|
|
5893
5929
|
// src/services/admin-alerts-service.ts
|