@vertigis/viewer-spec 45.1.0 → 46.1.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.
@@ -321,6 +321,29 @@
321
321
  },
322
322
  "type": "object"
323
323
  },
324
+ "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference": {
325
+ "additionalProperties": false,
326
+ "description": "Matches an existing layer.",
327
+ "properties": {
328
+ "id": {
329
+ "description": "The layer's ID.",
330
+ "type": "string"
331
+ },
332
+ "path": {
333
+ "description": "The path to the geodatabase used by an MMAP layer. Mobile only.",
334
+ "type": "string"
335
+ },
336
+ "subtype": {
337
+ "description": "The Layer's type, used for Layer types with multiple possible layer extension mappings.",
338
+ "type": "string"
339
+ },
340
+ "title": {
341
+ "description": "The layer's title.",
342
+ "type": "string"
343
+ }
344
+ },
345
+ "type": "object"
346
+ },
324
347
  "@vertigis.arcgis-extensions.support.Action.Action": {
325
348
  "$ref": "#/definitions/viewer-spec.Action"
326
349
  },
@@ -476,7 +499,7 @@
476
499
  },
477
500
  "AddNodeToGeometryArgs": {
478
501
  "additionalProperties": false,
479
- "description": "Arguments for the \"sketching.add-node-to-geometry\" operation.",
502
+ "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.",
480
503
  "properties": {
481
504
  "geometry": {
482
505
  "$ref": "#/definitions/esri.Geometry",
@@ -696,6 +719,10 @@
696
719
  "$ref": "MapsLike",
697
720
  "description": "The maps to activate drawing on. By default it will be all maps."
698
721
  },
722
+ "maxSegments": {
723
+ "description": "The maximum number of segments permitted for a polyline or polygon sketch. Default is no limit. Mobile only.",
724
+ "type": "number"
725
+ },
699
726
  "symbol": {
700
727
  "anyOf": [
701
728
  {
@@ -751,6 +778,25 @@
751
778
  ],
752
779
  "type": "object"
753
780
  },
781
+ "ClearConstraintsArgs": {
782
+ "additionalProperties": false,
783
+ "description": "Arguments for the \"sketching.clear-constraints\" command.",
784
+ "properties": {
785
+ "clearAngleConstraint": {
786
+ "description": "Indicates whether the angle constraint should be cleared. Defaults to true if not specified.",
787
+ "type": "boolean"
788
+ },
789
+ "clearLengthConstraint": {
790
+ "description": "Indicates whether the length constraint should be cleared. Defaults to true if not specified.",
791
+ "type": "boolean"
792
+ },
793
+ "maps": {
794
+ "$ref": "MapsLike",
795
+ "description": "Map(s) to use for the command/operation."
796
+ }
797
+ },
798
+ "type": "object"
799
+ },
754
800
  "ConfirmOperationArgs": {
755
801
  "additionalProperties": false,
756
802
  "description": "Arguments for the 'ui.confirm' operation.",
@@ -849,12 +895,93 @@
849
895
  "description": "Arguments for the \"sketching.delete\" command.",
850
896
  "properties": {
851
897
  "geometry": {
898
+ "$ref": "#/definitions/esri.Geometry",
899
+ "description": "The geometry to remove a point from. If this property is not specified, any active vertices will be deleted."
900
+ },
901
+ "maps": {
902
+ "$ref": "MapsLike",
903
+ "description": "Map(s) to use for the command/operation."
904
+ },
905
+ "partIndex": {
906
+ "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.",
907
+ "type": "number"
908
+ },
909
+ "point": {
852
910
  "$ref": "#/definitions/esri.Point",
853
- "description": "The point to delete from the active sketch. Not supported in Geocortex Mobile."
911
+ "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."
912
+ },
913
+ "pointIndex": {
914
+ "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.",
915
+ "type": "number"
916
+ }
917
+ },
918
+ "type": "object"
919
+ },
920
+ "DisplayAddFeatureArgs": {
921
+ "additionalProperties": false,
922
+ "description": "Arguments for the \"edit.display-add-features\" command. Web only.",
923
+ "properties": {
924
+ "attributes": {
925
+ "description": "Optional layout XML attributes to be used for the transient UI container."
926
+ },
927
+ "editAttachments": {
928
+ "description": "Whether to allow editing of feature attachments.",
929
+ "type": "boolean"
930
+ },
931
+ "editAttributes": {
932
+ "description": "Whether to allow editing of feature attributes.",
933
+ "type": "boolean"
934
+ },
935
+ "editGeometry": {
936
+ "description": "Whether to allow editing of feature geometry.",
937
+ "type": "boolean"
938
+ },
939
+ "editGeometryOptions": {
940
+ "$ref": "#/definitions/EditGeometryOptions",
941
+ "description": "Options for the geometry editing session."
942
+ },
943
+ "featureAttributes": {
944
+ "description": "A collection of attributes to apply to the new feature."
945
+ },
946
+ "geometry": {
947
+ "$ref": "#/definitions/GeometryLike",
948
+ "description": "The geometry to use for the command/operation."
949
+ },
950
+ "icon": {
951
+ "description": "Optional icon that may be used by the transient UI container.",
952
+ "type": "string"
953
+ },
954
+ "layers": {
955
+ "$ref": "#/definitions/LayersLike",
956
+ "description": "Layer(s) to use for the command/operation."
854
957
  },
855
958
  "maps": {
856
959
  "$ref": "MapsLike",
857
960
  "description": "Map(s) to use for the command/operation."
961
+ },
962
+ "orientation": {
963
+ "description": "The orientation of the template picker.",
964
+ "enum": [
965
+ "horizontal",
966
+ "vertical"
967
+ ],
968
+ "type": "string"
969
+ },
970
+ "parent": {
971
+ "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.",
972
+ "type": "string"
973
+ },
974
+ "showNotifications": {
975
+ "description": "Whether to show UI notifications.",
976
+ "type": "boolean"
977
+ },
978
+ "showTitles": {
979
+ "description": "Whether to show titles on the template picker.",
980
+ "type": "boolean"
981
+ },
982
+ "templateName": {
983
+ "description": "The template to use as a starting point for this feature. Requires a layer. The default or first template will be used if not set.",
984
+ "type": "string"
858
985
  }
859
986
  },
860
987
  "type": "object"
@@ -915,8 +1042,8 @@
915
1042
  "type": "boolean"
916
1043
  },
917
1044
  "message": {
918
- "description": "The message to be displayed in the notification.",
919
- "type": "string"
1045
+ "$ref": "#/definitions/TranslatableText",
1046
+ "description": "The message to be displayed in the notification. Mobile only supports a string for this property."
920
1047
  },
921
1048
  "notificationGroup": {
922
1049
  "description": "Notifications in the same notification group are mutually exclusive, and will supersede one another. Mobile only.",
@@ -967,6 +1094,63 @@
967
1094
  ],
968
1095
  "type": "object"
969
1096
  },
1097
+ "DisplayUpdateFeatureArgs": {
1098
+ "additionalProperties": false,
1099
+ "description": "Arguments for the \"edit.display-update-features\" operation. Web only.",
1100
+ "properties": {
1101
+ "editAttachments": {
1102
+ "description": "Whether to allow editing of feature attachments.",
1103
+ "type": "boolean"
1104
+ },
1105
+ "editAttributes": {
1106
+ "description": "Whether to allow editing of feature attributes.",
1107
+ "type": "boolean"
1108
+ },
1109
+ "editGeometry": {
1110
+ "description": "Whether to allow editing of feature geometry.",
1111
+ "type": "boolean"
1112
+ },
1113
+ "editGeometryOptions": {
1114
+ "$ref": "#/definitions/EditGeometryOptions",
1115
+ "description": "Options for the geometry editing session."
1116
+ },
1117
+ "featureAttributes": {
1118
+ "description": "A collection of attributes to automatically apply to the updated feature."
1119
+ },
1120
+ "features": {
1121
+ "$ref": "#/definitions/FeaturesLike",
1122
+ "description": "Features to use for the command/operation."
1123
+ },
1124
+ "geometry": {
1125
+ "$ref": "#/definitions/GeometryLike",
1126
+ "description": "The geometry to use for the command/operation."
1127
+ },
1128
+ "maps": {
1129
+ "$ref": "MapsLike",
1130
+ "description": "Map(s) to use for the command/operation."
1131
+ },
1132
+ "showNotifications": {
1133
+ "description": "Whether to show UI notifications.",
1134
+ "type": "boolean"
1135
+ }
1136
+ },
1137
+ "type": "object"
1138
+ },
1139
+ "EditCommandArgs": {
1140
+ "additionalProperties": false,
1141
+ "description": "Arguments for the \"edit.add-features\", \"edit.update-features\" and \"edit.delete-features\" commands. Web only.",
1142
+ "properties": {
1143
+ "features": {
1144
+ "$ref": "#/definitions/FeaturesLike",
1145
+ "description": "Features to use for the command/operation."
1146
+ },
1147
+ "showNotifications": {
1148
+ "description": "Whether to show UI notifications.",
1149
+ "type": "boolean"
1150
+ }
1151
+ },
1152
+ "type": "object"
1153
+ },
970
1154
  "EditGeometryArgs": {
971
1155
  "additionalProperties": false,
972
1156
  "description": "Arguments for the \"sketching.edit-geometry\" operation.",
@@ -1052,6 +1236,10 @@
1052
1236
  "description": "Whether to allow scaling of the edited geometry. Defaults to true.",
1053
1237
  "type": "boolean"
1054
1238
  },
1239
+ "enableVertexEditing": {
1240
+ "description": "Whether to allow the user to add, move, and remove vertices from a geometry. Defaults to true.",
1241
+ "type": "boolean"
1242
+ },
1055
1243
  "scaleMode": {
1056
1244
  "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\".",
1057
1245
  "enum": [
@@ -1059,6 +1247,10 @@
1059
1247
  "preserve-aspect-ratio"
1060
1248
  ],
1061
1249
  "type": "string"
1250
+ },
1251
+ "validateGeometry": {
1252
+ "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.",
1253
+ "type": "boolean"
1062
1254
  }
1063
1255
  },
1064
1256
  "type": "object"
@@ -1683,6 +1875,36 @@
1683
1875
  ],
