weave-typescript 0.11.15 → 0.11.17

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 (69) hide show
  1. package/dist/weaveapi/data/v1/data.pb.d.ts +1 -1
  2. package/dist/weaveapi/data/v1/data.pb.js +11 -11
  3. package/dist/weaveapi/data/v1/service.pb.d.ts +89 -6
  4. package/dist/weaveapi/data/v1/service.pb.js +1195 -364
  5. package/dist/weaveapi/input/v1/input.pb.d.ts +1 -1
  6. package/dist/weaveapi/input/v1/input.pb.js +11 -11
  7. package/dist/weaveapi/input/v1/service.pb.d.ts +89 -10
  8. package/dist/weaveapi/input/v1/service.pb.js +1253 -642
  9. package/dist/weaveapi/integration/v1/integration.pb.d.ts +1 -1
  10. package/dist/weaveapi/integration/v1/integration.pb.js +11 -11
  11. package/dist/weaveapi/integration/v1/service.pb.d.ts +89 -7
  12. package/dist/weaveapi/integration/v1/service.pb.js +1164 -390
  13. package/dist/weaveapi/project/v1/project.pb.d.ts +1 -0
  14. package/dist/weaveapi/project/v1/project.pb.js +17 -1
  15. package/dist/weaveapi/project/v1/service.pb.d.ts +25 -0
  16. package/dist/weaveapi/project/v1/service.pb.js +248 -5
  17. package/dist/weaveapi/report/v1/report.pb.d.ts +2 -0
  18. package/dist/weaveapi/report/v1/report.pb.js +42 -2
  19. package/dist/weaveapi/report/v1/service.pb.d.ts +6 -6
  20. package/dist/weaveapi/report/v1/service.pb.js +416 -121
  21. package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +1 -1
  22. package/dist/weaveapi/requirement/v1/requirement.pb.js +11 -11
  23. package/dist/weaveapi/requirement/v1/service.pb.d.ts +90 -10
  24. package/dist/weaveapi/requirement/v1/service.pb.js +1261 -601
  25. package/dist/weaveapi/run/v1/run.pb.d.ts +1 -0
  26. package/dist/weaveapi/run/v1/run.pb.js +21 -1
  27. package/dist/weaveapi/run/v1/service.pb.d.ts +6 -6
  28. package/dist/weaveapi/run/v1/service.pb.js +448 -126
  29. package/dist/weaveapi/script/v1/script.pb.d.ts +1 -1
  30. package/dist/weaveapi/script/v1/script.pb.js +11 -11
  31. package/dist/weaveapi/script/v1/service.pb.d.ts +90 -14
  32. package/dist/weaveapi/script/v1/service.pb.js +1404 -930
  33. package/dist/weaveapi/suite/v1/service.pb.d.ts +178 -12
  34. package/dist/weaveapi/suite/v1/service.pb.js +2631 -979
  35. package/dist/weaveapi/suite/v1/suite.pb.d.ts +2 -2
  36. package/dist/weaveapi/suite/v1/suite.pb.js +22 -22
  37. package/dist/weaveapi/testcase/v1/service.pb.d.ts +90 -14
  38. package/dist/weaveapi/testcase/v1/service.pb.js +1332 -856
  39. package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +1 -1
  40. package/dist/weaveapi/testcase/v1/testcase.pb.js +11 -11
  41. package/dist/weaveapi/workflow/v1/service.pb.d.ts +26 -0
  42. package/dist/weaveapi/workflow/v1/service.pb.js +293 -5
  43. package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +1 -0
  44. package/dist/weaveapi/workflow/v1/workflow.pb.js +17 -1
  45. package/dist/weavesql/weavedb/data_asset_sql.d.ts +81 -16
  46. package/dist/weavesql/weavedb/data_asset_sql.js +142 -24
  47. package/dist/weavesql/weavedb/input_sql.d.ts +88 -25
  48. package/dist/weavesql/weavedb/input_sql.js +150 -34
  49. package/dist/weavesql/weavedb/integration_sql.d.ts +85 -19
  50. package/dist/weavesql/weavedb/integration_sql.js +147 -28
  51. package/dist/weavesql/weavedb/project_sql.d.ts +29 -5
  52. package/dist/weavesql/weavedb/project_sql.js +73 -37
  53. package/dist/weavesql/weavedb/report_sql.d.ts +61 -7
  54. package/dist/weavesql/weavedb/report_sql.js +157 -81
  55. package/dist/weavesql/weavedb/requirement_sql.d.ts +83 -20
  56. package/dist/weavesql/weavedb/requirement_sql.js +144 -28
  57. package/dist/weavesql/weavedb/run_sql.d.ts +44 -8
  58. package/dist/weavesql/weavedb/run_sql.js +140 -93
  59. package/dist/weavesql/weavedb/suite_sql.d.ts +156 -30
  60. package/dist/weavesql/weavedb/suite_sql.js +274 -42
  61. package/dist/weavesql/weavedb/test_case_sql.d.ts +91 -27
  62. package/dist/weavesql/weavedb/test_case_sql.js +153 -36
  63. package/dist/weavesql/weavedb/test_script_sql.d.ts +91 -27
  64. package/dist/weavesql/weavedb/test_script_sql.js +153 -36
  65. package/dist/weavesql/weavedb/traceability_sql.d.ts +62 -4
  66. package/dist/weavesql/weavedb/traceability_sql.js +245 -37
  67. package/dist/weavesql/weavedb/workflow_sql.d.ts +30 -5
  68. package/dist/weavesql/weavedb/workflow_sql.js +76 -38
  69. package/package.json +1 -1
