@tennac-booking/sdk 1.0.183 → 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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +412 -426
  2. package/README.md +3 -23
  3. package/api.ts +58 -1269
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +55 -821
  8. package/dist/api.js +15 -767
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +55 -821
  16. package/dist/esm/api.js +11 -750
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/BookingsApi.md +5 -5
  28. package/docs/JoinOpenBookingRequest.md +26 -0
  29. package/docs/UserClubMembership.md +2 -0
  30. package/docs/UserProfileResponse.md +2 -0
  31. package/index.ts +1 -1
  32. package/package.json +1 -1
  33. package/docs/PaymentIntentResult.md +0 -28
  34. package/docs/PaymentProviderType.md +0 -10
  35. package/docs/PaymentStatus.md +0 -14
  36. package/docs/PaymentsStaffApi.md +0 -124
  37. package/docs/SumUpApi.md +0 -63
  38. package/docs/SumUpManagerApi.md +0 -332
  39. package/docs/SumupAccountStatusResponse.md +0 -32
  40. package/docs/SumupCancelPaymentRequest.md +0 -20
  41. package/docs/SumupConnectUrlResponse.md +0 -20
  42. package/docs/SumupCreatePaymentRequest.md +0 -32
  43. package/docs/SumupOAuthCallbackResponse.md +0 -24
  44. package/docs/SumupPairReaderRequest.md +0 -20
  45. package/docs/SumupPairReaderResponse.md +0 -20
  46. package/docs/SumupReaderInfo.md +0 -34
  47. package/docs/SumupReadersResponse.md +0 -20
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.177
5
+ * The version of the OpenAPI document: 1.0.185
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7422,6 +7422,37 @@ export interface JoinEventWaitList200Response {
7422
7422
  */
7423
7423
  'message': string;
7424
7424
  }
7425
+ /**
7426
+ *
7427
+ * @export
7428
+ * @interface JoinOpenBookingRequest
7429
+ */
7430
+ export interface JoinOpenBookingRequest {
7431
+ /**
7432
+ *
7433
+ * @type {PaymentMethod}
7434
+ * @memberof JoinOpenBookingRequest
7435
+ */
7436
+ 'paymentMethod'?: PaymentMethod;
7437
+ /**
7438
+ * Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut
7439
+ * @type {boolean}
7440
+ * @memberof JoinOpenBookingRequest
7441
+ */
7442
+ 'useDefaultPaymentMethod'?: boolean;
7443
+ /**
7444
+ * Crédit à utiliser en centimes
7445
+ * @type {number}
7446
+ * @memberof JoinOpenBookingRequest
7447
+ */
7448
+ 'creditToUseInCents'?: number;
7449
+ /**
7450
+ * Liste des autres joueurs qui rejoignent également (n\'inclut PAS le joueur qui fait la requête, chacun paie sa part)
7451
+ * @type {Array<PlayerWithPaymentMethod>}
7452
+ * @memberof JoinOpenBookingRequest
7453
+ */
7454
+ 'players'?: Array<PlayerWithPaymentMethod>;
7455
+ }
7425
7456
  /**
7426
7457
  *
7427
7458
  * @export
@@ -8631,43 +8662,6 @@ export interface PaymentByPlayerInfo {
8631
8662
  */
8632
8663
  'invoices': Array<InvoiceInfo>;
8633
8664
  }
8634
- /**
8635
- *
8636
- * @export
8637
- * @interface PaymentIntentResult
8638
- */
8639
- export interface PaymentIntentResult {
8640
- /**
8641
- *
8642
- * @type {string}
8643
- * @memberof PaymentIntentResult
8644
- */
8645
- 'paymentId': string;
8646
- /**
8647
- *
8648
- * @type {string}
8649
- * @memberof PaymentIntentResult
8650
- */
8651
- 'externalId': string;
8652
- /**
8653
- *
8654
- * @type {PaymentStatus}
8655
- * @memberof PaymentIntentResult
8656
- */
8657
- 'status': PaymentStatus;
8658
- /**
8659
- *
8660
- * @type {PaymentProviderType}
8661
- * @memberof PaymentIntentResult
8662
- */
8663
- 'provider': PaymentProviderType;
8664
- /**
8665
- *
8666
- * @type {string}
8667
- * @memberof PaymentIntentResult
8668
- */
8669
- 'readerId'?: string;
8670
- }
8671
8665
  /**
8672
8666
  *
8673
8667
  * @export
@@ -8681,16 +8675,6 @@ export declare const PaymentMethod: {
8681
8675
  readonly Free: "free";
8682
8676
  };
8683
8677
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
8684
- /**
8685
- *
8686
- * @export
8687
- * @enum {string}
8688
- */
8689
- export declare const PaymentProviderType: {
8690
- readonly Stripe: "stripe";
8691
- readonly Sumup: "sumup";
8692
- };
8693
- export type PaymentProviderType = typeof PaymentProviderType[keyof typeof PaymentProviderType];
8694
8678
  /**
8695
8679
  *
8696
8680
  * @export
@@ -8710,18 +8694,6 @@ export interface PaymentRequirementsSettings {
8710
8694
  */