1684
1876
  "type": "object"
1685
1877
  },
1878
+ "InsertPointArgs": {
1879
+ "additionalProperties": false,
1880
+ "description": "Arguments for the \"sketching.insert-point\" command.",
1881
+ "properties": {
1882
+ "geometry": {
1883
+ "$ref": "#/definitions/esri.Geometry",
1884
+ "description": "The geometry to add the point to, if multiple are present in an active editing session. Not supported by Mobile."
1885
+ },
1886
+ "maps": {
1887
+ "$ref": "MapsLike",
1888
+ "description": "Map(s) to use for the command/operation."
1889
+ },
1890
+ "newPoint": {
1891
+ "$ref": "#/definitions/esri.Point",
1892
+ "description": "The new point to be added."
1893
+ },
1894
+ "partIndex": {
1895
+ "description": "The index of the part to which the point will be added. If null, the last part will be used.",
1896
+ "type": "number"
1897
+ },
1898
+ "pointIndex": {
1899
+ "description": "The index at which the point will be added. If null, the point will be added as the last point.",
1900
+ "type": "number"
1901
+ }
1902
+ },
1903
+ "required": [
1904
+ "newPoint"
1905
+ ],
1906
+ "type": "object"
1907
+ },
1686
1908
  "JobParameters": {
1687
1909
  "additionalProperties": false,
1688
1910
  "description": "A set of parameters used to run a job.",
@@ -1706,6 +1928,54 @@
1706
1928
  ],
