weave-typescript 0.13.0 → 0.14.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 (121) hide show
  1. package/dist/index.d.ts +9 -16
  2. package/dist/index.js +13 -21
  3. package/dist/weaveapi/project/v1/project.pb.d.ts +67 -5
  4. package/dist/weaveapi/project/v1/project.pb.js +764 -65
  5. package/dist/weaveapi/project/v1/service.pb.d.ts +110 -69
  6. package/dist/weaveapi/project/v1/service.pb.js +1056 -392
  7. package/dist/weaveapi/task/v1/service.pb.d.ts +171 -0
  8. package/dist/weaveapi/task/v1/service.pb.js +1416 -0
  9. package/dist/weaveapi/task/v1/task.pb.d.ts +84 -0
  10. package/dist/weaveapi/task/v1/task.pb.js +782 -0
  11. package/dist/weavesql/atcdb/event_sql.d.ts +10 -0
  12. package/dist/weavesql/atcdb/event_sql.js +11 -1
  13. package/dist/weavesql/atcdb/mailbox_sql.d.ts +2 -2
  14. package/dist/weavesql/atcdb/mailbox_sql.js +1 -1
  15. package/dist/weavesql/weavedb/project_sql.d.ts +121 -46
  16. package/dist/weavesql/weavedb/project_sql.js +304 -112
  17. package/dist/weavesql/weavedb/task_sql.d.ts +163 -0
  18. package/dist/weavesql/weavedb/task_sql.js +328 -0
  19. package/package.json +1 -1
  20. package/dist/weaveapi/auth/v1/service.pb.d.ts +0 -709
  21. package/dist/weaveapi/auth/v1/service.pb.js +0 -5058
  22. package/dist/weaveapi/auth/v1/session.pb.d.ts +0 -43
  23. package/dist/weaveapi/auth/v1/session.pb.js +0 -308
  24. package/dist/weaveapi/auth/v1/usage.pb.d.ts +0 -76
  25. package/dist/weaveapi/auth/v1/usage.pb.js +0 -849
  26. package/dist/weaveapi/auth/v1/user.pb.d.ts +0 -141
  27. package/dist/weaveapi/auth/v1/user.pb.js +0 -1625
  28. package/dist/weaveapi/data/v1/data.pb.d.ts +0 -54
  29. package/dist/weaveapi/data/v1/data.pb.js +0 -411
  30. package/dist/weaveapi/data/v1/service.pb.d.ts +0 -296
  31. package/dist/weaveapi/data/v1/service.pb.js +0 -2777
  32. package/dist/weaveapi/generate/v1/configuration.pb.d.ts +0 -122
  33. package/dist/weaveapi/generate/v1/configuration.pb.js +0 -877
  34. package/dist/weaveapi/generate/v1/generate.pb.d.ts +0 -48
  35. package/dist/weaveapi/generate/v1/generate.pb.js +0 -367
  36. package/dist/weaveapi/generate/v1/service.pb.d.ts +0 -173
  37. package/dist/weaveapi/generate/v1/service.pb.js +0 -1207
  38. package/dist/weaveapi/input/v1/input.pb.d.ts +0 -77
  39. package/dist/weaveapi/input/v1/input.pb.js +0 -632
  40. package/dist/weaveapi/input/v1/service.pb.d.ts +0 -390
  41. package/dist/weaveapi/input/v1/service.pb.js +0 -3610
  42. package/dist/weaveapi/integration/v1/integration.pb.d.ts +0 -67
  43. package/dist/weaveapi/integration/v1/integration.pb.js +0 -486
  44. package/dist/weaveapi/integration/v1/service.pb.d.ts +0 -318
  45. package/dist/weaveapi/integration/v1/service.pb.js +0 -2992
  46. package/dist/weaveapi/llmx/v1/architecture.pb.d.ts +0 -665
  47. package/dist/weaveapi/llmx/v1/architecture.pb.js +0 -3028
  48. package/dist/weaveapi/llmx/v1/capabilities.pb.d.ts +0 -709
  49. package/dist/weaveapi/llmx/v1/capabilities.pb.js +0 -3458
  50. package/dist/weaveapi/llmx/v1/model.pb.d.ts +0 -375
  51. package/dist/weaveapi/llmx/v1/model.pb.js +0 -1472
  52. package/dist/weaveapi/llmx/v1/pricing.pb.d.ts +0 -340
  53. package/dist/weaveapi/llmx/v1/pricing.pb.js +0 -974
  54. package/dist/weaveapi/llmx/v1/provider.pb.d.ts +0 -72
  55. package/dist/weaveapi/llmx/v1/provider.pb.js +0 -218
  56. package/dist/weaveapi/llmx/v1/service.pb.d.ts +0 -683
  57. package/dist/weaveapi/llmx/v1/service.pb.js +0 -5311
  58. package/dist/weaveapi/mcpregistry/v1/server.pb.d.ts +0 -54
  59. package/dist/weaveapi/mcpregistry/v1/server.pb.js +0 -436
  60. package/dist/weaveapi/mcpregistry/v1/service.pb.d.ts +0 -171
  61. package/dist/weaveapi/mcpregistry/v1/service.pb.js +0 -963
  62. package/dist/weaveapi/payment/v1/invoice.pb.d.ts +0 -92
  63. package/dist/weaveapi/payment/v1/invoice.pb.js +0 -998
  64. package/dist/weaveapi/payment/v1/service.pb.d.ts +0 -662
  65. package/dist/weaveapi/payment/v1/service.pb.js +0 -5395
  66. package/dist/weaveapi/payment/v1/subscription.pb.d.ts +0 -165
  67. package/dist/weaveapi/payment/v1/subscription.pb.js +0 -1930
  68. package/dist/weaveapi/report/v1/report.pb.d.ts +0 -81
  69. package/dist/weaveapi/report/v1/report.pb.js +0 -678
  70. package/dist/weaveapi/report/v1/service.pb.d.ts +0 -194
  71. package/dist/weaveapi/report/v1/service.pb.js +0 -1923
  72. package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +0 -70
  73. package/dist/weaveapi/requirement/v1/requirement.pb.js +0 -570
  74. package/dist/weaveapi/requirement/v1/service.pb.d.ts +0 -390
  75. package/dist/weaveapi/requirement/v1/service.pb.js +0 -3636
  76. package/dist/weaveapi/run/v1/run.pb.d.ts +0 -117
  77. package/dist/weaveapi/run/v1/run.pb.js +0 -1155
  78. package/dist/weaveapi/run/v1/service.pb.d.ts +0 -229
  79. package/dist/weaveapi/run/v1/service.pb.js +0 -2426
  80. package/dist/weaveapi/script/v1/script.pb.d.ts +0 -102
  81. package/dist/weaveapi/script/v1/script.pb.js +0 -1025
  82. package/dist/weaveapi/script/v1/service.pb.d.ts +0 -502
  83. package/dist/weaveapi/script/v1/service.pb.js +0 -4871
  84. package/dist/weaveapi/storage/v1/auth.pb.d.ts +0 -27
  85. package/dist/weaveapi/storage/v1/auth.pb.js +0 -110
  86. package/dist/weaveapi/storage/v1/nosql_database.pb.d.ts +0 -91
  87. package/dist/weaveapi/storage/v1/nosql_database.pb.js +0 -1056
  88. package/dist/weaveapi/storage/v1/object_store.pb.d.ts +0 -49
  89. package/dist/weaveapi/storage/v1/object_store.pb.js +0 -441
  90. package/dist/weaveapi/storage/v1/service.pb.d.ts +0 -245
  91. package/dist/weaveapi/storage/v1/service.pb.js +0 -1339
  92. package/dist/weaveapi/storage/v1/sql_database.pb.d.ts +0 -98
  93. package/dist/weaveapi/storage/v1/sql_database.pb.js +0 -1184
  94. package/dist/weaveapi/storage/v1/storage.pb.d.ts +0 -35
  95. package/dist/weaveapi/storage/v1/storage.pb.js +0 -198
  96. package/dist/weaveapi/storage/v1/vcs.pb.d.ts +0 -75
  97. package/dist/weaveapi/storage/v1/vcs.pb.js +0 -864
  98. package/dist/weaveapi/suite/v1/service.pb.d.ts +0 -539
  99. package/dist/weaveapi/suite/v1/service.pb.js +0 -5279
  100. package/dist/weaveapi/suite/v1/suite.pb.d.ts +0 -92
  101. package/dist/weaveapi/suite/v1/suite.pb.js +0 -876
  102. package/dist/weaveapi/synthesize/v1/dataset.pb.d.ts +0 -68
  103. package/dist/weaveapi/synthesize/v1/dataset.pb.js +0 -460
  104. package/dist/weaveapi/synthesize/v1/inline_data.pb.d.ts +0 -45
  105. package/dist/weaveapi/synthesize/v1/inline_data.pb.js +0 -166
  106. package/dist/weaveapi/synthesize/v1/relationship.pb.d.ts +0 -58
  107. package/dist/weaveapi/synthesize/v1/relationship.pb.js +0 -253
  108. package/dist/weaveapi/synthesize/v1/service.pb.d.ts +0 -144
  109. package/dist/weaveapi/synthesize/v1/service.pb.js +0 -937
  110. package/dist/weaveapi/synthesize/v1/training.pb.d.ts +0 -58
  111. package/dist/weaveapi/synthesize/v1/training.pb.js +0 -386
  112. package/dist/weaveapi/testcase/v1/service.pb.d.ts +0 -498
  113. package/dist/weaveapi/testcase/v1/service.pb.js +0 -4728
  114. package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +0 -91
  115. package/dist/weaveapi/testcase/v1/testcase.pb.js +0 -794
  116. package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -261
  117. package/dist/weaveapi/workflow/v1/service.pb.js +0 -2120
  118. package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +0 -77
  119. package/dist/weaveapi/workflow/v1/workflow.pb.js +0 -555
  120. package/dist/weaveapi/workflowdata/v1/service.pb.d.ts +0 -295
  121. package/dist/weaveapi/workflowdata/v1/service.pb.js +0 -2612
