@tennac-booking/sdk 1.0.68 → 1.0.70
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 +9 -2
- package/README.md +15 -5
- package/api.ts +889 -66
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +650 -42
- package/dist/api.js +295 -8
- 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 +650 -42
- package/dist/esm/api.js +292 -5
- 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/BookingDetailResponse.md +1 -1
- package/docs/{BookingHistory.md → BookingHistoryPopulated.md} +4 -4
- package/docs/BookingPopulated.md +27 -7
- package/docs/BookingStatus.md +3 -3
- package/docs/BookingSummary.md +1 -1
- package/docs/BookingsApi.md +81 -2
- package/docs/BookingsStaffApi.md +3 -3
- package/docs/CourtResponse.md +4 -0
- package/docs/CreateBookingRequest.md +2 -0
- package/docs/{BookingSummaryBookingHistory.md → PlayerCategoriesResponse.md} +5 -3
- package/docs/PlayerCategory.md +26 -0
- package/docs/PlayerCategoryId.md +16 -0
- package/docs/PlayerListResponse.md +26 -0
- package/docs/QuickReservationClubSummary.md +28 -0
- package/docs/QuickReservationClubSummaryLocation.md +31 -0
- package/docs/QuickReservationResponse.md +22 -0
- package/docs/QuickReservationSlotSummary.md +42 -0
- package/docs/UserInfo.md +4 -0
- package/docs/UserProfileResponse.md +2 -0
- package/docs/UsersApi.md +122 -0
- package/index.ts +1 -1
- package/package.json +1 -1
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.68
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -230,10 +230,10 @@ export interface BookingDetailResponse {
|
|
|
230
230
|
'clubAddress'?: BookingSummaryClubAddress | null;
|
|
231
231
|
/**
|
|
232
232
|
*
|
|
233
|
-
* @type {
|
|
233
|
+
* @type {BookingHistoryPopulated}
|
|
234
234
|
* @memberof BookingDetailResponse
|
|
235
235
|
*/
|
|
236
|
-
'bookingHistory'?:
|
|
236
|
+
'bookingHistory'?: BookingHistoryPopulated;
|
|
237
237
|
/**
|
|
238
238
|
*
|
|
239
239
|
* @type {Array<{ [key: string]: any; }>}
|
|
@@ -246,64 +246,64 @@ export interface BookingDetailResponse {
|
|
|
246
246
|
/**
|
|
247
247
|
*
|
|
248
248
|
* @export
|
|
249
|
-
* @interface
|
|
249
|
+
* @interface BookingHistoryPopulated
|
|
250
250
|
*/
|
|
251
|
-
export interface
|
|
251
|
+
export interface BookingHistoryPopulated {
|
|
252
252
|
/**
|
|
253
253
|
*
|
|
254
254
|
* @type {string}
|
|
255
|
-
* @memberof
|
|
255
|
+
* @memberof BookingHistoryPopulated
|
|
256
256
|
*/
|
|
257
257
|
'action': string;
|
|
258
258
|
/**
|
|
259
259
|
*
|
|
260
|
-
* @type {
|
|
261
|
-
* @memberof
|
|
260
|
+
* @type {UserInfo}
|
|
261
|
+
* @memberof BookingHistoryPopulated
|
|
262
262
|
*/
|
|
263
|
-
'performedBy':
|
|
263
|
+
'performedBy': UserInfo;
|
|
264
264
|
/**
|
|
265
265
|
*
|
|
266
266
|
* @type {string}
|
|
267
|
-
* @memberof
|
|
267
|
+
* @memberof BookingHistoryPopulated
|
|
268
268
|
*/
|
|
269
|
-
'performedByType':
|
|
269
|
+
'performedByType': BookingHistoryPopulatedPerformedByTypeEnum;
|
|
270
270
|
/**
|
|
271
271
|
*
|
|
272
272
|
* @type {string}
|
|
273
|
-
* @memberof
|
|
273
|
+
* @memberof BookingHistoryPopulated
|
|
274
274
|
*/
|
|
275
275
|
'details': string;
|
|
276
276
|
/**
|
|
277
277
|
*
|
|
278
278
|
* @type {any}
|
|
279
|
-
* @memberof
|
|
279
|
+
* @memberof BookingHistoryPopulated
|
|
280
280
|
*/
|
|
281
281
|
'metadata'?: any;
|
|
282
282
|
/**
|
|
283
283
|
*
|
|
284
284
|
* @type {string}
|
|
285
|
-
* @memberof
|
|
285
|
+
* @memberof BookingHistoryPopulated
|
|
286
286
|
*/
|
|
287
287
|
'previousStatus'?: string;
|
|
288
288
|
/**
|
|
289
289
|
*
|
|
290
290
|
* @type {string}
|
|
291
|
-
* @memberof
|
|
291
|
+
* @memberof BookingHistoryPopulated
|
|
292
292
|
*/
|
|
293
293
|
'newStatus'?: string;
|
|
294
294
|
/**
|
|
295
295
|
*
|
|
296
296
|
* @type {string}
|
|
297
|
-
* @memberof
|
|
297
|
+
* @memberof BookingHistoryPopulated
|
|
298
298
|
*/
|
|
299
299
|
'createdAt'?: string;
|
|
300
300
|
}
|
|
301
|
-
export declare const
|
|
301
|
+
export declare const BookingHistoryPopulatedPerformedByTypeEnum: {
|
|
302
302
|
readonly User: "user";
|
|
303
303
|
readonly Manager: "manager";
|
|
304
304
|
readonly System: "system";
|
|
305
305
|
};
|
|
306
|
-
export type
|
|
306
|
+
export type BookingHistoryPopulatedPerformedByTypeEnum = typeof BookingHistoryPopulatedPerformedByTypeEnum[keyof typeof BookingHistoryPopulatedPerformedByTypeEnum];
|
|
307
307
|
/**
|
|
308
308
|
*
|
|
309
309
|
* @export
|
|
@@ -513,29 +513,89 @@ export interface BookingPopulated {
|
|
|
513
513
|
*/
|
|
514
514
|
'id': string;
|
|
515
515
|
/**
|
|
516
|
-
*
|
|
516
|
+
*
|
|
517
517
|
* @type {string}
|
|
518
518
|
* @memberof BookingPopulated
|
|
519
519
|
*/
|
|
520
|
-
'
|
|
520
|
+
'clubId': string;
|
|
521
521
|
/**
|
|
522
522
|
*
|
|
523
523
|
* @type {UserInfo}
|
|
524
524
|
* @memberof BookingPopulated
|
|
525
525
|
*/
|
|
526
|
-
'
|
|
526
|
+
'creator': UserInfo;
|
|
527
527
|
/**
|
|
528
528
|
*
|
|
529
529
|
* @type {SlotInfo}
|
|
530
530
|
* @memberof BookingPopulated
|
|
531
531
|
*/
|
|
532
|
-
'
|
|
532
|
+
'slotInfos': SlotInfo;
|
|
533
533
|
/**
|
|
534
534
|
* Statut des paiements par joueur
|
|
535
535
|
* @type {Array<PaymentByPlayerInfo>}
|
|
536
536
|
* @memberof BookingPopulated
|
|
537
537
|
*/
|
|
538
|
-
'
|
|
538
|
+
'paymentByPlayers': Array<PaymentByPlayerInfo>;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {boolean}
|
|
542
|
+
* @memberof BookingPopulated
|
|
543
|
+
*/
|
|
544
|
+
'noShowChargeApplied'?: boolean;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {number}
|
|
548
|
+
* @memberof BookingPopulated
|
|
549
|
+
*/
|
|
550
|
+
'noShowChargeAmount'?: number;
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @type {number}
|
|
554
|
+
* @memberof BookingPopulated
|
|
555
|
+
*/
|
|
556
|
+
'totalPrice': number;
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {boolean}
|
|
560
|
+
* @memberof BookingPopulated
|
|
561
|
+
*/
|
|
562
|
+
'isCreatorPayingAll': boolean;
|
|
563
|
+
/**
|
|
564
|
+
*
|
|
565
|
+
* @type {Array<string>}
|
|
566
|
+
* @memberof BookingPopulated
|
|
567
|
+
*/
|
|
568
|
+
'playersIds': Array<string>;
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @type {Array<BookingHistoryPopulated>}
|
|
572
|
+
* @memberof BookingPopulated
|
|
573
|
+
*/
|
|
574
|
+
'history': Array<BookingHistoryPopulated>;
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @type {BookingStatus}
|
|
578
|
+
* @memberof BookingPopulated
|
|
579
|
+
*/
|
|
580
|
+
'status': BookingStatus;
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @type {boolean}
|
|
584
|
+
* @memberof BookingPopulated
|
|
585
|
+
*/
|
|
586
|
+
'cancelledByManager'?: boolean;
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* @type {string}
|
|
590
|
+
* @memberof BookingPopulated
|
|
591
|
+
*/
|
|
592
|
+
'cancelledBy'?: string;
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @type {string}
|
|
596
|
+
* @memberof BookingPopulated
|
|
597
|
+
*/
|
|
598
|
+
'cancellationReason'?: string;
|
|
539
599
|
}
|
|
540
600
|
/**
|
|
541
601
|
*
|
|
@@ -601,10 +661,10 @@ export interface BookingResponseOnsitePaymentsInner {
|
|
|
601
661
|
* @enum {string}
|
|
602
662
|
*/
|
|
603
663
|
export declare const BookingStatus: {
|
|
664
|
+
readonly Paid: "paid";
|
|
604
665
|
readonly Active: "active";
|
|
605
|
-
readonly Past: "past";
|
|
606
666
|
readonly Pending: "pending";
|
|
607
|
-
readonly
|
|
667
|
+
readonly ActivePaymentsTimeout: "active_payments_timeout";
|
|
608
668
|
readonly Canceled: "canceled";
|
|
609
669
|
readonly NoShow: "no-show";
|
|
610
670
|
};
|
|
@@ -689,17 +749,10 @@ export interface BookingSummary {
|
|
|
689
749
|
'clubAddress'?: BookingSummaryClubAddress | null;
|
|
690
750
|
/**
|
|
691
751
|
*
|
|
692
|
-
* @type {
|
|
752
|
+
* @type {BookingHistoryPopulated}
|
|
693
753
|
* @memberof BookingSummary
|
|
694
754
|
*/
|
|
695
|
-
'bookingHistory'?:
|
|
696
|
-
}
|
|
697
|
-
/**
|
|
698
|
-
*
|
|
699
|
-
* @export
|
|
700
|
-
* @interface BookingSummaryBookingHistory
|
|
701
|
-
*/
|
|
702
|
-
export interface BookingSummaryBookingHistory {
|
|
755
|
+
'bookingHistory'?: BookingHistoryPopulated;
|
|
703
756
|
}
|
|
704
757
|
/**
|
|
705
758
|
*
|
|
@@ -1521,6 +1574,18 @@ export interface CourtResponse {
|
|
|
1521
1574
|
* @memberof CourtResponse
|
|
1522
1575
|
*/
|
|
1523
1576
|
'comments'?: string;
|
|
1577
|
+
/**
|
|
1578
|
+
*
|
|
1579
|
+
* @type {number}
|
|
1580
|
+
* @memberof CourtResponse
|
|
1581
|
+
*/
|
|
1582
|
+
'pricePerHour'?: number;
|
|
1583
|
+
/**
|
|
1584
|
+
*
|
|
1585
|
+
* @type {number}
|
|
1586
|
+
* @memberof CourtResponse
|
|
1587
|
+
*/
|
|
1588
|
+
'bookingCount'?: number;
|
|
1524
1589
|
/**
|
|
1525
1590
|
* Durée par défaut d\'un créneau en minutes
|
|
1526
1591
|
* @type {number}
|
|
@@ -1622,6 +1687,12 @@ export interface CreateBookingRequest {
|
|
|
1622
1687
|
* @memberof CreateBookingRequest
|
|
1623
1688
|
*/
|
|
1624
1689
|
'paymentMethod'?: PaymentMethod;
|
|
1690
|
+
/**
|
|
1691
|
+
* Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut
|
|
1692
|
+
* @type {boolean}
|
|
1693
|
+
* @memberof CreateBookingRequest
|
|
1694
|
+
*/
|
|
1695
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
1625
1696
|
}
|
|
1626
1697
|
/**
|
|
1627
1698
|
*
|
|
@@ -3625,6 +3696,94 @@ export declare const PlanInterval: {
|
|
|
3625
3696
|
readonly Semester: "semester";
|
|
3626
3697
|
};
|
|
3627
3698
|
export type PlanInterval = typeof PlanInterval[keyof typeof PlanInterval];
|
|
3699
|
+
/**
|
|
3700
|
+
*
|
|
3701
|
+
* @export
|
|
3702
|
+
* @interface PlayerCategoriesResponse
|
|
3703
|
+
*/
|
|
3704
|
+
export interface PlayerCategoriesResponse {
|
|
3705
|
+
/**
|
|
3706
|
+
*
|
|
3707
|
+
* @type {Array<PlayerCategory>}
|
|
3708
|
+
* @memberof PlayerCategoriesResponse
|
|
3709
|
+
*/
|
|
3710
|
+
'categories': Array<PlayerCategory>;
|
|
3711
|
+
}
|
|
3712
|
+
/**
|
|
3713
|
+
*
|
|
3714
|
+
* @export
|
|
3715
|
+
* @interface PlayerCategory
|
|
3716
|
+
*/
|
|
3717
|
+
export interface PlayerCategory {
|
|
3718
|
+
/**
|
|
3719
|
+
*
|
|
3720
|
+
* @type {PlayerCategoryId}
|
|
3721
|
+
* @memberof PlayerCategory
|
|
3722
|
+
*/
|
|
3723
|
+
'id': PlayerCategoryId;
|
|
3724
|
+
/**
|
|
3725
|
+
*
|
|
3726
|
+
* @type {string}
|
|
3727
|
+
* @memberof PlayerCategory
|
|
3728
|
+
*/
|
|
3729
|
+
'label': string;
|
|
3730
|
+
/**
|
|
3731
|
+
*
|
|
3732
|
+
* @type {string}
|
|
3733
|
+
* @memberof PlayerCategory
|
|
3734
|
+
*/
|
|
3735
|
+
'description'?: string;
|
|
3736
|
+
/**
|
|
3737
|
+
*
|
|
3738
|
+
* @type {number}
|
|
3739
|
+
* @memberof PlayerCategory
|
|
3740
|
+
*/
|
|
3741
|
+
'limit'?: number;
|
|
3742
|
+
}
|
|
3743
|
+
/**
|
|
3744
|
+
*
|
|
3745
|
+
* @export
|
|
3746
|
+
* @enum {string}
|
|
3747
|
+
*/
|
|
3748
|
+
export declare const PlayerCategoryId: {
|
|
3749
|
+
readonly SameLevel: "same-level";
|
|
3750
|
+
readonly MutualConnections: "mutual-connections";
|
|
3751
|
+
readonly ClubMembers: "club-members";
|
|
3752
|
+
readonly MostActive: "most-active";
|
|
3753
|
+
readonly Nearby: "nearby";
|
|
3754
|
+
};
|
|
3755
|
+
export type PlayerCategoryId = typeof PlayerCategoryId[keyof typeof PlayerCategoryId];
|
|
3756
|
+
/**
|
|
3757
|
+
*
|
|
3758
|
+
* @export
|
|
3759
|
+
* @interface PlayerListResponse
|
|
3760
|
+
*/
|
|
3761
|
+
export interface PlayerListResponse {
|
|
3762
|
+
/**
|
|
3763
|
+
*
|
|
3764
|
+
* @type {Array<PlayerSummary>}
|
|
3765
|
+
* @memberof PlayerListResponse
|
|
3766
|
+
*/
|
|
3767
|
+
'players': Array<PlayerSummary>;
|
|
3768
|
+
/**
|
|
3769
|
+
*
|
|
3770
|
+
* @type {number}
|
|
3771
|
+
* @memberof PlayerListResponse
|
|
3772
|
+
*/
|
|
3773
|
+
'total'?: number;
|
|
3774
|
+
/**
|
|
3775
|
+
*
|
|
3776
|
+
* @type {boolean}
|
|
3777
|
+
* @memberof PlayerListResponse
|
|
3778
|
+
*/
|
|
3779
|
+
'hasMore'?: boolean;
|
|
3780
|
+
/**
|
|
3781
|
+
*
|
|
3782
|
+
* @type {number}
|
|
3783
|
+
* @memberof PlayerListResponse
|
|
3784
|
+
*/
|
|
3785
|
+
'nextOffset'?: number;
|
|
3786
|
+
}
|
|
3628
3787
|
/**
|
|
3629
3788
|
*
|
|
3630
3789
|
* @export
|
|
@@ -3757,13 +3916,13 @@ export interface PlayerSummary {
|
|
|
3757
3916
|
* @type {string}
|
|
3758
3917
|
* @memberof PlayerSummary
|
|
3759
3918
|
*/
|
|
3760
|
-
'lastPlayedAt'?: string;
|
|
3919
|
+
'lastPlayedAt'?: string | null;
|
|
3761
3920
|
/**
|
|
3762
3921
|
*
|
|
3763
3922
|
* @type {number}
|
|
3764
3923
|
* @memberof PlayerSummary
|
|
3765
3924
|
*/
|
|
3766
|
-
'playCount'?: number;
|
|
3925
|
+
'playCount'?: number | null;
|
|
3767
3926
|
}
|
|
3768
3927
|
/**
|
|
3769
3928
|
*
|
|
@@ -3951,6 +4110,184 @@ export interface PublishEventResponse {
|
|
|
3951
4110
|
*/
|
|
3952
4111
|
'event': EventResponse;
|
|
3953
4112
|
}
|
|
4113
|
+
/**
|
|
4114
|
+
*
|
|
4115
|
+
* @export
|
|
4116
|
+
* @interface QuickReservationClubSummary
|
|
4117
|
+
*/
|
|
4118
|
+
export interface QuickReservationClubSummary {
|
|
4119
|
+
/**
|
|
4120
|
+
* ID du club
|
|
4121
|
+
* @type {string}
|
|
4122
|
+
* @memberof QuickReservationClubSummary
|
|
4123
|
+
*/
|
|
4124
|
+
'clubId': string;
|
|
4125
|
+
/**
|
|
4126
|
+
* Nom du club
|
|
4127
|
+
* @type {string}
|
|
4128
|
+
* @memberof QuickReservationClubSummary
|
|
4129
|
+
*/
|
|
4130
|
+
'clubName': string;
|
|
4131
|
+
/**
|
|
4132
|
+
* Distance par rapport à la recherche, en mètres
|
|
4133
|
+
* @type {number}
|
|
4134
|
+
* @memberof QuickReservationClubSummary
|
|
4135
|
+
*/
|
|
4136
|
+
'distanceInMeters': number;
|
|
4137
|
+
/**
|
|
4138
|
+
*
|
|
4139
|
+
* @type {QuickReservationClubSummaryLocation}
|
|
4140
|
+
* @memberof QuickReservationClubSummary
|
|
4141
|
+
*/
|
|
4142
|
+
'location'?: QuickReservationClubSummaryLocation;
|
|
4143
|
+
/**
|
|
4144
|
+
* Créneaux disponibles correspondant aux filtres
|
|
4145
|
+
* @type {Array<QuickReservationSlotSummary>}
|
|
4146
|
+
* @memberof QuickReservationClubSummary
|
|
4147
|
+
*/
|
|
4148
|
+
'slots': Array<QuickReservationSlotSummary>;
|
|
4149
|
+
}
|
|
4150
|
+
/**
|
|
4151
|
+
* Localisation du club
|
|
4152
|
+
* @export
|
|
4153
|
+
* @interface QuickReservationClubSummaryLocation
|
|
4154
|
+
*/
|
|
4155
|
+
export interface QuickReservationClubSummaryLocation {
|
|
4156
|
+
/**
|
|
4157
|
+
*
|
|
4158
|
+
* @type {string}
|
|
4159
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4160
|
+
*/
|
|
4161
|
+
'country'?: string;
|
|
4162
|
+
/**
|
|
4163
|
+
*
|
|
4164
|
+
* @type {string}
|
|
4165
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4166
|
+
*/
|
|
4167
|
+
'postalCode'?: string;
|
|
4168
|
+
/**
|
|
4169
|
+
*
|
|
4170
|
+
* @type {string}
|
|
4171
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4172
|
+
*/
|
|
4173
|
+
'city'?: string;
|
|
4174
|
+
/**
|
|
4175
|
+
*
|
|
4176
|
+
* @type {string}
|
|
4177
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4178
|
+
*/
|
|
4179
|
+
'address'?: string;
|
|
4180
|
+
/**
|
|
4181
|
+
*
|
|
4182
|
+
* @type {number}
|
|
4183
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4184
|
+
*/
|
|
4185
|
+
'longitude'?: number;
|
|
4186
|
+
/**
|
|
4187
|
+
*
|
|
4188
|
+
* @type {number}
|
|
4189
|
+
* @memberof QuickReservationClubSummaryLocation
|
|
4190
|
+
*/
|
|
4191
|
+
'latitude'?: number;
|
|
4192
|
+
}
|
|
4193
|
+
/**
|
|
4194
|
+
*
|
|
4195
|
+
* @export
|
|
4196
|
+
* @interface QuickReservationResponse
|
|
4197
|
+
*/
|
|
4198
|
+
export interface QuickReservationResponse {
|
|
4199
|
+
/**
|
|
4200
|
+
* Nombre total de clubs contenant des créneaux disponibles
|
|
4201
|
+
* @type {number}
|
|
4202
|
+
* @memberof QuickReservationResponse
|
|
4203
|
+
*/
|
|
4204
|
+
'totalClubs': number;
|
|
4205
|
+
/**
|
|
4206
|
+
* Liste des clubs et de leurs créneaux disponibles
|
|
4207
|
+
* @type {Array<QuickReservationClubSummary>}
|
|
4208
|
+
* @memberof QuickReservationResponse
|
|
4209
|
+
*/
|
|
4210
|
+
'clubs': Array<QuickReservationClubSummary>;
|
|
4211
|
+
}
|
|
4212
|
+
/**
|
|
4213
|
+
*
|
|
4214
|
+
* @export
|
|
4215
|
+
* @interface QuickReservationSlotSummary
|
|
4216
|
+
*/
|
|
4217
|
+
export interface QuickReservationSlotSummary {
|
|
4218
|
+
/**
|
|
4219
|
+
* ID du créneau
|
|
4220
|
+
* @type {string}
|
|
4221
|
+
* @memberof QuickReservationSlotSummary
|
|
4222
|
+
*/
|
|
4223
|
+
'id': string;
|
|
4224
|
+
/**
|
|
4225
|
+
* Date de début ISO
|
|
4226
|
+
* @type {string}
|
|
4227
|
+
* @memberof QuickReservationSlotSummary
|
|
4228
|
+
*/
|
|
4229
|
+
'startDate': string;
|
|
4230
|
+
/**
|
|
4231
|
+
* Date de fin ISO
|
|
4232
|
+
* @type {string}
|
|
4233
|
+
* @memberof QuickReservationSlotSummary
|
|
4234
|
+
*/
|
|
4235
|
+
'endDate': string;
|
|
4236
|
+
/**
|
|
4237
|
+
* Durée du créneau en minutes
|
|
4238
|
+
* @type {number}
|
|
4239
|
+
* @memberof QuickReservationSlotSummary
|
|
4240
|
+
*/
|
|
4241
|
+
'durationMinutes': number;
|
|
4242
|
+
/**
|
|
4243
|
+
* ID du terrain
|
|
4244
|
+
* @type {string}
|
|
4245
|
+
* @memberof QuickReservationSlotSummary
|
|
4246
|
+
*/
|
|
4247
|
+
'courtId': string;
|
|
4248
|
+
/**
|
|
4249
|
+
* Nom du terrain
|
|
4250
|
+
* @type {string}
|
|
4251
|
+
* @memberof QuickReservationSlotSummary
|
|
4252
|
+
*/
|
|
4253
|
+
'courtName': string;
|
|
4254
|
+
/**
|
|
4255
|
+
* Indique si le terrain est en intérieur
|
|
4256
|
+
* @type {boolean}
|
|
4257
|
+
* @memberof QuickReservationSlotSummary
|
|
4258
|
+
*/
|
|
4259
|
+
'isIndoor': boolean;
|
|
4260
|
+
/**
|
|
4261
|
+
* Surface du terrain
|
|
4262
|
+
* @type {string}
|
|
4263
|
+
* @memberof QuickReservationSlotSummary
|
|
4264
|
+
*/
|
|
4265
|
+
'surface'?: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* Prix horaire du terrain (en euros)
|
|
4268
|
+
* @type {number}
|
|
4269
|
+
* @memberof QuickReservationSlotSummary
|
|
4270
|
+
*/
|
|
4271
|
+
'pricePerHour'?: number;
|
|
4272
|
+
/**
|
|
4273
|
+
* Prix total estimé pour le créneau (en euros)
|
|
4274
|
+
* @type {number}
|
|
4275
|
+
* @memberof QuickReservationSlotSummary
|
|
4276
|
+
*/
|
|
4277
|
+
'totalPrice'?: number;
|
|
4278
|
+
/**
|
|
4279
|
+
* ID du sport associé
|
|
4280
|
+
* @type {string}
|
|
4281
|
+
* @memberof QuickReservationSlotSummary
|
|
4282
|
+
*/
|
|
4283
|
+
'sportId': string;
|
|
4284
|
+
/**
|
|
4285
|
+
* Clé du sport associé
|
|
4286
|
+
* @type {string}
|
|
4287
|
+
* @memberof QuickReservationSlotSummary
|
|
4288
|
+
*/
|
|
4289
|
+
'sportKey'?: string;
|
|
4290
|
+
}
|
|
3954
4291
|
/**
|
|
3955
4292
|
*
|
|
3956
4293
|
* @export
|
|
@@ -6426,6 +6763,18 @@ export interface UserInfo {
|
|
|
6426
6763
|
* @memberof UserInfo
|
|
6427
6764
|
*/
|
|
6428
6765
|
'lastName': string;
|
|
6766
|
+
/**
|
|
6767
|
+
*
|
|
6768
|
+
* @type {string}
|
|
6769
|
+
* @memberof UserInfo
|
|
6770
|
+
*/
|
|
6771
|
+
'email': string;
|
|
6772
|
+
/**
|
|
6773
|
+
*
|
|
6774
|
+
* @type {string}
|
|
6775
|
+
* @memberof UserInfo
|
|
6776
|
+
*/
|
|
6777
|
+
'profilePictureUrl'?: string;
|
|
6429
6778
|
}
|
|
6430
6779
|
/**
|
|
6431
6780
|
*
|
|
@@ -6732,6 +7081,12 @@ export interface UserProfileResponse {
|
|
|
6732
7081
|
* @memberof UserProfileResponse
|
|
6733
7082
|
*/
|
|
6734
7083
|
'subscriptionsCount'?: number;
|
|
7084
|
+
/**
|
|
7085
|
+
*
|
|
7086
|
+
* @type {Array<ClubSubscriptions>}
|
|
7087
|
+
* @memberof UserProfileResponse
|
|
7088
|
+
*/
|
|
7089
|
+
'subscriptions'?: Array<ClubSubscriptions>;
|
|
6735
7090
|
/**
|
|
6736
7091
|
*
|
|
6737
7092
|
* @type {Array<ClubSummary>}
|
|
@@ -6837,6 +7192,22 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6837
7192
|
* @throws {RequiredError}
|
|
6838
7193
|
*/
|
|
6839
7194
|
getBookingHistory: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7195
|
+
/**
|
|
7196
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7197
|
+
* @param {number} [latitude]
|
|
7198
|
+
* @param {number} [longitude]
|
|
7199
|
+
* @param {number} [radiusInKm]
|
|
7200
|
+
* @param {string} [date]
|
|
7201
|
+
* @param {string} [sportId]
|
|
7202
|
+
* @param {string} [startTime]
|
|
7203
|
+
* @param {number} [priceMax]
|
|
7204
|
+
* @param {string} [courtTypes]
|
|
7205
|
+
* @param {number} [limitPerClub]
|
|
7206
|
+
* @param {number} [maxClubs]
|
|
7207
|
+
* @param {*} [options] Override http request option.
|
|
7208
|
+
* @throws {RequiredError}
|
|
7209
|
+
*/
|
|
7210
|
+
getQuickReservationSlots: (latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6840
7211
|
};
|
|
6841
7212
|
/**
|
|
6842
7213
|
* BookingsApi - functional programming interface
|
|
@@ -6849,7 +7220,23 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
|
|
|
6849
7220
|
* @param {*} [options] Override http request option.
|
|
6850
7221
|
* @throws {RequiredError}
|
|
6851
7222
|
*/
|
|
6852
|
-
getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
7223
|
+
getBookingHistory(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
|
|
7224
|
+
/**
|
|
7225
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7226
|
+
* @param {number} [latitude]
|
|
7227
|
+
* @param {number} [longitude]
|
|
7228
|
+
* @param {number} [radiusInKm]
|
|
7229
|
+
* @param {string} [date]
|
|
7230
|
+
* @param {string} [sportId]
|
|
7231
|
+
* @param {string} [startTime]
|
|
7232
|
+
* @param {number} [priceMax]
|
|
7233
|
+
* @param {string} [courtTypes]
|
|
7234
|
+
* @param {number} [limitPerClub]
|
|
7235
|
+
* @param {number} [maxClubs]
|
|
7236
|
+
* @param {*} [options] Override http request option.
|
|
7237
|
+
* @throws {RequiredError}
|
|
7238
|
+
*/
|
|
7239
|
+
getQuickReservationSlots(latitude?: number, longitude?: number, radiusInKm?: number, date?: string, sportId?: string, startTime?: string, priceMax?: number, courtTypes?: string, limitPerClub?: number, maxClubs?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickReservationResponse>>;
|
|
6853
7240
|
};
|
|
6854
7241
|
/**
|
|
6855
7242
|
* BookingsApi - factory interface
|
|
@@ -6862,7 +7249,14 @@ export declare const BookingsApiFactory: (configuration?: Configuration, basePat
|
|
|
6862
7249
|
* @param {*} [options] Override http request option.
|
|
6863
7250
|
* @throws {RequiredError}
|
|
6864
7251
|
*/
|
|
6865
|
-
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
7252
|
+
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
|
|
7253
|
+
/**
|
|
7254
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7255
|
+
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
7256
|
+
* @param {*} [options] Override http request option.
|
|
7257
|
+
* @throws {RequiredError}
|
|
7258
|
+
*/
|
|
7259
|
+
getQuickReservationSlots(requestParameters?: BookingsApiGetQuickReservationSlotsRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuickReservationResponse>;
|
|
6866
7260
|
};
|
|
6867
7261
|
/**
|
|
6868
7262
|
* Request parameters for getBookingHistory operation in BookingsApi.
|
|
@@ -6877,6 +7271,73 @@ export interface BookingsApiGetBookingHistoryRequest {
|
|
|
6877
7271
|
*/
|
|
6878
7272
|
readonly bookingId: string;
|
|
6879
7273
|
}
|
|
7274
|
+
/**
|
|
7275
|
+
* Request parameters for getQuickReservationSlots operation in BookingsApi.
|
|
7276
|
+
* @export
|
|
7277
|
+
* @interface BookingsApiGetQuickReservationSlotsRequest
|
|
7278
|
+
*/
|
|
7279
|
+
export interface BookingsApiGetQuickReservationSlotsRequest {
|
|
7280
|
+
/**
|
|
7281
|
+
*
|
|
7282
|
+
* @type {number}
|
|
7283
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7284
|
+
*/
|
|
7285
|
+
readonly latitude?: number;
|
|
7286
|
+
/**
|
|
7287
|
+
*
|
|
7288
|
+
* @type {number}
|
|
7289
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7290
|
+
*/
|
|
7291
|
+
readonly longitude?: number;
|
|
7292
|
+
/**
|
|
7293
|
+
*
|
|
7294
|
+
* @type {number}
|
|
7295
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7296
|
+
*/
|
|
7297
|
+
readonly radiusInKm?: number;
|
|
7298
|
+
/**
|
|
7299
|
+
*
|
|
7300
|
+
* @type {string}
|
|
7301
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7302
|
+
*/
|
|
7303
|
+
readonly date?: string;
|
|
7304
|
+
/**
|
|
7305
|
+
*
|
|
7306
|
+
* @type {string}
|
|
7307
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7308
|
+
*/
|
|
7309
|
+
readonly sportId?: string;
|
|
7310
|
+
/**
|
|
7311
|
+
*
|
|
7312
|
+
* @type {string}
|
|
7313
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7314
|
+
*/
|
|
7315
|
+
readonly startTime?: string;
|
|
7316
|
+
/**
|
|
7317
|
+
*
|
|
7318
|
+
* @type {number}
|
|
7319
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7320
|
+
*/
|
|
7321
|
+
readonly priceMax?: number;
|
|
7322
|
+
/**
|
|
7323
|
+
*
|
|
7324
|
+
* @type {string}
|
|
7325
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7326
|
+
*/
|
|
7327
|
+
readonly courtTypes?: string;
|
|
7328
|
+
/**
|
|
7329
|
+
*
|
|
7330
|
+
* @type {number}
|
|
7331
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7332
|
+
*/
|
|
7333
|
+
readonly limitPerClub?: number;
|
|
7334
|
+
/**
|
|
7335
|
+
*
|
|
7336
|
+
* @type {number}
|
|
7337
|
+
* @memberof BookingsApiGetQuickReservationSlots
|
|
7338
|
+
*/
|
|
7339
|
+
readonly maxClubs?: number;
|
|
7340
|
+
}
|
|
6880
7341
|
/**
|
|
6881
7342
|
* BookingsApi - object-oriented interface
|
|
6882
7343
|
* @export
|
|
@@ -6891,7 +7352,15 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
6891
7352
|
* @throws {RequiredError}
|
|
6892
7353
|
* @memberof BookingsApi
|
|
6893
7354
|
*/
|
|
6894
|
-
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
7355
|
+
getBookingHistory(requestParameters: BookingsApiGetBookingHistoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
|
|
7356
|
+
/**
|
|
7357
|
+
* Recherche des créneaux disponibles pour une réservation rapide
|
|
7358
|
+
* @param {BookingsApiGetQuickReservationSlotsRequest} requestParameters Request parameters.
|
|
7359
|
+
* @param {*} [options] Override http request option.
|
|
7360
|
+
* @throws {RequiredError}
|
|
7361
|
+
* @memberof BookingsApi
|
|
7362
|
+
*/
|
|
7363
|
+
getQuickReservationSlots(requestParameters?: BookingsApiGetQuickReservationSlotsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuickReservationResponse, any, {}>>;
|
|
6895
7364
|
}
|
|
6896
7365
|
/**
|
|
6897
7366
|
* BookingsManagerApi - axios parameter creator
|
|
@@ -7086,7 +7555,7 @@ export declare const BookingsStaffApiFp: (configuration?: Configuration) => {
|
|
|
7086
7555
|
* @param {*} [options] Override http request option.
|
|
7087
7556
|
* @throws {RequiredError}
|
|
7088
7557
|
*/
|
|
7089
|
-
getBookingHistoryStaff(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
7558
|
+
getBookingHistoryStaff(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingHistoryPopulated>>;
|
|
7090
7559
|
/**
|
|
7091
7560
|
* Obtenir le statut des paiements d\'une réservation
|
|
7092
7561
|
* @param {string} bookingId
|
|
@@ -7134,7 +7603,7 @@ export declare const BookingsStaffApiFactory: (configuration?: Configuration, ba
|
|
|
7134
7603
|
* @param {*} [options] Override http request option.
|
|
7135
7604
|
* @throws {RequiredError}
|
|
7136
7605
|
*/
|
|
7137
|
-
getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
7606
|
+
getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingHistoryPopulated>;
|
|
7138
7607
|
/**
|
|
7139
7608
|
* Obtenir le statut des paiements d\'une réservation
|
|
7140
7609
|
* @param {BookingsStaffApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
|
|
@@ -7271,7 +7740,7 @@ export declare class BookingsStaffApi extends BaseAPI {
|
|
|
7271
7740
|
* @throws {RequiredError}
|
|
7272
7741
|
* @memberof BookingsStaffApi
|
|
7273
7742
|
*/
|
|
7274
|
-
getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
7743
|
+
getBookingHistoryStaff(requestParameters: BookingsStaffApiGetBookingHistoryStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingHistoryPopulated, any, {}>>;
|
|
7275
7744
|
/**
|
|
7276
7745
|
* Obtenir le statut des paiements d\'une réservation
|
|
7277
7746
|
* @param {BookingsStaffApiGetBookingPaymentStatusRequest} requestParameters Request parameters.
|
|
@@ -11047,6 +11516,12 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
11047
11516
|
* @throws {RequiredError}
|
|
11048
11517
|
*/
|
|
11049
11518
|
getNearestUsersFromCoordinates: (latitude?: number, longitude?: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11519
|
+
/**
|
|
11520
|
+
*
|
|
11521
|
+
* @param {*} [options] Override http request option.
|
|
11522
|
+
* @throws {RequiredError}
|
|
11523
|
+
*/
|
|
11524
|
+
getPlayerCategories: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11050
11525
|
/**
|
|
11051
11526
|
*
|
|
11052
11527
|
* @param {number} [limit]
|
|
@@ -11062,6 +11537,22 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
11062
11537
|
* @throws {RequiredError}
|
|
11063
11538
|
*/
|
|
11064
11539
|
getUserProfileById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11540
|
+
/**
|
|
11541
|
+
*
|
|
11542
|
+
* @param {PlayerCategoryId} [category]
|
|
11543
|
+
* @param {string} [search]
|
|
11544
|
+
* @param {string} [gender]
|
|
11545
|
+
* @param {boolean} [sharedClub]
|
|
11546
|
+
* @param {string} [sportLevels]
|
|
11547
|
+
* @param {number} [limit]
|
|
11548
|
+
* @param {number} [offset]
|
|
11549
|
+
* @param {number} [latitude]
|
|
11550
|
+
* @param {number} [longitude]
|
|
11551
|
+
* @param {number} [radiusInKm]
|
|
11552
|
+
* @param {*} [options] Override http request option.
|
|
11553
|
+
* @throws {RequiredError}
|
|
11554
|
+
*/
|
|
11555
|
+
listPlayers: (category?: PlayerCategoryId, search?: string, gender?: string, sharedClub?: boolean, sportLevels?: string, limit?: number, offset?: number, latitude?: number, longitude?: number, radiusInKm?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11065
11556
|
/**
|
|
11066
11557
|
*
|
|
11067
11558
|
* @param {LoginRequestBody} loginRequestBody
|
|
@@ -11315,6 +11806,12 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
11315
11806
|
getNearestUsersFromCoordinates(latitude?: number, longitude?: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{
|
|
11316
11807
|
[key: string]: any;
|
|
11317
11808
|
}>>>;
|
|
11809
|
+
/**
|
|
11810
|
+
*
|
|
11811
|
+
* @param {*} [options] Override http request option.
|
|
11812
|
+
* @throws {RequiredError}
|
|
11813
|
+
*/
|
|
11814
|
+
getPlayerCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerCategoriesResponse>>;
|
|
11318
11815
|
/**
|
|
11319
11816
|
*
|
|
11320
11817
|
* @param {number} [limit]
|
|
@@ -11330,6 +11827,22 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
11330
11827
|
* @throws {RequiredError}
|
|
11331
11828
|
*/
|
|
11332
11829
|
getUserProfileById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicUserProfileResponse>>;
|
|
11830
|
+
/**
|
|
11831
|
+
*
|
|
11832
|
+
* @param {PlayerCategoryId} [category]
|
|
11833
|
+
* @param {string} [search]
|
|
11834
|
+
* @param {string} [gender]
|
|
11835
|
+
* @param {boolean} [sharedClub]
|
|
11836
|
+
* @param {string} [sportLevels]
|
|
11837
|
+
* @param {number} [limit]
|
|
11838
|
+
* @param {number} [offset]
|
|
11839
|
+
* @param {number} [latitude]
|
|
11840
|
+
* @param {number} [longitude]
|
|
11841
|
+
* @param {number} [radiusInKm]
|
|
11842
|
+
* @param {*} [options] Override http request option.
|
|
11843
|
+
* @throws {RequiredError}
|
|
11844
|
+
*/
|
|
11845
|
+
listPlayers(category?: PlayerCategoryId, search?: string, gender?: string, sharedClub?: boolean, sportLevels?: string, limit?: number, offset?: number, latitude?: number, longitude?: number, radiusInKm?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerListResponse>>;
|
|
11333
11846
|
/**
|
|
11334
11847
|
*
|
|
11335
11848
|
* @param {LoginRequestBody} loginRequestBody
|
|
@@ -11575,6 +12088,12 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
11575
12088
|
getNearestUsersFromCoordinates(requestParameters?: UsersApiGetNearestUsersFromCoordinatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<{
|
|
11576
12089
|
[key: string]: any;
|
|
11577
12090
|
}>>;
|
|
12091
|
+
/**
|
|
12092
|
+
*
|
|
12093
|
+
* @param {*} [options] Override http request option.
|
|
12094
|
+
* @throws {RequiredError}
|
|
12095
|
+
*/
|
|
12096
|
+
getPlayerCategories(options?: RawAxiosRequestConfig): AxiosPromise<PlayerCategoriesResponse>;
|
|
11578
12097
|
/**
|
|
11579
12098
|
*
|
|
11580
12099
|
* @param {UsersApiGetUserBookingsRequest} requestParameters Request parameters.
|
|
@@ -11589,6 +12108,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
11589
12108
|
* @throws {RequiredError}
|
|
11590
12109
|
*/
|
|
11591
12110
|
getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicUserProfileResponse>;
|
|
12111
|
+
/**
|
|
12112
|
+
*
|
|
12113
|
+
* @param {UsersApiListPlayersRequest} requestParameters Request parameters.
|
|
12114
|
+
* @param {*} [options] Override http request option.
|
|
12115
|
+
* @throws {RequiredError}
|
|
12116
|
+
*/
|
|
12117
|
+
listPlayers(requestParameters?: UsersApiListPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlayerListResponse>;
|
|
11592
12118
|
/**
|
|
11593
12119
|
*
|
|
11594
12120
|
* @param {UsersApiLoginRequest} requestParameters Request parameters.
|
|
@@ -11931,6 +12457,73 @@ export interface UsersApiGetUserProfileByIdRequest {
|
|
|
11931
12457
|
*/
|
|
11932
12458
|
readonly id: string;
|
|
11933
12459
|
}
|
|
12460
|
+
/**
|
|
12461
|
+
* Request parameters for listPlayers operation in UsersApi.
|
|
12462
|
+
* @export
|
|
12463
|
+
* @interface UsersApiListPlayersRequest
|
|
12464
|
+
*/
|
|
12465
|
+
export interface UsersApiListPlayersRequest {
|
|
12466
|
+
/**
|
|
12467
|
+
*
|
|
12468
|
+
* @type {PlayerCategoryId}
|
|
12469
|
+
* @memberof UsersApiListPlayers
|
|
12470
|
+
*/
|
|
12471
|
+
readonly category?: PlayerCategoryId;
|
|
12472
|
+
/**
|
|
12473
|
+
*
|
|
12474
|
+
* @type {string}
|
|
12475
|
+
* @memberof UsersApiListPlayers
|
|
12476
|
+
*/
|
|
12477
|
+
readonly search?: string;
|
|
12478
|
+
/**
|
|
12479
|
+
*
|
|
12480
|
+
* @type {string}
|
|
12481
|
+
* @memberof UsersApiListPlayers
|
|
12482
|
+
*/
|
|
12483
|
+
readonly gender?: string;
|
|
12484
|
+
/**
|
|
12485
|
+
*
|
|
12486
|
+
* @type {boolean}
|
|
12487
|
+
* @memberof UsersApiListPlayers
|
|
12488
|
+
*/
|
|
12489
|
+
readonly sharedClub?: boolean;
|
|
12490
|
+
/**
|
|
12491
|
+
*
|
|
12492
|
+
* @type {string}
|
|
12493
|
+
* @memberof UsersApiListPlayers
|
|
12494
|
+
*/
|
|
12495
|
+
readonly sportLevels?: string;
|
|
12496
|
+
/**
|
|
12497
|
+
*
|
|
12498
|
+
* @type {number}
|
|
12499
|
+
* @memberof UsersApiListPlayers
|
|
12500
|
+
*/
|
|
12501
|
+
readonly limit?: number;
|
|
12502
|
+
/**
|
|
12503
|
+
*
|
|
12504
|
+
* @type {number}
|
|
12505
|
+
* @memberof UsersApiListPlayers
|
|
12506
|
+
*/
|
|
12507
|
+
readonly offset?: number;
|
|
12508
|
+
/**
|
|
12509
|
+
*
|
|
12510
|
+
* @type {number}
|
|
12511
|
+
* @memberof UsersApiListPlayers
|
|
12512
|
+
*/
|
|
12513
|
+
readonly latitude?: number;
|
|
12514
|
+
/**
|
|
12515
|
+
*
|
|
12516
|
+
* @type {number}
|
|
12517
|
+
* @memberof UsersApiListPlayers
|
|
12518
|
+
*/
|
|
12519
|
+
readonly longitude?: number;
|
|
12520
|
+
/**
|
|
12521
|
+
*
|
|
12522
|
+
* @type {number}
|
|
12523
|
+
* @memberof UsersApiListPlayers
|
|
12524
|
+
*/
|
|
12525
|
+
readonly radiusInKm?: number;
|
|
12526
|
+
}
|
|
11934
12527
|
/**
|
|
11935
12528
|
* Request parameters for login operation in UsersApi.
|
|
11936
12529
|
* @export
|
|
@@ -12284,6 +12877,13 @@ export declare class UsersApi extends BaseAPI {
|
|
|
12284
12877
|
getNearestUsersFromCoordinates(requestParameters?: UsersApiGetNearestUsersFromCoordinatesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
12285
12878
|
[key: string]: any;
|
|
12286
12879
|
}[], any, {}>>;
|
|
12880
|
+
/**
|
|
12881
|
+
*
|
|
12882
|
+
* @param {*} [options] Override http request option.
|
|
12883
|
+
* @throws {RequiredError}
|
|
12884
|
+
* @memberof UsersApi
|
|
12885
|
+
*/
|
|
12886
|
+
getPlayerCategories(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerCategoriesResponse, any, {}>>;
|
|
12287
12887
|
/**
|
|
12288
12888
|
*
|
|
12289
12889
|
* @param {UsersApiGetUserBookingsRequest} requestParameters Request parameters.
|
|
@@ -12300,6 +12900,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
12300
12900
|
* @memberof UsersApi
|
|
12301
12901
|
*/
|
|
12302
12902
|
getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicUserProfileResponse, any, {}>>;
|
|
12903
|
+
/**
|
|
12904
|
+
*
|
|
12905
|
+
* @param {UsersApiListPlayersRequest} requestParameters Request parameters.
|
|
12906
|
+
* @param {*} [options] Override http request option.
|
|
12907
|
+
* @throws {RequiredError}
|
|
12908
|
+
* @memberof UsersApi
|
|
12909
|
+
*/
|
|
12910
|
+
listPlayers(requestParameters?: UsersApiListPlayersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerListResponse, any, {}>>;
|
|
12303
12911
|
/**
|
|
12304
12912
|
*
|
|
12305
12913
|
* @param {UsersApiLoginRequest} requestParameters Request parameters.
|