@vertigis/viewer-spec 53.4.1 → 53.5.1

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.
@@ -16,6 +16,7 @@ import { KpiCommands } from "./kpi.js";
16
16
  import { LayerComparisonCommands } from "./layer-comparison.js";
17
17
  import { LayerPresetsCommands } from "./layer-presets.js";
18
18
  import { LayersCommands } from "./layers.js";
19
+ import { LicensingCommands } from "./licensing.js";
19
20
  import { LocationMarkerCommands } from "./location-marker.js";
20
21
  import { MapCommands } from "./map.js";
21
22
  import { MeasurementCommands } from "./measurement.js";
@@ -53,6 +54,7 @@ export declare class Commands extends CommandRegistry {
53
54
  readonly layers: LayersCommands;
54
55
  readonly layerComparison: LayerComparisonCommands;
55
56
  readonly layerPresets: LayerPresetsCommands;
57
+ readonly licensing: LicensingCommands;
56
58
  readonly locationMarker: LocationMarkerCommands;
57
59
  readonly map: MapCommands;
58
60
  readonly measurement: MeasurementCommands;
@@ -1 +1 @@
1
- import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AuthCommands as t}from"./auth.js";import{BasemapCommands as i}from"./basemap.js";import{ChartsCommands as m}from"./charts.js";import{DrawingCommands as r}from"./drawing.js";import{EditCommands as o}from"./edit.js";import{FileCommands as h}from"./file.js";import{FilterBuilderCommands as a}from"./filter-builder.js";import{GeolocationCommands as n}from"./geolocation.js";import{GeometryToolbarCommands as p}from"./geometry-toolbar.js";import{GeometryCommands as g}from"./geometry.js";import{HighlightsCommands as f}from"./highlights.js";import{IwtmCommands as w}from"./iwtm.js";import{KpiCommands as j}from"./kpi.js";import{LayerComparisonCommands as _}from"./layer-comparison.js";import{LayerPresetsCommands as l}from"./layer-presets.js";import{LayersCommands as c}from"./layers.js";import{LocationMarkerCommands as u}from"./location-marker.js";import{MapCommands as y}from"./map.js";import{MeasurementCommands as d}from"./measurement.js";import{OfflineCommands as k}from"./offline.js";import{PanelCommands as b}from"./panel.js";import{PhotosCommands as C}from"./photos.js";import{PrintCommands as q}from"./printing.js";import{ProjectCommands as v}from"./project.js";import{QueryBuilderCommands as x}from"./query-builder.js";import{RegionCommands as A}from"./region.js";import{ReportsCommands as B}from"./reports.js";import{ResultsCommands as M}from"./results.js";import{SearchCommands as P}from"./search.js";import{SketchingCommands as R}from"./sketching.js";import{StudioAnalyticsCommands as T}from"./studioAnalytics.js";import{SystemCommands as z}from"./system.js";import{UICommands as D}from"./ui.js";import{ViewerCommands as E}from"./viewer.js";import{WorkflowCommands as F}from"./workflow.js";export class Commands extends s{constructor(){super(...arguments),this.app=new e(this._messages),this.auth=new t(this._messages),this.basemap=new i(this._messages),this.charts=new m(this._messages),this.drawing=new r(this._messages),this.edit=new o(this._messages),this.file=new h(this._messages),this.filterBuilder=new a(this._messages),this.geolocation=new n(this._messages),this.geometry=new g(this._messages),this.geometryToolbar=new p(this._messages),this.highlights=new f(this._messages),this.iwtm=new w(this._messages),this.kpi=new j(this._messages),this.layers=new c(this._messages),this.layerComparison=new _(this._messages),this.layerPresets=new l(this._messages),this.locationMarker=new u(this._messages),this.map=new y(this._messages),this.measurement=new d(this._messages),this.offline=new k(this._messages),this.panel=new b(this._messages),this.project=new v(this._messages),this.photos=new C(this._messages),this.printing=new q(this._messages),this.queryBuilder=new x(this._messages),this.region=new A(this._messages),this.reports=new B(this._messages),this.results=new M(this._messages),this.search=new P(this._messages),this.sketching=new R(this._messages),this.studioAnalytics=new T(this._messages),this.system=new z(this._messages),this.ui=new D(this._messages),this.viewer=new E(this._messages),this.workflow=new F(this._messages)}}
1
+ import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AuthCommands as i}from"./auth.js";import{BasemapCommands as t}from"./basemap.js";import{ChartsCommands as m}from"./charts.js";import{DrawingCommands as r}from"./drawing.js";import{EditCommands as o}from"./edit.js";import{FileCommands as h}from"./file.js";import{FilterBuilderCommands as a}from"./filter-builder.js";import{GeolocationCommands as n}from"./geolocation.js";import{GeometryToolbarCommands as p}from"./geometry-toolbar.js";import{GeometryCommands as g}from"./geometry.js";import{HighlightsCommands as f}from"./highlights.js";import{IwtmCommands as w}from"./iwtm.js";import{KpiCommands as j}from"./kpi.js";import{LayerComparisonCommands as _}from"./layer-comparison.js";import{LayerPresetsCommands as l}from"./layer-presets.js";import{LayersCommands as c}from"./layers.js";import{LicensingCommands as u}from"./licensing.js";import{LocationMarkerCommands as y}from"./location-marker.js";import{MapCommands as d}from"./map.js";import{MeasurementCommands as k}from"./measurement.js";import{OfflineCommands as b}from"./offline.js";import{PanelCommands as C}from"./panel.js";import{PhotosCommands as q}from"./photos.js";import{PrintCommands as v}from"./printing.js";import{ProjectCommands as x}from"./project.js";import{QueryBuilderCommands as A}from"./query-builder.js";import{RegionCommands as B}from"./region.js";import{ReportsCommands as M}from"./reports.js";import{ResultsCommands as P}from"./results.js";import{SearchCommands as R}from"./search.js";import{SketchingCommands as T}from"./sketching.js";import{StudioAnalyticsCommands as z}from"./studioAnalytics.js";import{SystemCommands as D}from"./system.js";import{UICommands as E}from"./ui.js";import{ViewerCommands as F}from"./viewer.js";import{WorkflowCommands as G}from"./workflow.js";export class Commands extends s{constructor(){super(...arguments),this.app=new e(this._messages),this.auth=new i(this._messages),this.basemap=new t(this._messages),this.charts=new m(this._messages),this.drawing=new r(this._messages),this.edit=new o(this._messages),this.file=new h(this._messages),this.filterBuilder=new a(this._messages),this.geolocation=new n(this._messages),this.geometry=new g(this._messages),this.geometryToolbar=new p(this._messages),this.highlights=new f(this._messages),this.iwtm=new w(this._messages),this.kpi=new j(this._messages),this.layers=new c(this._messages),this.layerComparison=new _(this._messages),this.layerPresets=new l(this._messages),this.licensing=new u(this._messages),this.locationMarker=new y(this._messages),this.map=new d(this._messages),this.measurement=new k(this._messages),this.offline=new b(this._messages),this.panel=new C(this._messages),this.project=new x(this._messages),this.photos=new q(this._messages),this.printing=new v(this._messages),this.queryBuilder=new A(this._messages),this.region=new B(this._messages),this.reports=new M(this._messages),this.results=new P(this._messages),this.search=new R(this._messages),this.sketching=new T(this._messages),this.studioAnalytics=new z(this._messages),this.system=new D(this._messages),this.ui=new E(this._messages),this.viewer=new F(this._messages),this.workflow=new G(this._messages)}}
@@ -14,6 +14,7 @@ import { GeolocationOperations } from "./geolocation.js";
14
14
  import { GeometryOperations } from "./geometry.js";
