@vertigis/viewer-spec 59.30.0 → 60.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.
Files changed (44) hide show
  1. package/messaging/DotNetTypes.d.ts +11 -0
  2. package/messaging/registry/Operations.d.ts +0 -7
  3. package/messaging/registry/Operations.js +1 -1
  4. package/messaging/registry/app.d.ts +1 -20
  5. package/messaging/registry/app.js +1 -1
  6. package/messaging/registry/arcade.d.ts +2 -2
  7. package/messaging/registry/auth.d.ts +3 -3
  8. package/messaging/registry/basemap.d.ts +4 -3
  9. package/messaging/registry/bulk-editing.d.ts +2 -7
  10. package/messaging/registry/charts.d.ts +1 -1
  11. package/messaging/registry/display.d.ts +2 -2
  12. package/messaging/registry/drawing.d.ts +2 -2
  13. package/messaging/registry/edit.d.ts +25 -27
  14. package/messaging/registry/file.d.ts +3 -3
  15. package/messaging/registry/geolocation.d.ts +80 -9
  16. package/messaging/registry/highlights.d.ts +0 -19
  17. package/messaging/registry/highlights.js +1 -1
  18. package/messaging/registry/layers.d.ts +1 -1
  19. package/messaging/registry/layout.d.ts +1 -5
  20. package/messaging/registry/licensing.d.ts +2 -2
  21. package/messaging/registry/location-marker.d.ts +1 -2
  22. package/messaging/registry/map.d.ts +5 -5
  23. package/messaging/registry/measurement.d.ts +1 -1
  24. package/messaging/registry/network.d.ts +2 -2
  25. package/messaging/registry/printing.d.ts +10 -10
  26. package/messaging/registry/reports.d.ts +1 -1
  27. package/messaging/registry/results.d.ts +6 -5
  28. package/messaging/registry/sketching.d.ts +9 -96
  29. package/messaging/registry/sketching.js +1 -1
  30. package/messaging/registry/system.d.ts +1 -1
  31. package/messaging/registry/tasks.d.ts +2 -1
  32. package/messaging/registry/tracing.d.ts +1 -1
  33. package/messaging/registry/ui.d.ts +2 -1
  34. package/messaging/schema/common-action.schema.json +23 -98
  35. package/messaging/schema/common-event.schema.json +5 -4
  36. package/messaging/schema/mobile-action.schema.json +29 -121
  37. package/messaging/schema/mobile-event.schema.json +41 -43
  38. package/messaging/schema/web-action.schema.json +56 -392
  39. package/messaging/schema/web-event.schema.json +17 -16
  40. package/package.json +1 -1
  41. package/version.d.ts +1 -1
  42. package/version.js +1 -1
  43. package/messaging/registry/debugConsole.d.ts +0 -26
  44. package/messaging/registry/debugConsole.js +0 -1
@@ -803,7 +803,7 @@
803
803
  },
