@tembo-io/sdk 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -1
- package/SKILL.md +12 -0
- package/api.md +369 -123
- package/dist/cjs/client.d.ts +8 -4
- package/dist/cjs/client.d.ts.map +1 -1
- package/dist/cjs/client.js +5 -1
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/core/EventEmitter.d.ts +29 -0
- package/dist/cjs/core/EventEmitter.d.ts.map +1 -0
- package/dist/cjs/core/EventEmitter.js +61 -0
- package/dist/cjs/core/EventEmitter.js.map +1 -0
- package/dist/cjs/index.d.ts +3 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/internal/live-socket-browser.d.ts +3 -0
- package/dist/cjs/internal/live-socket-browser.d.ts.map +1 -0
- package/dist/cjs/internal/live-socket-browser.js +8 -0
- package/dist/cjs/internal/live-socket-browser.js.map +1 -0
- package/dist/cjs/internal/live-socket.d.ts +3 -0
- package/dist/cjs/internal/live-socket.d.ts.map +1 -0
- package/dist/cjs/internal/live-socket.js +9 -0
- package/dist/cjs/internal/live-socket.js.map +1 -0
- package/dist/cjs/internal/ws-adapter-browser.d.ts +34 -0
- package/dist/cjs/internal/ws-adapter-browser.d.ts.map +1 -0
- package/dist/cjs/internal/ws-adapter-browser.js +89 -0
- package/dist/cjs/internal/ws-adapter-browser.js.map +1 -0
- package/dist/cjs/internal/ws-adapter-node.d.ts +27 -0
- package/dist/cjs/internal/ws-adapter-node.d.ts.map +1 -0
- package/dist/cjs/internal/ws-adapter-node.js +91 -0
- package/dist/cjs/internal/ws-adapter-node.js.map +1 -0
- package/dist/cjs/internal/ws-adapter.d.ts +24 -0
- package/dist/cjs/internal/ws-adapter.d.ts.map +1 -0
- package/dist/cjs/internal/ws-adapter.js +11 -0
- package/dist/cjs/internal/ws-adapter.js.map +1 -0
- package/dist/cjs/internal/ws.d.ts +80 -0
- package/dist/cjs/internal/ws.d.ts.map +1 -0
- package/dist/cjs/internal/ws.js +154 -0
- package/dist/cjs/internal/ws.js.map +1 -0
- package/dist/cjs/live.d.ts +97 -0
- package/dist/cjs/live.d.ts.map +1 -0
- package/dist/cjs/live.js +237 -0
- package/dist/cjs/live.js.map +1 -0
- package/dist/cjs/package.json +6 -1
- package/dist/cjs/resources/agents/templates.d.ts +58 -40
- package/dist/cjs/resources/agents/templates.d.ts.map +1 -1
- package/dist/cjs/resources/index.d.ts +5 -3
- package/dist/cjs/resources/index.d.ts.map +1 -1
- package/dist/cjs/resources/index.js +4 -2
- package/dist/cjs/resources/index.js.map +1 -1
- package/dist/cjs/resources/integrations/index.d.ts +7 -0
- package/dist/cjs/resources/integrations/index.d.ts.map +1 -0
- package/dist/cjs/resources/integrations/index.js +11 -0
- package/dist/cjs/resources/integrations/index.js.map +1 -0
- package/dist/cjs/resources/integrations/integrations.d.ts +777 -0
- package/dist/cjs/resources/integrations/integrations.d.ts.map +1 -0
- package/dist/cjs/resources/integrations/integrations.js +275 -0
- package/dist/cjs/resources/integrations/integrations.js.map +1 -0
- package/dist/cjs/resources/integrations/providers.d.ts +229 -0
- package/dist/cjs/resources/integrations/providers.d.ts.map +1 -0
- package/dist/cjs/resources/integrations/providers.js +45 -0
- package/dist/cjs/resources/integrations/providers.js.map +1 -0
- package/dist/cjs/resources/integrations/triggers.d.ts +280 -0
- package/dist/cjs/resources/integrations/triggers.d.ts.map +1 -0
- package/dist/cjs/resources/integrations/triggers.js +67 -0
- package/dist/cjs/resources/integrations/triggers.js.map +1 -0
- package/dist/cjs/resources/integrations.d.ts +1 -158
- package/dist/cjs/resources/integrations.d.ts.map +1 -1
- package/dist/cjs/resources/integrations.js +15 -39
- package/dist/cjs/resources/integrations.js.map +1 -1
- package/dist/cjs/resources/live/index.d.ts +6 -0
- package/dist/cjs/resources/live/index.d.ts.map +1 -0
- package/dist/cjs/resources/live/index.js +9 -0
- package/dist/cjs/resources/live/index.js.map +1 -0
- package/dist/cjs/resources/live/internal-base.d.ts +70 -0
- package/dist/cjs/resources/live/internal-base.d.ts.map +1 -0
- package/dist/cjs/resources/live/internal-base.js +57 -0
- package/dist/cjs/resources/live/internal-base.js.map +1 -0
- package/dist/cjs/resources/live/live.d.ts +54 -0
- package/dist/cjs/resources/live/live.d.ts.map +1 -0
- package/dist/cjs/resources/live/live.js +50 -0
- package/dist/cjs/resources/live/live.js.map +1 -0
- package/dist/cjs/resources/live/ws-base.d.ts +57 -0
- package/dist/cjs/resources/live/ws-base.d.ts.map +1 -0
- package/dist/cjs/resources/live/ws-base.js +359 -0
- package/dist/cjs/resources/live/ws-base.js.map +1 -0
- package/dist/cjs/resources/live/ws-browser.d.ts +14 -0
- package/dist/cjs/resources/live/ws-browser.d.ts.map +1 -0
- package/dist/cjs/resources/live/ws-browser.js +25 -0
- package/dist/cjs/resources/live/ws-browser.js.map +1 -0
- package/dist/cjs/resources/live/ws.d.ts +13 -0
- package/dist/cjs/resources/live/ws.d.ts.map +1 -0
- package/dist/cjs/resources/live/ws.js +31 -0
- package/dist/cjs/resources/live/ws.js.map +1 -0
- package/dist/cjs/resources/live.d.ts +2 -0
- package/dist/cjs/resources/live.d.ts.map +1 -0
- package/dist/cjs/resources/live.js +19 -0
- package/dist/cjs/resources/live.js.map +1 -0
- package/dist/cjs/resources/organizations/index.d.ts +3 -2
- package/dist/cjs/resources/organizations/index.d.ts.map +1 -1
- package/dist/cjs/resources/organizations/index.js +1 -1
- package/dist/cjs/resources/organizations/index.js.map +1 -1
- package/dist/cjs/resources/organizations/organizations.d.ts +5 -5
- package/dist/cjs/resources/organizations/organizations.d.ts.map +1 -1
- package/dist/cjs/resources/organizations/organizations.js +2 -2
- package/dist/cjs/resources/organizations/organizations.js.map +1 -1
- package/dist/cjs/resources/organizations/settings.d.ts +93 -1
- package/dist/cjs/resources/organizations/settings.d.ts.map +1 -1
- package/dist/cjs/resources/organizations/settings.js +19 -0
- package/dist/cjs/resources/organizations/settings.js.map +1 -1
- package/dist/cjs/resources/organizations/subscriptions.d.ts +295 -1
- package/dist/cjs/resources/organizations/subscriptions.d.ts.map +1 -1
- package/dist/cjs/resources/organizations/subscriptions.js +43 -15
- package/dist/cjs/resources/organizations/subscriptions.js.map +1 -1
- package/dist/cjs/resources/projects/projects.d.ts +17 -0
- package/dist/cjs/resources/projects/projects.d.ts.map +1 -1
- package/dist/cjs/resources/projects/projects.js.map +1 -1
- package/dist/cjs/resources/repositories.d.ts +83 -3
- package/dist/cjs/resources/repositories.d.ts.map +1 -1
- package/dist/cjs/resources/repositories.js +21 -2
- package/dist/cjs/resources/repositories.js.map +1 -1
- package/dist/cjs/resources/sessions/sessions.d.ts +6 -0
- package/dist/cjs/resources/sessions/sessions.d.ts.map +1 -1
- package/dist/cjs/resources/sessions/sessions.js +2 -0
- package/dist/cjs/resources/sessions/sessions.js.map +1 -1
- package/dist/cjs/resources/users/index.d.ts +4 -1
- package/dist/cjs/resources/users/index.d.ts.map +1 -1
- package/dist/cjs/resources/users/index.js +4 -2
- package/dist/cjs/resources/users/index.js.map +1 -1
- package/dist/cjs/resources/users/profile-picture.d.ts +77 -0
- package/dist/cjs/resources/users/profile-picture.d.ts.map +1 -0
- package/dist/cjs/resources/users/profile-picture.js +63 -0
- package/dist/cjs/resources/users/profile-picture.js.map +1 -0
- package/dist/cjs/resources/users/subscriptions.d.ts +295 -1
- package/dist/cjs/resources/users/subscriptions.d.ts.map +1 -1
- package/dist/cjs/resources/users/subscriptions.js +40 -15
- package/dist/cjs/resources/users/subscriptions.js.map +1 -1
- package/dist/cjs/resources/users/users.d.ts +7 -3
- package/dist/cjs/resources/users/users.d.ts.map +1 -1
- package/dist/cjs/resources/users/users.js +6 -2
- package/dist/cjs/resources/users/users.js.map +1 -1
- package/dist/cjs/resources.d.ts +2 -2
- package/dist/cjs/resources.d.ts.map +1 -1
- package/dist/cjs/resources.js +2 -1
- package/dist/cjs/resources.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/client.d.ts +8 -4
- package/dist/esm/client.d.ts.map +1 -1
- package/dist/esm/client.js +5 -1
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/core/EventEmitter.d.ts +29 -0
- package/dist/esm/core/EventEmitter.d.ts.map +1 -0
- package/dist/esm/core/EventEmitter.js +56 -0
- package/dist/esm/core/EventEmitter.js.map +1 -0
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/internal/live-socket-browser.d.ts +3 -0
- package/dist/esm/internal/live-socket-browser.d.ts.map +1 -0
- package/dist/esm/internal/live-socket-browser.js +5 -0
- package/dist/esm/internal/live-socket-browser.js.map +1 -0
- package/dist/esm/internal/live-socket.d.ts +3 -0
- package/dist/esm/internal/live-socket.d.ts.map +1 -0
- package/dist/esm/internal/live-socket.js +6 -0
- package/dist/esm/internal/live-socket.js.map +1 -0
- package/dist/esm/internal/ws-adapter-browser.d.ts +34 -0
- package/dist/esm/internal/ws-adapter-browser.d.ts.map +1 -0
- package/dist/esm/internal/ws-adapter-browser.js +85 -0
- package/dist/esm/internal/ws-adapter-browser.js.map +1 -0
- package/dist/esm/internal/ws-adapter-node.d.ts +27 -0
- package/dist/esm/internal/ws-adapter-node.d.ts.map +1 -0
- package/dist/esm/internal/ws-adapter-node.js +87 -0
- package/dist/esm/internal/ws-adapter-node.js.map +1 -0
- package/dist/esm/internal/ws-adapter.d.ts +24 -0
- package/dist/esm/internal/ws-adapter.d.ts.map +1 -0
- package/dist/esm/internal/ws-adapter.js +8 -0
- package/dist/esm/internal/ws-adapter.js.map +1 -0
- package/dist/esm/internal/ws.d.ts +80 -0
- package/dist/esm/internal/ws.d.ts.map +1 -0
- package/dist/esm/internal/ws.js +148 -0
- package/dist/esm/internal/ws.js.map +1 -0
- package/dist/esm/live.d.ts +97 -0
- package/dist/esm/live.d.ts.map +1 -0
- package/dist/esm/live.js +230 -0
- package/dist/esm/live.js.map +1 -0
- package/dist/esm/resources/agents/templates.d.ts +58 -40
- package/dist/esm/resources/agents/templates.d.ts.map +1 -1
- package/dist/esm/resources/index.d.ts +5 -3
- package/dist/esm/resources/index.d.ts.map +1 -1
- package/dist/esm/resources/index.js +2 -1
- package/dist/esm/resources/index.js.map +1 -1
- package/dist/esm/resources/integrations/index.d.ts +7 -0
- package/dist/esm/resources/integrations/index.d.ts.map +1 -0
- package/dist/esm/resources/integrations/index.js +5 -0
- package/dist/esm/resources/integrations/index.js.map +1 -0
- package/dist/esm/resources/integrations/integrations.d.ts +777 -0
- package/dist/esm/resources/integrations/integrations.d.ts.map +1 -0
- package/dist/esm/resources/integrations/integrations.js +238 -0
- package/dist/esm/resources/integrations/integrations.js.map +1 -0
- package/dist/esm/resources/integrations/providers.d.ts +229 -0
- package/dist/esm/resources/integrations/providers.d.ts.map +1 -0
- package/dist/esm/resources/integrations/providers.js +41 -0
- package/dist/esm/resources/integrations/providers.js.map +1 -0
- package/dist/esm/resources/integrations/triggers.d.ts +280 -0
- package/dist/esm/resources/integrations/triggers.d.ts.map +1 -0
- package/dist/esm/resources/integrations/triggers.js +63 -0
- package/dist/esm/resources/integrations/triggers.js.map +1 -0
- package/dist/esm/resources/integrations.d.ts +1 -158
- package/dist/esm/resources/integrations.d.ts.map +1 -1
- package/dist/esm/resources/integrations.js +1 -37
- package/dist/esm/resources/integrations.js.map +1 -1
- package/dist/esm/resources/live/index.d.ts +6 -0
- package/dist/esm/resources/live/index.d.ts.map +1 -0
- package/dist/esm/resources/live/index.js +4 -0
- package/dist/esm/resources/live/index.js.map +1 -0
- package/dist/esm/resources/live/internal-base.d.ts +70 -0
- package/dist/esm/resources/live/internal-base.d.ts.map +1 -0
- package/dist/esm/resources/live/internal-base.js +50 -0
- package/dist/esm/resources/live/internal-base.js.map +1 -0
- package/dist/esm/resources/live/live.d.ts +54 -0
- package/dist/esm/resources/live/live.d.ts.map +1 -0
- package/dist/esm/resources/live/live.js +46 -0
- package/dist/esm/resources/live/live.js.map +1 -0
- package/dist/esm/resources/live/ws-base.d.ts +57 -0
- package/dist/esm/resources/live/ws-base.d.ts.map +1 -0
- package/dist/esm/resources/live/ws-base.js +355 -0
- package/dist/esm/resources/live/ws-base.js.map +1 -0
- package/dist/esm/resources/live/ws-browser.d.ts +14 -0
- package/dist/esm/resources/live/ws-browser.d.ts.map +1 -0
- package/dist/esm/resources/live/ws-browser.js +21 -0
- package/dist/esm/resources/live/ws-browser.js.map +1 -0
- package/dist/esm/resources/live/ws.d.ts +13 -0
- package/dist/esm/resources/live/ws.d.ts.map +1 -0
- package/dist/esm/resources/live/ws.js +27 -0
- package/dist/esm/resources/live/ws.js.map +1 -0
- package/dist/esm/resources/live.d.ts +2 -0
- package/dist/esm/resources/live.d.ts.map +1 -0
- package/dist/esm/resources/live.js +3 -0
- package/dist/esm/resources/live.js.map +1 -0
- package/dist/esm/resources/organizations/index.d.ts +3 -2
- package/dist/esm/resources/organizations/index.d.ts.map +1 -1
- package/dist/esm/resources/organizations/index.js +1 -1
- package/dist/esm/resources/organizations/index.js.map +1 -1
- package/dist/esm/resources/organizations/organizations.d.ts +5 -5
- package/dist/esm/resources/organizations/organizations.d.ts.map +1 -1
- package/dist/esm/resources/organizations/organizations.js +2 -2
- package/dist/esm/resources/organizations/organizations.js.map +1 -1
- package/dist/esm/resources/organizations/settings.d.ts +93 -1
- package/dist/esm/resources/organizations/settings.d.ts.map +1 -1
- package/dist/esm/resources/organizations/settings.js +19 -0
- package/dist/esm/resources/organizations/settings.js.map +1 -1
- package/dist/esm/resources/organizations/subscriptions.d.ts +295 -1
- package/dist/esm/resources/organizations/subscriptions.d.ts.map +1 -1
- package/dist/esm/resources/organizations/subscriptions.js +41 -1
- package/dist/esm/resources/organizations/subscriptions.js.map +1 -1
- package/dist/esm/resources/projects/projects.d.ts +17 -0
- package/dist/esm/resources/projects/projects.d.ts.map +1 -1
- package/dist/esm/resources/projects/projects.js.map +1 -1
- package/dist/esm/resources/repositories.d.ts +83 -3
- package/dist/esm/resources/repositories.d.ts.map +1 -1
- package/dist/esm/resources/repositories.js +21 -2
- package/dist/esm/resources/repositories.js.map +1 -1
- package/dist/esm/resources/sessions/sessions.d.ts +6 -0
- package/dist/esm/resources/sessions/sessions.d.ts.map +1 -1
- package/dist/esm/resources/sessions/sessions.js +2 -0
- package/dist/esm/resources/sessions/sessions.js.map +1 -1
- package/dist/esm/resources/users/index.d.ts +4 -1
- package/dist/esm/resources/users/index.d.ts.map +1 -1
- package/dist/esm/resources/users/index.js +2 -1
- package/dist/esm/resources/users/index.js.map +1 -1
- package/dist/esm/resources/users/profile-picture.d.ts +77 -0
- package/dist/esm/resources/users/profile-picture.d.ts.map +1 -0
- package/dist/esm/resources/users/profile-picture.js +59 -0
- package/dist/esm/resources/users/profile-picture.js.map +1 -0
- package/dist/esm/resources/users/subscriptions.d.ts +295 -1
- package/dist/esm/resources/users/subscriptions.d.ts.map +1 -1
- package/dist/esm/resources/users/subscriptions.js +38 -1
- package/dist/esm/resources/users/subscriptions.js.map +1 -1
- package/dist/esm/resources/users/users.d.ts +7 -3
- package/dist/esm/resources/users/users.d.ts.map +1 -1
- package/dist/esm/resources/users/users.js +6 -2
- package/dist/esm/resources/users/users.js.map +1 -1
- package/dist/esm/resources.d.ts +2 -2
- package/dist/esm/resources.d.ts.map +1 -1
- package/dist/esm/resources.js +1 -1
- package/dist/esm/resources.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +22 -3
- package/dist/cjs/resources/organizations/subscriptions/chatgpt.d.ts +0 -186
- package/dist/cjs/resources/organizations/subscriptions/chatgpt.d.ts.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/chatgpt.js +0 -58
- package/dist/cjs/resources/organizations/subscriptions/chatgpt.js.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/claude.d.ts +0 -128
- package/dist/cjs/resources/organizations/subscriptions/claude.d.ts.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/claude.js +0 -40
- package/dist/cjs/resources/organizations/subscriptions/claude.js.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/index.d.ts +0 -8
- package/dist/cjs/resources/organizations/subscriptions/index.d.ts.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/index.js +0 -13
- package/dist/cjs/resources/organizations/subscriptions/index.js.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/subscriptions.d.ts +0 -18
- package/dist/cjs/resources/organizations/subscriptions/subscriptions.d.ts.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/subscriptions.js +0 -54
- package/dist/cjs/resources/organizations/subscriptions/subscriptions.js.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/supergrok.d.ts +0 -25
- package/dist/cjs/resources/organizations/subscriptions/supergrok.d.ts.map +0 -1
- package/dist/cjs/resources/organizations/subscriptions/supergrok.js +0 -25
- package/dist/cjs/resources/organizations/subscriptions/supergrok.js.map +0 -1
- package/dist/cjs/resources/users/subscriptions/chatgpt.d.ts +0 -186
- package/dist/cjs/resources/users/subscriptions/chatgpt.d.ts.map +0 -1
- package/dist/cjs/resources/users/subscriptions/chatgpt.js +0 -61
- package/dist/cjs/resources/users/subscriptions/chatgpt.js.map +0 -1
- package/dist/cjs/resources/users/subscriptions/claude.d.ts +0 -128
- package/dist/cjs/resources/users/subscriptions/claude.d.ts.map +0 -1
- package/dist/cjs/resources/users/subscriptions/claude.js +0 -40
- package/dist/cjs/resources/users/subscriptions/claude.js.map +0 -1
- package/dist/cjs/resources/users/subscriptions/index.d.ts +0 -8
- package/dist/cjs/resources/users/subscriptions/index.d.ts.map +0 -1
- package/dist/cjs/resources/users/subscriptions/index.js +0 -13
- package/dist/cjs/resources/users/subscriptions/index.js.map +0 -1
- package/dist/cjs/resources/users/subscriptions/subscriptions.d.ts +0 -18
- package/dist/cjs/resources/users/subscriptions/subscriptions.d.ts.map +0 -1
- package/dist/cjs/resources/users/subscriptions/subscriptions.js +0 -54
- package/dist/cjs/resources/users/subscriptions/subscriptions.js.map +0 -1
- package/dist/cjs/resources/users/subscriptions/supergrok.d.ts +0 -25
- package/dist/cjs/resources/users/subscriptions/supergrok.d.ts.map +0 -1
- package/dist/cjs/resources/users/subscriptions/supergrok.js +0 -25
- package/dist/cjs/resources/users/subscriptions/supergrok.js.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/chatgpt.d.ts +0 -186
- package/dist/esm/resources/organizations/subscriptions/chatgpt.d.ts.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/chatgpt.js +0 -54
- package/dist/esm/resources/organizations/subscriptions/chatgpt.js.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/claude.d.ts +0 -128
- package/dist/esm/resources/organizations/subscriptions/claude.d.ts.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/claude.js +0 -36
- package/dist/esm/resources/organizations/subscriptions/claude.js.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/index.d.ts +0 -8
- package/dist/esm/resources/organizations/subscriptions/index.d.ts.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/index.js +0 -6
- package/dist/esm/resources/organizations/subscriptions/index.js.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/subscriptions.d.ts +0 -18
- package/dist/esm/resources/organizations/subscriptions/subscriptions.d.ts.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/subscriptions.js +0 -17
- package/dist/esm/resources/organizations/subscriptions/subscriptions.js.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/supergrok.d.ts +0 -25
- package/dist/esm/resources/organizations/subscriptions/supergrok.d.ts.map +0 -1
- package/dist/esm/resources/organizations/subscriptions/supergrok.js +0 -21
- package/dist/esm/resources/organizations/subscriptions/supergrok.js.map +0 -1
- package/dist/esm/resources/users/subscriptions/chatgpt.d.ts +0 -186
- package/dist/esm/resources/users/subscriptions/chatgpt.d.ts.map +0 -1
- package/dist/esm/resources/users/subscriptions/chatgpt.js +0 -57
- package/dist/esm/resources/users/subscriptions/chatgpt.js.map +0 -1
- package/dist/esm/resources/users/subscriptions/claude.d.ts +0 -128
- package/dist/esm/resources/users/subscriptions/claude.d.ts.map +0 -1
- package/dist/esm/resources/users/subscriptions/claude.js +0 -36
- package/dist/esm/resources/users/subscriptions/claude.js.map +0 -1
- package/dist/esm/resources/users/subscriptions/index.d.ts +0 -8
- package/dist/esm/resources/users/subscriptions/index.d.ts.map +0 -1
- package/dist/esm/resources/users/subscriptions/index.js +0 -6
- package/dist/esm/resources/users/subscriptions/index.js.map +0 -1
- package/dist/esm/resources/users/subscriptions/subscriptions.d.ts +0 -18
- package/dist/esm/resources/users/subscriptions/subscriptions.d.ts.map +0 -1
- package/dist/esm/resources/users/subscriptions/subscriptions.js +0 -17
- package/dist/esm/resources/users/subscriptions/subscriptions.js.map +0 -1
- package/dist/esm/resources/users/subscriptions/supergrok.d.ts +0 -25
- package/dist/esm/resources/users/subscriptions/supergrok.d.ts.map +0 -1
- package/dist/esm/resources/users/subscriptions/supergrok.js +0 -21
- package/dist/esm/resources/users/subscriptions/supergrok.js.map +0 -1
|
@@ -0,0 +1,777 @@
|
|
|
1
|
+
import { APIResource } from '../../resource';
|
|
2
|
+
import { APIPromise } from '../../api-promise';
|
|
3
|
+
import type { RequestOptions } from '../../internal/request-options';
|
|
4
|
+
import * as ProvidersAPI from './providers';
|
|
5
|
+
import { Providers, type ProviderListResponse, type ProviderDiscoverSnykOrganizationsResponse, type ProviderListParams, type ProviderDiscoverSnykOrganizationsParams } from './providers';
|
|
6
|
+
import * as TriggersAPI from './triggers';
|
|
7
|
+
import { Triggers, type TriggerListResponse, type TriggerRetrieveResponse, type TriggerListFilterOptionsResponse, type TriggerListParams, type TriggerRetrieveParams, type TriggerListFilterOptionsParams } from './triggers';
|
|
8
|
+
export declare class Integrations extends APIResource {
|
|
9
|
+
providers: ProvidersAPI.Providers;
|
|
10
|
+
triggers: TriggersAPI.Triggers;
|
|
11
|
+
/**
|
|
12
|
+
* List integrations visible to the current organization or authenticated admin.
|
|
13
|
+
*
|
|
14
|
+
* @param {IntegrationListParams} [query] - The parameters to send with the request.
|
|
15
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
16
|
+
* @returns {APIPromise<IntegrationListResponse>} List integrations
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const integration = await client.integrations.list({
|
|
21
|
+
* limit: 50,
|
|
22
|
+
* includeTotal: false,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(query?: IntegrationListParams | null | undefined, options?: RequestOptions): APIPromise<IntegrationListResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Create an integration that does not require an OAuth callback.
|
|
29
|
+
*
|
|
30
|
+
* @param {IntegrationCreateParams} body - The request body to send.
|
|
31
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
32
|
+
* @returns {APIPromise<IntegrationCreateResponse>} Create an integration
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const integration = await client.integrations.create({
|
|
37
|
+
* environment: 'x',
|
|
38
|
+
* roleArn: 'x',
|
|
39
|
+
* type: 'aws',
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
create(body: IntegrationCreateParams, options?: RequestOptions): APIPromise<IntegrationCreateResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Retrieve an integration and its configuration.
|
|
46
|
+
*
|
|
47
|
+
* @param {string} integrationID
|
|
48
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
49
|
+
* @returns {APIPromise<IntegrationRetrieveResponse>} Retrieve an integration
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const integration = await client.integrations.retrieve('7c9e6679-7425-40de-944b-e07fc1f90ae7');
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
retrieve(integrationID: string, options?: RequestOptions): APIPromise<IntegrationRetrieveResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Update provider settings or an editable configuration.
|
|
59
|
+
*
|
|
60
|
+
* @param {string} integrationID
|
|
61
|
+
* @param {IntegrationUpdateParams} body - The request body to send.
|
|
62
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
63
|
+
* @returns {APIPromise<IntegrationUpdateResponse>} Update an integration
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* const integration = await client.integrations.update('7c9e6679-7425-40de-944b-e07fc1f90ae7', {
|
|
68
|
+
* settings: {},
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
update(integrationID: string, body: IntegrationUpdateParams, options?: RequestOptions): APIPromise<IntegrationUpdateResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* Uninstall an integration from its provider when supported, then delete it from Tembo.
|
|
75
|
+
*
|
|
76
|
+
* @param {string} integrationID
|
|
77
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
78
|
+
* @returns {APIPromise<IntegrationDeleteResponse>} Delete an integration
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* const integration = await client.integrations.delete('7c9e6679-7425-40de-944b-e07fc1f90ae7');
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
delete(integrationID: string, options?: RequestOptions): APIPromise<IntegrationDeleteResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Return the provider authorization URL for an integration.
|
|
88
|
+
*
|
|
89
|
+
* @param {string} integrationID
|
|
90
|
+
* @param {IntegrationAuthorizeParams} [params] - The parameters to send with the request.
|
|
91
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
92
|
+
* @returns {APIPromise<IntegrationAuthorizeResponse>} Authorize an integration
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```ts
|
|
96
|
+
* const integration = await client.integrations.authorize('7c9e6679-7425-40de-944b-e07fc1f90ae7');
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
authorize(integrationID: string, params?: IntegrationAuthorizeParams | null | undefined, options?: RequestOptions): APIPromise<IntegrationAuthorizeResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Test the saved provider connection.
|
|
102
|
+
*
|
|
103
|
+
* @param {string} integrationID
|
|
104
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
105
|
+
* @returns {APIPromise<IntegrationTestResponse>} Test an integration
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```ts
|
|
109
|
+
* const integration = await client.integrations.test('7c9e6679-7425-40de-944b-e07fc1f90ae7');
|
|
110
|
+
* ```
|
|
111
|
+
*/
|
|
112
|
+
test(integrationID: string, options?: RequestOptions): APIPromise<IntegrationTestResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Queue or immediately perform an integration sync.
|
|
115
|
+
*
|
|
116
|
+
* @param {string} integrationID
|
|
117
|
+
* @param {IntegrationSyncParams} body - The request body to send.
|
|
118
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
119
|
+
* @returns {APIPromise<IntegrationSyncResponse>} Sync an integration
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```ts
|
|
123
|
+
* const integration = await client.integrations.sync('7c9e6679-7425-40de-944b-e07fc1f90ae7', {
|
|
124
|
+
* mode: 'queued',
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
sync(integrationID: string, body: IntegrationSyncParams, options?: RequestOptions): APIPromise<IntegrationSyncResponse>;
|
|
129
|
+
/**
|
|
130
|
+
* Queue integration and pull-request sync jobs for integrations with enabled repositories.
|
|
131
|
+
*
|
|
132
|
+
* @param {IntegrationSyncAllParams} body - The request body to send.
|
|
133
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
134
|
+
* @returns {APIPromise<IntegrationSyncAllResponse>} Sync eligible integrations
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* ```ts
|
|
138
|
+
* const integration = await client.integrations.syncAll({});
|
|
139
|
+
* ```
|
|
140
|
+
*/
|
|
141
|
+
syncAll(body: IntegrationSyncAllParams, options?: RequestOptions): APIPromise<IntegrationSyncAllResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Count active sync jobs for integrations with enabled repositories.
|
|
144
|
+
*
|
|
145
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
146
|
+
* @returns {APIPromise<IntegrationRetrieveSyncStatusResponse>} Retrieve eligible integration sync status
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* ```ts
|
|
150
|
+
* const integration = await client.integrations.retrieveSyncStatus();
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
153
|
+
retrieveSyncStatus(options?: RequestOptions): APIPromise<IntegrationRetrieveSyncStatusResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* Retrieve the GitHub installation rate-limit state.
|
|
156
|
+
*
|
|
157
|
+
* @param {string} integrationID
|
|
158
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
159
|
+
* @returns {APIPromise<IntegrationRetrieveRateLimitResponse>} Retrieve an integration rate limit
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* ```ts
|
|
163
|
+
* const integration = await client.integrations.retrieveRateLimit('7c9e6679-7425-40de-944b-e07fc1f90ae7');
|
|
164
|
+
* ```
|
|
165
|
+
*/
|
|
166
|
+
retrieveRateLimit(integrationID: string, options?: RequestOptions): APIPromise<IntegrationRetrieveRateLimitResponse>;
|
|
167
|
+
/**
|
|
168
|
+
* List environments visible to a Sentry integration.
|
|
169
|
+
*
|
|
170
|
+
* @param {string} integrationID
|
|
171
|
+
* @param {IntegrationListSentryEnvironmentsParams} [query] - The parameters to send with the request.
|
|
172
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
173
|
+
* @returns {APIPromise<IntegrationListSentryEnvironmentsResponse>} List Sentry environments
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* ```ts
|
|
177
|
+
* const integration = await client.integrations.listSentryEnvironments('7c9e6679-7425-40de-944b-e07fc1f90ae7', {
|
|
178
|
+
* limit: 50,
|
|
179
|
+
* });
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
listSentryEnvironments(integrationID: string, query?: IntegrationListSentryEnvironmentsParams | null | undefined, options?: RequestOptions): APIPromise<IntegrationListSentryEnvironmentsResponse>;
|
|
183
|
+
/**
|
|
184
|
+
* List channels visible to a Slack integration.
|
|
185
|
+
*
|
|
186
|
+
* @param {string} integrationID
|
|
187
|
+
* @param {IntegrationListSlackChannelsParams} [query] - The parameters to send with the request.
|
|
188
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
189
|
+
* @returns {APIPromise<IntegrationListSlackChannelsResponse>} List Slack channels
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* ```ts
|
|
193
|
+
* const integration = await client.integrations.listSlackChannels('7c9e6679-7425-40de-944b-e07fc1f90ae7', {
|
|
194
|
+
* limit: 50,
|
|
195
|
+
* });
|
|
196
|
+
* ```
|
|
197
|
+
*/
|
|
198
|
+
listSlackChannels(integrationID: string, query?: IntegrationListSlackChannelsParams | null | undefined, options?: RequestOptions): APIPromise<IntegrationListSlackChannelsResponse>;
|
|
199
|
+
}
|
|
200
|
+
export interface IntegrationListParams {
|
|
201
|
+
/**
|
|
202
|
+
* @format uuid
|
|
203
|
+
*/
|
|
204
|
+
cursor?: string;
|
|
205
|
+
/**
|
|
206
|
+
* @default 50
|
|
207
|
+
* @minimum 1
|
|
208
|
+
* @maximum 100
|
|
209
|
+
*/
|
|
210
|
+
limit?: number;
|
|
211
|
+
enabled?: boolean;
|
|
212
|
+
hasEnabledRepositories?: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* @minItems 1
|
|
215
|
+
* @maxItems 100
|
|
216
|
+
*/
|
|
217
|
+
ids?: Array<string>;
|
|
218
|
+
/**
|
|
219
|
+
* @minLength 1
|
|
220
|
+
* @maxLength 200
|
|
221
|
+
*/
|
|
222
|
+
search?: string;
|
|
223
|
+
/**
|
|
224
|
+
* @minItems 1
|
|
225
|
+
* @maxItems 18
|
|
226
|
+
*/
|
|
227
|
+
type?: Array<string>;
|
|
228
|
+
/**
|
|
229
|
+
* @format date-time
|
|
230
|
+
*/
|
|
231
|
+
createdAfter?: string;
|
|
232
|
+
/**
|
|
233
|
+
* @minLength 1
|
|
234
|
+
* @maxLength 255
|
|
235
|
+
*/
|
|
236
|
+
excludeOrganizationName?: string;
|
|
237
|
+
/**
|
|
238
|
+
* @default false
|
|
239
|
+
*/
|
|
240
|
+
includeTotal?: boolean;
|
|
241
|
+
}
|
|
242
|
+
export interface IntegrationListResponse {
|
|
243
|
+
items: Array<IntegrationListResponse.Item>;
|
|
244
|
+
/**
|
|
245
|
+
* @format uuid
|
|
246
|
+
*/
|
|
247
|
+
nextCursor: string | null;
|
|
248
|
+
/**
|
|
249
|
+
* @minimum 0
|
|
250
|
+
*/
|
|
251
|
+
totalCount?: number;
|
|
252
|
+
}
|
|
253
|
+
export declare namespace IntegrationListResponse {
|
|
254
|
+
interface Item {
|
|
255
|
+
/**
|
|
256
|
+
* @format date-time
|
|
257
|
+
*/
|
|
258
|
+
createdAt: string;
|
|
259
|
+
displayName: string;
|
|
260
|
+
/**
|
|
261
|
+
* @format date-time
|
|
262
|
+
*/
|
|
263
|
+
enabledAt: string | null;
|
|
264
|
+
id: string;
|
|
265
|
+
/**
|
|
266
|
+
* @format date-time
|
|
267
|
+
*/
|
|
268
|
+
lastSyncedAt: string | null;
|
|
269
|
+
/**
|
|
270
|
+
* @minimum 0
|
|
271
|
+
*/
|
|
272
|
+
repositoryCount: number;
|
|
273
|
+
/**
|
|
274
|
+
* @minimum 0
|
|
275
|
+
*/
|
|
276
|
+
sourceCount: number;
|
|
277
|
+
/**
|
|
278
|
+
* @minLength 1
|
|
279
|
+
* @maxLength 100
|
|
280
|
+
*/
|
|
281
|
+
type: string;
|
|
282
|
+
/**
|
|
283
|
+
* @format date-time
|
|
284
|
+
*/
|
|
285
|
+
updatedAt: string;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
export type IntegrationCreateParams = IntegrationCreateParams.Variant0 | IntegrationCreateParams.Variant1 | IntegrationCreateParams.Variant2 | IntegrationCreateParams.Variant3 | IntegrationCreateParams.Variant4 | IntegrationCreateParams.Variant5 | IntegrationCreateParams.Variant6;
|
|
289
|
+
export declare namespace IntegrationCreateParams {
|
|
290
|
+
interface Variant0 {
|
|
291
|
+
/**
|
|
292
|
+
* @minLength 1
|
|
293
|
+
* @maxLength 200
|
|
294
|
+
*/
|
|
295
|
+
environment: string;
|
|
296
|
+
/**
|
|
297
|
+
* @minLength 1
|
|
298
|
+
* @maxLength 2048
|
|
299
|
+
*/
|
|
300
|
+
roleArn: string;
|
|
301
|
+
type: 'aws';
|
|
302
|
+
}
|
|
303
|
+
interface Variant1 {
|
|
304
|
+
/**
|
|
305
|
+
* @pattern ^[a-z][a-z0-9-]{4,28}[a-z0-9]$
|
|
306
|
+
*/
|
|
307
|
+
projectId: string;
|
|
308
|
+
/**
|
|
309
|
+
* @minLength 1
|
|
310
|
+
* @maxLength 1000000
|
|
311
|
+
*/
|
|
312
|
+
serviceAccountJson: string;
|
|
313
|
+
type: 'bigquery';
|
|
314
|
+
}
|
|
315
|
+
interface Variant2 {
|
|
316
|
+
/**
|
|
317
|
+
* @minLength 1
|
|
318
|
+
* @maxLength 65536
|
|
319
|
+
*/
|
|
320
|
+
accessToken: string;
|
|
321
|
+
type: 'gitlab';
|
|
322
|
+
}
|
|
323
|
+
interface Variant3 {
|
|
324
|
+
/**
|
|
325
|
+
* @minLength 1
|
|
326
|
+
* @maxLength 2048
|
|
327
|
+
*/
|
|
328
|
+
gateway: string;
|
|
329
|
+
/**
|
|
330
|
+
* @minLength 1
|
|
331
|
+
* @maxLength 200
|
|
332
|
+
*/
|
|
333
|
+
instanceName: string;
|
|
334
|
+
/**
|
|
335
|
+
* @minLength 1
|
|
336
|
+
* @maxLength 65536
|
|
337
|
+
*/
|
|
338
|
+
password: string;
|
|
339
|
+
protocol: 'fortinet' | 'anyconnect' | 'gp' | 'nc';
|
|
340
|
+
type: 'openconnect';
|
|
341
|
+
/**
|
|
342
|
+
* @minLength 1
|
|
343
|
+
* @maxLength 4096
|
|
344
|
+
*/
|
|
345
|
+
username: string;
|
|
346
|
+
}
|
|
347
|
+
interface Variant4 {
|
|
348
|
+
/**
|
|
349
|
+
* @minLength 1
|
|
350
|
+
* @maxLength 16384
|
|
351
|
+
*/
|
|
352
|
+
connectionString: string;
|
|
353
|
+
/**
|
|
354
|
+
* @minLength 1
|
|
355
|
+
* @maxLength 200
|
|
356
|
+
*/
|
|
357
|
+
instanceName: string;
|
|
358
|
+
type: 'postgres';
|
|
359
|
+
/**
|
|
360
|
+
* @maxLength 1000000
|
|
361
|
+
*/
|
|
362
|
+
caCertificate?: string;
|
|
363
|
+
}
|
|
364
|
+
interface Variant5 {
|
|
365
|
+
/**
|
|
366
|
+
* @minLength 1
|
|
367
|
+
* @maxLength 16384
|
|
368
|
+
*/
|
|
369
|
+
clientId: string;
|
|
370
|
+
/**
|
|
371
|
+
* @minLength 1
|
|
372
|
+
* @maxLength 65536
|
|
373
|
+
*/
|
|
374
|
+
clientSecret: string;
|
|
375
|
+
/**
|
|
376
|
+
* @format uuid
|
|
377
|
+
*/
|
|
378
|
+
organizationId: string;
|
|
379
|
+
type: 'snyk';
|
|
380
|
+
/**
|
|
381
|
+
* @minLength 1
|
|
382
|
+
* @maxLength 500
|
|
383
|
+
*/
|
|
384
|
+
organizationName?: string;
|
|
385
|
+
}
|
|
386
|
+
interface Variant6 {
|
|
387
|
+
/**
|
|
388
|
+
* @minLength 1
|
|
389
|
+
* @maxLength 200
|
|
390
|
+
*/
|
|
391
|
+
instanceName: string;
|
|
392
|
+
/**
|
|
393
|
+
* @minLength 1
|
|
394
|
+
* @maxLength 16384
|
|
395
|
+
*/
|
|
396
|
+
oauthClientId: string;
|
|
397
|
+
/**
|
|
398
|
+
* @minLength 1
|
|
399
|
+
* @maxLength 65536
|
|
400
|
+
*/
|
|
401
|
+
oauthClientSecret: string;
|
|
402
|
+
/**
|
|
403
|
+
* @minItems 1
|
|
404
|
+
* @maxItems 100
|
|
405
|
+
*/
|
|
406
|
+
tags: Array<string>;
|
|
407
|
+
type: 'tailscale';
|
|
408
|
+
/**
|
|
409
|
+
* @default -
|
|
410
|
+
* @minLength 1
|
|
411
|
+
* @maxLength 500
|
|
412
|
+
*/
|
|
413
|
+
tailnet?: string;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
export interface IntegrationCreateResponse {
|
|
417
|
+
integration: IntegrationCreateResponse.Integration;
|
|
418
|
+
/**
|
|
419
|
+
* @format uuid
|
|
420
|
+
*/
|
|
421
|
+
sessionSourceId: string | null;
|
|
422
|
+
}
|
|
423
|
+
export declare namespace IntegrationCreateResponse {
|
|
424
|
+
interface Integration {
|
|
425
|
+
/**
|
|
426
|
+
* @format date-time
|
|
427
|
+
*/
|
|
428
|
+
createdAt: string;
|
|
429
|
+
displayName: string;
|
|
430
|
+
/**
|
|
431
|
+
* @format date-time
|
|
432
|
+
*/
|
|
433
|
+
enabledAt: string | null;
|
|
434
|
+
id: string;
|
|
435
|
+
/**
|
|
436
|
+
* @format date-time
|
|
437
|
+
*/
|
|
438
|
+
lastSyncedAt: string | null;
|
|
439
|
+
/**
|
|
440
|
+
* @minimum 0
|
|
441
|
+
*/
|
|
442
|
+
repositoryCount: number;
|
|
443
|
+
/**
|
|
444
|
+
* @minimum 0
|
|
445
|
+
*/
|
|
446
|
+
sourceCount: number;
|
|
447
|
+
/**
|
|
448
|
+
* @minLength 1
|
|
449
|
+
* @maxLength 100
|
|
450
|
+
*/
|
|
451
|
+
type: string;
|
|
452
|
+
/**
|
|
453
|
+
* @format date-time
|
|
454
|
+
*/
|
|
455
|
+
updatedAt: string;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
export interface IntegrationRetrieveResponse {
|
|
459
|
+
/**
|
|
460
|
+
* @format date-time
|
|
461
|
+
*/
|
|
462
|
+
createdAt: string;
|
|
463
|
+
displayName: string;
|
|
464
|
+
/**
|
|
465
|
+
* @format date-time
|
|
466
|
+
*/
|
|
467
|
+
enabledAt: string | null;
|
|
468
|
+
id: string;
|
|
469
|
+
/**
|
|
470
|
+
* @format date-time
|
|
471
|
+
*/
|
|
472
|
+
lastSyncedAt: string | null;
|
|
473
|
+
/**
|
|
474
|
+
* @minimum 0
|
|
475
|
+
*/
|
|
476
|
+
repositoryCount: number;
|
|
477
|
+
/**
|
|
478
|
+
* @minimum 0
|
|
479
|
+
*/
|
|
480
|
+
sourceCount: number;
|
|
481
|
+
/**
|
|
482
|
+
* @minLength 1
|
|
483
|
+
* @maxLength 100
|
|
484
|
+
*/
|
|
485
|
+
type: string;
|
|
486
|
+
/**
|
|
487
|
+
* @format date-time
|
|
488
|
+
*/
|
|
489
|
+
updatedAt: string;
|
|
490
|
+
}
|
|
491
|
+
export type IntegrationUpdateParams = IntegrationUpdateParams.Settings | IntegrationUpdateParams.Aws | IntegrationUpdateParams.Postgres | IntegrationUpdateParams.AtlassianServiceAccount;
|
|
492
|
+
export declare namespace IntegrationUpdateParams {
|
|
493
|
+
interface Settings {
|
|
494
|
+
settings: Settings.Settings;
|
|
495
|
+
}
|
|
496
|
+
namespace Settings {
|
|
497
|
+
interface Settings {
|
|
498
|
+
/**
|
|
499
|
+
* @format uuid
|
|
500
|
+
*/
|
|
501
|
+
defaultRepositoryId?: string | null;
|
|
502
|
+
/**
|
|
503
|
+
* @maxItems 1000
|
|
504
|
+
*/
|
|
505
|
+
disallowedSlackChannelIds?: Array<string>;
|
|
506
|
+
instantSolve?: boolean;
|
|
507
|
+
/**
|
|
508
|
+
* @maxItems 1000
|
|
509
|
+
*/
|
|
510
|
+
sentryEnvironments?: Array<string>;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
interface Aws {
|
|
514
|
+
aws: Aws.Aws;
|
|
515
|
+
}
|
|
516
|
+
namespace Aws {
|
|
517
|
+
interface Aws {
|
|
518
|
+
/**
|
|
519
|
+
* @minLength 1
|
|
520
|
+
* @maxLength 200
|
|
521
|
+
*/
|
|
522
|
+
environment: string;
|
|
523
|
+
/**
|
|
524
|
+
* @minLength 1
|
|
525
|
+
* @maxLength 2048
|
|
526
|
+
*/
|
|
527
|
+
roleArn: string;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
interface Postgres {
|
|
531
|
+
postgres: Postgres.Postgres;
|
|
532
|
+
}
|
|
533
|
+
namespace Postgres {
|
|
534
|
+
interface Postgres {
|
|
535
|
+
/**
|
|
536
|
+
* @minLength 1
|
|
537
|
+
* @maxLength 16384
|
|
538
|
+
*/
|
|
539
|
+
connectionString: string;
|
|
540
|
+
/**
|
|
541
|
+
* @minLength 1
|
|
542
|
+
* @maxLength 200
|
|
543
|
+
*/
|
|
544
|
+
instanceName: string;
|
|
545
|
+
/**
|
|
546
|
+
* @maxLength 1000000
|
|
547
|
+
*/
|
|
548
|
+
caCertificate?: string;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
interface AtlassianServiceAccount {
|
|
552
|
+
atlassianServiceAccount: AtlassianServiceAccount.AtlassianServiceAccount | null;
|
|
553
|
+
}
|
|
554
|
+
namespace AtlassianServiceAccount {
|
|
555
|
+
interface AtlassianServiceAccount {
|
|
556
|
+
/**
|
|
557
|
+
* @minLength 1
|
|
558
|
+
* @maxLength 4096
|
|
559
|
+
*/
|
|
560
|
+
clientId: string;
|
|
561
|
+
/**
|
|
562
|
+
* @minLength 1
|
|
563
|
+
* @maxLength 65536
|
|
564
|
+
*/
|
|
565
|
+
clientSecret: string;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
export interface IntegrationUpdateResponse {
|
|
570
|
+
/**
|
|
571
|
+
* @format date-time
|
|
572
|
+
*/
|
|
573
|
+
createdAt: string;
|
|
574
|
+
displayName: string;
|
|
575
|
+
/**
|
|
576
|
+
* @format date-time
|
|
577
|
+
*/
|
|
578
|
+
enabledAt: string | null;
|
|
579
|
+
id: string;
|
|
580
|
+
/**
|
|
581
|
+
* @format date-time
|
|
582
|
+
*/
|
|
583
|
+
lastSyncedAt: string | null;
|
|
584
|
+
/**
|
|
585
|
+
* @minimum 0
|
|
586
|
+
*/
|
|
587
|
+
repositoryCount: number;
|
|
588
|
+
/**
|
|
589
|
+
* @minimum 0
|
|
590
|
+
*/
|
|
591
|
+
sourceCount: number;
|
|
592
|
+
/**
|
|
593
|
+
* @minLength 1
|
|
594
|
+
* @maxLength 100
|
|
595
|
+
*/
|
|
596
|
+
type: string;
|
|
597
|
+
/**
|
|
598
|
+
* @format date-time
|
|
599
|
+
*/
|
|
600
|
+
updatedAt: string;
|
|
601
|
+
}
|
|
602
|
+
export interface IntegrationDeleteResponse {
|
|
603
|
+
/**
|
|
604
|
+
* @format uuid
|
|
605
|
+
*/
|
|
606
|
+
id: string;
|
|
607
|
+
deleted: true;
|
|
608
|
+
}
|
|
609
|
+
export interface IntegrationAuthorizeParams {
|
|
610
|
+
/**
|
|
611
|
+
* @format uri
|
|
612
|
+
* @maxLength 8192
|
|
613
|
+
*/
|
|
614
|
+
returnUrl?: string;
|
|
615
|
+
capability?: 'confluenceTriggers';
|
|
616
|
+
}
|
|
617
|
+
export interface IntegrationAuthorizeResponse {
|
|
618
|
+
/**
|
|
619
|
+
* @format uri
|
|
620
|
+
*/
|
|
621
|
+
authorizationUrl: string;
|
|
622
|
+
}
|
|
623
|
+
export interface IntegrationTestResponse {
|
|
624
|
+
healthy: boolean;
|
|
625
|
+
message: string;
|
|
626
|
+
}
|
|
627
|
+
export interface IntegrationSyncParams {
|
|
628
|
+
/**
|
|
629
|
+
* @default queued
|
|
630
|
+
*/
|
|
631
|
+
mode?: 'immediate' | 'queued';
|
|
632
|
+
}
|
|
633
|
+
export interface IntegrationSyncResponse {
|
|
634
|
+
/**
|
|
635
|
+
* @format uuid
|
|
636
|
+
*/
|
|
637
|
+
integrationId: string;
|
|
638
|
+
jobId: string | null;
|
|
639
|
+
mode: 'immediate' | 'queued';
|
|
640
|
+
}
|
|
641
|
+
export type IntegrationSyncAllParams = Record<string, unknown>;
|
|
642
|
+
export interface IntegrationSyncAllResponse {
|
|
643
|
+
/**
|
|
644
|
+
* @minimum 0
|
|
645
|
+
* @maximum 9007199254740991
|
|
646
|
+
*/
|
|
647
|
+
eligibleIntegrationCount: number;
|
|
648
|
+
/**
|
|
649
|
+
* @minimum 0
|
|
650
|
+
* @maximum 9007199254740991
|
|
651
|
+
*/
|
|
652
|
+
integrationSyncJobCount: number;
|
|
653
|
+
/**
|
|
654
|
+
* @minimum 0
|
|
655
|
+
* @maximum 9007199254740991
|
|
656
|
+
*/
|
|
657
|
+
pullRequestSyncJobCount: number;
|
|
658
|
+
}
|
|
659
|
+
export interface IntegrationRetrieveSyncStatusResponse {
|
|
660
|
+
/**
|
|
661
|
+
* @minimum 0
|
|
662
|
+
* @maximum 9007199254740991
|
|
663
|
+
*/
|
|
664
|
+
activeJobCount: number;
|
|
665
|
+
/**
|
|
666
|
+
* @minimum 0
|
|
667
|
+
* @maximum 9007199254740991
|
|
668
|
+
*/
|
|
669
|
+
eligibleIntegrationCount: number;
|
|
670
|
+
}
|
|
671
|
+
export interface IntegrationRetrieveRateLimitResponse {
|
|
672
|
+
core: IntegrationRetrieveRateLimitResponse.Core;
|
|
673
|
+
graphql: IntegrationRetrieveRateLimitResponse.Graphql;
|
|
674
|
+
search: IntegrationRetrieveRateLimitResponse.Search;
|
|
675
|
+
}
|
|
676
|
+
export declare namespace IntegrationRetrieveRateLimitResponse {
|
|
677
|
+
interface Core {
|
|
678
|
+
limit: number;
|
|
679
|
+
remaining: number;
|
|
680
|
+
/**
|
|
681
|
+
* @format date-time
|
|
682
|
+
*/
|
|
683
|
+
resetAt: string;
|
|
684
|
+
used: number;
|
|
685
|
+
}
|
|
686
|
+
interface Graphql {
|
|
687
|
+
limit: number;
|
|
688
|
+
remaining: number;
|
|
689
|
+
/**
|
|
690
|
+
* @format date-time
|
|
691
|
+
*/
|
|
692
|
+
resetAt: string;
|
|
693
|
+
used: number;
|
|
694
|
+
}
|
|
695
|
+
interface Search {
|
|
696
|
+
limit: number;
|
|
697
|
+
remaining: number;
|
|
698
|
+
/**
|
|
699
|
+
* @format date-time
|
|
700
|
+
*/
|
|
701
|
+
resetAt: string;
|
|
702
|
+
used: number;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
export interface IntegrationListSentryEnvironmentsParams {
|
|
706
|
+
/**
|
|
707
|
+
* @maxLength 10
|
|
708
|
+
* @pattern ^\d+$
|
|
709
|
+
*/
|
|
710
|
+
cursor?: string;
|
|
711
|
+
/**
|
|
712
|
+
* @default 50
|
|
713
|
+
* @minimum 1
|
|
714
|
+
* @maximum 100
|
|
715
|
+
*/
|
|
716
|
+
limit?: number;
|
|
717
|
+
}
|
|
718
|
+
export interface IntegrationListSentryEnvironmentsResponse {
|
|
719
|
+
/**
|
|
720
|
+
* @maxItems 100
|
|
721
|
+
*/
|
|
722
|
+
items: Array<string>;
|
|
723
|
+
/**
|
|
724
|
+
* @maxLength 10
|
|
725
|
+
* @pattern ^\d+$
|
|
726
|
+
*/
|
|
727
|
+
nextCursor: string | null;
|
|
728
|
+
}
|
|
729
|
+
export interface IntegrationListSlackChannelsParams {
|
|
730
|
+
/**
|
|
731
|
+
* @maxLength 10
|
|
732
|
+
* @pattern ^\d+$
|
|
733
|
+
*/
|
|
734
|
+
cursor?: string;
|
|
735
|
+
/**
|
|
736
|
+
* @default 50
|
|
737
|
+
* @minimum 1
|
|
738
|
+
* @maximum 100
|
|
739
|
+
*/
|
|
740
|
+
limit?: number;
|
|
741
|
+
/**
|
|
742
|
+
* @minLength 1
|
|
743
|
+
* @maxLength 200
|
|
744
|
+
*/
|
|
745
|
+
search?: string;
|
|
746
|
+
}
|
|
747
|
+
export interface IntegrationListSlackChannelsResponse {
|
|
748
|
+
/**
|
|
749
|
+
* @maxItems 100
|
|
750
|
+
*/
|
|
751
|
+
items: Array<IntegrationListSlackChannelsResponse.Item>;
|
|
752
|
+
/**
|
|
753
|
+
* @maxLength 10
|
|
754
|
+
* @pattern ^\d+$
|
|
755
|
+
*/
|
|
756
|
+
nextCursor: string | null;
|
|
757
|
+
}
|
|
758
|
+
export declare namespace IntegrationListSlackChannelsResponse {
|
|
759
|
+
interface Item {
|
|
760
|
+
/**
|
|
761
|
+
* @minLength 1
|
|
762
|
+
* @maxLength 255
|
|
763
|
+
*/
|
|
764
|
+
id: string;
|
|
765
|
+
/**
|
|
766
|
+
* @minLength 1
|
|
767
|
+
* @maxLength 255
|
|
768
|
+
*/
|
|
769
|
+
name: string;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
export declare namespace Integrations {
|
|
773
|
+
export { type IntegrationListResponse as IntegrationListResponse, type IntegrationCreateResponse as IntegrationCreateResponse, type IntegrationRetrieveResponse as IntegrationRetrieveResponse, type IntegrationUpdateResponse as IntegrationUpdateResponse, type IntegrationDeleteResponse as IntegrationDeleteResponse, type IntegrationAuthorizeResponse as IntegrationAuthorizeResponse, type IntegrationTestResponse as IntegrationTestResponse, type IntegrationSyncResponse as IntegrationSyncResponse, type IntegrationSyncAllResponse as IntegrationSyncAllResponse, type IntegrationRetrieveSyncStatusResponse as IntegrationRetrieveSyncStatusResponse, type IntegrationRetrieveRateLimitResponse as IntegrationRetrieveRateLimitResponse, type IntegrationListSentryEnvironmentsResponse as IntegrationListSentryEnvironmentsResponse, type IntegrationListSlackChannelsResponse as IntegrationListSlackChannelsResponse, type IntegrationListParams as IntegrationListParams, type IntegrationCreateParams as IntegrationCreateParams, type IntegrationUpdateParams as IntegrationUpdateParams, type IntegrationAuthorizeParams as IntegrationAuthorizeParams, type IntegrationSyncParams as IntegrationSyncParams, type IntegrationSyncAllParams as IntegrationSyncAllParams, type IntegrationListSentryEnvironmentsParams as IntegrationListSentryEnvironmentsParams, type IntegrationListSlackChannelsParams as IntegrationListSlackChannelsParams, };
|
|
774
|
+
export { Providers as Providers, type ProviderListResponse as ProviderListResponse, type ProviderDiscoverSnykOrganizationsResponse as ProviderDiscoverSnykOrganizationsResponse, type ProviderListParams as ProviderListParams, type ProviderDiscoverSnykOrganizationsParams as ProviderDiscoverSnykOrganizationsParams, };
|
|
775
|
+
export { Triggers as Triggers, type TriggerListResponse as TriggerListResponse, type TriggerRetrieveResponse as TriggerRetrieveResponse, type TriggerListFilterOptionsResponse as TriggerListFilterOptionsResponse, type TriggerListParams as TriggerListParams, type TriggerRetrieveParams as TriggerRetrieveParams, type TriggerListFilterOptionsParams as TriggerListFilterOptionsParams, };
|
|
776
|
+
}
|
|
777
|
+
//# sourceMappingURL=integrations.d.ts.map
|