@gooday_corp/gooday-api-client 1.1.20 → 1.1.21
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 +228 -40
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -357,10 +357,10 @@ export interface BookingResponse {
|
|
|
357
357
|
'endDate': string;
|
|
358
358
|
/**
|
|
359
359
|
* The venue of the booking
|
|
360
|
-
* @type {
|
|
360
|
+
* @type {BusinessVenueDTO}
|
|
361
361
|
* @memberof BookingResponse
|
|
362
362
|
*/
|
|
363
|
-
'venue':
|
|
363
|
+
'venue': BusinessVenueDTO;
|
|
364
364
|
/**
|
|
365
365
|
* The business associated with the booking
|
|
366
366
|
* @type {BusinessEntity}
|
|
@@ -949,21 +949,40 @@ export interface CalendarDTO {
|
|
|
949
949
|
/**
|
|
950
950
|
*
|
|
951
951
|
* @export
|
|
952
|
-
* @interface
|
|
952
|
+
* @interface CalendarEvents
|
|
953
953
|
*/
|
|
954
|
-
export interface
|
|
954
|
+
export interface CalendarEvents {
|
|
955
955
|
/**
|
|
956
|
-
*
|
|
957
|
-
* @type {
|
|
958
|
-
* @memberof
|
|
956
|
+
* Bookings list
|
|
957
|
+
* @type {Array<BookingResponse>}
|
|
958
|
+
* @memberof CalendarEvents
|
|
959
959
|
*/
|
|
960
|
-
'
|
|
960
|
+
'bookings': Array<BookingResponse>;
|
|
961
961
|
/**
|
|
962
|
-
*
|
|
963
|
-
* @type {
|
|
964
|
-
* @memberof
|
|
962
|
+
* Event list
|
|
963
|
+
* @type {Array<EventResponse>}
|
|
964
|
+
* @memberof CalendarEvents
|
|
965
965
|
*/
|
|
966
|
-
'
|
|
966
|
+
'events': Array<EventResponse>;
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
*
|
|
970
|
+
* @export
|
|
971
|
+
* @interface CalendarEventsDTO
|
|
972
|
+
*/
|
|
973
|
+
export interface CalendarEventsDTO {
|
|
974
|
+
/**
|
|
975
|
+
* statusCode
|
|
976
|
+
* @type {number}
|
|
977
|
+
* @memberof CalendarEventsDTO
|
|
978
|
+
*/
|
|
979
|
+
'statusCode': number;
|
|
980
|
+
/**
|
|
981
|
+
* Calendar events response
|
|
982
|
+
* @type {CalendarEvents}
|
|
983
|
+
* @memberof CalendarEventsDTO
|
|
984
|
+
*/
|
|
985
|
+
'data': CalendarEvents;
|
|
967
986
|
}
|
|
968
987
|
/**
|
|
969
988
|
*
|
|
@@ -1099,6 +1118,38 @@ export interface CalendarSlotsDTO {
|
|
|
1099
1118
|
*/
|
|
1100
1119
|
'data': Array<CalendarSlotResponse>;
|
|
1101
1120
|
}
|
|
1121
|
+
/**
|
|
1122
|
+
*
|
|
1123
|
+
* @export
|
|
1124
|
+
* @interface CancelBookingDTO
|
|
1125
|
+
*/
|
|
1126
|
+
export interface CancelBookingDTO {
|
|
1127
|
+
/**
|
|
1128
|
+
* Booking Id
|
|
1129
|
+
* @type {string}
|
|
1130
|
+
* @memberof CancelBookingDTO
|
|
1131
|
+
*/
|
|
1132
|
+
'booking': string;
|
|
1133
|
+
}
|
|
1134
|
+
/**
|
|
1135
|
+
*
|
|
1136
|
+
* @export
|
|
1137
|
+
* @interface CancelBookingResponseDTO
|
|
1138
|
+
*/
|
|
1139
|
+
export interface CancelBookingResponseDTO {
|
|
1140
|
+
/**
|
|
1141
|
+
* statusCode
|
|
1142
|
+
* @type {number}
|
|
1143
|
+
* @memberof CancelBookingResponseDTO
|
|
1144
|
+
*/
|
|
1145
|
+
'statusCode': number;
|
|
1146
|
+
/**
|
|
1147
|
+
* Booking Cancel Status
|
|
1148
|
+
* @type {boolean}
|
|
1149
|
+
* @memberof CancelBookingResponseDTO
|
|
1150
|
+
*/
|
|
1151
|
+
'success': boolean;
|
|
1152
|
+
}
|
|
1102
1153
|
/**
|
|
1103
1154
|
*
|
|
1104
1155
|
* @export
|
|
@@ -1272,6 +1323,43 @@ export interface CreateCalendarPayload {
|
|
|
1272
1323
|
*/
|
|
1273
1324
|
'name': string;
|
|
1274
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @export
|
|
1329
|
+
* @interface CreateEventCustomer
|
|
1330
|
+
*/
|
|
1331
|
+
export interface CreateEventCustomer {
|
|
1332
|
+
/**
|
|
1333
|
+
* The unique identifier of the customer
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof CreateEventCustomer
|
|
1336
|
+
*/
|
|
1337
|
+
'_id'?: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* The name of the customer
|
|
1340
|
+
* @type {string}
|
|
1341
|
+
* @memberof CreateEventCustomer
|
|
1342
|
+
*/
|
|
1343
|
+
'name'?: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* The mobile phone number of the customer
|
|
1346
|
+
* @type {string}
|
|
1347
|
+
* @memberof CreateEventCustomer
|
|
1348
|
+
*/
|
|
1349
|
+
'mobile'?: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* The email address of the customer
|
|
1352
|
+
* @type {string}
|
|
1353
|
+
* @memberof CreateEventCustomer
|
|
1354
|
+
*/
|
|
1355
|
+
'email'?: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* The goodayId for the customer
|
|
1358
|
+
* @type {string}
|
|
1359
|
+
* @memberof CreateEventCustomer
|
|
1360
|
+
*/
|
|
1361
|
+
'goodayId'?: string;
|
|
1362
|
+
}
|
|
1275
1363
|
/**
|
|
1276
1364
|
*
|
|
1277
1365
|
* @export
|
|
@@ -1585,10 +1673,10 @@ export interface EventResponse {
|
|
|
1585
1673
|
'endDate': string;
|
|
1586
1674
|
/**
|
|
1587
1675
|
* Create event customer
|
|
1588
|
-
* @type {Array<
|
|
1676
|
+
* @type {Array<CreateEventCustomer>}
|
|
1589
1677
|
* @memberof EventResponse
|
|
1590
1678
|
*/
|
|
1591
|
-
'customers': Array<
|
|
1679
|
+
'customers': Array<CreateEventCustomer>;
|
|
1592
1680
|
/**
|
|
1593
1681
|
* The user details
|
|
1594
1682
|
* @type {Array<UserEntity>}
|
|
@@ -2370,6 +2458,12 @@ export interface OnBoardingDTO {
|
|
|
2370
2458
|
* @memberof OnBoardingDTO
|
|
2371
2459
|
*/
|
|
2372
2460
|
'assistant'?: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* Profile For user
|
|
2463
|
+
* @type {string}
|
|
2464
|
+
* @memberof OnBoardingDTO
|
|
2465
|
+
*/
|
|
2466
|
+
'profile'?: string;
|
|
2373
2467
|
/**
|
|
2374
2468
|
*
|
|
2375
2469
|
* @type {UserPlanDTO}
|
|
@@ -4560,6 +4654,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4560
4654
|
options: localVarRequestOptions,
|
|
4561
4655
|
};
|
|
4562
4656
|
},
|
|
4657
|
+
/**
|
|
4658
|
+
*
|
|
4659
|
+
* @param {CancelBookingDTO} cancelBookingDTO
|
|
4660
|
+
* @param {*} [options] Override http request option.
|
|
4661
|
+
* @throws {RequiredError}
|
|
4662
|
+
*/
|
|
4663
|
+
bookingControllerCancelBooking: async (cancelBookingDTO: CancelBookingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4664
|
+
// verify required parameter 'cancelBookingDTO' is not null or undefined
|
|
4665
|
+
assertParamExists('bookingControllerCancelBooking', 'cancelBookingDTO', cancelBookingDTO)
|
|
4666
|
+
const localVarPath = `/v1/booking/cancel-booking`;
|
|
4667
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4668
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4669
|
+
let baseOptions;
|
|
4670
|
+
if (configuration) {
|
|
4671
|
+
baseOptions = configuration.baseOptions;
|
|
4672
|
+
}
|
|
4673
|
+
|
|
4674
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4675
|
+
const localVarHeaderParameter = {} as any;
|
|
4676
|
+
const localVarQueryParameter = {} as any;
|
|
4677
|
+
|
|
4678
|
+
// authentication bearer required
|
|
4679
|
+
// http bearer authentication required
|
|
4680
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4681
|
+
|
|
4682
|
+
|
|
4683
|
+
|
|
4684
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4685
|
+
|
|
4686
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4687
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4688
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4689
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cancelBookingDTO, localVarRequestOptions, configuration)
|
|
4690
|
+
|
|
4691
|
+
return {
|
|
4692
|
+
url: toPathString(localVarUrlObj),
|
|
4693
|
+
options: localVarRequestOptions,
|
|
4694
|
+
};
|
|
4695
|
+
},
|
|
4563
4696
|
/**
|
|
4564
4697
|
*
|
|
4565
4698
|
* @param {CreateBookingPayload} createBookingPayload
|
|
@@ -4653,7 +4786,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4653
4786
|
baseOptions = configuration.baseOptions;
|
|
4654
4787
|
}
|
|
4655
4788
|
|
|
4656
|
-
const localVarRequestOptions = { method: '
|
|
4789
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4657
4790
|
const localVarHeaderParameter = {} as any;
|
|
4658
4791
|
const localVarQueryParameter = {} as any;
|
|
4659
4792
|
|
|
@@ -4697,6 +4830,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
4697
4830
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerAcceptBookingInvite']?.[localVarOperationServerIndex]?.url;
|
|
4698
4831
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4699
4832
|
},
|
|
4833
|
+
/**
|
|
4834
|
+
*
|
|
4835
|
+
* @param {CancelBookingDTO} cancelBookingDTO
|
|
4836
|
+
* @param {*} [options] Override http request option.
|
|
4837
|
+
* @throws {RequiredError}
|
|
4838
|
+
*/
|
|
4839
|
+
async bookingControllerCancelBooking(cancelBookingDTO: CancelBookingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelBookingResponseDTO>> {
|
|
4840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerCancelBooking(cancelBookingDTO, options);
|
|
4841
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4842
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCancelBooking']?.[localVarOperationServerIndex]?.url;
|
|
4843
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4844
|
+
},
|
|
4700
4845
|
/**
|
|
4701
4846
|
*
|
|
4702
4847
|
* @param {CreateBookingPayload} createBookingPayload
|
|
@@ -4752,6 +4897,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
4752
4897
|
bookingControllerAcceptBookingInvite(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
|
|
4753
4898
|
return localVarFp.bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
|
|
4754
4899
|
},
|
|
4900
|
+
/**
|
|
4901
|
+
*
|
|
4902
|
+
* @param {CancelBookingDTO} cancelBookingDTO
|
|
4903
|
+
* @param {*} [options] Override http request option.
|
|
4904
|
+
* @throws {RequiredError}
|
|
4905
|
+
*/
|
|
4906
|
+
bookingControllerCancelBooking(cancelBookingDTO: CancelBookingDTO, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponseDTO> {
|
|
4907
|
+
return localVarFp.bookingControllerCancelBooking(cancelBookingDTO, options).then((request) => request(axios, basePath));
|
|
4908
|
+
},
|
|
4755
4909
|
/**
|
|
4756
4910
|
*
|
|
4757
4911
|
* @param {CreateBookingPayload} createBookingPayload
|
|
@@ -4800,6 +4954,17 @@ export class BookingApi extends BaseAPI {
|
|
|
4800
4954
|
return BookingApiFp(this.configuration).bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
4801
4955
|
}
|
|
4802
4956
|
|
|
4957
|
+
/**
|
|
4958
|
+
*
|
|
4959
|
+
* @param {CancelBookingDTO} cancelBookingDTO
|
|
4960
|
+
* @param {*} [options] Override http request option.
|
|
4961
|
+
* @throws {RequiredError}
|
|
4962
|
+
* @memberof BookingApi
|
|
4963
|
+
*/
|
|
4964
|
+
public bookingControllerCancelBooking(cancelBookingDTO: CancelBookingDTO, options?: RawAxiosRequestConfig) {
|
|
4965
|
+
return BookingApiFp(this.configuration).bookingControllerCancelBooking(cancelBookingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4966
|
+
}
|
|
4967
|
+
|
|
4803
4968
|
/**
|
|
4804
4969
|
*
|
|
4805
4970
|
* @param {CreateBookingPayload} createBookingPayload
|
|
@@ -4984,10 +5149,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4984
5149
|
},
|
|
4985
5150
|
/**
|
|
4986
5151
|
*
|
|
5152
|
+
* @param {boolean} [favorite] Business Type Allow Return Favourite
|
|
4987
5153
|
* @param {*} [options] Override http request option.
|
|
4988
5154
|
* @throws {RequiredError}
|
|
4989
5155
|
*/
|
|
4990
|
-
businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5156
|
+
businessTypeControllerListBusinessType: async (favorite?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4991
5157
|
const localVarPath = `/v1/business/list`;
|
|
4992
5158
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4993
5159
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5004,6 +5170,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5004
5170
|
// http bearer authentication required
|
|
5005
5171
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5006
5172
|
|
|
5173
|
+
if (favorite !== undefined) {
|
|
5174
|
+
localVarQueryParameter['favorite'] = favorite;
|
|
5175
|
+
}
|
|
5176
|
+
|
|
5007
5177
|
|
|
5008
5178
|
|
|
5009
5179
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5291,11 +5461,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
5291
5461
|
},
|
|
5292
5462
|
/**
|
|
5293
5463
|
*
|
|
5464
|
+
* @param {boolean} [favorite] Business Type Allow Return Favourite
|
|
5294
5465
|
* @param {*} [options] Override http request option.
|
|
5295
5466
|
* @throws {RequiredError}
|
|
5296
5467
|
*/
|
|
5297
|
-
async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
5298
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
|
|
5468
|
+
async businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
5469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(favorite, options);
|
|
5299
5470
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5300
5471
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
|
|
5301
5472
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5417,11 +5588,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
5417
5588
|
},
|
|
5418
5589
|
/**
|
|
5419
5590
|
*
|
|
5591
|
+
* @param {boolean} [favorite] Business Type Allow Return Favourite
|
|
5420
5592
|
* @param {*} [options] Override http request option.
|
|
5421
5593
|
* @throws {RequiredError}
|
|
5422
5594
|
*/
|
|
5423
|
-
businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
|
|
5424
|
-
return localVarFp.businessTypeControllerListBusinessType(options).then((request) => request(axios, basePath));
|
|
5595
|
+
businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
|
|
5596
|
+
return localVarFp.businessTypeControllerListBusinessType(favorite, options).then((request) => request(axios, basePath));
|
|
5425
5597
|
},
|
|
5426
5598
|
/**
|
|
5427
5599
|
*
|
|
@@ -5530,12 +5702,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
5530
5702
|
|
|
5531
5703
|
/**
|
|
5532
5704
|
*
|
|
5705
|
+
* @param {boolean} [favorite] Business Type Allow Return Favourite
|
|
5533
5706
|
* @param {*} [options] Override http request option.
|
|
5534
5707
|
* @throws {RequiredError}
|
|
5535
5708
|
* @memberof BusinessApi
|
|
5536
5709
|
*/
|
|
5537
|
-
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
5538
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
5710
|
+
public businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig) {
|
|
5711
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(favorite, options).then((request) => request(this.axios, this.basePath));
|
|
5539
5712
|
}
|
|
5540
5713
|
|
|
5541
5714
|
/**
|
|
@@ -5778,13 +5951,16 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5778
5951
|
},
|
|
5779
5952
|
/**
|
|
5780
5953
|
*
|
|
5781
|
-
* @param {
|
|
5954
|
+
* @param {string} startDate Start date for the events
|
|
5955
|
+
* @param {string} endDate End date for the events
|
|
5782
5956
|
* @param {*} [options] Override http request option.
|
|
5783
5957
|
* @throws {RequiredError}
|
|
5784
5958
|
*/
|
|
5785
|
-
calendarControllerListEvents: async (
|
|
5786
|
-
// verify required parameter '
|
|
5787
|
-
assertParamExists('calendarControllerListEvents', '
|
|
5959
|
+
calendarControllerListEvents: async (startDate: string, endDate: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5960
|
+
// verify required parameter 'startDate' is not null or undefined
|
|
5961
|
+
assertParamExists('calendarControllerListEvents', 'startDate', startDate)
|
|
5962
|
+
// verify required parameter 'endDate' is not null or undefined
|
|
5963
|
+
assertParamExists('calendarControllerListEvents', 'endDate', endDate)
|
|
5788
5964
|
const localVarPath = `/v1/calendar/events`;
|
|
5789
5965
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5790
5966
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5801,14 +5977,23 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5801
5977
|
// http bearer authentication required
|
|
5802
5978
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5803
5979
|
|
|
5980
|
+
if (startDate !== undefined) {
|
|
5981
|
+
localVarQueryParameter['startDate'] = (startDate as any instanceof Date) ?
|
|
5982
|
+
(startDate as any).toISOString() :
|
|
5983
|
+
startDate;
|
|
5984
|
+
}
|
|
5985
|
+
|
|
5986
|
+
if (endDate !== undefined) {
|
|
5987
|
+
localVarQueryParameter['endDate'] = (endDate as any instanceof Date) ?
|
|
5988
|
+
(endDate as any).toISOString() :
|
|
5989
|
+
endDate;
|
|
5990
|
+
}
|
|
5804
5991
|
|
|
5805
|
-
|
|
5806
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5807
5992
|
|
|
5993
|
+
|
|
5808
5994
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5809
5995
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5810
5996
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5811
|
-
localVarRequestOptions.data = serializeDataIfNeeded(calendarEventsListPayload, localVarRequestOptions, configuration)
|
|
5812
5997
|
|
|
5813
5998
|
return {
|
|
5814
5999
|
url: toPathString(localVarUrlObj),
|
|
@@ -6064,12 +6249,13 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
6064
6249
|
},
|
|
6065
6250
|
/**
|
|
6066
6251
|
*
|
|
6067
|
-
* @param {
|
|
6252
|
+
* @param {string} startDate Start date for the events
|
|
6253
|
+
* @param {string} endDate End date for the events
|
|
6068
6254
|
* @param {*} [options] Override http request option.
|
|
6069
6255
|
* @throws {RequiredError}
|
|
6070
6256
|
*/
|
|
6071
|
-
async calendarControllerListEvents(
|
|
6072
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(
|
|
6257
|
+
async calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
|
|
6258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, options);
|
|
6073
6259
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6074
6260
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListEvents']?.[localVarOperationServerIndex]?.url;
|
|
6075
6261
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6181,12 +6367,13 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
6181
6367
|
},
|
|
6182
6368
|
/**
|
|
6183
6369
|
*
|
|
6184
|
-
* @param {
|
|
6370
|
+
* @param {string} startDate Start date for the events
|
|
6371
|
+
* @param {string} endDate End date for the events
|
|
6185
6372
|
* @param {*} [options] Override http request option.
|
|
6186
6373
|
* @throws {RequiredError}
|
|
6187
6374
|
*/
|
|
6188
|
-
calendarControllerListEvents(
|
|
6189
|
-
return localVarFp.calendarControllerListEvents(
|
|
6375
|
+
calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
|
|
6376
|
+
return localVarFp.calendarControllerListEvents(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
6190
6377
|
},
|
|
6191
6378
|
/**
|
|
6192
6379
|
*
|
|
@@ -6288,13 +6475,14 @@ export class CalendarApi extends BaseAPI {
|
|
|
6288
6475
|
|
|
6289
6476
|
/**
|
|
6290
6477
|
*
|
|
6291
|
-
* @param {
|
|
6478
|
+
* @param {string} startDate Start date for the events
|
|
6479
|
+
* @param {string} endDate End date for the events
|
|
6292
6480
|
* @param {*} [options] Override http request option.
|
|
6293
6481
|
* @throws {RequiredError}
|
|
6294
6482
|
* @memberof CalendarApi
|
|
6295
6483
|
*/
|
|
6296
|
-
public calendarControllerListEvents(
|
|
6297
|
-
return CalendarApiFp(this.configuration).calendarControllerListEvents(
|
|
6484
|
+
public calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig) {
|
|
6485
|
+
return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
6298
6486
|
}
|
|
6299
6487
|
|
|
6300
6488
|
/**
|
|
@@ -6487,7 +6675,7 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6487
6675
|
baseOptions = configuration.baseOptions;
|
|
6488
6676
|
}
|
|
6489
6677
|
|
|
6490
|
-
const localVarRequestOptions = { method: '
|
|
6678
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6491
6679
|
const localVarHeaderParameter = {} as any;
|
|
6492
6680
|
const localVarQueryParameter = {} as any;
|
|
6493
6681
|
|
|
@@ -6602,7 +6790,7 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6602
6790
|
baseOptions = configuration.baseOptions;
|
|
6603
6791
|
}
|
|
6604
6792
|
|
|
6605
|
-
const localVarRequestOptions = { method: '
|
|
6793
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6606
6794
|
const localVarHeaderParameter = {} as any;
|
|
6607
6795
|
const localVarQueryParameter = {} as any;
|
|
6608
6796
|
|