8711
8695
  'requireOnlinePayment': boolean;
8712
8696
  }
8713
- /**
8714
- *
8715
- * @export
8716
- * @enum {string}
8717
- */
8718
- export declare const PaymentStatus: {
8719
- readonly Pending: "pending";
8720
- readonly Succeeded: "succeeded";
8721
- readonly Failed: "failed";
8722
- readonly Cancelled: "cancelled";
8723
- };
8724
- export type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
8725
8697
  /**
8726
8698
  * From T, pick a set of properties whose keys are in the union K
8727
8699
  * @export
@@ -11542,252 +11514,6 @@ export interface SubscriptionPlanResponse {
11542
11514
  */
11543
11515
  'discount'?: SubscriptionPlanDiscountResponse;
11544
11516
  }
11545
- /**
11546
- *
11547
- * @export
11548
- * @interface SumupAccountStatusResponse
11549
- */
11550
- export interface SumupAccountStatusResponse {
11551
- /**
11552
- *
11553
- * @type {boolean}
11554
- * @memberof SumupAccountStatusResponse
11555
- */
11556
- 'connected': boolean;
11557
- /**
11558
- *
11559
- * @type {string}
11560
- * @memberof SumupAccountStatusResponse
11561
- */
11562
- 'merchantCode'?: string;
11563
- /**
11564
- *
11565
- * @type {string}
11566
- * @memberof SumupAccountStatusResponse
11567
- */
11568
- 'readerId'?: string;
11569
- /**
11570
- *
11571
- * @type {string}
11572
- * @memberof SumupAccountStatusResponse
11573
- */
11574
- 'readerName'?: string;
11575
- /**
11576
- *
11577
- * @type {string}
11578
- * @memberof SumupAccountStatusResponse
11579
- */
11580
- 'readerPairedAt'?: string;
11581
- /**
11582
- *
11583
- * @type {string}
11584
- * @memberof SumupAccountStatusResponse
11585
- */
11586
- 'scope'?: string;
11587
- /**
11588
- *
11589
- * @type {string}
11590
- * @memberof SumupAccountStatusResponse
11591
- */
11592
- 'connectedAt'?: string;
11593
- }
11594
- /**
11595
- *
11596
- * @export
11597
- * @interface SumupCancelPaymentRequest
11598
- */
11599
- export interface SumupCancelPaymentRequest {
11600
- /**
11601
- *
11602
- * @type {string}
11603
- * @memberof SumupCancelPaymentRequest
11604
- */
11605
- 'checkoutId'?: string;
11606
- }
11607
- /**
11608
- *
11609
- * @export
11610
- * @interface SumupConnectUrlResponse
11611
- */
11612
- export interface SumupConnectUrlResponse {
11613
- /**
11614
- *
11615
- * @type {string}
11616
- * @memberof SumupConnectUrlResponse
11617
- */
11618
- 'url': string;
11619
- }
11620
- /**
11621
- *
11622
- * @export
11623
- * @interface SumupCreatePaymentRequest
11624
- */
11625
- export interface SumupCreatePaymentRequest {
11626
- /**
11627
- *
11628
- * @type {number}
11629
- * @memberof SumupCreatePaymentRequest
11630
- */
11631
- 'amountInCents': number;
11632
- /**
11633
- *
11634
- * @type {string}
11635
- * @memberof SumupCreatePaymentRequest
11636
- */
11637
- 'currency': string;
11638
- /**
11639
- *
11640
- * @type {string}
11641
- * @memberof SumupCreatePaymentRequest
11642
- */
11643
- 'readerId'?: string;
11644
- /**
11645
- *
11646
- * @type {string}
11647
- * @memberof SumupCreatePaymentRequest
11648
- */
11649
- 'description'?: string;
11650
- /**
11651
- *
11652
- * @type {string}
11653
- * @memberof SumupCreatePaymentRequest
11654
- */
11655
- 'reference'?: string;
11656
- /**
11657
- * Construct a type with a set of properties K of type T
11658
- * @type {{ [key: string]: string; }}
11659
- * @memberof SumupCreatePaymentRequest
11660
- */
11661
- 'metadata'?: {
11662
- [key: string]: string;
11663
- };
11664
- /**
11665
- *
11666
- * @type {string}
11667
- * @memberof SumupCreatePaymentRequest
11668
- */
11669
- 'userId'?: string;
11670
- }
11671
- /**
11672
- *
11673
- * @export
11674
- * @interface SumupOAuthCallbackResponse
11675
- */
11676
- export interface SumupOAuthCallbackResponse {
11677
- /**
11678
- *
11679
- * @type {string}
11680
- * @memberof SumupOAuthCallbackResponse
11681
- */
11682
- 'clubId': string;
11683
- /**
11684
- *
11685
- * @type {string}
11686
- * @memberof SumupOAuthCallbackResponse
11687
- */
11688
- 'merchantCode': string;
11689
- /**
11690
- *
11691
- * @type {string}
11692
- * @memberof SumupOAuthCallbackResponse
11693
- */
11694
- 'scope'?: string;
11695
- }
11696
- /**
11697
- *
11698
- * @export
11699
- * @interface SumupPairReaderRequest
11700
- */
11701
- export interface SumupPairReaderRequest {
11702
- /**
11703
- *
11704
- * @type {string}
11705
- * @memberof SumupPairReaderRequest
11706
- */
11707
- 'pairingCode': string;
11708
- }
11709
- /**
11710
- *
11711
- * @export
11712
- * @interface SumupPairReaderResponse
11713
- */
11714
- export interface SumupPairReaderResponse {
11715
- /**
11716
- *
11717
- * @type {SumupReaderInfo}
11718
- * @memberof SumupPairReaderResponse
11719
- */
11720
- 'reader': SumupReaderInfo;
11721
- }
11722
- /**
11723
- *
11724
- * @export
11725
- * @interface SumupReaderInfo
11726
- */
11727
- export interface SumupReaderInfo {
11728
- [key: string]: any;
11729
- /**
11730
- *
11731
- * @type {string}
11732
- * @memberof SumupReaderInfo
11733
- */
11734
- 'reader_id'?: string;
11735
- /**
11736
- *
11737
- * @type {string}
11738
- * @memberof SumupReaderInfo
11739
- */
11740
- 'id'?: string;
11741
- /**
11742
- *
11743
- * @type {string}
11744
- * @memberof SumupReaderInfo
11745
- */
11746
- 'serial_number'?: string;
11747
- /**
11748
- *
11749
- * @type {string}
11750
- * @memberof SumupReaderInfo
11751
- */
11752
- 'name'?: string;
11753
- /**
11754
- *
11755
- * @type {string}
11756
- * @memberof SumupReaderInfo
11757
- */
11758
- 'status'?: string;
11759
- /**
11760
- *
11761
- * @type {string}
11762
- * @memberof SumupReaderInfo
11763
- */
11764
- 'model'?: string;
11765
- /**
11766
- *
11767
- * @type {string}
11768
- * @memberof SumupReaderInfo
11769
- */
11770
- 'device_type'?: string;
11771
- /**
11772
- *
11773
- * @type {string}
11774
- * @memberof SumupReaderInfo
11775
- */
11776
- 'last_seen_at'?: string;
11777
- }
11778
- /**
11779
- *
11780
- * @export
11781
- * @interface SumupReadersResponse
11782
- */
11783
- export interface SumupReadersResponse {
11784
- /**
11785
- *
11786
- * @type {Array<SumupReaderInfo>}
11787
- * @memberof SumupReadersResponse
11788
- */
11789
- 'readers': Array<SumupReaderInfo>;
11790
- }
11791
11517
  /**
11792
11518
  *
11793
11519
  * @export
@@ -12961,6 +12687,12 @@ export interface UserClubMembership {
12961
12687
  * @memberof UserClubMembership
12962
12688
  */
