@memnexus-ai/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 +17 -0
- package/dist/index.d.cts +43 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +17 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2796,6 +2796,23 @@ var Admin = class {
|
|
|
2796
2796
|
body: options?.body
|
|
2797
2797
|
});
|
|
2798
2798
|
}
|
|
2799
|
+
/**
|
|
2800
|
+
* Re-encrypt existing plaintext-at-rest Memory and Entity rows (dry-run by default)
|
|
2801
|
+
* @param options — Optional parameters
|
|
2802
|
+
*/
|
|
2803
|
+
async adminMigrateEncryptionBackfill(options) {
|
|
2804
|
+
const pathParams = {};
|
|
2805
|
+
const queryParams = {
|
|
2806
|
+
"apply": options?.apply
|
|
2807
|
+
};
|
|
2808
|
+
return this._http.request({
|
|
2809
|
+
method: "POST",
|
|
2810
|
+
path: "/api/admin/migrate/encryption-backfill",
|
|
2811
|
+
pathParams,
|
|
2812
|
+
queryParams,
|
|
2813
|
+
body: options?.body
|
|
2814
|
+
});
|
|
2815
|
+
}
|
|
2799
2816
|
};
|
|
2800
2817
|
|
|
2801
2818
|
// src/services/admin-alerts.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -4154,6 +4154,49 @@ declare class Admin {
|
|
|
4154
4154
|
toUpdate?: Record<string, unknown>[];
|
|
4155
4155
|
toUpdateCount?: number;
|
|
4156
4156
|
}>>;
|
|
4157
|
+
/**
|
|
4158
|
+
* Re-encrypt existing plaintext-at-rest Memory and Entity rows (dry-run by default)
|
|
4159
|
+
* @param options — Optional parameters
|
|
4160
|
+
*/
|
|
4161
|
+
adminMigrateEncryptionBackfill(options?: {
|
|
4162
|
+
body?: {
|
|
4163
|
+
apply?: boolean;
|
|
4164
|
+
target?: 'memory' | 'entity' | 'both';
|
|
4165
|
+
maxRows?: number;
|
|
4166
|
+
};
|
|
4167
|
+
apply?: boolean;
|
|
4168
|
+
}): Promise<HttpResponse<{
|
|
4169
|
+
dryRun: boolean;
|
|
4170
|
+
target: 'memory' | 'entity' | 'both';
|
|
4171
|
+
encryptionConfigured: boolean;
|
|
4172
|
+
preflight?: {
|
|
4173
|
+
memory?: {
|
|
4174
|
+
mixedShape?: number;
|
|
4175
|
+
markerV2Plaintext?: number;
|
|
4176
|
+
};
|
|
4177
|
+
};
|
|
4178
|
+
memory: {
|
|
4179
|
+
scanned?: number;
|
|
4180
|
+
succeeded?: number;
|
|
4181
|
+
failed?: number;
|
|
4182
|
+
skipped?: number;
|
|
4183
|
+
remaining?: number;
|
|
4184
|
+
};
|
|
4185
|
+
entity: {
|
|
4186
|
+
scanned?: number;
|
|
4187
|
+
succeeded?: number;
|
|
4188
|
+
failed?: number;
|
|
4189
|
+
skipped?: number;
|
|
4190
|
+
remaining?: number;
|
|
4191
|
+
};
|
|
4192
|
+
errors: Array<{
|
|
4193
|
+
id?: string;
|
|
4194
|
+
reason?: 'dek_unavailable' | 'encrypt_failed' | 'not_wired' | 'unknown';
|
|
4195
|
+
}>;
|
|
4196
|
+
startedAt: string;
|
|
4197
|
+
completedAt: string;
|
|
4198
|
+
durationMs: number;
|
|
4199
|
+
}>>;
|
|
4157
4200
|
}
|
|
4158
4201
|
|
|
4159
4202
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -4154,6 +4154,49 @@ declare class Admin {
|
|
|
4154
4154
|
toUpdate?: Record<string, unknown>[];
|
|
4155
4155
|
toUpdateCount?: number;
|
|
4156
4156
|
}>>;
|
|
4157
|
+
/**
|
|
4158
|
+
* Re-encrypt existing plaintext-at-rest Memory and Entity rows (dry-run by default)
|
|
4159
|
+
* @param options — Optional parameters
|
|
4160
|
+
*/
|
|
4161
|
+
adminMigrateEncryptionBackfill(options?: {
|
|
4162
|
+
body?: {
|
|
4163
|
+
apply?: boolean;
|
|
4164
|
+
target?: 'memory' | 'entity' | 'both';
|
|
4165
|
+
maxRows?: number;
|
|
4166
|
+
};
|
|
4167
|
+
apply?: boolean;
|
|
4168
|
+
}): Promise<HttpResponse<{
|
|
4169
|
+
dryRun: boolean;
|
|
4170
|
+
target: 'memory' | 'entity' | 'both';
|
|
4171
|
+
encryptionConfigured: boolean;
|
|
4172
|
+
preflight?: {
|
|
4173
|
+
memory?: {
|
|
4174
|
+
mixedShape?: number;
|
|
4175
|
+
markerV2Plaintext?: number;
|
|
4176
|
+
};
|
|
4177
|
+
};
|
|
4178
|
+
memory: {
|
|
4179
|
+
scanned?: number;
|
|
4180
|
+
succeeded?: number;
|
|
4181
|
+
failed?: number;
|
|
4182
|
+
skipped?: number;
|
|
4183
|
+
remaining?: number;
|
|
4184
|
+
};
|
|
4185
|
+
entity: {
|
|
4186
|
+
scanned?: number;
|
|
4187
|
+
succeeded?: number;
|
|
4188
|
+
failed?: number;
|
|
4189
|
+
skipped?: number;
|
|
4190
|
+
remaining?: number;
|
|
4191
|
+
};
|
|
4192
|
+
errors: Array<{
|
|
4193
|
+
id?: string;
|
|
4194
|
+
reason?: 'dek_unavailable' | 'encrypt_failed' | 'not_wired' | 'unknown';
|
|
4195
|
+
}>;
|
|
4196
|
+
startedAt: string;
|
|
4197
|
+
completedAt: string;
|
|
4198
|
+
durationMs: number;
|
|
4199
|
+
}>>;
|
|
4157
4200
|
}
|
|
4158
4201
|
|
|
4159
4202
|
/**
|
package/dist/index.js
CHANGED
|
@@ -2769,6 +2769,23 @@ var Admin = class {
|
|
|
2769
2769
|
body: options?.body
|
|
2770
2770
|
});
|
|
2771
2771
|
}
|
|
2772
|
+
/**
|
|
2773
|
+
* Re-encrypt existing plaintext-at-rest Memory and Entity rows (dry-run by default)
|
|
2774
|
+
* @param options — Optional parameters
|
|
2775
|
+
*/
|
|
2776
|
+
async adminMigrateEncryptionBackfill(options) {
|
|
2777
|
+
const pathParams = {};
|
|
2778
|
+
const queryParams = {
|
|
2779
|
+
"apply": options?.apply
|
|
2780
|
+
};
|
|
2781
|
+
return this._http.request({
|
|
2782
|
+
method: "POST",
|
|
2783
|
+
path: "/api/admin/migrate/encryption-backfill",
|
|
2784
|
+
pathParams,
|
|
2785
|
+
queryParams,
|
|
2786
|
+
body: options?.body
|
|
2787
|
+
});
|
|
2788
|
+
}
|
|
2772
2789
|
};
|
|
2773
2790
|
|
|
2774
2791
|
// src/services/admin-alerts.ts
|