@tennac-booking/sdk 1.0.162 → 1.0.165
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 +3 -2
- package/README.md +5 -3
- package/api.ts +171 -38
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +119 -38
- package/dist/api.js +104 -3
- 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 +119 -38
- package/dist/esm/api.js +98 -1
- 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/AgendaPaymentStatus.md +12 -0
- package/docs/ClubPresentationSettingsResponse.md +0 -2
- package/docs/ContactApi.md +61 -0
- package/docs/ContactRequestBody.md +28 -0
- package/docs/{Sponsor.md → ContactSuccessResponse.md} +5 -9
- package/docs/UpdateClubPresentationSettingsRequest.md +0 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
-
.openapi-generator-ignore
|
|
4
3
|
README.md
|
|
5
4
|
api.ts
|
|
6
5
|
base.ts
|
|
@@ -114,6 +113,9 @@ docs/ClubUserCountResponse.md
|
|
|
114
113
|
docs/ClubsApi.md
|
|
115
114
|
docs/ClubsManagerApi.md
|
|
116
115
|
docs/ClubsStaffApi.md
|
|
116
|
+
docs/ContactApi.md
|
|
117
|
+
docs/ContactRequestBody.md
|
|
118
|
+
docs/ContactSuccessResponse.md
|
|
117
119
|
docs/CourtBookingShareItem.md
|
|
118
120
|
docs/CourtInfo.md
|
|
119
121
|
docs/CourtResponse.md
|
|
@@ -287,7 +289,6 @@ docs/SchoolAccessSettings.md
|
|
|
287
289
|
docs/SendSubscriptionInvitationRequest.md
|
|
288
290
|
docs/SendSubscriptionInvitationResponse.md
|
|
289
291
|
docs/SlotInfo.md
|
|
290
|
-
docs/Sponsor.md
|
|
291
292
|
docs/SportAnalyticsResponse.md
|
|
292
293
|
docs/SportInfo.md
|
|
293
294
|
docs/SportKey.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.163
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.163 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -172,6 +172,7 @@ Class | Method | HTTP request | Description
|
|
|
172
172
|
*ClubsStaffApi* | [**getInvoices**](docs/ClubsStaffApi.md#getinvoices) | **GET** /api/clubs/invoices |
|
|
173
173
|
*ClubsStaffApi* | [**getUserProfileStaff**](docs/ClubsStaffApi.md#getuserprofilestaff) | **GET** /api/clubs/staff/profile/{id} |
|
|
174
174
|
*ClubsStaffApi* | [**updateUserCreditsStaff**](docs/ClubsStaffApi.md#updateusercreditsstaff) | **PUT** /api/clubs/staff/user-credits/{id} |
|
|
175
|
+
*ContactApi* | [**sendContact**](docs/ContactApi.md#sendcontact) | **POST** /api/contact |
|
|
175
176
|
*DefaultApi* | [**createClub**](docs/DefaultApi.md#createclub) | **POST** /api/clubs |
|
|
176
177
|
*EventsApi* | [**checkTeamNameAvailability**](docs/EventsApi.md#checkteamnameavailability) | **GET** /api/events/{eventId}/team-name-availability |
|
|
177
178
|
*EventsApi* | [**estimateEventPrice**](docs/EventsApi.md#estimateeventprice) | **POST** /api/events/{eventId}/estimate-price |
|
|
@@ -349,6 +350,8 @@ Class | Method | HTTP request | Description
|
|
|
349
350
|
- [ClubSubscriptions](docs/ClubSubscriptions.md)
|
|
350
351
|
- [ClubSummary](docs/ClubSummary.md)
|
|
351
352
|
- [ClubUserCountResponse](docs/ClubUserCountResponse.md)
|
|
353
|
+
- [ContactRequestBody](docs/ContactRequestBody.md)
|
|
354
|
+
- [ContactSuccessResponse](docs/ContactSuccessResponse.md)
|
|
352
355
|
- [CourtBookingShareItem](docs/CourtBookingShareItem.md)
|
|
353
356
|
- [CourtInfo](docs/CourtInfo.md)
|
|
354
357
|
- [CourtResponse](docs/CourtResponse.md)
|
|
@@ -517,7 +520,6 @@ Class | Method | HTTP request | Description
|
|
|
517
520
|
- [SendSubscriptionInvitationRequest](docs/SendSubscriptionInvitationRequest.md)
|
|
518
521
|
- [SendSubscriptionInvitationResponse](docs/SendSubscriptionInvitationResponse.md)
|
|
519
522
|
- [SlotInfo](docs/SlotInfo.md)
|
|
520
|
-
- [Sponsor](docs/Sponsor.md)
|
|
521
523
|
- [SportAnalyticsResponse](docs/SportAnalyticsResponse.md)
|
|
522
524
|
- [SportInfo](docs/SportInfo.md)
|
|
523
525
|
- [SportKey](docs/SportKey.md)
|
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.163
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3195,12 +3195,6 @@ export interface ClubPresentationSettingsResponse {
|
|
|
3195
3195
|
* @memberof ClubPresentationSettingsResponse
|
|
3196
3196
|
*/
|
|
3197
3197
|
'galleryImages': Array<string>;
|
|
3198
|
-
/**
|
|
3199
|
-
*
|
|
3200
|
-
* @type {Array<Sponsor>}
|
|
3201
|
-
* @memberof ClubPresentationSettingsResponse
|
|
3202
|
-
*/
|
|
3203
|
-
'sponsors': Array<Sponsor>;
|
|
3204
3198
|
}
|
|
3205
3199
|
/**
|
|
3206
3200
|
*
|
|
@@ -3649,6 +3643,56 @@ export interface ClubUserCountResponse {
|
|
|
3649
3643
|
*/
|
|
3650
3644
|
'count': number;
|
|
3651
3645
|
}
|
|
3646
|
+
/**
|
|
3647
|
+
*
|
|
3648
|
+
* @export
|
|
3649
|
+
* @interface ContactRequestBody
|
|
3650
|
+
*/
|
|
3651
|
+
export interface ContactRequestBody {
|
|
3652
|
+
/**
|
|
3653
|
+
*
|
|
3654
|
+
* @type {string}
|
|
3655
|
+
* @memberof ContactRequestBody
|
|
3656
|
+
*/
|
|
3657
|
+
'message': string;
|
|
3658
|
+
/**
|
|
3659
|
+
*
|
|
3660
|
+
* @type {string}
|
|
3661
|
+
* @memberof ContactRequestBody
|
|
3662
|
+
*/
|
|
3663
|
+
'subject': string;
|
|
3664
|
+
/**
|
|
3665
|
+
*
|
|
3666
|
+
* @type {string}
|
|
3667
|
+
* @memberof ContactRequestBody
|
|
3668
|
+
*/
|
|
3669
|
+
'email': string;
|
|
3670
|
+
/**
|
|
3671
|
+
*
|
|
3672
|
+
* @type {string}
|
|
3673
|
+
* @memberof ContactRequestBody
|
|
3674
|
+
*/
|
|
3675
|
+
'lastName': string;
|
|
3676
|
+
/**
|
|
3677
|
+
*
|
|
3678
|
+
* @type {string}
|
|
3679
|
+
* @memberof ContactRequestBody
|
|
3680
|
+
*/
|
|
3681
|
+
'firstName': string;
|
|
3682
|
+
}
|
|
3683
|
+
/**
|
|
3684
|
+
*
|
|
3685
|
+
* @export
|
|
3686
|
+
* @interface ContactSuccessResponse
|
|
3687
|
+
*/
|
|
3688
|
+
export interface ContactSuccessResponse {
|
|
3689
|
+
/**
|
|
3690
|
+
*
|
|
3691
|
+
* @type {boolean}
|
|
3692
|
+
* @memberof ContactSuccessResponse
|
|
3693
|
+
*/
|
|
3694
|
+
'success': boolean;
|
|
3695
|
+
}
|
|
3652
3696
|
/**
|
|
3653
3697
|
*
|
|
3654
3698
|
* @export
|
|
@@ -9480,31 +9524,6 @@ export interface SlotInfo {
|
|
|
9480
9524
|
*/
|
|
9481
9525
|
'court': CourtInfo;
|
|
9482
9526
|
}
|
|
9483
|
-
/**
|
|
9484
|
-
*
|
|
9485
|
-
* @export
|
|
9486
|
-
* @interface Sponsor
|
|
9487
|
-
*/
|
|
9488
|
-
export interface Sponsor {
|
|
9489
|
-
/**
|
|
9490
|
-
*
|
|
9491
|
-
* @type {string}
|
|
9492
|
-
* @memberof Sponsor
|
|
9493
|
-
*/
|
|
9494
|
-
'name': string;
|
|
9495
|
-
/**
|
|
9496
|
-
*
|
|
9497
|
-
* @type {string}
|
|
9498
|
-
* @memberof Sponsor
|
|
9499
|
-
*/
|
|
9500
|
-
'logo'?: string;
|
|
9501
|
-
/**
|
|
9502
|
-
*
|
|
9503
|
-
* @type {string}
|
|
9504
|
-
* @memberof Sponsor
|
|
9505
|
-
*/
|
|
9506
|
-
'websiteUrl'?: string;
|
|
9507
|
-
}
|
|
9508
9527
|
/**
|
|
9509
9528
|
*
|
|
9510
9529
|
* @export
|
|
@@ -10878,12 +10897,6 @@ export interface UpdateClubPresentationSettingsRequest {
|
|
|
10878
10897
|
* @memberof UpdateClubPresentationSettingsRequest
|
|
10879
10898
|
*/
|
|
10880
10899
|
'galleryImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
|
|
10881
|
-
/**
|
|
10882
|
-
*
|
|
10883
|
-
* @type {Array<Sponsor>}
|
|
10884
|
-
* @memberof UpdateClubPresentationSettingsRequest
|
|
10885
|
-
*/
|
|
10886
|
-
'sponsors'?: Array<Sponsor>;
|
|
10887
10900
|
}
|
|
10888
10901
|
/**
|
|
10889
10902
|
*
|
|
@@ -23249,6 +23262,126 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
23249
23262
|
|
|
23250
23263
|
|
|
23251
23264
|
|
|
23265
|
+
/**
|
|
23266
|
+
* ContactApi - axios parameter creator
|
|
23267
|
+
* @export
|
|
23268
|
+
*/
|
|
23269
|
+
export const ContactApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23270
|
+
return {
|
|
23271
|
+
/**
|
|
23272
|
+
*
|
|
23273
|
+
* @param {ContactRequestBody} contactRequestBody
|
|
23274
|
+
* @param {*} [options] Override http request option.
|
|
23275
|
+
* @throws {RequiredError}
|
|
23276
|
+
*/
|
|
23277
|
+
sendContact: async (contactRequestBody: ContactRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23278
|
+
// verify required parameter 'contactRequestBody' is not null or undefined
|
|
23279
|
+
assertParamExists('sendContact', 'contactRequestBody', contactRequestBody)
|
|
23280
|
+
const localVarPath = `/api/contact`;
|
|
23281
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23282
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23283
|
+
let baseOptions;
|
|
23284
|
+
if (configuration) {
|
|
23285
|
+
baseOptions = configuration.baseOptions;
|
|
23286
|
+
}
|
|
23287
|
+
|
|
23288
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23289
|
+
const localVarHeaderParameter = {} as any;
|
|
23290
|
+
const localVarQueryParameter = {} as any;
|
|
23291
|
+
|
|
23292
|
+
|
|
23293
|
+
|
|
23294
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23295
|
+
|
|
23296
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23297
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23298
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23299
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contactRequestBody, localVarRequestOptions, configuration)
|
|
23300
|
+
|
|
23301
|
+
return {
|
|
23302
|
+
url: toPathString(localVarUrlObj),
|
|
23303
|
+
options: localVarRequestOptions,
|
|
23304
|
+
};
|
|
23305
|
+
},
|
|
23306
|
+
}
|
|
23307
|
+
};
|
|
23308
|
+
|
|
23309
|
+
/**
|
|
23310
|
+
* ContactApi - functional programming interface
|
|
23311
|
+
* @export
|
|
23312
|
+
*/
|
|
23313
|
+
export const ContactApiFp = function(configuration?: Configuration) {
|
|
23314
|
+
const localVarAxiosParamCreator = ContactApiAxiosParamCreator(configuration)
|
|
23315
|
+
return {
|
|
23316
|
+
/**
|
|
23317
|
+
*
|
|
23318
|
+
* @param {ContactRequestBody} contactRequestBody
|
|
23319
|
+
* @param {*} [options] Override http request option.
|
|
23320
|
+
* @throws {RequiredError}
|
|
23321
|
+
*/
|
|
23322
|
+
async sendContact(contactRequestBody: ContactRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactSuccessResponse>> {
|
|
23323
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendContact(contactRequestBody, options);
|
|
23324
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23325
|
+
const localVarOperationServerBasePath = operationServerMap['ContactApi.sendContact']?.[localVarOperationServerIndex]?.url;
|
|
23326
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23327
|
+
},
|
|
23328
|
+
}
|
|
23329
|
+
};
|
|
23330
|
+
|
|
23331
|
+
/**
|
|
23332
|
+
* ContactApi - factory interface
|
|
23333
|
+
* @export
|
|
23334
|
+
*/
|
|
23335
|
+
export const ContactApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23336
|
+
const localVarFp = ContactApiFp(configuration)
|
|
23337
|
+
return {
|
|
23338
|
+
/**
|
|
23339
|
+
*
|
|
23340
|
+
* @param {ContactApiSendContactRequest} requestParameters Request parameters.
|
|
23341
|
+
* @param {*} [options] Override http request option.
|
|
23342
|
+
* @throws {RequiredError}
|
|
23343
|
+
*/
|
|
23344
|
+
sendContact(requestParameters: ContactApiSendContactRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContactSuccessResponse> {
|
|
23345
|
+
return localVarFp.sendContact(requestParameters.contactRequestBody, options).then((request) => request(axios, basePath));
|
|
23346
|
+
},
|
|
23347
|
+
};
|
|
23348
|
+
};
|
|
23349
|
+
|
|
23350
|
+
/**
|
|
23351
|
+
* Request parameters for sendContact operation in ContactApi.
|
|
23352
|
+
* @export
|
|
23353
|
+
* @interface ContactApiSendContactRequest
|
|
23354
|
+
*/
|
|
23355
|
+
export interface ContactApiSendContactRequest {
|
|
23356
|
+
/**
|
|
23357
|
+
*
|
|
23358
|
+
* @type {ContactRequestBody}
|
|
23359
|
+
* @memberof ContactApiSendContact
|
|
23360
|
+
*/
|
|
23361
|
+
readonly contactRequestBody: ContactRequestBody
|
|
23362
|
+
}
|
|
23363
|
+
|
|
23364
|
+
/**
|
|
23365
|
+
* ContactApi - object-oriented interface
|
|
23366
|
+
* @export
|
|
23367
|
+
* @class ContactApi
|
|
23368
|
+
* @extends {BaseAPI}
|
|
23369
|
+
*/
|
|
23370
|
+
export class ContactApi extends BaseAPI {
|
|
23371
|
+
/**
|
|
23372
|
+
*
|
|
23373
|
+
* @param {ContactApiSendContactRequest} requestParameters Request parameters.
|
|
23374
|
+
* @param {*} [options] Override http request option.
|
|
23375
|
+
* @throws {RequiredError}
|
|
23376
|
+
* @memberof ContactApi
|
|
23377
|
+
*/
|
|
23378
|
+
public sendContact(requestParameters: ContactApiSendContactRequest, options?: RawAxiosRequestConfig) {
|
|
23379
|
+
return ContactApiFp(this.configuration).sendContact(requestParameters.contactRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
23380
|
+
}
|
|
23381
|
+
}
|
|
23382
|
+
|
|
23383
|
+
|
|
23384
|
+
|
|
23252
23385
|
/**
|
|
23253
23386
|
* DefaultApi - axios parameter creator
|
|
23254
23387
|
* @export
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.163
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3147,12 +3147,6 @@ export interface ClubPresentationSettingsResponse {
|
|
|
3147
3147
|
* @memberof ClubPresentationSettingsResponse
|
|
3148
3148
|
*/
|
|
3149
3149
|
'galleryImages': Array<string>;
|
|
3150
|
-
/**
|
|
3151
|
-
*
|
|
3152
|
-
* @type {Array<Sponsor>}
|
|
3153
|
-
* @memberof ClubPresentationSettingsResponse
|
|
3154
|
-
*/
|
|
3155
|
-
'sponsors': Array<Sponsor>;
|
|
3156
3150
|
}
|
|
3157
3151
|
/**
|
|
3158
3152
|
*
|
|
@@ -3598,6 +3592,56 @@ export interface ClubUserCountResponse {
|
|
|
3598
3592
|
*/
|
|
3599
3593
|
'count': number;
|
|
3600
3594
|
}
|
|
3595
|
+
/**
|
|
3596
|
+
*
|
|
3597
|
+
* @export
|
|
3598
|
+
* @interface ContactRequestBody
|
|
3599
|
+
*/
|
|
3600
|
+
export interface ContactRequestBody {
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @type {string}
|
|
3604
|
+
* @memberof ContactRequestBody
|
|
3605
|
+
*/
|
|
3606
|
+
'message': string;
|
|
3607
|
+
/**
|
|
3608
|
+
*
|
|
3609
|
+
* @type {string}
|
|
3610
|
+
* @memberof ContactRequestBody
|
|
3611
|
+
*/
|
|
3612
|
+
'subject': string;
|
|
3613
|
+
/**
|
|
3614
|
+
*
|
|
3615
|
+
* @type {string}
|
|
3616
|
+
* @memberof ContactRequestBody
|
|
3617
|
+
*/
|
|
3618
|
+
'email': string;
|
|
3619
|
+
/**
|
|
3620
|
+
*
|
|
3621
|
+
* @type {string}
|
|
3622
|
+
* @memberof ContactRequestBody
|
|
3623
|
+
*/
|
|
3624
|
+
'lastName': string;
|
|
3625
|
+
/**
|
|
3626
|
+
*
|
|
3627
|
+
* @type {string}
|
|
3628
|
+
* @memberof ContactRequestBody
|
|
3629
|
+
*/
|
|
3630
|
+
'firstName': string;
|
|
3631
|
+
}
|
|
3632
|
+
/**
|
|
3633
|
+
*
|
|
3634
|
+
* @export
|
|
3635
|
+
* @interface ContactSuccessResponse
|
|
3636
|
+
*/
|
|
3637
|
+
export interface ContactSuccessResponse {
|
|
3638
|
+
/**
|
|
3639
|
+
*
|
|
3640
|
+
* @type {boolean}
|
|
3641
|
+
* @memberof ContactSuccessResponse
|
|
3642
|
+
*/
|
|
3643
|
+
'success': boolean;
|
|
3644
|
+
}
|
|
3601
3645
|
/**
|
|
3602
3646
|
*
|
|
3603
3647
|
* @export
|
|
@@ -9312,31 +9356,6 @@ export interface SlotInfo {
|
|
|
9312
9356
|
*/
|
|
9313
9357
|
'court': CourtInfo;
|
|
9314
9358
|
}
|
|
9315
|
-
/**
|
|
9316
|
-
*
|
|
9317
|
-
* @export
|
|
9318
|
-
* @interface Sponsor
|
|
9319
|
-
*/
|
|
9320
|
-
export interface Sponsor {
|
|
9321
|
-
/**
|
|
9322
|
-
*
|
|
9323
|
-
* @type {string}
|
|
9324
|
-
* @memberof Sponsor
|
|
9325
|
-
*/
|
|
9326
|
-
'name': string;
|
|
9327
|
-
/**
|
|
9328
|
-
*
|
|
9329
|
-
* @type {string}
|
|
9330
|
-
* @memberof Sponsor
|
|
9331
|
-
*/
|
|
9332
|
-
'logo'?: string;
|
|
9333
|
-
/**
|
|
9334
|
-
*
|
|
9335
|
-
* @type {string}
|
|
9336
|
-
* @memberof Sponsor
|
|
9337
|
-
*/
|
|
9338
|
-
'websiteUrl'?: string;
|
|
9339
|
-
}
|
|
9340
9359
|
/**
|
|
9341
9360
|
*
|
|
9342
9361
|
* @export
|
|
@@ -10679,12 +10698,6 @@ export interface UpdateClubPresentationSettingsRequest {
|
|
|
10679
10698
|
* @memberof UpdateClubPresentationSettingsRequest
|
|
10680
10699
|
*/
|
|
10681
10700
|
'galleryImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
|
|
10682
|
-
/**
|
|
10683
|
-
*
|
|
10684
|
-
* @type {Array<Sponsor>}
|
|
10685
|
-
* @memberof UpdateClubPresentationSettingsRequest
|
|
10686
|
-
*/
|
|
10687
|
-
'sponsors'?: Array<Sponsor>;
|
|
10688
10701
|
}
|
|
10689
10702
|
/**
|
|
10690
10703
|
*
|
|
@@ -17718,6 +17731,74 @@ export declare class ClubsStaffApi extends BaseAPI {
|
|
|
17718
17731
|
*/
|
|
17719
17732
|
updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
|
|
17720
17733
|
}
|
|
17734
|
+
/**
|
|
17735
|
+
* ContactApi - axios parameter creator
|
|
17736
|
+
* @export
|
|
17737
|
+
*/
|
|
17738
|
+
export declare const ContactApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
17739
|
+
/**
|
|
17740
|
+
*
|
|
17741
|
+
* @param {ContactRequestBody} contactRequestBody
|
|
17742
|
+
* @param {*} [options] Override http request option.
|
|
17743
|
+
* @throws {RequiredError}
|
|
17744
|
+
*/
|
|
17745
|
+
sendContact: (contactRequestBody: ContactRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17746
|
+
};
|
|
17747
|
+
/**
|
|
17748
|
+
* ContactApi - functional programming interface
|
|
17749
|
+
* @export
|
|
17750
|
+
*/
|
|
17751
|
+
export declare const ContactApiFp: (configuration?: Configuration) => {
|
|
17752
|
+
/**
|
|
17753
|
+
*
|
|
17754
|
+
* @param {ContactRequestBody} contactRequestBody
|
|
17755
|
+
* @param {*} [options] Override http request option.
|
|
17756
|
+
* @throws {RequiredError}
|
|
17757
|
+
*/
|
|
17758
|
+
sendContact(contactRequestBody: ContactRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactSuccessResponse>>;
|
|
17759
|
+
};
|
|
17760
|
+
/**
|
|
17761
|
+
* ContactApi - factory interface
|
|
17762
|
+
* @export
|
|
17763
|
+
*/
|
|
17764
|
+
export declare const ContactApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
17765
|
+
/**
|
|
17766
|
+
*
|
|
17767
|
+
* @param {ContactApiSendContactRequest} requestParameters Request parameters.
|
|
17768
|
+
* @param {*} [options] Override http request option.
|
|
17769
|
+
* @throws {RequiredError}
|
|
17770
|
+
*/
|
|
17771
|
+
sendContact(requestParameters: ContactApiSendContactRequest, options?: RawAxiosRequestConfig): AxiosPromise<ContactSuccessResponse>;
|
|
17772
|
+
};
|
|
17773
|
+
/**
|
|
17774
|
+
* Request parameters for sendContact operation in ContactApi.
|
|
17775
|
+
* @export
|
|
17776
|
+
* @interface ContactApiSendContactRequest
|
|
17777
|
+
*/
|
|
17778
|
+
export interface ContactApiSendContactRequest {
|
|
17779
|
+
/**
|
|
17780
|
+
*
|
|
17781
|
+
* @type {ContactRequestBody}
|
|
17782
|
+
* @memberof ContactApiSendContact
|
|
17783
|
+
*/
|
|
17784
|
+
readonly contactRequestBody: ContactRequestBody;
|
|
17785
|
+
}
|
|
17786
|
+
/**
|
|
17787
|
+
* ContactApi - object-oriented interface
|
|
17788
|
+
* @export
|
|
17789
|
+
* @class ContactApi
|
|
17790
|
+
* @extends {BaseAPI}
|
|
17791
|
+
*/
|
|
17792
|
+
export declare class ContactApi extends BaseAPI {
|
|
17793
|
+
/**
|
|
17794
|
+
*
|
|
17795
|
+
* @param {ContactApiSendContactRequest} requestParameters Request parameters.
|
|
17796
|
+
* @param {*} [options] Override http request option.
|
|
17797
|
+
* @throws {RequiredError}
|
|
17798
|
+
* @memberof ContactApi
|
|
17799
|
+
*/
|
|
17800
|
+
sendContact(requestParameters: ContactApiSendContactRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ContactSuccessResponse, any, {}>>;
|
|
17801
|
+
}
|
|
17721
17802
|
/**
|
|
17722
17803
|
* DefaultApi - axios parameter creator
|
|
17723
17804
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* openapi.json
|
|
6
6
|
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.163
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,8 +24,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.VisibilityType = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
26
|
exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.WeekdayKey = void 0;
|
|
27
|
-
exports.
|
|
28
|
-
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = void 0;
|
|
27
|
+
exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = void 0;
|
|
28
|
+
exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = void 0;
|
|
29
29
|
const axios_1 = require("axios");
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -8912,6 +8912,107 @@ class ClubsStaffApi extends base_1.BaseAPI {
|
|
|
8912
8912
|
}
|
|
8913
8913
|
}
|
|
8914
8914
|
exports.ClubsStaffApi = ClubsStaffApi;
|
|
8915
|
+
/**
|
|
8916
|
+
* ContactApi - axios parameter creator
|
|
8917
|
+
* @export
|
|
8918
|
+
*/
|
|
8919
|
+
const ContactApiAxiosParamCreator = function (configuration) {
|
|
8920
|
+
return {
|
|
8921
|
+
/**
|
|
8922
|
+
*
|
|
8923
|
+
* @param {ContactRequestBody} contactRequestBody
|
|
8924
|
+
* @param {*} [options] Override http request option.
|
|
8925
|
+
* @throws {RequiredError}
|
|
8926
|
+
*/
|
|
8927
|
+
sendContact: (contactRequestBody_1, ...args_1) => __awaiter(this, [contactRequestBody_1, ...args_1], void 0, function* (contactRequestBody, options = {}) {
|
|
8928
|
+
// verify required parameter 'contactRequestBody' is not null or undefined
|
|
8929
|
+
(0, common_1.assertParamExists)('sendContact', 'contactRequestBody', contactRequestBody);
|
|
8930
|
+
const localVarPath = `/api/contact`;
|
|
8931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8932
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8933
|
+
let baseOptions;
|
|
8934
|
+
if (configuration) {
|
|
8935
|
+
baseOptions = configuration.baseOptions;
|
|
8936
|
+
}
|
|
8937
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8938
|
+
const localVarHeaderParameter = {};
|
|
8939
|
+
const localVarQueryParameter = {};
|
|
8940
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8941
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8942
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8943
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8944
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(contactRequestBody, localVarRequestOptions, configuration);
|
|
8945
|
+
return {
|
|
8946
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8947
|
+
options: localVarRequestOptions,
|
|
8948
|
+
};
|
|
8949
|
+
}),
|
|
8950
|
+
};
|
|
8951
|
+
};
|
|
8952
|
+
exports.ContactApiAxiosParamCreator = ContactApiAxiosParamCreator;
|
|
8953
|
+
/**
|
|
8954
|
+
* ContactApi - functional programming interface
|
|
8955
|
+
* @export
|
|
8956
|
+
*/
|
|
8957
|
+
const ContactApiFp = function (configuration) {
|
|
8958
|
+
const localVarAxiosParamCreator = (0, exports.ContactApiAxiosParamCreator)(configuration);
|
|
8959
|
+
return {
|
|
8960
|
+
/**
|
|
8961
|
+
*
|
|
8962
|
+
* @param {ContactRequestBody} contactRequestBody
|
|
8963
|
+
* @param {*} [options] Override http request option.
|
|
8964
|
+
* @throws {RequiredError}
|
|
8965
|
+
*/
|
|
8966
|
+
sendContact(contactRequestBody, options) {
|
|
8967
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8968
|
+
var _a, _b, _c;
|
|
8969
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendContact(contactRequestBody, options);
|
|
8970
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8971
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ContactApi.sendContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8972
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8973
|
+
});
|
|
8974
|
+
},
|
|
8975
|
+
};
|
|
8976
|
+
};
|
|
8977
|
+
exports.ContactApiFp = ContactApiFp;
|
|
8978
|
+
/**
|
|
8979
|
+
* ContactApi - factory interface
|
|
8980
|
+
* @export
|
|
8981
|
+
*/
|
|
8982
|
+
const ContactApiFactory = function (configuration, basePath, axios) {
|
|
8983
|
+
const localVarFp = (0, exports.ContactApiFp)(configuration);
|
|
8984
|
+
return {
|
|
8985
|
+
/**
|
|
8986
|
+
*
|
|
8987
|
+
* @param {ContactApiSendContactRequest} requestParameters Request parameters.
|
|
8988
|
+
* @param {*} [options] Override http request option.
|
|
8989
|
+
* @throws {RequiredError}
|
|
8990
|
+
*/
|
|
8991
|
+
sendContact(requestParameters, options) {
|
|
8992
|
+
return localVarFp.sendContact(requestParameters.contactRequestBody, options).then((request) => request(axios, basePath));
|
|
8993
|
+
},
|
|
8994
|
+
};
|
|
8995
|
+
};
|
|
8996
|
+
exports.ContactApiFactory = ContactApiFactory;
|
|
8997
|
+
/**
|
|
8998
|
+
* ContactApi - object-oriented interface
|
|
8999
|
+
* @export
|
|
9000
|
+
* @class ContactApi
|
|
9001
|
+
* @extends {BaseAPI}
|
|
9002
|
+
*/
|
|
9003
|
+
class ContactApi extends base_1.BaseAPI {
|
|
9004
|
+
/**
|
|
9005
|
+
*
|
|
9006
|
+
* @param {ContactApiSendContactRequest} requestParameters Request parameters.
|
|
9007
|
+
* @param {*} [options] Override http request option.
|
|
9008
|
+
* @throws {RequiredError}
|
|
9009
|
+
* @memberof ContactApi
|
|
9010
|
+
*/
|
|
9011
|
+
sendContact(requestParameters, options) {
|
|
9012
|
+
return (0, exports.ContactApiFp)(this.configuration).sendContact(requestParameters.contactRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
9013
|
+
}
|
|
9014
|
+
}
|
|
9015
|
+
exports.ContactApi = ContactApi;
|
|
8915
9016
|
/**
|
|
8916
9017
|
* DefaultApi - axios parameter creator
|
|
8917
9018
|
* @export
|
package/dist/base.d.ts
CHANGED