@proxima-nexus/sdk-typescript 2.1.1 → 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 CHANGED
@@ -5,6 +5,19 @@ 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.2.0] - 2026-03-02
9
+
10
+ ### Added
11
+
12
+ - Support for **event series** (recurring events) via a new `EventSeriesApi` on `ProximaNexusClient` and `EnhancedEventSeriesApi` on `EnhancedProximaNexusClient`.
13
+ - New DTOs for event series: `CreateEventSeriesDto`, `EventSeriesDto`, and `UpdateEventSeriesDto`, plus a `seriesId` field on `EventDto` to link event instances back to their series.
14
+ - Enhanced client helpers to create, update, delete, and list instances in a series (`createSeries`, `getSeries`, `updateSeries`, `deleteSeries`, `getInstances`).
15
+
16
+ ### Changed
17
+
18
+ - Relaxed `UpdateEventDto`, `UpdateGroupDto`, and `UpdateUserDto` so that most fields are optional, making partial updates easier and better aligned with the underlying API.
19
+ - Clarified `EventApi.update` behavior for series instances: only fields included in the request body are treated as overrides and will no longer be updated by series-level changes.
20
+
8
21
  ## [2.1.1] - 2026-02-04
9
22
 
10
23
  ### Changed
@@ -110,7 +110,7 @@ export declare const EventApiAxiosParamCreator: (configuration?: Configuration)
110
110
  search: (displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
111
111
  /**
112
112
  *
113
- * @summary Update an event
113
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
114
114
  * @param {string} eventId
115
115
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
116
116
  * @param {UpdateEventDto} updateEventDto
@@ -210,7 +210,7 @@ export declare const EventApiFp: (configuration?: Configuration) => {
210
210
  search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventDto>>>;
211
211
  /**
212
212
  *
213
- * @summary Update an event
213
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
214
214
  * @param {string} eventId
215
215
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
216
216
  * @param {UpdateEventDto} updateEventDto
@@ -310,7 +310,7 @@ export declare const EventApiFactory: (configuration?: Configuration, basePath?:
310
310
  search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
311
311
  /**
312
312
  *
313
- * @summary Update an event
313
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
314
314
  * @param {string} eventId
315
315
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
316
316
  * @param {UpdateEventDto} updateEventDto
@@ -410,7 +410,7 @@ export interface EventApiInterface {
410
410
  search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
411
411
  /**
412
412
  *
413
- * @summary Update an event
413
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
414
414
  * @param {string} eventId
415
415
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
416
416
  * @param {UpdateEventDto} updateEventDto
@@ -510,7 +510,7 @@ export declare class EventApi extends BaseAPI implements EventApiInterface {
510
510
  search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, xProximaNexusRequesterUserId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto[], any, {}>>;
511
511
  /**
512
512
  *
513
- * @summary Update an event
513
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
514
514
  * @param {string} eventId
515
515
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
516
516
  * @param {UpdateEventDto} updateEventDto
@@ -380,7 +380,7 @@ const EventApiAxiosParamCreator = function (configuration) {
380
380
  },
381
381
  /**
382
382
  *
383
- * @summary Update an event
383
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
384
384
  * @param {string} eventId
385
385
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
386
386
  * @param {UpdateEventDto} updateEventDto
@@ -557,7 +557,7 @@ const EventApiFp = function (configuration) {
557
557
  },
558
558
  /**
559
559
  *
560
- * @summary Update an event
560
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
561
561
  * @param {string} eventId
562
562
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
563
563
  * @param {UpdateEventDto} updateEventDto
@@ -682,7 +682,7 @@ const EventApiFactory = function (configuration, basePath, axios) {
682
682
  },
683
683
  /**
684
684
  *
685
- * @summary Update an event
685
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
686
686
  * @param {string} eventId
687
687
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
688
688
  * @param {UpdateEventDto} updateEventDto
@@ -802,7 +802,7 @@ class EventApi extends base_1.BaseAPI {
802
802
  }
803
803
  /**
804
804
  *
805
- * @summary Update an event
805
+ * @summary Update an event. For series instances, only the fields provided in the request body will be marked as overridden and will no longer be propagated by series-level updates.
806
806
  * @param {string} eventId
807
807
  * @param {string} xProximaNexusRequesterUserId ID of the user updating the event
808
808
  * @param {UpdateEventDto} updateEventDto
@@ -0,0 +1,263 @@
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
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { CreateEventSeriesDto } from '../models';
16
+ import type { EventDto } from '../models';
17
+ import type { EventSeriesDto } from '../models';
18
+ import type { UpdateEventSeriesDto } from '../models';
19
+ /**
20
+ * EventSeriesApi - axios parameter creator
21
+ */
22
+ export declare const EventSeriesApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ * Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
25
+ * @summary Create an event series
26
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the series
27
+ * @param {CreateEventSeriesDto} createEventSeriesDto
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ create: (xProximaNexusRequesterUserId: string, createEventSeriesDto: CreateEventSeriesDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ *
34
+ * @summary Get an event series by ID
35
+ * @param {string} seriesId
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ get: (seriesId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ /**
41
+ * Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
42
+ * @summary List all event instances in a series
43
+ * @param {string} seriesId
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ getInstances: (seriesId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ /**
49
+ * Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
50
+ * @summary Delete an event series
51
+ * @param {string} seriesId
52
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ remove: (seriesId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57
+ /**
58
+ * 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.
59
+ * @summary Update an event series
60
+ * @param {string} seriesId
61
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the series
62
+ * @param {UpdateEventSeriesDto} updateEventSeriesDto
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ update: (seriesId: string, xProximaNexusRequesterUserId: string, updateEventSeriesDto: UpdateEventSeriesDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67
+ };
68
+ /**
69
+ * EventSeriesApi - functional programming interface
70
+ */
71
+ export declare const EventSeriesApiFp: (configuration?: Configuration) => {
72
+ /**
73
+ * Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
74
+ * @summary Create an event series
75
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the series
76
+ * @param {CreateEventSeriesDto} createEventSeriesDto
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ create(xProximaNexusRequesterUserId: string, createEventSeriesDto: CreateEventSeriesDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
81
+ /**
82
+ *
83
+ * @summary Get an event series by ID
84
+ * @param {string} seriesId
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ get(seriesId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventSeriesDto>>;
89
+ /**
90
+ * Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
91
+ * @summary List all event instances in a series
92
+ * @param {string} seriesId
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ getInstances(seriesId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventDto>>>;
97
+ /**
98
+ * Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
99
+ * @summary Delete an event series
100
+ * @param {string} seriesId
101
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ remove(seriesId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
106
+ /**
107
+ * 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.
108
+ * @summary Update an event series
109
+ * @param {string} seriesId
110
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the series
111
+ * @param {UpdateEventSeriesDto} updateEventSeriesDto
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ update(seriesId: string, xProximaNexusRequesterUserId: string, updateEventSeriesDto: UpdateEventSeriesDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
116
+ };
117
+ /**
118
+ * EventSeriesApi - factory interface
119
+ */
120
+ export declare const EventSeriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
121
+ /**
122
+ * Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
123
+ * @summary Create an event series
124
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the series
125
+ * @param {CreateEventSeriesDto} createEventSeriesDto
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ create(xProximaNexusRequesterUserId: string, createEventSeriesDto: CreateEventSeriesDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
130
+ /**
131
+ *
132
+ * @summary Get an event series by ID
133
+ * @param {string} seriesId
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ get(seriesId: string, options?: RawAxiosRequestConfig): AxiosPromise<EventSeriesDto>;
138
+ /**
139
+ * Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
140
+ * @summary List all event instances in a series
141
+ * @param {string} seriesId
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ getInstances(seriesId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
146
+ /**
147
+ * Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
148
+ * @summary Delete an event series
149
+ * @param {string} seriesId
150
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ remove(seriesId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
155
+ /**
156
+ * 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.
157
+ * @summary Update an event series
158
+ * @param {string} seriesId
159
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the series
160
+ * @param {UpdateEventSeriesDto} updateEventSeriesDto
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ update(seriesId: string, xProximaNexusRequesterUserId: string, updateEventSeriesDto: UpdateEventSeriesDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
165
+ };
166
+ /**
167
+ * EventSeriesApi - interface
168
+ */
169
+ export interface EventSeriesApiInterface {
170
+ /**
171
+ * Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
172
+ * @summary Create an event series
173
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the series
174
+ * @param {CreateEventSeriesDto} createEventSeriesDto
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ create(xProximaNexusRequesterUserId: string, createEventSeriesDto: CreateEventSeriesDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
179
+ /**
180
+ *
181
+ * @summary Get an event series by ID
182
+ * @param {string} seriesId
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ get(seriesId: string, options?: RawAxiosRequestConfig): AxiosPromise<EventSeriesDto>;
187
+ /**
188
+ * Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
189
+ * @summary List all event instances in a series
190
+ * @param {string} seriesId
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ getInstances(seriesId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventDto>>;
195
+ /**
196
+ * Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
197
+ * @summary Delete an event series
198
+ * @param {string} seriesId
199
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ remove(seriesId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
204
+ /**
205
+ * 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.
206
+ * @summary Update an event series
207
+ * @param {string} seriesId
208
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the series
209
+ * @param {UpdateEventSeriesDto} updateEventSeriesDto
210
+ * @param {*} [options] Override http request option.
211
+ * @throws {RequiredError}
212
+ */
213
+ update(seriesId: string, xProximaNexusRequesterUserId: string, updateEventSeriesDto: UpdateEventSeriesDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
214
+ }
215
+ /**
216
+ * EventSeriesApi - object-oriented interface
217
+ */
218
+ export declare class EventSeriesApi extends BaseAPI implements EventSeriesApiInterface {
219
+ /**
220
+ * Creates a series definition and pre-generates all event instances based on the RRULE. The creating user (or associated group) becomes the OWNER.
221
+ * @summary Create an event series
222
+ * @param {string} xProximaNexusRequesterUserId ID of the user creating the series
223
+ * @param {CreateEventSeriesDto} createEventSeriesDto
224
+ * @param {*} [options] Override http request option.
225
+ * @throws {RequiredError}
226
+ */
227
+ create(xProximaNexusRequesterUserId: string, createEventSeriesDto: CreateEventSeriesDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
228
+ /**
229
+ *
230
+ * @summary Get an event series by ID
231
+ * @param {string} seriesId
232
+ * @param {*} [options] Override http request option.
233
+ * @throws {RequiredError}
234
+ */
235
+ get(seriesId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventSeriesDto, any, {}>>;
236
+ /**
237
+ * Returns all event instances (past and upcoming) belonging to this series, ordered by start time.
238
+ * @summary List all event instances in a series
239
+ * @param {string} seriesId
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ */
243
+ getInstances(seriesId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDto[], any, {}>>;
244
+ /**
245
+ * Deletes the series and all upcoming event instances. Past instances (already started) are preserved.
246
+ * @summary Delete an event series
247
+ * @param {string} seriesId
248
+ * @param {string} xProximaNexusRequesterUserId ID of the user deleting the series
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ remove(seriesId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
253
+ /**
254
+ * 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.
255
+ * @summary Update an event series
256
+ * @param {string} seriesId
257
+ * @param {string} xProximaNexusRequesterUserId ID of the user updating the series
258
+ * @param {UpdateEventSeriesDto} updateEventSeriesDto
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ update(seriesId: string, xProximaNexusRequesterUserId: string, updateEventSeriesDto: UpdateEventSeriesDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
263
+ }