@etsoo/appscript 1.6.23 → 1.6.25
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/lib/cjs/api/dto/ResultPayload.d.ts +4 -0
- package/lib/cjs/api/rq/TokenAuthRQ.d.ts +13 -0
- package/lib/cjs/api/rq/TokenAuthRQ.js +2 -0
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/mjs/api/dto/ResultPayload.d.ts +4 -0
- package/lib/mjs/api/rq/TokenAuthRQ.d.ts +13 -0
- package/lib/mjs/api/rq/TokenAuthRQ.js +1 -0
- package/lib/mjs/index.d.ts +1 -0
- package/lib/mjs/index.js +1 -0
- package/package.json +2 -2
- package/src/api/dto/ResultPayload.ts +5 -0
- package/src/api/rq/TokenAuthRQ.ts +14 -0
- package/src/index.ts +1 -0
|
@@ -16,6 +16,10 @@ export type StringIdResultPayload = IApiPayload<IdActionResult<string>>;
|
|
|
16
16
|
* Id and message action result payload
|
|
17
17
|
*/
|
|
18
18
|
export type IdMsgResultPayload = IApiPayload<IdMsgActionResult>;
|
|
19
|
+
/**
|
|
20
|
+
* String id and message action result payload
|
|
21
|
+
*/
|
|
22
|
+
export type StringIdMsgResultPayload = IApiPayload<IdMsgActionResult<string>>;
|
|
19
23
|
/**
|
|
20
24
|
* Message action result payload
|
|
21
25
|
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token authentication request data for API calls.
|
|
3
|
+
*/
|
|
4
|
+
export type TokenAuthRQ = {
|
|
5
|
+
/**
|
|
6
|
+
* The access token to be used for authentication.
|
|
7
|
+
*/
|
|
8
|
+
accessToken: string;
|
|
9
|
+
/**
|
|
10
|
+
* The scheme of the token, e.g., "Bearer".
|
|
11
|
+
*/
|
|
12
|
+
tokenScheme?: string;
|
|
13
|
+
};
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export * from "./api/rq/ResetPasswordRQ";
|
|
|
33
33
|
export * from "./api/rq/SignoutRQ";
|
|
34
34
|
export * from "./api/rq/StatusQueryRQ";
|
|
35
35
|
export * from "./api/rq/SwitchOrgRQ";
|
|
36
|
+
export * from "./api/rq/TokenAuthRQ";
|
|
36
37
|
export * from "./api/rq/TokenRQ";
|
|
37
38
|
export * from "./api/rq/UpdateModel";
|
|
38
39
|
export * from "./api/rq/UpdateStatusRQ";
|
package/lib/cjs/index.js
CHANGED
|
@@ -52,6 +52,7 @@ __exportStar(require("./api/rq/ResetPasswordRQ"), exports);
|
|
|
52
52
|
__exportStar(require("./api/rq/SignoutRQ"), exports);
|
|
53
53
|
__exportStar(require("./api/rq/StatusQueryRQ"), exports);
|
|
54
54
|
__exportStar(require("./api/rq/SwitchOrgRQ"), exports);
|
|
55
|
+
__exportStar(require("./api/rq/TokenAuthRQ"), exports);
|
|
55
56
|
__exportStar(require("./api/rq/TokenRQ"), exports);
|
|
56
57
|
__exportStar(require("./api/rq/UpdateModel"), exports);
|
|
57
58
|
__exportStar(require("./api/rq/UpdateStatusRQ"), exports);
|
|
@@ -16,6 +16,10 @@ export type StringIdResultPayload = IApiPayload<IdActionResult<string>>;
|
|
|
16
16
|
* Id and message action result payload
|
|
17
17
|
*/
|
|
18
18
|
export type IdMsgResultPayload = IApiPayload<IdMsgActionResult>;
|
|
19
|
+
/**
|
|
20
|
+
* String id and message action result payload
|
|
21
|
+
*/
|
|
22
|
+
export type StringIdMsgResultPayload = IApiPayload<IdMsgActionResult<string>>;
|
|
19
23
|
/**
|
|
20
24
|
* Message action result payload
|
|
21
25
|
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token authentication request data for API calls.
|
|
3
|
+
*/
|
|
4
|
+
export type TokenAuthRQ = {
|
|
5
|
+
/**
|
|
6
|
+
* The access token to be used for authentication.
|
|
7
|
+
*/
|
|
8
|
+
accessToken: string;
|
|
9
|
+
/**
|
|
10
|
+
* The scheme of the token, e.g., "Bearer".
|
|
11
|
+
*/
|
|
12
|
+
tokenScheme?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/mjs/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export * from "./api/rq/ResetPasswordRQ";
|
|
|
33
33
|
export * from "./api/rq/SignoutRQ";
|
|
34
34
|
export * from "./api/rq/StatusQueryRQ";
|
|
35
35
|
export * from "./api/rq/SwitchOrgRQ";
|
|
36
|
+
export * from "./api/rq/TokenAuthRQ";
|
|
36
37
|
export * from "./api/rq/TokenRQ";
|
|
37
38
|
export * from "./api/rq/UpdateModel";
|
|
38
39
|
export * from "./api/rq/UpdateStatusRQ";
|
package/lib/mjs/index.js
CHANGED
|
@@ -35,6 +35,7 @@ export * from "./api/rq/ResetPasswordRQ";
|
|
|
35
35
|
export * from "./api/rq/SignoutRQ";
|
|
36
36
|
export * from "./api/rq/StatusQueryRQ";
|
|
37
37
|
export * from "./api/rq/SwitchOrgRQ";
|
|
38
|
+
export * from "./api/rq/TokenAuthRQ";
|
|
38
39
|
export * from "./api/rq/TokenRQ";
|
|
39
40
|
export * from "./api/rq/UpdateModel";
|
|
40
41
|
export * from "./api/rq/UpdateStatusRQ";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.25",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@etsoo/notificationbase": "^1.1.60",
|
|
39
39
|
"@etsoo/restclient": "^1.1.27",
|
|
40
|
-
"@etsoo/shared": "^1.2.
|
|
40
|
+
"@etsoo/shared": "^1.2.69",
|
|
41
41
|
"crypto-js": "^4.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -26,6 +26,11 @@ export type StringIdResultPayload = IApiPayload<IdActionResult<string>>;
|
|
|
26
26
|
*/
|
|
27
27
|
export type IdMsgResultPayload = IApiPayload<IdMsgActionResult>;
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* String id and message action result payload
|
|
31
|
+
*/
|
|
32
|
+
export type StringIdMsgResultPayload = IApiPayload<IdMsgActionResult<string>>;
|
|
33
|
+
|
|
29
34
|
/**
|
|
30
35
|
* Message action result payload
|
|
31
36
|
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Token authentication request data for API calls.
|
|
3
|
+
*/
|
|
4
|
+
export type TokenAuthRQ = {
|
|
5
|
+
/**
|
|
6
|
+
* The access token to be used for authentication.
|
|
7
|
+
*/
|
|
8
|
+
accessToken: string;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The scheme of the token, e.g., "Bearer".
|
|
12
|
+
*/
|
|
13
|
+
tokenScheme?: string;
|
|
14
|
+
};
|
package/src/index.ts
CHANGED
|
@@ -37,6 +37,7 @@ export * from "./api/rq/ResetPasswordRQ";
|
|
|
37
37
|
export * from "./api/rq/SignoutRQ";
|
|
38
38
|
export * from "./api/rq/StatusQueryRQ";
|
|
39
39
|
export * from "./api/rq/SwitchOrgRQ";
|
|
40
|
+
export * from "./api/rq/TokenAuthRQ";
|
|
40
41
|
export * from "./api/rq/TokenRQ";
|
|
41
42
|
export * from "./api/rq/UpdateModel";
|
|
42
43
|
export * from "./api/rq/UpdateStatusRQ";
|