@harnessio/react-har-service-client 0.4.0 → 0.5.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 (48) hide show
  1. package/dist/har-service/src/services/hooks/useCreateWebhookMutation.d.ts +23 -0
  2. package/dist/har-service/src/services/hooks/useCreateWebhookMutation.js +14 -0
  3. package/dist/har-service/src/services/hooks/useDeleteWebhookMutation.d.ts +22 -0
  4. package/dist/har-service/src/services/hooks/useDeleteWebhookMutation.js +14 -0
  5. package/dist/har-service/src/services/hooks/useGetWebhookExecutionQuery.d.ts +22 -0
  6. package/dist/har-service/src/services/hooks/useGetWebhookExecutionQuery.js +19 -0
  7. package/dist/har-service/src/services/hooks/useGetWebhookQuery.d.ts +21 -0
  8. package/dist/har-service/src/services/hooks/useGetWebhookQuery.js +14 -0
  9. package/dist/har-service/src/services/hooks/useListWebhookExecutionsQuery.d.ts +34 -0
  10. package/dist/har-service/src/services/hooks/useListWebhookExecutionsQuery.js +14 -0
  11. package/dist/har-service/src/services/hooks/useListWebhooksQuery.d.ts +36 -0
  12. package/dist/har-service/src/services/hooks/useListWebhooksQuery.js +14 -0
  13. package/dist/har-service/src/services/hooks/useRetriggerWebhookExecutionQuery.d.ts +22 -0
  14. package/dist/har-service/src/services/hooks/useRetriggerWebhookExecutionQuery.js +19 -0
  15. package/dist/har-service/src/services/hooks/useUpdateWebhookMutation.d.ts +24 -0
  16. package/dist/har-service/src/services/hooks/useUpdateWebhookMutation.js +14 -0
  17. package/dist/har-service/src/services/index.d.ts +30 -0
  18. package/dist/har-service/src/services/index.js +8 -0
  19. package/dist/har-service/src/services/requestBodies/WebhookRequestRequestBody.d.ts +2 -0
  20. package/dist/har-service/src/services/requestBodies/WebhookRequestRequestBody.js +1 -0
  21. package/dist/har-service/src/services/responses/ListWebhooksExecutionResponseResponse.d.ts +6 -0
  22. package/dist/har-service/src/services/responses/ListWebhooksExecutionResponseResponse.js +1 -0
  23. package/dist/har-service/src/services/responses/ListWebhooksResponseResponse.d.ts +6 -0
  24. package/dist/har-service/src/services/responses/ListWebhooksResponseResponse.js +1 -0
  25. package/dist/har-service/src/services/responses/WebhookExecutionResponseResponse.d.ts +6 -0
  26. package/dist/har-service/src/services/responses/WebhookExecutionResponseResponse.js +1 -0
  27. package/dist/har-service/src/services/responses/WebhookResponseResponse.d.ts +6 -0
  28. package/dist/har-service/src/services/responses/WebhookResponseResponse.js +1 -0
  29. package/dist/har-service/src/services/schemas/AccessKeySecretKey.d.ts +2 -0
  30. package/dist/har-service/src/services/schemas/ListWebhooks.d.ts +33 -0
  31. package/dist/har-service/src/services/schemas/ListWebhooks.js +1 -0
  32. package/dist/har-service/src/services/schemas/ListWebhooksExecutions.d.ts +33 -0
  33. package/dist/har-service/src/services/schemas/ListWebhooksExecutions.js +1 -0
  34. package/dist/har-service/src/services/schemas/Trigger.d.ts +4 -0
  35. package/dist/har-service/src/services/schemas/Trigger.js +4 -0
  36. package/dist/har-service/src/services/schemas/Webhook.d.ts +35 -0
  37. package/dist/har-service/src/services/schemas/Webhook.js +1 -0
  38. package/dist/har-service/src/services/schemas/WebhookExecRequest.d.ts +8 -0
  39. package/dist/har-service/src/services/schemas/WebhookExecRequest.js +4 -0
  40. package/dist/har-service/src/services/schemas/WebhookExecResponse.d.ts +9 -0
  41. package/dist/har-service/src/services/schemas/WebhookExecResponse.js +4 -0
  42. package/dist/har-service/src/services/schemas/WebhookExecResult.d.ts +4 -0
  43. package/dist/har-service/src/services/schemas/WebhookExecResult.js +4 -0
  44. package/dist/har-service/src/services/schemas/WebhookExecution.d.ts +35 -0
  45. package/dist/har-service/src/services/schemas/WebhookExecution.js +1 -0
  46. package/dist/har-service/src/services/schemas/WebhookRequest.d.ts +10 -0
  47. package/dist/har-service/src/services/schemas/WebhookRequest.js +1 -0
  48. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { WebhookResponseResponse } from '../responses/WebhookResponseResponse';
