@tennac-booking/sdk 1.0.184 → 1.0.185
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 +412 -429
- package/README.md +3 -27
- package/api.ts +160 -1551
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +188 -1085
- package/dist/api.js +19 -842
- 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 +188 -1085
- package/dist/esm/api.js +15 -825
- 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/BookingsApi.md +5 -5
- package/docs/BookingsStaffApi.md +1 -57
- package/docs/JoinOpenBookingRequest.md +26 -0
- package/docs/UserClubMembership.md +2 -0
- package/docs/UserProfileResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/CheckInPlayerSumupRequest.md +0 -22
- package/docs/CheckInPlayerSumupResponse.md +0 -24
- package/docs/CheckInSumupPaymentInfo.md +0 -26
- package/docs/PaymentIntentResult.md +0 -28
- package/docs/PaymentProviderType.md +0 -10
- package/docs/PaymentStatus.md +0 -14
- package/docs/PaymentsStaffApi.md +0 -124
- package/docs/SumUpApi.md +0 -63
- package/docs/SumUpManagerApi.md +0 -332
- package/docs/SumupAccountStatusResponse.md +0 -32
- package/docs/SumupCancelPaymentRequest.md +0 -20
- package/docs/SumupConnectUrlResponse.md +0 -20
- package/docs/SumupCreatePaymentRequest.md +0 -32
- package/docs/SumupOAuthCallbackResponse.md +0 -24
- package/docs/SumupPairReaderRequest.md +0 -22
- package/docs/SumupPairReaderResponse.md +0 -20
- package/docs/SumupReaderInfo.md +0 -34
- package/docs/SumupReadersResponse.md +0 -20
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.185
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1674,83 +1674,6 @@ export interface CheckInPlayerResponse {
|
|
|
1674
1674
|
*/
|
|
1675
1675
|
'invoice': CheckedInPlayer;
|
|
1676
1676
|
}
|
|
1677
|
-
/**
|
|
1678
|
-
*
|
|
1679
|
-
* @export
|
|
1680
|
-
* @interface CheckInPlayerSumupRequest
|
|
1681
|
-
*/
|
|
1682
|
-
export interface CheckInPlayerSumupRequest {
|
|
1683
|
-
/**
|
|
1684
|
-
* ID du joueur qui a payé/est arrivé
|
|
1685
|
-
* @type {string}
|
|
1686
|
-
* @memberof CheckInPlayerSumupRequest
|
|
1687
|
-
*/
|
|
1688
|
-
'playerId': string;
|
|
1689
|
-
/**
|
|
1690
|
-
* Reader SumUp ciblé (optionnel)
|
|
1691
|
-
* @type {string}
|
|
1692
|
-
* @memberof CheckInPlayerSumupRequest
|
|
1693
|
-
*/
|
|
1694
|
-
'readerId'?: string;
|
|
1695
|
-
}
|
|
1696
|
-
/**
|
|
1697
|
-
*
|
|
1698
|
-
* @export
|
|
1699
|
-
* @interface CheckInPlayerSumupResponse
|
|
1700
|
-
*/
|
|
1701
|
-
export interface CheckInPlayerSumupResponse {
|
|
1702
|
-
/**
|
|
1703
|
-
* Message de confirmation
|
|
1704
|
-
* @type {string}
|
|
1705
|
-
* @memberof CheckInPlayerSumupResponse
|
|
1706
|
-
*/
|
|
1707
|
-
'message': string;
|
|
1708
|
-
/**
|
|
1709
|
-
*
|
|
1710
|
-
* @type {CheckedInPlayer}
|
|
1711
|
-
* @memberof CheckInPlayerSumupResponse
|
|
1712
|
-
*/
|
|
1713
|
-
'invoice': CheckedInPlayer;
|
|
1714
|
-
/**
|
|
1715
|
-
*
|
|
1716
|
-
* @type {CheckInSumupPaymentInfo}
|
|
1717
|
-
* @memberof CheckInPlayerSumupResponse
|
|
1718
|
-
*/
|
|
1719
|
-
'sumupPayment'?: CheckInSumupPaymentInfo;
|
|
1720
|
-
}
|
|
1721
|
-
/**
|
|
1722
|
-
*
|
|
1723
|
-
* @export
|
|
1724
|
-
* @interface CheckInSumupPaymentInfo
|
|
1725
|
-
*/
|
|
1726
|
-
export interface CheckInSumupPaymentInfo {
|
|
1727
|
-
/**
|
|
1728
|
-
* ID du paiement SumUp
|
|
1729
|
-
* @type {string}
|
|
1730
|
-
* @memberof CheckInSumupPaymentInfo
|
|
1731
|
-
*/
|
|
1732
|
-
'paymentId': string;
|
|
1733
|
-
/**
|
|
1734
|
-
* ID du checkout SumUp
|
|
1735
|
-
* @type {string}
|
|
1736
|
-
* @memberof CheckInSumupPaymentInfo
|
|
1737
|
-
*/
|
|
1738
|
-
'checkoutId'?: string;
|
|
1739
|
-
/**
|
|
1740
|
-
*
|
|
1741
|
-
* @type {PaymentStatus}
|
|
1742
|
-
* @memberof CheckInSumupPaymentInfo
|
|
1743
|
-
*/
|
|
1744
|
-
'status': PaymentStatus;
|
|
1745
|
-
/**
|
|
1746
|
-
* Reader SumUp utilisé
|
|
1747
|
-
* @type {string}
|
|
1748
|
-
* @memberof CheckInSumupPaymentInfo
|
|
1749
|
-
*/
|
|
1750
|
-
'readerId'?: string;
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
1677
|
/**
|
|
1755
1678
|
*
|
|
1756
1679
|
* @export
|
|
@@ -7630,6 +7553,39 @@ export interface JoinEventWaitList200Response {
|
|
|
7630
7553
|
*/
|
|
7631
7554
|
'message': string;
|
|
7632
7555
|
}
|
|
7556
|
+
/**
|
|
7557
|
+
*
|
|
7558
|
+
* @export
|
|
7559
|
+
* @interface JoinOpenBookingRequest
|
|
7560
|
+
*/
|
|
7561
|
+
export interface JoinOpenBookingRequest {
|
|
7562
|
+
/**
|
|
7563
|
+
*
|
|
7564
|
+
* @type {PaymentMethod}
|
|
7565
|
+
* @memberof JoinOpenBookingRequest
|
|
7566
|
+
*/
|
|
7567
|
+
'paymentMethod'?: PaymentMethod;
|
|
7568
|
+
/**
|
|
7569
|
+
* Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut
|
|
7570
|
+
* @type {boolean}
|
|
7571
|
+
* @memberof JoinOpenBookingRequest
|
|
7572
|
+
*/
|
|
7573
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
7574
|
+
/**
|
|
7575
|
+
* Crédit à utiliser en centimes
|
|
7576
|
+
* @type {number}
|
|
7577
|
+
* @memberof JoinOpenBookingRequest
|
|
7578
|
+
*/
|
|
7579
|
+
'creditToUseInCents'?: number;
|
|
7580
|
+
/**
|
|
7581
|
+
* Liste des autres joueurs qui rejoignent également (n\'inclut PAS le joueur qui fait la requête, chacun paie sa part)
|
|
7582
|
+
* @type {Array<PlayerWithPaymentMethod>}
|
|
7583
|
+
* @memberof JoinOpenBookingRequest
|
|
7584
|
+
*/
|
|
7585
|
+
'players'?: Array<PlayerWithPaymentMethod>;
|
|
7586
|
+
}
|
|
7587
|
+
|
|
7588
|
+
|
|
7633
7589
|
/**
|
|
7634
7590
|
*
|
|
7635
7591
|
* @export
|
|
@@ -8848,45 +8804,6 @@ export interface PaymentByPlayerInfo {
|
|
|
8848
8804
|
*/
|
|
8849
8805
|
'invoices': Array<InvoiceInfo>;
|
|
8850
8806
|
}
|
|
8851
|
-
/**
|
|
8852
|
-
*
|
|
8853
|
-
* @export
|
|
8854
|
-
* @interface PaymentIntentResult
|
|
8855
|
-
*/
|
|
8856
|
-
export interface PaymentIntentResult {
|
|
8857
|
-
/**
|
|
8858
|
-
*
|
|
8859
|
-
* @type {string}
|
|
8860
|
-
* @memberof PaymentIntentResult
|
|
8861
|
-
*/
|
|
8862
|
-
'paymentId': string;
|
|
8863
|
-
/**
|
|
8864
|
-
*
|
|
8865
|
-
* @type {string}
|
|
8866
|
-
* @memberof PaymentIntentResult
|
|
8867
|
-
*/
|
|
8868
|
-
'externalId': string;
|
|
8869
|
-
/**
|
|
8870
|
-
*
|
|
8871
|
-
* @type {PaymentStatus}
|
|
8872
|
-
* @memberof PaymentIntentResult
|
|
8873
|
-
*/
|
|
8874
|
-
'status': PaymentStatus;
|
|
8875
|
-
/**
|
|
8876
|
-
*
|
|
8877
|
-
* @type {PaymentProviderType}
|
|
8878
|
-
* @memberof PaymentIntentResult
|
|
8879
|
-
*/
|
|
8880
|
-
'provider': PaymentProviderType;
|
|
8881
|
-
/**
|
|
8882
|
-
*
|
|
8883
|
-
* @type {string}
|
|
8884
|
-
* @memberof PaymentIntentResult
|
|
8885
|
-
*/
|
|
8886
|
-
'readerId'?: string;
|
|
8887
|
-
}
|
|
8888
|
-
|
|
8889
|
-
|
|
8890
8807
|
/**
|
|
8891
8808
|
*
|
|
8892
8809
|
* @export
|
|
@@ -8904,20 +8821,6 @@ export const PaymentMethod = {
|
|
|
8904
8821
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
8905
8822
|
|
|
8906
8823
|
|
|
8907
|
-
/**
|
|
8908
|
-
*
|
|
8909
|
-
* @export
|
|
8910
|
-
* @enum {string}
|
|
8911
|
-
*/
|
|
8912
|
-
|
|
8913
|
-
export const PaymentProviderType = {
|
|
8914
|
-
Stripe: 'stripe',
|
|
8915
|
-
Sumup: 'sumup'
|
|
8916
|
-
} as const;
|
|
8917
|
-
|
|
8918
|
-
export type PaymentProviderType = typeof PaymentProviderType[keyof typeof PaymentProviderType];
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
8824
|
/**
|
|
8922
8825
|
*
|
|
8923
8826
|
* @export
|
|
@@ -8937,22 +8840,6 @@ export interface PaymentRequirementsSettings {
|
|
|
8937
8840
|
*/
|
|
8938
8841
|
'requireOnlinePayment': boolean;
|
|
8939
8842
|
}
|
|
8940
|
-
/**
|
|
8941
|
-
*
|
|
8942
|
-
* @export
|
|
8943
|
-
* @enum {string}
|
|
8944
|
-
*/
|
|
8945
|
-
|
|
8946
|
-
export const PaymentStatus = {
|
|
8947
|
-
Pending: 'pending',
|
|
8948
|
-
Succeeded: 'succeeded',
|
|
8949
|
-
Failed: 'failed',
|
|
8950
|
-
Cancelled: 'cancelled'
|
|
8951
|
-
} as const;
|
|
8952
|
-
|
|
8953
|
-
export type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
8843
|
/**
|
|
8957
8844
|
* From T, pick a set of properties whose keys are in the union K
|
|
8958
8845
|
* @export
|
|
@@ -11828,416 +11715,165 @@ export interface SubscriptionPlanResponse {
|
|
|
11828
11715
|
/**
|
|
11829
11716
|
*
|
|
11830
11717
|
* @export
|
|
11831
|
-
* @
|
|
11718
|
+
* @enum {string}
|
|
11832
11719
|
*/
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
'
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11720
|
+
|
|
11721
|
+
export const SurfaceType = {
|
|
11722
|
+
Clay: 'clay',
|
|
11723
|
+
Grass: 'grass',
|
|
11724
|
+
Hard: 'hard',
|
|
11725
|
+
Turf: 'turf',
|
|
11726
|
+
Carpet: 'carpet',
|
|
11727
|
+
Wooden: 'wooden'
|
|
11728
|
+
} as const;
|
|
11729
|
+
|
|
11730
|
+
export type SurfaceType = typeof SurfaceType[keyof typeof SurfaceType];
|
|
11731
|
+
|
|
11732
|
+
|
|
11733
|
+
/**
|
|
11734
|
+
*
|
|
11735
|
+
* @export
|
|
11736
|
+
* @interface Team
|
|
11737
|
+
*/
|
|
11738
|
+
export interface Team {
|
|
11852
11739
|
/**
|
|
11853
11740
|
*
|
|
11854
11741
|
* @type {string}
|
|
11855
|
-
* @memberof
|
|
11742
|
+
* @memberof Team
|
|
11856
11743
|
*/
|
|
11857
|
-
'
|
|
11744
|
+
'name': string;
|
|
11858
11745
|
/**
|
|
11859
11746
|
*
|
|
11860
|
-
* @type {
|
|
11861
|
-
* @memberof
|
|
11747
|
+
* @type {Array<EventUser>}
|
|
11748
|
+
* @memberof Team
|
|
11862
11749
|
*/
|
|
11863
|
-
'
|
|
11750
|
+
'players': Array<EventUser>;
|
|
11751
|
+
}
|
|
11752
|
+
/**
|
|
11753
|
+
*
|
|
11754
|
+
* @export
|
|
11755
|
+
* @interface TimeBounds
|
|
11756
|
+
*/
|
|
11757
|
+
export interface TimeBounds {
|
|
11864
11758
|
/**
|
|
11865
|
-
*
|
|
11759
|
+
* Heure de début au format HH:mm
|
|
11866
11760
|
* @type {string}
|
|
11867
|
-
* @memberof
|
|
11761
|
+
* @memberof TimeBounds
|
|
11868
11762
|
*/
|
|
11869
|
-
'
|
|
11763
|
+
'start': string;
|
|
11870
11764
|
/**
|
|
11871
|
-
*
|
|
11765
|
+
* Heure de fin au format HH:mm
|
|
11872
11766
|
* @type {string}
|
|
11873
|
-
* @memberof
|
|
11767
|
+
* @memberof TimeBounds
|
|
11874
11768
|
*/
|
|
11875
|
-
'
|
|
11769
|
+
'end': string;
|
|
11876
11770
|
}
|
|
11877
11771
|
/**
|
|
11878
11772
|
*
|
|
11879
11773
|
* @export
|
|
11880
|
-
* @
|
|
11774
|
+
* @enum {string}
|
|
11881
11775
|
*/
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11776
|
+
|
|
11777
|
+
export const TrendDirection = {
|
|
11778
|
+
Up: 'up',
|
|
11779
|
+
Down: 'down',
|
|
11780
|
+
Steady: 'steady'
|
|
11781
|
+
} as const;
|
|
11782
|
+
|
|
11783
|
+
export type TrendDirection = typeof TrendDirection[keyof typeof TrendDirection];
|
|
11784
|
+
|
|
11785
|
+
|
|
11890
11786
|
/**
|
|
11891
11787
|
*
|
|
11892
11788
|
* @export
|
|
11893
|
-
* @interface
|
|
11789
|
+
* @interface UpdateActuality200Response
|
|
11894
11790
|
*/
|
|
11895
|
-
export interface
|
|
11791
|
+
export interface UpdateActuality200Response {
|
|
11896
11792
|
/**
|
|
11897
11793
|
*
|
|
11898
|
-
* @type {
|
|
11899
|
-
* @memberof
|
|
11794
|
+
* @type {any}
|
|
11795
|
+
* @memberof UpdateActuality200Response
|
|
11900
11796
|
*/
|
|
11901
|
-
'
|
|
11797
|
+
'actuality': any;
|
|
11902
11798
|
}
|
|
11903
11799
|
/**
|
|
11904
11800
|
*
|
|
11905
11801
|
* @export
|
|
11906
|
-
* @interface
|
|
11802
|
+
* @interface UpdateClubAccessSettingsRequest
|
|
11907
11803
|
*/
|
|
11908
|
-
export interface
|
|
11909
|
-
/**
|
|
11910
|
-
*
|
|
11911
|
-
* @type {number}
|
|
11912
|
-
* @memberof SumupCreatePaymentRequest
|
|
11913
|
-
*/
|
|
11914
|
-
'amountInCents': number;
|
|
11804
|
+
export interface UpdateClubAccessSettingsRequest {
|
|
11915
11805
|
/**
|
|
11916
11806
|
*
|
|
11917
|
-
* @type {
|
|
11918
|
-
* @memberof
|
|
11807
|
+
* @type {PartialPublicAccessSettings}
|
|
11808
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
11919
11809
|
*/
|
|
11920
|
-
'
|
|
11810
|
+
'publicAccess'?: PartialPublicAccessSettings;
|
|
11921
11811
|
/**
|
|
11922
11812
|
*
|
|
11923
|
-
* @type {
|
|
11924
|
-
* @memberof
|
|
11813
|
+
* @type {PartialSchoolAccessSettings}
|
|
11814
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
11925
11815
|
*/
|
|
11926
|
-
'
|
|
11816
|
+
'schoolAccess'?: PartialSchoolAccessSettings;
|
|
11927
11817
|
/**
|
|
11928
11818
|
*
|
|
11929
|
-
* @type {
|
|
11930
|
-
* @memberof
|
|
11819
|
+
* @type {PartialHotelAccessSettings}
|
|
11820
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
11931
11821
|
*/
|
|
11932
|
-
'
|
|
11822
|
+
'hotelAccess'?: PartialHotelAccessSettings;
|
|
11933
11823
|
/**
|
|
11934
11824
|
*
|
|
11935
|
-
* @type {
|
|
11936
|
-
* @memberof
|
|
11937
|
-
*/
|
|
11938
|
-
'reference'?: string;
|
|
11939
|
-
/**
|
|
11940
|
-
* Construct a type with a set of properties K of type T
|
|
11941
|
-
* @type {{ [key: string]: string; }}
|
|
11942
|
-
* @memberof SumupCreatePaymentRequest
|
|
11825
|
+
* @type {PartialPaymentRequirementsSettings}
|
|
11826
|
+
* @memberof UpdateClubAccessSettingsRequest
|
|
11943
11827
|
*/
|
|
11944
|
-
'
|
|
11828
|
+
'paymentRequirements'?: PartialPaymentRequirementsSettings;
|
|
11829
|
+
}
|
|
11830
|
+
/**
|
|
11831
|
+
*
|
|
11832
|
+
* @export
|
|
11833
|
+
* @interface UpdateClubDayScheduleRequest
|
|
11834
|
+
*/
|
|
11835
|
+
export interface UpdateClubDayScheduleRequest {
|
|
11945
11836
|
/**
|
|
11946
11837
|
*
|
|
11947
|
-
* @type {
|
|
11948
|
-
* @memberof
|
|
11838
|
+
* @type {Array<ClubDayInterval>}
|
|
11839
|
+
* @memberof UpdateClubDayScheduleRequest
|
|
11949
11840
|
*/
|
|
11950
|
-
'
|
|
11841
|
+
'intervals': Array<ClubDayInterval>;
|
|
11951
11842
|
}
|
|
11952
11843
|
/**
|
|
11953
11844
|
*
|
|
11954
11845
|
* @export
|
|
11955
|
-
* @interface
|
|
11846
|
+
* @interface UpdateClubGeneralSettingsRequest
|
|
11956
11847
|
*/
|
|
11957
|
-
export interface
|
|
11848
|
+
export interface UpdateClubGeneralSettingsRequest {
|
|
11958
11849
|
/**
|
|
11959
11850
|
*
|
|
11960
11851
|
* @type {string}
|
|
11961
|
-
* @memberof
|
|
11852
|
+
* @memberof UpdateClubGeneralSettingsRequest
|
|
11962
11853
|
*/
|
|
11963
|
-
'
|
|
11854
|
+
'name'?: string;
|
|
11964
11855
|
/**
|
|
11965
11856
|
*
|
|
11966
11857
|
* @type {string}
|
|
11967
|
-
* @memberof
|
|
11858
|
+
* @memberof UpdateClubGeneralSettingsRequest
|
|
11968
11859
|
*/
|
|
11969
|
-
'
|
|
11860
|
+
'email'?: string;
|
|
11970
11861
|
/**
|
|
11971
11862
|
*
|
|
11972
11863
|
* @type {string}
|
|
11973
|
-
* @memberof
|
|
11864
|
+
* @memberof UpdateClubGeneralSettingsRequest
|
|
11974
11865
|
*/
|
|
11975
|
-
'
|
|
11976
|
-
}
|
|
11977
|
-
/**
|
|
11978
|
-
*
|
|
11979
|
-
* @export
|
|
11980
|
-
* @interface SumupPairReaderRequest
|
|
11981
|
-
*/
|
|
11982
|
-
export interface SumupPairReaderRequest {
|
|
11866
|
+
'phone'?: string;
|
|
11983
11867
|
/**
|
|
11984
11868
|
*
|
|
11985
11869
|
* @type {string}
|
|
11986
|
-
* @memberof
|
|
11870
|
+
* @memberof UpdateClubGeneralSettingsRequest
|
|
11987
11871
|
*/
|
|
11988
|
-
'
|
|
11872
|
+
'websiteUrl'?: string;
|
|
11989
11873
|
/**
|
|
11990
11874
|
*
|
|
11991
11875
|
* @type {string}
|
|
11992
|
-
* @memberof
|
|
11993
|
-
*/
|
|
11994
|
-
'name': string;
|
|
11995
|
-
}
|
|
11996
|
-
/**
|
|
11997
|
-
*
|
|
11998
|
-
* @export
|
|
11999
|
-
* @interface SumupPairReaderResponse
|
|
12000
|
-
*/
|
|
12001
|
-
export interface SumupPairReaderResponse {
|
|
12002
|
-
/**
|
|
12003
|
-
*
|
|
12004
|
-
* @type {SumupReaderInfo}
|
|
12005
|
-
* @memberof SumupPairReaderResponse
|
|
12006
|
-
*/
|
|
12007
|
-
'reader': SumupReaderInfo;
|
|
12008
|
-
}
|
|
12009
|
-
/**
|
|
12010
|
-
*
|
|
12011
|
-
* @export
|
|
12012
|
-
* @interface SumupReaderInfo
|
|
12013
|
-
*/
|
|
12014
|
-
export interface SumupReaderInfo {
|
|
12015
|
-
[key: string]: any;
|
|
12016
|
-
|
|
12017
|
-
/**
|
|
12018
|
-
*
|
|
12019
|
-
* @type {string}
|
|
12020
|
-
* @memberof SumupReaderInfo
|
|
12021
|
-
*/
|
|
12022
|
-
'reader_id'?: string;
|
|
12023
|
-
/**
|
|
12024
|
-
*
|
|
12025
|
-
* @type {string}
|
|
12026
|
-
* @memberof SumupReaderInfo
|
|
12027
|
-
*/
|
|
12028
|
-
'id'?: string;
|
|
12029
|
-
/**
|
|
12030
|
-
*
|
|
12031
|
-
* @type {string}
|
|
12032
|
-
* @memberof SumupReaderInfo
|
|
12033
|
-
*/
|
|
12034
|
-
'serial_number'?: string;
|
|
12035
|
-
/**
|
|
12036
|
-
*
|
|
12037
|
-
* @type {string}
|
|
12038
|
-
* @memberof SumupReaderInfo
|
|
12039
|
-
*/
|
|
12040
|
-
'name'?: string;
|
|
12041
|
-
/**
|
|
12042
|
-
*
|
|
12043
|
-
* @type {string}
|
|
12044
|
-
* @memberof SumupReaderInfo
|
|
12045
|
-
*/
|
|
12046
|
-
'status'?: string;
|
|
12047
|
-
/**
|
|
12048
|
-
*
|
|
12049
|
-
* @type {string}
|
|
12050
|
-
* @memberof SumupReaderInfo
|
|
12051
|
-
*/
|
|
12052
|
-
'model'?: string;
|
|
12053
|
-
/**
|
|
12054
|
-
*
|
|
12055
|
-
* @type {string}
|
|
12056
|
-
* @memberof SumupReaderInfo
|
|
12057
|
-
*/
|
|
12058
|
-
'device_type'?: string;
|
|
12059
|
-
/**
|
|
12060
|
-
*
|
|
12061
|
-
* @type {string}
|
|
12062
|
-
* @memberof SumupReaderInfo
|
|
12063
|
-
*/
|
|
12064
|
-
'last_seen_at'?: string;
|
|
12065
|
-
}
|
|
12066
|
-
/**
|
|
12067
|
-
*
|
|
12068
|
-
* @export
|
|
12069
|
-
* @interface SumupReadersResponse
|
|
12070
|
-
*/
|
|
12071
|
-
export interface SumupReadersResponse {
|
|
12072
|
-
/**
|
|
12073
|
-
*
|
|
12074
|
-
* @type {Array<SumupReaderInfo>}
|
|
12075
|
-
* @memberof SumupReadersResponse
|
|
12076
|
-
*/
|
|
12077
|
-
'readers': Array<SumupReaderInfo>;
|
|
12078
|
-
}
|
|
12079
|
-
/**
|
|
12080
|
-
*
|
|
12081
|
-
* @export
|
|
12082
|
-
* @enum {string}
|
|
12083
|
-
*/
|
|
12084
|
-
|
|
12085
|
-
export const SurfaceType = {
|
|
12086
|
-
Clay: 'clay',
|
|
12087
|
-
Grass: 'grass',
|
|
12088
|
-
Hard: 'hard',
|
|
12089
|
-
Turf: 'turf',
|
|
12090
|
-
Carpet: 'carpet',
|
|
12091
|
-
Wooden: 'wooden'
|
|
12092
|
-
} as const;
|
|
12093
|
-
|
|
12094
|
-
export type SurfaceType = typeof SurfaceType[keyof typeof SurfaceType];
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
/**
|
|
12098
|
-
*
|
|
12099
|
-
* @export
|
|
12100
|
-
* @interface Team
|
|
12101
|
-
*/
|
|
12102
|
-
export interface Team {
|
|
12103
|
-
/**
|
|
12104
|
-
*
|
|
12105
|
-
* @type {string}
|
|
12106
|
-
* @memberof Team
|
|
12107
|
-
*/
|
|
12108
|
-
'name': string;
|
|
12109
|
-
/**
|
|
12110
|
-
*
|
|
12111
|
-
* @type {Array<EventUser>}
|
|
12112
|
-
* @memberof Team
|
|
12113
|
-
*/
|
|
12114
|
-
'players': Array<EventUser>;
|
|
12115
|
-
}
|
|
12116
|
-
/**
|
|
12117
|
-
*
|
|
12118
|
-
* @export
|
|
12119
|
-
* @interface TimeBounds
|
|
12120
|
-
*/
|
|
12121
|
-
export interface TimeBounds {
|
|
12122
|
-
/**
|
|
12123
|
-
* Heure de début au format HH:mm
|
|
12124
|
-
* @type {string}
|
|
12125
|
-
* @memberof TimeBounds
|
|
12126
|
-
*/
|
|
12127
|
-
'start': string;
|
|
12128
|
-
/**
|
|
12129
|
-
* Heure de fin au format HH:mm
|
|
12130
|
-
* @type {string}
|
|
12131
|
-
* @memberof TimeBounds
|
|
12132
|
-
*/
|
|
12133
|
-
'end': string;
|
|
12134
|
-
}
|
|
12135
|
-
/**
|
|
12136
|
-
*
|
|
12137
|
-
* @export
|
|
12138
|
-
* @enum {string}
|
|
12139
|
-
*/
|
|
12140
|
-
|
|
12141
|
-
export const TrendDirection = {
|
|
12142
|
-
Up: 'up',
|
|
12143
|
-
Down: 'down',
|
|
12144
|
-
Steady: 'steady'
|
|
12145
|
-
} as const;
|
|
12146
|
-
|
|
12147
|
-
export type TrendDirection = typeof TrendDirection[keyof typeof TrendDirection];
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
/**
|
|
12151
|
-
*
|
|
12152
|
-
* @export
|
|
12153
|
-
* @interface UpdateActuality200Response
|
|
12154
|
-
*/
|
|
12155
|
-
export interface UpdateActuality200Response {
|
|
12156
|
-
/**
|
|
12157
|
-
*
|
|
12158
|
-
* @type {any}
|
|
12159
|
-
* @memberof UpdateActuality200Response
|
|
12160
|
-
*/
|
|
12161
|
-
'actuality': any;
|
|
12162
|
-
}
|
|
12163
|
-
/**
|
|
12164
|
-
*
|
|
12165
|
-
* @export
|
|
12166
|
-
* @interface UpdateClubAccessSettingsRequest
|
|
12167
|
-
*/
|
|
12168
|
-
export interface UpdateClubAccessSettingsRequest {
|
|
12169
|
-
/**
|
|
12170
|
-
*
|
|
12171
|
-
* @type {PartialPublicAccessSettings}
|
|
12172
|
-
* @memberof UpdateClubAccessSettingsRequest
|
|
12173
|
-
*/
|
|
12174
|
-
'publicAccess'?: PartialPublicAccessSettings;
|
|
12175
|
-
/**
|
|
12176
|
-
*
|
|
12177
|
-
* @type {PartialSchoolAccessSettings}
|
|
12178
|
-
* @memberof UpdateClubAccessSettingsRequest
|
|
12179
|
-
*/
|
|
12180
|
-
'schoolAccess'?: PartialSchoolAccessSettings;
|
|
12181
|
-
/**
|
|
12182
|
-
*
|
|
12183
|
-
* @type {PartialHotelAccessSettings}
|
|
12184
|
-
* @memberof UpdateClubAccessSettingsRequest
|
|
12185
|
-
*/
|
|
12186
|
-
'hotelAccess'?: PartialHotelAccessSettings;
|
|
12187
|
-
/**
|
|
12188
|
-
*
|
|
12189
|
-
* @type {PartialPaymentRequirementsSettings}
|
|
12190
|
-
* @memberof UpdateClubAccessSettingsRequest
|
|
12191
|
-
*/
|
|
12192
|
-
'paymentRequirements'?: PartialPaymentRequirementsSettings;
|
|
12193
|
-
}
|
|
12194
|
-
/**
|
|
12195
|
-
*
|
|
12196
|
-
* @export
|
|
12197
|
-
* @interface UpdateClubDayScheduleRequest
|
|
12198
|
-
*/
|
|
12199
|
-
export interface UpdateClubDayScheduleRequest {
|
|
12200
|
-
/**
|
|
12201
|
-
*
|
|
12202
|
-
* @type {Array<ClubDayInterval>}
|
|
12203
|
-
* @memberof UpdateClubDayScheduleRequest
|
|
12204
|
-
*/
|
|
12205
|
-
'intervals': Array<ClubDayInterval>;
|
|
12206
|
-
}
|
|
12207
|
-
/**
|
|
12208
|
-
*
|
|
12209
|
-
* @export
|
|
12210
|
-
* @interface UpdateClubGeneralSettingsRequest
|
|
12211
|
-
*/
|
|
12212
|
-
export interface UpdateClubGeneralSettingsRequest {
|
|
12213
|
-
/**
|
|
12214
|
-
*
|
|
12215
|
-
* @type {string}
|
|
12216
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
12217
|
-
*/
|
|
12218
|
-
'name'?: string;
|
|
12219
|
-
/**
|
|
12220
|
-
*
|
|
12221
|
-
* @type {string}
|
|
12222
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
12223
|
-
*/
|
|
12224
|
-
'email'?: string;
|
|
12225
|
-
/**
|
|
12226
|
-
*
|
|
12227
|
-
* @type {string}
|
|
12228
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
12229
|
-
*/
|
|
12230
|
-
'phone'?: string;
|
|
12231
|
-
/**
|
|
12232
|
-
*
|
|
12233
|
-
* @type {string}
|
|
12234
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
12235
|
-
*/
|
|
12236
|
-
'websiteUrl'?: string;
|
|
12237
|
-
/**
|
|
12238
|
-
*
|
|
12239
|
-
* @type {string}
|
|
12240
|
-
* @memberof UpdateClubGeneralSettingsRequest
|
|
11876
|
+
* @memberof UpdateClubGeneralSettingsRequest
|
|
12241
11877
|
*/
|
|
12242
11878
|
'description'?: string;
|
|
12243
11879
|
/**
|
|
@@ -13279,6 +12915,12 @@ export interface UserClubMembership {
|
|
|
13279
12915
|
* @memberof UserClubMembership
|
|
13280
12916
|
*/
|
|
13281
12917
|
'clubPicture': string | null;
|
|
12918
|
+
/**
|
|
12919
|
+
*
|
|
12920
|
+
* @type {Array<string>}
|
|
12921
|
+
* @memberof UserClubMembership
|
|
12922
|
+
*/
|
|
12923
|
+
'bannerPictures'?: Array<string>;
|
|
13282
12924
|
/**
|
|
13283
12925
|
*
|
|
13284
12926
|
* @type {string}
|
|
@@ -13958,6 +13600,12 @@ export interface UserProfileResponse {
|
|
|
13958
13600
|
* @memberof UserProfileResponse
|
|
13959
13601
|
*/
|
|
13960
13602
|
'clubs'?: Array<UserClubMembership>;
|
|
13603
|
+
/**
|
|
13604
|
+
*
|
|
13605
|
+
* @type {Array<ClubSummary>}
|
|
13606
|
+
* @memberof UserProfileResponse
|
|
13607
|
+
*/
|
|
13608
|
+
'favoriteClubsDetails'?: Array<ClubSummary>;
|
|
13961
13609
|
/**
|
|
13962
13610
|
*
|
|
13963
13611
|
* @type {Array<ClubSummary>}
|
|
@@ -14707,15 +14355,15 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14707
14355
|
/**
|
|
14708
14356
|
*
|
|
14709
14357
|
* @param {string} bookingId
|
|
14710
|
-
* @param {
|
|
14358
|
+
* @param {JoinOpenBookingRequest} joinOpenBookingRequest
|
|
14711
14359
|
* @param {*} [options] Override http request option.
|
|
14712
14360
|
* @throws {RequiredError}
|
|
14713
14361
|
*/
|
|
14714
|
-
joinOpenBooking: async (bookingId: string,
|
|
14362
|
+
joinOpenBooking: async (bookingId: string, joinOpenBookingRequest: JoinOpenBookingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14715
14363
|
// verify required parameter 'bookingId' is not null or undefined
|
|
14716
14364
|
assertParamExists('joinOpenBooking', 'bookingId', bookingId)
|
|
14717
|
-
// verify required parameter '
|
|
14718
|
-
assertParamExists('joinOpenBooking', '
|
|
14365
|
+
// verify required parameter 'joinOpenBookingRequest' is not null or undefined
|
|
14366
|
+
assertParamExists('joinOpenBooking', 'joinOpenBookingRequest', joinOpenBookingRequest)
|
|
14719
14367
|
const localVarPath = `/api/bookings/{bookingId}/open/join`
|
|
14720
14368
|
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
14721
14369
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -14740,7 +14388,7 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14740
14388
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14741
14389
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14742
14390
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14743
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
14391
|
+
localVarRequestOptions.data = serializeDataIfNeeded(joinOpenBookingRequest, localVarRequestOptions, configuration)
|
|
14744
14392
|
|
|
14745
14393
|
return {
|
|
14746
14394
|
url: toPathString(localVarUrlObj),
|
|
@@ -14917,12 +14565,12 @@ export const BookingsApiFp = function(configuration?: Configuration) {
|
|
|
14917
14565
|
/**
|
|
14918
14566
|
*
|
|
14919
14567
|
* @param {string} bookingId
|
|
14920
|
-
* @param {
|
|
14568
|
+
* @param {JoinOpenBookingRequest} joinOpenBookingRequest
|
|
14921
14569
|
* @param {*} [options] Override http request option.
|
|
14922
14570
|
* @throws {RequiredError}
|
|
14923
14571
|
*/
|
|
14924
|
-
async joinOpenBooking(bookingId: string,
|
|
14925
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.joinOpenBooking(bookingId,
|
|
14572
|
+
async joinOpenBooking(bookingId: string, joinOpenBookingRequest: JoinOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinOpenBookingResponse>> {
|
|
14573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.joinOpenBooking(bookingId, joinOpenBookingRequest, options);
|
|
14926
14574
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14927
14575
|
const localVarOperationServerBasePath = operationServerMap['BookingsApi.joinOpenBooking']?.[localVarOperationServerIndex]?.url;
|
|
14928
14576
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15037,7 +14685,7 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15037
14685
|
* @throws {RequiredError}
|
|
15038
14686
|
*/
|
|
15039
14687
|
joinOpenBooking(requestParameters: BookingsApiJoinOpenBookingRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinOpenBookingResponse> {
|
|
15040
|
-
return localVarFp.joinOpenBooking(requestParameters.bookingId, requestParameters.
|
|
14688
|
+
return localVarFp.joinOpenBooking(requestParameters.bookingId, requestParameters.joinOpenBookingRequest, options).then((request) => request(axios, basePath));
|
|
15041
14689
|
},
|
|
15042
14690
|
/**
|
|
15043
14691
|
*
|
|
@@ -15276,10 +14924,10 @@ export interface BookingsApiJoinOpenBookingRequest {
|
|
|
15276
14924
|
|
|
15277
14925
|
/**
|
|
15278
14926
|
*
|
|
15279
|
-
* @type {
|
|
14927
|
+
* @type {JoinOpenBookingRequest}
|
|
15280
14928
|
* @memberof BookingsApiJoinOpenBooking
|
|
15281
14929
|
*/
|
|
15282
|
-
readonly
|
|
14930
|
+
readonly joinOpenBookingRequest: JoinOpenBookingRequest
|
|
15283
14931
|
}
|
|
15284
14932
|
|
|
15285
14933
|
/**
|
|
@@ -15410,7 +15058,7 @@ export class BookingsApi extends BaseAPI {
|
|
|
15410
15058
|
* @memberof BookingsApi
|
|
15411
15059
|
*/
|
|
15412
15060
|
public joinOpenBooking(requestParameters: BookingsApiJoinOpenBookingRequest, options?: RawAxiosRequestConfig) {
|
|
15413
|
-
return BookingsApiFp(this.configuration).joinOpenBooking(requestParameters.bookingId, requestParameters.
|
|
15061
|
+
return BookingsApiFp(this.configuration).joinOpenBooking(requestParameters.bookingId, requestParameters.joinOpenBookingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15414
15062
|
}
|
|
15415
15063
|
|
|
15416
15064
|
/**
|
|
@@ -15653,7 +15301,7 @@ export class BookingsManagerApi extends BaseAPI {
|
|
|
15653
15301
|
export const BookingsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15654
15302
|
return {
|
|
15655
15303
|
/**
|
|
15656
|
-
* Check-in d\'un joueur
|
|
15304
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
15657
15305
|
* @param {string} bookingId
|
|
15658
15306
|
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
15659
15307
|
* @param {*} [options] Override http request option.
|
|
@@ -15696,19 +15344,15 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
15696
15344
|
};
|
|
15697
15345
|
},
|
|
15698
15346
|
/**
|
|
15699
|
-
*
|
|
15700
|
-
* @param {
|
|
15701
|
-
* @param {CheckInPlayerSumupRequest} checkInPlayerSumupRequest
|
|
15347
|
+
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
15348
|
+
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
15702
15349
|
* @param {*} [options] Override http request option.
|
|
15703
15350
|
* @throws {RequiredError}
|
|
15704
15351
|
*/
|
|
15705
|
-
|
|
15706
|
-
// verify required parameter '
|
|
15707
|
-
assertParamExists('
|
|
15708
|
-
|
|
15709
|
-
assertParamExists('checkInPlayerWithSumup', 'checkInPlayerSumupRequest', checkInPlayerSumupRequest)
|
|
15710
|
-
const localVarPath = `/api/bookings/{bookingId}/check-in/sumup`
|
|
15711
|
-
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
15352
|
+
createStaffBooking: async (staffCreateBookingRequest: StaffCreateBookingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15353
|
+
// verify required parameter 'staffCreateBookingRequest' is not null or undefined
|
|
15354
|
+
assertParamExists('createStaffBooking', 'staffCreateBookingRequest', staffCreateBookingRequest)
|
|
15355
|
+
const localVarPath = `/api/bookings/staff`;
|
|
15712
15356
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15713
15357
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15714
15358
|
let baseOptions;
|
|
@@ -15731,7 +15375,7 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
15731
15375
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15732
15376
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15733
15377
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15734
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
15378
|
+
localVarRequestOptions.data = serializeDataIfNeeded(staffCreateBookingRequest, localVarRequestOptions, configuration)
|
|
15735
15379
|
|
|
15736
15380
|
return {
|
|
15737
15381
|
url: toPathString(localVarUrlObj),
|
|
@@ -15739,47 +15383,8 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
15739
15383
|
};
|
|
15740
15384
|
},
|
|
15741
15385
|
/**
|
|
15742
|
-
*
|
|
15743
|
-
* @param {
|
|
15744
|
-
* @param {*} [options] Override http request option.
|
|
15745
|
-
* @throws {RequiredError}
|
|
15746
|
-
*/
|
|
15747
|
-
createStaffBooking: async (staffCreateBookingRequest: StaffCreateBookingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15748
|
-
// verify required parameter 'staffCreateBookingRequest' is not null or undefined
|
|
15749
|
-
assertParamExists('createStaffBooking', 'staffCreateBookingRequest', staffCreateBookingRequest)
|
|
15750
|
-
const localVarPath = `/api/bookings/staff`;
|
|
15751
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15752
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15753
|
-
let baseOptions;
|
|
15754
|
-
if (configuration) {
|
|
15755
|
-
baseOptions = configuration.baseOptions;
|
|
15756
|
-
}
|
|
15757
|
-
|
|
15758
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15759
|
-
const localVarHeaderParameter = {} as any;
|
|
15760
|
-
const localVarQueryParameter = {} as any;
|
|
15761
|
-
|
|
15762
|
-
// authentication bearerAuth required
|
|
15763
|
-
// http bearer authentication required
|
|
15764
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15765
|
-
|
|
15766
|
-
|
|
15767
|
-
|
|
15768
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15769
|
-
|
|
15770
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15771
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15772
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15773
|
-
localVarRequestOptions.data = serializeDataIfNeeded(staffCreateBookingRequest, localVarRequestOptions, configuration)
|
|
15774
|
-
|
|
15775
|
-
return {
|
|
15776
|
-
url: toPathString(localVarUrlObj),
|
|
15777
|
-
options: localVarRequestOptions,
|
|
15778
|
-
};
|
|
15779
|
-
},
|
|
15780
|
-
/**
|
|
15781
|
-
* Obtenir une réservation par ID
|
|
15782
|
-
* @param {string} bookingId
|
|
15386
|
+
* Obtenir une réservation par ID
|
|
15387
|
+
* @param {string} bookingId
|
|
15783
15388
|
* @param {*} [options] Override http request option.
|
|
15784
15389
|
* @throws {RequiredError}
|
|
15785
15390
|
*/
|
|
@@ -16031,7 +15636,7 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
16031
15636
|
const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration)
|
|
16032
15637
|
return {
|
|
16033
15638
|
/**
|
|
16034
|
-
* Check-in d\'un joueur
|
|
15639
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
16035
15640
|
* @param {string} bookingId
|
|
16036
15641
|
* @param {CheckInPlayerRequest} checkInPlayerRequest
|
|
16037
15642
|
* @param {*} [options] Override http request option.
|
|
@@ -16043,19 +15648,6 @@ export const BookingsStaffApiFp = function(configuration?: Configuration) {
|
|
|
16043
15648
|
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayer']?.[localVarOperationServerIndex]?.url;
|
|
16044
15649
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16045
15650
|
},
|
|
16046
|
-
/**
|
|
16047
|
-
* Check-in d\'un joueur avec création d\'un checkout SumUp
|
|
16048
|
-
* @param {string} bookingId
|
|
16049
|
-
* @param {CheckInPlayerSumupRequest} checkInPlayerSumupRequest
|
|
16050
|
-
* @param {*} [options] Override http request option.
|
|
16051
|
-
* @throws {RequiredError}
|
|
16052
|
-
*/
|
|
16053
|
-
async checkInPlayerWithSumup(bookingId: string, checkInPlayerSumupRequest: CheckInPlayerSumupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckInPlayerSumupResponse>> {
|
|
16054
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.checkInPlayerWithSumup(bookingId, checkInPlayerSumupRequest, options);
|
|
16055
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16056
|
-
const localVarOperationServerBasePath = operationServerMap['BookingsStaffApi.checkInPlayerWithSumup']?.[localVarOperationServerIndex]?.url;
|
|
16057
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16058
|
-
},
|
|
16059
15651
|
/**
|
|
16060
15652
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
16061
15653
|
* @param {StaffCreateBookingRequest} staffCreateBookingRequest
|
|
@@ -16155,7 +15747,7 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
16155
15747
|
const localVarFp = BookingsStaffApiFp(configuration)
|
|
16156
15748
|
return {
|
|
16157
15749
|
/**
|
|
16158
|
-
* Check-in d\'un joueur
|
|
15750
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
16159
15751
|
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
16160
15752
|
* @param {*} [options] Override http request option.
|
|
16161
15753
|
* @throws {RequiredError}
|
|
@@ -16163,15 +15755,6 @@ export const BookingsStaffApiFactory = function (configuration?: Configuration,
|
|
|
16163
15755
|
checkInPlayer(requestParameters: BookingsStaffApiCheckInPlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerResponse> {
|
|
16164
15756
|
return localVarFp.checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(axios, basePath));
|
|
16165
15757
|
},
|
|
16166
|
-
/**
|
|
16167
|
-
* Check-in d\'un joueur avec création d\'un checkout SumUp
|
|
16168
|
-
* @param {BookingsStaffApiCheckInPlayerWithSumupRequest} requestParameters Request parameters.
|
|
16169
|
-
* @param {*} [options] Override http request option.
|
|
16170
|
-
* @throws {RequiredError}
|
|
16171
|
-
*/
|
|
16172
|
-
checkInPlayerWithSumup(requestParameters: BookingsStaffApiCheckInPlayerWithSumupRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckInPlayerSumupResponse> {
|
|
16173
|
-
return localVarFp.checkInPlayerWithSumup(requestParameters.bookingId, requestParameters.checkInPlayerSumupRequest, options).then((request) => request(axios, basePath));
|
|
16174
|
-
},
|
|
16175
15758
|
/**
|
|
16176
15759
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
16177
15760
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -16259,27 +15842,6 @@ export interface BookingsStaffApiCheckInPlayerRequest {
|
|
|
16259
15842
|
readonly checkInPlayerRequest: CheckInPlayerRequest
|
|
16260
15843
|
}
|
|
16261
15844
|
|
|
16262
|
-
/**
|
|
16263
|
-
* Request parameters for checkInPlayerWithSumup operation in BookingsStaffApi.
|
|
16264
|
-
* @export
|
|
16265
|
-
* @interface BookingsStaffApiCheckInPlayerWithSumupRequest
|
|
16266
|
-
*/
|
|
16267
|
-
export interface BookingsStaffApiCheckInPlayerWithSumupRequest {
|
|
16268
|
-
/**
|
|
16269
|
-
*
|
|
16270
|
-
* @type {string}
|
|
16271
|
-
* @memberof BookingsStaffApiCheckInPlayerWithSumup
|
|
16272
|
-
*/
|
|
16273
|
-
readonly bookingId: string
|
|
16274
|
-
|
|
16275
|
-
/**
|
|
16276
|
-
*
|
|
16277
|
-
* @type {CheckInPlayerSumupRequest}
|
|
16278
|
-
* @memberof BookingsStaffApiCheckInPlayerWithSumup
|
|
16279
|
-
*/
|
|
16280
|
-
readonly checkInPlayerSumupRequest: CheckInPlayerSumupRequest
|
|
16281
|
-
}
|
|
16282
|
-
|
|
16283
15845
|
/**
|
|
16284
15846
|
* Request parameters for createStaffBooking operation in BookingsStaffApi.
|
|
16285
15847
|
* @export
|
|
@@ -16414,7 +15976,7 @@ export interface BookingsStaffApiListClubBookingsRequest {
|
|
|
16414
15976
|
*/
|
|
16415
15977
|
export class BookingsStaffApi extends BaseAPI {
|
|
16416
15978
|
/**
|
|
16417
|
-
* Check-in d\'un joueur
|
|
15979
|
+
* Check-in d\'un joueur (paiement en ligne ou sur place)
|
|
16418
15980
|
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
16419
15981
|
* @param {*} [options] Override http request option.
|
|
16420
15982
|
* @throws {RequiredError}
|
|
@@ -16424,17 +15986,6 @@ export class BookingsStaffApi extends BaseAPI {
|
|
|
16424
15986
|
return BookingsStaffApiFp(this.configuration).checkInPlayer(requestParameters.bookingId, requestParameters.checkInPlayerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16425
15987
|
}
|
|
16426
15988
|
|
|
16427
|
-
/**
|
|
16428
|
-
* Check-in d\'un joueur avec création d\'un checkout SumUp
|
|
16429
|
-
* @param {BookingsStaffApiCheckInPlayerWithSumupRequest} requestParameters Request parameters.
|
|
16430
|
-
* @param {*} [options] Override http request option.
|
|
16431
|
-
* @throws {RequiredError}
|
|
16432
|
-
* @memberof BookingsStaffApi
|
|
16433
|
-
*/
|
|
16434
|
-
public checkInPlayerWithSumup(requestParameters: BookingsStaffApiCheckInPlayerWithSumupRequest, options?: RawAxiosRequestConfig) {
|
|
16435
|
-
return BookingsStaffApiFp(this.configuration).checkInPlayerWithSumup(requestParameters.bookingId, requestParameters.checkInPlayerSumupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16436
|
-
}
|
|
16437
|
-
|
|
16438
15989
|
/**
|
|
16439
15990
|
* Créer une réservation pour un joueur depuis l\'espace staff
|
|
16440
15991
|
* @param {BookingsStaffApiCreateStaffBookingRequest} requestParameters Request parameters.
|
|
@@ -28397,249 +27948,6 @@ export class ImagesApi extends BaseAPI {
|
|
|
28397
27948
|
|
|
28398
27949
|
|
|
28399
27950
|
|
|
28400
|
-
/**
|
|
28401
|
-
* PaymentsStaffApi - axios parameter creator
|
|
28402
|
-
* @export
|
|
28403
|
-
*/
|
|
28404
|
-
export const PaymentsStaffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28405
|
-
return {
|
|
28406
|
-
/**
|
|
28407
|
-
* Cancel a SumUp reader checkout.
|
|
28408
|
-
* @param {string} clubId
|
|
28409
|
-
* @param {string} paymentId
|
|
28410
|
-
* @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
|
|
28411
|
-
* @param {*} [options] Override http request option.
|
|
28412
|
-
* @throws {RequiredError}
|
|
28413
|
-
*/
|
|
28414
|
-
cancelSumupPayment: async (clubId: string, paymentId: string, sumupCancelPaymentRequest?: SumupCancelPaymentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28415
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
28416
|
-
assertParamExists('cancelSumupPayment', 'clubId', clubId)
|
|
28417
|
-
// verify required parameter 'paymentId' is not null or undefined
|
|
28418
|
-
assertParamExists('cancelSumupPayment', 'paymentId', paymentId)
|
|
28419
|
-
const localVarPath = `/api/clubs/{clubId}/payments/sumup/{paymentId}/cancel`
|
|
28420
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
28421
|
-
.replace(`{${"paymentId"}}`, encodeURIComponent(String(paymentId)));
|
|
28422
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28423
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28424
|
-
let baseOptions;
|
|
28425
|
-
if (configuration) {
|
|
28426
|
-
baseOptions = configuration.baseOptions;
|
|
28427
|
-
}
|
|
28428
|
-
|
|
28429
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28430
|
-
const localVarHeaderParameter = {} as any;
|
|
28431
|
-
const localVarQueryParameter = {} as any;
|
|
28432
|
-
|
|
28433
|
-
// authentication bearerAuth required
|
|
28434
|
-
// http bearer authentication required
|
|
28435
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28436
|
-
|
|
28437
|
-
|
|
28438
|
-
|
|
28439
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28440
|
-
|
|
28441
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28442
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28443
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28444
|
-
localVarRequestOptions.data = serializeDataIfNeeded(sumupCancelPaymentRequest, localVarRequestOptions, configuration)
|
|
28445
|
-
|
|
28446
|
-
return {
|
|
28447
|
-
url: toPathString(localVarUrlObj),
|
|
28448
|
-
options: localVarRequestOptions,
|
|
28449
|
-
};
|
|
28450
|
-
},
|
|
28451
|
-
/**
|
|
28452
|
-
* Start a SumUp reader checkout (manual payment trigger).
|
|
28453
|
-
* @param {string} clubId
|
|
28454
|
-
* @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
|
|
28455
|
-
* @param {*} [options] Override http request option.
|
|
28456
|
-
* @throws {RequiredError}
|
|
28457
|
-
*/
|
|
28458
|
-
createSumupPayment: async (clubId: string, sumupCreatePaymentRequest: SumupCreatePaymentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28459
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
28460
|
-
assertParamExists('createSumupPayment', 'clubId', clubId)
|
|
28461
|
-
// verify required parameter 'sumupCreatePaymentRequest' is not null or undefined
|
|
28462
|
-
assertParamExists('createSumupPayment', 'sumupCreatePaymentRequest', sumupCreatePaymentRequest)
|
|
28463
|
-
const localVarPath = `/api/clubs/{clubId}/payments/sumup`
|
|
28464
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
28465
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28466
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28467
|
-
let baseOptions;
|
|
28468
|
-
if (configuration) {
|
|
28469
|
-
baseOptions = configuration.baseOptions;
|
|
28470
|
-
}
|
|
28471
|
-
|
|
28472
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28473
|
-
const localVarHeaderParameter = {} as any;
|
|
28474
|
-
const localVarQueryParameter = {} as any;
|
|
28475
|
-
|
|
28476
|
-
// authentication bearerAuth required
|
|
28477
|
-
// http bearer authentication required
|
|
28478
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28479
|
-
|
|
28480
|
-
|
|
28481
|
-
|
|
28482
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28483
|
-
|
|
28484
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28485
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28486
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28487
|
-
localVarRequestOptions.data = serializeDataIfNeeded(sumupCreatePaymentRequest, localVarRequestOptions, configuration)
|
|
28488
|
-
|
|
28489
|
-
return {
|
|
28490
|
-
url: toPathString(localVarUrlObj),
|
|
28491
|
-
options: localVarRequestOptions,
|
|
28492
|
-
};
|
|
28493
|
-
},
|
|
28494
|
-
}
|
|
28495
|
-
};
|
|
28496
|
-
|
|
28497
|
-
/**
|
|
28498
|
-
* PaymentsStaffApi - functional programming interface
|
|
28499
|
-
* @export
|
|
28500
|
-
*/
|
|
28501
|
-
export const PaymentsStaffApiFp = function(configuration?: Configuration) {
|
|
28502
|
-
const localVarAxiosParamCreator = PaymentsStaffApiAxiosParamCreator(configuration)
|
|
28503
|
-
return {
|
|
28504
|
-
/**
|
|
28505
|
-
* Cancel a SumUp reader checkout.
|
|
28506
|
-
* @param {string} clubId
|
|
28507
|
-
* @param {string} paymentId
|
|
28508
|
-
* @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
|
|
28509
|
-
* @param {*} [options] Override http request option.
|
|
28510
|
-
* @throws {RequiredError}
|
|
28511
|
-
*/
|
|
28512
|
-
async cancelSumupPayment(clubId: string, paymentId: string, sumupCancelPaymentRequest?: SumupCancelPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
28513
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSumupPayment(clubId, paymentId, sumupCancelPaymentRequest, options);
|
|
28514
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28515
|
-
const localVarOperationServerBasePath = operationServerMap['PaymentsStaffApi.cancelSumupPayment']?.[localVarOperationServerIndex]?.url;
|
|
28516
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28517
|
-
},
|
|
28518
|
-
/**
|
|
28519
|
-
* Start a SumUp reader checkout (manual payment trigger).
|
|
28520
|
-
* @param {string} clubId
|
|
28521
|
-
* @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
|
|
28522
|
-
* @param {*} [options] Override http request option.
|
|
28523
|
-
* @throws {RequiredError}
|
|
28524
|
-
*/
|
|
28525
|
-
async createSumupPayment(clubId: string, sumupCreatePaymentRequest: SumupCreatePaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentIntentResult>> {
|
|
28526
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSumupPayment(clubId, sumupCreatePaymentRequest, options);
|
|
28527
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28528
|
-
const localVarOperationServerBasePath = operationServerMap['PaymentsStaffApi.createSumupPayment']?.[localVarOperationServerIndex]?.url;
|
|
28529
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28530
|
-
},
|
|
28531
|
-
}
|
|
28532
|
-
};
|
|
28533
|
-
|
|
28534
|
-
/**
|
|
28535
|
-
* PaymentsStaffApi - factory interface
|
|
28536
|
-
* @export
|
|
28537
|
-
*/
|
|
28538
|
-
export const PaymentsStaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
28539
|
-
const localVarFp = PaymentsStaffApiFp(configuration)
|
|
28540
|
-
return {
|
|
28541
|
-
/**
|
|
28542
|
-
* Cancel a SumUp reader checkout.
|
|
28543
|
-
* @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
|
|
28544
|
-
* @param {*} [options] Override http request option.
|
|
28545
|
-
* @throws {RequiredError}
|
|
28546
|
-
*/
|
|
28547
|
-
cancelSumupPayment(requestParameters: PaymentsStaffApiCancelSumupPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28548
|
-
return localVarFp.cancelSumupPayment(requestParameters.clubId, requestParameters.paymentId, requestParameters.sumupCancelPaymentRequest, options).then((request) => request(axios, basePath));
|
|
28549
|
-
},
|
|
28550
|
-
/**
|
|
28551
|
-
* Start a SumUp reader checkout (manual payment trigger).
|
|
28552
|
-
* @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
|
|
28553
|
-
* @param {*} [options] Override http request option.
|
|
28554
|
-
* @throws {RequiredError}
|
|
28555
|
-
*/
|
|
28556
|
-
createSumupPayment(requestParameters: PaymentsStaffApiCreateSumupPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentIntentResult> {
|
|
28557
|
-
return localVarFp.createSumupPayment(requestParameters.clubId, requestParameters.sumupCreatePaymentRequest, options).then((request) => request(axios, basePath));
|
|
28558
|
-
},
|
|
28559
|
-
};
|
|
28560
|
-
};
|
|
28561
|
-
|
|
28562
|
-
/**
|
|
28563
|
-
* Request parameters for cancelSumupPayment operation in PaymentsStaffApi.
|
|
28564
|
-
* @export
|
|
28565
|
-
* @interface PaymentsStaffApiCancelSumupPaymentRequest
|
|
28566
|
-
*/
|
|
28567
|
-
export interface PaymentsStaffApiCancelSumupPaymentRequest {
|
|
28568
|
-
/**
|
|
28569
|
-
*
|
|
28570
|
-
* @type {string}
|
|
28571
|
-
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
28572
|
-
*/
|
|
28573
|
-
readonly clubId: string
|
|
28574
|
-
|
|
28575
|
-
/**
|
|
28576
|
-
*
|
|
28577
|
-
* @type {string}
|
|
28578
|
-
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
28579
|
-
*/
|
|
28580
|
-
readonly paymentId: string
|
|
28581
|
-
|
|
28582
|
-
/**
|
|
28583
|
-
*
|
|
28584
|
-
* @type {SumupCancelPaymentRequest}
|
|
28585
|
-
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
28586
|
-
*/
|
|
28587
|
-
readonly sumupCancelPaymentRequest?: SumupCancelPaymentRequest
|
|
28588
|
-
}
|
|
28589
|
-
|
|
28590
|
-
/**
|
|
28591
|
-
* Request parameters for createSumupPayment operation in PaymentsStaffApi.
|
|
28592
|
-
* @export
|
|
28593
|
-
* @interface PaymentsStaffApiCreateSumupPaymentRequest
|
|
28594
|
-
*/
|
|
28595
|
-
export interface PaymentsStaffApiCreateSumupPaymentRequest {
|
|
28596
|
-
/**
|
|
28597
|
-
*
|
|
28598
|
-
* @type {string}
|
|
28599
|
-
* @memberof PaymentsStaffApiCreateSumupPayment
|
|
28600
|
-
*/
|
|
28601
|
-
readonly clubId: string
|
|
28602
|
-
|
|
28603
|
-
/**
|
|
28604
|
-
*
|
|
28605
|
-
* @type {SumupCreatePaymentRequest}
|
|
28606
|
-
* @memberof PaymentsStaffApiCreateSumupPayment
|
|
28607
|
-
*/
|
|
28608
|
-
readonly sumupCreatePaymentRequest: SumupCreatePaymentRequest
|
|
28609
|
-
}
|
|
28610
|
-
|
|
28611
|
-
/**
|
|
28612
|
-
* PaymentsStaffApi - object-oriented interface
|
|
28613
|
-
* @export
|
|
28614
|
-
* @class PaymentsStaffApi
|
|
28615
|
-
* @extends {BaseAPI}
|
|
28616
|
-
*/
|
|
28617
|
-
export class PaymentsStaffApi extends BaseAPI {
|
|
28618
|
-
/**
|
|
28619
|
-
* Cancel a SumUp reader checkout.
|
|
28620
|
-
* @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
|
|
28621
|
-
* @param {*} [options] Override http request option.
|
|
28622
|
-
* @throws {RequiredError}
|
|
28623
|
-
* @memberof PaymentsStaffApi
|
|
28624
|
-
*/
|
|
28625
|
-
public cancelSumupPayment(requestParameters: PaymentsStaffApiCancelSumupPaymentRequest, options?: RawAxiosRequestConfig) {
|
|
28626
|
-
return PaymentsStaffApiFp(this.configuration).cancelSumupPayment(requestParameters.clubId, requestParameters.paymentId, requestParameters.sumupCancelPaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28627
|
-
}
|
|
28628
|
-
|
|
28629
|
-
/**
|
|
28630
|
-
* Start a SumUp reader checkout (manual payment trigger).
|
|
28631
|
-
* @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
|
|
28632
|
-
* @param {*} [options] Override http request option.
|
|
28633
|
-
* @throws {RequiredError}
|
|
28634
|
-
* @memberof PaymentsStaffApi
|
|
28635
|
-
*/
|
|
28636
|
-
public createSumupPayment(requestParameters: PaymentsStaffApiCreateSumupPaymentRequest, options?: RawAxiosRequestConfig) {
|
|
28637
|
-
return PaymentsStaffApiFp(this.configuration).createSumupPayment(requestParameters.clubId, requestParameters.sumupCreatePaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28638
|
-
}
|
|
28639
|
-
}
|
|
28640
|
-
|
|
28641
|
-
|
|
28642
|
-
|
|
28643
27951
|
/**
|
|
28644
27952
|
* PublicEmailApi - axios parameter creator
|
|
28645
27953
|
* @export
|
|
@@ -30378,705 +29686,6 @@ export class SubscriptionsUserApi extends BaseAPI {
|
|
|
30378
29686
|
|
|
30379
29687
|
|
|
30380
29688
|
|
|
30381
|
-
/**
|
|
30382
|
-
* SumUpApi - axios parameter creator
|
|
30383
|
-
* @export
|
|
30384
|
-
*/
|
|
30385
|
-
export const SumUpApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30386
|
-
return {
|
|
30387
|
-
/**
|
|
30388
|
-
* OAuth callback for SumUp.
|
|
30389
|
-
* @param {string} code
|
|
30390
|
-
* @param {string} state
|
|
30391
|
-
* @param {*} [options] Override http request option.
|
|
30392
|
-
* @throws {RequiredError}
|
|
30393
|
-
*/
|
|
30394
|
-
sumupOauthCallback: async (code: string, state: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30395
|
-
// verify required parameter 'code' is not null or undefined
|
|
30396
|
-
assertParamExists('sumupOauthCallback', 'code', code)
|
|
30397
|
-
// verify required parameter 'state' is not null or undefined
|
|
30398
|
-
assertParamExists('sumupOauthCallback', 'state', state)
|
|
30399
|
-
const localVarPath = `/api/sumup/oauth/callback`;
|
|
30400
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30401
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30402
|
-
let baseOptions;
|
|
30403
|
-
if (configuration) {
|
|
30404
|
-
baseOptions = configuration.baseOptions;
|
|
30405
|
-
}
|
|
30406
|
-
|
|
30407
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30408
|
-
const localVarHeaderParameter = {} as any;
|
|
30409
|
-
const localVarQueryParameter = {} as any;
|
|
30410
|
-
|
|
30411
|
-
if (code !== undefined) {
|
|
30412
|
-
localVarQueryParameter['code'] = code;
|
|
30413
|
-
}
|
|
30414
|
-
|
|
30415
|
-
if (state !== undefined) {
|
|
30416
|
-
localVarQueryParameter['state'] = state;
|
|
30417
|
-
}
|
|
30418
|
-
|
|
30419
|
-
|
|
30420
|
-
|
|
30421
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30422
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30423
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30424
|
-
|
|
30425
|
-
return {
|
|
30426
|
-
url: toPathString(localVarUrlObj),
|
|
30427
|
-
options: localVarRequestOptions,
|
|
30428
|
-
};
|
|
30429
|
-
},
|
|
30430
|
-
}
|
|
30431
|
-
};
|
|
30432
|
-
|
|
30433
|
-
/**
|
|
30434
|
-
* SumUpApi - functional programming interface
|
|
30435
|
-
* @export
|
|
30436
|
-
*/
|
|
30437
|
-
export const SumUpApiFp = function(configuration?: Configuration) {
|
|
30438
|
-
const localVarAxiosParamCreator = SumUpApiAxiosParamCreator(configuration)
|
|
30439
|
-
return {
|
|
30440
|
-
/**
|
|
30441
|
-
* OAuth callback for SumUp.
|
|
30442
|
-
* @param {string} code
|
|
30443
|
-
* @param {string} state
|
|
30444
|
-
* @param {*} [options] Override http request option.
|
|
30445
|
-
* @throws {RequiredError}
|
|
30446
|
-
*/
|
|
30447
|
-
async sumupOauthCallback(code: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupOAuthCallbackResponse>> {
|
|
30448
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sumupOauthCallback(code, state, options);
|
|
30449
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30450
|
-
const localVarOperationServerBasePath = operationServerMap['SumUpApi.sumupOauthCallback']?.[localVarOperationServerIndex]?.url;
|
|
30451
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30452
|
-
},
|
|
30453
|
-
}
|
|
30454
|
-
};
|
|
30455
|
-
|
|
30456
|
-
/**
|
|
30457
|
-
* SumUpApi - factory interface
|
|
30458
|
-
* @export
|
|
30459
|
-
*/
|
|
30460
|
-
export const SumUpApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30461
|
-
const localVarFp = SumUpApiFp(configuration)
|
|
30462
|
-
return {
|
|
30463
|
-
/**
|
|
30464
|
-
* OAuth callback for SumUp.
|
|
30465
|
-
* @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
|
|
30466
|
-
* @param {*} [options] Override http request option.
|
|
30467
|
-
* @throws {RequiredError}
|
|
30468
|
-
*/
|
|
30469
|
-
sumupOauthCallback(requestParameters: SumUpApiSumupOauthCallbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupOAuthCallbackResponse> {
|
|
30470
|
-
return localVarFp.sumupOauthCallback(requestParameters.code, requestParameters.state, options).then((request) => request(axios, basePath));
|
|
30471
|
-
},
|
|
30472
|
-
};
|
|
30473
|
-
};
|
|
30474
|
-
|
|
30475
|
-
/**
|
|
30476
|
-
* Request parameters for sumupOauthCallback operation in SumUpApi.
|
|
30477
|
-
* @export
|
|
30478
|
-
* @interface SumUpApiSumupOauthCallbackRequest
|
|
30479
|
-
*/
|
|
30480
|
-
export interface SumUpApiSumupOauthCallbackRequest {
|
|
30481
|
-
/**
|
|
30482
|
-
*
|
|
30483
|
-
* @type {string}
|
|
30484
|
-
* @memberof SumUpApiSumupOauthCallback
|
|
30485
|
-
*/
|
|
30486
|
-
readonly code: string
|
|
30487
|
-
|
|
30488
|
-
/**
|
|
30489
|
-
*
|
|
30490
|
-
* @type {string}
|
|
30491
|
-
* @memberof SumUpApiSumupOauthCallback
|
|
30492
|
-
*/
|
|
30493
|
-
readonly state: string
|
|
30494
|
-
}
|
|
30495
|
-
|
|
30496
|
-
/**
|
|
30497
|
-
* SumUpApi - object-oriented interface
|
|
30498
|
-
* @export
|
|
30499
|
-
* @class SumUpApi
|
|
30500
|
-
* @extends {BaseAPI}
|
|
30501
|
-
*/
|
|
30502
|
-
export class SumUpApi extends BaseAPI {
|
|
30503
|
-
/**
|
|
30504
|
-
* OAuth callback for SumUp.
|
|
30505
|
-
* @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
|
|
30506
|
-
* @param {*} [options] Override http request option.
|
|
30507
|
-
* @throws {RequiredError}
|
|
30508
|
-
* @memberof SumUpApi
|
|
30509
|
-
*/
|
|
30510
|
-
public sumupOauthCallback(requestParameters: SumUpApiSumupOauthCallbackRequest, options?: RawAxiosRequestConfig) {
|
|
30511
|
-
return SumUpApiFp(this.configuration).sumupOauthCallback(requestParameters.code, requestParameters.state, options).then((request) => request(this.axios, this.basePath));
|
|
30512
|
-
}
|
|
30513
|
-
}
|
|
30514
|
-
|
|
30515
|
-
|
|
30516
|
-
|
|
30517
|
-
/**
|
|
30518
|
-
* SumUpManagerApi - axios parameter creator
|
|
30519
|
-
* @export
|
|
30520
|
-
*/
|
|
30521
|
-
export const SumUpManagerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30522
|
-
return {
|
|
30523
|
-
/**
|
|
30524
|
-
* Disconnect SumUp account for a club.
|
|
30525
|
-
* @param {string} clubId
|
|
30526
|
-
* @param {*} [options] Override http request option.
|
|
30527
|
-
* @throws {RequiredError}
|
|
30528
|
-
*/
|
|
30529
|
-
disconnectSumup: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30530
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
30531
|
-
assertParamExists('disconnectSumup', 'clubId', clubId)
|
|
30532
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/disconnect`
|
|
30533
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
30534
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30535
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30536
|
-
let baseOptions;
|
|
30537
|
-
if (configuration) {
|
|
30538
|
-
baseOptions = configuration.baseOptions;
|
|
30539
|
-
}
|
|
30540
|
-
|
|
30541
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30542
|
-
const localVarHeaderParameter = {} as any;
|
|
30543
|
-
const localVarQueryParameter = {} as any;
|
|
30544
|
-
|
|
30545
|
-
// authentication bearerAuth required
|
|
30546
|
-
// http bearer authentication required
|
|
30547
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30548
|
-
|
|
30549
|
-
|
|
30550
|
-
|
|
30551
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30552
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30553
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30554
|
-
|
|
30555
|
-
return {
|
|
30556
|
-
url: toPathString(localVarUrlObj),
|
|
30557
|
-
options: localVarRequestOptions,
|
|
30558
|
-
};
|
|
30559
|
-
},
|
|
30560
|
-
/**
|
|
30561
|
-
* Start SumUp OAuth connection for a club.
|
|
30562
|
-
* @param {string} clubId
|
|
30563
|
-
* @param {*} [options] Override http request option.
|
|
30564
|
-
* @throws {RequiredError}
|
|
30565
|
-
*/
|
|
30566
|
-
getSumupConnectUrl: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30567
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
30568
|
-
assertParamExists('getSumupConnectUrl', 'clubId', clubId)
|
|
30569
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/connect`
|
|
30570
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
30571
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30572
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30573
|
-
let baseOptions;
|
|
30574
|
-
if (configuration) {
|
|
30575
|
-
baseOptions = configuration.baseOptions;
|
|
30576
|
-
}
|
|
30577
|
-
|
|
30578
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30579
|
-
const localVarHeaderParameter = {} as any;
|
|
30580
|
-
const localVarQueryParameter = {} as any;
|
|
30581
|
-
|
|
30582
|
-
// authentication bearerAuth required
|
|
30583
|
-
// http bearer authentication required
|
|
30584
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30585
|
-
|
|
30586
|
-
|
|
30587
|
-
|
|
30588
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30589
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30590
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30591
|
-
|
|
30592
|
-
return {
|
|
30593
|
-
url: toPathString(localVarUrlObj),
|
|
30594
|
-
options: localVarRequestOptions,
|
|
30595
|
-
};
|
|
30596
|
-
},
|
|
30597
|
-
/**
|
|
30598
|
-
* Get SumUp connection status for a club.
|
|
30599
|
-
* @param {string} clubId
|
|
30600
|
-
* @param {*} [options] Override http request option.
|
|
30601
|
-
* @throws {RequiredError}
|
|
30602
|
-
*/
|
|
30603
|
-
getSumupStatus: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30604
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
30605
|
-
assertParamExists('getSumupStatus', 'clubId', clubId)
|
|
30606
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/status`
|
|
30607
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
30608
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30609
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30610
|
-
let baseOptions;
|
|
30611
|
-
if (configuration) {
|
|
30612
|
-
baseOptions = configuration.baseOptions;
|
|
30613
|
-
}
|
|
30614
|
-
|
|
30615
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30616
|
-
const localVarHeaderParameter = {} as any;
|
|
30617
|
-
const localVarQueryParameter = {} as any;
|
|
30618
|
-
|
|
30619
|
-
// authentication bearerAuth required
|
|
30620
|
-
// http bearer authentication required
|
|
30621
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30622
|
-
|
|
30623
|
-
|
|
30624
|
-
|
|
30625
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30626
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30627
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30628
|
-
|
|
30629
|
-
return {
|
|
30630
|
-
url: toPathString(localVarUrlObj),
|
|
30631
|
-
options: localVarRequestOptions,
|
|
30632
|
-
};
|
|
30633
|
-
},
|
|
30634
|
-
/**
|
|
30635
|
-
* List SumUp readers for a club.
|
|
30636
|
-
* @param {string} clubId
|
|
30637
|
-
* @param {*} [options] Override http request option.
|
|
30638
|
-
* @throws {RequiredError}
|
|
30639
|
-
*/
|
|
30640
|
-
listSumupReaders: async (clubId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30641
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
30642
|
-
assertParamExists('listSumupReaders', 'clubId', clubId)
|
|
30643
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/readers`
|
|
30644
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
30645
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30646
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30647
|
-
let baseOptions;
|
|
30648
|
-
if (configuration) {
|
|
30649
|
-
baseOptions = configuration.baseOptions;
|
|
30650
|
-
}
|
|
30651
|
-
|
|
30652
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30653
|
-
const localVarHeaderParameter = {} as any;
|
|
30654
|
-
const localVarQueryParameter = {} as any;
|
|
30655
|
-
|
|
30656
|
-
// authentication bearerAuth required
|
|
30657
|
-
// http bearer authentication required
|
|
30658
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30659
|
-
|
|
30660
|
-
|
|
30661
|
-
|
|
30662
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30663
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30664
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30665
|
-
|
|
30666
|
-
return {
|
|
30667
|
-
url: toPathString(localVarUrlObj),
|
|
30668
|
-
options: localVarRequestOptions,
|
|
30669
|
-
};
|
|
30670
|
-
},
|
|
30671
|
-
/**
|
|
30672
|
-
* Pair a SumUp reader with a club.
|
|
30673
|
-
* @param {string} clubId
|
|
30674
|
-
* @param {SumupPairReaderRequest} sumupPairReaderRequest
|
|
30675
|
-
* @param {*} [options] Override http request option.
|
|
30676
|
-
* @throws {RequiredError}
|
|
30677
|
-
*/
|
|
30678
|
-
pairSumupReader: async (clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30679
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
30680
|
-
assertParamExists('pairSumupReader', 'clubId', clubId)
|
|
30681
|
-
// verify required parameter 'sumupPairReaderRequest' is not null or undefined
|
|
30682
|
-
assertParamExists('pairSumupReader', 'sumupPairReaderRequest', sumupPairReaderRequest)
|
|
30683
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/readers/pair`
|
|
30684
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
|
|
30685
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30686
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30687
|
-
let baseOptions;
|
|
30688
|
-
if (configuration) {
|
|
30689
|
-
baseOptions = configuration.baseOptions;
|
|
30690
|
-
}
|
|
30691
|
-
|
|
30692
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30693
|
-
const localVarHeaderParameter = {} as any;
|
|
30694
|
-
const localVarQueryParameter = {} as any;
|
|
30695
|
-
|
|
30696
|
-
// authentication bearerAuth required
|
|
30697
|
-
// http bearer authentication required
|
|
30698
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30699
|
-
|
|
30700
|
-
|
|
30701
|
-
|
|
30702
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30703
|
-
|
|
30704
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30705
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30706
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30707
|
-
localVarRequestOptions.data = serializeDataIfNeeded(sumupPairReaderRequest, localVarRequestOptions, configuration)
|
|
30708
|
-
|
|
30709
|
-
return {
|
|
30710
|
-
url: toPathString(localVarUrlObj),
|
|
30711
|
-
options: localVarRequestOptions,
|
|
30712
|
-
};
|
|
30713
|
-
},
|
|
30714
|
-
/**
|
|
30715
|
-
* Select a SumUp reader for a club.
|
|
30716
|
-
* @param {string} clubId
|
|
30717
|
-
* @param {string} readerId
|
|
30718
|
-
* @param {*} [options] Override http request option.
|
|
30719
|
-
* @throws {RequiredError}
|
|
30720
|
-
*/
|
|
30721
|
-
selectSumupReader: async (clubId: string, readerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30722
|
-
// verify required parameter 'clubId' is not null or undefined
|
|
30723
|
-
assertParamExists('selectSumupReader', 'clubId', clubId)
|
|
30724
|
-
// verify required parameter 'readerId' is not null or undefined
|
|
30725
|
-
assertParamExists('selectSumupReader', 'readerId', readerId)
|
|
30726
|
-
const localVarPath = `/api/clubs/{clubId}/sumup/readers/{readerId}/select`
|
|
30727
|
-
.replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
|
|
30728
|
-
.replace(`{${"readerId"}}`, encodeURIComponent(String(readerId)));
|
|
30729
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30730
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30731
|
-
let baseOptions;
|
|
30732
|
-
if (configuration) {
|
|
30733
|
-
baseOptions = configuration.baseOptions;
|
|
30734
|
-
}
|
|
30735
|
-
|
|
30736
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30737
|
-
const localVarHeaderParameter = {} as any;
|
|
30738
|
-
const localVarQueryParameter = {} as any;
|
|
30739
|
-
|
|
30740
|
-
// authentication bearerAuth required
|
|
30741
|
-
// http bearer authentication required
|
|
30742
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30743
|
-
|
|
30744
|
-
|
|
30745
|
-
|
|
30746
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30747
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30748
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30749
|
-
|
|
30750
|
-
return {
|
|
30751
|
-
url: toPathString(localVarUrlObj),
|
|
30752
|
-
options: localVarRequestOptions,
|
|
30753
|
-
};
|
|
30754
|
-
},
|
|
30755
|
-
}
|
|
30756
|
-
};
|
|
30757
|
-
|
|
30758
|
-
/**
|
|
30759
|
-
* SumUpManagerApi - functional programming interface
|
|
30760
|
-
* @export
|
|
30761
|
-
*/
|
|
30762
|
-
export const SumUpManagerApiFp = function(configuration?: Configuration) {
|
|
30763
|
-
const localVarAxiosParamCreator = SumUpManagerApiAxiosParamCreator(configuration)
|
|
30764
|
-
return {
|
|
30765
|
-
/**
|
|
30766
|
-
* Disconnect SumUp account for a club.
|
|
30767
|
-
* @param {string} clubId
|
|
30768
|
-
* @param {*} [options] Override http request option.
|
|
30769
|
-
* @throws {RequiredError}
|
|
30770
|
-
*/
|
|
30771
|
-
async disconnectSumup(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
30772
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.disconnectSumup(clubId, options);
|
|
30773
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30774
|
-
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.disconnectSumup']?.[localVarOperationServerIndex]?.url;
|
|
30775
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30776
|
-
},
|
|
30777
|
-
/**
|
|
30778
|
-
* Start SumUp OAuth connection for a club.
|
|
30779
|
-
* @param {string} clubId
|
|
30780
|
-
* @param {*} [options] Override http request option.
|
|
30781
|
-
* @throws {RequiredError}
|
|
30782
|
-
*/
|
|
30783
|
-
async getSumupConnectUrl(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupConnectUrlResponse>> {
|
|
30784
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSumupConnectUrl(clubId, options);
|
|
30785
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30786
|
-
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.getSumupConnectUrl']?.[localVarOperationServerIndex]?.url;
|
|
30787
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30788
|
-
},
|
|
30789
|
-
/**
|
|
30790
|
-
* Get SumUp connection status for a club.
|
|
30791
|
-
* @param {string} clubId
|
|
30792
|
-
* @param {*} [options] Override http request option.
|
|
30793
|
-
* @throws {RequiredError}
|
|
30794
|
-
*/
|
|
30795
|
-
async getSumupStatus(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupAccountStatusResponse>> {
|
|
30796
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSumupStatus(clubId, options);
|
|
30797
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30798
|
-
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.getSumupStatus']?.[localVarOperationServerIndex]?.url;
|
|
30799
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30800
|
-
},
|
|
30801
|
-
/**
|
|
30802
|
-
* List SumUp readers for a club.
|
|
30803
|
-
* @param {string} clubId
|
|
30804
|
-
* @param {*} [options] Override http request option.
|
|
30805
|
-
* @throws {RequiredError}
|
|
30806
|
-
*/
|
|
30807
|
-
async listSumupReaders(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupReadersResponse>> {
|
|
30808
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSumupReaders(clubId, options);
|
|
30809
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30810
|
-
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.listSumupReaders']?.[localVarOperationServerIndex]?.url;
|
|
30811
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30812
|
-
},
|
|
30813
|
-
/**
|
|
30814
|
-
* Pair a SumUp reader with a club.
|
|
30815
|
-
* @param {string} clubId
|
|
30816
|
-
* @param {SumupPairReaderRequest} sumupPairReaderRequest
|
|
30817
|
-
* @param {*} [options] Override http request option.
|
|
30818
|
-
* @throws {RequiredError}
|
|
30819
|
-
*/
|
|
30820
|
-
async pairSumupReader(clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupPairReaderResponse>> {
|
|
30821
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.pairSumupReader(clubId, sumupPairReaderRequest, options);
|
|
30822
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30823
|
-
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.pairSumupReader']?.[localVarOperationServerIndex]?.url;
|
|
30824
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30825
|
-
},
|
|
30826
|
-
/**
|
|
30827
|
-
* Select a SumUp reader for a club.
|
|
30828
|
-
* @param {string} clubId
|
|
30829
|
-
* @param {string} readerId
|
|
30830
|
-
* @param {*} [options] Override http request option.
|
|
30831
|
-
* @throws {RequiredError}
|
|
30832
|
-
*/
|
|
30833
|
-
async selectSumupReader(clubId: string, readerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
30834
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.selectSumupReader(clubId, readerId, options);
|
|
30835
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30836
|
-
const localVarOperationServerBasePath = operationServerMap['SumUpManagerApi.selectSumupReader']?.[localVarOperationServerIndex]?.url;
|
|
30837
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30838
|
-
},
|
|
30839
|
-
}
|
|
30840
|
-
};
|
|
30841
|
-
|
|
30842
|
-
/**
|
|
30843
|
-
* SumUpManagerApi - factory interface
|
|
30844
|
-
* @export
|
|
30845
|
-
*/
|
|
30846
|
-
export const SumUpManagerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30847
|
-
const localVarFp = SumUpManagerApiFp(configuration)
|
|
30848
|
-
return {
|
|
30849
|
-
/**
|
|
30850
|
-
* Disconnect SumUp account for a club.
|
|
30851
|
-
* @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
|
|
30852
|
-
* @param {*} [options] Override http request option.
|
|
30853
|
-
* @throws {RequiredError}
|
|
30854
|
-
*/
|
|
30855
|
-
disconnectSumup(requestParameters: SumUpManagerApiDisconnectSumupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
30856
|
-
return localVarFp.disconnectSumup(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
30857
|
-
},
|
|
30858
|
-
/**
|
|
30859
|
-
* Start SumUp OAuth connection for a club.
|
|
30860
|
-
* @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
|
|
30861
|
-
* @param {*} [options] Override http request option.
|
|
30862
|
-
* @throws {RequiredError}
|
|
30863
|
-
*/
|
|
30864
|
-
getSumupConnectUrl(requestParameters: SumUpManagerApiGetSumupConnectUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupConnectUrlResponse> {
|
|
30865
|
-
return localVarFp.getSumupConnectUrl(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
30866
|
-
},
|
|
30867
|
-
/**
|
|
30868
|
-
* Get SumUp connection status for a club.
|
|
30869
|
-
* @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
|
|
30870
|
-
* @param {*} [options] Override http request option.
|
|
30871
|
-
* @throws {RequiredError}
|
|
30872
|
-
*/
|
|
30873
|
-
getSumupStatus(requestParameters: SumUpManagerApiGetSumupStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupAccountStatusResponse> {
|
|
30874
|
-
return localVarFp.getSumupStatus(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
30875
|
-
},
|
|
30876
|
-
/**
|
|
30877
|
-
* List SumUp readers for a club.
|
|
30878
|
-
* @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
|
|
30879
|
-
* @param {*} [options] Override http request option.
|
|
30880
|
-
* @throws {RequiredError}
|
|
30881
|
-
*/
|
|
30882
|
-
listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupReadersResponse> {
|
|
30883
|
-
return localVarFp.listSumupReaders(requestParameters.clubId, options).then((request) => request(axios, basePath));
|
|
30884
|
-
},
|
|
30885
|
-
/**
|
|
30886
|
-
* Pair a SumUp reader with a club.
|
|
30887
|
-
* @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
|
|
30888
|
-
* @param {*} [options] Override http request option.
|
|
30889
|
-
* @throws {RequiredError}
|
|
30890
|
-
*/
|
|
30891
|
-
pairSumupReader(requestParameters: SumUpManagerApiPairSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupPairReaderResponse> {
|
|
30892
|
-
return localVarFp.pairSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(axios, basePath));
|
|
30893
|
-
},
|
|
30894
|
-
/**
|
|
30895
|
-
* Select a SumUp reader for a club.
|
|
30896
|
-
* @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
|
|
30897
|
-
* @param {*} [options] Override http request option.
|
|
30898
|
-
* @throws {RequiredError}
|
|
30899
|
-
*/
|
|
30900
|
-
selectSumupReader(requestParameters: SumUpManagerApiSelectSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
30901
|
-
return localVarFp.selectSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(axios, basePath));
|
|
30902
|
-
},
|
|
30903
|
-
};
|
|
30904
|
-
};
|
|
30905
|
-
|
|
30906
|
-
/**
|
|
30907
|
-
* Request parameters for disconnectSumup operation in SumUpManagerApi.
|
|
30908
|
-
* @export
|
|
30909
|
-
* @interface SumUpManagerApiDisconnectSumupRequest
|
|
30910
|
-
*/
|
|
30911
|
-
export interface SumUpManagerApiDisconnectSumupRequest {
|
|
30912
|
-
/**
|
|
30913
|
-
*
|
|
30914
|
-
* @type {string}
|
|
30915
|
-
* @memberof SumUpManagerApiDisconnectSumup
|
|
30916
|
-
*/
|
|
30917
|
-
readonly clubId: string
|
|
30918
|
-
}
|
|
30919
|
-
|
|
30920
|
-
/**
|
|
30921
|
-
* Request parameters for getSumupConnectUrl operation in SumUpManagerApi.
|
|
30922
|
-
* @export
|
|
30923
|
-
* @interface SumUpManagerApiGetSumupConnectUrlRequest
|
|
30924
|
-
*/
|
|
30925
|
-
export interface SumUpManagerApiGetSumupConnectUrlRequest {
|
|
30926
|
-
/**
|
|
30927
|
-
*
|
|
30928
|
-
* @type {string}
|
|
30929
|
-
* @memberof SumUpManagerApiGetSumupConnectUrl
|
|
30930
|
-
*/
|
|
30931
|
-
readonly clubId: string
|
|
30932
|
-
}
|
|
30933
|
-
|
|
30934
|
-
/**
|
|
30935
|
-
* Request parameters for getSumupStatus operation in SumUpManagerApi.
|
|
30936
|
-
* @export
|
|
30937
|
-
* @interface SumUpManagerApiGetSumupStatusRequest
|
|
30938
|
-
*/
|
|
30939
|
-
export interface SumUpManagerApiGetSumupStatusRequest {
|
|
30940
|
-
/**
|
|
30941
|
-
*
|
|
30942
|
-
* @type {string}
|
|
30943
|
-
* @memberof SumUpManagerApiGetSumupStatus
|
|
30944
|
-
*/
|
|
30945
|
-
readonly clubId: string
|
|
30946
|
-
}
|
|
30947
|
-
|
|
30948
|
-
/**
|
|
30949
|
-
* Request parameters for listSumupReaders operation in SumUpManagerApi.
|
|
30950
|
-
* @export
|
|
30951
|
-
* @interface SumUpManagerApiListSumupReadersRequest
|
|
30952
|
-
*/
|
|
30953
|
-
export interface SumUpManagerApiListSumupReadersRequest {
|
|
30954
|
-
/**
|
|
30955
|
-
*
|
|
30956
|
-
* @type {string}
|
|
30957
|
-
* @memberof SumUpManagerApiListSumupReaders
|
|
30958
|
-
*/
|
|
30959
|
-
readonly clubId: string
|
|
30960
|
-
}
|
|
30961
|
-
|
|
30962
|
-
/**
|
|
30963
|
-
* Request parameters for pairSumupReader operation in SumUpManagerApi.
|
|
30964
|
-
* @export
|
|
30965
|
-
* @interface SumUpManagerApiPairSumupReaderRequest
|
|
30966
|
-
*/
|
|
30967
|
-
export interface SumUpManagerApiPairSumupReaderRequest {
|
|
30968
|
-
/**
|
|
30969
|
-
*
|
|
30970
|
-
* @type {string}
|
|
30971
|
-
* @memberof SumUpManagerApiPairSumupReader
|
|
30972
|
-
*/
|
|
30973
|
-
readonly clubId: string
|
|
30974
|
-
|
|
30975
|
-
/**
|
|
30976
|
-
*
|
|
30977
|
-
* @type {SumupPairReaderRequest}
|
|
30978
|
-
* @memberof SumUpManagerApiPairSumupReader
|
|
30979
|
-
*/
|
|
30980
|
-
readonly sumupPairReaderRequest: SumupPairReaderRequest
|
|
30981
|
-
}
|
|
30982
|
-
|
|
30983
|
-
/**
|
|
30984
|
-
* Request parameters for selectSumupReader operation in SumUpManagerApi.
|
|
30985
|
-
* @export
|
|
30986
|
-
* @interface SumUpManagerApiSelectSumupReaderRequest
|
|
30987
|
-
*/
|
|
30988
|
-
export interface SumUpManagerApiSelectSumupReaderRequest {
|
|
30989
|
-
/**
|
|
30990
|
-
*
|
|
30991
|
-
* @type {string}
|
|
30992
|
-
* @memberof SumUpManagerApiSelectSumupReader
|
|
30993
|
-
*/
|
|
30994
|
-
readonly clubId: string
|
|
30995
|
-
|
|
30996
|
-
/**
|
|
30997
|
-
*
|
|
30998
|
-
* @type {string}
|
|
30999
|
-
* @memberof SumUpManagerApiSelectSumupReader
|
|
31000
|
-
*/
|
|
31001
|
-
readonly readerId: string
|
|
31002
|
-
}
|
|
31003
|
-
|
|
31004
|
-
/**
|
|
31005
|
-
* SumUpManagerApi - object-oriented interface
|
|
31006
|
-
* @export
|
|
31007
|
-
* @class SumUpManagerApi
|
|
31008
|
-
* @extends {BaseAPI}
|
|
31009
|
-
*/
|
|
31010
|
-
export class SumUpManagerApi extends BaseAPI {
|
|
31011
|
-
/**
|
|
31012
|
-
* Disconnect SumUp account for a club.
|
|
31013
|
-
* @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
|
|
31014
|
-
* @param {*} [options] Override http request option.
|
|
31015
|
-
* @throws {RequiredError}
|
|
31016
|
-
* @memberof SumUpManagerApi
|
|
31017
|
-
*/
|
|
31018
|
-
public disconnectSumup(requestParameters: SumUpManagerApiDisconnectSumupRequest, options?: RawAxiosRequestConfig) {
|
|
31019
|
-
return SumUpManagerApiFp(this.configuration).disconnectSumup(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
31020
|
-
}
|
|
31021
|
-
|
|
31022
|
-
/**
|
|
31023
|
-
* Start SumUp OAuth connection for a club.
|
|
31024
|
-
* @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
|
|
31025
|
-
* @param {*} [options] Override http request option.
|
|
31026
|
-
* @throws {RequiredError}
|
|
31027
|
-
* @memberof SumUpManagerApi
|
|
31028
|
-
*/
|
|
31029
|
-
public getSumupConnectUrl(requestParameters: SumUpManagerApiGetSumupConnectUrlRequest, options?: RawAxiosRequestConfig) {
|
|
31030
|
-
return SumUpManagerApiFp(this.configuration).getSumupConnectUrl(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
31031
|
-
}
|
|
31032
|
-
|
|
31033
|
-
/**
|
|
31034
|
-
* Get SumUp connection status for a club.
|
|
31035
|
-
* @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
|
|
31036
|
-
* @param {*} [options] Override http request option.
|
|
31037
|
-
* @throws {RequiredError}
|
|
31038
|
-
* @memberof SumUpManagerApi
|
|
31039
|
-
*/
|
|
31040
|
-
public getSumupStatus(requestParameters: SumUpManagerApiGetSumupStatusRequest, options?: RawAxiosRequestConfig) {
|
|
31041
|
-
return SumUpManagerApiFp(this.configuration).getSumupStatus(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
31042
|
-
}
|
|
31043
|
-
|
|
31044
|
-
/**
|
|
31045
|
-
* List SumUp readers for a club.
|
|
31046
|
-
* @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
|
|
31047
|
-
* @param {*} [options] Override http request option.
|
|
31048
|
-
* @throws {RequiredError}
|
|
31049
|
-
* @memberof SumUpManagerApi
|
|
31050
|
-
*/
|
|
31051
|
-
public listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig) {
|
|
31052
|
-
return SumUpManagerApiFp(this.configuration).listSumupReaders(requestParameters.clubId, options).then((request) => request(this.axios, this.basePath));
|
|
31053
|
-
}
|
|
31054
|
-
|
|
31055
|
-
/**
|
|
31056
|
-
* Pair a SumUp reader with a club.
|
|
31057
|
-
* @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
|
|
31058
|
-
* @param {*} [options] Override http request option.
|
|
31059
|
-
* @throws {RequiredError}
|
|
31060
|
-
* @memberof SumUpManagerApi
|
|
31061
|
-
*/
|
|
31062
|
-
public pairSumupReader(requestParameters: SumUpManagerApiPairSumupReaderRequest, options?: RawAxiosRequestConfig) {
|
|
31063
|
-
return SumUpManagerApiFp(this.configuration).pairSumupReader(requestParameters.clubId, requestParameters.sumupPairReaderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31064
|
-
}
|
|
31065
|
-
|
|
31066
|
-
/**
|
|
31067
|
-
* Select a SumUp reader for a club.
|
|
31068
|
-
* @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
|
|
31069
|
-
* @param {*} [options] Override http request option.
|
|
31070
|
-
* @throws {RequiredError}
|
|
31071
|
-
* @memberof SumUpManagerApi
|
|
31072
|
-
*/
|
|
31073
|
-
public selectSumupReader(requestParameters: SumUpManagerApiSelectSumupReaderRequest, options?: RawAxiosRequestConfig) {
|
|
31074
|
-
return SumUpManagerApiFp(this.configuration).selectSumupReader(requestParameters.clubId, requestParameters.readerId, options).then((request) => request(this.axios, this.basePath));
|
|
31075
|
-
}
|
|
31076
|
-
}
|
|
31077
|
-
|
|
31078
|
-
|
|
31079
|
-
|
|
31080
29689
|
/**
|
|
31081
29690
|
* UserApi - axios parameter creator
|
|
31082
29691
|
* @export
|