faros-airbyte-common 0.19.48 → 0.19.49-rc0

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.
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/harness/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,123 @@
1
+ export type ExecutionStatus = 'SUCCESS' | 'FAILED' | 'RUNNING' | 'ABORTED' | 'EXPIRED' | 'QUEUED' | 'PAUSED' | 'WAITING' | 'APPROVALWAITING' | 'ASYNCWAITING' | 'TASKWAITING' | 'TIMEDWAITING';
2
+ export interface ExecutorInfo {
3
+ triggerType: string;
4
+ username?: string;
5
+ email?: string;
6
+ }
7
+ export interface CDModuleInfo {
8
+ serviceIdentifiers?: string[];
9
+ envIdentifiers?: string[];
10
+ serviceDefinitionTypes?: string[];
11
+ environmentTypes?: string[];
12
+ infrastructureTypes?: string[];
13
+ infrastructureIdentifiers?: string[];
14
+ infrastructureNames?: string[];
15
+ artifactDisplayNames?: string[];
16
+ }
17
+ export interface ModuleInfo {
18
+ cd?: CDModuleInfo;
19
+ }
20
+ export interface ExecutionTriggerInfo {
21
+ triggerType: string;
22
+ triggeredBy?: {
23
+ identifier: string;
24
+ extraInfo?: Record<string, string>;
25
+ };
26
+ }
27
+ export interface PipelineExecution {
28
+ planExecutionId: string;
29
+ pipelineIdentifier: string;
30
+ orgIdentifier: string;
31
+ projectIdentifier: string;
32
+ name: string;
33
+ status: ExecutionStatus;
34
+ startTs: number;
35
+ endTs?: number;
36
+ executorInfo?: ExecutorInfo;
37
+ moduleInfo?: ModuleInfo;
38
+ modules?: string[];
39
+ runSequence?: number;
40
+ successfulStagesCount?: number;
41
+ failedStagesCount?: number;
42
+ runningStagesCount?: number;
43
+ totalStagesCount?: number;
44
+ executionTriggerInfo?: ExecutionTriggerInfo;
45
+ }
46
+ export interface Pipeline {
47
+ identifier: string;
48
+ orgIdentifier: string;
49
+ projectIdentifier: string;
50
+ name: string;
51
+ description?: string;
52
+ tags?: Record<string, string>;
53
+ storeType?: string;
54
+ }
55
+ export interface Organization {
56
+ identifier: string;
57
+ name: string;
58
+ description?: string;
59
+ tags?: Record<string, string>;
60
+ }
61
+ export interface Project {
62
+ identifier: string;
63
+ orgIdentifier: string;
64
+ name: string;
65
+ description?: string;
66
+ tags?: Record<string, string>;
67
+ modules?: string[];
68
+ }
69
+ export interface ExecutionSummaryResponse {
70
+ status: string;
71
+ data: {
72
+ content: PipelineExecution[];
73
+ totalElements?: number;
74
+ totalPages?: number;
75
+ pageNumber?: number;
76
+ pageSize?: number;
77
+ empty?: boolean;
78
+ };
79
+ }
80
+ export interface ExecutionOutlineResponse {
81
+ status: string;
82
+ data: {
83
+ content: PipelineExecution[];
84
+ currentSize: number;
85
+ lastSeenExecutionId?: string;
86
+ lastSeenStartTime?: number;
87
+ hasMore: boolean;
88
+ };
89
+ }
90
+ export interface PipelineListResponse {
91
+ status: string;
92
+ data: {
93
+ content: Pipeline[];
94
+ totalElements?: number;
95
+ totalPages?: number;
96
+ pageNumber?: number;
97
+ pageSize?: number;
98
+ };
99
+ }
100
+ export interface OrganizationListResponse {
101
+ status: string;
102
+ data: {
103
+ content: {
104
+ organization: Organization;
105
+ }[];
106
+ totalElements?: number;
107
+ totalPages?: number;
108
+ pageNumber?: number;
109
+ pageSize?: number;
110
+ };
111
+ }
112
+ export interface ProjectListResponse {
113
+ status: string;
114
+ data: {
115
+ content: {
116
+ project: Project;
117
+ }[];
118
+ totalElements?: number;
119
+ totalPages?: number;
120
+ pageNumber?: number;
121
+ pageSize?: number;
122
+ };
123
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Harness NextGen API types
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/harness/types.ts"],"names":[],"mappings":";AAAA,4BAA4B"}