weave-typescript 0.12.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 (136) hide show
  1. package/dist/google/api/annotations.pb.js +1 -1
  2. package/dist/google/api/http.pb.js +1 -1
  3. package/dist/google/protobuf/descriptor.pb.d.ts +8 -1
  4. package/dist/google/protobuf/descriptor.pb.js +8 -1
  5. package/dist/google/protobuf/struct.pb.js +1 -1
  6. package/dist/google/protobuf/timestamp.pb.d.ts +7 -6
  7. package/dist/google/protobuf/timestamp.pb.js +1 -1
  8. package/dist/index.d.ts +9 -16
  9. package/dist/index.js +13 -21
  10. package/dist/weaveapi/{storage/v1/auth.pb.d.ts → atc/v1/event.pb.d.ts} +12 -6
  11. package/dist/weaveapi/atc/v1/event.pb.js +263 -0
  12. package/dist/weaveapi/{auth/v1/session.pb.d.ts → atc/v1/message.pb.d.ts} +22 -21
  13. package/dist/weaveapi/atc/v1/message.pb.js +287 -0
  14. package/dist/weaveapi/atc/v1/process.pb.d.ts +91 -0
  15. package/dist/weaveapi/atc/v1/process.pb.js +658 -0
  16. package/dist/weaveapi/atc/v1/run.pb.d.ts +71 -0
  17. package/dist/weaveapi/atc/v1/run.pb.js +525 -0
  18. package/dist/weaveapi/atc/v1/service.pb.d.ts +339 -0
  19. package/dist/weaveapi/atc/v1/service.pb.js +1922 -0
  20. package/dist/weaveapi/project/v1/project.pb.d.ts +67 -5
  21. package/dist/weaveapi/project/v1/project.pb.js +765 -66
  22. package/dist/weaveapi/project/v1/service.pb.d.ts +117 -76
  23. package/dist/weaveapi/project/v1/service.pb.js +1088 -401
  24. package/dist/weaveapi/task/v1/service.pb.d.ts +171 -0
  25. package/dist/weaveapi/task/v1/service.pb.js +1416 -0
  26. package/dist/weaveapi/task/v1/task.pb.d.ts +84 -0
  27. package/dist/weaveapi/task/v1/task.pb.js +782 -0
  28. package/dist/weavesql/atcdb/event_sql.d.ts +101 -0
  29. package/dist/weavesql/atcdb/event_sql.js +191 -0
  30. package/dist/weavesql/atcdb/mailbox_sql.d.ts +43 -0
  31. package/dist/weavesql/atcdb/mailbox_sql.js +85 -0
  32. package/dist/weavesql/weavedb/project_sql.d.ts +121 -46
  33. package/dist/weavesql/weavedb/project_sql.js +304 -112
  34. package/dist/weavesql/weavedb/task_sql.d.ts +163 -0
  35. package/dist/weavesql/weavedb/task_sql.js +328 -0
  36. package/package.json +1 -1
  37. package/dist/weaveapi/auth/v1/service.pb.d.ts +0 -709
  38. package/dist/weaveapi/auth/v1/service.pb.js +0 -4977
  39. package/dist/weaveapi/auth/v1/session.pb.js +0 -308
  40. package/dist/weaveapi/auth/v1/usage.pb.d.ts +0 -76
  41. package/dist/weaveapi/auth/v1/usage.pb.js +0 -849
  42. package/dist/weaveapi/auth/v1/user.pb.d.ts +0 -141
  43. package/dist/weaveapi/auth/v1/user.pb.js +0 -1625
  44. package/dist/weaveapi/data/v1/data.pb.d.ts +0 -54
  45. package/dist/weaveapi/data/v1/data.pb.js +0 -411
  46. package/dist/weaveapi/data/v1/service.pb.d.ts +0 -296
  47. package/dist/weaveapi/data/v1/service.pb.js +0 -2777
  48. package/dist/weaveapi/generate/v1/configuration.pb.d.ts +0 -122
  49. package/dist/weaveapi/generate/v1/configuration.pb.js +0 -877
  50. package/dist/weaveapi/generate/v1/generate.pb.d.ts +0 -48
  51. package/dist/weaveapi/generate/v1/generate.pb.js +0 -367
  52. package/dist/weaveapi/generate/v1/service.pb.d.ts +0 -173
  53. package/dist/weaveapi/generate/v1/service.pb.js +0 -1207
  54. package/dist/weaveapi/input/v1/input.pb.d.ts +0 -77
  55. package/dist/weaveapi/input/v1/input.pb.js +0 -632
  56. package/dist/weaveapi/input/v1/service.pb.d.ts +0 -390
  57. package/dist/weaveapi/input/v1/service.pb.js +0 -3610
  58. package/dist/weaveapi/integration/v1/integration.pb.d.ts +0 -67
  59. package/dist/weaveapi/integration/v1/integration.pb.js +0 -486
  60. package/dist/weaveapi/integration/v1/service.pb.d.ts +0 -318
  61. package/dist/weaveapi/integration/v1/service.pb.js +0 -2992
  62. package/dist/weaveapi/llmx/v1/architecture.pb.d.ts +0 -665
  63. package/dist/weaveapi/llmx/v1/architecture.pb.js +0 -3028
  64. package/dist/weaveapi/llmx/v1/capabilities.pb.d.ts +0 -709
  65. package/dist/weaveapi/llmx/v1/capabilities.pb.js +0 -3458
  66. package/dist/weaveapi/llmx/v1/model.pb.d.ts +0 -375
  67. package/dist/weaveapi/llmx/v1/model.pb.js +0 -1472
  68. package/dist/weaveapi/llmx/v1/pricing.pb.d.ts +0 -340
  69. package/dist/weaveapi/llmx/v1/pricing.pb.js +0 -974
  70. package/dist/weaveapi/llmx/v1/provider.pb.d.ts +0 -72
  71. package/dist/weaveapi/llmx/v1/provider.pb.js +0 -218
  72. package/dist/weaveapi/llmx/v1/service.pb.d.ts +0 -683
  73. package/dist/weaveapi/llmx/v1/service.pb.js +0 -5266
  74. package/dist/weaveapi/mcpregistry/v1/server.pb.d.ts +0 -54
  75. package/dist/weaveapi/mcpregistry/v1/server.pb.js +0 -436
  76. package/dist/weaveapi/mcpregistry/v1/service.pb.d.ts +0 -171
  77. package/dist/weaveapi/mcpregistry/v1/service.pb.js +0 -963
  78. package/dist/weaveapi/payment/v1/invoice.pb.d.ts +0 -92
  79. package/dist/weaveapi/payment/v1/invoice.pb.js +0 -998
  80. package/dist/weaveapi/payment/v1/service.pb.d.ts +0 -662
  81. package/dist/weaveapi/payment/v1/service.pb.js +0 -5395
  82. package/dist/weaveapi/payment/v1/subscription.pb.d.ts +0 -165
  83. package/dist/weaveapi/payment/v1/subscription.pb.js +0 -1930
  84. package/dist/weaveapi/report/v1/report.pb.d.ts +0 -81
  85. package/dist/weaveapi/report/v1/report.pb.js +0 -678
  86. package/dist/weaveapi/report/v1/service.pb.d.ts +0 -194
  87. package/dist/weaveapi/report/v1/service.pb.js +0 -1923
  88. package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +0 -70
  89. package/dist/weaveapi/requirement/v1/requirement.pb.js +0 -570
  90. package/dist/weaveapi/requirement/v1/service.pb.d.ts +0 -390
  91. package/dist/weaveapi/requirement/v1/service.pb.js +0 -3636
  92. package/dist/weaveapi/run/v1/run.pb.d.ts +0 -117
  93. package/dist/weaveapi/run/v1/run.pb.js +0 -1155
  94. package/dist/weaveapi/run/v1/service.pb.d.ts +0 -229
  95. package/dist/weaveapi/run/v1/service.pb.js +0 -2426
  96. package/dist/weaveapi/script/v1/script.pb.d.ts +0 -102
  97. package/dist/weaveapi/script/v1/script.pb.js +0 -1025
  98. package/dist/weaveapi/script/v1/service.pb.d.ts +0 -502
  99. package/dist/weaveapi/script/v1/service.pb.js +0 -4871
  100. package/dist/weaveapi/storage/v1/auth.pb.js +0 -110
  101. package/dist/weaveapi/storage/v1/nosql_database.pb.d.ts +0 -91
  102. package/dist/weaveapi/storage/v1/nosql_database.pb.js +0 -1056
  103. package/dist/weaveapi/storage/v1/object_store.pb.d.ts +0 -49
  104. package/dist/weaveapi/storage/v1/object_store.pb.js +0 -441
  105. package/dist/weaveapi/storage/v1/service.pb.d.ts +0 -245
  106. package/dist/weaveapi/storage/v1/service.pb.js +0 -1339
  107. package/dist/weaveapi/storage/v1/sql_database.pb.d.ts +0 -98
  108. package/dist/weaveapi/storage/v1/sql_database.pb.js +0 -1184
  109. package/dist/weaveapi/storage/v1/storage.pb.d.ts +0 -35
  110. package/dist/weaveapi/storage/v1/storage.pb.js +0 -198
  111. package/dist/weaveapi/storage/v1/vcs.pb.d.ts +0 -75
  112. package/dist/weaveapi/storage/v1/vcs.pb.js +0 -864
  113. package/dist/weaveapi/suite/v1/service.pb.d.ts +0 -539
  114. package/dist/weaveapi/suite/v1/service.pb.js +0 -5279
  115. package/dist/weaveapi/suite/v1/suite.pb.d.ts +0 -92
  116. package/dist/weaveapi/suite/v1/suite.pb.js +0 -876
  117. package/dist/weaveapi/synthesize/v1/dataset.pb.d.ts +0 -68
  118. package/dist/weaveapi/synthesize/v1/dataset.pb.js +0 -460
  119. package/dist/weaveapi/synthesize/v1/inline_data.pb.d.ts +0 -45
  120. package/dist/weaveapi/synthesize/v1/inline_data.pb.js +0 -166
  121. package/dist/weaveapi/synthesize/v1/relationship.pb.d.ts +0 -58
  122. package/dist/weaveapi/synthesize/v1/relationship.pb.js +0 -253
  123. package/dist/weaveapi/synthesize/v1/service.pb.d.ts +0 -144
  124. package/dist/weaveapi/synthesize/v1/service.pb.js +0 -917
  125. package/dist/weaveapi/synthesize/v1/training.pb.d.ts +0 -58
  126. package/dist/weaveapi/synthesize/v1/training.pb.js +0 -386
  127. package/dist/weaveapi/testcase/v1/service.pb.d.ts +0 -498
  128. package/dist/weaveapi/testcase/v1/service.pb.js +0 -4728
  129. package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +0 -91
  130. package/dist/weaveapi/testcase/v1/testcase.pb.js +0 -794
  131. package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -261
  132. package/dist/weaveapi/workflow/v1/service.pb.js +0 -2120
  133. package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +0 -77
  134. package/dist/weaveapi/workflow/v1/workflow.pb.js +0 -555
  135. package/dist/weaveapi/workflowdata/v1/service.pb.d.ts +0 -295
  136. 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: MessageFns<CreateTestScriptRequest>;
