cribl-control-plane 0.0.21 → 0.0.22

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 (553) hide show
  1. package/README.md +35 -1
  2. package/dist/commonjs/__tests__/distributed.test.d.ts +2 -0
  3. package/dist/commonjs/__tests__/distributed.test.d.ts.map +1 -0
  4. package/dist/commonjs/__tests__/distributed.test.js +22 -0
  5. package/dist/commonjs/__tests__/distributed.test.js.map +1 -0
  6. package/dist/commonjs/__tests__/groups.test.d.ts +2 -0
  7. package/dist/commonjs/__tests__/groups.test.d.ts.map +1 -0
  8. package/dist/commonjs/__tests__/groups.test.js +106 -0
  9. package/dist/commonjs/__tests__/groups.test.js.map +1 -0
  10. package/dist/commonjs/__tests__/teams.test.d.ts +2 -0
  11. package/dist/commonjs/__tests__/teams.test.d.ts.map +1 -0
  12. package/dist/commonjs/__tests__/teams.test.js +26 -0
  13. package/dist/commonjs/__tests__/teams.test.js.map +1 -0
  14. package/dist/commonjs/__tests__/workers.test.d.ts +2 -0
  15. package/dist/commonjs/__tests__/workers.test.d.ts.map +1 -0
  16. package/dist/commonjs/__tests__/workers.test.js +48 -0
  17. package/dist/commonjs/__tests__/workers.test.js.map +1 -0
  18. package/dist/commonjs/funcs/distributedGetSummary.d.ts +18 -0
  19. package/dist/commonjs/funcs/distributedGetSummary.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/distributedGetSummary.js +120 -0
  21. package/dist/commonjs/funcs/distributedGetSummary.js.map +1 -0
  22. package/dist/commonjs/funcs/groupsCreateProductsGroupsByProduct.d.ts +18 -0
  23. package/dist/commonjs/funcs/groupsCreateProductsGroupsByProduct.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/groupsCreateProductsGroupsByProduct.js +123 -0
  25. package/dist/commonjs/funcs/groupsCreateProductsGroupsByProduct.js.map +1 -0
  26. package/dist/commonjs/funcs/groupsGetGroupsAclById.d.ts +18 -0
  27. package/dist/commonjs/funcs/groupsGetGroupsAclById.d.ts.map +1 -0
  28. package/dist/commonjs/funcs/groupsGetGroupsAclById.js +126 -0
  29. package/dist/commonjs/funcs/groupsGetGroupsAclById.js.map +1 -0
  30. package/dist/commonjs/funcs/groupsGetGroupsById.d.ts +18 -0
  31. package/dist/commonjs/funcs/groupsGetGroupsById.d.ts.map +1 -0
  32. package/dist/commonjs/funcs/groupsGetGroupsById.js +126 -0
  33. package/dist/commonjs/funcs/groupsGetGroupsById.js.map +1 -0
  34. package/dist/commonjs/funcs/groupsGetGroupsConfigVersionById.d.ts +18 -0
  35. package/dist/commonjs/funcs/groupsGetGroupsConfigVersionById.d.ts.map +1 -0
  36. package/dist/commonjs/funcs/groupsGetGroupsConfigVersionById.js +122 -0
  37. package/dist/commonjs/funcs/groupsGetGroupsConfigVersionById.js.map +1 -0
  38. package/dist/commonjs/funcs/groupsGetProductsGroupsByProduct.d.ts +18 -0
  39. package/dist/commonjs/funcs/groupsGetProductsGroupsByProduct.d.ts.map +1 -0
  40. package/dist/commonjs/funcs/groupsGetProductsGroupsByProduct.js +126 -0
  41. package/dist/commonjs/funcs/groupsGetProductsGroupsByProduct.js.map +1 -0
  42. package/dist/commonjs/funcs/groupsUpdateGroupsDeployById.d.ts +18 -0
  43. package/dist/commonjs/funcs/groupsUpdateGroupsDeployById.d.ts.map +1 -0
  44. package/dist/commonjs/funcs/groupsUpdateGroupsDeployById.js +123 -0
  45. package/dist/commonjs/funcs/groupsUpdateGroupsDeployById.js.map +1 -0
  46. package/dist/commonjs/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.d.ts +18 -0
  47. package/dist/commonjs/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.d.ts.map +1 -0
  48. package/dist/commonjs/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.js +131 -0
  49. package/dist/commonjs/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.js.map +1 -0
  50. package/dist/commonjs/funcs/workersGetSummaryWorkers.d.ts +18 -0
  51. package/dist/commonjs/funcs/workersGetSummaryWorkers.d.ts.map +1 -0
  52. package/dist/commonjs/funcs/workersGetSummaryWorkers.js +120 -0
  53. package/dist/commonjs/funcs/workersGetSummaryWorkers.js.map +1 -0
  54. package/dist/commonjs/funcs/workersGetWorkers.d.ts +18 -0
  55. package/dist/commonjs/funcs/workersGetWorkers.d.ts.map +1 -0
  56. package/dist/commonjs/funcs/workersGetWorkers.js +125 -0
  57. package/dist/commonjs/funcs/workersGetWorkers.js.map +1 -0
  58. package/dist/commonjs/funcs/workersUpdateWorkersRestart.d.ts +18 -0
  59. package/dist/commonjs/funcs/workersUpdateWorkersRestart.d.ts.map +1 -0
  60. package/dist/commonjs/funcs/workersUpdateWorkersRestart.js +107 -0
  61. package/dist/commonjs/funcs/workersUpdateWorkersRestart.js.map +1 -0
  62. package/dist/commonjs/lib/config.d.ts +3 -3
  63. package/dist/commonjs/lib/config.js +3 -3
  64. package/dist/commonjs/models/appmode.d.ts +40 -0
  65. package/dist/commonjs/models/appmode.d.ts.map +1 -0
  66. package/dist/commonjs/models/appmode.js +65 -0
  67. package/dist/commonjs/models/appmode.js.map +1 -0
  68. package/dist/commonjs/models/cloudprovider.d.ts +28 -0
  69. package/dist/commonjs/models/cloudprovider.d.ts.map +1 -0
  70. package/dist/commonjs/models/cloudprovider.js +60 -0
  71. package/dist/commonjs/models/cloudprovider.js.map +1 -0
  72. package/dist/commonjs/models/commit.d.ts +39 -0
  73. package/dist/commonjs/models/commit.d.ts.map +1 -0
  74. package/dist/commonjs/models/commit.js +91 -0
  75. package/dist/commonjs/models/commit.js.map +1 -0
  76. package/dist/commonjs/models/configgroup.d.ts +126 -0
  77. package/dist/commonjs/models/configgroup.d.ts.map +1 -0
  78. package/dist/commonjs/models/configgroup.js +165 -0
  79. package/dist/commonjs/models/configgroup.js.map +1 -0
  80. package/dist/commonjs/models/configgroupcloud.d.ts +32 -0
  81. package/dist/commonjs/models/configgroupcloud.d.ts.map +1 -0
  82. package/dist/commonjs/models/configgroupcloud.js +72 -0
  83. package/dist/commonjs/models/configgroupcloud.js.map +1 -0
  84. package/dist/commonjs/models/configgrouplookups.d.ts +60 -0
  85. package/dist/commonjs/models/configgrouplookups.d.ts.map +1 -0
  86. package/dist/commonjs/models/configgrouplookups.js +102 -0
  87. package/dist/commonjs/models/configgrouplookups.js.map +1 -0
  88. package/dist/commonjs/models/deployrequest.d.ts +32 -0
  89. package/dist/commonjs/models/deployrequest.d.ts.map +1 -0
  90. package/dist/commonjs/models/deployrequest.js +72 -0
  91. package/dist/commonjs/models/deployrequest.js.map +1 -0
  92. package/dist/commonjs/models/deployrequestlookups.d.ts +58 -0
  93. package/dist/commonjs/models/deployrequestlookups.d.ts.map +1 -0
  94. package/dist/commonjs/models/deployrequestlookups.js +100 -0
  95. package/dist/commonjs/models/deployrequestlookups.js.map +1 -0
  96. package/dist/commonjs/models/distributedsummary.d.ts +101 -0
  97. package/dist/commonjs/models/distributedsummary.d.ts.map +1 -0
  98. package/dist/commonjs/models/distributedsummary.js +145 -0
  99. package/dist/commonjs/models/distributedsummary.js.map +1 -0
  100. package/dist/commonjs/models/errors/healthstatuserror.d.ts +2 -2
  101. package/dist/commonjs/models/errors/healthstatuserror.d.ts.map +1 -1
  102. package/dist/commonjs/models/errors/healthstatuserror.js +2 -2
  103. package/dist/commonjs/models/errors/healthstatuserror.js.map +1 -1
  104. package/dist/commonjs/models/hbcriblinfo.d.ts +89 -0
  105. package/dist/commonjs/models/hbcriblinfo.d.ts.map +1 -0
  106. package/dist/commonjs/models/hbcriblinfo.js +132 -0
  107. package/dist/commonjs/models/hbcriblinfo.js.map +1 -0
  108. package/dist/commonjs/models/hbleaderinfo.d.ts +35 -0
  109. package/dist/commonjs/models/hbleaderinfo.d.ts.map +1 -0
  110. package/dist/commonjs/models/hbleaderinfo.js +75 -0
  111. package/dist/commonjs/models/hbleaderinfo.js.map +1 -0
  112. package/dist/commonjs/models/healthstatus.d.ts +8 -8
  113. package/dist/commonjs/models/healthstatus.d.ts.map +1 -1
  114. package/dist/commonjs/models/healthstatus.js +13 -14
  115. package/dist/commonjs/models/healthstatus.js.map +1 -1
  116. package/dist/commonjs/models/heartbeatmetadata.d.ts +213 -0
  117. package/dist/commonjs/models/heartbeatmetadata.d.ts.map +1 -0
  118. package/dist/commonjs/models/heartbeatmetadata.js +265 -0
  119. package/dist/commonjs/models/heartbeatmetadata.js.map +1 -0
  120. package/dist/commonjs/models/index.d.ts +25 -0
  121. package/dist/commonjs/models/index.d.ts.map +1 -1
  122. package/dist/commonjs/models/index.js +25 -0
  123. package/dist/commonjs/models/index.js.map +1 -1
  124. package/dist/commonjs/models/lookupversions.d.ts +25 -0
  125. package/dist/commonjs/models/lookupversions.d.ts.map +1 -0
  126. package/dist/commonjs/models/lookupversions.js +65 -0
  127. package/dist/commonjs/models/lookupversions.js.map +1 -0
  128. package/dist/commonjs/models/masterworkerentry.d.ts +133 -0
  129. package/dist/commonjs/models/masterworkerentry.d.ts.map +1 -0
  130. package/dist/commonjs/models/masterworkerentry.js +168 -0
  131. package/dist/commonjs/models/masterworkerentry.js.map +1 -0
  132. package/dist/commonjs/models/nodeactiveupgradestatus.d.ts +31 -0
  133. package/dist/commonjs/models/nodeactiveupgradestatus.d.ts.map +1 -0
  134. package/dist/commonjs/models/nodeactiveupgradestatus.js +61 -0
  135. package/dist/commonjs/models/nodeactiveupgradestatus.js.map +1 -0
  136. package/dist/commonjs/models/nodefailedupgradestatus.d.ts +28 -0
  137. package/dist/commonjs/models/nodefailedupgradestatus.d.ts.map +1 -0
  138. package/dist/commonjs/models/nodefailedupgradestatus.js +60 -0
  139. package/dist/commonjs/models/nodefailedupgradestatus.js.map +1 -0
  140. package/dist/commonjs/models/nodeprovidedinfo.d.ts +289 -0
  141. package/dist/commonjs/models/nodeprovidedinfo.d.ts.map +1 -0
  142. package/dist/commonjs/models/nodeprovidedinfo.js +367 -0
  143. package/dist/commonjs/models/nodeprovidedinfo.js.map +1 -0
  144. package/dist/commonjs/models/nodeskippedupgradestatus.d.ts +34 -0
  145. package/dist/commonjs/models/nodeskippedupgradestatus.d.ts.map +1 -0
  146. package/dist/commonjs/models/nodeskippedupgradestatus.js +62 -0
  147. package/dist/commonjs/models/nodeskippedupgradestatus.js.map +1 -0
  148. package/dist/commonjs/models/nodeupgradestate.d.ts +34 -0
  149. package/dist/commonjs/models/nodeupgradestate.d.ts.map +1 -0
  150. package/dist/commonjs/models/nodeupgradestate.js +62 -0
  151. package/dist/commonjs/models/nodeupgradestate.js.map +1 -0
  152. package/dist/commonjs/models/nodeupgradestatus.d.ts +41 -0
  153. package/dist/commonjs/models/nodeupgradestatus.d.ts.map +1 -0
  154. package/dist/commonjs/models/nodeupgradestatus.js +81 -0
  155. package/dist/commonjs/models/nodeupgradestatus.js.map +1 -0
  156. package/dist/commonjs/models/operations/createproductsgroupsbyproduct.d.ts +103 -0
  157. package/dist/commonjs/models/operations/createproductsgroupsbyproduct.d.ts.map +1 -0
  158. package/dist/commonjs/models/operations/createproductsgroupsbyproduct.js +132 -0
  159. package/dist/commonjs/models/operations/createproductsgroupsbyproduct.js.map +1 -0
  160. package/dist/commonjs/models/operations/getgroupsaclbyid.d.ts +121 -0
  161. package/dist/commonjs/models/operations/getgroupsaclbyid.d.ts.map +1 -0
  162. package/dist/commonjs/models/operations/getgroupsaclbyid.js +129 -0
  163. package/dist/commonjs/models/operations/getgroupsaclbyid.js.map +1 -0
  164. package/dist/commonjs/models/operations/getgroupsbyid.d.ts +71 -0
  165. package/dist/commonjs/models/operations/getgroupsbyid.d.ts.map +1 -0
  166. package/dist/commonjs/models/operations/getgroupsbyid.js +101 -0
  167. package/dist/commonjs/models/operations/getgroupsbyid.js.map +1 -0
  168. package/dist/commonjs/models/operations/getgroupsconfigversionbyid.d.ts +65 -0
  169. package/dist/commonjs/models/operations/getgroupsconfigversionbyid.d.ts.map +1 -0
  170. package/dist/commonjs/models/operations/getgroupsconfigversionbyid.js +98 -0
  171. package/dist/commonjs/models/operations/getgroupsconfigversionbyid.js.map +1 -0
  172. package/dist/commonjs/models/operations/getproductsgroupsaclteamsbyproductandid.d.ts +157 -0
  173. package/dist/commonjs/models/operations/getproductsgroupsaclteamsbyproductandid.d.ts.map +1 -0
  174. package/dist/commonjs/models/operations/getproductsgroupsaclteamsbyproductandid.js +155 -0
  175. package/dist/commonjs/models/operations/getproductsgroupsaclteamsbyproductandid.js.map +1 -0
  176. package/dist/commonjs/models/operations/getproductsgroupsbyproduct.d.ts +103 -0
  177. package/dist/commonjs/models/operations/getproductsgroupsbyproduct.d.ts.map +1 -0
  178. package/dist/commonjs/models/operations/getproductsgroupsbyproduct.js +123 -0
  179. package/dist/commonjs/models/operations/getproductsgroupsbyproduct.js.map +1 -0
  180. package/dist/commonjs/models/operations/getsummary.d.ts +98 -0
  181. package/dist/commonjs/models/operations/getsummary.d.ts.map +1 -0
  182. package/dist/commonjs/models/operations/getsummary.js +121 -0
  183. package/dist/commonjs/models/operations/getsummary.js.map +1 -0
  184. package/dist/commonjs/models/operations/getsummaryworkers.d.ts +65 -0
  185. package/dist/commonjs/models/operations/getsummaryworkers.d.ts.map +1 -0
  186. package/dist/commonjs/models/operations/getsummaryworkers.js +98 -0
  187. package/dist/commonjs/models/operations/getsummaryworkers.js.map +1 -0
  188. package/dist/commonjs/models/operations/getworkers.d.ts +91 -0
  189. package/dist/commonjs/models/operations/getworkers.d.ts.map +1 -0
  190. package/dist/commonjs/models/operations/getworkers.js +109 -0
  191. package/dist/commonjs/models/operations/getworkers.js.map +1 -0
  192. package/dist/commonjs/models/operations/index.d.ts +11 -0
  193. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  194. package/dist/commonjs/models/operations/index.js +11 -0
  195. package/dist/commonjs/models/operations/index.js.map +1 -1
  196. package/dist/commonjs/models/operations/updategroupsdeploybyid.d.ts +71 -0
  197. package/dist/commonjs/models/operations/updategroupsdeploybyid.d.ts.map +1 -0
  198. package/dist/commonjs/models/operations/updategroupsdeploybyid.js +110 -0
  199. package/dist/commonjs/models/operations/updategroupsdeploybyid.js.map +1 -0
  200. package/dist/commonjs/models/operations/updateworkersrestart.d.ts +38 -0
  201. package/dist/commonjs/models/operations/updateworkersrestart.d.ts.map +1 -0
  202. package/dist/commonjs/models/operations/updateworkersrestart.js +72 -0
  203. package/dist/commonjs/models/operations/updateworkersrestart.js.map +1 -0
  204. package/dist/commonjs/models/rbacresource.d.ts +43 -0
  205. package/dist/commonjs/models/rbacresource.d.ts.map +1 -0
  206. package/dist/commonjs/models/rbacresource.js +65 -0
  207. package/dist/commonjs/models/rbacresource.js.map +1 -0
  208. package/dist/commonjs/models/resourcepolicy.d.ts +36 -0
  209. package/dist/commonjs/models/resourcepolicy.d.ts.map +1 -0
  210. package/dist/commonjs/models/resourcepolicy.js +76 -0
  211. package/dist/commonjs/models/resourcepolicy.js.map +1 -0
  212. package/dist/commonjs/models/restartresponse.d.ts +59 -0
  213. package/dist/commonjs/models/restartresponse.d.ts.map +1 -0
  214. package/dist/commonjs/models/restartresponse.js +92 -0
  215. package/dist/commonjs/models/restartresponse.js.map +1 -0
  216. package/dist/commonjs/models/teamaccesscontrollist.d.ts +32 -0
  217. package/dist/commonjs/models/teamaccesscontrollist.d.ts.map +1 -0
  218. package/dist/commonjs/models/teamaccesscontrollist.js +72 -0
  219. package/dist/commonjs/models/teamaccesscontrollist.js.map +1 -0
  220. package/dist/commonjs/models/useraccesscontrollist.d.ts +32 -0
  221. package/dist/commonjs/models/useraccesscontrollist.d.ts.map +1 -0
  222. package/dist/commonjs/models/useraccesscontrollist.js +72 -0
  223. package/dist/commonjs/models/useraccesscontrollist.js.map +1 -0
  224. package/dist/commonjs/sdk/distributed.d.ts +12 -0
  225. package/dist/commonjs/sdk/distributed.d.ts.map +1 -0
  226. package/dist/commonjs/sdk/distributed.js +22 -0
  227. package/dist/commonjs/sdk/distributed.js.map +1 -0
  228. package/dist/commonjs/sdk/groups.d.ts +47 -0
  229. package/dist/commonjs/sdk/groups.d.ts.map +1 -0
  230. package/dist/commonjs/sdk/groups.js +72 -0
  231. package/dist/commonjs/sdk/groups.js.map +1 -0
  232. package/dist/commonjs/sdk/sdk.d.ts +12 -0
  233. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  234. package/dist/commonjs/sdk/sdk.js +16 -0
  235. package/dist/commonjs/sdk/sdk.js.map +1 -1
  236. package/dist/commonjs/sdk/teams.d.ts +12 -0
  237. package/dist/commonjs/sdk/teams.d.ts.map +1 -0
  238. package/dist/commonjs/sdk/teams.js +22 -0
  239. package/dist/commonjs/sdk/teams.js.map +1 -0
  240. package/dist/commonjs/sdk/workers.d.ts +26 -0
  241. package/dist/commonjs/sdk/workers.d.ts.map +1 -0
  242. package/dist/commonjs/sdk/workers.js +42 -0
  243. package/dist/commonjs/sdk/workers.js.map +1 -0
  244. package/dist/esm/__tests__/distributed.test.d.ts +2 -0
  245. package/dist/esm/__tests__/distributed.test.d.ts.map +1 -0
  246. package/dist/esm/__tests__/distributed.test.js +20 -0
  247. package/dist/esm/__tests__/distributed.test.js.map +1 -0
  248. package/dist/esm/__tests__/groups.test.d.ts +2 -0
  249. package/dist/esm/__tests__/groups.test.d.ts.map +1 -0
  250. package/dist/esm/__tests__/groups.test.js +104 -0
  251. package/dist/esm/__tests__/groups.test.js.map +1 -0
  252. package/dist/esm/__tests__/teams.test.d.ts +2 -0
  253. package/dist/esm/__tests__/teams.test.d.ts.map +1 -0
  254. package/dist/esm/__tests__/teams.test.js +24 -0
  255. package/dist/esm/__tests__/teams.test.js.map +1 -0
  256. package/dist/esm/__tests__/workers.test.d.ts +2 -0
  257. package/dist/esm/__tests__/workers.test.d.ts.map +1 -0
  258. package/dist/esm/__tests__/workers.test.js +46 -0
  259. package/dist/esm/__tests__/workers.test.js.map +1 -0
  260. package/dist/esm/funcs/distributedGetSummary.d.ts +18 -0
  261. package/dist/esm/funcs/distributedGetSummary.d.ts.map +1 -0
  262. package/dist/esm/funcs/distributedGetSummary.js +84 -0
  263. package/dist/esm/funcs/distributedGetSummary.js.map +1 -0
  264. package/dist/esm/funcs/groupsCreateProductsGroupsByProduct.d.ts +18 -0
  265. package/dist/esm/funcs/groupsCreateProductsGroupsByProduct.d.ts.map +1 -0
  266. package/dist/esm/funcs/groupsCreateProductsGroupsByProduct.js +87 -0
  267. package/dist/esm/funcs/groupsCreateProductsGroupsByProduct.js.map +1 -0
  268. package/dist/esm/funcs/groupsGetGroupsAclById.d.ts +18 -0
  269. package/dist/esm/funcs/groupsGetGroupsAclById.d.ts.map +1 -0
  270. package/dist/esm/funcs/groupsGetGroupsAclById.js +90 -0
  271. package/dist/esm/funcs/groupsGetGroupsAclById.js.map +1 -0
  272. package/dist/esm/funcs/groupsGetGroupsById.d.ts +18 -0
  273. package/dist/esm/funcs/groupsGetGroupsById.d.ts.map +1 -0
  274. package/dist/esm/funcs/groupsGetGroupsById.js +90 -0
  275. package/dist/esm/funcs/groupsGetGroupsById.js.map +1 -0
  276. package/dist/esm/funcs/groupsGetGroupsConfigVersionById.d.ts +18 -0
  277. package/dist/esm/funcs/groupsGetGroupsConfigVersionById.d.ts.map +1 -0
  278. package/dist/esm/funcs/groupsGetGroupsConfigVersionById.js +86 -0
  279. package/dist/esm/funcs/groupsGetGroupsConfigVersionById.js.map +1 -0
  280. package/dist/esm/funcs/groupsGetProductsGroupsByProduct.d.ts +18 -0
  281. package/dist/esm/funcs/groupsGetProductsGroupsByProduct.d.ts.map +1 -0
  282. package/dist/esm/funcs/groupsGetProductsGroupsByProduct.js +90 -0
  283. package/dist/esm/funcs/groupsGetProductsGroupsByProduct.js.map +1 -0
  284. package/dist/esm/funcs/groupsUpdateGroupsDeployById.d.ts +18 -0
  285. package/dist/esm/funcs/groupsUpdateGroupsDeployById.d.ts.map +1 -0
  286. package/dist/esm/funcs/groupsUpdateGroupsDeployById.js +87 -0
  287. package/dist/esm/funcs/groupsUpdateGroupsDeployById.js.map +1 -0
  288. package/dist/esm/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.d.ts +18 -0
  289. package/dist/esm/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.d.ts.map +1 -0
  290. package/dist/esm/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.js +95 -0
  291. package/dist/esm/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.js.map +1 -0
  292. package/dist/esm/funcs/workersGetSummaryWorkers.d.ts +18 -0
  293. package/dist/esm/funcs/workersGetSummaryWorkers.d.ts.map +1 -0
  294. package/dist/esm/funcs/workersGetSummaryWorkers.js +84 -0
  295. package/dist/esm/funcs/workersGetSummaryWorkers.js.map +1 -0
  296. package/dist/esm/funcs/workersGetWorkers.d.ts +18 -0
  297. package/dist/esm/funcs/workersGetWorkers.d.ts.map +1 -0
  298. package/dist/esm/funcs/workersGetWorkers.js +89 -0
  299. package/dist/esm/funcs/workersGetWorkers.js.map +1 -0
  300. package/dist/esm/funcs/workersUpdateWorkersRestart.d.ts +18 -0
  301. package/dist/esm/funcs/workersUpdateWorkersRestart.d.ts.map +1 -0
  302. package/dist/esm/funcs/workersUpdateWorkersRestart.js +71 -0
  303. package/dist/esm/funcs/workersUpdateWorkersRestart.js.map +1 -0
  304. package/dist/esm/lib/config.d.ts +3 -3
  305. package/dist/esm/lib/config.js +3 -3
  306. package/dist/esm/models/appmode.d.ts +40 -0
  307. package/dist/esm/models/appmode.d.ts.map +1 -0
  308. package/dist/esm/models/appmode.js +29 -0
  309. package/dist/esm/models/appmode.js.map +1 -0
  310. package/dist/esm/models/cloudprovider.d.ts +28 -0
  311. package/dist/esm/models/cloudprovider.d.ts.map +1 -0
  312. package/dist/esm/models/cloudprovider.js +24 -0
  313. package/dist/esm/models/cloudprovider.js.map +1 -0
  314. package/dist/esm/models/commit.d.ts +39 -0
  315. package/dist/esm/models/commit.d.ts.map +1 -0
  316. package/dist/esm/models/commit.js +53 -0
  317. package/dist/esm/models/commit.js.map +1 -0
  318. package/dist/esm/models/configgroup.d.ts +126 -0
  319. package/dist/esm/models/configgroup.d.ts.map +1 -0
  320. package/dist/esm/models/configgroup.js +125 -0
  321. package/dist/esm/models/configgroup.js.map +1 -0
  322. package/dist/esm/models/configgroupcloud.d.ts +32 -0
  323. package/dist/esm/models/configgroupcloud.d.ts.map +1 -0
  324. package/dist/esm/models/configgroupcloud.js +34 -0
  325. package/dist/esm/models/configgroupcloud.js.map +1 -0
  326. package/dist/esm/models/configgrouplookups.d.ts +60 -0
  327. package/dist/esm/models/configgrouplookups.d.ts.map +1 -0
  328. package/dist/esm/models/configgrouplookups.js +62 -0
  329. package/dist/esm/models/configgrouplookups.js.map +1 -0
  330. package/dist/esm/models/deployrequest.d.ts +32 -0
  331. package/dist/esm/models/deployrequest.d.ts.map +1 -0
  332. package/dist/esm/models/deployrequest.js +34 -0
  333. package/dist/esm/models/deployrequest.js.map +1 -0
  334. package/dist/esm/models/deployrequestlookups.d.ts +58 -0
  335. package/dist/esm/models/deployrequestlookups.d.ts.map +1 -0
  336. package/dist/esm/models/deployrequestlookups.js +60 -0
  337. package/dist/esm/models/deployrequestlookups.js.map +1 -0
  338. package/dist/esm/models/distributedsummary.d.ts +101 -0
  339. package/dist/esm/models/distributedsummary.d.ts.map +1 -0
  340. package/dist/esm/models/distributedsummary.js +103 -0
  341. package/dist/esm/models/distributedsummary.js.map +1 -0
  342. package/dist/esm/models/errors/healthstatuserror.d.ts +2 -2
  343. package/dist/esm/models/errors/healthstatuserror.d.ts.map +1 -1
  344. package/dist/esm/models/errors/healthstatuserror.js +2 -2
  345. package/dist/esm/models/errors/healthstatuserror.js.map +1 -1
  346. package/dist/esm/models/hbcriblinfo.d.ts +89 -0
  347. package/dist/esm/models/hbcriblinfo.d.ts.map +1 -0
  348. package/dist/esm/models/hbcriblinfo.js +92 -0
  349. package/dist/esm/models/hbcriblinfo.js.map +1 -0
  350. package/dist/esm/models/hbleaderinfo.d.ts +35 -0
  351. package/dist/esm/models/hbleaderinfo.d.ts.map +1 -0
  352. package/dist/esm/models/hbleaderinfo.js +37 -0
  353. package/dist/esm/models/hbleaderinfo.js.map +1 -0
  354. package/dist/esm/models/healthstatus.d.ts +8 -8
  355. package/dist/esm/models/healthstatus.d.ts.map +1 -1
  356. package/dist/esm/models/healthstatus.js +12 -13
  357. package/dist/esm/models/healthstatus.js.map +1 -1
  358. package/dist/esm/models/heartbeatmetadata.d.ts +213 -0
  359. package/dist/esm/models/heartbeatmetadata.d.ts.map +1 -0
  360. package/dist/esm/models/heartbeatmetadata.js +215 -0
  361. package/dist/esm/models/heartbeatmetadata.js.map +1 -0
  362. package/dist/esm/models/index.d.ts +25 -0
  363. package/dist/esm/models/index.d.ts.map +1 -1
  364. package/dist/esm/models/index.js +25 -0
  365. package/dist/esm/models/index.js.map +1 -1
  366. package/dist/esm/models/lookupversions.d.ts +25 -0
  367. package/dist/esm/models/lookupversions.d.ts.map +1 -0
  368. package/dist/esm/models/lookupversions.js +27 -0
  369. package/dist/esm/models/lookupversions.js.map +1 -0
  370. package/dist/esm/models/masterworkerentry.d.ts +133 -0
  371. package/dist/esm/models/masterworkerentry.d.ts.map +1 -0
  372. package/dist/esm/models/masterworkerentry.js +126 -0
  373. package/dist/esm/models/masterworkerentry.js.map +1 -0
  374. package/dist/esm/models/nodeactiveupgradestatus.d.ts +31 -0
  375. package/dist/esm/models/nodeactiveupgradestatus.d.ts.map +1 -0
  376. package/dist/esm/models/nodeactiveupgradestatus.js +25 -0
  377. package/dist/esm/models/nodeactiveupgradestatus.js.map +1 -0
  378. package/dist/esm/models/nodefailedupgradestatus.d.ts +28 -0
  379. package/dist/esm/models/nodefailedupgradestatus.d.ts.map +1 -0
  380. package/dist/esm/models/nodefailedupgradestatus.js +24 -0
  381. package/dist/esm/models/nodefailedupgradestatus.js.map +1 -0
  382. package/dist/esm/models/nodeprovidedinfo.d.ts +289 -0
  383. package/dist/esm/models/nodeprovidedinfo.d.ts.map +1 -0
  384. package/dist/esm/models/nodeprovidedinfo.js +313 -0
  385. package/dist/esm/models/nodeprovidedinfo.js.map +1 -0
  386. package/dist/esm/models/nodeskippedupgradestatus.d.ts +34 -0
  387. package/dist/esm/models/nodeskippedupgradestatus.d.ts.map +1 -0
  388. package/dist/esm/models/nodeskippedupgradestatus.js +26 -0
  389. package/dist/esm/models/nodeskippedupgradestatus.js.map +1 -0
  390. package/dist/esm/models/nodeupgradestate.d.ts +34 -0
  391. package/dist/esm/models/nodeupgradestate.d.ts.map +1 -0
  392. package/dist/esm/models/nodeupgradestate.js +26 -0
  393. package/dist/esm/models/nodeupgradestate.js.map +1 -0
  394. package/dist/esm/models/nodeupgradestatus.d.ts +41 -0
  395. package/dist/esm/models/nodeupgradestatus.d.ts.map +1 -0
  396. package/dist/esm/models/nodeupgradestatus.js +43 -0
  397. package/dist/esm/models/nodeupgradestatus.js.map +1 -0
  398. package/dist/esm/models/operations/createproductsgroupsbyproduct.d.ts +103 -0
  399. package/dist/esm/models/operations/createproductsgroupsbyproduct.d.ts.map +1 -0
  400. package/dist/esm/models/operations/createproductsgroupsbyproduct.js +92 -0
  401. package/dist/esm/models/operations/createproductsgroupsbyproduct.js.map +1 -0
  402. package/dist/esm/models/operations/getgroupsaclbyid.d.ts +121 -0
  403. package/dist/esm/models/operations/getgroupsaclbyid.d.ts.map +1 -0
  404. package/dist/esm/models/operations/getgroupsaclbyid.js +89 -0
  405. package/dist/esm/models/operations/getgroupsaclbyid.js.map +1 -0
  406. package/dist/esm/models/operations/getgroupsbyid.d.ts +71 -0
  407. package/dist/esm/models/operations/getgroupsbyid.d.ts.map +1 -0
  408. package/dist/esm/models/operations/getgroupsbyid.js +61 -0
  409. package/dist/esm/models/operations/getgroupsbyid.js.map +1 -0
  410. package/dist/esm/models/operations/getgroupsconfigversionbyid.d.ts +65 -0
  411. package/dist/esm/models/operations/getgroupsconfigversionbyid.d.ts.map +1 -0
  412. package/dist/esm/models/operations/getgroupsconfigversionbyid.js +58 -0
  413. package/dist/esm/models/operations/getgroupsconfigversionbyid.js.map +1 -0
  414. package/dist/esm/models/operations/getproductsgroupsaclteamsbyproductandid.d.ts +157 -0
  415. package/dist/esm/models/operations/getproductsgroupsaclteamsbyproductandid.d.ts.map +1 -0
  416. package/dist/esm/models/operations/getproductsgroupsaclteamsbyproductandid.js +115 -0
  417. package/dist/esm/models/operations/getproductsgroupsaclteamsbyproductandid.js.map +1 -0
  418. package/dist/esm/models/operations/getproductsgroupsbyproduct.d.ts +103 -0
  419. package/dist/esm/models/operations/getproductsgroupsbyproduct.d.ts.map +1 -0
  420. package/dist/esm/models/operations/getproductsgroupsbyproduct.js +83 -0
  421. package/dist/esm/models/operations/getproductsgroupsbyproduct.js.map +1 -0
  422. package/dist/esm/models/operations/getsummary.d.ts +98 -0
  423. package/dist/esm/models/operations/getsummary.d.ts.map +1 -0
  424. package/dist/esm/models/operations/getsummary.js +81 -0
  425. package/dist/esm/models/operations/getsummary.js.map +1 -0
  426. package/dist/esm/models/operations/getsummaryworkers.d.ts +65 -0
  427. package/dist/esm/models/operations/getsummaryworkers.d.ts.map +1 -0
  428. package/dist/esm/models/operations/getsummaryworkers.js +58 -0
  429. package/dist/esm/models/operations/getsummaryworkers.js.map +1 -0
  430. package/dist/esm/models/operations/getworkers.d.ts +91 -0
  431. package/dist/esm/models/operations/getworkers.d.ts.map +1 -0
  432. package/dist/esm/models/operations/getworkers.js +69 -0
  433. package/dist/esm/models/operations/getworkers.js.map +1 -0
  434. package/dist/esm/models/operations/index.d.ts +11 -0
  435. package/dist/esm/models/operations/index.d.ts.map +1 -1
  436. package/dist/esm/models/operations/index.js +11 -0
  437. package/dist/esm/models/operations/index.js.map +1 -1
  438. package/dist/esm/models/operations/updategroupsdeploybyid.d.ts +71 -0
  439. package/dist/esm/models/operations/updategroupsdeploybyid.d.ts.map +1 -0
  440. package/dist/esm/models/operations/updategroupsdeploybyid.js +70 -0
  441. package/dist/esm/models/operations/updategroupsdeploybyid.js.map +1 -0
  442. package/dist/esm/models/operations/updateworkersrestart.d.ts +38 -0
  443. package/dist/esm/models/operations/updateworkersrestart.d.ts.map +1 -0
  444. package/dist/esm/models/operations/updateworkersrestart.js +34 -0
  445. package/dist/esm/models/operations/updateworkersrestart.js.map +1 -0
  446. package/dist/esm/models/rbacresource.d.ts +43 -0
  447. package/dist/esm/models/rbacresource.d.ts.map +1 -0
  448. package/dist/esm/models/rbacresource.js +29 -0
  449. package/dist/esm/models/rbacresource.js.map +1 -0
  450. package/dist/esm/models/resourcepolicy.d.ts +36 -0
  451. package/dist/esm/models/resourcepolicy.d.ts.map +1 -0
  452. package/dist/esm/models/resourcepolicy.js +38 -0
  453. package/dist/esm/models/resourcepolicy.js.map +1 -0
  454. package/dist/esm/models/restartresponse.d.ts +59 -0
  455. package/dist/esm/models/restartresponse.d.ts.map +1 -0
  456. package/dist/esm/models/restartresponse.js +54 -0
  457. package/dist/esm/models/restartresponse.js.map +1 -0
  458. package/dist/esm/models/teamaccesscontrollist.d.ts +32 -0
  459. package/dist/esm/models/teamaccesscontrollist.d.ts.map +1 -0
  460. package/dist/esm/models/teamaccesscontrollist.js +34 -0
  461. package/dist/esm/models/teamaccesscontrollist.js.map +1 -0
  462. package/dist/esm/models/useraccesscontrollist.d.ts +32 -0
  463. package/dist/esm/models/useraccesscontrollist.d.ts.map +1 -0
  464. package/dist/esm/models/useraccesscontrollist.js +34 -0
  465. package/dist/esm/models/useraccesscontrollist.js.map +1 -0
  466. package/dist/esm/sdk/distributed.d.ts +12 -0
  467. package/dist/esm/sdk/distributed.d.ts.map +1 -0
  468. package/dist/esm/sdk/distributed.js +18 -0
  469. package/dist/esm/sdk/distributed.js.map +1 -0
  470. package/dist/esm/sdk/groups.d.ts +47 -0
  471. package/dist/esm/sdk/groups.d.ts.map +1 -0
  472. package/dist/esm/sdk/groups.js +68 -0
  473. package/dist/esm/sdk/groups.js.map +1 -0
  474. package/dist/esm/sdk/sdk.d.ts +12 -0
  475. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  476. package/dist/esm/sdk/sdk.js +16 -0
  477. package/dist/esm/sdk/sdk.js.map +1 -1
  478. package/dist/esm/sdk/teams.d.ts +12 -0
  479. package/dist/esm/sdk/teams.d.ts.map +1 -0
  480. package/dist/esm/sdk/teams.js +18 -0
  481. package/dist/esm/sdk/teams.js.map +1 -0
  482. package/dist/esm/sdk/workers.d.ts +26 -0
  483. package/dist/esm/sdk/workers.d.ts.map +1 -0
  484. package/dist/esm/sdk/workers.js +38 -0
  485. package/dist/esm/sdk/workers.js.map +1 -0
  486. package/docs/sdks/distributed/README.md +85 -0
  487. package/docs/sdks/groups/README.md +503 -0
  488. package/docs/sdks/teams/README.md +91 -0
  489. package/docs/sdks/workers/README.md +236 -0
  490. package/examples/package-lock.json +1 -1
  491. package/jsr.json +1 -1
  492. package/package.json +1 -1
  493. package/src/__tests__/distributed.test.ts +23 -0
  494. package/src/__tests__/groups.test.ts +122 -0
  495. package/src/__tests__/teams.test.ts +29 -0
  496. package/src/__tests__/workers.test.ts +55 -0
  497. package/src/funcs/distributedGetSummary.ts +173 -0
  498. package/src/funcs/groupsCreateProductsGroupsByProduct.ts +178 -0
  499. package/src/funcs/groupsGetGroupsAclById.ts +179 -0
  500. package/src/funcs/groupsGetGroupsById.ts +179 -0
  501. package/src/funcs/groupsGetGroupsConfigVersionById.ts +175 -0
  502. package/src/funcs/groupsGetProductsGroupsByProduct.ts +180 -0
  503. package/src/funcs/groupsUpdateGroupsDeployById.ts +176 -0
  504. package/src/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.ts +190 -0
  505. package/src/funcs/workersGetSummaryWorkers.ts +175 -0
  506. package/src/funcs/workersGetWorkers.ts +178 -0
  507. package/src/funcs/workersUpdateWorkersRestart.ts +150 -0
  508. package/src/lib/config.ts +3 -3
  509. package/src/models/appmode.ts +35 -0
  510. package/src/models/cloudprovider.ts +33 -0
  511. package/src/models/commit.ts +90 -0
  512. package/src/models/configgroup.ts +247 -0
  513. package/src/models/configgroupcloud.ts +75 -0
  514. package/src/models/configgrouplookups.ts +136 -0
  515. package/src/models/deployrequest.ts +72 -0
  516. package/src/models/deployrequestlookups.ts +132 -0
  517. package/src/models/distributedsummary.ts +226 -0
  518. package/src/models/errors/healthstatuserror.ts +4 -4
  519. package/src/models/hbcriblinfo.ts +194 -0
  520. package/src/models/hbleaderinfo.ts +74 -0
  521. package/src/models/healthstatus.ts +16 -14
  522. package/src/models/heartbeatmetadata.ts +482 -0
  523. package/src/models/index.ts +25 -0
  524. package/src/models/lookupversions.ts +54 -0
  525. package/src/models/masterworkerentry.ts +269 -0
  526. package/src/models/nodeactiveupgradestatus.ts +36 -0
  527. package/src/models/nodefailedupgradestatus.ts +35 -0
  528. package/src/models/nodeprovidedinfo.ts +670 -0
  529. package/src/models/nodeskippedupgradestatus.ts +37 -0
  530. package/src/models/nodeupgradestate.ts +35 -0
  531. package/src/models/nodeupgradestatus.ts +102 -0
  532. package/src/models/operations/createproductsgroupsbyproduct.ts +203 -0
  533. package/src/models/operations/getgroupsaclbyid.ts +185 -0
  534. package/src/models/operations/getgroupsbyid.ts +145 -0
  535. package/src/models/operations/getgroupsconfigversionbyid.ts +144 -0
  536. package/src/models/operations/getproductsgroupsaclteamsbyproductandid.ts +261 -0
  537. package/src/models/operations/getproductsgroupsbyproduct.ts +189 -0
  538. package/src/models/operations/getsummary.ts +172 -0
  539. package/src/models/operations/getsummaryworkers.ts +137 -0
  540. package/src/models/operations/getworkers.ts +173 -0
  541. package/src/models/operations/index.ts +11 -0
  542. package/src/models/operations/updategroupsdeploybyid.ts +158 -0
  543. package/src/models/operations/updateworkersrestart.ts +79 -0
  544. package/src/models/rbacresource.ts +36 -0
  545. package/src/models/resourcepolicy.ts +79 -0
  546. package/src/models/restartresponse.ts +100 -0
  547. package/src/models/teamaccesscontrollist.ts +76 -0
  548. package/src/models/useraccesscontrollist.ts +76 -0
  549. package/src/sdk/distributed.ts +27 -0
  550. package/src/sdk/groups.ts +117 -0
  551. package/src/sdk/sdk.ts +24 -0
  552. package/src/sdk/teams.ts +27 -0
  553. package/src/sdk/workers.ts +61 -0
