@esri/solution-common 1.3.10 → 1.3.13

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 (223) hide show
  1. package/dist/esm/completeItem.d.ts +1 -1
  2. package/dist/esm/completeItem.js +1 -1
  3. package/dist/esm/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
  4. package/dist/esm/deleteHelpers/deleteEmptyGroups.js +1 -1
  5. package/dist/esm/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
  6. package/dist/esm/deleteHelpers/deleteGroupIfEmpty.js +1 -1
  7. package/dist/esm/deleteHelpers/deleteSolutionContents.d.ts +1 -1
  8. package/dist/esm/deleteHelpers/deleteSolutionContents.js +1 -1
  9. package/dist/esm/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
  10. package/dist/esm/deleteHelpers/deleteSolutionFolder.js +1 -1
  11. package/dist/esm/deleteHelpers/deleteSolutionItem.d.ts +1 -1
  12. package/dist/esm/deleteHelpers/deleteSolutionItem.js +1 -1
  13. package/dist/esm/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
  14. package/dist/esm/deleteHelpers/reconstructBuildOrderIds.js +1 -1
  15. package/dist/esm/deleteHelpers/removeItems.d.ts +1 -1
  16. package/dist/esm/deleteHelpers/removeItems.js +1 -1
  17. package/dist/esm/deleteSolution.d.ts +2 -2
  18. package/dist/esm/deleteSolution.js +2 -2
  19. package/dist/esm/dependencies.d.ts +1 -1
  20. package/dist/esm/dependencies.js +2 -2
  21. package/dist/esm/featureServiceHelpers.d.ts +99 -60
  22. package/dist/esm/featureServiceHelpers.js +99 -60
  23. package/dist/esm/featureServiceHelpers.js.map +1 -1
  24. package/dist/esm/generalHelpers.d.ts +34 -34
  25. package/dist/esm/generalHelpers.js +36 -36
  26. package/dist/esm/getDeletableSolutionInfo.d.ts +1 -1
  27. package/dist/esm/getDeletableSolutionInfo.js +1 -1
  28. package/dist/esm/getSolutionSummary.d.ts +1 -1
  29. package/dist/esm/getSolutionSummary.js +1 -1
  30. package/dist/esm/interfaces.d.ts +438 -10
  31. package/dist/esm/interfaces.js +7 -1
  32. package/dist/esm/interfaces.js.map +1 -1
  33. package/dist/esm/libConnectors.d.ts +5 -5
  34. package/dist/esm/libConnectors.js +5 -5
  35. package/dist/esm/migrations/apply-schema.d.ts +1 -0
  36. package/dist/esm/migrations/apply-schema.js +1 -0
  37. package/dist/esm/migrations/apply-schema.js.map +1 -1
  38. package/dist/esm/migrations/upgrade-three-dot-one.d.ts +1 -0
  39. package/dist/esm/migrations/upgrade-three-dot-one.js +1 -0
  40. package/dist/esm/migrations/upgrade-three-dot-one.js.map +1 -1
  41. package/dist/esm/migrations/upgrade-two-dot-seven.d.ts +7 -0
  42. package/dist/esm/migrations/upgrade-two-dot-seven.js +7 -0
  43. package/dist/esm/migrations/upgrade-two-dot-seven.js.map +1 -1
  44. package/dist/esm/polyfills.d.ts +2 -2
  45. package/dist/esm/polyfills.js +2 -2
  46. package/dist/esm/resourceHelpers.d.ts +11 -11
  47. package/dist/esm/resourceHelpers.js +11 -11
  48. package/dist/esm/resources/addMetadataFromBlob.d.ts +1 -1
  49. package/dist/esm/resources/addMetadataFromBlob.js +1 -1
  50. package/dist/esm/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
  51. package/dist/esm/resources/convert-item-resource-to-storage-resource.js +1 -1
  52. package/dist/esm/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
  53. package/dist/esm/resources/convert-storage-resource-to-item-resource.js +1 -1
  54. package/dist/esm/resources/copyAssociatedFiles.d.ts +4 -3
  55. package/dist/esm/resources/copyAssociatedFiles.js +5 -4
  56. package/dist/esm/resources/copyAssociatedFiles.js.map +1 -1
  57. package/dist/esm/resources/copyDataIntoItem.d.ts +2 -2
  58. package/dist/esm/resources/copyDataIntoItem.js +2 -2
  59. package/dist/esm/resources/copyMetadataIntoItem.d.ts +1 -1
  60. package/dist/esm/resources/copyMetadataIntoItem.js +1 -1
  61. package/dist/esm/resources/copyResourceIntoZip.d.ts +2 -2
  62. package/dist/esm/resources/copyResourceIntoZip.js +2 -2
  63. package/dist/esm/resources/copyZipIntoItem.d.ts +1 -1
  64. package/dist/esm/resources/copyZipIntoItem.js +1 -1
  65. package/dist/esm/resources/createCopyResults.d.ts +1 -1
  66. package/dist/esm/resources/createCopyResults.js +1 -1
  67. package/dist/esm/resources/get-blob.d.ts +1 -1
  68. package/dist/esm/resources/get-blob.js +1 -1
  69. package/dist/esm/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
  70. package/dist/esm/resources/getItemResourcesFilesFromPaths.js +1 -1
  71. package/dist/esm/resources/getItemResourcesPaths.d.ts +1 -1
  72. package/dist/esm/resources/getItemResourcesPaths.js +1 -1
  73. package/dist/esm/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
  74. package/dist/esm/resources/transform-resource-paths-to-solution-resources.js +1 -0
  75. package/dist/esm/resources/transform-resource-paths-to-solution-resources.js.map +1 -1
  76. package/dist/esm/restHelpers.d.ts +59 -54
  77. package/dist/esm/restHelpers.js +55 -50
  78. package/dist/esm/restHelpers.js.map +1 -1
  79. package/dist/esm/restHelpersGet.d.ts +30 -30
  80. package/dist/esm/restHelpersGet.js +30 -30
  81. package/dist/esm/templatization.d.ts +15 -15
  82. package/dist/esm/templatization.js +15 -15
  83. package/dist/esm/trackingHelpers.d.ts +9 -9
  84. package/dist/esm/trackingHelpers.js +9 -9
  85. package/dist/esm/velocityHelpers.d.ts +4 -4
  86. package/dist/esm/velocityHelpers.js +4 -4
  87. package/dist/esm/workforceHelpers.d.ts +8 -7
  88. package/dist/esm/workforceHelpers.js +18 -7
  89. package/dist/esm/workforceHelpers.js.map +1 -1
  90. package/dist/node/completeItem.d.ts +1 -1
  91. package/dist/node/completeItem.js +1 -1
  92. package/dist/node/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
  93. package/dist/node/deleteHelpers/deleteEmptyGroups.js +1 -1
  94. package/dist/node/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
  95. package/dist/node/deleteHelpers/deleteGroupIfEmpty.js +1 -1
  96. package/dist/node/deleteHelpers/deleteSolutionContents.d.ts +1 -1
  97. package/dist/node/deleteHelpers/deleteSolutionContents.js +1 -1
  98. package/dist/node/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
  99. package/dist/node/deleteHelpers/deleteSolutionFolder.js +1 -1
  100. package/dist/node/deleteHelpers/deleteSolutionItem.d.ts +1 -1
  101. package/dist/node/deleteHelpers/deleteSolutionItem.js +1 -1
  102. package/dist/node/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
  103. package/dist/node/deleteHelpers/reconstructBuildOrderIds.js +1 -1
  104. package/dist/node/deleteHelpers/removeItems.d.ts +1 -1
  105. package/dist/node/deleteHelpers/removeItems.js +1 -1
  106. package/dist/node/deleteSolution.d.ts +2 -2
  107. package/dist/node/deleteSolution.js +2 -2
  108. package/dist/node/dependencies.d.ts +1 -1
  109. package/dist/node/dependencies.js +2 -2
  110. package/dist/node/featureServiceHelpers.d.ts +99 -60
  111. package/dist/node/featureServiceHelpers.js +99 -60
  112. package/dist/node/featureServiceHelpers.js.map +1 -1
  113. package/dist/node/generalHelpers.d.ts +34 -34
  114. package/dist/node/generalHelpers.js +36 -36
  115. package/dist/node/getDeletableSolutionInfo.d.ts +1 -1
  116. package/dist/node/getDeletableSolutionInfo.js +1 -1
  117. package/dist/node/getSolutionSummary.d.ts +1 -1
  118. package/dist/node/getSolutionSummary.js +1 -1
  119. package/dist/node/interfaces.d.ts +438 -10
  120. package/dist/node/interfaces.js +7 -1
  121. package/dist/node/interfaces.js.map +1 -1
  122. package/dist/node/libConnectors.d.ts +5 -5
  123. package/dist/node/libConnectors.js +5 -5
  124. package/dist/node/migrations/apply-schema.d.ts +1 -0
  125. package/dist/node/migrations/apply-schema.js +1 -0
  126. package/dist/node/migrations/apply-schema.js.map +1 -1
  127. package/dist/node/migrations/upgrade-three-dot-one.d.ts +1 -0
  128. package/dist/node/migrations/upgrade-three-dot-one.js +1 -0
  129. package/dist/node/migrations/upgrade-three-dot-one.js.map +1 -1
  130. package/dist/node/migrations/upgrade-two-dot-seven.d.ts +7 -0
  131. package/dist/node/migrations/upgrade-two-dot-seven.js +7 -0
  132. package/dist/node/migrations/upgrade-two-dot-seven.js.map +1 -1
  133. package/dist/node/polyfills.d.ts +2 -2
  134. package/dist/node/polyfills.js +2 -2
  135. package/dist/node/resourceHelpers.d.ts +11 -11
  136. package/dist/node/resourceHelpers.js +11 -11
  137. package/dist/node/resources/addMetadataFromBlob.d.ts +1 -1
  138. package/dist/node/resources/addMetadataFromBlob.js +1 -1
  139. package/dist/node/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
  140. package/dist/node/resources/convert-item-resource-to-storage-resource.js +1 -1
  141. package/dist/node/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
  142. package/dist/node/resources/convert-storage-resource-to-item-resource.js +1 -1
  143. package/dist/node/resources/copyAssociatedFiles.d.ts +4 -3
  144. package/dist/node/resources/copyAssociatedFiles.js +5 -4
  145. package/dist/node/resources/copyAssociatedFiles.js.map +1 -1
  146. package/dist/node/resources/copyDataIntoItem.d.ts +2 -2
  147. package/dist/node/resources/copyDataIntoItem.js +2 -2
  148. package/dist/node/resources/copyMetadataIntoItem.d.ts +1 -1
  149. package/dist/node/resources/copyMetadataIntoItem.js +1 -1
  150. package/dist/node/resources/copyResourceIntoZip.d.ts +2 -2
  151. package/dist/node/resources/copyResourceIntoZip.js +2 -2
  152. package/dist/node/resources/copyZipIntoItem.d.ts +1 -1
  153. package/dist/node/resources/copyZipIntoItem.js +1 -1
  154. package/dist/node/resources/createCopyResults.d.ts +1 -1
  155. package/dist/node/resources/createCopyResults.js +1 -1
  156. package/dist/node/resources/get-blob.d.ts +1 -1
  157. package/dist/node/resources/get-blob.js +1 -1
  158. package/dist/node/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
  159. package/dist/node/resources/getItemResourcesFilesFromPaths.js +1 -1
  160. package/dist/node/resources/getItemResourcesPaths.d.ts +1 -1
  161. package/dist/node/resources/getItemResourcesPaths.js +1 -1
  162. package/dist/node/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
  163. package/dist/node/resources/transform-resource-paths-to-solution-resources.js +1 -0
  164. package/dist/node/resources/transform-resource-paths-to-solution-resources.js.map +1 -1
  165. package/dist/node/restHelpers.d.ts +59 -54
  166. package/dist/node/restHelpers.js +55 -50
  167. package/dist/node/restHelpers.js.map +1 -1
  168. package/dist/node/restHelpersGet.d.ts +30 -30
  169. package/dist/node/restHelpersGet.js +30 -30
  170. package/dist/node/templatization.d.ts +15 -15
  171. package/dist/node/templatization.js +15 -15
  172. package/dist/node/trackingHelpers.d.ts +9 -9
  173. package/dist/node/trackingHelpers.js +9 -9
  174. package/dist/node/velocityHelpers.d.ts +4 -4
  175. package/dist/node/velocityHelpers.js +4 -4
  176. package/dist/node/workforceHelpers.d.ts +8 -7
  177. package/dist/node/workforceHelpers.js +18 -7
  178. package/dist/node/workforceHelpers.js.map +1 -1
  179. package/dist/umd/common.umd.js +399 -313
  180. package/dist/umd/common.umd.js.map +1 -1
  181. package/dist/umd/common.umd.min.js +3 -3
  182. package/dist/umd/common.umd.min.js.map +1 -1
  183. package/dist/umd/completeItem.d.ts +1 -1
  184. package/dist/umd/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
  185. package/dist/umd/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
  186. package/dist/umd/deleteHelpers/deleteSolutionContents.d.ts +1 -1
  187. package/dist/umd/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
  188. package/dist/umd/deleteHelpers/deleteSolutionItem.d.ts +1 -1
  189. package/dist/umd/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
  190. package/dist/umd/deleteHelpers/removeItems.d.ts +1 -1
  191. package/dist/umd/deleteSolution.d.ts +2 -2
  192. package/dist/umd/dependencies.d.ts +1 -1
  193. package/dist/umd/featureServiceHelpers.d.ts +99 -60
  194. package/dist/umd/generalHelpers.d.ts +34 -34
  195. package/dist/umd/getDeletableSolutionInfo.d.ts +1 -1
  196. package/dist/umd/getSolutionSummary.d.ts +1 -1
  197. package/dist/umd/interfaces.d.ts +438 -10
  198. package/dist/umd/libConnectors.d.ts +5 -5
  199. package/dist/umd/migrations/apply-schema.d.ts +1 -0
  200. package/dist/umd/migrations/upgrade-three-dot-one.d.ts +1 -0
  201. package/dist/umd/migrations/upgrade-two-dot-seven.d.ts +7 -0
  202. package/dist/umd/polyfills.d.ts +2 -2
  203. package/dist/umd/resourceHelpers.d.ts +11 -11
  204. package/dist/umd/resources/addMetadataFromBlob.d.ts +1 -1
  205. package/dist/umd/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
  206. package/dist/umd/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
  207. package/dist/umd/resources/copyAssociatedFiles.d.ts +4 -3
  208. package/dist/umd/resources/copyDataIntoItem.d.ts +2 -2
  209. package/dist/umd/resources/copyMetadataIntoItem.d.ts +1 -1
  210. package/dist/umd/resources/copyResourceIntoZip.d.ts +2 -2
  211. package/dist/umd/resources/copyZipIntoItem.d.ts +1 -1
  212. package/dist/umd/resources/createCopyResults.d.ts +1 -1
  213. package/dist/umd/resources/get-blob.d.ts +1 -1
  214. package/dist/umd/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
  215. package/dist/umd/resources/getItemResourcesPaths.d.ts +1 -1
  216. package/dist/umd/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
  217. package/dist/umd/restHelpers.d.ts +59 -54
  218. package/dist/umd/restHelpersGet.d.ts +30 -30
  219. package/dist/umd/templatization.d.ts +15 -15
  220. package/dist/umd/trackingHelpers.d.ts +9 -9
  221. package/dist/umd/velocityHelpers.d.ts +4 -4
  222. package/dist/umd/workforceHelpers.d.ts +8 -7
  223. package/package.json +18 -17
