@vercel/sdk 1.9.0 → 1.10.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 +11 -7
- package/bin/mcp-server.js +3307 -2453
- package/bin/mcp-server.js.map +46 -41
- package/docs/sdks/deployments/README.md +2 -0
- package/docs/sdks/logdrains/README.md +0 -80
- package/docs/sdks/marketplace/README.md +310 -78
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +3 -13
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +41 -0
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +13 -15
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +5 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/funcs/deploymentsCreateDeployment.js +2 -2
- package/esm/funcs/deploymentsCreateDeployment.js.map +1 -1
- package/esm/funcs/{logDrainsDeleteConfigurableLogDrain.d.ts → marketplaceDeleteIntegrationResource.d.ts} +5 -5
- package/esm/funcs/marketplaceDeleteIntegrationResource.d.ts.map +1 -0
- package/esm/funcs/{logDrainsDeleteConfigurableLogDrain.js → marketplaceDeleteIntegrationResource.js} +11 -15
- package/esm/funcs/marketplaceDeleteIntegrationResource.js.map +1 -0
- package/esm/funcs/marketplaceGetIntegrationResource.d.ts +20 -0
- package/esm/funcs/marketplaceGetIntegrationResource.d.ts.map +1 -0
- package/esm/funcs/marketplaceGetIntegrationResource.js +90 -0
- package/esm/funcs/marketplaceGetIntegrationResource.js.map +1 -0
- package/esm/funcs/marketplaceGetIntegrationResources.d.ts +20 -0
- package/esm/funcs/marketplaceGetIntegrationResources.d.ts.map +1 -0
- package/esm/funcs/marketplaceGetIntegrationResources.js +86 -0
- package/esm/funcs/marketplaceGetIntegrationResources.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/esm/mcp-server/cli/start/command.js +0 -12
- package/esm/mcp-server/cli/start/command.js.map +1 -1
- package/esm/mcp-server/cli/start/impl.d.ts +0 -2
- package/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/esm/mcp-server/cli/start/impl.js +0 -2
- package/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/mcp-server.js.map +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +11 -7
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.js +27 -0
- package/esm/mcp-server/tools/marketplaceDeleteIntegrationResource.js.map +1 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResource.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResource.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResource.js +28 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResource.js.map +1 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResources.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResources.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResources.js +28 -0
- package/esm/mcp-server/tools/marketplaceGetIntegrationResources.js.map +1 -0
- package/esm/models/authuser.d.ts +5 -27
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +2 -9
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +335 -6
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +274 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +434 -97
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +362 -83
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +102 -25
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +80 -29
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +6 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +2 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/deleteintegrationresourceop.d.ts +31 -0
- package/esm/models/deleteintegrationresourceop.d.ts.map +1 -0
- package/esm/models/deleteintegrationresourceop.js +33 -0
- package/esm/models/deleteintegrationresourceop.js.map +1 -0
- package/esm/models/getconfigurationop.d.ts +3 -3
- package/esm/models/getconfigurationop.js +1 -1
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +338 -9
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +276 -3
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +8 -2
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +3 -2
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getedgeconfigbackupop.d.ts +15 -15
- package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
- package/esm/models/getedgeconfigbackupop.js +15 -15
- package/esm/models/getedgeconfigbackupop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +293 -0
- package/esm/models/getintegrationresourceop.d.ts.map +1 -0
- package/esm/models/getintegrationresourceop.js +252 -0
- package/esm/models/getintegrationresourceop.js.map +1 -0
- package/esm/models/getintegrationresourcesop.d.ts +310 -0
- package/esm/models/getintegrationresourcesop.d.ts.map +1 -0
- package/esm/models/getintegrationresourcesop.js +275 -0
- package/esm/models/getintegrationresourcesop.js.map +1 -0
- package/esm/models/getprojectsop.d.ts +12 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +4 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.d.ts +21 -13
- package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.js +17 -9
- package/esm/models/getrollingreleasebillingstatusop.js.map +1 -1
- package/esm/models/getteamaccessrequestop.d.ts +3 -3
- package/esm/models/getteamaccessrequestop.js +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +3 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +1 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +9 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +3 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +15 -15
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +17 -15
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/requestaccesstoteamop.d.ts +3 -3
- package/esm/models/requestaccesstoteamop.js +1 -1
- package/esm/models/sdkerror.d.ts.map +1 -1
- package/esm/models/sdkerror.js +8 -2
- package/esm/models/sdkerror.js.map +1 -1
- package/esm/models/team.d.ts +8 -3
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +3 -1
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +3 -3
- package/esm/models/teamlimited.js +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +12 -2
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +4 -2
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +24 -2
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +8 -2
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateresourcesecretsop.d.ts +15 -15
- package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
- package/esm/models/updateresourcesecretsop.js +15 -17
- package/esm/models/updateresourcesecretsop.js.map +1 -1
- package/esm/models/userevent.d.ts +1622 -1824
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +2049 -2225
- package/esm/models/userevent.js.map +1 -1
- package/esm/models/vercelbadrequesterror.d.ts.map +1 -1
- package/esm/models/vercelbadrequesterror.js +2 -3
- package/esm/models/vercelbadrequesterror.js.map +1 -1
- package/esm/models/vercelforbiddenerror.d.ts.map +1 -1
- package/esm/models/vercelforbiddenerror.js +2 -3
- package/esm/models/vercelforbiddenerror.js.map +1 -1
- package/esm/models/vercelnotfounderror.d.ts.map +1 -1
- package/esm/models/vercelnotfounderror.js +2 -3
- package/esm/models/vercelnotfounderror.js.map +1 -1
- package/esm/models/vercelratelimiterror.d.ts.map +1 -1
- package/esm/models/vercelratelimiterror.js +2 -3
- package/esm/models/vercelratelimiterror.js.map +1 -1
- package/esm/sdk/logdrains.d.ts +0 -8
- package/esm/sdk/logdrains.d.ts.map +1 -1
- package/esm/sdk/logdrains.js +0 -10
- package/esm/sdk/logdrains.js.map +1 -1
- package/esm/sdk/marketplace.d.ts +31 -7
- package/esm/sdk/marketplace.d.ts.map +1 -1
- package/esm/sdk/marketplace.js +39 -9
- package/esm/sdk/marketplace.js.map +1 -1
- package/esm/sdk/sdk.d.ts +2 -2
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +3 -3
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/README.md +26 -0
- package/examples/package-lock.json +628 -0
- package/examples/package.json +18 -0
- package/examples/projectsUpdateProject.example.ts +31 -0
- package/jsr.json +1 -1
- package/package.json +4 -4
- package/src/__tests__/deployments.test.ts +2 -1
- package/src/__tests__/domains.test.ts +2 -1
- package/src/__tests__/logdrains.test.ts +5 -15
- package/src/__tests__/marketplace.test.ts +47 -0
- package/src/__tests__/projects.test.ts +13 -15
- package/src/__tests__/rollingrelease.test.ts +5 -2
- package/src/funcs/deploymentsCreateDeployment.ts +2 -2
- package/src/funcs/{logDrainsDeleteConfigurableLogDrain.ts → marketplaceDeleteIntegrationResource.ts} +20 -19
- package/src/funcs/marketplaceGetIntegrationResource.ts +206 -0
- package/src/funcs/marketplaceGetIntegrationResources.ts +202 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +0 -13
- package/src/mcp-server/cli/start/impl.ts +0 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -7
- package/src/mcp-server/tools/marketplaceDeleteIntegrationResource.ts +37 -0
- package/src/mcp-server/tools/marketplaceGetIntegrationResource.ts +39 -0
- package/src/mcp-server/tools/marketplaceGetIntegrationResources.ts +39 -0
- package/src/models/authuser.ts +7 -10
- package/src/models/canceldeploymentop.ts +607 -2
- package/src/models/createdeploymentop.ts +855 -289
- package/src/models/createprojectop.ts +159 -46
- package/src/models/createwebhookop.ts +2 -0
- package/src/models/deleteintegrationresourceop.ts +72 -0
- package/src/models/getconfigurationop.ts +1 -1
- package/src/models/getdeploymentop.ts +620 -3
- package/src/models/getdeploymentsop.ts +8 -4
- package/src/models/getedgeconfigbackupop.ts +41 -24
- package/src/models/getintegrationresourceop.ts +561 -0
- package/src/models/getintegrationresourcesop.ts +642 -0
- package/src/models/getprojectsop.ts +4 -4
- package/src/models/getrollingreleasebillingstatusop.ts +31 -15
- package/src/models/getteamaccessrequestop.ts +1 -1
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
- package/src/models/getwebhookop.ts +1 -0
- package/src/models/getwebhooksop.ts +3 -0
- package/src/models/importresourceop.ts +27 -35
- package/src/models/requestaccesstoteamop.ts +1 -1
- package/src/models/sdkerror.ts +8 -2
- package/src/models/team.ts +8 -1
- package/src/models/teamlimited.ts +1 -1
- package/src/models/updateprojectdatacacheop.ts +4 -4
- package/src/models/updateprojectop.ts +8 -4
- package/src/models/updateresourcesecretsop.ts +49 -33
- package/src/models/userevent.ts +4781 -5205
- package/src/models/vercelbadrequesterror.ts +2 -3
- package/src/models/vercelforbiddenerror.ts +2 -3
- package/src/models/vercelnotfounderror.ts +2 -3
- package/src/models/vercelratelimiterror.ts +2 -3
- package/src/sdk/logdrains.ts +0 -19
- package/src/sdk/marketplace.ts +80 -17
- package/src/sdk/sdk.ts +5 -5
- package/vercel-spec.json +1641 -828
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts.map +0 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js.map +0 -1
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.d.ts +0 -7
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.d.ts.map +0 -1
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js +0 -27
- package/esm/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.js.map +0 -1
- package/esm/models/deleteconfigurablelogdrainop.d.ts +0 -39
- package/esm/models/deleteconfigurablelogdrainop.d.ts.map +0 -1
- package/esm/models/deleteconfigurablelogdrainop.js +0 -35
- package/esm/models/deleteconfigurablelogdrainop.js.map +0 -1
- package/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts +0 -37
- package/src/models/deleteconfigurablelogdrainop.ts +0 -83
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logDrainsDeleteConfigurableLogDrain.d.ts","sourceRoot":"","sources":["../../src/funcs/logDrainsDeleteConfigurableLogDrain.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKxC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,iCAAiC,EAElC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAEtB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EACL,oBAAoB,EAErB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,mBAAmB,EAEpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,iCAAiC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,IAAI,EACF,qBAAqB,GACrB,oBAAoB,GACpB,mBAAmB,GACnB,WAAW,GACX,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logDrainsDeleteConfigurableLogDrain.js","sourceRoot":"","sources":["../../src/funcs/logDrainsDeleteConfigurableLogDrain.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,CAA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AG,EAAE,mCAAmC,CAAC,EACnD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,kCAAkC,CAAC,EAClD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,iCAAiC,CAAC,EACjD,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,EACpB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ToolDefinition } from "../tools.js";
|
|
2
|
-
declare const args: {
|
|
3
|
-
request: import("zod").ZodType<import("../../models/deleteconfigurablelogdrainop.js").DeleteConfigurableLogDrainRequest, import("zod").ZodTypeDef, unknown>;
|
|
4
|
-
};
|
|
5
|
-
export declare const tool$logDrainsDeleteConfigurableLogDrain: ToolDefinition<typeof args>;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=logDrainsDeleteConfigurableLogDrain.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logDrainsDeleteConfigurableLogDrain.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,cAAc,CACnE,OAAO,IAAI,CAuBZ,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import { logDrainsDeleteConfigurableLogDrain } from "../../funcs/logDrainsDeleteConfigurableLogDrain.js";
|
|
5
|
-
import { DeleteConfigurableLogDrainRequest$inboundSchema } from "../../models/deleteconfigurablelogdrainop.js";
|
|
6
|
-
import { formatResult } from "../tools.js";
|
|
7
|
-
const args = {
|
|
8
|
-
request: DeleteConfigurableLogDrainRequest$inboundSchema,
|
|
9
|
-
};
|
|
10
|
-
export const tool$logDrainsDeleteConfigurableLogDrain = {
|
|
11
|
-
name: "log-drains-delete-configurable-log-drain",
|
|
12
|
-
description: `Deletes a Configurable Log Drain
|
|
13
|
-
|
|
14
|
-
Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.`,
|
|
15
|
-
args,
|
|
16
|
-
tool: async (client, args, ctx) => {
|
|
17
|
-
const [result, apiCall] = await logDrainsDeleteConfigurableLogDrain(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
18
|
-
if (!result.ok) {
|
|
19
|
-
return {
|
|
20
|
-
content: [{ type: "text", text: result.error.message }],
|
|
21
|
-
isError: true,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
return formatResult(void 0, apiCall);
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=logDrainsDeleteConfigurableLogDrain.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logDrainsDeleteConfigurableLogDrain.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,EAAE,+CAA+C,EAAE,MAAM,8CAA8C,CAAC;AAC/G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,+CAA+C;CACzD,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAEjD;IACF,IAAI,EAAE,0CAA0C;IAChD,WAAW,EAAE;;qMAEsL;IACnM,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,mCAAmC,CACjE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC;CACF,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
4
|
-
export type DeleteConfigurableLogDrainRequest = {
|
|
5
|
-
id: string;
|
|
6
|
-
/**
|
|
7
|
-
* The Team identifier to perform the request on behalf of.
|
|
8
|
-
*/
|
|
9
|
-
teamId?: string | undefined;
|
|
10
|
-
/**
|
|
11
|
-
* The Team slug to perform the request on behalf of.
|
|
12
|
-
*/
|
|
13
|
-
slug?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
/** @internal */
|
|
16
|
-
export declare const DeleteConfigurableLogDrainRequest$inboundSchema: z.ZodType<DeleteConfigurableLogDrainRequest, z.ZodTypeDef, unknown>;
|
|
17
|
-
/** @internal */
|
|
18
|
-
export type DeleteConfigurableLogDrainRequest$Outbound = {
|
|
19
|
-
id: string;
|
|
20
|
-
teamId?: string | undefined;
|
|
21
|
-
slug?: string | undefined;
|
|
22
|
-
};
|
|
23
|
-
/** @internal */
|
|
24
|
-
export declare const DeleteConfigurableLogDrainRequest$outboundSchema: z.ZodType<DeleteConfigurableLogDrainRequest$Outbound, z.ZodTypeDef, DeleteConfigurableLogDrainRequest>;
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
28
|
-
*/
|
|
29
|
-
export declare namespace DeleteConfigurableLogDrainRequest$ {
|
|
30
|
-
/** @deprecated use `DeleteConfigurableLogDrainRequest$inboundSchema` instead. */
|
|
31
|
-
const inboundSchema: z.ZodType<DeleteConfigurableLogDrainRequest, z.ZodTypeDef, unknown>;
|
|
32
|
-
/** @deprecated use `DeleteConfigurableLogDrainRequest$outboundSchema` instead. */
|
|
33
|
-
const outboundSchema: z.ZodType<DeleteConfigurableLogDrainRequest$Outbound, z.ZodTypeDef, DeleteConfigurableLogDrainRequest>;
|
|
34
|
-
/** @deprecated use `DeleteConfigurableLogDrainRequest$Outbound` instead. */
|
|
35
|
-
type Outbound = DeleteConfigurableLogDrainRequest$Outbound;
|
|
36
|
-
}
|
|
37
|
-
export declare function deleteConfigurableLogDrainRequestToJSON(deleteConfigurableLogDrainRequest: DeleteConfigurableLogDrainRequest): string;
|
|
38
|
-
export declare function deleteConfigurableLogDrainRequestFromJSON(jsonString: string): SafeParseResult<DeleteConfigurableLogDrainRequest, SDKValidationError>;
|
|
39
|
-
//# sourceMappingURL=deleteconfigurablelogdrainop.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteconf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AkB,CAAC,CAMxE"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod";
|
|
5
|
-
import { safeParse } from "../lib/schemas.js";
|
|
6
|
-
/** @internal */
|
|
7
|
-
export const DeleteConfigurableLogDrainRequest$inboundSchema = z.object({
|
|
8
|
-
id: z.string(),
|
|
9
|
-
teamId: z.string().optional(),
|
|
10
|
-
slug: z.string().optional(),
|
|
11
|
-
});
|
|
12
|
-
/** @internal */
|
|
13
|
-
export const DeleteConfigurableLogDrainRequest$outboundSchema = z.object({
|
|
14
|
-
id: z.string(),
|
|
15
|
-
teamId: z.string().optional(),
|
|
16
|
-
slug: z.string().optional(),
|
|
17
|
-
});
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
-
*/
|
|
22
|
-
export var DeleteConfigurableLogDrainRequest$;
|
|
23
|
-
(function (DeleteConfigurableLogDrainRequest$) {
|
|
24
|
-
/** @deprecated use `DeleteConfigurableLogDrainRequest$inboundSchema` instead. */
|
|
25
|
-
DeleteConfigurableLogDrainRequest$.inboundSchema = DeleteConfigurableLogDrainRequest$inboundSchema;
|
|
26
|
-
/** @deprecated use `DeleteConfigurableLogDrainRequest$outboundSchema` instead. */
|
|
27
|
-
DeleteConfigurableLogDrainRequest$.outboundSchema = DeleteConfigurableLogDrainRequest$outboundSchema;
|
|
28
|
-
})(DeleteConfigurableLogDrainRequest$ || (DeleteConfigurableLogDrainRequest$ = {}));
|
|
29
|
-
export function deleteConfigurableLogDrainRequestToJSON(deleteConfigurableLogDrainRequest) {
|
|
30
|
-
return JSON.stringify(DeleteConfigurableLogDrainRequest$outboundSchema.parse(deleteConfigurableLogDrainRequest));
|
|
31
|
-
}
|
|
32
|
-
export function deleteConfigurableLogDrainRequestFromJSON(jsonString) {
|
|
33
|
-
return safeParse(jsonString, (x) => DeleteConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteConfigurableLogDrainRequest' from JSON`);
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=deleteconfigurablelogdrainop.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteconfigurablelogdrainop.js","sourceRoot":"","sources":["../../src/models/deleteconfigurablelogdrainop.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAgB9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AASH,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,kCAAkC,CAQlD;AARD,WAAiB,kCAAkC;IACjD,iFAAiF;IACpE,gDAAa,GAAG,+CAA+C,CAAC;IAC7E,kFAAkF;IACrE,iDAAc,GACzB,gDAAgD,CAAC;AAGrD,CAAC,EARgB,kCAAkC,KAAlC,kCAAkC,QAQlD;AAED,MAAM,UAAU,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yCAAyC,CACvD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { logDrainsDeleteConfigurableLogDrain } from "../../funcs/logDrainsDeleteConfigurableLogDrain.js";
|
|
6
|
-
import { DeleteConfigurableLogDrainRequest$inboundSchema } from "../../models/deleteconfigurablelogdrainop.js";
|
|
7
|
-
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
-
|
|
9
|
-
const args = {
|
|
10
|
-
request: DeleteConfigurableLogDrainRequest$inboundSchema,
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const tool$logDrainsDeleteConfigurableLogDrain: ToolDefinition<
|
|
14
|
-
typeof args
|
|
15
|
-
> = {
|
|
16
|
-
name: "log-drains-delete-configurable-log-drain",
|
|
17
|
-
description: `Deletes a Configurable Log Drain
|
|
18
|
-
|
|
19
|
-
Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.`,
|
|
20
|
-
args,
|
|
21
|
-
tool: async (client, args, ctx) => {
|
|
22
|
-
const [result, apiCall] = await logDrainsDeleteConfigurableLogDrain(
|
|
23
|
-
client,
|
|
24
|
-
args.request,
|
|
25
|
-
{ fetchOptions: { signal: ctx.signal } },
|
|
26
|
-
).$inspect();
|
|
27
|
-
|
|
28
|
-
if (!result.ok) {
|
|
29
|
-
return {
|
|
30
|
-
content: [{ type: "text", text: result.error.message }],
|
|
31
|
-
isError: true,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return formatResult(void 0, apiCall);
|
|
36
|
-
},
|
|
37
|
-
};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type DeleteConfigurableLogDrainRequest = {
|
|
11
|
-
id: string;
|
|
12
|
-
/**
|
|
13
|
-
* The Team identifier to perform the request on behalf of.
|
|
14
|
-
*/
|
|
15
|
-
teamId?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* The Team slug to perform the request on behalf of.
|
|
18
|
-
*/
|
|
19
|
-
slug?: string | undefined;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const DeleteConfigurableLogDrainRequest$inboundSchema: z.ZodType<
|
|
24
|
-
DeleteConfigurableLogDrainRequest,
|
|
25
|
-
z.ZodTypeDef,
|
|
26
|
-
unknown
|
|
27
|
-
> = z.object({
|
|
28
|
-
id: z.string(),
|
|
29
|
-
teamId: z.string().optional(),
|
|
30
|
-
slug: z.string().optional(),
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export type DeleteConfigurableLogDrainRequest$Outbound = {
|
|
35
|
-
id: string;
|
|
36
|
-
teamId?: string | undefined;
|
|
37
|
-
slug?: string | undefined;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
/** @internal */
|
|
41
|
-
export const DeleteConfigurableLogDrainRequest$outboundSchema: z.ZodType<
|
|
42
|
-
DeleteConfigurableLogDrainRequest$Outbound,
|
|
43
|
-
z.ZodTypeDef,
|
|
44
|
-
DeleteConfigurableLogDrainRequest
|
|
45
|
-
> = z.object({
|
|
46
|
-
id: z.string(),
|
|
47
|
-
teamId: z.string().optional(),
|
|
48
|
-
slug: z.string().optional(),
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
-
*/
|
|
55
|
-
export namespace DeleteConfigurableLogDrainRequest$ {
|
|
56
|
-
/** @deprecated use `DeleteConfigurableLogDrainRequest$inboundSchema` instead. */
|
|
57
|
-
export const inboundSchema = DeleteConfigurableLogDrainRequest$inboundSchema;
|
|
58
|
-
/** @deprecated use `DeleteConfigurableLogDrainRequest$outboundSchema` instead. */
|
|
59
|
-
export const outboundSchema =
|
|
60
|
-
DeleteConfigurableLogDrainRequest$outboundSchema;
|
|
61
|
-
/** @deprecated use `DeleteConfigurableLogDrainRequest$Outbound` instead. */
|
|
62
|
-
export type Outbound = DeleteConfigurableLogDrainRequest$Outbound;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function deleteConfigurableLogDrainRequestToJSON(
|
|
66
|
-
deleteConfigurableLogDrainRequest: DeleteConfigurableLogDrainRequest,
|
|
67
|
-
): string {
|
|
68
|
-
return JSON.stringify(
|
|
69
|
-
DeleteConfigurableLogDrainRequest$outboundSchema.parse(
|
|
70
|
-
deleteConfigurableLogDrainRequest,
|
|
71
|
-
),
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function deleteConfigurableLogDrainRequestFromJSON(
|
|
76
|
-
jsonString: string,
|
|
77
|
-
): SafeParseResult<DeleteConfigurableLogDrainRequest, SDKValidationError> {
|
|
78
|
-
return safeParse(
|
|
79
|
-
jsonString,
|
|
80
|
-
(x) => DeleteConfigurableLogDrainRequest$inboundSchema.parse(JSON.parse(x)),
|
|
81
|
-
`Failed to parse 'DeleteConfigurableLogDrainRequest' from JSON`,
|
|
82
|
-
);
|
|
83
|
-
}
|