15
15
  import { HighlightsOperations } from "./highlights.js";
16
16
  import { KpiOperations } from "./kpi.js";
17
+ import { LicensingOperations } from "./licensing.js";
17
18
  import { LogViewerOperations } from "./logViewer.js";
18
19
  import { MapOperations } from "./map.js";
19
20
  import { MeasurementOperations } from "./measurement.js";
@@ -44,6 +45,7 @@ export declare class Operations extends OperationRegistry {
44
45
  readonly geometry: GeometryOperations;
45
46
  readonly highlights: HighlightsOperations;
46
47
  readonly kpi: KpiOperations;
48
+ readonly licensing: LicensingOperations;
47
49
  readonly logViewer: LogViewerOperations;
48
50
  readonly map: MapOperations;
49
51
  readonly measurement: MeasurementOperations;
@@ -1 +1 @@
1
- import{OperationRegistry as s}from"../OperationRegistry.js";import{AppOperations as e}from"./app.js";import{ArcadeOperations as i}from"./arcade.js";import{AuthOperations as t}from"./auth.js";import{BasemapOperations as m}from"./basemap.js";import{ChartOperations as r}from"./charts.js";import{DebugConsoleOperations as o}from"./debugConsole.js";import{DrawingOperations as h}from"./drawing.js";import{EditOperations as a}from"./edit.js";import{FileOperations as g}from"./file.js";import{FilterBuilderOperations as n}from"./filter-builder.js";import{GeocodeOperations as p}from"./geocode.js";import{GeolocationOperations as w}from"./geolocation.js";import{GeometryOperations as f}from"./geometry.js";import{HighlightsOperations as j}from"./highlights.js";import{KpiOperations as _}from"./kpi.js";import{LogViewerOperations as l}from"./logViewer.js";import{MapOperations as u}from"./map.js";import{MeasurementOperations as c}from"./measurement.js";import{MessagingOperations as d}from"./messaging.js";import{NetworkOperations as k}from"./network.js";import{OfflineOperations as y}from"./offline.js";import{ProjectOperations as b}from"./project.js";import{QueryBuilderOperations as q}from"./query-builder.js";import{ResultsOperations as v}from"./results.js";import{SketchingOperations as x}from"./sketching.js";import{SystemOperations as B}from"./system.js";import{TasksOperations as C}from"./tasks.js";import{UIOperations as O}from"./ui.js";import{ViewerOperations as V}from"./viewer.js";import{WorkflowOperations as R}from"./workflow.js";export class Operations extends s{constructor(){super(...arguments),this.arcade=new i(this._messages),this.auth=new t(this._messages),this.app=new e(this._messages),this.basemap=new m(this._messages),this.charts=new r(this._messages),this.edit=new a(this._messages),this.drawing=new h(this._messages),this.file=new g(this._messages),this.filterBuilder=new n(this._messages),this.geocode=new p(this._messages),this.geolocation=new w(this._messages),this.geometry=new f(this._messages),this.highlights=new j(this._messages),this.kpi=new _(this._messages),this.logViewer=new l(this._messages),this.map=new u(this._messages),this.measurement=new c(this._messages),this.messaging=new d(this._messages),this.network=new k(this._messages),this.offline=new y(this._messages),this.project=new b(this._messages),this.queryBuilder=new q(this._messages),this.sketching=new x(this._messages),this.system=new B(this._messages),this.results=new v(this._messages),this.tasks=new C(this._messages),this.ui=new O(this._messages),this.viewer=new V(this._messages),this.workflow=new R(this._messages),this.debugConsole=new o(this._messages)}}
1
+ import{OperationRegistry as s}from"../OperationRegistry.js";import{AppOperations as e}from"./app.js";import{ArcadeOperations as i}from"./arcade.js";import{AuthOperations as t}from"./auth.js";import{BasemapOperations as m}from"./basemap.js";import{ChartOperations as r}from"./charts.js";import{DebugConsoleOperations as o}from"./debugConsole.js";import{DrawingOperations as h}from"./drawing.js";import{EditOperations as a}from"./edit.js";import{FileOperations as g}from"./file.js";import{FilterBuilderOperations as n}from"./filter-builder.js";import{GeocodeOperations as p}from"./geocode.js";import{GeolocationOperations as w}from"./geolocation.js";import{GeometryOperations as f}from"./geometry.js";import{HighlightsOperations as j}from"./highlights.js";import{KpiOperations as _}from"./kpi.js";import{LicensingOperations as l}from"./licensing.js";import{LogViewerOperations as u}from"./logViewer.js";import{MapOperations as c}from"./map.js";import{MeasurementOperations as d}from"./measurement.js";import{MessagingOperations as k}from"./messaging.js";import{NetworkOperations as y}from"./network.js";import{OfflineOperations as b}from"./offline.js";import{ProjectOperations as q}from"./project.js";import{QueryBuilderOperations as v}from"./query-builder.js";import{ResultsOperations as x}from"./results.js";import{SketchingOperations as B}from"./sketching.js";import{SystemOperations as C}from"./system.js";import{TasksOperations as O}from"./tasks.js";import{UIOperations as V}from"./ui.js";import{ViewerOperations as R}from"./viewer.js";import{WorkflowOperations as z}from"./workflow.js";export class Operations extends s{constructor(){super(...arguments),this.arcade=new i(this._messages),this.auth=new t(this._messages),this.app=new e(this._messages),this.basemap=new m(this._messages),this.charts=new r(this._messages),this.edit=new a(this._messages),this.drawing=new h(this._messages),this.file=new g(this._messages),this.filterBuilder=new n(this._messages),this.geocode=new p(this._messages),this.geolocation=new w(this._messages),this.geometry=new f(this._messages),this.highlights=new j(this._messages),this.kpi=new _(this._messages),this.licensing=new l(this._messages),this.logViewer=new u(this._messages),this.map=new c(this._messages),this.measurement=new d(this._messages),this.messaging=new k(this._messages),this.network=new y(this._messages),this.offline=new b(this._messages),this.project=new q(this._messages),this.queryBuilder=new v(this._messages),this.sketching=new B(this._messages),this.system=new C(this._messages),this.results=new x(this._messages),this.tasks=new O(this._messages),this.ui=new V(this._messages),this.viewer=new R(this._messages),this.workflow=new z(this._messages),this.debugConsole=new o(this._messages)}}
@@ -0,0 +1,36 @@
1
+ import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
3
+ import type { Operation } from "../Operation.js";
4
+ import { OperationRegistry } from "../OperationRegistry.js";
5
+ export declare class LicenseRequestArgs {
6
+ /**
7
+ * The human readable application name, used for any licensing related ui.
8
+ */
9
+ applicationName?: string;
10
+ /**
11
+ * The accountId (orgId) that we want to check licensing.
12
+ */
13
+ accountId?: string;
14
+ /**
15
+ * Overwrite the SKU for license check.
16
+ */
17
+ sku?: string;
18
+ }
19
+ export declare class LicensingCommands extends CommandRegistry {
20
+ /**
21
+ * Validate the current application license and show appropriate prompts or
22
+ * errors.
23
+ *
24
+ * @webOnly
25
+ */
26
+ get validateLicense(): Command<LicenseRequestArgs>;
27
+ }
28
+ export declare class LicensingOperations extends OperationRegistry {
29
+ /**
30
+ * Retrieve the license state for the specified account and SKU. Defaults to
31
+ * returning Web current state.
32
+ *
33
+ * @webOnly
34
+ */
35
+ get getLicenseState(): Operation<LicenseRequestArgs, string>;
36
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class LicenseRequestArgs{}export class LicensingCommands extends e{get validateLicense(){return this._messages.command("licensing.validate-license")}}export class LicensingOperations extends s{get getLicenseState(){return this._messages.operation("licensing.get-license-state")}}
@@ -4258,6 +4258,24 @@
4258
4258
  ],
4259
4259
  "type": "string"
4260
4260
  },