@@ -20,14 +20,14 @@ import { Sanitizer } from "./libConnectors";
20
20
  *
21
21
  * @param url URL to append to
22
22
  * @param parameter Query parameter to append, prefixed with "?" or "&" as appropriate to what url already has
23
- * @return New URL combining url and parameter
23
+ * @returns New URL combining url and parameter
24
24
  */
25
25
  export declare function appendQueryParam(url: string, parameter: string): string;
26
26
  /**
27
27
  * Extracts JSON from a Blob.
28
28
  *
29
29
  * @param blob Blob to use as source
30
- * @return A promise that will resolve with JSON or null
30
+ * @returns A promise that will resolve with JSON or null
31
31
  */
32
32
  export declare function blobToJson(blob: Blob): Promise<any>;
33
33
  /**
@@ -36,34 +36,34 @@ export declare function blobToJson(blob: Blob): Promise<any>;
36
36
  * @param blob Blob to use as source
37
37
  * @param filename Name to use for file
38
38
  * @param mimeType MIME type to override blob's MIME type
39
- * @return File created out of Blob and filename
39
+ * @returns File created out of Blob and filename
40
40
  */
41
41
  export declare function blobToFile(blob: Blob, filename: string, mimeType?: string): File;
42
42
  /**
43
43
  * Extracts text from a Blob.
44
44
  *
45
45
  * @param blob Blob to use as source
46
- * @return A promise that will resolve with text read from blob
46
+ * @returns A promise that will resolve with text read from blob
47
47
  */
