@vertigis/viewer-spec 45.0.0 → 46.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.
@@ -740,7 +740,7 @@
740
740
  },
741
741
  "AddNodeToGeometryArgs": {
742
742
  "additionalProperties": false,
743
- "description": "Arguments for the \"sketching.add-node-to-geometry\" operation.",
743
+ "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.",
744
744
  "properties": {
745
745
  "geometry": {
746
746
  "$ref": "#/definitions/esri.Geometry",
@@ -770,6 +770,28 @@
770
770
  ],
771
771
  "type": "object"
772
772
  },
773
+ "AddPointArgs": {
774
+ "additionalProperties": false,
775
+ "description": "Arguments for the \"sketching.add-point\" command.",
776
+ "properties": {
777
+ "geometry": {
778
+ "$ref": "#/definitions/esri.Geometry",
779
+ "description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by Mobile."
780
+ },
781
+ "maps": {
782
+ "$ref": "MapsLike",
783
+ "description": "Map(s) to use for the command/operation."
784
+ },
785
+ "newPoint": {
786
+ "$ref": "#/definitions/esri.Point",
787
+ "description": "The new point to be added."
788
+ }
789
+ },
790
+ "required": [
791
+ "newPoint"
792
+ ],
793
+ "type": "object"
794
+ },
773
795
  "AlertCommandArgs": {
774
796
  "additionalProperties": false,
775
797
  "description": "Arguments for the 'ui.alert' command.",
@@ -1019,6 +1041,10 @@
1019
1041
  "$ref": "MapsLike",
1020
1042
  "description": "The maps to activate drawing on. By default it will be all maps."
1021
1043
  },
1044
+ "maxSegments": {
1045
+ "description": "The maximum number of segments permitted for a polyline or polygon sketch. Default is no limit. Mobile only.",
1046
+ "type": "number"
1047
+ },
1022
1048
  "symbol": {
1023
1049
  "anyOf": [
1024
1050
  {
@@ -1303,12 +1329,24 @@
1303
1329
  "description": "Arguments for the \"sketching.delete\" command.",
1304
1330
  "properties": {
1305
1331
  "geometry": {
1306
- "$ref": "#/definitions/esri.Point",
1307
- "description": "The point to delete from the active sketch. Not supported in Geocortex Mobile."
1332
+ "$ref": "#/definitions/esri.Geometry",
1333
+ "description": "The geometry to remove a point from. If this property is not specified, any active vertices will be deleted."
1308
1334
  },
1309
1335
  "maps": {
1310
1336
  "$ref": "MapsLike",
1311
1337
  "description": "Map(s) to use for the command/operation."
1338
+ },
1339
+ "partIndex": {
1340
+ "description": "The index of the part of the geometry that the point should be removed from. Required for polyline and polygon geometry types when the geometry and pointIndex properties are defined.",
1341
+ "type": "number"
1342
+ },
1343
+ "point": {
1344
+ "$ref": "#/definitions/esri.Point",
1345
+ "description": "The point to remove from the geometry. If this property is defined, the 'pointIndex' and 'partIndex' properties are ignored. If no point nor pointIndex/partIndex are specified, any active points will be deleted. If there are no active points, the entire geometry will be deleted."
1346
+ },
1347
+ "pointIndex": {
1348
+ "description": "The index of the point that should be removed from the geometry. If this property is defined, the geometry property must also be defined.",
1349
+ "type": "number"
1312
1350
  }
1313
1351
  },
1314
1352
  "type": "object"
@@ -1326,8 +1364,8 @@
1326
1364
  "type": "boolean"
1327
1365
  },
1328
1366
  "message": {
1329
- "description": "The message to be displayed in the notification.",
1330
- "type": "string"
1367
+ "$ref": "#/definitions/TranslatableText",
1368
+ "description": "The message to be displayed in the notification. Mobile only supports a string for this property."
1331
1369
  },
1332
1370
  "notificationGroup": {
1333
1371
  "description": "Notifications in the same notification group are mutually exclusive, and will supersede one another. Mobile only.",
@@ -1517,6 +1555,10 @@
1517
1555
  "description": "Whether to allow scaling of the edited geometry. Defaults to true.",
1518
1556
  "type": "boolean"
1519
1557
  },
1558
+ "enableVertexEditing": {
1559
+ "description": "Whether to allow the user to add, move, and remove vertices from a geometry. Defaults to true.",
1560
+ "type": "boolean"
1561
+ },
1520
1562
  "scaleMode": {
1521
1563
  "description": "Setting \"free\" allows independent scaling on the x and y axis, \"preserve-aspect-ratio\" constrains scaling to the original aspect ratio. Defaults to \"preserve-aspect-ratio\".",
1522
1564
  "enum": [
@@ -1524,6 +1566,10 @@
1524
1566
  "preserve-aspect-ratio"
1525
1567
  ],
1526
1568
  "type": "string"
1569
+ },
1570
+ "validateGeometry": {
1571
+ "description": "Whether the resulting geometry is validated before it's returned from the operation. If the geometry is invalid upon completion, an error is thrown. Defaults to true.",
1572
+ "type": "boolean"
1527
1573
  }
1528
1574
  },
1529
1575
  "type": "object"
@@ -2487,9 +2533,31 @@
2487
2533
  },
2488
2534
  "type": "object"
2489
2535
  },