1707
1929
  "type": "object"
1708
1930
  },
1931
+ "LayersLike": {
1932
+ "anyOf": [
1933
+ {
1934
+ "$ref": "#/definitions/esri.Layer"
1935
+ },
1936
+ {
1937
+ "$ref": "esri.SublayerLike"
1938
+ },
1939
+ {
1940
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
1941
+ },
1942
+ {
1943
+ "$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
1944
+ },
1945
+ {
1946
+ "$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
1947
+ },
1948
+ {
1949
+ "items": {
1950
+ "anyOf": [
1951
+ {
1952
+ "$ref": "#/definitions/esri.Layer"
1953
+ },
1954
+ {
1955
+ "$ref": "esri.SublayerLike"
1956
+ },
1957
+ {
1958
+ "$ref": "#/definitions/@vertigis.arcgis-extensions.mapping._LayerExtension.LayerReference"
1959
+ },
1960
+ {
1961
+ "$ref": "@vertigis.arcgis-extensions.mapping._LayerExtension.LayerExtension"
1962
+ },
1963
+ {
1964
+ "$ref": "@vertigis.arcgis-extensions.mapping._SublayerExtension.SublayerExtension"
1965
+ },
1966
+ {
1967
+ "type": "string"
1968
+ }
1969
+ ]
1970
+ },
1971
+ "type": "array"
1972
+ },
1973
+ {
1974
+ "type": "string"
1975
+ }
1976
+ ],
1977
+ "description": "One or more objects that are convertible to layer extensions."
1978
+ },
1709
1979
  "LengthUnitsMobile": {
1710
1980
  "description": "The units for distance supported by Mobile.",
1711
1981
  "enum": [
@@ -2314,6 +2584,45 @@
2314
2584
  ],
2315
2585
  "type": "object"
2316
2586
  },