48
48
  export declare function blobToText(blob: Blob): Promise<string>;
49
49
  /**
50
50
  * Checks that a URL path ends with a slash.
51
51
  *
52
52
  * @param url URL to check
53
- * @return URL, appended with slash if missing
53
+ * @returns URL, appended with slash if missing
54
54
  */
55
55
  export declare function checkUrlPathTermination(url: string): string;
56
56
  /**
57
57
  * Creates a random 32-character alphanumeric string.
58
58
  *
59
- * @return A lowercase 32-char alphanumeric string
59
+ * @returns A lowercase 32-char alphanumeric string
60
60
  * @internal
61
61
  */
62
62
  export declare function createLongId(): string;
63
63
  /**
64
64
  * Creates a random 8-character alphanumeric string that begins with an alphabetic character.
65
65
  *
66
- * @return An alphanumeric string in the range [a0000000..zzzzzzzz]
66
+ * @returns An alphanumeric string in the range [a0000000..zzzzzzzz]
67
67
  */
68
68
  export declare function createShortId(): string;
69
69
  /**
@@ -78,14 +78,14 @@ export declare function dedupe(input?: string[]): string[];
78
78
  *
79
79
  * @param itemType The AGO item type
80
80
  * @param id Item id to include in response
81
- * @return Empty creation response
81
+ * @returns Empty creation response
82
82
  */
