@cosmotech/aip-client 0.2.0-dev → 0.2.0-dev2

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 (161) hide show
  1. package/README.md +2 -2
  2. package/api/default-api.ts +1 -1
  3. package/api/metric-api.ts +1 -1
  4. package/api/metric-costs-per-year-api.ts +1 -1
  5. package/api/objective-api.ts +1 -1
  6. package/api/objective-weight-api.ts +1 -1
  7. package/api/value-framework-api.ts +1 -1
  8. package/api.ts +1 -1
  9. package/base.ts +1 -1
  10. package/common.ts +1 -1
  11. package/configuration.ts +1 -1
  12. package/dist/api/default-api.d.ts +69 -0
  13. package/dist/api/default-api.js +128 -0
  14. package/dist/api/metric-api.d.ts +216 -0
  15. package/dist/api/metric-api.js +430 -0
  16. package/dist/api/metric-costs-per-year-api.d.ts +240 -0
  17. package/dist/api/metric-costs-per-year-api.js +472 -0
  18. package/dist/api/objective-api.d.ts +216 -0
  19. package/dist/api/objective-api.js +430 -0
  20. package/dist/api/objective-weight-api.d.ts +228 -0
  21. package/dist/api/objective-weight-api.js +451 -0
  22. package/dist/api/value-framework-api.d.ts +216 -0
  23. package/dist/api/value-framework-api.js +430 -0
  24. package/dist/api.d.ts +17 -0
  25. package/dist/api.js +35 -0
  26. package/dist/base.d.ts +66 -0
  27. package/dist/base.js +65 -0
  28. package/dist/common.d.ts +65 -0
  29. package/dist/common.js +161 -0
  30. package/dist/configuration.d.ts +91 -0
  31. package/dist/configuration.js +43 -0
  32. package/dist/esm/api/default-api.d.ts +69 -0
  33. package/dist/esm/api/default-api.js +121 -0
  34. package/dist/esm/api/metric-api.d.ts +216 -0
  35. package/dist/esm/api/metric-api.js +423 -0
  36. package/dist/esm/api/metric-costs-per-year-api.d.ts +240 -0
  37. package/dist/esm/api/metric-costs-per-year-api.js +465 -0
  38. package/dist/esm/api/objective-api.d.ts +216 -0
  39. package/dist/esm/api/objective-api.js +423 -0
  40. package/dist/esm/api/objective-weight-api.d.ts +228 -0
  41. package/dist/esm/api/objective-weight-api.js +444 -0
  42. package/dist/esm/api/value-framework-api.d.ts +216 -0
  43. package/dist/esm/api/value-framework-api.js +423 -0
  44. package/dist/esm/api.d.ts +17 -0
  45. package/dist/esm/api.js +19 -0
  46. package/dist/esm/base.d.ts +66 -0
  47. package/dist/esm/base.js +60 -0
  48. package/dist/esm/common.d.ts +65 -0
  49. package/dist/esm/common.js +149 -0
  50. package/dist/esm/configuration.d.ts +91 -0
  51. package/dist/esm/configuration.js +39 -0
  52. package/dist/esm/index.d.ts +14 -0
  53. package/dist/esm/index.js +16 -0
  54. package/dist/esm/models/httpvalidation-error.d.ts +25 -0
  55. package/dist/esm/models/httpvalidation-error.js +14 -0
  56. package/dist/esm/models/index.d.ts +20 -0
  57. package/dist/esm/models/index.js +20 -0
  58. package/dist/esm/models/measurement-type.d.ts +21 -0
  59. package/dist/esm/models/measurement-type.js +22 -0
  60. package/dist/esm/models/metric-costs-per-year-create.d.ts +48 -0
  61. package/dist/esm/models/metric-costs-per-year-create.js +14 -0
  62. package/dist/esm/models/metric-costs-per-year-response.d.ts +54 -0
  63. package/dist/esm/models/metric-costs-per-year-response.js +14 -0
  64. package/dist/esm/models/metric-costs-per-year-update.d.ts +30 -0
  65. package/dist/esm/models/metric-costs-per-year-update.js +14 -0
  66. package/dist/esm/models/metric-create.d.ts +68 -0
  67. package/dist/esm/models/metric-create.js +14 -0
  68. package/dist/esm/models/metric-response.d.ts +92 -0
  69. package/dist/esm/models/metric-response.js +14 -0
  70. package/dist/esm/models/metric-type.d.ts +22 -0
  71. package/dist/esm/models/metric-type.js +23 -0
  72. package/dist/esm/models/metric-update.d.ts +56 -0
  73. package/dist/esm/models/metric-update.js +14 -0
  74. package/dist/esm/models/objective-create.d.ts +30 -0
  75. package/dist/esm/models/objective-create.js +14 -0
  76. package/dist/esm/models/objective-response.d.ts +54 -0
  77. package/dist/esm/models/objective-response.js +14 -0
  78. package/dist/esm/models/objective-update.d.ts +30 -0
  79. package/dist/esm/models/objective-update.js +14 -0
  80. package/dist/esm/models/objective-weight-create.d.ts +36 -0
  81. package/dist/esm/models/objective-weight-create.js +14 -0
  82. package/dist/esm/models/objective-weight-response.d.ts +42 -0
  83. package/dist/esm/models/objective-weight-response.js +14 -0
  84. package/dist/esm/models/objective-weight-update.d.ts +24 -0
  85. package/dist/esm/models/objective-weight-update.js +14 -0
  86. package/dist/esm/models/validation-error-loc-inner.d.ts +18 -0
  87. package/dist/esm/models/validation-error-loc-inner.js +14 -0
  88. package/dist/esm/models/validation-error.d.ts +49 -0
  89. package/dist/esm/models/validation-error.js +14 -0
  90. package/dist/esm/models/value-framework-create.d.ts +30 -0
  91. package/dist/esm/models/value-framework-create.js +14 -0
  92. package/dist/esm/models/value-framework-response.d.ts +54 -0
  93. package/dist/esm/models/value-framework-response.js +14 -0
  94. package/dist/esm/models/value-framework-update.d.ts +30 -0
  95. package/dist/esm/models/value-framework-update.js +14 -0
  96. package/dist/index.d.ts +14 -0
  97. package/dist/index.js +32 -0
  98. package/dist/models/httpvalidation-error.d.ts +25 -0
  99. package/dist/models/httpvalidation-error.js +15 -0
  100. package/dist/models/index.d.ts +20 -0
  101. package/dist/models/index.js +36 -0
  102. package/dist/models/measurement-type.d.ts +21 -0
  103. package/dist/models/measurement-type.js +25 -0
  104. package/dist/models/metric-costs-per-year-create.d.ts +48 -0
  105. package/dist/models/metric-costs-per-year-create.js +15 -0
  106. package/dist/models/metric-costs-per-year-response.d.ts +54 -0
  107. package/dist/models/metric-costs-per-year-response.js +15 -0
  108. package/dist/models/metric-costs-per-year-update.d.ts +30 -0
  109. package/dist/models/metric-costs-per-year-update.js +15 -0
  110. package/dist/models/metric-create.d.ts +68 -0
  111. package/dist/models/metric-create.js +15 -0
  112. package/dist/models/metric-response.d.ts +92 -0
  113. package/dist/models/metric-response.js +15 -0
  114. package/dist/models/metric-type.d.ts +22 -0
  115. package/dist/models/metric-type.js +26 -0
  116. package/dist/models/metric-update.d.ts +56 -0
  117. package/dist/models/metric-update.js +15 -0
  118. package/dist/models/objective-create.d.ts +30 -0
  119. package/dist/models/objective-create.js +15 -0
  120. package/dist/models/objective-response.d.ts +54 -0
  121. package/dist/models/objective-response.js +15 -0
  122. package/dist/models/objective-update.d.ts +30 -0
  123. package/dist/models/objective-update.js +15 -0
  124. package/dist/models/objective-weight-create.d.ts +36 -0
  125. package/dist/models/objective-weight-create.js +15 -0
  126. package/dist/models/objective-weight-response.d.ts +42 -0
  127. package/dist/models/objective-weight-response.js +15 -0
  128. package/dist/models/objective-weight-update.d.ts +24 -0
  129. package/dist/models/objective-weight-update.js +15 -0
  130. package/dist/models/validation-error-loc-inner.d.ts +18 -0
  131. package/dist/models/validation-error-loc-inner.js +15 -0
  132. package/dist/models/validation-error.d.ts +49 -0
  133. package/dist/models/validation-error.js +15 -0
  134. package/dist/models/value-framework-create.d.ts +30 -0
  135. package/dist/models/value-framework-create.js +15 -0
  136. package/dist/models/value-framework-response.d.ts +54 -0
  137. package/dist/models/value-framework-response.js +15 -0
  138. package/dist/models/value-framework-update.d.ts +30 -0
  139. package/dist/models/value-framework-update.js +15 -0
  140. package/index.ts +1 -1
  141. package/models/httpvalidation-error.ts +1 -1
  142. package/models/measurement-type.ts +1 -1
  143. package/models/metric-costs-per-year-create.ts +1 -1
  144. package/models/metric-costs-per-year-response.ts +1 -1
  145. package/models/metric-costs-per-year-update.ts +1 -1
  146. package/models/metric-create.ts +1 -1
  147. package/models/metric-response.ts +1 -1
  148. package/models/metric-type.ts +1 -1
  149. package/models/metric-update.ts +1 -1
  150. package/models/objective-create.ts +1 -1
  151. package/models/objective-response.ts +1 -1
  152. package/models/objective-update.ts +1 -1
  153. package/models/objective-weight-create.ts +1 -1
  154. package/models/objective-weight-response.ts +1 -1
  155. package/models/objective-weight-update.ts +1 -1
  156. package/models/validation-error-loc-inner.ts +1 -1
  157. package/models/validation-error.ts +1 -1
  158. package/models/value-framework-create.ts +1 -1
  159. package/models/value-framework-response.ts +1 -1
  160. package/models/value-framework-update.ts +1 -1
  161. package/package.json +1 -1
