@proxima-nexus/sdk-typescript 2.3.0 → 2.4.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ All notable changes to the Proxima Nexus TypeScript SDK are documented in this f
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.4.1] - 2026-03-04
9
+
10
+ ### Added
11
+
12
+ - New `associated_group` connection type across entity connection enums (`EntityConnectionDtoTypeEnum`, `EventEntityConnectionDtoTypeEnum`, `EventSeriesEntityConnectionDtoTypeEnum`, `GroupEntityConnectionDtoTypeEnum`, `UserEntityConnectionDtoTypeEnum`, and `MutateEventEntityConnectionDtoTypeEnum`) to represent events and series associated with a group.
13
+ - Updated `EventControllerGetConnectionsTypeEnum` to include `associated_group`, keeping controller-level connection filters aligned with the DTOs.
14
+
15
+ ## [2.4.0] - 2026-03-04
16
+
17
+ ### Added
18
+
19
+ - Batch lookup for **event series** via a new `getBatch` method on `EventSeriesApi` and a corresponding `getBatch(seriesIds: string[])` helper on `EnhancedEventSeriesApi`.
20
+ - Group-level event series listing through `GroupApi.getEventSeries` and the enhanced helper `getGroupEventSeries` on `EnhancedGroupApi`.
21
+ - New DTOs for series queries and connections: `GetEventSeriesDto` and `EventSeriesEntityConnectionDto` (both exported from the models index).
22
+
8
23
  ## [2.3.0] - 2026-03-02
9
24
 
10
25
  ### Added
@@ -532,5 +532,6 @@ export declare class EventApi extends BaseAPI implements EventApiInterface {
532
532
  export declare enum EventControllerGetConnectionsTypeEnum {
533
533
  attendee = "attendee",
534
534
  admin = "admin",
535
- owner = "owner"
535
+ owner = "owner",
536
+ associated_group = "associated_group"
536
537
  }
@@ -833,4 +833,5 @@ var EventControllerGetConnectionsTypeEnum;
833
833
  EventControllerGetConnectionsTypeEnum["attendee"] = "attendee";
834
834
  EventControllerGetConnectionsTypeEnum["admin"] = "admin";
835
835
  EventControllerGetConnectionsTypeEnum["owner"] = "owner";
836
+ EventControllerGetConnectionsTypeEnum["associated_group"] = "associated_group";
836
837
  })(EventControllerGetConnectionsTypeEnum || (exports.EventControllerGetConnectionsTypeEnum = EventControllerGetConnectionsTypeEnum = {}));
@@ -15,6 +15,7 @@ import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { CreateEventSeriesDto } from '../models';
16
16
  import type { EventDto } from '../models';
17
17
  import type { EventSeriesDto } from '../models';
18
+ import type { GetEventSeriesDto } from '../models';
18
19
  import type { UpdateEventSeriesDto } from '../models';
19
20
  /**
20
21
  * EventSeriesApi - axios parameter creator
@@ -37,6 +38,14 @@ export declare const EventSeriesApiAxiosParamCreator: (configuration?: Configura
37
38
  * @throws {RequiredError}
38
39
  */