12963
12689
  'clubPicture': string | null;
12690
+ /**
12691
+ *
12692
+ * @type {Array<string>}
12693
+ * @memberof UserClubMembership
12694
+ */
12695
+ 'bannerPictures'?: Array<string>;
12964
12696
  /**
12965
12697
  *
12966
12698
  * @type {string}
@@ -13639,6 +13371,12 @@ export interface UserProfileResponse {
13639
13371
  * @memberof UserProfileResponse
13640
13372
  */
13641
13373
  'clubs'?: Array<UserClubMembership>;
13374
+ /**
13375
+ *
13376
+ * @type {Array<ClubSummary>}
13377
+ * @memberof UserProfileResponse
13378
+ */
13379
+ 'favoriteClubsDetails'?: Array<ClubSummary>;
13642
13380
  /**
13643
13381
  *
13644
13382
  * @type {Array<ClubSummary>}
@@ -14062,11 +13800,11 @@ export declare const BookingsApiAxiosParamCreator: (configuration?: Configuratio
14062
13800
  /**
14063
13801
  *
14064
13802
  * @param {string} bookingId
14065
- * @param {JoinOpenEventBookingRequest} joinOpenEventBookingRequest
13803
+ * @param {JoinOpenBookingRequest} joinOpenBookingRequest
14066
13804
  * @param {*} [options] Override http request option.
14067
13805
  * @throws {RequiredError}
14068
13806
  */
