@cadenya/cadenya 0.66.0 → 0.67.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 +8 -0
- package/README.md +2 -2
- package/client.d.mts +18 -18
- package/client.d.mts.map +1 -1
- package/client.d.ts +18 -18
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +28 -11
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +28 -11
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +16 -10
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +16 -10
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/feedback.d.mts +14 -9
- package/resources/agents/feedback.d.mts.map +1 -1
- package/resources/agents/feedback.d.ts +14 -9
- package/resources/agents/feedback.d.ts.map +1 -1
- package/resources/agents/feedback.js +3 -2
- package/resources/agents/feedback.js.map +1 -1
- package/resources/agents/feedback.mjs +3 -2
- package/resources/agents/feedback.mjs.map +1 -1
- package/resources/agents/index.d.mts +1 -1
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +1 -1
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/schedules.d.mts +32 -11
- package/resources/agents/schedules.d.mts.map +1 -1
- package/resources/agents/schedules.d.ts +32 -11
- package/resources/agents/schedules.d.ts.map +1 -1
- package/resources/agents/schedules.js +18 -13
- package/resources/agents/schedules.js.map +1 -1
- package/resources/agents/schedules.mjs +18 -13
- package/resources/agents/schedules.mjs.map +1 -1
- package/resources/agents/variations.d.mts +51 -9
- package/resources/agents/variations.d.mts.map +1 -1
- package/resources/agents/variations.d.ts +51 -9
- package/resources/agents/variations.d.ts.map +1 -1
- package/resources/agents/variations.js +28 -32
- package/resources/agents/variations.js.map +1 -1
- package/resources/agents/variations.mjs +28 -32
- package/resources/agents/variations.mjs.map +1 -1
- package/resources/agents/webhook-deliveries.d.mts +7 -3
- package/resources/agents/webhook-deliveries.d.mts.map +1 -1
- package/resources/agents/webhook-deliveries.d.ts +7 -3
- package/resources/agents/webhook-deliveries.d.ts.map +1 -1
- package/resources/agents/webhook-deliveries.js +3 -2
- package/resources/agents/webhook-deliveries.js.map +1 -1
- package/resources/agents/webhook-deliveries.mjs +3 -2
- package/resources/agents/webhook-deliveries.mjs.map +1 -1
- package/resources/api-keys.d.mts +35 -12
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +35 -12
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-keys.js +19 -12
- package/resources/api-keys.js.map +1 -1
- package/resources/api-keys.mjs +19 -12
- package/resources/api-keys.mjs.map +1 -1
- package/resources/bulk-workspace-resources/bulk-workspace-resources.d.mts +10 -4
- package/resources/bulk-workspace-resources/bulk-workspace-resources.d.mts.map +1 -1
- package/resources/bulk-workspace-resources/bulk-workspace-resources.d.ts +10 -4
- package/resources/bulk-workspace-resources/bulk-workspace-resources.d.ts.map +1 -1
- package/resources/bulk-workspace-resources/bulk-workspace-resources.js +10 -9
- package/resources/bulk-workspace-resources/bulk-workspace-resources.js.map +1 -1
- package/resources/bulk-workspace-resources/bulk-workspace-resources.mjs +10 -9
- package/resources/bulk-workspace-resources/bulk-workspace-resources.mjs.map +1 -1
- package/resources/bulk-workspace-resources/index.d.mts +1 -1
- package/resources/bulk-workspace-resources/index.d.mts.map +1 -1
- package/resources/bulk-workspace-resources/index.d.ts +1 -1
- package/resources/bulk-workspace-resources/index.d.ts.map +1 -1
- package/resources/bulk-workspace-resources/index.js.map +1 -1
- package/resources/bulk-workspace-resources/index.mjs.map +1 -1
- package/resources/bulk-workspace-resources/results.d.mts +8 -4
- package/resources/bulk-workspace-resources/results.d.mts.map +1 -1
- package/resources/bulk-workspace-resources/results.d.ts +8 -4
- package/resources/bulk-workspace-resources/results.d.ts.map +1 -1
- package/resources/bulk-workspace-resources/results.js +3 -2
- package/resources/bulk-workspace-resources/results.js.map +1 -1
- package/resources/bulk-workspace-resources/results.mjs +3 -2
- package/resources/bulk-workspace-resources/results.mjs.map +1 -1
- package/resources/index.d.mts +9 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/memory-layers/entries.d.mts +35 -14
- package/resources/memory-layers/entries.d.mts.map +1 -1
- package/resources/memory-layers/entries.d.ts +35 -14
- package/resources/memory-layers/entries.d.ts.map +1 -1
- package/resources/memory-layers/entries.js +15 -13
- package/resources/memory-layers/entries.js.map +1 -1
- package/resources/memory-layers/entries.mjs +15 -13
- package/resources/memory-layers/entries.mjs.map +1 -1
- package/resources/memory-layers/index.d.mts +1 -1
- package/resources/memory-layers/index.d.mts.map +1 -1
- package/resources/memory-layers/index.d.ts +1 -1
- package/resources/memory-layers/index.d.ts.map +1 -1
- package/resources/memory-layers/index.js.map +1 -1
- package/resources/memory-layers/index.mjs.map +1 -1
- package/resources/memory-layers/memory-layers.d.mts +32 -9
- package/resources/memory-layers/memory-layers.d.mts.map +1 -1
- package/resources/memory-layers/memory-layers.d.ts +32 -9
- package/resources/memory-layers/memory-layers.d.ts.map +1 -1
- package/resources/memory-layers/memory-layers.js +13 -10
- package/resources/memory-layers/memory-layers.js.map +1 -1
- package/resources/memory-layers/memory-layers.mjs +13 -10
- package/resources/memory-layers/memory-layers.mjs.map +1 -1
- package/resources/models.d.mts +15 -5
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +15 -5
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +11 -6
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +11 -6
- package/resources/models.mjs.map +1 -1
- package/resources/objectives/feedback.d.mts +16 -5
- package/resources/objectives/feedback.d.mts.map +1 -1
- package/resources/objectives/feedback.d.ts +16 -5
- package/resources/objectives/feedback.d.ts.map +1 -1
- package/resources/objectives/feedback.js +9 -4
- package/resources/objectives/feedback.js.map +1 -1
- package/resources/objectives/feedback.mjs +9 -4
- package/resources/objectives/feedback.mjs.map +1 -1
- package/resources/objectives/index.d.mts +1 -1
- package/resources/objectives/index.d.mts.map +1 -1
- package/resources/objectives/index.d.ts +1 -1
- package/resources/objectives/index.d.ts.map +1 -1
- package/resources/objectives/index.js.map +1 -1
- package/resources/objectives/index.mjs.map +1 -1
- package/resources/objectives/objectives.d.mts +49 -21
- package/resources/objectives/objectives.d.mts.map +1 -1
- package/resources/objectives/objectives.d.ts +49 -21
- package/resources/objectives/objectives.d.ts.map +1 -1
- package/resources/objectives/objectives.js +31 -16
- package/resources/objectives/objectives.js.map +1 -1
- package/resources/objectives/objectives.mjs +31 -16
- package/resources/objectives/objectives.mjs.map +1 -1
- package/resources/objectives/tasks.d.mts +10 -2
- package/resources/objectives/tasks.d.mts.map +1 -1
- package/resources/objectives/tasks.d.ts +10 -2
- package/resources/objectives/tasks.d.ts.map +1 -1
- package/resources/objectives/tasks.js +5 -4
- package/resources/objectives/tasks.js.map +1 -1
- package/resources/objectives/tasks.mjs +5 -4
- package/resources/objectives/tasks.mjs.map +1 -1
- package/resources/objectives/tool-calls.d.mts +15 -3
- package/resources/objectives/tool-calls.d.mts.map +1 -1
- package/resources/objectives/tool-calls.d.ts +15 -3
- package/resources/objectives/tool-calls.d.ts.map +1 -1
- package/resources/objectives/tool-calls.js +7 -12
- package/resources/objectives/tool-calls.js.map +1 -1
- package/resources/objectives/tool-calls.mjs +7 -12
- package/resources/objectives/tool-calls.mjs.map +1 -1
- package/resources/objectives/tools.d.mts +5 -1
- package/resources/objectives/tools.d.mts.map +1 -1
- package/resources/objectives/tools.d.ts +5 -1
- package/resources/objectives/tools.d.ts.map +1 -1
- package/resources/objectives/tools.js +3 -2
- package/resources/objectives/tools.js.map +1 -1
- package/resources/objectives/tools.mjs +3 -2
- package/resources/objectives/tools.mjs.map +1 -1
- package/resources/search.d.mts +1 -1
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +1 -1
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +6 -2
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +6 -2
- package/resources/search.mjs.map +1 -1
- package/resources/tool-sets/index.d.mts +1 -1
- package/resources/tool-sets/index.d.mts.map +1 -1
- package/resources/tool-sets/index.d.ts +1 -1
- package/resources/tool-sets/index.d.ts.map +1 -1
- package/resources/tool-sets/index.js.map +1 -1
- package/resources/tool-sets/index.mjs.map +1 -1
- package/resources/tool-sets/tool-sets.d.mts +39 -12
- package/resources/tool-sets/tool-sets.d.mts.map +1 -1
- package/resources/tool-sets/tool-sets.d.ts +39 -12
- package/resources/tool-sets/tool-sets.d.ts.map +1 -1
- package/resources/tool-sets/tool-sets.js +19 -15
- package/resources/tool-sets/tool-sets.js.map +1 -1
- package/resources/tool-sets/tool-sets.mjs +19 -15
- package/resources/tool-sets/tool-sets.mjs.map +1 -1
- package/resources/tool-sets/tools.d.mts +39 -14
- package/resources/tool-sets/tools.d.mts.map +1 -1
- package/resources/tool-sets/tools.d.ts +39 -14
- package/resources/tool-sets/tools.d.ts.map +1 -1
- package/resources/tool-sets/tools.js +18 -13
- package/resources/tool-sets/tools.js.map +1 -1
- package/resources/tool-sets/tools.mjs +18 -13
- package/resources/tool-sets/tools.mjs.map +1 -1
- package/resources/uploads.d.mts +9 -3
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts +9 -3
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.js +5 -4
- package/resources/uploads.js.map +1 -1
- package/resources/uploads.mjs +5 -4
- package/resources/uploads.mjs.map +1 -1
- package/resources/workspace-secrets.d.mts +30 -10
- package/resources/workspace-secrets.d.mts.map +1 -1
- package/resources/workspace-secrets.d.ts +30 -10
- package/resources/workspace-secrets.d.ts.map +1 -1
- package/resources/workspace-secrets.js +16 -13
- package/resources/workspace-secrets.js.map +1 -1
- package/resources/workspace-secrets.mjs +16 -13
- package/resources/workspace-secrets.mjs.map +1 -1
- package/src/client.ts +30 -0
- package/src/resources/agents/agents.ts +43 -14
- package/src/resources/agents/feedback.ts +17 -10
- package/src/resources/agents/index.ts +2 -0
- package/src/resources/agents/schedules.ts +57 -22
- package/src/resources/agents/variations.ts +104 -39
- package/src/resources/agents/webhook-deliveries.ts +10 -4
- package/src/resources/api-keys.ts +54 -16
- package/src/resources/bulk-workspace-resources/bulk-workspace-resources.ts +30 -8
- package/src/resources/bulk-workspace-resources/index.ts +1 -0
- package/src/resources/bulk-workspace-resources/results.ts +11 -5
- package/src/resources/index.ts +22 -1
- package/src/resources/memory-layers/entries.ts +62 -25
- package/src/resources/memory-layers/index.ts +2 -0
- package/src/resources/memory-layers/memory-layers.ts +52 -12
- package/src/resources/models.ts +25 -6
- package/src/resources/objectives/feedback.ts +26 -8
- package/src/resources/objectives/index.ts +1 -0
- package/src/resources/objectives/objectives.ts +86 -27
- package/src/resources/objectives/tasks.ts +19 -5
- package/src/resources/objectives/tool-calls.ts +30 -14
- package/src/resources/objectives/tools.ts +9 -3
- package/src/resources/search.ts +6 -1
- package/src/resources/tool-sets/index.ts +2 -0
- package/src/resources/tool-sets/tool-sets.ts +61 -19
- package/src/resources/tool-sets/tools.ts +64 -25
- package/src/resources/uploads.ts +13 -4
- package/src/resources/workspace-secrets.ts +57 -16
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -23,40 +23,42 @@ class Entries extends resource_1.APIResource {
|
|
|
23
23
|
* Creates a new entry in a memory layer. Returns the detail view, including the
|
|
24
24
|
* resolved content body.
|
|
25
25
|
*/
|
|
26
|
-
create(memoryLayerID,
|
|
27
|
-
|
|
26
|
+
create(memoryLayerID, params, options) {
|
|
27
|
+
const { workspaceId, ...body } = params;
|
|
28
|
+
return this._client.post((0, path_1.path) `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerID}/entries`, {
|
|
29
|
+
body,
|
|
30
|
+
...options,
|
|
31
|
+
});
|
|
28
32
|
}
|
|
29
33
|
/**
|
|
30
34
|
* Retrieves a memory entry by ID from a memory layer. Returns the detail view,
|
|
31
35
|
* including the content body.
|
|
32
36
|
*/
|
|
33
37
|
retrieve(id, params, options) {
|
|
34
|
-
const { memoryLayerId } = params;
|
|
35
|
-
return this._client.get((0, path_1.path) `/v1/memory_layers/${memoryLayerId}/entries/${id}`, options);
|
|
38
|
+
const { workspaceId, memoryLayerId } = params;
|
|
39
|
+
return this._client.get((0, path_1.path) `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerId}/entries/${id}`, options);
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
42
|
* Updates a memory entry in a memory layer. Returns the detail view, including the
|
|
39
43
|
* resolved content body.
|
|
40
44
|
*/
|
|
41
45
|
update(id, params, options) {
|
|
42
|
-
const { memoryLayerId, ...body } = params;
|
|
43
|
-
return this._client.patch((0, path_1.path) `/v1/memory_layers/${memoryLayerId}/entries/${id}`, { body, ...options });
|
|
46
|
+
const { workspaceId, memoryLayerId, ...body } = params;
|
|
47
|
+
return this._client.patch((0, path_1.path) `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerId}/entries/${id}`, { body, ...options });
|
|
44
48
|
}
|
|
45
49
|
/**
|
|
46
50
|
* Lists all entries in a memory layer
|
|
47
51
|
*/
|
|
48
|
-
list(memoryLayerID,
|
|
49
|
-
|
|
52
|
+
list(memoryLayerID, params, options) {
|
|
53
|
+
const { workspaceId, ...query } = params;
|
|
54
|
+
return this._client.getAPIList((0, path_1.path) `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerID}/entries`, (pagination_1.CursorPagination), { query, ...options });
|
|
50
55
|
}
|
|
51
56
|
/**
|
|
52
57
|
* Deletes a memory entry from a memory layer
|
|
53
58
|
*/
|
|
54
59
|
delete(id, params, options) {
|
|
55
|
-
const { memoryLayerId } = params;
|
|
56
|
-
return this._client.delete((0, path_1.path) `/v1/memory_layers/${memoryLayerId}/entries/${id}`, {
|
|
57
|
-
...options,
|
|
58
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
59
|
-
});
|
|
60
|
+
const { workspaceId, memoryLayerId } = params;
|
|
61
|
+
return this._client.delete((0, path_1.path) `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerId}/entries/${id}`, { ...options, headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]) });
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
64
|
exports.Entries = Entries;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entries.js","sourceRoot":"","sources":["../../src/resources/memory-layers/entries.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,yDAAmG;AACnG,uDAAsD;AAEtD,uDAAiD;AAEjD;;;;;;;;;;;GAWG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;OAGG;IACH,MAAM,CACJ,aAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"entries.js","sourceRoot":"","sources":["../../src/resources/memory-layers/entries.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,yDAAmG;AACnG,uDAAsD;AAEtD,uDAAiD;AAEjD;;;;;;;;;;;GAWG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;OAGG;IACH,MAAM,CACJ,aAAqB,EACrB,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,kBAAkB,WAAW,kBAAkB,aAAa,UAAU,EAAE;YACnG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,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,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,EAAE,CAC7E,CAAC;IACJ,CAAC;CACF;AAnED,0BAmEC"}
|
|
@@ -20,40 +20,42 @@ export class Entries extends APIResource {
|
|
|
20
20
|
* Creates a new entry in a memory layer. Returns the detail view, including the
|
|
21
21
|
* resolved content body.
|
|
22
22
|
*/
|
|
23
|
-
create(memoryLayerID,
|
|
24
|
-
|
|
23
|
+
create(memoryLayerID, params, options) {
|
|
24
|
+
const { workspaceId, ...body } = params;
|
|
25
|
+
return this._client.post(path `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerID}/entries`, {
|
|
26
|
+
body,
|
|
27
|
+
...options,
|
|
28
|
+
});
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
27
31
|
* Retrieves a memory entry by ID from a memory layer. Returns the detail view,
|
|
28
32
|
* including the content body.
|
|
29
33
|
*/
|
|
30
34
|
retrieve(id, params, options) {
|
|
31
|
-
const { memoryLayerId } = params;
|
|
32
|
-
return this._client.get(path `/v1/memory_layers/${memoryLayerId}/entries/${id}`, options);
|
|
35
|
+
const { workspaceId, memoryLayerId } = params;
|
|
36
|
+
return this._client.get(path `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerId}/entries/${id}`, options);
|
|
33
37
|
}
|
|
34
38
|
/**
|
|
35
39
|
* Updates a memory entry in a memory layer. Returns the detail view, including the
|
|
36
40
|
* resolved content body.
|
|
37
41
|
*/
|
|
38
42
|
update(id, params, options) {
|
|
39
|
-
const { memoryLayerId, ...body } = params;
|
|
40
|
-
return this._client.patch(path `/v1/memory_layers/${memoryLayerId}/entries/${id}`, { body, ...options });
|
|
43
|
+
const { workspaceId, memoryLayerId, ...body } = params;
|
|
44
|
+
return this._client.patch(path `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerId}/entries/${id}`, { body, ...options });
|
|
41
45
|
}
|
|
42
46
|
/**
|
|
43
47
|
* Lists all entries in a memory layer
|
|
44
48
|
*/
|
|
45
|
-
list(memoryLayerID,
|
|
46
|
-
|
|
49
|
+
list(memoryLayerID, params, options) {
|
|
50
|
+
const { workspaceId, ...query } = params;
|
|
51
|
+
return this._client.getAPIList(path `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerID}/entries`, (CursorPagination), { query, ...options });
|
|
47
52
|
}
|
|
48
53
|
/**
|
|
49
54
|
* Deletes a memory entry from a memory layer
|
|
50
55
|
*/
|
|
51
56
|
delete(id, params, options) {
|
|
52
|
-
const { memoryLayerId } = params;
|
|
53
|
-
return this._client.delete(path `/v1/memory_layers/${memoryLayerId}/entries/${id}`, {
|
|
54
|
-
...options,
|
|
55
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
56
|
-
});
|
|
57
|
+
const { workspaceId, memoryLayerId } = params;
|
|
58
|
+
return this._client.delete(path `/v1/workspaces/${workspaceId}/memory_layers/${memoryLayerId}/entries/${id}`, { ...options, headers: buildHeaders([{ Accept: '*/*' }, options?.headers]) });
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
61
|
//# sourceMappingURL=entries.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entries.mjs","sourceRoot":"","sources":["../../src/resources/memory-layers/entries.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,gBAAgB,EAA4C;OAC9D,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,MAAM,CACJ,aAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"entries.mjs","sourceRoot":"","sources":["../../src/resources/memory-layers/entries.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,gBAAgB,EAA4C;OAC9D,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;;;;;;;;;;GAWG;AACH,MAAM,OA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AAM,CAAC,EAAU,EAAE,MAAyB,EAAE,OAAwB;QACpE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAI,CAAA,kBAAkB,WAAW,kBAAkB,aAAa,YAAY,EAAE,EAAE,EAChF,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,EAAE,CAC7E,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Entries, type MemoryEntry, type MemoryEntryCreateSpec, type MemoryEntryDetail, type MemoryEntryInfo, type MemoryEntrySpec, type MemoryEntryUpdateSpec, type EntryCreateParams, type EntryRetrieveParams, type EntryUpdateParams, type EntryListParams, type EntryDeleteParams, type MemoryEntriesCursorPagination, } from "./entries.mjs";
|
|
2
|
-
export { MemoryLayers, type MemoryLayer, type MemoryLayerInfo, type MemoryLayerSpec, type MemoryLayerCreateParams, type MemoryLayerUpdateParams, type MemoryLayerListParams, type MemoryLayersCursorPagination, } from "./memory-layers.mjs";
|
|
2
|
+
export { MemoryLayers, type MemoryLayer, type MemoryLayerInfo, type MemoryLayerSpec, type MemoryLayerCreateParams, type MemoryLayerRetrieveParams, type MemoryLayerUpdateParams, type MemoryLayerListParams, type MemoryLayerDeleteParams, type MemoryLayersCursorPagination, } from "./memory-layers.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,GACnC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,GAClC"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,GACnC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,GAClC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Entries, type MemoryEntry, type MemoryEntryCreateSpec, type MemoryEntryDetail, type MemoryEntryInfo, type MemoryEntrySpec, type MemoryEntryUpdateSpec, type EntryCreateParams, type EntryRetrieveParams, type EntryUpdateParams, type EntryListParams, type EntryDeleteParams, type MemoryEntriesCursorPagination, } from "./entries.js";
|
|
2
|
-
export { MemoryLayers, type MemoryLayer, type MemoryLayerInfo, type MemoryLayerSpec, type MemoryLayerCreateParams, type MemoryLayerUpdateParams, type MemoryLayerListParams, type MemoryLayersCursorPagination, } from "./memory-layers.js";
|
|
2
|
+
export { MemoryLayers, type MemoryLayer, type MemoryLayerInfo, type MemoryLayerSpec, type MemoryLayerCreateParams, type MemoryLayerRetrieveParams, type MemoryLayerUpdateParams, type MemoryLayerListParams, type MemoryLayerDeleteParams, type MemoryLayersCursorPagination, } from "./memory-layers.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,GACnC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,GAClC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,GACnC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,GAClC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAcmB;AAbjB,kGAAA,OAAO,OAAA;AAcT,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAcmB;AAbjB,kGAAA,OAAO,OAAA;AAcT,oDAWyB;AAVvB,6GAAA,YAAY,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAaR;OACM,EACL,YAAY,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/memory-layers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAaR;OACM,EACL,YAAY,GAUb"}
|
|
@@ -23,23 +23,23 @@ export declare class MemoryLayers extends APIResource {
|
|
|
23
23
|
/**
|
|
24
24
|
* Creates a new memory layer in the workspace
|
|
25
25
|
*/
|
|
26
|
-
create(body: MemoryLayerCreateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
26
|
+
create(workspaceID: string, body: MemoryLayerCreateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
27
27
|
/**
|
|
28
28
|
* Retrieves a memory layer by ID from the workspace
|
|
29
29
|
*/
|
|
30
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
30
|
+
retrieve(id: string, params: MemoryLayerRetrieveParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
31
31
|
/**
|
|
32
32
|
* Updates a memory layer in the workspace
|
|
33
33
|
*/
|
|
34
|
-
update(id: string,
|
|
34
|
+
update(id: string, params: MemoryLayerUpdateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
35
35
|
/**
|
|
36
36
|
* Lists all memory layers in the workspace
|
|
37
37
|
*/
|
|
38
|
-
list(query?: MemoryLayerListParams | null | undefined, options?: RequestOptions): PagePromise<MemoryLayersCursorPagination, MemoryLayer>;
|
|
38
|
+
list(workspaceID: string, query?: MemoryLayerListParams | null | undefined, options?: RequestOptions): PagePromise<MemoryLayersCursorPagination, MemoryLayer>;
|
|
39
39
|
/**
|
|
40
40
|
* Deletes a memory layer from the workspace
|
|
41
41
|
*/
|
|
42
|
-
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
42
|
+
delete(id: string, params: MemoryLayerDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
43
43
|
}
|
|
44
44
|
export type MemoryLayersCursorPagination = CursorPagination<MemoryLayer>;
|
|
45
45
|
/**
|
|
@@ -104,14 +104,31 @@ export interface MemoryLayerCreateParams {
|
|
|
104
104
|
metadata: Shared.CreateResourceMetadata;
|
|
105
105
|
spec: MemoryLayerSpec;
|
|
106
106
|
}
|
|
107
|
+
export interface MemoryLayerRetrieveParams {
|
|
108
|
+
/**
|
|
109
|
+
* Workspace ID (from path).
|
|
110
|
+
*/
|
|
111
|
+
workspaceId: string;
|
|
112
|
+
}
|
|
107
113
|
export interface MemoryLayerUpdateParams {
|
|
108
114
|
/**
|
|
109
|
-
*
|
|
110
|
-
|
|
111
|
-
|
|
115
|
+
* Path param: Workspace ID (from path).
|
|
116
|
+
*/
|
|
117
|
+
workspaceId: string;
|
|
118
|
+
/**
|
|
119
|
+
* Body param: UpdateResourceMetadata contains the user-provided fields for
|
|
120
|
+
* updating a workspace-scoped resource. Read-only fields (id, account_id,
|
|
121
|
+
* workspace_id, profile_id, created_at) are excluded since they are set by the
|
|
122
|
+
* server.
|
|
112
123
|
*/
|
|
113
124
|
metadata?: Shared.UpdateResourceMetadata;
|
|
125
|
+
/**
|
|
126
|
+
* Body param
|
|
127
|
+
*/
|
|
114
128
|
spec?: MemoryLayerSpec;
|
|
129
|
+
/**
|
|
130
|
+
* Body param
|
|
131
|
+
*/
|
|
115
132
|
updateMask?: string;
|
|
116
133
|
}
|
|
117
134
|
export interface MemoryLayerListParams extends CursorPaginationParams {
|
|
@@ -140,8 +157,14 @@ export interface MemoryLayerListParams extends CursorPaginationParams {
|
|
|
140
157
|
*/
|
|
141
158
|
type?: 'MEMORY_LAYER_TYPE_UNSPECIFIED' | 'MEMORY_LAYER_TYPE_EPISODIC' | 'MEMORY_LAYER_TYPE_SKILLS';
|
|
142
159
|
}
|
|
160
|
+
export interface MemoryLayerDeleteParams {
|
|
161
|
+
/**
|
|
162
|
+
* Workspace ID (from path).
|
|
163
|
+
*/
|
|
164
|
+
workspaceId: string;
|
|
165
|
+
}
|
|
143
166
|
export declare namespace MemoryLayers {
|
|
144
|
-
export { type MemoryLayer as MemoryLayer, type MemoryLayerInfo as MemoryLayerInfo, type MemoryLayerSpec as MemoryLayerSpec, type MemoryLayersCursorPagination as MemoryLayersCursorPagination, type MemoryLayerCreateParams as MemoryLayerCreateParams, type MemoryLayerUpdateParams as MemoryLayerUpdateParams, type MemoryLayerListParams as MemoryLayerListParams, };
|
|
167
|
+
export { type MemoryLayer as MemoryLayer, type MemoryLayerInfo as MemoryLayerInfo, type MemoryLayerSpec as MemoryLayerSpec, type MemoryLayersCursorPagination as MemoryLayersCursorPagination, type MemoryLayerCreateParams as MemoryLayerCreateParams, type MemoryLayerRetrieveParams as MemoryLayerRetrieveParams, type MemoryLayerUpdateParams as MemoryLayerUpdateParams, type MemoryLayerListParams as MemoryLayerListParams, type MemoryLayerDeleteParams as MemoryLayerDeleteParams, };
|
|
145
168
|
export { Entries as Entries, type MemoryEntry as MemoryEntry, type MemoryEntryCreateSpec as MemoryEntryCreateSpec, type MemoryEntryDetail as MemoryEntryDetail, type MemoryEntryInfo as MemoryEntryInfo, type MemoryEntrySpec as MemoryEntrySpec, type MemoryEntryUpdateSpec as MemoryEntryUpdateSpec, type MemoryEntriesCursorPagination as MemoryEntriesCursorPagination, type EntryCreateParams as EntryCreateParams, type EntryRetrieveParams as EntryRetrieveParams, type EntryUpdateParams as EntryUpdateParams, type EntryListParams as EntryListParams, type EntryDeleteParams as EntryDeleteParams, };
|
|
146
169
|
}
|
|
147
170
|
//# sourceMappingURL=memory-layers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-layers.d.mts","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EACL,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,6BAA6B,EAC7B,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,qBAAqB,EACtB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAE9D,EAAE,cAAc,EAAE;AAGzB;;;;;;;;;;;GAWG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;OAEG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"memory-layers.d.mts","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EACL,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,6BAA6B,EAC7B,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,qBAAqB,EACtB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,E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AAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -23,23 +23,23 @@ export declare class MemoryLayers extends APIResource {
|
|
|
23
23
|
/**
|
|
24
24
|
* Creates a new memory layer in the workspace
|
|
25
25
|
*/
|
|
26
|
-
create(body: MemoryLayerCreateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
26
|
+
create(workspaceID: string, body: MemoryLayerCreateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
27
27
|
/**
|
|
28
28
|
* Retrieves a memory layer by ID from the workspace
|
|
29
29
|
*/
|
|
30
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
30
|
+
retrieve(id: string, params: MemoryLayerRetrieveParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
31
31
|
/**
|
|
32
32
|
* Updates a memory layer in the workspace
|
|
33
33
|
*/
|
|
34
|
-
update(id: string,
|
|
34
|
+
update(id: string, params: MemoryLayerUpdateParams, options?: RequestOptions): APIPromise<MemoryLayer>;
|
|
35
35
|
/**
|
|
36
36
|
* Lists all memory layers in the workspace
|
|
37
37
|
*/
|
|
38
|
-
list(query?: MemoryLayerListParams | null | undefined, options?: RequestOptions): PagePromise<MemoryLayersCursorPagination, MemoryLayer>;
|
|
38
|
+
list(workspaceID: string, query?: MemoryLayerListParams | null | undefined, options?: RequestOptions): PagePromise<MemoryLayersCursorPagination, MemoryLayer>;
|
|
39
39
|
/**
|
|
40
40
|
* Deletes a memory layer from the workspace
|
|
41
41
|
*/
|
|
42
|
-
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
42
|
+
delete(id: string, params: MemoryLayerDeleteParams, options?: RequestOptions): APIPromise<void>;
|
|
43
43
|
}
|
|
44
44
|
export type MemoryLayersCursorPagination = CursorPagination<MemoryLayer>;
|
|
45
45
|
/**
|
|
@@ -104,14 +104,31 @@ export interface MemoryLayerCreateParams {
|
|
|
104
104
|
metadata: Shared.CreateResourceMetadata;
|
|
105
105
|
spec: MemoryLayerSpec;
|
|
106
106
|
}
|
|
107
|
+
export interface MemoryLayerRetrieveParams {
|
|
108
|
+
/**
|
|
109
|
+
* Workspace ID (from path).
|
|
110
|
+
*/
|
|
111
|
+
workspaceId: string;
|
|
112
|
+
}
|
|
107
113
|
export interface MemoryLayerUpdateParams {
|
|
108
114
|
/**
|
|
109
|
-
*
|
|
110
|
-
|
|
111
|
-
|
|
115
|
+
* Path param: Workspace ID (from path).
|
|
116
|
+
*/
|
|
117
|
+
workspaceId: string;
|
|
118
|
+
/**
|
|
119
|
+
* Body param: UpdateResourceMetadata contains the user-provided fields for
|
|
120
|
+
* updating a workspace-scoped resource. Read-only fields (id, account_id,
|
|
121
|
+
* workspace_id, profile_id, created_at) are excluded since they are set by the
|
|
122
|
+
* server.
|
|
112
123
|
*/
|
|
113
124
|
metadata?: Shared.UpdateResourceMetadata;
|
|
125
|
+
/**
|
|
126
|
+
* Body param
|
|
127
|
+
*/
|
|
114
128
|
spec?: MemoryLayerSpec;
|
|
129
|
+
/**
|
|
130
|
+
* Body param
|
|
131
|
+
*/
|
|
115
132
|
updateMask?: string;
|
|
116
133
|
}
|
|
117
134
|
export interface MemoryLayerListParams extends CursorPaginationParams {
|
|
@@ -140,8 +157,14 @@ export interface MemoryLayerListParams extends CursorPaginationParams {
|
|
|
140
157
|
*/
|
|
141
158
|
type?: 'MEMORY_LAYER_TYPE_UNSPECIFIED' | 'MEMORY_LAYER_TYPE_EPISODIC' | 'MEMORY_LAYER_TYPE_SKILLS';
|
|
142
159
|
}
|
|
160
|
+
export interface MemoryLayerDeleteParams {
|
|
161
|
+
/**
|
|
162
|
+
* Workspace ID (from path).
|
|
163
|
+
*/
|
|
164
|
+
workspaceId: string;
|
|
165
|
+
}
|
|
143
166
|
export declare namespace MemoryLayers {
|
|
144
|
-
export { type MemoryLayer as MemoryLayer, type MemoryLayerInfo as MemoryLayerInfo, type MemoryLayerSpec as MemoryLayerSpec, type MemoryLayersCursorPagination as MemoryLayersCursorPagination, type MemoryLayerCreateParams as MemoryLayerCreateParams, type MemoryLayerUpdateParams as MemoryLayerUpdateParams, type MemoryLayerListParams as MemoryLayerListParams, };
|
|
167
|
+
export { type MemoryLayer as MemoryLayer, type MemoryLayerInfo as MemoryLayerInfo, type MemoryLayerSpec as MemoryLayerSpec, type MemoryLayersCursorPagination as MemoryLayersCursorPagination, type MemoryLayerCreateParams as MemoryLayerCreateParams, type MemoryLayerRetrieveParams as MemoryLayerRetrieveParams, type MemoryLayerUpdateParams as MemoryLayerUpdateParams, type MemoryLayerListParams as MemoryLayerListParams, type MemoryLayerDeleteParams as MemoryLayerDeleteParams, };
|
|
145
168
|
export { Entries as Entries, type MemoryEntry as MemoryEntry, type MemoryEntryCreateSpec as MemoryEntryCreateSpec, type MemoryEntryDetail as MemoryEntryDetail, type MemoryEntryInfo as MemoryEntryInfo, type MemoryEntrySpec as MemoryEntrySpec, type MemoryEntryUpdateSpec as MemoryEntryUpdateSpec, type MemoryEntriesCursorPagination as MemoryEntriesCursorPagination, type EntryCreateParams as EntryCreateParams, type EntryRetrieveParams as EntryRetrieveParams, type EntryUpdateParams as EntryUpdateParams, type EntryListParams as EntryListParams, type EntryDeleteParams as EntryDeleteParams, };
|
|
146
169
|
}
|
|
147
170
|
//# sourceMappingURL=memory-layers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-layers.d.ts","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EACL,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,6BAA6B,EAC7B,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,qBAAqB,EACtB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAE9D,EAAE,cAAc,EAAE;AAGzB;;;;;;;;;;;GAWG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;OAEG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"memory-layers.d.ts","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EACL,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,6BAA6B,EAC7B,WAAW,EACX,q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0B,CAAC;CACpG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -29,32 +29,35 @@ class MemoryLayers extends resource_1.APIResource {
|
|
|
29
29
|
/**
|
|
30
30
|
* Creates a new memory layer in the workspace
|
|
31
31
|
*/
|
|
32
|
-
create(body, options) {
|
|
33
|
-
return this._client.post(
|
|
32
|
+
create(workspaceID, body, options) {
|
|
33
|
+
return this._client.post((0, path_1.path) `/v1/workspaces/${workspaceID}/memory_layers`, { body, ...options });
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Retrieves a memory layer by ID from the workspace
|
|
37
37
|
*/
|
|
38
|
-
retrieve(id, options) {
|
|
39
|
-
|
|
38
|
+
retrieve(id, params, options) {
|
|
39
|
+
const { workspaceId } = params;
|
|
40
|
+
return this._client.get((0, path_1.path) `/v1/workspaces/${workspaceId}/memory_layers/${id}`, options);
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
43
|
* Updates a memory layer in the workspace
|
|
43
44
|
*/
|
|
44
|
-
update(id,
|
|
45
|
-
|
|
45
|
+
update(id, params, options) {
|
|
46
|
+
const { workspaceId, ...body } = params;
|
|
47
|
+
return this._client.patch((0, path_1.path) `/v1/workspaces/${workspaceId}/memory_layers/${id}`, { body, ...options });
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
48
50
|
* Lists all memory layers in the workspace
|
|
49
51
|
*/
|
|
50
|
-
list(query = {}, options) {
|
|
51
|
-
return this._client.getAPIList(
|
|
52
|
+
list(workspaceID, query = {}, options) {
|
|
53
|
+
return this._client.getAPIList((0, path_1.path) `/v1/workspaces/${workspaceID}/memory_layers`, (pagination_1.CursorPagination), { query, ...options });
|
|
52
54
|
}
|
|
53
55
|
/**
|
|
54
56
|
* Deletes a memory layer from the workspace
|
|
55
57
|
*/
|
|
56
|
-
delete(id, options) {
|
|
57
|
-
|
|
58
|
+
delete(id, params, options) {
|
|
59
|
+
const { workspaceId } = params;
|
|
60
|
+
return this._client.delete((0, path_1.path) `/v1/workspaces/${workspaceId}/memory_layers/${id}`, {
|
|
58
61
|
...options,
|
|
59
62
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
60
63
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-layers.js","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAGlD,iEAAwC;AACxC,0CAcmB;AAEnB,yDAAmG;AACnG,uDAAsD;AAEtD,uDAAiD;AAEjD;;;;;;;;;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C,CAAC;IAC3G,CAAC;IAED;;OAEG;IACH,IAAI,CACF,WAAmB,EACnB,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,kBAAkB,WAAW,gBAAgB,EACjD,CAAA,6BAA6B,CAAA,EAC7B,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,MAA+B,EAAE,OAAwB;QAC1E,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,kBAAkB,WAAW,kBAAkB,EAAE,EAAE,EAAE;YAClF,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAvDD,oCAuDC;AAqJD,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -25,32 +25,35 @@ export class MemoryLayers extends APIResource {
|
|
|
25
25
|
/**
|
|
26
26
|
* Creates a new memory layer in the workspace
|
|
27
27
|
*/
|
|
28
|
-
create(body, options) {
|
|
29
|
-
return this._client.post(
|
|
28
|
+
create(workspaceID, body, options) {
|
|
29
|
+
return this._client.post(path `/v1/workspaces/${workspaceID}/memory_layers`, { body, ...options });
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Retrieves a memory layer by ID from the workspace
|
|
33
33
|
*/
|
|
34
|
-
retrieve(id, options) {
|
|
35
|
-
|
|
34
|
+
retrieve(id, params, options) {
|
|
35
|
+
const { workspaceId } = params;
|
|
36
|
+
return this._client.get(path `/v1/workspaces/${workspaceId}/memory_layers/${id}`, options);
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
38
39
|
* Updates a memory layer in the workspace
|
|
39
40
|
*/
|
|
40
|
-
update(id,
|
|
41
|
-
|
|
41
|
+
update(id, params, options) {
|
|
42
|
+
const { workspaceId, ...body } = params;
|
|
43
|
+
return this._client.patch(path `/v1/workspaces/${workspaceId}/memory_layers/${id}`, { body, ...options });
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* Lists all memory layers in the workspace
|
|
45
47
|
*/
|
|
46
|
-
list(query = {}, options) {
|
|
47
|
-
return this._client.getAPIList(
|
|
48
|
+
list(workspaceID, query = {}, options) {
|
|
49
|
+
return this._client.getAPIList(path `/v1/workspaces/${workspaceID}/memory_layers`, (CursorPagination), { query, ...options });
|
|
48
50
|
}
|
|
49
51
|
/**
|
|
50
52
|
* Deletes a memory layer from the workspace
|
|
51
53
|
*/
|
|
52
|
-
delete(id, options) {
|
|
53
|
-
|
|
54
|
+
delete(id, params, options) {
|
|
55
|
+
const { workspaceId } = params;
|
|
56
|
+
return this._client.delete(path `/v1/workspaces/${workspaceId}/memory_layers/${id}`, {
|
|
54
57
|
...options,
|
|
55
58
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
56
59
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-layers.mjs","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,UAAU;OACf,EACL,OAAO,GAaR;OAEM,EAAE,gBAAgB,EAA4C;OAC9D,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"memory-layers.mjs","sourceRoot":"","sources":["../../src/resources/memory-layers/memory-layers.ts"],"names":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ACjD,CAAA,gBAA6B,CAAA,EAC7B,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,MAA+B,EAAE,OAAwB;QAC1E,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,kBAAkB,WAAW,kBAAkB,EAAE,EAAE,EAAE;YAClF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAqJD,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
package/resources/models.d.mts
CHANGED
|
@@ -16,15 +16,15 @@ export declare class Models extends APIResource {
|
|
|
16
16
|
/**
|
|
17
17
|
* Retrieves a model by ID from the workspace
|
|
18
18
|
*/
|
|
19
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<Model>;
|
|
19
|
+
retrieve(id: string, params: ModelRetrieveParams, options?: RequestOptions): APIPromise<Model>;
|
|
20
20
|
/**
|
|
21
21
|
* Lists all models in the workspace
|
|
22
22
|
*/
|
|
23
|
-
list(query?: ModelListParams | null | undefined, options?: RequestOptions): PagePromise<ModelsCursorPagination, Model>;
|
|
23
|
+
list(workspaceID: string, query?: ModelListParams | null | undefined, options?: RequestOptions): PagePromise<ModelsCursorPagination, Model>;
|
|
24
24
|
/**
|
|
25
25
|
* Enables or disables a model in the workspace
|
|
26
26
|
*/
|
|
27
|
-
setStatus(id: string,
|
|
27
|
+
setStatus(id: string, params: ModelSetStatusParams, options?: RequestOptions): APIPromise<Model>;
|
|
28
28
|
}
|
|
29
29
|
export type ModelsCursorPagination = CursorPagination<Model>;
|
|
30
30
|
export interface Model {
|
|
@@ -67,6 +67,12 @@ export interface ModelSpec {
|
|
|
67
67
|
*/
|
|
68
68
|
status?: 'MODEL_STATUS_UNSPECIFIED' | 'MODEL_STATUS_ENABLED' | 'MODEL_STATUS_DISABLED';
|
|
69
69
|
}
|
|
70
|
+
export interface ModelRetrieveParams {
|
|
71
|
+
/**
|
|
72
|
+
* Workspace ID (from path).
|
|
73
|
+
*/
|
|
74
|
+
workspaceId: string;
|
|
75
|
+
}
|
|
70
76
|
export interface ModelListParams extends CursorPaginationParams {
|
|
71
77
|
/**
|
|
72
78
|
* Filter by bundle_key — return only resources owned by this bundle.
|
|
@@ -91,11 +97,15 @@ export interface ModelListParams extends CursorPaginationParams {
|
|
|
91
97
|
}
|
|
92
98
|
export interface ModelSetStatusParams {
|
|
93
99
|
/**
|
|
94
|
-
*
|
|
100
|
+
* Path param: Workspace ID (from path).
|
|
101
|
+
*/
|
|
102
|
+
workspaceId: string;
|
|
103
|
+
/**
|
|
104
|
+
* Body param: The new status for the model
|
|
95
105
|
*/
|
|
96
106
|
status?: 'MODEL_STATUS_UNSPECIFIED' | 'MODEL_STATUS_ENABLED' | 'MODEL_STATUS_DISABLED';
|
|
97
107
|
}
|
|
98
108
|
export declare namespace Models {
|
|
99
|
-
export { type Model as Model, type ModelSpec as ModelSpec, type ModelsCursorPagination as ModelsCursorPagination, type ModelListParams as ModelListParams, type ModelSetStatusParams as ModelSetStatusParams, };
|
|
109
|
+
export { type Model as Model, type ModelSpec as ModelSpec, type ModelsCursorPagination as ModelsCursorPagination, type ModelRetrieveParams as ModelRetrieveParams, type ModelListParams as ModelListParams, type ModelSetStatusParams as ModelSetStatusParams, };
|
|
100
110
|
}
|
|
101
111
|
//# sourceMappingURL=models.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.mts","sourceRoot":"","sources":["../src/resources/models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,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,MAAM,CAAC;IAEpC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,0BAA0B,GAAG,sBAAsB,GAAG,uBAAuB,CAAC;CACxF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAgB,SAAQ,sBAAsB;IAC7D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,0BAA0B,GAAG,sBAAsB,GAAG,uBAAuB,CAAC;CACxF;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,0BAA0B,GAAG,sBAAsB,GAAG,uBAAuB,CAAC;CACxF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/models.d.ts
CHANGED
|
@@ -16,15 +16,15 @@ export declare class Models extends APIResource {
|
|
|
16
16
|
/**
|
|
17
17
|
* Retrieves a model by ID from the workspace
|
|
18
18
|
*/
|
|
19
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<Model>;
|
|
19
|
+
retrieve(id: string, params: ModelRetrieveParams, options?: RequestOptions): APIPromise<Model>;
|
|
20
20
|
/**
|
|
21
21
|
* Lists all models in the workspace
|
|
22
22
|
*/
|
|
23
|
-
list(query?: ModelListParams | null | undefined, options?: RequestOptions): PagePromise<ModelsCursorPagination, Model>;
|
|
23
|
+
list(workspaceID: string, query?: ModelListParams | null | undefined, options?: RequestOptions): PagePromise<ModelsCursorPagination, Model>;
|
|
24
24
|
/**
|
|
25
25
|
* Enables or disables a model in the workspace
|
|
26
26
|
*/
|
|
27
|
-
setStatus(id: string,
|
|
27
|
+
setStatus(id: string, params: ModelSetStatusParams, options?: RequestOptions): APIPromise<Model>;
|
|
28
28
|
}
|
|
29
29
|
export type ModelsCursorPagination = CursorPagination<Model>;
|
|
30
30
|
export interface Model {
|
|
@@ -67,6 +67,12 @@ export interface ModelSpec {
|
|
|
67
67
|
*/
|
|
68
68
|
status?: 'MODEL_STATUS_UNSPECIFIED' | 'MODEL_STATUS_ENABLED' | 'MODEL_STATUS_DISABLED';
|
|
69
69
|
}
|
|
70
|
+
export interface ModelRetrieveParams {
|
|
71
|
+
/**
|
|
72
|
+
* Workspace ID (from path).
|
|
73
|
+
*/
|
|
74
|
+
workspaceId: string;
|
|
75
|
+
}
|
|
70
76
|
export interface ModelListParams extends CursorPaginationParams {
|
|
71
77
|
/**
|
|
72
78
|
* Filter by bundle_key — return only resources owned by this bundle.
|
|
@@ -91,11 +97,15 @@ export interface ModelListParams extends CursorPaginationParams {
|
|
|
91
97
|
}
|
|
92
98
|
export interface ModelSetStatusParams {
|
|
93
99
|
/**
|
|
94
|
-
*
|
|
100
|
+
* Path param: Workspace ID (from path).
|
|
101
|
+
*/
|
|
102
|
+
workspaceId: string;
|
|
103
|
+
/**
|
|
104
|
+
* Body param: The new status for the model
|
|
95
105
|
*/
|
|
96
106
|
status?: 'MODEL_STATUS_UNSPECIFIED' | 'MODEL_STATUS_ENABLED' | 'MODEL_STATUS_DISABLED';
|
|
97
107
|
}
|
|
98
108
|
export declare namespace Models {
|
|
99
|
-
export { type Model as Model, type ModelSpec as ModelSpec, type ModelsCursorPagination as ModelsCursorPagination, type ModelListParams as ModelListParams, type ModelSetStatusParams as ModelSetStatusParams, };
|
|
109
|
+
export { type Model as Model, type ModelSpec as ModelSpec, type ModelsCursorPagination as ModelsCursorPagination, type ModelRetrieveParams as ModelRetrieveParams, type ModelListParams as ModelListParams, type ModelSetStatusParams as ModelSetStatusParams, };
|
|
100
110
|
}
|
|
101
111
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/resources/models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAC9D,EAAE,cAAc,EAAE;AAGzB;;;;;;;;GAQG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/resources/models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAC9D,EAAE,cAAc,EAAE;AAGzB;;;;;;;;GAQG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;IAK9F;;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