@gooday_corp/gooday-api-client 1.4.3 → 1.4.5
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 +2 -0
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +214 -8
- package/common.ts +4 -4
- package/docs/BookingApi.md +52 -0
- package/docs/CalendarApi.md +52 -0
- package/docs/CalendarEventsSlotsDTO.md +22 -0
- package/docs/CalendarSharedPayload.md +22 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/NotificationEntity.md +2 -0
- package/docs/RescheduleBookingPayload.md +7 -1
- package/docs/SignupDto.md +2 -0
- package/docs/StandardBookingSlotsPayload.md +1 -3
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnSlotsPayload.md +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -89,9 +89,11 @@ docs/CalendarEventResponseDTO.md
|
|
|
89
89
|
docs/CalendarEvents.md
|
|
90
90
|
docs/CalendarEventsDTO.md
|
|
91
91
|
docs/CalendarEventsListPayload.md
|
|
92
|
+
docs/CalendarEventsSlotsDTO.md
|
|
92
93
|
docs/CalendarListResponse.md
|
|
93
94
|
docs/CalendarListResponseDTO.md
|
|
94
95
|
docs/CalendarResponseDTO.md
|
|
96
|
+
docs/CalendarSharedPayload.md
|
|
95
97
|
docs/CalendarSlotResponse.md
|
|
96
98
|
docs/CalendarSlots.md
|
|
97
99
|
docs/CalendarSlotsDTO.md
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.14.0
|
package/api.ts
CHANGED
|
@@ -2822,6 +2822,25 @@ export const CalendarEventsListPayloadViewEnum = {
|
|
|
2822
2822
|
|
|
2823
2823
|
export type CalendarEventsListPayloadViewEnum = typeof CalendarEventsListPayloadViewEnum[keyof typeof CalendarEventsListPayloadViewEnum];
|
|
2824
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
|
+
}
|
|
2825
2844
|
/**
|
|
2826
2845
|
*
|
|
2827
2846
|
* @export
|
|
@@ -2899,6 +2918,25 @@ export interface CalendarResponseDTO {
|
|
|
2899
2918
|
*/
|
|
2900
2919
|
'data': CalendarListResponse;
|
|
2901
2920
|
}
|
|
2921
|
+
/**
|
|
2922
|
+
*
|
|
2923
|
+
* @export
|
|
2924
|
+
* @interface CalendarSharedPayload
|
|
2925
|
+
*/
|
|
2926
|
+
export interface CalendarSharedPayload {
|
|
2927
|
+
/**
|
|
2928
|
+
* ID of the booking
|
|
2929
|
+
* @type {string}
|
|
2930
|
+
* @memberof CalendarSharedPayload
|
|
2931
|
+
*/
|
|
2932
|
+
'bookingId': string;
|
|
2933
|
+
/**
|
|
2934
|
+
* Calendar associated with the booking
|
|
2935
|
+
* @type {Array<string>}
|
|
2936
|
+
* @memberof CalendarSharedPayload
|
|
2937
|
+
*/
|
|
2938
|
+
'calendars': Array<string>;
|
|
2939
|
+
}
|
|
2902
2940
|
/**
|
|
2903
2941
|
*
|
|
2904
2942
|
* @export
|
|
@@ -5998,6 +6036,12 @@ export interface NotificationEntity {
|
|
|
5998
6036
|
* @memberof NotificationEntity
|
|
5999
6037
|
*/
|
|
6000
6038
|
'actions'?: NotificationActions;
|
|
6039
|
+
/**
|
|
6040
|
+
*
|
|
6041
|
+
* @type {string}
|
|
6042
|
+
* @memberof NotificationEntity
|
|
6043
|
+
*/
|
|
6044
|
+
'createdAt'?: string;
|
|
6001
6045
|
}
|
|
6002
6046
|
|
|
6003
6047
|
export const NotificationEntityTypeEnum = {
|
|
@@ -6022,6 +6066,7 @@ export const NotificationEntityTypeEnum = {
|
|
|
6022
6066
|
BookingAccept: 'BOOKING_ACCEPT',
|
|
6023
6067
|
BookingReject: 'BOOKING_REJECT',
|
|
6024
6068
|
InviteTodo: 'INVITE_TODO',
|
|
6069
|
+
InviteTodoFriend: 'INVITE_TODO_FRIEND',
|
|
6025
6070
|
TodoReject: 'TODO_REJECT',
|
|
6026
6071
|
TodoInviteApproved: 'TODO_INVITE_APPROVED',
|
|
6027
6072
|
TodoDeleted: 'TODO_DELETED',
|
|
@@ -6038,6 +6083,7 @@ export const NotificationEntityTypeEnum = {
|
|
|
6038
6083
|
EventDetailsUpdate: 'EVENT_DETAILS_UPDATE',
|
|
6039
6084
|
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
|
|
6040
6085
|
CalendarRemove: 'CALENDAR_REMOVE',
|
|
6086
|
+
CalendarShared: 'CALENDAR_SHARED',
|
|
6041
6087
|
BookingRescheduled: 'BOOKING_RESCHEDULED',
|
|
6042
6088
|
BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
|
|
6043
6089
|
EventRescheduled: 'EVENT_RESCHEDULED',
|
|
@@ -7125,6 +7171,24 @@ export interface RescheduleBookingPayload {
|
|
|
7125
7171
|
* @memberof RescheduleBookingPayload
|
|
7126
7172
|
*/
|
|
7127
7173
|
'to'?: string;
|
|
7174
|
+
/**
|
|
7175
|
+
*
|
|
7176
|
+
* @type {string}
|
|
7177
|
+
* @memberof RescheduleBookingPayload
|
|
7178
|
+
*/
|
|
7179
|
+
'notes'?: string;
|
|
7180
|
+
/**
|
|
7181
|
+
*
|
|
7182
|
+
* @type {Array<string>}
|
|
7183
|
+
* @memberof RescheduleBookingPayload
|
|
7184
|
+
*/
|
|
7185
|
+
'tags'?: Array<string>;
|
|
7186
|
+
/**
|
|
7187
|
+
* The list of collaborators associated with the booking
|
|
7188
|
+
* @type {Array<CreateBookingCollaboratorPayload>}
|
|
7189
|
+
* @memberof RescheduleBookingPayload
|
|
7190
|
+
*/
|
|
7191
|
+
'collaborators': Array<CreateBookingCollaboratorPayload>;
|
|
7128
7192
|
}
|
|
7129
7193
|
/**
|
|
7130
7194
|
*
|
|
@@ -7514,6 +7578,12 @@ export interface SignupDto {
|
|
|
7514
7578
|
* @memberof SignupDto
|
|
7515
7579
|
*/
|
|
7516
7580
|
'planId'?: string;
|
|
7581
|
+
/**
|
|
7582
|
+
*
|
|
7583
|
+
* @type {boolean}
|
|
7584
|
+
* @memberof SignupDto
|
|
7585
|
+
*/
|
|
7586
|
+
'isApp'?: boolean;
|
|
7517
7587
|
}
|
|
7518
7588
|
/**
|
|
7519
7589
|
*
|
|
@@ -7645,19 +7715,13 @@ export interface StandardBookingSlotsPayload {
|
|
|
7645
7715
|
* @type {Array<string>}
|
|
7646
7716
|
* @memberof StandardBookingSlotsPayload
|
|
7647
7717
|
*/
|
|
7648
|
-
'staffs'
|
|
7718
|
+
'staffs'?: Array<string>;
|
|
7649
7719
|
/**
|
|
7650
7720
|
* Venue ID
|
|
7651
7721
|
* @type {string}
|
|
7652
7722
|
* @memberof StandardBookingSlotsPayload
|
|
7653
7723
|
*/
|
|
7654
7724
|
'id'?: string;
|
|
7655
|
-
/**
|
|
7656
|
-
*
|
|
7657
|
-
* @type {boolean}
|
|
7658
|
-
* @memberof StandardBookingSlotsPayload
|
|
7659
|
-
*/
|
|
7660
|
-
'activityUser'?: boolean;
|
|
7661
7725
|
}
|
|
7662
7726
|
/**
|
|
7663
7727
|
*
|
|
@@ -9820,7 +9884,7 @@ export interface WhatsOnSlotsPayload {
|
|
|
9820
9884
|
* @type {Array<string>}
|
|
9821
9885
|
* @memberof WhatsOnSlotsPayload
|
|
9822
9886
|
*/
|
|
9823
|
-
'staffs'
|
|
9887
|
+
'staffs'?: Array<string>;
|
|
9824
9888
|
/**
|
|
9825
9889
|
* WhatsOn ID
|
|
9826
9890
|
* @type {string}
|
|
@@ -11703,6 +11767,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11703
11767
|
options: localVarRequestOptions,
|
|
11704
11768
|
};
|
|
11705
11769
|
},
|
|
11770
|
+
/**
|
|
11771
|
+
*
|
|
11772
|
+
* @param {CalendarSharedPayload} calendarSharedPayload
|
|
11773
|
+
* @param {*} [options] Override http request option.
|
|
11774
|
+
* @throws {RequiredError}
|
|
11775
|
+
*/
|
|
11776
|
+
bookingControllerCalendarInvites: async (calendarSharedPayload: CalendarSharedPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11777
|
+
// verify required parameter 'calendarSharedPayload' is not null or undefined
|
|
11778
|
+
assertParamExists('bookingControllerCalendarInvites', 'calendarSharedPayload', calendarSharedPayload)
|
|
11779
|
+
const localVarPath = `/v1/booking/calendar-shared`;
|
|
11780
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11781
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11782
|
+
let baseOptions;
|
|
11783
|
+
if (configuration) {
|
|
11784
|
+
baseOptions = configuration.baseOptions;
|
|
11785
|
+
}
|
|
11786
|
+
|
|
11787
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11788
|
+
const localVarHeaderParameter = {} as any;
|
|
11789
|
+
const localVarQueryParameter = {} as any;
|
|
11790
|
+
|
|
11791
|
+
// authentication bearer required
|
|
11792
|
+
// http bearer authentication required
|
|
11793
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11794
|
+
|
|
11795
|
+
|
|
11796
|
+
|
|
11797
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11798
|
+
|
|
11799
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11800
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11801
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11802
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarSharedPayload, localVarRequestOptions, configuration)
|
|
11803
|
+
|
|
11804
|
+
return {
|
|
11805
|
+
url: toPathString(localVarUrlObj),
|
|
11806
|
+
options: localVarRequestOptions,
|
|
11807
|
+
};
|
|
11808
|
+
},
|
|
11706
11809
|
/**
|
|
11707
11810
|
*
|
|
11708
11811
|
* @param {CancelBookingDTO} cancelBookingDTO
|
|
@@ -12262,6 +12365,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
12262
12365
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerBookingConfirmation']?.[localVarOperationServerIndex]?.url;
|
|
12263
12366
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12264
12367
|
},
|
|
12368
|
+
/**
|
|
12369
|
+
*
|
|
12370
|
+
* @param {CalendarSharedPayload} calendarSharedPayload
|
|
12371
|
+
* @param {*} [options] Override http request option.
|
|
12372
|
+
* @throws {RequiredError}
|
|
12373
|
+
*/
|
|
12374
|
+
async bookingControllerCalendarInvites(calendarSharedPayload: CalendarSharedPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
12375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerCalendarInvites(calendarSharedPayload, options);
|
|
12376
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12377
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCalendarInvites']?.[localVarOperationServerIndex]?.url;
|
|
12378
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12379
|
+
},
|
|
12265
12380
|
/**
|
|
12266
12381
|
*
|
|
12267
12382
|
* @param {CancelBookingDTO} cancelBookingDTO
|
|
@@ -12457,6 +12572,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
12457
12572
|
bookingControllerBookingConfirmation(bookingConfirmPayload: BookingConfirmPayload, options?: RawAxiosRequestConfig): AxiosPromise<CustomerBookingResponseDTO> {
|
|
12458
12573
|
return localVarFp.bookingControllerBookingConfirmation(bookingConfirmPayload, options).then((request) => request(axios, basePath));
|
|
12459
12574
|
},
|
|
12575
|
+
/**
|
|
12576
|
+
*
|
|
12577
|
+
* @param {CalendarSharedPayload} calendarSharedPayload
|
|
12578
|
+
* @param {*} [options] Override http request option.
|
|
12579
|
+
* @throws {RequiredError}
|
|
12580
|
+
*/
|
|
12581
|
+
bookingControllerCalendarInvites(calendarSharedPayload: CalendarSharedPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
12582
|
+
return localVarFp.bookingControllerCalendarInvites(calendarSharedPayload, options).then((request) => request(axios, basePath));
|
|
12583
|
+
},
|
|
12460
12584
|
/**
|
|
12461
12585
|
*
|
|
12462
12586
|
* @param {CancelBookingDTO} cancelBookingDTO
|
|
@@ -12619,6 +12743,17 @@ export class BookingApi extends BaseAPI {
|
|
|
12619
12743
|
return BookingApiFp(this.configuration).bookingControllerBookingConfirmation(bookingConfirmPayload, options).then((request) => request(this.axios, this.basePath));
|
|
12620
12744
|
}
|
|
12621
12745
|
|
|
12746
|
+
/**
|
|
12747
|
+
*
|
|
12748
|
+
* @param {CalendarSharedPayload} calendarSharedPayload
|
|
12749
|
+
* @param {*} [options] Override http request option.
|
|
12750
|
+
* @throws {RequiredError}
|
|
12751
|
+
* @memberof BookingApi
|
|
12752
|
+
*/
|
|
12753
|
+
public bookingControllerCalendarInvites(calendarSharedPayload: CalendarSharedPayload, options?: RawAxiosRequestConfig) {
|
|
12754
|
+
return BookingApiFp(this.configuration).bookingControllerCalendarInvites(calendarSharedPayload, options).then((request) => request(this.axios, this.basePath));
|
|
12755
|
+
}
|
|
12756
|
+
|
|
12622
12757
|
/**
|
|
12623
12758
|
*
|
|
12624
12759
|
* @param {CancelBookingDTO} cancelBookingDTO
|
|
@@ -14952,6 +15087,45 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14952
15087
|
options: localVarRequestOptions,
|
|
14953
15088
|
};
|
|
14954
15089
|
},
|
|
15090
|
+
/**
|
|
15091
|
+
*
|
|
15092
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
15093
|
+
* @param {*} [options] Override http request option.
|
|
15094
|
+
* @throws {RequiredError}
|
|
15095
|
+
*/
|
|
15096
|
+
calendarControllerListAvailableSlotsForEventBooking: async (standardBookingSlotsPayload: StandardBookingSlotsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15097
|
+
// verify required parameter 'standardBookingSlotsPayload' is not null or undefined
|
|
15098
|
+
assertParamExists('calendarControllerListAvailableSlotsForEventBooking', 'standardBookingSlotsPayload', standardBookingSlotsPayload)
|
|
15099
|
+
const localVarPath = `/v1/calendar/slots/standard/events`;
|
|
15100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15102
|
+
let baseOptions;
|
|
15103
|
+
if (configuration) {
|
|
15104
|
+
baseOptions = configuration.baseOptions;
|
|
15105
|
+
}
|
|
15106
|
+
|
|
15107
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15108
|
+
const localVarHeaderParameter = {} as any;
|
|
15109
|
+
const localVarQueryParameter = {} as any;
|
|
15110
|
+
|
|
15111
|
+
// authentication bearer required
|
|
15112
|
+
// http bearer authentication required
|
|
15113
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15114
|
+
|
|
15115
|
+
|
|
15116
|
+
|
|
15117
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15118
|
+
|
|
15119
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15121
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15122
|
+
localVarRequestOptions.data = serializeDataIfNeeded(standardBookingSlotsPayload, localVarRequestOptions, configuration)
|
|
15123
|
+
|
|
15124
|
+
return {
|
|
15125
|
+
url: toPathString(localVarUrlObj),
|
|
15126
|
+
options: localVarRequestOptions,
|
|
15127
|
+
};
|
|
15128
|
+
},
|
|
14955
15129
|
/**
|
|
14956
15130
|
*
|
|
14957
15131
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15433,6 +15607,18 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
15433
15607
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerDeleteCalendarInvitation']?.[localVarOperationServerIndex]?.url;
|
|
15434
15608
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15435
15609
|
},
|
|
15610
|
+
/**
|
|
15611
|
+
*
|
|
15612
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
15613
|
+
* @param {*} [options] Override http request option.
|
|
15614
|
+
* @throws {RequiredError}
|
|
15615
|
+
*/
|
|
15616
|
+
async calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsSlotsDTO>> {
|
|
15617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload, options);
|
|
15618
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15619
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListAvailableSlotsForEventBooking']?.[localVarOperationServerIndex]?.url;
|
|
15620
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15621
|
+
},
|
|
15436
15622
|
/**
|
|
15437
15623
|
*
|
|
15438
15624
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15610,6 +15796,15 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
15610
15796
|
calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation: DeleteCalendarInvitation, options?: RawAxiosRequestConfig): AxiosPromise<DeleteCalendarInvitationResponseDTO> {
|
|
15611
15797
|
return localVarFp.calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation, options).then((request) => request(axios, basePath));
|
|
15612
15798
|
},
|
|
15799
|
+
/**
|
|
15800
|
+
*
|
|
15801
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
15802
|
+
* @param {*} [options] Override http request option.
|
|
15803
|
+
* @throws {RequiredError}
|
|
15804
|
+
*/
|
|
15805
|
+
calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsSlotsDTO> {
|
|
15806
|
+
return localVarFp.calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload, options).then((request) => request(axios, basePath));
|
|
15807
|
+
},
|
|
15613
15808
|
/**
|
|
15614
15809
|
*
|
|
15615
15810
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15762,6 +15957,17 @@ export class CalendarApi extends BaseAPI {
|
|
|
15762
15957
|
return CalendarApiFp(this.configuration).calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation, options).then((request) => request(this.axios, this.basePath));
|
|
15763
15958
|
}
|
|
15764
15959
|
|
|
15960
|
+
/**
|
|
15961
|
+
*
|
|
15962
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
15963
|
+
* @param {*} [options] Override http request option.
|
|
15964
|
+
* @throws {RequiredError}
|
|
15965
|
+
* @memberof CalendarApi
|
|
15966
|
+
*/
|
|
15967
|
+
public calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig) {
|
|
15968
|
+
return CalendarApiFp(this.configuration).calendarControllerListAvailableSlotsForEventBooking(standardBookingSlotsPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15969
|
+
}
|
|
15970
|
+
|
|
15765
15971
|
/**
|
|
15766
15972
|
*
|
|
15767
15973
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
package/common.ts
CHANGED
|
@@ -89,17 +89,17 @@ function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: an
|
|
|
89
89
|
if (typeof parameter === "object") {
|
|
90
90
|
if (Array.isArray(parameter)) {
|
|
91
91
|
(parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
92
|
-
}
|
|
92
|
+
}
|
|
93
93
|
else {
|
|
94
|
-
Object.keys(parameter).forEach(currentKey =>
|
|
94
|
+
Object.keys(parameter).forEach(currentKey =>
|
|
95
95
|
setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
|
|
96
96
|
);
|
|
97
97
|
}
|
|
98
|
-
}
|
|
98
|
+
}
|
|
99
99
|
else {
|
|
100
100
|
if (urlSearchParams.has(key)) {
|
|
101
101
|
urlSearchParams.append(key, parameter);
|
|
102
|
-
}
|
|
102
|
+
}
|
|
103
103
|
else {
|
|
104
104
|
urlSearchParams.set(key, parameter);
|
|
105
105
|
}
|
package/docs/BookingApi.md
CHANGED
|
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
7
7
|
|[**bookingControllerAcceptBookingInvite**](#bookingcontrolleracceptbookinginvite) | **POST** /v1/booking/accept | |
|
|
8
8
|
|[**bookingControllerBookingCollaboratorDetail**](#bookingcontrollerbookingcollaboratordetail) | **GET** /v1/booking/collaborator-details/{id} | |
|
|
9
9
|
|[**bookingControllerBookingConfirmation**](#bookingcontrollerbookingconfirmation) | **POST** /v1/booking/confirmation | |
|
|
10
|
+
|[**bookingControllerCalendarInvites**](#bookingcontrollercalendarinvites) | **PUT** /v1/booking/calendar-shared | |
|
|
10
11
|
|[**bookingControllerCancelBooking**](#bookingcontrollercancelbooking) | **POST** /v1/booking/cancel-booking | |
|
|
11
12
|
|[**bookingControllerCreateBooking**](#bookingcontrollercreatebooking) | **POST** /v1/booking | |
|
|
12
13
|
|[**bookingControllerGetBooking**](#bookingcontrollergetbooking) | **GET** /v1/booking/{id} | |
|
|
@@ -173,6 +174,57 @@ const { status, data } = await apiInstance.bookingControllerBookingConfirmation(
|
|
|
173
174
|
|
|
174
175
|
[[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)
|
|
175
176
|
|
|
177
|
+
# **bookingControllerCalendarInvites**
|
|
178
|
+
> FindBookingResponseDTO bookingControllerCalendarInvites(calendarSharedPayload)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### Example
|
|
182
|
+
|
|
183
|
+
```typescript
|
|
184
|
+
import {
|
|
185
|
+
BookingApi,
|
|
186
|
+
Configuration,
|
|
187
|
+
CalendarSharedPayload
|
|
188
|
+
} from './api';
|
|
189
|
+
|
|
190
|
+
const configuration = new Configuration();
|
|
191
|
+
const apiInstance = new BookingApi(configuration);
|
|
192
|
+
|
|
193
|
+
let calendarSharedPayload: CalendarSharedPayload; //
|
|
194
|
+
|
|
195
|
+
const { status, data } = await apiInstance.bookingControllerCalendarInvites(
|
|
196
|
+
calendarSharedPayload
|
|
197
|
+
);
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### Parameters
|
|
201
|
+
|
|
202
|
+
|Name | Type | Description | Notes|
|
|
203
|
+
|------------- | ------------- | ------------- | -------------|
|
|
204
|
+
| **calendarSharedPayload** | **CalendarSharedPayload**| | |
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
### Return type
|
|
208
|
+
|
|
209
|
+
**FindBookingResponseDTO**
|
|
210
|
+
|
|
211
|
+
### Authorization
|
|
212
|
+
|
|
213
|
+
[bearer](../README.md#bearer)
|
|
214
|
+
|
|
215
|
+
### HTTP request headers
|
|
216
|
+
|
|
217
|
+
- **Content-Type**: application/json
|
|
218
|
+
- **Accept**: application/json
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### HTTP response details
|
|
222
|
+
| Status code | Description | Response headers |
|
|
223
|
+
|-------------|-------------|------------------|
|
|
224
|
+
|**200** | | - |
|
|
225
|
+
|
|
226
|
+
[[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)
|
|
227
|
+
|
|
176
228
|
# **bookingControllerCancelBooking**
|
|
177
229
|
> CancelBookingResponseDTO bookingControllerCancelBooking(cancelBookingDTO)
|
|
178
230
|
|
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
|
|-------------|-------------|------------------|
|
|
@@ -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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CalendarSharedPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**bookingId** | **string** | ID of the booking | [default to undefined]
|
|
9
|
+
**calendars** | **Array<string>** | Calendar associated with the booking | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CalendarSharedPayload } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: CalendarSharedPayload = {
|
|
17
|
+
bookingId,
|
|
18
|
+
calendars,
|
|
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,8 +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-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-07-02T18:06:47+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-02T18:06:47+05:30]
|
|
11
11
|
**from** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**to** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**isRead** | **boolean** | Indicates if the notification has been read (optional) | [default to false]
|
|
15
15
|
**isAction** | **boolean** | | [default to false]
|
|
16
16
|
**actions** | [**NotificationActions**](NotificationActions.md) | Additional metadata associated with the notification (optional) | [optional] [default to undefined]
|
|
17
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
17
18
|
|
|
18
19
|
## Example
|
|
19
20
|
|
|
@@ -30,6 +31,7 @@ const instance: NotificationEntity = {
|
|
|
30
31
|
isRead,
|
|
31
32
|
isAction,
|
|
32
33
|
actions,
|
|
34
|
+
createdAt,
|
|
33
35
|
};
|
|
34
36
|
```
|
|
35
37
|
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2025-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-07-02T18:06:47+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**notes** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
13
|
+
**collaborators** | [**Array<CreateBookingCollaboratorPayload>**](CreateBookingCollaboratorPayload.md) | The list of collaborators associated with the booking | [default to undefined]
|
|
11
14
|
|
|
12
15
|
## Example
|
|
13
16
|
|
|
@@ -18,6 +21,9 @@ const instance: RescheduleBookingPayload = {
|
|
|
18
21
|
date,
|
|
19
22
|
from,
|
|
20
23
|
to,
|
|
24
|
+
notes,
|
|
25
|
+
tags,
|
|
26
|
+
collaborators,
|
|
21
27
|
};
|
|
22
28
|
```
|
|
23
29
|
|
package/docs/SignupDto.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**email** | **string** | The email of the user | [default to undefined]
|
|
13
13
|
**password** | **string** | User Profile Name | [default to undefined]
|
|
14
14
|
**planId** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**isApp** | **boolean** | | [optional] [default to true]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -26,6 +27,7 @@ const instance: SignupDto = {
|
|
|
26
27
|
email,
|
|
27
28
|
password,
|
|
28
29
|
planId,
|
|
30
|
+
isApp,
|
|
29
31
|
};
|
|
30
32
|
```
|
|
31
33
|
|
|
@@ -8,9 +8,8 @@ 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]
|
|
14
13
|
|
|
15
14
|
## Example
|
|
16
15
|
|
|
@@ -23,7 +22,6 @@ const instance: StandardBookingSlotsPayload = {
|
|
|
23
22
|
collaborators,
|
|
24
23
|
staffs,
|
|
25
24
|
id,
|
|
26
|
-
activityUser,
|
|
27
25
|
};
|
|
28
26
|
```
|
|
29
27
|
|
|
@@ -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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-07-02T18:06:47+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-07-02T19:06:47+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]
|
|
@@ -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
|