gopadjs 2.18.0 → 3.0.0
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/.github/RELEASE +1 -1
- package/.github/workflows/general.yml +2 -2
- package/.github/workflows/openapi.yml +2 -2
- package/.github/workflows/release.yml +2 -2
- package/.openapi-generator/FILES +10 -10
- package/.openapi-generator/VERSION +1 -1
- package/CHANGELOG.md +22 -0
- package/README.md +2 -2
- package/api/auth-api.ts +8 -36
- package/api/group-api.ts +12 -89
- package/api/profile-api.ts +0 -13
- package/api/user-api.ts +12 -89
- package/base.ts +0 -24
- package/common.ts +0 -37
- package/configuration.ts +25 -18
- package/docs/AuthApi.md +2 -2
- package/docs/GroupApi.md +4 -4
- package/docs/UserApi.md +4 -4
- package/flake.lock +36 -33
- package/model/auth-token.ts +0 -15
- package/model/auth-verify.ts +0 -15
- package/model/create-group-request.ts +0 -15
- package/model/create-user-request.ts +0 -35
- package/model/delete-group-from-user-request.ts +0 -10
- package/model/delete-user-from-group-request.ts +0 -10
- package/model/group.ts +0 -27
- package/model/index.ts +5 -5
- package/model/{inline-object2.ts → list-group-users200-response.ts} +1 -31
- package/model/{inline-object1.ts → list-groups200-response.ts} +1 -26
- package/model/{inline-object.ts → list-providers200-response.ts} +1 -16
- package/model/{inline-object4.ts → list-user-groups200-response.ts} +1 -31
- package/model/{inline-object3.ts → list-users200-response.ts} +1 -26
- package/model/login-auth-request.ts +0 -15
- package/model/notification.ts +0 -17
- package/model/permit-group-user-request.ts +0 -15
- package/model/permit-user-group-request.ts +0 -15
- package/model/profile.ts +0 -62
- package/model/provider.ts +0 -22
- package/model/redirect-auth-request.ts +0 -10
- package/model/update-profile-request.ts +0 -25
- package/model/update-user-request.ts +0 -35
- package/model/user-auth.ts +0 -22
- package/model/user-group.ts +0 -37
- package/model/user.ts +0 -57
- package/model/validation.ts +0 -12
- package/openapi.yml +1 -1
- package/package.json +2 -2
|
@@ -12,22 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface PermitUserGroupRequest
|
|
19
|
-
*/
|
|
20
15
|
export interface PermitUserGroupRequest {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof PermitUserGroupRequest
|
|
25
|
-
*/
|
|
26
16
|
group: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof PermitUserGroupRequest
|
|
31
|
-
*/
|
|
32
17
|
perm: string;
|
|
33
18
|
}
|
package/model/profile.ts
CHANGED
|
@@ -21,80 +21,18 @@ import type { UserGroup } from "./user-group";
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Model to represent profile
|
|
24
|
-
* @export
|
|
25
|
-
* @interface Profile
|
|
26
24
|
*/
|
|
27
25
|
export interface Profile {
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Profile
|
|
32
|
-
*/
|
|
33
26
|
id?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Profile
|
|
38
|
-
*/
|
|
39
27
|
username?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Profile
|
|
44
|
-
*/
|
|
45
28
|
password?: string | null;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof Profile
|
|
50
|
-
*/
|
|
51
29
|
email?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof Profile
|
|
56
|
-
*/
|
|
57
30
|
fullname?: string | null;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof Profile
|
|
62
|
-
*/
|
|
63
31
|
profile?: string | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @memberof Profile
|
|
68
|
-
*/
|
|
69
32
|
admin?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {boolean}
|
|
73
|
-
* @memberof Profile
|
|
74
|
-
*/
|
|
75
33
|
active?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof Profile
|
|
80
|
-
*/
|
|
81
34
|
created_at?: string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof Profile
|
|
86
|
-
*/
|
|
87
35
|
updated_at?: string;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {Array<UserAuth>}
|
|
91
|
-
* @memberof Profile
|
|
92
|
-
*/
|
|
93
36
|
auths?: Array<UserAuth> | null;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {Array<UserGroup>}
|
|
97
|
-
* @memberof Profile
|
|
98
|
-
*/
|
|
99
37
|
groups?: Array<UserGroup> | null;
|
|
100
38
|
}
|
package/model/provider.ts
CHANGED
|
@@ -14,32 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model to represent auth provider
|
|
17
|
-
* @export
|
|
18
|
-
* @interface Provider
|
|
19
17
|
*/
|
|
20
18
|
export interface Provider {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof Provider
|
|
25
|
-
*/
|
|
26
19
|
name?: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof Provider
|
|
31
|
-
*/
|
|
32
20
|
driver?: string;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof Provider
|
|
37
|
-
*/
|
|
38
21
|
display?: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof Provider
|
|
43
|
-
*/
|
|
44
22
|
icon?: string;
|
|
45
23
|
}
|
|
@@ -12,16 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface RedirectAuthRequest
|
|
19
|
-
*/
|
|
20
15
|
export interface RedirectAuthRequest {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof RedirectAuthRequest
|
|
25
|
-
*/
|
|
26
16
|
token: string;
|
|
27
17
|
}
|
|
@@ -12,34 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface UpdateProfileRequest
|
|
19
|
-
*/
|
|
20
15
|
export interface UpdateProfileRequest {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof UpdateProfileRequest
|
|
25
|
-
*/
|
|
26
16
|
username?: string | null;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof UpdateProfileRequest
|
|
31
|
-
*/
|
|
32
17
|
password?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof UpdateProfileRequest
|
|
37
|
-
*/
|
|
38
18
|
email?: string | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof UpdateProfileRequest
|
|
43
|
-
*/
|
|
44
19
|
fullname?: string | null;
|
|
45
20
|
}
|
|
@@ -12,46 +12,11 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface UpdateUserRequest
|
|
19
|
-
*/
|
|
20
15
|
export interface UpdateUserRequest {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof UpdateUserRequest
|
|
25
|
-
*/
|
|
26
16
|
username?: string | null;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof UpdateUserRequest
|
|
31
|
-
*/
|
|
32
17
|
password?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof UpdateUserRequest
|
|
37
|
-
*/
|
|
38
18
|
email?: string | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof UpdateUserRequest
|
|
43
|
-
*/
|
|
44
19
|
fullname?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {boolean}
|
|
48
|
-
* @memberof UpdateUserRequest
|
|
49
|
-
*/
|
|
50
20
|
admin?: boolean | null;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {boolean}
|
|
54
|
-
* @memberof UpdateUserRequest
|
|
55
|
-
*/
|
|
56
21
|
active?: boolean | null;
|
|
57
22
|
}
|
package/model/user-auth.ts
CHANGED
|
@@ -14,32 +14,10 @@
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model to represent user auth
|
|
17
|
-
* @export
|
|
18
|
-
* @interface UserAuth
|
|
19
17
|
*/
|
|
20
18
|
export interface UserAuth {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof UserAuth
|
|
25
|
-
*/
|
|
26
19
|
provider?: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof UserAuth
|
|
31
|
-
*/
|
|
32
20
|
ref?: string;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof UserAuth
|
|
37
|
-
*/
|
|
38
21
|
created_at?: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof UserAuth
|
|
43
|
-
*/
|
|
44
22
|
updated_at?: string;
|
|
45
23
|
}
|
package/model/user-group.ts
CHANGED
|
@@ -21,51 +21,14 @@ import type { User } from "./user";
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Model to represent user group
|
|
24
|
-
* @export
|
|
25
|
-
* @interface UserGroup
|
|
26
24
|
*/
|
|
27
25
|
export interface UserGroup {
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UserGroup
|
|
32
|
-
*/
|
|
33
26
|
user_id: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {User}
|
|
37
|
-
* @memberof UserGroup
|
|
38
|
-
*/
|
|
39
27
|
user?: User;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof UserGroup
|
|
44
|
-
*/
|
|
45
28
|
group_id: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Group}
|
|
49
|
-
* @memberof UserGroup
|
|
50
|
-
*/
|
|
51
29
|
group?: Group;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof UserGroup
|
|
56
|
-
*/
|
|
57
30
|
perm?: UserGroupPermEnum;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof UserGroup
|
|
62
|
-
*/
|
|
63
31
|
created_at?: string;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof UserGroup
|
|
68
|
-
*/
|
|
69
32
|
updated_at?: string;
|
|
70
33
|
}
|
|
71
34
|
|
package/model/user.ts
CHANGED
|
@@ -18,74 +18,17 @@ import type { UserAuth } from "./user-auth";
|
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Model to represent user
|
|
21
|
-
* @export
|
|
22
|
-
* @interface User
|
|
23
21
|
*/
|
|
24
22
|
export interface User {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof User
|
|
29
|
-
*/
|
|
30
23
|
id?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof User
|
|
35
|
-
*/
|
|
36
24
|
username?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof User
|
|
41
|
-
*/
|
|
42
25
|
password?: string | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof User
|
|
47
|
-
*/
|
|
48
26
|
email?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof User
|
|
53
|
-
*/
|
|
54
27
|
fullname?: string | null;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof User
|
|
59
|
-
*/
|
|
60
28
|
profile?: string | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {boolean}
|
|
64
|
-
* @memberof User
|
|
65
|
-
*/
|
|
66
29
|
admin?: boolean | null;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {boolean}
|
|
70
|
-
* @memberof User
|
|
71
|
-
*/
|
|
72
30
|
active?: boolean | null;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof User
|
|
77
|
-
*/
|
|
78
31
|
created_at?: string;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof User
|
|
83
|
-
*/
|
|
84
32
|
updated_at?: string;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {Array<UserAuth>}
|
|
88
|
-
* @memberof User
|
|
89
|
-
*/
|
|
90
33
|
auths?: Array<UserAuth> | null;
|
|
91
34
|
}
|
package/model/validation.ts
CHANGED
|
@@ -14,20 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* General structure to show validation errors
|
|
17
|
-
* @export
|
|
18
|
-
* @interface Validation
|
|
19
17
|
*/
|
|
20
18
|
export interface Validation {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof Validation
|
|
25
|
-
*/
|
|
26
19
|
field?: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof Validation
|
|
31
|
-
*/
|
|
32
20
|
message?: string;
|
|
33
21
|
}
|
package/openapi.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gopadjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "OpenAPI client for Gopad",
|
|
5
5
|
"homepage": "https://github.com/gopad/gopad-js#readme",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"axios": "^1.6.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/node": "12.11.5 -
|
|
37
|
+
"@types/node": "12.11.5 - 24.10",
|
|
38
38
|
"prettier": "^3.2.5",
|
|
39
39
|
"typescript": "^4.0 || ^5.0"
|
|
40
40
|
}
|