@harnessio/react-notification-service-client 0.2.0 → 0.3.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.
Files changed (13) hide show
  1. package/dist/notification-service/src/services/hooks/{useCreateNotificationChannelRefQuery.d.ts → useCreateNotificationChannelRefMutation.d.ts} +2 -2
  2. package/dist/notification-service/src/services/hooks/{useCreateNotificationChannelRefQuery.js → useCreateNotificationChannelRefMutation.js} +3 -3
  3. package/dist/notification-service/src/services/hooks/{useCreateNotificationRuleRefQuery.d.ts → useCreateNotificationRuleRefMutation.d.ts} +2 -2
  4. package/dist/notification-service/src/services/hooks/{useCreateNotificationRuleRefQuery.js → useCreateNotificationRuleRefMutation.js} +3 -3
  5. package/dist/notification-service/src/services/hooks/{useDeleteNotificationChannelRefQuery.d.ts → useDeleteNotificationChannelRefMutation.d.ts} +2 -2
  6. package/dist/notification-service/src/services/hooks/{useDeleteNotificationChannelRefQuery.js → useDeleteNotificationChannelRefMutation.js} +3 -3
  7. package/dist/notification-service/src/services/hooks/{useDeleteNotificationRuleRefQuery.d.ts → useDeleteNotificationRuleRefMutation.d.ts} +2 -2
  8. package/dist/notification-service/src/services/hooks/{useDeleteNotificationRuleRefQuery.js → useDeleteNotificationRuleRefMutation.js} +3 -3
  9. package/dist/notification-service/src/services/hooks/{useUpdateNotificationChannelRefQuery.d.ts → useUpdateNotificationChannelRefMutation.d.ts} +2 -2
  10. package/dist/notification-service/src/services/hooks/{useUpdateNotificationChannelRefQuery.js → useUpdateNotificationChannelRefMutation.js} +3 -3
  11. package/dist/notification-service/src/services/index.d.ts +10 -10
  12. package/dist/notification-service/src/services/index.js +5 -5
  13. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { NotificationChannelResponseResponse } from '../responses/NotificationChannelResponseResponse';
3
3
  import type { NotificationChannelRequestRequestBody } from '../requestBodies/NotificationChannelRequestRequestBody';
4
4
  import type { GetPathParamsType, ResponseWithPagination } from '../helpers';
@@ -36,4 +36,4 @@ export interface CreateNotificationChannelRefProps extends Omit<FetcherOptions<u
36
36
  pathParams: CreateNotificationChannelRefAccountPathParams | CreateNotificationChannelRefOrgPathParams | CreateNotificationChannelRefProjectPathParams;
37
37
  }
38
38
  export declare function createNotificationChannelRef<T extends CreateNotificationChannelRefProps = CreateNotificationChannelRefProps>(props: T): Promise<CreateNotificationChannelRefOKResponse<GetPathParamsType<T>>>;
