@vertigis/viewer-spec 58.24.1 → 59.0.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/messaging/registry/licensing.d.ts +4 -3
- package/messaging/registry/network.d.ts +12 -4
- package/messaging/registry/utility-network.d.ts +8 -1
- package/messaging/registry/utility-network.js +1 -1
- package/messaging/schema/common-action.schema.json +49 -0
- package/messaging/schema/mobile-action.schema.json +49 -0
- package/messaging/schema/web-action.schema.json +2 -2
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -5,6 +5,9 @@ import { OperationRegistry } from "../OperationRegistry.js";
|
|
|
5
5
|
export declare class LicenseRequestArgs {
|
|
6
6
|
/**
|
|
7
7
|
* The human readable application name, used for any licensing related ui.
|
|
8
|
+
* Web only.
|
|
9
|
+
*
|
|
10
|
+
* @webOnly
|
|
8
11
|
*/
|
|
9
12
|
applicationName?: string;
|
|
10
13
|
/**
|
|
@@ -30,9 +33,7 @@ export declare class LicensingOperations extends OperationRegistry {
|
|
|
30
33
|
protected readonly _prefix = "licensing";
|
|
31
34
|
/**
|
|
32
35
|
* Retrieve the license state for the specified account and SKU. Defaults to
|
|
33
|
-
* returning
|
|
34
|
-
*
|
|
35
|
-
* @webOnly
|
|
36
|
+
* returning the current state.
|
|
36
37
|
*/
|
|
37
38
|
get getLicenseState(): Operation<LicenseRequestArgs, string>;
|
|
38
39
|
}
|
|
@@ -4,13 +4,21 @@ import type { Event } from "../Event.js";
|
|
|
4
4
|
import { EventRegistry } from "../EventRegistry.js";
|
|
5
5
|
import type { Operation } from "../Operation.js";
|
|
6
6
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* The status of a connection to a network host.
|
|
9
|
+
*/
|
|
8
10
|
export type NetworkStatus = "NoConnection" | "ConnectedToCarrierDataNetwork" | "ConnectedToWiFiOrEthernet" | "Restricted";
|
|
9
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Arguments for the network.can-reach-host operation.
|
|
13
|
+
*/
|
|
10
14
|
export interface HostAndPortArgs {
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* The host to connect to.
|
|
17
|
+
*/
|
|
12
18
|
host: string;
|
|
13
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* The port number to connect to. Must be an integer.
|
|
21
|
+
*/
|
|
14
22
|
port: number;
|
|
15
23
|
}
|
|
16
24
|
export declare class NetworkCommands extends CommandRegistry {
|
|
@@ -20,7 +20,7 @@ export interface HasUtilityNetwork {
|
|
|
20
20
|
/**
|
|
21
21
|
* Results from a completed trace.
|
|
22
22
|
*/
|
|
23
|
-
export interface TraceCompletedArgs extends
|
|
23
|
+
export interface TraceCompletedArgs extends UtilityNetworkArgs {
|
|
24
24
|
/**
|
|
25
25
|
* Results from the trace.
|
|
26
26
|
*/
|
|
@@ -89,6 +89,13 @@ export declare class UtilityNetworkOperations extends OperationRegistry {
|
|
|
89
89
|
* @mobileOnly
|
|
90
90
|
*/
|
|
91
91
|
get getUtilityElementsFromFeatures(): Operation<GetUtilityElementsArgs, UtilityElement[]>;
|
|
92
|
+
/**
|
|
93
|
+
* Gets feature results args from trace results, to display in the results
|
|
94
|
+
* list for example.
|
|
95
|
+
*
|
|
96
|
+
* @mobileOnly
|
|
97
|
+
*/
|
|
98
|
+
get featureResultsFromTrace(): Operation<TraceCompletedArgs, MapsFeatureResultArgs>;
|
|
92
99
|
/**
|
|
93
100
|
* Returns a list of available named traces from the specified network.
|
|
94
101
|
* Mobile only. Only available to VertiGIS Networks customers.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export class UtilityNetworkCommands extends e{_prefix="utility-network";get showTracePanel(){return this._get("show-network-trace-panel")}}export class UtilityNetworkOperations extends t{_prefix="utility-network";get runTrace(){return this._get("run-trace")}get getUtilityElementsFromFeatures(){return this._get("get-elements-from-features")}get featureResultsFromTrace(){return this._get("feature-results-from-trace")}get getNamedTraces(){return this._get("get-trace-configurations")}}
|
|
@@ -2838,6 +2838,24 @@
|
|
|
2838
2838
|
],
|
|
2839
2839
|
"type": "string"
|
|
2840
2840
|
},
|
|
2841
|
+
"LicenseRequestArgs": {
|
|
2842
|
+
"additionalProperties": false,
|
|
2843
|
+
"properties": {
|
|
2844
|
+
"accountId": {
|
|
2845
|
+
"description": "The accountId (orgId) that we want to check licensing.",
|
|
2846
|
+
"type": "string"
|
|
2847
|
+
},
|
|
2848
|
+
"applicationName": {
|
|
2849
|
+
"description": "The human readable application name, used for any licensing related ui. Web only.",
|
|
2850
|
+
"type": "string"
|
|
2851
|
+
},
|
|
2852
|
+
"sku": {
|
|
2853
|
+
"description": "Overwrite the SKU for license check.",
|
|
2854
|
+
"type": "string"
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
"type": "object"
|
|
2858
|
+
},
|
|
2841
2859
|
"MapRotateArgs": {
|
|
2842
2860
|
"additionalProperties": false,
|
|
2843
2861
|
"description": "Arguments for the \"map.rotate-by\" and \"map.rotate-to\" commands.",
|
|
@@ -14096,6 +14114,18 @@
|
|
|
14096
14114
|
"highlights.remove:input": {
|
|
14097
14115
|
"$ref": "#/definitions/Features"
|
|
14098
14116
|
},
|
|
14117
|
+
"licensing.get-license-state": {
|
|
14118
|
+
"description": "Retrieve the license state for the specified account and SKU. Defaults to returning the current state.",
|
|
14119
|
+
"enum": [
|
|
14120
|
+
"licensing.get-license-state"
|
|
14121
|
+
]
|
|
14122
|
+
},
|
|
14123
|
+
"licensing.get-license-state:input": {
|
|
14124
|
+
"$ref": "#/definitions/LicenseRequestArgs"
|
|
14125
|
+
},
|
|
14126
|
+
"licensing.get-license-state:output": {
|
|
14127
|
+
"type": "string"
|
|
14128
|
+
},
|
|
14099
14129
|
"map.add-markup": {
|
|
14100
14130
|
"description": "Adds markup to the map(s).\n\n**Example:** Adding markup to a custom collection using `AddMarkupArgs`.\n\n```\n{\n \"collection\": \"my-custom-markup\",\n \"graphics\": [\n {\n \"geometry\": {\n \"x\": -13733416.69,\n \"y\": 6177670.86,\n \"spatialReference\": {\n \"wkid\": 3857\n },\n \"type\": \"point\"\n },\n \"symbol\": {\n \"color\": [76, 115, 0, 255],\n \"size\": 16,\n \"style\": \"esriSMSCircle\",\n \"type\": \"simple-marker\"\n }\n }\n ]\n}\n```",
|
|
14101
14131
|
"enum": [
|
|
@@ -15985,6 +16015,22 @@
|
|
|
15985
16015
|
],
|
|
15986
16016
|
"type": "object"
|
|
15987
16017
|
},
|
|
16018
|
+
{
|
|
16019
|
+
"additionalProperties": false,
|
|
16020
|
+
"properties": {
|
|
16021
|
+
"arguments": {
|
|
16022
|
+
"$ref": "#/definitions/licensing.get-license-state:input"
|
|
16023
|
+
},
|
|
16024
|
+
"name": {
|
|
16025
|
+
"$ref": "#/definitions/licensing.get-license-state"
|
|
16026
|
+
}
|
|
16027
|
+
},
|
|
16028
|
+
"required": [
|
|
16029
|
+
"name",
|
|
16030
|
+
"arguments"
|
|
16031
|
+
],
|
|
16032
|
+
"type": "object"
|
|
16033
|
+
},
|
|
15988
16034
|
{
|
|
15989
16035
|
"additionalProperties": false,
|
|
15990
16036
|
"properties": {
|
|
@@ -16213,6 +16259,9 @@
|
|
|
16213
16259
|
{
|
|
16214
16260
|
"$ref": "#/definitions/geolocation.get-position"
|
|
16215
16261
|
},
|
|
16262
|
+
{
|
|
16263
|
+
"$ref": "#/definitions/licensing.get-license-state"
|
|
16264
|
+
},
|
|
16216
16265
|
{
|
|
16217
16266
|
"$ref": "#/definitions/map.get-spatial-reference"
|
|
16218
16267
|
},
|
|
@@ -3374,6 +3374,24 @@
|
|
|
3374
3374
|
],
|
|
3375
3375
|
"type": "string"
|
|
3376
3376
|
},
|
|
3377
|
+
"LicenseRequestArgs": {
|
|
3378
|
+
"additionalProperties": false,
|
|
3379
|
+
"properties": {
|
|
3380
|
+
"accountId": {
|
|
3381
|
+
"description": "The accountId (orgId) that we want to check licensing.",
|
|
3382
|
+
"type": "string"
|
|
3383
|
+
},
|
|
3384
|
+
"applicationName": {
|
|
3385
|
+
"description": "The human readable application name, used for any licensing related ui. Web only.",
|
|
3386
|
+
"type": "string"
|
|
3387
|
+
},
|
|
3388
|
+
"sku": {
|
|
3389
|
+
"description": "Overwrite the SKU for license check.",
|
|
3390
|
+
"type": "string"
|
|
3391
|
+
}
|
|
3392
|
+
},
|
|
3393
|
+
"type": "object"
|
|
3394
|
+
},
|
|
3377
3395
|
"MapsLike": {
|
|
3378
3396
|
"anyOf": [
|
|
3379
3397
|
{
|
|
@@ -15503,6 +15521,18 @@
|
|
|
15503
15521
|
"layer-presets.apply:input": {
|
|
15504
15522
|
"$ref": "#/definitions/LayerPresetsArgs"
|
|
15505
15523
|
},
|
|
15524
|
+
"licensing.get-license-state": {
|
|
15525
|
+
"description": "Retrieve the license state for the specified account and SKU. Defaults to returning the current state.",
|
|
15526
|
+
"enum": [
|
|
15527
|
+
"licensing.get-license-state"
|
|
15528
|
+
]
|
|
15529
|
+
},
|
|
15530
|
+
"licensing.get-license-state:input": {
|
|
15531
|
+
"$ref": "#/definitions/LicenseRequestArgs"
|
|
15532
|
+
},
|
|
15533
|
+
"licensing.get-license-state:output": {
|
|
15534
|
+
"type": "string"
|
|
15535
|
+
},
|
|
15506
15536
|
"log-viewer.close": {
|
|
15507
15537
|
"description": "Closes the Log Viewer. Mobile only.",
|
|
15508
15538
|
"enum": [
|
|
@@ -19630,6 +19660,22 @@
|
|
|
19630
19660
|
],
|
|
19631
19661
|
"type": "object"
|
|
19632
19662
|
},
|
|
19663
|
+
{
|
|
19664
|
+
"additionalProperties": false,
|
|
19665
|
+
"properties": {
|
|
19666
|
+
"arguments": {
|
|
19667
|
+
"$ref": "#/definitions/licensing.get-license-state:input"
|
|
19668
|
+
},
|
|
19669
|
+
"name": {
|
|
19670
|
+
"$ref": "#/definitions/licensing.get-license-state"
|
|
19671
|
+
}
|
|
19672
|
+
},
|
|
19673
|
+
"required": [
|
|
19674
|
+
"name",
|
|
19675
|
+
"arguments"
|
|
19676
|
+
],
|
|
19677
|
+
"type": "object"
|
|
19678
|
+
},
|
|
19633
19679
|
{
|
|
19634
19680
|
"additionalProperties": false,
|
|
19635
19681
|
"properties": {
|
|
@@ -20224,6 +20270,9 @@
|
|
|
20224
20270
|
{
|
|
20225
20271
|
"$ref": "#/definitions/geometry.remove-point"
|
|
20226
20272
|
},
|
|
20273
|
+
{
|
|
20274
|
+
"$ref": "#/definitions/licensing.get-license-state"
|
|
20275
|
+
},
|
|
20227
20276
|
{
|
|
20228
20277
|
"$ref": "#/definitions/map.export-image"
|
|
20229
20278
|
},
|
|
@@ -5387,7 +5387,7 @@
|
|
|
5387
5387
|
"type": "string"
|
|
5388
5388
|
},
|
|
5389
5389
|
"applicationName": {
|
|
5390
|
-
"description": "The human readable application name, used for any licensing related ui.",
|
|
5390
|
+
"description": "The human readable application name, used for any licensing related ui. Web only.",
|
|
5391
5391
|
"type": "string"
|
|
5392
5392
|
},
|
|
5393
5393
|
"sku": {
|
|
@@ -20289,7 +20289,7 @@
|
|
|
20289
20289
|
"$ref": "#/definitions/SetLabelVisibilityArgs"
|
|
20290
20290
|
},
|
|
20291
20291
|
"licensing.get-license-state": {
|
|
20292
|
-
"description": "Retrieve the license state for the specified account and SKU. Defaults to returning
|
|
20292
|
+
"description": "Retrieve the license state for the specified account and SKU. Defaults to returning the current state.",
|
|
20293
20293
|
"enum": [
|
|
20294
20294
|
"licensing.get-license-state"
|
|
20295
20295
|
]
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED