turf-common 1.4.2-beta.37 → 1.4.2-beta.39
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,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrganizationStatus = void 0;
|
|
3
|
+
exports.AllowManualBookingDiscount = exports.OrganizationStatus = void 0;
|
|
4
4
|
var OrganizationStatus;
|
|
5
5
|
(function (OrganizationStatus) {
|
|
6
6
|
OrganizationStatus["REGISTRATION"] = "registration";
|
|
@@ -29,3 +29,8 @@ var OrganizationStatus;
|
|
|
29
29
|
}
|
|
30
30
|
OrganizationStatus.allowPermissionOwner = allowPermissionOwner;
|
|
31
31
|
})(OrganizationStatus || (exports.OrganizationStatus = OrganizationStatus = {}));
|
|
32
|
+
var AllowManualBookingDiscount;
|
|
33
|
+
(function (AllowManualBookingDiscount) {
|
|
34
|
+
AllowManualBookingDiscount["YES"] = "yes";
|
|
35
|
+
AllowManualBookingDiscount["NO"] = "no";
|
|
36
|
+
})(AllowManualBookingDiscount || (exports.AllowManualBookingDiscount = AllowManualBookingDiscount = {}));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IOrganizationConfig } from "../entity";
|
|
1
2
|
export interface ILoginResponse {
|
|
2
3
|
UIMessage: string;
|
|
3
4
|
tokenType: string;
|
|
@@ -15,6 +16,7 @@ export interface ILoginResponse {
|
|
|
15
16
|
organizationId: number;
|
|
16
17
|
subscriptionStatus: string | null;
|
|
17
18
|
contact: string;
|
|
19
|
+
orgConfig: IOrganizationConfig;
|
|
18
20
|
}
|
|
19
21
|
export interface ILoginRequest {
|
|
20
22
|
username: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrganizationType } from "../../@enum";
|
|
2
|
-
import { OrganizationStatus } from "../../enums/organization-status.enum";
|
|
2
|
+
import { AllowManualBookingDiscount, OrganizationStatus } from "../../enums/organization-status.enum";
|
|
3
3
|
import { ICouponEntity } from "./coupon.entity.interface";
|
|
4
4
|
import { IEntityAuditColumn } from "./entity-audit-column.interface";
|
|
5
5
|
import { ITurfEntity } from "./turf-entity.interface";
|
|
@@ -17,8 +17,12 @@ export interface IOrganizationEntity extends IEntityAuditColumn, IOrganizationEn
|
|
|
17
17
|
deed_file_path: string | null;
|
|
18
18
|
status: OrganizationStatus;
|
|
19
19
|
registrationId: number;
|
|
20
|
+
allowManualBookingDiscount: AllowManualBookingDiscount;
|
|
20
21
|
}
|
|
21
22
|
export interface IOrganizationEntityRel {
|
|
22
23
|
turfs: ITurfEntity[];
|
|
23
24
|
coupon: ICouponEntity[];
|
|
24
25
|
}
|
|
26
|
+
export interface IOrganizationConfig {
|
|
27
|
+
allowManualBookingDiscount: AllowManualBookingDiscount;
|
|
28
|
+
}
|