@tennac-booking/sdk 1.0.244 → 1.0.245

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/dist/esm/api.d.ts CHANGED
@@ -5787,6 +5787,279 @@ export interface EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo {
5787
5787
  */
5788
5788
  'hasSubscription': boolean;
5789
5789
  }
5790
+ /**
5791
+ *
5792
+ * @export
5793
+ * @interface EventBookingDetailClubInfo
5794
+ */
5795
+ export interface EventBookingDetailClubInfo {
5796
+ /**
5797
+ *
5798
+ * @type {string}
5799
+ * @memberof EventBookingDetailClubInfo
5800
+ */
5801
+ 'id': string;
5802
+ /**
5803
+ *
5804
+ * @type {string}
5805
+ * @memberof EventBookingDetailClubInfo
5806
+ */
5807
+ 'name'?: string | null;
5808
+ /**
5809
+ *
5810
+ * @type {string}
5811
+ * @memberof EventBookingDetailClubInfo
5812
+ */
5813
+ 'picture'?: string | null;
5814
+ /**
5815
+ *
5816
+ * @type {string}
5817
+ * @memberof EventBookingDetailClubInfo
5818
+ */
5819
+ 'address'?: string | null;
5820
+ }
5821
+ /**
5822
+ *
5823
+ * @export
5824
+ * @interface EventBookingDetailEventSummary
5825
+ */
5826
+ export interface EventBookingDetailEventSummary {
5827
+ /**
5828
+ *
5829
+ * @type {string}
5830
+ * @memberof EventBookingDetailEventSummary
5831
+ */
5832
+ 'id': string;
5833
+ /**
5834
+ *
5835
+ * @type {string}
5836
+ * @memberof EventBookingDetailEventSummary
5837
+ */
5838
+ 'clubId': string;
5839
+ /**
5840
+ *
5841
+ * @type {string}
5842
+ * @memberof EventBookingDetailEventSummary
5843
+ */
5844
+ 'type': EventBookingDetailEventSummaryTypeEnum;
5845
+ /**
5846
+ *
5847
+ * @type {string}
5848
+ * @memberof EventBookingDetailEventSummary
5849
+ */
5850
+ 'title': string;
5851
+ /**
5852
+ *
5853
+ * @type {string}
5854
+ * @memberof EventBookingDetailEventSummary
5855
+ */
5856
+ 'category'?: string;
5857
+ /**
5858
+ *
5859
+ * @type {string}
5860
+ * @memberof EventBookingDetailEventSummary
5861
+ */
5862
+ 'description'?: string;
5863
+ /**
5864
+ *
5865
+ * @type {string}
5866
+ * @memberof EventBookingDetailEventSummary
5867
+ */
5868
+ 'photoUrl'?: string;
5869
+ /**
5870
+ *
5871
+ * @type {boolean}
5872
+ * @memberof EventBookingDetailEventSummary
5873
+ */
5874
+ 'isAllDay': boolean;
5875
+ /**
5876
+ *
5877
+ * @type {string}
5878
+ * @memberof EventBookingDetailEventSummary
5879
+ */
5880
+ 'date': string;
5881
+ /**
5882
+ *
5883
+ * @type {number}
5884
+ * @memberof EventBookingDetailEventSummary
5885
+ */
5886
+ 'startTime'?: number;
5887
+ /**
5888
+ *
5889
+ * @type {number}
5890
+ * @memberof EventBookingDetailEventSummary
5891
+ */
5892
+ 'endTime'?: number;
5893
+ /**
5894
+ *
5895
+ * @type {Array<string>}
5896
+ * @memberof EventBookingDetailEventSummary
5897
+ */
5898
+ 'courts': Array<string>;
5899
+ /**
5900
+ *
5901
+ * @type {Array<SportWithLevels>}
5902
+ * @memberof EventBookingDetailEventSummary
5903
+ */
5904
+ 'sports': Array<SportWithLevels>;
5905
+ /**
5906
+ *
5907
+ * @type {string}
5908
+ * @memberof EventBookingDetailEventSummary
5909
+ */
5910
+ 'recurringType': EventBookingDetailEventSummaryRecurringTypeEnum;
5911
+ /**
5912
+ *
5913
+ * @type {string}
5914
+ * @memberof EventBookingDetailEventSummary
5915
+ */
5916
+ 'recurrenceEndDate'?: string;
5917
+ /**
5918
+ *
5919
+ * @type {string}
5920
+ * @memberof EventBookingDetailEventSummary
5921
+ */
5922
+ 'participationType': EventBookingDetailEventSummaryParticipationTypeEnum;
5923
+ /**
5924
+ *
5925
+ * @type {number}
5926
+ * @memberof EventBookingDetailEventSummary
5927
+ */
5928
+ 'playersPerTeam'?: number;
5929
+ /**
5930
+ *
5931
+ * @type {Array<string | null>}
5932
+ * @memberof EventBookingDetailEventSummary
5933
+ */
5934
+ 'levels'?: Array<string | null>;
5935
+ /**
5936
+ *
5937
+ * @type {Array<EventSponsor>}
5938
+ * @memberof EventBookingDetailEventSummary
5939
+ */
5940
+ 'sponsors'?: Array<EventSponsor>;
5941
+ }
5942
+ export declare const EventBookingDetailEventSummaryTypeEnum: {
5943
+ readonly Event: "event";
5944
+ readonly Closure: "closure";
5945
+ };
5946
+ export type EventBookingDetailEventSummaryTypeEnum = typeof EventBookingDetailEventSummaryTypeEnum[keyof typeof EventBookingDetailEventSummaryTypeEnum];
5947
+ export declare const EventBookingDetailEventSummaryRecurringTypeEnum: {
5948
+ readonly Unique: "unique";
5949
+ readonly Daily: "daily";
5950
+ readonly Weekly: "weekly";
5951
+ readonly Monthly: "monthly";
5952
+ };
5953
+ export type EventBookingDetailEventSummaryRecurringTypeEnum = typeof EventBookingDetailEventSummaryRecurringTypeEnum[keyof typeof EventBookingDetailEventSummaryRecurringTypeEnum];
5954
+ export declare const EventBookingDetailEventSummaryParticipationTypeEnum: {
5955
+ readonly Solo: "solo";
5956
+ readonly Team: "team";
5957
+ };
5958
+ export type EventBookingDetailEventSummaryParticipationTypeEnum = typeof EventBookingDetailEventSummaryParticipationTypeEnum[keyof typeof EventBookingDetailEventSummaryParticipationTypeEnum];
5959
+ /**
5960
+ *
5961
+ * @export
5962
+ * @interface EventBookingDetailResponse
5963
+ */
5964
+ export interface EventBookingDetailResponse {
5965
+ /**
5966
+ *
5967
+ * @type {EventBookingDetailClubInfo}
5968
+ * @memberof EventBookingDetailResponse
5969
+ */
5970
+ 'club': EventBookingDetailClubInfo;
5971
+ /**
5972
+ *
5973
+ * @type {EventBookingDetailEventSummary}
5974
+ * @memberof EventBookingDetailResponse
5975
+ */
5976
+ 'event': EventBookingDetailEventSummary;
5977
+ /**
5978
+ *
5979
+ * @type {EventBookingDetailResponseBooking}
5980
+ * @memberof EventBookingDetailResponse
5981
+ */
5982
+ 'booking': EventBookingDetailResponseBooking;
5983
+ /**
5984
+ *
5985
+ * @type {Array<BookingPlayerPaymentSummary>}
5986
+ * @memberof EventBookingDetailResponse
5987
+ */
5988
+ 'players': Array<BookingPlayerPaymentSummary>;
5989
+ /**
5990
+ *
5991
+ * @type {Array<BookingHistoryPopulated>}
5992
+ * @memberof EventBookingDetailResponse
5993
+ */
5994
+ 'history': Array<BookingHistoryPopulated>;
5995
+ }
5996
+ /**
5997
+ *
5998
+ * @export
5999
+ * @interface EventBookingDetailResponseBooking
6000
+ */
6001
+ export interface EventBookingDetailResponseBooking {
6002
+ /**
6003
+ *
6004
+ * @type {number}
6005
+ * @memberof EventBookingDetailResponseBooking
6006
+ */
6007
+ 'participantsCount': number;
6008
+ /**
6009
+ *
6010
+ * @type {string}
6011
+ * @memberof EventBookingDetailResponseBooking
6012
+ */
6013
+ 'updatedAt': string;
6014
+ /**
6015
+ *
6016
+ * @type {string}
6017
+ * @memberof EventBookingDetailResponseBooking
6018
+ */
6019
+ 'createdAt': string;
6020
+ /**
6021
+ *
6022
+ * @type {string}
6023
+ * @memberof EventBookingDetailResponseBooking
6024
+ */
6025
+ 'limitCancellationDate'?: string | null;
6026
+ /**
6027
+ *
6028
+ * @type {string}
6029
+ * @memberof EventBookingDetailResponseBooking
6030
+ */
6031
+ 'limitSetupDate'?: string | null;
6032
+ /**
6033
+ *
6034
+ * @type {boolean}
6035
+ * @memberof EventBookingDetailResponseBooking
6036
+ */
6037
+ 'paymentMethodSetupCompleted': boolean;
6038
+ /**
6039
+ *
6040
+ * @type {boolean}
6041
+ * @memberof EventBookingDetailResponseBooking
6042
+ */
6043
+ 'isCreatorPayingAll': boolean;
6044
+ /**
6045
+ *
6046
+ * @type {string}
6047
+ * @memberof EventBookingDetailResponseBooking
6048
+ */
6049
+ 'teamName'?: string | null;
6050
+ /**
6051
+ *
6052
+ * @type {EventBookingStatus}
6053
+ * @memberof EventBookingDetailResponseBooking
6054
+ */
6055
+ 'status': EventBookingStatus;
6056
+ /**
6057
+ *
6058
+ * @type {string}
6059
+ * @memberof EventBookingDetailResponseBooking
6060
+ */
6061
+ 'id': string;
6062
+ }
5790
6063
  /**
5791
6064
  *
5792
6065
  * @export
@@ -13195,7 +13468,13 @@ export interface SubscriptionPaymentSheetResponse {
13195
13468
  * @type {string}
13196
13469
  * @memberof SubscriptionPaymentSheetResponse
13197
13470
  */
