casedev 0.1.0 → 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 +32 -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 +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.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
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
4
|
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
-
import { buildHeaders } from '../../../internal/headers';
|
|
6
5
|
import { RequestOptions } from '../../../internal/request-options';
|
|
7
6
|
import { path } from '../../../internal/utils/path';
|
|
8
7
|
|
|
@@ -38,40 +37,34 @@ export class Secrets extends APIResource {
|
|
|
38
37
|
*
|
|
39
38
|
* @example
|
|
40
39
|
* ```ts
|
|
41
|
-
* await client.compute.v1.secrets.list();
|
|
40
|
+
* const secrets = await client.compute.v1.secrets.list();
|
|
42
41
|
* ```
|
|
43
42
|
*/
|
|
44
|
-
list(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
});
|
|
43
|
+
list(
|
|
44
|
+
query: SecretListParams | null | undefined = {},
|
|
45
|
+
options?: RequestOptions,
|
|
46
|
+
): APIPromise<SecretListResponse> {
|
|
47
|
+
return this._client.get('/compute/v1/secrets', { query, ...options });
|
|
50
48
|
}
|
|
51
49
|
|
|
52
50
|
/**
|
|
53
|
-
* Delete an entire secret group or a specific key within a secret group.
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* the entire group, all secrets and the group itself are removed from both the
|
|
57
|
-
* database and Modal.
|
|
51
|
+
* Delete an entire secret group or a specific key within a secret group. When
|
|
52
|
+
* deleting a specific key, the remaining secrets in the group are preserved. When
|
|
53
|
+
* deleting the entire group, all secrets and the group itself are removed.
|
|
58
54
|
*
|
|
59
55
|
* @example
|
|
60
56
|
* ```ts
|
|
61
|
-
*
|
|
57
|
+
* const response =
|
|
58
|
+
* await client.compute.v1.secrets.deleteGroup('group');
|
|
62
59
|
* ```
|
|
63
60
|
*/
|
|
64
61
|
deleteGroup(
|
|
65
62
|
group: string,
|
|
66
63
|
params: SecretDeleteGroupParams | null | undefined = {},
|
|
67
64
|
options?: RequestOptions,
|
|
68
|
-
): APIPromise<
|
|
65
|
+
): APIPromise<SecretDeleteGroupResponse> {
|
|
69
66
|
const { env, key } = params ?? {};
|
|
70
|
-
return this._client.delete(path`/compute/v1/secrets/${group}`, {
|
|
71
|
-
query: { env, key },
|
|
72
|
-
...options,
|
|
73
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
74
|
-
});
|
|
67
|
+
return this._client.delete(path`/compute/v1/secrets/${group}`, { query: { env, key }, ...options });
|
|
75
68
|
}
|
|
76
69
|
|
|
77
70
|
/**
|
|
@@ -81,40 +74,38 @@ export class Secrets extends APIResource {
|
|
|
81
74
|
*
|
|
82
75
|
* @example
|
|
83
76
|
* ```ts
|
|
84
|
-
*
|
|
77
|
+
* const response =
|
|
78
|
+
* await client.compute.v1.secrets.retrieveGroup('group');
|
|
85
79
|
* ```
|
|
86
80
|
*/
|
|
87
81
|
retrieveGroup(
|
|
88
82
|
group: string,
|
|
89
83
|
query: SecretRetrieveGroupParams | null | undefined = {},
|
|
90
84
|
options?: RequestOptions,
|
|
91
|
-
): APIPromise<
|
|
92
|
-
return this._client.get(path`/compute/v1/secrets/${group}`, {
|
|
93
|
-
query,
|
|
94
|
-
...options,
|
|
95
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
96
|
-
});
|
|
85
|
+
): APIPromise<SecretRetrieveGroupResponse> {
|
|
86
|
+
return this._client.get(path`/compute/v1/secrets/${group}`, { query, ...options });
|
|
97
87
|
}
|
|
98
88
|
|
|
99
89
|
/**
|
|
100
90
|
* Set or update secrets in a compute secret group. Secrets are encrypted with
|
|
101
|
-
* AES-256-GCM
|
|
102
|
-
*
|
|
91
|
+
* AES-256-GCM. Use this to manage environment variables and API keys for your
|
|
92
|
+
* compute workloads.
|
|
103
93
|
*
|
|
104
94
|
* @example
|
|
105
95
|
* ```ts
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
96
|
+
* const response =
|
|
97
|
+
* await client.compute.v1.secrets.updateGroup(
|
|
98
|
+
* 'litigation-apis',
|
|
99
|
+
* { secrets: { foo: 'string' } },
|
|
100
|
+
* );
|
|
110
101
|
* ```
|
|
111
102
|
*/
|
|
112
|
-
updateGroup(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
});
|
|
103
|
+
updateGroup(
|
|
104
|
+
group: string,
|
|
105
|
+
body: SecretUpdateGroupParams,
|
|
106
|
+
options?: RequestOptions,
|
|
107
|
+
): APIPromise<SecretUpdateGroupResponse> {
|
|
108
|
+
return this._client.put(path`/compute/v1/secrets/${group}`, { body, ...options });
|
|
118
109
|
}
|
|
119
110
|
}
|
|
120
111
|
|
|
@@ -140,6 +131,108 @@ export interface SecretCreateResponse {
|
|
|
140
131
|
name?: string;
|
|
141
132
|
}
|
|
142
133
|
|
|
134
|
+
export interface SecretListResponse {
|
|
135
|
+
groups?: Array<SecretListResponse.Group>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export namespace SecretListResponse {
|
|
139
|
+
export interface Group {
|
|
140
|
+
/**
|
|
141
|
+
* Unique identifier for the secret group
|
|
142
|
+
*/
|
|
143
|
+
id?: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* When the secret group was created
|
|
147
|
+
*/
|
|
148
|
+
createdAt?: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Description of the secret group
|
|
152
|
+
*/
|
|
153
|
+
description?: string;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Name of the secret group
|
|
157
|
+
*/
|
|
158
|
+
name?: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* When the secret group was last updated
|
|
162
|
+
*/
|
|
163
|
+
updatedAt?: string;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export interface SecretDeleteGroupResponse {
|
|
168
|
+
message?: string;
|
|
169
|
+
|
|
170
|
+
success?: boolean;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export interface SecretRetrieveGroupResponse {
|
|
174
|
+
group?: SecretRetrieveGroupResponse.Group;
|
|
175
|
+
|
|
176
|
+
keys?: Array<SecretRetrieveGroupResponse.Key>;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export namespace SecretRetrieveGroupResponse {
|
|
180
|
+
export interface Group {
|
|
181
|
+
/**
|
|
182
|
+
* Unique identifier of the secret group
|
|
183
|
+
*/
|
|
184
|
+
id?: string;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Description of the secret group
|
|
188
|
+
*/
|
|
189
|
+
description?: string;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Name of the secret group
|
|
193
|
+
*/
|
|
194
|
+
name?: string;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export interface Key {
|
|
198
|
+
/**
|
|
199
|
+
* When the secret was created
|
|
200
|
+
*/
|
|
201
|
+
createdAt?: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Name of the secret key
|
|
205
|
+
*/
|
|
206
|
+
key?: string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* When the secret was last updated
|
|
210
|
+
*/
|
|
211
|
+
updatedAt?: string;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export interface SecretUpdateGroupResponse {
|
|
216
|
+
/**
|
|
217
|
+
* Number of new secrets created
|
|
218
|
+
*/
|
|
219
|
+
created?: number;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Name of the secret group
|
|
223
|
+
*/
|
|
224
|
+
group?: string;
|
|
225
|
+
|
|
226
|
+
message?: string;
|
|
227
|
+
|
|
228
|
+
success?: boolean;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Number of existing secrets updated
|
|
232
|
+
*/
|
|
233
|
+
updated?: number;
|
|
234
|
+
}
|
|
235
|
+
|
|
143
236
|
export interface SecretCreateParams {
|
|
144
237
|
/**
|
|
145
238
|
* Unique name for the secret group. Must contain only letters, numbers, hyphens,
|
|
@@ -202,6 +295,10 @@ export interface SecretUpdateGroupParams {
|
|
|
202
295
|
export declare namespace Secrets {
|
|
203
296
|
export {
|
|
204
297
|
type SecretCreateResponse as SecretCreateResponse,
|
|
298
|
+
type SecretListResponse as SecretListResponse,
|
|
299
|
+
type SecretDeleteGroupResponse as SecretDeleteGroupResponse,
|
|
300
|
+
type SecretRetrieveGroupResponse as SecretRetrieveGroupResponse,
|
|
301
|
+
type SecretUpdateGroupResponse as SecretUpdateGroupResponse,
|
|
205
302
|
type SecretCreateParams as SecretCreateParams,
|
|
206
303
|
type SecretListParams as SecretListParams,
|
|
207
304
|
type SecretDeleteGroupParams as SecretDeleteGroupParams,
|
|
@@ -6,22 +6,29 @@ import {
|
|
|
6
6
|
EnvironmentCreateParams,
|
|
7
7
|
EnvironmentCreateResponse,
|
|
8
8
|
EnvironmentDeleteResponse,
|
|
9
|
+
EnvironmentListResponse,
|
|
10
|
+
EnvironmentRetrieveResponse,
|
|
11
|
+
EnvironmentSetDefaultResponse,
|
|
9
12
|
Environments,
|
|
10
13
|
} from './environments';
|
|
11
14
|
import * as FunctionsAPI from './functions';
|
|
12
|
-
import {
|
|
15
|
+
import { Functions } from './functions';
|
|
13
16
|
import * as InvokeAPI from './invoke';
|
|
14
|
-
import { Invoke
|
|
17
|
+
import { Invoke } from './invoke';
|
|
15
18
|
import * as RunsAPI from './runs';
|
|
16
|
-
import {
|
|
19
|
+
import { Runs } from './runs';
|
|
17
20
|
import * as SecretsAPI from './secrets';
|
|
18
21
|
import {
|
|
19
22
|
SecretCreateParams,
|
|
20
23
|
SecretCreateResponse,
|
|
21
24
|
SecretDeleteGroupParams,
|
|
25
|
+
SecretDeleteGroupResponse,
|
|
22
26
|
SecretListParams,
|
|
27
|
+
SecretListResponse,
|
|
23
28
|
SecretRetrieveGroupParams,
|
|
29
|
+
SecretRetrieveGroupResponse,
|
|
24
30
|
SecretUpdateGroupParams,
|
|
31
|
+
SecretUpdateGroupResponse,
|
|
25
32
|
Secrets,
|
|
26
33
|
} from './secrets';
|
|
27
34
|
import { APIPromise } from '../../../core/api-promise';
|
|
@@ -36,27 +43,9 @@ export class V1 extends APIResource {
|
|
|
36
43
|
secrets: SecretsAPI.Secrets = new SecretsAPI.Secrets(this._client);
|
|
37
44
|
|
|
38
45
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* endpoints) with automatic scaling.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* ```ts
|
|
46
|
-
* const response = await client.compute.v1.deploy({
|
|
47
|
-
* entrypointName: 'entrypointName',
|
|
48
|
-
* type: 'task',
|
|
49
|
-
* });
|
|
50
|
-
* ```
|
|
51
|
-
*/
|
|
52
|
-
deploy(body: V1DeployParams, options?: RequestOptions): APIPromise<V1DeployResponse> {
|
|
53
|
-
return this._client.post('/compute/v1/deploy', { body, ...options });
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Returns current pricing for GPU and CPU compute resources. This public endpoint
|
|
58
|
-
* provides detailed pricing information for all available compute types, including
|
|
59
|
-
* GPU instances and CPU cores, with billing model details.
|
|
46
|
+
* Returns current pricing for GPU instances. Prices are fetched in real-time and
|
|
47
|
+
* include a 20% platform fee. For detailed instance types and availability, use
|
|
48
|
+
* GET /compute/v1/instance-types.
|
|
60
49
|
*
|
|
61
50
|
* @example
|
|
62
51
|
* ```ts
|
|
@@ -77,223 +66,58 @@ export class V1 extends APIResource {
|
|
|
77
66
|
*
|
|
78
67
|
* @example
|
|
79
68
|
* ```ts
|
|
80
|
-
* await client.compute.v1.getUsage();
|
|
69
|
+
* const response = await client.compute.v1.getUsage();
|
|
81
70
|
* ```
|
|
82
71
|
*/
|
|
83
|
-
getUsage(
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
});
|
|
72
|
+
getUsage(
|
|
73
|
+
query: V1GetUsageParams | null | undefined = {},
|
|
74
|
+
options?: RequestOptions,
|
|
75
|
+
): APIPromise<V1GetUsageResponse> {
|
|
76
|
+
return this._client.get('/compute/v1/usage', { query, ...options });
|
|
89
77
|
}
|
|
90
78
|
}
|
|
91
79
|
|
|
92
|
-
export interface
|
|
93
|
-
|
|
94
|
-
* Deployment timestamp
|
|
95
|
-
*/
|
|
96
|
-
createdAt?: string;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Unique deployment identifier
|
|
100
|
-
*/
|
|
101
|
-
deploymentId?: string;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Environment name
|
|
105
|
-
*/
|
|
106
|
-
environment?: string;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Runtime used
|
|
110
|
-
*/
|
|
111
|
-
runtime?: string;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Deployment status
|
|
115
|
-
*/
|
|
116
|
-
status?: string;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Service endpoint URL (for web services)
|
|
120
|
-
*/
|
|
121
|
-
url?: string;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export interface V1DeployParams {
|
|
125
|
-
/**
|
|
126
|
-
* Function/app name (used for domain: hello → hello.org.case.systems)
|
|
127
|
-
*/
|
|
128
|
-
entrypointName: string;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Deployment type: task for batch jobs, service for web endpoints
|
|
132
|
-
*/
|
|
133
|
-
type: 'task' | 'service';
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* Python code (required for python runtime)
|
|
137
|
-
*/
|
|
138
|
-
code?: string;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Runtime and resource configuration
|
|
142
|
-
*/
|
|
143
|
-
config?: V1DeployParams.Config;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Dockerfile content (required for dockerfile runtime)
|
|
147
|
-
*/
|
|
148
|
-
dockerfile?: string;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Python entrypoint file name
|
|
152
|
-
*/
|
|
153
|
-
entrypointFile?: string;
|
|
80
|
+
export interface V1GetUsageResponse {
|
|
81
|
+
byEnvironment?: Array<V1GetUsageResponse.ByEnvironment>;
|
|
154
82
|
|
|
155
|
-
|
|
156
|
-
* Environment name (uses default if not specified)
|
|
157
|
-
*/
|
|
158
|
-
environment?: string;
|
|
83
|
+
period?: V1GetUsageResponse.Period;
|
|
159
84
|
|
|
160
|
-
|
|
161
|
-
* Container image name (required for image runtime, e.g.,
|
|
162
|
-
* 'nvidia/cuda:12.8.1-devel-ubuntu22.04')
|
|
163
|
-
*/
|
|
164
|
-
image?: string;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Runtime environment
|
|
168
|
-
*/
|
|
169
|
-
runtime?: 'python' | 'dockerfile' | 'image';
|
|
85
|
+
summary?: V1GetUsageResponse.Summary;
|
|
170
86
|
}
|
|
171
87
|
|
|
172
|
-
export namespace
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
*/
|
|
176
|
-
export interface Config {
|
|
177
|
-
/**
|
|
178
|
-
* Add Python to image (e.g., '3.12', for image runtime)
|
|
179
|
-
*/
|
|
180
|
-
addPython?: string;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Allow network access (default: false for Python, true for Docker)
|
|
184
|
-
*/
|
|
185
|
-
allowNetwork?: boolean;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Container command arguments
|
|
189
|
-
*/
|
|
190
|
-
cmd?: Array<string>;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Concurrent execution limit
|
|
194
|
-
*/
|
|
195
|
-
concurrency?: number;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* CPU core count
|
|
199
|
-
*/
|
|
200
|
-
cpuCount?: number;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Cron schedule for periodic execution
|
|
204
|
-
*/
|
|
205
|
-
cronSchedule?: string;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Python package dependencies (python runtime)
|
|
209
|
-
*/
|
|
210
|
-
dependencies?: Array<string>;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Container entrypoint command
|
|
214
|
-
*/
|
|
215
|
-
entrypoint?: Array<string>;
|
|
88
|
+
export namespace V1GetUsageResponse {
|
|
89
|
+
export interface ByEnvironment {
|
|
90
|
+
environment?: string;
|
|
216
91
|
|
|
217
|
-
|
|
218
|
-
* Environment variables
|
|
219
|
-
*/
|
|
220
|
-
env?: { [key: string]: string };
|
|
92
|
+
totalCostCents?: number;
|
|
221
93
|
|
|
222
|
-
|
|
223
|
-
* Number of GPUs (for multi-GPU setups)
|
|
224
|
-
*/
|
|
225
|
-
gpuCount?: number;
|
|
94
|
+
totalCostFormatted?: string;
|
|
226
95
|
|
|
227
|
-
|
|
228
|
-
* GPU type for acceleration
|
|
229
|
-
*/
|
|
230
|
-
gpuType?:
|
|
231
|
-
| 'cpu'
|
|
232
|
-
| 'T4'
|
|
233
|
-
| 'L4'
|
|
234
|
-
| 'A10G'
|
|
235
|
-
| 'L40S'
|
|
236
|
-
| 'A100'
|
|
237
|
-
| 'A100-40GB'
|
|
238
|
-
| 'A100-80GB'
|
|
239
|
-
| 'H100'
|
|
240
|
-
| 'H200'
|
|
241
|
-
| 'B200';
|
|
96
|
+
totalCpuSeconds?: number;
|
|
242
97
|
|
|
243
|
-
|
|
244
|
-
* Deploy as web service (auto-set for service type)
|
|
245
|
-
*/
|
|
246
|
-
isWebService?: boolean;
|
|
98
|
+
totalGpuSeconds?: number;
|
|
247
99
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
*/
|
|
251
|
-
memoryMb?: number;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Packages to pip install (image runtime)
|
|
255
|
-
*/
|
|
256
|
-
pipInstall?: Array<string>;
|
|
100
|
+
totalRuns?: number;
|
|
101
|
+
}
|
|
257
102
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
*/
|
|
261
|
-
port?: number;
|
|
103
|
+
export interface Period {
|
|
104
|
+
month?: number;
|
|
262
105
|
|
|
263
|
-
|
|
264
|
-
* Python version (e.g., '3.11')
|
|
265
|
-
*/
|
|
266
|
-
pythonVersion?: string;
|
|
106
|
+
monthName?: string;
|
|
267
107
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
*/
|
|
271
|
-
retries?: number;
|
|
108
|
+
year?: number;
|
|
109
|
+
}
|
|
272
110
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
*/
|
|
276
|
-
secretGroups?: Array<string>;
|
|
111
|
+
export interface Summary {
|
|
112
|
+
totalCostCents?: number;
|
|
277
113
|
|
|
278
|
-
|
|
279
|
-
* Maximum execution time
|
|
280
|
-
*/
|
|
281
|
-
timeoutSeconds?: number;
|
|
114
|
+
totalCostFormatted?: string;
|
|
282
115
|
|
|
283
|
-
|
|
284
|
-
* Use uv for faster package installs
|
|
285
|
-
*/
|
|
286
|
-
useUv?: boolean;
|
|
116
|
+
totalCpuHours?: number;
|
|
287
117
|
|
|
288
|
-
|
|
289
|
-
* Number of warm instances to maintain
|
|
290
|
-
*/
|
|
291
|
-
warmInstances?: number;
|
|
118
|
+
totalGpuHours?: number;
|
|
292
119
|
|
|
293
|
-
|
|
294
|
-
* Working directory in container
|
|
295
|
-
*/
|
|
296
|
-
workdir?: string;
|
|
120
|
+
totalRuns?: number;
|
|
297
121
|
}
|
|
298
122
|
}
|
|
299
123
|
|
|
@@ -316,36 +140,31 @@ V1.Runs = Runs;
|
|
|
316
140
|
V1.Secrets = Secrets;
|
|
317
141
|
|
|
318
142
|
export declare namespace V1 {
|
|
319
|
-
export {
|
|
320
|
-
type V1DeployResponse as V1DeployResponse,
|
|
321
|
-
type V1DeployParams as V1DeployParams,
|
|
322
|
-
type V1GetUsageParams as V1GetUsageParams,
|
|
323
|
-
};
|
|
143
|
+
export { type V1GetUsageResponse as V1GetUsageResponse, type V1GetUsageParams as V1GetUsageParams };
|
|
324
144
|
|
|
325
145
|
export {
|
|
326
146
|
Environments as Environments,
|
|
327
147
|
type EnvironmentCreateResponse as EnvironmentCreateResponse,
|
|
148
|
+
type EnvironmentRetrieveResponse as EnvironmentRetrieveResponse,
|
|
149
|
+
type EnvironmentListResponse as EnvironmentListResponse,
|
|
328
150
|
type EnvironmentDeleteResponse as EnvironmentDeleteResponse,
|
|
151
|
+
type EnvironmentSetDefaultResponse as EnvironmentSetDefaultResponse,
|
|
329
152
|
type EnvironmentCreateParams as EnvironmentCreateParams,
|
|
330
153
|
};
|
|
331
154
|
|
|
332
|
-
export {
|
|
333
|
-
Functions as Functions,
|
|
334
|
-
type FunctionListParams as FunctionListParams,
|
|
335
|
-
type FunctionGetLogsParams as FunctionGetLogsParams,
|
|
336
|
-
};
|
|
155
|
+
export { Functions as Functions };
|
|
337
156
|
|
|
338
|
-
export {
|
|
339
|
-
Invoke as Invoke,
|
|
340
|
-
type InvokeRunResponse as InvokeRunResponse,
|
|
341
|
-
type InvokeRunParams as InvokeRunParams,
|
|
342
|
-
};
|
|
157
|
+
export { Invoke as Invoke };
|
|
343
158
|
|
|
344
|
-
export { Runs as Runs
|
|
159
|
+
export { Runs as Runs };
|
|
345
160
|
|
|
346
161
|
export {
|
|
347
162
|
Secrets as Secrets,
|
|
348
163
|
type SecretCreateResponse as SecretCreateResponse,
|
|
164
|
+
type SecretListResponse as SecretListResponse,
|
|
165
|
+
type SecretDeleteGroupResponse as SecretDeleteGroupResponse,
|
|
166
|
+
type SecretRetrieveGroupResponse as SecretRetrieveGroupResponse,
|
|
167
|
+
type SecretUpdateGroupResponse as SecretUpdateGroupResponse,
|
|
349
168
|
type SecretCreateParams as SecretCreateParams,
|
|
350
169
|
type SecretListParams as SecretListParams,
|
|
351
170
|
type SecretDeleteGroupParams as SecretDeleteGroupParams,
|