mobicloud-core 1.0.279 → 1.0.281
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/employee.d.ts +3 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/payroll-journal-line.d.ts +6 -0
- package/api/types/planable-task-part.d.ts +0 -2
- package/api/types/production.d.ts +3 -0
- package/api/types/time-journal-line.d.ts +2 -0
- package/api/types/work-times.d.ts +18 -0
- package/bundles/mobicloud-core-api.umd.js +9 -14
- package/bundles/mobicloud-core-api.umd.js.map +1 -1
- package/esm2015/api/types/employee.js +1 -1
- package/esm2015/api/types/index.js +2 -1
- package/esm2015/api/types/payroll-journal-line.js +1 -1
- package/esm2015/api/types/planable-task-part.js +1 -11
- package/esm2015/api/types/production.js +1 -1
- package/esm2015/api/types/time-journal-line.js +1 -1
- package/esm2015/api/types/work-times.js +4 -0
- package/fesm2015/mobicloud-core-api.js +4 -11
- package/fesm2015/mobicloud-core-api.js.map +1 -1
- package/package.json +1 -1
package/api/types/employee.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { PayrollInterval } from './payroll-interval';
|
|
|
10
10
|
import { WorkCenter } from './work-center';
|
|
11
11
|
import { Beacon } from './beacon';
|
|
12
12
|
import { Project } from './project';
|
|
13
|
+
import { WorkTimes } from './work-times';
|
|
13
14
|
import { PayrollCategory } from './payroll-category';
|
|
14
15
|
export declare class Resource extends DomainObject {
|
|
15
16
|
IsPerson?: boolean | undefined;
|
|
@@ -29,6 +30,8 @@ export declare class Resource extends DomainObject {
|
|
|
29
30
|
InventLocation?: InventLocation | undefined;
|
|
30
31
|
LocationId?: string | undefined;
|
|
31
32
|
Location?: Location | undefined;
|
|
33
|
+
WorkTimesId?: string | undefined;
|
|
34
|
+
WorkTimes?: WorkTimes | undefined;
|
|
32
35
|
Latitude?: number | undefined;
|
|
33
36
|
Longitude?: number | undefined;
|
|
34
37
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ export * from './shipment';
|
|
|
138
138
|
export * from './shipment-parcel';
|
|
139
139
|
export * from './shipment-label';
|
|
140
140
|
export * from './packaging-box';
|
|
141
|
+
export * from './work-times';
|
|
141
142
|
export * from './filter-channel';
|
|
142
143
|
export * from './filter-channel-input';
|
|
143
144
|
export * from './filter-channel-output';
|
|
@@ -4,6 +4,8 @@ import { PayrollJournalLineStatus, UserType } from "./all.enum";
|
|
|
4
4
|
import { PayrollJournal } from "./payroll-journal";
|
|
5
5
|
import { Unit } from "./unit";
|
|
6
6
|
import { PayrollCategory } from "./payroll-category";
|
|
7
|
+
import { Project } from "./project";
|
|
8
|
+
import { Department } from "./department";
|
|
7
9
|
export declare class PayrollJournalLine extends DomainObject {
|
|
8
10
|
JournalId?: string | undefined;
|
|
9
11
|
Journal?: PayrollJournal | undefined;
|
|
@@ -19,6 +21,10 @@ export declare class PayrollJournalLine extends DomainObject {
|
|
|
19
21
|
Employee?: Employee | undefined;
|
|
20
22
|
CategoryId?: string | undefined;
|
|
21
23
|
Category?: PayrollCategory | undefined;
|
|
24
|
+
ProjectId?: string | undefined;
|
|
25
|
+
Project?: Project | undefined;
|
|
26
|
+
DepartmentId?: string | undefined;
|
|
27
|
+
Department?: Department | undefined;
|
|
22
28
|
ApprovedDate?: Date | undefined;
|
|
23
29
|
ApprovedById?: string | undefined;
|
|
24
30
|
ApprovedBy?: Employee | undefined;
|
|
@@ -13,8 +13,6 @@ export declare class PlanableTaskPart extends DomainObject {
|
|
|
13
13
|
ResourceTasks?: ResourceTask[] | undefined;
|
|
14
14
|
AllDay?: boolean | undefined;
|
|
15
15
|
Followup?: boolean | undefined;
|
|
16
|
-
get DisplayName(): string | undefined;
|
|
17
|
-
set DisplayName(val: string | undefined);
|
|
18
16
|
ResourceIds?: string[] | undefined;
|
|
19
17
|
Status?: TaskPartStatus | undefined;
|
|
20
18
|
}
|
|
@@ -11,6 +11,7 @@ import { SchemaType } from "./schema-type";
|
|
|
11
11
|
import { SchemaInstance } from "./schema-instance";
|
|
12
12
|
import { ProductionTransaction } from "./production-transaction";
|
|
13
13
|
import { Barcode } from "./barcode";
|
|
14
|
+
import { Project } from "./project";
|
|
14
15
|
export declare class Production extends DomainObject {
|
|
15
16
|
ProductionId?: string | undefined;
|
|
16
17
|
DeliveryDate?: Date | undefined;
|
|
@@ -40,6 +41,8 @@ export declare class Production extends DomainObject {
|
|
|
40
41
|
ProductionBatches?: ProductionBatch[] | undefined;
|
|
41
42
|
SchemaTypeId?: string | undefined;
|
|
42
43
|
SchemaType?: SchemaType | undefined;
|
|
44
|
+
ProjectId?: string | undefined;
|
|
45
|
+
Project?: Project | undefined;
|
|
43
46
|
SchemaInstances?: SchemaInstance[] | undefined;
|
|
44
47
|
ProductionTransactions?: ProductionTransaction[] | undefined;
|
|
45
48
|
Barcodes?: Barcode[] | undefined;
|
|
@@ -32,6 +32,8 @@ export declare class TimeJournalLine extends DomainObject {
|
|
|
32
32
|
TemplateName?: string | undefined;
|
|
33
33
|
TemplateUserId?: string | undefined;
|
|
34
34
|
TemplateUserType?: UserType | undefined;
|
|
35
|
+
Breaks_Ticks?: number | undefined;
|
|
36
|
+
Breaks_TmpDate?: Date | undefined;
|
|
35
37
|
get StatusString(): string | undefined;
|
|
36
38
|
get TimeTypeString(): string | undefined;
|
|
37
39
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DomainObject } from "./domain-object";
|
|
2
|
+
export declare class WorkTimes extends DomainObject {
|
|
3
|
+
MondayStart?: number | undefined;
|
|
4
|
+
MondayEnd?: number | undefined;
|
|
5
|
+
TuesdayStart?: number | undefined;
|
|
6
|
+
TuesdayEnd?: number | undefined;
|
|
7
|
+
WednesdayStart?: number | undefined;
|
|
8
|
+
WednesdayEnd?: number | undefined;
|
|
9
|
+
ThursdayStart?: number | undefined;
|
|
10
|
+
ThursdayEnd?: number | undefined;
|
|
11
|
+
FridayStart?: number | undefined;
|
|
12
|
+
FridayEnd?: number | undefined;
|
|
13
|
+
SaturdayStart?: number | undefined;
|
|
14
|
+
SaturdayEnd?: number | undefined;
|
|
15
|
+
SundayStart?: number | undefined;
|
|
16
|
+
SundayEnd?: number | undefined;
|
|
17
|
+
DailyBreaks?: number | undefined;
|
|
18
|
+
}
|
|
@@ -2416,20 +2416,6 @@
|
|
|
2416
2416
|
function PlanableTaskPart() {
|
|
2417
2417
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2418
2418
|
}
|
|
2419
|
-
Object.defineProperty(PlanableTaskPart.prototype, "DisplayName", {
|
|
2420
|
-
get: function () {
|
|
2421
|
-
if (this.Name)
|
|
2422
|
-
return "" + this.Name;
|
|
2423
|
-
else if (this.TaskPartId)
|
|
2424
|
-
return this.TaskPartId;
|
|
2425
|
-
else
|
|
2426
|
-
return this.Id;
|
|
2427
|
-
},
|
|
2428
|
-
set: function (val) {
|
|
2429
|
-
},
|
|
2430
|
-
enumerable: false,
|
|
2431
|
-
configurable: true
|
|
2432
|
-
});
|
|
2433
2419
|
return PlanableTaskPart;
|
|
2434
2420
|
}(DomainObject));
|
|
2435
2421
|
|
|
@@ -3526,6 +3512,14 @@
|
|
|
3526
3512
|
return PackagingBox;
|
|
3527
3513
|
}(DomainObject));
|
|
3528
3514
|
|
|
3515
|
+
var WorkTimes = /** @class */ (function (_super) {
|
|
3516
|
+
__extends(WorkTimes, _super);
|
|
3517
|
+
function WorkTimes() {
|
|
3518
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3519
|
+
}
|
|
3520
|
+
return WorkTimes;
|
|
3521
|
+
}(DomainObject));
|
|
3522
|
+
|
|
3529
3523
|
var FilterChannel = /** @class */ (function (_super) {
|
|
3530
3524
|
__extends(FilterChannel, _super);
|
|
3531
3525
|
function FilterChannel() {
|
|
@@ -4065,6 +4059,7 @@
|
|
|
4065
4059
|
exports.WorkBreak = WorkBreak;
|
|
4066
4060
|
exports.WorkCenter = WorkCenter;
|
|
4067
4061
|
exports.WorkCenterSetting = WorkCenterSetting;
|
|
4062
|
+
exports.WorkTimes = WorkTimes;
|
|
4068
4063
|
exports.Workrule = Workrule;
|
|
4069
4064
|
exports.WorkruleDeviation = WorkruleDeviation;
|
|
4070
4065
|
exports.getBlobUrl = getBlobUrl;
|