fulcrum-cem-client 0.0.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 (457) hide show
  1. package/.openapi-generator/FILES +96 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +46 -0
  5. package/dist/apis/AgentsApi.d.ts +271 -0
  6. package/dist/apis/AgentsApi.js +382 -0
  7. package/dist/apis/CommitmentsApi.d.ts +150 -0
  8. package/dist/apis/CommitmentsApi.js +210 -0
  9. package/dist/apis/EventApi.d.ts +124 -0
  10. package/dist/apis/EventApi.js +174 -0
  11. package/dist/apis/JobsApi.d.ts +231 -0
  12. package/dist/apis/JobsApi.js +324 -0
  13. package/dist/apis/MetricsApi.d.ts +200 -0
  14. package/dist/apis/MetricsApi.js +281 -0
  15. package/dist/apis/NotaryJobsApi.d.ts +153 -0
  16. package/dist/apis/NotaryJobsApi.js +209 -0
  17. package/dist/apis/ParticipantsApi.d.ts +150 -0
  18. package/dist/apis/ParticipantsApi.js +210 -0
  19. package/dist/apis/ServiceOfferingsApi.d.ts +150 -0
  20. package/dist/apis/ServiceOfferingsApi.js +210 -0
  21. package/dist/apis/ServiceOrdersApi.d.ts +102 -0
  22. package/dist/apis/ServiceOrdersApi.js +142 -0
  23. package/dist/apis/ServicesApi.d.ts +520 -0
  24. package/dist/apis/ServicesApi.js +736 -0
  25. package/dist/apis/TokensApi.d.ts +174 -0
  26. package/dist/apis/TokensApi.js +244 -0
  27. package/dist/apis/TransactionsApi.d.ts +198 -0
  28. package/dist/apis/TransactionsApi.js +278 -0
  29. package/dist/apis/index.d.ts +12 -0
  30. package/dist/apis/index.js +30 -0
  31. package/dist/esm/apis/AgentsApi.d.ts +271 -0
  32. package/dist/esm/apis/AgentsApi.js +378 -0
  33. package/dist/esm/apis/CommitmentsApi.d.ts +150 -0
  34. package/dist/esm/apis/CommitmentsApi.js +206 -0
  35. package/dist/esm/apis/EventApi.d.ts +124 -0
  36. package/dist/esm/apis/EventApi.js +170 -0
  37. package/dist/esm/apis/JobsApi.d.ts +231 -0
  38. package/dist/esm/apis/JobsApi.js +320 -0
  39. package/dist/esm/apis/MetricsApi.d.ts +200 -0
  40. package/dist/esm/apis/MetricsApi.js +277 -0
  41. package/dist/esm/apis/NotaryJobsApi.d.ts +153 -0
  42. package/dist/esm/apis/NotaryJobsApi.js +205 -0
  43. package/dist/esm/apis/ParticipantsApi.d.ts +150 -0
  44. package/dist/esm/apis/ParticipantsApi.js +206 -0
  45. package/dist/esm/apis/ServiceOfferingsApi.d.ts +150 -0
  46. package/dist/esm/apis/ServiceOfferingsApi.js +206 -0
  47. package/dist/esm/apis/ServiceOrdersApi.d.ts +102 -0
  48. package/dist/esm/apis/ServiceOrdersApi.js +138 -0
  49. package/dist/esm/apis/ServicesApi.d.ts +520 -0
  50. package/dist/esm/apis/ServicesApi.js +732 -0
  51. package/dist/esm/apis/TokensApi.d.ts +174 -0
  52. package/dist/esm/apis/TokensApi.js +240 -0
  53. package/dist/esm/apis/TransactionsApi.d.ts +198 -0
  54. package/dist/esm/apis/TransactionsApi.js +274 -0
  55. package/dist/esm/apis/index.d.ts +12 -0
  56. package/dist/esm/apis/index.js +14 -0
  57. package/dist/esm/index.d.ts +3 -0
  58. package/dist/esm/index.js +5 -0
  59. package/dist/esm/models/AcknowledgeEvents200Response.d.ts +32 -0
  60. package/dist/esm/models/AcknowledgeEvents200Response.js +41 -0
  61. package/dist/esm/models/AcknowledgeEventsRequest.d.ts +44 -0
  62. package/dist/esm/models/AcknowledgeEventsRequest.js +51 -0
  63. package/dist/esm/models/AgentCreateRes.d.ts +96 -0
  64. package/dist/esm/models/AgentCreateRes.js +65 -0
  65. package/dist/esm/models/AgentRes.d.ts +89 -0
  66. package/dist/esm/models/AgentRes.js +62 -0
  67. package/dist/esm/models/AgentStatus.d.ts +28 -0
  68. package/dist/esm/models/AgentStatus.js +46 -0
  69. package/dist/esm/models/AgentTypeReq.d.ts +32 -0
  70. package/dist/esm/models/AgentTypeReq.js +43 -0
  71. package/dist/esm/models/AgentTypeRes.d.ts +57 -0
  72. package/dist/esm/models/AgentTypeRes.js +50 -0
  73. package/dist/esm/models/AuthRole.d.ts +26 -0
  74. package/dist/esm/models/AuthRole.js +44 -0
  75. package/dist/esm/models/ByPeriodReq.d.ts +39 -0
  76. package/dist/esm/models/ByPeriodReq.js +48 -0
  77. package/dist/esm/models/ByPeriodReqFrom.d.ts +38 -0
  78. package/dist/esm/models/ByPeriodReqFrom.js +47 -0
  79. package/dist/esm/models/CommitmentReq.d.ts +50 -0
  80. package/dist/esm/models/CommitmentReq.js +55 -0
  81. package/dist/esm/models/CommitmentRes.d.ts +68 -0
  82. package/dist/esm/models/CommitmentRes.js +53 -0
  83. package/dist/esm/models/CompleteJobRequest.d.ts +40 -0
  84. package/dist/esm/models/CompleteJobRequest.js +43 -0
  85. package/dist/esm/models/CreateAgentReq.d.ts +58 -0
  86. package/dist/esm/models/CreateAgentReq.js +55 -0
  87. package/dist/esm/models/CreateCEMServiceReq.d.ts +70 -0
  88. package/dist/esm/models/CreateCEMServiceReq.js +67 -0
  89. package/dist/esm/models/CreateEventRequest.d.ts +52 -0
  90. package/dist/esm/models/CreateEventRequest.js +55 -0
  91. package/dist/esm/models/CreateMetricEntryRequest.d.ts +80 -0
  92. package/dist/esm/models/CreateMetricEntryRequest.js +71 -0
  93. package/dist/esm/models/CreateMetricTypeRequest.d.ts +47 -0
  94. package/dist/esm/models/CreateMetricTypeRequest.js +55 -0
  95. package/dist/esm/models/ErrorRes.d.ts +44 -0
  96. package/dist/esm/models/ErrorRes.js +45 -0
  97. package/dist/esm/models/FailJobRequest.d.ts +32 -0
  98. package/dist/esm/models/FailJobRequest.js +43 -0
  99. package/dist/esm/models/JobRes.d.ts +124 -0
  100. package/dist/esm/models/JobRes.js +73 -0
  101. package/dist/esm/models/JobStatus.d.ts +28 -0
  102. package/dist/esm/models/JobStatus.js +46 -0
  103. package/dist/esm/models/LeaseEvents200Response.d.ts +44 -0
  104. package/dist/esm/models/LeaseEvents200Response.js +45 -0
  105. package/dist/esm/models/LeaseEventsRequest.d.ts +50 -0
  106. package/dist/esm/models/LeaseEventsRequest.js +51 -0
  107. package/dist/esm/models/ListEvents200ResponseInner.d.ts +94 -0
  108. package/dist/esm/models/ListEvents200ResponseInner.js +61 -0
  109. package/dist/esm/models/ListMetricEntries200ResponseInner.d.ts +86 -0
  110. package/dist/esm/models/ListMetricEntries200ResponseInner.js +59 -0
  111. package/dist/esm/models/ListMetricTypes200ResponseInner.d.ts +65 -0
  112. package/dist/esm/models/ListMetricTypes200ResponseInner.js +57 -0
  113. package/dist/esm/models/MarkJobUnsupportedRequest.d.ts +32 -0
  114. package/dist/esm/models/MarkJobUnsupportedRequest.js +43 -0
  115. package/dist/esm/models/NotaryJobRes.d.ts +94 -0
  116. package/dist/esm/models/NotaryJobRes.js +63 -0
  117. package/dist/esm/models/NotaryJobStatus.d.ts +28 -0
  118. package/dist/esm/models/NotaryJobStatus.js +46 -0
  119. package/dist/esm/models/PageRes.d.ts +56 -0
  120. package/dist/esm/models/PageRes.js +49 -0
  121. package/dist/esm/models/PaginationParams.d.ts +38 -0
  122. package/dist/esm/models/PaginationParams.js +43 -0
  123. package/dist/esm/models/ParticipantReq.d.ts +39 -0
  124. package/dist/esm/models/ParticipantReq.js +48 -0
  125. package/dist/esm/models/ParticipantRes.d.ts +57 -0
  126. package/dist/esm/models/ParticipantRes.js +50 -0
  127. package/dist/esm/models/ParticipantStatus.d.ts +25 -0
  128. package/dist/esm/models/ParticipantStatus.js +43 -0
  129. package/dist/esm/models/PriceItem.d.ts +68 -0
  130. package/dist/esm/models/PriceItem.js +53 -0
  131. package/dist/esm/models/PropertyDefinition.d.ts +83 -0
  132. package/dist/esm/models/PropertyDefinition.js +66 -0
  133. package/dist/esm/models/ServiceAction.d.ts +28 -0
  134. package/dist/esm/models/ServiceAction.js +46 -0
  135. package/dist/esm/models/ServiceGroupReq.d.ts +38 -0
  136. package/dist/esm/models/ServiceGroupReq.js +47 -0
  137. package/dist/esm/models/ServiceGroupRes.d.ts +56 -0
  138. package/dist/esm/models/ServiceGroupRes.js +49 -0
  139. package/dist/esm/models/ServiceOfferingReq.d.ts +76 -0
  140. package/dist/esm/models/ServiceOfferingReq.js +67 -0
  141. package/dist/esm/models/ServiceOfferingRes.d.ts +108 -0
  142. package/dist/esm/models/ServiceOfferingRes.js +69 -0
  143. package/dist/esm/models/ServiceOfferingResServiceType.d.ts +38 -0
  144. package/dist/esm/models/ServiceOfferingResServiceType.js +43 -0
  145. package/dist/esm/models/ServiceOrderReq.d.ts +38 -0
  146. package/dist/esm/models/ServiceOrderReq.js +43 -0
  147. package/dist/esm/models/ServiceOrderRes.d.ts +141 -0
  148. package/dist/esm/models/ServiceOrderRes.js +80 -0
  149. package/dist/esm/models/ServiceRes.d.ts +170 -0
  150. package/dist/esm/models/ServiceRes.js +89 -0
  151. package/dist/esm/models/ServiceStatus.d.ts +33 -0
  152. package/dist/esm/models/ServiceStatus.js +51 -0
  153. package/dist/esm/models/ServiceTypeReq.d.ts +41 -0
  154. package/dist/esm/models/ServiceTypeReq.js +47 -0
  155. package/dist/esm/models/ServiceTypeRes.d.ts +59 -0
  156. package/dist/esm/models/ServiceTypeRes.js +51 -0
  157. package/dist/esm/models/SubmitNotaryJobReq.d.ts +44 -0
  158. package/dist/esm/models/SubmitNotaryJobReq.js +51 -0
  159. package/dist/esm/models/TokenReq.d.ts +51 -0
  160. package/dist/esm/models/TokenReq.js +54 -0
  161. package/dist/esm/models/TokenRes.d.ts +87 -0
  162. package/dist/esm/models/TokenRes.js +60 -0
  163. package/dist/esm/models/TransactionEntityType.d.ts +26 -0
  164. package/dist/esm/models/TransactionEntityType.js +44 -0
  165. package/dist/esm/models/TransactionRecordReq.d.ts +102 -0
  166. package/dist/esm/models/TransactionRecordReq.js +89 -0
  167. package/dist/esm/models/TransactionRecordRes.d.ts +159 -0
  168. package/dist/esm/models/TransactionRecordRes.js +86 -0
  169. package/dist/esm/models/TransactionStatus.d.ts +26 -0
  170. package/dist/esm/models/TransactionStatus.js +44 -0
  171. package/dist/esm/models/TransactionType.d.ts +26 -0
  172. package/dist/esm/models/TransactionType.js +44 -0
  173. package/dist/esm/models/UpdateAgentReq.d.ts +53 -0
  174. package/dist/esm/models/UpdateAgentReq.js +48 -0
  175. package/dist/esm/models/UpdateCEMServiceReq.d.ts +46 -0
  176. package/dist/esm/models/UpdateCEMServiceReq.js +45 -0
  177. package/dist/esm/models/UpdateJobRequest.d.ts +47 -0
  178. package/dist/esm/models/UpdateJobRequest.js +46 -0
  179. package/dist/esm/models/UpdateMetricTypeRequest.d.ts +32 -0
  180. package/dist/esm/models/UpdateMetricTypeRequest.js +41 -0
  181. package/dist/esm/models/UpdateMyAgentStatusRequest.d.ts +33 -0
  182. package/dist/esm/models/UpdateMyAgentStatusRequest.js +44 -0
  183. package/dist/esm/models/UpdateParticipantRequest.d.ts +39 -0
  184. package/dist/esm/models/UpdateParticipantRequest.js +44 -0
  185. package/dist/esm/models/UpdateServiceGroupRequest.d.ts +32 -0
  186. package/dist/esm/models/UpdateServiceGroupRequest.js +41 -0
  187. package/dist/esm/models/UpdateServiceTypeRequest.d.ts +41 -0
  188. package/dist/esm/models/UpdateServiceTypeRequest.js +45 -0
  189. package/dist/esm/models/UpdateTokenRequest.d.ts +38 -0
  190. package/dist/esm/models/UpdateTokenRequest.js +43 -0
  191. package/dist/esm/models/UpdateTransactionRecordRequest.d.ts +45 -0
  192. package/dist/esm/models/UpdateTransactionRecordRequest.js +46 -0
  193. package/dist/esm/models/ValidatePropertiesReq.d.ts +34 -0
  194. package/dist/esm/models/ValidatePropertiesReq.js +43 -0
  195. package/dist/esm/models/ValidatePropertiesRes.d.ts +39 -0
  196. package/dist/esm/models/ValidatePropertiesRes.js +44 -0
  197. package/dist/esm/models/ValidateServiceTypeProperties200Response.d.ts +38 -0
  198. package/dist/esm/models/ValidateServiceTypeProperties200Response.js +43 -0
  199. package/dist/esm/models/ValidateServiceTypePropertiesRequest.d.ts +34 -0
  200. package/dist/esm/models/ValidateServiceTypePropertiesRequest.js +41 -0
  201. package/dist/esm/models/ValidationError.d.ts +38 -0
  202. package/dist/esm/models/ValidationError.js +43 -0
  203. package/dist/esm/models/ValidatorDefinition.d.ts +53 -0
  204. package/dist/esm/models/ValidatorDefinition.js +61 -0
  205. package/dist/esm/models/Variant.d.ts +52 -0
  206. package/dist/esm/models/Variant.js +47 -0
  207. package/dist/esm/models/index.d.ts +74 -0
  208. package/dist/esm/models/index.js +76 -0
  209. package/dist/esm/runtime.d.ts +184 -0
  210. package/dist/esm/runtime.js +334 -0
  211. package/dist/index.d.ts +3 -0
  212. package/dist/index.js +21 -0
  213. package/dist/models/AcknowledgeEvents200Response.d.ts +32 -0
  214. package/dist/models/AcknowledgeEvents200Response.js +48 -0
  215. package/dist/models/AcknowledgeEventsRequest.d.ts +44 -0
  216. package/dist/models/AcknowledgeEventsRequest.js +58 -0
  217. package/dist/models/AgentCreateRes.d.ts +96 -0
  218. package/dist/models/AgentCreateRes.js +72 -0
  219. package/dist/models/AgentRes.d.ts +89 -0
  220. package/dist/models/AgentRes.js +69 -0
  221. package/dist/models/AgentStatus.d.ts +28 -0
  222. package/dist/models/AgentStatus.js +54 -0
  223. package/dist/models/AgentTypeReq.d.ts +32 -0
  224. package/dist/models/AgentTypeReq.js +50 -0
  225. package/dist/models/AgentTypeRes.d.ts +57 -0
  226. package/dist/models/AgentTypeRes.js +57 -0
  227. package/dist/models/AuthRole.d.ts +26 -0
  228. package/dist/models/AuthRole.js +52 -0
  229. package/dist/models/ByPeriodReq.d.ts +39 -0
  230. package/dist/models/ByPeriodReq.js +55 -0
  231. package/dist/models/ByPeriodReqFrom.d.ts +38 -0
  232. package/dist/models/ByPeriodReqFrom.js +54 -0
  233. package/dist/models/CommitmentReq.d.ts +50 -0
  234. package/dist/models/CommitmentReq.js +62 -0
  235. package/dist/models/CommitmentRes.d.ts +68 -0
  236. package/dist/models/CommitmentRes.js +60 -0
  237. package/dist/models/CompleteJobRequest.d.ts +40 -0
  238. package/dist/models/CompleteJobRequest.js +50 -0
  239. package/dist/models/CreateAgentReq.d.ts +58 -0
  240. package/dist/models/CreateAgentReq.js +62 -0
  241. package/dist/models/CreateCEMServiceReq.d.ts +70 -0
  242. package/dist/models/CreateCEMServiceReq.js +74 -0
  243. package/dist/models/CreateEventRequest.d.ts +52 -0
  244. package/dist/models/CreateEventRequest.js +62 -0
  245. package/dist/models/CreateMetricEntryRequest.d.ts +80 -0
  246. package/dist/models/CreateMetricEntryRequest.js +78 -0
  247. package/dist/models/CreateMetricTypeRequest.d.ts +47 -0
  248. package/dist/models/CreateMetricTypeRequest.js +63 -0
  249. package/dist/models/ErrorRes.d.ts +44 -0
  250. package/dist/models/ErrorRes.js +52 -0
  251. package/dist/models/FailJobRequest.d.ts +32 -0
  252. package/dist/models/FailJobRequest.js +50 -0
  253. package/dist/models/JobRes.d.ts +124 -0
  254. package/dist/models/JobRes.js +80 -0
  255. package/dist/models/JobStatus.d.ts +28 -0
  256. package/dist/models/JobStatus.js +54 -0
  257. package/dist/models/LeaseEvents200Response.d.ts +44 -0
  258. package/dist/models/LeaseEvents200Response.js +52 -0
  259. package/dist/models/LeaseEventsRequest.d.ts +50 -0
  260. package/dist/models/LeaseEventsRequest.js +58 -0
  261. package/dist/models/ListEvents200ResponseInner.d.ts +94 -0
  262. package/dist/models/ListEvents200ResponseInner.js +68 -0
  263. package/dist/models/ListMetricEntries200ResponseInner.d.ts +86 -0
  264. package/dist/models/ListMetricEntries200ResponseInner.js +66 -0
  265. package/dist/models/ListMetricTypes200ResponseInner.d.ts +65 -0
  266. package/dist/models/ListMetricTypes200ResponseInner.js +65 -0
  267. package/dist/models/MarkJobUnsupportedRequest.d.ts +32 -0
  268. package/dist/models/MarkJobUnsupportedRequest.js +50 -0
  269. package/dist/models/NotaryJobRes.d.ts +94 -0
  270. package/dist/models/NotaryJobRes.js +70 -0
  271. package/dist/models/NotaryJobStatus.d.ts +28 -0
  272. package/dist/models/NotaryJobStatus.js +54 -0
  273. package/dist/models/PageRes.d.ts +56 -0
  274. package/dist/models/PageRes.js +56 -0
  275. package/dist/models/PaginationParams.d.ts +38 -0
  276. package/dist/models/PaginationParams.js +50 -0
  277. package/dist/models/ParticipantReq.d.ts +39 -0
  278. package/dist/models/ParticipantReq.js +55 -0
  279. package/dist/models/ParticipantRes.d.ts +57 -0
  280. package/dist/models/ParticipantRes.js +57 -0
  281. package/dist/models/ParticipantStatus.d.ts +25 -0
  282. package/dist/models/ParticipantStatus.js +51 -0
  283. package/dist/models/PriceItem.d.ts +68 -0
  284. package/dist/models/PriceItem.js +60 -0
  285. package/dist/models/PropertyDefinition.d.ts +83 -0
  286. package/dist/models/PropertyDefinition.js +74 -0
  287. package/dist/models/ServiceAction.d.ts +28 -0
  288. package/dist/models/ServiceAction.js +54 -0
  289. package/dist/models/ServiceGroupReq.d.ts +38 -0
  290. package/dist/models/ServiceGroupReq.js +54 -0
  291. package/dist/models/ServiceGroupRes.d.ts +56 -0
  292. package/dist/models/ServiceGroupRes.js +56 -0
  293. package/dist/models/ServiceOfferingReq.d.ts +76 -0
  294. package/dist/models/ServiceOfferingReq.js +74 -0
  295. package/dist/models/ServiceOfferingRes.d.ts +108 -0
  296. package/dist/models/ServiceOfferingRes.js +76 -0
  297. package/dist/models/ServiceOfferingResServiceType.d.ts +38 -0
  298. package/dist/models/ServiceOfferingResServiceType.js +50 -0
  299. package/dist/models/ServiceOrderReq.d.ts +38 -0
  300. package/dist/models/ServiceOrderReq.js +50 -0
  301. package/dist/models/ServiceOrderRes.d.ts +141 -0
  302. package/dist/models/ServiceOrderRes.js +87 -0
  303. package/dist/models/ServiceRes.d.ts +170 -0
  304. package/dist/models/ServiceRes.js +96 -0
  305. package/dist/models/ServiceStatus.d.ts +33 -0
  306. package/dist/models/ServiceStatus.js +59 -0
  307. package/dist/models/ServiceTypeReq.d.ts +41 -0
  308. package/dist/models/ServiceTypeReq.js +54 -0
  309. package/dist/models/ServiceTypeRes.d.ts +59 -0
  310. package/dist/models/ServiceTypeRes.js +58 -0
  311. package/dist/models/SubmitNotaryJobReq.d.ts +44 -0
  312. package/dist/models/SubmitNotaryJobReq.js +58 -0
  313. package/dist/models/TokenReq.d.ts +51 -0
  314. package/dist/models/TokenReq.js +61 -0
  315. package/dist/models/TokenRes.d.ts +87 -0
  316. package/dist/models/TokenRes.js +67 -0
  317. package/dist/models/TransactionEntityType.d.ts +26 -0
  318. package/dist/models/TransactionEntityType.js +52 -0
  319. package/dist/models/TransactionRecordReq.d.ts +102 -0
  320. package/dist/models/TransactionRecordReq.js +96 -0
  321. package/dist/models/TransactionRecordRes.d.ts +159 -0
  322. package/dist/models/TransactionRecordRes.js +93 -0
  323. package/dist/models/TransactionStatus.d.ts +26 -0
  324. package/dist/models/TransactionStatus.js +52 -0
  325. package/dist/models/TransactionType.d.ts +26 -0
  326. package/dist/models/TransactionType.js +52 -0
  327. package/dist/models/UpdateAgentReq.d.ts +53 -0
  328. package/dist/models/UpdateAgentReq.js +55 -0
  329. package/dist/models/UpdateCEMServiceReq.d.ts +46 -0
  330. package/dist/models/UpdateCEMServiceReq.js +52 -0
  331. package/dist/models/UpdateJobRequest.d.ts +47 -0
  332. package/dist/models/UpdateJobRequest.js +53 -0
  333. package/dist/models/UpdateMetricTypeRequest.d.ts +32 -0
  334. package/dist/models/UpdateMetricTypeRequest.js +48 -0
  335. package/dist/models/UpdateMyAgentStatusRequest.d.ts +33 -0
  336. package/dist/models/UpdateMyAgentStatusRequest.js +51 -0
  337. package/dist/models/UpdateParticipantRequest.d.ts +39 -0
  338. package/dist/models/UpdateParticipantRequest.js +51 -0
  339. package/dist/models/UpdateServiceGroupRequest.d.ts +32 -0
  340. package/dist/models/UpdateServiceGroupRequest.js +48 -0
  341. package/dist/models/UpdateServiceTypeRequest.d.ts +41 -0
  342. package/dist/models/UpdateServiceTypeRequest.js +52 -0
  343. package/dist/models/UpdateTokenRequest.d.ts +38 -0
  344. package/dist/models/UpdateTokenRequest.js +50 -0
  345. package/dist/models/UpdateTransactionRecordRequest.d.ts +45 -0
  346. package/dist/models/UpdateTransactionRecordRequest.js +53 -0
  347. package/dist/models/ValidatePropertiesReq.d.ts +34 -0
  348. package/dist/models/ValidatePropertiesReq.js +50 -0
  349. package/dist/models/ValidatePropertiesRes.d.ts +39 -0
  350. package/dist/models/ValidatePropertiesRes.js +51 -0
  351. package/dist/models/ValidateServiceTypeProperties200Response.d.ts +38 -0
  352. package/dist/models/ValidateServiceTypeProperties200Response.js +50 -0
  353. package/dist/models/ValidateServiceTypePropertiesRequest.d.ts +34 -0
  354. package/dist/models/ValidateServiceTypePropertiesRequest.js +48 -0
  355. package/dist/models/ValidationError.d.ts +38 -0
  356. package/dist/models/ValidationError.js +50 -0
  357. package/dist/models/ValidatorDefinition.d.ts +53 -0
  358. package/dist/models/ValidatorDefinition.js +69 -0
  359. package/dist/models/Variant.d.ts +52 -0
  360. package/dist/models/Variant.js +54 -0
  361. package/dist/models/index.d.ts +74 -0
  362. package/dist/models/index.js +92 -0
  363. package/dist/runtime.d.ts +184 -0
  364. package/dist/runtime.js +350 -0
  365. package/package.json +20 -0
  366. package/src/apis/AgentsApi.ts +678 -0
  367. package/src/apis/CommitmentsApi.ts +365 -0
  368. package/src/apis/EventApi.ts +309 -0
  369. package/src/apis/JobsApi.ts +587 -0
  370. package/src/apis/MetricsApi.ts +500 -0
  371. package/src/apis/NotaryJobsApi.ts +361 -0
  372. package/src/apis/ParticipantsApi.ts +368 -0
  373. package/src/apis/ServiceOfferingsApi.ts +365 -0
  374. package/src/apis/ServiceOrdersApi.ts +242 -0
  375. package/src/apis/ServicesApi.ts +1349 -0
  376. package/src/apis/TokensApi.ts +429 -0
  377. package/src/apis/TransactionsApi.ts +495 -0
  378. package/src/apis/index.ts +14 -0
  379. package/src/index.ts +5 -0
  380. package/src/models/AcknowledgeEvents200Response.ts +65 -0
  381. package/src/models/AcknowledgeEventsRequest.ts +84 -0
  382. package/src/models/AgentCreateRes.ts +176 -0
  383. package/src/models/AgentRes.ts +161 -0
  384. package/src/models/AgentStatus.ts +56 -0
  385. package/src/models/AgentTypeReq.ts +66 -0
  386. package/src/models/AgentTypeRes.ts +105 -0
  387. package/src/models/AuthRole.ts +54 -0
  388. package/src/models/ByPeriodReq.ts +83 -0
  389. package/src/models/ByPeriodReqFrom.ts +75 -0
  390. package/src/models/CommitmentReq.ts +93 -0
  391. package/src/models/CommitmentRes.ts +113 -0
  392. package/src/models/CompleteJobRequest.ts +73 -0
  393. package/src/models/CreateAgentReq.ts +100 -0
  394. package/src/models/CreateCEMServiceReq.ts +120 -0
  395. package/src/models/CreateEventRequest.ts +93 -0
  396. package/src/models/CreateMetricEntryRequest.ts +136 -0
  397. package/src/models/CreateMetricTypeRequest.ts +87 -0
  398. package/src/models/ErrorRes.ts +81 -0
  399. package/src/models/FailJobRequest.ts +66 -0
  400. package/src/models/JobRes.ts +208 -0
  401. package/src/models/JobStatus.ts +56 -0
  402. package/src/models/LeaseEvents200Response.ts +81 -0
  403. package/src/models/LeaseEventsRequest.ts +91 -0
  404. package/src/models/ListEvents200ResponseInner.ts +145 -0
  405. package/src/models/ListMetricEntries200ResponseInner.ts +137 -0
  406. package/src/models/ListMetricTypes200ResponseInner.ts +109 -0
  407. package/src/models/MarkJobUnsupportedRequest.ts +66 -0
  408. package/src/models/NotaryJobRes.ts +162 -0
  409. package/src/models/NotaryJobStatus.ts +56 -0
  410. package/src/models/PageRes.ts +97 -0
  411. package/src/models/PaginationParams.ts +73 -0
  412. package/src/models/ParticipantReq.ts +85 -0
  413. package/src/models/ParticipantRes.ts +107 -0
  414. package/src/models/ParticipantStatus.ts +53 -0
  415. package/src/models/PriceItem.ts +113 -0
  416. package/src/models/PropertyDefinition.ts +136 -0
  417. package/src/models/ServiceAction.ts +56 -0
  418. package/src/models/ServiceGroupReq.ts +75 -0
  419. package/src/models/ServiceGroupRes.ts +97 -0
  420. package/src/models/ServiceOfferingReq.ts +141 -0
  421. package/src/models/ServiceOfferingRes.ts +190 -0
  422. package/src/models/ServiceOfferingResServiceType.ts +73 -0
  423. package/src/models/ServiceOrderReq.ts +73 -0
  424. package/src/models/ServiceOrderRes.ts +237 -0
  425. package/src/models/ServiceRes.ts +278 -0
  426. package/src/models/ServiceStatus.ts +61 -0
  427. package/src/models/ServiceTypeReq.ts +82 -0
  428. package/src/models/ServiceTypeRes.ts +105 -0
  429. package/src/models/SubmitNotaryJobReq.ts +84 -0
  430. package/src/models/TokenReq.ts +102 -0
  431. package/src/models/TokenRes.ts +147 -0
  432. package/src/models/TransactionEntityType.ts +54 -0
  433. package/src/models/TransactionRecordReq.ts +182 -0
  434. package/src/models/TransactionRecordRes.ts +263 -0
  435. package/src/models/TransactionStatus.ts +54 -0
  436. package/src/models/TransactionType.ts +54 -0
  437. package/src/models/UpdateAgentReq.ts +99 -0
  438. package/src/models/UpdateCEMServiceReq.ts +81 -0
  439. package/src/models/UpdateJobRequest.ts +91 -0
  440. package/src/models/UpdateMetricTypeRequest.ts +65 -0
  441. package/src/models/UpdateMyAgentStatusRequest.ts +76 -0
  442. package/src/models/UpdateParticipantRequest.ts +83 -0
  443. package/src/models/UpdateServiceGroupRequest.ts +65 -0
  444. package/src/models/UpdateServiceTypeRequest.ts +81 -0
  445. package/src/models/UpdateTokenRequest.ts +73 -0
  446. package/src/models/UpdateTransactionRecordRequest.ts +91 -0
  447. package/src/models/ValidatePropertiesReq.ts +66 -0
  448. package/src/models/ValidatePropertiesRes.ts +81 -0
  449. package/src/models/ValidateServiceTypeProperties200Response.ts +73 -0
  450. package/src/models/ValidateServiceTypePropertiesRequest.ts +65 -0
  451. package/src/models/ValidationError.ts +73 -0
  452. package/src/models/ValidatorDefinition.ts +93 -0
  453. package/src/models/Variant.ts +89 -0
  454. package/src/models/index.ts +76 -0
  455. package/src/runtime.ts +432 -0
  456. package/tsconfig.esm.json +7 -0
  457. package/tsconfig.json +16 -0
