fulcrum-cem-client 0.0.2 → 0.0.4

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 (590) hide show
  1. package/.openapi-generator/FILES +119 -33
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +273 -28
  4. package/dist/apis/AgentsApi.d.ts +166 -147
  5. package/dist/apis/AgentsApi.js +139 -131
  6. package/dist/apis/CommitmentsApi.d.ts +31 -31
  7. package/dist/apis/CommitmentsApi.js +21 -21
  8. package/dist/apis/EventApi.d.ts +51 -58
  9. package/dist/apis/EventApi.js +42 -59
  10. package/dist/apis/JobsApi.d.ts +112 -129
  11. package/dist/apis/JobsApi.js +90 -133
  12. package/dist/apis/MetricsApi.d.ts +113 -84
  13. package/dist/apis/MetricsApi.js +98 -72
  14. package/dist/apis/NotaryJobsApi.d.ts +31 -31
  15. package/dist/apis/NotaryJobsApi.js +20 -20
  16. package/dist/apis/ParticipantsApi.d.ts +80 -51
  17. package/dist/apis/ParticipantsApi.js +57 -31
  18. package/dist/apis/ServiceOfferingsApi.d.ts +31 -31
  19. package/dist/apis/ServiceOfferingsApi.js +21 -21
  20. package/dist/apis/ServiceOrdersApi.d.ts +20 -20
  21. package/dist/apis/ServiceOrdersApi.js +13 -13
  22. package/dist/apis/ServicesApi.d.ts +213 -252
  23. package/dist/apis/ServicesApi.js +187 -261
  24. package/dist/apis/TokensApi.d.ts +80 -62
  25. package/dist/apis/TokensApi.js +48 -36
  26. package/dist/apis/TransactionsApi.d.ts +44 -44
  27. package/dist/apis/TransactionsApi.js +31 -31
  28. package/dist/esm/apis/AgentsApi.d.ts +166 -147
  29. package/dist/esm/apis/AgentsApi.js +139 -131
  30. package/dist/esm/apis/CommitmentsApi.d.ts +31 -31
  31. package/dist/esm/apis/CommitmentsApi.js +21 -21
  32. package/dist/esm/apis/EventApi.d.ts +51 -58
  33. package/dist/esm/apis/EventApi.js +43 -60
  34. package/dist/esm/apis/JobsApi.d.ts +112 -129
  35. package/dist/esm/apis/JobsApi.js +90 -133
  36. package/dist/esm/apis/MetricsApi.d.ts +113 -84
  37. package/dist/esm/apis/MetricsApi.js +99 -73
  38. package/dist/esm/apis/NotaryJobsApi.d.ts +31 -31
  39. package/dist/esm/apis/NotaryJobsApi.js +20 -20
  40. package/dist/esm/apis/ParticipantsApi.d.ts +80 -51
  41. package/dist/esm/apis/ParticipantsApi.js +57 -31
  42. package/dist/esm/apis/ServiceOfferingsApi.d.ts +31 -31
  43. package/dist/esm/apis/ServiceOfferingsApi.js +21 -21
  44. package/dist/esm/apis/ServiceOrdersApi.d.ts +20 -20
  45. package/dist/esm/apis/ServiceOrdersApi.js +13 -13
  46. package/dist/esm/apis/ServicesApi.d.ts +213 -252
  47. package/dist/esm/apis/ServicesApi.js +188 -262
  48. package/dist/esm/apis/TokensApi.d.ts +80 -62
  49. package/dist/esm/apis/TokensApi.js +49 -37
  50. package/dist/esm/apis/TransactionsApi.d.ts +44 -44
  51. package/dist/esm/apis/TransactionsApi.js +32 -32
  52. package/dist/esm/models/AgentCreateRes.d.ts +15 -1
  53. package/dist/esm/models/AgentCreateRes.js +5 -1
  54. package/dist/esm/models/AgentRes.d.ts +15 -1
  55. package/dist/esm/models/AgentRes.js +5 -1
  56. package/dist/esm/models/AgentStatus.d.ts +1 -1
  57. package/dist/esm/models/AgentStatus.js +1 -1
  58. package/dist/esm/models/AgentTypeRes.d.ts +10 -1
  59. package/dist/esm/models/AgentTypeRes.js +5 -1
  60. package/dist/esm/models/AgentTypesList200Response.d.ts +63 -0
  61. package/dist/esm/models/AgentTypesList200Response.js +52 -0
  62. package/dist/esm/models/AgentsList200Response.d.ts +63 -0
  63. package/dist/esm/models/AgentsList200Response.js +52 -0
  64. package/dist/esm/models/AgentsUpdateStatusRequest.d.ts +33 -0
  65. package/dist/esm/models/AgentsUpdateStatusRequest.js +44 -0
  66. package/dist/esm/models/AuthRole.d.ts +1 -1
  67. package/dist/esm/models/AuthRole.js +1 -1
  68. package/dist/esm/models/AuthorizerDefinition.d.ts +48 -0
  69. package/dist/esm/models/AuthorizerDefinition.js +54 -0
  70. package/dist/esm/models/ByPeriodReq.d.ts +1 -1
  71. package/dist/esm/models/ByPeriodReq.js +1 -1
  72. package/dist/esm/models/ByPeriodReqFrom.d.ts +1 -1
  73. package/dist/esm/models/ByPeriodReqFrom.js +1 -1
  74. package/dist/esm/models/CommitmentReq.d.ts +1 -1
  75. package/dist/esm/models/CommitmentReq.js +1 -1
  76. package/dist/esm/models/CommitmentRes.d.ts +1 -1
  77. package/dist/esm/models/CommitmentRes.js +1 -1
  78. package/dist/esm/models/CompleteJobReq.d.ts +13 -5
  79. package/dist/esm/models/CompleteJobReq.js +7 -5
  80. package/dist/esm/models/CreateAgentReq.d.ts +10 -4
  81. package/dist/esm/models/CreateAgentReq.js +3 -1
  82. package/dist/esm/models/CreateAgentTypeReq.d.ts +10 -1
  83. package/dist/esm/models/CreateAgentTypeReq.js +7 -1
  84. package/dist/esm/models/CreateCEMServiceReq.d.ts +1 -1
  85. package/dist/esm/models/CreateCEMServiceReq.js +1 -1
  86. package/dist/esm/models/CreateServiceTypeReq.d.ts +9 -2
  87. package/dist/esm/models/CreateServiceTypeReq.js +4 -1
  88. package/dist/esm/models/ErrorRes.d.ts +5 -11
  89. package/dist/esm/models/ErrorRes.js +1 -3
  90. package/dist/esm/models/EventAckReq.d.ts +1 -1
  91. package/dist/esm/models/EventAckReq.js +1 -1
  92. package/dist/esm/models/EventAckRes.d.ts +1 -1
  93. package/dist/esm/models/EventAckRes.js +1 -1
  94. package/dist/esm/models/EventLeaseReq.d.ts +1 -1
  95. package/dist/esm/models/EventLeaseReq.js +1 -1
  96. package/dist/esm/models/EventLeaseRes.d.ts +1 -1
  97. package/dist/esm/models/EventLeaseRes.js +1 -1
  98. package/dist/esm/models/EventRes.d.ts +32 -2
  99. package/dist/esm/models/EventRes.js +11 -1
  100. package/dist/esm/models/EventsList200Response.d.ts +63 -0
  101. package/dist/esm/models/EventsList200Response.js +52 -0
  102. package/dist/esm/models/FailJobReq.d.ts +3 -1
  103. package/dist/esm/models/FailJobReq.js +1 -1
  104. package/dist/esm/models/GeneratorDefinition.d.ts +47 -0
  105. package/dist/esm/models/GeneratorDefinition.js +53 -0
  106. package/dist/esm/models/JobRes.d.ts +24 -28
  107. package/dist/esm/models/JobRes.js +11 -13
  108. package/dist/esm/models/JobStatus.d.ts +6 -2
  109. package/dist/esm/models/JobStatus.js +7 -3
  110. package/dist/esm/models/JobsList200Response.d.ts +63 -0
  111. package/dist/esm/models/JobsList200Response.js +52 -0
  112. package/dist/esm/models/LifecycleAction.d.ts +55 -0
  113. package/dist/esm/models/LifecycleAction.js +56 -0
  114. package/dist/esm/models/LifecycleSchema.d.ts +60 -0
  115. package/dist/esm/models/LifecycleSchema.js +57 -0
  116. package/dist/esm/models/LifecycleState.d.ts +32 -0
  117. package/dist/esm/models/LifecycleState.js +43 -0
  118. package/dist/esm/models/LifecycleTransition.d.ts +53 -0
  119. package/dist/esm/models/LifecycleTransition.js +51 -0
  120. package/dist/esm/models/MetricEntityType.d.ts +1 -1
  121. package/dist/esm/models/MetricEntityType.js +1 -1
  122. package/dist/esm/models/MetricEntriesList200Response.d.ts +63 -0
  123. package/dist/esm/models/MetricEntriesList200Response.js +52 -0
  124. package/dist/esm/models/MetricEntryReq.d.ts +4 -4
  125. package/dist/esm/models/MetricEntryReq.js +3 -3
  126. package/dist/esm/models/MetricEntryRes.d.ts +25 -1
  127. package/dist/esm/models/MetricEntryRes.js +9 -1
  128. package/dist/esm/models/MetricTypeReq.d.ts +1 -1
  129. package/dist/esm/models/MetricTypeReq.js +1 -1
  130. package/dist/esm/models/MetricTypeRes.d.ts +1 -1
  131. package/dist/esm/models/MetricTypeRes.js +1 -1
  132. package/dist/esm/models/MetricTypesList200Response.d.ts +63 -0
  133. package/dist/esm/models/MetricTypesList200Response.js +52 -0
  134. package/dist/esm/models/MetricTypesUpdateRequest.d.ts +32 -0
  135. package/dist/esm/models/MetricTypesUpdateRequest.js +41 -0
  136. package/dist/esm/models/NotaryJobRes.d.ts +1 -1
  137. package/dist/esm/models/NotaryJobRes.js +1 -1
  138. package/dist/esm/models/NotaryJobStatus.d.ts +1 -1
  139. package/dist/esm/models/NotaryJobStatus.js +1 -1
  140. package/dist/esm/models/PageRes.d.ts +14 -8
  141. package/dist/esm/models/PageRes.js +7 -5
  142. package/dist/esm/models/ParticipantReq.d.ts +1 -1
  143. package/dist/esm/models/ParticipantReq.js +1 -1
  144. package/dist/esm/models/ParticipantRes.d.ts +1 -1
  145. package/dist/esm/models/ParticipantRes.js +1 -1
  146. package/dist/esm/models/ParticipantStatus.d.ts +1 -1
  147. package/dist/esm/models/ParticipantStatus.js +1 -1
  148. package/dist/esm/models/ParticipantsList200Response.d.ts +63 -0
  149. package/dist/esm/models/ParticipantsList200Response.js +52 -0
  150. package/dist/esm/models/PriceItem.d.ts +1 -1
  151. package/dist/esm/models/PriceItem.js +1 -1
  152. package/dist/esm/models/PropertyDefinition.d.ts +31 -2
  153. package/dist/esm/models/PropertyDefinition.js +15 -2
  154. package/dist/esm/models/SecretDefinition.d.ts +43 -0
  155. package/dist/esm/models/SecretDefinition.js +50 -0
  156. package/dist/esm/models/ServiceGroupReq.d.ts +2 -2
  157. package/dist/esm/models/ServiceGroupReq.js +1 -1
  158. package/dist/esm/models/ServiceGroupRes.d.ts +2 -2
  159. package/dist/esm/models/ServiceGroupRes.js +1 -1
  160. package/dist/esm/models/ServiceGroupsList200Response.d.ts +63 -0
  161. package/dist/esm/models/ServiceGroupsList200Response.js +52 -0
  162. package/dist/esm/models/ServiceOfferingReq.d.ts +1 -1
  163. package/dist/esm/models/ServiceOfferingReq.js +1 -1
  164. package/dist/esm/models/ServiceOfferingRes.d.ts +1 -1
  165. package/dist/esm/models/ServiceOfferingRes.js +1 -1
  166. package/dist/esm/models/ServiceOfferingResServiceType.d.ts +1 -1
  167. package/dist/esm/models/ServiceOfferingResServiceType.js +1 -1
  168. package/dist/esm/models/ServiceOrderReq.d.ts +1 -1
  169. package/dist/esm/models/ServiceOrderReq.js +1 -1
  170. package/dist/esm/models/ServiceOrderRes.d.ts +9 -2
  171. package/dist/esm/models/ServiceOrderRes.js +6 -3
  172. package/dist/esm/models/ServiceOrderStatus.d.ts +26 -0
  173. package/dist/esm/models/ServiceOrderStatus.js +44 -0
  174. package/dist/esm/models/ServiceReq.d.ts +2 -2
  175. package/dist/esm/models/ServiceReq.js +1 -1
  176. package/dist/esm/models/ServiceRes.d.ts +6 -7
  177. package/dist/esm/models/ServiceRes.js +7 -8
  178. package/dist/esm/models/ServiceTypeRes.d.ts +9 -2
  179. package/dist/esm/models/ServiceTypeRes.js +4 -1
  180. package/dist/esm/models/ServiceTypesList200Response.d.ts +63 -0
  181. package/dist/esm/models/ServiceTypesList200Response.js +52 -0
  182. package/dist/esm/models/ServicesActionRequest.d.ts +34 -0
  183. package/dist/esm/models/ServicesActionRequest.js +41 -0
  184. package/dist/esm/models/SubmitNotaryJobReq.d.ts +1 -1
  185. package/dist/esm/models/SubmitNotaryJobReq.js +1 -1
  186. package/dist/esm/models/TokenReq.d.ts +2 -2
  187. package/dist/esm/models/TokenReq.js +1 -1
  188. package/dist/esm/models/TokenRes.d.ts +4 -10
  189. package/dist/esm/models/TokenRes.js +3 -5
  190. package/dist/esm/models/TokensList200Response.d.ts +63 -0
  191. package/dist/esm/models/TokensList200Response.js +52 -0
  192. package/dist/esm/models/TokensUpdateRequest.d.ts +51 -0
  193. package/dist/esm/models/TokensUpdateRequest.js +48 -0
  194. package/dist/esm/models/TransactionEntityType.d.ts +1 -1
  195. package/dist/esm/models/TransactionEntityType.js +1 -1
  196. package/dist/esm/models/TransactionRecordReq.d.ts +1 -1
  197. package/dist/esm/models/TransactionRecordReq.js +1 -1
  198. package/dist/esm/models/TransactionRecordRes.d.ts +1 -1
  199. package/dist/esm/models/TransactionRecordRes.js +1 -1
  200. package/dist/esm/models/TransactionStatus.d.ts +1 -1
  201. package/dist/esm/models/TransactionStatus.js +1 -1
  202. package/dist/esm/models/TransactionType.d.ts +1 -1
  203. package/dist/esm/models/TransactionType.js +1 -1
  204. package/dist/esm/models/TransactionsUpdateRequest.d.ts +45 -0
  205. package/dist/esm/models/TransactionsUpdateRequest.js +46 -0
  206. package/dist/esm/models/UpdateAgentReq.d.ts +8 -2
  207. package/dist/esm/models/UpdateAgentReq.js +3 -1
  208. package/dist/esm/models/UpdateAgentTypeReq.d.ts +10 -1
  209. package/dist/esm/models/UpdateAgentTypeReq.js +5 -1
  210. package/dist/esm/models/UpdateCEMServiceReq.d.ts +1 -1
  211. package/dist/esm/models/UpdateCEMServiceReq.js +1 -1
  212. package/dist/esm/models/UpdateServiceTypeReq.d.ts +9 -2
  213. package/dist/esm/models/UpdateServiceTypeReq.js +4 -1
  214. package/dist/esm/models/ValidationError.d.ts +1 -1
  215. package/dist/esm/models/ValidationError.js +1 -1
  216. package/dist/esm/models/ValidatorDefinition.d.ts +8 -6
  217. package/dist/esm/models/ValidatorDefinition.js +6 -6
  218. package/dist/esm/models/Variant.d.ts +1 -1
  219. package/dist/esm/models/Variant.js +1 -1
  220. package/dist/esm/models/index.d.ts +23 -33
  221. package/dist/esm/models/index.js +23 -33
  222. package/dist/esm/runtime.d.ts +1 -1
  223. package/dist/esm/runtime.js +1 -1
  224. package/dist/models/AgentCreateRes.d.ts +15 -1
  225. package/dist/models/AgentCreateRes.js +5 -1
  226. package/dist/models/AgentRes.d.ts +15 -1
  227. package/dist/models/AgentRes.js +5 -1
  228. package/dist/models/AgentStatus.d.ts +1 -1
  229. package/dist/models/AgentStatus.js +1 -1
  230. package/dist/models/AgentTypeRes.d.ts +10 -1
  231. package/dist/models/AgentTypeRes.js +5 -1
  232. package/dist/models/AgentTypesList200Response.d.ts +63 -0
  233. package/dist/models/AgentTypesList200Response.js +59 -0
  234. package/dist/models/AgentsList200Response.d.ts +63 -0
  235. package/dist/models/AgentsList200Response.js +59 -0
  236. package/dist/models/AgentsUpdateStatusRequest.d.ts +33 -0
  237. package/dist/models/AgentsUpdateStatusRequest.js +51 -0
  238. package/dist/models/AuthRole.d.ts +1 -1
  239. package/dist/models/AuthRole.js +1 -1
  240. package/dist/models/AuthorizerDefinition.d.ts +48 -0
  241. package/dist/models/AuthorizerDefinition.js +62 -0
  242. package/dist/models/ByPeriodReq.d.ts +1 -1
  243. package/dist/models/ByPeriodReq.js +1 -1
  244. package/dist/models/ByPeriodReqFrom.d.ts +1 -1
  245. package/dist/models/ByPeriodReqFrom.js +1 -1
  246. package/dist/models/CommitmentReq.d.ts +1 -1
  247. package/dist/models/CommitmentReq.js +1 -1
  248. package/dist/models/CommitmentRes.d.ts +1 -1
  249. package/dist/models/CommitmentRes.js +1 -1
  250. package/dist/models/CompleteJobReq.d.ts +13 -5
  251. package/dist/models/CompleteJobReq.js +7 -5
  252. package/dist/models/CreateAgentReq.d.ts +10 -4
  253. package/dist/models/CreateAgentReq.js +3 -1
  254. package/dist/models/CreateAgentTypeReq.d.ts +10 -1
  255. package/dist/models/CreateAgentTypeReq.js +7 -1
  256. package/dist/models/CreateCEMServiceReq.d.ts +1 -1
  257. package/dist/models/CreateCEMServiceReq.js +1 -1
  258. package/dist/models/CreateServiceTypeReq.d.ts +9 -2
  259. package/dist/models/CreateServiceTypeReq.js +4 -1
  260. package/dist/models/ErrorRes.d.ts +5 -11
  261. package/dist/models/ErrorRes.js +1 -3
  262. package/dist/models/EventAckReq.d.ts +1 -1
  263. package/dist/models/EventAckReq.js +1 -1
  264. package/dist/models/EventAckRes.d.ts +1 -1
  265. package/dist/models/EventAckRes.js +1 -1
  266. package/dist/models/EventLeaseReq.d.ts +1 -1
  267. package/dist/models/EventLeaseReq.js +1 -1
  268. package/dist/models/EventLeaseRes.d.ts +1 -1
  269. package/dist/models/EventLeaseRes.js +1 -1
  270. package/dist/models/EventRes.d.ts +32 -2
  271. package/dist/models/EventRes.js +11 -1
  272. package/dist/models/EventsList200Response.d.ts +63 -0
  273. package/dist/models/EventsList200Response.js +59 -0
  274. package/dist/models/FailJobReq.d.ts +3 -1
  275. package/dist/models/FailJobReq.js +1 -1
  276. package/dist/models/GeneratorDefinition.d.ts +47 -0
  277. package/dist/models/GeneratorDefinition.js +61 -0
  278. package/dist/models/JobRes.d.ts +24 -28
  279. package/dist/models/JobRes.js +11 -13
  280. package/dist/models/JobStatus.d.ts +6 -2
  281. package/dist/models/JobStatus.js +7 -3
  282. package/dist/models/JobsList200Response.d.ts +63 -0
  283. package/dist/models/JobsList200Response.js +59 -0
  284. package/dist/models/LifecycleAction.d.ts +55 -0
  285. package/dist/models/LifecycleAction.js +64 -0
  286. package/dist/models/LifecycleSchema.d.ts +60 -0
  287. package/dist/models/LifecycleSchema.js +64 -0
  288. package/dist/models/LifecycleState.d.ts +32 -0
  289. package/dist/models/LifecycleState.js +50 -0
  290. package/dist/models/LifecycleTransition.d.ts +53 -0
  291. package/dist/models/LifecycleTransition.js +58 -0
  292. package/dist/models/MetricEntityType.d.ts +1 -1
  293. package/dist/models/MetricEntityType.js +1 -1
  294. package/dist/models/MetricEntriesList200Response.d.ts +63 -0
  295. package/dist/models/MetricEntriesList200Response.js +59 -0
  296. package/dist/models/MetricEntryReq.d.ts +4 -4
  297. package/dist/models/MetricEntryReq.js +3 -3
  298. package/dist/models/MetricEntryRes.d.ts +25 -1
  299. package/dist/models/MetricEntryRes.js +9 -1
  300. package/dist/models/MetricTypeReq.d.ts +1 -1
  301. package/dist/models/MetricTypeReq.js +1 -1
  302. package/dist/models/MetricTypeRes.d.ts +1 -1
  303. package/dist/models/MetricTypeRes.js +1 -1
  304. package/dist/models/MetricTypesList200Response.d.ts +63 -0
  305. package/dist/models/MetricTypesList200Response.js +59 -0
  306. package/dist/models/MetricTypesUpdateRequest.d.ts +32 -0
  307. package/dist/models/MetricTypesUpdateRequest.js +48 -0
  308. package/dist/models/NotaryJobRes.d.ts +1 -1
  309. package/dist/models/NotaryJobRes.js +1 -1
  310. package/dist/models/NotaryJobStatus.d.ts +1 -1
  311. package/dist/models/NotaryJobStatus.js +1 -1
  312. package/dist/models/PageRes.d.ts +14 -8
  313. package/dist/models/PageRes.js +7 -5
  314. package/dist/models/ParticipantReq.d.ts +1 -1
  315. package/dist/models/ParticipantReq.js +1 -1
  316. package/dist/models/ParticipantRes.d.ts +1 -1
  317. package/dist/models/ParticipantRes.js +1 -1
  318. package/dist/models/ParticipantStatus.d.ts +1 -1
  319. package/dist/models/ParticipantStatus.js +1 -1
  320. package/dist/models/ParticipantsList200Response.d.ts +63 -0
  321. package/dist/models/ParticipantsList200Response.js +59 -0
  322. package/dist/models/PriceItem.d.ts +1 -1
  323. package/dist/models/PriceItem.js +1 -1
  324. package/dist/models/PropertyDefinition.d.ts +31 -2
  325. package/dist/models/PropertyDefinition.js +15 -2
  326. package/dist/models/SecretDefinition.d.ts +43 -0
  327. package/dist/models/SecretDefinition.js +58 -0
  328. package/dist/models/ServiceGroupReq.d.ts +2 -2
  329. package/dist/models/ServiceGroupReq.js +1 -1
  330. package/dist/models/ServiceGroupRes.d.ts +2 -2
  331. package/dist/models/ServiceGroupRes.js +1 -1
  332. package/dist/models/ServiceGroupsList200Response.d.ts +63 -0
  333. package/dist/models/ServiceGroupsList200Response.js +59 -0
  334. package/dist/models/ServiceOfferingReq.d.ts +1 -1
  335. package/dist/models/ServiceOfferingReq.js +1 -1
  336. package/dist/models/ServiceOfferingRes.d.ts +1 -1
  337. package/dist/models/ServiceOfferingRes.js +1 -1
  338. package/dist/models/ServiceOfferingResServiceType.d.ts +1 -1
  339. package/dist/models/ServiceOfferingResServiceType.js +1 -1
  340. package/dist/models/ServiceOrderReq.d.ts +1 -1
  341. package/dist/models/ServiceOrderReq.js +1 -1
  342. package/dist/models/ServiceOrderRes.d.ts +9 -2
  343. package/dist/models/ServiceOrderRes.js +6 -3
  344. package/dist/models/ServiceOrderStatus.d.ts +26 -0
  345. package/dist/models/ServiceOrderStatus.js +52 -0
  346. package/dist/models/ServiceReq.d.ts +2 -2
  347. package/dist/models/ServiceReq.js +1 -1
  348. package/dist/models/ServiceRes.d.ts +6 -7
  349. package/dist/models/ServiceRes.js +7 -8
  350. package/dist/models/ServiceTypeRes.d.ts +9 -2
  351. package/dist/models/ServiceTypeRes.js +4 -1
  352. package/dist/models/ServiceTypesList200Response.d.ts +63 -0
  353. package/dist/models/ServiceTypesList200Response.js +59 -0
  354. package/dist/models/ServicesActionRequest.d.ts +34 -0
  355. package/dist/models/ServicesActionRequest.js +48 -0
  356. package/dist/models/SubmitNotaryJobReq.d.ts +1 -1
  357. package/dist/models/SubmitNotaryJobReq.js +1 -1
  358. package/dist/models/TokenReq.d.ts +2 -2
  359. package/dist/models/TokenReq.js +1 -1
  360. package/dist/models/TokenRes.d.ts +4 -10
  361. package/dist/models/TokenRes.js +3 -5
  362. package/dist/models/TokensList200Response.d.ts +63 -0
  363. package/dist/models/TokensList200Response.js +59 -0
  364. package/dist/models/TokensUpdateRequest.d.ts +51 -0
  365. package/dist/models/TokensUpdateRequest.js +55 -0
  366. package/dist/models/TransactionEntityType.d.ts +1 -1
  367. package/dist/models/TransactionEntityType.js +1 -1
  368. package/dist/models/TransactionRecordReq.d.ts +1 -1
  369. package/dist/models/TransactionRecordReq.js +1 -1
  370. package/dist/models/TransactionRecordRes.d.ts +1 -1
  371. package/dist/models/TransactionRecordRes.js +1 -1
  372. package/dist/models/TransactionStatus.d.ts +1 -1
  373. package/dist/models/TransactionStatus.js +1 -1
  374. package/dist/models/TransactionType.d.ts +1 -1
  375. package/dist/models/TransactionType.js +1 -1
  376. package/dist/models/TransactionsUpdateRequest.d.ts +45 -0
  377. package/dist/models/TransactionsUpdateRequest.js +53 -0
  378. package/dist/models/UpdateAgentReq.d.ts +8 -2
  379. package/dist/models/UpdateAgentReq.js +3 -1
  380. package/dist/models/UpdateAgentTypeReq.d.ts +10 -1
  381. package/dist/models/UpdateAgentTypeReq.js +5 -1
  382. package/dist/models/UpdateCEMServiceReq.d.ts +1 -1
  383. package/dist/models/UpdateCEMServiceReq.js +1 -1
  384. package/dist/models/UpdateServiceTypeReq.d.ts +9 -2
  385. package/dist/models/UpdateServiceTypeReq.js +4 -1
  386. package/dist/models/ValidationError.d.ts +1 -1
  387. package/dist/models/ValidationError.js +1 -1
  388. package/dist/models/ValidatorDefinition.d.ts +8 -6
  389. package/dist/models/ValidatorDefinition.js +6 -6
  390. package/dist/models/Variant.d.ts +1 -1
  391. package/dist/models/Variant.js +1 -1
  392. package/dist/models/index.d.ts +23 -33
  393. package/dist/models/index.js +23 -33
  394. package/dist/runtime.d.ts +1 -1
  395. package/dist/runtime.js +1 -1
  396. package/docs/AgentCreateRes.md +58 -0
  397. package/docs/AgentRes.md +56 -0
  398. package/docs/AgentStatus.md +32 -0
  399. package/docs/AgentTypeRes.md +44 -0
  400. package/docs/AgentTypesList200Response.md +44 -0
  401. package/docs/AgentsApi.md +922 -0
  402. package/docs/AgentsList200Response.md +44 -0
  403. package/docs/AgentsUpdateStatusRequest.md +34 -0
  404. package/docs/AuthRole.md +33 -0
  405. package/docs/AuthorizerDefinition.md +36 -0
  406. package/docs/ByPeriodReq.md +36 -0
  407. package/docs/ByPeriodReqFrom.md +36 -0
  408. package/docs/CommitmentReq.md +40 -0
  409. package/docs/CommitmentRes.md +46 -0
  410. package/docs/CommitmentsApi.md +379 -0
  411. package/docs/CompleteJobReq.md +38 -0
  412. package/docs/CreateAgentReq.md +44 -0
  413. package/docs/CreateAgentTypeReq.md +38 -0
  414. package/docs/CreateCEMServiceReq.md +46 -0
  415. package/docs/CreateServiceTypeReq.md +38 -0
  416. package/docs/ErrorRes.md +36 -0
  417. package/docs/EventAckReq.md +38 -0
  418. package/docs/EventAckRes.md +34 -0
  419. package/docs/EventApi.md +253 -0
  420. package/docs/EventLeaseReq.md +40 -0
  421. package/docs/EventLeaseRes.md +38 -0
  422. package/docs/EventRes.md +54 -0
  423. package/docs/EventsList200Response.md +44 -0
  424. package/docs/FailJobReq.md +34 -0
  425. package/docs/GeneratorDefinition.md +36 -0
  426. package/docs/JobRes.md +62 -0
  427. package/docs/JobStatus.md +33 -0
  428. package/docs/JobsApi.md +474 -0
  429. package/docs/JobsList200Response.md +44 -0
  430. package/docs/LifecycleAction.md +38 -0
  431. package/docs/LifecycleSchema.md +43 -0
  432. package/docs/LifecycleState.md +34 -0
  433. package/docs/LifecycleTransition.md +40 -0
  434. package/docs/MetricEntityType.md +32 -0
  435. package/docs/MetricEntriesList200Response.md +44 -0
  436. package/docs/MetricEntryReq.md +42 -0
  437. package/docs/MetricEntryRes.md +52 -0
  438. package/docs/MetricTypeReq.md +36 -0
  439. package/docs/MetricTypeRes.md +42 -0
  440. package/docs/MetricTypesList200Response.md +44 -0
  441. package/docs/MetricTypesUpdateRequest.md +34 -0
  442. package/docs/MetricsApi.md +543 -0
  443. package/docs/NotaryJobRes.md +54 -0
  444. package/docs/NotaryJobStatus.md +32 -0
  445. package/docs/NotaryJobsApi.md +381 -0
  446. package/docs/PageRes.md +44 -0
  447. package/docs/ParticipantReq.md +36 -0
  448. package/docs/ParticipantRes.md +42 -0
  449. package/docs/ParticipantStatus.md +32 -0
  450. package/docs/ParticipantsApi.md +389 -0
  451. package/docs/ParticipantsList200Response.md +44 -0
  452. package/docs/PriceItem.md +46 -0
  453. package/docs/PropertyDefinition.md +54 -0
  454. package/docs/SecretDefinition.md +34 -0
  455. package/docs/ServiceGroupReq.md +36 -0
  456. package/docs/ServiceGroupRes.md +42 -0
  457. package/docs/ServiceGroupsList200Response.md +44 -0
  458. package/docs/ServiceOfferingReq.md +48 -0
  459. package/docs/ServiceOfferingRes.md +58 -0
  460. package/docs/ServiceOfferingResServiceType.md +36 -0
  461. package/docs/ServiceOfferingsApi.md +379 -0
  462. package/docs/ServiceOrderReq.md +36 -0
  463. package/docs/ServiceOrderRes.md +70 -0
  464. package/docs/ServiceOrderStatus.md +32 -0
  465. package/docs/ServiceOrdersApi.md +233 -0
  466. package/docs/ServiceReq.md +44 -0
  467. package/docs/ServiceRes.md +58 -0
  468. package/docs/ServiceTypeRes.md +44 -0
  469. package/docs/ServiceTypesList200Response.md +44 -0
  470. package/docs/ServicesActionRequest.md +34 -0
  471. package/docs/ServicesApi.md +1289 -0
  472. package/docs/SubmitNotaryJobReq.md +38 -0
  473. package/docs/TokenReq.md +40 -0
  474. package/docs/TokenRes.md +50 -0
  475. package/docs/TokensApi.md +453 -0
  476. package/docs/TokensList200Response.md +44 -0
  477. package/docs/TokensUpdateRequest.md +40 -0
  478. package/docs/TransactionEntityType.md +32 -0
  479. package/docs/TransactionRecordReq.md +56 -0
  480. package/docs/TransactionRecordRes.md +74 -0
  481. package/docs/TransactionStatus.md +32 -0
  482. package/docs/TransactionType.md +32 -0
  483. package/docs/TransactionsApi.md +525 -0
  484. package/docs/TransactionsUpdateRequest.md +38 -0
  485. package/docs/UpdateAgentReq.md +42 -0
  486. package/docs/UpdateAgentTypeReq.md +38 -0
  487. package/docs/UpdateCEMServiceReq.md +38 -0
  488. package/docs/UpdateServiceTypeReq.md +38 -0
  489. package/docs/ValidationError.md +36 -0
  490. package/docs/ValidatorDefinition.md +36 -0
  491. package/docs/Variant.md +40 -0
  492. package/package.json +2 -2
  493. package/src/apis/AgentsApi.ts +262 -250
  494. package/src/apis/CommitmentsApi.ts +41 -41
  495. package/src/apis/EventApi.ts +96 -129
  496. package/src/apis/JobsApi.ts +167 -259
  497. package/src/apis/MetricsApi.ts +200 -149
  498. package/src/apis/NotaryJobsApi.ts +40 -40
  499. package/src/apis/ParticipantsApi.ts +109 -67
  500. package/src/apis/ServiceOfferingsApi.ts +41 -41
  501. package/src/apis/ServiceOrdersApi.ts +26 -26
  502. package/src/apis/ServicesApi.ts +348 -489
  503. package/src/apis/TokensApi.ts +101 -80
  504. package/src/apis/TransactionsApi.ts +63 -63
  505. package/src/models/AgentCreateRes.ts +17 -1
  506. package/src/models/AgentRes.ts +17 -1
  507. package/src/models/AgentStatus.ts +1 -1
  508. package/src/models/AgentTypeRes.ts +17 -1
  509. package/src/models/AgentTypesList200Response.ts +113 -0
  510. package/src/models/AgentsList200Response.ts +113 -0
  511. package/src/models/AgentsUpdateStatusRequest.ts +76 -0
  512. package/src/models/AuthRole.ts +1 -1
  513. package/src/models/AuthorizerDefinition.ts +86 -0
  514. package/src/models/ByPeriodReq.ts +1 -1
  515. package/src/models/ByPeriodReqFrom.ts +1 -1
  516. package/src/models/CommitmentReq.ts +1 -1
  517. package/src/models/CommitmentRes.ts +1 -1
  518. package/src/models/CompleteJobReq.ts +17 -9
  519. package/src/models/CreateAgentReq.ts +12 -4
  520. package/src/models/CreateAgentTypeReq.ts +18 -1
  521. package/src/models/CreateCEMServiceReq.ts +1 -1
  522. package/src/models/CreateServiceTypeReq.ts +17 -2
  523. package/src/models/ErrorRes.ts +5 -13
  524. package/src/models/EventAckReq.ts +1 -1
  525. package/src/models/EventAckRes.ts +1 -1
  526. package/src/models/EventLeaseReq.ts +1 -1
  527. package/src/models/EventLeaseRes.ts +1 -1
  528. package/src/models/EventRes.ts +42 -2
  529. package/src/models/EventsList200Response.ts +113 -0
  530. package/src/models/FailJobReq.ts +3 -1
  531. package/src/models/GeneratorDefinition.ts +85 -0
  532. package/src/models/JobRes.ts +34 -48
  533. package/src/models/JobStatus.ts +7 -3
  534. package/src/models/JobsList200Response.ts +113 -0
  535. package/src/models/LifecycleAction.ts +104 -0
  536. package/src/models/LifecycleSchema.ts +117 -0
  537. package/src/models/LifecycleState.ts +66 -0
  538. package/src/models/LifecycleTransition.ts +94 -0
  539. package/src/models/MetricEntityType.ts +1 -1
  540. package/src/models/MetricEntriesList200Response.ts +113 -0
  541. package/src/models/MetricEntryReq.ts +6 -6
  542. package/src/models/MetricEntryRes.ts +33 -1
  543. package/src/models/MetricTypeReq.ts +1 -1
  544. package/src/models/MetricTypeRes.ts +1 -1
  545. package/src/models/MetricTypesList200Response.ts +113 -0
  546. package/src/models/MetricTypesUpdateRequest.ts +65 -0
  547. package/src/models/NotaryJobRes.ts +1 -1
  548. package/src/models/NotaryJobStatus.ts +1 -1
  549. package/src/models/PageRes.ts +20 -12
  550. package/src/models/ParticipantReq.ts +1 -1
  551. package/src/models/ParticipantRes.ts +1 -1
  552. package/src/models/ParticipantStatus.ts +1 -1
  553. package/src/models/ParticipantsList200Response.ts +113 -0
  554. package/src/models/PriceItem.ts +1 -1
  555. package/src/models/PropertyDefinition.ts +58 -3
  556. package/src/models/SecretDefinition.ts +80 -0
  557. package/src/models/ServiceGroupReq.ts +2 -2
  558. package/src/models/ServiceGroupRes.ts +2 -2
  559. package/src/models/ServiceGroupsList200Response.ts +113 -0
  560. package/src/models/ServiceOfferingReq.ts +1 -1
  561. package/src/models/ServiceOfferingRes.ts +1 -1
  562. package/src/models/ServiceOfferingResServiceType.ts +1 -1
  563. package/src/models/ServiceOrderReq.ts +1 -1
  564. package/src/models/ServiceOrderRes.ts +21 -4
  565. package/src/models/ServiceOrderStatus.ts +54 -0
  566. package/src/models/ServiceReq.ts +2 -2
  567. package/src/models/ServiceRes.ts +12 -22
  568. package/src/models/ServiceTypeRes.ts +17 -2
  569. package/src/models/ServiceTypesList200Response.ts +113 -0
  570. package/src/models/ServicesActionRequest.ts +65 -0
  571. package/src/models/SubmitNotaryJobReq.ts +1 -1
  572. package/src/models/TokenReq.ts +2 -2
  573. package/src/models/TokenRes.ts +6 -14
  574. package/src/models/TokensList200Response.ts +113 -0
  575. package/src/models/TokensUpdateRequest.ts +99 -0
  576. package/src/models/TransactionEntityType.ts +1 -1
  577. package/src/models/TransactionRecordReq.ts +1 -1
  578. package/src/models/TransactionRecordRes.ts +1 -1
  579. package/src/models/TransactionStatus.ts +1 -1
  580. package/src/models/TransactionType.ts +1 -1
  581. package/src/models/TransactionsUpdateRequest.ts +91 -0
  582. package/src/models/UpdateAgentReq.ts +10 -2
  583. package/src/models/UpdateAgentTypeReq.ts +17 -1
  584. package/src/models/UpdateCEMServiceReq.ts +1 -1
  585. package/src/models/UpdateServiceTypeReq.ts +17 -2
  586. package/src/models/ValidationError.ts +1 -1
  587. package/src/models/ValidatorDefinition.ts +9 -9
  588. package/src/models/Variant.ts +1 -1
  589. package/src/models/index.ts +23 -33
  590. package/src/runtime.ts +1 -1
