@harnessio/react-dbops-service-client 0.24.0 → 0.25.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 (19) hide show
  1. package/dist/dbops-service/src/services/hooks/useV1ChangesetmetadataProjDbInstanceQuery.d.ts +45 -0
  2. package/dist/dbops-service/src/services/hooks/useV1ChangesetmetadataProjDbInstanceQuery.js +21 -0
  3. package/dist/dbops-service/src/services/hooks/useV1DeleteDbSchemaMutation.d.ts +22 -0
  4. package/dist/dbops-service/src/services/hooks/useV1DeleteDbSchemaMutation.js +14 -0
  5. package/dist/dbops-service/src/services/hooks/useV1GetPipelineExecutionStatusQuery.d.ts +27 -0
  6. package/dist/dbops-service/src/services/hooks/useV1GetPipelineExecutionStatusQuery.js +20 -0
  7. package/dist/dbops-service/src/services/index.d.ts +10 -0
  8. package/dist/dbops-service/src/services/index.js +3 -0
  9. package/dist/dbops-service/src/services/requestBodies/FailureInterruptRequestRequestBody.d.ts +0 -4
  10. package/dist/dbops-service/src/services/responses/ChangeSetMetadataResponseResponse.d.ts +2 -0
  11. package/dist/dbops-service/src/services/responses/ChangeSetMetadataResponseResponse.js +1 -0
  12. package/dist/dbops-service/src/services/responses/PipelineStatusResponseResponse.d.ts +2 -0
  13. package/dist/dbops-service/src/services/responses/PipelineStatusResponseResponse.js +1 -0
  14. package/dist/dbops-service/src/services/schemas/ChangeSetMetadataOutput.d.ts +6 -0
  15. package/dist/dbops-service/src/services/schemas/ChangeSetMetadataOutput.js +4 -0
  16. package/dist/dbops-service/src/services/schemas/Command.d.ts +1 -1
  17. package/dist/dbops-service/src/services/schemas/PipelineStatusOutput.d.ts +19 -0
  18. package/dist/dbops-service/src/services/schemas/PipelineStatusOutput.js +4 -0
  19. package/package.json +1 -1
