@viamrobotics/sdk 0.60.0 → 0.61.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.504";
1
+ export declare const apiVersion = "v0.1.508";
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { GetLogsRequest, GetLogsResponse, LinkOrgRequest, LinkOrgResponse, LinkRepoRequest, LinkRepoResponse, ListAppLinksRequest, ListAppLinksResponse, ListJobsRequest, ListJobsResponse, ListRepoLinksRequest, ListRepoLinksResponse, RemoveAppLinkRequest, RemoveAppLinkResponse, StartBuildRequest, StartBuildResponse, StartReloadBuildRequest, StartReloadBuildResponse, UnlinkOrgRequest, UnlinkOrgResponse, UnlinkRepoRequest, UnlinkRepoResponse } from "./build_pb.js";
6
+ import { GetLogsRequest, GetLogsResponse, LinkOrgRequest, LinkOrgResponse, LinkRepoRequest, LinkRepoResponse, ListAppLinksRequest, ListAppLinksResponse, ListJobsRequest, ListJobsResponse, ListRepoLinksRequest, ListRepoLinksResponse, RemoveAppLinkRequest, RemoveAppLinkResponse, StartBuildRequest, StartBuildResponse, StartPackageBuildRequest, StartPackageBuildResponse, StartReloadBuildRequest, StartReloadBuildResponse, UnlinkOrgRequest, UnlinkOrgResponse, UnlinkRepoRequest, UnlinkRepoResponse } from "./build_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -135,6 +135,17 @@ export declare const BuildService: {
135
135
  readonly O: typeof StartReloadBuildResponse,
136
136
  readonly kind: MethodKind.ClientStreaming,
137
137
  },
138
+ /**
139
+ * Start a build where the source code is hosted by Viam
140
+ *
141
+ * @generated from rpc viam.app.build.v1.BuildService.StartPackageBuild
142
+ */
143
+ readonly startPackageBuild: {
144
+ readonly name: "StartPackageBuild",
145
+ readonly I: typeof StartPackageBuildRequest,
146
+ readonly O: typeof StartPackageBuildResponse,
147
+ readonly kind: MethodKind.Unary,
148
+ },
138
149
  }
139
150
  };
140
151
 
@@ -256,6 +256,77 @@ export declare class StartReloadBuildResponse extends Message<StartReloadBuildRe
256
256
  static equals(a: StartReloadBuildResponse | PlainMessage<StartReloadBuildResponse> | undefined, b: StartReloadBuildResponse | PlainMessage<StartReloadBuildResponse> | undefined): boolean;
257
257
  }
258
258
 
259
+ /**
260
+ * @generated from message viam.app.build.v1.StartPackageBuildRequest
261
+ */
262
+ export declare class StartPackageBuildRequest extends Message<StartPackageBuildRequest> {
263
+ /**
264
+ * module_id to build for
265
+ *
266
+ * @generated from field: string module_id = 1;
267
+ */
268
+ moduleId: string;
269
+
270
+ /**
271
+ * the version of source code to build for
272
+ *
273
+ * @generated from field: string package_version = 2;
274
+ */
275
+ packageVersion: string;
276
+
277
+ /**
278
+ * version of the module to publish to the registry. must be valid semver2.0 string (ex: 1.2.3-rc0)
279
+ *
280
+ * @generated from field: string module_version = 3;
281
+ */
282
+ moduleVersion: string;
283
+
284
+ /**
285
+ * specify the platforms to build for (ex: linux/arm64)
286
+ *
287
+ * @generated from field: repeated string platforms = 4;
288
+ */
289
+ platforms: string[];
290
+
291
+ constructor(data?: PartialMessage<StartPackageBuildRequest>);
292
+
293
+ static readonly runtime: typeof proto3;
294
+ static readonly typeName = "viam.app.build.v1.StartPackageBuildRequest";
295
+ static readonly fields: FieldList;
296
+
297
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartPackageBuildRequest;
298
+
299
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartPackageBuildRequest;
300
+
301
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartPackageBuildRequest;
302
+
303
+ static equals(a: StartPackageBuildRequest | PlainMessage<StartPackageBuildRequest> | undefined, b: StartPackageBuildRequest | PlainMessage<StartPackageBuildRequest> | undefined): boolean;
304
+ }
305
+
306
+ /**
307
+ * @generated from message viam.app.build.v1.StartPackageBuildResponse
308
+ */
309
+ export declare class StartPackageBuildResponse extends Message<StartPackageBuildResponse> {
310
+ /**
311
+ * @generated from field: string build_id = 1;
312
+ */
313
+ buildId: string;
314
+
315
+ constructor(data?: PartialMessage<StartPackageBuildResponse>);
316
+
317
+ static readonly runtime: typeof proto3;
318
+ static readonly typeName = "viam.app.build.v1.StartPackageBuildResponse";
319
+ static readonly fields: FieldList;
320
+
321
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartPackageBuildResponse;
322
+
323
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartPackageBuildResponse;
324
+
325
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartPackageBuildResponse;
326
+
327
+ static equals(a: StartPackageBuildResponse | PlainMessage<StartPackageBuildResponse> | undefined, b: StartPackageBuildResponse | PlainMessage<StartPackageBuildResponse> | undefined): boolean;
328
+ }
329
+
259
330
  /**
260
331
  * GetLogsResponse is a streaming endpoint that may have multiple messages that belong
261
332
  * to the same build_step if there are too many bytes to fit into a single gRPC
@@ -435,6 +435,11 @@ export declare class UploadMetadata extends Message<UploadMetadata> {
435
435
  */
