@openshift-migration-advisor/planner-sdk 0.12.0 → 0.13.1

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.
Files changed (76) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +5 -3
  4. package/dist/apis/AccountApi.d.ts +7 -1
  5. package/dist/apis/AccountApi.js +20 -14
  6. package/dist/apis/AssessmentApi.d.ts +12 -1
  7. package/dist/apis/AssessmentApi.js +30 -19
  8. package/dist/apis/ImageApi.d.ts +1 -1
  9. package/dist/apis/ImageApi.js +2 -2
  10. package/dist/apis/InfoApi.d.ts +1 -1
  11. package/dist/apis/InfoApi.js +2 -2
  12. package/dist/apis/JobApi.d.ts +1 -1
  13. package/dist/apis/JobApi.js +4 -4
  14. package/dist/apis/PartnerApi.d.ts +5 -1
  15. package/dist/apis/PartnerApi.js +13 -9
  16. package/dist/apis/SourceApi.d.ts +5 -1
  17. package/dist/apis/SourceApi.js +15 -11
  18. package/dist/esm/apis/AccountApi.d.ts +7 -1
  19. package/dist/esm/apis/AccountApi.js +7 -1
  20. package/dist/esm/apis/AssessmentApi.d.ts +12 -1
  21. package/dist/esm/apis/AssessmentApi.js +12 -1
  22. package/dist/esm/apis/ImageApi.d.ts +1 -1
  23. package/dist/esm/apis/ImageApi.js +1 -1
  24. package/dist/esm/apis/InfoApi.d.ts +1 -1
  25. package/dist/esm/apis/InfoApi.js +1 -1
  26. package/dist/esm/apis/JobApi.d.ts +1 -1
  27. package/dist/esm/apis/JobApi.js +1 -1
  28. package/dist/esm/apis/PartnerApi.d.ts +5 -1
  29. package/dist/esm/apis/PartnerApi.js +5 -1
  30. package/dist/esm/apis/SourceApi.d.ts +5 -1
  31. package/dist/esm/apis/SourceApi.js +5 -1
  32. package/dist/esm/models/Assessment.d.ts +22 -0
  33. package/dist/esm/models/Assessment.js +13 -0
  34. package/dist/esm/models/AssessmentSharing.d.ts +45 -0
  35. package/dist/esm/models/AssessmentSharing.js +50 -0
  36. package/dist/esm/models/SharingSubject.d.ts +38 -0
  37. package/dist/esm/models/SharingSubject.js +47 -0
  38. package/dist/esm/models/SourceCreate.d.ts +26 -0
  39. package/dist/esm/models/SourceCreate.js +13 -0
  40. package/dist/esm/models/SourceUpdate.d.ts +26 -0
  41. package/dist/esm/models/SourceUpdate.js +13 -0
  42. package/dist/esm/models/index.d.ts +2 -0
  43. package/dist/esm/models/index.js +2 -0
  44. package/dist/models/Assessment.d.ts +22 -0
  45. package/dist/models/Assessment.js +14 -1
  46. package/dist/models/AssessmentSharing.d.ts +45 -0
  47. package/dist/models/AssessmentSharing.js +57 -0
  48. package/dist/models/SharingSubject.d.ts +38 -0
  49. package/dist/models/SharingSubject.js +54 -0
  50. package/dist/models/SourceCreate.d.ts +26 -0
  51. package/dist/models/SourceCreate.js +14 -0
  52. package/dist/models/SourceUpdate.d.ts +26 -0
  53. package/dist/models/SourceUpdate.js +14 -0
  54. package/dist/models/index.d.ts +2 -0
  55. package/dist/models/index.js +2 -0
  56. package/docs/Assessment.md +4 -0
  57. package/docs/AssessmentSharing.md +38 -0
  58. package/docs/SharingSubject.md +36 -0
  59. package/docs/SourceCreate.md +6 -0
  60. package/docs/SourceUpdate.md +6 -0
  61. package/package.json +1 -1
  62. package/src/apis/AccountApi.ts +20 -11
  63. package/src/apis/AssessmentApi.ts +35 -16
  64. package/src/apis/HealthApi.ts +0 -1
  65. package/src/apis/ImageApi.ts +2 -5
  66. package/src/apis/InfoApi.ts +2 -5
  67. package/src/apis/JobApi.ts +2 -5
  68. package/src/apis/PartnerApi.ts +14 -9
  69. package/src/apis/SourceApi.ts +14 -9
  70. package/src/models/Assessment.ts +33 -0
  71. package/src/models/AssessmentSharing.ts +91 -0
  72. package/src/models/SharingSubject.ts +75 -0
  73. package/src/models/SourceCreate.ts +35 -0
  74. package/src/models/SourceUpdate.ts +35 -0
  75. package/src/models/index.ts +2 -0
  76. package/src/runtime.ts +0 -1
