@proxima-nexus/sdk-typescript 1.0.0 → 2.0.1

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/README.md +173 -159
  3. package/dist/api/event-api.d.ts +171 -65
  4. package/dist/api/event-api.js +273 -93
  5. package/dist/api/group-api.d.ts +147 -70
  6. package/dist/api/group-api.js +234 -101
  7. package/dist/api/user-api.d.ts +210 -125
  8. package/dist/api/user-api.js +297 -171
  9. package/dist/models/create-event-dto.d.ts +4 -4
  10. package/dist/models/create-group-dto.d.ts +6 -5
  11. package/dist/models/create-group-dto.js +7 -1
  12. package/dist/models/create-user-dto.d.ts +0 -4
  13. package/dist/models/entity-connection-dto.d.ts +17 -1
  14. package/dist/models/entity-connection-dto.js +14 -1
  15. package/dist/models/event-dto.d.ts +13 -4
  16. package/dist/models/event-entity-connection-dto.d.ts +17 -1
  17. package/dist/models/event-entity-connection-dto.js +14 -1
  18. package/dist/models/group-dto.d.ts +15 -5
  19. package/dist/models/group-dto.js +7 -1
  20. package/dist/models/group-entity-connection-dto.d.ts +17 -1
  21. package/dist/models/group-entity-connection-dto.js +14 -1
  22. package/dist/models/index.d.ts +3 -0
  23. package/dist/models/index.js +3 -0
  24. package/dist/models/mutate-event-entity-connection-dto.d.ts +22 -0
  25. package/dist/models/mutate-event-entity-connection-dto.js +22 -0
  26. package/dist/models/mutate-group-entity-connection-dto.d.ts +22 -0
  27. package/dist/models/mutate-group-entity-connection-dto.js +22 -0
  28. package/dist/models/mutate-user-connection-dto.d.ts +21 -0
  29. package/dist/models/mutate-user-connection-dto.js +21 -0
  30. package/dist/models/update-event-dto.d.ts +4 -4
  31. package/dist/models/update-group-dto.d.ts +6 -5
  32. package/dist/models/update-group-dto.js +7 -1
  33. package/dist/models/update-user-dto.d.ts +0 -4
  34. package/dist/models/user-dto.d.ts +5 -4
  35. package/dist/models/user-entity-connection-dto.d.ts +17 -1
  36. package/dist/models/user-entity-connection-dto.js +14 -1
  37. package/package.json +5 -4
@@ -16,6 +16,7 @@ import type { CreateEventDto } from '../models';
16
16
  import type { EntityConnectionDto } from '../models';
17
17
  import type { EventDto } from '../models';
18
18
  import type { GetEventsDto } from '../models';
19
+ import type { MutateEventEntityConnectionDto } from '../models';
19
20
  import type { UpdateEventDto } from '../models';
20
21
  import type { UserEntityConnectionDto } from '../models';
21
22
  /**
@@ -27,51 +28,69 @@ export declare const EventApiAxiosParamCreator: (configuration?: Configuration)
27
28
  * @summary Add an attendee to an event
28
29
  * @param {string} eventId
29
30
  * @param {string} userId
31
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
32
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
30
33
  * @param {*} [options] Override http request option.
31
34
  * @throws {RequiredError}
32
35
  */
