@ahomevilla-hotel/node-sdk 1.3.1 → 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 +11 -13
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2734,10 +2734,10 @@ export interface QueryMyBookingsDto {
|
|
|
2734
2734
|
'pageSize'?: number;
|
|
2735
2735
|
/**
|
|
2736
2736
|
* Filter my bookings
|
|
2737
|
-
* @type {
|
|
2737
|
+
* @type {string}
|
|
2738
2738
|
* @memberof QueryMyBookingsDto
|
|
2739
2739
|
*/
|
|
2740
|
-
'filters'?:
|
|
2740
|
+
'filters'?: string;
|
|
2741
2741
|
}
|
|
2742
2742
|
/**
|
|
2743
2743
|
*
|
|
@@ -6915,11 +6915,11 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6915
6915
|
* @summary Get all my bookings with pagination and filters
|
|
6916
6916
|
* @param {number} [page]
|
|
6917
6917
|
* @param {number} [pageSize]
|
|
6918
|
-
* @param {
|
|
6918
|
+
* @param {string} [filters] Filter my bookings
|
|
6919
6919
|
* @param {*} [options] Override http request option.
|
|
6920
6920
|
* @throws {RequiredError}
|
|
6921
6921
|
*/
|
|
6922
|
-
bookingControllerGetMyBookings: async (page?: number, pageSize?: number, filters?:
|
|
6922
|
+
bookingControllerGetMyBookings: async (page?: number, pageSize?: number, filters?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6923
6923
|
const localVarPath = `/api/booking/my-bookings`;
|
|
6924
6924
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6925
6925
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6941,9 +6941,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6941
6941
|
}
|
|
6942
6942
|
|
|
6943
6943
|
if (filters !== undefined) {
|
|
6944
|
-
|
|
6945
|
-
localVarQueryParameter[key] = value;
|
|
6946
|
-
}
|
|
6944
|
+
localVarQueryParameter['filters'] = filters;
|
|
6947
6945
|
}
|
|
6948
6946
|
|
|
6949
6947
|
|
|
@@ -7111,11 +7109,11 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
7111
7109
|
* @summary Get all my bookings with pagination and filters
|
|
7112
7110
|
* @param {number} [page]
|
|
7113
7111
|
* @param {number} [pageSize]
|
|
7114
|
-
* @param {
|
|
7112
|
+
* @param {string} [filters] Filter my bookings
|
|
7115
7113
|
* @param {*} [options] Override http request option.
|
|
7116
7114
|
* @throws {RequiredError}
|
|
7117
7115
|
*/
|
|
7118
|
-
async bookingControllerGetMyBookings(page?: number, pageSize?: number, filters?:
|
|
7116
|
+
async bookingControllerGetMyBookings(page?: number, pageSize?: number, filters?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsPaginationResultDto>> {
|
|
7119
7117
|
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerGetMyBookings(page, pageSize, filters, options);
|
|
7120
7118
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7121
7119
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerGetMyBookings']?.[localVarOperationServerIndex]?.url;
|
|
@@ -7216,11 +7214,11 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
7216
7214
|
* @summary Get all my bookings with pagination and filters
|
|
7217
7215
|
* @param {number} [page]
|
|
7218
7216
|
* @param {number} [pageSize]
|
|
7219
|
-
* @param {
|
|
7217
|
+
* @param {string} [filters] Filter my bookings
|
|
7220
7218
|
* @param {*} [options] Override http request option.
|
|
7221
7219
|
* @throws {RequiredError}
|
|
7222
7220
|
*/
|
|
7223
|
-
bookingControllerGetMyBookings(page?: number, pageSize?: number, filters?:
|
|
7221
|
+
bookingControllerGetMyBookings(page?: number, pageSize?: number, filters?: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingsPaginationResultDto> {
|
|
7224
7222
|
return localVarFp.bookingControllerGetMyBookings(page, pageSize, filters, options).then((request) => request(axios, basePath));
|
|
7225
7223
|
},
|
|
7226
7224
|
/**
|
|
@@ -7322,12 +7320,12 @@ export class BookingApi extends BaseAPI {
|
|
|
7322
7320
|
* @summary Get all my bookings with pagination and filters
|
|
7323
7321
|
* @param {number} [page]
|
|
7324
7322
|
* @param {number} [pageSize]
|
|
7325
|
-
* @param {
|
|
7323
|
+
* @param {string} [filters] Filter my bookings
|
|
7326
7324
|
* @param {*} [options] Override http request option.
|
|
7327
7325
|
* @throws {RequiredError}
|
|
7328
7326
|
* @memberof BookingApi
|
|
7329
7327
|
*/
|
|
7330
|
-
public bookingControllerGetMyBookings(page?: number, pageSize?: number, filters?:
|
|
7328
|
+
public bookingControllerGetMyBookings(page?: number, pageSize?: number, filters?: string, options?: RawAxiosRequestConfig) {
|
|
7331
7329
|
return BookingApiFp(this.configuration).bookingControllerGetMyBookings(page, pageSize, filters, options).then((request) => request(this.axios, this.basePath));
|
|
7332
7330
|
}
|
|
7333
7331
|
|