@autologix-engineering/shared 1.0.478 → 1.0.479
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/package.json
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { GenericStatus, OwnershipType } from '../../enums/src/index';
|
|
2
2
|
import { GstField } from '../../models/src/index';
|
|
3
|
+
export declare class VendorBusinessTypeObj {
|
|
4
|
+
bizType: OwnershipType;
|
|
5
|
+
accCode: string;
|
|
6
|
+
clientShare?: number;
|
|
7
|
+
vendorShare?: number;
|
|
8
|
+
shareRental?: boolean;
|
|
9
|
+
shareExtraKms?: boolean;
|
|
10
|
+
shareAddons?: boolean;
|
|
11
|
+
rateCardId?: string;
|
|
12
|
+
validFrom?: Date;
|
|
13
|
+
validTill?: Date;
|
|
14
|
+
constructor(_obj?: Partial<VendorBusinessTypeObj>);
|
|
15
|
+
}
|
|
3
16
|
export declare class AddVendorOperationsDto {
|
|
4
17
|
cityId?: string;
|
|
5
18
|
[GstField.ValidFrom]?: Date;
|
|
@@ -21,16 +34,3 @@ export declare class UpdateVendorOperationsDto {
|
|
|
21
34
|
status?: GenericStatus;
|
|
22
35
|
[GstField.Remark]?: string;
|
|
23
36
|
}
|
|
24
|
-
export declare class VendorBusinessTypeObj {
|
|
25
|
-
bizType: OwnershipType;
|
|
26
|
-
accCode: string;
|
|
27
|
-
clientShare?: number;
|
|
28
|
-
vendorShare?: number;
|
|
29
|
-
shareRental?: boolean;
|
|
30
|
-
shareExtraKms?: boolean;
|
|
31
|
-
shareAddons?: boolean;
|
|
32
|
-
rateCardId?: string;
|
|
33
|
-
validFrom?: Date;
|
|
34
|
-
validTill?: Date;
|
|
35
|
-
constructor(_obj?: Partial<VendorBusinessTypeObj>);
|
|
36
|
-
}
|
|
@@ -4,6 +4,55 @@ import { ArrayMinSize, IsArray, IsBoolean, IsEnum, IsNumber, IsOptional, IsStrin
|
|
|
4
4
|
import { GenericStatus, OwnershipType } from '../../enums/src/index';
|
|
5
5
|
import { GstField } from '../../models/src/index';
|
|
6
6
|
import { Transform, Type } from 'class-transformer';
|
|
7
|
+
export class VendorBusinessTypeObj {
|
|
8
|
+
constructor(_obj) {
|
|
9
|
+
Object.assign(this, _obj);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
__decorate([
|
|
13
|
+
IsEnum(OwnershipType),
|
|
14
|
+
__metadata("design:type", String)
|
|
15
|
+
], VendorBusinessTypeObj.prototype, "bizType", void 0);
|
|
16
|
+
__decorate([
|
|
17
|
+
IsString(),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], VendorBusinessTypeObj.prototype, "accCode", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
IsOptional(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], VendorBusinessTypeObj.prototype, "clientShare", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
IsOptional(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], VendorBusinessTypeObj.prototype, "vendorShare", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
IsBoolean(),
|
|
30
|
+
IsOptional(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], VendorBusinessTypeObj.prototype, "shareRental", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
IsBoolean(),
|
|
35
|
+
IsOptional(),
|
|
36
|
+
__metadata("design:type", Boolean)
|
|
37
|
+
], VendorBusinessTypeObj.prototype, "shareExtraKms", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
IsBoolean(),
|
|
40
|
+
IsOptional(),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], VendorBusinessTypeObj.prototype, "shareAddons", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
IsUUID('4'),
|
|
45
|
+
IsOptional(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], VendorBusinessTypeObj.prototype, "rateCardId", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
IsOptional(),
|
|
50
|
+
__metadata("design:type", Date)
|
|
51
|
+
], VendorBusinessTypeObj.prototype, "validFrom", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
IsOptional(),
|
|
54
|
+
__metadata("design:type", Date)
|
|
55
|
+
], VendorBusinessTypeObj.prototype, "validTill", void 0);
|
|
7
56
|
export class AddVendorOperationsDto {
|
|
8
57
|
}
|
|
9
58
|
_a = GstField.ValidFrom, _b = GstField.ValidTill, _c = GstField.VendorPersonaId;
|
|
@@ -87,53 +136,4 @@ __decorate([
|
|
|
87
136
|
IsString(),
|
|
88
137
|
__metadata("design:type", String)
|
|
89
138
|
], UpdateVendorOperationsDto.prototype, _d, void 0);
|
|
90
|
-
export class VendorBusinessTypeObj {
|
|
91
|
-
constructor(_obj) {
|
|
92
|
-
Object.assign(this, _obj);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
__decorate([
|
|
96
|
-
IsEnum(OwnershipType),
|
|
97
|
-
__metadata("design:type", String)
|
|
98
|
-
], VendorBusinessTypeObj.prototype, "bizType", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
IsString(),
|
|
101
|
-
__metadata("design:type", String)
|
|
102
|
-
], VendorBusinessTypeObj.prototype, "accCode", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
IsOptional(),
|
|
105
|
-
__metadata("design:type", Number)
|
|
106
|
-
], VendorBusinessTypeObj.prototype, "clientShare", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
IsOptional(),
|
|
109
|
-
__metadata("design:type", Number)
|
|
110
|
-
], VendorBusinessTypeObj.prototype, "vendorShare", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
IsBoolean(),
|
|
113
|
-
IsOptional(),
|
|
114
|
-
__metadata("design:type", Boolean)
|
|
115
|
-
], VendorBusinessTypeObj.prototype, "shareRental", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
IsBoolean(),
|
|
118
|
-
IsOptional(),
|
|
119
|
-
__metadata("design:type", Boolean)
|
|
120
|
-
], VendorBusinessTypeObj.prototype, "shareExtraKms", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
IsBoolean(),
|
|
123
|
-
IsOptional(),
|
|
124
|
-
__metadata("design:type", Boolean)
|
|
125
|
-
], VendorBusinessTypeObj.prototype, "shareAddons", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
IsUUID('4'),
|
|
128
|
-
IsOptional(),
|
|
129
|
-
__metadata("design:type", String)
|
|
130
|
-
], VendorBusinessTypeObj.prototype, "rateCardId", void 0);
|
|
131
|
-
__decorate([
|
|
132
|
-
IsOptional(),
|
|
133
|
-
__metadata("design:type", Date)
|
|
134
|
-
], VendorBusinessTypeObj.prototype, "validFrom", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
IsOptional(),
|
|
137
|
-
__metadata("design:type", Date)
|
|
138
|
-
], VendorBusinessTypeObj.prototype, "validTill", void 0);
|
|
139
139
|
//# sourceMappingURL=vendor.operations.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendor.operations.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/vendor.operations.dto.ts"],"names":[],"mappings":";;AAAA,OAAO,EACN,YAAY,EACZ,OAAO,EACP,SAAS,EACT,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"vendor.operations.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/vendor.operations.dto.ts"],"names":[],"mappings":";;AAAA,OAAO,EACN,YA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