@timesheet/sdk 1.0.1 → 1.0.2
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/CHANGELOG.md +8 -1
- package/dist/index.d.mts +28 -3
- package/dist/index.d.ts +28 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
## [1.0.2] - 2025-10-25
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- Added team permission properties to Team model
|
|
13
|
+
- Added setting properties to Settings model
|
|
14
|
+
|
|
9
15
|
## [1.0.1] - 2025-10-25
|
|
10
16
|
|
|
11
17
|
### Fixed
|
|
@@ -64,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
64
70
|
- Removed complex mocking in favor of simple validation tests
|
|
65
71
|
- Updated GitHub Actions to use non-deprecated action versions
|
|
66
72
|
|
|
67
|
-
[Unreleased]: https://github.com/timesheetIO/timesheet-typescript/compare/v1.0.
|
|
73
|
+
[Unreleased]: https://github.com/timesheetIO/timesheet-typescript/compare/v1.0.2...HEAD
|
|
74
|
+
[1.0.2]: https://github.com/timesheetIO/timesheet-typescript/compare/v1.0.1...v1.0.2
|
|
68
75
|
[1.0.1]: https://github.com/timesheetIO/timesheet-typescript/compare/v1.0.0...v1.0.1
|
|
69
76
|
[1.0.0]: https://github.com/timesheetIO/timesheet-typescript/releases/tag/v1.0.0
|
package/dist/index.d.mts
CHANGED
|
@@ -136,6 +136,15 @@ interface Team {
|
|
|
136
136
|
image?: string;
|
|
137
137
|
color?: number;
|
|
138
138
|
projectSalaryVisibility?: number;
|
|
139
|
+
permission?: {
|
|
140
|
+
role: string;
|
|
141
|
+
managerOrOwner: boolean;
|
|
142
|
+
member: boolean;
|
|
143
|
+
manager: boolean;
|
|
144
|
+
owner: boolean;
|
|
145
|
+
};
|
|
146
|
+
projects: number;
|
|
147
|
+
members: number;
|
|
139
148
|
created?: number;
|
|
140
149
|
lastUpdate?: number;
|
|
141
150
|
}
|
|
@@ -1083,15 +1092,31 @@ interface AutomationListParams extends ListParams {
|
|
|
1083
1092
|
|
|
1084
1093
|
interface Settings {
|
|
1085
1094
|
theme?: 'light' | 'dark' | 'system';
|
|
1086
|
-
timezone?: string;
|
|
1087
1095
|
language?: string;
|
|
1096
|
+
timezone?: string;
|
|
1088
1097
|
currency?: string;
|
|
1098
|
+
distance?: string;
|
|
1089
1099
|
dateFormat?: string;
|
|
1090
|
-
timeFormat?:
|
|
1100
|
+
timeFormat?: string;
|
|
1101
|
+
durationFormat?: string;
|
|
1102
|
+
csvSeparator?: string;
|
|
1103
|
+
slotDuration?: number;
|
|
1104
|
+
snapDuration?: number;
|
|
1105
|
+
entriesPerPage?: number;
|
|
1091
1106
|
firstDay?: number;
|
|
1107
|
+
defaultTaskDuration?: number;
|
|
1108
|
+
defaultBreakDuration?: number;
|
|
1109
|
+
showRelatives?: boolean;
|
|
1110
|
+
weeklySummary?: boolean;
|
|
1111
|
+
monthlySummary?: boolean;
|
|
1112
|
+
lastUpdate?: number;
|
|
1092
1113
|
timerRounding?: number;
|
|
1093
|
-
timerRoundingType?:
|
|
1114
|
+
timerRoundingType?: number;
|
|
1115
|
+
timerEditView?: boolean;
|
|
1094
1116
|
pauseRounding?: number;
|
|
1117
|
+
pauseRoundingType?: number;
|
|
1118
|
+
pauseEditView?: boolean;
|
|
1119
|
+
autofillProjectSelection?: boolean;
|
|
1095
1120
|
}
|
|
1096
1121
|
interface SettingsUpdateRequest extends Settings {
|
|
1097
1122
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -136,6 +136,15 @@ interface Team {
|
|
|
136
136
|
image?: string;
|
|
137
137
|
color?: number;
|
|
138
138
|
projectSalaryVisibility?: number;
|
|
139
|
+
permission?: {
|
|
140
|
+
role: string;
|
|
141
|
+
managerOrOwner: boolean;
|
|
142
|
+
member: boolean;
|
|
143
|
+
manager: boolean;
|
|
144
|
+
owner: boolean;
|
|
145
|
+
};
|
|
146
|
+
projects: number;
|
|
147
|
+
members: number;
|
|
139
148
|
created?: number;
|
|
140
149
|
lastUpdate?: number;
|
|
141
150
|
}
|
|
@@ -1083,15 +1092,31 @@ interface AutomationListParams extends ListParams {
|
|
|
1083
1092
|
|
|
1084
1093
|
interface Settings {
|
|
1085
1094
|
theme?: 'light' | 'dark' | 'system';
|
|
1086
|
-
timezone?: string;
|
|
1087
1095
|
language?: string;
|
|
1096
|
+
timezone?: string;
|
|
1088
1097
|
currency?: string;
|
|
1098
|
+
distance?: string;
|
|
1089
1099
|
dateFormat?: string;
|
|
1090
|
-
timeFormat?:
|
|
1100
|
+
timeFormat?: string;
|
|
1101
|
+
durationFormat?: string;
|
|
1102
|
+
csvSeparator?: string;
|
|
1103
|
+
slotDuration?: number;
|
|
1104
|
+
snapDuration?: number;
|
|
1105
|
+
entriesPerPage?: number;
|
|
1091
1106
|
firstDay?: number;
|
|
1107
|
+
defaultTaskDuration?: number;
|
|
1108
|
+
defaultBreakDuration?: number;
|
|
1109
|
+
showRelatives?: boolean;
|
|
1110
|
+
weeklySummary?: boolean;
|
|
1111
|
+
monthlySummary?: boolean;
|
|
1112
|
+
lastUpdate?: number;
|
|
1092
1113
|
timerRounding?: number;
|
|
1093
|
-
timerRoundingType?:
|
|
1114
|
+
timerRoundingType?: number;
|
|
1115
|
+
timerEditView?: boolean;
|
|
1094
1116
|
pauseRounding?: number;
|
|
1117
|
+
pauseRoundingType?: number;
|
|
1118
|
+
pauseEditView?: boolean;
|
|
1119
|
+
autofillProjectSelection?: boolean;
|
|
1095
1120
|
}
|
|
1096
1121
|
interface SettingsUpdateRequest extends Settings {
|
|
1097
1122
|
}
|