@ahomevilla-hotel/node-sdk 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/api.ts +246 -0
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -374,6 +374,78 @@ export interface CreateUserDto {
374
374
  */
375
375
  'name': string;
376
376
  }
377
+ /**
378
+ *
379
+ * @export
380
+ * @interface FilterBranchesDto
381
+ */
382
+ export interface FilterBranchesDto {
383
+ /**
384
+ * Search by keyword
385
+ * @type {string}
386
+ * @memberof FilterBranchesDto
387
+ */
388
+ 'keyword'?: string;
389
+ /**
390
+ * Filter by active status
391
+ * @type {boolean}
392
+ * @memberof FilterBranchesDto
393
+ */
394
+ 'is_active'?: boolean;
395
+ /**
396
+ * Filter by rating
397
+ * @type {number}
398
+ * @memberof FilterBranchesDto
399
+ */
400
+ 'rating'?: number;
401
+ /**
402
+ * Filter by province
403
+ * @type {string}
404
+ * @memberof FilterBranchesDto
405
+ */
406
+ 'provinceId'?: string;
407
+ /**
408
+ *
409
+ * @type {Array<string>}
410
+ * @memberof FilterBranchesDto
411
+ */
412
+ 'amenities'?: Array<string>;
413
+ }
414
+ /**
415
+ *
416
+ * @export
417
+ * @interface FilterProvincesDto
418
+ */
419
+ export interface FilterProvincesDto {
420
+ /**
421
+ * Search by keyword
422
+ * @type {string}
423
+ * @memberof FilterProvincesDto
424
+ */
425
+ 'keyword'?: string;
426
+ }
427
+ /**
428
+ *
429
+ * @export
430
+ * @interface FilterUserDto
431
+ */
432
+ export interface FilterUserDto {
433
+ /**
434
+ *
435
+ * @type {string}
436
+ * @memberof FilterUserDto
437
+ */
438
+ 'roles'?: FilterUserDtoRolesEnum;
439
+ }
440
+
441
+ export const FilterUserDtoRolesEnum = {
442
+ User: 'USER',
443
+ Staff: 'STAFF',
444
+ Admin: 'ADMIN'
445
+ } as const;
446
+
447
+ export type FilterUserDtoRolesEnum = typeof FilterUserDtoRolesEnum[keyof typeof FilterUserDtoRolesEnum];
448
+
377
449
  /**
378
450
  *
379
451
  * @export
@@ -670,6 +742,99 @@ export interface ProvincePaginationResultDto {
670
742
  */
671
743
  'meta': UsersPaginationResultDtoMeta;
672
744
  }
745
+ /**
746
+ *
747
+ * @export
748
+ * @interface QueryBranchesDto
749
+ */
750
+ export interface QueryBranchesDto {
751
+ /**
752
+ *
753
+ * @type {number}
754
+ * @memberof QueryBranchesDto
755
+ */
756
+ 'page'?: number;
757
+ /**
758
+ *
759
+ * @type {number}
760
+ * @memberof QueryBranchesDto
761
+ */
762
+ 'pageSize'?: number;
763
+ /**
764
+ * JSON string of FilterBranchesDto
765
+ * @type {string}
766
+ * @memberof QueryBranchesDto
767
+ */
768
+ 'filters'?: string;
769
+ /**
770
+ * JSON string of SortBranchDto[]
771
+ * @type {string}
772
+ * @memberof QueryBranchesDto
773
+ */
774
+ 'sort'?: string;
775
+ }
776
+ /**
777
+ *
778
+ * @export
779
+ * @interface QueryProvincesDto
780
+ */
781
+ export interface QueryProvincesDto {
782
+ /**
783
+ *
784
+ * @type {number}
785
+ * @memberof QueryProvincesDto
786
+ */
787
+ 'page'?: number;
788
+ /**
789
+ *
790
+ * @type {number}
791
+ * @memberof QueryProvincesDto
792
+ */
793
+ 'pageSize'?: number;
794
+ /**
795
+ * JSON string of FilterProvincesDto
796
+ * @type {string}
797
+ * @memberof QueryProvincesDto
798
+ */
799
+ 'filters'?: string;
800
+ /**
801
+ * JSON string of SortProvinceDto[]
802
+ * @type {string}
803
+ * @memberof QueryProvincesDto
804
+ */
805
+ 'sort'?: string;
806
+ }
807
+ /**
808
+ *
809
+ * @export
810
+ * @interface QueryUsersDto
811
+ */
812
+ export interface QueryUsersDto {
813
+ /**
814
+ *
815
+ * @type {number}
816
+ * @memberof QueryUsersDto
817
+ */
818
+ 'page'?: number;
819
+ /**
820
+ *
821
+ * @type {number}
822
+ * @memberof QueryUsersDto
823
+ */
824
+ 'pageSize'?: number;
825
+ /**
826
+ * JSON string of FilterUserDto
827
+ * @type {string}
828
+ * @memberof QueryUsersDto
829
+ */
830
+ 'filters'?: string;
831
+ /**
832
+ * JSON string of SortUserDto[]
833
+ * @type {string}
834
+ * @memberof QueryUsersDto
835
+ */
836
+ 'sort'?: string;
837
+ }
673
838
  /**
674
839
  *
675
840
  * @export
@@ -940,6 +1105,87 @@ export interface SessionResponseDto {
940
1105
  */
