@automateinc/fleet-types 1.0.72-dev.a854db7 → 1.0.72-dev.a9f8c51
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/client-document-definition.d.ts +33 -0
- package/dist/types/client-quotation-line.d.ts +14 -0
- package/dist/types/client-quotation.d.ts +18 -0
- package/dist/types/client-request-action.d.ts +1 -1
- package/dist/types/client-status.d.ts +2 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/models.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IClientRequestCategory } from "./client-request-category";
|
|
2
|
+
import { IClientRequestCategoryField } from "./client-request-category-field";
|
|
3
|
+
import { IClientRequestType } from "./client-request-type";
|
|
4
|
+
import { IClientStatus } from "./client-status";
|
|
5
|
+
import { IMetadata } from "./metadata";
|
|
6
|
+
|
|
7
|
+
export type IClientDocumentDefinitionType = "VIEWING" | "MISSING" | "EXPIRING";
|
|
8
|
+
|
|
9
|
+
export type IClientDocumentDefinitionField = IClientRequestCategoryField & {
|
|
10
|
+
category: IClientRequestCategory & {
|
|
11
|
+
type: IClientRequestType;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export interface IClientDocumentDefinition {
|
|
16
|
+
id: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt?: string | null;
|
|
19
|
+
|
|
20
|
+
regionId: string;
|
|
21
|
+
|
|
22
|
+
name: string;
|
|
23
|
+
type: IClientDocumentDefinitionType;
|
|
24
|
+
|
|
25
|
+
documentFieldId: string;
|
|
26
|
+
documentField: IClientDocumentDefinitionField;
|
|
27
|
+
|
|
28
|
+
dateFieldId?: string | null;
|
|
29
|
+
dateField?: IClientDocumentDefinitionField | null;
|
|
30
|
+
|
|
31
|
+
statuses: IClientStatus[];
|
|
32
|
+
metadata?: IMetadata;
|
|
33
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface IClientQuotation {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
|
|
6
|
+
status: "DRAFT" | "PENDING_APPROVAL" | "APPROVED";
|
|
7
|
+
|
|
8
|
+
clientId: string;
|
|
9
|
+
createdById?: string;
|
|
10
|
+
approvedById?: string;
|
|
11
|
+
|
|
12
|
+
sentForApprovalAt?: string;
|
|
13
|
+
approvedAt?: string;
|
|
14
|
+
|
|
15
|
+
previousVersionId?: string;
|
|
16
|
+
|
|
17
|
+
metadata?: any;
|
|
18
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -60,8 +60,11 @@ export * from "./client-comment";
|
|
|
60
60
|
export * from "./client-comment-reaction";
|
|
61
61
|
export * from "./client-contact";
|
|
62
62
|
export * from "./client-contract";
|
|
63
|
+
export * from "./client-document-definition";
|
|
63
64
|
export * from "./client-field";
|
|
64
65
|
export * from "./client-field-value";
|
|
66
|
+
export * from "./client-quotation";
|
|
67
|
+
export * from "./client-quotation-line";
|
|
65
68
|
export * from "./client-request";
|
|
66
69
|
export * from "./client-request-action";
|
|
67
70
|
export * from "./client-request-action-execution";
|
package/dist/types/models.d.ts
CHANGED
package/package.json
CHANGED