@@ -1,498 +0,0 @@
1
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- import { TestCase, TestCaseRequirementLink, TestCaseStatus, TestCaseType, TestCaseVersion } from "./testcase.pb";
3
- export declare const protobufPackage = "weaveapi.testcase.v1";
4
- export interface CreateTestCaseRequest {
5
- projectId: string;
6
- caseKey: string;
7
- title: string;
8
- description: string;
9
- caseType: TestCaseType;
10
- status: TestCaseStatus;
11
- priority: number;
12
- metadata: {
13
- [key: string]: any;
14
- } | undefined;
15
- }
16
- export interface CreateTestCaseResponse {
17
- testCase: TestCase | undefined;
18
- }
19
- export interface GetTestCaseRequest {
20
- projectId: string;
21
- testCaseId: string;
22
- }
23
- export interface GetTestCaseResponse {
24
- testCase: TestCase | undefined;
25
- }
26
- export interface ListTestCasesRequest {
27
- projectId: string;
28
- includeArchived: boolean;
29
- pageSize: number;
30
- pageToken: string;
31
- workflowId: string;
32
- }
33
- export interface ListTestCasesResponse {
34
- testCases: TestCase[];
35
- nextPageToken: string;
36
- }
37
- export interface UpdateTestCaseRequest {
38
- projectId: string;
39
- testCaseId: string;
40
- caseKey: string;
41
- title: string;
42
- description: string;
43
- caseType: TestCaseType;
44
- status: TestCaseStatus;
45
- priority: number;
46
- metadata: {
47
- [key: string]: any;
48
- } | undefined;
49
- }
50
- export interface UpdateTestCaseResponse {
51
- testCase: TestCase | undefined;
52
- }
53
- export interface ArchiveTestCaseRequest {
54
- projectId: string;
55
- testCaseId: string;
56
- }
57
- export interface ArchiveTestCaseResponse {
58
- testCase: TestCase | undefined;
59
- }
60
- export interface DeleteTestCaseRequest {
61
- projectId: string;
62
- testCaseId: string;
63
- }
64
- export interface DeleteTestCaseResponse {
65
- }
66
- export interface AttachTestCaseToWorkflowRequest {
67
- projectId: string;
68
- workflowId: string;
69
- testCaseId: string;
70
- attachedBy: string;
71
- metadata: {
72
- [key: string]: any;
73
- } | undefined;
74
- }
75
- export interface AttachTestCaseToWorkflowResponse {
76
- binding: WorkflowTestCaseBinding | undefined;
77
- }
78
- export interface DetachTestCaseFromWorkflowRequest {
79
- projectId: string;
80
- workflowId: string;
81
- testCaseId: string;
82
- }
83
- export interface DetachTestCaseFromWorkflowResponse {
84
- }
85
- export interface ListWorkflowTestCaseBindingsRequest {
86
- projectId: string;
87
- workflowId: string;
88
- pageSize: number;
89
- pageToken: string;
90
- }
91
- export interface ListWorkflowTestCaseBindingsResponse {
92
- bindings: WorkflowTestCaseBinding[];
93
- nextPageToken: string;
94
- }
95
- export interface WorkflowTestCaseBinding {
96
- projectId: string;
97
- workflowId: string;
98
- testCaseId: string;
99
- attachedBy: string;
100
- metadata: {
101
- [key: string]: any;
102
- } | undefined;
103
- attachedAt: Date | undefined;
104
- }
105
- export interface CreateTestCaseVersionRequest {
106
- projectId: string;
107
- testCaseId: string;
108
- objective: string;
109
- preconditions: {
110
- [key: string]: any;
111
- } | undefined;
112
- steps: {
113
- [key: string]: any;
114
- } | undefined;
115
- expectedResults: {
116
- [key: string]: any;
117
- } | undefined;
118
- metadata: {
119
- [key: string]: any;
120
- } | undefined;
121
- promptVersion: string;
122
- }
123
- export interface CreateTestCaseVersionResponse {
124
- testCaseVersion: TestCaseVersion | undefined;
125
- }
126
- export interface GetTestCaseVersionRequest {
127
- projectId: string;
128
- testCaseId: string;
129
- testCaseVersionId: string;
130
- }
131
- export interface GetTestCaseVersionResponse {
132
- testCaseVersion: TestCaseVersion | undefined;
133
- }
134
- export interface ListTestCaseVersionsRequest {
135
- projectId: string;
136
- testCaseId: string;
137
- pageSize: number;
138
- pageToken: string;
139
- }
140
- export interface ListTestCaseVersionsResponse {
141
- testCaseVersions: TestCaseVersion[];
142
- nextPageToken: string;
143
- }
144
- export interface SetCurrentTestCaseVersionRequest {
145
- projectId: string;
146
- testCaseId: string;
147
- testCaseVersionId: string;
148
- }
149
- export interface SetCurrentTestCaseVersionResponse {
150
- testCase: TestCase | undefined;
151
- }
152
- export interface LinkTestCaseRequirementRequest {
153
- projectId: string;
154
- testCaseId: string;
155
- requirementId: string;
156
- coverageType: string;
157
- confidence: number;
158
- }
159
- export interface LinkTestCaseRequirementResponse {
160
- link: TestCaseRequirementLink | undefined;
161
- }
162
- export interface UnlinkTestCaseRequirementRequest {
163
- projectId: string;
164
- testCaseId: string;
165
- requirementId: string;
166
- }
167
- export interface UnlinkTestCaseRequirementResponse {
168
- }
169
- export interface ListTestCaseRequirementsRequest {
170
- projectId: string;
171
- testCaseId: string;
172
- }
173
- export interface ListTestCaseRequirementsResponse {
174
- links: TestCaseRequirementLink[];
175
- }
176
- export interface GenerateTestCasesRequest {
177
- projectId: string;
178
- requirementIds: string[];
179
- options: {
180
- [key: string]: any;
181
- } | undefined;
182
- targetWorkflowId: string;
183
- }
184
- export interface GenerateTestCasesResponse {
185
- testCases: TestCase[];
186
- }
187
- export declare const CreateTestCaseRequest: MessageFns<CreateTestCaseRequest>;
188
- export declare const CreateTestCaseResponse: MessageFns<CreateTestCaseResponse>;
189
- export declare const GetTestCaseRequest: MessageFns<GetTestCaseRequest>;
190
- export declare const GetTestCaseResponse: MessageFns<GetTestCaseResponse>;
191
- export declare const ListTestCasesRequest: MessageFns<ListTestCasesRequest>;
192
- export declare const ListTestCasesResponse: MessageFns<ListTestCasesResponse>;
193
- export declare const UpdateTestCaseRequest: MessageFns<UpdateTestCaseRequest>;
194
- export declare const UpdateTestCaseResponse: MessageFns<UpdateTestCaseResponse>;
195
- export declare const ArchiveTestCaseRequest: MessageFns<ArchiveTestCaseRequest>;
196
- export declare const ArchiveTestCaseResponse: MessageFns<ArchiveTestCaseResponse>;
197
- export declare const DeleteTestCaseRequest: MessageFns<DeleteTestCaseRequest>;
198
- export declare const DeleteTestCaseResponse: MessageFns<DeleteTestCaseResponse>;
199
- export declare const AttachTestCaseToWorkflowRequest: MessageFns<AttachTestCaseToWorkflowRequest>;
200
- export declare const AttachTestCaseToWorkflowResponse: MessageFns<AttachTestCaseToWorkflowResponse>;
201
- export declare const DetachTestCaseFromWorkflowRequest: MessageFns<DetachTestCaseFromWorkflowRequest>;
202
- export declare const DetachTestCaseFromWorkflowResponse: MessageFns<DetachTestCaseFromWorkflowResponse>;
203
- export declare const ListWorkflowTestCaseBindingsRequest: MessageFns<ListWorkflowTestCaseBindingsRequest>;
204
- export declare const ListWorkflowTestCaseBindingsResponse: MessageFns<ListWorkflowTestCaseBindingsResponse>;
205
- export declare const WorkflowTestCaseBinding: MessageFns<WorkflowTestCaseBinding>;
206
- export declare const CreateTestCaseVersionRequest: MessageFns<CreateTestCaseVersionRequest>;
207
- export declare const CreateTestCaseVersionResponse: MessageFns<CreateTestCaseVersionResponse>;
208
- export declare const GetTestCaseVersionRequest: MessageFns<GetTestCaseVersionRequest>;
209
- export declare const GetTestCaseVersionResponse: MessageFns<GetTestCaseVersionResponse>;
210
- export declare const ListTestCaseVersionsRequest: MessageFns<ListTestCaseVersionsRequest>;
211
- export declare const ListTestCaseVersionsResponse: MessageFns<ListTestCaseVersionsResponse>;
212
- export declare const SetCurrentTestCaseVersionRequest: MessageFns<SetCurrentTestCaseVersionRequest>;
213
- export declare const SetCurrentTestCaseVersionResponse: MessageFns<SetCurrentTestCaseVersionResponse>;
214
- export declare const LinkTestCaseRequirementRequest: MessageFns<LinkTestCaseRequirementRequest>;
215
- export declare const LinkTestCaseRequirementResponse: MessageFns<LinkTestCaseRequirementResponse>;
216
- export declare const UnlinkTestCaseRequirementRequest: MessageFns<UnlinkTestCaseRequirementRequest>;
217
- export declare const UnlinkTestCaseRequirementResponse: MessageFns<UnlinkTestCaseRequirementResponse>;
218
- export declare const ListTestCaseRequirementsRequest: MessageFns<ListTestCaseRequirementsRequest>;
219
- export declare const ListTestCaseRequirementsResponse: MessageFns<ListTestCaseRequirementsResponse>;
220
- export declare const GenerateTestCasesRequest: MessageFns<GenerateTestCasesRequest>;
221
- export declare const GenerateTestCasesResponse: MessageFns<GenerateTestCasesResponse>;
222
- export interface TestCaseService {
223
- CreateTestCase(request: CreateTestCaseRequest): Promise<CreateTestCaseResponse>;
224
- GetTestCase(request: GetTestCaseRequest): Promise<GetTestCaseResponse>;
225
- ListTestCases(request: ListTestCasesRequest): Promise<ListTestCasesResponse>;
226
- UpdateTestCase(request: UpdateTestCaseRequest): Promise<UpdateTestCaseResponse>;
227
- ArchiveTestCase(request: ArchiveTestCaseRequest): Promise<ArchiveTestCaseResponse>;
228
- DeleteTestCase(request: DeleteTestCaseRequest): Promise<DeleteTestCaseResponse>;
229
- AttachTestCaseToWorkflow(request: AttachTestCaseToWorkflowRequest): Promise<AttachTestCaseToWorkflowResponse>;
230
- DetachTestCaseFromWorkflow(request: DetachTestCaseFromWorkflowRequest): Promise<DetachTestCaseFromWorkflowResponse>;
231
- ListWorkflowTestCaseBindings(request: ListWorkflowTestCaseBindingsRequest): Promise<ListWorkflowTestCaseBindingsResponse>;
232
- CreateTestCaseVersion(request: CreateTestCaseVersionRequest): Promise<CreateTestCaseVersionResponse>;
233
- GetTestCaseVersion(request: GetTestCaseVersionRequest): Promise<GetTestCaseVersionResponse>;
234
- ListTestCaseVersions(request: ListTestCaseVersionsRequest): Promise<ListTestCaseVersionsResponse>;
235
- SetCurrentTestCaseVersion(request: SetCurrentTestCaseVersionRequest): Promise<SetCurrentTestCaseVersionResponse>;
236
- LinkTestCaseRequirement(request: LinkTestCaseRequirementRequest): Promise<LinkTestCaseRequirementResponse>;
237
- UnlinkTestCaseRequirement(request: UnlinkTestCaseRequirementRequest): Promise<UnlinkTestCaseRequirementResponse>;
238
- ListTestCaseRequirements(request: ListTestCaseRequirementsRequest): Promise<ListTestCaseRequirementsResponse>;
239
- GenerateTestCases(request: GenerateTestCasesRequest): Promise<GenerateTestCasesResponse>;
240
- }
241
- export declare const TestCaseServiceServiceName = "weaveapi.testcase.v1.TestCaseService";
242
- export declare class TestCaseServiceClientImpl implements TestCaseService {
243
- private readonly rpc;
244
- private readonly service;
245
- constructor(rpc: Rpc, opts?: {
246
- service?: string;
247
- });
248
- CreateTestCase(request: CreateTestCaseRequest): Promise<CreateTestCaseResponse>;
249
- GetTestCase(request: GetTestCaseRequest): Promise<GetTestCaseResponse>;
250
- ListTestCases(request: ListTestCasesRequest): Promise<ListTestCasesResponse>;
251
- UpdateTestCase(request: UpdateTestCaseRequest): Promise<UpdateTestCaseResponse>;
252
- ArchiveTestCase(request: ArchiveTestCaseRequest): Promise<ArchiveTestCaseResponse>;
253
- DeleteTestCase(request: DeleteTestCaseRequest): Promise<DeleteTestCaseResponse>;
254
- AttachTestCaseToWorkflow(request: AttachTestCaseToWorkflowRequest): Promise<AttachTestCaseToWorkflowResponse>;
255
- DetachTestCaseFromWorkflow(request: DetachTestCaseFromWorkflowRequest): Promise<DetachTestCaseFromWorkflowResponse>;
256
- ListWorkflowTestCaseBindings(request: ListWorkflowTestCaseBindingsRequest): Promise<ListWorkflowTestCaseBindingsResponse>;
257
- CreateTestCaseVersion(request: CreateTestCaseVersionRequest): Promise<CreateTestCaseVersionResponse>;
258
- GetTestCaseVersion(request: GetTestCaseVersionRequest): Promise<GetTestCaseVersionResponse>;
259
- ListTestCaseVersions(request: ListTestCaseVersionsRequest): Promise<ListTestCaseVersionsResponse>;
260
- SetCurrentTestCaseVersion(request: SetCurrentTestCaseVersionRequest): Promise<SetCurrentTestCaseVersionResponse>;
261
- LinkTestCaseRequirement(request: LinkTestCaseRequirementRequest): Promise<LinkTestCaseRequirementResponse>;
262
- UnlinkTestCaseRequirement(request: UnlinkTestCaseRequirementRequest): Promise<UnlinkTestCaseRequirementResponse>;
263
- ListTestCaseRequirements(request: ListTestCaseRequirementsRequest): Promise<ListTestCaseRequirementsResponse>;
264
- GenerateTestCases(request: GenerateTestCasesRequest): Promise<GenerateTestCasesResponse>;
265
- }
266
- export type TestCaseServiceDefinition = typeof TestCaseServiceDefinition;
267
- export declare const TestCaseServiceDefinition: {
268
- readonly name: "TestCaseService";
269
- readonly fullName: "weaveapi.testcase.v1.TestCaseService";
270
- readonly methods: {
271
- readonly createTestCase: {
272
- readonly name: "CreateTestCase";
273
- readonly requestType: typeof CreateTestCaseRequest;
274
- readonly requestStream: false;
275
- readonly responseType: typeof CreateTestCaseResponse;
276
- readonly responseStream: false;
277
- readonly options: {
278
- readonly _unknownFields: {
279
- readonly 578365826: readonly [Uint8Array];
280
- };
281
- };
282
- };
283
- readonly getTestCase: {
284
- readonly name: "GetTestCase";
285
- readonly requestType: typeof GetTestCaseRequest;
286
- readonly requestStream: false;
287
- readonly responseType: typeof GetTestCaseResponse;
288
- readonly responseStream: false;
289
- readonly options: {
290
- readonly _unknownFields: {
291
- readonly 578365826: readonly [Uint8Array];
292
- };
293
- };
294
- };
295
- readonly listTestCases: {
296
- readonly name: "ListTestCases";
297
- readonly requestType: typeof ListTestCasesRequest;
298
- readonly requestStream: false;
299
- readonly responseType: typeof ListTestCasesResponse;
300
- readonly responseStream: false;
301
- readonly options: {
302
- readonly _unknownFields: {
303
- readonly 578365826: readonly [Uint8Array];
304
- };
305
- };
306
- };
307
- readonly updateTestCase: {
308
- readonly name: "UpdateTestCase";
309
- readonly requestType: typeof UpdateTestCaseRequest;
310
- readonly requestStream: false;
311
- readonly responseType: typeof UpdateTestCaseResponse;
312
- readonly responseStream: false;
313
- readonly options: {
314
- readonly _unknownFields: {
315
- readonly 578365826: readonly [Uint8Array];
316
- };
317
- };
318
- };
319
- readonly archiveTestCase: {
320
- readonly name: "ArchiveTestCase";
321
- readonly requestType: typeof ArchiveTestCaseRequest;
322
- readonly requestStream: false;
323
- readonly responseType: typeof ArchiveTestCaseResponse;
324
- readonly responseStream: false;
325
- readonly options: {
326
- readonly _unknownFields: {
327
- readonly 578365826: readonly [Uint8Array];
328
- };
329
- };
330
- };
331
- readonly deleteTestCase: {
332
- readonly name: "DeleteTestCase";
333
- readonly requestType: typeof DeleteTestCaseRequest;
334
- readonly requestStream: false;
335
- readonly responseType: typeof DeleteTestCaseResponse;
336
- readonly responseStream: false;
337
- readonly options: {
338
- readonly _unknownFields: {
339
- readonly 578365826: readonly [Uint8Array];
340
- };
341
- };
342
- };
343
- readonly attachTestCaseToWorkflow: {
344
- readonly name: "AttachTestCaseToWorkflow";
345
- readonly requestType: typeof AttachTestCaseToWorkflowRequest;
346
- readonly requestStream: false;
347
- readonly responseType: typeof AttachTestCaseToWorkflowResponse;
348
- readonly responseStream: false;
349
- readonly options: {
350
- readonly _unknownFields: {
351
- readonly 578365826: readonly [Uint8Array];
352
- };
353
- };
354
- };
355
- readonly detachTestCaseFromWorkflow: {
356
- readonly name: "DetachTestCaseFromWorkflow";
357
- readonly requestType: typeof DetachTestCaseFromWorkflowRequest;
358
- readonly requestStream: false;
359
- readonly responseType: typeof DetachTestCaseFromWorkflowResponse;
360
- readonly responseStream: false;
361
- readonly options: {
362
- readonly _unknownFields: {
363
- readonly 578365826: readonly [Uint8Array];
364
- };
365
- };
366
- };
367
- readonly listWorkflowTestCaseBindings: {
368
- readonly name: "ListWorkflowTestCaseBindings";
369
- readonly requestType: typeof ListWorkflowTestCaseBindingsRequest;
370
- readonly requestStream: false;
371
- readonly responseType: typeof ListWorkflowTestCaseBindingsResponse;
372
- readonly responseStream: false;
373
- readonly options: {
374
- readonly _unknownFields: {
375
- readonly 578365826: readonly [Uint8Array];
376
- };
377
- };
378
- };
379
- readonly createTestCaseVersion: {
380
- readonly name: "CreateTestCaseVersion";
381
- readonly requestType: typeof CreateTestCaseVersionRequest;
382
- readonly requestStream: false;
383
- readonly responseType: typeof CreateTestCaseVersionResponse;
384
- readonly responseStream: false;
385
- readonly options: {
386
- readonly _unknownFields: {
387
- readonly 578365826: readonly [Uint8Array];
388
- };
389
- };
390
- };
391
- readonly getTestCaseVersion: {
392
- readonly name: "GetTestCaseVersion";
393
- readonly requestType: typeof GetTestCaseVersionRequest;
394
- readonly requestStream: false;
395
- readonly responseType: typeof GetTestCaseVersionResponse;
396
- readonly responseStream: false;
397
- readonly options: {
398
- readonly _unknownFields: {
399
- readonly 578365826: readonly [Uint8Array];
400
- };
401
- };
402
- };
403
- readonly listTestCaseVersions: {
404
- readonly name: "ListTestCaseVersions";
405
- readonly requestType: typeof ListTestCaseVersionsRequest;
406
- readonly requestStream: false;
407
- readonly responseType: typeof ListTestCaseVersionsResponse;
408
- readonly responseStream: false;
409
- readonly options: {
410
- readonly _unknownFields: {
411
- readonly 578365826: readonly [Uint8Array];
412
- };
413
- };
414
- };
415
- readonly setCurrentTestCaseVersion: {
416
- readonly name: "SetCurrentTestCaseVersion";
417
- readonly requestType: typeof SetCurrentTestCaseVersionRequest;
418
- readonly requestStream: false;
419
- readonly responseType: typeof SetCurrentTestCaseVersionResponse;
420
- readonly responseStream: false;
421
- readonly options: {
422
- readonly _unknownFields: {
423
- readonly 578365826: readonly [Uint8Array];
424
- };
425
- };
426
- };
427
- readonly linkTestCaseRequirement: {
428
- readonly name: "LinkTestCaseRequirement";
429
- readonly requestType: typeof LinkTestCaseRequirementRequest;
430
- readonly requestStream: false;
431
- readonly responseType: typeof LinkTestCaseRequirementResponse;
432
- readonly responseStream: false;
433
- readonly options: {
434
- readonly _unknownFields: {
435
- readonly 578365826: readonly [Uint8Array];
436
- };
437
- };
438
- };
439
- readonly unlinkTestCaseRequirement: {
440
- readonly name: "UnlinkTestCaseRequirement";
441
- readonly requestType: typeof UnlinkTestCaseRequirementRequest;
442
- readonly requestStream: false;
443
- readonly responseType: typeof UnlinkTestCaseRequirementResponse;
444
- readonly responseStream: false;
445
- readonly options: {
446
- readonly _unknownFields: {
447
- readonly 578365826: readonly [Uint8Array];
448
- };
449
- };
450
- };
451
- readonly listTestCaseRequirements: {
452
- readonly name: "ListTestCaseRequirements";
453
- readonly requestType: typeof ListTestCaseRequirementsRequest;
454
- readonly requestStream: false;
455
- readonly responseType: typeof ListTestCaseRequirementsResponse;
456
- readonly responseStream: false;
457
- readonly options: {
458
- readonly _unknownFields: {
459
- readonly 578365826: readonly [Uint8Array];
460
- };
461
- };
462
- };
463
- readonly generateTestCases: {
464
- readonly name: "GenerateTestCases";
465
- readonly requestType: typeof GenerateTestCasesRequest;
466
- readonly requestStream: false;
467
- readonly responseType: typeof GenerateTestCasesResponse;
468
- readonly responseStream: false;
469
- readonly options: {
470
- readonly _unknownFields: {
471
- readonly 578365826: readonly [Uint8Array];
472
- };
473
- };
474
- };
475
- };
476
- };
477
- interface Rpc {
478
- request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
479
- }
480
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
481
- export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
482
- [K in keyof T]?: DeepPartial<T[K]>;
483
- } : Partial<T>;
484
- type KeysOfUnion<T> = T extends T ? keyof T : never;
485
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
486
- [K in keyof P]: Exact<P[K], I[K]>;
487
- } & {
488
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
489
- };
490
- export interface MessageFns<T> {
491
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
492
- decode(input: BinaryReader | Uint8Array, length?: number): T;
493
- fromJSON(object: any): T;
494
- toJSON(message: T): unknown;
495
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
496
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
497
- }
498
- export {};