804
804
  "AddAttachmentArgs": {
805
805
  "additionalProperties": false,
806
- "description": "Arguments for the \"edit.add-attachment\" command. Supported by both Web and Mobile.",
806
+ "description": "Arguments for the \"edit.add-attachment\" command. \"Features\" is the feature(s) the attachment is being added to.",
807
807
  "properties": {
808
808
  "contentType": {
809
809
  "description": "The MIME content type of the attachment.",
@@ -817,11 +817,8 @@
817
817
  "type": "array"
818
818
  },
819
819
  "features": {
820
- "description": "The feature(s) to add the attachment to.",
821
- "items": {
822
- "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
823
- },
824
- "type": "array"
820
+ "$ref": "#/definitions/FeaturesLike",
821
+ "description": "Features to use for the command/operation."
825
822
  },
826
823
  "maps": {
827
824
  "$ref": "MapsLike",
@@ -835,7 +832,6 @@
835
832
  "required": [
836
833
  "contentType",
837
834
  "data",
838
- "features",
839
835
  "maps",
840
836
  "name"
841
837
  ],
@@ -896,53 +892,13 @@
896
892
  },
897
893
  "type": "object"
898
894
  },
899
- "AddNodeOrder": {
900
- "description": "Indicates whether a new point should be added before or after the active point in a sketch.",
901
- "enum": [
902
- "add-after-active",
903
- "add-before-active"
904
- ],
905
- "type": "string"
906
- },
907
- "AddNodeToGeometryArgs": {
908
- "additionalProperties": false,
909
- "description": "Deprecated - Mobile users should rather use \"geometry.add-point\"; Web users should use \"sketching.add-point\" with {@link AddPointArgs} or \"sketching.insert-point\" with {@link InsertPointArgs} instead.",
910
- "properties": {
911
- "geometry": {
912
- "$ref": "#/definitions/@arcgis.core.unionTypes.GeometryUnion",
913
- "description": "The initial geometry to add the point to. Can be null."
914
- },
915
- "geometryType": {
916
- "description": "The type of geometry to create if the initial geometry is null. In VertiGIS Studio Mobile, this value must be 'polygon' or 'polyline'. In VertiGIS Studio Web, this value may also be null if the point being added is intended to be added to the active sketch.",
917
- "type": "string"
918
- },
919
- "maps": {
920
- "$ref": "MapsLike",
921
- "description": "Map(s) to use for the command/operation."
922
- },
923
- "node": {
924
- "$ref": "#/definitions/@arcgis.core.unionTypes.GeometryUnion",
925
- "description": "A point geometry to add to the initial geometry. In VertiGIS Studio Web, this value may be null if the intention is to add a point at the position of the active point of an active sketch."
926
- },
927
- "nodeOrder": {
928
- "$ref": "#/definitions/AddNodeOrder",
929
- "description": "Indicates whether the new point should be added before or after the active point in the sketch. Not supported by VertiGIS Studio Mobile."
930
- }
931
- },
932
- "required": [
933
- "geometry",
934
- "geometryType",
935
- "node"
936
- ],
937
- "type": "object"
938
- },
939
895
  "AddPointArgs": {
940
896
  "additionalProperties": false,
941
897
  "description": "Arguments for the \"sketching.add-point\" command.",
942
898
  "properties": {
943
899
  "geometry": {
944
900
  "$ref": "#/definitions/@arcgis.core.unionTypes.GeometryUnion",
945
- "description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by Mobile."
901
+ "description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by VertiGIS Studio Mobile."
946
902
  },
947
903
  "maps": {
948
904
  "$ref": "MapsLike",
@@ -968,7 +924,7 @@
968
924
  },
969
925
  "initialPosition": {
970
926
  "$ref": "MessageBoxPosition",
971
- "description": "Where the dialog appears in the app when it is created. Defaults to center position. Web only."
927
+ "description": "Where the dialog appears in the app when it is created. Defaults to \"center\" position. Web only."
972
928
  },
973
929
  "isDraggable": {
974
930
  "description": "Whether the dialog is draggable or not. Defaults to true. Web only.",
@@ -1030,7 +986,7 @@
1030
986
  "type": "number"
1031
987
  },
1032
988
  "pluginSettings": {
1033
- "description": "Web only. Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
989
+ "description": "Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings. Web only."
1034
990
  },
1035
991
  "symbol": {
1036
992
  "anyOf": [
@@ -1159,7 +1115,7 @@
1159
1115
  },
1160
1116
  "initialPosition": {
1161
1117
  "$ref": "MessageBoxPosition",
1162
- "description": "Where the dialog appears in the app when it is created. Defaults to center position. Web only."
1118
+ "description": "Where the dialog appears in the app when it is created. Defaults to \"center\" position. Web only."
1163
1119
  },
1164
1120
  "isDraggable": {
1165
1121
  "description": "Whether the dialog is draggable or not. Defaults to true. Web only.",
@@ -1608,7 +1564,7 @@
1608
1564
  "type": "string"
1609
1565
  },
1610
1566
  "pluginSettings": {
1611
- "description": "Web only. Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
1567
+ "description": "Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
1612
1568
  },
1613
1569
  "showNotifications": {
1614
1570
  "description": "Whether to show UI notifications. Defaults to `true`.",
@@ -1688,7 +1644,7 @@
1688
1644
  "type": "string"
1689
1645
  },
1690
1646
  "pluginSettings": {
1691
- "description": "Web only. Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
1647
+ "description": "Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
1692
1648
  },
1693
1649
  "relatedFeatureSource": {
1694
1650
  "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource",
@@ -1868,7 +1824,7 @@
1868
1824
  "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes."
1869
1825
  },
1870
1826
  "pluginSettings": {
1871
- "description": "Web only. Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
1827
+ "description": "Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
1872
1828
  },
1873
1829
  "showNotifications": {
1874
1830
  "description": "Whether to show UI notifications. Will default to `true`.",
@@ -2714,7 +2670,7 @@
2714
2670
  "type": "boolean"
2715
2671
  },
2716
2672
  "sources": {
2717
- "description": "The feature sources to identify. Can be used instead of or in addition to \"maps\". Not supported in VertiGIS Studio Mobile (use \"maps\").",
2673
+ "description": "The feature sources to identify. Can be used instead of or in addition to \"maps\". Not supported in VertiGIS Studio Mobile (use \"maps\"). Source will be used in addition to the maps.",
2718
2674
  "items": {
2719
2675
  "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
2720
2676
  },
@@ -2736,7 +2692,7 @@
2736
2692
  "properties": {
2737
2693
  "geometry": {
2738
2694
  "$ref": "#/definitions/@arcgis.core.unionTypes.GeometryUnion",
2739
- "description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by Mobile."
2695
+ "description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by VertiGIS Studio Mobile."
2740
2696
  },
2741
2697
  "maps": {
2742
2698
  "$ref": "MapsLike",
@@ -2833,7 +2789,7 @@
2833
2789
  "additionalProperties": false,
2834
2790
  "properties": {
2835
2791
  "accountId": {
2836
- "description": "The accountId (orgId) that we want to check licensing.",
2792
+ "description": "The accountId (orgId) that we want to check licensing for.",
2837
2793
  "type": "string"
2838
2794
  },
2839
2795
  "applicationName": {
@@ -2841,7 +2797,7 @@
2841
2797
  "type": "string"
2842
2798
  },
2843
2799
  "sku": {
2844
- "description": "Overwrite the SKU for license check.",
2800
+ "description": "Overwrite the default SKU (if any) for license checking.",
2845
2801
  "type": "string"
2846
2802
  }
2847
2803
  },
@@ -3421,7 +3377,7 @@
3421
3377
  "type": "string"
3422
3378
  }
3423
3379
  ],
3424
- "description": "Argument used in case when we have only 1 map in the app or when the first active map should be used. Basemap extension ID or the basemap self. If more than one basemap is specified, only the first one is used."
3380
+ "description": "Argument used in case when we have only 1 map in the app or when the first active map should be used. Basemap extension ID or the basemap itself. If more than one basemap is specified, only the first one is used."
3425
3381
  },
3426
3382
  "SetBasemapArgs": {
3427
3383
  "anyOf": [
@@ -3445,7 +3401,7 @@
3445
3401
  },
3446
3402
  "SetBasemapWithTargetMapArg": {
3447
3403
  "additionalProperties": false,
3448
- "description": "Argument used in case when we have more than 1 map in the app, and we need to pass the target map from outside (eg basemap picker in VertiGIS Studio Web).",
3404
+ "description": "Argument used in case when we have more than 1 map in the app, and we need to pass the target map from outside (e.g. basemap picker in VertiGIS Studio Web).",
3449
3405
  "properties": {
3450
3406
  "basemap": {
3451
3407
  "$ref": "#/definitions/SetBasemapArg",
@@ -4145,7 +4101,7 @@
4145
4101
  "type": "array"
4146
4102
  }
4147
4103
  ],
4148
- "description": "The blob(s) that contains the file attachment(s). If multiple attachments are specified, all attachment will be added to the feature(s)."
4104
+ "description": "The blob(s) that contains the file attachment(s). If multiple attachments are specified, all attachments will be added to the feature(s)."
4149
4105
  },
4150
4106
  "features": {
4151
4107
  "$ref": "#/definitions/Features",
@@ -4278,7 +4234,7 @@
4278
4234
  "$ref": "Principal"
4279
4235
  },
4280
4236
  "auth.sign-in": {
4281
- "description": "Initiates user sign-in if they aren't already signed in. The argument indicates whether or not the map should be reloaded when the sign-in is complete. This argument is optional and only supported by VertiGIS Studio Mobile.",
4237
+ "description": "Initiates user sign-in if they aren't already signed in. The argument indicates whether or not the map should be reloaded when the sign-in is complete. This argument is optional and only supported by VertiGIS Studio Mobile. Default is true.",
4282
4238
  "enum": [
4283
4239
  "auth.sign-in"
4284
4240
  ]
@@ -4290,7 +4246,7 @@
4290
4246
  ]
4291
4247
  },
4292
4248
  "auth.sign-out": {
4293
- "description": "Signs the user out. The argument indicates whether or not the map should be reloaded when the sign-out is complete. This argument is optional and only supported by VertiGIS Studio Mobile.",
4249
+ "description": "Signs the user out. The argument indicates whether or not the map should be reloaded when the sign-out is complete. This argument is optional and only supported by VertiGIS Studio Mobile. Default is true.",
4294
4250
  "enum": [
4295
4251
  "auth.sign-out"
4296
4252
  ]
@@ -4599,7 +4555,7 @@
4599
4555
  ]
4600
4556
  },
4601
4557
  "edit.display-add-feature": {
4602
- "description": "Begin an interactive feature editing session with a new feature. `DisplayAddFeatureArgs` is not supported on Mobile.\n\n**Example:** Create and allow the user to edit a new feature with an initial attributes collection. If no geometry is provided in context they will be asked to select one.\n\n_Note:_ $map1.map.extension is the output of a 'Get Map' activity run in Web by Workflow. When the map and/or layer are provided in the context of a command chain these parameters can be omitted.\n\n```\n{\n \"editAttributes\": true,\n \"editGeometry\": true,\n \"featureAttributes\": {\n \"ASSET_ID\": \"WFH001234\"\n },\n \"layers\": \"Victoria_Fire_Hydrants_8780\",\n \"maps\": $map1.map.extension\n}\n```",
4558
+ "description": "Begin an interactive feature editing session with a new feature. `DisplayAddFeatureArgs` is not supported on Mobile.\n\n**Example:** Create and allow the user to edit a new feature with an initial attributes collection. If no geometry is provided in context they will be asked to select one.\n\n_Note:_ \"maps\" argument can be the output of a 'Get Map' activity run in Web by Workflow or coming from a previous operation in the action chain. When the map and/or layer are provided in the context of a command chain these parameters can be omitted.\n\n```\n{\n \"editAttributes\": true,\n \"editGeometry\": true,\n \"featureAttributes\": {\n \"ASSET_ID\": \"WFH001234\"\n },\n \"layers\": \"Victoria_Fire_Hydrants_8780\"\n}\n```",
4603
4559
  "enum": [
4604
4560
  "edit.display-add-feature"
4605
4561
  ]
@@ -4615,7 +4571,7 @@
4615
4571
  ]
4616
4572
  },
4617
4573
  "edit.display-add-related-feature": {
4618
- "description": "Begin an interactive feature editing session for a new related feature. The specified feature will be the original feature that the new related feature will be added to in the relationship.\n\n**Example:** Create and edit a new record on a related table, with the option to add attachments. Make sure the 'COMMENTS' field is included in the editable attributes and make it required.\n\n_Notes:_.\n\n1. The feature used here must come from the running viewer, and cannot be an ad-hoc feature created from a JSON object. For example, you can use the output of `results.get-active-features`, or the feature provided in a command chain context.\n2. `editableExpression` and `requiredExpression` both take an arcade expression, and here the string \"true\" is just a simple arcade expression that always returns true. You can also use a more complex expression, or reference one from your webmap.\n\n```\n{\n \"editAttributes\": true,\n \"editAttachments\": true,\n \"features\": $runOperation1.result,\n \"relationshipId\": \"1\",\n \"fieldElements\": [\n {\n \"fieldName\": \"COMMENTS\",\n \"editableExpression\": \"true\",\n \"requiredExpression\": \"true\"\n }\n ]\n}\n```",
4574
+ "description": "Begin an interactive feature editing session for a new related feature. The specified feature will be the original feature that the new related feature will be added to in the relationship.\n\n**Example:** Create and edit a new record on a related table, with the option to add attachments. Make sure the 'COMMENTS' field is included in the editable attributes and make it required.\n\n_Notes:_.\n\n1. The feature used here must come from the running viewer, and cannot be an ad-hoc feature created from a JSON object. For example, you can use the output of `results.get-active-features`, or the feature provided in a command chain context.\n2. `editableExpression` and `requiredExpression` both take an Arcade expression, and here the string \"true\" is just a simple Arcade expression that always returns true. You can also use a more complex expression, or reference one from your webmap.\n\n```\n{\n \"editAttributes\": true,\n \"editAttachments\": true,\n \"relationshipId\": \"1\",\n \"fieldElements\": [\n {\n \"fieldName\": \"COMMENTS\",\n \"editableExpression\": \"true\",\n \"requiredExpression\": \"true\"\n }\n ]\n}\n```",
4619
4575
  "enum": [
4620
4576
  "edit.display-add-related-feature"
4621
4577
  ]
@@ -14946,13 +14902,13 @@
14946
14902
  ]
14947
14903
  },
14948
14904
  "results.display": {
14949
- "description": "Presents features to the user within any components that can display features, such as a feature list, feature table, or feature details component. The argument is the features to display, or an object specifying both features and the target results component to update (Web only).",
14905
+ "description": "Presents features to the user within any components that can display features, such as a feature list, feature table, or feature details component. The argument is the features to display, or an object specifying both features and the target results component to update (Web only). If features are specified, they will overwrite any incoming features from previous operations up the action chain.",
14950
14906
  "enum": [
14951
14907
  "results.display"
14952
14908
  ]
14953
14909
  },
14954
14910
  "results.display-details": {
14955
- "description": "Presents feature details to the user within the feature-details component. The argument is the feature(s) to display, or an object specifying both features and the target results component to update (Web only).",
14911
+ "description": "Presents feature details to the user within the feature-details component. The argument is the feature(s) to display, or an object specifying both features and the target results component to update (this object, UpdateResultsFeaturesArgs, is Web only).",
14956
14912
  "enum": [
14957
14913
  "results.display-details"
14958
14914
  ]
@@ -15137,18 +15093,6 @@
15137
15093
  "search.clear"
15138
15094
  ]
15139
15095
  },
