@harnessio/react-notification-service-client 0.11.0 → 0.12.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/notification-service/src/services/hooks/useDeleteNotificationChannelRefMutation.d.ts +4 -4
- package/dist/notification-service/src/services/hooks/useDeleteNotificationRuleRefMutation.d.ts +4 -4
- package/dist/notification-service/src/services/schemas/ChannelDto.d.ts +2 -0
- package/package.json +1 -1
package/dist/notification-service/src/services/hooks/useDeleteNotificationChannelRefMutation.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface DeleteNotificationChannelRefAccountHeaderParams {
|
|
|
8
8
|
'Harness-Account'?: string;
|
|
9
9
|
}
|
|
10
10
|
export type DeleteNotificationChannelRefAccountOKResponse = unknown;
|
|
11
|
-
export type DeleteNotificationChannelRefAccountErrorResponse =
|
|
11
|
+
export type DeleteNotificationChannelRefAccountErrorResponse = {};
|
|
12
12
|
export interface DeleteNotificationChannelRefOrgPathParams {
|
|
13
13
|
'notification-channel': string;
|
|
14
14
|
org: string;
|
|
@@ -17,7 +17,7 @@ export interface DeleteNotificationChannelRefOrgHeaderParams {
|
|
|
17
17
|
'Harness-Account'?: string;
|
|
18
18
|
}
|
|
19
19
|
export type DeleteNotificationChannelRefOrgOKResponse = unknown;
|
|
20
|
-
export type DeleteNotificationChannelRefOrgErrorResponse =
|
|
20
|
+
export type DeleteNotificationChannelRefOrgErrorResponse = {};
|
|
21
21
|
export interface DeleteNotificationChannelRefProjectPathParams {
|
|
22
22
|
'notification-channel': string;
|
|
23
23
|
org: string;
|
|
@@ -27,11 +27,11 @@ export interface DeleteNotificationChannelRefProjectHeaderParams {
|
|
|
27
27
|
'Harness-Account'?: string;
|
|
28
28
|
}
|
|
29
29
|
export type DeleteNotificationChannelRefProjectOKResponse = unknown;
|
|
30
|
-
export type DeleteNotificationChannelRefProjectErrorResponse =
|
|
30
|
+
export type DeleteNotificationChannelRefProjectErrorResponse = {};
|
|
31
31
|
export type DeleteNotificationChannelRefOKResponse<T> = T extends DeleteNotificationChannelRefProjectPathParams ? ResponseWithPagination<DeleteNotificationChannelRefProjectOKResponse> : T extends DeleteNotificationChannelRefOrgPathParams ? ResponseWithPagination<DeleteNotificationChannelRefOrgOKResponse> : ResponseWithPagination<DeleteNotificationChannelRefAccountOKResponse>;
|
|
32
32
|
export type DeleteNotificationChannelRefErrorResponse<T> = T extends DeleteNotificationChannelRefProjectPathParams ? DeleteNotificationChannelRefProjectErrorResponse : T extends DeleteNotificationChannelRefOrgPathParams ? DeleteNotificationChannelRefOrgErrorResponse : DeleteNotificationChannelRefAccountErrorResponse;
|
|
33
33
|
export interface DeleteNotificationChannelRefProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
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 useDeleteNotificationChannelRefMutation(options?: Omit<UseMutationOptions<DeleteNotificationChannelRefOKResponse<unknown>, DeleteNotificationChannelRefErrorResponse<unknown>, DeleteNotificationChannelRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<unknown>,
|
|
37
|
+
export declare function useDeleteNotificationChannelRefMutation(options?: Omit<UseMutationOptions<DeleteNotificationChannelRefOKResponse<unknown>, DeleteNotificationChannelRefErrorResponse<unknown>, DeleteNotificationChannelRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<unknown>, DeleteNotificationChannelRefAccountErrorResponse, DeleteNotificationChannelRefProps, unknown>;
|
package/dist/notification-service/src/services/hooks/useDeleteNotificationRuleRefMutation.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface DeleteNotificationRuleRefAccountHeaderParams {
|
|
|
8
8
|
'Harness-Account'?: string;
|
|
9
9
|
}
|
|
10
10
|
export type DeleteNotificationRuleRefAccountOKResponse = unknown;
|
|
11
|
-
export type DeleteNotificationRuleRefAccountErrorResponse =
|
|
11
|
+
export type DeleteNotificationRuleRefAccountErrorResponse = {};
|
|
12
12
|
export interface DeleteNotificationRuleRefOrgPathParams {
|
|
13
13
|
org: string;
|
|
14
14
|
'notification-rule': string;
|
|
@@ -17,7 +17,7 @@ export interface DeleteNotificationRuleRefOrgHeaderParams {
|
|
|
17
17
|
'Harness-Account'?: string;
|
|
18
18
|
}
|
|
19
19
|
export type DeleteNotificationRuleRefOrgOKResponse = unknown;
|
|
20
|
-
export type DeleteNotificationRuleRefOrgErrorResponse =
|
|
20
|
+
export type DeleteNotificationRuleRefOrgErrorResponse = {};
|
|
21
21
|
export interface DeleteNotificationRuleRefProjectPathParams {
|
|
22
22
|
org: string;
|
|
23
23
|
project: string;
|
|
@@ -27,11 +27,11 @@ export interface DeleteNotificationRuleRefProjectHeaderParams {
|
|
|
27
27
|
'Harness-Account'?: string;
|
|
28
28
|
}
|
|
29
29
|
export type DeleteNotificationRuleRefProjectOKResponse = unknown;
|
|
30
|
-
export type DeleteNotificationRuleRefProjectErrorResponse =
|
|
30
|
+
export type DeleteNotificationRuleRefProjectErrorResponse = {};
|
|
31
31
|
export type DeleteNotificationRuleRefOKResponse<T> = T extends DeleteNotificationRuleRefProjectPathParams ? ResponseWithPagination<DeleteNotificationRuleRefProjectOKResponse> : T extends DeleteNotificationRuleRefOrgPathParams ? ResponseWithPagination<DeleteNotificationRuleRefOrgOKResponse> : ResponseWithPagination<DeleteNotificationRuleRefAccountOKResponse>;
|
|
32
32
|
export type DeleteNotificationRuleRefErrorResponse<T> = T extends DeleteNotificationRuleRefProjectPathParams ? DeleteNotificationRuleRefProjectErrorResponse : T extends DeleteNotificationRuleRefOrgPathParams ? DeleteNotificationRuleRefOrgErrorResponse : DeleteNotificationRuleRefAccountErrorResponse;
|
|
33
33
|
export interface DeleteNotificationRuleRefProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
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 useDeleteNotificationRuleRefMutation(options?: Omit<UseMutationOptions<DeleteNotificationRuleRefOKResponse<unknown>, DeleteNotificationRuleRefErrorResponse<unknown>, DeleteNotificationRuleRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<unknown>,
|
|
37
|
+
export declare function useDeleteNotificationRuleRefMutation(options?: Omit<UseMutationOptions<DeleteNotificationRuleRefOKResponse<unknown>, DeleteNotificationRuleRefErrorResponse<unknown>, DeleteNotificationRuleRefProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ResponseWithPagination<unknown>, DeleteNotificationRuleRefAccountErrorResponse, DeleteNotificationRuleRefProps, unknown>;
|
|
@@ -3,7 +3,9 @@ import type { UserGroupDto } from '../schemas/UserGroupDto';
|
|
|
3
3
|
export interface ChannelDto {
|
|
4
4
|
api_key?: string;
|
|
5
5
|
datadog_urls?: string[];
|
|
6
|
+
delegate_selectors?: string[];
|
|
6
7
|
email_ids?: string[];
|
|
8
|
+
execute_on_delegate?: boolean;
|
|
7
9
|
headers?: WebHookHeaders[];
|
|
8
10
|
ms_team_keys?: string[];
|
|
9
11
|
pager_duty_integration_keys?: string[];
|
package/package.json
CHANGED