Variable: GetDeploymentByKeySchema
ts
const GetDeploymentByKeySchema: ZodObject<{
associations: ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
associationType: ZodCustom<... & ... | "issueKeys" | "issueIdOrKeys", ... & ... | "issueKeys" | "issueIdOrKeys">;
values: ZodArray<ZodString>;
}, $loose>, ZodObject<{
associationType: ZodCustom<... & ... | "serviceIdOrKeys", ... & ... | "serviceIdOrKeys">;
values: ZodArray<ZodString>;
}, $loose>, ZodObject<{
associationType: ZodCustom<... & ... | "commit" | "repository", ... & ... | "commit" | "repository">;
values: ZodArray<ZodUnion<readonly [..., ...]>>;
}, $loose>]>>>;
commands: ZodOptional<ZodArray<ZodObject<{
command: ZodOptional<ZodString>;
}, $loose>>>;
deploymentSequenceNumber: ZodNumber;
description: ZodString;
displayName: ZodString;
duration: ZodOptional<ZodNumber>;
environment: ZodObject<{
displayName: ZodString;
id: ZodString;
type: ZodCustom<
| string & object
| "unmapped"
| "development"
| "testing"
| "staging"
| "production",
| string & object
| "unmapped"
| "development"
| "testing"
| "staging"
| "production">;
}, $loose>;
label: ZodOptional<ZodString>;
lastUpdated: ZodCoercedDate<unknown>;
pipeline: ZodObject<{
displayName: ZodString;
id: ZodString;
url: ZodURL;
}, $loose>;
schemaVersion: ZodOptional<ZodCustom<string & object | "1.0", string & object | "1.0">>;
state: ZodCustom<
| "failed"
| "unknown"
| "pending"
| string & object
| "successful"
| "in_progress"
| "cancelled"
| "rolled_back",
| "failed"
| "unknown"
| "pending"
| string & object
| "successful"
| "in_progress"
| "cancelled"
| "rolled_back">;
updateSequenceNumber: ZodNumber;
url: ZodURL;
}, $loose>;Defined in: src/agile/models/getDeploymentByKey.ts:11
Data related to a specific deployment in a specific environment that the deployment is present in.* Must specify one of issueKeys or associations.*