@katerai/sdk 0.1.2
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 +35 -0
- package/LICENSE +201 -0
- package/README.md +385 -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 +188 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +188 -0
- package/client.d.ts.map +1 -0
- package/client.js +486 -0
- package/client.js.map +1 -0
- package/client.mjs +482 -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 +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -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 +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -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 +86 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +80 -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 +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -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 +137 -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/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +7 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -0
- package/resources/v1/api-keys.d.mts +142 -0
- package/resources/v1/api-keys.d.mts.map +1 -0
- package/resources/v1/api-keys.d.ts +142 -0
- package/resources/v1/api-keys.d.ts.map +1 -0
- package/resources/v1/api-keys.js +66 -0
- package/resources/v1/api-keys.js.map +1 -0
- package/resources/v1/api-keys.mjs +62 -0
- package/resources/v1/api-keys.mjs.map +1 -0
- package/resources/v1/connections/connections.d.mts +638 -0
- package/resources/v1/connections/connections.d.mts.map +1 -0
- package/resources/v1/connections/connections.d.ts +638 -0
- package/resources/v1/connections/connections.d.ts.map +1 -0
- package/resources/v1/connections/connections.js +67 -0
- package/resources/v1/connections/connections.js.map +1 -0
- package/resources/v1/connections/connections.mjs +62 -0
- package/resources/v1/connections/connections.mjs.map +1 -0
- package/resources/v1/connections/databases.d.mts +25 -0
- package/resources/v1/connections/databases.d.mts.map +1 -0
- package/resources/v1/connections/databases.d.ts +25 -0
- package/resources/v1/connections/databases.d.ts.map +1 -0
- package/resources/v1/connections/databases.js +26 -0
- package/resources/v1/connections/databases.js.map +1 -0
- package/resources/v1/connections/databases.mjs +22 -0
- package/resources/v1/connections/databases.mjs.map +1 -0
- package/resources/v1/connections/index.d.mts +3 -0
- package/resources/v1/connections/index.d.mts.map +1 -0
- package/resources/v1/connections/index.d.ts +3 -0
- package/resources/v1/connections/index.d.ts.map +1 -0
- package/resources/v1/connections/index.js +9 -0
- package/resources/v1/connections/index.js.map +1 -0
- package/resources/v1/connections/index.mjs +4 -0
- package/resources/v1/connections/index.mjs.map +1 -0
- package/resources/v1/connections.d.mts +2 -0
- package/resources/v1/connections.d.mts.map +1 -0
- package/resources/v1/connections.d.ts +2 -0
- package/resources/v1/connections.d.ts.map +1 -0
- package/resources/v1/connections.js +6 -0
- package/resources/v1/connections.js.map +1 -0
- package/resources/v1/connections.mjs +3 -0
- package/resources/v1/connections.mjs.map +1 -0
- package/resources/v1/github/admin.d.mts +33 -0
- package/resources/v1/github/admin.d.mts.map +1 -0
- package/resources/v1/github/admin.d.ts +33 -0
- package/resources/v1/github/admin.d.ts.map +1 -0
- package/resources/v1/github/admin.js +17 -0
- package/resources/v1/github/admin.js.map +1 -0
- package/resources/v1/github/admin.mjs +13 -0
- package/resources/v1/github/admin.mjs.map +1 -0
- package/resources/v1/github/github.d.mts +87 -0
- package/resources/v1/github/github.d.mts.map +1 -0
- package/resources/v1/github/github.d.ts +87 -0
- package/resources/v1/github/github.d.ts.map +1 -0
- package/resources/v1/github/github.js +53 -0
- package/resources/v1/github/github.js.map +1 -0
- package/resources/v1/github/github.mjs +48 -0
- package/resources/v1/github/github.mjs.map +1 -0
- package/resources/v1/github/index.d.mts +6 -0
- package/resources/v1/github/index.d.mts.map +1 -0
- package/resources/v1/github/index.d.ts +6 -0
- package/resources/v1/github/index.d.ts.map +1 -0
- package/resources/v1/github/index.js +15 -0
- package/resources/v1/github/index.js.map +1 -0
- package/resources/v1/github/index.mjs +7 -0
- package/resources/v1/github/index.mjs.map +1 -0
- package/resources/v1/github/repos.d.mts +54 -0
- package/resources/v1/github/repos.d.mts.map +1 -0
- package/resources/v1/github/repos.d.ts +54 -0
- package/resources/v1/github/repos.d.ts.map +1 -0
- package/resources/v1/github/repos.js +22 -0
- package/resources/v1/github/repos.js.map +1 -0
- package/resources/v1/github/repos.mjs +18 -0
- package/resources/v1/github/repos.mjs.map +1 -0
- package/resources/v1/github/scaffold.d.mts +44 -0
- package/resources/v1/github/scaffold.d.mts.map +1 -0
- package/resources/v1/github/scaffold.d.ts +44 -0
- package/resources/v1/github/scaffold.d.ts.map +1 -0
- package/resources/v1/github/scaffold.js +27 -0
- package/resources/v1/github/scaffold.js.map +1 -0
- package/resources/v1/github/scaffold.mjs +23 -0
- package/resources/v1/github/scaffold.mjs.map +1 -0
- package/resources/v1/github/webhooks.d.mts +16 -0
- package/resources/v1/github/webhooks.d.mts.map +1 -0
- package/resources/v1/github/webhooks.d.ts +16 -0
- package/resources/v1/github/webhooks.d.ts.map +1 -0
- package/resources/v1/github/webhooks.js +15 -0
- package/resources/v1/github/webhooks.js.map +1 -0
- package/resources/v1/github/webhooks.mjs +11 -0
- package/resources/v1/github/webhooks.mjs.map +1 -0
- package/resources/v1/github.d.mts +2 -0
- package/resources/v1/github.d.mts.map +1 -0
- package/resources/v1/github.d.ts +2 -0
- package/resources/v1/github.d.ts.map +1 -0
- package/resources/v1/github.js +6 -0
- package/resources/v1/github.js.map +1 -0
- package/resources/v1/github.mjs +3 -0
- package/resources/v1/github.mjs.map +1 -0
- package/resources/v1/groups/groups.d.mts +162 -0
- package/resources/v1/groups/groups.d.mts.map +1 -0
- package/resources/v1/groups/groups.d.ts +162 -0
- package/resources/v1/groups/groups.d.ts.map +1 -0
- package/resources/v1/groups/groups.js +81 -0
- package/resources/v1/groups/groups.js.map +1 -0
- package/resources/v1/groups/groups.mjs +76 -0
- package/resources/v1/groups/groups.mjs.map +1 -0
- package/resources/v1/groups/index.d.mts +3 -0
- package/resources/v1/groups/index.d.mts.map +1 -0
- package/resources/v1/groups/index.d.ts +3 -0
- package/resources/v1/groups/index.d.ts.map +1 -0
- package/resources/v1/groups/index.js +9 -0
- package/resources/v1/groups/index.js.map +1 -0
- package/resources/v1/groups/index.mjs +4 -0
- package/resources/v1/groups/index.mjs.map +1 -0
- package/resources/v1/groups/tenants.d.mts +55 -0
- package/resources/v1/groups/tenants.d.mts.map +1 -0
- package/resources/v1/groups/tenants.d.ts +55 -0
- package/resources/v1/groups/tenants.d.ts.map +1 -0
- package/resources/v1/groups/tenants.js +39 -0
- package/resources/v1/groups/tenants.js.map +1 -0
- package/resources/v1/groups/tenants.mjs +35 -0
- package/resources/v1/groups/tenants.mjs.map +1 -0
- package/resources/v1/groups.d.mts +2 -0
- package/resources/v1/groups.d.mts.map +1 -0
- package/resources/v1/groups.d.ts +2 -0
- package/resources/v1/groups.d.ts.map +1 -0
- package/resources/v1/groups.js +6 -0
- package/resources/v1/groups.js.map +1 -0
- package/resources/v1/groups.mjs +3 -0
- package/resources/v1/groups.mjs.map +1 -0
- package/resources/v1/index.d.mts +9 -0
- package/resources/v1/index.d.mts.map +1 -0
- package/resources/v1/index.d.ts +9 -0
- package/resources/v1/index.d.ts.map +1 -0
- package/resources/v1/index.js +21 -0
- package/resources/v1/index.js.map +1 -0
- package/resources/v1/index.mjs +10 -0
- package/resources/v1/index.mjs.map +1 -0
- package/resources/v1/me.d.mts +51 -0
- package/resources/v1/me.d.mts.map +1 -0
- package/resources/v1/me.d.ts +51 -0
- package/resources/v1/me.d.ts.map +1 -0
- package/resources/v1/me.js +29 -0
- package/resources/v1/me.js.map +1 -0
- package/resources/v1/me.mjs +25 -0
- package/resources/v1/me.mjs.map +1 -0
- package/resources/v1/org/client.d.mts +53 -0
- package/resources/v1/org/client.d.mts.map +1 -0
- package/resources/v1/org/client.d.ts +53 -0
- package/resources/v1/org/client.d.ts.map +1 -0
- package/resources/v1/org/client.js +25 -0
- package/resources/v1/org/client.js.map +1 -0
- package/resources/v1/org/client.mjs +21 -0
- package/resources/v1/org/client.mjs.map +1 -0
- package/resources/v1/org/index.d.mts +4 -0
- package/resources/v1/org/index.d.mts.map +1 -0
- package/resources/v1/org/index.d.ts +4 -0
- package/resources/v1/org/index.d.ts.map +1 -0
- package/resources/v1/org/index.js +11 -0
- package/resources/v1/org/index.js.map +1 -0
- package/resources/v1/org/index.mjs +5 -0
- package/resources/v1/org/index.mjs.map +1 -0
- package/resources/v1/org/org.d.mts +14 -0
- package/resources/v1/org/org.d.mts.map +1 -0
- package/resources/v1/org/org.d.ts +14 -0
- package/resources/v1/org/org.d.ts.map +1 -0
- package/resources/v1/org/org.js +21 -0
- package/resources/v1/org/org.js.map +1 -0
- package/resources/v1/org/org.mjs +16 -0
- package/resources/v1/org/org.mjs.map +1 -0
- package/resources/v1/org/users.d.mts +87 -0
- package/resources/v1/org/users.d.mts.map +1 -0
- package/resources/v1/org/users.d.ts +87 -0
- package/resources/v1/org/users.d.ts.map +1 -0
- package/resources/v1/org/users.js +60 -0
- package/resources/v1/org/users.js.map +1 -0
- package/resources/v1/org/users.mjs +56 -0
- package/resources/v1/org/users.mjs.map +1 -0
- package/resources/v1/org.d.mts +2 -0
- package/resources/v1/org.d.mts.map +1 -0
- package/resources/v1/org.d.ts +2 -0
- package/resources/v1/org.d.ts.map +1 -0
- package/resources/v1/org.js +6 -0
- package/resources/v1/org.js.map +1 -0
- package/resources/v1/org.mjs +3 -0
- package/resources/v1/org.mjs.map +1 -0
- package/resources/v1/tenants/batch.d.mts +159 -0
- package/resources/v1/tenants/batch.d.mts.map +1 -0
- package/resources/v1/tenants/batch.d.ts +159 -0
- package/resources/v1/tenants/batch.d.ts.map +1 -0
- package/resources/v1/tenants/batch.js +42 -0
- package/resources/v1/tenants/batch.js.map +1 -0
- package/resources/v1/tenants/batch.mjs +38 -0
- package/resources/v1/tenants/batch.mjs.map +1 -0
- package/resources/v1/tenants/import.d.mts +126 -0
- package/resources/v1/tenants/import.d.mts.map +1 -0
- package/resources/v1/tenants/import.d.ts +126 -0
- package/resources/v1/tenants/import.d.ts.map +1 -0
- package/resources/v1/tenants/import.js +50 -0
- package/resources/v1/tenants/import.js.map +1 -0
- package/resources/v1/tenants/import.mjs +46 -0
- package/resources/v1/tenants/import.mjs.map +1 -0
- package/resources/v1/tenants/index.d.mts +4 -0
- package/resources/v1/tenants/index.d.mts.map +1 -0
- package/resources/v1/tenants/index.d.ts +4 -0
- package/resources/v1/tenants/index.d.ts.map +1 -0
- package/resources/v1/tenants/index.js +11 -0
- package/resources/v1/tenants/index.js.map +1 -0
- package/resources/v1/tenants/index.mjs +5 -0
- package/resources/v1/tenants/index.mjs.map +1 -0
- package/resources/v1/tenants/tenants.d.mts +205 -0
- package/resources/v1/tenants/tenants.d.mts.map +1 -0
- package/resources/v1/tenants/tenants.d.ts +205 -0
- package/resources/v1/tenants/tenants.d.ts.map +1 -0
- package/resources/v1/tenants/tenants.js +97 -0
- package/resources/v1/tenants/tenants.js.map +1 -0
- package/resources/v1/tenants/tenants.mjs +92 -0
- package/resources/v1/tenants/tenants.mjs.map +1 -0
- package/resources/v1/tenants.d.mts +2 -0
- package/resources/v1/tenants.d.mts.map +1 -0
- package/resources/v1/tenants.d.ts +2 -0
- package/resources/v1/tenants.d.ts.map +1 -0
- package/resources/v1/tenants.js +6 -0
- package/resources/v1/tenants.js.map +1 -0
- package/resources/v1/tenants.mjs +3 -0
- package/resources/v1/tenants.mjs.map +1 -0
- package/resources/v1/v1.d.mts +34 -0
- package/resources/v1/v1.d.mts.map +1 -0
- package/resources/v1/v1.d.ts +34 -0
- package/resources/v1/v1.d.ts.map +1 -0
- package/resources/v1/v1.js +41 -0
- package/resources/v1/v1.js.map +1 -0
- package/resources/v1/v1.mjs +36 -0
- package/resources/v1/v1.mjs.map +1 -0
- package/resources/v1.d.mts +2 -0
- package/resources/v1.d.mts.map +1 -0
- package/resources/v1.d.ts +2 -0
- package/resources/v1.d.ts.map +1 -0
- package/resources/v1.js +6 -0
- package/resources/v1.js.map +1 -0
- package/resources/v1.mjs +3 -0
- package/resources/v1.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 +761 -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 +91 -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 +95 -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 +127 -0
- package/src/internal/utils/path.ts +88 -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/index.ts +3 -0
- package/src/resources/v1/api-keys.ts +186 -0
- package/src/resources/v1/connections/connections.ts +804 -0
- package/src/resources/v1/connections/databases.ts +42 -0
- package/src/resources/v1/connections/index.ts +12 -0
- package/src/resources/v1/connections.ts +3 -0
- package/src/resources/v1/github/admin.ts +56 -0
- package/src/resources/v1/github/github.ts +145 -0
- package/src/resources/v1/github/index.ts +19 -0
- package/src/resources/v1/github/repos.ts +85 -0
- package/src/resources/v1/github/scaffold.ts +71 -0
- package/src/resources/v1/github/webhooks.ts +20 -0
- package/src/resources/v1/github.ts +3 -0
- package/src/resources/v1/groups/groups.ts +218 -0
- package/src/resources/v1/groups/index.ts +10 -0
- package/src/resources/v1/groups/tenants.ts +78 -0
- package/src/resources/v1/groups.ts +3 -0
- package/src/resources/v1/index.ts +43 -0
- package/src/resources/v1/me.ts +78 -0
- package/src/resources/v1/org/client.ts +81 -0
- package/src/resources/v1/org/index.ts +11 -0
- package/src/resources/v1/org/org.ts +32 -0
- package/src/resources/v1/org/users.ts +127 -0
- package/src/resources/v1/org.ts +3 -0
- package/src/resources/v1/tenants/batch.ts +200 -0
- package/src/resources/v1/tenants/import.ts +158 -0
- package/src/resources/v1/tenants/index.ts +27 -0
- package/src/resources/v1/tenants/tenants.ts +290 -0
- package/src/resources/v1/tenants.ts +3 -0
- package/src/resources/v1/v1.ts +116 -0
- package/src/resources/v1.ts +3 -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,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.Webhooks = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
class Webhooks extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simple health check for the webhook receiver.
|
|
9
|
+
*/
|
|
10
|
+
ping(options) {
|
|
11
|
+
return this._client.get('/api/v1/github/webhooks/ping', options);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Webhooks = Webhooks;
|
|
15
|
+
//# sourceMappingURL=webhooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../../src/resources/v1/github/webhooks.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CACF;AAPD,4BAOC"}
|
|
@@ -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 Webhooks extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Simple health check for the webhook receiver.
|
|
6
|
+
*/
|
|
7
|
+
ping(options) {
|
|
8
|
+
return this._client.get('/api/v1/github/webhooks/ping', options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=webhooks.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.mjs","sourceRoot":"","sources":["../../../src/resources/v1/github/webhooks.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github.d.mts","sourceRoot":"","sources":["../../src/resources/v1/github.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../src/resources/v1/github.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./github/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=github.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github.js","sourceRoot":"","sources":["../../src/resources/v1/github.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github.mjs","sourceRoot":"","sources":["../../src/resources/v1/github.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as TenantsAPI from "./tenants.mjs";
|
|
3
|
+
import { TenantAddParams, TenantAddResponse, TenantRemoveParams, Tenants } from "./tenants.mjs";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
|
+
export declare class Groups extends APIResource {
|
|
7
|
+
tenants: TenantsAPI.Tenants;
|
|
8
|
+
/**
|
|
9
|
+
* Create a new group.
|
|
10
|
+
*
|
|
11
|
+
* Group names must be unique within the client.
|
|
12
|
+
*
|
|
13
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
14
|
+
*
|
|
15
|
+
* Raises: GroupNameExistsError: If a group with this name already exists (409)
|
|
16
|
+
*/
|
|
17
|
+
create(body: GroupCreateParams, options?: RequestOptions): APIPromise<GroupDetail>;
|
|
18
|
+
/**
|
|
19
|
+
* Get a single group by ID.
|
|
20
|
+
*
|
|
21
|
+
* Returns the group with its full tenant list.
|
|
22
|
+
*
|
|
23
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
24
|
+
*
|
|
25
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404)
|
|
26
|
+
*/
|
|
27
|
+
retrieve(groupID: string, options?: RequestOptions): APIPromise<GroupDetail>;
|
|
28
|
+
/**
|
|
29
|
+
* Update a group.
|
|
30
|
+
*
|
|
31
|
+
* Update group name and/or description. Name must remain unique within client.
|
|
32
|
+
*
|
|
33
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
34
|
+
*
|
|
35
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404) GroupNameExistsError:
|
|
36
|
+
* If new name conflicts with existing group (409)
|
|
37
|
+
*/
|
|
38
|
+
update(groupID: string, body: GroupUpdateParams, options?: RequestOptions): APIPromise<GroupDetail>;
|
|
39
|
+
/**
|
|
40
|
+
* List all groups for the client.
|
|
41
|
+
*
|
|
42
|
+
* Returns groups with their tenant counts for efficient display.
|
|
43
|
+
*
|
|
44
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
45
|
+
*/
|
|
46
|
+
list(options?: RequestOptions): APIPromise<GroupListResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Delete a group.
|
|
49
|
+
*
|
|
50
|
+
* Soft-deletes the group and removes all tenant associations.
|
|
51
|
+
*
|
|
52
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
53
|
+
*
|
|
54
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404)
|
|
55
|
+
*/
|
|
56
|
+
delete(groupID: string, options?: RequestOptions): APIPromise<void>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Response model for a single group (with full tenant list).
|
|
60
|
+
*/
|
|
61
|
+
export interface GroupDetail {
|
|
62
|
+
/**
|
|
63
|
+
* Group ID
|
|
64
|
+
*/
|
|
65
|
+
id: string;
|
|
66
|
+
/**
|
|
67
|
+
* Creation timestamp
|
|
68
|
+
*/
|
|
69
|
+
created_at: string;
|
|
70
|
+
/**
|
|
71
|
+
* Group description
|
|
72
|
+
*/
|
|
73
|
+
description: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Group name
|
|
76
|
+
*/
|
|
77
|
+
name: string;
|
|
78
|
+
/**
|
|
79
|
+
* Tenants in this group
|
|
80
|
+
*/
|
|
81
|
+
tenants: Array<GroupDetail.Tenant>;
|
|
82
|
+
/**
|
|
83
|
+
* Last update timestamp
|
|
84
|
+
*/
|
|
85
|
+
updated_at: string;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace GroupDetail {
|
|
88
|
+
/**
|
|
89
|
+
* Tenant information in group responses.
|
|
90
|
+
*/
|
|
91
|
+
interface Tenant {
|
|
92
|
+
/**
|
|
93
|
+
* Tenant ID
|
|
94
|
+
*/
|
|
95
|
+
id: string;
|
|
96
|
+
/**
|
|
97
|
+
* Human-readable tenant name
|
|
98
|
+
*/
|
|
99
|
+
name: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Unique tenant identifier
|
|
102
|
+
*/
|
|
103
|
+
tenant_key: string;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export type GroupListResponse = Array<GroupListResponse.GroupListResponseItem>;
|
|
107
|
+
export declare namespace GroupListResponse {
|
|
108
|
+
/**
|
|
109
|
+
* Response model for a group in list responses (with tenant count).
|
|
110
|
+
*/
|
|
111
|
+
interface GroupListResponseItem {
|
|
112
|
+
/**
|
|
113
|
+
* Group ID
|
|
114
|
+
*/
|
|
115
|
+
id: string;
|
|
116
|
+
/**
|
|
117
|
+
* Creation timestamp
|
|
118
|
+
*/
|
|
119
|
+
created_at: string;
|
|
120
|
+
/**
|
|
121
|
+
* Group description
|
|
122
|
+
*/
|
|
123
|
+
description: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Group name
|
|
126
|
+
*/
|
|
127
|
+
name: string;
|
|
128
|
+
/**
|
|
129
|
+
* Number of tenants in this group
|
|
130
|
+
*/
|
|
131
|
+
tenant_count: number;
|
|
132
|
+
/**
|
|
133
|
+
* Last update timestamp
|
|
134
|
+
*/
|
|
135
|
+
updated_at: string;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
export interface GroupCreateParams {
|
|
139
|
+
/**
|
|
140
|
+
* Unique group name within the client
|
|
141
|
+
*/
|
|
142
|
+
name: string;
|
|
143
|
+
/**
|
|
144
|
+
* Human-readable group description
|
|
145
|
+
*/
|
|
146
|
+
description?: string | null;
|
|
147
|
+
}
|
|
148
|
+
export interface GroupUpdateParams {
|
|
149
|
+
/**
|
|
150
|
+
* New group description
|
|
151
|
+
*/
|
|
152
|
+
description?: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* New group name
|
|
155
|
+
*/
|
|
156
|
+
name?: string | null;
|
|
157
|
+
}
|
|
158
|
+
export declare namespace Groups {
|
|
159
|
+
export { type GroupDetail as GroupDetail, type GroupListResponse as GroupListResponse, type GroupCreateParams as GroupCreateParams, type GroupUpdateParams as GroupUpdateParams, };
|
|
160
|
+
export { Tenants as Tenants, type TenantAddResponse as TenantAddResponse, type TenantAddParams as TenantAddParams, type TenantRemoveParams as TenantRemoveParams, };
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=groups.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/groups/groups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|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as TenantsAPI from "./tenants.js";
|
|
3
|
+
import { TenantAddParams, TenantAddResponse, TenantRemoveParams, Tenants } from "./tenants.js";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
|
+
export declare class Groups extends APIResource {
|
|
7
|
+
tenants: TenantsAPI.Tenants;
|
|
8
|
+
/**
|
|
9
|
+
* Create a new group.
|
|
10
|
+
*
|
|
11
|
+
* Group names must be unique within the client.
|
|
12
|
+
*
|
|
13
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
14
|
+
*
|
|
15
|
+
* Raises: GroupNameExistsError: If a group with this name already exists (409)
|
|
16
|
+
*/
|
|
17
|
+
create(body: GroupCreateParams, options?: RequestOptions): APIPromise<GroupDetail>;
|
|
18
|
+
/**
|
|
19
|
+
* Get a single group by ID.
|
|
20
|
+
*
|
|
21
|
+
* Returns the group with its full tenant list.
|
|
22
|
+
*
|
|
23
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
24
|
+
*
|
|
25
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404)
|
|
26
|
+
*/
|
|
27
|
+
retrieve(groupID: string, options?: RequestOptions): APIPromise<GroupDetail>;
|
|
28
|
+
/**
|
|
29
|
+
* Update a group.
|
|
30
|
+
*
|
|
31
|
+
* Update group name and/or description. Name must remain unique within client.
|
|
32
|
+
*
|
|
33
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
34
|
+
*
|
|
35
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404) GroupNameExistsError:
|
|
36
|
+
* If new name conflicts with existing group (409)
|
|
37
|
+
*/
|
|
38
|
+
update(groupID: string, body: GroupUpdateParams, options?: RequestOptions): APIPromise<GroupDetail>;
|
|
39
|
+
/**
|
|
40
|
+
* List all groups for the client.
|
|
41
|
+
*
|
|
42
|
+
* Returns groups with their tenant counts for efficient display.
|
|
43
|
+
*
|
|
44
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
45
|
+
*/
|
|
46
|
+
list(options?: RequestOptions): APIPromise<GroupListResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Delete a group.
|
|
49
|
+
*
|
|
50
|
+
* Soft-deletes the group and removes all tenant associations.
|
|
51
|
+
*
|
|
52
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
53
|
+
*
|
|
54
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404)
|
|
55
|
+
*/
|
|
56
|
+
delete(groupID: string, options?: RequestOptions): APIPromise<void>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Response model for a single group (with full tenant list).
|
|
60
|
+
*/
|
|
61
|
+
export interface GroupDetail {
|
|
62
|
+
/**
|
|
63
|
+
* Group ID
|
|
64
|
+
*/
|
|
65
|
+
id: string;
|
|
66
|
+
/**
|
|
67
|
+
* Creation timestamp
|
|
68
|
+
*/
|
|
69
|
+
created_at: string;
|
|
70
|
+
/**
|
|
71
|
+
* Group description
|
|
72
|
+
*/
|
|
73
|
+
description: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Group name
|
|
76
|
+
*/
|
|
77
|
+
name: string;
|
|
78
|
+
/**
|
|
79
|
+
* Tenants in this group
|
|
80
|
+
*/
|
|
81
|
+
tenants: Array<GroupDetail.Tenant>;
|
|
82
|
+
/**
|
|
83
|
+
* Last update timestamp
|
|
84
|
+
*/
|
|
85
|
+
updated_at: string;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace GroupDetail {
|
|
88
|
+
/**
|
|
89
|
+
* Tenant information in group responses.
|
|
90
|
+
*/
|
|
91
|
+
interface Tenant {
|
|
92
|
+
/**
|
|
93
|
+
* Tenant ID
|
|
94
|
+
*/
|
|
95
|
+
id: string;
|
|
96
|
+
/**
|
|
97
|
+
* Human-readable tenant name
|
|
98
|
+
*/
|
|
99
|
+
name: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Unique tenant identifier
|
|
102
|
+
*/
|
|
103
|
+
tenant_key: string;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export type GroupListResponse = Array<GroupListResponse.GroupListResponseItem>;
|
|
107
|
+
export declare namespace GroupListResponse {
|
|
108
|
+
/**
|
|
109
|
+
* Response model for a group in list responses (with tenant count).
|
|
110
|
+
*/
|
|
111
|
+
interface GroupListResponseItem {
|
|
112
|
+
/**
|
|
113
|
+
* Group ID
|
|
114
|
+
*/
|
|
115
|
+
id: string;
|
|
116
|
+
/**
|
|
117
|
+
* Creation timestamp
|
|
118
|
+
*/
|
|
119
|
+
created_at: string;
|
|
120
|
+
/**
|
|
121
|
+
* Group description
|
|
122
|
+
*/
|
|
123
|
+
description: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Group name
|
|
126
|
+
*/
|
|
127
|
+
name: string;
|
|
128
|
+
/**
|
|
129
|
+
* Number of tenants in this group
|
|
130
|
+
*/
|
|
131
|
+
tenant_count: number;
|
|
132
|
+
/**
|
|
133
|
+
* Last update timestamp
|
|
134
|
+
*/
|
|
135
|
+
updated_at: string;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
export interface GroupCreateParams {
|
|
139
|
+
/**
|
|
140
|
+
* Unique group name within the client
|
|
141
|
+
*/
|
|
142
|
+
name: string;
|
|
143
|
+
/**
|
|
144
|
+
* Human-readable group description
|
|
145
|
+
*/
|
|
146
|
+
description?: string | null;
|
|
147
|
+
}
|
|
148
|
+
export interface GroupUpdateParams {
|
|
149
|
+
/**
|
|
150
|
+
* New group description
|
|
151
|
+
*/
|
|
152
|
+
description?: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* New group name
|
|
155
|
+
*/
|
|
156
|
+
name?: string | null;
|
|
157
|
+
}
|
|
158
|
+
export declare namespace Groups {
|
|
159
|
+
export { type GroupDetail as GroupDetail, type GroupListResponse as GroupListResponse, type GroupCreateParams as GroupCreateParams, type GroupUpdateParams as GroupUpdateParams, };
|
|
160
|
+
export { Tenants as Tenants, type TenantAddResponse as TenantAddResponse, type TenantAddParams as TenantAddParams, type TenantRemoveParams as TenantRemoveParams, };
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=groups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/groups/groups.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,eAAe,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,OAAO,EAAE;OACnE,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,MAAO,SAAQ,WAAW;IACrC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIlF;;;;;;;;OAQG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAI5E;;;;;;;;;OASG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAInG;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAI7D;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMpE;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;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,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.Groups = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const TenantsAPI = tslib_1.__importStar(require("./tenants.js"));
|
|
8
|
+
const tenants_1 = require("./tenants.js");
|
|
9
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
10
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
11
|
+
class Groups extends resource_1.APIResource {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.tenants = new TenantsAPI.Tenants(this._client);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a new group.
|
|
18
|
+
*
|
|
19
|
+
* Group names must be unique within the client.
|
|
20
|
+
*
|
|
21
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
22
|
+
*
|
|
23
|
+
* Raises: GroupNameExistsError: If a group with this name already exists (409)
|
|
24
|
+
*/
|
|
25
|
+
create(body, options) {
|
|
26
|
+
return this._client.post('/api/v1/groups', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Get a single group by ID.
|
|
30
|
+
*
|
|
31
|
+
* Returns the group with its full tenant list.
|
|
32
|
+
*
|
|
33
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
34
|
+
*
|
|
35
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404)
|
|
36
|
+
*/
|
|
37
|
+
retrieve(groupID, options) {
|
|
38
|
+
return this._client.get((0, path_1.path) `/api/v1/groups/${groupID}`, options);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Update a group.
|
|
42
|
+
*
|
|
43
|
+
* Update group name and/or description. Name must remain unique within client.
|
|
44
|
+
*
|
|
45
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
46
|
+
*
|
|
47
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404) GroupNameExistsError:
|
|
48
|
+
* If new name conflicts with existing group (409)
|
|
49
|
+
*/
|
|
50
|
+
update(groupID, body, options) {
|
|
51
|
+
return this._client.patch((0, path_1.path) `/api/v1/groups/${groupID}`, { body, ...options });
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* List all groups for the client.
|
|
55
|
+
*
|
|
56
|
+
* Returns groups with their tenant counts for efficient display.
|
|
57
|
+
*
|
|
58
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
59
|
+
*/
|
|
60
|
+
list(options) {
|
|
61
|
+
return this._client.get('/api/v1/groups', options);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Delete a group.
|
|
65
|
+
*
|
|
66
|
+
* Soft-deletes the group and removes all tenant associations.
|
|
67
|
+
*
|
|
68
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
69
|
+
*
|
|
70
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404)
|
|
71
|
+
*/
|
|
72
|
+
delete(groupID, options) {
|
|
73
|
+
return this._client.delete((0, path_1.path) `/api/v1/groups/${groupID}`, {
|
|
74
|
+
...options,
|
|
75
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.Groups = Groups;
|
|
80
|
+
Groups.Tenants = tenants_1.Tenants;
|
|
81
|
+
//# sourceMappingURL=groups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.js","sourceRoot":"","sources":["../../../src/resources/v1/groups/groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,iEAAwC;AACxC,0CAA4F;AAE5F,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoErE,CAAC;IAlEC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,OAAe,EAAE,IAAuB,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,kBAAkB,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,OAAe,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,kBAAkB,OAAO,EAAE,EAAE;YAC1D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AArED,wBAqEC;AA0HD,MAAM,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as TenantsAPI from "./tenants.mjs";
|
|
4
|
+
import { Tenants } from "./tenants.mjs";
|
|
5
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
6
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
7
|
+
export class Groups extends APIResource {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.tenants = new TenantsAPI.Tenants(this._client);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Create a new group.
|
|
14
|
+
*
|
|
15
|
+
* Group names must be unique within the client.
|
|
16
|
+
*
|
|
17
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
18
|
+
*
|
|
19
|
+
* Raises: GroupNameExistsError: If a group with this name already exists (409)
|
|
20
|
+
*/
|
|
21
|
+
create(body, options) {
|
|
22
|
+
return this._client.post('/api/v1/groups', { body, ...options });
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get a single group by ID.
|
|
26
|
+
*
|
|
27
|
+
* Returns the group with its full tenant list.
|
|
28
|
+
*
|
|
29
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
30
|
+
*
|
|
31
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404)
|
|
32
|
+
*/
|
|
33
|
+
retrieve(groupID, options) {
|
|
34
|
+
return this._client.get(path `/api/v1/groups/${groupID}`, options);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Update a group.
|
|
38
|
+
*
|
|
39
|
+
* Update group name and/or description. Name must remain unique within client.
|
|
40
|
+
*
|
|
41
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
42
|
+
*
|
|
43
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404) GroupNameExistsError:
|
|
44
|
+
* If new name conflicts with existing group (409)
|
|
45
|
+
*/
|
|
46
|
+
update(groupID, body, options) {
|
|
47
|
+
return this._client.patch(path `/api/v1/groups/${groupID}`, { body, ...options });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* List all groups for the client.
|
|
51
|
+
*
|
|
52
|
+
* Returns groups with their tenant counts for efficient display.
|
|
53
|
+
*
|
|
54
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
55
|
+
*/
|
|
56
|
+
list(options) {
|
|
57
|
+
return this._client.get('/api/v1/groups', options);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Delete a group.
|
|
61
|
+
*
|
|
62
|
+
* Soft-deletes the group and removes all tenant associations.
|
|
63
|
+
*
|
|
64
|
+
* RLS: Filtered to current client (ClientRLSDB).
|
|
65
|
+
*
|
|
66
|
+
* Raises: GroupNotFoundError: If group doesn't exist (404)
|
|
67
|
+
*/
|
|
68
|
+
delete(groupID, options) {
|
|
69
|
+
return this._client.delete(path `/api/v1/groups/${groupID}`, {
|
|
70
|
+
...options,
|
|
71
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
Groups.Tenants = Tenants;
|
|
76
|
+
//# sourceMappingURL=groups.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.mjs","sourceRoot":"","sources":["../../../src/resources/v1/groups/groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAA0D,OAAO,EAAE;OAEnE,EAAE,YAA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0 +1,3 @@
|
|
|
1
|
+
export { Groups, type GroupDetail, type GroupListResponse, type GroupCreateParams, type GroupUpdateParams, } from "./groups.mjs";
|
|
2
|
+
export { Tenants, type TenantAddResponse, type TenantAddParams, type TenantRemoveParams } from "./tenants.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/groups/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB;OACM,EAAE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,KAAK,kBAAkB,EAAE"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Groups, type GroupDetail, type GroupListResponse, type GroupCreateParams, type GroupUpdateParams, } from "./groups.js";
|
|
2
|
+
export { Tenants, type TenantAddResponse, type TenantAddParams, type TenantRemoveParams } from "./tenants.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/groups/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB;OACM,EAAE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,KAAK,kBAAkB,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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.Tenants = exports.Groups = void 0;
|
|
5
|
+
var groups_1 = require("./groups.js");
|
|
6
|
+
Object.defineProperty(exports, "Groups", { enumerable: true, get: function () { return groups_1.Groups; } });
|
|
7
|
+
var tenants_1 = require("./tenants.js");
|
|
8
|
+
Object.defineProperty(exports, "Tenants", { enumerable: true, get: function () { return tenants_1.Tenants; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/groups/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,wCAA2G;AAAlG,kGAAA,OAAO,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/groups/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAKP;OACM,EAAE,OAAO,EAAyE"}
|