@etsoo/appscript 1.5.20 → 1.5.21
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/__tests__/app/CoreApp.ts +17 -0
- package/lib/cjs/app/CoreApp.d.ts +59 -12
- package/lib/cjs/app/CoreApp.js +211 -52
- package/lib/cjs/app/ExternalSettings.d.ts +15 -14
- package/lib/cjs/app/ExternalSettings.js +3 -0
- package/lib/cjs/app/IApp.d.ts +33 -0
- package/lib/cjs/erp/AuthApi.js +1 -1
- package/lib/cjs/erp/dto/ApiRefreshTokenDto.d.ts +21 -0
- package/lib/cjs/erp/dto/ApiRefreshTokenDto.js +2 -0
- package/lib/mjs/app/CoreApp.d.ts +59 -12
- package/lib/mjs/app/CoreApp.js +213 -54
- package/lib/mjs/app/ExternalSettings.d.ts +15 -14
- package/lib/mjs/app/ExternalSettings.js +3 -0
- package/lib/mjs/app/IApp.d.ts +33 -0
- package/lib/mjs/erp/AuthApi.js +1 -1
- package/lib/mjs/erp/dto/ApiRefreshTokenDto.d.ts +21 -0
- package/lib/mjs/erp/dto/ApiRefreshTokenDto.js +1 -0
- package/package.json +9 -9
- package/src/app/CoreApp.ts +303 -63
- package/src/app/ExternalSettings.ts +21 -16
- package/src/app/IApp.ts +45 -0
- package/src/erp/AuthApi.ts +1 -1
- package/src/erp/dto/ApiRefreshTokenDto.ts +24 -0
package/src/erp/AuthApi.ts
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API refresh token data
|
|
3
|
+
*/
|
|
4
|
+
export type ApiRefreshTokenDto = {
|
|
5
|
+
/**
|
|
6
|
+
* Refresh token
|
|
7
|
+
*/
|
|
8
|
+
readonly refreshToken: string;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Access token
|
|
12
|
+
*/
|
|
13
|
+
readonly accessToken: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Token type
|
|
17
|
+
*/
|
|
18
|
+
readonly tokenType: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Expires in
|
|
22
|
+
*/
|
|
23
|
+
readonly expiresIn: number;
|
|
24
|
+
};
|