faros-airbyte-common 0.10.82 → 0.10.84

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/azurepipeline/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,343 @@
1
+ interface Href {
2
+ href: string;
3
+ }
4
+ interface PipelineLink {
5
+ self: Href;
6
+ web: Href;
7
+ }
8
+ interface RunLink {
9
+ self: Href;
10
+ web: Href;
11
+ pipeline: Href;
12
+ }
13
+ interface RunPipeline {
14
+ url: string;
15
+ id: number;
16
+ revision: number;
17
+ name: string;
18
+ folder: string;
19
+ }
20
+ interface Run {
21
+ _links: RunLink;
22
+ pipeline: RunPipeline;
23
+ state: string;
24
+ result: string;
25
+ createdDate: string;
26
+ finishedDate: string;
27
+ url: string;
28
+ id: number;
29
+ name: string;
30
+ }
31
+ export interface RunResponse {
32
+ count: number;
33
+ value: Run[];
34
+ }
35
+ export interface Pipeline {
36
+ projectName: string;
37
+ id: number;
38
+ revision: number;
39
+ name?: string;
40
+ url?: string;
41
+ folder?: string;
42
+ _links: PipelineLink;
43
+ runs: Run[];
44
+ }
45
+ export interface PipelineResponse {
46
+ count: number;
47
+ value: Omit<Pipeline, 'projectName'>[];
48
+ }
49
+ interface BuildLink {
50
+ self: Href;
51
+ web: Href;
52
+ sourceVersionDisplayUri: Href;
53
+ timeline: Href;
54
+ badge: Href;
55
+ }
56
+ interface BuildPlan {
57
+ planId: string;
58
+ }
59
+ interface BuildDefinitionProject {
60
+ id: string;
61
+ name: string;
62
+ description: string;
63
+ url: string;
64
+ state: string;
65
+ revision: number;
66
+ visibility: string;
67
+ lastUpdateTime: string;
68
+ }
69
+ interface BuildDefinition {
70
+ drafts: any[];
71
+ id: number;
72
+ name: string;
73
+ url: string;
74
+ uri: string;
75
+ path: string;
76
+ type: string;
77
+ queueStatus: string;
78
+ revision: number;
79
+ project: BuildDefinitionProject;
80
+ }
81
+ interface BuildQueuePool {
82
+ id: number;
83
+ name: string;
84
+ isHosted: boolean;
85
+ }
86
+ interface BuildQueue {
87
+ id: number;
88
+ name: string;
89
+ pool: BuildQueuePool;
90
+ }
91
+ interface BuildRequestLinkAvatar {
92
+ avatar: Href;
93
+ }
94
+ interface BuildRequestLink {
95
+ avatar: BuildRequestLinkAvatar;
96
+ }
97
+ interface BuildRequest {
98
+ displayName: string;
99
+ url: string;
100
+ id: string;
101
+ uniqueName: string;
102
+ imageUrl: string;
103
+ descriptor: string;
104
+ _link: BuildRequestLink;
105
+ }
106
+ interface BuildLog {
107
+ id: number;
108
+ type: string;
109
+ url: string;
110
+ }
111
+ export interface Repository {
112
+ id: string;
113
+ type: string;
114
+ name: string;
115
+ url: string;
116
+ clean?: string;
117
+ checkoutSubmodules: boolean;
118
+ }
119
+ interface ArtifactResource {
120
+ data: string;
121
+ downloadUrl: string;
122
+ properties: any;
123
+ type: string;
124
+ url: string;
125
+ _links: any;
126
+ }
127
+ interface BuildArtifact {
128
+ id: number;
129
+ name: string;
130
+ resource: ArtifactResource;
131
+ source: string;
132
+ }
133
+ export interface BuildArtifactResponse {
134
+ count: number;
135
+ value: BuildArtifact[];
136
+ }
137
+ interface BuildTimelineIssue {
138
+ type: string;
139
+ category?: any;
140
+ message: string;
141
+ }
142
+ export interface BuildTimeline {
143
+ previousAttempts: any[];
144
+ id: string;
145
+ parentId: string;
146
+ type: string;
147
+ name: string;
148
+ startTime?: any;
149
+ finishTime?: any;
150
+ currentOperation?: any;
151
+ percentComplete?: any;
152
+ state: string;
153
+ result: string;
154
+ resultCode?: any;
155
+ changeId: number;
156
+ lastModified: Date;
157
+ workerName?: any;
158
+ queueId: number;
159
+ order: number;
160
+ details?: any;
161
+ errorCount: number;
162
+ warningCount: number;
163
+ url?: any;
164
+ log?: any;
165
+ task?: any;
166
+ attempt: number;
167
+ identifier: string;
168
+ issues: BuildTimelineIssue[];
169
+ }
170
+ export interface BuildTimelineResponse {
171
+ records: BuildTimeline[];
172
+ }
173
+ export interface Build {
174
+ _links: BuildLink;
175
+ properties: any;
176
+ tags: any[];
177
+ validationResults: any[];
178
+ plans: BuildPlan[];
179
+ triggerInfo: any;
180
+ id: number;
181
+ buildNumber: string;
182
+ status: string;
183
+ result: string;
184
+ queueTime: string;
185
+ startTime: string;
186
+ finishTime: string;
187
+ url: string;
188
+ definition: BuildDefinition;
189
+ buildNumberRevision: number;
190
+ project: BuildDefinitionProject;
191
+ uri: string;
192
+ sourceBranch: string;
193
+ sourceVersion: string;
194
+ queue: BuildQueue;
195
+ priority: string;
196
+ reason: string;
197
+ requestedFor: BuildRequest;
198
+ requestedBy: BuildRequest;
199
+ lastChangedDate: string;
200
+ lastChangedBy: BuildRequest;
201
+ orchestrationPlan: BuildPlan;
202
+ logs: BuildLog;
203
+ repository: Repository;
204
+ keepForever: boolean;
205
+ retainedByRelease: boolean;
206
+ triggeredByBuild: any;
207
+ artifacts: BuildArtifact[];
208
+ jobs: BuildTimeline[];
209
+ coverageStats: CoverageStats[];
210
+ }
211
+ export interface BuildResponse {
212
+ count: number;
213
+ value: Build[];
214
+ }
215
+ interface ReleaseByUser {
216
+ id: string;
217
+ displayName: string;
218
+ uniqueName: string;
219
+ url: string;
220
+ imageUrl?: string;
221
+ }
222
+ interface ReleaseLink {
223
+ self: Href;
224
+ web: Href;
225
+ }
226
+ interface ReleaseProjectReference {
227
+ id: string;
228
+ name: string;
229
+ }
230
+ export interface Release {
231
+ id: number;
232
+ name: string;
233
+ status: string;
234
+ createdOn: string;
235
+ modifiedOn?: string;
236
+ modifiedBy?: ReleaseByUser;
237
+ createdBy: ReleaseByUser;
238
+ variables: any;
239
+ variableGroups: [any];
240
+ description?: string;
241
+ reason?: string;
242
+ releaseNameFormat?: string;
243
+ keepForever: boolean;
244
+ definitionSnapshotRevision: number;
245
+ logsContainerUrl: string;
246
+ url: string;
247
+ _links: ReleaseLink;
248
+ tags: [any];
249
+ projectReference: ReleaseProjectReference;
250
+ properties: any;
251
+ }
252
+ export interface ReleaseResponse {
253
+ count: number;
254
+ value: Release[];
255
+ }
256
+ export interface CoverageStats {
257
+ label: string;
258
+ position: number;
259
+ total: number;
260
+ covered: number;
261
+ isDeltaAvailable: boolean;
262
+ delta: number;
263
+ }
264
+ interface CoverageData {
265
+ coverageStats: CoverageStats[];
266
+ buildPlatform: string;
267
+ buildFlavor: string;
268
+ }
269
+ interface CoverageBuild {
270
+ id: string;
271
+ url: string;
272
+ }
273
+ export interface CoverageResponse {
274
+ coverageData: CoverageData[];
275
+ build: CoverageBuild;
276
+ deltaBuild: any;
277
+ status: string;
278
+ coverageDetailedSummaryStatus: string;
279
+ }
280
+ export interface Tag {
281
+ readonly name: string;
282
+ readonly value: string;
283
+ }
284
+ export declare enum RepoSource {
285
+ BITBUCKET = "Bitbucket",
286
+ GITHUB = "GitHub",
287
+ GITLAB = "GitLab",
288
+ VCS = "VCS"
289
+ }
290
+ export declare enum BuildStateCategory {
291
+ Unknown = "Unknown",
292
+ Canceled = "Canceled",
293
+ Failed = "Failed",
294
+ Success = "Success",
295
+ Running = "Running",
296
+ Queued = "Queued",
297
+ Custom = "Custom"
298
+ }
299
+ export declare enum JobCategory {
300
+ Custom = "Custom",
301
+ Script = "Script",
302
+ Manual = "Manual"
303
+ }
304
+ export interface Repo {
305
+ readonly provider: Provider;
306
+ readonly url: string;
307
+ }
308
+ export interface RepoExtract {
309
+ readonly org: string;
310
+ readonly name: string;
311
+ }
312
+ export interface Provider {
313
+ readonly name: RepoSource;
314
+ }
315
+ export interface Timestamps {
316
+ createdAt?: Date;
317
+ startedAt?: Date;
318
+ endedAt?: Date;
319
+ }
320
+ export interface JobState {
321
+ category: string;
322
+ detail: string;
323
+ }
324
+ export declare enum UserTypeCategory {
325
+ BOT = "Bot",
326
+ ORGANIZATION = "Organization",
327
+ USER = "User",
328
+ CUSTOM = "Custom"
329
+ }
330
+ export declare enum DeploymentStatusCategory {
331
+ Canceled = "Canceled",
332
+ Custom = "Custom",
333
+ Failed = "Failed",
334
+ Queued = "Queued",
335
+ Running = "Running",
336
+ RolledBack = "RolledBack",
337
+ Success = "Success"
338
+ }
339
+ export interface DeploymentStatus {
340
+ category: DeploymentStatusCategory;
341
+ detail: string;
342
+ }
343
+ export {};
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeploymentStatusCategory = exports.UserTypeCategory = exports.JobCategory = exports.BuildStateCategory = exports.RepoSource = void 0;
4
+ var RepoSource;
5
+ (function (RepoSource) {
6
+ RepoSource["BITBUCKET"] = "Bitbucket";
7
+ RepoSource["GITHUB"] = "GitHub";
8
+ RepoSource["GITLAB"] = "GitLab";
9
+ RepoSource["VCS"] = "VCS";
10
+ })(RepoSource || (exports.RepoSource = RepoSource = {}));
11
+ var BuildStateCategory;
12
+ (function (BuildStateCategory) {
13
+ BuildStateCategory["Unknown"] = "Unknown";
14
+ BuildStateCategory["Canceled"] = "Canceled";
15
+ BuildStateCategory["Failed"] = "Failed";
16
+ BuildStateCategory["Success"] = "Success";
17
+ BuildStateCategory["Running"] = "Running";
18
+ BuildStateCategory["Queued"] = "Queued";
19
+ BuildStateCategory["Custom"] = "Custom";
20
+ })(BuildStateCategory || (exports.BuildStateCategory = BuildStateCategory = {}));
21
+ var JobCategory;
22
+ (function (JobCategory) {
23
+ JobCategory["Custom"] = "Custom";
24
+ JobCategory["Script"] = "Script";
25
+ JobCategory["Manual"] = "Manual";
26
+ })(JobCategory || (exports.JobCategory = JobCategory = {}));
27
+ var UserTypeCategory;
28
+ (function (UserTypeCategory) {
29
+ UserTypeCategory["BOT"] = "Bot";
30
+ UserTypeCategory["ORGANIZATION"] = "Organization";
31
+ UserTypeCategory["USER"] = "User";
32
+ UserTypeCategory["CUSTOM"] = "Custom";
33
+ })(UserTypeCategory || (exports.UserTypeCategory = UserTypeCategory = {}));
34
+ var DeploymentStatusCategory;
35
+ (function (DeploymentStatusCategory) {
36
+ DeploymentStatusCategory["Canceled"] = "Canceled";
37
+ DeploymentStatusCategory["Custom"] = "Custom";
38
+ DeploymentStatusCategory["Failed"] = "Failed";
39
+ DeploymentStatusCategory["Queued"] = "Queued";
40
+ DeploymentStatusCategory["Running"] = "Running";
41
+ DeploymentStatusCategory["RolledBack"] = "RolledBack";
42
+ DeploymentStatusCategory["Success"] = "Success";
43
+ })(DeploymentStatusCategory || (exports.DeploymentStatusCategory = DeploymentStatusCategory = {}));
44
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/azurepipeline/types.ts"],"names":[],"mappings":";;;AAgUA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,qCAAuB,CAAA;IACvB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,yBAAW,CAAA;AACb,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB;AAED,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;IACrB,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;AACnB,CAAC,EARW,kBAAkB,kCAAlB,kBAAkB,QAQ7B;AAED,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;AACnB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB;AA0BD,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,iDAA6B,CAAA;IAC7B,iCAAa,CAAA;IACb,qCAAiB,CAAA;AACnB,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B;AAED,IAAY,wBAQX;AARD,WAAY,wBAAwB;IAClC,iDAAqB,CAAA;IACrB,6CAAiB,CAAA;IACjB,6CAAiB,CAAA;IACjB,6CAAiB,CAAA;IACjB,+CAAmB,CAAA;IACnB,qDAAyB,CAAA;IACzB,+CAAmB,CAAA;AACrB,CAAC,EARW,wBAAwB,wCAAxB,wBAAwB,QAQnC"}