@esri/hub-common 14.125.1 → 14.125.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 +6 -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 +7 -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 +163 -130
- package/dist/types/events/api/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -43,6 +43,12 @@ export var EventAttendanceType;
|
|
|
43
43
|
EventAttendanceType["VIRTUAL"] = "VIRTUAL";
|
|
44
44
|
EventAttendanceType["IN_PERSON"] = "IN_PERSON";
|
|
45
45
|
})(EventAttendanceType || (EventAttendanceType = {}));
|
|
46
|
+
export var AssociationEntityType;
|
|
47
|
+
(function (AssociationEntityType) {
|
|
48
|
+
AssociationEntityType["Hub_Site_Application"] = "Hub Site Application";
|
|
49
|
+
AssociationEntityType["Hub_Initiative"] = "Hub Initiative";
|
|
50
|
+
AssociationEntityType["Hub_Project"] = "Hub Project";
|
|
51
|
+
})(AssociationEntityType || (AssociationEntityType = {}));
|
|
46
52
|
export var EventAccess;
|
|
47
53
|
(function (EventAccess) {
|
|
48
54
|
EventAccess["PRIVATE"] = "PRIVATE";
|
|
@@ -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,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AAG,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 { EventAccess, EventAttendanceType, EventStatus, RegistrationRole, RegistrationStatus, RegistrationSort, SortOrder, EventSort, } from "./orval/api/orval-events";
|
|
1
|
+
export { AssociationEntityType, EventAccess, EventAttendanceType, EventStatus, RegistrationRole, RegistrationStatus, RegistrationSort, SortOrder, EventSort, } 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,WAAW,EACX,mBAAmB,EACnB,WAAW,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/events/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,WAAW,EAuBX,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,SAAS,GAGV,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.EventAttendanceType = exports.EventStatus = exports.RegistrationRole = exports.RegistrationStatus = exports.EventSort = exports.SortOrder = 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.AssociationEntityType = exports.EventAttendanceType = exports.EventStatus = exports.RegistrationRole = exports.RegistrationStatus = exports.EventSort = exports.SortOrder = exports.RegistrationSort = void 0;
|
|
4
4
|
const custom_client_1 = require("../custom-client");
|
|
5
5
|
var RegistrationSort;
|
|
6
6
|
(function (RegistrationSort) {
|
|
@@ -46,6 +46,12 @@ var EventAttendanceType;
|
|
|
46
46
|
EventAttendanceType["VIRTUAL"] = "VIRTUAL";
|
|
47
47
|
EventAttendanceType["IN_PERSON"] = "IN_PERSON";
|
|
48
48
|
})(EventAttendanceType = exports.EventAttendanceType || (exports.EventAttendanceType = {}));
|
|
49
|
+
var AssociationEntityType;
|
|
50
|
+
(function (AssociationEntityType) {
|
|
51
|
+
AssociationEntityType["Hub_Site_Application"] = "Hub Site Application";
|
|
52
|
+
AssociationEntityType["Hub_Initiative"] = "Hub Initiative";
|
|
53
|
+
AssociationEntityType["Hub_Project"] = "Hub Project";
|
|
54
|
+
})(AssociationEntityType = exports.AssociationEntityType || (exports.AssociationEntityType = {}));
|
|
49
55
|
var EventAccess;
|
|
50
56
|
(function (EventAccess) {
|
|
51
57
|
EventAccess["PRIVATE"] = "PRIVATE";
|
|
@@ -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;AAkIhD,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,2CAAuB,CAAA;IACvB,2CAAuB,CAAA;IACvB,yCAAqB,CAAA;IACrB,yCAAqB,CAAA;AACvB,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAw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AE;IACF,OAAO,4BAAY,CACjB;QACE,GAAG,EAAE,8BAA8B;QACnC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,mBAAmB;KAC1B,EACD,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,gBAAgB,GAAG,CAC9B,MAA+B,EAC/B,OAA8C,EAC9C,EAAE;IACF,OAAO,4BAAY,CACjB,EAAE,GAAG,EAAE,8BAA8B,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAC9D,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,eAAe,GAAG,CAC7B,EAAU,EACV,OAA8C,EAC9C,EAAE;IACF,OAAO,4BAAY,CACjB,EAAE,GAAG,EAAE,gCAAgC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC5D,OAAO,CACR,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,kBAAkB,GAAG,CAChC,EAAU,EACV,mBAAwC,EACxC,OAA8C,EAC9C,EAAE;IACF,OAAO,4BAAY,CACjB;QACE,GAAG,EAAE,gCAAgC,EAAE,EAAE;QACzC,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,mBAAmB;KAC1B,EACD,OAAO,CACR,CAAC;AACJ,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"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var orval_events_1 = require("./orval/api/orval-events");
|
|
4
|
+
Object.defineProperty(exports, "AssociationEntityType", { enumerable: true, get: function () { return orval_events_1.AssociationEntityType; } });
|
|
4
5
|
Object.defineProperty(exports, "EventAccess", { enumerable: true, get: function () { return orval_events_1.EventAccess; } });
|
|
5
6
|
Object.defineProperty(exports, "EventAttendanceType", { enumerable: true, get: function () { return orval_events_1.EventAttendanceType; } });
|
|
6
7
|
Object.defineProperty(exports, "EventStatus", { enumerable: true, get: function () { return orval_events_1.EventStatus; } });
|
|
@@ -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,yDAkCkC;AAjChC,qHAAA,qBAAqB,OAAA;AACrB,2GAAA,WAAW,OAAA;AACX,mHAAA,mBAAmB,OAAA;AACnB,2GAAA,WAAW,OAAA;AAuBX,gHAAA,gBAAgB,OAAA;AAChB,kHAAA,kBAAkB,OAAA;AAClB,gHAAA,gBAAgB,OAAA;AAChB,yGAAA,SAAS,OAAA;AACT,yGAAA,SAAS,OAAA"}
|
|
@@ -6,18 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { Awaited } from "../awaited-type";
|
|
8
8
|
import { customClient } from "../custom-client";
|
|
9
|
-
export interface IPagedRegistrationResponse {
|
|
10
|
-
items: IRegistration[];
|
|
11
|
-
nextStart: number;
|
|
12
|
-
total: number;
|
|
13
|
-
}
|
|
14
|
-
export declare enum RegistrationSort {
|
|
15
|
-
createdAt = "createdAt",
|
|
16
|
-
updatedAt = "updatedAt",
|
|
17
|
-
firstName = "firstName",
|
|
18
|
-
lastName = "lastName",
|
|
19
|
-
username = "username"
|
|
20
|
-
}
|
|
21
9
|
export declare type GetRegistrationsParams = {
|
|
22
10
|
/**
|
|
23
11
|
* Event id being registered for
|
|
@@ -47,6 +35,10 @@ export declare type GetRegistrationsParams = {
|
|
|
47
35
|
* earliest ISO8601 updatedAt for the registrations
|
|
48
36
|
*/
|
|
49
37
|
updatedAtAfter?: string;
|
|
38
|
+
/**
|
|
39
|
+
* filter to be matched to firstName, lastName, or username
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
50
42
|
/**
|
|
51
43
|
* the max amount of registrations to return
|
|
52
44
|
*/
|
|
@@ -64,6 +56,88 @@ export declare type GetRegistrationsParams = {
|
|
|
64
56
|
*/
|
|
65
57
|
sortOrder?: SortOrder;
|
|
66
58
|
};
|
|
59
|
+
export declare type GetEventsParams = {
|
|
60
|
+
/**
|
|
61
|
+
* Comma separated string list of EventAccess
|
|
62
|
+
*/
|
|
63
|
+
access?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Comma separated string list of associated entityIds
|
|
66
|
+
*/
|
|
67
|
+
entityIds?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Comma separated string list of associated entity types
|
|
70
|
+
*/
|
|
71
|
+
entityTypes?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Comma separated string list of relation fields to include in response
|
|
74
|
+
*/
|
|
75
|
+
include?: string;
|
|
76
|
+
/**
|
|
77
|
+
* latest ISO8601 start date-time for the events
|
|
78
|
+
*/
|
|
79
|
+
startDateTimeBefore?: string;
|
|
80
|
+
/**
|
|
81
|
+
* earliest ISO8601 start date-time for the events
|
|
82
|
+
*/
|
|
83
|
+
startDateTimeAfter?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Comma separated string list of AttendanceTypes
|
|
86
|
+
*/
|
|
87
|
+
attendanceTypes?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Comma separated string list of categories
|
|
90
|
+
*/
|
|
91
|
+
categories?: string;
|
|
92
|
+
/**
|
|
93
|
+
* comma separated string list of event statuses
|
|
94
|
+
*/
|
|
95
|
+
status?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Comma separated string list of tags
|
|
98
|
+
*/
|
|
99
|
+
tags?: string;
|
|
100
|
+
/**
|
|
101
|
+
* string to match within an event title
|
|
102
|
+
*/
|
|
103
|
+
title?: string;
|
|
104
|
+
/**
|
|
105
|
+
* the max amount of events to return
|
|
106
|
+
*/
|
|
107
|
+
num?: string;
|
|
108
|
+
/**
|
|
109
|
+
* the index to start at
|
|
110
|
+
*/
|
|
111
|
+
start?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Event property to sort results by
|
|
114
|
+
*/
|
|
115
|
+
sortBy?: EventSort;
|
|
116
|
+
/**
|
|
117
|
+
* sort results order desc or asc
|
|
118
|
+
*/
|
|
119
|
+
sortOrder?: SortOrder;
|
|
120
|
+
};
|
|
121
|
+
export interface IUpdateRegistration {
|
|
122
|
+
/** Role of the user in the event */
|
|
123
|
+
role?: RegistrationRole;
|
|
124
|
+
/** Status of the registration */
|
|
125
|
+
status?: RegistrationStatus;
|
|
126
|
+
/** Attendance type for this registration */
|
|
127
|
+
type?: EventAttendanceType;
|
|
128
|
+
}
|
|
129
|
+
export interface IPagedRegistrationResponse {
|
|
130
|
+
items: IRegistration[];
|
|
131
|
+
nextStart: number;
|
|
132
|
+
total: number;
|
|
133
|
+
}
|
|
134
|
+
export declare enum RegistrationSort {
|
|
135
|
+
createdAt = "createdAt",
|
|
136
|
+
updatedAt = "updatedAt",
|
|
137
|
+
firstName = "firstName",
|
|
138
|
+
lastName = "lastName",
|
|
139
|
+
username = "username"
|
|
140
|
+
}
|
|
67
141
|
export interface ICreateRegistration {
|
|
68
142
|
/** ArcGIS Online id for a user. Will always be extracted from the token unless service token is used. */
|
|
69
143
|
agoId?: string;
|
|
@@ -97,6 +171,8 @@ export interface IUpdateEvent {
|
|
|
97
171
|
allDay?: boolean;
|
|
98
172
|
/** Boolean to indicate if users can register for an event */
|
|
99
173
|
allowRegistration?: boolean;
|
|
174
|
+
/** Items associated with the event */
|
|
175
|
+
associations?: ICreateAssociation[];
|
|
100
176
|
/** Valid ways to attend the event */
|
|
101
177
|
attendanceType?: EventAttendanceType[];
|
|
102
178
|
/** categories for the event */
|
|
@@ -132,11 +208,6 @@ export interface IUpdateEvent {
|
|
|
132
208
|
/** Title of the event */
|
|
133
209
|
title?: string;
|
|
134
210
|
}
|
|
135
|
-
export interface IPagedEventResponse {
|
|
136
|
-
items: IEvent[];
|
|
137
|
-
nextStart: number;
|
|
138
|
-
total: number;
|
|
139
|
-
}
|
|
140
211
|
export declare enum SortOrder {
|
|
141
212
|
asc = "asc",
|
|
142
213
|
desc = "desc"
|
|
@@ -147,60 +218,6 @@ export declare enum EventSort {
|
|
|
147
218
|
createdAt = "createdAt",
|
|
148
219
|
updatedAt = "updatedAt"
|
|
149
220
|
}
|
|
150
|
-
export declare type GetEventsParams = {
|
|
151
|
-
/**
|
|
152
|
-
* Comma separated string list of EventAccess
|
|
153
|
-
*/
|
|
154
|
-
access?: string;
|
|
155
|
-
/**
|
|
156
|
-
* Comma separated string list of relation fields to include in response
|
|
157
|
-
*/
|
|
158
|
-
include?: string;
|
|
159
|
-
/**
|
|
160
|
-
* latest ISO8601 start date-time for the events
|
|
161
|
-
*/
|
|
162
|
-
startDateTimeBefore?: string;
|
|
163
|
-
/**
|
|
164
|
-
* earliest ISO8601 start date-time for the events
|
|
165
|
-
*/
|
|
166
|
-
startDateTimeAfter?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Comma separated string list of AttendanceTypes
|
|
169
|
-
*/
|
|
170
|
-
attendanceTypes?: string;
|
|
171
|
-
/**
|
|
172
|
-
* Comma separated string list of categories
|
|
173
|
-
*/
|
|
174
|
-
categories?: string;
|
|
175
|
-
/**
|
|
176
|
-
* comma separated string list of event statuses
|
|
177
|
-
*/
|
|
178
|
-
status?: string;
|
|
179
|
-
/**
|
|
180
|
-
* Comma separated string list of tags
|
|
181
|
-
*/
|
|
182
|
-
tags?: string;
|
|
183
|
-
/**
|
|
184
|
-
* string to match within an event title
|
|
185
|
-
*/
|
|
186
|
-
title?: string;
|
|
187
|
-
/**
|
|
188
|
-
* the max amount of events to return
|
|
189
|
-
*/
|
|
190
|
-
num?: string;
|
|
191
|
-
/**
|
|
192
|
-
* the index to start at
|
|
193
|
-
*/
|
|
194
|
-
start?: string;
|
|
195
|
-
/**
|
|
196
|
-
* Event property to sort results by
|
|
197
|
-
*/
|
|
198
|
-
sortBy?: EventSort;
|
|
199
|
-
/**
|
|
200
|
-
* sort results order desc or asc
|
|
201
|
-
*/
|
|
202
|
-
sortOrder?: SortOrder;
|
|
203
|
-
};
|
|
204
221
|
export interface IRegistrationPermission {
|
|
205
222
|
canDelete: boolean;
|
|
206
223
|
canEdit: boolean;
|
|
@@ -220,11 +237,52 @@ export interface IEventPermission {
|
|
|
220
237
|
canSetStatusToCancelled: boolean;
|
|
221
238
|
canSetStatusToRemoved: boolean;
|
|
222
239
|
}
|
|
240
|
+
export declare enum RegistrationStatus {
|
|
241
|
+
PENDING = "PENDING",
|
|
242
|
+
ACCEPTED = "ACCEPTED",
|
|
243
|
+
DECLINED = "DECLINED",
|
|
244
|
+
BLOCKED = "BLOCKED"
|
|
245
|
+
}
|
|
246
|
+
export declare enum RegistrationRole {
|
|
247
|
+
OWNER = "OWNER",
|
|
248
|
+
ORGANIZER = "ORGANIZER",
|
|
249
|
+
ATTENDEE = "ATTENDEE"
|
|
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 interface IUser {
|
|
265
|
+
agoId: string;
|
|
266
|
+
createdAt: string;
|
|
267
|
+
deleted: boolean;
|
|
268
|
+
email: string;
|
|
269
|
+
firstName: string;
|
|
270
|
+
lastName: string;
|
|
271
|
+
optedOut: boolean;
|
|
272
|
+
updatedAt: string;
|
|
273
|
+
username: string;
|
|
274
|
+
}
|
|
275
|
+
export interface IAssociation {
|
|
276
|
+
entityId: string;
|
|
277
|
+
entityType: AssociationEntityType;
|
|
278
|
+
eventId: string;
|
|
279
|
+
}
|
|
223
280
|
export interface IEvent {
|
|
224
281
|
access: EventAccess;
|
|
225
282
|
addresses?: IAddress[];
|
|
226
283
|
allDay: boolean;
|
|
227
284
|
allowRegistration: boolean;
|
|
285
|
+
associations?: IAssociation[];
|
|
228
286
|
attendanceType: EventAttendanceType[];
|
|
229
287
|
catalog: IEventCatalogItem[] | null;
|
|
230
288
|
categories: string[];
|
|
@@ -255,48 +313,10 @@ export interface IEvent {
|
|
|
255
313
|
title: string;
|
|
256
314
|
updatedAt: string;
|
|
257
315
|
}
|
|
258
|
-
export
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
BLOCKED = "BLOCKED"
|
|
263
|
-
}
|
|
264
|
-
export declare enum RegistrationRole {
|
|
265
|
-
OWNER = "OWNER",
|
|
266
|
-
ORGANIZER = "ORGANIZER",
|
|
267
|
-
ATTENDEE = "ATTENDEE"
|
|
268
|
-
}
|
|
269
|
-
export interface IUpdateRegistration {
|
|
270
|
-
/** Role of the user in the event */
|
|
271
|
-
role?: RegistrationRole;
|
|
272
|
-
/** Status of the registration */
|
|
273
|
-
status?: RegistrationStatus;
|
|
274
|
-
/** Attendance type for this registration */
|
|
275
|
-
type?: EventAttendanceType;
|
|
276
|
-
}
|
|
277
|
-
export declare enum EventStatus {
|
|
278
|
-
PLANNED = "PLANNED",
|
|
279
|
-
CANCELED = "CANCELED",
|
|
280
|
-
REMOVED = "REMOVED"
|
|
281
|
-
}
|
|
282
|
-
export interface IOnlineMeeting {
|
|
283
|
-
capacity: number | null;
|
|
284
|
-
createdAt: string;
|
|
285
|
-
details: string | null;
|
|
286
|
-
eventId: string;
|
|
287
|
-
updatedAt: string;
|
|
288
|
-
url: string;
|
|
289
|
-
}
|
|
290
|
-
export interface IUser {
|
|
291
|
-
agoId: string;
|
|
292
|
-
createdAt: string;
|
|
293
|
-
deleted: boolean;
|
|
294
|
-
email: string;
|
|
295
|
-
firstName: string;
|
|
296
|
-
lastName: string;
|
|
297
|
-
optedOut: boolean;
|
|
298
|
-
updatedAt: string;
|
|
299
|
-
username: string;
|
|
316
|
+
export interface IPagedEventResponse {
|
|
317
|
+
items: IEvent[];
|
|
318
|
+
nextStart: number;
|
|
319
|
+
total: number;
|
|
300
320
|
}
|
|
301
321
|
export interface IRegistration {
|
|
302
322
|
createdAt: string;
|
|
@@ -352,23 +372,6 @@ export declare enum EventAttendanceType {
|
|
|
352
372
|
VIRTUAL = "VIRTUAL",
|
|
353
373
|
IN_PERSON = "IN_PERSON"
|
|
354
374
|
}
|
|
355
|
-
export declare enum EventAccess {
|
|
356
|
-
PRIVATE = "PRIVATE",
|
|
357
|
-
ORG = "ORG",
|
|
358
|
-
PUBLIC = "PUBLIC"
|
|
359
|
-
}
|
|
360
|
-
export interface ICreateAddress {
|
|
361
|
-
/** Street address */
|
|
362
|
-
address: string;
|
|
363
|
-
/** Secondary address information (room, etc) */
|
|
364
|
-
address2?: string;
|
|
365
|
-
/** Capacity of this location. Minimum value is 1 */
|
|
366
|
-
capacity?: number;
|
|
367
|
-
/** Description for the address */
|
|
368
|
-
description?: string;
|
|
369
|
-
/** Venue information for the address */
|
|
370
|
-
venue?: string;
|
|
371
|
-
}
|
|
372
375
|
export interface ICreateEvent {
|
|
373
376
|
/** Access level of the event */
|
|
374
377
|
access?: EventAccess;
|
|
@@ -380,6 +383,8 @@ export interface ICreateEvent {
|
|
|
380
383
|
allDay?: boolean;
|
|
381
384
|
/** Boolean to indicate if users can register for an event */
|
|
382
385
|
allowRegistration?: boolean;
|
|
386
|
+
/** Items associated with the event */
|
|
387
|
+
associations?: ICreateAssociation[];
|
|
383
388
|
/** Valid ways to attend the event */
|
|
384
389
|
attendanceType?: EventAttendanceType[];
|
|
385
390
|
/** categories for the event */
|
|
@@ -421,6 +426,34 @@ export interface ICreateEvent {
|
|
|
421
426
|
/** Username for the subscriber. Will always be extracted from the token unless service token is used. */
|
|
422
427
|
username?: string;
|
|
423
428
|
}
|
|
429
|
+
export declare enum AssociationEntityType {
|
|
430
|
+
Hub_Site_Application = "Hub Site Application",
|
|
431
|
+
Hub_Initiative = "Hub Initiative",
|
|
432
|
+
Hub_Project = "Hub Project"
|
|
433
|
+
}
|
|
434
|
+
export interface ICreateAssociation {
|
|
435
|
+
/** Entity Id */
|
|
436
|
+
entityId: string;
|
|
437
|
+
/** Entity type */
|
|
438
|
+
entityType: AssociationEntityType;
|
|
439
|
+
}
|
|
440
|
+
export declare enum EventAccess {
|
|
441
|
+
PRIVATE = "PRIVATE",
|
|
442
|
+
ORG = "ORG",
|
|
443
|
+
PUBLIC = "PUBLIC"
|
|
444
|
+
}
|
|
445
|
+
export interface ICreateAddress {
|
|
446
|
+
/** Street address */
|
|
447
|
+
address: string;
|
|
448
|
+
/** Secondary address information (room, etc) */
|
|
449
|
+
address2?: string;
|
|
450
|
+
/** Capacity of this location. Minimum value is 1 */
|
|
451
|
+
capacity?: number;
|
|
452
|
+
/** Description for the address */
|
|
453
|
+
description?: string;
|
|
454
|
+
/** Venue information for the address */
|
|
455
|
+
venue?: string;
|
|
456
|
+
}
|
|
424
457
|
declare type SecondParameter<T extends (...args: any) => any> = Parameters<T>[1];
|
|
425
458
|
export declare const createEvent: (iCreateEvent: ICreateEvent, options?: SecondParameter<typeof customClient>) => Promise<IEvent>;
|
|
426
459
|
export declare const getEvents: (params?: GetEventsParams, options?: SecondParameter<typeof customClient>) => Promise<IPagedEventResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { EventAccess, EventAttendanceType, EventStatus, GetEventsParams, IAddress, IAddressExtent, IAddressLocation, IOnlineMeeting, ICreateOnlineMeeting, ICreateAddress, ICreateEvent, ICreateEventGeometry, ICreateRegistration, IEvent, IEventPermission, IEventCatalogItem, IEventGeometry, IRegistration, IRegistrationPermission, IUpdateEvent, IUpdateRegistration, GetRegistrationsParams, IUser, RegistrationRole, RegistrationStatus, RegistrationSort, SortOrder, EventSort, IPagedRegistrationResponse, IPagedEventResponse, } from "./orval/api/orval-events";
|
|
1
|
+
export { AssociationEntityType, EventAccess, EventAttendanceType, EventStatus, GetEventsParams, IAddress, IAddressExtent, IAddressLocation, IAssociation, ICreateAssociation, IOnlineMeeting, ICreateOnlineMeeting, ICreateAddress, ICreateEvent, ICreateEventGeometry, ICreateRegistration, IEvent, IEventPermission, IEventCatalogItem, IEventGeometry, IRegistration, IRegistrationPermission, IUpdateEvent, IUpdateRegistration, GetRegistrationsParams, IUser, RegistrationRole, RegistrationStatus, RegistrationSort, SortOrder, EventSort, 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
|
/**
|