@viamrobotics/sdk 0.22.0-b.0 → 0.23.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.
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.331";
1
+ export declare const apiVersion = "v0.1.337";
@@ -210,6 +210,352 @@ export namespace ListJobsResponse {
210
210
  }
211
211
  }
212
212
 
213
+ export class RepoLink extends jspb.Message {
214
+ getOauthAppLinkId(): string;
215
+ setOauthAppLinkId(value: string): void;
216
+
217
+ getOrgId(): string;
218
+ setOrgId(value: string): void;
219
+
220
+ hasNamespace(): boolean;
221
+ clearNamespace(): void;
222
+ getNamespace(): string;
223
+ setNamespace(value: string): void;
224
+
225
+ getModuleName(): string;
226
+ setModuleName(value: string): void;
227
+
228
+ getRepo(): string;
229
+ setRepo(value: string): void;
230
+
231
+ getViamUser(): string;
232
+ setViamUser(value: string): void;
233
+
234
+ serializeBinary(): Uint8Array;
235
+ toObject(includeInstance?: boolean): RepoLink.AsObject;
236
+ static toObject(includeInstance: boolean, msg: RepoLink): RepoLink.AsObject;
237
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
238
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
239
+ static serializeBinaryToWriter(message: RepoLink, writer: jspb.BinaryWriter): void;
240
+ static deserializeBinary(bytes: Uint8Array): RepoLink;
241
+ static deserializeBinaryFromReader(message: RepoLink, reader: jspb.BinaryReader): RepoLink;
242
+ }
243
+
244
+ export namespace RepoLink {
245
+ export type AsObject = {
246
+ oauthAppLinkId: string,
247
+ orgId: string,
248
+ namespace: string,
249
+ moduleName: string,
250
+ repo: string,
251
+ viamUser: string,
252
+ }
253
+ }
254
+
255
+ export class LinkRepoRequest extends jspb.Message {
256
+ hasLink(): boolean;
257
+ clearLink(): void;
258
+ getLink(): RepoLink | undefined;
259
+ setLink(value?: RepoLink): void;
260
+
261
+ serializeBinary(): Uint8Array;
262
+ toObject(includeInstance?: boolean): LinkRepoRequest.AsObject;
263
+ static toObject(includeInstance: boolean, msg: LinkRepoRequest): LinkRepoRequest.AsObject;
264
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
265
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
266
+ static serializeBinaryToWriter(message: LinkRepoRequest, writer: jspb.BinaryWriter): void;
267
+ static deserializeBinary(bytes: Uint8Array): LinkRepoRequest;
268
+ static deserializeBinaryFromReader(message: LinkRepoRequest, reader: jspb.BinaryReader): LinkRepoRequest;
269
+ }
270
+
271
+ export namespace LinkRepoRequest {
272
+ export type AsObject = {
273
+ link?: RepoLink.AsObject,
274
+ }
275
+ }
276
+
277
+ export class LinkRepoResponse extends jspb.Message {
278
+ getRepoLinkId(): string;
279
+ setRepoLinkId(value: string): void;
280
+
281
+ serializeBinary(): Uint8Array;
282
+ toObject(includeInstance?: boolean): LinkRepoResponse.AsObject;
283
+ static toObject(includeInstance: boolean, msg: LinkRepoResponse): LinkRepoResponse.AsObject;
284
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
285
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
286
+ static serializeBinaryToWriter(message: LinkRepoResponse, writer: jspb.BinaryWriter): void;
287
+ static deserializeBinary(bytes: Uint8Array): LinkRepoResponse;
288
+ static deserializeBinaryFromReader(message: LinkRepoResponse, reader: jspb.BinaryReader): LinkRepoResponse;
289
+ }
290
+
291
+ export namespace LinkRepoResponse {
292
+ export type AsObject = {
293
+ repoLinkId: string,
294
+ }
295
+ }
296
+
297
+ export class UnlinkRepoRequest extends jspb.Message {
298
+ getRepoLinkId(): string;
299
+ setRepoLinkId(value: string): void;
300
+
301
+ serializeBinary(): Uint8Array;
302
+ toObject(includeInstance?: boolean): UnlinkRepoRequest.AsObject;
303
+ static toObject(includeInstance: boolean, msg: UnlinkRepoRequest): UnlinkRepoRequest.AsObject;
304
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
305
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
306
+ static serializeBinaryToWriter(message: UnlinkRepoRequest, writer: jspb.BinaryWriter): void;
307
+ static deserializeBinary(bytes: Uint8Array): UnlinkRepoRequest;
308
+ static deserializeBinaryFromReader(message: UnlinkRepoRequest, reader: jspb.BinaryReader): UnlinkRepoRequest;
309
+ }
310
+
311
+ export namespace UnlinkRepoRequest {
312
+ export type AsObject = {
313
+ repoLinkId: string,
314
+ }
315
+ }
316
+
317
+ export class UnlinkRepoResponse extends jspb.Message {
318
+ serializeBinary(): Uint8Array;
319
+ toObject(includeInstance?: boolean): UnlinkRepoResponse.AsObject;
320
+ static toObject(includeInstance: boolean, msg: UnlinkRepoResponse): UnlinkRepoResponse.AsObject;
321
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
322
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
323
+ static serializeBinaryToWriter(message: UnlinkRepoResponse, writer: jspb.BinaryWriter): void;
324
+ static deserializeBinary(bytes: Uint8Array): UnlinkRepoResponse;
325
+ static deserializeBinaryFromReader(message: UnlinkRepoResponse, reader: jspb.BinaryReader): UnlinkRepoResponse;
326
+ }
327
+
328
+ export namespace UnlinkRepoResponse {
329
+ export type AsObject = {
330
+ }
331
+ }
332
+
333
+ export class ListRepoLinksRequest extends jspb.Message {
334
+ serializeBinary(): Uint8Array;
335
+ toObject(includeInstance?: boolean): ListRepoLinksRequest.AsObject;
336
+ static toObject(includeInstance: boolean, msg: ListRepoLinksRequest): ListRepoLinksRequest.AsObject;
337
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
338
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
339
+ static serializeBinaryToWriter(message: ListRepoLinksRequest, writer: jspb.BinaryWriter): void;
340
+ static deserializeBinary(bytes: Uint8Array): ListRepoLinksRequest;
341
+ static deserializeBinaryFromReader(message: ListRepoLinksRequest, reader: jspb.BinaryReader): ListRepoLinksRequest;
342
+ }
343
+
344
+ export namespace ListRepoLinksRequest {
345
+ export type AsObject = {
346
+ }
347
+ }
348
+
349
+ export class ListRepoLinksResponse extends jspb.Message {
350
+ clearLinksList(): void;
351
+ getLinksList(): Array<RepoLink>;
352
+ setLinksList(value: Array<RepoLink>): void;
353
+ addLinks(value?: RepoLink, index?: number): RepoLink;
354
+
355
+ serializeBinary(): Uint8Array;
356
+ toObject(includeInstance?: boolean): ListRepoLinksResponse.AsObject;
357
+ static toObject(includeInstance: boolean, msg: ListRepoLinksResponse): ListRepoLinksResponse.AsObject;
358
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
359
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
360
+ static serializeBinaryToWriter(message: ListRepoLinksResponse, writer: jspb.BinaryWriter): void;
361
+ static deserializeBinary(bytes: Uint8Array): ListRepoLinksResponse;
362
+ static deserializeBinaryFromReader(message: ListRepoLinksResponse, reader: jspb.BinaryReader): ListRepoLinksResponse;
363
+ }
364
+
365
+ export namespace ListRepoLinksResponse {
366
+ export type AsObject = {
367
+ linksList: Array<RepoLink.AsObject>,
368
+ }
369
+ }
370
+
371
+ export class ListAppLinksRequest extends jspb.Message {
372
+ serializeBinary(): Uint8Array;
373
+ toObject(includeInstance?: boolean): ListAppLinksRequest.AsObject;
374
+ static toObject(includeInstance: boolean, msg: ListAppLinksRequest): ListAppLinksRequest.AsObject;
375
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
376
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
377
+ static serializeBinaryToWriter(message: ListAppLinksRequest, writer: jspb.BinaryWriter): void;
378
+ static deserializeBinary(bytes: Uint8Array): ListAppLinksRequest;
379
+ static deserializeBinaryFromReader(message: ListAppLinksRequest, reader: jspb.BinaryReader): ListAppLinksRequest;
380
+ }
381
+
382
+ export namespace ListAppLinksRequest {
383
+ export type AsObject = {
384
+ }
385
+ }
386
+
387
+ export class AppLink extends jspb.Message {
388
+ getOauthAppLinkId(): string;
389
+ setOauthAppLinkId(value: string): void;
390
+
391
+ getViamUser(): string;
392
+ setViamUser(value: string): void;
393
+
394
+ getExternalUser(): string;
395
+ setExternalUser(value: string): void;
396
+
397
+ clearOrgIdOrNsList(): void;
398
+ getOrgIdOrNsList(): Array<string>;
399
+ setOrgIdOrNsList(value: Array<string>): void;
400
+ addOrgIdOrNs(value: string, index?: number): string;
401
+
402
+ serializeBinary(): Uint8Array;
403
+ toObject(includeInstance?: boolean): AppLink.AsObject;
404
+ static toObject(includeInstance: boolean, msg: AppLink): AppLink.AsObject;
405
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
406
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
407
+ static serializeBinaryToWriter(message: AppLink, writer: jspb.BinaryWriter): void;
408
+ static deserializeBinary(bytes: Uint8Array): AppLink;
409
+ static deserializeBinaryFromReader(message: AppLink, reader: jspb.BinaryReader): AppLink;
410
+ }
411
+
412
+ export namespace AppLink {
413
+ export type AsObject = {
414
+ oauthAppLinkId: string,
415
+ viamUser: string,
416
+ externalUser: string,
417
+ orgIdOrNsList: Array<string>,
418
+ }
419
+ }
420
+
421
+ export class ListAppLinksResponse extends jspb.Message {
422
+ clearLinksList(): void;
423
+ getLinksList(): Array<AppLink>;
424
+ setLinksList(value: Array<AppLink>): void;
425
+ addLinks(value?: AppLink, index?: number): AppLink;
426
+
427
+ serializeBinary(): Uint8Array;
428
+ toObject(includeInstance?: boolean): ListAppLinksResponse.AsObject;
429
+ static toObject(includeInstance: boolean, msg: ListAppLinksResponse): ListAppLinksResponse.AsObject;
430
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
431
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
432
+ static serializeBinaryToWriter(message: ListAppLinksResponse, writer: jspb.BinaryWriter): void;
433
+ static deserializeBinary(bytes: Uint8Array): ListAppLinksResponse;
434
+ static deserializeBinaryFromReader(message: ListAppLinksResponse, reader: jspb.BinaryReader): ListAppLinksResponse;
435
+ }
436
+
437
+ export namespace ListAppLinksResponse {
438
+ export type AsObject = {
439
+ linksList: Array<AppLink.AsObject>,
440
+ }
441
+ }
442
+
443
+ export class RemoveAppLinkRequest extends jspb.Message {
444
+ getOauthAppLinkId(): string;
445
+ setOauthAppLinkId(value: string): void;
446
+
447
+ serializeBinary(): Uint8Array;
448
+ toObject(includeInstance?: boolean): RemoveAppLinkRequest.AsObject;
449
+ static toObject(includeInstance: boolean, msg: RemoveAppLinkRequest): RemoveAppLinkRequest.AsObject;
450
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
451
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
452
+ static serializeBinaryToWriter(message: RemoveAppLinkRequest, writer: jspb.BinaryWriter): void;
453
+ static deserializeBinary(bytes: Uint8Array): RemoveAppLinkRequest;
454
+ static deserializeBinaryFromReader(message: RemoveAppLinkRequest, reader: jspb.BinaryReader): RemoveAppLinkRequest;
455
+ }
456
+
457
+ export namespace RemoveAppLinkRequest {
458
+ export type AsObject = {
459
+ oauthAppLinkId: string,
460
+ }
461
+ }
462
+
463
+ export class RemoveAppLinkResponse extends jspb.Message {
464
+ serializeBinary(): Uint8Array;
465
+ toObject(includeInstance?: boolean): RemoveAppLinkResponse.AsObject;
466
+ static toObject(includeInstance: boolean, msg: RemoveAppLinkResponse): RemoveAppLinkResponse.AsObject;
467
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
468
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
469
+ static serializeBinaryToWriter(message: RemoveAppLinkResponse, writer: jspb.BinaryWriter): void;
470
+ static deserializeBinary(bytes: Uint8Array): RemoveAppLinkResponse;
471
+ static deserializeBinaryFromReader(message: RemoveAppLinkResponse, reader: jspb.BinaryReader): RemoveAppLinkResponse;
472
+ }
473
+
474
+ export namespace RemoveAppLinkResponse {
475
+ export type AsObject = {
476
+ }
477
+ }
478
+
479
+ export class LinkOrgRequest extends jspb.Message {
480
+ getOauthAppLinkId(): string;
481
+ setOauthAppLinkId(value: string): void;
482
+
483
+ getOrgId(): string;
484
+ setOrgId(value: string): void;
485
+
486
+ serializeBinary(): Uint8Array;
487
+ toObject(includeInstance?: boolean): LinkOrgRequest.AsObject;
488
+ static toObject(includeInstance: boolean, msg: LinkOrgRequest): LinkOrgRequest.AsObject;
489
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
490
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
491
+ static serializeBinaryToWriter(message: LinkOrgRequest, writer: jspb.BinaryWriter): void;
492
+ static deserializeBinary(bytes: Uint8Array): LinkOrgRequest;
493
+ static deserializeBinaryFromReader(message: LinkOrgRequest, reader: jspb.BinaryReader): LinkOrgRequest;
494
+ }
495
+
496
+ export namespace LinkOrgRequest {
497
+ export type AsObject = {
498
+ oauthAppLinkId: string,
499
+ orgId: string,
500
+ }
501
+ }
502
+
503
+ export class LinkOrgResponse extends jspb.Message {
504
+ serializeBinary(): Uint8Array;
505
+ toObject(includeInstance?: boolean): LinkOrgResponse.AsObject;
506
+ static toObject(includeInstance: boolean, msg: LinkOrgResponse): LinkOrgResponse.AsObject;
507
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
508
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
509
+ static serializeBinaryToWriter(message: LinkOrgResponse, writer: jspb.BinaryWriter): void;
510
+ static deserializeBinary(bytes: Uint8Array): LinkOrgResponse;
511
+ static deserializeBinaryFromReader(message: LinkOrgResponse, reader: jspb.BinaryReader): LinkOrgResponse;
512
+ }
513
+
514
+ export namespace LinkOrgResponse {
515
+ export type AsObject = {
516
+ }
517
+ }
518
+
519
+ export class UnlinkOrgRequest extends jspb.Message {
520
+ getOauthAppLinkId(): string;
521
+ setOauthAppLinkId(value: string): void;
522
+
523
+ getOrgId(): string;
524
+ setOrgId(value: string): void;
525
+
526
+ serializeBinary(): Uint8Array;
527
+ toObject(includeInstance?: boolean): UnlinkOrgRequest.AsObject;
528
+ static toObject(includeInstance: boolean, msg: UnlinkOrgRequest): UnlinkOrgRequest.AsObject;
529
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
530
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
531
+ static serializeBinaryToWriter(message: UnlinkOrgRequest, writer: jspb.BinaryWriter): void;
532
+ static deserializeBinary(bytes: Uint8Array): UnlinkOrgRequest;
533
+ static deserializeBinaryFromReader(message: UnlinkOrgRequest, reader: jspb.BinaryReader): UnlinkOrgRequest;
534
+ }
535
+
536
+ export namespace UnlinkOrgRequest {
537
+ export type AsObject = {
538
+ oauthAppLinkId: string,
539
+ orgId: string,
540
+ }
541
+ }
542
+
543
+ export class UnlinkOrgResponse extends jspb.Message {
544
+ serializeBinary(): Uint8Array;
545
+ toObject(includeInstance?: boolean): UnlinkOrgResponse.AsObject;
546
+ static toObject(includeInstance: boolean, msg: UnlinkOrgResponse): UnlinkOrgResponse.AsObject;
547
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
548
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
549
+ static serializeBinaryToWriter(message: UnlinkOrgResponse, writer: jspb.BinaryWriter): void;
550
+ static deserializeBinary(bytes: Uint8Array): UnlinkOrgResponse;
551
+ static deserializeBinaryFromReader(message: UnlinkOrgResponse, reader: jspb.BinaryReader): UnlinkOrgResponse;
552
+ }
553
+
554
+ export namespace UnlinkOrgResponse {
555
+ export type AsObject = {
556
+ }
557
+ }
558
+
213
559
  export interface JobStatusMap {
214
560
  JOB_STATUS_UNSPECIFIED: 0;
215
561
  JOB_STATUS_IN_PROGRESS: 1;
@@ -31,11 +31,81 @@ type BuildServiceListJobs = {
31
31
  readonly responseType: typeof app_build_v1_build_pb.ListJobsResponse;
32
32
  };
33
33
 
34
+ type BuildServiceLinkRepo = {
35
+ readonly methodName: string;
36
+ readonly service: typeof BuildService;
37
+ readonly requestStream: false;
38
+ readonly responseStream: false;
39
+ readonly requestType: typeof app_build_v1_build_pb.LinkRepoRequest;
40
+ readonly responseType: typeof app_build_v1_build_pb.LinkRepoResponse;
41
+ };
42
+
43
+ type BuildServiceUnlinkRepo = {
44
+ readonly methodName: string;
45
+ readonly service: typeof BuildService;
46
+ readonly requestStream: false;
47
+ readonly responseStream: false;
48
+ readonly requestType: typeof app_build_v1_build_pb.UnlinkRepoRequest;
49
+ readonly responseType: typeof app_build_v1_build_pb.UnlinkRepoResponse;
50
+ };
51
+
52
+ type BuildServiceListRepoLinks = {
53
+ readonly methodName: string;
54
+ readonly service: typeof BuildService;
55
+ readonly requestStream: false;
56
+ readonly responseStream: false;
57
+ readonly requestType: typeof app_build_v1_build_pb.ListRepoLinksRequest;
58
+ readonly responseType: typeof app_build_v1_build_pb.ListRepoLinksResponse;
59
+ };
60
+
61
+ type BuildServiceListAppLinks = {
62
+ readonly methodName: string;
63
+ readonly service: typeof BuildService;
64
+ readonly requestStream: false;
65
+ readonly responseStream: false;
66
+ readonly requestType: typeof app_build_v1_build_pb.ListAppLinksRequest;
67
+ readonly responseType: typeof app_build_v1_build_pb.ListAppLinksResponse;
68
+ };
69
+
70
+ type BuildServiceRemoveAppLink = {
71
+ readonly methodName: string;
72
+ readonly service: typeof BuildService;
73
+ readonly requestStream: false;
74
+ readonly responseStream: false;
75
+ readonly requestType: typeof app_build_v1_build_pb.RemoveAppLinkRequest;
76
+ readonly responseType: typeof app_build_v1_build_pb.RemoveAppLinkResponse;
77
+ };
78
+
79
+ type BuildServiceLinkOrg = {
80
+ readonly methodName: string;
81
+ readonly service: typeof BuildService;
82
+ readonly requestStream: false;
83
+ readonly responseStream: false;
84
+ readonly requestType: typeof app_build_v1_build_pb.LinkOrgRequest;
85
+ readonly responseType: typeof app_build_v1_build_pb.LinkOrgResponse;
86
+ };
87
+
88
+ type BuildServiceUnlinkOrg = {
89
+ readonly methodName: string;
90
+ readonly service: typeof BuildService;
91
+ readonly requestStream: false;
92
+ readonly responseStream: false;
93
+ readonly requestType: typeof app_build_v1_build_pb.UnlinkOrgRequest;
94
+ readonly responseType: typeof app_build_v1_build_pb.UnlinkOrgResponse;
95
+ };
96
+
34
97
  export class BuildService {
35
98
  static readonly serviceName: string;
36
99
  static readonly StartBuild: BuildServiceStartBuild;
37
100
  static readonly GetLogs: BuildServiceGetLogs;
38
101
  static readonly ListJobs: BuildServiceListJobs;
102
+ static readonly LinkRepo: BuildServiceLinkRepo;
103
+ static readonly UnlinkRepo: BuildServiceUnlinkRepo;
104
+ static readonly ListRepoLinks: BuildServiceListRepoLinks;
105
+ static readonly ListAppLinks: BuildServiceListAppLinks;
106
+ static readonly RemoveAppLink: BuildServiceRemoveAppLink;
107
+ static readonly LinkOrg: BuildServiceLinkOrg;
108
+ static readonly UnlinkOrg: BuildServiceUnlinkOrg;
39
109
  }
40
110
 
41
111
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -89,5 +159,68 @@ export class BuildServiceClient {
89
159
  requestMessage: app_build_v1_build_pb.ListJobsRequest,
90
160
  callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.ListJobsResponse|null) => void
91
161
  ): UnaryResponse;
