casedev 0.67.2 → 0.69.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 +21 -0
- package/client.d.mts +8 -17
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -17
- package/client.d.ts.map +1 -1
- package/client.js +15 -16
- package/client.js.map +1 -1
- package/client.mjs +15 -16
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +0 -10
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +0 -10
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +0 -2
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +0 -2
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/package.json +9 -25
- package/resources/connectors/connectors.d.mts +10 -0
- package/resources/connectors/connectors.d.mts.map +1 -0
- package/resources/connectors/connectors.d.ts +10 -0
- package/resources/connectors/connectors.d.ts.map +1 -0
- package/resources/{format/format.js → connectors/connectors.js} +5 -5
- package/resources/connectors/connectors.js.map +1 -0
- package/resources/{format/format.mjs → connectors/connectors.mjs} +3 -3
- package/resources/connectors/connectors.mjs.map +1 -0
- package/resources/connectors/index.d.mts +3 -0
- package/resources/connectors/index.d.mts.map +1 -0
- package/resources/connectors/index.d.ts +3 -0
- package/resources/connectors/index.d.ts.map +1 -0
- package/resources/{format → connectors}/index.js +3 -3
- package/resources/connectors/index.js.map +1 -0
- package/resources/connectors/index.mjs +4 -0
- package/resources/connectors/index.mjs.map +1 -0
- package/resources/connectors/v1/connections.d.mts +109 -0
- package/resources/connectors/v1/connections.d.mts.map +1 -0
- package/resources/connectors/v1/connections.d.ts +109 -0
- package/resources/connectors/v1/connections.d.ts.map +1 -0
- package/resources/connectors/v1/connections.js +58 -0
- package/resources/connectors/v1/connections.js.map +1 -0
- package/resources/connectors/v1/connections.mjs +54 -0
- package/resources/connectors/v1/connections.mjs.map +1 -0
- package/resources/connectors/v1/index.d.mts +5 -0
- package/resources/connectors/v1/index.d.mts.map +1 -0
- package/resources/connectors/v1/index.d.ts +5 -0
- package/resources/connectors/v1/index.d.ts.map +1 -0
- package/resources/connectors/v1/index.js +13 -0
- package/resources/connectors/v1/index.js.map +1 -0
- package/resources/connectors/v1/index.mjs +6 -0
- package/resources/connectors/v1/index.mjs.map +1 -0
- package/resources/connectors/v1/installations/index.d.mts +3 -0
- package/resources/connectors/v1/installations/index.d.mts.map +1 -0
- package/resources/connectors/v1/installations/index.d.ts +3 -0
- package/resources/connectors/v1/installations/index.d.ts.map +1 -0
- package/resources/connectors/v1/installations/index.js +9 -0
- package/resources/connectors/v1/installations/index.js.map +1 -0
- package/resources/connectors/v1/installations/index.mjs +4 -0
- package/resources/connectors/v1/installations/index.mjs.map +1 -0
- package/resources/connectors/v1/installations/installations.d.mts +40 -0
- package/resources/connectors/v1/installations/installations.d.mts.map +1 -0
- package/resources/connectors/v1/installations/installations.d.ts +40 -0
- package/resources/connectors/v1/installations/installations.d.ts.map +1 -0
- package/resources/connectors/v1/installations/installations.js +43 -0
- package/resources/connectors/v1/installations/installations.js.map +1 -0
- package/resources/connectors/v1/installations/installations.mjs +38 -0
- package/resources/connectors/v1/installations/installations.mjs.map +1 -0
- package/resources/connectors/v1/installations/vaults.d.mts +56 -0
- package/resources/connectors/v1/installations/vaults.d.mts.map +1 -0
- package/resources/connectors/v1/installations/vaults.d.ts +56 -0
- package/resources/connectors/v1/installations/vaults.d.ts.map +1 -0
- package/resources/connectors/v1/installations/vaults.js +47 -0
- package/resources/connectors/v1/installations/vaults.js.map +1 -0
- package/resources/connectors/v1/installations/vaults.mjs +43 -0
- package/resources/connectors/v1/installations/vaults.mjs.map +1 -0
- package/resources/connectors/v1/installations.d.mts +2 -0
- package/resources/connectors/v1/installations.d.mts.map +1 -0
- package/resources/connectors/v1/installations.d.ts +2 -0
- package/resources/connectors/v1/installations.d.ts.map +1 -0
- package/resources/{agent/v1/chat.js → connectors/v1/installations.js} +2 -2
- package/resources/connectors/v1/installations.js.map +1 -0
- package/resources/{agent/skills.mjs → connectors/v1/installations.mjs} +2 -2
- package/resources/connectors/v1/installations.mjs.map +1 -0
- package/resources/connectors/v1/links.d.mts +57 -0
- package/resources/connectors/v1/links.d.mts.map +1 -0
- package/resources/connectors/v1/links.d.ts +57 -0
- package/resources/connectors/v1/links.d.ts.map +1 -0
- package/resources/connectors/v1/links.js +69 -0
- package/resources/connectors/v1/links.js.map +1 -0
- package/resources/connectors/v1/links.mjs +65 -0
- package/resources/connectors/v1/links.mjs.map +1 -0
- package/resources/connectors/v1/v1.d.mts +100 -0
- package/resources/connectors/v1/v1.d.mts.map +1 -0
- package/resources/connectors/v1/v1.d.ts +100 -0
- package/resources/connectors/v1/v1.d.ts.map +1 -0
- package/resources/connectors/v1/v1.js +47 -0
- package/resources/connectors/v1/v1.js.map +1 -0
- package/resources/connectors/v1/v1.mjs +42 -0
- package/resources/connectors/v1/v1.mjs.map +1 -0
- package/resources/connectors/v1.d.mts.map +1 -0
- package/resources/connectors/v1.d.ts.map +1 -0
- package/resources/connectors/v1.js.map +1 -0
- package/resources/connectors/v1.mjs.map +1 -0
- package/resources/connectors.d.mts +2 -0
- package/resources/connectors.d.mts.map +1 -0
- package/resources/connectors.d.ts +2 -0
- package/resources/connectors.d.ts.map +1 -0
- package/resources/{agent.js → connectors.js} +2 -2
- package/resources/connectors.js.map +1 -0
- package/resources/{agent.mjs → connectors.mjs} +2 -2
- package/resources/connectors.mjs.map +1 -0
- package/resources/index.d.mts +3 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -11
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -5
- package/resources/index.mjs.map +1 -1
- package/resources/legal/index.d.mts +1 -1
- package/resources/legal/index.d.mts.map +1 -1
- package/resources/legal/index.d.ts +1 -1
- package/resources/legal/index.d.ts.map +1 -1
- package/resources/legal/index.js.map +1 -1
- package/resources/legal/index.mjs.map +1 -1
- package/resources/legal/legal.d.mts +2 -2
- package/resources/legal/legal.d.mts.map +1 -1
- package/resources/legal/legal.d.ts +2 -2
- package/resources/legal/legal.d.ts.map +1 -1
- package/resources/legal/legal.js.map +1 -1
- package/resources/legal/legal.mjs.map +1 -1
- package/resources/legal/v1.d.mts +3 -80
- package/resources/legal/v1.d.mts.map +1 -1
- package/resources/legal/v1.d.ts +3 -80
- package/resources/legal/v1.d.ts.map +1 -1
- package/resources/legal/v1.js +0 -8
- package/resources/legal/v1.js.map +1 -1
- package/resources/legal/v1.mjs +0 -8
- package/resources/legal/v1.mjs.map +1 -1
- package/resources/linc/index.d.mts +3 -0
- package/resources/linc/index.d.mts.map +1 -0
- package/resources/linc/index.d.ts +3 -0
- package/resources/linc/index.d.ts.map +1 -0
- package/resources/{mail → linc}/index.js +3 -3
- package/resources/{mail → linc}/index.js.map +1 -1
- package/resources/{mail → linc}/index.mjs +1 -1
- package/resources/{mail → linc}/index.mjs.map +1 -1
- package/resources/{mail/mail.d.mts → linc/linc.d.mts} +3 -3
- package/resources/{mail/mail.d.mts.map → linc/linc.d.mts.map} +1 -1
- package/resources/{mail/mail.d.ts → linc/linc.d.ts} +3 -3
- package/resources/{mail/mail.d.ts.map → linc/linc.d.ts.map} +1 -1
- package/resources/{mail/mail.js → linc/linc.js} +5 -5
- package/resources/{mail/mail.js.map → linc/linc.js.map} +1 -1
- package/resources/{mail/mail.mjs → linc/linc.mjs} +3 -3
- package/resources/{mail/mail.mjs.map → linc/linc.mjs.map} +1 -1
- package/resources/linc/v1/index.d.mts +3 -0
- package/resources/linc/v1/index.d.mts.map +1 -0
- package/resources/linc/v1/index.d.ts +3 -0
- package/resources/linc/v1/index.d.ts.map +1 -0
- package/resources/{mail → linc}/v1/index.js +3 -3
- package/resources/linc/v1/index.js.map +1 -0
- package/resources/{mail → linc}/v1/index.mjs +1 -1
- package/resources/linc/v1/index.mjs.map +1 -0
- package/resources/linc/v1/sessions.d.mts +169 -0
- package/resources/linc/v1/sessions.d.mts.map +1 -0
- package/resources/linc/v1/sessions.d.ts +169 -0
- package/resources/linc/v1/sessions.d.ts.map +1 -0
- package/resources/linc/v1/sessions.js +103 -0
- package/resources/linc/v1/sessions.js.map +1 -0
- package/resources/linc/v1/sessions.mjs +99 -0
- package/resources/linc/v1/sessions.mjs.map +1 -0
- package/resources/linc/v1/v1.d.mts +10 -0
- package/resources/linc/v1/v1.d.mts.map +1 -0
- package/resources/linc/v1/v1.d.ts +10 -0
- package/resources/linc/v1/v1.d.ts.map +1 -0
- package/resources/{mail → linc}/v1/v1.js +4 -4
- package/resources/linc/v1/v1.js.map +1 -0
- package/resources/{mail → linc}/v1/v1.mjs +4 -4
- package/resources/linc/v1/v1.mjs.map +1 -0
- package/resources/{mail → linc}/v1.d.mts.map +1 -1
- package/resources/{mail → linc}/v1.d.ts.map +1 -1
- package/resources/linc/v1.js.map +1 -0
- package/resources/linc/v1.mjs.map +1 -0
- package/resources/linc.d.mts +2 -0
- package/resources/linc.d.mts.map +1 -0
- package/resources/linc.d.ts +2 -0
- package/resources/linc.d.ts.map +1 -0
- package/resources/{mail.js → linc.js} +2 -2
- package/resources/linc.js.map +1 -0
- package/resources/{agent/v1/chat.mjs → linc.mjs} +2 -2
- package/resources/linc.mjs.map +1 -0
- package/resources/llm/v1/chat.d.mts +3 -2
- package/resources/llm/v1/chat.d.mts.map +1 -1
- package/resources/llm/v1/chat.d.ts +3 -2
- package/resources/llm/v1/chat.d.ts.map +1 -1
- package/resources/matters/v1/index.d.mts +1 -1
- package/resources/matters/v1/index.d.mts.map +1 -1
- package/resources/matters/v1/index.d.ts +1 -1
- package/resources/matters/v1/index.d.ts.map +1 -1
- package/resources/matters/v1/index.js.map +1 -1
- package/resources/matters/v1/index.mjs.map +1 -1
- package/resources/matters/v1/v1.d.mts +2 -2
- package/resources/matters/v1/v1.d.mts.map +1 -1
- package/resources/matters/v1/v1.d.ts +2 -2
- package/resources/matters/v1/v1.d.ts.map +1 -1
- package/resources/matters/v1/v1.js.map +1 -1
- package/resources/matters/v1/v1.mjs.map +1 -1
- package/resources/matters/v1/work-items.d.mts +3 -15
- package/resources/matters/v1/work-items.d.mts.map +1 -1
- package/resources/matters/v1/work-items.d.ts +3 -15
- package/resources/matters/v1/work-items.d.ts.map +1 -1
- package/resources/matters/v1/work-items.js +1 -12
- package/resources/matters/v1/work-items.js.map +1 -1
- package/resources/matters/v1/work-items.mjs +1 -12
- package/resources/matters/v1/work-items.mjs.map +1 -1
- package/resources/media/v1/clips.d.mts +3 -0
- package/resources/media/v1/clips.d.mts.map +1 -1
- package/resources/media/v1/clips.d.ts +3 -0
- package/resources/media/v1/clips.d.ts.map +1 -1
- package/resources/media/v1/clips.js +3 -0
- package/resources/media/v1/clips.js.map +1 -1
- package/resources/media/v1/clips.mjs +3 -0
- package/resources/media/v1/clips.mjs.map +1 -1
- package/resources/media/v1/transcripts/index.d.mts +1 -0
- package/resources/media/v1/transcripts/index.d.mts.map +1 -1
- package/resources/media/v1/transcripts/index.d.ts +1 -0
- package/resources/media/v1/transcripts/index.d.ts.map +1 -1
- package/resources/media/v1/transcripts/index.js +3 -1
- package/resources/media/v1/transcripts/index.js.map +1 -1
- package/resources/media/v1/transcripts/index.mjs +1 -0
- package/resources/media/v1/transcripts/index.mjs.map +1 -1
- package/resources/media/v1/transcripts/retrieve.d.mts +70 -0
- package/resources/media/v1/transcripts/retrieve.d.mts.map +1 -0
- package/resources/media/v1/transcripts/retrieve.d.ts +70 -0
- package/resources/media/v1/transcripts/retrieve.d.ts.map +1 -0
- package/resources/media/v1/transcripts/retrieve.js +21 -0
- package/resources/media/v1/transcripts/retrieve.js.map +1 -0
- package/resources/media/v1/transcripts/retrieve.mjs +17 -0
- package/resources/media/v1/transcripts/retrieve.mjs.map +1 -0
- package/resources/media/v1/transcripts/search.d.mts +3 -0
- package/resources/media/v1/transcripts/search.d.mts.map +1 -1
- package/resources/media/v1/transcripts/search.d.ts +3 -0
- package/resources/media/v1/transcripts/search.d.ts.map +1 -1
- package/resources/media/v1/transcripts/search.js +3 -0
- package/resources/media/v1/transcripts/search.js.map +1 -1
- package/resources/media/v1/transcripts/search.mjs +3 -0
- package/resources/media/v1/transcripts/search.mjs.map +1 -1
- package/resources/media/v1/transcripts/transcripts.d.mts +4 -0
- package/resources/media/v1/transcripts/transcripts.d.mts.map +1 -1
- package/resources/media/v1/transcripts/transcripts.d.ts +4 -0
- package/resources/media/v1/transcripts/transcripts.d.ts.map +1 -1
- package/resources/media/v1/transcripts/transcripts.js +4 -0
- package/resources/media/v1/transcripts/transcripts.js.map +1 -1
- package/resources/media/v1/transcripts/transcripts.mjs +4 -0
- package/resources/media/v1/transcripts/transcripts.mjs.map +1 -1
- package/resources/ocr/v1.d.mts +4 -4
- package/resources/ocr/v1.d.ts +4 -4
- package/resources/ocr/v1.js +2 -2
- package/resources/ocr/v1.mjs +2 -2
- package/resources/search/index.d.mts +1 -1
- package/resources/search/index.d.mts.map +1 -1
- package/resources/search/index.d.ts +1 -1
- package/resources/search/index.d.ts.map +1 -1
- package/resources/search/index.js.map +1 -1
- package/resources/search/index.mjs.map +1 -1
- package/resources/search/search.d.mts +2 -2
- package/resources/search/search.d.mts.map +1 -1
- package/resources/search/search.d.ts +2 -2
- package/resources/search/search.d.ts.map +1 -1
- package/resources/search/search.js.map +1 -1
- package/resources/search/search.mjs.map +1 -1
- package/resources/search/v1.d.mts +2 -129
- package/resources/search/v1.d.mts.map +1 -1
- package/resources/search/v1.d.ts +2 -129
- package/resources/search/v1.d.ts.map +1 -1
- package/resources/search/v1.js +1 -19
- package/resources/search/v1.js.map +1 -1
- package/resources/search/v1.mjs +1 -19
- package/resources/search/v1.mjs.map +1 -1
- package/resources/skills/index.d.mts +1 -1
- package/resources/skills/index.d.mts.map +1 -1
- package/resources/skills/index.d.ts +1 -1
- package/resources/skills/index.d.ts.map +1 -1
- package/resources/skills/index.js.map +1 -1
- package/resources/skills/index.mjs.map +1 -1
- package/resources/skills/skills.d.mts +67 -1
- package/resources/skills/skills.d.mts.map +1 -1
- package/resources/skills/skills.d.ts +67 -1
- package/resources/skills/skills.d.ts.map +1 -1
- package/resources/skills/skills.js +7 -0
- package/resources/skills/skills.js.map +1 -1
- package/resources/skills/skills.mjs +7 -0
- package/resources/skills/skills.mjs.map +1 -1
- package/resources/translate/index.d.mts +1 -1
- package/resources/translate/index.d.mts.map +1 -1
- package/resources/translate/index.d.ts +1 -1
- package/resources/translate/index.d.ts.map +1 -1
- package/resources/translate/index.js.map +1 -1
- package/resources/translate/index.mjs.map +1 -1
- package/resources/translate/translate.d.mts +2 -2
- package/resources/translate/translate.d.mts.map +1 -1
- package/resources/translate/translate.d.ts +2 -2
- package/resources/translate/translate.d.ts.map +1 -1
- package/resources/translate/translate.js.map +1 -1
- package/resources/translate/translate.mjs.map +1 -1
- package/resources/translate/v1.d.mts +37 -1
- package/resources/translate/v1.d.mts.map +1 -1
- package/resources/translate/v1.d.ts +37 -1
- package/resources/translate/v1.d.ts.map +1 -1
- package/resources/translate/v1.js +30 -0
- package/resources/translate/v1.js.map +1 -1
- package/resources/translate/v1.mjs +30 -0
- package/resources/translate/v1.mjs.map +1 -1
- package/resources/usage/v1/v1.d.mts +10 -0
- package/resources/usage/v1/v1.d.mts.map +1 -1
- package/resources/usage/v1/v1.d.ts +10 -0
- package/resources/usage/v1/v1.d.ts.map +1 -1
- package/resources/usage/v1/v1.js.map +1 -1
- package/resources/usage/v1/v1.mjs.map +1 -1
- package/resources/vault/events/subscriptions.d.mts +1 -1
- package/resources/vault/events/subscriptions.d.ts +1 -1
- package/resources/vault/events/subscriptions.js +1 -1
- package/resources/vault/events/subscriptions.mjs +1 -1
- package/resources/vault/index.d.mts +2 -3
- package/resources/vault/index.d.mts.map +1 -1
- package/resources/vault/index.d.ts +2 -3
- package/resources/vault/index.d.ts.map +1 -1
- package/resources/vault/index.js +1 -3
- package/resources/vault/index.js.map +1 -1
- package/resources/vault/index.mjs +0 -1
- package/resources/vault/index.mjs.map +1 -1
- package/resources/vault/memory.d.mts +1 -1
- package/resources/vault/memory.d.ts +1 -1
- package/resources/vault/memory.js +1 -1
- package/resources/vault/memory.mjs +1 -1
- package/resources/vault/multipart.d.mts +94 -1
- package/resources/vault/multipart.d.mts.map +1 -1
- package/resources/vault/multipart.d.ts +94 -1
- package/resources/vault/multipart.d.ts.map +1 -1
- package/resources/vault/multipart.js +40 -0
- package/resources/vault/multipart.js.map +1 -1
- package/resources/vault/multipart.mjs +40 -0
- package/resources/vault/multipart.mjs.map +1 -1
- package/resources/vault/objects.d.mts +161 -62
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +161 -62
- package/resources/vault/objects.d.ts.map +1 -1
- package/resources/vault/objects.js +48 -20
- package/resources/vault/objects.js.map +1 -1
- package/resources/vault/objects.mjs +48 -20
- package/resources/vault/objects.mjs.map +1 -1
- package/resources/vault/vault.d.mts +103 -75
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +103 -75
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js +22 -20
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs +22 -20
- package/resources/vault/vault.mjs.map +1 -1
- package/resources/voice/transcription.d.mts +19 -7
- package/resources/voice/transcription.d.mts.map +1 -1
- package/resources/voice/transcription.d.ts +19 -7
- package/resources/voice/transcription.d.ts.map +1 -1
- package/resources/voice/transcription.js +5 -3
- package/resources/voice/transcription.js.map +1 -1
- package/resources/voice/transcription.mjs +5 -3
- package/resources/voice/transcription.mjs.map +1 -1
- package/src/client.ts +22 -25
- package/src/internal/parse.ts +0 -14
- package/src/internal/request-options.ts +0 -2
- package/src/resources/connectors/connectors.ts +21 -0
- package/src/resources/connectors/index.ts +10 -0
- package/src/resources/connectors/v1/connections.ts +186 -0
- package/src/resources/connectors/v1/index.ts +31 -0
- package/src/resources/connectors/v1/installations/index.ts +4 -0
- package/src/resources/connectors/v1/installations/installations.ts +72 -0
- package/src/resources/connectors/v1/installations/vaults.ts +88 -0
- package/src/resources/{agent/skills.ts → connectors/v1/installations.ts} +1 -1
- package/src/resources/connectors/v1/links.ts +121 -0
- package/src/resources/connectors/v1/v1.ts +186 -0
- package/src/resources/{agent.ts → connectors.ts} +1 -1
- package/src/resources/index.ts +4 -5
- package/src/resources/legal/index.ts +0 -2
- package/src/resources/legal/legal.ts +0 -4
- package/src/resources/legal/v1.ts +2 -100
- package/src/resources/{mail → linc}/index.ts +1 -1
- package/src/resources/{mail/mail.ts → linc/linc.ts} +3 -3
- package/src/resources/linc/v1/index.ts +12 -0
- package/src/resources/linc/v1/sessions.ts +270 -0
- package/src/resources/linc/v1/v1.ts +31 -0
- package/src/resources/{format/v1.ts → linc.ts} +1 -1
- package/src/resources/llm/v1/chat.ts +3 -2
- package/src/resources/matters/v1/index.ts +0 -1
- package/src/resources/matters/v1/v1.ts +0 -2
- package/src/resources/matters/v1/work-items.ts +2 -28
- package/src/resources/media/v1/clips.ts +3 -0
- package/src/resources/media/v1/transcripts/index.ts +1 -0
- package/src/resources/media/v1/transcripts/retrieve.ts +94 -0
- package/src/resources/media/v1/transcripts/search.ts +3 -0
- package/src/resources/media/v1/transcripts/transcripts.ts +10 -0
- package/src/resources/ocr/v1.ts +4 -4
- package/src/resources/search/index.ts +0 -4
- package/src/resources/search/search.ts +0 -8
- package/src/resources/search/v1.ts +1 -172
- package/src/resources/skills/index.ts +2 -0
- package/src/resources/skills/skills.ts +104 -0
- package/src/resources/translate/index.ts +1 -0
- package/src/resources/translate/translate.ts +2 -0
- package/src/resources/translate/v1.ts +56 -0
- package/src/resources/usage/v1/v1.ts +12 -0
- package/src/resources/vault/events/subscriptions.ts +1 -1
- package/src/resources/vault/index.ts +8 -9
- package/src/resources/vault/memory.ts +1 -1
- package/src/resources/vault/multipart.ts +126 -0
- package/src/resources/vault/objects.ts +230 -83
- package/src/resources/vault/vault.ts +135 -94
- package/src/resources/voice/transcription.ts +21 -7
- 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/core/streaming.d.mts +0 -33
- package/core/streaming.d.mts.map +0 -1
- package/core/streaming.d.ts +0 -33
- package/core/streaming.d.ts.map +0 -1
- package/core/streaming.js +0 -263
- package/core/streaming.js.map +0 -1
- package/core/streaming.mjs +0 -258
- package/core/streaming.mjs.map +0 -1
- package/internal/decoders/line.d.mts +0 -17
- package/internal/decoders/line.d.mts.map +0 -1
- package/internal/decoders/line.d.ts +0 -17
- package/internal/decoders/line.d.ts.map +0 -1
- package/internal/decoders/line.js +0 -113
- package/internal/decoders/line.js.map +0 -1
- package/internal/decoders/line.mjs +0 -108
- package/internal/decoders/line.mjs.map +0 -1
- package/resources/agent/agent.d.mts +0 -14
- package/resources/agent/agent.d.mts.map +0 -1
- package/resources/agent/agent.d.ts +0 -14
- package/resources/agent/agent.d.ts.map +0 -1
- package/resources/agent/agent.js +0 -21
- package/resources/agent/agent.js.map +0 -1
- package/resources/agent/agent.mjs +0 -16
- package/resources/agent/agent.mjs.map +0 -1
- package/resources/agent/index.d.mts +0 -4
- package/resources/agent/index.d.mts.map +0 -1
- package/resources/agent/index.d.ts +0 -4
- package/resources/agent/index.d.ts.map +0 -1
- package/resources/agent/index.js +0 -11
- package/resources/agent/index.js.map +0 -1
- package/resources/agent/index.mjs +0 -5
- package/resources/agent/index.mjs.map +0 -1
- package/resources/agent/skills/index.d.mts +0 -3
- package/resources/agent/skills/index.d.mts.map +0 -1
- package/resources/agent/skills/index.d.ts +0 -3
- package/resources/agent/skills/index.d.ts.map +0 -1
- package/resources/agent/skills/index.js +0 -9
- package/resources/agent/skills/index.js.map +0 -1
- package/resources/agent/skills/index.mjs +0 -4
- package/resources/agent/skills/index.mjs.map +0 -1
- package/resources/agent/skills/namespaces.d.mts +0 -66
- package/resources/agent/skills/namespaces.d.mts.map +0 -1
- package/resources/agent/skills/namespaces.d.ts +0 -66
- package/resources/agent/skills/namespaces.d.ts.map +0 -1
- package/resources/agent/skills/namespaces.js +0 -84
- package/resources/agent/skills/namespaces.js.map +0 -1
- package/resources/agent/skills/namespaces.mjs +0 -80
- package/resources/agent/skills/namespaces.mjs.map +0 -1
- package/resources/agent/skills/skills.d.mts +0 -10
- package/resources/agent/skills/skills.d.mts.map +0 -1
- package/resources/agent/skills/skills.d.ts +0 -10
- package/resources/agent/skills/skills.d.ts.map +0 -1
- package/resources/agent/skills/skills.js +0 -17
- package/resources/agent/skills/skills.js.map +0 -1
- package/resources/agent/skills/skills.mjs +0 -12
- package/resources/agent/skills/skills.mjs.map +0 -1
- package/resources/agent/skills.d.mts +0 -2
- package/resources/agent/skills.d.mts.map +0 -1
- package/resources/agent/skills.d.ts +0 -2
- package/resources/agent/skills.d.ts.map +0 -1
- package/resources/agent/skills.js +0 -6
- package/resources/agent/skills.js.map +0 -1
- package/resources/agent/skills.mjs.map +0 -1
- package/resources/agent/v1/agents.d.mts +0 -205
- package/resources/agent/v1/agents.d.mts.map +0 -1
- package/resources/agent/v1/agents.d.ts +0 -205
- package/resources/agent/v1/agents.d.ts.map +0 -1
- package/resources/agent/v1/agents.js +0 -44
- package/resources/agent/v1/agents.js.map +0 -1
- package/resources/agent/v1/agents.mjs +0 -40
- package/resources/agent/v1/agents.mjs.map +0 -1
- package/resources/agent/v1/chat/chat.d.mts +0 -163
- package/resources/agent/v1/chat/chat.d.mts.map +0 -1
- package/resources/agent/v1/chat/chat.d.ts +0 -163
- package/resources/agent/v1/chat/chat.d.ts.map +0 -1
- package/resources/agent/v1/chat/chat.js +0 -109
- package/resources/agent/v1/chat/chat.js.map +0 -1
- package/resources/agent/v1/chat/chat.mjs +0 -104
- package/resources/agent/v1/chat/chat.mjs.map +0 -1
- package/resources/agent/v1/chat/files.d.mts +0 -42
- package/resources/agent/v1/chat/files.d.mts.map +0 -1
- package/resources/agent/v1/chat/files.d.ts +0 -42
- package/resources/agent/v1/chat/files.d.ts.map +0 -1
- package/resources/agent/v1/chat/files.js +0 -33
- package/resources/agent/v1/chat/files.js.map +0 -1
- package/resources/agent/v1/chat/files.mjs +0 -29
- package/resources/agent/v1/chat/files.mjs.map +0 -1
- package/resources/agent/v1/chat/index.d.mts +0 -3
- package/resources/agent/v1/chat/index.d.mts.map +0 -1
- package/resources/agent/v1/chat/index.d.ts +0 -3
- package/resources/agent/v1/chat/index.d.ts.map +0 -1
- package/resources/agent/v1/chat/index.js +0 -9
- package/resources/agent/v1/chat/index.js.map +0 -1
- package/resources/agent/v1/chat/index.mjs +0 -4
- package/resources/agent/v1/chat/index.mjs.map +0 -1
- package/resources/agent/v1/chat.d.mts +0 -2
- package/resources/agent/v1/chat.d.mts.map +0 -1
- package/resources/agent/v1/chat.d.ts +0 -2
- package/resources/agent/v1/chat.d.ts.map +0 -1
- package/resources/agent/v1/chat.js.map +0 -1
- package/resources/agent/v1/chat.mjs.map +0 -1
- package/resources/agent/v1/execute.d.mts +0 -95
- package/resources/agent/v1/execute.d.mts.map +0 -1
- package/resources/agent/v1/execute.d.ts +0 -95
- package/resources/agent/v1/execute.d.ts.map +0 -1
- package/resources/agent/v1/execute.js +0 -27
- package/resources/agent/v1/execute.js.map +0 -1
- package/resources/agent/v1/execute.mjs +0 -23
- package/resources/agent/v1/execute.mjs.map +0 -1
- package/resources/agent/v1/index.d.mts +0 -6
- package/resources/agent/v1/index.d.mts.map +0 -1
- package/resources/agent/v1/index.d.ts +0 -6
- package/resources/agent/v1/index.d.ts.map +0 -1
- package/resources/agent/v1/index.js +0 -15
- package/resources/agent/v1/index.js.map +0 -1
- package/resources/agent/v1/index.mjs +0 -7
- package/resources/agent/v1/index.mjs.map +0 -1
- package/resources/agent/v1/run.d.mts +0 -304
- package/resources/agent/v1/run.d.mts.map +0 -1
- package/resources/agent/v1/run.d.ts +0 -304
- package/resources/agent/v1/run.d.ts.map +0 -1
- package/resources/agent/v1/run.js +0 -74
- package/resources/agent/v1/run.js.map +0 -1
- package/resources/agent/v1/run.mjs +0 -70
- package/resources/agent/v1/run.mjs.map +0 -1
- package/resources/agent/v1/v1.d.mts +0 -22
- package/resources/agent/v1/v1.d.mts.map +0 -1
- package/resources/agent/v1/v1.d.ts +0 -22
- package/resources/agent/v1/v1.d.ts.map +0 -1
- package/resources/agent/v1/v1.js +0 -29
- package/resources/agent/v1/v1.js.map +0 -1
- package/resources/agent/v1/v1.mjs +0 -24
- package/resources/agent/v1/v1.mjs.map +0 -1
- package/resources/agent/v1.d.mts.map +0 -1
- package/resources/agent/v1.d.ts.map +0 -1
- package/resources/agent/v1.js.map +0 -1
- package/resources/agent/v1.mjs.map +0 -1
- package/resources/agent.d.mts +0 -2
- package/resources/agent.d.mts.map +0 -1
- package/resources/agent.d.ts +0 -2
- package/resources/agent.d.ts.map +0 -1
- package/resources/agent.js.map +0 -1
- package/resources/agent.mjs.map +0 -1
- package/resources/database/database.d.mts +0 -10
- package/resources/database/database.d.mts.map +0 -1
- package/resources/database/database.d.ts +0 -10
- package/resources/database/database.d.ts.map +0 -1
- package/resources/database/database.js +0 -17
- package/resources/database/database.js.map +0 -1
- package/resources/database/database.mjs +0 -12
- package/resources/database/database.mjs.map +0 -1
- package/resources/database/index.d.mts +0 -3
- package/resources/database/index.d.mts.map +0 -1
- package/resources/database/index.d.ts +0 -3
- package/resources/database/index.d.ts.map +0 -1
- package/resources/database/index.js +0 -9
- package/resources/database/index.js.map +0 -1
- package/resources/database/index.mjs +0 -4
- package/resources/database/index.mjs.map +0 -1
- package/resources/database/v1/index.d.mts +0 -3
- package/resources/database/v1/index.d.mts.map +0 -1
- package/resources/database/v1/index.d.ts +0 -3
- package/resources/database/v1/index.d.ts.map +0 -1
- package/resources/database/v1/index.js +0 -9
- package/resources/database/v1/index.js.map +0 -1
- package/resources/database/v1/index.mjs +0 -4
- package/resources/database/v1/index.mjs.map +0 -1
- package/resources/database/v1/projects.d.mts +0 -467
- package/resources/database/v1/projects.d.mts.map +0 -1
- package/resources/database/v1/projects.d.ts +0 -467
- package/resources/database/v1/projects.d.ts.map +0 -1
- package/resources/database/v1/projects.js +0 -125
- package/resources/database/v1/projects.js.map +0 -1
- package/resources/database/v1/projects.mjs +0 -121
- package/resources/database/v1/projects.mjs.map +0 -1
- package/resources/database/v1/v1.d.mts +0 -144
- package/resources/database/v1/v1.d.mts.map +0 -1
- package/resources/database/v1/v1.d.ts +0 -144
- package/resources/database/v1/v1.d.ts.map +0 -1
- package/resources/database/v1/v1.js +0 -33
- package/resources/database/v1/v1.js.map +0 -1
- package/resources/database/v1/v1.mjs +0 -28
- package/resources/database/v1/v1.mjs.map +0 -1
- package/resources/database/v1.d.mts.map +0 -1
- package/resources/database/v1.d.ts.map +0 -1
- package/resources/database/v1.js.map +0 -1
- package/resources/database/v1.mjs.map +0 -1
- package/resources/database.d.mts +0 -2
- package/resources/database.d.mts.map +0 -1
- package/resources/database.d.ts +0 -2
- package/resources/database.d.ts.map +0 -1
- package/resources/database.js +0 -6
- package/resources/database.js.map +0 -1
- package/resources/database.mjs +0 -3
- package/resources/database.mjs.map +0 -1
- package/resources/format/format.d.mts +0 -10
- package/resources/format/format.d.mts.map +0 -1
- package/resources/format/format.d.ts +0 -10
- package/resources/format/format.d.ts.map +0 -1
- package/resources/format/format.js.map +0 -1
- package/resources/format/format.mjs.map +0 -1
- package/resources/format/index.d.mts +0 -3
- package/resources/format/index.d.mts.map +0 -1
- package/resources/format/index.d.ts +0 -3
- package/resources/format/index.d.ts.map +0 -1
- package/resources/format/index.js.map +0 -1
- package/resources/format/index.mjs +0 -4
- package/resources/format/index.mjs.map +0 -1
- package/resources/format/v1/index.d.mts +0 -3
- package/resources/format/v1/index.d.mts.map +0 -1
- package/resources/format/v1/index.d.ts +0 -3
- package/resources/format/v1/index.d.ts.map +0 -1
- package/resources/format/v1/index.js +0 -9
- package/resources/format/v1/index.js.map +0 -1
- package/resources/format/v1/index.mjs +0 -4
- package/resources/format/v1/index.mjs.map +0 -1
- package/resources/format/v1/templates.d.mts +0 -160
- package/resources/format/v1/templates.d.mts.map +0 -1
- package/resources/format/v1/templates.d.ts +0 -160
- package/resources/format/v1/templates.d.ts.map +0 -1
- package/resources/format/v1/templates.js +0 -40
- package/resources/format/v1/templates.js.map +0 -1
- package/resources/format/v1/templates.mjs +0 -36
- package/resources/format/v1/templates.mjs.map +0 -1
- package/resources/format/v1/v1.d.mts +0 -73
- package/resources/format/v1/v1.d.mts.map +0 -1
- package/resources/format/v1/v1.d.ts +0 -73
- package/resources/format/v1/v1.d.ts.map +0 -1
- package/resources/format/v1/v1.js +0 -34
- package/resources/format/v1/v1.js.map +0 -1
- package/resources/format/v1/v1.mjs +0 -29
- package/resources/format/v1/v1.mjs.map +0 -1
- package/resources/format/v1.d.mts +0 -2
- package/resources/format/v1.d.mts.map +0 -1
- package/resources/format/v1.d.ts +0 -2
- package/resources/format/v1.d.ts.map +0 -1
- package/resources/format/v1.js +0 -6
- package/resources/format/v1.js.map +0 -1
- package/resources/format/v1.mjs +0 -3
- package/resources/format/v1.mjs.map +0 -1
- package/resources/format.d.mts +0 -2
- package/resources/format.d.mts.map +0 -1
- package/resources/format.d.ts +0 -2
- package/resources/format.d.ts.map +0 -1
- package/resources/format.js +0 -6
- package/resources/format.js.map +0 -1
- package/resources/format.mjs +0 -3
- package/resources/format.mjs.map +0 -1
- package/resources/mail/index.d.mts +0 -3
- package/resources/mail/index.d.mts.map +0 -1
- package/resources/mail/index.d.ts +0 -3
- package/resources/mail/index.d.ts.map +0 -1
- package/resources/mail/v1/inboxes.d.mts +0 -94
- package/resources/mail/v1/inboxes.d.mts.map +0 -1
- package/resources/mail/v1/inboxes.d.ts +0 -94
- package/resources/mail/v1/inboxes.d.ts.map +0 -1
- package/resources/mail/v1/inboxes.js +0 -118
- package/resources/mail/v1/inboxes.js.map +0 -1
- package/resources/mail/v1/inboxes.mjs +0 -114
- package/resources/mail/v1/inboxes.mjs.map +0 -1
- package/resources/mail/v1/index.d.mts +0 -3
- package/resources/mail/v1/index.d.mts.map +0 -1
- package/resources/mail/v1/index.d.ts +0 -3
- package/resources/mail/v1/index.d.ts.map +0 -1
- package/resources/mail/v1/index.js.map +0 -1
- package/resources/mail/v1/index.mjs.map +0 -1
- package/resources/mail/v1/v1.d.mts +0 -10
- package/resources/mail/v1/v1.d.mts.map +0 -1
- package/resources/mail/v1/v1.d.ts +0 -10
- package/resources/mail/v1/v1.d.ts.map +0 -1
- package/resources/mail/v1/v1.js.map +0 -1
- package/resources/mail/v1/v1.mjs.map +0 -1
- package/resources/mail/v1.d.mts +0 -2
- package/resources/mail/v1.d.ts +0 -2
- package/resources/mail/v1.js +0 -6
- package/resources/mail/v1.js.map +0 -1
- package/resources/mail/v1.mjs +0 -3
- package/resources/mail/v1.mjs.map +0 -1
- package/resources/mail.d.mts +0 -2
- package/resources/mail.d.mts.map +0 -1
- package/resources/mail.d.ts +0 -2
- package/resources/mail.d.ts.map +0 -1
- package/resources/mail.js.map +0 -1
- package/resources/mail.mjs +0 -3
- package/resources/mail.mjs.map +0 -1
- package/resources/superdoc/index.d.mts +0 -3
- package/resources/superdoc/index.d.mts.map +0 -1
- package/resources/superdoc/index.d.ts +0 -3
- package/resources/superdoc/index.d.ts.map +0 -1
- package/resources/superdoc/index.js +0 -9
- package/resources/superdoc/index.js.map +0 -1
- package/resources/superdoc/index.mjs +0 -4
- package/resources/superdoc/index.mjs.map +0 -1
- package/resources/superdoc/superdoc.d.mts +0 -10
- package/resources/superdoc/superdoc.d.mts.map +0 -1
- package/resources/superdoc/superdoc.d.ts +0 -10
- package/resources/superdoc/superdoc.d.ts.map +0 -1
- package/resources/superdoc/superdoc.js +0 -17
- package/resources/superdoc/superdoc.js.map +0 -1
- package/resources/superdoc/superdoc.mjs +0 -12
- package/resources/superdoc/superdoc.mjs.map +0 -1
- package/resources/superdoc/v1.d.mts +0 -107
- package/resources/superdoc/v1.d.mts.map +0 -1
- package/resources/superdoc/v1.d.ts +0 -107
- package/resources/superdoc/v1.d.ts.map +0 -1
- package/resources/superdoc/v1.js +0 -39
- package/resources/superdoc/v1.js.map +0 -1
- package/resources/superdoc/v1.mjs +0 -35
- package/resources/superdoc/v1.mjs.map +0 -1
- package/resources/superdoc.d.mts +0 -2
- package/resources/superdoc.d.mts.map +0 -1
- package/resources/superdoc.d.ts +0 -2
- package/resources/superdoc.d.ts.map +0 -1
- package/resources/superdoc.js +0 -6
- package/resources/superdoc.js.map +0 -1
- package/resources/superdoc.mjs +0 -3
- package/resources/superdoc.mjs.map +0 -1
- package/resources/vault/graphrag.d.mts +0 -132
- package/resources/vault/graphrag.d.mts.map +0 -1
- package/resources/vault/graphrag.d.ts +0 -132
- package/resources/vault/graphrag.d.ts.map +0 -1
- package/resources/vault/graphrag.js +0 -58
- package/resources/vault/graphrag.js.map +0 -1
- package/resources/vault/graphrag.mjs +0 -54
- package/resources/vault/graphrag.mjs.map +0 -1
- package/src/core/streaming.ts +0 -315
- package/src/internal/decoders/line.ts +0 -135
- package/src/resources/agent/agent.ts +0 -21
- package/src/resources/agent/index.ts +0 -5
- package/src/resources/agent/skills/index.ts +0 -4
- package/src/resources/agent/skills/namespaces.ts +0 -126
- package/src/resources/agent/skills/skills.ts +0 -19
- package/src/resources/agent/v1/agents.ts +0 -305
- package/src/resources/agent/v1/chat/chat.ts +0 -267
- package/src/resources/agent/v1/chat/files.ts +0 -63
- package/src/resources/agent/v1/chat/index.ts +0 -16
- package/src/resources/agent/v1/chat.ts +0 -3
- package/src/resources/agent/v1/execute.ts +0 -118
- package/src/resources/agent/v1/index.ts +0 -43
- package/src/resources/agent/v1/run.ts +0 -456
- package/src/resources/agent/v1/v1.ts +0 -109
- package/src/resources/database/database.ts +0 -15
- package/src/resources/database/index.ts +0 -4
- package/src/resources/database/v1/index.ts +0 -16
- package/src/resources/database/v1/projects.ts +0 -597
- package/src/resources/database/v1/v1.ts +0 -212
- package/src/resources/database.ts +0 -3
- package/src/resources/format/format.ts +0 -15
- package/src/resources/format/index.ts +0 -4
- package/src/resources/format/v1/index.ts +0 -11
- package/src/resources/format/v1/templates.ts +0 -210
- package/src/resources/format/v1/v1.ts +0 -111
- package/src/resources/format.ts +0 -3
- package/src/resources/mail/v1/inboxes.ts +0 -190
- package/src/resources/mail/v1/index.ts +0 -11
- package/src/resources/mail/v1/v1.ts +0 -29
- package/src/resources/mail/v1.ts +0 -3
- package/src/resources/mail.ts +0 -3
- package/src/resources/superdoc/index.ts +0 -4
- package/src/resources/superdoc/superdoc.ts +0 -15
- package/src/resources/superdoc/v1.ts +0 -149
- package/src/resources/superdoc.ts +0 -3
- package/src/resources/vault/graphrag.ts +0 -176
- package/src/streaming.ts +0 -2
- package/streaming.d.mts +0 -3
- package/streaming.d.mts.map +0 -1
- package/streaming.d.ts +0 -3
- package/streaming.d.ts.map +0 -1
- package/streaming.js +0 -6
- package/streaming.js.map +0 -1
- package/streaming.mjs +0 -3
- package/streaming.mjs.map +0 -1
- /package/resources/{agent → connectors}/v1.d.mts +0 -0
- /package/resources/{agent → connectors}/v1.d.ts +0 -0
- /package/resources/{agent → connectors}/v1.js +0 -0
- /package/resources/{agent → connectors}/v1.mjs +0 -0
- /package/resources/{database → linc}/v1.d.mts +0 -0
- /package/resources/{database → linc}/v1.d.ts +0 -0
- /package/resources/{database → linc}/v1.js +0 -0
- /package/resources/{database → linc}/v1.mjs +0 -0
- /package/src/resources/{agent → connectors}/v1.ts +0 -0
- /package/src/resources/{database → linc}/v1.ts +0 -0
|
@@ -23,6 +23,11 @@ export declare class Skills extends APIResource {
|
|
|
23
23
|
* in search results.
|
|
24
24
|
*/
|
|
25
25
|
delete(slug: string, options?: RequestOptions): APIPromise<SkillDeleteResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Export a skill as an installable filesystem tree for sandbox runtimes.
|
|
28
|
+
* Authenticated org-scoped custom skills are resolved before curated skills.
|
|
29
|
+
*/
|
|
30
|
+
export(slug: string, query?: SkillExportParams | null | undefined, options?: RequestOptions): APIPromise<SkillExportResponse>;
|
|
26
31
|
/**
|
|
27
32
|
* Read the full content of a legal skill by its slug. Returns markdown content,
|
|
28
33
|
* tags, and metadata.
|
|
@@ -53,6 +58,7 @@ export declare namespace ReadResponseRootBundle {
|
|
|
53
58
|
}
|
|
54
59
|
}
|
|
55
60
|
export interface SkillCreateResponse {
|
|
61
|
+
bundle?: unknown | null;
|
|
56
62
|
content?: string;
|
|
57
63
|
created_at?: string;
|
|
58
64
|
metadata?: unknown;
|
|
@@ -63,6 +69,7 @@ export interface SkillCreateResponse {
|
|
|
63
69
|
version?: number;
|
|
64
70
|
}
|
|
65
71
|
export interface SkillUpdateResponse {
|
|
72
|
+
bundle?: unknown | null;
|
|
66
73
|
content?: string;
|
|
67
74
|
metadata?: unknown;
|
|
68
75
|
name?: string;
|
|
@@ -76,6 +83,22 @@ export interface SkillDeleteResponse {
|
|
|
76
83
|
deleted?: boolean;
|
|
77
84
|
slug?: string;
|
|
78
85
|
}
|
|
86
|
+
export interface SkillExportResponse {
|
|
87
|
+
files?: Array<SkillExportResponse.File>;
|
|
88
|
+
root?: string;
|
|
89
|
+
slug?: string;
|
|
90
|
+
source?: 'custom' | 'curated';
|
|
91
|
+
target?: string;
|
|
92
|
+
}
|
|
93
|
+
export declare namespace SkillExportResponse {
|
|
94
|
+
interface File {
|
|
95
|
+
content?: string;
|
|
96
|
+
content_type?: string;
|
|
97
|
+
path?: string;
|
|
98
|
+
sha256?: string;
|
|
99
|
+
size_bytes?: number;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
79
102
|
export interface SkillReadResponse {
|
|
80
103
|
/**
|
|
81
104
|
* Skill author
|
|
@@ -166,6 +189,11 @@ export interface SkillCreateParams {
|
|
|
166
189
|
* Skill name
|
|
167
190
|
*/
|
|
168
191
|
name: string;
|
|
192
|
+
/**
|
|
193
|
+
* Optional bundled companion files installed alongside the skill as <slug>/<path>
|
|
194
|
+
* in sandbox skill directories.
|
|
195
|
+
*/
|
|
196
|
+
files?: Array<SkillCreateParams.File>;
|
|
169
197
|
/**
|
|
170
198
|
* Arbitrary metadata (author, license, etc.)
|
|
171
199
|
*/
|
|
@@ -183,8 +211,28 @@ export interface SkillCreateParams {
|
|
|
183
211
|
*/
|
|
184
212
|
tags?: Array<string>;
|
|
185
213
|
}
|
|
214
|
+
export declare namespace SkillCreateParams {
|
|
215
|
+
interface File {
|
|
216
|
+
content: string;
|
|
217
|
+
/**
|
|
218
|
+
* Relative path inside the skill directory. SKILL.md is reserved for the root
|
|
219
|
+
* skill content.
|
|
220
|
+
*/
|
|
221
|
+
path: string;
|
|
222
|
+
contentType?: string;
|
|
223
|
+
metadata?: unknown;
|
|
224
|
+
name?: string;
|
|
225
|
+
summary?: string;
|
|
226
|
+
tags?: Array<string>;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
186
229
|
export interface SkillUpdateParams {
|
|
187
230
|
content?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Optional replacement companion file tree. Omit to leave existing bundled files
|
|
233
|
+
* unchanged; send [] to remove bundled files.
|
|
234
|
+
*/
|
|
235
|
+
files?: Array<SkillUpdateParams.File> | null;
|
|
188
236
|
metadata?: unknown;
|
|
189
237
|
name?: string;
|
|
190
238
|
/**
|
|
@@ -194,6 +242,24 @@ export interface SkillUpdateParams {
|
|
|
194
242
|
summary?: string | null;
|
|
195
243
|
tags?: Array<string>;
|
|
196
244
|
}
|
|
245
|
+
export declare namespace SkillUpdateParams {
|
|
246
|
+
interface File {
|
|
247
|
+
content: string;
|
|
248
|
+
path: string;
|
|
249
|
+
contentType?: string;
|
|
250
|
+
metadata?: unknown;
|
|
251
|
+
name?: string;
|
|
252
|
+
summary?: string;
|
|
253
|
+
tags?: Array<string>;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
export interface SkillExportParams {
|
|
257
|
+
/**
|
|
258
|
+
* Agent runtime skill directory convention to export for. Most callers should omit
|
|
259
|
+
* this and pass skillSlugs when creating a runtime.
|
|
260
|
+
*/
|
|
261
|
+
target?: string;
|
|
262
|
+
}
|
|
197
263
|
export interface SkillResolveParams {
|
|
198
264
|
/**
|
|
199
265
|
* Search query string
|
|
@@ -205,7 +271,7 @@ export interface SkillResolveParams {
|
|
|
205
271
|
limit?: number;
|
|
206
272
|
}
|
|
207
273
|
export declare namespace Skills {
|
|
208
|
-
export { type ReadResponseFileBundle as ReadResponseFileBundle, type ReadResponseRootBundle as ReadResponseRootBundle, type SkillCreateResponse as SkillCreateResponse, type SkillUpdateResponse as SkillUpdateResponse, type SkillDeleteResponse as SkillDeleteResponse, type SkillReadResponse as SkillReadResponse, type SkillResolveResponse as SkillResolveResponse, type SkillCreateParams as SkillCreateParams, type SkillUpdateParams as SkillUpdateParams, type SkillResolveParams as SkillResolveParams, };
|
|
274
|
+
export { type ReadResponseFileBundle as ReadResponseFileBundle, type ReadResponseRootBundle as ReadResponseRootBundle, type SkillCreateResponse as SkillCreateResponse, type SkillUpdateResponse as SkillUpdateResponse, type SkillDeleteResponse as SkillDeleteResponse, type SkillExportResponse as SkillExportResponse, type SkillReadResponse as SkillReadResponse, type SkillResolveResponse as SkillResolveResponse, type SkillCreateParams as SkillCreateParams, type SkillUpdateParams as SkillUpdateParams, type SkillExportParams as SkillExportParams, type SkillResolveParams as SkillResolveParams, };
|
|
209
275
|
export { Custom as Custom, type CustomListResponse as CustomListResponse, type CustomListParams as CustomListParams, };
|
|
210
276
|
}
|
|
211
277
|
//# sourceMappingURL=skills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../src/resources/skills/skills.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,oBAAiB;AACxE,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG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|
return this._client.delete((0, path_1.path) `/skills/${slug}`, options);
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Export a skill as an installable filesystem tree for sandbox runtimes.
|
|
41
|
+
* Authenticated org-scoped custom skills are resolved before curated skills.
|
|
42
|
+
*/
|
|
43
|
+
export(slug, query = {}, options) {
|
|
44
|
+
return this._client.get((0, path_1.path) `/skills/${slug}/export`, { query, ...options });
|
|
45
|
+
}
|
|
39
46
|
/**
|
|
40
47
|
* Read the full content of a legal skill by its slug. Returns markdown content,
|
|
41
48
|
* tags, and metadata.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.js","sourceRoot":"","sources":["../../src/resources/skills/skills.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAwE;AAGxE,uDAAiD;AAEjD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"skills.js","sourceRoot":"","sources":["../../src/resources/skills/skills.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAwE;AAGxE,uDAAiD;AAEjD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqDhE,CAAC;IAnDC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,IAAY,EAAE,IAAuB,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,IAAY,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,WAAW,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,IAAY,EACZ,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,IAAI,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,IAAY,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;OAGG;IACH,OAAO,CAAC,KAAyB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;CACF;AAtDD,wBAsDC;AAmUD,MAAM,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -32,6 +32,13 @@ export class Skills extends APIResource {
|
|
|
32
32
|
delete(slug, options) {
|
|
33
33
|
return this._client.delete(path `/skills/${slug}`, options);
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Export a skill as an installable filesystem tree for sandbox runtimes.
|
|
37
|
+
* Authenticated org-scoped custom skills are resolved before curated skills.
|
|
38
|
+
*/
|
|
39
|
+
export(slug, query = {}, options) {
|
|
40
|
+
return this._client.get(path `/skills/${slug}/export`, { query, ...options });
|
|
41
|
+
}
|
|
35
42
|
/**
|
|
36
43
|
* Read the full content of a legal skill by its slug. Returns markdown content,
|
|
37
44
|
* tags, and metadata.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.mjs","sourceRoot":"","sources":["../../src/resources/skills/skills.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,MAAM,EAAwC,qBAAiB;AAGxE,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"skills.mjs","sourceRoot":"","sources":["../../src/resources/skills/skills.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,MAAM,EAAwC,qBAAiB;AAGxE,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqDhE,CAAC;IAnDC;;;OAGG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,IAAY,EAAE,IAAuB,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,IAAY,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,WAAW,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,IAAY,EACZ,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,IAAI,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,IAAY,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;OAGG;IACH,OAAO,CAAC,KAAyB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;CACF;AAmUD,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Translate } from "./translate.mjs";
|
|
2
|
-
export { V1, type V1DetectResponse, type V1ListLanguagesResponse, type V1TranslateResponse, type V1DetectParams, type V1ListLanguagesParams, type V1TranslateParams, } from "./v1.mjs";
|
|
2
|
+
export { V1, type V1DetectResponse, type V1ListLanguagesResponse, type V1TranslateResponse, type V1DetectParams, type V1ListLanguagesParams, type V1TranslateParams, type V1TranslateDocumentParams, } from "./v1.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/translate/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EACL,EAAE,EACF,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/translate/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EACL,EAAE,EACF,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,GAC/B,iBAAa"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Translate } from "./translate.js";
|
|
2
|
-
export { V1, type V1DetectResponse, type V1ListLanguagesResponse, type V1TranslateResponse, type V1DetectParams, type V1ListLanguagesParams, type V1TranslateParams, } from "./v1.js";
|
|
2
|
+
export { V1, type V1DetectResponse, type V1ListLanguagesResponse, type V1TranslateResponse, type V1DetectParams, type V1ListLanguagesParams, type V1TranslateParams, type V1TranslateDocumentParams, } from "./v1.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/translate/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,uBAAoB;AACxC,OAAO,EACL,EAAE,EACF,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/translate/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,uBAAoB;AACxC,OAAO,EACL,EAAE,EACF,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,GAC/B,gBAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/translate/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/translate/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,8BASc;AARZ,wFAAA,EAAE,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/translate/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EACL,EAAE,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/translate/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EACL,EAAE,GAQH,iBAAa"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as V1API from "./v1.mjs";
|
|
3
|
-
import { V1, V1DetectParams, V1DetectResponse, V1ListLanguagesParams, V1ListLanguagesResponse, V1TranslateParams, V1TranslateResponse } from "./v1.mjs";
|
|
3
|
+
import { V1, V1DetectParams, V1DetectResponse, V1ListLanguagesParams, V1ListLanguagesResponse, V1TranslateDocumentParams, V1TranslateParams, V1TranslateResponse } from "./v1.mjs";
|
|
4
4
|
export declare class Translate extends APIResource {
|
|
5
5
|
v1: V1API.V1;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Translate {
|
|
8
|
-
export { V1 as V1, type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, };
|
|
8
|
+
export { V1 as V1, type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, type V1TranslateDocumentParams as V1TranslateDocumentParams, };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=translate.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate.d.mts","sourceRoot":"","sources":["../../src/resources/translate/translate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,KAAK,iBAAa;AAC9B,OAAO,EACL,EAAE,EACF,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACpB,iBAAa;AAEd,qBAAa,SAAU,SAAQ,WAAW;IACxC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,
|
|
1
|
+
{"version":3,"file":"translate.d.mts","sourceRoot":"","sources":["../../src/resources/translate/translate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,KAAK,iBAAa;AAC9B,OAAO,EACL,EAAE,EACF,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACpB,iBAAa;AAEd,qBAAa,SAAU,SAAQ,WAAW;IACxC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as V1API from "./v1.js";
|
|
3
|
-
import { V1, V1DetectParams, V1DetectResponse, V1ListLanguagesParams, V1ListLanguagesResponse, V1TranslateParams, V1TranslateResponse } from "./v1.js";
|
|
3
|
+
import { V1, V1DetectParams, V1DetectResponse, V1ListLanguagesParams, V1ListLanguagesResponse, V1TranslateDocumentParams, V1TranslateParams, V1TranslateResponse } from "./v1.js";
|
|
4
4
|
export declare class Translate extends APIResource {
|
|
5
5
|
v1: V1API.V1;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Translate {
|
|
8
|
-
export { V1 as V1, type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, };
|
|
8
|
+
export { V1 as V1, type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, type V1TranslateDocumentParams as V1TranslateDocumentParams, };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=translate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate.d.ts","sourceRoot":"","sources":["../../src/resources/translate/translate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,KAAK,gBAAa;AAC9B,OAAO,EACL,EAAE,EACF,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACpB,gBAAa;AAEd,qBAAa,SAAU,SAAQ,WAAW;IACxC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,
|
|
1
|
+
{"version":3,"file":"translate.d.ts","sourceRoot":"","sources":["../../src/resources/translate/translate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,KAAK,gBAAa;AAC9B,OAAO,EACL,EAAE,EACF,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACpB,gBAAa;AAEd,qBAAa,SAAU,SAAQ,WAAW;IACxC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate.js","sourceRoot":"","sources":["../../src/resources/translate/translate.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,uDAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"translate.js","sourceRoot":"","sources":["../../src/resources/translate/translate.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,uDAA8B;AAC9B,gCASc;AAEd,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAFD,8BAEC;AAED,SAAS,CAAC,EAAE,GAAG,OAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate.mjs","sourceRoot":"","sources":["../../src/resources/translate/translate.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,KAAK,iBAAa;AAC9B,OAAO,EACL,EAAE,
|
|
1
|
+
{"version":3,"file":"translate.mjs","sourceRoot":"","sources":["../../src/resources/translate/translate.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,KAAK,iBAAa;AAC9B,OAAO,EACL,EAAE,GAQH,iBAAa;AAEd,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { type Uploadable } from "../../core/uploads.mjs";
|
|
3
4
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Language detection and translation for multilingual legal workflows
|
|
7
|
+
*/
|
|
4
8
|
export declare class V1 extends APIResource {
|
|
5
9
|
/**
|
|
6
10
|
* Detect the language of text. Returns the most likely language code and
|
|
@@ -38,6 +42,24 @@ export declare class V1 extends APIResource {
|
|
|
38
42
|
* ```
|
|
39
43
|
*/
|
|
40
44
|
translate(body: V1TranslateParams, options?: RequestOptions): APIPromise<V1TranslateResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Translate one TXT, DOCX, or searchable PDF document. DOCX and PDF translations
|
|
47
|
+
* preserve the source document format and retain as much layout and formatting as
|
|
48
|
+
* possible.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const response =
|
|
53
|
+
* await client.translate.v1.translateDocument({
|
|
54
|
+
* file: fs.createReadStream('path/to/file'),
|
|
55
|
+
* target: 'es',
|
|
56
|
+
* });
|
|
57
|
+
*
|
|
58
|
+
* const content = await response.blob();
|
|
59
|
+
* console.log(content);
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
translateDocument(body: V1TranslateDocumentParams, options?: RequestOptions): APIPromise<Response>;
|
|
41
63
|
}
|
|
42
64
|
export interface V1DetectResponse {
|
|
43
65
|
data?: V1DetectResponse.Data;
|
|
@@ -148,7 +170,21 @@ export interface V1TranslateParams {
|
|
|
148
170
|
*/
|
|
149
171
|
source?: string;
|
|
150
172
|
}
|
|
173
|
+
export interface V1TranslateDocumentParams {
|
|
174
|
+
/**
|
|
175
|
+
* TXT, DOCX, or searchable PDF document (max 20MB)
|
|
176
|
+
*/
|
|
177
|
+
file: Uploadable;
|
|
178
|
+
/**
|
|
179
|
+
* Target BCP-47 language code
|
|
180
|
+
*/
|
|
181
|
+
target: string;
|
|
182
|
+
/**
|
|
183
|
+
* Optional source BCP-47 language code. Auto-detected when omitted.
|
|
184
|
+
*/
|
|
185
|
+
source?: string;
|
|
186
|
+
}
|
|
151
187
|
export declare namespace V1 {
|
|
152
|
-
export { type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, };
|
|
188
|
+
export { type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, type V1TranslateDocumentParams as V1TranslateDocumentParams, };
|
|
153
189
|
}
|
|
154
190
|
//# sourceMappingURL=v1.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;
|
|
1
|
+
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WA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,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { type Uploadable } from "../../core/uploads.js";
|
|
3
4
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Language detection and translation for multilingual legal workflows
|
|
7
|
+
*/
|
|
4
8
|
export declare class V1 extends APIResource {
|
|
5
9
|
/**
|
|
6
10
|
* Detect the language of text. Returns the most likely language code and
|
|
@@ -38,6 +42,24 @@ export declare class V1 extends APIResource {
|
|
|
38
42
|
* ```
|
|
39
43
|
*/
|
|
40
44
|
translate(body: V1TranslateParams, options?: RequestOptions): APIPromise<V1TranslateResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Translate one TXT, DOCX, or searchable PDF document. DOCX and PDF translations
|
|
47
|
+
* preserve the source document format and retain as much layout and formatting as
|
|
48
|
+
* possible.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const response =
|
|
53
|
+
* await client.translate.v1.translateDocument({
|
|
54
|
+
* file: fs.createReadStream('path/to/file'),
|
|
55
|
+
* target: 'es',
|
|
56
|
+
* });
|
|
57
|
+
*
|
|
58
|
+
* const content = await response.blob();
|
|
59
|
+
* console.log(content);
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
translateDocument(body: V1TranslateDocumentParams, options?: RequestOptions): APIPromise<Response>;
|
|
41
63
|
}
|
|
42
64
|
export interface V1DetectResponse {
|
|
43
65
|
data?: V1DetectResponse.Data;
|
|
@@ -148,7 +170,21 @@ export interface V1TranslateParams {
|
|
|
148
170
|
*/
|
|
149
171
|
source?: string;
|
|
150
172
|
}
|
|
173
|
+
export interface V1TranslateDocumentParams {
|
|
174
|
+
/**
|
|
175
|
+
* TXT, DOCX, or searchable PDF document (max 20MB)
|
|
176
|
+
*/
|
|
177
|
+
file: Uploadable;
|
|
178
|
+
/**
|
|
179
|
+
* Target BCP-47 language code
|
|
180
|
+
*/
|
|
181
|
+
target: string;
|
|
182
|
+
/**
|
|
183
|
+
* Optional source BCP-47 language code. Auto-detected when omitted.
|
|
184
|
+
*/
|
|
185
|
+
source?: string;
|
|
186
|
+
}
|
|
151
187
|
export declare namespace V1 {
|
|
152
|
-
export { type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, };
|
|
188
|
+
export { type V1DetectResponse as V1DetectResponse, type V1ListLanguagesResponse as V1ListLanguagesResponse, type V1TranslateResponse as V1TranslateResponse, type V1DetectParams as V1DetectParams, type V1ListLanguagesParams as V1ListLanguagesParams, type V1TranslateParams as V1TranslateParams, type V1TranslateDocumentParams as V1TranslateDocumentParams, };
|
|
153
189
|
}
|
|
154
190
|
//# sourceMappingURL=v1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAA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1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEzB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.V1 = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
7
|
+
const uploads_1 = require("../../internal/uploads.js");
|
|
8
|
+
/**
|
|
9
|
+
* Language detection and translation for multilingual legal workflows
|
|
10
|
+
*/
|
|
6
11
|
class V1 extends resource_1.APIResource {
|
|
7
12
|
/**
|
|
8
13
|
* Detect the language of text. Returns the most likely language code and
|
|
@@ -46,6 +51,31 @@ class V1 extends resource_1.APIResource {
|
|
|
46
51
|
translate(body, options) {
|
|
47
52
|
return this._client.post('/translate/v1/translate', { body, ...options });
|
|
48
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Translate one TXT, DOCX, or searchable PDF document. DOCX and PDF translations
|
|
56
|
+
* preserve the source document format and retain as much layout and formatting as
|
|
57
|
+
* possible.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const response =
|
|
62
|
+
* await client.translate.v1.translateDocument({
|
|
63
|
+
* file: fs.createReadStream('path/to/file'),
|
|
64
|
+
* target: 'es',
|
|
65
|
+
* });
|
|
66
|
+
*
|
|
67
|
+
* const content = await response.blob();
|
|
68
|
+
* console.log(content);
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
translateDocument(body, options) {
|
|
72
|
+
return this._client.post('/translate/v1/document', (0, uploads_1.multipartFormRequestOptions)({
|
|
73
|
+
body,
|
|
74
|
+
...options,
|
|
75
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: 'application/octet-stream' }, options?.headers]),
|
|
76
|
+
__binaryResponse: true,
|
|
77
|
+
}, this._client));
|
|
78
|
+
}
|
|
49
79
|
}
|
|
50
80
|
exports.V1 = V1;
|
|
51
81
|
//# sourceMappingURL=v1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAsD;AAEtD,uDAAqE;AAErE;;GAEG;AACH,MAAa,EAAG,SAAQ,sBAAW;IACjC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;OAQG;IACH,aAAa,CACX,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,IAAuB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB,CAAC,IAA+B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,wBAAwB,EACxB,IAAA,qCAA2B,EACzB;YACE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,EACD,IAAI,CAAC,OAAO,CACb,CACF,CAAC;IACJ,CAAC;CACF;AAhFD,gBAgFC"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
4
|
+
import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Language detection and translation for multilingual legal workflows
|
|
7
|
+
*/
|
|
3
8
|
export class V1 extends APIResource {
|
|
4
9
|
/**
|
|
5
10
|
* Detect the language of text. Returns the most likely language code and
|
|
@@ -43,5 +48,30 @@ export class V1 extends APIResource {
|
|
|
43
48
|
translate(body, options) {
|
|
44
49
|
return this._client.post('/translate/v1/translate', { body, ...options });
|
|
45
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Translate one TXT, DOCX, or searchable PDF document. DOCX and PDF translations
|
|
53
|
+
* preserve the source document format and retain as much layout and formatting as
|
|
54
|
+
* possible.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const response =
|
|
59
|
+
* await client.translate.v1.translateDocument({
|
|
60
|
+
* file: fs.createReadStream('path/to/file'),
|
|
61
|
+
* target: 'es',
|
|
62
|
+
* });
|
|
63
|
+
*
|
|
64
|
+
* const content = await response.blob();
|
|
65
|
+
* console.log(content);
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
translateDocument(body, options) {
|
|
69
|
+
return this._client.post('/translate/v1/document', multipartFormRequestOptions({
|
|
70
|
+
body,
|
|
71
|
+
...options,
|
|
72
|
+
headers: buildHeaders([{ Accept: 'application/octet-stream' }, options?.headers]),
|
|
73
|
+
__binaryResponse: true,
|
|
74
|
+
}, this._client));
|
|
75
|
+
}
|
|
46
76
|
}
|
|
47
77
|
//# sourceMappingURL=v1.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/translate/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,2BAA2B,EAAE,mCAA+B;AAErE;;GAEG;AACH,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;OAQG;IACH,aAAa,CACX,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,IAAuB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB,CAAC,IAA+B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,wBAAwB,EACxB,2BAA2B,CACzB;YACE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,EACD,IAAI,CAAC,OAAO,CACb,CACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -21,6 +21,16 @@ export interface V1RetrieveParams {
|
|
|
21
21
|
* Whether to return period totals only or include daily buckets.
|
|
22
22
|
*/
|
|
23
23
|
granularity?: 'summary' | 'daily';
|
|
24
|
+
/**
|
|
25
|
+
* Optionally include usage groups keyed by native Linc session id. Only
|
|
26
|
+
* Linc-session-attributable usage is grouped.
|
|
27
|
+
*/
|
|
28
|
+
groupBy?: 'lincSessionId';
|
|
29
|
+
/**
|
|
30
|
+
* Restrict usage to a native Linc session. The session must belong to the
|
|
31
|
+
* authenticated organization.
|
|
32
|
+
*/
|
|
33
|
+
lincSessionId?: string;
|
|
24
34
|
/**
|
|
25
35
|
* Period end date. Defaults to now.
|
|
26
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../../src/resources/usage/v1/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,gBAAgB,4BAAwB;AACpD,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,EACd,4BAAwB;AACzB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE;;GAEG;AACH,qBAAa,EAAG,SAAQ,WAAW;IACjC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IAEjG;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOtG;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;IAErD,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../../src/resources/usage/v1/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,gBAAgB,4BAAwB;AACpD,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,EACd,4BAAwB;AACzB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE;;GAEG;AACH,qBAAa,EAAG,SAAQ,WAAW;IACjC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IAEjG;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOtG;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAElC;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;IAErD,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -21,6 +21,16 @@ export interface V1RetrieveParams {
|
|
|
21
21
|
* Whether to return period totals only or include daily buckets.
|
|
22
22
|
*/
|
|
23
23
|
granularity?: 'summary' | 'daily';
|
|
24
|
+
/**
|
|
25
|
+
* Optionally include usage groups keyed by native Linc session id. Only
|
|
26
|
+
* Linc-session-attributable usage is grouped.
|
|
27
|
+
*/
|
|
28
|
+
groupBy?: 'lincSessionId';
|
|
29
|
+
/**
|
|
30
|
+
* Restrict usage to a native Linc session. The session must belong to the
|
|
31
|
+
* authenticated organization.
|
|
32
|
+
*/
|
|
33
|
+
lincSessionId?: string;
|
|
24
34
|
/**
|
|
25
35
|
* Period end date. Defaults to now.
|
|
26
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/resources/usage/v1/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,gBAAgB,2BAAwB;AACpD,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,EACd,2BAAwB;AACzB,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE;;GAEG;AACH,qBAAa,EAAG,SAAQ,WAAW;IACjC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IAEjG;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOtG;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;IAErD,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/resources/usage/v1/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,gBA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B,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAenG,CAAC;IAbC;;;;;OAKG;IACH,QAAQ,CAAC,QAA6C,EAAE,EAAE,OAAwB;QAChF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;YACnC,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAhBD,gBAgBC;
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/resources/usage/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,6EAAoD;AACpD,sDAKyB;AAEzB,0DAAyD;AAGzD;;GAEG;AACH,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAenG,CAAC;IAbC;;;;;OAKG;IACH,QAAQ,CAAC,QAA6C,EAAE,EAAE,OAAwB;QAChF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;YACnC,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAhBD,gBAgBC;AA+BD,EAAE,CAAC,aAAa,GAAG,6BAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../../src/resources/usage/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,gBAAgB,4BA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,aAAa,GAAG,aAAa,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Vault-scoped event subscriptions and delivery testing
|
|
6
6
|
*/
|
|
7
7
|
export declare class Subscriptions extends APIResource {
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../../core/resource.js";
|
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Vault-scoped event subscriptions and delivery testing
|
|
6
6
|
*/
|
|
7
7
|
export declare class Subscriptions extends APIResource {
|
|
8
8
|
/**
|