278
- readonly requestStream: false;
279
- readonly responseType: MessageFns<CreateTestScriptResponse>;
280
- readonly responseStream: false;
281
- readonly options: {
282
- readonly _unknownFields: {
283
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
284
- };
285
- };
286
- };
287
- readonly getTestScript: {
288
- readonly name: "GetTestScript";
289
- readonly requestType: MessageFns<GetTestScriptRequest>;
290
- readonly requestStream: false;
291
- readonly responseType: MessageFns<GetTestScriptResponse>;
292
- readonly responseStream: false;
293
- readonly options: {
294
- readonly _unknownFields: {
295
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
296
- };
297
- };
298
- };
299
- readonly listTestScripts: {
300
- readonly name: "ListTestScripts";
301
- readonly requestType: MessageFns<ListTestScriptsRequest>;
302
- readonly requestStream: false;
303
- readonly responseType: MessageFns<ListTestScriptsResponse>;
304
- readonly responseStream: false;
305
- readonly options: {
306
- readonly _unknownFields: {
307
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
308
- };
309
- };
310
- };
311
- readonly updateTestScript: {
312
- readonly name: "UpdateTestScript";
313
- readonly requestType: MessageFns<UpdateTestScriptRequest>;
314
- readonly requestStream: false;
315
- readonly responseType: MessageFns<UpdateTestScriptResponse>;
316
- readonly responseStream: false;
317
- readonly options: {
318
- readonly _unknownFields: {
319
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
320
- };
321
- };
322
- };
323
- readonly archiveTestScript: {
324
- readonly name: "ArchiveTestScript";
325
- readonly requestType: MessageFns<ArchiveTestScriptRequest>;
326
- readonly requestStream: false;
327
- readonly responseType: MessageFns<ArchiveTestScriptResponse>;
328
- readonly responseStream: false;
329
- readonly options: {
330
- readonly _unknownFields: {
331
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
332
- };
333
- };
334
- };
335
- readonly deleteTestScript: {
336
- readonly name: "DeleteTestScript";
337
- readonly requestType: MessageFns<DeleteTestScriptRequest>;
338
- readonly requestStream: false;
339
- readonly responseType: MessageFns<DeleteTestScriptResponse>;
340
- readonly responseStream: false;
341
- readonly options: {
342
- readonly _unknownFields: {
343
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
344
- };
345
- };
346
- };
347
- readonly attachTestScriptToWorkflow: {
348
- readonly name: "AttachTestScriptToWorkflow";
349
- readonly requestType: MessageFns<AttachTestScriptToWorkflowRequest>;
350
- readonly requestStream: false;
351
- readonly responseType: MessageFns<AttachTestScriptToWorkflowResponse>;
352
- readonly responseStream: false;
353
- readonly options: {
354
- readonly _unknownFields: {
355
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
356
- };
357
- };
358
- };
359
- readonly detachTestScriptFromWorkflow: {
360
- readonly name: "DetachTestScriptFromWorkflow";
361
- readonly requestType: MessageFns<DetachTestScriptFromWorkflowRequest>;
362
- readonly requestStream: false;
363
- readonly responseType: MessageFns<DetachTestScriptFromWorkflowResponse>;
364
- readonly responseStream: false;
365
- readonly options: {
366
- readonly _unknownFields: {
367
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
368
- };
369
- };
370
- };
371
- readonly listWorkflowTestScriptBindings: {
372
- readonly name: "ListWorkflowTestScriptBindings";
373
- readonly requestType: MessageFns<ListWorkflowTestScriptBindingsRequest>;
374
- readonly requestStream: false;
375
- readonly responseType: MessageFns<ListWorkflowTestScriptBindingsResponse>;
376
- readonly responseStream: false;
377
- readonly options: {
378
- readonly _unknownFields: {
379
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
380
- };
381
- };
382
- };
383
- readonly createTestScriptVersion: {
384
- readonly name: "CreateTestScriptVersion";
385
- readonly requestType: MessageFns<CreateTestScriptVersionRequest>;
386
- readonly requestStream: false;
387
- readonly responseType: MessageFns<CreateTestScriptVersionResponse>;
388
- readonly responseStream: false;
389
- readonly options: {
390
- readonly _unknownFields: {
391
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
392
- };
393
- };
394
- };
395
- readonly getTestScriptVersion: {
396
- readonly name: "GetTestScriptVersion";
397
- readonly requestType: MessageFns<GetTestScriptVersionRequest>;
398
- readonly requestStream: false;
399
- readonly responseType: MessageFns<GetTestScriptVersionResponse>;
400
- readonly responseStream: false;
401
- readonly options: {
402
- readonly _unknownFields: {
403
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
404
- };
405
- };
406
- };
407
- readonly listTestScriptVersions: {
408
- readonly name: "ListTestScriptVersions";
409
- readonly requestType: MessageFns<ListTestScriptVersionsRequest>;
410
- readonly requestStream: false;
411
- readonly responseType: MessageFns<ListTestScriptVersionsResponse>;
412
- readonly responseStream: false;
413
- readonly options: {
414
- readonly _unknownFields: {
415
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
416
- };
417
- };
418
- };
419
- readonly setCurrentTestScriptVersion: {
420
- readonly name: "SetCurrentTestScriptVersion";
421
- readonly requestType: MessageFns<SetCurrentTestScriptVersionRequest>;
422
- readonly requestStream: false;
423
- readonly responseType: MessageFns<SetCurrentTestScriptVersionResponse>;
424
- readonly responseStream: false;
425
- readonly options: {
426
- readonly _unknownFields: {
427
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
428
- };
429
- };
430
- };
431
- readonly upsertScriptBinding: {
432
- readonly name: "UpsertScriptBinding";
433
- readonly requestType: MessageFns<UpsertScriptBindingRequest>;
434
- readonly requestStream: false;
435
- readonly responseType: MessageFns<UpsertScriptBindingResponse>;
436
- readonly responseStream: false;
437
- readonly options: {
438
- readonly _unknownFields: {
439
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
440
- };
441
- };
442
- };
443
- readonly listScriptBindings: {
444
- readonly name: "ListScriptBindings";
445
- readonly requestType: MessageFns<ListScriptBindingsRequest>;
446
- readonly requestStream: false;
447
- readonly responseType: MessageFns<ListScriptBindingsResponse>;
448
- readonly responseStream: false;
449
- readonly options: {
450
- readonly _unknownFields: {
451
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
452
- };
453
- };
454
- };
455
- readonly deleteScriptBinding: {
456
- readonly name: "DeleteScriptBinding";
457
- readonly requestType: MessageFns<DeleteScriptBindingRequest>;
458
- readonly requestStream: false;
459
- readonly responseType: MessageFns<DeleteScriptBindingResponse>;
460
- readonly responseStream: false;
461
- readonly options: {
462
- readonly _unknownFields: {
463
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
464
- };
465
- };
466
- };
467
- readonly generateTestScripts: {
468
- readonly name: "GenerateTestScripts";
469
- readonly requestType: MessageFns<GenerateTestScriptsRequest>;
470
- readonly requestStream: false;
471
- readonly responseType: MessageFns<GenerateTestScriptsResponse>;
472
- readonly responseStream: false;
473
- readonly options: {
474
- readonly _unknownFields: {
475
- readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
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 {};