casedev 0.0.1 → 0.2.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 +59 -0
- package/LICENSE +1 -1
- package/README.md +5 -6
- 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 +10 -11
- 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 +39 -5
- package/resources/ocr/v1.d.mts.map +1 -1
- package/resources/ocr/v1.d.ts +39 -5
- 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 +188 -15
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +188 -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 +193 -29
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +193 -29
- 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 +51 -2
- package/resources/voice/streaming.d.mts.map +1 -1
- package/resources/voice/streaming.d.ts +51 -2
- package/resources/voice/streaming.d.ts.map +1 -1
- package/resources/voice/streaming.js +2 -6
- package/resources/voice/streaming.js.map +1 -1
- package/resources/voice/streaming.mjs +2 -6
- 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 +50 -13
- 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 +244 -31
- package/src/resources/vault/vault.ts +237 -29
- package/src/resources/voice/index.ts +3 -2
- package/src/resources/voice/streaming.ts +64 -7
- 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.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as V1API from "./v1/v1.mjs";
|
|
3
|
-
import { V1,
|
|
3
|
+
import { V1, V1GetUsageParams, V1GetUsageResponse } from "./v1/v1.mjs";
|
|
4
4
|
export declare class Compute extends APIResource {
|
|
5
5
|
v1: V1API.V1;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Compute {
|
|
8
|
-
export { V1 as V1, type
|
|
8
|
+
export { V1 as V1, type V1GetUsageResponse as V1GetUsageResponse, type V1GetUsageParams as V1GetUsageParams, };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=compute.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.d.mts","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"compute.d.mts","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,gBAAgB,EAAE,kBAAkB,EAAE;AAEnD,qBAAa,OAAQ,SAAQ,WAAW;IACtC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as V1API from "./v1/v1.js";
|
|
3
|
-
import { V1,
|
|
3
|
+
import { V1, V1GetUsageParams, V1GetUsageResponse } from "./v1/v1.js";
|
|
4
4
|
export declare class Compute extends APIResource {
|
|
5
5
|
v1: V1API.V1;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Compute {
|
|
8
|
-
export { V1 as V1, type
|
|
8
|
+
export { V1 as V1, type V1GetUsageResponse as V1GetUsageResponse, type V1GetUsageParams as V1GetUsageParams, };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=compute.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAE,gBAAgB,EAAE,kBAAkB,EAAE;AAEnD,qBAAa,OAAQ,SAAQ,WAAW;IACtC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.js","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,0DAAiC;AACjC,
|
|
1
|
+
{"version":3,"file":"compute.js","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,0DAAiC;AACjC,mCAAmE;AAEnE,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAFD,0BAEC;AAED,OAAO,CAAC,EAAE,GAAG,OAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.mjs","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"compute.mjs","sourceRoot":"","sources":["../../src/resources/compute/compute.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,KAAK;OACV,EAAE,EAAE,EAAwC;AAEnD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EAAE,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EAAE,EAAE,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EAAE,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EAAE,EAAE,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,uCAAgF;AAAvE,2FAAA,EAAE,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/compute/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EAAE,EAAE,EAAkD"}
|
|
@@ -24,20 +24,22 @@ export declare class Environments extends APIResource {
|
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```ts
|
|
27
|
-
*
|
|
27
|
+
* const environment =
|
|
28
|
+
* await client.compute.v1.environments.retrieve('name');
|
|
28
29
|
* ```
|
|
29
30
|
*/
|
|
30
|
-
retrieve(name: string, options?: RequestOptions): APIPromise<
|
|
31
|
+
retrieve(name: string, options?: RequestOptions): APIPromise<EnvironmentRetrieveResponse>;
|
|
31
32
|
/**
|
|
32
33
|
* Retrieve all compute environments for your organization. Environments provide
|
|
33
34
|
* isolated execution contexts for running code and workflows.
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
36
37
|
* ```ts
|
|
37
|
-
*
|
|
38
|
+
* const environments =
|
|
39
|
+
* await client.compute.v1.environments.list();
|
|
38
40
|
* ```
|
|
39
41
|
*/
|
|
40
|
-
list(options?: RequestOptions): APIPromise<
|
|
42
|
+
list(options?: RequestOptions): APIPromise<EnvironmentListResponse>;
|
|
41
43
|
/**
|
|
42
44
|
* Permanently delete a compute environment and all its associated resources. This
|
|
43
45
|
* will stop all running deployments and clean up related configurations. The
|
|
@@ -59,12 +61,13 @@ export declare class Environments extends APIResource {
|
|
|
59
61
|
*
|
|
60
62
|
* @example
|
|
61
63
|
* ```ts
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
64
|
+
* const response =
|
|
65
|
+
* await client.compute.v1.environments.setDefault(
|
|
66
|
+
* 'prod-legal-docs',
|
|
67
|
+
* );
|
|
65
68
|
* ```
|
|
66
69
|
*/
|
|
67
|
-
setDefault(name: string, options?: RequestOptions): APIPromise<
|
|
70
|
+
setDefault(name: string, options?: RequestOptions): APIPromise<EnvironmentSetDefaultResponse>;
|
|
68
71
|
}
|
|
69
72
|
export interface EnvironmentCreateResponse {
|
|
70
73
|
/**
|
|
@@ -96,10 +99,117 @@ export interface EnvironmentCreateResponse {
|
|
|
96
99
|
*/
|
|
97
100
|
status?: 'active' | 'inactive';
|
|
98
101
|
}
|
|
102
|
+
export interface EnvironmentRetrieveResponse {
|
|
103
|
+
/**
|
|
104
|
+
* Unique environment identifier
|
|
105
|
+
*/
|
|
106
|
+
id?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Environment creation timestamp
|
|
109
|
+
*/
|
|
110
|
+
createdAt?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Environment domain URL
|
|
113
|
+
*/
|
|
114
|
+
domain?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Whether this is the default environment
|
|
117
|
+
*/
|
|
118
|
+
isDefault?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Environment name
|
|
121
|
+
*/
|
|
122
|
+
name?: string;
|
|
123
|
+
/**
|
|
124
|
+
* URL-safe environment slug
|
|
125
|
+
*/
|
|
126
|
+
slug?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Environment status (active, inactive, etc.)
|
|
129
|
+
*/
|
|
130
|
+
status?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Environment last update timestamp
|
|
133
|
+
*/
|
|
134
|
+
updatedAt?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface EnvironmentListResponse {
|
|
137
|
+
environments?: Array<EnvironmentListResponse.Environment>;
|
|
138
|
+
}
|
|
139
|
+
export declare namespace EnvironmentListResponse {
|
|
140
|
+
interface Environment {
|
|
141
|
+
/**
|
|
142
|
+
* Unique environment identifier
|
|
143
|
+
*/
|
|
144
|
+
id?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Environment creation timestamp
|
|
147
|
+
*/
|
|
148
|
+
createdAt?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Environment domain
|
|
151
|
+
*/
|
|
152
|
+
domain?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Whether this is the default environment
|
|
155
|
+
*/
|
|
156
|
+
isDefault?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Human-readable environment name
|
|
159
|
+
*/
|
|
160
|
+
name?: string;
|
|
161
|
+
/**
|
|
162
|
+
* URL-safe environment identifier
|
|
163
|
+
*/
|
|
164
|
+
slug?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Environment status
|
|
167
|
+
*/
|
|
168
|
+
status?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Last update timestamp
|
|
171
|
+
*/
|
|
172
|
+
updatedAt?: string;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
99
175
|
export interface EnvironmentDeleteResponse {
|
|
100
176
|
message: string;
|
|
101
177
|
success: boolean;
|
|
102
178
|
}
|
|
179
|
+
export interface EnvironmentSetDefaultResponse {
|
|
180
|
+
/**
|
|
181
|
+
* Unique environment identifier
|
|
182
|
+
*/
|
|
183
|
+
id?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Environment creation timestamp
|
|
186
|
+
*/
|
|
187
|
+
createdAt?: string;
|
|
188
|
+
/**
|
|
189
|
+
* Environment domain
|
|
190
|
+
*/
|
|
191
|
+
domain?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Whether this is the default environment
|
|
194
|
+
*/
|
|
195
|
+
isDefault?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Environment name
|
|
198
|
+
*/
|
|
199
|
+
name?: string;
|
|
200
|
+
/**
|
|
201
|
+
* URL-friendly environment identifier
|
|
202
|
+
*/
|
|
203
|
+
slug?: string;
|
|
204
|
+
/**
|
|
205
|
+
* Current environment status
|
|
206
|
+
*/
|
|
207
|
+
status?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Last update timestamp
|
|
210
|
+
*/
|
|
211
|
+
updatedAt?: string;
|
|
212
|
+
}
|
|
103
213
|
export interface EnvironmentCreateParams {
|
|
104
214
|
/**
|
|
105
215
|
* Environment name (alphanumeric, hyphens, and underscores only)
|
|
@@ -107,6 +217,6 @@ export interface EnvironmentCreateParams {
|
|
|
107
217
|
name: string;
|
|
108
218
|
}
|
|
109
219
|
export declare namespace Environments {
|
|
110
|
-
export { type EnvironmentCreateResponse as EnvironmentCreateResponse, type EnvironmentDeleteResponse as EnvironmentDeleteResponse, type EnvironmentCreateParams as EnvironmentCreateParams, };
|
|
220
|
+
export { type EnvironmentCreateResponse as EnvironmentCreateResponse, type EnvironmentRetrieveResponse as EnvironmentRetrieveResponse, type EnvironmentListResponse as EnvironmentListResponse, type EnvironmentDeleteResponse as EnvironmentDeleteResponse, type EnvironmentSetDefaultResponse as EnvironmentSetDefaultResponse, type EnvironmentCreateParams as EnvironmentCreateParams, };
|
|
111
221
|
}
|
|
112
222
|
//# sourceMappingURL=environments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environments.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/environments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;
|
|
1
|
+
{"version":3,"file":"environments.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/environments.ts"],"names":[],"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AAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -24,20 +24,22 @@ export declare class Environments extends APIResource {
|
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```ts
|
|
27
|
-
*
|
|
27
|
+
* const environment =
|
|
28
|
+
* await client.compute.v1.environments.retrieve('name');
|
|
28
29
|
* ```
|
|
29
30
|
*/
|
|
30
|
-
retrieve(name: string, options?: RequestOptions): APIPromise<
|
|
31
|
+
retrieve(name: string, options?: RequestOptions): APIPromise<EnvironmentRetrieveResponse>;
|
|
31
32
|
/**
|
|
32
33
|
* Retrieve all compute environments for your organization. Environments provide
|
|
33
34
|
* isolated execution contexts for running code and workflows.
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
36
37
|
* ```ts
|
|
37
|
-
*
|
|
38
|
+
* const environments =
|
|
39
|
+
* await client.compute.v1.environments.list();
|
|
38
40
|
* ```
|
|
39
41
|
*/
|
|
40
|
-
list(options?: RequestOptions): APIPromise<
|
|
42
|
+
list(options?: RequestOptions): APIPromise<EnvironmentListResponse>;
|
|
41
43
|
/**
|
|
42
44
|
* Permanently delete a compute environment and all its associated resources. This
|
|
43
45
|
* will stop all running deployments and clean up related configurations. The
|
|
@@ -59,12 +61,13 @@ export declare class Environments extends APIResource {
|
|
|
59
61
|
*
|
|
60
62
|
* @example
|
|
61
63
|
* ```ts
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
64
|
+
* const response =
|
|
65
|
+
* await client.compute.v1.environments.setDefault(
|
|
66
|
+
* 'prod-legal-docs',
|
|
67
|
+
* );
|
|
65
68
|
* ```
|
|
66
69
|
*/
|
|
67
|
-
setDefault(name: string, options?: RequestOptions): APIPromise<
|
|
70
|
+
setDefault(name: string, options?: RequestOptions): APIPromise<EnvironmentSetDefaultResponse>;
|
|
68
71
|
}
|
|
69
72
|
export interface EnvironmentCreateResponse {
|
|
70
73
|
/**
|
|
@@ -96,10 +99,117 @@ export interface EnvironmentCreateResponse {
|
|
|
96
99
|
*/
|
|
97
100
|
status?: 'active' | 'inactive';
|
|
98
101
|
}
|
|
102
|
+
export interface EnvironmentRetrieveResponse {
|
|
103
|
+
/**
|
|
104
|
+
* Unique environment identifier
|
|
105
|
+
*/
|
|
106
|
+
id?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Environment creation timestamp
|
|
109
|
+
*/
|
|
110
|
+
createdAt?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Environment domain URL
|
|
113
|
+
*/
|
|
114
|
+
domain?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Whether this is the default environment
|
|
117
|
+
*/
|
|
118
|
+
isDefault?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Environment name
|
|
121
|
+
*/
|
|
122
|
+
name?: string;
|
|
123
|
+
/**
|
|
124
|
+
* URL-safe environment slug
|
|
125
|
+
*/
|
|
126
|
+
slug?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Environment status (active, inactive, etc.)
|
|
129
|
+
*/
|
|
130
|
+
status?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Environment last update timestamp
|
|
133
|
+
*/
|
|
134
|
+
updatedAt?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface EnvironmentListResponse {
|
|
137
|
+
environments?: Array<EnvironmentListResponse.Environment>;
|
|
138
|
+
}
|
|
139
|
+
export declare namespace EnvironmentListResponse {
|
|
140
|
+
interface Environment {
|
|
141
|
+
/**
|
|
142
|
+
* Unique environment identifier
|
|
143
|
+
*/
|
|
144
|
+
id?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Environment creation timestamp
|
|
147
|
+
*/
|
|
148
|
+
createdAt?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Environment domain
|
|
151
|
+
*/
|
|
152
|
+
domain?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Whether this is the default environment
|
|
155
|
+
*/
|
|
156
|
+
isDefault?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Human-readable environment name
|
|
159
|
+
*/
|
|
160
|
+
name?: string;
|
|
161
|
+
/**
|
|
162
|
+
* URL-safe environment identifier
|
|
163
|
+
*/
|
|
164
|
+
slug?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Environment status
|
|
167
|
+
*/
|
|
168
|
+
status?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Last update timestamp
|
|
171
|
+
*/
|
|
172
|
+
updatedAt?: string;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
99
175
|
export interface EnvironmentDeleteResponse {
|
|
100
176
|
message: string;
|
|
101
177
|
success: boolean;
|
|
102
178
|
}
|
|
179
|
+
export interface EnvironmentSetDefaultResponse {
|
|
180
|
+
/**
|
|
181
|
+
* Unique environment identifier
|
|
182
|
+
*/
|
|
183
|
+
id?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Environment creation timestamp
|
|
186
|
+
*/
|
|
187
|
+
createdAt?: string;
|
|
188
|
+
/**
|
|
189
|
+
* Environment domain
|
|
190
|
+
*/
|
|
191
|
+
domain?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Whether this is the default environment
|
|
194
|
+
*/
|
|
195
|
+
isDefault?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Environment name
|
|
198
|
+
*/
|
|
199
|
+
name?: string;
|
|
200
|
+
/**
|
|
201
|
+
* URL-friendly environment identifier
|
|
202
|
+
*/
|
|
203
|
+
slug?: string;
|
|
204
|
+
/**
|
|
205
|
+
* Current environment status
|
|
206
|
+
*/
|
|
207
|
+
status?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Last update timestamp
|
|
210
|
+
*/
|
|
211
|
+
updatedAt?: string;
|
|
212
|
+
}
|
|
103
213
|
export interface EnvironmentCreateParams {
|
|
104
214
|
/**
|
|
105
215
|
* Environment name (alphanumeric, hyphens, and underscores only)
|
|
@@ -107,6 +217,6 @@ export interface EnvironmentCreateParams {
|
|
|
107
217
|
name: string;
|
|
108
218
|
}
|
|
109
219
|
export declare namespace Environments {
|
|
110
|
-
export { type EnvironmentCreateResponse as EnvironmentCreateResponse, type EnvironmentDeleteResponse as EnvironmentDeleteResponse, type EnvironmentCreateParams as EnvironmentCreateParams, };
|
|
220
|
+
export { type EnvironmentCreateResponse as EnvironmentCreateResponse, type EnvironmentRetrieveResponse as EnvironmentRetrieveResponse, type EnvironmentListResponse as EnvironmentListResponse, type EnvironmentDeleteResponse as EnvironmentDeleteResponse, type EnvironmentSetDefaultResponse as EnvironmentSetDefaultResponse, type EnvironmentCreateParams as EnvironmentCreateParams, };
|
|
111
221
|
}
|
|
112
222
|
//# sourceMappingURL=environments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/v1/environments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;
|
|
1
|
+
{"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../../src/resources/compute/v1/environments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO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C;CACd;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Environments = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
7
6
|
const path_1 = require("../../../internal/utils/path.js");
|
|
8
7
|
class Environments extends resource_1.APIResource {
|
|
9
8
|
/**
|
|
@@ -30,14 +29,12 @@ class Environments extends resource_1.APIResource {
|
|
|
30
29
|
*
|
|
31
30
|
* @example
|
|
32
31
|
* ```ts
|
|
33
|
-
*
|
|
32
|
+
* const environment =
|
|
33
|
+
* await client.compute.v1.environments.retrieve('name');
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
retrieve(name, options) {
|
|
37
|
-
return this._client.get((0, path_1.path) `/compute/v1/environments/${name}`,
|
|
38
|
-
...options,
|
|
39
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
40
|
-
});
|
|
37
|
+
return this._client.get((0, path_1.path) `/compute/v1/environments/${name}`, options);
|
|
41
38
|
}
|
|
42
39
|
/**
|
|
43
40
|
* Retrieve all compute environments for your organization. Environments provide
|
|
@@ -45,14 +42,12 @@ class Environments extends resource_1.APIResource {
|
|
|
45
42
|
*
|
|
46
43
|
* @example
|
|
47
44
|
* ```ts
|
|
48
|
-
*
|
|
45
|
+
* const environments =
|
|
46
|
+
* await client.compute.v1.environments.list();
|
|
49
47
|
* ```
|
|
50
48
|
*/
|
|
51
49
|
list(options) {
|
|
52
|
-
return this._client.get('/compute/v1/environments',
|
|
53
|
-
...options,
|
|
54
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
55
|
-
});
|
|
50
|
+
return this._client.get('/compute/v1/environments', options);
|
|
56
51
|
}
|
|
57
52
|
/**
|
|
58
53
|
* Permanently delete a compute environment and all its associated resources. This
|
|
@@ -77,16 +72,14 @@ class Environments extends resource_1.APIResource {
|
|
|
77
72
|
*
|
|
78
73
|
* @example
|
|
79
74
|
* ```ts
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
75
|
+
* const response =
|
|
76
|
+
* await client.compute.v1.environments.setDefault(
|
|
77
|
+
* 'prod-legal-docs',
|
|
78
|
+
* );
|
|
83
79
|
* ```
|
|
84
80
|
*/
|
|
85
81
|
setDefault(name, options) {
|
|
86
|
-
return this._client.post((0, path_1.path) `/compute/v1/environments/${name}/default`,
|
|
87
|
-
...options,
|
|
88
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
89
|
-
});
|
|
82
|
+
return this._client.post((0, path_1.path) `/compute/v1/environments/${name}/default`, options);
|
|
90
83
|
}
|
|
91
84
|
}
|
|
92
85
|
exports.Environments = Environments;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environments.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/environments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"environments.js","sourceRoot":"","sources":["../../../src/resources/compute/v1/environments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,4BAA4B,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAY,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,4BAA4B,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,IAAY,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,4BAA4B,IAAI,UAAU,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF;AAjFD,oCAiFC"}
|
|
@@ -1,6 +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
3
|
import { path } from "../../../internal/utils/path.mjs";
|
|
5
4
|
export class Environments extends APIResource {
|
|
6
5
|
/**
|
|
@@ -27,14 +26,12 @@ export class Environments extends APIResource {
|
|
|
27
26
|
*
|
|
28
27
|
* @example
|
|
29
28
|
* ```ts
|
|
30
|
-
*
|
|
29
|
+
* const environment =
|
|
30
|
+
* await client.compute.v1.environments.retrieve('name');
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
retrieve(name, options) {
|
|
34
|
-
return this._client.get(path `/compute/v1/environments/${name}`,
|
|
35
|
-
...options,
|
|
36
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
37
|
-
});
|
|
34
|
+
return this._client.get(path `/compute/v1/environments/${name}`, options);
|
|
38
35
|
}
|
|
39
36
|
/**
|
|
40
37
|
* Retrieve all compute environments for your organization. Environments provide
|
|
@@ -42,14 +39,12 @@ export class Environments extends APIResource {
|
|
|
42
39
|
*
|
|
43
40
|
* @example
|
|
44
41
|
* ```ts
|
|
45
|
-
*
|
|
42
|
+
* const environments =
|
|
43
|
+
* await client.compute.v1.environments.list();
|
|
46
44
|
* ```
|
|
47
45
|
*/
|
|
48
46
|
list(options) {
|
|
49
|
-
return this._client.get('/compute/v1/environments',
|
|
50
|
-
...options,
|
|
51
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
52
|
-
});
|
|
47
|
+
return this._client.get('/compute/v1/environments', options);
|
|
53
48
|
}
|
|
54
49
|
/**
|
|
55
50
|
* Permanently delete a compute environment and all its associated resources. This
|
|
@@ -74,16 +69,14 @@ export class Environments extends APIResource {
|
|
|
74
69
|
*
|
|
75
70
|
* @example
|
|
76
71
|
* ```ts
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
72
|
+
* const response =
|
|
73
|
+
* await client.compute.v1.environments.setDefault(
|
|
74
|
+
* 'prod-legal-docs',
|
|
75
|
+
* );
|
|
80
76
|
* ```
|
|
81
77
|
*/
|
|
82
78
|
setDefault(name, options) {
|
|
83
|
-
return this._client.post(path `/compute/v1/environments/${name}/default`,
|
|
84
|
-
...options,
|
|
85
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
86
|
-
});
|
|
79
|
+
return this._client.post(path `/compute/v1/environments/${name}/default`, options);
|
|
87
80
|
}
|
|
88
81
|
}
|
|
89
82
|
//# sourceMappingURL=environments.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environments.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/environments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"environments.mjs","sourceRoot":"","sources":["../../../src/resources/compute/v1/environments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAY,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,4BAA4B,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,IAAY,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,4BAA4B,IAAI,UAAU,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF"}
|
|
@@ -1,43 +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 Functions extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieves all serverless functions deployed in a specified compute environment.
|
|
7
|
-
* Functions can be used for custom document processing, AI model inference, or
|
|
8
|
-
* other computational tasks in legal workflows.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* await client.compute.v1.functions.list();
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
list(query?: FunctionListParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
16
|
-
/**
|
|
17
|
-
* Retrieve execution logs from a deployed serverless function. Logs include
|
|
18
|
-
* function output, errors, and runtime information. Useful for debugging and
|
|
19
|
-
* monitoring function performance in production.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* await client.compute.v1.functions.getLogs('id');
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
getLogs(id: string, query?: FunctionGetLogsParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
27
|
-
}
|
|
28
|
-
export interface FunctionListParams {
|
|
29
|
-
/**
|
|
30
|
-
* Environment name. If not specified, uses the default environment.
|
|
31
|
-
*/
|
|
32
|
-
env?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface FunctionGetLogsParams {
|
|
35
|
-
/**
|
|
36
|
-
* Number of log lines to retrieve (default 200, max 1000)
|
|
37
|
-
*/
|
|
38
|
-
tail?: number;
|
|
39
|
-
}
|
|
40
|
-
export declare namespace Functions {
|
|
41
|
-
export { type FunctionListParams as FunctionListParams, type FunctionGetLogsParams as FunctionGetLogsParams, };
|
|
42
3
|
}
|
|
43
4
|
//# sourceMappingURL=functions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/functions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"functions.d.mts","sourceRoot":"","sources":["../../../src/resources/compute/v1/functions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,SAAU,SAAQ,WAAW;CAAG"}
|