@harnessio/react-integration-manager-client 0.5.4 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.d.ts +1 -1
  2. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigMutation.js +1 -1
  3. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.d.ts +1 -1
  4. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.js +1 -1
  5. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.d.ts +1 -1
  6. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigMutation.js +1 -1
  7. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +1 -1
  8. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +1 -1
  9. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +1 -1
  10. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +1 -1
  11. package/dist/integration-manager/src/services/hooks/useCreateMetricConfigMutation.d.ts +20 -0
  12. package/dist/integration-manager/src/services/hooks/useCreateMetricConfigMutation.js +14 -0
  13. package/dist/integration-manager/src/services/hooks/useCreateMetricConfigOrgMutation.d.ts +21 -0
  14. package/dist/integration-manager/src/services/hooks/useCreateMetricConfigOrgMutation.js +14 -0
  15. package/dist/integration-manager/src/services/hooks/useCreateMetricConfigProjectMutation.d.ts +22 -0
  16. package/dist/integration-manager/src/services/hooks/useCreateMetricConfigProjectMutation.js +14 -0
  17. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.d.ts +1 -1
  18. package/dist/integration-manager/src/services/hooks/useDeleteIntegrationConfigMutation.js +1 -1
  19. package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigMutation.d.ts +17 -0
  20. package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigMutation.js +14 -0
  21. package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigOrgMutation.d.ts +18 -0
  22. package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigOrgMutation.js +14 -0
  23. package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigProjectMutation.d.ts +19 -0
  24. package/dist/integration-manager/src/services/hooks/useDeleteMetricConfigProjectMutation.js +14 -0
  25. package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.d.ts +1 -1
  26. package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigQuery.js +1 -1
  27. package/dist/integration-manager/src/services/hooks/useGetMetricConfigOrgQuery.d.ts +19 -0
  28. package/dist/integration-manager/src/services/hooks/useGetMetricConfigOrgQuery.js +14 -0
  29. package/dist/integration-manager/src/services/hooks/useGetMetricConfigProjectQuery.d.ts +20 -0
  30. package/dist/integration-manager/src/services/hooks/useGetMetricConfigProjectQuery.js +20 -0
  31. package/dist/integration-manager/src/services/hooks/useGetMetricConfigQuery.d.ts +18 -0
  32. package/dist/integration-manager/src/services/hooks/useGetMetricConfigQuery.js +14 -0
  33. package/dist/integration-manager/src/services/hooks/useListMetricConfigsOrgQuery.d.ts +40 -0
  34. package/dist/integration-manager/src/services/hooks/useListMetricConfigsOrgQuery.js +14 -0
  35. package/dist/integration-manager/src/services/hooks/useListMetricConfigsProjectQuery.d.ts +41 -0
  36. package/dist/integration-manager/src/services/hooks/useListMetricConfigsProjectQuery.js +20 -0
  37. package/dist/integration-manager/src/services/hooks/useListMetricConfigsQuery.d.ts +40 -0
  38. package/dist/integration-manager/src/services/hooks/useListMetricConfigsQuery.js +14 -0
  39. package/dist/integration-manager/src/services/hooks/useSyncNowMutation.d.ts +1 -1
  40. package/dist/integration-manager/src/services/hooks/useSyncNowMutation.js +1 -1
  41. package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.d.ts +1 -1
  42. package/dist/integration-manager/src/services/hooks/useTriggerSyncMutation.js +1 -1
  43. package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.d.ts +1 -1
  44. package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigMutation.js +1 -1
  45. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.d.ts +1 -1
  46. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigMutation.js +1 -1
  47. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +1 -1
  48. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +1 -1
  49. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.d.ts +1 -1
  50. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusMutation.js +1 -1
  51. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigMutation.d.ts +21 -0
  52. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigMutation.js +14 -0
  53. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigOrgMutation.d.ts +22 -0
  54. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigOrgMutation.js +14 -0
  55. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigProjectMutation.d.ts +23 -0
  56. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigProjectMutation.js +14 -0
  57. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusMutation.d.ts +25 -0
  58. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusMutation.js +14 -0
  59. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusOrgMutation.d.ts +26 -0
  60. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusOrgMutation.js +14 -0
  61. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusProjectMutation.d.ts +27 -0
  62. package/dist/integration-manager/src/services/hooks/useUpdateMetricConfigStatusProjectMutation.js +14 -0
  63. package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaMutation.d.ts +1 -1
  64. package/dist/integration-manager/src/services/hooks/useValidateCustomSchemaMutation.js +1 -1
  65. package/dist/integration-manager/src/services/index.d.ts +47 -0
  66. package/dist/integration-manager/src/services/index.js +18 -0
  67. package/dist/integration-manager/src/services/schemas/EnumIntegrationMode.d.ts +1 -1
  68. package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
  69. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +3 -4
  70. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +3 -4
  71. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigRequest.d.ts +3 -4
  72. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +8 -1
  73. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +8 -1
  74. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigRequest.d.ts +8 -1
  75. package/dist/integration-manager/src/services/schemas/OpenapiCreateMetricConfigOrgRequest.d.ts +8 -0
  76. package/dist/integration-manager/src/services/schemas/OpenapiCreateMetricConfigOrgRequest.js +1 -0
  77. package/dist/integration-manager/src/services/schemas/OpenapiCreateMetricConfigProjectRequest.d.ts +8 -0
  78. package/dist/integration-manager/src/services/schemas/OpenapiCreateMetricConfigProjectRequest.js +1 -0
  79. package/dist/integration-manager/src/services/schemas/OpenapiCreateMetricConfigRequest.d.ts +8 -0
  80. package/dist/integration-manager/src/services/schemas/OpenapiCreateMetricConfigRequest.js +1 -0
  81. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +0 -4
  82. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +0 -4
  83. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigRequest.d.ts +0 -4
  84. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +3 -1
  85. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigProjectRequest.d.ts +3 -1
  86. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigRequest.d.ts +3 -1
  87. package/dist/integration-manager/src/services/schemas/OpenapiUpdateMetricConfigOrgRequest.d.ts +7 -0
  88. package/dist/integration-manager/src/services/schemas/OpenapiUpdateMetricConfigOrgRequest.js +1 -0
  89. package/dist/integration-manager/src/services/schemas/OpenapiUpdateMetricConfigProjectRequest.d.ts +7 -0
  90. package/dist/integration-manager/src/services/schemas/OpenapiUpdateMetricConfigProjectRequest.js +1 -0
  91. package/dist/integration-manager/src/services/schemas/OpenapiUpdateMetricConfigRequest.d.ts +7 -0
  92. package/dist/integration-manager/src/services/schemas/OpenapiUpdateMetricConfigRequest.js +1 -0
  93. package/dist/integration-manager/src/services/schemas/TimeDuration.d.ts +1 -0
  94. package/dist/integration-manager/src/services/schemas/TimeDuration.js +4 -0
  95. package/dist/integration-manager/src/services/schemas/TypesCorrelationMapping.d.ts +6 -0
  96. package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +3 -1
  97. package/dist/integration-manager/src/services/schemas/TypesEntity.d.ts +4 -0
  98. package/dist/integration-manager/src/services/schemas/TypesEntitySchema.d.ts +2 -0
  99. package/dist/integration-manager/src/services/schemas/TypesHarnessAirbyteConfig.d.ts +7 -0
  100. package/dist/integration-manager/src/services/schemas/TypesIntegrationConfig.d.ts +1 -1
  101. package/dist/integration-manager/src/services/schemas/TypesMappingConfig.d.ts +0 -1
  102. package/dist/integration-manager/src/services/schemas/TypesMetricConfig.d.ts +25 -0
  103. package/dist/integration-manager/src/services/schemas/TypesMetricConfig.js +1 -0
  104. package/dist/integration-manager/src/services/schemas/TypesMetricConfiguration.d.ts +4 -0
  105. package/dist/integration-manager/src/services/schemas/TypesMetricConfiguration.js +1 -0
  106. package/dist/integration-manager/src/services/schemas/TypesMetricErrors.d.ts +3 -0
  107. package/dist/integration-manager/src/services/schemas/TypesMetricErrors.js +4 -0
  108. package/dist/integration-manager/src/services/schemas/TypesReevalState.d.ts +9 -0
  109. package/dist/integration-manager/src/services/schemas/TypesReevalState.js +4 -0
  110. package/package.json +1 -1
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ListMetricConfigsQueryPathParams {
7
+ accountIdentifier: string;
8
+ }
9
+ export interface ListMetricConfigsQueryQueryParams {
10
+ /**
11
+ * Search term to filter metric configs by name
12
+ */
13
+ searchterm?: string;
14
+ /**
15
+ * Maximum number of results to return (default 100)
16
+ */
17
+ limit?: number;
18
+ /**
19
+ * Number of results to skip for pagination
20
+ */
21
+ offset?: number;
22
+ /**
23
+ * Field to sort by
24
+ */
25
+ sort?: string;
26
+ /**
27
+ * Sort order: asc or desc
28
+ */
29
+ order?: string;
30
+ }
31
+ export type ListMetricConfigsOkResponse = ResponseWithPagination<TypesMetricConfig[]>;
32
+ export type ListMetricConfigsErrorResponse = ApierrorsErrorResponse;
33
+ export interface ListMetricConfigsProps extends ListMetricConfigsQueryPathParams, Omit<FetcherOptions<ListMetricConfigsQueryQueryParams, unknown>, 'url'> {
34
+ queryParams: ListMetricConfigsQueryQueryParams;
35
+ }
36
+ export declare function listMetricConfigs(props: ListMetricConfigsProps): Promise<ListMetricConfigsOkResponse>;
37
+ /**
38
+ * Lists metric configurations with optional filtering, pagination, and sorting.
39
+ */
40
+ export declare function useListMetricConfigsQuery(props: ListMetricConfigsProps, options?: Omit<UseQueryOptions<ListMetricConfigsOkResponse, ListMetricConfigsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListMetricConfigsOkResponse, ApierrorsErrorResponse>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function listMetricConfigs(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/metrics`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists metric configurations with optional filtering, pagination, and sorting.
11
+ */
12
+ export function useListMetricConfigsQuery(props, options) {
13
+ return useQuery(['listMetricConfigs', props.accountIdentifier, props.queryParams], ({ signal }) => listMetricConfigs(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -13,6 +13,6 @@ export interface SyncNowProps extends SyncNowMutationPathParams, Omit<FetcherOpt
13
13
  }
14
14
  export declare function syncNow(props: SyncNowProps): Promise<SyncNowOkResponse>;
15
15
  /**
16
- * Triggers an immediate sync for the integration. Supported for Airbyte-mode integrations (e.g. ServiceNow); calls the k8s-agent sync-now API via the delegate flow. Returns the sync result including success status, logs, and any error details.
16
+ * Triggers an immediate Airbyte sync via the k8s-agent.
17
17
  */
18
18
  export declare function useSyncNowMutation(options?: Omit<UseMutationOptions<SyncNowOkResponse, SyncNowErrorResponse, SyncNowProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SyncNowOkResponse, ApierrorsErrorResponse, SyncNowProps, unknown>;
@@ -7,7 +7,7 @@ export function syncNow(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}/airbyte-sync`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Triggers an immediate sync for the integration. Supported for Airbyte-mode integrations (e.g. ServiceNow); calls the k8s-agent sync-now API via the delegate flow. Returns the sync result including success status, logs, and any error details.
10
+ * Triggers an immediate Airbyte sync via the k8s-agent.
11
11
  */
12
12
  export function useSyncNowMutation(options) {
13
13
  return useMutation((mutateProps) => syncNow(mutateProps), options);
@@ -13,6 +13,6 @@ export interface TriggerSyncProps extends TriggerSyncMutationPathParams, Omit<Fe
13
13
  }
14
14
  export declare function triggerSync(props: TriggerSyncProps): Promise<TriggerSyncOkResponse>;
15
15
  /**
16
- * Manually triggers a full sync for the specified integration. The sync will start from the beginning and process all configured kinds. Returns an acknowledgement with the sync ID that can be used to track the sync operation.
16
+ * Triggers a full sync for the integration.
17
17
  */
18
18
  export declare function useTriggerSyncMutation(options?: Omit<UseMutationOptions<TriggerSyncOkResponse, TriggerSyncErrorResponse, TriggerSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerSyncOkResponse, ApierrorsErrorResponse, TriggerSyncProps, unknown>;
@@ -7,7 +7,7 @@ export function triggerSync(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}/sync`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Manually triggers a full sync for the specified integration. The sync will start from the beginning and process all configured kinds. Returns an acknowledgement with the sync ID that can be used to track the sync operation.
10
+ * Triggers a full sync for the integration.
11
11
  */
12
12
  export function useTriggerSyncMutation(options) {
13
13
  return useMutation((mutateProps) => triggerSync(mutateProps), options);
@@ -16,6 +16,6 @@ export interface UpdateAirbyteIntegrationConfigProps extends UpdateAirbyteIntegr
16
16
  }
17
17
  export declare function updateAirbyteIntegrationConfig(props: UpdateAirbyteIntegrationConfigProps): Promise<UpdateAirbyteIntegrationConfigOkResponse>;
18
18
  /**
19
- * Updates an Airbyte integration allowing modification of name, integration config, mapping config, and entity mappings per kind. This endpoint updates the configured catalog in the airbyte connector, entity schemas, and entity mappings. Returns the updated integration config along with the associated airbyte connector, entity schemas, and entity mappings.
19
+ * Updates an Airbyte integration and its connector catalog.
20
20
  */
21
21
  export declare function useUpdateAirbyteIntegrationConfigMutation(options?: Omit<UseMutationOptions<UpdateAirbyteIntegrationConfigOkResponse, UpdateAirbyteIntegrationConfigErrorResponse, UpdateAirbyteIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateAirbyteIntegrationConfigOkResponse, ApierrorsErrorResponse, UpdateAirbyteIntegrationConfigProps, unknown>;
@@ -7,7 +7,7 @@ export function updateAirbyteIntegrationConfig(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * Updates an Airbyte integration allowing modification of name, integration config, mapping config, and entity mappings per kind. This endpoint updates the configured catalog in the airbyte connector, entity schemas, and entity mappings. Returns the updated integration config along with the associated airbyte connector, entity schemas, and entity mappings.
10
+ * Updates an Airbyte integration and its connector catalog.
11
11
  */
12
12
  export function useUpdateAirbyteIntegrationConfigMutation(options) {
13
13
  return useMutation((mutateProps) => updateAirbyteIntegrationConfig(mutateProps), options);
@@ -16,6 +16,6 @@ export interface UpdateIntegrationConfigProps extends UpdateIntegrationConfigMut
16
16
  }
17
17
  export declare function updateIntegrationConfig(props: UpdateIntegrationConfigProps): Promise<UpdateIntegrationConfigOkResponse>;
18
18
  /**
19
- * Updates an integration configuration. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
19
+ * Updates an integration configuration. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable).
20
20
  */
21
21
  export declare function useUpdateIntegrationConfigMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOkResponse, UpdateIntegrationConfigErrorResponse, UpdateIntegrationConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigProps, unknown>;
@@ -7,7 +7,7 @@ export function updateIntegrationConfig(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * Updates an integration configuration. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
10
+ * Updates an integration configuration. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable).
11
11
  */
12
12
  export function useUpdateIntegrationConfigMutation(options) {
13
13
  return useMutation((mutateProps) => updateIntegrationConfig(mutateProps), options);
@@ -17,6 +17,6 @@ export interface UpdateIntegrationConfigOrgProps extends UpdateIntegrationConfig
17
17
  }
18
18
  export declare function updateIntegrationConfigOrg(props: UpdateIntegrationConfigOrgProps): Promise<UpdateIntegrationConfigOrgOkResponse>;
19
19
  /**
20
- * Updates an integration configuration at organization level. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
20
+ * Updates an integration configuration at organization level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable).
21
21
  */
22
22
  export declare function useUpdateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigOrgProps, unknown>;
@@ -7,7 +7,7 @@ export function updateIntegrationConfigOrg(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
8
8
  }
9
9
  /**
10
- * Updates an integration configuration at organization level. Supports auto_import, auto_import_per_kind, action_per_kind, and configuration. When auto_import_per_kind is not provided, it is populated from the global auto_import value for all kinds. When action_per_kind is not provided, all kinds default to Merge_Register.
10
+ * Updates an integration configuration at organization level. Supports auto_import_per_kind, action_per_kind, and configuration. When action_per_kind is not provided, all kinds default to Merge_Register. Set configuration.rate_limit.rpm to override the per-integration custom-entity-upsert rate limit; the change propagates across all replicas immediately. For correlation_mapping: on first add, source_path is required and operator must be 'eq'; on subsequent updates only target_path can be changed (source_path and operator are immutable).
11
11
  */
12
12
  export function useUpdateIntegrationConfigOrgMutation(options) {
13
13
  return useMutation((mutateProps) => updateIntegrationConfigOrg(mutateProps), options);
@@ -20,6 +20,6 @@ export interface UpdateIntegrationStatusProps extends UpdateIntegrationStatusMut
20
20
  }
21
21
  export declare function updateIntegrationStatus(props: UpdateIntegrationStatusProps): Promise<UpdateIntegrationStatusOkResponse>;
22
22
  /**
23
- * Enable or disable an integration configuration. Use action='enable' to enable the integration or action='disable' to disable it. Enabling an integration will trigger an initial sync if the integration is enabled for the first time.
23
+ * Enable or disable an integration. First enable triggers an initial sync.
24
24
  */
25
25
  export declare function useUpdateIntegrationStatusMutation(options?: Omit<UseMutationOptions<UpdateIntegrationStatusOkResponse, UpdateIntegrationStatusErrorResponse, UpdateIntegrationStatusProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationStatusOkResponse, ApierrorsErrorResponse, UpdateIntegrationStatusProps, unknown>;
@@ -7,7 +7,7 @@ export function updateIntegrationStatus(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/${props.integrationconfig_identifier}/status`, method: 'PATCH' }, props));
8
8
  }
