mobicloud-core 1.0.203 → 1.0.205
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/api/types/all.enum.d.ts +5 -0
- package/api/types/gateway-printer.d.ts +3 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/time-forecast.d.ts +25 -0
- package/bundles/mobicloud-core-api.umd.js +15 -0
- package/bundles/mobicloud-core-api.umd.js.map +1 -1
- package/esm2015/api/types/all.enum.js +7 -1
- package/esm2015/api/types/gateway-printer.js +1 -1
- package/esm2015/api/types/index.js +2 -1
- package/esm2015/api/types/time-forecast.js +4 -0
- package/fesm2015/mobicloud-core-api.js +10 -1
- package/fesm2015/mobicloud-core-api.js.map +1 -1
- package/package.json +1 -1
package/api/types/all.enum.d.ts
CHANGED
|
@@ -331,6 +331,11 @@ export declare enum ProductConsumptionJournalStatus {
|
|
|
331
331
|
Open = "Open",
|
|
332
332
|
Closed = "Closed"
|
|
333
333
|
}
|
|
334
|
+
export declare enum TimeForecastStatus {
|
|
335
|
+
Created = "Created",
|
|
336
|
+
Approved = "Approved",
|
|
337
|
+
Closed = "Closed"
|
|
338
|
+
}
|
|
334
339
|
export declare enum ProductConsumptionItemType {
|
|
335
340
|
None = "None",
|
|
336
341
|
Product = "Product"
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { Beacon } from "./beacon";
|
|
1
2
|
import { DomainObject } from "./domain-object";
|
|
2
3
|
export declare class GatewayPrinter extends DomainObject {
|
|
3
4
|
PrinterId?: string | undefined;
|
|
5
|
+
BeaconId?: string | undefined;
|
|
6
|
+
Beacon?: Beacon | undefined;
|
|
4
7
|
GatewayInstallationName?: string | undefined;
|
|
5
8
|
PrinterName?: string | undefined;
|
|
6
9
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ export * from './resource-journal-line';
|
|
|
98
98
|
export * from './resource-journal';
|
|
99
99
|
export * from './employee-time-journal-view';
|
|
100
100
|
export * from './project-time-journal-view';
|
|
101
|
+
export * from './time-forecast';
|
|
101
102
|
export * from './resource-journal-view';
|
|
102
103
|
export * from './milage-journal';
|
|
103
104
|
export * from './milage-trip';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DomainObject } from "./domain-object";
|
|
2
|
+
import { Employee } from "./employee";
|
|
3
|
+
import { TimeCategory } from "./time-category";
|
|
4
|
+
import { Project } from "./project";
|
|
5
|
+
import { TimeForecastStatus, UserType } from "./all.enum";
|
|
6
|
+
export declare class TimeForecast extends DomainObject {
|
|
7
|
+
ForecastId?: string | undefined;
|
|
8
|
+
Date?: Date | undefined;
|
|
9
|
+
Status?: TimeForecastStatus | undefined;
|
|
10
|
+
Start?: Date | undefined;
|
|
11
|
+
End?: Date | undefined;
|
|
12
|
+
EmployeeId?: string | undefined;
|
|
13
|
+
Employee?: Employee | undefined;
|
|
14
|
+
CategoryId?: string | undefined;
|
|
15
|
+
Category?: TimeCategory | undefined;
|
|
16
|
+
ProjectId?: string | undefined;
|
|
17
|
+
Project?: Project | undefined;
|
|
18
|
+
ApprovedDate?: Date | undefined;
|
|
19
|
+
Id_ApprovedBy?: string | undefined;
|
|
20
|
+
UserType_ApprovedBy?: UserType | undefined;
|
|
21
|
+
IsTemplate?: boolean | undefined;
|
|
22
|
+
TemplateName?: string | undefined;
|
|
23
|
+
TemplateUserId?: string | undefined;
|
|
24
|
+
TemplateUserType?: UserType | undefined;
|
|
25
|
+
}
|
|
@@ -1318,6 +1318,12 @@
|
|
|
1318
1318
|
ProductConsumptionJournalStatus["Open"] = "Open";
|
|
1319
1319
|
ProductConsumptionJournalStatus["Closed"] = "Closed";
|
|
1320
1320
|
})(exports.ProductConsumptionJournalStatus || (exports.ProductConsumptionJournalStatus = {}));
|
|
1321
|
+
exports.TimeForecastStatus = void 0;
|
|
1322
|
+
(function (TimeForecastStatus) {
|
|
1323
|
+
TimeForecastStatus["Created"] = "Created";
|
|
1324
|
+
TimeForecastStatus["Approved"] = "Approved";
|
|
1325
|
+
TimeForecastStatus["Closed"] = "Closed";
|
|
1326
|
+
})(exports.TimeForecastStatus || (exports.TimeForecastStatus = {}));
|
|
1321
1327
|
exports.ProductConsumptionItemType = void 0;
|
|
1322
1328
|
(function (ProductConsumptionItemType) {
|
|
1323
1329
|
ProductConsumptionItemType["None"] = "None";
|
|
@@ -2811,6 +2817,14 @@
|
|
|
2811
2817
|
return ProjectTimeJournalView;
|
|
2812
2818
|
}());
|
|
2813
2819
|
|
|
2820
|
+
var TimeForecast = /** @class */ (function (_super) {
|
|
2821
|
+
__extends(TimeForecast, _super);
|
|
2822
|
+
function TimeForecast() {
|
|
2823
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2824
|
+
}
|
|
2825
|
+
return TimeForecast;
|
|
2826
|
+
}(DomainObject));
|
|
2827
|
+
|
|
2814
2828
|
var ResourceJournalView = /** @class */ (function () {
|
|
2815
2829
|
function ResourceJournalView() {
|
|
2816
2830
|
}
|
|
@@ -3723,6 +3737,7 @@
|
|
|
3723
3737
|
exports.SystemUser = SystemUser;
|
|
3724
3738
|
exports.TaskType = TaskType;
|
|
3725
3739
|
exports.TimeCategory = TimeCategory;
|
|
3740
|
+
exports.TimeForecast = TimeForecast;
|
|
3726
3741
|
exports.TimeJournal = TimeJournal;
|
|
3727
3742
|
exports.TimeJournalLine = TimeJournalLine;
|
|
3728
3743
|
exports.TimeSplitRule = TimeSplitRule;
|