2536
+ "GetActivePointsResult": {
2537
+ "additionalProperties": false,
2538
+ "description": "Result returned from the 'sketching.get-active-points' operation.",
2539
+ "properties": {
2540
+ "graphics": {
2541
+ "description": "The active graphic(s).",
2542
+ "items": {
2543
+ "$ref": "#/definitions/esri.Graphic"
2544
+ },
2545
+ "type": "array"
2546
+ },
2547
+ "maps": {
2548
+ "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension",
2549
+ "description": "The map associated with the graphics."
2550
+ }
2551
+ },
2552
+ "required": [
2553
+ "graphics",
2554
+ "maps"
2555
+ ],
2556
+ "type": "object"
2557
+ },
2490
2558
  "GetActiveSketchResult": {
2491
2559
  "additionalProperties": false,
2492
- "description": "Result returned from the 'sketching.get-active-sketch' and 'sketching.get-active-node' operations.",
2560
+ "description": "Result returned from the 'sketching.get-active-sketch' operation.",
2493
2561
  "properties": {
2494
2562
  "graphics": {
2495
2563
  "description": "The active graphic(s).",
@@ -2509,6 +2577,28 @@
2509
2577
  ],
2510
2578
  "type": "object"
2511
2579
  },
2580
+ "GetAdjacentPointArgs": {
2581
+ "additionalProperties": false,
2582
+ "description": "Arguments for the 'sketching.get-adjacent-point' operation.",
2583
+ "properties": {
2584
+ "maps": {
2585
+ "$ref": "MapsLike",
2586
+ "description": "Map(s) to use for the command/operation."
2587
+ },
2588
+ "referencePoint": {
2589
+ "$ref": "#/definitions/esri.Point",
2590
+ "description": "A point geometry that represents a vertex within an active editing graphic."
2591
+ },
2592
+ "relativeOffset": {
2593
+ "$ref": "#/definitions/PointOffset",
2594
+ "description": "Specifies if the desired point comes before or after the referencePoint. Defaults to 'after'."
2595
+ }
2596
+ },
2597
+ "required": [
2598
+ "referencePoint"
2599
+ ],
2600
+ "type": "object"
2601
+ },
2512
2602
  "GetCoordinateArgs": {
2513
2603
  "additionalProperties": false,
2514
2604
  "description": "Arguments for the map.get-user-coordinates-input operation.",
@@ -2840,6 +2930,36 @@
2840
2930
  ],
2841
2931
  "type": "object"
2842
2932
  },