@@ -0,0 +1,922 @@
1
+ # AgentsApi
2
+
3
+ All URIs are relative to *https://api.fulcrum.testudosrl.dev/api/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**agentTypesCreate**](AgentsApi.md#agenttypescreate) | **POST** /agent-types | Create an agent type |
8
+ | [**agentTypesDelete**](AgentsApi.md#agenttypesdelete) | **DELETE** /agent-types/{id} | Delete an agent type |
9
+ | [**agentTypesGet**](AgentsApi.md#agenttypesget) | **GET** /agent-types/{id} | Get an agent type |
10
+ | [**agentTypesList**](AgentsApi.md#agenttypeslist) | **GET** /agent-types | List agent types |
11
+ | [**agentTypesUpdate**](AgentsApi.md#agenttypesupdate) | **PATCH** /agent-types/{id} | Update an agent type |
12
+ | [**agentsCreate**](AgentsApi.md#agentscreate) | **POST** /agents | Create an agent |
13
+ | [**agentsDelete**](AgentsApi.md#agentsdelete) | **DELETE** /agents/{id} | Delete an agent |
14
+ | [**agentsGet**](AgentsApi.md#agentsget) | **GET** /agents/{id} | Get an agent |
15
+ | [**agentsGetCurrent**](AgentsApi.md#agentsgetcurrent) | **GET** /agents/me | Get current agent |
16
+ | [**agentsList**](AgentsApi.md#agentslist) | **GET** /agents | List agents |
17
+ | [**agentsUpdate**](AgentsApi.md#agentsupdate) | **PATCH** /agents/{id} | Update an agent |
18
+ | [**agentsUpdateStatus**](AgentsApi.md#agentsupdatestatusoperation) | **PUT** /agents/me/status | Update agent status |
19
+
20
+
21
+
22
+ ## agentTypesCreate
23
+
24
+ > AgentTypeRes agentTypesCreate(createAgentTypeReq)
25
+
26
+ Create an agent type
27
+
28
+ Creates a new agent type with optional service types
29
+
30
+ ### Example
31
+
32
+ ```ts
33
+ import {
34
+ Configuration,
35
+ AgentsApi,
36
+ } from 'fulcrum-cem-client';
37
+ import type { AgentTypesCreateRequest } from 'fulcrum-cem-client';
38
+
39
+ async function example() {
40
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
41
+ const config = new Configuration({
42
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
43
+ accessToken: "YOUR ACCESS TOKEN",
44
+ });
45
+ const api = new AgentsApi(config);
46
+
47
+ const body = {
48
+ // CreateAgentTypeReq
49
+ createAgentTypeReq: ...,
50
+ } satisfies AgentTypesCreateRequest;
51
+
52
+ try {
53
+ const data = await api.agentTypesCreate(body);
54
+ console.log(data);
55
+ } catch (error) {
56
+ console.error(error);
57
+ }
58
+ }
59
+
60
+ // Run the test
61
+ example().catch(console.error);
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+
67
+ | Name | Type | Description | Notes |
68
+ |------------- | ------------- | ------------- | -------------|
69
+ | **createAgentTypeReq** | [CreateAgentTypeReq](CreateAgentTypeReq.md) | | |
70
+
71
+ ### Return type
72
+
73
+ [**AgentTypeRes**](AgentTypeRes.md)
74
+
75
+ ### Authorization
76
+
77
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
78
+
79
+ ### HTTP request headers
80
+
81
+ - **Content-Type**: `application/json`
82
+ - **Accept**: `application/json`
83
+
84
+
85
+ ### HTTP response details
86
+ | Status code | Description | Response headers |
87
+ |-------------|-------------|------------------|
88
+ | **201** | Agent type created successfully | - |
89
+ | **400** | Invalid request body or validation error | - |
90
+ | **401** | Authentication required | - |
91
+ | **403** | Administrator access required | - |
92
+ | **409** | Agent type with same name already exists | - |
93
+
94
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
95
+
96
+
97
+ ## agentTypesDelete
98
+
99
+ > agentTypesDelete(id)
100
+
101
+ Delete an agent type
102
+
103
+ Deletes an agent type if no agents depend on it
104
+
105
+ ### Example
106
+
107
+ ```ts
108
+ import {
109
+ Configuration,
110
+ AgentsApi,
111
+ } from 'fulcrum-cem-client';
112
+ import type { AgentTypesDeleteRequest } from 'fulcrum-cem-client';
113
+
114
+ async function example() {
115
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
116
+ const config = new Configuration({
117
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
118
+ accessToken: "YOUR ACCESS TOKEN",
119
+ });
120
+ const api = new AgentsApi(config);
121
+
122
+ const body = {
123
+ // string
124
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
125
+ } satisfies AgentTypesDeleteRequest;
126
+
127
+ try {
128
+ const data = await api.agentTypesDelete(body);
129
+ console.log(data);
130
+ } catch (error) {
131
+ console.error(error);
132
+ }
133
+ }
134
+
135
+ // Run the test
136
+ example().catch(console.error);
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+
142
+ | Name | Type | Description | Notes |
143
+ |------------- | ------------- | ------------- | -------------|
144
+ | **id** | `string` | | [Defaults to `undefined`] |
145
+
146
+ ### Return type
147
+
148
+ `void` (Empty response body)
149
+
150
+ ### Authorization
151
+
152
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: Not defined
157
+ - **Accept**: `application/json`
158
+
159
+
160
+ ### HTTP response details
161
+ | Status code | Description | Response headers |
162
+ |-------------|-------------|------------------|
163
+ | **204** | Agent type deleted successfully | - |
164
+ | **401** | Authentication required | - |
165
+ | **403** | Administrator access required | - |
166
+ | **404** | Agent type not found | - |
167
+ | **409** | Cannot delete agent type with dependent agents | - |
168
+
169
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
170
+
171
+
172
+ ## agentTypesGet
173
+
174
+ > AgentTypeRes agentTypesGet(id)
175
+
176
+ Get an agent type
177
+
178
+ Retrieves a specific agent type by ID
179
+
180
+ ### Example
181
+
182
+ ```ts
183
+ import {
184
+ Configuration,
185
+ AgentsApi,
186
+ } from 'fulcrum-cem-client';
187
+ import type { AgentTypesGetRequest } from 'fulcrum-cem-client';
188
+
189
+ async function example() {
190
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
191
+ const config = new Configuration({
192
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
193
+ accessToken: "YOUR ACCESS TOKEN",
194
+ });
195
+ const api = new AgentsApi(config);
196
+
197
+ const body = {
198
+ // string
199
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
200
+ } satisfies AgentTypesGetRequest;
201
+
202
+ try {
203
+ const data = await api.agentTypesGet(body);
204
+ console.log(data);
205
+ } catch (error) {
206
+ console.error(error);
207
+ }
208
+ }
209
+
210
+ // Run the test
211
+ example().catch(console.error);
212
+ ```
213
+
214
+ ### Parameters
215
+
216
+
217
+ | Name | Type | Description | Notes |
218
+ |------------- | ------------- | ------------- | -------------|
219
+ | **id** | `string` | | [Defaults to `undefined`] |
220
+
221
+ ### Return type
222
+
223
+ [**AgentTypeRes**](AgentTypeRes.md)
224
+
225
+ ### Authorization
226
+
227
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
228
+
229
+ ### HTTP request headers
230
+
231
+ - **Content-Type**: Not defined
232
+ - **Accept**: `application/json`
233
+
234
+
235
+ ### HTTP response details
236
+ | Status code | Description | Response headers |
237
+ |-------------|-------------|------------------|
238
+ | **200** | The agent type details | - |
239
+ | **404** | Agent type not found | - |
240
+
241
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
242
+
243
+
244
+ ## agentTypesList
245
+
246
+ > AgentTypesList200Response agentTypesList(page, pageSize, sort, name)
247
+
248
+ List agent types
249
+
250
+ Retrieves a paginated list of agent types
251
+
252
+ ### Example
253
+
254
+ ```ts
255
+ import {
256
+ Configuration,
257
+ AgentsApi,
258
+ } from 'fulcrum-cem-client';
259
+ import type { AgentTypesListRequest } from 'fulcrum-cem-client';
260
+
261
+ async function example() {
262
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
263
+ const config = new Configuration({
264
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
265
+ accessToken: "YOUR ACCESS TOKEN",
266
+ });
267
+ const api = new AgentsApi(config);
268
+
269
+ const body = {
270
+ // number (optional)
271
+ page: 56,
272
+ // number (optional)
273
+ pageSize: 56,
274
+ // string | Sort field. Prefix with \'+\' for ascending or \'-\' for descending. Default is ascending. Supported fields: name (optional)
275
+ sort: +name,
276
+ // Array<string> | Filter by agent type name (can specify multiple values) (optional)
277
+ name: ...,
278
+ } satisfies AgentTypesListRequest;
279
+
280
+ try {
281
+ const data = await api.agentTypesList(body);
282
+ console.log(data);
283
+ } catch (error) {
284
+ console.error(error);
285
+ }
286
+ }
287
+
288
+ // Run the test
289
+ example().catch(console.error);
290
+ ```
291
+
292
+ ### Parameters
293
+
294
+
295
+ | Name | Type | Description | Notes |
296
+ |------------- | ------------- | ------------- | -------------|
297
+ | **page** | `number` | | [Optional] [Defaults to `1`] |
298
+ | **pageSize** | `number` | | [Optional] [Defaults to `20`] |
299
+ | **sort** | `string` | Sort field. Prefix with \&#39;+\&#39; for ascending or \&#39;-\&#39; for descending. Default is ascending. Supported fields: name | [Optional] [Defaults to `undefined`] |
300
+ | **name** | `Array<string>` | Filter by agent type name (can specify multiple values) | [Optional] |
301
+
302
+ ### Return type
303
+
304
+ [**AgentTypesList200Response**](AgentTypesList200Response.md)
305
+
306
+ ### Authorization
307
+
308
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
309
+
310
+ ### HTTP request headers
311
+
312
+ - **Content-Type**: Not defined
313
+ - **Accept**: `application/json`
314
+
315
+
316
+ ### HTTP response details
317
+ | Status code | Description | Response headers |
318
+ |-------------|-------------|------------------|
319
+ | **200** | A paginated list of agent types | - |
320
+ | **401** | Unauthorized | - |
321
+ | **403** | Forbidden | - |
322
+
323
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
324
+
325
+
326
+ ## agentTypesUpdate
327
+
328
+ > AgentTypeRes agentTypesUpdate(id, updateAgentTypeReq)
329
+
330
+ Update an agent type
331
+
332
+ Partially updates an agent type (PATCH semantics)
333
+
334
+ ### Example
335
+
336
+ ```ts
337
+ import {
338
+ Configuration,
339
+ AgentsApi,
340
+ } from 'fulcrum-cem-client';
341
+ import type { AgentTypesUpdateRequest } from 'fulcrum-cem-client';
342
+
343
+ async function example() {
344
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
345
+ const config = new Configuration({
346
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
347
+ accessToken: "YOUR ACCESS TOKEN",
348
+ });
349
+ const api = new AgentsApi(config);
350
+
351
+ const body = {
352
+ // string
353
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
354
+ // UpdateAgentTypeReq
355
+ updateAgentTypeReq: ...,
356
+ } satisfies AgentTypesUpdateRequest;
357
+
358
+ try {
359
+ const data = await api.agentTypesUpdate(body);
360
+ console.log(data);
361
+ } catch (error) {
362
+ console.error(error);
363
+ }
364
+ }
365
+
366
+ // Run the test
367
+ example().catch(console.error);
368
+ ```
369
+
370
+ ### Parameters
371
+
372
+
373
+ | Name | Type | Description | Notes |
374
+ |------------- | ------------- | ------------- | -------------|
375
+ | **id** | `string` | | [Defaults to `undefined`] |
376
+ | **updateAgentTypeReq** | [UpdateAgentTypeReq](UpdateAgentTypeReq.md) | | |
377
+
378
+ ### Return type
379
+
380
+ [**AgentTypeRes**](AgentTypeRes.md)
381
+
382
+ ### Authorization
383
+
384
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
385
+
386
+ ### HTTP request headers
387
+
388
+ - **Content-Type**: `application/json`
389
+ - **Accept**: `application/json`
390
+
391
+
392
+ ### HTTP response details
393
+ | Status code | Description | Response headers |
394
+ |-------------|-------------|------------------|
395
+ | **200** | Agent type updated successfully | - |
396
+ | **400** | Invalid request body or validation error | - |
397
+ | **401** | Authentication required | - |
398
+ | **403** | Administrator access required | - |
399
+ | **404** | Agent type not found | - |
400
+ | **409** | Agent type with same name already exists | - |
401
+
402
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
403
+
404
+
405
+ ## agentsCreate
406
+
407
+ > AgentCreateRes agentsCreate(createAgentReq)
408
+
409
+ Create an agent
410
+
411
+ Creates a new agent and returns the agent data with an authentication token
412
+
413
+ ### Example
414
+
415
+ ```ts
416
+ import {
417
+ Configuration,
418
+ AgentsApi,
419
+ } from 'fulcrum-cem-client';
420
+ import type { AgentsCreateRequest } from 'fulcrum-cem-client';
421
+
422
+ async function example() {
423
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
424
+ const config = new Configuration({
425
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
426
+ accessToken: "YOUR ACCESS TOKEN",
427
+ });
428
+ const api = new AgentsApi(config);
429
+
430
+ const body = {
431
+ // CreateAgentReq
432
+ createAgentReq: ...,
433
+ } satisfies AgentsCreateRequest;
434
+
435
+ try {
436
+ const data = await api.agentsCreate(body);
437
+ console.log(data);
438
+ } catch (error) {
439
+ console.error(error);
440
+ }
441
+ }
442
+
443
+ // Run the test
444
+ example().catch(console.error);
445
+ ```
446
+
447
+ ### Parameters
448
+
449
+
450
+ | Name | Type | Description | Notes |
451
+ |------------- | ------------- | ------------- | -------------|
452
+ | **createAgentReq** | [CreateAgentReq](CreateAgentReq.md) | | |
453
+
454
+ ### Return type
455
+
456
+ [**AgentCreateRes**](AgentCreateRes.md)
457
+
458
+ ### Authorization
459
+
460
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
461
+
462
+ ### HTTP request headers
463
+
464
+ - **Content-Type**: `application/json`
465
+ - **Accept**: `application/json`
466
+
467
+
468
+ ### HTTP response details
469
+ | Status code | Description | Response headers |
470
+ |-------------|-------------|------------------|
471
+ | **201** | Agent created successfully | - |
472
+ | **400** | Invalid request | - |
473
+
474
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
475
+
476
+
477
+ ## agentsDelete
478
+
479
+ > agentsDelete(id)
480
+
481
+ Delete an agent
482
+
483
+ Deletes an agent by ID
484
+
485
+ ### Example
486
+
487
+ ```ts
488
+ import {
489
+ Configuration,
490
+ AgentsApi,
491
+ } from 'fulcrum-cem-client';
492
+ import type { AgentsDeleteRequest } from 'fulcrum-cem-client';
493
+
494
+ async function example() {
495
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
496
+ const config = new Configuration({
497
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
498
+ accessToken: "YOUR ACCESS TOKEN",
499
+ });
500
+ const api = new AgentsApi(config);
501
+
502
+ const body = {
503
+ // string
504
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
505
+ } satisfies AgentsDeleteRequest;
506
+
507
+ try {
508
+ const data = await api.agentsDelete(body);
509
+ console.log(data);
510
+ } catch (error) {
511
+ console.error(error);
512
+ }
513
+ }
514
+
515
+ // Run the test
516
+ example().catch(console.error);
517
+ ```
518
+
519
+ ### Parameters
520
+
521
+
522
+ | Name | Type | Description | Notes |
523
+ |------------- | ------------- | ------------- | -------------|
524
+ | **id** | `string` | | [Defaults to `undefined`] |
525
+
526
+ ### Return type
527
+
528
+ `void` (Empty response body)
529
+
530
+ ### Authorization
531
+
532
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
533
+
534
+ ### HTTP request headers
535
+
536
+ - **Content-Type**: Not defined
537
+ - **Accept**: `application/json`
538
+
539
+
540
+ ### HTTP response details
541
+ | Status code | Description | Response headers |
542
+ |-------------|-------------|------------------|
543
+ | **204** | Agent deleted successfully | - |
544
+ | **404** | Agent not found | - |
545
+
546
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
547
+
548
+
549
+ ## agentsGet
550
+
551
+ > AgentRes agentsGet(id)
552
+
553
+ Get an agent
554
+
555
+ Retrieves a specific agent by ID
556
+
557
+ ### Example
558
+
559
+ ```ts
560
+ import {
561
+ Configuration,
562
+ AgentsApi,
563
+ } from 'fulcrum-cem-client';
564
+ import type { AgentsGetRequest } from 'fulcrum-cem-client';
565
+
566
+ async function example() {
567
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
568
+ const config = new Configuration({
569
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
570
+ accessToken: "YOUR ACCESS TOKEN",
571
+ });
572
+ const api = new AgentsApi(config);
573
+
574
+ const body = {
575
+ // string
576
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
577
+ } satisfies AgentsGetRequest;
578
+
579
+ try {
580
+ const data = await api.agentsGet(body);
581
+ console.log(data);
582
+ } catch (error) {
583
+ console.error(error);
584
+ }
585
+ }
586
+
587
+ // Run the test
588
+ example().catch(console.error);
589
+ ```
590
+
591
+ ### Parameters
592
+
593
+
594
+ | Name | Type | Description | Notes |
595
+ |------------- | ------------- | ------------- | -------------|
596
+ | **id** | `string` | | [Defaults to `undefined`] |
597
+
598
+ ### Return type
599
+
600
+ [**AgentRes**](AgentRes.md)
601
+
602
+ ### Authorization
603
+
604
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
605
+
606
+ ### HTTP request headers
607
+
608
+ - **Content-Type**: Not defined
609
+ - **Accept**: `application/json`
610
+
611
+
612
+ ### HTTP response details
613
+ | Status code | Description | Response headers |
614
+ |-------------|-------------|------------------|
615
+ | **200** | The agent details | - |
616
+ | **404** | Agent not found | - |
617
+
618
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
619
+
620
+
621
+ ## agentsGetCurrent
622
+
623
+ > AgentRes agentsGetCurrent()
624
+
625
+ Get current agent
626
+
627
+ Retrieves information about the currently authenticated agent
628
+
629
+ ### Example
630
+
631
+ ```ts
632
+ import {
633
+ Configuration,
634
+ AgentsApi,
635
+ } from 'fulcrum-cem-client';
636
+ import type { AgentsGetCurrentRequest } from 'fulcrum-cem-client';
637
+
638
+ async function example() {
639
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
640
+ const config = new Configuration({
641
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
642
+ accessToken: "YOUR ACCESS TOKEN",
643
+ });
644
+ const api = new AgentsApi(config);
645
+
646
+ try {
647
+ const data = await api.agentsGetCurrent();
648
+ console.log(data);
649
+ } catch (error) {
650
+ console.error(error);
651
+ }
652
+ }
653
+
654
+ // Run the test
655
+ example().catch(console.error);
656
+ ```
657
+
658
+ ### Parameters
659
+
660
+ This endpoint does not need any parameter.
661
+
662
+ ### Return type
663
+
664
+ [**AgentRes**](AgentRes.md)
665
+
666
+ ### Authorization
667
+
668
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
669
+
670
+ ### HTTP request headers
671
+
672
+ - **Content-Type**: Not defined
673
+ - **Accept**: `application/json`
674
+
675
+
676
+ ### HTTP response details
677
+ | Status code | Description | Response headers |
678
+ |-------------|-------------|------------------|
679
+ | **200** | The agent details | - |
680
+ | **401** | Unauthorized | - |
681
+
682
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
683
+
684
+
685
+ ## agentsList
686
+
687
+ > AgentsList200Response agentsList(page, pageSize, sort, name, status, providerId, agentTypeId)
688
+
689
+ List agents
690
+
691
+ Retrieves a paginated list of agents
692
+
693
+ ### Example
694
+
695
+ ```ts
696
+ import {
697
+ Configuration,
698
+ AgentsApi,
699
+ } from 'fulcrum-cem-client';
700
+ import type { AgentsListRequest } from 'fulcrum-cem-client';
701
+
702
+ async function example() {
703
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
704
+ const config = new Configuration({
705
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
706
+ accessToken: "YOUR ACCESS TOKEN",
707
+ });
708
+ const api = new AgentsApi(config);
709
+
710
+ const body = {
711
+ // number (optional)
712
+ page: 56,
713
+ // number (optional)
714
+ pageSize: 56,
715
+ // string | Sort field. Prefix with \'+\' for ascending or \'-\' for descending. Default is ascending. Supported fields: name (optional)
716
+ sort: +name,
717
+ // Array<string> | Filter by agent name (can specify multiple values) (optional)
718
+ name: ...,
719
+ // Array<'New' | 'Connected' | 'Disconnected' | 'Error' | 'Disabled'> | Filter by agent status (can specify multiple values) (optional)
720
+ status: ...,
721
+ // Array<string> | Filter by provider ID (can specify multiple values) (optional)
722
+ providerId: ...,
723
+ // Array<string> | Filter by agent type ID (can specify multiple values) (optional)
724
+ agentTypeId: ...,
725
+ } satisfies AgentsListRequest;
726
+
727
+ try {
728
+ const data = await api.agentsList(body);
729
+ console.log(data);
730
+ } catch (error) {
731
+ console.error(error);
732
+ }
733
+ }
734
+
735
+ // Run the test
736
+ example().catch(console.error);
737
+ ```
738
+
739
+ ### Parameters
740
+
741
+
742
+ | Name | Type | Description | Notes |
743
+ |------------- | ------------- | ------------- | -------------|
744
+ | **page** | `number` | | [Optional] [Defaults to `1`] |
745
+ | **pageSize** | `number` | | [Optional] [Defaults to `20`] |
746
+ | **sort** | `string` | Sort field. Prefix with \&#39;+\&#39; for ascending or \&#39;-\&#39; for descending. Default is ascending. Supported fields: name | [Optional] [Defaults to `undefined`] |
747
+ | **name** | `Array<string>` | Filter by agent name (can specify multiple values) | [Optional] |
748
+ | **status** | `New`, `Connected`, `Disconnected`, `Error`, `Disabled` | Filter by agent status (can specify multiple values) | [Optional] [Enum: New, Connected, Disconnected, Error, Disabled] |
749
+ | **providerId** | `Array<string>` | Filter by provider ID (can specify multiple values) | [Optional] |
750
+ | **agentTypeId** | `Array<string>` | Filter by agent type ID (can specify multiple values) | [Optional] |
751
+
752
+ ### Return type
753
+
754
+ [**AgentsList200Response**](AgentsList200Response.md)
755
+
756
+ ### Authorization
757
+
758
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
759
+
760
+ ### HTTP request headers
761
+
762
+ - **Content-Type**: Not defined
763
+ - **Accept**: `application/json`
764
+
765
+
766
+ ### HTTP response details
767
+ | Status code | Description | Response headers |
768
+ |-------------|-------------|------------------|
769
+ | **200** | A paginated list of agents | - |
770
+ | **401** | Unauthorized | - |
771
+ | **403** | Forbidden | - |
772
+
773
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
774
+
775
+
776
+ ## agentsUpdate
777
+
778
+ > AgentRes agentsUpdate(id, updateAgentReq)
779
+
780
+ Update an agent
781
+
782
+ Updates an existing agent
783
+
784
+ ### Example
785
+
786
+ ```ts
787
+ import {
788
+ Configuration,
789
+ AgentsApi,
790
+ } from 'fulcrum-cem-client';
791
+ import type { AgentsUpdateRequest } from 'fulcrum-cem-client';
792
+
793
+ async function example() {
794
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
795
+ const config = new Configuration({
796
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
797
+ accessToken: "YOUR ACCESS TOKEN",
798
+ });
799
+ const api = new AgentsApi(config);
800
+
801
+ const body = {
802
+ // string
803
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
804
+ // UpdateAgentReq
805
+ updateAgentReq: ...,
806
+ } satisfies AgentsUpdateRequest;
807
+
808
+ try {
809
+ const data = await api.agentsUpdate(body);
810
+ console.log(data);
811
+ } catch (error) {
812
+ console.error(error);
813
+ }
814
+ }
815
+
816
+ // Run the test
817
+ example().catch(console.error);
818
+ ```
819
+
820
+ ### Parameters
821
+
822
+
823
+ | Name | Type | Description | Notes |
824
+ |------------- | ------------- | ------------- | -------------|
825
+ | **id** | `string` | | [Defaults to `undefined`] |
826
+ | **updateAgentReq** | [UpdateAgentReq](UpdateAgentReq.md) | | |
827
+
828
+ ### Return type
829
+
830
+ [**AgentRes**](AgentRes.md)
831
+
832
+ ### Authorization
833
+
834
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
835
+
836
+ ### HTTP request headers
837
+
838
+ - **Content-Type**: `application/json`
839
+ - **Accept**: `application/json`
840
+
841
+
842
+ ### HTTP response details
843
+ | Status code | Description | Response headers |
844
+ |-------------|-------------|------------------|
845
+ | **200** | Agent updated successfully | - |
846
+ | **404** | Agent not found | - |
847
+
848
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
849
+
850
+
851
+ ## agentsUpdateStatus
852
+
853
+ > AgentRes agentsUpdateStatus(agentsUpdateStatusRequest)
854
+
855
+ Update agent status
856
+
857
+ Updates the status of the authenticated agent
858
+
859
+ ### Example
860
+
861
+ ```ts
862
+ import {
863
+ Configuration,
864
+ AgentsApi,
865
+ } from 'fulcrum-cem-client';
866
+ import type { AgentsUpdateStatusOperationRequest } from 'fulcrum-cem-client';
867
+
868
+ async function example() {
869
+ console.log("🚀 Testing fulcrum-cem-client SDK...");
870
+ const config = new Configuration({
871
+ // To configure OAuth2 access token for authorization: BearerAuth implicit
872
+ accessToken: "YOUR ACCESS TOKEN",
873
+ });
874
+ const api = new AgentsApi(config);
875
+
876
+ const body = {
877
+ // AgentsUpdateStatusRequest
878
+ agentsUpdateStatusRequest: ...,
879
+ } satisfies AgentsUpdateStatusOperationRequest;
880
+
881
+ try {
882
+ const data = await api.agentsUpdateStatus(body);
883
+ console.log(data);
884
+ } catch (error) {
885
+ console.error(error);
886
+ }
887
+ }
888
+
889
+ // Run the test
890
+ example().catch(console.error);
891
+ ```
892
+
893
+ ### Parameters
894
+
895
+
896
+ | Name | Type | Description | Notes |
897
+ |------------- | ------------- | ------------- | -------------|
898
+ | **agentsUpdateStatusRequest** | [AgentsUpdateStatusRequest](AgentsUpdateStatusRequest.md) | | |
899
+
900
+ ### Return type
901
+
902
+ [**AgentRes**](AgentRes.md)
903
+
904
+ ### Authorization
905
+
906
+ [BearerAuth implicit](../README.md#BearerAuth-implicit)
907
+
908
+ ### HTTP request headers
909
+
910
+ - **Content-Type**: `application/json`
911
+ - **Accept**: `application/json`
912
+
913
+
914
+ ### HTTP response details
915
+ | Status code | Description | Response headers |
916
+ |-------------|-------------|------------------|
917
+ | **200** | Agent status updated successfully | - |
918
+ | **400** | Invalid request | - |
919
+ | **401** | Unauthorized | - |
920
+
921
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
922
+