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.
- package/README.md +35 -1
- package/dist/commonjs/__tests__/distributed.test.d.ts +2 -0
- package/dist/commonjs/__tests__/distributed.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/distributed.test.js +22 -0
- package/dist/commonjs/__tests__/distributed.test.js.map +1 -0
- package/dist/commonjs/__tests__/groups.test.d.ts +2 -0
- package/dist/commonjs/__tests__/groups.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/groups.test.js +106 -0
- package/dist/commonjs/__tests__/groups.test.js.map +1 -0
- package/dist/commonjs/__tests__/teams.test.d.ts +2 -0
- package/dist/commonjs/__tests__/teams.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/teams.test.js +26 -0
- package/dist/commonjs/__tests__/teams.test.js.map +1 -0
- package/dist/commonjs/__tests__/workers.test.d.ts +2 -0
- package/dist/commonjs/__tests__/workers.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/workers.test.js +48 -0
- package/dist/commonjs/__tests__/workers.test.js.map +1 -0
- package/dist/commonjs/funcs/distributedGetSummary.d.ts +18 -0
- package/dist/commonjs/funcs/distributedGetSummary.d.ts.map +1 -0
- package/dist/commonjs/funcs/distributedGetSummary.js +120 -0
- package/dist/commonjs/funcs/distributedGetSummary.js.map +1 -0
- package/dist/commonjs/funcs/groupsCreateProductsGroupsByProduct.d.ts +18 -0
- package/dist/commonjs/funcs/groupsCreateProductsGroupsByProduct.d.ts.map +1 -0
- package/dist/commonjs/funcs/groupsCreateProductsGroupsByProduct.js +123 -0
- package/dist/commonjs/funcs/groupsCreateProductsGroupsByProduct.js.map +1 -0
- package/dist/commonjs/funcs/groupsGetGroupsAclById.d.ts +18 -0
- package/dist/commonjs/funcs/groupsGetGroupsAclById.d.ts.map +1 -0
- package/dist/commonjs/funcs/groupsGetGroupsAclById.js +126 -0
- package/dist/commonjs/funcs/groupsGetGroupsAclById.js.map +1 -0
- package/dist/commonjs/funcs/groupsGetGroupsById.d.ts +18 -0
- package/dist/commonjs/funcs/groupsGetGroupsById.d.ts.map +1 -0
- package/dist/commonjs/funcs/groupsGetGroupsById.js +126 -0
- package/dist/commonjs/funcs/groupsGetGroupsById.js.map +1 -0
- package/dist/commonjs/funcs/groupsGetGroupsConfigVersionById.d.ts +18 -0
- package/dist/commonjs/funcs/groupsGetGroupsConfigVersionById.d.ts.map +1 -0
- package/dist/commonjs/funcs/groupsGetGroupsConfigVersionById.js +122 -0
- package/dist/commonjs/funcs/groupsGetGroupsConfigVersionById.js.map +1 -0
- package/dist/commonjs/funcs/groupsGetProductsGroupsByProduct.d.ts +18 -0
- package/dist/commonjs/funcs/groupsGetProductsGroupsByProduct.d.ts.map +1 -0
- package/dist/commonjs/funcs/groupsGetProductsGroupsByProduct.js +126 -0
- package/dist/commonjs/funcs/groupsGetProductsGroupsByProduct.js.map +1 -0
- package/dist/commonjs/funcs/groupsUpdateGroupsDeployById.d.ts +18 -0
- package/dist/commonjs/funcs/groupsUpdateGroupsDeployById.d.ts.map +1 -0
- package/dist/commonjs/funcs/groupsUpdateGroupsDeployById.js +123 -0
- package/dist/commonjs/funcs/groupsUpdateGroupsDeployById.js.map +1 -0
- package/dist/commonjs/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.d.ts +18 -0
- package/dist/commonjs/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.d.ts.map +1 -0
- package/dist/commonjs/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.js +131 -0
- package/dist/commonjs/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.js.map +1 -0
- package/dist/commonjs/funcs/workersGetSummaryWorkers.d.ts +18 -0
- package/dist/commonjs/funcs/workersGetSummaryWorkers.d.ts.map +1 -0
- package/dist/commonjs/funcs/workersGetSummaryWorkers.js +120 -0
- package/dist/commonjs/funcs/workersGetSummaryWorkers.js.map +1 -0
- package/dist/commonjs/funcs/workersGetWorkers.d.ts +18 -0
- package/dist/commonjs/funcs/workersGetWorkers.d.ts.map +1 -0
- package/dist/commonjs/funcs/workersGetWorkers.js +125 -0
- package/dist/commonjs/funcs/workersGetWorkers.js.map +1 -0
- package/dist/commonjs/funcs/workersUpdateWorkersRestart.d.ts +18 -0
- package/dist/commonjs/funcs/workersUpdateWorkersRestart.d.ts.map +1 -0
- package/dist/commonjs/funcs/workersUpdateWorkersRestart.js +107 -0
- package/dist/commonjs/funcs/workersUpdateWorkersRestart.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/appmode.d.ts +40 -0
- package/dist/commonjs/models/appmode.d.ts.map +1 -0
- package/dist/commonjs/models/appmode.js +65 -0
- package/dist/commonjs/models/appmode.js.map +1 -0
- package/dist/commonjs/models/cloudprovider.d.ts +28 -0
- package/dist/commonjs/models/cloudprovider.d.ts.map +1 -0
- package/dist/commonjs/models/cloudprovider.js +60 -0
- package/dist/commonjs/models/cloudprovider.js.map +1 -0
- package/dist/commonjs/models/commit.d.ts +39 -0
- package/dist/commonjs/models/commit.d.ts.map +1 -0
- package/dist/commonjs/models/commit.js +91 -0
- package/dist/commonjs/models/commit.js.map +1 -0
- package/dist/commonjs/models/configgroup.d.ts +126 -0
- package/dist/commonjs/models/configgroup.d.ts.map +1 -0
- package/dist/commonjs/models/configgroup.js +165 -0
- package/dist/commonjs/models/configgroup.js.map +1 -0
- package/dist/commonjs/models/configgroupcloud.d.ts +32 -0
- package/dist/commonjs/models/configgroupcloud.d.ts.map +1 -0
- package/dist/commonjs/models/configgroupcloud.js +72 -0
- package/dist/commonjs/models/configgroupcloud.js.map +1 -0
- package/dist/commonjs/models/configgrouplookups.d.ts +60 -0
- package/dist/commonjs/models/configgrouplookups.d.ts.map +1 -0
- package/dist/commonjs/models/configgrouplookups.js +102 -0
- package/dist/commonjs/models/configgrouplookups.js.map +1 -0
- package/dist/commonjs/models/deployrequest.d.ts +32 -0
- package/dist/commonjs/models/deployrequest.d.ts.map +1 -0
- package/dist/commonjs/models/deployrequest.js +72 -0
- package/dist/commonjs/models/deployrequest.js.map +1 -0
- package/dist/commonjs/models/deployrequestlookups.d.ts +58 -0
- package/dist/commonjs/models/deployrequestlookups.d.ts.map +1 -0
- package/dist/commonjs/models/deployrequestlookups.js +100 -0
- package/dist/commonjs/models/deployrequestlookups.js.map +1 -0
- package/dist/commonjs/models/distributedsummary.d.ts +101 -0
- package/dist/commonjs/models/distributedsummary.d.ts.map +1 -0
- package/dist/commonjs/models/distributedsummary.js +145 -0
- package/dist/commonjs/models/distributedsummary.js.map +1 -0
- package/dist/commonjs/models/errors/healthstatuserror.d.ts +2 -2
- package/dist/commonjs/models/errors/healthstatuserror.d.ts.map +1 -1
- package/dist/commonjs/models/errors/healthstatuserror.js +2 -2
- package/dist/commonjs/models/errors/healthstatuserror.js.map +1 -1
- package/dist/commonjs/models/hbcriblinfo.d.ts +89 -0
- package/dist/commonjs/models/hbcriblinfo.d.ts.map +1 -0
- package/dist/commonjs/models/hbcriblinfo.js +132 -0
- package/dist/commonjs/models/hbcriblinfo.js.map +1 -0
- package/dist/commonjs/models/hbleaderinfo.d.ts +35 -0
- package/dist/commonjs/models/hbleaderinfo.d.ts.map +1 -0
- package/dist/commonjs/models/hbleaderinfo.js +75 -0
- package/dist/commonjs/models/hbleaderinfo.js.map +1 -0
- package/dist/commonjs/models/healthstatus.d.ts +8 -8
- package/dist/commonjs/models/healthstatus.d.ts.map +1 -1
- package/dist/commonjs/models/healthstatus.js +13 -14
- package/dist/commonjs/models/healthstatus.js.map +1 -1
- package/dist/commonjs/models/heartbeatmetadata.d.ts +213 -0
- package/dist/commonjs/models/heartbeatmetadata.d.ts.map +1 -0
- package/dist/commonjs/models/heartbeatmetadata.js +265 -0
- package/dist/commonjs/models/heartbeatmetadata.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +25 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +25 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/lookupversions.d.ts +25 -0
- package/dist/commonjs/models/lookupversions.d.ts.map +1 -0
- package/dist/commonjs/models/lookupversions.js +65 -0
- package/dist/commonjs/models/lookupversions.js.map +1 -0
- package/dist/commonjs/models/masterworkerentry.d.ts +133 -0
- package/dist/commonjs/models/masterworkerentry.d.ts.map +1 -0
- package/dist/commonjs/models/masterworkerentry.js +168 -0
- package/dist/commonjs/models/masterworkerentry.js.map +1 -0
- package/dist/commonjs/models/nodeactiveupgradestatus.d.ts +31 -0
- package/dist/commonjs/models/nodeactiveupgradestatus.d.ts.map +1 -0
- package/dist/commonjs/models/nodeactiveupgradestatus.js +61 -0
- package/dist/commonjs/models/nodeactiveupgradestatus.js.map +1 -0
- package/dist/commonjs/models/nodefailedupgradestatus.d.ts +28 -0
- package/dist/commonjs/models/nodefailedupgradestatus.d.ts.map +1 -0
- package/dist/commonjs/models/nodefailedupgradestatus.js +60 -0
- package/dist/commonjs/models/nodefailedupgradestatus.js.map +1 -0
- package/dist/commonjs/models/nodeprovidedinfo.d.ts +289 -0
- package/dist/commonjs/models/nodeprovidedinfo.d.ts.map +1 -0
- package/dist/commonjs/models/nodeprovidedinfo.js +367 -0
- package/dist/commonjs/models/nodeprovidedinfo.js.map +1 -0
- package/dist/commonjs/models/nodeskippedupgradestatus.d.ts +34 -0
- package/dist/commonjs/models/nodeskippedupgradestatus.d.ts.map +1 -0
- package/dist/commonjs/models/nodeskippedupgradestatus.js +62 -0
- package/dist/commonjs/models/nodeskippedupgradestatus.js.map +1 -0
- package/dist/commonjs/models/nodeupgradestate.d.ts +34 -0
- package/dist/commonjs/models/nodeupgradestate.d.ts.map +1 -0
- package/dist/commonjs/models/nodeupgradestate.js +62 -0
- package/dist/commonjs/models/nodeupgradestate.js.map +1 -0
- package/dist/commonjs/models/nodeupgradestatus.d.ts +41 -0
- package/dist/commonjs/models/nodeupgradestatus.d.ts.map +1 -0
- package/dist/commonjs/models/nodeupgradestatus.js +81 -0
- package/dist/commonjs/models/nodeupgradestatus.js.map +1 -0
- package/dist/commonjs/models/operations/createproductsgroupsbyproduct.d.ts +103 -0
- package/dist/commonjs/models/operations/createproductsgroupsbyproduct.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createproductsgroupsbyproduct.js +132 -0
- package/dist/commonjs/models/operations/createproductsgroupsbyproduct.js.map +1 -0
- package/dist/commonjs/models/operations/getgroupsaclbyid.d.ts +121 -0
- package/dist/commonjs/models/operations/getgroupsaclbyid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getgroupsaclbyid.js +129 -0
- package/dist/commonjs/models/operations/getgroupsaclbyid.js.map +1 -0
- package/dist/commonjs/models/operations/getgroupsbyid.d.ts +71 -0
- package/dist/commonjs/models/operations/getgroupsbyid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getgroupsbyid.js +101 -0
- package/dist/commonjs/models/operations/getgroupsbyid.js.map +1 -0
- package/dist/commonjs/models/operations/getgroupsconfigversionbyid.d.ts +65 -0
- package/dist/commonjs/models/operations/getgroupsconfigversionbyid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getgroupsconfigversionbyid.js +98 -0
- package/dist/commonjs/models/operations/getgroupsconfigversionbyid.js.map +1 -0
- package/dist/commonjs/models/operations/getproductsgroupsaclteamsbyproductandid.d.ts +157 -0
- package/dist/commonjs/models/operations/getproductsgroupsaclteamsbyproductandid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getproductsgroupsaclteamsbyproductandid.js +155 -0
- package/dist/commonjs/models/operations/getproductsgroupsaclteamsbyproductandid.js.map +1 -0
- package/dist/commonjs/models/operations/getproductsgroupsbyproduct.d.ts +103 -0
- package/dist/commonjs/models/operations/getproductsgroupsbyproduct.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getproductsgroupsbyproduct.js +123 -0
- package/dist/commonjs/models/operations/getproductsgroupsbyproduct.js.map +1 -0
- package/dist/commonjs/models/operations/getsummary.d.ts +98 -0
- package/dist/commonjs/models/operations/getsummary.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getsummary.js +121 -0
- package/dist/commonjs/models/operations/getsummary.js.map +1 -0
- package/dist/commonjs/models/operations/getsummaryworkers.d.ts +65 -0
- package/dist/commonjs/models/operations/getsummaryworkers.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getsummaryworkers.js +98 -0
- package/dist/commonjs/models/operations/getsummaryworkers.js.map +1 -0
- package/dist/commonjs/models/operations/getworkers.d.ts +91 -0
- package/dist/commonjs/models/operations/getworkers.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getworkers.js +109 -0
- package/dist/commonjs/models/operations/getworkers.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +11 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +11 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/updategroupsdeploybyid.d.ts +71 -0
- package/dist/commonjs/models/operations/updategroupsdeploybyid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updategroupsdeploybyid.js +110 -0
- package/dist/commonjs/models/operations/updategroupsdeploybyid.js.map +1 -0
- package/dist/commonjs/models/operations/updateworkersrestart.d.ts +38 -0
- package/dist/commonjs/models/operations/updateworkersrestart.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updateworkersrestart.js +72 -0
- package/dist/commonjs/models/operations/updateworkersrestart.js.map +1 -0
- package/dist/commonjs/models/rbacresource.d.ts +43 -0
- package/dist/commonjs/models/rbacresource.d.ts.map +1 -0
- package/dist/commonjs/models/rbacresource.js +65 -0
- package/dist/commonjs/models/rbacresource.js.map +1 -0
- package/dist/commonjs/models/resourcepolicy.d.ts +36 -0
- package/dist/commonjs/models/resourcepolicy.d.ts.map +1 -0
- package/dist/commonjs/models/resourcepolicy.js +76 -0
- package/dist/commonjs/models/resourcepolicy.js.map +1 -0
- package/dist/commonjs/models/restartresponse.d.ts +59 -0
- package/dist/commonjs/models/restartresponse.d.ts.map +1 -0
- package/dist/commonjs/models/restartresponse.js +92 -0
- package/dist/commonjs/models/restartresponse.js.map +1 -0
- package/dist/commonjs/models/teamaccesscontrollist.d.ts +32 -0
- package/dist/commonjs/models/teamaccesscontrollist.d.ts.map +1 -0
- package/dist/commonjs/models/teamaccesscontrollist.js +72 -0
- package/dist/commonjs/models/teamaccesscontrollist.js.map +1 -0
- package/dist/commonjs/models/useraccesscontrollist.d.ts +32 -0
- package/dist/commonjs/models/useraccesscontrollist.d.ts.map +1 -0
- package/dist/commonjs/models/useraccesscontrollist.js +72 -0
- package/dist/commonjs/models/useraccesscontrollist.js.map +1 -0
- package/dist/commonjs/sdk/distributed.d.ts +12 -0
- package/dist/commonjs/sdk/distributed.d.ts.map +1 -0
- package/dist/commonjs/sdk/distributed.js +22 -0
- package/dist/commonjs/sdk/distributed.js.map +1 -0
- package/dist/commonjs/sdk/groups.d.ts +47 -0
- package/dist/commonjs/sdk/groups.d.ts.map +1 -0
- package/dist/commonjs/sdk/groups.js +72 -0
- package/dist/commonjs/sdk/groups.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +12 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +16 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/teams.d.ts +12 -0
- package/dist/commonjs/sdk/teams.d.ts.map +1 -0
- package/dist/commonjs/sdk/teams.js +22 -0
- package/dist/commonjs/sdk/teams.js.map +1 -0
- package/dist/commonjs/sdk/workers.d.ts +26 -0
- package/dist/commonjs/sdk/workers.d.ts.map +1 -0
- package/dist/commonjs/sdk/workers.js +42 -0
- package/dist/commonjs/sdk/workers.js.map +1 -0
- package/dist/esm/__tests__/distributed.test.d.ts +2 -0
- package/dist/esm/__tests__/distributed.test.d.ts.map +1 -0
- package/dist/esm/__tests__/distributed.test.js +20 -0
- package/dist/esm/__tests__/distributed.test.js.map +1 -0
- package/dist/esm/__tests__/groups.test.d.ts +2 -0
- package/dist/esm/__tests__/groups.test.d.ts.map +1 -0
- package/dist/esm/__tests__/groups.test.js +104 -0
- package/dist/esm/__tests__/groups.test.js.map +1 -0
- package/dist/esm/__tests__/teams.test.d.ts +2 -0
- package/dist/esm/__tests__/teams.test.d.ts.map +1 -0
- package/dist/esm/__tests__/teams.test.js +24 -0
- package/dist/esm/__tests__/teams.test.js.map +1 -0
- package/dist/esm/__tests__/workers.test.d.ts +2 -0
- package/dist/esm/__tests__/workers.test.d.ts.map +1 -0
- package/dist/esm/__tests__/workers.test.js +46 -0
- package/dist/esm/__tests__/workers.test.js.map +1 -0
- package/dist/esm/funcs/distributedGetSummary.d.ts +18 -0
- package/dist/esm/funcs/distributedGetSummary.d.ts.map +1 -0
- package/dist/esm/funcs/distributedGetSummary.js +84 -0
- package/dist/esm/funcs/distributedGetSummary.js.map +1 -0
- package/dist/esm/funcs/groupsCreateProductsGroupsByProduct.d.ts +18 -0
- package/dist/esm/funcs/groupsCreateProductsGroupsByProduct.d.ts.map +1 -0
- package/dist/esm/funcs/groupsCreateProductsGroupsByProduct.js +87 -0
- package/dist/esm/funcs/groupsCreateProductsGroupsByProduct.js.map +1 -0
- package/dist/esm/funcs/groupsGetGroupsAclById.d.ts +18 -0
- package/dist/esm/funcs/groupsGetGroupsAclById.d.ts.map +1 -0
- package/dist/esm/funcs/groupsGetGroupsAclById.js +90 -0
- package/dist/esm/funcs/groupsGetGroupsAclById.js.map +1 -0
- package/dist/esm/funcs/groupsGetGroupsById.d.ts +18 -0
- package/dist/esm/funcs/groupsGetGroupsById.d.ts.map +1 -0
- package/dist/esm/funcs/groupsGetGroupsById.js +90 -0
- package/dist/esm/funcs/groupsGetGroupsById.js.map +1 -0
- package/dist/esm/funcs/groupsGetGroupsConfigVersionById.d.ts +18 -0
- package/dist/esm/funcs/groupsGetGroupsConfigVersionById.d.ts.map +1 -0
- package/dist/esm/funcs/groupsGetGroupsConfigVersionById.js +86 -0
- package/dist/esm/funcs/groupsGetGroupsConfigVersionById.js.map +1 -0
- package/dist/esm/funcs/groupsGetProductsGroupsByProduct.d.ts +18 -0
- package/dist/esm/funcs/groupsGetProductsGroupsByProduct.d.ts.map +1 -0
- package/dist/esm/funcs/groupsGetProductsGroupsByProduct.js +90 -0
- package/dist/esm/funcs/groupsGetProductsGroupsByProduct.js.map +1 -0
- package/dist/esm/funcs/groupsUpdateGroupsDeployById.d.ts +18 -0
- package/dist/esm/funcs/groupsUpdateGroupsDeployById.d.ts.map +1 -0
- package/dist/esm/funcs/groupsUpdateGroupsDeployById.js +87 -0
- package/dist/esm/funcs/groupsUpdateGroupsDeployById.js.map +1 -0
- package/dist/esm/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.d.ts +18 -0
- package/dist/esm/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.d.ts.map +1 -0
- package/dist/esm/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.js +95 -0
- package/dist/esm/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.js.map +1 -0
- package/dist/esm/funcs/workersGetSummaryWorkers.d.ts +18 -0
- package/dist/esm/funcs/workersGetSummaryWorkers.d.ts.map +1 -0
- package/dist/esm/funcs/workersGetSummaryWorkers.js +84 -0
- package/dist/esm/funcs/workersGetSummaryWorkers.js.map +1 -0
- package/dist/esm/funcs/workersGetWorkers.d.ts +18 -0
- package/dist/esm/funcs/workersGetWorkers.d.ts.map +1 -0
- package/dist/esm/funcs/workersGetWorkers.js +89 -0
- package/dist/esm/funcs/workersGetWorkers.js.map +1 -0
- package/dist/esm/funcs/workersUpdateWorkersRestart.d.ts +18 -0
- package/dist/esm/funcs/workersUpdateWorkersRestart.d.ts.map +1 -0
- package/dist/esm/funcs/workersUpdateWorkersRestart.js +71 -0
- package/dist/esm/funcs/workersUpdateWorkersRestart.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/appmode.d.ts +40 -0
- package/dist/esm/models/appmode.d.ts.map +1 -0
- package/dist/esm/models/appmode.js +29 -0
- package/dist/esm/models/appmode.js.map +1 -0
- package/dist/esm/models/cloudprovider.d.ts +28 -0
- package/dist/esm/models/cloudprovider.d.ts.map +1 -0
- package/dist/esm/models/cloudprovider.js +24 -0
- package/dist/esm/models/cloudprovider.js.map +1 -0
- package/dist/esm/models/commit.d.ts +39 -0
- package/dist/esm/models/commit.d.ts.map +1 -0
- package/dist/esm/models/commit.js +53 -0
- package/dist/esm/models/commit.js.map +1 -0
- package/dist/esm/models/configgroup.d.ts +126 -0
- package/dist/esm/models/configgroup.d.ts.map +1 -0
- package/dist/esm/models/configgroup.js +125 -0
- package/dist/esm/models/configgroup.js.map +1 -0
- package/dist/esm/models/configgroupcloud.d.ts +32 -0
- package/dist/esm/models/configgroupcloud.d.ts.map +1 -0
- package/dist/esm/models/configgroupcloud.js +34 -0
- package/dist/esm/models/configgroupcloud.js.map +1 -0
- package/dist/esm/models/configgrouplookups.d.ts +60 -0
- package/dist/esm/models/configgrouplookups.d.ts.map +1 -0
- package/dist/esm/models/configgrouplookups.js +62 -0
- package/dist/esm/models/configgrouplookups.js.map +1 -0
- package/dist/esm/models/deployrequest.d.ts +32 -0
- package/dist/esm/models/deployrequest.d.ts.map +1 -0
- package/dist/esm/models/deployrequest.js +34 -0
- package/dist/esm/models/deployrequest.js.map +1 -0
- package/dist/esm/models/deployrequestlookups.d.ts +58 -0
- package/dist/esm/models/deployrequestlookups.d.ts.map +1 -0
- package/dist/esm/models/deployrequestlookups.js +60 -0
- package/dist/esm/models/deployrequestlookups.js.map +1 -0
- package/dist/esm/models/distributedsummary.d.ts +101 -0
- package/dist/esm/models/distributedsummary.d.ts.map +1 -0
- package/dist/esm/models/distributedsummary.js +103 -0
- package/dist/esm/models/distributedsummary.js.map +1 -0
- package/dist/esm/models/errors/healthstatuserror.d.ts +2 -2
- package/dist/esm/models/errors/healthstatuserror.d.ts.map +1 -1
- package/dist/esm/models/errors/healthstatuserror.js +2 -2
- package/dist/esm/models/errors/healthstatuserror.js.map +1 -1
- package/dist/esm/models/hbcriblinfo.d.ts +89 -0
- package/dist/esm/models/hbcriblinfo.d.ts.map +1 -0
- package/dist/esm/models/hbcriblinfo.js +92 -0
- package/dist/esm/models/hbcriblinfo.js.map +1 -0
- package/dist/esm/models/hbleaderinfo.d.ts +35 -0
- package/dist/esm/models/hbleaderinfo.d.ts.map +1 -0
- package/dist/esm/models/hbleaderinfo.js +37 -0
- package/dist/esm/models/hbleaderinfo.js.map +1 -0
- package/dist/esm/models/healthstatus.d.ts +8 -8
- package/dist/esm/models/healthstatus.d.ts.map +1 -1
- package/dist/esm/models/healthstatus.js +12 -13
- package/dist/esm/models/healthstatus.js.map +1 -1
- package/dist/esm/models/heartbeatmetadata.d.ts +213 -0
- package/dist/esm/models/heartbeatmetadata.d.ts.map +1 -0
- package/dist/esm/models/heartbeatmetadata.js +215 -0
- package/dist/esm/models/heartbeatmetadata.js.map +1 -0
- package/dist/esm/models/index.d.ts +25 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +25 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/lookupversions.d.ts +25 -0
- package/dist/esm/models/lookupversions.d.ts.map +1 -0
- package/dist/esm/models/lookupversions.js +27 -0
- package/dist/esm/models/lookupversions.js.map +1 -0
- package/dist/esm/models/masterworkerentry.d.ts +133 -0
- package/dist/esm/models/masterworkerentry.d.ts.map +1 -0
- package/dist/esm/models/masterworkerentry.js +126 -0
- package/dist/esm/models/masterworkerentry.js.map +1 -0
- package/dist/esm/models/nodeactiveupgradestatus.d.ts +31 -0
- package/dist/esm/models/nodeactiveupgradestatus.d.ts.map +1 -0
- package/dist/esm/models/nodeactiveupgradestatus.js +25 -0
- package/dist/esm/models/nodeactiveupgradestatus.js.map +1 -0
- package/dist/esm/models/nodefailedupgradestatus.d.ts +28 -0
- package/dist/esm/models/nodefailedupgradestatus.d.ts.map +1 -0
- package/dist/esm/models/nodefailedupgradestatus.js +24 -0
- package/dist/esm/models/nodefailedupgradestatus.js.map +1 -0
- package/dist/esm/models/nodeprovidedinfo.d.ts +289 -0
- package/dist/esm/models/nodeprovidedinfo.d.ts.map +1 -0
- package/dist/esm/models/nodeprovidedinfo.js +313 -0
- package/dist/esm/models/nodeprovidedinfo.js.map +1 -0
- package/dist/esm/models/nodeskippedupgradestatus.d.ts +34 -0
- package/dist/esm/models/nodeskippedupgradestatus.d.ts.map +1 -0
- package/dist/esm/models/nodeskippedupgradestatus.js +26 -0
- package/dist/esm/models/nodeskippedupgradestatus.js.map +1 -0
- package/dist/esm/models/nodeupgradestate.d.ts +34 -0
- package/dist/esm/models/nodeupgradestate.d.ts.map +1 -0
- package/dist/esm/models/nodeupgradestate.js +26 -0
- package/dist/esm/models/nodeupgradestate.js.map +1 -0
- package/dist/esm/models/nodeupgradestatus.d.ts +41 -0
- package/dist/esm/models/nodeupgradestatus.d.ts.map +1 -0
- package/dist/esm/models/nodeupgradestatus.js +43 -0
- package/dist/esm/models/nodeupgradestatus.js.map +1 -0
- package/dist/esm/models/operations/createproductsgroupsbyproduct.d.ts +103 -0
- package/dist/esm/models/operations/createproductsgroupsbyproduct.d.ts.map +1 -0
- package/dist/esm/models/operations/createproductsgroupsbyproduct.js +92 -0
- package/dist/esm/models/operations/createproductsgroupsbyproduct.js.map +1 -0
- package/dist/esm/models/operations/getgroupsaclbyid.d.ts +121 -0
- package/dist/esm/models/operations/getgroupsaclbyid.d.ts.map +1 -0
- package/dist/esm/models/operations/getgroupsaclbyid.js +89 -0
- package/dist/esm/models/operations/getgroupsaclbyid.js.map +1 -0
- package/dist/esm/models/operations/getgroupsbyid.d.ts +71 -0
- package/dist/esm/models/operations/getgroupsbyid.d.ts.map +1 -0
- package/dist/esm/models/operations/getgroupsbyid.js +61 -0
- package/dist/esm/models/operations/getgroupsbyid.js.map +1 -0
- package/dist/esm/models/operations/getgroupsconfigversionbyid.d.ts +65 -0
- package/dist/esm/models/operations/getgroupsconfigversionbyid.d.ts.map +1 -0
- package/dist/esm/models/operations/getgroupsconfigversionbyid.js +58 -0
- package/dist/esm/models/operations/getgroupsconfigversionbyid.js.map +1 -0
- package/dist/esm/models/operations/getproductsgroupsaclteamsbyproductandid.d.ts +157 -0
- package/dist/esm/models/operations/getproductsgroupsaclteamsbyproductandid.d.ts.map +1 -0
- package/dist/esm/models/operations/getproductsgroupsaclteamsbyproductandid.js +115 -0
- package/dist/esm/models/operations/getproductsgroupsaclteamsbyproductandid.js.map +1 -0
- package/dist/esm/models/operations/getproductsgroupsbyproduct.d.ts +103 -0
- package/dist/esm/models/operations/getproductsgroupsbyproduct.d.ts.map +1 -0
- package/dist/esm/models/operations/getproductsgroupsbyproduct.js +83 -0
- package/dist/esm/models/operations/getproductsgroupsbyproduct.js.map +1 -0
- package/dist/esm/models/operations/getsummary.d.ts +98 -0
- package/dist/esm/models/operations/getsummary.d.ts.map +1 -0
- package/dist/esm/models/operations/getsummary.js +81 -0
- package/dist/esm/models/operations/getsummary.js.map +1 -0
- package/dist/esm/models/operations/getsummaryworkers.d.ts +65 -0
- package/dist/esm/models/operations/getsummaryworkers.d.ts.map +1 -0
- package/dist/esm/models/operations/getsummaryworkers.js +58 -0
- package/dist/esm/models/operations/getsummaryworkers.js.map +1 -0
- package/dist/esm/models/operations/getworkers.d.ts +91 -0
- package/dist/esm/models/operations/getworkers.d.ts.map +1 -0
- package/dist/esm/models/operations/getworkers.js +69 -0
- package/dist/esm/models/operations/getworkers.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +11 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +11 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/updategroupsdeploybyid.d.ts +71 -0
- package/dist/esm/models/operations/updategroupsdeploybyid.d.ts.map +1 -0
- package/dist/esm/models/operations/updategroupsdeploybyid.js +70 -0
- package/dist/esm/models/operations/updategroupsdeploybyid.js.map +1 -0
- package/dist/esm/models/operations/updateworkersrestart.d.ts +38 -0
- package/dist/esm/models/operations/updateworkersrestart.d.ts.map +1 -0
- package/dist/esm/models/operations/updateworkersrestart.js +34 -0
- package/dist/esm/models/operations/updateworkersrestart.js.map +1 -0
- package/dist/esm/models/rbacresource.d.ts +43 -0
- package/dist/esm/models/rbacresource.d.ts.map +1 -0
- package/dist/esm/models/rbacresource.js +29 -0
- package/dist/esm/models/rbacresource.js.map +1 -0
- package/dist/esm/models/resourcepolicy.d.ts +36 -0
- package/dist/esm/models/resourcepolicy.d.ts.map +1 -0
- package/dist/esm/models/resourcepolicy.js +38 -0
- package/dist/esm/models/resourcepolicy.js.map +1 -0
- package/dist/esm/models/restartresponse.d.ts +59 -0
- package/dist/esm/models/restartresponse.d.ts.map +1 -0
- package/dist/esm/models/restartresponse.js +54 -0
- package/dist/esm/models/restartresponse.js.map +1 -0
- package/dist/esm/models/teamaccesscontrollist.d.ts +32 -0
- package/dist/esm/models/teamaccesscontrollist.d.ts.map +1 -0
- package/dist/esm/models/teamaccesscontrollist.js +34 -0
- package/dist/esm/models/teamaccesscontrollist.js.map +1 -0
- package/dist/esm/models/useraccesscontrollist.d.ts +32 -0
- package/dist/esm/models/useraccesscontrollist.d.ts.map +1 -0
- package/dist/esm/models/useraccesscontrollist.js +34 -0
- package/dist/esm/models/useraccesscontrollist.js.map +1 -0
- package/dist/esm/sdk/distributed.d.ts +12 -0
- package/dist/esm/sdk/distributed.d.ts.map +1 -0
- package/dist/esm/sdk/distributed.js +18 -0
- package/dist/esm/sdk/distributed.js.map +1 -0
- package/dist/esm/sdk/groups.d.ts +47 -0
- package/dist/esm/sdk/groups.d.ts.map +1 -0
- package/dist/esm/sdk/groups.js +68 -0
- package/dist/esm/sdk/groups.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +12 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +16 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/teams.d.ts +12 -0
- package/dist/esm/sdk/teams.d.ts.map +1 -0
- package/dist/esm/sdk/teams.js +18 -0
- package/dist/esm/sdk/teams.js.map +1 -0
- package/dist/esm/sdk/workers.d.ts +26 -0
- package/dist/esm/sdk/workers.d.ts.map +1 -0
- package/dist/esm/sdk/workers.js +38 -0
- package/dist/esm/sdk/workers.js.map +1 -0
- package/docs/sdks/distributed/README.md +85 -0
- package/docs/sdks/groups/README.md +503 -0
- package/docs/sdks/teams/README.md +91 -0
- package/docs/sdks/workers/README.md +236 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/distributed.test.ts +23 -0
- package/src/__tests__/groups.test.ts +122 -0
- package/src/__tests__/teams.test.ts +29 -0
- package/src/__tests__/workers.test.ts +55 -0
- package/src/funcs/distributedGetSummary.ts +173 -0
- package/src/funcs/groupsCreateProductsGroupsByProduct.ts +178 -0
- package/src/funcs/groupsGetGroupsAclById.ts +179 -0
- package/src/funcs/groupsGetGroupsById.ts +179 -0
- package/src/funcs/groupsGetGroupsConfigVersionById.ts +175 -0
- package/src/funcs/groupsGetProductsGroupsByProduct.ts +180 -0
- package/src/funcs/groupsUpdateGroupsDeployById.ts +176 -0
- package/src/funcs/teamsGetProductsGroupsAclTeamsByProductAndId.ts +190 -0
- package/src/funcs/workersGetSummaryWorkers.ts +175 -0
- package/src/funcs/workersGetWorkers.ts +178 -0
- package/src/funcs/workersUpdateWorkersRestart.ts +150 -0
- package/src/lib/config.ts +3 -3
- package/src/models/appmode.ts +35 -0
- package/src/models/cloudprovider.ts +33 -0
- package/src/models/commit.ts +90 -0
- package/src/models/configgroup.ts +247 -0
- package/src/models/configgroupcloud.ts +75 -0
- package/src/models/configgrouplookups.ts +136 -0
- package/src/models/deployrequest.ts +72 -0
- package/src/models/deployrequestlookups.ts +132 -0
- package/src/models/distributedsummary.ts +226 -0
- package/src/models/errors/healthstatuserror.ts +4 -4
- package/src/models/hbcriblinfo.ts +194 -0
- package/src/models/hbleaderinfo.ts +74 -0
- package/src/models/healthstatus.ts +16 -14
- package/src/models/heartbeatmetadata.ts +482 -0
- package/src/models/index.ts +25 -0
- package/src/models/lookupversions.ts +54 -0
- package/src/models/masterworkerentry.ts +269 -0
- package/src/models/nodeactiveupgradestatus.ts +36 -0
- package/src/models/nodefailedupgradestatus.ts +35 -0
- package/src/models/nodeprovidedinfo.ts +670 -0
- package/src/models/nodeskippedupgradestatus.ts +37 -0
- package/src/models/nodeupgradestate.ts +35 -0
- package/src/models/nodeupgradestatus.ts +102 -0
- package/src/models/operations/createproductsgroupsbyproduct.ts +203 -0
- package/src/models/operations/getgroupsaclbyid.ts +185 -0
- package/src/models/operations/getgroupsbyid.ts +145 -0
- package/src/models/operations/getgroupsconfigversionbyid.ts +144 -0
- package/src/models/operations/getproductsgroupsaclteamsbyproductandid.ts +261 -0
- package/src/models/operations/getproductsgroupsbyproduct.ts +189 -0
- package/src/models/operations/getsummary.ts +172 -0
- package/src/models/operations/getsummaryworkers.ts +137 -0
- package/src/models/operations/getworkers.ts +173 -0
- package/src/models/operations/index.ts +11 -0
- package/src/models/operations/updategroupsdeploybyid.ts +158 -0
- package/src/models/operations/updateworkersrestart.ts +79 -0
- package/src/models/rbacresource.ts +36 -0
- package/src/models/resourcepolicy.ts +79 -0
- package/src/models/restartresponse.ts +100 -0
- package/src/models/teamaccesscontrollist.ts +76 -0
- package/src/models/useraccesscontrollist.ts +76 -0
- package/src/sdk/distributed.ts +27 -0
- package/src/sdk/groups.ts +117 -0
- package/src/sdk/sdk.ts +24 -0
- package/src/sdk/teams.ts +27 -0
- package/src/sdk/workers.ts +61 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const NodeUpgradeState = {
|
|
9
|
+
Zero: 0,
|
|
10
|
+
One: 1,
|
|
11
|
+
Two: 2,
|
|
12
|
+
Three: 3,
|
|
13
|
+
} as const;
|
|
14
|
+
export type NodeUpgradeState = ClosedEnum<typeof NodeUpgradeState>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const NodeUpgradeState$inboundSchema: z.ZodNativeEnum<
|
|
18
|
+
typeof NodeUpgradeState
|
|
19
|
+
> = z.nativeEnum(NodeUpgradeState);
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const NodeUpgradeState$outboundSchema: z.ZodNativeEnum<
|
|
23
|
+
typeof NodeUpgradeState
|
|
24
|
+
> = NodeUpgradeState$inboundSchema;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
+
*/
|
|
30
|
+
export namespace NodeUpgradeState$ {
|
|
31
|
+
/** @deprecated use `NodeUpgradeState$inboundSchema` instead. */
|
|
32
|
+
export const inboundSchema = NodeUpgradeState$inboundSchema;
|
|
33
|
+
/** @deprecated use `NodeUpgradeState$outboundSchema` instead. */
|
|
34
|
+
export const outboundSchema = NodeUpgradeState$outboundSchema;
|
|
35
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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
|
+
import {
|
|
10
|
+
NodeActiveUpgradeStatus,
|
|
11
|
+
NodeActiveUpgradeStatus$inboundSchema,
|
|
12
|
+
NodeActiveUpgradeStatus$outboundSchema,
|
|
13
|
+
} from "./nodeactiveupgradestatus.js";
|
|
14
|
+
import {
|
|
15
|
+
NodeFailedUpgradeStatus,
|
|
16
|
+
NodeFailedUpgradeStatus$inboundSchema,
|
|
17
|
+
NodeFailedUpgradeStatus$outboundSchema,
|
|
18
|
+
} from "./nodefailedupgradestatus.js";
|
|
19
|
+
import {
|
|
20
|
+
NodeSkippedUpgradeStatus,
|
|
21
|
+
NodeSkippedUpgradeStatus$inboundSchema,
|
|
22
|
+
NodeSkippedUpgradeStatus$outboundSchema,
|
|
23
|
+
} from "./nodeskippedupgradestatus.js";
|
|
24
|
+
import {
|
|
25
|
+
NodeUpgradeState,
|
|
26
|
+
NodeUpgradeState$inboundSchema,
|
|
27
|
+
NodeUpgradeState$outboundSchema,
|
|
28
|
+
} from "./nodeupgradestate.js";
|
|
29
|
+
|
|
30
|
+
export type NodeUpgradeStatus = {
|
|
31
|
+
active?: NodeActiveUpgradeStatus | undefined;
|
|
32
|
+
failed?: NodeFailedUpgradeStatus | undefined;
|
|
33
|
+
skipped?: NodeSkippedUpgradeStatus | undefined;
|
|
34
|
+
state: NodeUpgradeState;
|
|
35
|
+
timestamp: number;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const NodeUpgradeStatus$inboundSchema: z.ZodType<
|
|
40
|
+
NodeUpgradeStatus,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
unknown
|
|
43
|
+
> = z.object({
|
|
44
|
+
active: NodeActiveUpgradeStatus$inboundSchema.optional(),
|
|
45
|
+
failed: NodeFailedUpgradeStatus$inboundSchema.optional(),
|
|
46
|
+
skipped: NodeSkippedUpgradeStatus$inboundSchema.optional(),
|
|
47
|
+
state: NodeUpgradeState$inboundSchema,
|
|
48
|
+
timestamp: z.number(),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export type NodeUpgradeStatus$Outbound = {
|
|
53
|
+
active?: number | undefined;
|
|
54
|
+
failed?: number | undefined;
|
|
55
|
+
skipped?: number | undefined;
|
|
56
|
+
state: number;
|
|
57
|
+
timestamp: number;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const NodeUpgradeStatus$outboundSchema: z.ZodType<
|
|
62
|
+
NodeUpgradeStatus$Outbound,
|
|
63
|
+
z.ZodTypeDef,
|
|
64
|
+
NodeUpgradeStatus
|
|
65
|
+
> = z.object({
|
|
66
|
+
active: NodeActiveUpgradeStatus$outboundSchema.optional(),
|
|
67
|
+
failed: NodeFailedUpgradeStatus$outboundSchema.optional(),
|
|
68
|
+
skipped: NodeSkippedUpgradeStatus$outboundSchema.optional(),
|
|
69
|
+
state: NodeUpgradeState$outboundSchema,
|
|
70
|
+
timestamp: z.number(),
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
+
*/
|
|
77
|
+
export namespace NodeUpgradeStatus$ {
|
|
78
|
+
/** @deprecated use `NodeUpgradeStatus$inboundSchema` instead. */
|
|
79
|
+
export const inboundSchema = NodeUpgradeStatus$inboundSchema;
|
|
80
|
+
/** @deprecated use `NodeUpgradeStatus$outboundSchema` instead. */
|
|
81
|
+
export const outboundSchema = NodeUpgradeStatus$outboundSchema;
|
|
82
|
+
/** @deprecated use `NodeUpgradeStatus$Outbound` instead. */
|
|
83
|
+
export type Outbound = NodeUpgradeStatus$Outbound;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function nodeUpgradeStatusToJSON(
|
|
87
|
+
nodeUpgradeStatus: NodeUpgradeStatus,
|
|
88
|
+
): string {
|
|
89
|
+
return JSON.stringify(
|
|
90
|
+
NodeUpgradeStatus$outboundSchema.parse(nodeUpgradeStatus),
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function nodeUpgradeStatusFromJSON(
|
|
95
|
+
jsonString: string,
|
|
96
|
+
): SafeParseResult<NodeUpgradeStatus, SDKValidationError> {
|
|
97
|
+
return safeParse(
|
|
98
|
+
jsonString,
|
|
99
|
+
(x) => NodeUpgradeStatus$inboundSchema.parse(JSON.parse(x)),
|
|
100
|
+
`Failed to parse 'NodeUpgradeStatus' from JSON`,
|
|
101
|
+
);
|
|
102
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import * as models from "../index.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Cribl Product
|
|
15
|
+
*/
|
|
16
|
+
export const CreateProductsGroupsByProductProduct = {
|
|
17
|
+
Stream: "stream",
|
|
18
|
+
Edge: "edge",
|
|
19
|
+
} as const;
|
|
20
|
+
/**
|
|
21
|
+
* Cribl Product
|
|
22
|
+
*/
|
|
23
|
+
export type CreateProductsGroupsByProductProduct = ClosedEnum<
|
|
24
|
+
typeof CreateProductsGroupsByProductProduct
|
|
25
|
+
>;
|
|
26
|
+
|
|
27
|
+
export type CreateProductsGroupsByProductRequest = {
|
|
28
|
+
/**
|
|
29
|
+
* Cribl Product
|
|
30
|
+
*/
|
|
31
|
+
product: CreateProductsGroupsByProductProduct;
|
|
32
|
+
/**
|
|
33
|
+
* ConfigGroup object
|
|
34
|
+
*/
|
|
35
|
+
configGroup: models.ConfigGroup;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* a list of ConfigGroup objects
|
|
40
|
+
*/
|
|
41
|
+
export type CreateProductsGroupsByProductResponse = {
|
|
42
|
+
/**
|
|
43
|
+
* number of items present in the items array
|
|
44
|
+
*/
|
|
45
|
+
count?: number | undefined;
|
|
46
|
+
items?: Array<models.ConfigGroup> | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const CreateProductsGroupsByProductProduct$inboundSchema:
|
|
51
|
+
z.ZodNativeEnum<typeof CreateProductsGroupsByProductProduct> = z.nativeEnum(
|
|
52
|
+
CreateProductsGroupsByProductProduct,
|
|
53
|
+
);
|
|
54
|
+
|
|
55
|
+
/** @internal */
|
|
56
|
+
export const CreateProductsGroupsByProductProduct$outboundSchema:
|
|
57
|
+
z.ZodNativeEnum<typeof CreateProductsGroupsByProductProduct> =
|
|
58
|
+
CreateProductsGroupsByProductProduct$inboundSchema;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export namespace CreateProductsGroupsByProductProduct$ {
|
|
65
|
+
/** @deprecated use `CreateProductsGroupsByProductProduct$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema =
|
|
67
|
+
CreateProductsGroupsByProductProduct$inboundSchema;
|
|
68
|
+
/** @deprecated use `CreateProductsGroupsByProductProduct$outboundSchema` instead. */
|
|
69
|
+
export const outboundSchema =
|
|
70
|
+
CreateProductsGroupsByProductProduct$outboundSchema;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const CreateProductsGroupsByProductRequest$inboundSchema: z.ZodType<
|
|
75
|
+
CreateProductsGroupsByProductRequest,
|
|
76
|
+
z.ZodTypeDef,
|
|
77
|
+
unknown
|
|
78
|
+
> = z.object({
|
|
79
|
+
product: CreateProductsGroupsByProductProduct$inboundSchema,
|
|
80
|
+
ConfigGroup: models.ConfigGroup$inboundSchema,
|
|
81
|
+
}).transform((v) => {
|
|
82
|
+
return remap$(v, {
|
|
83
|
+
"ConfigGroup": "configGroup",
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export type CreateProductsGroupsByProductRequest$Outbound = {
|
|
89
|
+
product: string;
|
|
90
|
+
ConfigGroup: models.ConfigGroup$Outbound;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const CreateProductsGroupsByProductRequest$outboundSchema: z.ZodType<
|
|
95
|
+
CreateProductsGroupsByProductRequest$Outbound,
|
|
96
|
+
z.ZodTypeDef,
|
|
97
|
+
CreateProductsGroupsByProductRequest
|
|
98
|
+
> = z.object({
|
|
99
|
+
product: CreateProductsGroupsByProductProduct$outboundSchema,
|
|
100
|
+
configGroup: models.ConfigGroup$outboundSchema,
|
|
101
|
+
}).transform((v) => {
|
|
102
|
+
return remap$(v, {
|
|
103
|
+
configGroup: "ConfigGroup",
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
+
*/
|
|
111
|
+
export namespace CreateProductsGroupsByProductRequest$ {
|
|
112
|
+
/** @deprecated use `CreateProductsGroupsByProductRequest$inboundSchema` instead. */
|
|
113
|
+
export const inboundSchema =
|
|
114
|
+
CreateProductsGroupsByProductRequest$inboundSchema;
|
|
115
|
+
/** @deprecated use `CreateProductsGroupsByProductRequest$outboundSchema` instead. */
|
|
116
|
+
export const outboundSchema =
|
|
117
|
+
CreateProductsGroupsByProductRequest$outboundSchema;
|
|
118
|
+
/** @deprecated use `CreateProductsGroupsByProductRequest$Outbound` instead. */
|
|
119
|
+
export type Outbound = CreateProductsGroupsByProductRequest$Outbound;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function createProductsGroupsByProductRequestToJSON(
|
|
123
|
+
createProductsGroupsByProductRequest: CreateProductsGroupsByProductRequest,
|
|
124
|
+
): string {
|
|
125
|
+
return JSON.stringify(
|
|
126
|
+
CreateProductsGroupsByProductRequest$outboundSchema.parse(
|
|
127
|
+
createProductsGroupsByProductRequest,
|
|
128
|
+
),
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function createProductsGroupsByProductRequestFromJSON(
|
|
133
|
+
jsonString: string,
|
|
134
|
+
): SafeParseResult<CreateProductsGroupsByProductRequest, SDKValidationError> {
|
|
135
|
+
return safeParse(
|
|
136
|
+
jsonString,
|
|
137
|
+
(x) =>
|
|
138
|
+
CreateProductsGroupsByProductRequest$inboundSchema.parse(JSON.parse(x)),
|
|
139
|
+
`Failed to parse 'CreateProductsGroupsByProductRequest' from JSON`,
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** @internal */
|
|
144
|
+
export const CreateProductsGroupsByProductResponse$inboundSchema: z.ZodType<
|
|
145
|
+
CreateProductsGroupsByProductResponse,
|
|
146
|
+
z.ZodTypeDef,
|
|
147
|
+
unknown
|
|
148
|
+
> = z.object({
|
|
149
|
+
count: z.number().int().optional(),
|
|
150
|
+
items: z.array(models.ConfigGroup$inboundSchema).optional(),
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
/** @internal */
|
|
154
|
+
export type CreateProductsGroupsByProductResponse$Outbound = {
|
|
155
|
+
count?: number | undefined;
|
|
156
|
+
items?: Array<models.ConfigGroup$Outbound> | undefined;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
/** @internal */
|
|
160
|
+
export const CreateProductsGroupsByProductResponse$outboundSchema: z.ZodType<
|
|
161
|
+
CreateProductsGroupsByProductResponse$Outbound,
|
|
162
|
+
z.ZodTypeDef,
|
|
163
|
+
CreateProductsGroupsByProductResponse
|
|
164
|
+
> = z.object({
|
|
165
|
+
count: z.number().int().optional(),
|
|
166
|
+
items: z.array(models.ConfigGroup$outboundSchema).optional(),
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @internal
|
|
171
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
172
|
+
*/
|
|
173
|
+
export namespace CreateProductsGroupsByProductResponse$ {
|
|
174
|
+
/** @deprecated use `CreateProductsGroupsByProductResponse$inboundSchema` instead. */
|
|
175
|
+
export const inboundSchema =
|
|
176
|
+
CreateProductsGroupsByProductResponse$inboundSchema;
|
|
177
|
+
/** @deprecated use `CreateProductsGroupsByProductResponse$outboundSchema` instead. */
|
|
178
|
+
export const outboundSchema =
|
|
179
|
+
CreateProductsGroupsByProductResponse$outboundSchema;
|
|
180
|
+
/** @deprecated use `CreateProductsGroupsByProductResponse$Outbound` instead. */
|
|
181
|
+
export type Outbound = CreateProductsGroupsByProductResponse$Outbound;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export function createProductsGroupsByProductResponseToJSON(
|
|
185
|
+
createProductsGroupsByProductResponse: CreateProductsGroupsByProductResponse,
|
|
186
|
+
): string {
|
|
187
|
+
return JSON.stringify(
|
|
188
|
+
CreateProductsGroupsByProductResponse$outboundSchema.parse(
|
|
189
|
+
createProductsGroupsByProductResponse,
|
|
190
|
+
),
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export function createProductsGroupsByProductResponseFromJSON(
|
|
195
|
+
jsonString: string,
|
|
196
|
+
): SafeParseResult<CreateProductsGroupsByProductResponse, SDKValidationError> {
|
|
197
|
+
return safeParse(
|
|
198
|
+
jsonString,
|
|
199
|
+
(x) =>
|
|
200
|
+
CreateProductsGroupsByProductResponse$inboundSchema.parse(JSON.parse(x)),
|
|
201
|
+
`Failed to parse 'CreateProductsGroupsByProductResponse' from JSON`,
|
|
202
|
+
);
|
|
203
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
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
|
+
* resource type by which to filter access levels
|
|
14
|
+
*/
|
|
15
|
+
export const GetGroupsAclByIdType = {
|
|
16
|
+
Groups: "groups",
|
|
17
|
+
Datasets: "datasets",
|
|
18
|
+
DatasetProviders: "dataset-providers",
|
|
19
|
+
Projects: "projects",
|
|
20
|
+
Dashboards: "dashboards",
|
|
21
|
+
Macros: "macros",
|
|
22
|
+
Notebooks: "notebooks",
|
|
23
|
+
Insights: "insights",
|
|
24
|
+
} as const;
|
|
25
|
+
/**
|
|
26
|
+
* resource type by which to filter access levels
|
|
27
|
+
*/
|
|
28
|
+
export type GetGroupsAclByIdType = ClosedEnum<typeof GetGroupsAclByIdType>;
|
|
29
|
+
|
|
30
|
+
export type GetGroupsAclByIdRequest = {
|
|
31
|
+
/**
|
|
32
|
+
* Group id
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
/**
|
|
36
|
+
* resource type by which to filter access levels
|
|
37
|
+
*/
|
|
38
|
+
type?: GetGroupsAclByIdType | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* a list of UserAccessControlList objects
|
|
43
|
+
*/
|
|
44
|
+
export type GetGroupsAclByIdResponse = {
|
|
45
|
+
/**
|
|
46
|
+
* number of items present in the items array
|
|
47
|
+
*/
|
|
48
|
+
count?: number | undefined;
|
|
49
|
+
items?: Array<models.UserAccessControlList> | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const GetGroupsAclByIdType$inboundSchema: z.ZodNativeEnum<
|
|
54
|
+
typeof GetGroupsAclByIdType
|
|
55
|
+
> = z.nativeEnum(GetGroupsAclByIdType);
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const GetGroupsAclByIdType$outboundSchema: z.ZodNativeEnum<
|
|
59
|
+
typeof GetGroupsAclByIdType
|
|
60
|
+
> = GetGroupsAclByIdType$inboundSchema;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export namespace GetGroupsAclByIdType$ {
|
|
67
|
+
/** @deprecated use `GetGroupsAclByIdType$inboundSchema` instead. */
|
|
68
|
+
export const inboundSchema = GetGroupsAclByIdType$inboundSchema;
|
|
69
|
+
/** @deprecated use `GetGroupsAclByIdType$outboundSchema` instead. */
|
|
70
|
+
export const outboundSchema = GetGroupsAclByIdType$outboundSchema;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const GetGroupsAclByIdRequest$inboundSchema: z.ZodType<
|
|
75
|
+
GetGroupsAclByIdRequest,
|
|
76
|
+
z.ZodTypeDef,
|
|
77
|
+
unknown
|
|
78
|
+
> = z.object({
|
|
79
|
+
id: z.string(),
|
|
80
|
+
type: GetGroupsAclByIdType$inboundSchema.optional(),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export type GetGroupsAclByIdRequest$Outbound = {
|
|
85
|
+
id: string;
|
|
86
|
+
type?: string | undefined;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/** @internal */
|
|
90
|
+
export const GetGroupsAclByIdRequest$outboundSchema: z.ZodType<
|
|
91
|
+
GetGroupsAclByIdRequest$Outbound,
|
|
92
|
+
z.ZodTypeDef,
|
|
93
|
+
GetGroupsAclByIdRequest
|
|
94
|
+
> = z.object({
|
|
95
|
+
id: z.string(),
|
|
96
|
+
type: GetGroupsAclByIdType$outboundSchema.optional(),
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
+
*/
|
|
103
|
+
export namespace GetGroupsAclByIdRequest$ {
|
|
104
|
+
/** @deprecated use `GetGroupsAclByIdRequest$inboundSchema` instead. */
|
|
105
|
+
export const inboundSchema = GetGroupsAclByIdRequest$inboundSchema;
|
|
106
|
+
/** @deprecated use `GetGroupsAclByIdRequest$outboundSchema` instead. */
|
|
107
|
+
export const outboundSchema = GetGroupsAclByIdRequest$outboundSchema;
|
|
108
|
+
/** @deprecated use `GetGroupsAclByIdRequest$Outbound` instead. */
|
|
109
|
+
export type Outbound = GetGroupsAclByIdRequest$Outbound;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function getGroupsAclByIdRequestToJSON(
|
|
113
|
+
getGroupsAclByIdRequest: GetGroupsAclByIdRequest,
|
|
114
|
+
): string {
|
|
115
|
+
return JSON.stringify(
|
|
116
|
+
GetGroupsAclByIdRequest$outboundSchema.parse(getGroupsAclByIdRequest),
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function getGroupsAclByIdRequestFromJSON(
|
|
121
|
+
jsonString: string,
|
|
122
|
+
): SafeParseResult<GetGroupsAclByIdRequest, SDKValidationError> {
|
|
123
|
+
return safeParse(
|
|
124
|
+
jsonString,
|
|
125
|
+
(x) => GetGroupsAclByIdRequest$inboundSchema.parse(JSON.parse(x)),
|
|
126
|
+
`Failed to parse 'GetGroupsAclByIdRequest' from JSON`,
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/** @internal */
|
|
131
|
+
export const GetGroupsAclByIdResponse$inboundSchema: z.ZodType<
|
|
132
|
+
GetGroupsAclByIdResponse,
|
|
133
|
+
z.ZodTypeDef,
|
|
134
|
+
unknown
|
|
135
|
+
> = z.object({
|
|
136
|
+
count: z.number().int().optional(),
|
|
137
|
+
items: z.array(models.UserAccessControlList$inboundSchema).optional(),
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
/** @internal */
|
|
141
|
+
export type GetGroupsAclByIdResponse$Outbound = {
|
|
142
|
+
count?: number | undefined;
|
|
143
|
+
items?: Array<models.UserAccessControlList$Outbound> | undefined;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/** @internal */
|
|
147
|
+
export const GetGroupsAclByIdResponse$outboundSchema: z.ZodType<
|
|
148
|
+
GetGroupsAclByIdResponse$Outbound,
|
|
149
|
+
z.ZodTypeDef,
|
|
150
|
+
GetGroupsAclByIdResponse
|
|
151
|
+
> = z.object({
|
|
152
|
+
count: z.number().int().optional(),
|
|
153
|
+
items: z.array(models.UserAccessControlList$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 GetGroupsAclByIdResponse$ {
|
|
161
|
+
/** @deprecated use `GetGroupsAclByIdResponse$inboundSchema` instead. */
|
|
162
|
+
export const inboundSchema = GetGroupsAclByIdResponse$inboundSchema;
|
|
163
|
+
/** @deprecated use `GetGroupsAclByIdResponse$outboundSchema` instead. */
|
|
164
|
+
export const outboundSchema = GetGroupsAclByIdResponse$outboundSchema;
|
|
165
|
+
/** @deprecated use `GetGroupsAclByIdResponse$Outbound` instead. */
|
|
166
|
+
export type Outbound = GetGroupsAclByIdResponse$Outbound;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function getGroupsAclByIdResponseToJSON(
|
|
170
|
+
getGroupsAclByIdResponse: GetGroupsAclByIdResponse,
|
|
171
|
+
): string {
|
|
172
|
+
return JSON.stringify(
|
|
173
|
+
GetGroupsAclByIdResponse$outboundSchema.parse(getGroupsAclByIdResponse),
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export function getGroupsAclByIdResponseFromJSON(
|
|
178
|
+
jsonString: string,
|
|
179
|
+
): SafeParseResult<GetGroupsAclByIdResponse, SDKValidationError> {
|
|
180
|
+
return safeParse(
|
|
181
|
+
jsonString,
|
|
182
|
+
(x) => GetGroupsAclByIdResponse$inboundSchema.parse(JSON.parse(x)),
|
|
183
|
+
`Failed to parse 'GetGroupsAclByIdResponse' from JSON`,
|
|
184
|
+
);
|
|
185
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
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
|
+
import * as models from "../index.js";
|
|
10
|
+
|
|
11
|
+
export type GetGroupsByIdRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Group id
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* fields to add to results: git.commit, git.localChanges, git.log
|
|
18
|
+
*/
|
|
19
|
+
fields?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* a list of ConfigGroup objects
|
|
24
|
+
*/
|
|
25
|
+
export type GetGroupsByIdResponse = {
|
|
26
|
+
/**
|
|
27
|
+
* number of items present in the items array
|
|
28
|
+
*/
|
|
29
|
+
count?: number | undefined;
|
|
30
|
+
items?: Array<models.ConfigGroup> | undefined;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const GetGroupsByIdRequest$inboundSchema: z.ZodType<
|
|
35
|
+
GetGroupsByIdRequest,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
id: z.string(),
|
|
40
|
+
fields: z.string().optional(),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type GetGroupsByIdRequest$Outbound = {
|
|
45
|
+
id: string;
|
|
46
|
+
fields?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const GetGroupsByIdRequest$outboundSchema: z.ZodType<
|
|
51
|
+
GetGroupsByIdRequest$Outbound,
|
|
52
|
+
z.ZodTypeDef,
|
|
53
|
+
GetGroupsByIdRequest
|
|
54
|
+
> = z.object({
|
|
55
|
+
id: z.string(),
|
|
56
|
+
fields: z.string().optional(),
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
export namespace GetGroupsByIdRequest$ {
|
|
64
|
+
/** @deprecated use `GetGroupsByIdRequest$inboundSchema` instead. */
|
|
65
|
+
export const inboundSchema = GetGroupsByIdRequest$inboundSchema;
|
|
66
|
+
/** @deprecated use `GetGroupsByIdRequest$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema = GetGroupsByIdRequest$outboundSchema;
|
|
68
|
+
/** @deprecated use `GetGroupsByIdRequest$Outbound` instead. */
|
|
69
|
+
export type Outbound = GetGroupsByIdRequest$Outbound;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function getGroupsByIdRequestToJSON(
|
|
73
|
+
getGroupsByIdRequest: GetGroupsByIdRequest,
|
|
74
|
+
): string {
|
|
75
|
+
return JSON.stringify(
|
|
76
|
+
GetGroupsByIdRequest$outboundSchema.parse(getGroupsByIdRequest),
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function getGroupsByIdRequestFromJSON(
|
|
81
|
+
jsonString: string,
|
|
82
|
+
): SafeParseResult<GetGroupsByIdRequest, SDKValidationError> {
|
|
83
|
+
return safeParse(
|
|
84
|
+
jsonString,
|
|
85
|
+
(x) => GetGroupsByIdRequest$inboundSchema.parse(JSON.parse(x)),
|
|
86
|
+
`Failed to parse 'GetGroupsByIdRequest' from JSON`,
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/** @internal */
|
|
91
|
+
export const GetGroupsByIdResponse$inboundSchema: z.ZodType<
|
|
92
|
+
GetGroupsByIdResponse,
|
|
93
|
+
z.ZodTypeDef,
|
|
94
|
+
unknown
|
|
95
|
+
> = z.object({
|
|
96
|
+
count: z.number().int().optional(),
|
|
97
|
+
items: z.array(models.ConfigGroup$inboundSchema).optional(),
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export type GetGroupsByIdResponse$Outbound = {
|
|
102
|
+
count?: number | undefined;
|
|
103
|
+
items?: Array<models.ConfigGroup$Outbound> | undefined;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/** @internal */
|
|
107
|
+
export const GetGroupsByIdResponse$outboundSchema: z.ZodType<
|
|
108
|
+
GetGroupsByIdResponse$Outbound,
|
|
109
|
+
z.ZodTypeDef,
|
|
110
|
+
GetGroupsByIdResponse
|
|
111
|
+
> = z.object({
|
|
112
|
+
count: z.number().int().optional(),
|
|
113
|
+
items: z.array(models.ConfigGroup$outboundSchema).optional(),
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
119
|
+
*/
|
|
120
|
+
export namespace GetGroupsByIdResponse$ {
|
|
121
|
+
/** @deprecated use `GetGroupsByIdResponse$inboundSchema` instead. */
|
|
122
|
+
export const inboundSchema = GetGroupsByIdResponse$inboundSchema;
|
|
123
|
+
/** @deprecated use `GetGroupsByIdResponse$outboundSchema` instead. */
|
|
124
|
+
export const outboundSchema = GetGroupsByIdResponse$outboundSchema;
|
|
125
|
+
/** @deprecated use `GetGroupsByIdResponse$Outbound` instead. */
|
|
126
|
+
export type Outbound = GetGroupsByIdResponse$Outbound;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function getGroupsByIdResponseToJSON(
|
|
130
|
+
getGroupsByIdResponse: GetGroupsByIdResponse,
|
|
131
|
+
): string {
|
|
132
|
+
return JSON.stringify(
|
|
133
|
+
GetGroupsByIdResponse$outboundSchema.parse(getGroupsByIdResponse),
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function getGroupsByIdResponseFromJSON(
|
|
138
|
+
jsonString: string,
|
|
139
|
+
): SafeParseResult<GetGroupsByIdResponse, SDKValidationError> {
|
|
140
|
+
return safeParse(
|
|
141
|
+
jsonString,
|
|
142
|
+
(x) => GetGroupsByIdResponse$inboundSchema.parse(JSON.parse(x)),
|
|
143
|
+
`Failed to parse 'GetGroupsByIdResponse' from JSON`,
|
|
144
|
+
);
|
|
145
|
+
}
|