@tennac-booking/sdk 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,19 @@
1
1
  .gitignore
2
2
  .npmignore
3
3
  README.md
4
+ api.ts
5
+ base.ts
6
+ common.ts
7
+ configuration.ts
8
+ docs/AuthApi.md
9
+ docs/Booking.md
10
+ docs/Court.md
11
+ docs/Slot.md
12
+ docs/SlotException.md
13
+ docs/User.md
14
+ docs/UsersApi.md
15
+ git_push.sh
16
+ index.ts
4
17
  package.json
5
- src/apis/AuthApi.ts
6
- src/apis/UsersApi.ts
7
- src/apis/index.ts
8
- src/index.ts
9
- src/models/Booking.ts
10
- src/models/Court.ts
11
- src/models/Slot.ts
12
- src/models/SlotException.ts
13
- src/models/User.ts
14
- src/models/index.ts
15
- src/runtime.ts
16
18
  tsconfig.esm.json
17
19
  tsconfig.json
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## @tennac-booking/sdk@1.0.0
2
2
 
3
- This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
3
+ This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
5
5
  Environment
6
6
  * Node.js
@@ -44,3 +44,28 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
+
48
+ ### Documentation for API Endpoints
49
+
50
+ All URIs are relative to *https://api.mon-domaine.com*
51
+
52
+ Class | Method | HTTP request | Description
53
+ ------------ | ------------- | ------------- | -------------
54
+ *AuthApi* | [**apiAuthRegisterPost**](docs/AuthApi.md#apiauthregisterpost) | **POST** /api/auth/register | Register a new user
55
+ *UsersApi* | [**apiUsersGet**](docs/UsersApi.md#apiusersget) | **GET** /api/users | Retrieve all users
56
+
57
+
58
+ ### Documentation For Models
59
+
60
+ - [Booking](docs/Booking.md)
61
+ - [Court](docs/Court.md)
62
+ - [Slot](docs/Slot.md)
63
+ - [SlotException](docs/SlotException.md)
64
+ - [User](docs/User.md)
65
+
66
+
67
+ <a id="documentation-for-authorization"></a>
68
+ ## Documentation For Authorization
69
+
70
+ Endpoints do not require authorization.
71
+
package/api.ts ADDED
@@ -0,0 +1,644 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickle Ball API
5
+ * API for managing pickle ball games and players
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from './configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
22
+ import type { RequestArgs } from './base';
23
+ // @ts-ignore
24
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
+
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface Booking
30
+ */
31
+ export interface Booking {
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof Booking
36
+ */
37
+ 'userId': string;
38
+ /**
39
+ *
40
+ * @type {Array<string>}
41
+ * @memberof Booking
42
+ */
43
+ 'playersIds'?: Array<string>;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof Booking
48
+ */
49
+ 'status': BookingStatusEnum;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof Booking
54
+ */
55
+ 'stripeStatus': BookingStripeStatusEnum;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof Booking
60
+ */
61
+ 'stripePaymentIntentId': string;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof Booking
66
+ */
67
+ 'totalPrice': number;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof Booking
72
+ */
73
+ 'slotId': string;
74
+ }
75
+
76
+ export const BookingStatusEnum = {
77
+ Active: 'active',
78
+ Inactive: 'inactive'
79
+ } as const;
80
+
81
+ export type BookingStatusEnum = typeof BookingStatusEnum[keyof typeof BookingStatusEnum];
82
+ export const BookingStripeStatusEnum = {
83
+ Pending: 'pending',
84
+ Paid: 'paid',
85
+ Failed: 'failed',
86
+ Refunded: 'refunded',
87
+ Canceled: 'canceled'
88
+ } as const;
89
+
90
+ export type BookingStripeStatusEnum = typeof BookingStripeStatusEnum[keyof typeof BookingStripeStatusEnum];
91
+
92
+ /**
93
+ *
94
+ * @export
95
+ * @interface Court
96
+ */
97
+ export interface Court {
98
+ /**
99
+ *
100
+ * @type {string}
101
+ * @memberof Court
102
+ */
103
+ 'name': string;
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof Court
108
+ */
109
+ 'status': CourtStatusEnum;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof Court
114
+ */
115
+ 'comments'?: string;
116
+ /**
117
+ *
118
+ * @type {number}
119
+ * @memberof Court
120
+ */
121
+ 'pricePerSlot': number;
122
+ /**
123
+ *
124
+ * @type {number}
125
+ * @memberof Court
126
+ */
127
+ 'slotDefaultDuration': number;
128
+ /**
129
+ *
130
+ * @type {number}
131
+ * @memberof Court
132
+ */
133
+ 'startTimeInTheDayInMinutes': number;
134
+ /**
135
+ *
136
+ * @type {number}
137
+ * @memberof Court
138
+ */
139
+ 'endTimeInTheDayInMinutes': number;
140
+ }
141
+
142
+ export const CourtStatusEnum = {
143
+ Available: 'available',
144
+ Unavailable: 'unavailable'
145
+ } as const;
146
+
147
+ export type CourtStatusEnum = typeof CourtStatusEnum[keyof typeof CourtStatusEnum];
148
+
149
+ /**
150
+ *
151
+ * @export
152
+ * @interface Slot
153
+ */
154
+ export interface Slot {
155
+ /**
156
+ *
157
+ * @type {string}
158
+ * @memberof Slot
159
+ */
160
+ 'startDate': string;
161
+ /**
162
+ *
163
+ * @type {string}
164
+ * @memberof Slot
165
+ */
166
+ 'endDate': string;
167
+ /**
168
+ *
169
+ * @type {string}
170
+ * @memberof Slot
171
+ */
172
+ 'courtId': string;
173
+ }
174
+ /**
175
+ *
176
+ * @export
177
+ * @interface SlotException
178
+ */
179
+ export interface SlotException {
180
+ /**
181
+ *
182
+ * @type {string}
183
+ * @memberof SlotException
184
+ */
185
+ 'startDate': string;
186
+ /**
187
+ *
188
+ * @type {string}
189
+ * @memberof SlotException
190
+ */
191
+ 'endDate': string;
192
+ /**
193
+ *
194
+ * @type {string}
195
+ * @memberof SlotException
196
+ */
197
+ 'courtId': string;
198
+ /**
199
+ *
200
+ * @type {string}
201
+ * @memberof SlotException
202
+ */
203
+ 'reason': string;
204
+ }
205
+ /**
206
+ *
207
+ * @export
208
+ * @interface User
209
+ */
210
+ export interface User {
211
+ /**
212
+ *
213
+ * @type {string}
214
+ * @memberof User
215
+ */
216
+ 'username'?: string;
217
+ /**
218
+ *
219
+ * @type {string}
220
+ * @memberof User
221
+ */
222
+ 'firstName': string;
223
+ /**
224
+ *
225
+ * @type {string}
226
+ * @memberof User
227
+ */
228
+ 'lastName': string;
229
+ /**
230
+ *
231
+ * @type {string}
232
+ * @memberof User
233
+ */
234
+ 'email': string;
235
+ /**
236
+ *
237
+ * @type {boolean}
238
+ * @memberof User
239
+ */
240
+ 'isAccountVerified'?: boolean;
241
+ /**
242
+ *
243
+ * @type {string}
244
+ * @memberof User
245
+ */
246
+ 'level'?: string;
247
+ /**
248
+ *
249
+ * @type {string}
250
+ * @memberof User
251
+ */
252
+ 'stripeCustomerId'?: string;
253
+ /**
254
+ *
255
+ * @type {string}
256
+ * @memberof User
257
+ */
258
+ 'phone'?: string;
259
+ /**
260
+ *
261
+ * @type {string}
262
+ * @memberof User
263
+ */
264
+ 'password': string;
265
+ /**
266
+ *
267
+ * @type {string}
268
+ * @memberof User
269
+ */
270
+ 'profilePicture'?: string;
271
+ /**
272
+ *
273
+ * @type {boolean}
274
+ * @memberof User
275
+ */
276
+ 'isAdmin'?: boolean;
277
+ }
278
+
279
+ /**
280
+ * AuthApi - axios parameter creator
281
+ * @export
282
+ */
283
+ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
284
+ return {
285
+ /**
286
+ *
287
+ * @summary Register a new user
288
+ * @param {string} firstName
289
+ * @param {string} lastName
290
+ * @param {string} email
291
+ * @param {string} password
292
+ * @param {string} [username]
293
+ * @param {boolean} [isAccountVerified]
294
+ * @param {string} [level]
295
+ * @param {string} [stripeCustomerId]
296
+ * @param {string} [phone]
297
+ * @param {string} [profilePicture]
298
+ * @param {boolean} [isAdmin]
299
+ * @param {*} [options] Override http request option.
300
+ * @throws {RequiredError}
301
+ */
302
+ apiAuthRegisterPost: async (firstName: string, lastName: string, email: string, password: string, username?: string, isAccountVerified?: boolean, level?: string, stripeCustomerId?: string, phone?: string, profilePicture?: string, isAdmin?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
303
+ // verify required parameter 'firstName' is not null or undefined
304
+ assertParamExists('apiAuthRegisterPost', 'firstName', firstName)
305
+ // verify required parameter 'lastName' is not null or undefined
306
+ assertParamExists('apiAuthRegisterPost', 'lastName', lastName)
307
+ // verify required parameter 'email' is not null or undefined
308
+ assertParamExists('apiAuthRegisterPost', 'email', email)
309
+ // verify required parameter 'password' is not null or undefined
310
+ assertParamExists('apiAuthRegisterPost', 'password', password)
311
+ const localVarPath = `/api/auth/register`;
312
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
313
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
314
+ let baseOptions;
315
+ if (configuration) {
316
+ baseOptions = configuration.baseOptions;
317
+ }
318
+
319
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
320
+ const localVarHeaderParameter = {} as any;
321
+ const localVarQueryParameter = {} as any;
322
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
323
+
324
+
325
+ if (username !== undefined) {
326
+ localVarFormParams.append('username', username as any);
327
+ }
328
+
329
+ if (firstName !== undefined) {
330
+ localVarFormParams.append('firstName', firstName as any);
331
+ }
332
+
333
+ if (lastName !== undefined) {
334
+ localVarFormParams.append('lastName', lastName as any);
335
+ }
336
+
337
+ if (email !== undefined) {
338
+ localVarFormParams.append('email', email as any);
339
+ }
340
+
341
+ if (isAccountVerified !== undefined) {
342
+ localVarFormParams.append('isAccountVerified', String(isAccountVerified) as any);
343
+ }
344
+
345
+ if (level !== undefined) {
346
+ localVarFormParams.append('level', level as any);
347
+ }
348
+
349
+ if (stripeCustomerId !== undefined) {
350
+ localVarFormParams.append('stripeCustomerId', stripeCustomerId as any);
351
+ }
352
+
353
+ if (phone !== undefined) {
354
+ localVarFormParams.append('phone', phone as any);
355
+ }
356
+
357
+ if (password !== undefined) {
358
+ localVarFormParams.append('password', password as any);
359
+ }
360
+
361
+ if (profilePicture !== undefined) {
362
+ localVarFormParams.append('profilePicture', profilePicture as any);
363
+ }
364
+
365
+ if (isAdmin !== undefined) {
366
+ localVarFormParams.append('isAdmin', String(isAdmin) as any);
367
+ }
368
+
369
+
370
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
371
+
372
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
373
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
374
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
375
+ localVarRequestOptions.data = localVarFormParams;
376
+
377
+ return {
378
+ url: toPathString(localVarUrlObj),
379
+ options: localVarRequestOptions,
380
+ };
381
+ },
382
+ }
383
+ };
384
+
385
+ /**
386
+ * AuthApi - functional programming interface
387
+ * @export
388
+ */
389
+ export const AuthApiFp = function(configuration?: Configuration) {
390
+ const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
391
+ return {
392
+ /**
393
+ *
394
+ * @summary Register a new user
395
+ * @param {string} firstName
396
+ * @param {string} lastName
397
+ * @param {string} email
398
+ * @param {string} password
399
+ * @param {string} [username]
400
+ * @param {boolean} [isAccountVerified]
401
+ * @param {string} [level]
402
+ * @param {string} [stripeCustomerId]
403
+ * @param {string} [phone]
404
+ * @param {string} [profilePicture]
405
+ * @param {boolean} [isAdmin]
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ */
409
+ async apiAuthRegisterPost(firstName: string, lastName: string, email: string, password: string, username?: string, isAccountVerified?: boolean, level?: string, stripeCustomerId?: string, phone?: string, profilePicture?: string, isAdmin?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiAuthRegisterPost(firstName, lastName, email, password, username, isAccountVerified, level, stripeCustomerId, phone, profilePicture, isAdmin, options);
411
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
412
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.apiAuthRegisterPost']?.[localVarOperationServerIndex]?.url;
413
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
414
+ },
415
+ }
416
+ };
417
+
418
+ /**
419
+ * AuthApi - factory interface
420
+ * @export
421
+ */
422
+ export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
423
+ const localVarFp = AuthApiFp(configuration)
424
+ return {
425
+ /**
426
+ *
427
+ * @summary Register a new user
428
+ * @param {AuthApiApiAuthRegisterPostRequest} requestParameters Request parameters.
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ apiAuthRegisterPost(requestParameters: AuthApiApiAuthRegisterPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<User> {
433
+ return localVarFp.apiAuthRegisterPost(requestParameters.firstName, requestParameters.lastName, requestParameters.email, requestParameters.password, requestParameters.username, requestParameters.isAccountVerified, requestParameters.level, requestParameters.stripeCustomerId, requestParameters.phone, requestParameters.profilePicture, requestParameters.isAdmin, options).then((request) => request(axios, basePath));
434
+ },
435
+ };
436
+ };
437
+
438
+ /**
439
+ * Request parameters for apiAuthRegisterPost operation in AuthApi.
440
+ * @export
441
+ * @interface AuthApiApiAuthRegisterPostRequest
442
+ */
443
+ export interface AuthApiApiAuthRegisterPostRequest {
444
+ /**
445
+ *
446
+ * @type {string}
447
+ * @memberof AuthApiApiAuthRegisterPost
448
+ */
449
+ readonly firstName: string
450
+
451
+ /**
452
+ *
453
+ * @type {string}
454
+ * @memberof AuthApiApiAuthRegisterPost
455
+ */
456
+ readonly lastName: string
457
+
458
+ /**
459
+ *
460
+ * @type {string}
461
+ * @memberof AuthApiApiAuthRegisterPost
462
+ */
463
+ readonly email: string
464
+
465
+ /**
466
+ *
467
+ * @type {string}
468
+ * @memberof AuthApiApiAuthRegisterPost
469
+ */
470
+ readonly password: string
471
+
472
+ /**
473
+ *
474
+ * @type {string}
475
+ * @memberof AuthApiApiAuthRegisterPost
476
+ */
477
+ readonly username?: string
478
+
479
+ /**
480
+ *
481
+ * @type {boolean}
482
+ * @memberof AuthApiApiAuthRegisterPost
483
+ */
484
+ readonly isAccountVerified?: boolean
485
+
486
+ /**
487
+ *
488
+ * @type {string}
489
+ * @memberof AuthApiApiAuthRegisterPost
490
+ */
491
+ readonly level?: string
492
+
493
+ /**
494
+ *
495
+ * @type {string}
496
+ * @memberof AuthApiApiAuthRegisterPost
497
+ */
498
+ readonly stripeCustomerId?: string
499
+
500
+ /**
501
+ *
502
+ * @type {string}
503
+ * @memberof AuthApiApiAuthRegisterPost
504
+ */
505
+ readonly phone?: string
506
+
507
+ /**
508
+ *
509
+ * @type {string}
510
+ * @memberof AuthApiApiAuthRegisterPost
511
+ */
512
+ readonly profilePicture?: string
513
+
514
+ /**
515
+ *
516
+ * @type {boolean}
517
+ * @memberof AuthApiApiAuthRegisterPost
518
+ */
519
+ readonly isAdmin?: boolean
520
+ }
521
+
522
+ /**
523
+ * AuthApi - object-oriented interface
524
+ * @export
525
+ * @class AuthApi
526
+ * @extends {BaseAPI}
527
+ */
528
+ export class AuthApi extends BaseAPI {
529
+ /**
530
+ *
531
+ * @summary Register a new user
532
+ * @param {AuthApiApiAuthRegisterPostRequest} requestParameters Request parameters.
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ * @memberof AuthApi
536
+ */
537
+ public apiAuthRegisterPost(requestParameters: AuthApiApiAuthRegisterPostRequest, options?: RawAxiosRequestConfig) {
538
+ return AuthApiFp(this.configuration).apiAuthRegisterPost(requestParameters.firstName, requestParameters.lastName, requestParameters.email, requestParameters.password, requestParameters.username, requestParameters.isAccountVerified, requestParameters.level, requestParameters.stripeCustomerId, requestParameters.phone, requestParameters.profilePicture, requestParameters.isAdmin, options).then((request) => request(this.axios, this.basePath));
539
+ }
540
+ }
541
+
542
+
543
+
544
+ /**
545
+ * UsersApi - axios parameter creator
546
+ * @export
547
+ */
548
+ export const UsersApiAxiosParamCreator = function (configuration?: Configuration) {
549
+ return {
550
+ /**
551
+ *
552
+ * @summary Retrieve all users
553
+ * @param {*} [options] Override http request option.
554
+ * @throws {RequiredError}
555
+ */
556
+ apiUsersGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
557
+ const localVarPath = `/api/users`;
558
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
559
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
560
+ let baseOptions;
561
+ if (configuration) {
562
+ baseOptions = configuration.baseOptions;
563
+ }
564
+
565
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
566
+ const localVarHeaderParameter = {} as any;
567
+ const localVarQueryParameter = {} as any;
568
+
569
+
570
+
571
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
572
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
573
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
574
+
575
+ return {
576
+ url: toPathString(localVarUrlObj),
577
+ options: localVarRequestOptions,
578
+ };
579
+ },
580
+ }
581
+ };
582
+
583
+ /**
584
+ * UsersApi - functional programming interface
585
+ * @export
586
+ */
587
+ export const UsersApiFp = function(configuration?: Configuration) {
588
+ const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration)
589
+ return {
590
+ /**
591
+ *
592
+ * @summary Retrieve all users
593
+ * @param {*} [options] Override http request option.
594
+ * @throws {RequiredError}
595
+ */
596
+ async apiUsersGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<User>>> {
597
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiUsersGet(options);
598
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
599
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.apiUsersGet']?.[localVarOperationServerIndex]?.url;
600
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
601
+ },
602
+ }
603
+ };
604
+
605
+ /**
606
+ * UsersApi - factory interface
607
+ * @export
608
+ */
609
+ export const UsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
610
+ const localVarFp = UsersApiFp(configuration)
611
+ return {
612
+ /**
613
+ *
614
+ * @summary Retrieve all users
615
+ * @param {*} [options] Override http request option.
616
+ * @throws {RequiredError}
617
+ */
618
+ apiUsersGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<User>> {
619
+ return localVarFp.apiUsersGet(options).then((request) => request(axios, basePath));
620
+ },
621
+ };
622
+ };
623
+
624
+ /**
625
+ * UsersApi - object-oriented interface
626
+ * @export
627
+ * @class UsersApi
628
+ * @extends {BaseAPI}
629
+ */
630
+ export class UsersApi extends BaseAPI {
631
+ /**
632
+ *
633
+ * @summary Retrieve all users
634
+ * @param {*} [options] Override http request option.
635
+ * @throws {RequiredError}
636
+ * @memberof UsersApi
637
+ */
638
+ public apiUsersGet(options?: RawAxiosRequestConfig) {
639
+ return UsersApiFp(this.configuration).apiUsersGet(options).then((request) => request(this.axios, this.basePath));
640
+ }
641
+ }
642
+
643
+
644
+