@gooday_corp/gooday-api-client 1.3.0 → 1.3.2
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/api.ts +343 -50
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2234,6 +2234,105 @@ export interface CalendarDTO {
|
|
|
2234
2234
|
*/
|
|
2235
2235
|
'data': boolean;
|
|
2236
2236
|
}
|
|
2237
|
+
/**
|
|
2238
|
+
*
|
|
2239
|
+
* @export
|
|
2240
|
+
* @interface CalendarEventDTO
|
|
2241
|
+
*/
|
|
2242
|
+
export interface CalendarEventDTO {
|
|
2243
|
+
/**
|
|
2244
|
+
* Calendar bookings response
|
|
2245
|
+
* @type {Array<CalendarEventResponse>}
|
|
2246
|
+
* @memberof CalendarEventDTO
|
|
2247
|
+
*/
|
|
2248
|
+
'bookings': Array<CalendarEventResponse>;
|
|
2249
|
+
/**
|
|
2250
|
+
* Calendar events response
|
|
2251
|
+
* @type {Array<CalendarEventResponse>}
|
|
2252
|
+
* @memberof CalendarEventDTO
|
|
2253
|
+
*/
|
|
2254
|
+
'events': Array<CalendarEventResponse>;
|
|
2255
|
+
}
|
|
2256
|
+
/**
|
|
2257
|
+
*
|
|
2258
|
+
* @export
|
|
2259
|
+
* @interface CalendarEventResponse
|
|
2260
|
+
*/
|
|
2261
|
+
export interface CalendarEventResponse {
|
|
2262
|
+
/**
|
|
2263
|
+
* The unique identifier of the events
|
|
2264
|
+
* @type {string}
|
|
2265
|
+
* @memberof CalendarEventResponse
|
|
2266
|
+
*/
|
|
2267
|
+
'_id': string;
|
|
2268
|
+
/**
|
|
2269
|
+
*
|
|
2270
|
+
* @type {string}
|
|
2271
|
+
* @memberof CalendarEventResponse
|
|
2272
|
+
*/
|
|
2273
|
+
'title': string;
|
|
2274
|
+
/**
|
|
2275
|
+
*
|
|
2276
|
+
* @type {string}
|
|
2277
|
+
* @memberof CalendarEventResponse
|
|
2278
|
+
*/
|
|
2279
|
+
'createdBy': string;
|
|
2280
|
+
/**
|
|
2281
|
+
*
|
|
2282
|
+
* @type {string}
|
|
2283
|
+
* @memberof CalendarEventResponse
|
|
2284
|
+
*/
|
|
2285
|
+
'startDate': string;
|
|
2286
|
+
/**
|
|
2287
|
+
*
|
|
2288
|
+
* @type {string}
|
|
2289
|
+
* @memberof CalendarEventResponse
|
|
2290
|
+
*/
|
|
2291
|
+
'endDate': string;
|
|
2292
|
+
/**
|
|
2293
|
+
*
|
|
2294
|
+
* @type {Array<UserEntity>}
|
|
2295
|
+
* @memberof CalendarEventResponse
|
|
2296
|
+
*/
|
|
2297
|
+
'collaborators': Array<UserEntity>;
|
|
2298
|
+
/**
|
|
2299
|
+
*
|
|
2300
|
+
* @type {string}
|
|
2301
|
+
* @memberof CalendarEventResponse
|
|
2302
|
+
*/
|
|
2303
|
+
'profile': string;
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @type {Array<string>}
|
|
2307
|
+
* @memberof CalendarEventResponse
|
|
2308
|
+
*/
|
|
2309
|
+
'calendar': Array<string>;
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @type {string}
|
|
2313
|
+
* @memberof CalendarEventResponse
|
|
2314
|
+
*/
|
|
2315
|
+
'status': string;
|
|
2316
|
+
}
|
|
2317
|
+
/**
|
|
2318
|
+
*
|
|
2319
|
+
* @export
|
|
2320
|
+
* @interface CalendarEventResponseDTO
|
|
2321
|
+
*/
|
|
2322
|
+
export interface CalendarEventResponseDTO {
|
|
2323
|
+
/**
|
|
2324
|
+
* statusCode
|
|
2325
|
+
* @type {number}
|
|
2326
|
+
* @memberof CalendarEventResponseDTO
|
|
2327
|
+
*/
|
|
2328
|
+
'statusCode': number;
|
|
2329
|
+
/**
|
|
2330
|
+
* Calendar events response
|
|
2331
|
+
* @type {CalendarEventDTO}
|
|
2332
|
+
* @memberof CalendarEventResponseDTO
|
|
2333
|
+
*/
|
|
2334
|
+
'data': CalendarEventDTO;
|
|
2335
|
+
}
|
|
2237
2336
|
/**
|
|
2238
2337
|
*
|
|
2239
2338
|
* @export
|
|
@@ -2482,6 +2581,25 @@ export interface CalendarSlotsDTO {
|
|
|
2482
2581
|
*/
|
|
2483
2582
|
'data': Array<CalendarSlotResponse>;
|
|
2484
2583
|
}
|
|
2584
|
+
/**
|
|
2585
|
+
*
|
|
2586
|
+
* @export
|
|
2587
|
+
* @interface CalendarSocialEventResponseDTO
|
|
2588
|
+
*/
|
|
2589
|
+
export interface CalendarSocialEventResponseDTO {
|
|
2590
|
+
/**
|
|
2591
|
+
* statusCode
|
|
2592
|
+
* @type {number}
|
|
2593
|
+
* @memberof CalendarSocialEventResponseDTO
|
|
2594
|
+
*/
|
|
2595
|
+
'statusCode': number;
|
|
2596
|
+
/**
|
|
2597
|
+
* Calendar events response
|
|
2598
|
+
* @type {Array<CalendarEventResponse>}
|
|
2599
|
+
* @memberof CalendarSocialEventResponseDTO
|
|
2600
|
+
*/
|
|
2601
|
+
'data': Array<CalendarEventResponse>;
|
|
2602
|
+
}
|
|
2485
2603
|
/**
|
|
2486
2604
|
*
|
|
2487
2605
|
* @export
|
|
@@ -2918,64 +3036,93 @@ export type CreateEventCollaboratorPayloadStatusEnum = typeof CreateEventCollabo
|
|
|
2918
3036
|
/**
|
|
2919
3037
|
*
|
|
2920
3038
|
* @export
|
|
2921
|
-
* @interface
|
|
3039
|
+
* @interface CreateEventPayloadDTO
|
|
2922
3040
|
*/
|
|
2923
|
-
export interface
|
|
3041
|
+
export interface CreateEventPayloadDTO {
|
|
2924
3042
|
/**
|
|
2925
|
-
*
|
|
3043
|
+
* Start date of event
|
|
2926
3044
|
* @type {string}
|
|
2927
|
-
* @memberof
|
|
3045
|
+
* @memberof CreateEventPayloadDTO
|
|
2928
3046
|
*/
|
|
2929
|
-
'
|
|
3047
|
+
'startDate': string;
|
|
2930
3048
|
/**
|
|
2931
|
-
*
|
|
3049
|
+
* End date of event
|
|
2932
3050
|
* @type {string}
|
|
2933
|
-
* @memberof
|
|
3051
|
+
* @memberof CreateEventPayloadDTO
|
|
2934
3052
|
*/
|
|
2935
|
-
'
|
|
3053
|
+
'endDate': string;
|
|
2936
3054
|
/**
|
|
2937
|
-
*
|
|
3055
|
+
* Start hour of an event
|
|
2938
3056
|
* @type {string}
|
|
2939
|
-
* @memberof
|
|
3057
|
+
* @memberof CreateEventPayloadDTO
|
|
2940
3058
|
*/
|
|
2941
|
-
'
|
|
3059
|
+
'from': string;
|
|
2942
3060
|
/**
|
|
2943
|
-
*
|
|
3061
|
+
* End hour of an event
|
|
2944
3062
|
* @type {string}
|
|
2945
|
-
* @memberof
|
|
3063
|
+
* @memberof CreateEventPayloadDTO
|
|
2946
3064
|
*/
|
|
2947
|
-
'
|
|
3065
|
+
'to': string;
|
|
3066
|
+
/**
|
|
3067
|
+
*
|
|
3068
|
+
* @type {string}
|
|
3069
|
+
* @memberof CreateEventPayloadDTO
|
|
3070
|
+
*/
|
|
3071
|
+
'repeat': CreateEventPayloadDTORepeatEnum;
|
|
3072
|
+
/**
|
|
3073
|
+
* The unique identifier of the customer
|
|
3074
|
+
* @type {string}
|
|
3075
|
+
* @memberof CreateEventPayloadDTO
|
|
3076
|
+
*/
|
|
3077
|
+
'_id'?: string;
|
|
3078
|
+
/**
|
|
3079
|
+
* The title of the event
|
|
3080
|
+
* @type {string}
|
|
3081
|
+
* @memberof CreateEventPayloadDTO
|
|
3082
|
+
*/
|
|
3083
|
+
'title': string;
|
|
2948
3084
|
/**
|
|
2949
3085
|
* Notes attached with booking
|
|
2950
3086
|
* @type {string}
|
|
2951
|
-
* @memberof
|
|
3087
|
+
* @memberof CreateEventPayloadDTO
|
|
2952
3088
|
*/
|
|
2953
3089
|
'note': string;
|
|
2954
3090
|
/**
|
|
2955
3091
|
* Calendar attached with booking
|
|
2956
3092
|
* @type {Array<string>}
|
|
2957
|
-
* @memberof
|
|
3093
|
+
* @memberof CreateEventPayloadDTO
|
|
2958
3094
|
*/
|
|
2959
3095
|
'calendar': Array<string>;
|
|
2960
3096
|
/**
|
|
2961
3097
|
* The list of collaborators associated with the event
|
|
2962
3098
|
* @type {Array<CreateEventCollaboratorPayload>}
|
|
2963
|
-
* @memberof
|
|
3099
|
+
* @memberof CreateEventPayloadDTO
|
|
2964
3100
|
*/
|
|
2965
3101
|
'collaborators': Array<CreateEventCollaboratorPayload>;
|
|
2966
3102
|
/**
|
|
2967
3103
|
*
|
|
2968
3104
|
* @type {LocationDTO}
|
|
2969
|
-
* @memberof
|
|
3105
|
+
* @memberof CreateEventPayloadDTO
|
|
2970
3106
|
*/
|
|
2971
3107
|
'location': LocationDTO;
|
|
2972
3108
|
/**
|
|
2973
3109
|
* Event images
|
|
2974
3110
|
* @type {Array<string>}
|
|
2975
|
-
* @memberof
|
|
3111
|
+
* @memberof CreateEventPayloadDTO
|
|
2976
3112
|
*/
|
|
2977
3113
|
'images': Array<string>;
|
|
2978
3114
|
}
|
|
3115
|
+
|
|
3116
|
+
export const CreateEventPayloadDTORepeatEnum = {
|
|
3117
|
+
None: 'NONE',
|
|
3118
|
+
Daily: 'DAILY',
|
|
3119
|
+
Weekly: 'WEEKLY',
|
|
3120
|
+
Monthly: 'MONTHLY',
|
|
3121
|
+
Year: 'YEAR'
|
|
3122
|
+
} as const;
|
|
3123
|
+
|
|
3124
|
+
export type CreateEventPayloadDTORepeatEnum = typeof CreateEventPayloadDTORepeatEnum[keyof typeof CreateEventPayloadDTORepeatEnum];
|
|
3125
|
+
|
|
2979
3126
|
/**
|
|
2980
3127
|
*
|
|
2981
3128
|
* @export
|
|
@@ -4791,7 +4938,7 @@ export const NotificationEntityTypeEnum = {
|
|
|
4791
4938
|
BookingUserLeaveToBusiness: 'BOOKING_USER_LEAVE_TO_BUSINESS',
|
|
4792
4939
|
BusinessBookingCancelBusiness: 'BUSINESS_BOOKING_CANCEL_BUSINESS',
|
|
4793
4940
|
BusinessBookingCancelUserToBusiness: 'BUSINESS_BOOKING_CANCEL_USER_TO_BUSINESS',
|
|
4794
|
-
|
|
4941
|
+
BookingAccept: 'BOOKING_ACCEPT',
|
|
4795
4942
|
BookingReject: 'BOOKING_REJECT',
|
|
4796
4943
|
InviteTodo: 'INVITE_TODO',
|
|
4797
4944
|
TodoReject: 'TODO_REJECT',
|
|
@@ -4807,7 +4954,10 @@ export const NotificationEntityTypeEnum = {
|
|
|
4807
4954
|
EventUserRemoved: 'EVENT_USER_REMOVED',
|
|
4808
4955
|
EventUserLeft: 'EVENT_USER_LEFT',
|
|
4809
4956
|
EventDetailsUpdate: 'EVENT_DETAILS_UPDATE',
|
|
4810
|
-
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE'
|
|
4957
|
+
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
|
|
4958
|
+
CalendarRemove: 'CALENDAR_REMOVE',
|
|
4959
|
+
BookingRescheduled: 'BOOKING_RESCHEDULED',
|
|
4960
|
+
EventRescheduled: 'EVENT_RESCHEDULED'
|
|
4811
4961
|
} as const;
|
|
4812
4962
|
|
|
4813
4963
|
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
@@ -6840,7 +6990,8 @@ export interface UserEntity {
|
|
|
6840
6990
|
|
|
6841
6991
|
export const UserEntityRoleEnum = {
|
|
6842
6992
|
Business: 'business',
|
|
6843
|
-
User: 'user'
|
|
6993
|
+
User: 'user',
|
|
6994
|
+
Admin: 'admin'
|
|
6844
6995
|
} as const;
|
|
6845
6996
|
|
|
6846
6997
|
export type UserEntityRoleEnum = typeof UserEntityRoleEnum[keyof typeof UserEntityRoleEnum];
|
|
@@ -12025,6 +12176,45 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12025
12176
|
options: localVarRequestOptions,
|
|
12026
12177
|
};
|
|
12027
12178
|
},
|
|
12179
|
+
/**
|
|
12180
|
+
*
|
|
12181
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
12182
|
+
* @param {*} [options] Override http request option.
|
|
12183
|
+
* @throws {RequiredError}
|
|
12184
|
+
*/
|
|
12185
|
+
calendarControllerListCalendarsEvents: async (calendarEventsListPayload: CalendarEventsListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12186
|
+
// verify required parameter 'calendarEventsListPayload' is not null or undefined
|
|
12187
|
+
assertParamExists('calendarControllerListCalendarsEvents', 'calendarEventsListPayload', calendarEventsListPayload)
|
|
12188
|
+
const localVarPath = `/v1/calendar/list-events`;
|
|
12189
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12190
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12191
|
+
let baseOptions;
|
|
12192
|
+
if (configuration) {
|
|
12193
|
+
baseOptions = configuration.baseOptions;
|
|
12194
|
+
}
|
|
12195
|
+
|
|
12196
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12197
|
+
const localVarHeaderParameter = {} as any;
|
|
12198
|
+
const localVarQueryParameter = {} as any;
|
|
12199
|
+
|
|
12200
|
+
// authentication bearer required
|
|
12201
|
+
// http bearer authentication required
|
|
12202
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12203
|
+
|
|
12204
|
+
|
|
12205
|
+
|
|
12206
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12207
|
+
|
|
12208
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12209
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12210
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12211
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarEventsListPayload, localVarRequestOptions, configuration)
|
|
12212
|
+
|
|
12213
|
+
return {
|
|
12214
|
+
url: toPathString(localVarUrlObj),
|
|
12215
|
+
options: localVarRequestOptions,
|
|
12216
|
+
};
|
|
12217
|
+
},
|
|
12028
12218
|
/**
|
|
12029
12219
|
*
|
|
12030
12220
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -12136,6 +12326,45 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12136
12326
|
options: localVarRequestOptions,
|
|
12137
12327
|
};
|
|
12138
12328
|
},
|
|
12329
|
+
/**
|
|
12330
|
+
*
|
|
12331
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
12332
|
+
* @param {*} [options] Override http request option.
|
|
12333
|
+
* @throws {RequiredError}
|
|
12334
|
+
*/
|
|
12335
|
+
calendarControllerListSocialEvents: async (calendarEventsListPayload: CalendarEventsListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12336
|
+
// verify required parameter 'calendarEventsListPayload' is not null or undefined
|
|
12337
|
+
assertParamExists('calendarControllerListSocialEvents', 'calendarEventsListPayload', calendarEventsListPayload)
|
|
12338
|
+
const localVarPath = `/v1/calendar/social-events`;
|
|
12339
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12341
|
+
let baseOptions;
|
|
12342
|
+
if (configuration) {
|
|
12343
|
+
baseOptions = configuration.baseOptions;
|
|
12344
|
+
}
|
|
12345
|
+
|
|
12346
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12347
|
+
const localVarHeaderParameter = {} as any;
|
|
12348
|
+
const localVarQueryParameter = {} as any;
|
|
12349
|
+
|
|
12350
|
+
// authentication bearer required
|
|
12351
|
+
// http bearer authentication required
|
|
12352
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12353
|
+
|
|
12354
|
+
|
|
12355
|
+
|
|
12356
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12357
|
+
|
|
12358
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12359
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12360
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12361
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarEventsListPayload, localVarRequestOptions, configuration)
|
|
12362
|
+
|
|
12363
|
+
return {
|
|
12364
|
+
url: toPathString(localVarUrlObj),
|
|
12365
|
+
options: localVarRequestOptions,
|
|
12366
|
+
};
|
|
12367
|
+
},
|
|
12139
12368
|
/**
|
|
12140
12369
|
*
|
|
12141
12370
|
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
@@ -12416,6 +12645,18 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
12416
12645
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerCreateSharedCalendar']?.[localVarOperationServerIndex]?.url;
|
|
12417
12646
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12418
12647
|
},
|
|
12648
|
+
/**
|
|
12649
|
+
*
|
|
12650
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
12651
|
+
* @param {*} [options] Override http request option.
|
|
12652
|
+
* @throws {RequiredError}
|
|
12653
|
+
*/
|
|
12654
|
+
async calendarControllerListCalendarsEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventResponseDTO>> {
|
|
12655
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListCalendarsEvents(calendarEventsListPayload, options);
|
|
12656
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12657
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListCalendarsEvents']?.[localVarOperationServerIndex]?.url;
|
|
12658
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12659
|
+
},
|
|
12419
12660
|
/**
|
|
12420
12661
|
*
|
|
12421
12662
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -12451,6 +12692,18 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
12451
12692
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListPrepaidServiceAvailableSlots']?.[localVarOperationServerIndex]?.url;
|
|
12452
12693
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12453
12694
|
},
|
|
12695
|
+
/**
|
|
12696
|
+
*
|
|
12697
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
12698
|
+
* @param {*} [options] Override http request option.
|
|
12699
|
+
* @throws {RequiredError}
|
|
12700
|
+
*/
|
|
12701
|
+
async calendarControllerListSocialEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarSocialEventResponseDTO>> {
|
|
12702
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListSocialEvents(calendarEventsListPayload, options);
|
|
12703
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12704
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListSocialEvents']?.[localVarOperationServerIndex]?.url;
|
|
12705
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12706
|
+
},
|
|
12454
12707
|
/**
|
|
12455
12708
|
*
|
|
12456
12709
|
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
@@ -12560,6 +12813,15 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
12560
12813
|
calendarControllerCreateSharedCalendar(createCalendarPayload: CreateCalendarPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarResponseDTO> {
|
|
12561
12814
|
return localVarFp.calendarControllerCreateSharedCalendar(createCalendarPayload, options).then((request) => request(axios, basePath));
|
|
12562
12815
|
},
|
|
12816
|
+
/**
|
|
12817
|
+
*
|
|
12818
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
12819
|
+
* @param {*} [options] Override http request option.
|
|
12820
|
+
* @throws {RequiredError}
|
|
12821
|
+
*/
|
|
12822
|
+
calendarControllerListCalendarsEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventResponseDTO> {
|
|
12823
|
+
return localVarFp.calendarControllerListCalendarsEvents(calendarEventsListPayload, options).then((request) => request(axios, basePath));
|
|
12824
|
+
},
|
|
12563
12825
|
/**
|
|
12564
12826
|
*
|
|
12565
12827
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -12586,6 +12848,15 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
12586
12848
|
calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload: WhatsOnSlotsPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarSlotsDTO> {
|
|
12587
12849
|
return localVarFp.calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload, options).then((request) => request(axios, basePath));
|
|
12588
12850
|
},
|
|
12851
|
+
/**
|
|
12852
|
+
*
|
|
12853
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
12854
|
+
* @param {*} [options] Override http request option.
|
|
12855
|
+
* @throws {RequiredError}
|
|
12856
|
+
*/
|
|
12857
|
+
calendarControllerListSocialEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarSocialEventResponseDTO> {
|
|
12858
|
+
return localVarFp.calendarControllerListSocialEvents(calendarEventsListPayload, options).then((request) => request(axios, basePath));
|
|
12859
|
+
},
|
|
12589
12860
|
/**
|
|
12590
12861
|
*
|
|
12591
12862
|
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
@@ -12683,6 +12954,17 @@ export class CalendarApi extends BaseAPI {
|
|
|
12683
12954
|
return CalendarApiFp(this.configuration).calendarControllerCreateSharedCalendar(createCalendarPayload, options).then((request) => request(this.axios, this.basePath));
|
|
12684
12955
|
}
|
|
12685
12956
|
|
|
12957
|
+
/**
|
|
12958
|
+
*
|
|
12959
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
12960
|
+
* @param {*} [options] Override http request option.
|
|
12961
|
+
* @throws {RequiredError}
|
|
12962
|
+
* @memberof CalendarApi
|
|
12963
|
+
*/
|
|
12964
|
+
public calendarControllerListCalendarsEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig) {
|
|
12965
|
+
return CalendarApiFp(this.configuration).calendarControllerListCalendarsEvents(calendarEventsListPayload, options).then((request) => request(this.axios, this.basePath));
|
|
12966
|
+
}
|
|
12967
|
+
|
|
12686
12968
|
/**
|
|
12687
12969
|
*
|
|
12688
12970
|
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
@@ -12715,6 +12997,17 @@ export class CalendarApi extends BaseAPI {
|
|
|
12715
12997
|
return CalendarApiFp(this.configuration).calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload, options).then((request) => request(this.axios, this.basePath));
|
|
12716
12998
|
}
|
|
12717
12999
|
|
|
13000
|
+
/**
|
|
13001
|
+
*
|
|
13002
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
13003
|
+
* @param {*} [options] Override http request option.
|
|
13004
|
+
* @throws {RequiredError}
|
|
13005
|
+
* @memberof CalendarApi
|
|
13006
|
+
*/
|
|
13007
|
+
public calendarControllerListSocialEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig) {
|
|
13008
|
+
return CalendarApiFp(this.configuration).calendarControllerListSocialEvents(calendarEventsListPayload, options).then((request) => request(this.axios, this.basePath));
|
|
13009
|
+
}
|
|
13010
|
+
|
|
12718
13011
|
/**
|
|
12719
13012
|
*
|
|
12720
13013
|
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
@@ -13338,13 +13631,13 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13338
13631
|
},
|
|
13339
13632
|
/**
|
|
13340
13633
|
*
|
|
13341
|
-
* @param {
|
|
13634
|
+
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
13342
13635
|
* @param {*} [options] Override http request option.
|
|
13343
13636
|
* @throws {RequiredError}
|
|
13344
13637
|
*/
|
|
13345
|
-
eventControllerCreateEvents: async (
|
|
13346
|
-
// verify required parameter '
|
|
13347
|
-
assertParamExists('eventControllerCreateEvents', '
|
|
13638
|
+
eventControllerCreateEvents: async (createEventPayloadDTO: CreateEventPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13639
|
+
// verify required parameter 'createEventPayloadDTO' is not null or undefined
|
|
13640
|
+
assertParamExists('eventControllerCreateEvents', 'createEventPayloadDTO', createEventPayloadDTO)
|
|
13348
13641
|
const localVarPath = `/v1/event`;
|
|
13349
13642
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13350
13643
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13368,7 +13661,7 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13368
13661
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13369
13662
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13370
13663
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13371
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
13664
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createEventPayloadDTO, localVarRequestOptions, configuration)
|
|
13372
13665
|
|
|
13373
13666
|
return {
|
|
13374
13667
|
url: toPathString(localVarUrlObj),
|
|
@@ -13492,13 +13785,13 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13492
13785
|
},
|
|
13493
13786
|
/**
|
|
13494
13787
|
*
|
|
13495
|
-
* @param {
|
|
13788
|
+
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
13496
13789
|
* @param {*} [options] Override http request option.
|
|
13497
13790
|
* @throws {RequiredError}
|
|
13498
13791
|
*/
|
|
13499
|
-
eventControllerUpdateEvents: async (
|
|
13500
|
-
// verify required parameter '
|
|
13501
|
-
assertParamExists('eventControllerUpdateEvents', '
|
|
13792
|
+
eventControllerUpdateEvents: async (createEventPayloadDTO: CreateEventPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13793
|
+
// verify required parameter 'createEventPayloadDTO' is not null or undefined
|
|
13794
|
+
assertParamExists('eventControllerUpdateEvents', 'createEventPayloadDTO', createEventPayloadDTO)
|
|
13502
13795
|
const localVarPath = `/v1/event`;
|
|
13503
13796
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13504
13797
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13522,7 +13815,7 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13522
13815
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13523
13816
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13524
13817
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13525
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
13818
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createEventPayloadDTO, localVarRequestOptions, configuration)
|
|
13526
13819
|
|
|
13527
13820
|
return {
|
|
13528
13821
|
url: toPathString(localVarUrlObj),
|
|
@@ -13553,12 +13846,12 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
13553
13846
|
},
|
|
13554
13847
|
/**
|
|
13555
13848
|
*
|
|
13556
|
-
* @param {
|
|
13849
|
+
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
13557
13850
|
* @param {*} [options] Override http request option.
|
|
13558
13851
|
* @throws {RequiredError}
|
|
13559
13852
|
*/
|
|
13560
|
-
async eventControllerCreateEvents(
|
|
13561
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCreateEvents(
|
|
13853
|
+
async eventControllerCreateEvents(createEventPayloadDTO: CreateEventPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
|
|
13854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCreateEvents(createEventPayloadDTO, options);
|
|
13562
13855
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13563
13856
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerCreateEvents']?.[localVarOperationServerIndex]?.url;
|
|
13564
13857
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13601,12 +13894,12 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
13601
13894
|
},
|
|
13602
13895
|
/**
|
|
13603
13896
|
*
|
|
13604
|
-
* @param {
|
|
13897
|
+
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
13605
13898
|
* @param {*} [options] Override http request option.
|
|
13606
13899
|
* @throws {RequiredError}
|
|
13607
13900
|
*/
|
|
13608
|
-
async eventControllerUpdateEvents(
|
|
13609
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerUpdateEvents(
|
|
13901
|
+
async eventControllerUpdateEvents(createEventPayloadDTO: CreateEventPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
|
|
13902
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerUpdateEvents(createEventPayloadDTO, options);
|
|
13610
13903
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13611
13904
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerUpdateEvents']?.[localVarOperationServerIndex]?.url;
|
|
13612
13905
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13632,12 +13925,12 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
13632
13925
|
},
|
|
13633
13926
|
/**
|
|
13634
13927
|
*
|
|
13635
|
-
* @param {
|
|
13928
|
+
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
13636
13929
|
* @param {*} [options] Override http request option.
|
|
13637
13930
|
* @throws {RequiredError}
|
|
13638
13931
|
*/
|
|
13639
|
-
eventControllerCreateEvents(
|
|
13640
|
-
return localVarFp.eventControllerCreateEvents(
|
|
13932
|
+
eventControllerCreateEvents(createEventPayloadDTO: CreateEventPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
|
|
13933
|
+
return localVarFp.eventControllerCreateEvents(createEventPayloadDTO, options).then((request) => request(axios, basePath));
|
|
13641
13934
|
},
|
|
13642
13935
|
/**
|
|
13643
13936
|
*
|
|
@@ -13668,12 +13961,12 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
13668
13961
|
},
|
|
13669
13962
|
/**
|
|
13670
13963
|
*
|
|
13671
|
-
* @param {
|
|
13964
|
+
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
13672
13965
|
* @param {*} [options] Override http request option.
|
|
13673
13966
|
* @throws {RequiredError}
|
|
13674
13967
|
*/
|
|
13675
|
-
eventControllerUpdateEvents(
|
|
13676
|
-
return localVarFp.eventControllerUpdateEvents(
|
|
13968
|
+
eventControllerUpdateEvents(createEventPayloadDTO: CreateEventPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
|
|
13969
|
+
return localVarFp.eventControllerUpdateEvents(createEventPayloadDTO, options).then((request) => request(axios, basePath));
|
|
13677
13970
|
},
|
|
13678
13971
|
};
|
|
13679
13972
|
};
|
|
@@ -13698,13 +13991,13 @@ export class EventsApi extends BaseAPI {
|
|
|
13698
13991
|
|
|
13699
13992
|
/**
|
|
13700
13993
|
*
|
|
13701
|
-
* @param {
|
|
13994
|
+
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
13702
13995
|
* @param {*} [options] Override http request option.
|
|
13703
13996
|
* @throws {RequiredError}
|
|
13704
13997
|
* @memberof EventsApi
|
|
13705
13998
|
*/
|
|
13706
|
-
public eventControllerCreateEvents(
|
|
13707
|
-
return EventsApiFp(this.configuration).eventControllerCreateEvents(
|
|
13999
|
+
public eventControllerCreateEvents(createEventPayloadDTO: CreateEventPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
14000
|
+
return EventsApiFp(this.configuration).eventControllerCreateEvents(createEventPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13708
14001
|
}
|
|
13709
14002
|
|
|
13710
14003
|
/**
|
|
@@ -13742,13 +14035,13 @@ export class EventsApi extends BaseAPI {
|
|
|
13742
14035
|
|
|
13743
14036
|
/**
|
|
13744
14037
|
*
|
|
13745
|
-
* @param {
|
|
14038
|
+
* @param {CreateEventPayloadDTO} createEventPayloadDTO
|
|
13746
14039
|
* @param {*} [options] Override http request option.
|
|
13747
14040
|
* @throws {RequiredError}
|
|
13748
14041
|
* @memberof EventsApi
|
|
13749
14042
|
*/
|
|
13750
|
-
public eventControllerUpdateEvents(
|
|
13751
|
-
return EventsApiFp(this.configuration).eventControllerUpdateEvents(
|
|
14043
|
+
public eventControllerUpdateEvents(createEventPayloadDTO: CreateEventPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
14044
|
+
return EventsApiFp(this.configuration).eventControllerUpdateEvents(createEventPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13752
14045
|
}
|
|
13753
14046
|
}
|
|
13754
14047
|
|