@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
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
5
|
+
export type GetIntegrationResourcesRequest = {
|
|
6
|
+
integrationConfigurationId: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* The current status of the resource
|
|
10
|
+
*/
|
|
11
|
+
export declare const GetIntegrationResourcesStatus: {
|
|
12
|
+
readonly Ready: "ready";
|
|
13
|
+
readonly Pending: "pending";
|
|
14
|
+
readonly Suspended: "suspended";
|
|
15
|
+
readonly Resumed: "resumed";
|
|
16
|
+
readonly Uninstalled: "uninstalled";
|
|
17
|
+
readonly Error: "error";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The current status of the resource
|
|
21
|
+
*/
|
|
22
|
+
export type GetIntegrationResourcesStatus = ClosedEnum<typeof GetIntegrationResourcesStatus>;
|
|
23
|
+
export type GetIntegrationResourcesExperimentation = {
|
|
24
|
+
edgeConfigSyncingEnabled?: boolean | undefined;
|
|
25
|
+
edgeConfigId?: string | undefined;
|
|
26
|
+
edgeConfigTokenId?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Any settings provided for the resource to support its product's protocols
|
|
30
|
+
*/
|
|
31
|
+
export type GetIntegrationResourcesProtocolSettings = {
|
|
32
|
+
experimentation?: GetIntegrationResourcesExperimentation | undefined;
|
|
33
|
+
};
|
|
34
|
+
export declare const GetIntegrationResourcesLevel: {
|
|
35
|
+
readonly Error: "error";
|
|
36
|
+
readonly Info: "info";
|
|
37
|
+
readonly Warn: "warn";
|
|
38
|
+
};
|
|
39
|
+
export type GetIntegrationResourcesLevel = ClosedEnum<typeof GetIntegrationResourcesLevel>;
|
|
40
|
+
/**
|
|
41
|
+
* The notification, if set, displayed to the user when viewing the resource in Vercel
|
|
42
|
+
*/
|
|
43
|
+
export type GetIntegrationResourcesNotification = {
|
|
44
|
+
level: GetIntegrationResourcesLevel;
|
|
45
|
+
title: string;
|
|
46
|
+
message?: string | undefined;
|
|
47
|
+
href?: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
export type GetIntegrationResourcesMetadata = string | number | boolean | Array<string> | Array<number>;
|
|
50
|
+
export type Resources = {
|
|
51
|
+
/**
|
|
52
|
+
* The ID provided by the partner for the given resource
|
|
53
|
+
*/
|
|
54
|
+
partnerId: string;
|
|
55
|
+
/**
|
|
56
|
+
* The ID assigned by Vercel for the given resource
|
|
57
|
+
*/
|
|
58
|
+
internalId: string;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the resource as it is recorded in Vercel
|
|
61
|
+
*/
|
|
62
|
+
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* The current status of the resource
|
|
65
|
+
*/
|
|
66
|
+
status?: GetIntegrationResourcesStatus | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* The ID of the product the resource is derived from
|
|
69
|
+
*/
|
|
70
|
+
productId: string;
|
|
71
|
+
/**
|
|
72
|
+
* Any settings provided for the resource to support its product's protocols
|
|
73
|
+
*/
|
|
74
|
+
protocolSettings?: GetIntegrationResourcesProtocolSettings | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* The notification, if set, displayed to the user when viewing the resource in Vercel
|
|
77
|
+
*/
|
|
78
|
+
notification?: GetIntegrationResourcesNotification | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* The ID of the billing plan the resource is subscribed to, if applicable
|
|
81
|
+
*/
|
|
82
|
+
billingPlanId?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* The configured metadata for the resource as defined by its product's Metadata Schema
|
|
85
|
+
*/
|
|
86
|
+
metadata?: {
|
|
87
|
+
[k: string]: string | number | boolean | Array<string> | Array<number>;
|
|
88
|
+
} | undefined;
|
|
89
|
+
};
|
|
90
|
+
export type GetIntegrationResourcesResponseBody = {
|
|
91
|
+
resources: Array<Resources>;
|
|
92
|
+
};
|
|
93
|
+
/** @internal */
|
|
94
|
+
export declare const GetIntegrationResourcesRequest$inboundSchema: z.ZodType<GetIntegrationResourcesRequest, z.ZodTypeDef, unknown>;
|
|
95
|
+
/** @internal */
|
|
96
|
+
export type GetIntegrationResourcesRequest$Outbound = {
|
|
97
|
+
integrationConfigurationId: string;
|
|
98
|
+
};
|
|
99
|
+
/** @internal */
|
|
100
|
+
export declare const GetIntegrationResourcesRequest$outboundSchema: z.ZodType<GetIntegrationResourcesRequest$Outbound, z.ZodTypeDef, GetIntegrationResourcesRequest>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
104
|
+
*/
|
|
105
|
+
export declare namespace GetIntegrationResourcesRequest$ {
|
|
106
|
+
/** @deprecated use `GetIntegrationResourcesRequest$inboundSchema` instead. */
|
|
107
|
+
const inboundSchema: z.ZodType<GetIntegrationResourcesRequest, z.ZodTypeDef, unknown>;
|
|
108
|
+
/** @deprecated use `GetIntegrationResourcesRequest$outboundSchema` instead. */
|
|
109
|
+
const outboundSchema: z.ZodType<GetIntegrationResourcesRequest$Outbound, z.ZodTypeDef, GetIntegrationResourcesRequest>;
|
|
110
|
+
/** @deprecated use `GetIntegrationResourcesRequest$Outbound` instead. */
|
|
111
|
+
type Outbound = GetIntegrationResourcesRequest$Outbound;
|
|
112
|
+
}
|
|
113
|
+
export declare function getIntegrationResourcesRequestToJSON(getIntegrationResourcesRequest: GetIntegrationResourcesRequest): string;
|
|
114
|
+
export declare function getIntegrationResourcesRequestFromJSON(jsonString: string): SafeParseResult<GetIntegrationResourcesRequest, SDKValidationError>;
|
|
115
|
+
/** @internal */
|
|
116
|
+
export declare const GetIntegrationResourcesStatus$inboundSchema: z.ZodNativeEnum<typeof GetIntegrationResourcesStatus>;
|
|
117
|
+
/** @internal */
|
|
118
|
+
export declare const GetIntegrationResourcesStatus$outboundSchema: z.ZodNativeEnum<typeof GetIntegrationResourcesStatus>;
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
122
|
+
*/
|
|
123
|
+
export declare namespace GetIntegrationResourcesStatus$ {
|
|
124
|
+
/** @deprecated use `GetIntegrationResourcesStatus$inboundSchema` instead. */
|
|
125
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
126
|
+
readonly Ready: "ready";
|
|
127
|
+
readonly Pending: "pending";
|
|
128
|
+
readonly Suspended: "suspended";
|
|
129
|
+
readonly Resumed: "resumed";
|
|
130
|
+
readonly Uninstalled: "uninstalled";
|
|
131
|
+
readonly Error: "error";
|
|
132
|
+
}>;
|
|
133
|
+
/** @deprecated use `GetIntegrationResourcesStatus$outboundSchema` instead. */
|
|
134
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
135
|
+
readonly Ready: "ready";
|
|
136
|
+
readonly Pending: "pending";
|
|
137
|
+
readonly Suspended: "suspended";
|
|
138
|
+
readonly Resumed: "resumed";
|
|
139
|
+
readonly Uninstalled: "uninstalled";
|
|
140
|
+
readonly Error: "error";
|
|
141
|
+
}>;
|
|
142
|
+
}
|
|
143
|
+
/** @internal */
|
|
144
|
+
export declare const GetIntegrationResourcesExperimentation$inboundSchema: z.ZodType<GetIntegrationResourcesExperimentation, z.ZodTypeDef, unknown>;
|
|
145
|
+
/** @internal */
|
|
146
|
+
export type GetIntegrationResourcesExperimentation$Outbound = {
|
|
147
|
+
edgeConfigSyncingEnabled?: boolean | undefined;
|
|
148
|
+
edgeConfigId?: string | undefined;
|
|
149
|
+
edgeConfigTokenId?: string | undefined;
|
|
150
|
+
};
|
|
151
|
+
/** @internal */
|
|
152
|
+
export declare const GetIntegrationResourcesExperimentation$outboundSchema: z.ZodType<GetIntegrationResourcesExperimentation$Outbound, z.ZodTypeDef, GetIntegrationResourcesExperimentation>;
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
156
|
+
*/
|
|
157
|
+
export declare namespace GetIntegrationResourcesExperimentation$ {
|
|
158
|
+
/** @deprecated use `GetIntegrationResourcesExperimentation$inboundSchema` instead. */
|
|
159
|
+
const inboundSchema: z.ZodType<GetIntegrationResourcesExperimentation, z.ZodTypeDef, unknown>;
|
|
160
|
+
/** @deprecated use `GetIntegrationResourcesExperimentation$outboundSchema` instead. */
|
|
161
|
+
const outboundSchema: z.ZodType<GetIntegrationResourcesExperimentation$Outbound, z.ZodTypeDef, GetIntegrationResourcesExperimentation>;
|
|
162
|
+
/** @deprecated use `GetIntegrationResourcesExperimentation$Outbound` instead. */
|
|
163
|
+
type Outbound = GetIntegrationResourcesExperimentation$Outbound;
|
|
164
|
+
}
|
|
165
|
+
export declare function getIntegrationResourcesExperimentationToJSON(getIntegrationResourcesExperimentation: GetIntegrationResourcesExperimentation): string;
|
|
166
|
+
export declare function getIntegrationResourcesExperimentationFromJSON(jsonString: string): SafeParseResult<GetIntegrationResourcesExperimentation, SDKValidationError>;
|
|
167
|
+
/** @internal */
|
|
168
|
+
export declare const GetIntegrationResourcesProtocolSettings$inboundSchema: z.ZodType<GetIntegrationResourcesProtocolSettings, z.ZodTypeDef, unknown>;
|
|
169
|
+
/** @internal */
|
|
170
|
+
export type GetIntegrationResourcesProtocolSettings$Outbound = {
|
|
171
|
+
experimentation?: GetIntegrationResourcesExperimentation$Outbound | undefined;
|
|
172
|
+
};
|
|
173
|
+
/** @internal */
|
|
174
|
+
export declare const GetIntegrationResourcesProtocolSettings$outboundSchema: z.ZodType<GetIntegrationResourcesProtocolSettings$Outbound, z.ZodTypeDef, GetIntegrationResourcesProtocolSettings>;
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
178
|
+
*/
|
|
179
|
+
export declare namespace GetIntegrationResourcesProtocolSettings$ {
|
|
180
|
+
/** @deprecated use `GetIntegrationResourcesProtocolSettings$inboundSchema` instead. */
|
|
181
|
+
const inboundSchema: z.ZodType<GetIntegrationResourcesProtocolSettings, z.ZodTypeDef, unknown>;
|
|
182
|
+
/** @deprecated use `GetIntegrationResourcesProtocolSettings$outboundSchema` instead. */
|
|
183
|
+
const outboundSchema: z.ZodType<GetIntegrationResourcesProtocolSettings$Outbound, z.ZodTypeDef, GetIntegrationResourcesProtocolSettings>;
|
|
184
|
+
/** @deprecated use `GetIntegrationResourcesProtocolSettings$Outbound` instead. */
|
|
185
|
+
type Outbound = GetIntegrationResourcesProtocolSettings$Outbound;
|
|
186
|
+
}
|
|
187
|
+
export declare function getIntegrationResourcesProtocolSettingsToJSON(getIntegrationResourcesProtocolSettings: GetIntegrationResourcesProtocolSettings): string;
|
|
188
|
+
export declare function getIntegrationResourcesProtocolSettingsFromJSON(jsonString: string): SafeParseResult<GetIntegrationResourcesProtocolSettings, SDKValidationError>;
|
|
189
|
+
/** @internal */
|
|
190
|
+
export declare const GetIntegrationResourcesLevel$inboundSchema: z.ZodNativeEnum<typeof GetIntegrationResourcesLevel>;
|
|
191
|
+
/** @internal */
|
|
192
|
+
export declare const GetIntegrationResourcesLevel$outboundSchema: z.ZodNativeEnum<typeof GetIntegrationResourcesLevel>;
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
196
|
+
*/
|
|
197
|
+
export declare namespace GetIntegrationResourcesLevel$ {
|
|
198
|
+
/** @deprecated use `GetIntegrationResourcesLevel$inboundSchema` instead. */
|
|
199
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
200
|
+
readonly Error: "error";
|
|
201
|
+
readonly Info: "info";
|
|
202
|
+
readonly Warn: "warn";
|
|
203
|
+
}>;
|
|
204
|
+
/** @deprecated use `GetIntegrationResourcesLevel$outboundSchema` instead. */
|
|
205
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
206
|
+
readonly Error: "error";
|
|
207
|
+
readonly Info: "info";
|
|
208
|
+
readonly Warn: "warn";
|
|
209
|
+
}>;
|
|
210
|
+
}
|
|
211
|
+
/** @internal */
|
|
212
|
+
export declare const GetIntegrationResourcesNotification$inboundSchema: z.ZodType<GetIntegrationResourcesNotification, z.ZodTypeDef, unknown>;
|
|
213
|
+
/** @internal */
|
|
214
|
+
export type GetIntegrationResourcesNotification$Outbound = {
|
|
215
|
+
level: string;
|
|
216
|
+
title: string;
|
|
217
|
+
message?: string | undefined;
|
|
218
|
+
href?: string | undefined;
|
|
219
|
+
};
|
|
220
|
+
/** @internal */
|
|
221
|
+
export declare const GetIntegrationResourcesNotification$outboundSchema: z.ZodType<GetIntegrationResourcesNotification$Outbound, z.ZodTypeDef, GetIntegrationResourcesNotification>;
|
|
222
|
+
/**
|
|
223
|
+
* @internal
|
|
224
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
225
|
+
*/
|
|
226
|
+
export declare namespace GetIntegrationResourcesNotification$ {
|
|
227
|
+
/** @deprecated use `GetIntegrationResourcesNotification$inboundSchema` instead. */
|
|
228
|
+
const inboundSchema: z.ZodType<GetIntegrationResourcesNotification, z.ZodTypeDef, unknown>;
|
|
229
|
+
/** @deprecated use `GetIntegrationResourcesNotification$outboundSchema` instead. */
|
|
230
|
+
const outboundSchema: z.ZodType<GetIntegrationResourcesNotification$Outbound, z.ZodTypeDef, GetIntegrationResourcesNotification>;
|
|
231
|
+
/** @deprecated use `GetIntegrationResourcesNotification$Outbound` instead. */
|
|
232
|
+
type Outbound = GetIntegrationResourcesNotification$Outbound;
|
|
233
|
+
}
|
|
234
|
+
export declare function getIntegrationResourcesNotificationToJSON(getIntegrationResourcesNotification: GetIntegrationResourcesNotification): string;
|
|
235
|
+
export declare function getIntegrationResourcesNotificationFromJSON(jsonString: string): SafeParseResult<GetIntegrationResourcesNotification, SDKValidationError>;
|
|
236
|
+
/** @internal */
|
|
237
|
+
export declare const GetIntegrationResourcesMetadata$inboundSchema: z.ZodType<GetIntegrationResourcesMetadata, z.ZodTypeDef, unknown>;
|
|
238
|
+
/** @internal */
|
|
239
|
+
export type GetIntegrationResourcesMetadata$Outbound = string | number | boolean | Array<string> | Array<number>;
|
|
240
|
+
/** @internal */
|
|
241
|
+
export declare const GetIntegrationResourcesMetadata$outboundSchema: z.ZodType<GetIntegrationResourcesMetadata$Outbound, z.ZodTypeDef, GetIntegrationResourcesMetadata>;
|
|
242
|
+
/**
|
|
243
|
+
* @internal
|
|
244
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
245
|
+
*/
|
|
246
|
+
export declare namespace GetIntegrationResourcesMetadata$ {
|
|
247
|
+
/** @deprecated use `GetIntegrationResourcesMetadata$inboundSchema` instead. */
|
|
248
|
+
const inboundSchema: z.ZodType<GetIntegrationResourcesMetadata, z.ZodTypeDef, unknown>;
|
|
249
|
+
/** @deprecated use `GetIntegrationResourcesMetadata$outboundSchema` instead. */
|
|
250
|
+
const outboundSchema: z.ZodType<GetIntegrationResourcesMetadata$Outbound, z.ZodTypeDef, GetIntegrationResourcesMetadata>;
|
|
251
|
+
/** @deprecated use `GetIntegrationResourcesMetadata$Outbound` instead. */
|
|
252
|
+
type Outbound = GetIntegrationResourcesMetadata$Outbound;
|
|
253
|
+
}
|
|
254
|
+
export declare function getIntegrationResourcesMetadataToJSON(getIntegrationResourcesMetadata: GetIntegrationResourcesMetadata): string;
|
|
255
|
+
export declare function getIntegrationResourcesMetadataFromJSON(jsonString: string): SafeParseResult<GetIntegrationResourcesMetadata, SDKValidationError>;
|
|
256
|
+
/** @internal */
|
|
257
|
+
export declare const Resources$inboundSchema: z.ZodType<Resources, z.ZodTypeDef, unknown>;
|
|
258
|
+
/** @internal */
|
|
259
|
+
export type Resources$Outbound = {
|
|
260
|
+
partnerId: string;
|
|
261
|
+
internalId: string;
|
|
262
|
+
name: string;
|
|
263
|
+
status?: string | undefined;
|
|
264
|
+
productId: string;
|
|
265
|
+
protocolSettings?: GetIntegrationResourcesProtocolSettings$Outbound | undefined;
|
|
266
|
+
notification?: GetIntegrationResourcesNotification$Outbound | undefined;
|
|
267
|
+
billingPlanId?: string | undefined;
|
|
268
|
+
metadata?: {
|
|
269
|
+
[k: string]: string | number | boolean | Array<string> | Array<number>;
|
|
270
|
+
} | undefined;
|
|
271
|
+
};
|
|
272
|
+
/** @internal */
|
|
273
|
+
export declare const Resources$outboundSchema: z.ZodType<Resources$Outbound, z.ZodTypeDef, Resources>;
|
|
274
|
+
/**
|
|
275
|
+
* @internal
|
|
276
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
277
|
+
*/
|
|
278
|
+
export declare namespace Resources$ {
|
|
279
|
+
/** @deprecated use `Resources$inboundSchema` instead. */
|
|
280
|
+
const inboundSchema: z.ZodType<Resources, z.ZodTypeDef, unknown>;
|
|
281
|
+
/** @deprecated use `Resources$outboundSchema` instead. */
|
|
282
|
+
const outboundSchema: z.ZodType<Resources$Outbound, z.ZodTypeDef, Resources>;
|
|
283
|
+
/** @deprecated use `Resources$Outbound` instead. */
|
|
284
|
+
type Outbound = Resources$Outbound;
|
|
285
|
+
}
|
|
286
|
+
export declare function resourcesToJSON(resources: Resources): string;
|
|
287
|
+
export declare function resourcesFromJSON(jsonString: string): SafeParseResult<Resources, SDKValidationError>;
|
|
288
|
+
/** @internal */
|
|
289
|
+
export declare const GetIntegrationResourcesResponseBody$inboundSchema: z.ZodType<GetIntegrationResourcesResponseBody, z.ZodTypeDef, unknown>;
|
|
290
|
+
/** @internal */
|
|
291
|
+
export type GetIntegrationResourcesResponseBody$Outbound = {
|
|
292
|
+
resources: Array<Resources$Outbound>;
|
|
293
|
+
};
|
|
294
|
+
/** @internal */
|
|
295
|
+
export declare const GetIntegrationResourcesResponseBody$outboundSchema: z.ZodType<GetIntegrationResourcesResponseBody$Outbound, z.ZodTypeDef, GetIntegrationResourcesResponseBody>;
|
|
296
|
+
/**
|
|
297
|
+
* @internal
|
|
298
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
299
|
+
*/
|
|
300
|
+
export declare namespace GetIntegrationResourcesResponseBody$ {
|
|
301
|
+
/** @deprecated use `GetIntegrationResourcesResponseBody$inboundSchema` instead. */
|
|
302
|
+
const inboundSchema: z.ZodType<GetIntegrationResourcesResponseBody, z.ZodTypeDef, unknown>;
|
|
303
|
+
/** @deprecated use `GetIntegrationResourcesResponseBody$outboundSchema` instead. */
|
|
304
|
+
const outboundSchema: z.ZodType<GetIntegrationResourcesResponseBody$Outbound, z.ZodTypeDef, GetIntegrationResourcesResponseBody>;
|
|
305
|
+
/** @deprecated use `GetIntegrationResourcesResponseBody$Outbound` instead. */
|
|
306
|
+
type Outbound = GetIntegrationResourcesResponseBody$Outbound;
|
|
307
|
+
}
|
|
308
|
+
export declare function getIntegrationResourcesResponseBodyToJSON(getIntegrationResourcesResponseBody: GetIntegrationResourcesResponseBody): string;
|
|
309
|
+
export declare function getIntegrationResourcesResponseBodyFromJSON(jsonString: string): SafeParseResult<GetIntegrationResourcesResponseBody, SDKValidationError>;
|
|
310
|
+
//# sourceMappingURL=getintegrationresourcesop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getintegrationresourcesop.d.ts","sourceRoot":"","sources":["../../src/models/getintegrationresourcesop.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,8BAA8B,GAAG;IAC3C,0BAA0B,EAAE,MAAM,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;CAOhC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG;IACnD,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,YAAY,CAAC,EAAE,MAAM,GAAG,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AgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAGnC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oCAAoC,CAAC;IACpD,mFAAmF;IAC5E,MAAM,aAAa,uEACyB,CAAC;IACpD,oFAAoF;IAC7E,MAAM,cAAc,4GACyB,CAAC;IACrD,8EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE;AAED,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
|
|
@@ -0,0 +1,275 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* The current status of the resource
|
|
8
|
+
*/
|
|
9
|
+
export const GetIntegrationResourcesStatus = {
|
|
10
|
+
Ready: "ready",
|
|
11
|
+
Pending: "pending",
|
|
12
|
+
Suspended: "suspended",
|
|
13
|
+
Resumed: "resumed",
|
|
14
|
+
Uninstalled: "uninstalled",
|
|
15
|
+
Error: "error",
|
|
16
|
+
};
|
|
17
|
+
export const GetIntegrationResourcesLevel = {
|
|
18
|
+
Error: "error",
|
|
19
|
+
Info: "info",
|
|
20
|
+
Warn: "warn",
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const GetIntegrationResourcesRequest$inboundSchema = z.object({
|
|
24
|
+
integrationConfigurationId: z.string(),
|
|
25
|
+
});
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const GetIntegrationResourcesRequest$outboundSchema = z.object({
|
|
28
|
+
integrationConfigurationId: z.string(),
|
|
29
|
+
});
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
+
*/
|
|
34
|
+
export var GetIntegrationResourcesRequest$;
|
|
35
|
+
(function (GetIntegrationResourcesRequest$) {
|
|
36
|
+
/** @deprecated use `GetIntegrationResourcesRequest$inboundSchema` instead. */
|
|
37
|
+
GetIntegrationResourcesRequest$.inboundSchema = GetIntegrationResourcesRequest$inboundSchema;
|
|
38
|
+
/** @deprecated use `GetIntegrationResourcesRequest$outboundSchema` instead. */
|
|
39
|
+
GetIntegrationResourcesRequest$.outboundSchema = GetIntegrationResourcesRequest$outboundSchema;
|
|
40
|
+
})(GetIntegrationResourcesRequest$ || (GetIntegrationResourcesRequest$ = {}));
|
|
41
|
+
export function getIntegrationResourcesRequestToJSON(getIntegrationResourcesRequest) {
|
|
42
|
+
return JSON.stringify(GetIntegrationResourcesRequest$outboundSchema.parse(getIntegrationResourcesRequest));
|
|
43
|
+
}
|
|
44
|
+
export function getIntegrationResourcesRequestFromJSON(jsonString) {
|
|
45
|
+
return safeParse(jsonString, (x) => GetIntegrationResourcesRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetIntegrationResourcesRequest' from JSON`);
|
|
46
|
+
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const GetIntegrationResourcesStatus$inboundSchema = z.nativeEnum(GetIntegrationResourcesStatus);
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const GetIntegrationResourcesStatus$outboundSchema = GetIntegrationResourcesStatus$inboundSchema;
|
|
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 var GetIntegrationResourcesStatus$;
|
|
56
|
+
(function (GetIntegrationResourcesStatus$) {
|
|
57
|
+
/** @deprecated use `GetIntegrationResourcesStatus$inboundSchema` instead. */
|
|
58
|
+
GetIntegrationResourcesStatus$.inboundSchema = GetIntegrationResourcesStatus$inboundSchema;
|
|
59
|
+
/** @deprecated use `GetIntegrationResourcesStatus$outboundSchema` instead. */
|
|
60
|
+
GetIntegrationResourcesStatus$.outboundSchema = GetIntegrationResourcesStatus$outboundSchema;
|
|
61
|
+
})(GetIntegrationResourcesStatus$ || (GetIntegrationResourcesStatus$ = {}));
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const GetIntegrationResourcesExperimentation$inboundSchema = z.object({
|
|
64
|
+
edgeConfigSyncingEnabled: z.boolean().optional(),
|
|
65
|
+
edgeConfigId: z.string().optional(),
|
|
66
|
+
edgeConfigTokenId: z.string().optional(),
|
|
67
|
+
});
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const GetIntegrationResourcesExperimentation$outboundSchema = z.object({
|
|
70
|
+
edgeConfigSyncingEnabled: z.boolean().optional(),
|
|
71
|
+
edgeConfigId: z.string().optional(),
|
|
72
|
+
edgeConfigTokenId: z.string().optional(),
|
|
73
|
+
});
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
77
|
+
*/
|
|
78
|
+
export var GetIntegrationResourcesExperimentation$;
|
|
79
|
+
(function (GetIntegrationResourcesExperimentation$) {
|
|
80
|
+
/** @deprecated use `GetIntegrationResourcesExperimentation$inboundSchema` instead. */
|
|
81
|
+
GetIntegrationResourcesExperimentation$.inboundSchema = GetIntegrationResourcesExperimentation$inboundSchema;
|
|
82
|
+
/** @deprecated use `GetIntegrationResourcesExperimentation$outboundSchema` instead. */
|
|
83
|
+
GetIntegrationResourcesExperimentation$.outboundSchema = GetIntegrationResourcesExperimentation$outboundSchema;
|
|
84
|
+
})(GetIntegrationResourcesExperimentation$ || (GetIntegrationResourcesExperimentation$ = {}));
|
|
85
|
+
export function getIntegrationResourcesExperimentationToJSON(getIntegrationResourcesExperimentation) {
|
|
86
|
+
return JSON.stringify(GetIntegrationResourcesExperimentation$outboundSchema.parse(getIntegrationResourcesExperimentation));
|
|
87
|
+
}
|
|
88
|
+
export function getIntegrationResourcesExperimentationFromJSON(jsonString) {
|
|
89
|
+
return safeParse(jsonString, (x) => GetIntegrationResourcesExperimentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetIntegrationResourcesExperimentation' from JSON`);
|
|
90
|
+
}
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const GetIntegrationResourcesProtocolSettings$inboundSchema = z.object({
|
|
93
|
+
experimentation: z.lazy(() => GetIntegrationResourcesExperimentation$inboundSchema).optional(),
|
|
94
|
+
});
|
|
95
|
+
/** @internal */
|
|
96
|
+
export const GetIntegrationResourcesProtocolSettings$outboundSchema = z.object({
|
|
97
|
+
experimentation: z.lazy(() => GetIntegrationResourcesExperimentation$outboundSchema).optional(),
|
|
98
|
+
});
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
+
*/
|
|
103
|
+
export var GetIntegrationResourcesProtocolSettings$;
|
|
104
|
+
(function (GetIntegrationResourcesProtocolSettings$) {
|
|
105
|
+
/** @deprecated use `GetIntegrationResourcesProtocolSettings$inboundSchema` instead. */
|
|
106
|
+
GetIntegrationResourcesProtocolSettings$.inboundSchema = GetIntegrationResourcesProtocolSettings$inboundSchema;
|
|
107
|
+
/** @deprecated use `GetIntegrationResourcesProtocolSettings$outboundSchema` instead. */
|
|
108
|
+
GetIntegrationResourcesProtocolSettings$.outboundSchema = GetIntegrationResourcesProtocolSettings$outboundSchema;
|
|
109
|
+
})(GetIntegrationResourcesProtocolSettings$ || (GetIntegrationResourcesProtocolSettings$ = {}));
|
|
110
|
+
export function getIntegrationResourcesProtocolSettingsToJSON(getIntegrationResourcesProtocolSettings) {
|
|
111
|
+
return JSON.stringify(GetIntegrationResourcesProtocolSettings$outboundSchema.parse(getIntegrationResourcesProtocolSettings));
|
|
112
|
+
}
|
|
113
|
+
export function getIntegrationResourcesProtocolSettingsFromJSON(jsonString) {
|
|
114
|
+
return safeParse(jsonString, (x) => GetIntegrationResourcesProtocolSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetIntegrationResourcesProtocolSettings' from JSON`);
|
|
115
|
+
}
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const GetIntegrationResourcesLevel$inboundSchema = z.nativeEnum(GetIntegrationResourcesLevel);
|
|
118
|
+
/** @internal */
|
|
119
|
+
export const GetIntegrationResourcesLevel$outboundSchema = GetIntegrationResourcesLevel$inboundSchema;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
123
|
+
*/
|
|
124
|
+
export var GetIntegrationResourcesLevel$;
|
|
125
|
+
(function (GetIntegrationResourcesLevel$) {
|
|
126
|
+
/** @deprecated use `GetIntegrationResourcesLevel$inboundSchema` instead. */
|
|
127
|
+
GetIntegrationResourcesLevel$.inboundSchema = GetIntegrationResourcesLevel$inboundSchema;
|
|
128
|
+
/** @deprecated use `GetIntegrationResourcesLevel$outboundSchema` instead. */
|
|
129
|
+
GetIntegrationResourcesLevel$.outboundSchema = GetIntegrationResourcesLevel$outboundSchema;
|
|
130
|
+
})(GetIntegrationResourcesLevel$ || (GetIntegrationResourcesLevel$ = {}));
|
|
131
|
+
/** @internal */
|
|
132
|
+
export const GetIntegrationResourcesNotification$inboundSchema = z.object({
|
|
133
|
+
level: GetIntegrationResourcesLevel$inboundSchema,
|
|
134
|
+
title: z.string(),
|
|
135
|
+
message: z.string().optional(),
|
|
136
|
+
href: z.string().optional(),
|
|
137
|
+
});
|
|
138
|
+
/** @internal */
|
|
139
|
+
export const GetIntegrationResourcesNotification$outboundSchema = z.object({
|
|
140
|
+
level: GetIntegrationResourcesLevel$outboundSchema,
|
|
141
|
+
title: z.string(),
|
|
142
|
+
message: z.string().optional(),
|
|
143
|
+
href: z.string().optional(),
|
|
144
|
+
});
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
148
|
+
*/
|
|
149
|
+
export var GetIntegrationResourcesNotification$;
|
|
150
|
+
(function (GetIntegrationResourcesNotification$) {
|
|
151
|
+
/** @deprecated use `GetIntegrationResourcesNotification$inboundSchema` instead. */
|
|
152
|
+
GetIntegrationResourcesNotification$.inboundSchema = GetIntegrationResourcesNotification$inboundSchema;
|
|
153
|
+
/** @deprecated use `GetIntegrationResourcesNotification$outboundSchema` instead. */
|
|
154
|
+
GetIntegrationResourcesNotification$.outboundSchema = GetIntegrationResourcesNotification$outboundSchema;
|
|
155
|
+
})(GetIntegrationResourcesNotification$ || (GetIntegrationResourcesNotification$ = {}));
|
|
156
|
+
export function getIntegrationResourcesNotificationToJSON(getIntegrationResourcesNotification) {
|
|
157
|
+
return JSON.stringify(GetIntegrationResourcesNotification$outboundSchema.parse(getIntegrationResourcesNotification));
|
|
158
|
+
}
|
|
159
|
+
export function getIntegrationResourcesNotificationFromJSON(jsonString) {
|
|
160
|
+
return safeParse(jsonString, (x) => GetIntegrationResourcesNotification$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetIntegrationResourcesNotification' from JSON`);
|
|
161
|
+
}
|
|
162
|
+
/** @internal */
|
|
163
|
+
export const GetIntegrationResourcesMetadata$inboundSchema = z.union([
|
|
164
|
+
z.string(),
|
|
165
|
+
z.number(),
|
|
166
|
+
z.boolean(),
|
|
167
|
+
z.array(z.string()),
|
|
168
|
+
z.array(z.number()),
|
|
169
|
+
]);
|
|
170
|
+
/** @internal */
|
|
171
|
+
export const GetIntegrationResourcesMetadata$outboundSchema = z.union([
|
|
172
|
+
z.string(),
|
|
173
|
+
z.number(),
|
|
174
|
+
z.boolean(),
|
|
175
|
+
z.array(z.string()),
|
|
176
|
+
z.array(z.number()),
|
|
177
|
+
]);
|
|
178
|
+
/**
|
|
179
|
+
* @internal
|
|
180
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
181
|
+
*/
|
|
182
|
+
export var GetIntegrationResourcesMetadata$;
|
|
183
|
+
(function (GetIntegrationResourcesMetadata$) {
|
|
184
|
+
/** @deprecated use `GetIntegrationResourcesMetadata$inboundSchema` instead. */
|
|
185
|
+
GetIntegrationResourcesMetadata$.inboundSchema = GetIntegrationResourcesMetadata$inboundSchema;
|
|
186
|
+
/** @deprecated use `GetIntegrationResourcesMetadata$outboundSchema` instead. */
|
|
187
|
+
GetIntegrationResourcesMetadata$.outboundSchema = GetIntegrationResourcesMetadata$outboundSchema;
|
|
188
|
+
})(GetIntegrationResourcesMetadata$ || (GetIntegrationResourcesMetadata$ = {}));
|
|
189
|
+
export function getIntegrationResourcesMetadataToJSON(getIntegrationResourcesMetadata) {
|
|
190
|
+
return JSON.stringify(GetIntegrationResourcesMetadata$outboundSchema.parse(getIntegrationResourcesMetadata));
|
|
191
|
+
}
|
|
192
|
+
export function getIntegrationResourcesMetadataFromJSON(jsonString) {
|
|
193
|
+
return safeParse(jsonString, (x) => GetIntegrationResourcesMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetIntegrationResourcesMetadata' from JSON`);
|
|
194
|
+
}
|
|
195
|
+
/** @internal */
|
|
196
|
+
export const Resources$inboundSchema = z.object({
|
|
197
|
+
partnerId: z.string(),
|
|
198
|
+
internalId: z.string(),
|
|
199
|
+
name: z.string(),
|
|
200
|
+
status: GetIntegrationResourcesStatus$inboundSchema.optional(),
|
|
201
|
+
productId: z.string(),
|
|
202
|
+
protocolSettings: z.lazy(() => GetIntegrationResourcesProtocolSettings$inboundSchema).optional(),
|
|
203
|
+
notification: z.lazy(() => GetIntegrationResourcesNotification$inboundSchema)
|
|
204
|
+
.optional(),
|
|
205
|
+
billingPlanId: z.string().optional(),
|
|
206
|
+
metadata: z.record(z.union([
|
|
207
|
+
z.string(),
|
|
208
|
+
z.number(),
|
|
209
|
+
z.boolean(),
|
|
210
|
+
z.array(z.string()),
|
|
211
|
+
z.array(z.number()),
|
|
212
|
+
])).optional(),
|
|
213
|
+
});
|
|
214
|
+
/** @internal */
|
|
215
|
+
export const Resources$outboundSchema = z.object({
|
|
216
|
+
partnerId: z.string(),
|
|
217
|
+
internalId: z.string(),
|
|
218
|
+
name: z.string(),
|
|
219
|
+
status: GetIntegrationResourcesStatus$outboundSchema.optional(),
|
|
220
|
+
productId: z.string(),
|
|
221
|
+
protocolSettings: z.lazy(() => GetIntegrationResourcesProtocolSettings$outboundSchema).optional(),
|
|
222
|
+
notification: z.lazy(() => GetIntegrationResourcesNotification$outboundSchema)
|
|
223
|
+
.optional(),
|
|
224
|
+
billingPlanId: z.string().optional(),
|
|
225
|
+
metadata: z.record(z.union([
|
|
226
|
+
z.string(),
|
|
227
|
+
z.number(),
|
|
228
|
+
z.boolean(),
|
|
229
|
+
z.array(z.string()),
|
|
230
|
+
z.array(z.number()),
|
|
231
|
+
])).optional(),
|
|
232
|
+
});
|
|
233
|
+
/**
|
|
234
|
+
* @internal
|
|
235
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
236
|
+
*/
|
|
237
|
+
export var Resources$;
|
|
238
|
+
(function (Resources$) {
|
|
239
|
+
/** @deprecated use `Resources$inboundSchema` instead. */
|
|
240
|
+
Resources$.inboundSchema = Resources$inboundSchema;
|
|
241
|
+
/** @deprecated use `Resources$outboundSchema` instead. */
|
|
242
|
+
Resources$.outboundSchema = Resources$outboundSchema;
|
|
243
|
+
})(Resources$ || (Resources$ = {}));
|
|
244
|
+
export function resourcesToJSON(resources) {
|
|
245
|
+
return JSON.stringify(Resources$outboundSchema.parse(resources));
|
|
246
|
+
}
|
|
247
|
+
export function resourcesFromJSON(jsonString) {
|
|
248
|
+
return safeParse(jsonString, (x) => Resources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Resources' from JSON`);
|
|
249
|
+
}
|
|
250
|
+
/** @internal */
|
|
251
|
+
export const GetIntegrationResourcesResponseBody$inboundSchema = z.object({
|
|
252
|
+
resources: z.array(z.lazy(() => Resources$inboundSchema)),
|
|
253
|
+
});
|
|
254
|
+
/** @internal */
|
|
255
|
+
export const GetIntegrationResourcesResponseBody$outboundSchema = z.object({
|
|
256
|
+
resources: z.array(z.lazy(() => Resources$outboundSchema)),
|
|
257
|
+
});
|
|
258
|
+
/**
|
|
259
|
+
* @internal
|
|
260
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
261
|
+
*/
|
|
262
|
+
export var GetIntegrationResourcesResponseBody$;
|
|
263
|
+
(function (GetIntegrationResourcesResponseBody$) {
|
|
264
|
+
/** @deprecated use `GetIntegrationResourcesResponseBody$inboundSchema` instead. */
|
|
265
|
+
GetIntegrationResourcesResponseBody$.inboundSchema = GetIntegrationResourcesResponseBody$inboundSchema;
|
|
266
|
+
/** @deprecated use `GetIntegrationResourcesResponseBody$outboundSchema` instead. */
|
|
267
|
+
GetIntegrationResourcesResponseBody$.outboundSchema = GetIntegrationResourcesResponseBody$outboundSchema;
|
|
268
|
+
})(GetIntegrationResourcesResponseBody$ || (GetIntegrationResourcesResponseBody$ = {}));
|
|
269
|
+
export function getIntegrationResourcesResponseBodyToJSON(getIntegrationResourcesResponseBody) {
|
|
270
|
+
return JSON.stringify(GetIntegrationResourcesResponseBody$outboundSchema.parse(getIntegrationResourcesResponseBody));
|
|
271
|
+
}
|
|
272
|
+
export function getIntegrationResourcesResponseBodyFromJSON(jsonString) {
|
|
273
|
+
return safeParse(jsonString, (x) => GetIntegrationResourcesResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetIntegrationResourcesResponseBody' from JSON`);
|
|
274
|
+
}
|
|
275
|
+
//# sourceMappingURL=getintegrationresourcesop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getintegrationresourcesop.js","sourceRoot":"","sources":["../../src/models/getintegrationresourcesop.ts"],"names":[],"mappings":"AAAA;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