33
- addAttendee: (eventId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
+ addConnection: (eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34
37
  /**
35
38
  *
36
- * @summary Create an event
39
+ * @summary Create an event. Owner will be the user creating the event or the group associated with the event (if set)
40
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the event
37
41
  * @param {CreateEventDto} createEventDto
38
42
  * @param {*} [options] Override http request option.
39
43
  * @throws {RequiredError}
40
44
  */
41
- create: (createEventDto: CreateEventDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ create: (xProximaNexusRequesterUserId: string, createEventDto: CreateEventDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42
46
  /**
43
47
  *
44
48
  * @summary Get an event by ID
45
49
  * @param {string} eventId
50
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, 401 may be returned if the user cannot view the event, otherwise requesterConnection will be set on the result.
46
51
  * @param {*} [options] Override http request option.
47
52
  * @throws {RequiredError}
48
53
  */
49
- findOne: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ get: (eventId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
50
55
  /**
51
56
  *
52
- * @summary Get attendees of an event
53
- * @param {string} eventId
57
+ * @summary Get a batch of events by IDs
58
+ * @param {GetEventsDto} getEventsDto
59
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting a batch of events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
54
60
  * @param {*} [options] Override http request option.
55
61
  * @throws {RequiredError}
56
62
  */
57
- getAttendees: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
+ getBatch: (getEventsDto: GetEventsDto, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
58
64
  /**
59
65
  *
60
- * @summary Get a batch of events by IDs
61
- * @param {GetEventsDto} getEventsDto
66
+ * @summary Get connections of an event
67
+ * @param {string} eventId
68
+ * @param {Array<EventControllerGetConnectionsTypeEnum>} [type] Filter connections by type. Can be a single type or multiple types (comma-separated or array)
69
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting connections of the event. If set, 401 may be returned if the user cannot view the event connections.
62
70
  * @param {*} [options] Override http request option.
63
71
  * @throws {RequiredError}
64
72
  */
65
- getBatch: (getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73
+ getConnections: (eventId: string, type?: Array<EventControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66
74
  /**
67
75
  *
68
76
  * @summary Delete an event
69
77
  * @param {string} eventId
70
- * @param {string} xProximaNexusRequesterUserId Requester user ID
78
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the event
71
79
  * @param {*} [options] Override http request option.
72
80
  * @throws {RequiredError}
73
81
  */
74
82
  remove: (eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
83
+ /**
84
+ *
85
+ * @summary Remove an attendee from an event
86
+ * @param {string} eventId
87
+ * @param {string} userId
88
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
89
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ removeConnection: (eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
75
94
  /**
76
95
  *
77
96
  * @summary Search events
@@ -84,19 +103,21 @@ export declare const EventApiAxiosParamCreator: (configuration?: Configuration)
84
103
  * @param {number} [minLongitude] Minimum longitude for bounding box
85
104
  * @param {number} [maxLongitude] Maximum longitude for bounding box
86
105
  * @param {number} [limit] Limit results (1-1000)
106
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
87
107
  * @param {*} [options] Override http request option.
88
108
  * @throws {RequiredError}
89
109
  */
90
- search: (displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
110
+ search: (displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
91
111
  /**
92
112
  *
93
113
  * @summary Update an event
94
114
  * @param {string} eventId
115
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
95
116
  * @param {UpdateEventDto} updateEventDto
96
117
  * @param {*} [options] Override http request option.
97
118
  * @throws {RequiredError}
98
119
  */
99
- update: (eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
120
+ update: (eventId: string, xProximaNexusRequesterUserId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
100
121
  };
101
122
  /**
102
123
  * EventApi - functional programming interface
@@ -107,51 +128,69 @@ export declare const EventApiFp: (configuration?: Configuration) => {
107
128
  * @summary Add an attendee to an event
108
129
  * @param {string} eventId
109
130
  * @param {string} userId
131
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
132
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
110
133
  * @param {*} [options] Override http request option.
111
134
  * @throws {RequiredError}
112
135
  */
113
- addAttendee(eventId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntityConnectionDto>>;
136
+ addConnection(eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntityConnectionDto>>;
114
137
  /**
115
138
  *
116
- * @summary Create an event
139
+ * @summary Create an event. Owner will be the user creating the event or the group associated with the event (if set)
140
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the event
117
141
  * @param {CreateEventDto} createEventDto
118
142
  * @param {*} [options] Override http request option.
119
143
  * @throws {RequiredError}
120
144
  */
121
- create(createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
145
+ create(xProximaNexusRequesterUserId: string, createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
122
146
  /**
123
147
  *
124
148
  * @summary Get an event by ID
125
149
  * @param {string} eventId
150
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, 401 may be returned if the user cannot view the event, otherwise requesterConnection will be set on the result.
126
151
  * @param {*} [options] Override http request option.
127
152
  * @throws {RequiredError}
128
153
  */
129
- findOne(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDto>>;
154
+ get(eventId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDto>>;
130
155
  /**
131
156
  *
132
- * @summary Get attendees of an event
133
- * @param {string} eventId
157
+ * @summary Get a batch of events by IDs
158
+ * @param {GetEventsDto} getEventsDto
159
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting a batch of events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
134
160
  * @param {*} [options] Override http request option.
135
161
  * @throws {RequiredError}
136
162
  */
137
- getAttendees(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserEntityConnectionDto>>>;
163
+ getBatch(getEventsDto: GetEventsDto, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventDto>>>;
138
164
  /**
139
165
  *
140
- * @summary Get a batch of events by IDs
141
- * @param {GetEventsDto} getEventsDto
166
+ * @summary Get connections of an event
167
+ * @param {string} eventId
168
+ * @param {Array<EventControllerGetConnectionsTypeEnum>} [type] Filter connections by type. Can be a single type or multiple types (comma-separated or array)
169
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting connections of the event. If set, 401 may be returned if the user cannot view the event connections.
142
170
  * @param {*} [options] Override http request option.
143
171
  * @throws {RequiredError}
144
172
  */
145
- getBatch(getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventDto>>>;
173
+ getConnections(eventId: string, type?: Array<EventControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserEntityConnectionDto>>>;
146
174
  /**
147
175
  *
148
176
  * @summary Delete an event
149
177
  * @param {string} eventId
150
- * @param {string} xProximaNexusRequesterUserId Requester user ID
178
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the event
151
179
  * @param {*} [options] Override http request option.
152
180
  * @throws {RequiredError}
153
181
  */
154
182
  remove(eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
183
+ /**
184
+ *
185
+ * @summary Remove an attendee from an event
186
+ * @param {string} eventId
187
+ * @param {string} userId
188
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
189
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ removeConnection(eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
155
194
  /**
156
195
  *
157
196
  * @summary Search events
@@ -164,19 +203,21 @@ export declare const EventApiFp: (configuration?: Configuration) => {
164
203
  * @param {number} [minLongitude] Minimum longitude for bounding box
165
204
  * @param {number} [maxLongitude] Maximum longitude for bounding box
166
205
  * @param {number} [limit] Limit results (1-1000)
206
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
167
207
  * @param {*} [options] Override http request option.
168
208
  * @throws {RequiredError}
169
209
  */
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>>>;
210
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventDto>>>;
171
211
  /**
172
212
  *
173
213
  * @summary Update an event
174
214
  * @param {string} eventId
215
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
175
216
  * @param {UpdateEventDto} updateEventDto
176
217
  * @param {*} [options] Override http request option.
177
218
  * @throws {RequiredError}
178
219
  */
179
- update(eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
220
+ update(eventId: string, xProximaNexusRequesterUserId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
180
221
  };
181
222
  /**
182
223
  * EventApi - factory interface
@@ -187,51 +228,69 @@ export declare const EventApiFactory: (configuration?: Configuration, basePath?:
187
228
  * @summary Add an attendee to an event
188
229
  * @param {string} eventId
189
230
  * @param {string} userId
231
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
232
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
190
233
  * @param {*} [options] Override http request option.
191
234
  * @throws {RequiredError}
192
235
  */
193
- addAttendee(eventId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<EntityConnectionDto>;
236
+ addConnection(eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<EntityConnectionDto>;
194
237
  /**
195
238
  *
196
- * @summary Create an event
239
+ * @summary Create an event. Owner will be the user creating the event or the group associated with the event (if set)
240
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the event
197
241
  * @param {CreateEventDto} createEventDto
198
242
  * @param {*} [options] Override http request option.
199
243
  * @throws {RequiredError}
200
244
  */
201
- create(createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
245
+ create(xProximaNexusRequesterUserId: string, createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
202
246
  /**
203
247
  *
204
248
  * @summary Get an event by ID
205
249
  * @param {string} eventId
250
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, 401 may be returned if the user cannot view the event, otherwise requesterConnection will be set on the result.
206
251
  * @param {*} [options] Override http request option.
207
252
  * @throws {RequiredError}
208
253
  */
209
- findOne(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDto>;
254
+ get(eventId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDto>;
210
255
  /**
211
256
  *
212
- * @summary Get attendees of an event
213
- * @param {string} eventId
257
+ * @summary Get a batch of events by IDs
258
+ * @param {GetEventsDto} getEventsDto
259
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting a batch of events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
214
260
  * @param {*} [options] Override http request option.
215
261
  * @throws {RequiredError}
216
262
  */
217
- getAttendees(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
263
+ getBatch(getEventsDto: GetEventsDto, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
218
264
  /**
219
265
  *
220
- * @summary Get a batch of events by IDs
221
- * @param {GetEventsDto} getEventsDto
266
+ * @summary Get connections of an event
267
+ * @param {string} eventId
268
+ * @param {Array<EventControllerGetConnectionsTypeEnum>} [type] Filter connections by type. Can be a single type or multiple types (comma-separated or array)
269
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting connections of the event. If set, 401 may be returned if the user cannot view the event connections.
222
270
  * @param {*} [options] Override http request option.
223
271
  * @throws {RequiredError}
224
272
  */
225
- getBatch(getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
273
+ getConnections(eventId: string, type?: Array<EventControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
226
274
  /**
227
275
  *
228
276
  * @summary Delete an event
229
277
  * @param {string} eventId
230
- * @param {string} xProximaNexusRequesterUserId Requester user ID
278
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the event
231
279
  * @param {*} [options] Override http request option.
232
280
  * @throws {RequiredError}
233
281
  */
234
282
  remove(eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
283
+ /**
284
+ *
285
+ * @summary Remove an attendee from an event
286
+ * @param {string} eventId
287
+ * @param {string} userId
288
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
289
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ removeConnection(eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
235
294
  /**
236
295
  *
237
296
  * @summary Search events
@@ -244,19 +303,21 @@ export declare const EventApiFactory: (configuration?: Configuration, basePath?:
244
303
  * @param {number} [minLongitude] Minimum longitude for bounding box
245
304
  * @param {number} [maxLongitude] Maximum longitude for bounding box
246
305
  * @param {number} [limit] Limit results (1-1000)
306
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
247
307
  * @param {*} [options] Override http request option.
248
308
  * @throws {RequiredError}
249
309
  */
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>>;
310
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
251
311
  /**
252
312
  *
253
313
  * @summary Update an event
254
314
  * @param {string} eventId
315
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
255
316
  * @param {UpdateEventDto} updateEventDto
256
317
  * @param {*} [options] Override http request option.
257
318
  * @throws {RequiredError}
258
319
  */
259
- update(eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
320
+ update(eventId: string, xProximaNexusRequesterUserId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
260
321
  };
261
322
  /**
262
323
  * EventApi - interface
@@ -267,51 +328,69 @@ export interface EventApiInterface {
267
328
  * @summary Add an attendee to an event
268
329
  * @param {string} eventId
269
330
  * @param {string} userId
331
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
332
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
270
333
  * @param {*} [options] Override http request option.
271
334
  * @throws {RequiredError}
272
335
  */
273
- addAttendee(eventId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<EntityConnectionDto>;
336
+ addConnection(eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<EntityConnectionDto>;
274
337
  /**
275
338
  *
276
- * @summary Create an event
339
+ * @summary Create an event. Owner will be the user creating the event or the group associated with the event (if set)
340
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the event
277
341
  * @param {CreateEventDto} createEventDto
278
342
  * @param {*} [options] Override http request option.
279
343
  * @throws {RequiredError}
280
344
  */
281
- create(createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
345
+ create(xProximaNexusRequesterUserId: string, createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
282
346
  /**
283
347
  *
284
348
  * @summary Get an event by ID
285
349
  * @param {string} eventId
350
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, 401 may be returned if the user cannot view the event, otherwise requesterConnection will be set on the result.
286
351
  * @param {*} [options] Override http request option.
287
352
  * @throws {RequiredError}
288
353
  */
289
- findOne(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDto>;
354
+ get(eventId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDto>;
290
355
  /**
291
356
  *
292
- * @summary Get attendees of an event
293
- * @param {string} eventId
357
+ * @summary Get a batch of events by IDs
358
+ * @param {GetEventsDto} getEventsDto
359
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting a batch of events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
294
360
  * @param {*} [options] Override http request option.
295
361
  * @throws {RequiredError}
296
362
  */
297
- getAttendees(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
363
+ getBatch(getEventsDto: GetEventsDto, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
298
364
  /**
299
365
  *
300
- * @summary Get a batch of events by IDs
301
- * @param {GetEventsDto} getEventsDto
366
+ * @summary Get connections of an event
367
+ * @param {string} eventId
368
+ * @param {Array<EventControllerGetConnectionsTypeEnum>} [type] Filter connections by type. Can be a single type or multiple types (comma-separated or array)
369
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting connections of the event. If set, 401 may be returned if the user cannot view the event connections.
302
370
  * @param {*} [options] Override http request option.
303
371
  * @throws {RequiredError}
304
372
  */
305
- getBatch(getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
373
+ getConnections(eventId: string, type?: Array<EventControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
306
374
  /**
307
375
  *
308
376
  * @summary Delete an event
309
377
  * @param {string} eventId
310
- * @param {string} xProximaNexusRequesterUserId Requester user ID
378
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the event
311
379
  * @param {*} [options] Override http request option.
312
380
  * @throws {RequiredError}
313
381
  */
314
382
  remove(eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
383
+ /**
384
+ *
385
+ * @summary Remove an attendee from an event
386
+ * @param {string} eventId
387
+ * @param {string} userId
388
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
389
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
390
+ * @param {*} [options] Override http request option.
391
+ * @throws {RequiredError}
392
+ */
393
+ removeConnection(eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<void>;
315
394
  /**
316
395
  *
317
396
  * @summary Search events
@@ -324,19 +403,21 @@ export interface EventApiInterface {
324
403
  * @param {number} [minLongitude] Minimum longitude for bounding box
325
404
  * @param {number} [maxLongitude] Maximum longitude for bounding box
326
405
  * @param {number} [limit] Limit results (1-1000)
406
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
327
407
  * @param {*} [options] Override http request option.
328
408
  * @throws {RequiredError}
329
409
  */
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>>;
410
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
331
411
  /**
332
412
  *
333
413
  * @summary Update an event
334
414
  * @param {string} eventId
415
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
335
416
  * @param {UpdateEventDto} updateEventDto
336
417
  * @param {*} [options] Override http request option.
337
418
  * @throws {RequiredError}
338
419
  */
339
- update(eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
420
+ update(eventId: string, xProximaNexusRequesterUserId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
340
421
  }
341
422
  /**
342
423
  * EventApi - object-oriented interface
@@ -347,51 +428,69 @@ export declare class EventApi extends BaseAPI implements EventApiInterface {
347
428
  * @summary Add an attendee to an event
348
429
  * @param {string} eventId
349
430
  * @param {string} userId
431
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
432
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
350
433
  * @param {*} [options] Override http request option.
351
434
  * @throws {RequiredError}
352
435
  */
353
- addAttendee(eventId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EntityConnectionDto, any, {}>>;
436
+ addConnection(eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EntityConnectionDto, any, {}>>;
354
437
  /**
355
438
  *
356
- * @summary Create an event
439
+ * @summary Create an event. Owner will be the user creating the event or the group associated with the event (if set)
440
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the event
357
441
  * @param {CreateEventDto} createEventDto
358
442
  * @param {*} [options] Override http request option.
359
443
  * @throws {RequiredError}
360
444
  */
361
- create(createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
445
+ create(xProximaNexusRequesterUserId: string, createEventDto: CreateEventDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
362
446
  /**
363
447
  *
364
448
  * @summary Get an event by ID
365
449
  * @param {string} eventId
450
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, 401 may be returned if the user cannot view the event, otherwise requesterConnection will be set on the result.
366
451
  * @param {*} [options] Override http request option.
367
452
  * @throws {RequiredError}
368
453
  */
369
- findOne(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto, any, {}>>;
454
+ get(eventId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto, any, {}>>;
370
455
  /**
371
456
  *
372
- * @summary Get attendees of an event
373
- * @param {string} eventId
457
+ * @summary Get a batch of events by IDs
458
+ * @param {GetEventsDto} getEventsDto
459
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting a batch of events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
374
460
  * @param {*} [options] Override http request option.
375
461
  * @throws {RequiredError}
376
462
  */
377
- getAttendees(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEntityConnectionDto[], any, {}>>;
463
+ getBatch(getEventsDto: GetEventsDto, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto[], any, {}>>;
378
464
  /**
379
465
  *
380
- * @summary Get a batch of events by IDs
381
- * @param {GetEventsDto} getEventsDto
466
+ * @summary Get connections of an event
467
+ * @param {string} eventId
468
+ * @param {Array<EventControllerGetConnectionsTypeEnum>} [type] Filter connections by type. Can be a single type or multiple types (comma-separated or array)
469
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user getting connections of the event. If set, 401 may be returned if the user cannot view the event connections.
382
470
  * @param {*} [options] Override http request option.
383
471
  * @throws {RequiredError}
384
472
  */
385
- getBatch(getEventsDto: GetEventsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto[], any, {}>>;
473
+ getConnections(eventId: string, type?: Array<EventControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEntityConnectionDto[], any, {}>>;
386
474
  /**
387
475
  *
388
476
  * @summary Delete an event
389
477
  * @param {string} eventId
390
- * @param {string} xProximaNexusRequesterUserId Requester user ID
478
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the event
391
479
  * @param {*} [options] Override http request option.
392
480
  * @throws {RequiredError}
393
481
  */
394
482
  remove(eventId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
483
+ /**
484
+ *
485
+ * @summary Remove an attendee from an event
486
+ * @param {string} eventId
487
+ * @param {string} userId
488
+ * @param {string} xProximaNexusRequesterUserId ID of the user removing an attendee from the event
489
+ * @param {MutateEventEntityConnectionDto} mutateEventEntityConnectionDto
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ removeConnection(eventId: string, userId: string, xProximaNexusRequesterUserId: string, mutateEventEntityConnectionDto: MutateEventEntityConnectionDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
395
494
  /**
396
495
  *
397
496
  * @summary Search events
@@ -404,17 +503,24 @@ export declare class EventApi extends BaseAPI implements EventApiInterface {
404
503
  * @param {number} [minLongitude] Minimum longitude for bounding box
405
504
  * @param {number} [maxLongitude] Maximum longitude for bounding box
406
505
  * @param {number} [limit] Limit results (1-1000)
506
+ * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
407
507
  * @param {*} [options] Override http request option.
408
508
  * @throws {RequiredError}
409
509
  */
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, {}>>;
510
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto[], any, {}>>;
411
511
  /**
412
512
  *
413
513
  * @summary Update an event
414
514
  * @param {string} eventId
515
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
415
516
  * @param {UpdateEventDto} updateEventDto
416
517
  * @param {*} [options] Override http request option.
417
518
  * @throws {RequiredError}
418
519
  */
419
- update(eventId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
520
+ update(eventId: string, xProximaNexusRequesterUserId: string, updateEventDto: UpdateEventDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
521
+ }
522
+ export declare enum EventControllerGetConnectionsTypeEnum {
523
+ attendee = "attendee",
524
+ admin = "admin",
525
+ owner = "owner"
420
526
  }