@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
@@ -78,7 +78,7 @@ exports.getFoldersAndGroups = getFoldersAndGroups;
78
78
  * @param url Address of Blob
79
79
  * @param filename Name to use for file
80
80
  * @param authentication Credentials for the request
81
- * @return Promise that will resolve with a File, undefined if the Blob is null, or an AGO-style JSON failure response
81
+ * @returns Promise that will resolve with a File, undefined if the Blob is null, or an AGO-style JSON failure response
82
82
  */
83
83
  function getBlobAsFile(url, filename, authentication, ignoreErrors = [], mimeType) {
84
84
  return new Promise((resolve, reject) => {
@@ -93,7 +93,7 @@ exports.getBlobAsFile = getBlobAsFile;
93
93
  * @param url Address of Blob
94
94
  * @param authentication Credentials for the request
95
95
  * @param ignoreErrors List of HTTP error codes that should be ignored
96
- * @return Promise that will resolve with Blob or an AGO-REST JSON failure response
96
+ * @returns Promise that will resolve with Blob or an AGO-REST JSON failure response
97
97
  */
98
98
  function getBlobCheckForError(url, authentication, ignoreErrors = []) {
99
99
  return new Promise((resolve, reject) => {
@@ -132,7 +132,7 @@ exports.getBlobCheckForError = getBlobCheckForError;
132
132
  * Extracts the text in a url between the last forward slash and the beginning of the url's parameters.
133
133
  *
134
134
  * @param url URL to work with
135
- * @return Text extracted; empty if url ends with a forward slash or has a "?" immediately after the last
135
+ * @returns Text extracted; empty if url ends with a forward slash or has a "?" immediately after the last
136
136
  * forward slash
137
137
  */
138
138
  function getFilenameFromUrl(url) {
@@ -155,7 +155,7 @@ exports.getFilenameFromUrl = getFilenameFromUrl;
155
155
  *
156
156
  * @param groupId Id of an group whose primary information is sought
157
157
  * @param authentication Credentials for the request to AGO
158
- * @return A promise that will resolve with group's JSON or error JSON or throws ArcGISRequestError in case of HTTP error
158
+ * @returns A promise that will resolve with group's JSON or error JSON or throws ArcGISRequestError in case of HTTP error
159
159
  * or response error code
160
160
  */
161
161
  function getGroupBase(groupId, authentication) {
@@ -170,7 +170,7 @@ exports.getGroupBase = getGroupBase;
170
170
  *
171
171
  * @param groupId Id of an group whose category schema information is sought
172
172
  * @param authentication Credentials for the request to AGO
173
- * @return A promise that will resolve with JSON of group's category schema
173
+ * @returns A promise that will resolve with JSON of group's category schema
174
174
  * @see https://developers.arcgis.com/rest/users-groups-and-items/group-category-schema.htm
175
175
  */
176
176
  function getGroupCategorySchema(groupId, authentication) {
@@ -185,7 +185,7 @@ exports.getGroupCategorySchema = getGroupCategorySchema;
185
185
  *
186
186
  * @param groupId Id of a group whose contents are sought
187
187
  * @param authentication Credentials for the request to AGO
188
- * @return A promise that will resolve with list of dependent ids or an empty list
188
+ * @returns A promise that will resolve with list of dependent ids or an empty list
189
189
  */
190
190
  function getGroupContents(groupId, authentication) {
191
191
  return new Promise((resolve, reject) => {
@@ -205,7 +205,7 @@ exports.getGroupContents = getGroupContents;
205
205
  *
206
206
  * @param itemId Id of an item whose primary information is sought
207
207
  * @param authentication Credentials for the request to AGO
208
- * @return A promise that will resolve with item's JSON or error JSON or throws ArcGISRequestError in case of HTTP error
208
+ * @returns A promise that will resolve with item's JSON or error JSON or throws ArcGISRequestError in case of HTTP error
209
209
  * or response error code
210
210
  */
211
211
  function getItemBase(itemId, authentication) {
@@ -221,7 +221,7 @@ exports.getItemBase = getItemBase;
221
221
  * @param itemId Id of an item whose data information is sought
222
222
  * @param filename Name to use for file
223
223
  * @param authentication Credentials for the request to AGO
224
- * @return Promise that will resolve with a File, undefined if the Blob is null, or an AGO-style JSON failure response
224
+ * @returns Promise that will resolve with a File, undefined if the Blob is null, or an AGO-style JSON failure response
225
225
  */
226
226
  function getItemDataAsFile(itemId, filename, authentication) {
227
227
  return new Promise(resolve => {
@@ -235,7 +235,7 @@ exports.getItemDataAsFile = getItemDataAsFile;
235
235
  * @param itemId Id of an item whose data information is sought
236
236
  * @param filename Name to use for file
237
237
  * @param authentication Credentials for the request to AGO
238
- * @return Promise that will resolve with JSON, or an AGO-style JSON failure response
238
+ * @returns Promise that will resolve with JSON, or an AGO-style JSON failure response
239
239
  */
240
240
  function getItemDataAsJson(itemId, authentication) {
241
241
  return new Promise(resolve => {
@@ -248,7 +248,7 @@ exports.getItemDataAsJson = getItemDataAsJson;
248
248
  *
249
249
  * @param itemId Id of an item whose data information is sought
250
250
  * @param authentication Credentials for the request to AGO
251
- * @return A promise that will resolve with the data Blob or null if the item doesn't have a data section
251
+ * @returns A promise that will resolve with the data Blob or null if the item doesn't have a data section
252
252
  */
253
253
  function getItemDataBlob(itemId, authentication) {
254
254
  return new Promise(resolve => {
@@ -262,7 +262,7 @@ exports.getItemDataBlob = getItemDataBlob;
262
262
  *
263
263
  * @param itemId Id of an item whose data information is sought
264
264
  * @param authentication Credentials for the request to AGO
265
- * @return URL string
265
+ * @returns URL string
266
266
  */
267
267
  function getItemDataBlobUrl(itemId, authentication) {
268
268
  return `${getPortalSharingUrlFromAuth(authentication)}/content/items/${itemId}/data`;
@@ -273,7 +273,7 @@ exports.getItemDataBlobUrl = getItemDataBlobUrl;
273
273
  *
274
274
  * @param itemId Id of an item whose data information is sought
275
275
  * @param authentication Credentials for the request to AGO
276
- * @return URL string
276
+ * @returns URL string
277
277
  */
278
278
  function getItemInfoFileUrlPrefix(itemId, authentication) {
279
279
  return `${getPortalSharingUrlFromAuth(authentication)}/content/items/${itemId}/info/`;
@@ -284,7 +284,7 @@ exports.getItemInfoFileUrlPrefix = getItemInfoFileUrlPrefix;
284
284
  *
285
285
  * @param itemId Id of an item whose data information is sought
286
286
  * @param authentication Credentials for the request to AGO
287
- * @return Promise that will resolve with `undefined` or a File containing the metadata
287
+ * @returns Promise that will resolve with `undefined` or a File containing the metadata
288
288
  */
289
289
  function getItemMetadataAsFile(itemId, authentication) {
290
290
  return new Promise(resolve => {
@@ -304,7 +304,7 @@ exports.getItemMetadataAsFile = getItemMetadataAsFile;
304
304
  *
305
305
  * @param itemId Id of an item whose data information is sought
306
306
  * @param authentication Credentials for the request to AGO
307
- * @return A promise that will resolve with the metadata Blob or null if the item doesn't have a metadata file
307
+ * @returns A promise that will resolve with the metadata Blob or null if the item doesn't have a metadata file
308
308
  */
309
309
  function getItemMetadataBlob(itemId, authentication) {
310
310
  return new Promise((resolve, reject) => {
@@ -318,7 +318,7 @@ exports.getItemMetadataBlob = getItemMetadataBlob;
318
318
  *
319
319
  * @param itemId Id of an item whose data information is sought
320
320
  * @param authentication Credentials for the request to AGO
321
- * @return URL string
321
+ * @returns URL string
322
322
  */
323
323
  function getItemMetadataBlobUrl(itemId, authentication) {
324
324
  return (getItemInfoFileUrlPrefix(itemId, authentication) + "metadata/metadata.xml");
@@ -331,7 +331,7 @@ exports.getItemMetadataBlobUrl = getItemMetadataBlobUrl;
331
331
  * @param relationshipType
332
332
  * @param direction
333
333
  * @param authentication Credentials for the request to AGO
334
- * @return A promise that will resolve with an arcgis-rest-js `IGetRelatedItemsResponse` structure
334
+ * @returns A promise that will resolve with an arcgis-rest-js `IGetRelatedItemsResponse` structure
335
335
  */
336
336
  function getItemRelatedItems(itemId, relationshipType, direction, authentication) {
337
337
  return new Promise(resolve => {
@@ -361,7 +361,7 @@ exports.getItemRelatedItems = getItemRelatedItems;
361
361
  * @param itemId Id of an item whose related items are sought
362
362
  * @param direction
363
363
  * @param authentication Credentials for the request to AGO
364
- * @return A promise that will resolve with a list of IRelatedItems
364
+ * @returns A promise that will resolve with a list of IRelatedItems
365
365
  */
366
366
  function getItemRelatedItemsInSameDirection(itemId, direction, authentication) {
367
367
  return new Promise(resolve => {
@@ -433,7 +433,7 @@ exports.getItemResources = getItemResources;
433
433
  *
434
434
  * @param itemId Id of an item whose resources are sought
435
435
  * @param authentication Credentials for the request to AGO
436
- * @return Promise that will resolve with a list of Files or an AGO-style JSON failure response
436
+ * @returns Promise that will resolve with a list of Files or an AGO-style JSON failure response
437
437
  */
438
438
  function getItemResourcesFiles(itemId, authentication) {
439
439
  return new Promise((resolve, reject) => {
@@ -453,7 +453,7 @@ exports.getItemResourcesFiles = getItemResourcesFiles;
453
453
  *
454
454
  * @param solutionItemId Id of a deployed Solution
455
455
  * @param authentication Credentials for the request
456
- * @return Promise resolving to a list of detailed item information
456
+ * @returns Promise resolving to a list of detailed item information
457
457
  */
458
458
  function getItemsRelatedToASolution(solutionItemId, authentication) {
459
459
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
@@ -470,7 +470,7 @@ exports.getItemsRelatedToASolution = getItemsRelatedToASolution;
470
470
  * in the item's base section
471
471
  * @param isGroup Switch indicating if the item is a group
472
472
  * @param authentication Credentials for the request to AGO
473
- * @return Promise that will resolve with an image Blob or an AGO-style JSON failure response
473
+ * @returns Promise that will resolve with an image Blob or an AGO-style JSON failure response
474
474
  */
475
475
  function getItemThumbnail(itemId, thumbnailUrlPart, isGroup, authentication) {
476
476
  return new Promise((resolve, reject) => {
@@ -491,7 +491,7 @@ exports.getItemThumbnail = getItemThumbnail;
491
491
  * in the item's base section
492
492
  * @param isGroup Switch indicating if the item is a group
493
493
  * @param authentication Credentials for the request to AGO
494
- * @return Promise that will resolve with an image Blob or an AGO-style JSON failure response
494
+ * @returns Promise that will resolve with an image Blob or an AGO-style JSON failure response
495
495
  */
496
496
  function getItemThumbnailAsFile(itemId, thumbnailUrlPart, isGroup, authentication) {
497
497
  return new Promise((resolve, reject) => {
@@ -515,7 +515,7 @@ exports.getItemThumbnailAsFile = getItemThumbnailAsFile;
515
515
  * in the item's base section
516
516
  * @param isGroup Switch indicating if the item is a group
517
517
  * @param authentication Credentials for the request to AGO
518
- * @return URL string
518
+ * @returns URL string
519
519
  */
520
520
  function getItemThumbnailUrl(itemId, thumbnailUrlPart, isGroup, authentication) {
521
521
  return ((0, generalHelpers_1.checkUrlPathTermination)(getPortalSharingUrlFromAuth(authentication)) +
@@ -530,7 +530,7 @@ exports.getItemThumbnailUrl = getItemThumbnailUrl;
530
530
  *
531
531
  * @param url Address of JSON
532
532
  * @param authentication Credentials for the request
533
- * @return Promise that will resolve with JSON
533
+ * @returns Promise that will resolve with JSON
534
534
  */
535
535
  function getJson(url, authentication) {
536
536
  // Get the blob from the URL
@@ -578,7 +578,7 @@ exports.getPortalUrlFromAuth = getPortalUrlFromAuth;
578
578
  *
579
579
  * @param itemId Id of an AGO item to query
580
580
  * @param authentication Credentials for the request
581
- * @return Promise resolving to a list of Solution item ids
581
+ * @returns Promise resolving to a list of Solution item ids
582
582
  */
583
583
  function getSolutionsRelatedToAnItem(itemId, authentication) {
584
584
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
@@ -598,9 +598,9 @@ exports.getThumbnailFile = getThumbnailFile;
598
598
  * Fixes the types of Blobs incorrectly typed as text/plain.
599
599
  *
600
600
  * @param blob Blob to check
601
- * @return Promise resolving to original Blob, unless it's originally typed as text/plain but is
601
+ * @returns Promise resolving to original Blob, unless it's originally typed as text/plain but is
602
602
  * really JSON, ZIP, or XML
603
- * @protected
603
+ * @private
604
604
  */
605
605
  function _fixTextBlobType(blob) {
606
606
  return new Promise((resolve, reject) => {
@@ -654,8 +654,8 @@ exports._fixTextBlobType = _fixTextBlobType;
654
654
  * @param groupId Id of a group whose contents are sought
655
655
  * @param pagingParams Structure with start and num properties for the tranche to fetch
656
656
  * @param authentication Credentials for the request to AGO
657
- * @return A promise that will resolve with list of dependent ids or an empty list
658
- * @protected
657
+ * @returns A promise that will resolve with list of dependent ids or an empty list
658
+ * @private
659
659
  */
660
660
  function _getGroupContentsTranche(groupId, pagingParams, authentication) {
661
661
  return new Promise((resolve, reject) => {
@@ -693,8 +693,8 @@ exports._getGroupContentsTranche = _getGroupContentsTranche;
693
693
  * @param itemId Id of an item whose resources are sought
694
694
  * @param pagingParams Structure with start and num properties for the tranche to fetch
695
695
  * @param authentication Credentials for the request to AGO
696
- * @return Promise that will resolve with a list of File promises or an AGO-style JSON failure response
697
- * @protected
696
+ * @returns Promise that will resolve with a list of File promises or an AGO-style JSON failure response
697
+ * @private
698
698
  */
699
699
  function _getItemResourcesTranche(itemId, pagingParams, authentication) {
700
700
  return new Promise((resolve, reject) => {
@@ -19,31 +19,31 @@ import { IItemTemplate, ISolutionItemData } from "./interfaces";
19
19
  * itself; name has to be acceptable to AGOL, otherwise it discards the URL, so substitution must be
20
20
  * made before attempting to create the item.
21
21
  *
22
- * @protected
22
+ * @private
23
23
  */
24
24
  export declare const SERVER_NAME: string;
25
25
  /**
26
26
  * A parameterized geometry server name
27
27
  *
28
- * @protected
28
+ * @private
29
29
  */
30
30
  export declare const GEOMETRY_SERVER_NAME: string;
31
31
  /**
32
32
  * A parameterized geocode server name
33
33
  *
34
- * @protected
34
+ * @private
35
35
  */
36
36
  export declare const GEOCODE_SERVER_NAME: string;
37
37
  /**
38
38
  * A parameterized network analyst server name
39
39
  *
40
- * @protected
40
+ * @private
41
41
  */
42
42
  export declare const NA_SERVER_NAME: string;
43
43
  /**
44
44
  * A parameterized network analyst server name
45
45
  *
46
- * @protected
46
+ * @private
47
47
  */
48
48
  export declare const PRINT_SERVER_NAME: string;
49
49
  export declare const TRANSFORMS: any;
@@ -51,7 +51,7 @@ export declare const TRANSFORMS: any;
51
51
  * Wraps double brackets around the supplied term.
52
52
  *
53
53
  * @param term Term to be wrapped, e.g., SERVER_NAME's "portalBaseUrl"
54
- * @return Wrapped term, e.g., "{{portalBaseUrl}}"
54
+ * @returns Wrapped term, e.g., "{{portalBaseUrl}}"
55
55
  */
56
56
  export declare function placeholder(term: string): string;
57
57
  export declare function createInitializedGroupTemplate(itemInfo: any): IItemTemplate;
@@ -61,14 +61,14 @@ export declare function createInitializedItemTemplate(itemInfo: any): IItemTempl
61
61
  *
62
62
  * @param id AGO id of item
63
63
  * @param type AGO item type; defaults to ""
64
- * @return Empty template containing supplied id, optional type, and a key created using the function createShortId()
64
+ * @returns Empty template containing supplied id, optional type, and a key created using the function createShortId()
65
65
  */
66
66
  export declare function createPlaceholderTemplate(id: string, type?: string): IItemTemplate;
67
67
  /**
68
68
  * Extracts the version of a solution from its data section.
69
69
  *
70
70
  * @param itemData Data section of the solution as JSON
71
- * @return Zero-based version number
71
+ * @returns Zero-based version number
72
72
  */
73
73
  export declare function extractSolutionVersion(itemData: ISolutionItemData): number;
74
74
  /**
@@ -76,8 +76,8 @@ export declare function extractSolutionVersion(itemData: ISolutionItemData): num
76
76
  *
77
77
  * @param templates A collection of AGO item templates to search
78
78
  * @param id AGO id of template to find
79
- * @return Offset of of matching template or -1 if not found
80
- * @protected
79
+ * @returns Offset of of matching template or -1 if not found
80
+ * @private
81
81
  */
82
82
  export declare function findTemplateIndexInList(templates: IItemTemplate[], id: string): number;
83
83
  /**
@@ -85,7 +85,7 @@ export declare function findTemplateIndexInList(templates: IItemTemplate[], id:
85
85
  *
86
86
  * @param templates A collection of AGO item templates to search
87
87
  * @param id AGO id of template to find
88
- * @return Matching template or null
88
+ * @returns Matching template or null
89
89
  */
90
90
  export declare function findTemplateInList(templates: IItemTemplate[], id: string): IItemTemplate | null;
91
91
  export declare function hasUnresolvedVariables(data: any): boolean;
@@ -96,7 +96,7 @@ export declare function getDefaultExtent(itemInfo: any): any;
96
96
  *
97
97
  * @param templates A collection of AGO item templates
98
98
  * @param id Id of item in templates list to find; if not found, no replacement is done
99
- * @protected
99
+ * @private
100
100
  */
101
101
  export declare function removeTemplate(templates: IItemTemplate[], id: string): void;
102
102
  /**
@@ -104,7 +104,7 @@ export declare function removeTemplate(templates: IItemTemplate[], id: string):
104
104
  *
105
105
  * @param template Template to check for replacements; template is modified by this function
106
106
  * @param replacements Hash of facts: org URL, adlib replacements, deferreds for dependencies
107
- * @return template is returned after updating it
107
+ * @returns template is returned after updating it
108
108
  */
109
109
  export declare function replaceInTemplate(template: any, replacements: any): any;
110
110
  /**
@@ -113,8 +113,8 @@ export declare function replaceInTemplate(template: any, replacements: any): any
113
113
  * @param templates A collection of AGO item templates
114
114
  * @param id Id of item in templates list to find; if not found, no replacement is done
115
115
  * @param template Replacement template
116
- * @return True if replacement was made
117
- * @protected
116
+ * @returns True if replacement was made
117
+ * @private
118
118
  */
119
119
  export declare function replaceTemplate(templates: IItemTemplate[], id: string, template: IItemTemplate): boolean;
120
120
  export declare function templatizeTerm(context: string, term: string, suffix?: string): string;
@@ -30,31 +30,31 @@ const generalHelpers_1 = require("./generalHelpers");
30
30
  * itself; name has to be acceptable to AGOL, otherwise it discards the URL, so substitution must be
31
31
  * made before attempting to create the item.
32
32
  *
33
- * @protected
33
+ * @private
34
34
  */
35
35
  exports.SERVER_NAME = "portalBaseUrl";
36
36
  /**
37
37
  * A parameterized geometry server name
38
38
  *
39
- * @protected
39
+ * @private
40
40
  */
41
41
  exports.GEOMETRY_SERVER_NAME = "organization.helperServices.geometry.url";
42
42
  /**
43
43
  * A parameterized geocode server name
44
44
  *
45
- * @protected
45
+ * @private
46
46
  */
47
47
  exports.GEOCODE_SERVER_NAME = "organization.helperServices.geocode:getDefaultLocatorURL";
48
48
  /**
49
49
  * A parameterized network analyst server name
50
50
  *
51
- * @protected
51
+ * @private
52
52
  */
53
53
  exports.NA_SERVER_NAME = "organization.helperServices.route.url";
54
54
  /**
55
55
  * A parameterized network analyst server name
56
56
  *
57
- * @protected
57
+ * @private
58
58
  */
59
59
  exports.PRINT_SERVER_NAME = "organization.helperServices.printTask.url";
60
60
  exports.TRANSFORMS = {
@@ -68,7 +68,7 @@ exports.TRANSFORMS = {
68
68
  * Wraps double brackets around the supplied term.
69
69
  *
70
70
  * @param term Term to be wrapped, e.g., SERVER_NAME's "portalBaseUrl"
71
- * @return Wrapped term, e.g., "{{portalBaseUrl}}"
71
+ * @returns Wrapped term, e.g., "{{portalBaseUrl}}"
72
72
  */
73
73
  function placeholder(term) {
74
74
  return "{{" + term + "}}";
@@ -120,7 +120,7 @@ exports.createInitializedItemTemplate = createInitializedItemTemplate;
120
120
  *
121
121
  * @param id AGO id of item
122
122
  * @param type AGO item type; defaults to ""
123
- * @return Empty template containing supplied id, optional type, and a key created using the function createShortId()
123
+ * @returns Empty template containing supplied id, optional type, and a key created using the function createShortId()
124
124
  */
125
125
  function createPlaceholderTemplate(id, type = "") {
126
126
  return {
@@ -144,7 +144,7 @@ exports.createPlaceholderTemplate = createPlaceholderTemplate;
144
144
  * Extracts the version of a solution from its data section.
145
145
  *
146
146
  * @param itemData Data section of the solution as JSON
147
- * @return Zero-based version number
147
+ * @returns Zero-based version number
148
148
  */
149
149
  function extractSolutionVersion(itemData) {
150
150
  let version = (0, generalHelpers_1.getProp)(itemData, "metadata.version");
@@ -163,8 +163,8 @@ exports.extractSolutionVersion = extractSolutionVersion;
163
163
  *
164
164
  * @param templates A collection of AGO item templates to search
165
165
  * @param id AGO id of template to find
166
- * @return Offset of of matching template or -1 if not found
167
- * @protected
166
+ * @returns Offset of of matching template or -1 if not found
167
+ * @private
168
168
  */
169
169
  function findTemplateIndexInList(templates, id) {
170
170
  const baseId = id;
@@ -178,7 +178,7 @@ exports.findTemplateIndexInList = findTemplateIndexInList;
178
178
  *
179
179
  * @param templates A collection of AGO item templates to search
180
180
  * @param id AGO id of template to find
181
- * @return Matching template or null
181
+ * @returns Matching template or null
182
182
  */
183
183
  function findTemplateInList(templates, id) {
184
184
  const iTemplate = findTemplateIndexInList(templates, id);
@@ -208,7 +208,7 @@ exports.getDefaultExtent = getDefaultExtent;
208
208
  *
209
209
  * @param templates A collection of AGO item templates
210
210
  * @param id Id of item in templates list to find; if not found, no replacement is done
211
- * @protected
211
+ * @private
212
212
  */
213
213
  function removeTemplate(templates, id) {
214
214
  const i = findTemplateIndexInList(templates, id);
@@ -222,7 +222,7 @@ exports.removeTemplate = removeTemplate;
222
222
  *
223
223
  * @param template Template to check for replacements; template is modified by this function
224
224
  * @param replacements Hash of facts: org URL, adlib replacements, deferreds for dependencies
225
- * @return template is returned after updating it
225
+ * @returns template is returned after updating it
226
226
  */
227
227
  function replaceInTemplate(template, replacements) {
228
228
  return (0, adlib_1.adlib)(template, replacements, exports.TRANSFORMS);
@@ -234,8 +234,8 @@ exports.replaceInTemplate = replaceInTemplate;
234
234
  * @param templates A collection of AGO item templates
235
235
  * @param id Id of item in templates list to find; if not found, no replacement is done
236
236
  * @param template Replacement template
237
- * @return True if replacement was made
238
- * @protected
237
+ * @returns True if replacement was made
238
+ * @private
239
239
  */
240
240
  function replaceTemplate(templates, id, template) {
241
241
  const i = findTemplateIndexInList(templates, id);
@@ -27,7 +27,7 @@ import { ICreateServiceParams } from "@esri/arcgis-rest-service-admin";
27
27
  * @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
28
28
  * @param templates the list of IItemTemplates from the solution
29
29
  *
30
- * @protected
30
+ * @private
31
31
  */
32
32
  export declare function setLocationTrackingEnabled(portalResponse: any, userResponse: any, templateDictionary: any, templates?: IItemTemplate[]): void;
33
33
  /**
@@ -39,7 +39,7 @@ export declare function setLocationTrackingEnabled(portalResponse: any, userResp
39
39
  * @param templates the list of IItemTemplates from the solution
40
40
  * @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
41
41
  *
42
- * @protected
42
+ * @private
43
43
  */
44
44
  export declare function _validateTrackingTemplates(templates: IItemTemplate[], templateDictionary: any): void;
45
45
  /**
@@ -52,7 +52,7 @@ export declare function _validateTrackingTemplates(templates: IItemTemplate[], t
52
52
  * @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
53
53
  * @param authentication Credentials for the requests
54
54
  *
55
- * @protected
55
+ * @private
56
56
  */
57
57
  export declare function getTackingServiceOwner(templateDictionary: any, authentication: UserSession): Promise<boolean>;
58
58
  /**
@@ -61,7 +61,7 @@ export declare function getTackingServiceOwner(templateDictionary: any, authenti
61
61
  * @param itemTemplate the template to evaluate
62
62
  * @param itemUpdate the item update to evaluate
63
63
  *
64
- * @protected
64
+ * @private
65
65
  */
66
66
  export declare function isTrackingViewTemplate(itemTemplate?: IItemTemplate, itemUpdate?: IItemUpdate): boolean;
67
67
  /**
@@ -69,7 +69,7 @@ export declare function isTrackingViewTemplate(itemTemplate?: IItemTemplate, ite
69
69
  *
70
70
  * @param itemTemplate the template to evaluate
71
71
  *
72
- * @protected
72
+ * @private
73
73
  */
74
74
  export declare function isTrackingViewGroup(itemTemplate: IItemTemplate): boolean;
75
75
  /**
@@ -78,7 +78,7 @@ export declare function isTrackingViewGroup(itemTemplate: IItemTemplate): boolea
78
78
  *
79
79
  * @param itemTemplate Template for feature service item
80
80
  *
81
- * @protected
81
+ * @private
82
82
  */
83
83
  export declare function templatizeTracker(itemTemplate: IItemTemplate): void;
84
84
  /**
@@ -90,7 +90,7 @@ export declare function templatizeTracker(itemTemplate: IItemTemplate): void;
90
90
  * @param groupId the id of the associated tracker group
91
91
  * @param groupIdVar the variable to replace the existing name with
92
92
  *
93
- * @protected
93
+ * @private
94
94
  */
95
95
  export declare function _setName(itemTemplate: IItemTemplate, path: string, groupId: string, groupIdVar: string): void;
96
96
  /**
@@ -101,7 +101,7 @@ export declare function _setName(itemTemplate: IItemTemplate, path: string, grou
101
101
  * @param obj the object that stores the serviceItemId
102
102
  * @param path the path to the property that stores the serviceItemId
103
103
  *
104
- * @protected
104
+ * @private
105
105
  */
106
106
  export declare function templatizeServiceItemId(obj: any, path: string): void;
107
107
  /**
@@ -111,6 +111,6 @@ export declare function templatizeServiceItemId(obj: any, path: string): void;
111
111
  * @param options the current request options to update
112
112
  * @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
113
113
  *
114
- * @protected
114
+ * @private
115
115
  */
116
116
  export declare function setTrackingOptions(itemTemplate: IItemTemplate, options: any, templateDictionary: any): ICreateServiceParams;
@@ -30,7 +30,7 @@ const templatization_1 = require("./templatization");
30
30
  * @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
31
31
  * @param templates the list of IItemTemplates from the solution
32
32
  *
33
- * @protected
33
+ * @private
34
34
  */
35
35
  function setLocationTrackingEnabled(portalResponse, userResponse, templateDictionary, templates) {
36
36
  // set locationTracking...contains service url and id
@@ -59,7 +59,7 @@ exports.setLocationTrackingEnabled = setLocationTrackingEnabled;
59
59
  * @param templates the list of IItemTemplates from the solution
60
60
  * @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
61
61
  *
62
- * @protected
62
+ * @private
63
63
  */
64
64
  function _validateTrackingTemplates(templates, templateDictionary) {
65
65
  /* istanbul ignore else */
@@ -83,7 +83,7 @@ exports._validateTrackingTemplates = _validateTrackingTemplates;
83
83
  * @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
84
84
  * @param authentication Credentials for the requests
85
85
  *
86
- * @protected
86
+ * @private
87
87
  */
88
88
  function getTackingServiceOwner(templateDictionary, authentication) {
89
89
  if (templateDictionary.locationTrackingEnabled) {
@@ -107,7 +107,7 @@ exports.getTackingServiceOwner = getTackingServiceOwner;
107
107
  * @param itemTemplate the template to evaluate
108
108
  * @param itemUpdate the item update to evaluate
109
109
  *
110
- * @protected
110
+ * @private
111
111
  */
112
112
  function isTrackingViewTemplate(itemTemplate, itemUpdate) {
113
113
  const typeKeywords = (0, generalHelpers_1.getProp)(itemTemplate, "item.typeKeywords") ||
@@ -122,7 +122,7 @@ exports.isTrackingViewTemplate = isTrackingViewTemplate;
122
122
  *
123
123
  * @param itemTemplate the template to evaluate
124
124
  *
125
- * @protected
125
+ * @private
126
126
  */
127
127
  function isTrackingViewGroup(itemTemplate) {
128
128
  const typeKeywords = (0, generalHelpers_1.getProp)(itemTemplate, "item.tags");
@@ -135,7 +135,7 @@ exports.isTrackingViewGroup = isTrackingViewGroup;
135
135
  *
136
136
  * @param itemTemplate Template for feature service item
137
137
  *
138
- * @protected
138
+ * @private
139
139
  */
140
140
  function templatizeTracker(itemTemplate) {
141
141
  /* istanbul ignore else */
@@ -163,7 +163,7 @@ exports.templatizeTracker = templatizeTracker;
163
163
  * @param groupId the id of the associated tracker group
164
164
  * @param groupIdVar the variable to replace the existing name with
165
165
  *
166
- * @protected
166
+ * @private
167
167
  */
168
168
  function _setName(itemTemplate, path, groupId, groupIdVar) {
169
169
  const name = (0, generalHelpers_1.getProp)(itemTemplate, path);
@@ -181,7 +181,7 @@ exports._setName = _setName;
181
181
  * @param obj the object that stores the serviceItemId
182
182
  * @param path the path to the property that stores the serviceItemId
183
183
  *
184
- * @protected
184
+ * @private
185
185
  */
186
186
  function templatizeServiceItemId(obj, path) {
187
187
  const serviceItemId = (0, generalHelpers_1.getProp)(obj, path);
@@ -198,7 +198,7 @@ exports.templatizeServiceItemId = templatizeServiceItemId;
198
198
  * @param options the current request options to update
199
199
  * @param templateDictionary Hash of facts: org URL, adlib replacements, deferreds for dependencies
200
200
  *
201
- * @protected
201
+ * @private
202
202
  */
203
203
  function setTrackingOptions(itemTemplate, options, templateDictionary) {
204
204
  /* istanbul ignore else */
@@ -26,7 +26,7 @@ export declare const PROP_NAMES: string[];
26
26
  * @param authentication Credentials for the requests
27
27
  * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
28
28
  *
29
- * @return a promise that will resolve with the velocity url or an empty string when the org does not support velocity
29
+ * @returns a promise that will resolve with the velocity url or an empty string when the org does not support velocity
30
30
  *
31
31
  */
32
32
  export declare function getVelocityUrlBase(authentication: UserSession, templateDictionary: any): Promise<string>;
@@ -40,7 +40,7 @@ export declare function getVelocityUrlBase(authentication: UserSession, template
40
40
  * @param type The item type
41
41
  * @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
42
42
  *
43
- * @return an updated instance of the data object that was supplied.
43
+ * @returns an updated instance of the data object that was supplied.
44
44
  *
45
45
  */
46
46
  export declare function updateVelocityReferences(data: any, type: string, templateDictionary: any): any;
@@ -51,7 +51,7 @@ export declare function updateVelocityReferences(data: any, type: string, templa
51
51
  * @param data The data object of the item
52
52
  * @param velocityUrl The velocity url from the current organization
53
53
  *
54
- * @return an updated instance of the data object that was supplied.
55
- *
54
+ * @returns an updated instance of the data object that was supplied.
55
+ * @private
56
56
  */
57
57
  export declare function _replaceVelocityUrls(data: any, velocityUrl: string): any;