@@ -0,0 +1,176 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fulcrum CEM API
5
+ * A comprehensive cloud infrastructure management system designed to orchestrate and monitor distributed cloud resources across multiple providers, with CEM-specific extensions.
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AgentStatus } from './AgentStatus';
17
+ import {
18
+ AgentStatusFromJSON,
19
+ AgentStatusFromJSONTyped,
20
+ AgentStatusToJSON,
21
+ AgentStatusToJSONTyped,
22
+ } from './AgentStatus';
23
+ import type { AgentTypeRes } from './AgentTypeRes';
24
+ import {
25
+ AgentTypeResFromJSON,
26
+ AgentTypeResFromJSONTyped,
27
+ AgentTypeResToJSON,
28
+ AgentTypeResToJSONTyped,
29
+ } from './AgentTypeRes';
30
+ import type { TokenRes } from './TokenRes';
31
+ import {
32
+ TokenResFromJSON,
33
+ TokenResFromJSONTyped,
34
+ TokenResToJSON,
35
+ TokenResToJSONTyped,
36
+ } from './TokenRes';
37
+ import type { ParticipantRes } from './ParticipantRes';
38
+ import {
39
+ ParticipantResFromJSON,
40
+ ParticipantResFromJSONTyped,
41
+ ParticipantResToJSON,
42
+ ParticipantResToJSONTyped,
43
+ } from './ParticipantRes';
44
+
45
+ /**
46
+ *
47
+ * @export
48
+ * @interface AgentCreateRes
49
+ */
50
+ export interface AgentCreateRes {
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof AgentCreateRes
55
+ */
56
+ id?: string;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof AgentCreateRes
61
+ */
62
+ name?: string;
63
+ /**
64
+ *
65
+ * @type {AgentStatus}
66
+ * @memberof AgentCreateRes
67
+ */
68
+ status?: AgentStatus;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof AgentCreateRes
73
+ */
74
+ providerId?: string;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof AgentCreateRes
79
+ */
80
+ agentTypeId?: string;
81
+ /**
82
+ *
83
+ * @type {Array<string>}
84
+ * @memberof AgentCreateRes
85
+ */
86
+ tags?: Array<string>;
87
+ /**
88
+ *
89
+ * @type {ParticipantRes}
90
+ * @memberof AgentCreateRes
91
+ */
92
+ participant?: ParticipantRes;
93
+ /**
94
+ *
95
+ * @type {AgentTypeRes}
96
+ * @memberof AgentCreateRes
97
+ */
98
+ agentType?: AgentTypeRes;
99
+ /**
100
+ *
101
+ * @type {Date}
102
+ * @memberof AgentCreateRes
103
+ */
104
+ createdAt?: Date;
105
+ /**
106
+ *
107
+ * @type {Date}
108
+ * @memberof AgentCreateRes
109
+ */
110
+ updatedAt?: Date;
111
+ /**
112
+ * The agent authentication token
113
+ * @type {TokenRes}
114
+ * @memberof AgentCreateRes
115
+ */
116
+ token?: TokenRes;
117
+ }
118
+
119
+
120
+
121
+ /**
122
+ * Check if a given object implements the AgentCreateRes interface.
123
+ */
124
+ export function instanceOfAgentCreateRes(value: object): value is AgentCreateRes {
125
+ return true;
126
+ }
127
+
128
+ export function AgentCreateResFromJSON(json: any): AgentCreateRes {
129
+ return AgentCreateResFromJSONTyped(json, false);
130
+ }
131
+
132
+ export function AgentCreateResFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentCreateRes {
133
+ if (json == null) {
134
+ return json;
135
+ }
136
+ return {
137
+
138
+ 'id': json['id'] == null ? undefined : json['id'],
139
+ 'name': json['name'] == null ? undefined : json['name'],
140
+ 'status': json['status'] == null ? undefined : AgentStatusFromJSON(json['status']),
141
+ 'providerId': json['providerId'] == null ? undefined : json['providerId'],
142
+ 'agentTypeId': json['agentTypeId'] == null ? undefined : json['agentTypeId'],
143
+ 'tags': json['tags'] == null ? undefined : json['tags'],
144
+ 'participant': json['participant'] == null ? undefined : ParticipantResFromJSON(json['participant']),
145
+ 'agentType': json['agentType'] == null ? undefined : AgentTypeResFromJSON(json['agentType']),
146
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
147
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
148
+ 'token': json['token'] == null ? undefined : TokenResFromJSON(json['token']),
149
+ };
150
+ }
151
+
152
+ export function AgentCreateResToJSON(json: any): AgentCreateRes {
153
+ return AgentCreateResToJSONTyped(json, false);
154
+ }
155
+
156
+ export function AgentCreateResToJSONTyped(value?: AgentCreateRes | null, ignoreDiscriminator: boolean = false): any {
157
+ if (value == null) {
158
+ return value;
159
+ }
160
+
161
+ return {
162
+
163
+ 'id': value['id'],
164
+ 'name': value['name'],
165
+ 'status': AgentStatusToJSON(value['status']),
166
+ 'providerId': value['providerId'],
167
+ 'agentTypeId': value['agentTypeId'],
168
+ 'tags': value['tags'],
169
+ 'participant': ParticipantResToJSON(value['participant']),
170
+ 'agentType': AgentTypeResToJSON(value['agentType']),
171
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
172
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
173
+ 'token': TokenResToJSON(value['token']),
174
+ };
175
+ }
176
+
@@ -0,0 +1,161 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fulcrum CEM API
5
+ * A comprehensive cloud infrastructure management system designed to orchestrate and monitor distributed cloud resources across multiple providers, with CEM-specific extensions.
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AgentStatus } from './AgentStatus';
17
+ import {
18
+ AgentStatusFromJSON,
19
+ AgentStatusFromJSONTyped,
20
+ AgentStatusToJSON,
21
+ AgentStatusToJSONTyped,
22
+ } from './AgentStatus';
23
+ import type { AgentTypeRes } from './AgentTypeRes';
24
+ import {
25
+ AgentTypeResFromJSON,
26
+ AgentTypeResFromJSONTyped,
27
+ AgentTypeResToJSON,
28
+ AgentTypeResToJSONTyped,
29
+ } from './AgentTypeRes';
30
+ import type { ParticipantRes } from './ParticipantRes';
31
+ import {
32
+ ParticipantResFromJSON,
33
+ ParticipantResFromJSONTyped,
34
+ ParticipantResToJSON,
35
+ ParticipantResToJSONTyped,
36
+ } from './ParticipantRes';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface AgentRes
42
+ */
43
+ export interface AgentRes {
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof AgentRes
48
+ */
49
+ id?: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof AgentRes
54
+ */
55
+ name?: string;
56
+ /**
57
+ *
58
+ * @type {AgentStatus}
59
+ * @memberof AgentRes
60
+ */
61
+ status?: AgentStatus;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof AgentRes
66
+ */
67
+ providerId?: string;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof AgentRes
72
+ */
73
+ agentTypeId?: string;
74
+ /**
75
+ *
76
+ * @type {Array<string>}
77
+ * @memberof AgentRes
78
+ */
79
+ tags?: Array<string>;
80
+ /**
81
+ *
82
+ * @type {ParticipantRes}
83
+ * @memberof AgentRes
84
+ */
85
+ participant?: ParticipantRes;
86
+ /**
87
+ *
88
+ * @type {AgentTypeRes}
89
+ * @memberof AgentRes
90
+ */
91
+ agentType?: AgentTypeRes;
92
+ /**
93
+ *
94
+ * @type {Date}
95
+ * @memberof AgentRes
96
+ */
97
+ createdAt?: Date;
98
+ /**
99
+ *
100
+ * @type {Date}
101
+ * @memberof AgentRes
102
+ */
103
+ updatedAt?: Date;
104
+ }
105
+
106
+
107
+
108
+ /**
109
+ * Check if a given object implements the AgentRes interface.
110
+ */
111
+ export function instanceOfAgentRes(value: object): value is AgentRes {
112
+ return true;
113
+ }
114
+
115
+ export function AgentResFromJSON(json: any): AgentRes {
116
+ return AgentResFromJSONTyped(json, false);
117
+ }
118
+
119
+ export function AgentResFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRes {
120
+ if (json == null) {
121
+ return json;
122
+ }
123
+ return {
124
+
125
+ 'id': json['id'] == null ? undefined : json['id'],
126
+ 'name': json['name'] == null ? undefined : json['name'],
127
+ 'status': json['status'] == null ? undefined : AgentStatusFromJSON(json['status']),
128
+ 'providerId': json['providerId'] == null ? undefined : json['providerId'],
129
+ 'agentTypeId': json['agentTypeId'] == null ? undefined : json['agentTypeId'],
130
+ 'tags': json['tags'] == null ? undefined : json['tags'],
131
+ 'participant': json['participant'] == null ? undefined : ParticipantResFromJSON(json['participant']),
132
+ 'agentType': json['agentType'] == null ? undefined : AgentTypeResFromJSON(json['agentType']),
133
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
134
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
135
+ };
136
+ }
137
+
138
+ export function AgentResToJSON(json: any): AgentRes {
139
+ return AgentResToJSONTyped(json, false);
140
+ }
141
+
142
+ export function AgentResToJSONTyped(value?: AgentRes | null, ignoreDiscriminator: boolean = false): any {
143
+ if (value == null) {
144
+ return value;
145
+ }
146
+
147
+ return {
148
+
149
+ 'id': value['id'],
150
+ 'name': value['name'],
151
+ 'status': AgentStatusToJSON(value['status']),
152
+ 'providerId': value['providerId'],
153
+ 'agentTypeId': value['agentTypeId'],
154
+ 'tags': value['tags'],
155
+ 'participant': ParticipantResToJSON(value['participant']),
156
+ 'agentType': AgentTypeResToJSON(value['agentType']),
157
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
158
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
159
+ };
160
+ }
161
+
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fulcrum CEM API
5
+ * A comprehensive cloud infrastructure management system designed to orchestrate and monitor distributed cloud resources across multiple providers, with CEM-specific extensions.
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const AgentStatus = {
21
+ NEW: 'New',
22
+ CONNECTED: 'Connected',
23
+ DISCONNECTED: 'Disconnected',
24
+ ERROR: 'Error',
25
+ DISABLED: 'Disabled'
26
+ } as const;
27
+ export type AgentStatus = typeof AgentStatus[keyof typeof AgentStatus];
28
+
29
+
30
+ export function instanceOfAgentStatus(value: any): boolean {
31
+ for (const key in AgentStatus) {
32
+ if (Object.prototype.hasOwnProperty.call(AgentStatus, key)) {
33
+ if (AgentStatus[key as keyof typeof AgentStatus] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+
41
+ export function AgentStatusFromJSON(json: any): AgentStatus {
42
+ return AgentStatusFromJSONTyped(json, false);
43
+ }
44
+
45
+ export function AgentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentStatus {
46
+ return json as AgentStatus;
47
+ }
48
+
49
+ export function AgentStatusToJSON(value?: AgentStatus | null): any {
50
+ return value as any;
51
+ }
52
+
53
+ export function AgentStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): AgentStatus {
54
+ return value as AgentStatus;
55
+ }
56
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fulcrum CEM API
5
+ * A comprehensive cloud infrastructure management system designed to orchestrate and monitor distributed cloud resources across multiple providers, with CEM-specific extensions.
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AgentTypeReq
20
+ */
21
+ export interface AgentTypeReq {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AgentTypeReq
26
+ */
27
+ name: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the AgentTypeReq interface.
32
+ */
33
+ export function instanceOfAgentTypeReq(value: object): value is AgentTypeReq {
34
+ if (!('name' in value) || value['name'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function AgentTypeReqFromJSON(json: any): AgentTypeReq {
39
+ return AgentTypeReqFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function AgentTypeReqFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentTypeReq {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'name': json['name'],
49
+ };
50
+ }
51
+
52
+ export function AgentTypeReqToJSON(json: any): AgentTypeReq {
53
+ return AgentTypeReqToJSONTyped(json, false);
54
+ }
55
+
56
+ export function AgentTypeReqToJSONTyped(value?: AgentTypeReq | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'name': value['name'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,105 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fulcrum CEM API
5
+ * A comprehensive cloud infrastructure management system designed to orchestrate and monitor distributed cloud resources across multiple providers, with CEM-specific extensions.
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ServiceTypeRes } from './ServiceTypeRes';
17
+ import {
18
+ ServiceTypeResFromJSON,
19
+ ServiceTypeResFromJSONTyped,
20
+ ServiceTypeResToJSON,
21
+ ServiceTypeResToJSONTyped,
22
+ } from './ServiceTypeRes';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AgentTypeRes
28
+ */
29
+ export interface AgentTypeRes {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AgentTypeRes
34
+ */
35
+ id?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AgentTypeRes
40
+ */
41
+ name?: string;
42
+ /**
43
+ * Service types that this agent type can provide
44
+ * @type {Array<ServiceTypeRes>}
45
+ * @memberof AgentTypeRes
46
+ */
47
+ serviceTypes?: Array<ServiceTypeRes>;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof AgentTypeRes
52
+ */
53
+ createdAt?: Date;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof AgentTypeRes
58
+ */
59
+ updatedAt?: Date;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the AgentTypeRes interface.
64
+ */
65
+ export function instanceOfAgentTypeRes(value: object): value is AgentTypeRes {
66
+ return true;
67
+ }
68
+
69
+ export function AgentTypeResFromJSON(json: any): AgentTypeRes {
70
+ return AgentTypeResFromJSONTyped(json, false);
71
+ }
72
+
73
+ export function AgentTypeResFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentTypeRes {
74
+ if (json == null) {
75
+ return json;
76
+ }
77
+ return {
78
+
79
+ 'id': json['id'] == null ? undefined : json['id'],
80
+ 'name': json['name'] == null ? undefined : json['name'],
81
+ 'serviceTypes': json['serviceTypes'] == null ? undefined : ((json['serviceTypes'] as Array<any>).map(ServiceTypeResFromJSON)),
82
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
83
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
84
+ };
85
+ }
86
+
87
+ export function AgentTypeResToJSON(json: any): AgentTypeRes {
88
+ return AgentTypeResToJSONTyped(json, false);
89
+ }
90
+
91
+ export function AgentTypeResToJSONTyped(value?: AgentTypeRes | null, ignoreDiscriminator: boolean = false): any {
92
+ if (value == null) {
93
+ return value;
94
+ }
95
+
96
+ return {
97
+
98
+ 'id': value['id'],
99
+ 'name': value['name'],
100
+ 'serviceTypes': value['serviceTypes'] == null ? undefined : ((value['serviceTypes'] as Array<any>).map(ServiceTypeResToJSON)),
101
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
102
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
103
+ };
104
+ }
105
+
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fulcrum CEM API
5
+ * A comprehensive cloud infrastructure management system designed to orchestrate and monitor distributed cloud resources across multiple providers, with CEM-specific extensions.
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ * Access role for the token
18
+ * @export
19
+ */
20
+ export const AuthRole = {
21
+ ADMIN: 'admin',
22
+ PARTICIPANT: 'participant',
23
+ AGENT: 'agent'
24
+ } as const;
25
+ export type AuthRole = typeof AuthRole[keyof typeof AuthRole];
26
+
27
+
28
+ export function instanceOfAuthRole(value: any): boolean {
29
+ for (const key in AuthRole) {
30
+ if (Object.prototype.hasOwnProperty.call(AuthRole, key)) {
31
+ if (AuthRole[key as keyof typeof AuthRole] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function AuthRoleFromJSON(json: any): AuthRole {
40
+ return AuthRoleFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function AuthRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthRole {
44
+ return json as AuthRole;
45
+ }
46
+
47
+ export function AuthRoleToJSON(value?: AuthRole | null): any {
48
+ return value as any;
49
+ }
50
+
51
+ export function AuthRoleToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthRole {
52
+ return value as AuthRole;
53
+ }
54
+
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fulcrum CEM API
5
+ * A comprehensive cloud infrastructure management system designed to orchestrate and monitor distributed cloud resources across multiple providers, with CEM-specific extensions.
6
+ *
7
+ * The version of the OpenAPI document: 0.0.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ByPeriodReqFrom } from './ByPeriodReqFrom';
17
+ import {
18
+ ByPeriodReqFromFromJSON,
19
+ ByPeriodReqFromFromJSONTyped,
20
+ ByPeriodReqFromToJSON,
21
+ ByPeriodReqFromToJSONTyped,
22
+ } from './ByPeriodReqFrom';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ByPeriodReq
28
+ */
29
+ export interface ByPeriodReq {
30
+ /**
31
+ *
32
+ * @type {ByPeriodReqFrom}
33
+ * @memberof ByPeriodReq
34
+ */
35
+ from: ByPeriodReqFrom;
36
+ /**
37
+ *
38
+ * @type {ByPeriodReqFrom}
39
+ * @memberof ByPeriodReq
40
+ */
41
+ to: ByPeriodReqFrom;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the ByPeriodReq interface.
46
+ */
47
+ export function instanceOfByPeriodReq(value: object): value is ByPeriodReq {
48
+ if (!('from' in value) || value['from'] === undefined) return false;
49
+ if (!('to' in value) || value['to'] === undefined) return false;
50
+ return true;
51
+ }
52
+
53
+ export function ByPeriodReqFromJSON(json: any): ByPeriodReq {
54
+ return ByPeriodReqFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function ByPeriodReqFromJSONTyped(json: any, ignoreDiscriminator: boolean): ByPeriodReq {
58
+ if (json == null) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'from': ByPeriodReqFromFromJSON(json['from']),
64
+ 'to': ByPeriodReqFromFromJSON(json['to']),
65
+ };
66
+ }
67
+
68
+ export function ByPeriodReqToJSON(json: any): ByPeriodReq {
69
+ return ByPeriodReqToJSONTyped(json, false);
70
+ }
71
+
72
+ export function ByPeriodReqToJSONTyped(value?: ByPeriodReq | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'from': ByPeriodReqFromToJSON(value['from']),
80
+ 'to': ByPeriodReqFromToJSON(value['to']),
81
+ };
82
+ }
83
+