2933
+ "InsertPointArgs": {
2934
+ "additionalProperties": false,
2935
+ "description": "Arguments for the \"sketching.insert-point\" command.",
2936
+ "properties": {
2937
+ "geometry": {
2938
+ "$ref": "#/definitions/esri.Geometry",
2939
+ "description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by Mobile."
2940
+ },
2941
+ "maps": {
2942
+ "$ref": "MapsLike",
2943
+ "description": "Map(s) to use for the command/operation."
2944
+ },
2945
+ "newPoint": {
2946
+ "$ref": "#/definitions/esri.Point",
2947
+ "description": "The new point to be added."
2948
+ },
2949
+ "partIndex": {
2950
+ "description": "The index of the part to which the point will be added. If null, the last part will be used.",
2951
+ "type": "number"
2952
+ },
2953
+ "pointIndex": {
2954
+ "description": "The index at which the point will be added. If null, the point will be added as the last point.",
2955
+ "type": "number"
2956
+ }
2957
+ },
2958
+ "required": [
2959
+ "newPoint"
2960
+ ],
2961
+ "type": "object"
2962
+ },
2843
2963
  "ItemConfig": {
2844
2964
  "additionalProperties": {
2845
2965
  },
@@ -3006,6 +3126,23 @@
3006
3126
  ],
3007
3127
  "type": "string"
3008
3128
  },
