@tennac-booking/sdk 1.0.249 → 1.0.251
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/.openapi-generator/FILES +4 -0
- package/README.md +5 -0
- package/api.ts +292 -15
- package/dist/api.d.ts +236 -6
- package/dist/api.js +93 -15
- package/dist/esm/api.d.ts +236 -6
- package/dist/esm/api.js +93 -15
- package/docs/AccountDeletionRequestBody.md +22 -0
- package/docs/AccountDeletionRequestResponse.md +22 -0
- package/docs/BookingClubInfo.md +2 -0
- package/docs/BookingClubInfoClubSettings.md +22 -0
- package/docs/ClubGeneralSettingsResponse.md +2 -0
- package/docs/ClubResponse.md +2 -0
- package/docs/CreateEventRequest.md +2 -0
- package/docs/EventResponse.md +2 -0
- package/docs/JoinEventRequest.md +4 -0
- package/docs/JoinOpenEventBookingRequest.md +2 -0
- package/docs/JoinWaitListRequest.md +24 -0
- package/docs/UpdateClubGeneralSettingsRequest.md +2 -0
- package/docs/UpdateClubRequest.md +2 -0
- package/docs/UpdateEventRequest.md +2 -0
- package/docs/UpdateRecurringDefinitionRequest.md +2 -0
- package/docs/UsersApi.md +55 -0
- package/docs/WaitListApi.md +21 -9
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -16739,6 +16739,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
16739
16739
|
options: localVarRequestOptions,
|
|
16740
16740
|
};
|
|
16741
16741
|
}),
|
|
16742
|
+
/**
|
|
16743
|
+
*
|
|
16744
|
+
* @param {AccountDeletionRequestBody} accountDeletionRequestBody
|
|
16745
|
+
* @param {*} [options] Override http request option.
|
|
16746
|
+
* @throws {RequiredError}
|
|
16747
|
+
*/
|
|
16748
|
+
requestAccountDeletion: (accountDeletionRequestBody_1, ...args_1) => __awaiter(this, [accountDeletionRequestBody_1, ...args_1], void 0, function* (accountDeletionRequestBody, options = {}) {
|
|
16749
|
+
// verify required parameter 'accountDeletionRequestBody' is not null or undefined
|
|
16750
|
+
assertParamExists('requestAccountDeletion', 'accountDeletionRequestBody', accountDeletionRequestBody);
|
|
16751
|
+
const localVarPath = `/api/users/me/request-account-deletion`;
|
|
16752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16754
|
+
let baseOptions;
|
|
16755
|
+
if (configuration) {
|
|
16756
|
+
baseOptions = configuration.baseOptions;
|
|
16757
|
+
}
|
|
16758
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16759
|
+
const localVarHeaderParameter = {};
|
|
16760
|
+
const localVarQueryParameter = {};
|
|
16761
|
+
// authentication bearerAuth required
|
|
16762
|
+
// http bearer authentication required
|
|
16763
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16764
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16765
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16766
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16767
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16768
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accountDeletionRequestBody, localVarRequestOptions, configuration);
|
|
16769
|
+
return {
|
|
16770
|
+
url: toPathString(localVarUrlObj),
|
|
16771
|
+
options: localVarRequestOptions,
|
|
16772
|
+
};
|
|
16773
|
+
}),
|
|
16742
16774
|
/**
|
|
16743
16775
|
*
|
|
16744
16776
|
* @param {*} [options] Override http request option.
|
|
@@ -17719,6 +17751,21 @@ export const UsersApiFp = function (configuration) {
|
|
|
17719
17751
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17720
17752
|
});
|
|
17721
17753
|
},
|
|
17754
|
+
/**
|
|
17755
|
+
*
|
|
17756
|
+
* @param {AccountDeletionRequestBody} accountDeletionRequestBody
|
|
17757
|
+
* @param {*} [options] Override http request option.
|
|
17758
|
+
* @throws {RequiredError}
|
|
17759
|
+
*/
|
|
17760
|
+
requestAccountDeletion(accountDeletionRequestBody, options) {
|
|
17761
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17762
|
+
var _a, _b, _c;
|
|
17763
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestAccountDeletion(accountDeletionRequestBody, options);
|
|
17764
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17765
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.requestAccountDeletion']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17766
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17767
|
+
});
|
|
17768
|
+
},
|
|
17722
17769
|
/**
|
|
17723
17770
|
*
|
|
17724
17771
|
* @param {*} [options] Override http request option.
|
|
@@ -18243,6 +18290,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
18243
18290
|
removeOrganization(requestParameters, options) {
|
|
18244
18291
|
return localVarFp.removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
|
|
18245
18292
|
},
|
|
18293
|
+
/**
|
|
18294
|
+
*
|
|
18295
|
+
* @param {UsersApiRequestAccountDeletionRequest} requestParameters Request parameters.
|
|
18296
|
+
* @param {*} [options] Override http request option.
|
|
18297
|
+
* @throws {RequiredError}
|
|
18298
|
+
*/
|
|
18299
|
+
requestAccountDeletion(requestParameters, options) {
|
|
18300
|
+
return localVarFp.requestAccountDeletion(requestParameters.accountDeletionRequestBody, options).then((request) => request(axios, basePath));
|
|
18301
|
+
},
|
|
18246
18302
|
/**
|
|
18247
18303
|
*
|
|
18248
18304
|
* @param {*} [options] Override http request option.
|
|
@@ -18720,6 +18776,16 @@ export class UsersApi extends BaseAPI {
|
|
|
18720
18776
|
removeOrganization(requestParameters, options) {
|
|
18721
18777
|
return UsersApiFp(this.configuration).removeOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18722
18778
|
}
|
|
18779
|
+
/**
|
|
18780
|
+
*
|
|
18781
|
+
* @param {UsersApiRequestAccountDeletionRequest} requestParameters Request parameters.
|
|
18782
|
+
* @param {*} [options] Override http request option.
|
|
18783
|
+
* @throws {RequiredError}
|
|
18784
|
+
* @memberof UsersApi
|
|
18785
|
+
*/
|
|
18786
|
+
requestAccountDeletion(requestParameters, options) {
|
|
18787
|
+
return UsersApiFp(this.configuration).requestAccountDeletion(requestParameters.accountDeletionRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
18788
|
+
}
|
|
18723
18789
|
/**
|
|
18724
18790
|
*
|
|
18725
18791
|
* @param {*} [options] Override http request option.
|
|
@@ -18959,10 +19025,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
|
|
|
18959
19025
|
/**
|
|
18960
19026
|
* Rejoindre la file d\'attente pour un booking (créneau ouvert)
|
|
18961
19027
|
* @param {string} bookingId
|
|
19028
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
18962
19029
|
* @param {*} [options] Override http request option.
|
|
18963
19030
|
* @throws {RequiredError}
|
|
18964
19031
|
*/
|
|
18965
|
-
joinBookingWaitList: (bookingId_1, ...args_1) => __awaiter(this, [bookingId_1, ...args_1], void 0, function* (bookingId, options = {}) {
|
|
19032
|
+
joinBookingWaitList: (bookingId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [bookingId_1, joinWaitListRequest_1, ...args_1], void 0, function* (bookingId, joinWaitListRequest, options = {}) {
|
|
18966
19033
|
// verify required parameter 'bookingId' is not null or undefined
|
|
18967
19034
|
assertParamExists('joinBookingWaitList', 'bookingId', bookingId);
|
|
18968
19035
|
const localVarPath = `/api/waitlist/booking/{bookingId}/join`
|
|
@@ -18979,9 +19046,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
|
|
|
18979
19046
|
// authentication bearerAuth required
|
|
18980
19047
|
// http bearer authentication required
|
|
18981
19048
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19049
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18982
19050
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18983
19051
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18984
19052
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19053
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
|
|
18985
19054
|
return {
|
|
18986
19055
|
url: toPathString(localVarUrlObj),
|
|
18987
19056
|
options: localVarRequestOptions,
|
|
@@ -18990,10 +19059,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
|
|
|
18990
19059
|
/**
|
|
18991
19060
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
18992
19061
|
* @param {string} eventBookingId
|
|
19062
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
18993
19063
|
* @param {*} [options] Override http request option.
|
|
18994
19064
|
* @throws {RequiredError}
|
|
18995
19065
|
*/
|
|
18996
|
-
joinEventBookingWaitList: (eventBookingId_1, ...args_1) => __awaiter(this, [eventBookingId_1, ...args_1], void 0, function* (eventBookingId, options = {}) {
|
|
19066
|
+
joinEventBookingWaitList: (eventBookingId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventBookingId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventBookingId, joinWaitListRequest, options = {}) {
|
|
18997
19067
|
// verify required parameter 'eventBookingId' is not null or undefined
|
|
18998
19068
|
assertParamExists('joinEventBookingWaitList', 'eventBookingId', eventBookingId);
|
|
18999
19069
|
const localVarPath = `/api/waitlist/event-booking/{eventBookingId}/join`
|
|
@@ -19010,9 +19080,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
|
|
|
19010
19080
|
// authentication bearerAuth required
|
|
19011
19081
|
// http bearer authentication required
|
|
19012
19082
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19083
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19013
19084
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19014
19085
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19015
19086
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19087
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
|
|
19016
19088
|
return {
|
|
19017
19089
|
url: toPathString(localVarUrlObj),
|
|
19018
19090
|
options: localVarRequestOptions,
|
|
@@ -19021,10 +19093,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
|
|
|
19021
19093
|
/**
|
|
19022
19094
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
19023
19095
|
* @param {string} eventId
|
|
19096
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
19024
19097
|
* @param {*} [options] Override http request option.
|
|
19025
19098
|
* @throws {RequiredError}
|
|
19026
19099
|
*/
|
|
19027
|
-
joinEventWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
19100
|
+
joinEventWaitList: (eventId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventId, joinWaitListRequest, options = {}) {
|
|
19028
19101
|
// verify required parameter 'eventId' is not null or undefined
|
|
19029
19102
|
assertParamExists('joinEventWaitList', 'eventId', eventId);
|
|
19030
19103
|
const localVarPath = `/api/waitlist/event/{eventId}/join`
|
|
@@ -19041,9 +19114,11 @@ export const WaitListApiAxiosParamCreator = function (configuration) {
|
|
|
19041
19114
|
// authentication bearerAuth required
|
|
19042
19115
|
// http bearer authentication required
|
|
19043
19116
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19117
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19044
19118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19045
19119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19046
19120
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19121
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
|
|
19047
19122
|
return {
|
|
19048
19123
|
url: toPathString(localVarUrlObj),
|
|
19049
19124
|
options: localVarRequestOptions,
|
|
@@ -19199,13 +19274,14 @@ export const WaitListApiFp = function (configuration) {
|
|
|
19199
19274
|
/**
|
|
19200
19275
|
* Rejoindre la file d\'attente pour un booking (créneau ouvert)
|
|
19201
19276
|
* @param {string} bookingId
|
|
19277
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
19202
19278
|
* @param {*} [options] Override http request option.
|
|
19203
19279
|
* @throws {RequiredError}
|
|
19204
19280
|
*/
|
|
19205
|
-
joinBookingWaitList(bookingId, options) {
|
|
19281
|
+
joinBookingWaitList(bookingId, joinWaitListRequest, options) {
|
|
19206
19282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19207
19283
|
var _a, _b, _c;
|
|
19208
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinBookingWaitList(bookingId, options);
|
|
19284
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinBookingWaitList(bookingId, joinWaitListRequest, options);
|
|
19209
19285
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19210
19286
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinBookingWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19211
19287
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19214,13 +19290,14 @@ export const WaitListApiFp = function (configuration) {
|
|
|
19214
19290
|
/**
|
|
19215
19291
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
19216
19292
|
* @param {string} eventBookingId
|
|
19293
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
19217
19294
|
* @param {*} [options] Override http request option.
|
|
19218
19295
|
* @throws {RequiredError}
|
|
19219
19296
|
*/
|
|
19220
|
-
joinEventBookingWaitList(eventBookingId, options) {
|
|
19297
|
+
joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options) {
|
|
19221
19298
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19222
19299
|
var _a, _b, _c;
|
|
19223
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, options);
|
|
19300
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventBookingWaitList(eventBookingId, joinWaitListRequest, options);
|
|
19224
19301
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19225
19302
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinEventBookingWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19226
19303
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19229,13 +19306,14 @@ export const WaitListApiFp = function (configuration) {
|
|
|
19229
19306
|
/**
|
|
19230
19307
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
19231
19308
|
* @param {string} eventId
|
|
19309
|
+
* @param {JoinWaitListRequest} [joinWaitListRequest]
|
|
19232
19310
|
* @param {*} [options] Override http request option.
|
|
19233
19311
|
* @throws {RequiredError}
|
|
19234
19312
|
*/
|
|
19235
|
-
joinEventWaitList(eventId, options) {
|
|
19313
|
+
joinEventWaitList(eventId, joinWaitListRequest, options) {
|
|
19236
19314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19237
19315
|
var _a, _b, _c;
|
|
19238
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventWaitList(eventId, options);
|
|
19316
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinEventWaitList(eventId, joinWaitListRequest, options);
|
|
19239
19317
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19240
19318
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WaitListApi.joinEventWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19241
19319
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19329,7 +19407,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
|
|
|
19329
19407
|
* @throws {RequiredError}
|
|
19330
19408
|
*/
|
|
19331
19409
|
joinBookingWaitList(requestParameters, options) {
|
|
19332
|
-
return localVarFp.joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
19410
|
+
return localVarFp.joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
19333
19411
|
},
|
|
19334
19412
|
/**
|
|
19335
19413
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
@@ -19338,7 +19416,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
|
|
|
19338
19416
|
* @throws {RequiredError}
|
|
19339
19417
|
*/
|
|
19340
19418
|
joinEventBookingWaitList(requestParameters, options) {
|
|
19341
|
-
return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
|
|
19419
|
+
return localVarFp.joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
19342
19420
|
},
|
|
19343
19421
|
/**
|
|
19344
19422
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
@@ -19347,7 +19425,7 @@ export const WaitListApiFactory = function (configuration, basePath, axios) {
|
|
|
19347
19425
|
* @throws {RequiredError}
|
|
19348
19426
|
*/
|
|
19349
19427
|
joinEventWaitList(requestParameters, options) {
|
|
19350
|
-
return localVarFp.joinEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
19428
|
+
return localVarFp.joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
19351
19429
|
},
|
|
19352
19430
|
/**
|
|
19353
19431
|
* Quitter la file d\'attente d\'un booking
|
|
@@ -19423,7 +19501,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
19423
19501
|
* @memberof WaitListApi
|
|
19424
19502
|
*/
|
|
19425
19503
|
joinBookingWaitList(requestParameters, options) {
|
|
19426
|
-
return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
19504
|
+
return WaitListApiFp(this.configuration).joinBookingWaitList(requestParameters.bookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19427
19505
|
}
|
|
19428
19506
|
/**
|
|
19429
19507
|
* Rejoindre la file d\'attente pour un eventBooking (event en équipe avec créneau ouvert)
|
|
@@ -19433,7 +19511,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
19433
19511
|
* @memberof WaitListApi
|
|
19434
19512
|
*/
|
|
19435
19513
|
joinEventBookingWaitList(requestParameters, options) {
|
|
19436
|
-
return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
|
|
19514
|
+
return WaitListApiFp(this.configuration).joinEventBookingWaitList(requestParameters.eventBookingId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19437
19515
|
}
|
|
19438
19516
|
/**
|
|
19439
19517
|
* Rejoindre la file d\'attente pour un event (participation solo)
|
|
@@ -19443,7 +19521,7 @@ export class WaitListApi extends BaseAPI {
|
|
|
19443
19521
|
* @memberof WaitListApi
|
|
19444
19522
|
*/
|
|
19445
19523
|
joinEventWaitList(requestParameters, options) {
|
|
19446
|
-
return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
19524
|
+
return WaitListApiFp(this.configuration).joinEventWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19447
19525
|
}
|
|
19448
19526
|
/**
|
|
19449
19527
|
* Quitter la file d\'attente d\'un booking
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AccountDeletionRequestBody
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | Message libre décrivant la demande de suppression. | [default to undefined]
|
|
9
|
+
**reason** | **string** | Raison courte de la demande (ex: RGPD, ne plus utiliser l\'application). Optionnelle. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AccountDeletionRequestBody } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: AccountDeletionRequestBody = {
|
|
17
|
+
message,
|
|
18
|
+
reason,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AccountDeletionRequestResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**requestId** | **string** | | [default to undefined]
|
|
9
|
+
**success** | **boolean** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AccountDeletionRequestResponse } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: AccountDeletionRequestResponse = {
|
|
17
|
+
requestId,
|
|
18
|
+
success,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/BookingClubInfo.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**bannerPicture** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**address** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**location** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
14
|
+
**clubSettings** | [**BookingClubInfoClubSettings**](BookingClubInfoClubSettings.md) | | [optional] [default to undefined]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -24,6 +25,7 @@ const instance: BookingClubInfo = {
|
|
|
24
25
|
bannerPicture,
|
|
25
26
|
address,
|
|
26
27
|
location,
|
|
28
|
+
clubSettings,
|
|
27
29
|
};
|
|
28
30
|
```
|
|
29
31
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BookingClubInfoClubSettings
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**cancellationLimitHours** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**isNoShowEnabled** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BookingClubInfoClubSettings } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: BookingClubInfoClubSettings = {
|
|
17
|
+
cancellationLimitHours,
|
|
18
|
+
isNoShowEnabled,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**email** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**phone** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**websiteUrl** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**socials** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
12
13
|
**logo** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [default to undefined]
|
|
14
15
|
**stripeUrl** | **string** | | [optional] [default to undefined]
|
|
@@ -23,6 +24,7 @@ const instance: ClubGeneralSettingsResponse = {
|
|
|
23
24
|
email,
|
|
24
25
|
phone,
|
|
25
26
|
websiteUrl,
|
|
27
|
+
socials,
|
|
26
28
|
logo,
|
|
27
29
|
location,
|
|
28
30
|
stripeUrl,
|
package/docs/ClubResponse.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | ID unique du club | [default to undefined]
|
|
9
9
|
**name** | **string** | Nom du club | [default to undefined]
|
|
10
10
|
**websiteUrl** | **string** | URL du site web du club | [optional] [default to undefined]
|
|
11
|
+
**socials** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
11
12
|
**description** | **string** | Description du club | [optional] [default to undefined]
|
|
12
13
|
**email** | **string** | Email du club | [optional] [default to undefined]
|
|
13
14
|
**phone** | **string** | Téléphone du club | [optional] [default to undefined]
|
|
@@ -41,6 +42,7 @@ const instance: ClubResponse = {
|
|
|
41
42
|
id,
|
|
42
43
|
name,
|
|
43
44
|
websiteUrl,
|
|
45
|
+
socials,
|
|
44
46
|
description,
|
|
45
47
|
email,
|
|
46
48
|
phone,
|
|
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
|
|
|
31
31
|
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
32
32
|
**registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
|
|
33
33
|
**visibilityType** | **string** | | [default to undefined]
|
|
34
|
+
**needLicence** | **boolean** | | [optional] [default to undefined]
|
|
34
35
|
|
|
35
36
|
## Example
|
|
36
37
|
|
|
@@ -64,6 +65,7 @@ const instance: CreateEventRequest = {
|
|
|
64
65
|
sponsors,
|
|
65
66
|
registrationOpenDaysBefore,
|
|
66
67
|
visibilityType,
|
|
68
|
+
needLicence,
|
|
67
69
|
};
|
|
68
70
|
```
|
|
69
71
|
|
package/docs/EventResponse.md
CHANGED
|
@@ -30,6 +30,7 @@ Name | Type | Description | Notes
|
|
|
30
30
|
**price** | **number** | | [optional] [default to undefined]
|
|
31
31
|
**subscriberPrices** | [**Array<SubscriberPrice>**](SubscriberPrice.md) | | [optional] [default to undefined]
|
|
32
32
|
**visibilityType** | **string** | | [default to undefined]
|
|
33
|
+
**needLicence** | **boolean** | | [default to undefined]
|
|
33
34
|
**levels** | **Array<string | null>** | | [optional] [default to undefined]
|
|
34
35
|
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
35
36
|
**registrationOpenDaysBefore** | **number** | | [default to undefined]
|
|
@@ -70,6 +71,7 @@ const instance: EventResponse = {
|
|
|
70
71
|
price,
|
|
71
72
|
subscriberPrices,
|
|
72
73
|
visibilityType,
|
|
74
|
+
needLicence,
|
|
73
75
|
levels,
|
|
74
76
|
sponsors,
|
|
75
77
|
registrationOpenDaysBefore,
|
package/docs/JoinEventRequest.md
CHANGED
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**players** | **Array<string>** | | [optional] [default to undefined]
|
|
10
|
+
**licenceNumber** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**playersLicenceNumbers** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
10
12
|
**isOpen** | **boolean** | | [optional] [default to undefined]
|
|
11
13
|
**isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
|
|
12
14
|
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
@@ -22,6 +24,8 @@ import { JoinEventRequest } from '@tennac-booking/sdk';
|
|
|
22
24
|
const instance: JoinEventRequest = {
|
|
23
25
|
teamName,
|
|
24
26
|
players,
|
|
27
|
+
licenceNumber,
|
|
28
|
+
playersLicenceNumbers,
|
|
25
29
|
isOpen,
|
|
26
30
|
isCreatorPayingAll,
|
|
27
31
|
paymentMethod,
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**licenceNumber** | **string** | | [optional] [default to undefined]
|
|
8
9
|
**creditToUseInCents** | **number** | | [optional] [default to undefined]
|
|
9
10
|
**useDefaultPaymentMethod** | **boolean** | | [optional] [default to undefined]
|
|
10
11
|
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
@@ -15,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
15
16
|
import { JoinOpenEventBookingRequest } from '@tennac-booking/sdk';
|
|
16
17
|
|
|
17
18
|
const instance: JoinOpenEventBookingRequest = {
|
|
19
|
+
licenceNumber,
|
|
18
20
|
creditToUseInCents,
|
|
19
21
|
useDefaultPaymentMethod,
|
|
20
22
|
paymentMethod,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# JoinWaitListRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
9
|
+
**useDefaultPaymentMethod** | **boolean** | | [optional] [default to undefined]
|
|
10
|
+
**licenceNumber** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { JoinWaitListRequest } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: JoinWaitListRequest = {
|
|
18
|
+
paymentMethod,
|
|
19
|
+
useDefaultPaymentMethod,
|
|
20
|
+
licenceNumber,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**email** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**phone** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**websiteUrl** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**socials** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
12
13
|
**description** | **string** | | [optional] [default to undefined]
|
|
13
14
|
**logo** | [**UpdateClubGeneralSettingsRequestLogo**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
|
|
14
15
|
**location** | [**ClubLocationSettings**](ClubLocationSettings.md) | | [optional] [default to undefined]
|
|
@@ -23,6 +24,7 @@ const instance: UpdateClubGeneralSettingsRequest = {
|
|
|
23
24
|
email,
|
|
24
25
|
phone,
|
|
25
26
|
websiteUrl,
|
|
27
|
+
socials,
|
|
26
28
|
description,
|
|
27
29
|
logo,
|
|
28
30
|
location,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**name** | **string** | Nom du club | [optional] [default to undefined]
|
|
9
9
|
**websiteUrl** | **string** | URL du site web du club | [optional] [default to undefined]
|
|
10
|
+
**socials** | **{ [key: string]: string; }** | Réseaux sociaux du club (ex: { insta: \"https://...\" }) | [optional] [default to undefined]
|
|
10
11
|
**description** | **string** | Description du club | [optional] [default to undefined]
|
|
11
12
|
**email** | **string** | Email du club | [optional] [default to undefined]
|
|
12
13
|
**phone** | **string** | Téléphone du club | [optional] [default to undefined]
|
|
@@ -22,6 +23,7 @@ import { UpdateClubRequest } from '@tennac-booking/sdk';
|
|
|
22
23
|
const instance: UpdateClubRequest = {
|
|
23
24
|
name,
|
|
24
25
|
websiteUrl,
|
|
26
|
+
socials,
|
|
25
27
|
description,
|
|
26
28
|
email,
|
|
27
29
|
phone,
|
|
@@ -30,6 +30,7 @@ Name | Type | Description | Notes
|
|
|
30
30
|
**levels** | **Array<string | null>** | | [optional] [default to undefined]
|
|
31
31
|
**registrationOpenDaysBefore** | **number** | | [optional] [default to undefined]
|
|
32
32
|
**sponsors** | [**Array<EventSponsor>**](EventSponsor.md) | | [optional] [default to undefined]
|
|
33
|
+
**needLicence** | **boolean** | | [optional] [default to undefined]
|
|
33
34
|
|
|
34
35
|
## Example
|
|
35
36
|
|
|
@@ -62,6 +63,7 @@ const instance: UpdateEventRequest = {
|
|
|
62
63
|
levels,
|
|
63
64
|
registrationOpenDaysBefore,
|
|
64
65
|
sponsors,
|
|
66
|
+
needLicence,
|
|
65
67
|
};
|
|
66
68
|
```
|
|
67
69
|
|
|
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**baseEndDate** | **string** | | [optional] [default to undefined]
|
|
30
30
|
**recurringType** | **string** | | [optional] [default to undefined]
|
|
31
31
|
**recurrenceEndDate** | **string** | | [optional] [default to undefined]
|
|
32
|
+
**needLicence** | **boolean** | | [optional] [default to undefined]
|
|
32
33
|
|
|
33
34
|
## Example
|
|
34
35
|
|
|
@@ -60,6 +61,7 @@ const instance: UpdateRecurringDefinitionRequest = {
|
|
|
60
61
|
baseEndDate,
|
|
61
62
|
recurringType,
|
|
62
63
|
recurrenceEndDate,
|
|
64
|
+
needLicence,
|
|
63
65
|
};
|
|
64
66
|
```
|
|
65
67
|
|
package/docs/UsersApi.md
CHANGED
|
@@ -40,6 +40,7 @@ All URIs are relative to *http://localhost*
|
|
|
40
40
|
|[**removeFavoriteClub**](#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} | |
|
|
41
41
|
|[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | |
|
|
42
42
|
|[**removeOrganization**](#removeorganization) | **POST** /api/users/me/remove-organization | |
|
|
43
|
+
|[**requestAccountDeletion**](#requestaccountdeletion) | **POST** /api/users/me/request-account-deletion | |
|
|
43
44
|
|[**requestEmailVerification**](#requestemailverification) | **POST** /api/users/me/request-email-verification | |
|
|
44
45
|
|[**requestOrganizationCode**](#requestorganizationcode) | **POST** /api/users/me/request-organization-code | |
|
|
45
46
|
|[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
|
|
@@ -1886,6 +1887,60 @@ const { status, data } = await apiInstance.removeOrganization(
|
|
|
1886
1887
|
|
|
1887
1888
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1888
1889
|
|
|
1890
|
+
# **requestAccountDeletion**
|
|
1891
|
+
> AccountDeletionRequestResponse requestAccountDeletion(accountDeletionRequestBody)
|
|
1892
|
+
|
|
1893
|
+
|
|
1894
|
+
### Example
|
|
1895
|
+
|
|
1896
|
+
```typescript
|
|
1897
|
+
import {
|
|
1898
|
+
UsersApi,
|
|
1899
|
+
Configuration,
|
|
1900
|
+
AccountDeletionRequestBody
|
|
1901
|
+
} from '@tennac-booking/sdk';
|
|
1902
|
+
|
|
1903
|
+
const configuration = new Configuration();
|
|
1904
|
+
const apiInstance = new UsersApi(configuration);
|
|
1905
|
+
|
|
1906
|
+
let accountDeletionRequestBody: AccountDeletionRequestBody; //
|
|
1907
|
+
|
|
1908
|
+
const { status, data } = await apiInstance.requestAccountDeletion(
|
|
1909
|
+
accountDeletionRequestBody
|
|
1910
|
+
);
|
|
1911
|
+
```
|
|
1912
|
+
|
|
1913
|
+
### Parameters
|
|
1914
|
+
|
|
1915
|
+
|Name | Type | Description | Notes|
|
|
1916
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1917
|
+
| **accountDeletionRequestBody** | **AccountDeletionRequestBody**| | |
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
### Return type
|
|
1921
|
+
|
|
1922
|
+
**AccountDeletionRequestResponse**
|
|
1923
|
+
|
|
1924
|
+
### Authorization
|
|
1925
|
+
|
|
1926
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1927
|
+
|
|
1928
|
+
### HTTP request headers
|
|
1929
|
+
|
|
1930
|
+
- **Content-Type**: application/json
|
|
1931
|
+
- **Accept**: application/json
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
### HTTP response details
|
|
1935
|
+
| Status code | Description | Response headers |
|
|
1936
|
+
|-------------|-------------|------------------|
|
|
1937
|
+
|**201** | Demande enregistrée | - |
|
|
1938
|
+
|**400** | Payload invalide | - |
|
|
1939
|
+
|**404** | Utilisateur non trouvé | - |
|
|
1940
|
+
|**500** | Erreur envoi email | - |
|
|
1941
|
+
|
|
1942
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1943
|
+
|
|
1889
1944
|
# **requestEmailVerification**
|
|
1890
1945
|
> LeaveEventWaitList200Response requestEmailVerification()
|
|
1891
1946
|
|