@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.
- package/dist/esm/completeItem.d.ts +1 -1
- package/dist/esm/completeItem.js +1 -1
- package/dist/esm/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteEmptyGroups.js +1 -1
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionContents.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionFolder.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionItem.js +1 -1
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.js +1 -1
- package/dist/esm/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/esm/deleteHelpers/removeItems.js +1 -1
- package/dist/esm/deleteSolution.d.ts +2 -2
- package/dist/esm/deleteSolution.js +2 -2
- package/dist/esm/dependencies.d.ts +1 -1
- package/dist/esm/dependencies.js +2 -2
- package/dist/esm/featureServiceHelpers.d.ts +99 -60
- package/dist/esm/featureServiceHelpers.js +99 -60
- package/dist/esm/featureServiceHelpers.js.map +1 -1
- package/dist/esm/generalHelpers.d.ts +34 -34
- package/dist/esm/generalHelpers.js +36 -36
- package/dist/esm/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/esm/getDeletableSolutionInfo.js +1 -1
- package/dist/esm/getSolutionSummary.d.ts +1 -1
- package/dist/esm/getSolutionSummary.js +1 -1
- package/dist/esm/interfaces.d.ts +438 -10
- package/dist/esm/interfaces.js +7 -1
- package/dist/esm/interfaces.js.map +1 -1
- package/dist/esm/libConnectors.d.ts +5 -5
- package/dist/esm/libConnectors.js +5 -5
- package/dist/esm/migrations/apply-schema.d.ts +1 -0
- package/dist/esm/migrations/apply-schema.js +1 -0
- package/dist/esm/migrations/apply-schema.js.map +1 -1
- package/dist/esm/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/esm/migrations/upgrade-three-dot-one.js +1 -0
- package/dist/esm/migrations/upgrade-three-dot-one.js.map +1 -1
- package/dist/esm/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/esm/migrations/upgrade-two-dot-seven.js +7 -0
- package/dist/esm/migrations/upgrade-two-dot-seven.js.map +1 -1
- package/dist/esm/polyfills.d.ts +2 -2
- package/dist/esm/polyfills.js +2 -2
- package/dist/esm/resourceHelpers.d.ts +11 -11
- package/dist/esm/resourceHelpers.js +11 -11
- package/dist/esm/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/esm/resources/addMetadataFromBlob.js +1 -1
- package/dist/esm/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/esm/resources/convert-item-resource-to-storage-resource.js +1 -1
- package/dist/esm/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/esm/resources/convert-storage-resource-to-item-resource.js +1 -1
- package/dist/esm/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/esm/resources/copyAssociatedFiles.js +5 -4
- package/dist/esm/resources/copyAssociatedFiles.js.map +1 -1
- package/dist/esm/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/esm/resources/copyDataIntoItem.js +2 -2
- package/dist/esm/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/esm/resources/copyMetadataIntoItem.js +1 -1
- package/dist/esm/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/esm/resources/copyResourceIntoZip.js +2 -2
- package/dist/esm/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/esm/resources/copyZipIntoItem.js +1 -1
- package/dist/esm/resources/createCopyResults.d.ts +1 -1
- package/dist/esm/resources/createCopyResults.js +1 -1
- package/dist/esm/resources/get-blob.d.ts +1 -1
- package/dist/esm/resources/get-blob.js +1 -1
- package/dist/esm/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/esm/resources/getItemResourcesFilesFromPaths.js +1 -1
- package/dist/esm/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/esm/resources/getItemResourcesPaths.js +1 -1
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js +1 -0
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js.map +1 -1
- package/dist/esm/restHelpers.d.ts +59 -54
- package/dist/esm/restHelpers.js +55 -50
- package/dist/esm/restHelpers.js.map +1 -1
- package/dist/esm/restHelpersGet.d.ts +30 -30
- package/dist/esm/restHelpersGet.js +30 -30
- package/dist/esm/templatization.d.ts +15 -15
- package/dist/esm/templatization.js +15 -15
- package/dist/esm/trackingHelpers.d.ts +9 -9
- package/dist/esm/trackingHelpers.js +9 -9
- package/dist/esm/velocityHelpers.d.ts +4 -4
- package/dist/esm/velocityHelpers.js +4 -4
- package/dist/esm/workforceHelpers.d.ts +8 -7
- package/dist/esm/workforceHelpers.js +18 -7
- package/dist/esm/workforceHelpers.js.map +1 -1
- package/dist/node/completeItem.d.ts +1 -1
- package/dist/node/completeItem.js +1 -1
- package/dist/node/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteEmptyGroups.js +1 -1
- package/dist/node/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteGroupIfEmpty.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionContents.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionFolder.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionItem.js +1 -1
- package/dist/node/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/node/deleteHelpers/reconstructBuildOrderIds.js +1 -1
- package/dist/node/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/node/deleteHelpers/removeItems.js +1 -1
- package/dist/node/deleteSolution.d.ts +2 -2
- package/dist/node/deleteSolution.js +2 -2
- package/dist/node/dependencies.d.ts +1 -1
- package/dist/node/dependencies.js +2 -2
- package/dist/node/featureServiceHelpers.d.ts +99 -60
- package/dist/node/featureServiceHelpers.js +99 -60
- package/dist/node/featureServiceHelpers.js.map +1 -1
- package/dist/node/generalHelpers.d.ts +34 -34
- package/dist/node/generalHelpers.js +36 -36
- package/dist/node/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/node/getDeletableSolutionInfo.js +1 -1
- package/dist/node/getSolutionSummary.d.ts +1 -1
- package/dist/node/getSolutionSummary.js +1 -1
- package/dist/node/interfaces.d.ts +438 -10
- package/dist/node/interfaces.js +7 -1
- package/dist/node/interfaces.js.map +1 -1
- package/dist/node/libConnectors.d.ts +5 -5
- package/dist/node/libConnectors.js +5 -5
- package/dist/node/migrations/apply-schema.d.ts +1 -0
- package/dist/node/migrations/apply-schema.js +1 -0
- package/dist/node/migrations/apply-schema.js.map +1 -1
- package/dist/node/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/node/migrations/upgrade-three-dot-one.js +1 -0
- package/dist/node/migrations/upgrade-three-dot-one.js.map +1 -1
- package/dist/node/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/node/migrations/upgrade-two-dot-seven.js +7 -0
- package/dist/node/migrations/upgrade-two-dot-seven.js.map +1 -1
- package/dist/node/polyfills.d.ts +2 -2
- package/dist/node/polyfills.js +2 -2
- package/dist/node/resourceHelpers.d.ts +11 -11
- package/dist/node/resourceHelpers.js +11 -11
- package/dist/node/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/node/resources/addMetadataFromBlob.js +1 -1
- package/dist/node/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/node/resources/convert-item-resource-to-storage-resource.js +1 -1
- package/dist/node/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/node/resources/convert-storage-resource-to-item-resource.js +1 -1
- package/dist/node/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/node/resources/copyAssociatedFiles.js +5 -4
- package/dist/node/resources/copyAssociatedFiles.js.map +1 -1
- package/dist/node/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/node/resources/copyDataIntoItem.js +2 -2
- package/dist/node/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/node/resources/copyMetadataIntoItem.js +1 -1
- package/dist/node/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/node/resources/copyResourceIntoZip.js +2 -2
- package/dist/node/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/node/resources/copyZipIntoItem.js +1 -1
- package/dist/node/resources/createCopyResults.d.ts +1 -1
- package/dist/node/resources/createCopyResults.js +1 -1
- package/dist/node/resources/get-blob.d.ts +1 -1
- package/dist/node/resources/get-blob.js +1 -1
- package/dist/node/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/node/resources/getItemResourcesFilesFromPaths.js +1 -1
- package/dist/node/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/node/resources/getItemResourcesPaths.js +1 -1
- package/dist/node/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/node/resources/transform-resource-paths-to-solution-resources.js +1 -0
- package/dist/node/resources/transform-resource-paths-to-solution-resources.js.map +1 -1
- package/dist/node/restHelpers.d.ts +59 -54
- package/dist/node/restHelpers.js +55 -50
- package/dist/node/restHelpers.js.map +1 -1
- package/dist/node/restHelpersGet.d.ts +30 -30
- package/dist/node/restHelpersGet.js +30 -30
- package/dist/node/templatization.d.ts +15 -15
- package/dist/node/templatization.js +15 -15
- package/dist/node/trackingHelpers.d.ts +9 -9
- package/dist/node/trackingHelpers.js +9 -9
- package/dist/node/velocityHelpers.d.ts +4 -4
- package/dist/node/velocityHelpers.js +4 -4
- package/dist/node/workforceHelpers.d.ts +8 -7
- package/dist/node/workforceHelpers.js +18 -7
- package/dist/node/workforceHelpers.js.map +1 -1
- package/dist/umd/common.umd.js +399 -313
- package/dist/umd/common.umd.js.map +1 -1
- package/dist/umd/common.umd.min.js +3 -3
- package/dist/umd/common.umd.min.js.map +1 -1
- package/dist/umd/completeItem.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/umd/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/umd/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/umd/deleteSolution.d.ts +2 -2
- package/dist/umd/dependencies.d.ts +1 -1
- package/dist/umd/featureServiceHelpers.d.ts +99 -60
- package/dist/umd/generalHelpers.d.ts +34 -34
- package/dist/umd/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/umd/getSolutionSummary.d.ts +1 -1
- package/dist/umd/interfaces.d.ts +438 -10
- package/dist/umd/libConnectors.d.ts +5 -5
- package/dist/umd/migrations/apply-schema.d.ts +1 -0
- package/dist/umd/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/umd/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/umd/polyfills.d.ts +2 -2
- package/dist/umd/resourceHelpers.d.ts +11 -11
- package/dist/umd/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/umd/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/umd/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/umd/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/umd/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/umd/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/umd/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/umd/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/umd/resources/createCopyResults.d.ts +1 -1
- package/dist/umd/resources/get-blob.d.ts +1 -1
- package/dist/umd/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/umd/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/umd/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/umd/restHelpers.d.ts +59 -54
- package/dist/umd/restHelpersGet.d.ts +30 -30
- package/dist/umd/templatization.d.ts +15 -15
- package/dist/umd/trackingHelpers.d.ts +9 -9
- package/dist/umd/velocityHelpers.d.ts +4 -4
- package/dist/umd/workforceHelpers.d.ts +8 -7
- package/package.json +18 -17
|
@@ -26,7 +26,7 @@ export declare function getFoldersAndGroups(authentication: UserSession): Promis
|
|
|
26
26
|
* @param url Address of Blob
|
|
27
27
|
* @param filename Name to use for file
|
|
28
28
|
* @param authentication Credentials for the request
|
|
29
|
-
* @
|
|
29
|
+
* @returns Promise that will resolve with a File, undefined if the Blob is null, or an AGO-style JSON failure response
|
|
30
30
|
*/
|
|
31
31
|
export declare function getBlobAsFile(url: string, filename: string, authentication: UserSession, ignoreErrors?: number[], mimeType?: string): Promise<File>;
|
|
32
32
|
/**
|
|
@@ -35,14 +35,14 @@ export declare function getBlobAsFile(url: string, filename: string, authenticat
|
|
|
35
35
|
* @param url Address of Blob
|
|
36
36
|
* @param authentication Credentials for the request
|
|
37
37
|
* @param ignoreErrors List of HTTP error codes that should be ignored
|
|
38
|
-
* @
|
|
38
|
+
* @returns Promise that will resolve with Blob or an AGO-REST JSON failure response
|
|
39
39
|
*/
|
|
40
40
|
export declare function getBlobCheckForError(url: string, authentication: UserSession, ignoreErrors?: number[]): Promise<Blob>;
|
|
41
41
|
/**
|
|
42
42
|
* Extracts the text in a url between the last forward slash and the beginning of the url's parameters.
|
|
43
43
|
*
|
|
44
44
|
* @param url URL to work with
|
|
45
|
-
* @
|
|
45
|
+
* @returns Text extracted; empty if url ends with a forward slash or has a "?" immediately after the last
|
|
46
46
|
* forward slash
|
|
47
47
|
*/
|
|
48
48
|
export declare function getFilenameFromUrl(url: string): string;
|
|
@@ -51,7 +51,7 @@ export declare function getFilenameFromUrl(url: string): string;
|
|
|
51
51
|
*
|
|
52
52
|
* @param groupId Id of an group whose primary information is sought
|
|
53
53
|
* @param authentication Credentials for the request to AGO
|
|
54
|
-
* @
|
|
54
|
+
* @returns A promise that will resolve with group's JSON or error JSON or throws ArcGISRequestError in case of HTTP error
|
|
55
55
|
* or response error code
|
|
56
56
|
*/
|
|
57
57
|
export declare function getGroupBase(groupId: string, authentication: UserSession): Promise<IGroup>;
|
|
@@ -60,7 +60,7 @@ export declare function getGroupBase(groupId: string, authentication: UserSessio
|
|
|
60
60
|
*
|
|
61
61
|
* @param groupId Id of an group whose category schema information is sought
|
|
62
62
|
* @param authentication Credentials for the request to AGO
|
|
63
|
-
* @
|
|
63
|
+
* @returns A promise that will resolve with JSON of group's category schema
|
|
64
64
|
* @see https://developers.arcgis.com/rest/users-groups-and-items/group-category-schema.htm
|
|
65
65
|
*/
|
|
66
66
|
export declare function getGroupCategorySchema(groupId: string, authentication: UserSession): Promise<IGroupCategorySchema>;
|
|
@@ -69,7 +69,7 @@ export declare function getGroupCategorySchema(groupId: string, authentication:
|
|
|
69
69
|
*
|
|
70
70
|
* @param groupId Id of a group whose contents are sought
|
|
71
71
|
* @param authentication Credentials for the request to AGO
|
|
72
|
-
* @
|
|
72
|
+
* @returns A promise that will resolve with list of dependent ids or an empty list
|
|
73
73
|
*/
|
|
74
74
|
export declare function getGroupContents(groupId: string, authentication: UserSession): Promise<string[]>;
|
|
75
75
|
/**
|
|
@@ -77,7 +77,7 @@ export declare function getGroupContents(groupId: string, authentication: UserSe
|
|
|
77
77
|
*
|
|
78
78
|
* @param itemId Id of an item whose primary information is sought
|
|
79
79
|
* @param authentication Credentials for the request to AGO
|
|
80
|
-
* @
|
|
80
|
+
* @returns A promise that will resolve with item's JSON or error JSON or throws ArcGISRequestError in case of HTTP error
|
|
81
81
|
* or response error code
|
|
82
82
|
*/
|
|
83
83
|
export declare function getItemBase(itemId: string, authentication: UserSession): Promise<IItem>;
|
|
@@ -87,7 +87,7 @@ export declare function getItemBase(itemId: string, authentication: UserSession)
|
|
|
87
87
|
* @param itemId Id of an item whose data information is sought
|
|
88
88
|
* @param filename Name to use for file
|
|
89
89
|
* @param authentication Credentials for the request to AGO
|
|
90
|
-
* @
|
|
90
|
+
* @returns Promise that will resolve with a File, undefined if the Blob is null, or an AGO-style JSON failure response
|
|
91
91
|
*/
|
|
92
92
|
export declare function getItemDataAsFile(itemId: string, filename: string, authentication: UserSession): Promise<File>;
|
|
93
93
|
/**
|
|
@@ -96,7 +96,7 @@ export declare function getItemDataAsFile(itemId: string, filename: string, auth
|
|
|
96
96
|
* @param itemId Id of an item whose data information is sought
|
|
97
97
|
* @param filename Name to use for file
|
|
98
98
|
* @param authentication Credentials for the request to AGO
|
|
99
|
-
* @
|
|
99
|
+
* @returns Promise that will resolve with JSON, or an AGO-style JSON failure response
|
|
100
100
|
*/
|
|
101
101
|
export declare function getItemDataAsJson(itemId: string, authentication: UserSession): Promise<any>;
|
|
102
102
|
/**
|
|
@@ -104,7 +104,7 @@ export declare function getItemDataAsJson(itemId: string, authentication: UserSe
|
|
|
104
104
|
*
|
|
105
105
|
* @param itemId Id of an item whose data information is sought
|
|
106
106
|
* @param authentication Credentials for the request to AGO
|
|
107
|
-
* @
|
|
107
|
+
* @returns A promise that will resolve with the data Blob or null if the item doesn't have a data section
|
|
108
108
|
*/
|
|
109
109
|
export declare function getItemDataBlob(itemId: string, authentication: UserSession): Promise<Blob>;
|
|
110
110
|
/**
|
|
@@ -112,7 +112,7 @@ export declare function getItemDataBlob(itemId: string, authentication: UserSess
|
|
|
112
112
|
*
|
|
113
113
|
* @param itemId Id of an item whose data information is sought
|
|
114
114
|
* @param authentication Credentials for the request to AGO
|
|
115
|
-
* @
|
|
115
|
+
* @returns URL string
|
|
116
116
|
*/
|
|
117
117
|
export declare function getItemDataBlobUrl(itemId: string, authentication: UserSession): string;
|
|
118
118
|
/**
|
|
@@ -120,7 +120,7 @@ export declare function getItemDataBlobUrl(itemId: string, authentication: UserS
|
|
|
120
120
|
*
|
|
121
121
|
* @param itemId Id of an item whose data information is sought
|
|
122
122
|
* @param authentication Credentials for the request to AGO
|
|
123
|
-
* @
|
|
123
|
+
* @returns URL string
|
|
124
124
|
*/
|
|
125
125
|
export declare function getItemInfoFileUrlPrefix(itemId: string, authentication: UserSession): string;
|
|
126
126
|
/**
|
|
@@ -128,7 +128,7 @@ export declare function getItemInfoFileUrlPrefix(itemId: string, authentication:
|
|
|
128
128
|
*
|
|
129
129
|
* @param itemId Id of an item whose data information is sought
|
|
130
130
|
* @param authentication Credentials for the request to AGO
|
|
131
|
-
* @
|
|
131
|
+
* @returns Promise that will resolve with `undefined` or a File containing the metadata
|
|
132
132
|
*/
|
|
133
133
|
export declare function getItemMetadataAsFile(itemId: string, authentication: UserSession): Promise<File>;
|
|
134
134
|
/**
|
|
@@ -136,7 +136,7 @@ export declare function getItemMetadataAsFile(itemId: string, authentication: Us
|
|
|
136
136
|
*
|
|
137
137
|
* @param itemId Id of an item whose data information is sought
|
|
138
138
|
* @param authentication Credentials for the request to AGO
|
|
139
|
-
* @
|
|
139
|
+
* @returns A promise that will resolve with the metadata Blob or null if the item doesn't have a metadata file
|
|
140
140
|
*/
|
|
141
141
|
export declare function getItemMetadataBlob(itemId: string, authentication: UserSession): Promise<Blob>;
|
|
142
142
|
/**
|
|
@@ -144,7 +144,7 @@ export declare function getItemMetadataBlob(itemId: string, authentication: User
|
|
|
144
144
|
*
|
|
145
145
|
* @param itemId Id of an item whose data information is sought
|
|
146
146
|
* @param authentication Credentials for the request to AGO
|
|
147
|
-
* @
|
|
147
|
+
* @returns URL string
|
|
148
148
|
*/
|
|
149
149
|
export declare function getItemMetadataBlobUrl(itemId: string, authentication: UserSession): string;
|
|
150
150
|
/**
|
|
@@ -154,7 +154,7 @@ export declare function getItemMetadataBlobUrl(itemId: string, authentication: U
|
|
|
154
154
|
* @param relationshipType
|
|
155
155
|
* @param direction
|
|
156
156
|
* @param authentication Credentials for the request to AGO
|
|
157
|
-
* @
|
|
157
|
+
* @returns A promise that will resolve with an arcgis-rest-js `IGetRelatedItemsResponse` structure
|
|
158
158
|
*/
|
|
159
159
|
export declare function getItemRelatedItems(itemId: string, relationshipType: ItemRelationshipType | ItemRelationshipType[], direction: "forward" | "reverse", authentication: UserSession): Promise<IGetRelatedItemsResponse>;
|
|
160
160
|
/**
|
|
@@ -163,7 +163,7 @@ export declare function getItemRelatedItems(itemId: string, relationshipType: It
|
|
|
163
163
|
* @param itemId Id of an item whose related items are sought
|
|
164
164
|
* @param direction
|
|
165
165
|
* @param authentication Credentials for the request to AGO
|
|
166
|
-
* @
|
|
166
|
+
* @returns A promise that will resolve with a list of IRelatedItems
|
|
167
167
|
*/
|
|
168
168
|
export declare function getItemRelatedItemsInSameDirection(itemId: string, direction: "forward" | "reverse", authentication: UserSession): Promise<IRelatedItems[]>;
|
|
169
169
|
export declare function getItemResources(id: string, authentication: UserSession): Promise<any>;
|
|
@@ -172,7 +172,7 @@ export declare function getItemResources(id: string, authentication: UserSession
|
|
|
172
172
|
*
|
|
173
173
|
* @param itemId Id of an item whose resources are sought
|
|
174
174
|
* @param authentication Credentials for the request to AGO
|
|
175
|
-
* @
|
|
175
|
+
* @returns Promise that will resolve with a list of Files or an AGO-style JSON failure response
|
|
176
176
|
*/
|
|
177
177
|
export declare function getItemResourcesFiles(itemId: string, authentication: UserSession): Promise<File[]>;
|
|
178
178
|
/**
|
|
@@ -180,7 +180,7 @@ export declare function getItemResourcesFiles(itemId: string, authentication: Us
|
|
|
180
180
|
*
|
|
181
181
|
* @param solutionItemId Id of a deployed Solution
|
|
182
182
|
* @param authentication Credentials for the request
|
|
183
|
-
* @
|
|
183
|
+
* @returns Promise resolving to a list of detailed item information
|
|
184
184
|
*/
|
|
185
185
|
export declare function getItemsRelatedToASolution(solutionItemId: string, authentication: UserSession): Promise<IItem[]>;
|
|
186
186
|
/**
|
|
@@ -191,7 +191,7 @@ export declare function getItemsRelatedToASolution(solutionItemId: string, authe
|
|
|
191
191
|
* in the item's base section
|
|
192
192
|
* @param isGroup Switch indicating if the item is a group
|
|
193
193
|
* @param authentication Credentials for the request to AGO
|
|
194
|
-
* @
|
|
194
|
+
* @returns Promise that will resolve with an image Blob or an AGO-style JSON failure response
|
|
195
195
|
*/
|
|
196
196
|
export declare function getItemThumbnail(itemId: string, thumbnailUrlPart: string, isGroup: boolean, authentication: UserSession): Promise<Blob>;
|
|
197
197
|
/**
|
|
@@ -202,7 +202,7 @@ export declare function getItemThumbnail(itemId: string, thumbnailUrlPart: strin
|
|
|
202
202
|
* in the item's base section
|
|
203
203
|
* @param isGroup Switch indicating if the item is a group
|
|
204
204
|
* @param authentication Credentials for the request to AGO
|
|
205
|
-
* @
|
|
205
|
+
* @returns Promise that will resolve with an image Blob or an AGO-style JSON failure response
|
|
206
206
|
*/
|
|
207
207
|
export declare function getItemThumbnailAsFile(itemId: string, thumbnailUrlPart: string, isGroup: boolean, authentication: UserSession): Promise<File>;
|
|
208
208
|
/**
|
|
@@ -213,7 +213,7 @@ export declare function getItemThumbnailAsFile(itemId: string, thumbnailUrlPart:
|
|
|
213
213
|
* in the item's base section
|
|
214
214
|
* @param isGroup Switch indicating if the item is a group
|
|
215
215
|
* @param authentication Credentials for the request to AGO
|
|
216
|
-
* @
|
|
216
|
+
* @returns URL string
|
|
217
217
|
*/
|
|
218
218
|
export declare function getItemThumbnailUrl(itemId: string, thumbnailUrlPart: string, isGroup: boolean, authentication: UserSession): string;
|
|
219
219
|
/**
|
|
@@ -221,7 +221,7 @@ export declare function getItemThumbnailUrl(itemId: string, thumbnailUrlPart: st
|
|
|
221
221
|
*
|
|
222
222
|
* @param url Address of JSON
|
|
223
223
|
* @param authentication Credentials for the request
|
|
224
|
-
* @
|
|
224
|
+
* @returns Promise that will resolve with JSON
|
|
225
225
|
*/
|
|
226
226
|
export declare function getJson(url: string, authentication?: UserSession): Promise<any>;
|
|
227
227
|
/**
|
|
@@ -243,7 +243,7 @@ export declare function getPortalUrlFromAuth(authentication: UserSession): strin
|
|
|
243
243
|
*
|
|
244
244
|
* @param itemId Id of an AGO item to query
|
|
245
245
|
* @param authentication Credentials for the request
|
|
246
|
-
* @
|
|
246
|
+
* @returns Promise resolving to a list of Solution item ids
|
|
247
247
|
*/
|
|
248
248
|
export declare function getSolutionsRelatedToAnItem(itemId: string, authentication: UserSession): Promise<string[]>;
|
|
249
249
|
export declare function getThumbnailFile(url: string, filename: string, authentication: UserSession): Promise<File>;
|
|
@@ -251,9 +251,9 @@ export declare function getThumbnailFile(url: string, filename: string, authenti
|
|
|
251
251
|
* Fixes the types of Blobs incorrectly typed as text/plain.
|
|
252
252
|
*
|
|
253
253
|
* @param blob Blob to check
|
|
254
|
-
* @
|
|
254
|
+
* @returns Promise resolving to original Blob, unless it's originally typed as text/plain but is
|
|
255
255
|
* really JSON, ZIP, or XML
|
|
256
|
-
* @
|
|
256
|
+
* @private
|
|
257
257
|
*/
|
|
258
258
|
export declare function _fixTextBlobType(blob: Blob): Promise<Blob>;
|
|
259
259
|
/**
|
|
@@ -262,8 +262,8 @@ export declare function _fixTextBlobType(blob: Blob): Promise<Blob>;
|
|
|
262
262
|
* @param groupId Id of a group whose contents are sought
|
|
263
263
|
* @param pagingParams Structure with start and num properties for the tranche to fetch
|
|
264
264
|
* @param authentication Credentials for the request to AGO
|
|
265
|
-
* @
|
|
266
|
-
* @
|
|
265
|
+
* @returns A promise that will resolve with list of dependent ids or an empty list
|
|
266
|
+
* @private
|
|
267
267
|
*/
|
|
268
268
|
export declare function _getGroupContentsTranche(groupId: string, pagingParams: IPagingParams, authentication: UserSession): Promise<string[]>;
|
|
269
269
|
/**
|
|
@@ -272,8 +272,8 @@ export declare function _getGroupContentsTranche(groupId: string, pagingParams:
|
|
|
272
272
|
* @param itemId Id of an item whose resources are sought
|
|
273
273
|
* @param pagingParams Structure with start and num properties for the tranche to fetch
|
|
274
274
|
* @param authentication Credentials for the request to AGO
|
|
275
|
-
* @
|
|
276
|
-
* @
|
|
275
|
+
* @returns Promise that will resolve with a list of File promises or an AGO-style JSON failure response
|
|
276
|
+
* @private
|
|
277
277
|
*/
|
|
278
278
|
export declare function _getItemResourcesTranche(itemId: string, pagingParams: IPagingParams, authentication: UserSession): Promise<Array<Promise<File>>>;
|
|
279
279
|
/**
|
|
@@ -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
|
-
* @
|
|
22
|
+
* @private
|
|
23
23
|
*/
|
|
24
24
|
export declare const SERVER_NAME: string;
|
|
25
25
|
/**
|
|
26
26
|
* A parameterized geometry server name
|
|
27
27
|
*
|
|
28
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
80
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
117
|
-
* @
|
|
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;
|
|
@@ -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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
114
|
+
* @private
|
|
115
115
|
*/
|
|
116
116
|
export declare function setTrackingOptions(itemTemplate: IItemTemplate, options: any, templateDictionary: any): ICreateServiceParams;
|
|
@@ -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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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;
|
|
@@ -19,7 +19,7 @@ import { IItemTemplate, IFeatureServiceProperties, UserSession } from "./interfa
|
|
|
19
19
|
*
|
|
20
20
|
* @param itemTemplate template for the workforce project item
|
|
21
21
|
* @param authentication credentials for any requests
|
|
22
|
-
* @
|
|
22
|
+
* @returns templatized itemTemplate
|
|
23
23
|
*/
|
|
24
24
|
export declare function convertWorkforceItemToTemplate(itemTemplate: IItemTemplate, authentication: UserSession): Promise<IItemTemplate>;
|
|
25
25
|
/**
|
|
@@ -28,7 +28,7 @@ export declare function convertWorkforceItemToTemplate(itemTemplate: IItemTempla
|
|
|
28
28
|
* @param data itemTemplate data
|
|
29
29
|
* @param keyProperties workforce project properties that contain references to dependencies
|
|
30
30
|
* @param authentication credentials for any requests
|
|
31
|
-
* @
|
|
31
|
+
* @returns List of dependencies ids
|
|
32
32
|
*/
|
|
33
33
|
export declare function extractWorkforceDependencies(data: any, keyProperties: string[], authentication: UserSession): Promise<any>;
|
|
34
34
|
/**
|
|
@@ -37,7 +37,7 @@ export declare function extractWorkforceDependencies(data: any, keyProperties: s
|
|
|
37
37
|
* @param data itemTemplate data
|
|
38
38
|
* @param keyProperties workforce project properties that should be templatized
|
|
39
39
|
* @param urlHash a key value pair of url and itemId
|
|
40
|
-
* @
|
|
40
|
+
* @returns an updated data object to be stored in the template
|
|
41
41
|
*/
|
|
42
42
|
export declare function templatizeWorkforce(data: any, keyProperties: string[], urlHash: any): any;
|
|
43
43
|
/**
|
|
@@ -57,7 +57,7 @@ export declare function getWorkforceServiceInfo(properties: IFeatureServicePrope
|
|
|
57
57
|
* This function will update the provided workforceInfos object
|
|
58
58
|
*
|
|
59
59
|
* @param workforceInfos the object that stores the integration and type info with global ids
|
|
60
|
-
*
|
|
60
|
+
* @private
|
|
61
61
|
*/
|
|
62
62
|
export declare function _updateGlobalIdAndAssignmentType(workforceInfos: any): void;
|
|
63
63
|
export declare function _getAssignmentTypeInfos(assignmentTypes: any): any[];
|
|
@@ -68,6 +68,7 @@ export declare function getUrlDependencies(requests: Array<Promise<any>>, urls:
|
|
|
68
68
|
*
|
|
69
69
|
* @param item the object that may contain a urlTemplate
|
|
70
70
|
* @param urlHash a key value pair of url and itemId
|
|
71
|
+
* @private
|
|
71
72
|
*/
|
|
72
73
|
export declare function _templatizeUrlTemplate(item: any, urlHash: any): void;
|
|
73
74
|
export declare function getLayerId(url: string): any;
|
|
@@ -91,7 +92,7 @@ export declare function _getURLs(v: string): string[];
|
|
|
91
92
|
*
|
|
92
93
|
* @param newlyCreatedItem Item to be created; n.b.: this item is modified
|
|
93
94
|
* @param destinationAuthentication The session used to create the new item(s)
|
|
94
|
-
* @
|
|
95
|
+
* @returns A promise that will resolve with { "success" === true || false }
|
|
95
96
|
*/
|
|
96
97
|
export declare function fineTuneCreatedWorkforceItem(newlyCreatedItem: IItemTemplate, destinationAuthentication: UserSession, url: string, templateDictionary: any): Promise<any>;
|
|
97
98
|
export declare function _getFields(url: string, ids: number[], authentication: UserSession): Promise<any>;
|
|
@@ -105,8 +106,8 @@ export declare function _getField(name: string, fields: string[]): string;
|
|
|
105
106
|
* @param name Current users name
|
|
106
107
|
* @param fullName Current users full name
|
|
107
108
|
* @param destinationAuthentication The session used to create the new item(s)
|
|
108
|
-
* @
|
|
109
|
-
* @
|
|
109
|
+
* @returns A promise that will resolve with true || false
|
|
110
|
+
* @private
|
|
110
111
|
*/
|
|
111
112
|
export declare function _updateDispatchers(url: any, name: string, fullName: string, authentication: UserSession, isPortal: boolean): Promise<boolean>;
|
|
112
113
|
export declare function _applyEdits(url: string, adds: any[], authentication: UserSession, useGlobalIds?: boolean): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/solution-common",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"description": "Provides general helper functions for @esri/solution.js.",
|
|
5
5
|
"main": "dist/node/index.js",
|
|
6
6
|
"unpkg": "dist/umd/common.umd.min.js",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"@esri/arcgis-rest-portal": "3.4.3",
|
|
19
19
|
"@esri/arcgis-rest-request": "3.4.3",
|
|
20
20
|
"@esri/arcgis-rest-service-admin": "3.4.3",
|
|
21
|
-
"@esri/hub-common": "9.
|
|
22
|
-
"@esri/hub-initiatives": "9.
|
|
23
|
-
"@esri/hub-sites": "9.
|
|
24
|
-
"@esri/hub-teams": "9.
|
|
21
|
+
"@esri/hub-common": "9.29.0",
|
|
22
|
+
"@esri/hub-initiatives": "9.29.0",
|
|
23
|
+
"@esri/hub-sites": "9.29.0",
|
|
24
|
+
"@esri/hub-teams": "9.29.0",
|
|
25
25
|
"@types/adlib": "^3.0.1",
|
|
26
|
-
"rollup": "
|
|
26
|
+
"rollup": "2.70.2"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@esri/arcgis-rest-auth": "3.4.3",
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
"@esri/arcgis-rest-portal": "3.4.3",
|
|
32
32
|
"@esri/arcgis-rest-request": "3.4.3",
|
|
33
33
|
"@esri/arcgis-rest-service-admin": "3.4.3",
|
|
34
|
-
"@esri/hub-common": "9.
|
|
35
|
-
"@esri/hub-initiatives": "9.
|
|
36
|
-
"@esri/hub-sites": "9.
|
|
37
|
-
"@esri/hub-teams": "9.
|
|
34
|
+
"@esri/hub-common": "9.29.0",
|
|
35
|
+
"@esri/hub-initiatives": "9.29.0",
|
|
36
|
+
"@esri/hub-sites": "9.29.0",
|
|
37
|
+
"@esri/hub-teams": "9.29.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@esri/arcgis-html-sanitizer": "2.
|
|
41
|
-
"@types/lodash.isplainobject": "^4.0.
|
|
40
|
+
"@esri/arcgis-html-sanitizer": "2.10.0",
|
|
41
|
+
"@types/lodash.isplainobject": "^4.0.7",
|
|
42
42
|
"adlib": "3.0.7",
|
|
43
|
-
"jszip": "3.
|
|
43
|
+
"jszip": "3.9.1",
|
|
44
44
|
"lodash.isplainobject": "^4.0.6",
|
|
45
|
-
"tslib": "1.
|
|
46
|
-
"xss": "^1.0.
|
|
45
|
+
"tslib": "1.14.1",
|
|
46
|
+
"xss": "^1.0.11"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"prepare": "npm run build",
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
"build:node": "tsc -p ./tsconfig.json --module commonjs --outDir ./dist/node",
|
|
54
54
|
"dev:esm": "tsc -w --module esnext --outDir ./dist/esm --declaration",
|
|
55
55
|
"dev:umd": "rollup -w -c ../../umd-base-profile.js",
|
|
56
|
-
"dev:node": "tsc -w --module commonjs --outDir ./dist/node"
|
|
56
|
+
"dev:node": "tsc -w --module commonjs --outDir ./dist/node",
|
|
57
|
+
"getupdates": "npm-check-updates --upgrade"
|
|
57
58
|
},
|
|
58
59
|
"publishConfig": {
|
|
59
60
|
"access": "public"
|
|
@@ -95,5 +96,5 @@
|
|
|
95
96
|
"esri",
|
|
96
97
|
"ES6"
|
|
97
98
|
],
|
|
98
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "ee404319048f8e0323933d69c4eb5bbf33c438ec"
|
|
99
100
|
}
|