@proxima-nexus/sdk-typescript 2.2.0 → 2.4.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.
@@ -15,6 +15,7 @@ import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { CreateGroupDto } from '../models';
16
16
  import type { EntityConnectionDto } from '../models';
17
17
  import type { EventEntityConnectionDto } from '../models';
18
+ import type { EventSeriesEntityConnectionDto } from '../models';
18
19
  import type { GetGroupsDto } from '../models';
19
20
  import type { GroupDto } from '../models';
20
21
  import type { MutateGroupEntityConnectionDto } from '../models';
@@ -73,15 +74,25 @@ export declare const GroupApiAxiosParamCreator: (configuration?: Configuration)
73
74
  * @throws {RequiredError}
74
75
  */
75
76
  getConnections: (groupId: string, state?: Array<GroupControllerGetConnectionsStateEnum>, type?: Array<GroupControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
77
+ /**
78
+ *
79
+ * @summary Get event series of a group
80
+ * @param {string} groupId
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ getEventSeries: (groupId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
76
85
  /**
77
86
  *
78
87
  * @summary Get events of a group
79
88
  * @param {string} groupId
89
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
90
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
80
91
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
81
92
  * @param {*} [options] Override http request option.
82
93
  * @throws {RequiredError}
83
94
  */
84
- getEvents: (groupId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
95
+ getEvents: (groupId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
85
96
  /**
86
97
  *
87
98
  * @summary Delete a group
@@ -114,11 +125,13 @@ export declare const GroupApiAxiosParamCreator: (configuration?: Configuration)
114
125
  * @param {number} [minLongitude] Minimum longitude for bounding box
115
126
  * @param {number} [maxLongitude] Maximum longitude for bounding box
116
127
  * @param {number} [limit] Limit results (1-1000)
128
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
129
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
117
130
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
118
131
  * @param {*} [options] Override http request option.
119
132
  * @throws {RequiredError}
120
133
  */
121
- 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>;
134
+ search: (displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
122
135
  /**
123
136
  *
124
137
  * @summary Update a group
@@ -183,15 +196,25 @@ export declare const GroupApiFp: (configuration?: Configuration) => {
183
196
  * @throws {RequiredError}
184
197
  */
185
198
  getConnections(groupId: string, state?: Array<GroupControllerGetConnectionsStateEnum>, type?: Array<GroupControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserEntityConnectionDto>>>;
199
+ /**
200
+ *
201
+ * @summary Get event series of a group
202
+ * @param {string} groupId
203
+ * @param {*} [options] Override http request option.
204
+ * @throws {RequiredError}
205
+ */
206
+ getEventSeries(groupId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventSeriesEntityConnectionDto>>>;
186
207
  /**
187
208
  *
188
209
  * @summary Get events of a group
189
210
  * @param {string} groupId
211
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
212
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
190
213
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
191
214
  * @param {*} [options] Override http request option.
192
215
  * @throws {RequiredError}
193
216
  */
194
- getEvents(groupId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventEntityConnectionDto>>>;
217
+ getEvents(groupId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventEntityConnectionDto>>>;
195
218
  /**
196
219
  *
197
220
  * @summary Delete a group
@@ -224,11 +247,13 @@ export declare const GroupApiFp: (configuration?: Configuration) => {
224
247
  * @param {number} [minLongitude] Minimum longitude for bounding box
225
248
  * @param {number} [maxLongitude] Maximum longitude for bounding box
226
249
  * @param {number} [limit] Limit results (1-1000)
250
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
251
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
227
252
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
228
253
  * @param {*} [options] Override http request option.
229
254
  * @throws {RequiredError}
230
255
  */
231
- 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<GroupDto>>>;
256
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupDto>>>;
232
257
  /**
233
258
  *
234
259
  * @summary Update a group
@@ -293,15 +318,25 @@ export declare const GroupApiFactory: (configuration?: Configuration, basePath?:
293
318
  * @throws {RequiredError}
294
319
  */
295
320
  getConnections(groupId: string, state?: Array<GroupControllerGetConnectionsStateEnum>, type?: Array<GroupControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
321
+ /**
322
+ *
323
+ * @summary Get event series of a group
324
+ * @param {string} groupId
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ getEventSeries(groupId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventSeriesEntityConnectionDto>>;
296
329
  /**
297
330
  *
298
331
  * @summary Get events of a group
299
332
  * @param {string} groupId
333
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
334
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
300
335
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
301
336
  * @param {*} [options] Override http request option.
302
337
  * @throws {RequiredError}
303
338
  */
304
- getEvents(groupId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
339
+ getEvents(groupId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
305
340
  /**
306
341
  *
307
342
  * @summary Delete a group
@@ -334,11 +369,13 @@ export declare const GroupApiFactory: (configuration?: Configuration, basePath?:
334
369
  * @param {number} [minLongitude] Minimum longitude for bounding box
335
370
  * @param {number} [maxLongitude] Maximum longitude for bounding box
336
371
  * @param {number} [limit] Limit results (1-1000)
372
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
373
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
337
374
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
338
375
  * @param {*} [options] Override http request option.
339
376
  * @throws {RequiredError}
340
377
  */
341
- 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<GroupDto>>;
378
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<GroupDto>>;
342
379
  /**
343
380
  *
344
381
  * @summary Update a group
@@ -403,15 +440,25 @@ export interface GroupApiInterface {
403
440
  * @throws {RequiredError}
404
441
  */
405
442
  getConnections(groupId: string, state?: Array<GroupControllerGetConnectionsStateEnum>, type?: Array<GroupControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
443
+ /**
444
+ *
445
+ * @summary Get event series of a group
446
+ * @param {string} groupId
447
+ * @param {*} [options] Override http request option.
448
+ * @throws {RequiredError}
449
+ */
450
+ getEventSeries(groupId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventSeriesEntityConnectionDto>>;
406
451
  /**
407
452
  *
408
453
  * @summary Get events of a group
409
454
  * @param {string} groupId
455
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
456
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
410
457
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
411
458
  * @param {*} [options] Override http request option.
412
459
  * @throws {RequiredError}
413
460
  */
414
- getEvents(groupId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
461
+ getEvents(groupId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
415
462
  /**
416
463
  *
417
464
  * @summary Delete a group
@@ -444,11 +491,13 @@ export interface GroupApiInterface {
444
491
  * @param {number} [minLongitude] Minimum longitude for bounding box
445
492
  * @param {number} [maxLongitude] Maximum longitude for bounding box
446
493
  * @param {number} [limit] Limit results (1-1000)
494
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
495
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
447
496
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
448
497
  * @param {*} [options] Override http request option.
449
498
  * @throws {RequiredError}
450
499
  */
451
- 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<GroupDto>>;
500
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<GroupDto>>;
452
501
  /**
453
502
  *
454
503
  * @summary Update a group
@@ -513,15 +562,25 @@ export declare class GroupApi extends BaseAPI implements GroupApiInterface {
513
562
  * @throws {RequiredError}
514
563
  */
515
564
  getConnections(groupId: string, state?: Array<GroupControllerGetConnectionsStateEnum>, type?: Array<GroupControllerGetConnectionsTypeEnum>, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEntityConnectionDto[], any, {}>>;
565
+ /**
566
+ *
567
+ * @summary Get event series of a group
568
+ * @param {string} groupId
569
+ * @param {*} [options] Override http request option.
570
+ * @throws {RequiredError}
571
+ */
572
+ getEventSeries(groupId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventSeriesEntityConnectionDto[], any, {}>>;
516
573
  /**
517
574
  *
518
575
  * @summary Get events of a group
519
576
  * @param {string} groupId
577
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
578
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
520
579
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
521
580
  * @param {*} [options] Override http request option.
522
581
  * @throws {RequiredError}
523
582
  */
524
- getEvents(groupId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventEntityConnectionDto[], any, {}>>;
583
+ getEvents(groupId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventEntityConnectionDto[], any, {}>>;
525
584
  /**
526
585
  *
527
586
  * @summary Delete a group
@@ -554,11 +613,13 @@ export declare class GroupApi extends BaseAPI implements GroupApiInterface {
554
613
  * @param {number} [minLongitude] Minimum longitude for bounding box
555
614
  * @param {number} [maxLongitude] Maximum longitude for bounding box
556
615
  * @param {number} [limit] Limit results (1-1000)
616
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
617
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
557
618
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
558
619
  * @param {*} [options] Override http request option.
559
620
  * @throws {RequiredError}
560
621
  */
561
- 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<GroupDto[], any, {}>>;
622
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupDto[], any, {}>>;
562
623
  /**
563
624
  *
564
625
  * @summary Update a group
@@ -231,15 +231,49 @@ const GroupApiAxiosParamCreator = function (configuration) {
231
231
  options: localVarRequestOptions,
232
232
  };
233
233
  },
234
+ /**
235
+ *
236
+ * @summary Get event series of a group
237
+ * @param {string} groupId
238
+ * @param {*} [options] Override http request option.
239
+ * @throws {RequiredError}
240
+ */
241
+ getEventSeries: async (groupId, options = {}) => {
242
+ // verify required parameter 'groupId' is not null or undefined
243
+ (0, common_1.assertParamExists)('getEventSeries', 'groupId', groupId);
244
+ const localVarPath = `/group/{groupId}/event-series`
245
+ .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
246
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
247
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
248
+ let baseOptions;
249
+ if (configuration) {
250
+ baseOptions = configuration.baseOptions;
251
+ }
252
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
253
+ const localVarHeaderParameter = {};
254
+ const localVarQueryParameter = {};
255
+ // authentication api_key required
256
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Proxima-Nexus-Api-Key", configuration);
257
+ localVarHeaderParameter['Accept'] = 'application/json';
258
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
259
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
261
+ return {
262
+ url: (0, common_1.toPathString)(localVarUrlObj),
263
+ options: localVarRequestOptions,
264
+ };
265
+ },
234
266
  /**
235
267
  *
236
268
  * @summary Get events of a group
237
269
  * @param {string} groupId
270
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
271
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
238
272
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
239
273
  * @param {*} [options] Override http request option.
240
274
  * @throws {RequiredError}
241
275
  */
242
- getEvents: async (groupId, xProximaNexusRequesterUserId, options = {}) => {
276
+ getEvents: async (groupId, from, to, xProximaNexusRequesterUserId, options = {}) => {
243
277
  // verify required parameter 'groupId' is not null or undefined
244
278
  (0, common_1.assertParamExists)('getEvents', 'groupId', groupId);
245
279
  const localVarPath = `/group/{groupId}/events`
@@ -255,6 +289,12 @@ const GroupApiAxiosParamCreator = function (configuration) {
255
289
  const localVarQueryParameter = {};
256
290
  // authentication api_key required
257
291
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Proxima-Nexus-Api-Key", configuration);
292
+ if (from !== undefined) {
293
+ localVarQueryParameter['from'] = from;
294
+ }
295
+ if (to !== undefined) {
296
+ localVarQueryParameter['to'] = to;
297
+ }
258
298
  localVarHeaderParameter['Accept'] = 'application/json';
259
299
  if (xProximaNexusRequesterUserId != null) {
260
300
  localVarHeaderParameter['X-Proxima-Nexus-Requester-User-Id'] = String(xProximaNexusRequesterUserId);
@@ -362,11 +402,13 @@ const GroupApiAxiosParamCreator = function (configuration) {
362
402
  * @param {number} [minLongitude] Minimum longitude for bounding box
363
403
  * @param {number} [maxLongitude] Maximum longitude for bounding box
364
404
  * @param {number} [limit] Limit results (1-1000)
405
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
406
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
365
407
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
366
408
  * @param {*} [options] Override http request option.
367
409
  * @throws {RequiredError}
368
410
  */
369
- search: async (displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, xProximaNexusRequesterUserId, options = {}) => {
411
+ search: async (displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, from, to, xProximaNexusRequesterUserId, options = {}) => {
370
412
  const localVarPath = `/group`;
371
413
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
372
414
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -406,6 +448,12 @@ const GroupApiAxiosParamCreator = function (configuration) {
406
448
  if (limit !== undefined) {
407
449
  localVarQueryParameter['limit'] = limit;
408
450
  }
451
+ if (from !== undefined) {
452
+ localVarQueryParameter['from'] = from;
453
+ }
454
+ if (to !== undefined) {
455
+ localVarQueryParameter['to'] = to;
456
+ }
409
457
  localVarHeaderParameter['Accept'] = 'application/json';
410
458
  if (xProximaNexusRequesterUserId != null) {
411
459
  localVarHeaderParameter['X-Proxima-Nexus-Requester-User-Id'] = String(xProximaNexusRequesterUserId);
@@ -544,16 +592,31 @@ const GroupApiFp = function (configuration) {
544
592
  const localVarOperationServerBasePath = base_1.operationServerMap['GroupApi.getConnections']?.[localVarOperationServerIndex]?.url;
545
593
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
546
594
  },
595
+ /**
596
+ *
597
+ * @summary Get event series of a group
598
+ * @param {string} groupId
599
+ * @param {*} [options] Override http request option.
600
+ * @throws {RequiredError}
601
+ */
602
+ async getEventSeries(groupId, options) {
603
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventSeries(groupId, options);
604
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
605
+ const localVarOperationServerBasePath = base_1.operationServerMap['GroupApi.getEventSeries']?.[localVarOperationServerIndex]?.url;
606
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
607
+ },
547
608
  /**
548
609
  *
549
610
  * @summary Get events of a group
550
611
  * @param {string} groupId
612
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
613
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
551
614
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
552
615
  * @param {*} [options] Override http request option.
553
616
  * @throws {RequiredError}
554
617
  */
555
- async getEvents(groupId, xProximaNexusRequesterUserId, options) {
556
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEvents(groupId, xProximaNexusRequesterUserId, options);
618
+ async getEvents(groupId, from, to, xProximaNexusRequesterUserId, options) {
619
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEvents(groupId, from, to, xProximaNexusRequesterUserId, options);
557
620
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
558
621
  const localVarOperationServerBasePath = base_1.operationServerMap['GroupApi.getEvents']?.[localVarOperationServerIndex]?.url;
559
622
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -600,12 +663,14 @@ const GroupApiFp = function (configuration) {
600
663
  * @param {number} [minLongitude] Minimum longitude for bounding box
601
664
  * @param {number} [maxLongitude] Maximum longitude for bounding box
602
665
  * @param {number} [limit] Limit results (1-1000)
666
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
667
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
603
668
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
604
669
  * @param {*} [options] Override http request option.
605
670
  * @throws {RequiredError}
606
671
  */
607
- async search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, xProximaNexusRequesterUserId, options) {
608
- const localVarAxiosArgs = await localVarAxiosParamCreator.search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, xProximaNexusRequesterUserId, options);
672
+ async search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, from, to, xProximaNexusRequesterUserId, options) {
673
+ const localVarAxiosArgs = await localVarAxiosParamCreator.search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, from, to, xProximaNexusRequesterUserId, options);
609
674
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
610
675
  const localVarOperationServerBasePath = base_1.operationServerMap['GroupApi.search']?.[localVarOperationServerIndex]?.url;
611
676
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -693,16 +758,28 @@ const GroupApiFactory = function (configuration, basePath, axios) {
693
758
  getConnections(groupId, state, type, xProximaNexusRequesterUserId, options) {
694
759
  return localVarFp.getConnections(groupId, state, type, xProximaNexusRequesterUserId, options).then((request) => request(axios, basePath));
695
760
  },
761
+ /**
762
+ *
763
+ * @summary Get event series of a group
764
+ * @param {string} groupId
765
+ * @param {*} [options] Override http request option.
766
+ * @throws {RequiredError}
767
+ */
768
+ getEventSeries(groupId, options) {
769
+ return localVarFp.getEventSeries(groupId, options).then((request) => request(axios, basePath));
770
+ },
696
771
  /**
697
772
  *
698
773
  * @summary Get events of a group
699
774
  * @param {string} groupId
775
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
776
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
700
777
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
701
778
  * @param {*} [options] Override http request option.
702
779
  * @throws {RequiredError}
703
780
  */
704
- getEvents(groupId, xProximaNexusRequesterUserId, options) {
705
- return localVarFp.getEvents(groupId, xProximaNexusRequesterUserId, options).then((request) => request(axios, basePath));
781
+ getEvents(groupId, from, to, xProximaNexusRequesterUserId, options) {
782
+ return localVarFp.getEvents(groupId, from, to, xProximaNexusRequesterUserId, options).then((request) => request(axios, basePath));
706
783
  },
707
784
  /**
708
785
  *
@@ -740,12 +817,14 @@ const GroupApiFactory = function (configuration, basePath, axios) {
740
817
  * @param {number} [minLongitude] Minimum longitude for bounding box
741
818
  * @param {number} [maxLongitude] Maximum longitude for bounding box
742
819
  * @param {number} [limit] Limit results (1-1000)
820
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
821
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
743
822
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
744
823
  * @param {*} [options] Override http request option.
745
824
  * @throws {RequiredError}
746
825
  */
747
- search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, xProximaNexusRequesterUserId, options) {
748
- return localVarFp.search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, xProximaNexusRequesterUserId, options).then((request) => request(axios, basePath));
826
+ search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, from, to, xProximaNexusRequesterUserId, options) {
827
+ return localVarFp.search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, from, to, xProximaNexusRequesterUserId, options).then((request) => request(axios, basePath));
749
828
  },
750
829
  /**
751
830
  *
@@ -825,16 +904,28 @@ class GroupApi extends base_1.BaseAPI {
825
904
  getConnections(groupId, state, type, xProximaNexusRequesterUserId, options) {
826
905
  return (0, exports.GroupApiFp)(this.configuration).getConnections(groupId, state, type, xProximaNexusRequesterUserId, options).then((request) => request(this.axios, this.basePath));
827
906
  }
907
+ /**
908
+ *
909
+ * @summary Get event series of a group
910
+ * @param {string} groupId
911
+ * @param {*} [options] Override http request option.
912
+ * @throws {RequiredError}
913
+ */
914
+ getEventSeries(groupId, options) {
915
+ return (0, exports.GroupApiFp)(this.configuration).getEventSeries(groupId, options).then((request) => request(this.axios, this.basePath));
916
+ }
828
917
  /**
829
918
  *
830
919
  * @summary Get events of a group
831
920
  * @param {string} groupId
921
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
922
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
832
923
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
833
924
  * @param {*} [options] Override http request option.
834
925
  * @throws {RequiredError}
835
926
  */
836
- getEvents(groupId, xProximaNexusRequesterUserId, options) {
837
- return (0, exports.GroupApiFp)(this.configuration).getEvents(groupId, xProximaNexusRequesterUserId, options).then((request) => request(this.axios, this.basePath));
927
+ getEvents(groupId, from, to, xProximaNexusRequesterUserId, options) {
928
+ return (0, exports.GroupApiFp)(this.configuration).getEvents(groupId, from, to, xProximaNexusRequesterUserId, options).then((request) => request(this.axios, this.basePath));
838
929
  }
839
930
  /**
840
931
  *
@@ -872,12 +963,14 @@ class GroupApi extends base_1.BaseAPI {
872
963
  * @param {number} [minLongitude] Minimum longitude for bounding box
873
964
  * @param {number} [maxLongitude] Maximum longitude for bounding box
874
965
  * @param {number} [limit] Limit results (1-1000)
966
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
967
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
875
968
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.
876
969
  * @param {*} [options] Override http request option.
877
970
  * @throws {RequiredError}
878
971
  */
879
- search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, xProximaNexusRequesterUserId, options) {
880
- return (0, exports.GroupApiFp)(this.configuration).search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, xProximaNexusRequesterUserId, options).then((request) => request(this.axios, this.basePath));
972
+ search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, from, to, xProximaNexusRequesterUserId, options) {
973
+ return (0, exports.GroupApiFp)(this.configuration).search(displayName, latitude, longitude, radius, minLatitude, maxLatitude, minLongitude, maxLongitude, limit, from, to, xProximaNexusRequesterUserId, options).then((request) => request(this.axios, this.basePath));
881
974
  }
882
975
  /**
883
976
  *
@@ -78,11 +78,13 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
78
78
  *
79
79
  * @summary Get events of a user
80
80
  * @param {string} userId
81
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
82
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
81
83
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of a user. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
82
84
  * @param {*} [options] Override http request option.
83
85
  * @throws {RequiredError}
84
86
  */
85
- getEvents: (userId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
87
+ getEvents: (userId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
88
  /**
87
89
  *
88
90
  * @summary Get groups of a user
@@ -124,11 +126,13 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
124
126
  * @param {number} [minLongitude] Minimum longitude for bounding box
125
127
  * @param {number} [maxLongitude] Maximum longitude for bounding box
126
128
  * @param {number} [limit] Limit results (1-1000)
129
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
130
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
127
131
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for users. If set, users will be filtered to only include users that the user can see, and requesterConnection will be set on the results.
128
132
  * @param {*} [options] Override http request option.
129
133
  * @throws {RequiredError}
130
134
  */
131
- 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>;
135
+ search: (displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
132
136
  /**
133
137
  *
134
138
  * @summary Update a user
@@ -196,11 +200,13 @@ export declare const UserApiFp: (configuration?: Configuration) => {
196
200
  *
197
201
  * @summary Get events of a user
198
202
  * @param {string} userId
203
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
204
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
199
205
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of a user. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
200
206
  * @param {*} [options] Override http request option.
201
207
  * @throws {RequiredError}
202
208
  */
203
- getEvents(userId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventEntityConnectionDto>>>;
209
+ getEvents(userId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventEntityConnectionDto>>>;
204
210
  /**
205
211
  *
206
212
  * @summary Get groups of a user
@@ -242,11 +248,13 @@ export declare const UserApiFp: (configuration?: Configuration) => {
242
248
  * @param {number} [minLongitude] Minimum longitude for bounding box
243
249
  * @param {number} [maxLongitude] Maximum longitude for bounding box
244
250
  * @param {number} [limit] Limit results (1-1000)
251
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
252
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
245
253
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for users. If set, users will be filtered to only include users that the user can see, and requesterConnection will be set on the results.
246
254
  * @param {*} [options] Override http request option.
247
255
  * @throws {RequiredError}
248
256
  */
249
- 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<UserDto>>>;
257
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserDto>>>;
250
258
  /**
251
259
  *
252
260
  * @summary Update a user
@@ -314,11 +322,13 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
314
322
  *
315
323
  * @summary Get events of a user
316
324
  * @param {string} userId
325
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
326
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
317
327
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of a user. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
318
328
  * @param {*} [options] Override http request option.
319
329
  * @throws {RequiredError}
320
330
  */
321
- getEvents(userId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
331
+ getEvents(userId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
322
332
  /**
323
333
  *
324
334
  * @summary Get groups of a user
@@ -360,11 +370,13 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
360
370
  * @param {number} [minLongitude] Minimum longitude for bounding box
361
371
  * @param {number} [maxLongitude] Maximum longitude for bounding box
362
372
  * @param {number} [limit] Limit results (1-1000)
373
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
374
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
363
375
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for users. If set, users will be filtered to only include users that the user can see, and requesterConnection will be set on the results.
364
376
  * @param {*} [options] Override http request option.
365
377
  * @throws {RequiredError}
366
378
  */
367
- 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<UserDto>>;
379
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserDto>>;
368
380
  /**
369
381
  *
370
382
  * @summary Update a user
@@ -432,11 +444,13 @@ export interface UserApiInterface {
432
444
  *
433
445
  * @summary Get events of a user
434
446
  * @param {string} userId
447
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
448
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
435
449
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of a user. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
436
450
  * @param {*} [options] Override http request option.
437
451
  * @throws {RequiredError}
438
452
  */
439
- getEvents(userId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
453
+ getEvents(userId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
440
454
  /**
441
455
  *
442
456
  * @summary Get groups of a user
@@ -478,11 +492,13 @@ export interface UserApiInterface {
478
492
  * @param {number} [minLongitude] Minimum longitude for bounding box
479
493
  * @param {number} [maxLongitude] Maximum longitude for bounding box
480
494
  * @param {number} [limit] Limit results (1-1000)
495
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
496
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
481
497
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for users. If set, users will be filtered to only include users that the user can see, and requesterConnection will be set on the results.
482
498
  * @param {*} [options] Override http request option.
483
499
  * @throws {RequiredError}
484
500
  */
485
- 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<UserDto>>;
501
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserDto>>;
486
502
  /**
487
503
  *
488
504
  * @summary Update a user
@@ -550,11 +566,13 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
550
566
  *
551
567
  * @summary Get events of a user
552
568
  * @param {string} userId
569
+ * @param {string} [from] ISO 8601 start of range (events ending after this time). Default: NOW()
570
+ * @param {string} [to] ISO 8601 end of range (events starting before this time)
553
571
  * @param {string} [xProximaNexusRequesterUserId] ID of the user getting events of a user. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.
554
572
  * @param {*} [options] Override http request option.
555
573
  * @throws {RequiredError}
556
574
  */
557
- getEvents(userId: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventEntityConnectionDto[], any, {}>>;
575
+ getEvents(userId: string, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventEntityConnectionDto[], any, {}>>;
558
576
  /**
559
577
  *
560
578
  * @summary Get groups of a user
@@ -596,11 +614,13 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
596
614
  * @param {number} [minLongitude] Minimum longitude for bounding box
597
615
  * @param {number} [maxLongitude] Maximum longitude for bounding box
598
616
  * @param {number} [limit] Limit results (1-1000)
617
+ * @param {string} [from] ISO 8601 date — filter events ending after this time
618
+ * @param {string} [to] ISO 8601 date — filter events starting before this time
599
619
  * @param {string} [xProximaNexusRequesterUserId] ID of the user searching for users. If set, users will be filtered to only include users that the user can see, and requesterConnection will be set on the results.
600
620
  * @param {*} [options] Override http request option.
601
621
  * @throws {RequiredError}
602
622
  */
603
- 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<UserDto[], any, {}>>;
623
+ search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, from?: string, to?: string, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto[], any, {}>>;
604
624
  /**
605
625
  *
606
626
  * @summary Update a user