@tennac-booking/sdk 1.0.113 → 1.0.114
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 +5 -1
- package/README.md +12 -2
- package/api.ts +823 -7
- package/dist/api.d.ts +540 -4
- package/dist/api.js +452 -6
- package/dist/esm/api.d.ts +540 -4
- package/dist/esm/api.js +448 -2
- package/docs/AgendaBooking.md +30 -0
- package/docs/AgendaBookingPlayer.md +26 -0
- package/docs/AgendaBookingSlot.md +30 -0
- package/docs/AgendaPaymentStatus.md +12 -0
- package/docs/BookingsWithTimeBoundsResponse.md +1 -1
- package/docs/ClubPlayerDetailResponse.md +2 -0
- package/docs/ClubSettingsManagerApi.md +2 -2
- package/docs/ClubSummary.md +8 -2
- package/docs/ClubsManagerApi.md +56 -0
- package/docs/ClubsStaffApi.md +55 -0
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventsStaffApi.md +198 -0
- package/docs/UpdateUserCreditsRequest.md +20 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -22,16 +22,26 @@ 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 = void 0;
|
|
25
|
+
exports.UserLocationSummaryTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.SurfaceType = exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.InvoiceStatus = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = exports.AgendaPaymentStatus = void 0;
|
|
26
|
+
exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = 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 = void 0;
|
|
27
|
+
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.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.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = 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 = void 0;
|
|
29
29
|
const axios_1 = require("axios");
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const common_1 = require("./common");
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const base_1 = require("./base");
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
exports.AgendaPaymentStatus = {
|
|
41
|
+
Pay: 'payé',
|
|
42
|
+
NonPay: 'non payé',
|
|
43
|
+
EnAttente: 'en attente'
|
|
44
|
+
};
|
|
35
45
|
exports.BookingHistoryPopulatedPerformedByTypeEnum = {
|
|
36
46
|
User: 'user',
|
|
37
47
|
Manager: 'manager',
|
|
@@ -3323,7 +3333,7 @@ const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
3323
3333
|
if (configuration) {
|
|
3324
3334
|
baseOptions = configuration.baseOptions;
|
|
3325
3335
|
}
|
|
3326
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
3336
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
3327
3337
|
const localVarHeaderParameter = {};
|
|
3328
3338
|
const localVarQueryParameter = {};
|
|
3329
3339
|
// authentication bearerAuth required
|
|
@@ -3387,7 +3397,7 @@ const ClubSettingsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
3387
3397
|
if (configuration) {
|
|
3388
3398
|
baseOptions = configuration.baseOptions;
|
|
3389
3399
|
}
|
|
3390
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
3400
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
3391
3401
|
const localVarHeaderParameter = {};
|
|
3392
3402
|
const localVarQueryParameter = {};
|
|
3393
3403
|
// authentication bearerAuth required
|
|
@@ -5006,6 +5016,37 @@ const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5006
5016
|
options: localVarRequestOptions,
|
|
5007
5017
|
};
|
|
5008
5018
|
}),
|
|
5019
|
+
/**
|
|
5020
|
+
* Supprime un membre d\'un club
|
|
5021
|
+
* @param {string} userId
|
|
5022
|
+
* @param {*} [options] Override http request option.
|
|
5023
|
+
* @throws {RequiredError}
|
|
5024
|
+
*/
|
|
5025
|
+
deleteClubMember: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
5026
|
+
// verify required parameter 'userId' is not null or undefined
|
|
5027
|
+
(0, common_1.assertParamExists)('deleteClubMember', 'userId', userId);
|
|
5028
|
+
const localVarPath = `/api/clubs/members/{userId}`
|
|
5029
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
5030
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5031
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5032
|
+
let baseOptions;
|
|
5033
|
+
if (configuration) {
|
|
5034
|
+
baseOptions = configuration.baseOptions;
|
|
5035
|
+
}
|
|
5036
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5037
|
+
const localVarHeaderParameter = {};
|
|
5038
|
+
const localVarQueryParameter = {};
|
|
5039
|
+
// authentication bearerAuth required
|
|
5040
|
+
// http bearer authentication required
|
|
5041
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5042
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5043
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5044
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5045
|
+
return {
|
|
5046
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5047
|
+
options: localVarRequestOptions,
|
|
5048
|
+
};
|
|
5049
|
+
}),
|
|
5009
5050
|
/**
|
|
5010
5051
|
* Supprime un terrain et ses créneaux futurs
|
|
5011
5052
|
* @param {string} courtId
|
|
@@ -5544,6 +5585,21 @@ const ClubsManagerApiFp = function (configuration) {
|
|
|
5544
5585
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5545
5586
|
});
|
|
5546
5587
|
},
|
|
5588
|
+
/**
|
|
5589
|
+
* Supprime un membre d\'un club
|
|
5590
|
+
* @param {string} userId
|
|
5591
|
+
* @param {*} [options] Override http request option.
|
|
5592
|
+
* @throws {RequiredError}
|
|
5593
|
+
*/
|
|
5594
|
+
deleteClubMember(userId, options) {
|
|
5595
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5596
|
+
var _a, _b, _c;
|
|
5597
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClubMember(userId, options);
|
|
5598
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5599
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsManagerApi.deleteClubMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5600
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5601
|
+
});
|
|
5602
|
+
},
|
|
5547
5603
|
/**
|
|
5548
5604
|
* Supprime un terrain et ses créneaux futurs
|
|
5549
5605
|
* @param {string} courtId
|
|
@@ -5815,6 +5871,15 @@ const ClubsManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
5815
5871
|
deleteActuality(requestParameters, options) {
|
|
5816
5872
|
return localVarFp.deleteActuality(requestParameters.actualityId, options).then((request) => request(axios, basePath));
|
|
5817
5873
|
},
|
|
5874
|
+
/**
|
|
5875
|
+
* Supprime un membre d\'un club
|
|
5876
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
5877
|
+
* @param {*} [options] Override http request option.
|
|
5878
|
+
* @throws {RequiredError}
|
|
5879
|
+
*/
|
|
5880
|
+
deleteClubMember(requestParameters, options) {
|
|
5881
|
+
return localVarFp.deleteClubMember(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
5882
|
+
},
|
|
5818
5883
|
/**
|
|
5819
5884
|
* Supprime un terrain et ses créneaux futurs
|
|
5820
5885
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -6011,6 +6076,16 @@ class ClubsManagerApi extends base_1.BaseAPI {
|
|
|
6011
6076
|
deleteActuality(requestParameters, options) {
|
|
6012
6077
|
return (0, exports.ClubsManagerApiFp)(this.configuration).deleteActuality(requestParameters.actualityId, options).then((request) => request(this.axios, this.basePath));
|
|
6013
6078
|
}
|
|
6079
|
+
/**
|
|
6080
|
+
* Supprime un membre d\'un club
|
|
6081
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
6082
|
+
* @param {*} [options] Override http request option.
|
|
6083
|
+
* @throws {RequiredError}
|
|
6084
|
+
* @memberof ClubsManagerApi
|
|
6085
|
+
*/
|
|
6086
|
+
deleteClubMember(requestParameters, options) {
|
|
6087
|
+
return (0, exports.ClubsManagerApiFp)(this.configuration).deleteClubMember(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
6088
|
+
}
|
|
6014
6089
|
/**
|
|
6015
6090
|
* Supprime un terrain et ses créneaux futurs
|
|
6016
6091
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -6404,6 +6479,42 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6404
6479
|
options: localVarRequestOptions,
|
|
6405
6480
|
};
|
|
6406
6481
|
}),
|
|
6482
|
+
/**
|
|
6483
|
+
*
|
|
6484
|
+
* @param {string} id
|
|
6485
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
6486
|
+
* @param {*} [options] Override http request option.
|
|
6487
|
+
* @throws {RequiredError}
|
|
6488
|
+
*/
|
|
6489
|
+
updateUserCreditsStaff: (id_1, updateUserCreditsRequest_1, ...args_1) => __awaiter(this, [id_1, updateUserCreditsRequest_1, ...args_1], void 0, function* (id, updateUserCreditsRequest, options = {}) {
|
|
6490
|
+
// verify required parameter 'id' is not null or undefined
|
|
6491
|
+
(0, common_1.assertParamExists)('updateUserCreditsStaff', 'id', id);
|
|
6492
|
+
// verify required parameter 'updateUserCreditsRequest' is not null or undefined
|
|
6493
|
+
(0, common_1.assertParamExists)('updateUserCreditsStaff', 'updateUserCreditsRequest', updateUserCreditsRequest);
|
|
6494
|
+
const localVarPath = `/api/clubs/staff/user-credits/{id}`
|
|
6495
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6496
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6497
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6498
|
+
let baseOptions;
|
|
6499
|
+
if (configuration) {
|
|
6500
|
+
baseOptions = configuration.baseOptions;
|
|
6501
|
+
}
|
|
6502
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
6503
|
+
const localVarHeaderParameter = {};
|
|
6504
|
+
const localVarQueryParameter = {};
|
|
6505
|
+
// authentication bearerAuth required
|
|
6506
|
+
// http bearer authentication required
|
|
6507
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6508
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6509
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6510
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6511
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6512
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserCreditsRequest, localVarRequestOptions, configuration);
|
|
6513
|
+
return {
|
|
6514
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6515
|
+
options: localVarRequestOptions,
|
|
6516
|
+
};
|
|
6517
|
+
}),
|
|
6407
6518
|
};
|
|
6408
6519
|
};
|
|
6409
6520
|
exports.ClubsStaffApiAxiosParamCreator = ClubsStaffApiAxiosParamCreator;
|
|
@@ -6543,6 +6654,22 @@ const ClubsStaffApiFp = function (configuration) {
|
|
|
6543
6654
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6544
6655
|
});
|
|
6545
6656
|
},
|
|
6657
|
+
/**
|
|
6658
|
+
*
|
|
6659
|
+
* @param {string} id
|
|
6660
|
+
* @param {UpdateUserCreditsRequest} updateUserCreditsRequest
|
|
6661
|
+
* @param {*} [options] Override http request option.
|
|
6662
|
+
* @throws {RequiredError}
|
|
6663
|
+
*/
|
|
6664
|
+
updateUserCreditsStaff(id, updateUserCreditsRequest, options) {
|
|
6665
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6666
|
+
var _a, _b, _c;
|
|
6667
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserCreditsStaff(id, updateUserCreditsRequest, options);
|
|
6668
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6669
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.updateUserCreditsStaff']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6670
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6671
|
+
});
|
|
6672
|
+
},
|
|
6546
6673
|
};
|
|
6547
6674
|
};
|
|
6548
6675
|
exports.ClubsStaffApiFp = ClubsStaffApiFp;
|
|
@@ -6627,6 +6754,15 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
6627
6754
|
getUserProfileStaff(requestParameters, options) {
|
|
6628
6755
|
return localVarFp.getUserProfileStaff(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6629
6756
|
},
|
|
6757
|
+
/**
|
|
6758
|
+
*
|
|
6759
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
6760
|
+
* @param {*} [options] Override http request option.
|
|
6761
|
+
* @throws {RequiredError}
|
|
6762
|
+
*/
|
|
6763
|
+
updateUserCreditsStaff(requestParameters, options) {
|
|
6764
|
+
return localVarFp.updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(axios, basePath));
|
|
6765
|
+
},
|
|
6630
6766
|
};
|
|
6631
6767
|
};
|
|
6632
6768
|
exports.ClubsStaffApiFactory = ClubsStaffApiFactory;
|
|
@@ -6720,6 +6856,16 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
6720
6856
|
getUserProfileStaff(requestParameters, options) {
|
|
6721
6857
|
return (0, exports.ClubsStaffApiFp)(this.configuration).getUserProfileStaff(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6722
6858
|
}
|
|
6859
|
+
/**
|
|
6860
|
+
*
|
|
6861
|
+
* @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
|
|
6862
|
+
* @param {*} [options] Override http request option.
|
|
6863
|
+
* @throws {RequiredError}
|
|
6864
|
+
* @memberof ClubsStaffApi
|
|
6865
|
+
*/
|
|
6866
|
+
updateUserCreditsStaff(requestParameters, options) {
|
|
6867
|
+
return (0, exports.ClubsStaffApiFp)(this.configuration).updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6868
|
+
}
|
|
6723
6869
|
}
|
|
6724
6870
|
exports.ClubsStaffApi = ClubsStaffApi;
|
|
6725
6871
|
/**
|
|
@@ -7700,6 +7846,53 @@ const EventsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
7700
7846
|
options: localVarRequestOptions,
|
|
7701
7847
|
};
|
|
7702
7848
|
}),
|
|
7849
|
+
/**
|
|
7850
|
+
* Get events for the day view (entire week)
|
|
7851
|
+
* @param {string} [clubId]
|
|
7852
|
+
* @param {string} [date]
|
|
7853
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
7854
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
7855
|
+
* @param {string} [sportId]
|
|
7856
|
+
* @param {*} [options] Override http request option.
|
|
7857
|
+
* @throws {RequiredError}
|
|
7858
|
+
*/
|
|
7859
|
+
getDailyEvents: (clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1) => __awaiter(this, [clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1], void 0, function* (clubId, date, visibilityType, type, sportId, options = {}) {
|
|
7860
|
+
const localVarPath = `/api/events/calendar/daily`;
|
|
7861
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7862
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7863
|
+
let baseOptions;
|
|
7864
|
+
if (configuration) {
|
|
7865
|
+
baseOptions = configuration.baseOptions;
|
|
7866
|
+
}
|
|
7867
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7868
|
+
const localVarHeaderParameter = {};
|
|
7869
|
+
const localVarQueryParameter = {};
|
|
7870
|
+
// authentication bearerAuth required
|
|
7871
|
+
// http bearer authentication required
|
|
7872
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7873
|
+
if (clubId !== undefined) {
|
|
7874
|
+
localVarQueryParameter['clubId'] = clubId;
|
|
7875
|
+
}
|
|
7876
|
+
if (date !== undefined) {
|
|
7877
|
+
localVarQueryParameter['date'] = date;
|
|
7878
|
+
}
|
|
7879
|
+
if (visibilityType !== undefined) {
|
|
7880
|
+
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
7881
|
+
}
|
|
7882
|
+
if (type !== undefined) {
|
|
7883
|
+
localVarQueryParameter['type'] = type;
|
|
7884
|
+
}
|
|
7885
|
+
if (sportId !== undefined) {
|
|
7886
|
+
localVarQueryParameter['sportId'] = sportId;
|
|
7887
|
+
}
|
|
7888
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7889
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7890
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7891
|
+
return {
|
|
7892
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7893
|
+
options: localVarRequestOptions,
|
|
7894
|
+
};
|
|
7895
|
+
}),
|
|
7703
7896
|
/**
|
|
7704
7897
|
* Get all events for a club (staff only)
|
|
7705
7898
|
* @param {*} [options] Override http request option.
|
|
@@ -7727,6 +7920,100 @@ const EventsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
7727
7920
|
options: localVarRequestOptions,
|
|
7728
7921
|
};
|
|
7729
7922
|
}),
|
|
7923
|
+
/**
|
|
7924
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
7925
|
+
* @param {string} [clubId]
|
|
7926
|
+
* @param {string} [date]
|
|
7927
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
7928
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
7929
|
+
* @param {string} [sportId]
|
|
7930
|
+
* @param {*} [options] Override http request option.
|
|
7931
|
+
* @throws {RequiredError}
|
|
7932
|
+
*/
|
|
7933
|
+
getMonthlyEvents: (clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1) => __awaiter(this, [clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1], void 0, function* (clubId, date, visibilityType, type, sportId, options = {}) {
|
|
7934
|
+
const localVarPath = `/api/events/calendar/monthly`;
|
|
7935
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7936
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7937
|
+
let baseOptions;
|
|
7938
|
+
if (configuration) {
|
|
7939
|
+
baseOptions = configuration.baseOptions;
|
|
7940
|
+
}
|
|
7941
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7942
|
+
const localVarHeaderParameter = {};
|
|
7943
|
+
const localVarQueryParameter = {};
|
|
7944
|
+
// authentication bearerAuth required
|
|
7945
|
+
// http bearer authentication required
|
|
7946
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7947
|
+
if (clubId !== undefined) {
|
|
7948
|
+
localVarQueryParameter['clubId'] = clubId;
|
|
7949
|
+
}
|
|
7950
|
+
if (date !== undefined) {
|
|
7951
|
+
localVarQueryParameter['date'] = date;
|
|
7952
|
+
}
|
|
7953
|
+
if (visibilityType !== undefined) {
|
|
7954
|
+
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
7955
|
+
}
|
|
7956
|
+
if (type !== undefined) {
|
|
7957
|
+
localVarQueryParameter['type'] = type;
|
|
7958
|
+
}
|
|
7959
|
+
if (sportId !== undefined) {
|
|
7960
|
+
localVarQueryParameter['sportId'] = sportId;
|
|
7961
|
+
}
|
|
7962
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7964
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7965
|
+
return {
|
|
7966
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7967
|
+
options: localVarRequestOptions,
|
|
7968
|
+
};
|
|
7969
|
+
}),
|
|
7970
|
+
/**
|
|
7971
|
+
* Get events for the week view (30 day sliding window)
|
|
7972
|
+
* @param {string} [clubId]
|
|
7973
|
+
* @param {string} [date]
|
|
7974
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
7975
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
7976
|
+
* @param {string} [sportId]
|
|
7977
|
+
* @param {*} [options] Override http request option.
|
|
7978
|
+
* @throws {RequiredError}
|
|
7979
|
+
*/
|
|
7980
|
+
getWeeklyEvents: (clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1) => __awaiter(this, [clubId_1, date_1, visibilityType_1, type_1, sportId_1, ...args_1], void 0, function* (clubId, date, visibilityType, type, sportId, options = {}) {
|
|
7981
|
+
const localVarPath = `/api/events/calendar/weekly`;
|
|
7982
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7983
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7984
|
+
let baseOptions;
|
|
7985
|
+
if (configuration) {
|
|
7986
|
+
baseOptions = configuration.baseOptions;
|
|
7987
|
+
}
|
|
7988
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7989
|
+
const localVarHeaderParameter = {};
|
|
7990
|
+
const localVarQueryParameter = {};
|
|
7991
|
+
// authentication bearerAuth required
|
|
7992
|
+
// http bearer authentication required
|
|
7993
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7994
|
+
if (clubId !== undefined) {
|
|
7995
|
+
localVarQueryParameter['clubId'] = clubId;
|
|
7996
|
+
}
|
|
7997
|
+
if (date !== undefined) {
|
|
7998
|
+
localVarQueryParameter['date'] = date;
|
|
7999
|
+
}
|
|
8000
|
+
if (visibilityType !== undefined) {
|
|
8001
|
+
localVarQueryParameter['visibilityType'] = visibilityType;
|
|
8002
|
+
}
|
|
8003
|
+
if (type !== undefined) {
|
|
8004
|
+
localVarQueryParameter['type'] = type;
|
|
8005
|
+
}
|
|
8006
|
+
if (sportId !== undefined) {
|
|
8007
|
+
localVarQueryParameter['sportId'] = sportId;
|
|
8008
|
+
}
|
|
8009
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8010
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8011
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8012
|
+
return {
|
|
8013
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8014
|
+
options: localVarRequestOptions,
|
|
8015
|
+
};
|
|
8016
|
+
}),
|
|
7730
8017
|
};
|
|
7731
8018
|
};
|
|
7732
8019
|
exports.EventsStaffApiAxiosParamCreator = EventsStaffApiAxiosParamCreator;
|
|
@@ -7753,6 +8040,25 @@ const EventsStaffApiFp = function (configuration) {
|
|
|
7753
8040
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7754
8041
|
});
|
|
7755
8042
|
},
|
|
8043
|
+
/**
|
|
8044
|
+
* Get events for the day view (entire week)
|
|
8045
|
+
* @param {string} [clubId]
|
|
8046
|
+
* @param {string} [date]
|
|
8047
|
+
* @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
|
|
8048
|
+
* @param {GetDailyEventsTypeEnum} [type]
|
|
8049
|
+
* @param {string} [sportId]
|
|
8050
|
+
* @param {*} [options] Override http request option.
|
|
8051
|
+
* @throws {RequiredError}
|
|
8052
|
+
*/
|
|
8053
|
+
getDailyEvents(clubId, date, visibilityType, type, sportId, options) {
|
|
8054
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8055
|
+
var _a, _b, _c;
|
|
8056
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDailyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
8057
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8058
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.getDailyEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8059
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8060
|
+
});
|
|
8061
|
+
},
|
|
7756
8062
|
/**
|
|
7757
8063
|
* Get all events for a club (staff only)
|
|
7758
8064
|
* @param {*} [options] Override http request option.
|
|
@@ -7767,6 +8073,44 @@ const EventsStaffApiFp = function (configuration) {
|
|
|
7767
8073
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7768
8074
|
});
|
|
7769
8075
|
},
|
|
8076
|
+
/**
|
|
8077
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
8078
|
+
* @param {string} [clubId]
|
|
8079
|
+
* @param {string} [date]
|
|
8080
|
+
* @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
|
|
8081
|
+
* @param {GetMonthlyEventsTypeEnum} [type]
|
|
8082
|
+
* @param {string} [sportId]
|
|
8083
|
+
* @param {*} [options] Override http request option.
|
|
8084
|
+
* @throws {RequiredError}
|
|
8085
|
+
*/
|
|
8086
|
+
getMonthlyEvents(clubId, date, visibilityType, type, sportId, options) {
|
|
8087
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8088
|
+
var _a, _b, _c;
|
|
8089
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMonthlyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
8090
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8091
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.getMonthlyEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8092
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8093
|
+
});
|
|
8094
|
+
},
|
|
8095
|
+
/**
|
|
8096
|
+
* Get events for the week view (30 day sliding window)
|
|
8097
|
+
* @param {string} [clubId]
|
|
8098
|
+
* @param {string} [date]
|
|
8099
|
+
* @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
|
|
8100
|
+
* @param {GetWeeklyEventsTypeEnum} [type]
|
|
8101
|
+
* @param {string} [sportId]
|
|
8102
|
+
* @param {*} [options] Override http request option.
|
|
8103
|
+
* @throws {RequiredError}
|
|
8104
|
+
*/
|
|
8105
|
+
getWeeklyEvents(clubId, date, visibilityType, type, sportId, options) {
|
|
8106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8107
|
+
var _a, _b, _c;
|
|
8108
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getWeeklyEvents(clubId, date, visibilityType, type, sportId, options);
|
|
8109
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8110
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.getWeeklyEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8111
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8112
|
+
});
|
|
8113
|
+
},
|
|
7770
8114
|
};
|
|
7771
8115
|
};
|
|
7772
8116
|
exports.EventsStaffApiFp = EventsStaffApiFp;
|
|
@@ -7786,6 +8130,15 @@ const EventsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
7786
8130
|
checkInEventParticipants(requestParameters, options) {
|
|
7787
8131
|
return localVarFp.checkInEventParticipants(requestParameters.eventBookingId, requestParameters.checkInEventParticipantsRequest, options).then((request) => request(axios, basePath));
|
|
7788
8132
|
},
|
|
8133
|
+
/**
|
|
8134
|
+
* Get events for the day view (entire week)
|
|
8135
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
8136
|
+
* @param {*} [options] Override http request option.
|
|
8137
|
+
* @throws {RequiredError}
|
|
8138
|
+
*/
|
|
8139
|
+
getDailyEvents(requestParameters = {}, options) {
|
|
8140
|
+
return localVarFp.getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
8141
|
+
},
|
|
7789
8142
|
/**
|
|
7790
8143
|
* Get all events for a club (staff only)
|
|
7791
8144
|
* @param {*} [options] Override http request option.
|
|
@@ -7794,6 +8147,24 @@ const EventsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
7794
8147
|
getEventsByClub(options) {
|
|
7795
8148
|
return localVarFp.getEventsByClub(options).then((request) => request(axios, basePath));
|
|
7796
8149
|
},
|
|
8150
|
+
/**
|
|
8151
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
8152
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
8153
|
+
* @param {*} [options] Override http request option.
|
|
8154
|
+
* @throws {RequiredError}
|
|
8155
|
+
*/
|
|
8156
|
+
getMonthlyEvents(requestParameters = {}, options) {
|
|
8157
|
+
return localVarFp.getMonthlyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
8158
|
+
},
|
|
8159
|
+
/**
|
|
8160
|
+
* Get events for the week view (30 day sliding window)
|
|
8161
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
8162
|
+
* @param {*} [options] Override http request option.
|
|
8163
|
+
* @throws {RequiredError}
|
|
8164
|
+
*/
|
|
8165
|
+
getWeeklyEvents(requestParameters = {}, options) {
|
|
8166
|
+
return localVarFp.getWeeklyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
8167
|
+
},
|
|
7797
8168
|
};
|
|
7798
8169
|
};
|
|
7799
8170
|
exports.EventsStaffApiFactory = EventsStaffApiFactory;
|
|
@@ -7814,6 +8185,16 @@ class EventsStaffApi extends base_1.BaseAPI {
|
|
|
7814
8185
|
checkInEventParticipants(requestParameters, options) {
|
|
7815
8186
|
return (0, exports.EventsStaffApiFp)(this.configuration).checkInEventParticipants(requestParameters.eventBookingId, requestParameters.checkInEventParticipantsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7816
8187
|
}
|
|
8188
|
+
/**
|
|
8189
|
+
* Get events for the day view (entire week)
|
|
8190
|
+
* @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
|
|
8191
|
+
* @param {*} [options] Override http request option.
|
|
8192
|
+
* @throws {RequiredError}
|
|
8193
|
+
* @memberof EventsStaffApi
|
|
8194
|
+
*/
|
|
8195
|
+
getDailyEvents(requestParameters = {}, options) {
|
|
8196
|
+
return (0, exports.EventsStaffApiFp)(this.configuration).getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
8197
|
+
}
|
|
7817
8198
|
/**
|
|
7818
8199
|
* Get all events for a club (staff only)
|
|
7819
8200
|
* @param {*} [options] Override http request option.
|
|
@@ -7823,8 +8204,73 @@ class EventsStaffApi extends base_1.BaseAPI {
|
|
|
7823
8204
|
getEventsByClub(options) {
|
|
7824
8205
|
return (0, exports.EventsStaffApiFp)(this.configuration).getEventsByClub(options).then((request) => request(this.axios, this.basePath));
|
|
7825
8206
|
}
|
|
8207
|
+
/**
|
|
8208
|
+
* Get events for the entire month view (including recurring occurrences)
|
|
8209
|
+
* @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
|
|
8210
|
+
* @param {*} [options] Override http request option.
|
|
8211
|
+
* @throws {RequiredError}
|
|
8212
|
+
* @memberof EventsStaffApi
|
|
8213
|
+
*/
|
|
8214
|
+
getMonthlyEvents(requestParameters = {}, options) {
|
|
8215
|
+
return (0, exports.EventsStaffApiFp)(this.configuration).getMonthlyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
8216
|
+
}
|
|
8217
|
+
/**
|
|
8218
|
+
* Get events for the week view (30 day sliding window)
|
|
8219
|
+
* @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
|
|
8220
|
+
* @param {*} [options] Override http request option.
|
|
8221
|
+
* @throws {RequiredError}
|
|
8222
|
+
* @memberof EventsStaffApi
|
|
8223
|
+
*/
|
|
8224
|
+
getWeeklyEvents(requestParameters = {}, options) {
|
|
8225
|
+
return (0, exports.EventsStaffApiFp)(this.configuration).getWeeklyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
8226
|
+
}
|
|
7826
8227
|
}
|
|
7827
8228
|
exports.EventsStaffApi = EventsStaffApi;
|
|
8229
|
+
/**
|
|
8230
|
+
* @export
|
|
8231
|
+
*/
|
|
8232
|
+
exports.GetDailyEventsVisibilityTypeEnum = {
|
|
8233
|
+
Public: 'public',
|
|
8234
|
+
Private: 'private',
|
|
8235
|
+
Invitation: 'invitation'
|
|
8236
|
+
};
|
|
8237
|
+
/**
|
|
8238
|
+
* @export
|
|
8239
|
+
*/
|
|
8240
|
+
exports.GetDailyEventsTypeEnum = {
|
|
8241
|
+
Event: 'event',
|
|
8242
|
+
Closure: 'closure'
|
|
8243
|
+
};
|
|
8244
|
+
/**
|
|
8245
|
+
* @export
|
|
8246
|
+
*/
|
|
8247
|
+
exports.GetMonthlyEventsVisibilityTypeEnum = {
|
|
8248
|
+
Public: 'public',
|
|
8249
|
+
Private: 'private',
|
|
8250
|
+
Invitation: 'invitation'
|
|
8251
|
+
};
|
|
8252
|
+
/**
|
|
8253
|
+
* @export
|
|
8254
|
+
*/
|
|
8255
|
+
exports.GetMonthlyEventsTypeEnum = {
|
|
8256
|
+
Event: 'event',
|
|
8257
|
+
Closure: 'closure'
|
|
8258
|
+
};
|
|
8259
|
+
/**
|
|
8260
|
+
* @export
|
|
8261
|
+
*/
|
|
8262
|
+
exports.GetWeeklyEventsVisibilityTypeEnum = {
|
|
8263
|
+
Public: 'public',
|
|
8264
|
+
Private: 'private',
|
|
8265
|
+
Invitation: 'invitation'
|
|
8266
|
+
};
|
|
8267
|
+
/**
|
|
8268
|
+
* @export
|
|
8269
|
+
*/
|
|
8270
|
+
exports.GetWeeklyEventsTypeEnum = {
|
|
8271
|
+
Event: 'event',
|
|
8272
|
+
Closure: 'closure'
|
|
8273
|
+
};
|
|
7828
8274
|
/**
|
|
7829
8275
|
* SportsManagerApi - axios parameter creator
|
|
7830
8276
|
* @export
|