@tennac-booking/sdk 1.0.300 → 1.0.302

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/dist/esm/api.d.ts CHANGED
@@ -6482,99 +6482,186 @@ export interface EmailExistsResponse {
6482
6482
  /**
6483
6483
  *
6484
6484
  * @export
6485
- * @interface EstimateEventPrice200Response
6485
+ * @interface EstimateEventPlayerPrice
6486
6486
  */
6487
- export interface EstimateEventPrice200Response {
6487
+ export interface EstimateEventPlayerPrice {
6488
6488
  /**
6489
- * Construct a type with a set of properties K of type T
6490
- * @type {{ [key: string]: number; }}
6491
- * @memberof EstimateEventPrice200Response
6489
+ *
6490
+ * @type {string}
6491
+ * @memberof EstimateEventPlayerPrice
6492
6492
  */
6493
- 'perPayerAfterCredits'?: {
6494
- [key: string]: number;
6495
- };
6493
+ 'playerId': string;
6494
+ /**
6495
+ *
6496
+ * @type {string}
6497
+ * @memberof EstimateEventPlayerPrice
6498
+ */
6499
+ 'firstName'?: string;
6496
6500
  /**
6497
6501
  *
6498
6502
  * @type {number}
6499
- * @memberof EstimateEventPrice200Response
6503
+ * @memberof EstimateEventPlayerPrice
6500
6504
  */
6501
- 'totalAfterCredits'?: number;
6505
+ 'price': number;
6506
+ }
6507
+ /**
6508
+ *
6509
+ * @export
6510
+ * @interface EstimateEventPriceRequest
6511
+ */
6512
+ export interface EstimateEventPriceRequest {
6513
+ /**
6514
+ *
6515
+ * @type {Array<string>}
6516
+ * @memberof EstimateEventPriceRequest
6517
+ */
6518
+ 'playerIds': Array<string>;
6519
+ /**
6520
+ *
6521
+ * @type {Array<EstimateEventPriceShare>}
6522
+ * @memberof EstimateEventPriceRequest
6523
+ */
6524
+ 'shares'?: Array<EstimateEventPriceShare>;
6525
+ /**
6526
+ *
6527
+ * @type {PaymentMethod}
6528
+ * @memberof EstimateEventPriceRequest
6529
+ */
6530
+ 'paymentMethod'?: PaymentMethod;
6502
6531
  /**
6503
6532
  *
6504
6533
  * @type {number}
6505
- * @memberof EstimateEventPrice200Response
6534
+ * @memberof EstimateEventPriceRequest
6506
6535
  */
6507
- 'creditsAppliedInCents'?: number;
6536
+ 'playersCount'?: number;
6537
+ /**
6538
+ *
6539
+ * @type {boolean}
6540
+ * @memberof EstimateEventPriceRequest
6541
+ */
6542
+ 'isCreatorPayingAll'?: boolean;
6543
+ /**
6544
+ *
6545
+ * @type {number}
6546
+ * @memberof EstimateEventPriceRequest
6547
+ */
6548
+ 'reservedPlayerCount'?: number;
6508
6549
  /**
6509
6550
  *
6510
6551
  * @type {string}
6511
- * @memberof EstimateEventPrice200Response
6552
+ * @memberof EstimateEventPriceRequest
6512
6553
  */
6513
- 'currency': string;
6554
+ 'creatorId'?: string;
6514
6555
  /**
6515
6556
  *
6516
6557
  * @type {number}
6517
- * @memberof EstimateEventPrice200Response
6558
+ * @memberof EstimateEventPriceRequest
6518
6559
  */
6519
- 'total': number;
6560
+ 'creditToUseInCents'?: number;
6561
+ }
6562
+ /**
6563
+ *
6564
+ * @export
6565
+ * @interface EstimateEventPriceResponse
6566
+ */
6567
+ export interface EstimateEventPriceResponse {
6520
6568
  /**
6521
6569
  * Construct a type with a set of properties K of type T
6522
6570
  * @type {{ [key: string]: number; }}
6523
- * @memberof EstimateEventPrice200Response
6571
+ * @memberof EstimateEventPriceResponse
6524
6572
  */
6525
6573
  'perPlayer': {
6526
6574
  [key: string]: number;
6527
6575
  };
6528
- }
6529
- /**
6530
- *
6531
- * @export
6532
- * @interface EstimateEventPriceRequest
6533
- */
6534
- export interface EstimateEventPriceRequest {
6576
+ /**
6577
+ *
6578
+ * @type {Array<EstimateEventPlayerPrice>}
6579
+ * @memberof EstimateEventPriceResponse
6580
+ */
6581
+ 'playerPrices': Array<EstimateEventPlayerPrice>;
6582
+ /**
6583
+ * Construct a type with a set of properties K of type T
6584
+ * @type {{ [key: string]: number; }}
6585
+ * @memberof EstimateEventPriceResponse
6586
+ */
6587
+ 'perPayer': {
6588
+ [key: string]: number;
6589
+ };
6535
6590
  /**
6536
6591
  *
6537
6592
  * @type {number}
6538
- * @memberof EstimateEventPriceRequest
6593
+ * @memberof EstimateEventPriceResponse
6539
6594
  */
6540
- 'creditToUseInCents'?: number;
6595
+ 'total': number;
6541
6596
  /**
6542
6597
  *
6543
6598
  * @type {string}
6544
- * @memberof EstimateEventPriceRequest
6599
+ * @memberof EstimateEventPriceResponse
6545
6600
  */
6546
- 'creatorId'?: string;
6601
+ 'currency': string;
6547
6602
  /**
6548
6603
  *
6549
- * @type {Array<EstimateEventPriceRequestSharesInner>}
6550
- * @memberof EstimateEventPriceRequest
6604
+ * @type {PaymentMethod}
6605
+ * @memberof EstimateEventPriceResponse
6551
6606
  */
6552
- 'shares'?: Array<EstimateEventPriceRequestSharesInner>;
6607
+ 'paymentMethod'?: PaymentMethod;
6553
6608
  /**
6554
6609
  *
6555
- * @type {Array<string>}
6556
- * @memberof EstimateEventPriceRequest
6610
+ * @type {number}
6611
+ * @memberof EstimateEventPriceResponse
6557
6612
  */
6558
- 'playerIds': Array<string>;
6613
+ 'playersCount'?: number;
6614
+ /**
6615
+ *
6616
+ * @type {number}
6617
+ * @memberof EstimateEventPriceResponse
6618
+ */
6619
+ 'reservedPlayerCount'?: number;
6620
+ /**
6621
+ *
6622
+ * @type {number}
6623
+ * @memberof EstimateEventPriceResponse
6624
+ */
6625
+ 'missingParticipantsCount'?: number;
6626
+ /**
6627
+ *
6628
+ * @type {number}
6629
+ * @memberof EstimateEventPriceResponse
6630
+ */
6631
+ 'creditsAppliedInCents'?: number;
6632
+ /**
6633
+ *
6634
+ * @type {number}
6635
+ * @memberof EstimateEventPriceResponse
6636
+ */
6637
+ 'totalAfterCredits'?: number;
6638
+ /**
6639
+ * Construct a type with a set of properties K of type T
6640
+ * @type {{ [key: string]: number; }}
6641
+ * @memberof EstimateEventPriceResponse
6642
+ */
6643
+ 'perPayerAfterCredits'?: {
6644
+ [key: string]: number;
6645
+ };
6559
6646
  }
6560
6647
  /**
6561
6648
  *
6562
6649
  * @export
6563
- * @interface EstimateEventPriceRequestSharesInner
6650
+ * @interface EstimateEventPriceShare
6564
6651
  */
6565
- export interface EstimateEventPriceRequestSharesInner {
6652
+ export interface EstimateEventPriceShare {
6566
6653
  /**
6567
6654
  *
6568
- * @type {Array<string>}
6569
- * @memberof EstimateEventPriceRequestSharesInner
6655
+ * @type {string}
6656
+ * @memberof EstimateEventPriceShare
6570
6657
  */
6571
- 'paysAlsoFor'?: Array<string>;
6658
+ 'playerId': string;
6572
6659
  /**
6573
6660
  *
6574
- * @type {string}
6575
- * @memberof EstimateEventPriceRequestSharesInner
6661
+ * @type {Array<string>}
6662
+ * @memberof EstimateEventPriceShare
6576
6663
  */
6577
- 'playerId': string;
6664
+ 'paysAlsoFor'?: Array<string>;
6578
6665
  }
6579
6666
  /**
6580
6667
  *
@@ -23420,10 +23507,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
23420
23507
  * @param {string} id
23421
23508
  * @param {string} sportId
23422
23509
  * @param {string} day
23510
+ * @param {boolean} [excludePastCancellationSlots]
23423
23511
  * @param {*} [options] Override http request option.
23424
23512
  * @throws {RequiredError}
23425
23513
  */
23426
- getAvailableSlotAndMultiSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23514
+ getAvailableSlotAndMultiSlotsBySportsAndDay: (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23427
23515
  /**
23428
23516
  *
23429
23517
  * @param {string} id
@@ -23437,10 +23525,11 @@ export declare const ClubsApiAxiosParamCreator: (configuration?: Configuration)
23437
23525
  * @param {string} id
23438
23526
  * @param {string} sportId
23439
23527
  * @param {string} day
23528
+ * @param {boolean} [excludePastCancellationSlots]
23440
23529
  * @param {*} [options] Override http request option.
23441
23530
  * @throws {RequiredError}
23442
23531
  */
23443
- getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23532
+ getAvailableSlotsBySportsAndDay: (id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
23444
23533
  /**
23445
23534
  * reference to artillery tests
23446
23535
  * @param {string} clubID
@@ -23556,10 +23645,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
23556
23645
  * @param {string} id
23557
23646
  * @param {string} sportId
23558
23647
  * @param {string} day
23648
+ * @param {boolean} [excludePastCancellationSlots]
23559
23649
  * @param {*} [options] Override http request option.
23560
23650
  * @throws {RequiredError}
23561
23651
  */
23562
- getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
23652
+ getAvailableSlotAndMultiSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
23563
23653
  /**
23564
23654
  *
23565
23655
  * @param {string} id
@@ -23573,10 +23663,11 @@ export declare const ClubsApiFp: (configuration?: Configuration) => {
23573
23663
  * @param {string} id
23574
23664
  * @param {string} sportId
23575
23665
  * @param {string} day
23666
+ * @param {boolean} [excludePastCancellationSlots]
23576
23667
  * @param {*} [options] Override http request option.
23577
23668
  * @throws {RequiredError}
23578
23669
  */
23579
- getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
23670
+ getAvailableSlotsBySportsAndDay(id: string, sportId: string, day: string, excludePastCancellationSlots?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAvailableSlotsBySportsAndDay200Response>>;
23580
23671
  /**
23581
23672
  * reference to artillery tests
23582
23673
  * @param {string} clubID
@@ -23822,6 +23913,12 @@ export interface ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDayRequest {
23822
23913
  * @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
23823
23914
  */
23824
23915
  readonly day: string;
23916
+ /**
23917
+ *
23918
+ * @type {boolean}
23919
+ * @memberof ClubsApiGetAvailableSlotAndMultiSlotsBySportsAndDay
23920
+ */
23921
+ readonly excludePastCancellationSlots?: boolean;
23825
23922
  }
23826
23923
  /**
23827
23924
  * Request parameters for getAvailableSlotsBySports operation in ClubsApi.
@@ -23866,6 +23963,12 @@ export interface ClubsApiGetAvailableSlotsBySportsAndDayRequest {
23866
23963
  * @memberof ClubsApiGetAvailableSlotsBySportsAndDay
23867
23964
  */
23868
23965
  readonly day: string;
23966
+ /**
23967
+ *
23968
+ * @type {boolean}
23969
+ * @memberof ClubsApiGetAvailableSlotsBySportsAndDay
23970
+ */
23971
+ readonly excludePastCancellationSlots?: boolean;
23869
23972
  }
23870
23973
  /**
23871
23974
  * Request parameters for getAvailableSlotsDaysByClubById operation in ClubsApi.
@@ -25853,7 +25956,7 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
25853
25956
  * @param {*} [options] Override http request option.
25854
25957
  * @throws {RequiredError}
25855
25958
  */
25856
- estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPrice200Response>>;
25959
+ estimateEventPrice(eventId: string, estimateEventPriceRequest: EstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateEventPriceResponse>>;
25857
25960
  /**
25858
25961
  * Estimer le prix pour rejoindre un événement ouvert
25859
25962
  * @param {string} eventBookingId
@@ -25975,7 +26078,7 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
25975
26078
  * @param {*} [options] Override http request option.
25976
26079
  * @throws {RequiredError}
25977
26080
  */
25978
- estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPrice200Response>;
26081
+ estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<EstimateEventPriceResponse>;
25979
26082
  /**
25980
26083
  * Estimer le prix pour rejoindre un événement ouvert
25981
26084
  * @param {EventsApiEstimateOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
@@ -26363,7 +26466,7 @@ export declare class EventsApi extends BaseAPI {
26363
26466
  * @throws {RequiredError}
26364
26467
  * @memberof EventsApi
26365
26468
  */
26366
- estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPrice200Response, any, {}>>;
26469
+ estimateEventPrice(requestParameters: EventsApiEstimateEventPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EstimateEventPriceResponse, any, {}>>;
26367
26470
  /**
26368
26471
  * Estimer le prix pour rejoindre un événement ouvert
26369
26472
  * @param {EventsApiEstimateOpenEventBookingJoinPriceRequest} requestParameters Request parameters.
package/dist/esm/api.js CHANGED
@@ -6863,10 +6863,11 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
6863
6863
  * @param {string} id
6864
6864
  * @param {string} sportId
6865
6865
  * @param {string} day
6866
+ * @param {boolean} [excludePastCancellationSlots]
6866
6867
  * @param {*} [options] Override http request option.
6867
6868
  * @throws {RequiredError}
6868
6869
  */
6869
- getAvailableSlotAndMultiSlotsBySportsAndDay: (id_1, sportId_1, day_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, ...args_1], void 0, function* (id, sportId, day, options = {}) {
6870
+ getAvailableSlotAndMultiSlotsBySportsAndDay: (id_1, sportId_1, day_1, excludePastCancellationSlots_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, excludePastCancellationSlots_1, ...args_1], void 0, function* (id, sportId, day, excludePastCancellationSlots, options = {}) {
6870
6871
  // verify required parameter 'id' is not null or undefined
6871
6872
  assertParamExists('getAvailableSlotAndMultiSlotsBySportsAndDay', 'id', id);
6872
6873
  // verify required parameter 'sportId' is not null or undefined
@@ -6886,6 +6887,9 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
6886
6887
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6887
6888
  const localVarHeaderParameter = {};
6888
6889
  const localVarQueryParameter = {};
6890
+ if (excludePastCancellationSlots !== undefined) {
6891
+ localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
6892
+ }
6889
6893
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6890
6894
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6891
6895
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6931,10 +6935,11 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
6931
6935
  * @param {string} id
6932
6936
  * @param {string} sportId
6933
6937
  * @param {string} day
6938
+ * @param {boolean} [excludePastCancellationSlots]
6934
6939
  * @param {*} [options] Override http request option.
6935
6940
  * @throws {RequiredError}
6936
6941
  */
6937
- getAvailableSlotsBySportsAndDay: (id_1, sportId_1, day_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, ...args_1], void 0, function* (id, sportId, day, options = {}) {
6942
+ getAvailableSlotsBySportsAndDay: (id_1, sportId_1, day_1, excludePastCancellationSlots_1, ...args_1) => __awaiter(this, [id_1, sportId_1, day_1, excludePastCancellationSlots_1, ...args_1], void 0, function* (id, sportId, day, excludePastCancellationSlots, options = {}) {
6938
6943
  // verify required parameter 'id' is not null or undefined
6939
6944
  assertParamExists('getAvailableSlotsBySportsAndDay', 'id', id);
6940
6945
  // verify required parameter 'sportId' is not null or undefined
@@ -6954,6 +6959,9 @@ export const ClubsApiAxiosParamCreator = function (configuration) {
6954
6959
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6955
6960
  const localVarHeaderParameter = {};
6956
6961
  const localVarQueryParameter = {};
6962
+ if (excludePastCancellationSlots !== undefined) {
6963
+ localVarQueryParameter['excludePastCancellationSlots'] = excludePastCancellationSlots;
6964
+ }
6957
6965
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6958
6966
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6959
6967
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7375,13 +7383,14 @@ export const ClubsApiFp = function (configuration) {
7375
7383
  * @param {string} id
7376
7384
  * @param {string} sportId
7377
7385
  * @param {string} day
7386
+ * @param {boolean} [excludePastCancellationSlots]
7378
7387
  * @param {*} [options] Override http request option.
7379
7388
  * @throws {RequiredError}
7380
7389
  */
7381
- getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, options) {
7390
+ getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options) {
7382
7391
  return __awaiter(this, void 0, void 0, function* () {
7383
7392
  var _a, _b, _c;
7384
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, options);
7393
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotAndMultiSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
7385
7394
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7386
7395
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getAvailableSlotAndMultiSlotsBySportsAndDay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7387
7396
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7408,13 +7417,14 @@ export const ClubsApiFp = function (configuration) {
7408
7417
  * @param {string} id
7409
7418
  * @param {string} sportId
7410
7419
  * @param {string} day
7420
+ * @param {boolean} [excludePastCancellationSlots]
7411
7421
  * @param {*} [options] Override http request option.
7412
7422
  * @throws {RequiredError}
7413
7423
  */
7414
- getAvailableSlotsBySportsAndDay(id, sportId, day, options) {
7424
+ getAvailableSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options) {
7415
7425
  return __awaiter(this, void 0, void 0, function* () {
7416
7426
  var _a, _b, _c;
7417
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, options);
7427
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAvailableSlotsBySportsAndDay(id, sportId, day, excludePastCancellationSlots, options);
7418
7428
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7419
7429
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsApi.getAvailableSlotsBySportsAndDay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7420
7430
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7648,7 +7658,7 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
7648
7658
  * @throws {RequiredError}
7649
7659
  */
7650
7660
  getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters, options) {
7651
- return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
7661
+ return localVarFp.getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
7652
7662
  },
7653
7663
  /**
7654
7664
  *
@@ -7666,7 +7676,7 @@ export const ClubsApiFactory = function (configuration, basePath, axios) {
7666
7676
  * @throws {RequiredError}
7667
7677
  */
7668
7678
  getAvailableSlotsBySportsAndDay(requestParameters, options) {
7669
- return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(axios, basePath));
7679
+ return localVarFp.getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(axios, basePath));
7670
7680
  },
7671
7681
  /**
7672
7682
  * reference to artillery tests
@@ -7818,7 +7828,7 @@ export class ClubsApi extends BaseAPI {
7818
7828
  * @memberof ClubsApi
7819
7829
  */
7820
7830
  getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters, options) {
7821
- return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
7831
+ return ClubsApiFp(this.configuration).getAvailableSlotAndMultiSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
7822
7832
  }
7823
7833
  /**
7824
7834
  *
@@ -7838,7 +7848,7 @@ export class ClubsApi extends BaseAPI {
7838
7848
  * @memberof ClubsApi
7839
7849
  */
7840
7850
  getAvailableSlotsBySportsAndDay(requestParameters, options) {
7841
- return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, options).then((request) => request(this.axios, this.basePath));
7851
+ return ClubsApiFp(this.configuration).getAvailableSlotsBySportsAndDay(requestParameters.id, requestParameters.sportId, requestParameters.day, requestParameters.excludePastCancellationSlots, options).then((request) => request(this.axios, this.basePath));
7842
7852
  }
7843
7853
  /**
7844
7854
  * reference to artillery tests
package/docs/ClubsApi.md CHANGED
@@ -131,11 +131,13 @@ const apiInstance = new ClubsApi(configuration);
131
131
  let id: string; // (default to undefined)
132
132
  let sportId: string; // (default to undefined)
133
133
  let day: string; // (default to undefined)
134
+ let excludePastCancellationSlots: boolean; // (optional) (default to undefined)
134
135
 
135
136
  const { status, data } = await apiInstance.getAvailableSlotAndMultiSlotsBySportsAndDay(
136
137
  id,
137
138
  sportId,
138
- day
139
+ day,
140
+ excludePastCancellationSlots
139
141
  );
140
142
  ```
141
143
 
@@ -146,6 +148,7 @@ const { status, data } = await apiInstance.getAvailableSlotAndMultiSlotsBySports
146
148
  | **id** | [**string**] | | defaults to undefined|
147
149
  | **sportId** | [**string**] | | defaults to undefined|
148
150
  | **day** | [**string**] | | defaults to undefined|
151
+ | **excludePastCancellationSlots** | [**boolean**] | | (optional) defaults to undefined|
149
152
 
150
153
 
151
154
  ### Return type
@@ -240,11 +243,13 @@ const apiInstance = new ClubsApi(configuration);
240
243
  let id: string; // (default to undefined)
241
244
  let sportId: string; // (default to undefined)
242
245
  let day: string; // (default to undefined)
246
+ let excludePastCancellationSlots: boolean; // (optional) (default to undefined)
243
247
 
244
248
  const { status, data } = await apiInstance.getAvailableSlotsBySportsAndDay(
245
249
  id,
246
250
  sportId,
247
- day
251
+ day,
252
+ excludePastCancellationSlots
248
253
  );
249
254
  ```
250
255
 
@@ -255,6 +260,7 @@ const { status, data } = await apiInstance.getAvailableSlotsBySportsAndDay(
255
260
  | **id** | [**string**] | | defaults to undefined|
256
261
  | **sportId** | [**string**] | | defaults to undefined|
257
262
  | **day** | [**string**] | | defaults to undefined|
263
+ | **excludePastCancellationSlots** | [**boolean**] | | (optional) defaults to undefined|
258
264
 
259
265
 
260
266
  ### Return type
@@ -0,0 +1,24 @@
1
+ # EstimateEventPlayerPrice
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **playerId** | **string** | | [default to undefined]
9
+ **firstName** | **string** | | [optional] [default to undefined]
10
+ **price** | **number** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { EstimateEventPlayerPrice } from '@tennac-booking/sdk';
16
+
17
+ const instance: EstimateEventPlayerPrice = {
18
+ playerId,
19
+ firstName,
20
+ price,
21
+ };
22
+ ```
23
+
24
+ [[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,10 +5,14 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **creditToUseInCents** | **number** | | [optional] [default to undefined]
9
- **creatorId** | **string** | | [optional] [default to undefined]
10
- **shares** | [**Array&lt;EstimateEventPriceRequestSharesInner&gt;**](EstimateEventPriceRequestSharesInner.md) | | [optional] [default to undefined]
11
8
  **playerIds** | **Array&lt;string&gt;** | | [default to undefined]
9
+ **shares** | [**Array&lt;EstimateEventPriceShare&gt;**](EstimateEventPriceShare.md) | | [optional] [default to undefined]
10
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
11
+ **playersCount** | **number** | | [optional] [default to undefined]
12
+ **isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
13
+ **reservedPlayerCount** | **number** | | [optional] [default to undefined]
14
+ **creatorId** | **string** | | [optional] [default to undefined]
15
+ **creditToUseInCents** | **number** | | [optional] [default to undefined]
12
16
 
13
17
  ## Example
14
18
 
@@ -16,10 +20,14 @@ Name | Type | Description | Notes
16
20
  import { EstimateEventPriceRequest } from '@tennac-booking/sdk';
17
21
 
18
22
  const instance: EstimateEventPriceRequest = {
19
- creditToUseInCents,
20
- creatorId,
21
- shares,
22
23
  playerIds,
24
+ shares,
25
+ paymentMethod,
26
+ playersCount,
27
+ isCreatorPayingAll,
28
+ reservedPlayerCount,
29
+ creatorId,
30
+ creditToUseInCents,
23
31
  };
24
32
  ```
25
33
 
@@ -1,29 +1,41 @@
1
- # EstimateEventPrice200Response
1
+ # EstimateEventPriceResponse
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **perPayerAfterCredits** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
9
- **totalAfterCredits** | **number** | | [optional] [default to undefined]
10
- **creditsAppliedInCents** | **number** | | [optional] [default to undefined]
11
- **currency** | **string** | | [default to undefined]
12
- **total** | **number** | | [default to undefined]
13
8
  **perPlayer** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [default to undefined]
9
+ **playerPrices** | [**Array&lt;EstimateEventPlayerPrice&gt;**](EstimateEventPlayerPrice.md) | | [default to undefined]
10
+ **perPayer** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [default to undefined]
11
+ **total** | **number** | | [default to undefined]
12
+ **currency** | **string** | | [default to undefined]
13
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
14
+ **playersCount** | **number** | | [optional] [default to undefined]
15
+ **reservedPlayerCount** | **number** | | [optional] [default to undefined]
16
+ **missingParticipantsCount** | **number** | | [optional] [default to undefined]
17
+ **creditsAppliedInCents** | **number** | | [optional] [default to undefined]
18
+ **totalAfterCredits** | **number** | | [optional] [default to undefined]
19
+ **perPayerAfterCredits** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
14
20
 
15
21
  ## Example
16
22
 
17
23
  ```typescript
18
- import { EstimateEventPrice200Response } from '@tennac-booking/sdk';
24
+ import { EstimateEventPriceResponse } from '@tennac-booking/sdk';
19
25
 
20
- const instance: EstimateEventPrice200Response = {
21
- perPayerAfterCredits,
22
- totalAfterCredits,
23
- creditsAppliedInCents,
24
- currency,
25
- total,
26
+ const instance: EstimateEventPriceResponse = {
26
27
  perPlayer,
28
+ playerPrices,
29
+ perPayer,
30
+ total,
31
+ currency,
32
+ paymentMethod,
33
+ playersCount,
34
+ reservedPlayerCount,
35
+ missingParticipantsCount,
36
+ creditsAppliedInCents,
37
+ totalAfterCredits,
38
+ perPayerAfterCredits,
27
39
  };
28
40
  ```
29
41
 
@@ -1,21 +1,21 @@
1
- # EstimateEventPriceRequestSharesInner
1
+ # EstimateEventPriceShare
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **paysAlsoFor** | **Array&lt;string&gt;** | | [optional] [default to undefined]
9
8
  **playerId** | **string** | | [default to undefined]
9
+ **paysAlsoFor** | **Array&lt;string&gt;** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { EstimateEventPriceRequestSharesInner } from '@tennac-booking/sdk';
14
+ import { EstimateEventPriceShare } from '@tennac-booking/sdk';
15
15
 
16
- const instance: EstimateEventPriceRequestSharesInner = {
17
- paysAlsoFor,
16
+ const instance: EstimateEventPriceShare = {
18
17
  playerId,
18
+ paysAlsoFor,
19
19
  };
20
20
  ```
21
21
 
package/docs/EventsApi.md CHANGED
@@ -77,7 +77,7 @@ No authorization required
77
77
  [[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)
78
78
 
79
79
  # **estimateEventPrice**
80
- > EstimateEventPrice200Response estimateEventPrice(estimateEventPriceRequest)
80
+ > EstimateEventPriceResponse estimateEventPrice(estimateEventPriceRequest)
81
81
 
82
82
  Estime le prix de participation à un événement pour une liste de joueurs
83
83
 
@@ -112,7 +112,7 @@ const { status, data } = await apiInstance.estimateEventPrice(
112
112
 
113
113
  ### Return type
114
114
 
115
- **EstimateEventPrice200Response**
115
+ **EstimateEventPriceResponse**
116
116
 
117
117
  ### Authorization
118
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.300",
3
+ "version": "1.0.302",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {