@tennac-booking/sdk 1.0.170 → 1.0.171
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 +394 -387
- package/README.md +12 -2
- package/api.ts +671 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +432 -1
- package/dist/api.js +410 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +432 -1
- package/dist/esm/api.js +400 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/EventBookingDetailSummary.md +2 -0
- package/docs/EventsWaitListApi.md +175 -0
- package/docs/EventsWaitListStaffApi.md +115 -0
- package/docs/GetUserPosition200Response.md +22 -0
- package/docs/GetWaitListForEvent200Response.md +22 -0
- package/docs/JoinWaitList200Response.md +26 -0
- package/docs/JoinWaitListRequest.md +22 -0
- package/docs/WaitListResponse.md +38 -0
- package/index.ts +1 -1
- 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.
|
|
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).
|
|
@@ -10943,6 +10943,405 @@ export const GetWeeklyEventsTypeEnum = {
|
|
|
10943
10943
|
Event: 'event',
|
|
10944
10944
|
Closure: 'closure'
|
|
10945
10945
|
};
|
|
10946
|
+
/**
|
|
10947
|
+
* EventsWaitListApi - axios parameter creator
|
|
10948
|
+
* @export
|
|
10949
|
+
*/
|
|
10950
|
+
export const EventsWaitListApiAxiosParamCreator = function (configuration) {
|
|
10951
|
+
return {
|
|
10952
|
+
/**
|
|
10953
|
+
* Obtenir la position actuelle dans la file d\'attente
|
|
10954
|
+
* @param {string} eventId
|
|
10955
|
+
* @param {*} [options] Override http request option.
|
|
10956
|
+
* @throws {RequiredError}
|
|
10957
|
+
*/
|
|
10958
|
+
getUserPosition: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
10959
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
10960
|
+
assertParamExists('getUserPosition', 'eventId', eventId);
|
|
10961
|
+
const localVarPath = `/api/events/waitlist/{eventId}/position`
|
|
10962
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
10963
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10964
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10965
|
+
let baseOptions;
|
|
10966
|
+
if (configuration) {
|
|
10967
|
+
baseOptions = configuration.baseOptions;
|
|
10968
|
+
}
|
|
10969
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10970
|
+
const localVarHeaderParameter = {};
|
|
10971
|
+
const localVarQueryParameter = {};
|
|
10972
|
+
// authentication bearerAuth required
|
|
10973
|
+
// http bearer authentication required
|
|
10974
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10975
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10976
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10977
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10978
|
+
return {
|
|
10979
|
+
url: toPathString(localVarUrlObj),
|
|
10980
|
+
options: localVarRequestOptions,
|
|
10981
|
+
};
|
|
10982
|
+
}),
|
|
10983
|
+
/**
|
|
10984
|
+
* Rejoindre la file d\'attente pour un événement
|
|
10985
|
+
* @param {string} eventId
|
|
10986
|
+
* @param {JoinWaitListRequest} joinWaitListRequest
|
|
10987
|
+
* @param {*} [options] Override http request option.
|
|
10988
|
+
* @throws {RequiredError}
|
|
10989
|
+
*/
|
|
10990
|
+
joinWaitList: (eventId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventId, joinWaitListRequest, options = {}) {
|
|
10991
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
10992
|
+
assertParamExists('joinWaitList', 'eventId', eventId);
|
|
10993
|
+
// verify required parameter 'joinWaitListRequest' is not null or undefined
|
|
10994
|
+
assertParamExists('joinWaitList', 'joinWaitListRequest', joinWaitListRequest);
|
|
10995
|
+
const localVarPath = `/api/events/waitlist/{eventId}/join`
|
|
10996
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
10997
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10998
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10999
|
+
let baseOptions;
|
|
11000
|
+
if (configuration) {
|
|
11001
|
+
baseOptions = configuration.baseOptions;
|
|
11002
|
+
}
|
|
11003
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11004
|
+
const localVarHeaderParameter = {};
|
|
11005
|
+
const localVarQueryParameter = {};
|
|
11006
|
+
// authentication bearerAuth required
|
|
11007
|
+
// http bearer authentication required
|
|
11008
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
11009
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11010
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11011
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11012
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11013
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinWaitListRequest, localVarRequestOptions, configuration);
|
|
11014
|
+
return {
|
|
11015
|
+
url: toPathString(localVarUrlObj),
|
|
11016
|
+
options: localVarRequestOptions,
|
|
11017
|
+
};
|
|
11018
|
+
}),
|
|
11019
|
+
/**
|
|
11020
|
+
* Quitter la file d\'attente
|
|
11021
|
+
* @param {string} eventId
|
|
11022
|
+
* @param {*} [options] Override http request option.
|
|
11023
|
+
* @throws {RequiredError}
|
|
11024
|
+
*/
|
|
11025
|
+
leaveWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
11026
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
11027
|
+
assertParamExists('leaveWaitList', 'eventId', eventId);
|
|
11028
|
+
const localVarPath = `/api/events/waitlist/{eventId}/leave`
|
|
11029
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
11030
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11031
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11032
|
+
let baseOptions;
|
|
11033
|
+
if (configuration) {
|
|
11034
|
+
baseOptions = configuration.baseOptions;
|
|
11035
|
+
}
|
|
11036
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
11037
|
+
const localVarHeaderParameter = {};
|
|
11038
|
+
const localVarQueryParameter = {};
|
|
11039
|
+
// authentication bearerAuth required
|
|
11040
|
+
// http bearer authentication required
|
|
11041
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
11042
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11043
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11044
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11045
|
+
return {
|
|
11046
|
+
url: toPathString(localVarUrlObj),
|
|
11047
|
+
options: localVarRequestOptions,
|
|
11048
|
+
};
|
|
11049
|
+
}),
|
|
11050
|
+
};
|
|
11051
|
+
};
|
|
11052
|
+
/**
|
|
11053
|
+
* EventsWaitListApi - functional programming interface
|
|
11054
|
+
* @export
|
|
11055
|
+
*/
|
|
11056
|
+
export const EventsWaitListApiFp = function (configuration) {
|
|
11057
|
+
const localVarAxiosParamCreator = EventsWaitListApiAxiosParamCreator(configuration);
|
|
11058
|
+
return {
|
|
11059
|
+
/**
|
|
11060
|
+
* Obtenir la position actuelle dans la file d\'attente
|
|
11061
|
+
* @param {string} eventId
|
|
11062
|
+
* @param {*} [options] Override http request option.
|
|
11063
|
+
* @throws {RequiredError}
|
|
11064
|
+
*/
|
|
11065
|
+
getUserPosition(eventId, options) {
|
|
11066
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11067
|
+
var _a, _b, _c;
|
|
11068
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserPosition(eventId, options);
|
|
11069
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11070
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListApi.getUserPosition']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11071
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11072
|
+
});
|
|
11073
|
+
},
|
|
11074
|
+
/**
|
|
11075
|
+
* Rejoindre la file d\'attente pour un événement
|
|
11076
|
+
* @param {string} eventId
|
|
11077
|
+
* @param {JoinWaitListRequest} joinWaitListRequest
|
|
11078
|
+
* @param {*} [options] Override http request option.
|
|
11079
|
+
* @throws {RequiredError}
|
|
11080
|
+
*/
|
|
11081
|
+
joinWaitList(eventId, joinWaitListRequest, options) {
|
|
11082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11083
|
+
var _a, _b, _c;
|
|
11084
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinWaitList(eventId, joinWaitListRequest, options);
|
|
11085
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11086
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListApi.joinWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11087
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11088
|
+
});
|
|
11089
|
+
},
|
|
11090
|
+
/**
|
|
11091
|
+
* Quitter la file d\'attente
|
|
11092
|
+
* @param {string} eventId
|
|
11093
|
+
* @param {*} [options] Override http request option.
|
|
11094
|
+
* @throws {RequiredError}
|
|
11095
|
+
*/
|
|
11096
|
+
leaveWaitList(eventId, options) {
|
|
11097
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11098
|
+
var _a, _b, _c;
|
|
11099
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.leaveWaitList(eventId, options);
|
|
11100
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11101
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListApi.leaveWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11103
|
+
});
|
|
11104
|
+
},
|
|
11105
|
+
};
|
|
11106
|
+
};
|
|
11107
|
+
/**
|
|
11108
|
+
* EventsWaitListApi - factory interface
|
|
11109
|
+
* @export
|
|
11110
|
+
*/
|
|
11111
|
+
export const EventsWaitListApiFactory = function (configuration, basePath, axios) {
|
|
11112
|
+
const localVarFp = EventsWaitListApiFp(configuration);
|
|
11113
|
+
return {
|
|
11114
|
+
/**
|
|
11115
|
+
* Obtenir la position actuelle dans la file d\'attente
|
|
11116
|
+
* @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
|
|
11117
|
+
* @param {*} [options] Override http request option.
|
|
11118
|
+
* @throws {RequiredError}
|
|
11119
|
+
*/
|
|
11120
|
+
getUserPosition(requestParameters, options) {
|
|
11121
|
+
return localVarFp.getUserPosition(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
11122
|
+
},
|
|
11123
|
+
/**
|
|
11124
|
+
* Rejoindre la file d\'attente pour un événement
|
|
11125
|
+
* @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
|
|
11126
|
+
* @param {*} [options] Override http request option.
|
|
11127
|
+
* @throws {RequiredError}
|
|
11128
|
+
*/
|
|
11129
|
+
joinWaitList(requestParameters, options) {
|
|
11130
|
+
return localVarFp.joinWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
11131
|
+
},
|
|
11132
|
+
/**
|
|
11133
|
+
* Quitter la file d\'attente
|
|
11134
|
+
* @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
|
|
11135
|
+
* @param {*} [options] Override http request option.
|
|
11136
|
+
* @throws {RequiredError}
|
|
11137
|
+
*/
|
|
11138
|
+
leaveWaitList(requestParameters, options) {
|
|
11139
|
+
return localVarFp.leaveWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
11140
|
+
},
|
|
11141
|
+
};
|
|
11142
|
+
};
|
|
11143
|
+
/**
|
|
11144
|
+
* EventsWaitListApi - object-oriented interface
|
|
11145
|
+
* @export
|
|
11146
|
+
* @class EventsWaitListApi
|
|
11147
|
+
* @extends {BaseAPI}
|
|
11148
|
+
*/
|
|
11149
|
+
export class EventsWaitListApi extends BaseAPI {
|
|
11150
|
+
/**
|
|
11151
|
+
* Obtenir la position actuelle dans la file d\'attente
|
|
11152
|
+
* @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
|
|
11153
|
+
* @param {*} [options] Override http request option.
|
|
11154
|
+
* @throws {RequiredError}
|
|
11155
|
+
* @memberof EventsWaitListApi
|
|
11156
|
+
*/
|
|
11157
|
+
getUserPosition(requestParameters, options) {
|
|
11158
|
+
return EventsWaitListApiFp(this.configuration).getUserPosition(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
11159
|
+
}
|
|
11160
|
+
/**
|
|
11161
|
+
* Rejoindre la file d\'attente pour un événement
|
|
11162
|
+
* @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
|
|
11163
|
+
* @param {*} [options] Override http request option.
|
|
11164
|
+
* @throws {RequiredError}
|
|
11165
|
+
* @memberof EventsWaitListApi
|
|
11166
|
+
*/
|
|
11167
|
+
joinWaitList(requestParameters, options) {
|
|
11168
|
+
return EventsWaitListApiFp(this.configuration).joinWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11169
|
+
}
|
|
11170
|
+
/**
|
|
11171
|
+
* Quitter la file d\'attente
|
|
11172
|
+
* @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
|
|
11173
|
+
* @param {*} [options] Override http request option.
|
|
11174
|
+
* @throws {RequiredError}
|
|
11175
|
+
* @memberof EventsWaitListApi
|
|
11176
|
+
*/
|
|
11177
|
+
leaveWaitList(requestParameters, options) {
|
|
11178
|
+
return EventsWaitListApiFp(this.configuration).leaveWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
11179
|
+
}
|
|
11180
|
+
}
|
|
11181
|
+
/**
|
|
11182
|
+
* EventsWaitListStaffApi - axios parameter creator
|
|
11183
|
+
* @export
|
|
11184
|
+
*/
|
|
11185
|
+
export const EventsWaitListStaffApiAxiosParamCreator = function (configuration) {
|
|
11186
|
+
return {
|
|
11187
|
+
/**
|
|
11188
|
+
* Obtenir la liste complète de la file d\'attente (staff only)
|
|
11189
|
+
* @param {string} eventId
|
|
11190
|
+
* @param {*} [options] Override http request option.
|
|
11191
|
+
* @throws {RequiredError}
|
|
11192
|
+
*/
|
|
11193
|
+
getWaitListForEvent: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
11194
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
11195
|
+
assertParamExists('getWaitListForEvent', 'eventId', eventId);
|
|
11196
|
+
const localVarPath = `/api/events/waitlist/{eventId}`
|
|
11197
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
11198
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11199
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11200
|
+
let baseOptions;
|
|
11201
|
+
if (configuration) {
|
|
11202
|
+
baseOptions = configuration.baseOptions;
|
|
11203
|
+
}
|
|
11204
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11205
|
+
const localVarHeaderParameter = {};
|
|
11206
|
+
const localVarQueryParameter = {};
|
|
11207
|
+
// authentication bearerAuth required
|
|
11208
|
+
// http bearer authentication required
|
|
11209
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
11210
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11212
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11213
|
+
return {
|
|
11214
|
+
url: toPathString(localVarUrlObj),
|
|
11215
|
+
options: localVarRequestOptions,
|
|
11216
|
+
};
|
|
11217
|
+
}),
|
|
11218
|
+
/**
|
|
11219
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
11220
|
+
* @param {string} eventId
|
|
11221
|
+
* @param {*} [options] Override http request option.
|
|
11222
|
+
* @throws {RequiredError}
|
|
11223
|
+
*/
|
|
11224
|
+
processWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
11225
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
11226
|
+
assertParamExists('processWaitList', 'eventId', eventId);
|
|
11227
|
+
const localVarPath = `/api/events/waitlist/{eventId}/process`
|
|
11228
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
11229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11230
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11231
|
+
let baseOptions;
|
|
11232
|
+
if (configuration) {
|
|
11233
|
+
baseOptions = configuration.baseOptions;
|
|
11234
|
+
}
|
|
11235
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11236
|
+
const localVarHeaderParameter = {};
|
|
11237
|
+
const localVarQueryParameter = {};
|
|
11238
|
+
// authentication bearerAuth required
|
|
11239
|
+
// http bearer authentication required
|
|
11240
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
11241
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11242
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11243
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11244
|
+
return {
|
|
11245
|
+
url: toPathString(localVarUrlObj),
|
|
11246
|
+
options: localVarRequestOptions,
|
|
11247
|
+
};
|
|
11248
|
+
}),
|
|
11249
|
+
};
|
|
11250
|
+
};
|
|
11251
|
+
/**
|
|
11252
|
+
* EventsWaitListStaffApi - functional programming interface
|
|
11253
|
+
* @export
|
|
11254
|
+
*/
|
|
11255
|
+
export const EventsWaitListStaffApiFp = function (configuration) {
|
|
11256
|
+
const localVarAxiosParamCreator = EventsWaitListStaffApiAxiosParamCreator(configuration);
|
|
11257
|
+
return {
|
|
11258
|
+
/**
|
|
11259
|
+
* Obtenir la liste complète de la file d\'attente (staff only)
|
|
11260
|
+
* @param {string} eventId
|
|
11261
|
+
* @param {*} [options] Override http request option.
|
|
11262
|
+
* @throws {RequiredError}
|
|
11263
|
+
*/
|
|
11264
|
+
getWaitListForEvent(eventId, options) {
|
|
11265
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11266
|
+
var _a, _b, _c;
|
|
11267
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getWaitListForEvent(eventId, options);
|
|
11268
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11269
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListStaffApi.getWaitListForEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11270
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11271
|
+
});
|
|
11272
|
+
},
|
|
11273
|
+
/**
|
|
11274
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
11275
|
+
* @param {string} eventId
|
|
11276
|
+
* @param {*} [options] Override http request option.
|
|
11277
|
+
* @throws {RequiredError}
|
|
11278
|
+
*/
|
|
11279
|
+
processWaitList(eventId, options) {
|
|
11280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11281
|
+
var _a, _b, _c;
|
|
11282
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.processWaitList(eventId, options);
|
|
11283
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11284
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsWaitListStaffApi.processWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11285
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11286
|
+
});
|
|
11287
|
+
},
|
|
11288
|
+
};
|
|
11289
|
+
};
|
|
11290
|
+
/**
|
|
11291
|
+
* EventsWaitListStaffApi - factory interface
|
|
11292
|
+
* @export
|
|
11293
|
+
*/
|
|
11294
|
+
export const EventsWaitListStaffApiFactory = function (configuration, basePath, axios) {
|
|
11295
|
+
const localVarFp = EventsWaitListStaffApiFp(configuration);
|
|
11296
|
+
return {
|
|
11297
|
+
/**
|
|
11298
|
+
* Obtenir la liste complète de la file d\'attente (staff only)
|
|
11299
|
+
* @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
|
|
11300
|
+
* @param {*} [options] Override http request option.
|
|
11301
|
+
* @throws {RequiredError}
|
|
11302
|
+
*/
|
|
11303
|
+
getWaitListForEvent(requestParameters, options) {
|
|
11304
|
+
return localVarFp.getWaitListForEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
11305
|
+
},
|
|
11306
|
+
/**
|
|
11307
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
11308
|
+
* @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
|
|
11309
|
+
* @param {*} [options] Override http request option.
|
|
11310
|
+
* @throws {RequiredError}
|
|
11311
|
+
*/
|
|
11312
|
+
processWaitList(requestParameters, options) {
|
|
11313
|
+
return localVarFp.processWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
11314
|
+
},
|
|
11315
|
+
};
|
|
11316
|
+
};
|
|
11317
|
+
/**
|
|
11318
|
+
* EventsWaitListStaffApi - object-oriented interface
|
|
11319
|
+
* @export
|
|
11320
|
+
* @class EventsWaitListStaffApi
|
|
11321
|
+
* @extends {BaseAPI}
|
|
11322
|
+
*/
|
|
11323
|
+
export class EventsWaitListStaffApi extends BaseAPI {
|
|
11324
|
+
/**
|
|
11325
|
+
* Obtenir la liste complète de la file d\'attente (staff only)
|
|
11326
|
+
* @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
|
|
11327
|
+
* @param {*} [options] Override http request option.
|
|
11328
|
+
* @throws {RequiredError}
|
|
11329
|
+
* @memberof EventsWaitListStaffApi
|
|
11330
|
+
*/
|
|
11331
|
+
getWaitListForEvent(requestParameters, options) {
|
|
11332
|
+
return EventsWaitListStaffApiFp(this.configuration).getWaitListForEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
11333
|
+
}
|
|
11334
|
+
/**
|
|
11335
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
11336
|
+
* @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
|
|
11337
|
+
* @param {*} [options] Override http request option.
|
|
11338
|
+
* @throws {RequiredError}
|
|
11339
|
+
* @memberof EventsWaitListStaffApi
|
|
11340
|
+
*/
|
|
11341
|
+
processWaitList(requestParameters, options) {
|
|
11342
|
+
return EventsWaitListStaffApiFp(this.configuration).processWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
11343
|
+
}
|
|
11344
|
+
}
|
|
10946
11345
|
/**
|
|
10947
11346
|
* ImagesApi - axios parameter creator
|
|
10948
11347
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
15
15
|
**limitSetupDate** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**limitCancellationDate** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**waitListPosition** | **number** | Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement | [optional] [default to undefined]
|
|
17
18
|
**createdAt** | **string** | | [default to undefined]
|
|
18
19
|
**updatedAt** | **string** | | [default to undefined]
|
|
19
20
|
|
|
@@ -32,6 +33,7 @@ const instance: EventBookingDetailSummary = {
|
|
|
32
33
|
paymentMethodSetupCompleted,
|
|
33
34
|
limitSetupDate,
|
|
34
35
|
limitCancellationDate,
|
|
36
|
+
waitListPosition,
|
|
35
37
|
createdAt,
|
|
36
38
|
updatedAt,
|
|
37
39
|
};
|