Skip to content

Commit

Permalink
bump node sdk to 7.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Oct 31, 2024
1 parent 1666208 commit 1da234d
Show file tree
Hide file tree
Showing 28 changed files with 217 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/node-sdk/openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "../../node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "7.7.0",
"version": "7.9.0",
"generators": {
"v1": {
"generatorName": "typescript-fetch",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-sdk/src/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7.0
7.9.0
8 changes: 8 additions & 0 deletions packages/node-sdk/src/models/AcknowledgeJob200Response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,19 @@ export function AcknowledgeJob200ResponseFromJSONTyped(
}

export function AcknowledgeJob200ResponseToJSON(
json: any,
): AcknowledgeJob200Response {
return AcknowledgeJob200ResponseToJSONTyped(json, false);
}

export function AcknowledgeJob200ResponseToJSONTyped(
value?: AcknowledgeJob200Response | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
success: value["success"],
};
Expand Down
8 changes: 8 additions & 0 deletions packages/node-sdk/src/models/CreateRelease200Response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,19 @@ export function CreateRelease200ResponseFromJSONTyped(
}

export function CreateRelease200ResponseToJSON(
json: any,
): CreateRelease200Response {
return CreateRelease200ResponseToJSONTyped(json, false);
}

export function CreateRelease200ResponseToJSONTyped(
value?: CreateRelease200Response | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
version: value["version"],
Expand Down
8 changes: 7 additions & 1 deletion packages/node-sdk/src/models/CreateReleaseRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,18 @@ export function CreateReleaseRequestFromJSONTyped(
};
}

export function CreateReleaseRequestToJSON(
export function CreateReleaseRequestToJSON(json: any): CreateReleaseRequest {
return CreateReleaseRequestToJSONTyped(json, false);
}

export function CreateReleaseRequestToJSONTyped(
value?: CreateReleaseRequest | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
version: value["version"],
deploymentId: value["deploymentId"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,19 @@ export function GetAgentRunningJob200ResponseInnerFromJSONTyped(
}

export function GetAgentRunningJob200ResponseInnerToJSON(
json: any,
): GetAgentRunningJob200ResponseInner {
return GetAgentRunningJob200ResponseInnerToJSONTyped(json, false);
}

export function GetAgentRunningJob200ResponseInnerToJSONTyped(
value?: GetAgentRunningJob200ResponseInner | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
status: value["status"],
Expand Down
16 changes: 15 additions & 1 deletion packages/node-sdk/src/models/GetJob200Response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,37 @@ import {
GetJob200ResponseApprovalFromJSON,
GetJob200ResponseApprovalFromJSONTyped,
GetJob200ResponseApprovalToJSON,
GetJob200ResponseApprovalToJSONTyped,
} from "./GetJob200ResponseApproval";
import {
GetJob200ResponseDeploymentFromJSON,
GetJob200ResponseDeploymentFromJSONTyped,
GetJob200ResponseDeploymentToJSON,
GetJob200ResponseDeploymentToJSONTyped,
} from "./GetJob200ResponseDeployment";
import {
GetJob200ResponseEnvironmentFromJSON,
GetJob200ResponseEnvironmentFromJSONTyped,
GetJob200ResponseEnvironmentToJSON,
GetJob200ResponseEnvironmentToJSONTyped,
} from "./GetJob200ResponseEnvironment";
import {
GetJob200ResponseReleaseFromJSON,
GetJob200ResponseReleaseFromJSONTyped,
GetJob200ResponseReleaseToJSON,
GetJob200ResponseReleaseToJSONTyped,
} from "./GetJob200ResponseRelease";
import {
GetJob200ResponseRunbookFromJSON,
GetJob200ResponseRunbookFromJSONTyped,
GetJob200ResponseRunbookToJSON,
GetJob200ResponseRunbookToJSONTyped,
} from "./GetJob200ResponseRunbook";
import {
GetJob200ResponseTargetFromJSON,
GetJob200ResponseTargetFromJSONTyped,
GetJob200ResponseTargetToJSON,
GetJob200ResponseTargetToJSONTyped,
} from "./GetJob200ResponseTarget";

/**
Expand Down Expand Up @@ -184,10 +190,18 @@ export function GetJob200ResponseFromJSONTyped(
};
}

export function GetJob200ResponseToJSON(value?: GetJob200Response | null): any {
export function GetJob200ResponseToJSON(json: any): GetJob200Response {
return GetJob200ResponseToJSONTyped(json, false);
}

export function GetJob200ResponseToJSONTyped(
value?: GetJob200Response | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
status: value["status"],
Expand Down
9 changes: 9 additions & 0 deletions packages/node-sdk/src/models/GetJob200ResponseApproval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
GetJob200ResponseApprovalApproverFromJSON,
GetJob200ResponseApprovalApproverFromJSONTyped,
GetJob200ResponseApprovalApproverToJSON,
GetJob200ResponseApprovalApproverToJSONTyped,
} from "./GetJob200ResponseApprovalApprover";

/**
Expand Down Expand Up @@ -92,11 +93,19 @@ export function GetJob200ResponseApprovalFromJSONTyped(
}

export function GetJob200ResponseApprovalToJSON(
json: any,
): GetJob200ResponseApproval {
return GetJob200ResponseApprovalToJSONTyped(json, false);
}

export function GetJob200ResponseApprovalToJSONTyped(
value?: GetJob200ResponseApproval | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
status: value["status"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,19 @@ export function GetJob200ResponseApprovalApproverFromJSONTyped(
}

export function GetJob200ResponseApprovalApproverToJSON(
json: any,
): GetJob200ResponseApprovalApprover {
return GetJob200ResponseApprovalApproverToJSONTyped(json, false);
}

export function GetJob200ResponseApprovalApproverToJSONTyped(
value?: GetJob200ResponseApprovalApprover | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
name: value["name"],
Expand Down
8 changes: 8 additions & 0 deletions packages/node-sdk/src/models/GetJob200ResponseDeployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,19 @@ export function GetJob200ResponseDeploymentFromJSONTyped(
}

export function GetJob200ResponseDeploymentToJSON(
json: any,
): GetJob200ResponseDeployment {
return GetJob200ResponseDeploymentToJSONTyped(json, false);
}

export function GetJob200ResponseDeploymentToJSONTyped(
value?: GetJob200ResponseDeployment | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
name: value["name"],
Expand Down
8 changes: 8 additions & 0 deletions packages/node-sdk/src/models/GetJob200ResponseEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,19 @@ export function GetJob200ResponseEnvironmentFromJSONTyped(
}

export function GetJob200ResponseEnvironmentToJSON(
json: any,
): GetJob200ResponseEnvironment {
return GetJob200ResponseEnvironmentToJSONTyped(json, false);
}

export function GetJob200ResponseEnvironmentToJSONTyped(
value?: GetJob200ResponseEnvironment | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
name: value["name"],
Expand Down
8 changes: 8 additions & 0 deletions packages/node-sdk/src/models/GetJob200ResponseRelease.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,19 @@ export function GetJob200ResponseReleaseFromJSONTyped(
}

export function GetJob200ResponseReleaseToJSON(
json: any,
): GetJob200ResponseRelease {
return GetJob200ResponseReleaseToJSONTyped(json, false);
}

export function GetJob200ResponseReleaseToJSONTyped(
value?: GetJob200ResponseRelease | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
version: value["version"],
Expand Down
8 changes: 8 additions & 0 deletions packages/node-sdk/src/models/GetJob200ResponseRunbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,19 @@ export function GetJob200ResponseRunbookFromJSONTyped(
}

export function GetJob200ResponseRunbookToJSON(
json: any,
): GetJob200ResponseRunbook {
return GetJob200ResponseRunbookToJSONTyped(json, false);
}

export function GetJob200ResponseRunbookToJSONTyped(
value?: GetJob200ResponseRunbook | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
name: value["name"],
Expand Down
8 changes: 8 additions & 0 deletions packages/node-sdk/src/models/GetJob200ResponseTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,19 @@ export function GetJob200ResponseTargetFromJSONTyped(
}

export function GetJob200ResponseTargetToJSON(
json: any,
): GetJob200ResponseTarget {
return GetJob200ResponseTargetToJSONTyped(json, false);
}

export function GetJob200ResponseTargetToJSONTyped(
value?: GetJob200ResponseTarget | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
name: value["name"],
Expand Down
9 changes: 9 additions & 0 deletions packages/node-sdk/src/models/GetNextJobs200Response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
GetNextJobs200ResponseJobsInnerFromJSON,
GetNextJobs200ResponseJobsInnerFromJSONTyped,
GetNextJobs200ResponseJobsInnerToJSON,
GetNextJobs200ResponseJobsInnerToJSONTyped,
} from "./GetNextJobs200ResponseJobsInner";

/**
Expand Down Expand Up @@ -67,11 +68,19 @@ export function GetNextJobs200ResponseFromJSONTyped(
}

export function GetNextJobs200ResponseToJSON(
json: any,
): GetNextJobs200Response {
return GetNextJobs200ResponseToJSONTyped(json, false);
}

export function GetNextJobs200ResponseToJSONTyped(
value?: GetNextJobs200Response | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
jobs:
value["jobs"] == null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,19 @@ export function GetNextJobs200ResponseJobsInnerFromJSONTyped(
}

export function GetNextJobs200ResponseJobsInnerToJSON(
json: any,
): GetNextJobs200ResponseJobsInner {
return GetNextJobs200ResponseJobsInnerToJSONTyped(json, false);
}

export function GetNextJobs200ResponseJobsInnerToJSONTyped(
value?: GetNextJobs200ResponseJobsInner | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
status: value["status"],
Expand Down
9 changes: 8 additions & 1 deletion packages/node-sdk/src/models/GetTarget200Response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
GetTarget200ResponseProviderFromJSON,
GetTarget200ResponseProviderFromJSONTyped,
GetTarget200ResponseProviderToJSON,
GetTarget200ResponseProviderToJSONTyped,
} from "./GetTarget200ResponseProvider";

/**
Expand Down Expand Up @@ -143,12 +144,18 @@ export function GetTarget200ResponseFromJSONTyped(
};
}

export function GetTarget200ResponseToJSON(
export function GetTarget200ResponseToJSON(json: any): GetTarget200Response {
return GetTarget200ResponseToJSONTyped(json, false);
}

export function GetTarget200ResponseToJSONTyped(
value?: GetTarget200Response | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
name: value["name"],
Expand Down
8 changes: 8 additions & 0 deletions packages/node-sdk/src/models/GetTarget200ResponseProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,19 @@ export function GetTarget200ResponseProviderFromJSONTyped(
}

export function GetTarget200ResponseProviderToJSON(
json: any,
): GetTarget200ResponseProvider {
return GetTarget200ResponseProviderToJSONTyped(json, false);
}

export function GetTarget200ResponseProviderToJSONTyped(
value?: GetTarget200ResponseProvider | null,
ignoreDiscriminator: boolean = false,
): any {
if (value == null) {
return value;
}

return {
id: value["id"],
name: value["name"],
Expand Down
Loading

0 comments on commit 1da234d

Please sign in to comment.