13198
- 'paymentIntentClientSecret': string;
13471
+ 'setupIntentClientSecret'?: string;
13472
+ /**
13473
+ *
13474
+ * @type {string}
13475
+ * @memberof SubscriptionPaymentSheetResponse
13476
+ */
13477
+ 'paymentIntentClientSecret'?: string;
13199
13478
  }
13200
13479
  /**
13201
13480
  *
@@ -26126,6 +26405,13 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
26126
26405
  * @throws {RequiredError}
26127
26406
  */
26128
26407
  getBookingDetail: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26408
+ /**
26409
+ *
26410
+ * @param {string} eventBookingId
26411
+ * @param {*} [options] Override http request option.
26412
+ * @throws {RequiredError}
26413
+ */
26414
+ getEventBookingDetail: (eventBookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26129
26415
  /**
26130
26416
  *
26131
26417
  * @param {*} [options] Override http request option.
@@ -26486,6 +26772,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
26486
26772
  * @throws {RequiredError}
26487
26773
  */
26488
26774
  getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingSummary>>;
26775
+ /**
26776
+ *
26777
+ * @param {string} eventBookingId
26778
+ * @param {*} [options] Override http request option.
26779
+ * @throws {RequiredError}
26780
+ */
26781
+ getEventBookingDetail(eventBookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventBookingDetailResponse>>;
26489
26782
  /**
26490
26783
  *
26491
26784
  * @param {*} [options] Override http request option.
@@ -26854,6 +27147,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
26854
27147
  * @throws {RequiredError}
26855
27148
  */
26856
27149
  getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingSummary>;
27150
+ /**
27151
+ *
27152
+ * @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
27153
+ * @param {*} [options] Override http request option.
27154
+ * @throws {RequiredError}
27155
+ */
27156
+ getEventBookingDetail(requestParameters: UsersApiGetEventBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventBookingDetailResponse>;
26857
27157
  /**
26858
27158
  *
26859
27159
  * @param {*} [options] Override http request option.
@@ -27220,6 +27520,19 @@ export interface UsersApiGetBookingDetailRequest {
27220
27520
  */
27221
27521
  readonly bookingId: string;
27222
27522
  }
27523
+ /**
27524
+ * Request parameters for getEventBookingDetail operation in UsersApi.
27525
+ * @export
27526
+ * @interface UsersApiGetEventBookingDetailRequest
27527
+ */
27528
+ export interface UsersApiGetEventBookingDetailRequest {
27529
+ /**
27530
+ *
27531
+ * @type {string}
27532
+ * @memberof UsersApiGetEventBookingDetail
27533
+ */
27534
+ readonly eventBookingId: string;
27535
+ }
27223
27536
  /**
27224
27537
  * Request parameters for getNearestClubs operation in UsersApi.
27225
27538
  * @export
@@ -27873,6 +28186,14 @@ export declare class UsersApi extends BaseAPI {
27873
28186
  * @memberof UsersApi
27874
28187
  */
27875
28188
  getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary, any, {}>>;
28189
+ /**
28190
+ *
28191
+ * @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
28192
+ * @param {*} [options] Override http request option.
28193
+ * @throws {RequiredError}
28194
+ * @memberof UsersApi
28195
+ */
28196
+ getEventBookingDetail(requestParameters: UsersApiGetEventBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventBookingDetailResponse, any, {}>>;
27876
28197
  /**
27877
28198
  *
27878
28199
  * @param {*} [options] Override http request option.
package/dist/esm/api.js CHANGED
@@ -141,6 +141,20 @@ export const DiscountType = {
141
141
  Percentage: 'percentage',
142
142
  OffPeak: 'off_peak'
143
143
  };
144
+ export const EventBookingDetailEventSummaryTypeEnum = {
145
+ Event: 'event',
146
+ Closure: 'closure'
147
+ };
148
+ export const EventBookingDetailEventSummaryRecurringTypeEnum = {
149
+ Unique: 'unique',
150
+ Daily: 'daily',
151
+ Weekly: 'weekly',
152
+ Monthly: 'monthly'
153
+ };
154
+ export const EventBookingDetailEventSummaryParticipationTypeEnum = {
155
+ Solo: 'solo',
156
+ Team: 'team'
157
+ };
144
158
  export const EventBookingDetailSummaryUserParticipationStatusEnum = {
145
159
  Participant: 'participant',
146
160
  WaitingJoinPayment: 'waitingJoinPayment',
@@ -15485,6 +15499,37 @@ export const UsersApiAxiosParamCreator = function (configuration) {
15485
15499
  options: localVarRequestOptions,
15486
15500
  };
15487
15501
  }),
15502
+ /**
15503
+ *
15504
+ * @param {string} eventBookingId
15505
+ * @param {*} [options] Override http request option.
15506
+ * @throws {RequiredError}
15507
+ */
15508
+ getEventBookingDetail: (eventBookingId_1, ...args_1) => __awaiter(this, [eventBookingId_1, ...args_1], void 0, function* (eventBookingId, options = {}) {
15509
+ // verify required parameter 'eventBookingId' is not null or undefined
15510
+ assertParamExists('getEventBookingDetail', 'eventBookingId', eventBookingId);
15511
+ const localVarPath = `/api/users/me/event-booking-detail/{eventBookingId}`
15512
+ .replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
15513
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15514
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15515
+ let baseOptions;
15516
+ if (configuration) {
15517
+ baseOptions = configuration.baseOptions;
15518
+ }
15519
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
15520
+ const localVarHeaderParameter = {};
15521
+ const localVarQueryParameter = {};
15522
+ // authentication bearerAuth required
15523
+ // http bearer authentication required
15524
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
15525
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15526
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15527
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15528
+ return {
15529
+ url: toPathString(localVarUrlObj),
15530
+ options: localVarRequestOptions,
15531
+ };
15532
+ }),
15488
15533
  /**
15489
15534
  *
15490
15535
  * @param {*} [options] Override http request option.
@@ -16927,6 +16972,21 @@ export const UsersApiFp = function (configuration) {
16927
16972
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16928
16973
  });
16929
16974
  },
16975
+ /**
16976
+ *
16977
+ * @param {string} eventBookingId
16978
+ * @param {*} [options] Override http request option.
16979
+ * @throws {RequiredError}
16980
+ */
16981
+ getEventBookingDetail(eventBookingId, options) {
16982
+ return __awaiter(this, void 0, void 0, function* () {
16983
+ var _a, _b, _c;
16984
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventBookingDetail(eventBookingId, options);
16985
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16986
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.getEventBookingDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16987
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16988
+ });
16989
+ },
16930
16990
  /**
16931
16991
  *
16932
16992
  * @param {*} [options] Override http request option.
@@ -17632,6 +17692,15 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
17632
17692
  getBookingDetail(requestParameters, options) {
17633
17693
  return localVarFp.getBookingDetail(requestParameters.bookingId, options).then((request) => request(axios, basePath));
17634
17694
  },
17695
+ /**
17696
+ *
17697
+ * @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
17698
+ * @param {*} [options] Override http request option.
17699
+ * @throws {RequiredError}
17700
+ */
17701
+ getEventBookingDetail(requestParameters, options) {
17702
+ return localVarFp.getEventBookingDetail(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
17703
+ },
17635
17704
  /**
17636
17705
  *
17637
17706
  * @param {*} [options] Override http request option.
@@ -18071,6 +18140,16 @@ export class UsersApi extends BaseAPI {
18071
18140
  getBookingDetail(requestParameters, options) {
18072
18141
  return UsersApiFp(this.configuration).getBookingDetail(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
18073
18142
  }
18143
+ /**
18144
+ *
18145
+ * @param {UsersApiGetEventBookingDetailRequest} requestParameters Request parameters.
18146
+ * @param {*} [options] Override http request option.
18147
+ * @throws {RequiredError}
18148
+ * @memberof UsersApi
18149
+ */
18150
+ getEventBookingDetail(requestParameters, options) {
18151
+ return UsersApiFp(this.configuration).getEventBookingDetail(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
18152
+ }
18074
18153
  /**
18075
18154
  *
18076
18155
  * @param {*} [options] Override http request option.
@@ -0,0 +1,26 @@
1
+ # EventBookingDetailClubInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **picture** | **string** | | [optional] [default to undefined]
11
+ **address** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { EventBookingDetailClubInfo } from '@tennac-booking/sdk';
17
+
18
+ const instance: EventBookingDetailClubInfo = {
19
+ id,
20
+ name,
21
+ picture,
22
+ address,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,56 @@
1
+ # EventBookingDetailEventSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **clubId** | **string** | | [default to undefined]
10
+ **type** | **string** | | [default to undefined]
11
+ **title** | **string** | | [default to undefined]
12
+ **category** | **string** | | [optional] [default to undefined]
13
+ **description** | **string** | | [optional] [default to undefined]
14
+ **photoUrl** | **string** | | [optional] [default to undefined]
15
+ **isAllDay** | **boolean** | | [default to undefined]
16
+ **date** | **string** | | [default to undefined]
17
+ **startTime** | **number** | | [optional] [default to undefined]
18
+ **endTime** | **number** | | [optional] [default to undefined]
19
+ **courts** | **Array&lt;string&gt;** | | [default to undefined]
20
+ **sports** | [**Array&lt;SportWithLevels&gt;**](SportWithLevels.md) | | [default to undefined]
21
+ **recurringType** | **string** | | [default to undefined]
22
+ **recurrenceEndDate** | **string** | | [optional] [default to undefined]
23
+ **participationType** | **string** | | [default to undefined]
24
+ **playersPerTeam** | **number** | | [optional] [default to undefined]
25
+ **levels** | **Array&lt;string | null&gt;** | | [optional] [default to undefined]
26
+ **sponsors** | [**Array&lt;EventSponsor&gt;**](EventSponsor.md) | | [optional] [default to undefined]
27
+
28
+ ## Example
29
+
30
+ ```typescript
31
+ import { EventBookingDetailEventSummary } from '@tennac-booking/sdk';
32
+
33
+ const instance: EventBookingDetailEventSummary = {
34
+ id,
35
+ clubId,
36
+ type,
37
+ title,
38
+ category,
39
+ description,
40
+ photoUrl,
41
+ isAllDay,
42
+ date,
43
+ startTime,
44
+ endTime,
45
+ courts,
46
+ sports,
47
+ recurringType,
48
+ recurrenceEndDate,
49
+ participationType,
50
+ playersPerTeam,
51
+ levels,
52
+ sponsors,
53
+ };
54
+ ```
55
+
56
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # EventBookingDetailResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **club** | [**EventBookingDetailClubInfo**](EventBookingDetailClubInfo.md) | | [default to undefined]
9
+ **event** | [**EventBookingDetailEventSummary**](EventBookingDetailEventSummary.md) | | [default to undefined]
10
+ **booking** | [**EventBookingDetailResponseBooking**](EventBookingDetailResponseBooking.md) | | [default to undefined]
11
+ **players** | [**Array&lt;BookingPlayerPaymentSummary&gt;**](BookingPlayerPaymentSummary.md) | | [default to undefined]
12
+ **history** | [**Array&lt;BookingHistoryPopulated&gt;**](BookingHistoryPopulated.md) | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { EventBookingDetailResponse } from '@tennac-booking/sdk';
18
+
19
+ const instance: EventBookingDetailResponse = {
20
+ club,
21
+ event,
22
+ booking,
23
+ players,
24
+ history,
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)
@@ -0,0 +1,38 @@
1
+ # EventBookingDetailResponseBooking
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **participantsCount** | **number** | | [default to undefined]
9
+ **updatedAt** | **string** | | [default to undefined]
10
+ **createdAt** | **string** | | [default to undefined]
11
+ **limitCancellationDate** | **string** | | [optional] [default to undefined]
12
+ **limitSetupDate** | **string** | | [optional] [default to undefined]
13
+ **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
14
+ **isCreatorPayingAll** | **boolean** | | [default to undefined]
15
+ **teamName** | **string** | | [optional] [default to undefined]
16
+ **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
17
+ **id** | **string** | | [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { EventBookingDetailResponseBooking } from '@tennac-booking/sdk';
23
+
24
+ const instance: EventBookingDetailResponseBooking = {
25
+ participantsCount,
26
+ updatedAt,
27
+ createdAt,
28
+ limitCancellationDate,
29
+ limitSetupDate,
30
+ paymentMethodSetupCompleted,
31
+ isCreatorPayingAll,
32
+ teamName,
33
+ status,
34
+ id,
35
+ };
36
+ ```
37
+
38
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -11,7 +11,8 @@ Name | Type | Description | Notes
11
11
  **stripeAccountId** | **string** | | [default to undefined]
12
12
  **publishableKey** | **string** | | [default to undefined]
13
13
  **customerId** | **string** | | [default to undefined]
14
- **paymentIntentClientSecret** | **string** | | [default to undefined]
14
+ **setupIntentClientSecret** | **string** | | [optional] [default to undefined]
15
+ **paymentIntentClientSecret** | **string** | | [optional] [default to undefined]
15
16
 
16
17
  ## Example
17
18
 
@@ -25,6 +26,7 @@ const instance: SubscriptionPaymentSheetResponse = {
25
26
  stripeAccountId,
26
27
  publishableKey,
27
28
  customerId,
29
+ setupIntentClientSecret,
28
30
  paymentIntentClientSecret,
29
31
  };
30
32
  ```