@automateinc/fleet-types 1.0.116-dev.2d7d941 → 1.0.117

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.
Files changed (58) hide show
  1. package/bin/fleet-types.mjs +148 -53
  2. package/dist/types/client-field.d.ts +4 -1
  3. package/dist/types/client-quotation-position-version.d.ts +6 -1
  4. package/dist/types/client-quotation-site-draft.d.ts +2 -1
  5. package/dist/types/client-quotation.d.ts +6 -2
  6. package/dist/types/client-request-action-execution.d.ts +7 -1
  7. package/dist/types/client-request-field-visibility-rule.d.ts +7 -1
  8. package/dist/types/client-request.d.ts +13 -2
  9. package/dist/types/{site.d.ts → client-site.d.ts} +1 -3
  10. package/dist/types/config.d.ts +8 -1
  11. package/dist/types/day-of-week.d.ts +8 -1
  12. package/dist/types/dispatch.d.ts +8 -1
  13. package/dist/types/employee-field.d.ts +12 -4
  14. package/dist/types/employee-group.d.ts +1 -0
  15. package/dist/types/employee-monthly-pay-review-event.d.ts +21 -0
  16. package/dist/types/employee-monthly-pay-review-field.d.ts +13 -0
  17. package/dist/types/employee-monthly-pay-review.d.ts +15 -0
  18. package/dist/types/index.d.ts +34 -6
  19. package/dist/types/metadata.d.ts +6 -1
  20. package/dist/types/models.d.ts +5 -1
  21. package/dist/types/one-time-password.d.ts +5 -1
  22. package/dist/types/patrol-point.d.ts +6 -1
  23. package/dist/types/recruitment.d.ts +7 -1
  24. package/dist/types/request-action-execution.d.ts +7 -1
  25. package/dist/types/request.d.ts +14 -2
  26. package/dist/types/restriction.d.ts +7 -1
  27. package/dist/types/schedule-site.d.ts +11 -0
  28. package/dist/types/schedule.d.ts +8 -1
  29. package/dist/types/scheduling-requirement.d.ts +5 -1
  30. package/dist/types/structured-content-collapse-node.d.ts +2 -1
  31. package/dist/types/structured-content-default-avatar-node.d.ts +2 -1
  32. package/dist/types/structured-content-node-base.d.ts +10 -1
  33. package/dist/types/structured-content-root.d.ts +4 -1
  34. package/dist/types/structured-content-space-node.d.ts +2 -1
  35. package/dist/types/structured-content-statistic-node.d.ts +2 -1
  36. package/dist/types/structured-content-table-boolean-column.d.ts +2 -1
  37. package/dist/types/structured-content-table-column-sort-config.d.ts +4 -1
  38. package/dist/types/structured-content-table-date-column.d.ts +2 -1
  39. package/dist/types/structured-content-table-date-range-filter.d.ts +2 -1
  40. package/dist/types/structured-content-table-date-time-column.d.ts +2 -1
  41. package/dist/types/structured-content-table-default-avatar-column.d.ts +2 -1
  42. package/dist/types/structured-content-table-link-column.d.ts +2 -1
  43. package/dist/types/structured-content-table-named-column-base.d.ts +2 -1
  44. package/dist/types/structured-content-table-node.d.ts +2 -1
  45. package/dist/types/structured-content-table-number-column.d.ts +2 -1
  46. package/dist/types/structured-content-table-select-filter.d.ts +2 -1
  47. package/dist/types/structured-content-table-tag-column.d.ts +2 -1
  48. package/dist/types/structured-content-table-text-column.d.ts +2 -1
  49. package/dist/types/structured-content-table-time-column.d.ts +2 -1
  50. package/dist/types/structured-content.d.ts +15 -3
  51. package/dist/types/todo-dependency-type.d.ts +5 -1
  52. package/dist/types/todo-json-value.d.ts +4 -1
  53. package/dist/types/todo-status.d.ts +6 -1
  54. package/dist/types/todo-view-type.d.ts +7 -1
  55. package/dist/types/user-attendance-check-in-location.d.ts +11 -0
  56. package/dist/types/user-attendance.d.ts +20 -0
  57. package/dist/types/zone.d.ts +9 -1
  58. package/package.json +1 -1