3129
+ "Maps": {
3130
+ "anyOf": [
3131
+ {
3132
+ "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension"
3133
+ },
3134
+ {
3135
+ "$ref": "#/definitions/HasMaps"
3136
+ },
3137
+ {
3138
+ "items": {
3139
+ "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension"
3140
+ },
3141
+ "type": "array"
3142
+ }
3143
+ ],
3144
+ "description": "One or more map extensions, or an object that has map extensions."
3145
+ },
3009
3146
  "MapsLike": {
3010
3147
  "anyOf": [
3011
3148
  {
@@ -3149,7 +3286,7 @@
3149
3286
  },
3150
3287
  "MoveNodeArgs": {
3151
3288
  "additionalProperties": false,
3152
- "description": "The arguments for the \"sketching.move-node\" command.",
3289
+ "description": "Deprecated - use \"sketching.move-point\" with {@link MovePointArgs}.",
3153
3290
  "properties": {
3154
3291
  "maps": {
3155
3292
  "$ref": "MapsLike",
@@ -3169,6 +3306,45 @@
3169
3306
  ],
3170
3307
  "type": "object"
3171
3308
  },
3309
+ "MovePointArgs": {
3310
+ "additionalProperties": false,
3311
+ "description": "The arguments for the \"sketching.move-point\" command.",
3312
+ "properties": {
3313
+ "distance": {
3314
+ "$ref": "#/definitions/Vector2D",
3315
+ "description": "An amount to move the point(s) on the X and Y axes. If the newPoint property is defined, this property will be ignored."
3316
+ },
3317
+ "geometry": {
3318
+ "$ref": "#/definitions/esri.Geometry",
3319
+ "description": "The geometry where the point exists, if multiple are present in an active editing session. This property is required if pointIndex and/or partIndex are defined."
3320
+ },
3321
+ "maps": {
3322
+ "$ref": "MapsLike",
3323
+ "description": "Map(s) to use for the command/operation."
3324
+ },
3325
+ "newPoint": {
3326
+ "$ref": "#/definitions/esri.Point",
3327
+ "description": "The new point that will replace the target point within an active sketch or edit geometry. If this property is defined, the distance property will be ignored."
3328
+ },
3329
+ "partIndex": {
3330
+ "description": "The part of the geometry where the point exists. Required for polyline and polygon geometry types when the geometry and pointIndex properties are defined.",
3331
+ "type": "number"
3332
+ },
3333
+ "point": {
3334
+ "$ref": "#/definitions/esri.Point",
3335
+ "description": "The point to move, which must already exist within the active sketch. If this property is undefined and no geometry and pointIndex are specified, the active point(s) will be moved."
3336
+ },
3337
+ "pointIndex": {
3338
+ "description": "The index of the point. If this property is defined, the 'geometry' property must also be defined.",
3339
+ "type": "number"
3340
+ },
3341
+ "units": {
3342
+ "$ref": "#/definitions/LengthUnits",
3343
+ "description": "The units of the above distance. Optional, will default to the units used by the measurement service associated with the map."
3344
+ }
3345
+ },
3346
+ "type": "object"
3347
+ },
3172
3348
  "NarrateArgs": {
3173
3349
  "anyOf": [
3174
3350
  {
@@ -3255,6 +3431,14 @@
3255
3431
  ],
3256
3432
  "type": "string"
3257
3433
  },
3434
+ "PointOffset": {
3435
+ "description": "Specifies if a desired point comes before or after a given reference point.",
3436
+ "enum": [
3437
+ "after",
3438
+ "before"
3439
+ ],
3440
+ "type": "string"
3441
+ },
3258
3442
  "ProjectArgs": {
3259
3443
  "additionalProperties": false,
3260
3444
  "description": "Arguments for the geometry.project operation.",
@@ -3758,6 +3942,43 @@
3758
3942
  ],
3759
3943
  "type": "object"
3760
3944
  },
3945
+ "SetActivePointsArgs": {
3946
+ "additionalProperties": false,
3947
+ "description": "The arguments for the \"sketching.set-active-points\" command.",
3948
+ "properties": {
3949
+ "geometry": {
3950
+ "$ref": "#/definitions/esri.Geometry",
3951
+ "description": "The geometry where the new active point exists, if multiple are present in an active editing session. This property is required if pointIndex and/or partIndex are defined."
3952
+ },
3953
+ "maps": {
3954
+ "$ref": "MapsLike",
3955
+ "description": "Map(s) to use for the command/operation."
3956
+ },
3957
+ "partIndex": {
3958
+ "description": "The part of the geometry where the new active point exists. Required for polyline and polygon geometry types when the geometry and pointIndex properties are defined.",
3959
+ "type": "number"
3960
+ },
3961
+ "pointIndex": {
3962
+ "description": "The index of the new active point. If this property is defined, the geometry property must be defined.",
3963
+ "type": "number"
3964
+ },
3965
+ "points": {
3966
+ "anyOf": [
3967
+ {
3968
+ "$ref": "#/definitions/esri.Point"
3969
+ },
3970
+ {
3971
+ "items": {
3972
+ "$ref": "#/definitions/esri.Point"
3973
+ },
3974
+ "type": "array"
3975
+ }
3976
+ ],
3977
+ "description": "The new point(s) that will become active in the sketch or editing session. Sketching only supports one active point; if multiple are specified, then only the first will be set as active."
3978
+ }
3979
+ },
3980
+ "type": "object"
3981
+ },
3761
3982
  "SetBasemapArg": {
3762
3983
  "anyOf": [
3763
3984
  {
@@ -4102,7 +4323,7 @@
4102
4323
  },
4103
4324
  "SwitchActiveNodeArgs": {
4104
4325
  "additionalProperties": false,
4105
- "description": "The arguments for the \"sketching.switch-active-node\" command.",
4326
+ "description": "Deprecated - use \"sketching.set-active-points\" with {@link SetActivePointsArgs}.",
4106
4327
  "properties": {
4107
4328
  "maps": {
4108
4329
  "$ref": "MapsLike",
@@ -4509,6 +4730,61 @@
4509
4730
  ],
4510
4731
  "type": "object"
4511
4732
  },
4733
+ "TranslatableText": {
4734
+ "anyOf": [
4735
+ {
4736
+ "$ref": "#/definitions/TranslateOptions"
4737
+ },
4738
+ {
4739
+ "type": "string"
4740
+ }
4741
+ ],
4742
+ "description": "A translatable string, either a language string or a language string with arguments to pass into it."
4743
+ },
4744
+ "TranslateOptions": {
4745
+ "additionalProperties": false,
4746
+ "description": "The available options for the Locale Service translate function.",
4747
+ "properties": {
4748
+ "args": {
4749
+ "description": "The values to substitute into the format string if it contains substitution placeholders (see utilities/string/format in Geocortex API).",
4750
+ "items": {
4751
+ },
4752
+ "type": "array"
4753
+ },
4754
+ "currency": {
4755
+ "description": "The default unit of currency to use when formatting currency. See {@link NumberSettings.currency}.",
4756
+ "type": "string"
4757
+ },
4758
+ "dateFormat": {
4759
+ "description": "The default format to use when formatting dates. See {@link DateFormatter.format}.",
4760
+ "type": "string"
4761
+ },
4762
+ "fractionalDigits": {
4763
+ "description": "The default number of digits to show after the decimal point when formatting numbers. See {@link NumberSettings.fractionalDigits}.",
4764
+ "type": "number"
4765
+ },
4766
+ "locale": {
4767
+ "description": "The locale to use for translation. If not specified, the current locale will be used.",
4768
+ "type": "string"
4769
+ },
4770
+ "numberFormat": {
4771
+ "description": "The default format to use when formatting numbers. See {@link NumberFormatter.format}.",
4772
+ "type": "string"
4773
+ },
4774
+ "text": {
4775
+ "description": "The string to translate. If the text is a language resource key, then a localized version of that resource will be used if one exists, otherwise the original text is returned.",
4776
+ "type": "string"
4777
+ },
4778
+ "timeZone": {
4779
+ "description": "The time zone of a date being formatted.",
4780
+ "type": "string"
4781
+ }
4782
+ },
4783
+ "required": [
4784
+ "text"
4785
+ ],
4786
+ "type": "object"
4787
+ },
4512
4788
  "UpdateChartDefinitionArgs": {
4513
4789
  "additionalProperties": false,
4514
4790
  "description": "Arguments for the charts.update-definition command.",
@@ -16648,7 +16924,7 @@
16648
16924
  ]
16649
16925
  },
16650
16926
  "sketching.add-node-to-geometry": {
16651
- "description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry. Deprecated in Mobile, use geometry.add-point instead.",
16927
+ "description": "Deprecated - Mobile users should rather use \"geometry.add-point\"; Web users should use \"sketching.add-point\" or \"sketching.insert-point\" instead.",
16652
16928
  "enum": [
16653
16929
  "sketching.add-node-to-geometry"
16654
16930
  ]
@@ -16659,6 +16935,15 @@
16659
16935
  "sketching.add-node-to-geometry:output": {
16660
16936
  "$ref": "#/definitions/esri.Geometry"
16661
16937
  },
16938
+ "sketching.add-point": {
16939
+ "description": "Adds a point to polygon, polyline, or multipoint using the selected index as the point to insert after.",
16940
+ "enum": [
16941
+ "sketching.add-point"
16942
+ ]
16943
+ },
16944
+ "sketching.add-point:input": {
16945
+ "$ref": "#/definitions/AddPointArgs"
16946
+ },
16662
16947
  "sketching.cancel": {
16663
16948
  "description": "Cancels the current geometry edit or capture operation.",
16664
16949
  "enum": [
@@ -16678,13 +16963,20 @@
16678
16963
  "$ref": "#/definitions/CaptureGeometryResult"
16679
16964
  },
16680
16965
  "sketching.delete": {
16681
- "description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied and a geometry editing session is active, the entire geometry will be deleted.",
16966
+ "description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied, any active points in the session will be deleted. If there are no active points in the session, the entire geometry will be deleted.",
16682
16967
  "enum": [
16683
16968
  "sketching.delete"
16684
16969
  ]
16685
16970
  },
16686
16971
  "sketching.delete:input": {
16687
- "$ref": "#/definitions/DeleteGeometryArgs"
16972
+ "anyOf": [
16973
+ {
16974
+ "$ref": "#/definitions/DeleteGeometryArgs"
16975
+ },
16976
+ {
16977
+ "type": "null"
16978
+ }
16979
+ ]
16688
16980
  },
16689
16981
  "sketching.disable-free-scale-mode": {
16690
16982
  "description": "Disables free scaling while editing geometries.",
@@ -16732,16 +17024,28 @@
16732
17024
  ]
16733
17025
  },
16734
17026
  "sketching.get-active-node": {
16735
- "description": "Returns the active point graphic of the active sketch on a map.",
17027
+ "description": "Deprecated - use 'sketching.get-active-points' instead.",
16736
17028
  "enum": [
16737
17029
  "sketching.get-active-node"
16738
17030
  ]
16739
17031
  },
16740
17032
  "sketching.get-active-node:input": {
16741
- "type": "string"
17033
+ "$ref": "Maps"
16742
17034
  },
16743
17035
  "sketching.get-active-node:output": {
16744
- "$ref": "#/definitions/GetActiveSketchResult"
17036
+ "$ref": "#/definitions/GetActivePointsResult"
17037
+ },
17038
+ "sketching.get-active-points": {
17039
+ "description": "Returns the active point graphics of the active sketch or edit session on a map.",
17040
+ "enum": [
17041
+ "sketching.get-active-points"
17042
+ ]
17043
+ },
17044
+ "sketching.get-active-points:input": {
17045
+ "$ref": "Maps"
17046
+ },
17047
+ "sketching.get-active-points:output": {
17048
+ "$ref": "#/definitions/GetActivePointsResult"
16745
17049
  },
16746
17050
  "sketching.get-active-sketch": {
16747
17051
  "description": "Returns the active sketch graphic from a map.",
@@ -16752,6 +17056,27 @@
16752
17056
  "sketching.get-active-sketch:output": {
16753
17057
  "$ref": "#/definitions/GetActiveSketchResult"
16754
17058
  },
17059
+ "sketching.get-adjacent-point": {
17060
+ "description": "Return the adjacent point graphic(s), relative to a given vertex that's a part of an active editing or sketching session. This operation is only supported for Polyline and Polygon geometries.",
17061
+ "enum": [
17062
+ "sketching.get-adjacent-point"
17063
+ ]
17064
+ },
17065
+ "sketching.get-adjacent-point:input": {
17066
+ "$ref": "#/definitions/GetAdjacentPointArgs"
17067
+ },
17068
+ "sketching.get-adjacent-point:output": {
17069
+ "$ref": "#/definitions/GetActiveSketchResult"
17070
+ },
17071
+ "sketching.insert-point": {
17072
+ "description": "Inserts a point into a polygon, polyline, or multipoint at the specified index. If the partIndex is null, then the last part is used. If the pointIndex is null, then the new point is inserted at the end.",
17073
+ "enum": [
17074
+ "sketching.insert-point"
17075
+ ]
17076
+ },
17077
+ "sketching.insert-point:input": {
17078
+ "$ref": "#/definitions/InsertPointArgs"
17079
+ },
16755
17080
  "sketching.move-geometry": {
16756
17081
  "description": "Allows the user to move an existing geometry by a specified amount. Returns the altered geometry or the supplied feature with altered geometry applied. Will also pass through any map or symbol associated with the command chain, but only the map is required for this operation.",
16757
17082
  "enum": [
@@ -16765,7 +17090,7 @@
16765
17090
  "$ref": "#/definitions/GeometryOperationBase"
16766
17091
  },
16767
17092
  "sketching.move-node": {
16768
- "description": "Moves a point within an active sketch to a new location.",
17093
+ "description": "Deprecated - use 'sketching.move-point' instead.",
16769
17094
  "enum": [
16770
17095
  "sketching.move-node"
16771
17096
  ]
@@ -16773,6 +17098,15 @@
16773
17098
  "sketching.move-node:input": {
16774
17099
  "$ref": "#/definitions/MoveNodeArgs"
16775
17100
  },
17101
+ "sketching.move-point": {
17102
+ "description": "Moves a point within an active sketch to a new location.",
17103
+ "enum": [
17104
+ "sketching.move-point"
17105
+ ]
17106
+ },
17107
+ "sketching.move-point:input": {
17108
+ "$ref": "#/definitions/MovePointArgs"
17109
+ },
16776
17110
  "sketching.redo": {
16777
17111
  "description": "Redoes the last undone edit while editing a geometry.",
16778
17112
  "enum": [
@@ -16806,6 +17140,15 @@
16806
17140
  "sketching.scale-geometry:output": {
16807
17141
  "$ref": "#/definitions/GeometryOperationBase"
16808
17142
  },
17143
+ "sketching.set-active-points": {
17144
+ "description": "Switches the active point of an active sketch.",
17145
+ "enum": [
17146
+ "sketching.set-active-points"
17147
+ ]
17148
+ },
17149
+ "sketching.set-active-points:input": {
17150
+ "$ref": "#/definitions/SetActivePointsArgs"
17151
+ },
16809
17152
  "sketching.set-geometry-mode": {
16810
17153
  "description": "Sets the geometry mode of the geometry editor.",
16811
17154
  "enum": [
@@ -16816,7 +17159,7 @@
16816
17159
  "$ref": "#/definitions/SetGeometryModeArgs"
16817
17160
  },
16818
17161
  "sketching.stop": {
16819
- "description": "Stops geometry capturing or editing on a given map. Returns the current geometry. If validateGeometry parameter is true and geometry is invalid, returns null.",
17162
+ "description": "Stops geometry capturing or editing on a given map. Returns the current geometry. If validateGeometry parameter is true and geometry is invalid, the operation will return null.",
16820
17163
  "enum": [
16821
17164
  "sketching.stop"
16822
17165
  ]
@@ -16835,7 +17178,7 @@
16835
17178
  "$ref": "#/definitions/CaptureGeometryResult"
16836
17179
  },
16837
17180
  "sketching.switch-active-node": {
16838
- "description": "Switches the active point of an active sketch.",
17181
+ "description": "Deprecated - use 'sketching.set-active-points' instead.",
16839
17182
  "enum": [
16840
17183
  "sketching.switch-active-node"
16841
17184
  ]
@@ -18684,6 +19027,22 @@
18684
19027
  ],
18685
19028
  "type": "object"
18686
19029
  },
19030
+ {
19031
+ "additionalProperties": false,
19032
+ "properties": {
19033
+ "arguments": {
19034
+ "$ref": "#/definitions/sketching.add-point:input"
19035
+ },
19036
+ "name": {
19037
+ "$ref": "#/definitions/sketching.add-point"
19038
+ }
19039
+ },
19040
+ "required": [
19041
+ "name",
19042
+ "arguments"
19043
+ ],
19044
+ "type": "object"
19045
+ },
18687
19046
  {
18688
19047
  "additionalProperties": false,
18689
19048
  "properties": {
@@ -18700,6 +19059,22 @@
18700
19059
  ],
18701
19060
  "type": "object"
18702
19061
  },
19062
+ {
19063
+ "additionalProperties": false,
19064
+ "properties": {
19065
+ "arguments": {
19066
+ "$ref": "#/definitions/sketching.insert-point:input"
19067
+ },
19068
+ "name": {
19069
+ "$ref": "#/definitions/sketching.insert-point"
19070
+ }
19071
+ },
19072
+ "required": [
19073
+ "name",
19074
+ "arguments"
19075
+ ],
19076
+ "type": "object"
19077
+ },
18703
19078
  {
18704
19079
  "additionalProperties": false,
18705
19080
  "properties": {
@@ -18716,6 +19091,22 @@
18716
19091
  ],
18717
19092
  "type": "object"
18718
19093
  },
19094
+ {
19095
+ "additionalProperties": false,
19096
+ "properties": {
19097
+ "arguments": {
19098
+ "$ref": "#/definitions/sketching.move-point:input"
19099
+ },
19100
+ "name": {
19101
+ "$ref": "#/definitions/sketching.move-point"
19102
+ }
19103
+ },
19104
+ "required": [
19105
+ "name",
19106
+ "arguments"
19107
+ ],
19108
+ "type": "object"
19109
+ },
18719
19110
  {
18720
19111
  "additionalProperties": false,
18721
19112
  "properties": {
@@ -18732,6 +19123,22 @@
18732
19123
  ],
18733
19124
  "type": "object"
18734
19125
  },
19126
+ {
19127
+ "additionalProperties": false,
19128
+ "properties": {
19129
+ "arguments": {
19130
+ "$ref": "#/definitions/sketching.set-active-points:input"
19131
+ },
19132
+ "name": {
19133
+ "$ref": "#/definitions/sketching.set-active-points"
19134
+ }
19135
+ },
19136
+ "required": [
19137
+ "name",
19138
+ "arguments"
19139
+ ],
19140
+ "type": "object"
19141
+ },
18735
19142
  {
18736
19143
  "additionalProperties": false,
18737
19144
  "properties": {
@@ -19314,6 +19721,9 @@
19314
19721
  {
19315
19722
  "$ref": "#/definitions/search.clear"
19316
19723
  },
19724
+ {
19725
+ "$ref": "#/definitions/sketching.add-point"
19726
+ },
19317
19727
  {
19318
19728
  "$ref": "#/definitions/sketching.cancel"
19319
19729
  },
@@ -19332,12 +19742,21 @@
19332
19742
  {
19333
19743
  "$ref": "#/definitions/sketching.enable-precision-mode"
19334
19744
  },
19745
+ {
19746
+ "$ref": "#/definitions/sketching.insert-point"
19747
+ },
19335
19748
  {
19336
19749
  "$ref": "#/definitions/sketching.move-node"
19337
19750
  },
19751
+ {
19752
+ "$ref": "#/definitions/sketching.move-point"
19753
+ },
19338
19754
  {
19339
19755
  "$ref": "#/definitions/sketching.redo"
19340
19756
  },
19757
+ {
19758
+ "$ref": "#/definitions/sketching.set-active-points"
19759
+ },
19341
19760
  {
19342
19761
  "$ref": "#/definitions/sketching.set-geometry-mode"
19343
19762
  },
@@ -20039,6 +20458,38 @@
20039
20458
  ],
20040
20459
  "type": "object"
20041
20460
  },
20461
+ {
20462
+ "additionalProperties": false,
20463
+ "properties": {
20464
+ "arguments": {
20465
+ "$ref": "#/definitions/sketching.get-active-points:input"
20466
+ },
20467
+ "name": {
20468
+ "$ref": "#/definitions/sketching.get-active-points"
20469
+ }
20470
+ },
20471
+ "required": [
20472
+ "name",
20473
+ "arguments"
20474
+ ],
20475
+ "type": "object"
20476
+ },
20477
+ {
20478
+ "additionalProperties": false,
20479
+ "properties": {
20480
+ "arguments": {
20481
+ "$ref": "#/definitions/sketching.get-adjacent-point:input"
20482
+ },
20483
+ "name": {
20484
+ "$ref": "#/definitions/sketching.get-adjacent-point"
20485
+ }
20486
+ },
20487
+ "required": [
20488
+ "name",
20489
+ "arguments"
20490
+ ],
20491
+ "type": "object"
20492
+ },
20042
20493
  {
20043
20494
  "additionalProperties": false,
20044
20495
  "properties": {
@@ -20400,9 +20851,15 @@
20400
20851
  {
20401
20852
  "$ref": "#/definitions/sketching.get-active-node"
20402
20853
  },
20854
+ {
20855
+ "$ref": "#/definitions/sketching.get-active-points"
20856
+ },
20403
20857
  {
20404
20858
  "$ref": "#/definitions/sketching.get-active-sketch"
20405
20859
  },
20860
+ {
20861
+ "$ref": "#/definitions/sketching.get-adjacent-point"
20862
+ },
20406
20863
  {
20407
20864
  "$ref": "#/definitions/sketching.move-geometry"
20408
20865
  },