@tennac-booking/sdk 1.0.212 → 1.0.214
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 +10 -2
- package/README.md +15 -5
- package/api.ts +581 -71
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +474 -67
- package/dist/api.js +177 -17
- 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 +474 -67
- package/dist/esm/api.js +172 -12
- 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/BookingsUserApi.md +6 -6
- package/docs/MarkNotificationsReadRequest.md +22 -0
- package/docs/MarkNotificationsReadResponse.md +20 -0
- package/docs/NotificationData.md +22 -0
- package/docs/NotificationParticipantPreview.md +22 -0
- package/docs/NotificationPreview.md +58 -0
- package/docs/NotificationResponse.md +36 -0
- package/docs/NotificationType.md +26 -0
- package/docs/OpenBookingPriceBody.md +26 -0
- package/docs/UserNotificationsResponse.md +22 -0
- package/docs/UserNotificationsResponseMeta.md +28 -0
- package/docs/UsersApi.md +110 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/GetOpenBookingPrice200Response.md +0 -24
- package/docs/GetOpenBookingPriceRequest.md +0 -26
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.214
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6616,64 +6616,6 @@ export interface GetInfillPercentagePerPeriod200Response {
|
|
|
6616
6616
|
*/
|
|
6617
6617
|
'infillPercentage': number;
|
|
6618
6618
|
}
|
|
6619
|
-
/**
|
|
6620
|
-
*
|
|
6621
|
-
* @export
|
|
6622
|
-
* @interface GetOpenBookingPrice200Response
|
|
6623
|
-
*/
|
|
6624
|
-
export interface GetOpenBookingPrice200Response {
|
|
6625
|
-
/**
|
|
6626
|
-
*
|
|
6627
|
-
* @type {number}
|
|
6628
|
-
* @memberof GetOpenBookingPrice200Response
|
|
6629
|
-
*/
|
|
6630
|
-
'totalBasePrice': number;
|
|
6631
|
-
/**
|
|
6632
|
-
*
|
|
6633
|
-
* @type {Array<PlayerPrice>}
|
|
6634
|
-
* @memberof GetOpenBookingPrice200Response
|
|
6635
|
-
*/
|
|
6636
|
-
'playersPrices': Array<PlayerPrice>;
|
|
6637
|
-
/**
|
|
6638
|
-
*
|
|
6639
|
-
* @type {number}
|
|
6640
|
-
* @memberof GetOpenBookingPrice200Response
|
|
6641
|
-
*/
|
|
6642
|
-
'basePricePerPlayer': number;
|
|
6643
|
-
}
|
|
6644
|
-
/**
|
|
6645
|
-
*
|
|
6646
|
-
* @export
|
|
6647
|
-
* @interface GetOpenBookingPriceRequest
|
|
6648
|
-
*/
|
|
6649
|
-
export interface GetOpenBookingPriceRequest {
|
|
6650
|
-
/**
|
|
6651
|
-
* Construct a type with a set of properties K of type T
|
|
6652
|
-
* @type {{ [key: string]: number; }}
|
|
6653
|
-
* @memberof GetOpenBookingPriceRequest
|
|
6654
|
-
*/
|
|
6655
|
-
'creditsByPlayer'?: {
|
|
6656
|
-
[key: string]: number;
|
|
6657
|
-
};
|
|
6658
|
-
/**
|
|
6659
|
-
*
|
|
6660
|
-
* @type {Array<string>}
|
|
6661
|
-
* @memberof GetOpenBookingPriceRequest
|
|
6662
|
-
*/
|
|
6663
|
-
'initialPlayerIds'?: Array<string>;
|
|
6664
|
-
/**
|
|
6665
|
-
*
|
|
6666
|
-
* @type {number}
|
|
6667
|
-
* @memberof GetOpenBookingPriceRequest
|
|
6668
|
-
*/
|
|
6669
|
-
'maxPlayers': number;
|
|
6670
|
-
/**
|
|
6671
|
-
*
|
|
6672
|
-
* @type {Array<string>}
|
|
6673
|
-
* @memberof GetOpenBookingPriceRequest
|
|
6674
|
-
*/
|
|
6675
|
-
'slotIds': Array<string>;
|
|
6676
|
-
}
|
|
6677
6619
|
/**
|
|
6678
6620
|
*
|
|
6679
6621
|
* @export
|
|
@@ -8163,6 +8105,38 @@ export interface ManagerCancelBookingResponse {
|
|
|
8163
8105
|
*/
|
|
8164
8106
|
'booking': BookingInfo;
|
|
8165
8107
|
}
|
|
8108
|
+
/**
|
|
8109
|
+
*
|
|
8110
|
+
* @export
|
|
8111
|
+
* @interface MarkNotificationsReadRequest
|
|
8112
|
+
*/
|
|
8113
|
+
export interface MarkNotificationsReadRequest {
|
|
8114
|
+
/**
|
|
8115
|
+
*
|
|
8116
|
+
* @type {Array<string>}
|
|
8117
|
+
* @memberof MarkNotificationsReadRequest
|
|
8118
|
+
*/
|
|
8119
|
+
'notificationIds'?: Array<string>;
|
|
8120
|
+
/**
|
|
8121
|
+
*
|
|
8122
|
+
* @type {boolean}
|
|
8123
|
+
* @memberof MarkNotificationsReadRequest
|
|
8124
|
+
*/
|
|
8125
|
+
'readAll'?: boolean;
|
|
8126
|
+
}
|
|
8127
|
+
/**
|
|
8128
|
+
*
|
|
8129
|
+
* @export
|
|
8130
|
+
* @interface MarkNotificationsReadResponse
|
|
8131
|
+
*/
|
|
8132
|
+
export interface MarkNotificationsReadResponse {
|
|
8133
|
+
/**
|
|
8134
|
+
*
|
|
8135
|
+
* @type {number}
|
|
8136
|
+
* @memberof MarkNotificationsReadResponse
|
|
8137
|
+
*/
|
|
8138
|
+
'updatedCount': number;
|
|
8139
|
+
}
|
|
8166
8140
|
/**
|
|
8167
8141
|
*
|
|
8168
8142
|
* @export
|
|
@@ -8354,6 +8328,252 @@ export interface NoShowRateResponse {
|
|
|
8354
8328
|
*/
|
|
8355
8329
|
'rate': number;
|
|
8356
8330
|
}
|
|
8331
|
+
/**
|
|
8332
|
+
*
|
|
8333
|
+
* @export
|
|
8334
|
+
* @interface NotificationData
|
|
8335
|
+
*/
|
|
8336
|
+
export interface NotificationData {
|
|
8337
|
+
/**
|
|
8338
|
+
*
|
|
8339
|
+
* @type {string}
|
|
8340
|
+
* @memberof NotificationData
|
|
8341
|
+
*/
|
|
8342
|
+
'pathname': string;
|
|
8343
|
+
/**
|
|
8344
|
+
* Construct a type with a set of properties K of type T
|
|
8345
|
+
* @type {{ [key: string]: string; }}
|
|
8346
|
+
* @memberof NotificationData
|
|
8347
|
+
*/
|
|
8348
|
+
'params'?: {
|
|
8349
|
+
[key: string]: string;
|
|
8350
|
+
};
|
|
8351
|
+
}
|
|
8352
|
+
/**
|
|
8353
|
+
*
|
|
8354
|
+
* @export
|
|
8355
|
+
* @interface NotificationParticipantPreview
|
|
8356
|
+
*/
|
|
8357
|
+
export interface NotificationParticipantPreview {
|
|
8358
|
+
/**
|
|
8359
|
+
*
|
|
8360
|
+
* @type {string}
|
|
8361
|
+
* @memberof NotificationParticipantPreview
|
|
8362
|
+
*/
|
|
8363
|
+
'id'?: string;
|
|
8364
|
+
/**
|
|
8365
|
+
*
|
|
8366
|
+
* @type {string}
|
|
8367
|
+
* @memberof NotificationParticipantPreview
|
|
8368
|
+
*/
|
|
8369
|
+
'name'?: string;
|
|
8370
|
+
}
|
|
8371
|
+
/**
|
|
8372
|
+
*
|
|
8373
|
+
* @export
|
|
8374
|
+
* @interface NotificationPreview
|
|
8375
|
+
*/
|
|
8376
|
+
export interface NotificationPreview {
|
|
8377
|
+
/**
|
|
8378
|
+
*
|
|
8379
|
+
* @type {string}
|
|
8380
|
+
* @memberof NotificationPreview
|
|
8381
|
+
*/
|
|
8382
|
+
'bookingId'?: string;
|
|
8383
|
+
/**
|
|
8384
|
+
*
|
|
8385
|
+
* @type {string}
|
|
8386
|
+
* @memberof NotificationPreview
|
|
8387
|
+
*/
|
|
8388
|
+
'eventId'?: string;
|
|
8389
|
+
/**
|
|
8390
|
+
*
|
|
8391
|
+
* @type {string}
|
|
8392
|
+
* @memberof NotificationPreview
|
|
8393
|
+
*/
|
|
8394
|
+
'eventBookingId'?: string;
|
|
8395
|
+
/**
|
|
8396
|
+
*
|
|
8397
|
+
* @type {string}
|
|
8398
|
+
* @memberof NotificationPreview
|
|
8399
|
+
*/
|
|
8400
|
+
'clubId'?: string;
|
|
8401
|
+
/**
|
|
8402
|
+
*
|
|
8403
|
+
* @type {string}
|
|
8404
|
+
* @memberof NotificationPreview
|
|
8405
|
+
*/
|
|
8406
|
+
'clubName'?: string;
|
|
8407
|
+
/**
|
|
8408
|
+
*
|
|
8409
|
+
* @type {string}
|
|
8410
|
+
* @memberof NotificationPreview
|
|
8411
|
+
*/
|
|
8412
|
+
'courtName'?: string;
|
|
8413
|
+
/**
|
|
8414
|
+
*
|
|
8415
|
+
* @type {string}
|
|
8416
|
+
* @memberof NotificationPreview
|
|
8417
|
+
*/
|
|
8418
|
+
'eventName'?: string;
|
|
8419
|
+
/**
|
|
8420
|
+
*
|
|
8421
|
+
* @type {string}
|
|
8422
|
+
* @memberof NotificationPreview
|
|
8423
|
+
*/
|
|
8424
|
+
'startDate'?: string;
|
|
8425
|
+
/**
|
|
8426
|
+
*
|
|
8427
|
+
* @type {string}
|
|
8428
|
+
* @memberof NotificationPreview
|
|
8429
|
+
*/
|
|
8430
|
+
'endDate'?: string;
|
|
8431
|
+
/**
|
|
8432
|
+
*
|
|
8433
|
+
* @type {number}
|
|
8434
|
+
* @memberof NotificationPreview
|
|
8435
|
+
*/
|
|
8436
|
+
'reminderDelayHours'?: number;
|
|
8437
|
+
/**
|
|
8438
|
+
*
|
|
8439
|
+
* @type {string}
|
|
8440
|
+
* @memberof NotificationPreview
|
|
8441
|
+
*/
|
|
8442
|
+
'reason'?: string;
|
|
8443
|
+
/**
|
|
8444
|
+
*
|
|
8445
|
+
* @type {string}
|
|
8446
|
+
* @memberof NotificationPreview
|
|
8447
|
+
*/
|
|
8448
|
+
'joinerId'?: string;
|
|
8449
|
+
/**
|
|
8450
|
+
*
|
|
8451
|
+
* @type {string}
|
|
8452
|
+
* @memberof NotificationPreview
|
|
8453
|
+
*/
|
|
8454
|
+
'joinerName'?: string;
|
|
8455
|
+
/**
|
|
8456
|
+
*
|
|
8457
|
+
* @type {string}
|
|
8458
|
+
* @memberof NotificationPreview
|
|
8459
|
+
*/
|
|
8460
|
+
'targetLabel'?: string;
|
|
8461
|
+
/**
|
|
8462
|
+
*
|
|
8463
|
+
* @type {string}
|
|
8464
|
+
* @memberof NotificationPreview
|
|
8465
|
+
*/
|
|
8466
|
+
'targetType'?: string;
|
|
8467
|
+
/**
|
|
8468
|
+
*
|
|
8469
|
+
* @type {string}
|
|
8470
|
+
* @memberof NotificationPreview
|
|
8471
|
+
*/
|
|
8472
|
+
'targetId'?: string;
|
|
8473
|
+
/**
|
|
8474
|
+
*
|
|
8475
|
+
* @type {number}
|
|
8476
|
+
* @memberof NotificationPreview
|
|
8477
|
+
*/
|
|
8478
|
+
'priceInCents'?: number;
|
|
8479
|
+
/**
|
|
8480
|
+
*
|
|
8481
|
+
* @type {string}
|
|
8482
|
+
* @memberof NotificationPreview
|
|
8483
|
+
*/
|
|
8484
|
+
'expiresAt'?: string;
|
|
8485
|
+
/**
|
|
8486
|
+
*
|
|
8487
|
+
* @type {number}
|
|
8488
|
+
* @memberof NotificationPreview
|
|
8489
|
+
*/
|
|
8490
|
+
'waitingListPaymentHoldDuration'?: number;
|
|
8491
|
+
/**
|
|
8492
|
+
*
|
|
8493
|
+
* @type {Array<NotificationParticipantPreview>}
|
|
8494
|
+
* @memberof NotificationPreview
|
|
8495
|
+
*/
|
|
8496
|
+
'participants'?: Array<NotificationParticipantPreview>;
|
|
8497
|
+
}
|
|
8498
|
+
/**
|
|
8499
|
+
*
|
|
8500
|
+
* @export
|
|
8501
|
+
* @interface NotificationResponse
|
|
8502
|
+
*/
|
|
8503
|
+
export interface NotificationResponse {
|
|
8504
|
+
/**
|
|
8505
|
+
*
|
|
8506
|
+
* @type {string}
|
|
8507
|
+
* @memberof NotificationResponse
|
|
8508
|
+
*/
|
|
8509
|
+
'id': string;
|
|
8510
|
+
/**
|
|
8511
|
+
*
|
|
8512
|
+
* @type {NotificationType}
|
|
8513
|
+
* @memberof NotificationResponse
|
|
8514
|
+
*/
|
|
8515
|
+
'type': NotificationType;
|
|
8516
|
+
/**
|
|
8517
|
+
*
|
|
8518
|
+
* @type {string}
|
|
8519
|
+
* @memberof NotificationResponse
|
|
8520
|
+
*/
|
|
8521
|
+
'title': string;
|
|
8522
|
+
/**
|
|
8523
|
+
*
|
|
8524
|
+
* @type {string}
|
|
8525
|
+
* @memberof NotificationResponse
|
|
8526
|
+
*/
|
|
8527
|
+
'message': string;
|
|
8528
|
+
/**
|
|
8529
|
+
*
|
|
8530
|
+
* @type {NotificationData}
|
|
8531
|
+
* @memberof NotificationResponse
|
|
8532
|
+
*/
|
|
8533
|
+
'data'?: NotificationData;
|
|
8534
|
+
/**
|
|
8535
|
+
*
|
|
8536
|
+
* @type {NotificationPreview}
|
|
8537
|
+
* @memberof NotificationResponse
|
|
8538
|
+
*/
|
|
8539
|
+
'preview'?: NotificationPreview;
|
|
8540
|
+
/**
|
|
8541
|
+
*
|
|
8542
|
+
* @type {string}
|
|
8543
|
+
* @memberof NotificationResponse
|
|
8544
|
+
*/
|
|
8545
|
+
'createdAt': string;
|
|
8546
|
+
/**
|
|
8547
|
+
*
|
|
8548
|
+
* @type {string}
|
|
8549
|
+
* @memberof NotificationResponse
|
|
8550
|
+
*/
|
|
8551
|
+
'readAt'?: string | null;
|
|
8552
|
+
/**
|
|
8553
|
+
*
|
|
8554
|
+
* @type {boolean}
|
|
8555
|
+
* @memberof NotificationResponse
|
|
8556
|
+
*/
|
|
8557
|
+
'isRead': boolean;
|
|
8558
|
+
}
|
|
8559
|
+
/**
|
|
8560
|
+
*
|
|
8561
|
+
* @export
|
|
8562
|
+
* @enum {string}
|
|
8563
|
+
*/
|
|
8564
|
+
export declare const NotificationType: {
|
|
8565
|
+
readonly BookingCreated: "booking_created";
|
|
8566
|
+
readonly BookingSetupRequired: "booking_setup_required";
|
|
8567
|
+
readonly BookingCancelled: "booking_cancelled";
|
|
8568
|
+
readonly BookingReminder: "booking_reminder";
|
|
8569
|
+
readonly EventRegistrationConfirmed: "event_registration_confirmed";
|
|
8570
|
+
readonly EventReminder: "event_reminder";
|
|
8571
|
+
readonly OpenBookingJoined: "open_booking_joined";
|
|
8572
|
+
readonly OpenBookingJoinConfirmed: "open_booking_join_confirmed";
|
|
8573
|
+
readonly WaitlistSpotAvailable: "waitlist_spot_available";
|
|
8574
|
+
readonly WaitlistConfirmed: "waitlist_confirmed";
|
|
8575
|
+
};
|
|
8576
|
+
export type NotificationType = typeof NotificationType[keyof typeof NotificationType];
|
|
8357
8577
|
/**
|
|
8358
8578
|
*
|
|
8359
8579
|
* @export
|
|
@@ -8587,6 +8807,37 @@ export interface OpenBookingPlayerInfo {
|
|
|
8587
8807
|
*/
|
|
8588
8808
|
'profilePicture'?: string;
|
|
8589
8809
|
}
|
|
8810
|
+
/**
|
|
8811
|
+
*
|
|
8812
|
+
* @export
|
|
8813
|
+
* @interface OpenBookingPriceBody
|
|
8814
|
+
*/
|
|
8815
|
+
export interface OpenBookingPriceBody {
|
|
8816
|
+
/**
|
|
8817
|
+
*
|
|
8818
|
+
* @type {Array<string>}
|
|
8819
|
+
* @memberof OpenBookingPriceBody
|
|
8820
|
+
*/
|
|
8821
|
+
'slotIds': Array<string>;
|
|
8822
|
+
/**
|
|
8823
|
+
*
|
|
8824
|
+
* @type {Array<PlayerShare>}
|
|
8825
|
+
* @memberof OpenBookingPriceBody
|
|
8826
|
+
*/
|
|
8827
|
+
'playerShares'?: Array<PlayerShare>;
|
|
8828
|
+
/**
|
|
8829
|
+
*
|
|
8830
|
+
* @type {number}
|
|
8831
|
+
* @memberof OpenBookingPriceBody
|
|
8832
|
+
*/
|
|
8833
|
+
'creditToUseInCents'?: number;
|
|
8834
|
+
/**
|
|
8835
|
+
*
|
|
8836
|
+
* @type {number}
|
|
8837
|
+
* @memberof OpenBookingPriceBody
|
|
8838
|
+
*/
|
|
8839
|
+
'maxPlayersDesired': number;
|
|
8840
|
+
}
|
|
8590
8841
|
/**
|
|
8591
8842
|
*
|
|
8592
8843
|
* @export
|
|
@@ -13747,6 +13998,62 @@ export interface UserNextBookingSummary {
|
|
|
13747
13998
|
*/
|
|
13748
13999
|
'club': BookingClubInfo | null;
|
|
13749
14000
|
}
|
|
14001
|
+
/**
|
|
14002
|
+
*
|
|
14003
|
+
* @export
|
|
14004
|
+
* @interface UserNotificationsResponse
|
|
14005
|
+
*/
|
|
14006
|
+
export interface UserNotificationsResponse {
|
|
14007
|
+
/**
|
|
14008
|
+
*
|
|
14009
|
+
* @type {Array<NotificationResponse>}
|
|
14010
|
+
* @memberof UserNotificationsResponse
|
|
14011
|
+
*/
|
|
14012
|
+
'notifications': Array<NotificationResponse>;
|
|
14013
|
+
/**
|
|
14014
|
+
*
|
|
14015
|
+
* @type {UserNotificationsResponseMeta}
|
|
14016
|
+
* @memberof UserNotificationsResponse
|
|
14017
|
+
*/
|
|
14018
|
+
'meta': UserNotificationsResponseMeta;
|
|
14019
|
+
}
|
|
14020
|
+
/**
|
|
14021
|
+
*
|
|
14022
|
+
* @export
|
|
14023
|
+
* @interface UserNotificationsResponseMeta
|
|
14024
|
+
*/
|
|
14025
|
+
export interface UserNotificationsResponseMeta {
|
|
14026
|
+
/**
|
|
14027
|
+
*
|
|
14028
|
+
* @type {number}
|
|
14029
|
+
* @memberof UserNotificationsResponseMeta
|
|
14030
|
+
*/
|
|
14031
|
+
'unreadCount': number;
|
|
14032
|
+
/**
|
|
14033
|
+
*
|
|
14034
|
+
* @type {boolean}
|
|
14035
|
+
* @memberof UserNotificationsResponseMeta
|
|
14036
|
+
*/
|
|
14037
|
+
'hasMore': boolean;
|
|
14038
|
+
/**
|
|
14039
|
+
*
|
|
14040
|
+
* @type {number}
|
|
14041
|
+
* @memberof UserNotificationsResponseMeta
|
|
14042
|
+
*/
|
|
14043
|
+
'total': number;
|
|
14044
|
+
/**
|
|
14045
|
+
*
|
|
14046
|
+
* @type {number}
|
|
14047
|
+
* @memberof UserNotificationsResponseMeta
|
|
14048
|
+
*/
|
|
14049
|
+
'skip': number;
|
|
14050
|
+
/**
|
|
14051
|
+
*
|
|
14052
|
+
* @type {number}
|
|
14053
|
+
* @memberof UserNotificationsResponseMeta
|
|
14054
|
+
*/
|
|
14055
|
+
'limit': number;
|
|
14056
|
+
}
|
|
13750
14057
|
/**
|
|
13751
14058
|
*
|
|
13752
14059
|
* @export
|
|
@@ -15782,11 +16089,11 @@ export declare const BookingsUserApiAxiosParamCreator: (configuration?: Configur
|
|
|
15782
16089
|
createOpenBooking: (createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15783
16090
|
/**
|
|
15784
16091
|
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
15785
|
-
* @param {
|
|
16092
|
+
* @param {OpenBookingPriceBody} openBookingPriceBody
|
|
15786
16093
|
* @param {*} [options] Override http request option.
|
|
15787
16094
|
* @throws {RequiredError}
|
|
15788
16095
|
*/
|
|
15789
|
-
getOpenBookingPrice: (
|
|
16096
|
+
getOpenBookingPrice: (openBookingPriceBody: OpenBookingPriceBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15790
16097
|
/**
|
|
15791
16098
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
15792
16099
|
* @param {string} bookingId
|
|
@@ -15824,11 +16131,11 @@ export declare const BookingsUserApiFp: (configuration?: Configuration) => {
|
|
|
15824
16131
|
createOpenBooking(createOpenBookingRequest: CreateOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponse>>;
|
|
15825
16132
|
/**
|
|
15826
16133
|
* Calculer le prix d\'une réservation ouverte avec joueurs initiaux
|
|
15827
|
-
* @param {
|
|
16134
|
+
* @param {OpenBookingPriceBody} openBookingPriceBody
|
|
15828
16135
|
* @param {*} [options] Override http request option.
|
|
15829
16136
|
* @throws {RequiredError}
|
|
15830
16137
|
*/
|
|
15831
|
-
getOpenBookingPrice(
|
|
16138
|
+
getOpenBookingPrice(openBookingPriceBody: OpenBookingPriceBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPriceResponse>>;
|
|
15832
16139
|
/**
|
|
15833
16140
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
15834
16141
|
* @param {string} bookingId
|
|
@@ -15870,7 +16177,7 @@ export declare const BookingsUserApiFactory: (configuration?: Configuration, bas
|
|
|
15870
16177
|
* @param {*} [options] Override http request option.
|
|
15871
16178
|
* @throws {RequiredError}
|
|
15872
16179
|
*/
|
|
15873
|
-
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16180
|
+
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingPriceResponse>;
|
|
15874
16181
|
/**
|
|
15875
16182
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
15876
16183
|
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
@@ -15926,10 +16233,10 @@ export interface BookingsUserApiCreateOpenBookingRequest {
|
|
|
15926
16233
|
export interface BookingsUserApiGetOpenBookingPriceRequest {
|
|
15927
16234
|
/**
|
|
15928
16235
|
*
|
|
15929
|
-
* @type {
|
|
16236
|
+
* @type {OpenBookingPriceBody}
|
|
15930
16237
|
* @memberof BookingsUserApiGetOpenBookingPrice
|
|
15931
16238
|
*/
|
|
15932
|
-
readonly
|
|
16239
|
+
readonly openBookingPriceBody: OpenBookingPriceBody;
|
|
15933
16240
|
}
|
|
15934
16241
|
/**
|
|
15935
16242
|
* Request parameters for updateOpenBooking operation in BookingsUserApi.
|
|
@@ -15988,7 +16295,7 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
15988
16295
|
* @throws {RequiredError}
|
|
15989
16296
|
* @memberof BookingsUserApi
|
|
15990
16297
|
*/
|
|
15991
|
-
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
16298
|
+
getOpenBookingPrice(requestParameters: BookingsUserApiGetOpenBookingPriceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingPriceResponse, any, {}>>;
|
|
15992
16299
|
/**
|
|
15993
16300
|
* Mettre à jour une réservation ouverte (description et niveau minimal)
|
|
15994
16301
|
* @param {BookingsUserApiUpdateOpenBookingRequest} requestParameters Request parameters.
|
|
@@ -23288,6 +23595,15 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23288
23595
|
* @throws {RequiredError}
|
|
23289
23596
|
*/
|
|
23290
23597
|
getUserEvents: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23598
|
+
/**
|
|
23599
|
+
*
|
|
23600
|
+
* @param {number} [limit]
|
|
23601
|
+
* @param {number} [skip]
|
|
23602
|
+
* @param {any} [includeRead]
|
|
23603
|
+
* @param {*} [options] Override http request option.
|
|
23604
|
+
* @throws {RequiredError}
|
|
23605
|
+
*/
|
|
23606
|
+
getUserNotifications: (limit?: number, skip?: number, includeRead?: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23291
23607
|
/**
|
|
23292
23608
|
*
|
|
23293
23609
|
* @param {string} id
|
|
@@ -23332,6 +23648,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
23332
23648
|
* @throws {RequiredError}
|
|
23333
23649
|
*/
|
|
23334
23650
|
loginClubMember: (loginRequestBody: LoginRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23651
|
+
/**
|
|
23652
|
+
*
|
|
23653
|
+
* @param {MarkNotificationsReadRequest} markNotificationsReadRequest
|
|
23654
|
+
* @param {*} [options] Override http request option.
|
|
23655
|
+
* @throws {RequiredError}
|
|
23656
|
+
*/
|
|
23657
|
+
markNotificationsRead: (markNotificationsReadRequest: MarkNotificationsReadRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
23335
23658
|
/**
|
|
23336
23659
|
*
|
|
23337
23660
|
* @param {RefreshTokenRequestBody} refreshTokenRequestBody
|
|
@@ -23623,6 +23946,15 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
23623
23946
|
* @throws {RequiredError}
|
|
23624
23947
|
*/
|
|
23625
23948
|
getUserEvents(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserEventsResponse>>;
|
|
23949
|
+
/**
|
|
23950
|
+
*
|
|
23951
|
+
* @param {number} [limit]
|
|
23952
|
+
* @param {number} [skip]
|
|
23953
|
+
* @param {any} [includeRead]
|
|
23954
|
+
* @param {*} [options] Override http request option.
|
|
23955
|
+
* @throws {RequiredError}
|
|
23956
|
+
*/
|
|
23957
|
+
getUserNotifications(limit?: number, skip?: number, includeRead?: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserNotificationsResponse>>;
|
|
23626
23958
|
/**
|
|
23627
23959
|
*
|
|
23628
23960
|
* @param {string} id
|
|
@@ -23667,6 +23999,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
23667
23999
|
* @throws {RequiredError}
|
|
23668
24000
|
*/
|
|
23669
24001
|
loginClubMember(loginRequestBody: LoginRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
|
|
24002
|
+
/**
|
|
24003
|
+
*
|
|
24004
|
+
* @param {MarkNotificationsReadRequest} markNotificationsReadRequest
|
|
24005
|
+
* @param {*} [options] Override http request option.
|
|
24006
|
+
* @throws {RequiredError}
|
|
24007
|
+
*/
|
|
24008
|
+
markNotificationsRead(markNotificationsReadRequest: MarkNotificationsReadRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MarkNotificationsReadResponse>>;
|
|
23670
24009
|
/**
|
|
23671
24010
|
*
|
|
23672
24011
|
* @param {RefreshTokenRequestBody} refreshTokenRequestBody
|
|
@@ -23948,6 +24287,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
23948
24287
|
* @throws {RequiredError}
|
|
23949
24288
|
*/
|
|
23950
24289
|
getUserEvents(requestParameters?: UsersApiGetUserEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserEventsResponse>;
|
|
24290
|
+
/**
|
|
24291
|
+
*
|
|
24292
|
+
* @param {UsersApiGetUserNotificationsRequest} requestParameters Request parameters.
|
|
24293
|
+
* @param {*} [options] Override http request option.
|
|
24294
|
+
* @throws {RequiredError}
|
|
24295
|
+
*/
|
|
24296
|
+
getUserNotifications(requestParameters?: UsersApiGetUserNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserNotificationsResponse>;
|
|
23951
24297
|
/**
|
|
23952
24298
|
*
|
|
23953
24299
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -23983,6 +24329,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
23983
24329
|
* @throws {RequiredError}
|
|
23984
24330
|
*/
|
|
23985
24331
|
loginClubMember(requestParameters: UsersApiLoginClubMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponse>;
|
|
24332
|
+
/**
|
|
24333
|
+
*
|
|
24334
|
+
* @param {UsersApiMarkNotificationsReadRequest} requestParameters Request parameters.
|
|
24335
|
+
* @param {*} [options] Override http request option.
|
|
24336
|
+
* @throws {RequiredError}
|
|
24337
|
+
*/
|
|
24338
|
+
markNotificationsRead(requestParameters: UsersApiMarkNotificationsReadRequest, options?: RawAxiosRequestConfig): AxiosPromise<MarkNotificationsReadResponse>;
|
|
23986
24339
|
/**
|
|
23987
24340
|
*
|
|
23988
24341
|
* @param {UsersApiRefreshTokenRequest} requestParameters Request parameters.
|
|
@@ -24332,6 +24685,31 @@ export interface UsersApiGetUserEventsRequest {
|
|
|
24332
24685
|
*/
|
|
24333
24686
|
readonly skip?: number;
|
|
24334
24687
|
}
|
|
24688
|
+
/**
|
|
24689
|
+
* Request parameters for getUserNotifications operation in UsersApi.
|
|
24690
|
+
* @export
|
|
24691
|
+
* @interface UsersApiGetUserNotificationsRequest
|
|
24692
|
+
*/
|
|
24693
|
+
export interface UsersApiGetUserNotificationsRequest {
|
|
24694
|
+
/**
|
|
24695
|
+
*
|
|
24696
|
+
* @type {number}
|
|
24697
|
+
* @memberof UsersApiGetUserNotifications
|
|
24698
|
+
*/
|
|
24699
|
+
readonly limit?: number;
|
|
24700
|
+
/**
|
|
24701
|
+
*
|
|
24702
|
+
* @type {number}
|
|
24703
|
+
* @memberof UsersApiGetUserNotifications
|
|
24704
|
+
*/
|
|
24705
|
+
readonly skip?: number;
|
|
24706
|
+
/**
|
|
24707
|
+
*
|
|
24708
|
+
* @type {any}
|
|
24709
|
+
* @memberof UsersApiGetUserNotifications
|
|
24710
|
+
*/
|
|
24711
|
+
readonly includeRead?: any;
|
|
24712
|
+
}
|
|
24335
24713
|
/**
|
|
24336
24714
|
* Request parameters for getUserProfileById operation in UsersApi.
|
|
24337
24715
|
* @export
|
|
@@ -24451,6 +24829,19 @@ export interface UsersApiLoginClubMemberRequest {
|
|
|
24451
24829
|
*/
|
|
24452
24830
|
readonly loginRequestBody: LoginRequestBody;
|
|
24453
24831
|
}
|
|
24832
|
+
/**
|
|
24833
|
+
* Request parameters for markNotificationsRead operation in UsersApi.
|
|
24834
|
+
* @export
|
|
24835
|
+
* @interface UsersApiMarkNotificationsReadRequest
|
|
24836
|
+
*/
|
|
24837
|
+
export interface UsersApiMarkNotificationsReadRequest {
|
|
24838
|
+
/**
|
|
24839
|
+
*
|
|
24840
|
+
* @type {MarkNotificationsReadRequest}
|
|
24841
|
+
* @memberof UsersApiMarkNotificationsRead
|
|
24842
|
+
*/
|
|
24843
|
+
readonly markNotificationsReadRequest: MarkNotificationsReadRequest;
|
|
24844
|
+
}
|
|
24454
24845
|
/**
|
|
24455
24846
|
* Request parameters for refreshToken operation in UsersApi.
|
|
24456
24847
|
* @export
|
|
@@ -24870,6 +25261,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
24870
25261
|
* @memberof UsersApi
|
|
24871
25262
|
*/
|
|
24872
25263
|
getUserEvents(requestParameters?: UsersApiGetUserEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserEventsResponse, any, {}>>;
|
|
25264
|
+
/**
|
|
25265
|
+
*
|
|
25266
|
+
* @param {UsersApiGetUserNotificationsRequest} requestParameters Request parameters.
|
|
25267
|
+
* @param {*} [options] Override http request option.
|
|
25268
|
+
* @throws {RequiredError}
|
|
25269
|
+
* @memberof UsersApi
|
|
25270
|
+
*/
|
|
25271
|
+
getUserNotifications(requestParameters?: UsersApiGetUserNotificationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserNotificationsResponse, any, {}>>;
|
|
24873
25272
|
/**
|
|
24874
25273
|
*
|
|
24875
25274
|
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
@@ -24910,6 +25309,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
24910
25309
|
* @memberof UsersApi
|
|
24911
25310
|
*/
|
|
24912
25311
|
loginClubMember(requestParameters: UsersApiLoginClubMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any, {}>>;
|
|
25312
|
+
/**
|
|
25313
|
+
*
|
|
25314
|
+
* @param {UsersApiMarkNotificationsReadRequest} requestParameters Request parameters.
|
|
25315
|
+
* @param {*} [options] Override http request option.
|
|
25316
|
+
* @throws {RequiredError}
|
|
25317
|
+
* @memberof UsersApi
|
|
25318
|
+
*/
|
|
25319
|
+
markNotificationsRead(requestParameters: UsersApiMarkNotificationsReadRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MarkNotificationsReadResponse, any, {}>>;
|
|
24913
25320
|
/**
|
|
24914
25321
|
*
|
|
24915
25322
|
* @param {UsersApiRefreshTokenRequest} requestParameters Request parameters.
|