@tennac-booking/sdk 1.0.170 → 1.0.172

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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +10 -1
  2. package/README.md +17 -3
  3. package/api.ts +1003 -27
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +676 -24
  8. package/dist/api.js +553 -5
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +676 -24
  16. package/dist/esm/api.js +541 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AppRegisterRequestBody.md +22 -0
  28. package/docs/CompleteRegisterRequestBody.md +32 -0
  29. package/docs/{UpdateUserRequestBodyLevelBySportsInner.md → CompleteRegisterRequestBodyLevelBySportsInner.md} +3 -3
  30. package/docs/EmailExistsResponse.md +2 -0
  31. package/docs/EventBookingDetailSummary.md +2 -0
  32. package/docs/EventsWaitListApi.md +175 -0
  33. package/docs/EventsWaitListStaffApi.md +115 -0
  34. package/docs/GetUserPosition200Response.md +22 -0
  35. package/docs/GetWaitListForEvent200Response.md +22 -0
  36. package/docs/GoogleAuthResponse.md +2 -0
  37. package/docs/IUserAttributes.md +4 -0
  38. package/docs/JoinWaitList200Response.md +26 -0
  39. package/docs/JoinWaitListRequest.md +22 -0
  40. package/docs/LoginResponse.md +2 -0
  41. package/docs/StaffUserProfileResponse.md +4 -0
  42. package/docs/UpdateUserRequestBody.md +2 -2
  43. package/docs/UserProfileResponse.md +4 -0
  44. package/docs/UsersApi.md +104 -0
  45. package/docs/WaitListResponse.md +38 -0
  46. package/index.ts +1 -1
  47. package/package.json +1 -1
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.163
7
+ * The version of the OpenAPI document: 1.0.171
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -170,6 +170,10 @@ export const Gender = {
170
170
  Transgender: 'transgender',
171
171
  Other: 'other'
172
172
  };
173
+ export const IUserAttributesCreatedFromEnum = {
174
+ App: 'app',
175
+ Website: 'website'
176
+ };
173
177
  export const IUserLocationTypeEnum = {
174
178
  Point: 'Point'
175
179
  };
@@ -309,6 +313,10 @@ export const StaffBookingPaymentState = {
309
313
  Failed: 'failed',
310
314
  Partial: 'partial'
311
315
  };
