@tennac-booking/sdk 1.0.143 → 1.0.144
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 +2 -0
- package/README.md +3 -0
- package/api.ts +304 -0
- package/dist/api.d.ts +203 -0
- package/dist/api.js +177 -3
- package/dist/esm/api.d.ts +203 -0
- package/dist/esm/api.js +170 -0
- package/docs/ClubCustomerSettingsResponse.md +38 -0
- package/docs/ClubCustomerStaffApi.md +113 -0
- package/docs/CreateEventRequest.md +2 -0
- package/docs/EventResponse.md +2 -0
- package/docs/UpdateEventRequest.md +2 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -23,9 +23,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.WeekdayKey = exports.VisibilityType = exports.UserLocationSummaryTypeEnum = 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.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.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = exports.AgendaPaymentStatus = void 0;
|
|
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 = void 0;
|
|
26
|
+
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.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = 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.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = 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 = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = 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 = void 0;
|
|
29
29
|
const axios_1 = require("axios");
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -3587,6 +3587,180 @@ class ClubAnalyticsStaffApi extends base_1.BaseAPI {
|
|
|
3587
3587
|
}
|
|
3588
3588
|
}
|
|
3589
3589
|
exports.ClubAnalyticsStaffApi = ClubAnalyticsStaffApi;
|
|
3590
|
+
/**
|
|
3591
|
+
* ClubCustomerStaffApi - axios parameter creator
|
|
3592
|
+
* @export
|
|
3593
|
+
*/
|
|
3594
|
+
const ClubCustomerStaffApiAxiosParamCreator = function (configuration) {
|
|
3595
|
+
return {
|
|
3596
|
+
/**
|
|
3597
|
+
*
|
|
3598
|
+
* @param {string} userId
|
|
3599
|
+
* @param {*} [options] Override http request option.
|
|
3600
|
+
* @throws {RequiredError}
|
|
3601
|
+
*/
|
|
3602
|
+
getClubCustomerSettings: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
3603
|
+
// verify required parameter 'userId' is not null or undefined
|
|
3604
|
+
(0, common_1.assertParamExists)('getClubCustomerSettings', 'userId', userId);
|
|
3605
|
+
const localVarPath = `/api/clubCustomers/clubCustomer/{userId}/settings`
|
|
3606
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
3607
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3608
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3609
|
+
let baseOptions;
|
|
3610
|
+
if (configuration) {
|
|
3611
|
+
baseOptions = configuration.baseOptions;
|
|
3612
|
+
}
|
|
3613
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3614
|
+
const localVarHeaderParameter = {};
|
|
3615
|
+
const localVarQueryParameter = {};
|
|
3616
|
+
// authentication bearerAuth required
|
|
3617
|
+
// http bearer authentication required
|
|
3618
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3619
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3620
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3621
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3622
|
+
return {
|
|
3623
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3624
|
+
options: localVarRequestOptions,
|
|
3625
|
+
};
|
|
3626
|
+
}),
|
|
3627
|
+
/**
|
|
3628
|
+
*
|
|
3629
|
+
* @param {string} userId
|
|
3630
|
+
* @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
|
|
3631
|
+
* @param {*} [options] Override http request option.
|
|
3632
|
+
* @throws {RequiredError}
|
|
3633
|
+
*/
|
|
3634
|
+
updateClubCustomerSettings: (userId_1, clubCustomerSettingsResponse_1, ...args_1) => __awaiter(this, [userId_1, clubCustomerSettingsResponse_1, ...args_1], void 0, function* (userId, clubCustomerSettingsResponse, options = {}) {
|
|
3635
|
+
// verify required parameter 'userId' is not null or undefined
|
|
3636
|
+
(0, common_1.assertParamExists)('updateClubCustomerSettings', 'userId', userId);
|
|
3637
|
+
// verify required parameter 'clubCustomerSettingsResponse' is not null or undefined
|
|
3638
|
+
(0, common_1.assertParamExists)('updateClubCustomerSettings', 'clubCustomerSettingsResponse', clubCustomerSettingsResponse);
|
|
3639
|
+
const localVarPath = `/api/clubCustomers/clubCustomer/{userId}/settings`
|
|
3640
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
3641
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3642
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3643
|
+
let baseOptions;
|
|
3644
|
+
if (configuration) {
|
|
3645
|
+
baseOptions = configuration.baseOptions;
|
|
3646
|
+
}
|
|
3647
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
3648
|
+
const localVarHeaderParameter = {};
|
|
3649
|
+
const localVarQueryParameter = {};
|
|
3650
|
+
// authentication bearerAuth required
|
|
3651
|
+
// http bearer authentication required
|
|
3652
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3653
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3654
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3655
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3656
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3657
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clubCustomerSettingsResponse, localVarRequestOptions, configuration);
|
|
3658
|
+
return {
|
|
3659
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3660
|
+
options: localVarRequestOptions,
|
|
3661
|
+
};
|
|
3662
|
+
}),
|
|
3663
|
+
};
|
|
3664
|
+
};
|
|
3665
|
+
exports.ClubCustomerStaffApiAxiosParamCreator = ClubCustomerStaffApiAxiosParamCreator;
|
|
3666
|
+
/**
|
|
3667
|
+
* ClubCustomerStaffApi - functional programming interface
|
|
3668
|
+
* @export
|
|
3669
|
+
*/
|
|
3670
|
+
const ClubCustomerStaffApiFp = function (configuration) {
|
|
3671
|
+
const localVarAxiosParamCreator = (0, exports.ClubCustomerStaffApiAxiosParamCreator)(configuration);
|
|
3672
|
+
return {
|
|
3673
|
+
/**
|
|
3674
|
+
*
|
|
3675
|
+
* @param {string} userId
|
|
3676
|
+
* @param {*} [options] Override http request option.
|
|
3677
|
+
* @throws {RequiredError}
|
|
3678
|
+
*/
|
|
3679
|
+
getClubCustomerSettings(userId, options) {
|
|
3680
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3681
|
+
var _a, _b, _c;
|
|
3682
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubCustomerSettings(userId, options);
|
|
3683
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3684
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubCustomerStaffApi.getClubCustomerSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3685
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3686
|
+
});
|
|
3687
|
+
},
|
|
3688
|
+
/**
|
|
3689
|
+
*
|
|
3690
|
+
* @param {string} userId
|
|
3691
|
+
* @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
|
|
3692
|
+
* @param {*} [options] Override http request option.
|
|
3693
|
+
* @throws {RequiredError}
|
|
3694
|
+
*/
|
|
3695
|
+
updateClubCustomerSettings(userId, clubCustomerSettingsResponse, options) {
|
|
3696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3697
|
+
var _a, _b, _c;
|
|
3698
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubCustomerSettings(userId, clubCustomerSettingsResponse, options);
|
|
3699
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3700
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubCustomerStaffApi.updateClubCustomerSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3701
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3702
|
+
});
|
|
3703
|
+
},
|
|
3704
|
+
};
|
|
3705
|
+
};
|
|
3706
|
+
exports.ClubCustomerStaffApiFp = ClubCustomerStaffApiFp;
|
|
3707
|
+
/**
|
|
3708
|
+
* ClubCustomerStaffApi - factory interface
|
|
3709
|
+
* @export
|
|
3710
|
+
*/
|
|
3711
|
+
const ClubCustomerStaffApiFactory = function (configuration, basePath, axios) {
|
|
3712
|
+
const localVarFp = (0, exports.ClubCustomerStaffApiFp)(configuration);
|
|
3713
|
+
return {
|
|
3714
|
+
/**
|
|
3715
|
+
*
|
|
3716
|
+
* @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
3717
|
+
* @param {*} [options] Override http request option.
|
|
3718
|
+
* @throws {RequiredError}
|
|
3719
|
+
*/
|
|
3720
|
+
getClubCustomerSettings(requestParameters, options) {
|
|
3721
|
+
return localVarFp.getClubCustomerSettings(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
3722
|
+
},
|
|
3723
|
+
/**
|
|
3724
|
+
*
|
|
3725
|
+
* @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
3726
|
+
* @param {*} [options] Override http request option.
|
|
3727
|
+
* @throws {RequiredError}
|
|
3728
|
+
*/
|
|
3729
|
+
updateClubCustomerSettings(requestParameters, options) {
|
|
3730
|
+
return localVarFp.updateClubCustomerSettings(requestParameters.userId, requestParameters.clubCustomerSettingsResponse, options).then((request) => request(axios, basePath));
|
|
3731
|
+
},
|
|
3732
|
+
};
|
|
3733
|
+
};
|
|
3734
|
+
exports.ClubCustomerStaffApiFactory = ClubCustomerStaffApiFactory;
|
|
3735
|
+
/**
|
|
3736
|
+
* ClubCustomerStaffApi - object-oriented interface
|
|
3737
|
+
* @export
|
|
3738
|
+
* @class ClubCustomerStaffApi
|
|
3739
|
+
* @extends {BaseAPI}
|
|
3740
|
+
*/
|
|
3741
|
+
class ClubCustomerStaffApi extends base_1.BaseAPI {
|
|
3742
|
+
/**
|
|
3743
|
+
*
|
|
3744
|
+
* @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
3745
|
+
* @param {*} [options] Override http request option.
|
|
3746
|
+
* @throws {RequiredError}
|
|
3747
|
+
* @memberof ClubCustomerStaffApi
|
|
3748
|
+
*/
|
|
3749
|
+
getClubCustomerSettings(requestParameters, options) {
|
|
3750
|
+
return (0, exports.ClubCustomerStaffApiFp)(this.configuration).getClubCustomerSettings(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
3751
|
+
}
|
|
3752
|
+
/**
|
|
3753
|
+
*
|
|
3754
|
+
* @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
3755
|
+
* @param {*} [options] Override http request option.
|
|
3756
|
+
* @throws {RequiredError}
|
|
3757
|
+
* @memberof ClubCustomerStaffApi
|
|
3758
|
+
*/
|
|
3759
|
+
updateClubCustomerSettings(requestParameters, options) {
|
|
3760
|
+
return (0, exports.ClubCustomerStaffApiFp)(this.configuration).updateClubCustomerSettings(requestParameters.userId, requestParameters.clubCustomerSettingsResponse, options).then((request) => request(this.axios, this.basePath));
|
|
3761
|
+
}
|
|
3762
|
+
}
|
|
3763
|
+
exports.ClubCustomerStaffApi = ClubCustomerStaffApi;
|
|
3590
3764
|
/**
|
|
3591
3765
|
* ClubRolesManagerApi - axios parameter creator
|
|
3592
3766
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1913,6 +1913,73 @@ export interface ClubAccessSettingsResponse {
|
|
|
1913
1913
|
*/
|
|
1914
1914
|
'paymentRequirements': PaymentRequirementsSettings | null;
|
|
1915
1915
|
}
|
|
1916
|
+
/**
|
|
1917
|
+
*
|
|
1918
|
+
* @export
|
|
1919
|
+
* @interface ClubCustomerSettingsResponse
|
|
1920
|
+
*/
|
|
1921
|
+
export interface ClubCustomerSettingsResponse {
|
|
1922
|
+
/**
|
|
1923
|
+
*
|
|
1924
|
+
* @type {string}
|
|
1925
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1926
|
+
*/
|
|
1927
|
+
'userId': string;
|
|
1928
|
+
/**
|
|
1929
|
+
*
|
|
1930
|
+
* @type {string}
|
|
1931
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1932
|
+
*/
|
|
1933
|
+
'clubId': string;
|
|
1934
|
+
/**
|
|
1935
|
+
*
|
|
1936
|
+
* @type {number}
|
|
1937
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1938
|
+
*/
|
|
1939
|
+
'credits': number;
|
|
1940
|
+
/**
|
|
1941
|
+
*
|
|
1942
|
+
* @type {boolean}
|
|
1943
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1944
|
+
*/
|
|
1945
|
+
'isBanned': boolean;
|
|
1946
|
+
/**
|
|
1947
|
+
*
|
|
1948
|
+
* @type {boolean}
|
|
1949
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1950
|
+
*/
|
|
1951
|
+
'isIllimited': boolean;
|
|
1952
|
+
/**
|
|
1953
|
+
*
|
|
1954
|
+
* @type {boolean}
|
|
1955
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1956
|
+
*/
|
|
1957
|
+
'isFree': boolean;
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @type {boolean}
|
|
1961
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1962
|
+
*/
|
|
1963
|
+
'isNoShowForced': boolean;
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @type {boolean}
|
|
1967
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1968
|
+
*/
|
|
1969
|
+
'paymentMethodSetupCompleted': boolean;
|
|
1970
|
+
/**
|
|
1971
|
+
*
|
|
1972
|
+
* @type {string}
|
|
1973
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1974
|
+
*/
|
|
1975
|
+
'defaultPaymentMethodId': string | null;
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @type {Array<string>}
|
|
1979
|
+
* @memberof ClubCustomerSettingsResponse
|
|
1980
|
+
*/
|
|
1981
|
+
'subscriptions': Array<string>;
|
|
1982
|
+
}
|
|
1916
1983
|
/**
|
|
1917
1984
|
*
|
|
1918
1985
|
* @export
|
|
@@ -3987,6 +4054,12 @@ export interface CreateEventRequest {
|
|
|
3987
4054
|
* @memberof CreateEventRequest
|
|
3988
4055
|
*/
|
|
3989
4056
|
'sponsors'?: Array<EventSponsor>;
|
|
4057
|
+
/**
|
|
4058
|
+
*
|
|
4059
|
+
* @type {string}
|
|
4060
|
+
* @memberof CreateEventRequest
|
|
4061
|
+
*/
|
|
4062
|
+
'registrationOpeningDate': string;
|
|
3990
4063
|
/**
|
|
3991
4064
|
*
|
|
3992
4065
|
* @type {string}
|
|
@@ -5078,6 +5151,12 @@ export interface EventResponse {
|
|
|
5078
5151
|
* @memberof EventResponse
|
|
5079
5152
|
*/
|
|
5080
5153
|
'sponsors'?: Array<EventSponsor>;
|
|
5154
|
+
/**
|
|
5155
|
+
*
|
|
5156
|
+
* @type {string}
|
|
5157
|
+
* @memberof EventResponse
|
|
5158
|
+
*/
|
|
5159
|
+
'registrationOpeningDate': string;
|
|
5081
5160
|
/**
|
|
5082
5161
|
*
|
|
5083
5162
|
* @type {string}
|
|
@@ -10353,6 +10432,12 @@ export interface UpdateEventRequest {
|
|
|
10353
10432
|
* @memberof UpdateEventRequest
|
|
10354
10433
|
*/
|
|
10355
10434
|
'levels'?: Array<string | null>;
|
|
10435
|
+
/**
|
|
10436
|
+
*
|
|
10437
|
+
* @type {string}
|
|
10438
|
+
* @memberof UpdateEventRequest
|
|
10439
|
+
*/
|
|
10440
|
+
'registrationOpeningDate'?: string;
|
|
10356
10441
|
/**
|
|
10357
10442
|
*
|
|
10358
10443
|
* @type {Array<EventSponsor>}
|
|
@@ -13685,6 +13770,124 @@ export declare class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
13685
13770
|
*/
|
|
13686
13771
|
getYearlyTurnOver(requestParameters: ClubAnalyticsStaffApiGetYearlyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YearlyTurnoverResponse, any, {}>>;
|
|
13687
13772
|
}
|
|
13773
|
+
/**
|
|
13774
|
+
* ClubCustomerStaffApi - axios parameter creator
|
|
13775
|
+
* @export
|
|
13776
|
+
*/
|
|
13777
|
+
export declare const ClubCustomerStaffApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13778
|
+
/**
|
|
13779
|
+
*
|
|
13780
|
+
* @param {string} userId
|
|
13781
|
+
* @param {*} [options] Override http request option.
|
|
13782
|
+
* @throws {RequiredError}
|
|
13783
|
+
*/
|
|
13784
|
+
getClubCustomerSettings: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13785
|
+
/**
|
|
13786
|
+
*
|
|
13787
|
+
* @param {string} userId
|
|
13788
|
+
* @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
|
|
13789
|
+
* @param {*} [options] Override http request option.
|
|
13790
|
+
* @throws {RequiredError}
|
|
13791
|
+
*/
|
|
13792
|
+
updateClubCustomerSettings: (userId: string, clubCustomerSettingsResponse: ClubCustomerSettingsResponse, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13793
|
+
};
|
|
13794
|
+
/**
|
|
13795
|
+
* ClubCustomerStaffApi - functional programming interface
|
|
13796
|
+
* @export
|
|
13797
|
+
*/
|
|
13798
|
+
export declare const ClubCustomerStaffApiFp: (configuration?: Configuration) => {
|
|
13799
|
+
/**
|
|
13800
|
+
*
|
|
13801
|
+
* @param {string} userId
|
|
13802
|
+
* @param {*} [options] Override http request option.
|
|
13803
|
+
* @throws {RequiredError}
|
|
13804
|
+
*/
|
|
13805
|
+
getClubCustomerSettings(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
|
|
13806
|
+
/**
|
|
13807
|
+
*
|
|
13808
|
+
* @param {string} userId
|
|
13809
|
+
* @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
|
|
13810
|
+
* @param {*} [options] Override http request option.
|
|
13811
|
+
* @throws {RequiredError}
|
|
13812
|
+
*/
|
|
13813
|
+
updateClubCustomerSettings(userId: string, clubCustomerSettingsResponse: ClubCustomerSettingsResponse, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubCustomerSettingsResponse>>;
|
|
13814
|
+
};
|
|
13815
|
+
/**
|
|
13816
|
+
* ClubCustomerStaffApi - factory interface
|
|
13817
|
+
* @export
|
|
13818
|
+
*/
|
|
13819
|
+
export declare const ClubCustomerStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13820
|
+
/**
|
|
13821
|
+
*
|
|
13822
|
+
* @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
13823
|
+
* @param {*} [options] Override http request option.
|
|
13824
|
+
* @throws {RequiredError}
|
|
13825
|
+
*/
|
|
13826
|
+
getClubCustomerSettings(requestParameters: ClubCustomerStaffApiGetClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
|
|
13827
|
+
/**
|
|
13828
|
+
*
|
|
13829
|
+
* @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
13830
|
+
* @param {*} [options] Override http request option.
|
|
13831
|
+
* @throws {RequiredError}
|
|
13832
|
+
*/
|
|
13833
|
+
updateClubCustomerSettings(requestParameters: ClubCustomerStaffApiUpdateClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClubCustomerSettingsResponse>;
|
|
13834
|
+
};
|
|
13835
|
+
/**
|
|
13836
|
+
* Request parameters for getClubCustomerSettings operation in ClubCustomerStaffApi.
|
|
13837
|
+
* @export
|
|
13838
|
+
* @interface ClubCustomerStaffApiGetClubCustomerSettingsRequest
|
|
13839
|
+
*/
|
|
13840
|
+
export interface ClubCustomerStaffApiGetClubCustomerSettingsRequest {
|
|
13841
|
+
/**
|
|
13842
|
+
*
|
|
13843
|
+
* @type {string}
|
|
13844
|
+
* @memberof ClubCustomerStaffApiGetClubCustomerSettings
|
|
13845
|
+
*/
|
|
13846
|
+
readonly userId: string;
|
|
13847
|
+
}
|
|
13848
|
+
/**
|
|
13849
|
+
* Request parameters for updateClubCustomerSettings operation in ClubCustomerStaffApi.
|
|
13850
|
+
* @export
|
|
13851
|
+
* @interface ClubCustomerStaffApiUpdateClubCustomerSettingsRequest
|
|
13852
|
+
*/
|
|
13853
|
+
export interface ClubCustomerStaffApiUpdateClubCustomerSettingsRequest {
|
|
13854
|
+
/**
|
|
13855
|
+
*
|
|
13856
|
+
* @type {string}
|
|
13857
|
+
* @memberof ClubCustomerStaffApiUpdateClubCustomerSettings
|
|
13858
|
+
*/
|
|
13859
|
+
readonly userId: string;
|
|
13860
|
+
/**
|
|
13861
|
+
*
|
|
13862
|
+
* @type {ClubCustomerSettingsResponse}
|
|
13863
|
+
* @memberof ClubCustomerStaffApiUpdateClubCustomerSettings
|
|
13864
|
+
*/
|
|
13865
|
+
readonly clubCustomerSettingsResponse: ClubCustomerSettingsResponse;
|
|
13866
|
+
}
|
|
13867
|
+
/**
|
|
13868
|
+
* ClubCustomerStaffApi - object-oriented interface
|
|
13869
|
+
* @export
|
|
13870
|
+
* @class ClubCustomerStaffApi
|
|
13871
|
+
* @extends {BaseAPI}
|
|
13872
|
+
*/
|
|
13873
|
+
export declare class ClubCustomerStaffApi extends BaseAPI {
|
|
13874
|
+
/**
|
|
13875
|
+
*
|
|
13876
|
+
* @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
13877
|
+
* @param {*} [options] Override http request option.
|
|
13878
|
+
* @throws {RequiredError}
|
|
13879
|
+
* @memberof ClubCustomerStaffApi
|
|
13880
|
+
*/
|
|
13881
|
+
getClubCustomerSettings(requestParameters: ClubCustomerStaffApiGetClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
|
|
13882
|
+
/**
|
|
13883
|
+
*
|
|
13884
|
+
* @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
13885
|
+
* @param {*} [options] Override http request option.
|
|
13886
|
+
* @throws {RequiredError}
|
|
13887
|
+
* @memberof ClubCustomerStaffApi
|
|
13888
|
+
*/
|
|
13889
|
+
updateClubCustomerSettings(requestParameters: ClubCustomerStaffApiUpdateClubCustomerSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubCustomerSettingsResponse, any, {}>>;
|
|
13890
|
+
}
|
|
13688
13891
|
/**
|
|
13689
13892
|
* ClubRolesManagerApi - axios parameter creator
|
|
13690
13893
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -3553,6 +3553,176 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
3553
3553
|
return ClubAnalyticsStaffApiFp(this.configuration).getYearlyTurnOver(requestParameters.year, options).then((request) => request(this.axios, this.basePath));
|
|
3554
3554
|
}
|
|
3555
3555
|
}
|
|
3556
|
+
/**
|
|
3557
|
+
* ClubCustomerStaffApi - axios parameter creator
|
|
3558
|
+
* @export
|
|
3559
|
+
*/
|
|
3560
|
+
export const ClubCustomerStaffApiAxiosParamCreator = function (configuration) {
|
|
3561
|
+
return {
|
|
3562
|
+
/**
|
|
3563
|
+
*
|
|
3564
|
+
* @param {string} userId
|
|
3565
|
+
* @param {*} [options] Override http request option.
|
|
3566
|
+
* @throws {RequiredError}
|
|
3567
|
+
*/
|
|
3568
|
+
getClubCustomerSettings: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
3569
|
+
// verify required parameter 'userId' is not null or undefined
|
|
3570
|
+
assertParamExists('getClubCustomerSettings', 'userId', userId);
|
|
3571
|
+
const localVarPath = `/api/clubCustomers/clubCustomer/{userId}/settings`
|
|
3572
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
3573
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3574
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3575
|
+
let baseOptions;
|
|
3576
|
+
if (configuration) {
|
|
3577
|
+
baseOptions = configuration.baseOptions;
|
|
3578
|
+
}
|
|
3579
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3580
|
+
const localVarHeaderParameter = {};
|
|
3581
|
+
const localVarQueryParameter = {};
|
|
3582
|
+
// authentication bearerAuth required
|
|
3583
|
+
// http bearer authentication required
|
|
3584
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3585
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3586
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3587
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3588
|
+
return {
|
|
3589
|
+
url: toPathString(localVarUrlObj),
|
|
3590
|
+
options: localVarRequestOptions,
|
|
3591
|
+
};
|
|
3592
|
+
}),
|
|
3593
|
+
/**
|
|
3594
|
+
*
|
|
3595
|
+
* @param {string} userId
|
|
3596
|
+
* @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
|
|
3597
|
+
* @param {*} [options] Override http request option.
|
|
3598
|
+
* @throws {RequiredError}
|
|
3599
|
+
*/
|
|
3600
|
+
updateClubCustomerSettings: (userId_1, clubCustomerSettingsResponse_1, ...args_1) => __awaiter(this, [userId_1, clubCustomerSettingsResponse_1, ...args_1], void 0, function* (userId, clubCustomerSettingsResponse, options = {}) {
|
|
3601
|
+
// verify required parameter 'userId' is not null or undefined
|
|
3602
|
+
assertParamExists('updateClubCustomerSettings', 'userId', userId);
|
|
3603
|
+
// verify required parameter 'clubCustomerSettingsResponse' is not null or undefined
|
|
3604
|
+
assertParamExists('updateClubCustomerSettings', 'clubCustomerSettingsResponse', clubCustomerSettingsResponse);
|
|
3605
|
+
const localVarPath = `/api/clubCustomers/clubCustomer/{userId}/settings`
|
|
3606
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
3607
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3608
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3609
|
+
let baseOptions;
|
|
3610
|
+
if (configuration) {
|
|
3611
|
+
baseOptions = configuration.baseOptions;
|
|
3612
|
+
}
|
|
3613
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
3614
|
+
const localVarHeaderParameter = {};
|
|
3615
|
+
const localVarQueryParameter = {};
|
|
3616
|
+
// authentication bearerAuth required
|
|
3617
|
+
// http bearer authentication required
|
|
3618
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3619
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3620
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3621
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3622
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3623
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clubCustomerSettingsResponse, localVarRequestOptions, configuration);
|
|
3624
|
+
return {
|
|
3625
|
+
url: toPathString(localVarUrlObj),
|
|
3626
|
+
options: localVarRequestOptions,
|
|
3627
|
+
};
|
|
3628
|
+
}),
|
|
3629
|
+
};
|
|
3630
|
+
};
|
|
3631
|
+
/**
|
|
3632
|
+
* ClubCustomerStaffApi - functional programming interface
|
|
3633
|
+
* @export
|
|
3634
|
+
*/
|
|
3635
|
+
export const ClubCustomerStaffApiFp = function (configuration) {
|
|
3636
|
+
const localVarAxiosParamCreator = ClubCustomerStaffApiAxiosParamCreator(configuration);
|
|
3637
|
+
return {
|
|
3638
|
+
/**
|
|
3639
|
+
*
|
|
3640
|
+
* @param {string} userId
|
|
3641
|
+
* @param {*} [options] Override http request option.
|
|
3642
|
+
* @throws {RequiredError}
|
|
3643
|
+
*/
|
|
3644
|
+
getClubCustomerSettings(userId, options) {
|
|
3645
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3646
|
+
var _a, _b, _c;
|
|
3647
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubCustomerSettings(userId, options);
|
|
3648
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3649
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubCustomerStaffApi.getClubCustomerSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3650
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3651
|
+
});
|
|
3652
|
+
},
|
|
3653
|
+
/**
|
|
3654
|
+
*
|
|
3655
|
+
* @param {string} userId
|
|
3656
|
+
* @param {ClubCustomerSettingsResponse} clubCustomerSettingsResponse
|
|
3657
|
+
* @param {*} [options] Override http request option.
|
|
3658
|
+
* @throws {RequiredError}
|
|
3659
|
+
*/
|
|
3660
|
+
updateClubCustomerSettings(userId, clubCustomerSettingsResponse, options) {
|
|
3661
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3662
|
+
var _a, _b, _c;
|
|
3663
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClubCustomerSettings(userId, clubCustomerSettingsResponse, options);
|
|
3664
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3665
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubCustomerStaffApi.updateClubCustomerSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3666
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3667
|
+
});
|
|
3668
|
+
},
|
|
3669
|
+
};
|
|
3670
|
+
};
|
|
3671
|
+
/**
|
|
3672
|
+
* ClubCustomerStaffApi - factory interface
|
|
3673
|
+
* @export
|
|
3674
|
+
*/
|
|
3675
|
+
export const ClubCustomerStaffApiFactory = function (configuration, basePath, axios) {
|
|
3676
|
+
const localVarFp = ClubCustomerStaffApiFp(configuration);
|
|
3677
|
+
return {
|
|
3678
|
+
/**
|
|
3679
|
+
*
|
|
3680
|
+
* @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
3681
|
+
* @param {*} [options] Override http request option.
|
|
3682
|
+
* @throws {RequiredError}
|
|
3683
|
+
*/
|
|
3684
|
+
getClubCustomerSettings(requestParameters, options) {
|
|
3685
|
+
return localVarFp.getClubCustomerSettings(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
3686
|
+
},
|
|
3687
|
+
/**
|
|
3688
|
+
*
|
|
3689
|
+
* @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
3690
|
+
* @param {*} [options] Override http request option.
|
|
3691
|
+
* @throws {RequiredError}
|
|
3692
|
+
*/
|
|
3693
|
+
updateClubCustomerSettings(requestParameters, options) {
|
|
3694
|
+
return localVarFp.updateClubCustomerSettings(requestParameters.userId, requestParameters.clubCustomerSettingsResponse, options).then((request) => request(axios, basePath));
|
|
3695
|
+
},
|
|
3696
|
+
};
|
|
3697
|
+
};
|
|
3698
|
+
/**
|
|
3699
|
+
* ClubCustomerStaffApi - object-oriented interface
|
|
3700
|
+
* @export
|
|
3701
|
+
* @class ClubCustomerStaffApi
|
|
3702
|
+
* @extends {BaseAPI}
|
|
3703
|
+
*/
|
|
3704
|
+
export class ClubCustomerStaffApi extends BaseAPI {
|
|
3705
|
+
/**
|
|
3706
|
+
*
|
|
3707
|
+
* @param {ClubCustomerStaffApiGetClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
3708
|
+
* @param {*} [options] Override http request option.
|
|
3709
|
+
* @throws {RequiredError}
|
|
3710
|
+
* @memberof ClubCustomerStaffApi
|
|
3711
|
+
*/
|
|
3712
|
+
getClubCustomerSettings(requestParameters, options) {
|
|
3713
|
+
return ClubCustomerStaffApiFp(this.configuration).getClubCustomerSettings(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
3714
|
+
}
|
|
3715
|
+
/**
|
|
3716
|
+
*
|
|
3717
|
+
* @param {ClubCustomerStaffApiUpdateClubCustomerSettingsRequest} requestParameters Request parameters.
|
|
3718
|
+
* @param {*} [options] Override http request option.
|
|
3719
|
+
* @throws {RequiredError}
|
|
3720
|
+
* @memberof ClubCustomerStaffApi
|
|
3721
|
+
*/
|
|
3722
|
+
updateClubCustomerSettings(requestParameters, options) {
|
|
3723
|
+
return ClubCustomerStaffApiFp(this.configuration).updateClubCustomerSettings(requestParameters.userId, requestParameters.clubCustomerSettingsResponse, options).then((request) => request(this.axios, this.basePath));
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3556
3726
|
/**
|
|
3557
3727
|
* ClubRolesManagerApi - axios parameter creator
|
|
3558
3728
|
* @export
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# ClubCustomerSettingsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | **string** | | [default to undefined]
|
|
9
|
+
**clubId** | **string** | | [default to undefined]
|
|
10
|
+
**credits** | **number** | | [default to undefined]
|
|
11
|
+
**isBanned** | **boolean** | | [default to undefined]
|
|
12
|
+
**isIllimited** | **boolean** | | [default to undefined]
|
|
13
|
+
**isFree** | **boolean** | | [default to undefined]
|
|
14
|
+
**isNoShowForced** | **boolean** | | [default to undefined]
|
|
15
|
+
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
16
|
+
**defaultPaymentMethodId** | **string** | | [default to undefined]
|
|
17
|
+
**subscriptions** | **Array<string>** | | [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { ClubCustomerSettingsResponse } from '@tennac-booking/sdk';
|
|
23
|
+
|
|
24
|
+
const instance: ClubCustomerSettingsResponse = {
|
|
25
|
+
userId,
|
|
26
|
+
clubId,
|
|
27
|
+
credits,
|
|
28
|
+
isBanned,
|
|
29
|
+
isIllimited,
|
|
30
|
+
isFree,
|
|
31
|
+
isNoShowForced,
|
|
32
|
+
paymentMethodSetupCompleted,
|
|
33
|
+
defaultPaymentMethodId,
|
|
34
|
+
subscriptions,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|