Skip to content

Variable: SubmitDeploymentsSchema ​

ts
const SubmitDeploymentsSchema: ZodObject<{
  acceptedDeployments: ZodOptional<ZodArray<ZodObject<{
     deploymentSequenceNumber: ZodNumber;
     environmentId: ZodString;
     pipelineId: ZodString;
  }, ApiObjectConfig<undefined>>>>;
  rejectedDeployments: ZodOptional<ZodArray<ZodObject<{
     errors: ZodArray<ZodObject<{
        errorTraceId: ZodOptional<ZodString>;
        message: ZodString;
     }, ApiObjectConfig<undefined>>>;
     key: ZodObject<{
        deploymentSequenceNumber: ZodNumber;
        environmentId: ZodString;
        pipelineId: ZodString;
     }, ApiObjectConfig<undefined>>;
  }, ApiObjectConfig<undefined>>>>;
  unknownAssociations: ZodOptional<ZodArray<ZodUnion<readonly [ZodObject<{
     associationType: ZodCustom<... & ... | "issueKeys" | "issueIdOrKeys", ... & ... | "issueKeys" | "issueIdOrKeys">;
     values: ZodArray<ZodString>;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     associationType: ZodCustom<... & ... | "serviceIdOrKeys", ... & ... | "serviceIdOrKeys">;
     values: ZodArray<ZodString>;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     associationType: ZodCustom<... & ... | "commit" | "repository", ... & ... | "commit" | "repository">;
     values: ZodArray<ZodUnion<readonly [..., ...]>>;
  }, ApiObjectConfig<undefined>>]>>>;
  unknownIssueKeys: ZodOptional<ZodArray<ZodString>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/agile/models/submitDeployments.ts:8

The result of a successful submitDeployments request.