@gooday_corp/gooday-api-client 1.4.2 → 1.4.4
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 +1 -0
- package/api.ts +158 -2
- package/docs/BlockoutEntity.md +2 -0
- package/docs/BlockoutPayloadDTO.md +2 -0
- package/docs/CalendarApi.md +52 -0
- package/docs/CalendarEventResponse.md +2 -0
- package/docs/CalendarEventsSlotsDTO.md +22 -0
- package/docs/CreateBookingPayload.md +3 -1
- package/docs/CreateEventPayloadDTO.md +2 -0
- package/docs/EventResponse.md +2 -0
- package/docs/PrepaidServiceEntity.md +2 -0
- package/docs/PrepaidServicePayloadDTO.md +2 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/StandardBookingSlotsPayload.md +3 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnEntity.md +2 -0
- package/docs/WhatsOnPayloadDTO.md +2 -0
- package/docs/WhatsOnSlotsPayload.md +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -511,6 +511,12 @@ export interface BlockoutEntity {
|
|
|
511
511
|
* @memberof BlockoutEntity
|
|
512
512
|
*/
|
|
513
513
|
'endDate': string;
|
|
514
|
+
/**
|
|
515
|
+
* Recurrence end date of an event
|
|
516
|
+
* @type {string}
|
|
517
|
+
* @memberof BlockoutEntity
|
|
518
|
+
*/
|
|
519
|
+
'recurrenceEndDate': string;
|
|
514
520
|
/**
|
|
515
521
|
* Recurrence pattern
|
|
516
522
|
* @type {string}
|
|
@@ -595,6 +601,12 @@ export interface BlockoutPayloadDTO {
|
|
|
595
601
|
* @memberof BlockoutPayloadDTO
|
|
596
602
|
*/
|
|
597
603
|
'endDate': string;
|
|
604
|
+
/**
|
|
605
|
+
* Recurrence End date of event
|
|
606
|
+
* @type {string}
|
|
607
|
+
* @memberof BlockoutPayloadDTO
|
|
608
|
+
*/
|
|
609
|
+
'recurrenceEndDate': string;
|
|
598
610
|
/**
|
|
599
611
|
* Start hour of an event
|
|
600
612
|
* @type {string}
|
|
@@ -2658,6 +2670,12 @@ export interface CalendarEventResponse {
|
|
|
2658
2670
|
* @memberof CalendarEventResponse
|
|
2659
2671
|
*/
|
|
2660
2672
|
'endDate': string;
|
|
2673
|
+
/**
|
|
2674
|
+
*
|
|
2675
|
+
* @type {string}
|
|
2676
|
+
* @memberof CalendarEventResponse
|
|
2677
|
+
*/
|
|
2678
|
+
'recurrenceEndDate': string;
|
|
2661
2679
|
/**
|
|
2662
2680
|
*
|
|
2663
2681
|
* @type {Array<UserEntity>}
|
|
@@ -2804,6 +2822,25 @@ export const CalendarEventsListPayloadViewEnum = {
|
|
|
2804
2822
|
|
|
2805
2823
|
export type CalendarEventsListPayloadViewEnum = typeof CalendarEventsListPayloadViewEnum[keyof typeof CalendarEventsListPayloadViewEnum];
|
|
2806
2824
|
|
|
2825
|
+
/**
|
|
2826
|
+
*
|
|
2827
|
+
* @export
|
|
2828
|
+
* @interface CalendarEventsSlotsDTO
|
|
2829
|
+
*/
|
|
2830
|
+
export interface CalendarEventsSlotsDTO {
|
|
2831
|
+
/**
|
|
2832
|
+
* statusCode
|
|
2833
|
+
* @type {number}
|
|
2834
|
+
* @memberof CalendarEventsSlotsDTO
|
|
2835
|
+
*/
|
|
2836
|
+
'statusCode': number;
|
|
2837
|
+
/**
|
|
2838
|
+
* Events slots response
|
|
2839
|
+
* @type {Array<CalendarSlots>}
|
|
2840
|
+
* @memberof CalendarEventsSlotsDTO
|
|
2841
|
+
*/
|
|
2842
|
+
'data': Array<CalendarSlots>;
|
|
2843
|
+
}
|
|
2807
2844
|
/**
|
|
2808
2845
|
*
|
|
2809
2846
|
* @export
|
|
@@ -3130,6 +3167,12 @@ export interface CreateBookingPayload {
|
|
|
3130
3167
|
* @memberof CreateBookingPayload
|
|
3131
3168
|
*/
|
|
3132
3169
|
'date': string;
|
|
3170
|
+
/**
|
|
3171
|
+
* The start date of the booking
|
|
3172
|
+
* @type {string}
|
|
3173
|
+
* @memberof CreateBookingPayload
|
|
3174
|
+
*/
|
|
3175
|
+
'recurrenceEndDate'?: string;
|
|
3133
3176
|
/**
|
|
3134
3177
|
*
|
|
3135
3178
|
* @type {string}
|
|
@@ -3389,6 +3432,12 @@ export interface CreateEventPayloadDTO {
|
|
|
3389
3432
|
* @memberof CreateEventPayloadDTO
|
|
3390
3433
|
*/
|
|
3391
3434
|
'endDate': string;
|
|
3435
|
+
/**
|
|
3436
|
+
* Recurrence End date of event
|
|
3437
|
+
* @type {string}
|
|
3438
|
+
* @memberof CreateEventPayloadDTO
|
|
3439
|
+
*/
|
|
3440
|
+
'recurrenceEndDate': string;
|
|
3392
3441
|
/**
|
|
3393
3442
|
* Start hour of an event
|
|
3394
3443
|
* @type {string}
|
|
@@ -4005,6 +4054,12 @@ export interface EventResponse {
|
|
|
4005
4054
|
* @memberof EventResponse
|
|
4006
4055
|
*/
|
|
4007
4056
|
'endDate': string;
|
|
4057
|
+
/**
|
|
4058
|
+
* Recurrence end date of an event
|
|
4059
|
+
* @type {string}
|
|
4060
|
+
* @memberof EventResponse
|
|
4061
|
+
*/
|
|
4062
|
+
'recurrenceEndDate': string;
|
|
4008
4063
|
/**
|
|
4009
4064
|
* Recurrence pattern
|
|
4010
4065
|
* @type {string}
|
|
@@ -6417,6 +6472,12 @@ export interface PrepaidServiceEntity {
|
|
|
6417
6472
|
* @memberof PrepaidServiceEntity
|
|
6418
6473
|
*/
|
|
6419
6474
|
'endDate': string;
|
|
6475
|
+
/**
|
|
6476
|
+
* Recurrence end date of an event
|
|
6477
|
+
* @type {string}
|
|
6478
|
+
* @memberof PrepaidServiceEntity
|
|
6479
|
+
*/
|
|
6480
|
+
'recurrenceEndDate': string;
|
|
6420
6481
|
/**
|
|
6421
6482
|
* Recurrence pattern
|
|
6422
6483
|
* @type {string}
|
|
@@ -6628,6 +6689,12 @@ export interface PrepaidServicePayloadDTO {
|
|
|
6628
6689
|
* @memberof PrepaidServicePayloadDTO
|
|
6629
6690
|
*/
|
|
6630
6691
|
'endDate': string;
|
|
6692
|
+
/**
|
|
6693
|
+
* Recurrence End date of event
|
|
6694
|
+
* @type {string}
|
|
6695
|
+
* @memberof PrepaidServicePayloadDTO
|
|
6696
|
+
*/
|
|
6697
|
+
'recurrenceEndDate': string;
|
|
6631
6698
|
/**
|
|
6632
6699
|
* Start hour of an event
|
|
6633
6700
|
* @type {string}
|
|
@@ -7597,13 +7664,19 @@ export interface StandardBookingSlotsPayload {
|
|
|
7597
7664
|
* @type {Array<string>}
|
|
7598
7665
|
* @memberof StandardBookingSlotsPayload
|
|
7599
7666
|
*/
|
|
7600
|
-
'staffs'
|
|
7667
|
+
'staffs'?: Array<string>;
|
|
7601
7668
|
/**
|
|
7602
7669
|
* Venue ID
|
|
7603
7670
|
* @type {string}
|
|
7604
7671
|
* @memberof StandardBookingSlotsPayload
|
|
7605
7672
|
*/
|
|
7606
7673
|
'id'?: string;
|
|
7674
|
+
/**
|
|
7675
|
+
*
|
|
7676
|
+
* @type {boolean}
|
|
7677
|
+
* @memberof StandardBookingSlotsPayload
|
|
7678
|
+
*/
|
|
7679
|
+
'activityUser'?: boolean;
|
|
7607
7680
|
}
|
|
7608
7681
|
/**
|
|
7609
7682
|
*
|
|
@@ -9063,6 +9136,12 @@ export interface WhatsOnEntity {
|
|
|
9063
9136
|
* @memberof WhatsOnEntity
|
|
9064
9137
|
*/
|
|
9065
9138
|
'endDate': string;
|
|
9139
|
+
/**
|
|
9140
|
+
* Recurrence end date of an event
|
|
9141
|
+
* @type {string}
|
|
9142
|
+
* @memberof WhatsOnEntity
|
|
9143
|
+
*/
|
|
9144
|
+
'recurrenceEndDate': string;
|
|
9066
9145
|
/**
|
|
9067
9146
|
* Recurrence pattern
|
|
9068
9147
|
* @type {string}
|
|
@@ -9562,6 +9641,12 @@ export interface WhatsOnPayloadDTO {
|
|
|
9562
9641
|
* @memberof WhatsOnPayloadDTO
|
|
9563
9642
|
*/
|
|
9564
9643
|
'endDate': string;
|
|
9644
|
+
/**
|
|
9645
|
+
* Recurrence End date of event
|
|
9646
|
+
* @type {string}
|
|
9647
|
+
* @memberof WhatsOnPayloadDTO
|
|
9648
|
+
*/
|
|
9649
|
+
'recurrenceEndDate': string;
|
|
9565
9650
|
/**
|
|
9566
9651
|
* Start hour of an event
|
|
9567
9652
|
* @type {string}
|
|
@@ -9754,7 +9839,7 @@ export interface WhatsOnSlotsPayload {
|
|
|
9754
9839
|
* @type {Array<string>}
|
|
9755
9840
|
* @memberof WhatsOnSlotsPayload
|
|
9756
9841
|
*/
|
|
9757
|
-
'staffs'
|
|
9842
|
+
'staffs'?: Array<string>;
|
|
9758
9843
|
/**
|
|
9759
9844
|
* WhatsOn ID
|
|
9760
9845
|
* @type {string}
|
|
@@ -14886,6 +14971,45 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14886
14971
|
options: localVarRequestOptions,
|
|
14887
14972
|
};
|
|
14888
14973
|
},
|
|
14974
|
+
/**
|
|
14975
|
+
*
|
|
14976
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
14977
|
+
* @param {*} [options] Override http request option.
|
|
14978
|
+
* @throws {RequiredError}
|
|
14979
|
+
*/
|
|
14980
|
+
calendarControllerListAvailableSlotsForEventBooking: async (standardBookingSlotsPayload: StandardBookingSlotsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14981
|
+
// verify required parameter 'standardBookingSlotsPayload' is not null or undefined
|
|
14982
|
+
assertParamExists('calendarControllerListAvailableSlotsForEventBooking', 'standardBookingSlotsPayload', standardBookingSlotsPayload)
|
|
14983
|
+
const localVarPath = `/v1/calendar/slots/standard/events`;
|
|
14984
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14985
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14986
|
+
let baseOptions;
|
|
14987
|
+
if (configuration) {
|
|
14988
|
+
baseOptions = configuration.baseOptions;
|
|
14989
|
+
}
|
|
14990
|
+
|
|
14991
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14992
|
+
const localVarHeaderParameter = {} as any;
|
|
14993
|
+
const localVarQueryParameter = {} as any;
|
|
14994
|
+
|
|
14995
|
+
// authentication bearer required
|
|
14996
|
+
// http bearer authentication required
|
|
14997
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14998
|
+
|
|
14999
|
+
|
|
15000
|
+
|
|
15001
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15002
|
+
|
|
15003
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15004
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15005
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15006
|
+
localVarRequestOptions.data = serializeDataIfNeeded(standardBookingSlotsPayload, localVarRequestOptions, configuration)
|
|
15007
|
+
|
|
15008
|
+
return {
|
|
15009
|
+
url: toPathString(localVarUrlObj),
|
|
15010
|
+
options: localVarRequestOptions,
|
|
15011
|
+
};
|
|
15012
|
+
},
|
|
14889
15013
|
/**
|
|
14890
15014
|
*
|
|
14891
15015
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15367,6 +15491,18 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
15367
15491
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerDeleteCalendarInvitation']?.[localVarOperationServerIndex]?.url;
|
|
15368
15492
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15369
15493
|
},
|
|
15494
|
+
/**
|
|
15495
|
+
*
|
|
15496
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
15497
|
+
* @param {*} [options] Override http request option.
|
|
15498
|
+
* @throws {RequiredError}
|
|
15499
|
+
*/
|
|
15500
|
+
async calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsSlotsDTO>> {
|
|
15501
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload, options);
|
|
15502
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15503
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListAvailableSlotsForEventBooking']?.[localVarOperationServerIndex]?.url;
|
|
15504
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15505
|
+
},
|
|
15370
15506
|
/**
|
|
15371
15507
|
*
|
|
15372
15508
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15544,6 +15680,15 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
15544
15680
|
calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation: DeleteCalendarInvitation, options?: RawAxiosRequestConfig): AxiosPromise<DeleteCalendarInvitationResponseDTO> {
|
|
15545
15681
|
return localVarFp.calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation, options).then((request) => request(axios, basePath));
|
|
15546
15682
|
},
|
|
15683
|
+
/**
|
|
15684
|
+
*
|
|
15685
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
15686
|
+
* @param {*} [options] Override http request option.
|
|
15687
|
+
* @throws {RequiredError}
|
|
15688
|
+
*/
|
|
15689
|
+
calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsSlotsDTO> {
|
|
15690
|
+
return localVarFp.calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload, options).then((request) => request(axios, basePath));
|
|
15691
|
+
},
|
|
15547
15692
|
/**
|
|
15548
15693
|
*
|
|
15549
15694
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15696,6 +15841,17 @@ export class CalendarApi extends BaseAPI {
|
|
|
15696
15841
|
return CalendarApiFp(this.configuration).calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation, options).then((request) => request(this.axios, this.basePath));
|
|
15697
15842
|
}
|
|
15698
15843
|
|
|
15844
|
+
/**
|
|
15845
|
+
*
|
|
15846
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
15847
|
+
* @param {*} [options] Override http request option.
|
|
15848
|
+
* @throws {RequiredError}
|
|
15849
|
+
* @memberof CalendarApi
|
|
15850
|
+
*/
|
|
15851
|
+
public calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig) {
|
|
15852
|
+
return CalendarApiFp(this.configuration).calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15853
|
+
}
|
|
15854
|
+
|
|
15699
15855
|
/**
|
|
15700
15856
|
*
|
|
15701
15857
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
package/docs/BlockoutEntity.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**repeat** | **string** | Repeat interval for event | [default to undefined]
|
|
11
11
|
**startDate** | **string** | Start date of an event | [default to undefined]
|
|
12
12
|
**endDate** | **string** | End date of an event | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
|
|
13
14
|
**pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
|
|
14
15
|
**byDay** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**byMonthDay** | **string** | | [optional] [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: BlockoutEntity = {
|
|
|
31
32
|
repeat,
|
|
32
33
|
startDate,
|
|
33
34
|
endDate,
|
|
35
|
+
recurrenceEndDate,
|
|
34
36
|
pattern,
|
|
35
37
|
byDay,
|
|
36
38
|
byMonthDay,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**startDate** | **string** | Start date of event | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date of event | [default to undefined]
|
|
10
|
+
**recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
|
|
10
11
|
**from** | **string** | Start hour of an event | [default to undefined]
|
|
11
12
|
**to** | **string** | End hour of an event | [default to undefined]
|
|
12
13
|
**repeat** | **string** | | [default to undefined]
|
|
@@ -25,6 +26,7 @@ import { BlockoutPayloadDTO } from './api';
|
|
|
25
26
|
const instance: BlockoutPayloadDTO = {
|
|
26
27
|
startDate,
|
|
27
28
|
endDate,
|
|
29
|
+
recurrenceEndDate,
|
|
28
30
|
from,
|
|
29
31
|
to,
|
|
30
32
|
repeat,
|
package/docs/CalendarApi.md
CHANGED
|
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
8
8
|
|[**calendarControllerCollaboratorsByCalendar**](#calendarcontrollercollaboratorsbycalendar) | **GET** /v1/calendar/{id}/collaborators | |
|
|
9
9
|
|[**calendarControllerCreateSharedCalendar**](#calendarcontrollercreatesharedcalendar) | **POST** /v1/calendar | |
|
|
10
10
|
|[**calendarControllerDeleteCalendarInvitation**](#calendarcontrollerdeletecalendarinvitation) | **PUT** /v1/calendar/invitation | |
|
|
11
|
+
|[**calendarControllerListAvailableSlotsForEventBooking**](#calendarcontrollerlistavailableslotsforeventbooking) | **POST** /v1/calendar/slots/standard/events | |
|
|
11
12
|
|[**calendarControllerListCalendarsEvents**](#calendarcontrollerlistcalendarsevents) | **POST** /v1/calendar/list-events | |
|
|
12
13
|
|[**calendarControllerListEvents**](#calendarcontrollerlistevents) | **POST** /v1/calendar/events | |
|
|
13
14
|
|[**calendarControllerListMyCalendar**](#calendarcontrollerlistmycalendar) | **GET** /v1/calendar | |
|
|
@@ -216,6 +217,57 @@ const { status, data } = await apiInstance.calendarControllerDeleteCalendarInvit
|
|
|
216
217
|
- **Accept**: application/json
|
|
217
218
|
|
|
218
219
|
|
|
220
|
+
### HTTP response details
|
|
221
|
+
| Status code | Description | Response headers |
|
|
222
|
+
|-------------|-------------|------------------|
|
|
223
|
+
|**0** | | - |
|
|
224
|
+
|
|
225
|
+
[[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)
|
|
226
|
+
|
|
227
|
+
# **calendarControllerListAvailableSlotsForEventBooking**
|
|
228
|
+
> CalendarEventsSlotsDTO calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
### Example
|
|
232
|
+
|
|
233
|
+
```typescript
|
|
234
|
+
import {
|
|
235
|
+
CalendarApi,
|
|
236
|
+
Configuration,
|
|
237
|
+
StandardBookingSlotsPayload
|
|
238
|
+
} from './api';
|
|
239
|
+
|
|
240
|
+
const configuration = new Configuration();
|
|
241
|
+
const apiInstance = new CalendarApi(configuration);
|
|
242
|
+
|
|
243
|
+
let standardBookingSlotsPayload: StandardBookingSlotsPayload; //
|
|
244
|
+
|
|
245
|
+
const { status, data } = await apiInstance.calendarControllerListAvailableSlotsForEventBooking(
|
|
246
|
+
standardBookingSlotsPayload
|
|
247
|
+
);
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### Parameters
|
|
251
|
+
|
|
252
|
+
|Name | Type | Description | Notes|
|
|
253
|
+
|------------- | ------------- | ------------- | -------------|
|
|
254
|
+
| **standardBookingSlotsPayload** | **StandardBookingSlotsPayload**| | |
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### Return type
|
|
258
|
+
|
|
259
|
+
**CalendarEventsSlotsDTO**
|
|
260
|
+
|
|
261
|
+
### Authorization
|
|
262
|
+
|
|
263
|
+
[bearer](../README.md#bearer)
|
|
264
|
+
|
|
265
|
+
### HTTP request headers
|
|
266
|
+
|
|
267
|
+
- **Content-Type**: application/json
|
|
268
|
+
- **Accept**: application/json
|
|
269
|
+
|
|
270
|
+
|
|
219
271
|
### HTTP response details
|
|
220
272
|
| Status code | Description | Response headers |
|
|
221
273
|
|-------------|-------------|------------------|
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**createdBy** | **string** | | [default to undefined]
|
|
11
11
|
**startDate** | **string** | | [default to undefined]
|
|
12
12
|
**endDate** | **string** | | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | | [default to undefined]
|
|
13
14
|
**collaborators** | [**Array<UserEntity>**](UserEntity.md) | | [default to undefined]
|
|
14
15
|
**profile** | **string** | | [default to undefined]
|
|
15
16
|
**calendar** | **Array<string>** | | [default to undefined]
|
|
@@ -27,6 +28,7 @@ const instance: CalendarEventResponse = {
|
|
|
27
28
|
createdBy,
|
|
28
29
|
startDate,
|
|
29
30
|
endDate,
|
|
31
|
+
recurrenceEndDate,
|
|
30
32
|
collaborators,
|
|
31
33
|
profile,
|
|
32
34
|
calendar,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CalendarEventsSlotsDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**Array<CalendarSlots>**](CalendarSlots.md) | Events slots response | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CalendarEventsSlotsDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: CalendarEventsSlotsDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
data,
|
|
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)
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**date** | **string** | The start date of the booking | [default to 2025-06-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-20T12:09:31+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-06-20T12:09:31+05:30]
|
|
10
11
|
**from** | **string** | | [optional] [default to undefined]
|
|
11
12
|
**to** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -35,6 +36,7 @@ import { CreateBookingPayload } from './api';
|
|
|
35
36
|
const instance: CreateBookingPayload = {
|
|
36
37
|
title,
|
|
37
38
|
date,
|
|
39
|
+
recurrenceEndDate,
|
|
38
40
|
from,
|
|
39
41
|
to,
|
|
40
42
|
venue,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**startDate** | **string** | Start date of event | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date of event | [default to undefined]
|
|
10
|
+
**recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
|
|
10
11
|
**from** | **string** | Start hour of an event | [default to undefined]
|
|
11
12
|
**to** | **string** | End hour of an event | [default to undefined]
|
|
12
13
|
**repeat** | **string** | | [default to undefined]
|
|
@@ -30,6 +31,7 @@ import { CreateEventPayloadDTO } from './api';
|
|
|
30
31
|
const instance: CreateEventPayloadDTO = {
|
|
31
32
|
startDate,
|
|
32
33
|
endDate,
|
|
34
|
+
recurrenceEndDate,
|
|
33
35
|
from,
|
|
34
36
|
to,
|
|
35
37
|
repeat,
|
package/docs/EventResponse.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**repeat** | **string** | Repeat interval for event | [default to undefined]
|
|
11
11
|
**startDate** | **string** | The start date of the booking | [default to undefined]
|
|
12
12
|
**endDate** | **string** | The end date of the booking | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
|
|
13
14
|
**pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
|
|
14
15
|
**byDay** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**byMonthDay** | **string** | | [optional] [default to undefined]
|
|
@@ -38,6 +39,7 @@ const instance: EventResponse = {
|
|
|
38
39
|
repeat,
|
|
39
40
|
startDate,
|
|
40
41
|
endDate,
|
|
42
|
+
recurrenceEndDate,
|
|
41
43
|
pattern,
|
|
42
44
|
byDay,
|
|
43
45
|
byMonthDay,
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**repeat** | **string** | Repeat interval for event | [default to undefined]
|
|
11
11
|
**startDate** | **string** | Start date of an event | [default to undefined]
|
|
12
12
|
**endDate** | **string** | End date of an event | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
|
|
13
14
|
**pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
|
|
14
15
|
**byDay** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**byMonthDay** | **string** | | [optional] [default to undefined]
|
|
@@ -47,6 +48,7 @@ const instance: PrepaidServiceEntity = {
|
|
|
47
48
|
repeat,
|
|
48
49
|
startDate,
|
|
49
50
|
endDate,
|
|
51
|
+
recurrenceEndDate,
|
|
50
52
|
pattern,
|
|
51
53
|
byDay,
|
|
52
54
|
byMonthDay,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**startDate** | **string** | Start date of event | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date of event | [default to undefined]
|
|
10
|
+
**recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
|
|
10
11
|
**from** | **string** | Start hour of an event | [default to undefined]
|
|
11
12
|
**to** | **string** | End hour of an event | [default to undefined]
|
|
12
13
|
**repeat** | **string** | | [default to undefined]
|
|
@@ -41,6 +42,7 @@ import { PrepaidServicePayloadDTO } from './api';
|
|
|
41
42
|
const instance: PrepaidServicePayloadDTO = {
|
|
42
43
|
startDate,
|
|
43
44
|
endDate,
|
|
45
|
+
recurrenceEndDate,
|
|
44
46
|
from,
|
|
45
47
|
to,
|
|
46
48
|
repeat,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2025-06-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-06-20T12:09:31+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
|
@@ -8,8 +8,9 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**startDate** | **string** | Start date for the events | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date for the events | [default to undefined]
|
|
10
10
|
**collaborators** | **Array<string>** | List of collaborators associated with the booking | [default to undefined]
|
|
11
|
-
**staffs** | **Array<string>** | List of staff associated with the booking | [default to undefined]
|
|
11
|
+
**staffs** | **Array<string>** | List of staff associated with the booking | [optional] [default to undefined]
|
|
12
12
|
**id** | **string** | Venue ID | [optional] [default to undefined]
|
|
13
|
+
**activityUser** | **boolean** | | [optional] [default to false]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: StandardBookingSlotsPayload = {
|
|
|
22
23
|
collaborators,
|
|
23
24
|
staffs,
|
|
24
25
|
id,
|
|
26
|
+
activityUser,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 2025-06-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-06-20T12:09:31+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-06-20T13:09:31+05:30]
|
|
10
10
|
**venue** | **string** | The venue of the waitlist | [default to undefined]
|
|
11
11
|
**business** | **string** | The business associated with the waitlist | [default to undefined]
|
|
12
12
|
**collaborators** | [**Array<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|
package/docs/WhatsOnEntity.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**repeat** | **string** | Repeat interval for event | [default to undefined]
|
|
11
11
|
**startDate** | **string** | Start date of an event | [default to undefined]
|
|
12
12
|
**endDate** | **string** | End date of an event | [default to undefined]
|
|
13
|
+
**recurrenceEndDate** | **string** | Recurrence end date of an event | [default to undefined]
|
|
13
14
|
**pattern** | **string** | Recurrence pattern | [optional] [default to undefined]
|
|
14
15
|
**byDay** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**byMonthDay** | **string** | | [optional] [default to undefined]
|
|
@@ -45,6 +46,7 @@ const instance: WhatsOnEntity = {
|
|
|
45
46
|
repeat,
|
|
46
47
|
startDate,
|
|
47
48
|
endDate,
|
|
49
|
+
recurrenceEndDate,
|
|
48
50
|
pattern,
|
|
49
51
|
byDay,
|
|
50
52
|
byMonthDay,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**startDate** | **string** | Start date of event | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date of event | [default to undefined]
|
|
10
|
+
**recurrenceEndDate** | **string** | Recurrence End date of event | [default to undefined]
|
|
10
11
|
**from** | **string** | Start hour of an event | [default to undefined]
|
|
11
12
|
**to** | **string** | End hour of an event | [default to undefined]
|
|
12
13
|
**repeat** | **string** | | [default to undefined]
|
|
@@ -38,6 +39,7 @@ import { WhatsOnPayloadDTO } from './api';
|
|
|
38
39
|
const instance: WhatsOnPayloadDTO = {
|
|
39
40
|
startDate,
|
|
40
41
|
endDate,
|
|
42
|
+
recurrenceEndDate,
|
|
41
43
|
from,
|
|
42
44
|
to,
|
|
43
45
|
repeat,
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**startDate** | **string** | Start date for the events | [default to undefined]
|
|
9
9
|
**endDate** | **string** | End date for the events | [default to undefined]
|
|
10
10
|
**collaborators** | **Array<string>** | List of collaborators associated with the booking | [default to undefined]
|
|
11
|
-
**staffs** | **Array<string>** | List of staff associated with the booking | [default to undefined]
|
|
11
|
+
**staffs** | **Array<string>** | List of staff associated with the booking | [optional] [default to undefined]
|
|
12
12
|
**id** | **string** | WhatsOn ID | [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|