@proxima-nexus/sdk-typescript 2.3.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.
- package/CHANGELOG.md +8 -0
- package/dist/api/event-series-api.d.ts +41 -0
- package/dist/api/event-series-api.js +66 -0
- package/dist/api/group-api.d.ts +41 -0
- package/dist/api/group-api.js +65 -0
- package/dist/enhanced/enhanced-event-series-api.d.ts +1 -0
- package/dist/enhanced/enhanced-event-series-api.js +3 -0
- package/dist/enhanced/enhanced-group-api.d.ts +2 -1
- package/dist/enhanced/enhanced-group-api.js +3 -0
- package/dist/models/event-series-entity-connection-dto.d.ts +49 -0
- package/dist/models/event-series-entity-connection-dto.js +34 -0
- package/dist/models/get-event-series-dto.d.ts +17 -0
- package/dist/models/get-event-series-dto.js +15 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ 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.0] - 2026-03-04
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Batch lookup for **event series** via a new `getBatch` method on `EventSeriesApi` and a corresponding `getBatch(seriesIds: string[])` helper on `EnhancedEventSeriesApi`.
|
|
13
|
+
- Group-level event series listing through `GroupApi.getEventSeries` and the enhanced helper `getGroupEventSeries` on `EnhancedGroupApi`.
|
|
14
|
+
- New DTOs for series queries and connections: `GetEventSeriesDto` and `EventSeriesEntityConnectionDto` (both exported from the models index).
|
|
15
|
+
|
|
8
16
|
## [2.3.0] - 2026-03-02
|
|
9
17
|
|
|
10
18
|
### Added
|
|
@@ -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
|
package/dist/api/group-api.d.ts
CHANGED
|
@@ -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
|
package/dist/api/group-api.js
CHANGED
|
@@ -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;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
member = "member",
|
|
39
|
+
friend = "friend",
|
|
40
|
+
blocked = "blocked",
|
|
41
|
+
none = "none"
|
|
42
|
+
}
|
|
43
|
+
export declare enum EventSeriesEntityConnectionDtoStateEnum {
|
|
44
|
+
incoming_request = "incoming_request",
|
|
45
|
+
outgoing_request = "outgoing_request",
|
|
46
|
+
active = "active",
|
|
47
|
+
requested = "requested",
|
|
48
|
+
invited = "invited"
|
|
49
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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["member"] = "member";
|
|
23
|
+
EventSeriesEntityConnectionDtoTypeEnum["friend"] = "friend";
|
|
24
|
+
EventSeriesEntityConnectionDtoTypeEnum["blocked"] = "blocked";
|
|
25
|
+
EventSeriesEntityConnectionDtoTypeEnum["none"] = "none";
|
|
26
|
+
})(EventSeriesEntityConnectionDtoTypeEnum || (exports.EventSeriesEntityConnectionDtoTypeEnum = EventSeriesEntityConnectionDtoTypeEnum = {}));
|
|
27
|
+
var EventSeriesEntityConnectionDtoStateEnum;
|
|
28
|
+
(function (EventSeriesEntityConnectionDtoStateEnum) {
|
|
29
|
+
EventSeriesEntityConnectionDtoStateEnum["incoming_request"] = "incoming_request";
|
|
30
|
+
EventSeriesEntityConnectionDtoStateEnum["outgoing_request"] = "outgoing_request";
|
|
31
|
+
EventSeriesEntityConnectionDtoStateEnum["active"] = "active";
|
|
32
|
+
EventSeriesEntityConnectionDtoStateEnum["requested"] = "requested";
|
|
33
|
+
EventSeriesEntityConnectionDtoStateEnum["invited"] = "invited";
|
|
34
|
+
})(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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|