@esri/hub-common 14.140.1 → 14.140.2
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/events/api/orval/api/orval-events.js +7 -0
- package/dist/esm/events/api/orval/api/orval-events.js.map +1 -1
- package/dist/esm/events/api/types.js +1 -1
- package/dist/esm/events/api/types.js.map +1 -1
- package/dist/node/events/api/orval/api/orval-events.js +8 -1
- package/dist/node/events/api/orval/api/orval-events.js.map +1 -1
- package/dist/node/events/api/types.js +1 -0
- package/dist/node/events/api/types.js.map +1 -1
- package/dist/types/events/api/orval/api/orval-events.d.ts +164 -132
- package/dist/types/events/api/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -38,6 +38,13 @@ export var EventStatus;
|
|
|
38
38
|
EventStatus["CANCELED"] = "CANCELED";
|
|
39
39
|
EventStatus["REMOVED"] = "REMOVED";
|
|
40
40
|
})(EventStatus || (EventStatus = {}));
|
|
41
|
+
export var EventLocationType;
|
|
42
|
+
(function (EventLocationType) {
|
|
43
|
+
EventLocationType["none"] = "none";
|
|
44
|
+
EventLocationType["custom"] = "custom";
|
|
45
|
+
EventLocationType["org"] = "org";
|
|
46
|
+
EventLocationType["item"] = "item";
|
|
47
|
+
})(EventLocationType || (EventLocationType = {}));
|
|
41
48
|
export var EventAttendanceType;
|
|
42
49
|
(function (EventAttendanceType) {
|
|
43
50
|
EventAttendanceType["VIRTUAL"] = "VIRTUAL";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orval-events.js","sourceRoot":"","sources":["../../../../../../src/events/api/orval/api/orval-events.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"orval-events.js","sourceRoot":"","sources":["../../../../../../src/events/api/orval/api/orval-events.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAkJhD,MAAM,C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Ac,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,mBAAmB;KAC1B,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,EAAU,EACV,OAA8C,EAC9C,EAAE;IACF,OAAO,YAAY,CACjB,EAAE,GAAG,EAAE,gCAAgC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAC/D,OAAO,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { EventAssociationEntityType, EventAccess, EventAttendanceType, EventStatus, RegistrationRole, RegistrationStatus, RegistrationSort, EventSortOrder, EventSort, } from "./orval/api/orval-events";
|
|
1
|
+
export { EventAssociationEntityType, EventAccess, EventAttendanceType, EventStatus, RegistrationRole, RegistrationStatus, RegistrationSort, EventSortOrder, EventSort, EventLocationType, } from "./orval/api/orval-events";
|
|
2
2
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/events/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,WAAW,EACX,mBAAmB,EACnB,WAAW,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/events/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,WAAW,EACX,mBAAmB,EACnB,WAAW,EAuBX,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,iBAAiB,GAGlB,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deleteRegistration = exports.updateRegistration = exports.getRegistration = exports.getRegistrations = exports.createRegistration = exports.deleteEvent = exports.updateEvent = exports.getEvent = exports.getEvents = exports.createEvent = exports.EventAccess = exports.EventAssociationEntityType = exports.EventAttendanceType = exports.EventStatus = exports.RegistrationRole = exports.RegistrationStatus = exports.EventSort = exports.EventSortOrder = exports.RegistrationSort = void 0;
|
|
3
|
+
exports.deleteRegistration = exports.updateRegistration = exports.getRegistration = exports.getRegistrations = exports.createRegistration = exports.deleteEvent = exports.updateEvent = exports.getEvent = exports.getEvents = exports.createEvent = exports.EventAccess = exports.EventAssociationEntityType = exports.EventAttendanceType = exports.EventLocationType = exports.EventStatus = exports.RegistrationRole = exports.RegistrationStatus = exports.EventSort = exports.EventSortOrder = exports.RegistrationSort = void 0;
|
|
4
4
|
const custom_client_1 = require("../custom-client");
|
|
5
5
|
var RegistrationSort;
|
|
6
6
|
(function (RegistrationSort) {
|
|
@@ -41,6 +41,13 @@ var EventStatus;
|
|
|
41
41
|
EventStatus["CANCELED"] = "CANCELED";
|
|
42
42
|
EventStatus["REMOVED"] = "REMOVED";
|
|
43
43
|
})(EventStatus = exports.EventStatus || (exports.EventStatus = {}));
|
|
44
|
+
var EventLocationType;
|
|
45
|
+
(function (EventLocationType) {
|
|
46
|
+
EventLocationType["none"] = "none";
|
|
47
|
+
EventLocationType["custom"] = "custom";
|
|
48
|
+
EventLocationType["org"] = "org";
|
|
49
|
+
EventLocationType["item"] = "item";
|
|
50
|
+
})(EventLocationType = exports.EventLocationType || (exports.EventLocationType = {}));
|
|
44
51
|
var EventAttendanceType;
|
|
45
52
|
(function (EventAttendanceType) {
|
|
46
53
|
EventAttendanceType["VIRTUAL"] = "VIRTUAL";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orval-events.js","sourceRoot":"","sources":["../../../../../../src/events/api/orval/api/orval-events.ts"],"names":[],"mappings":";;;AAQA,oDAAgD;
|
|
1
|
+
{"version":3,"file":"orval-events.js","sourceRoot":"","sources":["../../../../../../src/events/api/orval/api/orval-events.ts"],"names":[],"mappings":";;;AAQA,oDAAgD;AAkJhD,IAAY,gBAMX;AAND,WAAY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ACJ,CAAC,CAAC;AAEW,QAAA,kBAAkB,GAAG,CAChC,EAAU,EACV,OAA8C,EAC9C,EAAE;IACF,OAAO,4BAAY,CACjB,EAAE,GAAG,EAAE,gCAAgC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAC/D,OAAO,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -10,4 +10,5 @@ Object.defineProperty(exports, "RegistrationStatus", { enumerable: true, get: fu
|
|
|
10
10
|
Object.defineProperty(exports, "RegistrationSort", { enumerable: true, get: function () { return orval_events_1.RegistrationSort; } });
|
|
11
11
|
Object.defineProperty(exports, "EventSortOrder", { enumerable: true, get: function () { return orval_events_1.EventSortOrder; } });
|
|
12
12
|
Object.defineProperty(exports, "EventSort", { enumerable: true, get: function () { return orval_events_1.EventSort; } });
|
|
13
|
+
Object.defineProperty(exports, "EventLocationType", { enumerable: true, get: function () { return orval_events_1.EventLocationType; } });
|
|
13
14
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/events/api/types.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/events/api/types.ts"],"names":[],"mappings":";;AAAA,yDAmCkC;AAlChC,0HAAA,0BAA0B,OAAA;AAC1B,2GAAA,WAAW,OAAA;AACX,mHAAA,mBAAmB,OAAA;AACnB,2GAAA,WAAW,OAAA;AAuBX,gHAAA,gBAAgB,OAAA;AAChB,kHAAA,kBAAkB,OAAA;AAClB,gHAAA,gBAAgB,OAAA;AAChB,8GAAA,cAAc,OAAA;AACd,yGAAA,SAAS,OAAA;AACT,iHAAA,iBAAiB,OAAA"}
|
|
@@ -6,6 +6,56 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { Awaited } from "../awaited-type";
|
|
8
8
|
import { customClient } from "../custom-client";
|
|
9
|
+
export declare type GetRegistrationsParams = {
|
|
10
|
+
/**
|
|
11
|
+
* Event id being registered for
|
|
12
|
+
*/
|
|
13
|
+
eventId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* ArcGIS Online id for a user
|
|
16
|
+
*/
|
|
17
|
+
userId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* comma separated string list of registration roles
|
|
20
|
+
*/
|
|
21
|
+
role?: string;
|
|
22
|
+
/**
|
|
23
|
+
* comma separated string list of registration statuses
|
|
24
|
+
*/
|
|
25
|
+
status?: string;
|
|
26
|
+
/**
|
|
27
|
+
* comma separated string list of registration types
|
|
28
|
+
*/
|
|
29
|
+
type?: string;
|
|
30
|
+
/**
|
|
31
|
+
* latest ISO8601 updatedAt for the registrations
|
|
32
|
+
*/
|
|
33
|
+
updatedAtBefore?: string;
|
|
34
|
+
/**
|
|
35
|
+
* earliest ISO8601 updatedAt for the registrations
|
|
36
|
+
*/
|
|
37
|
+
updatedAtAfter?: string;
|
|
38
|
+
/**
|
|
39
|
+
* filter to be matched to firstName, lastName, or username
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
/**
|
|
43
|
+
* the max amount of registrations to return
|
|
44
|
+
*/
|
|
45
|
+
num?: string;
|
|
46
|
+
/**
|
|
47
|
+
* the index to start at
|
|
48
|
+
*/
|
|
49
|
+
start?: string;
|
|
50
|
+
/**
|
|
51
|
+
* property to sort results by
|
|
52
|
+
*/
|
|
53
|
+
sortBy?: RegistrationSort;
|
|
54
|
+
/**
|
|
55
|
+
* sort order desc or asc
|
|
56
|
+
*/
|
|
57
|
+
sortOrder?: EventSortOrder;
|
|
58
|
+
};
|
|
9
59
|
export declare type GetEventsParams = {
|
|
10
60
|
/**
|
|
11
61
|
* Comma separated string list of EventAccess. Example: PRIVATE,ORG,PUBLIC
|
|
@@ -104,6 +154,24 @@ export declare enum RegistrationSort {
|
|
|
104
154
|
lastName = "lastName",
|
|
105
155
|
username = "username"
|
|
106
156
|
}
|
|
157
|
+
export interface ICreateRegistration {
|
|
158
|
+
/** ArcGIS Online id for a user. Will always be extracted from the token unless service token is used. */
|
|
159
|
+
agoId?: string;
|
|
160
|
+
/** Email for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
161
|
+
email?: string;
|
|
162
|
+
/** Event id being registered for */
|
|
163
|
+
eventId: string;
|
|
164
|
+
/** First name for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
165
|
+
firstName?: string;
|
|
166
|
+
/** Last name for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
167
|
+
lastName?: string;
|
|
168
|
+
/** Role of the user in the event */
|
|
169
|
+
role?: RegistrationRole;
|
|
170
|
+
/** Attendance type for this registration */
|
|
171
|
+
type: EventAttendanceType;
|
|
172
|
+
/** Username for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
173
|
+
username?: string;
|
|
174
|
+
}
|
|
107
175
|
export interface IUpdateEvent {
|
|
108
176
|
/** Access level of the event */
|
|
109
177
|
access?: EventAccess;
|
|
@@ -150,60 +218,15 @@ export interface IUpdateEvent {
|
|
|
150
218
|
/** Title of the event */
|
|
151
219
|
title?: string;
|
|
152
220
|
}
|
|
221
|
+
export interface IPagedEventResponse {
|
|
222
|
+
items: IEvent[];
|
|
223
|
+
nextStart: number;
|
|
224
|
+
total: number;
|
|
225
|
+
}
|
|
153
226
|
export declare enum EventSortOrder {
|
|
154
227
|
asc = "asc",
|
|
155
228
|
desc = "desc"
|
|
156
229
|
}
|
|
157
|
-
export declare type GetRegistrationsParams = {
|
|
158
|
-
/**
|
|
159
|
-
* Event id being registered for
|
|
160
|
-
*/
|
|
161
|
-
eventId?: string;
|
|
162
|
-
/**
|
|
163
|
-
* ArcGIS Online id for a user
|
|
164
|
-
*/
|
|
165
|
-
userId?: string;
|
|
166
|
-
/**
|
|
167
|
-
* comma separated string list of registration roles
|
|
168
|
-
*/
|
|
169
|
-
role?: string;
|
|
170
|
-
/**
|
|
171
|
-
* comma separated string list of registration statuses
|
|
172
|
-
*/
|
|
173
|
-
status?: string;
|
|
174
|
-
/**
|
|
175
|
-
* comma separated string list of registration types
|
|
176
|
-
*/
|
|
177
|
-
type?: string;
|
|
178
|
-
/**
|
|
179
|
-
* latest ISO8601 updatedAt for the registrations
|
|
180
|
-
*/
|
|
181
|
-
updatedAtBefore?: string;
|
|
182
|
-
/**
|
|
183
|
-
* earliest ISO8601 updatedAt for the registrations
|
|
184
|
-
*/
|
|
185
|
-
updatedAtAfter?: string;
|
|
186
|
-
/**
|
|
187
|
-
* filter to be matched to firstName, lastName, or username
|
|
188
|
-
*/
|
|
189
|
-
name?: string;
|
|
190
|
-
/**
|
|
191
|
-
* the max amount of registrations to return
|
|
192
|
-
*/
|
|
193
|
-
num?: string;
|
|
194
|
-
/**
|
|
195
|
-
* the index to start at
|
|
196
|
-
*/
|
|
197
|
-
start?: string;
|
|
198
|
-
/**
|
|
199
|
-
* property to sort results by
|
|
200
|
-
*/
|
|
201
|
-
sortBy?: RegistrationSort;
|
|
202
|
-
/**
|
|
203
|
-
* sort order desc or asc
|
|
204
|
-
*/
|
|
205
|
-
sortOrder?: EventSortOrder;
|
|
206
|
-
};
|
|
207
230
|
export declare enum EventSort {
|
|
208
231
|
title = "title",
|
|
209
232
|
startDateTime = "startDateTime",
|
|
@@ -223,79 +246,6 @@ export interface IEventPermission {
|
|
|
223
246
|
canSetStatusToCancelled: boolean;
|
|
224
247
|
canSetStatusToRemoved: boolean;
|
|
225
248
|
}
|
|
226
|
-
export declare enum RegistrationStatus {
|
|
227
|
-
PENDING = "PENDING",
|
|
228
|
-
ACCEPTED = "ACCEPTED",
|
|
229
|
-
DECLINED = "DECLINED",
|
|
230
|
-
BLOCKED = "BLOCKED"
|
|
231
|
-
}
|
|
232
|
-
export declare enum RegistrationRole {
|
|
233
|
-
OWNER = "OWNER",
|
|
234
|
-
ORGANIZER = "ORGANIZER",
|
|
235
|
-
ATTENDEE = "ATTENDEE"
|
|
236
|
-
}
|
|
237
|
-
export interface ICreateRegistration {
|
|
238
|
-
/** ArcGIS Online id for a user. Will always be extracted from the token unless service token is used. */
|
|
239
|
-
agoId?: string;
|
|
240
|
-
/** Email for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
241
|
-
email?: string;
|
|
242
|
-
/** Event id being registered for */
|
|
243
|
-
eventId: string;
|
|
244
|
-
/** First name for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
245
|
-
firstName?: string;
|
|
246
|
-
/** Last name for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
247
|
-
lastName?: string;
|
|
248
|
-
/** Role of the user in the event */
|
|
249
|
-
role?: RegistrationRole;
|
|
250
|
-
/** Attendance type for this registration */
|
|
251
|
-
type: EventAttendanceType;
|
|
252
|
-
/** Username for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
253
|
-
username?: string;
|
|
254
|
-
}
|
|
255
|
-
export declare enum EventStatus {
|
|
256
|
-
PLANNED = "PLANNED",
|
|
257
|
-
CANCELED = "CANCELED",
|
|
258
|
-
REMOVED = "REMOVED"
|
|
259
|
-
}
|
|
260
|
-
export interface IOnlineMeeting {
|
|
261
|
-
capacity: number | null;
|
|
262
|
-
createdAt: string;
|
|
263
|
-
details: string | null;
|
|
264
|
-
eventId: string;
|
|
265
|
-
updatedAt: string;
|
|
266
|
-
url: string;
|
|
267
|
-
}
|
|
268
|
-
export declare type IEventLocationGeometriesItem = {
|
|
269
|
-
[key: string]: any;
|
|
270
|
-
};
|
|
271
|
-
export interface IEventLocation {
|
|
272
|
-
addNum: string | null;
|
|
273
|
-
city: string | null;
|
|
274
|
-
cntryName: string | null;
|
|
275
|
-
eventId: string;
|
|
276
|
-
geometries: IEventLocationGeometriesItem[] | null;
|
|
277
|
-
id: number;
|
|
278
|
-
nbrhd: string | null;
|
|
279
|
-
placeAddr: string | null;
|
|
280
|
-
placeName: string | null;
|
|
281
|
-
postal: number | null;
|
|
282
|
-
region: string | null;
|
|
283
|
-
stDir: string | null;
|
|
284
|
-
stName: string | null;
|
|
285
|
-
stType: string | null;
|
|
286
|
-
subRegion: string | null;
|
|
287
|
-
}
|
|
288
|
-
export interface IUser {
|
|
289
|
-
agoId: string;
|
|
290
|
-
createdAt: string;
|
|
291
|
-
deleted: boolean;
|
|
292
|
-
email: string;
|
|
293
|
-
firstName: string;
|
|
294
|
-
lastName: string;
|
|
295
|
-
optedOut: boolean;
|
|
296
|
-
updatedAt: string;
|
|
297
|
-
username: string;
|
|
298
|
-
}
|
|
299
249
|
export interface IEvent {
|
|
300
250
|
access: EventAccess;
|
|
301
251
|
allDay: boolean;
|
|
@@ -331,10 +281,16 @@ export interface IEvent {
|
|
|
331
281
|
title: string;
|
|
332
282
|
updatedAt: string;
|
|
333
283
|
}
|
|
334
|
-
export
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
284
|
+
export declare enum RegistrationStatus {
|
|
285
|
+
PENDING = "PENDING",
|
|
286
|
+
ACCEPTED = "ACCEPTED",
|
|
287
|
+
DECLINED = "DECLINED",
|
|
288
|
+
BLOCKED = "BLOCKED"
|
|
289
|
+
}
|
|
290
|
+
export declare enum RegistrationRole {
|
|
291
|
+
OWNER = "OWNER",
|
|
292
|
+
ORGANIZER = "ORGANIZER",
|
|
293
|
+
ATTENDEE = "ATTENDEE"
|
|
338
294
|
}
|
|
339
295
|
export interface IRegistration {
|
|
340
296
|
createdAt: string;
|
|
@@ -351,6 +307,47 @@ export interface IRegistration {
|
|
|
351
307
|
user?: IUser;
|
|
352
308
|
userId: string;
|
|
353
309
|
}
|
|
310
|
+
export declare enum EventStatus {
|
|
311
|
+
PLANNED = "PLANNED",
|
|
312
|
+
CANCELED = "CANCELED",
|
|
313
|
+
REMOVED = "REMOVED"
|
|
314
|
+
}
|
|
315
|
+
export interface IOnlineMeeting {
|
|
316
|
+
capacity: number | null;
|
|
317
|
+
createdAt: string;
|
|
318
|
+
details: string | null;
|
|
319
|
+
eventId: string;
|
|
320
|
+
updatedAt: string;
|
|
321
|
+
url: string;
|
|
322
|
+
}
|
|
323
|
+
export declare type IEventLocationGeometriesItem = {
|
|
324
|
+
[key: string]: any;
|
|
325
|
+
};
|
|
326
|
+
export interface ILocationSpatialReference {
|
|
327
|
+
latestVcsWkid?: number;
|
|
328
|
+
latestWkid?: number;
|
|
329
|
+
latestWkt?: string;
|
|
330
|
+
vcsWkid?: number;
|
|
331
|
+
wkid?: number;
|
|
332
|
+
wkt?: string;
|
|
333
|
+
}
|
|
334
|
+
export declare type IEventLocationSpatialReference = ILocationSpatialReference | null;
|
|
335
|
+
export interface IUser {
|
|
336
|
+
agoId: string;
|
|
337
|
+
createdAt: string;
|
|
338
|
+
deleted: boolean;
|
|
339
|
+
email: string;
|
|
340
|
+
firstName: string;
|
|
341
|
+
lastName: string;
|
|
342
|
+
optedOut: boolean;
|
|
343
|
+
updatedAt: string;
|
|
344
|
+
username: string;
|
|
345
|
+
}
|
|
346
|
+
export interface IEventAssociation {
|
|
347
|
+
entityId: string;
|
|
348
|
+
entityType: EventAssociationEntityType;
|
|
349
|
+
eventId: string;
|
|
350
|
+
}
|
|
354
351
|
export interface ICreateOnlineMeeting {
|
|
355
352
|
/** Capacity of the online meeting. Minimum value is 1 */
|
|
356
353
|
capacity?: number;
|
|
@@ -362,6 +359,40 @@ export interface ICreateOnlineMeeting {
|
|
|
362
359
|
export declare type ICreateEventLocationGeometriesItem = {
|
|
363
360
|
[key: string]: any;
|
|
364
361
|
};
|
|
362
|
+
export declare enum EventLocationType {
|
|
363
|
+
none = "none",
|
|
364
|
+
custom = "custom",
|
|
365
|
+
org = "org",
|
|
366
|
+
item = "item"
|
|
367
|
+
}
|
|
368
|
+
export interface IEventLocation {
|
|
369
|
+
addNum: string | null;
|
|
370
|
+
city: string | null;
|
|
371
|
+
cntryName: string | null;
|
|
372
|
+
eventId: string;
|
|
373
|
+
extent: number[][] | null;
|
|
374
|
+
geometries: IEventLocationGeometriesItem[] | null;
|
|
375
|
+
id: number;
|
|
376
|
+
nbrhd: string | null;
|
|
377
|
+
placeAddr: string | null;
|
|
378
|
+
placeName: string | null;
|
|
379
|
+
postal: number | null;
|
|
380
|
+
region: string | null;
|
|
381
|
+
spatialReference: IEventLocationSpatialReference;
|
|
382
|
+
stDir: string | null;
|
|
383
|
+
stName: string | null;
|
|
384
|
+
stType: string | null;
|
|
385
|
+
subRegion: string | null;
|
|
386
|
+
type: EventLocationType;
|
|
387
|
+
}
|
|
388
|
+
export interface ICreateLocationSpatialReference {
|
|
389
|
+
latestVcsWkid?: number;
|
|
390
|
+
latestWkid?: number;
|
|
391
|
+
latestWkt?: string;
|
|
392
|
+
vcsWkid?: number;
|
|
393
|
+
wkid?: number;
|
|
394
|
+
wkt?: string;
|
|
395
|
+
}
|
|
365
396
|
export interface ICreateEventLocation {
|
|
366
397
|
/** Address number */
|
|
367
398
|
addNum?: string;
|
|
@@ -369,6 +400,8 @@ export interface ICreateEventLocation {
|
|
|
369
400
|
city?: string;
|
|
370
401
|
/** Country name */
|
|
371
402
|
cntryName?: string;
|
|
403
|
+
/** 2D array of numbers */
|
|
404
|
+
extent?: number[][];
|
|
372
405
|
/** Array of esri geometry objects */
|
|
373
406
|
geometries?: ICreateEventLocationGeometriesItem[];
|
|
374
407
|
/** Neighborhood */
|
|
@@ -381,6 +414,8 @@ export interface ICreateEventLocation {
|
|
|
381
414
|
postal?: number;
|
|
382
415
|
/** Region */
|
|
383
416
|
region?: string;
|
|
417
|
+
/** Spatial reference */
|
|
418
|
+
spatialReference?: ICreateLocationSpatialReference;
|
|
384
419
|
/** Street direction */
|
|
385
420
|
stDir?: string;
|
|
386
421
|
/** Street name */
|
|
@@ -389,6 +424,8 @@ export interface ICreateEventLocation {
|
|
|
389
424
|
stType?: string;
|
|
390
425
|
/** Sub region */
|
|
391
426
|
subRegion?: string;
|
|
427
|
+
/** Location type */
|
|
428
|
+
type: EventLocationType;
|
|
392
429
|
}
|
|
393
430
|
export declare enum EventAttendanceType {
|
|
394
431
|
VIRTUAL = "VIRTUAL",
|
|
@@ -399,11 +436,6 @@ export declare enum EventAssociationEntityType {
|
|
|
399
436
|
Hub_Initiative = "Hub Initiative",
|
|
400
437
|
Hub_Project = "Hub Project"
|
|
401
438
|
}
|
|
402
|
-
export interface IEventAssociation {
|
|
403
|
-
entityId: string;
|
|
404
|
-
entityType: EventAssociationEntityType;
|
|
405
|
-
eventId: string;
|
|
406
|
-
}
|
|
407
439
|
export interface ICreateEventAssociation {
|
|
408
440
|
/** Entity Id */
|
|
409
441
|
entityId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { EventAssociationEntityType, EventAccess, EventAttendanceType, EventStatus, GetEventsParams, IEventAssociation, ICreateEventAssociation, IOnlineMeeting, ICreateOnlineMeeting, ICreateEvent, ICreateRegistration, IEvent, IEventPermission, IEventLocation, IEventLocationGeometriesItem, ICreateEventLocation, ICreateEventLocationGeometriesItem, IRegistration, IRegistrationPermission, IUpdateEvent, IUpdateRegistration, GetRegistrationsParams, IUser, RegistrationRole, RegistrationStatus, RegistrationSort, EventSortOrder, EventSort, IPagedRegistrationResponse, IPagedEventResponse, } from "./orval/api/orval-events";
|
|
1
|
+
export { EventAssociationEntityType, EventAccess, EventAttendanceType, EventStatus, GetEventsParams, IEventAssociation, ICreateEventAssociation, IOnlineMeeting, ICreateOnlineMeeting, ICreateEvent, ICreateRegistration, IEvent, IEventPermission, IEventLocation, IEventLocationGeometriesItem, ILocationSpatialReference, IEventLocationSpatialReference, ICreateLocationSpatialReference, ICreateEventLocation, ICreateEventLocationGeometriesItem, IRegistration, IRegistrationPermission, IUpdateEvent, IUpdateRegistration, GetRegistrationsParams, IUser, RegistrationRole, RegistrationStatus, RegistrationSort, EventSortOrder, EventSort, EventLocationType, IPagedRegistrationResponse, IPagedEventResponse, } from "./orval/api/orval-events";
|
|
2
2
|
import { IHubRequestOptions } from "../../types";
|
|
3
3
|
import { ICreateEvent, IUpdateEvent, GetEventsParams, ICreateRegistration, IUpdateRegistration, GetRegistrationsParams } from "./orval/api/orval-events";
|
|
4
4
|
/**
|