@ahomevilla-hotel/node-sdk 1.0.9 → 1.0.10

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 +36 -0
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -129,6 +129,12 @@ export interface Branch {
129
129
  * @memberof Branch
130
130
  */
131
131
  'updatedAt': string;
132
+ /**
133
+ * ID of the province where this branch is located
134
+ * @type {string}
135
+ * @memberof Branch
136
+ */
137
+ 'provinceId': string;
132
138
  /**
133
139
  * Branch\'s thumbnail image
134
140
  * @type {Image}
@@ -147,6 +153,12 @@ export interface Branch {
147
153
  * @memberof Branch
148
154
  */
149
155
  'name': string;
156
+ /**
157
+ * Branch\'s slug
158
+ * @type {string}
159
+ * @memberof Branch
160
+ */
161
+ 'slug': string;
150
162
  /**
151
163
  * Branch\'s description
152
164
  * @type {string}
@@ -252,6 +264,12 @@ export interface CreateBranchDto {
252
264
  * @memberof CreateBranchDto
253
265
  */
254
266
  'name': string;
267
+ /**
268
+ * The branch\'s slug.
269
+ * @type {string}
270
+ * @memberof CreateBranchDto
271
+ */
272
+ 'slug': string;
255
273
  /**
256
274
  * The branch\'s description.
257
275
  * @type {string}
@@ -447,6 +465,12 @@ export interface FilterBranchesDto {
447
465
  * @memberof FilterBranchesDto
448
466
  */
449
467
  'provinceId'?: string;
468
+ /**
469
+ * Filter by province slug
470
+ * @type {string}
471
+ * @memberof FilterBranchesDto
472
+ */
473
+ 'provinceSlug'?: string;
450
474
  /**
451
475
  *
452
476
  * @type {Array<string>}
@@ -1314,6 +1338,12 @@ export interface UpdateBranchDto {
1314
1338
  * @memberof UpdateBranchDto
1315
1339
  */
1316
1340
  'name'?: string;
1341
+ /**
1342
+ * The branch\'s slug.
1343
+ * @type {string}
1344
+ * @memberof UpdateBranchDto
1345
+ */
1346
+ 'slug'?: string;
1317
1347
  /**
1318
1348
  * The branch\'s description.
1319
1349
  * @type {string}
@@ -1350,6 +1380,12 @@ export interface UpdateBranchDto {
1350
1380
  * @memberof UpdateBranchDto
1351
1381
  */
1352
1382
  'rating'?: number;
1383
+ /**
1384
+ * Amenities available in the branch
1385
+ * @type {Array<Amenity>}
1386
+ * @memberof UpdateBranchDto
1387
+ */
1388
+ 'amenities': Array<Amenity>;
1353
1389
  }
1354
1390
  /**
1355
1391
  *
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "openapi-client",
11
11
  "openapi-generator"
12
12
  ],
13
- "version": "1.0.9",
13
+ "version": "1.0.10",
14
14
  "main": "index.js",
15
15
  "scripts": {
16
16
  "test": "echo \"Error: no test specified\" && exit 1"