@gooday_corp/gooday-api-client 1.3.72 → 1.3.76
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 +4 -0
- package/api.ts +222 -0
- package/docs/CalendarApi.md +52 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/DeleteCalendarInvitation.md +22 -0
- package/docs/DeleteCalendarInvitationResponseDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UserEntity.md +2 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +51 -0
- package/docs/WhatsOnFavoriteCounts.md +22 -0
- package/docs/WhatsOnFavoriteCountsDTO.md +22 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -117,6 +117,8 @@ docs/CustomerEntity.md
|
|
|
117
117
|
docs/CustomerFilter.md
|
|
118
118
|
docs/CustomerResponseDTO.md
|
|
119
119
|
docs/DeclineFriendshipRequestPayload.md
|
|
120
|
+
docs/DeleteCalendarInvitation.md
|
|
121
|
+
docs/DeleteCalendarInvitationResponseDTO.md
|
|
120
122
|
docs/DeviceAddResponse.md
|
|
121
123
|
docs/DeviceApi.md
|
|
122
124
|
docs/DeviceEntity.md
|
|
@@ -313,6 +315,8 @@ docs/WhatsOnDeleteResponseDTO.md
|
|
|
313
315
|
docs/WhatsOnEntity.md
|
|
314
316
|
docs/WhatsOnFavoriteCount.md
|
|
315
317
|
docs/WhatsOnFavoriteCountResponseDTO.md
|
|
318
|
+
docs/WhatsOnFavoriteCounts.md
|
|
319
|
+
docs/WhatsOnFavoriteCountsDTO.md
|
|
316
320
|
docs/WhatsOnFavoriteDTO.md
|
|
317
321
|
docs/WhatsOnFavoriteListResponseDTO.md
|
|
318
322
|
docs/WhatsOnFavoriteResponse.md
|
package/api.ts
CHANGED
|
@@ -3737,6 +3737,44 @@ export interface DeclineFriendshipRequestPayload {
|
|
|
3737
3737
|
*/
|
|
3738
3738
|
'from': string;
|
|
3739
3739
|
}
|
|
3740
|
+
/**
|
|
3741
|
+
*
|
|
3742
|
+
* @export
|
|
3743
|
+
* @interface DeleteCalendarInvitation
|
|
3744
|
+
*/
|
|
3745
|
+
export interface DeleteCalendarInvitation {
|
|
3746
|
+
/**
|
|
3747
|
+
*
|
|
3748
|
+
* @type {string}
|
|
3749
|
+
* @memberof DeleteCalendarInvitation
|
|
3750
|
+
*/
|
|
3751
|
+
'calendar': string;
|
|
3752
|
+
/**
|
|
3753
|
+
*
|
|
3754
|
+
* @type {string}
|
|
3755
|
+
* @memberof DeleteCalendarInvitation
|
|
3756
|
+
*/
|
|
3757
|
+
'to': string;
|
|
3758
|
+
}
|
|
3759
|
+
/**
|
|
3760
|
+
*
|
|
3761
|
+
* @export
|
|
3762
|
+
* @interface DeleteCalendarInvitationResponseDTO
|
|
3763
|
+
*/
|
|
3764
|
+
export interface DeleteCalendarInvitationResponseDTO {
|
|
3765
|
+
/**
|
|
3766
|
+
* statusCode
|
|
3767
|
+
* @type {number}
|
|
3768
|
+
* @memberof DeleteCalendarInvitationResponseDTO
|
|
3769
|
+
*/
|
|
3770
|
+
'statusCode': number;
|
|
3771
|
+
/**
|
|
3772
|
+
*
|
|
3773
|
+
* @type {boolean}
|
|
3774
|
+
* @memberof DeleteCalendarInvitationResponseDTO
|
|
3775
|
+
*/
|
|
3776
|
+
'data': boolean;
|
|
3777
|
+
}
|
|
3740
3778
|
/**
|
|
3741
3779
|
*
|
|
3742
3780
|
* @export
|
|
@@ -8167,6 +8205,12 @@ export interface UserEntity {
|
|
|
8167
8205
|
* @memberof UserEntity
|
|
8168
8206
|
*/
|
|
8169
8207
|
'hangout': boolean;
|
|
8208
|
+
/**
|
|
8209
|
+
*
|
|
8210
|
+
* @type {Array<string>}
|
|
8211
|
+
* @memberof UserEntity
|
|
8212
|
+
*/
|
|
8213
|
+
'friends': Array<string>;
|
|
8170
8214
|
}
|
|
8171
8215
|
|
|
8172
8216
|
export const UserEntityRoleEnum = {
|
|
@@ -9059,6 +9103,44 @@ export interface WhatsOnFavoriteCountResponseDTO {
|
|
|
9059
9103
|
*/
|
|
9060
9104
|
'data': WhatsOnFavoriteCount;
|
|
9061
9105
|
}
|
|
9106
|
+
/**
|
|
9107
|
+
*
|
|
9108
|
+
* @export
|
|
9109
|
+
* @interface WhatsOnFavoriteCounts
|
|
9110
|
+
*/
|
|
9111
|
+
export interface WhatsOnFavoriteCounts {
|
|
9112
|
+
/**
|
|
9113
|
+
*
|
|
9114
|
+
* @type {number}
|
|
9115
|
+
* @memberof WhatsOnFavoriteCounts
|
|
9116
|
+
*/
|
|
9117
|
+
'whatsOnFavorite': number;
|
|
9118
|
+
/**
|
|
9119
|
+
*
|
|
9120
|
+
* @type {Array<UserEntity>}
|
|
9121
|
+
* @memberof WhatsOnFavoriteCounts
|
|
9122
|
+
*/
|
|
9123
|
+
'whatsOnFavoriteByFriend': Array<UserEntity>;
|
|
9124
|
+
}
|
|
9125
|
+
/**
|
|
9126
|
+
*
|
|
9127
|
+
* @export
|
|
9128
|
+
* @interface WhatsOnFavoriteCountsDTO
|
|
9129
|
+
*/
|
|
9130
|
+
export interface WhatsOnFavoriteCountsDTO {
|
|
9131
|
+
/**
|
|
9132
|
+
* statusCode
|
|
9133
|
+
* @type {number}
|
|
9134
|
+
* @memberof WhatsOnFavoriteCountsDTO
|
|
9135
|
+
*/
|
|
9136
|
+
'statusCode': number;
|
|
9137
|
+
/**
|
|
9138
|
+
*
|
|
9139
|
+
* @type {WhatsOnFavoriteCounts}
|
|
9140
|
+
* @memberof WhatsOnFavoriteCountsDTO
|
|
9141
|
+
*/
|
|
9142
|
+
'data': WhatsOnFavoriteCounts;
|
|
9143
|
+
}
|
|
9062
9144
|
/**
|
|
9063
9145
|
*
|
|
9064
9146
|
* @export
|
|
@@ -14580,6 +14662,45 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
14580
14662
|
options: localVarRequestOptions,
|
|
14581
14663
|
};
|
|
14582
14664
|
},
|
|
14665
|
+
/**
|
|
14666
|
+
*
|
|
14667
|
+
* @param {DeleteCalendarInvitation} deleteCalendarInvitation
|
|
14668
|
+
* @param {*} [options] Override http request option.
|
|
14669
|
+
* @throws {RequiredError}
|
|
14670
|
+
*/
|
|
14671
|
+
calendarControllerDeleteCalendarInvitation: async (deleteCalendarInvitation: DeleteCalendarInvitation, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14672
|
+
// verify required parameter 'deleteCalendarInvitation' is not null or undefined
|
|
14673
|
+
assertParamExists('calendarControllerDeleteCalendarInvitation', 'deleteCalendarInvitation', deleteCalendarInvitation)
|
|
14674
|
+
const localVarPath = `/v1/calendar/invitation`;
|
|
14675
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14676
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14677
|
+
let baseOptions;
|
|
14678
|
+
if (configuration) {
|
|
14679
|
+
baseOptions = configuration.baseOptions;
|
|
14680
|
+
}
|
|
14681
|
+
|
|
14682
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
14683
|
+
const localVarHeaderParameter = {} as any;
|
|
14684
|
+
const localVarQueryParameter = {} as any;
|
|
14685
|
+
|
|
14686
|
+
// authentication bearer required
|
|
14687
|
+
// http bearer authentication required
|
|
14688
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14689
|
+
|
|
14690
|
+
|
|
14691
|
+
|
|
14692
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14693
|
+
|
|
14694
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14695
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14696
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14697
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteCalendarInvitation, localVarRequestOptions, configuration)
|
|
14698
|
+
|
|
14699
|
+
return {
|
|
14700
|
+
url: toPathString(localVarUrlObj),
|
|
14701
|
+
options: localVarRequestOptions,
|
|
14702
|
+
};
|
|
14703
|
+
},
|
|
14583
14704
|
/**
|
|
14584
14705
|
*
|
|
14585
14706
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15049,6 +15170,18 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
15049
15170
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerCreateSharedCalendar']?.[localVarOperationServerIndex]?.url;
|
|
15050
15171
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15051
15172
|
},
|
|
15173
|
+
/**
|
|
15174
|
+
*
|
|
15175
|
+
* @param {DeleteCalendarInvitation} deleteCalendarInvitation
|
|
15176
|
+
* @param {*} [options] Override http request option.
|
|
15177
|
+
* @throws {RequiredError}
|
|
15178
|
+
*/
|
|
15179
|
+
async calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation: DeleteCalendarInvitation, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteCalendarInvitationResponseDTO>> {
|
|
15180
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation, options);
|
|
15181
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15182
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerDeleteCalendarInvitation']?.[localVarOperationServerIndex]?.url;
|
|
15183
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15184
|
+
},
|
|
15052
15185
|
/**
|
|
15053
15186
|
*
|
|
15054
15187
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15217,6 +15350,15 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
15217
15350
|
calendarControllerCreateSharedCalendar(createCalendarPayload: CreateCalendarPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarResponseDTO> {
|
|
15218
15351
|
return localVarFp.calendarControllerCreateSharedCalendar(createCalendarPayload, options).then((request) => request(axios, basePath));
|
|
15219
15352
|
},
|
|
15353
|
+
/**
|
|
15354
|
+
*
|
|
15355
|
+
* @param {DeleteCalendarInvitation} deleteCalendarInvitation
|
|
15356
|
+
* @param {*} [options] Override http request option.
|
|
15357
|
+
* @throws {RequiredError}
|
|
15358
|
+
*/
|
|
15359
|
+
calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation: DeleteCalendarInvitation, options?: RawAxiosRequestConfig): AxiosPromise<DeleteCalendarInvitationResponseDTO> {
|
|
15360
|
+
return localVarFp.calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation, options).then((request) => request(axios, basePath));
|
|
15361
|
+
},
|
|
15220
15362
|
/**
|
|
15221
15363
|
*
|
|
15222
15364
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -15358,6 +15500,17 @@ export class CalendarApi extends BaseAPI {
|
|
|
15358
15500
|
return CalendarApiFp(this.configuration).calendarControllerCreateSharedCalendar(createCalendarPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15359
15501
|
}
|
|
15360
15502
|
|
|
15503
|
+
/**
|
|
15504
|
+
*
|
|
15505
|
+
* @param {DeleteCalendarInvitation} deleteCalendarInvitation
|
|
15506
|
+
* @param {*} [options] Override http request option.
|
|
15507
|
+
* @throws {RequiredError}
|
|
15508
|
+
* @memberof CalendarApi
|
|
15509
|
+
*/
|
|
15510
|
+
public calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation: DeleteCalendarInvitation, options?: RawAxiosRequestConfig) {
|
|
15511
|
+
return CalendarApiFp(this.configuration).calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation, options).then((request) => request(this.axios, this.basePath));
|
|
15512
|
+
}
|
|
15513
|
+
|
|
15361
15514
|
/**
|
|
15362
15515
|
*
|
|
15363
15516
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -23733,6 +23886,43 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
23733
23886
|
|
|
23734
23887
|
|
|
23735
23888
|
|
|
23889
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23890
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23891
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23892
|
+
|
|
23893
|
+
return {
|
|
23894
|
+
url: toPathString(localVarUrlObj),
|
|
23895
|
+
options: localVarRequestOptions,
|
|
23896
|
+
};
|
|
23897
|
+
},
|
|
23898
|
+
/**
|
|
23899
|
+
*
|
|
23900
|
+
* @param {string} id
|
|
23901
|
+
* @param {*} [options] Override http request option.
|
|
23902
|
+
* @throws {RequiredError}
|
|
23903
|
+
*/
|
|
23904
|
+
whatsOnControllerFindFavoriteWhatOnCountAndList: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23905
|
+
// verify required parameter 'id' is not null or undefined
|
|
23906
|
+
assertParamExists('whatsOnControllerFindFavoriteWhatOnCountAndList', 'id', id)
|
|
23907
|
+
const localVarPath = `/v1/whats-on/favorite/count-and-list/{id}`
|
|
23908
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
23909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23910
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23911
|
+
let baseOptions;
|
|
23912
|
+
if (configuration) {
|
|
23913
|
+
baseOptions = configuration.baseOptions;
|
|
23914
|
+
}
|
|
23915
|
+
|
|
23916
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23917
|
+
const localVarHeaderParameter = {} as any;
|
|
23918
|
+
const localVarQueryParameter = {} as any;
|
|
23919
|
+
|
|
23920
|
+
// authentication bearer required
|
|
23921
|
+
// http bearer authentication required
|
|
23922
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23923
|
+
|
|
23924
|
+
|
|
23925
|
+
|
|
23736
23926
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23737
23927
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23738
23928
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24307,6 +24497,18 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
24307
24497
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFavoriteWhatOnCount']?.[localVarOperationServerIndex]?.url;
|
|
24308
24498
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24309
24499
|
},
|
|
24500
|
+
/**
|
|
24501
|
+
*
|
|
24502
|
+
* @param {string} id
|
|
24503
|
+
* @param {*} [options] Override http request option.
|
|
24504
|
+
* @throws {RequiredError}
|
|
24505
|
+
*/
|
|
24506
|
+
async whatsOnControllerFindFavoriteWhatOnCountAndList(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteCountsDTO>> {
|
|
24507
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatOnCountAndList(id, options);
|
|
24508
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24509
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFavoriteWhatOnCountAndList']?.[localVarOperationServerIndex]?.url;
|
|
24510
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24511
|
+
},
|
|
24310
24512
|
/**
|
|
24311
24513
|
*
|
|
24312
24514
|
* @param {number} page
|
|
@@ -24519,6 +24721,15 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
24519
24721
|
whatsOnControllerFindFavoriteWhatOnCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteCountResponseDTO> {
|
|
24520
24722
|
return localVarFp.whatsOnControllerFindFavoriteWhatOnCount(id, options).then((request) => request(axios, basePath));
|
|
24521
24723
|
},
|
|
24724
|
+
/**
|
|
24725
|
+
*
|
|
24726
|
+
* @param {string} id
|
|
24727
|
+
* @param {*} [options] Override http request option.
|
|
24728
|
+
* @throws {RequiredError}
|
|
24729
|
+
*/
|
|
24730
|
+
whatsOnControllerFindFavoriteWhatOnCountAndList(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteCountsDTO> {
|
|
24731
|
+
return localVarFp.whatsOnControllerFindFavoriteWhatOnCountAndList(id, options).then((request) => request(axios, basePath));
|
|
24732
|
+
},
|
|
24522
24733
|
/**
|
|
24523
24734
|
*
|
|
24524
24735
|
* @param {number} page
|
|
@@ -24707,6 +24918,17 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
24707
24918
|
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteWhatOnCount(id, options).then((request) => request(this.axios, this.basePath));
|
|
24708
24919
|
}
|
|
24709
24920
|
|
|
24921
|
+
/**
|
|
24922
|
+
*
|
|
24923
|
+
* @param {string} id
|
|
24924
|
+
* @param {*} [options] Override http request option.
|
|
24925
|
+
* @throws {RequiredError}
|
|
24926
|
+
* @memberof WhatsOnApi
|
|
24927
|
+
*/
|
|
24928
|
+
public whatsOnControllerFindFavoriteWhatOnCountAndList(id: string, options?: RawAxiosRequestConfig) {
|
|
24929
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteWhatOnCountAndList(id, options).then((request) => request(this.axios, this.basePath));
|
|
24930
|
+
}
|
|
24931
|
+
|
|
24710
24932
|
/**
|
|
24711
24933
|
*
|
|
24712
24934
|
* @param {number} page
|
package/docs/CalendarApi.md
CHANGED
|
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
7
7
|
|[**calendarControllerAcceptCalendarInvite**](#calendarcontrolleracceptcalendarinvite) | **POST** /v1/calendar/invite/accept | |
|
|
8
8
|
|[**calendarControllerCollaboratorsByCalendar**](#calendarcontrollercollaboratorsbycalendar) | **GET** /v1/calendar/{id}/collaborators | |
|
|
9
9
|
|[**calendarControllerCreateSharedCalendar**](#calendarcontrollercreatesharedcalendar) | **POST** /v1/calendar | |
|
|
10
|
+
|[**calendarControllerDeleteCalendarInvitation**](#calendarcontrollerdeletecalendarinvitation) | **PUT** /v1/calendar/invitation | |
|
|
10
11
|
|[**calendarControllerListCalendarsEvents**](#calendarcontrollerlistcalendarsevents) | **POST** /v1/calendar/list-events | |
|
|
11
12
|
|[**calendarControllerListEvents**](#calendarcontrollerlistevents) | **POST** /v1/calendar/events | |
|
|
12
13
|
|[**calendarControllerListMyCalendar**](#calendarcontrollerlistmycalendar) | **GET** /v1/calendar | |
|
|
@@ -164,6 +165,57 @@ const { status, data } = await apiInstance.calendarControllerCreateSharedCalenda
|
|
|
164
165
|
- **Accept**: application/json
|
|
165
166
|
|
|
166
167
|
|
|
168
|
+
### HTTP response details
|
|
169
|
+
| Status code | Description | Response headers |
|
|
170
|
+
|-------------|-------------|------------------|
|
|
171
|
+
|**0** | | - |
|
|
172
|
+
|
|
173
|
+
[[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)
|
|
174
|
+
|
|
175
|
+
# **calendarControllerDeleteCalendarInvitation**
|
|
176
|
+
> DeleteCalendarInvitationResponseDTO calendarControllerDeleteCalendarInvitation(deleteCalendarInvitation)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
### Example
|
|
180
|
+
|
|
181
|
+
```typescript
|
|
182
|
+
import {
|
|
183
|
+
CalendarApi,
|
|
184
|
+
Configuration,
|
|
185
|
+
DeleteCalendarInvitation
|
|
186
|
+
} from './api';
|
|
187
|
+
|
|
188
|
+
const configuration = new Configuration();
|
|
189
|
+
const apiInstance = new CalendarApi(configuration);
|
|
190
|
+
|
|
191
|
+
let deleteCalendarInvitation: DeleteCalendarInvitation; //
|
|
192
|
+
|
|
193
|
+
const { status, data } = await apiInstance.calendarControllerDeleteCalendarInvitation(
|
|
194
|
+
deleteCalendarInvitation
|
|
195
|
+
);
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Parameters
|
|
199
|
+
|
|
200
|
+
|Name | Type | Description | Notes|
|
|
201
|
+
|------------- | ------------- | ------------- | -------------|
|
|
202
|
+
| **deleteCalendarInvitation** | **DeleteCalendarInvitation**| | |
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### Return type
|
|
206
|
+
|
|
207
|
+
**DeleteCalendarInvitationResponseDTO**
|
|
208
|
+
|
|
209
|
+
### Authorization
|
|
210
|
+
|
|
211
|
+
[bearer](../README.md#bearer)
|
|
212
|
+
|
|
213
|
+
### HTTP request headers
|
|
214
|
+
|
|
215
|
+
- **Content-Type**: application/json
|
|
216
|
+
- **Accept**: application/json
|
|
217
|
+
|
|
218
|
+
|
|
167
219
|
### HTTP response details
|
|
168
220
|
| Status code | Description | Response headers |
|
|
169
221
|
|-------------|-------------|------------------|
|
|
@@ -6,7 +6,7 @@
|
|
|
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-05-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-26T10:30:24+05:30]
|
|
10
10
|
**from** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**to** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# DeleteCalendarInvitation
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**calendar** | **string** | | [default to undefined]
|
|
9
|
+
**to** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DeleteCalendarInvitation } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: DeleteCalendarInvitation = {
|
|
17
|
+
calendar,
|
|
18
|
+
to,
|
|
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
|
+
# DeleteCalendarInvitationResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | **boolean** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DeleteCalendarInvitationResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: DeleteCalendarInvitationResponseDTO = {
|
|
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)
|
|
@@ -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-05-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-26T10:30:24+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
package/docs/UserEntity.md
CHANGED
|
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
|
|
|
31
31
|
**streak** | **number** | User daily streak | [default to undefined]
|
|
32
32
|
**pendingAction** | **Array<string>** | Action user has to perform | [optional] [default to undefined]
|
|
33
33
|
**hangout** | **boolean** | | [default to false]
|
|
34
|
+
**friends** | **Array<string>** | | [default to undefined]
|
|
34
35
|
|
|
35
36
|
## Example
|
|
36
37
|
|
|
@@ -64,6 +65,7 @@ const instance: UserEntity = {
|
|
|
64
65
|
streak,
|
|
65
66
|
pendingAction,
|
|
66
67
|
hangout,
|
|
68
|
+
friends,
|
|
67
69
|
};
|
|
68
70
|
```
|
|
69
71
|
|
|
@@ -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-05-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-05-26T10:30:24+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-26T11:30:24+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/WhatsOnApi.md
CHANGED
|
@@ -10,6 +10,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
10
10
|
|[**whatsOnControllerFilterWhatsOn**](#whatsoncontrollerfilterwhatson) | **POST** /v1/whats-on/filter/list | |
|
|
11
11
|
|[**whatsOnControllerFindCategoryBaseWhatsOn**](#whatsoncontrollerfindcategorybasewhatson) | **POST** /v1/whats-on/categories/list | |
|
|
12
12
|
|[**whatsOnControllerFindFavoriteWhatOnCount**](#whatsoncontrollerfindfavoritewhatoncount) | **GET** /v1/whats-on/favorite/count/{id} | |
|
|
13
|
+
|[**whatsOnControllerFindFavoriteWhatOnCountAndList**](#whatsoncontrollerfindfavoritewhatoncountandlist) | **GET** /v1/whats-on/favorite/count-and-list/{id} | |
|
|
13
14
|
|[**whatsOnControllerFindFavoriteWhatsOnList**](#whatsoncontrollerfindfavoritewhatsonlist) | **GET** /v1/whats-on/friends/favorite | |
|
|
14
15
|
|[**whatsOnControllerFindMyFavoriteWhatsOnList**](#whatsoncontrollerfindmyfavoritewhatsonlist) | **GET** /v1/whats-on/myfavorite | |
|
|
15
16
|
|[**whatsOnControllerFindWhatsOn**](#whatsoncontrollerfindwhatson) | **POST** /v1/whats-on/list | |
|
|
@@ -320,6 +321,56 @@ const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatOnCo
|
|
|
320
321
|
- **Accept**: application/json
|
|
321
322
|
|
|
322
323
|
|
|
324
|
+
### HTTP response details
|
|
325
|
+
| Status code | Description | Response headers |
|
|
326
|
+
|-------------|-------------|------------------|
|
|
327
|
+
|**200** | | - |
|
|
328
|
+
|
|
329
|
+
[[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)
|
|
330
|
+
|
|
331
|
+
# **whatsOnControllerFindFavoriteWhatOnCountAndList**
|
|
332
|
+
> WhatsOnFavoriteCountsDTO whatsOnControllerFindFavoriteWhatOnCountAndList()
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
### Example
|
|
336
|
+
|
|
337
|
+
```typescript
|
|
338
|
+
import {
|
|
339
|
+
WhatsOnApi,
|
|
340
|
+
Configuration
|
|
341
|
+
} from './api';
|
|
342
|
+
|
|
343
|
+
const configuration = new Configuration();
|
|
344
|
+
const apiInstance = new WhatsOnApi(configuration);
|
|
345
|
+
|
|
346
|
+
let id: string; // (default to undefined)
|
|
347
|
+
|
|
348
|
+
const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatOnCountAndList(
|
|
349
|
+
id
|
|
350
|
+
);
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
### Parameters
|
|
354
|
+
|
|
355
|
+
|Name | Type | Description | Notes|
|
|
356
|
+
|------------- | ------------- | ------------- | -------------|
|
|
357
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
### Return type
|
|
361
|
+
|
|
362
|
+
**WhatsOnFavoriteCountsDTO**
|
|
363
|
+
|
|
364
|
+
### Authorization
|
|
365
|
+
|
|
366
|
+
[bearer](../README.md#bearer)
|
|
367
|
+
|
|
368
|
+
### HTTP request headers
|
|
369
|
+
|
|
370
|
+
- **Content-Type**: Not defined
|
|
371
|
+
- **Accept**: application/json
|
|
372
|
+
|
|
373
|
+
|
|
323
374
|
### HTTP response details
|
|
324
375
|
| Status code | Description | Response headers |
|
|
325
376
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# WhatsOnFavoriteCounts
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**whatsOnFavorite** | **number** | | [default to undefined]
|
|
9
|
+
**whatsOnFavoriteByFriend** | [**Array<UserEntity>**](UserEntity.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { WhatsOnFavoriteCounts } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: WhatsOnFavoriteCounts = {
|
|
17
|
+
whatsOnFavorite,
|
|
18
|
+
whatsOnFavoriteByFriend,
|
|
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
|
+
# WhatsOnFavoriteCountsDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**WhatsOnFavoriteCounts**](WhatsOnFavoriteCounts.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { WhatsOnFavoriteCountsDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: WhatsOnFavoriteCountsDTO = {
|
|
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)
|