39
40
  get: (seriesId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ *
43
+ * @summary Get a batch of event series by IDs
44
+ * @param {GetEventSeriesDto} getEventSeriesDto
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ getBatch: (getEventSeriesDto: GetEventSeriesDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
49
  /**
41
50
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
42
51
  * @summary List event instances in a series
@@ -88,6 +97,14 @@ export declare const EventSeriesApiFp: (configuration?: Configuration) => {
88
97
  * @throws {RequiredError}
89
98
  */
90
99
  get(seriesId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventSeriesDto>>;
100
+ /**
101
+ *
102
+ * @summary Get a batch of event series by IDs
103
+ * @param {GetEventSeriesDto} getEventSeriesDto
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ getBatch(getEventSeriesDto: GetEventSeriesDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventSeriesDto>>>;
91
108
  /**
92
109
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
93
110
  * @summary List event instances in a series
@@ -139,6 +156,14 @@ export declare const EventSeriesApiFactory: (configuration?: Configuration, base
139
156
  * @throws {RequiredError}
140
157
  */
141
158
  get(seriesId: string, options?: RawAxiosRequestConfig): AxiosPromise<EventSeriesDto>;
159
+ /**
160
+ *
161
+ * @summary Get a batch of event series by IDs
162
+ * @param {GetEventSeriesDto} getEventSeriesDto
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ getBatch(getEventSeriesDto: GetEventSeriesDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventSeriesDto>>;
142
167
  /**
143
168
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
144
169
  * @summary List event instances in a series
@@ -190,6 +215,14 @@ export interface EventSeriesApiInterface {
190
215
  * @throws {RequiredError}
191
216
  */
192
217
  get(seriesId: string, options?: RawAxiosRequestConfig): AxiosPromise<EventSeriesDto>;
218
+ /**
219
+ *
220
+ * @summary Get a batch of event series by IDs
221
+ * @param {GetEventSeriesDto} getEventSeriesDto
222
+ * @param {*} [options] Override http request option.
223
+ * @throws {RequiredError}
224
+ */
225
+ getBatch(getEventSeriesDto: GetEventSeriesDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventSeriesDto>>;
193
226
  /**
194
227
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
195
228
  * @summary List event instances in a series
@@ -241,6 +274,14 @@ export declare class EventSeriesApi extends BaseAPI implements EventSeriesApiInt
241
274
  * @throws {RequiredError}
242
275
  */
243
276
  get(seriesId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventSeriesDto, any, {}>>;
277
+ /**
278
+ *
279
+ * @summary Get a batch of event series by IDs
280
+ * @param {GetEventSeriesDto} getEventSeriesDto
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ */
284
+ getBatch(getEventSeriesDto: GetEventSeriesDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventSeriesDto[], any, {}>>;
244
285
  /**
245
286
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
246
287
  * @summary List event instances in a series
@@ -99,6 +99,39 @@ const EventSeriesApiAxiosParamCreator = function (configuration) {
99
99
  options: localVarRequestOptions,
100
100
  };
101
101
  },
102
+ /**
103
+ *
104
+ * @summary Get a batch of event series by IDs
105
+ * @param {GetEventSeriesDto} getEventSeriesDto
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ getBatch: async (getEventSeriesDto, options = {}) => {
110
+ // verify required parameter 'getEventSeriesDto' is not null or undefined
111
+ (0, common_1.assertParamExists)('getBatch', 'getEventSeriesDto', getEventSeriesDto);
112
+ const localVarPath = `/event-series/batch`;
113
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
114
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
115
+ let baseOptions;
116
+ if (configuration) {
117
+ baseOptions = configuration.baseOptions;
118
+ }
119
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
120
+ const localVarHeaderParameter = {};
121
+ const localVarQueryParameter = {};
122
+ // authentication api_key required
123
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Proxima-Nexus-Api-Key", configuration);
124
+ localVarHeaderParameter['Content-Type'] = 'application/json';
125
+ localVarHeaderParameter['Accept'] = 'application/json';
126
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
127
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
129
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getEventSeriesDto, localVarRequestOptions, configuration);
130
+ return {
131
+ url: (0, common_1.toPathString)(localVarUrlObj),
132
+ options: localVarRequestOptions,
133
+ };
134
+ },
102
135
  /**
103
136
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
104
137
  * @summary List event instances in a series
@@ -255,6 +288,19 @@ const EventSeriesApiFp = function (configuration) {
255
288
  const localVarOperationServerBasePath = base_1.operationServerMap['EventSeriesApi.get']?.[localVarOperationServerIndex]?.url;
256
289
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
257
290
  },
291
+ /**
292
+ *
293
+ * @summary Get a batch of event series by IDs
294
+ * @param {GetEventSeriesDto} getEventSeriesDto
295
+ * @param {*} [options] Override http request option.
296
+ * @throws {RequiredError}
297
+ */
298
+ async getBatch(getEventSeriesDto, options) {
299
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBatch(getEventSeriesDto, options);
300
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
301
+ const localVarOperationServerBasePath = base_1.operationServerMap['EventSeriesApi.getBatch']?.[localVarOperationServerIndex]?.url;
302
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
303
+ },
258
304
  /**
259
305
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
260
306
  * @summary List event instances in a series
@@ -329,6 +375,16 @@ const EventSeriesApiFactory = function (configuration, basePath, axios) {
329
375
  get(seriesId, options) {
330
376
  return localVarFp.get(seriesId, options).then((request) => request(axios, basePath));
331
377
  },
378
+ /**
379
+ *
380
+ * @summary Get a batch of event series by IDs
381
+ * @param {GetEventSeriesDto} getEventSeriesDto
382
+ * @param {*} [options] Override http request option.
383
+ * @throws {RequiredError}
384
+ */
385
+ getBatch(getEventSeriesDto, options) {
386
+ return localVarFp.getBatch(getEventSeriesDto, options).then((request) => request(axios, basePath));
387
+ },
332
388
  /**
333
389
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
334
390
  * @summary List event instances in a series
@@ -392,6 +448,16 @@ class EventSeriesApi extends base_1.BaseAPI {
392
448
  get(seriesId, options) {
393
449
  return (0, exports.EventSeriesApiFp)(this.configuration).get(seriesId, options).then((request) => request(this.axios, this.basePath));
394
450
  }
451
+ /**
452
+ *
453
+ * @summary Get a batch of event series by IDs
454
+ * @param {GetEventSeriesDto} getEventSeriesDto
455
+ * @param {*} [options] Override http request option.
456
+ * @throws {RequiredError}
457
+ */
458
+ getBatch(getEventSeriesDto, options) {
459
+ return (0, exports.EventSeriesApiFp)(this.configuration).getBatch(getEventSeriesDto, options).then((request) => request(this.axios, this.basePath));
460
+ }
395
461
  /**
396
462
  * Returns event instances belonging to this series, ordered by start time. Defaults to only ongoing/upcoming instances.
397
463
  * @summary List event instances in a series
@@ -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,6 +74,14 @@ 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
@@ -187,6 +196,14 @@ export declare const GroupApiFp: (configuration?: Configuration) => {
187
196
  * @throws {RequiredError}
188
197
  */
189
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>>>;
190
207
  /**
191
208
  *
192
209
  * @summary Get events of a group
@@ -301,6 +318,14 @@ export declare const GroupApiFactory: (configuration?: Configuration, basePath?:
301
318
  * @throws {RequiredError}
302
319
  */
303
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>>;
304
329
  /**
305
330
  *
306
331
  * @summary Get events of a group
@@ -415,6 +440,14 @@ export interface GroupApiInterface {
415
440
  * @throws {RequiredError}
416
441
  */
417
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>>;
418
451
  /**
419
452
  *
420
453
  * @summary Get events of a group
@@ -529,6 +562,14 @@ export declare class GroupApi extends BaseAPI implements GroupApiInterface {
529
562
  * @throws {RequiredError}
530
563
  */
531
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, {}>>;
532
573
  /**
533
574
  *
534
575
  * @summary Get events of a group
@@ -231,6 +231,38 @@ 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
@@ -560,6 +592,19 @@ const GroupApiFp = function (configuration) {
560
592
  const localVarOperationServerBasePath = base_1.operationServerMap['GroupApi.getConnections']?.[localVarOperationServerIndex]?.url;
561
593
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
562
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
+ },
563
608
  /**
564
609
  *
565
610
  * @summary Get events of a group
@@ -713,6 +758,16 @@ const GroupApiFactory = function (configuration, basePath, axios) {
713
758
  getConnections(groupId, state, type, xProximaNexusRequesterUserId, options) {
714
759
  return localVarFp.getConnections(groupId, state, type, xProximaNexusRequesterUserId, options).then((request) => request(axios, basePath));
715
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
+ },
716
771
  /**
717
772
  *
718
773
  * @summary Get events of a group
@@ -849,6 +904,16 @@ class GroupApi extends base_1.BaseAPI {
849
904
  getConnections(groupId, state, type, xProximaNexusRequesterUserId, options) {
850
905
  return (0, exports.GroupApiFp)(this.configuration).getConnections(groupId, state, type, xProximaNexusRequesterUserId, options).then((request) => request(this.axios, this.basePath));
851
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
+ }
852
917
  /**
853
918
  *
854
919
  * @summary Get events of a group
@@ -8,4 +8,5 @@ export declare class EnhancedEventSeriesApi {
8
8
  updateSeries(seriesId: string, requesterUserId: string, data: UpdateEventSeriesDto): Promise<string>;
9
9
  deleteSeries(seriesId: string, requesterUserId: string): Promise<void>;
10
10
  getInstances(seriesId: string, from?: string, to?: string): Promise<EventDto[]>;
11
+ getBatch(seriesIds: string[]): Promise<EventSeriesDto[]>;
11
12
  }
@@ -21,5 +21,8 @@ class EnhancedEventSeriesApi {
21
21
  async getInstances(seriesId, from, to) {
22
22
  return (0, errors_1.unwrap)(this.api.getInstances(seriesId, from, to));
23
23
  }
24
+ async getBatch(seriesIds) {
25
+ return (0, errors_1.unwrap)(this.api.getBatch({ seriesIds }));
26
+ }
24
27
  }
25
28
  exports.EnhancedEventSeriesApi = EnhancedEventSeriesApi;
@@ -1,5 +1,5 @@
1
1
  import type { GroupApi } from '../api/group-api';
2
- import type { CreateGroupDto, EntityConnectionDto, EventEntityConnectionDto, GroupDto, UpdateGroupDto, UserEntityConnectionDto } from '../models';
2
+ import type { CreateGroupDto, EntityConnectionDto, EventEntityConnectionDto, EventSeriesEntityConnectionDto, GroupDto, UpdateGroupDto, UserEntityConnectionDto } from '../models';
3
3
  export declare class EnhancedGroupApi {
4
4
  private readonly api;
5
5
  constructor(api: GroupApi);
@@ -23,4 +23,5 @@ export declare class EnhancedGroupApi {
23
23
  getAdmins(groupId: string, requesterUserId?: string): Promise<UserEntityConnectionDto[]>;
24
24
  getOwner(groupId: string, requesterUserId?: string): Promise<UserEntityConnectionDto | undefined>;
25
25
  getEvents(groupId: string, from?: string, to?: string, requesterUserId?: string): Promise<EventEntityConnectionDto[]>;
26
+ getGroupEventSeries(groupId: string): Promise<EventSeriesEntityConnectionDto[]>;
26
27
  }
@@ -73,5 +73,8 @@ class EnhancedGroupApi {
73
73
  async getEvents(groupId, from, to, requesterUserId) {
74
74
  return (0, errors_1.unwrap)(this.api.getEvents(groupId, from, to, requesterUserId));
75
75
  }
76
+ async getGroupEventSeries(groupId) {
77
+ return (0, errors_1.unwrap)(this.api.getEventSeries(groupId));
78
+ }
76
79
  }
77
80
  exports.EnhancedGroupApi = EnhancedGroupApi;
@@ -31,6 +31,7 @@ export declare enum EntityConnectionDtoTypeEnum {
31
31
  attendee = "attendee",
32
32
  admin = "admin",
33
33
  owner = "owner",
34
+ associated_group = "associated_group",
34
35
  member = "member",
35
36
  friend = "friend",
36
37
  blocked = "blocked",
@@ -19,6 +19,7 @@ var EntityConnectionDtoTypeEnum;
19
19
  EntityConnectionDtoTypeEnum["attendee"] = "attendee";
20
20
  EntityConnectionDtoTypeEnum["admin"] = "admin";
21
21
  EntityConnectionDtoTypeEnum["owner"] = "owner";
22
+ EntityConnectionDtoTypeEnum["associated_group"] = "associated_group";
22
23
  EntityConnectionDtoTypeEnum["member"] = "member";
23
24
  EntityConnectionDtoTypeEnum["friend"] = "friend";
24
25
  EntityConnectionDtoTypeEnum["blocked"] = "blocked";
@@ -35,6 +35,7 @@ export declare enum EventEntityConnectionDtoTypeEnum {
35
35
  attendee = "attendee",
36
36
  admin = "admin",
37
37
  owner = "owner",
38
+ associated_group = "associated_group",
38
39
  member = "member",
39
40
  friend = "friend",
40
41
  blocked = "blocked",
@@ -19,6 +19,7 @@ var EventEntityConnectionDtoTypeEnum;
19
19
  EventEntityConnectionDtoTypeEnum["attendee"] = "attendee";
20
20
  EventEntityConnectionDtoTypeEnum["admin"] = "admin";
21
21
  EventEntityConnectionDtoTypeEnum["owner"] = "owner";
22
+ EventEntityConnectionDtoTypeEnum["associated_group"] = "associated_group";
22
23
  EventEntityConnectionDtoTypeEnum["member"] = "member";
23
24
  EventEntityConnectionDtoTypeEnum["friend"] = "friend";
24
25
  EventEntityConnectionDtoTypeEnum["blocked"] = "blocked";
@@ -0,0 +1,50 @@
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
+ export interface EventSeriesEntityConnectionDto {
13
+ /**
14
+ * Date/time the connection was created (ISO string)
15
+ */
16
+ 'createdAt'?: string;
17
+ /**
18
+ * Date/time the connection was last updated (ISO string)
19
+ */
20
+ 'updatedAt'?: string;
21
+ /**
22
+ * Connection type
23
+ */
24
+ 'type': EventSeriesEntityConnectionDtoTypeEnum;
25
+ /**
26
+ * Connection state
27
+ */
28
+ 'state'?: EventSeriesEntityConnectionDtoStateEnum;
29
+ /**
30
+ * Event series ID
31
+ */
32
+ 'seriesId': string;
33
+ }
34
+ export declare enum EventSeriesEntityConnectionDtoTypeEnum {
35
+ attendee = "attendee",
36
+ admin = "admin",
37
+ owner = "owner",
38
+ associated_group = "associated_group",
39
+ member = "member",
40
+ friend = "friend",
41
+ blocked = "blocked",
42
+ none = "none"
43
+ }
44
+ export declare enum EventSeriesEntityConnectionDtoStateEnum {
45
+ incoming_request = "incoming_request",
46
+ outgoing_request = "outgoing_request",
47
+ active = "active",
48
+ requested = "requested",
49
+ invited = "invited"
50
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * proxima-nexus-data-plane-api
6
+ * Proxima Nexus Data Plane API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.EventSeriesEntityConnectionDtoStateEnum = exports.EventSeriesEntityConnectionDtoTypeEnum = void 0;
17
+ var EventSeriesEntityConnectionDtoTypeEnum;
18
+ (function (EventSeriesEntityConnectionDtoTypeEnum) {
19
+ EventSeriesEntityConnectionDtoTypeEnum["attendee"] = "attendee";
20
+ EventSeriesEntityConnectionDtoTypeEnum["admin"] = "admin";
21
+ EventSeriesEntityConnectionDtoTypeEnum["owner"] = "owner";
22
+ EventSeriesEntityConnectionDtoTypeEnum["associated_group"] = "associated_group";
23
+ EventSeriesEntityConnectionDtoTypeEnum["member"] = "member";
24
+ EventSeriesEntityConnectionDtoTypeEnum["friend"] = "friend";
25
+ EventSeriesEntityConnectionDtoTypeEnum["blocked"] = "blocked";
26
+ EventSeriesEntityConnectionDtoTypeEnum["none"] = "none";
27
+ })(EventSeriesEntityConnectionDtoTypeEnum || (exports.EventSeriesEntityConnectionDtoTypeEnum = EventSeriesEntityConnectionDtoTypeEnum = {}));
28
+ var EventSeriesEntityConnectionDtoStateEnum;
29
+ (function (EventSeriesEntityConnectionDtoStateEnum) {
30
+ EventSeriesEntityConnectionDtoStateEnum["incoming_request"] = "incoming_request";
31
+ EventSeriesEntityConnectionDtoStateEnum["outgoing_request"] = "outgoing_request";
32
+ EventSeriesEntityConnectionDtoStateEnum["active"] = "active";
33
+ EventSeriesEntityConnectionDtoStateEnum["requested"] = "requested";
34
+ EventSeriesEntityConnectionDtoStateEnum["invited"] = "invited";
35
+ })(EventSeriesEntityConnectionDtoStateEnum || (exports.EventSeriesEntityConnectionDtoStateEnum = EventSeriesEntityConnectionDtoStateEnum = {}));
@@ -0,0 +1,17 @@
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
+ export interface GetEventSeriesDto {
13
+ /**
14
+ * The IDs of the event series
15
+ */
16
+ 'seriesIds': Array<string>;
17
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * proxima-nexus-data-plane-api
6
+ * Proxima Nexus Data Plane API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -35,6 +35,7 @@ export declare enum GroupEntityConnectionDtoTypeEnum {
35
35
  attendee = "attendee",
36
36
  admin = "admin",
37
37
  owner = "owner",
38
+ associated_group = "associated_group",
38
39
  member = "member",
39
40
  friend = "friend",
40
41
  blocked = "blocked",
@@ -19,6 +19,7 @@ var GroupEntityConnectionDtoTypeEnum;
19
19
  GroupEntityConnectionDtoTypeEnum["attendee"] = "attendee";
20
20
  GroupEntityConnectionDtoTypeEnum["admin"] = "admin";
21
21
  GroupEntityConnectionDtoTypeEnum["owner"] = "owner";
22
+ GroupEntityConnectionDtoTypeEnum["associated_group"] = "associated_group";
22
23
  GroupEntityConnectionDtoTypeEnum["member"] = "member";
23
24
  GroupEntityConnectionDtoTypeEnum["friend"] = "friend";
24
25
  GroupEntityConnectionDtoTypeEnum["blocked"] = "blocked";
@@ -6,6 +6,8 @@ export * from './entity-connection-dto';
6
6
  export * from './event-dto';
7
7
  export * from './event-entity-connection-dto';
8
8
  export * from './event-series-dto';
9
+ export * from './event-series-entity-connection-dto';
10
+ export * from './get-event-series-dto';
9
11
  export * from './get-events-dto';
10
12
  export * from './get-groups-dto';
11
13
  export * from './get-users-dto';
@@ -22,6 +22,8 @@ __exportStar(require("./entity-connection-dto"), exports);
22
22
  __exportStar(require("./event-dto"), exports);
23
23
  __exportStar(require("./event-entity-connection-dto"), exports);
24
24
  __exportStar(require("./event-series-dto"), exports);
25
+ __exportStar(require("./event-series-entity-connection-dto"), exports);
26
+ __exportStar(require("./get-event-series-dto"), exports);
25
27
  __exportStar(require("./get-events-dto"), exports);
26
28
  __exportStar(require("./get-groups-dto"), exports);
27
29
  __exportStar(require("./get-users-dto"), exports);
@@ -18,5 +18,6 @@ export interface MutateEventEntityConnectionDto {
18
18
  export declare enum MutateEventEntityConnectionDtoTypeEnum {
19
19
  attendee = "attendee",
20
20
  admin = "admin",
21
- owner = "owner"
21
+ owner = "owner",
22
+ associated_group = "associated_group"
22
23
  }
@@ -19,4 +19,5 @@ var MutateEventEntityConnectionDtoTypeEnum;
19
19
  MutateEventEntityConnectionDtoTypeEnum["attendee"] = "attendee";
20
20
  MutateEventEntityConnectionDtoTypeEnum["admin"] = "admin";
21
21
  MutateEventEntityConnectionDtoTypeEnum["owner"] = "owner";
22
+ MutateEventEntityConnectionDtoTypeEnum["associated_group"] = "associated_group";
22
23
  })(MutateEventEntityConnectionDtoTypeEnum || (exports.MutateEventEntityConnectionDtoTypeEnum = MutateEventEntityConnectionDtoTypeEnum = {}));
@@ -35,6 +35,7 @@ export declare enum UserEntityConnectionDtoTypeEnum {
35
35
  attendee = "attendee",
36
36
  admin = "admin",
37
37
  owner = "owner",
38
+ associated_group = "associated_group",
38
39
  member = "member",
39
40
  friend = "friend",
40
41
  blocked = "blocked",
@@ -19,6 +19,7 @@ var UserEntityConnectionDtoTypeEnum;
19
19
  UserEntityConnectionDtoTypeEnum["attendee"] = "attendee";
20
20
  UserEntityConnectionDtoTypeEnum["admin"] = "admin";
21
21
  UserEntityConnectionDtoTypeEnum["owner"] = "owner";
22
+ UserEntityConnectionDtoTypeEnum["associated_group"] = "associated_group";
22
23
  UserEntityConnectionDtoTypeEnum["member"] = "member";
23
24
  UserEntityConnectionDtoTypeEnum["friend"] = "friend";
24
25
  UserEntityConnectionDtoTypeEnum["blocked"] = "blocked";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proxima-nexus/sdk-typescript",
3
- "version": "2.3.0",
3
+ "version": "2.4.1",
4
4
  "description": "TypeScript SDK for Proxima Nexus Data Plane API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",