162
+ linkRepo(
163
+ requestMessage: app_build_v1_build_pb.LinkRepoRequest,
164
+ metadata: grpc.Metadata,
165
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.LinkRepoResponse|null) => void
166
+ ): UnaryResponse;
167
+ linkRepo(
168
+ requestMessage: app_build_v1_build_pb.LinkRepoRequest,
169
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.LinkRepoResponse|null) => void
170
+ ): UnaryResponse;
171
+ unlinkRepo(
172
+ requestMessage: app_build_v1_build_pb.UnlinkRepoRequest,
173
+ metadata: grpc.Metadata,
174
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.UnlinkRepoResponse|null) => void
175
+ ): UnaryResponse;
176
+ unlinkRepo(
177
+ requestMessage: app_build_v1_build_pb.UnlinkRepoRequest,
178
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.UnlinkRepoResponse|null) => void
179
+ ): UnaryResponse;
180
+ listRepoLinks(
181
+ requestMessage: app_build_v1_build_pb.ListRepoLinksRequest,
182
+ metadata: grpc.Metadata,
183
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.ListRepoLinksResponse|null) => void
184
+ ): UnaryResponse;
185
+ listRepoLinks(
186
+ requestMessage: app_build_v1_build_pb.ListRepoLinksRequest,
187
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.ListRepoLinksResponse|null) => void
188
+ ): UnaryResponse;
189
+ listAppLinks(
190
+ requestMessage: app_build_v1_build_pb.ListAppLinksRequest,
191
+ metadata: grpc.Metadata,
192
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.ListAppLinksResponse|null) => void
193
+ ): UnaryResponse;
194
+ listAppLinks(
195
+ requestMessage: app_build_v1_build_pb.ListAppLinksRequest,
196
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.ListAppLinksResponse|null) => void
197
+ ): UnaryResponse;
198
+ removeAppLink(
199
+ requestMessage: app_build_v1_build_pb.RemoveAppLinkRequest,
200
+ metadata: grpc.Metadata,
201
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.RemoveAppLinkResponse|null) => void
202
+ ): UnaryResponse;
203
+ removeAppLink(
204
+ requestMessage: app_build_v1_build_pb.RemoveAppLinkRequest,
205
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.RemoveAppLinkResponse|null) => void
206
+ ): UnaryResponse;
207
+ linkOrg(
208
+ requestMessage: app_build_v1_build_pb.LinkOrgRequest,
209
+ metadata: grpc.Metadata,
210
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.LinkOrgResponse|null) => void
211
+ ): UnaryResponse;
212
+ linkOrg(
213
+ requestMessage: app_build_v1_build_pb.LinkOrgRequest,
214
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.LinkOrgResponse|null) => void
215
+ ): UnaryResponse;
216
+ unlinkOrg(
217
+ requestMessage: app_build_v1_build_pb.UnlinkOrgRequest,
218
+ metadata: grpc.Metadata,
219
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.UnlinkOrgResponse|null) => void
220
+ ): UnaryResponse;
221
+ unlinkOrg(
222
+ requestMessage: app_build_v1_build_pb.UnlinkOrgRequest,
223
+ callback: (error: ServiceError|null, responseMessage: app_build_v1_build_pb.UnlinkOrgResponse|null) => void
224
+ ): UnaryResponse;
92
225
  }
