@bondsports/types 2.4.50-a-1 → 2.4.50-a-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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/shifts/dto/find-shifts-filters.dto.d.ts +7 -12
- package/dist/types/shifts/dto/find-shifts-filters.dto.js +3 -5
- package/dist/types/shifts/dto/find-shifts-filters.dto.js.map +1 -1
- package/dist/types/shifts/dto/index.d.ts +1 -0
- package/dist/types/shifts/dto/index.js +1 -0
- package/dist/types/shifts/dto/index.js.map +1 -1
- package/dist/types/shifts/dto/shift.dto.d.ts +29 -0
- package/dist/types/shifts/dto/shift.dto.js +10 -0
- package/dist/types/shifts/dto/shift.dto.js.map +1 -0
- package/dist/types/shifts/entities/shift.entity.js.map +1 -1
- package/dist/types/shifts/index.d.ts +1 -0
- package/dist/types/shifts/index.js +1 -0
- package/dist/types/shifts/index.js.map +1 -1
- package/dist/types/shifts/types/enums/index.d.ts +1 -0
- package/dist/types/shifts/types/enums/index.js +18 -0
- package/dist/types/shifts/types/enums/index.js.map +1 -0
- package/dist/types/shifts/types/enums/shift.enums.d.ts +5 -0
- package/dist/types/shifts/types/enums/shift.enums.js +10 -0
- package/dist/types/shifts/types/enums/shift.enums.js.map +1 -0
- package/dist/types/shifts/types/index.d.ts +1 -0
- package/dist/types/shifts/types/index.js +18 -0
- package/dist/types/shifts/types/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
closingManagersIds?: string;
|
|
7
|
-
reconcilingUsersIds?: string;
|
|
8
|
-
startDate?: Date;
|
|
9
|
-
endDate?: Date;
|
|
10
|
-
}
|
|
11
|
-
export declare class FindShiftsFormattedFilters {
|
|
12
|
-
statuses?: string[];
|
|
1
|
+
import { PaginationSearchQuery } from '../../dto/general.dto';
|
|
2
|
+
import { ShiftStatusEnum } from '../../services/enums.service';
|
|
3
|
+
import { ShiftOrderByEnum } from '../types/enums/shift.enums';
|
|
4
|
+
export declare class FindShiftsFiltersDto extends PaginationSearchQuery<ShiftOrderByEnum> {
|
|
5
|
+
statuses?: ShiftStatusEnum[];
|
|
13
6
|
stationIds?: number[];
|
|
14
7
|
openingUsersIds?: number[];
|
|
15
8
|
closingUsersIds?: number[];
|
|
16
9
|
closingManagersIds?: number[];
|
|
17
10
|
reconcilingUsersIds?: number[];
|
|
11
|
+
facilityIds?: number[];
|
|
18
12
|
startDate?: Date;
|
|
19
13
|
endDate?: Date;
|
|
14
|
+
orderBy?: ShiftOrderByEnum;
|
|
20
15
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
3
|
+
exports.FindShiftsFiltersDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
class FindShiftsFiltersDto extends general_dto_1.PaginationSearchQuery {
|
|
5
6
|
}
|
|
6
7
|
exports.FindShiftsFiltersDto = FindShiftsFiltersDto;
|
|
7
|
-
class FindShiftsFormattedFilters {
|
|
8
|
-
}
|
|
9
|
-
exports.FindShiftsFormattedFilters = FindShiftsFormattedFilters;
|
|
10
8
|
//# sourceMappingURL=find-shifts-filters.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-shifts-filters.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/find-shifts-filters.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,
|
|
1
|
+
{"version":3,"file":"find-shifts-filters.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/find-shifts-filters.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8D;AAI9D,MAAa,oBAAqB,SAAQ,mCAAuC;CAoBhF;AApBD,oDAoBC"}
|
|
@@ -19,4 +19,5 @@ __exportStar(require("./find-shifts-by-ids.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./find-shifts-filters.dto"), exports);
|
|
20
20
|
__exportStar(require("./management-closing-shifts.dto"), exports);
|
|
21
21
|
__exportStar(require("./open-shift.dto"), exports);
|
|
22
|
+
__exportStar(require("./shift.dto"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,2DAAyC;AACzC,4DAA0C;AAC1C,kEAAgD;AAChD,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,2DAAyC;AACzC,4DAA0C;AAC1C,kEAAgD;AAChD,mDAAiC;AACjC,8CAA4B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { StationDto } from '../../dto/station.dto';
|
|
2
|
+
import { PaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
|
|
3
|
+
import { ShiftStatusEnum } from '../../services/enums.service';
|
|
4
|
+
import { SimpleUserDto } from '../../user/dto/user.dto';
|
|
5
|
+
export declare class SimpleShiftDto {
|
|
6
|
+
id: number;
|
|
7
|
+
station?: StationDto;
|
|
8
|
+
status: ShiftStatusEnum;
|
|
9
|
+
openingDate: string;
|
|
10
|
+
openingTime: string;
|
|
11
|
+
closingDate?: string;
|
|
12
|
+
closingTime?: string;
|
|
13
|
+
openingUser?: SimpleUserDto;
|
|
14
|
+
closingUser?: SimpleUserDto;
|
|
15
|
+
}
|
|
16
|
+
export declare class ShiftDto extends SimpleShiftDto {
|
|
17
|
+
openingCashAmount: number;
|
|
18
|
+
closingCashAmount?: number;
|
|
19
|
+
managementClosingCashAmount?: number;
|
|
20
|
+
managementClosingDate?: string;
|
|
21
|
+
managementClosingTime?: string;
|
|
22
|
+
reconcilingUserId?: number;
|
|
23
|
+
reconciliationAmount?: number;
|
|
24
|
+
reconcilingDate?: string;
|
|
25
|
+
reconcilingTime?: string;
|
|
26
|
+
reconciliationInvoiceId?: number;
|
|
27
|
+
sumsOnShift?: Record<PaymentMethodTypeEnum, number>;
|
|
28
|
+
currentCashDifference?: number;
|
|
29
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShiftDto = exports.SimpleShiftDto = void 0;
|
|
4
|
+
class SimpleShiftDto {
|
|
5
|
+
}
|
|
6
|
+
exports.SimpleShiftDto = SimpleShiftDto;
|
|
7
|
+
class ShiftDto extends SimpleShiftDto {
|
|
8
|
+
}
|
|
9
|
+
exports.ShiftDto = ShiftDto;
|
|
10
|
+
//# sourceMappingURL=shift.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shift.dto.js","sourceRoot":"","sources":["../../../../src/types/shifts/dto/shift.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,cAAc;CAkB1B;AAlBD,wCAkBC;AAED,MAAa,QAAS,SAAQ,cAAc;CAwB3C;AAxBD,4BAwBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shift.entity.js","sourceRoot":"","sources":["../../../../src/types/shifts/entities/shift.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,KAAM,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"shift.entity.js","sourceRoot":"","sources":["../../../../src/types/shifts/entities/shift.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,KAAM,SAAQ,mEAAgC;CAsD1D;AAtDD,sBAsDC"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dto"), exports);
|
|
18
18
|
__exportStar(require("./entities"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/shifts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/shifts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './shift.enums';
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
__exportStar(require("./shift.enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/shifts/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShiftOrderByEnum = void 0;
|
|
4
|
+
var ShiftOrderByEnum;
|
|
5
|
+
(function (ShiftOrderByEnum) {
|
|
6
|
+
ShiftOrderByEnum["ID"] = "id";
|
|
7
|
+
ShiftOrderByEnum["OPENING_DATE"] = "openingDate";
|
|
8
|
+
ShiftOrderByEnum["CLOSING_DATE"] = "closingDate";
|
|
9
|
+
})(ShiftOrderByEnum = exports.ShiftOrderByEnum || (exports.ShiftOrderByEnum = {}));
|
|
10
|
+
//# sourceMappingURL=shift.enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shift.enums.js","sourceRoot":"","sources":["../../../../../src/types/shifts/types/enums/shift.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,6BAAS,CAAA;IACT,gDAA4B,CAAA;IAC5B,gDAA4B,CAAA;AAC7B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './enums';
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
__exportStar(require("./enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/shifts/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|