@tennac-booking/sdk 1.0.172 → 1.0.173

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/base.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.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.171
8
+ * The version of the OpenAPI document: 1.0.172
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.171
8
+ * The version of the OpenAPI document: 1.0.172
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.171
8
+ * The version of the OpenAPI document: 1.0.172
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10377,6 +10377,147 @@ export interface StaffCreateBookingRequest {
10377
10377
  */
10378
10378
  'paymentMethod'?: PaymentMethod;
10379
10379
  }
10380
+ /**
10381
+ *
10382
+ * @export
10383
+ * @interface StaffEventBookingInvoiceResponse
10384
+ */
10385
+ export interface StaffEventBookingInvoiceResponse {
10386
+ /**
10387
+ *
10388
+ * @type {string}
10389
+ * @memberof StaffEventBookingInvoiceResponse
10390
+ */
10391
+ 'id': string;
10392
+ /**
10393
+ *
10394
+ * @type {string}
10395
+ * @memberof StaffEventBookingInvoiceResponse
10396
+ */
10397
+ 'userId': string;
10398
+ /**
10399
+ *
10400
+ * @type {InvoiceStatus}
10401
+ * @memberof StaffEventBookingInvoiceResponse
10402
+ */
10403
+ 'status': InvoiceStatus;
10404
+ /**
10405
+ *
10406
+ * @type {number}
10407
+ * @memberof StaffEventBookingInvoiceResponse
10408
+ */
10409
+ 'amount': number;
10410
+ /**
10411
+ *
10412
+ * @type {PaymentMethod}
10413
+ * @memberof StaffEventBookingInvoiceResponse
10414
+ */
10415
+ 'paymentMethod': PaymentMethod;
10416
+ /**
10417
+ *
10418
+ * @type {string}
10419
+ * @memberof StaffEventBookingInvoiceResponse
10420
+ */
10421
+ 'createdAt': string;
10422
+ /**
10423
+ *
10424
+ * @type {string}
10425
+ * @memberof StaffEventBookingInvoiceResponse
10426
+ */
10427
+ 'updatedAt': string;
10428
+ }
10429
+ /**
10430
+ *
10431
+ * @export
10432
+ * @interface StaffEventBookingResponse
10433
+ */
10434
+ export interface StaffEventBookingResponse {
10435
+ /**
10436
+ *
10437
+ * @type {string}
10438
+ * @memberof StaffEventBookingResponse
10439
+ */
10440
+ 'id': string;
10441
+ /**
10442
+ *
10443
+ * @type {string}
10444
+ * @memberof StaffEventBookingResponse
10445
+ */
10446
+ 'eventId': string;
10447
+ /**
10448
+ *
10449
+ * @type {EventBookingStatus}
10450
+ * @memberof StaffEventBookingResponse
10451
+ */
10452
+ 'status': EventBookingStatus;
10453
+ /**
10454
+ *
10455
+ * @type {boolean}
10456
+ * @memberof StaffEventBookingResponse
10457
+ */
10458
+ 'isOpen': boolean;
10459
+ /**
10460
+ *
10461
+ * @type {string}
10462
+ * @memberof StaffEventBookingResponse
10463
+ */
10464
+ 'teamName'?: string | null;
10465
+ /**
10466
+ *
10467
+ * @type {Array<EventUser>}
10468
+ * @memberof StaffEventBookingResponse
10469
+ */
10470
+ 'players': Array<EventUser>;
10471
+ /**
10472
+ *
10473
+ * @type {Array<StaffEventBookingInvoiceResponse>}
10474
+ * @memberof StaffEventBookingResponse
10475
+ */
10476
+ 'invoices': Array<StaffEventBookingInvoiceResponse>;
10477
+ /**
10478
+ *
10479
+ * @type {string}
10480
+ * @memberof StaffEventBookingResponse
10481
+ */
10482
+ 'limitSetupDate'?: string | null;
10483
+ /**
10484
+ *
10485
+ * @type {string}
10486
+ * @memberof StaffEventBookingResponse
10487
+ */
10488
+ 'limitCancellationDate'?: string | null;
10489
+ /**
10490
+ *
10491
+ * @type {string}
10492
+ * @memberof StaffEventBookingResponse
10493
+ */
10494
+ 'createdAt': string;
10495
+ /**
10496
+ *
10497
+ * @type {string}
10498
+ * @memberof StaffEventBookingResponse
10499
+ */
10500
+ 'updatedAt': string;
10501
+ }
10502
+ /**
10503
+ *
10504
+ * @export
10505
+ * @interface StaffEventDetailResponse
10506
+ */
10507
+ export interface StaffEventDetailResponse {
10508
+ /**
10509
+ *
10510
+ * @type {EventResponse}
10511
+ * @memberof StaffEventDetailResponse
10512
+ */
10513
+ 'event': EventResponse;
10514
+ /**
10515
+ *
10516
+ * @type {Array<StaffEventBookingResponse>}
10517
+ * @memberof StaffEventDetailResponse
10518
+ */
10519
+ 'bookings': Array<StaffEventBookingResponse>;
10520
+ }
10380
10521
  /**
10381
10522
  *
10382
10523
  * @export
@@ -19539,6 +19680,13 @@ export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configura
19539
19680
  * @throws {RequiredError}
19540
19681
  */
