telnyx 7.23.0 → 7.24.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 +7 -0
- package/client.d.mts +8 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -8
- 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/ai/ai.d.mts +6 -2
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +6 -2
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +4 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +4 -0
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +153 -11
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +153 -11
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/index.d.mts +1 -1
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +1 -1
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +2 -2
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +2 -2
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/collections/collections.d.mts +3 -3
- package/resources/ai/collections/collections.d.mts.map +1 -1
- package/resources/ai/collections/collections.d.ts +3 -3
- package/resources/ai/collections/collections.d.ts.map +1 -1
- package/resources/ai/collections/collections.js.map +1 -1
- package/resources/ai/collections/collections.mjs.map +1 -1
- package/resources/ai/collections/index.d.mts +1 -1
- package/resources/ai/collections/index.d.mts.map +1 -1
- package/resources/ai/collections/index.d.ts +1 -1
- package/resources/ai/collections/index.d.ts.map +1 -1
- package/resources/ai/collections/index.js.map +1 -1
- package/resources/ai/collections/index.mjs.map +1 -1
- package/resources/ai/collections/sources.d.mts +32 -5
- package/resources/ai/collections/sources.d.mts.map +1 -1
- package/resources/ai/collections/sources.d.ts +32 -5
- package/resources/ai/collections/sources.d.ts.map +1 -1
- package/resources/ai/collections/sources.js.map +1 -1
- package/resources/ai/collections/sources.mjs.map +1 -1
- package/resources/ai/index.d.mts +2 -1
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -1
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +9 -7
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/memory/index.d.mts +3 -0
- package/resources/ai/memory/index.d.mts.map +1 -0
- package/resources/ai/memory/index.d.ts +3 -0
- package/resources/ai/memory/index.d.ts.map +1 -0
- package/resources/ai/memory/index.js +9 -0
- package/resources/ai/memory/index.js.map +1 -0
- package/resources/ai/memory/index.mjs +4 -0
- package/resources/ai/memory/index.mjs.map +1 -0
- package/resources/ai/memory/memory.d.mts +10 -0
- package/resources/ai/memory/memory.d.mts.map +1 -0
- package/resources/ai/memory/memory.d.ts +10 -0
- package/resources/ai/memory/memory.d.ts.map +1 -0
- package/resources/ai/memory/memory.js +17 -0
- package/resources/ai/memory/memory.js.map +1 -0
- package/resources/ai/memory/memory.mjs +12 -0
- package/resources/ai/memory/memory.mjs.map +1 -0
- package/resources/ai/memory/namespaces/index.d.mts +4 -0
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/index.d.ts +4 -0
- package/resources/ai/memory/namespaces/index.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/index.js +11 -0
- package/resources/ai/memory/namespaces/index.js.map +1 -0
- package/resources/ai/memory/namespaces/index.mjs +5 -0
- package/resources/ai/memory/namespaces/index.mjs.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.d.mts +54 -0
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.d.ts +54 -0
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.js +43 -0
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.mjs +38 -0
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.d.mts +4 -0
- package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.d.ts +4 -0
- package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.js +11 -0
- package/resources/ai/memory/namespaces/profiles/index.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.mjs +5 -0
- package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.mts +118 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.ts +118 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.js +63 -0
- package/resources/ai/memory/namespaces/profiles/memories.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.mjs +59 -0
- package/resources/ai/memory/namespaces/profiles/memories.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts +324 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +324 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.js +161 -0
- package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.mjs +156 -0
- package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.mts +163 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.ts +163 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.js +80 -0
- package/resources/ai/memory/namespaces/profiles/sources.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.mjs +76 -0
- package/resources/ai/memory/namespaces/profiles/sources.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles.d.mts +2 -0
- package/resources/ai/memory/namespaces/profiles.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles.d.ts +2 -0
- package/resources/ai/memory/namespaces/profiles.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles.js +6 -0
- package/resources/ai/memory/namespaces/profiles.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles.mjs +3 -0
- package/resources/ai/memory/namespaces/profiles.mjs.map +1 -0
- package/resources/ai/memory/namespaces/settings.d.mts +108 -0
- package/resources/ai/memory/namespaces/settings.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/settings.d.ts +108 -0
- package/resources/ai/memory/namespaces/settings.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/settings.js +54 -0
- package/resources/ai/memory/namespaces/settings.js.map +1 -0
- package/resources/ai/memory/namespaces/settings.mjs +50 -0
- package/resources/ai/memory/namespaces/settings.mjs.map +1 -0
- package/resources/ai/memory/namespaces.d.mts +2 -0
- package/resources/ai/memory/namespaces.d.mts.map +1 -0
- package/resources/ai/memory/namespaces.d.ts +2 -0
- package/resources/ai/memory/namespaces.d.ts.map +1 -0
- package/resources/ai/memory/namespaces.js +6 -0
- package/resources/ai/memory/namespaces.js.map +1 -0
- package/resources/ai/memory/namespaces.mjs +3 -0
- package/resources/ai/memory/namespaces.mjs.map +1 -0
- package/resources/ai/memory.d.mts +2 -0
- package/resources/ai/memory.d.mts.map +1 -0
- package/resources/ai/memory.d.ts +2 -0
- package/resources/ai/memory.d.ts.map +1 -0
- package/resources/ai/memory.js +6 -0
- package/resources/ai/memory.js.map +1 -0
- package/resources/ai/memory.mjs +3 -0
- package/resources/ai/memory.mjs.map +1 -0
- package/resources/ai/typesafe/v1.d.mts +25 -14
- package/resources/ai/typesafe/v1.d.mts.map +1 -1
- package/resources/ai/typesafe/v1.d.ts +25 -14
- package/resources/ai/typesafe/v1.d.ts.map +1 -1
- package/resources/ai/typesafe/v1.js +15 -10
- package/resources/ai/typesafe/v1.js.map +1 -1
- package/resources/ai/typesafe/v1.mjs +15 -10
- package/resources/ai/typesafe/v1.mjs.map +1 -1
- package/resources/calls/actions.d.mts +43 -5
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +43 -5
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +10 -4
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +10 -4
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +7 -1
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +7 -1
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.d.mts +12 -4
- package/resources/email-blocks/email-blocks.d.mts.map +1 -1
- package/resources/email-blocks/email-blocks.d.ts +12 -4
- package/resources/email-blocks/email-blocks.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.js +5 -3
- package/resources/email-blocks/email-blocks.js.map +1 -1
- package/resources/email-blocks/email-blocks.mjs +5 -3
- package/resources/email-blocks/email-blocks.mjs.map +1 -1
- package/resources/email-blocks/imports.d.mts +20 -4
- package/resources/email-blocks/imports.d.mts.map +1 -1
- package/resources/email-blocks/imports.d.ts +20 -4
- package/resources/email-blocks/imports.d.ts.map +1 -1
- package/resources/email-blocks/imports.js +17 -3
- package/resources/email-blocks/imports.js.map +1 -1
- package/resources/email-blocks/imports.mjs +17 -3
- package/resources/email-blocks/imports.mjs.map +1 -1
- package/resources/email-domains/email-domains.d.mts +98 -1
- package/resources/email-domains/email-domains.d.mts.map +1 -1
- package/resources/email-domains/email-domains.d.ts +98 -1
- package/resources/email-domains/email-domains.d.ts.map +1 -1
- package/resources/email-domains/email-domains.js +21 -0
- package/resources/email-domains/email-domains.js.map +1 -1
- package/resources/email-domains/email-domains.mjs +21 -0
- package/resources/email-domains/email-domains.mjs.map +1 -1
- package/resources/email-domains/index.d.mts +1 -1
- package/resources/email-domains/index.d.mts.map +1 -1
- package/resources/email-domains/index.d.ts +1 -1
- package/resources/email-domains/index.d.ts.map +1 -1
- package/resources/email-domains/index.js.map +1 -1
- package/resources/email-domains/index.mjs.map +1 -1
- package/resources/email-domains/webhooks.d.mts +6 -4
- package/resources/email-domains/webhooks.d.mts.map +1 -1
- package/resources/email-domains/webhooks.d.ts +6 -4
- package/resources/email-domains/webhooks.d.ts.map +1 -1
- package/resources/email-events.d.mts +162 -28
- package/resources/email-events.d.mts.map +1 -1
- package/resources/email-events.d.ts +162 -28
- package/resources/email-events.d.ts.map +1 -1
- package/resources/email-events.js +15 -6
- package/resources/email-events.js.map +1 -1
- package/resources/email-events.mjs +15 -6
- package/resources/email-events.mjs.map +1 -1
- package/resources/email-inboxes/drafts.d.mts +31 -1
- package/resources/email-inboxes/drafts.d.mts.map +1 -1
- package/resources/email-inboxes/drafts.d.ts +31 -1
- package/resources/email-inboxes/drafts.d.ts.map +1 -1
- package/resources/email-inboxes/drafts.js.map +1 -1
- package/resources/email-inboxes/drafts.mjs.map +1 -1
- package/resources/email-messages/email-messages.d.mts +174 -43
- package/resources/email-messages/email-messages.d.mts.map +1 -1
- package/resources/email-messages/email-messages.d.ts +174 -43
- package/resources/email-messages/email-messages.d.ts.map +1 -1
- package/resources/email-messages/email-messages.js +39 -7
- package/resources/email-messages/email-messages.js.map +1 -1
- package/resources/email-messages/email-messages.mjs +39 -7
- package/resources/email-messages/email-messages.mjs.map +1 -1
- package/resources/email-messages/index.d.mts +1 -1
- package/resources/email-messages/index.d.mts.map +1 -1
- package/resources/email-messages/index.d.ts +1 -1
- package/resources/email-messages/index.d.ts.map +1 -1
- package/resources/email-messages/index.js.map +1 -1
- package/resources/email-messages/index.mjs.map +1 -1
- package/resources/email-messages/recipients.d.mts +2 -2
- package/resources/email-messages/recipients.d.mts.map +1 -1
- package/resources/email-messages/recipients.d.ts +2 -2
- package/resources/email-messages/recipients.d.ts.map +1 -1
- package/resources/email-templates.d.mts +170 -0
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +170 -0
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/email-templates.js +6 -0
- package/resources/email-templates.js.map +1 -1
- package/resources/email-templates.mjs +6 -0
- package/resources/email-templates.mjs.map +1 -1
- package/resources/index.d.mts +4 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/meeting-sessions/actions.d.mts +7 -1
- package/resources/meeting-sessions/actions.d.mts.map +1 -1
- package/resources/meeting-sessions/actions.d.ts +7 -1
- package/resources/meeting-sessions/actions.d.ts.map +1 -1
- package/resources/meeting-sessions/actions.js +7 -1
- package/resources/meeting-sessions/actions.js.map +1 -1
- package/resources/meeting-sessions/actions.mjs +7 -1
- package/resources/meeting-sessions/actions.mjs.map +1 -1
- package/resources/meeting-sessions/artifacts.d.mts +38 -11
- package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
- package/resources/meeting-sessions/artifacts.d.ts +38 -11
- package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
- package/resources/meeting-sessions/artifacts.js +11 -5
- package/resources/meeting-sessions/artifacts.js.map +1 -1
- package/resources/meeting-sessions/artifacts.mjs +11 -5
- package/resources/meeting-sessions/artifacts.mjs.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.mts +63 -23
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +63 -23
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +0 -2
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +0 -2
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +12 -2
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +12 -2
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/private-wireless-gateways.d.mts +61 -7
- package/resources/private-wireless-gateways.d.mts.map +1 -1
- package/resources/private-wireless-gateways.d.ts +61 -7
- package/resources/private-wireless-gateways.d.ts.map +1 -1
- package/resources/private-wireless-gateways.js +1 -1
- package/resources/private-wireless-gateways.js.map +1 -1
- package/resources/private-wireless-gateways.mjs +1 -1
- package/resources/private-wireless-gateways.mjs.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +9 -9
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +9 -9
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +12 -2
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +12 -2
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +61 -9
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +61 -9
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +10 -3
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +10 -3
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/webhooks.d.mts +14 -4
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +14 -4
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +12 -6
- package/src/resources/ai/ai.ts +8 -0
- package/src/resources/ai/assistants/assistants.ts +221 -11
- package/src/resources/ai/assistants/index.ts +1 -0
- package/src/resources/ai/assistants/versions.ts +2 -2
- package/src/resources/ai/collections/collections.ts +3 -1
- package/src/resources/ai/collections/index.ts +2 -0
- package/src/resources/ai/collections/sources.ts +38 -4
- package/src/resources/ai/index.ts +2 -0
- package/src/resources/ai/memory/index.ts +4 -0
- package/src/resources/ai/memory/memory.ts +19 -0
- package/src/resources/ai/memory/namespaces/index.ts +21 -0
- package/src/resources/ai/memory/namespaces/namespaces.ts +116 -0
- package/src/resources/ai/memory/namespaces/profiles/index.ts +35 -0
- package/src/resources/ai/memory/namespaces/profiles/memories.ts +170 -0
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +482 -0
- package/src/resources/ai/memory/namespaces/profiles/sources.ts +226 -0
- package/src/resources/ai/memory/namespaces/profiles.ts +3 -0
- package/src/resources/ai/memory/namespaces/settings.ts +129 -0
- package/src/resources/ai/memory/namespaces.ts +3 -0
- package/src/resources/ai/memory.ts +3 -0
- package/src/resources/ai/typesafe/v1.ts +26 -14
- package/src/resources/calls/actions.ts +50 -4
- package/src/resources/calls/calls.ts +12 -2
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/conferences/actions.ts +8 -1
- package/src/resources/email-blocks/email-blocks.ts +12 -4
- package/src/resources/email-blocks/imports.ts +20 -4
- package/src/resources/email-domains/email-domains.ts +120 -0
- package/src/resources/email-domains/index.ts +1 -0
- package/src/resources/email-domains/webhooks.ts +9 -4
- package/src/resources/email-events.ts +220 -35
- package/src/resources/email-inboxes/drafts.ts +32 -1
- package/src/resources/email-messages/email-messages.ts +191 -47
- package/src/resources/email-messages/index.ts +2 -1
- package/src/resources/email-messages/recipients.ts +6 -2
- package/src/resources/email-templates.ts +185 -0
- package/src/resources/index.ts +6 -3
- package/src/resources/meeting-sessions/actions.ts +7 -1
- package/src/resources/meeting-sessions/artifacts.ts +42 -11
- package/src/resources/meeting-sessions/meeting-sessions.ts +63 -24
- package/src/resources/phone-numbers/phone-numbers.ts +13 -2
- package/src/resources/private-wireless-gateways.ts +76 -8
- package/src/resources/texml/accounts/calls/calls.ts +20 -10
- package/src/resources/text-to-speech/text-to-speech.ts +69 -9
- package/src/resources/webhooks.ts +16 -4
- 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
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Profiles = void 0;
|
|
5
|
+
const tslib_1 = require("../../../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../../../core/resource.js");
|
|
7
|
+
const MemoriesAPI = tslib_1.__importStar(require("./memories.js"));
|
|
8
|
+
const memories_1 = require("./memories.js");
|
|
9
|
+
const SourcesAPI = tslib_1.__importStar(require("./sources.js"));
|
|
10
|
+
const sources_1 = require("./sources.js");
|
|
11
|
+
const pagination_1 = require("../../../../../core/pagination.js");
|
|
12
|
+
const path_1 = require("../../../../../internal/utils/path.js");
|
|
13
|
+
class Profiles extends resource_1.APIResource {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.memories = new MemoriesAPI.Memories(this._client);
|
|
17
|
+
this.sources = new SourcesAPI.Sources(this._client);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Profiles are never created, only written to, so this lists the ones that hold a
|
|
21
|
+
* memory. A profile whose first ingest is still running is not here yet. Ordered
|
|
22
|
+
* by memory count, largest first, so a profile written to while the listing is
|
|
23
|
+
* paged can move between pages and be repeated or missed.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* // Automatically fetches more pages as needed.
|
|
28
|
+
* for await (const profileListResponse of client.ai.memory.namespaces.profiles.list(
|
|
29
|
+
* 'namespace',
|
|
30
|
+
* )) {
|
|
31
|
+
* // ...
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
list(namespace, query = {}, options) {
|
|
36
|
+
return this._client.getAPIList((0, path_1.path) `/ai/memory/namespaces/${namespace}/profiles`, (pagination_1.DefaultFlatPagination), { query, ...options });
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Delete everything held about one profile. A 2xx means none of its memories are
|
|
40
|
+
* left, and its summary goes with them. There is no undo.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* const profile =
|
|
45
|
+
* await client.ai.memory.namespaces.profiles.delete(
|
|
46
|
+
* 'profile_id',
|
|
47
|
+
* { namespace: 'namespace' },
|
|
48
|
+
* );
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
delete(profileID, params, options) {
|
|
52
|
+
const { namespace } = params;
|
|
53
|
+
return this._client.delete((0, path_1.path) `/ai/memory/namespaces/${namespace}/profiles/${profileID}`, options);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Store a session. Facts are extracted from whatever you send — the body is taken
|
|
57
|
+
* as any JSON value and stored whole, so a framework's own transcript shape works
|
|
58
|
+
* unchanged. `messages` of `role`/`content` is the conventional shape, not a
|
|
59
|
+
* requirement. An empty object or a null body is refused. Carry a `session_id` to
|
|
60
|
+
* name the session: re-ingesting the same one replaces what it held. Omit it and a
|
|
61
|
+
* session is opened and returned. Extraction runs asynchronously — poll the
|
|
62
|
+
* returned operation.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* const response =
|
|
67
|
+
* await client.ai.memory.namespaces.profiles.ingest(
|
|
68
|
+
* 'profile_id',
|
|
69
|
+
* {
|
|
70
|
+
* namespace: 'namespace',
|
|
71
|
+
* body: { foo: 'bar' },
|
|
72
|
+
* },
|
|
73
|
+
* );
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
ingest(profileID, params, options) {
|
|
77
|
+
const { namespace, body, session_id } = params;
|
|
78
|
+
return this._client.post((0, path_1.path) `/ai/memory/namespaces/${namespace}/profiles/${profileID}/ingest`, {
|
|
79
|
+
query: { session_id },
|
|
80
|
+
body: body,
|
|
81
|
+
...options,
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Ranked memories for a question. Matching runs over the profile's memories and
|
|
86
|
+
* returns them in rank order with a relevance `score`; the score is null where the
|
|
87
|
+
* deployment's reranker is a passthrough, in which case order is the only signal.
|
|
88
|
+
* No model runs in this path — recall returns facts, it does not compose an
|
|
89
|
+
* answer.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```ts
|
|
93
|
+
* const response =
|
|
94
|
+
* await client.ai.memory.namespaces.profiles.recall(
|
|
95
|
+
* 'profile_id',
|
|
96
|
+
* {
|
|
97
|
+
* namespace: 'namespace',
|
|
98
|
+
* query: 'where do invoices go?',
|
|
99
|
+
* top_k: 5,
|
|
100
|
+
* },
|
|
101
|
+
* );
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
recall(profileID, params, options) {
|
|
105
|
+
const { namespace, ...body } = params;
|
|
106
|
+
return this._client.post((0, path_1.path) `/ai/memory/namespaces/${namespace}/profiles/${profileID}/recall`, {
|
|
107
|
+
body,
|
|
108
|
+
...options,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* For a fact the agent has already distilled: `text` is stored as given, with
|
|
113
|
+
* nothing extracted from it. Send a transcript to `ingest` instead. Remembering
|
|
114
|
+
* the same text again writes the same memory rather than a second copy of it, so a
|
|
115
|
+
* retry is safe. The write runs asynchronously -- poll the returned operation.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```ts
|
|
119
|
+
* const response =
|
|
120
|
+
* await client.ai.memory.namespaces.profiles.remember(
|
|
121
|
+
* 'profile_id',
|
|
122
|
+
* {
|
|
123
|
+
* namespace: 'namespace',
|
|
124
|
+
* text: 'Prefers window seats and flies out of ORD',
|
|
125
|
+
* },
|
|
126
|
+
* );
|
|
127
|
+
* ```
|
|
128
|
+
*/
|
|
129
|
+
remember(profileID, params, options) {
|
|
130
|
+
const { namespace, ...body } = params;
|
|
131
|
+
return this._client.post((0, path_1.path) `/ai/memory/namespaces/${namespace}/profiles/${profileID}/remember`, {
|
|
132
|
+
body,
|
|
133
|
+
...options,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The whole profile as one card, precomputed, with no query. Built for the start
|
|
138
|
+
* of a session, where there is no question to ask yet.
|
|
139
|
+
*
|
|
140
|
+
* A summary is generated in the background. `is_stale` tells you newer memories
|
|
141
|
+
* have arrived since it was written; that is ordinary and the card is still
|
|
142
|
+
* usable.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* ```ts
|
|
146
|
+
* const response =
|
|
147
|
+
* await client.ai.memory.namespaces.profiles.retrieveSummary(
|
|
148
|
+
* 'profile_id',
|
|
149
|
+
* { namespace: 'namespace' },
|
|
150
|
+
* );
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
153
|
+
retrieveSummary(profileID, params, options) {
|
|
154
|
+
const { namespace } = params;
|
|
155
|
+
return this._client.get((0, path_1.path) `/ai/memory/namespaces/${namespace}/profiles/${profileID}/summary`, options);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.Profiles = Profiles;
|
|
159
|
+
Profiles.Memories = memories_1.Memories;
|
|
160
|
+
Profiles.Sources = sources_1.Sources;
|
|
161
|
+
//# sourceMappingURL=profiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.js","sourceRoot":"","sources":["../../../../../src/resources/ai/memory/namespaces/profiles/profiles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,8DAA2D;AAC3D,mEAA0C;AAC1C,4CAOoB;AACpB,iEAAwC;AACxC,0CAOmB;AAEnB,kEAIwC;AAExC,gEAA0D;AAE1D,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6KrE,CAAC;IA3KC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,SAAiB,EACjB,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,yBAAyB,SAAS,WAAW,EACjD,CAAA,kCAA0C,CAAA,EAC1C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,SAAiB,EACjB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yBAAyB,SAAS,aAAa,SA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EAAA,yBAAyB,SAAS,aAAa,SAAS,UAAU,EAAE,OAAO,CAAC,CAAC;IAC3G,CAAC;CACF;AA/KD,4BA+KC;AA8OD,QAAQ,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC7B,QAAQ,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../../../core/resource.mjs";
|
|
3
|
+
import * as MemoriesAPI from "./memories.mjs";
|
|
4
|
+
import { Memories, } from "./memories.mjs";
|
|
5
|
+
import * as SourcesAPI from "./sources.mjs";
|
|
6
|
+
import { Sources, } from "./sources.mjs";
|
|
7
|
+
import { DefaultFlatPagination, } from "../../../../../core/pagination.mjs";
|
|
8
|
+
import { path } from "../../../../../internal/utils/path.mjs";
|
|
9
|
+
export class Profiles extends APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.memories = new MemoriesAPI.Memories(this._client);
|
|
13
|
+
this.sources = new SourcesAPI.Sources(this._client);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Profiles are never created, only written to, so this lists the ones that hold a
|
|
17
|
+
* memory. A profile whose first ingest is still running is not here yet. Ordered
|
|
18
|
+
* by memory count, largest first, so a profile written to while the listing is
|
|
19
|
+
* paged can move between pages and be repeated or missed.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* // Automatically fetches more pages as needed.
|
|
24
|
+
* for await (const profileListResponse of client.ai.memory.namespaces.profiles.list(
|
|
25
|
+
* 'namespace',
|
|
26
|
+
* )) {
|
|
27
|
+
* // ...
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
list(namespace, query = {}, options) {
|
|
32
|
+
return this._client.getAPIList(path `/ai/memory/namespaces/${namespace}/profiles`, (DefaultFlatPagination), { query, ...options });
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Delete everything held about one profile. A 2xx means none of its memories are
|
|
36
|
+
* left, and its summary goes with them. There is no undo.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const profile =
|
|
41
|
+
* await client.ai.memory.namespaces.profiles.delete(
|
|
42
|
+
* 'profile_id',
|
|
43
|
+
* { namespace: 'namespace' },
|
|
44
|
+
* );
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
delete(profileID, params, options) {
|
|
48
|
+
const { namespace } = params;
|
|
49
|
+
return this._client.delete(path `/ai/memory/namespaces/${namespace}/profiles/${profileID}`, options);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Store a session. Facts are extracted from whatever you send — the body is taken
|
|
53
|
+
* as any JSON value and stored whole, so a framework's own transcript shape works
|
|
54
|
+
* unchanged. `messages` of `role`/`content` is the conventional shape, not a
|
|
55
|
+
* requirement. An empty object or a null body is refused. Carry a `session_id` to
|
|
56
|
+
* name the session: re-ingesting the same one replaces what it held. Omit it and a
|
|
57
|
+
* session is opened and returned. Extraction runs asynchronously — poll the
|
|
58
|
+
* returned operation.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* const response =
|
|
63
|
+
* await client.ai.memory.namespaces.profiles.ingest(
|
|
64
|
+
* 'profile_id',
|
|
65
|
+
* {
|
|
66
|
+
* namespace: 'namespace',
|
|
67
|
+
* body: { foo: 'bar' },
|
|
68
|
+
* },
|
|
69
|
+
* );
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
ingest(profileID, params, options) {
|
|
73
|
+
const { namespace, body, session_id } = params;
|
|
74
|
+
return this._client.post(path `/ai/memory/namespaces/${namespace}/profiles/${profileID}/ingest`, {
|
|
75
|
+
query: { session_id },
|
|
76
|
+
body: body,
|
|
77
|
+
...options,
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Ranked memories for a question. Matching runs over the profile's memories and
|
|
82
|
+
* returns them in rank order with a relevance `score`; the score is null where the
|
|
83
|
+
* deployment's reranker is a passthrough, in which case order is the only signal.
|
|
84
|
+
* No model runs in this path — recall returns facts, it does not compose an
|
|
85
|
+
* answer.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```ts
|
|
89
|
+
* const response =
|
|
90
|
+
* await client.ai.memory.namespaces.profiles.recall(
|
|
91
|
+
* 'profile_id',
|
|
92
|
+
* {
|
|
93
|
+
* namespace: 'namespace',
|
|
94
|
+
* query: 'where do invoices go?',
|
|
95
|
+
* top_k: 5,
|
|
96
|
+
* },
|
|
97
|
+
* );
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
recall(profileID, params, options) {
|
|
101
|
+
const { namespace, ...body } = params;
|
|
102
|
+
return this._client.post(path `/ai/memory/namespaces/${namespace}/profiles/${profileID}/recall`, {
|
|
103
|
+
body,
|
|
104
|
+
...options,
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* For a fact the agent has already distilled: `text` is stored as given, with
|
|
109
|
+
* nothing extracted from it. Send a transcript to `ingest` instead. Remembering
|
|
110
|
+
* the same text again writes the same memory rather than a second copy of it, so a
|
|
111
|
+
* retry is safe. The write runs asynchronously -- poll the returned operation.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* ```ts
|
|
115
|
+
* const response =
|
|
116
|
+
* await client.ai.memory.namespaces.profiles.remember(
|
|
117
|
+
* 'profile_id',
|
|
118
|
+
* {
|
|
119
|
+
* namespace: 'namespace',
|
|
120
|
+
* text: 'Prefers window seats and flies out of ORD',
|
|
121
|
+
* },
|
|
122
|
+
* );
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
remember(profileID, params, options) {
|
|
126
|
+
const { namespace, ...body } = params;
|
|
127
|
+
return this._client.post(path `/ai/memory/namespaces/${namespace}/profiles/${profileID}/remember`, {
|
|
128
|
+
body,
|
|
129
|
+
...options,
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* The whole profile as one card, precomputed, with no query. Built for the start
|
|
134
|
+
* of a session, where there is no question to ask yet.
|
|
135
|
+
*
|
|
136
|
+
* A summary is generated in the background. `is_stale` tells you newer memories
|
|
137
|
+
* have arrived since it was written; that is ordinary and the card is still
|
|
138
|
+
* usable.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* ```ts
|
|
142
|
+
* const response =
|
|
143
|
+
* await client.ai.memory.namespaces.profiles.retrieveSummary(
|
|
144
|
+
* 'profile_id',
|
|
145
|
+
* { namespace: 'namespace' },
|
|
146
|
+
* );
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
retrieveSummary(profileID, params, options) {
|
|
150
|
+
const { namespace } = params;
|
|
151
|
+
return this._client.get(path `/ai/memory/namespaces/${namespace}/profiles/${profileID}/summary`, options);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
Profiles.Memories = Memories;
|
|
155
|
+
Profiles.Sources = Sources;
|
|
156
|
+
//# sourceMappingURL=profiles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profiles.mjs","sourceRoot":"","sources":["../../../../../src/resources/ai/memory/namespaces/profiles/profiles.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,yCAAqC;AAC3D,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,QAAQ,GAMT,uBAAmB;AACpB,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAML,OAAO,GACR,sBAAkB;AAEnB,OAAO,EACL,qBAAqB,GAGtB,2CAAuC;AAExC,OAAO,EAAE,IAAI,EAAE,+CAA2C;AAE1D,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,aAAQ,GAAyB,IAAI,WAAW,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A,yBAAyB,SAAS,aAAa,SAAS,SAAS,EAAE;YAC9F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CACN,SAAiB,EACjB,MAA6B,EAC7B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,yBAAyB,SAAS,aAAa,SAAS,WAAW,EAAE;YAChG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,eAAe,CACb,SAAiB,EACjB,MAAoC,EACpC,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,SAAS,aAAa,SAAS,UAAU,EAAE,OAAO,CAAC,CAAC;IAC3G,CAAC;CACF;AA8OD,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC7B,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { APIResource } from "../../../../../core/resource.mjs";
|
|
2
|
+
import * as SourcesAPI from "../../../collections/sources.mjs";
|
|
3
|
+
import { SourcesDefaultFlatPagination } from "../../../collections/sources.mjs";
|
|
4
|
+
import { APIPromise } from "../../../../../core/api-promise.mjs";
|
|
5
|
+
import { type DefaultFlatPaginationParams, PagePromise } from "../../../../../core/pagination.mjs";
|
|
6
|
+
import { RequestOptions } from "../../../../../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* What a profile stored, and what its memories came from.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Sources extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Everything a profile has stored and extracts memories from: each ingested
|
|
13
|
+
* session, and each remembered fact, which has no session. Content is not listed;
|
|
14
|
+
* read one source for it. A source whose ingest is still queued is not here yet.
|
|
15
|
+
* Re-ingesting a session moves it to the front, so a listing paged while sessions
|
|
16
|
+
* are written can repeat or miss one at a page boundary. A `session_id` narrows
|
|
17
|
+
* the listing to the source that session was stored as: one source or none, and
|
|
18
|
+
* none -- an empty page, not a 404 -- for a session never ingested, still queued,
|
|
19
|
+
* or another profile's.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* // Automatically fetches more pages as needed.
|
|
24
|
+
* for await (const source of client.ai.memory.namespaces.profiles.sources.list(
|
|
25
|
+
* 'profile_id',
|
|
26
|
+
* { namespace: 'namespace' },
|
|
27
|
+
* )) {
|
|
28
|
+
* // ...
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
list(profileID: string, params: SourceListParams, options?: RequestOptions): PagePromise<SourcesDefaultFlatPagination, SourcesAPI.Source>;
|
|
33
|
+
/**
|
|
34
|
+
* Deletes one source -- an ingested session or a remembered fact -- together with
|
|
35
|
+
* the memories derived from it. A memory derived from this source and others is
|
|
36
|
+
* deleted too, and derived again from what remains in the background. It answers
|
|
37
|
+
* only once the source is gone. A source that is not there -- never stored,
|
|
38
|
+
* another profile's, or already deleted -- answers 404, so on a `502` or a `504`
|
|
39
|
+
* repeat the identical request and read a 404 as done. An ingest of the same
|
|
40
|
+
* session that is still queued is not cancelled, and stores the session again when
|
|
41
|
+
* it runs. Nothing here can be undone.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const source =
|
|
46
|
+
* await client.ai.memory.namespaces.profiles.sources.delete(
|
|
47
|
+
* 'source_id',
|
|
48
|
+
* { namespace: 'namespace', profile_id: 'profile_id' },
|
|
49
|
+
* );
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
delete(sourceID: string, params: SourceDeleteParams, options?: RequestOptions): APIPromise<SourceDeleteResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* One source and its content, as it was stored: an ingested session's payload or a
|
|
55
|
+
* remembered fact. A source whose ingest is still queued answers 404 until it has
|
|
56
|
+
* been stored.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const source =
|
|
61
|
+
* await client.ai.memory.namespaces.profiles.sources.retrieve(
|
|
62
|
+
* 'source_id',
|
|
63
|
+
* { namespace: 'namespace', profile_id: 'profile_id' },
|
|
64
|
+
* );
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
retrieve(sourceID: string, params: SourceRetrieveParams, options?: RequestOptions): APIPromise<SourceRetrieveResponse>;
|
|
68
|
+
}
|
|
69
|
+
export interface SourceRetrieveResponse {
|
|
70
|
+
data: SourceRetrieveResponse.Data;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace SourceRetrieveResponse {
|
|
73
|
+
interface Data {
|
|
74
|
+
/**
|
|
75
|
+
* Identifies one source within its profile: an ingested session, or one remembered
|
|
76
|
+
* fact. Returned by `ingest` and `remember` when the write is accepted.
|
|
77
|
+
* Re-ingesting a session keeps its source id.
|
|
78
|
+
*/
|
|
79
|
+
id: string;
|
|
80
|
+
/**
|
|
81
|
+
* What was stored, in the shape it was sent: an ingested JSON body as JSON, a
|
|
82
|
+
* string body or a remembered fact as a string. A session ingested before formats
|
|
83
|
+
* were recorded is returned as the text it was stored as.
|
|
84
|
+
*/
|
|
85
|
+
content: {
|
|
86
|
+
[key: string]: unknown;
|
|
87
|
+
} | Array<unknown> | string | number | boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Memories extracted from this source. A memory derived from several sources is
|
|
90
|
+
* not counted here.
|
|
91
|
+
*/
|
|
92
|
+
memory_count: number;
|
|
93
|
+
/**
|
|
94
|
+
* The session this source was ingested as. Null for a remembered fact.
|
|
95
|
+
*/
|
|
96
|
+
session_id: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* When the source was first stored.
|
|
99
|
+
*/
|
|
100
|
+
created_at?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* When the source was last written; re-ingesting moves it.
|
|
103
|
+
*/
|
|
104
|
+
updated_at?: string | null;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export interface SourceDeleteResponse {
|
|
108
|
+
data: SourceDeleteResponse.Data;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace SourceDeleteResponse {
|
|
111
|
+
interface Data {
|
|
112
|
+
/**
|
|
113
|
+
* Memories the profile held and no longer does, counted before and after across
|
|
114
|
+
* the whole profile: it includes memories derived from this source together with
|
|
115
|
+
* others, and anything else the profile lost in between. A report rather than an
|
|
116
|
+
* audit. The status carries the outcome.
|
|
117
|
+
*/
|
|
118
|
+
memories_deleted: number;
|
|
119
|
+
profile_id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Identifies one source within its profile: an ingested session, or one remembered
|
|
122
|
+
* fact. Returned by `ingest` and `remember` when the write is accepted.
|
|
123
|
+
* Re-ingesting a session keeps its source id.
|
|
124
|
+
*/
|
|
125
|
+
source_id: string;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export interface SourceListParams extends DefaultFlatPaginationParams {
|
|
129
|
+
/**
|
|
130
|
+
* Path param
|
|
131
|
+
*/
|
|
132
|
+
namespace: string;
|
|
133
|
+
/**
|
|
134
|
+
* Query param: An ingested session, by the `session_id` it was ingested with.
|
|
135
|
+
* Narrows the request to the source that session was stored as.
|
|
136
|
+
*/
|
|
137
|
+
session_id?: string | null;
|
|
138
|
+
}
|
|
139
|
+
export interface SourceDeleteParams {
|
|
140
|
+
/**
|
|
141
|
+
* The namespace. `default` exists for every organization.
|
|
142
|
+
*/
|
|
143
|
+
namespace: string;
|
|
144
|
+
/**
|
|
145
|
+
* The profile: your identifier for the user, caller or agent this memory is about.
|
|
146
|
+
*/
|
|
147
|
+
profile_id: string;
|
|
148
|
+
}
|
|
149
|
+
export interface SourceRetrieveParams {
|
|
150
|
+
/**
|
|
151
|
+
* The namespace. `default` exists for every organization.
|
|
152
|
+
*/
|
|
153
|
+
namespace: string;
|
|
154
|
+
/**
|
|
155
|
+
* The profile: your identifier for the user, caller or agent this memory is about.
|
|
156
|
+
*/
|
|
157
|
+
profile_id: string;
|
|
158
|
+
}
|
|
159
|
+
export declare namespace Sources {
|
|
160
|
+
export { type SourceRetrieveResponse as SourceRetrieveResponse, type SourceDeleteResponse as SourceDeleteResponse, type SourceListParams as SourceListParams, type SourceDeleteParams as SourceDeleteParams, type SourceRetrieveParams as SourceRetrieveParams, };
|
|
161
|
+
}
|
|
162
|
+
export { type SourcesDefaultFlatPagination };
|
|
163
|
+
//# sourceMappingURL=sources.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.d.mts","sourceRoot":"","sources":["../../../../../src/resources/ai/memory/namespaces/profiles/sources.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,yCAAqC;AAC3D,OAAO,KAAK,UAAU,yCAAqC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,yCAAqC;AAC5E,OAAO,EAAE,UAAU,EAAE,4CAAwC;AAC7D,OAAO,EAEL,KAAK,2BAA2B,EAChC,WAAW,EACZ,2CAAuC;AACxC,OAAO,EAAE,cAAc,EAAE,oDAAgD;AAGzE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4BAA4B,EAAE,UAAU,CAAC,MAAM,CAAC;IAS/D;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAQnC;;;;;;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;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH;AAED,OAAO,EAAE,KAAK,4BAA4B,EAAE,CAAC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { APIResource } from "../../../../../core/resource.js";
|
|
2
|
+
import * as SourcesAPI from "../../../collections/sources.js";
|
|
3
|
+
import { SourcesDefaultFlatPagination } from "../../../collections/sources.js";
|
|
4
|
+
import { APIPromise } from "../../../../../core/api-promise.js";
|
|
5
|
+
import { type DefaultFlatPaginationParams, PagePromise } from "../../../../../core/pagination.js";
|
|
6
|
+
import { RequestOptions } from "../../../../../internal/request-options.js";
|
|
7
|
+
/**
|
|
8
|
+
* What a profile stored, and what its memories came from.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Sources extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Everything a profile has stored and extracts memories from: each ingested
|
|
13
|
+
* session, and each remembered fact, which has no session. Content is not listed;
|
|
14
|
+
* read one source for it. A source whose ingest is still queued is not here yet.
|
|
15
|
+
* Re-ingesting a session moves it to the front, so a listing paged while sessions
|
|
16
|
+
* are written can repeat or miss one at a page boundary. A `session_id` narrows
|
|
17
|
+
* the listing to the source that session was stored as: one source or none, and
|
|
18
|
+
* none -- an empty page, not a 404 -- for a session never ingested, still queued,
|
|
19
|
+
* or another profile's.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* // Automatically fetches more pages as needed.
|
|
24
|
+
* for await (const source of client.ai.memory.namespaces.profiles.sources.list(
|
|
25
|
+
* 'profile_id',
|
|
26
|
+
* { namespace: 'namespace' },
|
|
27
|
+
* )) {
|
|
28
|
+
* // ...
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
list(profileID: string, params: SourceListParams, options?: RequestOptions): PagePromise<SourcesDefaultFlatPagination, SourcesAPI.Source>;
|
|
33
|
+
/**
|
|
34
|
+
* Deletes one source -- an ingested session or a remembered fact -- together with
|
|
35
|
+
* the memories derived from it. A memory derived from this source and others is
|
|
36
|
+
* deleted too, and derived again from what remains in the background. It answers
|
|
37
|
+
* only once the source is gone. A source that is not there -- never stored,
|
|
38
|
+
* another profile's, or already deleted -- answers 404, so on a `502` or a `504`
|
|
39
|
+
* repeat the identical request and read a 404 as done. An ingest of the same
|
|
40
|
+
* session that is still queued is not cancelled, and stores the session again when
|
|
41
|
+
* it runs. Nothing here can be undone.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const source =
|
|
46
|
+
* await client.ai.memory.namespaces.profiles.sources.delete(
|
|
47
|
+
* 'source_id',
|
|
48
|
+
* { namespace: 'namespace', profile_id: 'profile_id' },
|
|
49
|
+
* );
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
delete(sourceID: string, params: SourceDeleteParams, options?: RequestOptions): APIPromise<SourceDeleteResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* One source and its content, as it was stored: an ingested session's payload or a
|
|
55
|
+
* remembered fact. A source whose ingest is still queued answers 404 until it has
|
|
56
|
+
* been stored.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const source =
|
|
61
|
+
* await client.ai.memory.namespaces.profiles.sources.retrieve(
|
|
62
|
+
* 'source_id',
|
|
63
|
+
* { namespace: 'namespace', profile_id: 'profile_id' },
|
|
64
|
+
* );
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
retrieve(sourceID: string, params: SourceRetrieveParams, options?: RequestOptions): APIPromise<SourceRetrieveResponse>;
|
|
68
|
+
}
|
|
69
|
+
export interface SourceRetrieveResponse {
|
|
70
|
+
data: SourceRetrieveResponse.Data;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace SourceRetrieveResponse {
|
|
73
|
+
interface Data {
|
|
74
|
+
/**
|
|
75
|
+
* Identifies one source within its profile: an ingested session, or one remembered
|
|
76
|
+
* fact. Returned by `ingest` and `remember` when the write is accepted.
|
|
77
|
+
* Re-ingesting a session keeps its source id.
|
|
78
|
+
*/
|
|
79
|
+
id: string;
|
|
80
|
+
/**
|
|
81
|
+
* What was stored, in the shape it was sent: an ingested JSON body as JSON, a
|
|
82
|
+
* string body or a remembered fact as a string. A session ingested before formats
|
|
83
|
+
* were recorded is returned as the text it was stored as.
|
|
84
|
+
*/
|
|
85
|
+
content: {
|
|
86
|
+
[key: string]: unknown;
|
|
87
|
+
} | Array<unknown> | string | number | boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Memories extracted from this source. A memory derived from several sources is
|
|
90
|
+
* not counted here.
|
|
91
|
+
*/
|
|
92
|
+
memory_count: number;
|
|
93
|
+
/**
|
|
94
|
+
* The session this source was ingested as. Null for a remembered fact.
|
|
95
|
+
*/
|
|
96
|
+
session_id: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* When the source was first stored.
|
|
99
|
+
*/
|
|
100
|
+
created_at?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* When the source was last written; re-ingesting moves it.
|
|
103
|
+
*/
|
|
104
|
+
updated_at?: string | null;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export interface SourceDeleteResponse {
|
|
108
|
+
data: SourceDeleteResponse.Data;
|
|
109
|
+
}
|
|
110
|
+
export declare namespace SourceDeleteResponse {
|
|
111
|
+
interface Data {
|
|
112
|
+
/**
|
|
113
|
+
* Memories the profile held and no longer does, counted before and after across
|
|
114
|
+
* the whole profile: it includes memories derived from this source together with
|
|
115
|
+
* others, and anything else the profile lost in between. A report rather than an
|
|
116
|
+
* audit. The status carries the outcome.
|
|
117
|
+
*/
|
|
118
|
+
memories_deleted: number;
|
|
119
|
+
profile_id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Identifies one source within its profile: an ingested session, or one remembered
|
|
122
|
+
* fact. Returned by `ingest` and `remember` when the write is accepted.
|
|
123
|
+
* Re-ingesting a session keeps its source id.
|
|
124
|
+
*/
|
|
125
|
+
source_id: string;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export interface SourceListParams extends DefaultFlatPaginationParams {
|
|
129
|
+
/**
|
|
130
|
+
* Path param
|
|
131
|
+
*/
|
|
132
|
+
namespace: string;
|
|
133
|
+
/**
|
|
134
|
+
* Query param: An ingested session, by the `session_id` it was ingested with.
|
|
135
|
+
* Narrows the request to the source that session was stored as.
|
|
136
|
+
*/
|
|
137
|
+
session_id?: string | null;
|
|
138
|
+
}
|
|
139
|
+
export interface SourceDeleteParams {
|
|
140
|
+
/**
|
|
141
|
+
* The namespace. `default` exists for every organization.
|
|
142
|
+
*/
|
|
143
|
+
namespace: string;
|
|
144
|
+
/**
|
|
145
|
+
* The profile: your identifier for the user, caller or agent this memory is about.
|
|
146
|
+
*/
|
|
147
|
+
profile_id: string;
|
|
148
|
+
}
|
|
149
|
+
export interface SourceRetrieveParams {
|
|
150
|
+
/**
|
|
151
|
+
* The namespace. `default` exists for every organization.
|
|
152
|
+
*/
|
|
153
|
+
namespace: string;
|
|
154
|
+
/**
|
|
155
|
+
* The profile: your identifier for the user, caller or agent this memory is about.
|
|
156
|
+
*/
|
|
157
|
+
profile_id: string;
|
|
158
|
+
}
|
|
159
|
+
export declare namespace Sources {
|
|
160
|
+
export { type SourceRetrieveResponse as SourceRetrieveResponse, type SourceDeleteResponse as SourceDeleteResponse, type SourceListParams as SourceListParams, type SourceDeleteParams as SourceDeleteParams, type SourceRetrieveParams as SourceRetrieveParams, };
|
|
161
|
+
}
|
|
162
|
+
export { type SourcesDefaultFlatPagination };
|
|
163
|
+
//# sourceMappingURL=sources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../../../../src/resources/ai/memory/namespaces/profiles/sources.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,wCAAqC;AAC3D,OAAO,KAAK,UAAU,wCAAqC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,wCAAqC;AAC5E,OAAO,EAAE,UAAU,EAAE,2CAAwC;AAC7D,OAAO,EAEL,KAAK,2BAA2B,EAChC,WAAW,EACZ,0CAAuC;AACxC,OAAO,EAAE,cAAc,EAAE,mDAAgD;AAGzE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,4BAA4B,EAAE,UAAU,CAAC,MAAM,CAAC;IAS/D;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAQnC;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAOtC;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,sBAAsB,CAAC,IAAI,CAAC;CACnC;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,IAAI;QACnB;;;;WAIG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;;;WAIG;QACH,OAAO,EAAE;YAAE,CAAC,GAAG,EAA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