weave-typescript 0.11.15 → 0.11.16
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/weaveapi/data/v1/data.pb.d.ts +1 -1
- package/dist/weaveapi/data/v1/data.pb.js +11 -11
- package/dist/weaveapi/data/v1/service.pb.d.ts +89 -6
- package/dist/weaveapi/data/v1/service.pb.js +1195 -364
- package/dist/weaveapi/input/v1/input.pb.d.ts +1 -1
- package/dist/weaveapi/input/v1/input.pb.js +11 -11
- package/dist/weaveapi/input/v1/service.pb.d.ts +89 -10
- package/dist/weaveapi/input/v1/service.pb.js +1253 -642
- package/dist/weaveapi/integration/v1/integration.pb.d.ts +1 -1
- package/dist/weaveapi/integration/v1/integration.pb.js +11 -11
- package/dist/weaveapi/integration/v1/service.pb.d.ts +89 -7
- package/dist/weaveapi/integration/v1/service.pb.js +1164 -390
- package/dist/weaveapi/project/v1/project.pb.d.ts +1 -0
- package/dist/weaveapi/project/v1/project.pb.js +17 -1
- package/dist/weaveapi/project/v1/service.pb.d.ts +25 -0
- package/dist/weaveapi/project/v1/service.pb.js +248 -5
- package/dist/weaveapi/report/v1/report.pb.d.ts +2 -0
- package/dist/weaveapi/report/v1/report.pb.js +42 -2
- package/dist/weaveapi/report/v1/service.pb.d.ts +6 -6
- package/dist/weaveapi/report/v1/service.pb.js +416 -121
- package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +1 -1
- package/dist/weaveapi/requirement/v1/requirement.pb.js +11 -11
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +90 -10
- package/dist/weaveapi/requirement/v1/service.pb.js +1261 -601
- package/dist/weaveapi/run/v1/run.pb.d.ts +1 -0
- package/dist/weaveapi/run/v1/run.pb.js +21 -1
- package/dist/weaveapi/run/v1/service.pb.d.ts +6 -6
- package/dist/weaveapi/run/v1/service.pb.js +448 -126
- package/dist/weaveapi/script/v1/script.pb.d.ts +1 -1
- package/dist/weaveapi/script/v1/script.pb.js +11 -11
- package/dist/weaveapi/script/v1/service.pb.d.ts +90 -14
- package/dist/weaveapi/script/v1/service.pb.js +1404 -930
- package/dist/weaveapi/suite/v1/service.pb.d.ts +178 -12
- package/dist/weaveapi/suite/v1/service.pb.js +2631 -979
- package/dist/weaveapi/suite/v1/suite.pb.d.ts +2 -2
- package/dist/weaveapi/suite/v1/suite.pb.js +22 -22
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +90 -14
- package/dist/weaveapi/testcase/v1/service.pb.js +1332 -856
- package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +1 -1
- package/dist/weaveapi/testcase/v1/testcase.pb.js +11 -11
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +26 -0
- package/dist/weaveapi/workflow/v1/service.pb.js +293 -5
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +1 -0
- package/dist/weaveapi/workflow/v1/workflow.pb.js +17 -1
- package/dist/weavesql/weavedb/data_asset_sql.d.ts +81 -16
- package/dist/weavesql/weavedb/data_asset_sql.js +142 -24
- package/dist/weavesql/weavedb/input_sql.d.ts +88 -25
- package/dist/weavesql/weavedb/input_sql.js +150 -34
- package/dist/weavesql/weavedb/integration_sql.d.ts +85 -19
- package/dist/weavesql/weavedb/integration_sql.js +147 -28
- package/dist/weavesql/weavedb/project_sql.d.ts +29 -5
- package/dist/weavesql/weavedb/project_sql.js +73 -37
- package/dist/weavesql/weavedb/report_sql.d.ts +61 -7
- package/dist/weavesql/weavedb/report_sql.js +157 -81
- package/dist/weavesql/weavedb/requirement_sql.d.ts +83 -20
- package/dist/weavesql/weavedb/requirement_sql.js +144 -28
- package/dist/weavesql/weavedb/run_sql.d.ts +44 -8
- package/dist/weavesql/weavedb/run_sql.js +140 -93
- package/dist/weavesql/weavedb/suite_sql.d.ts +156 -30
- package/dist/weavesql/weavedb/suite_sql.js +274 -42
- package/dist/weavesql/weavedb/test_case_sql.d.ts +91 -27
- package/dist/weavesql/weavedb/test_case_sql.js +153 -36
- package/dist/weavesql/weavedb/test_script_sql.d.ts +91 -27
- package/dist/weavesql/weavedb/test_script_sql.js +153 -36
- package/dist/weavesql/weavedb/traceability_sql.d.ts +62 -4
- package/dist/weavesql/weavedb/traceability_sql.js +245 -37
- package/dist/weavesql/weavedb/workflow_sql.d.ts +30 -5
- package/dist/weavesql/weavedb/workflow_sql.js +76 -38
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ export declare function inputStatusFromJSON(object: any): InputStatus;
|
|
|
25
25
|
export declare function inputStatusToJSON(object: InputStatus): string;
|
|
26
26
|
export interface InputSource {
|
|
27
27
|
inputSourceId: string;
|
|
28
|
-
|
|
28
|
+
projectId: string;
|
|
29
29
|
sourceType: InputSourceType;
|
|
30
30
|
name: string;
|
|
31
31
|
description: string;
|
|
@@ -134,7 +134,7 @@ function inputStatusToJSON(object) {
|
|
|
134
134
|
function createBaseInputSource() {
|
|
135
135
|
return {
|
|
136
136
|
inputSourceId: "",
|
|
137
|
-
|
|
137
|
+
projectId: "",
|
|
138
138
|
sourceType: 0,
|
|
139
139
|
name: "",
|
|
140
140
|
description: "",
|
|
@@ -152,8 +152,8 @@ exports.InputSource = {
|
|
|
152
152
|
if (message.inputSourceId !== "") {
|
|
153
153
|
writer.uint32(10).string(message.inputSourceId);
|
|
154
154
|
}
|
|
155
|
-
if (message.
|
|
156
|
-
writer.uint32(18).string(message.
|
|
155
|
+
if (message.projectId !== "") {
|
|
156
|
+
writer.uint32(18).string(message.projectId);
|
|
157
157
|
}
|
|
158
158
|
if (message.sourceType !== 0) {
|
|
159
159
|
writer.uint32(24).int32(message.sourceType);
|
|
@@ -205,7 +205,7 @@ exports.InputSource = {
|
|
|
205
205
|
if (tag !== 18) {
|
|
206
206
|
break;
|
|
207
207
|
}
|
|
208
|
-
message.
|
|
208
|
+
message.projectId = reader.string();
|
|
209
209
|
continue;
|
|
210
210
|
}
|
|
211
211
|
case 3: {
|
|
@@ -293,10 +293,10 @@ exports.InputSource = {
|
|
|
293
293
|
: isSet(object.input_source_id)
|
|
294
294
|
? globalThis.String(object.input_source_id)
|
|
295
295
|
: "",
|
|
296
|
-
|
|
297
|
-
? globalThis.String(object.
|
|
298
|
-
: isSet(object.
|
|
299
|
-
? globalThis.String(object.
|
|
296
|
+
projectId: isSet(object.projectId)
|
|
297
|
+
? globalThis.String(object.projectId)
|
|
298
|
+
: isSet(object.project_id)
|
|
299
|
+
? globalThis.String(object.project_id)
|
|
300
300
|
: "",
|
|
301
301
|
sourceType: isSet(object.sourceType)
|
|
302
302
|
? inputSourceTypeFromJSON(object.sourceType)
|
|
@@ -339,8 +339,8 @@ exports.InputSource = {
|
|
|
339
339
|
if (message.inputSourceId !== "") {
|
|
340
340
|
obj.inputSourceId = message.inputSourceId;
|
|
341
341
|
}
|
|
342
|
-
if (message.
|
|
343
|
-
obj.
|
|
342
|
+
if (message.projectId !== "") {
|
|
343
|
+
obj.projectId = message.projectId;
|
|
344
344
|
}
|
|
345
345
|
if (message.sourceType !== 0) {
|
|
346
346
|
obj.sourceType = inputSourceTypeToJSON(message.sourceType);
|
|
@@ -381,7 +381,7 @@ exports.InputSource = {
|
|
|
381
381
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
382
382
|
const message = createBaseInputSource();
|
|
383
383
|
message.inputSourceId = (_a = object.inputSourceId) !== null && _a !== void 0 ? _a : "";
|
|
384
|
-
message.
|
|
384
|
+
message.projectId = (_b = object.projectId) !== null && _b !== void 0 ? _b : "";
|
|
385
385
|
message.sourceType = (_c = object.sourceType) !== null && _c !== void 0 ? _c : 0;
|
|
386
386
|
message.name = (_d = object.name) !== null && _d !== void 0 ? _d : "";
|
|
387
387
|
message.description = (_e = object.description) !== null && _e !== void 0 ? _e : "";
|
|
@@ -3,7 +3,6 @@ import { InputSource, InputSourceType, InputStatus, InputVersion } from "./input
|
|
|
3
3
|
export declare const protobufPackage = "weaveapi.input.v1";
|
|
4
4
|
export interface CreateInputSourceRequest {
|
|
5
5
|
projectId: string;
|
|
6
|
-
workflowId: string;
|
|
7
6
|
sourceType: InputSourceType;
|
|
8
7
|
name: string;
|
|
9
8
|
description: string;
|
|
@@ -17,7 +16,6 @@ export interface CreateInputSourceResponse {
|
|
|
17
16
|
}
|
|
18
17
|
export interface GetInputSourceRequest {
|
|
19
18
|
projectId: string;
|
|
20
|
-
workflowId: string;
|
|
21
19
|
inputSourceId: string;
|
|
22
20
|
}
|
|
23
21
|
export interface GetInputSourceResponse {
|
|
@@ -25,10 +23,10 @@ export interface GetInputSourceResponse {
|
|
|
25
23
|
}
|
|
26
24
|
export interface ListInputSourcesRequest {
|
|
27
25
|
projectId: string;
|
|
28
|
-
workflowId: string;
|
|
29
26
|
includeArchived: boolean;
|
|
30
27
|
pageSize: number;
|
|
31
28
|
pageToken: string;
|
|
29
|
+
workflowId: string;
|
|
32
30
|
}
|
|
33
31
|
export interface ListInputSourcesResponse {
|
|
34
32
|
inputSources: InputSource[];
|
|
@@ -36,7 +34,6 @@ export interface ListInputSourcesResponse {
|
|
|
36
34
|
}
|
|
37
35
|
export interface UpdateInputSourceRequest {
|
|
38
36
|
projectId: string;
|
|
39
|
-
workflowId: string;
|
|
40
37
|
inputSourceId: string;
|
|
41
38
|
name: string;
|
|
42
39
|
description: string;
|
|
@@ -51,7 +48,6 @@ export interface UpdateInputSourceResponse {
|
|
|
51
48
|
}
|
|
52
49
|
export interface ArchiveInputSourceRequest {
|
|
53
50
|
projectId: string;
|
|
54
|
-
workflowId: string;
|
|
55
51
|
inputSourceId: string;
|
|
56
52
|
}
|
|
57
53
|
export interface ArchiveInputSourceResponse {
|
|
@@ -59,15 +55,52 @@ export interface ArchiveInputSourceResponse {
|
|
|
59
55
|
}
|
|
60
56
|
export interface DeleteInputSourceRequest {
|
|
61
57
|
projectId: string;
|
|
62
|
-
workflowId: string;
|
|
63
58
|
inputSourceId: string;
|
|
64
59
|
}
|
|
65
60
|
export interface DeleteInputSourceResponse {
|
|
66
61
|
}
|
|
67
|
-
export interface
|
|
62
|
+
export interface AttachInputSourceToWorkflowRequest {
|
|
63
|
+
projectId: string;
|
|
64
|
+
workflowId: string;
|
|
65
|
+
inputSourceId: string;
|
|
66
|
+
attachedBy: string;
|
|
67
|
+
metadata: {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
} | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface AttachInputSourceToWorkflowResponse {
|
|
72
|
+
binding: WorkflowInputSourceBinding | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface DetachInputSourceFromWorkflowRequest {
|
|
68
75
|
projectId: string;
|
|
69
76
|
workflowId: string;
|
|
70
77
|
inputSourceId: string;
|
|
78
|
+
}
|
|
79
|
+
export interface DetachInputSourceFromWorkflowResponse {
|
|
80
|
+
}
|
|
81
|
+
export interface ListWorkflowInputSourceBindingsRequest {
|
|
82
|
+
projectId: string;
|
|
83
|
+
workflowId: string;
|
|
84
|
+
pageSize: number;
|
|
85
|
+
pageToken: string;
|
|
86
|
+
}
|
|
87
|
+
export interface ListWorkflowInputSourceBindingsResponse {
|
|
88
|
+
bindings: WorkflowInputSourceBinding[];
|
|
89
|
+
nextPageToken: string;
|
|
90
|
+
}
|
|
91
|
+
export interface WorkflowInputSourceBinding {
|
|
92
|
+
projectId: string;
|
|
93
|
+
workflowId: string;
|
|
94
|
+
inputSourceId: string;
|
|
95
|
+
attachedBy: string;
|
|
96
|
+
metadata: {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
} | undefined;
|
|
99
|
+
attachedAt: Date | undefined;
|
|
100
|
+
}
|
|
101
|
+
export interface CreateInputVersionRequest {
|
|
102
|
+
projectId: string;
|
|
103
|
+
inputSourceId: string;
|
|
71
104
|
checksum: string;
|
|
72
105
|
contentUri: string;
|
|
73
106
|
status: InputStatus;
|
|
@@ -83,7 +116,6 @@ export interface CreateInputVersionResponse {
|
|
|
83
116
|
}
|
|
84
117
|
export interface GetInputVersionRequest {
|
|
85
118
|
projectId: string;
|
|
86
|
-
workflowId: string;
|
|
87
119
|
inputSourceId: string;
|
|
88
120
|
inputVersionId: string;
|
|
89
121
|
}
|
|
@@ -92,7 +124,6 @@ export interface GetInputVersionResponse {
|
|
|
92
124
|
}
|
|
93
125
|
export interface ListInputVersionsRequest {
|
|
94
126
|
projectId: string;
|
|
95
|
-
workflowId: string;
|
|
96
127
|
inputSourceId: string;
|
|
97
128
|
pageSize: number;
|
|
98
129
|
pageToken: string;
|
|
@@ -103,7 +134,6 @@ export interface ListInputVersionsResponse {
|
|
|
103
134
|
}
|
|
104
135
|
export interface SetActiveInputVersionRequest {
|
|
105
136
|
projectId: string;
|
|
106
|
-
workflowId: string;
|
|
107
137
|
inputSourceId: string;
|
|
108
138
|
inputVersionId: string;
|
|
109
139
|
}
|
|
@@ -122,6 +152,13 @@ export declare const ArchiveInputSourceRequest: MessageFns<ArchiveInputSourceReq
|
|
|
122
152
|
export declare const ArchiveInputSourceResponse: MessageFns<ArchiveInputSourceResponse>;
|
|
123
153
|
export declare const DeleteInputSourceRequest: MessageFns<DeleteInputSourceRequest>;
|
|
124
154
|
export declare const DeleteInputSourceResponse: MessageFns<DeleteInputSourceResponse>;
|
|
155
|
+
export declare const AttachInputSourceToWorkflowRequest: MessageFns<AttachInputSourceToWorkflowRequest>;
|
|
156
|
+
export declare const AttachInputSourceToWorkflowResponse: MessageFns<AttachInputSourceToWorkflowResponse>;
|
|
157
|
+
export declare const DetachInputSourceFromWorkflowRequest: MessageFns<DetachInputSourceFromWorkflowRequest>;
|
|
158
|
+
export declare const DetachInputSourceFromWorkflowResponse: MessageFns<DetachInputSourceFromWorkflowResponse>;
|
|
159
|
+
export declare const ListWorkflowInputSourceBindingsRequest: MessageFns<ListWorkflowInputSourceBindingsRequest>;
|
|
160
|
+
export declare const ListWorkflowInputSourceBindingsResponse: MessageFns<ListWorkflowInputSourceBindingsResponse>;
|
|
161
|
+
export declare const WorkflowInputSourceBinding: MessageFns<WorkflowInputSourceBinding>;
|
|
125
162
|
export declare const CreateInputVersionRequest: MessageFns<CreateInputVersionRequest>;
|
|
126
163
|
export declare const CreateInputVersionResponse: MessageFns<CreateInputVersionResponse>;
|
|
127
164
|
export declare const GetInputVersionRequest: MessageFns<GetInputVersionRequest>;
|
|
@@ -137,6 +174,9 @@ export interface InputService {
|
|
|
137
174
|
UpdateInputSource(request: UpdateInputSourceRequest): Promise<UpdateInputSourceResponse>;
|
|
138
175
|
ArchiveInputSource(request: ArchiveInputSourceRequest): Promise<ArchiveInputSourceResponse>;
|
|
139
176
|
DeleteInputSource(request: DeleteInputSourceRequest): Promise<DeleteInputSourceResponse>;
|
|
177
|
+
AttachInputSourceToWorkflow(request: AttachInputSourceToWorkflowRequest): Promise<AttachInputSourceToWorkflowResponse>;
|
|
178
|
+
DetachInputSourceFromWorkflow(request: DetachInputSourceFromWorkflowRequest): Promise<DetachInputSourceFromWorkflowResponse>;
|
|
179
|
+
ListWorkflowInputSourceBindings(request: ListWorkflowInputSourceBindingsRequest): Promise<ListWorkflowInputSourceBindingsResponse>;
|
|
140
180
|
CreateInputVersion(request: CreateInputVersionRequest): Promise<CreateInputVersionResponse>;
|
|
141
181
|
GetInputVersion(request: GetInputVersionRequest): Promise<GetInputVersionResponse>;
|
|
142
182
|
ListInputVersions(request: ListInputVersionsRequest): Promise<ListInputVersionsResponse>;
|
|
@@ -155,6 +195,9 @@ export declare class InputServiceClientImpl implements InputService {
|
|
|
155
195
|
UpdateInputSource(request: UpdateInputSourceRequest): Promise<UpdateInputSourceResponse>;
|
|
156
196
|
ArchiveInputSource(request: ArchiveInputSourceRequest): Promise<ArchiveInputSourceResponse>;
|
|
157
197
|
DeleteInputSource(request: DeleteInputSourceRequest): Promise<DeleteInputSourceResponse>;
|
|
198
|
+
AttachInputSourceToWorkflow(request: AttachInputSourceToWorkflowRequest): Promise<AttachInputSourceToWorkflowResponse>;
|
|
199
|
+
DetachInputSourceFromWorkflow(request: DetachInputSourceFromWorkflowRequest): Promise<DetachInputSourceFromWorkflowResponse>;
|
|
200
|
+
ListWorkflowInputSourceBindings(request: ListWorkflowInputSourceBindingsRequest): Promise<ListWorkflowInputSourceBindingsResponse>;
|
|
158
201
|
CreateInputVersion(request: CreateInputVersionRequest): Promise<CreateInputVersionResponse>;
|
|
159
202
|
GetInputVersion(request: GetInputVersionRequest): Promise<GetInputVersionResponse>;
|
|
160
203
|
ListInputVersions(request: ListInputVersionsRequest): Promise<ListInputVersionsResponse>;
|
|
@@ -237,6 +280,42 @@ export declare const InputServiceDefinition: {
|
|
|
237
280
|
};
|
|
238
281
|
};
|
|
239
282
|
};
|
|
283
|
+
readonly attachInputSourceToWorkflow: {
|
|
284
|
+
readonly name: "AttachInputSourceToWorkflow";
|
|
285
|
+
readonly requestType: MessageFns<AttachInputSourceToWorkflowRequest>;
|
|
286
|
+
readonly requestStream: false;
|
|
287
|
+
readonly responseType: MessageFns<AttachInputSourceToWorkflowResponse>;
|
|
288
|
+
readonly responseStream: false;
|
|
289
|
+
readonly options: {
|
|
290
|
+
readonly _unknownFields: {
|
|
291
|
+
readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
readonly detachInputSourceFromWorkflow: {
|
|
296
|
+
readonly name: "DetachInputSourceFromWorkflow";
|
|
297
|
+
readonly requestType: MessageFns<DetachInputSourceFromWorkflowRequest>;
|
|
298
|
+
readonly requestStream: false;
|
|
299
|
+
readonly responseType: MessageFns<DetachInputSourceFromWorkflowResponse>;
|
|
300
|
+
readonly responseStream: false;
|
|
301
|
+
readonly options: {
|
|
302
|
+
readonly _unknownFields: {
|
|
303
|
+
readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
readonly listWorkflowInputSourceBindings: {
|
|
308
|
+
readonly name: "ListWorkflowInputSourceBindings";
|
|
309
|
+
readonly requestType: MessageFns<ListWorkflowInputSourceBindingsRequest>;
|
|
310
|
+
readonly requestStream: false;
|
|
311
|
+
readonly responseType: MessageFns<ListWorkflowInputSourceBindingsResponse>;
|
|
312
|
+
readonly responseStream: false;
|
|
313
|
+
readonly options: {
|
|
314
|
+
readonly _unknownFields: {
|
|
315
|
+
readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
};
|
|
240
319
|
readonly createInputVersion: {
|
|
241
320
|
readonly name: "CreateInputVersion";
|
|
242
321
|
readonly requestType: MessageFns<CreateInputVersionRequest>;
|