19541
19682
  getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19683
+ /**
19684
+ * Get a specific event by ID (staff)
19685
+ * @param {string} eventId
19686
+ * @param {*} [options] Override http request option.
19687
+ * @throws {RequiredError}
19688
+ */
19689
+ getEventByIdForStaff: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19542
19690
  /**
19543
19691
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
19544
19692
  * @param {*} [options] Override http request option.
@@ -19592,6 +19740,13 @@ export declare const EventsStaffApiFp: (configuration?: Configuration) => {
19592
19740
  * @throws {RequiredError}
19593
19741
  */
19594
19742
  getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
19743
+ /**
19744
+ * Get a specific event by ID (staff)
19745
+ * @param {string} eventId
19746
+ * @param {*} [options] Override http request option.
19747
+ * @throws {RequiredError}
19748
+ */
19749
+ getEventByIdForStaff(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffEventDetailResponse>>;
19595
19750
  /**
19596
19751
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
19597
19752
  * @param {*} [options] Override http request option.
@@ -19640,6 +19795,13 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
19640
19795
  * @throws {RequiredError}
19641
19796
  */
19642
19797
  getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
19798
+ /**
19799
+ * Get a specific event by ID (staff)
19800
+ * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
19801
+ * @param {*} [options] Override http request option.
19802
+ * @throws {RequiredError}
19803
+ */
19804
+ getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffEventDetailResponse>;
19643
19805
  /**
19644
19806
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
19645
19807
  * @param {*} [options] Override http request option.
@@ -19717,6 +19879,19 @@ export interface EventsStaffApiGetDailyEventsRequest {
19717
19879
  */
19718
19880
  readonly sportId?: string;
19719
19881
  }
19882
+ /**
19883
+ * Request parameters for getEventByIdForStaff operation in EventsStaffApi.
19884
+ * @export
19885
+ * @interface EventsStaffApiGetEventByIdForStaffRequest
19886
+ */
19887
+ export interface EventsStaffApiGetEventByIdForStaffRequest {
19888
+ /**
19889
+ *
19890
+ * @type {string}
19891
+ * @memberof EventsStaffApiGetEventByIdForStaff
19892
+ */
19893
+ readonly eventId: string;
19894
+ }
19720
19895
  /**
19721
19896
  * Request parameters for getMonthlyEvents operation in EventsStaffApi.
19722
19897
  * @export
@@ -19814,6 +19989,14 @@ export declare class EventsStaffApi extends BaseAPI {
19814
19989
  * @memberof EventsStaffApi
19815
19990
  */
19816
19991
  getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