436
436
  datasetIds: string[];
437
437
 
438
+ /**
439
+ * @generated from field: string mime_type = 13;
440
+ */
441
+ mimeType: string;
442
+
438
443
  constructor(data?: PartialMessage<UploadMetadata>);
439
444
 
440
445
  static readonly runtime: typeof proto3;
@@ -119,6 +119,55 @@ export declare enum FragmentErrorType {
119
119
  CYCLE_DETECTED = 4,
120
120
  }
121
121
 
122
+ /**
123
+ * @generated from enum viam.app.v1.ModuleSourceType
124
+ */
125
+ export declare enum ModuleSourceType {
126
+ /**
127
+ * @generated from enum value: MODULE_SOURCE_TYPE_UNSPECIFIED = 0;
128
+ */
129
+ UNSPECIFIED = 0,
130
+
131
+ /**
132
+ * Module source code is stored externally, such as in github.
133
+ *
134
+ * @generated from enum value: MODULE_SOURCE_TYPE_EXTERNAL = 1;
135
+ */
136
+ EXTERNAL = 1,
137
+
138
+ /**
139
+ * Module source code is versioned and managed within Viam.
140
+ *
141
+ * @generated from enum value: MODULE_SOURCE_TYPE_VIAM_HOSTED = 2;
142
+ */
143
+ VIAM_HOSTED = 2,
144
+ }
145
+
146
+ /**
147
+ * @generated from enum viam.app.v1.ModuleLanguage
148
+ */
149
+ export declare enum ModuleLanguage {
150
+ /**
151
+ * @generated from enum value: MODULE_LANGUAGE_UNSPECIFIED = 0;
152
+ */
153
+ UNSPECIFIED = 0,
154
+
155
+ /**
156
+ * @generated from enum value: MODULE_LANGUAGE_GOLANG = 1;
157
+ */
158
+ GOLANG = 1,
159
+
160
+ /**
161
+ * @generated from enum value: MODULE_LANGUAGE_PYTHON = 2;
162
+ */
163
+ PYTHON = 2,
164
+
165
+ /**
166
+ * @generated from enum value: MODULE_LANGUAGE_CPP = 3;
167
+ */
168
+ CPP = 3,
169
+ }
170
+
122
171
  /**
123
172
  * @generated from enum viam.app.v1.RegistryItemStatus
124
173
  */
