@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.
- package/.openapi-generator/FILES +10 -1
- package/README.md +17 -3
- package/api.ts +1003 -27
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +676 -24
- package/dist/api.js +553 -5
- 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 +676 -24
- package/dist/esm/api.js +541 -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/AppRegisterRequestBody.md +22 -0
- package/docs/CompleteRegisterRequestBody.md +32 -0
- package/docs/{UpdateUserRequestBodyLevelBySportsInner.md → CompleteRegisterRequestBodyLevelBySportsInner.md} +3 -3
- package/docs/EmailExistsResponse.md +2 -0
- 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/GoogleAuthResponse.md +2 -0
- package/docs/IUserAttributes.md +4 -0
- package/docs/JoinWaitList200Response.md +26 -0
- package/docs/JoinWaitListRequest.md +22 -0
- package/docs/LoginResponse.md +2 -0
- package/docs/StaffUserProfileResponse.md +4 -0
- package/docs/UpdateUserRequestBody.md +2 -2
- package/docs/UserProfileResponse.md +4 -0
- package/docs/UsersApi.md +104 -0
- package/docs/WaitListResponse.md +38 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.171
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,10 +22,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = void 0;
|
|
25
|
+
exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.IUserAttributesCreatedFromEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.WeekdayKey = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = void 0;
|
|
27
|
+
exports.EventsWaitListApi = exports.EventsWaitListApiFactory = exports.EventsWaitListApiFp = exports.EventsWaitListApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = void 0;
|
|
28
|
+
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.EventsWaitListStaffApi = exports.EventsWaitListStaffApiFactory = exports.EventsWaitListStaffApiFp = exports.EventsWaitListStaffApiAxiosParamCreator = void 0;
|
|
29
29
|
const axios_1 = require("axios");
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -176,6 +176,10 @@ exports.Gender = {
|
|
|
176
176
|
Transgender: 'transgender',
|
|
177
177
|
Other: 'other'
|
|
178
178
|
};
|
|
179
|
+
exports.IUserAttributesCreatedFromEnum = {
|
|
180
|
+
App: 'app',
|
|
181
|
+
Website: 'website'
|
|
182
|
+
};
|
|
179
183
|
exports.IUserLocationTypeEnum = {
|
|
180
184
|
Point: 'Point'
|
|
181
185
|
};
|
|
@@ -315,6 +319,10 @@ exports.StaffBookingPaymentState = {
|
|
|
315
319
|
Failed: 'failed',
|
|
316
320
|
Partial: 'partial'
|
|
317
321
|
};
|
|
322
|
+
exports.StaffUserProfileResponseCreatedFromEnum = {
|
|
323
|
+
App: 'app',
|
|
324
|
+
Website: 'website'
|
|
325
|
+
};
|
|
318
326
|
/**
|
|
319
327
|
*
|
|
320
328
|
* @export
|
|
@@ -389,6 +397,10 @@ exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = {
|
|
|
389
397
|
exports.UserLocationSummaryTypeEnum = {
|
|
390
398
|
Point: 'Point'
|
|
391
399
|
};
|
|
400
|
+
exports.UserProfileResponseCreatedFromEnum = {
|
|
401
|
+
App: 'app',
|
|
402
|
+
Website: 'website'
|
|
403
|
+
};
|
|
392
404
|
/**
|
|
393
405
|
*
|
|
394
406
|
* @export
|
|
@@ -11033,6 +11045,413 @@ exports.GetWeeklyEventsTypeEnum = {
|
|
|
11033
11045
|
Event: 'event',
|
|
11034
11046
|
Closure: 'closure'
|
|
11035
11047
|
};
|
|
11048
|
+
/**
|
|
11049
|
+
* EventsWaitListApi - axios parameter creator
|
|
11050
|
+
* @export
|
|
11051
|
+
*/
|
|
11052
|
+
const EventsWaitListApiAxiosParamCreator = function (configuration) {
|
|
11053
|
+
return {
|
|
11054
|
+
/**
|
|
11055
|
+
* Obtenir la position actuelle dans la file d\'attente
|
|
11056
|
+
* @param {string} eventId
|
|
11057
|
+
* @param {*} [options] Override http request option.
|
|
11058
|
+
* @throws {RequiredError}
|
|
11059
|
+
*/
|
|
11060
|
+
getUserPosition: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
11061
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
11062
|
+
(0, common_1.assertParamExists)('getUserPosition', 'eventId', eventId);
|
|
11063
|
+
const localVarPath = `/api/events/waitlist/{eventId}/position`
|
|
11064
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
11065
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11066
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11067
|
+
let baseOptions;
|
|
11068
|
+
if (configuration) {
|
|
11069
|
+
baseOptions = configuration.baseOptions;
|
|
11070
|
+
}
|
|
11071
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11072
|
+
const localVarHeaderParameter = {};
|
|
11073
|
+
const localVarQueryParameter = {};
|
|
11074
|
+
// authentication bearerAuth required
|
|
11075
|
+
// http bearer authentication required
|
|
11076
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11077
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11079
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11080
|
+
return {
|
|
11081
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11082
|
+
options: localVarRequestOptions,
|
|
11083
|
+
};
|
|
11084
|
+
}),
|
|
11085
|
+
/**
|
|
11086
|
+
* Rejoindre la file d\'attente pour un événement
|
|
11087
|
+
* @param {string} eventId
|
|
11088
|
+
* @param {JoinWaitListRequest} joinWaitListRequest
|
|
11089
|
+
* @param {*} [options] Override http request option.
|
|
11090
|
+
* @throws {RequiredError}
|
|
11091
|
+
*/
|
|
11092
|
+
joinWaitList: (eventId_1, joinWaitListRequest_1, ...args_1) => __awaiter(this, [eventId_1, joinWaitListRequest_1, ...args_1], void 0, function* (eventId, joinWaitListRequest, options = {}) {
|
|
11093
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
11094
|
+
(0, common_1.assertParamExists)('joinWaitList', 'eventId', eventId);
|
|
11095
|
+
// verify required parameter 'joinWaitListRequest' is not null or undefined
|
|
11096
|
+
(0, common_1.assertParamExists)('joinWaitList', 'joinWaitListRequest', joinWaitListRequest);
|
|
11097
|
+
const localVarPath = `/api/events/waitlist/{eventId}/join`
|
|
11098
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
11099
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11100
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11101
|
+
let baseOptions;
|
|
11102
|
+
if (configuration) {
|
|
11103
|
+
baseOptions = configuration.baseOptions;
|
|
11104
|
+
}
|
|
11105
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11106
|
+
const localVarHeaderParameter = {};
|
|
11107
|
+
const localVarQueryParameter = {};
|
|
11108
|
+
// authentication bearerAuth required
|
|
11109
|
+
// http bearer authentication required
|
|
11110
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11111
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11112
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11113
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11114
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11115
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(joinWaitListRequest, localVarRequestOptions, configuration);
|
|
11116
|
+
return {
|
|
11117
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11118
|
+
options: localVarRequestOptions,
|
|
11119
|
+
};
|
|
11120
|
+
}),
|
|
11121
|
+
/**
|
|
11122
|
+
* Quitter la file d\'attente
|
|
11123
|
+
* @param {string} eventId
|
|
11124
|
+
* @param {*} [options] Override http request option.
|
|
11125
|
+
* @throws {RequiredError}
|
|
11126
|
+
*/
|
|
11127
|
+
leaveWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
11128
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
11129
|
+
(0, common_1.assertParamExists)('leaveWaitList', 'eventId', eventId);
|
|
11130
|
+
const localVarPath = `/api/events/waitlist/{eventId}/leave`
|
|
11131
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
11132
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11133
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11134
|
+
let baseOptions;
|
|
11135
|
+
if (configuration) {
|
|
11136
|
+
baseOptions = configuration.baseOptions;
|
|
11137
|
+
}
|
|
11138
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
11139
|
+
const localVarHeaderParameter = {};
|
|
11140
|
+
const localVarQueryParameter = {};
|
|
11141
|
+
// authentication bearerAuth required
|
|
11142
|
+
// http bearer authentication required
|
|
11143
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11144
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11146
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11147
|
+
return {
|
|
11148
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11149
|
+
options: localVarRequestOptions,
|
|
11150
|
+
};
|
|
11151
|
+
}),
|
|
11152
|
+
};
|
|
11153
|
+
};
|
|
11154
|
+
exports.EventsWaitListApiAxiosParamCreator = EventsWaitListApiAxiosParamCreator;
|
|
11155
|
+
/**
|
|
11156
|
+
* EventsWaitListApi - functional programming interface
|
|
11157
|
+
* @export
|
|
11158
|
+
*/
|
|
11159
|
+
const EventsWaitListApiFp = function (configuration) {
|
|
11160
|
+
const localVarAxiosParamCreator = (0, exports.EventsWaitListApiAxiosParamCreator)(configuration);
|
|
11161
|
+
return {
|
|
11162
|
+
/**
|
|
11163
|
+
* Obtenir la position actuelle dans la file d\'attente
|
|
11164
|
+
* @param {string} eventId
|
|
11165
|
+
* @param {*} [options] Override http request option.
|
|
11166
|
+
* @throws {RequiredError}
|
|
11167
|
+
*/
|
|
11168
|
+
getUserPosition(eventId, options) {
|
|
11169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11170
|
+
var _a, _b, _c;
|
|
11171
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserPosition(eventId, options);
|
|
11172
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11173
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsWaitListApi.getUserPosition']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11174
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11175
|
+
});
|
|
11176
|
+
},
|
|
11177
|
+
/**
|
|
11178
|
+
* Rejoindre la file d\'attente pour un événement
|
|
11179
|
+
* @param {string} eventId
|
|
11180
|
+
* @param {JoinWaitListRequest} joinWaitListRequest
|
|
11181
|
+
* @param {*} [options] Override http request option.
|
|
11182
|
+
* @throws {RequiredError}
|
|
11183
|
+
*/
|
|
11184
|
+
joinWaitList(eventId, joinWaitListRequest, options) {
|
|
11185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11186
|
+
var _a, _b, _c;
|
|
11187
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.joinWaitList(eventId, joinWaitListRequest, options);
|
|
11188
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11189
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsWaitListApi.joinWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11190
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11191
|
+
});
|
|
11192
|
+
},
|
|
11193
|
+
/**
|
|
11194
|
+
* Quitter la file d\'attente
|
|
11195
|
+
* @param {string} eventId
|
|
11196
|
+
* @param {*} [options] Override http request option.
|
|
11197
|
+
* @throws {RequiredError}
|
|
11198
|
+
*/
|
|
11199
|
+
leaveWaitList(eventId, options) {
|
|
11200
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11201
|
+
var _a, _b, _c;
|
|
11202
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.leaveWaitList(eventId, options);
|
|
11203
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11204
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsWaitListApi.leaveWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11205
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11206
|
+
});
|
|
11207
|
+
},
|
|
11208
|
+
};
|
|
11209
|
+
};
|
|
11210
|
+
exports.EventsWaitListApiFp = EventsWaitListApiFp;
|
|
11211
|
+
/**
|
|
11212
|
+
* EventsWaitListApi - factory interface
|
|
11213
|
+
* @export
|
|
11214
|
+
*/
|
|
11215
|
+
const EventsWaitListApiFactory = function (configuration, basePath, axios) {
|
|
11216
|
+
const localVarFp = (0, exports.EventsWaitListApiFp)(configuration);
|
|
11217
|
+
return {
|
|
11218
|
+
/**
|
|
11219
|
+
* Obtenir la position actuelle dans la file d\'attente
|
|
11220
|
+
* @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
|
|
11221
|
+
* @param {*} [options] Override http request option.
|
|
11222
|
+
* @throws {RequiredError}
|
|
11223
|
+
*/
|
|
11224
|
+
getUserPosition(requestParameters, options) {
|
|
11225
|
+
return localVarFp.getUserPosition(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
11226
|
+
},
|
|
11227
|
+
/**
|
|
11228
|
+
* Rejoindre la file d\'attente pour un événement
|
|
11229
|
+
* @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
|
|
11230
|
+
* @param {*} [options] Override http request option.
|
|
11231
|
+
* @throws {RequiredError}
|
|
11232
|
+
*/
|
|
11233
|
+
joinWaitList(requestParameters, options) {
|
|
11234
|
+
return localVarFp.joinWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(axios, basePath));
|
|
11235
|
+
},
|
|
11236
|
+
/**
|
|
11237
|
+
* Quitter la file d\'attente
|
|
11238
|
+
* @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
|
|
11239
|
+
* @param {*} [options] Override http request option.
|
|
11240
|
+
* @throws {RequiredError}
|
|
11241
|
+
*/
|
|
11242
|
+
leaveWaitList(requestParameters, options) {
|
|
11243
|
+
return localVarFp.leaveWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
11244
|
+
},
|
|
11245
|
+
};
|
|
11246
|
+
};
|
|
11247
|
+
exports.EventsWaitListApiFactory = EventsWaitListApiFactory;
|
|
11248
|
+
/**
|
|
11249
|
+
* EventsWaitListApi - object-oriented interface
|
|
11250
|
+
* @export
|
|
11251
|
+
* @class EventsWaitListApi
|
|
11252
|
+
* @extends {BaseAPI}
|
|
11253
|
+
*/
|
|
11254
|
+
class EventsWaitListApi extends base_1.BaseAPI {
|
|
11255
|
+
/**
|
|
11256
|
+
* Obtenir la position actuelle dans la file d\'attente
|
|
11257
|
+
* @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
|
|
11258
|
+
* @param {*} [options] Override http request option.
|
|
11259
|
+
* @throws {RequiredError}
|
|
11260
|
+
* @memberof EventsWaitListApi
|
|
11261
|
+
*/
|
|
11262
|
+
getUserPosition(requestParameters, options) {
|
|
11263
|
+
return (0, exports.EventsWaitListApiFp)(this.configuration).getUserPosition(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
11264
|
+
}
|
|
11265
|
+
/**
|
|
11266
|
+
* Rejoindre la file d\'attente pour un événement
|
|
11267
|
+
* @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
|
|
11268
|
+
* @param {*} [options] Override http request option.
|
|
11269
|
+
* @throws {RequiredError}
|
|
11270
|
+
* @memberof EventsWaitListApi
|
|
11271
|
+
*/
|
|
11272
|
+
joinWaitList(requestParameters, options) {
|
|
11273
|
+
return (0, exports.EventsWaitListApiFp)(this.configuration).joinWaitList(requestParameters.eventId, requestParameters.joinWaitListRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11274
|
+
}
|
|
11275
|
+
/**
|
|
11276
|
+
* Quitter la file d\'attente
|
|
11277
|
+
* @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
|
|
11278
|
+
* @param {*} [options] Override http request option.
|
|
11279
|
+
* @throws {RequiredError}
|
|
11280
|
+
* @memberof EventsWaitListApi
|
|
11281
|
+
*/
|
|
11282
|
+
leaveWaitList(requestParameters, options) {
|
|
11283
|
+
return (0, exports.EventsWaitListApiFp)(this.configuration).leaveWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
11284
|
+
}
|
|
11285
|
+
}
|
|
11286
|
+
exports.EventsWaitListApi = EventsWaitListApi;
|
|
11287
|
+
/**
|
|
11288
|
+
* EventsWaitListStaffApi - axios parameter creator
|
|
11289
|
+
* @export
|
|
11290
|
+
*/
|
|
11291
|
+
const EventsWaitListStaffApiAxiosParamCreator = function (configuration) {
|
|
11292
|
+
return {
|
|
11293
|
+
/**
|
|
11294
|
+
* Obtenir la liste complète de la file d\'attente (staff only)
|
|
11295
|
+
* @param {string} eventId
|
|
11296
|
+
* @param {*} [options] Override http request option.
|
|
11297
|
+
* @throws {RequiredError}
|
|
11298
|
+
*/
|
|
11299
|
+
getWaitListForEvent: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
11300
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
11301
|
+
(0, common_1.assertParamExists)('getWaitListForEvent', 'eventId', eventId);
|
|
11302
|
+
const localVarPath = `/api/events/waitlist/{eventId}`
|
|
11303
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
11304
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11305
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11306
|
+
let baseOptions;
|
|
11307
|
+
if (configuration) {
|
|
11308
|
+
baseOptions = configuration.baseOptions;
|
|
11309
|
+
}
|
|
11310
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11311
|
+
const localVarHeaderParameter = {};
|
|
11312
|
+
const localVarQueryParameter = {};
|
|
11313
|
+
// authentication bearerAuth required
|
|
11314
|
+
// http bearer authentication required
|
|
11315
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11316
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11317
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11318
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11319
|
+
return {
|
|
11320
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11321
|
+
options: localVarRequestOptions,
|
|
11322
|
+
};
|
|
11323
|
+
}),
|
|
11324
|
+
/**
|
|
11325
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
11326
|
+
* @param {string} eventId
|
|
11327
|
+
* @param {*} [options] Override http request option.
|
|
11328
|
+
* @throws {RequiredError}
|
|
11329
|
+
*/
|
|
11330
|
+
processWaitList: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
11331
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
11332
|
+
(0, common_1.assertParamExists)('processWaitList', 'eventId', eventId);
|
|
11333
|
+
const localVarPath = `/api/events/waitlist/{eventId}/process`
|
|
11334
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
11335
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11336
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11337
|
+
let baseOptions;
|
|
11338
|
+
if (configuration) {
|
|
11339
|
+
baseOptions = configuration.baseOptions;
|
|
11340
|
+
}
|
|
11341
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
11342
|
+
const localVarHeaderParameter = {};
|
|
11343
|
+
const localVarQueryParameter = {};
|
|
11344
|
+
// authentication bearerAuth required
|
|
11345
|
+
// http bearer authentication required
|
|
11346
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
11347
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11349
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11350
|
+
return {
|
|
11351
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11352
|
+
options: localVarRequestOptions,
|
|
11353
|
+
};
|
|
11354
|
+
}),
|
|
11355
|
+
};
|
|
11356
|
+
};
|
|
11357
|
+
exports.EventsWaitListStaffApiAxiosParamCreator = EventsWaitListStaffApiAxiosParamCreator;
|
|
11358
|
+
/**
|
|
11359
|
+
* EventsWaitListStaffApi - functional programming interface
|
|
11360
|
+
* @export
|
|
11361
|
+
*/
|
|
11362
|
+
const EventsWaitListStaffApiFp = function (configuration) {
|
|
11363
|
+
const localVarAxiosParamCreator = (0, exports.EventsWaitListStaffApiAxiosParamCreator)(configuration);
|
|
11364
|
+
return {
|
|
11365
|
+
/**
|
|
11366
|
+
* Obtenir la liste complète de la file d\'attente (staff only)
|
|
11367
|
+
* @param {string} eventId
|
|
11368
|
+
* @param {*} [options] Override http request option.
|
|
11369
|
+
* @throws {RequiredError}
|
|
11370
|
+
*/
|
|
11371
|
+
getWaitListForEvent(eventId, options) {
|
|
11372
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11373
|
+
var _a, _b, _c;
|
|
11374
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getWaitListForEvent(eventId, options);
|
|
11375
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11376
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsWaitListStaffApi.getWaitListForEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11377
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11378
|
+
});
|
|
11379
|
+
},
|
|
11380
|
+
/**
|
|
11381
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
11382
|
+
* @param {string} eventId
|
|
11383
|
+
* @param {*} [options] Override http request option.
|
|
11384
|
+
* @throws {RequiredError}
|
|
11385
|
+
*/
|
|
11386
|
+
processWaitList(eventId, options) {
|
|
11387
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11388
|
+
var _a, _b, _c;
|
|
11389
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.processWaitList(eventId, options);
|
|
11390
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11391
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsWaitListStaffApi.processWaitList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11392
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11393
|
+
});
|
|
11394
|
+
},
|
|
11395
|
+
};
|
|
11396
|
+
};
|
|
11397
|
+
exports.EventsWaitListStaffApiFp = EventsWaitListStaffApiFp;
|
|
11398
|
+
/**
|
|
11399
|
+
* EventsWaitListStaffApi - factory interface
|
|
11400
|
+
* @export
|
|
11401
|
+
*/
|
|
11402
|
+
const EventsWaitListStaffApiFactory = function (configuration, basePath, axios) {
|
|
11403
|
+
const localVarFp = (0, exports.EventsWaitListStaffApiFp)(configuration);
|
|
11404
|
+
return {
|
|
11405
|
+
/**
|
|
11406
|
+
* Obtenir la liste complète de la file d\'attente (staff only)
|
|
11407
|
+
* @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
|
|
11408
|
+
* @param {*} [options] Override http request option.
|
|
11409
|
+
* @throws {RequiredError}
|
|
11410
|
+
*/
|
|
11411
|
+
getWaitListForEvent(requestParameters, options) {
|
|
11412
|
+
return localVarFp.getWaitListForEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
11413
|
+
},
|
|
11414
|
+
/**
|
|
11415
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
11416
|
+
* @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
|
|
11417
|
+
* @param {*} [options] Override http request option.
|
|
11418
|
+
* @throws {RequiredError}
|
|
11419
|
+
*/
|
|
11420
|
+
processWaitList(requestParameters, options) {
|
|
11421
|
+
return localVarFp.processWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
11422
|
+
},
|
|
11423
|
+
};
|
|
11424
|
+
};
|
|
11425
|
+
exports.EventsWaitListStaffApiFactory = EventsWaitListStaffApiFactory;
|
|
11426
|
+
/**
|
|
11427
|
+
* EventsWaitListStaffApi - object-oriented interface
|
|
11428
|
+
* @export
|
|
11429
|
+
* @class EventsWaitListStaffApi
|
|
11430
|
+
* @extends {BaseAPI}
|
|
11431
|
+
*/
|
|
11432
|
+
class EventsWaitListStaffApi extends base_1.BaseAPI {
|
|
11433
|
+
/**
|
|
11434
|
+
* Obtenir la liste complète de la file d\'attente (staff only)
|
|
11435
|
+
* @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
|
|
11436
|
+
* @param {*} [options] Override http request option.
|
|
11437
|
+
* @throws {RequiredError}
|
|
11438
|
+
* @memberof EventsWaitListStaffApi
|
|
11439
|
+
*/
|
|
11440
|
+
getWaitListForEvent(requestParameters, options) {
|
|
11441
|
+
return (0, exports.EventsWaitListStaffApiFp)(this.configuration).getWaitListForEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
11442
|
+
}
|
|
11443
|
+
/**
|
|
11444
|
+
* Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
|
|
11445
|
+
* @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
|
|
11446
|
+
* @param {*} [options] Override http request option.
|
|
11447
|
+
* @throws {RequiredError}
|
|
11448
|
+
* @memberof EventsWaitListStaffApi
|
|
11449
|
+
*/
|
|
11450
|
+
processWaitList(requestParameters, options) {
|
|
11451
|
+
return (0, exports.EventsWaitListStaffApiFp)(this.configuration).processWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
11452
|
+
}
|
|
11453
|
+
}
|
|
11454
|
+
exports.EventsWaitListStaffApi = EventsWaitListStaffApi;
|
|
11036
11455
|
/**
|
|
11037
11456
|
* ImagesApi - axios parameter creator
|
|
11038
11457
|
* @export
|
|
@@ -12800,6 +13219,38 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
12800
13219
|
options: localVarRequestOptions,
|
|
12801
13220
|
};
|
|
12802
13221
|
}),
|
|
13222
|
+
/**
|
|
13223
|
+
*
|
|
13224
|
+
* @param {CompleteRegisterRequestBody} completeRegisterRequestBody
|
|
13225
|
+
* @param {*} [options] Override http request option.
|
|
13226
|
+
* @throws {RequiredError}
|
|
13227
|
+
*/
|
|
13228
|
+
completeRegister: (completeRegisterRequestBody_1, ...args_1) => __awaiter(this, [completeRegisterRequestBody_1, ...args_1], void 0, function* (completeRegisterRequestBody, options = {}) {
|
|
13229
|
+
// verify required parameter 'completeRegisterRequestBody' is not null or undefined
|
|
13230
|
+
(0, common_1.assertParamExists)('completeRegister', 'completeRegisterRequestBody', completeRegisterRequestBody);
|
|
13231
|
+
const localVarPath = `/api/users/complete-register`;
|
|
13232
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13233
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13234
|
+
let baseOptions;
|
|
13235
|
+
if (configuration) {
|
|
13236
|
+
baseOptions = configuration.baseOptions;
|
|
13237
|
+
}
|
|
13238
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13239
|
+
const localVarHeaderParameter = {};
|
|
13240
|
+
const localVarQueryParameter = {};
|
|
13241
|
+
// authentication bearerAuth required
|
|
13242
|
+
// http bearer authentication required
|
|
13243
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13244
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13245
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13247
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13248
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeRegisterRequestBody, localVarRequestOptions, configuration);
|
|
13249
|
+
return {
|
|
13250
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13251
|
+
options: localVarRequestOptions,
|
|
13252
|
+
};
|
|
13253
|
+
}),
|
|
12803
13254
|
/**
|
|
12804
13255
|
*
|
|
12805
13256
|
* @param {*} [options] Override http request option.
|
|
@@ -13481,6 +13932,35 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
13481
13932
|
options: localVarRequestOptions,
|
|
13482
13933
|
};
|
|
13483
13934
|
}),
|
|
13935
|
+
/**
|
|
13936
|
+
*
|
|
13937
|
+
* @param {AppRegisterRequestBody} appRegisterRequestBody
|
|
13938
|
+
* @param {*} [options] Override http request option.
|
|
13939
|
+
* @throws {RequiredError}
|
|
13940
|
+
*/
|
|
13941
|
+
registerFromApp: (appRegisterRequestBody_1, ...args_1) => __awaiter(this, [appRegisterRequestBody_1, ...args_1], void 0, function* (appRegisterRequestBody, options = {}) {
|
|
13942
|
+
// verify required parameter 'appRegisterRequestBody' is not null or undefined
|
|
13943
|
+
(0, common_1.assertParamExists)('registerFromApp', 'appRegisterRequestBody', appRegisterRequestBody);
|
|
13944
|
+
const localVarPath = `/api/users/register-app`;
|
|
13945
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13946
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13947
|
+
let baseOptions;
|
|
13948
|
+
if (configuration) {
|
|
13949
|
+
baseOptions = configuration.baseOptions;
|
|
13950
|
+
}
|
|
13951
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13952
|
+
const localVarHeaderParameter = {};
|
|
13953
|
+
const localVarQueryParameter = {};
|
|
13954
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13955
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13956
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13957
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13958
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(appRegisterRequestBody, localVarRequestOptions, configuration);
|
|
13959
|
+
return {
|
|
13960
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13961
|
+
options: localVarRequestOptions,
|
|
13962
|
+
};
|
|
13963
|
+
}),
|
|
13484
13964
|
/**
|
|
13485
13965
|
*
|
|
13486
13966
|
* @param {string} clubId
|
|
@@ -13945,6 +14425,21 @@ const UsersApiFp = function (configuration) {
|
|
|
13945
14425
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13946
14426
|
});
|
|
13947
14427
|
},
|
|
14428
|
+
/**
|
|
14429
|
+
*
|
|
14430
|
+
* @param {CompleteRegisterRequestBody} completeRegisterRequestBody
|
|
14431
|
+
* @param {*} [options] Override http request option.
|
|
14432
|
+
* @throws {RequiredError}
|
|
14433
|
+
*/
|
|
14434
|
+
completeRegister(completeRegisterRequestBody, options) {
|
|
14435
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14436
|
+
var _a, _b, _c;
|
|
14437
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.completeRegister(completeRegisterRequestBody, options);
|
|
14438
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14439
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.completeRegister']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14440
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14441
|
+
});
|
|
14442
|
+
},
|
|
13948
14443
|
/**
|
|
13949
14444
|
*
|
|
13950
14445
|
* @param {*} [options] Override http request option.
|
|
@@ -14271,6 +14766,21 @@ const UsersApiFp = function (configuration) {
|
|
|
14271
14766
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14272
14767
|
});
|
|
14273
14768
|
},
|
|
14769
|
+
/**
|
|
14770
|
+
*
|
|
14771
|
+
* @param {AppRegisterRequestBody} appRegisterRequestBody
|
|
14772
|
+
* @param {*} [options] Override http request option.
|
|
14773
|
+
* @throws {RequiredError}
|
|
14774
|
+
*/
|
|
14775
|
+
registerFromApp(appRegisterRequestBody, options) {
|
|
14776
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14777
|
+
var _a, _b, _c;
|
|
14778
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registerFromApp(appRegisterRequestBody, options);
|
|
14779
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14780
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.registerFromApp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14781
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14782
|
+
});
|
|
14783
|
+
},
|
|
14274
14784
|
/**
|
|
14275
14785
|
*
|
|
14276
14786
|
* @param {string} clubId
|
|
@@ -14511,6 +15021,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
14511
15021
|
changePassword(requestParameters, options) {
|
|
14512
15022
|
return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
|
|
14513
15023
|
},
|
|
15024
|
+
/**
|
|
15025
|
+
*
|
|
15026
|
+
* @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
|
|
15027
|
+
* @param {*} [options] Override http request option.
|
|
15028
|
+
* @throws {RequiredError}
|
|
15029
|
+
*/
|
|
15030
|
+
completeRegister(requestParameters, options) {
|
|
15031
|
+
return localVarFp.completeRegister(requestParameters.completeRegisterRequestBody, options).then((request) => request(axios, basePath));
|
|
15032
|
+
},
|
|
14514
15033
|
/**
|
|
14515
15034
|
*
|
|
14516
15035
|
* @param {*} [options] Override http request option.
|
|
@@ -14692,6 +15211,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
14692
15211
|
register(requestParameters, options) {
|
|
14693
15212
|
return localVarFp.register(requestParameters.registerRequestBody, options).then((request) => request(axios, basePath));
|
|
14694
15213
|
},
|
|
15214
|
+
/**
|
|
15215
|
+
*
|
|
15216
|
+
* @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
|
|
15217
|
+
* @param {*} [options] Override http request option.
|
|
15218
|
+
* @throws {RequiredError}
|
|
15219
|
+
*/
|
|
15220
|
+
registerFromApp(requestParameters, options) {
|
|
15221
|
+
return localVarFp.registerFromApp(requestParameters.appRegisterRequestBody, options).then((request) => request(axios, basePath));
|
|
15222
|
+
},
|
|
14695
15223
|
/**
|
|
14696
15224
|
*
|
|
14697
15225
|
* @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
|
|
@@ -14858,6 +15386,16 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
14858
15386
|
changePassword(requestParameters, options) {
|
|
14859
15387
|
return (0, exports.UsersApiFp)(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
14860
15388
|
}
|
|
15389
|
+
/**
|
|
15390
|
+
*
|
|
15391
|
+
* @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
|
|
15392
|
+
* @param {*} [options] Override http request option.
|
|
15393
|
+
* @throws {RequiredError}
|
|
15394
|
+
* @memberof UsersApi
|
|
15395
|
+
*/
|
|
15396
|
+
completeRegister(requestParameters, options) {
|
|
15397
|
+
return (0, exports.UsersApiFp)(this.configuration).completeRegister(requestParameters.completeRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
15398
|
+
}
|
|
14861
15399
|
/**
|
|
14862
15400
|
*
|
|
14863
15401
|
* @param {*} [options] Override http request option.
|
|
@@ -15060,6 +15598,16 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
15060
15598
|
register(requestParameters, options) {
|
|
15061
15599
|
return (0, exports.UsersApiFp)(this.configuration).register(requestParameters.registerRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
15062
15600
|
}
|
|
15601
|
+
/**
|
|
15602
|
+
*
|
|
15603
|
+
* @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
|
|
15604
|
+
* @param {*} [options] Override http request option.
|
|
15605
|
+
* @throws {RequiredError}
|
|
15606
|
+
* @memberof UsersApi
|
|
15607
|
+
*/
|
|
15608
|
+
registerFromApp(requestParameters, options) {
|
|
15609
|
+
return (0, exports.UsersApiFp)(this.configuration).registerFromApp(requestParameters.appRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
15610
|
+
}
|
|
15063
15611
|
/**
|
|
15064
15612
|
*
|
|
15065
15613
|
* @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
|