@@ -0,0 +1,228 @@
1
+ /**
2
+ * Asset Investment Planning
3
+ * API for Asset Investment Planning
4
+ *
5
+ * The version of the OpenAPI document: 0.2.0-dev2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { ObjectiveWeightCreate } from '../models';
16
+ import { ObjectiveWeightResponse } from '../models';
17
+ import { ObjectiveWeightUpdate } from '../models';
18
+ /**
19
+ * ObjectiveWeightApi - axios parameter creator
20
+ * @export
21
+ */
22
+ export declare const ObjectiveWeightApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ * Delete an objective weight link by its composite key (framework_id, objective_id).
25
+ * @summary Delete an objective weight
26
+ * @param {string} frameworkId UUID of the value framework
27
+ * @param {string} objectiveId UUID of the objective
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ deleteObjectiveWeight: (frameworkId: string, objectiveId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ * Retrieve the weight for a specific objective within a specific framework.
34
+ * @summary Get an objective weight by framework and objective
35
+ * @param {string} frameworkId UUID of the value framework
36
+ * @param {string} objectiveId UUID of the objective
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ getObjectiveWeightByKeys: (frameworkId: string, objectiveId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ * Retrieve a paginated list of all objective-framework weight assignments.
43
+ * @summary List objective weights
44
+ * @param {number} [offset] Number of records to skip
45
+ * @param {number} [limit] Max number of records to return
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ getObjectiveWeights: (offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
50
+ /**
51
+ * Update the weight of an objective within a value framework. Identified by the composite key (framework_id, objective_id).
52
+ * @summary Partially update an objective weight
53
+ * @param {string} frameworkId UUID of the value framework
54
+ * @param {string} objectiveId UUID of the objective
55
+ * @param {ObjectiveWeightUpdate} objectiveWeightUpdate
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ patchObjectiveWeight: (frameworkId: string, objectiveId: string, objectiveWeightUpdate: ObjectiveWeightUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * Assign a weight to an objective within a framework. Weight must be >= 0, defaults to 1.0.
62
+ * @summary Create an objective weight
63
+ * @param {ObjectiveWeightCreate} objectiveWeightCreate
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ postObjectiveWeight: (objectiveWeightCreate: ObjectiveWeightCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
68
+ };
69
+ /**
70
+ * ObjectiveWeightApi - functional programming interface
71
+ * @export
72
+ */
73
+ export declare const ObjectiveWeightApiFp: (configuration?: Configuration) => {
74
+ /**
75
+ * Delete an objective weight link by its composite key (framework_id, objective_id).
76
+ * @summary Delete an objective weight
77
+ * @param {string} frameworkId UUID of the value framework
78
+ * @param {string} objectiveId UUID of the objective
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ deleteObjectiveWeight(frameworkId: string, objectiveId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
83
+ /**
84
+ * Retrieve the weight for a specific objective within a specific framework.
85
+ * @summary Get an objective weight by framework and objective
86
+ * @param {string} frameworkId UUID of the value framework
87
+ * @param {string} objectiveId UUID of the objective
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ getObjectiveWeightByKeys(frameworkId: string, objectiveId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectiveWeightResponse>>;
92
+ /**
93
+ * Retrieve a paginated list of all objective-framework weight assignments.
94
+ * @summary List objective weights
95
+ * @param {number} [offset] Number of records to skip
96
+ * @param {number} [limit] Max number of records to return
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ getObjectiveWeights(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectiveWeightResponse>>>;
101
+ /**
102
+ * Update the weight of an objective within a value framework. Identified by the composite key (framework_id, objective_id).
103
+ * @summary Partially update an objective weight
104
+ * @param {string} frameworkId UUID of the value framework
105
+ * @param {string} objectiveId UUID of the objective
106
+ * @param {ObjectiveWeightUpdate} objectiveWeightUpdate
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ patchObjectiveWeight(frameworkId: string, objectiveId: string, objectiveWeightUpdate: ObjectiveWeightUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectiveWeightResponse>>;
111
+ /**
112
+ * Assign a weight to an objective within a framework. Weight must be >= 0, defaults to 1.0.
113
+ * @summary Create an objective weight
114
+ * @param {ObjectiveWeightCreate} objectiveWeightCreate
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ postObjectiveWeight(objectiveWeightCreate: ObjectiveWeightCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ObjectiveWeightResponse>>;
119
+ };
120
+ /**
121
+ * ObjectiveWeightApi - factory interface
122
+ * @export
123
+ */
124
+ export declare const ObjectiveWeightApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
125
+ /**
126
+ * Delete an objective weight link by its composite key (framework_id, objective_id).
127
+ * @summary Delete an objective weight
128
+ * @param {string} frameworkId UUID of the value framework
129
+ * @param {string} objectiveId UUID of the objective
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ deleteObjectiveWeight(frameworkId: string, objectiveId: string, options?: any): AxiosPromise<void>;
134
+ /**
135
+ * Retrieve the weight for a specific objective within a specific framework.
136
+ * @summary Get an objective weight by framework and objective
137
+ * @param {string} frameworkId UUID of the value framework
138
+ * @param {string} objectiveId UUID of the objective
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ getObjectiveWeightByKeys(frameworkId: string, objectiveId: string, options?: any): AxiosPromise<ObjectiveWeightResponse>;
143
+ /**
144
+ * Retrieve a paginated list of all objective-framework weight assignments.
145
+ * @summary List objective weights
146
+ * @param {number} [offset] Number of records to skip
147
+ * @param {number} [limit] Max number of records to return
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ getObjectiveWeights(offset?: number, limit?: number, options?: any): AxiosPromise<Array<ObjectiveWeightResponse>>;
152
+ /**
153
+ * Update the weight of an objective within a value framework. Identified by the composite key (framework_id, objective_id).
154
+ * @summary Partially update an objective weight
155
+ * @param {string} frameworkId UUID of the value framework
156
+ * @param {string} objectiveId UUID of the objective
157
+ * @param {ObjectiveWeightUpdate} objectiveWeightUpdate
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ patchObjectiveWeight(frameworkId: string, objectiveId: string, objectiveWeightUpdate: ObjectiveWeightUpdate, options?: any): AxiosPromise<ObjectiveWeightResponse>;
162
+ /**
163
+ * Assign a weight to an objective within a framework. Weight must be >= 0, defaults to 1.0.
164
+ * @summary Create an objective weight
165
+ * @param {ObjectiveWeightCreate} objectiveWeightCreate
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ postObjectiveWeight(objectiveWeightCreate: ObjectiveWeightCreate, options?: any): AxiosPromise<ObjectiveWeightResponse>;
170
+ };
171
+ /**
172
+ * ObjectiveWeightApi - object-oriented interface
173
+ * @export
174
+ * @class ObjectiveWeightApi
175
+ * @extends {BaseAPI}
176
+ */
177
+ export declare class ObjectiveWeightApi extends BaseAPI {
178
+ /**
179
+ * Delete an objective weight link by its composite key (framework_id, objective_id).
180
+ * @summary Delete an objective weight
181
+ * @param {string} frameworkId UUID of the value framework
182
+ * @param {string} objectiveId UUID of the objective
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ * @memberof ObjectiveWeightApi
186
+ */
187
+ deleteObjectiveWeight(frameworkId: string, objectiveId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
188
+ /**
189
+ * Retrieve the weight for a specific objective within a specific framework.
190
+ * @summary Get an objective weight by framework and objective
191
+ * @param {string} frameworkId UUID of the value framework
192
+ * @param {string} objectiveId UUID of the objective
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ * @memberof ObjectiveWeightApi
196
+ */
197
+ getObjectiveWeightByKeys(frameworkId: string, objectiveId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectiveWeightResponse, any, {}>>;
198
+ /**
199
+ * Retrieve a paginated list of all objective-framework weight assignments.
200
+ * @summary List objective weights
201
+ * @param {number} [offset] Number of records to skip
202
+ * @param {number} [limit] Max number of records to return
203
+ * @param {*} [options] Override http request option.
204
+ * @throws {RequiredError}
205
+ * @memberof ObjectiveWeightApi
206
+ */
207
+ getObjectiveWeights(offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectiveWeightResponse[], any, {}>>;
208
+ /**
209
+ * Update the weight of an objective within a value framework. Identified by the composite key (framework_id, objective_id).
210
+ * @summary Partially update an objective weight
211
+ * @param {string} frameworkId UUID of the value framework
212
+ * @param {string} objectiveId UUID of the objective
213
+ * @param {ObjectiveWeightUpdate} objectiveWeightUpdate
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ * @memberof ObjectiveWeightApi
217
+ */
218
+ patchObjectiveWeight(frameworkId: string, objectiveId: string, objectiveWeightUpdate: ObjectiveWeightUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectiveWeightResponse, any, {}>>;
219
+ /**
220
+ * Assign a weight to an objective within a framework. Weight must be >= 0, defaults to 1.0.
221
+ * @summary Create an objective weight
222
+ * @param {ObjectiveWeightCreate} objectiveWeightCreate
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ * @memberof ObjectiveWeightApi
226
+ */
227
+ postObjectiveWeight(objectiveWeightCreate: ObjectiveWeightCreate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectiveWeightResponse, any, {}>>;
228
+ }