39
- export declare function useCreateNotificationChannelRefQuery<T extends CreateNotificationChannelRefProps = CreateNotificationChannelRefProps>(props: T, options?: Omit<UseQueryOptions<CreateNotificationChannelRefOKResponse<GetPathParamsType<T>>, CreateNotificationChannelRefErrorResponse<GetPathParamsType<T>>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CreateNotificationChannelRefOKResponse<GetPathParamsType<T>>, CreateNotificationChannelRefErrorResponse<GetPathParamsType<T>>>;
39
+ export declare function useCreateNotificationChannelRefMutation(options?: Omit<UseMutationOptions<CreateNotificationChannelRefOKResponse<unknown>, CreateNotificationChannelRefErrorResponse<unknown>, CreateNotificationChannelRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<import("..").NotificationChannelDto>, unknown, CreateNotificationChannelRefProps, unknown>;
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  // This code is autogenerated using @harnessio/oats-cli.
3
3
  // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
4
+ import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  function isProjectPathParams(pathParams) {
7
7
  return !!(pathParams.org &&
@@ -25,6 +25,6 @@ export function createNotificationChannelRef(props) {
25
25
  return fetcher(Object.assign({ url,
26
26
  method }, props));
27
27
  }
28
- export function useCreateNotificationChannelRefQuery(props, options) {
29
- return useQuery(['createNotificationChannelRef'], ({ signal }) => createNotificationChannelRef(Object.assign(Object.assign({}, props), { signal })), options);
28
+ export function useCreateNotificationChannelRefMutation(options) {
29
+ return useMutation((mutateProps) => createNotificationChannelRef(mutateProps), options);
30
30
  }
@@ -1,4 +1,4 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { NotificationRuleResponseResponse } from '../responses/NotificationRuleResponseResponse';
3
3
  import type { NotificationRuleRequestRequestBody } from '../requestBodies/NotificationRuleRequestRequestBody';
4
4
  import type { GetPathParamsType, ResponseWithPagination } from '../helpers';
@@ -36,4 +36,4 @@ export interface CreateNotificationRuleRefProps extends Omit<FetcherOptions<unkn
36
36
  pathParams: CreateNotificationRuleRefAccountPathParams | CreateNotificationRuleRefOrgPathParams | CreateNotificationRuleRefProjectPathParams;
37
37
  }
38
38
  export declare function createNotificationRuleRef<T extends CreateNotificationRuleRefProps = CreateNotificationRuleRefProps>(props: T): Promise<CreateNotificationRuleRefOKResponse<GetPathParamsType<T>>>;
39
- export declare function useCreateNotificationRuleRefQuery<T extends CreateNotificationRuleRefProps = CreateNotificationRuleRefProps>(props: T, options?: Omit<UseQueryOptions<CreateNotificationRuleRefOKResponse<GetPathParamsType<T>>, CreateNotificationRuleRefErrorResponse<GetPathParamsType<T>>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<CreateNotificationRuleRefOKResponse<GetPathParamsType<T>>, CreateNotificationRuleRefErrorResponse<GetPathParamsType<T>>>;
39
+ export declare function useCreateNotificationRuleRefMutation(options?: Omit<UseMutationOptions<CreateNotificationRuleRefOKResponse<unknown>, CreateNotificationRuleRefErrorResponse<unknown>, CreateNotificationRuleRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<import("..").NotificationRuleDto>, unknown, CreateNotificationRuleRefProps, unknown>;
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  // This code is autogenerated using @harnessio/oats-cli.
3
3
  // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
4
+ import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  function isProjectPathParams(pathParams) {
7
7
  return !!(pathParams.org &&
@@ -25,6 +25,6 @@ export function createNotificationRuleRef(props) {
25
25
  return fetcher(Object.assign({ url,
26
26
  method }, props));
27
27
  }
28
- export function useCreateNotificationRuleRefQuery(props, options) {
29
- return useQuery(['createNotificationRuleRef'], ({ signal }) => createNotificationRuleRef(Object.assign(Object.assign({}, props), { signal })), options);
28
+ export function useCreateNotificationRuleRefMutation(options) {
29
+ return useMutation((mutateProps) => createNotificationRuleRef(mutateProps), options);
30
30
  }
@@ -1,4 +1,4 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { GetPathParamsType, ResponseWithPagination } from '../helpers';
3
3
  import { FetcherOptions } from '../../../../fetcher/index.js';
4
4
  export interface DeleteNotificationChannelRefAccountPathParams {
@@ -34,4 +34,4 @@ export interface DeleteNotificationChannelRefProps extends Omit<FetcherOptions<u
34
34
  pathParams: DeleteNotificationChannelRefAccountPathParams | DeleteNotificationChannelRefOrgPathParams | DeleteNotificationChannelRefProjectPathParams;
35
35
  }
36
36
  export declare function deleteNotificationChannelRef<T extends DeleteNotificationChannelRefProps = DeleteNotificationChannelRefProps>(props: T): Promise<DeleteNotificationChannelRefOKResponse<GetPathParamsType<T>>>;
37
- export declare function useDeleteNotificationChannelRefQuery<T extends DeleteNotificationChannelRefProps = DeleteNotificationChannelRefProps>(props: T, options?: Omit<UseQueryOptions<DeleteNotificationChannelRefOKResponse<GetPathParamsType<T>>, DeleteNotificationChannelRefErrorResponse<GetPathParamsType<T>>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeleteNotificationChannelRefOKResponse<GetPathParamsType<T>>, DeleteNotificationChannelRefErrorResponse<GetPathParamsType<T>>>;
37
+ export declare function useDeleteNotificationChannelRefMutation(options?: Omit<UseMutationOptions<DeleteNotificationChannelRefOKResponse<unknown>, DeleteNotificationChannelRefErrorResponse<unknown>, DeleteNotificationChannelRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<unknown>, unknown, DeleteNotificationChannelRefProps, unknown>;
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  // This code is autogenerated using @harnessio/oats-cli.
3
3
  // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
4
+ import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  function isProjectPathParams(pathParams) {
7
7
  return !!(pathParams.org &&
@@ -25,6 +25,6 @@ export function deleteNotificationChannelRef(props) {
25
25
  return fetcher(Object.assign({ url,
26
26
  method }, props));
27
27
  }
28
- export function useDeleteNotificationChannelRefQuery(props, options) {
29
- return useQuery(['deleteNotificationChannelRef'], ({ signal }) => deleteNotificationChannelRef(Object.assign(Object.assign({}, props), { signal })), options);
28
+ export function useDeleteNotificationChannelRefMutation(options) {
29
+ return useMutation((mutateProps) => deleteNotificationChannelRef(mutateProps), options);
30
30
  }
@@ -1,4 +1,4 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { GetPathParamsType, ResponseWithPagination } from '../helpers';
3
3
  import { FetcherOptions } from '../../../../fetcher/index.js';
4
4
  export interface DeleteNotificationRuleRefAccountPathParams {
@@ -34,4 +34,4 @@ export interface DeleteNotificationRuleRefProps extends Omit<FetcherOptions<unkn
34
34
  pathParams: DeleteNotificationRuleRefAccountPathParams | DeleteNotificationRuleRefOrgPathParams | DeleteNotificationRuleRefProjectPathParams;
35
35
  }
36
36
  export declare function deleteNotificationRuleRef<T extends DeleteNotificationRuleRefProps = DeleteNotificationRuleRefProps>(props: T): Promise<DeleteNotificationRuleRefOKResponse<GetPathParamsType<T>>>;
37
- export declare function useDeleteNotificationRuleRefQuery<T extends DeleteNotificationRuleRefProps = DeleteNotificationRuleRefProps>(props: T, options?: Omit<UseQueryOptions<DeleteNotificationRuleRefOKResponse<GetPathParamsType<T>>, DeleteNotificationRuleRefErrorResponse<GetPathParamsType<T>>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeleteNotificationRuleRefOKResponse<GetPathParamsType<T>>, DeleteNotificationRuleRefErrorResponse<GetPathParamsType<T>>>;
37
+ export declare function useDeleteNotificationRuleRefMutation(options?: Omit<UseMutationOptions<DeleteNotificationRuleRefOKResponse<unknown>, DeleteNotificationRuleRefErrorResponse<unknown>, DeleteNotificationRuleRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<unknown>, unknown, DeleteNotificationRuleRefProps, unknown>;
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  // This code is autogenerated using @harnessio/oats-cli.
3
3
  // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
4
+ import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  function isProjectPathParams(pathParams) {
7
7
  return !!(pathParams.org &&
@@ -25,6 +25,6 @@ export function deleteNotificationRuleRef(props) {
25
25
  return fetcher(Object.assign({ url,
26
26
  method }, props));
27
27
  }
28
- export function useDeleteNotificationRuleRefQuery(props, options) {
29
- return useQuery(['deleteNotificationRuleRef'], ({ signal }) => deleteNotificationRuleRef(Object.assign(Object.assign({}, props), { signal })), options);
28
+ export function useDeleteNotificationRuleRefMutation(options) {
29
+ return useMutation((mutateProps) => deleteNotificationRuleRef(mutateProps), options);
30
30
  }
@@ -1,4 +1,4 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
2
  import type { NotificationChannelResponseResponse } from '../responses/NotificationChannelResponseResponse';
3
3
  import type { NotificationChannelRequestRequestBody } from '../requestBodies/NotificationChannelRequestRequestBody';
4
4
  import type { GetPathParamsType, ResponseWithPagination } from '../helpers';
@@ -39,4 +39,4 @@ export interface UpdateNotificationChannelRefProps extends Omit<FetcherOptions<u
39
39
  pathParams: UpdateNotificationChannelRefAccountPathParams | UpdateNotificationChannelRefOrgPathParams | UpdateNotificationChannelRefProjectPathParams;
40
40
  }
41
41
  export declare function updateNotificationChannelRef<T extends UpdateNotificationChannelRefProps = UpdateNotificationChannelRefProps>(props: T): Promise<UpdateNotificationChannelRefOKResponse<GetPathParamsType<T>>>;
42
- export declare function useUpdateNotificationChannelRefQuery<T extends UpdateNotificationChannelRefProps = UpdateNotificationChannelRefProps>(props: T, options?: Omit<UseQueryOptions<UpdateNotificationChannelRefOKResponse<GetPathParamsType<T>>, UpdateNotificationChannelRefErrorResponse<GetPathParamsType<T>>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<UpdateNotificationChannelRefOKResponse<GetPathParamsType<T>>, UpdateNotificationChannelRefErrorResponse<GetPathParamsType<T>>>;
42
+ export declare function useUpdateNotificationChannelRefMutation(options?: Omit<UseMutationOptions<UpdateNotificationChannelRefOKResponse<unknown>, UpdateNotificationChannelRefErrorResponse<unknown>, UpdateNotificationChannelRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<import("..").NotificationChannelDto>, unknown, UpdateNotificationChannelRefProps, unknown>;
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  // This code is autogenerated using @harnessio/oats-cli.
3
3
  // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
4
+ import { useMutation } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  function isProjectPathParams(pathParams) {
7
7
  return !!(pathParams.org &&
@@ -25,6 +25,6 @@ export function updateNotificationChannelRef(props) {
25
25
  return fetcher(Object.assign({ url,
26
26
  method }, props));
27
27
  }
28
- export function useUpdateNotificationChannelRefQuery(props, options) {
29
- return useQuery(['updateNotificationChannelRef'], ({ signal }) => updateNotificationChannelRef(Object.assign(Object.assign({}, props), { signal })), options);
28
+ export function useUpdateNotificationChannelRefMutation(options) {
29
+ return useMutation((mutateProps) => updateNotificationChannelRef(mutateProps), options);
30
30
  }
@@ -1,12 +1,12 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
- export type { CreateNotificationChannelRefAccountErrorResponse, CreateNotificationChannelRefAccountOKResponse, CreateNotificationChannelRefAccountRequestBody, CreateNotificationChannelRefOrgErrorResponse, CreateNotificationChannelRefOrgOKResponse, CreateNotificationChannelRefOrgPathParams, CreateNotificationChannelRefOrgRequestBody, CreateNotificationChannelRefProjectErrorResponse, CreateNotificationChannelRefProjectOKResponse, CreateNotificationChannelRefProjectPathParams, CreateNotificationChannelRefProjectRequestBody, CreateNotificationChannelRefProps, } from './hooks/useCreateNotificationChannelRefQuery';
3
- export { createNotificationChannelRef, useCreateNotificationChannelRefQuery, } from './hooks/useCreateNotificationChannelRefQuery';
4
- export type { CreateNotificationRuleRefAccountErrorResponse, CreateNotificationRuleRefAccountOKResponse, CreateNotificationRuleRefAccountRequestBody, CreateNotificationRuleRefOrgErrorResponse, CreateNotificationRuleRefOrgOKResponse, CreateNotificationRuleRefOrgPathParams, CreateNotificationRuleRefOrgRequestBody, CreateNotificationRuleRefProjectErrorResponse, CreateNotificationRuleRefProjectOKResponse, CreateNotificationRuleRefProjectPathParams, CreateNotificationRuleRefProjectRequestBody, CreateNotificationRuleRefProps, } from './hooks/useCreateNotificationRuleRefQuery';
5
- export { createNotificationRuleRef, useCreateNotificationRuleRefQuery, } from './hooks/useCreateNotificationRuleRefQuery';
6
- export type { DeleteNotificationChannelRefAccountErrorResponse, DeleteNotificationChannelRefAccountOKResponse, DeleteNotificationChannelRefAccountPathParams, DeleteNotificationChannelRefOrgErrorResponse, DeleteNotificationChannelRefOrgOKResponse, DeleteNotificationChannelRefOrgPathParams, DeleteNotificationChannelRefProjectErrorResponse, DeleteNotificationChannelRefProjectOKResponse, DeleteNotificationChannelRefProjectPathParams, DeleteNotificationChannelRefProps, } from './hooks/useDeleteNotificationChannelRefQuery';
7
- export { deleteNotificationChannelRef, useDeleteNotificationChannelRefQuery, } from './hooks/useDeleteNotificationChannelRefQuery';
8
- export type { DeleteNotificationRuleRefAccountErrorResponse, DeleteNotificationRuleRefAccountOKResponse, DeleteNotificationRuleRefAccountPathParams, DeleteNotificationRuleRefOrgErrorResponse, DeleteNotificationRuleRefOrgOKResponse, DeleteNotificationRuleRefOrgPathParams, DeleteNotificationRuleRefProjectErrorResponse, DeleteNotificationRuleRefProjectOKResponse, DeleteNotificationRuleRefProjectPathParams, DeleteNotificationRuleRefProps, } from './hooks/useDeleteNotificationRuleRefQuery';
9
- export { deleteNotificationRuleRef, useDeleteNotificationRuleRefQuery, } from './hooks/useDeleteNotificationRuleRefQuery';
2
+ export type { CreateNotificationChannelRefAccountErrorResponse, CreateNotificationChannelRefAccountOKResponse, CreateNotificationChannelRefAccountRequestBody, CreateNotificationChannelRefOrgErrorResponse, CreateNotificationChannelRefOrgOKResponse, CreateNotificationChannelRefOrgPathParams, CreateNotificationChannelRefOrgRequestBody, CreateNotificationChannelRefProjectErrorResponse, CreateNotificationChannelRefProjectOKResponse, CreateNotificationChannelRefProjectPathParams, CreateNotificationChannelRefProjectRequestBody, CreateNotificationChannelRefProps, } from './hooks/useCreateNotificationChannelRefMutation';
3
+ export { createNotificationChannelRef, useCreateNotificationChannelRefMutation, } from './hooks/useCreateNotificationChannelRefMutation';
4
+ export type { CreateNotificationRuleRefAccountErrorResponse, CreateNotificationRuleRefAccountOKResponse, CreateNotificationRuleRefAccountRequestBody, CreateNotificationRuleRefOrgErrorResponse, CreateNotificationRuleRefOrgOKResponse, CreateNotificationRuleRefOrgPathParams, CreateNotificationRuleRefOrgRequestBody, CreateNotificationRuleRefProjectErrorResponse, CreateNotificationRuleRefProjectOKResponse, CreateNotificationRuleRefProjectPathParams, CreateNotificationRuleRefProjectRequestBody, CreateNotificationRuleRefProps, } from './hooks/useCreateNotificationRuleRefMutation';
5
+ export { createNotificationRuleRef, useCreateNotificationRuleRefMutation, } from './hooks/useCreateNotificationRuleRefMutation';
6
+ export type { DeleteNotificationChannelRefAccountErrorResponse, DeleteNotificationChannelRefAccountOKResponse, DeleteNotificationChannelRefAccountPathParams, DeleteNotificationChannelRefOrgErrorResponse, DeleteNotificationChannelRefOrgOKResponse, DeleteNotificationChannelRefOrgPathParams, DeleteNotificationChannelRefProjectErrorResponse, DeleteNotificationChannelRefProjectOKResponse, DeleteNotificationChannelRefProjectPathParams, DeleteNotificationChannelRefProps, } from './hooks/useDeleteNotificationChannelRefMutation';
7
+ export { deleteNotificationChannelRef, useDeleteNotificationChannelRefMutation, } from './hooks/useDeleteNotificationChannelRefMutation';
8
+ export type { DeleteNotificationRuleRefAccountErrorResponse, DeleteNotificationRuleRefAccountOKResponse, DeleteNotificationRuleRefAccountPathParams, DeleteNotificationRuleRefOrgErrorResponse, DeleteNotificationRuleRefOrgOKResponse, DeleteNotificationRuleRefOrgPathParams, DeleteNotificationRuleRefProjectErrorResponse, DeleteNotificationRuleRefProjectOKResponse, DeleteNotificationRuleRefProjectPathParams, DeleteNotificationRuleRefProps, } from './hooks/useDeleteNotificationRuleRefMutation';
9
+ export { deleteNotificationRuleRef, useDeleteNotificationRuleRefMutation, } from './hooks/useDeleteNotificationRuleRefMutation';
10
10
  export type { GetNotificationChannelAccountErrorResponse, GetNotificationChannelAccountOkResponse, GetNotificationChannelAccountProps, GetNotificationChannelAccountQueryPathParams, } from './hooks/useGetNotificationChannelAccountQuery';
11
11
  export { getNotificationChannelAccount, useGetNotificationChannelAccountQuery, } from './hooks/useGetNotificationChannelAccountQuery';
12
12
  export type { GetNotificationChannelOrgErrorResponse, GetNotificationChannelOrgOkResponse, GetNotificationChannelOrgProps, GetNotificationChannelOrgQueryPathParams, } from './hooks/useGetNotificationChannelOrgQuery';
@@ -23,8 +23,8 @@ export type { ListNotificationChannelsRefAccountErrorResponse, ListNotificationC
23
23
  export { listNotificationChannelsRef, useListNotificationChannelsRefQuery, } from './hooks/useListNotificationChannelsRefQuery';
24
24
  export type { ListNotificationRulesRefAccountErrorResponse, ListNotificationRulesRefAccountOKResponse, ListNotificationRulesRefAccountQueryParams, ListNotificationRulesRefOrgErrorResponse, ListNotificationRulesRefOrgOKResponse, ListNotificationRulesRefOrgPathParams, ListNotificationRulesRefOrgQueryParams, ListNotificationRulesRefProjectErrorResponse, ListNotificationRulesRefProjectOKResponse, ListNotificationRulesRefProjectPathParams, ListNotificationRulesRefProjectQueryParams, ListNotificationRulesRefProps, } from './hooks/useListNotificationRulesRefQuery';
25
25
  export { listNotificationRulesRef, useListNotificationRulesRefQuery, } from './hooks/useListNotificationRulesRefQuery';
26
- export type { UpdateNotificationChannelRefAccountErrorResponse, UpdateNotificationChannelRefAccountOKResponse, UpdateNotificationChannelRefAccountPathParams, UpdateNotificationChannelRefAccountRequestBody, UpdateNotificationChannelRefOrgErrorResponse, UpdateNotificationChannelRefOrgOKResponse, UpdateNotificationChannelRefOrgPathParams, UpdateNotificationChannelRefOrgRequestBody, UpdateNotificationChannelRefProjectErrorResponse, UpdateNotificationChannelRefProjectOKResponse, UpdateNotificationChannelRefProjectPathParams, UpdateNotificationChannelRefProjectRequestBody, UpdateNotificationChannelRefProps, } from './hooks/useUpdateNotificationChannelRefQuery';
27
- export { updateNotificationChannelRef, useUpdateNotificationChannelRefQuery, } from './hooks/useUpdateNotificationChannelRefQuery';
26
+ export type { UpdateNotificationChannelRefAccountErrorResponse, UpdateNotificationChannelRefAccountOKResponse, UpdateNotificationChannelRefAccountPathParams, UpdateNotificationChannelRefAccountRequestBody, UpdateNotificationChannelRefOrgErrorResponse, UpdateNotificationChannelRefOrgOKResponse, UpdateNotificationChannelRefOrgPathParams, UpdateNotificationChannelRefOrgRequestBody, UpdateNotificationChannelRefProjectErrorResponse, UpdateNotificationChannelRefProjectOKResponse, UpdateNotificationChannelRefProjectPathParams, UpdateNotificationChannelRefProjectRequestBody, UpdateNotificationChannelRefProps, } from './hooks/useUpdateNotificationChannelRefMutation';
27
+ export { updateNotificationChannelRef, useUpdateNotificationChannelRefMutation, } from './hooks/useUpdateNotificationChannelRefMutation';
28
28
  export type { UpdateNotificationRuleRefAccountErrorResponse, UpdateNotificationRuleRefAccountOKResponse, UpdateNotificationRuleRefAccountPathParams, UpdateNotificationRuleRefAccountRequestBody, UpdateNotificationRuleRefOrgErrorResponse, UpdateNotificationRuleRefOrgOKResponse, UpdateNotificationRuleRefOrgPathParams, UpdateNotificationRuleRefOrgRequestBody, UpdateNotificationRuleRefProjectErrorResponse, UpdateNotificationRuleRefProjectOKResponse, UpdateNotificationRuleRefProjectPathParams, UpdateNotificationRuleRefProjectRequestBody, UpdateNotificationRuleRefProps, } from './hooks/useUpdateNotificationRuleRefMutation';
29
29
  export { updateNotificationRuleRef, useUpdateNotificationRuleRefMutation, } from './hooks/useUpdateNotificationRuleRefMutation';
30
30
  export type { NotificationChannelRequestRequestBody } from './requestBodies/NotificationChannelRequestRequestBody';
@@ -1,7 +1,7 @@
1
- export { createNotificationChannelRef, useCreateNotificationChannelRefQuery, } from './hooks/useCreateNotificationChannelRefQuery';
2
- export { createNotificationRuleRef, useCreateNotificationRuleRefQuery, } from './hooks/useCreateNotificationRuleRefQuery';
3
- export { deleteNotificationChannelRef, useDeleteNotificationChannelRefQuery, } from './hooks/useDeleteNotificationChannelRefQuery';
4
- export { deleteNotificationRuleRef, useDeleteNotificationRuleRefQuery, } from './hooks/useDeleteNotificationRuleRefQuery';
1
+ export { createNotificationChannelRef, useCreateNotificationChannelRefMutation, } from './hooks/useCreateNotificationChannelRefMutation';
2
+ export { createNotificationRuleRef, useCreateNotificationRuleRefMutation, } from './hooks/useCreateNotificationRuleRefMutation';
3
+ export { deleteNotificationChannelRef, useDeleteNotificationChannelRefMutation, } from './hooks/useDeleteNotificationChannelRefMutation';
4
+ export { deleteNotificationRuleRef, useDeleteNotificationRuleRefMutation, } from './hooks/useDeleteNotificationRuleRefMutation';
5
5
  export { getNotificationChannelAccount, useGetNotificationChannelAccountQuery, } from './hooks/useGetNotificationChannelAccountQuery';
6
6
  export { getNotificationChannelOrg, useGetNotificationChannelOrgQuery, } from './hooks/useGetNotificationChannelOrgQuery';
7
7
  export { getNotificationChannel, useGetNotificationChannelQuery, } from './hooks/useGetNotificationChannelQuery';
@@ -10,5 +10,5 @@ export { getNotificationRuleOrg, useGetNotificationRuleOrgQuery, } from './hooks
10
10
  export { getNotificationRule, useGetNotificationRuleQuery, } from './hooks/useGetNotificationRuleQuery';
11
11
  export { listNotificationChannelsRef, useListNotificationChannelsRefQuery, } from './hooks/useListNotificationChannelsRefQuery';
12
12
  export { listNotificationRulesRef, useListNotificationRulesRefQuery, } from './hooks/useListNotificationRulesRefQuery';
13
- export { updateNotificationChannelRef, useUpdateNotificationChannelRefQuery, } from './hooks/useUpdateNotificationChannelRefQuery';
13
+ export { updateNotificationChannelRef, useUpdateNotificationChannelRefMutation, } from './hooks/useUpdateNotificationChannelRefMutation';
14
14
  export { updateNotificationRuleRef, useUpdateNotificationRuleRefMutation, } from './hooks/useUpdateNotificationRuleRefMutation';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-notification-service-client",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Harness React Notification service client - Notification APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",