@tennac-booking/sdk 1.0.62 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -1
- package/README.md +9 -3
- package/api.ts +514 -95
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +400 -96
- package/dist/api.js +189 -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 +400 -96
- package/dist/esm/api.js +188 -4
- 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/AddOrganizationRequest.md +22 -0
- package/docs/ClubsApi.md +46 -0
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +26 -0
- package/docs/IUserAttributes.md +10 -0
- package/docs/IUserAttributesOrganizationsInner.md +28 -0
- package/docs/RegisterRequestBody.md +6 -0
- package/docs/{UpdateUserRequestBodyLocation.md → RegisterRequestBodyLocation.md} +3 -3
- package/docs/StaffUserProfileResponse.md +10 -0
- package/docs/UpdateUserRequestBody.md +1 -1
- package/docs/UserProfileResponse.md +10 -0
- package/docs/UsersApi.md +104 -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.63
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ClubAnalyticsApiAxiosParamCreator = 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.UserLocationSummaryTypeEnum = exports.
|
|
25
|
+
exports.ClubAnalyticsApiAxiosParamCreator = 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.UserLocationSummaryTypeEnum = exports.UpdateClubRoleRequestRoleEnum = 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.RegisterRequestBodyLocationTypeEnum = exports.PlanInterval = exports.PaymentMethod = exports.IUserLocationTypeEnum = exports.Gender = exports.DiscountType = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPerformedByTypeEnum = void 0;
|
|
26
26
|
exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = 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 = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = 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 = void 0;
|
|
27
27
|
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = 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.SportsStaffApi = exports.SportsStaffApiFactory = exports.SportsStaffApiFp = exports.SportsStaffApiAxiosParamCreator = exports.SportsManagerApi = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
@@ -121,6 +121,9 @@ exports.PlanInterval = {
|
|
|
121
121
|
Trimester: 'trimester',
|
|
122
122
|
Semester: 'semester'
|
|
123
123
|
};
|
|
124
|
+
exports.RegisterRequestBodyLocationTypeEnum = {
|
|
125
|
+
Point: 'Point'
|
|
126
|
+
};
|
|
124
127
|
exports.StripeStripeDeletedProductObjectEnum = {
|
|
125
128
|
Product: 'product'
|
|
126
129
|
};
|
|
@@ -245,9 +248,6 @@ exports.UpdateClubRoleRequestRoleEnum = {
|
|
|
245
248
|
Manager: 'manager',
|
|
246
249
|
Staff: 'staff'
|
|
247
250
|
};
|
|
248
|
-
exports.UpdateUserRequestBodyLocationTypeEnum = {
|
|
249
|
-
Point: 'Point'
|
|
250
|
-
};
|
|
251
251
|
exports.UserLocationSummaryTypeEnum = {
|
|
252
252
|
Point: 'Point'
|
|
253
253
|
};
|
|
@@ -2911,6 +2911,30 @@ const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
2911
2911
|
options: localVarRequestOptions,
|
|
2912
2912
|
};
|
|
2913
2913
|
}),
|
|
2914
|
+
/**
|
|
2915
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
2916
|
+
* @param {*} [options] Override http request option.
|
|
2917
|
+
* @throws {RequiredError}
|
|
2918
|
+
*/
|
|
2919
|
+
getClubsWithVerificationDomains: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2920
|
+
const localVarPath = `/api/clubs/verification-domains`;
|
|
2921
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2922
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2923
|
+
let baseOptions;
|
|
2924
|
+
if (configuration) {
|
|
2925
|
+
baseOptions = configuration.baseOptions;
|
|
2926
|
+
}
|
|
2927
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2928
|
+
const localVarHeaderParameter = {};
|
|
2929
|
+
const localVarQueryParameter = {};
|
|
2930
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2931
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2932
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2933
|
+
return {
|
|
2934
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2935
|
+
options: localVarRequestOptions,
|
|
2936
|
+
};
|
|
2937
|
+
}),
|
|
2914
2938
|
/**
|
|
2915
2939
|
*
|
|
2916
2940
|
* @param {string} id
|
|
@@ -3142,6 +3166,20 @@ const ClubsApiFp = function (configuration) {
|
|
|
3142
3166
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3143
3167
|
});
|
|
3144
3168
|
},
|
|
3169
|
+
/**
|
|
3170
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3171
|
+
* @param {*} [options] Override http request option.
|
|
3172
|
+
* @throws {RequiredError}
|
|
3173
|
+
*/
|
|
3174
|
+
getClubsWithVerificationDomains(options) {
|
|
3175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3176
|
+
var _a, _b, _c;
|
|
3177
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubsWithVerificationDomains(options);
|
|
3178
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3179
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsApi.getClubsWithVerificationDomains']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3180
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3181
|
+
});
|
|
3182
|
+
},
|
|
3145
3183
|
/**
|
|
3146
3184
|
*
|
|
3147
3185
|
* @param {string} id
|
|
@@ -3273,6 +3311,14 @@ const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
3273
3311
|
getClubUsersById(requestParameters, options) {
|
|
3274
3312
|
return localVarFp.getClubUsersById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3275
3313
|
},
|
|
3314
|
+
/**
|
|
3315
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3316
|
+
* @param {*} [options] Override http request option.
|
|
3317
|
+
* @throws {RequiredError}
|
|
3318
|
+
*/
|
|
3319
|
+
getClubsWithVerificationDomains(options) {
|
|
3320
|
+
return localVarFp.getClubsWithVerificationDomains(options).then((request) => request(axios, basePath));
|
|
3321
|
+
},
|
|
3276
3322
|
/**
|
|
3277
3323
|
*
|
|
3278
3324
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
|
@@ -3386,6 +3432,15 @@ class ClubsApi extends base_1.BaseAPI {
|
|
|
3386
3432
|
getClubUsersById(requestParameters, options) {
|
|
3387
3433
|
return (0, exports.ClubsApiFp)(this.configuration).getClubUsersById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
3388
3434
|
}
|
|
3435
|
+
/**
|
|
3436
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
3437
|
+
* @param {*} [options] Override http request option.
|
|
3438
|
+
* @throws {RequiredError}
|
|
3439
|
+
* @memberof ClubsApi
|
|
3440
|
+
*/
|
|
3441
|
+
getClubsWithVerificationDomains(options) {
|
|
3442
|
+
return (0, exports.ClubsApiFp)(this.configuration).getClubsWithVerificationDomains(options).then((request) => request(this.axios, this.basePath));
|
|
3443
|
+
}
|
|
3389
3444
|
/**
|
|
3390
3445
|
*
|
|
3391
3446
|
* @param {ClubsApiGetCourtsByClubAndSportByIdRequest} requestParameters Request parameters.
|
|
@@ -6916,6 +6971,38 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
6916
6971
|
options: localVarRequestOptions,
|
|
6917
6972
|
};
|
|
6918
6973
|
}),
|
|
6974
|
+
/**
|
|
6975
|
+
*
|
|
6976
|
+
* @param {AddOrganizationRequest} addOrganizationRequest
|
|
6977
|
+
* @param {*} [options] Override http request option.
|
|
6978
|
+
* @throws {RequiredError}
|
|
6979
|
+
*/
|
|
6980
|
+
addOrganization: (addOrganizationRequest_1, ...args_1) => __awaiter(this, [addOrganizationRequest_1, ...args_1], void 0, function* (addOrganizationRequest, options = {}) {
|
|
6981
|
+
// verify required parameter 'addOrganizationRequest' is not null or undefined
|
|
6982
|
+
(0, common_1.assertParamExists)('addOrganization', 'addOrganizationRequest', addOrganizationRequest);
|
|
6983
|
+
const localVarPath = `/api/users/me/add-organization`;
|
|
6984
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6985
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6986
|
+
let baseOptions;
|
|
6987
|
+
if (configuration) {
|
|
6988
|
+
baseOptions = configuration.baseOptions;
|
|
6989
|
+
}
|
|
6990
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
6991
|
+
const localVarHeaderParameter = {};
|
|
6992
|
+
const localVarQueryParameter = {};
|
|
6993
|
+
// authentication bearerAuth required
|
|
6994
|
+
// http bearer authentication required
|
|
6995
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6996
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6997
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6998
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6999
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7000
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(addOrganizationRequest, localVarRequestOptions, configuration);
|
|
7001
|
+
return {
|
|
7002
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7003
|
+
options: localVarRequestOptions,
|
|
7004
|
+
};
|
|
7005
|
+
}),
|
|
6919
7006
|
/**
|
|
6920
7007
|
*
|
|
6921
7008
|
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
@@ -7873,6 +7960,35 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7873
7960
|
options: localVarRequestOptions,
|
|
7874
7961
|
};
|
|
7875
7962
|
}),
|
|
7963
|
+
/**
|
|
7964
|
+
*
|
|
7965
|
+
* @param {VerifyEmailRequest} verifyEmailRequest
|
|
7966
|
+
* @param {*} [options] Override http request option.
|
|
7967
|
+
* @throws {RequiredError}
|
|
7968
|
+
*/
|
|
7969
|
+
verifyOrganization: (verifyEmailRequest_1, ...args_1) => __awaiter(this, [verifyEmailRequest_1, ...args_1], void 0, function* (verifyEmailRequest, options = {}) {
|
|
7970
|
+
// verify required parameter 'verifyEmailRequest' is not null or undefined
|
|
7971
|
+
(0, common_1.assertParamExists)('verifyOrganization', 'verifyEmailRequest', verifyEmailRequest);
|
|
7972
|
+
const localVarPath = `/api/users/verify-organization`;
|
|
7973
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7974
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7975
|
+
let baseOptions;
|
|
7976
|
+
if (configuration) {
|
|
7977
|
+
baseOptions = configuration.baseOptions;
|
|
7978
|
+
}
|
|
7979
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7980
|
+
const localVarHeaderParameter = {};
|
|
7981
|
+
const localVarQueryParameter = {};
|
|
7982
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7983
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7984
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7985
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7986
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(verifyEmailRequest, localVarRequestOptions, configuration);
|
|
7987
|
+
return {
|
|
7988
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7989
|
+
options: localVarRequestOptions,
|
|
7990
|
+
};
|
|
7991
|
+
}),
|
|
7876
7992
|
};
|
|
7877
7993
|
};
|
|
7878
7994
|
exports.UsersApiAxiosParamCreator = UsersApiAxiosParamCreator;
|
|
@@ -7913,6 +8029,21 @@ const UsersApiFp = function (configuration) {
|
|
|
7913
8029
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7914
8030
|
});
|
|
7915
8031
|
},
|
|
8032
|
+
/**
|
|
8033
|
+
*
|
|
8034
|
+
* @param {AddOrganizationRequest} addOrganizationRequest
|
|
8035
|
+
* @param {*} [options] Override http request option.
|
|
8036
|
+
* @throws {RequiredError}
|
|
8037
|
+
*/
|
|
8038
|
+
addOrganization(addOrganizationRequest, options) {
|
|
8039
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8040
|
+
var _a, _b, _c;
|
|
8041
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addOrganization(addOrganizationRequest, options);
|
|
8042
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8043
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.addOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8044
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8045
|
+
});
|
|
8046
|
+
},
|
|
7916
8047
|
/**
|
|
7917
8048
|
*
|
|
7918
8049
|
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
@@ -8380,6 +8511,21 @@ const UsersApiFp = function (configuration) {
|
|
|
8380
8511
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8381
8512
|
});
|
|
8382
8513
|
},
|
|
8514
|
+
/**
|
|
8515
|
+
*
|
|
8516
|
+
* @param {VerifyEmailRequest} verifyEmailRequest
|
|
8517
|
+
* @param {*} [options] Override http request option.
|
|
8518
|
+
* @throws {RequiredError}
|
|
8519
|
+
*/
|
|
8520
|
+
verifyOrganization(verifyEmailRequest, options) {
|
|
8521
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8522
|
+
var _a, _b, _c;
|
|
8523
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.verifyOrganization(verifyEmailRequest, options);
|
|
8524
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8525
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.verifyOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8526
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8527
|
+
});
|
|
8528
|
+
},
|
|
8383
8529
|
};
|
|
8384
8530
|
};
|
|
8385
8531
|
exports.UsersApiFp = UsersApiFp;
|
|
@@ -8408,6 +8554,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
8408
8554
|
addFavoritePlayer(requestParameters, options) {
|
|
8409
8555
|
return localVarFp.addFavoritePlayer(requestParameters.favoritePlayerRequestBody, options).then((request) => request(axios, basePath));
|
|
8410
8556
|
},
|
|
8557
|
+
/**
|
|
8558
|
+
*
|
|
8559
|
+
* @param {UsersApiAddOrganizationRequest} requestParameters Request parameters.
|
|
8560
|
+
* @param {*} [options] Override http request option.
|
|
8561
|
+
* @throws {RequiredError}
|
|
8562
|
+
*/
|
|
8563
|
+
addOrganization(requestParameters, options) {
|
|
8564
|
+
return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
|
|
8565
|
+
},
|
|
8411
8566
|
/**
|
|
8412
8567
|
*
|
|
8413
8568
|
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
@@ -8680,6 +8835,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
8680
8835
|
verifyEmail(requestParameters, options) {
|
|
8681
8836
|
return localVarFp.verifyEmail(requestParameters.verifyEmailRequest, options).then((request) => request(axios, basePath));
|
|
8682
8837
|
},
|
|
8838
|
+
/**
|
|
8839
|
+
*
|
|
8840
|
+
* @param {UsersApiVerifyOrganizationRequest} requestParameters Request parameters.
|
|
8841
|
+
* @param {*} [options] Override http request option.
|
|
8842
|
+
* @throws {RequiredError}
|
|
8843
|
+
*/
|
|
8844
|
+
verifyOrganization(requestParameters, options) {
|
|
8845
|
+
return localVarFp.verifyOrganization(requestParameters.verifyEmailRequest, options).then((request) => request(axios, basePath));
|
|
8846
|
+
},
|
|
8683
8847
|
};
|
|
8684
8848
|
};
|
|
8685
8849
|
exports.UsersApiFactory = UsersApiFactory;
|
|
@@ -8710,6 +8874,16 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
8710
8874
|
addFavoritePlayer(requestParameters, options) {
|
|
8711
8875
|
return (0, exports.UsersApiFp)(this.configuration).addFavoritePlayer(requestParameters.favoritePlayerRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
8712
8876
|
}
|
|
8877
|
+
/**
|
|
8878
|
+
*
|
|
8879
|
+
* @param {UsersApiAddOrganizationRequest} requestParameters Request parameters.
|
|
8880
|
+
* @param {*} [options] Override http request option.
|
|
8881
|
+
* @throws {RequiredError}
|
|
8882
|
+
* @memberof UsersApi
|
|
8883
|
+
*/
|
|
8884
|
+
addOrganization(requestParameters, options) {
|
|
8885
|
+
return (0, exports.UsersApiFp)(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8886
|
+
}
|
|
8713
8887
|
/**
|
|
8714
8888
|
*
|
|
8715
8889
|
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
@@ -9013,5 +9187,15 @@ class UsersApi extends base_1.BaseAPI {
|
|
|
9013
9187
|
verifyEmail(requestParameters, options) {
|
|
9014
9188
|
return (0, exports.UsersApiFp)(this.configuration).verifyEmail(requestParameters.verifyEmailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9015
9189
|
}
|
|
9190
|
+
/**
|
|
9191
|
+
*
|
|
9192
|
+
* @param {UsersApiVerifyOrganizationRequest} requestParameters Request parameters.
|
|
9193
|
+
* @param {*} [options] Override http request option.
|
|
9194
|
+
* @throws {RequiredError}
|
|
9195
|
+
* @memberof UsersApi
|
|
9196
|
+
*/
|
|
9197
|
+
verifyOrganization(requestParameters, options) {
|
|
9198
|
+
return (0, exports.UsersApiFp)(this.configuration).verifyOrganization(requestParameters.verifyEmailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9199
|
+
}
|
|
9016
9200
|
}
|
|
9017
9201
|
exports.UsersApi = UsersApi;
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED