@vercel/sdk 1.10.6 → 1.10.8
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 +58 -45
- package/bin/mcp-server.js +6081 -1764
- package/bin/mcp-server.js.map +51 -42
- package/docs/sdks/integrations/README.md +209 -0
- package/docs/sdks/projects/README.md +2 -0
- package/docs/sdks/teams/README.md +12 -0
- package/docs/sdks/vercel/README.md +74 -0
- package/esm/__tests__/accessgroups.test.js +3 -1
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +12 -4
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +62 -0
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -6
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +28 -1
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.js +2 -2
- package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +14 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +1 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +84 -0
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +1 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.d.ts +20 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.d.ts.map +1 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.js +97 -0
- package/esm/funcs/integrationsConnectIntegrationResourceToProject.js.map +1 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.d.ts +21 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.d.ts.map +1 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.js +90 -0
- package/esm/funcs/integrationsCreateIntegrationStoreDirect.js.map +1 -0
- package/esm/funcs/marketplaceExchangeSsoToken.js +2 -2
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/funcs/marketplaceSubmitInvoice.js +2 -2
- package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInvoice.js +2 -2
- package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +1 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +7 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +7 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +1 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +26 -0
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +1 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.js +27 -0
- package/esm/mcp-server/tools/integrationsConnectIntegrationResourceToProject.js.map +1 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.js +28 -0
- package/esm/mcp-server/tools/integrationsCreateIntegrationStoreDirect.js.map +1 -0
- package/esm/models/acceptprojecttransferrequestop.d.ts +37 -0
- package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
- package/esm/models/acceptprojecttransferrequestop.js +40 -1
- package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
- package/esm/models/authuser.d.ts +3 -3
- package/esm/models/authuser.js +1 -1
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +80 -42
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +44 -15
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/connectintegrationresourcetoprojectop.d.ts +68 -0
- package/esm/models/connectintegrationresourcetoprojectop.d.ts.map +1 -0
- package/esm/models/connectintegrationresourcetoprojectop.js +73 -0
- package/esm/models/connectintegrationresourcetoprojectop.js.map +1 -0
- package/esm/models/createdeploymentop.d.ts +292 -254
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +244 -217
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +5995 -0
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -0
- package/esm/models/createintegrationstoredirectop.js +6597 -0
- package/esm/models/createintegrationstoredirectop.js.map +1 -0
- package/esm/models/createortransferdomainop.d.ts +33 -0
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js +23 -0
- package/esm/models/createortransferdomainop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +183 -162
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +154 -154
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +12 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +6 -0
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +2 -0
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +533 -533
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +666 -665
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +6 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +2 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +45 -7
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +30 -2
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomainop.d.ts +33 -0
- package/esm/models/getdomainop.d.ts.map +1 -1
- package/esm/models/getdomainop.js +24 -0
- package/esm/models/getdomainop.js.map +1 -1
- package/esm/models/getdomainsop.d.ts +33 -0
- package/esm/models/getdomainsop.d.ts.map +1 -1
- package/esm/models/getdomainsop.js +23 -0
- package/esm/models/getdomainsop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +13 -13
- package/esm/models/getintegrationresourceop.d.ts.map +1 -1
- package/esm/models/getintegrationresourceop.js +13 -13
- package/esm/models/getintegrationresourceop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +57 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +24 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteammembersop.d.ts +102 -9
- package/esm/models/getteammembersop.d.ts.map +1 -1
- package/esm/models/getteammembersop.js +60 -3
- package/esm/models/getteammembersop.js.map +1 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +247 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +1 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +246 -0
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +1 -0
- package/esm/models/getwebhookop.d.ts +6 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +27 -15
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +19 -15
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/inviteusertoteamop.d.ts +3 -0
- package/esm/models/inviteusertoteamop.d.ts.map +1 -1
- package/esm/models/inviteusertoteamop.js +1 -0
- package/esm/models/inviteusertoteamop.js.map +1 -1
- package/esm/models/patchteamop.d.ts +253 -0
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +150 -0
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/team.d.ts +47 -0
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +36 -0
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +3 -0
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +1 -0
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +32 -32
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +49 -49
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateinvoiceop.d.ts +36 -15
- package/esm/models/updateinvoiceop.d.ts.map +1 -1
- package/esm/models/updateinvoiceop.js +37 -16
- package/esm/models/updateinvoiceop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +21 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +21 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +406 -305
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +467 -365
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/integrations.d.ts +16 -0
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +20 -0
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -1
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +5 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +3 -1
- package/src/__tests__/domains.test.ts +12 -4
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +65 -0
- package/src/__tests__/rollingrelease.test.ts +2 -6
- package/src/__tests__/security.test.ts +1 -11
- package/src/__tests__/vercel.test.ts +36 -1
- package/src/funcs/domainsCheckDomainPrice.ts +2 -2
- package/src/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +207 -0
- package/src/funcs/integrationsConnectIntegrationResourceToProject.ts +213 -0
- package/src/funcs/integrationsCreateIntegrationStoreDirect.ts +207 -0
- package/src/funcs/marketplaceExchangeSsoToken.ts +2 -2
- package/src/funcs/marketplaceSubmitInvoice.ts +2 -2
- package/src/funcs/marketplaceUpdateInvoice.ts +2 -2
- package/src/funcs/projectsGetProjects.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +41 -0
- package/src/mcp-server/tools/integrationsConnectIntegrationResourceToProject.ts +37 -0
- package/src/mcp-server/tools/integrationsCreateIntegrationStoreDirect.ts +39 -0
- package/src/models/acceptprojecttransferrequestop.ts +88 -1
- package/src/models/authuser.ts +1 -1
- package/src/models/canceldeploymentop.ts +71 -24
- package/src/models/connectintegrationresourcetoprojectop.ts +185 -0
- package/src/models/createdeploymentop.ts +545 -503
- package/src/models/createintegrationstoredirectop.ts +15739 -0
- package/src/models/createortransferdomainop.ts +41 -0
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +364 -343
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getconfigurationop.ts +2 -0
- package/src/models/getconfigurationproductsop.ts +1326 -1163
- package/src/models/getconfigurationsop.ts +2 -0
- package/src/models/getdeploymentop.ts +59 -9
- package/src/models/getdomainop.ts +37 -0
- package/src/models/getdomainsop.ts +39 -0
- package/src/models/getintegrationresourceop.ts +26 -20
- package/src/models/getprojectsop.ts +63 -0
- package/src/models/getteammembersop.ts +84 -3
- package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +575 -0
- package/src/models/getwebhookop.ts +2 -0
- package/src/models/getwebhooksop.ts +31 -25
- package/src/models/inviteusertoteamop.ts +1 -0
- package/src/models/patchteamop.ts +254 -0
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/team.ts +92 -0
- package/src/models/teamlimited.ts +1 -0
- package/src/models/updatefirewallconfigop.ts +74 -68
- package/src/models/updateinvoiceop.ts +78 -27
- package/src/models/updateprojectdatacacheop.ts +21 -0
- package/src/models/updateprojectop.ts +21 -0
- package/src/models/userevent.ts +918 -682
- package/src/sdk/integrations.ts +41 -0
- package/src/sdk/sdk.ts +23 -1
- package/vercel-spec.json +4270 -1150
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
4
|
+
export type ConnectIntegrationResourceToProjectRequestBody = {
|
|
5
|
+
projectId: string;
|
|
6
|
+
};
|
|
7
|
+
export type ConnectIntegrationResourceToProjectRequest = {
|
|
8
|
+
integrationConfigurationId: string;
|
|
9
|
+
resourceId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The Team identifier to perform the request on behalf of.
|
|
12
|
+
*/
|
|
13
|
+
teamId?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* The Team slug to perform the request on behalf of.
|
|
16
|
+
*/
|
|
17
|
+
slug?: string | undefined;
|
|
18
|
+
requestBody?: ConnectIntegrationResourceToProjectRequestBody | undefined;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const ConnectIntegrationResourceToProjectRequestBody$inboundSchema: z.ZodType<ConnectIntegrationResourceToProjectRequestBody, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type ConnectIntegrationResourceToProjectRequestBody$Outbound = {
|
|
24
|
+
projectId: string;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const ConnectIntegrationResourceToProjectRequestBody$outboundSchema: z.ZodType<ConnectIntegrationResourceToProjectRequestBody$Outbound, z.ZodTypeDef, ConnectIntegrationResourceToProjectRequestBody>;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
+
*/
|
|
32
|
+
export declare namespace ConnectIntegrationResourceToProjectRequestBody$ {
|
|
33
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequestBody$inboundSchema` instead. */
|
|
34
|
+
const inboundSchema: z.ZodType<ConnectIntegrationResourceToProjectRequestBody, z.ZodTypeDef, unknown>;
|
|
35
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequestBody$outboundSchema` instead. */
|
|
36
|
+
const outboundSchema: z.ZodType<ConnectIntegrationResourceToProjectRequestBody$Outbound, z.ZodTypeDef, ConnectIntegrationResourceToProjectRequestBody>;
|
|
37
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequestBody$Outbound` instead. */
|
|
38
|
+
type Outbound = ConnectIntegrationResourceToProjectRequestBody$Outbound;
|
|
39
|
+
}
|
|
40
|
+
export declare function connectIntegrationResourceToProjectRequestBodyToJSON(connectIntegrationResourceToProjectRequestBody: ConnectIntegrationResourceToProjectRequestBody): string;
|
|
41
|
+
export declare function connectIntegrationResourceToProjectRequestBodyFromJSON(jsonString: string): SafeParseResult<ConnectIntegrationResourceToProjectRequestBody, SDKValidationError>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export declare const ConnectIntegrationResourceToProjectRequest$inboundSchema: z.ZodType<ConnectIntegrationResourceToProjectRequest, z.ZodTypeDef, unknown>;
|
|
44
|
+
/** @internal */
|
|
45
|
+
export type ConnectIntegrationResourceToProjectRequest$Outbound = {
|
|
46
|
+
integrationConfigurationId: string;
|
|
47
|
+
resourceId: string;
|
|
48
|
+
teamId?: string | undefined;
|
|
49
|
+
slug?: string | undefined;
|
|
50
|
+
RequestBody?: ConnectIntegrationResourceToProjectRequestBody$Outbound | undefined;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const ConnectIntegrationResourceToProjectRequest$outboundSchema: z.ZodType<ConnectIntegrationResourceToProjectRequest$Outbound, z.ZodTypeDef, ConnectIntegrationResourceToProjectRequest>;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
export declare namespace ConnectIntegrationResourceToProjectRequest$ {
|
|
59
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequest$inboundSchema` instead. */
|
|
60
|
+
const inboundSchema: z.ZodType<ConnectIntegrationResourceToProjectRequest, z.ZodTypeDef, unknown>;
|
|
61
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequest$outboundSchema` instead. */
|
|
62
|
+
const outboundSchema: z.ZodType<ConnectIntegrationResourceToProjectRequest$Outbound, z.ZodTypeDef, ConnectIntegrationResourceToProjectRequest>;
|
|
63
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequest$Outbound` instead. */
|
|
64
|
+
type Outbound = ConnectIntegrationResourceToProjectRequest$Outbound;
|
|
65
|
+
}
|
|
66
|
+
export declare function connectIntegrationResourceToProjectRequestToJSON(connectIntegrationResourceToProjectRequest: ConnectIntegrationResourceToProjectRequest): string;
|
|
67
|
+
export declare function connectIntegrationResourceToProjectRequestFromJSON(jsonString: string): SafeParseResult<ConnectIntegrationResourceToProjectRequest, SDKValidationError>;
|
|
68
|
+
//# sourceMappingURL=connectintegrationresourcetoprojectop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectintegrationresourcetoprojectop.d.ts","sourceRoot":"","sources":["../../src/models/connectintegrationresourcetoprojectop.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,8CAA8C,GAAG;IAC3D,SAAS,E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nC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,CAAC,EACR,uDAAuD,GACvD,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,mDAAmD,EACnD,CAAC,CAAC,UAAU,EACZ,0CAA0C,CAa1C,CAAC;AAEL;;;GAGG;AACH,yBAAiB,2CAA2C,CAAC;IAC3D,0FAA0F;IACnF,MAAM,aAAa,8EACgC,CAAC;IAC3D,2FAA2F;IACpF,MAAM,cAAc,0HACgC,CAAC;IAC5D,qFAAqF;IACrF,KAAY,QAAQ,GAAG,mDAAmD,CAAC;CAC5E;AAED,wBAAgB,gDAAgD,CAC9D,0CAA0C,EACxC,0CAA0C,GAC3C,MAAM,CAMR;AAED,wBAAgB,kDAAkD,CAChE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,0CAA0C,EAC1C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const ConnectIntegrationResourceToProjectRequestBody$inboundSchema = z.object({
|
|
9
|
+
projectId: z.string(),
|
|
10
|
+
});
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const ConnectIntegrationResourceToProjectRequestBody$outboundSchema = z.object({
|
|
13
|
+
projectId: z.string(),
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
18
|
+
*/
|
|
19
|
+
export var ConnectIntegrationResourceToProjectRequestBody$;
|
|
20
|
+
(function (ConnectIntegrationResourceToProjectRequestBody$) {
|
|
21
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequestBody$inboundSchema` instead. */
|
|
22
|
+
ConnectIntegrationResourceToProjectRequestBody$.inboundSchema = ConnectIntegrationResourceToProjectRequestBody$inboundSchema;
|
|
23
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequestBody$outboundSchema` instead. */
|
|
24
|
+
ConnectIntegrationResourceToProjectRequestBody$.outboundSchema = ConnectIntegrationResourceToProjectRequestBody$outboundSchema;
|
|
25
|
+
})(ConnectIntegrationResourceToProjectRequestBody$ || (ConnectIntegrationResourceToProjectRequestBody$ = {}));
|
|
26
|
+
export function connectIntegrationResourceToProjectRequestBodyToJSON(connectIntegrationResourceToProjectRequestBody) {
|
|
27
|
+
return JSON.stringify(ConnectIntegrationResourceToProjectRequestBody$outboundSchema.parse(connectIntegrationResourceToProjectRequestBody));
|
|
28
|
+
}
|
|
29
|
+
export function connectIntegrationResourceToProjectRequestBodyFromJSON(jsonString) {
|
|
30
|
+
return safeParse(jsonString, (x) => ConnectIntegrationResourceToProjectRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectIntegrationResourceToProjectRequestBody' from JSON`);
|
|
31
|
+
}
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const ConnectIntegrationResourceToProjectRequest$inboundSchema = z.object({
|
|
34
|
+
integrationConfigurationId: z.string(),
|
|
35
|
+
resourceId: z.string(),
|
|
36
|
+
teamId: z.string().optional(),
|
|
37
|
+
slug: z.string().optional(),
|
|
38
|
+
RequestBody: z.lazy(() => ConnectIntegrationResourceToProjectRequestBody$inboundSchema).optional(),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
"RequestBody": "requestBody",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const ConnectIntegrationResourceToProjectRequest$outboundSchema = z.object({
|
|
46
|
+
integrationConfigurationId: z.string(),
|
|
47
|
+
resourceId: z.string(),
|
|
48
|
+
teamId: z.string().optional(),
|
|
49
|
+
slug: z.string().optional(),
|
|
50
|
+
requestBody: z.lazy(() => ConnectIntegrationResourceToProjectRequestBody$outboundSchema).optional(),
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
requestBody: "RequestBody",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
+
*/
|
|
60
|
+
export var ConnectIntegrationResourceToProjectRequest$;
|
|
61
|
+
(function (ConnectIntegrationResourceToProjectRequest$) {
|
|
62
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequest$inboundSchema` instead. */
|
|
63
|
+
ConnectIntegrationResourceToProjectRequest$.inboundSchema = ConnectIntegrationResourceToProjectRequest$inboundSchema;
|
|
64
|
+
/** @deprecated use `ConnectIntegrationResourceToProjectRequest$outboundSchema` instead. */
|
|
65
|
+
ConnectIntegrationResourceToProjectRequest$.outboundSchema = ConnectIntegrationResourceToProjectRequest$outboundSchema;
|
|
66
|
+
})(ConnectIntegrationResourceToProjectRequest$ || (ConnectIntegrationResourceToProjectRequest$ = {}));
|
|
67
|
+
export function connectIntegrationResourceToProjectRequestToJSON(connectIntegrationResourceToProjectRequest) {
|
|
68
|
+
return JSON.stringify(ConnectIntegrationResourceToProjectRequest$outboundSchema.parse(connectIntegrationResourceToProjectRequest));
|
|
69
|
+
}
|
|
70
|
+
export function connectIntegrationResourceToProjectRequestFromJSON(jsonString) {
|
|
71
|
+
return safeParse(jsonString, (x) => ConnectIntegrationResourceToProjectRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectIntegrationResourceToProjectRequest' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=connectintegrationresourcetoprojectop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectintegrationresourcetoprojectop.js","sourceRoot":"","sources":["../../src/models/connectintegrationresourcetoprojectop.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAsB9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,4DAA4D,GAKnE,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAOL,gBAAgB;AAChB,MAAM,CAAC,MAAM,6DAA6D,GAKpE,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEL;;;GAGG;AACH,MAAM,KAAW,+CAA+C,CAU/D;AAVD,WAAiB,+CAA+C;IAC9D,8FAA8F;IACjF,6DAAa,GACxB,4DAA4D,CAAC;IAC/D,+FAA+F;IAClF,8DAAc,GACzB,6DAA6D,CAAC;AAIlE,CAAC,EAVgB,+CAA+C,KAA/C,+CAA+C,QAU/D;AAED,MAAM,UAAU,oDAAoD,CAClE,8CACgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,6DAA6D,CAAC,KAAK,CACjE,8CAA8C,CAC/C,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sDAAsD,CACpE,UAAkB;IAKlB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,4DAA4D,CAAC,KAAK,CAChE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,4EAA4E,CAC7E,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,wDAAwD,GAEjE,CAAC,CAAC,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