2587
+ "SetConstraintsArgs": {
2588
+ "additionalProperties": false,
2589
+ "description": "Arguments for the \"sketching.set-constraints\" command.",
2590
+ "properties": {
2591
+ "angle": {
2592
+ "description": "The constraint for the angle of the line between the selected vertex and the new point, relative to the reference line. Remains unchanged until set to a different value, or cleared.",
2593
+ "type": "number"
2594
+ },
2595
+ "autoClear": {
2596
+ "description": "Indicates whether constraints will be automatically cleared after a vertex is added or updated. If not set (value is null), then the value will remain unchanged with this operation. If the value has never been set, the default is false. Remains unchanged until set to a different value.",
2597
+ "type": "boolean"
2598
+ },
2599
+ "geodetic": {
2600
+ "description": "Indicates whether the distance calculations will be geodetic or planar. Default is true.",
2601
+ "type": "boolean"
2602
+ },
2603
+ "geodeticCurveType": {
2604
+ "$ref": "#/definitions/GeodeticCurveType",
2605
+ "description": "The geodetic curve type used when calculating the new point. Only applies when geodetic is set to true. Defaults to geodesic."
2606
+ },
2607
+ "length": {
2608
+ "description": "The constraint for the length of the line between the selected vertex and the new point.",
2609
+ "type": "number"
2610
+ },
2611
+ "maps": {
2612
+ "$ref": "MapsLike",
2613
+ "description": "Map(s) to use for the command/operation."
2614
+ },
2615
+ "referenceLine": {
2616
+ "$ref": "#/definitions/ReferenceLine",
2617
+ "description": "A reference line that the angle will be relative to. Defaults to 'north'. Remains unchanged until set again."
2618
+ },
2619
+ "units": {
2620
+ "$ref": "#/definitions/LengthUnitsMobile",
2621
+ "description": "The units to be used for length. If not specified, the units of the map's spatial reference will be used."
2622
+ }
2623
+ },
2624
+ "type": "object"
2625
+ },
2317
2626
  "SetGeometryModeArgs": {
2318
2627
  "additionalProperties": false,
2319
2628
  "description": "Arguments for the \"sketching.set-geometry-mode\" command.",
@@ -2463,6 +2772,10 @@
2463
2772
  "$ref": "MapsLike",
2464
2773
  "description": "The map to sketch on."
2465
2774
  },
