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,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
|
+
}
|