@esri/hub-common 14.121.1 → 14.122.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/dist/esm/ArcGISContextManager.js +2 -0
- package/dist/esm/ArcGISContextManager.js.map +1 -1
- package/dist/esm/content/_internal/ContentBusinessRules.js +6 -0
- package/dist/esm/content/_internal/ContentBusinessRules.js.map +1 -1
- package/dist/esm/content/_internal/computeProps.js +8 -1
- package/dist/esm/content/_internal/computeProps.js.map +1 -1
- package/dist/esm/content/_internal/internalContentUtils.js.map +1 -1
- package/dist/esm/content/fetch.js +2 -2
- package/dist/esm/content/fetch.js.map +1 -1
- package/dist/esm/core/types/ISystemStatus.js +1 -0
- package/dist/esm/core/types/ISystemStatus.js.map +1 -1
- package/dist/esm/downloads/_internal/_types.js +55 -0
- package/dist/esm/downloads/_internal/_types.js.map +1 -0
- package/dist/esm/downloads/_internal/canCreateExportItem.js +15 -0
- package/dist/esm/downloads/_internal/canCreateExportItem.js.map +1 -0
- package/dist/esm/downloads/_internal/canUseExportImageFlow.js +10 -0
- package/dist/esm/downloads/_internal/canUseExportImageFlow.js.map +1 -0
- package/dist/esm/downloads/_internal/canUseExportItemFlow.js +11 -0
- package/dist/esm/downloads/_internal/canUseExportItemFlow.js.map +1 -0
- package/dist/esm/downloads/_internal/file-url-fetchers/fetchExportImageDownloadFileUrl.js +46 -0
- package/dist/esm/downloads/_internal/file-url-fetchers/fetchExportImageDownloadFileUrl.js.map +1 -0
- package/dist/esm/downloads/_internal/file-url-fetchers/fetchExportItemDownloadFileUrl.js +79 -0
- package/dist/esm/downloads/_internal/file-url-fetchers/fetchExportItemDownloadFileUrl.js.map +1 -0
- package/dist/esm/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFileUrl.js +136 -0
- package/dist/esm/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFileUrl.js.map +1 -0
- package/dist/esm/downloads/_internal/format-fetchers/fetchAvailableExportItemFormats.js +56 -0
- package/dist/esm/downloads/_internal/format-fetchers/fetchAvailableExportItemFormats.js.map +1 -0
- package/dist/esm/downloads/_internal/format-fetchers/fetchExportItemFormats.js +28 -0
- package/dist/esm/downloads/_internal/format-fetchers/fetchExportItemFormats.js.map +1 -0
- package/dist/esm/downloads/_internal/format-fetchers/getAllExportItemFormats.js +12 -0
- package/dist/esm/downloads/_internal/format-fetchers/getAllExportItemFormats.js.map +1 -0
- package/dist/esm/downloads/_internal/format-fetchers/getCreateReplicaFormats.js +14 -0
- package/dist/esm/downloads/_internal/format-fetchers/getCreateReplicaFormats.js.map +1 -0
- package/dist/esm/downloads/_internal/format-fetchers/getExportImageFormats.js +11 -0
- package/dist/esm/downloads/_internal/format-fetchers/getExportImageFormats.js.map +1 -0
- package/dist/esm/downloads/_internal/format-fetchers/getHubDownloadApiFormats.js +18 -0
- package/dist/esm/downloads/_internal/format-fetchers/getHubDownloadApiFormats.js.map +1 -0
- package/dist/esm/downloads/_internal/format-fetchers/getPagingJobFormats.js +10 -0
- package/dist/esm/downloads/_internal/format-fetchers/getPagingJobFormats.js.map +1 -0
- package/dist/esm/downloads/_internal/getExportItemDataUrl.js +14 -0
- package/dist/esm/downloads/_internal/getExportItemDataUrl.js.map +1 -0
- package/dist/esm/downloads/build-existing-exports-portal-query.js +1 -37
- package/dist/esm/downloads/build-existing-exports-portal-query.js.map +1 -1
- package/dist/esm/downloads/canUseCreateReplica.js +13 -0
- package/dist/esm/downloads/canUseCreateReplica.js.map +1 -0
- package/dist/esm/downloads/canUseHubDownloadApi.js +15 -0
- package/dist/esm/downloads/canUseHubDownloadApi.js.map +1 -0
- package/dist/esm/downloads/fetchDownloadFileUrl.js +29 -0
- package/dist/esm/downloads/fetchDownloadFileUrl.js.map +1 -0
- package/dist/esm/downloads/fetchDownloadFormats.js +37 -0
- package/dist/esm/downloads/fetchDownloadFormats.js.map +1 -0
- package/dist/esm/downloads/index.js +5 -0
- package/dist/esm/downloads/index.js.map +1 -1
- package/dist/esm/downloads/types.js +97 -0
- package/dist/esm/downloads/types.js.map +1 -0
- package/dist/esm/events/api/orval/api/orval-events.js.map +1 -1
- package/dist/esm/events/edit.js +8 -4
- package/dist/esm/events/edit.js.map +1 -1
- package/dist/node/ArcGISContextManager.js +2 -0
- package/dist/node/ArcGISContextManager.js.map +1 -1
- package/dist/node/content/_internal/ContentBusinessRules.js +6 -0
- package/dist/node/content/_internal/ContentBusinessRules.js.map +1 -1
- package/dist/node/content/_internal/computeProps.js +7 -0
- package/dist/node/content/_internal/computeProps.js.map +1 -1
- package/dist/node/content/_internal/internalContentUtils.js.map +1 -1
- package/dist/node/content/fetch.js +2 -2
- package/dist/node/content/fetch.js.map +1 -1
- package/dist/node/core/types/ISystemStatus.js +1 -0
- package/dist/node/core/types/ISystemStatus.js.map +1 -1
- package/dist/node/downloads/_internal/_types.js +58 -0
- package/dist/node/downloads/_internal/_types.js.map +1 -0
- package/dist/node/downloads/_internal/canCreateExportItem.js +19 -0
- package/dist/node/downloads/_internal/canCreateExportItem.js.map +1 -0
- package/dist/node/downloads/_internal/canUseExportImageFlow.js +14 -0
- package/dist/node/downloads/_internal/canUseExportImageFlow.js.map +1 -0
- package/dist/node/downloads/_internal/canUseExportItemFlow.js +15 -0
- package/dist/node/downloads/_internal/canUseExportItemFlow.js.map +1 -0
- package/dist/node/downloads/_internal/file-url-fetchers/fetchExportImageDownloadFileUrl.js +50 -0
- package/dist/node/downloads/_internal/file-url-fetchers/fetchExportImageDownloadFileUrl.js.map +1 -0
- package/dist/node/downloads/_internal/file-url-fetchers/fetchExportItemDownloadFileUrl.js +83 -0
- package/dist/node/downloads/_internal/file-url-fetchers/fetchExportItemDownloadFileUrl.js.map +1 -0
- package/dist/node/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFileUrl.js +140 -0
- package/dist/node/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFileUrl.js.map +1 -0
- package/dist/node/downloads/_internal/format-fetchers/fetchAvailableExportItemFormats.js +60 -0
- package/dist/node/downloads/_internal/format-fetchers/fetchAvailableExportItemFormats.js.map +1 -0
- package/dist/node/downloads/_internal/format-fetchers/fetchExportItemFormats.js +32 -0
- package/dist/node/downloads/_internal/format-fetchers/fetchExportItemFormats.js.map +1 -0
- package/dist/node/downloads/_internal/format-fetchers/getAllExportItemFormats.js +16 -0
- package/dist/node/downloads/_internal/format-fetchers/getAllExportItemFormats.js.map +1 -0
- package/dist/node/downloads/_internal/format-fetchers/getCreateReplicaFormats.js +18 -0
- package/dist/node/downloads/_internal/format-fetchers/getCreateReplicaFormats.js.map +1 -0
- package/dist/node/downloads/_internal/format-fetchers/getExportImageFormats.js +15 -0
- package/dist/node/downloads/_internal/format-fetchers/getExportImageFormats.js.map +1 -0
- package/dist/node/downloads/_internal/format-fetchers/getHubDownloadApiFormats.js +22 -0
- package/dist/node/downloads/_internal/format-fetchers/getHubDownloadApiFormats.js.map +1 -0
- package/dist/node/downloads/_internal/format-fetchers/getPagingJobFormats.js +14 -0
- package/dist/node/downloads/_internal/format-fetchers/getPagingJobFormats.js.map +1 -0
- package/dist/node/downloads/_internal/getExportItemDataUrl.js +18 -0
- package/dist/node/downloads/_internal/getExportItemDataUrl.js.map +1 -0
- package/dist/node/downloads/build-existing-exports-portal-query.js +3 -39
- package/dist/node/downloads/build-existing-exports-portal-query.js.map +1 -1
- package/dist/node/downloads/canUseCreateReplica.js +17 -0
- package/dist/node/downloads/canUseCreateReplica.js.map +1 -0
- package/dist/node/downloads/canUseHubDownloadApi.js +19 -0
- package/dist/node/downloads/canUseHubDownloadApi.js.map +1 -0
- package/dist/node/downloads/fetchDownloadFileUrl.js +33 -0
- package/dist/node/downloads/fetchDownloadFileUrl.js.map +1 -0
- package/dist/node/downloads/fetchDownloadFormats.js +41 -0
- package/dist/node/downloads/fetchDownloadFormats.js.map +1 -0
- package/dist/node/downloads/index.js +5 -0
- package/dist/node/downloads/index.js.map +1 -1
- package/dist/node/downloads/types.js +101 -0
- package/dist/node/downloads/types.js.map +1 -0
- package/dist/node/events/api/orval/api/orval-events.js.map +1 -1
- package/dist/node/events/edit.js +8 -4
- package/dist/node/events/edit.js.map +1 -1
- package/dist/types/content/_internal/ContentBusinessRules.d.ts +1 -1
- package/dist/types/content/_internal/internalContentUtils.d.ts +7 -0
- package/dist/types/core/types/IHubEditableContent.d.ts +10 -0
- package/dist/types/core/types/ISystemStatus.d.ts +1 -1
- package/dist/types/downloads/_internal/_types.d.ts +22 -0
- package/dist/types/downloads/_internal/canCreateExportItem.d.ts +13 -0
- package/dist/types/downloads/_internal/canUseExportImageFlow.d.ts +8 -0
- package/dist/types/downloads/_internal/canUseExportItemFlow.d.ts +8 -0
- package/dist/types/downloads/_internal/file-url-fetchers/fetchExportImageDownloadFileUrl.d.ts +12 -0
- package/dist/types/downloads/_internal/file-url-fetchers/fetchExportItemDownloadFileUrl.d.ts +20 -0
- package/dist/types/downloads/_internal/file-url-fetchers/fetchHubApiDownloadFileUrl.d.ts +16 -0
- package/dist/types/downloads/_internal/format-fetchers/fetchAvailableExportItemFormats.d.ts +26 -0
- package/dist/types/downloads/_internal/format-fetchers/fetchExportItemFormats.d.ts +25 -0
- package/dist/types/downloads/_internal/format-fetchers/getAllExportItemFormats.d.ts +6 -0
- package/dist/types/downloads/_internal/format-fetchers/getCreateReplicaFormats.d.ts +10 -0
- package/dist/types/downloads/_internal/format-fetchers/getExportImageFormats.d.ts +8 -0
- package/dist/types/downloads/_internal/format-fetchers/getHubDownloadApiFormats.d.ts +12 -0
- package/dist/types/downloads/_internal/format-fetchers/getPagingJobFormats.d.ts +7 -0
- package/dist/types/downloads/_internal/getExportItemDataUrl.d.ts +9 -0
- package/dist/types/downloads/build-existing-exports-portal-query.d.ts +0 -37
- package/dist/types/downloads/canUseCreateReplica.d.ts +7 -0
- package/dist/types/downloads/canUseHubDownloadApi.d.ts +9 -0
- package/dist/types/downloads/fetchDownloadFileUrl.d.ts +8 -0
- package/dist/types/downloads/fetchDownloadFormats.d.ts +7 -0
- package/dist/types/downloads/index.d.ts +5 -0
- package/dist/types/downloads/types.d.ts +152 -0
- package/dist/types/events/api/orval/api/orval-events.d.ts +24 -8
- package/package.json +1 -1
|
@@ -1,42 +1,5 @@
|
|
|
1
1
|
import { ISpatialReference } from "@esri/arcgis-rest-types";
|
|
2
2
|
export declare const WGS84_WKID = "4326";
|
|
3
|
-
export declare const PORTAL_EXPORT_TYPES: {
|
|
4
|
-
csv: {
|
|
5
|
-
name: string;
|
|
6
|
-
itemTypes: string[];
|
|
7
|
-
supportsProjection: boolean;
|
|
8
|
-
};
|
|
9
|
-
kml: {
|
|
10
|
-
name: string;
|
|
11
|
-
itemTypes: string[];
|
|
12
|
-
supportsProjection: boolean;
|
|
13
|
-
};
|
|
14
|
-
shapefile: {
|
|
15
|
-
name: string;
|
|
16
|
-
itemTypes: string[];
|
|
17
|
-
supportsProjection: boolean;
|
|
18
|
-
};
|
|
19
|
-
fileGeodatabase: {
|
|
20
|
-
name: string;
|
|
21
|
-
itemTypes: string[];
|
|
22
|
-
supportsProjection: boolean;
|
|
23
|
-
};
|
|
24
|
-
geojson: {
|
|
25
|
-
name: string;
|
|
26
|
-
itemTypes: string[];
|
|
27
|
-
supportsProjection: boolean;
|
|
28
|
-
};
|
|
29
|
-
excel: {
|
|
30
|
-
name: string;
|
|
31
|
-
itemTypes: string[];
|
|
32
|
-
supportsProjection: boolean;
|
|
33
|
-
};
|
|
34
|
-
featureCollection: {
|
|
35
|
-
name: string;
|
|
36
|
-
itemTypes: string[];
|
|
37
|
-
supportsProjection: boolean;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
3
|
interface IExistingExportsPortalQueryOptions {
|
|
41
4
|
layerId?: number | string;
|
|
42
5
|
onlyTypes?: string[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IHubEditableContent } from "../core/types/IHubEditableContent";
|
|
2
|
+
/**
|
|
3
|
+
* Determines whether Hub can perform the /createReplica operation on a given service entity.
|
|
4
|
+
* @param entity entity to check
|
|
5
|
+
* @returns whether the /createReplica operation can be used
|
|
6
|
+
*/
|
|
7
|
+
export declare function canUseCreateReplica(entity: IHubEditableContent): boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IArcGISContext } from "../ArcGISContext";
|
|
2
|
+
import { IHubEditableContent } from "../core/types/IHubEditableContent";
|
|
3
|
+
/**
|
|
4
|
+
* Determines if the Hub Download API can be used for the given entity.
|
|
5
|
+
* @param entity entity to check if Hub Download API can be used
|
|
6
|
+
* @param context ArcGIS context
|
|
7
|
+
* @returns whether the Hub Download API can be used
|
|
8
|
+
*/
|
|
9
|
+
export declare function canUseHubDownloadApi(entity: IHubEditableContent, context: IArcGISContext): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IFetchDownloadFileUrlOptions } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Fetches a download file URL for the given entity and format.
|
|
4
|
+
* @param options options to refine / filter the results of the fetchDownloadFileUrl operation
|
|
5
|
+
* @returns a promise that resolves with the download file URL
|
|
6
|
+
* @throws {ArcgisHubDownloadError} if the download file URL cannot be fetched for a well-known reason
|
|
7
|
+
*/
|
|
8
|
+
export declare function fetchDownloadFileUrl(options: IFetchDownloadFileUrlOptions): Promise<string>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IDownloadFormat, IFetchDownloadFormatsOptions } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Fetches download formats for the given entity. Also folds in any additional resources defined on the entity.
|
|
4
|
+
* @param options options to refine / filter the results of the fetchDownloadFormats operation
|
|
5
|
+
* @returns a promise that resolves with the download formats
|
|
6
|
+
*/
|
|
7
|
+
export declare function fetchDownloadFormats(options: IFetchDownloadFormatsOptions): Promise<IDownloadFormat[]>;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/// <reference types="arcgis-js-api" />
|
|
2
|
+
import { IArcGISContext } from "../ArcGISContext";
|
|
3
|
+
import { IHubEditableContent } from "../core/types/IHubEditableContent";
|
|
4
|
+
/**
|
|
5
|
+
* This hash map was defined to support the previous implementation of the export item flow.
|
|
6
|
+
* We are currently working on a new implementation that will replace this hash map, but we
|
|
7
|
+
* need to keep this around for now to support the existing implementation.
|
|
8
|
+
*/
|
|
9
|
+
export declare const PORTAL_EXPORT_TYPES: {
|
|
10
|
+
csv: {
|
|
11
|
+
name: string;
|
|
12
|
+
itemTypes: string[];
|
|
13
|
+
supportsProjection: boolean;
|
|
14
|
+
};
|
|
15
|
+
kml: {
|
|
16
|
+
name: string;
|
|
17
|
+
itemTypes: string[];
|
|
18
|
+
supportsProjection: boolean;
|
|
19
|
+
};
|
|
20
|
+
shapefile: {
|
|
21
|
+
name: string;
|
|
22
|
+
itemTypes: string[];
|
|
23
|
+
supportsProjection: boolean;
|
|
24
|
+
};
|
|
25
|
+
fileGeodatabase: {
|
|
26
|
+
name: string;
|
|
27
|
+
itemTypes: string[];
|
|
28
|
+
supportsProjection: boolean;
|
|
29
|
+
};
|
|
30
|
+
geojson: {
|
|
31
|
+
name: string;
|
|
32
|
+
itemTypes: string[];
|
|
33
|
+
supportsProjection: boolean;
|
|
34
|
+
};
|
|
35
|
+
excel: {
|
|
36
|
+
name: string;
|
|
37
|
+
itemTypes: string[];
|
|
38
|
+
supportsProjection: boolean;
|
|
39
|
+
};
|
|
40
|
+
featureCollection: {
|
|
41
|
+
name: string;
|
|
42
|
+
itemTypes: string[];
|
|
43
|
+
supportsProjection: boolean;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare type LegacyExportItemFormat = keyof typeof PORTAL_EXPORT_TYPES;
|
|
47
|
+
/**
|
|
48
|
+
* Comprehensive enum of all the download formats that are supported by service-backed items across the ArcGIS platform.
|
|
49
|
+
*/
|
|
50
|
+
export declare enum ServiceDownloadFormat {
|
|
51
|
+
BIP = "bip",
|
|
52
|
+
BMP = "bmp",
|
|
53
|
+
BSQ = "bsq",
|
|
54
|
+
GIF = "gif",
|
|
55
|
+
JPG = "jpg",
|
|
56
|
+
JPG_PNG = "jpgpng",
|
|
57
|
+
LERC = "lerc",
|
|
58
|
+
PNG = "png",
|
|
59
|
+
PNG8 = "png8",
|
|
60
|
+
PNG24 = "png24",
|
|
61
|
+
PNG32 = "png32",
|
|
62
|
+
TIFF = "tiff",
|
|
63
|
+
CSV = "csv",
|
|
64
|
+
EXCEL = "excel",
|
|
65
|
+
FEATURE_COLLECTION = "featureCollection",
|
|
66
|
+
FILE_GDB = "filegdb",
|
|
67
|
+
GEOJSON = "geojson",
|
|
68
|
+
GEO_PACKAGE = "geoPackage",
|
|
69
|
+
JSON = "json",
|
|
70
|
+
KML = "kml",
|
|
71
|
+
SHAPEFILE = "shapefile",
|
|
72
|
+
SQLITE = "sqlite"
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Represents a file format related to a content entity that can be downloaded.
|
|
76
|
+
* Formats can either be dynamic (i.e., generated on-the-fly) or static (i.e., pre-generated)
|
|
77
|
+
*/
|
|
78
|
+
export interface IDownloadFormat {
|
|
79
|
+
type: "static" | "dynamic";
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Represents a static download format that is pre-generated and available for download.
|
|
83
|
+
* If the format is a service-backed format, the `format` property will be set to the corresponding
|
|
84
|
+
* service format. If the format is to an arbitrary static file, the `format` property should be undefined.
|
|
85
|
+
*/
|
|
86
|
+
export interface IStaticDownloadFormat extends IDownloadFormat {
|
|
87
|
+
type: "static";
|
|
88
|
+
format?: ServiceDownloadFormat;
|
|
89
|
+
label: string;
|
|
90
|
+
url: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Represents a dynamic download format that is generated on-the-fly when requested.
|
|
94
|
+
* The `format` property will be set to the corresponding service format.
|
|
95
|
+
*/
|
|
96
|
+
export interface IDynamicDownloadFormat extends IDownloadFormat {
|
|
97
|
+
type: "dynamic";
|
|
98
|
+
format: ServiceDownloadFormat;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* A callback function that is invoked to report the progress of a download operation.
|
|
102
|
+
*/
|
|
103
|
+
export declare type downloadProgressCallback = (status: DownloadOperationStatus, percent?: number) => void;
|
|
104
|
+
/**
|
|
105
|
+
* Options for refining / filtering the results of the fetchDownloadFileUrl operation.
|
|
106
|
+
*/
|
|
107
|
+
export interface IFetchDownloadFileUrlOptions {
|
|
108
|
+
entity: IHubEditableContent;
|
|
109
|
+
format: ServiceDownloadFormat;
|
|
110
|
+
context: IArcGISContext;
|
|
111
|
+
layers?: number[];
|
|
112
|
+
geometry?: __esri.Geometry;
|
|
113
|
+
where?: string;
|
|
114
|
+
progressCallback?: downloadProgressCallback;
|
|
115
|
+
pollInterval?: number;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Human-readable status of a download operation. Operation specific statuses
|
|
119
|
+
* should be converted to one of these statuses before being reported to the user.
|
|
120
|
+
*/
|
|
121
|
+
export declare enum DownloadOperationStatus {
|
|
122
|
+
PENDING = "pending",
|
|
123
|
+
PROCESSING = "processing",
|
|
124
|
+
CONVERTING = "converting",
|
|
125
|
+
COMPLETED = "completed",
|
|
126
|
+
FAILED = "failed"
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Options for fetching download formats for an entity.
|
|
130
|
+
*/
|
|
131
|
+
export interface IFetchDownloadFormatsOptions {
|
|
132
|
+
entity: IHubEditableContent;
|
|
133
|
+
context: IArcGISContext;
|
|
134
|
+
layers?: number[];
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Options for instantiating an ArcgisHubDownloadError object.
|
|
138
|
+
*/
|
|
139
|
+
interface IArcgisHubDownloadErrorOptions {
|
|
140
|
+
rawMessage: string;
|
|
141
|
+
messageId?: string;
|
|
142
|
+
operation?: string;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Error class for reporting well-known download errors that occur during the download process.
|
|
146
|
+
*/
|
|
147
|
+
export declare class ArcgisHubDownloadError extends Error {
|
|
148
|
+
messageId?: string;
|
|
149
|
+
operation?: string;
|
|
150
|
+
constructor(options: IArcgisHubDownloadErrorOptions);
|
|
151
|
+
}
|
|
152
|
+
export {};
|
|
@@ -105,8 +105,10 @@ export interface IUpdateEvent {
|
|
|
105
105
|
description?: string;
|
|
106
106
|
/** Groups with edit access to the event */
|
|
107
107
|
editGroups?: string[];
|
|
108
|
-
/**
|
|
109
|
-
|
|
108
|
+
/** end date string formatted YYYY-MM-DD */
|
|
109
|
+
endDate?: string;
|
|
110
|
+
/** end time string 24 hour formatted HH:MM:SS */
|
|
111
|
+
endTime?: string;
|
|
110
112
|
/** GeoJSON formatted geometry related to the event */
|
|
111
113
|
geometry?: IUpdateEventGeometry;
|
|
112
114
|
/** Flag to notify attendees */
|
|
@@ -115,8 +117,10 @@ export interface IUpdateEvent {
|
|
|
115
117
|
onlineMeetings?: ICreateOnlineMeeting[];
|
|
116
118
|
/** Groups with read access to the event */
|
|
117
119
|
readGroups?: string[];
|
|
118
|
-
/**
|
|
119
|
-
|
|
120
|
+
/** start date string formatted YYYY-MM-DD */
|
|
121
|
+
startDate?: string;
|
|
122
|
+
/** start time string 24 hour formatted HH:MM:SS */
|
|
123
|
+
startTime?: string;
|
|
120
124
|
/** Status of the event */
|
|
121
125
|
status?: EventStatus;
|
|
122
126
|
/** Summary of the event */
|
|
@@ -144,6 +148,10 @@ export declare enum EventSort {
|
|
|
144
148
|
updatedAt = "updatedAt"
|
|
145
149
|
}
|
|
146
150
|
export declare type GetEventsParams = {
|
|
151
|
+
/**
|
|
152
|
+
* Comma separated string list of EventAccess
|
|
153
|
+
*/
|
|
154
|
+
access?: string;
|
|
147
155
|
/**
|
|
148
156
|
* Comma separated string list of relation fields to include in response
|
|
149
157
|
*/
|
|
@@ -225,7 +233,9 @@ export interface IEvent {
|
|
|
225
233
|
creator?: IUser;
|
|
226
234
|
description: string | null;
|
|
227
235
|
editGroups: string[];
|
|
236
|
+
endDate: string;
|
|
228
237
|
endDateTime: string;
|
|
238
|
+
endTime: string;
|
|
229
239
|
geometry: IEventGeometry;
|
|
230
240
|
id: string;
|
|
231
241
|
notifyAttendees: boolean;
|
|
@@ -235,7 +245,9 @@ export interface IEvent {
|
|
|
235
245
|
readGroups: string[];
|
|
236
246
|
recurrence: string | null;
|
|
237
247
|
registrations?: IRegistration[];
|
|
248
|
+
startDate: string;
|
|
238
249
|
startDateTime: string;
|
|
250
|
+
startTime: string;
|
|
239
251
|
status: EventStatus;
|
|
240
252
|
summary: string | null;
|
|
241
253
|
tags: string[];
|
|
@@ -378,8 +390,10 @@ export interface ICreateEvent {
|
|
|
378
390
|
editGroups?: string[];
|
|
379
391
|
/** Email for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
380
392
|
email?: string;
|
|
381
|
-
/**
|
|
382
|
-
|
|
393
|
+
/** end date string formatted YYYY-MM-DD */
|
|
394
|
+
endDate: string;
|
|
395
|
+
/** end time string 24 hour formatted HH:MM:SS */
|
|
396
|
+
endTime: string;
|
|
383
397
|
/** First name for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
384
398
|
firstName?: string;
|
|
385
399
|
/** GeoJSON formatted geometry related to the event */
|
|
@@ -392,8 +406,10 @@ export interface ICreateEvent {
|
|
|
392
406
|
onlineMeetings?: ICreateOnlineMeeting[];
|
|
393
407
|
/** Groups with read access to the event */
|
|
394
408
|
readGroups?: string[];
|
|
395
|
-
/**
|
|
396
|
-
|
|
409
|
+
/** start date string formatted YYYY-MM-DD */
|
|
410
|
+
startDate: string;
|
|
411
|
+
/** start time string 24 hour formatted HH:MM:SS */
|
|
412
|
+
startTime: string;
|
|
397
413
|
/** Summary of the event */
|
|
398
414
|
summary?: string;
|
|
399
415
|
/** Tags for the event */
|