@automateinc/fleet-types 1.0.117 → 1.0.119-dev.fe6307d
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/bin/fleet-types.mjs +53 -148
- package/dist/types/client-field.d.ts +1 -4
- package/dist/types/client-quotation-position-version.d.ts +1 -6
- package/dist/types/client-quotation-site-draft.d.ts +1 -2
- package/dist/types/client-quotation.d.ts +2 -6
- package/dist/types/client-request-action-execution.d.ts +1 -7
- package/dist/types/client-request-field-visibility-rule.d.ts +1 -7
- package/dist/types/client-request.d.ts +2 -13
- package/dist/types/config.d.ts +1 -8
- package/dist/types/day-of-week.d.ts +1 -8
- package/dist/types/dispatch.d.ts +1 -8
- package/dist/types/employee-field.d.ts +4 -12
- package/dist/types/employee-group.d.ts +0 -1
- package/dist/types/index.d.ts +6 -34
- package/dist/types/metadata.d.ts +1 -6
- package/dist/types/models.d.ts +1 -5
- package/dist/types/one-time-password.d.ts +1 -5
- package/dist/types/patrol-point.d.ts +1 -6
- package/dist/types/recruitment.d.ts +1 -7
- package/dist/types/request-action-execution.d.ts +1 -7
- package/dist/types/request.d.ts +2 -14
- package/dist/types/restriction.d.ts +1 -7
- package/dist/types/schedule.d.ts +1 -8
- package/dist/types/scheduling-requirement.d.ts +1 -5
- package/dist/types/{client-site.d.ts → site.d.ts} +4 -1
- package/dist/types/structured-content-collapse-node.d.ts +1 -2
- package/dist/types/structured-content-default-avatar-node.d.ts +1 -2
- package/dist/types/structured-content-node-base.d.ts +1 -10
- package/dist/types/structured-content-root.d.ts +1 -4
- package/dist/types/structured-content-space-node.d.ts +1 -2
- package/dist/types/structured-content-statistic-node.d.ts +1 -2
- package/dist/types/structured-content-table-boolean-column.d.ts +1 -2
- package/dist/types/structured-content-table-column-sort-config.d.ts +1 -4
- package/dist/types/structured-content-table-date-column.d.ts +1 -2
- package/dist/types/structured-content-table-date-range-filter.d.ts +1 -2
- package/dist/types/structured-content-table-date-time-column.d.ts +1 -2
- package/dist/types/structured-content-table-default-avatar-column.d.ts +1 -2
- package/dist/types/structured-content-table-link-column.d.ts +1 -2
- package/dist/types/structured-content-table-named-column-base.d.ts +1 -2
- package/dist/types/structured-content-table-node.d.ts +1 -2
- package/dist/types/structured-content-table-number-column.d.ts +1 -2
- package/dist/types/structured-content-table-select-filter.d.ts +1 -2
- package/dist/types/structured-content-table-tag-column.d.ts +1 -2
- package/dist/types/structured-content-table-text-column.d.ts +1 -2
- package/dist/types/structured-content-table-time-column.d.ts +1 -2
- package/dist/types/structured-content.d.ts +3 -15
- package/dist/types/todo-dependency-type.d.ts +1 -5
- package/dist/types/todo-json-value.d.ts +1 -4
- package/dist/types/todo-status.d.ts +1 -6
- package/dist/types/todo-view-type.d.ts +1 -7
- package/dist/types/zone.d.ts +1 -9
- package/package.json +1 -1
- package/dist/types/employee-monthly-pay-review-event.d.ts +0 -21
- package/dist/types/employee-monthly-pay-review-field.d.ts +0 -13
- package/dist/types/employee-monthly-pay-review.d.ts +0 -15
- package/dist/types/schedule-site.d.ts +0 -11
- package/dist/types/user-attendance-check-in-location.d.ts +0 -11
- package/dist/types/user-attendance.d.ts +0 -20
package/dist/types/models.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export type IModel =
|
|
|
65
65
|
| "clientDocumentDefinition"
|
|
66
66
|
| "zone"
|
|
67
67
|
| "siteClass"
|
|
68
|
-
| "
|
|
68
|
+
| "site"
|
|
69
69
|
| "positionTemplate"
|
|
70
70
|
| "positionTemplateItem"
|
|
71
71
|
| "position"
|
|
@@ -76,7 +76,6 @@ export type IModel =
|
|
|
76
76
|
| "schedule"
|
|
77
77
|
| "scheduleDraft"
|
|
78
78
|
| "attendanceDraft"
|
|
79
|
-
| "scheduleSite"
|
|
80
79
|
| "standardOperatingProcedure"
|
|
81
80
|
| "nFCTag"
|
|
82
81
|
| "dispatch"
|
|
@@ -106,9 +105,6 @@ export type IModel =
|
|
|
106
105
|
| "paymentCycleDocument"
|
|
107
106
|
| "paymentCycle"
|
|
108
107
|
| "employeeMonthlyPay"
|
|
109
|
-
| "employeeMonthlyPayReview"
|
|
110
|
-
| "employeeMonthlyPayReviewEvent"
|
|
111
|
-
| "employeeMonthlyPayReviewField"
|
|
112
108
|
| "payrollConfig"
|
|
113
109
|
| "vendor"
|
|
114
110
|
| "vendorContact"
|
|
@@ -7,11 +7,7 @@ export interface IOneTimePassword {
|
|
|
7
7
|
timeSent: string;
|
|
8
8
|
requesterIp?: string;
|
|
9
9
|
maxAttempts: number;
|
|
10
|
-
type:
|
|
11
|
-
| "DOCUMENT_SIGNING"
|
|
12
|
-
| "EMAIL_VERIFICATION"
|
|
13
|
-
| "PHONE_VERIFICATION"
|
|
14
|
-
| "PASSWORD_RESET";
|
|
10
|
+
type: "DOCUMENT_SIGNING" | "EMAIL_VERIFICATION" | "PHONE_VERIFICATION" | "PASSWORD_RESET";
|
|
15
11
|
status: "PENDING" | "VERIFIED" | "REJECTED";
|
|
16
12
|
method: "WHATSAPP" | "SMS" | "EMAIL";
|
|
17
13
|
|
|
@@ -6,12 +6,7 @@ export interface IPatrolPoint {
|
|
|
6
6
|
name: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
order: number;
|
|
9
|
-
type:
|
|
10
|
-
| "CLOSE_ENDED_QUESTION"
|
|
11
|
-
| "OPEN_ENDED_QUESTION"
|
|
12
|
-
| "NO_ACTION"
|
|
13
|
-
| "PHOTO"
|
|
14
|
-
| "VIDEO";
|
|
9
|
+
type: "CLOSE_ENDED_QUESTION" | "OPEN_ENDED_QUESTION" | "NO_ACTION" | "PHOTO" | "VIDEO";
|
|
15
10
|
reportNotesTrigger?: string;
|
|
16
11
|
|
|
17
12
|
patrolId: string;
|
|
@@ -3,13 +3,7 @@ export interface IRecruitment {
|
|
|
3
3
|
createdAt: string;
|
|
4
4
|
updatedAt: string;
|
|
5
5
|
|
|
6
|
-
status:
|
|
7
|
-
| "DRAFT"
|
|
8
|
-
| "VERIFIED"
|
|
9
|
-
| "PENDING"
|
|
10
|
-
| "CHANGES_NEEDED"
|
|
11
|
-
| "RECRUITED"
|
|
12
|
-
| "REJECTED";
|
|
6
|
+
status: "DRAFT" | "VERIFIED" | "PENDING" | "CHANGES_NEEDED" | "RECRUITED" | "REJECTED";
|
|
13
7
|
regionId: string;
|
|
14
8
|
createdById: string;
|
|
15
9
|
folderKey: string;
|
|
@@ -4,13 +4,7 @@ export interface IRequestActionExecution {
|
|
|
4
4
|
updatedAt: string;
|
|
5
5
|
|
|
6
6
|
actionId: string;
|
|
7
|
-
status:
|
|
8
|
-
| "PENDING"
|
|
9
|
-
| "COMPLETED"
|
|
10
|
-
| "PROCESSING"
|
|
11
|
-
| "FAILED"
|
|
12
|
-
| "SKIPPED"
|
|
13
|
-
| "ON_HOLD";
|
|
7
|
+
status: "PENDING" | "COMPLETED" | "PROCESSING" | "FAILED" | "SKIPPED" | "ON_HOLD";
|
|
14
8
|
startedAt: string | null;
|
|
15
9
|
endedAt: string | null;
|
|
16
10
|
failureReason?: string;
|
package/dist/types/request.d.ts
CHANGED
|
@@ -18,20 +18,8 @@ export interface IRequest {
|
|
|
18
18
|
withdrawnAt?: string;
|
|
19
19
|
folderKey?: string | null;
|
|
20
20
|
archivedAt?: string | null;
|
|
21
|
-
allowSigning?: string | null;
|
|
22
21
|
employeeId: string;
|
|
23
|
-
status:
|
|
24
|
-
|
|
25
|
-
| "APPROVED"
|
|
26
|
-
| "REJECTED"
|
|
27
|
-
| "WITHDRAWN"
|
|
28
|
-
| "PENDING_VERIFICATION"
|
|
29
|
-
| "ARCHIVED";
|
|
30
|
-
actionsExecutionStatus:
|
|
31
|
-
| "PENDING"
|
|
32
|
-
| "COMPLETED"
|
|
33
|
-
| "PROCESSING"
|
|
34
|
-
| "FAILED"
|
|
35
|
-
| "SKIPPED";
|
|
22
|
+
status: "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "WITHDRAWN" | "PENDING_VERIFICATION" | "ARCHIVED";
|
|
23
|
+
actionsExecutionStatus: "PENDING" | "COMPLETED" | "PROCESSING" | "FAILED" | "SKIPPED";
|
|
36
24
|
metadata?: any;
|
|
37
25
|
}
|
|
@@ -5,13 +5,7 @@ export interface IRestriction {
|
|
|
5
5
|
|
|
6
6
|
label: string;
|
|
7
7
|
type: "EMPLOYEE" | "CONTRACT" | "ROLE" | "COMPANY";
|
|
8
|
-
operation:
|
|
9
|
-
| "EQUALS"
|
|
10
|
-
| "NOT_EQUALS"
|
|
11
|
-
| "CONTAINS"
|
|
12
|
-
| "NOT_CONTAINS"
|
|
13
|
-
| "EXISTS"
|
|
14
|
-
| "NOT_EXISTS";
|
|
8
|
+
operation: "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS";
|
|
15
9
|
category?: string;
|
|
16
10
|
valueA: string;
|
|
17
11
|
valueB?: string;
|
package/dist/types/schedule.d.ts
CHANGED
|
@@ -3,14 +3,7 @@ export interface ISchedule {
|
|
|
3
3
|
createdAt: string;
|
|
4
4
|
updatedAt: string;
|
|
5
5
|
|
|
6
|
-
dayOfWeek:
|
|
7
|
-
| "SATURDAY"
|
|
8
|
-
| "SUNDAY"
|
|
9
|
-
| "MONDAY"
|
|
10
|
-
| "TUESDAY"
|
|
11
|
-
| "WEDNESDAY"
|
|
12
|
-
| "THURSDAY"
|
|
13
|
-
| "FRIDAY";
|
|
6
|
+
dayOfWeek: "SATURDAY" | "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY";
|
|
14
7
|
shiftId?: string;
|
|
15
8
|
|
|
16
9
|
employeeId?: string;
|
|
@@ -34,11 +34,7 @@ export interface ISchedulingRequirementsInput {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export type SchedulingRequirementScope = "CLIENT" | "POSITION" | "SHIFT";
|
|
37
|
-
export type SchedulingRequirementKind =
|
|
38
|
-
| "ROLE"
|
|
39
|
-
| "EMPLOYEE_GROUP"
|
|
40
|
-
| "GENDER"
|
|
41
|
-
| "LABEL";
|
|
37
|
+
export type SchedulingRequirementKind = "ROLE" | "EMPLOYEE_GROUP" | "GENDER" | "LABEL";
|
|
42
38
|
|
|
43
39
|
export interface ISchedulingRequirementFailure {
|
|
44
40
|
scope: SchedulingRequirementScope;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface ISite {
|
|
2
2
|
id: string;
|
|
3
3
|
createdAt: string;
|
|
4
4
|
updatedAt: string;
|
|
5
|
+
deletedAt?: string | null;
|
|
5
6
|
name: string;
|
|
6
7
|
address?: any;
|
|
7
8
|
geolocation?: { lat: number; lng: number };
|
|
8
9
|
classId?: string;
|
|
9
10
|
clientId: string;
|
|
11
|
+
zoneId?: string | null;
|
|
12
|
+
contractId?: string | null;
|
|
10
13
|
contactId?: string;
|
|
11
14
|
metadata?: any;
|
|
12
15
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentNode } from "./structured-content";
|
|
2
2
|
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentCollapseNode
|
|
5
|
-
extends IStructuredContentNodeBase {
|
|
4
|
+
export interface IStructuredContentCollapseNode extends IStructuredContentNodeBase {
|
|
6
5
|
children?: IStructuredContentNode[];
|
|
7
6
|
config?: {
|
|
8
7
|
title?: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
2
2
|
|
|
3
|
-
export interface IStructuredContentDefaultAvatarNode
|
|
4
|
-
extends IStructuredContentNodeBase {
|
|
3
|
+
export interface IStructuredContentDefaultAvatarNode extends IStructuredContentNodeBase {
|
|
5
4
|
config?: {
|
|
6
5
|
size?: number;
|
|
7
6
|
};
|
|
@@ -3,14 +3,5 @@ import type { IStructuredContentNodeLayout } from "./structured-content-node-lay
|
|
|
3
3
|
export interface IStructuredContentNodeBase {
|
|
4
4
|
id: string;
|
|
5
5
|
layout?: IStructuredContentNodeLayout;
|
|
6
|
-
type:
|
|
7
|
-
| "COLLAPSE"
|
|
8
|
-
| "DEFAULT_AVATAR"
|
|
9
|
-
| "GRID"
|
|
10
|
-
| "LINK"
|
|
11
|
-
| "SPACE"
|
|
12
|
-
| "STATISTIC"
|
|
13
|
-
| "TABLE"
|
|
14
|
-
| "TAG"
|
|
15
|
-
| "TEXT";
|
|
6
|
+
type: "COLLAPSE" | "DEFAULT_AVATAR" | "GRID" | "LINK" | "SPACE" | "STATISTIC" | "TABLE" | "TAG" | "TEXT";
|
|
16
7
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type { IModel } from "./models";
|
|
2
|
-
import type {
|
|
3
|
-
IStructuredContentData,
|
|
4
|
-
IStructuredContentNode,
|
|
5
|
-
} from "./structured-content";
|
|
2
|
+
import type { IStructuredContentData, IStructuredContentNode } from "./structured-content";
|
|
6
3
|
|
|
7
4
|
export interface IStructuredContent {
|
|
8
5
|
createdAt: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentNode } from "./structured-content";
|
|
2
2
|
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentSpaceNode
|
|
5
|
-
extends IStructuredContentNodeBase {
|
|
4
|
+
export interface IStructuredContentSpaceNode extends IStructuredContentNodeBase {
|
|
6
5
|
children?: IStructuredContentNode[];
|
|
7
6
|
type: "SPACE";
|
|
8
7
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { StructuredContentStatisticFormat } from "./structured-content";
|
|
2
2
|
import type { IStructuredContentNodeBase } from "./structured-content-node-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentStatisticNode
|
|
5
|
-
extends IStructuredContentNodeBase {
|
|
4
|
+
export interface IStructuredContentStatisticNode extends IStructuredContentNodeBase {
|
|
6
5
|
config: {
|
|
7
6
|
format?: StructuredContentStatisticFormat;
|
|
8
7
|
label: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnSortConfig } from "./structured-content-table-column-sort-config";
|
|
2
2
|
import type { IStructuredContentTableNamedColumnBase } from "./structured-content-table-named-column-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentTableBooleanColumn
|
|
5
|
-
extends IStructuredContentTableNamedColumnBase {
|
|
4
|
+
export interface IStructuredContentTableBooleanColumn extends IStructuredContentTableNamedColumnBase {
|
|
6
5
|
config?: IStructuredContentTableColumnSortConfig;
|
|
7
6
|
type: "BOOLEAN";
|
|
8
7
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
StructuredContentTableSortOrder,
|
|
3
|
-
StructuredContentTableSortType,
|
|
4
|
-
} from "./structured-content";
|
|
1
|
+
import type { StructuredContentTableSortOrder, StructuredContentTableSortType } from "./structured-content";
|
|
5
2
|
|
|
6
3
|
export interface IStructuredContentTableColumnSortConfig {
|
|
7
4
|
sortOrder?: StructuredContentTableSortOrder;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnSortConfig } from "./structured-content-table-column-sort-config";
|
|
2
2
|
import type { IStructuredContentTableNamedColumnBase } from "./structured-content-table-named-column-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentTableDateColumn
|
|
5
|
-
extends IStructuredContentTableNamedColumnBase {
|
|
4
|
+
export interface IStructuredContentTableDateColumn extends IStructuredContentTableNamedColumnBase {
|
|
6
5
|
config?: IStructuredContentTableColumnSortConfig;
|
|
7
6
|
type: "DATE";
|
|
8
7
|
}
|
|
@@ -2,8 +2,7 @@ import type { IStructuredContentDateRangeFilterConstraints } from "./structured-
|
|
|
2
2
|
import type { IStructuredContentDateRangeFilterInitialValue } from "./structured-content-date-range-filter-initial-value";
|
|
3
3
|
import type { IStructuredContentTableToolbarFilterBase } from "./structured-content-table-toolbar-filter-base";
|
|
4
4
|
|
|
5
|
-
export interface IStructuredContentTableDateRangeFilter
|
|
6
|
-
extends IStructuredContentTableToolbarFilterBase {
|
|
5
|
+
export interface IStructuredContentTableDateRangeFilter extends IStructuredContentTableToolbarFilterBase {
|
|
7
6
|
config?: {
|
|
8
7
|
constraints?: IStructuredContentDateRangeFilterConstraints;
|
|
9
8
|
initialValue?: IStructuredContentDateRangeFilterInitialValue;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnSortConfig } from "./structured-content-table-column-sort-config";
|
|
2
2
|
import type { IStructuredContentTableNamedColumnBase } from "./structured-content-table-named-column-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentTableDateTimeColumn
|
|
5
|
-
extends IStructuredContentTableNamedColumnBase {
|
|
4
|
+
export interface IStructuredContentTableDateTimeColumn extends IStructuredContentTableNamedColumnBase {
|
|
6
5
|
config?: IStructuredContentTableColumnSortConfig;
|
|
7
6
|
type: "DATETIME";
|
|
8
7
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnBase } from "./structured-content-table-column-base";
|
|
2
2
|
|
|
3
|
-
export interface IStructuredContentTableDefaultAvatarColumn
|
|
4
|
-
extends IStructuredContentTableColumnBase {
|
|
3
|
+
export interface IStructuredContentTableDefaultAvatarColumn extends IStructuredContentTableColumnBase {
|
|
5
4
|
config?: {
|
|
6
5
|
size?: number;
|
|
7
6
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnSortConfig } from "./structured-content-table-column-sort-config";
|
|
2
2
|
import type { IStructuredContentTableNamedColumnBase } from "./structured-content-table-named-column-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentTableLinkColumn
|
|
5
|
-
extends IStructuredContentTableNamedColumnBase {
|
|
4
|
+
export interface IStructuredContentTableLinkColumn extends IStructuredContentTableNamedColumnBase {
|
|
6
5
|
config?: IStructuredContentTableColumnSortConfig;
|
|
7
6
|
type: "LINK";
|
|
8
7
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnBase } from "./structured-content-table-column-base";
|
|
2
2
|
|
|
3
|
-
export interface IStructuredContentTableNamedColumnBase
|
|
4
|
-
extends IStructuredContentTableColumnBase {
|
|
3
|
+
export interface IStructuredContentTableNamedColumnBase extends IStructuredContentTableColumnBase {
|
|
5
4
|
name: string;
|
|
6
5
|
}
|
|
@@ -3,8 +3,7 @@ import type { IStructuredContentNodeBase } from "./structured-content-node-base"
|
|
|
3
3
|
import type { IStructuredContentTablePagination } from "./structured-content-table-pagination";
|
|
4
4
|
import type { IStructuredContentTableToolbar } from "./structured-content-table-toolbar";
|
|
5
5
|
|
|
6
|
-
export interface IStructuredContentTableNode
|
|
7
|
-
extends IStructuredContentNodeBase {
|
|
6
|
+
export interface IStructuredContentTableNode extends IStructuredContentNodeBase {
|
|
8
7
|
config?: {
|
|
9
8
|
columns?: IStructuredContentTableColumn[];
|
|
10
9
|
pagination?: IStructuredContentTablePagination;
|
|
@@ -3,8 +3,7 @@ import type { IStructuredContentTableNamedColumnBase } from "./structured-conten
|
|
|
3
3
|
|
|
4
4
|
export type StructuredContentTableNumberFormat = "PERCENTAGE";
|
|
5
5
|
|
|
6
|
-
export interface IStructuredContentTableNumberColumn
|
|
7
|
-
extends IStructuredContentTableNamedColumnBase {
|
|
6
|
+
export interface IStructuredContentTableNumberColumn extends IStructuredContentTableNamedColumnBase {
|
|
8
7
|
config?: IStructuredContentTableColumnSortConfig & {
|
|
9
8
|
format?: StructuredContentTableNumberFormat;
|
|
10
9
|
maximumFractionDigits?: number;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { IStructuredContentTableToolbarFilterBase } from "./structured-content-table-toolbar-filter-base";
|
|
2
2
|
|
|
3
|
-
export interface IStructuredContentTableSelectFilter
|
|
4
|
-
extends IStructuredContentTableToolbarFilterBase {
|
|
3
|
+
export interface IStructuredContentTableSelectFilter extends IStructuredContentTableToolbarFilterBase {
|
|
5
4
|
config?: {
|
|
6
5
|
initialValue?: string;
|
|
7
6
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnSortConfig } from "./structured-content-table-column-sort-config";
|
|
2
2
|
import type { IStructuredContentTableNamedColumnBase } from "./structured-content-table-named-column-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentTableTagColumn
|
|
5
|
-
extends IStructuredContentTableNamedColumnBase {
|
|
4
|
+
export interface IStructuredContentTableTagColumn extends IStructuredContentTableNamedColumnBase {
|
|
6
5
|
config?: IStructuredContentTableColumnSortConfig;
|
|
7
6
|
type: "TAG";
|
|
8
7
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnSortConfig } from "./structured-content-table-column-sort-config";
|
|
2
2
|
import type { IStructuredContentTableNamedColumnBase } from "./structured-content-table-named-column-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentTableTextColumn
|
|
5
|
-
extends IStructuredContentTableNamedColumnBase {
|
|
4
|
+
export interface IStructuredContentTableTextColumn extends IStructuredContentTableNamedColumnBase {
|
|
6
5
|
config?: IStructuredContentTableColumnSortConfig;
|
|
7
6
|
type: "TEXT";
|
|
8
7
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { IStructuredContentTableColumnSortConfig } from "./structured-content-table-column-sort-config";
|
|
2
2
|
import type { IStructuredContentTableNamedColumnBase } from "./structured-content-table-named-column-base";
|
|
3
3
|
|
|
4
|
-
export interface IStructuredContentTableTimeColumn
|
|
5
|
-
extends IStructuredContentTableNamedColumnBase {
|
|
4
|
+
export interface IStructuredContentTableTimeColumn extends IStructuredContentTableNamedColumnBase {
|
|
6
5
|
config?: IStructuredContentTableColumnSortConfig;
|
|
7
6
|
type: "TIME";
|
|
8
7
|
}
|
|
@@ -22,15 +22,7 @@ import type { IStructuredContentTagNode } from "./structured-content-tag-node";
|
|
|
22
22
|
import type { IStructuredContentTagValue } from "./structured-content-tag-value";
|
|
23
23
|
import type { IStructuredContentTextNode } from "./structured-content-text-node";
|
|
24
24
|
|
|
25
|
-
export type StructuredContentTextVariant =
|
|
26
|
-
| "H1"
|
|
27
|
-
| "H2"
|
|
28
|
-
| "H3"
|
|
29
|
-
| "H4"
|
|
30
|
-
| "H5"
|
|
31
|
-
| "H6"
|
|
32
|
-
| "PARAGRAPH"
|
|
33
|
-
| "TEXT";
|
|
25
|
+
export type StructuredContentTextVariant = "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | "PARAGRAPH" | "TEXT";
|
|
34
26
|
export type StructuredContentLinkVariant = "BUTTON" | "LINK";
|
|
35
27
|
export type StructuredContentStatisticFormat = "PERCENTAGE";
|
|
36
28
|
export type StructuredContentTableColumnType =
|
|
@@ -98,14 +90,10 @@ export type IStructuredContentNode =
|
|
|
98
90
|
|
|
99
91
|
export type StructuredContentPrimitiveValue = boolean | number | string | null;
|
|
100
92
|
export type StructuredContentAvatarValue = IStructuredContentDefaultAvatarValue;
|
|
101
|
-
export type StructuredContentTaggableValue =
|
|
102
|
-
| IStructuredContentTagValue
|
|
103
|
-
| StructuredContentPrimitiveValue;
|
|
93
|
+
export type StructuredContentTaggableValue = IStructuredContentTagValue | StructuredContentPrimitiveValue;
|
|
104
94
|
export type IStructuredContentTableRow = Record<
|
|
105
95
|
string,
|
|
106
|
-
|
|
|
107
|
-
| StructuredContentAvatarValue
|
|
108
|
-
| StructuredContentTaggableValue
|
|
96
|
+
IStructuredContentLinkValue | StructuredContentAvatarValue | StructuredContentTaggableValue
|
|
109
97
|
>;
|
|
110
98
|
export type StructuredContentDataValue =
|
|
111
99
|
| IStructuredContentDefaultAvatarValue
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { TodoJsonObject } from "./todo-json-object";
|
|
2
2
|
|
|
3
3
|
export type TodoJsonPrimitive = boolean | number | string | null;
|
|
4
|
-
export type TodoJsonValue =
|
|
5
|
-
| TodoJsonPrimitive
|
|
6
|
-
| TodoJsonObject
|
|
7
|
-
| TodoJsonValue[];
|
|
4
|
+
export type TodoJsonValue = TodoJsonPrimitive | TodoJsonObject | TodoJsonValue[];
|
|
@@ -18,9 +18,4 @@ export interface ITodoStatus {
|
|
|
18
18
|
metadata?: Record<string, unknown>;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export type TodoStatusType =
|
|
22
|
-
| "OPEN"
|
|
23
|
-
| "IN_PROGRESS"
|
|
24
|
-
| "DONE"
|
|
25
|
-
| "CLOSED"
|
|
26
|
-
| "CUSTOM";
|
|
21
|
+
export type TodoStatusType = "OPEN" | "IN_PROGRESS" | "DONE" | "CLOSED" | "CUSTOM";
|
package/dist/types/zone.d.ts
CHANGED
|
@@ -7,15 +7,7 @@ export interface IZone {
|
|
|
7
7
|
name: string;
|
|
8
8
|
area: string;
|
|
9
9
|
|
|
10
|
-
schedulesResetOn:
|
|
11
|
-
| "SUNDAY"
|
|
12
|
-
| "MONDAY"
|
|
13
|
-
| "TUESDAY"
|
|
14
|
-
| "WEDNESDAY"
|
|
15
|
-
| "THURSDAY"
|
|
16
|
-
| "FRIDAY"
|
|
17
|
-
| "SATURDAY"
|
|
18
|
-
| null;
|
|
10
|
+
schedulesResetOn: "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | null;
|
|
19
11
|
|
|
20
12
|
regionId: string;
|
|
21
13
|
metadata?: any;
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type EmployeeMonthlyPayReviewEventType =
|
|
2
|
-
| "VERIFIED"
|
|
3
|
-
| "DISPUTED"
|
|
4
|
-
| "ADDITIONAL_INFO_REQUESTED"
|
|
5
|
-
| "ADDITIONAL_INFO_PROVIDED"
|
|
6
|
-
| "RESOLVED";
|
|
7
|
-
|
|
8
|
-
export interface IEmployeeMonthlyPayReviewEvent {
|
|
9
|
-
id: string;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
updatedAt?: string;
|
|
12
|
-
|
|
13
|
-
type: EmployeeMonthlyPayReviewEventType;
|
|
14
|
-
|
|
15
|
-
reviewId: string;
|
|
16
|
-
reason?: string;
|
|
17
|
-
supportingDocumentsRequired?: boolean;
|
|
18
|
-
|
|
19
|
-
userId?: string;
|
|
20
|
-
employeeId?: string;
|
|
21
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface IEmployeeMonthlyPayReviewField {
|
|
2
|
-
id: string;
|
|
3
|
-
createdAt: string;
|
|
4
|
-
updatedAt?: string;
|
|
5
|
-
|
|
6
|
-
reviewId: string;
|
|
7
|
-
mobileFieldId: string;
|
|
8
|
-
payrollFieldId: string;
|
|
9
|
-
title: string;
|
|
10
|
-
format?: string;
|
|
11
|
-
postfix?: string;
|
|
12
|
-
value?: unknown;
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type EmployeeMonthlyPayReviewStatus = "VERIFIED" | "DISPUTE_PENDING" | "ADDITIONAL_INFO_REQUESTED" | "RESOLVED";
|
|
2
|
-
|
|
3
|
-
export interface IEmployeeMonthlyPayReview {
|
|
4
|
-
id: string;
|
|
5
|
-
createdAt: string;
|
|
6
|
-
updatedAt?: string;
|
|
7
|
-
|
|
8
|
-
status: EmployeeMonthlyPayReviewStatus;
|
|
9
|
-
|
|
10
|
-
monthlyPayId: string;
|
|
11
|
-
additionalInfoDocumentsRequired: boolean;
|
|
12
|
-
|
|
13
|
-
lastHandledById?: string;
|
|
14
|
-
lastHandledAt?: string;
|
|
15
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface IUserAttendance {
|
|
2
|
-
id: string;
|
|
3
|
-
createdAt: string;
|
|
4
|
-
updatedAt?: string;
|
|
5
|
-
userId: string;
|
|
6
|
-
attendanceDate: string;
|
|
7
|
-
checkInTime: string;
|
|
8
|
-
lastStartedAt: string;
|
|
9
|
-
checkOutTime?: string;
|
|
10
|
-
checkOutType?: "MANUAL" | "AUTOMATIC";
|
|
11
|
-
dailyHours: number;
|
|
12
|
-
regularEndsAt: string;
|
|
13
|
-
workedSeconds: number;
|
|
14
|
-
overtimeSeconds: number;
|
|
15
|
-
regularReminderSentAt?: string;
|
|
16
|
-
overtimeStartedAt?: string;
|
|
17
|
-
nextOvertimeReminderAt?: string;
|
|
18
|
-
overtimeResponseDueAt?: string;
|
|
19
|
-
resumedFromId?: string;
|
|
20
|
-
}
|