@tennac-booking/sdk 1.0.109 → 1.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +5 -0
- package/api.ts +219 -2
- package/dist/api.d.ts +172 -2
- package/dist/api.js +79 -4
- package/dist/esm/api.d.ts +172 -2
- package/dist/esm/api.js +75 -0
- package/docs/AgendaBooking.md +30 -0
- package/docs/AgendaBookingPlayer.md +26 -0
- package/docs/AgendaBookingSlot.md +30 -0
- package/docs/AgendaPaymentStatus.md +12 -0
- package/docs/BookingsWithTimeBoundsResponse.md +1 -1
- package/docs/ClubsManagerApi.md +56 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -10,6 +10,10 @@ docs/ActiveSubscriptionResponse.md
|
|
|
10
10
|
docs/AddClubMember201Response.md
|
|
11
11
|
docs/AddClubMemberRequest.md
|
|
12
12
|
docs/AddOrganizationRequest.md
|
|
13
|
+
docs/AgendaBooking.md
|
|
14
|
+
docs/AgendaBookingPlayer.md
|
|
15
|
+
docs/AgendaBookingSlot.md
|
|
16
|
+
docs/AgendaPaymentStatus.md
|
|
13
17
|
docs/BookingAnalyticsResponse.md
|
|
14
18
|
docs/BookingClubInfo.md
|
|
15
19
|
docs/BookingCourtInfo.md
|
package/README.md
CHANGED
|
@@ -126,6 +126,7 @@ Class | Method | HTTP request | Description
|
|
|
126
126
|
*ClubsManagerApi* | [**createPriceForSubscriptionPlan**](docs/ClubsManagerApi.md#createpriceforsubscriptionplan) | **POST** /api/clubs/subscription-plans/{productId}/prices |
|
|
127
127
|
*ClubsManagerApi* | [**createSportForClub**](docs/ClubsManagerApi.md#createsportforclub) | **POST** /api/clubs/sports |
|
|
128
128
|
*ClubsManagerApi* | [**deleteActuality**](docs/ClubsManagerApi.md#deleteactuality) | **DELETE** /api/clubs/actualities/{actualityId} |
|
|
129
|
+
*ClubsManagerApi* | [**deleteClubMember**](docs/ClubsManagerApi.md#deleteclubmember) | **DELETE** /api/clubs/members/{userId} |
|
|
129
130
|
*ClubsManagerApi* | [**deleteCourt**](docs/ClubsManagerApi.md#deletecourt) | **DELETE** /api/clubs/courts/{courtId} |
|
|
130
131
|
*ClubsManagerApi* | [**deleteSlotsByClubInRange**](docs/ClubsManagerApi.md#deleteslotsbyclubinrange) | **DELETE** /api/clubs/slots |
|
|
131
132
|
*ClubsManagerApi* | [**deleteSubscriptionPlanForClub**](docs/ClubsManagerApi.md#deletesubscriptionplanforclub) | **DELETE** /api/clubs/subscription-plans/{productId} |
|
|
@@ -220,6 +221,10 @@ Class | Method | HTTP request | Description
|
|
|
220
221
|
- [AddClubMember201Response](docs/AddClubMember201Response.md)
|
|
221
222
|
- [AddClubMemberRequest](docs/AddClubMemberRequest.md)
|
|
222
223
|
- [AddOrganizationRequest](docs/AddOrganizationRequest.md)
|
|
224
|
+
- [AgendaBooking](docs/AgendaBooking.md)
|
|
225
|
+
- [AgendaBookingPlayer](docs/AgendaBookingPlayer.md)
|
|
226
|
+
- [AgendaBookingSlot](docs/AgendaBookingSlot.md)
|
|
227
|
+
- [AgendaPaymentStatus](docs/AgendaPaymentStatus.md)
|
|
223
228
|
- [BookingAnalyticsResponse](docs/BookingAnalyticsResponse.md)
|
|
224
229
|
- [BookingClubInfo](docs/BookingClubInfo.md)
|
|
225
230
|
- [BookingCourtInfo](docs/BookingCourtInfo.md)
|
package/api.ts
CHANGED
|
@@ -129,6 +129,140 @@ export interface AddOrganizationRequest {
|
|
|
129
129
|
*/
|
|
130
130
|
'organizationId'?: string;
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @export
|
|
135
|
+
* @interface AgendaBooking
|
|
136
|
+
*/
|
|
137
|
+
export interface AgendaBooking {
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof AgendaBooking
|
|
142
|
+
*/
|
|
143
|
+
'id': string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {BookingStatus}
|
|
147
|
+
* @memberof AgendaBooking
|
|
148
|
+
*/
|
|
149
|
+
'status': BookingStatus;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof AgendaBooking
|
|
154
|
+
*/
|
|
155
|
+
'creatorName': string;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {Array<AgendaBookingPlayer>}
|
|
159
|
+
* @memberof AgendaBooking
|
|
160
|
+
*/
|
|
161
|
+
'players': Array<AgendaBookingPlayer>;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {AgendaPaymentStatus}
|
|
165
|
+
* @memberof AgendaBooking
|
|
166
|
+
*/
|
|
167
|
+
'paymentStatus': AgendaPaymentStatus;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {Array<AgendaBookingSlot>}
|
|
171
|
+
* @memberof AgendaBooking
|
|
172
|
+
*/
|
|
173
|
+
'slots': Array<AgendaBookingSlot>;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @export
|
|
180
|
+
* @interface AgendaBookingPlayer
|
|
181
|
+
*/
|
|
182
|
+
export interface AgendaBookingPlayer {
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof AgendaBookingPlayer
|
|
187
|
+
*/
|
|
188
|
+
'id': string;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {string}
|
|
192
|
+
* @memberof AgendaBookingPlayer
|
|
193
|
+
*/
|
|
194
|
+
'firstName': string;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof AgendaBookingPlayer
|
|
199
|
+
*/
|
|
200
|
+
'lastName': string;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof AgendaBookingPlayer
|
|
205
|
+
*/
|
|
206
|
+
'profilePictureUrl'?: string;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @export
|
|
211
|
+
* @interface AgendaBookingSlot
|
|
212
|
+
*/
|
|
213
|
+
export interface AgendaBookingSlot {
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof AgendaBookingSlot
|
|
218
|
+
*/
|
|
219
|
+
'start': string;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof AgendaBookingSlot
|
|
224
|
+
*/
|
|
225
|
+
'end': string;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof AgendaBookingSlot
|
|
230
|
+
*/
|
|
231
|
+
'courtName': string;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof AgendaBookingSlot
|
|
236
|
+
*/
|
|
237
|
+
'sportKey': string;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @type {string}
|
|
241
|
+
* @memberof AgendaBookingSlot
|
|
242
|
+
*/
|
|
243
|
+
'surface'?: string;
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @type {boolean}
|
|
247
|
+
* @memberof AgendaBookingSlot
|
|
248
|
+
*/
|
|
249
|
+
'isIndoor'?: boolean;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @export
|
|
254
|
+
* @enum {string}
|
|
255
|
+
*/
|
|
256
|
+
|
|
257
|
+
export const AgendaPaymentStatus = {
|
|
258
|
+
Pay: 'payé',
|
|
259
|
+
NonPay: 'non payé',
|
|
260
|
+
EnAttente: 'en attente'
|
|
261
|
+
} as const;
|
|
262
|
+
|
|
263
|
+
export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
|
|
264
|
+
|
|
265
|
+
|
|
132
266
|
/**
|
|
133
267
|
*
|
|
134
268
|
* @export
|
|
@@ -1150,10 +1284,10 @@ export interface BookingSummaryClubAddress {
|
|
|
1150
1284
|
export interface BookingsWithTimeBoundsResponse {
|
|
1151
1285
|
/**
|
|
1152
1286
|
*
|
|
1153
|
-
* @type {Array<
|
|
1287
|
+
* @type {Array<AgendaBooking>}
|
|
1154
1288
|
* @memberof BookingsWithTimeBoundsResponse
|
|
1155
1289
|
*/
|
|
1156
|
-
'bookings': Array<
|
|
1290
|
+
'bookings': Array<AgendaBooking>;
|
|
1157
1291
|
/**
|
|
1158
1292
|
*
|
|
1159
1293
|
* @type {TimeBounds}
|
|
@@ -16029,6 +16163,43 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration?: Config
|
|
|
16029
16163
|
|
|
16030
16164
|
|
|
16031
16165
|
|
|
16166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16168
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16169
|
+
|
|
16170
|
+
return {
|
|
16171
|
+
url: toPathString(localVarUrlObj),
|
|
16172
|
+
options: localVarRequestOptions,
|
|
16173
|
+
};
|
|
16174
|
+
},
|
|
16175
|
+
/**
|
|
16176
|
+
* Supprime un membre d\'un club
|
|
16177
|
+
* @param {string} userId
|
|
16178
|
+
* @param {*} [options] Override http request option.
|
|
16179
|
+
* @throws {RequiredError}
|
|
16180
|
+
*/
|
|
16181
|
+
deleteClubMember: async (userId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16182
|
+
// verify required parameter 'userId' is not null or undefined
|
|
16183
|
+
assertParamExists('deleteClubMember', 'userId', userId)
|
|
16184
|
+
const localVarPath = `/api/clubs/members/{userId}`
|
|
16185
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
16186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16187
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16188
|
+
let baseOptions;
|
|
16189
|
+
if (configuration) {
|
|
16190
|
+
baseOptions = configuration.baseOptions;
|
|
16191
|
+
}
|
|
16192
|
+
|
|
16193
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
16194
|
+
const localVarHeaderParameter = {} as any;
|
|
16195
|
+
const localVarQueryParameter = {} as any;
|
|
16196
|
+
|
|
16197
|
+
// authentication bearerAuth required
|
|
16198
|
+
// http bearer authentication required
|
|
16199
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16200
|
+
|
|
16201
|
+
|
|
16202
|
+
|
|
16032
16203
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16033
16204
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16034
16205
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16640,6 +16811,18 @@ export const ClubsManagerApiFp = function(configuration?: Configuration) {
|
|
|
16640
16811
|
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.deleteActuality']?.[localVarOperationServerIndex]?.url;
|
|
16641
16812
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16642
16813
|
},
|
|
16814
|
+
/**
|
|
16815
|
+
* Supprime un membre d\'un club
|
|
16816
|
+
* @param {string} userId
|
|
16817
|
+
* @param {*} [options] Override http request option.
|
|
16818
|
+
* @throws {RequiredError}
|
|
16819
|
+
*/
|
|
16820
|
+
async deleteClubMember(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>> {
|
|
16821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClubMember(userId, options);
|
|
16822
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16823
|
+
const localVarOperationServerBasePath = operationServerMap['ClubsManagerApi.deleteClubMember']?.[localVarOperationServerIndex]?.url;
|
|
16824
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16825
|
+
},
|
|
16643
16826
|
/**
|
|
16644
16827
|
* Supprime un terrain et ses créneaux futurs
|
|
16645
16828
|
* @param {string} courtId
|
|
@@ -16872,6 +17055,15 @@ export const ClubsManagerApiFactory = function (configuration?: Configuration, b
|
|
|
16872
17055
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response> {
|
|
16873
17056
|
return localVarFp.deleteActuality(requestParameters.actualityId, options).then((request) => request(axios, basePath));
|
|
16874
17057
|
},
|
|
17058
|
+
/**
|
|
17059
|
+
* Supprime un membre d\'un club
|
|
17060
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
17061
|
+
* @param {*} [options] Override http request option.
|
|
17062
|
+
* @throws {RequiredError}
|
|
17063
|
+
*/
|
|
17064
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response> {
|
|
17065
|
+
return localVarFp.deleteClubMember(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
17066
|
+
},
|
|
16875
17067
|
/**
|
|
16876
17068
|
* Supprime un terrain et ses créneaux futurs
|
|
16877
17069
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -17096,6 +17288,20 @@ export interface ClubsManagerApiDeleteActualityRequest {
|
|
|
17096
17288
|
readonly actualityId: string
|
|
17097
17289
|
}
|
|
17098
17290
|
|
|
17291
|
+
/**
|
|
17292
|
+
* Request parameters for deleteClubMember operation in ClubsManagerApi.
|
|
17293
|
+
* @export
|
|
17294
|
+
* @interface ClubsManagerApiDeleteClubMemberRequest
|
|
17295
|
+
*/
|
|
17296
|
+
export interface ClubsManagerApiDeleteClubMemberRequest {
|
|
17297
|
+
/**
|
|
17298
|
+
*
|
|
17299
|
+
* @type {string}
|
|
17300
|
+
* @memberof ClubsManagerApiDeleteClubMember
|
|
17301
|
+
*/
|
|
17302
|
+
readonly userId: string
|
|
17303
|
+
}
|
|
17304
|
+
|
|
17099
17305
|
/**
|
|
17100
17306
|
* Request parameters for deleteCourt operation in ClubsManagerApi.
|
|
17101
17307
|
* @export
|
|
@@ -17376,6 +17582,17 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
17376
17582
|
return ClubsManagerApiFp(this.configuration).deleteActuality(requestParameters.actualityId, options).then((request) => request(this.axios, this.basePath));
|
|
17377
17583
|
}
|
|
17378
17584
|
|
|
17585
|
+
/**
|
|
17586
|
+
* Supprime un membre d\'un club
|
|
17587
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
17588
|
+
* @param {*} [options] Override http request option.
|
|
17589
|
+
* @throws {RequiredError}
|
|
17590
|
+
* @memberof ClubsManagerApi
|
|
17591
|
+
*/
|
|
17592
|
+
public deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig) {
|
|
17593
|
+
return ClubsManagerApiFp(this.configuration).deleteClubMember(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
17594
|
+
}
|
|
17595
|
+
|
|
17379
17596
|
/**
|
|
17380
17597
|
* Supprime un terrain et ses créneaux futurs
|
|
17381
17598
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
package/dist/api.d.ts
CHANGED
|
@@ -119,6 +119,134 @@ export interface AddOrganizationRequest {
|
|
|
119
119
|
*/
|
|
120
120
|
'organizationId'?: string;
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @export
|
|
125
|
+
* @interface AgendaBooking
|
|
126
|
+
*/
|
|
127
|
+
export interface AgendaBooking {
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof AgendaBooking
|
|
132
|
+
*/
|
|
133
|
+
'id': string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {BookingStatus}
|
|
137
|
+
* @memberof AgendaBooking
|
|
138
|
+
*/
|
|
139
|
+
'status': BookingStatus;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof AgendaBooking
|
|
144
|
+
*/
|
|
145
|
+
'creatorName': string;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {Array<AgendaBookingPlayer>}
|
|
149
|
+
* @memberof AgendaBooking
|
|
150
|
+
*/
|
|
151
|
+
'players': Array<AgendaBookingPlayer>;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {AgendaPaymentStatus}
|
|
155
|
+
* @memberof AgendaBooking
|
|
156
|
+
*/
|
|
157
|
+
'paymentStatus': AgendaPaymentStatus;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {Array<AgendaBookingSlot>}
|
|
161
|
+
* @memberof AgendaBooking
|
|
162
|
+
*/
|
|
163
|
+
'slots': Array<AgendaBookingSlot>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @export
|
|
168
|
+
* @interface AgendaBookingPlayer
|
|
169
|
+
*/
|
|
170
|
+
export interface AgendaBookingPlayer {
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof AgendaBookingPlayer
|
|
175
|
+
*/
|
|
176
|
+
'id': string;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {string}
|
|
180
|
+
* @memberof AgendaBookingPlayer
|
|
181
|
+
*/
|
|
182
|
+
'firstName': string;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof AgendaBookingPlayer
|
|
187
|
+
*/
|
|
188
|
+
'lastName': string;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {string}
|
|
192
|
+
* @memberof AgendaBookingPlayer
|
|
193
|
+
*/
|
|
194
|
+
'profilePictureUrl'?: string;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @export
|
|
199
|
+
* @interface AgendaBookingSlot
|
|
200
|
+
*/
|
|
201
|
+
export interface AgendaBookingSlot {
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {string}
|
|
205
|
+
* @memberof AgendaBookingSlot
|
|
206
|
+
*/
|
|
207
|
+
'start': string;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof AgendaBookingSlot
|
|
212
|
+
*/
|
|
213
|
+
'end': string;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof AgendaBookingSlot
|
|
218
|
+
*/
|
|
219
|
+
'courtName': string;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof AgendaBookingSlot
|
|
224
|
+
*/
|
|
225
|
+
'sportKey': string;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof AgendaBookingSlot
|
|
230
|
+
*/
|
|
231
|
+
'surface'?: string;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {boolean}
|
|
235
|
+
* @memberof AgendaBookingSlot
|
|
236
|
+
*/
|
|
237
|
+
'isIndoor'?: boolean;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @export
|
|
242
|
+
* @enum {string}
|
|
243
|
+
*/
|
|
244
|
+
export declare const AgendaPaymentStatus: {
|
|
245
|
+
readonly Pay: "payé";
|
|
246
|
+
readonly NonPay: "non payé";
|
|
247
|
+
readonly EnAttente: "en attente";
|
|
248
|
+
};
|
|
249
|
+
export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
|
|
122
250
|
/**
|
|
123
251
|
*
|
|
124
252
|
* @export
|
|
@@ -1125,10 +1253,10 @@ export interface BookingSummaryClubAddress {
|
|
|
1125
1253
|
export interface BookingsWithTimeBoundsResponse {
|
|
1126
1254
|
/**
|
|
1127
1255
|
*
|
|
1128
|
-
* @type {Array<
|
|
1256
|
+
* @type {Array<AgendaBooking>}
|
|
1129
1257
|
* @memberof BookingsWithTimeBoundsResponse
|
|
1130
1258
|
*/
|
|
1131
|
-
'bookings': Array<
|
|
1259
|
+
'bookings': Array<AgendaBooking>;
|
|
1132
1260
|
/**
|
|
1133
1261
|
*
|
|
1134
1262
|
* @type {TimeBounds}
|
|
@@ -12719,6 +12847,13 @@ export declare const ClubsManagerApiAxiosParamCreator: (configuration?: Configur
|
|
|
12719
12847
|
* @throws {RequiredError}
|
|
12720
12848
|
*/
|
|
12721
12849
|
deleteActuality: (actualityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12850
|
+
/**
|
|
12851
|
+
* Supprime un membre d\'un club
|
|
12852
|
+
* @param {string} userId
|
|
12853
|
+
* @param {*} [options] Override http request option.
|
|
12854
|
+
* @throws {RequiredError}
|
|
12855
|
+
*/
|
|
12856
|
+
deleteClubMember: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12722
12857
|
/**
|
|
12723
12858
|
* Supprime un terrain et ses créneaux futurs
|
|
12724
12859
|
* @param {string} courtId
|
|
@@ -12869,6 +13004,13 @@ export declare const ClubsManagerApiFp: (configuration?: Configuration) => {
|
|
|
12869
13004
|
* @throws {RequiredError}
|
|
12870
13005
|
*/
|
|
12871
13006
|
deleteActuality(actualityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
|
|
13007
|
+
/**
|
|
13008
|
+
* Supprime un membre d\'un club
|
|
13009
|
+
* @param {string} userId
|
|
13010
|
+
* @param {*} [options] Override http request option.
|
|
13011
|
+
* @throws {RequiredError}
|
|
13012
|
+
*/
|
|
13013
|
+
deleteClubMember(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>>;
|
|
12872
13014
|
/**
|
|
12873
13015
|
* Supprime un terrain et ses créneaux futurs
|
|
12874
13016
|
* @param {string} courtId
|
|
@@ -13018,6 +13160,13 @@ export declare const ClubsManagerApiFactory: (configuration?: Configuration, bas
|
|
|
13018
13160
|
* @throws {RequiredError}
|
|
13019
13161
|
*/
|
|
13020
13162
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
|
|
13163
|
+
/**
|
|
13164
|
+
* Supprime un membre d\'un club
|
|
13165
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
13166
|
+
* @param {*} [options] Override http request option.
|
|
13167
|
+
* @throws {RequiredError}
|
|
13168
|
+
*/
|
|
13169
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response>;
|
|
13021
13170
|
/**
|
|
13022
13171
|
* Supprime un terrain et ses créneaux futurs
|
|
13023
13172
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -13206,6 +13355,19 @@ export interface ClubsManagerApiDeleteActualityRequest {
|
|
|
13206
13355
|
*/
|
|
13207
13356
|
readonly actualityId: string;
|
|
13208
13357
|
}
|
|
13358
|
+
/**
|
|
13359
|
+
* Request parameters for deleteClubMember operation in ClubsManagerApi.
|
|
13360
|
+
* @export
|
|
13361
|
+
* @interface ClubsManagerApiDeleteClubMemberRequest
|
|
13362
|
+
*/
|
|
13363
|
+
export interface ClubsManagerApiDeleteClubMemberRequest {
|
|
13364
|
+
/**
|
|
13365
|
+
*
|
|
13366
|
+
* @type {string}
|
|
13367
|
+
* @memberof ClubsManagerApiDeleteClubMember
|
|
13368
|
+
*/
|
|
13369
|
+
readonly userId: string;
|
|
13370
|
+
}
|
|
13209
13371
|
/**
|
|
13210
13372
|
* Request parameters for deleteCourt operation in ClubsManagerApi.
|
|
13211
13373
|
* @export
|
|
@@ -13449,6 +13611,14 @@ export declare class ClubsManagerApi extends BaseAPI {
|
|
|
13449
13611
|
* @memberof ClubsManagerApi
|
|
13450
13612
|
*/
|
|
13451
13613
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
|
|
13614
|
+
/**
|
|
13615
|
+
* Supprime un membre d\'un club
|
|
13616
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
13617
|
+
* @param {*} [options] Override http request option.
|
|
13618
|
+
* @throws {RequiredError}
|
|
13619
|
+
* @memberof ClubsManagerApi
|
|
13620
|
+
*/
|
|
13621
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddClubMember201Response, any, {}>>;
|
|
13452
13622
|
/**
|
|
13453
13623
|
* Supprime un terrain et ses créneaux futurs
|
|
13454
13624
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -22,16 +22,26 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = void 0;
|
|
25
|
+
exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.SurfaceType = exports.StripeStripeTaxCodeObjectEnum = exports.StripeStripeResponseStripeStripePriceObjectEnum = exports.StripeStripeProductType = exports.StripeStripeProductTaxCodeObjectEnum = exports.StripeStripeProductDefaultPriceObjectEnum = exports.StripeStripeProductObjectEnum = exports.StripeStripePriceType = exports.StripeStripePriceTransformQuantityRound = exports.StripeStripePriceTiersMode = exports.StripeStripePriceTaxBehavior = exports.StripeStripePriceRecurringUsageType = exports.StripeStripePriceRecurringInterval = exports.StripeStripePriceProductObjectEnum = exports.StripeStripePriceCurrencyOptionsTaxBehavior = exports.StripeStripePriceBillingScheme = exports.StripeStripePriceObjectEnum = exports.StripeStripeDeletedProductObjectEnum = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.InvoiceStatus = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientAccountOnboardingRequestSubscriptionTypeEnum = exports.ClientAccountOnboardingRequestBusinessTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = exports.AgendaPaymentStatus = void 0;
|
|
26
|
+
exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientAccountsApi = exports.ClientAccountsApiFactory = exports.ClientAccountsApiFp = exports.ClientAccountsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.UserLocationSummaryTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = void 0;
|
|
27
|
+
exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = void 0;
|
|
28
|
+
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = void 0;
|
|
29
29
|
const axios_1 = require("axios");
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const common_1 = require("./common");
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const base_1 = require("./base");
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
exports.AgendaPaymentStatus = {
|
|
41
|
+
Pay: 'payé',
|
|
42
|
+
NonPay: 'non payé',
|
|
43
|
+
EnAttente: 'en attente'
|
|
44
|
+
};
|
|
35
45
|
exports.BookingHistoryPopulatedPerformedByTypeEnum = {
|
|
36
46
|
User: 'user',
|
|
37
47
|
Manager: 'manager',
|
|
@@ -5406,6 +5416,37 @@ const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5406
5416
|
options: localVarRequestOptions,
|
|
5407
5417
|
};
|
|
5408
5418
|
}),
|
|
5419
|
+
/**
|
|
5420
|
+
* Supprime un membre d\'un club
|
|
5421
|
+
* @param {string} userId
|
|
5422
|
+
* @param {*} [options] Override http request option.
|
|
5423
|
+
* @throws {RequiredError}
|
|
5424
|
+
*/
|
|
5425
|
+
deleteClubMember: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
5426
|
+
// verify required parameter 'userId' is not null or undefined
|
|
5427
|
+
(0, common_1.assertParamExists)('deleteClubMember', 'userId', userId);
|
|
5428
|
+
const localVarPath = `/api/clubs/members/{userId}`
|
|
5429
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
5430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5431
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5432
|
+
let baseOptions;
|
|
5433
|
+
if (configuration) {
|
|
5434
|
+
baseOptions = configuration.baseOptions;
|
|
5435
|
+
}
|
|
5436
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5437
|
+
const localVarHeaderParameter = {};
|
|
5438
|
+
const localVarQueryParameter = {};
|
|
5439
|
+
// authentication bearerAuth required
|
|
5440
|
+
// http bearer authentication required
|
|
5441
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5442
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5443
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5444
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5445
|
+
return {
|
|
5446
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5447
|
+
options: localVarRequestOptions,
|
|
5448
|
+
};
|
|
5449
|
+
}),
|
|
5409
5450
|
/**
|
|
5410
5451
|
* Supprime un terrain et ses créneaux futurs
|
|
5411
5452
|
* @param {string} courtId
|
|
@@ -5944,6 +5985,21 @@ const ClubsManagerApiFp = function (configuration) {
|
|
|
5944
5985
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5945
5986
|
});
|
|
5946
5987
|
},
|
|
5988
|
+
/**
|
|
5989
|
+
* Supprime un membre d\'un club
|
|
5990
|
+
* @param {string} userId
|
|
5991
|
+
* @param {*} [options] Override http request option.
|
|
5992
|
+
* @throws {RequiredError}
|
|
5993
|
+
*/
|
|
5994
|
+
deleteClubMember(userId, options) {
|
|
5995
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5996
|
+
var _a, _b, _c;
|
|
5997
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClubMember(userId, options);
|
|
5998
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5999
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsManagerApi.deleteClubMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6000
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6001
|
+
});
|
|
6002
|
+
},
|
|
5947
6003
|
/**
|
|
5948
6004
|
* Supprime un terrain et ses créneaux futurs
|
|
5949
6005
|
* @param {string} courtId
|
|
@@ -6215,6 +6271,15 @@ const ClubsManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
6215
6271
|
deleteActuality(requestParameters, options) {
|
|
6216
6272
|
return localVarFp.deleteActuality(requestParameters.actualityId, options).then((request) => request(axios, basePath));
|
|
6217
6273
|
},
|
|
6274
|
+
/**
|
|
6275
|
+
* Supprime un membre d\'un club
|
|
6276
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
6277
|
+
* @param {*} [options] Override http request option.
|
|
6278
|
+
* @throws {RequiredError}
|
|
6279
|
+
*/
|
|
6280
|
+
deleteClubMember(requestParameters, options) {
|
|
6281
|
+
return localVarFp.deleteClubMember(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
6282
|
+
},
|
|
6218
6283
|
/**
|
|
6219
6284
|
* Supprime un terrain et ses créneaux futurs
|
|
6220
6285
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -6411,6 +6476,16 @@ class ClubsManagerApi extends base_1.BaseAPI {
|
|
|
6411
6476
|
deleteActuality(requestParameters, options) {
|
|
6412
6477
|
return (0, exports.ClubsManagerApiFp)(this.configuration).deleteActuality(requestParameters.actualityId, options).then((request) => request(this.axios, this.basePath));
|
|
6413
6478
|
}
|
|
6479
|
+
/**
|
|
6480
|
+
* Supprime un membre d\'un club
|
|
6481
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
6482
|
+
* @param {*} [options] Override http request option.
|
|
6483
|
+
* @throws {RequiredError}
|
|
6484
|
+
* @memberof ClubsManagerApi
|
|
6485
|
+
*/
|
|
6486
|
+
deleteClubMember(requestParameters, options) {
|
|
6487
|
+
return (0, exports.ClubsManagerApiFp)(this.configuration).deleteClubMember(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
6488
|
+
}
|
|
6414
6489
|
/**
|
|
6415
6490
|
* Supprime un terrain et ses créneaux futurs
|
|
6416
6491
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -119,6 +119,134 @@ export interface AddOrganizationRequest {
|
|
|
119
119
|
*/
|
|
120
120
|
'organizationId'?: string;
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @export
|
|
125
|
+
* @interface AgendaBooking
|
|
126
|
+
*/
|
|
127
|
+
export interface AgendaBooking {
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof AgendaBooking
|
|
132
|
+
*/
|
|
133
|
+
'id': string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {BookingStatus}
|
|
137
|
+
* @memberof AgendaBooking
|
|
138
|
+
*/
|
|
139
|
+
'status': BookingStatus;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof AgendaBooking
|
|
144
|
+
*/
|
|
145
|
+
'creatorName': string;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {Array<AgendaBookingPlayer>}
|
|
149
|
+
* @memberof AgendaBooking
|
|
150
|
+
*/
|
|
151
|
+
'players': Array<AgendaBookingPlayer>;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {AgendaPaymentStatus}
|
|
155
|
+
* @memberof AgendaBooking
|
|
156
|
+
*/
|
|
157
|
+
'paymentStatus': AgendaPaymentStatus;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {Array<AgendaBookingSlot>}
|
|
161
|
+
* @memberof AgendaBooking
|
|
162
|
+
*/
|
|
163
|
+
'slots': Array<AgendaBookingSlot>;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @export
|
|
168
|
+
* @interface AgendaBookingPlayer
|
|
169
|
+
*/
|
|
170
|
+
export interface AgendaBookingPlayer {
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof AgendaBookingPlayer
|
|
175
|
+
*/
|
|
176
|
+
'id': string;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {string}
|
|
180
|
+
* @memberof AgendaBookingPlayer
|
|
181
|
+
*/
|
|
182
|
+
'firstName': string;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof AgendaBookingPlayer
|
|
187
|
+
*/
|
|
188
|
+
'lastName': string;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {string}
|
|
192
|
+
* @memberof AgendaBookingPlayer
|
|
193
|
+
*/
|
|
194
|
+
'profilePictureUrl'?: string;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @export
|
|
199
|
+
* @interface AgendaBookingSlot
|
|
200
|
+
*/
|
|
201
|
+
export interface AgendaBookingSlot {
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {string}
|
|
205
|
+
* @memberof AgendaBookingSlot
|
|
206
|
+
*/
|
|
207
|
+
'start': string;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof AgendaBookingSlot
|
|
212
|
+
*/
|
|
213
|
+
'end': string;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof AgendaBookingSlot
|
|
218
|
+
*/
|
|
219
|
+
'courtName': string;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof AgendaBookingSlot
|
|
224
|
+
*/
|
|
225
|
+
'sportKey': string;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof AgendaBookingSlot
|
|
230
|
+
*/
|
|
231
|
+
'surface'?: string;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {boolean}
|
|
235
|
+
* @memberof AgendaBookingSlot
|
|
236
|
+
*/
|
|
237
|
+
'isIndoor'?: boolean;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @export
|
|
242
|
+
* @enum {string}
|
|
243
|
+
*/
|
|
244
|
+
export declare const AgendaPaymentStatus: {
|
|
245
|
+
readonly Pay: "payé";
|
|
246
|
+
readonly NonPay: "non payé";
|
|
247
|
+
readonly EnAttente: "en attente";
|
|
248
|
+
};
|
|
249
|
+
export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
|
|
122
250
|
/**
|
|
123
251
|
*
|
|
124
252
|
* @export
|
|
@@ -1125,10 +1253,10 @@ export interface BookingSummaryClubAddress {
|
|
|
1125
1253
|
export interface BookingsWithTimeBoundsResponse {
|
|
1126
1254
|
/**
|
|
1127
1255
|
*
|
|
1128
|
-
* @type {Array<
|
|
1256
|
+
* @type {Array<AgendaBooking>}
|
|
1129
1257
|
* @memberof BookingsWithTimeBoundsResponse
|
|
1130
1258
|
*/
|
|
1131
|
-
'bookings': Array<
|
|
1259
|
+
'bookings': Array<AgendaBooking>;
|
|
1132
1260
|
/**
|
|
1133
1261
|
*
|
|
1134
1262
|
* @type {TimeBounds}
|
|
@@ -12719,6 +12847,13 @@ export declare const ClubsManagerApiAxiosParamCreator: (configuration?: Configur
|
|
|
12719
12847
|
* @throws {RequiredError}
|
|
12720
12848
|
*/
|
|
12721
12849
|
deleteActuality: (actualityId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12850
|
+
/**
|
|
12851
|
+
* Supprime un membre d\'un club
|
|
12852
|
+
* @param {string} userId
|
|
12853
|
+
* @param {*} [options] Override http request option.
|
|
12854
|
+
* @throws {RequiredError}
|
|
12855
|
+
*/
|
|
12856
|
+
deleteClubMember: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12722
12857
|
/**
|
|
12723
12858
|
* Supprime un terrain et ses créneaux futurs
|
|
12724
12859
|
* @param {string} courtId
|
|
@@ -12869,6 +13004,13 @@ export declare const ClubsManagerApiFp: (configuration?: Configuration) => {
|
|
|
12869
13004
|
* @throws {RequiredError}
|
|
12870
13005
|
*/
|
|
12871
13006
|
deleteActuality(actualityId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
|
|
13007
|
+
/**
|
|
13008
|
+
* Supprime un membre d\'un club
|
|
13009
|
+
* @param {string} userId
|
|
13010
|
+
* @param {*} [options] Override http request option.
|
|
13011
|
+
* @throws {RequiredError}
|
|
13012
|
+
*/
|
|
13013
|
+
deleteClubMember(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddClubMember201Response>>;
|
|
12872
13014
|
/**
|
|
12873
13015
|
* Supprime un terrain et ses créneaux futurs
|
|
12874
13016
|
* @param {string} courtId
|
|
@@ -13018,6 +13160,13 @@ export declare const ClubsManagerApiFactory: (configuration?: Configuration, bas
|
|
|
13018
13160
|
* @throws {RequiredError}
|
|
13019
13161
|
*/
|
|
13020
13162
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
|
|
13163
|
+
/**
|
|
13164
|
+
* Supprime un membre d\'un club
|
|
13165
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
13166
|
+
* @param {*} [options] Override http request option.
|
|
13167
|
+
* @throws {RequiredError}
|
|
13168
|
+
*/
|
|
13169
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddClubMember201Response>;
|
|
13021
13170
|
/**
|
|
13022
13171
|
* Supprime un terrain et ses créneaux futurs
|
|
13023
13172
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -13206,6 +13355,19 @@ export interface ClubsManagerApiDeleteActualityRequest {
|
|
|
13206
13355
|
*/
|
|
13207
13356
|
readonly actualityId: string;
|
|
13208
13357
|
}
|
|
13358
|
+
/**
|
|
13359
|
+
* Request parameters for deleteClubMember operation in ClubsManagerApi.
|
|
13360
|
+
* @export
|
|
13361
|
+
* @interface ClubsManagerApiDeleteClubMemberRequest
|
|
13362
|
+
*/
|
|
13363
|
+
export interface ClubsManagerApiDeleteClubMemberRequest {
|
|
13364
|
+
/**
|
|
13365
|
+
*
|
|
13366
|
+
* @type {string}
|
|
13367
|
+
* @memberof ClubsManagerApiDeleteClubMember
|
|
13368
|
+
*/
|
|
13369
|
+
readonly userId: string;
|
|
13370
|
+
}
|
|
13209
13371
|
/**
|
|
13210
13372
|
* Request parameters for deleteCourt operation in ClubsManagerApi.
|
|
13211
13373
|
* @export
|
|
@@ -13449,6 +13611,14 @@ export declare class ClubsManagerApi extends BaseAPI {
|
|
|
13449
13611
|
* @memberof ClubsManagerApi
|
|
13450
13612
|
*/
|
|
13451
13613
|
deleteActuality(requestParameters: ClubsManagerApiDeleteActualityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
|
|
13614
|
+
/**
|
|
13615
|
+
* Supprime un membre d\'un club
|
|
13616
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
13617
|
+
* @param {*} [options] Override http request option.
|
|
13618
|
+
* @throws {RequiredError}
|
|
13619
|
+
* @memberof ClubsManagerApi
|
|
13620
|
+
*/
|
|
13621
|
+
deleteClubMember(requestParameters: ClubsManagerApiDeleteClubMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddClubMember201Response, any, {}>>;
|
|
13452
13622
|
/**
|
|
13453
13623
|
* Supprime un terrain et ses créneaux futurs
|
|
13454
13624
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
package/dist/esm/api.js
CHANGED
|
@@ -26,6 +26,16 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @enum {string}
|
|
33
|
+
*/
|
|
34
|
+
export const AgendaPaymentStatus = {
|
|
35
|
+
Pay: 'payé',
|
|
36
|
+
NonPay: 'non payé',
|
|
37
|
+
EnAttente: 'en attente'
|
|
38
|
+
};
|
|
29
39
|
export const BookingHistoryPopulatedPerformedByTypeEnum = {
|
|
30
40
|
User: 'user',
|
|
31
41
|
Manager: 'manager',
|
|
@@ -5348,6 +5358,37 @@ export const ClubsManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5348
5358
|
options: localVarRequestOptions,
|
|
5349
5359
|
};
|
|
5350
5360
|
}),
|
|
5361
|
+
/**
|
|
5362
|
+
* Supprime un membre d\'un club
|
|
5363
|
+
* @param {string} userId
|
|
5364
|
+
* @param {*} [options] Override http request option.
|
|
5365
|
+
* @throws {RequiredError}
|
|
5366
|
+
*/
|
|
5367
|
+
deleteClubMember: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
5368
|
+
// verify required parameter 'userId' is not null or undefined
|
|
5369
|
+
assertParamExists('deleteClubMember', 'userId', userId);
|
|
5370
|
+
const localVarPath = `/api/clubs/members/{userId}`
|
|
5371
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
5372
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5373
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5374
|
+
let baseOptions;
|
|
5375
|
+
if (configuration) {
|
|
5376
|
+
baseOptions = configuration.baseOptions;
|
|
5377
|
+
}
|
|
5378
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5379
|
+
const localVarHeaderParameter = {};
|
|
5380
|
+
const localVarQueryParameter = {};
|
|
5381
|
+
// authentication bearerAuth required
|
|
5382
|
+
// http bearer authentication required
|
|
5383
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5384
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5385
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5386
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5387
|
+
return {
|
|
5388
|
+
url: toPathString(localVarUrlObj),
|
|
5389
|
+
options: localVarRequestOptions,
|
|
5390
|
+
};
|
|
5391
|
+
}),
|
|
5351
5392
|
/**
|
|
5352
5393
|
* Supprime un terrain et ses créneaux futurs
|
|
5353
5394
|
* @param {string} courtId
|
|
@@ -5885,6 +5926,21 @@ export const ClubsManagerApiFp = function (configuration) {
|
|
|
5885
5926
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5886
5927
|
});
|
|
5887
5928
|
},
|
|
5929
|
+
/**
|
|
5930
|
+
* Supprime un membre d\'un club
|
|
5931
|
+
* @param {string} userId
|
|
5932
|
+
* @param {*} [options] Override http request option.
|
|
5933
|
+
* @throws {RequiredError}
|
|
5934
|
+
*/
|
|
5935
|
+
deleteClubMember(userId, options) {
|
|
5936
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5937
|
+
var _a, _b, _c;
|
|
5938
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteClubMember(userId, options);
|
|
5939
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5940
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsManagerApi.deleteClubMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5941
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5942
|
+
});
|
|
5943
|
+
},
|
|
5888
5944
|
/**
|
|
5889
5945
|
* Supprime un terrain et ses créneaux futurs
|
|
5890
5946
|
* @param {string} courtId
|
|
@@ -6155,6 +6211,15 @@ export const ClubsManagerApiFactory = function (configuration, basePath, axios)
|
|
|
6155
6211
|
deleteActuality(requestParameters, options) {
|
|
6156
6212
|
return localVarFp.deleteActuality(requestParameters.actualityId, options).then((request) => request(axios, basePath));
|
|
6157
6213
|
},
|
|
6214
|
+
/**
|
|
6215
|
+
* Supprime un membre d\'un club
|
|
6216
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
6217
|
+
* @param {*} [options] Override http request option.
|
|
6218
|
+
* @throws {RequiredError}
|
|
6219
|
+
*/
|
|
6220
|
+
deleteClubMember(requestParameters, options) {
|
|
6221
|
+
return localVarFp.deleteClubMember(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
6222
|
+
},
|
|
6158
6223
|
/**
|
|
6159
6224
|
* Supprime un terrain et ses créneaux futurs
|
|
6160
6225
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -6350,6 +6415,16 @@ export class ClubsManagerApi extends BaseAPI {
|
|
|
6350
6415
|
deleteActuality(requestParameters, options) {
|
|
6351
6416
|
return ClubsManagerApiFp(this.configuration).deleteActuality(requestParameters.actualityId, options).then((request) => request(this.axios, this.basePath));
|
|
6352
6417
|
}
|
|
6418
|
+
/**
|
|
6419
|
+
* Supprime un membre d\'un club
|
|
6420
|
+
* @param {ClubsManagerApiDeleteClubMemberRequest} requestParameters Request parameters.
|
|
6421
|
+
* @param {*} [options] Override http request option.
|
|
6422
|
+
* @throws {RequiredError}
|
|
6423
|
+
* @memberof ClubsManagerApi
|
|
6424
|
+
*/
|
|
6425
|
+
deleteClubMember(requestParameters, options) {
|
|
6426
|
+
return ClubsManagerApiFp(this.configuration).deleteClubMember(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
6427
|
+
}
|
|
6353
6428
|
/**
|
|
6354
6429
|
* Supprime un terrain et ses créneaux futurs
|
|
6355
6430
|
* @param {ClubsManagerApiDeleteCourtRequest} requestParameters Request parameters.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# AgendaBooking
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
10
|
+
**creatorName** | **string** | | [default to undefined]
|
|
11
|
+
**players** | [**Array<AgendaBookingPlayer>**](AgendaBookingPlayer.md) | | [default to undefined]
|
|
12
|
+
**paymentStatus** | [**AgendaPaymentStatus**](AgendaPaymentStatus.md) | | [default to undefined]
|
|
13
|
+
**slots** | [**Array<AgendaBookingSlot>**](AgendaBookingSlot.md) | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { AgendaBooking } from '@tennac-booking/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: AgendaBooking = {
|
|
21
|
+
id,
|
|
22
|
+
status,
|
|
23
|
+
creatorName,
|
|
24
|
+
players,
|
|
25
|
+
paymentStatus,
|
|
26
|
+
slots,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# AgendaBookingPlayer
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**firstName** | **string** | | [default to undefined]
|
|
10
|
+
**lastName** | **string** | | [default to undefined]
|
|
11
|
+
**profilePictureUrl** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AgendaBookingPlayer } from '@tennac-booking/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: AgendaBookingPlayer = {
|
|
19
|
+
id,
|
|
20
|
+
firstName,
|
|
21
|
+
lastName,
|
|
22
|
+
profilePictureUrl,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# AgendaBookingSlot
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**start** | **string** | | [default to undefined]
|
|
9
|
+
**end** | **string** | | [default to undefined]
|
|
10
|
+
**courtName** | **string** | | [default to undefined]
|
|
11
|
+
**sportKey** | **string** | | [default to undefined]
|
|
12
|
+
**surface** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**isIndoor** | **boolean** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { AgendaBookingSlot } from '@tennac-booking/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: AgendaBookingSlot = {
|
|
21
|
+
start,
|
|
22
|
+
end,
|
|
23
|
+
courtName,
|
|
24
|
+
sportKey,
|
|
25
|
+
surface,
|
|
26
|
+
isIndoor,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# AgendaPaymentStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Pay` (value: `'payé'`)
|
|
7
|
+
|
|
8
|
+
* `NonPay` (value: `'non payé'`)
|
|
9
|
+
|
|
10
|
+
* `EnAttente` (value: `'en attente'`)
|
|
11
|
+
|
|
12
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**bookings** | [**Array<
|
|
8
|
+
**bookings** | [**Array<AgendaBooking>**](AgendaBooking.md) | | [default to undefined]
|
|
9
9
|
**timeBounds** | [**TimeBounds**](TimeBounds.md) | | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
package/docs/ClubsManagerApi.md
CHANGED
|
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|[**createPriceForSubscriptionPlan**](#createpriceforsubscriptionplan) | **POST** /api/clubs/subscription-plans/{productId}/prices | |
|
|
12
12
|
|[**createSportForClub**](#createsportforclub) | **POST** /api/clubs/sports | |
|
|
13
13
|
|[**deleteActuality**](#deleteactuality) | **DELETE** /api/clubs/actualities/{actualityId} | |
|
|
14
|
+
|[**deleteClubMember**](#deleteclubmember) | **DELETE** /api/clubs/members/{userId} | |
|
|
14
15
|
|[**deleteCourt**](#deletecourt) | **DELETE** /api/clubs/courts/{courtId} | |
|
|
15
16
|
|[**deleteSlotsByClubInRange**](#deleteslotsbyclubinrange) | **DELETE** /api/clubs/slots | |
|
|
16
17
|
|[**deleteSubscriptionPlanForClub**](#deletesubscriptionplanforclub) | **DELETE** /api/clubs/subscription-plans/{productId} | |
|
|
@@ -389,6 +390,61 @@ const { status, data } = await apiInstance.deleteActuality(
|
|
|
389
390
|
|
|
390
391
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
391
392
|
|
|
393
|
+
# **deleteClubMember**
|
|
394
|
+
> AddClubMember201Response deleteClubMember()
|
|
395
|
+
|
|
396
|
+
Supprime un membre d\'un club
|
|
397
|
+
|
|
398
|
+
### Example
|
|
399
|
+
|
|
400
|
+
```typescript
|
|
401
|
+
import {
|
|
402
|
+
ClubsManagerApi,
|
|
403
|
+
Configuration
|
|
404
|
+
} from '@tennac-booking/sdk';
|
|
405
|
+
|
|
406
|
+
const configuration = new Configuration();
|
|
407
|
+
const apiInstance = new ClubsManagerApi(configuration);
|
|
408
|
+
|
|
409
|
+
let userId: string; // (default to undefined)
|
|
410
|
+
|
|
411
|
+
const { status, data } = await apiInstance.deleteClubMember(
|
|
412
|
+
userId
|
|
413
|
+
);
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
### Parameters
|
|
417
|
+
|
|
418
|
+
|Name | Type | Description | Notes|
|
|
419
|
+
|------------- | ------------- | ------------- | -------------|
|
|
420
|
+
| **userId** | [**string**] | | defaults to undefined|
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### Return type
|
|
424
|
+
|
|
425
|
+
**AddClubMember201Response**
|
|
426
|
+
|
|
427
|
+
### Authorization
|
|
428
|
+
|
|
429
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
430
|
+
|
|
431
|
+
### HTTP request headers
|
|
432
|
+
|
|
433
|
+
- **Content-Type**: Not defined
|
|
434
|
+
- **Accept**: application/json
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
### HTTP response details
|
|
438
|
+
| Status code | Description | Response headers |
|
|
439
|
+
|-------------|-------------|------------------|
|
|
440
|
+
|**200** | Membre supprimé | - |
|
|
441
|
+
|**400** | Bad Request | - |
|
|
442
|
+
|**403** | Forbidden | - |
|
|
443
|
+
|**404** | Membre introuvable | - |
|
|
444
|
+
|**500** | Server Error | - |
|
|
445
|
+
|
|
446
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
447
|
+
|
|
392
448
|
# **deleteCourt**
|
|
393
449
|
> DeleteCourtResponse deleteCourt()
|
|
394
450
|
|