@tennac-booking/sdk 1.0.118 → 1.0.119
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 +313 -309
- package/README.md +18 -14
- package/api.ts +1052 -635
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +828 -507
- package/dist/api.js +325 -233
- 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 +828 -507
- package/dist/esm/api.js +324 -232
- 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/BookingsStaffApi.md +117 -0
- package/docs/BookingsUserApi.md +1 -1
- package/docs/ClientApi.md +2 -49
- package/docs/ClientFullOnboardingResponseClub.md +0 -2
- package/docs/ClientOnboardingRequestBody.md +0 -2
- package/docs/ClubAnalyticsStaffApi.md +20 -4
- package/docs/ClubPlayersPaginatedResponse.md +28 -0
- package/docs/ClubsApi.md +2 -2
- package/docs/ClubsStaffApi.md +27 -2
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventResponse.md +5 -1
- package/docs/EventSponsor.md +24 -0
- package/docs/EventsApi.md +0 -115
- package/docs/JoinEventRequest.md +0 -2
- package/docs/JoinEventRequestPlayersPaymentMethodsInner.md +0 -2
- package/docs/JoinEventResponse.md +0 -14
- package/docs/SendSubscriptionInvitationRequest.md +22 -0
- package/docs/{CheckTeamNameAvailability200Response.md → SendSubscriptionInvitationResponse.md} +7 -5
- package/docs/StaffBookingCourtSummary.md +26 -0
- package/docs/StaffBookingCustomerPayload.md +28 -0
- package/docs/StaffBookingListItem.md +54 -0
- package/docs/StaffBookingPaymentState.md +18 -0
- package/docs/StaffBookingPaymentSummary.md +34 -0
- package/docs/StaffBookingSportSummary.md +24 -0
- package/docs/StaffBookingUserSummary.md +28 -0
- package/docs/StaffBookingsPaginatedResponse.md +28 -0
- package/docs/StaffCreateBookingRequest.md +26 -0
- package/docs/SubscriptionsStaffApi.md +55 -0
- package/docs/Team.md +1 -1
- package/docs/UpdateEventRequest.md +6 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ClientSubscription.md +0 -31
- package/docs/ClientSubscriptionItem.md +0 -25
- package/docs/ClientSubscriptionsResponse.md +0 -21
- package/docs/EstimateEventPrice200Response.md +0 -32
- package/docs/EstimateEventPriceRequest.md +0 -26
- package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
- package/docs/EventUser.md +0 -28
- package/docs/JoinEventResponseOnsitePaymentsInner.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.110
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -63,10 +63,6 @@ export const CaptureResultStatusEnum = {
|
|
|
63
63
|
Captured: 'captured',
|
|
64
64
|
Failed: 'failed'
|
|
65
65
|
};
|
|
66
|
-
export const ClientOnboardingRequestBodyClubTypeEnum = {
|
|
67
|
-
Public: 'public',
|
|
68
|
-
School: 'school'
|
|
69
|
-
};
|
|
70
66
|
export const ClubRoleResponseRoleEnum = {
|
|
71
67
|
Admin: 'admin',
|
|
72
68
|
Manager: 'manager',
|
|
@@ -212,6 +208,19 @@ export const SportKey = {
|
|
|
212
208
|
Pickleball: 'Pickleball',
|
|
213
209
|
Autres: 'Autres'
|
|
214
210
|
};
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @export
|
|
214
|
+
* @enum {string}
|
|
215
|
+
*/
|
|
216
|
+
export const StaffBookingPaymentState = {
|
|
217
|
+
None: 'none',
|
|
218
|
+
Paid: 'paid',
|
|
219
|
+
Pending: 'pending',
|
|
220
|
+
Authorized: 'authorized',
|
|
221
|
+
Failed: 'failed',
|
|
222
|
+
Partial: 'partial'
|
|
223
|
+
};
|
|
215
224
|
export const StripeStripeDeletedProductObjectEnum = {
|
|
216
225
|
Product: 'product'
|
|
217
226
|
};
|
|
@@ -852,6 +861,38 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
852
861
|
options: localVarRequestOptions,
|
|
853
862
|
};
|
|
854
863
|
}),
|
|
864
|
+
/**
|
|
865
|
+
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
866
|
+
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
867
|
+
* @param {*} [options] Override http request option.
|
|
868
|
+
* @throws {RequiredError}
|
|
869
|
+
*/
|
|
870
|
+
createStaffBooking: (staffCreateBookingRequest_1, ...args_1) => __awaiter(this, [staffCreateBookingRequest_1, ...args_1], void 0, function* (staffCreateBookingRequest, options = {}) {
|
|
871
|
+
// verify required parameter 'staffCreateBookingRequest' is not null or undefined
|
|
872
|
+
assertParamExists('createStaffBooking', 'staffCreateBookingRequest', staffCreateBookingRequest);
|
|
873
|
+
const localVarPath = `/api/bookings/staff`;
|
|
874
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
875
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
876
|
+
let baseOptions;
|
|
877
|
+
if (configuration) {
|
|
878
|
+
baseOptions = configuration.baseOptions;
|
|
879
|
+
}
|
|
880
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
881
|
+
const localVarHeaderParameter = {};
|
|
882
|
+
const localVarQueryParameter = {};
|
|
883
|
+
// authentication bearerAuth required
|
|
884
|
+
// http bearer authentication required
|
|
885
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
886
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
887
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
888
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
889
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
890
|
+
localVarRequestOptions.data = serializeDataIfNeeded(staffCreateBookingRequest, localVarRequestOptions, configuration);
|
|
891
|
+
return {
|
|
892
|
+
url: toPathString(localVarUrlObj),
|
|
893
|
+
options: localVarRequestOptions,
|
|
894
|
+
};
|
|
895
|
+
}),
|
|
855
896
|
/**
|
|
856
897
|
* Obtenir une réservation par ID
|
|
857
898
|
* @param {string} bookingId
|
|
@@ -1007,6 +1048,53 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1007
1048
|
options: localVarRequestOptions,
|
|
1008
1049
|
};
|
|
1009
1050
|
}),
|
|
1051
|
+
/**
|
|
1052
|
+
* Liste paginée des réservations du club pour le staff
|
|
1053
|
+
* @param {number} [page]
|
|
1054
|
+
* @param {number} [pageSize]
|
|
1055
|
+
* @param {string} [search]
|
|
1056
|
+
* @param {string} [filters]
|
|
1057
|
+
* @param {string} [sorting]
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
listClubBookings: (page_1, pageSize_1, search_1, filters_1, sorting_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, sorting_1, ...args_1], void 0, function* (page, pageSize, search, filters, sorting, options = {}) {
|
|
1062
|
+
const localVarPath = `/api/bookings/staff`;
|
|
1063
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1064
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1065
|
+
let baseOptions;
|
|
1066
|
+
if (configuration) {
|
|
1067
|
+
baseOptions = configuration.baseOptions;
|
|
1068
|
+
}
|
|
1069
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1070
|
+
const localVarHeaderParameter = {};
|
|
1071
|
+
const localVarQueryParameter = {};
|
|
1072
|
+
// authentication bearerAuth required
|
|
1073
|
+
// http bearer authentication required
|
|
1074
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1075
|
+
if (page !== undefined) {
|
|
1076
|
+
localVarQueryParameter['page'] = page;
|
|
1077
|
+
}
|
|
1078
|
+
if (pageSize !== undefined) {
|
|
1079
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1080
|
+
}
|
|
1081
|
+
if (search !== undefined) {
|
|
1082
|
+
localVarQueryParameter['search'] = search;
|
|
1083
|
+
}
|
|
1084
|
+
if (filters !== undefined) {
|
|
1085
|
+
localVarQueryParameter['filters'] = filters;
|
|
1086
|
+
}
|
|
1087
|
+
if (sorting !== undefined) {
|
|
1088
|
+
localVarQueryParameter['sorting'] = sorting;
|
|
1089
|
+
}
|
|
1090
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1091
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1092
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1093
|
+
return {
|
|
1094
|
+
url: toPathString(localVarUrlObj),
|
|
1095
|
+
options: localVarRequestOptions,
|
|
1096
|
+
};
|
|
1097
|
+
}),
|
|
1010
1098
|
};
|
|
1011
1099
|
};
|
|
1012
1100
|
/**
|
|
@@ -1032,6 +1120,21 @@ export const BookingsStaffApiFp = function (configuration) {
|
|
|
1032
1120
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1033
1121
|
});
|
|
1034
1122
|
},
|
|
1123
|
+
/**
|
|
1124
|
+
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
1125
|
+
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
1126
|
+
* @param {*} [options] Override http request option.
|
|
1127
|
+
* @throws {RequiredError}
|
|
1128
|
+
*/
|
|
1129
|
+
createStaffBooking(staffCreateBookingRequest, options) {
|
|
1130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1131
|
+
var _a, _b, _c;
|
|
1132
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createStaffBooking(staffCreateBookingRequest, options);
|
|
1133
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1134
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsStaffApi.createStaffBooking']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1135
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1136
|
+
});
|
|
1137
|
+
},
|
|
1035
1138
|
/**
|
|
1036
1139
|
* Obtenir une réservation par ID
|
|
1037
1140
|
* @param {string} bookingId
|
|
@@ -1107,6 +1210,25 @@ export const BookingsStaffApiFp = function (configuration) {
|
|
|
1107
1210
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1108
1211
|
});
|
|
1109
1212
|
},
|
|
1213
|
+
/**
|
|
1214
|
+
* Liste paginée des réservations du club pour le staff
|
|
1215
|
+
* @param {number} [page]
|
|
1216
|
+
* @param {number} [pageSize]
|
|
1217
|
+
* @param {string} [search]
|
|
1218
|
+
* @param {string} [filters]
|
|
1219
|
+
* @param {string} [sorting]
|
|
1220
|
+
* @param {*} [options] Override http request option.
|
|
1221
|
+
* @throws {RequiredError}
|
|
1222
|
+
*/
|
|
1223
|
+
listClubBookings(page, pageSize, search, filters, sorting, options) {
|
|
1224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1225
|
+
var _a, _b, _c;
|
|
1226
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listClubBookings(page, pageSize, search, filters, sorting, options);
|
|
1227
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1228
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsStaffApi.listClubBookings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1229
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1230
|
+
});
|
|
1231
|
+
},
|
|
1110
1232
|
};
|
|
1111
1233
|
};
|
|
1112
1234
|
/**
|
|
@@ -1125,6 +1247,15 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
|
|
|
1125
1247
|
checkInPlayers(requestParameters, options) {
|
|
1126
1248
|
return localVarFp.checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(axios, basePath));
|
|
1127
1249
|
},
|
|
1250
|
+
/**
|
|
1251
|
+
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
1252
|
+
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
1253
|
+
* @param {*} [options] Override http request option.
|
|
1254
|
+
* @throws {RequiredError}
|
|
1255
|
+
*/
|
|
1256
|
+
createStaffBooking(requestParameters, options) {
|
|
1257
|
+
return localVarFp.createStaffBooking(requestParameters.staffCreateBookingRequest, options).then((request) => request(axios, basePath));
|
|
1258
|
+
},
|
|
1128
1259
|
/**
|
|
1129
1260
|
* Obtenir une réservation par ID
|
|
1130
1261
|
* @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
|
|
@@ -1170,6 +1301,15 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
|
|
|
1170
1301
|
getWeeklyBookings(requestParameters, options) {
|
|
1171
1302
|
return localVarFp.getWeeklyBookings(requestParameters.weekId, options).then((request) => request(axios, basePath));
|
|
1172
1303
|
},
|
|
1304
|
+
/**
|
|
1305
|
+
* Liste paginée des réservations du club pour le staff
|
|
1306
|
+
* @param {BookingsStaffApiListClubBookingsRequest} requestParameters Request parameters.
|
|
1307
|
+
* @param {*} [options] Override http request option.
|
|
1308
|
+
* @throws {RequiredError}
|
|
1309
|
+
*/
|
|
1310
|
+
listClubBookings(requestParameters = {}, options) {
|
|
1311
|
+
return localVarFp.listClubBookings(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(axios, basePath));
|
|
1312
|
+
},
|
|
1173
1313
|
};
|
|
1174
1314
|
};
|
|
1175
1315
|
/**
|
|
@@ -1189,6 +1329,16 @@ export class BookingsStaffApi extends BaseAPI {
|
|
|
1189
1329
|
checkInPlayers(requestParameters, options) {
|
|
1190
1330
|
return BookingsStaffApiFp(this.configuration).checkInPlayers(requestParameters.bookingId, requestParameters.checkInPlayersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1191
1331
|
}
|
|
1332
|
+
/**
|
|
1333
|
+
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
1334
|
+
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
1335
|
+
* @param {*} [options] Override http request option.
|
|
1336
|
+
* @throws {RequiredError}
|
|
1337
|
+
* @memberof BookingsStaffApi
|
|
1338
|
+
*/
|
|
1339
|
+
createStaffBooking(requestParameters, options) {
|
|
1340
|
+
return BookingsStaffApiFp(this.configuration).createStaffBooking(requestParameters.staffCreateBookingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1341
|
+
}
|
|
1192
1342
|
/**
|
|
1193
1343
|
* Obtenir une réservation par ID
|
|
1194
1344
|
* @param {BookingsStaffApiGetBookingByIdRequest} requestParameters Request parameters.
|
|
@@ -1239,6 +1389,16 @@ export class BookingsStaffApi extends BaseAPI {
|
|
|
1239
1389
|
getWeeklyBookings(requestParameters, options) {
|
|
1240
1390
|
return BookingsStaffApiFp(this.configuration).getWeeklyBookings(requestParameters.weekId, options).then((request) => request(this.axios, this.basePath));
|
|
1241
1391
|
}
|
|
1392
|
+
/**
|
|
1393
|
+
* Liste paginée des réservations du club pour le staff
|
|
1394
|
+
* @param {BookingsStaffApiListClubBookingsRequest} requestParameters Request parameters.
|
|
1395
|
+
* @param {*} [options] Override http request option.
|
|
1396
|
+
* @throws {RequiredError}
|
|
1397
|
+
* @memberof BookingsStaffApi
|
|
1398
|
+
*/
|
|
1399
|
+
listClubBookings(requestParameters = {}, options) {
|
|
1400
|
+
return BookingsStaffApiFp(this.configuration).listClubBookings(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(this.axios, this.basePath));
|
|
1401
|
+
}
|
|
1242
1402
|
}
|
|
1243
1403
|
/**
|
|
1244
1404
|
* BookingsUserApi - axios parameter creator
|
|
@@ -1278,7 +1438,7 @@ export const BookingsUserApiAxiosParamCreator = function (configuration) {
|
|
|
1278
1438
|
};
|
|
1279
1439
|
}),
|
|
1280
1440
|
/**
|
|
1281
|
-
* Créer une réservation
|
|
1441
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
1282
1442
|
* @param {CreateBookingRequest} createBookingRequest
|
|
1283
1443
|
* @param {*} [options] Override http request option.
|
|
1284
1444
|
* @throws {RequiredError}
|
|
@@ -1334,7 +1494,7 @@ export const BookingsUserApiFp = function (configuration) {
|
|
|
1334
1494
|
});
|
|
1335
1495
|
},
|
|
1336
1496
|
/**
|
|
1337
|
-
* Créer une réservation
|
|
1497
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
1338
1498
|
* @param {CreateBookingRequest} createBookingRequest
|
|
1339
1499
|
* @param {*} [options] Override http request option.
|
|
1340
1500
|
* @throws {RequiredError}
|
|
@@ -1367,7 +1527,7 @@ export const BookingsUserApiFactory = function (configuration, basePath, axios)
|
|
|
1367
1527
|
return localVarFp.cancelBooking(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
1368
1528
|
},
|
|
1369
1529
|
/**
|
|
1370
|
-
* Créer une réservation
|
|
1530
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
1371
1531
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
1372
1532
|
* @param {*} [options] Override http request option.
|
|
1373
1533
|
* @throws {RequiredError}
|
|
@@ -1395,7 +1555,7 @@ export class BookingsUserApi extends BaseAPI {
|
|
|
1395
1555
|
return BookingsUserApiFp(this.configuration).cancelBooking(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
1396
1556
|
}
|
|
1397
1557
|
/**
|
|
1398
|
-
* Créer une réservation
|
|
1558
|
+
* Créer une réservation Gère tous les scénarios de paiement (créateur paie tout, paiement divisé, gratuit)
|
|
1399
1559
|
* @param {BookingsUserApiCreateBookingRequest} requestParameters Request parameters.
|
|
1400
1560
|
* @param {*} [options] Override http request option.
|
|
1401
1561
|
* @throws {RequiredError}
|
|
@@ -1412,7 +1572,7 @@ export class BookingsUserApi extends BaseAPI {
|
|
|
1412
1572
|
export const ClientApiAxiosParamCreator = function (configuration) {
|
|
1413
1573
|
return {
|
|
1414
1574
|
/**
|
|
1415
|
-
* Enregistre un nouvel utilisateur client
|
|
1575
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
1416
1576
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
1417
1577
|
* @param {*} [options] Override http request option.
|
|
1418
1578
|
* @throws {RequiredError}
|
|
@@ -1440,33 +1600,6 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
1440
1600
|
options: localVarRequestOptions,
|
|
1441
1601
|
};
|
|
1442
1602
|
}),
|
|
1443
|
-
/**
|
|
1444
|
-
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
1445
|
-
* @param {*} [options] Override http request option.
|
|
1446
|
-
* @throws {RequiredError}
|
|
1447
|
-
*/
|
|
1448
|
-
getClientSubscriptions: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1449
|
-
const localVarPath = `/clients/subscriptions`;
|
|
1450
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1451
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1452
|
-
let baseOptions;
|
|
1453
|
-
if (configuration) {
|
|
1454
|
-
baseOptions = configuration.baseOptions;
|
|
1455
|
-
}
|
|
1456
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1457
|
-
const localVarHeaderParameter = {};
|
|
1458
|
-
const localVarQueryParameter = {};
|
|
1459
|
-
// authentication clientAuth required
|
|
1460
|
-
// http bearer authentication required
|
|
1461
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1462
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1463
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1464
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1465
|
-
return {
|
|
1466
|
-
url: toPathString(localVarUrlObj),
|
|
1467
|
-
options: localVarRequestOptions,
|
|
1468
|
-
};
|
|
1469
|
-
}),
|
|
1470
1603
|
/**
|
|
1471
1604
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
1472
1605
|
* @param {*} [options] Override http request option.
|
|
@@ -1495,7 +1628,7 @@ export const ClientApiAxiosParamCreator = function (configuration) {
|
|
|
1495
1628
|
};
|
|
1496
1629
|
}),
|
|
1497
1630
|
/**
|
|
1498
|
-
* Enregistre un nouveau club pour la plateforme
|
|
1631
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
1499
1632
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
1500
1633
|
* @param {*} [options] Override http request option.
|
|
1501
1634
|
* @throws {RequiredError}
|
|
@@ -1536,7 +1669,7 @@ export const ClientApiFp = function (configuration) {
|
|
|
1536
1669
|
const localVarAxiosParamCreator = ClientApiAxiosParamCreator(configuration);
|
|
1537
1670
|
return {
|
|
1538
1671
|
/**
|
|
1539
|
-
* Enregistre un nouvel utilisateur client
|
|
1672
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
1540
1673
|
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
1541
1674
|
* @param {*} [options] Override http request option.
|
|
1542
1675
|
* @throws {RequiredError}
|
|
@@ -1550,20 +1683,6 @@ export const ClientApiFp = function (configuration) {
|
|
|
1550
1683
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1551
1684
|
});
|
|
1552
1685
|
},
|
|
1553
|
-
/**
|
|
1554
|
-
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
1555
|
-
* @param {*} [options] Override http request option.
|
|
1556
|
-
* @throws {RequiredError}
|
|
1557
|
-
*/
|
|
1558
|
-
getClientSubscriptions(options) {
|
|
1559
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1560
|
-
var _a, _b, _c;
|
|
1561
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClientSubscriptions(options);
|
|
1562
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1563
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClientApi.getClientSubscriptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1564
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1565
|
-
});
|
|
1566
|
-
},
|
|
1567
1686
|
/**
|
|
1568
1687
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
1569
1688
|
* @param {*} [options] Override http request option.
|
|
@@ -1579,7 +1698,7 @@ export const ClientApiFp = function (configuration) {
|
|
|
1579
1698
|
});
|
|
1580
1699
|
},
|
|
1581
1700
|
/**
|
|
1582
|
-
* Enregistre un nouveau club pour la plateforme
|
|
1701
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
1583
1702
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
1584
1703
|
* @param {*} [options] Override http request option.
|
|
1585
1704
|
* @throws {RequiredError}
|
|
@@ -1603,7 +1722,7 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
|
|
|
1603
1722
|
const localVarFp = ClientApiFp(configuration);
|
|
1604
1723
|
return {
|
|
1605
1724
|
/**
|
|
1606
|
-
* Enregistre un nouvel utilisateur client
|
|
1725
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
1607
1726
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
1608
1727
|
* @param {*} [options] Override http request option.
|
|
1609
1728
|
* @throws {RequiredError}
|
|
@@ -1611,14 +1730,6 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
|
|
|
1611
1730
|
clientRegister(requestParameters, options) {
|
|
1612
1731
|
return localVarFp.clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(axios, basePath));
|
|
1613
1732
|
},
|
|
1614
|
-
/**
|
|
1615
|
-
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
1616
|
-
* @param {*} [options] Override http request option.
|
|
1617
|
-
* @throws {RequiredError}
|
|
1618
|
-
*/
|
|
1619
|
-
getClientSubscriptions(options) {
|
|
1620
|
-
return localVarFp.getClientSubscriptions(options).then((request) => request(axios, basePath));
|
|
1621
|
-
},
|
|
1622
1733
|
/**
|
|
1623
1734
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
1624
1735
|
* @param {*} [options] Override http request option.
|
|
@@ -1628,7 +1739,7 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
|
|
|
1628
1739
|
return localVarFp.getManagedClubs(options).then((request) => request(axios, basePath));
|
|
1629
1740
|
},
|
|
1630
1741
|
/**
|
|
1631
|
-
* Enregistre un nouveau club pour la plateforme
|
|
1742
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
1632
1743
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
1633
1744
|
* @param {*} [options] Override http request option.
|
|
1634
1745
|
* @throws {RequiredError}
|
|
@@ -1646,7 +1757,7 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
|
|
|
1646
1757
|
*/
|
|
1647
1758
|
export class ClientApi extends BaseAPI {
|
|
1648
1759
|
/**
|
|
1649
|
-
* Enregistre un nouvel utilisateur client
|
|
1760
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
1650
1761
|
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
1651
1762
|
* @param {*} [options] Override http request option.
|
|
1652
1763
|
* @throws {RequiredError}
|
|
@@ -1655,15 +1766,6 @@ export class ClientApi extends BaseAPI {
|
|
|
1655
1766
|
clientRegister(requestParameters, options) {
|
|
1656
1767
|
return ClientApiFp(this.configuration).clientRegister(requestParameters.clientRegisterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1657
1768
|
}
|
|
1658
|
-
/**
|
|
1659
|
-
* Récupère les abonnements Stripe actifs du compte client de l\'utilisateur courant
|
|
1660
|
-
* @param {*} [options] Override http request option.
|
|
1661
|
-
* @throws {RequiredError}
|
|
1662
|
-
* @memberof ClientApi
|
|
1663
|
-
*/
|
|
1664
|
-
getClientSubscriptions(options) {
|
|
1665
|
-
return ClientApiFp(this.configuration).getClientSubscriptions(options).then((request) => request(this.axios, this.basePath));
|
|
1666
|
-
}
|
|
1667
1769
|
/**
|
|
1668
1770
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
1669
1771
|
* @param {*} [options] Override http request option.
|
|
@@ -1674,7 +1776,7 @@ export class ClientApi extends BaseAPI {
|
|
|
1674
1776
|
return ClientApiFp(this.configuration).getManagedClubs(options).then((request) => request(this.axios, this.basePath));
|
|
1675
1777
|
}
|
|
1676
1778
|
/**
|
|
1677
|
-
* Enregistre un nouveau club pour la plateforme
|
|
1779
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
1678
1780
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
1679
1781
|
* @param {*} [options] Override http request option.
|
|
1680
1782
|
* @throws {RequiredError}
|
|
@@ -1974,10 +2076,14 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1974
2076
|
}),
|
|
1975
2077
|
/**
|
|
1976
2078
|
* Récupère la liste des joueurs du club
|
|
2079
|
+
* @param {number} [page]
|
|
2080
|
+
* @param {number} [pageSize]
|
|
2081
|
+
* @param {string} [search]
|
|
2082
|
+
* @param {string} [filters]
|
|
1977
2083
|
* @param {*} [options] Override http request option.
|
|
1978
2084
|
* @throws {RequiredError}
|
|
1979
2085
|
*/
|
|
1980
|
-
getClubPlayers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
2086
|
+
getClubPlayers: (page_1, pageSize_1, search_1, filters_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, ...args_1], void 0, function* (page, pageSize, search, filters, options = {}) {
|
|
1981
2087
|
const localVarPath = `/api/club-analytics/players`;
|
|
1982
2088
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1983
2089
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1991,6 +2097,18 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
1991
2097
|
// authentication bearerAuth required
|
|
1992
2098
|
// http bearer authentication required
|
|
1993
2099
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2100
|
+
if (page !== undefined) {
|
|
2101
|
+
localVarQueryParameter['page'] = page;
|
|
2102
|
+
}
|
|
2103
|
+
if (pageSize !== undefined) {
|
|
2104
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
2105
|
+
}
|
|
2106
|
+
if (search !== undefined) {
|
|
2107
|
+
localVarQueryParameter['search'] = search;
|
|
2108
|
+
}
|
|
2109
|
+
if (filters !== undefined) {
|
|
2110
|
+
localVarQueryParameter['filters'] = filters;
|
|
2111
|
+
}
|
|
1994
2112
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1995
2113
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1996
2114
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2401,13 +2519,17 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
|
|
|
2401
2519
|
},
|
|
2402
2520
|
/**
|
|
2403
2521
|
* Récupère la liste des joueurs du club
|
|
2522
|
+
* @param {number} [page]
|
|
2523
|
+
* @param {number} [pageSize]
|
|
2524
|
+
* @param {string} [search]
|
|
2525
|
+
* @param {string} [filters]
|
|
2404
2526
|
* @param {*} [options] Override http request option.
|
|
2405
2527
|
* @throws {RequiredError}
|
|
2406
2528
|
*/
|
|
2407
|
-
getClubPlayers(options) {
|
|
2529
|
+
getClubPlayers(page, pageSize, search, filters, options) {
|
|
2408
2530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2409
2531
|
var _a, _b, _c;
|
|
2410
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayers(options);
|
|
2532
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayers(page, pageSize, search, filters, options);
|
|
2411
2533
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2412
2534
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2413
2535
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2620,11 +2742,12 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
|
|
|
2620
2742
|
},
|
|
2621
2743
|
/**
|
|
2622
2744
|
* Récupère la liste des joueurs du club
|
|
2745
|
+
* @param {ClubAnalyticsStaffApiGetClubPlayersRequest} requestParameters Request parameters.
|
|
2623
2746
|
* @param {*} [options] Override http request option.
|
|
2624
2747
|
* @throws {RequiredError}
|
|
2625
2748
|
*/
|
|
2626
|
-
getClubPlayers(options) {
|
|
2627
|
-
return localVarFp.getClubPlayers(options).then((request) => request(axios, basePath));
|
|
2749
|
+
getClubPlayers(requestParameters = {}, options) {
|
|
2750
|
+
return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(axios, basePath));
|
|
2628
2751
|
},
|
|
2629
2752
|
/**
|
|
2630
2753
|
* Récupère le chiffre d\'affaires quotidien
|
|
@@ -2769,12 +2892,13 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
2769
2892
|
}
|
|
2770
2893
|
/**
|
|
2771
2894
|
* Récupère la liste des joueurs du club
|
|
2895
|
+
* @param {ClubAnalyticsStaffApiGetClubPlayersRequest} requestParameters Request parameters.
|
|
2772
2896
|
* @param {*} [options] Override http request option.
|
|
2773
2897
|
* @throws {RequiredError}
|
|
2774
2898
|
* @memberof ClubAnalyticsStaffApi
|
|
2775
2899
|
*/
|
|
2776
|
-
getClubPlayers(options) {
|
|
2777
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(options).then((request) => request(this.axios, this.basePath));
|
|
2900
|
+
getClubPlayers(requestParameters = {}, options) {
|
|
2901
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
2778
2902
|
}
|
|
2779
2903
|
/**
|
|
2780
2904
|
* Récupère le chiffre d\'affaires quotidien
|
|
@@ -3902,7 +4026,7 @@ export class ClubSettingsStaffApi extends BaseAPI {
|
|
|
3902
4026
|
export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
3903
4027
|
return {
|
|
3904
4028
|
/**
|
|
3905
|
-
* Récupère la liste des clubs actifs publics
|
|
4029
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
3906
4030
|
* @param {*} [options] Override http request option.
|
|
3907
4031
|
* @throws {RequiredError}
|
|
3908
4032
|
*/
|
|
@@ -4157,7 +4281,7 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
|
|
|
4157
4281
|
};
|
|
4158
4282
|
}),
|
|
4159
4283
|
/**
|
|
4160
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
4284
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
4161
4285
|
* @param {*} [options] Override http request option.
|
|
4162
4286
|
* @throws {RequiredError}
|
|
4163
4287
|
*/
|
|
@@ -4306,7 +4430,7 @@ export const ClubsApiFp = function (configuration) {
|
|
|
4306
4430
|
const localVarAxiosParamCreator = ClubsApiAxiosParamCreator(configuration);
|
|
4307
4431
|
return {
|
|
4308
4432
|
/**
|
|
4309
|
-
* Récupère la liste des clubs actifs publics
|
|
4433
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
4310
4434
|
* @param {*} [options] Override http request option.
|
|
4311
4435
|
* @throws {RequiredError}
|
|
4312
4436
|
*/
|
|
@@ -4441,7 +4565,7 @@ export const ClubsApiFp = function (configuration) {
|
|
|
4441
4565
|
});
|
|
4442
4566
|
},
|
|
4443
4567
|
/**
|
|
4444
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
4568
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
4445
4569
|
* @param {*} [options] Override http request option.
|
|
4446
4570
|
* @throws {RequiredError}
|
|
4447
4571
|
*/
|
|
@@ -4525,7 +4649,7 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
4525
4649
|
const localVarFp = ClubsApiFp(configuration);
|
|
4526
4650
|
return {
|
|
4527
4651
|
/**
|
|
4528
|
-
* Récupère la liste des clubs actifs publics
|
|
4652
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
4529
4653
|
* @param {*} [options] Override http request option.
|
|
4530
4654
|
* @throws {RequiredError}
|
|
4531
4655
|
*/
|
|
@@ -4603,7 +4727,7 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
4603
4727
|
return localVarFp.getClubUsersById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4604
4728
|
},
|
|
4605
4729
|
/**
|
|
4606
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
4730
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
4607
4731
|
* @param {*} [options] Override http request option.
|
|
4608
4732
|
* @throws {RequiredError}
|
|
4609
4733
|
*/
|
|
@@ -4656,7 +4780,7 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
|
|
|
4656
4780
|
*/
|
|
4657
4781
|
export class ClubsApi extends BaseAPI {
|
|
4658
4782
|
/**
|
|
4659
|
-
* Récupère la liste des clubs actifs publics
|
|
4783
|
+
* Récupère la liste des clubs actifs publics Authentification optionnelle : si authentifié, retourne aussi les clubs vérifiés
|
|
4660
4784
|
* @param {*} [options] Override http request option.
|
|
4661
4785
|
* @throws {RequiredError}
|
|
4662
4786
|
* @memberof ClubsApi
|
|
@@ -4743,7 +4867,7 @@ export class ClubsApi extends BaseAPI {
|
|
|
4743
4867
|
return ClubsApiFp(this.configuration).getClubUsersById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4744
4868
|
}
|
|
4745
4869
|
/**
|
|
4746
|
-
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification
|
|
4870
|
+
* Récupère la liste des clubs qui ont des domaines d\'email pour vérification Accessible sans token
|
|
4747
4871
|
* @param {*} [options] Override http request option.
|
|
4748
4872
|
* @throws {RequiredError}
|
|
4749
4873
|
* @memberof ClubsApi
|
|
@@ -6427,10 +6551,17 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6427
6551
|
}),
|
|
6428
6552
|
/**
|
|
6429
6553
|
*
|
|
6554
|
+
* @param {number} [page]
|
|
6555
|
+
* @param {number} [pageSize]
|
|
6556
|
+
* @param {string} [search]
|
|
6557
|
+
* @param {string} [filters]
|
|
6558
|
+
* @param {string} [status]
|
|
6559
|
+
* @param {string} [startDate]
|
|
6560
|
+
* @param {string} [endDate]
|
|
6430
6561
|
* @param {*} [options] Override http request option.
|
|
6431
6562
|
* @throws {RequiredError}
|
|
6432
6563
|
*/
|
|
6433
|
-
getInvoices: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
6564
|
+
getInvoices: (page_1, pageSize_1, search_1, filters_1, status_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, status_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, pageSize, search, filters, status, startDate, endDate, options = {}) {
|
|
6434
6565
|
const localVarPath = `/api/clubs/invoices`;
|
|
6435
6566
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6436
6567
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6444,6 +6575,27 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
6444
6575
|
// authentication bearerAuth required
|
|
6445
6576
|
// http bearer authentication required
|
|
6446
6577
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6578
|
+
if (page !== undefined) {
|
|
6579
|
+
localVarQueryParameter['page'] = page;
|
|
6580
|
+
}
|
|
6581
|
+
if (pageSize !== undefined) {
|
|
6582
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
6583
|
+
}
|
|
6584
|
+
if (search !== undefined) {
|
|
6585
|
+
localVarQueryParameter['search'] = search;
|
|
6586
|
+
}
|
|
6587
|
+
if (filters !== undefined) {
|
|
6588
|
+
localVarQueryParameter['filters'] = filters;
|
|
6589
|
+
}
|
|
6590
|
+
if (status !== undefined) {
|
|
6591
|
+
localVarQueryParameter['status'] = status;
|
|
6592
|
+
}
|
|
6593
|
+
if (startDate !== undefined) {
|
|
6594
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
6595
|
+
}
|
|
6596
|
+
if (endDate !== undefined) {
|
|
6597
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
6598
|
+
}
|
|
6447
6599
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6448
6600
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6449
6601
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6630,13 +6782,20 @@ export const ClubsStaffApiFp = function (configuration) {
|
|
|
6630
6782
|
},
|
|
6631
6783
|
/**
|
|
6632
6784
|
*
|
|
6785
|
+
* @param {number} [page]
|
|
6786
|
+
* @param {number} [pageSize]
|
|
6787
|
+
* @param {string} [search]
|
|
6788
|
+
* @param {string} [filters]
|
|
6789
|
+
* @param {string} [status]
|
|
6790
|
+
* @param {string} [startDate]
|
|
6791
|
+
* @param {string} [endDate]
|
|
6633
6792
|
* @param {*} [options] Override http request option.
|
|
6634
6793
|
* @throws {RequiredError}
|
|
6635
6794
|
*/
|
|
6636
|
-
getInvoices(options) {
|
|
6795
|
+
getInvoices(page, pageSize, search, filters, status, startDate, endDate, options) {
|
|
6637
6796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6638
6797
|
var _a, _b, _c;
|
|
6639
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInvoices(options);
|
|
6798
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInvoices(page, pageSize, search, filters, status, startDate, endDate, options);
|
|
6640
6799
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6641
6800
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getInvoices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6642
6801
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6741,11 +6900,12 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
6741
6900
|
},
|
|
6742
6901
|
/**
|
|
6743
6902
|
*
|
|
6903
|
+
* @param {ClubsStaffApiGetInvoicesRequest} requestParameters Request parameters.
|
|
6744
6904
|
* @param {*} [options] Override http request option.
|
|
6745
6905
|
* @throws {RequiredError}
|
|
6746
6906
|
*/
|
|
6747
|
-
getInvoices(options) {
|
|
6748
|
-
return localVarFp.getInvoices(options).then((request) => request(axios, basePath));
|
|
6907
|
+
getInvoices(requestParameters = {}, options) {
|
|
6908
|
+
return localVarFp.getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
6749
6909
|
},
|
|
6750
6910
|
/**
|
|
6751
6911
|
*
|
|
@@ -6840,12 +7000,13 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
6840
7000
|
}
|
|
6841
7001
|
/**
|
|
6842
7002
|
*
|
|
7003
|
+
* @param {ClubsStaffApiGetInvoicesRequest} requestParameters Request parameters.
|
|
6843
7004
|
* @param {*} [options] Override http request option.
|
|
6844
7005
|
* @throws {RequiredError}
|
|
6845
7006
|
* @memberof ClubsStaffApi
|
|
6846
7007
|
*/
|
|
6847
|
-
getInvoices(options) {
|
|
6848
|
-
return ClubsStaffApiFp(this.configuration).getInvoices(options).then((request) => request(this.axios, this.basePath));
|
|
7008
|
+
getInvoices(requestParameters = {}, options) {
|
|
7009
|
+
return ClubsStaffApiFp(this.configuration).getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
|
|
6849
7010
|
}
|
|
6850
7011
|
/**
|
|
6851
7012
|
*
|
|
@@ -6971,71 +7132,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
6971
7132
|
*/
|
|
6972
7133
|
export const EventsApiAxiosParamCreator = function (configuration) {
|
|
6973
7134
|
return {
|
|
6974
|
-
/**
|
|
6975
|
-
* Check team name availability for TEAM participation events
|
|
6976
|
-
* @param {string} eventId
|
|
6977
|
-
* @param {string} [teamName]
|
|
6978
|
-
* @param {*} [options] Override http request option.
|
|
6979
|
-
* @throws {RequiredError}
|
|
6980
|
-
*/
|
|
6981
|
-
checkTeamNameAvailability: (eventId_1, teamName_1, ...args_1) => __awaiter(this, [eventId_1, teamName_1, ...args_1], void 0, function* (eventId, teamName, options = {}) {
|
|
6982
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
6983
|
-
assertParamExists('checkTeamNameAvailability', 'eventId', eventId);
|
|
6984
|
-
const localVarPath = `/api/events/{eventId}/team-name-availability`
|
|
6985
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
6986
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6987
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6988
|
-
let baseOptions;
|
|
6989
|
-
if (configuration) {
|
|
6990
|
-
baseOptions = configuration.baseOptions;
|
|
6991
|
-
}
|
|
6992
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6993
|
-
const localVarHeaderParameter = {};
|
|
6994
|
-
const localVarQueryParameter = {};
|
|
6995
|
-
if (teamName !== undefined) {
|
|
6996
|
-
localVarQueryParameter['teamName'] = teamName;
|
|
6997
|
-
}
|
|
6998
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6999
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7000
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7001
|
-
return {
|
|
7002
|
-
url: toPathString(localVarUrlObj),
|
|
7003
|
-
options: localVarRequestOptions,
|
|
7004
|
-
};
|
|
7005
|
-
}),
|
|
7006
|
-
/**
|
|
7007
|
-
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
7008
|
-
* @param {string} eventId
|
|
7009
|
-
* @param {EstimateEventPriceRequest} estimateEventPriceRequest
|
|
7010
|
-
* @param {*} [options] Override http request option.
|
|
7011
|
-
* @throws {RequiredError}
|
|
7012
|
-
*/
|
|
7013
|
-
estimateEventPrice: (eventId_1, estimateEventPriceRequest_1, ...args_1) => __awaiter(this, [eventId_1, estimateEventPriceRequest_1, ...args_1], void 0, function* (eventId, estimateEventPriceRequest, options = {}) {
|
|
7014
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
7015
|
-
assertParamExists('estimateEventPrice', 'eventId', eventId);
|
|
7016
|
-
// verify required parameter 'estimateEventPriceRequest' is not null or undefined
|
|
7017
|
-
assertParamExists('estimateEventPrice', 'estimateEventPriceRequest', estimateEventPriceRequest);
|
|
7018
|
-
const localVarPath = `/api/events/{eventId}/estimate-price`
|
|
7019
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
7020
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7021
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7022
|
-
let baseOptions;
|
|
7023
|
-
if (configuration) {
|
|
7024
|
-
baseOptions = configuration.baseOptions;
|
|
7025
|
-
}
|
|
7026
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7027
|
-
const localVarHeaderParameter = {};
|
|
7028
|
-
const localVarQueryParameter = {};
|
|
7029
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7030
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7031
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7032
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7033
|
-
localVarRequestOptions.data = serializeDataIfNeeded(estimateEventPriceRequest, localVarRequestOptions, configuration);
|
|
7034
|
-
return {
|
|
7035
|
-
url: toPathString(localVarUrlObj),
|
|
7036
|
-
options: localVarRequestOptions,
|
|
7037
|
-
};
|
|
7038
|
-
}),
|
|
7039
7135
|
/**
|
|
7040
7136
|
* Get a specific event by ID
|
|
7041
7137
|
* @param {string} eventId
|
|
@@ -7180,38 +7276,6 @@ export const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
7180
7276
|
export const EventsApiFp = function (configuration) {
|
|
7181
7277
|
const localVarAxiosParamCreator = EventsApiAxiosParamCreator(configuration);
|
|
7182
7278
|
return {
|
|
7183
|
-
/**
|
|
7184
|
-
* Check team name availability for TEAM participation events
|
|
7185
|
-
* @param {string} eventId
|
|
7186
|
-
* @param {string} [teamName]
|
|
7187
|
-
* @param {*} [options] Override http request option.
|
|
7188
|
-
* @throws {RequiredError}
|
|
7189
|
-
*/
|
|
7190
|
-
checkTeamNameAvailability(eventId, teamName, options) {
|
|
7191
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7192
|
-
var _a, _b, _c;
|
|
7193
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.checkTeamNameAvailability(eventId, teamName, options);
|
|
7194
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7195
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.checkTeamNameAvailability']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7196
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7197
|
-
});
|
|
7198
|
-
},
|
|
7199
|
-
/**
|
|
7200
|
-
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
7201
|
-
* @param {string} eventId
|
|
7202
|
-
* @param {EstimateEventPriceRequest} estimateEventPriceRequest
|
|
7203
|
-
* @param {*} [options] Override http request option.
|
|
7204
|
-
* @throws {RequiredError}
|
|
7205
|
-
*/
|
|
7206
|
-
estimateEventPrice(eventId, estimateEventPriceRequest, options) {
|
|
7207
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7208
|
-
var _a, _b, _c;
|
|
7209
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.estimateEventPrice(eventId, estimateEventPriceRequest, options);
|
|
7210
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7211
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.estimateEventPrice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7212
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7213
|
-
});
|
|
7214
|
-
},
|
|
7215
7279
|
/**
|
|
7216
7280
|
* Get a specific event by ID
|
|
7217
7281
|
* @param {string} eventId
|
|
@@ -7285,24 +7349,6 @@ export const EventsApiFp = function (configuration) {
|
|
|
7285
7349
|
export const EventsApiFactory = function (configuration, basePath, axios) {
|
|
7286
7350
|
const localVarFp = EventsApiFp(configuration);
|
|
7287
7351
|
return {
|
|
7288
|
-
/**
|
|
7289
|
-
* Check team name availability for TEAM participation events
|
|
7290
|
-
* @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
|
|
7291
|
-
* @param {*} [options] Override http request option.
|
|
7292
|
-
* @throws {RequiredError}
|
|
7293
|
-
*/
|
|
7294
|
-
checkTeamNameAvailability(requestParameters, options) {
|
|
7295
|
-
return localVarFp.checkTeamNameAvailability(requestParameters.eventId, requestParameters.teamName, options).then((request) => request(axios, basePath));
|
|
7296
|
-
},
|
|
7297
|
-
/**
|
|
7298
|
-
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
7299
|
-
* @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
|
|
7300
|
-
* @param {*} [options] Override http request option.
|
|
7301
|
-
* @throws {RequiredError}
|
|
7302
|
-
*/
|
|
7303
|
-
estimateEventPrice(requestParameters, options) {
|
|
7304
|
-
return localVarFp.estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(axios, basePath));
|
|
7305
|
-
},
|
|
7306
7352
|
/**
|
|
7307
7353
|
* Get a specific event by ID
|
|
7308
7354
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
@@ -7348,26 +7394,6 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
|
|
|
7348
7394
|
* @extends {BaseAPI}
|
|
7349
7395
|
*/
|
|
7350
7396
|
export class EventsApi extends BaseAPI {
|
|
7351
|
-
/**
|
|
7352
|
-
* Check team name availability for TEAM participation events
|
|
7353
|
-
* @param {EventsApiCheckTeamNameAvailabilityRequest} requestParameters Request parameters.
|
|
7354
|
-
* @param {*} [options] Override http request option.
|
|
7355
|
-
* @throws {RequiredError}
|
|
7356
|
-
* @memberof EventsApi
|
|
7357
|
-
*/
|
|
7358
|
-
checkTeamNameAvailability(requestParameters, options) {
|
|
7359
|
-
return EventsApiFp(this.configuration).checkTeamNameAvailability(requestParameters.eventId, requestParameters.teamName, options).then((request) => request(this.axios, this.basePath));
|
|
7360
|
-
}
|
|
7361
|
-
/**
|
|
7362
|
-
* Estime le prix de participation à un événement pour une liste de joueurs
|
|
7363
|
-
* @param {EventsApiEstimateEventPriceRequest} requestParameters Request parameters.
|
|
7364
|
-
* @param {*} [options] Override http request option.
|
|
7365
|
-
* @throws {RequiredError}
|
|
7366
|
-
* @memberof EventsApi
|
|
7367
|
-
*/
|
|
7368
|
-
estimateEventPrice(requestParameters, options) {
|
|
7369
|
-
return EventsApiFp(this.configuration).estimateEventPrice(requestParameters.eventId, requestParameters.estimateEventPriceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7370
|
-
}
|
|
7371
7397
|
/**
|
|
7372
7398
|
* Get a specific event by ID
|
|
7373
7399
|
* @param {EventsApiGetEventByIdRequest} requestParameters Request parameters.
|
|
@@ -9075,6 +9101,38 @@ export const SubscriptionsStaffApiAxiosParamCreator = function (configuration) {
|
|
|
9075
9101
|
options: localVarRequestOptions,
|
|
9076
9102
|
};
|
|
9077
9103
|
}),
|
|
9104
|
+
/**
|
|
9105
|
+
* Envoie une invitation d\'abonnement à un joueur (staff)
|
|
9106
|
+
* @param {SendSubscriptionInvitationRequest} sendSubscriptionInvitationRequest
|
|
9107
|
+
* @param {*} [options] Override http request option.
|
|
9108
|
+
* @throws {RequiredError}
|
|
9109
|
+
*/
|
|
9110
|
+
sendSubscriptionInvitation: (sendSubscriptionInvitationRequest_1, ...args_1) => __awaiter(this, [sendSubscriptionInvitationRequest_1, ...args_1], void 0, function* (sendSubscriptionInvitationRequest, options = {}) {
|
|
9111
|
+
// verify required parameter 'sendSubscriptionInvitationRequest' is not null or undefined
|
|
9112
|
+
assertParamExists('sendSubscriptionInvitation', 'sendSubscriptionInvitationRequest', sendSubscriptionInvitationRequest);
|
|
9113
|
+
const localVarPath = `/api/subscriptions/invitations`;
|
|
9114
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9115
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9116
|
+
let baseOptions;
|
|
9117
|
+
if (configuration) {
|
|
9118
|
+
baseOptions = configuration.baseOptions;
|
|
9119
|
+
}
|
|
9120
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9121
|
+
const localVarHeaderParameter = {};
|
|
9122
|
+
const localVarQueryParameter = {};
|
|
9123
|
+
// authentication bearerAuth required
|
|
9124
|
+
// http bearer authentication required
|
|
9125
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9126
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9127
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9128
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9129
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9130
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sendSubscriptionInvitationRequest, localVarRequestOptions, configuration);
|
|
9131
|
+
return {
|
|
9132
|
+
url: toPathString(localVarUrlObj),
|
|
9133
|
+
options: localVarRequestOptions,
|
|
9134
|
+
};
|
|
9135
|
+
}),
|
|
9078
9136
|
};
|
|
9079
9137
|
};
|
|
9080
9138
|
/**
|
|
@@ -9098,6 +9156,21 @@ export const SubscriptionsStaffApiFp = function (configuration) {
|
|
|
9098
9156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9099
9157
|
});
|
|
9100
9158
|
},
|
|
9159
|
+
/**
|
|
9160
|
+
* Envoie une invitation d\'abonnement à un joueur (staff)
|
|
9161
|
+
* @param {SendSubscriptionInvitationRequest} sendSubscriptionInvitationRequest
|
|
9162
|
+
* @param {*} [options] Override http request option.
|
|
9163
|
+
* @throws {RequiredError}
|
|
9164
|
+
*/
|
|
9165
|
+
sendSubscriptionInvitation(sendSubscriptionInvitationRequest, options) {
|
|
9166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9167
|
+
var _a, _b, _c;
|
|
9168
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendSubscriptionInvitation(sendSubscriptionInvitationRequest, options);
|
|
9169
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9170
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SubscriptionsStaffApi.sendSubscriptionInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9171
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9172
|
+
});
|
|
9173
|
+
},
|
|
9101
9174
|
};
|
|
9102
9175
|
};
|
|
9103
9176
|
/**
|
|
@@ -9115,6 +9188,15 @@ export const SubscriptionsStaffApiFactory = function (configuration, basePath, a
|
|
|
9115
9188
|
getClubPlans(options) {
|
|
9116
9189
|
return localVarFp.getClubPlans(options).then((request) => request(axios, basePath));
|
|
9117
9190
|
},
|
|
9191
|
+
/**
|
|
9192
|
+
* Envoie une invitation d\'abonnement à un joueur (staff)
|
|
9193
|
+
* @param {SubscriptionsStaffApiSendSubscriptionInvitationRequest} requestParameters Request parameters.
|
|
9194
|
+
* @param {*} [options] Override http request option.
|
|
9195
|
+
* @throws {RequiredError}
|
|
9196
|
+
*/
|
|
9197
|
+
sendSubscriptionInvitation(requestParameters, options) {
|
|
9198
|
+
return localVarFp.sendSubscriptionInvitation(requestParameters.sendSubscriptionInvitationRequest, options).then((request) => request(axios, basePath));
|
|
9199
|
+
},
|
|
9118
9200
|
};
|
|
9119
9201
|
};
|
|
9120
9202
|
/**
|
|
@@ -9133,6 +9215,16 @@ export class SubscriptionsStaffApi extends BaseAPI {
|
|
|
9133
9215
|
getClubPlans(options) {
|
|
9134
9216
|
return SubscriptionsStaffApiFp(this.configuration).getClubPlans(options).then((request) => request(this.axios, this.basePath));
|
|
9135
9217
|
}
|
|
9218
|
+
/**
|
|
9219
|
+
* Envoie une invitation d\'abonnement à un joueur (staff)
|
|
9220
|
+
* @param {SubscriptionsStaffApiSendSubscriptionInvitationRequest} requestParameters Request parameters.
|
|
9221
|
+
* @param {*} [options] Override http request option.
|
|
9222
|
+
* @throws {RequiredError}
|
|
9223
|
+
* @memberof SubscriptionsStaffApi
|
|
9224
|
+
*/
|
|
9225
|
+
sendSubscriptionInvitation(requestParameters, options) {
|
|
9226
|
+
return SubscriptionsStaffApiFp(this.configuration).sendSubscriptionInvitation(requestParameters.sendSubscriptionInvitationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9227
|
+
}
|
|
9136
9228
|
}
|
|
9137
9229
|
/**
|
|
9138
9230
|
* SubscriptionsUserApi - axios parameter creator
|