casedev 0.1.0 → 0.3.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 +44 -0
- package/LICENSE +1 -1
- package/README.md +3 -1
- package/client.d.mts +4 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -16
- package/client.d.ts.map +1 -1
- package/client.js +0 -12
- package/client.js.map +1 -1
- package/client.mjs +0 -12
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/compute/compute.d.mts +2 -2
- package/resources/compute/compute.d.mts.map +1 -1
- package/resources/compute/compute.d.ts +2 -2
- package/resources/compute/compute.d.ts.map +1 -1
- package/resources/compute/compute.js.map +1 -1
- package/resources/compute/compute.mjs.map +1 -1
- package/resources/compute/index.d.mts +1 -1
- package/resources/compute/index.d.mts.map +1 -1
- package/resources/compute/index.d.ts +1 -1
- package/resources/compute/index.d.ts.map +1 -1
- package/resources/compute/index.js.map +1 -1
- package/resources/compute/index.mjs.map +1 -1
- package/resources/compute/v1/environments.d.mts +119 -9
- package/resources/compute/v1/environments.d.mts.map +1 -1
- package/resources/compute/v1/environments.d.ts +119 -9
- package/resources/compute/v1/environments.d.ts.map +1 -1
- package/resources/compute/v1/environments.js +11 -18
- package/resources/compute/v1/environments.js.map +1 -1
- package/resources/compute/v1/environments.mjs +11 -18
- package/resources/compute/v1/environments.mjs.map +1 -1
- package/resources/compute/v1/functions.d.mts +0 -39
- package/resources/compute/v1/functions.d.mts.map +1 -1
- package/resources/compute/v1/functions.d.ts +0 -39
- package/resources/compute/v1/functions.d.ts.map +1 -1
- package/resources/compute/v1/functions.js +0 -36
- package/resources/compute/v1/functions.js.map +1 -1
- package/resources/compute/v1/functions.mjs +0 -36
- package/resources/compute/v1/functions.mjs.map +1 -1
- package/resources/compute/v1/index.d.mts +6 -6
- package/resources/compute/v1/index.d.mts.map +1 -1
- package/resources/compute/v1/index.d.ts +6 -6
- package/resources/compute/v1/index.d.ts.map +1 -1
- package/resources/compute/v1/index.js.map +1 -1
- package/resources/compute/v1/index.mjs.map +1 -1
- package/resources/compute/v1/invoke.d.mts +0 -69
- package/resources/compute/v1/invoke.d.mts.map +1 -1
- package/resources/compute/v1/invoke.d.ts +0 -69
- package/resources/compute/v1/invoke.d.ts.map +1 -1
- package/resources/compute/v1/invoke.js +0 -18
- package/resources/compute/v1/invoke.js.map +1 -1
- package/resources/compute/v1/invoke.mjs +0 -18
- package/resources/compute/v1/invoke.mjs.map +1 -1
- package/resources/compute/v1/runs.d.mts +0 -41
- package/resources/compute/v1/runs.d.mts.map +1 -1
- package/resources/compute/v1/runs.d.ts +0 -41
- package/resources/compute/v1/runs.d.ts.map +1 -1
- package/resources/compute/v1/runs.js +0 -35
- package/resources/compute/v1/runs.js.map +1 -1
- package/resources/compute/v1/runs.mjs +0 -35
- package/resources/compute/v1/runs.mjs.map +1 -1
- package/resources/compute/v1/secrets.d.mts +101 -19
- package/resources/compute/v1/secrets.d.mts.map +1 -1
- package/resources/compute/v1/secrets.d.ts +101 -19
- package/resources/compute/v1/secrets.d.ts.map +1 -1
- package/resources/compute/v1/secrets.js +19 -35
- package/resources/compute/v1/secrets.js.map +1 -1
- package/resources/compute/v1/secrets.mjs +19 -35
- package/resources/compute/v1/secrets.mjs.map +1 -1
- package/resources/compute/v1/v1.d.mts +40 -190
- package/resources/compute/v1/v1.d.mts.map +1 -1
- package/resources/compute/v1/v1.d.ts +40 -190
- package/resources/compute/v1/v1.d.ts.map +1 -1
- package/resources/compute/v1/v1.js +5 -26
- package/resources/compute/v1/v1.js.map +1 -1
- package/resources/compute/v1/v1.mjs +5 -26
- package/resources/compute/v1/v1.mjs.map +1 -1
- package/resources/format/v1/index.d.mts +1 -1
- package/resources/format/v1/index.d.mts.map +1 -1
- package/resources/format/v1/index.d.ts +1 -1
- package/resources/format/v1/index.d.ts.map +1 -1
- package/resources/format/v1/index.js.map +1 -1
- package/resources/format/v1/index.mjs.map +1 -1
- package/resources/format/v1/templates.d.mts +72 -3
- package/resources/format/v1/templates.d.mts.map +1 -1
- package/resources/format/v1/templates.d.ts +72 -3
- package/resources/format/v1/templates.d.ts.map +1 -1
- package/resources/format/v1/templates.js +2 -10
- package/resources/format/v1/templates.js.map +1 -1
- package/resources/format/v1/templates.mjs +2 -10
- package/resources/format/v1/templates.mjs.map +1 -1
- package/resources/format/v1/v1.d.mts +2 -2
- package/resources/format/v1/v1.d.mts.map +1 -1
- package/resources/format/v1/v1.d.ts +2 -2
- package/resources/format/v1/v1.d.ts.map +1 -1
- package/resources/format/v1/v1.js.map +1 -1
- package/resources/format/v1/v1.mjs +1 -1
- package/resources/format/v1/v1.mjs.map +1 -1
- package/resources/index.d.mts +2 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -9
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -4
- package/resources/index.mjs.map +1 -1
- package/resources/llm/index.d.mts +2 -2
- package/resources/llm/index.d.mts.map +1 -1
- package/resources/llm/index.d.ts +2 -2
- package/resources/llm/index.d.ts.map +1 -1
- package/resources/llm/index.js.map +1 -1
- package/resources/llm/index.mjs +1 -1
- package/resources/llm/index.mjs.map +1 -1
- package/resources/llm/llm.d.mts +36 -4
- package/resources/llm/llm.d.mts.map +1 -1
- package/resources/llm/llm.d.ts +36 -4
- package/resources/llm/llm.d.ts.map +1 -1
- package/resources/llm/llm.js +2 -6
- package/resources/llm/llm.js.map +1 -1
- package/resources/llm/llm.mjs +2 -6
- package/resources/llm/llm.mjs.map +1 -1
- package/resources/llm/v1/index.d.mts +1 -1
- package/resources/llm/v1/index.d.mts.map +1 -1
- package/resources/llm/v1/index.d.ts +1 -1
- package/resources/llm/v1/index.d.ts.map +1 -1
- package/resources/llm/v1/index.js.map +1 -1
- package/resources/llm/v1/index.mjs +1 -1
- package/resources/llm/v1/index.mjs.map +1 -1
- package/resources/llm/v1/v1.d.mts +66 -5
- package/resources/llm/v1/v1.d.mts.map +1 -1
- package/resources/llm/v1/v1.d.ts +66 -5
- package/resources/llm/v1/v1.d.ts.map +1 -1
- package/resources/llm/v1/v1.js +4 -12
- package/resources/llm/v1/v1.js.map +1 -1
- package/resources/llm/v1/v1.mjs +4 -12
- package/resources/llm/v1/v1.mjs.map +1 -1
- package/resources/ocr/index.d.mts +1 -1
- package/resources/ocr/index.d.mts.map +1 -1
- package/resources/ocr/index.d.ts +1 -1
- package/resources/ocr/index.d.ts.map +1 -1
- package/resources/ocr/index.js.map +1 -1
- package/resources/ocr/index.mjs +1 -1
- package/resources/ocr/index.mjs.map +1 -1
- package/resources/ocr/ocr.d.mts +2 -2
- package/resources/ocr/ocr.d.mts.map +1 -1
- package/resources/ocr/ocr.d.ts +2 -2
- package/resources/ocr/ocr.d.ts.map +1 -1
- package/resources/ocr/ocr.js.map +1 -1
- package/resources/ocr/ocr.mjs +1 -1
- package/resources/ocr/ocr.mjs.map +1 -1
- package/resources/ocr/v1.d.mts +61 -15
- package/resources/ocr/v1.d.mts.map +1 -1
- package/resources/ocr/v1.d.ts +61 -15
- package/resources/ocr/v1.d.ts.map +1 -1
- package/resources/ocr/v1.js +6 -11
- package/resources/ocr/v1.js.map +1 -1
- package/resources/ocr/v1.mjs +6 -11
- package/resources/ocr/v1.mjs.map +1 -1
- 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 +74 -2
- package/resources/search/v1.d.mts.map +1 -1
- package/resources/search/v1.d.ts +74 -2
- package/resources/search/v1.d.ts.map +1 -1
- package/resources/search/v1.js +1 -6
- package/resources/search/v1.js.map +1 -1
- package/resources/search/v1.mjs +1 -6
- package/resources/search/v1.mjs.map +1 -1
- package/resources/vault/graphrag.d.mts +39 -4
- package/resources/vault/graphrag.d.mts.map +1 -1
- package/resources/vault/graphrag.d.ts +39 -4
- package/resources/vault/graphrag.d.ts.map +1 -1
- package/resources/vault/graphrag.js +4 -11
- package/resources/vault/graphrag.js.map +1 -1
- package/resources/vault/graphrag.mjs +4 -11
- package/resources/vault/graphrag.mjs.map +1 -1
- package/resources/vault/index.d.mts +3 -3
- package/resources/vault/index.d.mts.map +1 -1
- package/resources/vault/index.d.ts +3 -3
- package/resources/vault/index.d.ts.map +1 -1
- package/resources/vault/index.js.map +1 -1
- package/resources/vault/index.mjs.map +1 -1
- package/resources/vault/objects.d.mts +193 -15
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +193 -15
- package/resources/vault/objects.d.ts.map +1 -1
- package/resources/vault/objects.js +17 -27
- package/resources/vault/objects.js.map +1 -1
- package/resources/vault/objects.mjs +17 -27
- package/resources/vault/objects.mjs.map +1 -1
- package/resources/vault/vault.d.mts +207 -30
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +207 -30
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js +11 -13
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs +11 -13
- package/resources/vault/vault.mjs.map +1 -1
- package/resources/voice/index.d.mts +3 -3
- package/resources/voice/index.d.mts.map +1 -1
- package/resources/voice/index.d.ts +3 -3
- package/resources/voice/index.d.ts.map +1 -1
- package/resources/voice/index.js.map +1 -1
- package/resources/voice/index.mjs.map +1 -1
- package/resources/voice/streaming.d.mts +52 -3
- package/resources/voice/streaming.d.mts.map +1 -1
- package/resources/voice/streaming.d.ts +52 -3
- package/resources/voice/streaming.d.ts.map +1 -1
- package/resources/voice/streaming.js +3 -7
- package/resources/voice/streaming.js.map +1 -1
- package/resources/voice/streaming.mjs +3 -7
- package/resources/voice/streaming.mjs.map +1 -1
- package/resources/voice/transcription.d.mts +82 -28
- package/resources/voice/transcription.d.mts.map +1 -1
- package/resources/voice/transcription.d.ts +82 -28
- package/resources/voice/transcription.d.ts.map +1 -1
- package/resources/voice/transcription.js +15 -16
- package/resources/voice/transcription.js.map +1 -1
- package/resources/voice/transcription.mjs +15 -16
- package/resources/voice/transcription.mjs.map +1 -1
- package/resources/voice/v1/index.d.mts +2 -2
- package/resources/voice/v1/index.d.mts.map +1 -1
- package/resources/voice/v1/index.d.ts +2 -2
- package/resources/voice/v1/index.d.ts.map +1 -1
- package/resources/voice/v1/index.js.map +1 -1
- package/resources/voice/v1/index.mjs.map +1 -1
- package/resources/voice/v1/speak.d.mts +1 -85
- package/resources/voice/v1/speak.d.mts.map +1 -1
- package/resources/voice/v1/speak.d.ts +1 -85
- package/resources/voice/v1/speak.d.ts.map +1 -1
- package/resources/voice/v1/speak.js +0 -24
- package/resources/voice/v1/speak.js.map +1 -1
- package/resources/voice/v1/speak.mjs +0 -24
- package/resources/voice/v1/speak.mjs.map +1 -1
- package/resources/voice/v1/v1.d.mts +48 -5
- package/resources/voice/v1/v1.d.mts.map +1 -1
- package/resources/voice/v1/v1.d.ts +48 -5
- package/resources/voice/v1/v1.d.ts.map +1 -1
- package/resources/voice/v1/v1.js +2 -7
- package/resources/voice/v1/v1.js.map +1 -1
- package/resources/voice/v1/v1.mjs +2 -7
- package/resources/voice/v1/v1.mjs.map +1 -1
- package/resources/voice/voice.d.mts +6 -6
- package/resources/voice/voice.d.mts.map +1 -1
- package/resources/voice/voice.d.ts +6 -6
- package/resources/voice/voice.d.ts.map +1 -1
- package/resources/voice/voice.js.map +1 -1
- package/resources/voice/voice.mjs +1 -1
- package/resources/voice/voice.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/v1.d.mts +0 -105
- package/resources/webhooks/v1.d.mts.map +1 -1
- package/resources/webhooks/v1.d.ts +0 -105
- package/resources/webhooks/v1.d.ts.map +1 -1
- package/resources/webhooks/v1.js +0 -75
- package/resources/webhooks/v1.js.map +1 -1
- package/resources/webhooks/v1.mjs +0 -75
- package/resources/webhooks/v1.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +2 -2
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +2 -2
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/src/client.ts +4 -22
- package/src/resources/compute/compute.ts +2 -3
- package/src/resources/compute/index.ts +1 -1
- package/src/resources/compute/v1/environments.ts +149 -21
- package/src/resources/compute/v1/functions.ts +1 -66
- package/src/resources/compute/v1/index.ts +11 -4
- package/src/resources/compute/v1/invoke.ts +1 -87
- package/src/resources/compute/v1/runs.ts +1 -61
- package/src/resources/compute/v1/secrets.ts +136 -39
- package/src/resources/compute/v1/v1.ts +54 -235
- package/src/resources/format/v1/index.ts +2 -0
- package/src/resources/format/v1/templates.ts +94 -12
- package/src/resources/format/v1/v1.ts +10 -1
- package/src/resources/index.ts +2 -5
- package/src/resources/llm/index.ts +7 -2
- package/src/resources/llm/llm.ts +50 -9
- package/src/resources/llm/v1/index.ts +6 -1
- package/src/resources/llm/v1/v1.ts +94 -15
- package/src/resources/ocr/index.ts +8 -1
- package/src/resources/ocr/ocr.ts +10 -1
- package/src/resources/ocr/v1.ts +69 -23
- package/src/resources/search/index.ts +1 -0
- package/src/resources/search/search.ts +2 -0
- package/src/resources/search/v1.ts +95 -7
- package/src/resources/vault/graphrag.ts +55 -13
- package/src/resources/vault/index.ts +6 -1
- package/src/resources/vault/objects.ts +250 -31
- package/src/resources/vault/vault.ts +253 -30
- package/src/resources/voice/index.ts +3 -2
- package/src/resources/voice/streaming.ts +65 -8
- package/src/resources/voice/transcription.ts +94 -34
- package/src/resources/voice/v1/index.ts +2 -2
- package/src/resources/voice/v1/speak.ts +1 -113
- package/src/resources/voice/v1/v1.ts +62 -15
- package/src/resources/voice/voice.ts +15 -5
- package/src/resources/webhooks/index.ts +1 -1
- package/src/resources/webhooks/v1.ts +1 -140
- package/src/resources/webhooks/webhooks.ts +2 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/actions/actions.d.mts +0 -10
- package/resources/actions/actions.d.mts.map +0 -1
- package/resources/actions/actions.d.ts +0 -10
- package/resources/actions/actions.d.ts.map +0 -1
- package/resources/actions/actions.js +0 -17
- package/resources/actions/actions.js.map +0 -1
- package/resources/actions/actions.mjs +0 -12
- package/resources/actions/actions.mjs.map +0 -1
- package/resources/actions/index.d.mts +0 -3
- package/resources/actions/index.d.mts.map +0 -1
- package/resources/actions/index.d.ts +0 -3
- package/resources/actions/index.d.ts.map +0 -1
- package/resources/actions/index.js +0 -9
- package/resources/actions/index.js.map +0 -1
- package/resources/actions/index.mjs +0 -4
- package/resources/actions/index.mjs.map +0 -1
- package/resources/actions/v1.d.mts +0 -122
- package/resources/actions/v1.d.mts.map +0 -1
- package/resources/actions/v1.d.ts +0 -122
- package/resources/actions/v1.d.ts.map +0 -1
- package/resources/actions/v1.js +0 -71
- package/resources/actions/v1.js.map +0 -1
- package/resources/actions/v1.mjs +0 -67
- package/resources/actions/v1.mjs.map +0 -1
- package/resources/actions.d.mts +0 -2
- package/resources/actions.d.mts.map +0 -1
- package/resources/actions.d.ts +0 -2
- package/resources/actions.d.ts.map +0 -1
- package/resources/actions.js +0 -6
- package/resources/actions.js.map +0 -1
- package/resources/actions.mjs +0 -3
- package/resources/actions.mjs.map +0 -1
- package/resources/convert/convert.d.mts +0 -10
- package/resources/convert/convert.d.mts.map +0 -1
- package/resources/convert/convert.d.ts +0 -10
- package/resources/convert/convert.d.ts.map +0 -1
- package/resources/convert/convert.js +0 -17
- package/resources/convert/convert.js.map +0 -1
- package/resources/convert/convert.mjs +0 -12
- package/resources/convert/convert.mjs.map +0 -1
- package/resources/convert/index.d.mts +0 -3
- package/resources/convert/index.d.mts.map +0 -1
- package/resources/convert/index.d.ts +0 -3
- package/resources/convert/index.d.ts.map +0 -1
- package/resources/convert/index.js +0 -9
- package/resources/convert/index.js.map +0 -1
- package/resources/convert/index.mjs +0 -4
- package/resources/convert/index.mjs.map +0 -1
- package/resources/convert/v1/index.d.mts +0 -3
- package/resources/convert/v1/index.d.mts.map +0 -1
- package/resources/convert/v1/index.d.ts +0 -3
- package/resources/convert/v1/index.d.ts.map +0 -1
- package/resources/convert/v1/index.js +0 -9
- package/resources/convert/v1/index.js.map +0 -1
- package/resources/convert/v1/index.mjs +0 -4
- package/resources/convert/v1/index.mjs.map +0 -1
- package/resources/convert/v1/jobs.d.mts +0 -17
- package/resources/convert/v1/jobs.d.mts.map +0 -1
- package/resources/convert/v1/jobs.d.ts +0 -17
- package/resources/convert/v1/jobs.d.ts.map +0 -1
- package/resources/convert/v1/jobs.js +0 -32
- package/resources/convert/v1/jobs.js.map +0 -1
- package/resources/convert/v1/jobs.mjs +0 -28
- package/resources/convert/v1/jobs.mjs.map +0 -1
- package/resources/convert/v1/v1.d.mts +0 -101
- package/resources/convert/v1/v1.d.mts.map +0 -1
- package/resources/convert/v1/v1.d.ts +0 -101
- package/resources/convert/v1/v1.d.ts.map +0 -1
- package/resources/convert/v1/v1.js +0 -52
- package/resources/convert/v1/v1.js.map +0 -1
- package/resources/convert/v1/v1.mjs +0 -47
- package/resources/convert/v1/v1.mjs.map +0 -1
- package/resources/convert/v1.d.mts +0 -2
- package/resources/convert/v1.d.mts.map +0 -1
- package/resources/convert/v1.d.ts +0 -2
- package/resources/convert/v1.d.ts.map +0 -1
- package/resources/convert/v1.js +0 -6
- package/resources/convert/v1.js.map +0 -1
- package/resources/convert/v1.mjs +0 -3
- package/resources/convert/v1.mjs.map +0 -1
- package/resources/convert.d.mts +0 -2
- package/resources/convert.d.mts.map +0 -1
- package/resources/convert.d.ts +0 -2
- package/resources/convert.d.ts.map +0 -1
- package/resources/convert.js +0 -6
- package/resources/convert.js.map +0 -1
- package/resources/convert.mjs +0 -3
- package/resources/convert.mjs.map +0 -1
- package/resources/templates/index.d.mts +0 -3
- package/resources/templates/index.d.mts.map +0 -1
- package/resources/templates/index.d.ts +0 -3
- package/resources/templates/index.d.ts.map +0 -1
- package/resources/templates/index.js +0 -9
- package/resources/templates/index.js.map +0 -1
- package/resources/templates/index.mjs +0 -4
- package/resources/templates/index.mjs.map +0 -1
- package/resources/templates/templates.d.mts +0 -10
- package/resources/templates/templates.d.mts.map +0 -1
- package/resources/templates/templates.d.ts +0 -10
- package/resources/templates/templates.d.ts.map +0 -1
- package/resources/templates/templates.js +0 -17
- package/resources/templates/templates.js.map +0 -1
- package/resources/templates/templates.mjs +0 -12
- package/resources/templates/templates.mjs.map +0 -1
- package/resources/templates/v1.d.mts +0 -128
- package/resources/templates/v1.d.mts.map +0 -1
- package/resources/templates/v1.d.ts +0 -128
- package/resources/templates/v1.d.ts.map +0 -1
- package/resources/templates/v1.js +0 -71
- package/resources/templates/v1.js.map +0 -1
- package/resources/templates/v1.mjs +0 -67
- package/resources/templates/v1.mjs.map +0 -1
- package/resources/templates.d.mts +0 -2
- package/resources/templates.d.mts.map +0 -1
- package/resources/templates.d.ts +0 -2
- package/resources/templates.d.ts.map +0 -1
- package/resources/templates.js +0 -6
- package/resources/templates.js.map +0 -1
- package/resources/templates.mjs +0 -3
- package/resources/templates.mjs.map +0 -1
- package/resources/workflows/index.d.mts +0 -3
- package/resources/workflows/index.d.mts.map +0 -1
- package/resources/workflows/index.d.ts +0 -3
- package/resources/workflows/index.d.ts.map +0 -1
- package/resources/workflows/index.js +0 -9
- package/resources/workflows/index.js.map +0 -1
- package/resources/workflows/index.mjs +0 -4
- package/resources/workflows/index.mjs.map +0 -1
- package/resources/workflows/v1.d.mts +0 -263
- package/resources/workflows/v1.d.mts.map +0 -1
- package/resources/workflows/v1.d.ts +0 -263
- package/resources/workflows/v1.d.ts.map +0 -1
- package/resources/workflows/v1.js +0 -128
- package/resources/workflows/v1.js.map +0 -1
- package/resources/workflows/v1.mjs +0 -124
- package/resources/workflows/v1.mjs.map +0 -1
- package/resources/workflows/workflows.d.mts +0 -10
- package/resources/workflows/workflows.d.mts.map +0 -1
- package/resources/workflows/workflows.d.ts +0 -10
- package/resources/workflows/workflows.d.ts.map +0 -1
- package/resources/workflows/workflows.js +0 -17
- package/resources/workflows/workflows.js.map +0 -1
- package/resources/workflows/workflows.mjs +0 -12
- package/resources/workflows/workflows.mjs.map +0 -1
- package/resources/workflows.d.mts +0 -2
- package/resources/workflows.d.mts.map +0 -1
- package/resources/workflows.d.ts +0 -2
- package/resources/workflows.d.ts.map +0 -1
- package/resources/workflows.js +0 -6
- package/resources/workflows.js.map +0 -1
- package/resources/workflows.mjs +0 -3
- package/resources/workflows.mjs.map +0 -1
- package/src/resources/actions/actions.ts +0 -21
- package/src/resources/actions/index.ts +0 -10
- package/src/resources/actions/v1.ts +0 -179
- package/src/resources/actions.ts +0 -3
- package/src/resources/convert/convert.ts +0 -21
- package/src/resources/convert/index.ts +0 -10
- package/src/resources/convert/v1/index.ts +0 -10
- package/src/resources/convert/v1/jobs.ts +0 -32
- package/src/resources/convert/v1/v1.ts +0 -141
- package/src/resources/convert/v1.ts +0 -3
- package/src/resources/convert.ts +0 -3
- package/src/resources/templates/index.ts +0 -10
- package/src/resources/templates/templates.ts +0 -21
- package/src/resources/templates/v1.ts +0 -187
- package/src/resources/templates.ts +0 -3
- package/src/resources/workflows/index.ts +0 -21
- package/src/resources/workflows/v1.ts +0 -407
- package/src/resources/workflows/workflows.ts +0 -49
- package/src/resources/workflows.ts +0 -3
|
@@ -3,43 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Functions = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
7
|
-
const path_1 = require("../../../internal/utils/path.js");
|
|
8
6
|
class Functions extends resource_1.APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves all serverless functions deployed in a specified compute environment.
|
|
11
|
-
* Functions can be used for custom document processing, AI model inference, or
|
|
12
|
-
* other computational tasks in legal workflows.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* await client.compute.v1.functions.list();
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
list(query = {}, options) {
|
|
20
|
-
return this._client.get('/compute/v1/functions', {
|
|
21
|
-
query,
|
|
22
|
-
...options,
|
|
23
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Retrieve execution logs from a deployed serverless function. Logs include
|
|
28
|
-
* function output, errors, and runtime information. Useful for debugging and
|
|
29
|
-
* monitoring function performance in production.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* await client.compute.v1.functions.getLogs('id');
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
getLogs(id, query = {}, options) {
|
|
37
|
-
return this._client.get((0, path_1.path) `/compute/v1/functions/${id}/logs`, {
|
|
38
|
-
query,
|
|
39
|
-
...options,
|
|
40
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
7
|
}
|
|
44
8
|
exports.Functions = Functions;
|
|
45
9
|
//# sourceMappingURL=functions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/functions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/functions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,SAAU,SAAQ,sBAAW;CAAG;AAA7C,8BAA6C"}
|
|
@@ -1,41 +1,5 @@
|
|
|
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 { path } from "../../../internal/utils/path.mjs";
|
|
5
3
|
export class Functions extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Retrieves all serverless functions deployed in a specified compute environment.
|
|
8
|
-
* Functions can be used for custom document processing, AI model inference, or
|
|
9
|
-
* other computational tasks in legal workflows.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* await client.compute.v1.functions.list();
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
list(query = {}, options) {
|
|
17
|
-
return this._client.get('/compute/v1/functions', {
|
|
18
|
-
query,
|
|
19
|
-
...options,
|
|
20
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Retrieve execution logs from a deployed serverless function. Logs include
|
|
25
|
-
* function output, errors, and runtime information. Useful for debugging and
|
|
26
|
-
* monitoring function performance in production.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* await client.compute.v1.functions.getLogs('id');
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
getLogs(id, query = {}, options) {
|
|
34
|
-
return this._client.get(path `/compute/v1/functions/${id}/logs`, {
|
|
35
|
-
query,
|
|
36
|
-
...options,
|
|
37
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
4
|
}
|
|
41
5
|
//# sourceMappingURL=functions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/functions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"functions.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/functions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,SAAU,SAAQ,WAAW;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Environments, type EnvironmentCreateResponse, type EnvironmentDeleteResponse, type EnvironmentCreateParams, } from "./environments.mjs";
|
|
2
|
-
export { Functions
|
|
3
|
-
export { Invoke
|
|
4
|
-
export { Runs
|
|
5
|
-
export { Secrets, type SecretCreateResponse, type SecretCreateParams, type SecretListParams, type SecretDeleteGroupParams, type SecretRetrieveGroupParams, type SecretUpdateGroupParams, } from "./secrets.mjs";
|
|
6
|
-
export { V1, type
|
|
1
|
+
export { Environments, type EnvironmentCreateResponse, type EnvironmentRetrieveResponse, type EnvironmentListResponse, type EnvironmentDeleteResponse, type EnvironmentSetDefaultResponse, type EnvironmentCreateParams, } from "./environments.mjs";
|
|
2
|
+
export { Functions } from "./functions.mjs";
|
|
3
|
+
export { Invoke } from "./invoke.mjs";
|
|
4
|
+
export { Runs } from "./runs.mjs";
|
|
5
|
+
export { Secrets, type SecretCreateResponse, type SecretListResponse, type SecretDeleteGroupResponse, type SecretRetrieveGroupResponse, type SecretUpdateGroupResponse, type SecretCreateParams, type SecretListParams, type SecretDeleteGroupParams, type SecretRetrieveGroupParams, type SecretUpdateGroupParams, } from "./secrets.mjs";
|
|
6
|
+
export { V1, type V1GetUsageResponse, type V1GetUsageParams } from "./v1.mjs";
|
|
7
7
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B;OACM,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,GAC7B;OACM,EAAE,SAAS,EAAE;OACb,EAAE,MAAM,EAAE;OACV,EAAE,IAAI,EAAE;OACR,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B;OACM,EAAE,EAAE,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Environments, type EnvironmentCreateResponse, type EnvironmentDeleteResponse, type EnvironmentCreateParams, } from "./environments.js";
|
|
2
|
-
export { Functions
|
|
3
|
-
export { Invoke
|
|
4
|
-
export { Runs
|
|
5
|
-
export { Secrets, type SecretCreateResponse, type SecretCreateParams, type SecretListParams, type SecretDeleteGroupParams, type SecretRetrieveGroupParams, type SecretUpdateGroupParams, } from "./secrets.js";
|
|
6
|
-
export { V1, type
|
|
1
|
+
export { Environments, type EnvironmentCreateResponse, type EnvironmentRetrieveResponse, type EnvironmentListResponse, type EnvironmentDeleteResponse, type EnvironmentSetDefaultResponse, type EnvironmentCreateParams, } from "./environments.js";
|
|
2
|
+
export { Functions } from "./functions.js";
|
|
3
|
+
export { Invoke } from "./invoke.js";
|
|
4
|
+
export { Runs } from "./runs.js";
|
|
5
|
+
export { Secrets, type SecretCreateResponse, type SecretListResponse, type SecretDeleteGroupResponse, type SecretRetrieveGroupResponse, type SecretUpdateGroupResponse, type SecretCreateParams, type SecretListParams, type SecretDeleteGroupParams, type SecretRetrieveGroupParams, type SecretUpdateGroupParams, } from "./secrets.js";
|
|
6
|
+
export { V1, type V1GetUsageResponse, type V1GetUsageParams } from "./v1.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B;OACM,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/v1/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,GAC7B;OACM,EAAE,SAAS,EAAE;OACb,EAAE,MAAM,EAAE;OACV,EAAE,IAAI,EAAE;OACR,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B;OACM,EAAE,EAAE,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAQwB;AAPtB,4GAAA,YAAY,OAAA;AAQd,4CAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,sCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,kCAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,wCAYmB;AAXjB,kGAAA,OAAO,OAAA;AAYT,8BAA0E;AAAjE,wFAAA,EAAE,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAOb;OACM,EAAE,SAAS,EAAE;OACb,EAAE,MAAM,EAAE;OACV,EAAE,IAAI,EAAE;OACR,EACL,OAAO,GAWR;OACM,EAAE,EAAE,EAAkD"}
|
|
@@ -1,73 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
2
|
export declare class Invoke extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Execute a deployed compute function with custom input data. Supports both
|
|
7
|
-
* synchronous and asynchronous execution modes. Functions can be invoked by ID or
|
|
8
|
-
* name and can process various types of input data for legal document analysis,
|
|
9
|
-
* data processing, or other computational tasks.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* const response = await client.compute.v1.invoke.run(
|
|
14
|
-
* 'func_abc123 or document-analyzer',
|
|
15
|
-
* { input: { foo: 'bar' } },
|
|
16
|
-
* );
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
run(functionID: string, body: InvokeRunParams, options?: RequestOptions): APIPromise<InvokeRunResponse>;
|
|
20
|
-
}
|
|
21
|
-
export type InvokeRunResponse = InvokeRunResponse.SynchronousResponse | InvokeRunResponse.AsynchronousResponse;
|
|
22
|
-
export declare namespace InvokeRunResponse {
|
|
23
|
-
interface SynchronousResponse {
|
|
24
|
-
/**
|
|
25
|
-
* Execution duration in milliseconds
|
|
26
|
-
*/
|
|
27
|
-
duration?: number;
|
|
28
|
-
/**
|
|
29
|
-
* Error message if status is failed
|
|
30
|
-
*/
|
|
31
|
-
error?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Function return value
|
|
34
|
-
*/
|
|
35
|
-
output?: unknown;
|
|
36
|
-
/**
|
|
37
|
-
* Unique run identifier
|
|
38
|
-
*/
|
|
39
|
-
runId?: string;
|
|
40
|
-
status?: 'completed' | 'failed';
|
|
41
|
-
}
|
|
42
|
-
interface AsynchronousResponse {
|
|
43
|
-
/**
|
|
44
|
-
* URL to check run status and logs
|
|
45
|
-
*/
|
|
46
|
-
logsUrl?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Unique run identifier
|
|
49
|
-
*/
|
|
50
|
-
runId?: string;
|
|
51
|
-
status?: 'running';
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export interface InvokeRunParams {
|
|
55
|
-
/**
|
|
56
|
-
* Input data to pass to the function
|
|
57
|
-
*/
|
|
58
|
-
input: {
|
|
59
|
-
[key: string]: unknown;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* If true, returns immediately with run ID for background execution
|
|
63
|
-
*/
|
|
64
|
-
async?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Override the auto-detected function suffix
|
|
67
|
-
*/
|
|
68
|
-
functionSuffix?: '_modal' | '_task' | '_web' | '_server';
|
|
69
|
-
}
|
|
70
|
-
export declare namespace Invoke {
|
|
71
|
-
export { type InvokeRunResponse as InvokeRunResponse, type InvokeRunParams as InvokeRunParams };
|
|
72
3
|
}
|
|
73
4
|
//# sourceMappingURL=invoke.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoke.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/invoke.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"invoke.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/invoke.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,MAAO,SAAQ,WAAW;CAAG"}
|
|
@@ -1,73 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
2
|
export declare class Invoke extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Execute a deployed compute function with custom input data. Supports both
|
|
7
|
-
* synchronous and asynchronous execution modes. Functions can be invoked by ID or
|
|
8
|
-
* name and can process various types of input data for legal document analysis,
|
|
9
|
-
* data processing, or other computational tasks.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* const response = await client.compute.v1.invoke.run(
|
|
14
|
-
* 'func_abc123 or document-analyzer',
|
|
15
|
-
* { input: { foo: 'bar' } },
|
|
16
|
-
* );
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
run(functionID: string, body: InvokeRunParams, options?: RequestOptions): APIPromise<InvokeRunResponse>;
|
|
20
|
-
}
|
|
21
|
-
export type InvokeRunResponse = InvokeRunResponse.SynchronousResponse | InvokeRunResponse.AsynchronousResponse;
|
|
22
|
-
export declare namespace InvokeRunResponse {
|
|
23
|
-
interface SynchronousResponse {
|
|
24
|
-
/**
|
|
25
|
-
* Execution duration in milliseconds
|
|
26
|
-
*/
|
|
27
|
-
duration?: number;
|
|
28
|
-
/**
|
|
29
|
-
* Error message if status is failed
|
|
30
|
-
*/
|
|
31
|
-
error?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Function return value
|
|
34
|
-
*/
|
|
35
|
-
output?: unknown;
|
|
36
|
-
/**
|
|
37
|
-
* Unique run identifier
|
|
38
|
-
*/
|
|
39
|
-
runId?: string;
|
|
40
|
-
status?: 'completed' | 'failed';
|
|
41
|
-
}
|
|
42
|
-
interface AsynchronousResponse {
|
|
43
|
-
/**
|
|
44
|
-
* URL to check run status and logs
|
|
45
|
-
*/
|
|
46
|
-
logsUrl?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Unique run identifier
|
|
49
|
-
*/
|
|
50
|
-
runId?: string;
|
|
51
|
-
status?: 'running';
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
export interface InvokeRunParams {
|
|
55
|
-
/**
|
|
56
|
-
* Input data to pass to the function
|
|
57
|
-
*/
|
|
58
|
-
input: {
|
|
59
|
-
[key: string]: unknown;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* If true, returns immediately with run ID for background execution
|
|
63
|
-
*/
|
|
64
|
-
async?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Override the auto-detected function suffix
|
|
67
|
-
*/
|
|
68
|
-
functionSuffix?: '_modal' | '_task' | '_web' | '_server';
|
|
69
|
-
}
|
|
70
|
-
export declare namespace Invoke {
|
|
71
|
-
export { type InvokeRunResponse as InvokeRunResponse, type InvokeRunParams as InvokeRunParams };
|
|
72
3
|
}
|
|
73
4
|
//# sourceMappingURL=invoke.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoke.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/v1/invoke.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"invoke.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/v1/invoke.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,MAAO,SAAQ,WAAW;CAAG"}
|
|
@@ -3,25 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Invoke = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const path_1 = require("../../../internal/utils/path.js");
|
|
7
6
|
class Invoke extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Execute a deployed compute function with custom input data. Supports both
|
|
10
|
-
* synchronous and asynchronous execution modes. Functions can be invoked by ID or
|
|
11
|
-
* name and can process various types of input data for legal document analysis,
|
|
12
|
-
* data processing, or other computational tasks.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* const response = await client.compute.v1.invoke.run(
|
|
17
|
-
* 'func_abc123 or document-analyzer',
|
|
18
|
-
* { input: { foo: 'bar' } },
|
|
19
|
-
* );
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
run(functionID, body, options) {
|
|
23
|
-
return this._client.post((0, path_1.path) `/compute/v1/invoke/${functionID}`, { body, ...options });
|
|
24
|
-
}
|
|
25
7
|
}
|
|
26
8
|
exports.Invoke = Invoke;
|
|
27
9
|
//# sourceMappingURL=invoke.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoke.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/invoke.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"invoke.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/invoke.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,MAAO,SAAQ,sBAAW;CAAG;AAA1C,wBAA0C"}
|
|
@@ -1,23 +1,5 @@
|
|
|
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 { path } from "../../../internal/utils/path.mjs";
|
|
4
3
|
export class Invoke extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Execute a deployed compute function with custom input data. Supports both
|
|
7
|
-
* synchronous and asynchronous execution modes. Functions can be invoked by ID or
|
|
8
|
-
* name and can process various types of input data for legal document analysis,
|
|
9
|
-
* data processing, or other computational tasks.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* const response = await client.compute.v1.invoke.run(
|
|
14
|
-
* 'func_abc123 or document-analyzer',
|
|
15
|
-
* { input: { foo: 'bar' } },
|
|
16
|
-
* );
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
run(functionID, body, options) {
|
|
20
|
-
return this._client.post(path `/compute/v1/invoke/${functionID}`, { body, ...options });
|
|
21
|
-
}
|
|
22
4
|
}
|
|
23
5
|
//# sourceMappingURL=invoke.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoke.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/invoke.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"invoke.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/invoke.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,MAAO,SAAQ,WAAW;CAAG"}
|
|
@@ -1,45 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
2
|
export declare class Runs extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieve detailed information about a specific compute function run, including
|
|
7
|
-
* execution status, input/output data, resource usage metrics, and cost
|
|
8
|
-
* information.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* await client.compute.v1.runs.retrieve('id');
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<void>;
|
|
16
|
-
/**
|
|
17
|
-
* Retrieve a list of recent compute runs for your organization. Filter by
|
|
18
|
-
* environment or function, and limit the number of results returned. Useful for
|
|
19
|
-
* monitoring serverless function executions and tracking performance metrics.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* await client.compute.v1.runs.list();
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
list(query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
27
|
-
}
|
|
28
|
-
export interface RunListParams {
|
|
29
|
-
/**
|
|
30
|
-
* Environment name to filter runs by
|
|
31
|
-
*/
|
|
32
|
-
env?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Function name to filter runs by
|
|
35
|
-
*/
|
|
36
|
-
function?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Maximum number of runs to return (1-100, default: 50)
|
|
39
|
-
*/
|
|
40
|
-
limit?: number;
|
|
41
|
-
}
|
|
42
|
-
export declare namespace Runs {
|
|
43
|
-
export { type RunListParams as RunListParams };
|
|
44
3
|
}
|
|
45
4
|
//# sourceMappingURL=runs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,IAAK,SAAQ,WAAW;CAAG"}
|
|
@@ -1,45 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
2
|
export declare class Runs extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieve detailed information about a specific compute function run, including
|
|
7
|
-
* execution status, input/output data, resource usage metrics, and cost
|
|
8
|
-
* information.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* await client.compute.v1.runs.retrieve('id');
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<void>;
|
|
16
|
-
/**
|
|
17
|
-
* Retrieve a list of recent compute runs for your organization. Filter by
|
|
18
|
-
* environment or function, and limit the number of results returned. Useful for
|
|
19
|
-
* monitoring serverless function executions and tracking performance metrics.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* await client.compute.v1.runs.list();
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
list(query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
27
|
-
}
|
|
28
|
-
export interface RunListParams {
|
|
29
|
-
/**
|
|
30
|
-
* Environment name to filter runs by
|
|
31
|
-
*/
|
|
32
|
-
env?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Function name to filter runs by
|
|
35
|
-
*/
|
|
36
|
-
function?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Maximum number of runs to return (1-100, default: 50)
|
|
39
|
-
*/
|
|
40
|
-
limit?: number;
|
|
41
|
-
}
|
|
42
|
-
export declare namespace Runs {
|
|
43
|
-
export { type RunListParams as RunListParams };
|
|
44
3
|
}
|
|
45
4
|
//# sourceMappingURL=runs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/v1/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/v1/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,IAAK,SAAQ,WAAW;CAAG"}
|
|
@@ -3,42 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Runs = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
7
|
-
const path_1 = require("../../../internal/utils/path.js");
|
|
8
6
|
class Runs extends resource_1.APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Retrieve detailed information about a specific compute function run, including
|
|
11
|
-
* execution status, input/output data, resource usage metrics, and cost
|
|
12
|
-
* information.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* await client.compute.v1.runs.retrieve('id');
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
retrieve(id, options) {
|
|
20
|
-
return this._client.get((0, path_1.path) `/compute/v1/runs/${id}`, {
|
|
21
|
-
...options,
|
|
22
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Retrieve a list of recent compute runs for your organization. Filter by
|
|
27
|
-
* environment or function, and limit the number of results returned. Useful for
|
|
28
|
-
* monitoring serverless function executions and tracking performance metrics.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* await client.compute.v1.runs.list();
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
list(query = {}, options) {
|
|
36
|
-
return this._client.get('/compute/v1/runs', {
|
|
37
|
-
query,
|
|
38
|
-
...options,
|
|
39
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
7
|
}
|
|
43
8
|
exports.Runs = Runs;
|
|
44
9
|
//# sourceMappingURL=runs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/runs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,
|
|
1
|
+
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/runs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,IAAK,SAAQ,sBAAW;CAAG;AAAxC,oBAAwC"}
|
|
@@ -1,40 +1,5 @@
|
|
|
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 { path } from "../../../internal/utils/path.mjs";
|
|
5
3
|
export class Runs extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Retrieve detailed information about a specific compute function run, including
|
|
8
|
-
* execution status, input/output data, resource usage metrics, and cost
|
|
9
|
-
* information.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* await client.compute.v1.runs.retrieve('id');
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
retrieve(id, options) {
|
|
17
|
-
return this._client.get(path `/compute/v1/runs/${id}`, {
|
|
18
|
-
...options,
|
|
19
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Retrieve a list of recent compute runs for your organization. Filter by
|
|
24
|
-
* environment or function, and limit the number of results returned. Useful for
|
|
25
|
-
* monitoring serverless function executions and tracking performance metrics.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* ```ts
|
|
29
|
-
* await client.compute.v1.runs.list();
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
list(query = {}, options) {
|
|
33
|
-
return this._client.get('/compute/v1/runs', {
|
|
34
|
-
query,
|
|
35
|
-
...options,
|
|
36
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
4
|
}
|
|
40
5
|
//# sourceMappingURL=runs.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/runs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"runs.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/runs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,IAAK,SAAQ,WAAW;CAAG"}
|