3
+ import type { BadRequestResponse } from '../responses/BadRequestResponse';
4
+ import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
5
+ import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
6
+ import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
7
+ import type { WebhookRequestRequestBody } from '../requestBodies/WebhookRequestRequestBody';
8
+ import type { ResponseWithPagination } from '../helpers';
9
+ import { FetcherOptions } from '../../../../fetcher/index.js';
10
+ export interface CreateWebhookMutationPathParams {
11
+ registry_ref: string;
12
+ }
13
+ export type CreateWebhookRequestBody = WebhookRequestRequestBody;
14
+ export type CreateWebhookOkResponse = ResponseWithPagination<WebhookResponseResponse>;
15
+ export type CreateWebhookErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
16
+ export interface CreateWebhookProps extends CreateWebhookMutationPathParams, Omit<FetcherOptions<unknown, CreateWebhookRequestBody>, 'url'> {
17
+ body: CreateWebhookRequestBody;
18
+ }
19
+ export declare function createWebhook(props: CreateWebhookProps): Promise<CreateWebhookOkResponse>;
20
+ /**
21
+ * Returns Webhook Details
22
+ */
23
+ export declare function useCreateWebhookMutation(options?: Omit<UseMutationOptions<CreateWebhookOkResponse, CreateWebhookErrorResponse, CreateWebhookProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateWebhookOkResponse, import("..").Error, CreateWebhookProps, 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 createWebhook(props) {
7
+ return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/webhooks`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Returns Webhook Details
11
+ */
12
+ export function useCreateWebhookMutation(options) {
13
+ return useMutation((mutateProps) => createWebhook(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SuccessResponse } from '../responses/SuccessResponse';
3
+ import type { BadRequestResponse } from '../responses/BadRequestResponse';
4
+ import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
5
+ import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
6
+ import type { NotFoundResponse } from '../responses/NotFoundResponse';
7
+ import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
8
+ import type { ResponseWithPagination } from '../helpers';
9
+ import { FetcherOptions } from '../../../../fetcher/index.js';
10
+ export interface DeleteWebhookMutationPathParams {
11
+ registry_ref: string;
12
+ webhook_identifier: string;
13
+ }
14
+ export type DeleteWebhookOkResponse = ResponseWithPagination<SuccessResponse>;
15
+ export type DeleteWebhookErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
16
+ export interface DeleteWebhookProps extends DeleteWebhookMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
17
+ }
18
+ export declare function deleteWebhook(props: DeleteWebhookProps): Promise<DeleteWebhookOkResponse>;
19
+ /**
20
+ * Delete a Webhook
21
+ */
22
+ export declare function useDeleteWebhookMutation(options?: Omit<UseMutationOptions<DeleteWebhookOkResponse, DeleteWebhookErrorResponse, DeleteWebhookProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteWebhookOkResponse, import("..").Error, DeleteWebhookProps, 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 deleteWebhook(props) {
7
+ return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/webhooks/${props.webhook_identifier}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete a Webhook
11
+ */
12
+ export function useDeleteWebhookMutation(options) {
13
+ return useMutation((mutateProps) => deleteWebhook(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { WebhookExecutionResponseResponse } from '../responses/WebhookExecutionResponseResponse';
3
+ import type { BadRequestResponse } from '../responses/BadRequestResponse';
4
+ import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
5
+ import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
6
+ import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
7
+ import type { ResponseWithPagination } from '../helpers';
8
+ import { FetcherOptions } from '../../../../fetcher/index.js';
9
+ export interface GetWebhookExecutionQueryPathParams {
10
+ registry_ref: string;
11
+ webhook_identifier: string;
12
+ webhook_execution_id: string;
13
+ }
14
+ export type GetWebhookExecutionOkResponse = ResponseWithPagination<WebhookExecutionResponseResponse>;
15
+ export type GetWebhookExecutionErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
16
+ export interface GetWebhookExecutionProps extends GetWebhookExecutionQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
17
+ }
18
+ export declare function getWebhookExecution(props: GetWebhookExecutionProps): Promise<GetWebhookExecutionOkResponse>;
19
+ /**
20
+ * Returns Webhook Execution Details
21
+ */
22
+ export declare function useGetWebhookExecutionQuery(props: GetWebhookExecutionProps, options?: Omit<UseQueryOptions<GetWebhookExecutionOkResponse, GetWebhookExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetWebhookExecutionOkResponse, import("..").Error>;
@@ -0,0 +1,19 @@
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 getWebhookExecution(props) {
7
+ return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/webhooks/${props.webhook_identifier}/executions/${props.webhook_execution_id}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns Webhook Execution Details
11
+ */
12
+ export function useGetWebhookExecutionQuery(props, options) {
13
+ return useQuery([
14
+ 'GetWebhookExecution',
15
+ props.registry_ref,
16
+ props.webhook_identifier,
17
+ props.webhook_execution_id,
18
+ ], ({ signal }) => getWebhookExecution(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { WebhookResponseResponse } from '../responses/WebhookResponseResponse';
3
+ import type { BadRequestResponse } from '../responses/BadRequestResponse';
4
+ import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
5
+ import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
6
+ import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
7
+ import type { ResponseWithPagination } from '../helpers';
8
+ import { FetcherOptions } from '../../../../fetcher/index.js';
9
+ export interface GetWebhookQueryPathParams {
10
+ registry_ref: string;
11
+ webhook_identifier: string;
12
+ }
13
+ export type GetWebhookOkResponse = ResponseWithPagination<WebhookResponseResponse>;
14
+ export type GetWebhookErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
15
+ export interface GetWebhookProps extends GetWebhookQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
16
+ }
17
+ export declare function getWebhook(props: GetWebhookProps): Promise<GetWebhookOkResponse>;
18
+ /**
19
+ * Returns Webhook Details
20
+ */
21
+ export declare function useGetWebhookQuery(props: GetWebhookProps, options?: Omit<UseQueryOptions<GetWebhookOkResponse, GetWebhookErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetWebhookOkResponse, import("..").Error>;
@@ -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 getWebhook(props) {
7
+ return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/webhooks/${props.webhook_identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns Webhook Details
11
+ */
12
+ export function useGetWebhookQuery(props, options) {
13
+ return useQuery(['GetWebhook', props.registry_ref, props.webhook_identifier], ({ signal }) => getWebhook(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,34 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ListWebhooksExecutionResponseResponse } from '../responses/ListWebhooksExecutionResponseResponse';
3
+ import type { BadRequestResponse } from '../responses/BadRequestResponse';
4
+ import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
5
+ import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
6
+ import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
7
+ import type { ResponseWithPagination } from '../helpers';
8
+ import { FetcherOptions } from '../../../../fetcher/index.js';
9
+ export interface ListWebhookExecutionsQueryPathParams {
10
+ registry_ref: string;
11
+ webhook_identifier: string;
12
+ }
13
+ export interface ListWebhookExecutionsQueryQueryParams {
14
+ /**
15
+ * @format int64
16
+ * @default 1
17
+ */
18
+ page?: number;
19
+ /**
20
+ * @format int64
21
+ * @default 20
22
+ */
23
+ size?: number;
24
+ }
25
+ export type ListWebhookExecutionsOkResponse = ResponseWithPagination<ListWebhooksExecutionResponseResponse>;
26
+ export type ListWebhookExecutionsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
27
+ export interface ListWebhookExecutionsProps extends ListWebhookExecutionsQueryPathParams, Omit<FetcherOptions<ListWebhookExecutionsQueryQueryParams, unknown>, 'url'> {
28
+ queryParams: ListWebhookExecutionsQueryQueryParams;
29
+ }
30
+ export declare function listWebhookExecutions(props: ListWebhookExecutionsProps): Promise<ListWebhookExecutionsOkResponse>;
31
+ /**
32
+ * Returns Webhook Execution Details List
33
+ */
34
+ export declare function useListWebhookExecutionsQuery(props: ListWebhookExecutionsProps, options?: Omit<UseQueryOptions<ListWebhookExecutionsOkResponse, ListWebhookExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListWebhookExecutionsOkResponse, import("..").Error>;
@@ -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 listWebhookExecutions(props) {
7
+ return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/webhooks/${props.webhook_identifier}/executions`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns Webhook Execution Details List
11
+ */
12
+ export function useListWebhookExecutionsQuery(props, options) {
13
+ return useQuery(['ListWebhookExecutions', props.registry_ref, props.webhook_identifier, props.queryParams], ({ signal }) => listWebhookExecutions(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,36 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ListWebhooksResponseResponse } from '../responses/ListWebhooksResponseResponse';
3
+ import type { BadRequestResponse } from '../responses/BadRequestResponse';
4
+ import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
5
+ import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
6
+ import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
7
+ import type { ResponseWithPagination } from '../helpers';
8
+ import { FetcherOptions } from '../../../../fetcher/index.js';
9
+ export interface ListWebhooksQueryPathParams {
10
+ registry_ref: string;
11
+ }
12
+ export interface ListWebhooksQueryQueryParams {
13
+ /**
14
+ * @format int64
15
+ * @default 1
16
+ */
17
+ page?: number;
18
+ /**
19
+ * @format int64
20
+ * @default 20
21
+ */
22
+ size?: number;
23
+ sort_order?: string;
24
+ sort_field?: string;
25
+ search_term?: string;
26
+ }
27
+ export type ListWebhooksOkResponse = ResponseWithPagination<ListWebhooksResponseResponse>;
28
+ export type ListWebhooksErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
29
+ export interface ListWebhooksProps extends ListWebhooksQueryPathParams, Omit<FetcherOptions<ListWebhooksQueryQueryParams, unknown>, 'url'> {
30
+ queryParams: ListWebhooksQueryQueryParams;
31
+ }
32
+ export declare function listWebhooks(props: ListWebhooksProps): Promise<ListWebhooksOkResponse>;
33
+ /**
34
+ * Returns List of Webhook Details
35
+ */
36
+ export declare function useListWebhooksQuery(props: ListWebhooksProps, options?: Omit<UseQueryOptions<ListWebhooksOkResponse, ListWebhooksErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListWebhooksOkResponse, import("..").Error>;
@@ -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 listWebhooks(props) {
7
+ return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/webhooks`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns List of Webhook Details
11
+ */
12
+ export function useListWebhooksQuery(props, options) {
13
+ return useQuery(['ListWebhooks', props.registry_ref, props.queryParams], ({ signal }) => listWebhooks(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { WebhookExecutionResponseResponse } from '../responses/WebhookExecutionResponseResponse';
3
+ import type { BadRequestResponse } from '../responses/BadRequestResponse';
4
+ import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
5
+ import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
6
+ import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
7
+ import type { ResponseWithPagination } from '../helpers';
8
+ import { FetcherOptions } from '../../../../fetcher/index.js';
9
+ export interface RetriggerWebhookExecutionQueryPathParams {
10
+ registry_ref: string;
11
+ webhook_identifier: string;
12
+ webhook_execution_id: string;
13
+ }
14
+ export type RetriggerWebhookExecutionOkResponse = ResponseWithPagination<WebhookExecutionResponseResponse>;
15
+ export type RetriggerWebhookExecutionErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
16
+ export interface RetriggerWebhookExecutionProps extends RetriggerWebhookExecutionQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
17
+ }
18
+ export declare function retriggerWebhookExecution(props: RetriggerWebhookExecutionProps): Promise<RetriggerWebhookExecutionOkResponse>;
19
+ /**
20
+ * Retrigger Webhook Execution
21
+ */
22
+ export declare function useRetriggerWebhookExecutionQuery(props: RetriggerWebhookExecutionProps, options?: Omit<UseQueryOptions<RetriggerWebhookExecutionOkResponse, RetriggerWebhookExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<RetriggerWebhookExecutionOkResponse, import("..").Error>;
@@ -0,0 +1,19 @@
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 retriggerWebhookExecution(props) {
7
+ return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/webhooks/${props.webhook_identifier}/executions/${props.webhook_execution_id}/retrigger`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrigger Webhook Execution
11
+ */
12
+ export function useRetriggerWebhookExecutionQuery(props, options) {
13
+ return useQuery([
14
+ 'RetriggerWebhookExecution',
15
+ props.registry_ref,
16
+ props.webhook_identifier,
17
+ props.webhook_execution_id,
18
+ ], ({ signal }) => retriggerWebhookExecution(Object.assign(Object.assign({}, props), { signal })), options);
19
+ }
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { WebhookResponseResponse } from '../responses/WebhookResponseResponse';
3
+ import type { BadRequestResponse } from '../responses/BadRequestResponse';
4
+ import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
5
+ import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
6
+ import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse';
7
+ import type { WebhookRequestRequestBody } from '../requestBodies/WebhookRequestRequestBody';
8
+ import type { ResponseWithPagination } from '../helpers';
9
+ import { FetcherOptions } from '../../../../fetcher/index.js';
10
+ export interface UpdateWebhookMutationPathParams {
11
+ registry_ref: string;
12
+ webhook_identifier: string;
13
+ }
14
+ export type UpdateWebhookRequestBody = WebhookRequestRequestBody;
15
+ export type UpdateWebhookOkResponse = ResponseWithPagination<WebhookResponseResponse>;
16
+ export type UpdateWebhookErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse;
17
+ export interface UpdateWebhookProps extends UpdateWebhookMutationPathParams, Omit<FetcherOptions<unknown, UpdateWebhookRequestBody>, 'url'> {
18
+ body: UpdateWebhookRequestBody;
19
+ }
20
+ export declare function updateWebhook(props: UpdateWebhookProps): Promise<UpdateWebhookOkResponse>;
21
+ /**
22
+ * Returns Webhook Details
23
+ */
24
+ export declare function useUpdateWebhookMutation(options?: Omit<UseMutationOptions<UpdateWebhookOkResponse, UpdateWebhookErrorResponse, UpdateWebhookProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateWebhookOkResponse, import("..").Error, UpdateWebhookProps, 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 updateWebhook(props) {
7
+ return fetcher(Object.assign({ url: `/registry/${props.registry_ref}/webhooks/${props.webhook_identifier}`, method: 'PATCH' }, props));
8
+ }
9
+ /**
10
+ * Returns Webhook Details
11
+ */
12
+ export function useUpdateWebhookMutation(options) {
13
+ return useMutation((mutateProps) => updateWebhook(mutateProps), options);
14
+ }
@@ -1,12 +1,16 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
2
  export type { CreateRegistryErrorResponse, CreateRegistryMutationQueryParams, CreateRegistryOkResponse, CreateRegistryProps, CreateRegistryRequestBody, } from './hooks/useCreateRegistryMutation';
3
3
  export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
4
+ export type { CreateWebhookErrorResponse, CreateWebhookMutationPathParams, CreateWebhookOkResponse, CreateWebhookProps, CreateWebhookRequestBody, } from './hooks/useCreateWebhookMutation';
5
+ export { createWebhook, useCreateWebhookMutation } from './hooks/useCreateWebhookMutation';
4
6
  export type { DeleteArtifactErrorResponse, DeleteArtifactMutationPathParams, DeleteArtifactOkResponse, DeleteArtifactProps, } from './hooks/useDeleteArtifactMutation';
5
7
  export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
6
8
  export type { DeleteArtifactVersionErrorResponse, DeleteArtifactVersionMutationPathParams, DeleteArtifactVersionOkResponse, DeleteArtifactVersionProps, } from './hooks/useDeleteArtifactVersionMutation';
7
9
  export { deleteArtifactVersion, useDeleteArtifactVersionMutation, } from './hooks/useDeleteArtifactVersionMutation';
8
10
  export type { DeleteRegistryErrorResponse, DeleteRegistryMutationPathParams, DeleteRegistryOkResponse, DeleteRegistryProps, } from './hooks/useDeleteRegistryMutation';
9
11
  export { deleteRegistry, useDeleteRegistryMutation } from './hooks/useDeleteRegistryMutation';
12
+ export type { DeleteWebhookErrorResponse, DeleteWebhookMutationPathParams, DeleteWebhookOkResponse, DeleteWebhookProps, } from './hooks/useDeleteWebhookMutation';
13
+ export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
10
14
  export type { GetAllArtifactVersionsErrorResponse, GetAllArtifactVersionsOkResponse, GetAllArtifactVersionsProps, GetAllArtifactVersionsQueryPathParams, GetAllArtifactVersionsQueryQueryParams, } from './hooks/useGetAllArtifactVersionsQuery';
11
15
  export { getAllArtifactVersions, useGetAllArtifactVersionsQuery, } from './hooks/useGetAllArtifactVersionsQuery';
12
16
  export type { GetAllArtifactsByRegistryErrorResponse, GetAllArtifactsByRegistryOkResponse, GetAllArtifactsByRegistryProps, GetAllArtifactsByRegistryQueryPathParams, GetAllArtifactsByRegistryQueryQueryParams, } from './hooks/useGetAllArtifactsByRegistryQuery';
@@ -49,16 +53,29 @@ export type { GetHelmArtifactManifestErrorResponse, GetHelmArtifactManifestOkRes
49
53
  export { getHelmArtifactManifest, useGetHelmArtifactManifestQuery, } from './hooks/useGetHelmArtifactManifestQuery';
50
54
  export type { GetRegistryErrorResponse, GetRegistryOkResponse, GetRegistryProps, GetRegistryQueryPathParams, } from './hooks/useGetRegistryQuery';
51
55
  export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
56
+ export type { GetWebhookExecutionErrorResponse, GetWebhookExecutionOkResponse, GetWebhookExecutionProps, GetWebhookExecutionQueryPathParams, } from './hooks/useGetWebhookExecutionQuery';
57
+ export { getWebhookExecution, useGetWebhookExecutionQuery, } from './hooks/useGetWebhookExecutionQuery';
58
+ export type { GetWebhookErrorResponse, GetWebhookOkResponse, GetWebhookProps, GetWebhookQueryPathParams, } from './hooks/useGetWebhookQuery';
59
+ export { getWebhook, useGetWebhookQuery } from './hooks/useGetWebhookQuery';
52
60
  export type { ListArtifactLabelsErrorResponse, ListArtifactLabelsOkResponse, ListArtifactLabelsProps, ListArtifactLabelsQueryPathParams, ListArtifactLabelsQueryQueryParams, } from './hooks/useListArtifactLabelsQuery';
53
61
  export { listArtifactLabels, useListArtifactLabelsQuery } from './hooks/useListArtifactLabelsQuery';
62
+ export type { ListWebhookExecutionsErrorResponse, ListWebhookExecutionsOkResponse, ListWebhookExecutionsProps, ListWebhookExecutionsQueryPathParams, ListWebhookExecutionsQueryQueryParams, } from './hooks/useListWebhookExecutionsQuery';
63
+ export { listWebhookExecutions, useListWebhookExecutionsQuery, } from './hooks/useListWebhookExecutionsQuery';
64
+ export type { ListWebhooksErrorResponse, ListWebhooksOkResponse, ListWebhooksProps, ListWebhooksQueryPathParams, ListWebhooksQueryQueryParams, } from './hooks/useListWebhooksQuery';
65
+ export { listWebhooks, useListWebhooksQuery } from './hooks/useListWebhooksQuery';
54
66
  export type { ModifyRegistryErrorResponse, ModifyRegistryMutationPathParams, ModifyRegistryOkResponse, ModifyRegistryProps, ModifyRegistryRequestBody, } from './hooks/useModifyRegistryMutation';
55
67
  export { modifyRegistry, useModifyRegistryMutation } from './hooks/useModifyRegistryMutation';
56
68
  export type { RedirectHarnessArtifactErrorResponse, RedirectHarnessArtifactOkResponse, RedirectHarnessArtifactProps, RedirectHarnessArtifactQueryPathParams, RedirectHarnessArtifactQueryQueryParams, } from './hooks/useRedirectHarnessArtifactQuery';
57
69
  export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
70
+ export type { RetriggerWebhookExecutionErrorResponse, RetriggerWebhookExecutionOkResponse, RetriggerWebhookExecutionProps, RetriggerWebhookExecutionQueryPathParams, } from './hooks/useRetriggerWebhookExecutionQuery';
71
+ export { retriggerWebhookExecution, useRetriggerWebhookExecutionQuery, } from './hooks/useRetriggerWebhookExecutionQuery';
58
72
  export type { UpdateArtifactLabelsErrorResponse, UpdateArtifactLabelsMutationPathParams, UpdateArtifactLabelsOkResponse, UpdateArtifactLabelsProps, UpdateArtifactLabelsRequestBody, } from './hooks/useUpdateArtifactLabelsMutation';
59
73
  export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
74
+ export type { UpdateWebhookErrorResponse, UpdateWebhookMutationPathParams, UpdateWebhookOkResponse, UpdateWebhookProps, UpdateWebhookRequestBody, } from './hooks/useUpdateWebhookMutation';
75
+ export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
60
76
  export type { ArtifactLabelRequestRequestBody } from './requestBodies/ArtifactLabelRequestRequestBody';
61
77
  export type { RegistryRequestRequestBody } from './requestBodies/RegistryRequestRequestBody';
78
+ export type { WebhookRequestRequestBody } from './requestBodies/WebhookRequestRequestBody';
62
79
  export type { ArtifactDeploymentsResponseResponse } from './responses/ArtifactDeploymentsResponseResponse';
63
80
  export type { ArtifactDetailResponseResponse } from './responses/ArtifactDetailResponseResponse';
64
81
  export type { ArtifactLabelResponseResponse } from './responses/ArtifactLabelResponseResponse';
@@ -81,12 +98,16 @@ export type { ListArtifactResponseResponse } from './responses/ListArtifactRespo
81
98
  export type { ListArtifactVersionResponseResponse } from './responses/ListArtifactVersionResponseResponse';
82
99
  export type { ListRegistryArtifactResponseResponse } from './responses/ListRegistryArtifactResponseResponse';
83
100
  export type { ListRegistryResponseResponse } from './responses/ListRegistryResponseResponse';
101
+ export type { ListWebhooksExecutionResponseResponse } from './responses/ListWebhooksExecutionResponseResponse';
102
+ export type { ListWebhooksResponseResponse } from './responses/ListWebhooksResponseResponse';
84
103
  export type { NotFoundResponse } from './responses/NotFoundResponse';
85
104
  export type { RedirectResponse } from './responses/RedirectResponse';
86
105
  export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
87
106
  export type { SuccessResponse } from './responses/SuccessResponse';
88
107
  export type { UnauthenticatedResponse } from './responses/UnauthenticatedResponse';
89
108
  export type { UnauthorizedResponse } from './responses/UnauthorizedResponse';
109
+ export type { WebhookExecutionResponseResponse } from './responses/WebhookExecutionResponseResponse';
110
+ export type { WebhookResponseResponse } from './responses/WebhookResponseResponse';
90
111
  export type { AccessKeySecretKey } from './schemas/AccessKeySecretKey';
91
112
  export type { Anonymous } from './schemas/Anonymous';
92
113
  export type { ArtifactDeploymentsDetail } from './schemas/ArtifactDeploymentsDetail';
@@ -130,6 +151,8 @@ export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
130
151
  export type { ListArtifactVersion } from './schemas/ListArtifactVersion';
131
152
  export type { ListRegistry } from './schemas/ListRegistry';
132
153
  export type { ListRegistryArtifact } from './schemas/ListRegistryArtifact';
154
+ export type { ListWebhooks } from './schemas/ListWebhooks';
155
+ export type { ListWebhooksExecutions } from './schemas/ListWebhooksExecutions';
133
156
  export type { PackageType } from './schemas/PackageType';
134
157
  export type { Registry } from './schemas/Registry';
135
158
  export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadata';
@@ -144,6 +167,13 @@ export type { Status } from './schemas/Status';
144
167
  export type { StoDetails } from './schemas/StoDetails';
145
168
  export type { StoDigestMetadata } from './schemas/StoDigestMetadata';
146
169
  export type { StoMetadata } from './schemas/StoMetadata';
170
+ export type { Trigger } from './schemas/Trigger';
147
171
  export type { UpstreamConfig } from './schemas/UpstreamConfig';
148
172
  export type { UserPassword } from './schemas/UserPassword';
149
173
  export type { VirtualConfig } from './schemas/VirtualConfig';
174
+ export type { Webhook } from './schemas/Webhook';
175
+ export type { WebhookExecRequest } from './schemas/WebhookExecRequest';
176
+ export type { WebhookExecResponse } from './schemas/WebhookExecResponse';
177
+ export type { WebhookExecResult } from './schemas/WebhookExecResult';
178
+ export type { WebhookExecution } from './schemas/WebhookExecution';
179
+ export type { WebhookRequest } from './schemas/WebhookRequest';
@@ -1,7 +1,9 @@
1
1
  export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
2
+ export { createWebhook, useCreateWebhookMutation } from './hooks/useCreateWebhookMutation';
2
3
  export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
3
4
  export { deleteArtifactVersion, useDeleteArtifactVersionMutation, } from './hooks/useDeleteArtifactVersionMutation';
4
5
  export { deleteRegistry, useDeleteRegistryMutation } from './hooks/useDeleteRegistryMutation';
6
+ export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
5
7
  export { getAllArtifactVersions, useGetAllArtifactVersionsQuery, } from './hooks/useGetAllArtifactVersionsQuery';
6
8
  export { getAllArtifactsByRegistry, useGetAllArtifactsByRegistryQuery, } from './hooks/useGetAllArtifactsByRegistryQuery';
7
9
  export { getAllHarnessArtifacts, useGetAllHarnessArtifactsQuery, } from './hooks/useGetAllHarnessArtifactsQuery';
@@ -23,7 +25,13 @@ export { getDockerArtifactManifests, useGetDockerArtifactManifestsQuery, } from
23
25
  export { getHelmArtifactDetails, useGetHelmArtifactDetailsQuery, } from './hooks/useGetHelmArtifactDetailsQuery';
24
26
  export { getHelmArtifactManifest, useGetHelmArtifactManifestQuery, } from './hooks/useGetHelmArtifactManifestQuery';
25
27
  export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
28
+ export { getWebhookExecution, useGetWebhookExecutionQuery, } from './hooks/useGetWebhookExecutionQuery';
29
+ export { getWebhook, useGetWebhookQuery } from './hooks/useGetWebhookQuery';
26
30
  export { listArtifactLabels, useListArtifactLabelsQuery } from './hooks/useListArtifactLabelsQuery';
31
+ export { listWebhookExecutions, useListWebhookExecutionsQuery, } from './hooks/useListWebhookExecutionsQuery';
32
+ export { listWebhooks, useListWebhooksQuery } from './hooks/useListWebhooksQuery';
27
33
  export { modifyRegistry, useModifyRegistryMutation } from './hooks/useModifyRegistryMutation';
28
34
  export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
35
+ export { retriggerWebhookExecution, useRetriggerWebhookExecutionQuery, } from './hooks/useRetriggerWebhookExecutionQuery';
29
36
  export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
37
+ export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
@@ -0,0 +1,2 @@
1
+ import type { WebhookRequest } from '../schemas/WebhookRequest';
2
+ export type WebhookRequestRequestBody = WebhookRequest;
@@ -0,0 +1,6 @@
1
+ import type { ListWebhooksExecutions } from '../schemas/ListWebhooksExecutions';
2
+ import type { Status } from '../schemas/Status';
3
+ export interface ListWebhooksExecutionResponseResponse {
4
+ data: ListWebhooksExecutions;
5
+ status: Status;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { ListWebhooks } from '../schemas/ListWebhooks';
2
+ import type { Status } from '../schemas/Status';
3
+ export interface ListWebhooksResponseResponse {
4
+ data: ListWebhooks;
5
+ status: Status;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { WebhookExecution } from '../schemas/WebhookExecution';
2
+ import type { Status } from '../schemas/Status';
3
+ export interface WebhookExecutionResponseResponse {
4
+ data: WebhookExecution;
5
+ status: Status;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { Webhook } from '../schemas/Webhook';
2
+ import type { Status } from '../schemas/Status';
3
+ export interface WebhookResponseResponse {
4
+ data: Webhook;
5
+ status: Status;
6
+ }
@@ -1,7 +1,9 @@
1
1
  export interface AccessKeySecretKey {
2
2
  accessKey?: string;
3
3
  accessKeySecretIdentifier?: string;
4
+ accessKeySecretSpaceId?: number;
4
5
  accessKeySecretSpacePath?: string;
5
6
  secretKeyIdentifier: string;
7
+ secretKeySpaceId?: number;
6
8
  secretKeySpacePath: string;
7
9
  }
@@ -0,0 +1,33 @@
1
+ import type { Webhook } from '../schemas/Webhook';
2
+ /**
3
+ * A list of Harness Registries webhooks
4
+ */
5
+ export interface ListWebhooks {
6
+ /**
7
+ * The total number of items
8
+ * @format int64
9
+ * @example 1
10
+ */
11
+ itemCount?: number;
12
+ /**
13
+ * The total number of pages
14
+ * @format int64
15
+ * @example 100
16
+ */
17
+ pageCount?: number;
18
+ /**
19
+ * The current page
20
+ * @format int64
21
+ * @example 0
22
+ */
23
+ pageIndex?: number;
24
+ /**
25
+ * The number of items per page
26
+ * @example 1
27
+ */
28
+ pageSize?: number;
29
+ /**
30
+ * A list of Registries webhooks
31
+ */
32
+ webhooks: Webhook[];
33
+ }
@@ -0,0 +1,33 @@
1
+ import type { WebhookExecution } from '../schemas/WebhookExecution';
2
+ /**
3
+ * A list of Harness Registries webhooks executions
4
+ */
5
+ export interface ListWebhooksExecutions {
6
+ /**
7
+ * A list of Registries webhooks executions
8
+ */
9
+ executions: WebhookExecution[];
10
+ /**
11
+ * The total number of items
12
+ * @format int64
13
+ * @example 1
14
+ */
15
+ itemCount?: number;
16
+ /**
17
+ * The total number of pages
18
+ * @format int64
19
+ * @example 100
20
+ */
21
+ pageCount?: number;
22
+ /**
23
+ * The current page
24
+ * @format int64
25
+ * @example 0
26
+ */
27
+ pageIndex?: number;
28
+ /**
29
+ * The number of items per page
30
+ * @example 1
31
+ */
32
+ pageSize?: number;
33
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * refers to trigger
3
+ */
4
+ export type Trigger = 'ARTIFACT_CREATION' | 'ARTIFACT_DELETION' | 'ARTIFACT_MODIFICATION';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,35 @@
1
+ import type { WebhookExecResult } from '../schemas/WebhookExecResult';
2
+ import type { Trigger } from '../schemas/Trigger';
3
+ /**
4
+ * Harness Regstries Webhook
5
+ */
6
+ export interface Webhook {
7
+ /**
8
+ * @format int64
9
+ */
10
+ createdAt?: number;
11
+ /**
12
+ * @format int64
13
+ */
14
+ created_by?: number;
15
+ enabled?: boolean;
16
+ has_secret?: boolean;
17
+ /**
18
+ * @format int64
19
+ */
20
+ id?: number;
21
+ identifier: string;
22
+ insecure?: boolean;
23
+ latestExecutionResult?: WebhookExecResult;
24
+ /**
25
+ * @format int64
26
+ */
27
+ modifiedAt?: number;
28
+ name: string;
29
+ triggers?: Trigger[];
30
+ url: string;
31
+ /**
32
+ * @format int64
33
+ */
34
+ version?: number;
35
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Harness Regstries HTTP Webhook Request
3
+ */
4
+ export interface WebhookExecRequest {
5
+ body?: string;
6
+ headers?: string;
7
+ url?: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Harness Regstries HTTP Webhook Response
3
+ */
4
+ export interface WebhookExecResponse {
5
+ body?: string;
6
+ headers?: string;
7
+ status?: string;
8
+ status_code?: number;
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ /**
2
+ * refers to webhook execution
3
+ */
4
+ export type WebhookExecResult = 'FATAL_ERROR' | 'RETRIABLE_ERROR' | 'SUCCESS';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,35 @@
1
+ import type { WebhookExecRequest } from '../schemas/WebhookExecRequest';
2
+ import type { WebhookExecResponse } from '../schemas/WebhookExecResponse';
3
+ import type { WebhookExecResult } from '../schemas/WebhookExecResult';
4
+ import type { Trigger } from '../schemas/Trigger';
5
+ /**
6
+ * Harness Regstries Webhook Execution
7
+ */
8
+ export interface WebhookExecution {
9
+ /**
10
+ * @format int64
11
+ */
12
+ created?: number;
13
+ /**
14
+ * @format int64
15
+ */
16
+ duration?: number;
17
+ error?: string;
18
+ /**
19
+ * @format int64
20
+ */
21
+ id?: number;
22
+ request?: WebhookExecRequest;
23
+ response?: WebhookExecResponse;
24
+ result?: WebhookExecResult;
25
+ /**
26
+ * @format int64
27
+ */
28
+ retrigger_of?: number;
29
+ retriggerable?: boolean;
30
+ trigger_type?: Trigger;
31
+ /**
32
+ * @format int64
33
+ */
34
+ webhook_id?: number;
35
+ }
@@ -0,0 +1,10 @@
1
+ import type { Trigger } from '../schemas/Trigger';
2
+ export interface WebhookRequest {
3
+ description?: string;
4
+ enabled?: boolean;
5
+ identifier: string;
6
+ insecure?: boolean;
7
+ secret?: string;
8
+ triggers?: Trigger[];
9
+ url: string;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",