19992
+ /**
19993
+ * Get a specific event by ID (staff)
19994
+ * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
19995
+ * @param {*} [options] Override http request option.
19996
+ * @throws {RequiredError}
19997
+ * @memberof EventsStaffApi
19998
+ */
19999
+ getEventByIdForStaff(requestParameters: EventsStaffApiGetEventByIdForStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffEventDetailResponse, any, {}>>;
19817
20000
  /**
19818
20001
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
19819
20002
  * @param {*} [options] Override http request option.
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.171
7
+ * The version of the OpenAPI document: 1.0.172
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10581,6 +10581,37 @@ export const EventsStaffApiAxiosParamCreator = function (configuration) {
10581
10581
  options: localVarRequestOptions,
10582
10582
  };
10583
10583
  }),
10584
+ /**
10585
+ * Get a specific event by ID (staff)
10586
+ * @param {string} eventId
10587
+ * @param {*} [options] Override http request option.
10588
+ * @throws {RequiredError}
10589
+ */
10590
+ getEventByIdForStaff: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
10591
+ // verify required parameter 'eventId' is not null or undefined
10592
+ assertParamExists('getEventByIdForStaff', 'eventId', eventId);
10593
+ const localVarPath = `/api/events/staff/{eventId}`
10594
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
10595
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10596
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10597
+ let baseOptions;
10598
+ if (configuration) {
10599
+ baseOptions = configuration.baseOptions;
10600
+ }
10601
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10602
+ const localVarHeaderParameter = {};
10603
+ const localVarQueryParameter = {};
10604
+ // authentication bearerAuth required
10605
+ // http bearer authentication required
10606
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10607
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10608
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10609
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10610
+ return {
10611
+ url: toPathString(localVarUrlObj),
10612
+ options: localVarRequestOptions,
10613
+ };
10614
+ }),
10584
10615
  /**
10585
10616
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
10586
10617
  * @param {*} [options] Override http request option.
@@ -10746,6 +10777,21 @@ export const EventsStaffApiFp = function (configuration) {
10746
10777
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10747
10778
  });
10748
10779
  },
10780
+ /**
10781
+ * Get a specific event by ID (staff)
10782
+ * @param {string} eventId
10783
+ * @param {*} [options] Override http request option.
10784
+ * @throws {RequiredError}
10785
+ */
10786
+ getEventByIdForStaff(eventId, options) {
10787
+ return __awaiter(this, void 0, void 0, function* () {
10788
+ var _a, _b, _c;
10789
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventByIdForStaff(eventId, options);
10790
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10791
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsStaffApi.getEventByIdForStaff']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10792
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10793
+ });
10794
+ },
10749
10795
  /**
10750
10796
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
10751
10797
  * @param {*} [options] Override http request option.
@@ -10825,6 +10871,15 @@ export const EventsStaffApiFactory = function (configuration, basePath, axios) {
10825
10871
  getDailyEvents(requestParameters = {}, options) {
10826
10872
  return localVarFp.getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
10827
10873
  },
10874
+ /**
10875
+ * Get a specific event by ID (staff)
10876
+ * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
10877
+ * @param {*} [options] Override http request option.
10878
+ * @throws {RequiredError}
10879
+ */
10880
+ getEventByIdForStaff(requestParameters, options) {
10881
+ return localVarFp.getEventByIdForStaff(requestParameters.eventId, options).then((request) => request(axios, basePath));
10882
+ },
10828
10883
  /**
10829
10884
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
10830
10885
  * @param {*} [options] Override http request option.
@@ -10880,6 +10935,16 @@ export class EventsStaffApi extends BaseAPI {
10880
10935
  getDailyEvents(requestParameters = {}, options) {
10881
10936
  return EventsStaffApiFp(this.configuration).getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
10882
10937
  }
10938
+ /**
10939
+ * Get a specific event by ID (staff)
10940
+ * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
10941
+ * @param {*} [options] Override http request option.
10942
+ * @throws {RequiredError}
10943
+ * @memberof EventsStaffApi
10944
+ */
10945
+ getEventByIdForStaff(requestParameters, options) {
10946
+ return EventsStaffApiFp(this.configuration).getEventByIdForStaff(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
10947
+ }
10883
10948
  /**
10884
10949
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
10885
10950
  * @param {*} [options] Override http request option.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.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.171
7
+ * The version of the OpenAPI document: 1.0.172
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.171
7
+ * The version of the OpenAPI document: 1.0.172
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.171
7
+ * The version of the OpenAPI document: 1.0.172
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.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.171
7
+ * The version of the OpenAPI document: 1.0.172
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.171
8
+ * The version of the OpenAPI document: 1.0.172
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**checkInEventParticipants**](#checkineventparticipants) | **POST** /api/events/{eventBookingId}/check-in | |
8
8
  |[**getDailyEvents**](#getdailyevents) | **GET** /api/events/calendar/daily | |
9
+ |[**getEventByIdForStaff**](#geteventbyidforstaff) | **GET** /api/events/staff/{eventId} | |
9
10
  |[**getEventsByClub**](#geteventsbyclub) | **GET** /api/events/staff/getEvents | |
10
11
  |[**getMonthlyEvents**](#getmonthlyevents) | **GET** /api/events/calendar/monthly | |
11
12
  |[**getWeeklyEvents**](#getweeklyevents) | **GET** /api/events/calendar/weekly | |
@@ -133,6 +134,59 @@ const { status, data } = await apiInstance.getDailyEvents(
133
134
 
134
135
  [[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)
135
136
 
137
+ # **getEventByIdForStaff**
138
+ > StaffEventDetailResponse getEventByIdForStaff()
139
+
140
+ Get a specific event by ID (staff)
141
+
142
+ ### Example
143
+
144
+ ```typescript
145
+ import {
146
+ EventsStaffApi,
147
+ Configuration
148
+ } from '@tennac-booking/sdk';
149
+
150
+ const configuration = new Configuration();
151
+ const apiInstance = new EventsStaffApi(configuration);
152
+
153
+ let eventId: string; // (default to undefined)
154
+
155
+ const { status, data } = await apiInstance.getEventByIdForStaff(
156
+ eventId
157
+ );
158
+ ```
159
+
160
+ ### Parameters
161
+
162
+ |Name | Type | Description | Notes|
163
+ |------------- | ------------- | ------------- | -------------|
164
+ | **eventId** | [**string**] | | defaults to undefined|
165
+
166
+
167
+ ### Return type
168
+
169
+ **StaffEventDetailResponse**
170
+
171
+ ### Authorization
172
+
173
+ [bearerAuth](../README.md#bearerAuth)
174
+
175
+ ### HTTP request headers
176
+
177
+ - **Content-Type**: Not defined
178
+ - **Accept**: application/json
179
+
180
+
181
+ ### HTTP response details
182
+ | Status code | Description | Response headers |
183
+ |-------------|-------------|------------------|
184
+ |**200** | Event details | - |
185
+ |**400** | Bad Request | - |
186
+ |**404** | Not Found | - |
187
+
188
+ [[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)
189
+
136
190
  # **getEventsByClub**
137
191
  > StaffEventsPaginatedResponse getEventsByClub()
138
192
 
@@ -0,0 +1,32 @@
1
+ # StaffEventBookingInvoiceResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **userId** | **string** | | [default to undefined]
10
+ **status** | [**InvoiceStatus**](InvoiceStatus.md) | | [default to undefined]
11
+ **amount** | **number** | | [default to undefined]
12
+ **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
13
+ **createdAt** | **string** | | [default to undefined]
14
+ **updatedAt** | **string** | | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { StaffEventBookingInvoiceResponse } from '@tennac-booking/sdk';
20
+
21
+ const instance: StaffEventBookingInvoiceResponse = {
22
+ id,
23
+ userId,
24
+ status,
25
+ amount,
26
+ paymentMethod,
27
+ createdAt,
28
+ updatedAt,
29
+ };
30
+ ```
31
+
32
+ [[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,40 @@
1
+ # StaffEventBookingResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **eventId** | **string** | | [default to undefined]
10
+ **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
11
+ **isOpen** | **boolean** | | [default to undefined]
12
+ **teamName** | **string** | | [optional] [default to undefined]
13
+ **players** | [**Array&lt;EventUser&gt;**](EventUser.md) | | [default to undefined]
14
+ **invoices** | [**Array&lt;StaffEventBookingInvoiceResponse&gt;**](StaffEventBookingInvoiceResponse.md) | | [default to undefined]
15
+ **limitSetupDate** | **string** | | [optional] [default to undefined]
16
+ **limitCancellationDate** | **string** | | [optional] [default to undefined]
17
+ **createdAt** | **string** | | [default to undefined]
18
+ **updatedAt** | **string** | | [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { StaffEventBookingResponse } from '@tennac-booking/sdk';
24
+
25
+ const instance: StaffEventBookingResponse = {
26
+ id,
27
+ eventId,
28
+ status,
29
+ isOpen,
30
+ teamName,
31
+ players,
32
+ invoices,
33
+ limitSetupDate,
34
+ limitCancellationDate,
35
+ createdAt,
36
+ updatedAt,
37
+ };
38
+ ```
39
+
40
+ [[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,22 @@
1
+ # StaffEventDetailResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **event** | [**EventResponse**](EventResponse.md) | | [default to undefined]
9
+ **bookings** | [**Array&lt;StaffEventBookingResponse&gt;**](StaffEventBookingResponse.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { StaffEventDetailResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: StaffEventDetailResponse = {
17
+ event,
18
+ bookings,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.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.171
7
+ * The version of the OpenAPI document: 1.0.172
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).