14069
- joinOpenBooking: (bookingId: string, joinOpenEventBookingRequest: JoinOpenEventBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13807
+ joinOpenBooking: (bookingId: string, joinOpenBookingRequest: JoinOpenBookingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14070
13808
  /**
14071
13809
  *
14072
13810
  * @param {string} bookingId
@@ -14158,11 +13896,11 @@ export declare const BookingsApiFp: (configuration?: Configuration) => {
14158
13896
  /**
14159
13897
  *
14160
13898
  * @param {string} bookingId
14161
- * @param {JoinOpenEventBookingRequest} joinOpenEventBookingRequest
13899
+ * @param {JoinOpenBookingRequest} joinOpenBookingRequest
14162
13900
  * @param {*} [options] Override http request option.
14163
13901
  * @throws {RequiredError}
14164
13902
  */
14165
- joinOpenBooking(bookingId: string, joinOpenEventBookingRequest: JoinOpenEventBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinOpenBookingResponse>>;
13903
+ joinOpenBooking(bookingId: string, joinOpenBookingRequest: JoinOpenBookingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinOpenBookingResponse>>;
14166
13904
  /**
14167
13905
  *
14168
13906
  * @param {string} bookingId
@@ -14457,10 +14195,10 @@ export interface BookingsApiJoinOpenBookingRequest {
14457
14195
  readonly bookingId: string;
14458
14196
  /**
14459
14197
  *
14460
- * @type {JoinOpenEventBookingRequest}
14198
+ * @type {JoinOpenBookingRequest}
14461
14199
  * @memberof BookingsApiJoinOpenBooking
14462
14200
  */
14463
- readonly joinOpenEventBookingRequest: JoinOpenEventBookingRequest;
14201
+ readonly joinOpenBookingRequest: JoinOpenBookingRequest;
14464
14202
  }
14465
14203
  /**
14466
14204
  * Request parameters for leaveOpenBooking operation in BookingsApi.
@@ -21142,151 +20880,17 @@ export declare class ImagesApi extends BaseAPI {
21142
20880
  cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageCleanupResponse, any, {}>>;
21143
20881
  }
21144
20882
  /**
21145
- * PaymentsStaffApi - axios parameter creator
20883
+ * PublicEmailApi - axios parameter creator
21146
20884
  * @export
21147
20885
  */
21148
- export declare const PaymentsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
20886
+ export declare const PublicEmailApiAxiosParamCreator: (configuration?: Configuration) => {
21149
20887
  /**
21150
- * Cancel a SumUp reader checkout.
21151
- * @param {string} clubId
21152
- * @param {string} paymentId
21153
- * @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
20888
+ *
20889
+ * @param {EmailExistsRequestBody} emailExistsRequestBody
21154
20890
  * @param {*} [options] Override http request option.
21155
20891
  * @throws {RequiredError}
21156
20892
  */
21157
- cancelSumupPayment: (clubId: string, paymentId: string, sumupCancelPaymentRequest?: SumupCancelPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21158
- /**
21159
- * Start a SumUp reader checkout (manual payment trigger).
21160
- * @param {string} clubId
21161
- * @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
21162
- * @param {*} [options] Override http request option.
21163
- * @throws {RequiredError}
21164
- */
21165
- createSumupPayment: (clubId: string, sumupCreatePaymentRequest: SumupCreatePaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21166
- };
21167
- /**
21168
- * PaymentsStaffApi - functional programming interface
21169
- * @export
21170
- */
21171
- export declare const PaymentsStaffApiFp: (configuration?: Configuration) => {
21172
- /**
21173
- * Cancel a SumUp reader checkout.
21174
- * @param {string} clubId
21175
- * @param {string} paymentId
21176
- * @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
21177
- * @param {*} [options] Override http request option.
21178
- * @throws {RequiredError}
21179
- */
21180
- cancelSumupPayment(clubId: string, paymentId: string, sumupCancelPaymentRequest?: SumupCancelPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
21181
- /**
21182
- * Start a SumUp reader checkout (manual payment trigger).
21183
- * @param {string} clubId
21184
- * @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
21185
- * @param {*} [options] Override http request option.
21186
- * @throws {RequiredError}
21187
- */
21188
- createSumupPayment(clubId: string, sumupCreatePaymentRequest: SumupCreatePaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentIntentResult>>;
21189
- };
21190
- /**
21191
- * PaymentsStaffApi - factory interface
21192
- * @export
21193
- */
21194
- export declare const PaymentsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
21195
- /**
21196
- * Cancel a SumUp reader checkout.
21197
- * @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
21198
- * @param {*} [options] Override http request option.
21199
- * @throws {RequiredError}
21200
- */
21201
- cancelSumupPayment(requestParameters: PaymentsStaffApiCancelSumupPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
21202
- /**
21203
- * Start a SumUp reader checkout (manual payment trigger).
21204
- * @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
21205
- * @param {*} [options] Override http request option.
21206
- * @throws {RequiredError}
21207
- */
21208
- createSumupPayment(requestParameters: PaymentsStaffApiCreateSumupPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentIntentResult>;
21209
- };
21210
- /**
21211
- * Request parameters for cancelSumupPayment operation in PaymentsStaffApi.
21212
- * @export
21213
- * @interface PaymentsStaffApiCancelSumupPaymentRequest
21214
- */
21215
- export interface PaymentsStaffApiCancelSumupPaymentRequest {
21216
- /**
21217
- *
21218
- * @type {string}
21219
- * @memberof PaymentsStaffApiCancelSumupPayment
21220
- */
21221
- readonly clubId: string;
21222
- /**
21223
- *
21224
- * @type {string}
21225
- * @memberof PaymentsStaffApiCancelSumupPayment
21226
- */
21227
- readonly paymentId: string;
21228
- /**
21229
- *
21230
- * @type {SumupCancelPaymentRequest}
21231
- * @memberof PaymentsStaffApiCancelSumupPayment
21232
- */
21233
- readonly sumupCancelPaymentRequest?: SumupCancelPaymentRequest;
21234
- }
21235
- /**
21236
- * Request parameters for createSumupPayment operation in PaymentsStaffApi.
21237
- * @export
21238
- * @interface PaymentsStaffApiCreateSumupPaymentRequest
21239
- */
21240
- export interface PaymentsStaffApiCreateSumupPaymentRequest {
21241
- /**
21242
- *
21243
- * @type {string}
21244
- * @memberof PaymentsStaffApiCreateSumupPayment
21245
- */
21246
- readonly clubId: string;
21247
- /**
21248
- *
21249
- * @type {SumupCreatePaymentRequest}
21250
- * @memberof PaymentsStaffApiCreateSumupPayment
21251
- */
21252
- readonly sumupCreatePaymentRequest: SumupCreatePaymentRequest;
21253
- }
21254
- /**
21255
- * PaymentsStaffApi - object-oriented interface
21256
- * @export
21257
- * @class PaymentsStaffApi
21258
- * @extends {BaseAPI}
21259
- */
21260
- export declare class PaymentsStaffApi extends BaseAPI {
21261
- /**
21262
- * Cancel a SumUp reader checkout.
21263
- * @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
21264
- * @param {*} [options] Override http request option.
21265
- * @throws {RequiredError}
21266
- * @memberof PaymentsStaffApi
21267
- */
21268
- cancelSumupPayment(requestParameters: PaymentsStaffApiCancelSumupPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
21269
- /**
21270
- * Start a SumUp reader checkout (manual payment trigger).
21271
- * @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
21272
- * @param {*} [options] Override http request option.
21273
- * @throws {RequiredError}
21274
- * @memberof PaymentsStaffApi
21275
- */
21276
- createSumupPayment(requestParameters: PaymentsStaffApiCreateSumupPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentIntentResult, any, {}>>;
21277
- }
21278
- /**
21279
- * PublicEmailApi - axios parameter creator
21280
- * @export
21281
- */
21282
- export declare const PublicEmailApiAxiosParamCreator: (configuration?: Configuration) => {
21283
- /**
21284
- *
21285
- * @param {EmailExistsRequestBody} emailExistsRequestBody
21286
- * @param {*} [options] Override http request option.
21287
- * @throws {RequiredError}
21288
- */
21289
- authEmailExists: (emailExistsRequestBody: EmailExistsRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
20893
+ authEmailExists: (emailExistsRequestBody: EmailExistsRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21290
20894
  /**
21291
20895
  *
21292
20896
  * @param {RequestEmailCodeBody} requestEmailCodeBody
@@ -22186,376 +21790,6 @@ export declare class SubscriptionsUserApi extends BaseAPI {
22186
21790
  */
22187
21791
  subscribe(requestParameters: SubscriptionsUserApiSubscribeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any, {}>>;
22188
21792
  }
22189
- /**
22190
- * SumUpApi - axios parameter creator
22191
- * @export
22192
- */
22193
- export declare const SumUpApiAxiosParamCreator: (configuration?: Configuration) => {
22194
- /**
22195
- * OAuth callback for SumUp.
22196
- * @param {string} code
22197
- * @param {string} state
22198
- * @param {*} [options] Override http request option.
22199
- * @throws {RequiredError}
22200
- */
22201
- sumupOauthCallback: (code: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22202
- };
22203
- /**
22204
- * SumUpApi - functional programming interface
22205
- * @export
22206
- */
22207
- export declare const SumUpApiFp: (configuration?: Configuration) => {
22208
- /**
22209
- * OAuth callback for SumUp.
22210
- * @param {string} code
22211
- * @param {string} state
22212
- * @param {*} [options] Override http request option.
22213
- * @throws {RequiredError}
22214
- */
22215
- sumupOauthCallback(code: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupOAuthCallbackResponse>>;
22216
- };
22217
- /**
22218
- * SumUpApi - factory interface
22219
- * @export
22220
- */
22221
- export declare const SumUpApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
22222
- /**
22223
- * OAuth callback for SumUp.
22224
- * @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
22225
- * @param {*} [options] Override http request option.
22226
- * @throws {RequiredError}
22227
- */
22228
- sumupOauthCallback(requestParameters: SumUpApiSumupOauthCallbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupOAuthCallbackResponse>;
22229
- };
22230
- /**
22231
- * Request parameters for sumupOauthCallback operation in SumUpApi.
22232
- * @export
22233
- * @interface SumUpApiSumupOauthCallbackRequest
22234
- */
22235
- export interface SumUpApiSumupOauthCallbackRequest {
22236
- /**
22237
- *
22238
- * @type {string}
22239
- * @memberof SumUpApiSumupOauthCallback
22240
- */
22241
- readonly code: string;
22242
- /**
22243
- *
22244
- * @type {string}
22245
- * @memberof SumUpApiSumupOauthCallback
22246
- */
22247
- readonly state: string;
22248
- }
22249
- /**
22250
- * SumUpApi - object-oriented interface
22251
- * @export
22252
- * @class SumUpApi
22253
- * @extends {BaseAPI}
22254
- */
22255
- export declare class SumUpApi extends BaseAPI {
22256
- /**
22257
- * OAuth callback for SumUp.
22258
- * @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
22259
- * @param {*} [options] Override http request option.
22260
- * @throws {RequiredError}
22261
- * @memberof SumUpApi
22262
- */
22263
- sumupOauthCallback(requestParameters: SumUpApiSumupOauthCallbackRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupOAuthCallbackResponse, any, {}>>;
22264
- }
22265
- /**
22266
- * SumUpManagerApi - axios parameter creator
22267
- * @export
22268
- */
22269
- export declare const SumUpManagerApiAxiosParamCreator: (configuration?: Configuration) => {
22270
- /**
22271
- * Disconnect SumUp account for a club.
22272
- * @param {string} clubId
22273
- * @param {*} [options] Override http request option.
22274
- * @throws {RequiredError}
22275
- */
22276
- disconnectSumup: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22277
- /**
22278
- * Start SumUp OAuth connection for a club.
22279
- * @param {string} clubId
22280
- * @param {*} [options] Override http request option.
22281
- * @throws {RequiredError}
22282
- */
22283
- getSumupConnectUrl: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22284
- /**
22285
- * Get SumUp connection status for a club.
22286
- * @param {string} clubId
22287
- * @param {*} [options] Override http request option.
22288
- * @throws {RequiredError}
22289
- */
22290
- getSumupStatus: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22291
- /**
22292
- * List SumUp readers for a club.
22293
- * @param {string} clubId
22294
- * @param {*} [options] Override http request option.
22295
- * @throws {RequiredError}
22296
- */
22297
- listSumupReaders: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22298
- /**
22299
- * Pair a SumUp reader with a club.
22300
- * @param {string} clubId
22301
- * @param {SumupPairReaderRequest} sumupPairReaderRequest
22302
- * @param {*} [options] Override http request option.
22303
- * @throws {RequiredError}
22304
- */
22305
- pairSumupReader: (clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22306
- /**
22307
- * Select a SumUp reader for a club.
22308
- * @param {string} clubId
22309
- * @param {string} readerId
22310
- * @param {*} [options] Override http request option.
22311
- * @throws {RequiredError}
22312
- */
22313
- selectSumupReader: (clubId: string, readerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22314
- };
22315
- /**
22316
- * SumUpManagerApi - functional programming interface
22317
- * @export
22318
- */
22319
- export declare const SumUpManagerApiFp: (configuration?: Configuration) => {
22320
- /**
22321
- * Disconnect SumUp account for a club.
22322
- * @param {string} clubId
22323
- * @param {*} [options] Override http request option.
22324
- * @throws {RequiredError}
22325
- */
22326
- disconnectSumup(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22327
- /**
22328
- * Start SumUp OAuth connection for a club.
22329
- * @param {string} clubId
22330
- * @param {*} [options] Override http request option.
22331
- * @throws {RequiredError}
22332
- */
22333
- getSumupConnectUrl(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupConnectUrlResponse>>;
22334
- /**
22335
- * Get SumUp connection status for a club.
22336
- * @param {string} clubId
22337
- * @param {*} [options] Override http request option.
22338
- * @throws {RequiredError}
22339
- */
22340
- getSumupStatus(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupAccountStatusResponse>>;
22341
- /**
22342
- * List SumUp readers for a club.
22343
- * @param {string} clubId
22344
- * @param {*} [options] Override http request option.
22345
- * @throws {RequiredError}
22346
- */
22347
- listSumupReaders(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupReadersResponse>>;
22348
- /**
22349
- * Pair a SumUp reader with a club.
22350
- * @param {string} clubId
22351
- * @param {SumupPairReaderRequest} sumupPairReaderRequest
22352
- * @param {*} [options] Override http request option.
22353
- * @throws {RequiredError}
22354
- */
22355
- pairSumupReader(clubId: string, sumupPairReaderRequest: SumupPairReaderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupPairReaderResponse>>;
22356
- /**
22357
- * Select a SumUp reader for a club.
22358
- * @param {string} clubId
22359
- * @param {string} readerId
22360
- * @param {*} [options] Override http request option.
22361
- * @throws {RequiredError}
22362
- */
22363
- selectSumupReader(clubId: string, readerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22364
- };
22365
- /**
22366
- * SumUpManagerApi - factory interface
22367
- * @export
22368
- */
22369
- export declare const SumUpManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
22370
- /**
22371
- * Disconnect SumUp account for a club.
22372
- * @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
22373
- * @param {*} [options] Override http request option.
22374
- * @throws {RequiredError}
22375
- */
22376
- disconnectSumup(requestParameters: SumUpManagerApiDisconnectSumupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22377
- /**
22378
- * Start SumUp OAuth connection for a club.
22379
- * @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
22380
- * @param {*} [options] Override http request option.
22381
- * @throws {RequiredError}
22382
- */
22383
- getSumupConnectUrl(requestParameters: SumUpManagerApiGetSumupConnectUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupConnectUrlResponse>;
22384
- /**
22385
- * Get SumUp connection status for a club.
22386
- * @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
22387
- * @param {*} [options] Override http request option.
22388
- * @throws {RequiredError}
22389
- */
22390
- getSumupStatus(requestParameters: SumUpManagerApiGetSumupStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupAccountStatusResponse>;
22391
- /**
22392
- * List SumUp readers for a club.
22393
- * @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
22394
- * @param {*} [options] Override http request option.
22395
- * @throws {RequiredError}
22396
- */
22397
- listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupReadersResponse>;
22398
- /**
22399
- * Pair a SumUp reader with a club.
22400
- * @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
22401
- * @param {*} [options] Override http request option.
22402
- * @throws {RequiredError}
22403
- */
22404
- pairSumupReader(requestParameters: SumUpManagerApiPairSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupPairReaderResponse>;
22405
- /**
22406
- * Select a SumUp reader for a club.
22407
- * @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
22408
- * @param {*} [options] Override http request option.
22409
- * @throws {RequiredError}
22410
- */
22411
- selectSumupReader(requestParameters: SumUpManagerApiSelectSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22412
- };
22413
- /**
22414
- * Request parameters for disconnectSumup operation in SumUpManagerApi.
22415
- * @export
22416
- * @interface SumUpManagerApiDisconnectSumupRequest
22417
- */
22418
- export interface SumUpManagerApiDisconnectSumupRequest {
22419
- /**
22420
- *
22421
- * @type {string}
22422
- * @memberof SumUpManagerApiDisconnectSumup
22423
- */
22424
- readonly clubId: string;
22425
- }
22426
- /**
22427
- * Request parameters for getSumupConnectUrl operation in SumUpManagerApi.
22428
- * @export
22429
- * @interface SumUpManagerApiGetSumupConnectUrlRequest
22430
- */
22431
- export interface SumUpManagerApiGetSumupConnectUrlRequest {
22432
- /**
22433
- *
22434
- * @type {string}
22435
- * @memberof SumUpManagerApiGetSumupConnectUrl
22436
- */
22437
- readonly clubId: string;
22438
- }
22439
- /**
22440
- * Request parameters for getSumupStatus operation in SumUpManagerApi.
22441
- * @export
22442
- * @interface SumUpManagerApiGetSumupStatusRequest
22443
- */
22444
- export interface SumUpManagerApiGetSumupStatusRequest {
22445
- /**
22446
- *
22447
- * @type {string}
22448
- * @memberof SumUpManagerApiGetSumupStatus
22449
- */
22450
- readonly clubId: string;
22451
- }
22452
- /**
22453
- * Request parameters for listSumupReaders operation in SumUpManagerApi.
22454
- * @export
22455
- * @interface SumUpManagerApiListSumupReadersRequest
22456
- */
22457
- export interface SumUpManagerApiListSumupReadersRequest {
22458
- /**
22459
- *
22460
- * @type {string}
22461
- * @memberof SumUpManagerApiListSumupReaders
22462
- */
22463
- readonly clubId: string;
22464
- }
22465
- /**
22466
- * Request parameters for pairSumupReader operation in SumUpManagerApi.
22467
- * @export
22468
- * @interface SumUpManagerApiPairSumupReaderRequest
22469
- */
22470
- export interface SumUpManagerApiPairSumupReaderRequest {
22471
- /**
22472
- *
22473
- * @type {string}
22474
- * @memberof SumUpManagerApiPairSumupReader
22475
- */
22476
- readonly clubId: string;
22477
- /**
22478
- *
22479
- * @type {SumupPairReaderRequest}
22480
- * @memberof SumUpManagerApiPairSumupReader
22481
- */
22482
- readonly sumupPairReaderRequest: SumupPairReaderRequest;
22483
- }
22484
- /**
22485
- * Request parameters for selectSumupReader operation in SumUpManagerApi.
22486
- * @export
22487
- * @interface SumUpManagerApiSelectSumupReaderRequest
22488
- */
22489
- export interface SumUpManagerApiSelectSumupReaderRequest {
22490
- /**
22491
- *
22492
- * @type {string}
22493
- * @memberof SumUpManagerApiSelectSumupReader
22494
- */
22495
- readonly clubId: string;
22496
- /**
22497
- *
22498
- * @type {string}
22499
- * @memberof SumUpManagerApiSelectSumupReader
22500
- */
22501
- readonly readerId: string;
22502
- }
22503
- /**
22504
- * SumUpManagerApi - object-oriented interface
22505
- * @export
22506
- * @class SumUpManagerApi
22507
- * @extends {BaseAPI}
22508
- */
22509
- export declare class SumUpManagerApi extends BaseAPI {
22510
- /**
22511
- * Disconnect SumUp account for a club.
22512
- * @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
22513
- * @param {*} [options] Override http request option.
22514
- * @throws {RequiredError}
22515
- * @memberof SumUpManagerApi
22516
- */
22517
- disconnectSumup(requestParameters: SumUpManagerApiDisconnectSumupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
22518
- /**
22519
- * Start SumUp OAuth connection for a club.
22520
- * @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
22521
- * @param {*} [options] Override http request option.
22522
- * @throws {RequiredError}
22523
- * @memberof SumUpManagerApi
22524
- */
22525
- getSumupConnectUrl(requestParameters: SumUpManagerApiGetSumupConnectUrlRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupConnectUrlResponse, any, {}>>;
22526
- /**
22527
- * Get SumUp connection status for a club.
22528
- * @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
22529
- * @param {*} [options] Override http request option.
22530
- * @throws {RequiredError}
22531
- * @memberof SumUpManagerApi
22532
- */
22533
- getSumupStatus(requestParameters: SumUpManagerApiGetSumupStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupAccountStatusResponse, any, {}>>;
22534
- /**
22535
- * List SumUp readers for a club.
22536
- * @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
22537
- * @param {*} [options] Override http request option.
22538
- * @throws {RequiredError}
22539
- * @memberof SumUpManagerApi
22540
- */
22541
- listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupReadersResponse, any, {}>>;
22542
- /**
22543
- * Pair a SumUp reader with a club.
22544
- * @param {SumUpManagerApiPairSumupReaderRequest} requestParameters Request parameters.
22545
- * @param {*} [options] Override http request option.
22546
- * @throws {RequiredError}
22547
- * @memberof SumUpManagerApi
22548
- */
22549
- pairSumupReader(requestParameters: SumUpManagerApiPairSumupReaderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupPairReaderResponse, any, {}>>;
22550
- /**
22551
- * Select a SumUp reader for a club.
22552
- * @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
22553
- * @param {*} [options] Override http request option.
22554
- * @throws {RequiredError}
22555
- * @memberof SumUpManagerApi
22556
- */
22557
- selectSumupReader(requestParameters: SumUpManagerApiSelectSumupReaderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
22558
- }
22559
21793
  /**
22560
21794
  * UserApi - axios parameter creator
22561
21795
  * @export