@opencode-ai/sdk 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/LICENSE +7 -0
- package/README.md +356 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +226 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +226 -0
- package/client.d.ts.map +1 -0
- package/client.js +512 -0
- package/client.js.map +1 -0
- package/client.mjs +508 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/request-options.d.mts +33 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +33 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +67 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +67 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +58 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +53 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +139 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/app-info.d.mts +31 -0
- package/resources/app-info.d.mts.map +1 -0
- package/resources/app-info.d.ts +31 -0
- package/resources/app-info.d.ts.map +1 -0
- package/resources/app-info.js +15 -0
- package/resources/app-info.js.map +1 -0
- package/resources/app-info.mjs +11 -0
- package/resources/app-info.mjs.map +1 -0
- package/resources/app-initialize.d.mts +14 -0
- package/resources/app-initialize.d.mts.map +1 -0
- package/resources/app-initialize.d.ts +14 -0
- package/resources/app-initialize.d.ts.map +1 -0
- package/resources/app-initialize.js +15 -0
- package/resources/app-initialize.js.map +1 -0
- package/resources/app-initialize.mjs +11 -0
- package/resources/app-initialize.mjs.map +1 -0
- package/resources/config-get.d.mts +236 -0
- package/resources/config-get.d.mts.map +1 -0
- package/resources/config-get.d.ts +236 -0
- package/resources/config-get.d.ts.map +1 -0
- package/resources/config-get.js +15 -0
- package/resources/config-get.js.map +1 -0
- package/resources/config-get.mjs +11 -0
- package/resources/config-get.mjs.map +1 -0
- package/resources/event.d.mts +105 -0
- package/resources/event.d.mts.map +1 -0
- package/resources/event.d.ts +105 -0
- package/resources/event.d.ts.map +1 -0
- package/resources/event.js +15 -0
- package/resources/event.js.map +1 -0
- package/resources/event.mjs +11 -0
- package/resources/event.mjs.map +1 -0
- package/resources/file-search.d.mts +17 -0
- package/resources/file-search.d.mts.map +1 -0
- package/resources/file-search.d.ts +17 -0
- package/resources/file-search.d.ts.map +1 -0
- package/resources/file-search.js +15 -0
- package/resources/file-search.js.map +1 -0
- package/resources/file-search.mjs +11 -0
- package/resources/file-search.mjs.map +1 -0
- package/resources/index.d.mts +18 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +18 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +39 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +19 -0
- package/resources/index.mjs.map +1 -0
- package/resources/installation-info.d.mts +17 -0
- package/resources/installation-info.d.mts.map +1 -0
- package/resources/installation-info.d.ts +17 -0
- package/resources/installation-info.d.ts.map +1 -0
- package/resources/installation-info.js +15 -0
- package/resources/installation-info.js.map +1 -0
- package/resources/installation-info.mjs +11 -0
- package/resources/installation-info.mjs.map +1 -0
- package/resources/path-get.d.mts +19 -0
- package/resources/path-get.d.mts.map +1 -0
- package/resources/path-get.d.ts +19 -0
- package/resources/path-get.d.ts.map +1 -0
- package/resources/path-get.js +15 -0
- package/resources/path-get.js.map +1 -0
- package/resources/path-get.mjs +11 -0
- package/resources/path-get.mjs.map +1 -0
- package/resources/provider-list.d.mts +58 -0
- package/resources/provider-list.d.mts.map +1 -0
- package/resources/provider-list.d.ts +58 -0
- package/resources/provider-list.d.ts.map +1 -0
- package/resources/provider-list.js +15 -0
- package/resources/provider-list.js.map +1 -0
- package/resources/provider-list.mjs +11 -0
- package/resources/provider-list.mjs.map +1 -0
- package/resources/session-abort.d.mts +17 -0
- package/resources/session-abort.d.mts.map +1 -0
- package/resources/session-abort.d.ts +17 -0
- package/resources/session-abort.d.ts.map +1 -0
- package/resources/session-abort.js +15 -0
- package/resources/session-abort.js.map +1 -0
- package/resources/session-abort.mjs +11 -0
- package/resources/session-abort.mjs.map +1 -0
- package/resources/session-chat.d.mts +160 -0
- package/resources/session-chat.d.mts.map +1 -0
- package/resources/session-chat.d.ts +160 -0
- package/resources/session-chat.d.ts.map +1 -0
- package/resources/session-chat.js +15 -0
- package/resources/session-chat.js.map +1 -0
- package/resources/session-chat.mjs +11 -0
- package/resources/session-chat.mjs.map +1 -0
- package/resources/session-create.d.mts +30 -0
- package/resources/session-create.d.mts.map +1 -0
- package/resources/session-create.d.ts +30 -0
- package/resources/session-create.d.ts.map +1 -0
- package/resources/session-create.js +15 -0
- package/resources/session-create.js.map +1 -0
- package/resources/session-create.mjs +11 -0
- package/resources/session-create.mjs.map +1 -0
- package/resources/session-initialize.d.mts +19 -0
- package/resources/session-initialize.d.mts.map +1 -0
- package/resources/session-initialize.d.ts +19 -0
- package/resources/session-initialize.d.ts.map +1 -0
- package/resources/session-initialize.js +15 -0
- package/resources/session-initialize.js.map +1 -0
- package/resources/session-initialize.mjs +11 -0
- package/resources/session-initialize.mjs.map +1 -0
- package/resources/session-list.d.mts +15 -0
- package/resources/session-list.d.mts.map +1 -0
- package/resources/session-list.d.ts +15 -0
- package/resources/session-list.d.ts.map +1 -0
- package/resources/session-list.js +15 -0
- package/resources/session-list.js.map +1 -0
- package/resources/session-list.mjs +11 -0
- package/resources/session-list.mjs.map +1 -0
- package/resources/session-messages.d.mts +18 -0
- package/resources/session-messages.d.mts.map +1 -0
- package/resources/session-messages.d.ts +18 -0
- package/resources/session-messages.d.ts.map +1 -0
- package/resources/session-messages.js +15 -0
- package/resources/session-messages.js.map +1 -0
- package/resources/session-messages.mjs +11 -0
- package/resources/session-messages.mjs.map +1 -0
- package/resources/session-share.d.mts +17 -0
- package/resources/session-share.d.mts.map +1 -0
- package/resources/session-share.d.ts +17 -0
- package/resources/session-share.d.ts.map +1 -0
- package/resources/session-share.js +15 -0
- package/resources/session-share.js.map +1 -0
- package/resources/session-share.mjs +11 -0
- package/resources/session-share.mjs.map +1 -0
- package/resources/session-summarize.d.mts +19 -0
- package/resources/session-summarize.d.mts.map +1 -0
- package/resources/session-summarize.d.ts +19 -0
- package/resources/session-summarize.d.ts.map +1 -0
- package/resources/session-summarize.js +15 -0
- package/resources/session-summarize.js.map +1 -0
- package/resources/session-summarize.mjs +11 -0
- package/resources/session-summarize.mjs.map +1 -0
- package/resources/session-unshare.d.mts +17 -0
- package/resources/session-unshare.d.mts.map +1 -0
- package/resources/session-unshare.d.ts +17 -0
- package/resources/session-unshare.d.ts.map +1 -0
- package/resources/session-unshare.js +15 -0
- package/resources/session-unshare.js.map +1 -0
- package/resources/session-unshare.mjs +11 -0
- package/resources/session-unshare.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +860 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/request-options.ts +38 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +92 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +63 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/app-info.ts +46 -0
- package/src/resources/app-initialize.ts +20 -0
- package/src/resources/config-get.ts +294 -0
- package/src/resources/event.ts +150 -0
- package/src/resources/file-search.ts +27 -0
- package/src/resources/index.ts +38 -0
- package/src/resources/installation-info.ts +24 -0
- package/src/resources/path-get.ts +28 -0
- package/src/resources/provider-list.ts +80 -0
- package/src/resources/session-abort.ts +27 -0
- package/src/resources/session-chat.ts +250 -0
- package/src/resources/session-create.ts +44 -0
- package/src/resources/session-initialize.ts +34 -0
- package/src/resources/session-list.ts +21 -0
- package/src/resources/session-messages.ts +31 -0
- package/src/resources/session-share.ts +23 -0
- package/src/resources/session-summarize.ts +34 -0
- package/src/resources/session-unshare.ts +26 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as SessionChatAPI from "./session-chat.mjs";
|
|
3
|
+
import * as SessionCreateAPI from "./session-create.mjs";
|
|
4
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
+
export declare class Event extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get events
|
|
9
|
+
*/
|
|
10
|
+
list(options?: RequestOptions): APIPromise<EventListResponse>;
|
|
11
|
+
}
|
|
12
|
+
export type EventListResponse = EventListResponse.EventStorageWrite | EventListResponse.EventInstallationUpdated | EventListResponse.EventLspClientDiagnostics | EventListResponse.EventPermissionUpdated | EventListResponse.EventMessageUpdated | EventListResponse.EventMessagePartUpdated | EventListResponse.EventSessionUpdated | EventListResponse.EventSessionError;
|
|
13
|
+
export declare namespace EventListResponse {
|
|
14
|
+
interface EventStorageWrite {
|
|
15
|
+
properties: EventStorageWrite.Properties;
|
|
16
|
+
type: 'storage.write';
|
|
17
|
+
}
|
|
18
|
+
namespace EventStorageWrite {
|
|
19
|
+
interface Properties {
|
|
20
|
+
key: string;
|
|
21
|
+
content?: unknown;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
interface EventInstallationUpdated {
|
|
25
|
+
properties: EventInstallationUpdated.Properties;
|
|
26
|
+
type: 'installation.updated';
|
|
27
|
+
}
|
|
28
|
+
namespace EventInstallationUpdated {
|
|
29
|
+
interface Properties {
|
|
30
|
+
version: string;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
interface EventLspClientDiagnostics {
|
|
34
|
+
properties: EventLspClientDiagnostics.Properties;
|
|
35
|
+
type: 'lsp.client.diagnostics';
|
|
36
|
+
}
|
|
37
|
+
namespace EventLspClientDiagnostics {
|
|
38
|
+
interface Properties {
|
|
39
|
+
path: string;
|
|
40
|
+
serverID: string;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
interface EventPermissionUpdated {
|
|
44
|
+
properties: EventPermissionUpdated.Properties;
|
|
45
|
+
type: 'permission.updated';
|
|
46
|
+
}
|
|
47
|
+
namespace EventPermissionUpdated {
|
|
48
|
+
interface Properties {
|
|
49
|
+
id: string;
|
|
50
|
+
metadata: {
|
|
51
|
+
[key: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
sessionID: string;
|
|
54
|
+
time: Properties.Time;
|
|
55
|
+
title: string;
|
|
56
|
+
}
|
|
57
|
+
namespace Properties {
|
|
58
|
+
interface Time {
|
|
59
|
+
created: number;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
interface EventMessageUpdated {
|
|
64
|
+
properties: EventMessageUpdated.Properties;
|
|
65
|
+
type: 'message.updated';
|
|
66
|
+
}
|
|
67
|
+
namespace EventMessageUpdated {
|
|
68
|
+
interface Properties {
|
|
69
|
+
info: SessionChatAPI.MessageInfo;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
interface EventMessagePartUpdated {
|
|
73
|
+
properties: EventMessagePartUpdated.Properties;
|
|
74
|
+
type: 'message.part.updated';
|
|
75
|
+
}
|
|
76
|
+
namespace EventMessagePartUpdated {
|
|
77
|
+
interface Properties {
|
|
78
|
+
messageID: string;
|
|
79
|
+
part: SessionChatAPI.MessagePart;
|
|
80
|
+
sessionID: string;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
interface EventSessionUpdated {
|
|
84
|
+
properties: EventSessionUpdated.Properties;
|
|
85
|
+
type: 'session.updated';
|
|
86
|
+
}
|
|
87
|
+
namespace EventSessionUpdated {
|
|
88
|
+
interface Properties {
|
|
89
|
+
info: SessionCreateAPI.SessionInfo;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
interface EventSessionError {
|
|
93
|
+
properties: EventSessionError.Properties;
|
|
94
|
+
type: 'session.error';
|
|
95
|
+
}
|
|
96
|
+
namespace EventSessionError {
|
|
97
|
+
interface Properties {
|
|
98
|
+
error?: SessionChatAPI.ProviderAuthError | SessionChatAPI.UnknownError;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export declare namespace Event {
|
|
103
|
+
export { type EventListResponse as EventListResponse };
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=event.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.d.mts","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as SessionChatAPI from "./session-chat.js";
|
|
3
|
+
import * as SessionCreateAPI from "./session-create.js";
|
|
4
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
6
|
+
export declare class Event extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get events
|
|
9
|
+
*/
|
|
10
|
+
list(options?: RequestOptions): APIPromise<EventListResponse>;
|
|
11
|
+
}
|
|
12
|
+
export type EventListResponse = EventListResponse.EventStorageWrite | EventListResponse.EventInstallationUpdated | EventListResponse.EventLspClientDiagnostics | EventListResponse.EventPermissionUpdated | EventListResponse.EventMessageUpdated | EventListResponse.EventMessagePartUpdated | EventListResponse.EventSessionUpdated | EventListResponse.EventSessionError;
|
|
13
|
+
export declare namespace EventListResponse {
|
|
14
|
+
interface EventStorageWrite {
|
|
15
|
+
properties: EventStorageWrite.Properties;
|
|
16
|
+
type: 'storage.write';
|
|
17
|
+
}
|
|
18
|
+
namespace EventStorageWrite {
|
|
19
|
+
interface Properties {
|
|
20
|
+
key: string;
|
|
21
|
+
content?: unknown;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
interface EventInstallationUpdated {
|
|
25
|
+
properties: EventInstallationUpdated.Properties;
|
|
26
|
+
type: 'installation.updated';
|
|
27
|
+
}
|
|
28
|
+
namespace EventInstallationUpdated {
|
|
29
|
+
interface Properties {
|
|
30
|
+
version: string;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
interface EventLspClientDiagnostics {
|
|
34
|
+
properties: EventLspClientDiagnostics.Properties;
|
|
35
|
+
type: 'lsp.client.diagnostics';
|
|
36
|
+
}
|
|
37
|
+
namespace EventLspClientDiagnostics {
|
|
38
|
+
interface Properties {
|
|
39
|
+
path: string;
|
|
40
|
+
serverID: string;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
interface EventPermissionUpdated {
|
|
44
|
+
properties: EventPermissionUpdated.Properties;
|
|
45
|
+
type: 'permission.updated';
|
|
46
|
+
}
|
|
47
|
+
namespace EventPermissionUpdated {
|
|
48
|
+
interface Properties {
|
|
49
|
+
id: string;
|
|
50
|
+
metadata: {
|
|
51
|
+
[key: string]: unknown;
|
|
52
|
+
};
|
|
53
|
+
sessionID: string;
|
|
54
|
+
time: Properties.Time;
|
|
55
|
+
title: string;
|
|
56
|
+
}
|
|
57
|
+
namespace Properties {
|
|
58
|
+
interface Time {
|
|
59
|
+
created: number;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
interface EventMessageUpdated {
|
|
64
|
+
properties: EventMessageUpdated.Properties;
|
|
65
|
+
type: 'message.updated';
|
|
66
|
+
}
|
|
67
|
+
namespace EventMessageUpdated {
|
|
68
|
+
interface Properties {
|
|
69
|
+
info: SessionChatAPI.MessageInfo;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
interface EventMessagePartUpdated {
|
|
73
|
+
properties: EventMessagePartUpdated.Properties;
|
|
74
|
+
type: 'message.part.updated';
|
|
75
|
+
}
|
|
76
|
+
namespace EventMessagePartUpdated {
|
|
77
|
+
interface Properties {
|
|
78
|
+
messageID: string;
|
|
79
|
+
part: SessionChatAPI.MessagePart;
|
|
80
|
+
sessionID: string;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
interface EventSessionUpdated {
|
|
84
|
+
properties: EventSessionUpdated.Properties;
|
|
85
|
+
type: 'session.updated';
|
|
86
|
+
}
|
|
87
|
+
namespace EventSessionUpdated {
|
|
88
|
+
interface Properties {
|
|
89
|
+
info: SessionCreateAPI.SessionInfo;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
interface EventSessionError {
|
|
93
|
+
properties: EventSessionError.Properties;
|
|
94
|
+
type: 'session.error';
|
|
95
|
+
}
|
|
96
|
+
namespace EventSessionError {
|
|
97
|
+
interface Properties {
|
|
98
|
+
error?: SessionChatAPI.ProviderAuthError | SessionChatAPI.UnknownError;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export declare namespace Event {
|
|
103
|
+
export { type EventListResponse as EventListResponse };
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,MAAM,iBAAiB,GACzB,iBAAiB,CAAC,iBAAiB,GACnC,iBAAiB,CAAC,wBAAwB,GAC1C,iBAAiB,CAAC,yBAAyB,GAC3C,iBAAiB,CAAC,sBAAsB,GACxC,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,uBAAuB,GACzC,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,iBAAiB,CAAC;AAExC,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,iBAAiB;QAChC,UAAU,EAAE,iBAAiB,CAAC,UAAU,CAAC;QAEzC,IAAI,EAAE,eAAe,CAAC;KACvB;IAED,UAAiB,iBAAiB,CAAC;QACjC,UAAiB,UAAU;YACzB,GAAG,EAAE,MAAM,CAAC;YAEZ,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB;KACF;IAED,UAAiB,wBAAwB;QACvC,UAAU,EAAE,wBAAwB,CAAC,UAAU,CAAC;QAEhD,IAAI,EAAE,sBAAsB,CAAC;KAC9B;IAED,UAAiB,wBAAwB,CAAC;QACxC,UAAiB,UAAU;YACzB,OAAO,EAAE,MAAM,CAAC;SACjB;KACF;IAED,UAAiB,yBAAyB;QACxC,UAAU,EAAE,yBAAyB,CAAC,UAAU,CAAC;QAEjD,IAAI,EAAE,wBAAwB,CAAC;KAChC;IAED,UAAiB,yBAAyB,CAAC;QACzC,UAAiB,UAAU;YACzB,IAAI,EAAE,MAAM,CAAC;YAEb,QAAQ,EAAE,MAAM,CAAC;SAClB;KACF;IAED,UAAiB,sBAAsB;QACrC,UAAU,EAAE,sBAAsB,CAAC,UAAU,CAAC;QAE9C,IAAI,EAAE,oBAAoB,CAAC;KAC5B;IAED,UAAiB,sBAAsB,CAAC;QACtC,UAAiB,UAAU;YACzB,EAAE,EAAE,MAAM,CAAC;YAEX,QAAQ,EAAE;gBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;aAAE,CAAC;YAErC,SAAS,EAAE,MAAM,CAAC;YAElB,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC;YAEtB,KAAK,EAAE,MAAM,CAAC;SACf;QAED,UAAiB,UAAU,CAAC;YAC1B,UAAiB,IAAI;gBACnB,OAAO,EAAE,MAAM,CAAC;aACjB;SACF;KACF;IAED,UAAiB,mBAAmB;QAClC,UAAU,EAAE,mBAAmB,CAAC,UAAU,CAAC;QAE3C,IAAI,EAAE,iBAAiB,CAAC;KACzB;IAED,UAAiB,mBAAmB,CAAC;QACnC,UAAiB,UAAU;YACzB,IAAI,EAAE,cAAc,CAAC,WAAW,CAAC;SAClC;KACF;IAED,UAAiB,uBAAuB;QACtC,UAAU,EAAE,uBAAuB,CAAC,UAAU,CAAC;QAE/C,IAAI,EAAE,sBAAsB,CAAC;KAC9B;IAED,UAAiB,uBAAuB,CAAC;QACvC,UAAiB,UAAU;YACzB,SAAS,EAAE,MAAM,CAAC;YAElB,IAAI,EAAE,cAAc,CAAC,WAAW,CAAC;YAEjC,SAAS,EAAE,MAAM,CAAC;SACnB;KACF;IAED,UAAiB,mBAAmB;QAClC,UAAU,EAAE,mBAAmB,CAAC,UAAU,CAAC;QAE3C,IAAI,EAAE,iBAAiB,CAAC;KACzB;IAED,UAAiB,mBAAmB,CAAC;QACnC,UAAiB,UAAU;YACzB,IAAI,EAAE,gBAAgB,CAAC,WAAW,CAAC;SACpC;KACF;IAED,UAAiB,iBAAiB;QAChC,UAAU,EAAE,iBAAiB,CAAC,UAAU,CAAC;QAEzC,IAAI,EAAE,eAAe,CAAC;KACvB;IAED,UAAiB,iBAAiB,CAAC;QACjC,UAAiB,UAAU;YACzB,KAAK,CAAC,EAAE,cAAc,CAAC,iBAAiB,GAAG,cAAc,CAAC,YAAY,CAAC;SACxE;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Event = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class Event extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get events
|
|
9
|
+
*/
|
|
10
|
+
list(options) {
|
|
11
|
+
return this._client.get('/event', options);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Event = Event;
|
|
15
|
+
//# sourceMappingURL=event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAM/C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;CACF;AAPD,sBAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class Event extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get events
|
|
6
|
+
*/
|
|
7
|
+
list(options) {
|
|
8
|
+
return this._client.get('/event', options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=event.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.mjs","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class FileSearch extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Search for files
|
|
7
|
+
*/
|
|
8
|
+
search(body: FileSearchSearchParams, options?: RequestOptions): APIPromise<FileSearchSearchResponse>;
|
|
9
|
+
}
|
|
10
|
+
export type FileSearchSearchResponse = Array<string>;
|
|
11
|
+
export interface FileSearchSearchParams {
|
|
12
|
+
query: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace FileSearch {
|
|
15
|
+
export { type FileSearchSearchResponse as FileSearchSearchResponse, type FileSearchSearchParams as FileSearchSearchParams, };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=file-search.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-search.d.mts","sourceRoot":"","sources":["../src/resources/file-search.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrG;AAED,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAErD,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class FileSearch extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Search for files
|
|
7
|
+
*/
|
|
8
|
+
search(body: FileSearchSearchParams, options?: RequestOptions): APIPromise<FileSearchSearchResponse>;
|
|
9
|
+
}
|
|
10
|
+
export type FileSearchSearchResponse = Array<string>;
|
|
11
|
+
export interface FileSearchSearchParams {
|
|
12
|
+
query: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace FileSearch {
|
|
15
|
+
export { type FileSearchSearchResponse as FileSearchSearchResponse, type FileSearchSearchParams as FileSearchSearchParams, };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=file-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-search.d.ts","sourceRoot":"","sources":["../src/resources/file-search.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrG;AAED,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAErD,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FileSearch = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class FileSearch extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Search for files
|
|
9
|
+
*/
|
|
10
|
+
search(body, options) {
|
|
11
|
+
return this._client.post('/file_search', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.FileSearch = FileSearch;
|
|
15
|
+
//# sourceMappingURL=file-search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-search.js","sourceRoot":"","sources":["../src/resources/file-search.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF;AAPD,gCAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class FileSearch extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Search for files
|
|
6
|
+
*/
|
|
7
|
+
search(body, options) {
|
|
8
|
+
return this._client.post('/file_search', { body, ...options });
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=file-search.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-search.mjs","sourceRoot":"","sources":["../src/resources/file-search.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { AppInfo, type AppInfoCreateResponse } from "./app-info.mjs";
|
|
2
|
+
export { AppInitialize, type AppInitializeInitializeResponse } from "./app-initialize.mjs";
|
|
3
|
+
export { ConfigGet, type ConfigGetRetrieveResponse } from "./config-get.mjs";
|
|
4
|
+
export { Event, type EventListResponse } from "./event.mjs";
|
|
5
|
+
export { FileSearch, type FileSearchSearchResponse, type FileSearchSearchParams } from "./file-search.mjs";
|
|
6
|
+
export { InstallationInfo, type InstallationInfoCreateResponse } from "./installation-info.mjs";
|
|
7
|
+
export { PathGet, type PathGetCreateResponse } from "./path-get.mjs";
|
|
8
|
+
export { ProviderList, type ProviderListCreateResponse } from "./provider-list.mjs";
|
|
9
|
+
export { SessionAbort, type SessionAbortAbortResponse, type SessionAbortAbortParams } from "./session-abort.mjs";
|
|
10
|
+
export { SessionChat, type MessageInfo, type MessagePart, type ProviderAuthError, type UnknownError, type SessionChatCreateParams, } from "./session-chat.mjs";
|
|
11
|
+
export { SessionCreate, type SessionInfo } from "./session-create.mjs";
|
|
12
|
+
export { SessionInitialize, type SessionInitializeCreateResponse, type SessionInitializeCreateParams, } from "./session-initialize.mjs";
|
|
13
|
+
export { SessionList, type SessionListCreateResponse } from "./session-list.mjs";
|
|
14
|
+
export { SessionMessages, type SessionMessageCreateResponse, type SessionMessageCreateParams, } from "./session-messages.mjs";
|
|
15
|
+
export { SessionShare, type SessionShareCreateParams } from "./session-share.mjs";
|
|
16
|
+
export { SessionSummarize, type SessionSummarizeSummarizeResponse, type SessionSummarizeSummarizeParams, } from "./session-summarize.mjs";
|
|
17
|
+
export { SessionUnshare, type SessionUnshareUnshareParams } from "./session-unshare.mjs";
|
|
18
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EAAE,aAAa,EAAE,KAAK,+BAA+B,EAAE;OACvD,EAAE,SAAS,EAAE,KAAK,yBAAyB,EAAE;OAC7C,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE;OACjC,EAAE,UAAU,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE;OAC1E,EAAE,gBAAgB,EAAE,KAAK,8BAA8B,EAAE;OACzD,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EAAE,YAAY,EAAE,KAAK,0BAA0B,EAAE;OACjD,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC9E,EACL,WAAW,EACX,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,uBAAuB,GAC7B;OACM,EAAE,aAAa,EAAE,KAAK,WAAW,EAAE;OACnC,EACL,iBAAiB,EACjB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE;OAC/C,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC;OACM,EAAE,YAAY,EAAE,KAAK,wBAAwB,EAAE;OAC/C,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC;OACM,EAAE,cAAc,EAAE,KAAK,2BAA2B,EAAE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { AppInfo, type AppInfoCreateResponse } from "./app-info.js";
|
|
2
|
+
export { AppInitialize, type AppInitializeInitializeResponse } from "./app-initialize.js";
|
|
3
|
+
export { ConfigGet, type ConfigGetRetrieveResponse } from "./config-get.js";
|
|
4
|
+
export { Event, type EventListResponse } from "./event.js";
|
|
5
|
+
export { FileSearch, type FileSearchSearchResponse, type FileSearchSearchParams } from "./file-search.js";
|
|
6
|
+
export { InstallationInfo, type InstallationInfoCreateResponse } from "./installation-info.js";
|
|
7
|
+
export { PathGet, type PathGetCreateResponse } from "./path-get.js";
|
|
8
|
+
export { ProviderList, type ProviderListCreateResponse } from "./provider-list.js";
|
|
9
|
+
export { SessionAbort, type SessionAbortAbortResponse, type SessionAbortAbortParams } from "./session-abort.js";
|
|
10
|
+
export { SessionChat, type MessageInfo, type MessagePart, type ProviderAuthError, type UnknownError, type SessionChatCreateParams, } from "./session-chat.js";
|
|
11
|
+
export { SessionCreate, type SessionInfo } from "./session-create.js";
|
|
12
|
+
export { SessionInitialize, type SessionInitializeCreateResponse, type SessionInitializeCreateParams, } from "./session-initialize.js";
|
|
13
|
+
export { SessionList, type SessionListCreateResponse } from "./session-list.js";
|
|
14
|
+
export { SessionMessages, type SessionMessageCreateResponse, type SessionMessageCreateParams, } from "./session-messages.js";
|
|
15
|
+
export { SessionShare, type SessionShareCreateParams } from "./session-share.js";
|
|
16
|
+
export { SessionSummarize, type SessionSummarizeSummarizeResponse, type SessionSummarizeSummarizeParams, } from "./session-summarize.js";
|
|
17
|
+
export { SessionUnshare, type SessionUnshareUnshareParams } from "./session-unshare.js";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EAAE,aAAa,EAAE,KAAK,+BAA+B,EAAE;OACvD,EAAE,SAAS,EAAE,KAAK,yBAAyB,EAAE;OAC7C,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE;OACjC,EAAE,UAAU,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE;OAC1E,EAAE,gBAAgB,EAAE,KAAK,8BAA8B,EAAE;OACzD,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EAAE,YAAY,EAAE,KAAK,0BAA0B,EAAE;OACjD,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC9E,EACL,WAAW,EACX,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,uBAAuB,GAC7B;OACM,EAAE,aAAa,EAAE,KAAK,WAAW,EAAE;OACnC,EACL,iBAAiB,EACjB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE;OAC/C,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC;OACM,EAAE,YAAY,EAAE,KAAK,wBAAwB,EAAE;OAC/C,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC;OACM,EAAE,cAAc,EAAE,KAAK,2BAA2B,EAAE"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SessionUnshare = exports.SessionSummarize = exports.SessionShare = exports.SessionMessages = exports.SessionList = exports.SessionInitialize = exports.SessionCreate = exports.SessionChat = exports.SessionAbort = exports.ProviderList = exports.PathGet = exports.InstallationInfo = exports.FileSearch = exports.Event = exports.ConfigGet = exports.AppInitialize = exports.AppInfo = void 0;
|
|
5
|
+
var app_info_1 = require("./app-info.js");
|
|
6
|
+
Object.defineProperty(exports, "AppInfo", { enumerable: true, get: function () { return app_info_1.AppInfo; } });
|
|
7
|
+
var app_initialize_1 = require("./app-initialize.js");
|
|
8
|
+
Object.defineProperty(exports, "AppInitialize", { enumerable: true, get: function () { return app_initialize_1.AppInitialize; } });
|
|
9
|
+
var config_get_1 = require("./config-get.js");
|
|
10
|
+
Object.defineProperty(exports, "ConfigGet", { enumerable: true, get: function () { return config_get_1.ConfigGet; } });
|
|
11
|
+
var event_1 = require("./event.js");
|
|
12
|
+
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return event_1.Event; } });
|
|
13
|
+
var file_search_1 = require("./file-search.js");
|
|
14
|
+
Object.defineProperty(exports, "FileSearch", { enumerable: true, get: function () { return file_search_1.FileSearch; } });
|
|
15
|
+
var installation_info_1 = require("./installation-info.js");
|
|
16
|
+
Object.defineProperty(exports, "InstallationInfo", { enumerable: true, get: function () { return installation_info_1.InstallationInfo; } });
|
|
17
|
+
var path_get_1 = require("./path-get.js");
|
|
18
|
+
Object.defineProperty(exports, "PathGet", { enumerable: true, get: function () { return path_get_1.PathGet; } });
|
|
19
|
+
var provider_list_1 = require("./provider-list.js");
|
|
20
|
+
Object.defineProperty(exports, "ProviderList", { enumerable: true, get: function () { return provider_list_1.ProviderList; } });
|
|
21
|
+
var session_abort_1 = require("./session-abort.js");
|
|
22
|
+
Object.defineProperty(exports, "SessionAbort", { enumerable: true, get: function () { return session_abort_1.SessionAbort; } });
|
|
23
|
+
var session_chat_1 = require("./session-chat.js");
|
|
24
|
+
Object.defineProperty(exports, "SessionChat", { enumerable: true, get: function () { return session_chat_1.SessionChat; } });
|
|
25
|
+
var session_create_1 = require("./session-create.js");
|
|
26
|
+
Object.defineProperty(exports, "SessionCreate", { enumerable: true, get: function () { return session_create_1.SessionCreate; } });
|
|
27
|
+
var session_initialize_1 = require("./session-initialize.js");
|
|
28
|
+
Object.defineProperty(exports, "SessionInitialize", { enumerable: true, get: function () { return session_initialize_1.SessionInitialize; } });
|
|
29
|
+
var session_list_1 = require("./session-list.js");
|
|
30
|
+
Object.defineProperty(exports, "SessionList", { enumerable: true, get: function () { return session_list_1.SessionList; } });
|
|
31
|
+
var session_messages_1 = require("./session-messages.js");
|
|
32
|
+
Object.defineProperty(exports, "SessionMessages", { enumerable: true, get: function () { return session_messages_1.SessionMessages; } });
|
|
33
|
+
var session_share_1 = require("./session-share.js");
|
|
34
|
+
Object.defineProperty(exports, "SessionShare", { enumerable: true, get: function () { return session_share_1.SessionShare; } });
|
|
35
|
+
var session_summarize_1 = require("./session-summarize.js");
|
|
36
|
+
Object.defineProperty(exports, "SessionSummarize", { enumerable: true, get: function () { return session_summarize_1.SessionSummarize; } });
|
|
37
|
+
var session_unshare_1 = require("./session-unshare.js");
|
|
38
|
+
Object.defineProperty(exports, "SessionUnshare", { enumerable: true, get: function () { return session_unshare_1.SessionUnshare; } });
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAiE;AAAxD,mGAAA,OAAO,OAAA;AAChB,sDAAuF;AAA9E,+GAAA,aAAa,OAAA;AACtB,8CAAyE;AAAhE,uGAAA,SAAS,OAAA;AAClB,oCAAwD;AAA/C,8FAAA,KAAK,OAAA;AACd,gDAAuG;AAA9F,yGAAA,UAAU,OAAA;AACnB,4DAA4F;AAAnF,qHAAA,gBAAgB,OAAA;AACzB,0CAAiE;AAAxD,mGAAA,OAAO,OAAA;AAChB,oDAAgF;AAAvE,6GAAA,YAAY,OAAA;AACrB,oDAA6G;AAApG,6GAAA,YAAY,OAAA;AACrB,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,sDAAmE;AAA1D,+GAAA,aAAa,OAAA;AACtB,8DAI8B;AAH5B,uHAAA,iBAAiB,OAAA;AAInB,kDAA6E;AAApE,2GAAA,WAAW,OAAA;AACpB,0DAI4B;AAH1B,mHAAA,eAAe,OAAA;AAIjB,oDAA8E;AAArE,6GAAA,YAAY,OAAA;AACrB,4DAI6B;AAH3B,qHAAA,gBAAgB,OAAA;AAIlB,wDAAqF;AAA5E,iHAAA,cAAc,OAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { AppInfo } from "./app-info.mjs";
|
|
3
|
+
export { AppInitialize } from "./app-initialize.mjs";
|
|
4
|
+
export { ConfigGet } from "./config-get.mjs";
|
|
5
|
+
export { Event } from "./event.mjs";
|
|
6
|
+
export { FileSearch } from "./file-search.mjs";
|
|
7
|
+
export { InstallationInfo } from "./installation-info.mjs";
|
|
8
|
+
export { PathGet } from "./path-get.mjs";
|
|
9
|
+
export { ProviderList } from "./provider-list.mjs";
|
|
10
|
+
export { SessionAbort } from "./session-abort.mjs";
|
|
11
|
+
export { SessionChat, } from "./session-chat.mjs";
|
|
12
|
+
export { SessionCreate } from "./session-create.mjs";
|
|
13
|
+
export { SessionInitialize, } from "./session-initialize.mjs";
|
|
14
|
+
export { SessionList } from "./session-list.mjs";
|
|
15
|
+
export { SessionMessages, } from "./session-messages.mjs";
|
|
16
|
+
export { SessionShare } from "./session-share.mjs";
|
|
17
|
+
export { SessionSummarize, } from "./session-summarize.mjs";
|
|
18
|
+
export { SessionUnshare } from "./session-unshare.mjs";
|
|
19
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA8B;OACvC,EAAE,aAAa,EAAwC;OACvD,EAAE,SAAS,EAAkC;OAC7C,EAAE,KAAK,EAA0B;OACjC,EAAE,UAAU,EAA8D;OAC1E,EAAE,gBAAgB,EAAuC;OACzD,EAAE,OAAO,EAA8B;OACvC,EAAE,YAAY,EAAmC;OACjD,EAAE,YAAY,EAAgE;OAC9E,EACL,WAAW,GAMZ;OACM,EAAE,aAAa,EAAoB;OACnC,EACL,iBAAiB,GAGlB;OACM,EAAE,WAAW,EAAkC;OAC/C,EACL,eAAe,GAGhB;OACM,EAAE,YAAY,EAAiC;OAC/C,EACL,gBAAgB,GAGjB;OACM,EAAE,cAAc,EAAoC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class InstallationInfo extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get installation info
|
|
7
|
+
*/
|
|
8
|
+
create(options?: RequestOptions): APIPromise<InstallationInfoCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface InstallationInfoCreateResponse {
|
|
11
|
+
latest: string;
|
|
12
|
+
version: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace InstallationInfo {
|
|
15
|
+
export { type InstallationInfoCreateResponse as InstallationInfoCreateResponse };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=installation-info.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installation-info.d.mts","sourceRoot":"","sources":["../src/resources/installation-info.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;CAG7E;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EAAE,KAAK,8BAA8B,IAAI,8BAA8B,EAAE,CAAC;CAClF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class InstallationInfo extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get installation info
|
|
7
|
+
*/
|
|
8
|
+
create(options?: RequestOptions): APIPromise<InstallationInfoCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface InstallationInfoCreateResponse {
|
|
11
|
+
latest: string;
|
|
12
|
+
version: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace InstallationInfo {
|
|
15
|
+
export { type InstallationInfoCreateResponse as InstallationInfoCreateResponse };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=installation-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installation-info.d.ts","sourceRoot":"","sources":["../src/resources/installation-info.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;CAG7E;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EAAE,KAAK,8BAA8B,IAAI,8BAA8B,EAAE,CAAC;CAClF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.InstallationInfo = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class InstallationInfo extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get installation info
|
|
9
|
+
*/
|
|
10
|
+
create(options) {
|
|
11
|
+
return this._client.post('/installation_info', options);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.InstallationInfo = InstallationInfo;
|
|
15
|
+
//# sourceMappingURL=installation-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installation-info.js","sourceRoot":"","sources":["../src/resources/installation-info.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;CACF;AAPD,4CAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class InstallationInfo extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get installation info
|
|
6
|
+
*/
|
|
7
|
+
create(options) {
|
|
8
|
+
return this._client.post('/installation_info', options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=installation-info.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installation-info.mjs","sourceRoot":"","sources":["../src/resources/installation-info.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class PathGet extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get paths
|
|
7
|
+
*/
|
|
8
|
+
create(options?: RequestOptions): APIPromise<PathGetCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface PathGetCreateResponse {
|
|
11
|
+
config: string;
|
|
12
|
+
cwd: string;
|
|
13
|
+
data: string;
|
|
14
|
+
root: string;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace PathGet {
|
|
17
|
+
export { type PathGetCreateResponse as PathGetCreateResponse };
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=path-get.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-get.d.mts","sourceRoot":"","sources":["../src/resources/path-get.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAGpE;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IAEf,GAAG,EAAE,MAAM,CAAC;IAEZ,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAChE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class PathGet extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get paths
|
|
7
|
+
*/
|
|
8
|
+
create(options?: RequestOptions): APIPromise<PathGetCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface PathGetCreateResponse {
|
|
11
|
+
config: string;
|
|
12
|
+
cwd: string;
|
|
13
|
+
data: string;
|
|
14
|
+
root: string;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace PathGet {
|
|
17
|
+
export { type PathGetCreateResponse as PathGetCreateResponse };
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=path-get.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-get.d.ts","sourceRoot":"","sources":["../src/resources/path-get.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAGpE;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IAEf,GAAG,EAAE,MAAM,CAAC;IAEZ,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAChE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PathGet = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class PathGet extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get paths
|
|
9
|
+
*/
|
|
10
|
+
create(options) {
|
|
11
|
+
return this._client.post('/path_get', options);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.PathGet = PathGet;
|
|
15
|
+
//# sourceMappingURL=path-get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-get.js","sourceRoot":"","sources":["../src/resources/path-get.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;CACF;AAPD,0BAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class PathGet extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get paths
|
|
6
|
+
*/
|
|
7
|
+
create(options) {
|
|
8
|
+
return this._client.post('/path_get', options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=path-get.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-get.mjs","sourceRoot":"","sources":["../src/resources/path-get.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;CACF"}
|