@@ -77,8 +77,37 @@ export interface SourceUpdate {
77
77
  * @memberof SourceUpdate
78
78
  */
79
79
  network?: VmNetwork;
80
+ /**
81
+ *
82
+ * @type {VmNetwork}
83
+ * @memberof SourceUpdate
84
+ */
85
+ vmNetwork?: VmNetwork;
86
+ /**
87
+ * Set to false to clear all proxy fields. When true or omitted, proxy fields are preserved or updated normally.
88
+ * @type {boolean}
89
+ * @memberof SourceUpdate
90
+ */
91
+ enableProxy?: boolean;
92
+ /**
93
+ * Set to dhcp to clear all network fields. Set to static when providing vmNetwork/network data. When omitted, network fields are preserved or updated normally.
94
+ * @type {SourceUpdateNetworkConfigTypeEnum}
95
+ * @memberof SourceUpdate
96
+ */
97
+ networkConfigType?: SourceUpdateNetworkConfigTypeEnum;
80
98
  }
81
99
 
100
+
101
+ /**
102
+ * @export
103
+ */
104
+ export const SourceUpdateNetworkConfigTypeEnum = {
105
+ Dhcp: 'dhcp',
106
+ Static: 'static'
107
+ } as const;
108
+ export type SourceUpdateNetworkConfigTypeEnum = typeof SourceUpdateNetworkConfigTypeEnum[keyof typeof SourceUpdateNetworkConfigTypeEnum];
109
+
110
+
82
111
  /**
83
112
  * Check if a given object implements the SourceUpdate interface.
84
113
  */
@@ -102,6 +131,9 @@ export function SourceUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolea
102
131
  'certificateChain': json['certificateChain'] == null ? undefined : json['certificateChain'],
103
132
  'proxy': json['proxy'] == null ? undefined : AgentProxyFromJSON(json['proxy']),
104
133
  'network': json['network'] == null ? undefined : VmNetworkFromJSON(json['network']),
134
+ 'vmNetwork': json['vmNetwork'] == null ? undefined : VmNetworkFromJSON(json['vmNetwork']),
135
+ 'enableProxy': json['enableProxy'] == null ? undefined : json['enableProxy'],
136
+ 'networkConfigType': json['networkConfigType'] == null ? undefined : json['networkConfigType'],
105
137
  };
106
138
  }
107
139
 
@@ -122,6 +154,9 @@ export function SourceUpdateToJSONTyped(value?: SourceUpdate | null, ignoreDiscr
122
154
  'certificateChain': value['certificateChain'],
123
155
  'proxy': AgentProxyToJSON(value['proxy']),
124
156
  'network': VmNetworkToJSON(value['network']),
157
+ 'vmNetwork': VmNetworkToJSON(value['vmNetwork']),
158
+ 'enableProxy': value['enableProxy'],
159
+ 'networkConfigType': value['networkConfigType'],
125
160
  };
126
161
  }
127
162
 
@@ -4,6 +4,7 @@ export * from './Agent.js';
4
4
  export * from './AgentProxy.js';
5
5
  export * from './Assessment.js';
6
6
  export * from './AssessmentForm.js';
7
+ export * from './AssessmentSharing.js';
7
8
  export * from './AssessmentUpdate.js';
8
9
  export * from './ClusterRequirementsRequest.js';
9
10
  export * from './ClusterRequirementsResponse.js';
@@ -53,6 +54,7 @@ export * from './PartnerRequestUpdate.js';
53
54
  export * from './PartnerSummary.js';
54
55
  export * from './PresignedUrl.js';
55
56
  export * from './SchemaEstimationResult.js';
57
+ export * from './SharingSubject.js';
56
58
  export * from './SizingOverCommitRatio.js';
57
59
  export * from './SizingResourceConsumption.js';
58
60
  export * from './SizingResourceLimits.js';
package/src/runtime.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  export const BASE_PATH = "https://raw.githubusercontent.com".replace(/\/+$/, "");
17
16
 
18
17
  export interface ConfigurationParameters {