4261
+ "LicenseRequestArgs": {
4262
+ "additionalProperties": false,
4263
+ "properties": {
4264
+ "accountId": {
4265
+ "description": "The accountId (orgId) that we want to check licensing.",
4266
+ "type": "string"
4267
+ },
4268
+ "applicationName": {
4269
+ "description": "The human readable application name, used for any licensing related ui.",
4270
+ "type": "string"
4271
+ },
4272
+ "sku": {
4273
+ "description": "Overwrite the SKU for license check.",
4274
+ "type": "string"
4275
+ }
4276
+ },
4277
+ "type": "object"
4278
+ },
4261
4279
  "Maps": {
4262
4280
  "anyOf": [
4263
4281
  {
@@ -17973,6 +17991,27 @@
17973
17991
  "layers.show-labels:input": {
17974
17992
  "$ref": "#/definitions/SetLabelVisibilityArgs"
17975
17993
  },
17994
+ "licensing.get-license-state": {
17995
+ "description": "Retrieve the license state for the specified account and SKU. Defaults to returning Web current state.",
17996
+ "enum": [
17997
+ "licensing.get-license-state"
17998
+ ]
17999
+ },
18000
+ "licensing.get-license-state:input": {
18001
+ "$ref": "#/definitions/LicenseRequestArgs"
18002
+ },
18003
+ "licensing.get-license-state:output": {
18004
+ "type": "string"
18005
+ },
18006
+ "licensing.validate-license": {
18007
+ "description": "Validate the current application license and show appropriate prompts or errors.",
18008
+ "enum": [
18009
+ "licensing.validate-license"
18010
+ ]
18011
+ },
18012
+ "licensing.validate-license:input": {
18013
+ "$ref": "#/definitions/LicenseRequestArgs"
18014
+ },
17976
18015
  "location-marker.clear": {
17977
18016
  "description": "Removes all Markers.",
17978
18017
  "enum": [
@@ -21765,6 +21804,22 @@
21765
21804
  ],
21766
21805
  "type": "object"
21767
21806
  },
21807
+ {
21808
+ "additionalProperties": false,
21809
+ "properties": {
21810
+ "arguments": {
21811
+ "$ref": "#/definitions/licensing.validate-license:input"
21812
+ },
21813
+ "name": {
21814
+ "$ref": "#/definitions/licensing.validate-license"
21815
+ }
21816
+ },
21817
+ "required": [
21818
+ "name",
21819
+ "arguments"
21820
+ ],
21821
+ "type": "object"
21822
+ },
21768
21823
  {
21769
21824
  "additionalProperties": false,
21770
21825
  "properties": {
@@ -23468,6 +23523,9 @@
23468
23523
  {
23469
23524
  "$ref": "#/definitions/layers.show-labels"
23470
23525
  },
23526
+ {
23527
+ "$ref": "#/definitions/licensing.validate-license"
23528
+ },
23471
23529
  {
23472
23530
  "$ref": "#/definitions/location-marker.clear"
23473
23531
  },
@@ -24145,6 +24203,22 @@
24145
24203
  ],
24146
24204
  "type": "object"
24147
24205
  },
24206
+ {
24207
+ "additionalProperties": false,
24208
+ "properties": {
24209
+ "arguments": {
24210
+ "$ref": "#/definitions/licensing.get-license-state:input"
24211
+ },
24212
+ "name": {
24213
+ "$ref": "#/definitions/licensing.get-license-state"
24214
+ }
24215
+ },
24216
+ "required": [
24217
+ "name",
24218
+ "arguments"
24219
+ ],
24220
+ "type": "object"
24221
+ },
24148
24222
  {
24149
24223
  "additionalProperties": false,
24150
24224
  "properties": {
@@ -25083,6 +25157,9 @@
25083
25157
  {
25084
25158
  "$ref": "#/definitions/kpi.get-features"
25085
25159
  },
25160
+ {
25161
+ "$ref": "#/definitions/licensing.get-license-state"
25162
+ },
25086
25163
  {
25087
25164
  "$ref": "#/definitions/map.export-web-map-or-scene"
25088
25165
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "53.4.1",
3
+ "version": "53.5.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "53.4.1";
4
+ export declare const version = "53.5.1";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "53.4.1";
4
+ export const version = "53.5.1";