@harnessio/react-idp-service-client 0.88.5 → 0.89.0
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/dist/{fetcher → custom-idp-fetcher}/index.js +1 -1
- package/dist/idp-service/src/index.d.ts +1 -1
- package/dist/idp-service/src/index.js +1 -1
- package/dist/idp-service/src/services/hooks/useCdEntitiesCountQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCdEntitiesCountQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useCdEntitiesFetchQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCdEntitiesFetchQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useConvertEntityMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useConvertEntityMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateAggregationRuleMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateAggregationRuleMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateBackstageEnvVariablesMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateBackstageEnvVariablesMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateBackstagePermissionsMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateBackstagePermissionsMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateCheckMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateCheckMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateEntityMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateEntityMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateEntityVersionMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateEntityVersionMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateIntegrationMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateIntegrationMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateLayoutMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateLayoutMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateOrUpdateEntityTableMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateOrUpdateEntityTableMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreatePluginRequestV2Mutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreatePluginRequestV2Mutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCreateScorecardMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCreateScorecardMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useCustomPluginsTriggerMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useCustomPluginsTriggerMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteAggregationRuleMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteAggregationRuleMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteCheckMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteCheckMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteCustomLinkCardQuickLinksMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteCustomLinkCardQuickLinksMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteCustomPluginInfoMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteCustomPluginInfoMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteEntityMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteEntityMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteEntityVersionMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteEntityVersionMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteGroupMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteGroupMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteHeadersQuickLinksIconMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteHeadersQuickLinksIconMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteHomePageLayoutCardsIconMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteHomePageLayoutCardsIconMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteLayoutMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteLayoutMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteScorecardMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDeleteScorecardMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useDiscoverEntitiesQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useDiscoverEntitiesQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGenerateYamlDefMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGenerateYamlDefMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetAggregationRuleQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetAggregationRuleQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetAggregationRulesQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetAggregationRulesQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllDatasourcesForAccountQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllDatasourcesForAccountQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllGroupsForAccountQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllGroupsForAccountQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllLayoutsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllLayoutsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllLayoutsV2Query.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllLayoutsV2Query.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllowListQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetAllowListQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetAuthInfoAuthIdQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetAuthInfoAuthIdQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetBackstagePermissionsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetBackstagePermissionsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetBlueprintEnvironmentsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetBlueprintEnvironmentsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetCheckGraphQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetCheckGraphQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetCheckQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetCheckQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetCheckStatsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetCheckStatsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetCheckTagsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetCheckTagsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetChecksQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetChecksQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetConnectorInfoQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetConnectorInfoQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusLogsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusLogsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusPluginIdQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetCustomPluginStatusPluginIdQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetDataPointsForDataSourceQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetDataPointsForDataSourceQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetDataSourcesDataPointsMapQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetDataSourcesDataPointsMapQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesByRefsMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesByRefsMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesFiltersByQueryMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesFiltersByQueryMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesFiltersQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesFiltersQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesGroupsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesGroupsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesKindsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesKindsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntitiesQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityFacetsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityFacetsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityRefsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityRefsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityTablesQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityTablesQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityVersionQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityVersionQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityVersionsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEntityVersionsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetEnvironmentBlueprintInfoMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetEnvironmentBlueprintInfoMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetGroupDetailsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetGroupDetailsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetHarnessEntitiesCountQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetHarnessEntitiesCountQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetHarnessEntitiesQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetHarnessEntitiesQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetHomePageLayoutInfoQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetHomePageLayoutInfoQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetIntegrationQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetIntegrationQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetIntegrationsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetIntegrationsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetJsonSchemaQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetJsonSchemaQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetLayoutQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetLayoutQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetMergedPluginsConfigQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetMergedPluginsConfigQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetOnboardingStatusQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetOnboardingStatusQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetPluginRequestV2Query.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetPluginRequestV2Query.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetPluginsInfoPluginIdQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetPluginsInfoPluginIdQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetPluginsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetPluginsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetScorecardQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetScorecardQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetScorecardStatsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetScorecardStatsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetScorecardsQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetScorecardsQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetStatusInfoByTypeQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetStatusInfoByTypeQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetStatusInfoTypeV2Query.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetStatusInfoTypeV2Query.js +1 -1
- package/dist/idp-service/src/services/hooks/useGetWorkflowsForAccountQuery.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useGetWorkflowsForAccountQuery.js +1 -1
- package/dist/idp-service/src/services/hooks/useImportCdEntitiesMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useImportCdEntitiesMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useImportEntityMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useImportEntityMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useImportHarnessEntitiesMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useImportHarnessEntitiesMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useLayoutIngestMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useLayoutIngestMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useMoveEntityMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useMoveEntityMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useOnboardingGenerateYamlMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useOnboardingGenerateYamlMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/usePostOnboardingSkipMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/usePostOnboardingSkipMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/usePostPluginRequestMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/usePostPluginRequestMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useReviewAggregationRulesMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useReviewAggregationRulesMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useSaveAllowListMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useSaveAllowListMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useSaveAuthInfoAuthIdMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useSaveAuthInfoAuthIdMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useSaveConnectorInfoMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useSaveConnectorInfoMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useSaveCustomPluginsInfoMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useSaveCustomPluginsInfoMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useSaveDiscoverEntitiesMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useSaveDiscoverEntitiesMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useSaveGroupMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useSaveGroupMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useSaveHomePageLayoutInfoMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useSaveHomePageLayoutInfoMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useSaveOrUpdatePluginAppConfigMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useSaveOrUpdatePluginAppConfigMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useScorecardRecalibrateMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useScorecardRecalibrateMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useTogglePluginForAccountMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useTogglePluginForAccountMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useTriggerAggregationRuleComputationMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useTriggerAggregationRuleComputationMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUnlinkIntegrationEntitiesMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUnlinkIntegrationEntitiesMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateAggregationRuleMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateAggregationRuleMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateBackstagePermissionsMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateBackstagePermissionsMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateCheckMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateCheckMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateConfigurationEntitiesMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateConfigurationEntitiesMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateCustomPluginsInfoMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateCustomPluginsInfoMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateEntityMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateEntityMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateEntityVersionMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateEntityVersionMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateGitMetadataMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateGitMetadataMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateGroupsMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateGroupsMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateIntegrationMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateIntegrationMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdatePluginRequestV2Mutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdatePluginRequestV2Mutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateScorecardMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useUpdateScorecardMutation.js +1 -1
- package/dist/idp-service/src/services/hooks/useValidateComplexCheckMutation.d.ts +1 -1
- package/dist/idp-service/src/services/hooks/useValidateComplexCheckMutation.js +1 -1
- package/package.json +1 -1
- /package/dist/{fetcher → custom-idp-fetcher}/index.d.ts +0 -0
|
@@ -58,7 +58,7 @@ export function fetcher(options) {
|
|
|
58
58
|
const asJson = contentType && JSON_CONTENT_TYPES.some((h) => contentType.startsWith(h));
|
|
59
59
|
const data = yield (asJson ? response.json() : response.text());
|
|
60
60
|
if (response.ok) {
|
|
61
|
-
return Object.assign({ content: data }, (pagination ? { pagination: { total, pageCount, pageSize, pageNumber } } : {}));
|
|
61
|
+
return Object.assign({ content: data, headers: response.headers }, (pagination ? { pagination: { total, pageCount, pageSize, pageNumber } } : {}));
|
|
62
62
|
}
|
|
63
63
|
throw data;
|
|
64
64
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { OnboardingCdEntitiesCountResponseResponse } from '../responses/OnboardingCdEntitiesCountResponseResponse';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
5
5
|
export interface CdEntitiesCountQueryHeaderParams {
|
|
6
6
|
'Harness-Account'?: string;
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function cdEntitiesCount(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/onboarding/cd-entities-count`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseQueryOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { OnboardingCdEntitiesFetchResponseResponse } from '../responses/OnboardingCdEntitiesFetchResponseResponse';
|
|
3
3
|
import type { OnboardingCdEntitiesFetchRequestRequestBody } from '../requestBodies/OnboardingCdEntitiesFetchRequestRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CdEntitiesFetchQueryQueryParams {
|
|
7
7
|
page?: number;
|
|
8
8
|
limit?: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function cdEntitiesFetch(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/onboarding/cd-entities-fetch`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { EntityConvertResponseBodyResponse } from '../responses/EntityConvertResponseBodyResponse';
|
|
3
3
|
import type { EntityRequestBodyRequestBody } from '../requestBodies/EntityRequestBodyRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface ConvertEntityMutationPathParams {
|
|
7
7
|
option: 'backstage-to-harness' | 'harness-to-backstage';
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function convertEntity(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/entities/convert/${props.option}`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { AggregationRuleDetailsResponseResponse } from '../responses/AggregationRuleDetailsResponseResponse';
|
|
3
3
|
import type { AggregationRuleDetailsRequest } from '../schemas/AggregationRuleDetailsRequest';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateAggregationRuleMutationHeaderParams {
|
|
7
7
|
'Harness-Account'?: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createAggregationRule(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/aggregation-rules`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { BackstageEnvVariableResponseListResponse } from '../responses/BackstageEnvVariableResponseListResponse';
|
|
3
3
|
import type { BackstageEnvVariableBatchRequestRequestBody } from '../requestBodies/BackstageEnvVariableBatchRequestRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateBackstageEnvVariablesMutationHeaderParams {
|
|
7
7
|
'Harness-Account'?: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createBackstageEnvVariables(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/backstage-env-variables/batch`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { BackstagePermissionsResponseResponse } from '../responses/BackstagePermissionsResponseResponse';
|
|
3
3
|
import type { BackstagePermissionsRequestRequestBody } from '../requestBodies/BackstagePermissionsRequestRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateBackstagePermissionsMutationHeaderParams {
|
|
7
7
|
'Harness-Account'?: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createBackstagePermissions(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/backstage-permissions`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { DefaultSaveResponseResponse } from '../responses/DefaultSaveResponseResponse';
|
|
3
3
|
import type { CheckDetailsRequest } from '../schemas/CheckDetailsRequest';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateCheckMutationHeaderParams {
|
|
7
7
|
'Harness-Account'?: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createCheck(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/checks`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { EntityResponseBodyResponse } from '../responses/EntityResponseBodyResponse';
|
|
3
3
|
import type { EntityCreateRequestBodyRequestBody } from '../requestBodies/EntityCreateRequestBodyRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateEntityMutationQueryParams {
|
|
7
7
|
orgIdentifier?: string;
|
|
8
8
|
projectIdentifier?: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createEntity(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/entities`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { EntityVersionResponseBodyResponse } from '../responses/EntityVersionResponseBodyResponse';
|
|
3
3
|
import type { EntityVersionCreateRequestBodyRequestBody } from '../requestBodies/EntityVersionCreateRequestBodyRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateEntityVersionMutationQueryParams {
|
|
7
7
|
orgIdentifier?: string;
|
|
8
8
|
projectIdentifier?: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createEntityVersion(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/entities/versions`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { IntegrationResponseResponse } from '../responses/IntegrationResponseResponse';
|
|
3
3
|
import type { IntegrationRequestRequestBody } from '../requestBodies/IntegrationRequestRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateIntegrationMutationPathParams {
|
|
7
7
|
integration: 'catalog' | 'git';
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createIntegration(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/integrations/${props.integration}`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { LayoutResponseResponse } from '../responses/LayoutResponseResponse';
|
|
3
3
|
import type { LayoutRequest } from '../schemas/LayoutRequest';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateLayoutMutationHeaderParams {
|
|
7
7
|
'Harness-Account'?: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createLayout(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/layout`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { EntityTableResponseBodyResponse } from '../responses/EntityTableResponseBodyResponse';
|
|
3
3
|
import type { EntityTableCreateOrUpdateRequestBodyRequestBody } from '../requestBodies/EntityTableCreateOrUpdateRequestBodyRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateOrUpdateEntityTableMutationQueryParams {
|
|
7
7
|
kind?: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createOrUpdateEntityTable(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/entities/tables`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RequestPluginRequestV2RequestBody } from '../requestBodies/RequestPluginRequestV2RequestBody';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
5
5
|
export interface CreatePluginRequestV2MutationHeaderParams {
|
|
6
6
|
'Harness-Account'?: string;
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createPluginRequestV2(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/plugin/request`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { DefaultSaveResponseResponse } from '../responses/DefaultSaveResponseResponse';
|
|
3
3
|
import type { ScorecardDetailsRequest } from '../schemas/ScorecardDetailsRequest';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface CreateScorecardMutationHeaderParams {
|
|
7
7
|
'Harness-Account'?: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function createScorecard(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/scorecards`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface CustomPluginsTriggerMutationPathParams {
|
|
5
5
|
'plugin-id': string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function customPluginsTrigger(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/custom-plugins/${props['plugin-id']}/trigger`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteAggregationRuleMutationPathParams {
|
|
5
5
|
'aggregation-rule-id': string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteAggregationRule(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/aggregation-rules/${props['aggregation-rule-id']}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteCheckMutationPathParams {
|
|
5
5
|
'check-id': string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteCheck(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/checks/${props['check-id']}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteCustomLinkCardQuickLinksMutationPathParams {
|
|
5
5
|
'card-identifier': string;
|
|
6
6
|
'quick-link-identifier': string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteCustomLinkCardQuickLinks(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/home-page-layout/custom-card/${props['card-identifier']}/quick-links/${props['quick-link-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteCustomPluginInfoMutationPathParams {
|
|
5
5
|
'plugin-id': string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteCustomPluginInfo(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/plugins-info/${props['plugin-id']}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteEntityMutationPathParams {
|
|
5
5
|
scope: string;
|
|
6
6
|
kind: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteEntity(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/entities/${props.scope}/${props.kind}/${props.identifier}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteEntityVersionMutationPathParams {
|
|
5
5
|
scope: string;
|
|
6
6
|
kind: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteEntityVersion(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/entities/${props.scope}/${props.kind}/${props.identifier}/versions/${props.version}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteGroupMutationPathParams {
|
|
5
5
|
'group-identifier': string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteGroup(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/groups/${props['group-identifier']}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteHeadersQuickLinksIconMutationPathParams {
|
|
5
5
|
'quick-link-identifier': string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteHeadersQuickLinksIcon(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/home-page-layout/header/quick-links/${props['quick-link-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteHomePageLayoutCardsIconMutationPathParams {
|
|
5
5
|
'card-identifier': string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteHomePageLayoutCardsIcon(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/home-page-layout/card/${props['card-identifier']}/icon`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { LayoutResponse } from '../schemas/LayoutResponse';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
5
5
|
export interface DeleteLayoutMutationHeaderParams {
|
|
6
6
|
'Harness-Account'?: string;
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteLayout(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/layout`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ResponseWithPagination } from '../helpers';
|
|
3
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
3
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
4
4
|
export interface DeleteScorecardMutationPathParams {
|
|
5
5
|
'scorecard-id': string;
|
|
6
6
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function deleteScorecard(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/scorecards/${props['scorecard-id']}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DiscoverEntitiesResponseListResponse } from '../responses/DiscoverEntitiesResponseListResponse';
|
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
5
5
|
export interface DiscoverEntitiesQueryPathParams {
|
|
6
6
|
'integration-id': string;
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function discoverEntities(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v1/integrations/${props['integration-id']}/discover/entities`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { OnboardingGenerateYamlDefResponseResponse } from '../responses/OnboardingGenerateYamlDefResponseResponse';
|
|
3
3
|
import type { OnboardingGenerateYamlDefRequestRequestBody } from '../requestBodies/OnboardingGenerateYamlDefRequestRequestBody';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
import { FetcherOptions } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export interface GenerateYamlDefMutationHeaderParams {
|
|
7
7
|
'Harness-Account'?: string;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
|
5
|
+
import { fetcher } from '../../../../custom-idp-fetcher/index.js';
|
|
6
6
|
export function generateYamlDef(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/onboarding/generate-yaml-def`, method: 'POST' }, props));
|
|
8
8
|
}
|