@vertexvis/api-client-node 0.22.4 → 0.22.6

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/cjs/api.d.ts CHANGED
@@ -1351,11 +1351,11 @@ export interface CreateSceneAnnotationRequestData {
1351
1351
  */
1352
1352
  export interface CreateSceneAnnotationRequestDataAttributes {
1353
1353
  /**
1354
- * A JSON string that describes the annotation type and its data. JSON data is limited to 16kb.
1355
- * @type {string}
1354
+ * The data describing how to render this annotation.
1355
+ * @type {SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType}
1356
1356
  * @memberof CreateSceneAnnotationRequestDataAttributes
1357
1357
  */
1358
- data: string;
1358
+ data: SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType;
1359
1359
  /**
1360
1360
  * A customer provided ID used for correlation.
1361
1361
  * @type {string}
@@ -4272,6 +4272,68 @@ export interface SceneAnnotation {
4272
4272
  [key: string]: Link;
4273
4273
  };
4274
4274
  }
4275
+ /**
4276
+ * A type that describes a callout annotation.
4277
+ * @export
4278
+ * @interface SceneAnnotationCalloutDataType
4279
+ */
4280
+ export interface SceneAnnotationCalloutDataType {
4281
+ /**
4282
+ * The type of annotation.
4283
+ * @type {string}
4284
+ * @memberof SceneAnnotationCalloutDataType
4285
+ */
4286
+ type: string;
4287
+ /**
4288
+ *
4289
+ * @type {Vector3}
4290
+ * @memberof SceneAnnotationCalloutDataType
4291
+ */
4292
+ position: Vector3;
4293
+ /**
4294
+ * An optional icon to display for this annotation. See [documentation](https://github.com/Vertexvis/vertex-web-sdk/tree/master/packages/viewer/src/components/viewer-icon#properties) for possible values.
4295
+ * @type {string}
4296
+ * @memberof SceneAnnotationCalloutDataType
4297
+ */
4298
+ icon?: string;
4299
+ /**
4300
+ * A hex color value.
4301
+ * @type {string}
4302
+ * @memberof SceneAnnotationCalloutDataType
4303
+ */
4304
+ primaryColor?: string;
4305
+ /**
4306
+ * A hex color value.
4307
+ * @type {string}
4308
+ * @memberof SceneAnnotationCalloutDataType
4309
+ */
4310
+ accentColor?: string;
4311
+ }
4312
+ /**
4313
+ * A type that describes a custom user provided annotation.
4314
+ * @export
4315
+ * @interface SceneAnnotationCustomDataType
4316
+ */
4317
+ export interface SceneAnnotationCustomDataType {
4318
+ /**
4319
+ * The type of annotation.
4320
+ * @type {string}
4321
+ * @memberof SceneAnnotationCustomDataType
4322
+ */
4323
+ type: string;
4324
+ /**
4325
+ * The type of annotation.
4326
+ * @type {string}
4327
+ * @memberof SceneAnnotationCustomDataType
4328
+ */
4329
+ jsonType: string;
4330
+ /**
4331
+ * An encoded JSON string associated with the custom annotation.
4332
+ * @type {string}
4333
+ * @memberof SceneAnnotationCustomDataType
4334
+ */
4335
+ json: string;
4336
+ }
4275
4337
  /**
4276
4338
  *
4277
4339
  * @export
@@ -4324,11 +4386,11 @@ export interface SceneAnnotationDataAttributes {
4324
4386
  */
4325
4387
  modifiedAt: string;
4326
4388
  /**
4327
- * A JSON string that describes the annotation type and its data. JSON data is limited to 16kb.
4328
- * @type {string}
4389
+ * The data describing how to render this annotation.
4390
+ * @type {SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType}
4329
4391
  * @memberof SceneAnnotationDataAttributes
4330
4392
  */
4331
- data: string;
4393
+ data: SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType;
4332
4394
  /**
4333
4395
  *
4334
4396
  * @type {string}
@@ -6015,11 +6077,11 @@ export interface UpdateSceneAnnotationRequestData {
6015
6077
  */
6016
6078
  export interface UpdateSceneAnnotationRequestDataAttributes {
6017
6079
  /**
6018
- * A JSON string that describes the annotation type and its data. JSON data is limited to 16kb.
6019
- * @type {string}
6080
+ * The data describing how to render this annotation.
6081
+ * @type {SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType}
6020
6082
  * @memberof UpdateSceneAnnotationRequestDataAttributes
6021
6083
  */
6022
- data?: string;
6084
+ data?: SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType;
6023
6085
  /**
6024
6086
  * A customer provided ID used for correlation.
6025
6087
  * @type {string}
@@ -1 +1 @@
1
- export declare const version = "0.22.4";
1
+ export declare const version = "0.22.6";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.22.4';
4
+ exports.version = '0.22.6';
@@ -1,5 +1,5 @@
1
1
  import { AxiosInstance, AxiosRequestConfig } from 'axios';
2
- import { AccountsApi, ApplicationsApi, BatchesApi, Configuration, ExportsApi, FilesApi, GeometrySetsApi, HitsApi, Oauth2Api, OAuth2Token, PartRevisionsApi, PartsApi, SceneAlterationsApi, SceneItemOverridesApi, SceneItemsApi, ScenesApi, SceneViewsApi, SceneViewStatesApi, StreamKeysApi, TranslationInspectionsApi, WebhookSubscriptionsApi } from '../index';
2
+ import { AccountsApi, ApplicationsApi, BatchesApi, Configuration, ExportsApi, FilesApi, GeometrySetsApi, HitsApi, Oauth2Api, OAuth2Token, PartRevisionsApi, PartsApi, SceneAlterationsApi, SceneAnnotationsApi, SceneItemOverridesApi, SceneItemsApi, ScenesApi, SceneViewsApi, SceneViewStatesApi, StreamKeysApi, TranslationInspectionsApi, WebhookSubscriptionsApi } from '../index';
3
3
  import { BasePath } from './index';
4
4
  /**
5
5
  * Static `build` function arguments.
@@ -80,6 +80,7 @@ export declare class VertexClient {
80
80
  partRevisions: PartRevisionsApi;
81
81
  parts: PartsApi;
82
82
  sceneAlterations: SceneAlterationsApi;
83
+ sceneAnnotations: SceneAnnotationsApi;
83
84
  sceneItemOverrides: SceneItemOverridesApi;
84
85
  sceneItems: SceneItemsApi;
85
86
  scenes: ScenesApi;
@@ -86,6 +86,7 @@ class VertexClient {
86
86
  this.partRevisions = new index_1.PartRevisionsApi(this.config, undefined, axiosInst);
87
87
  this.parts = new index_1.PartsApi(this.config, undefined, axiosInst);
88
88
  this.sceneAlterations = new index_1.SceneAlterationsApi(this.config, undefined, axiosInst);
89
+ this.sceneAnnotations = new index_1.SceneAnnotationsApi(this.config, undefined, axiosInst);
89
90
  this.sceneItemOverrides = new index_1.SceneItemOverridesApi(this.config, undefined, axiosInst);
90
91
  this.sceneItems = new index_1.SceneItemsApi(this.config, undefined, axiosInst);
91
92
  this.scenes = new index_1.ScenesApi(this.config, undefined, axiosInst);
package/dist/esm/api.d.ts CHANGED
@@ -1351,11 +1351,11 @@ export interface CreateSceneAnnotationRequestData {
1351
1351
  */
1352
1352
  export interface CreateSceneAnnotationRequestDataAttributes {
1353
1353
  /**
1354
- * A JSON string that describes the annotation type and its data. JSON data is limited to 16kb.
1355
- * @type {string}
1354
+ * The data describing how to render this annotation.
1355
+ * @type {SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType}
1356
1356
  * @memberof CreateSceneAnnotationRequestDataAttributes
1357
1357
  */
1358
- data: string;
1358
+ data: SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType;
1359
1359
  /**
1360
1360
  * A customer provided ID used for correlation.
1361
1361
  * @type {string}
@@ -4272,6 +4272,68 @@ export interface SceneAnnotation {
4272
4272
  [key: string]: Link;
4273
4273
  };
4274
4274
  }
4275
+ /**
4276
+ * A type that describes a callout annotation.
4277
+ * @export
4278
+ * @interface SceneAnnotationCalloutDataType
4279
+ */
4280
+ export interface SceneAnnotationCalloutDataType {
4281
+ /**
4282
+ * The type of annotation.
4283
+ * @type {string}
4284
+ * @memberof SceneAnnotationCalloutDataType
4285
+ */
4286
+ type: string;
4287
+ /**
4288
+ *
4289
+ * @type {Vector3}
4290
+ * @memberof SceneAnnotationCalloutDataType
4291
+ */
4292
+ position: Vector3;
4293
+ /**
4294
+ * An optional icon to display for this annotation. See [documentation](https://github.com/Vertexvis/vertex-web-sdk/tree/master/packages/viewer/src/components/viewer-icon#properties) for possible values.
4295
+ * @type {string}
4296
+ * @memberof SceneAnnotationCalloutDataType
4297
+ */
4298
+ icon?: string;
4299
+ /**
4300
+ * A hex color value.
4301
+ * @type {string}
4302
+ * @memberof SceneAnnotationCalloutDataType
4303
+ */
4304
+ primaryColor?: string;
4305
+ /**
4306
+ * A hex color value.
4307
+ * @type {string}
4308
+ * @memberof SceneAnnotationCalloutDataType
4309
+ */
4310
+ accentColor?: string;
4311
+ }
4312
+ /**
4313
+ * A type that describes a custom user provided annotation.
4314
+ * @export
4315
+ * @interface SceneAnnotationCustomDataType
4316
+ */
4317
+ export interface SceneAnnotationCustomDataType {
4318
+ /**
4319
+ * The type of annotation.
4320
+ * @type {string}
4321
+ * @memberof SceneAnnotationCustomDataType
4322
+ */
4323
+ type: string;
4324
+ /**
4325
+ * The type of annotation.
4326
+ * @type {string}
4327
+ * @memberof SceneAnnotationCustomDataType
4328
+ */
4329
+ jsonType: string;
4330
+ /**
4331
+ * An encoded JSON string associated with the custom annotation.
4332
+ * @type {string}
4333
+ * @memberof SceneAnnotationCustomDataType
4334
+ */
4335
+ json: string;
4336
+ }
4275
4337
  /**
4276
4338
  *
4277
4339
  * @export
@@ -4324,11 +4386,11 @@ export interface SceneAnnotationDataAttributes {
4324
4386
  */
4325
4387
  modifiedAt: string;
4326
4388
  /**
4327
- * A JSON string that describes the annotation type and its data. JSON data is limited to 16kb.
4328
- * @type {string}
4389
+ * The data describing how to render this annotation.
4390
+ * @type {SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType}
4329
4391
  * @memberof SceneAnnotationDataAttributes
4330
4392
  */
4331
- data: string;
4393
+ data: SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType;
4332
4394
  /**
4333
4395
  *
4334
4396
  * @type {string}
@@ -6015,11 +6077,11 @@ export interface UpdateSceneAnnotationRequestData {
6015
6077
  */
6016
6078
  export interface UpdateSceneAnnotationRequestDataAttributes {
6017
6079
  /**
6018
- * A JSON string that describes the annotation type and its data. JSON data is limited to 16kb.
6019
- * @type {string}
6080
+ * The data describing how to render this annotation.
6081
+ * @type {SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType}
6020
6082
  * @memberof UpdateSceneAnnotationRequestDataAttributes
6021
6083
  */
6022
- data?: string;
6084
+ data?: SceneAnnotationCalloutDataType | SceneAnnotationCustomDataType;
6023
6085
  /**
6024
6086
  * A customer provided ID used for correlation.
6025
6087
  * @type {string}
@@ -1 +1 @@
1
- export declare const version = "0.22.4";
1
+ export declare const version = "0.22.6";
@@ -1 +1 @@
1
- export const version = '0.22.4';
1
+ export const version = '0.22.6';
@@ -1,5 +1,5 @@
1
1
  import { AxiosInstance, AxiosRequestConfig } from 'axios';
2
- import { AccountsApi, ApplicationsApi, BatchesApi, Configuration, ExportsApi, FilesApi, GeometrySetsApi, HitsApi, Oauth2Api, OAuth2Token, PartRevisionsApi, PartsApi, SceneAlterationsApi, SceneItemOverridesApi, SceneItemsApi, ScenesApi, SceneViewsApi, SceneViewStatesApi, StreamKeysApi, TranslationInspectionsApi, WebhookSubscriptionsApi } from '../index';
2
+ import { AccountsApi, ApplicationsApi, BatchesApi, Configuration, ExportsApi, FilesApi, GeometrySetsApi, HitsApi, Oauth2Api, OAuth2Token, PartRevisionsApi, PartsApi, SceneAlterationsApi, SceneAnnotationsApi, SceneItemOverridesApi, SceneItemsApi, ScenesApi, SceneViewsApi, SceneViewStatesApi, StreamKeysApi, TranslationInspectionsApi, WebhookSubscriptionsApi } from '../index';
3
3
  import { BasePath } from './index';
4
4
  /**
5
5
  * Static `build` function arguments.
@@ -80,6 +80,7 @@ export declare class VertexClient {
80
80
  partRevisions: PartRevisionsApi;
81
81
  parts: PartsApi;
82
82
  sceneAlterations: SceneAlterationsApi;
83
+ sceneAnnotations: SceneAnnotationsApi;
83
84
  sceneItemOverrides: SceneItemOverridesApi;
84
85
  sceneItems: SceneItemsApi;
85
86
  scenes: ScenesApi;
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  };
10
10
  var _a;
11
11
  import axios from 'axios';
12
- import { AccountsApi, ApplicationsApi, BatchesApi, Configuration, ExportsApi, FilesApi, GeometrySetsApi, HitsApi, Oauth2Api, PartRevisionsApi, PartsApi, SceneAlterationsApi, SceneItemOverridesApi, SceneItemsApi, ScenesApi, SceneViewsApi, SceneViewStatesApi, StreamKeysApi, TranslationInspectionsApi, WebhookSubscriptionsApi, } from '../index';
12
+ import { AccountsApi, ApplicationsApi, BatchesApi, Configuration, ExportsApi, FilesApi, GeometrySetsApi, HitsApi, Oauth2Api, PartRevisionsApi, PartsApi, SceneAlterationsApi, SceneAnnotationsApi, SceneItemOverridesApi, SceneItemsApi, ScenesApi, SceneViewsApi, SceneViewStatesApi, StreamKeysApi, TranslationInspectionsApi, WebhookSubscriptionsApi, } from '../index';
13
13
  import { createToken, isFailure, nowEpochMs, prettyJson, } from './index';
14
14
  import { version } from './version';
15
15
  const TenMinsInMs = 600000;
@@ -80,6 +80,7 @@ export class VertexClient {
80
80
  this.partRevisions = new PartRevisionsApi(this.config, undefined, axiosInst);
81
81
  this.parts = new PartsApi(this.config, undefined, axiosInst);
82
82
  this.sceneAlterations = new SceneAlterationsApi(this.config, undefined, axiosInst);
83
+ this.sceneAnnotations = new SceneAnnotationsApi(this.config, undefined, axiosInst);
83
84
  this.sceneItemOverrides = new SceneItemOverridesApi(this.config, undefined, axiosInst);
84
85
  this.sceneItems = new SceneItemsApi(this.config, undefined, axiosInst);
85
86
  this.scenes = new ScenesApi(this.config, undefined, axiosInst);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertexvis/api-client-node",
3
- "version": "0.22.4",
3
+ "version": "0.22.6",
4
4
  "description": "The Vertex REST API client for Node.js.",
5
5
  "license": "MIT",
6
6
  "author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",