@proxima-nexus/sdk-typescript 1.0.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/LICENSE +15 -0
- package/README.md +349 -0
- package/dist/api/event-api.d.ts +420 -0
- package/dist/api/event-api.js +642 -0
- package/dist/api/group-api.d.ts +506 -0
- package/dist/api/group-api.js +775 -0
- package/dist/api/user-api.d.ts +543 -0
- package/dist/api/user-api.js +850 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +48 -0
- package/dist/common.d.ts +31 -0
- package/dist/common.js +98 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +48 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +44 -0
- package/dist/models/create-event-dto.d.ts +63 -0
- package/dist/models/create-event-dto.js +22 -0
- package/dist/models/create-group-dto.d.ts +51 -0
- package/dist/models/create-group-dto.js +22 -0
- package/dist/models/create-user-dto.d.ts +55 -0
- package/dist/models/create-user-dto.js +22 -0
- package/dist/models/entity-connection-dto.d.ts +30 -0
- package/dist/models/entity-connection-dto.js +22 -0
- package/dist/models/event-dto.d.ts +70 -0
- package/dist/models/event-dto.js +21 -0
- package/dist/models/event-entity-connection-dto.d.ts +34 -0
- package/dist/models/event-entity-connection-dto.js +22 -0
- package/dist/models/get-events-dto.d.ts +17 -0
- package/dist/models/get-events-dto.js +15 -0
- package/dist/models/get-groups-dto.d.ts +17 -0
- package/dist/models/get-groups-dto.js +15 -0
- package/dist/models/get-users-dto.d.ts +17 -0
- package/dist/models/get-users-dto.js +15 -0
- package/dist/models/group-dto.d.ts +58 -0
- package/dist/models/group-dto.js +21 -0
- package/dist/models/group-entity-connection-dto.d.ts +34 -0
- package/dist/models/group-entity-connection-dto.js +22 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +34 -0
- package/dist/models/location-dto.d.ts +25 -0
- package/dist/models/location-dto.js +15 -0
- package/dist/models/mutate-user-response-dto.d.ts +17 -0
- package/dist/models/mutate-user-response-dto.js +15 -0
- package/dist/models/update-event-dto.d.ts +55 -0
- package/dist/models/update-event-dto.js +22 -0
- package/dist/models/update-group-dto.d.ts +47 -0
- package/dist/models/update-group-dto.js +22 -0
- package/dist/models/update-user-dto.d.ts +51 -0
- package/dist/models/update-user-dto.js +22 -0
- package/dist/models/user-dto.d.ts +62 -0
- package/dist/models/user-dto.js +21 -0
- package/dist/models/user-entity-connection-dto.d.ts +34 -0
- package/dist/models/user-entity-connection-dto.js +22 -0
- package/package.json +56 -0
|
@@ -0,0 +1,506 @@
|
|
|
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 { CreateGroupDto } from '../models';
|
|
16
|
+
import type { EntityConnectionDto } from '../models';
|
|
17
|
+
import type { EventEntityConnectionDto } from '../models';
|
|
18
|
+
import type { GetGroupsDto } from '../models';
|
|
19
|
+
import type { GroupDto } from '../models';
|
|
20
|
+
import type { UpdateGroupDto } from '../models';
|
|
21
|
+
import type { UserEntityConnectionDto } from '../models';
|
|
22
|
+
/**
|
|
23
|
+
* GroupApi - axios parameter creator
|
|
24
|
+
*/
|
|
25
|
+
export declare const GroupApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @summary Add a member to a group
|
|
29
|
+
* @param {string} groupId
|
|
30
|
+
* @param {string} userId
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
addMember: (groupId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Create a group
|
|
38
|
+
* @param {CreateGroupDto} createGroupDto
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
create: (createGroupDto: CreateGroupDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @summary Get a group by ID
|
|
46
|
+
* @param {string} groupId
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
findOne: (groupId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary Get a batch of groups by IDs
|
|
54
|
+
* @param {GetGroupsDto} getGroupsDto
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
getBatch: (getGroupsDto: GetGroupsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @summary Get events of a group
|
|
62
|
+
* @param {string} groupId
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
getEvents: (groupId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary Get members of a group
|
|
70
|
+
* @param {string} groupId
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
getMembers: (groupId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @summary Delete a group
|
|
78
|
+
* @param {string} groupId
|
|
79
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
remove: (groupId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @summary Remove a member from a group
|
|
87
|
+
* @param {string} groupId
|
|
88
|
+
* @param {string} userId
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
removeMember: (groupId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @summary Search groups
|
|
96
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
97
|
+
* @param {number} [latitude] Latitude for radius search
|
|
98
|
+
* @param {number} [longitude] Longitude for radius search
|
|
99
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
100
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
101
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
102
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
103
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
104
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
search: (displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary Update a group
|
|
112
|
+
* @param {string} groupId
|
|
113
|
+
* @param {UpdateGroupDto} updateGroupDto
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
update: (groupId: string, updateGroupDto: UpdateGroupDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* GroupApi - functional programming interface
|
|
121
|
+
*/
|
|
122
|
+
export declare const GroupApiFp: (configuration?: Configuration) => {
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @summary Add a member to a group
|
|
126
|
+
* @param {string} groupId
|
|
127
|
+
* @param {string} userId
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
addMember(groupId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntityConnectionDto>>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary Create a group
|
|
135
|
+
* @param {CreateGroupDto} createGroupDto
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
create(createGroupDto: CreateGroupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @summary Get a group by ID
|
|
143
|
+
* @param {string} groupId
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
findOne(groupId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupDto>>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Get a batch of groups by IDs
|
|
151
|
+
* @param {GetGroupsDto} getGroupsDto
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
getBatch(getGroupsDto: GetGroupsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupDto>>>;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary Get events of a group
|
|
159
|
+
* @param {string} groupId
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
getEvents(groupId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EventEntityConnectionDto>>>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @summary Get members of a group
|
|
167
|
+
* @param {string} groupId
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
getMembers(groupId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserEntityConnectionDto>>>;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Delete a group
|
|
175
|
+
* @param {string} groupId
|
|
176
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
remove(groupId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @summary Remove a member from a group
|
|
184
|
+
* @param {string} groupId
|
|
185
|
+
* @param {string} userId
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
*/
|
|
189
|
+
removeMember(groupId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @summary Search groups
|
|
193
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
194
|
+
* @param {number} [latitude] Latitude for radius search
|
|
195
|
+
* @param {number} [longitude] Longitude for radius search
|
|
196
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
197
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
198
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
199
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
200
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
201
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GroupDto>>>;
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @summary Update a group
|
|
209
|
+
* @param {string} groupId
|
|
210
|
+
* @param {UpdateGroupDto} updateGroupDto
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
update(groupId: string, updateGroupDto: UpdateGroupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* GroupApi - factory interface
|
|
218
|
+
*/
|
|
219
|
+
export declare const GroupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @summary Add a member to a group
|
|
223
|
+
* @param {string} groupId
|
|
224
|
+
* @param {string} userId
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
addMember(groupId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<EntityConnectionDto>;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @summary Create a group
|
|
232
|
+
* @param {CreateGroupDto} createGroupDto
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
create(createGroupDto: CreateGroupDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @summary Get a group by ID
|
|
240
|
+
* @param {string} groupId
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
findOne(groupId: string, options?: RawAxiosRequestConfig): AxiosPromise<GroupDto>;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @summary Get a batch of groups by IDs
|
|
248
|
+
* @param {GetGroupsDto} getGroupsDto
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
getBatch(getGroupsDto: GetGroupsDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<GroupDto>>;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @summary Get events of a group
|
|
256
|
+
* @param {string} groupId
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
getEvents(groupId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @summary Get members of a group
|
|
264
|
+
* @param {string} groupId
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
*/
|
|
268
|
+
getMembers(groupId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* @summary Delete a group
|
|
272
|
+
* @param {string} groupId
|
|
273
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
274
|
+
* @param {*} [options] Override http request option.
|
|
275
|
+
* @throws {RequiredError}
|
|
276
|
+
*/
|
|
277
|
+
remove(groupId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @summary Remove a member from a group
|
|
281
|
+
* @param {string} groupId
|
|
282
|
+
* @param {string} userId
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
*/
|
|
286
|
+
removeMember(groupId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @summary Search groups
|
|
290
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
291
|
+
* @param {number} [latitude] Latitude for radius search
|
|
292
|
+
* @param {number} [longitude] Longitude for radius search
|
|
293
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
294
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
295
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
296
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
297
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
298
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<GroupDto>>;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @summary Update a group
|
|
306
|
+
* @param {string} groupId
|
|
307
|
+
* @param {UpdateGroupDto} updateGroupDto
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
update(groupId: string, updateGroupDto: UpdateGroupDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* GroupApi - interface
|
|
315
|
+
*/
|
|
316
|
+
export interface GroupApiInterface {
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @summary Add a member to a group
|
|
320
|
+
* @param {string} groupId
|
|
321
|
+
* @param {string} userId
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
addMember(groupId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<EntityConnectionDto>;
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @summary Create a group
|
|
329
|
+
* @param {CreateGroupDto} createGroupDto
|
|
330
|
+
* @param {*} [options] Override http request option.
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
create(createGroupDto: CreateGroupDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @summary Get a group by ID
|
|
337
|
+
* @param {string} groupId
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
findOne(groupId: string, options?: RawAxiosRequestConfig): AxiosPromise<GroupDto>;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @summary Get a batch of groups by IDs
|
|
345
|
+
* @param {GetGroupsDto} getGroupsDto
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
getBatch(getGroupsDto: GetGroupsDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<GroupDto>>;
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @summary Get events of a group
|
|
353
|
+
* @param {string} groupId
|
|
354
|
+
* @param {*} [options] Override http request option.
|
|
355
|
+
* @throws {RequiredError}
|
|
356
|
+
*/
|
|
357
|
+
getEvents(groupId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<EventEntityConnectionDto>>;
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @summary Get members of a group
|
|
361
|
+
* @param {string} groupId
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
getMembers(groupId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<UserEntityConnectionDto>>;
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @summary Delete a group
|
|
369
|
+
* @param {string} groupId
|
|
370
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
remove(groupId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @summary Remove a member from a group
|
|
378
|
+
* @param {string} groupId
|
|
379
|
+
* @param {string} userId
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
*/
|
|
383
|
+
removeMember(groupId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* @summary Search groups
|
|
387
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
388
|
+
* @param {number} [latitude] Latitude for radius search
|
|
389
|
+
* @param {number} [longitude] Longitude for radius search
|
|
390
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
391
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
392
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
393
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
394
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
395
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
396
|
+
* @param {*} [options] Override http request option.
|
|
397
|
+
* @throws {RequiredError}
|
|
398
|
+
*/
|
|
399
|
+
search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<GroupDto>>;
|
|
400
|
+
/**
|
|
401
|
+
*
|
|
402
|
+
* @summary Update a group
|
|
403
|
+
* @param {string} groupId
|
|
404
|
+
* @param {UpdateGroupDto} updateGroupDto
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
*/
|
|
408
|
+
update(groupId: string, updateGroupDto: UpdateGroupDto, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* GroupApi - object-oriented interface
|
|
412
|
+
*/
|
|
413
|
+
export declare class GroupApi extends BaseAPI implements GroupApiInterface {
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @summary Add a member to a group
|
|
417
|
+
* @param {string} groupId
|
|
418
|
+
* @param {string} userId
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
addMember(groupId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EntityConnectionDto, any, {}>>;
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @summary Create a group
|
|
426
|
+
* @param {CreateGroupDto} createGroupDto
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
create(createGroupDto: CreateGroupDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @summary Get a group by ID
|
|
434
|
+
* @param {string} groupId
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
*/
|
|
438
|
+
findOne(groupId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupDto, any, {}>>;
|
|
439
|
+
/**
|
|
440
|
+
*
|
|
441
|
+
* @summary Get a batch of groups by IDs
|
|
442
|
+
* @param {GetGroupsDto} getGroupsDto
|
|
443
|
+
* @param {*} [options] Override http request option.
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
*/
|
|
446
|
+
getBatch(getGroupsDto: GetGroupsDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupDto[], any, {}>>;
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @summary Get events of a group
|
|
450
|
+
* @param {string} groupId
|
|
451
|
+
* @param {*} [options] Override http request option.
|
|
452
|
+
* @throws {RequiredError}
|
|
453
|
+
*/
|
|
454
|
+
getEvents(groupId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventEntityConnectionDto[], any, {}>>;
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @summary Get members of a group
|
|
458
|
+
* @param {string} groupId
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
getMembers(groupId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEntityConnectionDto[], any, {}>>;
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @summary Delete a group
|
|
466
|
+
* @param {string} groupId
|
|
467
|
+
* @param {string} xProximaNexusRequesterUserId Requester user ID
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
471
|
+
remove(groupId: string, xProximaNexusRequesterUserId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @summary Remove a member from a group
|
|
475
|
+
* @param {string} groupId
|
|
476
|
+
* @param {string} userId
|
|
477
|
+
* @param {*} [options] Override http request option.
|
|
478
|
+
* @throws {RequiredError}
|
|
479
|
+
*/
|
|
480
|
+
removeMember(groupId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @summary Search groups
|
|
484
|
+
* @param {string} [displayName] Display name search (ILIKE)
|
|
485
|
+
* @param {number} [latitude] Latitude for radius search
|
|
486
|
+
* @param {number} [longitude] Longitude for radius search
|
|
487
|
+
* @param {number} [radius] Radius in meters for radius search
|
|
488
|
+
* @param {number} [minLatitude] Minimum latitude for bounding box
|
|
489
|
+
* @param {number} [maxLatitude] Maximum latitude for bounding box
|
|
490
|
+
* @param {number} [minLongitude] Minimum longitude for bounding box
|
|
491
|
+
* @param {number} [maxLongitude] Maximum longitude for bounding box
|
|
492
|
+
* @param {number} [limit] Limit results (1-1000)
|
|
493
|
+
* @param {*} [options] Override http request option.
|
|
494
|
+
* @throws {RequiredError}
|
|
495
|
+
*/
|
|
496
|
+
search(displayName?: string, latitude?: number, longitude?: number, radius?: number, minLatitude?: number, maxLatitude?: number, minLongitude?: number, maxLongitude?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupDto[], any, {}>>;
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @summary Update a group
|
|
500
|
+
* @param {string} groupId
|
|
501
|
+
* @param {UpdateGroupDto} updateGroupDto
|
|
502
|
+
* @param {*} [options] Override http request option.
|
|
503
|
+
* @throws {RequiredError}
|
|
504
|
+
*/
|
|
505
|
+
update(groupId: string, updateGroupDto: UpdateGroupDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
506
|
+
}
|