@@ -26,7 +26,7 @@ export declare function integrationStatusFromJSON(object: any): IntegrationStatu
26
26
  export declare function integrationStatusToJSON(object: IntegrationStatus): string;
27
27
  export interface IntegrationEndpoint {
28
28
  integrationEndpointId: string;
29
- workflowId: string;
29
+ projectId: string;
30
30
  name: string;
31
31
  description: string;
32
32
  integrationType: IntegrationType;
@@ -140,7 +140,7 @@ function integrationStatusToJSON(object) {
140
140
  function createBaseIntegrationEndpoint() {
141
141
  return {
142
142
  integrationEndpointId: "",
143
- workflowId: "",
143
+ projectId: "",
144
144
  name: "",
145
145
  description: "",
146
146
  integrationType: 0,
@@ -161,8 +161,8 @@ exports.IntegrationEndpoint = {
161
161
  if (message.integrationEndpointId !== "") {
162
162
  writer.uint32(10).string(message.integrationEndpointId);
163
163
  }
164
- if (message.workflowId !== "") {
165
- writer.uint32(18).string(message.workflowId);
164
+ if (message.projectId !== "") {
165
+ writer.uint32(18).string(message.projectId);
166
166
  }
167
167
  if (message.name !== "") {
168
168
  writer.uint32(26).string(message.name);
@@ -223,7 +223,7 @@ exports.IntegrationEndpoint = {
223
223
  if (tag !== 18) {
224
224
  break;
225
225
  }
226
- message.workflowId = reader.string();
226
+ message.projectId = reader.string();
227
227
  continue;
228
228
  }
229
229
  case 3: {
@@ -332,10 +332,10 @@ exports.IntegrationEndpoint = {
332
332
  : isSet(object.integration_endpoint_id)
333
333
  ? globalThis.String(object.integration_endpoint_id)
334
334
  : "",
335
- workflowId: isSet(object.workflowId)
336
- ? globalThis.String(object.workflowId)
337
- : isSet(object.workflow_id)
338
- ? globalThis.String(object.workflow_id)
335
+ projectId: isSet(object.projectId)
336
+ ? globalThis.String(object.projectId)
337
+ : isSet(object.project_id)
338
+ ? globalThis.String(object.project_id)
339
339
  : "",
340
340
  name: isSet(object.name) ? globalThis.String(object.name) : "",
341
341
  description: isSet(object.description) ? globalThis.String(object.description) : "",
@@ -389,8 +389,8 @@ exports.IntegrationEndpoint = {
389
389
  if (message.integrationEndpointId !== "") {
390
390
  obj.integrationEndpointId = message.integrationEndpointId;
391
391
  }
392
- if (message.workflowId !== "") {
393
- obj.workflowId = message.workflowId;
392
+ if (message.projectId !== "") {
393
+ obj.projectId = message.projectId;
394
394
  }
395
395
  if (message.name !== "") {
396
396
  obj.name = message.name;
@@ -440,7 +440,7 @@ exports.IntegrationEndpoint = {
440
440
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
441
441
  const message = createBaseIntegrationEndpoint();
442
442
  message.integrationEndpointId = (_a = object.integrationEndpointId) !== null && _a !== void 0 ? _a : "";
443
- message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
443
+ message.projectId = (_b = object.projectId) !== null && _b !== void 0 ? _b : "";
444
444
  message.name = (_c = object.name) !== null && _c !== void 0 ? _c : "";
445
445
  message.description = (_d = object.description) !== null && _d !== void 0 ? _d : "";
446
446
  message.integrationType = (_e = object.integrationType) !== null && _e !== void 0 ? _e : 0;
@@ -3,7 +3,6 @@ import { IntegrationEndpoint, IntegrationStatus, IntegrationType } from "./integ
3
3
  export declare const protobufPackage = "weaveapi.integration.v1";
4
4
  export interface CreateIntegrationEndpointRequest {
5
5
  projectId: string;
6
- workflowId: string;
7
6
  name: string;
8
7
  description: string;
9
8
  integrationType: IntegrationType;
@@ -21,7 +20,6 @@ export interface CreateIntegrationEndpointResponse {
21
20
  }
22
21
  export interface GetIntegrationEndpointRequest {
23
22
  projectId: string;
24
- workflowId: string;
25
23
  integrationEndpointId: string;
26
24
  }
27
25
  export interface GetIntegrationEndpointResponse {
@@ -29,10 +27,10 @@ export interface GetIntegrationEndpointResponse {
29
27
  }
30
28
  export interface ListIntegrationEndpointsRequest {
31
29
  projectId: string;
32
- workflowId: string;
33
30
  includeArchived: boolean;
34
31
  pageSize: number;
35
32
  pageToken: string;
33
+ workflowId: string;
36
34
  }
37
35
  export interface ListIntegrationEndpointsResponse {
38
36
  integrationEndpoints: IntegrationEndpoint[];
@@ -40,7 +38,6 @@ export interface ListIntegrationEndpointsResponse {
40
38
  }
41
39
  export interface UpdateIntegrationEndpointRequest {
42
40
  projectId: string;
43
- workflowId: string;
44
41
  integrationEndpointId: string;
45
42
  name: string;
46
43
  description: string;
@@ -60,7 +57,6 @@ export interface UpdateIntegrationEndpointResponse {
60
57
  }
61
58
  export interface ArchiveIntegrationEndpointRequest {
62
59
  projectId: string;
63
- workflowId: string;
64
60
  integrationEndpointId: string;
65
61
  }
66
62
  export interface ArchiveIntegrationEndpointResponse {
@@ -68,16 +64,53 @@ export interface ArchiveIntegrationEndpointResponse {
68
64
  }
69
65
  export interface DeleteIntegrationEndpointRequest {
70
66
  projectId: string;
71
- workflowId: string;
72
67
  integrationEndpointId: string;
73
68
  }
74
69
  export interface DeleteIntegrationEndpointResponse {
75
70
  }
76
- export interface ValidateIntegrationEndpointRequest {
71
+ export interface AttachIntegrationEndpointToWorkflowRequest {
72
+ projectId: string;
73
+ workflowId: string;
74
+ integrationEndpointId: string;
75
+ attachedBy: string;
76
+ metadata: {
77
+ [key: string]: any;
78
+ } | undefined;
79
+ }
80
+ export interface AttachIntegrationEndpointToWorkflowResponse {
81
+ binding: WorkflowIntegrationEndpointBinding | undefined;
82
+ }
83
+ export interface DetachIntegrationEndpointFromWorkflowRequest {
77
84
  projectId: string;
78
85
  workflowId: string;
79
86
  integrationEndpointId: string;
80
87
  }
88
+ export interface DetachIntegrationEndpointFromWorkflowResponse {
89
+ }
90
+ export interface ListWorkflowIntegrationEndpointBindingsRequest {
91
+ projectId: string;
92
+ workflowId: string;
93
+ pageSize: number;
94
+ pageToken: string;
95
+ }
96
+ export interface ListWorkflowIntegrationEndpointBindingsResponse {
97
+ bindings: WorkflowIntegrationEndpointBinding[];
98
+ nextPageToken: string;
99
+ }
100
+ export interface WorkflowIntegrationEndpointBinding {
101
+ projectId: string;
102
+ workflowId: string;
103
+ integrationEndpointId: string;
104
+ attachedBy: string;
105
+ metadata: {
106
+ [key: string]: any;
107
+ } | undefined;
108
+ attachedAt: Date | undefined;
109
+ }
110
+ export interface ValidateIntegrationEndpointRequest {
111
+ projectId: string;
112
+ integrationEndpointId: string;
113
+ }
81
114
  export interface ValidateIntegrationEndpointResponse {
82
115
  success: boolean;
83
116
  message: string;
@@ -95,6 +128,13 @@ export declare const ArchiveIntegrationEndpointRequest: MessageFns<ArchiveIntegr
95
128
  export declare const ArchiveIntegrationEndpointResponse: MessageFns<ArchiveIntegrationEndpointResponse>;
96
129
  export declare const DeleteIntegrationEndpointRequest: MessageFns<DeleteIntegrationEndpointRequest>;
97
130
  export declare const DeleteIntegrationEndpointResponse: MessageFns<DeleteIntegrationEndpointResponse>;
131
+ export declare const AttachIntegrationEndpointToWorkflowRequest: MessageFns<AttachIntegrationEndpointToWorkflowRequest>;
132
+ export declare const AttachIntegrationEndpointToWorkflowResponse: MessageFns<AttachIntegrationEndpointToWorkflowResponse>;
133
+ export declare const DetachIntegrationEndpointFromWorkflowRequest: MessageFns<DetachIntegrationEndpointFromWorkflowRequest>;
134
+ export declare const DetachIntegrationEndpointFromWorkflowResponse: MessageFns<DetachIntegrationEndpointFromWorkflowResponse>;
135
+ export declare const ListWorkflowIntegrationEndpointBindingsRequest: MessageFns<ListWorkflowIntegrationEndpointBindingsRequest>;
136
+ export declare const ListWorkflowIntegrationEndpointBindingsResponse: MessageFns<ListWorkflowIntegrationEndpointBindingsResponse>;
137
+ export declare const WorkflowIntegrationEndpointBinding: MessageFns<WorkflowIntegrationEndpointBinding>;
98
138
  export declare const ValidateIntegrationEndpointRequest: MessageFns<ValidateIntegrationEndpointRequest>;
99
139
  export declare const ValidateIntegrationEndpointResponse: MessageFns<ValidateIntegrationEndpointResponse>;
100
140
  export interface IntegrationService {
@@ -104,6 +144,9 @@ export interface IntegrationService {
104
144
  UpdateIntegrationEndpoint(request: UpdateIntegrationEndpointRequest): Promise<UpdateIntegrationEndpointResponse>;
105
145
  ArchiveIntegrationEndpoint(request: ArchiveIntegrationEndpointRequest): Promise<ArchiveIntegrationEndpointResponse>;
106
146
  DeleteIntegrationEndpoint(request: DeleteIntegrationEndpointRequest): Promise<DeleteIntegrationEndpointResponse>;
147
+ AttachIntegrationEndpointToWorkflow(request: AttachIntegrationEndpointToWorkflowRequest): Promise<AttachIntegrationEndpointToWorkflowResponse>;
148
+ DetachIntegrationEndpointFromWorkflow(request: DetachIntegrationEndpointFromWorkflowRequest): Promise<DetachIntegrationEndpointFromWorkflowResponse>;
149
+ ListWorkflowIntegrationEndpointBindings(request: ListWorkflowIntegrationEndpointBindingsRequest): Promise<ListWorkflowIntegrationEndpointBindingsResponse>;
107
150
  ValidateIntegrationEndpoint(request: ValidateIntegrationEndpointRequest): Promise<ValidateIntegrationEndpointResponse>;
108
151
  }
109
152
  export declare const IntegrationServiceServiceName = "weaveapi.integration.v1.IntegrationService";
@@ -119,6 +162,9 @@ export declare class IntegrationServiceClientImpl implements IntegrationService
119
162
  UpdateIntegrationEndpoint(request: UpdateIntegrationEndpointRequest): Promise<UpdateIntegrationEndpointResponse>;
120
163
  ArchiveIntegrationEndpoint(request: ArchiveIntegrationEndpointRequest): Promise<ArchiveIntegrationEndpointResponse>;
121
164
  DeleteIntegrationEndpoint(request: DeleteIntegrationEndpointRequest): Promise<DeleteIntegrationEndpointResponse>;
165
+ AttachIntegrationEndpointToWorkflow(request: AttachIntegrationEndpointToWorkflowRequest): Promise<AttachIntegrationEndpointToWorkflowResponse>;
166
+ DetachIntegrationEndpointFromWorkflow(request: DetachIntegrationEndpointFromWorkflowRequest): Promise<DetachIntegrationEndpointFromWorkflowResponse>;
167
+ ListWorkflowIntegrationEndpointBindings(request: ListWorkflowIntegrationEndpointBindingsRequest): Promise<ListWorkflowIntegrationEndpointBindingsResponse>;
122
168
  ValidateIntegrationEndpoint(request: ValidateIntegrationEndpointRequest): Promise<ValidateIntegrationEndpointResponse>;
123
169
  }
124
170
  export type IntegrationServiceDefinition = typeof IntegrationServiceDefinition;
@@ -198,6 +244,42 @@ export declare const IntegrationServiceDefinition: {
198
244
  };
199
245
  };
200
246
  };
247
+ readonly attachIntegrationEndpointToWorkflow: {
248
+ readonly name: "AttachIntegrationEndpointToWorkflow";
249
+ readonly requestType: MessageFns<AttachIntegrationEndpointToWorkflowRequest>;
250
+ readonly requestStream: false;
251
+ readonly responseType: MessageFns<AttachIntegrationEndpointToWorkflowResponse>;
252
+ readonly responseStream: false;
253
+ readonly options: {
254
+ readonly _unknownFields: {
255
+ readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
256
+ };
257
+ };
258
+ };
259
+ readonly detachIntegrationEndpointFromWorkflow: {
260
+ readonly name: "DetachIntegrationEndpointFromWorkflow";
261
+ readonly requestType: MessageFns<DetachIntegrationEndpointFromWorkflowRequest>;
262
+ readonly requestStream: false;
263
+ readonly responseType: MessageFns<DetachIntegrationEndpointFromWorkflowResponse>;
264
+ readonly responseStream: false;
265
+ readonly options: {
266
+ readonly _unknownFields: {
267
+ readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
268
+ };
269
+ };
270
+ };
271
+ readonly listWorkflowIntegrationEndpointBindings: {
272
+ readonly name: "ListWorkflowIntegrationEndpointBindings";
273
+ readonly requestType: MessageFns<ListWorkflowIntegrationEndpointBindingsRequest>;
274
+ readonly requestStream: false;
275
+ readonly responseType: MessageFns<ListWorkflowIntegrationEndpointBindingsResponse>;
276
+ readonly responseStream: false;
277
+ readonly options: {
278
+ readonly _unknownFields: {
279
+ readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
280
+ };
281
+ };
282
+ };
201
283
  readonly validateIntegrationEndpoint: {
202
284
  readonly name: "ValidateIntegrationEndpoint";
203
285
  readonly requestType: MessageFns<ValidateIntegrationEndpointRequest>;