83
83
  export declare function generateEmptyCreationResponse(itemType: string, id?: string): ICreateItemFromTemplateResponse;
84
84
  /**
85
85
  * Converts JSON to a Blob.
86
86
  *
87
87
  * @param json JSON to use as source
88
- * @return A blob from the source JSON
88
+ * @returns A blob from the source JSON
89
89
  */
90
90
  export declare function jsonToBlob(json: any): Blob;
91
91
  /**
@@ -94,7 +94,7 @@ export declare function jsonToBlob(json: any): Blob;
94
94
  * @param json JSON to use as source
95
95
  * @param filename Name to use for file
96
96
  * @param mimeType MIME type to override blob's MIME type
97
- * @return File created out of JSON and filename
97
+ * @returns File created out of JSON and filename
98
98
  */
99
99
  export declare function jsonToFile(json: any, filename: string, mimeType?: string): File;
100
100
  /**
@@ -102,14 +102,14 @@ export declare function jsonToFile(json: any, filename: string, mimeType?: strin
102
102
  *
103
103
  * @param filename Name to give file
104
104
  * @param blob Blob to save
105
- * @return Promise resolving when operation is complete
105
+ * @returns Promise resolving when operation is complete
106
106
  */
107
107
  export declare function saveBlobAsFile(filename: string, blob: Blob): Promise<void>;
