@alienplatform/platform-api 3.3.19 → 3.3.21
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/FUNCTIONS.md +1 -1
- package/README.md +4 -0
- package/esm/funcs/deploymentGetInfo.js +4 -2
- package/esm/funcs/deploymentGetInfo.js.map +1 -1
- package/esm/funcs/deploymentPlanCompute.js +2 -2
- package/esm/funcs/deploymentPlanCompute.js.map +1 -1
- package/esm/funcs/deploymentPrepareStack.js +2 -2
- package/esm/funcs/deploymentPrepareStack.js.map +1 -1
- package/esm/funcs/deploymentsRetry.js +2 -2
- package/esm/funcs/deploymentsRetry.js.map +1 -1
- package/esm/funcs/operationsApproveAccessRequest.d.ts +15 -0
- package/esm/funcs/operationsApproveAccessRequest.d.ts.map +1 -0
- package/esm/funcs/operationsApproveAccessRequest.js +89 -0
- package/esm/funcs/operationsApproveAccessRequest.js.map +1 -0
- package/esm/funcs/operationsDenyAccessRequest.d.ts +15 -0
- package/esm/funcs/operationsDenyAccessRequest.d.ts.map +1 -0
- package/esm/funcs/operationsDenyAccessRequest.js +89 -0
- package/esm/funcs/operationsDenyAccessRequest.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/models/createmanagerresponse.d.ts +0 -63
- package/esm/models/createmanagerresponse.d.ts.map +1 -1
- package/esm/models/createmanagerresponse.js +0 -39
- package/esm/models/createmanagerresponse.js.map +1 -1
- package/esm/models/createsetuplinkresponse.d.ts +4 -0
- package/esm/models/createsetuplinkresponse.d.ts.map +1 -1
- package/esm/models/createsetuplinkresponse.js +1 -0
- package/esm/models/createsetuplinkresponse.js.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.d.ts +0 -28
- package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.js +0 -19
- package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
- package/esm/models/deployment.d.ts +0 -21
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +0 -13
- package/esm/models/deployment.js.map +1 -1
- package/esm/models/deploymentcomputeplan.d.ts +148 -10
- package/esm/models/deploymentcomputeplan.d.ts.map +1 -1
- package/esm/models/deploymentcomputeplan.js +83 -10
- package/esm/models/deploymentcomputeplan.js.map +1 -1
- package/esm/models/deploymentdetailresponse.d.ts +0 -21
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +0 -19
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentinfo.d.ts +1276 -8
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +987 -7
- package/esm/models/deploymentinfo.js.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts +0 -34
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.js +0 -38
- package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
- package/esm/models/deploymentupdateoperationstatus.d.ts +1 -0
- package/esm/models/deploymentupdateoperationstatus.d.ts.map +1 -1
- package/esm/models/deploymentupdateoperationstatus.js +1 -0
- package/esm/models/deploymentupdateoperationstatus.js.map +1 -1
- package/esm/models/deploymentupdateoperationsummary.d.ts +4 -0
- package/esm/models/deploymentupdateoperationsummary.d.ts.map +1 -1
- package/esm/models/deploymentupdateoperationsummary.js +1 -0
- package/esm/models/deploymentupdateoperationsummary.js.map +1 -1
- package/esm/models/importsource.d.ts +0 -28
- package/esm/models/importsource.d.ts.map +1 -1
- package/esm/models/importsource.js +0 -13
- package/esm/models/importsource.js.map +1 -1
- package/esm/models/managerretryresponse.d.ts +0 -63
- package/esm/models/managerretryresponse.d.ts.map +1 -1
- package/esm/models/managerretryresponse.js +0 -39
- package/esm/models/managerretryresponse.js.map +1 -1
- package/esm/models/newdeploymentrequest.d.ts +0 -28
- package/esm/models/newdeploymentrequest.d.ts.map +1 -1
- package/esm/models/newdeploymentrequest.js +0 -13
- package/esm/models/newdeploymentrequest.js.map +1 -1
- package/esm/models/operations/approveaccessrequest.d.ts +115 -0
- package/esm/models/operations/approveaccessrequest.d.ts.map +1 -0
- package/esm/models/operations/approveaccessrequest.js +89 -0
- package/esm/models/operations/approveaccessrequest.js.map +1 -0
- package/esm/models/operations/denyaccessrequest.d.ts +112 -0
- package/esm/models/operations/denyaccessrequest.d.ts.map +1 -0
- package/esm/models/operations/denyaccessrequest.js +87 -0
- package/esm/models/operations/denyaccessrequest.js.map +1 -0
- package/esm/models/operations/getdeploymentinfo.d.ts +4 -0
- package/esm/models/operations/getdeploymentinfo.d.ts.map +1 -1
- package/esm/models/operations/getdeploymentinfo.js +2 -0
- package/esm/models/operations/getdeploymentinfo.js.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +107 -21
- package/esm/models/operations/getresourcedeploymentdetail.d.ts.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.js +86 -13
- package/esm/models/operations/getresourcedeploymentdetail.js.map +1 -1
- package/esm/models/operations/index.d.ts +2 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +2 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/plandeploymentcompute.d.ts +140 -40
- package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
- package/esm/models/operations/plandeploymentcompute.js +67 -19
- package/esm/models/operations/plandeploymentcompute.js.map +1 -1
- package/esm/models/operations/preparedeploymentstack.d.ts +145 -40
- package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
- package/esm/models/operations/preparedeploymentstack.js +68 -20
- package/esm/models/operations/preparedeploymentstack.js.map +1 -1
- package/esm/models/operationspluginoperation.d.ts +4 -0
- package/esm/models/operationspluginoperation.d.ts.map +1 -1
- package/esm/models/operationspluginoperation.js +1 -0
- package/esm/models/operationspluginoperation.js.map +1 -1
- package/esm/models/package.d.ts +9 -3
- package/esm/models/package.d.ts.map +1 -1
- package/esm/models/package.js.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.d.ts +0 -28
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +0 -19
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- package/esm/models/prepareddeploymentstack.d.ts +1 -0
- package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
- package/esm/models/prepareddeploymentstack.js +1 -0
- package/esm/models/prepareddeploymentstack.js.map +1 -1
- package/esm/models/syncacquirerequest.d.ts +5 -0
- package/esm/models/syncacquirerequest.d.ts.map +1 -1
- package/esm/models/syncacquirerequest.js +1 -0
- package/esm/models/syncacquirerequest.js.map +1 -1
- package/esm/models/syncacquireresponsedeployment.d.ts +8 -0
- package/esm/models/syncacquireresponsedeployment.d.ts.map +1 -1
- package/esm/models/syncacquireresponsedeployment.js +2 -0
- package/esm/models/syncacquireresponsedeployment.js.map +1 -1
- package/esm/models/synclistresponse.d.ts +0 -21
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +0 -13
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +150 -31
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +86 -12
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreleaserequest.d.ts +10 -0
- package/esm/models/syncreleaserequest.d.ts.map +1 -1
- package/esm/models/syncreleaserequest.js +2 -0
- package/esm/models/syncreleaserequest.js.map +1 -1
- package/esm/models/syncrenewrequest.d.ts +28 -0
- package/esm/models/syncrenewrequest.d.ts.map +1 -1
- package/esm/models/syncrenewrequest.js +10 -0
- package/esm/models/syncrenewrequest.js.map +1 -1
- package/esm/sdk/operations.d.ts +8 -0
- package/esm/sdk/operations.d.ts.map +1 -1
- package/esm/sdk/operations.js +14 -0
- package/esm/sdk/operations.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/deploymentGetInfo.ts +4 -2
- package/src/funcs/deploymentPlanCompute.ts +2 -2
- package/src/funcs/deploymentPrepareStack.ts +2 -2
- package/src/funcs/deploymentsRetry.ts +2 -2
- package/src/funcs/operationsApproveAccessRequest.ts +179 -0
- package/src/funcs/operationsDenyAccessRequest.ts +178 -0
- package/src/lib/config.ts +2 -2
- package/src/models/createmanagerresponse.ts +0 -162
- package/src/models/createsetuplinkresponse.ts +7 -0
- package/src/models/createsetupregistrationoperationrequest.ts +0 -83
- package/src/models/deployment.ts +0 -52
- package/src/models/deploymentcomputeplan.ts +311 -20
- package/src/models/deploymentdetailresponse.ts +0 -62
- package/src/models/deploymentinfo.ts +3599 -453
- package/src/models/deploymentsetupstacksettingspolicy.ts +0 -124
- package/src/models/deploymentupdateoperationstatus.ts +1 -0
- package/src/models/deploymentupdateoperationsummary.ts +5 -0
- package/src/models/importsource.ts +0 -59
- package/src/models/managerretryresponse.ts +0 -162
- package/src/models/newdeploymentrequest.ts +0 -63
- package/src/models/operations/approveaccessrequest.ts +237 -0
- package/src/models/operations/denyaccessrequest.ts +228 -0
- package/src/models/operations/getdeploymentinfo.ts +6 -0
- package/src/models/operations/getresourcedeploymentdetail.ts +203 -36
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/plandeploymentcompute.ts +295 -81
- package/src/models/operations/preparedeploymentstack.ts +301 -82
- package/src/models/operationspluginoperation.ts +5 -0
- package/src/models/package.ts +9 -3
- package/src/models/persistimporteddeploymentrequest.ts +0 -75
- package/src/models/prepareddeploymentstack.ts +2 -0
- package/src/models/syncacquirerequest.ts +6 -0
- package/src/models/syncacquireresponsedeployment.ts +10 -0
- package/src/models/synclistresponse.ts +0 -54
- package/src/models/syncreconcilerequest.ts +251 -40
- package/src/models/syncreleaserequest.ts +12 -0
- package/src/models/syncrenewrequest.ts +39 -0
- package/src/sdk/operations.ts +30 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import * as models from "../index.js";
|
|
6
|
+
export type ApproveAccessRequestGlobals = {
|
|
7
|
+
/**
|
|
8
|
+
* Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client.
|
|
9
|
+
*/
|
|
10
|
+
workspace?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
export type ApproveAccessRequestRequestBody = {
|
|
13
|
+
method: string;
|
|
14
|
+
actorId: string;
|
|
15
|
+
source?: {
|
|
16
|
+
[k: string]: any | null;
|
|
17
|
+
} | undefined;
|
|
18
|
+
approvedForMinutes?: number | undefined;
|
|
19
|
+
};
|
|
20
|
+
export type ApproveAccessRequestRequest = {
|
|
21
|
+
id: string;
|
|
22
|
+
requestBody?: ApproveAccessRequestRequestBody | undefined;
|
|
23
|
+
};
|
|
24
|
+
export type ApproveAccessRequestDeployment = {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
deploymentGroup?: models.DeploymentGroupInfo | undefined;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
31
|
+
*/
|
|
32
|
+
export declare const ApproveAccessRequestTier: {
|
|
33
|
+
readonly ReadOnly: "read-only";
|
|
34
|
+
readonly Mutating: "mutating";
|
|
35
|
+
readonly Destructive: "destructive";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
39
|
+
*/
|
|
40
|
+
export type ApproveAccessRequestTier = ClosedEnum<typeof ApproveAccessRequestTier>;
|
|
41
|
+
export type ApproveAccessRequestCommand = {
|
|
42
|
+
command: string;
|
|
43
|
+
summary: string;
|
|
44
|
+
params?: any | null | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
47
|
+
*/
|
|
48
|
+
tier?: ApproveAccessRequestTier | undefined;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
52
|
+
*/
|
|
53
|
+
export declare const ApproveAccessRequestMaxRisk: {
|
|
54
|
+
readonly ReadOnly: "read-only";
|
|
55
|
+
readonly Mutating: "mutating";
|
|
56
|
+
readonly Destructive: "destructive";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
60
|
+
*/
|
|
61
|
+
export type ApproveAccessRequestMaxRisk = ClosedEnum<typeof ApproveAccessRequestMaxRisk>;
|
|
62
|
+
/**
|
|
63
|
+
* The approved access request.
|
|
64
|
+
*/
|
|
65
|
+
export type ApproveAccessRequestResponse = {
|
|
66
|
+
id: string;
|
|
67
|
+
deploymentId: string;
|
|
68
|
+
deployment?: ApproveAccessRequestDeployment | undefined;
|
|
69
|
+
remediationPlanId: string | null;
|
|
70
|
+
title: string;
|
|
71
|
+
reason: string | null;
|
|
72
|
+
commands: Array<ApproveAccessRequestCommand>;
|
|
73
|
+
operationPattern: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
76
|
+
*/
|
|
77
|
+
maxRisk: ApproveAccessRequestMaxRisk | null;
|
|
78
|
+
status: models.AccessRequestStatus;
|
|
79
|
+
approvedUntil: string | null;
|
|
80
|
+
approvalMethod: string;
|
|
81
|
+
};
|
|
82
|
+
/** @internal */
|
|
83
|
+
export type ApproveAccessRequestRequestBody$Outbound = {
|
|
84
|
+
method: string;
|
|
85
|
+
actorId: string;
|
|
86
|
+
source?: {
|
|
87
|
+
[k: string]: any | null;
|
|
88
|
+
} | undefined;
|
|
89
|
+
approvedForMinutes?: number | undefined;
|
|
90
|
+
};
|
|
91
|
+
/** @internal */
|
|
92
|
+
export declare const ApproveAccessRequestRequestBody$outboundSchema: z.ZodType<ApproveAccessRequestRequestBody$Outbound, ApproveAccessRequestRequestBody>;
|
|
93
|
+
export declare function approveAccessRequestRequestBodyToJSON(approveAccessRequestRequestBody: ApproveAccessRequestRequestBody): string;
|
|
94
|
+
/** @internal */
|
|
95
|
+
export type ApproveAccessRequestRequest$Outbound = {
|
|
96
|
+
id: string;
|
|
97
|
+
RequestBody?: ApproveAccessRequestRequestBody$Outbound | undefined;
|
|
98
|
+
};
|
|
99
|
+
/** @internal */
|
|
100
|
+
export declare const ApproveAccessRequestRequest$outboundSchema: z.ZodType<ApproveAccessRequestRequest$Outbound, ApproveAccessRequestRequest>;
|
|
101
|
+
export declare function approveAccessRequestRequestToJSON(approveAccessRequestRequest: ApproveAccessRequestRequest): string;
|
|
102
|
+
/** @internal */
|
|
103
|
+
export declare const ApproveAccessRequestDeployment$inboundSchema: z.ZodType<ApproveAccessRequestDeployment, unknown>;
|
|
104
|
+
export declare function approveAccessRequestDeploymentFromJSON(jsonString: string): SafeParseResult<ApproveAccessRequestDeployment, SDKValidationError>;
|
|
105
|
+
/** @internal */
|
|
106
|
+
export declare const ApproveAccessRequestTier$inboundSchema: z.ZodEnum<typeof ApproveAccessRequestTier>;
|
|
107
|
+
/** @internal */
|
|
108
|
+
export declare const ApproveAccessRequestCommand$inboundSchema: z.ZodType<ApproveAccessRequestCommand, unknown>;
|
|
109
|
+
export declare function approveAccessRequestCommandFromJSON(jsonString: string): SafeParseResult<ApproveAccessRequestCommand, SDKValidationError>;
|
|
110
|
+
/** @internal */
|
|
111
|
+
export declare const ApproveAccessRequestMaxRisk$inboundSchema: z.ZodEnum<typeof ApproveAccessRequestMaxRisk>;
|
|
112
|
+
/** @internal */
|
|
113
|
+
export declare const ApproveAccessRequestResponse$inboundSchema: z.ZodType<ApproveAccessRequestResponse, unknown>;
|
|
114
|
+
export declare function approveAccessRequestResponseFromJSON(jsonString: string): SafeParseResult<ApproveAccessRequestResponse, SDKValidationError>;
|
|
115
|
+
//# sourceMappingURL=approveaccessrequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approveaccessrequest.d.ts","sourceRoot":"","sources":["../../../src/models/operations/approveaccessrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS,CAAC;IACjD,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,SAAS,CAAC;CAC1D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,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@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
/**
|
|
9
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
10
|
+
*/
|
|
11
|
+
export const ApproveAccessRequestTier = {
|
|
12
|
+
ReadOnly: "read-only",
|
|
13
|
+
Mutating: "mutating",
|
|
14
|
+
Destructive: "destructive",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
18
|
+
*/
|
|
19
|
+
export const ApproveAccessRequestMaxRisk = {
|
|
20
|
+
ReadOnly: "read-only",
|
|
21
|
+
Mutating: "mutating",
|
|
22
|
+
Destructive: "destructive",
|
|
23
|
+
};
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const ApproveAccessRequestRequestBody$outboundSchema = z.object({
|
|
26
|
+
method: z.string(),
|
|
27
|
+
actorId: z.string(),
|
|
28
|
+
source: z.record(z.string(), z.nullable(z.any())).optional(),
|
|
29
|
+
approvedForMinutes: z.int().optional(),
|
|
30
|
+
});
|
|
31
|
+
export function approveAccessRequestRequestBodyToJSON(approveAccessRequestRequestBody) {
|
|
32
|
+
return JSON.stringify(ApproveAccessRequestRequestBody$outboundSchema.parse(approveAccessRequestRequestBody));
|
|
33
|
+
}
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const ApproveAccessRequestRequest$outboundSchema = z.object({
|
|
36
|
+
id: z.string(),
|
|
37
|
+
requestBody: z.lazy(() => ApproveAccessRequestRequestBody$outboundSchema)
|
|
38
|
+
.optional(),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
requestBody: "RequestBody",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
export function approveAccessRequestRequestToJSON(approveAccessRequestRequest) {
|
|
45
|
+
return JSON.stringify(ApproveAccessRequestRequest$outboundSchema.parse(approveAccessRequestRequest));
|
|
46
|
+
}
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const ApproveAccessRequestDeployment$inboundSchema = z.object({
|
|
49
|
+
id: z.string(),
|
|
50
|
+
name: z.string(),
|
|
51
|
+
deploymentGroup: models.DeploymentGroupInfo$inboundSchema.optional(),
|
|
52
|
+
});
|
|
53
|
+
export function approveAccessRequestDeploymentFromJSON(jsonString) {
|
|
54
|
+
return safeParse(jsonString, (x) => ApproveAccessRequestDeployment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApproveAccessRequestDeployment' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const ApproveAccessRequestTier$inboundSchema = z.enum(ApproveAccessRequestTier);
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const ApproveAccessRequestCommand$inboundSchema = z.object({
|
|
60
|
+
command: z.string(),
|
|
61
|
+
summary: z.string(),
|
|
62
|
+
params: z.nullable(z.any()).optional(),
|
|
63
|
+
tier: ApproveAccessRequestTier$inboundSchema.optional(),
|
|
64
|
+
});
|
|
65
|
+
export function approveAccessRequestCommandFromJSON(jsonString) {
|
|
66
|
+
return safeParse(jsonString, (x) => ApproveAccessRequestCommand$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApproveAccessRequestCommand' from JSON`);
|
|
67
|
+
}
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const ApproveAccessRequestMaxRisk$inboundSchema = z.enum(ApproveAccessRequestMaxRisk);
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const ApproveAccessRequestResponse$inboundSchema = z.object({
|
|
72
|
+
id: z.string(),
|
|
73
|
+
deploymentId: z.string(),
|
|
74
|
+
deployment: z.lazy(() => ApproveAccessRequestDeployment$inboundSchema)
|
|
75
|
+
.optional(),
|
|
76
|
+
remediationPlanId: z.nullable(z.string()),
|
|
77
|
+
title: z.string(),
|
|
78
|
+
reason: z.nullable(z.string()),
|
|
79
|
+
commands: z.array(z.lazy(() => ApproveAccessRequestCommand$inboundSchema)),
|
|
80
|
+
operationPattern: z.nullable(z.string()),
|
|
81
|
+
maxRisk: z.nullable(ApproveAccessRequestMaxRisk$inboundSchema),
|
|
82
|
+
status: models.AccessRequestStatus$inboundSchema,
|
|
83
|
+
approvedUntil: z.nullable(z.string()),
|
|
84
|
+
approvalMethod: z.string(),
|
|
85
|
+
});
|
|
86
|
+
export function approveAccessRequestResponseFromJSON(jsonString) {
|
|
87
|
+
return safeParse(jsonString, (x) => ApproveAccessRequestResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApproveAccessRequestResponse' from JSON`);
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=approveaccessrequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approveaccessrequest.js","sourceRoot":"","sources":["../../../src/models/operations/approveaccessrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AA2BtC;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;CAClB,CAAC;AAkBX;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;CAClB,CAAC;AAqCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAGvD,CAAC,CAAC,MAA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,EAAE,CAAC;IACzC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,yCAAyC,CAAC,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IAC9D,MAAM,EAAE,MAAM,CAAC,iCAAiC;IAChD,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACrC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import * as models from "../index.js";
|
|
6
|
+
export type DenyAccessRequestGlobals = {
|
|
7
|
+
/**
|
|
8
|
+
* Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client.
|
|
9
|
+
*/
|
|
10
|
+
workspace?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
export type DenyAccessRequestRequestBody = {
|
|
13
|
+
method: string;
|
|
14
|
+
actorId: string;
|
|
15
|
+
source?: {
|
|
16
|
+
[k: string]: any | null;
|
|
17
|
+
} | undefined;
|
|
18
|
+
};
|
|
19
|
+
export type DenyAccessRequestRequest = {
|
|
20
|
+
id: string;
|
|
21
|
+
requestBody?: DenyAccessRequestRequestBody | undefined;
|
|
22
|
+
};
|
|
23
|
+
export type DenyAccessRequestDeployment = {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
deploymentGroup?: models.DeploymentGroupInfo | undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
30
|
+
*/
|
|
31
|
+
export declare const DenyAccessRequestTier: {
|
|
32
|
+
readonly ReadOnly: "read-only";
|
|
33
|
+
readonly Mutating: "mutating";
|
|
34
|
+
readonly Destructive: "destructive";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
38
|
+
*/
|
|
39
|
+
export type DenyAccessRequestTier = ClosedEnum<typeof DenyAccessRequestTier>;
|
|
40
|
+
export type DenyAccessRequestCommand = {
|
|
41
|
+
command: string;
|
|
42
|
+
summary: string;
|
|
43
|
+
params?: any | null | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
46
|
+
*/
|
|
47
|
+
tier?: DenyAccessRequestTier | undefined;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
51
|
+
*/
|
|
52
|
+
export declare const DenyAccessRequestMaxRisk: {
|
|
53
|
+
readonly ReadOnly: "read-only";
|
|
54
|
+
readonly Mutating: "mutating";
|
|
55
|
+
readonly Destructive: "destructive";
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
59
|
+
*/
|
|
60
|
+
export type DenyAccessRequestMaxRisk = ClosedEnum<typeof DenyAccessRequestMaxRisk>;
|
|
61
|
+
/**
|
|
62
|
+
* The rejected access request.
|
|
63
|
+
*/
|
|
64
|
+
export type DenyAccessRequestResponse = {
|
|
65
|
+
id: string;
|
|
66
|
+
deploymentId: string;
|
|
67
|
+
deployment?: DenyAccessRequestDeployment | undefined;
|
|
68
|
+
remediationPlanId: string | null;
|
|
69
|
+
title: string;
|
|
70
|
+
reason: string | null;
|
|
71
|
+
commands: Array<DenyAccessRequestCommand>;
|
|
72
|
+
operationPattern: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
75
|
+
*/
|
|
76
|
+
maxRisk: DenyAccessRequestMaxRisk | null;
|
|
77
|
+
status: models.AccessRequestStatus;
|
|
78
|
+
approvedUntil: string | null;
|
|
79
|
+
};
|
|
80
|
+
/** @internal */
|
|
81
|
+
export type DenyAccessRequestRequestBody$Outbound = {
|
|
82
|
+
method: string;
|
|
83
|
+
actorId: string;
|
|
84
|
+
source?: {
|
|
85
|
+
[k: string]: any | null;
|
|
86
|
+
} | undefined;
|
|
87
|
+
};
|
|
88
|
+
/** @internal */
|
|
89
|
+
export declare const DenyAccessRequestRequestBody$outboundSchema: z.ZodType<DenyAccessRequestRequestBody$Outbound, DenyAccessRequestRequestBody>;
|
|
90
|
+
export declare function denyAccessRequestRequestBodyToJSON(denyAccessRequestRequestBody: DenyAccessRequestRequestBody): string;
|
|
91
|
+
/** @internal */
|
|
92
|
+
export type DenyAccessRequestRequest$Outbound = {
|
|
93
|
+
id: string;
|
|
94
|
+
RequestBody?: DenyAccessRequestRequestBody$Outbound | undefined;
|
|
95
|
+
};
|
|
96
|
+
/** @internal */
|
|
97
|
+
export declare const DenyAccessRequestRequest$outboundSchema: z.ZodType<DenyAccessRequestRequest$Outbound, DenyAccessRequestRequest>;
|
|
98
|
+
export declare function denyAccessRequestRequestToJSON(denyAccessRequestRequest: DenyAccessRequestRequest): string;
|
|
99
|
+
/** @internal */
|
|
100
|
+
export declare const DenyAccessRequestDeployment$inboundSchema: z.ZodType<DenyAccessRequestDeployment, unknown>;
|
|
101
|
+
export declare function denyAccessRequestDeploymentFromJSON(jsonString: string): SafeParseResult<DenyAccessRequestDeployment, SDKValidationError>;
|
|
102
|
+
/** @internal */
|
|
103
|
+
export declare const DenyAccessRequestTier$inboundSchema: z.ZodEnum<typeof DenyAccessRequestTier>;
|
|
104
|
+
/** @internal */
|
|
105
|
+
export declare const DenyAccessRequestCommand$inboundSchema: z.ZodType<DenyAccessRequestCommand, unknown>;
|
|
106
|
+
export declare function denyAccessRequestCommandFromJSON(jsonString: string): SafeParseResult<DenyAccessRequestCommand, SDKValidationError>;
|
|
107
|
+
/** @internal */
|
|
108
|
+
export declare const DenyAccessRequestMaxRisk$inboundSchema: z.ZodEnum<typeof DenyAccessRequestMaxRisk>;
|
|
109
|
+
/** @internal */
|
|
110
|
+
export declare const DenyAccessRequestResponse$inboundSchema: z.ZodType<DenyAccessRequestResponse, unknown>;
|
|
111
|
+
export declare function denyAccessRequestResponseFromJSON(jsonString: string): SafeParseResult<DenyAccessRequestResponse, SDKValidationError>;
|
|
112
|
+
//# sourceMappingURL=denyaccessrequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"denyaccessrequest.d.ts","sourceRoot":"","sources":["../../../src/models/operations/denyaccessrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAA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AC;AAElC,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,OAAO,CAMP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,OAAO,wBAAwB,CACG,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,OAAO,CAcP,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as models from "../index.js";
|
|
8
|
+
/**
|
|
9
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
10
|
+
*/
|
|
11
|
+
export const DenyAccessRequestTier = {
|
|
12
|
+
ReadOnly: "read-only",
|
|
13
|
+
Mutating: "mutating",
|
|
14
|
+
Destructive: "destructive",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* How risky an operation is (declared by the plugin metadata).
|
|
18
|
+
*/
|
|
19
|
+
export const DenyAccessRequestMaxRisk = {
|
|
20
|
+
ReadOnly: "read-only",
|
|
21
|
+
Mutating: "mutating",
|
|
22
|
+
Destructive: "destructive",
|
|
23
|
+
};
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const DenyAccessRequestRequestBody$outboundSchema = z.object({
|
|
26
|
+
method: z.string(),
|
|
27
|
+
actorId: z.string(),
|
|
28
|
+
source: z.record(z.string(), z.nullable(z.any())).optional(),
|
|
29
|
+
});
|
|
30
|
+
export function denyAccessRequestRequestBodyToJSON(denyAccessRequestRequestBody) {
|
|
31
|
+
return JSON.stringify(DenyAccessRequestRequestBody$outboundSchema.parse(denyAccessRequestRequestBody));
|
|
32
|
+
}
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const DenyAccessRequestRequest$outboundSchema = z.object({
|
|
35
|
+
id: z.string(),
|
|
36
|
+
requestBody: z.lazy(() => DenyAccessRequestRequestBody$outboundSchema)
|
|
37
|
+
.optional(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
requestBody: "RequestBody",
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
export function denyAccessRequestRequestToJSON(denyAccessRequestRequest) {
|
|
44
|
+
return JSON.stringify(DenyAccessRequestRequest$outboundSchema.parse(denyAccessRequestRequest));
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const DenyAccessRequestDeployment$inboundSchema = z.object({
|
|
48
|
+
id: z.string(),
|
|
49
|
+
name: z.string(),
|
|
50
|
+
deploymentGroup: models.DeploymentGroupInfo$inboundSchema.optional(),
|
|
51
|
+
});
|
|
52
|
+
export function denyAccessRequestDeploymentFromJSON(jsonString) {
|
|
53
|
+
return safeParse(jsonString, (x) => DenyAccessRequestDeployment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DenyAccessRequestDeployment' from JSON`);
|
|
54
|
+
}
|
|
55
|
+
/** @internal */
|
|
56
|
+
export const DenyAccessRequestTier$inboundSchema = z.enum(DenyAccessRequestTier);
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const DenyAccessRequestCommand$inboundSchema = z.object({
|
|
59
|
+
command: z.string(),
|
|
60
|
+
summary: z.string(),
|
|
61
|
+
params: z.nullable(z.any()).optional(),
|
|
62
|
+
tier: DenyAccessRequestTier$inboundSchema.optional(),
|
|
63
|
+
});
|
|
64
|
+
export function denyAccessRequestCommandFromJSON(jsonString) {
|
|
65
|
+
return safeParse(jsonString, (x) => DenyAccessRequestCommand$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DenyAccessRequestCommand' from JSON`);
|
|
66
|
+
}
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const DenyAccessRequestMaxRisk$inboundSchema = z.enum(DenyAccessRequestMaxRisk);
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const DenyAccessRequestResponse$inboundSchema = z.object({
|
|
71
|
+
id: z.string(),
|
|
72
|
+
deploymentId: z.string(),
|
|
73
|
+
deployment: z.lazy(() => DenyAccessRequestDeployment$inboundSchema)
|
|
74
|
+
.optional(),
|
|
75
|
+
remediationPlanId: z.nullable(z.string()),
|
|
76
|
+
title: z.string(),
|
|
77
|
+
reason: z.nullable(z.string()),
|
|
78
|
+
commands: z.array(z.lazy(() => DenyAccessRequestCommand$inboundSchema)),
|
|
79
|
+
operationPattern: z.nullable(z.string()),
|
|
80
|
+
maxRisk: z.nullable(DenyAccessRequestMaxRisk$inboundSchema),
|
|
81
|
+
status: models.AccessRequestStatus$inboundSchema,
|
|
82
|
+
approvedUntil: z.nullable(z.string()),
|
|
83
|
+
});
|
|
84
|
+
export function denyAccessRequestResponseFromJSON(jsonString) {
|
|
85
|
+
return safeParse(jsonString, (x) => DenyAccessRequestResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DenyAccessRequestResponse' from JSON`);
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=denyaccessrequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"denyaccessrequest.js","sourceRoot":"","sources":["../../../src/models/operations/denyaccessrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO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;
|
|
40
|
+
deploymentId?: string | undefined;
|
|
41
|
+
updateOperationId?: string | undefined;
|
|
40
42
|
};
|
|
41
43
|
/** @internal */
|
|
42
44
|
export declare const GetDeploymentInfoPlatform$outboundSchema: z.ZodEnum<typeof GetDeploymentInfoPlatform>;
|
|
@@ -46,6 +48,8 @@ export declare const GetDeploymentInfoSetupItem$outboundSchema: z.ZodEnum<typeof
|
|
|
46
48
|
export type GetDeploymentInfoRequest$Outbound = {
|
|
47
49
|
platform?: string | undefined;
|
|
48
50
|
setupItem?: string | undefined;
|
|
51
|
+
deploymentId?: string | undefined;
|
|
52
|
+
updateOperationId?: string | undefined;
|
|
49
53
|
};
|
|
50
54
|
/** @internal */
|
|
51
55
|
export declare const GetDeploymentInfoRequest$outboundSchema: z.ZodType<GetDeploymentInfoRequest$Outbound, GetDeploymentInfoRequest>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getdeploymentinfo.d.ts","sourceRoot":"","sources":["../../../src/models/operations/getdeploymentinfo.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;CAQ5B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;CAO7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,0B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AC;IAClC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,wBAAwB,CAMxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR"}
|
|
@@ -30,6 +30,8 @@ export const GetDeploymentInfoSetupItem$outboundSchema = z.enum(GetDeploymentInf
|
|
|
30
30
|
export const GetDeploymentInfoRequest$outboundSchema = z.object({
|
|
31
31
|
platform: GetDeploymentInfoPlatform$outboundSchema.optional(),
|
|
32
32
|
setupItem: GetDeploymentInfoSetupItem$outboundSchema.optional(),
|
|
33
|
+
deploymentId: z.string().optional(),
|
|
34
|
+
updateOperationId: z.string().optional(),
|
|
33
35
|
});
|
|
34
36
|
export function getDeploymentInfoRequestToJSON(getDeploymentInfoRequest) {
|
|
35
37
|
return JSON.stringify(GetDeploymentInfoRequest$outboundSchema.parse(getDeploymentInfoRequest));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getdeploymentinfo.js","sourceRoot":"","sources":["../../../src/models/operations/getdeploymentinfo.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAU5B;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;I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