gopadjs 2.4.1 → 2.5.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/renovate.json +1 -1
- package/.openapi-generator/FILES +18 -10
- package/CHANGELOG.md +14 -0
- package/README.md +2 -2
- package/api/auth-api.ts +179 -114
- package/api/{team-api.ts → group-api.ts} +466 -472
- package/api/profile-api.ts +33 -18
- package/api/user-api.ts +220 -236
- package/api.ts +1 -1
- package/flake.lock +6 -6
- package/model/create-group-request.ts +33 -0
- package/model/create-user-request.ts +57 -0
- package/model/delete-group-from-user-request.ts +27 -0
- package/model/delete-user-from-group-request.ts +27 -0
- package/model/{team.ts → group.ts} +8 -18
- package/model/index.ts +17 -9
- package/model/list-group-users200-response.ts +58 -0
- package/model/{team-users.ts → list-groups200-response.ts} +18 -15
- package/model/{teams.ts → list-providers200-response.ts} +9 -9
- package/model/{user-teams.ts → list-user-groups200-response.ts} +24 -12
- package/model/{users.ts → list-users200-response.ts} +19 -7
- package/model/{auth-login.ts → login-auth-request.ts} +4 -4
- package/model/{team-user-params.ts → permit-group-user-request.ts} +6 -15
- package/model/{user-team-params.ts → permit-user-group-request.ts} +7 -16
- package/model/profile.ts +3 -3
- package/model/provider.ts +45 -0
- package/model/update-profile-request.ts +45 -0
- package/model/update-user-request.ts +57 -0
- package/model/{user-team.ts → user-group.ts} +19 -19
- package/model/user.ts +0 -9
- package/openapi.yml +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
package/flake.lock
CHANGED
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"nixpkgs": "nixpkgs_3"
|
|
38
38
|
},
|
|
39
39
|
"locked": {
|
|
40
|
-
"lastModified":
|
|
41
|
-
"narHash": "sha256-
|
|
40
|
+
"lastModified": 1739444039,
|
|
41
|
+
"narHash": "sha256-J7PLowc4pCdEkXEWtm72bC6gNNlT7sgNAq5YMZmvvkg=",
|
|
42
42
|
"owner": "cachix",
|
|
43
43
|
"repo": "devenv",
|
|
44
|
-
"rev": "
|
|
44
|
+
"rev": "1235cd13f47df6ad19c8a183c6eabc1facb7c399",
|
|
45
45
|
"type": "github"
|
|
46
46
|
},
|
|
47
47
|
"original": {
|
|
@@ -337,11 +337,11 @@
|
|
|
337
337
|
},
|
|
338
338
|
"nixpkgs_5": {
|
|
339
339
|
"locked": {
|
|
340
|
-
"lastModified":
|
|
341
|
-
"narHash": "sha256
|
|
340
|
+
"lastModified": 1739580444,
|
|
341
|
+
"narHash": "sha256-+/bSz4EAVbqz8/HsIGLroF8aNaO8bLRL7WfACN+24g4=",
|
|
342
342
|
"owner": "NixOS",
|
|
343
343
|
"repo": "nixpkgs",
|
|
344
|
-
"rev": "
|
|
344
|
+
"rev": "8bb37161a0488b89830168b81c48aed11569cb93",
|
|
345
345
|
"type": "github"
|
|
346
346
|
},
|
|
347
347
|
"original": {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Gopad OpenAPI
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with go
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: gopad@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateGroupRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateGroupRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateGroupRequest
|
|
25
|
+
*/
|
|
26
|
+
slug?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CreateGroupRequest
|
|
31
|
+
*/
|
|
32
|
+
name?: string | null;
|
|
33
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Gopad OpenAPI
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with go
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: gopad@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateUserRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateUserRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateUserRequest
|
|
25
|
+
*/
|
|
26
|
+
username?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CreateUserRequest
|
|
31
|
+
*/
|
|
32
|
+
password?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CreateUserRequest
|
|
37
|
+
*/
|
|
38
|
+
email?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof CreateUserRequest
|
|
43
|
+
*/
|
|
44
|
+
fullname?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @memberof CreateUserRequest
|
|
49
|
+
*/
|
|
50
|
+
admin?: boolean | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @memberof CreateUserRequest
|
|
55
|
+
*/
|
|
56
|
+
active?: boolean | null;
|
|
57
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Gopad OpenAPI
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with go
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: gopad@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface DeleteGroupFromUserRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface DeleteGroupFromUserRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof DeleteGroupFromUserRequest
|
|
25
|
+
*/
|
|
26
|
+
user: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Gopad OpenAPI
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with go
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: gopad@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface DeleteUserFromGroupRequest
|
|
19
|
+
*/
|
|
20
|
+
export interface DeleteUserFromGroupRequest {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof DeleteUserFromGroupRequest
|
|
25
|
+
*/
|
|
26
|
+
group: string;
|
|
27
|
+
}
|
|
@@ -12,50 +12,40 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
// May contain unused imports in some cases
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
import type { UserTeam } from "./user-team";
|
|
18
|
-
|
|
19
15
|
/**
|
|
20
|
-
* Model to represent
|
|
16
|
+
* Model to represent group
|
|
21
17
|
* @export
|
|
22
|
-
* @interface
|
|
18
|
+
* @interface Group
|
|
23
19
|
*/
|
|
24
|
-
export interface
|
|
20
|
+
export interface Group {
|
|
25
21
|
/**
|
|
26
22
|
*
|
|
27
23
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
24
|
+
* @memberof Group
|
|
29
25
|
*/
|
|
30
26
|
id?: string;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
29
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
30
|
+
* @memberof Group
|
|
35
31
|
*/
|
|
36
32
|
slug?: string | null;
|
|
37
33
|
/**
|
|
38
34
|
*
|
|
39
35
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
36
|
+
* @memberof Group
|
|
41
37
|
*/
|
|
42
38
|
name?: string | null;
|
|
43
39
|
/**
|
|
44
40
|
*
|
|
45
41
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
42
|
+
* @memberof Group
|
|
47
43
|
*/
|
|
48
44
|
created_at?: string;
|
|
49
45
|
/**
|
|
50
46
|
*
|
|
51
47
|
* @type {string}
|
|
52
|
-
* @memberof
|
|
48
|
+
* @memberof Group
|
|
53
49
|
*/
|
|
54
50
|
updated_at?: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<UserTeam>}
|
|
58
|
-
* @memberof Team
|
|
59
|
-
*/
|
|
60
|
-
users?: Array<UserTeam> | null;
|
|
61
51
|
}
|
package/model/index.ts
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
1
|
-
export * from "./auth-login";
|
|
2
1
|
export * from "./auth-token";
|
|
3
2
|
export * from "./auth-verify";
|
|
3
|
+
export * from "./create-group-request";
|
|
4
|
+
export * from "./create-user-request";
|
|
5
|
+
export * from "./delete-group-from-user-request";
|
|
6
|
+
export * from "./delete-user-from-group-request";
|
|
7
|
+
export * from "./group";
|
|
8
|
+
export * from "./list-group-users200-response";
|
|
9
|
+
export * from "./list-groups200-response";
|
|
10
|
+
export * from "./list-providers200-response";
|
|
11
|
+
export * from "./list-user-groups200-response";
|
|
12
|
+
export * from "./list-users200-response";
|
|
13
|
+
export * from "./login-auth-request";
|
|
4
14
|
export * from "./notification";
|
|
15
|
+
export * from "./permit-group-user-request";
|
|
16
|
+
export * from "./permit-user-group-request";
|
|
5
17
|
export * from "./profile";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./teams";
|
|
18
|
+
export * from "./provider";
|
|
19
|
+
export * from "./update-profile-request";
|
|
20
|
+
export * from "./update-user-request";
|
|
10
21
|
export * from "./user";
|
|
11
22
|
export * from "./user-auth";
|
|
12
|
-
export * from "./user-
|
|
13
|
-
export * from "./user-team-params";
|
|
14
|
-
export * from "./user-teams";
|
|
15
|
-
export * from "./users";
|
|
23
|
+
export * from "./user-group";
|
|
16
24
|
export * from "./validation";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Gopad OpenAPI
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with go
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: gopad@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
// May contain unused imports in some cases
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
import type { Group } from "./group";
|
|
18
|
+
// May contain unused imports in some cases
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import type { UserGroup } from "./user-group";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
* @interface ListGroupUsers200Response
|
|
26
|
+
*/
|
|
27
|
+
export interface ListGroupUsers200Response {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ListGroupUsers200Response
|
|
32
|
+
*/
|
|
33
|
+
total: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ListGroupUsers200Response
|
|
38
|
+
*/
|
|
39
|
+
limit: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ListGroupUsers200Response
|
|
44
|
+
*/
|
|
45
|
+
offset: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Group}
|
|
49
|
+
* @memberof ListGroupUsers200Response
|
|
50
|
+
*/
|
|
51
|
+
group?: Group;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<UserGroup>}
|
|
55
|
+
* @memberof ListGroupUsers200Response
|
|
56
|
+
*/
|
|
57
|
+
users: Array<UserGroup>;
|
|
58
|
+
}
|
|
@@ -14,33 +14,36 @@
|
|
|
14
14
|
|
|
15
15
|
// May contain unused imports in some cases
|
|
16
16
|
// @ts-ignore
|
|
17
|
-
import type {
|
|
18
|
-
// May contain unused imports in some cases
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
import type { UserTeam } from "./user-team";
|
|
17
|
+
import type { Group } from "./group";
|
|
21
18
|
|
|
22
19
|
/**
|
|
23
|
-
*
|
|
20
|
+
*
|
|
24
21
|
* @export
|
|
25
|
-
* @interface
|
|
22
|
+
* @interface ListGroups200Response
|
|
26
23
|
*/
|
|
27
|
-
export interface
|
|
24
|
+
export interface ListGroups200Response {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListGroups200Response
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
28
31
|
/**
|
|
29
32
|
*
|
|
30
|
-
* @type {
|
|
31
|
-
* @memberof
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListGroups200Response
|
|
32
35
|
*/
|
|
33
|
-
|
|
36
|
+
limit: number;
|
|
34
37
|
/**
|
|
35
38
|
*
|
|
36
39
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
40
|
+
* @memberof ListGroups200Response
|
|
38
41
|
*/
|
|
39
|
-
|
|
42
|
+
offset: number;
|
|
40
43
|
/**
|
|
41
44
|
*
|
|
42
|
-
* @type {Array<
|
|
43
|
-
* @memberof
|
|
45
|
+
* @type {Array<Group>}
|
|
46
|
+
* @memberof ListGroups200Response
|
|
44
47
|
*/
|
|
45
|
-
|
|
48
|
+
groups: Array<Group>;
|
|
46
49
|
}
|
|
@@ -14,24 +14,24 @@
|
|
|
14
14
|
|
|
15
15
|
// May contain unused imports in some cases
|
|
16
16
|
// @ts-ignore
|
|
17
|
-
import type {
|
|
17
|
+
import type { Provider } from "./provider";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
*
|
|
21
21
|
* @export
|
|
22
|
-
* @interface
|
|
22
|
+
* @interface ListProviders200Response
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface ListProviders200Response {
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {number}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof ListProviders200Response
|
|
29
29
|
*/
|
|
30
|
-
total
|
|
30
|
+
total: number;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {Array<
|
|
34
|
-
* @memberof
|
|
33
|
+
* @type {Array<Provider>}
|
|
34
|
+
* @memberof ListProviders200Response
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
providers: Array<Provider>;
|
|
37
37
|
}
|
|
@@ -17,30 +17,42 @@
|
|
|
17
17
|
import type { User } from "./user";
|
|
18
18
|
// May contain unused imports in some cases
|
|
19
19
|
// @ts-ignore
|
|
20
|
-
import type {
|
|
20
|
+
import type { UserGroup } from "./user-group";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
*
|
|
24
24
|
* @export
|
|
25
|
-
* @interface
|
|
25
|
+
* @interface ListUserGroups200Response
|
|
26
26
|
*/
|
|
27
|
-
export interface
|
|
27
|
+
export interface ListUserGroups200Response {
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {
|
|
31
|
-
* @memberof
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ListUserGroups200Response
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
total: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ListUserGroups200Response
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
limit: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ListUserGroups200Response
|
|
44
|
+
*/
|
|
45
|
+
offset: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {User}
|
|
49
|
+
* @memberof ListUserGroups200Response
|
|
50
|
+
*/
|
|
51
|
+
user?: User;
|
|
40
52
|
/**
|
|
41
53
|
*
|
|
42
|
-
* @type {Array<
|
|
43
|
-
* @memberof
|
|
54
|
+
* @type {Array<UserGroup>}
|
|
55
|
+
* @memberof ListUserGroups200Response
|
|
44
56
|
*/
|
|
45
|
-
|
|
57
|
+
groups: Array<UserGroup>;
|
|
46
58
|
}
|
|
@@ -17,21 +17,33 @@
|
|
|
17
17
|
import type { User } from "./user";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
*
|
|
21
21
|
* @export
|
|
22
|
-
* @interface
|
|
22
|
+
* @interface ListUsers200Response
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface ListUsers200Response {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListUsers200Response
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListUsers200Response
|
|
35
|
+
*/
|
|
36
|
+
limit: number;
|
|
25
37
|
/**
|
|
26
38
|
*
|
|
27
39
|
* @type {number}
|
|
28
|
-
* @memberof
|
|
40
|
+
* @memberof ListUsers200Response
|
|
29
41
|
*/
|
|
30
|
-
|
|
42
|
+
offset: number;
|
|
31
43
|
/**
|
|
32
44
|
*
|
|
33
45
|
* @type {Array<User>}
|
|
34
|
-
* @memberof
|
|
46
|
+
* @memberof ListUsers200Response
|
|
35
47
|
*/
|
|
36
|
-
users
|
|
48
|
+
users: Array<User>;
|
|
37
49
|
}
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface LoginAuthRequest
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface LoginAuthRequest {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof LoginAuthRequest
|
|
25
25
|
*/
|
|
26
26
|
username: string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof LoginAuthRequest
|
|
31
31
|
*/
|
|
32
32
|
password: string;
|
|
33
33
|
}
|
|
@@ -13,30 +13,21 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface PermitGroupUserRequest
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface PermitGroupUserRequest {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof PermitGroupUserRequest
|
|
25
25
|
*/
|
|
26
26
|
user: string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof PermitGroupUserRequest
|
|
31
31
|
*/
|
|
32
|
-
perm
|
|
32
|
+
perm: string;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
export const TeamUserParamsPermEnum = {
|
|
36
|
-
User: "user",
|
|
37
|
-
Admin: "admin",
|
|
38
|
-
Owner: "owner",
|
|
39
|
-
} as const;
|
|
40
|
-
|
|
41
|
-
export type TeamUserParamsPermEnum =
|
|
42
|
-
(typeof TeamUserParamsPermEnum)[keyof typeof TeamUserParamsPermEnum];
|
|
@@ -13,30 +13,21 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface PermitUserGroupRequest
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface PermitUserGroupRequest {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof PermitUserGroupRequest
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
group: string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof PermitUserGroupRequest
|
|
31
31
|
*/
|
|
32
|
-
perm
|
|
32
|
+
perm: string;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
export const UserTeamParamsPermEnum = {
|
|
36
|
-
User: "user",
|
|
37
|
-
Admin: "admin",
|
|
38
|
-
Owner: "owner",
|
|
39
|
-
} as const;
|
|
40
|
-
|
|
41
|
-
export type UserTeamParamsPermEnum =
|
|
42
|
-
(typeof UserTeamParamsPermEnum)[keyof typeof UserTeamParamsPermEnum];
|
package/model/profile.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import type { UserAuth } from "./user-auth";
|
|
18
18
|
// May contain unused imports in some cases
|
|
19
19
|
// @ts-ignore
|
|
20
|
-
import type {
|
|
20
|
+
import type { UserGroup } from "./user-group";
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Model to represent profile
|
|
@@ -93,8 +93,8 @@ export interface Profile {
|
|
|
93
93
|
auths?: Array<UserAuth> | null;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
|
-
* @type {Array<
|
|
96
|
+
* @type {Array<UserGroup>}
|
|
97
97
|
* @memberof Profile
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
groups?: Array<UserGroup> | null;
|
|
100
100
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Gopad OpenAPI
|
|
5
|
+
* API definition for Gopad, Etherpad for markdown with go
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0-alpha1
|
|
8
|
+
* Contact: gopad@webhippie.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model to represent auth provider
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Provider
|
|
19
|
+
*/
|
|
20
|
+
export interface Provider {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Provider
|
|
25
|
+
*/
|
|
26
|
+
name?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Provider
|
|
31
|
+
*/
|
|
32
|
+
driver?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Provider
|
|
37
|
+
*/
|
|
38
|
+
display?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Provider
|
|
43
|
+
*/
|
|
44
|
+
icon?: string;
|
|
45
|
+
}
|