15140
- "sketching.add-node-to-geometry": {
15141
- "description": "Deprecated - Mobile users should rather use \"geometry.add-point\"; Web users should use \"sketching.add-point\" or \"sketching.insert-point\" instead.",
15142
- "enum": [
15143
- "sketching.add-node-to-geometry"
15144
- ]
15145
- },
15146
- "sketching.add-node-to-geometry:input": {
15147
- "$ref": "#/definitions/AddNodeToGeometryArgs"
15148
- },
15149
- "sketching.add-node-to-geometry:output": {
15150
- "$ref": "#/definitions/@arcgis.core.unionTypes.GeometryUnion"
15151
- },
15152
15096
  "sketching.add-point": {
15153
15097
  "description": "Adds a point to polygon, polyline, or multipoint using the selected index as the point to insert after.",
15154
15098
  "enum": [
@@ -16699,22 +16643,6 @@
16699
16643
  ],
16700
16644
  "type": "object"
16701
16645
  },
16702
- {
16703
- "additionalProperties": false,
16704
- "properties": {
16705
- "arguments": {
16706
- "$ref": "#/definitions/sketching.add-node-to-geometry:input"
16707
- },
16708
- "name": {
16709
- "$ref": "#/definitions/sketching.add-node-to-geometry"
16710
- }
16711
- },
16712
- "required": [
16713
- "name",
16714
- "arguments"
16715
- ],
16716
- "type": "object"
16717
- },
16718
16646
  {
16719
16647
  "additionalProperties": false,
16720
16648
  "properties": {
@@ -16878,9 +16806,6 @@
16878
16806
  {
16879
16807
  "$ref": "#/definitions/results.upload-data-to-features"
16880
16808
  },
16881
- {
16882
- "$ref": "#/definitions/sketching.add-node-to-geometry"
16883
- },
16884
16809
  {
16885
16810
  "$ref": "#/definitions/sketching.capture-geometry"
16886
16811
  },
@@ -226,7 +226,7 @@
226
226
  "description": "Arguments for the \"geolocation.status-changed\" event.",
227
227
  "properties": {
228
228
  "isEnabled": {
229
- "description": "Indicates whether the geolocation is now enabled.",
229
+ "description": "Indicates whether the geolocation is enabled.",
230
230
  "type": "boolean"
231
231
  }
232
232
  },
@@ -314,7 +314,7 @@
314
314
  },
315
315
  "layers": {
316
316
  "$ref": "#/definitions/LayersLike",
317
- "description": "The layer whose visibility was changed. Web only."
317
+ "description": "The layer(s) whose visibility was changed. Web only."
318
318
  }
319
319
  },
