@proxima-nexus/sdk-typescript 1.0.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/LICENSE +15 -0
- package/README.md +349 -0
- package/dist/api/event-api.d.ts +420 -0
- package/dist/api/event-api.js +642 -0
- package/dist/api/group-api.d.ts +506 -0
- package/dist/api/group-api.js +775 -0
- package/dist/api/user-api.d.ts +543 -0
- package/dist/api/user-api.js +850 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +48 -0
- package/dist/common.d.ts +31 -0
- package/dist/common.js +98 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +48 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +44 -0
- package/dist/models/create-event-dto.d.ts +63 -0
- package/dist/models/create-event-dto.js +22 -0
- package/dist/models/create-group-dto.d.ts +51 -0
- package/dist/models/create-group-dto.js +22 -0
- package/dist/models/create-user-dto.d.ts +55 -0
- package/dist/models/create-user-dto.js +22 -0
- package/dist/models/entity-connection-dto.d.ts +30 -0
- package/dist/models/entity-connection-dto.js +22 -0
- package/dist/models/event-dto.d.ts +70 -0
- package/dist/models/event-dto.js +21 -0
- package/dist/models/event-entity-connection-dto.d.ts +34 -0
- package/dist/models/event-entity-connection-dto.js +22 -0
- package/dist/models/get-events-dto.d.ts +17 -0
- package/dist/models/get-events-dto.js +15 -0
- package/dist/models/get-groups-dto.d.ts +17 -0
- package/dist/models/get-groups-dto.js +15 -0
- package/dist/models/get-users-dto.d.ts +17 -0
- package/dist/models/get-users-dto.js +15 -0
- package/dist/models/group-dto.d.ts +58 -0
- package/dist/models/group-dto.js +21 -0
- package/dist/models/group-entity-connection-dto.d.ts +34 -0
- package/dist/models/group-entity-connection-dto.js +22 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +34 -0
- package/dist/models/location-dto.d.ts +25 -0
- package/dist/models/location-dto.js +15 -0
- package/dist/models/mutate-user-response-dto.d.ts +17 -0
- package/dist/models/mutate-user-response-dto.js +15 -0
- package/dist/models/update-event-dto.d.ts +55 -0
- package/dist/models/update-event-dto.js +22 -0
- package/dist/models/update-group-dto.d.ts +47 -0
- package/dist/models/update-group-dto.js +22 -0
- package/dist/models/update-user-dto.d.ts +51 -0
- package/dist/models/update-user-dto.js +22 -0
- package/dist/models/user-dto.d.ts +62 -0
- package/dist/models/user-dto.js +21 -0
- package/dist/models/user-entity-connection-dto.d.ts +34 -0
- package/dist/models/user-entity-connection-dto.js +22 -0
- package/package.json +56 -0
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* proxima-nexus-data-plane-api
|
|
3
|
+
* Proxima Nexus Data Plane API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { CreateEventDto } from '../models';
|
|
16
|
+
import type { EntityConnectionDto } from '../models';
|
|
17
|
+
import type { EventDto } from '../models';
|
|
18
|
+
import type { GetEventsDto } from '../models';
|
|
19
|
+
import type { UpdateEventDto } from '../models';
|
|
20
|
+
import type { UserEntityConnectionDto } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* EventApi - axios parameter creator
|
|
23
|
+
*/
|
|
24
|
+
export declare const EventApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @summary Add an attendee to an event
|
|
28
|
+
* @param {string} eventId
|
|
29
|
+
* @param {string} userId
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
addAttendee: (eventId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @summary Create an event
|
|
37
|
+
* @param {CreateEventDto} createEventDto
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
create: (createEventDto: CreateEventDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @summary Get an event by ID
|
|
45
|
+
* @param {string} eventId
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
findOne: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Get attendees of an event
|
|
53
|
+
* @param {string} eventId
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
getAttendees: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary Get a batch of events by IDs
|
|
61
|
+
* @param {GetEventsDto} getEventsDto
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
getBatch: (getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @summary Delete an event
|
|
69
|
+
* @param {string} eventId
|
|
70
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
remove: (eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @summary Search events
|
|
78
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
79
|
+
* @param {number} [latitude] Latitude for radius search
|
|
80
|
+
* @param {number} [longitude] Longitude for radius search
|
|
81
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
82
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
83
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
84
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
85
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
86
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
search: (displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @summary Update an event
|
|
94
|
+
* @param {string} eventId
|
|
95
|
+
* @param {UpdateEventDto} updateEventDto
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
update: (eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* EventApi - functional programming interface
|
|
103
|
+
*/
|
|
104
|
+
export declare const EventApiFp: (configuration?: Configuration) => {
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @summary Add an attendee to an event
|
|
108
|
+
* @param {string} eventId
|
|
109
|
+
* @param {string} userId
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
addAttendee(eventId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntityConnectionDto>>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @summary Create an event
|
|
117
|
+
* @param {CreateEventDto} createEventDto
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
create(createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @summary Get an event by ID
|
|
125
|
+
* @param {string} eventId
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
findOne(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDto>>;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @summary Get attendees of an event
|
|
133
|
+
* @param {string} eventId
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
getAttendees(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserEntityConnectionDto>>>;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @summary Get a batch of events by IDs
|
|
141
|
+
* @param {GetEventsDto} getEventsDto
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
getBatch(getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventDto>>>;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @summary Delete an event
|
|
149
|
+
* @param {string} eventId
|
|
150
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
remove(eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @summary Search events
|
|
158
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
159
|
+
* @param {number} [latitude] Latitude for radius search
|
|
160
|
+
* @param {number} [longitude] Longitude for radius search
|
|
161
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
162
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
163
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
164
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
165
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
166
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventDto>>>;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @summary Update an event
|
|
174
|
+
* @param {string} eventId
|
|
175
|
+
* @param {UpdateEventDto} updateEventDto
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
update(eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* EventApi - factory interface
|
|
183
|
+
*/
|
|
184
|
+
export declare const EventApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @summary Add an attendee to an event
|
|
188
|
+
* @param {string} eventId
|
|
189
|
+
* @param {string} userId
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
addAttendee(eventId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<EntityConnectionDto>;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @summary Create an event
|
|
197
|
+
* @param {CreateEventDto} createEventDto
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
create(createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary Get an event by ID
|
|
205
|
+
* @param {string} eventId
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
findOne(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDto>;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @summary Get attendees of an event
|
|
213
|
+
* @param {string} eventId
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
getAttendees(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @summary Get a batch of events by IDs
|
|
221
|
+
* @param {GetEventsDto} getEventsDto
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
*/
|
|
225
|
+
getBatch(getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @summary Delete an event
|
|
229
|
+
* @param {string} eventId
|
|
230
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
remove(eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @summary Search events
|
|
238
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
239
|
+
* @param {number} [latitude] Latitude for radius search
|
|
240
|
+
* @param {number} [longitude] Longitude for radius search
|
|
241
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
242
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
243
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
244
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
245
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
246
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @summary Update an event
|
|
254
|
+
* @param {string} eventId
|
|
255
|
+
* @param {UpdateEventDto} updateEventDto
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
*/
|
|
259
|
+
update(eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* EventApi - interface
|
|
263
|
+
*/
|
|
264
|
+
export interface EventApiInterface {
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @summary Add an attendee to an event
|
|
268
|
+
* @param {string} eventId
|
|
269
|
+
* @param {string} userId
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
addAttendee(eventId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<EntityConnectionDto>;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @summary Create an event
|
|
277
|
+
* @param {CreateEventDto} createEventDto
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
create(createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @summary Get an event by ID
|
|
285
|
+
* @param {string} eventId
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
findOne(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDto>;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @summary Get attendees of an event
|
|
293
|
+
* @param {string} eventId
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
*/
|
|
297
|
+
getAttendees(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @summary Get a batch of events by IDs
|
|
301
|
+
* @param {GetEventsDto} getEventsDto
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
*/
|
|
305
|
+
getBatch(getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @summary Delete an event
|
|
309
|
+
* @param {string} eventId
|
|
310
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
remove(eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* @summary Search events
|
|
318
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
319
|
+
* @param {number} [latitude] Latitude for radius search
|
|
320
|
+
* @param {number} [longitude] Longitude for radius search
|
|
321
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
322
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
323
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
324
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
325
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
326
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @summary Update an event
|
|
334
|
+
* @param {string} eventId
|
|
335
|
+
* @param {UpdateEventDto} updateEventDto
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
update(eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* EventApi - object-oriented interface
|
|
343
|
+
*/
|
|
344
|
+
export declare class EventApi extends BaseAPI implements EventApiInterface {
|
|
345
|
+
/**
|
|
346
|
+
*
|
|
347
|
+
* @summary Add an attendee to an event
|
|
348
|
+
* @param {string} eventId
|
|
349
|
+
* @param {string} userId
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
addAttendee(eventId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EntityConnectionDto, any, {}>>;
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @summary Create an event
|
|
357
|
+
* @param {CreateEventDto} createEventDto
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
create(createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @summary Get an event by ID
|
|
365
|
+
* @param {string} eventId
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
findOne(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto, any, {}>>;
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @summary Get attendees of an event
|
|
373
|
+
* @param {string} eventId
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
getAttendees(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEntityConnectionDto[], any, {}>>;
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @summary Get a batch of events by IDs
|
|
381
|
+
* @param {GetEventsDto} getEventsDto
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
getBatch(getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto[], any, {}>>;
|
|
386
|
+
/**
|
|
387
|
+
*
|
|
388
|
+
* @summary Delete an event
|
|
389
|
+
* @param {string} eventId
|
|
390
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
391
|
+
* @param {*} [options] Override http request option.
|
|
392
|
+
* @throws {RequiredError}
|
|
393
|
+
*/
|
|
394
|
+
remove(eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
395
|
+
/**
|
|
396
|
+
*
|
|
397
|
+
* @summary Search events
|
|
398
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
399
|
+
* @param {number} [latitude] Latitude for radius search
|
|
400
|
+
* @param {number} [longitude] Longitude for radius search
|
|
401
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
402
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
403
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
404
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
405
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
406
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
407
|
+
* @param {*} [options] Override http request option.
|
|
408
|
+
* @throws {RequiredError}
|
|
409
|
+
*/
|
|
410
|
+
search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto[], any, {}>>;
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @summary Update an event
|
|
414
|
+
* @param {string} eventId
|
|
415
|
+
* @param {UpdateEventDto} updateEventDto
|
|
416
|
+
* @param {*} [options] Override http request option.
|
|
417
|
+
* @throws {RequiredError}
|
|
418
|
+
*/
|
|
419
|
+
update(eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
420
|
+
}
|