9
9
  /**
10
- * Enable or disable an integration configuration. Use action='enable' to enable the integration or action='disable' to disable it. Enabling an integration will trigger an initial sync if the integration is enabled for the first time.
10
+ * Enable or disable an integration. First enable triggers an initial sync.
11
11
  */
12
12
  export function useUpdateIntegrationStatusMutation(options) {
13
13
  return useMutation((mutateProps) => updateIntegrationStatus(mutateProps), options);
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { OpenapiUpdateMetricConfigRequest } from '../schemas/OpenapiUpdateMetricConfigRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface UpdateMetricConfigMutationPathParams {
8
+ accountIdentifier: string;
9
+ metric_config_id: string;
10
+ }
11
+ export type UpdateMetricConfigRequestBody = OpenapiUpdateMetricConfigRequest;
12
+ export type UpdateMetricConfigOkResponse = ResponseWithPagination<TypesMetricConfig>;
13
+ export type UpdateMetricConfigErrorResponse = ApierrorsErrorResponse;
14
+ export interface UpdateMetricConfigProps extends UpdateMetricConfigMutationPathParams, Omit<FetcherOptions<unknown, UpdateMetricConfigRequestBody>, 'url'> {
15
+ body: UpdateMetricConfigRequestBody;
16
+ }
17
+ export declare function updateMetricConfig(props: UpdateMetricConfigProps): Promise<UpdateMetricConfigOkResponse>;
18
+ /**
19
+ * Updates an existing metric configuration. Supports partial updates.
20
+ */
21
+ export declare function useUpdateMetricConfigMutation(options?: Omit<UseMutationOptions<UpdateMetricConfigOkResponse, UpdateMetricConfigErrorResponse, UpdateMetricConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateMetricConfigOkResponse, ApierrorsErrorResponse, UpdateMetricConfigProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateMetricConfig(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/metrics/${props.metric_config_id}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Updates an existing metric configuration. Supports partial updates.
11
+ */
12
+ export function useUpdateMetricConfigMutation(options) {
13
+ return useMutation((mutateProps) => updateMetricConfig(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { OpenapiUpdateMetricConfigOrgRequest } from '../schemas/OpenapiUpdateMetricConfigOrgRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface UpdateMetricConfigOrgMutationPathParams {
8
+ accountIdentifier: string;
9
+ orgIdentifier: string;
10
+ metric_config_id: string;
11
+ }
12
+ export type UpdateMetricConfigOrgRequestBody = OpenapiUpdateMetricConfigOrgRequest;
13
+ export type UpdateMetricConfigOrgOkResponse = ResponseWithPagination<TypesMetricConfig>;
14
+ export type UpdateMetricConfigOrgErrorResponse = ApierrorsErrorResponse;
15
+ export interface UpdateMetricConfigOrgProps extends UpdateMetricConfigOrgMutationPathParams, Omit<FetcherOptions<unknown, UpdateMetricConfigOrgRequestBody>, 'url'> {
16
+ body: UpdateMetricConfigOrgRequestBody;
17
+ }
18
+ export declare function updateMetricConfigOrg(props: UpdateMetricConfigOrgProps): Promise<UpdateMetricConfigOrgOkResponse>;
19
+ /**
20
+ * Update metric configuration at organization level
21
+ */
22
+ export declare function useUpdateMetricConfigOrgMutation(options?: Omit<UseMutationOptions<UpdateMetricConfigOrgOkResponse, UpdateMetricConfigOrgErrorResponse, UpdateMetricConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateMetricConfigOrgOkResponse, ApierrorsErrorResponse, UpdateMetricConfigOrgProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateMetricConfigOrg(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/metrics/${props.metric_config_id}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Update metric configuration at organization level
11
+ */
12
+ export function useUpdateMetricConfigOrgMutation(options) {
13
+ return useMutation((mutateProps) => updateMetricConfigOrg(mutateProps), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { OpenapiUpdateMetricConfigProjectRequest } from '../schemas/OpenapiUpdateMetricConfigProjectRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface UpdateMetricConfigProjectMutationPathParams {
8
+ accountIdentifier: string;
9
+ orgIdentifier: string;
10
+ projectIdentifier: string;
11
+ metric_config_id: string;
12
+ }
13
+ export type UpdateMetricConfigProjectRequestBody = OpenapiUpdateMetricConfigProjectRequest;
14
+ export type UpdateMetricConfigProjectOkResponse = ResponseWithPagination<TypesMetricConfig>;
15
+ export type UpdateMetricConfigProjectErrorResponse = ApierrorsErrorResponse;
16
+ export interface UpdateMetricConfigProjectProps extends UpdateMetricConfigProjectMutationPathParams, Omit<FetcherOptions<unknown, UpdateMetricConfigProjectRequestBody>, 'url'> {
17
+ body: UpdateMetricConfigProjectRequestBody;
18
+ }
19
+ export declare function updateMetricConfigProject(props: UpdateMetricConfigProjectProps): Promise<UpdateMetricConfigProjectOkResponse>;
20
+ /**
21
+ * Update metric configuration at project level
22
+ */
23
+ export declare function useUpdateMetricConfigProjectMutation(options?: Omit<UseMutationOptions<UpdateMetricConfigProjectOkResponse, UpdateMetricConfigProjectErrorResponse, UpdateMetricConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateMetricConfigProjectOkResponse, ApierrorsErrorResponse, UpdateMetricConfigProjectProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateMetricConfigProject(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/metrics/${props.metric_config_id}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Update metric configuration at project level
11
+ */
12
+ export function useUpdateMetricConfigProjectMutation(options) {
13
+ return useMutation((mutateProps) => updateMetricConfigProject(mutateProps), options);
14
+ }
@@ -0,0 +1,25 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface UpdateMetricConfigStatusMutationPathParams {
7
+ accountIdentifier: string;
8
+ metric_config_id: string;
9
+ }
10
+ export interface UpdateMetricConfigStatusMutationQueryParams {
11
+ /**
12
+ * Action to perform: 'enable' or 'disable'
13
+ */
14
+ action: string;
15
+ }
16
+ export type UpdateMetricConfigStatusOkResponse = ResponseWithPagination<TypesMetricConfig>;
17
+ export type UpdateMetricConfigStatusErrorResponse = ApierrorsErrorResponse;
18
+ export interface UpdateMetricConfigStatusProps extends UpdateMetricConfigStatusMutationPathParams, Omit<FetcherOptions<UpdateMetricConfigStatusMutationQueryParams, unknown>, 'url'> {
19
+ queryParams: UpdateMetricConfigStatusMutationQueryParams;
20
+ }
21
+ export declare function updateMetricConfigStatus(props: UpdateMetricConfigStatusProps): Promise<UpdateMetricConfigStatusOkResponse>;
22
+ /**
23
+ * Enable or disable a metric configuration.
24
+ */
25
+ export declare function useUpdateMetricConfigStatusMutation(options?: Omit<UseMutationOptions<UpdateMetricConfigStatusOkResponse, UpdateMetricConfigStatusErrorResponse, UpdateMetricConfigStatusProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateMetricConfigStatusOkResponse, ApierrorsErrorResponse, UpdateMetricConfigStatusProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateMetricConfigStatus(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/metrics/${props.metric_config_id}/status`, method: 'PATCH' }, props));
8
+ }
9
+ /**
10
+ * Enable or disable a metric configuration.
11
+ */
12
+ export function useUpdateMetricConfigStatusMutation(options) {
13
+ return useMutation((mutateProps) => updateMetricConfigStatus(mutateProps), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface UpdateMetricConfigStatusOrgMutationPathParams {
7
+ accountIdentifier: string;
8
+ orgIdentifier: string;
9
+ metric_config_id: string;
10
+ }
11
+ export interface UpdateMetricConfigStatusOrgMutationQueryParams {
12
+ /**
13
+ * Action to perform: 'enable' or 'disable'
14
+ */
15
+ action: string;
16
+ }
17
+ export type UpdateMetricConfigStatusOrgOkResponse = ResponseWithPagination<TypesMetricConfig>;
18
+ export type UpdateMetricConfigStatusOrgErrorResponse = ApierrorsErrorResponse;
19
+ export interface UpdateMetricConfigStatusOrgProps extends UpdateMetricConfigStatusOrgMutationPathParams, Omit<FetcherOptions<UpdateMetricConfigStatusOrgMutationQueryParams, unknown>, 'url'> {
20
+ queryParams: UpdateMetricConfigStatusOrgMutationQueryParams;
21
+ }
22
+ export declare function updateMetricConfigStatusOrg(props: UpdateMetricConfigStatusOrgProps): Promise<UpdateMetricConfigStatusOrgOkResponse>;
23
+ /**
24
+ * Update metric configuration status at organization level
25
+ */
26
+ export declare function useUpdateMetricConfigStatusOrgMutation(options?: Omit<UseMutationOptions<UpdateMetricConfigStatusOrgOkResponse, UpdateMetricConfigStatusOrgErrorResponse, UpdateMetricConfigStatusOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateMetricConfigStatusOrgOkResponse, ApierrorsErrorResponse, UpdateMetricConfigStatusOrgProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateMetricConfigStatusOrg(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/metrics/${props.metric_config_id}/status`, method: 'PATCH' }, props));
8
+ }
9
+ /**
10
+ * Update metric configuration status at organization level
11
+ */
12
+ export function useUpdateMetricConfigStatusOrgMutation(options) {
13
+ return useMutation((mutateProps) => updateMetricConfigStatusOrg(mutateProps), options);
14
+ }
@@ -0,0 +1,27 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesMetricConfig } from '../schemas/TypesMetricConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface UpdateMetricConfigStatusProjectMutationPathParams {
7
+ accountIdentifier: string;
8
+ orgIdentifier: string;
9
+ projectIdentifier: string;
10
+ metric_config_id: string;
11
+ }
12
+ export interface UpdateMetricConfigStatusProjectMutationQueryParams {
13
+ /**
14
+ * Action to perform: 'enable' or 'disable'
15
+ */
16
+ action: string;
17
+ }
18
+ export type UpdateMetricConfigStatusProjectOkResponse = ResponseWithPagination<TypesMetricConfig>;
19
+ export type UpdateMetricConfigStatusProjectErrorResponse = ApierrorsErrorResponse;
20
+ export interface UpdateMetricConfigStatusProjectProps extends UpdateMetricConfigStatusProjectMutationPathParams, Omit<FetcherOptions<UpdateMetricConfigStatusProjectMutationQueryParams, unknown>, 'url'> {
21
+ queryParams: UpdateMetricConfigStatusProjectMutationQueryParams;
22
+ }
23
+ export declare function updateMetricConfigStatusProject(props: UpdateMetricConfigStatusProjectProps): Promise<UpdateMetricConfigStatusProjectOkResponse>;
24
+ /**
25
+ * Update metric configuration status at project level
26
+ */
27
+ export declare function useUpdateMetricConfigStatusProjectMutation(options?: Omit<UseMutationOptions<UpdateMetricConfigStatusProjectOkResponse, UpdateMetricConfigStatusProjectErrorResponse, UpdateMetricConfigStatusProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateMetricConfigStatusProjectOkResponse, ApierrorsErrorResponse, UpdateMetricConfigStatusProjectProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateMetricConfigStatusProject(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/metrics/${props.metric_config_id}/status`, method: 'PATCH' }, props));
8
+ }
9
+ /**
10
+ * Update metric configuration status at project level
11
+ */
12
+ export function useUpdateMetricConfigStatusProjectMutation(options) {
13
+ return useMutation((mutateProps) => updateMetricConfigStatusProject(mutateProps), options);
14
+ }
@@ -15,6 +15,6 @@ export interface ValidateCustomSchemaProps extends ValidateCustomSchemaMutationP
15
15
  }
16
16
  export declare function validateCustomSchema(props: ValidateCustomSchemaProps): Promise<ValidateCustomSchemaOkResponse>;
17
17
  /**
18
- * Validates a custom JSON schema for correctness before saving. Checks structure, optional fields (identifier, name, timestamp) shape, property types, nesting depth (max 2), property count (max 200 per object), and JSON Schema composition keywords (allOf, anyOf, oneOf, not). Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
18
+ * Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
19
19
  */
20
20
  export declare function useValidateCustomSchemaMutation(options?: Omit<UseMutationOptions<ValidateCustomSchemaOkResponse, ValidateCustomSchemaErrorResponse, ValidateCustomSchemaProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ValidateCustomSchemaOkResponse, ApierrorsErrorResponse, ValidateCustomSchemaProps, unknown>;
@@ -7,7 +7,7 @@ export function validateCustomSchema(props) {
7
7
  return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/integration-configs/validate-schema`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Validates a custom JSON schema for correctness before saving. Checks structure, optional fields (identifier, name, timestamp) shape, property types, nesting depth (max 2), property count (max 200 per object), and JSON Schema composition keywords (allOf, anyOf, oneOf, not). Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
10
+ * Validates a custom JSON schema for correctness before saving. No fields are mandatory; type defaults to "object" when omitted and is only rejected if explicitly set to a non-object type. If identifier/name/timestamp/entity_ref/type are present, they must be of type "string" (or ["string","null"]). If tags is present, it must be a string→string map ({"type":"object","additionalProperties":{"type":"string"}}). Enforces max nesting depth of 10, max 200 properties per object (root and nested), and supports JSON Schema composition keywords (allOf, anyOf, oneOf, not). Request body capped at 1 MB. Returns HTTP 200 if valid, HTTP 400 with all collected errors if invalid.
11
11
  */
12
12
  export function useValidateCustomSchemaMutation(options) {
13
13
  return useMutation((mutateProps) => validateCustomSchema(mutateProps), options);
@@ -13,6 +13,12 @@ export type { CreateIntegrationConfigOrgErrorResponse, CreateIntegrationConfigOr
13
13
  export { createIntegrationConfigOrg, useCreateIntegrationConfigOrgMutation, } from './hooks/useCreateIntegrationConfigOrgMutation';
14
14
  export type { CreateIntegrationConfigProjectErrorResponse, CreateIntegrationConfigProjectMutationPathParams, CreateIntegrationConfigProjectOkResponse, CreateIntegrationConfigProjectProps, CreateIntegrationConfigProjectRequestBody, } from './hooks/useCreateIntegrationConfigProjectMutation';
15
15
  export { createIntegrationConfigProject, useCreateIntegrationConfigProjectMutation, } from './hooks/useCreateIntegrationConfigProjectMutation';
16
+ export type { CreateMetricConfigErrorResponse, CreateMetricConfigMutationPathParams, CreateMetricConfigOkResponse, CreateMetricConfigProps, CreateMetricConfigRequestBody, } from './hooks/useCreateMetricConfigMutation';
17
+ export { createMetricConfig, useCreateMetricConfigMutation, } from './hooks/useCreateMetricConfigMutation';
18
+ export type { CreateMetricConfigOrgErrorResponse, CreateMetricConfigOrgMutationPathParams, CreateMetricConfigOrgOkResponse, CreateMetricConfigOrgProps, CreateMetricConfigOrgRequestBody, } from './hooks/useCreateMetricConfigOrgMutation';
19
+ export { createMetricConfigOrg, useCreateMetricConfigOrgMutation, } from './hooks/useCreateMetricConfigOrgMutation';
20
+ export type { CreateMetricConfigProjectErrorResponse, CreateMetricConfigProjectMutationPathParams, CreateMetricConfigProjectOkResponse, CreateMetricConfigProjectProps, CreateMetricConfigProjectRequestBody, } from './hooks/useCreateMetricConfigProjectMutation';
21
+ export { createMetricConfigProject, useCreateMetricConfigProjectMutation, } from './hooks/useCreateMetricConfigProjectMutation';
16
22
  export type { DeleteAgentErrorResponse, DeleteAgentMutationPathParams, DeleteAgentOkResponse, DeleteAgentProps, } from './hooks/useDeleteAgentMutation';
17
23
  export { deleteAgent, useDeleteAgentMutation } from './hooks/useDeleteAgentMutation';
18
24
  export type { DeleteIntegrationConfigErrorResponse, DeleteIntegrationConfigMutationPathParams, DeleteIntegrationConfigOkResponse, DeleteIntegrationConfigProps, } from './hooks/useDeleteIntegrationConfigMutation';
@@ -21,6 +27,12 @@ export type { DeleteIntegrationConfigOrgErrorResponse, DeleteIntegrationConfigOr
21
27
  export { deleteIntegrationConfigOrg, useDeleteIntegrationConfigOrgMutation, } from './hooks/useDeleteIntegrationConfigOrgMutation';
22
28
  export type { DeleteIntegrationConfigProjectErrorResponse, DeleteIntegrationConfigProjectMutationPathParams, DeleteIntegrationConfigProjectOkResponse, DeleteIntegrationConfigProjectProps, } from './hooks/useDeleteIntegrationConfigProjectMutation';
23
29
  export { deleteIntegrationConfigProject, useDeleteIntegrationConfigProjectMutation, } from './hooks/useDeleteIntegrationConfigProjectMutation';
30
+ export type { DeleteMetricConfigErrorResponse, DeleteMetricConfigMutationPathParams, DeleteMetricConfigOkResponse, DeleteMetricConfigProps, } from './hooks/useDeleteMetricConfigMutation';
31
+ export { deleteMetricConfig, useDeleteMetricConfigMutation, } from './hooks/useDeleteMetricConfigMutation';
32
+ export type { DeleteMetricConfigOrgErrorResponse, DeleteMetricConfigOrgMutationPathParams, DeleteMetricConfigOrgOkResponse, DeleteMetricConfigOrgProps, } from './hooks/useDeleteMetricConfigOrgMutation';
33
+ export { deleteMetricConfigOrg, useDeleteMetricConfigOrgMutation, } from './hooks/useDeleteMetricConfigOrgMutation';
34
+ export type { DeleteMetricConfigProjectErrorResponse, DeleteMetricConfigProjectMutationPathParams, DeleteMetricConfigProjectOkResponse, DeleteMetricConfigProjectProps, } from './hooks/useDeleteMetricConfigProjectMutation';
35
+ export { deleteMetricConfigProject, useDeleteMetricConfigProjectMutation, } from './hooks/useDeleteMetricConfigProjectMutation';
24
36
  export type { DeleteSettingErrorResponse, DeleteSettingMutationPathParams, DeleteSettingOkResponse, DeleteSettingProps, } from './hooks/useDeleteSettingMutation';
25
37
  export { deleteSetting, useDeleteSettingMutation } from './hooks/useDeleteSettingMutation';
26
38
  export type { DeleteSettingOrgErrorResponse, DeleteSettingOrgMutationPathParams, DeleteSettingOrgOkResponse, DeleteSettingOrgProps, } from './hooks/useDeleteSettingOrgMutation';
@@ -55,6 +67,12 @@ export type { GetIntegrationConfigProjectErrorResponse, GetIntegrationConfigProj
55
67
  export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
56
68
  export type { GetIntegrationConfigErrorResponse, GetIntegrationConfigOkResponse, GetIntegrationConfigProps, GetIntegrationConfigQueryPathParams, } from './hooks/useGetIntegrationConfigQuery';
57
69
  export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
70
+ export type { GetMetricConfigOrgErrorResponse, GetMetricConfigOrgOkResponse, GetMetricConfigOrgProps, GetMetricConfigOrgQueryPathParams, } from './hooks/useGetMetricConfigOrgQuery';
71
+ export { getMetricConfigOrg, useGetMetricConfigOrgQuery } from './hooks/useGetMetricConfigOrgQuery';
72
+ export type { GetMetricConfigProjectErrorResponse, GetMetricConfigProjectOkResponse, GetMetricConfigProjectProps, GetMetricConfigProjectQueryPathParams, } from './hooks/useGetMetricConfigProjectQuery';
73
+ export { getMetricConfigProject, useGetMetricConfigProjectQuery, } from './hooks/useGetMetricConfigProjectQuery';
74
+ export type { GetMetricConfigErrorResponse, GetMetricConfigOkResponse, GetMetricConfigProps, GetMetricConfigQueryPathParams, } from './hooks/useGetMetricConfigQuery';
75
+ export { getMetricConfig, useGetMetricConfigQuery } from './hooks/useGetMetricConfigQuery';
58
76
  export type { ListAgentsErrorResponse, ListAgentsOkResponse, ListAgentsProps, ListAgentsQueryPathParams, } from './hooks/useListAgentsQuery';
59
77
  export { listAgents, useListAgentsQuery } from './hooks/useListAgentsQuery';
60
78
  export type { ListDefaultMappingFieldsErrorResponse, ListDefaultMappingFieldsOkResponse, ListDefaultMappingFieldsProps, ListDefaultMappingFieldsQueryPathParams, ListDefaultMappingFieldsQueryQueryParams, } from './hooks/useListDefaultMappingFieldsQuery';
@@ -73,6 +91,12 @@ export type { ListIntegrationEventsProjectErrorResponse, ListIntegrationEventsPr
73
91
  export { listIntegrationEventsProject, useListIntegrationEventsProjectQuery, } from './hooks/useListIntegrationEventsProjectQuery';
74
92
  export type { ListIntegrationEventsErrorResponse, ListIntegrationEventsOkResponse, ListIntegrationEventsProps, ListIntegrationEventsQueryPathParams, ListIntegrationEventsQueryQueryParams, } from './hooks/useListIntegrationEventsQuery';
75
93
  export { listIntegrationEvents, useListIntegrationEventsQuery, } from './hooks/useListIntegrationEventsQuery';
94
+ export type { ListMetricConfigsOrgErrorResponse, ListMetricConfigsOrgOkResponse, ListMetricConfigsOrgProps, ListMetricConfigsOrgQueryPathParams, ListMetricConfigsOrgQueryQueryParams, } from './hooks/useListMetricConfigsOrgQuery';
95
+ export { listMetricConfigsOrg, useListMetricConfigsOrgQuery, } from './hooks/useListMetricConfigsOrgQuery';
96
+ export type { ListMetricConfigsProjectErrorResponse, ListMetricConfigsProjectOkResponse, ListMetricConfigsProjectProps, ListMetricConfigsProjectQueryPathParams, ListMetricConfigsProjectQueryQueryParams, } from './hooks/useListMetricConfigsProjectQuery';
97
+ export { listMetricConfigsProject, useListMetricConfigsProjectQuery, } from './hooks/useListMetricConfigsProjectQuery';
98
+ export type { ListMetricConfigsErrorResponse, ListMetricConfigsOkResponse, ListMetricConfigsProps, ListMetricConfigsQueryPathParams, ListMetricConfigsQueryQueryParams, } from './hooks/useListMetricConfigsQuery';
99
+ export { listMetricConfigs, useListMetricConfigsQuery } from './hooks/useListMetricConfigsQuery';
76
100
  export type { ListSettingsOrgErrorResponse, ListSettingsOrgOkResponse, ListSettingsOrgProps, ListSettingsOrgQueryPathParams, } from './hooks/useListSettingsOrgQuery';
77
101
  export { listSettingsOrg, useListSettingsOrgQuery } from './hooks/useListSettingsOrgQuery';
78
102
  export type { ListSettingsProjectErrorResponse, ListSettingsProjectOkResponse, ListSettingsProjectProps, ListSettingsProjectQueryPathParams, } from './hooks/useListSettingsProjectQuery';
@@ -111,6 +135,18 @@ export type { UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOr
111
135
  export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
112
136
  export type { UpdateIntegrationStatusProjectErrorResponse, UpdateIntegrationStatusProjectMutationPathParams, UpdateIntegrationStatusProjectMutationQueryParams, UpdateIntegrationStatusProjectOkResponse, UpdateIntegrationStatusProjectProps, } from './hooks/useUpdateIntegrationStatusProjectMutation';
113
137
  export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
138
+ export type { UpdateMetricConfigErrorResponse, UpdateMetricConfigMutationPathParams, UpdateMetricConfigOkResponse, UpdateMetricConfigProps, UpdateMetricConfigRequestBody, } from './hooks/useUpdateMetricConfigMutation';
139
+ export { updateMetricConfig, useUpdateMetricConfigMutation, } from './hooks/useUpdateMetricConfigMutation';
140
+ export type { UpdateMetricConfigOrgErrorResponse, UpdateMetricConfigOrgMutationPathParams, UpdateMetricConfigOrgOkResponse, UpdateMetricConfigOrgProps, UpdateMetricConfigOrgRequestBody, } from './hooks/useUpdateMetricConfigOrgMutation';
141
+ export { updateMetricConfigOrg, useUpdateMetricConfigOrgMutation, } from './hooks/useUpdateMetricConfigOrgMutation';
142
+ export type { UpdateMetricConfigProjectErrorResponse, UpdateMetricConfigProjectMutationPathParams, UpdateMetricConfigProjectOkResponse, UpdateMetricConfigProjectProps, UpdateMetricConfigProjectRequestBody, } from './hooks/useUpdateMetricConfigProjectMutation';
143
+ export { updateMetricConfigProject, useUpdateMetricConfigProjectMutation, } from './hooks/useUpdateMetricConfigProjectMutation';
144
+ export type { UpdateMetricConfigStatusErrorResponse, UpdateMetricConfigStatusMutationPathParams, UpdateMetricConfigStatusMutationQueryParams, UpdateMetricConfigStatusOkResponse, UpdateMetricConfigStatusProps, } from './hooks/useUpdateMetricConfigStatusMutation';
145
+ export { updateMetricConfigStatus, useUpdateMetricConfigStatusMutation, } from './hooks/useUpdateMetricConfigStatusMutation';
146
+ export type { UpdateMetricConfigStatusOrgErrorResponse, UpdateMetricConfigStatusOrgMutationPathParams, UpdateMetricConfigStatusOrgMutationQueryParams, UpdateMetricConfigStatusOrgOkResponse, UpdateMetricConfigStatusOrgProps, } from './hooks/useUpdateMetricConfigStatusOrgMutation';
147
+ export { updateMetricConfigStatusOrg, useUpdateMetricConfigStatusOrgMutation, } from './hooks/useUpdateMetricConfigStatusOrgMutation';
148
+ export type { UpdateMetricConfigStatusProjectErrorResponse, UpdateMetricConfigStatusProjectMutationPathParams, UpdateMetricConfigStatusProjectMutationQueryParams, UpdateMetricConfigStatusProjectOkResponse, UpdateMetricConfigStatusProjectProps, } from './hooks/useUpdateMetricConfigStatusProjectMutation';
149
+ export { updateMetricConfigStatusProject, useUpdateMetricConfigStatusProjectMutation, } from './hooks/useUpdateMetricConfigStatusProjectMutation';
114
150
  export type { UpsertSettingsErrorResponse, UpsertSettingsMutationPathParams, UpsertSettingsOkResponse, UpsertSettingsProps, UpsertSettingsRequestBody, } from './hooks/useUpsertSettingsMutation';
115
151
  export { upsertSettings, useUpsertSettingsMutation } from './hooks/useUpsertSettingsMutation';
116
152
  export type { UpsertSettingsOrgErrorResponse, UpsertSettingsOrgMutationPathParams, UpsertSettingsOrgOkResponse, UpsertSettingsOrgProps, UpsertSettingsOrgRequestBody, } from './hooks/useUpsertSettingsOrgMutation';
@@ -151,6 +187,9 @@ export type { OpenapiCreateAirbyteIntegrationConfigRequest } from './schemas/Ope
151
187
  export type { OpenapiCreateIntegrationConfigOrgRequest } from './schemas/OpenapiCreateIntegrationConfigOrgRequest';
152
188
  export type { OpenapiCreateIntegrationConfigProjectRequest } from './schemas/OpenapiCreateIntegrationConfigProjectRequest';
153
189
  export type { OpenapiCreateIntegrationConfigRequest } from './schemas/OpenapiCreateIntegrationConfigRequest';
190
+ export type { OpenapiCreateMetricConfigOrgRequest } from './schemas/OpenapiCreateMetricConfigOrgRequest';
191
+ export type { OpenapiCreateMetricConfigProjectRequest } from './schemas/OpenapiCreateMetricConfigProjectRequest';
192
+ export type { OpenapiCreateMetricConfigRequest } from './schemas/OpenapiCreateMetricConfigRequest';
154
193
  export type { OpenapiFieldValFilterRequest } from './schemas/OpenapiFieldValFilterRequest';
155
194
  export type { OpenapiGetAirbyteConnectorCatalogRequest } from './schemas/OpenapiGetAirbyteConnectorCatalogRequest';
156
195
  export type { OpenapiGetEntitiesOrgRequest } from './schemas/OpenapiGetEntitiesOrgRequest';
@@ -168,9 +207,13 @@ export type { OpenapiUpdateAirbyteIntegrationConfigRequest } from './schemas/Ope
168
207
  export type { OpenapiUpdateIntegrationConfigOrgRequest } from './schemas/OpenapiUpdateIntegrationConfigOrgRequest';
169
208
  export type { OpenapiUpdateIntegrationConfigProjectRequest } from './schemas/OpenapiUpdateIntegrationConfigProjectRequest';
170
209
  export type { OpenapiUpdateIntegrationConfigRequest } from './schemas/OpenapiUpdateIntegrationConfigRequest';
210
+ export type { OpenapiUpdateMetricConfigOrgRequest } from './schemas/OpenapiUpdateMetricConfigOrgRequest';
211
+ export type { OpenapiUpdateMetricConfigProjectRequest } from './schemas/OpenapiUpdateMetricConfigProjectRequest';
212
+ export type { OpenapiUpdateMetricConfigRequest } from './schemas/OpenapiUpdateMetricConfigRequest';
171
213
  export type { OpenapiValidateCustomSchemaOrgRequest } from './schemas/OpenapiValidateCustomSchemaOrgRequest';
172
214
  export type { OpenapiValidateCustomSchemaProjectRequest } from './schemas/OpenapiValidateCustomSchemaProjectRequest';
173
215
  export type { OpenapiValidateCustomSchemaRequest } from './schemas/OpenapiValidateCustomSchemaRequest';
216
+ export type { TimeDuration } from './schemas/TimeDuration';
174
217
  export type { TypesAgentStatus } from './schemas/TypesAgentStatus';
175
218
  export type { TypesAirbyteCatalogConfigured } from './schemas/TypesAirbyteCatalogConfigured';
176
219
  export type { TypesAirbyteCatalogDiscovered } from './schemas/TypesAirbyteCatalogDiscovered';
@@ -204,6 +247,10 @@ export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
204
247
  export type { TypesListDefaultMappingFieldsResponse } from './schemas/TypesListDefaultMappingFieldsResponse';
205
248
  export type { TypesMappingConfig } from './schemas/TypesMappingConfig';
206
249
  export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
250
+ export type { TypesMetricConfig } from './schemas/TypesMetricConfig';
251
+ export type { TypesMetricConfiguration } from './schemas/TypesMetricConfiguration';
252
+ export type { TypesMetricErrors } from './schemas/TypesMetricErrors';
253
+ export type { TypesReevalState } from './schemas/TypesReevalState';
207
254
  export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
208
255
  export type { TypesScope } from './schemas/TypesScope';
209
256
  export type { TypesScopeConfig } from './schemas/TypesScopeConfig';