@esri/solution-common 6.0.4-alpha.0 → 6.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/dist/cjs/arcgisRestJS.d.ts +0 -58
- package/dist/cjs/arcgisRestJS.js +0 -142
- package/dist/cjs/arcgisRestJS.js.map +0 -1
- package/dist/cjs/completeItem.d.ts +0 -30
- package/dist/cjs/completeItem.js +0 -72
- package/dist/cjs/completeItem.js.map +0 -1
- package/dist/cjs/create-hub-request-options.d.ts +0 -29
- package/dist/cjs/create-hub-request-options.js +0 -64
- package/dist/cjs/create-hub-request-options.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteEmptyGroups.d.ts +0 -24
- package/dist/cjs/deleteHelpers/deleteEmptyGroups.js +0 -42
- package/dist/cjs/deleteHelpers/deleteEmptyGroups.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteGroupIfEmpty.d.ts +0 -27
- package/dist/cjs/deleteHelpers/deleteGroupIfEmpty.js +0 -99
- package/dist/cjs/deleteHelpers/deleteGroupIfEmpty.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteSolutionContents.d.ts +0 -39
- package/dist/cjs/deleteHelpers/deleteSolutionContents.js +0 -127
- package/dist/cjs/deleteHelpers/deleteSolutionContents.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteSolutionFolder.d.ts +0 -29
- package/dist/cjs/deleteHelpers/deleteSolutionFolder.js +0 -81
- package/dist/cjs/deleteHelpers/deleteSolutionFolder.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteSolutionItem.d.ts +0 -31
- package/dist/cjs/deleteHelpers/deleteSolutionItem.js +0 -52
- package/dist/cjs/deleteHelpers/deleteSolutionItem.js.map +0 -1
- package/dist/cjs/deleteHelpers/index.d.ts +0 -22
- package/dist/cjs/deleteHelpers/index.js +0 -26
- package/dist/cjs/deleteHelpers/index.js.map +0 -1
- package/dist/cjs/deleteHelpers/reconstructBuildOrderIds.d.ts +0 -27
- package/dist/cjs/deleteHelpers/reconstructBuildOrderIds.js +0 -34
- package/dist/cjs/deleteHelpers/reconstructBuildOrderIds.js.map +0 -1
- package/dist/cjs/deleteHelpers/removeItems.d.ts +0 -35
- package/dist/cjs/deleteHelpers/removeItems.js +0 -116
- package/dist/cjs/deleteHelpers/removeItems.js.map +0 -1
- package/dist/cjs/deleteHelpers/reportProgress.d.ts +0 -27
- package/dist/cjs/deleteHelpers/reportProgress.js +0 -46
- package/dist/cjs/deleteHelpers/reportProgress.js.map +0 -1
- package/dist/cjs/deleteSolution.d.ts +0 -56
- package/dist/cjs/deleteSolution.js +0 -107
- package/dist/cjs/deleteSolution.js.map +0 -1
- package/dist/cjs/dependencies.d.ts +0 -26
- package/dist/cjs/dependencies.js +0 -171
- package/dist/cjs/dependencies.js.map +0 -1
- package/dist/cjs/featureServiceHelpers.d.ts +0 -833
- package/dist/cjs/featureServiceHelpers.js +0 -2524
- package/dist/cjs/featureServiceHelpers.js.map +0 -1
- package/dist/cjs/formHelpers.d.ts +0 -26
- package/dist/cjs/formHelpers.js +0 -40
- package/dist/cjs/formHelpers.js.map +0 -1
- package/dist/cjs/generalHelpers.d.ts +0 -447
- package/dist/cjs/generalHelpers.js +0 -959
- package/dist/cjs/generalHelpers.js.map +0 -1
- package/dist/cjs/get-subscription-info.d.ts +0 -27
- package/dist/cjs/get-subscription-info.js +0 -38
- package/dist/cjs/get-subscription-info.js.map +0 -1
- package/dist/cjs/getDeletableSolutionInfo.d.ts +0 -30
- package/dist/cjs/getDeletableSolutionInfo.js +0 -53
- package/dist/cjs/getDeletableSolutionInfo.js.map +0 -1
- package/dist/cjs/getItemTypeAbbrev.d.ts +0 -19
- package/dist/cjs/getItemTypeAbbrev.js +0 -186
- package/dist/cjs/getItemTypeAbbrev.js.map +0 -1
- package/dist/cjs/getSolutionSummary.d.ts +0 -28
- package/dist/cjs/getSolutionSummary.js +0 -100
- package/dist/cjs/getSolutionSummary.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -49
- package/dist/cjs/index.js +0 -53
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/interfaces.d.ts +0 -1446
- package/dist/cjs/interfaces.js +0 -72
- package/dist/cjs/interfaces.js.map +0 -1
- package/dist/cjs/item-reuse.d.ts +0 -140
- package/dist/cjs/item-reuse.js +0 -176
- package/dist/cjs/item-reuse.js.map +0 -1
- package/dist/cjs/libConnectors.d.ts +0 -73
- package/dist/cjs/libConnectors.js +0 -115
- package/dist/cjs/libConnectors.js.map +0 -1
- package/dist/cjs/migrations/apply-schema.d.ts +0 -24
- package/dist/cjs/migrations/apply-schema.js +0 -36
- package/dist/cjs/migrations/apply-schema.js.map +0 -1
- package/dist/cjs/migrations/is-legacy-solution.d.ts +0 -24
- package/dist/cjs/migrations/is-legacy-solution.js +0 -39
- package/dist/cjs/migrations/is-legacy-solution.js.map +0 -1
- package/dist/cjs/migrations/upgrade-three-dot-one.d.ts +0 -26
- package/dist/cjs/migrations/upgrade-three-dot-one.js +0 -48
- package/dist/cjs/migrations/upgrade-three-dot-one.js.map +0 -1
- package/dist/cjs/migrations/upgrade-three-dot-zero.d.ts +0 -27
- package/dist/cjs/migrations/upgrade-three-dot-zero.js +0 -43
- package/dist/cjs/migrations/upgrade-three-dot-zero.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-five.d.ts +0 -24
- package/dist/cjs/migrations/upgrade-two-dot-five.js +0 -73
- package/dist/cjs/migrations/upgrade-two-dot-five.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-four.d.ts +0 -24
- package/dist/cjs/migrations/upgrade-two-dot-four.js +0 -72
- package/dist/cjs/migrations/upgrade-two-dot-four.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-one.d.ts +0 -7
- package/dist/cjs/migrations/upgrade-two-dot-one.js +0 -39
- package/dist/cjs/migrations/upgrade-two-dot-one.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-seven.d.ts +0 -23
- package/dist/cjs/migrations/upgrade-two-dot-seven.js +0 -58
- package/dist/cjs/migrations/upgrade-two-dot-seven.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-six.d.ts +0 -27
- package/dist/cjs/migrations/upgrade-two-dot-six.js +0 -61
- package/dist/cjs/migrations/upgrade-two-dot-six.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-three.d.ts +0 -23
- package/dist/cjs/migrations/upgrade-two-dot-three.js +0 -55
- package/dist/cjs/migrations/upgrade-two-dot-three.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-two.d.ts +0 -23
- package/dist/cjs/migrations/upgrade-two-dot-two.js +0 -58
- package/dist/cjs/migrations/upgrade-two-dot-two.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-zero.d.ts +0 -44
- package/dist/cjs/migrations/upgrade-two-dot-zero.js +0 -95
- package/dist/cjs/migrations/upgrade-two-dot-zero.js.map +0 -1
- package/dist/cjs/migrator.d.ts +0 -25
- package/dist/cjs/migrator.js +0 -75
- package/dist/cjs/migrator.js.map +0 -1
- package/dist/cjs/resourceHelpers.d.ts +0 -192
- package/dist/cjs/resourceHelpers.js +0 -380
- package/dist/cjs/resourceHelpers.js.map +0 -1
- package/dist/cjs/resources/add-resource.d.ts +0 -38
- package/dist/cjs/resources/add-resource.js +0 -84
- package/dist/cjs/resources/add-resource.js.map +0 -1
- package/dist/cjs/resources/addMetadataFromBlob.d.ts +0 -25
- package/dist/cjs/resources/addMetadataFromBlob.js +0 -43
- package/dist/cjs/resources/addMetadataFromBlob.js.map +0 -1
- package/dist/cjs/resources/convert-item-resource-to-storage-resource.d.ts +0 -32
- package/dist/cjs/resources/convert-item-resource-to-storage-resource.js +0 -70
- package/dist/cjs/resources/convert-item-resource-to-storage-resource.js.map +0 -1
- package/dist/cjs/resources/convert-storage-resource-to-item-resource.d.ts +0 -29
- package/dist/cjs/resources/convert-storage-resource-to-item-resource.js +0 -70
- package/dist/cjs/resources/convert-storage-resource-to-item-resource.js.map +0 -1
- package/dist/cjs/resources/copyAssociatedFiles.d.ts +0 -79
- package/dist/cjs/resources/copyAssociatedFiles.js +0 -348
- package/dist/cjs/resources/copyAssociatedFiles.js.map +0 -1
- package/dist/cjs/resources/copyDataIntoItem.d.ts +0 -34
- package/dist/cjs/resources/copyDataIntoItem.js +0 -45
- package/dist/cjs/resources/copyDataIntoItem.js.map +0 -1
- package/dist/cjs/resources/copyMetadataIntoItem.d.ts +0 -27
- package/dist/cjs/resources/copyMetadataIntoItem.js +0 -44
- package/dist/cjs/resources/copyMetadataIntoItem.js.map +0 -1
- package/dist/cjs/resources/copyResourceIntoZip.d.ts +0 -34
- package/dist/cjs/resources/copyResourceIntoZip.js +0 -74
- package/dist/cjs/resources/copyResourceIntoZip.js.map +0 -1
- package/dist/cjs/resources/copyZipIntoItem.d.ts +0 -26
- package/dist/cjs/resources/copyZipIntoItem.js +0 -53
- package/dist/cjs/resources/copyZipIntoItem.js.map +0 -1
- package/dist/cjs/resources/createCopyResults.d.ts +0 -25
- package/dist/cjs/resources/createCopyResults.js +0 -36
- package/dist/cjs/resources/createCopyResults.js.map +0 -1
- package/dist/cjs/resources/get-blob.d.ts +0 -25
- package/dist/cjs/resources/get-blob.js +0 -42
- package/dist/cjs/resources/get-blob.js.map +0 -1
- package/dist/cjs/resources/getItemResourcesFilesFromPaths.d.ts +0 -25
- package/dist/cjs/resources/getItemResourcesFilesFromPaths.js +0 -49
- package/dist/cjs/resources/getItemResourcesFilesFromPaths.js.map +0 -1
- package/dist/cjs/resources/getItemResourcesPaths.d.ts +0 -27
- package/dist/cjs/resources/getItemResourcesPaths.js +0 -80
- package/dist/cjs/resources/getItemResourcesPaths.js.map +0 -1
- package/dist/cjs/resources/index.d.ts +0 -30
- package/dist/cjs/resources/index.js +0 -34
- package/dist/cjs/resources/index.js.map +0 -1
- package/dist/cjs/resources/solution-resource.d.ts +0 -35
- package/dist/cjs/resources/solution-resource.js +0 -31
- package/dist/cjs/resources/solution-resource.js.map +0 -1
- package/dist/cjs/resources/transform-resource-paths-to-solution-resources.d.ts +0 -56
- package/dist/cjs/resources/transform-resource-paths-to-solution-resources.js +0 -140
- package/dist/cjs/resources/transform-resource-paths-to-solution-resources.js.map +0 -1
- package/dist/cjs/resources/update-resource.d.ts +0 -27
- package/dist/cjs/resources/update-resource.js +0 -52
- package/dist/cjs/resources/update-resource.js.map +0 -1
- package/dist/cjs/restHelpers.d.ts +0 -634
- package/dist/cjs/restHelpers.js +0 -2044
- package/dist/cjs/restHelpers.js.map +0 -1
- package/dist/cjs/restHelpersGet.d.ts +0 -303
- package/dist/cjs/restHelpersGet.js +0 -835
- package/dist/cjs/restHelpersGet.js.map +0 -1
- package/dist/cjs/sharing/index.d.ts +0 -16
- package/dist/cjs/sharing/index.js +0 -20
- package/dist/cjs/sharing/index.js.map +0 -1
- package/dist/cjs/sharing/share-item-to-groups.d.ts +0 -26
- package/dist/cjs/sharing/share-item-to-groups.js +0 -44
- package/dist/cjs/sharing/share-item-to-groups.js.map +0 -1
- package/dist/cjs/templatization.d.ts +0 -139
- package/dist/cjs/templatization.js +0 -311
- package/dist/cjs/templatization.js.map +0 -1
- package/dist/cjs/trackingHelpers.d.ts +0 -115
- package/dist/cjs/trackingHelpers.js +0 -212
- package/dist/cjs/trackingHelpers.js.map +0 -1
- package/dist/cjs/velocityHelpers.d.ts +0 -68
- package/dist/cjs/velocityHelpers.js +0 -151
- package/dist/cjs/velocityHelpers.js.map +0 -1
- package/dist/cjs/webtoolHelpers.d.ts +0 -57
- package/dist/cjs/webtoolHelpers.js +0 -102
- package/dist/cjs/webtoolHelpers.js.map +0 -1
- package/dist/cjs/workflowHelpers.d.ts +0 -112
- package/dist/cjs/workflowHelpers.js +0 -284
- package/dist/cjs/workflowHelpers.js.map +0 -1
- package/dist/cjs/workforceHelpers.d.ts +0 -121
- package/dist/cjs/workforceHelpers.js +0 -720
- package/dist/cjs/workforceHelpers.js.map +0 -1
- package/dist/cjs/zip-utils.d.ts +0 -85
- package/dist/cjs/zip-utils.js +0 -154
- package/dist/cjs/zip-utils.js.map +0 -1
- package/dist/esm/arcgisRestJS.d.ts +0 -58
- package/dist/esm/arcgisRestJS.js +0 -94
- package/dist/esm/arcgisRestJS.js.map +0 -1
- package/dist/esm/completeItem.d.ts +0 -30
- package/dist/esm/completeItem.js +0 -67
- package/dist/esm/completeItem.js.map +0 -1
- package/dist/esm/create-hub-request-options.d.ts +0 -29
- package/dist/esm/create-hub-request-options.js +0 -60
- package/dist/esm/create-hub-request-options.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteEmptyGroups.d.ts +0 -24
- package/dist/esm/deleteHelpers/deleteEmptyGroups.js +0 -38
- package/dist/esm/deleteHelpers/deleteEmptyGroups.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.d.ts +0 -27
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.js +0 -95
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteSolutionContents.d.ts +0 -39
- package/dist/esm/deleteHelpers/deleteSolutionContents.js +0 -122
- package/dist/esm/deleteHelpers/deleteSolutionContents.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteSolutionFolder.d.ts +0 -29
- package/dist/esm/deleteHelpers/deleteSolutionFolder.js +0 -77
- package/dist/esm/deleteHelpers/deleteSolutionFolder.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteSolutionItem.d.ts +0 -31
- package/dist/esm/deleteHelpers/deleteSolutionItem.js +0 -48
- package/dist/esm/deleteHelpers/deleteSolutionItem.js.map +0 -1
- package/dist/esm/deleteHelpers/index.d.ts +0 -22
- package/dist/esm/deleteHelpers/index.js +0 -23
- package/dist/esm/deleteHelpers/index.js.map +0 -1
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.d.ts +0 -27
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.js +0 -29
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.js.map +0 -1
- package/dist/esm/deleteHelpers/removeItems.d.ts +0 -35
- package/dist/esm/deleteHelpers/removeItems.js +0 -111
- package/dist/esm/deleteHelpers/removeItems.js.map +0 -1
- package/dist/esm/deleteHelpers/reportProgress.d.ts +0 -27
- package/dist/esm/deleteHelpers/reportProgress.js +0 -42
- package/dist/esm/deleteHelpers/reportProgress.js.map +0 -1
- package/dist/esm/deleteSolution.d.ts +0 -56
- package/dist/esm/deleteSolution.js +0 -101
- package/dist/esm/deleteSolution.js.map +0 -1
- package/dist/esm/dependencies.d.ts +0 -26
- package/dist/esm/dependencies.js +0 -167
- package/dist/esm/dependencies.js.map +0 -1
- package/dist/esm/featureServiceHelpers.d.ts +0 -833
- package/dist/esm/featureServiceHelpers.js +0 -2438
- package/dist/esm/featureServiceHelpers.js.map +0 -1
- package/dist/esm/formHelpers.d.ts +0 -26
- package/dist/esm/formHelpers.js +0 -35
- package/dist/esm/formHelpers.js.map +0 -1
- package/dist/esm/generalHelpers.d.ts +0 -447
- package/dist/esm/generalHelpers.js +0 -903
- package/dist/esm/generalHelpers.js.map +0 -1
- package/dist/esm/get-subscription-info.d.ts +0 -27
- package/dist/esm/get-subscription-info.js +0 -34
- package/dist/esm/get-subscription-info.js.map +0 -1
- package/dist/esm/getDeletableSolutionInfo.d.ts +0 -30
- package/dist/esm/getDeletableSolutionInfo.js +0 -48
- package/dist/esm/getDeletableSolutionInfo.js.map +0 -1
- package/dist/esm/getItemTypeAbbrev.d.ts +0 -19
- package/dist/esm/getItemTypeAbbrev.js +0 -182
- package/dist/esm/getItemTypeAbbrev.js.map +0 -1
- package/dist/esm/getSolutionSummary.d.ts +0 -28
- package/dist/esm/getSolutionSummary.js +0 -95
- package/dist/esm/getSolutionSummary.js.map +0 -1
- package/dist/esm/index.d.ts +0 -49
- package/dist/esm/index.js +0 -50
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/interfaces.d.ts +0 -1446
- package/dist/esm/interfaces.js +0 -69
- package/dist/esm/interfaces.js.map +0 -1
- package/dist/esm/item-reuse.d.ts +0 -140
- package/dist/esm/item-reuse.js +0 -167
- package/dist/esm/item-reuse.js.map +0 -1
- package/dist/esm/libConnectors.d.ts +0 -73
- package/dist/esm/libConnectors.js +0 -105
- package/dist/esm/libConnectors.js.map +0 -1
- package/dist/esm/migrations/apply-schema.d.ts +0 -24
- package/dist/esm/migrations/apply-schema.js +0 -32
- package/dist/esm/migrations/apply-schema.js.map +0 -1
- package/dist/esm/migrations/is-legacy-solution.d.ts +0 -24
- package/dist/esm/migrations/is-legacy-solution.js +0 -35
- package/dist/esm/migrations/is-legacy-solution.js.map +0 -1
- package/dist/esm/migrations/upgrade-three-dot-one.d.ts +0 -26
- package/dist/esm/migrations/upgrade-three-dot-one.js +0 -44
- package/dist/esm/migrations/upgrade-three-dot-one.js.map +0 -1
- package/dist/esm/migrations/upgrade-three-dot-zero.d.ts +0 -27
- package/dist/esm/migrations/upgrade-three-dot-zero.js +0 -39
- package/dist/esm/migrations/upgrade-three-dot-zero.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-five.d.ts +0 -24
- package/dist/esm/migrations/upgrade-two-dot-five.js +0 -69
- package/dist/esm/migrations/upgrade-two-dot-five.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-four.d.ts +0 -24
- package/dist/esm/migrations/upgrade-two-dot-four.js +0 -68
- package/dist/esm/migrations/upgrade-two-dot-four.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-one.d.ts +0 -7
- package/dist/esm/migrations/upgrade-two-dot-one.js +0 -35
- package/dist/esm/migrations/upgrade-two-dot-one.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-seven.d.ts +0 -23
- package/dist/esm/migrations/upgrade-two-dot-seven.js +0 -54
- package/dist/esm/migrations/upgrade-two-dot-seven.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-six.d.ts +0 -27
- package/dist/esm/migrations/upgrade-two-dot-six.js +0 -57
- package/dist/esm/migrations/upgrade-two-dot-six.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-three.d.ts +0 -23
- package/dist/esm/migrations/upgrade-two-dot-three.js +0 -51
- package/dist/esm/migrations/upgrade-two-dot-three.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-two.d.ts +0 -23
- package/dist/esm/migrations/upgrade-two-dot-two.js +0 -54
- package/dist/esm/migrations/upgrade-two-dot-two.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-zero.d.ts +0 -44
- package/dist/esm/migrations/upgrade-two-dot-zero.js +0 -88
- package/dist/esm/migrations/upgrade-two-dot-zero.js.map +0 -1
- package/dist/esm/migrator.d.ts +0 -25
- package/dist/esm/migrator.js +0 -71
- package/dist/esm/migrator.js.map +0 -1
- package/dist/esm/resourceHelpers.d.ts +0 -192
- package/dist/esm/resourceHelpers.js +0 -361
- package/dist/esm/resourceHelpers.js.map +0 -1
- package/dist/esm/resources/add-resource.d.ts +0 -38
- package/dist/esm/resources/add-resource.js +0 -79
- package/dist/esm/resources/add-resource.js.map +0 -1
- package/dist/esm/resources/addMetadataFromBlob.d.ts +0 -25
- package/dist/esm/resources/addMetadataFromBlob.js +0 -39
- package/dist/esm/resources/addMetadataFromBlob.js.map +0 -1
- package/dist/esm/resources/convert-item-resource-to-storage-resource.d.ts +0 -32
- package/dist/esm/resources/convert-item-resource-to-storage-resource.js +0 -66
- package/dist/esm/resources/convert-item-resource-to-storage-resource.js.map +0 -1
- package/dist/esm/resources/convert-storage-resource-to-item-resource.d.ts +0 -29
- package/dist/esm/resources/convert-storage-resource-to-item-resource.js +0 -66
- package/dist/esm/resources/convert-storage-resource-to-item-resource.js.map +0 -1
- package/dist/esm/resources/copyAssociatedFiles.d.ts +0 -79
- package/dist/esm/resources/copyAssociatedFiles.js +0 -339
- package/dist/esm/resources/copyAssociatedFiles.js.map +0 -1
- package/dist/esm/resources/copyDataIntoItem.d.ts +0 -34
- package/dist/esm/resources/copyDataIntoItem.js +0 -40
- package/dist/esm/resources/copyDataIntoItem.js.map +0 -1
- package/dist/esm/resources/copyMetadataIntoItem.d.ts +0 -27
- package/dist/esm/resources/copyMetadataIntoItem.js +0 -40
- package/dist/esm/resources/copyMetadataIntoItem.js.map +0 -1
- package/dist/esm/resources/copyResourceIntoZip.d.ts +0 -34
- package/dist/esm/resources/copyResourceIntoZip.js +0 -69
- package/dist/esm/resources/copyResourceIntoZip.js.map +0 -1
- package/dist/esm/resources/copyZipIntoItem.d.ts +0 -26
- package/dist/esm/resources/copyZipIntoItem.js +0 -49
- package/dist/esm/resources/copyZipIntoItem.js.map +0 -1
- package/dist/esm/resources/createCopyResults.d.ts +0 -25
- package/dist/esm/resources/createCopyResults.js +0 -32
- package/dist/esm/resources/createCopyResults.js.map +0 -1
- package/dist/esm/resources/get-blob.d.ts +0 -25
- package/dist/esm/resources/get-blob.js +0 -38
- package/dist/esm/resources/get-blob.js.map +0 -1
- package/dist/esm/resources/getItemResourcesFilesFromPaths.d.ts +0 -25
- package/dist/esm/resources/getItemResourcesFilesFromPaths.js +0 -45
- package/dist/esm/resources/getItemResourcesFilesFromPaths.js.map +0 -1
- package/dist/esm/resources/getItemResourcesPaths.d.ts +0 -27
- package/dist/esm/resources/getItemResourcesPaths.js +0 -76
- package/dist/esm/resources/getItemResourcesPaths.js.map +0 -1
- package/dist/esm/resources/index.d.ts +0 -30
- package/dist/esm/resources/index.js +0 -31
- package/dist/esm/resources/index.js.map +0 -1
- package/dist/esm/resources/solution-resource.d.ts +0 -35
- package/dist/esm/resources/solution-resource.js +0 -28
- package/dist/esm/resources/solution-resource.js.map +0 -1
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.d.ts +0 -56
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js +0 -132
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js.map +0 -1
- package/dist/esm/resources/update-resource.d.ts +0 -27
- package/dist/esm/resources/update-resource.js +0 -48
- package/dist/esm/resources/update-resource.js.map +0 -1
- package/dist/esm/restHelpers.d.ts +0 -634
- package/dist/esm/restHelpers.js +0 -1979
- package/dist/esm/restHelpers.js.map +0 -1
- package/dist/esm/restHelpersGet.d.ts +0 -303
- package/dist/esm/restHelpersGet.js +0 -793
- package/dist/esm/restHelpersGet.js.map +0 -1
- package/dist/esm/sharing/index.d.ts +0 -16
- package/dist/esm/sharing/index.js +0 -17
- package/dist/esm/sharing/index.js.map +0 -1
- package/dist/esm/sharing/share-item-to-groups.d.ts +0 -26
- package/dist/esm/sharing/share-item-to-groups.js +0 -40
- package/dist/esm/sharing/share-item-to-groups.js.map +0 -1
- package/dist/esm/templatization.d.ts +0 -139
- package/dist/esm/templatization.js +0 -291
- package/dist/esm/templatization.js.map +0 -1
- package/dist/esm/trackingHelpers.d.ts +0 -115
- package/dist/esm/trackingHelpers.js +0 -200
- package/dist/esm/trackingHelpers.js.map +0 -1
- package/dist/esm/velocityHelpers.d.ts +0 -68
- package/dist/esm/velocityHelpers.js +0 -144
- package/dist/esm/velocityHelpers.js.map +0 -1
- package/dist/esm/webtoolHelpers.d.ts +0 -57
- package/dist/esm/webtoolHelpers.js +0 -95
- package/dist/esm/webtoolHelpers.js.map +0 -1
- package/dist/esm/workflowHelpers.d.ts +0 -112
- package/dist/esm/workflowHelpers.js +0 -270
- package/dist/esm/workflowHelpers.js.map +0 -1
- package/dist/esm/workforceHelpers.d.ts +0 -121
- package/dist/esm/workforceHelpers.js +0 -691
- package/dist/esm/workforceHelpers.js.map +0 -1
- package/dist/esm/zip-utils.d.ts +0 -85
- package/dist/esm/zip-utils.js +0 -142
- package/dist/esm/zip-utils.js.map +0 -1
- package/dist/solution.js_commit.txt +0 -10
package/dist/cjs/interfaces.d.ts
DELETED
|
@@ -1,1446 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2018 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* Provides common interfaces.
|
|
18
|
-
*/
|
|
19
|
-
import { IExtent, IGetRelatedItemsResponse, IGroup, IItem, IItemRelationshipOptions, ISpatialReference, UserSession } from "./arcgisRestJS";
|
|
20
|
-
import JSZip from "jszip";
|
|
21
|
-
export declare const SolutionTemplateFormatVersion = 1;
|
|
22
|
-
export declare const DeployedSolutionFormatVersion = 1;
|
|
23
|
-
export declare const UNREACHABLE = "unreachable";
|
|
24
|
-
/**
|
|
25
|
-
* Flags for storing an item's binary resources.
|
|
26
|
-
*/
|
|
27
|
-
export declare enum EFileType {
|
|
28
|
-
Data = 0,
|
|
29
|
-
Info = 1,
|
|
30
|
-
Metadata = 2,
|
|
31
|
-
Resource = 3,
|
|
32
|
-
Thumbnail = 4
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Text versions of flags for storing an item's binary resources.
|
|
36
|
-
*/
|
|
37
|
-
export declare enum SFileType {
|
|
38
|
-
"Data" = 0,
|
|
39
|
-
"Info" = 1,
|
|
40
|
-
"Metadata" = 2,
|
|
41
|
-
"Resource" = 3,
|
|
42
|
-
"Thumbnail" = 4
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Flags for reporting the status of creating or deploying an item.
|
|
46
|
-
*/
|
|
47
|
-
export declare enum EItemProgressStatus {
|
|
48
|
-
Started = 0,
|
|
49
|
-
Created = 1,
|
|
50
|
-
Cancelled = 2,
|
|
51
|
-
Finished = 3,
|
|
52
|
-
Ignored = 4,
|
|
53
|
-
Failed = 5,
|
|
54
|
-
Unknown = 6
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Text versions of flags for reporting the status of creating or deploying an item.
|
|
58
|
-
*/
|
|
59
|
-
export declare const SItemProgressStatus: string[];
|
|
60
|
-
/**
|
|
61
|
-
* Function signature describing internal item-level progress to enable cancellation and rollback in case of failure
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
export type IItemProgressCallback = (
|
|
65
|
-
/**
|
|
66
|
-
* Id of item
|
|
67
|
-
*/
|
|
68
|
-
itemId: string,
|
|
69
|
-
/**
|
|
70
|
-
* Progress status code (e.g., Started, Created,...)
|
|
71
|
-
*/
|
|
72
|
-
status: EItemProgressStatus,
|
|
73
|
-
/**
|
|
74
|
-
* Accumulated "costs" of task, which can be divided by the total estimated cost to get percent done
|
|
75
|
-
*/
|
|
76
|
-
costUsed: number,
|
|
77
|
-
/**
|
|
78
|
-
* Id of created item, which is supplied when status is EItemProgressStatus.Created or .Finished
|
|
79
|
-
*/
|
|
80
|
-
createdItemId?: string) => boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Function signature describing progress to calling programs
|
|
83
|
-
*/
|
|
84
|
-
export type ISolutionProgressCallback = (
|
|
85
|
-
/**
|
|
86
|
-
* Percent of total work done
|
|
87
|
-
*/
|
|
88
|
-
percentDone: number,
|
|
89
|
-
/**
|
|
90
|
-
* Calling-program-supplied id, perhaps used to distinguish between concurrent deployments or deletions
|
|
91
|
-
*/
|
|
92
|
-
jobId?: string,
|
|
93
|
-
/**
|
|
94
|
-
* Packet of supplemental information provided from certain progress states, e.g., Finished deleting an item
|
|
95
|
-
* or deploying a Solution item
|
|
96
|
-
*/
|
|
97
|
-
progressEvent?: ISolutionProgressEvent) => void;
|
|
98
|
-
export type INoArgFunction = () => any;
|
|
99
|
-
/**
|
|
100
|
-
* Result of creating a unique group
|
|
101
|
-
*/
|
|
102
|
-
export interface IAddGroupResponse {
|
|
103
|
-
/**
|
|
104
|
-
* Success or failure
|
|
105
|
-
*/
|
|
106
|
-
success: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Id of created group
|
|
109
|
-
*/
|
|
110
|
-
group: IGroup;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Additional info to be used when searching the contents of a group
|
|
114
|
-
*/
|
|
115
|
-
export interface IAdditionalGroupSearchOptions {
|
|
116
|
-
/**
|
|
117
|
-
* The number of the first entry requested. The index number is 1-based.
|
|
118
|
-
*/
|
|
119
|
-
start?: number;
|
|
120
|
-
/**
|
|
121
|
-
* The number of results requested.
|
|
122
|
-
*/
|
|
123
|
-
num?: number;
|
|
124
|
-
/**
|
|
125
|
-
* Sets sort field for group items. Values: title | owner | avgrating | numviews | created | modified
|
|
126
|
-
*/
|
|
127
|
-
sortField?: string;
|
|
128
|
-
/**
|
|
129
|
-
* Sets sort order for group items. Values: asc | desc
|
|
130
|
-
*/
|
|
131
|
-
sortOrder?: string;
|
|
132
|
-
/**
|
|
133
|
-
* The bounding box for a spatial search defined as minx, miny, maxx, or maxy. Spatial search is an
|
|
134
|
-
* overlaps/intersects function of the query bbox and the extent of the document. Documents that have
|
|
135
|
-
* no extent (for example, mxds, 3dds, lyr) will not be found when doing a bbox search. Document extent
|
|
136
|
-
* is assumed to be in the WGS84 geographic coordinate system. E.g.: "-118,32,-116,34"
|
|
137
|
-
*/
|
|
138
|
-
bbox?: string;
|
|
139
|
-
/**
|
|
140
|
-
* A list of desired categories; maximum of 8
|
|
141
|
-
*/
|
|
142
|
-
categories?: string[];
|
|
143
|
-
/**
|
|
144
|
-
* Generically definines remaining/unused properties
|
|
145
|
-
*/
|
|
146
|
-
[key: string]: any;
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Results of fetching and copying a file associated with an item.
|
|
150
|
-
*/
|
|
151
|
-
export interface IAssociatedFileCopyResults extends IAssociatedFileInfo, ICopyResults {
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Information for working with a file associated with an item.
|
|
155
|
-
*/
|
|
156
|
-
export interface IAssociatedFileInfo {
|
|
157
|
-
/**
|
|
158
|
-
* Resource's "folder"--the prefix before the filename
|
|
159
|
-
*/
|
|
160
|
-
folder: string;
|
|
161
|
-
/**
|
|
162
|
-
* Resource's filename
|
|
163
|
-
*/
|
|
164
|
-
filename: string;
|
|
165
|
-
/**
|
|
166
|
-
* An internal classification of the type of file: data, metadata, resource
|
|
167
|
-
*/
|
|
168
|
-
type?: EFileType;
|
|
169
|
-
/**
|
|
170
|
-
* The mime type of the file
|
|
171
|
-
*/
|
|
172
|
-
mimeType?: string;
|
|
173
|
-
/**
|
|
174
|
-
* URL where a resource, metadata, or thumbnail of an item or group can be found
|
|
175
|
-
*/
|
|
176
|
-
url?: string;
|
|
177
|
-
/**
|
|
178
|
-
* File holding a resource, metadata, or thumbnail of an item or group
|
|
179
|
-
*/
|
|
180
|
-
file?: File;
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Describes the results of topologically sorting items to be deployed so that dependencies are created before
|
|
184
|
-
* the items that depend on them.
|
|
185
|
-
*/
|
|
186
|
-
export interface IBuildOrdering {
|
|
187
|
-
/**
|
|
188
|
-
* Item ids in order in which items are to be built.
|
|
189
|
-
*/
|
|
190
|
-
buildOrder: string[];
|
|
191
|
-
/**
|
|
192
|
-
* Item ids of dependencies that were not supplied to ordering algorithm.
|
|
193
|
-
*/
|
|
194
|
-
missingDependencies: string[];
|
|
195
|
-
/**
|
|
196
|
-
* Dictionary of item ids that need dependency patching; each id has a list of the ids of the dependencies to be patched.
|
|
197
|
-
*/
|
|
198
|
-
itemsToBePatched: IKeyedListsOfStrings;
|
|
199
|
-
}
|
|
200
|
-
/**
|
|
201
|
-
* Holds a complete AGO item.
|
|
202
|
-
*/
|
|
203
|
-
export interface ICompleteItem {
|
|
204
|
-
/**
|
|
205
|
-
* The "base" information of an item as MIME format text/plain JSON
|
|
206
|
-
*/
|
|
207
|
-
base: IItem;
|
|
208
|
-
/**
|
|
209
|
-
* The data section of an item as a file even though it may be JSON
|
|
210
|
-
*/
|
|
211
|
-
data: File;
|
|
212
|
-
/**
|
|
213
|
-
* The item's thumbnail as MIME format image/*
|
|
214
|
-
*/
|
|
215
|
-
thumbnail: File;
|
|
216
|
-
/**
|
|
217
|
-
* The item's metadata as MIME format application/xml
|
|
218
|
-
*/
|
|
219
|
-
metadata: File;
|
|
220
|
-
/**
|
|
221
|
-
* The item's resource files
|
|
222
|
-
*/
|
|
223
|
-
resources: File[];
|
|
224
|
-
/**
|
|
225
|
-
* list of forward relationshipType/relatedItems[] pairs
|
|
226
|
-
*/
|
|
227
|
-
fwdRelatedItems: IRelatedItems[];
|
|
228
|
-
/**
|
|
229
|
-
* list of reverse relationshipType/relatedItems[] pairs
|
|
230
|
-
*/
|
|
231
|
-
revRelatedItems: IRelatedItems[];
|
|
232
|
-
/**
|
|
233
|
-
* Additional feature-service-only info
|
|
234
|
-
*/
|
|
235
|
-
featureServiceProperties?: IFeatureServiceProperties;
|
|
236
|
-
/**
|
|
237
|
-
* Additional workflow-only info
|
|
238
|
-
*/
|
|
239
|
-
workflowConfiguration?: any;
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Results of fetching and copying an item.
|
|
243
|
-
*/
|
|
244
|
-
export interface ICopyResults {
|
|
245
|
-
/**
|
|
246
|
-
* Status of fetching item from source
|
|
247
|
-
*/
|
|
248
|
-
fetchedFromSource: boolean;
|
|
249
|
-
/**
|
|
250
|
-
* Status of copying item to destination; undefined if fetchedFromSource is false
|
|
251
|
-
*/
|
|
252
|
-
copiedToDestination?: boolean;
|
|
253
|
-
}
|
|
254
|
-
export interface ICreateItemFromTemplateResponse {
|
|
255
|
-
/**
|
|
256
|
-
* Created item
|
|
257
|
-
*/
|
|
258
|
-
item?: IItemTemplate;
|
|
259
|
-
/**
|
|
260
|
-
* Item's AGO id
|
|
261
|
-
*/
|
|
262
|
-
id: string;
|
|
263
|
-
/**
|
|
264
|
-
* AGO item type name
|
|
265
|
-
*/
|
|
266
|
-
type: string;
|
|
267
|
-
/**
|
|
268
|
-
* Does the item need post processing to handle unresolved variables
|
|
269
|
-
*/
|
|
270
|
-
postProcess: boolean;
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* Options for creating a solution item.
|
|
274
|
-
*/
|
|
275
|
-
export interface ICreateSolutionOptions {
|
|
276
|
-
/**
|
|
277
|
-
* Information on who has access to this solution.
|
|
278
|
-
*/
|
|
279
|
-
accessInformation?: string;
|
|
280
|
-
/**
|
|
281
|
-
* Descriptive categories to identify this item.
|
|
282
|
-
*/
|
|
283
|
-
categories?: string[];
|
|
284
|
-
/**
|
|
285
|
-
* Calling-program-supplied id, perhaps used to distinguish between concurrent deployments or deletions;
|
|
286
|
-
* default: id of group used to create Solution
|
|
287
|
-
*/
|
|
288
|
-
jobId?: string;
|
|
289
|
-
/**
|
|
290
|
-
* Licensing information
|
|
291
|
-
*/
|
|
292
|
-
licenseInfo?: string;
|
|
293
|
-
/**
|
|
294
|
-
* Title to be given to created Solution item; defaults: for a group, group title;
|
|
295
|
-
* for an item, random string from common.createShortId()
|
|
296
|
-
*/
|
|
297
|
-
title?: string;
|
|
298
|
-
/**
|
|
299
|
-
* Snippet to be given to created Solution item; defaults: for a group, group snippet; for an item, ""
|
|
300
|
-
*/
|
|
301
|
-
snippet?: string;
|
|
302
|
-
/**
|
|
303
|
-
* Description to be given to created Solution item; defaults: for a group, group description; for an item, ""
|
|
304
|
-
*/
|
|
305
|
-
description?: string;
|
|
306
|
-
/**
|
|
307
|
-
* Tags to be given to created Solution item; defaults: for a group, group tags; for an item, []
|
|
308
|
-
*/
|
|
309
|
-
tags?: string[];
|
|
310
|
-
/**
|
|
311
|
-
* URL to thumbnail to be given to created Solution item, but see `thumbnail` property; default: ""
|
|
312
|
-
*/
|
|
313
|
-
thumbnailurl?: string;
|
|
314
|
-
/**
|
|
315
|
-
* Thumbnail file to be given to created Solution item; default: null; has priority over `thumbnailurl`
|
|
316
|
-
*/
|
|
317
|
-
thumbnail?: File;
|
|
318
|
-
/**
|
|
319
|
-
* Folder in which to place created Solution item; default is top level
|
|
320
|
-
*/
|
|
321
|
-
folderId?: string;
|
|
322
|
-
/**
|
|
323
|
-
* Facts to be used for creating the Solution item; default: \{\}
|
|
324
|
-
*/
|
|
325
|
-
templateDictionary?: any;
|
|
326
|
-
/**
|
|
327
|
-
* Should fields be templatized; default: false
|
|
328
|
-
*/
|
|
329
|
-
templatizeFields?: boolean;
|
|
330
|
-
/**
|
|
331
|
-
* Additional typeKeywords (beyond always-added ["Solution", "Template"]) to be added to Solution item; default: []
|
|
332
|
-
*/
|
|
333
|
-
additionalTypeKeywords?: string[];
|
|
334
|
-
/**
|
|
335
|
-
* Packet of supplemental information provided from certain progress states, e.g., Finished deleting an item
|
|
336
|
-
* or deploying a Solution item
|
|
337
|
-
*/
|
|
338
|
-
progressCallback?: ISolutionProgressCallback;
|
|
339
|
-
/**
|
|
340
|
-
* An object that contains schema version, related solutions and other supporting information.
|
|
341
|
-
*/
|
|
342
|
-
properties?: any;
|
|
343
|
-
/**
|
|
344
|
-
* Should progress be echoed to the debugging console? default: false
|
|
345
|
-
*/
|
|
346
|
-
consoleProgress?: boolean;
|
|
347
|
-
/**
|
|
348
|
-
* Placeholder for ids of items to be placed into Solution. DO NOT USE--it is overwritten by function createSolution
|
|
349
|
-
*/
|
|
350
|
-
itemIds?: string[];
|
|
351
|
-
/**
|
|
352
|
-
* Credentials for the organization with the source items; default: solution item authentication
|
|
353
|
-
*/
|
|
354
|
-
sourceItemAuthentication?: UserSession;
|
|
355
|
-
/**
|
|
356
|
-
* Groups to be included in solution; it's an alternate to including tags of the form "group.<embeddedGroupId>"
|
|
357
|
-
* in the top-level group.
|
|
358
|
-
*/
|
|
359
|
-
subgroupIds?: string[];
|
|
360
|
-
/**
|
|
361
|
-
* A list of keywords for this solution. Also used by the application for internal control of deployment.
|
|
362
|
-
*/
|
|
363
|
-
typeKeywords?: string[];
|
|
364
|
-
}
|
|
365
|
-
/**
|
|
366
|
-
* Result of creating a solution item.
|
|
367
|
-
*/
|
|
368
|
-
export interface ICreateSolutionResult {
|
|
369
|
-
/**
|
|
370
|
-
* Success or failure
|
|
371
|
-
*/
|
|
372
|
-
success: boolean;
|
|
373
|
-
/**
|
|
374
|
-
* Id of created Solution template
|
|
375
|
-
*/
|
|
376
|
-
solutionTemplateItemId: string;
|
|
377
|
-
/**
|
|
378
|
-
* When true items with source-itemId type keyword will be reused; default: false
|
|
379
|
-
*/
|
|
380
|
-
enableItemReuse?: boolean;
|
|
381
|
-
}
|
|
382
|
-
/**
|
|
383
|
-
* The relevant elements of a data source that are used for templatization
|
|
384
|
-
*/
|
|
385
|
-
export interface IDatasourceInfo {
|
|
386
|
-
/**
|
|
387
|
-
* Calculated pattern used for templatization eg. "\{\{itemId.fields.layerId.fieldname\}\}"
|
|
388
|
-
*/
|
|
389
|
-
basePath: string;
|
|
390
|
-
/**
|
|
391
|
-
* The portal item id eg. "4efe5f693de34620934787ead6693f19"
|
|
392
|
-
*/
|
|
393
|
-
itemId: string;
|
|
394
|
-
/**
|
|
395
|
-
* The id for the layer from the service eg. 0
|
|
396
|
-
*/
|
|
397
|
-
layerId: number;
|
|
398
|
-
/**
|
|
399
|
-
* The webmap layer id eg. "TestLayerForDashBoardMap_632"
|
|
400
|
-
*/
|
|
401
|
-
id?: string;
|
|
402
|
-
/**
|
|
403
|
-
* The id for the layer from a map could be referenced by more than one map for a solution
|
|
404
|
-
*/
|
|
405
|
-
ids: string[];
|
|
406
|
-
/**
|
|
407
|
-
* The url used for fields lookup
|
|
408
|
-
*/
|
|
409
|
-
url?: string;
|
|
410
|
-
/**
|
|
411
|
-
* The fields this datasource contains
|
|
412
|
-
*/
|
|
413
|
-
fields: any[];
|
|
414
|
-
/**
|
|
415
|
-
* The ralative ids for references to a datasource
|
|
416
|
-
* Application types like dashboard can reference datasources via realtive widget reference ids
|
|
417
|
-
*/
|
|
418
|
-
references?: any[];
|
|
419
|
-
/**
|
|
420
|
-
* The details on any relationships that the datasource is involved in
|
|
421
|
-
*/
|
|
422
|
-
relationships: any[];
|
|
423
|
-
/**
|
|
424
|
-
* The layers adminLayerInfo
|
|
425
|
-
* Used to fetch relationship info in some cases
|
|
426
|
-
*/
|
|
427
|
-
adminLayerInfo: any;
|
|
428
|
-
}
|
|
429
|
-
/**
|
|
430
|
-
* Options for deleting a deployed solution item and all of the items that were created as part of that deployment
|
|
431
|
-
*/
|
|
432
|
-
export interface IDeleteSolutionOptions {
|
|
433
|
-
/**
|
|
434
|
-
* Calling-program-supplied id, perhaps used to distinguish between concurrent deployments or deletions;
|
|
435
|
-
* default: id of solution being deleted
|
|
436
|
-
*/
|
|
437
|
-
jobId?: string;
|
|
438
|
-
/**
|
|
439
|
-
* Packet of supplemental information provided from certain progress states, e.g., Finished deleting an item
|
|
440
|
-
* or deploying a Solution item
|
|
441
|
-
*/
|
|
442
|
-
progressCallback?: ISolutionProgressCallback;
|
|
443
|
-
/**
|
|
444
|
-
* Should progress be echoed to the debugging console? default: false
|
|
445
|
-
*/
|
|
446
|
-
consoleProgress?: boolean;
|
|
447
|
-
}
|
|
448
|
-
/**
|
|
449
|
-
* Storage of dependencies.
|
|
450
|
-
*/
|
|
451
|
-
export interface IDependency {
|
|
452
|
-
/**
|
|
453
|
-
* Dependency item id for templatization.
|
|
454
|
-
*/
|
|
455
|
-
id: string;
|
|
456
|
-
/**
|
|
457
|
-
* Dependency service name for name mapping.
|
|
458
|
-
* This is used to find appropriate source service name for views.
|
|
459
|
-
*/
|
|
460
|
-
name: string;
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* IDeployFilename extended to include the URL to the stored resource.
|
|
464
|
-
*/
|
|
465
|
-
export interface IDeployFileCopyPath extends IDeployFilename {
|
|
466
|
-
url: string;
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* File type, folder, and filename for deploying an item's binary resource.
|
|
470
|
-
*/
|
|
471
|
-
export interface IDeployFilename {
|
|
472
|
-
type: EFileType;
|
|
473
|
-
folder: string;
|
|
474
|
-
filename: string;
|
|
475
|
-
}
|
|
476
|
-
/**
|
|
477
|
-
* Options for deploying a solution item and for creating the solution index item representing the deployment
|
|
478
|
-
*/
|
|
479
|
-
export interface IDeploySolutionOptions {
|
|
480
|
-
/**
|
|
481
|
-
* Calling-program-supplied id, perhaps used to distinguish between concurrent deployments or deletions;
|
|
482
|
-
* default: id of solution being deployed
|
|
483
|
-
*/
|
|
484
|
-
jobId?: string;
|
|
485
|
-
/**
|
|
486
|
-
* Title to be given to deployed Solution item; default: copied from solution item
|
|
487
|
-
*/
|
|
488
|
-
title?: string;
|
|
489
|
-
/**
|
|
490
|
-
* Snippet to be given to created Solution item; default: copied from solution item
|
|
491
|
-
*/
|
|
492
|
-
snippet?: string;
|
|
493
|
-
/**
|
|
494
|
-
* Description to be given to created Solution item; default: copied from solution item
|
|
495
|
-
*/
|
|
496
|
-
description?: string;
|
|
497
|
-
/**
|
|
498
|
-
* Tags to be given to created Solution item; default: copied from solution item
|
|
499
|
-
*/
|
|
500
|
-
tags?: string[];
|
|
501
|
-
/**
|
|
502
|
-
* URL to thumbnail to be given to created Solution item, but see `thumbnail` property; default: copied from
|
|
503
|
-
* solution item
|
|
504
|
-
*/
|
|
505
|
-
thumbnailurl?: string;
|
|
506
|
-
/**
|
|
507
|
-
* Thumbnail file to be given to created Solution item; default: null; has priority over `thumbnailurl`
|
|
508
|
-
*/
|
|
509
|
-
thumbnail?: File;
|
|
510
|
-
/**
|
|
511
|
-
* Facts to be used for creating the Solution item; default: \{\}
|
|
512
|
-
*/
|
|
513
|
-
templateDictionary?: any;
|
|
514
|
-
/**
|
|
515
|
-
* Additional typeKeywords (beyond always-added ["Solution", "Deployed"]) to be added to Solution item; default: []
|
|
516
|
-
*/
|
|
517
|
-
additionalTypeKeywords?: string[];
|
|
518
|
-
/**
|
|
519
|
-
* When true items with source-itemId type keyword will be reused; default: false
|
|
520
|
-
*/
|
|
521
|
-
enableItemReuse?: boolean;
|
|
522
|
-
/**
|
|
523
|
-
* Packet of supplemental information provided from certain progress states, e.g., Finished deleting an item
|
|
524
|
-
* or deploying a Solution item
|
|
525
|
-
*/
|
|
526
|
-
progressCallback?: ISolutionProgressCallback;
|
|
527
|
-
/**
|
|
528
|
-
* Should progress be echoed to the debugging console? default: false
|
|
529
|
-
*/
|
|
530
|
-
consoleProgress?: boolean;
|
|
531
|
-
/**
|
|
532
|
-
* Credentials for the organization with the source items; default: authentication supplied for deployment destination
|
|
533
|
-
*/
|
|
534
|
-
storageAuthentication?: UserSession;
|
|
535
|
-
/**
|
|
536
|
-
* Version of storage read from Solution item. DO NOT USE--it is overwritten by function deploySolutionFromTemplate
|
|
537
|
-
*/
|
|
538
|
-
storageVersion?: number;
|
|
539
|
-
/**
|
|
540
|
-
* Determines if the solution item should be created during deployment; default: false
|
|
541
|
-
*/
|
|
542
|
-
dontCreateSolutionItem?: boolean;
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* Result of deploying a solution item.
|
|
546
|
-
*/
|
|
547
|
-
export interface IDeploySolutionResult {
|
|
548
|
-
/**
|
|
549
|
-
* Success or failure
|
|
550
|
-
*/
|
|
551
|
-
success: boolean;
|
|
552
|
-
/**
|
|
553
|
-
* Id of deployed Solution
|
|
554
|
-
*/
|
|
555
|
-
deployedSolutionItemId: string;
|
|
556
|
-
}
|
|
557
|
-
/**
|
|
558
|
-
* Contains feature-service-specific properties.
|
|
559
|
-
*/
|
|
560
|
-
export interface IFeatureServiceProperties {
|
|
561
|
-
service: any;
|
|
562
|
-
layers: any[];
|
|
563
|
-
tables: any[];
|
|
564
|
-
workforceInfos?: any;
|
|
565
|
-
contingentValues?: any;
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* File folder, filename, and data.
|
|
569
|
-
*/
|
|
570
|
-
export interface IFile {
|
|
571
|
-
folder: string;
|
|
572
|
-
filename: string;
|
|
573
|
-
blob: Blob;
|
|
574
|
-
}
|
|
575
|
-
/**
|
|
576
|
-
* Filename, MIME type, and data.
|
|
577
|
-
*/
|
|
578
|
-
export interface IFileMimeTyped {
|
|
579
|
-
filename: string;
|
|
580
|
-
mimeType: string;
|
|
581
|
-
blob: Blob;
|
|
582
|
-
}
|
|
583
|
-
/**
|
|
584
|
-
* Existing Items promises, associated item Ids and types
|
|
585
|
-
*/
|
|
586
|
-
export interface IFindExistingItemsResponse {
|
|
587
|
-
existingItemsDefs: Array<Promise<any>>;
|
|
588
|
-
existingItemInfos: IFindExistingItemInfos[];
|
|
589
|
-
}
|
|
590
|
-
/**
|
|
591
|
-
* Item Id and item type
|
|
592
|
-
*/
|
|
593
|
-
export interface IFindExistingItemInfos {
|
|
594
|
-
itemId: string;
|
|
595
|
-
type: string;
|
|
596
|
-
}
|
|
597
|
-
/**
|
|
598
|
-
* Response from removing a folder.
|
|
599
|
-
*/
|
|
600
|
-
export interface IFolderStatusResponse {
|
|
601
|
-
/**
|
|
602
|
-
* Success or failure
|
|
603
|
-
*/
|
|
604
|
-
success: boolean;
|
|
605
|
-
folder: {
|
|
606
|
-
username: string;
|
|
607
|
-
id: string;
|
|
608
|
-
title: string;
|
|
609
|
-
};
|
|
610
|
-
}
|
|
611
|
-
/**
|
|
612
|
-
* Undocumented property returned by portal function `getRelatedItems`.
|
|
613
|
-
*/
|
|
614
|
-
interface IGetRelatedItemsResponseAggregation {
|
|
615
|
-
total: IGetRelatedItemsResponseAggregationTotal;
|
|
616
|
-
}
|
|
617
|
-
/**
|
|
618
|
-
* Undocumented property returned by portal function `getRelatedItems`.
|
|
619
|
-
*/
|
|
620
|
-
interface IGetRelatedItemsResponseAggregationTotal {
|
|
621
|
-
/**
|
|
622
|
-
* Number of items returned in this response
|
|
623
|
-
*/
|
|
624
|
-
count: number;
|
|
625
|
-
/**
|
|
626
|
-
* Description of `count`, e.g., "total"
|
|
627
|
-
*/
|
|
628
|
-
name: string;
|
|
629
|
-
}
|
|
630
|
-
/**
|
|
631
|
-
* Extension of type to represent actual return from portal function `getRelatedItems`.
|
|
632
|
-
*/
|
|
633
|
-
export interface IGetRelatedItemsResponseFull extends IGetRelatedItemsResponse {
|
|
634
|
-
/**
|
|
635
|
-
* Undocumented property returned by portal function `getRelatedItems`.
|
|
636
|
-
*/
|
|
637
|
-
aggregations: IGetRelatedItemsResponseAggregation;
|
|
638
|
-
/**
|
|
639
|
-
* Property used in conjunction with `start` to request the next batch of related items.
|
|
640
|
-
*/
|
|
641
|
-
nextkey: string | null;
|
|
642
|
-
/**
|
|
643
|
-
* Echo of number of related items requested.
|
|
644
|
-
*/
|
|
645
|
-
num: number;
|
|
646
|
-
}
|
|
647
|
-
/**
|
|
648
|
-
* Response from getting the resources of a specified item, extended with paging properties
|
|
649
|
-
*/
|
|
650
|
-
export interface IGetResourcesResponse {
|
|
651
|
-
/**
|
|
652
|
-
* Total number of responses
|
|
653
|
-
*/
|
|
654
|
-
total: number;
|
|
655
|
-
/**
|
|
656
|
-
* Resources
|
|
657
|
-
*/
|
|
658
|
-
resources: IResource[];
|
|
659
|
-
/**
|
|
660
|
-
* The number of the first entry requested. The index number is 1-based.
|
|
661
|
-
*/
|
|
662
|
-
start: number;
|
|
663
|
-
/**
|
|
664
|
-
* The number of results requested.
|
|
665
|
-
*/
|
|
666
|
-
num: number;
|
|
667
|
-
/**
|
|
668
|
-
* The 1-based index of the start of the next batch of results; value is -1 if there are no more results
|
|
669
|
-
* to be fetched
|
|
670
|
-
*/
|
|
671
|
-
nextStart: number;
|
|
672
|
-
}
|
|
673
|
-
/**
|
|
674
|
-
* Response from getting the category schema set on a group.
|
|
675
|
-
*
|
|
676
|
-
* @see https://developers.arcgis.com/rest/users-groups-and-items/group-category-schema.htm
|
|
677
|
-
*/
|
|
678
|
-
export interface IGroupCategorySchema {
|
|
679
|
-
categorySchema: IGroupCategory[];
|
|
680
|
-
}
|
|
681
|
-
/**
|
|
682
|
-
* Nestable category schema descripion set on a group.
|
|
683
|
-
*
|
|
684
|
-
* @see https://developers.arcgis.com/rest/users-groups-and-items/group-category-schema.htm
|
|
685
|
-
*/
|
|
686
|
-
export interface IGroupCategory {
|
|
687
|
-
/**
|
|
688
|
-
* Category title
|
|
689
|
-
*/
|
|
690
|
-
title: string;
|
|
691
|
-
/**
|
|
692
|
-
* Category description
|
|
693
|
-
*/
|
|
694
|
-
description?: string;
|
|
695
|
-
/**
|
|
696
|
-
* Child categories of this category
|
|
697
|
-
*/
|
|
698
|
-
categories?: IGroupCategory[];
|
|
699
|
-
}
|
|
700
|
-
/**
|
|
701
|
-
* Hierarchical arrangement of items and their dependencies.
|
|
702
|
-
*/
|
|
703
|
-
export interface IHierarchyElement {
|
|
704
|
-
/**
|
|
705
|
-
* Item id
|
|
706
|
-
*/
|
|
707
|
-
id: string;
|
|
708
|
-
/**
|
|
709
|
-
* Items that this item depends on
|
|
710
|
-
*/
|
|
711
|
-
dependencies: IHierarchyElement[];
|
|
712
|
-
}
|
|
713
|
-
/**
|
|
714
|
-
* Subset of portal.IItem containing just the properties that are stored in a template--the item's "base" section.
|
|
715
|
-
*/
|
|
716
|
-
export interface IItemGeneralized {
|
|
717
|
-
/**
|
|
718
|
-
* Item categories
|
|
719
|
-
*/
|
|
720
|
-
categories?: string[];
|
|
721
|
-
/**
|
|
722
|
-
* Specifies the locale for which content is returned.
|
|
723
|
-
*/
|
|
724
|
-
culture?: string;
|
|
725
|
-
/**
|
|
726
|
-
* Item description
|
|
727
|
-
*/
|
|
728
|
-
description?: string;
|
|
729
|
-
/**
|
|
730
|
-
* _Undocumented AGO item property_
|
|
731
|
-
*/
|
|
732
|
-
documentation?: string;
|
|
733
|
-
/**
|
|
734
|
-
* An array that defines the bounding rectangle of the item as [[minx, miny], [maxx, maxy]]. Should always be in WGS84.
|
|
735
|
-
*/
|
|
736
|
-
extent?: number[][] | string;
|
|
737
|
-
/**
|
|
738
|
-
* The unique ID for this item.
|
|
739
|
-
*/
|
|
740
|
-
id: string;
|
|
741
|
-
/**
|
|
742
|
-
* A JSON object that primarily applies to system requirements, Terms and Conditions, version, supported platforms,
|
|
743
|
-
* YouTube video ID, etc., associated with the application.
|
|
744
|
-
*/
|
|
745
|
-
properties?: any;
|
|
746
|
-
/**
|
|
747
|
-
* A short summary description of the item.
|
|
748
|
-
*/
|
|
749
|
-
snippet?: string;
|
|
750
|
-
/**
|
|
751
|
-
* The coordinate system of the item.
|
|
752
|
-
*/
|
|
753
|
-
spatialReference?: ISpatialReference;
|
|
754
|
-
/**
|
|
755
|
-
* An array of user defined tags that describe the item.
|
|
756
|
-
*/
|
|
757
|
-
tags?: string[];
|
|
758
|
-
/**
|
|
759
|
-
* The title of the item. This is the name that's displayed to users and by which they refer to the item.
|
|
760
|
-
*/
|
|
761
|
-
title?: string;
|
|
762
|
-
/**
|
|
763
|
-
* The GIS content type of this item. Example types include Web Map, Map Service, Shapefile, and
|
|
764
|
-
* Web Mapping Application.
|
|
765
|
-
*/
|
|
766
|
-
type: string;
|
|
767
|
-
/**
|
|
768
|
-
* An array of keywords that further describes the type of this item. Each item is tagged with a set of
|
|
769
|
-
* type keywords that are derived based on its primary type.
|
|
770
|
-
*/
|
|
771
|
-
typeKeywords?: string[];
|
|
772
|
-
/**
|
|
773
|
-
* The URL for the resource represented by the item. Applies only to items that represent web-accessible
|
|
774
|
-
* resources such as map services.
|
|
775
|
-
*/
|
|
776
|
-
url?: string;
|
|
777
|
-
/**
|
|
778
|
-
* Generically definines remaining/unused properties
|
|
779
|
-
*/
|
|
780
|
-
[key: string]: any;
|
|
781
|
-
}
|
|
782
|
-
/**
|
|
783
|
-
* Extends `IItemRelationshipOptions` for the REST JS `getRelatedItems` call because it doesn't include
|
|
784
|
-
* the new `start` and `num` properties.
|
|
785
|
-
*/
|
|
786
|
-
export interface IItemRelationshipOptionsPaging extends IItemRelationshipOptions {
|
|
787
|
-
params: {
|
|
788
|
-
/**
|
|
789
|
-
* Relationship direction sought
|
|
790
|
-
*/
|
|
791
|
-
direction: "forward" | "reverse";
|
|
792
|
-
/**
|
|
793
|
-
* One-based index of start of next batch to fetch
|
|
794
|
-
*/
|
|
795
|
-
start: number;
|
|
796
|
-
/**
|
|
797
|
-
* Number of items requested; maximum value is 100
|
|
798
|
-
*/
|
|
799
|
-
num: number;
|
|
800
|
-
/**
|
|
801
|
-
* Key needed by related records search for second and subsequent batches; value comes from previous fetch
|
|
802
|
-
*/
|
|
803
|
-
nextkey?: string;
|
|
804
|
-
};
|
|
805
|
-
}
|
|
806
|
-
/**
|
|
807
|
-
* The templatized form of an item or group.
|
|
808
|
-
*/
|
|
809
|
-
export interface IItemTemplate {
|
|
810
|
-
/**
|
|
811
|
-
* Item's AGO id
|
|
812
|
-
*/
|
|
813
|
-
itemId: string;
|
|
814
|
-
/**
|
|
815
|
-
* AGO item type name
|
|
816
|
-
*/
|
|
817
|
-
type: string;
|
|
818
|
-
/**
|
|
819
|
-
* Fairly unique identifier; set to 'i' + chars 2-8 of a random number in base 36
|
|
820
|
-
*/
|
|
821
|
-
key: string;
|
|
822
|
-
/**
|
|
823
|
-
* Item base section JSON
|
|
824
|
-
*/
|
|
825
|
-
item: IItemGeneralized;
|
|
826
|
-
/**
|
|
827
|
-
* Item data section JSON
|
|
828
|
-
*/
|
|
829
|
-
data: any;
|
|
830
|
-
/**
|
|
831
|
-
* References to item resources
|
|
832
|
-
*/
|
|
833
|
-
resources: any[];
|
|
834
|
-
/**
|
|
835
|
-
* References to related item
|
|
836
|
-
*/
|
|
837
|
-
relatedItems?: IRelatedItems[];
|
|
838
|
-
/**
|
|
839
|
-
* List of ids of AGO items needed by this item
|
|
840
|
-
*/
|
|
841
|
-
dependencies: string[];
|
|
842
|
-
/**
|
|
843
|
-
* List of ids of AGO groups the item needs to be shared with
|
|
844
|
-
*/
|
|
845
|
-
groups: string[];
|
|
846
|
-
/**
|
|
847
|
-
* Miscellaneous item-specific properties
|
|
848
|
-
*/
|
|
849
|
-
properties: any;
|
|
850
|
-
/**
|
|
851
|
-
* Estimated relative cost of deploying this item; corresponds to number of progressCallback
|
|
852
|
-
* function calls made during while deploying it
|
|
853
|
-
*/
|
|
854
|
-
estimatedDeploymentCostFactor: number;
|
|
855
|
-
/**
|
|
856
|
-
* Allow for adhoc properties
|
|
857
|
-
*/
|
|
858
|
-
[propName: string]: any;
|
|
859
|
-
}
|
|
860
|
-
/**
|
|
861
|
-
* Function signatures for use in a function lookup array.
|
|
862
|
-
*/
|
|
863
|
-
export interface IItemTemplateConversions {
|
|
864
|
-
/**
|
|
865
|
-
* Converts an item into a template for use in a Solution.
|
|
866
|
-
*/
|
|
867
|
-
convertItemToTemplate(itemInfo: any, destAuthentication: UserSession, srcAuthentication: UserSession, templateDictionary?: any): Promise<IItemTemplate>;
|
|
868
|
-
/**
|
|
869
|
-
* Creates an item using templatized info in a Solution.
|
|
870
|
-
*/
|
|
871
|
-
createItemFromTemplate(template: IItemTemplate, templateDictionary: any, destinationAuthentication: UserSession, itemProgressCallback: IItemProgressCallback): Promise<ICreateItemFromTemplateResponse>;
|
|
872
|
-
}
|
|
873
|
-
/**
|
|
874
|
-
* Structure for mapping from item type to module with type-specific template-handling code
|
|
875
|
-
*/
|
|
876
|
-
export type moduleHandler = IItemTemplateConversions | undefined | null;
|
|
877
|
-
/**
|
|
878
|
-
* Mapping from an AGO item type to the code handling that type.
|
|
879
|
-
*/
|
|
880
|
-
export interface IItemTypeModuleMap {
|
|
881
|
-
[itemType: string]: moduleHandler;
|
|
882
|
-
}
|
|
883
|
-
export interface IItemUpdate {
|
|
884
|
-
id: string;
|
|
885
|
-
/**
|
|
886
|
-
* Key-value pair for update parameter.
|
|
887
|
-
* N.B.: Use `data` key for binary data; all other keys are serialized, which zeroes out binary data!
|
|
888
|
-
*/
|
|
889
|
-
[key: string]: any;
|
|
890
|
-
}
|
|
891
|
-
/**
|
|
892
|
-
* Type with key access to lists of strings
|
|
893
|
-
*/
|
|
894
|
-
export interface IKeyedListsOfStrings {
|
|
895
|
-
[key: string]: string[];
|
|
896
|
-
}
|
|
897
|
-
/**
|
|
898
|
-
* Type with key access to strings
|
|
899
|
-
*/
|
|
900
|
-
export interface IKeyedStrings {
|
|
901
|
-
[key: string]: string;
|
|
902
|
-
}
|
|
903
|
-
/**
|
|
904
|
-
* A simple interface for a key value pair with number as the key
|
|
905
|
-
*/
|
|
906
|
-
export interface INumberValuePair {
|
|
907
|
-
[key: number]: any;
|
|
908
|
-
}
|
|
909
|
-
/**
|
|
910
|
-
* Subset of a esri/portal/Portal used by this library.
|
|
911
|
-
*/
|
|
912
|
-
export interface IPortalSubset {
|
|
913
|
-
/**
|
|
914
|
-
* Name of the organization.
|
|
915
|
-
*/
|
|
916
|
-
name: string;
|
|
917
|
-
/**
|
|
918
|
-
* The id of the organization that owns this portal. If null then this is the default portal
|
|
919
|
-
* for anonymous and non-organizational users.
|
|
920
|
-
*/
|
|
921
|
-
id: string;
|
|
922
|
-
/**
|
|
923
|
-
* The REST URL for the portal, for example "https://www.arcgis.com/sharing/rest" for ArcGIS Online
|
|
924
|
-
* and "https://www.example.com/arcgis/sharing/rest" for your in-house portal.
|
|
925
|
-
*/
|
|
926
|
-
restUrl: string;
|
|
927
|
-
/**
|
|
928
|
-
* The URL to the portal instance.
|
|
929
|
-
*/
|
|
930
|
-
portalUrl: string;
|
|
931
|
-
/**
|
|
932
|
-
* The prefix selected by the organization's administrator to be used with the custom base URL for the portal.
|
|
933
|
-
*/
|
|
934
|
-
urlKey: string;
|
|
935
|
-
}
|
|
936
|
-
/**
|
|
937
|
-
* Storage of arguments for post processing functions
|
|
938
|
-
*/
|
|
939
|
-
export interface IPostProcessArgs {
|
|
940
|
-
/**
|
|
941
|
-
* Status message to show after the layerDefinition is updated.
|
|
942
|
-
*/
|
|
943
|
-
message: string;
|
|
944
|
-
/**
|
|
945
|
-
* Key objects to add to the layerDefinition.
|
|
946
|
-
*/
|
|
947
|
-
objects: any;
|
|
948
|
-
/**
|
|
949
|
-
* Template of item to be created
|
|
950
|
-
*/
|
|
951
|
-
itemTemplate: any;
|
|
952
|
-
/**
|
|
953
|
-
* Credentials for the request
|
|
954
|
-
*/
|
|
955
|
-
authentication: UserSession;
|
|
956
|
-
}
|
|
957
|
-
/**
|
|
958
|
-
* The relevant elements of a data source that are used for templatization
|
|
959
|
-
*/
|
|
960
|
-
export interface IQuickCaptureDatasource {
|
|
961
|
-
/**
|
|
962
|
-
* The portal item id for the datasource eg. "4efe5f693de34620934787ead6693f19"
|
|
963
|
-
*/
|
|
964
|
-
featureServiceItemId: string;
|
|
965
|
-
/**
|
|
966
|
-
* The application item id for the datasource eg. "1d4de1e4-ef58-4e02-9159-7a6e6701cada"
|
|
967
|
-
*/
|
|
968
|
-
dataSourceId: string;
|
|
969
|
-
/**
|
|
970
|
-
* The url used for the datasource
|
|
971
|
-
*/
|
|
972
|
-
url: number;
|
|
973
|
-
}
|
|
974
|
-
/**
|
|
975
|
-
* A mapping between a relationship type and the list of item ids using that relationship.
|
|
976
|
-
*/
|
|
977
|
-
export interface IRelatedItems {
|
|
978
|
-
/**
|
|
979
|
-
* The type of relationship between the two items.
|
|
980
|
-
*
|
|
981
|
-
* @see https://developers.arcgis.com/rest/users-groups-and-items/relationship-types.htm
|
|
982
|
-
*/
|
|
983
|
-
relationshipType: string;
|
|
984
|
-
/**
|
|
985
|
-
* Ids of related items
|
|
986
|
-
*/
|
|
987
|
-
relatedItemIds: string[];
|
|
988
|
-
}
|
|
989
|
-
/**
|
|
990
|
-
* Summary of a resource.
|
|
991
|
-
*/
|
|
992
|
-
export interface IResource {
|
|
993
|
-
/**
|
|
994
|
-
* Name of resource
|
|
995
|
-
*/
|
|
996
|
-
resource: string;
|
|
997
|
-
/**
|
|
998
|
-
* The date the resource was created. Shown in UNIX time in milliseconds.
|
|
999
|
-
*/
|
|
1000
|
-
created: number;
|
|
1001
|
-
/**
|
|
1002
|
-
* The size of the resource in bytes.
|
|
1003
|
-
*/
|
|
1004
|
-
size: number;
|
|
1005
|
-
}
|
|
1006
|
-
/**
|
|
1007
|
-
* A solution template AGO item
|
|
1008
|
-
*/
|
|
1009
|
-
export interface ISolutionItem {
|
|
1010
|
-
/**
|
|
1011
|
-
* Item base section JSON
|
|
1012
|
-
*/
|
|
1013
|
-
item: any;
|
|
1014
|
-
/**
|
|
1015
|
-
* Item data section JSON
|
|
1016
|
-
*/
|
|
1017
|
-
data: ISolutionItemData;
|
|
1018
|
-
/**
|
|
1019
|
-
* Supplemental information
|
|
1020
|
-
*/
|
|
1021
|
-
properties?: IStringValuePair;
|
|
1022
|
-
/**
|
|
1023
|
-
* Generically definines remaining/unused properties
|
|
1024
|
-
*/
|
|
1025
|
-
[key: string]: any;
|
|
1026
|
-
}
|
|
1027
|
-
/**
|
|
1028
|
-
* The data section of a solution item.
|
|
1029
|
-
*/
|
|
1030
|
-
export interface ISolutionItemData {
|
|
1031
|
-
/**
|
|
1032
|
-
* General information about the solution template
|
|
1033
|
-
*/
|
|
1034
|
-
metadata: any;
|
|
1035
|
-
/**
|
|
1036
|
-
* Supplemental information about the solution, e.g., its default spatial reference
|
|
1037
|
-
*/
|
|
1038
|
-
params?: ISolutionItemDataParams;
|
|
1039
|
-
/**
|
|
1040
|
-
* The collection of templates
|
|
1041
|
-
*/
|
|
1042
|
-
templates: IItemTemplate[];
|
|
1043
|
-
}
|
|
1044
|
-
/**
|
|
1045
|
-
* Supplemental information about the solution, e.g., its default spatial reference
|
|
1046
|
-
*/
|
|
1047
|
-
export interface ISolutionItemDataParams {
|
|
1048
|
-
/**
|
|
1049
|
-
* Information about the default spatial reference for a solution item.
|
|
1050
|
-
*/
|
|
1051
|
-
wkid: ISolutionItemDataWkidParams;
|
|
1052
|
-
}
|
|
1053
|
-
/**
|
|
1054
|
-
* Information about the default spatial reference for a solution item.
|
|
1055
|
-
*/
|
|
1056
|
-
export interface ISolutionItemDataWkidParams {
|
|
1057
|
-
/**
|
|
1058
|
-
* A label for the wkid, e.g., "Spatial Reference".
|
|
1059
|
-
*/
|
|
1060
|
-
label: string;
|
|
1061
|
-
/**
|
|
1062
|
-
* The default wkid, e.g., "102100"
|
|
1063
|
-
*/
|
|
1064
|
-
default: string;
|
|
1065
|
-
/**
|
|
1066
|
-
* A value flag, e.g., "spatialReference"
|
|
1067
|
-
*/
|
|
1068
|
-
valueType: string;
|
|
1069
|
-
/**
|
|
1070
|
-
* Attributes of the default spatial reference for a solution item.
|
|
1071
|
-
*/
|
|
1072
|
-
attributes: ISolutionItemDataWkidAttrsParams;
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
* Attributes of the default spatial reference for a solution item.
|
|
1076
|
-
*/
|
|
1077
|
-
export interface ISolutionItemDataWkidAttrsParams {
|
|
1078
|
-
required: string;
|
|
1079
|
-
}
|
|
1080
|
-
/**
|
|
1081
|
-
* A brief form of an item in a deployed Solution item.
|
|
1082
|
-
*/
|
|
1083
|
-
export interface ISolutionItemPrecis {
|
|
1084
|
-
/**
|
|
1085
|
-
* The unique ID for this item.
|
|
1086
|
-
*/
|
|
1087
|
-
id: string;
|
|
1088
|
-
/**
|
|
1089
|
-
* The GIS content type of this item. Example types include Web Map, Map Service, Shapefile, and
|
|
1090
|
-
* Web Mapping Application.
|
|
1091
|
-
*/
|
|
1092
|
-
type: string;
|
|
1093
|
-
/**
|
|
1094
|
-
* The title of the item. This is the name that's displayed to users and by which they refer to the item.
|
|
1095
|
-
*/
|
|
1096
|
-
title: string;
|
|
1097
|
-
/**
|
|
1098
|
-
* The date the item was last modified. Shown in UNIX time in milliseconds.
|
|
1099
|
-
*/
|
|
1100
|
-
modified: number;
|
|
1101
|
-
/**
|
|
1102
|
-
* The username of the user who owns this item.
|
|
1103
|
-
*/
|
|
1104
|
-
owner: string;
|
|
1105
|
-
}
|
|
1106
|
-
/**
|
|
1107
|
-
* A brief form of a deployed Solution item.
|
|
1108
|
-
*/
|
|
1109
|
-
export interface ISolutionPrecis {
|
|
1110
|
-
/**
|
|
1111
|
-
* The unique ID for this Solution item.
|
|
1112
|
-
*/
|
|
1113
|
-
id: string;
|
|
1114
|
-
/**
|
|
1115
|
-
* The title of the item. This is the name that's displayed to users and by which they refer to the item.
|
|
1116
|
-
*/
|
|
1117
|
-
title: string;
|
|
1118
|
-
/**
|
|
1119
|
-
* Folder containing the deployed Solution
|
|
1120
|
-
*/
|
|
1121
|
-
folder: string;
|
|
1122
|
-
/**
|
|
1123
|
-
* Items contained in this solution
|
|
1124
|
-
*/
|
|
1125
|
-
items: ISolutionItemPrecis[];
|
|
1126
|
-
/**
|
|
1127
|
-
* Ids of groups affiliated with this solution
|
|
1128
|
-
*/
|
|
1129
|
-
groups: string[];
|
|
1130
|
-
}
|
|
1131
|
-
/**
|
|
1132
|
-
* Packet of supplemental information provided via a ISolutionProgressCallback call.
|
|
1133
|
-
*/
|
|
1134
|
-
export interface ISolutionProgressEvent {
|
|
1135
|
-
/**
|
|
1136
|
-
* Tag describing data
|
|
1137
|
-
*/
|
|
1138
|
-
event: string;
|
|
1139
|
-
/**
|
|
1140
|
-
* Data
|
|
1141
|
-
*/
|
|
1142
|
-
data?: any;
|
|
1143
|
-
}
|
|
1144
|
-
/**
|
|
1145
|
-
* Information about a resource to be copied into an item.
|
|
1146
|
-
*/
|
|
1147
|
-
export interface ISourceFile {
|
|
1148
|
-
/**
|
|
1149
|
-
* The portal item id, e.g., "4efe5f693de34620934787ead6693f19", that supplies the resource
|
|
1150
|
-
*/
|
|
1151
|
-
itemId: string;
|
|
1152
|
-
/**
|
|
1153
|
-
* Resource file
|
|
1154
|
-
*/
|
|
1155
|
-
file: File;
|
|
1156
|
-
/**
|
|
1157
|
-
* Resource's "folder"--the prefix before the filename
|
|
1158
|
-
*/
|
|
1159
|
-
folder: string;
|
|
1160
|
-
/**
|
|
1161
|
-
* Resource's filename
|
|
1162
|
-
*/
|
|
1163
|
-
filename: string;
|
|
1164
|
-
}
|
|
1165
|
-
export type TPossibleSourceFile = ISourceFile | undefined;
|
|
1166
|
-
/**
|
|
1167
|
-
* Information for storing a resource in a storage item.
|
|
1168
|
-
*/
|
|
1169
|
-
export interface ISourceFileCopyPath {
|
|
1170
|
-
/**
|
|
1171
|
-
* The portal item id, e.g., "4efe5f693de34620934787ead6693f19", that supplies the resource
|
|
1172
|
-
*/
|
|
1173
|
-
itemId: string;
|
|
1174
|
-
/**
|
|
1175
|
-
* URL where a resource, metadata, or thumbnail of an item or group can be found
|
|
1176
|
-
*/
|
|
1177
|
-
url: string;
|
|
1178
|
-
/**
|
|
1179
|
-
* Resource's "folder"--the prefix before the filename
|
|
1180
|
-
*/
|
|
1181
|
-
folder: string;
|
|
1182
|
-
/**
|
|
1183
|
-
* Resource's filename
|
|
1184
|
-
*/
|
|
1185
|
-
filename: string;
|
|
1186
|
-
}
|
|
1187
|
-
/**
|
|
1188
|
-
* A simple interface for a key value pair with string as the key
|
|
1189
|
-
*/
|
|
1190
|
-
export interface IStringValuePair {
|
|
1191
|
-
[key: string]: any;
|
|
1192
|
-
}
|
|
1193
|
-
/**
|
|
1194
|
-
* A common status response from AGO.
|
|
1195
|
-
*/
|
|
1196
|
-
export interface IStatusResponse {
|
|
1197
|
-
/**
|
|
1198
|
-
* Success or failure of request
|
|
1199
|
-
*/
|
|
1200
|
-
success: boolean;
|
|
1201
|
-
/**
|
|
1202
|
-
* AGO id of item for which request was made
|
|
1203
|
-
*/
|
|
1204
|
-
itemId: string;
|
|
1205
|
-
}
|
|
1206
|
-
/**
|
|
1207
|
-
* Storage of update info
|
|
1208
|
-
*/
|
|
1209
|
-
export interface IUpdate {
|
|
1210
|
-
/**
|
|
1211
|
-
* URL for the update request
|
|
1212
|
-
*/
|
|
1213
|
-
url: string;
|
|
1214
|
-
/**
|
|
1215
|
-
* object to update the layers definition
|
|
1216
|
-
*/
|
|
1217
|
-
params: any;
|
|
1218
|
-
/**
|
|
1219
|
-
* arguments for post processing functions
|
|
1220
|
-
*/
|
|
1221
|
-
args: IPostProcessArgs;
|
|
1222
|
-
}
|
|
1223
|
-
/**
|
|
1224
|
-
* Survey 123 create API parameters
|
|
1225
|
-
*/
|
|
1226
|
-
export interface ISurvey123CreateParams {
|
|
1227
|
-
/**
|
|
1228
|
-
* Title for the survey Form item & folder
|
|
1229
|
-
*/
|
|
1230
|
-
title: string;
|
|
1231
|
-
/**
|
|
1232
|
-
* Array of tags for the survey Form item
|
|
1233
|
-
*/
|
|
1234
|
-
tags: string[];
|
|
1235
|
-
/**
|
|
1236
|
-
* Array of typeKeywords for the survey Form item
|
|
1237
|
-
*/
|
|
1238
|
-
typeKeywords: string[];
|
|
1239
|
-
/**
|
|
1240
|
-
* Description for the survey Form item
|
|
1241
|
-
*/
|
|
1242
|
-
description: string;
|
|
1243
|
-
/**
|
|
1244
|
-
* The survey form configuration schema. This defines configurable
|
|
1245
|
-
* content like the theme, questions, & header/footer text, etc.
|
|
1246
|
-
*/
|
|
1247
|
-
form: any;
|
|
1248
|
-
/**
|
|
1249
|
-
* The username from the current session
|
|
1250
|
-
*/
|
|
1251
|
-
username: string;
|
|
1252
|
-
/**
|
|
1253
|
-
* The token from the current session
|
|
1254
|
-
*/
|
|
1255
|
-
token: string;
|
|
1256
|
-
/**
|
|
1257
|
-
* The portalUrl for Survey123 to direct API requests to
|
|
1258
|
-
*/
|
|
1259
|
-
portalUrl: string;
|
|
1260
|
-
}
|
|
1261
|
-
/**
|
|
1262
|
-
* Successful Survey123 create API response
|
|
1263
|
-
*/
|
|
1264
|
-
export interface ISurvey123CreateSuccess {
|
|
1265
|
-
/**
|
|
1266
|
-
* Statically defined, always true for success
|
|
1267
|
-
*/
|
|
1268
|
-
success: true;
|
|
1269
|
-
/**
|
|
1270
|
-
* Resulting Form item ID
|
|
1271
|
-
*/
|
|
1272
|
-
id: string;
|
|
1273
|
-
/**
|
|
1274
|
-
* Subset of resulting Form item details
|
|
1275
|
-
*/
|
|
1276
|
-
formItemInfo: {
|
|
1277
|
-
/**
|
|
1278
|
-
* Resulting Form item typeKeywords
|
|
1279
|
-
*/
|
|
1280
|
-
typeKeywords: string[];
|
|
1281
|
-
/**
|
|
1282
|
-
* Resulting Form item ownerFolder
|
|
1283
|
-
*/
|
|
1284
|
-
ownerFolder: string;
|
|
1285
|
-
/**
|
|
1286
|
-
* Resulting Form item access
|
|
1287
|
-
*/
|
|
1288
|
-
access: string;
|
|
1289
|
-
/**
|
|
1290
|
-
* Resulting Form item owner
|
|
1291
|
-
*/
|
|
1292
|
-
owner: string;
|
|
1293
|
-
};
|
|
1294
|
-
/**
|
|
1295
|
-
* Subset of resulting Feature Service(s) details
|
|
1296
|
-
*/
|
|
1297
|
-
featureService: {
|
|
1298
|
-
/**
|
|
1299
|
-
* Subset of source Feature Service details
|
|
1300
|
-
*/
|
|
1301
|
-
source: {
|
|
1302
|
-
/**
|
|
1303
|
-
* Resulting Feature Service item ID
|
|
1304
|
-
*/
|
|
1305
|
-
itemId: string;
|
|
1306
|
-
/**
|
|
1307
|
-
* Generically definines remaining/unused properties
|
|
1308
|
-
*/
|
|
1309
|
-
[key: string]: any;
|
|
1310
|
-
};
|
|
1311
|
-
/**
|
|
1312
|
-
* Generically definines remaining/unused properties
|
|
1313
|
-
*/
|
|
1314
|
-
[key: string]: any;
|
|
1315
|
-
};
|
|
1316
|
-
/**
|
|
1317
|
-
* Generically definines remaining/unused properties
|
|
1318
|
-
*/
|
|
1319
|
-
[key: string]: any;
|
|
1320
|
-
}
|
|
1321
|
-
/**
|
|
1322
|
-
* Unsuccessful Survey123 create API response
|
|
1323
|
-
*/
|
|
1324
|
-
export interface ISurvey123CreateError {
|
|
1325
|
-
/**
|
|
1326
|
-
* Statically defined, always false when unsuccessful
|
|
1327
|
-
*/
|
|
1328
|
-
success: false;
|
|
1329
|
-
/**
|
|
1330
|
-
* Error details
|
|
1331
|
-
*/
|
|
1332
|
-
error: {
|
|
1333
|
-
/**
|
|
1334
|
-
* HTTP error code
|
|
1335
|
-
*/
|
|
1336
|
-
code: number;
|
|
1337
|
-
/**
|
|
1338
|
-
* Optional, additional details about the error
|
|
1339
|
-
*/
|
|
1340
|
-
details: string[];
|
|
1341
|
-
/**
|
|
1342
|
-
* Message describing the error
|
|
1343
|
-
*/
|
|
1344
|
-
message: string;
|
|
1345
|
-
};
|
|
1346
|
-
}
|
|
1347
|
-
/**
|
|
1348
|
-
* Result details for a successful Survey123 create
|
|
1349
|
-
* API request
|
|
1350
|
-
*/
|
|
1351
|
-
export interface ISurvey123CreateResult {
|
|
1352
|
-
formId: string;
|
|
1353
|
-
featureServiceId: string;
|
|
1354
|
-
folderId: string;
|
|
1355
|
-
}
|
|
1356
|
-
/**
|
|
1357
|
-
* Result of fetching webmap dependencies
|
|
1358
|
-
*/
|
|
1359
|
-
export interface IWebmapDependencies {
|
|
1360
|
-
/**
|
|
1361
|
-
* Updated list of dependency ids
|
|
1362
|
-
*/
|
|
1363
|
-
dependencies: string[];
|
|
1364
|
-
/**
|
|
1365
|
-
* Hash from URL to AGO item id
|
|
1366
|
-
*/
|
|
1367
|
-
urlHash: IKeyedStrings;
|
|
1368
|
-
}
|
|
1369
|
-
/**
|
|
1370
|
-
* Results of sending a zip to an item.
|
|
1371
|
-
*/
|
|
1372
|
-
export interface IZipCopyResults extends IZipInfo, ICopyResults {
|
|
1373
|
-
}
|
|
1374
|
-
/**
|
|
1375
|
-
* Information about a zipped file.
|
|
1376
|
-
*/
|
|
1377
|
-
export interface IZipInfo {
|
|
1378
|
-
/**
|
|
1379
|
-
* Zip's filename
|
|
1380
|
-
*/
|
|
1381
|
-
filename: string;
|
|
1382
|
-
/**
|
|
1383
|
-
* JSZip object
|
|
1384
|
-
*/
|
|
1385
|
-
zip: JSZip;
|
|
1386
|
-
/**
|
|
1387
|
-
* List of files included in this zip
|
|
1388
|
-
*/
|
|
1389
|
-
filelist: any[];
|
|
1390
|
-
}
|
|
1391
|
-
/**
|
|
1392
|
-
* Title information for Velocity data.
|
|
1393
|
-
*/
|
|
1394
|
-
export interface IVelocityTitle {
|
|
1395
|
-
/**
|
|
1396
|
-
* The current label for the object
|
|
1397
|
-
*/
|
|
1398
|
-
label: string;
|
|
1399
|
-
/**
|
|
1400
|
-
* Existing titles that have been used in the org
|
|
1401
|
-
*/
|
|
1402
|
-
titles: string[];
|
|
1403
|
-
}
|
|
1404
|
-
/**
|
|
1405
|
-
* Key info about Velocity subscription
|
|
1406
|
-
*/
|
|
1407
|
-
export interface IVelocityInfo {
|
|
1408
|
-
/**
|
|
1409
|
-
* The organizations velocity url
|
|
1410
|
-
*/
|
|
1411
|
-
velocityUrl: string;
|
|
1412
|
-
/**
|
|
1413
|
-
* When true the organizations subscriptionInfo contains Velocity
|
|
1414
|
-
*/
|
|
1415
|
-
hasVelocity: boolean;
|
|
1416
|
-
}
|
|
1417
|
-
/**
|
|
1418
|
-
* Relative path and string contents of a file in a zip object.
|
|
1419
|
-
*/
|
|
1420
|
-
export interface IZipObjectContentItem {
|
|
1421
|
-
/**
|
|
1422
|
-
* Filename
|
|
1423
|
-
*/
|
|
1424
|
-
file: string;
|
|
1425
|
-
/**
|
|
1426
|
-
* Contents of file
|
|
1427
|
-
*/
|
|
1428
|
-
content: TZipObjectContent;
|
|
1429
|
-
}
|
|
1430
|
-
/**
|
|
1431
|
-
* The default spatial reference and extent values from a template item
|
|
1432
|
-
*/
|
|
1433
|
-
export interface IDefaultSpatialReferenceAndExtent {
|
|
1434
|
-
spatialReference: ISpatialReference;
|
|
1435
|
-
extent: IExtent;
|
|
1436
|
-
}
|
|
1437
|
-
export type TZipObjectContent = string | Blob | File;
|
|
1438
|
-
/**
|
|
1439
|
-
* Contains an array of templates that should use standard depolyment as well as
|
|
1440
|
-
* templates that will leverage some specific handeling for workflow
|
|
1441
|
-
*/
|
|
1442
|
-
export interface IPreProcessWorkflowTemplatesResponse {
|
|
1443
|
-
deployTemplates: IItemTemplate[];
|
|
1444
|
-
workflowManagedTemplates: IItemTemplate[];
|
|
1445
|
-
}
|
|
1446
|
-
export {};
|