@@ -1,4 +1,8 @@
1
- import { UseInfiniteQueryOptions, UseMutationOptions, UseQueryOptions } from "@tanstack/react-query";
1
+ import {
2
+ UseInfiniteQueryOptions,
3
+ UseMutationOptions,
4
+ UseQueryOptions,
5
+ } from "@tanstack/react-query";
2
6
  import { AxiosError } from "axios";
3
7
 
4
8
  type APIError = {
@@ -10,16 +14,34 @@ type APIError = {
10
14
  }>;
11
15
  };
12
16
 
13
- export type MutationOptions<Response, Args = void> = UseMutationOptions<Response, AxiosError<APIError>, Args, any>;
17
+ export type MutationOptions<Response, Args = void> = UseMutationOptions<
18
+ Response,
19
+ AxiosError<APIError>,
20
+ Args,
21
+ any
22
+ >;
14
23
 
15
- export type QueryOptions<Response> = UseQueryOptions<Response, AxiosError<APIError>, Response, any>;
24
+ export type QueryOptions<Response> = UseQueryOptions<
25
+ Response,
26
+ AxiosError<APIError>,
27
+ Response,
28
+ any
29
+ >;
16
30
 
17
31
  export type InfiniteQueryOptions<Response> = Omit<
18
- UseInfiniteQueryOptions<Response, AxiosError<APIError>, Response, Response, any>,
32
+ UseInfiniteQueryOptions<
33
+ Response,
34
+ AxiosError<APIError>,
35
+ Response,
36
+ Response,
37
+ any
38
+ >,
19
39
  "queryKey" | "queryFn"
20
40
  >;
21
41
 
22
- export type FormInputType<T extends (...args: any) => any> = Parameters<ReturnType<T>["mutate"]>[0];
42
+ export type FormInputType<T extends (...args: any) => any> = Parameters<
43
+ ReturnType<T>["mutate"]
44
+ >[0];
23
45
 
