@tennac-booking/sdk 1.0.181 → 1.0.182
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 +13 -0
- package/README.md +18 -0
- package/api.ts +1150 -41
- package/dist/api.d.ts +721 -12
- package/dist/api.js +685 -4
- package/dist/esm/api.d.ts +721 -12
- package/dist/esm/api.js +668 -0
- package/docs/PaymentIntentResult.md +28 -0
- package/docs/PaymentProviderType.md +10 -0
- package/docs/PaymentStatus.md +14 -0
- package/docs/PaymentsStaffApi.md +124 -0
- package/docs/SumUpApi.md +63 -0
- package/docs/SumUpManagerApi.md +275 -0
- package/docs/SumupAccountStatusResponse.md +28 -0
- package/docs/SumupCancelPaymentRequest.md +20 -0
- package/docs/SumupConnectUrlResponse.md +20 -0
- package/docs/SumupCreatePaymentRequest.md +32 -0
- package/docs/SumupOAuthCallbackResponse.md +24 -0
- package/docs/SumupReaderInfo.md +34 -0
- package/docs/SumupReadersResponse.md +20 -0
- package/docs/UserClubMembership.md +0 -2
- package/docs/UserProfileResponse.md +0 -2
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -8631,6 +8631,43 @@ export interface PaymentByPlayerInfo {
|
|
|
8631
8631
|
*/
|
|
8632
8632
|
'invoices': Array<InvoiceInfo>;
|
|
8633
8633
|
}
|
|
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
|
+
}
|
|
8634
8671
|
/**
|
|
8635
8672
|
*
|
|
8636
8673
|
* @export
|
|
@@ -8644,6 +8681,16 @@ export declare const PaymentMethod: {
|
|
|
8644
8681
|
readonly Free: "free";
|
|
8645
8682
|
};
|
|
8646
8683
|
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];
|
|
8647
8694
|
/**
|
|
8648
8695
|
*
|
|
8649
8696
|
* @export
|
|
@@ -8663,6 +8710,18 @@ export interface PaymentRequirementsSettings {
|
|
|
8663
8710
|
*/
|
|
8664
8711
|
'requireOnlinePayment': boolean;
|
|
8665
8712
|
}
|
|
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];
|
|
8666
8725
|
/**
|
|
8667
8726
|
* From T, pick a set of properties whose keys are in the union K
|
|
8668
8727
|
* @export
|
|
@@ -11483,6 +11542,214 @@ export interface SubscriptionPlanResponse {
|
|
|
11483
11542
|
*/
|
|
11484
11543
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
11485
11544
|
}
|
|
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
|
+
'scope'?: string;
|
|
11575
|
+
/**
|
|
11576
|
+
*
|
|
11577
|
+
* @type {string}
|
|
11578
|
+
* @memberof SumupAccountStatusResponse
|
|
11579
|
+
*/
|
|
11580
|
+
'connectedAt'?: string;
|
|
11581
|
+
}
|
|
11582
|
+
/**
|
|
11583
|
+
*
|
|
11584
|
+
* @export
|
|
11585
|
+
* @interface SumupCancelPaymentRequest
|
|
11586
|
+
*/
|
|
11587
|
+
export interface SumupCancelPaymentRequest {
|
|
11588
|
+
/**
|
|
11589
|
+
*
|
|
11590
|
+
* @type {string}
|
|
11591
|
+
* @memberof SumupCancelPaymentRequest
|
|
11592
|
+
*/
|
|
11593
|
+
'checkoutId'?: string;
|
|
11594
|
+
}
|
|
11595
|
+
/**
|
|
11596
|
+
*
|
|
11597
|
+
* @export
|
|
11598
|
+
* @interface SumupConnectUrlResponse
|
|
11599
|
+
*/
|
|
11600
|
+
export interface SumupConnectUrlResponse {
|
|
11601
|
+
/**
|
|
11602
|
+
*
|
|
11603
|
+
* @type {string}
|
|
11604
|
+
* @memberof SumupConnectUrlResponse
|
|
11605
|
+
*/
|
|
11606
|
+
'url': string;
|
|
11607
|
+
}
|
|
11608
|
+
/**
|
|
11609
|
+
*
|
|
11610
|
+
* @export
|
|
11611
|
+
* @interface SumupCreatePaymentRequest
|
|
11612
|
+
*/
|
|
11613
|
+
export interface SumupCreatePaymentRequest {
|
|
11614
|
+
/**
|
|
11615
|
+
*
|
|
11616
|
+
* @type {number}
|
|
11617
|
+
* @memberof SumupCreatePaymentRequest
|
|
11618
|
+
*/
|
|
11619
|
+
'amountInCents': number;
|
|
11620
|
+
/**
|
|
11621
|
+
*
|
|
11622
|
+
* @type {string}
|
|
11623
|
+
* @memberof SumupCreatePaymentRequest
|
|
11624
|
+
*/
|
|
11625
|
+
'currency': string;
|
|
11626
|
+
/**
|
|
11627
|
+
*
|
|
11628
|
+
* @type {string}
|
|
11629
|
+
* @memberof SumupCreatePaymentRequest
|
|
11630
|
+
*/
|
|
11631
|
+
'readerId'?: string;
|
|
11632
|
+
/**
|
|
11633
|
+
*
|
|
11634
|
+
* @type {string}
|
|
11635
|
+
* @memberof SumupCreatePaymentRequest
|
|
11636
|
+
*/
|
|
11637
|
+
'description'?: string;
|
|
11638
|
+
/**
|
|
11639
|
+
*
|
|
11640
|
+
* @type {string}
|
|
11641
|
+
* @memberof SumupCreatePaymentRequest
|
|
11642
|
+
*/
|
|
11643
|
+
'reference'?: string;
|
|
11644
|
+
/**
|
|
11645
|
+
* Construct a type with a set of properties K of type T
|
|
11646
|
+
* @type {{ [key: string]: string; }}
|
|
11647
|
+
* @memberof SumupCreatePaymentRequest
|
|
11648
|
+
*/
|
|
11649
|
+
'metadata'?: {
|
|
11650
|
+
[key: string]: string;
|
|
11651
|
+
};
|
|
11652
|
+
/**
|
|
11653
|
+
*
|
|
11654
|
+
* @type {string}
|
|
11655
|
+
* @memberof SumupCreatePaymentRequest
|
|
11656
|
+
*/
|
|
11657
|
+
'userId'?: string;
|
|
11658
|
+
}
|
|
11659
|
+
/**
|
|
11660
|
+
*
|
|
11661
|
+
* @export
|
|
11662
|
+
* @interface SumupOAuthCallbackResponse
|
|
11663
|
+
*/
|
|
11664
|
+
export interface SumupOAuthCallbackResponse {
|
|
11665
|
+
/**
|
|
11666
|
+
*
|
|
11667
|
+
* @type {string}
|
|
11668
|
+
* @memberof SumupOAuthCallbackResponse
|
|
11669
|
+
*/
|
|
11670
|
+
'clubId': string;
|
|
11671
|
+
/**
|
|
11672
|
+
*
|
|
11673
|
+
* @type {string}
|
|
11674
|
+
* @memberof SumupOAuthCallbackResponse
|
|
11675
|
+
*/
|
|
11676
|
+
'merchantCode': string;
|
|
11677
|
+
/**
|
|
11678
|
+
*
|
|
11679
|
+
* @type {string}
|
|
11680
|
+
* @memberof SumupOAuthCallbackResponse
|
|
11681
|
+
*/
|
|
11682
|
+
'scope'?: string;
|
|
11683
|
+
}
|
|
11684
|
+
/**
|
|
11685
|
+
*
|
|
11686
|
+
* @export
|
|
11687
|
+
* @interface SumupReaderInfo
|
|
11688
|
+
*/
|
|
11689
|
+
export interface SumupReaderInfo {
|
|
11690
|
+
[key: string]: any;
|
|
11691
|
+
/**
|
|
11692
|
+
*
|
|
11693
|
+
* @type {string}
|
|
11694
|
+
* @memberof SumupReaderInfo
|
|
11695
|
+
*/
|
|
11696
|
+
'reader_id'?: string;
|
|
11697
|
+
/**
|
|
11698
|
+
*
|
|
11699
|
+
* @type {string}
|
|
11700
|
+
* @memberof SumupReaderInfo
|
|
11701
|
+
*/
|
|
11702
|
+
'id'?: string;
|
|
11703
|
+
/**
|
|
11704
|
+
*
|
|
11705
|
+
* @type {string}
|
|
11706
|
+
* @memberof SumupReaderInfo
|
|
11707
|
+
*/
|
|
11708
|
+
'serial_number'?: string;
|
|
11709
|
+
/**
|
|
11710
|
+
*
|
|
11711
|
+
* @type {string}
|
|
11712
|
+
* @memberof SumupReaderInfo
|
|
11713
|
+
*/
|
|
11714
|
+
'name'?: string;
|
|
11715
|
+
/**
|
|
11716
|
+
*
|
|
11717
|
+
* @type {string}
|
|
11718
|
+
* @memberof SumupReaderInfo
|
|
11719
|
+
*/
|
|
11720
|
+
'status'?: string;
|
|
11721
|
+
/**
|
|
11722
|
+
*
|
|
11723
|
+
* @type {string}
|
|
11724
|
+
* @memberof SumupReaderInfo
|
|
11725
|
+
*/
|
|
11726
|
+
'model'?: string;
|
|
11727
|
+
/**
|
|
11728
|
+
*
|
|
11729
|
+
* @type {string}
|
|
11730
|
+
* @memberof SumupReaderInfo
|
|
11731
|
+
*/
|
|
11732
|
+
'device_type'?: string;
|
|
11733
|
+
/**
|
|
11734
|
+
*
|
|
11735
|
+
* @type {string}
|
|
11736
|
+
* @memberof SumupReaderInfo
|
|
11737
|
+
*/
|
|
11738
|
+
'last_seen_at'?: string;
|
|
11739
|
+
}
|
|
11740
|
+
/**
|
|
11741
|
+
*
|
|
11742
|
+
* @export
|
|
11743
|
+
* @interface SumupReadersResponse
|
|
11744
|
+
*/
|
|
11745
|
+
export interface SumupReadersResponse {
|
|
11746
|
+
/**
|
|
11747
|
+
*
|
|
11748
|
+
* @type {Array<SumupReaderInfo>}
|
|
11749
|
+
* @memberof SumupReadersResponse
|
|
11750
|
+
*/
|
|
11751
|
+
'readers': Array<SumupReaderInfo>;
|
|
11752
|
+
}
|
|
11486
11753
|
/**
|
|
11487
11754
|
*
|
|
11488
11755
|
* @export
|
|
@@ -12656,12 +12923,6 @@ export interface UserClubMembership {
|
|
|
12656
12923
|
* @memberof UserClubMembership
|
|
12657
12924
|
*/
|
|
12658
12925
|
'clubPicture': string | null;
|
|
12659
|
-
/**
|
|
12660
|
-
*
|
|
12661
|
-
* @type {Array<string>}
|
|
12662
|
-
* @memberof UserClubMembership
|
|
12663
|
-
*/
|
|
12664
|
-
'bannerPictures'?: Array<string>;
|
|
12665
12926
|
/**
|
|
12666
12927
|
*
|
|
12667
12928
|
* @type {string}
|
|
@@ -13340,12 +13601,6 @@ export interface UserProfileResponse {
|
|
|
13340
13601
|
* @memberof UserProfileResponse
|
|
13341
13602
|
*/
|
|
13342
13603
|
'clubs'?: Array<UserClubMembership>;
|
|
13343
|
-
/**
|
|
13344
|
-
*
|
|
13345
|
-
* @type {Array<ClubSummary>}
|
|
13346
|
-
* @memberof UserProfileResponse
|
|
13347
|
-
*/
|
|
13348
|
-
'favoriteClubsDetails'?: Array<ClubSummary>;
|
|
13349
13604
|
/**
|
|
13350
13605
|
*
|
|
13351
13606
|
* @type {Array<ClubSummary>}
|
|
@@ -20848,6 +21103,140 @@ export declare class ImagesApi extends BaseAPI {
|
|
|
20848
21103
|
*/
|
|
20849
21104
|
cleanupImages(requestParameters: ImagesApiCleanupImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageCleanupResponse, any, {}>>;
|
|
20850
21105
|
}
|
|
21106
|
+
/**
|
|
21107
|
+
* PaymentsStaffApi - axios parameter creator
|
|
21108
|
+
* @export
|
|
21109
|
+
*/
|
|
21110
|
+
export declare const PaymentsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21111
|
+
/**
|
|
21112
|
+
* Cancel a SumUp reader checkout.
|
|
21113
|
+
* @param {string} clubId
|
|
21114
|
+
* @param {string} paymentId
|
|
21115
|
+
* @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
|
|
21116
|
+
* @param {*} [options] Override http request option.
|
|
21117
|
+
* @throws {RequiredError}
|
|
21118
|
+
*/
|
|
21119
|
+
cancelSumupPayment: (clubId: string, paymentId: string, sumupCancelPaymentRequest?: SumupCancelPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21120
|
+
/**
|
|
21121
|
+
* Start a SumUp reader checkout (manual payment trigger).
|
|
21122
|
+
* @param {string} clubId
|
|
21123
|
+
* @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
|
|
21124
|
+
* @param {*} [options] Override http request option.
|
|
21125
|
+
* @throws {RequiredError}
|
|
21126
|
+
*/
|
|
21127
|
+
createSumupPayment: (clubId: string, sumupCreatePaymentRequest: SumupCreatePaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21128
|
+
};
|
|
21129
|
+
/**
|
|
21130
|
+
* PaymentsStaffApi - functional programming interface
|
|
21131
|
+
* @export
|
|
21132
|
+
*/
|
|
21133
|
+
export declare const PaymentsStaffApiFp: (configuration?: Configuration) => {
|
|
21134
|
+
/**
|
|
21135
|
+
* Cancel a SumUp reader checkout.
|
|
21136
|
+
* @param {string} clubId
|
|
21137
|
+
* @param {string} paymentId
|
|
21138
|
+
* @param {SumupCancelPaymentRequest} [sumupCancelPaymentRequest]
|
|
21139
|
+
* @param {*} [options] Override http request option.
|
|
21140
|
+
* @throws {RequiredError}
|
|
21141
|
+
*/
|
|
21142
|
+
cancelSumupPayment(clubId: string, paymentId: string, sumupCancelPaymentRequest?: SumupCancelPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
21143
|
+
/**
|
|
21144
|
+
* Start a SumUp reader checkout (manual payment trigger).
|
|
21145
|
+
* @param {string} clubId
|
|
21146
|
+
* @param {SumupCreatePaymentRequest} sumupCreatePaymentRequest
|
|
21147
|
+
* @param {*} [options] Override http request option.
|
|
21148
|
+
* @throws {RequiredError}
|
|
21149
|
+
*/
|
|
21150
|
+
createSumupPayment(clubId: string, sumupCreatePaymentRequest: SumupCreatePaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentIntentResult>>;
|
|
21151
|
+
};
|
|
21152
|
+
/**
|
|
21153
|
+
* PaymentsStaffApi - factory interface
|
|
21154
|
+
* @export
|
|
21155
|
+
*/
|
|
21156
|
+
export declare const PaymentsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21157
|
+
/**
|
|
21158
|
+
* Cancel a SumUp reader checkout.
|
|
21159
|
+
* @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
|
|
21160
|
+
* @param {*} [options] Override http request option.
|
|
21161
|
+
* @throws {RequiredError}
|
|
21162
|
+
*/
|
|
21163
|
+
cancelSumupPayment(requestParameters: PaymentsStaffApiCancelSumupPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21164
|
+
/**
|
|
21165
|
+
* Start a SumUp reader checkout (manual payment trigger).
|
|
21166
|
+
* @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
|
|
21167
|
+
* @param {*} [options] Override http request option.
|
|
21168
|
+
* @throws {RequiredError}
|
|
21169
|
+
*/
|
|
21170
|
+
createSumupPayment(requestParameters: PaymentsStaffApiCreateSumupPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentIntentResult>;
|
|
21171
|
+
};
|
|
21172
|
+
/**
|
|
21173
|
+
* Request parameters for cancelSumupPayment operation in PaymentsStaffApi.
|
|
21174
|
+
* @export
|
|
21175
|
+
* @interface PaymentsStaffApiCancelSumupPaymentRequest
|
|
21176
|
+
*/
|
|
21177
|
+
export interface PaymentsStaffApiCancelSumupPaymentRequest {
|
|
21178
|
+
/**
|
|
21179
|
+
*
|
|
21180
|
+
* @type {string}
|
|
21181
|
+
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
21182
|
+
*/
|
|
21183
|
+
readonly clubId: string;
|
|
21184
|
+
/**
|
|
21185
|
+
*
|
|
21186
|
+
* @type {string}
|
|
21187
|
+
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
21188
|
+
*/
|
|
21189
|
+
readonly paymentId: string;
|
|
21190
|
+
/**
|
|
21191
|
+
*
|
|
21192
|
+
* @type {SumupCancelPaymentRequest}
|
|
21193
|
+
* @memberof PaymentsStaffApiCancelSumupPayment
|
|
21194
|
+
*/
|
|
21195
|
+
readonly sumupCancelPaymentRequest?: SumupCancelPaymentRequest;
|
|
21196
|
+
}
|
|
21197
|
+
/**
|
|
21198
|
+
* Request parameters for createSumupPayment operation in PaymentsStaffApi.
|
|
21199
|
+
* @export
|
|
21200
|
+
* @interface PaymentsStaffApiCreateSumupPaymentRequest
|
|
21201
|
+
*/
|
|
21202
|
+
export interface PaymentsStaffApiCreateSumupPaymentRequest {
|
|
21203
|
+
/**
|
|
21204
|
+
*
|
|
21205
|
+
* @type {string}
|
|
21206
|
+
* @memberof PaymentsStaffApiCreateSumupPayment
|
|
21207
|
+
*/
|
|
21208
|
+
readonly clubId: string;
|
|
21209
|
+
/**
|
|
21210
|
+
*
|
|
21211
|
+
* @type {SumupCreatePaymentRequest}
|
|
21212
|
+
* @memberof PaymentsStaffApiCreateSumupPayment
|
|
21213
|
+
*/
|
|
21214
|
+
readonly sumupCreatePaymentRequest: SumupCreatePaymentRequest;
|
|
21215
|
+
}
|
|
21216
|
+
/**
|
|
21217
|
+
* PaymentsStaffApi - object-oriented interface
|
|
21218
|
+
* @export
|
|
21219
|
+
* @class PaymentsStaffApi
|
|
21220
|
+
* @extends {BaseAPI}
|
|
21221
|
+
*/
|
|
21222
|
+
export declare class PaymentsStaffApi extends BaseAPI {
|
|
21223
|
+
/**
|
|
21224
|
+
* Cancel a SumUp reader checkout.
|
|
21225
|
+
* @param {PaymentsStaffApiCancelSumupPaymentRequest} requestParameters Request parameters.
|
|
21226
|
+
* @param {*} [options] Override http request option.
|
|
21227
|
+
* @throws {RequiredError}
|
|
21228
|
+
* @memberof PaymentsStaffApi
|
|
21229
|
+
*/
|
|
21230
|
+
cancelSumupPayment(requestParameters: PaymentsStaffApiCancelSumupPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
21231
|
+
/**
|
|
21232
|
+
* Start a SumUp reader checkout (manual payment trigger).
|
|
21233
|
+
* @param {PaymentsStaffApiCreateSumupPaymentRequest} requestParameters Request parameters.
|
|
21234
|
+
* @param {*} [options] Override http request option.
|
|
21235
|
+
* @throws {RequiredError}
|
|
21236
|
+
* @memberof PaymentsStaffApi
|
|
21237
|
+
*/
|
|
21238
|
+
createSumupPayment(requestParameters: PaymentsStaffApiCreateSumupPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentIntentResult, any, {}>>;
|
|
21239
|
+
}
|
|
20851
21240
|
/**
|
|
20852
21241
|
* PublicEmailApi - axios parameter creator
|
|
20853
21242
|
* @export
|
|
@@ -21759,6 +22148,326 @@ export declare class SubscriptionsUserApi extends BaseAPI {
|
|
|
21759
22148
|
*/
|
|
21760
22149
|
subscribe(requestParameters: SubscriptionsUserApiSubscribeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any, {}>>;
|
|
21761
22150
|
}
|
|
22151
|
+
/**
|
|
22152
|
+
* SumUpApi - axios parameter creator
|
|
22153
|
+
* @export
|
|
22154
|
+
*/
|
|
22155
|
+
export declare const SumUpApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22156
|
+
/**
|
|
22157
|
+
* OAuth callback for SumUp.
|
|
22158
|
+
* @param {string} code
|
|
22159
|
+
* @param {string} state
|
|
22160
|
+
* @param {*} [options] Override http request option.
|
|
22161
|
+
* @throws {RequiredError}
|
|
22162
|
+
*/
|
|
22163
|
+
sumupOauthCallback: (code: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22164
|
+
};
|
|
22165
|
+
/**
|
|
22166
|
+
* SumUpApi - functional programming interface
|
|
22167
|
+
* @export
|
|
22168
|
+
*/
|
|
22169
|
+
export declare const SumUpApiFp: (configuration?: Configuration) => {
|
|
22170
|
+
/**
|
|
22171
|
+
* OAuth callback for SumUp.
|
|
22172
|
+
* @param {string} code
|
|
22173
|
+
* @param {string} state
|
|
22174
|
+
* @param {*} [options] Override http request option.
|
|
22175
|
+
* @throws {RequiredError}
|
|
22176
|
+
*/
|
|
22177
|
+
sumupOauthCallback(code: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupOAuthCallbackResponse>>;
|
|
22178
|
+
};
|
|
22179
|
+
/**
|
|
22180
|
+
* SumUpApi - factory interface
|
|
22181
|
+
* @export
|
|
22182
|
+
*/
|
|
22183
|
+
export declare const SumUpApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22184
|
+
/**
|
|
22185
|
+
* OAuth callback for SumUp.
|
|
22186
|
+
* @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
|
|
22187
|
+
* @param {*} [options] Override http request option.
|
|
22188
|
+
* @throws {RequiredError}
|
|
22189
|
+
*/
|
|
22190
|
+
sumupOauthCallback(requestParameters: SumUpApiSumupOauthCallbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupOAuthCallbackResponse>;
|
|
22191
|
+
};
|
|
22192
|
+
/**
|
|
22193
|
+
* Request parameters for sumupOauthCallback operation in SumUpApi.
|
|
22194
|
+
* @export
|
|
22195
|
+
* @interface SumUpApiSumupOauthCallbackRequest
|
|
22196
|
+
*/
|
|
22197
|
+
export interface SumUpApiSumupOauthCallbackRequest {
|
|
22198
|
+
/**
|
|
22199
|
+
*
|
|
22200
|
+
* @type {string}
|
|
22201
|
+
* @memberof SumUpApiSumupOauthCallback
|
|
22202
|
+
*/
|
|
22203
|
+
readonly code: string;
|
|
22204
|
+
/**
|
|
22205
|
+
*
|
|
22206
|
+
* @type {string}
|
|
22207
|
+
* @memberof SumUpApiSumupOauthCallback
|
|
22208
|
+
*/
|
|
22209
|
+
readonly state: string;
|
|
22210
|
+
}
|
|
22211
|
+
/**
|
|
22212
|
+
* SumUpApi - object-oriented interface
|
|
22213
|
+
* @export
|
|
22214
|
+
* @class SumUpApi
|
|
22215
|
+
* @extends {BaseAPI}
|
|
22216
|
+
*/
|
|
22217
|
+
export declare class SumUpApi extends BaseAPI {
|
|
22218
|
+
/**
|
|
22219
|
+
* OAuth callback for SumUp.
|
|
22220
|
+
* @param {SumUpApiSumupOauthCallbackRequest} requestParameters Request parameters.
|
|
22221
|
+
* @param {*} [options] Override http request option.
|
|
22222
|
+
* @throws {RequiredError}
|
|
22223
|
+
* @memberof SumUpApi
|
|
22224
|
+
*/
|
|
22225
|
+
sumupOauthCallback(requestParameters: SumUpApiSumupOauthCallbackRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupOAuthCallbackResponse, any, {}>>;
|
|
22226
|
+
}
|
|
22227
|
+
/**
|
|
22228
|
+
* SumUpManagerApi - axios parameter creator
|
|
22229
|
+
* @export
|
|
22230
|
+
*/
|
|
22231
|
+
export declare const SumUpManagerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22232
|
+
/**
|
|
22233
|
+
* Disconnect SumUp account for a club.
|
|
22234
|
+
* @param {string} clubId
|
|
22235
|
+
* @param {*} [options] Override http request option.
|
|
22236
|
+
* @throws {RequiredError}
|
|
22237
|
+
*/
|
|
22238
|
+
disconnectSumup: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22239
|
+
/**
|
|
22240
|
+
* Start SumUp OAuth connection for a club.
|
|
22241
|
+
* @param {string} clubId
|
|
22242
|
+
* @param {*} [options] Override http request option.
|
|
22243
|
+
* @throws {RequiredError}
|
|
22244
|
+
*/
|
|
22245
|
+
getSumupConnectUrl: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22246
|
+
/**
|
|
22247
|
+
* Get SumUp connection status for a club.
|
|
22248
|
+
* @param {string} clubId
|
|
22249
|
+
* @param {*} [options] Override http request option.
|
|
22250
|
+
* @throws {RequiredError}
|
|
22251
|
+
*/
|
|
22252
|
+
getSumupStatus: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22253
|
+
/**
|
|
22254
|
+
* List SumUp readers for a club.
|
|
22255
|
+
* @param {string} clubId
|
|
22256
|
+
* @param {*} [options] Override http request option.
|
|
22257
|
+
* @throws {RequiredError}
|
|
22258
|
+
*/
|
|
22259
|
+
listSumupReaders: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22260
|
+
/**
|
|
22261
|
+
* Select a SumUp reader for a club.
|
|
22262
|
+
* @param {string} clubId
|
|
22263
|
+
* @param {string} readerId
|
|
22264
|
+
* @param {*} [options] Override http request option.
|
|
22265
|
+
* @throws {RequiredError}
|
|
22266
|
+
*/
|
|
22267
|
+
selectSumupReader: (clubId: string, readerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22268
|
+
};
|
|
22269
|
+
/**
|
|
22270
|
+
* SumUpManagerApi - functional programming interface
|
|
22271
|
+
* @export
|
|
22272
|
+
*/
|
|
22273
|
+
export declare const SumUpManagerApiFp: (configuration?: Configuration) => {
|
|
22274
|
+
/**
|
|
22275
|
+
* Disconnect SumUp account for a club.
|
|
22276
|
+
* @param {string} clubId
|
|
22277
|
+
* @param {*} [options] Override http request option.
|
|
22278
|
+
* @throws {RequiredError}
|
|
22279
|
+
*/
|
|
22280
|
+
disconnectSumup(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22281
|
+
/**
|
|
22282
|
+
* Start SumUp OAuth connection for a club.
|
|
22283
|
+
* @param {string} clubId
|
|
22284
|
+
* @param {*} [options] Override http request option.
|
|
22285
|
+
* @throws {RequiredError}
|
|
22286
|
+
*/
|
|
22287
|
+
getSumupConnectUrl(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupConnectUrlResponse>>;
|
|
22288
|
+
/**
|
|
22289
|
+
* Get SumUp connection status for a club.
|
|
22290
|
+
* @param {string} clubId
|
|
22291
|
+
* @param {*} [options] Override http request option.
|
|
22292
|
+
* @throws {RequiredError}
|
|
22293
|
+
*/
|
|
22294
|
+
getSumupStatus(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupAccountStatusResponse>>;
|
|
22295
|
+
/**
|
|
22296
|
+
* List SumUp readers for a club.
|
|
22297
|
+
* @param {string} clubId
|
|
22298
|
+
* @param {*} [options] Override http request option.
|
|
22299
|
+
* @throws {RequiredError}
|
|
22300
|
+
*/
|
|
22301
|
+
listSumupReaders(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumupReadersResponse>>;
|
|
22302
|
+
/**
|
|
22303
|
+
* Select a SumUp reader for a club.
|
|
22304
|
+
* @param {string} clubId
|
|
22305
|
+
* @param {string} readerId
|
|
22306
|
+
* @param {*} [options] Override http request option.
|
|
22307
|
+
* @throws {RequiredError}
|
|
22308
|
+
*/
|
|
22309
|
+
selectSumupReader(clubId: string, readerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22310
|
+
};
|
|
22311
|
+
/**
|
|
22312
|
+
* SumUpManagerApi - factory interface
|
|
22313
|
+
* @export
|
|
22314
|
+
*/
|
|
22315
|
+
export declare const SumUpManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22316
|
+
/**
|
|
22317
|
+
* Disconnect SumUp account for a club.
|
|
22318
|
+
* @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
|
|
22319
|
+
* @param {*} [options] Override http request option.
|
|
22320
|
+
* @throws {RequiredError}
|
|
22321
|
+
*/
|
|
22322
|
+
disconnectSumup(requestParameters: SumUpManagerApiDisconnectSumupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22323
|
+
/**
|
|
22324
|
+
* Start SumUp OAuth connection for a club.
|
|
22325
|
+
* @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
|
|
22326
|
+
* @param {*} [options] Override http request option.
|
|
22327
|
+
* @throws {RequiredError}
|
|
22328
|
+
*/
|
|
22329
|
+
getSumupConnectUrl(requestParameters: SumUpManagerApiGetSumupConnectUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupConnectUrlResponse>;
|
|
22330
|
+
/**
|
|
22331
|
+
* Get SumUp connection status for a club.
|
|
22332
|
+
* @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
|
|
22333
|
+
* @param {*} [options] Override http request option.
|
|
22334
|
+
* @throws {RequiredError}
|
|
22335
|
+
*/
|
|
22336
|
+
getSumupStatus(requestParameters: SumUpManagerApiGetSumupStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupAccountStatusResponse>;
|
|
22337
|
+
/**
|
|
22338
|
+
* List SumUp readers for a club.
|
|
22339
|
+
* @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
|
|
22340
|
+
* @param {*} [options] Override http request option.
|
|
22341
|
+
* @throws {RequiredError}
|
|
22342
|
+
*/
|
|
22343
|
+
listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig): AxiosPromise<SumupReadersResponse>;
|
|
22344
|
+
/**
|
|
22345
|
+
* Select a SumUp reader for a club.
|
|
22346
|
+
* @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
|
|
22347
|
+
* @param {*} [options] Override http request option.
|
|
22348
|
+
* @throws {RequiredError}
|
|
22349
|
+
*/
|
|
22350
|
+
selectSumupReader(requestParameters: SumUpManagerApiSelectSumupReaderRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22351
|
+
};
|
|
22352
|
+
/**
|
|
22353
|
+
* Request parameters for disconnectSumup operation in SumUpManagerApi.
|
|
22354
|
+
* @export
|
|
22355
|
+
* @interface SumUpManagerApiDisconnectSumupRequest
|
|
22356
|
+
*/
|
|
22357
|
+
export interface SumUpManagerApiDisconnectSumupRequest {
|
|
22358
|
+
/**
|
|
22359
|
+
*
|
|
22360
|
+
* @type {string}
|
|
22361
|
+
* @memberof SumUpManagerApiDisconnectSumup
|
|
22362
|
+
*/
|
|
22363
|
+
readonly clubId: string;
|
|
22364
|
+
}
|
|
22365
|
+
/**
|
|
22366
|
+
* Request parameters for getSumupConnectUrl operation in SumUpManagerApi.
|
|
22367
|
+
* @export
|
|
22368
|
+
* @interface SumUpManagerApiGetSumupConnectUrlRequest
|
|
22369
|
+
*/
|
|
22370
|
+
export interface SumUpManagerApiGetSumupConnectUrlRequest {
|
|
22371
|
+
/**
|
|
22372
|
+
*
|
|
22373
|
+
* @type {string}
|
|
22374
|
+
* @memberof SumUpManagerApiGetSumupConnectUrl
|
|
22375
|
+
*/
|
|
22376
|
+
readonly clubId: string;
|
|
22377
|
+
}
|
|
22378
|
+
/**
|
|
22379
|
+
* Request parameters for getSumupStatus operation in SumUpManagerApi.
|
|
22380
|
+
* @export
|
|
22381
|
+
* @interface SumUpManagerApiGetSumupStatusRequest
|
|
22382
|
+
*/
|
|
22383
|
+
export interface SumUpManagerApiGetSumupStatusRequest {
|
|
22384
|
+
/**
|
|
22385
|
+
*
|
|
22386
|
+
* @type {string}
|
|
22387
|
+
* @memberof SumUpManagerApiGetSumupStatus
|
|
22388
|
+
*/
|
|
22389
|
+
readonly clubId: string;
|
|
22390
|
+
}
|
|
22391
|
+
/**
|
|
22392
|
+
* Request parameters for listSumupReaders operation in SumUpManagerApi.
|
|
22393
|
+
* @export
|
|
22394
|
+
* @interface SumUpManagerApiListSumupReadersRequest
|
|
22395
|
+
*/
|
|
22396
|
+
export interface SumUpManagerApiListSumupReadersRequest {
|
|
22397
|
+
/**
|
|
22398
|
+
*
|
|
22399
|
+
* @type {string}
|
|
22400
|
+
* @memberof SumUpManagerApiListSumupReaders
|
|
22401
|
+
*/
|
|
22402
|
+
readonly clubId: string;
|
|
22403
|
+
}
|
|
22404
|
+
/**
|
|
22405
|
+
* Request parameters for selectSumupReader operation in SumUpManagerApi.
|
|
22406
|
+
* @export
|
|
22407
|
+
* @interface SumUpManagerApiSelectSumupReaderRequest
|
|
22408
|
+
*/
|
|
22409
|
+
export interface SumUpManagerApiSelectSumupReaderRequest {
|
|
22410
|
+
/**
|
|
22411
|
+
*
|
|
22412
|
+
* @type {string}
|
|
22413
|
+
* @memberof SumUpManagerApiSelectSumupReader
|
|
22414
|
+
*/
|
|
22415
|
+
readonly clubId: string;
|
|
22416
|
+
/**
|
|
22417
|
+
*
|
|
22418
|
+
* @type {string}
|
|
22419
|
+
* @memberof SumUpManagerApiSelectSumupReader
|
|
22420
|
+
*/
|
|
22421
|
+
readonly readerId: string;
|
|
22422
|
+
}
|
|
22423
|
+
/**
|
|
22424
|
+
* SumUpManagerApi - object-oriented interface
|
|
22425
|
+
* @export
|
|
22426
|
+
* @class SumUpManagerApi
|
|
22427
|
+
* @extends {BaseAPI}
|
|
22428
|
+
*/
|
|
22429
|
+
export declare class SumUpManagerApi extends BaseAPI {
|
|
22430
|
+
/**
|
|
22431
|
+
* Disconnect SumUp account for a club.
|
|
22432
|
+
* @param {SumUpManagerApiDisconnectSumupRequest} requestParameters Request parameters.
|
|
22433
|
+
* @param {*} [options] Override http request option.
|
|
22434
|
+
* @throws {RequiredError}
|
|
22435
|
+
* @memberof SumUpManagerApi
|
|
22436
|
+
*/
|
|
22437
|
+
disconnectSumup(requestParameters: SumUpManagerApiDisconnectSumupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
22438
|
+
/**
|
|
22439
|
+
* Start SumUp OAuth connection for a club.
|
|
22440
|
+
* @param {SumUpManagerApiGetSumupConnectUrlRequest} requestParameters Request parameters.
|
|
22441
|
+
* @param {*} [options] Override http request option.
|
|
22442
|
+
* @throws {RequiredError}
|
|
22443
|
+
* @memberof SumUpManagerApi
|
|
22444
|
+
*/
|
|
22445
|
+
getSumupConnectUrl(requestParameters: SumUpManagerApiGetSumupConnectUrlRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupConnectUrlResponse, any, {}>>;
|
|
22446
|
+
/**
|
|
22447
|
+
* Get SumUp connection status for a club.
|
|
22448
|
+
* @param {SumUpManagerApiGetSumupStatusRequest} requestParameters Request parameters.
|
|
22449
|
+
* @param {*} [options] Override http request option.
|
|
22450
|
+
* @throws {RequiredError}
|
|
22451
|
+
* @memberof SumUpManagerApi
|
|
22452
|
+
*/
|
|
22453
|
+
getSumupStatus(requestParameters: SumUpManagerApiGetSumupStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupAccountStatusResponse, any, {}>>;
|
|
22454
|
+
/**
|
|
22455
|
+
* List SumUp readers for a club.
|
|
22456
|
+
* @param {SumUpManagerApiListSumupReadersRequest} requestParameters Request parameters.
|
|
22457
|
+
* @param {*} [options] Override http request option.
|
|
22458
|
+
* @throws {RequiredError}
|
|
22459
|
+
* @memberof SumUpManagerApi
|
|
22460
|
+
*/
|
|
22461
|
+
listSumupReaders(requestParameters: SumUpManagerApiListSumupReadersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupReadersResponse, any, {}>>;
|
|
22462
|
+
/**
|
|
22463
|
+
* Select a SumUp reader for a club.
|
|
22464
|
+
* @param {SumUpManagerApiSelectSumupReaderRequest} requestParameters Request parameters.
|
|
22465
|
+
* @param {*} [options] Override http request option.
|
|
22466
|
+
* @throws {RequiredError}
|
|
22467
|
+
* @memberof SumUpManagerApi
|
|
22468
|
+
*/
|
|
22469
|
+
selectSumupReader(requestParameters: SumUpManagerApiSelectSumupReaderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
22470
|
+
}
|
|
21762
22471
|
/**
|
|
21763
22472
|
* UserApi - axios parameter creator
|
|
21764
22473
|
* @export
|