108
108
  /**
109
109
  * Makes a deep clone, including arrays but not functions.
110
110
  *
111
111
  * @param obj Object to be cloned
112
- * @return Clone of obj
112
+ * @returns Clone of obj
113
113
  * @example
114
114
  * ```js
115
115
  * import { cloneObject } from "utils/object-helpers";
@@ -127,7 +127,7 @@ export declare function cloneObject(obj: {
127
127
  *
128
128
  * @param json1 First object
129
129
  * @param json2 Second object
130
- * @return True if objects are the same
130
+ * @returns True if objects are the same
131
131
  */
132
132
  export declare function compareJSON(json1: any, json2: any): boolean;
133
133
  /**
@@ -135,7 +135,7 @@ export declare function compareJSON(json1: any, json2: any): boolean;
135
135
  *
136
136
  * @param json1 First object
137
137
  * @param json2 Second object
138
- * @return True if objects are the same
138
+ * @returns True if objects are the same
139
139
  */
140
140
  export declare function compareJSONNoEmptyStrings(json1: any, json2: any): boolean;
141
141
  /**
@@ -143,7 +143,7 @@ export declare function compareJSONNoEmptyStrings(json1: any, json2: any): boole
143
143
  *
144
144
  * @param json1 First object
145
145
  * @param json2 Second object
146
- * @return A list of mismatch report strings
146
+ * @returns A list of mismatch report strings
147
147
  */
148
148
  export declare function compareJSONProperties(json1: any, json2: any): string[];
149
149
  /**
@@ -151,7 +151,7 @@ export declare function compareJSONProperties(json1: any, json2: any): string[];
151
151
  *
152
152
  * @param json JSON to sanitize
153
153
  * @param sanitizer Instance of Sanitizer class
154
- * @return Sanitized version of `json`
154
+ * @returns Sanitized version of `json`
155
155
  * @see https://github.com/esri/arcgis-html-sanitizer#sanitize-json
156
156
  */
