weave-typescript 0.13.0 → 0.15.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 +69 -5
  4. package/dist/weaveapi/project/v1/project.pb.js +787 -62
  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 +172 -0
  8. package/dist/weaveapi/task/v1/service.pb.js +1436 -0
  9. package/dist/weaveapi/task/v1/task.pb.d.ts +85 -0
  10. package/dist/weaveapi/task/v1/task.pb.js +802 -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 +164 -41
  16. package/dist/weavesql/weavedb/project_sql.js +398 -103
  17. package/dist/weavesql/weavedb/task_sql.d.ts +210 -0
  18. package/dist/weavesql/weavedb/task_sql.js +430 -0
  19. package/package.json +2 -2
  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,502 +0,0 @@
1
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- import { ScriptBinding, ScriptLanguage, ScriptSourceLocationType, ScriptStatus, TestScript, TestScriptVersion } from "./script.pb";
3
- export declare const protobufPackage = "weaveapi.script.v1";
4
- export interface CreateTestScriptRequest {
5
- projectId: string;
6
- testCaseId: string;
7
- name: string;
8
- description: string;
9
- language: ScriptLanguage;
10
- framework: string;
11
- status: ScriptStatus;
12
- metadata: {
13
- [key: string]: any;
14
- } | undefined;
15
- }
16
- export interface CreateTestScriptResponse {
17
- testScript: TestScript | undefined;
18
- }
19
- export interface GetTestScriptRequest {
20
- projectId: string;
21
- testScriptId: string;
22
- }
23
- export interface GetTestScriptResponse {
24
- testScript: TestScript | undefined;
25
- }
26
- export interface ListTestScriptsRequest {
27
- projectId: string;
28
- includeArchived: boolean;
29
- pageSize: number;
30
- pageToken: string;
31
- workflowId: string;
32
- }
33
- export interface ListTestScriptsResponse {
34
- testScripts: TestScript[];
35
- nextPageToken: string;
36
- }
37
- export interface UpdateTestScriptRequest {
38
- projectId: string;
39
- testScriptId: string;
40
- testCaseId: string;
41
- name: string;
42
- description: string;
43
- language: ScriptLanguage;
44
- framework: string;
45
- status: ScriptStatus;
46
- metadata: {
47
- [key: string]: any;
48
- } | undefined;
49
- }
50
- export interface UpdateTestScriptResponse {
51
- testScript: TestScript | undefined;
52
- }
53
- export interface ArchiveTestScriptRequest {
54
- projectId: string;
55
- testScriptId: string;
56
- }
57
- export interface ArchiveTestScriptResponse {
58
- testScript: TestScript | undefined;
59
- }
60
- export interface DeleteTestScriptRequest {
61
- projectId: string;
62
- testScriptId: string;
63
- }
64
- export interface DeleteTestScriptResponse {
65
- }
66
- export interface AttachTestScriptToWorkflowRequest {
67
- projectId: string;
68
- workflowId: string;
69
- testScriptId: string;
70
- attachedBy: string;
71
- metadata: {
72
- [key: string]: any;
73
- } | undefined;
74
- }
75
- export interface AttachTestScriptToWorkflowResponse {
76
- binding: WorkflowTestScriptBinding | undefined;
77
- }
78
- export interface DetachTestScriptFromWorkflowRequest {
79
- projectId: string;
80
- workflowId: string;
81
- testScriptId: string;
82
- }
83
- export interface DetachTestScriptFromWorkflowResponse {
84
- }
85
- export interface ListWorkflowTestScriptBindingsRequest {
86
- projectId: string;
87
- workflowId: string;
88
- pageSize: number;
89
- pageToken: string;
90
- }
91
- export interface ListWorkflowTestScriptBindingsResponse {
92
- bindings: WorkflowTestScriptBinding[];
93
- nextPageToken: string;
94
- }
95
- export interface WorkflowTestScriptBinding {
96
- projectId: string;
97
- workflowId: string;
98
- testScriptId: string;
99
- attachedBy: string;
100
- metadata: {
101
- [key: string]: any;
102
- } | undefined;
103
- attachedAt: Date | undefined;
104
- }
105
- export interface CreateTestScriptVersionRequest {
106
- projectId: string;
107
- testScriptId: string;
108
- sourceCode: string;
109
- promptVersion: string;
110
- metadata: {
111
- [key: string]: any;
112
- } | undefined;
113
- sourceLocationType: ScriptSourceLocationType;
114
- storageConnectionId: string;
115
- sourceUri: string;
116
- externalRevision: string;
117
- sourceChecksum: string;
118
- sourceSizeBytes: number;
119
- }
120
- export interface CreateTestScriptVersionResponse {
121
- testScriptVersion: TestScriptVersion | undefined;
122
- }
123
- export interface GetTestScriptVersionRequest {
124
- projectId: string;
125
- testScriptId: string;
126
- testScriptVersionId: string;
127
- }
128
- export interface GetTestScriptVersionResponse {
129
- testScriptVersion: TestScriptVersion | undefined;
130
- }
131
- export interface ListTestScriptVersionsRequest {
132
- projectId: string;
133
- testScriptId: string;
134
- pageSize: number;
135
- pageToken: string;
136
- }
137
- export interface ListTestScriptVersionsResponse {
138
- testScriptVersions: TestScriptVersion[];
139
- nextPageToken: string;
140
- }
141
- export interface SetCurrentTestScriptVersionRequest {
142
- projectId: string;
143
- testScriptId: string;
144
- testScriptVersionId: string;
145
- }
146
- export interface SetCurrentTestScriptVersionResponse {
147
- testScript: TestScript | undefined;
148
- }
149
- export interface UpsertScriptBindingRequest {
150
- projectId: string;
151
- testScriptId: string;
152
- scriptBindingId: string;
153
- bindingKey: string;
154
- bindingType: string;
155
- datasetId: string;
156
- columnName: string;
157
- defaultValue: string;
158
- isRequired: boolean;
159
- metadata: {
160
- [key: string]: any;
161
- } | undefined;
162
- }
163
- export interface UpsertScriptBindingResponse {
164
- scriptBinding: ScriptBinding | undefined;
165
- }
166
- export interface ListScriptBindingsRequest {
167
- projectId: string;
168
- testScriptId: string;
169
- }
170
- export interface ListScriptBindingsResponse {
171
- scriptBindings: ScriptBinding[];
172
- }
173
- export interface DeleteScriptBindingRequest {
174
- projectId: string;
175
- testScriptId: string;
176
- scriptBindingId: string;
177
- }
178
- export interface DeleteScriptBindingResponse {
179
- }
180
- export interface GenerateTestScriptsRequest {
181
- projectId: string;
182
- testCaseIds: string[];
183
- options: {
184
- [key: string]: any;
185
- } | undefined;
186
- targetWorkflowId: string;
187
- }
188
- export interface GenerateTestScriptsResponse {
189
- testScripts: TestScript[];
190
- }
191
- export declare const CreateTestScriptRequest: MessageFns<CreateTestScriptRequest>;
192
- export declare const CreateTestScriptResponse: MessageFns<CreateTestScriptResponse>;
193
- export declare const GetTestScriptRequest: MessageFns<GetTestScriptRequest>;
194
- export declare const GetTestScriptResponse: MessageFns<GetTestScriptResponse>;
195
- export declare const ListTestScriptsRequest: MessageFns<ListTestScriptsRequest>;
196
- export declare const ListTestScriptsResponse: MessageFns<ListTestScriptsResponse>;
197
- export declare const UpdateTestScriptRequest: MessageFns<UpdateTestScriptRequest>;
198
- export declare const UpdateTestScriptResponse: MessageFns<UpdateTestScriptResponse>;
199
- export declare const ArchiveTestScriptRequest: MessageFns<ArchiveTestScriptRequest>;
200
- export declare const ArchiveTestScriptResponse: MessageFns<ArchiveTestScriptResponse>;
201
- export declare const DeleteTestScriptRequest: MessageFns<DeleteTestScriptRequest>;
202
- export declare const DeleteTestScriptResponse: MessageFns<DeleteTestScriptResponse>;
203
- export declare const AttachTestScriptToWorkflowRequest: MessageFns<AttachTestScriptToWorkflowRequest>;
204
- export declare const AttachTestScriptToWorkflowResponse: MessageFns<AttachTestScriptToWorkflowResponse>;
205
- export declare const DetachTestScriptFromWorkflowRequest: MessageFns<DetachTestScriptFromWorkflowRequest>;
206
- export declare const DetachTestScriptFromWorkflowResponse: MessageFns<DetachTestScriptFromWorkflowResponse>;
207
- export declare const ListWorkflowTestScriptBindingsRequest: MessageFns<ListWorkflowTestScriptBindingsRequest>;
208
- export declare const ListWorkflowTestScriptBindingsResponse: MessageFns<ListWorkflowTestScriptBindingsResponse>;
209
- export declare const WorkflowTestScriptBinding: MessageFns<WorkflowTestScriptBinding>;
210
- export declare const CreateTestScriptVersionRequest: MessageFns<CreateTestScriptVersionRequest>;
211
- export declare const CreateTestScriptVersionResponse: MessageFns<CreateTestScriptVersionResponse>;
212
- export declare const GetTestScriptVersionRequest: MessageFns<GetTestScriptVersionRequest>;
213
- export declare const GetTestScriptVersionResponse: MessageFns<GetTestScriptVersionResponse>;
214
- export declare const ListTestScriptVersionsRequest: MessageFns<ListTestScriptVersionsRequest>;
215
- export declare const ListTestScriptVersionsResponse: MessageFns<ListTestScriptVersionsResponse>;
216
- export declare const SetCurrentTestScriptVersionRequest: MessageFns<SetCurrentTestScriptVersionRequest>;
217
- export declare const SetCurrentTestScriptVersionResponse: MessageFns<SetCurrentTestScriptVersionResponse>;
218
- export declare const UpsertScriptBindingRequest: MessageFns<UpsertScriptBindingRequest>;
219
- export declare const UpsertScriptBindingResponse: MessageFns<UpsertScriptBindingResponse>;
220
- export declare const ListScriptBindingsRequest: MessageFns<ListScriptBindingsRequest>;
221
- export declare const ListScriptBindingsResponse: MessageFns<ListScriptBindingsResponse>;
222
- export declare const DeleteScriptBindingRequest: MessageFns<DeleteScriptBindingRequest>;
223
- export declare const DeleteScriptBindingResponse: MessageFns<DeleteScriptBindingResponse>;
224
- export declare const GenerateTestScriptsRequest: MessageFns<GenerateTestScriptsRequest>;
225
- export declare const GenerateTestScriptsResponse: MessageFns<GenerateTestScriptsResponse>;
226
- export interface ScriptService {
227
- CreateTestScript(request: CreateTestScriptRequest): Promise<CreateTestScriptResponse>;
228
- GetTestScript(request: GetTestScriptRequest): Promise<GetTestScriptResponse>;
229
- ListTestScripts(request: ListTestScriptsRequest): Promise<ListTestScriptsResponse>;
230
- UpdateTestScript(request: UpdateTestScriptRequest): Promise<UpdateTestScriptResponse>;
231
- ArchiveTestScript(request: ArchiveTestScriptRequest): Promise<ArchiveTestScriptResponse>;
232
- DeleteTestScript(request: DeleteTestScriptRequest): Promise<DeleteTestScriptResponse>;
233
- AttachTestScriptToWorkflow(request: AttachTestScriptToWorkflowRequest): Promise<AttachTestScriptToWorkflowResponse>;
234
- DetachTestScriptFromWorkflow(request: DetachTestScriptFromWorkflowRequest): Promise<DetachTestScriptFromWorkflowResponse>;
235
- ListWorkflowTestScriptBindings(request: ListWorkflowTestScriptBindingsRequest): Promise<ListWorkflowTestScriptBindingsResponse>;
236
- CreateTestScriptVersion(request: CreateTestScriptVersionRequest): Promise<CreateTestScriptVersionResponse>;
237
- GetTestScriptVersion(request: GetTestScriptVersionRequest): Promise<GetTestScriptVersionResponse>;
238
- ListTestScriptVersions(request: ListTestScriptVersionsRequest): Promise<ListTestScriptVersionsResponse>;
239
- SetCurrentTestScriptVersion(request: SetCurrentTestScriptVersionRequest): Promise<SetCurrentTestScriptVersionResponse>;
240
- UpsertScriptBinding(request: UpsertScriptBindingRequest): Promise<UpsertScriptBindingResponse>;
241
- ListScriptBindings(request: ListScriptBindingsRequest): Promise<ListScriptBindingsResponse>;
242
- DeleteScriptBinding(request: DeleteScriptBindingRequest): Promise<DeleteScriptBindingResponse>;
243
- GenerateTestScripts(request: GenerateTestScriptsRequest): Promise<GenerateTestScriptsResponse>;
244
- }
245
- export declare const ScriptServiceServiceName = "weaveapi.script.v1.ScriptService";
246
- export declare class ScriptServiceClientImpl implements ScriptService {
247
- private readonly rpc;
248
- private readonly service;
249
- constructor(rpc: Rpc, opts?: {
250
- service?: string;
251
- });
252
- CreateTestScript(request: CreateTestScriptRequest): Promise<CreateTestScriptResponse>;
253
- GetTestScript(request: GetTestScriptRequest): Promise<GetTestScriptResponse>;
254
- ListTestScripts(request: ListTestScriptsRequest): Promise<ListTestScriptsResponse>;
255
- UpdateTestScript(request: UpdateTestScriptRequest): Promise<UpdateTestScriptResponse>;
256
- ArchiveTestScript(request: ArchiveTestScriptRequest): Promise<ArchiveTestScriptResponse>;
257
- DeleteTestScript(request: DeleteTestScriptRequest): Promise<DeleteTestScriptResponse>;
258
- AttachTestScriptToWorkflow(request: AttachTestScriptToWorkflowRequest): Promise<AttachTestScriptToWorkflowResponse>;
259
- DetachTestScriptFromWorkflow(request: DetachTestScriptFromWorkflowRequest): Promise<DetachTestScriptFromWorkflowResponse>;
260
- ListWorkflowTestScriptBindings(request: ListWorkflowTestScriptBindingsRequest): Promise<ListWorkflowTestScriptBindingsResponse>;
261
- CreateTestScriptVersion(request: CreateTestScriptVersionRequest): Promise<CreateTestScriptVersionResponse>;
262
- GetTestScriptVersion(request: GetTestScriptVersionRequest): Promise<GetTestScriptVersionResponse>;
263
- ListTestScriptVersions(request: ListTestScriptVersionsRequest): Promise<ListTestScriptVersionsResponse>;
264
- SetCurrentTestScriptVersion(request: SetCurrentTestScriptVersionRequest): Promise<SetCurrentTestScriptVersionResponse>;
265
- UpsertScriptBinding(request: UpsertScriptBindingRequest): Promise<UpsertScriptBindingResponse>;
266
- ListScriptBindings(request: ListScriptBindingsRequest): Promise<ListScriptBindingsResponse>;
267
- DeleteScriptBinding(request: DeleteScriptBindingRequest): Promise<DeleteScriptBindingResponse>;
268
- GenerateTestScripts(request: GenerateTestScriptsRequest): Promise<GenerateTestScriptsResponse>;
269
- }
270
- export type ScriptServiceDefinition = typeof ScriptServiceDefinition;
271
- export declare const ScriptServiceDefinition: {
272
- readonly name: "ScriptService";
273
- readonly fullName: "weaveapi.script.v1.ScriptService";
274
- readonly methods: {
275
- readonly createTestScript: {
276
- readonly name: "CreateTestScript";
277
- readonly requestType: typeof CreateTestScriptRequest;
278
- readonly requestStream: false;
279
- readonly responseType: typeof CreateTestScriptResponse;
280
- readonly responseStream: false;
281
- readonly options: {
282
- readonly _unknownFields: {
283
- readonly 578365826: readonly [Uint8Array];
284
- };
285
- };
286
- };
287
- readonly getTestScript: {
288
- readonly name: "GetTestScript";
289
- readonly requestType: typeof GetTestScriptRequest;
290
- readonly requestStream: false;
291
- readonly responseType: typeof GetTestScriptResponse;
292
- readonly responseStream: false;
293
- readonly options: {
294
- readonly _unknownFields: {
295
- readonly 578365826: readonly [Uint8Array];
296
- };
297
- };
298
- };
299
- readonly listTestScripts: {
300
- readonly name: "ListTestScripts";
301
- readonly requestType: typeof ListTestScriptsRequest;
302
- readonly requestStream: false;
303
- readonly responseType: typeof ListTestScriptsResponse;
304
- readonly responseStream: false;
305
- readonly options: {
306
- readonly _unknownFields: {
307
- readonly 578365826: readonly [Uint8Array];
308
- };
309
- };
310
- };
311
- readonly updateTestScript: {
312
- readonly name: "UpdateTestScript";
313
- readonly requestType: typeof UpdateTestScriptRequest;
314
- readonly requestStream: false;
315
- readonly responseType: typeof UpdateTestScriptResponse;
316
- readonly responseStream: false;
317
- readonly options: {
318
- readonly _unknownFields: {
319
- readonly 578365826: readonly [Uint8Array];
320
- };
321
- };
322
- };
323
- readonly archiveTestScript: {
324
- readonly name: "ArchiveTestScript";
325
- readonly requestType: typeof ArchiveTestScriptRequest;
326
- readonly requestStream: false;
327
- readonly responseType: typeof ArchiveTestScriptResponse;
328
- readonly responseStream: false;
329
- readonly options: {
330
- readonly _unknownFields: {
331
- readonly 578365826: readonly [Uint8Array];
332
- };
333
- };
334
- };
335
- readonly deleteTestScript: {
336
- readonly name: "DeleteTestScript";
337
- readonly requestType: typeof DeleteTestScriptRequest;
338
- readonly requestStream: false;
339
- readonly responseType: typeof DeleteTestScriptResponse;
340
- readonly responseStream: false;
341
- readonly options: {
342
- readonly _unknownFields: {
343
- readonly 578365826: readonly [Uint8Array];
344
- };
345
- };
346
- };
347
- readonly attachTestScriptToWorkflow: {
348
- readonly name: "AttachTestScriptToWorkflow";
349
- readonly requestType: typeof AttachTestScriptToWorkflowRequest;
350
- readonly requestStream: false;
351
- readonly responseType: typeof AttachTestScriptToWorkflowResponse;
352
- readonly responseStream: false;
353
- readonly options: {
354
- readonly _unknownFields: {
355
- readonly 578365826: readonly [Uint8Array];
356
- };
357
- };
358
- };
359
- readonly detachTestScriptFromWorkflow: {
360
- readonly name: "DetachTestScriptFromWorkflow";
361
- readonly requestType: typeof DetachTestScriptFromWorkflowRequest;
362
- readonly requestStream: false;
363
- readonly responseType: typeof DetachTestScriptFromWorkflowResponse;
364
- readonly responseStream: false;
365
- readonly options: {
366
- readonly _unknownFields: {
367
- readonly 578365826: readonly [Uint8Array];
368
- };
369
- };
370
- };
371
- readonly listWorkflowTestScriptBindings: {
372
- readonly name: "ListWorkflowTestScriptBindings";
373
- readonly requestType: typeof ListWorkflowTestScriptBindingsRequest;
374
- readonly requestStream: false;
375
- readonly responseType: typeof ListWorkflowTestScriptBindingsResponse;
376
- readonly responseStream: false;
377
- readonly options: {
378
- readonly _unknownFields: {
379
- readonly 578365826: readonly [Uint8Array];
380
- };
381
- };
382
- };
383
- readonly createTestScriptVersion: {
384
- readonly name: "CreateTestScriptVersion";
385
- readonly requestType: typeof CreateTestScriptVersionRequest;
386
- readonly requestStream: false;
387
- readonly responseType: typeof CreateTestScriptVersionResponse;
388
- readonly responseStream: false;
389
- readonly options: {
390
- readonly _unknownFields: {
391
- readonly 578365826: readonly [Uint8Array];
392
- };
393
- };
394
- };
395
- readonly getTestScriptVersion: {
396
- readonly name: "GetTestScriptVersion";
397
- readonly requestType: typeof GetTestScriptVersionRequest;
398
- readonly requestStream: false;
399
- readonly responseType: typeof GetTestScriptVersionResponse;
400
- readonly responseStream: false;
401
- readonly options: {
402
- readonly _unknownFields: {
403
- readonly 578365826: readonly [Uint8Array];
404
- };
405
- };
406
- };
407
- readonly listTestScriptVersions: {
408
- readonly name: "ListTestScriptVersions";
409
- readonly requestType: typeof ListTestScriptVersionsRequest;
410
- readonly requestStream: false;
411
- readonly responseType: typeof ListTestScriptVersionsResponse;
412
- readonly responseStream: false;
413
- readonly options: {
414
- readonly _unknownFields: {
415
- readonly 578365826: readonly [Uint8Array];
416
- };
417
- };
418
- };
419
- readonly setCurrentTestScriptVersion: {
420
- readonly name: "SetCurrentTestScriptVersion";
421
- readonly requestType: typeof SetCurrentTestScriptVersionRequest;
422
- readonly requestStream: false;
423
- readonly responseType: typeof SetCurrentTestScriptVersionResponse;
424
- readonly responseStream: false;
425
- readonly options: {
426
- readonly _unknownFields: {
427
- readonly 578365826: readonly [Uint8Array];
428
- };
429
- };
430
- };
431
- readonly upsertScriptBinding: {
432
- readonly name: "UpsertScriptBinding";
433
- readonly requestType: typeof UpsertScriptBindingRequest;
434
- readonly requestStream: false;
435
- readonly responseType: typeof UpsertScriptBindingResponse;
436
- readonly responseStream: false;
437
- readonly options: {
438
- readonly _unknownFields: {
439
- readonly 578365826: readonly [Uint8Array];
440
- };
441
- };
442
- };
443
- readonly listScriptBindings: {
444
- readonly name: "ListScriptBindings";
445
- readonly requestType: typeof ListScriptBindingsRequest;
446
- readonly requestStream: false;
447
- readonly responseType: typeof ListScriptBindingsResponse;
448
- readonly responseStream: false;
449
- readonly options: {
450
- readonly _unknownFields: {
451
- readonly 578365826: readonly [Uint8Array];
452
- };
453
- };
454
- };
455
- readonly deleteScriptBinding: {
456
- readonly name: "DeleteScriptBinding";
457
- readonly requestType: typeof DeleteScriptBindingRequest;
458
- readonly requestStream: false;
459
- readonly responseType: typeof DeleteScriptBindingResponse;
460
- readonly responseStream: false;
461
- readonly options: {
462
- readonly _unknownFields: {
463
- readonly 578365826: readonly [Uint8Array];
464
- };
465
- };
466
- };
467
- readonly generateTestScripts: {
468
- readonly name: "GenerateTestScripts";
469
- readonly requestType: typeof GenerateTestScriptsRequest;
470
- readonly requestStream: false;
471
- readonly responseType: typeof GenerateTestScriptsResponse;
472
- readonly responseStream: false;
473
- readonly options: {
474
- readonly _unknownFields: {
475
- readonly 578365826: readonly [Uint8Array];
476
- };
477
- };
478
- };
479
- };
480
- };
481
- interface Rpc {
482
- request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
483
- }
484
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
485
- 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 {} ? {
486
- [K in keyof T]?: DeepPartial<T[K]>;
487
- } : Partial<T>;
488
- type KeysOfUnion<T> = T extends T ? keyof T : never;
489
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
490
- [K in keyof P]: Exact<P[K], I[K]>;
491
- } & {
492
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
493
- };
494
- export interface MessageFns<T> {
495
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
496
- decode(input: BinaryReader | Uint8Array, length?: number): T;
497
- fromJSON(object: any): T;
498
- toJSON(message: T): unknown;
499
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
500
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
501
- }
502
- export {};