@openshift-migration-advisor/planner-sdk 0.6.0-2f3328163282 → 0.6.0-45db23cf6168

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.6.0-2f3328163282
1
+ # @openshift-migration-advisor/planner-sdk@0.6.0-45db23cf6168
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -139,7 +139,7 @@ and is automatically generated by the
139
139
  [OpenAPI Generator](https://openapi-generator.tech) project:
140
140
 
141
141
  - API version: `undefined`
142
- - Package version: `0.6.0-2f3328163282`
142
+ - Package version: `0.6.0-45db23cf6168`
143
143
  - Generator version: `7.21.0-SNAPSHOT`
144
144
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
145
145
 
@@ -27,6 +27,18 @@ export interface Info {
27
27
  * @memberof Info
28
28
  */
29
29
  versionName: string;
30
+ /**
31
+ * Agent git commit hash
32
+ * @type {string}
33
+ * @memberof Info
34
+ */
35
+ agentGitCommit?: string | null;
36
+ /**
37
+ * Agent version name, based on git tag
38
+ * @type {string}
39
+ * @memberof Info
40
+ */
41
+ agentVersionName?: string | null;
30
42
  }
31
43
  /**
32
44
  * Check if a given object implements the Info interface.
@@ -31,6 +31,8 @@ export function InfoFromJSONTyped(json, ignoreDiscriminator) {
31
31
  return {
32
32
  'gitCommit': json['gitCommit'],
33
33
  'versionName': json['versionName'],
34
+ 'agentGitCommit': json['agentGitCommit'] == null ? undefined : json['agentGitCommit'],
35
+ 'agentVersionName': json['agentVersionName'] == null ? undefined : json['agentVersionName'],
34
36
  };
35
37
  }
36
38
  export function InfoToJSON(json) {
@@ -43,5 +45,7 @@ export function InfoToJSONTyped(value, ignoreDiscriminator = false) {
43
45
  return {
44
46
  'gitCommit': value['gitCommit'],
45
47
  'versionName': value['versionName'],
48
+ 'agentGitCommit': value['agentGitCommit'],
49
+ 'agentVersionName': value['agentVersionName'],
46
50
  };
47
51
  }
@@ -27,6 +27,18 @@ export interface Info {
27
27
  * @memberof Info
28
28
  */
29
29
  versionName: string;
30
+ /**
31
+ * Agent git commit hash
32
+ * @type {string}
33
+ * @memberof Info
34
+ */
35
+ agentGitCommit?: string | null;
36
+ /**
37
+ * Agent version name, based on git tag
38
+ * @type {string}
39
+ * @memberof Info
40
+ */
41
+ agentVersionName?: string | null;
30
42
  }
31
43
  /**
32
44
  * Check if a given object implements the Info interface.
@@ -38,6 +38,8 @@ function InfoFromJSONTyped(json, ignoreDiscriminator) {
38
38
  return {
39
39
  'gitCommit': json['gitCommit'],
40
40
  'versionName': json['versionName'],
41
+ 'agentGitCommit': json['agentGitCommit'] == null ? undefined : json['agentGitCommit'],
42
+ 'agentVersionName': json['agentVersionName'] == null ? undefined : json['agentVersionName'],
41
43
  };
42
44
  }
43
45
  function InfoToJSON(json) {
@@ -50,5 +52,7 @@ function InfoToJSONTyped(value, ignoreDiscriminator = false) {
50
52
  return {
51
53
  'gitCommit': value['gitCommit'],
52
54
  'versionName': value['versionName'],
55
+ 'agentGitCommit': value['agentGitCommit'],
56
+ 'agentVersionName': value['agentVersionName'],
53
57
  };
54
58
  }
package/docs/Info.md CHANGED
@@ -9,6 +9,8 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `gitCommit` | string
11
11
  `versionName` | string
12
+ `agentGitCommit` | string
13
+ `agentVersionName` | string
12
14
 
13
15
  ## Example
14
16
 
@@ -19,6 +21,8 @@ import type { Info } from '@openshift-migration-advisor/planner-sdk'
19
21
  const example = {
20
22
  "gitCommit": c5a1661465a25b17ceeeb77d1ec40deb57d8da44,
21
23
  "versionName": 0.1.4-40-gc5a1661,
24
+ "agentGitCommit": c5a1661465a25b17ceeeb77d1ec40deb57d8da44,
25
+ "agentVersionName": 0.1.4-40-gc5a1661,
22
26
  } satisfies Info
23
27
 
24
28
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.6.0-2f3328163282",
3
+ "version": "0.6.0-45db23cf6168",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -31,6 +31,18 @@ export interface Info {
31
31
  * @memberof Info
32
32
  */
33
33
  versionName: string;
34
+ /**
35
+ * Agent git commit hash
36
+ * @type {string}
37
+ * @memberof Info
38
+ */
39
+ agentGitCommit?: string | null;
40
+ /**
41
+ * Agent version name, based on git tag
42
+ * @type {string}
43
+ * @memberof Info
44
+ */
45
+ agentVersionName?: string | null;
34
46
  }
35
47
 
36
48
  /**
@@ -54,6 +66,8 @@ export function InfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Info
54
66
 
55
67
  'gitCommit': json['gitCommit'],
56
68
  'versionName': json['versionName'],
69
+ 'agentGitCommit': json['agentGitCommit'] == null ? undefined : json['agentGitCommit'],
70
+ 'agentVersionName': json['agentVersionName'] == null ? undefined : json['agentVersionName'],
57
71
  };
58
72
  }
59
73
 
@@ -70,6 +84,8 @@ export function InfoToJSONTyped(value?: Info | null, ignoreDiscriminator: boolea
70
84
 
71
85
  'gitCommit': value['gitCommit'],
72
86
  'versionName': value['versionName'],
87
+ 'agentGitCommit': value['agentGitCommit'],
88
+ 'agentVersionName': value['agentVersionName'],
73
89
  };
74
90
  }
75
91