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.
- package/dist/google/api/annotations.pb.js +1 -1
- package/dist/google/api/http.pb.js +1 -1
- package/dist/google/protobuf/descriptor.pb.d.ts +8 -1
- package/dist/google/protobuf/descriptor.pb.js +8 -1
- package/dist/google/protobuf/struct.pb.js +1 -1
- package/dist/google/protobuf/timestamp.pb.d.ts +7 -6
- package/dist/google/protobuf/timestamp.pb.js +1 -1
- package/dist/index.d.ts +9 -16
- package/dist/index.js +13 -21
- package/dist/weaveapi/{storage/v1/auth.pb.d.ts → atc/v1/event.pb.d.ts} +12 -6
- package/dist/weaveapi/atc/v1/event.pb.js +263 -0
- package/dist/weaveapi/{auth/v1/session.pb.d.ts → atc/v1/message.pb.d.ts} +22 -21
- package/dist/weaveapi/atc/v1/message.pb.js +287 -0
- package/dist/weaveapi/atc/v1/process.pb.d.ts +91 -0
- package/dist/weaveapi/atc/v1/process.pb.js +658 -0
- package/dist/weaveapi/atc/v1/run.pb.d.ts +71 -0
- package/dist/weaveapi/atc/v1/run.pb.js +525 -0
- package/dist/weaveapi/atc/v1/service.pb.d.ts +339 -0
- package/dist/weaveapi/atc/v1/service.pb.js +1922 -0
- package/dist/weaveapi/project/v1/project.pb.d.ts +67 -5
- package/dist/weaveapi/project/v1/project.pb.js +765 -66
- package/dist/weaveapi/project/v1/service.pb.d.ts +117 -76
- package/dist/weaveapi/project/v1/service.pb.js +1088 -401
- package/dist/weaveapi/task/v1/service.pb.d.ts +171 -0
- package/dist/weaveapi/task/v1/service.pb.js +1416 -0
- package/dist/weaveapi/task/v1/task.pb.d.ts +84 -0
- package/dist/weaveapi/task/v1/task.pb.js +782 -0
- package/dist/weavesql/atcdb/event_sql.d.ts +101 -0
- package/dist/weavesql/atcdb/event_sql.js +191 -0
- package/dist/weavesql/atcdb/mailbox_sql.d.ts +43 -0
- package/dist/weavesql/atcdb/mailbox_sql.js +85 -0
- package/dist/weavesql/weavedb/project_sql.d.ts +121 -46
- package/dist/weavesql/weavedb/project_sql.js +304 -112
- package/dist/weavesql/weavedb/task_sql.d.ts +163 -0
- package/dist/weavesql/weavedb/task_sql.js +328 -0
- package/package.json +1 -1
- package/dist/weaveapi/auth/v1/service.pb.d.ts +0 -709
- package/dist/weaveapi/auth/v1/service.pb.js +0 -4977
- package/dist/weaveapi/auth/v1/session.pb.js +0 -308
- package/dist/weaveapi/auth/v1/usage.pb.d.ts +0 -76
- package/dist/weaveapi/auth/v1/usage.pb.js +0 -849
- package/dist/weaveapi/auth/v1/user.pb.d.ts +0 -141
- package/dist/weaveapi/auth/v1/user.pb.js +0 -1625
- package/dist/weaveapi/data/v1/data.pb.d.ts +0 -54
- package/dist/weaveapi/data/v1/data.pb.js +0 -411
- package/dist/weaveapi/data/v1/service.pb.d.ts +0 -296
- package/dist/weaveapi/data/v1/service.pb.js +0 -2777
- package/dist/weaveapi/generate/v1/configuration.pb.d.ts +0 -122
- package/dist/weaveapi/generate/v1/configuration.pb.js +0 -877
- package/dist/weaveapi/generate/v1/generate.pb.d.ts +0 -48
- package/dist/weaveapi/generate/v1/generate.pb.js +0 -367
- package/dist/weaveapi/generate/v1/service.pb.d.ts +0 -173
- package/dist/weaveapi/generate/v1/service.pb.js +0 -1207
- package/dist/weaveapi/input/v1/input.pb.d.ts +0 -77
- package/dist/weaveapi/input/v1/input.pb.js +0 -632
- package/dist/weaveapi/input/v1/service.pb.d.ts +0 -390
- package/dist/weaveapi/input/v1/service.pb.js +0 -3610
- package/dist/weaveapi/integration/v1/integration.pb.d.ts +0 -67
- package/dist/weaveapi/integration/v1/integration.pb.js +0 -486
- package/dist/weaveapi/integration/v1/service.pb.d.ts +0 -318
- package/dist/weaveapi/integration/v1/service.pb.js +0 -2992
- package/dist/weaveapi/llmx/v1/architecture.pb.d.ts +0 -665
- package/dist/weaveapi/llmx/v1/architecture.pb.js +0 -3028
- package/dist/weaveapi/llmx/v1/capabilities.pb.d.ts +0 -709
- package/dist/weaveapi/llmx/v1/capabilities.pb.js +0 -3458
- package/dist/weaveapi/llmx/v1/model.pb.d.ts +0 -375
- package/dist/weaveapi/llmx/v1/model.pb.js +0 -1472
- package/dist/weaveapi/llmx/v1/pricing.pb.d.ts +0 -340
- package/dist/weaveapi/llmx/v1/pricing.pb.js +0 -974
- package/dist/weaveapi/llmx/v1/provider.pb.d.ts +0 -72
- package/dist/weaveapi/llmx/v1/provider.pb.js +0 -218
- package/dist/weaveapi/llmx/v1/service.pb.d.ts +0 -683
- package/dist/weaveapi/llmx/v1/service.pb.js +0 -5266
- package/dist/weaveapi/mcpregistry/v1/server.pb.d.ts +0 -54
- package/dist/weaveapi/mcpregistry/v1/server.pb.js +0 -436
- package/dist/weaveapi/mcpregistry/v1/service.pb.d.ts +0 -171
- package/dist/weaveapi/mcpregistry/v1/service.pb.js +0 -963
- package/dist/weaveapi/payment/v1/invoice.pb.d.ts +0 -92
- package/dist/weaveapi/payment/v1/invoice.pb.js +0 -998
- package/dist/weaveapi/payment/v1/service.pb.d.ts +0 -662
- package/dist/weaveapi/payment/v1/service.pb.js +0 -5395
- package/dist/weaveapi/payment/v1/subscription.pb.d.ts +0 -165
- package/dist/weaveapi/payment/v1/subscription.pb.js +0 -1930
- package/dist/weaveapi/report/v1/report.pb.d.ts +0 -81
- package/dist/weaveapi/report/v1/report.pb.js +0 -678
- package/dist/weaveapi/report/v1/service.pb.d.ts +0 -194
- package/dist/weaveapi/report/v1/service.pb.js +0 -1923
- package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +0 -70
- package/dist/weaveapi/requirement/v1/requirement.pb.js +0 -570
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +0 -390
- package/dist/weaveapi/requirement/v1/service.pb.js +0 -3636
- package/dist/weaveapi/run/v1/run.pb.d.ts +0 -117
- package/dist/weaveapi/run/v1/run.pb.js +0 -1155
- package/dist/weaveapi/run/v1/service.pb.d.ts +0 -229
- package/dist/weaveapi/run/v1/service.pb.js +0 -2426
- package/dist/weaveapi/script/v1/script.pb.d.ts +0 -102
- package/dist/weaveapi/script/v1/script.pb.js +0 -1025
- package/dist/weaveapi/script/v1/service.pb.d.ts +0 -502
- package/dist/weaveapi/script/v1/service.pb.js +0 -4871
- package/dist/weaveapi/storage/v1/auth.pb.js +0 -110
- package/dist/weaveapi/storage/v1/nosql_database.pb.d.ts +0 -91
- package/dist/weaveapi/storage/v1/nosql_database.pb.js +0 -1056
- package/dist/weaveapi/storage/v1/object_store.pb.d.ts +0 -49
- package/dist/weaveapi/storage/v1/object_store.pb.js +0 -441
- package/dist/weaveapi/storage/v1/service.pb.d.ts +0 -245
- package/dist/weaveapi/storage/v1/service.pb.js +0 -1339
- package/dist/weaveapi/storage/v1/sql_database.pb.d.ts +0 -98
- package/dist/weaveapi/storage/v1/sql_database.pb.js +0 -1184
- package/dist/weaveapi/storage/v1/storage.pb.d.ts +0 -35
- package/dist/weaveapi/storage/v1/storage.pb.js +0 -198
- package/dist/weaveapi/storage/v1/vcs.pb.d.ts +0 -75
- package/dist/weaveapi/storage/v1/vcs.pb.js +0 -864
- package/dist/weaveapi/suite/v1/service.pb.d.ts +0 -539
- package/dist/weaveapi/suite/v1/service.pb.js +0 -5279
- package/dist/weaveapi/suite/v1/suite.pb.d.ts +0 -92
- package/dist/weaveapi/suite/v1/suite.pb.js +0 -876
- package/dist/weaveapi/synthesize/v1/dataset.pb.d.ts +0 -68
- package/dist/weaveapi/synthesize/v1/dataset.pb.js +0 -460
- package/dist/weaveapi/synthesize/v1/inline_data.pb.d.ts +0 -45
- package/dist/weaveapi/synthesize/v1/inline_data.pb.js +0 -166
- package/dist/weaveapi/synthesize/v1/relationship.pb.d.ts +0 -58
- package/dist/weaveapi/synthesize/v1/relationship.pb.js +0 -253
- package/dist/weaveapi/synthesize/v1/service.pb.d.ts +0 -144
- package/dist/weaveapi/synthesize/v1/service.pb.js +0 -917
- package/dist/weaveapi/synthesize/v1/training.pb.d.ts +0 -58
- package/dist/weaveapi/synthesize/v1/training.pb.js +0 -386
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +0 -498
- package/dist/weaveapi/testcase/v1/service.pb.js +0 -4728
- package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +0 -91
- package/dist/weaveapi/testcase/v1/testcase.pb.js +0 -794
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -261
- package/dist/weaveapi/workflow/v1/service.pb.js +0 -2120
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +0 -77
- package/dist/weaveapi/workflow/v1/workflow.pb.js +0 -555
- package/dist/weaveapi/workflowdata/v1/service.pb.d.ts +0 -295
- package/dist/weaveapi/workflowdata/v1/service.pb.js +0 -2612
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { Task, TaskActivityEntry, TaskOwnerKind, TaskStatus } from "./task.pb";
|
|
3
|
+
export declare const protobufPackage = "weaveapi.task.v1";
|
|
4
|
+
export interface CreateTaskRequest {
|
|
5
|
+
organizationId: string;
|
|
6
|
+
projectSlug: string;
|
|
7
|
+
slug: string;
|
|
8
|
+
title: string;
|
|
9
|
+
summary: string;
|
|
10
|
+
description: string;
|
|
11
|
+
status: TaskStatus;
|
|
12
|
+
ownerKind: TaskOwnerKind;
|
|
13
|
+
ownerId: string;
|
|
14
|
+
ownerSlug: string;
|
|
15
|
+
ownerDisplayName: string;
|
|
16
|
+
creatorUserId: string;
|
|
17
|
+
sourceSystem: string;
|
|
18
|
+
sourceId: string;
|
|
19
|
+
sourceMetadata: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
} | undefined;
|
|
22
|
+
}
|
|
23
|
+
export interface CreateTaskResponse {
|
|
24
|
+
task: Task | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface GetTaskRequest {
|
|
27
|
+
organizationId: string;
|
|
28
|
+
projectSlug: string;
|
|
29
|
+
taskSlug: string;
|
|
30
|
+
}
|
|
31
|
+
export interface GetTaskResponse {
|
|
32
|
+
task: Task | undefined;
|
|
33
|
+
}
|
|
34
|
+
export interface UpdateTaskRequest {
|
|
35
|
+
organizationId: string;
|
|
36
|
+
projectSlug: string;
|
|
37
|
+
taskSlug: string;
|
|
38
|
+
title: string;
|
|
39
|
+
summary: string;
|
|
40
|
+
description: string;
|
|
41
|
+
status: TaskStatus;
|
|
42
|
+
ownerKind: TaskOwnerKind;
|
|
43
|
+
ownerId: string;
|
|
44
|
+
ownerSlug: string;
|
|
45
|
+
ownerDisplayName: string;
|
|
46
|
+
sourceSystem: string;
|
|
47
|
+
sourceId: string;
|
|
48
|
+
sourceMetadata: {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
} | undefined;
|
|
51
|
+
completedAt: string;
|
|
52
|
+
}
|
|
53
|
+
export interface UpdateTaskResponse {
|
|
54
|
+
task: Task | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface ListTaskActivityRequest {
|
|
57
|
+
organizationId: string;
|
|
58
|
+
projectSlug: string;
|
|
59
|
+
taskSlug: string;
|
|
60
|
+
pageSize: number;
|
|
61
|
+
pageToken: string;
|
|
62
|
+
}
|
|
63
|
+
export interface ListTaskActivityResponse {
|
|
64
|
+
activity: TaskActivityEntry[];
|
|
65
|
+
nextPageToken: string;
|
|
66
|
+
}
|
|
67
|
+
export declare const CreateTaskRequest: MessageFns<CreateTaskRequest>;
|
|
68
|
+
export declare const CreateTaskResponse: MessageFns<CreateTaskResponse>;
|
|
69
|
+
export declare const GetTaskRequest: MessageFns<GetTaskRequest>;
|
|
70
|
+
export declare const GetTaskResponse: MessageFns<GetTaskResponse>;
|
|
71
|
+
export declare const UpdateTaskRequest: MessageFns<UpdateTaskRequest>;
|
|
72
|
+
export declare const UpdateTaskResponse: MessageFns<UpdateTaskResponse>;
|
|
73
|
+
export declare const ListTaskActivityRequest: MessageFns<ListTaskActivityRequest>;
|
|
74
|
+
export declare const ListTaskActivityResponse: MessageFns<ListTaskActivityResponse>;
|
|
75
|
+
/** TaskService provides the task API surface. */
|
|
76
|
+
export interface TaskService {
|
|
77
|
+
CreateTask(request: CreateTaskRequest): Promise<CreateTaskResponse>;
|
|
78
|
+
GetTask(request: GetTaskRequest): Promise<GetTaskResponse>;
|
|
79
|
+
UpdateTask(request: UpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
80
|
+
ListTaskActivity(request: ListTaskActivityRequest): Promise<ListTaskActivityResponse>;
|
|
81
|
+
}
|
|
82
|
+
export declare const TaskServiceServiceName = "weaveapi.task.v1.TaskService";
|
|
83
|
+
export declare class TaskServiceClientImpl implements TaskService {
|
|
84
|
+
private readonly rpc;
|
|
85
|
+
private readonly service;
|
|
86
|
+
constructor(rpc: Rpc, opts?: {
|
|
87
|
+
service?: string;
|
|
88
|
+
});
|
|
89
|
+
CreateTask(request: CreateTaskRequest): Promise<CreateTaskResponse>;
|
|
90
|
+
GetTask(request: GetTaskRequest): Promise<GetTaskResponse>;
|
|
91
|
+
UpdateTask(request: UpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
92
|
+
ListTaskActivity(request: ListTaskActivityRequest): Promise<ListTaskActivityResponse>;
|
|
93
|
+
}
|
|
94
|
+
/** TaskService provides the task API surface. */
|
|
95
|
+
export type TaskServiceDefinition = typeof TaskServiceDefinition;
|
|
96
|
+
export declare const TaskServiceDefinition: {
|
|
97
|
+
readonly name: "TaskService";
|
|
98
|
+
readonly fullName: "weaveapi.task.v1.TaskService";
|
|
99
|
+
readonly methods: {
|
|
100
|
+
readonly createTask: {
|
|
101
|
+
readonly name: "CreateTask";
|
|
102
|
+
readonly requestType: typeof CreateTaskRequest;
|
|
103
|
+
readonly requestStream: false;
|
|
104
|
+
readonly responseType: typeof CreateTaskResponse;
|
|
105
|
+
readonly responseStream: false;
|
|
106
|
+
readonly options: {
|
|
107
|
+
readonly _unknownFields: {
|
|
108
|
+
readonly 578365826: readonly [Uint8Array];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
readonly getTask: {
|
|
113
|
+
readonly name: "GetTask";
|
|
114
|
+
readonly requestType: typeof GetTaskRequest;
|
|
115
|
+
readonly requestStream: false;
|
|
116
|
+
readonly responseType: typeof GetTaskResponse;
|
|
117
|
+
readonly responseStream: false;
|
|
118
|
+
readonly options: {
|
|
119
|
+
readonly _unknownFields: {
|
|
120
|
+
readonly 578365826: readonly [Uint8Array];
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
readonly updateTask: {
|
|
125
|
+
readonly name: "UpdateTask";
|
|
126
|
+
readonly requestType: typeof UpdateTaskRequest;
|
|
127
|
+
readonly requestStream: false;
|
|
128
|
+
readonly responseType: typeof UpdateTaskResponse;
|
|
129
|
+
readonly responseStream: false;
|
|
130
|
+
readonly options: {
|
|
131
|
+
readonly _unknownFields: {
|
|
132
|
+
readonly 578365826: readonly [Uint8Array];
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
readonly listTaskActivity: {
|
|
137
|
+
readonly name: "ListTaskActivity";
|
|
138
|
+
readonly requestType: typeof ListTaskActivityRequest;
|
|
139
|
+
readonly requestStream: false;
|
|
140
|
+
readonly responseType: typeof ListTaskActivityResponse;
|
|
141
|
+
readonly responseStream: false;
|
|
142
|
+
readonly options: {
|
|
143
|
+
readonly _unknownFields: {
|
|
144
|
+
readonly 578365826: readonly [Uint8Array];
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
interface Rpc {
|
|
151
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
152
|
+
}
|
|
153
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
154
|
+
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 {} ? {
|
|
155
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
156
|
+
} : Partial<T>;
|
|
157
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
158
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
159
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
160
|
+
} & {
|
|
161
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
162
|
+
};
|
|
163
|
+
export interface MessageFns<T> {
|
|
164
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
165
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
166
|
+
fromJSON(object: any): T;
|
|
167
|
+
toJSON(message: T): unknown;
|
|
168
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
169
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
170
|
+
}
|
|
171
|
+
export {};
|