Variable GetDeploymentByKeySchemaConst
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<
| "unmapped"
| string & {}
| "development"
| "testing"
| "staging"
| "production",
| "unmapped"
| string & {}
| "development"
| "testing"
| "staging"
| "production",
>;
},
$loose,
>;
label: ZodOptional<ZodString>;
lastUpdated: ZodCoercedDate<unknown>;
pipeline: ZodObject<
{ displayName: ZodString; id: ZodString; url: ZodURL },
$loose,
>;
schemaVersion: ZodOptional<
ZodCustom<string & {} | "1.0", string & {} | "1.0">,
>;
state: ZodCustom<
| "failed"
| "unknown"
| "pending"
| string & {}
| "successful"
| "in_progress"
| "cancelled"
| "rolled_back",
| "failed"
| "unknown"
| "pending"
| string & {}
| "successful"
| "in_progress"
| "cancelled"
| "rolled_back",
>;
updateSequenceNumber: ZodNumber;
url: ZodURL;
},
$loose,
> = ...
Data related to a specific deployment in a specific environment that the deployment is present in.* Must specify one of
issueKeysorassociations.*