@@ -0,0 +1,144 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type GetGroupsConfigVersionByIdRequest = {
11
+ /**
12
+ * Group ID
13
+ */
14
+ id: string;
15
+ };
16
+
17
+ /**
18
+ * a list of string objects
19
+ */
20
+ export type GetGroupsConfigVersionByIdResponse = {
21
+ /**
22
+ * number of items present in the items array
23
+ */
24
+ count?: number | undefined;
25
+ items?: Array<string> | undefined;
26
+ };
27
+
28
+ /** @internal */
29
+ export const GetGroupsConfigVersionByIdRequest$inboundSchema: z.ZodType<
30
+ GetGroupsConfigVersionByIdRequest,
31
+ z.ZodTypeDef,
32
+ unknown
33
+ > = z.object({
34
+ id: z.string(),
35
+ });
36
+
37
+ /** @internal */
38
+ export type GetGroupsConfigVersionByIdRequest$Outbound = {
39
+ id: string;
40
+ };
41
+
42
+ /** @internal */
43
+ export const GetGroupsConfigVersionByIdRequest$outboundSchema: z.ZodType<
44
+ GetGroupsConfigVersionByIdRequest$Outbound,
45
+ z.ZodTypeDef,
46
+ GetGroupsConfigVersionByIdRequest
47
+ > = z.object({
48
+ id: z.string(),
49
+ });
50
+
51
+ /**
52
+ * @internal
53
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
+ */
55
+ export namespace GetGroupsConfigVersionByIdRequest$ {
56
+ /** @deprecated use `GetGroupsConfigVersionByIdRequest$inboundSchema` instead. */
57
+ export const inboundSchema = GetGroupsConfigVersionByIdRequest$inboundSchema;
58
+ /** @deprecated use `GetGroupsConfigVersionByIdRequest$outboundSchema` instead. */
59
+ export const outboundSchema =
60
+ GetGroupsConfigVersionByIdRequest$outboundSchema;
61
+ /** @deprecated use `GetGroupsConfigVersionByIdRequest$Outbound` instead. */
62
+ export type Outbound = GetGroupsConfigVersionByIdRequest$Outbound;
63
+ }
64
+
65
+ export function getGroupsConfigVersionByIdRequestToJSON(
66
+ getGroupsConfigVersionByIdRequest: GetGroupsConfigVersionByIdRequest,
67
+ ): string {
68
+ return JSON.stringify(
69
+ GetGroupsConfigVersionByIdRequest$outboundSchema.parse(
70
+ getGroupsConfigVersionByIdRequest,
71
+ ),
72
+ );
73
+ }
74
+
75
+ export function getGroupsConfigVersionByIdRequestFromJSON(
76
+ jsonString: string,
77
+ ): SafeParseResult<GetGroupsConfigVersionByIdRequest, SDKValidationError> {
78
+ return safeParse(
79
+ jsonString,
80
+ (x) => GetGroupsConfigVersionByIdRequest$inboundSchema.parse(JSON.parse(x)),
81
+ `Failed to parse 'GetGroupsConfigVersionByIdRequest' from JSON`,
82
+ );
83
+ }
84
+
85
+ /** @internal */
86
+ export const GetGroupsConfigVersionByIdResponse$inboundSchema: z.ZodType<
87
+ GetGroupsConfigVersionByIdResponse,
88
+ z.ZodTypeDef,
89
+ unknown
90
+ > = z.object({
91
+ count: z.number().int().optional(),
92
+ items: z.array(z.string()).optional(),
93
+ });
94
+
95
+ /** @internal */
96
+ export type GetGroupsConfigVersionByIdResponse$Outbound = {
97
+ count?: number | undefined;
98
+ items?: Array<string> | undefined;
99
+ };
100
+
101
+ /** @internal */
102
+ export const GetGroupsConfigVersionByIdResponse$outboundSchema: z.ZodType<
103
+ GetGroupsConfigVersionByIdResponse$Outbound,
104
+ z.ZodTypeDef,
105
+ GetGroupsConfigVersionByIdResponse
106
+ > = z.object({
107
+ count: z.number().int().optional(),
108
+ items: z.array(z.string()).optional(),
109
+ });
110
+
111
+ /**
112
+ * @internal
113
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
114
+ */
115
+ export namespace GetGroupsConfigVersionByIdResponse$ {
116
+ /** @deprecated use `GetGroupsConfigVersionByIdResponse$inboundSchema` instead. */
117
+ export const inboundSchema = GetGroupsConfigVersionByIdResponse$inboundSchema;
118
+ /** @deprecated use `GetGroupsConfigVersionByIdResponse$outboundSchema` instead. */
119
+ export const outboundSchema =
120
+ GetGroupsConfigVersionByIdResponse$outboundSchema;
121
+ /** @deprecated use `GetGroupsConfigVersionByIdResponse$Outbound` instead. */
122
+ export type Outbound = GetGroupsConfigVersionByIdResponse$Outbound;
123
+ }
124
+
125
+ export function getGroupsConfigVersionByIdResponseToJSON(
126
+ getGroupsConfigVersionByIdResponse: GetGroupsConfigVersionByIdResponse,
127
+ ): string {
128
+ return JSON.stringify(
129
+ GetGroupsConfigVersionByIdResponse$outboundSchema.parse(
130
+ getGroupsConfigVersionByIdResponse,
131
+ ),
132
+ );
133
+ }
134
+
135
+ export function getGroupsConfigVersionByIdResponseFromJSON(
136
+ jsonString: string,
137
+ ): SafeParseResult<GetGroupsConfigVersionByIdResponse, SDKValidationError> {
138
+ return safeParse(
139
+ jsonString,
140
+ (x) =>
141
+ GetGroupsConfigVersionByIdResponse$inboundSchema.parse(JSON.parse(x)),
142
+ `Failed to parse 'GetGroupsConfigVersionByIdResponse' from JSON`,
143
+ );
144
+ }
@@ -0,0 +1,261 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import * as models from "../index.js";
11
+
12
+ /**
13
+ * Cribl Product
14
+ */
15
+ export const GetProductsGroupsAclTeamsByProductAndIdProduct = {
16
+ Stream: "stream",
17
+ Edge: "edge",
18
+ } as const;
19
+ /**
20
+ * Cribl Product
21
+ */
22
+ export type GetProductsGroupsAclTeamsByProductAndIdProduct = ClosedEnum<
23
+ typeof GetProductsGroupsAclTeamsByProductAndIdProduct
24
+ >;
25
+
26
+ /**
27
+ * resource type by which to filter access levels
28
+ */
29
+ export const GetProductsGroupsAclTeamsByProductAndIdType = {
30
+ Groups: "groups",
31
+ Datasets: "datasets",
32
+ DatasetProviders: "dataset-providers",
33
+ Projects: "projects",
34
+ Dashboards: "dashboards",
35
+ Macros: "macros",
36
+ Notebooks: "notebooks",
37
+ Insights: "insights",
38
+ } as const;
39
+ /**
40
+ * resource type by which to filter access levels
41
+ */
42
+ export type GetProductsGroupsAclTeamsByProductAndIdType = ClosedEnum<
43
+ typeof GetProductsGroupsAclTeamsByProductAndIdType
44
+ >;
45
+
46
+ export type GetProductsGroupsAclTeamsByProductAndIdRequest = {
47
+ /**
48
+ * Cribl Product
49
+ */
50
+ product: GetProductsGroupsAclTeamsByProductAndIdProduct;
51
+ /**
52
+ * Group ID
53
+ */
54
+ id: string;
55
+ /**
56
+ * resource type by which to filter access levels
57
+ */
58
+ type?: GetProductsGroupsAclTeamsByProductAndIdType | undefined;
59
+ };
60
+
61
+ /**
62
+ * a list of TeamAccessControlList objects
63
+ */
64
+ export type GetProductsGroupsAclTeamsByProductAndIdResponse = {
65
+ /**
66
+ * number of items present in the items array
67
+ */
68
+ count?: number | undefined;
69
+ items?: Array<models.TeamAccessControlList> | undefined;
70
+ };
71
+
72
+ /** @internal */
73
+ export const GetProductsGroupsAclTeamsByProductAndIdProduct$inboundSchema:
74
+ z.ZodNativeEnum<typeof GetProductsGroupsAclTeamsByProductAndIdProduct> = z
75
+ .nativeEnum(GetProductsGroupsAclTeamsByProductAndIdProduct);
76
+
77
+ /** @internal */
78
+ export const GetProductsGroupsAclTeamsByProductAndIdProduct$outboundSchema:
79
+ z.ZodNativeEnum<typeof GetProductsGroupsAclTeamsByProductAndIdProduct> =
80
+ GetProductsGroupsAclTeamsByProductAndIdProduct$inboundSchema;
81
+
82
+ /**
83
+ * @internal
84
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
85
+ */
86
+ export namespace GetProductsGroupsAclTeamsByProductAndIdProduct$ {
87
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdProduct$inboundSchema` instead. */
88
+ export const inboundSchema =
89
+ GetProductsGroupsAclTeamsByProductAndIdProduct$inboundSchema;
90
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdProduct$outboundSchema` instead. */
91
+ export const outboundSchema =
92
+ GetProductsGroupsAclTeamsByProductAndIdProduct$outboundSchema;
93
+ }
94
+
95
+ /** @internal */
96
+ export const GetProductsGroupsAclTeamsByProductAndIdType$inboundSchema:
97
+ z.ZodNativeEnum<typeof GetProductsGroupsAclTeamsByProductAndIdType> = z
98
+ .nativeEnum(GetProductsGroupsAclTeamsByProductAndIdType);
99
+
100
+ /** @internal */
101
+ export const GetProductsGroupsAclTeamsByProductAndIdType$outboundSchema:
102
+ z.ZodNativeEnum<typeof GetProductsGroupsAclTeamsByProductAndIdType> =
103
+ GetProductsGroupsAclTeamsByProductAndIdType$inboundSchema;
104
+
105
+ /**
106
+ * @internal
107
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
108
+ */
109
+ export namespace GetProductsGroupsAclTeamsByProductAndIdType$ {
110
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdType$inboundSchema` instead. */
111
+ export const inboundSchema =
112
+ GetProductsGroupsAclTeamsByProductAndIdType$inboundSchema;
113
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdType$outboundSchema` instead. */
114
+ export const outboundSchema =
115
+ GetProductsGroupsAclTeamsByProductAndIdType$outboundSchema;
116
+ }
117
+
118
+ /** @internal */
119
+ export const GetProductsGroupsAclTeamsByProductAndIdRequest$inboundSchema:
120
+ z.ZodType<
121
+ GetProductsGroupsAclTeamsByProductAndIdRequest,
122
+ z.ZodTypeDef,
123
+ unknown
124
+ > = z.object({
125
+ product: GetProductsGroupsAclTeamsByProductAndIdProduct$inboundSchema,
126
+ id: z.string(),
127
+ type: GetProductsGroupsAclTeamsByProductAndIdType$inboundSchema.optional(),
128
+ });
129
+
130
+ /** @internal */
131
+ export type GetProductsGroupsAclTeamsByProductAndIdRequest$Outbound = {
132
+ product: string;
133
+ id: string;
134
+ type?: string | undefined;
135
+ };
136
+
137
+ /** @internal */
138
+ export const GetProductsGroupsAclTeamsByProductAndIdRequest$outboundSchema:
139
+ z.ZodType<
140
+ GetProductsGroupsAclTeamsByProductAndIdRequest$Outbound,
141
+ z.ZodTypeDef,
142
+ GetProductsGroupsAclTeamsByProductAndIdRequest
143
+ > = z.object({
144
+ product: GetProductsGroupsAclTeamsByProductAndIdProduct$outboundSchema,
145
+ id: z.string(),
146
+ type: GetProductsGroupsAclTeamsByProductAndIdType$outboundSchema.optional(),
147
+ });
148
+
149
+ /**
150
+ * @internal
151
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
152
+ */
153
+ export namespace GetProductsGroupsAclTeamsByProductAndIdRequest$ {
154
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdRequest$inboundSchema` instead. */
155
+ export const inboundSchema =
156
+ GetProductsGroupsAclTeamsByProductAndIdRequest$inboundSchema;
157
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdRequest$outboundSchema` instead. */
158
+ export const outboundSchema =
159
+ GetProductsGroupsAclTeamsByProductAndIdRequest$outboundSchema;
160
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdRequest$Outbound` instead. */
161
+ export type Outbound =
162
+ GetProductsGroupsAclTeamsByProductAndIdRequest$Outbound;
163
+ }
164
+
165
+ export function getProductsGroupsAclTeamsByProductAndIdRequestToJSON(
166
+ getProductsGroupsAclTeamsByProductAndIdRequest:
167
+ GetProductsGroupsAclTeamsByProductAndIdRequest,
168
+ ): string {
169
+ return JSON.stringify(
170
+ GetProductsGroupsAclTeamsByProductAndIdRequest$outboundSchema.parse(
171
+ getProductsGroupsAclTeamsByProductAndIdRequest,
172
+ ),
173
+ );
174
+ }
175
+
176
+ export function getProductsGroupsAclTeamsByProductAndIdRequestFromJSON(
177
+ jsonString: string,
178
+ ): SafeParseResult<
179
+ GetProductsGroupsAclTeamsByProductAndIdRequest,
180
+ SDKValidationError
181
+ > {
182
+ return safeParse(
183
+ jsonString,
184
+ (x) =>
185
+ GetProductsGroupsAclTeamsByProductAndIdRequest$inboundSchema.parse(
186
+ JSON.parse(x),
187
+ ),
188
+ `Failed to parse 'GetProductsGroupsAclTeamsByProductAndIdRequest' from JSON`,
189
+ );
190
+ }
191
+
192
+ /** @internal */
193
+ export const GetProductsGroupsAclTeamsByProductAndIdResponse$inboundSchema:
194
+ z.ZodType<
195
+ GetProductsGroupsAclTeamsByProductAndIdResponse,
196
+ z.ZodTypeDef,
197
+ unknown
198
+ > = z.object({
199
+ count: z.number().int().optional(),
200
+ items: z.array(models.TeamAccessControlList$inboundSchema).optional(),
201
+ });
202
+
203
+ /** @internal */
204
+ export type GetProductsGroupsAclTeamsByProductAndIdResponse$Outbound = {
205
+ count?: number | undefined;
206
+ items?: Array<models.TeamAccessControlList$Outbound> | undefined;
207
+ };
208
+
209
+ /** @internal */
210
+ export const GetProductsGroupsAclTeamsByProductAndIdResponse$outboundSchema:
211
+ z.ZodType<
212
+ GetProductsGroupsAclTeamsByProductAndIdResponse$Outbound,
213
+ z.ZodTypeDef,
214
+ GetProductsGroupsAclTeamsByProductAndIdResponse
215
+ > = z.object({
216
+ count: z.number().int().optional(),
217
+ items: z.array(models.TeamAccessControlList$outboundSchema).optional(),
218
+ });
219
+
220
+ /**
221
+ * @internal
222
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
223
+ */
224
+ export namespace GetProductsGroupsAclTeamsByProductAndIdResponse$ {
225
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdResponse$inboundSchema` instead. */
226
+ export const inboundSchema =
227
+ GetProductsGroupsAclTeamsByProductAndIdResponse$inboundSchema;
228
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdResponse$outboundSchema` instead. */
229
+ export const outboundSchema =
230
+ GetProductsGroupsAclTeamsByProductAndIdResponse$outboundSchema;
231
+ /** @deprecated use `GetProductsGroupsAclTeamsByProductAndIdResponse$Outbound` instead. */
232
+ export type Outbound =
233
+ GetProductsGroupsAclTeamsByProductAndIdResponse$Outbound;
234
+ }
235
+
236
+ export function getProductsGroupsAclTeamsByProductAndIdResponseToJSON(
237
+ getProductsGroupsAclTeamsByProductAndIdResponse:
238
+ GetProductsGroupsAclTeamsByProductAndIdResponse,
239
+ ): string {
240
+ return JSON.stringify(
241
+ GetProductsGroupsAclTeamsByProductAndIdResponse$outboundSchema.parse(
242
+ getProductsGroupsAclTeamsByProductAndIdResponse,
243
+ ),
244
+ );
245
+ }
246
+
247
+ export function getProductsGroupsAclTeamsByProductAndIdResponseFromJSON(
248
+ jsonString: string,
249
+ ): SafeParseResult<
250
+ GetProductsGroupsAclTeamsByProductAndIdResponse,
251
+ SDKValidationError
252
+ > {
253
+ return safeParse(
254
+ jsonString,
255
+ (x) =>
256
+ GetProductsGroupsAclTeamsByProductAndIdResponse$inboundSchema.parse(
257
+ JSON.parse(x),
258
+ ),
259
+ `Failed to parse 'GetProductsGroupsAclTeamsByProductAndIdResponse' from JSON`,
260
+ );
261
+ }
@@ -0,0 +1,189 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import * as models from "../index.js";
11
+
12
+ /**
13
+ * Cribl Product
14
+ */
15
+ export const GetProductsGroupsByProductProduct = {
16
+ Stream: "stream",
17
+ Edge: "edge",
18
+ } as const;
19
+ /**
20
+ * Cribl Product
21
+ */
22
+ export type GetProductsGroupsByProductProduct = ClosedEnum<
23
+ typeof GetProductsGroupsByProductProduct
24
+ >;
25
+
26
+ export type GetProductsGroupsByProductRequest = {
27
+ /**
28
+ * fields to add to results: git.commit, git.localChanges, git.log
29
+ */
30
+ fields?: string | undefined;
31
+ /**
32
+ * Cribl Product
33
+ */
34
+ product: GetProductsGroupsByProductProduct;
35
+ };
36
+
37
+ /**
38
+ * a list of ConfigGroup objects
39
+ */
40
+ export type GetProductsGroupsByProductResponse = {
41
+ /**
42
+ * number of items present in the items array
43
+ */
44
+ count?: number | undefined;
45
+ items?: Array<models.ConfigGroup> | undefined;
46
+ };
47
+
48
+ /** @internal */
49
+ export const GetProductsGroupsByProductProduct$inboundSchema: z.ZodNativeEnum<
50
+ typeof GetProductsGroupsByProductProduct
51
+ > = z.nativeEnum(GetProductsGroupsByProductProduct);
52
+
53
+ /** @internal */
54
+ export const GetProductsGroupsByProductProduct$outboundSchema: z.ZodNativeEnum<
55
+ typeof GetProductsGroupsByProductProduct
56
+ > = GetProductsGroupsByProductProduct$inboundSchema;
57
+
58
+ /**
59
+ * @internal
60
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
61
+ */
62
+ export namespace GetProductsGroupsByProductProduct$ {
63
+ /** @deprecated use `GetProductsGroupsByProductProduct$inboundSchema` instead. */
64
+ export const inboundSchema = GetProductsGroupsByProductProduct$inboundSchema;
65
+ /** @deprecated use `GetProductsGroupsByProductProduct$outboundSchema` instead. */
66
+ export const outboundSchema =
67
+ GetProductsGroupsByProductProduct$outboundSchema;
68
+ }
69
+
70
+ /** @internal */
71
+ export const GetProductsGroupsByProductRequest$inboundSchema: z.ZodType<
72
+ GetProductsGroupsByProductRequest,
73
+ z.ZodTypeDef,
74
+ unknown
75
+ > = z.object({
76
+ fields: z.string().optional(),
77
+ product: GetProductsGroupsByProductProduct$inboundSchema,
78
+ });
79
+
80
+ /** @internal */
81
+ export type GetProductsGroupsByProductRequest$Outbound = {
82
+ fields?: string | undefined;
83
+ product: string;
84
+ };
85
+
86
+ /** @internal */
87
+ export const GetProductsGroupsByProductRequest$outboundSchema: z.ZodType<
88
+ GetProductsGroupsByProductRequest$Outbound,
89
+ z.ZodTypeDef,
90
+ GetProductsGroupsByProductRequest
91
+ > = z.object({
92
+ fields: z.string().optional(),
93
+ product: GetProductsGroupsByProductProduct$outboundSchema,
94
+ });
95
+
96
+ /**
97
+ * @internal
98
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
99
+ */
100
+ export namespace GetProductsGroupsByProductRequest$ {
101
+ /** @deprecated use `GetProductsGroupsByProductRequest$inboundSchema` instead. */
102
+ export const inboundSchema = GetProductsGroupsByProductRequest$inboundSchema;
103
+ /** @deprecated use `GetProductsGroupsByProductRequest$outboundSchema` instead. */
104
+ export const outboundSchema =
105
+ GetProductsGroupsByProductRequest$outboundSchema;
106
+ /** @deprecated use `GetProductsGroupsByProductRequest$Outbound` instead. */
107
+ export type Outbound = GetProductsGroupsByProductRequest$Outbound;
108
+ }
109
+
110
+ export function getProductsGroupsByProductRequestToJSON(
111
+ getProductsGroupsByProductRequest: GetProductsGroupsByProductRequest,
112
+ ): string {
113
+ return JSON.stringify(
114
+ GetProductsGroupsByProductRequest$outboundSchema.parse(
115
+ getProductsGroupsByProductRequest,
116
+ ),
117
+ );
118
+ }
119
+
120
+ export function getProductsGroupsByProductRequestFromJSON(
121
+ jsonString: string,
122
+ ): SafeParseResult<GetProductsGroupsByProductRequest, SDKValidationError> {
123
+ return safeParse(
124
+ jsonString,
125
+ (x) => GetProductsGroupsByProductRequest$inboundSchema.parse(JSON.parse(x)),
126
+ `Failed to parse 'GetProductsGroupsByProductRequest' from JSON`,
127
+ );
128
+ }
129
+
130
+ /** @internal */
131
+ export const GetProductsGroupsByProductResponse$inboundSchema: z.ZodType<
132
+ GetProductsGroupsByProductResponse,
133
+ z.ZodTypeDef,
134
+ unknown
135
+ > = z.object({
136
+ count: z.number().int().optional(),
137
+ items: z.array(models.ConfigGroup$inboundSchema).optional(),
138
+ });
139
+
140
+ /** @internal */
141
+ export type GetProductsGroupsByProductResponse$Outbound = {
142
+ count?: number | undefined;
143
+ items?: Array<models.ConfigGroup$Outbound> | undefined;
144
+ };
145
+
146
+ /** @internal */
147
+ export const GetProductsGroupsByProductResponse$outboundSchema: z.ZodType<
148
+ GetProductsGroupsByProductResponse$Outbound,
149
+ z.ZodTypeDef,
150
+ GetProductsGroupsByProductResponse
151
+ > = z.object({
152
+ count: z.number().int().optional(),
153
+ items: z.array(models.ConfigGroup$outboundSchema).optional(),
154
+ });
155
+
156
+ /**
157
+ * @internal
158
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
159
+ */
160
+ export namespace GetProductsGroupsByProductResponse$ {
161
+ /** @deprecated use `GetProductsGroupsByProductResponse$inboundSchema` instead. */
162
+ export const inboundSchema = GetProductsGroupsByProductResponse$inboundSchema;
163
+ /** @deprecated use `GetProductsGroupsByProductResponse$outboundSchema` instead. */
164
+ export const outboundSchema =
165
+ GetProductsGroupsByProductResponse$outboundSchema;
166
+ /** @deprecated use `GetProductsGroupsByProductResponse$Outbound` instead. */
167
+ export type Outbound = GetProductsGroupsByProductResponse$Outbound;
168
+ }
169
+
170
+ export function getProductsGroupsByProductResponseToJSON(
171
+ getProductsGroupsByProductResponse: GetProductsGroupsByProductResponse,
172
+ ): string {
173
+ return JSON.stringify(
174
+ GetProductsGroupsByProductResponse$outboundSchema.parse(
175
+ getProductsGroupsByProductResponse,
176
+ ),
177
+ );
178
+ }
179
+
180
+ export function getProductsGroupsByProductResponseFromJSON(
181
+ jsonString: string,
182
+ ): SafeParseResult<GetProductsGroupsByProductResponse, SDKValidationError> {
183
+ return safeParse(
184
+ jsonString,
185
+ (x) =>
186
+ GetProductsGroupsByProductResponse$inboundSchema.parse(JSON.parse(x)),
187
+ `Failed to parse 'GetProductsGroupsByProductResponse' from JSON`,
188
+ );
189
+ }