@letta-ai/letta-client 1.0.0-alpha.15 → 1.0.0-alpha.16
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 +26 -0
- package/client.d.mts +20 -20
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -20
- 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 +163 -52
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +163 -52
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +0 -6
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +1 -7
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/folders.d.mts +52 -76
- package/resources/agents/folders.d.mts.map +1 -1
- package/resources/agents/folders.d.ts +52 -76
- package/resources/agents/folders.d.ts.map +1 -1
- package/resources/agents/folders.js +5 -1
- package/resources/agents/folders.js.map +1 -1
- package/resources/agents/folders.mjs +5 -1
- package/resources/agents/folders.mjs.map +1 -1
- package/resources/agents/index.d.mts +4 -4
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +4 -4
- 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/messages.d.mts +87 -18
- package/resources/agents/messages.d.mts.map +1 -1
- package/resources/agents/messages.d.ts +87 -18
- package/resources/agents/messages.d.ts.map +1 -1
- package/resources/agents/messages.js +5 -5
- package/resources/agents/messages.js.map +1 -1
- package/resources/agents/messages.mjs +5 -5
- package/resources/agents/messages.mjs.map +1 -1
- package/resources/agents/tools.d.mts +6 -27
- package/resources/agents/tools.d.mts.map +1 -1
- package/resources/agents/tools.d.ts +6 -27
- package/resources/agents/tools.d.ts.map +1 -1
- package/resources/agents/tools.js +5 -1
- package/resources/agents/tools.js.map +1 -1
- package/resources/agents/tools.mjs +5 -1
- package/resources/agents/tools.mjs.map +1 -1
- package/resources/archives.d.mts +9 -31
- package/resources/archives.d.mts.map +1 -1
- package/resources/archives.d.ts +9 -31
- package/resources/archives.d.ts.map +1 -1
- package/resources/archives.js +2 -1
- package/resources/archives.js.map +1 -1
- package/resources/archives.mjs +2 -1
- package/resources/archives.mjs.map +1 -1
- package/resources/batches/batches.d.mts +8 -30
- package/resources/batches/batches.d.mts.map +1 -1
- package/resources/batches/batches.d.ts +8 -30
- package/resources/batches/batches.d.ts.map +1 -1
- package/resources/batches/batches.js +2 -1
- package/resources/batches/batches.js.map +1 -1
- package/resources/batches/batches.mjs +2 -1
- package/resources/batches/batches.mjs.map +1 -1
- package/resources/batches/index.d.mts +2 -2
- package/resources/batches/index.d.mts.map +1 -1
- package/resources/batches/index.d.ts +2 -2
- package/resources/batches/index.d.ts.map +1 -1
- package/resources/batches/index.js.map +1 -1
- package/resources/batches/index.mjs.map +1 -1
- package/resources/batches/messages.d.mts +6 -30
- package/resources/batches/messages.d.mts.map +1 -1
- package/resources/batches/messages.d.ts +6 -30
- package/resources/batches/messages.d.ts.map +1 -1
- package/resources/batches/messages.js +2 -1
- package/resources/batches/messages.js.map +1 -1
- package/resources/batches/messages.mjs +2 -1
- package/resources/batches/messages.mjs.map +1 -1
- package/resources/blocks/blocks.d.mts +1 -6
- package/resources/blocks/blocks.d.mts.map +1 -1
- package/resources/blocks/blocks.d.ts +1 -6
- package/resources/blocks/blocks.d.ts.map +1 -1
- package/resources/blocks/blocks.js +0 -6
- package/resources/blocks/blocks.js.map +1 -1
- package/resources/blocks/blocks.mjs +0 -6
- package/resources/blocks/blocks.mjs.map +1 -1
- package/resources/blocks/index.d.mts +1 -1
- package/resources/blocks/index.d.mts.map +1 -1
- package/resources/blocks/index.d.ts +1 -1
- package/resources/blocks/index.d.ts.map +1 -1
- package/resources/blocks/index.js.map +1 -1
- package/resources/blocks/index.mjs.map +1 -1
- package/resources/folders/files.d.mts +73 -97
- package/resources/folders/files.d.mts.map +1 -1
- package/resources/folders/files.d.ts +73 -97
- package/resources/folders/files.d.ts.map +1 -1
- package/resources/folders/files.js +5 -1
- package/resources/folders/files.js.map +1 -1
- package/resources/folders/files.mjs +5 -1
- package/resources/folders/files.mjs.map +1 -1
- package/resources/folders/folders.d.mts +11 -38
- package/resources/folders/folders.d.mts.map +1 -1
- package/resources/folders/folders.d.ts +11 -38
- package/resources/folders/folders.d.ts.map +1 -1
- package/resources/folders/folders.js +2 -7
- package/resources/folders/folders.js.map +1 -1
- package/resources/folders/folders.mjs +2 -7
- package/resources/folders/folders.mjs.map +1 -1
- package/resources/folders/index.d.mts +2 -2
- package/resources/folders/index.d.mts.map +1 -1
- package/resources/folders/index.d.ts +2 -2
- package/resources/folders/index.d.ts.map +1 -1
- package/resources/folders/index.js.map +1 -1
- package/resources/folders/index.mjs.map +1 -1
- package/resources/groups/groups.d.mts +1 -6
- package/resources/groups/groups.d.mts.map +1 -1
- package/resources/groups/groups.d.ts +1 -6
- package/resources/groups/groups.d.ts.map +1 -1
- package/resources/groups/groups.js +0 -6
- package/resources/groups/groups.js.map +1 -1
- package/resources/groups/groups.mjs +0 -6
- package/resources/groups/groups.mjs.map +1 -1
- package/resources/groups/index.d.mts +1 -1
- package/resources/groups/index.d.mts.map +1 -1
- package/resources/groups/index.d.ts +1 -1
- package/resources/groups/index.d.ts.map +1 -1
- package/resources/groups/index.js.map +1 -1
- package/resources/groups/index.mjs.map +1 -1
- package/resources/groups/messages.d.mts +9 -3
- package/resources/groups/messages.d.mts.map +1 -1
- package/resources/groups/messages.d.ts +9 -3
- package/resources/groups/messages.d.ts.map +1 -1
- package/resources/identities/identities.d.mts +9 -36
- package/resources/identities/identities.d.mts.map +1 -1
- package/resources/identities/identities.d.ts +9 -36
- package/resources/identities/identities.d.ts.map +1 -1
- package/resources/identities/identities.js +2 -7
- package/resources/identities/identities.js.map +1 -1
- package/resources/identities/identities.mjs +2 -7
- package/resources/identities/identities.mjs.map +1 -1
- package/resources/identities/index.d.mts +1 -1
- package/resources/identities/index.d.mts.map +1 -1
- package/resources/identities/index.d.ts +1 -1
- package/resources/identities/index.d.ts.map +1 -1
- package/resources/identities/index.js.map +1 -1
- package/resources/identities/index.mjs.map +1 -1
- package/resources/index.d.mts +10 -10
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +10 -10
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mcp-servers/index.d.mts +2 -3
- package/resources/mcp-servers/index.d.mts.map +1 -1
- package/resources/mcp-servers/index.d.ts +2 -3
- package/resources/mcp-servers/index.d.ts.map +1 -1
- package/resources/mcp-servers/index.js +1 -3
- package/resources/mcp-servers/index.js.map +1 -1
- package/resources/mcp-servers/index.mjs +1 -2
- package/resources/mcp-servers/index.mjs.map +1 -1
- package/resources/mcp-servers/mcp-servers.d.mts +302 -378
- package/resources/mcp-servers/mcp-servers.d.mts.map +1 -1
- package/resources/mcp-servers/mcp-servers.d.ts +302 -378
- package/resources/mcp-servers/mcp-servers.d.ts.map +1 -1
- package/resources/mcp-servers/mcp-servers.js +17 -4
- package/resources/mcp-servers/mcp-servers.js.map +1 -1
- package/resources/mcp-servers/mcp-servers.mjs +17 -4
- package/resources/mcp-servers/mcp-servers.mjs.map +1 -1
- package/resources/mcp-servers/tools.d.mts +3 -41
- package/resources/mcp-servers/tools.d.mts.map +1 -1
- package/resources/mcp-servers/tools.d.ts +3 -41
- package/resources/mcp-servers/tools.d.ts.map +1 -1
- package/resources/mcp-servers/tools.js.map +1 -1
- package/resources/mcp-servers/tools.mjs.map +1 -1
- package/resources/models/embeddings.d.mts +71 -2
- package/resources/models/embeddings.d.mts.map +1 -1
- package/resources/models/embeddings.d.ts +71 -2
- package/resources/models/embeddings.d.ts.map +1 -1
- package/resources/models/embeddings.js +5 -1
- package/resources/models/embeddings.js.map +1 -1
- package/resources/models/embeddings.mjs +5 -1
- package/resources/models/embeddings.mjs.map +1 -1
- package/resources/models/models.d.mts +113 -2
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +113 -2
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +5 -1
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +5 -1
- package/resources/models/models.mjs.map +1 -1
- package/resources/runs/index.d.mts +1 -1
- package/resources/runs/index.d.mts.map +1 -1
- package/resources/runs/index.d.ts +1 -1
- package/resources/runs/index.d.ts.map +1 -1
- package/resources/runs/index.js.map +1 -1
- package/resources/runs/index.mjs.map +1 -1
- package/resources/runs/runs.d.mts +6 -27
- package/resources/runs/runs.d.mts.map +1 -1
- package/resources/runs/runs.d.ts +6 -27
- package/resources/runs/runs.d.ts.map +1 -1
- package/resources/runs/runs.js +2 -1
- package/resources/runs/runs.js.map +1 -1
- package/resources/runs/runs.mjs +2 -1
- package/resources/runs/runs.mjs.map +1 -1
- package/resources/tools.d.mts +6 -64
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +6 -64
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +2 -7
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +2 -7
- package/resources/tools.mjs.map +1 -1
- package/src/client.ts +37 -28
- package/src/resources/agents/agents.ts +181 -60
- package/src/resources/agents/folders.ts +60 -85
- package/src/resources/agents/index.ts +5 -2
- package/src/resources/agents/messages.ts +123 -18
- package/src/resources/agents/tools.ts +10 -34
- package/src/resources/archives.ts +12 -39
- package/src/resources/batches/batches.ts +10 -41
- package/src/resources/batches/index.ts +2 -2
- package/src/resources/batches/messages.ts +12 -37
- package/src/resources/blocks/blocks.ts +0 -10
- package/src/resources/blocks/index.ts +0 -1
- package/src/resources/folders/files.ts +88 -113
- package/src/resources/folders/folders.ts +14 -49
- package/src/resources/folders/index.ts +2 -2
- package/src/resources/groups/groups.ts +0 -10
- package/src/resources/groups/index.ts +0 -1
- package/src/resources/groups/messages.ts +10 -3
- package/src/resources/identities/identities.ts +12 -49
- package/src/resources/identities/index.ts +1 -2
- package/src/resources/index.ts +19 -14
- package/src/resources/mcp-servers/index.ts +14 -9
- package/src/resources/mcp-servers/mcp-servers.ts +313 -402
- package/src/resources/mcp-servers/tools.ts +6 -47
- package/src/resources/models/embeddings.ts +105 -2
- package/src/resources/models/models.ts +158 -2
- package/src/resources/runs/index.ts +1 -1
- package/src/resources/runs/runs.ts +11 -39
- package/src/resources/tools.ts +8 -88
- 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
- package/resources/mcp-servers/refresh.d.mts +0 -24
- package/resources/mcp-servers/refresh.d.mts.map +0 -1
- package/resources/mcp-servers/refresh.d.ts +0 -24
- package/resources/mcp-servers/refresh.d.ts.map +0 -1
- package/resources/mcp-servers/refresh.js +0 -27
- package/resources/mcp-servers/refresh.js.map +0 -1
- package/resources/mcp-servers/refresh.mjs +0 -23
- package/resources/mcp-servers/refresh.mjs.map +0 -1
- package/src/resources/mcp-servers/refresh.ts +0 -43
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../src/resources/groups/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,SAAS;OACd,KAAK,WAAW;OAChB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,UAAU,EAAE;OACd,EAAa,KAAK,eAAe,EAAE,WAAW,EAAE;OAChD,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2BAA2B,EAAE,WAAW,CAAC,iBAAiB,CAAC;IAQ1E;;OAEG;IACH,MAAM,CACJ,SAAS,EAA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GACvB,WAAW,CAAC,YAAY,GACxB,WAAW,CAAC,eAAe,GAC3B,WAAW,CAAC,iBAAiB,GAC7B,WAAW,CAAC,gBAAgB,GAC5B,WAAW,CAAC,wBAAwB,GACpC,WAAW,CAAC,uBAAuB,GACnC,iBAAiB,CAAC,0BAA0B,CAC/C,GACD,IAAI,CAAC;IAET;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,aAAa,GAAG,WAAW,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;IAE9E;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;OAEG;IACH,UAAiB,0BAA0B;QACzC;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,OAAO,EAAE,KAAK,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC;QAEnD;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,IAAI,CAAC,EAAE,sBAAsB,CAAC;KAC/B;IAED,UAAiB,0BAA0B,CAAC;QAC1C,UAAiB,OAAO;YACtB;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAEtC;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC
|
|
1
|
+
{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../src/resources/groups/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,SAAS;OACd,KAAK,WAAW;OAChB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,UAAU,EAAE;OACd,EAAa,KAAK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C;KAC/B;IAED,UAAiB,0BAA0B,CAAC;QAC1C,UAAiB,OAAO;YACtB;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH;AAED,OAAO,EAAE,KAAK,2BAA2B,EAAE,CAAC"}
|
|
@@ -211,7 +211,8 @@ export interface MessageStreamParams {
|
|
|
211
211
|
*/
|
|
212
212
|
assistant_message_tool_name?: string;
|
|
213
213
|
/**
|
|
214
|
-
* Whether to process the request in the background
|
|
214
|
+
* Whether to process the request in the background (only used when
|
|
215
|
+
* streaming=true).
|
|
215
216
|
*/
|
|
216
217
|
background?: boolean;
|
|
217
218
|
/**
|
|
@@ -221,7 +222,7 @@ export interface MessageStreamParams {
|
|
|
221
222
|
enable_thinking?: string;
|
|
222
223
|
/**
|
|
223
224
|
* Whether to include periodic keepalive ping messages in the stream to prevent
|
|
224
|
-
* connection timeouts.
|
|
225
|
+
* connection timeouts (only used when streaming=true).
|
|
225
226
|
*/
|
|
226
227
|
include_pings?: boolean;
|
|
227
228
|
/**
|
|
@@ -244,9 +245,14 @@ export interface MessageStreamParams {
|
|
|
244
245
|
messages?: Array<AgentsAPI.MessageCreate | MessagesAPI.ApprovalCreate> | null;
|
|
245
246
|
/**
|
|
246
247
|
* Flag to determine if individual tokens should be streamed, rather than streaming
|
|
247
|
-
* per step.
|
|
248
|
+
* per step (only used when streaming=true).
|
|
248
249
|
*/
|
|
249
250
|
stream_tokens?: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* If True, returns a streaming response (Server-Sent Events). If False (default),
|
|
253
|
+
* returns a complete response.
|
|
254
|
+
*/
|
|
255
|
+
streaming?: boolean;
|
|
250
256
|
/**
|
|
251
257
|
* @deprecated Whether the server should parse specific tool call arguments
|
|
252
258
|
* (default `send_message`) as `AssistantMessage` objects. Still supported for
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/resources/groups/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,SAAS;OACd,KAAK,WAAW;OAChB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,UAAU,EAAE;OACd,EAAa,KAAK,eAAe,EAAE,WAAW,EAAE;OAChD,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2BAA2B,EAAE,WAAW,CAAC,iBAAiB,CAAC;IAQ1E;;OAEG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAKpC;;OAEG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIrE;;;;OAIG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,iBAAiB,EACvB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC;IAIxC;;;;;OAKG;IACH,MAAM,CACJ,OAAO,EAAE,MAAM,E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EAAE,OAAO,CAAC;CACjC;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;OAEG;IACH,UAAiB,0BAA0B;QACzC;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,OAAO,EAAE,KAAK,CAAC,0BAA0B,CAAC,OAAO,CAAC,CAAC;QAEnD;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,IAAI,CAAC,EAAE,sBAAsB,CAAC;KAC/B;IAED,UAAiB,0BAA0B,CAAC;QAC1C,UAAiB,OAAO;YACtB;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAEtC;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/resources/groups/messages.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,SAAS;OACd,KAAK,WAAW;OAChB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,UAAU,EAAE;OACd,EAAa,KAAK,eAAe,EAAE,WAAW,EAAE;OAChD,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,2BAA2B,EAAE,WAAW,CAAC,iBAAiB,CAAC;IAQ1E;;OAEG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU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,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH;AAED,OAAO,EAAE,KAAK,2BAA2B,EAAE,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { BlockListParams, Blocks } from "./blocks.mjs";
|
|
|
6
6
|
import * as PropertiesAPI from "./properties.mjs";
|
|
7
7
|
import { Properties, PropertyUpsertParams, PropertyUpsertResponse } from "./properties.mjs";
|
|
8
8
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
9
|
+
import { ArrayPage, type ArrayPageParams, PagePromise } from "../../core/pagination.mjs";
|
|
9
10
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
10
11
|
export declare class Identities extends APIResource {
|
|
11
12
|
properties: PropertiesAPI.Properties;
|
|
@@ -22,15 +23,11 @@ export declare class Identities extends APIResource {
|
|
|
22
23
|
/**
|
|
23
24
|
* Get a list of all identities in the database
|
|
24
25
|
*/
|
|
25
|
-
list(query?: IdentityListParams | null | undefined, options?: RequestOptions):
|
|
26
|
+
list(query?: IdentityListParams | null | undefined, options?: RequestOptions): PagePromise<IdentitiesArrayPage, Identity>;
|
|
26
27
|
/**
|
|
27
28
|
* Delete an identity by its identifier key
|
|
28
29
|
*/
|
|
29
30
|
delete(identityID: string, options?: RequestOptions): APIPromise<unknown>;
|
|
30
|
-
/**
|
|
31
|
-
* Get count of all identities for a user
|
|
32
|
-
*/
|
|
33
|
-
count(options?: RequestOptions): APIPromise<IdentityCountResponse>;
|
|
34
31
|
/**
|
|
35
32
|
* Modify Identity
|
|
36
33
|
*/
|
|
@@ -40,7 +37,12 @@ export declare class Identities extends APIResource {
|
|
|
40
37
|
*/
|
|
41
38
|
upsert(body: IdentityUpsertParams, options?: RequestOptions): APIPromise<Identity>;
|
|
42
39
|
}
|
|
40
|
+
export type IdentitiesArrayPage = ArrayPage<Identity>;
|
|
43
41
|
export interface Identity {
|
|
42
|
+
/**
|
|
43
|
+
* The human-friendly ID of the Identity
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
44
46
|
/**
|
|
45
47
|
* @deprecated The IDs of the agents associated with the identity.
|
|
46
48
|
*/
|
|
@@ -61,10 +63,6 @@ export interface Identity {
|
|
|
61
63
|
* The name of the identity.
|
|
62
64
|
*/
|
|
63
65
|
name: string;
|
|
64
|
-
/**
|
|
65
|
-
* The human-friendly ID of the Identity
|
|
66
|
-
*/
|
|
67
|
-
id?: string;
|
|
68
66
|
/**
|
|
69
67
|
* The project id of the identity, if applicable.
|
|
70
68
|
*/
|
|
@@ -97,9 +95,7 @@ export interface IdentityProperty {
|
|
|
97
95
|
* Enum to represent the type of the identity.
|
|
98
96
|
*/
|
|
99
97
|
export type IdentityType = 'org' | 'user' | 'other';
|
|
100
|
-
export type IdentityListResponse = Array<Identity>;
|
|
101
98
|
export type IdentityDeleteResponse = unknown;
|
|
102
|
-
export type IdentityCountResponse = number;
|
|
103
99
|
export interface IdentityCreateParams {
|
|
104
100
|
/**
|
|
105
101
|
* External, user-generated identifier key of the identity.
|
|
@@ -130,36 +126,13 @@ export interface IdentityCreateParams {
|
|
|
130
126
|
*/
|
|
131
127
|
properties?: Array<IdentityProperty> | null;
|
|
132
128
|
}
|
|
133
|
-
export interface IdentityListParams {
|
|
134
|
-
/**
|
|
135
|
-
* Identity ID cursor for pagination. Returns identities that come after this
|
|
136
|
-
* identity ID in the specified sort order
|
|
137
|
-
*/
|
|
138
|
-
after?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Identity ID cursor for pagination. Returns identities that come before this
|
|
141
|
-
* identity ID in the specified sort order
|
|
142
|
-
*/
|
|
143
|
-
before?: string | null;
|
|
129
|
+
export interface IdentityListParams extends ArrayPageParams {
|
|
144
130
|
identifier_key?: string | null;
|
|
145
131
|
/**
|
|
146
132
|
* Enum to represent the type of the identity.
|
|
147
133
|
*/
|
|
148
134
|
identity_type?: IdentityType | null;
|
|
149
|
-
/**
|
|
150
|
-
* Maximum number of identities to return
|
|
151
|
-
*/
|
|
152
|
-
limit?: number | null;
|
|
153
135
|
name?: string | null;
|
|
154
|
-
/**
|
|
155
|
-
* Sort order for identities by creation time. 'asc' for oldest first, 'desc' for
|
|
156
|
-
* newest first
|
|
157
|
-
*/
|
|
158
|
-
order?: 'asc' | 'desc';
|
|
159
|
-
/**
|
|
160
|
-
* Field to sort by
|
|
161
|
-
*/
|
|
162
|
-
order_by?: 'created_at';
|
|
163
136
|
project_id?: string | null;
|
|
164
137
|
}
|
|
165
138
|
export interface IdentityModifyParams {
|
|
@@ -219,7 +192,7 @@ export interface IdentityUpsertParams {
|
|
|
219
192
|
properties?: Array<IdentityProperty> | null;
|
|
220
193
|
}
|
|
221
194
|
export declare namespace Identities {
|
|
222
|
-
export { type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type
|
|
195
|
+
export { type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type IdentityDeleteResponse as IdentityDeleteResponse, type IdentitiesArrayPage as IdentitiesArrayPage, type IdentityCreateParams as IdentityCreateParams, type IdentityListParams as IdentityListParams, type IdentityModifyParams as IdentityModifyParams, type IdentityUpsertParams as IdentityUpsertParams, };
|
|
223
196
|
export { Properties as Properties, type PropertyUpsertResponse as PropertyUpsertResponse, type PropertyUpsertParams as PropertyUpsertParams, };
|
|
224
197
|
export { Agents as Agents, type AgentListParams as AgentListParams };
|
|
225
198
|
export { Blocks as Blocks, type BlockListParams as BlockListParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identities.d.mts","sourceRoot":"","sources":["../../src/resources/identities/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,MAAM,EAAE;OAC3B,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,MAAM,EAAE;OAC3B,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE,oBAAoB,EAAE,sBAAsB,EAAE;OAC5D,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EA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EAAE,CAAC;IAErE,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACtE"}
|
|
@@ -6,6 +6,7 @@ import { BlockListParams, Blocks } from "./blocks.js";
|
|
|
6
6
|
import * as PropertiesAPI from "./properties.js";
|
|
7
7
|
import { Properties, PropertyUpsertParams, PropertyUpsertResponse } from "./properties.js";
|
|
8
8
|
import { APIPromise } from "../../core/api-promise.js";
|
|
9
|
+
import { ArrayPage, type ArrayPageParams, PagePromise } from "../../core/pagination.js";
|
|
9
10
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
10
11
|
export declare class Identities extends APIResource {
|
|
11
12
|
properties: PropertiesAPI.Properties;
|
|
@@ -22,15 +23,11 @@ export declare class Identities extends APIResource {
|
|
|
22
23
|
/**
|
|
23
24
|
* Get a list of all identities in the database
|
|
24
25
|
*/
|
|
25
|
-
list(query?: IdentityListParams | null | undefined, options?: RequestOptions):
|
|
26
|
+
list(query?: IdentityListParams | null | undefined, options?: RequestOptions): PagePromise<IdentitiesArrayPage, Identity>;
|
|
26
27
|
/**
|
|
27
28
|
* Delete an identity by its identifier key
|
|
28
29
|
*/
|
|
29
30
|
delete(identityID: string, options?: RequestOptions): APIPromise<unknown>;
|
|
30
|
-
/**
|
|
31
|
-
* Get count of all identities for a user
|
|
32
|
-
*/
|
|
33
|
-
count(options?: RequestOptions): APIPromise<IdentityCountResponse>;
|
|
34
31
|
/**
|
|
35
32
|
* Modify Identity
|
|
36
33
|
*/
|
|
@@ -40,7 +37,12 @@ export declare class Identities extends APIResource {
|
|
|
40
37
|
*/
|
|
41
38
|
upsert(body: IdentityUpsertParams, options?: RequestOptions): APIPromise<Identity>;
|
|
42
39
|
}
|
|
40
|
+
export type IdentitiesArrayPage = ArrayPage<Identity>;
|
|
43
41
|
export interface Identity {
|
|
42
|
+
/**
|
|
43
|
+
* The human-friendly ID of the Identity
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
44
46
|
/**
|
|
45
47
|
* @deprecated The IDs of the agents associated with the identity.
|
|
46
48
|
*/
|
|
@@ -61,10 +63,6 @@ export interface Identity {
|
|
|
61
63
|
* The name of the identity.
|
|
62
64
|
*/
|
|
63
65
|
name: string;
|
|
64
|
-
/**
|
|
65
|
-
* The human-friendly ID of the Identity
|
|
66
|
-
*/
|
|
67
|
-
id?: string;
|
|
68
66
|
/**
|
|
69
67
|
* The project id of the identity, if applicable.
|
|
70
68
|
*/
|
|
@@ -97,9 +95,7 @@ export interface IdentityProperty {
|
|
|
97
95
|
* Enum to represent the type of the identity.
|
|
98
96
|
*/
|
|
99
97
|
export type IdentityType = 'org' | 'user' | 'other';
|
|
100
|
-
export type IdentityListResponse = Array<Identity>;
|
|
101
98
|
export type IdentityDeleteResponse = unknown;
|
|
102
|
-
export type IdentityCountResponse = number;
|
|
103
99
|
export interface IdentityCreateParams {
|
|
104
100
|
/**
|
|
105
101
|
* External, user-generated identifier key of the identity.
|
|
@@ -130,36 +126,13 @@ export interface IdentityCreateParams {
|
|
|
130
126
|
*/
|
|
131
127
|
properties?: Array<IdentityProperty> | null;
|
|
132
128
|
}
|
|
133
|
-
export interface IdentityListParams {
|
|
134
|
-
/**
|
|
135
|
-
* Identity ID cursor for pagination. Returns identities that come after this
|
|
136
|
-
* identity ID in the specified sort order
|
|
137
|
-
*/
|
|
138
|
-
after?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Identity ID cursor for pagination. Returns identities that come before this
|
|
141
|
-
* identity ID in the specified sort order
|
|
142
|
-
*/
|
|
143
|
-
before?: string | null;
|
|
129
|
+
export interface IdentityListParams extends ArrayPageParams {
|
|
144
130
|
identifier_key?: string | null;
|
|
145
131
|
/**
|
|
146
132
|
* Enum to represent the type of the identity.
|
|
147
133
|
*/
|
|
148
134
|
identity_type?: IdentityType | null;
|
|
149
|
-
/**
|
|
150
|
-
* Maximum number of identities to return
|
|
151
|
-
*/
|
|
152
|
-
limit?: number | null;
|
|
153
135
|
name?: string | null;
|
|
154
|
-
/**
|
|
155
|
-
* Sort order for identities by creation time. 'asc' for oldest first, 'desc' for
|
|
156
|
-
* newest first
|
|
157
|
-
*/
|
|
158
|
-
order?: 'asc' | 'desc';
|
|
159
|
-
/**
|
|
160
|
-
* Field to sort by
|
|
161
|
-
*/
|
|
162
|
-
order_by?: 'created_at';
|
|
163
136
|
project_id?: string | null;
|
|
164
137
|
}
|
|
165
138
|
export interface IdentityModifyParams {
|
|
@@ -219,7 +192,7 @@ export interface IdentityUpsertParams {
|
|
|
219
192
|
properties?: Array<IdentityProperty> | null;
|
|
220
193
|
}
|
|
221
194
|
export declare namespace Identities {
|
|
222
|
-
export { type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type
|
|
195
|
+
export { type Identity as Identity, type IdentityProperty as IdentityProperty, type IdentityType as IdentityType, type IdentityDeleteResponse as IdentityDeleteResponse, type IdentitiesArrayPage as IdentitiesArrayPage, type IdentityCreateParams as IdentityCreateParams, type IdentityListParams as IdentityListParams, type IdentityModifyParams as IdentityModifyParams, type IdentityUpsertParams as IdentityUpsertParams, };
|
|
223
196
|
export { Properties as Properties, type PropertyUpsertResponse as PropertyUpsertResponse, type PropertyUpsertParams as PropertyUpsertParams, };
|
|
224
197
|
export { Agents as Agents, type AgentListParams as AgentListParams };
|
|
225
198
|
export { Blocks as Blocks, type BlockListParams as BlockListParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identities.d.ts","sourceRoot":"","sources":["../../src/resources/identities/identities.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,MAAM,EAAE;OAC3B,KAAK,SAAS;OACd,EAAE,eAAe,EAAE,MAAM,EAAE;OAC3B,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE,oBAAoB,EAAE,sBAAsB,EAAE;OAC5D,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,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EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACtE"}
|
|
@@ -10,6 +10,7 @@ const BlocksAPI = tslib_1.__importStar(require("./blocks.js"));
|
|
|
10
10
|
const blocks_1 = require("./blocks.js");
|
|
11
11
|
const PropertiesAPI = tslib_1.__importStar(require("./properties.js"));
|
|
12
12
|
const properties_1 = require("./properties.js");
|
|
13
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
13
14
|
const path_1 = require("../../internal/utils/path.js");
|
|
14
15
|
class Identities extends resource_1.APIResource {
|
|
15
16
|
constructor() {
|
|
@@ -34,7 +35,7 @@ class Identities extends resource_1.APIResource {
|
|
|
34
35
|
* Get a list of all identities in the database
|
|
35
36
|
*/
|
|
36
37
|
list(query = {}, options) {
|
|
37
|
-
return this._client.
|
|
38
|
+
return this._client.getAPIList('/v1/identities/', (pagination_1.ArrayPage), { query, ...options });
|
|
38
39
|
}
|
|
39
40
|
/**
|
|
40
41
|
* Delete an identity by its identifier key
|
|
@@ -42,12 +43,6 @@ class Identities extends resource_1.APIResource {
|
|
|
42
43
|
delete(identityID, options) {
|
|
43
44
|
return this._client.delete((0, path_1.path) `/v1/identities/${identityID}`, options);
|
|
44
45
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Get count of all identities for a user
|
|
47
|
-
*/
|
|
48
|
-
count(options) {
|
|
49
|
-
return this._client.get('/v1/identities/count', options);
|
|
50
|
-
}
|
|
51
46
|
/**
|
|
52
47
|
* Modify Identity
|
|
53
48
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identities.js","sourceRoot":"","sources":["../../src/resources/identities/identities.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAmD;AACnD,+DAAsC;AACtC,wCAAmD;AACnD,uEAA8C;AAC9C,gDAAwF;
|
|
1
|
+
{"version":3,"file":"identities.js","sourceRoot":"","sources":["../../src/resources/ident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AE,IAA0B,EAAE,OAAwB;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,kBAAkB,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAjDD,gCAiDC;AAgMD,UAAU,CAAC,UAAU,GAAG,uBAAU,CAAC;AACnC,UAAU,CAAC,MAAM,GAAG,eAAM,CAAC;AAC3B,UAAU,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -6,6 +6,7 @@ import * as BlocksAPI from "./blocks.mjs";
|
|
|
6
6
|
import { Blocks } from "./blocks.mjs";
|
|
7
7
|
import * as PropertiesAPI from "./properties.mjs";
|
|
8
8
|
import { Properties } from "./properties.mjs";
|
|
9
|
+
import { ArrayPage } from "../../core/pagination.mjs";
|
|
9
10
|
import { path } from "../../internal/utils/path.mjs";
|
|
10
11
|
export class Identities extends APIResource {
|
|
11
12
|
constructor() {
|
|
@@ -30,7 +31,7 @@ export class Identities extends APIResource {
|
|
|
30
31
|
* Get a list of all identities in the database
|
|
31
32
|
*/
|
|
32
33
|
list(query = {}, options) {
|
|
33
|
-
return this._client.
|
|
34
|
+
return this._client.getAPIList('/v1/identities/', (ArrayPage), { query, ...options });
|
|
34
35
|
}
|
|
35
36
|
/**
|
|
36
37
|
* Delete an identity by its identifier key
|
|
@@ -38,12 +39,6 @@ export class Identities extends APIResource {
|
|
|
38
39
|
delete(identityID, options) {
|
|
39
40
|
return this._client.delete(path `/v1/identities/${identityID}`, options);
|
|
40
41
|
}
|
|
41
|
-
/**
|
|
42
|
-
* Get count of all identities for a user
|
|
43
|
-
*/
|
|
44
|
-
count(options) {
|
|
45
|
-
return this._client.get('/v1/identities/count', options);
|
|
46
|
-
}
|
|
47
42
|
/**
|
|
48
43
|
* Modify Identity
|
|
49
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identities.mjs","sourceRoot":"","sources":["../../src/resources/identities/identities.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAmB,MAAM,EAAE;OAC3B,KAAK,SAAS;OACd,EAAmB,MAAM,EAAE;OAC3B,KAAK,aAAa;OAClB,EAAE,UAAU,EAAgD;
|
|
1
|
+
{"version":3,"file":"identities.mjs","sourceRoot":"","sources":["../../src/resources/identities/identities.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAmB,MAAM,EAAE;OAC3B,KAAK,SAAS;OACd,EAAmB,MAAM,EAAE;OAC3B,KAAK,aAAa;OAClB,EAAE,UAAU,EAAgD;OAE5D,EAAE,SAAS,EAAqC;OAEhD,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA8ChE,CAAC;IA5CC;;OAEG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,UAAkB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,SAAmB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,UAAkB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,kBAAkB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,UAAkB,EAAE,IAA0B,EAAE,OAAwB;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,kBAAkB,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;CACF;AAgMD,UAAU,CAAC,UAAU,GAAG,UAAU,CAAC;AACnC,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC;AAC3B,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Agents, type AgentListParams } from "./agents.mjs";
|
|
2
2
|
export { Blocks, type BlockListParams } from "./blocks.mjs";
|
|
3
|
-
export { Identities, type Identity, type IdentityProperty, type IdentityType, type
|
|
3
|
+
export { Identities, type Identity, type IdentityProperty, type IdentityType, type IdentityDeleteResponse, type IdentityCreateParams, type IdentityListParams, type IdentityModifyParams, type IdentityUpsertParams, type IdentitiesArrayPage, } from "./identities.mjs";
|
|
4
4
|
export { Properties, type PropertyUpsertResponse, type PropertyUpsertParams } from "./properties.mjs";
|
|
5
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/identities/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE;OAChC,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE;OAChC,EACL,UAAU,EACV,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/identities/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE;OAChC,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE;OAChC,EACL,UAAU,EACV,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACzB;OACM,EAAE,UAAU,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Agents, type AgentListParams } from "./agents.js";
|
|
2
2
|
export { Blocks, type BlockListParams } from "./blocks.js";
|
|
3
|
-
export { Identities, type Identity, type IdentityProperty, type IdentityType, type
|
|
3
|
+
export { Identities, type Identity, type IdentityProperty, type IdentityType, type IdentityDeleteResponse, type IdentityCreateParams, type IdentityListParams, type IdentityModifyParams, type IdentityUpsertParams, type IdentitiesArrayPage, } from "./identities.js";
|
|
4
4
|
export { Properties, type PropertyUpsertResponse, type PropertyUpsertParams } from "./properties.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/identities/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE;OAChC,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE;OAChC,EACL,UAAU,EACV,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/identities/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE;OAChC,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE;OAChC,EACL,UAAU,EACV,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACzB;OACM,EAAE,UAAU,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/identities/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAwD;AAA/C,gGAAA,MAAM,OAAA;AACf,sCAAwD;AAA/C,gGAAA,MAAM,OAAA;AACf,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/identities/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAwD;AAA/C,gGAAA,MAAM,OAAA;AACf,sCAAwD;AAA/C,gGAAA,MAAM,OAAA;AACf,8CAWsB;AAVpB,wGAAA,UAAU,OAAA;AAWZ,8CAAkG;AAAzF,wGAAA,UAAU,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/identities/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAwB;OAChC,EAAE,MAAM,EAAwB;OAChC,EACL,UAAU,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/identities/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAwB;OAChC,EAAE,MAAM,EAAwB;OAChC,EACL,UAAU,GAUX;OACM,EAAE,UAAU,EAA0D"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { Agents, type AgentEnvironmentVariable, type AgentState, type AgentType, type ChildToolRule, type ConditionalToolRule, type ContinueToolRule, type InitToolRule, type JsonObjectResponseFormat, type JsonSchemaResponseFormat, type LettaMessageContentUnion, type MaxCountPerStepToolRule, type MessageCreate, type ParentToolRule, type RequiredBeforeExitToolRule, type RequiresApprovalToolRule, type TerminalToolRule, type TextResponseFormat, type AgentDeleteResponse, type
|
|
2
|
-
export { Archives, type Archive, type VectorDBProvider, type
|
|
3
|
-
export { Batches, type BatchJob, type
|
|
4
|
-
export { Blocks, type BlockResponse, type CreateBlock, type BlockDeleteResponse, type
|
|
5
|
-
export { Folders, type Folder, type
|
|
6
|
-
export { Groups, type DynamicManager, type Group, type ManagerType, type RoundRobinManager, type SleeptimeManager, type SupervisorManager, type VoiceSleeptimeManager, type GroupDeleteResponse, type
|
|
7
|
-
export { Identities, type Identity, type IdentityProperty, type IdentityType, type
|
|
8
|
-
export { McpServers, type
|
|
1
|
+
export { Agents, type AgentEnvironmentVariable, type AgentState, type AgentType, type ChildToolRule, type ConditionalToolRule, type ContinueToolRule, type InitToolRule, type JsonObjectResponseFormat, type JsonSchemaResponseFormat, type LettaMessageContentUnion, type MaxCountPerStepToolRule, type MessageCreate, type ParentToolRule, type RequiredBeforeExitToolRule, type RequiresApprovalToolRule, type TerminalToolRule, type TextResponseFormat, type AgentDeleteResponse, type AgentExportFileResponse, type AgentImportFileResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentListParams, type AgentExportFileParams, type AgentImportFileParams, type AgentModifyParams, type AgentStatesArrayPage, } from "./agents/agents.mjs";
|
|
2
|
+
export { Archives, type Archive, type VectorDBProvider, type ArchiveCreateParams, type ArchiveListParams, type ArchiveModifyParams, type ArchivesArrayPage, } from "./archives.mjs";
|
|
3
|
+
export { Batches, type BatchJob, type BatchCancelResponse, type BatchCreateParams, type BatchListParams, type BatchJobsArrayPage, } from "./batches/batches.mjs";
|
|
4
|
+
export { Blocks, type BlockResponse, type CreateBlock, type BlockDeleteResponse, type BlockCreateParams, type BlockListParams, type BlockModifyParams, type BlockResponsesArrayPage, } from "./blocks/blocks.mjs";
|
|
5
|
+
export { Folders, type Folder, type FolderDeleteResponse, type FolderCreateParams, type FolderListParams, type FolderModifyParams, type FoldersArrayPage, } from "./folders/folders.mjs";
|
|
6
|
+
export { Groups, type DynamicManager, type Group, type ManagerType, type RoundRobinManager, type SleeptimeManager, type SupervisorManager, type VoiceSleeptimeManager, type GroupDeleteResponse, type GroupCreateParams, type GroupListParams, type GroupModifyParams, type GroupsArrayPage, } from "./groups/groups.mjs";
|
|
7
|
+
export { Identities, type Identity, type IdentityProperty, type IdentityType, type IdentityDeleteResponse, type IdentityCreateParams, type IdentityListParams, type IdentityModifyParams, type IdentityUpsertParams, type IdentitiesArrayPage, } from "./identities/identities.mjs";
|
|
8
|
+
export { McpServers, type CreateSseMcpServer, type CreateStdioMcpServer, type CreateStreamableHTTPMcpServer, type McpToolExecuteRequest, type SseMcpServer, type StdioMcpServer, type StreamableHTTPMcpServer, type ToolExecutionResult, type UpdateSseMcpServer, type UpdateStdioMcpServer, type UpdateStreamableHTTPMcpServer, type McpServerCreateResponse, type McpServerRetrieveResponse, type McpServerListResponse, type McpServerConnectResponse, type McpServerModifyResponse, type McpServerRefreshResponse, type McpServerCreateParams, type McpServerModifyParams, type McpServerRefreshParams, } from "./mcp-servers/mcp-servers.mjs";
|
|
9
9
|
export { Models, type EmbeddingConfig, type LlmConfig, type ProviderCategory, type ProviderType, type ModelListResponse, type ModelListParams, } from "./models/models.mjs";
|
|
10
|
-
export { Runs, type Job, type StopReasonType, type
|
|
10
|
+
export { Runs, type Job, type StopReasonType, type RunListParams } from "./runs/runs.mjs";
|
|
11
11
|
export { Steps, type ProviderTrace, type Step, type StepListParams, type StepsArrayPage, } from "./steps/steps.mjs";
|
|
12
12
|
export { Tags, type TagListResponse, type TagListParams } from "./tags.mjs";
|
|
13
13
|
export { Templates } from "./templates/templates.mjs";
|
|
14
|
-
export { Tools, type NpmRequirement, type PipRequirement, type Tool, type ToolCreate, type ToolReturnMessage, type ToolType, type
|
|
14
|
+
export { Tools, type NpmRequirement, type PipRequirement, type Tool, type ToolCreate, type ToolReturnMessage, type ToolType, type ToolDeleteResponse, type ToolUpsertBaseToolsResponse, type ToolCreateParams, type ToolListParams, type ToolModifyParams, type ToolUpsertParams, type ToolsArrayPage, } from "./tools.mjs";
|
|
15
15
|
export { type HealthResponse } from "./top-level.mjs";
|
|
16
16
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["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,EACnB,KAAK,cAAc,EACnB,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EAAE,KAAK,cAAc,EAAE"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { Agents, type AgentEnvironmentVariable, type AgentState, type AgentType, type ChildToolRule, type ConditionalToolRule, type ContinueToolRule, type InitToolRule, type JsonObjectResponseFormat, type JsonSchemaResponseFormat, type LettaMessageContentUnion, type MaxCountPerStepToolRule, type MessageCreate, type ParentToolRule, type RequiredBeforeExitToolRule, type RequiresApprovalToolRule, type TerminalToolRule, type TextResponseFormat, type AgentDeleteResponse, type
|
|
2
|
-
export { Archives, type Archive, type VectorDBProvider, type
|
|
3
|
-
export { Batches, type BatchJob, type
|
|
4
|
-
export { Blocks, type BlockResponse, type CreateBlock, type BlockDeleteResponse, type
|
|
5
|
-
export { Folders, type Folder, type
|
|
6
|
-
export { Groups, type DynamicManager, type Group, type ManagerType, type RoundRobinManager, type SleeptimeManager, type SupervisorManager, type VoiceSleeptimeManager, type GroupDeleteResponse, type
|
|
7
|
-
export { Identities, type Identity, type IdentityProperty, type IdentityType, type
|
|
8
|
-
export { McpServers, type
|
|
1
|
+
export { Agents, type AgentEnvironmentVariable, type AgentState, type AgentType, type ChildToolRule, type ConditionalToolRule, type ContinueToolRule, type InitToolRule, type JsonObjectResponseFormat, type JsonSchemaResponseFormat, type LettaMessageContentUnion, type MaxCountPerStepToolRule, type MessageCreate, type ParentToolRule, type RequiredBeforeExitToolRule, type RequiresApprovalToolRule, type TerminalToolRule, type TextResponseFormat, type AgentDeleteResponse, type AgentExportFileResponse, type AgentImportFileResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentListParams, type AgentExportFileParams, type AgentImportFileParams, type AgentModifyParams, type AgentStatesArrayPage, } from "./agents/agents.js";
|
|
2
|
+
export { Archives, type Archive, type VectorDBProvider, type ArchiveCreateParams, type ArchiveListParams, type ArchiveModifyParams, type ArchivesArrayPage, } from "./archives.js";
|
|
3
|
+
export { Batches, type BatchJob, type BatchCancelResponse, type BatchCreateParams, type BatchListParams, type BatchJobsArrayPage, } from "./batches/batches.js";
|
|
4
|
+
export { Blocks, type BlockResponse, type CreateBlock, type BlockDeleteResponse, type BlockCreateParams, type BlockListParams, type BlockModifyParams, type BlockResponsesArrayPage, } from "./blocks/blocks.js";
|
|
5
|
+
export { Folders, type Folder, type FolderDeleteResponse, type FolderCreateParams, type FolderListParams, type FolderModifyParams, type FoldersArrayPage, } from "./folders/folders.js";
|
|
6
|
+
export { Groups, type DynamicManager, type Group, type ManagerType, type RoundRobinManager, type SleeptimeManager, type SupervisorManager, type VoiceSleeptimeManager, type GroupDeleteResponse, type GroupCreateParams, type GroupListParams, type GroupModifyParams, type GroupsArrayPage, } from "./groups/groups.js";
|
|
7
|
+
export { Identities, type Identity, type IdentityProperty, type IdentityType, type IdentityDeleteResponse, type IdentityCreateParams, type IdentityListParams, type IdentityModifyParams, type IdentityUpsertParams, type IdentitiesArrayPage, } from "./identities/identities.js";
|
|
8
|
+
export { McpServers, type CreateSseMcpServer, type CreateStdioMcpServer, type CreateStreamableHTTPMcpServer, type McpToolExecuteRequest, type SseMcpServer, type StdioMcpServer, type StreamableHTTPMcpServer, type ToolExecutionResult, type UpdateSseMcpServer, type UpdateStdioMcpServer, type UpdateStreamableHTTPMcpServer, type McpServerCreateResponse, type McpServerRetrieveResponse, type McpServerListResponse, type McpServerConnectResponse, type McpServerModifyResponse, type McpServerRefreshResponse, type McpServerCreateParams, type McpServerModifyParams, type McpServerRefreshParams, } from "./mcp-servers/mcp-servers.js";
|
|
9
9
|
export { Models, type EmbeddingConfig, type LlmConfig, type ProviderCategory, type ProviderType, type ModelListResponse, type ModelListParams, } from "./models/models.js";
|
|
10
|
-
export { Runs, type Job, type StopReasonType, type
|
|
10
|
+
export { Runs, type Job, type StopReasonType, type RunListParams } from "./runs/runs.js";
|
|
11
11
|
export { Steps, type ProviderTrace, type Step, type StepListParams, type StepsArrayPage, } from "./steps/steps.js";
|
|
12
12
|
export { Tags, type TagListResponse, type TagListParams } from "./tags.js";
|
|
13
13
|
export { Templates } from "./templates/templates.js";
|
|
14
|
-
export { Tools, type NpmRequirement, type PipRequirement, type Tool, type ToolCreate, type ToolReturnMessage, type ToolType, type
|
|
14
|
+
export { Tools, type NpmRequirement, type PipRequirement, type Tool, type ToolCreate, type ToolReturnMessage, type ToolType, type ToolDeleteResponse, type ToolUpsertBaseToolsResponse, type ToolCreateParams, type ToolListParams, type ToolModifyParams, type ToolUpsertParams, type ToolsArrayPage, } from "./tools.js";
|
|
15
15
|
export { type HealthResponse } from "./top-level.js";
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7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AiB,EACtB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EAAE,KAAK,cAAc,EAAE"}
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CA6ByB;AA5BvB,gGAAA,MAAM,OAAA;AA6BR,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,gDAO2B;AANzB,kGAAA,OAAO,OAAA;AAOT,6CASyB;AARvB,gGAAA,MAAM,OAAA;AASR,gDAQ2B;AAPzB,kGAAA,OAAO,OAAA;AAQT,6CAcyB;AAbvB,gGAAA,MAAM,OAAA;AAcR,yDAWiC;AAV/B,wGAAA,UAAU,OAAA;AAWZ,4DAsBmC;AArBjC,yGAAA,UAAU,OAAA;AAsBZ,6CAQyB;AAPvB,gGAAA,MAAM,OAAA;AAQR,uCAAsF;AAA7E,4FAAA,IAAI,OAAA;AACb,0CAMuB;AALrB,8FAAA,KAAK,OAAA;AAMP,kCAAwE;AAA/D,4FAAA,IAAI,OAAA;AACb,sDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,oCAeiB;AAdf,8FAAA,KAAK,OAAA"}
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GA4BP;OACM,EACL,QAAQ,GAOT;OACM,EACL,OAAO,GAMR;OACM,EACL,MAAM,GAQP;OACM,EACL,OAAO,GAOR;OACM,EACL,MAAM,GAaP;OACM,EACL,UAAU,GAUX;OACM,EACL,UAAU,GAqBX;OACM,EACL,MAAM,GAOP;OACM,EAAE,IAAI,EAAqD;OAC3D,EACL,KAAK,GAKN;OACM,EAAE,IAAI,EAA4C;OAClD,EAAE,SAAS,EAAE;OACb,EACL,KAAK,GAcN"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { McpServers, type
|
|
2
|
-
export {
|
|
3
|
-
export { Tools, type ToolListResponse, type ToolRunResponse, type ToolRetrieveParams, type ToolRunParams, } from "./tools.mjs";
|
|
1
|
+
export { McpServers, type CreateSseMcpServer, type CreateStdioMcpServer, type CreateStreamableHTTPMcpServer, type McpToolExecuteRequest, type SseMcpServer, type StdioMcpServer, type StreamableHTTPMcpServer, type ToolExecutionResult, type UpdateSseMcpServer, type UpdateStdioMcpServer, type UpdateStreamableHTTPMcpServer, type McpServerCreateResponse, type McpServerRetrieveResponse, type McpServerListResponse, type McpServerConnectResponse, type McpServerModifyResponse, type McpServerRefreshResponse, type McpServerCreateParams, type McpServerModifyParams, type McpServerRefreshParams, } from "./mcp-servers.mjs";
|
|
2
|
+
export { Tools, type ToolListResponse, type ToolRetrieveParams, type ToolRunParams } from "./tools.mjs";
|
|
4
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/mcp-servers/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/mcp-servers/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,GAC5B;OACM,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,KAAK,aAAa,EAAE"}
|