@tennac-booking/sdk 1.0.74 → 1.0.76
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 +245 -234
- package/README.md +24 -7
- package/api.ts +1240 -461
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1016 -400
- package/dist/api.js +395 -161
- 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 +1016 -400
- package/dist/esm/api.js +394 -156
- 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/{BookingPriceBody.md → AddPaymentMethodRequestBody.md} +5 -7
- package/docs/BookingInfo.md +2 -2
- package/docs/BookingPopulated.md +0 -2
- package/docs/BookingsApi.md +0 -52
- package/docs/ClubAnalyticsStaffApi.md +167 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsResponse.md +22 -0
- package/docs/ClubPlayerDetailResponse.md +46 -0
- package/docs/ClubPlayerDetailResponseSportsLevelsInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponse.md +42 -0
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +28 -0
- package/docs/ClubResponse.md +0 -8
- package/docs/ClubSettingsResponse.md +2 -0
- package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodResponse.md +22 -0
- package/docs/CreateBookingRequest.md +2 -2
- package/docs/CreateEventRequest.md +2 -0
- package/docs/IUserAttributes.md +12 -2
- package/docs/PartialClubResponse.md +0 -8
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/SetupPaymentMethodRequestBody.md +20 -0
- package/docs/SetupPaymentMethodResponse.md +24 -0
- package/docs/SlotInfo.md +2 -2
- package/docs/StaffUserProfileResponse.md +12 -2
- package/docs/SubscribeRequestBody.md +0 -2
- package/docs/UserProfileResponse.md +12 -4
- package/docs/UsersApi.md +156 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/PlayerPrice.md +0 -30
- package/docs/SportsPublicApi.md +0 -53
- package/docs/SubscriptionInfo.md +0 -24
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.75
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -364,38 +364,6 @@ export const BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
364
364
|
options: localVarRequestOptions,
|
|
365
365
|
};
|
|
366
366
|
}),
|
|
367
|
-
/**
|
|
368
|
-
*
|
|
369
|
-
* @param {BookingPriceBody} bookingPriceBody
|
|
370
|
-
* @param {*} [options] Override http request option.
|
|
371
|
-
* @throws {RequiredError}
|
|
372
|
-
*/
|
|
373
|
-
getBookingPrice: (bookingPriceBody_1, ...args_1) => __awaiter(this, [bookingPriceBody_1, ...args_1], void 0, function* (bookingPriceBody, options = {}) {
|
|
374
|
-
// verify required parameter 'bookingPriceBody' is not null or undefined
|
|
375
|
-
assertParamExists('getBookingPrice', 'bookingPriceBody', bookingPriceBody);
|
|
376
|
-
const localVarPath = `/api/bookings/booking-price`;
|
|
377
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
378
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
379
|
-
let baseOptions;
|
|
380
|
-
if (configuration) {
|
|
381
|
-
baseOptions = configuration.baseOptions;
|
|
382
|
-
}
|
|
383
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
384
|
-
const localVarHeaderParameter = {};
|
|
385
|
-
const localVarQueryParameter = {};
|
|
386
|
-
// authentication bearerAuth required
|
|
387
|
-
// http bearer authentication required
|
|
388
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
389
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
390
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
391
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
392
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
393
|
-
localVarRequestOptions.data = serializeDataIfNeeded(bookingPriceBody, localVarRequestOptions, configuration);
|
|
394
|
-
return {
|
|
395
|
-
url: toPathString(localVarUrlObj),
|
|
396
|
-
options: localVarRequestOptions,
|
|
397
|
-
};
|
|
398
|
-
}),
|
|
399
367
|
/**
|
|
400
368
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
401
369
|
* @param {number} [latitude]
|
|
@@ -484,21 +452,6 @@ export const BookingsApiFp = function (configuration) {
|
|
|
484
452
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
485
453
|
});
|
|
486
454
|
},
|
|
487
|
-
/**
|
|
488
|
-
*
|
|
489
|
-
* @param {BookingPriceBody} bookingPriceBody
|
|
490
|
-
* @param {*} [options] Override http request option.
|
|
491
|
-
* @throws {RequiredError}
|
|
492
|
-
*/
|
|
493
|
-
getBookingPrice(bookingPriceBody, options) {
|
|
494
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
-
var _a, _b, _c;
|
|
496
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBookingPrice(bookingPriceBody, options);
|
|
497
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
498
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsApi.getBookingPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
499
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
500
|
-
});
|
|
501
|
-
},
|
|
502
455
|
/**
|
|
503
456
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
504
457
|
* @param {number} [latitude]
|
|
@@ -541,15 +494,6 @@ export const BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
541
494
|
getBookingHistory(requestParameters, options) {
|
|
542
495
|
return localVarFp.getBookingHistory(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
543
496
|
},
|
|
544
|
-
/**
|
|
545
|
-
*
|
|
546
|
-
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
547
|
-
* @param {*} [options] Override http request option.
|
|
548
|
-
* @throws {RequiredError}
|
|
549
|
-
*/
|
|
550
|
-
getBookingPrice(requestParameters, options) {
|
|
551
|
-
return localVarFp.getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(axios, basePath));
|
|
552
|
-
},
|
|
553
497
|
/**
|
|
554
498
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
555
499
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -578,16 +522,6 @@ export class BookingsApi extends BaseAPI {
|
|
|
578
522
|
getBookingHistory(requestParameters, options) {
|
|
579
523
|
return BookingsApiFp(this.configuration).getBookingHistory(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
580
524
|
}
|
|
581
|
-
/**
|
|
582
|
-
*
|
|
583
|
-
* @param {BookingsApiGetBookingPriceRequest} requestParameters Request parameters.
|
|
584
|
-
* @param {*} [options] Override http request option.
|
|
585
|
-
* @throws {RequiredError}
|
|
586
|
-
* @memberof BookingsApi
|
|
587
|
-
*/
|
|
588
|
-
getBookingPrice(requestParameters, options) {
|
|
589
|
-
return BookingsApiFp(this.configuration).getBookingPrice(requestParameters.bookingPriceBody, options).then((request) => request(this.axios, this.basePath));
|
|
590
|
-
}
|
|
591
525
|
/**
|
|
592
526
|
* Recherche des créneaux disponibles pour une réservation rapide
|
|
593
527
|
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
@@ -1551,6 +1485,99 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1551
1485
|
options: localVarRequestOptions,
|
|
1552
1486
|
};
|
|
1553
1487
|
}),
|
|
1488
|
+
/**
|
|
1489
|
+
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1490
|
+
* @param {string} playerId
|
|
1491
|
+
* @param {*} [options] Override http request option.
|
|
1492
|
+
* @throws {RequiredError}
|
|
1493
|
+
*/
|
|
1494
|
+
getClubPlayerBookingsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1495
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
1496
|
+
assertParamExists('getClubPlayerBookingsById', 'playerId', playerId);
|
|
1497
|
+
const localVarPath = `/api/club-analytics/players/{playerId}/bookings`
|
|
1498
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1499
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1500
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1501
|
+
let baseOptions;
|
|
1502
|
+
if (configuration) {
|
|
1503
|
+
baseOptions = configuration.baseOptions;
|
|
1504
|
+
}
|
|
1505
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1506
|
+
const localVarHeaderParameter = {};
|
|
1507
|
+
const localVarQueryParameter = {};
|
|
1508
|
+
// authentication bearerAuth required
|
|
1509
|
+
// http bearer authentication required
|
|
1510
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1513
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1514
|
+
return {
|
|
1515
|
+
url: toPathString(localVarUrlObj),
|
|
1516
|
+
options: localVarRequestOptions,
|
|
1517
|
+
};
|
|
1518
|
+
}),
|
|
1519
|
+
/**
|
|
1520
|
+
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1521
|
+
* @param {string} playerId
|
|
1522
|
+
* @param {*} [options] Override http request option.
|
|
1523
|
+
* @throws {RequiredError}
|
|
1524
|
+
*/
|
|
1525
|
+
getClubPlayerById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1526
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
1527
|
+
assertParamExists('getClubPlayerById', 'playerId', playerId);
|
|
1528
|
+
const localVarPath = `/api/club-analytics/players/{playerId}`
|
|
1529
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1532
|
+
let baseOptions;
|
|
1533
|
+
if (configuration) {
|
|
1534
|
+
baseOptions = configuration.baseOptions;
|
|
1535
|
+
}
|
|
1536
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1537
|
+
const localVarHeaderParameter = {};
|
|
1538
|
+
const localVarQueryParameter = {};
|
|
1539
|
+
// authentication bearerAuth required
|
|
1540
|
+
// http bearer authentication required
|
|
1541
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1542
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1543
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1544
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1545
|
+
return {
|
|
1546
|
+
url: toPathString(localVarUrlObj),
|
|
1547
|
+
options: localVarRequestOptions,
|
|
1548
|
+
};
|
|
1549
|
+
}),
|
|
1550
|
+
/**
|
|
1551
|
+
* Récupère les statistiques d\'un joueur pour le staff
|
|
1552
|
+
* @param {string} playerId
|
|
1553
|
+
* @param {*} [options] Override http request option.
|
|
1554
|
+
* @throws {RequiredError}
|
|
1555
|
+
*/
|
|
1556
|
+
getClubPlayerStatisticsById: (playerId_1, ...args_1) => __awaiter(this, [playerId_1, ...args_1], void 0, function* (playerId, options = {}) {
|
|
1557
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
1558
|
+
assertParamExists('getClubPlayerStatisticsById', 'playerId', playerId);
|
|
1559
|
+
const localVarPath = `/api/club-analytics/players/{playerId}/statistics`
|
|
1560
|
+
.replace(`{${"playerId"}}`, encodeURIComponent(String(playerId)));
|
|
1561
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1562
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1563
|
+
let baseOptions;
|
|
1564
|
+
if (configuration) {
|
|
1565
|
+
baseOptions = configuration.baseOptions;
|
|
1566
|
+
}
|
|
1567
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1568
|
+
const localVarHeaderParameter = {};
|
|
1569
|
+
const localVarQueryParameter = {};
|
|
1570
|
+
// authentication bearerAuth required
|
|
1571
|
+
// http bearer authentication required
|
|
1572
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1573
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1574
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1575
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1576
|
+
return {
|
|
1577
|
+
url: toPathString(localVarUrlObj),
|
|
1578
|
+
options: localVarRequestOptions,
|
|
1579
|
+
};
|
|
1580
|
+
}),
|
|
1554
1581
|
/**
|
|
1555
1582
|
* Récupère la liste des joueurs du club
|
|
1556
1583
|
* @param {*} [options] Override http request option.
|
|
@@ -1850,6 +1877,51 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
1850
1877
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1851
1878
|
});
|
|
1852
1879
|
},
|
|
1880
|
+
/**
|
|
1881
|
+
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
1882
|
+
* @param {string} playerId
|
|
1883
|
+
* @param {*} [options] Override http request option.
|
|
1884
|
+
* @throws {RequiredError}
|
|
1885
|
+
*/
|
|
1886
|
+
getClubPlayerBookingsById(playerId, options) {
|
|
1887
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1888
|
+
var _a, _b, _c;
|
|
1889
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerBookingsById(playerId, options);
|
|
1890
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1891
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerBookingsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1892
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1893
|
+
});
|
|
1894
|
+
},
|
|
1895
|
+
/**
|
|
1896
|
+
* Récupère les informations détaillées d\'un joueur par son ID
|
|
1897
|
+
* @param {string} playerId
|
|
1898
|
+
* @param {*} [options] Override http request option.
|
|
1899
|
+
* @throws {RequiredError}
|
|
1900
|
+
*/
|
|
1901
|
+
getClubPlayerById(playerId, options) {
|
|
1902
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1903
|
+
var _a, _b, _c;
|
|
1904
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerById(playerId, options);
|
|
1905
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1906
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1907
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1908
|
+
});
|
|
1909
|
+
},
|
|
1910
|
+
/**
|
|
1911
|
+
* Récupère les statistiques d\'un joueur pour le staff
|
|
1912
|
+
* @param {string} playerId
|
|
1913
|
+
* @param {*} [options] Override http request option.
|
|
1914
|
+
* @throws {RequiredError}
|
|
1915
|
+
*/
|
|
1916
|
+
getClubPlayerStatisticsById(playerId, options) {
|
|
1917
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1918
|
+
var _a, _b, _c;
|
|
1919
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayerStatisticsById(playerId, options);
|
|
1920
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1921
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayerStatisticsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1922
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1923
|
+
});
|
|
1924
|
+
},
|
|
1853
1925
|
/**
|
|
1854
1926
|
* Récupère la liste des joueurs du club
|
|
1855
1927
|
* @param {*} [options] Override http request option.
|
|
@@ -2000,6 +2072,33 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2000
2072
|
getAnalyticsBySport(requestParameters, options) {
|
|
2001
2073
|
return localVarFp.getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(axios, basePath));
|
|
2002
2074
|
},
|
|
2075
|
+
/**
|
|
2076
|
+
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2077
|
+
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
2078
|
+
* @param {*} [options] Override http request option.
|
|
2079
|
+
* @throws {RequiredError}
|
|
2080
|
+
*/
|
|
2081
|
+
getClubPlayerBookingsById(requestParameters, options) {
|
|
2082
|
+
return localVarFp.getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2083
|
+
},
|
|
2084
|
+
/**
|
|
2085
|
+
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2086
|
+
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
2087
|
+
* @param {*} [options] Override http request option.
|
|
2088
|
+
* @throws {RequiredError}
|
|
2089
|
+
*/
|
|
2090
|
+
getClubPlayerById(requestParameters, options) {
|
|
2091
|
+
return localVarFp.getClubPlayerById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2092
|
+
},
|
|
2093
|
+
/**
|
|
2094
|
+
* Récupère les statistiques d\'un joueur pour le staff
|
|
2095
|
+
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
2096
|
+
* @param {*} [options] Override http request option.
|
|
2097
|
+
* @throws {RequiredError}
|
|
2098
|
+
*/
|
|
2099
|
+
getClubPlayerStatisticsById(requestParameters, options) {
|
|
2100
|
+
return localVarFp.getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(axios, basePath));
|
|
2101
|
+
},
|
|
2003
2102
|
/**
|
|
2004
2103
|
* Récupère la liste des joueurs du club
|
|
2005
2104
|
* @param {*} [options] Override http request option.
|
|
@@ -2095,6 +2194,36 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
2095
2194
|
getAnalyticsBySport(requestParameters, options) {
|
|
2096
2195
|
return ClubAnalyticsStaffApiFp(this.configuration).getAnalyticsBySport(requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
|
|
2097
2196
|
}
|
|
2197
|
+
/**
|
|
2198
|
+
* Récupère les réservations d\'un joueur par son ID (à venir et passées)
|
|
2199
|
+
* @param {ClubAnalyticsStaffApiGetClubPlayerBookingsByIdRequest} requestParameters Request parameters.
|
|
2200
|
+
* @param {*} [options] Override http request option.
|
|
2201
|
+
* @throws {RequiredError}
|
|
2202
|
+
* @memberof ClubAnalyticsStaffApi
|
|
2203
|
+
*/
|
|
2204
|
+
getClubPlayerBookingsById(requestParameters, options) {
|
|
2205
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerBookingsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2206
|
+
}
|
|
2207
|
+
/**
|
|
2208
|
+
* Récupère les informations détaillées d\'un joueur par son ID
|
|
2209
|
+
* @param {ClubAnalyticsStaffApiGetClubPlayerByIdRequest} requestParameters Request parameters.
|
|
2210
|
+
* @param {*} [options] Override http request option.
|
|
2211
|
+
* @throws {RequiredError}
|
|
2212
|
+
* @memberof ClubAnalyticsStaffApi
|
|
2213
|
+
*/
|
|
2214
|
+
getClubPlayerById(requestParameters, options) {
|
|
2215
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2216
|
+
}
|
|
2217
|
+
/**
|
|
2218
|
+
* Récupère les statistiques d\'un joueur pour le staff
|
|
2219
|
+
* @param {ClubAnalyticsStaffApiGetClubPlayerStatisticsByIdRequest} requestParameters Request parameters.
|
|
2220
|
+
* @param {*} [options] Override http request option.
|
|
2221
|
+
* @throws {RequiredError}
|
|
2222
|
+
* @memberof ClubAnalyticsStaffApi
|
|
2223
|
+
*/
|
|
2224
|
+
getClubPlayerStatisticsById(requestParameters, options) {
|
|
2225
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayerStatisticsById(requestParameters.playerId, options).then((request) => request(this.axios, this.basePath));
|
|
2226
|
+
}
|
|
2098
2227
|
/**
|
|
2099
2228
|
* Récupère la liste des joueurs du club
|
|
2100
2229
|
* @param {*} [options] Override http request option.
|
|
@@ -6481,95 +6610,6 @@ export class SportsManagerApi extends BaseAPI {
|
|
|
6481
6610
|
return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6482
6611
|
}
|
|
6483
6612
|
}
|
|
6484
|
-
/**
|
|
6485
|
-
* SportsPublicApi - axios parameter creator
|
|
6486
|
-
* @export
|
|
6487
|
-
*/
|
|
6488
|
-
export const SportsPublicApiAxiosParamCreator = function (configuration) {
|
|
6489
|
-
return {
|
|
6490
|
-
/**
|
|
6491
|
-
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6492
|
-
* @param {*} [options] Override http request option.
|
|
6493
|
-
* @throws {RequiredError}
|
|
6494
|
-
*/
|
|
6495
|
-
getVerifiedSports: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6496
|
-
const localVarPath = `/api/sports/verified`;
|
|
6497
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6498
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6499
|
-
let baseOptions;
|
|
6500
|
-
if (configuration) {
|
|
6501
|
-
baseOptions = configuration.baseOptions;
|
|
6502
|
-
}
|
|
6503
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6504
|
-
const localVarHeaderParameter = {};
|
|
6505
|
-
const localVarQueryParameter = {};
|
|
6506
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6507
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6508
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6509
|
-
return {
|
|
6510
|
-
url: toPathString(localVarUrlObj),
|
|
6511
|
-
options: localVarRequestOptions,
|
|
6512
|
-
};
|
|
6513
|
-
}),
|
|
6514
|
-
};
|
|
6515
|
-
};
|
|
6516
|
-
/**
|
|
6517
|
-
* SportsPublicApi - functional programming interface
|
|
6518
|
-
* @export
|
|
6519
|
-
*/
|
|
6520
|
-
export const SportsPublicApiFp = function (configuration) {
|
|
6521
|
-
const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration);
|
|
6522
|
-
return {
|
|
6523
|
-
/**
|
|
6524
|
-
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6525
|
-
* @param {*} [options] Override http request option.
|
|
6526
|
-
* @throws {RequiredError}
|
|
6527
|
-
*/
|
|
6528
|
-
getVerifiedSports(options) {
|
|
6529
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6530
|
-
var _a, _b, _c;
|
|
6531
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getVerifiedSports(options);
|
|
6532
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6533
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SportsPublicApi.getVerifiedSports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6534
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6535
|
-
});
|
|
6536
|
-
},
|
|
6537
|
-
};
|
|
6538
|
-
};
|
|
6539
|
-
/**
|
|
6540
|
-
* SportsPublicApi - factory interface
|
|
6541
|
-
* @export
|
|
6542
|
-
*/
|
|
6543
|
-
export const SportsPublicApiFactory = function (configuration, basePath, axios) {
|
|
6544
|
-
const localVarFp = SportsPublicApiFp(configuration);
|
|
6545
|
-
return {
|
|
6546
|
-
/**
|
|
6547
|
-
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6548
|
-
* @param {*} [options] Override http request option.
|
|
6549
|
-
* @throws {RequiredError}
|
|
6550
|
-
*/
|
|
6551
|
-
getVerifiedSports(options) {
|
|
6552
|
-
return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
|
|
6553
|
-
},
|
|
6554
|
-
};
|
|
6555
|
-
};
|
|
6556
|
-
/**
|
|
6557
|
-
* SportsPublicApi - object-oriented interface
|
|
6558
|
-
* @export
|
|
6559
|
-
* @class SportsPublicApi
|
|
6560
|
-
* @extends {BaseAPI}
|
|
6561
|
-
*/
|
|
6562
|
-
export class SportsPublicApi extends BaseAPI {
|
|
6563
|
-
/**
|
|
6564
|
-
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
6565
|
-
* @param {*} [options] Override http request option.
|
|
6566
|
-
* @throws {RequiredError}
|
|
6567
|
-
* @memberof SportsPublicApi
|
|
6568
|
-
*/
|
|
6569
|
-
getVerifiedSports(options) {
|
|
6570
|
-
return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
|
|
6571
|
-
}
|
|
6572
|
-
}
|
|
6573
6613
|
/**
|
|
6574
6614
|
* SportsStaffApi - axios parameter creator
|
|
6575
6615
|
* @export
|
|
@@ -7481,6 +7521,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7481
7521
|
options: localVarRequestOptions,
|
|
7482
7522
|
};
|
|
7483
7523
|
}),
|
|
7524
|
+
/**
|
|
7525
|
+
*
|
|
7526
|
+
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
7527
|
+
* @param {*} [options] Override http request option.
|
|
7528
|
+
* @throws {RequiredError}
|
|
7529
|
+
*/
|
|
7530
|
+
addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
|
|
7531
|
+
// verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
|
|
7532
|
+
assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
|
|
7533
|
+
const localVarPath = `/api/users/addPaymentMethodSetup`;
|
|
7534
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7535
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7536
|
+
let baseOptions;
|
|
7537
|
+
if (configuration) {
|
|
7538
|
+
baseOptions = configuration.baseOptions;
|
|
7539
|
+
}
|
|
7540
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7541
|
+
const localVarHeaderParameter = {};
|
|
7542
|
+
const localVarQueryParameter = {};
|
|
7543
|
+
// authentication bearerAuth required
|
|
7544
|
+
// http bearer authentication required
|
|
7545
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7546
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7548
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7549
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7550
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
7551
|
+
return {
|
|
7552
|
+
url: toPathString(localVarUrlObj),
|
|
7553
|
+
options: localVarRequestOptions,
|
|
7554
|
+
};
|
|
7555
|
+
}),
|
|
7484
7556
|
/**
|
|
7485
7557
|
*
|
|
7486
7558
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -7513,6 +7585,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
7513
7585
|
options: localVarRequestOptions,
|
|
7514
7586
|
};
|
|
7515
7587
|
}),
|
|
7588
|
+
/**
|
|
7589
|
+
*
|
|
7590
|
+
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
7591
|
+
* @param {*} [options] Override http request option.
|
|
7592
|
+
* @throws {RequiredError}
|
|
7593
|
+
*/
|
|
7594
|
+
confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
|
|
7595
|
+
// verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
|
|
7596
|
+
assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
|
|
7597
|
+
const localVarPath = `/api/users/confirmPaymentMethodSetup`;
|
|
7598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7599
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7600
|
+
let baseOptions;
|
|
7601
|
+
if (configuration) {
|
|
7602
|
+
baseOptions = configuration.baseOptions;
|
|
7603
|
+
}
|
|
7604
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7605
|
+
const localVarHeaderParameter = {};
|
|
7606
|
+
const localVarQueryParameter = {};
|
|
7607
|
+
// authentication bearerAuth required
|
|
7608
|
+
// http bearer authentication required
|
|
7609
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7610
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7611
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7612
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7613
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7614
|
+
localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
7615
|
+
return {
|
|
7616
|
+
url: toPathString(localVarUrlObj),
|
|
7617
|
+
options: localVarRequestOptions,
|
|
7618
|
+
};
|
|
7619
|
+
}),
|
|
7516
7620
|
/**
|
|
7517
7621
|
*
|
|
7518
7622
|
* @param {*} [options] Override http request option.
|
|
@@ -8282,6 +8386,38 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
8282
8386
|
options: localVarRequestOptions,
|
|
8283
8387
|
};
|
|
8284
8388
|
}),
|
|
8389
|
+
/**
|
|
8390
|
+
*
|
|
8391
|
+
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
8392
|
+
* @param {*} [options] Override http request option.
|
|
8393
|
+
* @throws {RequiredError}
|
|
8394
|
+
*/
|
|
8395
|
+
setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
|
|
8396
|
+
// verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
|
|
8397
|
+
assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
|
|
8398
|
+
const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
|
|
8399
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8401
|
+
let baseOptions;
|
|
8402
|
+
if (configuration) {
|
|
8403
|
+
baseOptions = configuration.baseOptions;
|
|
8404
|
+
}
|
|
8405
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8406
|
+
const localVarHeaderParameter = {};
|
|
8407
|
+
const localVarQueryParameter = {};
|
|
8408
|
+
// authentication bearerAuth required
|
|
8409
|
+
// http bearer authentication required
|
|
8410
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8411
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8414
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8415
|
+
localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration);
|
|
8416
|
+
return {
|
|
8417
|
+
url: toPathString(localVarUrlObj),
|
|
8418
|
+
options: localVarRequestOptions,
|
|
8419
|
+
};
|
|
8420
|
+
}),
|
|
8285
8421
|
/**
|
|
8286
8422
|
*
|
|
8287
8423
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -8551,6 +8687,21 @@ export const UsersApiFp = function (configuration) {
|
|
|
8551
8687
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8552
8688
|
});
|
|
8553
8689
|
},
|
|
8690
|
+
/**
|
|
8691
|
+
*
|
|
8692
|
+
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
8693
|
+
* @param {*} [options] Override http request option.
|
|
8694
|
+
* @throws {RequiredError}
|
|
8695
|
+
*/
|
|
8696
|
+
addPaymentMethodSetup(addPaymentMethodRequestBody, options) {
|
|
8697
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8698
|
+
var _a, _b, _c;
|
|
8699
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
|
|
8700
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8701
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.addPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8702
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8703
|
+
});
|
|
8704
|
+
},
|
|
8554
8705
|
/**
|
|
8555
8706
|
*
|
|
8556
8707
|
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
@@ -8566,6 +8717,21 @@ export const UsersApiFp = function (configuration) {
|
|
|
8566
8717
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8567
8718
|
});
|
|
8568
8719
|
},
|
|
8720
|
+
/**
|
|
8721
|
+
*
|
|
8722
|
+
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
8723
|
+
* @param {*} [options] Override http request option.
|
|
8724
|
+
* @throws {RequiredError}
|
|
8725
|
+
*/
|
|
8726
|
+
confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options) {
|
|
8727
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8728
|
+
var _a, _b, _c;
|
|
8729
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
|
|
8730
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8731
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.confirmPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8732
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8733
|
+
});
|
|
8734
|
+
},
|
|
8569
8735
|
/**
|
|
8570
8736
|
*
|
|
8571
8737
|
* @param {*} [options] Override http request option.
|
|
@@ -8936,6 +9102,21 @@ export const UsersApiFp = function (configuration) {
|
|
|
8936
9102
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8937
9103
|
});
|
|
8938
9104
|
},
|
|
9105
|
+
/**
|
|
9106
|
+
*
|
|
9107
|
+
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
9108
|
+
* @param {*} [options] Override http request option.
|
|
9109
|
+
* @throws {RequiredError}
|
|
9110
|
+
*/
|
|
9111
|
+
setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
|
|
9112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9113
|
+
var _a, _b, _c;
|
|
9114
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
|
|
9115
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9116
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.setupOffSessionPaymentMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9117
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9118
|
+
});
|
|
9119
|
+
},
|
|
8939
9120
|
/**
|
|
8940
9121
|
*
|
|
8941
9122
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -9077,6 +9258,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
9077
9258
|
addOrganization(requestParameters, options) {
|
|
9078
9259
|
return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
|
|
9079
9260
|
},
|
|
9261
|
+
/**
|
|
9262
|
+
*
|
|
9263
|
+
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
9264
|
+
* @param {*} [options] Override http request option.
|
|
9265
|
+
* @throws {RequiredError}
|
|
9266
|
+
*/
|
|
9267
|
+
addPaymentMethodSetup(requestParameters, options) {
|
|
9268
|
+
return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
9269
|
+
},
|
|
9080
9270
|
/**
|
|
9081
9271
|
*
|
|
9082
9272
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -9086,6 +9276,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
9086
9276
|
changePassword(requestParameters, options) {
|
|
9087
9277
|
return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
|
|
9088
9278
|
},
|
|
9279
|
+
/**
|
|
9280
|
+
*
|
|
9281
|
+
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
9282
|
+
* @param {*} [options] Override http request option.
|
|
9283
|
+
* @throws {RequiredError}
|
|
9284
|
+
*/
|
|
9285
|
+
confirmPaymentMethodSetup(requestParameters, options) {
|
|
9286
|
+
return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
9287
|
+
},
|
|
9089
9288
|
/**
|
|
9090
9289
|
*
|
|
9091
9290
|
* @param {*} [options] Override http request option.
|
|
@@ -9294,6 +9493,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
9294
9493
|
resetPassword(requestParameters, options) {
|
|
9295
9494
|
return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
9296
9495
|
},
|
|
9496
|
+
/**
|
|
9497
|
+
*
|
|
9498
|
+
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
9499
|
+
* @param {*} [options] Override http request option.
|
|
9500
|
+
* @throws {RequiredError}
|
|
9501
|
+
*/
|
|
9502
|
+
setupOffSessionPaymentMethod(requestParameters, options) {
|
|
9503
|
+
return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
|
|
9504
|
+
},
|
|
9297
9505
|
/**
|
|
9298
9506
|
*
|
|
9299
9507
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
@@ -9396,6 +9604,16 @@ export class UsersApi extends BaseAPI {
|
|
|
9396
9604
|
addOrganization(requestParameters, options) {
|
|
9397
9605
|
return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9398
9606
|
}
|
|
9607
|
+
/**
|
|
9608
|
+
*
|
|
9609
|
+
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
9610
|
+
* @param {*} [options] Override http request option.
|
|
9611
|
+
* @throws {RequiredError}
|
|
9612
|
+
* @memberof UsersApi
|
|
9613
|
+
*/
|
|
9614
|
+
addPaymentMethodSetup(requestParameters, options) {
|
|
9615
|
+
return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
9616
|
+
}
|
|
9399
9617
|
/**
|
|
9400
9618
|
*
|
|
9401
9619
|
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
@@ -9406,6 +9624,16 @@ export class UsersApi extends BaseAPI {
|
|
|
9406
9624
|
changePassword(requestParameters, options) {
|
|
9407
9625
|
return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
9408
9626
|
}
|
|
9627
|
+
/**
|
|
9628
|
+
*
|
|
9629
|
+
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
9630
|
+
* @param {*} [options] Override http request option.
|
|
9631
|
+
* @throws {RequiredError}
|
|
9632
|
+
* @memberof UsersApi
|
|
9633
|
+
*/
|
|
9634
|
+
confirmPaymentMethodSetup(requestParameters, options) {
|
|
9635
|
+
return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
9636
|
+
}
|
|
9409
9637
|
/**
|
|
9410
9638
|
*
|
|
9411
9639
|
* @param {*} [options] Override http request option.
|
|
@@ -9638,6 +9866,16 @@ export class UsersApi extends BaseAPI {
|
|
|
9638
9866
|
resetPassword(requestParameters, options) {
|
|
9639
9867
|
return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9640
9868
|
}
|
|
9869
|
+
/**
|
|
9870
|
+
*
|
|
9871
|
+
* @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
|
|
9872
|
+
* @param {*} [options] Override http request option.
|
|
9873
|
+
* @throws {RequiredError}
|
|
9874
|
+
* @memberof UsersApi
|
|
9875
|
+
*/
|
|
9876
|
+
setupOffSessionPaymentMethod(requestParameters, options) {
|
|
9877
|
+
return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
9878
|
+
}
|
|
9641
9879
|
/**
|
|
9642
9880
|
*
|
|
9643
9881
|
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|