@esri/hub-common 14.140.0 → 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 +195 -159
- 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,71 +6,101 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { Awaited } from "../awaited-type";
|
|
8
8
|
import { customClient } from "../custom-client";
|
|
9
|
-
export declare type
|
|
9
|
+
export declare type GetRegistrationsParams = {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Event id being registered for
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
eventId?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* ArcGIS Online id for a user
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
userId?: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* comma separated string list of registration roles
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
role?: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* comma separated string list of registration statuses
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
status?: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* comma separated string list of registration types
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
type?: string;
|
|
30
30
|
/**
|
|
31
|
-
* latest ISO8601
|
|
31
|
+
* latest ISO8601 updatedAt for the registrations
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
updatedAtBefore?: string;
|
|
34
34
|
/**
|
|
35
|
-
* earliest ISO8601
|
|
35
|
+
* earliest ISO8601 updatedAt for the registrations
|
|
36
36
|
*/
|
|
37
|
-
|
|
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
|
+
};
|
|
59
|
+
export declare type GetEventsParams = {
|
|
60
|
+
/**
|
|
61
|
+
* Comma separated string list of EventAccess. Example: PRIVATE,ORG,PUBLIC
|
|
62
|
+
*/
|
|
63
|
+
access?: string;
|
|
38
64
|
/**
|
|
39
65
|
* Comma separated string list of AttendanceTypes. Example: VIRTUAL,IN_PERSON
|
|
40
66
|
*/
|
|
41
67
|
attendanceTypes?: string;
|
|
68
|
+
/**
|
|
69
|
+
* boolean to filter events that can be edited by the user
|
|
70
|
+
*/
|
|
71
|
+
canEdit?: string;
|
|
42
72
|
/**
|
|
43
73
|
* Comma separated string list of categories
|
|
44
74
|
*/
|
|
45
75
|
categories?: string;
|
|
46
76
|
/**
|
|
47
|
-
*
|
|
77
|
+
* Comma separated string list of edit groupIds
|
|
48
78
|
*/
|
|
49
|
-
|
|
79
|
+
editGroups?: string;
|
|
50
80
|
/**
|
|
51
|
-
* Comma separated string list of
|
|
81
|
+
* Comma separated string list of associated entityIds
|
|
52
82
|
*/
|
|
53
|
-
|
|
83
|
+
entityIds?: string;
|
|
54
84
|
/**
|
|
55
|
-
* string
|
|
85
|
+
* Comma separated string list of associated entity types. Example: Hub Site Application,Hub Initiative,Hub Project
|
|
56
86
|
*/
|
|
57
|
-
|
|
87
|
+
entityTypes?: string;
|
|
58
88
|
/**
|
|
59
|
-
* Comma separated string list of
|
|
89
|
+
* Comma separated string list of event ids
|
|
60
90
|
*/
|
|
61
|
-
|
|
91
|
+
eventIds?: string;
|
|
62
92
|
/**
|
|
63
|
-
* Comma separated string list of
|
|
93
|
+
* Comma separated string list of relation fields to include in response. Example: associations,creator,location,onlineMeetings,registrations
|
|
64
94
|
*/
|
|
65
|
-
|
|
95
|
+
include?: string;
|
|
66
96
|
/**
|
|
67
97
|
* the max amount of events to return
|
|
68
98
|
*/
|
|
69
99
|
num?: string;
|
|
70
100
|
/**
|
|
71
|
-
*
|
|
101
|
+
* Comma separated string list of read groupIds
|
|
72
102
|
*/
|
|
73
|
-
|
|
103
|
+
readGroups?: string;
|
|
74
104
|
/**
|
|
75
105
|
* Event property to sort results by
|
|
76
106
|
*/
|
|
@@ -79,6 +109,30 @@ export declare type GetEventsParams = {
|
|
|
79
109
|
* sort results order desc or asc
|
|
80
110
|
*/
|
|
81
111
|
sortOrder?: EventSortOrder;
|
|
112
|
+
/**
|
|
113
|
+
* the index to start at
|
|
114
|
+
*/
|
|
115
|
+
start?: string;
|
|
116
|
+
/**
|
|
117
|
+
* earliest ISO8601 start date-time for the events
|
|
118
|
+
*/
|
|
119
|
+
startDateTimeAfter?: string;
|
|
120
|
+
/**
|
|
121
|
+
* latest ISO8601 start date-time for the events
|
|
122
|
+
*/
|
|
123
|
+
startDateTimeBefore?: string;
|
|
124
|
+
/**
|
|
125
|
+
* comma separated string list of event statuses. Example: PRIVATE,ORG,PUBLIC
|
|
126
|
+
*/
|
|
127
|
+
status?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Comma separated string list of tags
|
|
130
|
+
*/
|
|
131
|
+
tags?: string;
|
|
132
|
+
/**
|
|
133
|
+
* string to match within an event title
|
|
134
|
+
*/
|
|
135
|
+
title?: string;
|
|
82
136
|
};
|
|
83
137
|
export interface IUpdateRegistration {
|
|
84
138
|
/** Role of the user in the event */
|
|
@@ -100,6 +154,24 @@ export declare enum RegistrationSort {
|
|
|
100
154
|
lastName = "lastName",
|
|
101
155
|
username = "username"
|
|
102
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
|
+
}
|
|
103
175
|
export interface IUpdateEvent {
|
|
104
176
|
/** Access level of the event */
|
|
105
177
|
access?: EventAccess;
|
|
@@ -146,60 +218,15 @@ export interface IUpdateEvent {
|
|
|
146
218
|
/** Title of the event */
|
|
147
219
|
title?: string;
|
|
148
220
|
}
|
|
221
|
+
export interface IPagedEventResponse {
|
|
222
|
+
items: IEvent[];
|
|
223
|
+
nextStart: number;
|
|
224
|
+
total: number;
|
|
225
|
+
}
|
|
149
226
|
export declare enum EventSortOrder {
|
|
150
227
|
asc = "asc",
|
|
151
228
|
desc = "desc"
|
|
152
229
|
}
|
|
153
|
-
export declare type GetRegistrationsParams = {
|
|
154
|
-
/**
|
|
155
|
-
* Event id being registered for
|
|
156
|
-
*/
|
|
157
|
-
eventId?: string;
|
|
158
|
-
/**
|
|
159
|
-
* ArcGIS Online id for a user
|
|
160
|
-
*/
|
|
161
|
-
userId?: string;
|
|
162
|
-
/**
|
|
163
|
-
* comma separated string list of registration roles
|
|
164
|
-
*/
|
|
165
|
-
role?: string;
|
|
166
|
-
/**
|
|
167
|
-
* comma separated string list of registration statuses
|
|
168
|
-
*/
|
|
169
|
-
status?: string;
|
|
170
|
-
/**
|
|
171
|
-
* comma separated string list of registration types
|
|
172
|
-
*/
|
|
173
|
-
type?: string;
|
|
174
|
-
/**
|
|
175
|
-
* latest ISO8601 updatedAt for the registrations
|
|
176
|
-
*/
|
|
177
|
-
updatedAtBefore?: string;
|
|
178
|
-
/**
|
|
179
|
-
* earliest ISO8601 updatedAt for the registrations
|
|
180
|
-
*/
|
|
181
|
-
updatedAtAfter?: string;
|
|
182
|
-
/**
|
|
183
|
-
* filter to be matched to firstName, lastName, or username
|
|
184
|
-
*/
|
|
185
|
-
name?: string;
|
|
186
|
-
/**
|
|
187
|
-
* the max amount of registrations to return
|
|
188
|
-
*/
|
|
189
|
-
num?: string;
|
|
190
|
-
/**
|
|
191
|
-
* the index to start at
|
|
192
|
-
*/
|
|
193
|
-
start?: string;
|
|
194
|
-
/**
|
|
195
|
-
* property to sort results by
|
|
196
|
-
*/
|
|
197
|
-
sortBy?: RegistrationSort;
|
|
198
|
-
/**
|
|
199
|
-
* sort order desc or asc
|
|
200
|
-
*/
|
|
201
|
-
sortOrder?: EventSortOrder;
|
|
202
|
-
};
|
|
203
230
|
export declare enum EventSort {
|
|
204
231
|
title = "title",
|
|
205
232
|
startDateTime = "startDateTime",
|
|
@@ -219,79 +246,6 @@ export interface IEventPermission {
|
|
|
219
246
|
canSetStatusToCancelled: boolean;
|
|
220
247
|
canSetStatusToRemoved: boolean;
|
|
221
248
|
}
|
|
222
|
-
export declare enum RegistrationStatus {
|
|
223
|
-
PENDING = "PENDING",
|
|
224
|
-
ACCEPTED = "ACCEPTED",
|
|
225
|
-
DECLINED = "DECLINED",
|
|
226
|
-
BLOCKED = "BLOCKED"
|
|
227
|
-
}
|
|
228
|
-
export declare enum RegistrationRole {
|
|
229
|
-
OWNER = "OWNER",
|
|
230
|
-
ORGANIZER = "ORGANIZER",
|
|
231
|
-
ATTENDEE = "ATTENDEE"
|
|
232
|
-
}
|
|
233
|
-
export interface ICreateRegistration {
|
|
234
|
-
/** ArcGIS Online id for a user. Will always be extracted from the token unless service token is used. */
|
|
235
|
-
agoId?: string;
|
|
236
|
-
/** Email for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
237
|
-
email?: string;
|
|
238
|
-
/** Event id being registered for */
|
|
239
|
-
eventId: string;
|
|
240
|
-
/** First name for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
241
|
-
firstName?: string;
|
|
242
|
-
/** Last name for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
243
|
-
lastName?: string;
|
|
244
|
-
/** Role of the user in the event */
|
|
245
|
-
role?: RegistrationRole;
|
|
246
|
-
/** Attendance type for this registration */
|
|
247
|
-
type: EventAttendanceType;
|
|
248
|
-
/** Username for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
249
|
-
username?: string;
|
|
250
|
-
}
|
|
251
|
-
export declare enum EventStatus {
|
|
252
|
-
PLANNED = "PLANNED",
|
|
253
|
-
CANCELED = "CANCELED",
|
|
254
|
-
REMOVED = "REMOVED"
|
|
255
|
-
}
|
|
256
|
-
export interface IOnlineMeeting {
|
|
257
|
-
capacity: number | null;
|
|
258
|
-
createdAt: string;
|
|
259
|
-
details: string | null;
|
|
260
|
-
eventId: string;
|
|
261
|
-
updatedAt: string;
|
|
262
|
-
url: string;
|
|
263
|
-
}
|
|
264
|
-
export declare type IEventLocationGeometriesItem = {
|
|
265
|
-
[key: string]: any;
|
|
266
|
-
};
|
|
267
|
-
export interface IEventLocation {
|
|
268
|
-
addNum: string | null;
|
|
269
|
-
city: string | null;
|
|
270
|
-
cntryName: string | null;
|
|
271
|
-
eventId: string;
|
|
272
|
-
geometries: IEventLocationGeometriesItem[] | null;
|
|
273
|
-
id: number;
|
|
274
|
-
nbrhd: string | null;
|
|
275
|
-
placeAddr: string | null;
|
|
276
|
-
placeName: string | null;
|
|
277
|
-
postal: number | null;
|
|
278
|
-
region: string | null;
|
|
279
|
-
stDir: string | null;
|
|
280
|
-
stName: string | null;
|
|
281
|
-
stType: string | null;
|
|
282
|
-
subRegion: string | null;
|
|
283
|
-
}
|
|
284
|
-
export interface IUser {
|
|
285
|
-
agoId: string;
|
|
286
|
-
createdAt: string;
|
|
287
|
-
deleted: boolean;
|
|
288
|
-
email: string;
|
|
289
|
-
firstName: string;
|
|
290
|
-
lastName: string;
|
|
291
|
-
optedOut: boolean;
|
|
292
|
-
updatedAt: string;
|
|
293
|
-
username: string;
|
|
294
|
-
}
|
|
295
249
|
export interface IEvent {
|
|
296
250
|
access: EventAccess;
|
|
297
251
|
allDay: boolean;
|
|
@@ -327,10 +281,16 @@ export interface IEvent {
|
|
|
327
281
|
title: string;
|
|
328
282
|
updatedAt: string;
|
|
329
283
|
}
|
|
330
|
-
export
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
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"
|
|
334
294
|
}
|
|
335
295
|
export interface IRegistration {
|
|
336
296
|
createdAt: string;
|
|
@@ -347,6 +307,47 @@ export interface IRegistration {
|
|
|
347
307
|
user?: IUser;
|
|
348
308
|
userId: string;
|
|
349
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
|
+
}
|
|
350
351
|
export interface ICreateOnlineMeeting {
|
|
351
352
|
/** Capacity of the online meeting. Minimum value is 1 */
|
|
352
353
|
capacity?: number;
|
|
@@ -358,6 +359,40 @@ export interface ICreateOnlineMeeting {
|
|
|
358
359
|
export declare type ICreateEventLocationGeometriesItem = {
|
|
359
360
|
[key: string]: any;
|
|
360
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
|
+
}
|
|
361
396
|
export interface ICreateEventLocation {
|
|
362
397
|
/** Address number */
|
|
363
398
|
addNum?: string;
|
|
@@ -365,6 +400,8 @@ export interface ICreateEventLocation {
|
|
|
365
400
|
city?: string;
|
|
366
401
|
/** Country name */
|
|
367
402
|
cntryName?: string;
|
|
403
|
+
/** 2D array of numbers */
|
|
404
|
+
extent?: number[][];
|
|
368
405
|
/** Array of esri geometry objects */
|
|
369
406
|
geometries?: ICreateEventLocationGeometriesItem[];
|
|
370
407
|
/** Neighborhood */
|
|
@@ -377,6 +414,8 @@ export interface ICreateEventLocation {
|
|
|
377
414
|
postal?: number;
|
|
378
415
|
/** Region */
|
|
379
416
|
region?: string;
|
|
417
|
+
/** Spatial reference */
|
|
418
|
+
spatialReference?: ICreateLocationSpatialReference;
|
|
380
419
|
/** Street direction */
|
|
381
420
|
stDir?: string;
|
|
382
421
|
/** Street name */
|
|
@@ -385,6 +424,8 @@ export interface ICreateEventLocation {
|
|
|
385
424
|
stType?: string;
|
|
386
425
|
/** Sub region */
|
|
387
426
|
subRegion?: string;
|
|
427
|
+
/** Location type */
|
|
428
|
+
type: EventLocationType;
|
|
388
429
|
}
|
|
389
430
|
export declare enum EventAttendanceType {
|
|
390
431
|
VIRTUAL = "VIRTUAL",
|
|
@@ -395,11 +436,6 @@ export declare enum EventAssociationEntityType {
|
|
|
395
436
|
Hub_Initiative = "Hub Initiative",
|
|
396
437
|
Hub_Project = "Hub Project"
|
|
397
438
|
}
|
|
398
|
-
export interface IEventAssociation {
|
|
399
|
-
entityId: string;
|
|
400
|
-
entityType: EventAssociationEntityType;
|
|
401
|
-
eventId: string;
|
|
402
|
-
}
|
|
403
439
|
export interface ICreateEventAssociation {
|
|
404
440
|
/** Entity Id */
|
|
405
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
|
/**
|