@harnessio/react-pipeline-swagger-service-client 1.19.0 → 1.20.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/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateOverlayInputSetForPipelineMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/hooks/useCreateTriggerMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/hooks/useUpdateTriggerMutation.d.ts +2 -2
- package/dist/pipeline-swagger-service/src/services/index.d.ts +1 -1
- package/dist/pipeline-swagger-service/src/services/requestBodies/CreateTriggerBodyRequestBody.d.ts +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/ApprovalInstanceResponse.d.ts +1 -0
- package/dist/pipeline-swagger-service/src/services/schemas/NgTriggerEventHistoryResponse.d.ts +1 -1
- package/package.json +1 -1
- package/dist/pipeline-swagger-service/src/services/requestBodies/UpdateTriggerBodyRequestBody.d.ts +0 -1
- /package/dist/pipeline-swagger-service/src/services/requestBodies/{UpdateTriggerBodyRequestBody.js → CreateTriggerBodyRequestBody.js} +0 -0
package/dist/pipeline-swagger-service/src/services/hooks/useCreateInputSetForPipelineMutation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface CreateInputSetForPipelineMutationQueryParams {
|
|
@@ -28,7 +28,7 @@ export interface CreateInputSetForPipelineMutationQueryParams {
|
|
|
28
28
|
*/
|
|
29
29
|
InputSetVersion?: string;
|
|
30
30
|
}
|
|
31
|
-
export type CreateInputSetForPipelineRequestBody =
|
|
31
|
+
export type CreateInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
|
|
32
32
|
export type CreateInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
|
|
33
33
|
export type CreateInputSetForPipelineErrorResponse = Failure | Error;
|
|
34
34
|
export interface CreateInputSetForPipelineProps extends Omit<FetcherOptions<CreateInputSetForPipelineMutationQueryParams, CreateInputSetForPipelineRequestBody>, 'url'> {
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseOverlayInputSetResponse } from '../schemas/ResponseOverlayInputSetResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface CreateOverlayInputSetForPipelineMutationQueryParams {
|
|
@@ -22,7 +22,7 @@ export interface CreateOverlayInputSetForPipelineMutationQueryParams {
|
|
|
22
22
|
repoName?: string;
|
|
23
23
|
isHarnessCodeRepo?: boolean;
|
|
24
24
|
}
|
|
25
|
-
export type CreateOverlayInputSetForPipelineRequestBody =
|
|
25
|
+
export type CreateOverlayInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
|
|
26
26
|
export type CreateOverlayInputSetForPipelineOkResponse = ResponseWithPagination<ResponseOverlayInputSetResponse>;
|
|
27
27
|
export type CreateOverlayInputSetForPipelineErrorResponse = Failure | Error;
|
|
28
28
|
export interface CreateOverlayInputSetForPipelineProps extends Omit<FetcherOptions<CreateOverlayInputSetForPipelineMutationQueryParams, CreateOverlayInputSetForPipelineRequestBody>, 'url'> {
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseNgTriggerResponse } from '../schemas/ResponseNgTriggerResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface CreateTriggerMutationQueryParams {
|
|
@@ -13,7 +13,7 @@ export interface CreateTriggerMutationQueryParams {
|
|
|
13
13
|
ignoreError?: boolean;
|
|
14
14
|
withServiceV2?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export type CreateTriggerRequestBody =
|
|
16
|
+
export type CreateTriggerRequestBody = CreateTriggerBodyRequestBody;
|
|
17
17
|
export type CreateTriggerOkResponse = ResponseWithPagination<ResponseNgTriggerResponse>;
|
|
18
18
|
export type CreateTriggerErrorResponse = Failure | Error;
|
|
19
19
|
export interface CreateTriggerProps extends Omit<FetcherOptions<CreateTriggerMutationQueryParams, CreateTriggerRequestBody>, 'url'> {
|
package/dist/pipeline-swagger-service/src/services/hooks/useUpdateInputSetForPipelineMutation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseInputSetResponse } from '../schemas/ResponseInputSetResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface UpdateInputSetForPipelineMutationPathParams {
|
|
@@ -36,7 +36,7 @@ export interface UpdateInputSetForPipelineMutationQueryParams {
|
|
|
36
36
|
export interface UpdateInputSetForPipelineMutationHeaderParams {
|
|
37
37
|
'If-Match'?: string;
|
|
38
38
|
}
|
|
39
|
-
export type UpdateInputSetForPipelineRequestBody =
|
|
39
|
+
export type UpdateInputSetForPipelineRequestBody = CreateTriggerBodyRequestBody;
|
|
40
40
|
export type UpdateInputSetForPipelineOkResponse = ResponseWithPagination<ResponseInputSetResponse>;
|
|
41
41
|
export type UpdateInputSetForPipelineErrorResponse = Failure | Error;
|
|
42
42
|
export interface UpdateInputSetForPipelineProps extends UpdateInputSetForPipelineMutationPathParams, Omit<FetcherOptions<UpdateInputSetForPipelineMutationQueryParams, UpdateInputSetForPipelineRequestBody, UpdateInputSetForPipelineMutationHeaderParams>, 'url'> {
|
|
@@ -2,7 +2,7 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
2
2
|
import type { ResponseNgTriggerResponse } from '../schemas/ResponseNgTriggerResponse';
|
|
3
3
|
import type { Failure } from '../schemas/Failure';
|
|
4
4
|
import type { Error } from '../schemas/Error';
|
|
5
|
-
import type {
|
|
5
|
+
import type { CreateTriggerBodyRequestBody } from '../requestBodies/CreateTriggerBodyRequestBody';
|
|
6
6
|
import type { ResponseWithPagination } from '../helpers';
|
|
7
7
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
8
|
export interface UpdateTriggerMutationPathParams {
|
|
@@ -18,7 +18,7 @@ export interface UpdateTriggerMutationQueryParams {
|
|
|
18
18
|
export interface UpdateTriggerMutationHeaderParams {
|
|
19
19
|
'If-Match'?: string;
|
|
20
20
|
}
|
|
21
|
-
export type UpdateTriggerRequestBody =
|
|
21
|
+
export type UpdateTriggerRequestBody = CreateTriggerBodyRequestBody;
|
|
22
22
|
export type UpdateTriggerOkResponse = ResponseWithPagination<ResponseNgTriggerResponse>;
|
|
23
23
|
export type UpdateTriggerErrorResponse = Failure | Error;
|
|
24
24
|
export interface UpdateTriggerProps extends UpdateTriggerMutationPathParams, Omit<FetcherOptions<UpdateTriggerMutationQueryParams, UpdateTriggerRequestBody, UpdateTriggerMutationHeaderParams>, 'url'> {
|
|
@@ -100,9 +100,9 @@ export { updateTrigger, useUpdateTriggerMutation } from './hooks/useUpdateTrigge
|
|
|
100
100
|
export type { UpdateTriggerStatusErrorResponse, UpdateTriggerStatusMutationPathParams, UpdateTriggerStatusMutationQueryParams, UpdateTriggerStatusOkResponse, UpdateTriggerStatusProps, } from './hooks/useUpdateTriggerStatusMutation';
|
|
101
101
|
export { updateTriggerStatus, useUpdateTriggerStatusMutation, } from './hooks/useUpdateTriggerStatusMutation';
|
|
102
102
|
export type { ClonePipelinePropertiesRequestBody } from './requestBodies/ClonePipelinePropertiesRequestBody';
|
|
103
|
+
export type { CreateTriggerBodyRequestBody } from './requestBodies/CreateTriggerBodyRequestBody';
|
|
103
104
|
export type { FilterDtoRequestBody } from './requestBodies/FilterDtoRequestBody';
|
|
104
105
|
export type { FilterPropertiesRequestBody } from './requestBodies/FilterPropertiesRequestBody';
|
|
105
|
-
export type { UpdateTriggerBodyRequestBody } from './requestBodies/UpdateTriggerBodyRequestBody';
|
|
106
106
|
export type { AbortedBy } from './schemas/AbortedBy';
|
|
107
107
|
export type { AccessControlCheckError } from './schemas/AccessControlCheckError';
|
|
108
108
|
export type { AdviserIssuer } from './schemas/AdviserIssuer';
|
package/dist/pipeline-swagger-service/src/services/requestBodies/CreateTriggerBodyRequestBody.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CreateTriggerBodyRequestBody = string;
|
package/dist/pipeline-swagger-service/src/services/schemas/NgTriggerEventHistoryResponse.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface NgTriggerEventHistoryResponse {
|
|
|
13
13
|
*/
|
|
14
14
|
eventCreatedAt?: number;
|
|
15
15
|
exceptionOccurred?: boolean;
|
|
16
|
-
finalStatus?: 'ALL_MAPPED_TRIGGER_FAILED_VALIDATION_FOR_POLLING_EVENT' | 'EXCEPTION_WHILE_PROCESSING' | 'FAILED_TO_FETCH_PR_DETAILS' | 'HARNESS_ARTIFACT_REGISTRY_WEBHOOK_NOT_EXECUTED' | 'INVALID_HARNESS_ARTIFACT_REGISTRY_TRIGGER_ACTION' | 'INVALID_PAYLOAD' | 'INVALID_RUNTIME_INPUT_YAML' | 'NEW_ARTIFACT_EVENT_PROCESSED' | 'NEW_MANIFEST_EVENT_PROCESSED' | 'NO_ENABLED_CUSTOM_TRIGGER_FOUND' | 'NO_ENABLED_CUSTOM_TRIGGER_FOUND_FOR_ACCOUNT' | 'NO_ENABLED_TRIGGER_FOR_ACCOUNT' | 'NO_ENABLED_TRIGGER_FOR_ACCOUNT_SOURCE_REPO' | 'NO_ENABLED_TRIGGER_FOR_PROJECT' | 'NO_ENABLED_TRIGGER_FOR_SOURCEREPO_TYPE' | 'NO_MATCHING_TRIGGER_FOR_EVENT_ACTION' | 'NO_MATCHING_TRIGGER_FOR_FILEPATH_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_FOR_EVENT_CONDITION' | 'NO_MATCHING_TRIGGER_FOR_FOR_EVENT_SIGNATURES' | 'NO_MATCHING_TRIGGER_FOR_HEADER_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_JEXL_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_METADATA_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_PAYLOAD_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_REPO' | 'NO_TRIGGERS_FOUND_FOR_HARNESS_ARTIFACT_REGISTRY_WEBHOOK' | 'POLLING_EVENT_WITH_NO_VERSIONS' | 'QUEUED' | 'SCM_SERVICE_CONNECTION_FAILED' | 'SKIPPED' | 'TARGET_DID_NOT_EXECUTE' | 'TARGET_EXECUTION_REQUESTED' | 'TRIGGER_AUTHENTICATION_FAILED' | 'TRIGGER_CONFIRMATION_FAILED' | 'TRIGGER_CONFIRMATION_SUCCESSFUL' | 'TRIGGER_DID_NOT_MATCH_ARTIFACT_JEXL_CONDITION' | 'TRIGGER_DID_NOT_MATCH_EVENT_CONDITION' | 'TRIGGER_DID_NOT_MATCH_METADATA_CONDITION' | 'VALIDATION_FAILED_FOR_TRIGGER';
|
|
16
|
+
finalStatus?: 'ALL_MAPPED_TRIGGER_FAILED_VALIDATION_FOR_POLLING_EVENT' | 'EXCEPTION_WHILE_PROCESSING' | 'FAILED_TO_FETCH_PR_COMMITS' | 'FAILED_TO_FETCH_PR_DETAILS' | 'HARNESS_ARTIFACT_REGISTRY_WEBHOOK_NOT_EXECUTED' | 'INVALID_HARNESS_ARTIFACT_REGISTRY_TRIGGER_ACTION' | 'INVALID_PAYLOAD' | 'INVALID_RUNTIME_INPUT_YAML' | 'NEW_ARTIFACT_EVENT_PROCESSED' | 'NEW_MANIFEST_EVENT_PROCESSED' | 'NO_ENABLED_CUSTOM_TRIGGER_FOUND' | 'NO_ENABLED_CUSTOM_TRIGGER_FOUND_FOR_ACCOUNT' | 'NO_ENABLED_TRIGGER_FOR_ACCOUNT' | 'NO_ENABLED_TRIGGER_FOR_ACCOUNT_SOURCE_REPO' | 'NO_ENABLED_TRIGGER_FOR_PROJECT' | 'NO_ENABLED_TRIGGER_FOR_SOURCEREPO_TYPE' | 'NO_MATCHING_TRIGGER_FOR_EVENT_ACTION' | 'NO_MATCHING_TRIGGER_FOR_FILEPATH_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_FOR_EVENT_CONDITION' | 'NO_MATCHING_TRIGGER_FOR_FOR_EVENT_SIGNATURES' | 'NO_MATCHING_TRIGGER_FOR_HEADER_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_JEXL_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_METADATA_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_PAYLOAD_CONDITIONS' | 'NO_MATCHING_TRIGGER_FOR_REPO' | 'NO_TRIGGERS_FOUND_FOR_HARNESS_ARTIFACT_REGISTRY_WEBHOOK' | 'POLLING_EVENT_WITH_NO_VERSIONS' | 'QUEUED' | 'SCM_SERVICE_CONNECTION_FAILED' | 'SKIPPED' | 'TARGET_DID_NOT_EXECUTE' | 'TARGET_EXECUTION_REQUESTED' | 'TRIGGER_AUTHENTICATION_FAILED' | 'TRIGGER_CONFIRMATION_FAILED' | 'TRIGGER_CONFIRMATION_SUCCESSFUL' | 'TRIGGER_DID_NOT_MATCH_ARTIFACT_JEXL_CONDITION' | 'TRIGGER_DID_NOT_MATCH_EVENT_CONDITION' | 'TRIGGER_DID_NOT_MATCH_METADATA_CONDITION' | 'VALIDATION_FAILED_FOR_TRIGGER';
|
|
17
17
|
headers?: {
|
|
18
18
|
[key: string]: string;
|
|
19
19
|
};
|
package/package.json
CHANGED
package/dist/pipeline-swagger-service/src/services/requestBodies/UpdateTriggerBodyRequestBody.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type UpdateTriggerBodyRequestBody = string;
|