24
46
  export type PaginatedResponse<T> = {
25
47
  limit: number;
@@ -87,6 +109,7 @@ export * from "./client-request-field-visibility-rule";
87
109
  export * from "./client-request-type";
88
110
  export * from "./client-request-value";
89
111
  export * from "./client-request-verification";
112
+ export * from "./client-site";
90
113
  export * from "./client-status";
91
114
  export * from "./client-status-check";
92
115
  export * from "./client-status-check-requirement";
@@ -125,6 +148,9 @@ export * from "./employee-group-snapshot-cost";
125
148
  export * from "./employee-label";
126
149
  export * from "./employee-label-assignment";
127
150
  export * from "./employee-monthly-payroll";
151
+ export * from "./employee-monthly-pay-review";
152
+ export * from "./employee-monthly-pay-review-event";
153
+ export * from "./employee-monthly-pay-review-field";
128
154
  export * from "./employee-status";
129
155
  export * from "./file";
130
156
  export * from "./gender";
@@ -201,11 +227,11 @@ export * from "./schedule-assignment-policy";
201
227
  export * from "./schedule-attendance";
202
228
  export * from "./schedule-day-off";
203
229
  export * from "./schedule-draft";
230
+ export * from "./schedule-site";
204
231
  export * from "./scheduling-requirement";
205
232
  export * from "./shift";
206
233
  export * from "./shift-type";
207
234
  export * from "./signing-mode";
208
- export * from "./site";
209
235
  export * from "./standard-operating-procedure";
210
236
  export * from "./structured-content";
211
237
  export * from "./structured-content-collapse-node";
@@ -288,6 +314,8 @@ export * from "./todo-watcher";
288
314
  export * from "./unit";
289
315
  export * from "./unit-room";
290
316
  export * from "./user";
317
+ export * from "./user-attendance";
318
+ export * from "./user-attendance-check-in-location";
291
319
  export * from "./vehicle";
292
320
  export * from "./vehicle-contract";
293
321
  export * from "./vehicle-contract-payment";
@@ -1,4 +1,9 @@
1
- import { IMetadataDocuments, IMetadataExpiringDocuments, IMetadataMissingDocuments, IMetadataStatusCheck } from ".";
1
+ import {
2
+ IMetadataDocuments,
3
+ IMetadataExpiringDocuments,
4
+ IMetadataMissingDocuments,
5
+ IMetadataStatusCheck,
6
+ } from ".";
2
7
 
3
8
  export interface IMetadata {
4
9
  expiringDocuments?: {
@@ -65,7 +65,7 @@ export type IModel =
65
65
  | "clientDocumentDefinition"
66
66
  | "zone"
67
67
  | "siteClass"
68
- | "site"
68
+ | "clientSite"
69
69
  | "positionTemplate"
70
70
  | "positionTemplateItem"
71
71
  | "position"
@@ -76,6 +76,7 @@ export type IModel =
76
76
  | "schedule"
77
77
  | "scheduleDraft"
78
78
  | "attendanceDraft"
79
+ | "scheduleSite"
79
80
  | "standardOperatingProcedure"
80
81
  | "nFCTag"
81
82
  | "dispatch"
@@ -105,6 +106,9 @@ export type IModel =
105
106
  | "paymentCycleDocument"
106
107
  | "paymentCycle"
107
108
  | "employeeMonthlyPay"
109
+ | "employeeMonthlyPayReview"
110
+ | "employeeMonthlyPayReviewEvent"
111
+ | "employeeMonthlyPayReviewField"
108
112
  | "payrollConfig"
109
113
  | "vendor"
110
114
  | "vendorContact"
@@ -7,7 +7,11 @@ export interface IOneTimePassword {
7
7
  timeSent: string;
8
8
  requesterIp?: string;
9
9
  maxAttempts: number;
10
- type: "DOCUMENT_SIGNING" | "EMAIL_VERIFICATION" | "PHONE_VERIFICATION" | "PASSWORD_RESET";
10
+ type:
11
+ | "DOCUMENT_SIGNING"
12
+ | "EMAIL_VERIFICATION"
13
+ | "PHONE_VERIFICATION"
14
+ | "PASSWORD_RESET";
11
15
  status: "PENDING" | "VERIFIED" | "REJECTED";
12
16
  method: "WHATSAPP" | "SMS" | "EMAIL";
13
17
 
@@ -6,7 +6,12 @@ export interface IPatrolPoint {
6
6
  name: string;
7
7
  description?: string;
8
8
  order: number;
9
- type: "CLOSE_ENDED_QUESTION" | "OPEN_ENDED_QUESTION" | "NO_ACTION" | "PHOTO" | "VIDEO";
9
+ type:
10
+ | "CLOSE_ENDED_QUESTION"
11
+ | "OPEN_ENDED_QUESTION"
12
+ | "NO_ACTION"
13
+ | "PHOTO"
14
+ | "VIDEO";
10
15
  reportNotesTrigger?: string;
11
16
 
12
17
  patrolId: string;
@@ -3,7 +3,13 @@ export interface IRecruitment {
3
3
  createdAt: string;
4
4
  updatedAt: string;
5
5
 
6
- status: "DRAFT" | "VERIFIED" | "PENDING" | "CHANGES_NEEDED" | "RECRUITED" | "REJECTED";
6
+ status:
7
+ | "DRAFT"
8
+ | "VERIFIED"
9
+ | "PENDING"
10
+ | "CHANGES_NEEDED"
11
+ | "RECRUITED"
12
+ | "REJECTED";
7
13
  regionId: string;
8
14
  createdById: string;
9
15
  folderKey: string;
@@ -4,7 +4,13 @@ export interface IRequestActionExecution {
4
4
  updatedAt: string;
5
5
 
6
6
  actionId: string;
7
- status: "PENDING" | "COMPLETED" | "PROCESSING" | "FAILED" | "SKIPPED" | "ON_HOLD";
7
+ status:
8
+ | "PENDING"
9
+ | "COMPLETED"
10
+ | "PROCESSING"
11
+ | "FAILED"
12
+ | "SKIPPED"
13
+ | "ON_HOLD";
8
14
  startedAt: string | null;
9
15
  endedAt: string | null;
10
16
  failureReason?: string;
@@ -18,8 +18,20 @@ export interface IRequest {
18
18
  withdrawnAt?: string;
19
19
  folderKey?: string | null;
20
20
  archivedAt?: string | null;
21
+ allowSigning?: string | null;
21
22
  employeeId: string;
22
- status: "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "WITHDRAWN" | "PENDING_VERIFICATION" | "ARCHIVED";
23
- actionsExecutionStatus: "PENDING" | "COMPLETED" | "PROCESSING" | "FAILED" | "SKIPPED";
23
+ status:
24
+ | "PENDING_APPROVAL"
25
+ | "APPROVED"
26
+ | "REJECTED"
27
+ | "WITHDRAWN"
28
+ | "PENDING_VERIFICATION"
29
+ | "ARCHIVED";
30
+ actionsExecutionStatus:
31
+ | "PENDING"
32
+ | "COMPLETED"
33
+ | "PROCESSING"
34
+ | "FAILED"
35
+ | "SKIPPED";
24
36
  metadata?: any;
25
37
  }
@@ -5,7 +5,13 @@ export interface IRestriction {
5
5
 
6
6
  label: string;
7
7
  type: "EMPLOYEE" | "CONTRACT" | "ROLE" | "COMPANY";
8
- operation: "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS";
8
+ operation:
9
+ | "EQUALS"
10
+ | "NOT_EQUALS"
11
+ | "CONTAINS"
12
+ | "NOT_CONTAINS"
13
+ | "EXISTS"
14
+ | "NOT_EXISTS";
9
15
  category?: string;
10
16
  valueA: string;
11
17
  valueB?: string;
@@ -0,0 +1,11 @@
1
+ export interface IScheduleSite {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+
6
+ shiftsCount: number;
7
+ positionsCount: number;
8
+ schedulesCount: number;
9
+ scheduledSchedulesCount: number;
10
+ metadata?: any;
11
+ }
@@ -3,7 +3,14 @@ export interface ISchedule {
3
3
  createdAt: string;
4
4
  updatedAt: string;
5
5
 
6
- dayOfWeek: "SATURDAY" | "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY";
6
+ dayOfWeek:
7
+ | "SATURDAY"
8
+ | "SUNDAY"
9
+ | "MONDAY"
10
+ | "TUESDAY"
11
+ | "WEDNESDAY"
12
+ | "THURSDAY"
13
+ | "FRIDAY";
7
14
  shiftId?: string;
8
15
 
9
16
  employeeId?: string;
@@ -34,7 +34,11 @@ export interface ISchedulingRequirementsInput {
34
34
  }
35
35
 
36
36
  export type SchedulingRequirementScope = "CLIENT" | "POSITION" | "SHIFT";
37
- export type SchedulingRequirementKind = "ROLE" | "EMPLOYEE_GROUP" | "GENDER" | "LABEL";
37
+ export type SchedulingRequirementKind =
38
+ | "ROLE"
39
+ | "EMPLOYEE_GROUP"
40
+ | "GENDER"
41
+ | "LABEL";
38
42
 
39
43
  export interface ISchedulingRequirementFailure {
40
44
  scope: SchedulingRequirementScope;
@@ -1,7 +1,8 @@
1
1
  import type { IStructuredContentNode } from "./structured-content";
2
2
  import type { IStructuredContentNodeBase } from "./structured-content-node-base";
3
3
 
4
- export interface IStructuredContentCollapseNode extends IStructuredContentNodeBase {
4
+ export interface IStructuredContentCollapseNode
5
+ extends IStructuredContentNodeBase {
5
6
  children?: IStructuredContentNode[];
6
7
  config?: {
7
8
  title?: string;
@@ -1,6 +1,7 @@
1
1
  import type { IStructuredContentNodeBase } from "./structured-content-node-base";
2
2
 
3
- export interface IStructuredContentDefaultAvatarNode extends IStructuredContentNodeBase {
3
+ export interface IStructuredContentDefaultAvatarNode
4
+ extends IStructuredContentNodeBase {
4
5
  config?: {
5
6
  size?: number;
6
7
  };
@@ -3,5 +3,14 @@ import type { IStructuredContentNodeLayout } from "./structured-content-node-lay
3
3
  export interface IStructuredContentNodeBase {
4
4
  id: string;
5
5
  layout?: IStructuredContentNodeLayout;
6
- type: "COLLAPSE" | "DEFAULT_AVATAR" | "GRID" | "LINK" | "SPACE" | "STATISTIC" | "TABLE" | "TAG" | "TEXT";
6
+ type:
7
+ | "COLLAPSE"
8
+ | "DEFAULT_AVATAR"
9
+ | "GRID"
10
+ | "LINK"
11
+ | "SPACE"
12
+ | "STATISTIC"
13
+ | "TABLE"
14
+ | "TAG"
15
+ | "TEXT";
7
16
  }
@@ -1,5 +1,8 @@
1
1
  import type { IModel } from "./models";
2
- import type { IStructuredContentData, IStructuredContentNode } from "./structured-content";
2
+ import type {
3
+ IStructuredContentData,
4
+ IStructuredContentNode,
5
+ } from "./structured-content";
3
6
 
4
7
  export interface IStructuredContent {
5
8
  createdAt: string;
@@ -1,7 +1,8 @@
1
1
  import type { IStructuredContentNode } from "./structured-content";
2
2
  import type { IStructuredContentNodeBase } from "./structured-content-node-base";
3
3
 
4
- export interface IStructuredContentSpaceNode extends IStructuredContentNodeBase {
4
+ export interface IStructuredContentSpaceNode
5
+ extends IStructuredContentNodeBase {
5
6
  children?: IStructuredContentNode[];
6
7
  type: "SPACE";
7
8
  }
@@ -1,7 +1,8 @@
1
1
  import type { StructuredContentStatisticFormat } from "./structured-content";
2
2
  import type { IStructuredContentNodeBase } from "./structured-content-node-base";
3
3
 
4
- export interface IStructuredContentStatisticNode extends IStructuredContentNodeBase {
4
+ export interface IStructuredContentStatisticNode
5
+ extends IStructuredContentNodeBase {
5
6
  config: {
6
7
  format?: StructuredContentStatisticFormat;
7
8
  label: string;
@@ -1,7 +1,8 @@
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 extends IStructuredContentTableNamedColumnBase {
4
+ export interface IStructuredContentTableBooleanColumn
5
+ extends IStructuredContentTableNamedColumnBase {
5
6
  config?: IStructuredContentTableColumnSortConfig;
6
7
  type: "BOOLEAN";
7
8
  }
@@ -1,4 +1,7 @@
1
- import type { StructuredContentTableSortOrder, StructuredContentTableSortType } from "./structured-content";
1
+ import type {
2
+ StructuredContentTableSortOrder,
3
+ StructuredContentTableSortType,
4
+ } from "./structured-content";
2
5
 
3
6
  export interface IStructuredContentTableColumnSortConfig {
4
7
  sortOrder?: StructuredContentTableSortOrder;
@@ -1,7 +1,8 @@
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 extends IStructuredContentTableNamedColumnBase {
4
+ export interface IStructuredContentTableDateColumn
5
+ extends IStructuredContentTableNamedColumnBase {
5
6
  config?: IStructuredContentTableColumnSortConfig;
6
7
  type: "DATE";
7
8
  }
@@ -2,7 +2,8 @@ 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 extends IStructuredContentTableToolbarFilterBase {
5
+ export interface IStructuredContentTableDateRangeFilter
6
+ extends IStructuredContentTableToolbarFilterBase {
6
7
  config?: {
7
8
  constraints?: IStructuredContentDateRangeFilterConstraints;
8
9
  initialValue?: IStructuredContentDateRangeFilterInitialValue;
@@ -1,7 +1,8 @@
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 extends IStructuredContentTableNamedColumnBase {
4
+ export interface IStructuredContentTableDateTimeColumn
5
+ extends IStructuredContentTableNamedColumnBase {
5
6
  config?: IStructuredContentTableColumnSortConfig;
6
7
  type: "DATETIME";
7
8
  }
@@ -1,6 +1,7 @@
1
1
  import type { IStructuredContentTableColumnBase } from "./structured-content-table-column-base";
2
2
 
3
- export interface IStructuredContentTableDefaultAvatarColumn extends IStructuredContentTableColumnBase {
3
+ export interface IStructuredContentTableDefaultAvatarColumn
4
+ extends IStructuredContentTableColumnBase {
4
5
  config?: {
5
6
  size?: number;
6
7
  };
@@ -1,7 +1,8 @@
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 extends IStructuredContentTableNamedColumnBase {
4
+ export interface IStructuredContentTableLinkColumn
5
+ extends IStructuredContentTableNamedColumnBase {
5
6
  config?: IStructuredContentTableColumnSortConfig;
6
7
  type: "LINK";
7
8
  }
@@ -1,5 +1,6 @@
1
1
  import type { IStructuredContentTableColumnBase } from "./structured-content-table-column-base";
2
2
 
3
- export interface IStructuredContentTableNamedColumnBase extends IStructuredContentTableColumnBase {
3
+ export interface IStructuredContentTableNamedColumnBase
4
+ extends IStructuredContentTableColumnBase {
4
5
  name: string;
5
6
  }
@@ -3,7 +3,8 @@ 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 extends IStructuredContentNodeBase {
6
+ export interface IStructuredContentTableNode
7
+ extends IStructuredContentNodeBase {
7
8
  config?: {
8
9
  columns?: IStructuredContentTableColumn[];
9
10
  pagination?: IStructuredContentTablePagination;
@@ -3,7 +3,8 @@ import type { IStructuredContentTableNamedColumnBase } from "./structured-conten
3
3
 
4
4
  export type StructuredContentTableNumberFormat = "PERCENTAGE";
5
5
 
6
- export interface IStructuredContentTableNumberColumn extends IStructuredContentTableNamedColumnBase {
6
+ export interface IStructuredContentTableNumberColumn
7
+ extends IStructuredContentTableNamedColumnBase {
7
8
  config?: IStructuredContentTableColumnSortConfig & {
8
9
  format?: StructuredContentTableNumberFormat;
9
10
  maximumFractionDigits?: number;
@@ -1,6 +1,7 @@
1
1
  import type { IStructuredContentTableToolbarFilterBase } from "./structured-content-table-toolbar-filter-base";
2
2
 
3
- export interface IStructuredContentTableSelectFilter extends IStructuredContentTableToolbarFilterBase {
3
+ export interface IStructuredContentTableSelectFilter
4
+ extends IStructuredContentTableToolbarFilterBase {
4
5
  config?: {
5
6
  initialValue?: string;
6
7
  };
@@ -1,7 +1,8 @@
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 extends IStructuredContentTableNamedColumnBase {
4
+ export interface IStructuredContentTableTagColumn
5
+ extends IStructuredContentTableNamedColumnBase {
5
6
  config?: IStructuredContentTableColumnSortConfig;
6
7
  type: "TAG";
7
8
  }
@@ -1,7 +1,8 @@
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 extends IStructuredContentTableNamedColumnBase {
4
+ export interface IStructuredContentTableTextColumn
5
+ extends IStructuredContentTableNamedColumnBase {
5
6
  config?: IStructuredContentTableColumnSortConfig;
6
7
  type: "TEXT";
7
8
  }
@@ -1,7 +1,8 @@
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 extends IStructuredContentTableNamedColumnBase {
4
+ export interface IStructuredContentTableTimeColumn
5
+ extends IStructuredContentTableNamedColumnBase {
5
6
  config?: IStructuredContentTableColumnSortConfig;
6
7
  type: "TIME";
7
8
  }
@@ -22,7 +22,15 @@ 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 = "H1" | "H2" | "H3" | "H4" | "H5" | "H6" | "PARAGRAPH" | "TEXT";
25
+ export type StructuredContentTextVariant =
26
+ | "H1"
27
+ | "H2"
28
+ | "H3"
29
+ | "H4"
30
+ | "H5"
31
+ | "H6"
32
+ | "PARAGRAPH"
33
+ | "TEXT";
26
34
  export type StructuredContentLinkVariant = "BUTTON" | "LINK";
27
35
  export type StructuredContentStatisticFormat = "PERCENTAGE";
28
36
  export type StructuredContentTableColumnType =
@@ -90,10 +98,14 @@ export type IStructuredContentNode =
90
98
 
91
99
  export type StructuredContentPrimitiveValue = boolean | number | string | null;
92
100
  export type StructuredContentAvatarValue = IStructuredContentDefaultAvatarValue;
93
- export type StructuredContentTaggableValue = IStructuredContentTagValue | StructuredContentPrimitiveValue;
101
+ export type StructuredContentTaggableValue =
102
+ | IStructuredContentTagValue
103
+ | StructuredContentPrimitiveValue;
94
104
  export type IStructuredContentTableRow = Record<
95
105
  string,
96
- IStructuredContentLinkValue | StructuredContentAvatarValue | StructuredContentTaggableValue
106
+ | IStructuredContentLinkValue
107
+ | StructuredContentAvatarValue
108
+ | StructuredContentTaggableValue
97
109
  >;
98
110
  export type StructuredContentDataValue =
99
111
  | IStructuredContentDefaultAvatarValue
@@ -1 +1,5 @@
1
- export type TodoDependencyType = "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
1
+ export type TodoDependencyType =
2
+ | "FINISH_TO_START"
3
+ | "START_TO_START"
4
+ | "FINISH_TO_FINISH"
5
+ | "START_TO_FINISH";
@@ -1,4 +1,7 @@
1
1
  import type { TodoJsonObject } from "./todo-json-object";
2
2
 
3
3
  export type TodoJsonPrimitive = boolean | number | string | null;
4
- export type TodoJsonValue = TodoJsonPrimitive | TodoJsonObject | TodoJsonValue[];
4
+ export type TodoJsonValue =
5
+ | TodoJsonPrimitive
6
+ | TodoJsonObject
7
+ | TodoJsonValue[];
@@ -18,4 +18,9 @@ export interface ITodoStatus {
18
18
  metadata?: Record<string, unknown>;
19
19
  }
20
20
 
21
- export type TodoStatusType = "OPEN" | "IN_PROGRESS" | "DONE" | "CLOSED" | "CUSTOM";
21
+ export type TodoStatusType =
22
+ | "OPEN"
23
+ | "IN_PROGRESS"
24
+ | "DONE"
25
+ | "CLOSED"
26
+ | "CUSTOM";
@@ -1 +1,7 @@
1
- export type TodoViewType = "LIST" | "BOARD" | "GANTT" | "TIMELINE" | "TABLE" | "CALENDAR";
1
+ export type TodoViewType =
2
+ | "LIST"
3
+ | "BOARD"
4
+ | "GANTT"
5
+ | "TIMELINE"
6
+ | "TABLE"
7
+ | "CALENDAR";
@@ -0,0 +1,11 @@
1
+ export interface IUserAttendanceCheckInLocation {
2
+ id: string;
3
+ createdAt: string;
4
+ capturedAt: string;
5
+ latitude: number;
6
+ longitude: number;
7
+ accuracy?: number;
8
+ isManagerCheckIn: boolean;
9
+ attendanceId: string;
10
+ capturedByUserId?: string;
11
+ }
@@ -0,0 +1,20 @@
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
+ }
@@ -7,7 +7,15 @@ export interface IZone {
7
7
  name: string;
8
8
  area: string;
9
9
 
10
- schedulesResetOn: "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | null;
10
+ schedulesResetOn:
11
+ | "SUNDAY"
12
+ | "MONDAY"
13
+ | "TUESDAY"
14
+ | "WEDNESDAY"
15
+ | "THURSDAY"
16
+ | "FRIDAY"
17
+ | "SATURDAY"
18
+ | null;
11
19
 
12
20
  regionId: string;
13
21
  metadata?: any;
package/package.json CHANGED
@@ -57,5 +57,5 @@
57
57
  "test": "echo \"Error: no test specified\" && exit 1"
58
58
  },
59
59
  "types": "dist/types/index.d.ts",
60
- "version": "1.0.116-dev.2d7d941"
60
+ "version": "1.0.117"
61
61
  }