@automateinc/fleet-types 1.0.77-dev.95e7e3f → 1.0.77-dev.b6c7def
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/types/call-log.d.ts +1 -1
- package/dist/types/client-quotation-line.d.ts +0 -3
- package/dist/types/client-quotation.d.ts +1 -4
- package/dist/types/config.d.ts +19 -7
- package/dist/types/contract.d.ts +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/position-version.d.ts +1 -3
- package/package.json +1 -1
- package/dist/types/client-quotation-position-version.d.ts +0 -33
- package/dist/types/client-quotation-site-draft.d.ts +0 -13
- package/dist/types/contract-cost.d.ts +0 -17
package/dist/types/call-log.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export interface IClientQuotation {
|
|
|
3
3
|
createdAt: string;
|
|
4
4
|
updatedAt: string;
|
|
5
5
|
|
|
6
|
-
status: "DRAFT" | "PENDING_APPROVAL" | "APPROVED"
|
|
6
|
+
status: "DRAFT" | "PENDING_APPROVAL" | "APPROVED";
|
|
7
7
|
|
|
8
8
|
clientId: string;
|
|
9
9
|
createdById?: string;
|
|
@@ -13,9 +13,6 @@ export interface IClientQuotation {
|
|
|
13
13
|
approvedAt?: string;
|
|
14
14
|
|
|
15
15
|
previousVersionId?: string;
|
|
16
|
-
taxRate: number;
|
|
17
|
-
|
|
18
|
-
reason?: string;
|
|
19
16
|
|
|
20
17
|
metadata?: any;
|
|
21
18
|
}
|
package/dist/types/config.d.ts
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
|
+
export type ConfigScope = "DEFAULT" | "TEAM" | "REGION";
|
|
2
|
+
|
|
3
|
+
export type ConfigValueType = "STRING" | "NUMBER" | "BOOLEAN" | "DATE" | "DATETIME" | "TIME" | "RELATION" | "JSON";
|
|
4
|
+
|
|
5
|
+
export type ConfigScalar = string | number | boolean | null;
|
|
6
|
+
|
|
7
|
+
export type ConfigDocumentValue = ConfigScalar | ConfigDocumentValue[] | ConfigDocument;
|
|
8
|
+
|
|
9
|
+
export interface ConfigDocument {
|
|
10
|
+
[key: string]: ConfigDocumentValue;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
export interface IConfig {
|
|
2
14
|
id: string;
|
|
3
15
|
createdAt: string;
|
|
4
16
|
updatedAt?: string;
|
|
5
17
|
name: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
teamId?: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
metadata?: unknown;
|
|
19
|
+
regionId?: string | null;
|
|
20
|
+
scope: ConfigScope;
|
|
21
|
+
teamId?: string | null;
|
|
22
|
+
type: ConfigScope;
|
|
23
|
+
value: ConfigDocument;
|
|
24
|
+
valueType: "JSON";
|
|
13
25
|
}
|
package/dist/types/contract.d.ts
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -66,8 +66,6 @@ export * from "./client-field-category";
|
|
|
66
66
|
export * from "./client-field-value";
|
|
67
67
|
export * from "./client-quotation";
|
|
68
68
|
export * from "./client-quotation-line";
|
|
69
|
-
export * from "./client-quotation-position-version";
|
|
70
|
-
export * from "./client-quotation-site-draft";
|
|
71
69
|
export * from "./client-request";
|
|
72
70
|
export * from "./client-request-action";
|
|
73
71
|
export * from "./client-request-action-execution";
|
|
@@ -90,7 +88,6 @@ export * from "./contract";
|
|
|
90
88
|
export * from "./contract-allowance";
|
|
91
89
|
export * from "./contract-benefit";
|
|
92
90
|
export * from "./contract-deduction";
|
|
93
|
-
export * from "./contract-cost";
|
|
94
91
|
export * from "./coords";
|
|
95
92
|
export * from "./day-of-week";
|
|
96
93
|
export * from "./dispatch";
|
|
@@ -3,7 +3,7 @@ export interface IPositionVersion {
|
|
|
3
3
|
updatedAt: Date;
|
|
4
4
|
createdAt: Date;
|
|
5
5
|
|
|
6
|
-
status: "UNVERIFIED" | "PENDING_VERIFICATION" | "VERIFIED" | "REJECTED"
|
|
6
|
+
status: "UNVERIFIED" | "PENDING_VERIFICATION" | "VERIFIED" | "REJECTED";
|
|
7
7
|
version: number;
|
|
8
8
|
coversSaturday: boolean;
|
|
9
9
|
coversSunday: boolean;
|
|
@@ -16,8 +16,6 @@ export interface IPositionVersion {
|
|
|
16
16
|
dailyCoverage: string;
|
|
17
17
|
weeklyCoverage: string;
|
|
18
18
|
|
|
19
|
-
reason?: string;
|
|
20
|
-
|
|
21
19
|
positionId: string;
|
|
22
20
|
activePositionId: string;
|
|
23
21
|
metadata?: any;
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { IGender } from "./gender";
|
|
2
|
-
|
|
3
|
-
export interface IClientQuotationPositionVersion {
|
|
4
|
-
id: string;
|
|
5
|
-
createdAt: string;
|
|
6
|
-
updatedAt: string;
|
|
7
|
-
|
|
8
|
-
siteDraftId: string;
|
|
9
|
-
positionId?: string | null;
|
|
10
|
-
positionVersionId?: string | null;
|
|
11
|
-
|
|
12
|
-
name: string;
|
|
13
|
-
status:
|
|
14
|
-
| "UNVERIFIED"
|
|
15
|
-
| "PENDING_VERIFICATION"
|
|
16
|
-
| "VERIFIED"
|
|
17
|
-
| "REJECTED"
|
|
18
|
-
| "CHANGES_NEEDED";
|
|
19
|
-
reason?: string | null;
|
|
20
|
-
|
|
21
|
-
coversSaturday: boolean;
|
|
22
|
-
coversSunday: boolean;
|
|
23
|
-
coversMonday: boolean;
|
|
24
|
-
coversTuesday: boolean;
|
|
25
|
-
coversWednesday: boolean;
|
|
26
|
-
coversThursday: boolean;
|
|
27
|
-
coversFriday: boolean;
|
|
28
|
-
|
|
29
|
-
dailyHours: number;
|
|
30
|
-
gender?: IGender | null;
|
|
31
|
-
|
|
32
|
-
metadata?: any;
|
|
33
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface IContractCost {
|
|
2
|
-
id: string;
|
|
3
|
-
createdAt: string;
|
|
4
|
-
updatedAt: string;
|
|
5
|
-
|
|
6
|
-
name: string;
|
|
7
|
-
value: number;
|
|
8
|
-
|
|
9
|
-
recurrence: "ONE_TIME" | "RECURRING";
|
|
10
|
-
|
|
11
|
-
duration?: number;
|
|
12
|
-
durationType?: "DAY" | "WEEK" | "MONTH" | "YEAR";
|
|
13
|
-
|
|
14
|
-
contractId: string;
|
|
15
|
-
|
|
16
|
-
metadata?: any;
|
|
17
|
-
}
|