@gooday_corp/gooday-api-client 1.2.95 → 1.2.97
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 +170 -120
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -350,64 +350,6 @@ export interface AvailabilityDayDto {
|
|
|
350
350
|
*/
|
|
351
351
|
'slots': Array<TimeSlotDto>;
|
|
352
352
|
}
|
|
353
|
-
/**
|
|
354
|
-
*
|
|
355
|
-
* @export
|
|
356
|
-
* @interface AvailableSlotsPayload
|
|
357
|
-
*/
|
|
358
|
-
export interface AvailableSlotsPayload {
|
|
359
|
-
/**
|
|
360
|
-
* Start date for the events
|
|
361
|
-
* @type {string}
|
|
362
|
-
* @memberof AvailableSlotsPayload
|
|
363
|
-
*/
|
|
364
|
-
'startDate': string;
|
|
365
|
-
/**
|
|
366
|
-
* End date for the events
|
|
367
|
-
* @type {string}
|
|
368
|
-
* @memberof AvailableSlotsPayload
|
|
369
|
-
*/
|
|
370
|
-
'endDate': string;
|
|
371
|
-
/**
|
|
372
|
-
* The business associated with the booking
|
|
373
|
-
* @type {string}
|
|
374
|
-
* @memberof AvailableSlotsPayload
|
|
375
|
-
*/
|
|
376
|
-
'business': string;
|
|
377
|
-
/**
|
|
378
|
-
*
|
|
379
|
-
* @type {string}
|
|
380
|
-
* @memberof AvailableSlotsPayload
|
|
381
|
-
*/
|
|
382
|
-
'venue': string;
|
|
383
|
-
/**
|
|
384
|
-
* List of collaborators associated with the booking
|
|
385
|
-
* @type {Array<string>}
|
|
386
|
-
* @memberof AvailableSlotsPayload
|
|
387
|
-
*/
|
|
388
|
-
'collaborators': Array<string>;
|
|
389
|
-
/**
|
|
390
|
-
* View
|
|
391
|
-
* @type {string}
|
|
392
|
-
* @memberof AvailableSlotsPayload
|
|
393
|
-
*/
|
|
394
|
-
'view': AvailableSlotsPayloadViewEnum;
|
|
395
|
-
/**
|
|
396
|
-
* List of staffs associated with the booking
|
|
397
|
-
* @type {Array<string>}
|
|
398
|
-
* @memberof AvailableSlotsPayload
|
|
399
|
-
*/
|
|
400
|
-
'staffs': Array<string>;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
export const AvailableSlotsPayloadViewEnum = {
|
|
404
|
-
Daily: 'daily',
|
|
405
|
-
Weekly: 'weekly',
|
|
406
|
-
Monthly: 'monthly'
|
|
407
|
-
} as const;
|
|
408
|
-
|
|
409
|
-
export type AvailableSlotsPayloadViewEnum = typeof AvailableSlotsPayloadViewEnum[keyof typeof AvailableSlotsPayloadViewEnum];
|
|
410
|
-
|
|
411
353
|
/**
|
|
412
354
|
*
|
|
413
355
|
* @export
|
|
@@ -5824,6 +5766,43 @@ export interface StaffPrice {
|
|
|
5824
5766
|
*/
|
|
5825
5767
|
'staff': string;
|
|
5826
5768
|
}
|
|
5769
|
+
/**
|
|
5770
|
+
*
|
|
5771
|
+
* @export
|
|
5772
|
+
* @interface StandardBookingSlotsPayload
|
|
5773
|
+
*/
|
|
5774
|
+
export interface StandardBookingSlotsPayload {
|
|
5775
|
+
/**
|
|
5776
|
+
* Start date for the events
|
|
5777
|
+
* @type {string}
|
|
5778
|
+
* @memberof StandardBookingSlotsPayload
|
|
5779
|
+
*/
|
|
5780
|
+
'startDate': string;
|
|
5781
|
+
/**
|
|
5782
|
+
* End date for the events
|
|
5783
|
+
* @type {string}
|
|
5784
|
+
* @memberof StandardBookingSlotsPayload
|
|
5785
|
+
*/
|
|
5786
|
+
'endDate': string;
|
|
5787
|
+
/**
|
|
5788
|
+
* List of collaborators associated with the booking
|
|
5789
|
+
* @type {Array<string>}
|
|
5790
|
+
* @memberof StandardBookingSlotsPayload
|
|
5791
|
+
*/
|
|
5792
|
+
'collaborators': Array<string>;
|
|
5793
|
+
/**
|
|
5794
|
+
* List of staff associated with the booking
|
|
5795
|
+
* @type {Array<string>}
|
|
5796
|
+
* @memberof StandardBookingSlotsPayload
|
|
5797
|
+
*/
|
|
5798
|
+
'staffs': Array<string>;
|
|
5799
|
+
/**
|
|
5800
|
+
* Venue ID
|
|
5801
|
+
* @type {string}
|
|
5802
|
+
* @memberof StandardBookingSlotsPayload
|
|
5803
|
+
*/
|
|
5804
|
+
'id': string;
|
|
5805
|
+
}
|
|
5827
5806
|
/**
|
|
5828
5807
|
*
|
|
5829
5808
|
* @export
|
|
@@ -11526,14 +11505,51 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11526
11505
|
},
|
|
11527
11506
|
/**
|
|
11528
11507
|
*
|
|
11529
|
-
* @param {
|
|
11508
|
+
* @param {string} id
|
|
11530
11509
|
* @param {*} [options] Override http request option.
|
|
11531
11510
|
* @throws {RequiredError}
|
|
11532
11511
|
*/
|
|
11533
|
-
|
|
11534
|
-
// verify required parameter '
|
|
11535
|
-
assertParamExists('
|
|
11536
|
-
const localVarPath = `/v1/calendar/
|
|
11512
|
+
calendarControllerCollaboratorsByCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11513
|
+
// verify required parameter 'id' is not null or undefined
|
|
11514
|
+
assertParamExists('calendarControllerCollaboratorsByCalendar', 'id', id)
|
|
11515
|
+
const localVarPath = `/v1/calendar/{id}/collaborators`
|
|
11516
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11517
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11518
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11519
|
+
let baseOptions;
|
|
11520
|
+
if (configuration) {
|
|
11521
|
+
baseOptions = configuration.baseOptions;
|
|
11522
|
+
}
|
|
11523
|
+
|
|
11524
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11525
|
+
const localVarHeaderParameter = {} as any;
|
|
11526
|
+
const localVarQueryParameter = {} as any;
|
|
11527
|
+
|
|
11528
|
+
// authentication bearer required
|
|
11529
|
+
// http bearer authentication required
|
|
11530
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11531
|
+
|
|
11532
|
+
|
|
11533
|
+
|
|
11534
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11535
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11536
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11537
|
+
|
|
11538
|
+
return {
|
|
11539
|
+
url: toPathString(localVarUrlObj),
|
|
11540
|
+
options: localVarRequestOptions,
|
|
11541
|
+
};
|
|
11542
|
+
},
|
|
11543
|
+
/**
|
|
11544
|
+
*
|
|
11545
|
+
* @param {CreateCalendarPayload} createCalendarPayload
|
|
11546
|
+
* @param {*} [options] Override http request option.
|
|
11547
|
+
* @throws {RequiredError}
|
|
11548
|
+
*/
|
|
11549
|
+
calendarControllerCreateSharedCalendar: async (createCalendarPayload: CreateCalendarPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11550
|
+
// verify required parameter 'createCalendarPayload' is not null or undefined
|
|
11551
|
+
assertParamExists('calendarControllerCreateSharedCalendar', 'createCalendarPayload', createCalendarPayload)
|
|
11552
|
+
const localVarPath = `/v1/calendar`;
|
|
11537
11553
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11538
11554
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11539
11555
|
let baseOptions;
|
|
@@ -11556,7 +11572,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11556
11572
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11557
11573
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11558
11574
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11559
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
11575
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCalendarPayload, localVarRequestOptions, configuration)
|
|
11560
11576
|
|
|
11561
11577
|
return {
|
|
11562
11578
|
url: toPathString(localVarUrlObj),
|
|
@@ -11565,15 +11581,14 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11565
11581
|
},
|
|
11566
11582
|
/**
|
|
11567
11583
|
*
|
|
11568
|
-
* @param {
|
|
11584
|
+
* @param {CalendarEventsListPayload} calendarEventsListPayload
|
|
11569
11585
|
* @param {*} [options] Override http request option.
|
|
11570
11586
|
* @throws {RequiredError}
|
|
11571
11587
|
*/
|
|
11572
|
-
|
|
11573
|
-
// verify required parameter '
|
|
11574
|
-
assertParamExists('
|
|
11575
|
-
const localVarPath = `/v1/calendar/
|
|
11576
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11588
|
+
calendarControllerListEvents: async (calendarEventsListPayload: CalendarEventsListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11589
|
+
// verify required parameter 'calendarEventsListPayload' is not null or undefined
|
|
11590
|
+
assertParamExists('calendarControllerListEvents', 'calendarEventsListPayload', calendarEventsListPayload)
|
|
11591
|
+
const localVarPath = `/v1/calendar/events`;
|
|
11577
11592
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11578
11593
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11579
11594
|
let baseOptions;
|
|
@@ -11581,7 +11596,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11581
11596
|
baseOptions = configuration.baseOptions;
|
|
11582
11597
|
}
|
|
11583
11598
|
|
|
11584
|
-
const localVarRequestOptions = { method: '
|
|
11599
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11585
11600
|
const localVarHeaderParameter = {} as any;
|
|
11586
11601
|
const localVarQueryParameter = {} as any;
|
|
11587
11602
|
|
|
@@ -11591,9 +11606,12 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11591
11606
|
|
|
11592
11607
|
|
|
11593
11608
|
|
|
11609
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11610
|
+
|
|
11594
11611
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11595
11612
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11596
11613
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11614
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarEventsListPayload, localVarRequestOptions, configuration)
|
|
11597
11615
|
|
|
11598
11616
|
return {
|
|
11599
11617
|
url: toPathString(localVarUrlObj),
|
|
@@ -11602,13 +11620,10 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11602
11620
|
},
|
|
11603
11621
|
/**
|
|
11604
11622
|
*
|
|
11605
|
-
* @param {CreateCalendarPayload} createCalendarPayload
|
|
11606
11623
|
* @param {*} [options] Override http request option.
|
|
11607
11624
|
* @throws {RequiredError}
|
|
11608
11625
|
*/
|
|
11609
|
-
|
|
11610
|
-
// verify required parameter 'createCalendarPayload' is not null or undefined
|
|
11611
|
-
assertParamExists('calendarControllerCreateSharedCalendar', 'createCalendarPayload', createCalendarPayload)
|
|
11626
|
+
calendarControllerListMyCalendar: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11612
11627
|
const localVarPath = `/v1/calendar`;
|
|
11613
11628
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11614
11629
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11617,7 +11632,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11617
11632
|
baseOptions = configuration.baseOptions;
|
|
11618
11633
|
}
|
|
11619
11634
|
|
|
11620
|
-
const localVarRequestOptions = { method: '
|
|
11635
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11621
11636
|
const localVarHeaderParameter = {} as any;
|
|
11622
11637
|
const localVarQueryParameter = {} as any;
|
|
11623
11638
|
|
|
@@ -11627,12 +11642,9 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11627
11642
|
|
|
11628
11643
|
|
|
11629
11644
|
|
|
11630
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11631
|
-
|
|
11632
11645
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11633
11646
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11634
11647
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11635
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createCalendarPayload, localVarRequestOptions, configuration)
|
|
11636
11648
|
|
|
11637
11649
|
return {
|
|
11638
11650
|
url: toPathString(localVarUrlObj),
|
|
@@ -11641,14 +11653,14 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11641
11653
|
},
|
|
11642
11654
|
/**
|
|
11643
11655
|
*
|
|
11644
|
-
* @param {
|
|
11656
|
+
* @param {WhatsOnSlotsPayload} whatsOnSlotsPayload
|
|
11645
11657
|
* @param {*} [options] Override http request option.
|
|
11646
11658
|
* @throws {RequiredError}
|
|
11647
11659
|
*/
|
|
11648
|
-
|
|
11649
|
-
// verify required parameter '
|
|
11650
|
-
assertParamExists('
|
|
11651
|
-
const localVarPath = `/v1/calendar/
|
|
11660
|
+
calendarControllerListPrepaidServiceAvailableSlots: async (whatsOnSlotsPayload: WhatsOnSlotsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11661
|
+
// verify required parameter 'whatsOnSlotsPayload' is not null or undefined
|
|
11662
|
+
assertParamExists('calendarControllerListPrepaidServiceAvailableSlots', 'whatsOnSlotsPayload', whatsOnSlotsPayload)
|
|
11663
|
+
const localVarPath = `/v1/calendar/slots/prepaid-service`;
|
|
11652
11664
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11653
11665
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11654
11666
|
let baseOptions;
|
|
@@ -11671,7 +11683,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11671
11683
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11672
11684
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11673
11685
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11674
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
11686
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnSlotsPayload, localVarRequestOptions, configuration)
|
|
11675
11687
|
|
|
11676
11688
|
return {
|
|
11677
11689
|
url: toPathString(localVarUrlObj),
|
|
@@ -11680,11 +11692,14 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11680
11692
|
},
|
|
11681
11693
|
/**
|
|
11682
11694
|
*
|
|
11695
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
11683
11696
|
* @param {*} [options] Override http request option.
|
|
11684
11697
|
* @throws {RequiredError}
|
|
11685
11698
|
*/
|
|
11686
|
-
|
|
11687
|
-
|
|
11699
|
+
calendarControllerListStandardBookingSlots: async (standardBookingSlotsPayload: StandardBookingSlotsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11700
|
+
// verify required parameter 'standardBookingSlotsPayload' is not null or undefined
|
|
11701
|
+
assertParamExists('calendarControllerListStandardBookingSlots', 'standardBookingSlotsPayload', standardBookingSlotsPayload)
|
|
11702
|
+
const localVarPath = `/v1/calendar/slots/standard`;
|
|
11688
11703
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11689
11704
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11690
11705
|
let baseOptions;
|
|
@@ -11692,7 +11707,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11692
11707
|
baseOptions = configuration.baseOptions;
|
|
11693
11708
|
}
|
|
11694
11709
|
|
|
11695
|
-
const localVarRequestOptions = { method: '
|
|
11710
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11696
11711
|
const localVarHeaderParameter = {} as any;
|
|
11697
11712
|
const localVarQueryParameter = {} as any;
|
|
11698
11713
|
|
|
@@ -11702,9 +11717,12 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11702
11717
|
|
|
11703
11718
|
|
|
11704
11719
|
|
|
11720
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11721
|
+
|
|
11705
11722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11706
11723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11707
11724
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11725
|
+
localVarRequestOptions.data = serializeDataIfNeeded(standardBookingSlotsPayload, localVarRequestOptions, configuration)
|
|
11708
11726
|
|
|
11709
11727
|
return {
|
|
11710
11728
|
url: toPathString(localVarUrlObj),
|
|
@@ -11928,18 +11946,6 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
11928
11946
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerAcceptCalendarInvite']?.[localVarOperationServerIndex]?.url;
|
|
11929
11947
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11930
11948
|
},
|
|
11931
|
-
/**
|
|
11932
|
-
*
|
|
11933
|
-
* @param {AvailableSlotsPayload} availableSlotsPayload
|
|
11934
|
-
* @param {*} [options] Override http request option.
|
|
11935
|
-
* @throws {RequiredError}
|
|
11936
|
-
*/
|
|
11937
|
-
async calendarControllerAvailableSlots(availableSlotsPayload: AvailableSlotsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarSlotsDTO>> {
|
|
11938
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerAvailableSlots(availableSlotsPayload, options);
|
|
11939
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11940
|
-
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerAvailableSlots']?.[localVarOperationServerIndex]?.url;
|
|
11941
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11942
|
-
},
|
|
11943
11949
|
/**
|
|
11944
11950
|
*
|
|
11945
11951
|
* @param {string} id
|
|
@@ -11987,6 +11993,30 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
11987
11993
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListMyCalendar']?.[localVarOperationServerIndex]?.url;
|
|
11988
11994
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11989
11995
|
},
|
|
11996
|
+
/**
|
|
11997
|
+
*
|
|
11998
|
+
* @param {WhatsOnSlotsPayload} whatsOnSlotsPayload
|
|
11999
|
+
* @param {*} [options] Override http request option.
|
|
12000
|
+
* @throws {RequiredError}
|
|
12001
|
+
*/
|
|
12002
|
+
async calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload: WhatsOnSlotsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarSlotsDTO>> {
|
|
12003
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload, options);
|
|
12004
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12005
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListPrepaidServiceAvailableSlots']?.[localVarOperationServerIndex]?.url;
|
|
12006
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12007
|
+
},
|
|
12008
|
+
/**
|
|
12009
|
+
*
|
|
12010
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
12011
|
+
* @param {*} [options] Override http request option.
|
|
12012
|
+
* @throws {RequiredError}
|
|
12013
|
+
*/
|
|
12014
|
+
async calendarControllerListStandardBookingSlots(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarSlotsDTO>> {
|
|
12015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListStandardBookingSlots(standardBookingSlotsPayload, options);
|
|
12016
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12017
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListStandardBookingSlots']?.[localVarOperationServerIndex]?.url;
|
|
12018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12019
|
+
},
|
|
11990
12020
|
/**
|
|
11991
12021
|
*
|
|
11992
12022
|
* @param {WhatsOnSlotsPayload} whatsOnSlotsPayload
|
|
@@ -12066,15 +12096,6 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
12066
12096
|
calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload: AcceptCollaborateInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarDTO> {
|
|
12067
12097
|
return localVarFp.calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options).then((request) => request(axios, basePath));
|
|
12068
12098
|
},
|
|
12069
|
-
/**
|
|
12070
|
-
*
|
|
12071
|
-
* @param {AvailableSlotsPayload} availableSlotsPayload
|
|
12072
|
-
* @param {*} [options] Override http request option.
|
|
12073
|
-
* @throws {RequiredError}
|
|
12074
|
-
*/
|
|
12075
|
-
calendarControllerAvailableSlots(availableSlotsPayload: AvailableSlotsPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarSlotsDTO> {
|
|
12076
|
-
return localVarFp.calendarControllerAvailableSlots(availableSlotsPayload, options).then((request) => request(axios, basePath));
|
|
12077
|
-
},
|
|
12078
12099
|
/**
|
|
12079
12100
|
*
|
|
12080
12101
|
* @param {string} id
|
|
@@ -12110,6 +12131,24 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
12110
12131
|
calendarControllerListMyCalendar(options?: RawAxiosRequestConfig): AxiosPromise<CalendarListResponseDTO> {
|
|
12111
12132
|
return localVarFp.calendarControllerListMyCalendar(options).then((request) => request(axios, basePath));
|
|
12112
12133
|
},
|
|
12134
|
+
/**
|
|
12135
|
+
*
|
|
12136
|
+
* @param {WhatsOnSlotsPayload} whatsOnSlotsPayload
|
|
12137
|
+
* @param {*} [options] Override http request option.
|
|
12138
|
+
* @throws {RequiredError}
|
|
12139
|
+
*/
|
|
12140
|
+
calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload: WhatsOnSlotsPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarSlotsDTO> {
|
|
12141
|
+
return localVarFp.calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload, options).then((request) => request(axios, basePath));
|
|
12142
|
+
},
|
|
12143
|
+
/**
|
|
12144
|
+
*
|
|
12145
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
12146
|
+
* @param {*} [options] Override http request option.
|
|
12147
|
+
* @throws {RequiredError}
|
|
12148
|
+
*/
|
|
12149
|
+
calendarControllerListStandardBookingSlots(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarSlotsDTO> {
|
|
12150
|
+
return localVarFp.calendarControllerListStandardBookingSlots(standardBookingSlotsPayload, options).then((request) => request(axios, basePath));
|
|
12151
|
+
},
|
|
12113
12152
|
/**
|
|
12114
12153
|
*
|
|
12115
12154
|
* @param {WhatsOnSlotsPayload} whatsOnSlotsPayload
|
|
@@ -12176,17 +12215,6 @@ export class CalendarApi extends BaseAPI {
|
|
|
12176
12215
|
return CalendarApiFp(this.configuration).calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
12177
12216
|
}
|
|
12178
12217
|
|
|
12179
|
-
/**
|
|
12180
|
-
*
|
|
12181
|
-
* @param {AvailableSlotsPayload} availableSlotsPayload
|
|
12182
|
-
* @param {*} [options] Override http request option.
|
|
12183
|
-
* @throws {RequiredError}
|
|
12184
|
-
* @memberof CalendarApi
|
|
12185
|
-
*/
|
|
12186
|
-
public calendarControllerAvailableSlots(availableSlotsPayload: AvailableSlotsPayload, options?: RawAxiosRequestConfig) {
|
|
12187
|
-
return CalendarApiFp(this.configuration).calendarControllerAvailableSlots(availableSlotsPayload, options).then((request) => request(this.axios, this.basePath));
|
|
12188
|
-
}
|
|
12189
|
-
|
|
12190
12218
|
/**
|
|
12191
12219
|
*
|
|
12192
12220
|
* @param {string} id
|
|
@@ -12230,6 +12258,28 @@ export class CalendarApi extends BaseAPI {
|
|
|
12230
12258
|
return CalendarApiFp(this.configuration).calendarControllerListMyCalendar(options).then((request) => request(this.axios, this.basePath));
|
|
12231
12259
|
}
|
|
12232
12260
|
|
|
12261
|
+
/**
|
|
12262
|
+
*
|
|
12263
|
+
* @param {WhatsOnSlotsPayload} whatsOnSlotsPayload
|
|
12264
|
+
* @param {*} [options] Override http request option.
|
|
12265
|
+
* @throws {RequiredError}
|
|
12266
|
+
* @memberof CalendarApi
|
|
12267
|
+
*/
|
|
12268
|
+
public calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload: WhatsOnSlotsPayload, options?: RawAxiosRequestConfig) {
|
|
12269
|
+
return CalendarApiFp(this.configuration).calendarControllerListPrepaidServiceAvailableSlots(whatsOnSlotsPayload, options).then((request) => request(this.axios, this.basePath));
|
|
12270
|
+
}
|
|
12271
|
+
|
|
12272
|
+
/**
|
|
12273
|
+
*
|
|
12274
|
+
* @param {StandardBookingSlotsPayload} standardBookingSlotsPayload
|
|
12275
|
+
* @param {*} [options] Override http request option.
|
|
12276
|
+
* @throws {RequiredError}
|
|
12277
|
+
* @memberof CalendarApi
|
|
12278
|
+
*/
|
|
12279
|
+
public calendarControllerListStandardBookingSlots(standardBookingSlotsPayload: StandardBookingSlotsPayload, options?: RawAxiosRequestConfig) {
|
|
12280
|
+
return CalendarApiFp(this.configuration).calendarControllerListStandardBookingSlots(standardBookingSlotsPayload, options).then((request) => request(this.axios, this.basePath));
|
|
12281
|
+
}
|
|
12282
|
+
|
|
12233
12283
|
/**
|
|
12234
12284
|
*
|
|
12235
12285
|
* @param {WhatsOnSlotsPayload} whatsOnSlotsPayload
|