320
320
  "type": "object"
@@ -697,7 +697,7 @@
697
697
  },
698
698
  "portalType": {
699
699
  "$ref": "#/definitions/PortalType",
700
- "description": "The type of Portal: AGOL or Enterprise."
700
+ "description": "The type of Portal: AGOL or ArcGISEnterprise."
701
701
  },
702
702
  "requestInfo": {
703
703
  "description": "Information about the resource that is required to sign in. Not available in VertiGIS Studio Web. Will be an instance of esri.security.CredentialRequestInfo for VertiGIS Studio Mobile."
@@ -723,7 +723,7 @@
723
723
  },
724
724
  "portalType": {
725
725
  "$ref": "#/definitions/PortalType",
726
- "description": "The type of Portal: AGOL or Enterprise."
726
+ "description": "The type of Portal: AGOL or ArcGISEnterprise."
727
727
  },
728
728
  "requestInfo": {
729
729
  "description": "Information about the resource that is required to sign in. Not available in VertiGIS Studio Web. Will be an instance of esri.security.CredentialRequestInfo for VertiGIS Studio Mobile."
@@ -797,6 +797,7 @@
797
797
  },
798
798
  "TimeSpan": {
799
799
  "additionalProperties": false,
800
+ "description": "{@link https://learn.microsoft.com/en-us/dotnet/api/system.timespan?view=net-9.0}.",
800
801
  "type": "object"
801
802
  },
802
803
  "VisualVariableJson": {