@ahomevilla-hotel/node-sdk 1.0.12 → 1.0.14
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 +386 -118
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -23,6 +23,25 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AmenitiesPaginationResultDto
|
|
30
|
+
*/
|
|
31
|
+
export interface AmenitiesPaginationResultDto {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<Amenity>}
|
|
35
|
+
* @memberof AmenitiesPaginationResultDto
|
|
36
|
+
*/
|
|
37
|
+
'data': Array<Amenity>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {UsersPaginationResultDtoMeta}
|
|
41
|
+
* @memberof AmenitiesPaginationResultDto
|
|
42
|
+
*/
|
|
43
|
+
'meta': UsersPaginationResultDtoMeta;
|
|
44
|
+
}
|
|
26
45
|
/**
|
|
27
46
|
*
|
|
28
47
|
* @export
|
|
@@ -355,6 +374,46 @@ export interface BranchesPaginationResultDto {
|
|
|
355
374
|
*/
|
|
356
375
|
'meta': UsersPaginationResultDtoMeta;
|
|
357
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @export
|
|
380
|
+
* @interface CreateAmenityDto
|
|
381
|
+
*/
|
|
382
|
+
export interface CreateAmenityDto {
|
|
383
|
+
/**
|
|
384
|
+
* The name of the amenity
|
|
385
|
+
* @type {string}
|
|
386
|
+
* @memberof CreateAmenityDto
|
|
387
|
+
*/
|
|
388
|
+
'name': string;
|
|
389
|
+
/**
|
|
390
|
+
* URL-friendly version of the name (lowercase, hyphenated)
|
|
391
|
+
* @type {string}
|
|
392
|
+
* @memberof CreateAmenityDto
|
|
393
|
+
*/
|
|
394
|
+
'slug': string;
|
|
395
|
+
/**
|
|
396
|
+
* Type of amenity (ROOM, PROPERTY, or SERVICE)
|
|
397
|
+
* @type {string}
|
|
398
|
+
* @memberof CreateAmenityDto
|
|
399
|
+
*/
|
|
400
|
+
'type': CreateAmenityDtoTypeEnum;
|
|
401
|
+
/**
|
|
402
|
+
* Icon image details
|
|
403
|
+
* @type {Image}
|
|
404
|
+
* @memberof CreateAmenityDto
|
|
405
|
+
*/
|
|
406
|
+
'icon': Image;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export const CreateAmenityDtoTypeEnum = {
|
|
410
|
+
Room: 'ROOM',
|
|
411
|
+
Property: 'PROPERTY',
|
|
412
|
+
Service: 'SERVICE'
|
|
413
|
+
} as const;
|
|
414
|
+
|
|
415
|
+
export type CreateAmenityDtoTypeEnum = typeof CreateAmenityDtoTypeEnum[keyof typeof CreateAmenityDtoTypeEnum];
|
|
416
|
+
|
|
358
417
|
/**
|
|
359
418
|
*
|
|
360
419
|
* @export
|
|
@@ -556,6 +615,34 @@ export interface CreateUserDto {
|
|
|
556
615
|
*/
|
|
557
616
|
'name': string;
|
|
558
617
|
}
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @export
|
|
621
|
+
* @interface FilterAmenityDto
|
|
622
|
+
*/
|
|
623
|
+
export interface FilterAmenityDto {
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @type {string}
|
|
627
|
+
* @memberof FilterAmenityDto
|
|
628
|
+
*/
|
|
629
|
+
'types'?: FilterAmenityDtoTypesEnum;
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {string}
|
|
633
|
+
* @memberof FilterAmenityDto
|
|
634
|
+
*/
|
|
635
|
+
'search'?: string;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export const FilterAmenityDtoTypesEnum = {
|
|
639
|
+
Room: 'ROOM',
|
|
640
|
+
Property: 'PROPERTY',
|
|
641
|
+
Service: 'SERVICE'
|
|
642
|
+
} as const;
|
|
643
|
+
|
|
644
|
+
export type FilterAmenityDtoTypesEnum = typeof FilterAmenityDtoTypesEnum[keyof typeof FilterAmenityDtoTypesEnum];
|
|
645
|
+
|
|
559
646
|
/**
|
|
560
647
|
*
|
|
561
648
|
* @export
|
|
@@ -973,6 +1060,37 @@ export interface ProvincePaginationResultDto {
|
|
|
973
1060
|
*/
|
|
974
1061
|
'meta': UsersPaginationResultDtoMeta;
|
|
975
1062
|
}
|
|
1063
|
+
/**
|
|
1064
|
+
*
|
|
1065
|
+
* @export
|
|
1066
|
+
* @interface QueryAmenityDto
|
|
1067
|
+
*/
|
|
1068
|
+
export interface QueryAmenityDto {
|
|
1069
|
+
/**
|
|
1070
|
+
*
|
|
1071
|
+
* @type {number}
|
|
1072
|
+
* @memberof QueryAmenityDto
|
|
1073
|
+
*/
|
|
1074
|
+
'page'?: number;
|
|
1075
|
+
/**
|
|
1076
|
+
*
|
|
1077
|
+
* @type {number}
|
|
1078
|
+
* @memberof QueryAmenityDto
|
|
1079
|
+
*/
|
|
1080
|
+
'pageSize'?: number;
|
|
1081
|
+
/**
|
|
1082
|
+
* JSON string of FilterAmenityDto
|
|
1083
|
+
* @type {string}
|
|
1084
|
+
* @memberof QueryAmenityDto
|
|
1085
|
+
*/
|
|
1086
|
+
'filters'?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* JSON string of SortAmenityDto
|
|
1089
|
+
* @type {string}
|
|
1090
|
+
* @memberof QueryAmenityDto
|
|
1091
|
+
*/
|
|
1092
|
+
'sort'?: string;
|
|
1093
|
+
}
|
|
976
1094
|
/**
|
|
977
1095
|
*
|
|
978
1096
|
* @export
|
|
@@ -1348,6 +1466,33 @@ export interface SessionResponseDto {
|
|
|
1348
1466
|
*/
|
|
1349
1467
|
'sessions': Array<string>;
|
|
1350
1468
|
}
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @export
|
|
1472
|
+
* @interface SortAmenityDto
|
|
1473
|
+
*/
|
|
1474
|
+
export interface SortAmenityDto {
|
|
1475
|
+
/**
|
|
1476
|
+
* Key of Entity to sort
|
|
1477
|
+
* @type {string}
|
|
1478
|
+
* @memberof SortAmenityDto
|
|
1479
|
+
*/
|
|
1480
|
+
'orderBy': string;
|
|
1481
|
+
/**
|
|
1482
|
+
* Order of sorting
|
|
1483
|
+
* @type {string}
|
|
1484
|
+
* @memberof SortAmenityDto
|
|
1485
|
+
*/
|
|
1486
|
+
'order': SortAmenityDtoOrderEnum;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
export const SortAmenityDtoOrderEnum = {
|
|
1490
|
+
Asc: 'asc',
|
|
1491
|
+
Desc: 'desc'
|
|
1492
|
+
} as const;
|
|
1493
|
+
|
|
1494
|
+
export type SortAmenityDtoOrderEnum = typeof SortAmenityDtoOrderEnum[keyof typeof SortAmenityDtoOrderEnum];
|
|
1495
|
+
|
|
1351
1496
|
/**
|
|
1352
1497
|
*
|
|
1353
1498
|
* @export
|
|
@@ -1429,6 +1574,46 @@ export const SortUserDtoOrderEnum = {
|
|
|
1429
1574
|
|
|
1430
1575
|
export type SortUserDtoOrderEnum = typeof SortUserDtoOrderEnum[keyof typeof SortUserDtoOrderEnum];
|
|
1431
1576
|
|
|
1577
|
+
/**
|
|
1578
|
+
*
|
|
1579
|
+
* @export
|
|
1580
|
+
* @interface UpdateAmenityDto
|
|
1581
|
+
*/
|
|
1582
|
+
export interface UpdateAmenityDto {
|
|
1583
|
+
/**
|
|
1584
|
+
* The name of the amenity
|
|
1585
|
+
* @type {string}
|
|
1586
|
+
* @memberof UpdateAmenityDto
|
|
1587
|
+
*/
|
|
1588
|
+
'name'?: string;
|
|
1589
|
+
/**
|
|
1590
|
+
* URL-friendly version of the name (lowercase, hyphenated)
|
|
1591
|
+
* @type {string}
|
|
1592
|
+
* @memberof UpdateAmenityDto
|
|
1593
|
+
*/
|
|
1594
|
+
'slug'?: string;
|
|
1595
|
+
/**
|
|
1596
|
+
* Type of amenity (ROOM, PROPERTY, or SERVICE)
|
|
1597
|
+
* @type {string}
|
|
1598
|
+
* @memberof UpdateAmenityDto
|
|
1599
|
+
*/
|
|
1600
|
+
'type'?: UpdateAmenityDtoTypeEnum;
|
|
1601
|
+
/**
|
|
1602
|
+
* Icon image details
|
|
1603
|
+
* @type {Image}
|
|
1604
|
+
* @memberof UpdateAmenityDto
|
|
1605
|
+
*/
|
|
1606
|
+
'icon'?: Image;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
export const UpdateAmenityDtoTypeEnum = {
|
|
1610
|
+
Room: 'ROOM',
|
|
1611
|
+
Property: 'PROPERTY',
|
|
1612
|
+
Service: 'SERVICE'
|
|
1613
|
+
} as const;
|
|
1614
|
+
|
|
1615
|
+
export type UpdateAmenityDtoTypeEnum = typeof UpdateAmenityDtoTypeEnum[keyof typeof UpdateAmenityDtoTypeEnum];
|
|
1616
|
+
|
|
1432
1617
|
/**
|
|
1433
1618
|
*
|
|
1434
1619
|
* @export
|
|
@@ -1886,14 +2071,14 @@ export const AmenitiesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1886
2071
|
return {
|
|
1887
2072
|
/**
|
|
1888
2073
|
*
|
|
1889
|
-
* @
|
|
1890
|
-
* @param {
|
|
1891
|
-
* @param {AmenitiesControllerCreateTypeEnum} [type]
|
|
1892
|
-
* @param {File} [icon]
|
|
2074
|
+
* @summary Create new amenity
|
|
2075
|
+
* @param {CreateAmenityDto} createAmenityDto
|
|
1893
2076
|
* @param {*} [options] Override http request option.
|
|
1894
2077
|
* @throws {RequiredError}
|
|
1895
2078
|
*/
|
|
1896
|
-
amenitiesControllerCreate: async (
|
|
2079
|
+
amenitiesControllerCreate: async (createAmenityDto: CreateAmenityDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2080
|
+
// verify required parameter 'createAmenityDto' is not null or undefined
|
|
2081
|
+
assertParamExists('amenitiesControllerCreate', 'createAmenityDto', createAmenityDto)
|
|
1897
2082
|
const localVarPath = `/api/amenities`;
|
|
1898
2083
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1899
2084
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1905,32 +2090,15 @@ export const AmenitiesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1905
2090
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1906
2091
|
const localVarHeaderParameter = {} as any;
|
|
1907
2092
|
const localVarQueryParameter = {} as any;
|
|
1908
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1909
2093
|
|
|
1910
2094
|
|
|
1911
|
-
if (name !== undefined) {
|
|
1912
|
-
localVarFormParams.append('name', name as any);
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
|
-
if (slug !== undefined) {
|
|
1916
|
-
localVarFormParams.append('slug', slug as any);
|
|
1917
|
-
}
|
|
1918
|
-
|
|
1919
|
-
if (type !== undefined) {
|
|
1920
|
-
localVarFormParams.append('type', type as any);
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
if (icon !== undefined) {
|
|
1924
|
-
localVarFormParams.append('icon', icon as any);
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1929
2095
|
|
|
2096
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2097
|
+
|
|
1930
2098
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1931
2099
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1932
2100
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1933
|
-
localVarRequestOptions.data =
|
|
2101
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createAmenityDto, localVarRequestOptions, configuration)
|
|
1934
2102
|
|
|
1935
2103
|
return {
|
|
1936
2104
|
url: toPathString(localVarUrlObj),
|
|
@@ -1939,14 +2107,15 @@ export const AmenitiesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1939
2107
|
},
|
|
1940
2108
|
/**
|
|
1941
2109
|
*
|
|
2110
|
+
* @summary Get amenities
|
|
1942
2111
|
* @param {number} [page]
|
|
1943
2112
|
* @param {number} [pageSize]
|
|
1944
|
-
* @param {
|
|
1945
|
-
* @param {
|
|
2113
|
+
* @param {string} [filters] JSON string of FilterAmenityDto
|
|
2114
|
+
* @param {string} [sort] JSON string of SortAmenityDto
|
|
1946
2115
|
* @param {*} [options] Override http request option.
|
|
1947
2116
|
* @throws {RequiredError}
|
|
1948
2117
|
*/
|
|
1949
|
-
|
|
2118
|
+
amenitiesControllerFindMany: async (page?: number, pageSize?: number, filters?: string, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1950
2119
|
const localVarPath = `/api/amenities`;
|
|
1951
2120
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1952
2121
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1968,12 +2137,10 @@ export const AmenitiesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1968
2137
|
}
|
|
1969
2138
|
|
|
1970
2139
|
if (filters !== undefined) {
|
|
1971
|
-
|
|
1972
|
-
localVarQueryParameter[key] = value;
|
|
1973
|
-
}
|
|
2140
|
+
localVarQueryParameter['filters'] = filters;
|
|
1974
2141
|
}
|
|
1975
2142
|
|
|
1976
|
-
if (sort) {
|
|
2143
|
+
if (sort !== undefined) {
|
|
1977
2144
|
localVarQueryParameter['sort'] = sort;
|
|
1978
2145
|
}
|
|
1979
2146
|
|
|
@@ -2056,16 +2223,17 @@ export const AmenitiesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2056
2223
|
},
|
|
2057
2224
|
/**
|
|
2058
2225
|
*
|
|
2226
|
+
* @summary Update amenity
|
|
2059
2227
|
* @param {string} id
|
|
2060
|
-
* @param {
|
|
2061
|
-
* @param {string} [slug] URL-friendly version of the name (lowercase, hyphenated)
|
|
2062
|
-
* @param {AmenitiesControllerUpdateTypeEnum} [type] Type of amenity (ROOM, PROPERTY, or SERVICE)
|
|
2228
|
+
* @param {UpdateAmenityDto} updateAmenityDto
|
|
2063
2229
|
* @param {*} [options] Override http request option.
|
|
2064
2230
|
* @throws {RequiredError}
|
|
2065
2231
|
*/
|
|
2066
|
-
amenitiesControllerUpdate: async (id: string,
|
|
2232
|
+
amenitiesControllerUpdate: async (id: string, updateAmenityDto: UpdateAmenityDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2067
2233
|
// verify required parameter 'id' is not null or undefined
|
|
2068
2234
|
assertParamExists('amenitiesControllerUpdate', 'id', id)
|
|
2235
|
+
// verify required parameter 'updateAmenityDto' is not null or undefined
|
|
2236
|
+
assertParamExists('amenitiesControllerUpdate', 'updateAmenityDto', updateAmenityDto)
|
|
2069
2237
|
const localVarPath = `/api/amenities/{id}`
|
|
2070
2238
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2071
2239
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -2078,28 +2246,15 @@ export const AmenitiesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2078
2246
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
2079
2247
|
const localVarHeaderParameter = {} as any;
|
|
2080
2248
|
const localVarQueryParameter = {} as any;
|
|
2081
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2082
2249
|
|
|
2083
2250
|
|
|
2084
|
-
if (name !== undefined) {
|
|
2085
|
-
localVarFormParams.append('name', name as any);
|
|
2086
|
-
}
|
|
2087
|
-
|
|
2088
|
-
if (slug !== undefined) {
|
|
2089
|
-
localVarFormParams.append('slug', slug as any);
|
|
2090
|
-
}
|
|
2091
|
-
|
|
2092
|
-
if (type !== undefined) {
|
|
2093
|
-
localVarFormParams.append('type', type as any);
|
|
2094
|
-
}
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2098
2251
|
|
|
2252
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2253
|
+
|
|
2099
2254
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2100
2255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2101
2256
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2102
|
-
localVarRequestOptions.data =
|
|
2257
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateAmenityDto, localVarRequestOptions, configuration)
|
|
2103
2258
|
|
|
2104
2259
|
return {
|
|
2105
2260
|
url: toPathString(localVarUrlObj),
|
|
@@ -2118,32 +2273,31 @@ export const AmenitiesApiFp = function(configuration?: Configuration) {
|
|
|
2118
2273
|
return {
|
|
2119
2274
|
/**
|
|
2120
2275
|
*
|
|
2121
|
-
* @
|
|
2122
|
-
* @param {
|
|
2123
|
-
* @param {AmenitiesControllerCreateTypeEnum} [type]
|
|
2124
|
-
* @param {File} [icon]
|
|
2276
|
+
* @summary Create new amenity
|
|
2277
|
+
* @param {CreateAmenityDto} createAmenityDto
|
|
2125
2278
|
* @param {*} [options] Override http request option.
|
|
2126
2279
|
* @throws {RequiredError}
|
|
2127
2280
|
*/
|
|
2128
|
-
async amenitiesControllerCreate(
|
|
2129
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.amenitiesControllerCreate(
|
|
2281
|
+
async amenitiesControllerCreate(createAmenityDto: CreateAmenityDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Amenity>> {
|
|
2282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.amenitiesControllerCreate(createAmenityDto, options);
|
|
2130
2283
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2131
2284
|
const localVarOperationServerBasePath = operationServerMap['AmenitiesApi.amenitiesControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
2132
2285
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2133
2286
|
},
|
|
2134
2287
|
/**
|
|
2135
2288
|
*
|
|
2289
|
+
* @summary Get amenities
|
|
2136
2290
|
* @param {number} [page]
|
|
2137
2291
|
* @param {number} [pageSize]
|
|
2138
|
-
* @param {
|
|
2139
|
-
* @param {
|
|
2292
|
+
* @param {string} [filters] JSON string of FilterAmenityDto
|
|
2293
|
+
* @param {string} [sort] JSON string of SortAmenityDto
|
|
2140
2294
|
* @param {*} [options] Override http request option.
|
|
2141
2295
|
* @throws {RequiredError}
|
|
2142
2296
|
*/
|
|
2143
|
-
async
|
|
2144
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2297
|
+
async amenitiesControllerFindMany(page?: number, pageSize?: number, filters?: string, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AmenitiesPaginationResultDto>> {
|
|
2298
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.amenitiesControllerFindMany(page, pageSize, filters, sort, options);
|
|
2145
2299
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2146
|
-
const localVarOperationServerBasePath = operationServerMap['AmenitiesApi.
|
|
2300
|
+
const localVarOperationServerBasePath = operationServerMap['AmenitiesApi.amenitiesControllerFindMany']?.[localVarOperationServerIndex]?.url;
|
|
2147
2301
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2148
2302
|
},
|
|
2149
2303
|
/**
|
|
@@ -2172,15 +2326,14 @@ export const AmenitiesApiFp = function(configuration?: Configuration) {
|
|
|
2172
2326
|
},
|
|
2173
2327
|
/**
|
|
2174
2328
|
*
|
|
2329
|
+
* @summary Update amenity
|
|
2175
2330
|
* @param {string} id
|
|
2176
|
-
* @param {
|
|
2177
|
-
* @param {string} [slug] URL-friendly version of the name (lowercase, hyphenated)
|
|
2178
|
-
* @param {AmenitiesControllerUpdateTypeEnum} [type] Type of amenity (ROOM, PROPERTY, or SERVICE)
|
|
2331
|
+
* @param {UpdateAmenityDto} updateAmenityDto
|
|
2179
2332
|
* @param {*} [options] Override http request option.
|
|
2180
2333
|
* @throws {RequiredError}
|
|
2181
2334
|
*/
|
|
2182
|
-
async amenitiesControllerUpdate(id: string,
|
|
2183
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.amenitiesControllerUpdate(id,
|
|
2335
|
+
async amenitiesControllerUpdate(id: string, updateAmenityDto: UpdateAmenityDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Amenity>> {
|
|
2336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.amenitiesControllerUpdate(id, updateAmenityDto, options);
|
|
2184
2337
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2185
2338
|
const localVarOperationServerBasePath = operationServerMap['AmenitiesApi.amenitiesControllerUpdate']?.[localVarOperationServerIndex]?.url;
|
|
2186
2339
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2197,27 +2350,26 @@ export const AmenitiesApiFactory = function (configuration?: Configuration, base
|
|
|
2197
2350
|
return {
|
|
2198
2351
|
/**
|
|
2199
2352
|
*
|
|
2200
|
-
* @
|
|
2201
|
-
* @param {
|
|
2202
|
-
* @param {AmenitiesControllerCreateTypeEnum} [type]
|
|
2203
|
-
* @param {File} [icon]
|
|
2353
|
+
* @summary Create new amenity
|
|
2354
|
+
* @param {CreateAmenityDto} createAmenityDto
|
|
2204
2355
|
* @param {*} [options] Override http request option.
|
|
2205
2356
|
* @throws {RequiredError}
|
|
2206
2357
|
*/
|
|
2207
|
-
amenitiesControllerCreate(
|
|
2208
|
-
return localVarFp.amenitiesControllerCreate(
|
|
2358
|
+
amenitiesControllerCreate(createAmenityDto: CreateAmenityDto, options?: RawAxiosRequestConfig): AxiosPromise<Amenity> {
|
|
2359
|
+
return localVarFp.amenitiesControllerCreate(createAmenityDto, options).then((request) => request(axios, basePath));
|
|
2209
2360
|
},
|
|
2210
2361
|
/**
|
|
2211
2362
|
*
|
|
2363
|
+
* @summary Get amenities
|
|
2212
2364
|
* @param {number} [page]
|
|
2213
2365
|
* @param {number} [pageSize]
|
|
2214
|
-
* @param {
|
|
2215
|
-
* @param {
|
|
2366
|
+
* @param {string} [filters] JSON string of FilterAmenityDto
|
|
2367
|
+
* @param {string} [sort] JSON string of SortAmenityDto
|
|
2216
2368
|
* @param {*} [options] Override http request option.
|
|
2217
2369
|
* @throws {RequiredError}
|
|
2218
2370
|
*/
|
|
2219
|
-
|
|
2220
|
-
return localVarFp.
|
|
2371
|
+
amenitiesControllerFindMany(page?: number, pageSize?: number, filters?: string, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<AmenitiesPaginationResultDto> {
|
|
2372
|
+
return localVarFp.amenitiesControllerFindMany(page, pageSize, filters, sort, options).then((request) => request(axios, basePath));
|
|
2221
2373
|
},
|
|
2222
2374
|
/**
|
|
2223
2375
|
*
|
|
@@ -2239,15 +2391,14 @@ export const AmenitiesApiFactory = function (configuration?: Configuration, base
|
|
|
2239
2391
|
},
|
|
2240
2392
|
/**
|
|
2241
2393
|
*
|
|
2394
|
+
* @summary Update amenity
|
|
2242
2395
|
* @param {string} id
|
|
2243
|
-
* @param {
|
|
2244
|
-
* @param {string} [slug] URL-friendly version of the name (lowercase, hyphenated)
|
|
2245
|
-
* @param {AmenitiesControllerUpdateTypeEnum} [type] Type of amenity (ROOM, PROPERTY, or SERVICE)
|
|
2396
|
+
* @param {UpdateAmenityDto} updateAmenityDto
|
|
2246
2397
|
* @param {*} [options] Override http request option.
|
|
2247
2398
|
* @throws {RequiredError}
|
|
2248
2399
|
*/
|
|
2249
|
-
amenitiesControllerUpdate(id: string,
|
|
2250
|
-
return localVarFp.amenitiesControllerUpdate(id,
|
|
2400
|
+
amenitiesControllerUpdate(id: string, updateAmenityDto: UpdateAmenityDto, options?: RawAxiosRequestConfig): AxiosPromise<Amenity> {
|
|
2401
|
+
return localVarFp.amenitiesControllerUpdate(id, updateAmenityDto, options).then((request) => request(axios, basePath));
|
|
2251
2402
|
},
|
|
2252
2403
|
};
|
|
2253
2404
|
};
|
|
@@ -2261,30 +2412,29 @@ export const AmenitiesApiFactory = function (configuration?: Configuration, base
|
|
|
2261
2412
|
export class AmenitiesApi extends BaseAPI {
|
|
2262
2413
|
/**
|
|
2263
2414
|
*
|
|
2264
|
-
* @
|
|
2265
|
-
* @param {
|
|
2266
|
-
* @param {AmenitiesControllerCreateTypeEnum} [type]
|
|
2267
|
-
* @param {File} [icon]
|
|
2415
|
+
* @summary Create new amenity
|
|
2416
|
+
* @param {CreateAmenityDto} createAmenityDto
|
|
2268
2417
|
* @param {*} [options] Override http request option.
|
|
2269
2418
|
* @throws {RequiredError}
|
|
2270
2419
|
* @memberof AmenitiesApi
|
|
2271
2420
|
*/
|
|
2272
|
-
public amenitiesControllerCreate(
|
|
2273
|
-
return AmenitiesApiFp(this.configuration).amenitiesControllerCreate(
|
|
2421
|
+
public amenitiesControllerCreate(createAmenityDto: CreateAmenityDto, options?: RawAxiosRequestConfig) {
|
|
2422
|
+
return AmenitiesApiFp(this.configuration).amenitiesControllerCreate(createAmenityDto, options).then((request) => request(this.axios, this.basePath));
|
|
2274
2423
|
}
|
|
2275
2424
|
|
|
2276
2425
|
/**
|
|
2277
2426
|
*
|
|
2427
|
+
* @summary Get amenities
|
|
2278
2428
|
* @param {number} [page]
|
|
2279
2429
|
* @param {number} [pageSize]
|
|
2280
|
-
* @param {
|
|
2281
|
-
* @param {
|
|
2430
|
+
* @param {string} [filters] JSON string of FilterAmenityDto
|
|
2431
|
+
* @param {string} [sort] JSON string of SortAmenityDto
|
|
2282
2432
|
* @param {*} [options] Override http request option.
|
|
2283
2433
|
* @throws {RequiredError}
|
|
2284
2434
|
* @memberof AmenitiesApi
|
|
2285
2435
|
*/
|
|
2286
|
-
public
|
|
2287
|
-
return AmenitiesApiFp(this.configuration).
|
|
2436
|
+
public amenitiesControllerFindMany(page?: number, pageSize?: number, filters?: string, sort?: string, options?: RawAxiosRequestConfig) {
|
|
2437
|
+
return AmenitiesApiFp(this.configuration).amenitiesControllerFindMany(page, pageSize, filters, sort, options).then((request) => request(this.axios, this.basePath));
|
|
2288
2438
|
}
|
|
2289
2439
|
|
|
2290
2440
|
/**
|
|
@@ -2311,37 +2461,18 @@ export class AmenitiesApi extends BaseAPI {
|
|
|
2311
2461
|
|
|
2312
2462
|
/**
|
|
2313
2463
|
*
|
|
2464
|
+
* @summary Update amenity
|
|
2314
2465
|
* @param {string} id
|
|
2315
|
-
* @param {
|
|
2316
|
-
* @param {string} [slug] URL-friendly version of the name (lowercase, hyphenated)
|
|
2317
|
-
* @param {AmenitiesControllerUpdateTypeEnum} [type] Type of amenity (ROOM, PROPERTY, or SERVICE)
|
|
2466
|
+
* @param {UpdateAmenityDto} updateAmenityDto
|
|
2318
2467
|
* @param {*} [options] Override http request option.
|
|
2319
2468
|
* @throws {RequiredError}
|
|
2320
2469
|
* @memberof AmenitiesApi
|
|
2321
2470
|
*/
|
|
2322
|
-
public amenitiesControllerUpdate(id: string,
|
|
2323
|
-
return AmenitiesApiFp(this.configuration).amenitiesControllerUpdate(id,
|
|
2471
|
+
public amenitiesControllerUpdate(id: string, updateAmenityDto: UpdateAmenityDto, options?: RawAxiosRequestConfig) {
|
|
2472
|
+
return AmenitiesApiFp(this.configuration).amenitiesControllerUpdate(id, updateAmenityDto, options).then((request) => request(this.axios, this.basePath));
|
|
2324
2473
|
}
|
|
2325
2474
|
}
|
|
2326
2475
|
|
|
2327
|
-
/**
|
|
2328
|
-
* @export
|
|
2329
|
-
*/
|
|
2330
|
-
export const AmenitiesControllerCreateTypeEnum = {
|
|
2331
|
-
Room: 'ROOM',
|
|
2332
|
-
Property: 'PROPERTY',
|
|
2333
|
-
Service: 'SERVICE'
|
|
2334
|
-
} as const;
|
|
2335
|
-
export type AmenitiesControllerCreateTypeEnum = typeof AmenitiesControllerCreateTypeEnum[keyof typeof AmenitiesControllerCreateTypeEnum];
|
|
2336
|
-
/**
|
|
2337
|
-
* @export
|
|
2338
|
-
*/
|
|
2339
|
-
export const AmenitiesControllerUpdateTypeEnum = {
|
|
2340
|
-
Room: 'ROOM',
|
|
2341
|
-
Property: 'PROPERTY',
|
|
2342
|
-
Service: 'SERVICE'
|
|
2343
|
-
} as const;
|
|
2344
|
-
export type AmenitiesControllerUpdateTypeEnum = typeof AmenitiesControllerUpdateTypeEnum[keyof typeof AmenitiesControllerUpdateTypeEnum];
|
|
2345
2476
|
|
|
2346
2477
|
|
|
2347
2478
|
/**
|
|
@@ -3509,6 +3640,42 @@ export const BranchesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3509
3640
|
options: localVarRequestOptions,
|
|
3510
3641
|
};
|
|
3511
3642
|
},
|
|
3643
|
+
/**
|
|
3644
|
+
*
|
|
3645
|
+
* @summary Get latest branches
|
|
3646
|
+
* @param {number} body
|
|
3647
|
+
* @param {*} [options] Override http request option.
|
|
3648
|
+
* @throws {RequiredError}
|
|
3649
|
+
*/
|
|
3650
|
+
branchControllerGetLatestBranches: async (body: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3651
|
+
// verify required parameter 'body' is not null or undefined
|
|
3652
|
+
assertParamExists('branchControllerGetLatestBranches', 'body', body)
|
|
3653
|
+
const localVarPath = `/api/branches/latest`;
|
|
3654
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3655
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3656
|
+
let baseOptions;
|
|
3657
|
+
if (configuration) {
|
|
3658
|
+
baseOptions = configuration.baseOptions;
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3662
|
+
const localVarHeaderParameter = {} as any;
|
|
3663
|
+
const localVarQueryParameter = {} as any;
|
|
3664
|
+
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3668
|
+
|
|
3669
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3670
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3671
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3672
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
3673
|
+
|
|
3674
|
+
return {
|
|
3675
|
+
url: toPathString(localVarUrlObj),
|
|
3676
|
+
options: localVarRequestOptions,
|
|
3677
|
+
};
|
|
3678
|
+
},
|
|
3512
3679
|
/**
|
|
3513
3680
|
*
|
|
3514
3681
|
* @summary Delete a branch
|
|
@@ -3697,6 +3864,19 @@ export const BranchesApiFp = function(configuration?: Configuration) {
|
|
|
3697
3864
|
const localVarOperationServerBasePath = operationServerMap['BranchesApi.branchControllerFindOne']?.[localVarOperationServerIndex]?.url;
|
|
3698
3865
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3699
3866
|
},
|
|
3867
|
+
/**
|
|
3868
|
+
*
|
|
3869
|
+
* @summary Get latest branches
|
|
3870
|
+
* @param {number} body
|
|
3871
|
+
* @param {*} [options] Override http request option.
|
|
3872
|
+
* @throws {RequiredError}
|
|
3873
|
+
*/
|
|
3874
|
+
async branchControllerGetLatestBranches(body: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Branch>>> {
|
|
3875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.branchControllerGetLatestBranches(body, options);
|
|
3876
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3877
|
+
const localVarOperationServerBasePath = operationServerMap['BranchesApi.branchControllerGetLatestBranches']?.[localVarOperationServerIndex]?.url;
|
|
3878
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3879
|
+
},
|
|
3700
3880
|
/**
|
|
3701
3881
|
*
|
|
3702
3882
|
* @summary Delete a branch
|
|
@@ -3802,6 +3982,16 @@ export const BranchesApiFactory = function (configuration?: Configuration, baseP
|
|
|
3802
3982
|
branchControllerFindOne(idOrSlug: string, options?: RawAxiosRequestConfig): AxiosPromise<BranchDetail> {
|
|
3803
3983
|
return localVarFp.branchControllerFindOne(idOrSlug, options).then((request) => request(axios, basePath));
|
|
3804
3984
|
},
|
|
3985
|
+
/**
|
|
3986
|
+
*
|
|
3987
|
+
* @summary Get latest branches
|
|
3988
|
+
* @param {number} body
|
|
3989
|
+
* @param {*} [options] Override http request option.
|
|
3990
|
+
* @throws {RequiredError}
|
|
3991
|
+
*/
|
|
3992
|
+
branchControllerGetLatestBranches(body: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<Branch>> {
|
|
3993
|
+
return localVarFp.branchControllerGetLatestBranches(body, options).then((request) => request(axios, basePath));
|
|
3994
|
+
},
|
|
3805
3995
|
/**
|
|
3806
3996
|
*
|
|
3807
3997
|
* @summary Delete a branch
|
|
@@ -3908,6 +4098,18 @@ export class BranchesApi extends BaseAPI {
|
|
|
3908
4098
|
return BranchesApiFp(this.configuration).branchControllerFindOne(idOrSlug, options).then((request) => request(this.axios, this.basePath));
|
|
3909
4099
|
}
|
|
3910
4100
|
|
|
4101
|
+
/**
|
|
4102
|
+
*
|
|
4103
|
+
* @summary Get latest branches
|
|
4104
|
+
* @param {number} body
|
|
4105
|
+
* @param {*} [options] Override http request option.
|
|
4106
|
+
* @throws {RequiredError}
|
|
4107
|
+
* @memberof BranchesApi
|
|
4108
|
+
*/
|
|
4109
|
+
public branchControllerGetLatestBranches(body: number, options?: RawAxiosRequestConfig) {
|
|
4110
|
+
return BranchesApiFp(this.configuration).branchControllerGetLatestBranches(body, options).then((request) => request(this.axios, this.basePath));
|
|
4111
|
+
}
|
|
4112
|
+
|
|
3911
4113
|
/**
|
|
3912
4114
|
*
|
|
3913
4115
|
* @summary Delete a branch
|
|
@@ -4100,6 +4302,37 @@ export const ImagesApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4100
4302
|
},
|
|
4101
4303
|
/**
|
|
4102
4304
|
*
|
|
4305
|
+
* @summary Upload amenity icon
|
|
4306
|
+
* @param {*} [options] Override http request option.
|
|
4307
|
+
* @throws {RequiredError}
|
|
4308
|
+
*/
|
|
4309
|
+
imagesControllerUploadIcon: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4310
|
+
const localVarPath = `/api/images/icon`;
|
|
4311
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4312
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4313
|
+
let baseOptions;
|
|
4314
|
+
if (configuration) {
|
|
4315
|
+
baseOptions = configuration.baseOptions;
|
|
4316
|
+
}
|
|
4317
|
+
|
|
4318
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4319
|
+
const localVarHeaderParameter = {} as any;
|
|
4320
|
+
const localVarQueryParameter = {} as any;
|
|
4321
|
+
|
|
4322
|
+
|
|
4323
|
+
|
|
4324
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4325
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4326
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4327
|
+
|
|
4328
|
+
return {
|
|
4329
|
+
url: toPathString(localVarUrlObj),
|
|
4330
|
+
options: localVarRequestOptions,
|
|
4331
|
+
};
|
|
4332
|
+
},
|
|
4333
|
+
/**
|
|
4334
|
+
*
|
|
4335
|
+
* @summary Upload multiple image
|
|
4103
4336
|
* @param {*} [options] Override http request option.
|
|
4104
4337
|
* @throws {RequiredError}
|
|
4105
4338
|
*/
|
|
@@ -4152,10 +4385,23 @@ export const ImagesApiFp = function(configuration?: Configuration) {
|
|
|
4152
4385
|
},
|
|
4153
4386
|
/**
|
|
4154
4387
|
*
|
|
4388
|
+
* @summary Upload amenity icon
|
|
4389
|
+
* @param {*} [options] Override http request option.
|
|
4390
|
+
* @throws {RequiredError}
|
|
4391
|
+
*/
|
|
4392
|
+
async imagesControllerUploadIcon(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageUploadResponseDto>> {
|
|
4393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.imagesControllerUploadIcon(options);
|
|
4394
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4395
|
+
const localVarOperationServerBasePath = operationServerMap['ImagesApi.imagesControllerUploadIcon']?.[localVarOperationServerIndex]?.url;
|
|
4396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4397
|
+
},
|
|
4398
|
+
/**
|
|
4399
|
+
*
|
|
4400
|
+
* @summary Upload multiple image
|
|
4155
4401
|
* @param {*} [options] Override http request option.
|
|
4156
4402
|
* @throws {RequiredError}
|
|
4157
4403
|
*/
|
|
4158
|
-
async imagesControllerUploadImages(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4404
|
+
async imagesControllerUploadImages(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ImageUploadResponseDto>>> {
|
|
4159
4405
|
const localVarAxiosArgs = await localVarAxiosParamCreator.imagesControllerUploadImages(options);
|
|
4160
4406
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4161
4407
|
const localVarOperationServerBasePath = operationServerMap['ImagesApi.imagesControllerUploadImages']?.[localVarOperationServerIndex]?.url;
|
|
@@ -4183,10 +4429,20 @@ export const ImagesApiFactory = function (configuration?: Configuration, basePat
|
|
|
4183
4429
|
},
|
|
4184
4430
|
/**
|
|
4185
4431
|
*
|
|
4432
|
+
* @summary Upload amenity icon
|
|
4433
|
+
* @param {*} [options] Override http request option.
|
|
4434
|
+
* @throws {RequiredError}
|
|
4435
|
+
*/
|
|
4436
|
+
imagesControllerUploadIcon(options?: RawAxiosRequestConfig): AxiosPromise<ImageUploadResponseDto> {
|
|
4437
|
+
return localVarFp.imagesControllerUploadIcon(options).then((request) => request(axios, basePath));
|
|
4438
|
+
},
|
|
4439
|
+
/**
|
|
4440
|
+
*
|
|
4441
|
+
* @summary Upload multiple image
|
|
4186
4442
|
* @param {*} [options] Override http request option.
|
|
4187
4443
|
* @throws {RequiredError}
|
|
4188
4444
|
*/
|
|
4189
|
-
imagesControllerUploadImages(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
4445
|
+
imagesControllerUploadImages(options?: RawAxiosRequestConfig): AxiosPromise<Array<ImageUploadResponseDto>> {
|
|
4190
4446
|
return localVarFp.imagesControllerUploadImages(options).then((request) => request(axios, basePath));
|
|
4191
4447
|
},
|
|
4192
4448
|
};
|
|
@@ -4213,6 +4469,18 @@ export class ImagesApi extends BaseAPI {
|
|
|
4213
4469
|
|
|
4214
4470
|
/**
|
|
4215
4471
|
*
|
|
4472
|
+
* @summary Upload amenity icon
|
|
4473
|
+
* @param {*} [options] Override http request option.
|
|
4474
|
+
* @throws {RequiredError}
|
|
4475
|
+
* @memberof ImagesApi
|
|
4476
|
+
*/
|
|
4477
|
+
public imagesControllerUploadIcon(options?: RawAxiosRequestConfig) {
|
|
4478
|
+
return ImagesApiFp(this.configuration).imagesControllerUploadIcon(options).then((request) => request(this.axios, this.basePath));
|
|
4479
|
+
}
|
|
4480
|
+
|
|
4481
|
+
/**
|
|
4482
|
+
*
|
|
4483
|
+
* @summary Upload multiple image
|
|
4216
4484
|
* @param {*} [options] Override http request option.
|
|
4217
4485
|
* @throws {RequiredError}
|
|
4218
4486
|
* @memberof ImagesApi
|