@viamrobotics/sdk 0.19.1 → 0.20.0-rc.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/app/app-client.d.ts +19 -18
- package/dist/app/app-client.spec.d.ts +1 -0
- package/dist/app/data-client.d.ts +1 -1
- package/dist/app/viam-client.d.ts +8 -1
- package/dist/app/viam-client.spec.d.ts +1 -0
- package/dist/app/viam-transport.d.ts +1 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +82 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +19 -0
- package/dist/gen/app/v1/app_pb.d.ts +6 -0
- package/dist/gen/google/api/field_info_pb.d.ts +26 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +36 -0
- package/dist/main.es.js +482 -61
- package/dist/main.umd.js +5 -5
- package/package.json +1 -1
package/dist/app/app-client.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export declare class AppClient {
|
|
|
79
79
|
* @param orgId The ID of the organization
|
|
80
80
|
* @returns Details about the organization, if it exists
|
|
81
81
|
*/
|
|
82
|
-
getOrganization(orgId: string): Promise<pb.
|
|
82
|
+
getOrganization(orgId: string): Promise<pb.Organization.AsObject | undefined>;
|
|
83
83
|
/**
|
|
84
84
|
* Find out if an organization namespace is available.
|
|
85
85
|
*
|
|
@@ -122,7 +122,7 @@ export declare class AppClient {
|
|
|
122
122
|
* automatically add a user. Defaults to true
|
|
123
123
|
* @returns The organization invite
|
|
124
124
|
*/
|
|
125
|
-
createOrganizationInvite(orgId: string, email: string, authorizations: pb.Authorization[], sendEmailInvite?: boolean): Promise<pb.
|
|
125
|
+
createOrganizationInvite(orgId: string, email: string, authorizations: pb.Authorization[], sendEmailInvite?: boolean): Promise<pb.OrganizationInvite.AsObject | undefined>;
|
|
126
126
|
/**
|
|
127
127
|
* Updates authorizations for an existing org invite.
|
|
128
128
|
*
|
|
@@ -132,7 +132,7 @@ export declare class AppClient {
|
|
|
132
132
|
* @param removeAuthsList List of authorizations to remove from the invite
|
|
133
133
|
* @returns The organization invite
|
|
134
134
|
*/
|
|
135
|
-
updateOrganizationInviteAuthorizations(orgId: string, email: string, addAuthsList: pb.Authorization[], removeAuthsList: pb.Authorization[]): Promise<pb.
|
|
135
|
+
updateOrganizationInviteAuthorizations(orgId: string, email: string, addAuthsList: pb.Authorization[], removeAuthsList: pb.Authorization[]): Promise<pb.OrganizationInvite.AsObject | undefined>;
|
|
136
136
|
/**
|
|
137
137
|
* Removes a member from an organization.
|
|
138
138
|
*
|
|
@@ -154,7 +154,7 @@ export declare class AppClient {
|
|
|
154
154
|
* @param email The email associated with the invite to resend
|
|
155
155
|
* @returns The invite
|
|
156
156
|
*/
|
|
157
|
-
resendOrganizationInvite(orgId: string, email: string): Promise<pb.
|
|
157
|
+
resendOrganizationInvite(orgId: string, email: string): Promise<pb.OrganizationInvite.AsObject | undefined>;
|
|
158
158
|
/**
|
|
159
159
|
* Creates a new location.
|
|
160
160
|
*
|
|
@@ -164,14 +164,14 @@ export declare class AppClient {
|
|
|
164
164
|
* new location under
|
|
165
165
|
* @returns The location object
|
|
166
166
|
*/
|
|
167
|
-
createLocation(orgId: string, name: string, parentLocationId?: string): Promise<pb.
|
|
167
|
+
createLocation(orgId: string, name: string, parentLocationId?: string): Promise<pb.Location.AsObject | undefined>;
|
|
168
168
|
/**
|
|
169
169
|
* Looks up a location.
|
|
170
170
|
*
|
|
171
171
|
* @param locId The ID of the location to query.
|
|
172
172
|
* @returns The location object
|
|
173
173
|
*/
|
|
174
|
-
getLocation(locId: string): Promise<pb.
|
|
174
|
+
getLocation(locId: string): Promise<pb.Location.AsObject | undefined>;
|
|
175
175
|
/**
|
|
176
176
|
* Updates location details.
|
|
177
177
|
*
|
|
@@ -182,7 +182,7 @@ export declare class AppClient {
|
|
|
182
182
|
* @param region Optional string to update the location's region to
|
|
183
183
|
* @returns The location object
|
|
184
184
|
*/
|
|
185
|
-
updateLocation(locId: string, name?: string, parentLocId?: string, region?: string): Promise<pb.
|
|
185
|
+
updateLocation(locId: string, name?: string, parentLocId?: string, region?: string): Promise<pb.Location.AsObject | undefined>;
|
|
186
186
|
/**
|
|
187
187
|
* Deletes a location
|
|
188
188
|
*
|
|
@@ -216,14 +216,14 @@ export declare class AppClient {
|
|
|
216
216
|
* @param locId The ID of the location to retrieve `LocationAuth` from.
|
|
217
217
|
* @returns The `LocationAuth` for the requested location.
|
|
218
218
|
*/
|
|
219
|
-
locationAuth(locId: string): Promise<pb.
|
|
219
|
+
locationAuth(locId: string): Promise<pb.LocationAuth.AsObject | undefined>;
|
|
220
220
|
/**
|
|
221
221
|
* Create a location secret (`LocationAuth`).
|
|
222
222
|
*
|
|
223
223
|
* @param locId The ID of the location to create a `LocationAuth` for
|
|
224
224
|
* @returns The newly created `LocationAuth`
|
|
225
225
|
*/
|
|
226
|
-
createLocationSecret(locId: string): Promise<pb.
|
|
226
|
+
createLocationSecret(locId: string): Promise<pb.LocationAuth.AsObject | undefined>;
|
|
227
227
|
/**
|
|
228
228
|
* Deletes a location secret (`LocationAuth`).
|
|
229
229
|
*
|
|
@@ -237,7 +237,7 @@ export declare class AppClient {
|
|
|
237
237
|
* @param id The ID of the robot
|
|
238
238
|
* @returns The `Robot` object
|
|
239
239
|
*/
|
|
240
|
-
getRobot(id: string): Promise<pb.
|
|
240
|
+
getRobot(id: string): Promise<pb.Robot.AsObject | undefined>;
|
|
241
241
|
/**
|
|
242
242
|
* Returns a list of rover rental robots for an organization.
|
|
243
243
|
*
|
|
@@ -299,7 +299,7 @@ export declare class AppClient {
|
|
|
299
299
|
* @param robotConfig The new config for the robot part
|
|
300
300
|
* @returns The updated robot part
|
|
301
301
|
*/
|
|
302
|
-
updateRobotPart(id: string, name: string, robotConfig: StructType): Promise<pb.
|
|
302
|
+
updateRobotPart(id: string, name: string, robotConfig: StructType): Promise<pb.RobotPart.AsObject | undefined>;
|
|
303
303
|
/**
|
|
304
304
|
* Creates a new robot part.
|
|
305
305
|
*
|
|
@@ -339,7 +339,7 @@ export declare class AppClient {
|
|
|
339
339
|
* @param partId The ID of the part to create a secret for
|
|
340
340
|
* @returns The robot part object
|
|
341
341
|
*/
|
|
342
|
-
createRobotPartSecret(partId: string): Promise<pb.
|
|
342
|
+
createRobotPartSecret(partId: string): Promise<pb.RobotPart.AsObject | undefined>;
|
|
343
343
|
/**
|
|
344
344
|
* Deletes a robot secret from a robot part.
|
|
345
345
|
*
|
|
@@ -370,7 +370,7 @@ export declare class AppClient {
|
|
|
370
370
|
* @param name The name to update the robot to
|
|
371
371
|
* @returns The newly-modified robot object
|
|
372
372
|
*/
|
|
373
|
-
updateRobot(robotId: string, locId: string, name: string): Promise<pb.
|
|
373
|
+
updateRobot(robotId: string, locId: string, name: string): Promise<pb.Robot.AsObject | undefined>;
|
|
374
374
|
/**
|
|
375
375
|
* Deletes a robot.
|
|
376
376
|
*
|
|
@@ -398,7 +398,7 @@ export declare class AppClient {
|
|
|
398
398
|
* @param id The ID of the fragment to look up
|
|
399
399
|
* @returns The requested fragment
|
|
400
400
|
*/
|
|
401
|
-
getFragment(id: string): Promise<pb.
|
|
401
|
+
getFragment(id: string): Promise<pb.Fragment.AsObject | undefined>;
|
|
402
402
|
/**
|
|
403
403
|
* Creates a new fragment.
|
|
404
404
|
*
|
|
@@ -407,7 +407,7 @@ export declare class AppClient {
|
|
|
407
407
|
* @param config The new fragment's config
|
|
408
408
|
* @returns The newly created fragment
|
|
409
409
|
*/
|
|
410
|
-
createFragment(orgId: string, name: string, config: StructType): Promise<pb.
|
|
410
|
+
createFragment(orgId: string, name: string, config: StructType): Promise<pb.Fragment.AsObject | undefined>;
|
|
411
411
|
/**
|
|
412
412
|
* Updates an existing fragment.
|
|
413
413
|
*
|
|
@@ -424,7 +424,7 @@ export declare class AppClient {
|
|
|
424
424
|
* neither is set, the fragment visibility will remain unchanged.
|
|
425
425
|
* @returns The updated fragment
|
|
426
426
|
*/
|
|
427
|
-
updateFragment(id: string, name: string, config: StructType, makePublic?: boolean, visibility?: keyof pb.FragmentVisibilityMap): Promise<pb.
|
|
427
|
+
updateFragment(id: string, name: string, config: StructType, makePublic?: boolean, visibility?: keyof pb.FragmentVisibilityMap): Promise<pb.Fragment.AsObject | undefined>;
|
|
428
428
|
/**
|
|
429
429
|
* Deletes a fragment.
|
|
430
430
|
*
|
|
@@ -466,6 +466,7 @@ export declare class AppClient {
|
|
|
466
466
|
* @param orgId The ID of the organization to list authorizations for
|
|
467
467
|
* @param resourceIds Optional list of IDs of resources to list authorizations
|
|
468
468
|
* for. If not provided, all resources will be included
|
|
469
|
+
* @returns The list of authorizations
|
|
469
470
|
*/
|
|
470
471
|
listAuthorizations(orgId: string, resourceIds?: string[]): Promise<pb.Authorization.AsObject[]>;
|
|
471
472
|
/**
|
|
@@ -481,7 +482,7 @@ export declare class AppClient {
|
|
|
481
482
|
* @param itemId The ID of the item to get
|
|
482
483
|
* @returns The requested item
|
|
483
484
|
*/
|
|
484
|
-
getRegistryItem(itemId: string): Promise<pb.
|
|
485
|
+
getRegistryItem(itemId: string): Promise<pb.RegistryItem.AsObject | undefined>;
|
|
485
486
|
/**
|
|
486
487
|
* Create a new registry item.
|
|
487
488
|
*
|
|
@@ -548,7 +549,7 @@ export declare class AppClient {
|
|
|
548
549
|
* @param moduleId The ID of the module
|
|
549
550
|
* @returns The requested module
|
|
550
551
|
*/
|
|
551
|
-
getModule(moduleId: string): Promise<pb.
|
|
552
|
+
getModule(moduleId: string): Promise<pb.Module.AsObject | undefined>;
|
|
552
553
|
/**
|
|
553
554
|
* Lists all modules for an organization.
|
|
554
555
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -222,7 +222,7 @@ export declare class DataClient {
|
|
|
222
222
|
/**
|
|
223
223
|
* Get a connection to access a MongoDB Atlas Data federation instance.
|
|
224
224
|
*
|
|
225
|
-
* @param
|
|
225
|
+
* @param orgId Organization to retrieve connection for
|
|
226
226
|
* @returns Hostname of the federated database
|
|
227
227
|
*/
|
|
228
228
|
getDatabaseConnection(orgId: string): Promise<string>;
|
|
@@ -11,15 +11,22 @@ export interface ViamClientOptions {
|
|
|
11
11
|
}
|
|
12
12
|
/** Instantiate a connected gRPC client that interfaces with Viam app. */
|
|
13
13
|
export declare const createViamClient: ({ serviceHost, credential, }: ViamClientOptions) => Promise<ViamClient>;
|
|
14
|
+
interface ViamClientMachineConnectionOpts {
|
|
15
|
+
host?: string;
|
|
16
|
+
id?: string;
|
|
17
|
+
}
|
|
14
18
|
/** A gRPC client for method calls to Viam app. */
|
|
15
19
|
export declare class ViamClient {
|
|
16
20
|
private transportFactory;
|
|
17
21
|
private serviceHost;
|
|
22
|
+
private credential;
|
|
18
23
|
dataClient: DataClient | undefined;
|
|
19
24
|
appClient: AppClient | undefined;
|
|
20
25
|
mlTrainingClient: MlTrainingClient | undefined;
|
|
21
26
|
provisioningClient: ProvisioningClient | undefined;
|
|
22
27
|
billingClient: BillingClient | undefined;
|
|
23
|
-
constructor(transportFactory: grpc.TransportFactory, serviceHost: string);
|
|
28
|
+
constructor(transportFactory: grpc.TransportFactory, serviceHost: string, credential: Credential | AccessToken);
|
|
24
29
|
connect(): void;
|
|
30
|
+
connectToMachine({ host, id, }: ViamClientMachineConnectionOpts): Promise<import("../robot").RobotClient>;
|
|
25
31
|
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,6 +11,7 @@ export interface AccessToken {
|
|
|
11
11
|
type: 'access-token';
|
|
12
12
|
payload: string;
|
|
13
13
|
}
|
|
14
|
+
export declare const isCredential: (object: Credential | AccessToken) => object is Credential;
|
|
14
15
|
/**
|
|
15
16
|
* Initialize an authenticated transport factory that can access protected
|
|
16
17
|
* resources.
|
|
@@ -388,6 +388,88 @@ export namespace DeleteCompletedTrainingJobResponse {
|
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
+
export class TrainingJobLogEntry extends jspb.Message {
|
|
392
|
+
getLevel(): string;
|
|
393
|
+
setLevel(value: string): void;
|
|
394
|
+
|
|
395
|
+
hasTime(): boolean;
|
|
396
|
+
clearTime(): void;
|
|
397
|
+
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
398
|
+
setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
399
|
+
|
|
400
|
+
getMessage(): string;
|
|
401
|
+
setMessage(value: string): void;
|
|
402
|
+
|
|
403
|
+
serializeBinary(): Uint8Array;
|
|
404
|
+
toObject(includeInstance?: boolean): TrainingJobLogEntry.AsObject;
|
|
405
|
+
static toObject(includeInstance: boolean, msg: TrainingJobLogEntry): TrainingJobLogEntry.AsObject;
|
|
406
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
407
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
408
|
+
static serializeBinaryToWriter(message: TrainingJobLogEntry, writer: jspb.BinaryWriter): void;
|
|
409
|
+
static deserializeBinary(bytes: Uint8Array): TrainingJobLogEntry;
|
|
410
|
+
static deserializeBinaryFromReader(message: TrainingJobLogEntry, reader: jspb.BinaryReader): TrainingJobLogEntry;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export namespace TrainingJobLogEntry {
|
|
414
|
+
export type AsObject = {
|
|
415
|
+
level: string,
|
|
416
|
+
time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
417
|
+
message: string,
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export class GetTrainingJobLogsRequest extends jspb.Message {
|
|
422
|
+
getId(): string;
|
|
423
|
+
setId(value: string): void;
|
|
424
|
+
|
|
425
|
+
hasPageToken(): boolean;
|
|
426
|
+
clearPageToken(): void;
|
|
427
|
+
getPageToken(): string;
|
|
428
|
+
setPageToken(value: string): void;
|
|
429
|
+
|
|
430
|
+
serializeBinary(): Uint8Array;
|
|
431
|
+
toObject(includeInstance?: boolean): GetTrainingJobLogsRequest.AsObject;
|
|
432
|
+
static toObject(includeInstance: boolean, msg: GetTrainingJobLogsRequest): GetTrainingJobLogsRequest.AsObject;
|
|
433
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
434
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
435
|
+
static serializeBinaryToWriter(message: GetTrainingJobLogsRequest, writer: jspb.BinaryWriter): void;
|
|
436
|
+
static deserializeBinary(bytes: Uint8Array): GetTrainingJobLogsRequest;
|
|
437
|
+
static deserializeBinaryFromReader(message: GetTrainingJobLogsRequest, reader: jspb.BinaryReader): GetTrainingJobLogsRequest;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export namespace GetTrainingJobLogsRequest {
|
|
441
|
+
export type AsObject = {
|
|
442
|
+
id: string,
|
|
443
|
+
pageToken: string,
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export class GetTrainingJobLogsResponse extends jspb.Message {
|
|
448
|
+
clearLogsList(): void;
|
|
449
|
+
getLogsList(): Array<TrainingJobLogEntry>;
|
|
450
|
+
setLogsList(value: Array<TrainingJobLogEntry>): void;
|
|
451
|
+
addLogs(value?: TrainingJobLogEntry, index?: number): TrainingJobLogEntry;
|
|
452
|
+
|
|
453
|
+
getNextPageToken(): string;
|
|
454
|
+
setNextPageToken(value: string): void;
|
|
455
|
+
|
|
456
|
+
serializeBinary(): Uint8Array;
|
|
457
|
+
toObject(includeInstance?: boolean): GetTrainingJobLogsResponse.AsObject;
|
|
458
|
+
static toObject(includeInstance: boolean, msg: GetTrainingJobLogsResponse): GetTrainingJobLogsResponse.AsObject;
|
|
459
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
460
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
461
|
+
static serializeBinaryToWriter(message: GetTrainingJobLogsResponse, writer: jspb.BinaryWriter): void;
|
|
462
|
+
static deserializeBinary(bytes: Uint8Array): GetTrainingJobLogsResponse;
|
|
463
|
+
static deserializeBinaryFromReader(message: GetTrainingJobLogsResponse, reader: jspb.BinaryReader): GetTrainingJobLogsResponse;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export namespace GetTrainingJobLogsResponse {
|
|
467
|
+
export type AsObject = {
|
|
468
|
+
logsList: Array<TrainingJobLogEntry.AsObject>,
|
|
469
|
+
nextPageToken: string,
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
|
|
391
473
|
export interface ModelTypeMap {
|
|
392
474
|
MODEL_TYPE_UNSPECIFIED: 0;
|
|
393
475
|
MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION: 1;
|
|
@@ -58,6 +58,15 @@ type MLTrainingServiceDeleteCompletedTrainingJob = {
|
|
|
58
58
|
readonly responseType: typeof app_mltraining_v1_ml_training_pb.DeleteCompletedTrainingJobResponse;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
+
type MLTrainingServiceGetTrainingJobLogs = {
|
|
62
|
+
readonly methodName: string;
|
|
63
|
+
readonly service: typeof MLTrainingService;
|
|
64
|
+
readonly requestStream: false;
|
|
65
|
+
readonly responseStream: false;
|
|
66
|
+
readonly requestType: typeof app_mltraining_v1_ml_training_pb.GetTrainingJobLogsRequest;
|
|
67
|
+
readonly responseType: typeof app_mltraining_v1_ml_training_pb.GetTrainingJobLogsResponse;
|
|
68
|
+
};
|
|
69
|
+
|
|
61
70
|
export class MLTrainingService {
|
|
62
71
|
static readonly serviceName: string;
|
|
63
72
|
static readonly SubmitTrainingJob: MLTrainingServiceSubmitTrainingJob;
|
|
@@ -66,6 +75,7 @@ export class MLTrainingService {
|
|
|
66
75
|
static readonly ListTrainingJobs: MLTrainingServiceListTrainingJobs;
|
|
67
76
|
static readonly CancelTrainingJob: MLTrainingServiceCancelTrainingJob;
|
|
68
77
|
static readonly DeleteCompletedTrainingJob: MLTrainingServiceDeleteCompletedTrainingJob;
|
|
78
|
+
static readonly GetTrainingJobLogs: MLTrainingServiceGetTrainingJobLogs;
|
|
69
79
|
}
|
|
70
80
|
|
|
71
81
|
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
@@ -154,5 +164,14 @@ export class MLTrainingServiceClient {
|
|
|
154
164
|
requestMessage: app_mltraining_v1_ml_training_pb.DeleteCompletedTrainingJobRequest,
|
|
155
165
|
callback: (error: ServiceError|null, responseMessage: app_mltraining_v1_ml_training_pb.DeleteCompletedTrainingJobResponse|null) => void
|
|
156
166
|
): UnaryResponse;
|
|
167
|
+
getTrainingJobLogs(
|
|
168
|
+
requestMessage: app_mltraining_v1_ml_training_pb.GetTrainingJobLogsRequest,
|
|
169
|
+
metadata: grpc.Metadata,
|
|
170
|
+
callback: (error: ServiceError|null, responseMessage: app_mltraining_v1_ml_training_pb.GetTrainingJobLogsResponse|null) => void
|
|
171
|
+
): UnaryResponse;
|
|
172
|
+
getTrainingJobLogs(
|
|
173
|
+
requestMessage: app_mltraining_v1_ml_training_pb.GetTrainingJobLogsRequest,
|
|
174
|
+
callback: (error: ServiceError|null, responseMessage: app_mltraining_v1_ml_training_pb.GetTrainingJobLogsResponse|null) => void
|
|
175
|
+
): UnaryResponse;
|
|
157
176
|
}
|
|
158
177
|
|
|
@@ -3550,6 +3550,11 @@ export class UpdateRegistryItemRequest extends jspb.Message {
|
|
|
3550
3550
|
getVisibility(): VisibilityMap[keyof VisibilityMap];
|
|
3551
3551
|
setVisibility(value: VisibilityMap[keyof VisibilityMap]): void;
|
|
3552
3552
|
|
|
3553
|
+
hasUrl(): boolean;
|
|
3554
|
+
clearUrl(): void;
|
|
3555
|
+
getUrl(): string;
|
|
3556
|
+
setUrl(value: string): void;
|
|
3557
|
+
|
|
3553
3558
|
serializeBinary(): Uint8Array;
|
|
3554
3559
|
toObject(includeInstance?: boolean): UpdateRegistryItemRequest.AsObject;
|
|
3555
3560
|
static toObject(includeInstance: boolean, msg: UpdateRegistryItemRequest): UpdateRegistryItemRequest.AsObject;
|
|
@@ -3566,6 +3571,7 @@ export namespace UpdateRegistryItemRequest {
|
|
|
3566
3571
|
type: app_packages_v1_packages_pb.PackageTypeMap[keyof app_packages_v1_packages_pb.PackageTypeMap],
|
|
3567
3572
|
description: string,
|
|
3568
3573
|
visibility: VisibilityMap[keyof VisibilityMap],
|
|
3574
|
+
url: string,
|
|
3569
3575
|
}
|
|
3570
3576
|
}
|
|
3571
3577
|
|
|
@@ -8,6 +8,11 @@ export class FieldInfo extends jspb.Message {
|
|
|
8
8
|
getFormat(): FieldInfo.FormatMap[keyof FieldInfo.FormatMap];
|
|
9
9
|
setFormat(value: FieldInfo.FormatMap[keyof FieldInfo.FormatMap]): void;
|
|
10
10
|
|
|
11
|
+
clearReferencedTypesList(): void;
|
|
12
|
+
getReferencedTypesList(): Array<TypeReference>;
|
|
13
|
+
setReferencedTypesList(value: Array<TypeReference>): void;
|
|
14
|
+
addReferencedTypes(value?: TypeReference, index?: number): TypeReference;
|
|
15
|
+
|
|
11
16
|
serializeBinary(): Uint8Array;
|
|
12
17
|
toObject(includeInstance?: boolean): FieldInfo.AsObject;
|
|
13
18
|
static toObject(includeInstance: boolean, msg: FieldInfo): FieldInfo.AsObject;
|
|
@@ -21,6 +26,7 @@ export class FieldInfo extends jspb.Message {
|
|
|
21
26
|
export namespace FieldInfo {
|
|
22
27
|
export type AsObject = {
|
|
23
28
|
format: FieldInfo.FormatMap[keyof FieldInfo.FormatMap],
|
|
29
|
+
referencedTypesList: Array<TypeReference.AsObject>,
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
export interface FormatMap {
|
|
@@ -34,5 +40,25 @@ export namespace FieldInfo {
|
|
|
34
40
|
export const Format: FormatMap;
|
|
35
41
|
}
|
|
36
42
|
|
|
43
|
+
export class TypeReference extends jspb.Message {
|
|
44
|
+
getTypeName(): string;
|
|
45
|
+
setTypeName(value: string): void;
|
|
46
|
+
|
|
47
|
+
serializeBinary(): Uint8Array;
|
|
48
|
+
toObject(includeInstance?: boolean): TypeReference.AsObject;
|
|
49
|
+
static toObject(includeInstance: boolean, msg: TypeReference): TypeReference.AsObject;
|
|
50
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
51
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
52
|
+
static serializeBinaryToWriter(message: TypeReference, writer: jspb.BinaryWriter): void;
|
|
53
|
+
static deserializeBinary(bytes: Uint8Array): TypeReference;
|
|
54
|
+
static deserializeBinaryFromReader(message: TypeReference, reader: jspb.BinaryReader): TypeReference;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export namespace TypeReference {
|
|
58
|
+
export type AsObject = {
|
|
59
|
+
typeName: string,
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
37
63
|
export const fieldInfo: jspb.ExtensionFieldInfo<FieldInfo>;
|
|
38
64
|
|
|
@@ -1103,6 +1103,11 @@ export class GetMachineStatusResponse extends jspb.Message {
|
|
|
1103
1103
|
setResourcesList(value: Array<ResourceStatus>): void;
|
|
1104
1104
|
addResources(value?: ResourceStatus, index?: number): ResourceStatus;
|
|
1105
1105
|
|
|
1106
|
+
hasConfig(): boolean;
|
|
1107
|
+
clearConfig(): void;
|
|
1108
|
+
getConfig(): ConfigStatus | undefined;
|
|
1109
|
+
setConfig(value?: ConfigStatus): void;
|
|
1110
|
+
|
|
1106
1111
|
serializeBinary(): Uint8Array;
|
|
1107
1112
|
toObject(includeInstance?: boolean): GetMachineStatusResponse.AsObject;
|
|
1108
1113
|
static toObject(includeInstance: boolean, msg: GetMachineStatusResponse): GetMachineStatusResponse.AsObject;
|
|
@@ -1116,6 +1121,7 @@ export class GetMachineStatusResponse extends jspb.Message {
|
|
|
1116
1121
|
export namespace GetMachineStatusResponse {
|
|
1117
1122
|
export type AsObject = {
|
|
1118
1123
|
resourcesList: Array<ResourceStatus.AsObject>,
|
|
1124
|
+
config?: ConfigStatus.AsObject,
|
|
1119
1125
|
}
|
|
1120
1126
|
}
|
|
1121
1127
|
|
|
@@ -1133,6 +1139,9 @@ export class ResourceStatus extends jspb.Message {
|
|
|
1133
1139
|
getLastUpdated(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1134
1140
|
setLastUpdated(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
1135
1141
|
|
|
1142
|
+
getRevision(): string;
|
|
1143
|
+
setRevision(value: string): void;
|
|
1144
|
+
|
|
1136
1145
|
serializeBinary(): Uint8Array;
|
|
1137
1146
|
toObject(includeInstance?: boolean): ResourceStatus.AsObject;
|
|
1138
1147
|
static toObject(includeInstance: boolean, msg: ResourceStatus): ResourceStatus.AsObject;
|
|
@@ -1148,6 +1157,7 @@ export namespace ResourceStatus {
|
|
|
1148
1157
|
name?: common_v1_common_pb.ResourceName.AsObject,
|
|
1149
1158
|
state: ResourceStatus.StateMap[keyof ResourceStatus.StateMap],
|
|
1150
1159
|
lastUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1160
|
+
revision: string,
|
|
1151
1161
|
}
|
|
1152
1162
|
|
|
1153
1163
|
export interface StateMap {
|
|
@@ -1161,6 +1171,32 @@ export namespace ResourceStatus {
|
|
|
1161
1171
|
export const State: StateMap;
|
|
1162
1172
|
}
|
|
1163
1173
|
|
|
1174
|
+
export class ConfigStatus extends jspb.Message {
|
|
1175
|
+
getRevision(): string;
|
|
1176
|
+
setRevision(value: string): void;
|
|
1177
|
+
|
|
1178
|
+
hasLastUpdated(): boolean;
|
|
1179
|
+
clearLastUpdated(): void;
|
|
1180
|
+
getLastUpdated(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1181
|
+
setLastUpdated(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
1182
|
+
|
|
1183
|
+
serializeBinary(): Uint8Array;
|
|
1184
|
+
toObject(includeInstance?: boolean): ConfigStatus.AsObject;
|
|
1185
|
+
static toObject(includeInstance: boolean, msg: ConfigStatus): ConfigStatus.AsObject;
|
|
1186
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1187
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1188
|
+
static serializeBinaryToWriter(message: ConfigStatus, writer: jspb.BinaryWriter): void;
|
|
1189
|
+
static deserializeBinary(bytes: Uint8Array): ConfigStatus;
|
|
1190
|
+
static deserializeBinaryFromReader(message: ConfigStatus, reader: jspb.BinaryReader): ConfigStatus;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
export namespace ConfigStatus {
|
|
1194
|
+
export type AsObject = {
|
|
1195
|
+
revision: string,
|
|
1196
|
+
lastUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1164
1200
|
export interface PeerConnectionTypeMap {
|
|
1165
1201
|
PEER_CONNECTION_TYPE_UNSPECIFIED: 0;
|
|
1166
1202
|
PEER_CONNECTION_TYPE_GRPC: 1;
|