@proxima-nexus/sdk-typescript 2.1.0 → 2.2.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 +25 -0
- package/README.md +0 -2
- package/dist/api/event-api.d.ts +5 -5
- package/dist/api/event-api.js +4 -4
- package/dist/api/event-series-api.d.ts +263 -0
- package/dist/api/event-series-api.js +417 -0
- package/dist/api/group-api.d.ts +1 -2
- package/dist/api/group-api.js +1 -2
- package/dist/api/user-api.d.ts +3 -4
- package/dist/api/user-api.js +2 -3
- package/dist/enhanced/enhanced-event-series-api.d.ts +11 -0
- package/dist/enhanced/enhanced-event-series-api.js +25 -0
- package/dist/enhanced/enhanced-group-api.js +5 -1
- package/dist/enhanced/enhanced-user-api.js +5 -2
- package/dist/enhanced/index.d.ts +3 -0
- package/dist/enhanced/index.js +6 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +5 -1
- package/dist/models/create-event-series-dto.d.ts +75 -0
- package/dist/models/create-event-series-dto.js +22 -0
- package/dist/models/entity-connection-dto.d.ts +11 -12
- package/dist/models/entity-connection-dto.js +9 -10
- package/dist/models/event-dto.d.ts +4 -0
- package/dist/models/event-entity-connection-dto.d.ts +11 -12
- package/dist/models/event-entity-connection-dto.js +9 -10
- package/dist/models/event-series-dto.d.ts +87 -0
- package/dist/models/event-series-dto.js +21 -0
- package/dist/models/group-entity-connection-dto.d.ts +11 -12
- package/dist/models/group-entity-connection-dto.js +9 -10
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/update-event-dto.d.ts +4 -4
- package/dist/models/update-event-series-dto.d.ts +47 -0
- package/dist/models/update-event-series-dto.js +22 -0
- package/dist/models/update-group-dto.d.ts +1 -1
- package/dist/models/update-user-dto.d.ts +1 -1
- package/dist/models/user-entity-connection-dto.d.ts +11 -12
- package/dist/models/user-entity-connection-dto.js +9 -10
- package/package.json +2 -2
|
@@ -0,0 +1,417 @@
|
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.EventSeriesApi = exports.EventSeriesApiFactory = exports.EventSeriesApiFp = exports.EventSeriesApiAxiosParamCreator = void 0;
|
|
20
|
+
const axios_1 = __importDefault(require("axios"));
|
|
21
|
+
// Some imports not used depending on template conditions
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const common_1 = require("../common");
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
const base_1 = require("../base");
|
|
26
|
+
/**
|
|
27
|
+
* EventSeriesApi - axios parameter creator
|
|
28
|
+
*/
|
|
29
|
+
const EventSeriesApiAxiosParamCreator = function (configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
* Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
|
|
33
|
+
* @summary Create an event series
|
|
34
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user creating the series
|
|
35
|
+
* @param {CreateEventSeriesDto} createEventSeriesDto
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
create: async (xProximaNexusRequesterUserId, createEventSeriesDto, options = {}) => {
|
|
40
|
+
// verify required parameter 'xProximaNexusRequesterUserId' is not null or undefined
|
|
41
|
+
(0, common_1.assertParamExists)('create', 'xProximaNexusRequesterUserId', xProximaNexusRequesterUserId);
|
|
42
|
+
// verify required parameter 'createEventSeriesDto' is not null or undefined
|
|
43
|
+
(0, common_1.assertParamExists)('create', 'createEventSeriesDto', createEventSeriesDto);
|
|
44
|
+
const localVarPath = `/event-series`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication api_key required
|
|
55
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Proxima-Nexus-Api-Key", configuration);
|
|
56
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58
|
+
if (xProximaNexusRequesterUserId != null) {
|
|
59
|
+
localVarHeaderParameter['X-Proxima-Nexus-Requester-User-Id'] = String(xProximaNexusRequesterUserId);
|
|
60
|
+
}
|
|
61
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
62
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
64
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createEventSeriesDto, localVarRequestOptions, configuration);
|
|
65
|
+
return {
|
|
66
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
67
|
+
options: localVarRequestOptions,
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Get an event series by ID
|
|
73
|
+
* @param {string} seriesId
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
get: async (seriesId, options = {}) => {
|
|
78
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
79
|
+
(0, common_1.assertParamExists)('get', 'seriesId', seriesId);
|
|
80
|
+
const localVarPath = `/event-series/{seriesId}`
|
|
81
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication api_key required
|
|
92
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Proxima-Nexus-Api-Key", configuration);
|
|
93
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
94
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
95
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
97
|
+
return {
|
|
98
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
99
|
+
options: localVarRequestOptions,
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
/**
|
|
103
|
+
* Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
|
|
104
|
+
* @summary List all event instances in a series
|
|
105
|
+
* @param {string} seriesId
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getInstances: async (seriesId, options = {}) => {
|
|
110
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('getInstances', 'seriesId', seriesId);
|
|
112
|
+
const localVarPath = `/event-series/{seriesId}/events`
|
|
113
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
116
|
+
let baseOptions;
|
|
117
|
+
if (configuration) {
|
|
118
|
+
baseOptions = configuration.baseOptions;
|
|
119
|
+
}
|
|
120
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
121
|
+
const localVarHeaderParameter = {};
|
|
122
|
+
const localVarQueryParameter = {};
|
|
123
|
+
// authentication api_key required
|
|
124
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Proxima-Nexus-Api-Key", configuration);
|
|
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
|
+
return {
|
|
130
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
131
|
+
options: localVarRequestOptions,
|
|
132
|
+
};
|
|
133
|
+
},
|
|
134
|
+
/**
|
|
135
|
+
* Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
|
|
136
|
+
* @summary Delete an event series
|
|
137
|
+
* @param {string} seriesId
|
|
138
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
remove: async (seriesId, xProximaNexusRequesterUserId, options = {}) => {
|
|
143
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
144
|
+
(0, common_1.assertParamExists)('remove', 'seriesId', seriesId);
|
|
145
|
+
// verify required parameter 'xProximaNexusRequesterUserId' is not null or undefined
|
|
146
|
+
(0, common_1.assertParamExists)('remove', 'xProximaNexusRequesterUserId', xProximaNexusRequesterUserId);
|
|
147
|
+
const localVarPath = `/event-series/{seriesId}`
|
|
148
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
151
|
+
let baseOptions;
|
|
152
|
+
if (configuration) {
|
|
153
|
+
baseOptions = configuration.baseOptions;
|
|
154
|
+
}
|
|
155
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
156
|
+
const localVarHeaderParameter = {};
|
|
157
|
+
const localVarQueryParameter = {};
|
|
158
|
+
// authentication api_key required
|
|
159
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Proxima-Nexus-Api-Key", configuration);
|
|
160
|
+
if (xProximaNexusRequesterUserId != null) {
|
|
161
|
+
localVarHeaderParameter['X-Proxima-Nexus-Requester-User-Id'] = String(xProximaNexusRequesterUserId);
|
|
162
|
+
}
|
|
163
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
165
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
166
|
+
return {
|
|
167
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
168
|
+
options: localVarRequestOptions,
|
|
169
|
+
};
|
|
170
|
+
},
|
|
171
|
+
/**
|
|
172
|
+
* Updates the series definition and propagates metadata changes to all upcoming event instances. Fields that were individually overridden on a specific instance will not be overwritten.
|
|
173
|
+
* @summary Update an event series
|
|
174
|
+
* @param {string} seriesId
|
|
175
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user updating the series
|
|
176
|
+
* @param {UpdateEventSeriesDto} updateEventSeriesDto
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
update: async (seriesId, xProximaNexusRequesterUserId, updateEventSeriesDto, options = {}) => {
|
|
181
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
182
|
+
(0, common_1.assertParamExists)('update', 'seriesId', seriesId);
|
|
183
|
+
// verify required parameter 'xProximaNexusRequesterUserId' is not null or undefined
|
|
184
|
+
(0, common_1.assertParamExists)('update', 'xProximaNexusRequesterUserId', xProximaNexusRequesterUserId);
|
|
185
|
+
// verify required parameter 'updateEventSeriesDto' is not null or undefined
|
|
186
|
+
(0, common_1.assertParamExists)('update', 'updateEventSeriesDto', updateEventSeriesDto);
|
|
187
|
+
const localVarPath = `/event-series/{seriesId}`
|
|
188
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
189
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
190
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
191
|
+
let baseOptions;
|
|
192
|
+
if (configuration) {
|
|
193
|
+
baseOptions = configuration.baseOptions;
|
|
194
|
+
}
|
|
195
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
196
|
+
const localVarHeaderParameter = {};
|
|
197
|
+
const localVarQueryParameter = {};
|
|
198
|
+
// authentication api_key required
|
|
199
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Proxima-Nexus-Api-Key", configuration);
|
|
200
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
201
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
202
|
+
if (xProximaNexusRequesterUserId != null) {
|
|
203
|
+
localVarHeaderParameter['X-Proxima-Nexus-Requester-User-Id'] = String(xProximaNexusRequesterUserId);
|
|
204
|
+
}
|
|
205
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
206
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
207
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
208
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateEventSeriesDto, localVarRequestOptions, configuration);
|
|
209
|
+
return {
|
|
210
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
211
|
+
options: localVarRequestOptions,
|
|
212
|
+
};
|
|
213
|
+
},
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
exports.EventSeriesApiAxiosParamCreator = EventSeriesApiAxiosParamCreator;
|
|
217
|
+
/**
|
|
218
|
+
* EventSeriesApi - functional programming interface
|
|
219
|
+
*/
|
|
220
|
+
const EventSeriesApiFp = function (configuration) {
|
|
221
|
+
const localVarAxiosParamCreator = (0, exports.EventSeriesApiAxiosParamCreator)(configuration);
|
|
222
|
+
return {
|
|
223
|
+
/**
|
|
224
|
+
* Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
|
|
225
|
+
* @summary Create an event series
|
|
226
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user creating the series
|
|
227
|
+
* @param {CreateEventSeriesDto} createEventSeriesDto
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
async create(xProximaNexusRequesterUserId, createEventSeriesDto, options) {
|
|
232
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.create(xProximaNexusRequesterUserId, createEventSeriesDto, options);
|
|
233
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
234
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['EventSeriesApi.create']?.[localVarOperationServerIndex]?.url;
|
|
235
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
236
|
+
},
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @summary Get an event series by ID
|
|
240
|
+
* @param {string} seriesId
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
async get(seriesId, options) {
|
|
245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get(seriesId, options);
|
|
246
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
247
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['EventSeriesApi.get']?.[localVarOperationServerIndex]?.url;
|
|
248
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
249
|
+
},
|
|
250
|
+
/**
|
|
251
|
+
* Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
|
|
252
|
+
* @summary List all event instances in a series
|
|
253
|
+
* @param {string} seriesId
|
|
254
|
+
* @param {*} [options] Override http request option.
|
|
255
|
+
* @throws {RequiredError}
|
|
256
|
+
*/
|
|
257
|
+
async getInstances(seriesId, options) {
|
|
258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstances(seriesId, options);
|
|
259
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
260
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['EventSeriesApi.getInstances']?.[localVarOperationServerIndex]?.url;
|
|
261
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
262
|
+
},
|
|
263
|
+
/**
|
|
264
|
+
* Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
|
|
265
|
+
* @summary Delete an event series
|
|
266
|
+
* @param {string} seriesId
|
|
267
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
async remove(seriesId, xProximaNexusRequesterUserId, options) {
|
|
272
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.remove(seriesId, xProximaNexusRequesterUserId, options);
|
|
273
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
274
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['EventSeriesApi.remove']?.[localVarOperationServerIndex]?.url;
|
|
275
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
276
|
+
},
|
|
277
|
+
/**
|
|
278
|
+
* Updates the series definition and propagates metadata changes to all upcoming event instances. Fields that were individually overridden on a specific instance will not be overwritten.
|
|
279
|
+
* @summary Update an event series
|
|
280
|
+
* @param {string} seriesId
|
|
281
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user updating the series
|
|
282
|
+
* @param {UpdateEventSeriesDto} updateEventSeriesDto
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
*/
|
|
286
|
+
async update(seriesId, xProximaNexusRequesterUserId, updateEventSeriesDto, options) {
|
|
287
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.update(seriesId, xProximaNexusRequesterUserId, updateEventSeriesDto, options);
|
|
288
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
289
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['EventSeriesApi.update']?.[localVarOperationServerIndex]?.url;
|
|
290
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
291
|
+
},
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
exports.EventSeriesApiFp = EventSeriesApiFp;
|
|
295
|
+
/**
|
|
296
|
+
* EventSeriesApi - factory interface
|
|
297
|
+
*/
|
|
298
|
+
const EventSeriesApiFactory = function (configuration, basePath, axios) {
|
|
299
|
+
const localVarFp = (0, exports.EventSeriesApiFp)(configuration);
|
|
300
|
+
return {
|
|
301
|
+
/**
|
|
302
|
+
* Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
|
|
303
|
+
* @summary Create an event series
|
|
304
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user creating the series
|
|
305
|
+
* @param {CreateEventSeriesDto} createEventSeriesDto
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
create(xProximaNexusRequesterUserId, createEventSeriesDto, options) {
|
|
310
|
+
return localVarFp.create(xProximaNexusRequesterUserId, createEventSeriesDto, options).then((request) => request(axios, basePath));
|
|
311
|
+
},
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @summary Get an event series by ID
|
|
315
|
+
* @param {string} seriesId
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
*/
|
|
319
|
+
get(seriesId, options) {
|
|
320
|
+
return localVarFp.get(seriesId, options).then((request) => request(axios, basePath));
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
|
|
324
|
+
* @summary List all event instances in a series
|
|
325
|
+
* @param {string} seriesId
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
getInstances(seriesId, options) {
|
|
330
|
+
return localVarFp.getInstances(seriesId, options).then((request) => request(axios, basePath));
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
* Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
|
|
334
|
+
* @summary Delete an event series
|
|
335
|
+
* @param {string} seriesId
|
|
336
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
remove(seriesId, xProximaNexusRequesterUserId, options) {
|
|
341
|
+
return localVarFp.remove(seriesId, xProximaNexusRequesterUserId, options).then((request) => request(axios, basePath));
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
* Updates the series definition and propagates metadata changes to all upcoming event instances. Fields that were individually overridden on a specific instance will not be overwritten.
|
|
345
|
+
* @summary Update an event series
|
|
346
|
+
* @param {string} seriesId
|
|
347
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user updating the series
|
|
348
|
+
* @param {UpdateEventSeriesDto} updateEventSeriesDto
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
update(seriesId, xProximaNexusRequesterUserId, updateEventSeriesDto, options) {
|
|
353
|
+
return localVarFp.update(seriesId, xProximaNexusRequesterUserId, updateEventSeriesDto, options).then((request) => request(axios, basePath));
|
|
354
|
+
},
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
exports.EventSeriesApiFactory = EventSeriesApiFactory;
|
|
358
|
+
/**
|
|
359
|
+
* EventSeriesApi - object-oriented interface
|
|
360
|
+
*/
|
|
361
|
+
class EventSeriesApi extends base_1.BaseAPI {
|
|
362
|
+
/**
|
|
363
|
+
* Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
|
|
364
|
+
* @summary Create an event series
|
|
365
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user creating the series
|
|
366
|
+
* @param {CreateEventSeriesDto} createEventSeriesDto
|
|
367
|
+
* @param {*} [options] Override http request option.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
*/
|
|
370
|
+
create(xProximaNexusRequesterUserId, createEventSeriesDto, options) {
|
|
371
|
+
return (0, exports.EventSeriesApiFp)(this.configuration).create(xProximaNexusRequesterUserId, createEventSeriesDto, options).then((request) => request(this.axios, this.basePath));
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @summary Get an event series by ID
|
|
376
|
+
* @param {string} seriesId
|
|
377
|
+
* @param {*} [options] Override http request option.
|
|
378
|
+
* @throws {RequiredError}
|
|
379
|
+
*/
|
|
380
|
+
get(seriesId, options) {
|
|
381
|
+
return (0, exports.EventSeriesApiFp)(this.configuration).get(seriesId, options).then((request) => request(this.axios, this.basePath));
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
|
|
385
|
+
* @summary List all event instances in a series
|
|
386
|
+
* @param {string} seriesId
|
|
387
|
+
* @param {*} [options] Override http request option.
|
|
388
|
+
* @throws {RequiredError}
|
|
389
|
+
*/
|
|
390
|
+
getInstances(seriesId, options) {
|
|
391
|
+
return (0, exports.EventSeriesApiFp)(this.configuration).getInstances(seriesId, options).then((request) => request(this.axios, this.basePath));
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
|
|
395
|
+
* @summary Delete an event series
|
|
396
|
+
* @param {string} seriesId
|
|
397
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
|
|
398
|
+
* @param {*} [options] Override http request option.
|
|
399
|
+
* @throws {RequiredError}
|
|
400
|
+
*/
|
|
401
|
+
remove(seriesId, xProximaNexusRequesterUserId, options) {
|
|
402
|
+
return (0, exports.EventSeriesApiFp)(this.configuration).remove(seriesId, xProximaNexusRequesterUserId, options).then((request) => request(this.axios, this.basePath));
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Updates the series definition and propagates metadata changes to all upcoming event instances. Fields that were individually overridden on a specific instance will not be overwritten.
|
|
406
|
+
* @summary Update an event series
|
|
407
|
+
* @param {string} seriesId
|
|
408
|
+
* @param {string} xProximaNexusRequesterUserId ID of the user updating the series
|
|
409
|
+
* @param {UpdateEventSeriesDto} updateEventSeriesDto
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
update(seriesId, xProximaNexusRequesterUserId, updateEventSeriesDto, options) {
|
|
414
|
+
return (0, exports.EventSeriesApiFp)(this.configuration).update(seriesId, xProximaNexusRequesterUserId, updateEventSeriesDto, options).then((request) => request(this.axios, this.basePath));
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
exports.EventSeriesApi = EventSeriesApi;
|
package/dist/api/group-api.d.ts
CHANGED
|
@@ -573,8 +573,7 @@ export declare class GroupApi extends BaseAPI implements GroupApiInterface {
|
|
|
573
573
|
export declare enum GroupControllerGetConnectionsStateEnum {
|
|
574
574
|
requested = "requested",
|
|
575
575
|
active = "active",
|
|
576
|
-
|
|
577
|
-
blocked = "blocked"
|
|
576
|
+
invited = "invited"
|
|
578
577
|
}
|
|
579
578
|
export declare enum GroupControllerGetConnectionsTypeEnum {
|
|
580
579
|
member = "member",
|
package/dist/api/group-api.js
CHANGED
|
@@ -897,8 +897,7 @@ var GroupControllerGetConnectionsStateEnum;
|
|
|
897
897
|
(function (GroupControllerGetConnectionsStateEnum) {
|
|
898
898
|
GroupControllerGetConnectionsStateEnum["requested"] = "requested";
|
|
899
899
|
GroupControllerGetConnectionsStateEnum["active"] = "active";
|
|
900
|
-
GroupControllerGetConnectionsStateEnum["
|
|
901
|
-
GroupControllerGetConnectionsStateEnum["blocked"] = "blocked";
|
|
900
|
+
GroupControllerGetConnectionsStateEnum["invited"] = "invited";
|
|
902
901
|
})(GroupControllerGetConnectionsStateEnum || (exports.GroupControllerGetConnectionsStateEnum = GroupControllerGetConnectionsStateEnum = {}));
|
|
903
902
|
var GroupControllerGetConnectionsTypeEnum;
|
|
904
903
|
(function (GroupControllerGetConnectionsTypeEnum) {
|
package/dist/api/user-api.d.ts
CHANGED
|
@@ -617,10 +617,9 @@ export declare enum UserControllerDeleteConnectionTypeEnum {
|
|
|
617
617
|
blocked = "blocked"
|
|
618
618
|
}
|
|
619
619
|
export declare enum UserControllerGetConnectionsStateEnum {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
blocked = "blocked"
|
|
620
|
+
incoming_request = "incoming_request",
|
|
621
|
+
outgoing_request = "outgoing_request",
|
|
622
|
+
active = "active"
|
|
624
623
|
}
|
|
625
624
|
export declare enum UserControllerGetConnectionsTypeEnum {
|
|
626
625
|
friend = "friend",
|
package/dist/api/user-api.js
CHANGED
|
@@ -964,10 +964,9 @@ var UserControllerDeleteConnectionTypeEnum;
|
|
|
964
964
|
})(UserControllerDeleteConnectionTypeEnum || (exports.UserControllerDeleteConnectionTypeEnum = UserControllerDeleteConnectionTypeEnum = {}));
|
|
965
965
|
var UserControllerGetConnectionsStateEnum;
|
|
966
966
|
(function (UserControllerGetConnectionsStateEnum) {
|
|
967
|
-
UserControllerGetConnectionsStateEnum["
|
|
967
|
+
UserControllerGetConnectionsStateEnum["incoming_request"] = "incoming_request";
|
|
968
|
+
UserControllerGetConnectionsStateEnum["outgoing_request"] = "outgoing_request";
|
|
968
969
|
UserControllerGetConnectionsStateEnum["active"] = "active";
|
|
969
|
-
UserControllerGetConnectionsStateEnum["rejected"] = "rejected";
|
|
970
|
-
UserControllerGetConnectionsStateEnum["blocked"] = "blocked";
|
|
971
970
|
})(UserControllerGetConnectionsStateEnum || (exports.UserControllerGetConnectionsStateEnum = UserControllerGetConnectionsStateEnum = {}));
|
|
972
971
|
var UserControllerGetConnectionsTypeEnum;
|
|
973
972
|
(function (UserControllerGetConnectionsTypeEnum) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { EventSeriesApi } from '../api/event-series-api';
|
|
2
|
+
import type { CreateEventSeriesDto, EventSeriesDto, EventDto, UpdateEventSeriesDto } from '../models';
|
|
3
|
+
export declare class EnhancedEventSeriesApi {
|
|
4
|
+
private readonly api;
|
|
5
|
+
constructor(api: EventSeriesApi);
|
|
6
|
+
createSeries(requesterUserId: string, data: CreateEventSeriesDto): Promise<string>;
|
|
7
|
+
getSeries(seriesId: string): Promise<EventSeriesDto>;
|
|
8
|
+
updateSeries(seriesId: string, requesterUserId: string, data: UpdateEventSeriesDto): Promise<string>;
|
|
9
|
+
deleteSeries(seriesId: string, requesterUserId: string): Promise<void>;
|
|
10
|
+
getInstances(seriesId: string): Promise<EventDto[]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EnhancedEventSeriesApi = void 0;
|
|
4
|
+
const errors_1 = require("./errors");
|
|
5
|
+
class EnhancedEventSeriesApi {
|
|
6
|
+
constructor(api) {
|
|
7
|
+
this.api = api;
|
|
8
|
+
}
|
|
9
|
+
async createSeries(requesterUserId, data) {
|
|
10
|
+
return (0, errors_1.unwrap)(this.api.create(requesterUserId, data));
|
|
11
|
+
}
|
|
12
|
+
async getSeries(seriesId) {
|
|
13
|
+
return (0, errors_1.unwrap)(this.api.get(seriesId));
|
|
14
|
+
}
|
|
15
|
+
async updateSeries(seriesId, requesterUserId, data) {
|
|
16
|
+
return (0, errors_1.unwrap)(this.api.update(seriesId, requesterUserId, data));
|
|
17
|
+
}
|
|
18
|
+
async deleteSeries(seriesId, requesterUserId) {
|
|
19
|
+
return (0, errors_1.unwrap)(this.api.remove(seriesId, requesterUserId));
|
|
20
|
+
}
|
|
21
|
+
async getInstances(seriesId) {
|
|
22
|
+
return (0, errors_1.unwrap)(this.api.getInstances(seriesId));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.EnhancedEventSeriesApi = EnhancedEventSeriesApi;
|
|
@@ -48,7 +48,11 @@ class EnhancedGroupApi {
|
|
|
48
48
|
return (0, errors_1.unwrap)(this.api.removeConnection(groupId, userId, requesterUserId, { type: mutate_group_entity_connection_dto_1.MutateGroupEntityConnectionDtoTypeEnum.member }));
|
|
49
49
|
}
|
|
50
50
|
async getMembers(groupId, requesterUserId) {
|
|
51
|
-
return (0, errors_1.unwrap)(this.api.getConnections(groupId, [group_api_1.GroupControllerGetConnectionsStateEnum.active], [
|
|
51
|
+
return (0, errors_1.unwrap)(this.api.getConnections(groupId, [group_api_1.GroupControllerGetConnectionsStateEnum.active], [
|
|
52
|
+
group_api_1.GroupControllerGetConnectionsTypeEnum.member,
|
|
53
|
+
group_api_1.GroupControllerGetConnectionsTypeEnum.admin,
|
|
54
|
+
group_api_1.GroupControllerGetConnectionsTypeEnum.owner,
|
|
55
|
+
], requesterUserId));
|
|
52
56
|
}
|
|
53
57
|
async getPendingMembers(groupId, requesterUserId) {
|
|
54
58
|
return (0, errors_1.unwrap)(this.api.getConnections(groupId, [group_api_1.GroupControllerGetConnectionsStateEnum.requested], [group_api_1.GroupControllerGetConnectionsTypeEnum.member], requesterUserId));
|
|
@@ -50,7 +50,10 @@ class EnhancedUserApi {
|
|
|
50
50
|
return (0, errors_1.unwrap)(this.api.getConnections(userId, [user_api_1.UserControllerGetConnectionsStateEnum.active], [user_api_1.UserControllerGetConnectionsTypeEnum.friend], requesterUserId ?? userId));
|
|
51
51
|
}
|
|
52
52
|
async getPendingFriendRequests(userId) {
|
|
53
|
-
return (0, errors_1.unwrap)(this.api.getConnections(userId, [
|
|
53
|
+
return (0, errors_1.unwrap)(this.api.getConnections(userId, [
|
|
54
|
+
user_api_1.UserControllerGetConnectionsStateEnum.outgoing_request,
|
|
55
|
+
user_api_1.UserControllerGetConnectionsStateEnum.incoming_request,
|
|
56
|
+
], [user_api_1.UserControllerGetConnectionsTypeEnum.friend], userId));
|
|
54
57
|
}
|
|
55
58
|
async blockUser(blockingUserId, blockedUserId) {
|
|
56
59
|
return (0, errors_1.unwrap)(this.api.putConnection(blockingUserId, blockedUserId, blockingUserId, { type: mutate_user_connection_dto_1.MutateUserConnectionDtoTypeEnum.blocked }));
|
|
@@ -59,7 +62,7 @@ class EnhancedUserApi {
|
|
|
59
62
|
return (0, errors_1.unwrap)(this.api.deleteConnection(blockingUserId, blockedUserId, user_api_1.UserControllerDeleteConnectionTypeEnum.blocked, blockingUserId));
|
|
60
63
|
}
|
|
61
64
|
async getBlockedUsers(userId) {
|
|
62
|
-
return (0, errors_1.unwrap)(this.api.getConnections(userId, [user_api_1.UserControllerGetConnectionsStateEnum.
|
|
65
|
+
return (0, errors_1.unwrap)(this.api.getConnections(userId, [user_api_1.UserControllerGetConnectionsStateEnum.active], [user_api_1.UserControllerGetConnectionsTypeEnum.blocked], userId));
|
|
63
66
|
}
|
|
64
67
|
async getEvents(userId, requesterUserId) {
|
|
65
68
|
return (0, errors_1.unwrap)(this.api.getEvents(userId, requesterUserId));
|
package/dist/enhanced/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EnhancedUserApi } from './enhanced-user-api';
|
|
2
2
|
import { EnhancedEventApi } from './enhanced-event-api';
|
|
3
|
+
import { EnhancedEventSeriesApi } from './enhanced-event-series-api';
|
|
3
4
|
import { EnhancedGroupApi } from './enhanced-group-api';
|
|
4
5
|
/**
|
|
5
6
|
* Configuration for the enhanced client (same shape as ProximaNexusClientConfig).
|
|
@@ -13,6 +14,7 @@ export interface EnhancedClientConfig {
|
|
|
13
14
|
}
|
|
14
15
|
export { EnhancedUserApi } from './enhanced-user-api';
|
|
15
16
|
export { EnhancedEventApi } from './enhanced-event-api';
|
|
17
|
+
export { EnhancedEventSeriesApi } from './enhanced-event-series-api';
|
|
16
18
|
export { EnhancedGroupApi } from './enhanced-group-api';
|
|
17
19
|
export { NotFoundError, UnauthorizedError, ValidationError, EnhancedClientError, transformAxiosError, unwrap, } from './errors';
|
|
18
20
|
export type { EnhancedClientError as EnhancedClientErrorType } from './errors';
|
|
@@ -27,6 +29,7 @@ export * from './types';
|
|
|
27
29
|
export declare class EnhancedProximaNexusClient {
|
|
28
30
|
readonly users: EnhancedUserApi;
|
|
29
31
|
readonly events: EnhancedEventApi;
|
|
32
|
+
readonly eventSeries: EnhancedEventSeriesApi;
|
|
30
33
|
readonly groups: EnhancedGroupApi;
|
|
31
34
|
readonly base: InstanceType<typeof import('../index').ProximaNexusClient>;
|
|
32
35
|
constructor(configOrBase: EnhancedClientConfig | InstanceType<typeof import('../index').ProximaNexusClient>);
|
package/dist/enhanced/index.js
CHANGED
|
@@ -14,14 +14,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.EnhancedProximaNexusClient = exports.unwrap = exports.transformAxiosError = exports.EnhancedClientError = exports.ValidationError = exports.UnauthorizedError = exports.NotFoundError = exports.EnhancedGroupApi = exports.EnhancedEventApi = exports.EnhancedUserApi = void 0;
|
|
17
|
+
exports.EnhancedProximaNexusClient = exports.unwrap = exports.transformAxiosError = exports.EnhancedClientError = exports.ValidationError = exports.UnauthorizedError = exports.NotFoundError = exports.EnhancedGroupApi = exports.EnhancedEventSeriesApi = exports.EnhancedEventApi = exports.EnhancedUserApi = void 0;
|
|
18
18
|
const enhanced_user_api_1 = require("./enhanced-user-api");
|
|
19
19
|
const enhanced_event_api_1 = require("./enhanced-event-api");
|
|
20
|
+
const enhanced_event_series_api_1 = require("./enhanced-event-series-api");
|
|
20
21
|
const enhanced_group_api_1 = require("./enhanced-group-api");
|
|
21
22
|
var enhanced_user_api_2 = require("./enhanced-user-api");
|
|
22
23
|
Object.defineProperty(exports, "EnhancedUserApi", { enumerable: true, get: function () { return enhanced_user_api_2.EnhancedUserApi; } });
|
|
23
24
|
var enhanced_event_api_2 = require("./enhanced-event-api");
|
|
24
25
|
Object.defineProperty(exports, "EnhancedEventApi", { enumerable: true, get: function () { return enhanced_event_api_2.EnhancedEventApi; } });
|
|
26
|
+
var enhanced_event_series_api_2 = require("./enhanced-event-series-api");
|
|
27
|
+
Object.defineProperty(exports, "EnhancedEventSeriesApi", { enumerable: true, get: function () { return enhanced_event_series_api_2.EnhancedEventSeriesApi; } });
|
|
25
28
|
var enhanced_group_api_2 = require("./enhanced-group-api");
|
|
26
29
|
Object.defineProperty(exports, "EnhancedGroupApi", { enumerable: true, get: function () { return enhanced_group_api_2.EnhancedGroupApi; } });
|
|
27
30
|
var errors_1 = require("./errors");
|
|
@@ -54,9 +57,11 @@ class EnhancedProximaNexusClient {
|
|
|
54
57
|
}
|
|
55
58
|
const userApi = this.base.users;
|
|
56
59
|
const eventApi = this.base.events;
|
|
60
|
+
const eventSeriesApi = this.base.eventSeries;
|
|
57
61
|
const groupApi = this.base.groups;
|
|
58
62
|
this.users = new enhanced_user_api_1.EnhancedUserApi(userApi);
|
|
59
63
|
this.events = new enhanced_event_api_1.EnhancedEventApi(eventApi);
|
|
64
|
+
this.eventSeries = new enhanced_event_series_api_1.EnhancedEventSeriesApi(eventSeriesApi);
|
|
60
65
|
this.groups = new enhanced_group_api_1.EnhancedGroupApi(groupApi);
|
|
61
66
|
}
|
|
62
67
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Configuration, ConfigurationParameters } from './configuration';
|
|
2
2
|
import { UserApi } from './api/user-api';
|
|
3
3
|
import { EventApi } from './api/event-api';
|
|
4
|
+
import { EventSeriesApi } from './api/event-series-api';
|
|
4
5
|
import { GroupApi } from './api/group-api';
|
|
5
6
|
export * from './models';
|
|
6
|
-
export { UserApi, EventApi, GroupApi };
|
|
7
|
+
export { UserApi, EventApi, EventSeriesApi, GroupApi };
|
|
7
8
|
export { Configuration, type ConfigurationParameters };
|
|
8
9
|
/**
|
|
9
10
|
* Simplified configuration interface for the main client
|
|
@@ -32,9 +33,10 @@ export interface ProximaNexusClientConfig {
|
|
|
32
33
|
export declare class ProximaNexusClient {
|
|
33
34
|
readonly users: UserApi;
|
|
34
35
|
readonly events: EventApi;
|
|
36
|
+
readonly eventSeries: EventSeriesApi;
|
|
35
37
|
readonly groups: GroupApi;
|
|
36
38
|
constructor(config: ProximaNexusClientConfig);
|
|
37
39
|
}
|
|
38
40
|
export default ProximaNexusClient;
|
|
39
|
-
export { EnhancedProximaNexusClient, EnhancedUserApi, EnhancedEventApi, EnhancedGroupApi, NotFoundError, UnauthorizedError, ValidationError, EnhancedClientError, transformAxiosError, unwrap, type EnhancedClientConfig, } from './enhanced';
|
|
41
|
+
export { EnhancedProximaNexusClient, EnhancedUserApi, EnhancedEventApi, EnhancedEventSeriesApi, EnhancedGroupApi, NotFoundError, UnauthorizedError, ValidationError, EnhancedClientError, transformAxiosError, unwrap, type EnhancedClientConfig, } from './enhanced';
|
|
40
42
|
export type { EnhancedClientError as EnhancedClientErrorType } from './enhanced';
|