@roomstay/core 0.1.43-0 → 0.1.44-0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ECompanyProvider, MediaType } from
|
|
1
|
+
import type { ECompanyProvider, MediaType } from '../index.js';
|
|
2
2
|
export interface IAdminCompany {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
@@ -7,6 +7,7 @@ export interface IAdminCompany {
|
|
|
7
7
|
provider: ECompanyProvider;
|
|
8
8
|
providerLogin: string;
|
|
9
9
|
providerPassword: string;
|
|
10
|
+
isGiftCardsEnabled: boolean;
|
|
10
11
|
hotels: {
|
|
11
12
|
name: string;
|
|
12
13
|
label: string;
|
|
@@ -20,7 +21,7 @@ export interface IAdminCompany {
|
|
|
20
21
|
};
|
|
21
22
|
}[];
|
|
22
23
|
}
|
|
23
|
-
export type
|
|
24
|
+
export type IAdminGetCompaniesResponse = IAdminCompany[];
|
|
24
25
|
/** What the API expects */
|
|
25
26
|
export type IAdminFetchRMSHotelsRequest = {
|
|
26
27
|
/** Passing this field will apply changes */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomstay/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.44-0",
|
|
4
4
|
"description": "Details shared between Roomstay libraries. Anything from Currency, to Generic types",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -46,5 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"decimal.js": "^10.4.3"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"global": "^4.4.0",
|
|
52
|
+
"yalc": "^1.0.0-pre.53"
|
|
49
53
|
}
|
|
50
54
|
}
|