modaic 0.1.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/FUNCTIONS.md +87 -0
- package/LICENSE +21 -0
- package/README.md +533 -0
- package/RUNTIMES.md +48 -0
- package/USAGE.md +19 -0
- package/esm/api/client.d.ts +48 -0
- package/esm/api/client.d.ts.map +1 -0
- package/esm/api/client.js +131 -0
- package/esm/api/client.js.map +1 -0
- package/esm/arbiter/arbiter.d.ts +100 -0
- package/esm/arbiter/arbiter.d.ts.map +1 -0
- package/esm/arbiter/arbiter.js +160 -0
- package/esm/arbiter/arbiter.js.map +1 -0
- package/esm/config.d.ts +22 -0
- package/esm/config.d.ts.map +1 -0
- package/esm/config.js +42 -0
- package/esm/config.js.map +1 -0
- package/esm/core.d.ts +10 -0
- package/esm/core.d.ts.map +1 -0
- package/esm/core.js +13 -0
- package/esm/core.js.map +1 -0
- package/esm/exceptions.d.ts +25 -0
- package/esm/exceptions.d.ts.map +1 -0
- package/esm/exceptions.js +37 -0
- package/esm/exceptions.js.map +1 -0
- package/esm/funcs/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.d.ts +20 -0
- package/esm/funcs/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.d.ts.map +1 -0
- package/esm/funcs/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.js +92 -0
- package/esm/funcs/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.js.map +1 -0
- package/esm/funcs/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.d.ts +18 -0
- package/esm/funcs/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.d.ts.map +1 -0
- package/esm/funcs/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.js +90 -0
- package/esm/funcs/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.js.map +1 -0
- package/esm/funcs/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.d.ts +23 -0
- package/esm/funcs/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.d.ts.map +1 -0
- package/esm/funcs/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.js +95 -0
- package/esm/funcs/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.js.map +1 -0
- package/esm/funcs/check-email-api-v1-user-check-email-get.d.ts +18 -0
- package/esm/funcs/check-email-api-v1-user-check-email-get.d.ts.map +1 -0
- package/esm/funcs/check-email-api-v1-user-check-email-get.js +82 -0
- package/esm/funcs/check-email-api-v1-user-check-email-get.js.map +1 -0
- package/esm/funcs/check-username-api-v1-user-check-username-username-get.d.ts +18 -0
- package/esm/funcs/check-username-api-v1-user-check-username-username-get.d.ts.map +1 -0
- package/esm/funcs/check-username-api-v1-user-check-username-username-get.js +85 -0
- package/esm/funcs/check-username-api-v1-user-check-username-username-get.js.map +1 -0
- package/esm/funcs/create-chat-completion-api-v1-arbiters-chat-completions-post.d.ts +15 -0
- package/esm/funcs/create-chat-completion-api-v1-arbiters-chat-completions-post.d.ts.map +1 -0
- package/esm/funcs/create-chat-completion-api-v1-arbiters-chat-completions-post.js +81 -0
- package/esm/funcs/create-chat-completion-api-v1-arbiters-chat-completions-post.js.map +1 -0
- package/esm/funcs/create-chat-completion-api-v1-chat-completions-post.d.ts +14 -0
- package/esm/funcs/create-chat-completion-api-v1-chat-completions-post.d.ts.map +1 -0
- package/esm/funcs/create-chat-completion-api-v1-chat-completions-post.js +70 -0
- package/esm/funcs/create-chat-completion-api-v1-chat-completions-post.js.map +1 -0
- package/esm/funcs/create-prediction-api-v1-arbiters-predictions-post.d.ts +15 -0
- package/esm/funcs/create-prediction-api-v1-arbiters-predictions-post.d.ts.map +1 -0
- package/esm/funcs/create-prediction-api-v1-arbiters-predictions-post.js +81 -0
- package/esm/funcs/create-prediction-api-v1-arbiters-predictions-post.js.map +1 -0
- package/esm/funcs/create-prediction-api-v2-arbiters-predictions-post.d.ts +23 -0
- package/esm/funcs/create-prediction-api-v2-arbiters-predictions-post.d.ts.map +1 -0
- package/esm/funcs/create-prediction-api-v2-arbiters-predictions-post.js +89 -0
- package/esm/funcs/create-prediction-api-v2-arbiters-predictions-post.js.map +1 -0
- package/esm/funcs/delete-examples-api-v1-examples-delete.d.ts +18 -0
- package/esm/funcs/delete-examples-api-v1-examples-delete.d.ts.map +1 -0
- package/esm/funcs/delete-examples-api-v1-examples-delete.js +84 -0
- package/esm/funcs/delete-examples-api-v1-examples-delete.js.map +1 -0
- package/esm/funcs/dispatch-prediction-api-v1-arbiters-predictions-dispatch-post.d.ts +15 -0
- package/esm/funcs/dispatch-prediction-api-v1-arbiters-predictions-dispatch-post.d.ts.map +1 -0
- package/esm/funcs/dispatch-prediction-api-v1-arbiters-predictions-dispatch-post.js +81 -0
- package/esm/funcs/dispatch-prediction-api-v1-arbiters-predictions-dispatch-post.js.map +1 -0
- package/esm/funcs/download-export-api-v1-examples-export-download-get.d.ts +18 -0
- package/esm/funcs/download-export-api-v1-examples-export-download-get.d.ts.map +1 -0
- package/esm/funcs/download-export-api-v1-examples-export-download-get.js +89 -0
- package/esm/funcs/download-export-api-v1-examples-export-download-get.js.map +1 -0
- package/esm/funcs/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.d.ts +23 -0
- package/esm/funcs/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.d.ts.map +1 -0
- package/esm/funcs/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.js +95 -0
- package/esm/funcs/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.js.map +1 -0
- package/esm/funcs/export-examples-api-v1-examples-export-post.d.ts +18 -0
- package/esm/funcs/export-examples-api-v1-examples-export-post.d.ts.map +1 -0
- package/esm/funcs/export-examples-api-v1-examples-export-post.js +84 -0
- package/esm/funcs/export-examples-api-v1-examples-export-post.js.map +1 -0
- package/esm/funcs/get-arbiter-api-v1-arbiters-get.d.ts +15 -0
- package/esm/funcs/get-arbiter-api-v1-arbiters-get.d.ts.map +1 -0
- package/esm/funcs/get-arbiter-api-v1-arbiters-get.js +84 -0
- package/esm/funcs/get-arbiter-api-v1-arbiters-get.js.map +1 -0
- package/esm/funcs/get-arbiter-schema-output-api-v1-arbiters-schema-get.d.ts +15 -0
- package/esm/funcs/get-arbiter-schema-output-api-v1-arbiters-schema-get.d.ts.map +1 -0
- package/esm/funcs/get-arbiter-schema-output-api-v1-arbiters-schema-get.js +85 -0
- package/esm/funcs/get-arbiter-schema-output-api-v1-arbiters-schema-get.js.map +1 -0
- package/esm/funcs/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.d.ts +29 -0
- package/esm/funcs/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.d.ts.map +1 -0
- package/esm/funcs/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.js +101 -0
- package/esm/funcs/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.js.map +1 -0
- package/esm/funcs/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.d.ts +18 -0
- package/esm/funcs/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.d.ts.map +1 -0
- package/esm/funcs/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.js +90 -0
- package/esm/funcs/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.js.map +1 -0
- package/esm/funcs/get-distinct-hashes-api-v1-examples-distinct-hashes-get.d.ts +18 -0
- package/esm/funcs/get-distinct-hashes-api-v1-examples-distinct-hashes-get.d.ts.map +1 -0
- package/esm/funcs/get-distinct-hashes-api-v1-examples-distinct-hashes-get.js +90 -0
- package/esm/funcs/get-distinct-hashes-api-v1-examples-distinct-hashes-get.js.map +1 -0
- package/esm/funcs/get-example-by-id-api-v1-examples-example-id-get.d.ts +16 -0
- package/esm/funcs/get-example-by-id-api-v1-examples-example-id-get.d.ts.map +1 -0
- package/esm/funcs/get-example-by-id-api-v1-examples-example-id-get.js +88 -0
- package/esm/funcs/get-example-by-id-api-v1-examples-example-id-get.js.map +1 -0
- package/esm/funcs/get-graded-count-api-v1-examples-graded-count-get.d.ts +20 -0
- package/esm/funcs/get-graded-count-api-v1-examples-graded-count-get.d.ts.map +1 -0
- package/esm/funcs/get-graded-count-api-v1-examples-graded-count-get.js +89 -0
- package/esm/funcs/get-graded-count-api-v1-examples-graded-count-get.js.map +1 -0
- package/esm/funcs/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.d.ts +21 -0
- package/esm/funcs/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.d.ts.map +1 -0
- package/esm/funcs/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.js +93 -0
- package/esm/funcs/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.js.map +1 -0
- package/esm/funcs/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.d.ts +25 -0
- package/esm/funcs/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.d.ts.map +1 -0
- package/esm/funcs/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.js +97 -0
- package/esm/funcs/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.js.map +1 -0
- package/esm/funcs/get-prediction-confidence-api-v1-arbiters-predictions-confidence-post.d.ts +24 -0
- package/esm/funcs/get-prediction-confidence-api-v1-arbiters-predictions-confidence-post.d.ts.map +1 -0
- package/esm/funcs/get-prediction-confidence-api-v1-arbiters-predictions-confidence-post.js +90 -0
- package/esm/funcs/get-prediction-confidence-api-v1-arbiters-predictions-confidence-post.js.map +1 -0
- package/esm/funcs/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.d.ts +22 -0
- package/esm/funcs/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.d.ts.map +1 -0
- package/esm/funcs/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.js +94 -0
- package/esm/funcs/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.js.map +1 -0
- package/esm/funcs/get-supported-models-api-v1-arbiters-supported-models-get.d.ts +13 -0
- package/esm/funcs/get-supported-models-api-v1-arbiters-supported-models-get.d.ts.map +1 -0
- package/esm/funcs/get-supported-models-api-v1-arbiters-supported-models-get.js +66 -0
- package/esm/funcs/get-supported-models-api-v1-arbiters-supported-models-get.js.map +1 -0
- package/esm/funcs/get-user-by-id-api-v1-user-user-id-get.d.ts +15 -0
- package/esm/funcs/get-user-by-id-api-v1-user-user-id-get.d.ts.map +1 -0
- package/esm/funcs/get-user-by-id-api-v1-user-user-id-get.js +81 -0
- package/esm/funcs/get-user-by-id-api-v1-user-user-id-get.js.map +1 -0
- package/esm/funcs/get-user-by-id-api-v2-users-id-user-id-get.d.ts +15 -0
- package/esm/funcs/get-user-by-id-api-v2-users-id-user-id-get.d.ts.map +1 -0
- package/esm/funcs/get-user-by-id-api-v2-users-id-user-id-get.js +81 -0
- package/esm/funcs/get-user-by-id-api-v2-users-id-user-id-get.js.map +1 -0
- package/esm/funcs/get-user-by-username-api-v1-user-username-username-get.d.ts +15 -0
- package/esm/funcs/get-user-by-username-api-v1-user-username-username-get.d.ts.map +1 -0
- package/esm/funcs/get-user-by-username-api-v1-user-username-username-get.js +82 -0
- package/esm/funcs/get-user-by-username-api-v1-user-username-username-get.js.map +1 -0
- package/esm/funcs/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.d.ts +20 -0
- package/esm/funcs/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.d.ts.map +1 -0
- package/esm/funcs/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.js +89 -0
- package/esm/funcs/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.js.map +1 -0
- package/esm/funcs/health-check-health-get.d.ts +13 -0
- package/esm/funcs/health-check-health-get.d.ts.map +1 -0
- package/esm/funcs/health-check-health-get.js +61 -0
- package/esm/funcs/health-check-health-get.js.map +1 -0
- package/esm/funcs/ingest-examples-api-v1-examples-post.d.ts +14 -0
- package/esm/funcs/ingest-examples-api-v1-examples-post.d.ts.map +1 -0
- package/esm/funcs/ingest-examples-api-v1-examples-post.js +70 -0
- package/esm/funcs/ingest-examples-api-v1-examples-post.js.map +1 -0
- package/esm/funcs/init-arbiter-api-v1-arbiters-post.d.ts +15 -0
- package/esm/funcs/init-arbiter-api-v1-arbiters-post.d.ts.map +1 -0
- package/esm/funcs/init-arbiter-api-v1-arbiters-post.js +81 -0
- package/esm/funcs/init-arbiter-api-v1-arbiters-post.js.map +1 -0
- package/esm/funcs/join-waitlist-api-v2-waitlist-post.d.ts +15 -0
- package/esm/funcs/join-waitlist-api-v2-waitlist-post.d.ts.map +1 -0
- package/esm/funcs/join-waitlist-api-v2-waitlist-post.js +76 -0
- package/esm/funcs/join-waitlist-api-v2-waitlist-post.js.map +1 -0
- package/esm/funcs/list-examples-api-v1-examples-get.d.ts +19 -0
- package/esm/funcs/list-examples-api-v1-examples-get.d.ts.map +1 -0
- package/esm/funcs/list-examples-api-v1-examples-get.js +100 -0
- package/esm/funcs/list-examples-api-v1-examples-get.js.map +1 -0
- package/esm/funcs/login-api-v1-auth-login-post.d.ts +21 -0
- package/esm/funcs/login-api-v1-auth-login-post.d.ts.map +1 -0
- package/esm/funcs/login-api-v1-auth-login-post.js +82 -0
- package/esm/funcs/login-api-v1-auth-login-post.js.map +1 -0
- package/esm/funcs/mfa-verify-api-v1-auth-mfa-verify-post.d.ts +22 -0
- package/esm/funcs/mfa-verify-api-v1-auth-mfa-verify-post.d.ts.map +1 -0
- package/esm/funcs/mfa-verify-api-v1-auth-mfa-verify-post.js +83 -0
- package/esm/funcs/mfa-verify-api-v1-auth-mfa-verify-post.js.map +1 -0
- package/esm/funcs/oauth-callback-api-v1-auth-callback-post.d.ts +21 -0
- package/esm/funcs/oauth-callback-api-v1-auth-callback-post.d.ts.map +1 -0
- package/esm/funcs/oauth-callback-api-v1-auth-callback-post.js +82 -0
- package/esm/funcs/oauth-callback-api-v1-auth-callback-post.js.map +1 -0
- package/esm/funcs/patch-example-api-v1-examples-example-id-annotation-patch.d.ts +18 -0
- package/esm/funcs/patch-example-api-v1-examples-example-id-annotation-patch.d.ts.map +1 -0
- package/esm/funcs/patch-example-api-v1-examples-example-id-annotation-patch.js +91 -0
- package/esm/funcs/patch-example-api-v1-examples-example-id-annotation-patch.js.map +1 -0
- package/esm/funcs/read-badge-badge-get.d.ts +21 -0
- package/esm/funcs/read-badge-badge-get.d.ts.map +1 -0
- package/esm/funcs/read-badge-badge-get.js +85 -0
- package/esm/funcs/read-badge-badge-get.js.map +1 -0
- package/esm/funcs/refresh-token-api-v1-auth-token-refresh-post.d.ts +16 -0
- package/esm/funcs/refresh-token-api-v1-auth-token-refresh-post.d.ts.map +1 -0
- package/esm/funcs/refresh-token-api-v1-auth-token-refresh-post.js +64 -0
- package/esm/funcs/refresh-token-api-v1-auth-token-refresh-post.js.map +1 -0
- package/esm/funcs/register-api-v1-auth-register-post.d.ts +21 -0
- package/esm/funcs/register-api-v1-auth-register-post.d.ts.map +1 -0
- package/esm/funcs/register-api-v1-auth-register-post.js +82 -0
- package/esm/funcs/register-api-v1-auth-register-post.js.map +1 -0
- package/esm/funcs/root-get.d.ts +13 -0
- package/esm/funcs/root-get.d.ts.map +1 -0
- package/esm/funcs/root-get.js +61 -0
- package/esm/funcs/root-get.js.map +1 -0
- package/esm/funcs/slack-callback-api-v1-notifications-slack-callback-get.d.ts +15 -0
- package/esm/funcs/slack-callback-api-v1-notifications-slack-callback-get.d.ts.map +1 -0
- package/esm/funcs/slack-callback-api-v1-notifications-slack-callback-get.js +82 -0
- package/esm/funcs/slack-callback-api-v1-notifications-slack-callback-get.js.map +1 -0
- package/esm/funcs/slack-interactions-api-v1-notifications-slack-interactions-post.d.ts +16 -0
- package/esm/funcs/slack-interactions-api-v1-notifications-slack-interactions-post.d.ts.map +1 -0
- package/esm/funcs/slack-interactions-api-v1-notifications-slack-interactions-post.js +64 -0
- package/esm/funcs/slack-interactions-api-v1-notifications-slack-interactions-post.js.map +1 -0
- package/esm/funcs/start-batch-predictions-job-api-v1-jobs-batch-predictions-post.d.ts +35 -0
- package/esm/funcs/start-batch-predictions-job-api-v1-jobs-batch-predictions-post.d.ts.map +1 -0
- package/esm/funcs/start-batch-predictions-job-api-v1-jobs-batch-predictions-post.js +101 -0
- package/esm/funcs/start-batch-predictions-job-api-v1-jobs-batch-predictions-post.js.map +1 -0
- package/esm/funcs/start-confidence-score-job-api-v1-jobs-confidence-scores-post.d.ts +19 -0
- package/esm/funcs/start-confidence-score-job-api-v1-jobs-confidence-scores-post.d.ts.map +1 -0
- package/esm/funcs/start-confidence-score-job-api-v1-jobs-confidence-scores-post.js +85 -0
- package/esm/funcs/start-confidence-score-job-api-v1-jobs-confidence-scores-post.js.map +1 -0
- package/esm/funcs/start-optimization-job-api-v1-jobs-gepa-post.d.ts +23 -0
- package/esm/funcs/start-optimization-job-api-v1-jobs-gepa-post.d.ts.map +1 -0
- package/esm/funcs/start-optimization-job-api-v1-jobs-gepa-post.js +89 -0
- package/esm/funcs/start-optimization-job-api-v1-jobs-gepa-post.js.map +1 -0
- package/esm/funcs/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.d.ts +32 -0
- package/esm/funcs/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.d.ts.map +1 -0
- package/esm/funcs/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.js +104 -0
- package/esm/funcs/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.js.map +1 -0
- package/esm/funcs/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.d.ts +18 -0
- package/esm/funcs/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.d.ts.map +1 -0
- package/esm/funcs/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.js +90 -0
- package/esm/funcs/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.js.map +1 -0
- package/esm/funcs/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.d.ts +29 -0
- package/esm/funcs/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.d.ts.map +1 -0
- package/esm/funcs/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.js +101 -0
- package/esm/funcs/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.js.map +1 -0
- package/esm/funcs/update-arbiter-metadata-api-v1-arbiters-metadata-patch.d.ts +18 -0
- package/esm/funcs/update-arbiter-metadata-api-v1-arbiters-metadata-patch.d.ts.map +1 -0
- package/esm/funcs/update-arbiter-metadata-api-v1-arbiters-metadata-patch.js +84 -0
- package/esm/funcs/update-arbiter-metadata-api-v1-arbiters-metadata-patch.js.map +1 -0
- package/esm/funcs/validate-invite-code-api-v1-auth-validate-invite-code-post.d.ts +18 -0
- package/esm/funcs/validate-invite-code-api-v1-auth-validate-invite-code-post.d.ts.map +1 -0
- package/esm/funcs/validate-invite-code-api-v1-auth-validate-invite-code-post.js +79 -0
- package/esm/funcs/validate-invite-code-api-v1-auth-validate-invite-code-post.js.map +1 -0
- package/esm/funcs/webhooks-stripe-webhook-api-v1-payments-webhooks-stripe-post.d.ts +13 -0
- package/esm/funcs/webhooks-stripe-webhook-api-v1-payments-webhooks-stripe-post.d.ts.map +1 -0
- package/esm/funcs/webhooks-stripe-webhook-api-v1-payments-webhooks-stripe-post.js +61 -0
- package/esm/funcs/webhooks-stripe-webhook-api-v1-payments-webhooks-stripe-post.js.map +1 -0
- package/esm/git/push.d.ts +37 -0
- package/esm/git/push.d.ts.map +1 -0
- package/esm/git/push.js +113 -0
- package/esm/git/push.js.map +1 -0
- package/esm/hooks/hooks.d.ts +25 -0
- package/esm/hooks/hooks.d.ts.map +1 -0
- package/esm/hooks/hooks.js +80 -0
- package/esm/hooks/hooks.js.map +1 -0
- package/esm/hooks/index.d.ts +3 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +6 -0
- package/esm/hooks/index.js.map +1 -0
- package/esm/hooks/types.d.ts +76 -0
- package/esm/hooks/types.d.ts.map +1 -0
- package/esm/hooks/types.js +5 -0
- package/esm/hooks/types.js.map +1 -0
- package/esm/index.d.ts +7 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +24 -0
- package/esm/index.js.map +1 -0
- package/esm/lib/base64.d.ts +10 -0
- package/esm/lib/base64.d.ts.map +1 -0
- package/esm/lib/base64.js +31 -0
- package/esm/lib/base64.js.map +1 -0
- package/esm/lib/config.d.ts +38 -0
- package/esm/lib/config.d.ts.map +1 -0
- package/esm/lib/config.js +31 -0
- package/esm/lib/config.js.map +1 -0
- package/esm/lib/dlv.d.ts +14 -0
- package/esm/lib/dlv.d.ts.map +1 -0
- package/esm/lib/dlv.js +46 -0
- package/esm/lib/dlv.js.map +1 -0
- package/esm/lib/encodings.d.ts +54 -0
- package/esm/lib/encodings.d.ts.map +1 -0
- package/esm/lib/encodings.js +391 -0
- package/esm/lib/encodings.js.map +1 -0
- package/esm/lib/env.d.ts +15 -0
- package/esm/lib/env.d.ts.map +1 -0
- package/esm/lib/env.js +44 -0
- package/esm/lib/env.js.map +1 -0
- package/esm/lib/files.d.ts +26 -0
- package/esm/lib/files.d.ts.map +1 -0
- package/esm/lib/files.js +91 -0
- package/esm/lib/files.js.map +1 -0
- package/esm/lib/http.d.ts +67 -0
- package/esm/lib/http.d.ts.map +1 -0
- package/esm/lib/http.js +209 -0
- package/esm/lib/http.js.map +1 -0
- package/esm/lib/is-plain-object.d.ts +2 -0
- package/esm/lib/is-plain-object.d.ts.map +1 -0
- package/esm/lib/is-plain-object.js +38 -0
- package/esm/lib/is-plain-object.js.map +1 -0
- package/esm/lib/logger.d.ts +6 -0
- package/esm/lib/logger.d.ts.map +1 -0
- package/esm/lib/logger.js +5 -0
- package/esm/lib/logger.js.map +1 -0
- package/esm/lib/matchers.d.ts +59 -0
- package/esm/lib/matchers.d.ts.map +1 -0
- package/esm/lib/matchers.js +202 -0
- package/esm/lib/matchers.js.map +1 -0
- package/esm/lib/primitives.d.ts +26 -0
- package/esm/lib/primitives.d.ts.map +1 -0
- package/esm/lib/primitives.js +103 -0
- package/esm/lib/primitives.js.map +1 -0
- package/esm/lib/retries.d.ts +38 -0
- package/esm/lib/retries.d.ts.map +1 -0
- package/esm/lib/retries.js +150 -0
- package/esm/lib/retries.js.map +1 -0
- package/esm/lib/schemas.d.ts +21 -0
- package/esm/lib/schemas.d.ts.map +1 -0
- package/esm/lib/schemas.js +57 -0
- package/esm/lib/schemas.js.map +1 -0
- package/esm/lib/sdks.d.ts +63 -0
- package/esm/lib/sdks.d.ts.map +1 -0
- package/esm/lib/sdks.js +260 -0
- package/esm/lib/sdks.js.map +1 -0
- package/esm/lib/security.d.ts +83 -0
- package/esm/lib/security.d.ts.map +1 -0
- package/esm/lib/security.js +149 -0
- package/esm/lib/security.js.map +1 -0
- package/esm/lib/url.d.ts +5 -0
- package/esm/lib/url.d.ts.map +1 -0
- package/esm/lib/url.js +24 -0
- package/esm/lib/url.js.map +1 -0
- package/esm/main.d.ts +3 -0
- package/esm/main.d.ts.map +1 -0
- package/esm/main.js +20 -0
- package/esm/main.js.map +1 -0
- package/esm/modaic/api.d.ts +48 -0
- package/esm/modaic/api.d.ts.map +1 -0
- package/esm/modaic/api.js +131 -0
- package/esm/modaic/api.js.map +1 -0
- package/esm/modaic/arbiter.d.ts +101 -0
- package/esm/modaic/arbiter.d.ts.map +1 -0
- package/esm/modaic/arbiter.js +161 -0
- package/esm/modaic/arbiter.js.map +1 -0
- package/esm/modaic/git.d.ts +59 -0
- package/esm/modaic/git.d.ts.map +1 -0
- package/esm/modaic/git.js +193 -0
- package/esm/modaic/git.js.map +1 -0
- package/esm/modaic/index.d.ts +19 -0
- package/esm/modaic/index.d.ts.map +1 -0
- package/esm/modaic/index.js +19 -0
- package/esm/modaic/index.js.map +1 -0
- package/esm/modaic/runtime.d.ts +51 -0
- package/esm/modaic/runtime.d.ts.map +1 -0
- package/esm/modaic/runtime.js +88 -0
- package/esm/modaic/runtime.js.map +1 -0
- package/esm/modaic/serialization.d.ts +197 -0
- package/esm/modaic/serialization.d.ts.map +1 -0
- package/esm/modaic/serialization.js +389 -0
- package/esm/modaic/serialization.js.map +1 -0
- package/esm/modaic/signatures.d.ts +135 -0
- package/esm/modaic/signatures.d.ts.map +1 -0
- package/esm/modaic/signatures.js +290 -0
- package/esm/modaic/signatures.js.map +1 -0
- package/esm/models/annotate-example-request.d.ts +16 -0
- package/esm/models/annotate-example-request.d.ts.map +1 -0
- package/esm/models/annotate-example-request.js +13 -0
- package/esm/models/annotate-example-request.js.map +1 -0
- package/esm/models/arbiter-request.d.ts +18 -0
- package/esm/models/arbiter-request.d.ts.map +1 -0
- package/esm/models/arbiter-request.js +23 -0
- package/esm/models/arbiter-request.js.map +1 -0
- package/esm/models/batch-arbiter.d.ts +14 -0
- package/esm/models/batch-arbiter.d.ts.map +1 -0
- package/esm/models/batch-arbiter.js +19 -0
- package/esm/models/batch-arbiter.js.map +1 -0
- package/esm/models/batch-example.d.ts +51 -0
- package/esm/models/batch-example.d.ts.map +1 -0
- package/esm/models/batch-example.js +30 -0
- package/esm/models/batch-example.js.map +1 -0
- package/esm/models/batch-predictions-job-request.d.ts +30 -0
- package/esm/models/batch-predictions-job-request.d.ts.map +1 -0
- package/esm/models/batch-predictions-job-request.js +23 -0
- package/esm/models/batch-predictions-job-request.js.map +1 -0
- package/esm/models/chat-completion-choice.d.ts +13 -0
- package/esm/models/chat-completion-choice.d.ts.map +1 -0
- package/esm/models/chat-completion-choice.js +22 -0
- package/esm/models/chat-completion-choice.js.map +1 -0
- package/esm/models/chat-completion-request.d.ts +45 -0
- package/esm/models/chat-completion-request.d.ts.map +1 -0
- package/esm/models/chat-completion-request.js +39 -0
- package/esm/models/chat-completion-request.js.map +1 -0
- package/esm/models/chat-completion-response.d.ts +18 -0
- package/esm/models/chat-completion-response.d.ts.map +1 -0
- package/esm/models/chat-completion-response.js +27 -0
- package/esm/models/chat-completion-response.js.map +1 -0
- package/esm/models/chat-message.d.ts +27 -0
- package/esm/models/chat-message.d.ts.map +1 -0
- package/esm/models/chat-message.js +37 -0
- package/esm/models/chat-message.js.map +1 -0
- package/esm/models/completion-usage.d.ts +12 -0
- package/esm/models/completion-usage.d.ts.map +1 -0
- package/esm/models/completion-usage.js +23 -0
- package/esm/models/completion-usage.js.map +1 -0
- package/esm/models/confidence-score-job-request.d.ts +12 -0
- package/esm/models/confidence-score-job-request.d.ts.map +1 -0
- package/esm/models/confidence-score-job-request.js +17 -0
- package/esm/models/confidence-score-job-request.js.map +1 -0
- package/esm/models/confidence-status-response.d.ts +22 -0
- package/esm/models/confidence-status-response.d.ts.map +1 -0
- package/esm/models/confidence-status-response.js +30 -0
- package/esm/models/confidence-status-response.js.map +1 -0
- package/esm/models/delete-examples-request.d.ts +17 -0
- package/esm/models/delete-examples-request.d.ts.map +1 -0
- package/esm/models/delete-examples-request.js +19 -0
- package/esm/models/delete-examples-request.js.map +1 -0
- package/esm/models/dispatch-prediction-request.d.ts +33 -0
- package/esm/models/dispatch-prediction-request.d.ts.map +1 -0
- package/esm/models/dispatch-prediction-request.js +21 -0
- package/esm/models/dispatch-prediction-request.js.map +1 -0
- package/esm/models/errors/http-client-errors.d.ts +44 -0
- package/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/esm/models/errors/http-client-errors.js +56 -0
- package/esm/models/errors/http-client-errors.js.map +1 -0
- package/esm/models/errors/http-validation-error.d.ts +19 -0
- package/esm/models/errors/http-validation-error.d.ts.map +1 -0
- package/esm/models/errors/http-validation-error.js +36 -0
- package/esm/models/errors/http-validation-error.js.map +1 -0
- package/esm/models/errors/index.d.ts +7 -0
- package/esm/models/errors/index.d.ts.map +1 -0
- package/esm/models/errors/index.js +10 -0
- package/esm/models/errors/index.js.map +1 -0
- package/esm/models/errors/modaic-client-default-error.d.ts +10 -0
- package/esm/models/errors/modaic-client-default-error.d.ts.map +1 -0
- package/esm/models/errors/modaic-client-default-error.js +30 -0
- package/esm/models/errors/modaic-client-default-error.js.map +1 -0
- package/esm/models/errors/modaic-client-error.d.ts +19 -0
- package/esm/models/errors/modaic-client-error.d.ts.map +1 -0
- package/esm/models/errors/modaic-client-error.js +26 -0
- package/esm/models/errors/modaic-client-error.js.map +1 -0
- package/esm/models/errors/modaic-default-error.d.ts +10 -0
- package/esm/models/errors/modaic-default-error.d.ts.map +1 -0
- package/esm/models/errors/modaic-default-error.js +30 -0
- package/esm/models/errors/modaic-default-error.js.map +1 -0
- package/esm/models/errors/modaic-error.d.ts +19 -0
- package/esm/models/errors/modaic-error.d.ts.map +1 -0
- package/esm/models/errors/modaic-error.js +26 -0
- package/esm/models/errors/modaic-error.js.map +1 -0
- package/esm/models/errors/response-validation-error.d.ts +26 -0
- package/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/esm/models/errors/response-validation-error.js +37 -0
- package/esm/models/errors/response-validation-error.js.map +1 -0
- package/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/esm/models/errors/sdk-validation-error.js +52 -0
- package/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/esm/models/export-examples-request.d.ts +15 -0
- package/esm/models/export-examples-request.d.ts.map +1 -0
- package/esm/models/export-examples-request.js +17 -0
- package/esm/models/export-examples-request.js.map +1 -0
- package/esm/models/export-examples-response.d.ts +17 -0
- package/esm/models/export-examples-response.d.ts.map +1 -0
- package/esm/models/export-examples-response.js +27 -0
- package/esm/models/export-examples-response.js.map +1 -0
- package/esm/models/field-schema.d.ts +26 -0
- package/esm/models/field-schema.d.ts.map +1 -0
- package/esm/models/field-schema.js +23 -0
- package/esm/models/field-schema.js.map +1 -0
- package/esm/models/gepa-job-request.d.ts +21 -0
- package/esm/models/gepa-job-request.d.ts.map +1 -0
- package/esm/models/gepa-job-request.js +26 -0
- package/esm/models/gepa-job-request.js.map +1 -0
- package/esm/models/gepa-job-response.d.ts +37 -0
- package/esm/models/gepa-job-response.d.ts.map +1 -0
- package/esm/models/gepa-job-response.js +44 -0
- package/esm/models/gepa-job-response.js.map +1 -0
- package/esm/models/gepa-kwargs.d.ts +64 -0
- package/esm/models/gepa-kwargs.d.ts.map +1 -0
- package/esm/models/gepa-kwargs.js +59 -0
- package/esm/models/gepa-kwargs.js.map +1 -0
- package/esm/models/get-confidence-request.d.ts +20 -0
- package/esm/models/get-confidence-request.d.ts.map +1 -0
- package/esm/models/get-confidence-request.js +20 -0
- package/esm/models/get-confidence-request.js.map +1 -0
- package/esm/models/index.d.ts +33 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +36 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/init-arbiter-request.d.ts +23 -0
- package/esm/models/init-arbiter-request.d.ts.map +1 -0
- package/esm/models/init-arbiter-request.js +23 -0
- package/esm/models/init-arbiter-request.js.map +1 -0
- package/esm/models/lm.d.ts +18 -0
- package/esm/models/lm.d.ts.map +1 -0
- package/esm/models/lm.js +13 -0
- package/esm/models/lm.js.map +1 -0
- package/esm/models/login-request.d.ts +16 -0
- package/esm/models/login-request.d.ts.map +1 -0
- package/esm/models/login-request.js +14 -0
- package/esm/models/login-request.js.map +1 -0
- package/esm/models/mfa-verify-request.d.ts +16 -0
- package/esm/models/mfa-verify-request.d.ts.map +1 -0
- package/esm/models/mfa-verify-request.js +20 -0
- package/esm/models/mfa-verify-request.js.map +1 -0
- package/esm/models/o-auth-callback-request.d.ts +16 -0
- package/esm/models/o-auth-callback-request.d.ts.map +1 -0
- package/esm/models/o-auth-callback-request.js +21 -0
- package/esm/models/o-auth-callback-request.js.map +1 -0
- package/esm/models/operations/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.d.ts +12 -0
- package/esm/models/operations/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.d.ts.map +1 -0
- package/esm/models/operations/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.js +18 -0
- package/esm/models/operations/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.js.map +1 -0
- package/esm/models/operations/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.d.ts +12 -0
- package/esm/models/operations/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.d.ts.map +1 -0
- package/esm/models/operations/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.js +18 -0
- package/esm/models/operations/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.js.map +1 -0
- package/esm/models/operations/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.d.ts +12 -0
- package/esm/models/operations/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.d.ts.map +1 -0
- package/esm/models/operations/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.js +17 -0
- package/esm/models/operations/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.js.map +1 -0
- package/esm/models/operations/check-email-api-v1-user-check-email-get.d.ts +12 -0
- package/esm/models/operations/check-email-api-v1-user-check-email-get.d.ts.map +1 -0
- package/esm/models/operations/check-email-api-v1-user-check-email-get.js +12 -0
- package/esm/models/operations/check-email-api-v1-user-check-email-get.js.map +1 -0
- package/esm/models/operations/check-username-api-v1-user-check-username-username-get.d.ts +12 -0
- package/esm/models/operations/check-username-api-v1-user-check-username-username-get.d.ts.map +1 -0
- package/esm/models/operations/check-username-api-v1-user-check-username-username-get.js +12 -0
- package/esm/models/operations/check-username-api-v1-user-check-username-username-get.js.map +1 -0
- package/esm/models/operations/download-export-api-v1-examples-export-download-get.d.ts +14 -0
- package/esm/models/operations/download-export-api-v1-examples-export-download-get.d.ts.map +1 -0
- package/esm/models/operations/download-export-api-v1-examples-export-download-get.js +19 -0
- package/esm/models/operations/download-export-api-v1-examples-export-download-get.js.map +1 -0
- package/esm/models/operations/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.d.ts +12 -0
- package/esm/models/operations/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.d.ts.map +1 -0
- package/esm/models/operations/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.js +18 -0
- package/esm/models/operations/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.js.map +1 -0
- package/esm/models/operations/get-arbiter-api-v1-arbiters-get.d.ts +12 -0
- package/esm/models/operations/get-arbiter-api-v1-arbiters-get.d.ts.map +1 -0
- package/esm/models/operations/get-arbiter-api-v1-arbiters-get.js +12 -0
- package/esm/models/operations/get-arbiter-api-v1-arbiters-get.js.map +1 -0
- package/esm/models/operations/get-arbiter-schema-output-api-v1-arbiters-schema-get.d.ts +12 -0
- package/esm/models/operations/get-arbiter-schema-output-api-v1-arbiters-schema-get.d.ts.map +1 -0
- package/esm/models/operations/get-arbiter-schema-output-api-v1-arbiters-schema-get.js +12 -0
- package/esm/models/operations/get-arbiter-schema-output-api-v1-arbiters-schema-get.js.map +1 -0
- package/esm/models/operations/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.d.ts +12 -0
- package/esm/models/operations/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.d.ts.map +1 -0
- package/esm/models/operations/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.js +18 -0
- package/esm/models/operations/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.js.map +1 -0
- package/esm/models/operations/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.d.ts +12 -0
- package/esm/models/operations/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.d.ts.map +1 -0
- package/esm/models/operations/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.js +18 -0
- package/esm/models/operations/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.js.map +1 -0
- package/esm/models/operations/get-distinct-hashes-api-v1-examples-distinct-hashes-get.d.ts +14 -0
- package/esm/models/operations/get-distinct-hashes-api-v1-examples-distinct-hashes-get.d.ts.map +1 -0
- package/esm/models/operations/get-distinct-hashes-api-v1-examples-distinct-hashes-get.js +13 -0
- package/esm/models/operations/get-distinct-hashes-api-v1-examples-distinct-hashes-get.js.map +1 -0
- package/esm/models/operations/get-example-by-id-api-v1-examples-example-id-get.d.ts +15 -0
- package/esm/models/operations/get-example-by-id-api-v1-examples-example-id-get.d.ts.map +1 -0
- package/esm/models/operations/get-example-by-id-api-v1-examples-example-id-get.js +17 -0
- package/esm/models/operations/get-example-by-id-api-v1-examples-example-id-get.js.map +1 -0
- package/esm/models/operations/get-graded-count-api-v1-examples-graded-count-get.d.ts +14 -0
- package/esm/models/operations/get-graded-count-api-v1-examples-graded-count-get.d.ts.map +1 -0
- package/esm/models/operations/get-graded-count-api-v1-examples-graded-count-get.js +13 -0
- package/esm/models/operations/get-graded-count-api-v1-examples-graded-count-get.js.map +1 -0
- package/esm/models/operations/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.d.ts +12 -0
- package/esm/models/operations/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.d.ts.map +1 -0
- package/esm/models/operations/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.js +17 -0
- package/esm/models/operations/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.js.map +1 -0
- package/esm/models/operations/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.d.ts +12 -0
- package/esm/models/operations/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.d.ts.map +1 -0
- package/esm/models/operations/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.js +17 -0
- package/esm/models/operations/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.js.map +1 -0
- package/esm/models/operations/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.d.ts +12 -0
- package/esm/models/operations/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.d.ts.map +1 -0
- package/esm/models/operations/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.js +18 -0
- package/esm/models/operations/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.js.map +1 -0
- package/esm/models/operations/get-user-by-id-api-v1-user-user-id-get.d.ts +12 -0
- package/esm/models/operations/get-user-by-id-api-v1-user-user-id-get.d.ts.map +1 -0
- package/esm/models/operations/get-user-by-id-api-v1-user-user-id-get.js +12 -0
- package/esm/models/operations/get-user-by-id-api-v1-user-user-id-get.js.map +1 -0
- package/esm/models/operations/get-user-by-id-api-v2-users-id-user-id-get.d.ts +12 -0
- package/esm/models/operations/get-user-by-id-api-v2-users-id-user-id-get.d.ts.map +1 -0
- package/esm/models/operations/get-user-by-id-api-v2-users-id-user-id-get.js +17 -0
- package/esm/models/operations/get-user-by-id-api-v2-users-id-user-id-get.js.map +1 -0
- package/esm/models/operations/get-user-by-username-api-v1-user-username-username-get.d.ts +12 -0
- package/esm/models/operations/get-user-by-username-api-v1-user-username-username-get.d.ts.map +1 -0
- package/esm/models/operations/get-user-by-username-api-v1-user-username-username-get.js +12 -0
- package/esm/models/operations/get-user-by-username-api-v1-user-username-username-get.js.map +1 -0
- package/esm/models/operations/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.d.ts +14 -0
- package/esm/models/operations/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.d.ts.map +1 -0
- package/esm/models/operations/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.js +14 -0
- package/esm/models/operations/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.js.map +1 -0
- package/esm/models/operations/index.d.ts +22 -0
- package/esm/models/operations/index.d.ts.map +1 -0
- package/esm/models/operations/index.js +25 -0
- package/esm/models/operations/index.js.map +1 -0
- package/esm/models/operations/list-examples-api-v1-examples-get.d.ts +71 -0
- package/esm/models/operations/list-examples-api-v1-examples-get.d.ts.map +1 -0
- package/esm/models/operations/list-examples-api-v1-examples-get.js +46 -0
- package/esm/models/operations/list-examples-api-v1-examples-get.js.map +1 -0
- package/esm/models/operations/patch-example-api-v1-examples-example-id-annotation-patch.d.ts +18 -0
- package/esm/models/operations/patch-example-api-v1-examples-example-id-annotation-patch.d.ts.map +1 -0
- package/esm/models/operations/patch-example-api-v1-examples-example-id-annotation-patch.js +20 -0
- package/esm/models/operations/patch-example-api-v1-examples-example-id-annotation-patch.js.map +1 -0
- package/esm/models/operations/read-badge-badge-get.d.ts +14 -0
- package/esm/models/operations/read-badge-badge-get.d.ts.map +1 -0
- package/esm/models/operations/read-badge-badge-get.js +13 -0
- package/esm/models/operations/read-badge-badge-get.js.map +1 -0
- package/esm/models/operations/slack-callback-api-v1-notifications-slack-callback-get.d.ts +16 -0
- package/esm/models/operations/slack-callback-api-v1-notifications-slack-callback-get.d.ts.map +1 -0
- package/esm/models/operations/slack-callback-api-v1-notifications-slack-callback-get.js +14 -0
- package/esm/models/operations/slack-callback-api-v1-notifications-slack-callback-get.js.map +1 -0
- package/esm/models/operations/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.d.ts +12 -0
- package/esm/models/operations/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.d.ts.map +1 -0
- package/esm/models/operations/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.js +18 -0
- package/esm/models/operations/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.js.map +1 -0
- package/esm/models/operations/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.d.ts +12 -0
- package/esm/models/operations/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.d.ts.map +1 -0
- package/esm/models/operations/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.js +18 -0
- package/esm/models/operations/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.js.map +1 -0
- package/esm/models/operations/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.d.ts +12 -0
- package/esm/models/operations/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.d.ts.map +1 -0
- package/esm/models/operations/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.js +18 -0
- package/esm/models/operations/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.js.map +1 -0
- package/esm/models/paginated-page.d.ts +16 -0
- package/esm/models/paginated-page.d.ts.map +1 -0
- package/esm/models/paginated-page.js +27 -0
- package/esm/models/paginated-page.js.map +1 -0
- package/esm/models/predict-example-response.d.ts +18 -0
- package/esm/models/predict-example-response.d.ts.map +1 -0
- package/esm/models/predict-example-response.js +24 -0
- package/esm/models/predict-example-response.js.map +1 -0
- package/esm/models/predicted-example.d.ts +58 -0
- package/esm/models/predicted-example.d.ts.map +1 -0
- package/esm/models/predicted-example.js +56 -0
- package/esm/models/predicted-example.js.map +1 -0
- package/esm/models/prediction-annotation.d.ts +19 -0
- package/esm/models/prediction-annotation.d.ts.map +1 -0
- package/esm/models/prediction-annotation.js +21 -0
- package/esm/models/prediction-annotation.js.map +1 -0
- package/esm/models/register-request.d.ts +22 -0
- package/esm/models/register-request.d.ts.map +1 -0
- package/esm/models/register-request.js +17 -0
- package/esm/models/register-request.js.map +1 -0
- package/esm/models/security.d.ts +12 -0
- package/esm/models/security.d.ts.map +1 -0
- package/esm/models/security.js +12 -0
- package/esm/models/security.js.map +1 -0
- package/esm/models/src-api-v1-arbiters-schemas-predict-example-request.d.ts +21 -0
- package/esm/models/src-api-v1-arbiters-schemas-predict-example-request.d.ts.map +1 -0
- package/esm/models/src-api-v1-arbiters-schemas-predict-example-request.js +20 -0
- package/esm/models/src-api-v1-arbiters-schemas-predict-example-request.js.map +1 -0
- package/esm/models/src-api-v2-arbiters-schemas-predict-example-request.d.ts +41 -0
- package/esm/models/src-api-v2-arbiters-schemas-predict-example-request.d.ts.map +1 -0
- package/esm/models/src-api-v2-arbiters-schemas-predict-example-request.js +28 -0
- package/esm/models/src-api-v2-arbiters-schemas-predict-example-request.js.map +1 -0
- package/esm/models/update-arbiter-metadata-request.d.ts +18 -0
- package/esm/models/update-arbiter-metadata-request.d.ts.map +1 -0
- package/esm/models/update-arbiter-metadata-request.js +13 -0
- package/esm/models/update-arbiter-metadata-request.js.map +1 -0
- package/esm/models/validate-invite-code-request.d.ts +12 -0
- package/esm/models/validate-invite-code-request.d.ts.map +1 -0
- package/esm/models/validate-invite-code-request.js +12 -0
- package/esm/models/validate-invite-code-request.js.map +1 -0
- package/esm/models/validation-error.d.ts +22 -0
- package/esm/models/validation-error.d.ts.map +1 -0
- package/esm/models/validation-error.js +32 -0
- package/esm/models/validation-error.js.map +1 -0
- package/esm/models/waitlist-request.d.ts +16 -0
- package/esm/models/waitlist-request.d.ts.map +1 -0
- package/esm/models/waitlist-request.js +14 -0
- package/esm/models/waitlist-request.js.map +1 -0
- package/esm/primitives/module.d.ts +44 -0
- package/esm/primitives/module.d.ts.map +1 -0
- package/esm/primitives/module.js +117 -0
- package/esm/primitives/module.js.map +1 -0
- package/esm/programs/predict.d.ts +65 -0
- package/esm/programs/predict.d.ts.map +1 -0
- package/esm/programs/predict.js +73 -0
- package/esm/programs/predict.js.map +1 -0
- package/esm/sdk/index.d.ts +2 -0
- package/esm/sdk/index.d.ts.map +1 -0
- package/esm/sdk/index.js +5 -0
- package/esm/sdk/index.js.map +1 -0
- package/esm/sdk/sdk.d.ts +325 -0
- package/esm/sdk/sdk.d.ts.map +1 -0
- package/esm/sdk/sdk.js +431 -0
- package/esm/sdk/sdk.js.map +1 -0
- package/esm/sdk/webhooks.d.ts +8 -0
- package/esm/sdk/webhooks.d.ts.map +1 -0
- package/esm/sdk/webhooks.js +15 -0
- package/esm/sdk/webhooks.js.map +1 -0
- package/esm/serialization/config.d.ts +79 -0
- package/esm/serialization/config.d.ts.map +1 -0
- package/esm/serialization/config.js +57 -0
- package/esm/serialization/config.js.map +1 -0
- package/esm/serialization/naming.d.ts +14 -0
- package/esm/serialization/naming.d.ts.map +1 -0
- package/esm/serialization/naming.js +21 -0
- package/esm/serialization/naming.js.map +1 -0
- package/esm/serialization/program.d.ts +45 -0
- package/esm/serialization/program.d.ts.map +1 -0
- package/esm/serialization/program.js +30 -0
- package/esm/serialization/program.js.map +1 -0
- package/esm/serialization/zod_schema.d.ts +33 -0
- package/esm/serialization/zod_schema.d.ts.map +1 -0
- package/esm/serialization/zod_schema.js +269 -0
- package/esm/serialization/zod_schema.js.map +1 -0
- package/esm/signatures/signature.d.ts +68 -0
- package/esm/signatures/signature.d.ts.map +1 -0
- package/esm/signatures/signature.js +222 -0
- package/esm/signatures/signature.js.map +1 -0
- package/esm/signatures/types.d.ts +69 -0
- package/esm/signatures/types.d.ts.map +1 -0
- package/esm/signatures/types.js +68 -0
- package/esm/signatures/types.js.map +1 -0
- package/esm/types/async.d.ts +23 -0
- package/esm/types/async.d.ts.map +1 -0
- package/esm/types/async.js +28 -0
- package/esm/types/async.js.map +1 -0
- package/esm/types/blobs.d.ts +4 -0
- package/esm/types/blobs.d.ts.map +1 -0
- package/esm/types/blobs.js +25 -0
- package/esm/types/blobs.js.map +1 -0
- package/esm/types/const-date-time.d.ts +3 -0
- package/esm/types/const-date-time.d.ts.map +1 -0
- package/esm/types/const-date-time.js +10 -0
- package/esm/types/const-date-time.js.map +1 -0
- package/esm/types/default-to-zero-value.d.ts +12 -0
- package/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/esm/types/default-to-zero-value.js +31 -0
- package/esm/types/default-to-zero-value.js.map +1 -0
- package/esm/types/enums.d.ts +9 -0
- package/esm/types/enums.d.ts.map +1 -0
- package/esm/types/enums.js +27 -0
- package/esm/types/enums.js.map +1 -0
- package/esm/types/fp.d.ts +31 -0
- package/esm/types/fp.d.ts.map +1 -0
- package/esm/types/fp.js +31 -0
- package/esm/types/fp.js.map +1 -0
- package/esm/types/index.d.ts +10 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +10 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/operations.d.ts +27 -0
- package/esm/types/operations.d.ts.map +1 -0
- package/esm/types/operations.js +77 -0
- package/esm/types/operations.js.map +1 -0
- package/esm/types/primitives.d.ts +9 -0
- package/esm/types/primitives.d.ts.map +1 -0
- package/esm/types/primitives.js +109 -0
- package/esm/types/primitives.js.map +1 -0
- package/esm/types/rfcdate.d.ts +21 -0
- package/esm/types/rfcdate.d.ts.map +1 -0
- package/esm/types/rfcdate.js +43 -0
- package/esm/types/rfcdate.js.map +1 -0
- package/esm/types/smart-union.d.ts +7 -0
- package/esm/types/smart-union.d.ts.map +1 -0
- package/esm/types/smart-union.js +117 -0
- package/esm/types/smart-union.js.map +1 -0
- package/esm/types/streams.d.ts +2 -0
- package/esm/types/streams.d.ts.map +1 -0
- package/esm/types/streams.js +15 -0
- package/esm/types/streams.js.map +1 -0
- package/esm/types/unrecognized.d.ts +16 -0
- package/esm/types/unrecognized.d.ts.map +1 -0
- package/esm/types/unrecognized.js +31 -0
- package/esm/types/unrecognized.js.map +1 -0
- package/jsr.json +27 -0
- package/package.json +77 -0
- package/src/core.ts +13 -0
- package/src/funcs/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.ts +189 -0
- package/src/funcs/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.ts +187 -0
- package/src/funcs/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.ts +187 -0
- package/src/funcs/create-chat-completion-api-v1-arbiters-chat-completions-post.ts +169 -0
- package/src/funcs/create-chat-completion-api-v1-chat-completions-post.ts +150 -0
- package/src/funcs/create-prediction-api-v1-arbiters-predictions-post.ts +173 -0
- package/src/funcs/create-prediction-api-v2-arbiters-predictions-post.ts +181 -0
- package/src/funcs/delete-examples-api-v1-examples-delete.ts +172 -0
- package/src/funcs/dispatch-prediction-api-v1-arbiters-predictions-dispatch-post.ts +170 -0
- package/src/funcs/download-export-api-v1-examples-export-download-get.ts +182 -0
- package/src/funcs/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.ts +192 -0
- package/src/funcs/export-examples-api-v1-examples-export-post.ts +172 -0
- package/src/funcs/get-arbiter-api-v1-arbiters-get.ts +177 -0
- package/src/funcs/get-arbiter-schema-output-api-v1-arbiters-schema-get.ts +178 -0
- package/src/funcs/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.ts +198 -0
- package/src/funcs/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.ts +187 -0
- package/src/funcs/get-distinct-hashes-api-v1-examples-distinct-hashes-get.ts +183 -0
- package/src/funcs/get-example-by-id-api-v1-examples-example-id-get.ts +180 -0
- package/src/funcs/get-graded-count-api-v1-examples-graded-count-get.ts +182 -0
- package/src/funcs/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.ts +185 -0
- package/src/funcs/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.ts +189 -0
- package/src/funcs/get-prediction-confidence-api-v1-arbiters-predictions-confidence-post.ts +179 -0
- package/src/funcs/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.ts +191 -0
- package/src/funcs/get-supported-models-api-v1-arbiters-supported-models-get.ts +141 -0
- package/src/funcs/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.ts +185 -0
- package/src/funcs/ingest-examples-api-v1-examples-post.ts +150 -0
- package/src/funcs/init-arbiter-api-v1-arbiters-post.ts +169 -0
- package/src/funcs/list-examples-api-v1-examples-get.ts +193 -0
- package/src/funcs/patch-example-api-v1-examples-example-id-annotation-patch.ts +185 -0
- package/src/funcs/start-batch-predictions-job-api-v1-jobs-batch-predictions-post.ts +190 -0
- package/src/funcs/start-confidence-score-job-api-v1-jobs-confidence-scores-post.ts +174 -0
- package/src/funcs/start-optimization-job-api-v1-jobs-gepa-post.ts +177 -0
- package/src/funcs/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.ts +201 -0
- package/src/funcs/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.ts +187 -0
- package/src/funcs/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.ts +198 -0
- package/src/funcs/update-arbiter-metadata-api-v1-arbiters-metadata-patch.ts +173 -0
- package/src/hooks/hooks.ts +129 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/types.ts +107 -0
- package/src/index.ts +26 -0
- package/src/lib/base64.ts +39 -0
- package/src/lib/config.ts +64 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +529 -0
- package/src/lib/env.ts +57 -0
- package/src/lib/files.ts +104 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +356 -0
- package/src/lib/primitives.ts +150 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +94 -0
- package/src/lib/sdks.ts +405 -0
- package/src/lib/security.ts +275 -0
- package/src/lib/url.ts +35 -0
- package/src/modaic/arbiter.ts +252 -0
- package/src/modaic/git.ts +267 -0
- package/src/modaic/index.ts +61 -0
- package/src/modaic/runtime.ts +107 -0
- package/src/modaic/serialization.ts +592 -0
- package/src/modaic/signatures.ts +398 -0
- package/src/models/annotate-example-request.ts +38 -0
- package/src/models/arbiter-request.ts +46 -0
- package/src/models/batch-arbiter.ts +38 -0
- package/src/models/batch-example.ts +75 -0
- package/src/models/batch-predictions-job-request.ts +68 -0
- package/src/models/chat-completion-choice.ts +44 -0
- package/src/models/chat-completion-request.ts +94 -0
- package/src/models/chat-completion-response.ts +59 -0
- package/src/models/chat-message.ts +73 -0
- package/src/models/completion-usage.ts +45 -0
- package/src/models/confidence-score-job-request.ts +38 -0
- package/src/models/confidence-status-response.ts +62 -0
- package/src/models/delete-examples-request.ts +45 -0
- package/src/models/dispatch-prediction-request.ts +58 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/http-validation-error.ts +53 -0
- package/src/models/errors/index.ts +10 -0
- package/src/models/errors/modaic-client-default-error.ts +40 -0
- package/src/models/errors/modaic-client-error.ts +35 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +54 -0
- package/src/models/export-examples-request.ts +41 -0
- package/src/models/export-examples-response.ts +54 -0
- package/src/models/field-schema.ts +50 -0
- package/src/models/gepa-job-request.ts +55 -0
- package/src/models/gepa-job-response.ts +79 -0
- package/src/models/gepa-kwargs.ts +122 -0
- package/src/models/get-confidence-request.ts +45 -0
- package/src/models/index.ts +36 -0
- package/src/models/init-arbiter-request.ts +58 -0
- package/src/models/lm.ts +26 -0
- package/src/models/operations/cancel-batch-predictions-job-api-v1-jobs-batch-predictions-job-id-delete.ts +45 -0
- package/src/models/operations/cancel-confidence-score-job-api-v1-jobs-confidence-scores-job-id-delete.ts +45 -0
- package/src/models/operations/cancel-optimization-job-api-v1-jobs-gepa-job-id-delete.ts +42 -0
- package/src/models/operations/download-export-api-v1-examples-export-download-get.ts +46 -0
- package/src/models/operations/enqueue-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-post.ts +45 -0
- package/src/models/operations/get-arbiter-api-v1-arbiters-get.ts +32 -0
- package/src/models/operations/get-arbiter-schema-output-api-v1-arbiters-schema-get.ts +34 -0
- package/src/models/operations/get-batch-predictions-job-status-api-v1-jobs-batch-predictions-job-id-get.ts +45 -0
- package/src/models/operations/get-confidence-score-job-status-api-v1-jobs-confidence-scores-job-id-get.ts +45 -0
- package/src/models/operations/get-distinct-hashes-api-v1-examples-distinct-hashes-get.ts +37 -0
- package/src/models/operations/get-example-by-id-api-v1-examples-example-id-get.ts +45 -0
- package/src/models/operations/get-graded-count-api-v1-examples-graded-count-get.ts +37 -0
- package/src/models/operations/get-optimization-job-logs-api-v1-jobs-gepa-job-id-logs-get.ts +42 -0
- package/src/models/operations/get-optimization-job-status-api-v1-jobs-gepa-job-id-get.ts +42 -0
- package/src/models/operations/get-prediction-confidence-status-api-v1-arbiters-predictions-prediction-id-confidence-get.ts +45 -0
- package/src/models/operations/has-uncalibrated-predictions-api-v1-examples-has-uncalibrated-get.ts +37 -0
- package/src/models/operations/index.ts +25 -0
- package/src/models/operations/list-examples-api-v1-examples-get.ts +121 -0
- package/src/models/operations/patch-example-api-v1-examples-example-id-annotation-patch.ts +49 -0
- package/src/models/operations/stream-batch-predictions-events-api-v1-jobs-batch-predictions-job-id-events-get.ts +45 -0
- package/src/models/operations/stream-batch-predictions-results-api-v1-jobs-batch-predictions-job-id-results-get.ts +45 -0
- package/src/models/operations/stream-prediction-confidence-api-v1-arbiters-predictions-prediction-id-confidence-stream-get.ts +45 -0
- package/src/models/paginated-page.ts +55 -0
- package/src/models/predict-example-response.ts +48 -0
- package/src/models/predicted-example.ts +124 -0
- package/src/models/prediction-annotation.ts +49 -0
- package/src/models/security.ts +26 -0
- package/src/models/src-api-v1-arbiters-schemas-predict-example-request.ts +53 -0
- package/src/models/src-api-v2-arbiters-schemas-predict-example-request.ts +74 -0
- package/src/models/update-arbiter-metadata-request.ts +35 -0
- package/src/models/validation-error.ts +75 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/sdk.ts +750 -0
- package/src/types/async.ts +69 -0
- package/src/types/blobs.ts +33 -0
- package/src/types/const-date-time.ts +15 -0
- package/src/types/default-to-zero-value.ts +33 -0
- package/src/types/enums.ts +45 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +13 -0
- package/src/types/operations.ts +105 -0
- package/src/types/primitives.ts +140 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +153 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-validation-error.d.ts","sourceRoot":"","sources":["../../../src/models/errors/http-validation-error.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,qBAAa,mBAAoB,SAAQ,iBAAiB;IACxD,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IAEnD,gEAAgE;IAChE,KAAK,EAAE,uBAAuB,CAAC;IAE/B,YACE,GAAG,EAAE,uBAAuB,EAC5B,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAUjE;CACF;AAED,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,mBAAmB,EACnB,OAAO,CAeR,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import * as types from "../../types/primitives.js";
|
|
6
|
+
import * as models from "../index.js";
|
|
7
|
+
import { ModaicClientError } from "./modaic-client-error.js";
|
|
8
|
+
export class HTTPValidationError extends ModaicClientError {
|
|
9
|
+
detail;
|
|
10
|
+
/** The original data that was passed to this error instance. */
|
|
11
|
+
data$;
|
|
12
|
+
constructor(err, httpMeta) {
|
|
13
|
+
const message = "message" in err && typeof err.message === "string"
|
|
14
|
+
? err.message
|
|
15
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
16
|
+
super(message, httpMeta);
|
|
17
|
+
this.data$ = err;
|
|
18
|
+
if (err.detail != null)
|
|
19
|
+
this.detail = err.detail;
|
|
20
|
+
this.name = "HTTPValidationError";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const HTTPValidationError$inboundSchema = z.pipe(z.object({
|
|
25
|
+
detail: types.optional(z.array(models.ValidationError$inboundSchema)),
|
|
26
|
+
request$: z.custom(x => x instanceof Request),
|
|
27
|
+
response$: z.custom(x => x instanceof Response),
|
|
28
|
+
body$: z.string(),
|
|
29
|
+
}), z.transform((v) => {
|
|
30
|
+
return new HTTPValidationError(v, {
|
|
31
|
+
request: v.request$,
|
|
32
|
+
response: v.response$,
|
|
33
|
+
body: v.body$,
|
|
34
|
+
});
|
|
35
|
+
}));
|
|
36
|
+
//# sourceMappingURL=http-validation-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-validation-error.js","sourceRoot":"","sources":["../../../src/models/errors/http-validation-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAM7D,MAAM,OAAO,mBAAoB,SAAQ,iBAAiB;IACxD,MAAM,CAA6C;IAEnD,gEAAgE;IAChE,KAAK,CAA0B;IAE/B,YACE,GAA4B,EAC5B,QAAgE,EAChE;QACA,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,GAAG,CAAC,MAAM,IAAI,IAAI;YAAE,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAEjD,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IAAA,CACnC;CACF;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAG1C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC;IACrE,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAU,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,OAAO,CAAC;IACtD,SAAS,EAAE,CAAC,CAAC,MAAM,CAAW,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,QAAQ,CAAC;IACzD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAI,mBAAmB,CAAC,CAAC,EAAE;QAChC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./http-client-errors.js";
|
|
2
|
+
export * from "./http-validation-error.js";
|
|
3
|
+
export * from "./modaic-client-default-error.js";
|
|
4
|
+
export * from "./modaic-client-error.js";
|
|
5
|
+
export * from "./response-validation-error.js";
|
|
6
|
+
export * from "./sdk-validation-error.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
export * from "./http-client-errors.js";
|
|
5
|
+
export * from "./http-validation-error.js";
|
|
6
|
+
export * from "./modaic-client-default-error.js";
|
|
7
|
+
export * from "./modaic-client-error.js";
|
|
8
|
+
export * from "./response-validation-error.js";
|
|
9
|
+
export * from "./sdk-validation-error.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/errors/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModaicClientError } from "./modaic-client-error.js";
|
|
2
|
+
/** The fallback error class if no more specific error class is matched */
|
|
3
|
+
export declare class ModaicClientDefaultError extends ModaicClientError {
|
|
4
|
+
constructor(message: string, httpMeta: {
|
|
5
|
+
response: Response;
|
|
6
|
+
request: Request;
|
|
7
|
+
body: string;
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=modaic-client-default-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modaic-client-default-error.d.ts","sourceRoot":"","sources":["../../../src/models/errors/modaic-client-default-error.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,0EAA0E;AAC1E,qBAAa,wBAAyB,SAAQ,iBAAiB;IAC7D,YACE,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE;QACR,QAAQ,EAAE,QAAQ,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,EAwBF;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { ModaicClientError } from "./modaic-client-error.js";
|
|
5
|
+
/** The fallback error class if no more specific error class is matched */
|
|
6
|
+
export class ModaicClientDefaultError extends ModaicClientError {
|
|
7
|
+
constructor(message, httpMeta) {
|
|
8
|
+
if (message) {
|
|
9
|
+
message += `: `;
|
|
10
|
+
}
|
|
11
|
+
message += `Status ${httpMeta.response.status}`;
|
|
12
|
+
const contentType = httpMeta.response.headers.get("content-type") || `""`;
|
|
13
|
+
if (contentType !== "application/json") {
|
|
14
|
+
message += ` Content-Type ${contentType.includes(" ") ? `"${contentType}"` : contentType}`;
|
|
15
|
+
}
|
|
16
|
+
const body = httpMeta.body || `""`;
|
|
17
|
+
message += body.length > 100 ? "\n" : ". ";
|
|
18
|
+
let bodyDisplay = body;
|
|
19
|
+
if (body.length > 10000) {
|
|
20
|
+
const truncated = body.substring(0, 10000);
|
|
21
|
+
const remaining = body.length - 10000;
|
|
22
|
+
bodyDisplay = `${truncated}...and ${remaining} more chars`;
|
|
23
|
+
}
|
|
24
|
+
message += `Body: ${bodyDisplay}`;
|
|
25
|
+
message = message.trim();
|
|
26
|
+
super(message, httpMeta);
|
|
27
|
+
this.name = "ModaicClientDefaultError";
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=modaic-client-default-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modaic-client-default-error.js","sourceRoot":"","sources":["../../../src/models/errors/modaic-client-default-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,0EAA0E;AAC1E,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IAC7D,YACE,OAAe,EACf,QAIC,EACD;QACA,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,IAAI,IAAI,CAAC;QAClB,CAAC;QACD,OAAO,IAAI,UAAU,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QAChD,MAAM,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC;QAC1E,IAAI,WAAW,KAAK,kBAAkB,EAAE,CAAC;YACvC,OAAO,IAAI,iBACT,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC,WACnD,EAAE,CAAC;QACL,CAAC;QACD,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,IAAI,CAAC;QACnC,OAAO,IAAI,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3C,IAAI,WAAW,GAAG,IAAI,CAAC;QACvB,IAAI,IAAI,CAAC,MAAM,GAAG,KAAK,EAAE,CAAC;YACxB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;YAC3C,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YACtC,WAAW,GAAG,GAAG,SAAS,UAAU,SAAS,aAAa,CAAC;QAC7D,CAAC;QACD,OAAO,IAAI,SAAS,WAAW,EAAE,CAAC;QAClC,OAAO,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;QACzB,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;IAAA,CACxC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** The base class for all HTTP error responses */
|
|
2
|
+
export declare class ModaicClientError extends Error {
|
|
3
|
+
/** HTTP status code */
|
|
4
|
+
readonly statusCode: number;
|
|
5
|
+
/** HTTP body */
|
|
6
|
+
readonly body: string;
|
|
7
|
+
/** HTTP headers */
|
|
8
|
+
readonly headers: Headers;
|
|
9
|
+
/** HTTP content type */
|
|
10
|
+
readonly contentType: string;
|
|
11
|
+
/** Raw response */
|
|
12
|
+
readonly rawResponse: Response;
|
|
13
|
+
constructor(message: string, httpMeta: {
|
|
14
|
+
response: Response;
|
|
15
|
+
request: Request;
|
|
16
|
+
body: string;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=modaic-client-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modaic-client-error.d.ts","sourceRoot":"","sources":["../../../src/models/errors/modaic-client-error.ts"],"names":[],"mappings":"AAIA,kDAAkD;AAClD,qBAAa,iBAAkB,SAAQ,KAAK;IAC1C,uBAAuB;IACvB,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,gBAAgB;IAChB,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,mBAAmB;IACnB,SAAgB,OAAO,EAAE,OAAO,CAAC;IACjC,wBAAwB;IACxB,SAAgB,WAAW,EAAE,MAAM,CAAC;IACpC,mBAAmB;IACnB,SAAgB,WAAW,EAAE,QAAQ,CAAC;IAEtC,YACE,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE;QACR,QAAQ,EAAE,QAAQ,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,EAUF;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
/** The base class for all HTTP error responses */
|
|
5
|
+
export class ModaicClientError extends Error {
|
|
6
|
+
/** HTTP status code */
|
|
7
|
+
statusCode;
|
|
8
|
+
/** HTTP body */
|
|
9
|
+
body;
|
|
10
|
+
/** HTTP headers */
|
|
11
|
+
headers;
|
|
12
|
+
/** HTTP content type */
|
|
13
|
+
contentType;
|
|
14
|
+
/** Raw response */
|
|
15
|
+
rawResponse;
|
|
16
|
+
constructor(message, httpMeta) {
|
|
17
|
+
super(message);
|
|
18
|
+
this.statusCode = httpMeta.response.status;
|
|
19
|
+
this.body = httpMeta.body;
|
|
20
|
+
this.headers = httpMeta.response.headers;
|
|
21
|
+
this.contentType = httpMeta.response.headers.get("content-type") || "";
|
|
22
|
+
this.rawResponse = httpMeta.response;
|
|
23
|
+
this.name = "ModaicClientError";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=modaic-client-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modaic-client-error.js","sourceRoot":"","sources":["../../../src/models/errors/modaic-client-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,kDAAkD;AAClD,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IAC1C,uBAAuB;IACP,UAAU,CAAS;IACnC,gBAAgB;IACA,IAAI,CAAS;IAC7B,mBAAmB;IACH,OAAO,CAAU;IACjC,wBAAwB;IACR,WAAW,CAAS;IACpC,mBAAmB;IACH,WAAW,CAAW;IAEtC,YACE,OAAe,EACf,QAIC,EACD;QACA,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC;QAC3C,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;QACvE,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC;QAErC,IAAI,CAAC,IAAI,GAAG,mBAAmB,CAAC;IAAA,CACjC;CACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ModaicError } from "./modaic-error.js";
|
|
2
|
+
/** The fallback error class if no more specific error class is matched */
|
|
3
|
+
export declare class ModaicDefaultError extends ModaicError {
|
|
4
|
+
constructor(message: string, httpMeta: {
|
|
5
|
+
response: Response;
|
|
6
|
+
request: Request;
|
|
7
|
+
body: string;
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=modaic-default-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modaic-default-error.d.ts","sourceRoot":"","sources":["../../../src/models/errors/modaic-default-error.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,0EAA0E;AAC1E,qBAAa,kBAAmB,SAAQ,WAAW;IACjD,YACE,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE;QACR,QAAQ,EAAE,QAAQ,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,EAwBF;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { ModaicError } from "./modaic-error.js";
|
|
5
|
+
/** The fallback error class if no more specific error class is matched */
|
|
6
|
+
export class ModaicDefaultError extends ModaicError {
|
|
7
|
+
constructor(message, httpMeta) {
|
|
8
|
+
if (message) {
|
|
9
|
+
message += `: `;
|
|
10
|
+
}
|
|
11
|
+
message += `Status ${httpMeta.response.status}`;
|
|
12
|
+
const contentType = httpMeta.response.headers.get("content-type") || `""`;
|
|
13
|
+
if (contentType !== "application/json") {
|
|
14
|
+
message += ` Content-Type ${contentType.includes(" ") ? `"${contentType}"` : contentType}`;
|
|
15
|
+
}
|
|
16
|
+
const body = httpMeta.body || `""`;
|
|
17
|
+
message += body.length > 100 ? "\n" : ". ";
|
|
18
|
+
let bodyDisplay = body;
|
|
19
|
+
if (body.length > 10000) {
|
|
20
|
+
const truncated = body.substring(0, 10000);
|
|
21
|
+
const remaining = body.length - 10000;
|
|
22
|
+
bodyDisplay = `${truncated}...and ${remaining} more chars`;
|
|
23
|
+
}
|
|
24
|
+
message += `Body: ${bodyDisplay}`;
|
|
25
|
+
message = message.trim();
|
|
26
|
+
super(message, httpMeta);
|
|
27
|
+
this.name = "ModaicDefaultError";
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=modaic-default-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modaic-default-error.js","sourceRoot":"","sources":["../../../src/models/errors/modaic-default-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,0EAA0E;AAC1E,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD,YACE,OAAe,EACf,QAIC,EACD;QACA,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,IAAI,IAAI,CAAC;QAClB,CAAC;QACD,OAAO,IAAI,UAAU,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QAChD,MAAM,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC;QAC1E,IAAI,WAAW,KAAK,kBAAkB,EAAE,CAAC;YACvC,OAAO,IAAI,iBACT,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,WAAW,GAAG,CAAC,CAAC,CAAC,WACnD,EAAE,CAAC;QACL,CAAC;QACD,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,IAAI,CAAC;QACnC,OAAO,IAAI,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3C,IAAI,WAAW,GAAG,IAAI,CAAC;QACvB,IAAI,IAAI,CAAC,MAAM,GAAG,KAAK,EAAE,CAAC;YACxB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;YAC3C,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;YACtC,WAAW,GAAG,GAAG,SAAS,UAAU,SAAS,aAAa,CAAC;QAC7D,CAAC;QACD,OAAO,IAAI,SAAS,WAAW,EAAE,CAAC;QAClC,OAAO,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;QACzB,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;IAAA,CAClC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** The base class for all HTTP error responses */
|
|
2
|
+
export declare class ModaicError extends Error {
|
|
3
|
+
/** HTTP status code */
|
|
4
|
+
readonly statusCode: number;
|
|
5
|
+
/** HTTP body */
|
|
6
|
+
readonly body: string;
|
|
7
|
+
/** HTTP headers */
|
|
8
|
+
readonly headers: Headers;
|
|
9
|
+
/** HTTP content type */
|
|
10
|
+
readonly contentType: string;
|
|
11
|
+
/** Raw response */
|
|
12
|
+
readonly rawResponse: Response;
|
|
13
|
+
constructor(message: string, httpMeta: {
|
|
14
|
+
response: Response;
|
|
15
|
+
request: Request;
|
|
16
|
+
body: string;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=modaic-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modaic-error.d.ts","sourceRoot":"","sources":["../../../src/models/errors/modaic-error.ts"],"names":[],"mappings":"AAIA,kDAAkD;AAClD,qBAAa,WAAY,SAAQ,KAAK;IACpC,uBAAuB;IACvB,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,gBAAgB;IAChB,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,mBAAmB;IACnB,SAAgB,OAAO,EAAE,OAAO,CAAC;IACjC,wBAAwB;IACxB,SAAgB,WAAW,EAAE,MAAM,CAAC;IACpC,mBAAmB;IACnB,SAAgB,WAAW,EAAE,QAAQ,CAAC;IAEtC,YACE,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE;QACR,QAAQ,EAAE,QAAQ,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,EAUF;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
/** The base class for all HTTP error responses */
|
|
5
|
+
export class ModaicError extends Error {
|
|
6
|
+
/** HTTP status code */
|
|
7
|
+
statusCode;
|
|
8
|
+
/** HTTP body */
|
|
9
|
+
body;
|
|
10
|
+
/** HTTP headers */
|
|
11
|
+
headers;
|
|
12
|
+
/** HTTP content type */
|
|
13
|
+
contentType;
|
|
14
|
+
/** Raw response */
|
|
15
|
+
rawResponse;
|
|
16
|
+
constructor(message, httpMeta) {
|
|
17
|
+
super(message);
|
|
18
|
+
this.statusCode = httpMeta.response.status;
|
|
19
|
+
this.body = httpMeta.body;
|
|
20
|
+
this.headers = httpMeta.response.headers;
|
|
21
|
+
this.contentType = httpMeta.response.headers.get("content-type") || "";
|
|
22
|
+
this.rawResponse = httpMeta.response;
|
|
23
|
+
this.name = "ModaicError";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=modaic-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modaic-error.js","sourceRoot":"","sources":["../../../src/models/errors/modaic-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,kDAAkD;AAClD,MAAM,OAAO,WAAY,SAAQ,KAAK;IACpC,uBAAuB;IACP,UAAU,CAAS;IACnC,gBAAgB;IACA,IAAI,CAAS;IAC7B,mBAAmB;IACH,OAAO,CAAU;IACjC,wBAAwB;IACR,WAAW,CAAS;IACpC,mBAAmB;IACH,WAAW,CAAW;IAEtC,YACE,OAAe,EACf,QAIC,EACD;QACA,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC;QAC3C,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;QACvE,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,QAAQ,CAAC;QAErC,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;IAAA,CAC3B;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ModaicClientError } from "./modaic-client-error.js";
|
|
2
|
+
export declare class ResponseValidationError extends ModaicClientError {
|
|
3
|
+
/**
|
|
4
|
+
* The raw value that failed validation.
|
|
5
|
+
*/
|
|
6
|
+
readonly rawValue: unknown;
|
|
7
|
+
/**
|
|
8
|
+
* The raw message that failed validation.
|
|
9
|
+
*/
|
|
10
|
+
readonly rawMessage: unknown;
|
|
11
|
+
constructor(message: string, extra: {
|
|
12
|
+
response: Response;
|
|
13
|
+
request: Request;
|
|
14
|
+
body: string;
|
|
15
|
+
cause: unknown;
|
|
16
|
+
rawValue: unknown;
|
|
17
|
+
rawMessage: unknown;
|
|
18
|
+
});
|
|
19
|
+
/**
|
|
20
|
+
* Return a pretty-formatted error message if the underlying validation error
|
|
21
|
+
* is a ZodError or some other recognized error type, otherwise return the
|
|
22
|
+
* default error message.
|
|
23
|
+
*/
|
|
24
|
+
pretty(): string;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=response-validation-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-validation-error.d.ts","sourceRoot":"","sources":["../../../src/models/errors/response-validation-error.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG7D,qBAAa,uBAAwB,SAAQ,iBAAiB;IAC5D;;OAEG;IACH,SAAgB,QAAQ,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,SAAgB,UAAU,EAAE,OAAO,CAAC;IAEpC,YACE,OAAO,EAAE,MAAM,EACf,KAAK,EAAE;QACL,QAAQ,EAAE,QAAQ,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,OAAO,CAAC;QACf,QAAQ,EAAE,OAAO,CAAC;QAClB,UAAU,EAAE,OAAO,CAAC;KACrB,EAOF;IAED;;;;OAIG;IACI,MAAM,IAAI,MAAM,CAMtB;CACF"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4/core";
|
|
5
|
+
import { ModaicClientError } from "./modaic-client-error.js";
|
|
6
|
+
import { formatZodError } from "./sdk-validation-error.js";
|
|
7
|
+
export class ResponseValidationError extends ModaicClientError {
|
|
8
|
+
/**
|
|
9
|
+
* The raw value that failed validation.
|
|
10
|
+
*/
|
|
11
|
+
rawValue;
|
|
12
|
+
/**
|
|
13
|
+
* The raw message that failed validation.
|
|
14
|
+
*/
|
|
15
|
+
rawMessage;
|
|
16
|
+
constructor(message, extra) {
|
|
17
|
+
super(message, extra);
|
|
18
|
+
this.name = "ResponseValidationError";
|
|
19
|
+
this.cause = extra.cause;
|
|
20
|
+
this.rawValue = extra.rawValue;
|
|
21
|
+
this.rawMessage = extra.rawMessage;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Return a pretty-formatted error message if the underlying validation error
|
|
25
|
+
* is a ZodError or some other recognized error type, otherwise return the
|
|
26
|
+
* default error message.
|
|
27
|
+
*/
|
|
28
|
+
pretty() {
|
|
29
|
+
if (this.cause instanceof z.$ZodError) {
|
|
30
|
+
return `${this.rawMessage}\n${formatZodError(this.cause)}`;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
return this.toString();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=response-validation-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-validation-error.js","sourceRoot":"","sources":["../../../src/models/errors/response-validation-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,OAAO,uBAAwB,SAAQ,iBAAiB;IAC5D;;OAEG;IACa,QAAQ,CAAU;IAElC;;OAEG;IACa,UAAU,CAAU;IAEpC,YACE,OAAe,EACf,KAOC,EACD;QACA,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,yBAAyB,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC;IAAA,CACpC;IAED;;;;OAIG;IACI,MAAM,GAAW;QACtB,IAAI,IAAI,CAAC,KAAK,YAAY,CAAC,CAAC,SAAS,EAAE,CAAC;YACtC,OAAO,GAAG,IAAI,CAAC,UAAU,KAAK,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7D,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;IAAA,CACF;CACF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v4/core";
|
|
2
|
+
export declare class SDKValidationError extends Error {
|
|
3
|
+
/**
|
|
4
|
+
* The raw value that failed validation.
|
|
5
|
+
*/
|
|
6
|
+
readonly rawValue: unknown;
|
|
7
|
+
/**
|
|
8
|
+
* The raw message that failed validation.
|
|
9
|
+
*/
|
|
10
|
+
readonly rawMessage: unknown;
|
|
11
|
+
static [Symbol.hasInstance](instance: unknown): instance is SDKValidationError;
|
|
12
|
+
constructor(message: string, cause: unknown, rawValue: unknown);
|
|
13
|
+
/**
|
|
14
|
+
* Return a pretty-formatted error message if the underlying validation error
|
|
15
|
+
* is a ZodError or some other recognized error type, otherwise return the
|
|
16
|
+
* default error message.
|
|
17
|
+
*/
|
|
18
|
+
pretty(): string;
|
|
19
|
+
}
|
|
20
|
+
export declare function formatZodError(err: z.$ZodError): string;
|
|
21
|
+
//# sourceMappingURL=sdk-validation-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk-validation-error.d.ts","sourceRoot":"","sources":["../../../src/models/errors/sdk-validation-error.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,qBAAa,kBAAmB,SAAQ,KAAK;IAC3C;;OAEG;IACH,SAAgB,QAAQ,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,SAAgB,UAAU,EAAE,OAAO,CAAC;IAGpC,OAAgB,CAAC,MAAM,CAAC,WAAW,CAAC,CAClC,QAAQ,EAAE,OAAO,GAChB,QAAQ,IAAI,kBAAkB,CAOhC;IAED,YAAY,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAM7D;IAED;;;;OAIG;IACI,MAAM,IAAI,MAAM,CAMtB;CACF;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,MAAM,CAEvD"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4/core";
|
|
5
|
+
export class SDKValidationError extends Error {
|
|
6
|
+
/**
|
|
7
|
+
* The raw value that failed validation.
|
|
8
|
+
*/
|
|
9
|
+
rawValue;
|
|
10
|
+
/**
|
|
11
|
+
* The raw message that failed validation.
|
|
12
|
+
*/
|
|
13
|
+
rawMessage;
|
|
14
|
+
// Allows for backwards compatibility for `instanceof` checks of `ResponseValidationError`
|
|
15
|
+
static [Symbol.hasInstance](instance) {
|
|
16
|
+
if (!(instance instanceof Error))
|
|
17
|
+
return false;
|
|
18
|
+
if (!("rawValue" in instance))
|
|
19
|
+
return false;
|
|
20
|
+
if (!("rawMessage" in instance))
|
|
21
|
+
return false;
|
|
22
|
+
if (!("pretty" in instance))
|
|
23
|
+
return false;
|
|
24
|
+
if (typeof instance.pretty !== "function")
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
constructor(message, cause, rawValue) {
|
|
29
|
+
super(`${message}: ${cause}`);
|
|
30
|
+
this.name = "SDKValidationError";
|
|
31
|
+
this.cause = cause;
|
|
32
|
+
this.rawValue = rawValue;
|
|
33
|
+
this.rawMessage = message;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Return a pretty-formatted error message if the underlying validation error
|
|
37
|
+
* is a ZodError or some other recognized error type, otherwise return the
|
|
38
|
+
* default error message.
|
|
39
|
+
*/
|
|
40
|
+
pretty() {
|
|
41
|
+
if (this.cause instanceof z.$ZodError) {
|
|
42
|
+
return `${this.rawMessage}\n${formatZodError(this.cause)}`;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
return this.toString();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
export function formatZodError(err) {
|
|
50
|
+
return z.prettifyError(err);
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=sdk-validation-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk-validation-error.js","sourceRoot":"","sources":["../../../src/models/errors/sdk-validation-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAC3C;;OAEG;IACa,QAAQ,CAAU;IAElC;;OAEG;IACa,UAAU,CAAU;IAEpC,0FAA0F;IAC1F,MAAM,CAAU,CAAC,MAAM,CAAC,WAAW,CAAC,CAClC,QAAiB,EACe;QAChC,IAAI,CAAC,CAAC,QAAQ,YAAY,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QAC/C,IAAI,CAAC,CAAC,UAAU,IAAI,QAAQ,CAAC;YAAE,OAAO,KAAK,CAAC;QAC5C,IAAI,CAAC,CAAC,YAAY,IAAI,QAAQ,CAAC;YAAE,OAAO,KAAK,CAAC;QAC9C,IAAI,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC;YAAE,OAAO,KAAK,CAAC;QAC1C,IAAI,OAAO,QAAQ,CAAC,MAAM,KAAK,UAAU;YAAE,OAAO,KAAK,CAAC;QACxD,OAAO,IAAI,CAAC;IAAA,CACb;IAED,YAAY,OAAe,EAAE,KAAc,EAAE,QAAiB,EAAE;QAC9D,KAAK,CAAC,GAAG,OAAO,KAAK,KAAK,EAAE,CAAC,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;QACjC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC;IAAA,CAC3B;IAED;;;;OAIG;IACI,MAAM,GAAW;QACtB,IAAI,IAAI,CAAC,KAAK,YAAY,CAAC,CAAC,SAAS,EAAE,CAAC;YACtC,OAAO,GAAG,IAAI,CAAC,UAAU,KAAK,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7D,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;IAAA,CACF;CACF;AAED,MAAM,UAAU,cAAc,CAAC,GAAgB,EAAU;IACvD,OAAO,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AAAA,CAC7B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
/**
|
|
3
|
+
* Export examples and predictions for a repo.
|
|
4
|
+
*/
|
|
5
|
+
export type ExportExamplesRequest = {
|
|
6
|
+
arbiterRepo: string;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export type ExportExamplesRequest$Outbound = {
|
|
10
|
+
arbiter_repo: string;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ExportExamplesRequest$outboundSchema: z.ZodMiniType<ExportExamplesRequest$Outbound, ExportExamplesRequest>;
|
|
14
|
+
export declare function exportExamplesRequestToJSON(exportExamplesRequest: ExportExamplesRequest): string;
|
|
15
|
+
//# sourceMappingURL=export-examples-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-examples-request.d.ts","sourceRoot":"","sources":["../../src/models/export-examples-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,8BAA8B,EAC9B,qBAAqB,CAUtB,CAAC;AAEF,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const ExportExamplesRequest$outboundSchema = z.pipe(z.object({
|
|
8
|
+
arbiterRepo: z.string(),
|
|
9
|
+
}), z.transform((v) => {
|
|
10
|
+
return remap$(v, {
|
|
11
|
+
arbiterRepo: "arbiter_repo",
|
|
12
|
+
});
|
|
13
|
+
}));
|
|
14
|
+
export function exportExamplesRequestToJSON(exportExamplesRequest) {
|
|
15
|
+
return JSON.stringify(ExportExamplesRequest$outboundSchema.parse(exportExamplesRequest));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=export-examples-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-examples-request.js","sourceRoot":"","sources":["../../src/models/export-examples-request.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAcvD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
/**
|
|
5
|
+
* A presigned parquet download for exported examples.
|
|
6
|
+
*/
|
|
7
|
+
export type ExportExamplesResponse = {
|
|
8
|
+
downloadUrl: string;
|
|
9
|
+
fileKey: string;
|
|
10
|
+
fileName: string;
|
|
11
|
+
expiresIn: number;
|
|
12
|
+
rowCount: number;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const ExportExamplesResponse$inboundSchema: z.ZodMiniType<ExportExamplesResponse, unknown>;
|
|
16
|
+
export declare function exportExamplesResponseFromJSON(jsonString: string): SafeParseResult<ExportExamplesResponse, SDKValidationError>;
|
|
17
|
+
//# sourceMappingURL=export-examples-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-examples-response.d.ts","sourceRoot":"","sources":["../../src/models/export-examples-response.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,sBAAsB,EACtB,OAAO,CAkBR,CAAC;AAEF,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import * as types from "../types/primitives.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const ExportExamplesResponse$inboundSchema = z.pipe(z.object({
|
|
10
|
+
download_url: types.string(),
|
|
11
|
+
file_key: types.string(),
|
|
12
|
+
file_name: types.string(),
|
|
13
|
+
expires_in: types.number(),
|
|
14
|
+
row_count: types.number(),
|
|
15
|
+
}), z.transform((v) => {
|
|
16
|
+
return remap$(v, {
|
|
17
|
+
"download_url": "downloadUrl",
|
|
18
|
+
"file_key": "fileKey",
|
|
19
|
+
"file_name": "fileName",
|
|
20
|
+
"expires_in": "expiresIn",
|
|
21
|
+
"row_count": "rowCount",
|
|
22
|
+
});
|
|
23
|
+
}));
|
|
24
|
+
export function exportExamplesResponseFromJSON(jsonString) {
|
|
25
|
+
return safeParse(jsonString, (x) => ExportExamplesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExportExamplesResponse' from JSON`);
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=export-examples-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-examples-response.js","sourceRoot":"","sources":["../../src/models/export-examples-response.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAchD,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,YAAY,EAAE,KAAK,CAAC,MAAM,EAAE;IAC5B,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;CAC1B,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,cAAc,EAAE,aAAa;QAC7B,UAAU,EAAE,SAAS;QACrB,WAAW,EAAE,UAAU;QACvB,YAAY,EAAE,WAAW;QACzB,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,8BAA8B,CAC5C,UAAkB,EAC2C;IAC7D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export type FieldSchema = {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
allowedValues?: Array<any> | null | undefined;
|
|
6
|
+
objectSchema?: {
|
|
7
|
+
[k: string]: any;
|
|
8
|
+
} | null | undefined;
|
|
9
|
+
nullable?: boolean | undefined;
|
|
10
|
+
description?: string | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type FieldSchema$Outbound = {
|
|
14
|
+
name: string;
|
|
15
|
+
type: string;
|
|
16
|
+
allowed_values?: Array<any> | null | undefined;
|
|
17
|
+
object_schema?: {
|
|
18
|
+
[k: string]: any;
|
|
19
|
+
} | null | undefined;
|
|
20
|
+
nullable: boolean;
|
|
21
|
+
description?: string | null | undefined;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const FieldSchema$outboundSchema: z.ZodMiniType<FieldSchema$Outbound, FieldSchema>;
|
|
25
|
+
export declare function fieldSchemaToJSON(fieldSchema: FieldSchema): string;
|
|
26
|
+
//# sourceMappingURL=field-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-schema.d.ts","sourceRoot":"","sources":["../../src/models/field-schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,YAAY,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IACvD,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IACxD,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,WAAW,CACpD,oBAAoB,EACpB,WAAW,CAgBZ,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const FieldSchema$outboundSchema = z.pipe(z.object({
|
|
8
|
+
name: z.string(),
|
|
9
|
+
type: z.string(),
|
|
10
|
+
allowedValues: z.optional(z.nullable(z.array(z.any()))),
|
|
11
|
+
objectSchema: z.optional(z.nullable(z.record(z.string(), z.any()))),
|
|
12
|
+
nullable: z._default(z.boolean(), false),
|
|
13
|
+
description: z.optional(z.nullable(z.string())),
|
|
14
|
+
}), z.transform((v) => {
|
|
15
|
+
return remap$(v, {
|
|
16
|
+
allowedValues: "allowed_values",
|
|
17
|
+
objectSchema: "object_schema",
|
|
18
|
+
});
|
|
19
|
+
}));
|
|
20
|
+
export function fieldSchemaToJSON(fieldSchema) {
|
|
21
|
+
return JSON.stringify(FieldSchema$outboundSchema.parse(fieldSchema));
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=field-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-schema.js","sourceRoot":"","sources":["../../src/models/field-schema.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAqBvD,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B,GAGnC,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IACvD,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IACnE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CAChD,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,aAAa,EAAE,gBAAgB;QAC/B,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,WAAwB,EAAU;IAClE,OAAO,IAAI,CAAC,SAAS,CAAC,0BAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AAAA,CACtE"}
|