316
+ export const StaffUserProfileResponseCreatedFromEnum = {
317
+ App: 'app',
318
+ Website: 'website'
319
+ };
312
320
  /**
313
321
  *
314
322
  * @export
@@ -383,6 +391,10 @@ export const UpdateRecurringDefinitionRequestRecurringTypeEnum = {
383
391
  export const UserLocationSummaryTypeEnum = {
384
392
  Point: 'Point'
385
393
  };
394
+ export const UserProfileResponseCreatedFromEnum = {
395
+ App: 'app',
396
+ Website: 'website'
397
+ };
386
398
  /**
387
399
  *
388
400
  * @export
@@ -10943,6 +10955,405 @@ export const GetWeeklyEventsTypeEnum = {
10943
10955
  Event: 'event',
10944
10956
  Closure: 'closure'
10945
10957
  };
10958
+ /**
10959
+ * EventsWaitListApi - axios parameter creator
10960
+ * @export
10961
+ */
10962
+ export const EventsWaitListApiAxiosParamCreator = function (configuration) {
10963
+ return {
10964
+ /**
10965
+ * Obtenir la position actuelle dans la file d\'attente
10966
+ * @param {string} eventId
10967
+ * @param {*} [options] Override http request option.
10968
+ * @throws {RequiredError}
10969
+ */
10970
+ getUserPosition: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
10971
+ // verify required parameter 'eventId' is not null or undefined
10972
+ assertParamExists('getUserPosition', 'eventId', eventId);
10973
+ const localVarPath = `/api/events/waitlist/{eventId}/position`
10974
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
10975
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10976
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10977
+ let baseOptions;
10978
+ if (configuration) {
10979
+ baseOptions = configuration.baseOptions;
10980
+ }
10981
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10982
+ const localVarHeaderParameter = {};
10983
+ const localVarQueryParameter = {};
10984
+ // authentication bearerAuth required
10985
+ // http bearer authentication required
10986
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10987
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10988
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10989
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10990
+ return {
10991
+ url: toPathString(localVarUrlObj),
10992
+ options: localVarRequestOptions,
10993
+ };
10994
+ }),
10995
+ /**
10996
+ * Rejoindre la file d\'attente pour un événement
10997
+ * @param {string} eventId
10998
+ * @param {JoinWaitListRequest} joinWaitListRequest
10999
+ * @param {*} [options] Override http request option.
11000
+ * @throws {RequiredError}
11001
+ */
11002
+ joinWaitList: (eventId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventId, joinWaitListRequest, options = {}) {
11003
+ // verify required parameter 'eventId' is not null or undefined
11004
+ assertParamExists('joinWaitList', 'eventId', eventId);
11005
+ // verify required parameter 'joinWaitListRequest' is not null or undefined
11006
+ assertParamExists('joinWaitList', 'joinWaitListRequest', joinWaitListRequest);
11007
+ const localVarPath = `/api/events/waitlist/{eventId}/join`
11008
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
11009
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11010
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11011
+ let baseOptions;
11012
+ if (configuration) {
11013
+ baseOptions = configuration.baseOptions;
11014
+ }
11015
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
11016
+ const localVarHeaderParameter = {};
11017
+ const localVarQueryParameter = {};
11018
+ // authentication bearerAuth required
11019
+ // http bearer authentication required
11020
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
11021
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11022
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11023
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11024
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11025
+ localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
11026
+ return {
11027
+ url: toPathString(localVarUrlObj),
11028
+ options: localVarRequestOptions,
11029
+ };
11030
+ }),
11031
+ /**
11032
+ * Quitter la file d\'attente
11033
+ * @param {string} eventId
11034
+ * @param {*} [options] Override http request option.
11035
+ * @throws {RequiredError}
11036
+ */
11037
+ leaveWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
11038
+ // verify required parameter 'eventId' is not null or undefined
11039
+ assertParamExists('leaveWaitList', 'eventId', eventId);
11040
+ const localVarPath = `/api/events/waitlist/{eventId}/leave`
11041
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
11042
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11043
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11044
+ let baseOptions;
11045
+ if (configuration) {
11046
+ baseOptions = configuration.baseOptions;
11047
+ }
11048
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
11049
+ const localVarHeaderParameter = {};
11050
+ const localVarQueryParameter = {};
11051
+ // authentication bearerAuth required
11052
+ // http bearer authentication required
11053
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
11054
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11055
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11056
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11057
+ return {
11058
+ url: toPathString(localVarUrlObj),
11059
+ options: localVarRequestOptions,
11060
+ };
11061
+ }),
11062
+ };
11063
+ };
11064
+ /**
11065
+ * EventsWaitListApi - functional programming interface
11066
+ * @export
11067
+ */
11068
+ export const EventsWaitListApiFp = function (configuration) {
11069
+ const localVarAxiosParamCreator = EventsWaitListApiAxiosParamCreator(configuration);
11070
+ return {
11071
+ /**
11072
+ * Obtenir la position actuelle dans la file d\'attente
11073
+ * @param {string} eventId
11074
+ * @param {*} [options] Override http request option.
11075
+ * @throws {RequiredError}
11076
+ */
11077
+ getUserPosition(eventId, options) {
11078
+ return __awaiter(this, void 0, void 0, function* () {
11079
+ var _a, _b, _c;
11080
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserPosition(eventId, options);
11081
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11082
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListApi.getUserPosition']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11083
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11084
+ });
11085
+ },
11086
+ /**
11087
+ * Rejoindre la file d\'attente pour un événement
11088
+ * @param {string} eventId
11089
+ * @param {JoinWaitListRequest} joinWaitListRequest
11090
+ * @param {*} [options] Override http request option.
11091
+ * @throws {RequiredError}
11092
+ */
11093
+ joinWaitList(eventId, joinWaitListRequest, options) {
11094
+ return __awaiter(this, void 0, void 0, function* () {
11095
+ var _a, _b, _c;
11096
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.joinWaitList(eventId, joinWaitListRequest, options);
11097
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11098
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListApi.joinWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11099
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11100
+ });
11101
+ },
11102
+ /**
11103
+ * Quitter la file d\'attente
11104
+ * @param {string} eventId
11105
+ * @param {*} [options] Override http request option.
11106
+ * @throws {RequiredError}
11107
+ */
11108
+ leaveWaitList(eventId, options) {
11109
+ return __awaiter(this, void 0, void 0, function* () {
11110
+ var _a, _b, _c;
11111
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.leaveWaitList(eventId, options);
11112
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11113
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListApi.leaveWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11114
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11115
+ });
11116
+ },
11117
+ };
11118
+ };
11119
+ /**
11120
+ * EventsWaitListApi - factory interface
11121
+ * @export
11122
+ */
11123
+ export const EventsWaitListApiFactory = function (configuration, basePath, axios) {
11124
+ const localVarFp = EventsWaitListApiFp(configuration);
11125
+ return {
11126
+ /**
11127
+ * Obtenir la position actuelle dans la file d\'attente
11128
+ * @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
11129
+ * @param {*} [options] Override http request option.
11130
+ * @throws {RequiredError}
11131
+ */
11132
+ getUserPosition(requestParameters, options) {
11133
+ return localVarFp.getUserPosition(requestParameters.eventId, options).then((request) => request(axios, basePath));
11134
+ },
11135
+ /**
11136
+ * Rejoindre la file d\'attente pour un événement
11137
+ * @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
11138
+ * @param {*} [options] Override http request option.
11139
+ * @throws {RequiredError}
11140
+ */
11141
+ joinWaitList(requestParameters, options) {
11142
+ return localVarFp.joinWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
11143
+ },
11144
+ /**
11145
+ * Quitter la file d\'attente
11146
+ * @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
11147
+ * @param {*} [options] Override http request option.
11148
+ * @throws {RequiredError}
11149
+ */
11150
+ leaveWaitList(requestParameters, options) {
11151
+ return localVarFp.leaveWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
11152
+ },
11153
+ };
11154
+ };
11155
+ /**
11156
+ * EventsWaitListApi - object-oriented interface
11157
+ * @export
11158
+ * @class EventsWaitListApi
11159
+ * @extends {BaseAPI}
11160
+ */
11161
+ export class EventsWaitListApi extends BaseAPI {
11162
+ /**
11163
+ * Obtenir la position actuelle dans la file d\'attente
11164
+ * @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
11165
+ * @param {*} [options] Override http request option.
11166
+ * @throws {RequiredError}
11167
+ * @memberof EventsWaitListApi
11168
+ */
11169
+ getUserPosition(requestParameters, options) {
11170
+ return EventsWaitListApiFp(this.configuration).getUserPosition(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
11171
+ }
11172
+ /**
11173
+ * Rejoindre la file d\'attente pour un événement
11174
+ * @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
11175
+ * @param {*} [options] Override http request option.
11176
+ * @throws {RequiredError}
11177
+ * @memberof EventsWaitListApi
11178
+ */
11179
+ joinWaitList(requestParameters, options) {
11180
+ return EventsWaitListApiFp(this.configuration).joinWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
11181
+ }
11182
+ /**
11183
+ * Quitter la file d\'attente
11184
+ * @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
11185
+ * @param {*} [options] Override http request option.
11186
+ * @throws {RequiredError}
11187
+ * @memberof EventsWaitListApi
11188
+ */
11189
+ leaveWaitList(requestParameters, options) {
11190
+ return EventsWaitListApiFp(this.configuration).leaveWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
11191
+ }
11192
+ }
11193
+ /**
11194
+ * EventsWaitListStaffApi - axios parameter creator
11195
+ * @export
11196
+ */
11197
+ export const EventsWaitListStaffApiAxiosParamCreator = function (configuration) {
11198
+ return {
11199
+ /**
11200
+ * Obtenir la liste complète de la file d\'attente (staff only)
11201
+ * @param {string} eventId
11202
+ * @param {*} [options] Override http request option.
11203
+ * @throws {RequiredError}
11204
+ */
11205
+ getWaitListForEvent: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
11206
+ // verify required parameter 'eventId' is not null or undefined
11207
+ assertParamExists('getWaitListForEvent', 'eventId', eventId);
11208
+ const localVarPath = `/api/events/waitlist/{eventId}`
11209
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
11210
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11211
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11212
+ let baseOptions;
11213
+ if (configuration) {
11214
+ baseOptions = configuration.baseOptions;
11215
+ }
11216
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
11217
+ const localVarHeaderParameter = {};
11218
+ const localVarQueryParameter = {};
11219
+ // authentication bearerAuth required
11220
+ // http bearer authentication required
11221
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
11222
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11223
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11224
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11225
+ return {
11226
+ url: toPathString(localVarUrlObj),
11227
+ options: localVarRequestOptions,
11228
+ };
11229
+ }),
11230
+ /**
11231
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11232
+ * @param {string} eventId
11233
+ * @param {*} [options] Override http request option.
11234
+ * @throws {RequiredError}
11235
+ */
11236
+ processWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
11237
+ // verify required parameter 'eventId' is not null or undefined
11238
+ assertParamExists('processWaitList', 'eventId', eventId);
11239
+ const localVarPath = `/api/events/waitlist/{eventId}/process`
11240
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
11241
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11242
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11243
+ let baseOptions;
11244
+ if (configuration) {
11245
+ baseOptions = configuration.baseOptions;
11246
+ }
11247
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
11248
+ const localVarHeaderParameter = {};
11249
+ const localVarQueryParameter = {};
11250
+ // authentication bearerAuth required
11251
+ // http bearer authentication required
11252
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
11253
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11254
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11255
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11256
+ return {
11257
+ url: toPathString(localVarUrlObj),
11258
+ options: localVarRequestOptions,
11259
+ };
11260
+ }),
11261
+ };
11262
+ };
11263
+ /**
11264
+ * EventsWaitListStaffApi - functional programming interface
11265
+ * @export
11266
+ */
11267
+ export const EventsWaitListStaffApiFp = function (configuration) {
11268
+ const localVarAxiosParamCreator = EventsWaitListStaffApiAxiosParamCreator(configuration);
11269
+ return {
11270
+ /**
11271
+ * Obtenir la liste complète de la file d\'attente (staff only)
11272
+ * @param {string} eventId
11273
+ * @param {*} [options] Override http request option.
11274
+ * @throws {RequiredError}
11275
+ */
11276
+ getWaitListForEvent(eventId, options) {
11277
+ return __awaiter(this, void 0, void 0, function* () {
11278
+ var _a, _b, _c;
11279
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getWaitListForEvent(eventId, options);
11280
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11281
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListStaffApi.getWaitListForEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11282
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11283
+ });
11284
+ },
11285
+ /**
11286
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11287
+ * @param {string} eventId
11288
+ * @param {*} [options] Override http request option.
11289
+ * @throws {RequiredError}
11290
+ */
11291
+ processWaitList(eventId, options) {
11292
+ return __awaiter(this, void 0, void 0, function* () {
11293
+ var _a, _b, _c;
11294
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.processWaitList(eventId, options);
11295
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11296
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListStaffApi.processWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11297
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11298
+ });
11299
+ },
11300
+ };
11301
+ };
11302
+ /**
11303
+ * EventsWaitListStaffApi - factory interface
11304
+ * @export
11305
+ */
11306
+ export const EventsWaitListStaffApiFactory = function (configuration, basePath, axios) {
11307
+ const localVarFp = EventsWaitListStaffApiFp(configuration);
11308
+ return {
11309
+ /**
11310
+ * Obtenir la liste complète de la file d\'attente (staff only)
11311
+ * @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
11312
+ * @param {*} [options] Override http request option.
11313
+ * @throws {RequiredError}
11314
+ */
11315
+ getWaitListForEvent(requestParameters, options) {
11316
+ return localVarFp.getWaitListForEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
11317
+ },
11318
+ /**
11319
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11320
+ * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
11321
+ * @param {*} [options] Override http request option.
11322
+ * @throws {RequiredError}
11323
+ */
11324
+ processWaitList(requestParameters, options) {
11325
+ return localVarFp.processWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
11326
+ },
11327
+ };
11328
+ };
11329
+ /**
11330
+ * EventsWaitListStaffApi - object-oriented interface
11331
+ * @export
11332
+ * @class EventsWaitListStaffApi
11333
+ * @extends {BaseAPI}
11334
+ */
11335
+ export class EventsWaitListStaffApi extends BaseAPI {
11336
+ /**
11337
+ * Obtenir la liste complète de la file d\'attente (staff only)
11338
+ * @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
11339
+ * @param {*} [options] Override http request option.
11340
+ * @throws {RequiredError}
11341
+ * @memberof EventsWaitListStaffApi
11342
+ */
11343
+ getWaitListForEvent(requestParameters, options) {
11344
+ return EventsWaitListStaffApiFp(this.configuration).getWaitListForEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
11345
+ }
11346
+ /**
11347
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11348
+ * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
11349
+ * @param {*} [options] Override http request option.
11350
+ * @throws {RequiredError}
11351
+ * @memberof EventsWaitListStaffApi
11352
+ */
11353
+ processWaitList(requestParameters, options) {
11354
+ return EventsWaitListStaffApiFp(this.configuration).processWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
11355
+ }
11356
+ }
10946
11357
  /**
10947
11358
  * ImagesApi - axios parameter creator
10948
11359
  * @export
@@ -12674,6 +13085,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
12674
13085
  options: localVarRequestOptions,
12675
13086
  };
12676
13087
  }),
13088
+ /**
13089
+ *
13090
+ * @param {CompleteRegisterRequestBody} completeRegisterRequestBody
13091
+ * @param {*} [options] Override http request option.
13092
+ * @throws {RequiredError}
13093
+ */
13094
+ completeRegister: (completeRegisterRequestBody_1, ...args_1) => __awaiter(this, [completeRegisterRequestBody_1, ...args_1], void 0, function* (completeRegisterRequestBody, options = {}) {
13095
+ // verify required parameter 'completeRegisterRequestBody' is not null or undefined
13096
+ assertParamExists('completeRegister', 'completeRegisterRequestBody', completeRegisterRequestBody);
13097
+ const localVarPath = `/api/users/complete-register`;
13098
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13099
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13100
+ let baseOptions;
13101
+ if (configuration) {
13102
+ baseOptions = configuration.baseOptions;
13103
+ }
13104
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13105
+ const localVarHeaderParameter = {};
13106
+ const localVarQueryParameter = {};
13107
+ // authentication bearerAuth required
13108
+ // http bearer authentication required
13109
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13110
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13111
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13112
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13113
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13114
+ localVarRequestOptions.data = serializeDataIfNeeded(completeRegisterRequestBody, localVarRequestOptions, configuration);
13115
+ return {
13116
+ url: toPathString(localVarUrlObj),
13117
+ options: localVarRequestOptions,
13118
+ };
13119
+ }),
12677
13120
  /**
12678
13121
  *
12679
13122
  * @param {*} [options] Override http request option.
@@ -13355,6 +13798,35 @@ export const UsersApiAxiosParamCreator = function (configuration) {
13355
13798
  options: localVarRequestOptions,
13356
13799
  };
13357
13800
  }),
13801
+ /**
13802
+ *
13803
+ * @param {AppRegisterRequestBody} appRegisterRequestBody
13804
+ * @param {*} [options] Override http request option.
13805
+ * @throws {RequiredError}
13806
+ */
13807
+ registerFromApp: (appRegisterRequestBody_1, ...args_1) => __awaiter(this, [appRegisterRequestBody_1, ...args_1], void 0, function* (appRegisterRequestBody, options = {}) {
13808
+ // verify required parameter 'appRegisterRequestBody' is not null or undefined
13809
+ assertParamExists('registerFromApp', 'appRegisterRequestBody', appRegisterRequestBody);
13810
+ const localVarPath = `/api/users/register-app`;
13811
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13812
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13813
+ let baseOptions;
13814
+ if (configuration) {
13815
+ baseOptions = configuration.baseOptions;
13816
+ }
13817
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13818
+ const localVarHeaderParameter = {};
13819
+ const localVarQueryParameter = {};
13820
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13821
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13822
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13823
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13824
+ localVarRequestOptions.data = serializeDataIfNeeded(appRegisterRequestBody, localVarRequestOptions, configuration);
13825
+ return {
13826
+ url: toPathString(localVarUrlObj),
13827
+ options: localVarRequestOptions,
13828
+ };
13829
+ }),
13358
13830
  /**
13359
13831
  *
13360
13832
  * @param {string} clubId
@@ -13818,6 +14290,21 @@ export const UsersApiFp = function (configuration) {
13818
14290
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13819
14291
  });
13820
14292
  },
14293
+ /**
14294
+ *
14295
+ * @param {CompleteRegisterRequestBody} completeRegisterRequestBody
14296
+ * @param {*} [options] Override http request option.
14297
+ * @throws {RequiredError}
14298
+ */
14299
+ completeRegister(completeRegisterRequestBody, options) {
14300
+ return __awaiter(this, void 0, void 0, function* () {
14301
+ var _a, _b, _c;
14302
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.completeRegister(completeRegisterRequestBody, options);
14303
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14304
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.completeRegister']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14305
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14306
+ });
14307
+ },
13821
14308
  /**
13822
14309
  *
13823
14310
  * @param {*} [options] Override http request option.
@@ -14144,6 +14631,21 @@ export const UsersApiFp = function (configuration) {
14144
14631
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14145
14632
  });
14146
14633
  },
14634
+ /**
14635
+ *
14636
+ * @param {AppRegisterRequestBody} appRegisterRequestBody
14637
+ * @param {*} [options] Override http request option.
14638
+ * @throws {RequiredError}
14639
+ */
14640
+ registerFromApp(appRegisterRequestBody, options) {
14641
+ return __awaiter(this, void 0, void 0, function* () {
14642
+ var _a, _b, _c;
14643
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.registerFromApp(appRegisterRequestBody, options);
14644
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14645
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.registerFromApp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14646
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14647
+ });
14648
+ },
14147
14649
  /**
14148
14650
  *
14149
14651
  * @param {string} clubId
@@ -14383,6 +14885,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
14383
14885
  changePassword(requestParameters, options) {
14384
14886
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
14385
14887
  },
14888
+ /**
14889
+ *
14890
+ * @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
14891
+ * @param {*} [options] Override http request option.
14892
+ * @throws {RequiredError}
14893
+ */
14894
+ completeRegister(requestParameters, options) {
14895
+ return localVarFp.completeRegister(requestParameters.completeRegisterRequestBody, options).then((request) => request(axios, basePath));
14896
+ },
14386
14897
  /**
14387
14898
  *
14388
14899
  * @param {*} [options] Override http request option.
@@ -14564,6 +15075,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
14564
15075
  register(requestParameters, options) {
14565
15076
  return localVarFp.register(requestParameters.registerRequestBody, options).then((request) => request(axios, basePath));
14566
15077
  },
15078
+ /**
15079
+ *
15080
+ * @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
15081
+ * @param {*} [options] Override http request option.
15082
+ * @throws {RequiredError}
15083
+ */
15084
+ registerFromApp(requestParameters, options) {
15085
+ return localVarFp.registerFromApp(requestParameters.appRegisterRequestBody, options).then((request) => request(axios, basePath));
15086
+ },
14567
15087
  /**
14568
15088
  *
14569
15089
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
@@ -14729,6 +15249,16 @@ export class UsersApi extends BaseAPI {
14729
15249
  changePassword(requestParameters, options) {
14730
15250
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
14731
15251
  }
15252
+ /**
15253
+ *
15254
+ * @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
15255
+ * @param {*} [options] Override http request option.
15256
+ * @throws {RequiredError}
15257
+ * @memberof UsersApi
15258
+ */
15259
+ completeRegister(requestParameters, options) {
15260
+ return UsersApiFp(this.configuration).completeRegister(requestParameters.completeRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
15261
+ }
14732
15262
  /**
14733
15263
  *
14734
15264
  * @param {*} [options] Override http request option.
@@ -14931,6 +15461,16 @@ export class UsersApi extends BaseAPI {
14931
15461
  register(requestParameters, options) {
14932
15462
  return UsersApiFp(this.configuration).register(requestParameters.registerRequestBody, options).then((request) => request(this.axios, this.basePath));
14933
15463
  }
15464
+ /**
15465
+ *
15466
+ * @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
15467
+ * @param {*} [options] Override http request option.
15468
+ * @throws {RequiredError}
15469
+ * @memberof UsersApi
15470
+ */
15471
+ registerFromApp(requestParameters, options) {
15472
+ return UsersApiFp(this.configuration).registerFromApp(requestParameters.appRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
15473
+ }
14934
15474
  /**
14935
15475
  *
14936
15476
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.163
5
+ * The version of the OpenAPI document: 1.0.171
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.163
7
+ * The version of the OpenAPI document: 1.0.171
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.163
5
+ * The version of the OpenAPI document: 1.0.171
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.163
7
+ * The version of the OpenAPI document: 1.0.171
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).