157
157
  export declare function sanitizeJSONAndReportChanges(json: any, sanitizer?: Sanitizer): any;
@@ -175,7 +175,7 @@ export declare function deleteProps(obj: any, props: string[]): void;
175
175
  * Creates an AGO-style JSON failure response with success property.
176
176
  *
177
177
  * @param e Optional error information
178
- * @return JSON structure with property success set to false and optionally including `e`
178
+ * @returns JSON structure with property success set to false and optionally including `e`
179
179
  */
180
180
  export declare function fail(e?: any): any;
181
181
  /**
@@ -183,14 +183,14 @@ export declare function fail(e?: any): any;
183
183
  *
184
184
  * @param ids List of ids
185
185
  * @param e Optional error information
186
- * @return JSON structure with property success set to false and optionally including `e`
186
+ * @returns JSON structure with property success set to false and optionally including `e`
187
187
  */
188
188
  export declare function failWithIds(itemIds: string[], e?: any): any;
189
189
  /**
190
190
  * Extracts the ids from a string
191
191
  *
192
192
  * @param v String to examine
193
- * @return List of id strings found
193
+ * @returns List of id strings found
194
194
  * @example
195
195
  * get id from
196
196
  * bad3483e025c47338d43df308c117308
@@ -209,7 +209,7 @@ export declare function getIDs(v: string): string[];
209
209
  * @param obj Object to retrieve value from
210
210
  * @param path Path into an object, e.g., "data.values.webmap", where "data" is a top-level property
211
211
  * in obj
212
- * @return Value at end of path
212
+ * @returns Value at end of path
213
213
  */
