@timesheet/sdk 1.0.0 → 1.0.1

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 CHANGED
@@ -5,25 +5,11 @@ All notable changes to the Timesheet TypeScript SDK will be documented in this f
5
5
  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
- ## [Unreleased]
9
8
 
10
- ### Added
11
- - Nothing yet
12
-
13
- ### Changed
14
- - Nothing yet
15
-
16
- ### Deprecated
17
- - Nothing yet
18
-
19
- ### Removed
20
- - Nothing yet
9
+ ## [1.0.1] - 2025-10-25
21
10
 
22
11
  ### Fixed
23
- - Nothing yet
24
-
25
- ### Security
26
- - Nothing yet
12
+ - Added missing fields to Profile model to match backend ProfileDto
27
13
 
28
14
  ## [1.0.0] - 2025-06-14
29
15
 
@@ -78,5 +64,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
78
64
  - Removed complex mocking in favor of simple validation tests
79
65
  - Updated GitHub Actions to use non-deprecated action versions
80
66
 
81
- [Unreleased]: https://github.com/timesheetIO/timesheet-typescript/compare/v1.0.0...HEAD
82
- [1.0.0]: https://github.com/timesheetIO/timesheet-typescript/releases/tag/v1.0.0
67
+ [Unreleased]: https://github.com/timesheetIO/timesheet-typescript/compare/v1.0.1...HEAD
68
+ [1.0.1]: https://github.com/timesheetIO/timesheet-typescript/compare/v1.0.0...v1.0.1
69
+ [1.0.0]: https://github.com/timesheetIO/timesheet-typescript/releases/tag/v1.0.0
package/dist/index.d.mts CHANGED
@@ -1097,16 +1097,45 @@ interface SettingsUpdateRequest extends Settings {
1097
1097
  }
1098
1098
 
1099
1099
  interface Profile {
1100
+ permission?: number;
1100
1101
  email?: string;
1101
1102
  imageUrl?: string;
1102
1103
  firstname?: string;
1103
1104
  lastname?: string;
1105
+ newsletter?: boolean;
1106
+ activatedTeams?: boolean;
1107
+ activated?: boolean;
1108
+ needsSetup?: boolean;
1109
+ user?: string;
1110
+ lastUpdate?: number;
1111
+ subscriptionId?: string;
1112
+ expires?: number;
1113
+ status?: number;
1114
+ plan?: number;
1115
+ valid?: boolean;
1116
+ expired?: boolean;
1117
+ product?: string;
1118
+ trial?: boolean;
1119
+ planBusiness?: boolean;
1120
+ planPro?: boolean;
1121
+ planPlus?: boolean;
1122
+ planBasic?: boolean;
1123
+ member?: boolean;
1124
+ personalSubscriptionActive?: boolean;
1125
+ organizationSubscriptionActive?: boolean;
1126
+ validProfile?: boolean;
1127
+ validAndActivated?: boolean;
1128
+ deleted?: boolean;
1129
+ displayName?: string;
1130
+ initials?: string;
1131
+ createdAt?: string;
1104
1132
  }
1105
1133
  interface ProfileUpdateRequest {
1106
1134
  email?: string;
1107
1135
  imageUrl?: string;
1108
1136
  firstname?: string;
1109
1137
  lastname?: string;
1138
+ newsletter?: boolean;
1110
1139
  }
1111
1140
 
1112
1141
  interface ResourceConfig {
package/dist/index.d.ts CHANGED
@@ -1097,16 +1097,45 @@ interface SettingsUpdateRequest extends Settings {
1097
1097
  }
1098
1098
 
1099
1099
  interface Profile {
1100
+ permission?: number;
1100
1101
  email?: string;
1101
1102
  imageUrl?: string;
1102
1103
  firstname?: string;
1103
1104
  lastname?: string;
1105
+ newsletter?: boolean;
1106
+ activatedTeams?: boolean;
1107
+ activated?: boolean;
1108
+ needsSetup?: boolean;
1109
+ user?: string;
1110
+ lastUpdate?: number;
1111
+ subscriptionId?: string;
1112
+ expires?: number;
1113
+ status?: number;
1114
+ plan?: number;
1115
+ valid?: boolean;
1116
+ expired?: boolean;
1117
+ product?: string;
1118
+ trial?: boolean;
1119
+ planBusiness?: boolean;
1120
+ planPro?: boolean;
1121
+ planPlus?: boolean;
1122
+ planBasic?: boolean;
1123
+ member?: boolean;
1124
+ personalSubscriptionActive?: boolean;
1125
+ organizationSubscriptionActive?: boolean;
1126
+ validProfile?: boolean;
1127
+ validAndActivated?: boolean;
1128
+ deleted?: boolean;
1129
+ displayName?: string;
1130
+ initials?: string;
1131
+ createdAt?: string;
1104
1132
  }
1105
1133
  interface ProfileUpdateRequest {
1106
1134
  email?: string;
1107
1135
  imageUrl?: string;
1108
1136
  firstname?: string;
1109
1137
  lastname?: string;
1138
+ newsletter?: boolean;
1110
1139
  }
1111
1140
 
1112
1141
  interface ResourceConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timesheet/sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Official TypeScript SDK for the Timesheet API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",