@tomei/rental 0.11.4 → 0.12.2
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/.husky/commit-msg +0 -0
- package/.husky/pre-commit +0 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -17
- package/dist/src/components/agreement/agreement.d.ts +17 -17
- package/dist/src/components/agreement/agreement.js +49 -49
- package/dist/src/components/agreement/agreement.js.map +1 -1
- package/dist/src/components/agreement/agreement.repository.d.ts +8 -8
- package/dist/src/components/agreement/agreement.repository.js +66 -66
- package/dist/src/components/agreement/agreement.repository.js.map +1 -1
- package/dist/src/components/booking/booking.d.ts +46 -45
- package/dist/src/components/booking/booking.js +313 -271
- package/dist/src/components/booking/booking.js.map +1 -1
- package/dist/src/components/booking/booking.repository.d.ts +8 -8
- package/dist/src/components/booking/booking.repository.js +66 -66
- package/dist/src/components/booking/booking.repository.js.map +1 -1
- package/dist/src/components/joint-hirer/joint-hirer.d.ts +23 -23
- package/dist/src/components/joint-hirer/joint-hirer.js +105 -105
- package/dist/src/components/joint-hirer/joint-hirer.js.map +1 -1
- package/dist/src/components/joint-hirer/joint-hirer.repository.d.ts +8 -8
- package/dist/src/components/joint-hirer/joint-hirer.repository.js +66 -66
- package/dist/src/components/joint-hirer/joint-hirer.repository.js.map +1 -1
- package/dist/src/components/rental/rental.d.ts +59 -59
- package/dist/src/components/rental/rental.js +603 -603
- package/dist/src/components/rental/rental.js.map +1 -1
- package/dist/src/components/rental/rental.repository.d.ts +8 -8
- package/dist/src/components/rental/rental.repository.js +66 -66
- package/dist/src/components/rental/rental.repository.js.map +1 -1
- package/dist/src/components/rental-price/rental-price.d.ts +18 -18
- package/dist/src/components/rental-price/rental-price.js +78 -78
- package/dist/src/components/rental-price/rental-price.js.map +1 -1
- package/dist/src/components/rental-price/rental-price.repository.d.ts +8 -8
- package/dist/src/components/rental-price/rental-price.repository.js +66 -66
- package/dist/src/components/rental-price/rental-price.repository.js.map +1 -1
- package/dist/src/database.d.ts +4 -4
- package/dist/src/database.js +24 -25
- package/dist/src/database.js.map +1 -1
- package/dist/src/enum/account-type.enum.d.ts +4 -4
- package/dist/src/enum/account-type.enum.js +8 -8
- package/dist/src/enum/account-type.enum.js.map +1 -1
- package/dist/src/enum/aggrement-status.enum.d.ts +5 -5
- package/dist/src/enum/aggrement-status.enum.js +9 -9
- package/dist/src/enum/aggrement-status.enum.js.map +1 -1
- package/dist/src/enum/booking.enum.d.ts +5 -5
- package/dist/src/enum/booking.enum.js +9 -9
- package/dist/src/enum/booking.enum.js.map +1 -1
- package/dist/src/enum/index.d.ts +5 -5
- package/dist/src/enum/index.js +11 -11
- package/dist/src/enum/rental-status.enum.d.ts +9 -9
- package/dist/src/enum/rental-status.enum.js +13 -13
- package/dist/src/enum/rental-status.enum.js.map +1 -1
- package/dist/src/index.d.ts +15 -15
- package/dist/src/index.js +42 -42
- package/dist/src/interfaces/agreement-attr.interface.d.ts +7 -7
- package/dist/src/interfaces/agreement-attr.interface.js +2 -2
- package/dist/src/interfaces/booking-attr.interface.d.ts +18 -18
- package/dist/src/interfaces/booking-attr.interface.js +2 -2
- package/dist/src/interfaces/booking-find-all-search-attr.interface.d.ts +12 -12
- package/dist/src/interfaces/booking-find-all-search-attr.interface.js +2 -2
- package/dist/src/interfaces/index.d.ts +7 -7
- package/dist/src/interfaces/index.js +2 -2
- package/dist/src/interfaces/joint-hirer-attr.interface.d.ts +10 -10
- package/dist/src/interfaces/joint-hirer-attr.interface.js +2 -2
- package/dist/src/interfaces/rental-attr.interface.d.ts +24 -24
- package/dist/src/interfaces/rental-attr.interface.js +2 -2
- package/dist/src/interfaces/rental-find-all-search-attr.interface.d.ts +10 -10
- package/dist/src/interfaces/rental-find-all-search-attr.interface.js +2 -2
- package/dist/src/interfaces/rental-price-attr.interface.d.ts +7 -7
- package/dist/src/interfaces/rental-price-attr.interface.js +2 -2
- package/dist/src/models/agreement.entity.d.ts +10 -10
- package/dist/src/models/agreement.entity.js +59 -59
- package/dist/src/models/agreement.entity.js.map +1 -1
- package/dist/src/models/booking.entity.d.ts +21 -21
- package/dist/src/models/booking.entity.js +127 -127
- package/dist/src/models/booking.entity.js.map +1 -1
- package/dist/src/models/index.d.ts +6 -6
- package/dist/src/models/index.js +13 -13
- package/dist/src/models/joint-hirer.entity.d.ts +13 -13
- package/dist/src/models/joint-hirer.entity.js +78 -78
- package/dist/src/models/joint-hirer.entity.js.map +1 -1
- package/dist/src/models/rental-price.entity.d.ts +8 -8
- package/dist/src/models/rental-price.entity.js +58 -58
- package/dist/src/models/rental-price.entity.js.map +1 -1
- package/dist/src/models/rental.entity.d.ts +29 -29
- package/dist/src/models/rental.entity.js +159 -159
- package/dist/src/models/rental.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/eslint.config.mjs +37 -0
- package/migrations/booking-table-migration.js +1 -1
- package/migrations/joint-hirer-table-migration.js +1 -1
- package/migrations/rental-aggrement-table-migration.js +1 -1
- package/migrations/rental-price-table-migration.js +1 -1
- package/migrations/rental-table-migrations.js +1 -1
- package/package.json +33 -30
- package/src/components/booking/booking.ts +94 -1
- package/src/components/joint-hirer/joint-hirer.ts +1 -1
- package/src/components/rental/rental.ts +7 -10
- package/.eslintignore +0 -1
package/dist/src/database.js
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
sequelize.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
function getConnection() {
|
|
23
|
-
return sequelize;
|
|
24
|
-
}
|
|
25
|
-
exports.getConnection = getConnection;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.init = init;
|
|
4
|
+
exports.getConnection = getConnection;
|
|
5
|
+
const sequelize_typescript_1 = require("sequelize-typescript");
|
|
6
|
+
const rental_entity_1 = require("./models/rental.entity");
|
|
7
|
+
const rental_price_entity_1 = require("./models/rental-price.entity");
|
|
8
|
+
const booking_entity_1 = require("./models/booking.entity");
|
|
9
|
+
const joint_hirer_entity_1 = require("./models/joint-hirer.entity");
|
|
10
|
+
const agreement_entity_1 = require("./models/agreement.entity");
|
|
11
|
+
let sequelize;
|
|
12
|
+
function init(sequelizeOptions) {
|
|
13
|
+
sequelize = new sequelize_typescript_1.Sequelize(sequelizeOptions);
|
|
14
|
+
sequelize.addModels([
|
|
15
|
+
rental_entity_1.RentalModel,
|
|
16
|
+
rental_price_entity_1.RentalPriceModel,
|
|
17
|
+
booking_entity_1.BookingModel,
|
|
18
|
+
joint_hirer_entity_1.JointHirerModel,
|
|
19
|
+
agreement_entity_1.AgreementModel,
|
|
20
|
+
]);
|
|
21
|
+
}
|
|
22
|
+
function getConnection() {
|
|
23
|
+
return sequelize;
|
|
24
|
+
}
|
|
26
25
|
//# sourceMappingURL=database.js.map
|
package/dist/src/database.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../src/database.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../src/database.ts"],"names":[],"mappings":";;AA0BS,oBAAI;AAAE,sCAAa;AA1B5B,+DAAmE;AACnE,0DAAqD;AACrD,sEAAgE;AAChE,4DAAuD;AACvD,oEAA8D;AAC9D,gEAA2D;AAE3D,IAAI,SAAoB,CAAC;AAEzB,SAAS,IAAI,CAAC,gBAAkC;IAC9C,SAAS,GAAG,IAAI,gCAAS,CAAC,gBAAgB,CAAC,CAAC;IAE5C,SAAS,CAAC,SAAS,CAAC;QAElB,2BAAW;QACX,sCAAgB;QAChB,6BAAY;QACZ,oCAAe;QACf,iCAAc;KACf,CAAC,CAAC;AACL,CAAC;AAED,SAAS,aAAa;IACpB,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum RentalAccountTypeEnum {
|
|
2
|
-
SINGLE = "Single",
|
|
3
|
-
JOINT = "Joint"
|
|
4
|
-
}
|
|
1
|
+
export declare enum RentalAccountTypeEnum {
|
|
2
|
+
SINGLE = "Single",
|
|
3
|
+
JOINT = "Joint"
|
|
4
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RentalAccountTypeEnum = void 0;
|
|
4
|
-
var RentalAccountTypeEnum;
|
|
5
|
-
(function (RentalAccountTypeEnum) {
|
|
6
|
-
RentalAccountTypeEnum["SINGLE"] = "Single";
|
|
7
|
-
RentalAccountTypeEnum["JOINT"] = "Joint";
|
|
8
|
-
})(RentalAccountTypeEnum
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RentalAccountTypeEnum = void 0;
|
|
4
|
+
var RentalAccountTypeEnum;
|
|
5
|
+
(function (RentalAccountTypeEnum) {
|
|
6
|
+
RentalAccountTypeEnum["SINGLE"] = "Single";
|
|
7
|
+
RentalAccountTypeEnum["JOINT"] = "Joint";
|
|
8
|
+
})(RentalAccountTypeEnum || (exports.RentalAccountTypeEnum = RentalAccountTypeEnum = {}));
|
|
9
9
|
//# sourceMappingURL=account-type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-type.enum.js","sourceRoot":"","sources":["../../../src/enum/account-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,wCAAe,CAAA;AACjB,CAAC,EAHW,qBAAqB,
|
|
1
|
+
{"version":3,"file":"account-type.enum.js","sourceRoot":"","sources":["../../../src/enum/account-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,wCAAe,CAAA;AACjB,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum AggrementStatusEnum {
|
|
2
|
-
NOT_GENERATED = "Not Generated",
|
|
3
|
-
GENERATED = "Generated",
|
|
4
|
-
SIGNED = "Signed"
|
|
5
|
-
}
|
|
1
|
+
export declare enum AggrementStatusEnum {
|
|
2
|
+
NOT_GENERATED = "Not Generated",
|
|
3
|
+
GENERATED = "Generated",
|
|
4
|
+
SIGNED = "Signed"
|
|
5
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AggrementStatusEnum = void 0;
|
|
4
|
-
var AggrementStatusEnum;
|
|
5
|
-
(function (AggrementStatusEnum) {
|
|
6
|
-
AggrementStatusEnum["NOT_GENERATED"] = "Not Generated";
|
|
7
|
-
AggrementStatusEnum["GENERATED"] = "Generated";
|
|
8
|
-
AggrementStatusEnum["SIGNED"] = "Signed";
|
|
9
|
-
})(AggrementStatusEnum
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AggrementStatusEnum = void 0;
|
|
4
|
+
var AggrementStatusEnum;
|
|
5
|
+
(function (AggrementStatusEnum) {
|
|
6
|
+
AggrementStatusEnum["NOT_GENERATED"] = "Not Generated";
|
|
7
|
+
AggrementStatusEnum["GENERATED"] = "Generated";
|
|
8
|
+
AggrementStatusEnum["SIGNED"] = "Signed";
|
|
9
|
+
})(AggrementStatusEnum || (exports.AggrementStatusEnum = AggrementStatusEnum = {}));
|
|
10
10
|
//# sourceMappingURL=aggrement-status.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggrement-status.enum.js","sourceRoot":"","sources":["../../../src/enum/aggrement-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,sDAA+B,CAAA;IAC/B,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;AACnB,CAAC,EAJW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"aggrement-status.enum.js","sourceRoot":"","sources":["../../../src/enum/aggrement-status.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,sDAA+B,CAAA;IAC/B,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;AACnB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum BookingStatusEnum {
|
|
2
|
-
CONFIRMED = "Confirmed",
|
|
3
|
-
PENDING = "Pending",
|
|
4
|
-
CANCELLED = "Cancelled"
|
|
5
|
-
}
|
|
1
|
+
export declare enum BookingStatusEnum {
|
|
2
|
+
CONFIRMED = "Confirmed",
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
CANCELLED = "Cancelled"
|
|
5
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BookingStatusEnum = void 0;
|
|
4
|
-
var BookingStatusEnum;
|
|
5
|
-
(function (BookingStatusEnum) {
|
|
6
|
-
BookingStatusEnum["CONFIRMED"] = "Confirmed";
|
|
7
|
-
BookingStatusEnum["PENDING"] = "Pending";
|
|
8
|
-
BookingStatusEnum["CANCELLED"] = "Cancelled";
|
|
9
|
-
})(BookingStatusEnum
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BookingStatusEnum = void 0;
|
|
4
|
+
var BookingStatusEnum;
|
|
5
|
+
(function (BookingStatusEnum) {
|
|
6
|
+
BookingStatusEnum["CONFIRMED"] = "Confirmed";
|
|
7
|
+
BookingStatusEnum["PENDING"] = "Pending";
|
|
8
|
+
BookingStatusEnum["CANCELLED"] = "Cancelled";
|
|
9
|
+
})(BookingStatusEnum || (exports.BookingStatusEnum = BookingStatusEnum = {}));
|
|
10
10
|
//# sourceMappingURL=booking.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking.enum.js","sourceRoot":"","sources":["../../../src/enum/booking.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,4CAAuB,CAAA;AACzB,CAAC,EAJW,iBAAiB,
|
|
1
|
+
{"version":3,"file":"booking.enum.js","sourceRoot":"","sources":["../../../src/enum/booking.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,4CAAuB,CAAA;AACzB,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B"}
|
package/dist/src/enum/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RentalStatusEnum } from './rental-status.enum';
|
|
2
|
-
import { BookingStatusEnum } from './booking.enum';
|
|
3
|
-
import { RentalAccountTypeEnum } from './account-type.enum';
|
|
4
|
-
import { AggrementStatusEnum } from './aggrement-status.enum';
|
|
5
|
-
export { RentalStatusEnum, BookingStatusEnum, RentalAccountTypeEnum, AggrementStatusEnum, };
|
|
1
|
+
import { RentalStatusEnum } from './rental-status.enum';
|
|
2
|
+
import { BookingStatusEnum } from './booking.enum';
|
|
3
|
+
import { RentalAccountTypeEnum } from './account-type.enum';
|
|
4
|
+
import { AggrementStatusEnum } from './aggrement-status.enum';
|
|
5
|
+
export { RentalStatusEnum, BookingStatusEnum, RentalAccountTypeEnum, AggrementStatusEnum, };
|
package/dist/src/enum/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AggrementStatusEnum = exports.RentalAccountTypeEnum = exports.BookingStatusEnum = exports.RentalStatusEnum = void 0;
|
|
4
|
-
const rental_status_enum_1 = require("./rental-status.enum");
|
|
5
|
-
Object.defineProperty(exports, "RentalStatusEnum", { enumerable: true, get: function () { return rental_status_enum_1.RentalStatusEnum; } });
|
|
6
|
-
const booking_enum_1 = require("./booking.enum");
|
|
7
|
-
Object.defineProperty(exports, "BookingStatusEnum", { enumerable: true, get: function () { return booking_enum_1.BookingStatusEnum; } });
|
|
8
|
-
const account_type_enum_1 = require("./account-type.enum");
|
|
9
|
-
Object.defineProperty(exports, "RentalAccountTypeEnum", { enumerable: true, get: function () { return account_type_enum_1.RentalAccountTypeEnum; } });
|
|
10
|
-
const aggrement_status_enum_1 = require("./aggrement-status.enum");
|
|
11
|
-
Object.defineProperty(exports, "AggrementStatusEnum", { enumerable: true, get: function () { return aggrement_status_enum_1.AggrementStatusEnum; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AggrementStatusEnum = exports.RentalAccountTypeEnum = exports.BookingStatusEnum = exports.RentalStatusEnum = void 0;
|
|
4
|
+
const rental_status_enum_1 = require("./rental-status.enum");
|
|
5
|
+
Object.defineProperty(exports, "RentalStatusEnum", { enumerable: true, get: function () { return rental_status_enum_1.RentalStatusEnum; } });
|
|
6
|
+
const booking_enum_1 = require("./booking.enum");
|
|
7
|
+
Object.defineProperty(exports, "BookingStatusEnum", { enumerable: true, get: function () { return booking_enum_1.BookingStatusEnum; } });
|
|
8
|
+
const account_type_enum_1 = require("./account-type.enum");
|
|
9
|
+
Object.defineProperty(exports, "RentalAccountTypeEnum", { enumerable: true, get: function () { return account_type_enum_1.RentalAccountTypeEnum; } });
|
|
10
|
+
const aggrement_status_enum_1 = require("./aggrement-status.enum");
|
|
11
|
+
Object.defineProperty(exports, "AggrementStatusEnum", { enumerable: true, get: function () { return aggrement_status_enum_1.AggrementStatusEnum; } });
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum RentalStatusEnum {
|
|
2
|
-
RESERVED = "Reserved",
|
|
3
|
-
ACTIVE = "Active",
|
|
4
|
-
SUSPENDED = "Suspended",
|
|
5
|
-
CANCELLED = "Cancelled",
|
|
6
|
-
TERMINATED = "Terminated",
|
|
7
|
-
PENDING_SIGNING = "Pending Signing",
|
|
8
|
-
PENDING_KEY_COLLECTION = "Pending Key Collection"
|
|
9
|
-
}
|
|
1
|
+
export declare enum RentalStatusEnum {
|
|
2
|
+
RESERVED = "Reserved",
|
|
3
|
+
ACTIVE = "Active",
|
|
4
|
+
SUSPENDED = "Suspended",
|
|
5
|
+
CANCELLED = "Cancelled",
|
|
6
|
+
TERMINATED = "Terminated",
|
|
7
|
+
PENDING_SIGNING = "Pending Signing",
|
|
8
|
+
PENDING_KEY_COLLECTION = "Pending Key Collection"
|
|
9
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RentalStatusEnum = void 0;
|
|
4
|
-
var RentalStatusEnum;
|
|
5
|
-
(function (RentalStatusEnum) {
|
|
6
|
-
RentalStatusEnum["RESERVED"] = "Reserved";
|
|
7
|
-
RentalStatusEnum["ACTIVE"] = "Active";
|
|
8
|
-
RentalStatusEnum["SUSPENDED"] = "Suspended";
|
|
9
|
-
RentalStatusEnum["CANCELLED"] = "Cancelled";
|
|
10
|
-
RentalStatusEnum["TERMINATED"] = "Terminated";
|
|
11
|
-
RentalStatusEnum["PENDING_SIGNING"] = "Pending Signing";
|
|
12
|
-
RentalStatusEnum["PENDING_KEY_COLLECTION"] = "Pending Key Collection";
|
|
13
|
-
})(RentalStatusEnum
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RentalStatusEnum = void 0;
|
|
4
|
+
var RentalStatusEnum;
|
|
5
|
+
(function (RentalStatusEnum) {
|
|
6
|
+
RentalStatusEnum["RESERVED"] = "Reserved";
|
|
7
|
+
RentalStatusEnum["ACTIVE"] = "Active";
|
|
8
|
+
RentalStatusEnum["SUSPENDED"] = "Suspended";
|
|
9
|
+
RentalStatusEnum["CANCELLED"] = "Cancelled";
|
|
10
|
+
RentalStatusEnum["TERMINATED"] = "Terminated";
|
|
11
|
+
RentalStatusEnum["PENDING_SIGNING"] = "Pending Signing";
|
|
12
|
+
RentalStatusEnum["PENDING_KEY_COLLECTION"] = "Pending Key Collection";
|
|
13
|
+
})(RentalStatusEnum || (exports.RentalStatusEnum = RentalStatusEnum = {}));
|
|
14
14
|
//# sourceMappingURL=rental-status.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rental-status.enum.js","sourceRoot":"","sources":["../../../src/enum/rental-status.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,gBAmCX;AAnCD,WAAY,gBAAgB;IAI1B,yCAAqB,CAAA;IAKrB,qCAAiB,CAAA;IAKjB,2CAAuB,CAAA;IAKvB,2CAAuB,CAAA;IAKvB,6CAAyB,CAAA;IAKzB,uDAAmC,CAAA;IAKnC,qEAAiD,CAAA;AACnD,CAAC,EAnCW,gBAAgB,
|
|
1
|
+
{"version":3,"file":"rental-status.enum.js","sourceRoot":"","sources":["../../../src/enum/rental-status.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,gBAmCX;AAnCD,WAAY,gBAAgB;IAI1B,yCAAqB,CAAA;IAKrB,qCAAiB,CAAA;IAKjB,2CAAuB,CAAA;IAKvB,2CAAuB,CAAA;IAKvB,6CAAyB,CAAA;IAKzB,uDAAmC,CAAA;IAKnC,qEAAiD,CAAA;AACnD,CAAC,EAnCW,gBAAgB,gCAAhB,gBAAgB,QAmC3B"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { RentalPriceRepository } from './components/rental-price/rental-price.repository';
|
|
2
|
-
import { RentalRepository } from './components/rental/rental.repository';
|
|
3
|
-
import { Rental } from './components/rental/rental';
|
|
4
|
-
import { RentalPrice } from './components/rental-price/rental-price';
|
|
5
|
-
import { Booking } from './components/booking/booking';
|
|
6
|
-
import { BookingRepository } from './components/booking/booking.repository';
|
|
7
|
-
import { JointHirer } from './components/joint-hirer/joint-hirer';
|
|
8
|
-
import { JointHirerRepository } from './components/joint-hirer/joint-hirer.repository';
|
|
9
|
-
import { Agreement } from './components/agreement/agreement';
|
|
10
|
-
import { AgreementRepository } from './components/agreement/agreement.repository';
|
|
11
|
-
import * as rentalDb from './database';
|
|
12
|
-
export * from './interfaces';
|
|
13
|
-
export * from './models';
|
|
14
|
-
export * from './enum';
|
|
15
|
-
export { Rental, RentalPrice, RentalRepository, RentalPriceRepository, Booking, BookingRepository, rentalDb, JointHirer, JointHirerRepository, Agreement, AgreementRepository, };
|
|
1
|
+
import { RentalPriceRepository } from './components/rental-price/rental-price.repository';
|
|
2
|
+
import { RentalRepository } from './components/rental/rental.repository';
|
|
3
|
+
import { Rental } from './components/rental/rental';
|
|
4
|
+
import { RentalPrice } from './components/rental-price/rental-price';
|
|
5
|
+
import { Booking } from './components/booking/booking';
|
|
6
|
+
import { BookingRepository } from './components/booking/booking.repository';
|
|
7
|
+
import { JointHirer } from './components/joint-hirer/joint-hirer';
|
|
8
|
+
import { JointHirerRepository } from './components/joint-hirer/joint-hirer.repository';
|
|
9
|
+
import { Agreement } from './components/agreement/agreement';
|
|
10
|
+
import { AgreementRepository } from './components/agreement/agreement.repository';
|
|
11
|
+
import * as rentalDb from './database';
|
|
12
|
+
export * from './interfaces';
|
|
13
|
+
export * from './models';
|
|
14
|
+
export * from './enum';
|
|
15
|
+
export { Rental, RentalPrice, RentalRepository, RentalPriceRepository, Booking, BookingRepository, rentalDb, JointHirer, JointHirerRepository, Agreement, AgreementRepository, };
|
package/dist/src/index.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.AgreementRepository = exports.Agreement = exports.JointHirerRepository = exports.JointHirer = exports.rentalDb = exports.BookingRepository = exports.Booking = exports.RentalPriceRepository = exports.RentalRepository = exports.RentalPrice = exports.Rental = void 0;
|
|
18
|
-
const rental_price_repository_1 = require("./components/rental-price/rental-price.repository");
|
|
19
|
-
Object.defineProperty(exports, "RentalPriceRepository", { enumerable: true, get: function () { return rental_price_repository_1.RentalPriceRepository; } });
|
|
20
|
-
const rental_repository_1 = require("./components/rental/rental.repository");
|
|
21
|
-
Object.defineProperty(exports, "RentalRepository", { enumerable: true, get: function () { return rental_repository_1.RentalRepository; } });
|
|
22
|
-
const rental_1 = require("./components/rental/rental");
|
|
23
|
-
Object.defineProperty(exports, "Rental", { enumerable: true, get: function () { return rental_1.Rental; } });
|
|
24
|
-
const rental_price_1 = require("./components/rental-price/rental-price");
|
|
25
|
-
Object.defineProperty(exports, "RentalPrice", { enumerable: true, get: function () { return rental_price_1.RentalPrice; } });
|
|
26
|
-
const booking_1 = require("./components/booking/booking");
|
|
27
|
-
Object.defineProperty(exports, "Booking", { enumerable: true, get: function () { return booking_1.Booking; } });
|
|
28
|
-
const booking_repository_1 = require("./components/booking/booking.repository");
|
|
29
|
-
Object.defineProperty(exports, "BookingRepository", { enumerable: true, get: function () { return booking_repository_1.BookingRepository; } });
|
|
30
|
-
const joint_hirer_1 = require("./components/joint-hirer/joint-hirer");
|
|
31
|
-
Object.defineProperty(exports, "JointHirer", { enumerable: true, get: function () { return joint_hirer_1.JointHirer; } });
|
|
32
|
-
const joint_hirer_repository_1 = require("./components/joint-hirer/joint-hirer.repository");
|
|
33
|
-
Object.defineProperty(exports, "JointHirerRepository", { enumerable: true, get: function () { return joint_hirer_repository_1.JointHirerRepository; } });
|
|
34
|
-
const agreement_1 = require("./components/agreement/agreement");
|
|
35
|
-
Object.defineProperty(exports, "Agreement", { enumerable: true, get: function () { return agreement_1.Agreement; } });
|
|
36
|
-
const agreement_repository_1 = require("./components/agreement/agreement.repository");
|
|
37
|
-
Object.defineProperty(exports, "AgreementRepository", { enumerable: true, get: function () { return agreement_repository_1.AgreementRepository; } });
|
|
38
|
-
const rentalDb = require("./database");
|
|
39
|
-
exports.rentalDb = rentalDb;
|
|
40
|
-
__exportStar(require("./interfaces"), exports);
|
|
41
|
-
__exportStar(require("./models"), exports);
|
|
42
|
-
__exportStar(require("./enum"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.AgreementRepository = exports.Agreement = exports.JointHirerRepository = exports.JointHirer = exports.rentalDb = exports.BookingRepository = exports.Booking = exports.RentalPriceRepository = exports.RentalRepository = exports.RentalPrice = exports.Rental = void 0;
|
|
18
|
+
const rental_price_repository_1 = require("./components/rental-price/rental-price.repository");
|
|
19
|
+
Object.defineProperty(exports, "RentalPriceRepository", { enumerable: true, get: function () { return rental_price_repository_1.RentalPriceRepository; } });
|
|
20
|
+
const rental_repository_1 = require("./components/rental/rental.repository");
|
|
21
|
+
Object.defineProperty(exports, "RentalRepository", { enumerable: true, get: function () { return rental_repository_1.RentalRepository; } });
|
|
22
|
+
const rental_1 = require("./components/rental/rental");
|
|
23
|
+
Object.defineProperty(exports, "Rental", { enumerable: true, get: function () { return rental_1.Rental; } });
|
|
24
|
+
const rental_price_1 = require("./components/rental-price/rental-price");
|
|
25
|
+
Object.defineProperty(exports, "RentalPrice", { enumerable: true, get: function () { return rental_price_1.RentalPrice; } });
|
|
26
|
+
const booking_1 = require("./components/booking/booking");
|
|
27
|
+
Object.defineProperty(exports, "Booking", { enumerable: true, get: function () { return booking_1.Booking; } });
|
|
28
|
+
const booking_repository_1 = require("./components/booking/booking.repository");
|
|
29
|
+
Object.defineProperty(exports, "BookingRepository", { enumerable: true, get: function () { return booking_repository_1.BookingRepository; } });
|
|
30
|
+
const joint_hirer_1 = require("./components/joint-hirer/joint-hirer");
|
|
31
|
+
Object.defineProperty(exports, "JointHirer", { enumerable: true, get: function () { return joint_hirer_1.JointHirer; } });
|
|
32
|
+
const joint_hirer_repository_1 = require("./components/joint-hirer/joint-hirer.repository");
|
|
33
|
+
Object.defineProperty(exports, "JointHirerRepository", { enumerable: true, get: function () { return joint_hirer_repository_1.JointHirerRepository; } });
|
|
34
|
+
const agreement_1 = require("./components/agreement/agreement");
|
|
35
|
+
Object.defineProperty(exports, "Agreement", { enumerable: true, get: function () { return agreement_1.Agreement; } });
|
|
36
|
+
const agreement_repository_1 = require("./components/agreement/agreement.repository");
|
|
37
|
+
Object.defineProperty(exports, "AgreementRepository", { enumerable: true, get: function () { return agreement_repository_1.AgreementRepository; } });
|
|
38
|
+
const rentalDb = require("./database");
|
|
39
|
+
exports.rentalDb = rentalDb;
|
|
40
|
+
__exportStar(require("./interfaces"), exports);
|
|
41
|
+
__exportStar(require("./models"), exports);
|
|
42
|
+
__exportStar(require("./enum"), exports);
|
|
43
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AggrementStatusEnum } from '../enum/aggrement-status.enum';
|
|
2
|
-
export interface IAgreementAttr {
|
|
3
|
-
AgreementNo: string;
|
|
4
|
-
Status: AggrementStatusEnum;
|
|
5
|
-
DateSigned?: Date;
|
|
6
|
-
MediaId?: string;
|
|
7
|
-
}
|
|
1
|
+
import { AggrementStatusEnum } from '../enum/aggrement-status.enum';
|
|
2
|
+
export interface IAgreementAttr {
|
|
3
|
+
AgreementNo: string;
|
|
4
|
+
Status: AggrementStatusEnum;
|
|
5
|
+
DateSigned?: Date;
|
|
6
|
+
MediaId?: string;
|
|
7
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=agreement-attr.interface.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { BookingStatusEnum } from '../enum/booking.enum';
|
|
2
|
-
export interface IBookingAttr {
|
|
3
|
-
BookingNo: string;
|
|
4
|
-
CustomerId: string;
|
|
5
|
-
CustomerType: string;
|
|
6
|
-
ItemId: string;
|
|
7
|
-
ItemType: string;
|
|
8
|
-
PriceId: string;
|
|
9
|
-
ScheduledStartDateTime: Date;
|
|
10
|
-
ScheduledEndDateTime: Date;
|
|
11
|
-
BookingFee: number;
|
|
12
|
-
Status: BookingStatusEnum;
|
|
13
|
-
CancelRemarks: string;
|
|
14
|
-
CreatedById: string;
|
|
15
|
-
CreatedAt: Date;
|
|
16
|
-
UpdatedById: string;
|
|
17
|
-
UpdatedAt: Date;
|
|
18
|
-
}
|
|
1
|
+
import { BookingStatusEnum } from '../enum/booking.enum';
|
|
2
|
+
export interface IBookingAttr {
|
|
3
|
+
BookingNo: string;
|
|
4
|
+
CustomerId: string;
|
|
5
|
+
CustomerType: string;
|
|
6
|
+
ItemId: string;
|
|
7
|
+
ItemType: string;
|
|
8
|
+
PriceId: string;
|
|
9
|
+
ScheduledStartDateTime: Date;
|
|
10
|
+
ScheduledEndDateTime: Date;
|
|
11
|
+
BookingFee: number;
|
|
12
|
+
Status: BookingStatusEnum;
|
|
13
|
+
CancelRemarks: string;
|
|
14
|
+
CreatedById: string;
|
|
15
|
+
CreatedAt: Date;
|
|
16
|
+
UpdatedById: string;
|
|
17
|
+
UpdatedAt: Date;
|
|
18
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=booking-attr.interface.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface IBookingFindAllSearchAttr {
|
|
2
|
-
BookingNo?: string;
|
|
3
|
-
CustomerId?: string;
|
|
4
|
-
CustomerType?: string;
|
|
5
|
-
ItemId?: string;
|
|
6
|
-
ItemType?: string;
|
|
7
|
-
PriceId?: string;
|
|
8
|
-
ScheduledStartDateTime?: Date;
|
|
9
|
-
ScheduledEndDateTime?: Date;
|
|
10
|
-
BookingFee?: number;
|
|
11
|
-
Status?: string;
|
|
12
|
-
}
|
|
1
|
+
export interface IBookingFindAllSearchAttr {
|
|
2
|
+
BookingNo?: string;
|
|
3
|
+
CustomerId?: string;
|
|
4
|
+
CustomerType?: string;
|
|
5
|
+
ItemId?: string;
|
|
6
|
+
ItemType?: string;
|
|
7
|
+
PriceId?: string;
|
|
8
|
+
ScheduledStartDateTime?: Date;
|
|
9
|
+
ScheduledEndDateTime?: Date;
|
|
10
|
+
BookingFee?: number;
|
|
11
|
+
Status?: string;
|
|
12
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=booking-find-all-search-attr.interface.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IRentalAttr } from './rental-attr.interface';
|
|
2
|
-
import { IRentalPriceAttr } from './rental-price-attr.interface';
|
|
3
|
-
import { IRentalFindAllSearchAttr } from './rental-find-all-search-attr.interface';
|
|
4
|
-
import { IBookingAttr } from './booking-attr.interface';
|
|
5
|
-
import { IAgreementAttr } from './agreement-attr.interface';
|
|
6
|
-
import { IBookingFindAllSearchAttr } from './booking-find-all-search-attr.interface';
|
|
7
|
-
export { IRentalAttr, IRentalPriceAttr, IRentalFindAllSearchAttr, IBookingAttr, IAgreementAttr, IBookingFindAllSearchAttr, };
|
|
1
|
+
import { IRentalAttr } from './rental-attr.interface';
|
|
2
|
+
import { IRentalPriceAttr } from './rental-price-attr.interface';
|
|
3
|
+
import { IRentalFindAllSearchAttr } from './rental-find-all-search-attr.interface';
|
|
4
|
+
import { IBookingAttr } from './booking-attr.interface';
|
|
5
|
+
import { IAgreementAttr } from './agreement-attr.interface';
|
|
6
|
+
import { IBookingFindAllSearchAttr } from './booking-find-all-search-attr.interface';
|
|
7
|
+
export { IRentalAttr, IRentalPriceAttr, IRentalFindAllSearchAttr, IBookingAttr, IAgreementAttr, IBookingFindAllSearchAttr, };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface IJointHirerAttr {
|
|
2
|
-
HirerId: string;
|
|
3
|
-
RentalId: string;
|
|
4
|
-
CustomerId: string;
|
|
5
|
-
CustomerType: string;
|
|
6
|
-
CreatedById: string;
|
|
7
|
-
CreatedAt: Date;
|
|
8
|
-
UpdatedById: string;
|
|
9
|
-
UpdatedAt: Date;
|
|
10
|
-
}
|
|
1
|
+
export interface IJointHirerAttr {
|
|
2
|
+
HirerId: string;
|
|
3
|
+
RentalId: string;
|
|
4
|
+
CustomerId: string;
|
|
5
|
+
CustomerType: string;
|
|
6
|
+
CreatedById: string;
|
|
7
|
+
CreatedAt: Date;
|
|
8
|
+
UpdatedById: string;
|
|
9
|
+
UpdatedAt: Date;
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=joint-hirer-attr.interface.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { RentalStatusEnum } from '../enum/rental-status.enum';
|
|
2
|
-
import { RentalAccountTypeEnum } from '../enum/account-type.enum';
|
|
3
|
-
import { IJointHirerAttr } from './joint-hirer-attr.interface';
|
|
4
|
-
export interface IRentalAttr {
|
|
5
|
-
RentalId: string;
|
|
6
|
-
CustomerId: string;
|
|
7
|
-
CustomerType: string;
|
|
8
|
-
ItemId: string;
|
|
9
|
-
ItemType: string;
|
|
10
|
-
PriceId: string;
|
|
11
|
-
StartDateTime: Date;
|
|
12
|
-
EndDateTime: Date;
|
|
13
|
-
CancelRemarks: string;
|
|
14
|
-
TerminateRemarks: string;
|
|
15
|
-
AgreementNo: string;
|
|
16
|
-
AccountType: RentalAccountTypeEnum;
|
|
17
|
-
Status: RentalStatusEnum;
|
|
18
|
-
EscheatmentYN: string;
|
|
19
|
-
CreatedById: string;
|
|
20
|
-
CreatedAt: Date;
|
|
21
|
-
UpdatedById: string;
|
|
22
|
-
UpdatedAt: Date;
|
|
23
|
-
JointHirers?: IJointHirerAttr[];
|
|
24
|
-
}
|
|
1
|
+
import { RentalStatusEnum } from '../enum/rental-status.enum';
|
|
2
|
+
import { RentalAccountTypeEnum } from '../enum/account-type.enum';
|
|
3
|
+
import { IJointHirerAttr } from './joint-hirer-attr.interface';
|
|
4
|
+
export interface IRentalAttr {
|
|
5
|
+
RentalId: string;
|
|
6
|
+
CustomerId: string;
|
|
7
|
+
CustomerType: string;
|
|
8
|
+
ItemId: string;
|
|
9
|
+
ItemType: string;
|
|
10
|
+
PriceId: string;
|
|
11
|
+
StartDateTime: Date;
|
|
12
|
+
EndDateTime: Date;
|
|
13
|
+
CancelRemarks: string;
|
|
14
|
+
TerminateRemarks: string;
|
|
15
|
+
AgreementNo: string;
|
|
16
|
+
AccountType: RentalAccountTypeEnum;
|
|
17
|
+
Status: RentalStatusEnum;
|
|
18
|
+
EscheatmentYN: string;
|
|
19
|
+
CreatedById: string;
|
|
20
|
+
CreatedAt: Date;
|
|
21
|
+
UpdatedById: string;
|
|
22
|
+
UpdatedAt: Date;
|
|
23
|
+
JointHirers?: IJointHirerAttr[];
|
|
24
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=rental-attr.interface.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RentalStatusEnum } from '../enum/rental-status.enum';
|
|
2
|
-
export interface IRentalFindAllSearchAttr {
|
|
3
|
-
Status?: RentalStatusEnum;
|
|
4
|
-
StartDateTime?: Date;
|
|
5
|
-
EndDateTime?: Date;
|
|
6
|
-
ItemId?: string;
|
|
7
|
-
ItemType?: string;
|
|
8
|
-
CustomerId?: string;
|
|
9
|
-
CustomerType?: string;
|
|
10
|
-
}
|
|
1
|
+
import { RentalStatusEnum } from '../enum/rental-status.enum';
|
|
2
|
+
export interface IRentalFindAllSearchAttr {
|
|
3
|
+
Status?: RentalStatusEnum;
|
|
4
|
+
StartDateTime?: Date;
|
|
5
|
+
EndDateTime?: Date;
|
|
6
|
+
ItemId?: string;
|
|
7
|
+
ItemType?: string;
|
|
8
|
+
CustomerId?: string;
|
|
9
|
+
CustomerType?: string;
|
|
10
|
+
}
|