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.
Files changed (47) hide show
  1. package/.github/RELEASE +1 -1
  2. package/.github/workflows/general.yml +2 -2
  3. package/.github/workflows/openapi.yml +2 -2
  4. package/.github/workflows/release.yml +2 -2
  5. package/.openapi-generator/FILES +10 -10
  6. package/.openapi-generator/VERSION +1 -1
  7. package/CHANGELOG.md +22 -0
  8. package/README.md +2 -2
  9. package/api/auth-api.ts +8 -36
  10. package/api/group-api.ts +12 -89
  11. package/api/profile-api.ts +0 -13
  12. package/api/user-api.ts +12 -89
  13. package/base.ts +0 -24
  14. package/common.ts +0 -37
  15. package/configuration.ts +25 -18
  16. package/docs/AuthApi.md +2 -2
  17. package/docs/GroupApi.md +4 -4
  18. package/docs/UserApi.md +4 -4
  19. package/flake.lock +36 -33
  20. package/model/auth-token.ts +0 -15
  21. package/model/auth-verify.ts +0 -15
  22. package/model/create-group-request.ts +0 -15
  23. package/model/create-user-request.ts +0 -35
  24. package/model/delete-group-from-user-request.ts +0 -10
  25. package/model/delete-user-from-group-request.ts +0 -10
  26. package/model/group.ts +0 -27
  27. package/model/index.ts +5 -5
  28. package/model/{inline-object2.ts → list-group-users200-response.ts} +1 -31
  29. package/model/{inline-object1.ts → list-groups200-response.ts} +1 -26
  30. package/model/{inline-object.ts → list-providers200-response.ts} +1 -16
  31. package/model/{inline-object4.ts → list-user-groups200-response.ts} +1 -31
  32. package/model/{inline-object3.ts → list-users200-response.ts} +1 -26
  33. package/model/login-auth-request.ts +0 -15
  34. package/model/notification.ts +0 -17
  35. package/model/permit-group-user-request.ts +0 -15
  36. package/model/permit-user-group-request.ts +0 -15
  37. package/model/profile.ts +0 -62
  38. package/model/provider.ts +0 -22
  39. package/model/redirect-auth-request.ts +0 -10
  40. package/model/update-profile-request.ts +0 -25
  41. package/model/update-user-request.ts +0 -35
  42. package/model/user-auth.ts +0 -22
  43. package/model/user-group.ts +0 -37
  44. package/model/user.ts +0 -57
  45. package/model/validation.ts +0 -12
  46. package/openapi.yml +1 -1
  47. package/package.json +2 -2