@@ -0,0 +1,45 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ChangeSetMetadataResponseResponse } from '../responses/ChangeSetMetadataResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface V1ChangesetmetadataProjDbInstanceQueryPathParams {
7
+ dbschema: string;
8
+ dbinstance: string;
9
+ org: string;
10
+ project: string;
11
+ }
12
+ export interface V1ChangesetmetadataProjDbInstanceQueryQueryParams {
13
+ /**
14
+ * @example "Update"
15
+ */
16
+ harnessCommand: 'Rollback' | 'Update';
17
+ pipelineExecutionId: string;
18
+ stageExecutionId: string;
19
+ /**
20
+ * @example "Yaml"
21
+ */
22
+ contentType: 'Sql' | 'Yaml';
23
+ /**
24
+ * @format int64
25
+ * @default 0
26
+ */
27
+ page?: number;
28
+ /**
29
+ * @default 10
30
+ */
31
+ limit?: number;
32
+ }
33
+ export interface V1ChangesetmetadataProjDbInstanceQueryHeaderParams {
34
+ 'Harness-Account'?: string;
35
+ }
36
+ export type V1ChangesetmetadataProjDbInstanceOkResponse = ResponseWithPagination<ChangeSetMetadataResponseResponse>;
37
+ export type V1ChangesetmetadataProjDbInstanceErrorResponse = ErrorResponseResponse;
38
+ export interface V1ChangesetmetadataProjDbInstanceProps extends V1ChangesetmetadataProjDbInstanceQueryPathParams, Omit<FetcherOptions<V1ChangesetmetadataProjDbInstanceQueryQueryParams, unknown, V1ChangesetmetadataProjDbInstanceQueryHeaderParams>, 'url'> {
39
+ queryParams: V1ChangesetmetadataProjDbInstanceQueryQueryParams;
40
+ }
41
+ export declare function v1ChangesetmetadataProjDbInstance(props: V1ChangesetmetadataProjDbInstanceProps): Promise<V1ChangesetmetadataProjDbInstanceOkResponse>;
42
+ /**
43
+ * get changeset metadata
44
+ */
45
+ export declare function useV1ChangesetmetadataProjDbInstanceQuery(props: V1ChangesetmetadataProjDbInstanceProps, options?: Omit<UseQueryOptions<V1ChangesetmetadataProjDbInstanceOkResponse, V1ChangesetmetadataProjDbInstanceErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1ChangesetmetadataProjDbInstanceOkResponse, import("..").Error>;
@@ -0,0 +1,21 @@
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 v1ChangesetmetadataProjDbInstance(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/dbschema/${props.dbschema}/dbinstance/${props.dbinstance}/changesetmetadata`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * get changeset metadata
11
+ */
12
+ export function useV1ChangesetmetadataProjDbInstanceQuery(props, options) {
13
+ return useQuery([
14
+ 'v1-changesetmetadata-proj-db-instance',
15
+ props.dbschema,
16
+ props.dbinstance,
17
+ props.org,
18
+ props.project,
19
+ props.queryParams,
20
+ ], ({ signal }) => v1ChangesetmetadataProjDbInstance(Object.assign(Object.assign({}, props), { signal })), options);
21
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface V1DeleteDbSchemaMutationQueryParams {
6
+ orgIdentifier?: string;
7
+ projectIdentifier?: string;
8
+ parent_id?: string;
9
+ }
10
+ export interface V1DeleteDbSchemaMutationHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type V1DeleteDbSchemaOkResponse = ResponseWithPagination<unknown>;
14
+ export type V1DeleteDbSchemaErrorResponse = ErrorResponseResponse;
15
+ export interface V1DeleteDbSchemaProps extends Omit<FetcherOptions<V1DeleteDbSchemaMutationQueryParams, unknown, V1DeleteDbSchemaMutationHeaderParams>, 'url'> {
16
+ queryParams: V1DeleteDbSchemaMutationQueryParams;
17
+ }
18
+ export declare function v1DeleteDbSchema(props: V1DeleteDbSchemaProps): Promise<V1DeleteDbSchemaOkResponse>;
19
+ /**
20
+ * Delete schemas for a parentId with support for org/project as well
21
+ */
22
+ export declare function useV1DeleteDbSchemaMutation(options?: Omit<UseMutationOptions<V1DeleteDbSchemaOkResponse, V1DeleteDbSchemaErrorResponse, V1DeleteDbSchemaProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<V1DeleteDbSchemaOkResponse, import("..").Error, V1DeleteDbSchemaProps, 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 v1DeleteDbSchema(props) {
7
+ return fetcher(Object.assign({ url: `/v1/dbops/dbschema`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete schemas for a parentId with support for org/project as well
11
+ */
12
+ export function useV1DeleteDbSchemaMutation(options) {
13
+ return useMutation((mutateProps) => v1DeleteDbSchema(mutateProps), options);
14
+ }
@@ -0,0 +1,27 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { PipelineStatusResponseResponse } from '../responses/PipelineStatusResponseResponse';
3
+ import type { ErrorResponseResponse } from '../responses/ErrorResponseResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface V1GetPipelineExecutionStatusQueryPathParams {
7
+ org: string;
8
+ project: string;
9
+ pipelineIdentifier: string;
10
+ }
11
+ export interface V1GetPipelineExecutionStatusQueryQueryParams {
12
+ pipelineExecutionId: string;
13
+ stageNodeId?: string;
14
+ }
15
+ export interface V1GetPipelineExecutionStatusQueryHeaderParams {
16
+ 'Harness-Account'?: string;
17
+ }
18
+ export type V1GetPipelineExecutionStatusOkResponse = ResponseWithPagination<PipelineStatusResponseResponse>;
19
+ export type V1GetPipelineExecutionStatusErrorResponse = ErrorResponseResponse;
20
+ export interface V1GetPipelineExecutionStatusProps extends V1GetPipelineExecutionStatusQueryPathParams, Omit<FetcherOptions<V1GetPipelineExecutionStatusQueryQueryParams, unknown, V1GetPipelineExecutionStatusQueryHeaderParams>, 'url'> {
21
+ queryParams: V1GetPipelineExecutionStatusQueryQueryParams;
22
+ }
23
+ export declare function v1GetPipelineExecutionStatus(props: V1GetPipelineExecutionStatusProps): Promise<V1GetPipelineExecutionStatusOkResponse>;
24
+ /**
25
+ * Api to get the pipeline execution status
26
+ */
27
+ export declare function useV1GetPipelineExecutionStatusQuery(props: V1GetPipelineExecutionStatusProps, options?: Omit<UseQueryOptions<V1GetPipelineExecutionStatusOkResponse, V1GetPipelineExecutionStatusErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<V1GetPipelineExecutionStatusOkResponse, import("..").Error>;
@@ -0,0 +1,20 @@
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 v1GetPipelineExecutionStatus(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/pipeline/${props.pipelineIdentifier}/status`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Api to get the pipeline execution status
11
+ */
12
+ export function useV1GetPipelineExecutionStatusQuery(props, options) {
13
+ return useQuery([
14
+ 'v1-get-pipeline-execution-status',
15
+ props.org,
16
+ props.project,
17
+ props.pipelineIdentifier,
18
+ props.queryParams,
19
+ ], ({ signal }) => v1GetPipelineExecutionStatus(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -13,10 +13,14 @@ export type { GetV1SchemaInstanceMetadataErrorResponse, GetV1SchemaInstanceMetad
13
13
  export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
14
14
  export type { V1ChangesetYamlProjDbInstanceErrorResponse, V1ChangesetYamlProjDbInstanceOkResponse, V1ChangesetYamlProjDbInstanceProps, V1ChangesetYamlProjDbInstanceQueryPathParams, V1ChangesetYamlProjDbInstanceQueryQueryParams, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
15
15
  export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
16
+ export type { V1ChangesetmetadataProjDbInstanceErrorResponse, V1ChangesetmetadataProjDbInstanceOkResponse, V1ChangesetmetadataProjDbInstanceProps, V1ChangesetmetadataProjDbInstanceQueryPathParams, V1ChangesetmetadataProjDbInstanceQueryQueryParams, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
17
+ export { useV1ChangesetmetadataProjDbInstanceQuery, v1ChangesetmetadataProjDbInstance, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
16
18
  export type { V1CreateProjDbSchemaInstanceErrorResponse, V1CreateProjDbSchemaInstanceMutationPathParams, V1CreateProjDbSchemaInstanceOkResponse, V1CreateProjDbSchemaInstanceProps, V1CreateProjDbSchemaInstanceRequestBody, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
17
19
  export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
18
20
  export type { V1CreateProjDbSchemaErrorResponse, V1CreateProjDbSchemaMutationPathParams, V1CreateProjDbSchemaOkResponse, V1CreateProjDbSchemaProps, V1CreateProjDbSchemaRequestBody, } from './hooks/useV1CreateProjDbSchemaMutation';
19
21
  export { useV1CreateProjDbSchemaMutation, v1CreateProjDbSchema, } from './hooks/useV1CreateProjDbSchemaMutation';
22
+ export type { V1DeleteDbSchemaErrorResponse, V1DeleteDbSchemaMutationQueryParams, V1DeleteDbSchemaOkResponse, V1DeleteDbSchemaProps, } from './hooks/useV1DeleteDbSchemaMutation';
23
+ export { useV1DeleteDbSchemaMutation, v1DeleteDbSchema } from './hooks/useV1DeleteDbSchemaMutation';
20
24
  export type { V1DeleteExecutionConfigErrorResponse, V1DeleteExecutionConfigOkResponse, V1DeleteExecutionConfigProps, } from './hooks/useV1DeleteExecutionConfigMutation';
21
25
  export { useV1DeleteExecutionConfigMutation, v1DeleteExecutionConfig, } from './hooks/useV1DeleteExecutionConfigMutation';
22
26
  export type { V1DeleteProjDbSchemaInstanceErrorResponse, V1DeleteProjDbSchemaInstanceMutationPathParams, V1DeleteProjDbSchemaInstanceOkResponse, V1DeleteProjDbSchemaInstanceProps, } from './hooks/useV1DeleteProjDbSchemaInstanceMutation';
@@ -35,6 +39,8 @@ export type { V1GetDefaultConfigErrorResponse, V1GetDefaultConfigOkResponse, V1G
35
39
  export { useV1GetDefaultConfigQuery, v1GetDefaultConfig } from './hooks/useV1GetDefaultConfigQuery';
36
40
  export type { V1GetDeployedStateErrorResponse, V1GetDeployedStateMutationPathParams, V1GetDeployedStateMutationQueryParams, V1GetDeployedStateOkResponse, V1GetDeployedStateProps, V1GetDeployedStateRequestBody, } from './hooks/useV1GetDeployedStateMutation';
37
41
  export { useV1GetDeployedStateMutation, v1GetDeployedState, } from './hooks/useV1GetDeployedStateMutation';
42
+ export type { V1GetPipelineExecutionStatusErrorResponse, V1GetPipelineExecutionStatusOkResponse, V1GetPipelineExecutionStatusProps, V1GetPipelineExecutionStatusQueryPathParams, V1GetPipelineExecutionStatusQueryQueryParams, } from './hooks/useV1GetPipelineExecutionStatusQuery';
43
+ export { useV1GetPipelineExecutionStatusQuery, v1GetPipelineExecutionStatus, } from './hooks/useV1GetPipelineExecutionStatusQuery';
38
44
  export type { V1GetProjDbSchemaInstanceErrorResponse, V1GetProjDbSchemaInstanceOkResponse, V1GetProjDbSchemaInstanceProps, V1GetProjDbSchemaInstanceQueryPathParams, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
39
45
  export { useV1GetProjDbSchemaInstanceQuery, v1GetProjDbSchemaInstance, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
40
46
  export type { V1GetProjDbSchemaErrorResponse, V1GetProjDbSchemaOkResponse, V1GetProjDbSchemaProps, V1GetProjDbSchemaQueryPathParams, } from './hooks/useV1GetProjDbSchemaQuery';
@@ -81,6 +87,7 @@ export type { MigrationStateGetRequestRequestBody } from './requestBodies/Migrat
81
87
  export type { PluginStepInputsRequestRequestBody } from './requestBodies/PluginStepInputsRequestRequestBody';
82
88
  export type { SchemaInstanceMetadataRequestRequestBody } from './requestBodies/SchemaInstanceMetadataRequestRequestBody';
83
89
  export type { ChangeSetDeploymentYamlResponseResponse } from './responses/ChangeSetDeploymentYamlResponseResponse';
90
+ export type { ChangeSetMetadataResponseResponse } from './responses/ChangeSetMetadataResponseResponse';
84
91
  export type { CustomOperationResponseResponse } from './responses/CustomOperationResponseResponse';
85
92
  export type { DbInstanceListResponseResponse } from './responses/DbInstanceListResponseResponse';
86
93
  export type { DbInstanceResponseResponse } from './responses/DbInstanceResponseResponse';
@@ -94,11 +101,13 @@ export type { InstanceMigrationStateResponseResponse } from './responses/Instanc
94
101
  export type { MigrationStateResponseResponse } from './responses/MigrationStateResponseResponse';
95
102
  export type { OverviewResponseResponse } from './responses/OverviewResponseResponse';
96
103
  export type { ParsedLogResponseResponse } from './responses/ParsedLogResponseResponse';
104
+ export type { PipelineStatusResponseResponse } from './responses/PipelineStatusResponseResponse';
97
105
  export type { PluginInputsResponseResponse } from './responses/PluginInputsResponseResponse';
98
106
  export type { SchemaInstanceMetadataResponseResponse } from './responses/SchemaInstanceMetadataResponseResponse';
99
107
  export type { ChangeLogScript } from './schemas/ChangeLogScript';
100
108
  export type { ChangeSetDeploymentStatus } from './schemas/ChangeSetDeploymentStatus';
101
109
  export type { ChangeSetDeploymentYamlOutput } from './schemas/ChangeSetDeploymentYamlOutput';
110
+ export type { ChangeSetMetadataOutput } from './schemas/ChangeSetMetadataOutput';
102
111
  export type { Changelog } from './schemas/Changelog';
103
112
  export type { Command } from './schemas/Command';
104
113
  export type { CommandExecutionStatus } from './schemas/CommandExecutionStatus';
@@ -135,6 +144,7 @@ export type { OrderInstance } from './schemas/OrderInstance';
135
144
  export type { OverviewResponseOutput } from './schemas/OverviewResponseOutput';
136
145
  export type { ParsedLogOut } from './schemas/ParsedLogOut';
137
146
  export type { PipelineExecutionMetadata } from './schemas/PipelineExecutionMetadata';
147
+ export type { PipelineStatusOutput } from './schemas/PipelineStatusOutput';
138
148
  export type { SchemaInstanceMetadataInput } from './schemas/SchemaInstanceMetadataInput';
139
149
  export type { SchemaInstanceMetadataOutput } from './schemas/SchemaInstanceMetadataOutput';
140
150
  export type { SortInstance } from './schemas/SortInstance';
@@ -5,8 +5,10 @@ export { createV1StepPluginInputs, useCreateV1StepPluginInputsMutation, } from '
5
5
  export { getV1CustomOperations, useGetV1CustomOperationsMutation, } from './hooks/useGetV1CustomOperationsMutation';
6
6
  export { getV1SchemaInstanceMetadata, useGetV1SchemaInstanceMetadataMutation, } from './hooks/useGetV1SchemaInstanceMetadataMutation';
7
7
  export { useV1ChangesetYamlProjDbInstanceQuery, v1ChangesetYamlProjDbInstance, } from './hooks/useV1ChangesetYamlProjDbInstanceQuery';
8
+ export { useV1ChangesetmetadataProjDbInstanceQuery, v1ChangesetmetadataProjDbInstance, } from './hooks/useV1ChangesetmetadataProjDbInstanceQuery';
8
9
  export { useV1CreateProjDbSchemaInstanceMutation, v1CreateProjDbSchemaInstance, } from './hooks/useV1CreateProjDbSchemaInstanceMutation';
9
10
  export { useV1CreateProjDbSchemaMutation, v1CreateProjDbSchema, } from './hooks/useV1CreateProjDbSchemaMutation';
11
+ export { useV1DeleteDbSchemaMutation, v1DeleteDbSchema } from './hooks/useV1DeleteDbSchemaMutation';
10
12
  export { useV1DeleteExecutionConfigMutation, v1DeleteExecutionConfig, } from './hooks/useV1DeleteExecutionConfigMutation';
11
13
  export { useV1DeleteProjDbSchemaInstanceMutation, v1DeleteProjDbSchemaInstance, } from './hooks/useV1DeleteProjDbSchemaInstanceMutation';
12
14
  export { useV1DeleteProjDbSchemaMutation, v1DeleteProjDbSchema, } from './hooks/useV1DeleteProjDbSchemaMutation';
@@ -16,6 +18,7 @@ export { useV1GetDbOverviewQuery, v1GetDbOverview } from './hooks/useV1GetDbOver
16
18
  export { useV1GetDbinstanceLogQuery, v1GetDbinstanceLog } from './hooks/useV1GetDbinstanceLogQuery';
17
19
  export { useV1GetDefaultConfigQuery, v1GetDefaultConfig } from './hooks/useV1GetDefaultConfigQuery';
18
20
  export { useV1GetDeployedStateMutation, v1GetDeployedState, } from './hooks/useV1GetDeployedStateMutation';
21
+ export { useV1GetPipelineExecutionStatusQuery, v1GetPipelineExecutionStatus, } from './hooks/useV1GetPipelineExecutionStatusQuery';
19
22
  export { useV1GetProjDbSchemaInstanceQuery, v1GetProjDbSchemaInstance, } from './hooks/useV1GetProjDbSchemaInstanceQuery';
20
23
  export { useV1GetProjDbSchemaQuery, v1GetProjDbSchema } from './hooks/useV1GetProjDbSchemaQuery';
21
24
  export { useV1IngestLogsMutation, v1IngestLogs } from './hooks/useV1IngestLogsMutation';
@@ -1,9 +1,5 @@
1
1
  import type { Command } from '../schemas/Command';
2
2
  export interface FailureInterruptRequestRequestBody {
3
- /**
4
- * Plugin actual command run on customer db
5
- */
6
- command: string;
7
3
  harnessCommand: Command;
8
4
  instanceIdentifier: string;
9
5
  interruptType: string;
@@ -0,0 +1,2 @@
1
+ import type { ChangeSetMetadataOutput } from '../schemas/ChangeSetMetadataOutput';
2
+ export type ChangeSetMetadataResponseResponse = ChangeSetMetadataOutput;
@@ -0,0 +1,2 @@
1
+ import type { PipelineStatusOutput } from '../schemas/PipelineStatusOutput';
2
+ export type PipelineStatusResponseResponse = PipelineStatusOutput;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * changeset metadata output object
3
+ */
4
+ export interface ChangeSetMetadataOutput {
5
+ data: string[];
6
+ }
@@ -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 {};
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Type of the plugin command to run
3
3
  */
4
- export type Command = 'Clone' | 'Custom' | 'History' | 'MarkNextChangesetRan' | 'ParentWrapper' | 'Rollback' | 'RollbackCount' | 'RollbackCountSQL' | 'RollbackSQL' | 'Status' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
4
+ export type Command = 'Clone' | 'Custom' | 'DBOPSRollbackCountSQL' | 'DBOPSRollbackSQL' | 'DBOPSUpdateSQL' | 'History' | 'MarkNextChangesetRan' | 'ParentWrapper' | 'Rollback' | 'RollbackCount' | 'RollbackCountSQL' | 'RollbackSQL' | 'Status' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Response body for Pipeline execution status
3
+ */
4
+ export interface PipelineStatusOutput {
5
+ /**
6
+ * meta data of the api
7
+ */
8
+ metadata: {
9
+ [key: string]: string;
10
+ };
11
+ /**
12
+ * response message for the pipeline stage api
13
+ */
14
+ response: string;
15
+ /**
16
+ * status of the pipeline
17
+ */
18
+ status: string;
19
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-dbops-service-client",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Harness React DB Devops service client - DB Devops APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",