@knpkv/clockify-api-client 1.1.1 → 3.0.0

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.
@@ -0,0 +1,144 @@
1
+ [
2
+ {
3
+ "id": "64f0c0ffee0000000000aa01",
4
+ "name": "Example Workspace",
5
+ "hourlyRate": {
6
+ "amount": 0,
7
+ "currency": "USD"
8
+ },
9
+ "costRate": {
10
+ "amount": 0,
11
+ "currency": "USD"
12
+ },
13
+ "memberships": [
14
+ {
15
+ "userId": "redacted",
16
+ "hourlyRate": null,
17
+ "costRate": null,
18
+ "targetId": "redacted",
19
+ "membershipType": "WORKSPACE",
20
+ "membershipStatus": "ACTIVE"
21
+ }
22
+ ],
23
+ "workspaceSettings": {
24
+ "timeRoundingInReports": false,
25
+ "onlyAdminsSeeBillableRates": true,
26
+ "activeBillableHours": false,
27
+ "onlyAdminsCanChangeBillableStatus": false,
28
+ "onlyAdminsCreateProject": false,
29
+ "onlyAdminsSeeDashboard": false,
30
+ "defaultBillableProjects": true,
31
+ "lockTimeEntries": null,
32
+ "lockTimeZone": null,
33
+ "round": {
34
+ "round": "redacted",
35
+ "minutes": "redacted"
36
+ },
37
+ "projectFavorites": true,
38
+ "canSeeTimeSheet": false,
39
+ "canSeeTracker": true,
40
+ "projectPickerSpecialFilter": false,
41
+ "forceProjects": false,
42
+ "forceTasks": false,
43
+ "forceTags": false,
44
+ "forceDescription": false,
45
+ "onlyAdminsSeeAllTimeEntries": false,
46
+ "onlyAdminsSeePublicProjectsEntries": false,
47
+ "onlyAdminsSeeProjectStatus": false,
48
+ "trackTimeDownToSecond": true,
49
+ "projectGroupingLabel": "CLIENT",
50
+ "adminOnlyPages": [],
51
+ "automaticLock": null,
52
+ "onlyAdminsCreateTag": false,
53
+ "timeApprovalEnabled": false,
54
+ "approvalSettings": {
55
+ "approvalEnabled": false,
56
+ "approvalPeriod": "WEEKLY",
57
+ "approvalRoles": ["TEAM_MANAGER", "ADMIN"]
58
+ },
59
+ "screenshotsEnabled": false,
60
+ "highResolutionScreenshots": false,
61
+ "locationsEnabled": false,
62
+ "onlyAdminsCreateTask": false,
63
+ "timeTrackingMode": "DEFAULT",
64
+ "taskBillableEnabled": false,
65
+ "taskRateEnabled": false,
66
+ "invoicingEnabled": false,
67
+ "expensesEnabled": false,
68
+ "schedulingEnabled": false,
69
+ "companyAddress": "redacted",
70
+ "canManagerEditUsersTime": false,
71
+ "timeOff": {
72
+ "active": false,
73
+ "regularUserCanSeeOtherUsersTimeOff": false,
74
+ "showDefaultPoliciesMessageToUsers": []
75
+ },
76
+ "auditLogSettings": null,
77
+ "schedulingSettings": {
78
+ "enabled": false,
79
+ "everyoneCanSeeAllAssignments": false,
80
+ "whoCanCreateAssignments": "ADMINS",
81
+ "canSeeBillableAndCostAmount": false
82
+ },
83
+ "kioskEnabled": false,
84
+ "kioskAuthType": null,
85
+ "kioskProjectsAndTasksEnabled": false,
86
+ "kioskAutologinEnabled": false,
87
+ "canManagerLaunchKiosk": false,
88
+ "kioskPhotoCaptureEnabled": false,
89
+ "multiFactorEnabled": false,
90
+ "numberFormat": "PERIOD_COMMA",
91
+ "currencyFormat": "VALUE_SPACE_CURRENCY",
92
+ "favoriteEntriesEnabled": false,
93
+ "breakSettings": {
94
+ "breaksEnabled": false,
95
+ "defaultBreakEntities": {
96
+ "projectId": null,
97
+ "taskId": null
98
+ }
99
+ },
100
+ "weekStart": "MONDAY",
101
+ "timeViewMode": "TIME_SENSITIVE_VIEW",
102
+ "whitelistedForAggregateView": false,
103
+ "workCapacity": "PT8H",
104
+ "overtimeCalculationPeriod": "DAILY",
105
+ "decimalFormat": false,
106
+ "durationFormat": "FULL",
107
+ "entityCreationPermissions": {
108
+ "whoCanCreateTasks": "EVERYONE",
109
+ "whoCanCreateProjectsAndClients": "EVERYONE",
110
+ "whoCanCreateTags": "EVERYONE"
111
+ },
112
+ "projectLabel": "redacted",
113
+ "taskLabel": "redacted",
114
+ "customLabels": {
115
+ "projectGroupingLabel": "redacted",
116
+ "projectLabel": "redacted",
117
+ "taskLabel": "redacted"
118
+ },
119
+ "workingDays": ["THURSDAY", "FRIDAY", "MONDAY", "TUESDAY", "WEDNESDAY"],
120
+ "isCostRateActive": false,
121
+ "expenseApprovalSettings": {
122
+ "approvalEnabled": false,
123
+ "approvalPeriod": "WEEKLY",
124
+ "approvalRoles": ["TEAM_MANAGER", "ADMIN"]
125
+ },
126
+ "isProjectPublicByDefault": true
127
+ },
128
+ "imageUrl": "redacted",
129
+ "featureSubscriptionType": "FREE_2026",
130
+ "features": ["TIME_TRACKING", "ONE_MONTH_RANGE_REPORTS"],
131
+ "currencies": [
132
+ {
133
+ "id": "redacted",
134
+ "code": "USD",
135
+ "isDefault": true
136
+ }
137
+ ],
138
+ "subdomain": {
139
+ "name": null,
140
+ "enabled": false
141
+ },
142
+ "cakeOrganizationId": "redacted"
143
+ }
144
+ ]
package/vitest.config.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { defineConfig } from "vitest/config"
2
+ import { workspaceSourceAlias } from "../../vitest.workspace-sources.ts"
2
3
 
3
4
  export default defineConfig({
5
+ resolve: { alias: [...workspaceSourceAlias] },
4
6
  test: {
5
7
  include: ["test/**/*.test.ts"]
6
8
  }