2775
+ "maxSegments": {
2776
+ "description": "The maximum number of segments permitted for a polyline or polygon sketch. Default is no limit. Mobile only.",
2777
+ "type": "number"
2778
+ },
2466
2779
  "resumeId": {
2467
2780
  "description": "Gets a resume ID for the sketch. Cannot be set.",
2468
2781
  "type": "string"
@@ -2620,6 +2933,61 @@
2620
2933
  },
2621
2934
  "type": "object"
2622
2935
  },
2936
+ "TranslatableText": {
2937
+ "anyOf": [
2938
+ {
2939
+ "$ref": "#/definitions/TranslateOptions"
2940
+ },
2941
+ {
2942
+ "type": "string"
2943
+ }
2944
+ ],
2945
+ "description": "A translatable string, either a language string or a language string with arguments to pass into it."
2946
+ },
2947
+ "TranslateOptions": {
2948
+ "additionalProperties": false,
2949
+ "description": "The available options for the Locale Service translate function.",
2950
+ "properties": {
2951
+ "args": {
2952
+ "description": "The values to substitute into the format string if it contains substitution placeholders (see utilities/string/format in Geocortex API).",
2953
+ "items": {
2954
+ },
2955
+ "type": "array"
2956
+ },
2957
+ "currency": {
2958
+ "description": "The default unit of currency to use when formatting currency. See {@link NumberSettings.currency}.",
2959
+ "type": "string"
2960
+ },
2961
+ "dateFormat": {
2962
+ "description": "The default format to use when formatting dates. See {@link DateFormatter.format}.",
2963
+ "type": "string"
2964
+ },
2965
+ "fractionalDigits": {
2966
+ "description": "The default number of digits to show after the decimal point when formatting numbers. See {@link NumberSettings.fractionalDigits}.",
2967
+ "type": "number"
2968
+ },
2969
+ "locale": {
2970
+ "description": "The locale to use for translation. If not specified, the current locale will be used.",
2971
+ "type": "string"
2972
+ },
2973
+ "numberFormat": {
2974
+ "description": "The default format to use when formatting numbers. See {@link NumberFormatter.format}.",
2975
+ "type": "string"
2976
+ },
2977
+ "text": {
2978
+ "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.",
2979
+ "type": "string"
2980
+ },
2981
+ "timeZone": {
2982
+ "description": "The time zone of a date being formatted.",
2983
+ "type": "string"
2984
+ }
2985
+ },
2986
+ "required": [
2987
+ "text"
2988
+ ],
2989
+ "type": "object"
2990
+ },
2623
2991
  "UpdateResultsFeaturesArgs": {
2624
2992
  "additionalProperties": false,
2625
2993
  "description": "Arguments for various commands that affect a result component's features.",
@@ -2796,16 +3164,29 @@
2796
3164
  "$ref": "#/definitions/AddAttachmentArgs"
2797
3165
  },
2798
3166
  "edit.add-feature": {
2799
- "description": "Adds a feature to a particular layer.",
3167
+ "description": "Adds a feature to a particular layer. `Feature[]` and `EditCommandArgs` are not supported on Mobile.",
2800
3168
  "enum": [
2801
3169
  "edit.add-feature"
2802
3170
  ]
2803
3171
  },
2804
3172
  "edit.add-feature:input": {
2805
- "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
3173
+ "anyOf": [
3174
+ {
3175
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
3176
+ },
3177
+ {
3178
+ "$ref": "#/definitions/EditCommandArgs"
3179
+ },
3180
+ {
3181
+ "items": {
3182
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
3183
+ },
3184
+ "type": "array"
3185
+ }
3186
+ ]
2806
3187
  },
