@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/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/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/esm/api.js
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).
|
|
@@ -8842,6 +8842,103 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
8842
8842
|
return ClubsStaffApiFp(this.configuration).updateUserCreditsStaff(requestParameters.id, requestParameters.updateUserCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8843
8843
|
}
|
|
8844
8844
|
}
|
|
8845
|
+
/**
|
|
8846
|
+
* ContactApi - axios parameter creator
|
|
8847
|
+
* @export
|
|
8848
|
+
*/
|
|
8849
|
+
export const ContactApiAxiosParamCreator = function (configuration) {
|
|
8850
|
+
return {
|
|
8851
|
+
/**
|
|
8852
|
+
*
|
|
8853
|
+
* @param {ContactRequestBody} contactRequestBody
|
|
8854
|
+
* @param {*} [options] Override http request option.
|
|
8855
|
+
* @throws {RequiredError}
|
|
8856
|
+
*/
|
|
8857
|
+
sendContact: (contactRequestBody_1, ...args_1) => __awaiter(this, [contactRequestBody_1, ...args_1], void 0, function* (contactRequestBody, options = {}) {
|
|
8858
|
+
// verify required parameter 'contactRequestBody' is not null or undefined
|
|
8859
|
+
assertParamExists('sendContact', 'contactRequestBody', contactRequestBody);
|
|
8860
|
+
const localVarPath = `/api/contact`;
|
|
8861
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8862
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8863
|
+
let baseOptions;
|
|
8864
|
+
if (configuration) {
|
|
8865
|
+
baseOptions = configuration.baseOptions;
|
|
8866
|
+
}
|
|
8867
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8868
|
+
const localVarHeaderParameter = {};
|
|
8869
|
+
const localVarQueryParameter = {};
|
|
8870
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8871
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8872
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8873
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8874
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contactRequestBody, localVarRequestOptions, configuration);
|
|
8875
|
+
return {
|
|
8876
|
+
url: toPathString(localVarUrlObj),
|
|
8877
|
+
options: localVarRequestOptions,
|
|
8878
|
+
};
|
|
8879
|
+
}),
|
|
8880
|
+
};
|
|
8881
|
+
};
|
|
8882
|
+
/**
|
|
8883
|
+
* ContactApi - functional programming interface
|
|
8884
|
+
* @export
|
|
8885
|
+
*/
|
|
8886
|
+
export const ContactApiFp = function (configuration) {
|
|
8887
|
+
const localVarAxiosParamCreator = ContactApiAxiosParamCreator(configuration);
|
|
8888
|
+
return {
|
|
8889
|
+
/**
|
|
8890
|
+
*
|
|
8891
|
+
* @param {ContactRequestBody} contactRequestBody
|
|
8892
|
+
* @param {*} [options] Override http request option.
|
|
8893
|
+
* @throws {RequiredError}
|
|
8894
|
+
*/
|
|
8895
|
+
sendContact(contactRequestBody, options) {
|
|
8896
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8897
|
+
var _a, _b, _c;
|
|
8898
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sendContact(contactRequestBody, options);
|
|
8899
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8900
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ContactApi.sendContact']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8901
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8902
|
+
});
|
|
8903
|
+
},
|
|
8904
|
+
};
|
|
8905
|
+
};
|
|
8906
|
+
/**
|
|
8907
|
+
* ContactApi - factory interface
|
|
8908
|
+
* @export
|
|
8909
|
+
*/
|
|
8910
|
+
export const ContactApiFactory = function (configuration, basePath, axios) {
|
|
8911
|
+
const localVarFp = ContactApiFp(configuration);
|
|
8912
|
+
return {
|
|
8913
|
+
/**
|
|
8914
|
+
*
|
|
8915
|
+
* @param {ContactApiSendContactRequest} requestParameters Request parameters.
|
|
8916
|
+
* @param {*} [options] Override http request option.
|
|
8917
|
+
* @throws {RequiredError}
|
|
8918
|
+
*/
|
|
8919
|
+
sendContact(requestParameters, options) {
|
|
8920
|
+
return localVarFp.sendContact(requestParameters.contactRequestBody, options).then((request) => request(axios, basePath));
|
|
8921
|
+
},
|
|
8922
|
+
};
|
|
8923
|
+
};
|
|
8924
|
+
/**
|
|
8925
|
+
* ContactApi - object-oriented interface
|
|
8926
|
+
* @export
|
|
8927
|
+
* @class ContactApi
|
|
8928
|
+
* @extends {BaseAPI}
|
|
8929
|
+
*/
|
|
8930
|
+
export class ContactApi extends BaseAPI {
|
|
8931
|
+
/**
|
|
8932
|
+
*
|
|
8933
|
+
* @param {ContactApiSendContactRequest} requestParameters Request parameters.
|
|
8934
|
+
* @param {*} [options] Override http request option.
|
|
8935
|
+
* @throws {RequiredError}
|
|
8936
|
+
* @memberof ContactApi
|
|
8937
|
+
*/
|
|
8938
|
+
sendContact(requestParameters, options) {
|
|
8939
|
+
return ContactApiFp(this.configuration).sendContact(requestParameters.contactRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
8940
|
+
}
|
|
8941
|
+
}
|
|
8845
8942
|
/**
|
|
8846
8943
|
* DefaultApi - axios parameter creator
|
|
8847
8944
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# AgendaPaymentStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Pay` (value: `'payé'`)
|
|
7
|
+
|
|
8
|
+
* `NonPay` (value: `'non payé'`)
|
|
9
|
+
|
|
10
|
+
* `EnAttente` (value: `'en attente'`)
|
|
11
|
+
|
|
12
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**tags** | **Array<string>** | | [default to undefined]
|
|
10
10
|
**bannerImages** | **Array<string>** | | [default to undefined]
|
|
11
11
|
**galleryImages** | **Array<string>** | | [default to undefined]
|
|
12
|
-
**sponsors** | [**Array<Sponsor>**](Sponsor.md) | | [default to undefined]
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
@@ -21,7 +20,6 @@ const instance: ClubPresentationSettingsResponse = {
|
|
|
21
20
|
tags,
|
|
22
21
|
bannerImages,
|
|
23
22
|
galleryImages,
|
|
24
|
-
sponsors,
|
|
25
23
|
};
|
|
26
24
|
```
|
|
27
25
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# ContactApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**sendContact**](#sendcontact) | **POST** /api/contact | |
|
|
8
|
+
|
|
9
|
+
# **sendContact**
|
|
10
|
+
> ContactSuccessResponse sendContact(contactRequestBody)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import {
|
|
17
|
+
ContactApi,
|
|
18
|
+
Configuration,
|
|
19
|
+
ContactRequestBody
|
|
20
|
+
} from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new ContactApi(configuration);
|
|
24
|
+
|
|
25
|
+
let contactRequestBody: ContactRequestBody; //
|
|
26
|
+
|
|
27
|
+
const { status, data } = await apiInstance.sendContact(
|
|
28
|
+
contactRequestBody
|
|
29
|
+
);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
|Name | Type | Description | Notes|
|
|
35
|
+
|------------- | ------------- | ------------- | -------------|
|
|
36
|
+
| **contactRequestBody** | **ContactRequestBody**| | |
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Return type
|
|
40
|
+
|
|
41
|
+
**ContactSuccessResponse**
|
|
42
|
+
|
|
43
|
+
### Authorization
|
|
44
|
+
|
|
45
|
+
No authorization required
|
|
46
|
+
|
|
47
|
+
### HTTP request headers
|
|
48
|
+
|
|
49
|
+
- **Content-Type**: application/json
|
|
50
|
+
- **Accept**: application/json
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### HTTP response details
|
|
54
|
+
| Status code | Description | Response headers |
|
|
55
|
+
|-------------|-------------|------------------|
|
|
56
|
+
|**201** | Message envoyé | - |
|
|
57
|
+
|**400** | Payload invalide | - |
|
|
58
|
+
|**500** | Erreur envoi email | - |
|
|
59
|
+
|
|
60
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
61
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# ContactRequestBody
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | | [default to undefined]
|
|
9
|
+
**subject** | **string** | | [default to undefined]
|
|
10
|
+
**email** | **string** | | [default to undefined]
|
|
11
|
+
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**firstName** | **string** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ContactRequestBody } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: ContactRequestBody = {
|
|
20
|
+
message,
|
|
21
|
+
subject,
|
|
22
|
+
email,
|
|
23
|
+
lastName,
|
|
24
|
+
firstName,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ContactSuccessResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**logo** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**websiteUrl** | **string** | | [optional] [default to undefined]
|
|
8
|
+
**success** | **boolean** | | [default to undefined]
|
|
11
9
|
|
|
12
10
|
## Example
|
|
13
11
|
|
|
14
12
|
```typescript
|
|
15
|
-
import {
|
|
13
|
+
import { ContactSuccessResponse } from '@tennac-booking/sdk';
|
|
16
14
|
|
|
17
|
-
const instance:
|
|
18
|
-
|
|
19
|
-
logo,
|
|
20
|
-
websiteUrl,
|
|
15
|
+
const instance: ContactSuccessResponse = {
|
|
16
|
+
success,
|
|
21
17
|
};
|
|
22
18
|
```
|
|
23
19
|
|
|
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
10
10
|
**bannerImages** | [**Array<UpdateClubGeneralSettingsRequestLogo>**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
|
|
11
11
|
**galleryImages** | [**Array<UpdateClubGeneralSettingsRequestLogo>**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
|
|
12
|
-
**sponsors** | [**Array<Sponsor>**](Sponsor.md) | | [optional] [default to undefined]
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
@@ -21,7 +20,6 @@ const instance: UpdateClubPresentationSettingsRequest = {
|
|
|
21
20
|
tags,
|
|
22
21
|
bannerImages,
|
|
23
22
|
galleryImages,
|
|
24
|
-
sponsors,
|
|
25
23
|
};
|
|
26
24
|
```
|
|
27
25
|
|
package/index.ts
CHANGED