214
214
  export declare function getProp(obj: {
215
215
  [index: string]: any;
@@ -219,7 +219,7 @@ export declare function getProp(obj: {
219
219
  *
220
220
  * @param obj Object to retrieve values from
221
221
  * @param props Array of paths into the object e.g., "data.values.webmap", where "data" is a top-level property
222
- * @return Array of the values plucked from the object; only defined values are returned
222
+ * @returns Array of the values plucked from the object; only defined values are returned
223
223
  */
224
224
  export declare function getProps(obj: any, props: string[]): any;
225
225
  /**
@@ -230,7 +230,7 @@ export declare function getProps(obj: any, props: string[]): any;
230
230
  * @param path Path into an object, e.g., "data.values.webmap", where "data" is a top-level property
231
231
  * in obj
232
232
  * @param defaultV Optional value to use if any part of path--including final value--is undefined
233
- * @return Value at end of path
233
+ * @returns Value at end of path
234
234
  */
235
235
  export declare function getPropWithDefault(obj: IStringValuePair, path: string, defaultV?: any): any;
236
236
  /**
@@ -262,9 +262,9 @@ export declare function setProp(obj: any, path: string, value: any): void;
262
262
  /**
263
263
  * Creates a timestamp string using the current UTC date and time.
264
264
  *
265
- * @return Timestamp formatted as YYYYMMDD_hhmm_ssmmm, with month one-based and all values padded with zeroes on the
265
+ * @returns Timestamp formatted as YYYYMMDD_hhmm_ssmmm, with month one-based and all values padded with zeroes on the
266
266
  * left as needed (`ssmmm` stands for seconds from 0..59 and milliseconds from 0..999)
267
- * @protected
267
+ * @private
268
268
  */
269
269
  export declare function getUTCTimestamp(): string;
270
270
  /**
@@ -272,7 +272,7 @@ export declare function getUTCTimestamp(): string;
272
272
  *
273
273
  * @param jsonObj Object to test
274
274
  * @param keywords List of keywords to look for in jsonObj
275
- * @return Boolean indicating result
275
+ * @returns Boolean indicating result
276
276
  */
277
277
  export declare function hasAnyKeyword(jsonObj: any, keywords: string[]): boolean;
278
278
  /**
@@ -280,7 +280,7 @@ export declare function hasAnyKeyword(jsonObj: any, keywords: string[]): boolean
280
280
  *
281
281
  * @param jsonObj Object to test
282
282
  * @param keyword Keyword to look for in jsonObj
283
- * @return Boolean indicating result
283
+ * @returns Boolean indicating result
284
284
  */
285
285
  export declare function hasTypeKeyword(jsonObj: any, keyword: string): boolean;
286
286
  /**
@@ -291,7 +291,7 @@ export declare function hasTypeKeyword(jsonObj: any, keyword: string): boolean;
291
291
  * @param title The root title to test
292
292
  * @param templateDictionary Hash of the facts
293
293
  * @param path to the objects to evaluate for potantial name clashes
294
- * @return string The unique title to use
294
+ * @returns string The unique title to use
295
295
  */
296
296
  export declare function getUniqueTitle(title: string, templateDictionary: any, path: string): string;
297
297
  /**
@@ -300,7 +300,7 @@ export declare function getUniqueTitle(title: string, templateDictionary: any, p
300
300
  * @param obj Object to scan and to modify
301
301
  * @param pattern Search pattern in each string
302
302
  * @param replacement Replacement for matches to search pattern
303
- * @return Modified obj is returned
303
+ * @returns Modified obj is returned
304
304
  */
305
305
  export declare function globalStringReplace(obj: any, pattern: RegExp, replacement: string): any;
306
306
  /**
@@ -309,7 +309,7 @@ export declare function globalStringReplace(obj: any, pattern: RegExp, replaceme
309
309
  * @param datasourceInfos Array of DatasourceInfos to evaluate
310
310
  * @param itemId The items id to check for
311
311
  * @param layerId The layers id to check for
312
- * @return Boolean indicating result
312
+ * @returns Boolean indicating result
313
313
  */
314
314
  export declare function hasDatasource(datasourceInfos: IDatasourceInfo[], itemId: string, layerId: number): boolean;
315
315
  /**
@@ -337,7 +337,7 @@ export declare function cleanLayerId(id: any): any;
337
337
  * @param templates Array of item templates to search
338
338
  * @param id of template we are searching for
339
339
  *
340
- * @return Template associated with the user provided id argument
340
+ * @returns Template associated with the user provided id argument
341
341
  */
342
342
  export declare function getTemplateById(templates: IItemTemplate[], id: string): any;
343
343
  /**
@@ -345,7 +345,7 @@ export declare function getTemplateById(templates: IItemTemplate[], id: string):
345
345
  *
346
346
  * @param v a string value to test with the expression
347
347
  * @param ex the regular expresion to test with
348
- * @return an array of matches
348
+ * @returns an array of matches
349
349
  */
350
350
  export declare function regExTest(v: any, ex: RegExp): any[];
351
351
  /**
@@ -353,7 +353,7 @@ export declare function regExTest(v: any, ex: RegExp): any[];
353
353
  *
354
354
  * @param min Inclusive minimum desired value
355
355
  * @param max Non-inclusive maximum desired value
356
- * @return Random number in the range [min, max)
356
+ * @returns Random number in the range [min, max)
357
357
  */
358
358
  export declare function _getRandomNumberInRange(min: number, max: number): number;
359
359
  /**
@@ -361,7 +361,7 @@ export declare function _getRandomNumberInRange(min: number, max: number): numbe
361
361
  *
362
362
  * @param n Number to pad
363
363
  * @param totalSize Desired *minimum* width of number after padding with zeroes
364
- * @return Number converted to string and padded on the left as needed
365
- * @protected
364
+ * @returns Number converted to string and padded on the left as needed
365
+ * @private
366
366
  */
367
367
  export declare function _padPositiveNum(n: number, totalSize: number): string;
@@ -24,6 +24,6 @@ import { ISolutionPrecis, UserSession } from "./interfaces";
24
24
  *
25
25
  * @param solutionItemId Id of a deployed Solution
26
26
  * @param authentication Credentials for the request
27
- * @return Promise resolving to the list of items in the solution that would be deleted.
27
+ * @returns Promise resolving to the list of items in the solution that would be deleted.
28
28
  */
29
29
  export declare function getDeletableSolutionInfo(solutionItemId: string, authentication: UserSession): Promise<ISolutionPrecis>;
@@ -22,6 +22,6 @@ import { ISolutionPrecis, UserSession } from "./interfaces";
22
22
  *
23
23
  * @param solutionItemId Id of a deployed Solution
24
24
  * @param authentication Credentials for the request
25
- * @return Promise resolving to a summary of the deployed Solution
25
+ * @returns Promise resolving to a summary of the deployed Solution
26
26
  */
27
27
  export declare function getSolutionSummary(solutionItemId: string, authentication: UserSession): Promise<ISolutionPrecis>;