2807
3188
  "edit.delete-features": {
2808
- "description": "Deletes the given feature or features from their feature sources.",
3189
+ "description": "Deletes the given feature or features from their feature sources. `EditCommandArgs` is not supported on Mobile.",
2809
3190
  "enum": [
2810
3191
  "edit.delete-features"
2811
3192
  ]
@@ -2815,6 +3196,9 @@
2815
3196
  {
2816
3197
  "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
2817
3198
  },
3199
+ {
3200
+ "$ref": "#/definitions/EditCommandArgs"
3201
+ },
2818
3202
  {
2819
3203
  "items": {
2820
3204
  "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
@@ -2824,31 +3208,58 @@
2824
3208
  ]
2825
3209
  },
2826
3210
  "edit.display-add-feature": {
2827
- "description": "Display a form for adding a feature.",
3211
+ "description": "Display a form for adding a feature. `DisplayAddFeatureArgs` is not supported on Mobile.",
2828
3212
  "enum": [
2829
3213
  "edit.display-add-feature"
2830
3214
  ]
2831
3215
  },
2832
3216
  "edit.display-add-feature:input": {
2833
- "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
3217
+ "anyOf": [
3218
+ {
3219
+ "$ref": "@vertigis.arcgis-extensions.data.FeatureSource.FeatureSource"
3220
+ },
3221
+ {
3222
+ "$ref": "#/definitions/DisplayAddFeatureArgs"
3223
+ }
3224
+ ]
2834
3225
  },
2835
3226
  "edit.display-update-feature": {
2836
- "description": "Display a form for updating a feature.",
3227
+ "description": "Display a form for updating a feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.",
2837
3228
  "enum": [
2838
3229
  "edit.display-update-feature"
2839
3230
  ]
2840
3231
  },
2841
3232
  "edit.display-update-feature:input": {
2842
- "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
3233
+ "anyOf": [
3234
+ {
3235
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
3236
+ },
3237
+ {
3238
+ "$ref": "#/definitions/DisplayUpdateFeatureArgs"
3239
+ }
3240
+ ]
2843
3241
  },
2844
3242
  "edit.update-feature": {
2845
- "description": "Updates a feature.",
3243
+ "description": "Updates a feature. `Feature[]` and `EditCommandArgs` are not supported on Mobile.",
2846
3244
  "enum": [
2847
3245
  "edit.update-feature"
2848
3246
  ]
2849
3247
  },
2850
3248
  "edit.update-feature:input": {
2851
- "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
3249
+ "anyOf": [
3250
+ {
3251
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
3252
+ },
3253
+ {
3254
+ "$ref": "#/definitions/EditCommandArgs"
3255
+ },
3256
+ {
3257
+ "items": {
3258
+ "$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
3259
+ },
3260
+ "type": "array"
3261
+ }
3262
+ ]
2852
3263
  },
2853
3264
  "esri.Extent": {
2854
3265
  "$ref": "esri/geometry/Extent"
@@ -12958,7 +13369,7 @@
12958
13369
  "type": "string"
12959
13370
  },
12960
13371
  "sketching.add-node-to-geometry": {
12961
- "description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry. Deprecated in Mobile, use geometry.add-point instead.",
13372
+ "description": "Deprecated - Mobile users should rather use \"geometry.add-point\"; Web users should use \"sketching.add-point\" or \"sketching.insert-point\" instead.",
12962
13373
  "enum": [
12963
13374
  "sketching.add-node-to-geometry"
12964
13375
  ]
@@ -12969,6 +13380,12 @@
12969
13380
  "sketching.add-node-to-geometry:output": {
12970
13381
  "$ref": "#/definitions/esri.Geometry"
12971
13382
  },
13383
+ "sketching.add-point": {
13384
+ "description": "Adds a point to polygon, polyline, or multipoint using the selected index as the point to insert after.",
13385
+ "enum": [
13386
+ "sketching.add-point"
13387
+ ]
13388
+ },
12972
13389
  "sketching.add-point-at-center": {
12973
13390
  "description": "Adds a point at the center of the map while editing a geometry. Works in centerCrosshair mode only.",
12974
13391
  "enum": [
@@ -12987,6 +13404,9 @@
12987
13404
  "sketching.add-point-at-current-location:input": {
12988
13405
  "$ref": "#/definitions/HasMaps"
12989
13406
  },
13407
+ "sketching.add-point:input": {
13408
+ "$ref": "#/definitions/AddPointArgs"
13409
+ },
12990
13410
  "sketching.capture-geometry": {
12991
13411
  "description": "Allows the user to create geometry by sketching on a map. Returns the geometry that was drawn, along with the map that it was drawn on.",
12992
13412
  "enum": [
@@ -12999,14 +13419,30 @@
12999
13419
  "sketching.capture-geometry:output": {
13000
13420
  "$ref": "#/definitions/CaptureGeometryResult"
13001
13421
  },
13422
+ "sketching.clear-constraints": {
13423
+ "description": "Clears constraints that have been previously set.",
13424
+ "enum": [
13425
+ "sketching.clear-constraints"
13426
+ ]
13427
+ },
13428
+ "sketching.clear-constraints:input": {
13429
+ "$ref": "#/definitions/ClearConstraintsArgs"
13430
+ },
13002
13431
  "sketching.delete": {
13003
- "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.",
13432
+ "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.",
13004
13433
  "enum": [
13005
13434
  "sketching.delete"
13006
13435
  ]
13007
13436
  },
13008
13437
  "sketching.delete:input": {
13009
- "$ref": "#/definitions/DeleteGeometryArgs"
13438
+ "anyOf": [
13439
+ {
13440
+ "$ref": "#/definitions/DeleteGeometryArgs"
13441
+ },
13442
+ {
13443
+ "type": "null"
13444
+ }
13445
+ ]
13010
13446
  },
13011
13447
  "sketching.edit-geometry": {
13012
13448
  "description": "Allows the user to edit an existing geometry by drawing on a map. Returns the geometry that was edited, or the supplied feature with the altered geometry applied, along with the map that it was drawn on.",
@@ -13020,6 +13456,15 @@
13020
13456
  "sketching.edit-geometry:output": {
13021
13457
  "$ref": "#/definitions/EditGeometryResult"
13022
13458
  },
13459
+ "sketching.insert-point": {
13460
+ "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.",
13461
+ "enum": [
13462
+ "sketching.insert-point"
13463
+ ]
13464
+ },
13465
+ "sketching.insert-point:input": {
13466
+ "$ref": "#/definitions/InsertPointArgs"
13467
+ },
13023
13468
  "sketching.is-streaming": {
13024
13469
  "description": "Checks whether streaming is active.",
13025
13470
  "enum": [
@@ -13041,6 +13486,15 @@
13041
13486
  "sketching.redo:input": {
13042
13487
  "$ref": "#/definitions/HasMaps"
13043
13488
  },
13489
+ "sketching.set-constraints": {
13490
+ "description": "Sets constraints on the active sketch.",
13491
+ "enum": [
13492
+ "sketching.set-constraints"
13493
+ ]
13494
+ },
13495
+ "sketching.set-constraints:input": {
13496
+ "$ref": "#/definitions/SetConstraintsArgs"
13497
+ },
13044
13498
  "sketching.set-geometry-mode": {
13045
13499
  "description": "Sets the geometry mode of the geometry editor.",
13046
13500
  "enum": [
@@ -13078,7 +13532,7 @@
13078
13532
  "$ref": "#/definitions/StartStreamingArgs"
13079
13533
  },
13080
13534
  "sketching.stop": {
13081
- "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.",
13535
+ "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.",
13082
13536
  "enum": [
13083
13537
  "sketching.stop"
13084
13538
  ]
@@ -14542,6 +14996,22 @@
14542
14996
  ],
14543
14997
  "type": "object"
14544
14998
  },
14999
+ {
15000
+ "additionalProperties": false,
15001
+ "properties": {
15002
+ "arguments": {
15003
+ "$ref": "#/definitions/sketching.add-point:input"
15004
+ },
15005
+ "name": {
15006
+ "$ref": "#/definitions/sketching.add-point"
15007
+ }
15008
+ },
15009
+ "required": [
15010
+ "name",
15011
+ "arguments"
15012
+ ],
15013
+ "type": "object"
15014
+ },
14545
15015
  {
14546
15016
  "additionalProperties": false,
14547
15017
  "properties": {
@@ -14574,6 +15044,22 @@
14574
15044
  ],
14575
15045
  "type": "object"
14576
15046
  },
15047
+ {
15048
+ "additionalProperties": false,
15049
+ "properties": {
15050
+ "arguments": {
15051
+ "$ref": "#/definitions/sketching.clear-constraints:input"
15052
+ },
15053
+ "name": {
15054
+ "$ref": "#/definitions/sketching.clear-constraints"
15055
+ }
15056
+ },
15057
+ "required": [
15058
+ "name",
15059
+ "arguments"
15060
+ ],
15061
+ "type": "object"
15062
+ },
14577
15063
  {
14578
15064
  "additionalProperties": false,
14579
15065
  "properties": {
@@ -14590,6 +15076,22 @@
14590
15076
  ],
14591
15077
  "type": "object"
14592
15078
  },
15079
+ {
15080
+ "additionalProperties": false,
15081
+ "properties": {
15082
+ "arguments": {
15083
+ "$ref": "#/definitions/sketching.insert-point:input"
15084
+ },
15085
+ "name": {
15086
+ "$ref": "#/definitions/sketching.insert-point"
15087
+ }
15088
+ },
15089
+ "required": [
15090
+ "name",
15091
+ "arguments"
15092
+ ],
15093
+ "type": "object"
15094
+ },
14593
15095
  {
14594
15096
  "additionalProperties": false,
14595
15097
  "properties": {
@@ -14606,6 +15108,22 @@
14606
15108
  ],
14607
15109
  "type": "object"
14608
15110
  },
15111
+ {
15112
+ "additionalProperties": false,
15113
+ "properties": {
15114
+ "arguments": {
15115
+ "$ref": "#/definitions/sketching.set-constraints:input"
15116
+ },
15117
+ "name": {
15118
+ "$ref": "#/definitions/sketching.set-constraints"
15119
+ }
15120
+ },
15121
+ "required": [
15122
+ "name",
15123
+ "arguments"
15124
+ ],
15125
+ "type": "object"
15126
+ },
14609
15127
  {
14610
15128
  "additionalProperties": false,
14611
15129
  "properties": {
@@ -15183,18 +15701,30 @@
15183
15701
  {
15184
15702
  "$ref": "#/definitions/search.set-source"
15185
15703
  },
15704
+ {
15705
+ "$ref": "#/definitions/sketching.add-point"
15706
+ },
15186
15707
  {
15187
15708
  "$ref": "#/definitions/sketching.add-point-at-center"
15188
15709
  },
15189
15710
  {
15190
15711
  "$ref": "#/definitions/sketching.add-point-at-current-location"
15191
15712
  },
15713
+ {
15714
+ "$ref": "#/definitions/sketching.clear-constraints"
15715
+ },
15192
15716
  {
15193
15717
  "$ref": "#/definitions/sketching.delete"
15194
15718
  },
15719
+ {
15720
+ "$ref": "#/definitions/sketching.insert-point"
15721
+ },
15195
15722
  {
15196
15723
  "$ref": "#/definitions/sketching.redo"
15197
15724
  },
15725
+ {
15726
+ "$ref": "#/definitions/sketching.set-constraints"
15727
+ },
15198
15728
  {
15199
15729
  "$ref": "#/definitions/sketching.set-geometry-mode"
15200
15730
  },