941
1106
  'sessions': Array<string>;
942
1107
  }
1108
+ /**
1109
+ *
1110
+ * @export
1111
+ * @interface SortBranchDto
1112
+ */
1113
+ export interface SortBranchDto {
1114
+ /**
1115
+ * Key of Entity to sort
1116
+ * @type {string}
1117
+ * @memberof SortBranchDto
1118
+ */
1119
+ 'orderBy': string;
1120
+ /**
1121
+ * Order of sorting
1122
+ * @type {string}
1123
+ * @memberof SortBranchDto
1124
+ */
1125
+ 'order': SortBranchDtoOrderEnum;
1126
+ }
1127
+
1128
+ export const SortBranchDtoOrderEnum = {
1129
+ Asc: 'asc',
1130
+ Desc: 'desc'
1131
+ } as const;
1132
+
1133
+ export type SortBranchDtoOrderEnum = typeof SortBranchDtoOrderEnum[keyof typeof SortBranchDtoOrderEnum];
1134
+
1135
+ /**
1136
+ *
1137
+ * @export
1138
+ * @interface SortProvinceDto
1139
+ */
1140
+ export interface SortProvinceDto {
1141
+ /**
1142
+ * Key of Entity to sort
1143
+ * @type {string}
1144
+ * @memberof SortProvinceDto
1145
+ */
1146
+ 'orderBy': string;
1147
+ /**
1148
+ * Order of sorting
1149
+ * @type {string}
1150
+ * @memberof SortProvinceDto
1151
+ */
1152
+ 'order': SortProvinceDtoOrderEnum;
1153
+ }
1154
+
1155
+ export const SortProvinceDtoOrderEnum = {
1156
+ Asc: 'asc',
1157
+ Desc: 'desc'
1158
+ } as const;
1159
+
1160
+ export type SortProvinceDtoOrderEnum = typeof SortProvinceDtoOrderEnum[keyof typeof SortProvinceDtoOrderEnum];
1161
+
1162
+ /**
1163
+ *
1164
+ * @export
1165
+ * @interface SortUserDto
1166
+ */
1167
+ export interface SortUserDto {
1168
+ /**
1169
+ * Key of User
1170
+ * @type {string}
1171
+ * @memberof SortUserDto
1172
+ */
1173
+ 'orderBy': string;
1174
+ /**
1175
+ * Order of sorting
1176
+ * @type {string}
1177
+ * @memberof SortUserDto
1178
+ */
1179
+ 'order': SortUserDtoOrderEnum;
1180
+ }
1181
+
1182
+ export const SortUserDtoOrderEnum = {
1183
+ Asc: 'asc',
1184
+ Desc: 'desc'
1185
+ } as const;
1186
+
1187
+ export type SortUserDtoOrderEnum = typeof SortUserDtoOrderEnum[keyof typeof SortUserDtoOrderEnum];
1188
+
943
1189
  /**
944
1190
  *
945
1191
  * @export
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "openapi-client",
11
11
  "openapi-generator"
12
12
  ],
13
- "version": "1.0.6",
13
+ "version": "1.0.7",
14
14
  "main": "index.js",
15
15
  "scripts": {
16
16
  "test": "echo \"Error: no test specified\" && exit 1"