93
226
 
@@ -1211,6 +1211,78 @@ export namespace RemoveBoundingBoxFromImageByIDResponse {
1211
1211
  }
1212
1212
  }
1213
1213
 
1214
+ export class UpdateBoundingBoxRequest extends jspb.Message {
1215
+ hasBinaryId(): boolean;
1216
+ clearBinaryId(): void;
1217
+ getBinaryId(): BinaryID | undefined;
1218
+ setBinaryId(value?: BinaryID): void;
1219
+
1220
+ getBboxId(): string;
1221
+ setBboxId(value: string): void;
1222
+
1223
+ hasLabel(): boolean;
1224
+ clearLabel(): void;
1225
+ getLabel(): string;
1226
+ setLabel(value: string): void;
1227
+
1228
+ hasXMinNormalized(): boolean;
1229
+ clearXMinNormalized(): void;
1230
+ getXMinNormalized(): number;
1231
+ setXMinNormalized(value: number): void;
1232
+
1233
+ hasYMinNormalized(): boolean;
1234
+ clearYMinNormalized(): void;
1235
+ getYMinNormalized(): number;
1236
+ setYMinNormalized(value: number): void;
1237
+
1238
+ hasXMaxNormalized(): boolean;
1239
+ clearXMaxNormalized(): void;
1240
+ getXMaxNormalized(): number;
1241
+ setXMaxNormalized(value: number): void;
1242
+
1243
+ hasYMaxNormalized(): boolean;
1244
+ clearYMaxNormalized(): void;
1245
+ getYMaxNormalized(): number;
1246
+ setYMaxNormalized(value: number): void;
1247
+
1248
+ serializeBinary(): Uint8Array;
1249
+ toObject(includeInstance?: boolean): UpdateBoundingBoxRequest.AsObject;
1250
+ static toObject(includeInstance: boolean, msg: UpdateBoundingBoxRequest): UpdateBoundingBoxRequest.AsObject;
1251
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1252
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1253
+ static serializeBinaryToWriter(message: UpdateBoundingBoxRequest, writer: jspb.BinaryWriter): void;
1254
+ static deserializeBinary(bytes: Uint8Array): UpdateBoundingBoxRequest;
1255
+ static deserializeBinaryFromReader(message: UpdateBoundingBoxRequest, reader: jspb.BinaryReader): UpdateBoundingBoxRequest;
1256
+ }
1257
+
1258
+ export namespace UpdateBoundingBoxRequest {
1259
+ export type AsObject = {
1260
+ binaryId?: BinaryID.AsObject,
1261
+ bboxId: string,
1262
+ label: string,
1263
+ xMinNormalized: number,
1264
+ yMinNormalized: number,
1265
+ xMaxNormalized: number,
1266
+ yMaxNormalized: number,
1267
+ }
1268
+ }
1269
+
1270
+ export class UpdateBoundingBoxResponse extends jspb.Message {
1271
+ serializeBinary(): Uint8Array;
1272
+ toObject(includeInstance?: boolean): UpdateBoundingBoxResponse.AsObject;
1273
+ static toObject(includeInstance: boolean, msg: UpdateBoundingBoxResponse): UpdateBoundingBoxResponse.AsObject;
1274
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1275
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1276
+ static serializeBinaryToWriter(message: UpdateBoundingBoxResponse, writer: jspb.BinaryWriter): void;
1277
+ static deserializeBinary(bytes: Uint8Array): UpdateBoundingBoxResponse;
1278
+ static deserializeBinaryFromReader(message: UpdateBoundingBoxResponse, reader: jspb.BinaryReader): UpdateBoundingBoxResponse;
1279
+ }
1280
+
1281
+ export namespace UpdateBoundingBoxResponse {
1282
+ export type AsObject = {
1283
+ }
1284
+ }
1285
+
1214
1286
  export class BoundingBoxLabelsByFilterRequest extends jspb.Message {
1215
1287
  hasFilter(): boolean;
1216
1288
  clearFilter(): void;
@@ -148,6 +148,15 @@ type DataServiceBoundingBoxLabelsByFilter = {
148
148
  readonly responseType: typeof app_data_v1_data_pb.BoundingBoxLabelsByFilterResponse;
149
149
  };
150
150
 
151
+ type DataServiceUpdateBoundingBox = {
152
+ readonly methodName: string;
153
+ readonly service: typeof DataService;
154
+ readonly requestStream: false;
155
+ readonly responseStream: false;
156
+ readonly requestType: typeof app_data_v1_data_pb.UpdateBoundingBoxRequest;
157
+ readonly responseType: typeof app_data_v1_data_pb.UpdateBoundingBoxResponse;
158
+ };
159
+
151
160
  type DataServiceGetDatabaseConnection = {
152
161
  readonly methodName: string;
153
162
  readonly service: typeof DataService;
@@ -202,6 +211,7 @@ export class DataService {
202
211
  static readonly AddBoundingBoxToImageByID: DataServiceAddBoundingBoxToImageByID;
203
212
  static readonly RemoveBoundingBoxFromImageByID: DataServiceRemoveBoundingBoxFromImageByID;
204
213
  static readonly BoundingBoxLabelsByFilter: DataServiceBoundingBoxLabelsByFilter;
214
+ static readonly UpdateBoundingBox: DataServiceUpdateBoundingBox;
205
215
  static readonly GetDatabaseConnection: DataServiceGetDatabaseConnection;
206
216
  static readonly ConfigureDatabaseUser: DataServiceConfigureDatabaseUser;
207
217
  static readonly AddBinaryDataToDatasetByIDs: DataServiceAddBinaryDataToDatasetByIDs;
@@ -384,6 +394,15 @@ export class DataServiceClient {
384
394
  requestMessage: app_data_v1_data_pb.BoundingBoxLabelsByFilterRequest,
385
395
  callback: (error: ServiceError|null, responseMessage: app_data_v1_data_pb.BoundingBoxLabelsByFilterResponse|null) => void
386
396
  ): UnaryResponse;
397
+ updateBoundingBox(
398
+ requestMessage: app_data_v1_data_pb.UpdateBoundingBoxRequest,
399
+ metadata: grpc.Metadata,
400
+ callback: (error: ServiceError|null, responseMessage: app_data_v1_data_pb.UpdateBoundingBoxResponse|null) => void
401
+ ): UnaryResponse;
402
+ updateBoundingBox(
403
+ requestMessage: app_data_v1_data_pb.UpdateBoundingBoxRequest,
404
+ callback: (error: ServiceError|null, responseMessage: app_data_v1_data_pb.UpdateBoundingBoxResponse|null) => void
405
+ ): UnaryResponse;
387
406
  getDatabaseConnection(
388
407
  requestMessage: app_data_v1_data_pb.GetDatabaseConnectionRequest,
389
408
  metadata: grpc.Metadata,