@hawk.so/types 0.5.5 → 0.5.6

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.
@@ -80,6 +80,21 @@ export interface ProjectTaskManagerConfig {
80
80
  * OAuth access token (user-to-server token)
81
81
  */
82
82
  accessToken: string;
83
+ /**
84
+ * Date when access token expires
85
+ * null if token expiration is disabled
86
+ */
87
+ accessTokenExpiresAt: Date | null;
88
+ /**
89
+ * OAuth refresh token
90
+ * Used to obtain new access tokens when they expire
91
+ */
92
+ refreshToken: string;
93
+ /**
94
+ * Date when refresh token expires
95
+ * null if refresh token expiration is disabled
96
+ */
97
+ refreshTokenExpiresAt: Date | null;
83
98
  /**
84
99
  * Date when token was created/saved
85
100
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawk.so/types",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "TypeScript definitions for Hawk",
5
5
  "types": "build/index.d.ts",
6
6
  "main": "build/index.js",
@@ -96,6 +96,24 @@ export interface ProjectTaskManagerConfig {
96
96
  */
97
97
  accessToken: string;
98
98
 
99
+ /**
100
+ * Date when access token expires
101
+ * null if token expiration is disabled
102
+ */
103
+ accessTokenExpiresAt: Date | null;
104
+
105
+ /**
106
+ * OAuth refresh token
107
+ * Used to obtain new access tokens when they expire
108
+ */
109
+ refreshToken: string;
110
+
111
+ /**
112
+ * Date when refresh token expires
113
+ * null if refresh token expiration is disabled
114
+ */
115
+ refreshTokenExpiresAt: Date | null;
116
+
99
117
  /**
100
118
  * Date when token was created/saved
101
119
  */