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,350 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fulcrum CEM API
6
+ * A comprehensive cloud infrastructure management system designed to orchestrate and monitor distributed cloud resources across multiple providers, with CEM-specific extensions.
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
26
+ exports.querystring = querystring;
27
+ exports.exists = exists;
28
+ exports.mapValues = mapValues;
29
+ exports.canConsumeForm = canConsumeForm;
30
+ exports.BASE_PATH = "https://api.fulcrum.testudosrl.dev/api/v1".replace(/\/+$/, "");
31
+ class Configuration {
32
+ constructor(configuration = {}) {
33
+ this.configuration = configuration;
34
+ }
35
+ set config(configuration) {
36
+ this.configuration = configuration;
37
+ }
38
+ get basePath() {
39
+ return this.configuration.basePath != null ? this.configuration.basePath : exports.BASE_PATH;
40
+ }
41
+ get fetchApi() {
42
+ return this.configuration.fetchApi;
43
+ }
44
+ get middleware() {
45
+ return this.configuration.middleware || [];
46
+ }
47
+ get queryParamsStringify() {
48
+ return this.configuration.queryParamsStringify || querystring;
49
+ }
50
+ get username() {
51
+ return this.configuration.username;
52
+ }
53
+ get password() {
54
+ return this.configuration.password;
55
+ }
56
+ get apiKey() {
57
+ const apiKey = this.configuration.apiKey;
58
+ if (apiKey) {
59
+ return typeof apiKey === 'function' ? apiKey : () => apiKey;
60
+ }
61
+ return undefined;
62
+ }
63
+ get accessToken() {
64
+ const accessToken = this.configuration.accessToken;
65
+ if (accessToken) {
66
+ return typeof accessToken === 'function' ? accessToken : () => __awaiter(this, void 0, void 0, function* () { return accessToken; });
67
+ }
68
+ return undefined;
69
+ }
70
+ get headers() {
71
+ return this.configuration.headers;
72
+ }
73
+ get credentials() {
74
+ return this.configuration.credentials;
75
+ }
76
+ }
77
+ exports.Configuration = Configuration;
78
+ exports.DefaultConfig = new Configuration();
79
+ /**
80
+ * This is the base class for all generated API classes.
81
+ */
82
+ class BaseAPI {
83
+ constructor(configuration = exports.DefaultConfig) {
84
+ this.configuration = configuration;
85
+ this.fetchApi = (url, init) => __awaiter(this, void 0, void 0, function* () {
86
+ let fetchParams = { url, init };
87
+ for (const middleware of this.middleware) {
88
+ if (middleware.pre) {
89
+ fetchParams = (yield middleware.pre(Object.assign({ fetch: this.fetchApi }, fetchParams))) || fetchParams;
90
+ }
91
+ }
92
+ let response = undefined;
93
+ try {
94
+ response = yield (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
95
+ }
96
+ catch (e) {
97
+ for (const middleware of this.middleware) {
98
+ if (middleware.onError) {
99
+ response = (yield middleware.onError({
100
+ fetch: this.fetchApi,
101
+ url: fetchParams.url,
102
+ init: fetchParams.init,
103
+ error: e,
104
+ response: response ? response.clone() : undefined,
105
+ })) || response;
106
+ }
107
+ }
108
+ if (response === undefined) {
109
+ if (e instanceof Error) {
110
+ throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
111
+ }
112
+ else {
113
+ throw e;
114
+ }
115
+ }
116
+ }
117
+ for (const middleware of this.middleware) {
118
+ if (middleware.post) {
119
+ response = (yield middleware.post({
120
+ fetch: this.fetchApi,
121
+ url: fetchParams.url,
122
+ init: fetchParams.init,
123
+ response: response.clone(),
124
+ })) || response;
125
+ }
126
+ }
127
+ return response;
128
+ });
129
+ this.middleware = configuration.middleware;
130
+ }
131
+ withMiddleware(...middlewares) {
132
+ const next = this.clone();
133
+ next.middleware = next.middleware.concat(...middlewares);
134
+ return next;
135
+ }
136
+ withPreMiddleware(...preMiddlewares) {
137
+ const middlewares = preMiddlewares.map((pre) => ({ pre }));
138
+ return this.withMiddleware(...middlewares);
139
+ }
140
+ withPostMiddleware(...postMiddlewares) {
141
+ const middlewares = postMiddlewares.map((post) => ({ post }));
142
+ return this.withMiddleware(...middlewares);
143
+ }
144
+ /**
145
+ * Check if the given MIME is a JSON MIME.
146
+ * JSON MIME examples:
147
+ * application/json
148
+ * application/json; charset=UTF8
149
+ * APPLICATION/JSON
150
+ * application/vnd.company+json
151
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
152
+ * @return True if the given MIME is JSON, false otherwise.
153
+ */
154
+ isJsonMime(mime) {
155
+ if (!mime) {
156
+ return false;
157
+ }
158
+ return BaseAPI.jsonRegex.test(mime);
159
+ }
160
+ request(context, initOverrides) {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ const { url, init } = yield this.createFetchParams(context, initOverrides);
163
+ const response = yield this.fetchApi(url, init);
164
+ if (response && (response.status >= 200 && response.status < 300)) {
165
+ return response;
166
+ }
167
+ throw new ResponseError(response, 'Response returned an error code');
168
+ });
169
+ }
170
+ createFetchParams(context, initOverrides) {
171
+ return __awaiter(this, void 0, void 0, function* () {
172
+ let url = this.configuration.basePath + context.path;
173
+ if (context.query !== undefined && Object.keys(context.query).length !== 0) {
174
+ // only add the querystring to the URL if there are query parameters.
175
+ // this is done to avoid urls ending with a "?" character which buggy webservers
176
+ // do not handle correctly sometimes.
177
+ url += '?' + this.configuration.queryParamsStringify(context.query);
178
+ }
179
+ const headers = Object.assign({}, this.configuration.headers, context.headers);
180
+ Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
181
+ const initOverrideFn = typeof initOverrides === "function"
182
+ ? initOverrides
183
+ : () => __awaiter(this, void 0, void 0, function* () { return initOverrides; });
184
+ const initParams = {
185
+ method: context.method,
186
+ headers,
187
+ body: context.body,
188
+ credentials: this.configuration.credentials,
189
+ };
190
+ const overriddenInit = Object.assign(Object.assign({}, initParams), (yield initOverrideFn({
191
+ init: initParams,
192
+ context,
193
+ })));
194
+ let body;
195
+ if (isFormData(overriddenInit.body)
196
+ || (overriddenInit.body instanceof URLSearchParams)
197
+ || isBlob(overriddenInit.body)) {
198
+ body = overriddenInit.body;
199
+ }
200
+ else if (this.isJsonMime(headers['Content-Type'])) {
201
+ body = JSON.stringify(overriddenInit.body);
202
+ }
203
+ else {
204
+ body = overriddenInit.body;
205
+ }
206
+ const init = Object.assign(Object.assign({}, overriddenInit), { body });
207
+ return { url, init };
208
+ });
209
+ }
210
+ /**
211
+ * Create a shallow clone of `this` by constructing a new instance
212
+ * and then shallow cloning data members.
213
+ */
214
+ clone() {
215
+ const constructor = this.constructor;
216
+ const next = new constructor(this.configuration);
217
+ next.middleware = this.middleware.slice();
218
+ return next;
219
+ }
220
+ }
221
+ exports.BaseAPI = BaseAPI;
222
+ BaseAPI.jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i');
223
+ ;
224
+ function isBlob(value) {
225
+ return typeof Blob !== 'undefined' && value instanceof Blob;
226
+ }
227
+ function isFormData(value) {
228
+ return typeof FormData !== "undefined" && value instanceof FormData;
229
+ }
230
+ class ResponseError extends Error {
231
+ constructor(response, msg) {
232
+ super(msg);
233
+ this.response = response;
234
+ this.name = "ResponseError";
235
+ }
236
+ }
237
+ exports.ResponseError = ResponseError;
238
+ class FetchError extends Error {
239
+ constructor(cause, msg) {
240
+ super(msg);
241
+ this.cause = cause;
242
+ this.name = "FetchError";
243
+ }
244
+ }
245
+ exports.FetchError = FetchError;
246
+ class RequiredError extends Error {
247
+ constructor(field, msg) {
248
+ super(msg);
249
+ this.field = field;
250
+ this.name = "RequiredError";
251
+ }
252
+ }
253
+ exports.RequiredError = RequiredError;
254
+ exports.COLLECTION_FORMATS = {
255
+ csv: ",",
256
+ ssv: " ",
257
+ tsv: "\t",
258
+ pipes: "|",
259
+ };
260
+ function querystring(params, prefix = '') {
261
+ return Object.keys(params)
262
+ .map(key => querystringSingleKey(key, params[key], prefix))
263
+ .filter(part => part.length > 0)
264
+ .join('&');
265
+ }
266
+ function querystringSingleKey(key, value, keyPrefix = '') {
267
+ const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
268
+ if (value instanceof Array) {
269
+ const multiValue = value.map(singleValue => encodeURIComponent(String(singleValue)))
270
+ .join(`&${encodeURIComponent(fullKey)}=`);
271
+ return `${encodeURIComponent(fullKey)}=${multiValue}`;
272
+ }
273
+ if (value instanceof Set) {
274
+ const valueAsArray = Array.from(value);
275
+ return querystringSingleKey(key, valueAsArray, keyPrefix);
276
+ }
277
+ if (value instanceof Date) {
278
+ return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
279
+ }
280
+ if (value instanceof Object) {
281
+ return querystring(value, fullKey);
282
+ }
283
+ return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
284
+ }
285
+ function exists(json, key) {
286
+ const value = json[key];
287
+ return value !== null && value !== undefined;
288
+ }
289
+ function mapValues(data, fn) {
290
+ const result = {};
291
+ for (const key of Object.keys(data)) {
292
+ result[key] = fn(data[key]);
293
+ }
294
+ return result;
295
+ }
296
+ function canConsumeForm(consumes) {
297
+ for (const consume of consumes) {
298
+ if ('multipart/form-data' === consume.contentType) {
299
+ return true;
300
+ }
301
+ }
302
+ return false;
303
+ }
304
+ class JSONApiResponse {
305
+ constructor(raw, transformer = (jsonValue) => jsonValue) {
306
+ this.raw = raw;
307
+ this.transformer = transformer;
308
+ }
309
+ value() {
310
+ return __awaiter(this, void 0, void 0, function* () {
311
+ return this.transformer(yield this.raw.json());
312
+ });
313
+ }
314
+ }
315
+ exports.JSONApiResponse = JSONApiResponse;
316
+ class VoidApiResponse {
317
+ constructor(raw) {
318
+ this.raw = raw;
319
+ }
320
+ value() {
321
+ return __awaiter(this, void 0, void 0, function* () {
322
+ return undefined;
323
+ });
324
+ }
325
+ }
326
+ exports.VoidApiResponse = VoidApiResponse;
327
+ class BlobApiResponse {
328
+ constructor(raw) {
329
+ this.raw = raw;
330
+ }
331
+ value() {
332
+ return __awaiter(this, void 0, void 0, function* () {
333
+ return yield this.raw.blob();
334
+ });
335
+ }
336
+ ;
337
+ }
338
+ exports.BlobApiResponse = BlobApiResponse;
339
+ class TextApiResponse {
340
+ constructor(raw) {
341
+ this.raw = raw;
342
+ }
343
+ value() {
344
+ return __awaiter(this, void 0, void 0, function* () {
345
+ return yield this.raw.text();
346
+ });
347
+ }
348
+ ;
349
+ }
350
+ exports.TextApiResponse = TextApiResponse;
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "fulcrum-cem-client",
3
+ "version": "0.0.1",
4
+ "description": "OpenAPI client for fulcrum-cem-client",
5
+ "author": "OpenAPI-Generator",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
9
+ },
10
+ "main": "./dist/index.js",
11
+ "typings": "./dist/index.d.ts",
12
+ "module": "./dist/esm/index.js",
13
+ "sideEffects": false,
14
+ "devDependencies": {
15
+ "typescript": "^4.0 || ^5.0"
16
+ },
17
+ "scripts": {
18
+ "build": "tsc && tsc -p tsconfig.esm.json"
19
+ }
20
+ }