@world-engines/protocol-ts 0.1.0-alpha.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/LICENSE +46 -0
- package/dist/entity-prop-envelope.d.ts +36 -0
- package/dist/entity-prop-envelope.js +50 -0
- package/dist/gen/v1/auth.d.ts +46 -0
- package/dist/gen/v1/auth.js +278 -0
- package/dist/gen/v1/billing.d.ts +71 -0
- package/dist/gen/v1/billing.js +521 -0
- package/dist/gen/v1/common.d.ts +65 -0
- package/dist/gen/v1/common.js +387 -0
- package/dist/gen/v1/llm.d.ts +317 -0
- package/dist/gen/v1/llm.js +3557 -0
- package/dist/gen/v1/mcp.d.ts +373 -0
- package/dist/gen/v1/mcp.js +3190 -0
- package/dist/gen/v1/moderation.d.ts +51 -0
- package/dist/gen/v1/moderation.js +368 -0
- package/dist/gen/v1/neutral_scenario_source.d.ts +80 -0
- package/dist/gen/v1/neutral_scenario_source.js +569 -0
- package/dist/gen/v1/relation_kind.d.ts +105 -0
- package/dist/gen/v1/relation_kind.js +562 -0
- package/dist/gen/v1/rest/admin.d.ts +432 -0
- package/dist/gen/v1/rest/admin.js +4957 -0
- package/dist/gen/v1/rest/asset.d.ts +205 -0
- package/dist/gen/v1/rest/asset.js +2200 -0
- package/dist/gen/v1/rest/auth.d.ts +275 -0
- package/dist/gen/v1/rest/auth.js +2896 -0
- package/dist/gen/v1/rest/billing.d.ts +101 -0
- package/dist/gen/v1/rest/billing.js +866 -0
- package/dist/gen/v1/rest/common.d.ts +179 -0
- package/dist/gen/v1/rest/common.js +1358 -0
- package/dist/gen/v1/rest/creator.d.ts +354 -0
- package/dist/gen/v1/rest/creator.js +4169 -0
- package/dist/gen/v1/rest/messaging.d.ts +190 -0
- package/dist/gen/v1/rest/messaging.js +2017 -0
- package/dist/gen/v1/rest/moderation.d.ts +61 -0
- package/dist/gen/v1/rest/moderation.js +569 -0
- package/dist/gen/v1/rest/pet.d.ts +98 -0
- package/dist/gen/v1/rest/pet.js +698 -0
- package/dist/gen/v1/rest/project_transfer.d.ts +470 -0
- package/dist/gen/v1/rest/project_transfer.js +5266 -0
- package/dist/gen/v1/rest/scenario.d.ts +756 -0
- package/dist/gen/v1/rest/scenario.js +8768 -0
- package/dist/gen/v1/rest/stock_bounty.d.ts +154 -0
- package/dist/gen/v1/rest/stock_bounty.js +1547 -0
- package/dist/gen/v1/rest/stocks.d.ts +465 -0
- package/dist/gen/v1/rest/stocks.js +5200 -0
- package/dist/gen/v1/rest/support_ticket.d.ts +61 -0
- package/dist/gen/v1/rest/support_ticket.js +511 -0
- package/dist/gen/v1/rest/users.d.ts +292 -0
- package/dist/gen/v1/rest/users.js +2879 -0
- package/dist/gen/v1/rest/violations.d.ts +52 -0
- package/dist/gen/v1/rest/violations.js +338 -0
- package/dist/gen/v1/sav.d.ts +987 -0
- package/dist/gen/v1/sav.js +12327 -0
- package/dist/gen/v1/save.d.ts +68 -0
- package/dist/gen/v1/save.js +595 -0
- package/dist/gen/v1/scenario_part_source.d.ts +94 -0
- package/dist/gen/v1/scenario_part_source.js +913 -0
- package/dist/gen/v1/session.d.ts +49 -0
- package/dist/gen/v1/session.js +311 -0
- package/dist/gen/v1/view_state.d.ts +267 -0
- package/dist/gen/v1/view_state.js +3239 -0
- package/dist/gen/v1/world.d.ts +82 -0
- package/dist/gen/v1/world.js +707 -0
- package/dist/gen/v1/world_memory.d.ts +545 -0
- package/dist/gen/v1/world_memory.js +5816 -0
- package/dist/gen/v1/world_memory_privacy.d.ts +96 -0
- package/dist/gen/v1/world_memory_privacy.js +994 -0
- package/dist/gen/v1/ws_frame.d.ts +1626 -0
- package/dist/gen/v1/ws_frame.js +18253 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -0
- package/dist/ladybug-extraction.d.ts +36 -0
- package/dist/ladybug-extraction.js +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { ErrorInfo } from "../common.js";
|
|
3
|
+
export declare enum ProjectPart {
|
|
4
|
+
PROJECT_PART_UNSPECIFIED = 0,
|
|
5
|
+
PROJECT_PART_SCENARIO = 1,
|
|
6
|
+
PROJECT_PART_VIEW = 2,
|
|
7
|
+
UNRECOGNIZED = -1
|
|
8
|
+
}
|
|
9
|
+
export declare function projectPartFromJSON(object: any): ProjectPart;
|
|
10
|
+
export declare function projectPartToJSON(object: ProjectPart): string;
|
|
11
|
+
export declare enum RemoteViewCapability {
|
|
12
|
+
REMOTE_VIEW_CAPABILITY_UNSPECIFIED = 0,
|
|
13
|
+
REMOTE_VIEW_CAPABILITY_SELF_OWNED_EDITABLE = 1,
|
|
14
|
+
REMOTE_VIEW_CAPABILITY_SELF_OWNED_OTHER_SCENARIO = 2,
|
|
15
|
+
REMOTE_VIEW_CAPABILITY_PURCHASED_BUNDLE_ONLY = 3,
|
|
16
|
+
REMOTE_VIEW_CAPABILITY_FOREIGN_READ_ONLY = 4,
|
|
17
|
+
UNRECOGNIZED = -1
|
|
18
|
+
}
|
|
19
|
+
export declare function remoteViewCapabilityFromJSON(object: any): RemoteViewCapability;
|
|
20
|
+
export declare function remoteViewCapabilityToJSON(object: RemoteViewCapability): string;
|
|
21
|
+
export declare enum LogicalObjectKindV2 {
|
|
22
|
+
LOGICAL_OBJECT_KIND_V2_UNSPECIFIED = 0,
|
|
23
|
+
LOGICAL_OBJECT_KIND_V2_MANIFEST = 1,
|
|
24
|
+
LOGICAL_OBJECT_KIND_V2_REVISION_INDEX = 2,
|
|
25
|
+
LOGICAL_OBJECT_KIND_V2_SECTION = 3,
|
|
26
|
+
LOGICAL_OBJECT_KIND_V2_LOCAL_PROJECT_WESP = 4,
|
|
27
|
+
LOGICAL_OBJECT_KIND_V2_VIEW = 5,
|
|
28
|
+
UNRECOGNIZED = -1
|
|
29
|
+
}
|
|
30
|
+
export declare function logicalObjectKindV2FromJSON(object: any): LogicalObjectKindV2;
|
|
31
|
+
export declare function logicalObjectKindV2ToJSON(object: LogicalObjectKindV2): string;
|
|
32
|
+
export declare enum ChunkCodecV2 {
|
|
33
|
+
CHUNK_CODEC_V2_UNSPECIFIED = 0,
|
|
34
|
+
CHUNK_CODEC_V2_IDENTITY_V1 = 1,
|
|
35
|
+
CHUNK_CODEC_V2_GZIP_MEMBER_V1 = 2,
|
|
36
|
+
UNRECOGNIZED = -1
|
|
37
|
+
}
|
|
38
|
+
export declare function chunkCodecV2FromJSON(object: any): ChunkCodecV2;
|
|
39
|
+
export declare function chunkCodecV2ToJSON(object: ChunkCodecV2): string;
|
|
40
|
+
export declare enum UploadTargetOperationState {
|
|
41
|
+
UPLOAD_TARGET_OPERATION_STATE_UNSPECIFIED = 0,
|
|
42
|
+
UPLOAD_TARGET_OPERATION_STATE_QUEUED = 1,
|
|
43
|
+
UPLOAD_TARGET_OPERATION_STATE_ACQUIRING_LEASE = 2,
|
|
44
|
+
UPLOAD_TARGET_OPERATION_STATE_READING_LATEST_PREIMAGE = 3,
|
|
45
|
+
UPLOAD_TARGET_OPERATION_STATE_PRESERVING_PREIMAGE = 4,
|
|
46
|
+
UPLOAD_TARGET_OPERATION_STATE_MATERIALIZING_TARGET_IDENTITY = 5,
|
|
47
|
+
UPLOAD_TARGET_OPERATION_STATE_WRITING_SCENARIO = 6,
|
|
48
|
+
UPLOAD_TARGET_OPERATION_STATE_WRITING_VIEW = 7,
|
|
49
|
+
UPLOAD_TARGET_OPERATION_STATE_RECONCILING_BINDING = 8,
|
|
50
|
+
UPLOAD_TARGET_OPERATION_STATE_AUTHORITATIVE_READBACK = 9,
|
|
51
|
+
UPLOAD_TARGET_OPERATION_STATE_SUCCEEDED = 10,
|
|
52
|
+
UPLOAD_TARGET_OPERATION_STATE_WRITE_FAILED = 11,
|
|
53
|
+
UPLOAD_TARGET_OPERATION_STATE_ROLLBACK_PENDING = 12,
|
|
54
|
+
UPLOAD_TARGET_OPERATION_STATE_RESTORING_SCENARIO_PREIMAGE = 13,
|
|
55
|
+
UPLOAD_TARGET_OPERATION_STATE_RESTORING_VIEW_PREIMAGE = 14,
|
|
56
|
+
UPLOAD_TARGET_OPERATION_STATE_RESTORING_BINDING_PREIMAGE = 15,
|
|
57
|
+
UPLOAD_TARGET_OPERATION_STATE_ROLLBACK_READBACK = 16,
|
|
58
|
+
UPLOAD_TARGET_OPERATION_STATE_FAILED_RECOVERABLE = 17,
|
|
59
|
+
UPLOAD_TARGET_OPERATION_STATE_UNKNOWN = 18,
|
|
60
|
+
UPLOAD_TARGET_OPERATION_STATE_MANUAL_RECOVERY = 19,
|
|
61
|
+
UNRECOGNIZED = -1
|
|
62
|
+
}
|
|
63
|
+
export declare function uploadTargetOperationStateFromJSON(object: any): UploadTargetOperationState;
|
|
64
|
+
export declare function uploadTargetOperationStateToJSON(object: UploadTargetOperationState): string;
|
|
65
|
+
export declare enum UploadOperationState {
|
|
66
|
+
UPLOAD_OPERATION_STATE_UNSPECIFIED = 0,
|
|
67
|
+
UPLOAD_OPERATION_STATE_QUEUED = 1,
|
|
68
|
+
UPLOAD_OPERATION_STATE_RUNNING = 2,
|
|
69
|
+
UPLOAD_OPERATION_STATE_SUCCEEDED = 3,
|
|
70
|
+
UPLOAD_OPERATION_STATE_PARTIAL = 4,
|
|
71
|
+
UPLOAD_OPERATION_STATE_FAILED = 5,
|
|
72
|
+
UPLOAD_OPERATION_STATE_CANCELLED_BEFORE_EFFECT = 6,
|
|
73
|
+
UPLOAD_OPERATION_STATE_UNKNOWN = 7,
|
|
74
|
+
UNRECOGNIZED = -1
|
|
75
|
+
}
|
|
76
|
+
export declare function uploadOperationStateFromJSON(object: any): UploadOperationState;
|
|
77
|
+
export declare function uploadOperationStateToJSON(object: UploadOperationState): string;
|
|
78
|
+
export declare enum DownloadOperationState {
|
|
79
|
+
DOWNLOAD_OPERATION_STATE_UNSPECIFIED = 0,
|
|
80
|
+
DOWNLOAD_OPERATION_STATE_PLANNED = 1,
|
|
81
|
+
DOWNLOAD_OPERATION_STATE_AWAITING_CONFIRMATION = 2,
|
|
82
|
+
DOWNLOAD_OPERATION_STATE_FETCHING = 3,
|
|
83
|
+
DOWNLOAD_OPERATION_STATE_VERIFYING_REMOTE = 4,
|
|
84
|
+
DOWNLOAD_OPERATION_STATE_UNPACKING_STAGING = 5,
|
|
85
|
+
DOWNLOAD_OPERATION_STATE_VALIDATING_SCENARIO = 6,
|
|
86
|
+
DOWNLOAD_OPERATION_STATE_VALIDATING_VIEW = 7,
|
|
87
|
+
DOWNLOAD_OPERATION_STATE_INSTALLING_VIEW_DEPENDENCIES = 8,
|
|
88
|
+
DOWNLOAD_OPERATION_STATE_VERIFYING_STAGED_PROJECT = 9,
|
|
89
|
+
DOWNLOAD_OPERATION_STATE_ACQUIRING_LOCAL_WRITER_LEASE = 10,
|
|
90
|
+
DOWNLOAD_OPERATION_STATE_PRESERVING_LATEST_LOCAL_PREIMAGE = 11,
|
|
91
|
+
DOWNLOAD_OPERATION_STATE_ATOMIC_SWAP = 12,
|
|
92
|
+
DOWNLOAD_OPERATION_STATE_REBUILDING_PROJECTIONS = 13,
|
|
93
|
+
DOWNLOAD_OPERATION_STATE_LOCAL_READBACK = 14,
|
|
94
|
+
DOWNLOAD_OPERATION_STATE_SUCCEEDED = 15,
|
|
95
|
+
DOWNLOAD_OPERATION_STATE_ROLLBACK_PENDING = 16,
|
|
96
|
+
DOWNLOAD_OPERATION_STATE_FAILED_RECOVERABLE = 17,
|
|
97
|
+
DOWNLOAD_OPERATION_STATE_UNKNOWN = 18,
|
|
98
|
+
DOWNLOAD_OPERATION_STATE_MANUAL_RECOVERY = 19,
|
|
99
|
+
UNRECOGNIZED = -1
|
|
100
|
+
}
|
|
101
|
+
export declare function downloadOperationStateFromJSON(object: any): DownloadOperationState;
|
|
102
|
+
export declare function downloadOperationStateToJSON(object: DownloadOperationState): string;
|
|
103
|
+
export interface RemoteScenarioSummaryV1 {
|
|
104
|
+
scenario_id: string;
|
|
105
|
+
title: string;
|
|
106
|
+
source_head: string;
|
|
107
|
+
updated_at_ms: string;
|
|
108
|
+
_unknownFields?: {
|
|
109
|
+
[key: number]: Uint8Array[];
|
|
110
|
+
} | undefined;
|
|
111
|
+
}
|
|
112
|
+
export interface RemoteViewSummaryV1 {
|
|
113
|
+
view_id: string;
|
|
114
|
+
title: string;
|
|
115
|
+
svp_digest: string;
|
|
116
|
+
capability: RemoteViewCapability;
|
|
117
|
+
owning_scenario_id: string;
|
|
118
|
+
updated_at_ms: string;
|
|
119
|
+
_unknownFields?: {
|
|
120
|
+
[key: number]: Uint8Array[];
|
|
121
|
+
} | undefined;
|
|
122
|
+
}
|
|
123
|
+
export interface RemoteTargetPairV1 {
|
|
124
|
+
target_pair_id: string;
|
|
125
|
+
scenario_id: string;
|
|
126
|
+
view_id: string;
|
|
127
|
+
binding_revision: string;
|
|
128
|
+
scenario_head: string;
|
|
129
|
+
view_digest: string;
|
|
130
|
+
capability: RemoteViewCapability;
|
|
131
|
+
_unknownFields?: {
|
|
132
|
+
[key: number]: Uint8Array[];
|
|
133
|
+
} | undefined;
|
|
134
|
+
}
|
|
135
|
+
export interface ProjectTransferInventoryRequestV1 {
|
|
136
|
+
_unknownFields?: {
|
|
137
|
+
[key: number]: Uint8Array[];
|
|
138
|
+
} | undefined;
|
|
139
|
+
}
|
|
140
|
+
export interface ProjectTransferInventoryV1 {
|
|
141
|
+
revision: string;
|
|
142
|
+
scenarios: RemoteScenarioSummaryV1[];
|
|
143
|
+
views: RemoteViewSummaryV1[];
|
|
144
|
+
target_pairs: RemoteTargetPairV1[];
|
|
145
|
+
error?: ErrorInfo | undefined;
|
|
146
|
+
_unknownFields?: {
|
|
147
|
+
[key: number]: Uint8Array[];
|
|
148
|
+
} | undefined;
|
|
149
|
+
}
|
|
150
|
+
export interface ExistingScenarioTargetV1 {
|
|
151
|
+
scenario_id: string;
|
|
152
|
+
_unknownFields?: {
|
|
153
|
+
[key: number]: Uint8Array[];
|
|
154
|
+
} | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface CreateScenarioTargetV1 {
|
|
157
|
+
title: string;
|
|
158
|
+
_unknownFields?: {
|
|
159
|
+
[key: number]: Uint8Array[];
|
|
160
|
+
} | undefined;
|
|
161
|
+
}
|
|
162
|
+
export interface ScenarioTargetChoiceV1 {
|
|
163
|
+
existing?: ExistingScenarioTargetV1 | undefined;
|
|
164
|
+
create?: CreateScenarioTargetV1 | undefined;
|
|
165
|
+
_unknownFields?: {
|
|
166
|
+
[key: number]: Uint8Array[];
|
|
167
|
+
} | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface ExistingViewTargetV1 {
|
|
170
|
+
view_id: string;
|
|
171
|
+
_unknownFields?: {
|
|
172
|
+
[key: number]: Uint8Array[];
|
|
173
|
+
} | undefined;
|
|
174
|
+
}
|
|
175
|
+
export interface CreateViewTargetV1 {
|
|
176
|
+
title: string;
|
|
177
|
+
_unknownFields?: {
|
|
178
|
+
[key: number]: Uint8Array[];
|
|
179
|
+
} | undefined;
|
|
180
|
+
}
|
|
181
|
+
export interface ViewTargetChoiceV1 {
|
|
182
|
+
existing?: ExistingViewTargetV1 | undefined;
|
|
183
|
+
create?: CreateViewTargetV1 | undefined;
|
|
184
|
+
_unknownFields?: {
|
|
185
|
+
[key: number]: Uint8Array[];
|
|
186
|
+
} | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface UploadTargetRequestV1 {
|
|
189
|
+
client_target_key: string;
|
|
190
|
+
scenario?: ScenarioTargetChoiceV1 | undefined;
|
|
191
|
+
view?: ViewTargetChoiceV1 | undefined;
|
|
192
|
+
_unknownFields?: {
|
|
193
|
+
[key: number]: Uint8Array[];
|
|
194
|
+
} | undefined;
|
|
195
|
+
}
|
|
196
|
+
export interface StagingObjectRefV1 {
|
|
197
|
+
sha256: string;
|
|
198
|
+
byte_length: string;
|
|
199
|
+
media_type: string;
|
|
200
|
+
_unknownFields?: {
|
|
201
|
+
[key: number]: Uint8Array[];
|
|
202
|
+
} | undefined;
|
|
203
|
+
}
|
|
204
|
+
export interface UploadPlanRequestV1 {
|
|
205
|
+
project_id: string;
|
|
206
|
+
snapshot_id: string;
|
|
207
|
+
snapshot_digest: string;
|
|
208
|
+
parts: ProjectPart[];
|
|
209
|
+
targets: UploadTargetRequestV1[];
|
|
210
|
+
scenario_object?: StagingObjectRefV1 | undefined;
|
|
211
|
+
view_object?: StagingObjectRefV1 | undefined;
|
|
212
|
+
_unknownFields?: {
|
|
213
|
+
[key: number]: Uint8Array[];
|
|
214
|
+
} | undefined;
|
|
215
|
+
}
|
|
216
|
+
export interface ChunkRefV2 {
|
|
217
|
+
index: string;
|
|
218
|
+
raw_offset: string;
|
|
219
|
+
raw_byte_length: string;
|
|
220
|
+
raw_sha256: string;
|
|
221
|
+
codec: ChunkCodecV2;
|
|
222
|
+
encoded_byte_length: string;
|
|
223
|
+
encoded_sha256: string;
|
|
224
|
+
_unknownFields?: {
|
|
225
|
+
[key: number]: Uint8Array[];
|
|
226
|
+
} | undefined;
|
|
227
|
+
}
|
|
228
|
+
export interface LogicalObjectRefV2 {
|
|
229
|
+
object_id: string;
|
|
230
|
+
object_kind: LogicalObjectKindV2;
|
|
231
|
+
section_key?: string | undefined;
|
|
232
|
+
media_type?: string | undefined;
|
|
233
|
+
canonical_encoding?: string | undefined;
|
|
234
|
+
raw_byte_length: string;
|
|
235
|
+
raw_sha256: string;
|
|
236
|
+
chunks: ChunkRefV2[];
|
|
237
|
+
_unknownFields?: {
|
|
238
|
+
[key: number]: Uint8Array[];
|
|
239
|
+
} | undefined;
|
|
240
|
+
}
|
|
241
|
+
export interface UploadPlanRequestV2 {
|
|
242
|
+
project_id: string;
|
|
243
|
+
snapshot_id: string;
|
|
244
|
+
snapshot_digest: string;
|
|
245
|
+
parts: ProjectPart[];
|
|
246
|
+
targets: UploadTargetRequestV1[];
|
|
247
|
+
objects: LogicalObjectRefV2[];
|
|
248
|
+
expires_at_ms: string;
|
|
249
|
+
_unknownFields?: {
|
|
250
|
+
[key: number]: Uint8Array[];
|
|
251
|
+
} | undefined;
|
|
252
|
+
}
|
|
253
|
+
export interface UploadWarningV1 {
|
|
254
|
+
code: string;
|
|
255
|
+
target_key: string;
|
|
256
|
+
message: string;
|
|
257
|
+
_unknownFields?: {
|
|
258
|
+
[key: number]: Uint8Array[];
|
|
259
|
+
} | undefined;
|
|
260
|
+
}
|
|
261
|
+
export interface UploadTargetPlanV1 {
|
|
262
|
+
client_target_key: string;
|
|
263
|
+
scenario_id: string;
|
|
264
|
+
view_id: string;
|
|
265
|
+
scenario_title: string;
|
|
266
|
+
view_title: string;
|
|
267
|
+
creates_scenario: boolean;
|
|
268
|
+
creates_view: boolean;
|
|
269
|
+
copy_on_bind: boolean;
|
|
270
|
+
current_scenario_head: string;
|
|
271
|
+
current_view_digest: string;
|
|
272
|
+
current_binding_revision: string;
|
|
273
|
+
overwritten_section_count: string;
|
|
274
|
+
overwritten_file_count: string;
|
|
275
|
+
estimated_upload_bytes: string;
|
|
276
|
+
_unknownFields?: {
|
|
277
|
+
[key: number]: Uint8Array[];
|
|
278
|
+
} | undefined;
|
|
279
|
+
}
|
|
280
|
+
export interface UploadPlanV1 {
|
|
281
|
+
plan_id: string;
|
|
282
|
+
plan_digest: string;
|
|
283
|
+
expires_at_ms: string;
|
|
284
|
+
parts: ProjectPart[];
|
|
285
|
+
snapshot_digest: string;
|
|
286
|
+
targets: UploadTargetPlanV1[];
|
|
287
|
+
warnings: UploadWarningV1[];
|
|
288
|
+
error?: ErrorInfo | undefined;
|
|
289
|
+
_unknownFields?: {
|
|
290
|
+
[key: number]: Uint8Array[];
|
|
291
|
+
} | undefined;
|
|
292
|
+
}
|
|
293
|
+
export interface ConfirmUploadRequestV1 {
|
|
294
|
+
plan_id: string;
|
|
295
|
+
plan_digest: string;
|
|
296
|
+
confirmation: string;
|
|
297
|
+
_unknownFields?: {
|
|
298
|
+
[key: number]: Uint8Array[];
|
|
299
|
+
} | undefined;
|
|
300
|
+
}
|
|
301
|
+
export interface UploadTargetOperationV1 {
|
|
302
|
+
client_target_key: string;
|
|
303
|
+
scenario_id: string;
|
|
304
|
+
view_id: string;
|
|
305
|
+
state: UploadTargetOperationState;
|
|
306
|
+
preserved_preimage_id: string;
|
|
307
|
+
preimage_expires_at_ms: string;
|
|
308
|
+
scenario_head_readback: string;
|
|
309
|
+
view_digest_readback: string;
|
|
310
|
+
binding_revision_readback: string;
|
|
311
|
+
sanitized_error_code: string;
|
|
312
|
+
scenario_source_digest_readback: string;
|
|
313
|
+
_unknownFields?: {
|
|
314
|
+
[key: number]: Uint8Array[];
|
|
315
|
+
} | undefined;
|
|
316
|
+
}
|
|
317
|
+
export interface UploadOperationV1 {
|
|
318
|
+
operation_id: string;
|
|
319
|
+
plan_id: string;
|
|
320
|
+
plan_digest: string;
|
|
321
|
+
state: UploadOperationState;
|
|
322
|
+
targets: UploadTargetOperationV1[];
|
|
323
|
+
created_at_ms: string;
|
|
324
|
+
updated_at_ms: string;
|
|
325
|
+
error?: ErrorInfo | undefined;
|
|
326
|
+
_unknownFields?: {
|
|
327
|
+
[key: number]: Uint8Array[];
|
|
328
|
+
} | undefined;
|
|
329
|
+
}
|
|
330
|
+
export interface DownloadPlanRequestV1 {
|
|
331
|
+
project_id: string;
|
|
332
|
+
target_pair_id: string;
|
|
333
|
+
parts: ProjectPart[];
|
|
334
|
+
_unknownFields?: {
|
|
335
|
+
[key: number]: Uint8Array[];
|
|
336
|
+
} | undefined;
|
|
337
|
+
}
|
|
338
|
+
export interface FrozenRemoteTargetV1 {
|
|
339
|
+
scenario_id: string;
|
|
340
|
+
scenario_head: string;
|
|
341
|
+
view_id: string;
|
|
342
|
+
view_digest: string;
|
|
343
|
+
binding_revision: string;
|
|
344
|
+
_unknownFields?: {
|
|
345
|
+
[key: number]: Uint8Array[];
|
|
346
|
+
} | undefined;
|
|
347
|
+
}
|
|
348
|
+
export interface DependencyDiffV1 {
|
|
349
|
+
added: string[];
|
|
350
|
+
removed: string[];
|
|
351
|
+
changed: string[];
|
|
352
|
+
lockfile_changes: boolean;
|
|
353
|
+
_unknownFields?: {
|
|
354
|
+
[key: number]: Uint8Array[];
|
|
355
|
+
} | undefined;
|
|
356
|
+
}
|
|
357
|
+
export interface LocalOverwriteSummaryV1 {
|
|
358
|
+
scenario_file_count: string;
|
|
359
|
+
scenario_bytes: string;
|
|
360
|
+
view_file_count: string;
|
|
361
|
+
view_bytes: string;
|
|
362
|
+
current_snapshot_digest: string;
|
|
363
|
+
_unknownFields?: {
|
|
364
|
+
[key: number]: Uint8Array[];
|
|
365
|
+
} | undefined;
|
|
366
|
+
}
|
|
367
|
+
export interface DownloadPlanV1 {
|
|
368
|
+
plan_id: string;
|
|
369
|
+
plan_digest: string;
|
|
370
|
+
expires_at_ms: string;
|
|
371
|
+
frozen_remote?: FrozenRemoteTargetV1 | undefined;
|
|
372
|
+
parts: ProjectPart[];
|
|
373
|
+
dependency_diff?: DependencyDiffV1 | undefined;
|
|
374
|
+
local_overwrite_summary?: LocalOverwriteSummaryV1 | undefined;
|
|
375
|
+
scenario_object?: StagingObjectRefV1 | undefined;
|
|
376
|
+
view_object?: StagingObjectRefV1 | undefined;
|
|
377
|
+
error?: ErrorInfo | undefined;
|
|
378
|
+
_unknownFields?: {
|
|
379
|
+
[key: number]: Uint8Array[];
|
|
380
|
+
} | undefined;
|
|
381
|
+
}
|
|
382
|
+
export interface ConfirmDownloadRequestV1 {
|
|
383
|
+
plan_id: string;
|
|
384
|
+
plan_digest: string;
|
|
385
|
+
confirmation: string;
|
|
386
|
+
_unknownFields?: {
|
|
387
|
+
[key: number]: Uint8Array[];
|
|
388
|
+
} | undefined;
|
|
389
|
+
}
|
|
390
|
+
export interface DownloadOperationV1 {
|
|
391
|
+
operation_id: string;
|
|
392
|
+
plan_id: string;
|
|
393
|
+
plan_digest: string;
|
|
394
|
+
state: DownloadOperationState;
|
|
395
|
+
local_preimage_id: string;
|
|
396
|
+
local_preimage_expires_at_ms: string;
|
|
397
|
+
project_snapshot_digest_readback: string;
|
|
398
|
+
sanitized_error_code: string;
|
|
399
|
+
created_at_ms: string;
|
|
400
|
+
updated_at_ms: string;
|
|
401
|
+
error?: ErrorInfo | undefined;
|
|
402
|
+
_unknownFields?: {
|
|
403
|
+
[key: number]: Uint8Array[];
|
|
404
|
+
} | undefined;
|
|
405
|
+
}
|
|
406
|
+
export interface ProjectTransferOperationRequestV1 {
|
|
407
|
+
operation_id: string;
|
|
408
|
+
_unknownFields?: {
|
|
409
|
+
[key: number]: Uint8Array[];
|
|
410
|
+
} | undefined;
|
|
411
|
+
}
|
|
412
|
+
export interface ProjectTransferOperationV1 {
|
|
413
|
+
upload?: UploadOperationV1 | undefined;
|
|
414
|
+
download?: DownloadOperationV1 | undefined;
|
|
415
|
+
error?: ErrorInfo | undefined;
|
|
416
|
+
_unknownFields?: {
|
|
417
|
+
[key: number]: Uint8Array[];
|
|
418
|
+
} | undefined;
|
|
419
|
+
}
|
|
420
|
+
export declare const RemoteScenarioSummaryV1: MessageFns<RemoteScenarioSummaryV1>;
|
|
421
|
+
export declare const RemoteViewSummaryV1: MessageFns<RemoteViewSummaryV1>;
|
|
422
|
+
export declare const RemoteTargetPairV1: MessageFns<RemoteTargetPairV1>;
|
|
423
|
+
export declare const ProjectTransferInventoryRequestV1: MessageFns<ProjectTransferInventoryRequestV1>;
|
|
424
|
+
export declare const ProjectTransferInventoryV1: MessageFns<ProjectTransferInventoryV1>;
|
|
425
|
+
export declare const ExistingScenarioTargetV1: MessageFns<ExistingScenarioTargetV1>;
|
|
426
|
+
export declare const CreateScenarioTargetV1: MessageFns<CreateScenarioTargetV1>;
|
|
427
|
+
export declare const ScenarioTargetChoiceV1: MessageFns<ScenarioTargetChoiceV1>;
|
|
428
|
+
export declare const ExistingViewTargetV1: MessageFns<ExistingViewTargetV1>;
|
|
429
|
+
export declare const CreateViewTargetV1: MessageFns<CreateViewTargetV1>;
|
|
430
|
+
export declare const ViewTargetChoiceV1: MessageFns<ViewTargetChoiceV1>;
|
|
431
|
+
export declare const UploadTargetRequestV1: MessageFns<UploadTargetRequestV1>;
|
|
432
|
+
export declare const StagingObjectRefV1: MessageFns<StagingObjectRefV1>;
|
|
433
|
+
export declare const UploadPlanRequestV1: MessageFns<UploadPlanRequestV1>;
|
|
434
|
+
export declare const ChunkRefV2: MessageFns<ChunkRefV2>;
|
|
435
|
+
export declare const LogicalObjectRefV2: MessageFns<LogicalObjectRefV2>;
|
|
436
|
+
export declare const UploadPlanRequestV2: MessageFns<UploadPlanRequestV2>;
|
|
437
|
+
export declare const UploadWarningV1: MessageFns<UploadWarningV1>;
|
|
438
|
+
export declare const UploadTargetPlanV1: MessageFns<UploadTargetPlanV1>;
|
|
439
|
+
export declare const UploadPlanV1: MessageFns<UploadPlanV1>;
|
|
440
|
+
export declare const ConfirmUploadRequestV1: MessageFns<ConfirmUploadRequestV1>;
|
|
441
|
+
export declare const UploadTargetOperationV1: MessageFns<UploadTargetOperationV1>;
|
|
442
|
+
export declare const UploadOperationV1: MessageFns<UploadOperationV1>;
|
|
443
|
+
export declare const DownloadPlanRequestV1: MessageFns<DownloadPlanRequestV1>;
|
|
444
|
+
export declare const FrozenRemoteTargetV1: MessageFns<FrozenRemoteTargetV1>;
|
|
445
|
+
export declare const DependencyDiffV1: MessageFns<DependencyDiffV1>;
|
|
446
|
+
export declare const LocalOverwriteSummaryV1: MessageFns<LocalOverwriteSummaryV1>;
|
|
447
|
+
export declare const DownloadPlanV1: MessageFns<DownloadPlanV1>;
|
|
448
|
+
export declare const ConfirmDownloadRequestV1: MessageFns<ConfirmDownloadRequestV1>;
|
|
449
|
+
export declare const DownloadOperationV1: MessageFns<DownloadOperationV1>;
|
|
450
|
+
export declare const ProjectTransferOperationRequestV1: MessageFns<ProjectTransferOperationRequestV1>;
|
|
451
|
+
export declare const ProjectTransferOperationV1: MessageFns<ProjectTransferOperationV1>;
|
|
452
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
453
|
+
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 {} ? {
|
|
454
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
455
|
+
} : Partial<T>;
|
|
456
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
457
|
+
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
458
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
459
|
+
} & {
|
|
460
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
461
|
+
};
|
|
462
|
+
interface MessageFns<T> {
|
|
463
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
464
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
465
|
+
fromJSON(object: any): T;
|
|
466
|
+
toJSON(message: T): unknown;
|
|
467
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
468
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
469
|
+
}
|
|
470
|
+
export {};
|