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,162 @@
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 { ServiceOfferingRes } from './ServiceOfferingRes';
17
+ import {
18
+ ServiceOfferingResFromJSON,
19
+ ServiceOfferingResFromJSONTyped,
20
+ ServiceOfferingResToJSON,
21
+ ServiceOfferingResToJSONTyped,
22
+ } from './ServiceOfferingRes';
23
+ import type { NotaryJobStatus } from './NotaryJobStatus';
24
+ import {
25
+ NotaryJobStatusFromJSON,
26
+ NotaryJobStatusFromJSONTyped,
27
+ NotaryJobStatusToJSON,
28
+ NotaryJobStatusToJSONTyped,
29
+ } from './NotaryJobStatus';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface NotaryJobRes
35
+ */
36
+ export interface NotaryJobRes {
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof NotaryJobRes
41
+ */
42
+ id?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof NotaryJobRes
47
+ */
48
+ serviceOfferingId?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof NotaryJobRes
53
+ */
54
+ providerId?: string;
55
+ /**
56
+ * The external job ID from the CDE notary service
57
+ * @type {string}
58
+ * @memberof NotaryJobRes
59
+ */
60
+ externalJobId?: string;
61
+ /**
62
+ *
63
+ * @type {NotaryJobStatus}
64
+ * @memberof NotaryJobRes
65
+ */
66
+ status?: NotaryJobStatus;
67
+ /**
68
+ *
69
+ * @type {Date}
70
+ * @memberof NotaryJobRes
71
+ */
72
+ lastPolledAt?: Date;
73
+ /**
74
+ * Error message if the job failed
75
+ * @type {string}
76
+ * @memberof NotaryJobRes
77
+ */
78
+ error?: string;
79
+ /**
80
+ * List of certifications obtained
81
+ * @type {Array<string>}
82
+ * @memberof NotaryJobRes
83
+ */
84
+ certifications?: Array<string>;
85
+ /**
86
+ *
87
+ * @type {ServiceOfferingRes}
88
+ * @memberof NotaryJobRes
89
+ */
90
+ serviceOffering?: ServiceOfferingRes;
91
+ /**
92
+ *
93
+ * @type {Date}
94
+ * @memberof NotaryJobRes
95
+ */
96
+ createdAt?: Date;
97
+ /**
98
+ *
99
+ * @type {Date}
100
+ * @memberof NotaryJobRes
101
+ */
102
+ updatedAt?: Date;
103
+ }
104
+
105
+
106
+
107
+ /**
108
+ * Check if a given object implements the NotaryJobRes interface.
109
+ */
110
+ export function instanceOfNotaryJobRes(value: object): value is NotaryJobRes {
111
+ return true;
112
+ }
113
+
114
+ export function NotaryJobResFromJSON(json: any): NotaryJobRes {
115
+ return NotaryJobResFromJSONTyped(json, false);
116
+ }
117
+
118
+ export function NotaryJobResFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotaryJobRes {
119
+ if (json == null) {
120
+ return json;
121
+ }
122
+ return {
123
+
124
+ 'id': json['id'] == null ? undefined : json['id'],
125
+ 'serviceOfferingId': json['serviceOfferingId'] == null ? undefined : json['serviceOfferingId'],
126
+ 'providerId': json['providerId'] == null ? undefined : json['providerId'],
127
+ 'externalJobId': json['externalJobId'] == null ? undefined : json['externalJobId'],
128
+ 'status': json['status'] == null ? undefined : NotaryJobStatusFromJSON(json['status']),
129
+ 'lastPolledAt': json['lastPolledAt'] == null ? undefined : (new Date(json['lastPolledAt'])),
130
+ 'error': json['error'] == null ? undefined : json['error'],
131
+ 'certifications': json['certifications'] == null ? undefined : json['certifications'],
132
+ 'serviceOffering': json['serviceOffering'] == null ? undefined : ServiceOfferingResFromJSON(json['serviceOffering']),
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 NotaryJobResToJSON(json: any): NotaryJobRes {
139
+ return NotaryJobResToJSONTyped(json, false);
140
+ }
141
+
142
+ export function NotaryJobResToJSONTyped(value?: NotaryJobRes | null, ignoreDiscriminator: boolean = false): any {
143
+ if (value == null) {
144
+ return value;
145
+ }
146
+
147
+ return {
148
+
149
+ 'id': value['id'],
150
+ 'serviceOfferingId': value['serviceOfferingId'],
151
+ 'providerId': value['providerId'],
152
+ 'externalJobId': value['externalJobId'],
153
+ 'status': NotaryJobStatusToJSON(value['status']),
154
+ 'lastPolledAt': value['lastPolledAt'] == null ? value['lastPolledAt'] : value['lastPolledAt'].toISOString(),
155
+ 'error': value['error'],
156
+ 'certifications': value['certifications'],
157
+ 'serviceOffering': ServiceOfferingResToJSON(value['serviceOffering']),
158
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
159
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
160
+ };
161
+ }
162
+
@@ -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 NotaryJobStatus = {
21
+ PENDING: 'pending',
22
+ PROCESSING: 'processing',
23
+ COMPLETED: 'completed',
24
+ FAILED: 'failed',
25
+ CANCELED: 'canceled'
26
+ } as const;
27
+ export type NotaryJobStatus = typeof NotaryJobStatus[keyof typeof NotaryJobStatus];
28
+
29
+
30
+ export function instanceOfNotaryJobStatus(value: any): boolean {
31
+ for (const key in NotaryJobStatus) {
32
+ if (Object.prototype.hasOwnProperty.call(NotaryJobStatus, key)) {
33
+ if (NotaryJobStatus[key as keyof typeof NotaryJobStatus] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+
41
+ export function NotaryJobStatusFromJSON(json: any): NotaryJobStatus {
42
+ return NotaryJobStatusFromJSONTyped(json, false);
43
+ }
44
+
45
+ export function NotaryJobStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotaryJobStatus {
46
+ return json as NotaryJobStatus;
47
+ }
48
+
49
+ export function NotaryJobStatusToJSON(value?: NotaryJobStatus | null): any {
50
+ return value as any;
51
+ }
52
+
53
+ export function NotaryJobStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): NotaryJobStatus {
54
+ return value as NotaryJobStatus;
55
+ }
56
+
@@ -0,0 +1,97 @@
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 PageRes
20
+ */
21
+ export interface PageRes {
22
+ /**
23
+ *
24
+ * @type {Array<object>}
25
+ * @memberof PageRes
26
+ */
27
+ items?: Array<object>;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof PageRes
32
+ */
33
+ totalItems?: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof PageRes
38
+ */
39
+ totalPages?: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof PageRes
44
+ */
45
+ pageSize?: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof PageRes
50
+ */
51
+ page?: number;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the PageRes interface.
56
+ */
57
+ export function instanceOfPageRes(value: object): value is PageRes {
58
+ return true;
59
+ }
60
+
61
+ export function PageResFromJSON(json: any): PageRes {
62
+ return PageResFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function PageResFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageRes {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'items': json['items'] == null ? undefined : json['items'],
72
+ 'totalItems': json['totalItems'] == null ? undefined : json['totalItems'],
73
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
74
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
75
+ 'page': json['page'] == null ? undefined : json['page'],
76
+ };
77
+ }
78
+
79
+ export function PageResToJSON(json: any): PageRes {
80
+ return PageResToJSONTyped(json, false);
81
+ }
82
+
83
+ export function PageResToJSONTyped(value?: PageRes | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
87
+
88
+ return {
89
+
90
+ 'items': value['items'],
91
+ 'totalItems': value['totalItems'],
92
+ 'totalPages': value['totalPages'],
93
+ 'pageSize': value['pageSize'],
94
+ 'page': value['page'],
95
+ };
96
+ }
97
+
@@ -0,0 +1,73 @@
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 PaginationParams
20
+ */
21
+ export interface PaginationParams {
22
+ /**
23
+ * The page number (1-based)
24
+ * @type {number}
25
+ * @memberof PaginationParams
26
+ */
27
+ page?: number;
28
+ /**
29
+ * The number of items per page
30
+ * @type {number}
31
+ * @memberof PaginationParams
32
+ */
33
+ pageSize?: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the PaginationParams interface.
38
+ */
39
+ export function instanceOfPaginationParams(value: object): value is PaginationParams {
40
+ return true;
41
+ }
42
+
43
+ export function PaginationParamsFromJSON(json: any): PaginationParams {
44
+ return PaginationParamsFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function PaginationParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginationParams {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'page': json['page'] == null ? undefined : json['page'],
54
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
55
+ };
56
+ }
57
+
58
+ export function PaginationParamsToJSON(json: any): PaginationParams {
59
+ return PaginationParamsToJSONTyped(json, false);
60
+ }
61
+
62
+ export function PaginationParamsToJSONTyped(value?: PaginationParams | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'page': value['page'],
70
+ 'pageSize': value['pageSize'],
71
+ };
72
+ }
73
+
@@ -0,0 +1,85 @@
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 { ParticipantStatus } from './ParticipantStatus';
17
+ import {
18
+ ParticipantStatusFromJSON,
19
+ ParticipantStatusFromJSONTyped,
20
+ ParticipantStatusToJSON,
21
+ ParticipantStatusToJSONTyped,
22
+ } from './ParticipantStatus';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ParticipantReq
28
+ */
29
+ export interface ParticipantReq {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ParticipantReq
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {ParticipantStatus}
39
+ * @memberof ParticipantReq
40
+ */
41
+ status: ParticipantStatus;
42
+ }
43
+
44
+
45
+
46
+ /**
47
+ * Check if a given object implements the ParticipantReq interface.
48
+ */
49
+ export function instanceOfParticipantReq(value: object): value is ParticipantReq {
50
+ if (!('name' in value) || value['name'] === undefined) return false;
51
+ if (!('status' in value) || value['status'] === undefined) return false;
52
+ return true;
53
+ }
54
+
55
+ export function ParticipantReqFromJSON(json: any): ParticipantReq {
56
+ return ParticipantReqFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function ParticipantReqFromJSONTyped(json: any, ignoreDiscriminator: boolean): ParticipantReq {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'name': json['name'],
66
+ 'status': ParticipantStatusFromJSON(json['status']),
67
+ };
68
+ }
69
+
70
+ export function ParticipantReqToJSON(json: any): ParticipantReq {
71
+ return ParticipantReqToJSONTyped(json, false);
72
+ }
73
+
74
+ export function ParticipantReqToJSONTyped(value?: ParticipantReq | null, ignoreDiscriminator: boolean = false): any {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+
79
+ return {
80
+
81
+ 'name': value['name'],
82
+ 'status': ParticipantStatusToJSON(value['status']),
83
+ };
84
+ }
85
+
@@ -0,0 +1,107 @@
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 { ParticipantStatus } from './ParticipantStatus';
17
+ import {
18
+ ParticipantStatusFromJSON,
19
+ ParticipantStatusFromJSONTyped,
20
+ ParticipantStatusToJSON,
21
+ ParticipantStatusToJSONTyped,
22
+ } from './ParticipantStatus';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ParticipantRes
28
+ */
29
+ export interface ParticipantRes {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ParticipantRes
34
+ */
35
+ id?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ParticipantRes
40
+ */
41
+ name?: string;
42
+ /**
43
+ *
44
+ * @type {ParticipantStatus}
45
+ * @memberof ParticipantRes
46
+ */
47
+ status?: ParticipantStatus;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof ParticipantRes
52
+ */
53
+ createdAt?: Date;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof ParticipantRes
58
+ */
59
+ updatedAt?: Date;
60
+ }
61
+
62
+
63
+
64
+ /**
65
+ * Check if a given object implements the ParticipantRes interface.
66
+ */
67
+ export function instanceOfParticipantRes(value: object): value is ParticipantRes {
68
+ return true;
69
+ }
70
+
71
+ export function ParticipantResFromJSON(json: any): ParticipantRes {
72
+ return ParticipantResFromJSONTyped(json, false);
73
+ }
74
+
75
+ export function ParticipantResFromJSONTyped(json: any, ignoreDiscriminator: boolean): ParticipantRes {
76
+ if (json == null) {
77
+ return json;
78
+ }
79
+ return {
80
+
81
+ 'id': json['id'] == null ? undefined : json['id'],
82
+ 'name': json['name'] == null ? undefined : json['name'],
83
+ 'status': json['status'] == null ? undefined : ParticipantStatusFromJSON(json['status']),
84
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
85
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
86
+ };
87
+ }
88
+
89
+ export function ParticipantResToJSON(json: any): ParticipantRes {
90
+ return ParticipantResToJSONTyped(json, false);
91
+ }
92
+
93
+ export function ParticipantResToJSONTyped(value?: ParticipantRes | null, ignoreDiscriminator: boolean = false): any {
94
+ if (value == null) {
95
+ return value;
96
+ }
97
+
98
+ return {
99
+
100
+ 'id': value['id'],
101
+ 'name': value['name'],
102
+ 'status': ParticipantStatusToJSON(value['status']),
103
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
104
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
105
+ };
106
+ }
107
+
@@ -0,0 +1,53 @@
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 ParticipantStatus = {
21
+ ENABLED: 'Enabled',
22
+ DISABLED: 'Disabled'
23
+ } as const;
24
+ export type ParticipantStatus = typeof ParticipantStatus[keyof typeof ParticipantStatus];
25
+
26
+
27
+ export function instanceOfParticipantStatus(value: any): boolean {
28
+ for (const key in ParticipantStatus) {
29
+ if (Object.prototype.hasOwnProperty.call(ParticipantStatus, key)) {
30
+ if (ParticipantStatus[key as keyof typeof ParticipantStatus] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+
38
+ export function ParticipantStatusFromJSON(json: any): ParticipantStatus {
39
+ return ParticipantStatusFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ParticipantStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ParticipantStatus {
43
+ return json as ParticipantStatus;
44
+ }
45
+
46
+ export function ParticipantStatusToJSON(value?: ParticipantStatus | null): any {
47
+ return value as any;
48
+ }
49
+
50
+ export function ParticipantStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ParticipantStatus {
51
+ return value as ParticipantStatus;
52
+ }
53
+