package/docs/UserApi.md CHANGED
@@ -243,7 +243,7 @@ const { status, data } = await apiInstance.deleteUserFromGroup(
243
243
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
244
244
 
245
245
  # **listUserGroups**
246
- > InlineObject4 listUserGroups()
246
+ > ListUserGroups200Response listUserGroups()
247
247
 
248
248
 
249
249
  ### Example
@@ -288,7 +288,7 @@ const { status, data } = await apiInstance.listUserGroups(
288
288
 
289
289
  ### Return type
290
290
 
291
- **InlineObject4**
291
+ **ListUserGroups200Response**
292
292
 
293
293
  ### Authorization
294
294
 
@@ -311,7 +311,7 @@ const { status, data } = await apiInstance.listUserGroups(
311
311
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
312
312
 
313
313
  # **listUsers**
314
- > InlineObject3 listUsers()
314
+ > ListUsers200Response listUsers()
315
315
 
316
316
 
317
317
  ### Example
@@ -353,7 +353,7 @@ const { status, data } = await apiInstance.listUsers(
353
353
 
354
354
  ### Return type
355
355
 
356
- **InlineObject3**
356
+ **ListUsers200Response**
357
357
 
358
358
  ### Authorization
359
359
 
package/flake.lock CHANGED
@@ -18,11 +18,11 @@
18
18
  ]
19
19
  },
20
20
  "locked": {
21
- "lastModified": 1748883665,
22
- "narHash": "sha256-R0W7uAg+BLoHjMRMQ8+oiSbTq8nkGz5RDpQ+ZfxxP3A=",
21
+ "lastModified": 1752264895,
22
+ "narHash": "sha256-1zBPE/PNAkPNUsOWFET4J0cjlvziH8DOekesDmjND+w=",
23
23
  "owner": "cachix",
24
24
  "repo": "cachix",
25
- "rev": "f707778d902af4d62d8dd92c269f8e70de09acbe",
25
+ "rev": "47053aef762f452e816e44eb9a23fbc3827b241a",
26
26
  "type": "github"
27
27
  },
28
28
  "original": {
@@ -36,16 +36,17 @@
36
36
  "inputs": {
37
37
  "cachix": "cachix",
38
38
  "flake-compat": "flake-compat",
39
+ "flake-parts": "flake-parts",
39
40
  "git-hooks": "git-hooks",
40
41
  "nix": "nix",
41
42
  "nixpkgs": "nixpkgs"
42
43
  },
43
44
  "locked": {
44
- "lastModified": 1757852601,
45
- "narHash": "sha256-be2fxf+sH2zB4W5hStXLlRk5qL2NtQ182XXvxjIatyM=",
45
+ "lastModified": 1761427990,
46
+ "narHash": "sha256-MnrJFwdkwt0FHvRj6vbVfCBWoAPW9O9+HOldMM1yeR8=",
46
47
  "owner": "cachix",
47
48
  "repo": "devenv",
48
- "rev": "8190bcacd6077785bc35b03fb281cc410f74d629",
49
+ "rev": "7419c04fc798d5d5918413d4cb6c8629f9d4e8a3",
49
50
  "type": "github"
50
51
  },
51
52
  "original": {
@@ -90,16 +91,15 @@
90
91
  "inputs": {
91
92
  "nixpkgs-lib": [
92
93
  "devenv",
93
- "nix",
94
94
  "nixpkgs"
95
95
  ]
96
96
  },
97
97
  "locked": {
98
- "lastModified": 1733312601,
99
- "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
98
+ "lastModified": 1756770412,
99
+ "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
100
100
  "owner": "hercules-ci",
101
101
  "repo": "flake-parts",
102
- "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
102
+ "rev": "4524271976b625a4a605beefd893f270620fd751",
103
103
  "type": "github"
104
104
  },
105
105
  "original": {
@@ -113,11 +113,11 @@
113
113
  "nixpkgs-lib": "nixpkgs-lib"
114
114
  },
115
115
  "locked": {
116
- "lastModified": 1756770412,
117
- "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
116
+ "lastModified": 1760948891,
117
+ "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=",
118
118
  "owner": "hercules-ci",
119
119
  "repo": "flake-parts",
120
- "rev": "4524271976b625a4a605beefd893f270620fd751",
120
+ "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04",
121
121
  "type": "github"
122
122
  },
123
123
  "original": {
@@ -139,11 +139,11 @@
139
139
  ]
140
140
  },
141
141
  "locked": {
142
- "lastModified": 1750779888,
143
- "narHash": "sha256-wibppH3g/E2lxU43ZQHC5yA/7kIKLGxVEnsnVK1BtRg=",
142
+ "lastModified": 1758108966,
143
+ "narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=",
144
144
  "owner": "cachix",
145
145
  "repo": "git-hooks.nix",
146
- "rev": "16ec914f6fb6f599ce988427d9d94efddf25fe6d",
146
+ "rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b",
147
147
  "type": "github"
148
148
  },
149
149
  "original": {
@@ -159,11 +159,11 @@
159
159
  "nixpkgs": "nixpkgs_2"
160
160
  },
161
161
  "locked": {
162
- "lastModified": 1757588530,
163
- "narHash": "sha256-tJ7A8mID3ct69n9WCvZ3PzIIl3rXTdptn/lZmqSS95U=",
162
+ "lastModified": 1760663237,
163
+ "narHash": "sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc=",
164
164
  "owner": "cachix",
165
165
  "repo": "git-hooks.nix",
166
- "rev": "b084b2c2b6bc23e83bbfe583b03664eb0b18c411",
166
+ "rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37",
167
167
  "type": "github"
168
168
  },
169
169
  "original": {
@@ -221,7 +221,10 @@
221
221
  "devenv",
222
222
  "flake-compat"
223
223
  ],
224
- "flake-parts": "flake-parts",
224
+ "flake-parts": [
225
+ "devenv",
226
+ "flake-parts"
227
+ ],
225
228
  "git-hooks-nix": [
226
229
  "devenv",
227
230
  "git-hooks"
@@ -238,27 +241,27 @@
238
241
  ]
239
242
  },
240
243
  "locked": {
241
- "lastModified": 1755029779,
242
- "narHash": "sha256-3+GHIYGg4U9XKUN4rg473frIVNn8YD06bjwxKS1IPrU=",
244
+ "lastModified": 1758763079,
245
+ "narHash": "sha256-Bx1A+lShhOWwMuy3uDzZQvYiBKBFcKwy6G6NEohhv6A=",
243
246
  "owner": "cachix",
244
247
  "repo": "nix",
245
- "rev": "b0972b0eee6726081d10b1199f54de6d2917f861",
248
+ "rev": "6f0140527c2b0346df4afad7497baa08decb929f",
246
249
  "type": "github"
247
250
  },
248
251
  "original": {
249
252
  "owner": "cachix",
250
- "ref": "devenv-2.30",
253
+ "ref": "devenv-2.30.5",
251
254
  "repo": "nix",
252
255
  "type": "github"
253
256
  }
254
257
  },
255
258
  "nixpkgs": {
256
259
  "locked": {
257
- "lastModified": 1750441195,
258
- "narHash": "sha256-yke+pm+MdgRb6c0dPt8MgDhv7fcBbdjmv1ZceNTyzKg=",
260
+ "lastModified": 1758532697,
261
+ "narHash": "sha256-bhop0bR3u7DCw9/PtLCwr7GwEWDlBSxHp+eVQhCW9t4=",
259
262
  "owner": "cachix",
260
263
  "repo": "devenv-nixpkgs",
261
- "rev": "0ceffe312871b443929ff3006960d29b120dc627",
264
+ "rev": "207a4cb0e1253c7658c6736becc6eb9cace1f25f",
262
265
  "type": "github"
263
266
  },
264
267
  "original": {
@@ -285,11 +288,11 @@
285
288
  },
286
289
  "nixpkgs_2": {
287
290
  "locked": {
288
- "lastModified": 1754340878,
289
- "narHash": "sha256-lgmUyVQL9tSnvvIvBp7x1euhkkCho7n3TMzgjdvgPoU=",
291
+ "lastModified": 1759070547,
292
+ "narHash": "sha256-JVZl8NaVRYb0+381nl7LvPE+A774/dRpif01FKLrYFQ=",
290
293
  "owner": "NixOS",
291
294
  "repo": "nixpkgs",
292
- "rev": "cab778239e705082fe97bb4990e0d24c50924c04",
295
+ "rev": "647e5c14cbd5067f44ac86b74f014962df460840",
293
296
  "type": "github"
294
297
  },
295
298
  "original": {
@@ -301,11 +304,11 @@
301
304
  },
302
305
  "nixpkgs_3": {
303
306
  "locked": {
304
- "lastModified": 1757745802,
305
- "narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=",
307
+ "lastModified": 1761373498,
308
+ "narHash": "sha256-Q/uhWNvd7V7k1H1ZPMy/vkx3F8C13ZcdrKjO7Jv7v0c=",
306
309
  "owner": "NixOS",
307
310
  "repo": "nixpkgs",
308
- "rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1",
311
+ "rev": "6a08e6bb4e46ff7fcbb53d409b253f6bad8a28ce",
309
312
  "type": "github"
310
313
  },
311
314
  "original": {
@@ -12,22 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- /**
16
- *
17
- * @export
18
- * @interface AuthToken
19
- */
20
15
  export interface AuthToken {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof AuthToken
25
- */
26
16
  token: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof AuthToken
31
- */
32
17
  expires_at?: string | null;
33
18
  }
@@ -12,22 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- /**
16
- *
17
- * @export
18
- * @interface AuthVerify
19
- */
20
15
  export interface AuthVerify {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof AuthVerify
25
- */
26
16
  username: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof AuthVerify
31
- */
32
17
  created_at?: string | null;
33
18
  }
@@ -12,22 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- /**
16
- *
17
- * @export
18
- * @interface CreateGroupRequest
19
- */
20
15
  export interface CreateGroupRequest {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof CreateGroupRequest
25
- */
26
16
  slug?: string | null;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof CreateGroupRequest
31
- */
32
17
  name?: string | null;
33
18
  }
@@ -12,46 +12,11 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- /**
16
- *
17
- * @export
18
- * @interface CreateUserRequest
19
- */
20
15
  export interface CreateUserRequest {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof CreateUserRequest
25
- */
26
16
  username?: string | null;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof CreateUserRequest
31
- */
32
17
  password?: string | null;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof CreateUserRequest
37
- */
38
18
  email?: string | null;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof CreateUserRequest
43
- */
44
19
  fullname?: string | null;
45
- /**
46
- *
47
- * @type {boolean}
48
- * @memberof CreateUserRequest
49
- */
50
20
  admin?: boolean | null;
51
- /**
52
- *
53
- * @type {boolean}
54
- * @memberof CreateUserRequest
55
- */
56
21
  active?: boolean | null;
57
22
  }
@@ -12,16 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- /**
16
- *
17
- * @export
18
- * @interface DeleteGroupFromUserRequest
19
- */
20
15
  export interface DeleteGroupFromUserRequest {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof DeleteGroupFromUserRequest
25
- */
26
16
  user: string;
27
17
  }
@@ -12,16 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- /**
16
- *
17
- * @export
18
- * @interface DeleteUserFromGroupRequest
19
- */
20
15
  export interface DeleteUserFromGroupRequest {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof DeleteUserFromGroupRequest
25
- */
26
16
  group: string;
27
17
  }
package/model/group.ts CHANGED
@@ -14,38 +14,11 @@
14
14
 
15
15
  /**
16
16
  * Model to represent group
17
- * @export
18
- * @interface Group
19
17
  */
20
18
  export interface Group {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof Group
25
- */
26
19
  id?: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof Group
31
- */
32
20
  slug?: string | null;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof Group
37
- */
38
21
  name?: string | null;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof Group
43
- */
44
22
  created_at?: string;
45
- /**
46
- *
47
- * @type {string}
48
- * @memberof Group
49
- */
50
23
  updated_at?: string;
51
24
  }
package/model/index.ts CHANGED
@@ -5,11 +5,11 @@ export * from "./create-user-request";
5
5
  export * from "./delete-group-from-user-request";
6
6
  export * from "./delete-user-from-group-request";
7
7
  export * from "./group";
8
- export * from "./inline-object";
9
- export * from "./inline-object1";
10
- export * from "./inline-object2";
11
- export * from "./inline-object3";
12
- export * from "./inline-object4";
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
13
  export * from "./login-auth-request";
14
14
  export * from "./notification";
15
15
  export * from "./permit-group-user-request";
@@ -19,40 +19,10 @@ import type { Group } from "./group";
19
19
  // @ts-ignore
20
20
  import type { UserGroup } from "./user-group";
21
21
 
22
- /**
23
- *
24
- * @export
25
- * @interface InlineObject2
26
- */
27
- export interface InlineObject2 {
28
- /**
29
- *
30
- * @type {number}
31
- * @memberof InlineObject2
32
- */
22
+ export interface ListGroupUsers200Response {
33
23
  total: number;
34
- /**
35
- *
36
- * @type {number}
37
- * @memberof InlineObject2
38
- */
39
24
  limit: number;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof InlineObject2
44
- */
45
25
  offset: number;
46
- /**
47
- *
48
- * @type {Group}
49
- * @memberof InlineObject2
50
- */
51
26
  group?: Group;
52
- /**
53
- *
54
- * @type {Array<UserGroup>}
55
- * @memberof InlineObject2
56
- */
57
27
  users: Array<UserGroup>;
58
28
  }
@@ -16,34 +16,9 @@
16
16
  // @ts-ignore
17
17
  import type { Group } from "./group";
18
18
 
19
- /**
20
- *
21
- * @export
22
- * @interface InlineObject1
23
- */
24
- export interface InlineObject1 {
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof InlineObject1
29
- */
19
+ export interface ListGroups200Response {
30
20
  total: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof InlineObject1
35
- */
36
21
  limit: number;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof InlineObject1
41
- */
42
22
  offset: number;
43
- /**
44
- *
45
- * @type {Array<Group>}
46
- * @memberof InlineObject1
47
- */
48
23
  groups: Array<Group>;
49
24
  }
@@ -16,22 +16,7 @@
16
16
  // @ts-ignore
17
17
  import type { Provider } from "./provider";
18
18
 
19
- /**
20
- *
21
- * @export
22
- * @interface InlineObject
23
- */
24
- export interface InlineObject {
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof InlineObject
29
- */
19
+ export interface ListProviders200Response {
30
20
  total: number;
31
- /**
32
- *
33
- * @type {Array<Provider>}
34
- * @memberof InlineObject
35
- */
36
21
  providers: Array<Provider>;
37
22
  }
@@ -19,40 +19,10 @@ import type { User } from "./user";
19
19
  // @ts-ignore
20
20
  import type { UserGroup } from "./user-group";
21
21
 
22
- /**
23
- *
24
- * @export
25
- * @interface InlineObject4
26
- */
27
- export interface InlineObject4 {
28
- /**
29
- *
30
- * @type {number}
31
- * @memberof InlineObject4
32
- */
22
+ export interface ListUserGroups200Response {
33
23
  total: number;
34
- /**
35
- *
36
- * @type {number}
37
- * @memberof InlineObject4
38
- */
39
24
  limit: number;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof InlineObject4
44
- */
45
25
  offset: number;
46
- /**
47
- *
48
- * @type {User}
49
- * @memberof InlineObject4
50
- */
51
26
  user?: User;
52
- /**
53
- *
54
- * @type {Array<UserGroup>}
55
- * @memberof InlineObject4
56
- */
57
27
  groups: Array<UserGroup>;
58
28
  }
@@ -16,34 +16,9 @@
16
16
  // @ts-ignore
17
17
  import type { User } from "./user";
18
18
 
19
- /**
20
- *
21
- * @export
22
- * @interface InlineObject3
23
- */
24
- export interface InlineObject3 {
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof InlineObject3
29
- */
19
+ export interface ListUsers200Response {
30
20
  total: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof InlineObject3
35
- */
36
21
  limit: number;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof InlineObject3
41
- */
42
22
  offset: number;
43
- /**
44
- *
45
- * @type {Array<User>}
46
- * @memberof InlineObject3
47
- */
48
23
  users: Array<User>;
49
24
  }
@@ -12,22 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- /**
16
- *
17
- * @export
18
- * @interface LoginAuthRequest
19
- */
20
15
  export interface LoginAuthRequest {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof LoginAuthRequest
25
- */
26
16
  username: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof LoginAuthRequest
31
- */
32
17
  password: string;
33
18
  }
@@ -18,26 +18,9 @@ import type { Validation } from "./validation";
18
18
 
19
19
  /**
20
20
  * Generic response for errors and validations
21
- * @export
22
- * @interface Notification
23
21
  */
24
22
  export interface Notification {
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof Notification
29
- */
30
23
  status?: number;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof Notification
35
- */
36
24
  message?: string;
37
- /**
38
- *
39
- * @type {Array<Validation>}
40
- * @memberof Notification
41
- */
42
25
  errors?: Array<Validation>;
43
26
  }
@@ -12,22 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- /**
16
- *
17
- * @export
18
- * @interface PermitGroupUserRequest
19
- */
20
15
  export interface PermitGroupUserRequest {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof PermitGroupUserRequest
25
- */
26
16
  user: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof PermitGroupUserRequest
31
- */
32
17
  perm: string;
33
18
  }