@@ -6072,6 +6121,20 @@ export declare class ModuleMetadata extends Message<ModuleMetadata> {
6072
6121
  */
6073
6122
  apps: App[];
6074
6123
 
6124
+ /**
6125
+ * Determines the type of module, either a registry module or an inline module.
6126
+ *
6127
+ * @generated from field: optional viam.app.v1.ModuleSourceType source_type = 7;
6128
+ */
6129
+ sourceType?: ModuleSourceType;
6130
+
6131
+ /**
6132
+ * Specifies the language that the module is written in.
6133
+ *
6134
+ * @generated from field: optional viam.app.v1.ModuleLanguage language = 8;
6135
+ */
6136
+ language?: ModuleLanguage;
6137
+
6075
6138
  constructor(data?: PartialMessage<ModuleMetadata>);
6076
6139
 
6077
6140
  static readonly runtime: typeof proto3;
@@ -6594,6 +6657,16 @@ export declare class ListRegistryItemsRequest extends Message<ListRegistryItemsR
6594
6657
  */
6595
6658
  includeMarkdownDocumentation?: boolean;
6596
6659
 
6660
+ /**
6661
+ * @generated from field: repeated viam.app.v1.ModuleSourceType module_source_types = 10;
6662
+ */
6663
+ moduleSourceTypes: ModuleSourceType[];
6664
+
6665
+ /**
6666
+ * @generated from field: repeated viam.app.v1.ModuleLanguage module_languages = 11;
6667
+ */
6668
+ moduleLanguages: ModuleLanguage[];
6669
+
6597
6670
  constructor(data?: PartialMessage<ListRegistryItemsRequest>);
6598
6671
 
6599
6672
  static readonly runtime: typeof proto3;
@@ -7041,6 +7114,20 @@ export declare class UpdateModuleMetadata extends Message<UpdateModuleMetadata>
7041
7114
  */
7042
7115
  apps: App[];
7043
7116
 
7117
+ /**
7118
+ * Determines where the source code of module is managed, either externally or hosted by viam.
7119
+ *
7120
+ * @generated from field: optional viam.app.v1.ModuleSourceType source_type = 4;
7121
+ */
7122
+ sourceType?: ModuleSourceType;
7123
+
7124
+ /**
7125
+ * The language the module is written in
7126
+ *
7127
+ * @generated from field: optional viam.app.v1.ModuleLanguage language = 5;
7128
+ */
7129
+ language?: ModuleLanguage;
7130
+
7044
7131
  constructor(data?: PartialMessage<UpdateModuleMetadata>);
7045
7132
 
7046
7133
  static readonly runtime: typeof proto3;
@@ -359,6 +359,11 @@ export declare class CloudConfig extends Message<CloudConfig> {
359
359
  */
360
360
  appAddress: string;
361
361
 
362
+ /**
363
+ * @generated from field: viam.provisioning.v1.APIKey api_key = 4;
364
+ */
365
+ apiKey?: APIKey;
366
+
362
367
  constructor(data?: PartialMessage<CloudConfig>);
363
368
 
364
369
  static readonly runtime: typeof proto3;
@@ -374,3 +379,32 @@ export declare class CloudConfig extends Message<CloudConfig> {
374
379
  static equals(a: CloudConfig | PlainMessage<CloudConfig> | undefined, b: CloudConfig | PlainMessage<CloudConfig> | undefined): boolean;
375
380
  }
376
381
 
382
+ /**
383
+ * @generated from message viam.provisioning.v1.APIKey
384
+ */
385
+ export declare class APIKey extends Message<APIKey> {
386
+ /**
387
+ * @generated from field: string id = 1;
388
+ */
389
+ id: string;
390
+
391
+ /**
392
+ * @generated from field: string key = 2;
393
+ */
394
+ key: string;
395
+
396
+ constructor(data?: PartialMessage<APIKey>);
397
+
398
+ static readonly runtime: typeof proto3;
399
+ static readonly typeName = "viam.provisioning.v1.APIKey";
400
+ static readonly fields: FieldList;
401
+
402
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): APIKey;
403
+
404
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): APIKey;
405
+
406
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): APIKey;
407
+
408
+ static equals(a: APIKey | PlainMessage<APIKey> | undefined, b: APIKey | PlainMessage<APIKey> | undefined): boolean;
409
+ }
410
+