@ohos-ports/redhat-cloud-services-host-inventory-client 0.0.0-stage → 8.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ApiGroupCreateGroup/index.d.ts +23 -0
- package/ApiGroupCreateGroup/index.d.ts.map +1 -0
- package/ApiGroupCreateGroup/index.js +65 -0
- package/ApiGroupCreateGroup/index.js.map +1 -0
- package/ApiGroupDeleteGroups/index.d.ts +22 -0
- package/ApiGroupDeleteGroups/index.d.ts.map +1 -0
- package/ApiGroupDeleteGroups/index.js +59 -0
- package/ApiGroupDeleteGroups/index.js.map +1 -0
- package/ApiGroupDeleteHostsFromDifferentGroups/index.d.ts +22 -0
- package/ApiGroupDeleteHostsFromDifferentGroups/index.d.ts.map +1 -0
- package/ApiGroupDeleteHostsFromDifferentGroups/index.js +59 -0
- package/ApiGroupDeleteHostsFromDifferentGroups/index.js.map +1 -0
- package/ApiGroupGetGroupList/index.d.ts +73 -0
- package/ApiGroupGetGroupList/index.d.ts.map +1 -0
- package/ApiGroupGetGroupList/index.js +94 -0
- package/ApiGroupGetGroupList/index.js.map +1 -0
- package/ApiGroupGetGroupsById/index.d.ts +57 -0
- package/ApiGroupGetGroupsById/index.d.ts.map +1 -0
- package/ApiGroupGetGroupsById/index.js +80 -0
- package/ApiGroupGetGroupsById/index.js.map +1 -0
- package/ApiGroupPatchGroupById/index.d.ts +29 -0
- package/ApiGroupPatchGroupById/index.d.ts.map +1 -0
- package/ApiGroupPatchGroupById/index.js +61 -0
- package/ApiGroupPatchGroupById/index.js.map +1 -0
- package/ApiHostDeleteAllHosts/index.d.ts +22 -0
- package/ApiHostDeleteAllHosts/index.d.ts.map +1 -0
- package/ApiHostDeleteAllHosts/index.js +61 -0
- package/ApiHostDeleteAllHosts/index.js.map +1 -0
- package/ApiHostDeleteHostById/index.d.ts +28 -0
- package/ApiHostDeleteHostById/index.d.ts.map +1 -0
- package/ApiHostDeleteHostById/index.js +62 -0
- package/ApiHostDeleteHostById/index.js.map +1 -0
- package/ApiHostDeleteHostsByFilter/index.d.ts +195 -0
- package/ApiHostDeleteHostsByFilter/index.d.ts.map +1 -0
- package/ApiHostDeleteHostsByFilter/index.js +177 -0
- package/ApiHostDeleteHostsByFilter/index.js.map +1 -0
- package/ApiHostGetHostById/index.d.ts +75 -0
- package/ApiHostGetHostById/index.d.ts.map +1 -0
- package/ApiHostGetHostById/index.js +88 -0
- package/ApiHostGetHostById/index.js.map +1 -0
- package/ApiHostGetHostExists/index.d.ts +29 -0
- package/ApiHostGetHostExists/index.d.ts.map +1 -0
- package/ApiHostGetHostExists/index.js +64 -0
- package/ApiHostGetHostExists/index.js.map +1 -0
- package/ApiHostGetHostList/index.d.ts +254 -0
- package/ApiHostGetHostList/index.d.ts.map +1 -0
- package/ApiHostGetHostList/index.js +209 -0
- package/ApiHostGetHostList/index.js.map +1 -0
- package/ApiHostGetHostSystemProfileById/index.d.ts +75 -0
- package/ApiHostGetHostSystemProfileById/index.d.ts.map +1 -0
- package/ApiHostGetHostSystemProfileById/index.js +88 -0
- package/ApiHostGetHostSystemProfileById/index.js.map +1 -0
- package/ApiHostGetHostTagCount/index.d.ts +58 -0
- package/ApiHostGetHostTagCount/index.d.ts.map +1 -0
- package/ApiHostGetHostTagCount/index.js +81 -0
- package/ApiHostGetHostTagCount/index.js.map +1 -0
- package/ApiHostGetHostTags/index.d.ts +64 -0
- package/ApiHostGetHostTags/index.d.ts.map +1 -0
- package/ApiHostGetHostTags/index.js +84 -0
- package/ApiHostGetHostTags/index.js.map +1 -0
- package/ApiHostGroupAddHostListToGroup/index.d.ts +29 -0
- package/ApiHostGroupAddHostListToGroup/index.d.ts.map +1 -0
- package/ApiHostGroupAddHostListToGroup/index.js +61 -0
- package/ApiHostGroupAddHostListToGroup/index.js.map +1 -0
- package/ApiHostGroupDeleteHostsFromGroup/index.d.ts +28 -0
- package/ApiHostGroupDeleteHostsFromGroup/index.d.ts.map +1 -0
- package/ApiHostGroupDeleteHostsFromGroup/index.js +60 -0
- package/ApiHostGroupDeleteHostsFromGroup/index.js.map +1 -0
- package/ApiHostGroupGetHostListByGroup/index.d.ts +152 -0
- package/ApiHostGroupGetHostListByGroup/index.d.ts.map +1 -0
- package/ApiHostGroupGetHostListByGroup/index.js +138 -0
- package/ApiHostGroupGetHostListByGroup/index.js.map +1 -0
- package/ApiHostHostCheckin/index.d.ts +29 -0
- package/ApiHostHostCheckin/index.d.ts.map +1 -0
- package/ApiHostHostCheckin/index.js +68 -0
- package/ApiHostHostCheckin/index.js.map +1 -0
- package/ApiHostMergeFacts/index.d.ts +40 -0
- package/ApiHostMergeFacts/index.d.ts.map +1 -0
- package/ApiHostMergeFacts/index.js +65 -0
- package/ApiHostMergeFacts/index.js.map +1 -0
- package/ApiHostPatchHostById/index.d.ts +35 -0
- package/ApiHostPatchHostById/index.d.ts.map +1 -0
- package/ApiHostPatchHostById/index.js +64 -0
- package/ApiHostPatchHostById/index.js.map +1 -0
- package/ApiHostReplaceFacts/index.d.ts +40 -0
- package/ApiHostReplaceFacts/index.d.ts.map +1 -0
- package/ApiHostReplaceFacts/index.js +65 -0
- package/ApiHostReplaceFacts/index.js.map +1 -0
- package/ApiHostViewsGetHostViews/index.d.ts +413 -0
- package/ApiHostViewsGetHostViews/index.d.ts.map +1 -0
- package/ApiHostViewsGetHostViews/index.js +347 -0
- package/ApiHostViewsGetHostViews/index.js.map +1 -0
- package/ApiResourceTypeGetResourceTypeGroupsList/index.d.ts +35 -0
- package/ApiResourceTypeGetResourceTypeGroupsList/index.d.ts.map +1 -0
- package/ApiResourceTypeGetResourceTypeGroupsList/index.js +67 -0
- package/ApiResourceTypeGetResourceTypeGroupsList/index.js.map +1 -0
- package/ApiResourceTypeGetResourceTypeList/index.d.ts +29 -0
- package/ApiResourceTypeGetResourceTypeList/index.d.ts.map +1 -0
- package/ApiResourceTypeGetResourceTypeList/index.js +64 -0
- package/ApiResourceTypeGetResourceTypeList/index.js.map +1 -0
- package/ApiStalenessCreateStaleness/index.d.ts +23 -0
- package/ApiStalenessCreateStaleness/index.d.ts.map +1 -0
- package/ApiStalenessCreateStaleness/index.js +65 -0
- package/ApiStalenessCreateStaleness/index.js.map +1 -0
- package/ApiStalenessDeleteStaleness/index.d.ts +16 -0
- package/ApiStalenessDeleteStaleness/index.d.ts.map +1 -0
- package/ApiStalenessDeleteStaleness/index.js +63 -0
- package/ApiStalenessDeleteStaleness/index.js.map +1 -0
- package/ApiStalenessGetDefaultStaleness/index.d.ts +17 -0
- package/ApiStalenessGetDefaultStaleness/index.d.ts.map +1 -0
- package/ApiStalenessGetDefaultStaleness/index.js +63 -0
- package/ApiStalenessGetDefaultStaleness/index.js.map +1 -0
- package/ApiStalenessGetStaleness/index.d.ts +17 -0
- package/ApiStalenessGetStaleness/index.d.ts.map +1 -0
- package/ApiStalenessGetStaleness/index.js +63 -0
- package/ApiStalenessGetStaleness/index.js.map +1 -0
- package/ApiStalenessUpdateStaleness/index.d.ts +23 -0
- package/ApiStalenessUpdateStaleness/index.d.ts.map +1 -0
- package/ApiStalenessUpdateStaleness/index.js +65 -0
- package/ApiStalenessUpdateStaleness/index.js.map +1 -0
- package/ApiSystemProfileGetOperatingSystem/index.d.ts +88 -0
- package/ApiSystemProfileGetOperatingSystem/index.d.ts.map +1 -0
- package/ApiSystemProfileGetOperatingSystem/index.js +105 -0
- package/ApiSystemProfileGetOperatingSystem/index.js.map +1 -0
- package/ApiSystemProfileGetSapSids/index.d.ts +94 -0
- package/ApiSystemProfileGetSapSids/index.d.ts.map +1 -0
- package/ApiSystemProfileGetSapSids/index.js +108 -0
- package/ApiSystemProfileGetSapSids/index.js.map +1 -0
- package/ApiSystemProfileGetSapSystem/index.d.ts +88 -0
- package/ApiSystemProfileGetSapSystem/index.d.ts.map +1 -0
- package/ApiSystemProfileGetSapSystem/index.js +105 -0
- package/ApiSystemProfileGetSapSystem/index.js.map +1 -0
- package/ApiSystemProfileValidateSchema/index.d.ts +40 -0
- package/ApiSystemProfileValidateSchema/index.d.ts.map +1 -0
- package/ApiSystemProfileValidateSchema/index.js +70 -0
- package/ApiSystemProfileValidateSchema/index.js.map +1 -0
- package/ApiTagGetTags/index.d.ts +229 -0
- package/ApiTagGetTags/index.d.ts.map +1 -0
- package/ApiTagGetTags/index.js +197 -0
- package/ApiTagGetTags/index.js.map +1 -0
- package/ApiViewsCloneView/index.d.ts +23 -0
- package/ApiViewsCloneView/index.d.ts.map +1 -0
- package/ApiViewsCloneView/index.js +59 -0
- package/ApiViewsCloneView/index.js.map +1 -0
- package/ApiViewsCreateView/index.d.ts +23 -0
- package/ApiViewsCreateView/index.d.ts.map +1 -0
- package/ApiViewsCreateView/index.js +60 -0
- package/ApiViewsCreateView/index.js.map +1 -0
- package/ApiViewsDeleteDefaultView/index.d.ts +16 -0
- package/ApiViewsDeleteDefaultView/index.d.ts.map +1 -0
- package/ApiViewsDeleteDefaultView/index.js +58 -0
- package/ApiViewsDeleteDefaultView/index.js.map +1 -0
- package/ApiViewsDeleteView/index.d.ts +22 -0
- package/ApiViewsDeleteView/index.d.ts.map +1 -0
- package/ApiViewsDeleteView/index.js +59 -0
- package/ApiViewsDeleteView/index.js.map +1 -0
- package/ApiViewsGetViewById/index.d.ts +23 -0
- package/ApiViewsGetViewById/index.d.ts.map +1 -0
- package/ApiViewsGetViewById/index.js +59 -0
- package/ApiViewsGetViewById/index.js.map +1 -0
- package/ApiViewsGetViewsList/index.d.ts +29 -0
- package/ApiViewsGetViewsList/index.d.ts.map +1 -0
- package/ApiViewsGetViewsList/index.js +64 -0
- package/ApiViewsGetViewsList/index.js.map +1 -0
- package/ApiViewsPatchView/index.d.ts +29 -0
- package/ApiViewsPatchView/index.d.ts.map +1 -0
- package/ApiViewsPatchView/index.js +61 -0
- package/ApiViewsPatchView/index.js.map +1 -0
- package/ApiViewsSetDefaultView/index.d.ts +23 -0
- package/ApiViewsSetDefaultView/index.d.ts.map +1 -0
- package/ApiViewsSetDefaultView/index.js +60 -0
- package/ApiViewsSetDefaultView/index.js.map +1 -0
- package/api.d.ts +116 -0
- package/api.d.ts.map +1 -0
- package/api.js +56 -0
- package/api.js.map +1 -0
- package/esm/ApiGroupCreateGroup/index.d.ts +23 -0
- package/esm/ApiGroupCreateGroup/index.d.ts.map +1 -0
- package/esm/ApiGroupCreateGroup/index.js +49 -0
- package/esm/ApiGroupCreateGroup/index.js.map +1 -0
- package/esm/ApiGroupDeleteGroups/index.d.ts +22 -0
- package/esm/ApiGroupDeleteGroups/index.d.ts.map +1 -0
- package/esm/ApiGroupDeleteGroups/index.js +43 -0
- package/esm/ApiGroupDeleteGroups/index.js.map +1 -0
- package/esm/ApiGroupDeleteHostsFromDifferentGroups/index.d.ts +22 -0
- package/esm/ApiGroupDeleteHostsFromDifferentGroups/index.d.ts.map +1 -0
- package/esm/ApiGroupDeleteHostsFromDifferentGroups/index.js +43 -0
- package/esm/ApiGroupDeleteHostsFromDifferentGroups/index.js.map +1 -0
- package/esm/ApiGroupGetGroupList/index.d.ts +73 -0
- package/esm/ApiGroupGetGroupList/index.d.ts.map +1 -0
- package/esm/ApiGroupGetGroupList/index.js +78 -0
- package/esm/ApiGroupGetGroupList/index.js.map +1 -0
- package/esm/ApiGroupGetGroupsById/index.d.ts +57 -0
- package/esm/ApiGroupGetGroupsById/index.d.ts.map +1 -0
- package/esm/ApiGroupGetGroupsById/index.js +64 -0
- package/esm/ApiGroupGetGroupsById/index.js.map +1 -0
- package/esm/ApiGroupPatchGroupById/index.d.ts +29 -0
- package/esm/ApiGroupPatchGroupById/index.d.ts.map +1 -0
- package/esm/ApiGroupPatchGroupById/index.js +45 -0
- package/esm/ApiGroupPatchGroupById/index.js.map +1 -0
- package/esm/ApiHostDeleteAllHosts/index.d.ts +22 -0
- package/esm/ApiHostDeleteAllHosts/index.d.ts.map +1 -0
- package/esm/ApiHostDeleteAllHosts/index.js +45 -0
- package/esm/ApiHostDeleteAllHosts/index.js.map +1 -0
- package/esm/ApiHostDeleteHostById/index.d.ts +28 -0
- package/esm/ApiHostDeleteHostById/index.d.ts.map +1 -0
- package/esm/ApiHostDeleteHostById/index.js +46 -0
- package/esm/ApiHostDeleteHostById/index.js.map +1 -0
- package/esm/ApiHostDeleteHostsByFilter/index.d.ts +195 -0
- package/esm/ApiHostDeleteHostsByFilter/index.d.ts.map +1 -0
- package/esm/ApiHostDeleteHostsByFilter/index.js +161 -0
- package/esm/ApiHostDeleteHostsByFilter/index.js.map +1 -0
- package/esm/ApiHostGetHostById/index.d.ts +75 -0
- package/esm/ApiHostGetHostById/index.d.ts.map +1 -0
- package/esm/ApiHostGetHostById/index.js +72 -0
- package/esm/ApiHostGetHostById/index.js.map +1 -0
- package/esm/ApiHostGetHostExists/index.d.ts +29 -0
- package/esm/ApiHostGetHostExists/index.d.ts.map +1 -0
- package/esm/ApiHostGetHostExists/index.js +48 -0
- package/esm/ApiHostGetHostExists/index.js.map +1 -0
- package/esm/ApiHostGetHostList/index.d.ts +254 -0
- package/esm/ApiHostGetHostList/index.d.ts.map +1 -0
- package/esm/ApiHostGetHostList/index.js +193 -0
- package/esm/ApiHostGetHostList/index.js.map +1 -0
- package/esm/ApiHostGetHostSystemProfileById/index.d.ts +75 -0
- package/esm/ApiHostGetHostSystemProfileById/index.d.ts.map +1 -0
- package/esm/ApiHostGetHostSystemProfileById/index.js +72 -0
- package/esm/ApiHostGetHostSystemProfileById/index.js.map +1 -0
- package/esm/ApiHostGetHostTagCount/index.d.ts +58 -0
- package/esm/ApiHostGetHostTagCount/index.d.ts.map +1 -0
- package/esm/ApiHostGetHostTagCount/index.js +65 -0
- package/esm/ApiHostGetHostTagCount/index.js.map +1 -0
- package/esm/ApiHostGetHostTags/index.d.ts +64 -0
- package/esm/ApiHostGetHostTags/index.d.ts.map +1 -0
- package/esm/ApiHostGetHostTags/index.js +68 -0
- package/esm/ApiHostGetHostTags/index.js.map +1 -0
- package/esm/ApiHostGroupAddHostListToGroup/index.d.ts +29 -0
- package/esm/ApiHostGroupAddHostListToGroup/index.d.ts.map +1 -0
- package/esm/ApiHostGroupAddHostListToGroup/index.js +45 -0
- package/esm/ApiHostGroupAddHostListToGroup/index.js.map +1 -0
- package/esm/ApiHostGroupDeleteHostsFromGroup/index.d.ts +28 -0
- package/esm/ApiHostGroupDeleteHostsFromGroup/index.d.ts.map +1 -0
- package/esm/ApiHostGroupDeleteHostsFromGroup/index.js +44 -0
- package/esm/ApiHostGroupDeleteHostsFromGroup/index.js.map +1 -0
- package/esm/ApiHostGroupGetHostListByGroup/index.d.ts +152 -0
- package/esm/ApiHostGroupGetHostListByGroup/index.d.ts.map +1 -0
- package/esm/ApiHostGroupGetHostListByGroup/index.js +122 -0
- package/esm/ApiHostGroupGetHostListByGroup/index.js.map +1 -0
- package/esm/ApiHostHostCheckin/index.d.ts +29 -0
- package/esm/ApiHostHostCheckin/index.d.ts.map +1 -0
- package/esm/ApiHostHostCheckin/index.js +52 -0
- package/esm/ApiHostHostCheckin/index.js.map +1 -0
- package/esm/ApiHostMergeFacts/index.d.ts +40 -0
- package/esm/ApiHostMergeFacts/index.d.ts.map +1 -0
- package/esm/ApiHostMergeFacts/index.js +49 -0
- package/esm/ApiHostMergeFacts/index.js.map +1 -0
- package/esm/ApiHostPatchHostById/index.d.ts +35 -0
- package/esm/ApiHostPatchHostById/index.d.ts.map +1 -0
- package/esm/ApiHostPatchHostById/index.js +48 -0
- package/esm/ApiHostPatchHostById/index.js.map +1 -0
- package/esm/ApiHostReplaceFacts/index.d.ts +40 -0
- package/esm/ApiHostReplaceFacts/index.d.ts.map +1 -0
- package/esm/ApiHostReplaceFacts/index.js +49 -0
- package/esm/ApiHostReplaceFacts/index.js.map +1 -0
- package/esm/ApiHostViewsGetHostViews/index.d.ts +413 -0
- package/esm/ApiHostViewsGetHostViews/index.d.ts.map +1 -0
- package/esm/ApiHostViewsGetHostViews/index.js +331 -0
- package/esm/ApiHostViewsGetHostViews/index.js.map +1 -0
- package/esm/ApiResourceTypeGetResourceTypeGroupsList/index.d.ts +35 -0
- package/esm/ApiResourceTypeGetResourceTypeGroupsList/index.d.ts.map +1 -0
- package/esm/ApiResourceTypeGetResourceTypeGroupsList/index.js +51 -0
- package/esm/ApiResourceTypeGetResourceTypeGroupsList/index.js.map +1 -0
- package/esm/ApiResourceTypeGetResourceTypeList/index.d.ts +29 -0
- package/esm/ApiResourceTypeGetResourceTypeList/index.d.ts.map +1 -0
- package/esm/ApiResourceTypeGetResourceTypeList/index.js +48 -0
- package/esm/ApiResourceTypeGetResourceTypeList/index.js.map +1 -0
- package/esm/ApiStalenessCreateStaleness/index.d.ts +23 -0
- package/esm/ApiStalenessCreateStaleness/index.d.ts.map +1 -0
- package/esm/ApiStalenessCreateStaleness/index.js +49 -0
- package/esm/ApiStalenessCreateStaleness/index.js.map +1 -0
- package/esm/ApiStalenessDeleteStaleness/index.d.ts +16 -0
- package/esm/ApiStalenessDeleteStaleness/index.d.ts.map +1 -0
- package/esm/ApiStalenessDeleteStaleness/index.js +47 -0
- package/esm/ApiStalenessDeleteStaleness/index.js.map +1 -0
- package/esm/ApiStalenessGetDefaultStaleness/index.d.ts +17 -0
- package/esm/ApiStalenessGetDefaultStaleness/index.d.ts.map +1 -0
- package/esm/ApiStalenessGetDefaultStaleness/index.js +47 -0
- package/esm/ApiStalenessGetDefaultStaleness/index.js.map +1 -0
- package/esm/ApiStalenessGetStaleness/index.d.ts +17 -0
- package/esm/ApiStalenessGetStaleness/index.d.ts.map +1 -0
- package/esm/ApiStalenessGetStaleness/index.js +47 -0
- package/esm/ApiStalenessGetStaleness/index.js.map +1 -0
- package/esm/ApiStalenessUpdateStaleness/index.d.ts +23 -0
- package/esm/ApiStalenessUpdateStaleness/index.d.ts.map +1 -0
- package/esm/ApiStalenessUpdateStaleness/index.js +49 -0
- package/esm/ApiStalenessUpdateStaleness/index.js.map +1 -0
- package/esm/ApiSystemProfileGetOperatingSystem/index.d.ts +88 -0
- package/esm/ApiSystemProfileGetOperatingSystem/index.d.ts.map +1 -0
- package/esm/ApiSystemProfileGetOperatingSystem/index.js +89 -0
- package/esm/ApiSystemProfileGetOperatingSystem/index.js.map +1 -0
- package/esm/ApiSystemProfileGetSapSids/index.d.ts +94 -0
- package/esm/ApiSystemProfileGetSapSids/index.d.ts.map +1 -0
- package/esm/ApiSystemProfileGetSapSids/index.js +92 -0
- package/esm/ApiSystemProfileGetSapSids/index.js.map +1 -0
- package/esm/ApiSystemProfileGetSapSystem/index.d.ts +88 -0
- package/esm/ApiSystemProfileGetSapSystem/index.d.ts.map +1 -0
- package/esm/ApiSystemProfileGetSapSystem/index.js +89 -0
- package/esm/ApiSystemProfileGetSapSystem/index.js.map +1 -0
- package/esm/ApiSystemProfileValidateSchema/index.d.ts +40 -0
- package/esm/ApiSystemProfileValidateSchema/index.d.ts.map +1 -0
- package/esm/ApiSystemProfileValidateSchema/index.js +54 -0
- package/esm/ApiSystemProfileValidateSchema/index.js.map +1 -0
- package/esm/ApiTagGetTags/index.d.ts +229 -0
- package/esm/ApiTagGetTags/index.d.ts.map +1 -0
- package/esm/ApiTagGetTags/index.js +181 -0
- package/esm/ApiTagGetTags/index.js.map +1 -0
- package/esm/ApiViewsCloneView/index.d.ts +23 -0
- package/esm/ApiViewsCloneView/index.d.ts.map +1 -0
- package/esm/ApiViewsCloneView/index.js +43 -0
- package/esm/ApiViewsCloneView/index.js.map +1 -0
- package/esm/ApiViewsCreateView/index.d.ts +23 -0
- package/esm/ApiViewsCreateView/index.d.ts.map +1 -0
- package/esm/ApiViewsCreateView/index.js +44 -0
- package/esm/ApiViewsCreateView/index.js.map +1 -0
- package/esm/ApiViewsDeleteDefaultView/index.d.ts +16 -0
- package/esm/ApiViewsDeleteDefaultView/index.d.ts.map +1 -0
- package/esm/ApiViewsDeleteDefaultView/index.js +42 -0
- package/esm/ApiViewsDeleteDefaultView/index.js.map +1 -0
- package/esm/ApiViewsDeleteView/index.d.ts +22 -0
- package/esm/ApiViewsDeleteView/index.d.ts.map +1 -0
- package/esm/ApiViewsDeleteView/index.js +43 -0
- package/esm/ApiViewsDeleteView/index.js.map +1 -0
- package/esm/ApiViewsGetViewById/index.d.ts +23 -0
- package/esm/ApiViewsGetViewById/index.d.ts.map +1 -0
- package/esm/ApiViewsGetViewById/index.js +43 -0
- package/esm/ApiViewsGetViewById/index.js.map +1 -0
- package/esm/ApiViewsGetViewsList/index.d.ts +29 -0
- package/esm/ApiViewsGetViewsList/index.d.ts.map +1 -0
- package/esm/ApiViewsGetViewsList/index.js +48 -0
- package/esm/ApiViewsGetViewsList/index.js.map +1 -0
- package/esm/ApiViewsPatchView/index.d.ts +29 -0
- package/esm/ApiViewsPatchView/index.d.ts.map +1 -0
- package/esm/ApiViewsPatchView/index.js +45 -0
- package/esm/ApiViewsPatchView/index.js.map +1 -0
- package/esm/ApiViewsSetDefaultView/index.d.ts +23 -0
- package/esm/ApiViewsSetDefaultView/index.d.ts.map +1 -0
- package/esm/ApiViewsSetDefaultView/index.js +44 -0
- package/esm/ApiViewsSetDefaultView/index.js.map +1 -0
- package/esm/api.d.ts +116 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +52 -0
- package/esm/api.js.map +1 -0
- package/esm/index.d.ts +45 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +45 -0
- package/esm/index.js.map +1 -0
- package/esm/types/index.d.ts +3901 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +155 -0
- package/esm/types/index.js.map +1 -0
- package/index.d.ts +45 -0
- package/index.d.ts.map +1 -0
- package/index.js +92 -0
- package/index.js.map +1 -0
- package/package.json +53 -4
- package/types/index.d.ts +3901 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +158 -0
- package/types/index.js.map +1 -0
- package/README.md +0 -3
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
|
|
3
|
+
import type { GroupIn, GroupOutWithHostCount } from '../types';
|
|
4
|
+
export type ApiGroupCreateGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
* Data required to create a record for a group.
|
|
7
|
+
* @type { GroupIn }
|
|
8
|
+
* @memberof ApiGroupCreateGroupApi
|
|
9
|
+
*/
|
|
10
|
+
groupIn: GroupIn;
|
|
11
|
+
options?: AxiosRequestConfig;
|
|
12
|
+
};
|
|
13
|
+
export type ApiGroupCreateGroupReturnType = GroupOutWithHostCount;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a new group containing the hosts associated with the host IDs provided. <br /><br /> Required permissions: inventory:groups:write
|
|
16
|
+
* @summary Create a new group matching the provided name and list of hosts IDs
|
|
17
|
+
* @param {ApiGroupCreateGroupParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
export declare const apiGroupCreateGroupParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupCreateGroupParams] | [GroupIn, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<GroupOutWithHostCount, any, {}, any>>;
|
|
22
|
+
export default apiGroupCreateGroupParamCreator;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupCreateGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAGhF,OAAO,KAAK,EAAE,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAG/D,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;;MAIE;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,qBAAqB,CAAC;AASlE;;;;;;EAME;AACF,eAAO,MAAM,+BAA+B,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,yBAAyB,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC,gFAqClK,CAAA;AAED,eAAe,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.apiGroupCreateGroupParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
|
|
6
|
+
var isApiGroupCreateGroupObjectParams = function (params) {
|
|
7
|
+
var l = params.length === 1;
|
|
8
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
9
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'groupIn');
|
|
10
|
+
}
|
|
11
|
+
return false;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new group containing the hosts associated with the host IDs provided. <br /><br /> Required permissions: inventory:groups:write
|
|
15
|
+
* @summary Create a new group matching the provided name and list of hosts IDs
|
|
16
|
+
* @param {ApiGroupCreateGroupParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
var apiGroupCreateGroupParamCreator = function (sendRequest) {
|
|
21
|
+
var config = [];
|
|
22
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
23
|
+
config[_i - 1] = arguments[_i];
|
|
24
|
+
}
|
|
25
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
26
|
+
var params, groupIn, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
27
|
+
return tslib_1.__generator(this, function (_b) {
|
|
28
|
+
params = isApiGroupCreateGroupObjectParams(config) ? config[0] : ['groupIn', 'options'].reduce(function (acc, curr, index) {
|
|
29
|
+
var _a;
|
|
30
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
31
|
+
}, {});
|
|
32
|
+
groupIn = params.groupIn, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
33
|
+
localVarPath = "/groups";
|
|
34
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'POST' }, options);
|
|
36
|
+
localVarHeaderParameter = {};
|
|
37
|
+
localVarQueryParameter = {};
|
|
38
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
40
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
41
|
+
args = {
|
|
42
|
+
urlObj: localVarUrlObj,
|
|
43
|
+
options: localVarRequestOptions,
|
|
44
|
+
serializeData: groupIn,
|
|
45
|
+
auth: [
|
|
46
|
+
{
|
|
47
|
+
// authentication ApiKeyAuth required
|
|
48
|
+
// in header with key required
|
|
49
|
+
authType: common_1.AuthTypeEnum.InHeader,
|
|
50
|
+
authKey: "x-rh-identity"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
// authentication BearerAuth required
|
|
54
|
+
// bearer auth required
|
|
55
|
+
authType: common_1.AuthTypeEnum.Bearer,
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
};
|
|
59
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
exports.apiGroupCreateGroupParamCreator = apiGroupCreateGroupParamCreator;
|
|
64
|
+
exports.default = exports.apiGroupCreateGroupParamCreator;
|
|
65
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAE7D,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,aAAa,EAAE,OAAO;gBACtB,IAAI,EAAC;oBACL;wBACA,qCAAqC;wBACrC,8BAA8B;wBAC9B,QAAQ,EAAE,qBAAY,CAAC,QAAQ;wBAC/B,OAAO,EAAE,eAAe;qBACvB;oBACD;wBACA,qCAAqC;wBACrC,uBAAuB;wBACvB,QAAQ,EAAE,qBAAY,CAAC,MAAM;qBAC5B;iBACA;aACJ,CAAC;YAEF,sBAAO,WAAW,CAAgC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC5E,CAAA;AArCY,QAAA,+BAA+B,mCAqC3C;AAED,kBAAe,uCAA+B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
|
|
3
|
+
export type ApiGroupDeleteGroupsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* A comma-separated list of group IDs.
|
|
6
|
+
* @type { Array<string> }
|
|
7
|
+
* @memberof ApiGroupDeleteGroupsApi
|
|
8
|
+
*/
|
|
9
|
+
groupIdList: Array<string>;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type ApiGroupDeleteGroupsReturnType = void;
|
|
13
|
+
/**
|
|
14
|
+
* Delete a list of groups. <br /><br /> Required permissions: inventory:groups:write
|
|
15
|
+
* @summary Delete a list of groups
|
|
16
|
+
* @param {ApiGroupDeleteGroupsParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const apiGroupDeleteGroupsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupDeleteGroupsParams] | [Array<string>, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
21
|
+
export default apiGroupDeleteGroupsParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupDeleteGroups/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAMhF,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;;MAIE;IACF,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC;AASlD;;;;;;EAME;AACF,eAAO,MAAM,gCAAgC,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,+DA8B1K,CAAA;AAED,eAAe,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.apiGroupDeleteGroupsParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
|
|
6
|
+
var isApiGroupDeleteGroupsObjectParams = function (params) {
|
|
7
|
+
var l = params.length === 1;
|
|
8
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
9
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'groupIdList');
|
|
10
|
+
}
|
|
11
|
+
return false;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Delete a list of groups. <br /><br /> Required permissions: inventory:groups:write
|
|
15
|
+
* @summary Delete a list of groups
|
|
16
|
+
* @param {ApiGroupDeleteGroupsParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
var apiGroupDeleteGroupsParamCreator = function (sendRequest) {
|
|
21
|
+
var config = [];
|
|
22
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
23
|
+
config[_i - 1] = arguments[_i];
|
|
24
|
+
}
|
|
25
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
26
|
+
var params, groupIdList, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
27
|
+
return tslib_1.__generator(this, function (_b) {
|
|
28
|
+
params = isApiGroupDeleteGroupsObjectParams(config) ? config[0] : ['groupIdList', 'options'].reduce(function (acc, curr, index) {
|
|
29
|
+
var _a;
|
|
30
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
31
|
+
}, {});
|
|
32
|
+
groupIdList = params.groupIdList, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
33
|
+
localVarPath = "/groups/{group_id_list}"
|
|
34
|
+
.replace("{".concat("group_id_list", "}"), encodeURIComponent(String(groupIdList)));
|
|
35
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'DELETE' }, options);
|
|
37
|
+
localVarHeaderParameter = {};
|
|
38
|
+
localVarQueryParameter = {};
|
|
39
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
40
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
41
|
+
args = {
|
|
42
|
+
urlObj: localVarUrlObj,
|
|
43
|
+
options: localVarRequestOptions,
|
|
44
|
+
auth: [
|
|
45
|
+
{
|
|
46
|
+
// authentication ApiKeyAuth required
|
|
47
|
+
// in header with key required
|
|
48
|
+
authType: common_1.AuthTypeEnum.InHeader,
|
|
49
|
+
authKey: "x-rh-identity"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
};
|
|
53
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
exports.apiGroupDeleteGroupsParamCreator = apiGroupDeleteGroupsParamCreator;
|
|
58
|
+
exports.default = exports.apiGroupDeleteGroupsParamCreator;
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupDeleteGroups/index.ts"],"names":[],"mappings":";;;;AACA,kFAA4T;AAoB5T,IAAM,kCAAkC,GAAG,UAAC,MAAgD;IAC1F,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAA;IAC/E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,gCAAgC,GAAG,UAAO,WAAmC;IAAE,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;;;CAC7E,CAAA;AA9BY,QAAA,gCAAgC,oCA8B5C;AAED,kBAAe,wCAAgC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
|
|
3
|
+
export type ApiGroupDeleteHostsFromDifferentGroupsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* A comma-separated list of host IDs.
|
|
6
|
+
* @type { Array<string> }
|
|
7
|
+
* @memberof ApiGroupDeleteHostsFromDifferentGroupsApi
|
|
8
|
+
*/
|
|
9
|
+
hostIdList: Array<string>;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type ApiGroupDeleteHostsFromDifferentGroupsReturnType = void;
|
|
13
|
+
/**
|
|
14
|
+
* Delete a list of hosts from the groups they are in. <br /><br /> Required permissions: inventory:groups:write
|
|
15
|
+
* @summary Delete a list of hosts from the groups they are in
|
|
16
|
+
* @param {ApiGroupDeleteHostsFromDifferentGroupsParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const apiGroupDeleteHostsFromDifferentGroupsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupDeleteHostsFromDifferentGroupsParams] | [Array<string>, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
21
|
+
export default apiGroupDeleteHostsFromDifferentGroupsParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupDeleteHostsFromDifferentGroups/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAMhF,MAAM,MAAM,4CAA4C,GAAG;IACzD;;;;MAIE;IACF,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gDAAgD,GAAG,IAAI,CAAC;AASpE;;;;;;EAME;AACF,eAAO,MAAM,kDAAkD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,4CAA4C,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,+DA8B9M,CAAA;AAED,eAAe,kDAAkD,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.apiGroupDeleteHostsFromDifferentGroupsParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
|
|
6
|
+
var isApiGroupDeleteHostsFromDifferentGroupsObjectParams = function (params) {
|
|
7
|
+
var l = params.length === 1;
|
|
8
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
9
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'hostIdList');
|
|
10
|
+
}
|
|
11
|
+
return false;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Delete a list of hosts from the groups they are in. <br /><br /> Required permissions: inventory:groups:write
|
|
15
|
+
* @summary Delete a list of hosts from the groups they are in
|
|
16
|
+
* @param {ApiGroupDeleteHostsFromDifferentGroupsParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
var apiGroupDeleteHostsFromDifferentGroupsParamCreator = function (sendRequest) {
|
|
21
|
+
var config = [];
|
|
22
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
23
|
+
config[_i - 1] = arguments[_i];
|
|
24
|
+
}
|
|
25
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
26
|
+
var params, hostIdList, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
27
|
+
return tslib_1.__generator(this, function (_b) {
|
|
28
|
+
params = isApiGroupDeleteHostsFromDifferentGroupsObjectParams(config) ? config[0] : ['hostIdList', 'options'].reduce(function (acc, curr, index) {
|
|
29
|
+
var _a;
|
|
30
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
31
|
+
}, {});
|
|
32
|
+
hostIdList = params.hostIdList, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
33
|
+
localVarPath = "/groups/hosts/{host_id_list}"
|
|
34
|
+
.replace("{".concat("host_id_list", "}"), encodeURIComponent(String(hostIdList)));
|
|
35
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'DELETE' }, options);
|
|
37
|
+
localVarHeaderParameter = {};
|
|
38
|
+
localVarQueryParameter = {};
|
|
39
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
40
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
41
|
+
args = {
|
|
42
|
+
urlObj: localVarUrlObj,
|
|
43
|
+
options: localVarRequestOptions,
|
|
44
|
+
auth: [
|
|
45
|
+
{
|
|
46
|
+
// authentication ApiKeyAuth required
|
|
47
|
+
// in header with key required
|
|
48
|
+
authType: common_1.AuthTypeEnum.InHeader,
|
|
49
|
+
authKey: "x-rh-identity"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
};
|
|
53
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
exports.apiGroupDeleteHostsFromDifferentGroupsParamCreator = apiGroupDeleteHostsFromDifferentGroupsParamCreator;
|
|
58
|
+
exports.default = exports.apiGroupDeleteHostsFromDifferentGroupsParamCreator;
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupDeleteHostsFromDifferentGroups/index.ts"],"names":[],"mappings":";;;;AACA,kFAA4T;AAoB5T,IAAM,oDAAoD,GAAG,UAAC,MAAkE;IAC9H,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAA;IAC9E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,kDAAkD,GAAG,UAAO,WAAmC;IAAE,gBAAiG;SAAjG,UAAiG,EAAjG,qBAAiG,EAAjG,IAAiG;QAAjG,+BAAiG;;;;;YACrM,MAAM,GAAG,oDAAoD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAiD,CAAC;YAClO,UAAU,GAAmB,MAAM,WAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YACtC,YAAY,GAAG,8BAA8B;iBAC9C,OAAO,CAAC,WAAI,cAAc,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YAEtE,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,QAAkB,IAAK,OAAO,CAAC,CAAC;YACnE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,IAAI,EAAC;oBACL;wBACA,qCAAqC;wBACrC,8BAA8B;wBAC9B,QAAQ,EAAE,qBAAY,CAAC,QAAQ;wBAC/B,OAAO,EAAE,eAAe;qBACvB;iBACA;aACJ,CAAC;YAEF,sBAAO,WAAW,CAAmD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC/F,CAAA;AA9BY,QAAA,kDAAkD,sDA8B9D;AAED,kBAAe,0DAAkD,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
|
|
3
|
+
import type { GroupQueryOutput } from '../types';
|
|
4
|
+
export type ApiGroupGetGroupListParams = {
|
|
5
|
+
/**
|
|
6
|
+
* Filter by group name
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof ApiGroupGetGroupListApi
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* A number of items to return per page.
|
|
13
|
+
* @type { number }
|
|
14
|
+
* @memberof ApiGroupGetGroupListApi
|
|
15
|
+
*/
|
|
16
|
+
perPage?: number;
|
|
17
|
+
/**
|
|
18
|
+
* A page number of the items to return.
|
|
19
|
+
* @type { number }
|
|
20
|
+
* @memberof ApiGroupGetGroupListApi
|
|
21
|
+
*/
|
|
22
|
+
page?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Ordering field name
|
|
25
|
+
* @type { ApiGroupGetGroupListOrderByEnum }
|
|
26
|
+
* @memberof ApiGroupGetGroupListApi
|
|
27
|
+
*/
|
|
28
|
+
orderBy?: ApiGroupGetGroupListOrderByEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Direction of the ordering (case-insensitive); defaults to ASC for name, and to DESC for host_count and updated
|
|
31
|
+
* @type { string }
|
|
32
|
+
* @memberof ApiGroupGetGroupListApi
|
|
33
|
+
*/
|
|
34
|
+
orderHow?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The type of workspaces that should be returned.
|
|
37
|
+
* @type { ApiGroupGetGroupListGroupTypeEnum }
|
|
38
|
+
* @memberof ApiGroupGetGroupListApi
|
|
39
|
+
*/
|
|
40
|
+
groupType?: ApiGroupGetGroupListGroupTypeEnum;
|
|
41
|
+
options?: AxiosRequestConfig;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
export declare const ApiGroupGetGroupListOrderByEnum: {
|
|
48
|
+
readonly Name: "name";
|
|
49
|
+
readonly HostCount: "host_count";
|
|
50
|
+
readonly Updated: "updated";
|
|
51
|
+
};
|
|
52
|
+
export type ApiGroupGetGroupListOrderByEnum = typeof ApiGroupGetGroupListOrderByEnum[keyof typeof ApiGroupGetGroupListOrderByEnum];
|
|
53
|
+
/**
|
|
54
|
+
* @export
|
|
55
|
+
* @enum {string}
|
|
56
|
+
*/
|
|
57
|
+
export declare const ApiGroupGetGroupListGroupTypeEnum: {
|
|
58
|
+
readonly Standard: "standard";
|
|
59
|
+
readonly UngroupedHosts: "ungrouped-hosts";
|
|
60
|
+
readonly All: "all";
|
|
61
|
+
};
|
|
62
|
+
export type ApiGroupGetGroupListGroupTypeEnum = typeof ApiGroupGetGroupListGroupTypeEnum[keyof typeof ApiGroupGetGroupListGroupTypeEnum];
|
|
63
|
+
export type ApiGroupGetGroupListReturnType = GroupQueryOutput;
|
|
64
|
+
/**
|
|
65
|
+
* Read the entire list of all groups available to the account. <br /><br /> Required permissions: inventory:groups:read
|
|
66
|
+
* @summary Read the entire list of groups
|
|
67
|
+
* @param {ApiGroupGetGroupListParams} config with all available params.
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
export declare const apiGroupGetGroupListParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupGetGroupListParams] | [string, number, number, ApiGroupGetGroupListOrderByEnum, string, ApiGroupGetGroupListGroupTypeEnum, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<GroupQueryOutput, any, {}, any>>;
|
|
72
|
+
export default apiGroupGetGroupListParamCreator;
|
|
73
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupGetGroupList/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAGhF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAGjD,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;MAIE;IACF,OAAO,CAAC,EAAE,+BAA+B,CAAC;IAC1C;;;;MAIE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;MAIE;IACF,SAAS,CAAC,EAAE,iCAAiC,CAAC;IAC9C,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AACD;;;IAGI;AACJ,eAAO,MAAM,+BAA+B;;;;CAIlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AACnI;;;IAGI;AACJ,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAEzI,MAAM,MAAM,8BAA8B,GAAG,gBAAgB,CAAC;AAS9D;;;;;;EAME;AACF,eAAO,MAAM,gCAAgC,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,+BAA+B,EAAE,MAAM,EAAE,iCAAiC,EAAE,kBAAkB,CAAC,CAAC,2EAqD/P,CAAA;AAED,eAAe,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.apiGroupGetGroupListParamCreator = exports.ApiGroupGetGroupListGroupTypeEnum = exports.ApiGroupGetGroupListOrderByEnum = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @enum {string}
|
|
9
|
+
*/
|
|
10
|
+
exports.ApiGroupGetGroupListOrderByEnum = {
|
|
11
|
+
Name: 'name',
|
|
12
|
+
HostCount: 'host_count',
|
|
13
|
+
Updated: 'updated'
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
exports.ApiGroupGetGroupListGroupTypeEnum = {
|
|
20
|
+
Standard: 'standard',
|
|
21
|
+
UngroupedHosts: 'ungrouped-hosts',
|
|
22
|
+
All: 'all'
|
|
23
|
+
};
|
|
24
|
+
var isApiGroupGetGroupListObjectParams = function (params) {
|
|
25
|
+
var l = params.length === 1;
|
|
26
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
return false;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Read the entire list of all groups available to the account. <br /><br /> Required permissions: inventory:groups:read
|
|
33
|
+
* @summary Read the entire list of groups
|
|
34
|
+
* @param {ApiGroupGetGroupListParams} config with all available params.
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
var apiGroupGetGroupListParamCreator = function (sendRequest) {
|
|
39
|
+
var config = [];
|
|
40
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
41
|
+
config[_i - 1] = arguments[_i];
|
|
42
|
+
}
|
|
43
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
44
|
+
var params, name, perPage, page, orderBy, orderHow, groupType, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
45
|
+
return tslib_1.__generator(this, function (_b) {
|
|
46
|
+
params = isApiGroupGetGroupListObjectParams(config) ? config[0] : ['name', 'perPage', 'page', 'orderBy', 'orderHow', 'groupType', 'options'].reduce(function (acc, curr, index) {
|
|
47
|
+
var _a;
|
|
48
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
49
|
+
}, {});
|
|
50
|
+
name = params.name, perPage = params.perPage, page = params.page, orderBy = params.orderBy, orderHow = params.orderHow, groupType = params.groupType, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
51
|
+
localVarPath = "/groups";
|
|
52
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
53
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
54
|
+
localVarHeaderParameter = {};
|
|
55
|
+
localVarQueryParameter = {};
|
|
56
|
+
if (name !== undefined) {
|
|
57
|
+
localVarQueryParameter['name'] = name;
|
|
58
|
+
}
|
|
59
|
+
if (perPage !== undefined) {
|
|
60
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
61
|
+
}
|
|
62
|
+
if (page !== undefined) {
|
|
63
|
+
localVarQueryParameter['page'] = page;
|
|
64
|
+
}
|
|
65
|
+
if (orderBy !== undefined) {
|
|
66
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
67
|
+
}
|
|
68
|
+
if (orderHow !== undefined) {
|
|
69
|
+
localVarQueryParameter['order_how'] = orderHow;
|
|
70
|
+
}
|
|
71
|
+
if (groupType !== undefined) {
|
|
72
|
+
localVarQueryParameter['group_type'] = groupType;
|
|
73
|
+
}
|
|
74
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
75
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
76
|
+
args = {
|
|
77
|
+
urlObj: localVarUrlObj,
|
|
78
|
+
options: localVarRequestOptions,
|
|
79
|
+
auth: [
|
|
80
|
+
{
|
|
81
|
+
// authentication ApiKeyAuth required
|
|
82
|
+
// in header with key required
|
|
83
|
+
authType: common_1.AuthTypeEnum.InHeader,
|
|
84
|
+
authKey: "x-rh-identity"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
};
|
|
88
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
};
|
|
92
|
+
exports.apiGroupGetGroupListParamCreator = apiGroupGetGroupListParamCreator;
|
|
93
|
+
exports.default = exports.apiGroupGetGroupListParamCreator;
|
|
94
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupGetGroupList/index.ts"],"names":[],"mappings":";;;;AACA,kFAA4T;AA+C5T;;;IAGI;AACS,QAAA,+BAA+B,GAAG;IAC3C,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,SAAS;CACZ,CAAC;AAEX;;;IAGI;AACS,QAAA,iCAAiC,GAAG;IAC7C,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,iBAAiB;IACjC,GAAG,EAAE,KAAK;CACJ,CAAC;AAKX,IAAM,kCAAkC,GAAG,UAAC,MAAgD;IAC1F,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,CAAA;IACb,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,gCAAgC,GAAG,UAAO,WAAmC;IAAE,gBAAoK;SAApK,UAAoK,EAApK,qBAAoK,EAApK,IAAoK;QAApK,+BAAoK;;;;;YACtP,MAAM,GAAG,kCAAkC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC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AAC,YAAY,CAAC,GAAG,SAAS,CAAC;YACrD,CAAC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,IAAI,EAAC;oBACL;wBACA,qCAAqC;wBACrC,8BAA8B;wBAC9B,QAAQ,EAAE,qBAAY,CAAC,QAAQ;wBAC/B,OAAO,EAAE,eAAe;qBACvB;iBACA;aACJ,CAAC;YAEF,sBAAO,WAAW,CAAiC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC7E,CAAA;AArDY,QAAA,gCAAgC,oCAqD5C;AAED,kBAAe,wCAAgC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@ohos-ports/redhat-cloud-services-javascript-clients-shared/base';
|
|
3
|
+
import type { GroupQueryOutput } from '../types';
|
|
4
|
+
export type ApiGroupGetGroupsByIdParams = {
|
|
5
|
+
/**
|
|
6
|
+
* A comma-separated list of group IDs.
|
|
7
|
+
* @type { Array<string> }
|
|
8
|
+
* @memberof ApiGroupGetGroupsByIdApi
|
|
9
|
+
*/
|
|
10
|
+
groupIdList: Array<string>;
|
|
11
|
+
/**
|
|
12
|
+
* A number of items to return per page.
|
|
13
|
+
* @type { number }
|
|
14
|
+
* @memberof ApiGroupGetGroupsByIdApi
|
|
15
|
+
*/
|
|
16
|
+
perPage?: number;
|
|
17
|
+
/**
|
|
18
|
+
* A page number of the items to return.
|
|
19
|
+
* @type { number }
|
|
20
|
+
* @memberof ApiGroupGetGroupsByIdApi
|
|
21
|
+
*/
|
|
22
|
+
page?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Ordering field name
|
|
25
|
+
* @type { ApiGroupGetGroupsByIdOrderByEnum }
|
|
26
|
+
* @memberof ApiGroupGetGroupsByIdApi
|
|
27
|
+
*/
|
|
28
|
+
orderBy?: ApiGroupGetGroupsByIdOrderByEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Direction of the ordering (case-insensitive); defaults to ASC for name, and to DESC for host_count and updated
|
|
31
|
+
* @type { string }
|
|
32
|
+
* @memberof ApiGroupGetGroupsByIdApi
|
|
33
|
+
*/
|
|
34
|
+
orderHow?: string;
|
|
35
|
+
options?: AxiosRequestConfig;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare const ApiGroupGetGroupsByIdOrderByEnum: {
|
|
42
|
+
readonly Name: "name";
|
|
43
|
+
readonly HostCount: "host_count";
|
|
44
|
+
readonly Updated: "updated";
|
|
45
|
+
};
|
|
46
|
+
export type ApiGroupGetGroupsByIdOrderByEnum = typeof ApiGroupGetGroupsByIdOrderByEnum[keyof typeof ApiGroupGetGroupsByIdOrderByEnum];
|
|
47
|
+
export type ApiGroupGetGroupsByIdReturnType = GroupQueryOutput;
|
|
48
|
+
/**
|
|
49
|
+
* Find one or more groups by their IDs. <br /><br /> Required permissions: inventory:groups:read
|
|
50
|
+
* @summary Find groups by their IDs
|
|
51
|
+
* @param {ApiGroupGetGroupsByIdParams} config with all available params.
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
export declare const apiGroupGetGroupsByIdParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ApiGroupGetGroupsByIdParams] | [Array<string>, number, number, ApiGroupGetGroupsByIdOrderByEnum, string, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<GroupQueryOutput, any, {}, any>>;
|
|
56
|
+
export default apiGroupGetGroupsByIdParamCreator;
|
|
57
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ApiGroupGetGroupsById/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AAGhF,OAAO,KAAK,EAAE,gBAAgB,EAAyB,MAAM,UAAU,CAAC;AAGxE,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;;MAIE;IACF,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;MAIE;IACF,OAAO,CAAC,EAAE,gCAAgC,CAAC;IAC3C;;;;MAIE;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AACD;;;IAGI;AACJ,eAAO,MAAM,gCAAgC;;;;CAInC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAEtI,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,CAAC;AAS/D;;;;;;EAME;AACF,eAAO,MAAM,iCAAiC,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,2BAA2B,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,gCAAgC,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,2EA8CtO,CAAA;AAED,eAAe,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.apiGroupGetGroupsByIdParamCreator = exports.ApiGroupGetGroupsByIdOrderByEnum = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var common_1 = require("@ohos-ports/redhat-cloud-services-javascript-clients-shared/common");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @enum {string}
|
|
9
|
+
*/
|
|
10
|
+
exports.ApiGroupGetGroupsByIdOrderByEnum = {
|
|
11
|
+
Name: 'name',
|
|
12
|
+
HostCount: 'host_count',
|
|
13
|
+
Updated: 'updated'
|
|
14
|
+
};
|
|
15
|
+
var isApiGroupGetGroupsByIdObjectParams = function (params) {
|
|
16
|
+
var l = params.length === 1;
|
|
17
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
18
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'groupIdList');
|
|
19
|
+
}
|
|
20
|
+
return false;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Find one or more groups by their IDs. <br /><br /> Required permissions: inventory:groups:read
|
|
24
|
+
* @summary Find groups by their IDs
|
|
25
|
+
* @param {ApiGroupGetGroupsByIdParams} config with all available params.
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
var apiGroupGetGroupsByIdParamCreator = function (sendRequest) {
|
|
30
|
+
var config = [];
|
|
31
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
32
|
+
config[_i - 1] = arguments[_i];
|
|
33
|
+
}
|
|
34
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
35
|
+
var params, groupIdList, perPage, page, orderBy, orderHow, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
36
|
+
return tslib_1.__generator(this, function (_b) {
|
|
37
|
+
params = isApiGroupGetGroupsByIdObjectParams(config) ? config[0] : ['groupIdList', 'perPage', 'page', 'orderBy', 'orderHow', 'options'].reduce(function (acc, curr, index) {
|
|
38
|
+
var _a;
|
|
39
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
40
|
+
}, {});
|
|
41
|
+
groupIdList = params.groupIdList, perPage = params.perPage, page = params.page, orderBy = params.orderBy, orderHow = params.orderHow, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
42
|
+
localVarPath = "/groups/{group_id_list}"
|
|
43
|
+
.replace("{".concat("group_id_list", "}"), encodeURIComponent(String(groupIdList)));
|
|
44
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
45
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
46
|
+
localVarHeaderParameter = {};
|
|
47
|
+
localVarQueryParameter = {};
|
|
48
|
+
if (perPage !== undefined) {
|
|
49
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
50
|
+
}
|
|
51
|
+
if (page !== undefined) {
|
|
52
|
+
localVarQueryParameter['page'] = page;
|
|
53
|
+
}
|
|
54
|
+
if (orderBy !== undefined) {
|
|
55
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
56
|
+
}
|
|
57
|
+
if (orderHow !== undefined) {
|
|
58
|
+
localVarQueryParameter['order_how'] = orderHow;
|
|
59
|
+
}
|
|
60
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
61
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
62
|
+
args = {
|
|
63
|
+
urlObj: localVarUrlObj,
|
|
64
|
+
options: localVarRequestOptions,
|
|
65
|
+
auth: [
|
|
66
|
+
{
|
|
67
|
+
// authentication ApiKeyAuth required
|
|
68
|
+
// in header with key required
|
|
69
|
+
authType: common_1.AuthTypeEnum.InHeader,
|
|
70
|
+
authKey: "x-rh-identity"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
};
|
|
74
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
exports.apiGroupGetGroupsByIdParamCreator = apiGroupGetGroupsByIdParamCreator;
|
|
79
|
+
exports.default = exports.apiGroupGetGroupsByIdParamCreator;
|
|
80
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ApiGroupGetGroupsById/index.ts"],"names":[],"mappings":";;;;AACA,kFAA4T;AAyC5T;;;IAGI;AACS,QAAA,gCAAgC,GAAG;IAC5C,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,SAAS;CACZ,CAAC;AAKX,IAAM,mCAAmC,GAAG,UAAC,MAAiD;IAC5F,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAA;IAC/E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,iCAAiC,GAAG,UAAO,WAAmC;IAAE,gBAA0I;SAA1I,UAA0I,EAA1I,qBAA0I,EAA1I,IAA0I;QAA1I,+BAA0I;;;;;YAC7N,MAAM,GAAG,mCAAmC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK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