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
package/.github/RELEASE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Mon
|
|
1
|
+
Mon Oct 27 08:14:53 UTC 2025
|
package/.openapi-generator/FILES
CHANGED
|
@@ -17,11 +17,11 @@ docs/DeleteGroupFromUserRequest.md
|
|
|
17
17
|
docs/DeleteUserFromGroupRequest.md
|
|
18
18
|
docs/Group.md
|
|
19
19
|
docs/GroupApi.md
|
|
20
|
-
docs/
|
|
21
|
-
docs/
|
|
22
|
-
docs/
|
|
23
|
-
docs/
|
|
24
|
-
docs/
|
|
20
|
+
docs/ListGroupUsers200Response.md
|
|
21
|
+
docs/ListGroups200Response.md
|
|
22
|
+
docs/ListProviders200Response.md
|
|
23
|
+
docs/ListUserGroups200Response.md
|
|
24
|
+
docs/ListUsers200Response.md
|
|
25
25
|
docs/LoginAuthRequest.md
|
|
26
26
|
docs/Notification.md
|
|
27
27
|
docs/PermitGroupUserRequest.md
|
|
@@ -46,11 +46,11 @@ model/delete-group-from-user-request.ts
|
|
|
46
46
|
model/delete-user-from-group-request.ts
|
|
47
47
|
model/group.ts
|
|
48
48
|
model/index.ts
|
|
49
|
-
model/
|
|
50
|
-
model/
|
|
51
|
-
model/
|
|
52
|
-
model/
|
|
53
|
-
model/
|
|
49
|
+
model/list-group-users200-response.ts
|
|
50
|
+
model/list-groups200-response.ts
|
|
51
|
+
model/list-providers200-response.ts
|
|
52
|
+
model/list-user-groups200-response.ts
|
|
53
|
+
model/list-users200-response.ts
|
|
54
54
|
model/login-auth-request.ts
|
|
55
55
|
model/notification.ts
|
|
56
56
|
model/permit-group-user-request.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.17.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.0.0](https://github.com/gopad/gopad-js/compare/v2.19.0...v3.0.0) (2025-11-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* automated openapi client update ([0f5348b](https://github.com/gopad/gopad-js/commit/0f5348b71c3d4c94378d62f281b2b78a57d60775))
|
|
9
|
+
* **deps:** update dependency @types/node to 12.11.5 - 24.10 ([#214](https://github.com/gopad/gopad-js/issues/214)) ([da9a0c3](https://github.com/gopad/gopad-js/commit/da9a0c3f02923a5d9008bdfa16f17044190fd6af))
|
|
10
|
+
* **deps:** update dependency @types/node to v24 ([#211](https://github.com/gopad/gopad-js/issues/211)) ([9c108a0](https://github.com/gopad/gopad-js/commit/9c108a0679bcf236262a41308c10dd361ca88aa3))
|
|
11
|
+
* **deps:** update dependency axios to v1.13.0 ([#209](https://github.com/gopad/gopad-js/issues/209)) ([b29db4b](https://github.com/gopad/gopad-js/commit/b29db4b96f07227e4623abf0bb3095d92bca921f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bugfixes
|
|
15
|
+
|
|
16
|
+
* **deps:** update dependency axios to v1.13.1 ([#212](https://github.com/gopad/gopad-js/issues/212)) ([22e154b](https://github.com/gopad/gopad-js/commit/22e154b38faca39403d46e5ea459cb0212e634f4))
|
|
17
|
+
|
|
18
|
+
## [2.19.0](https://github.com/gopad/gopad-js/compare/v2.18.0...v2.19.0) (2025-10-13)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* automated openapi client update ([0e1a9ca](https://github.com/gopad/gopad-js/commit/0e1a9caae63fc6e50e5dd7dee8b28a62684a045e))
|
|
24
|
+
|
|
3
25
|
## [2.18.0](https://github.com/gopad/gopad-js/compare/v2.17.0...v2.18.0) (2025-09-22)
|
|
4
26
|
|
|
5
27
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This repository provides a client SDK for Typescript/Javascript. This SDK is
|
|
|
6
6
|
automatically generated by the [OpenAPI Generator][generator] project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.0.0-alpha1
|
|
9
|
-
- Package version:
|
|
9
|
+
- Package version: 3.0.0
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen
|
|
11
11
|
|
|
12
12
|
For more information, please visit [https://gopad.eu](https://gopad.eu)
|
|
@@ -39,7 +39,7 @@ the following command within your project directory, after that you can import
|
|
|
39
39
|
it as other libraries:
|
|
40
40
|
|
|
41
41
|
```console
|
|
42
|
-
npm install --save gopadjs@
|
|
42
|
+
npm install --save gopadjs@3.0.0
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### Installation with Git
|
package/api/auth-api.ts
CHANGED
|
@@ -46,7 +46,7 @@ import type { AuthToken } from "../model";
|
|
|
46
46
|
// @ts-ignore
|
|
47
47
|
import type { AuthVerify } from "../model";
|
|
48
48
|
// @ts-ignore
|
|
49
|
-
import type {
|
|
49
|
+
import type { ListProviders200Response } from "../model";
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { LoginAuthRequest } from "../model";
|
|
52
52
|
// @ts-ignore
|
|
@@ -55,7 +55,6 @@ import type { Notification } from "../model";
|
|
|
55
55
|
import type { RedirectAuthRequest } from "../model";
|
|
56
56
|
/**
|
|
57
57
|
* AuthApi - axios parameter creator
|
|
58
|
-
* @export
|
|
59
58
|
*/
|
|
60
59
|
export const AuthApiAxiosParamCreator = function (
|
|
61
60
|
configuration?: Configuration,
|
|
@@ -421,7 +420,6 @@ export const AuthApiAxiosParamCreator = function (
|
|
|
421
420
|
|
|
422
421
|
/**
|
|
423
422
|
* AuthApi - functional programming interface
|
|
424
|
-
* @export
|
|
425
423
|
*/
|
|
426
424
|
export const AuthApiFp = function (configuration?: Configuration) {
|
|
427
425
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
@@ -472,7 +470,10 @@ export const AuthApiFp = function (configuration?: Configuration) {
|
|
|
472
470
|
async listProviders(
|
|
473
471
|
options?: RawAxiosRequestConfig,
|
|
474
472
|
): Promise<
|
|
475
|
-
(
|
|
473
|
+
(
|
|
474
|
+
axios?: AxiosInstance,
|
|
475
|
+
basePath?: string,
|
|
476
|
+
) => AxiosPromise<ListProviders200Response>
|
|
476
477
|
> {
|
|
477
478
|
const localVarAxiosArgs =
|
|
478
479
|
await localVarAxiosParamCreator.listProviders(options);
|
|
@@ -634,7 +635,6 @@ export const AuthApiFp = function (configuration?: Configuration) {
|
|
|
634
635
|
|
|
635
636
|
/**
|
|
636
637
|
* AuthApi - factory interface
|
|
637
|
-
* @export
|
|
638
638
|
*/
|
|
639
639
|
export const AuthApiFactory = function (
|
|
640
640
|
configuration?: Configuration,
|
|
@@ -669,7 +669,9 @@ export const AuthApiFactory = function (
|
|
|
669
669
|
* @param {*} [options] Override http request option.
|
|
670
670
|
* @throws {RequiredError}
|
|
671
671
|
*/
|
|
672
|
-
listProviders(
|
|
672
|
+
listProviders(
|
|
673
|
+
options?: RawAxiosRequestConfig,
|
|
674
|
+
): AxiosPromise<ListProviders200Response> {
|
|
673
675
|
return localVarFp
|
|
674
676
|
.listProviders(options)
|
|
675
677
|
.then((request) => request(axios, basePath));
|
|
@@ -746,79 +748,56 @@ export const AuthApiFactory = function (
|
|
|
746
748
|
|
|
747
749
|
/**
|
|
748
750
|
* Request parameters for callbackProvider operation in AuthApi.
|
|
749
|
-
* @export
|
|
750
|
-
* @interface AuthApiCallbackProviderRequest
|
|
751
751
|
*/
|
|
752
752
|
export interface AuthApiCallbackProviderRequest {
|
|
753
753
|
/**
|
|
754
754
|
* An identifier for the auth provider
|
|
755
|
-
* @type {string}
|
|
756
|
-
* @memberof AuthApiCallbackProvider
|
|
757
755
|
*/
|
|
758
756
|
readonly provider: string;
|
|
759
757
|
|
|
760
758
|
/**
|
|
761
759
|
* Auth state
|
|
762
|
-
* @type {string}
|
|
763
|
-
* @memberof AuthApiCallbackProvider
|
|
764
760
|
*/
|
|
765
761
|
readonly state?: string;
|
|
766
762
|
|
|
767
763
|
/**
|
|
768
764
|
* Auth code
|
|
769
|
-
* @type {string}
|
|
770
|
-
* @memberof AuthApiCallbackProvider
|
|
771
765
|
*/
|
|
772
766
|
readonly code?: string;
|
|
773
767
|
}
|
|
774
768
|
|
|
775
769
|
/**
|
|
776
770
|
* Request parameters for loginAuth operation in AuthApi.
|
|
777
|
-
* @export
|
|
778
|
-
* @interface AuthApiLoginAuthRequest
|
|
779
771
|
*/
|
|
780
772
|
export interface AuthApiLoginAuthRequest {
|
|
781
773
|
/**
|
|
782
774
|
* The credentials to authenticate
|
|
783
|
-
* @type {LoginAuthRequest}
|
|
784
|
-
* @memberof AuthApiLoginAuth
|
|
785
775
|
*/
|
|
786
776
|
readonly loginAuthRequest: LoginAuthRequest;
|
|
787
777
|
}
|
|
788
778
|
|
|
789
779
|
/**
|
|
790
780
|
* Request parameters for redirectAuth operation in AuthApi.
|
|
791
|
-
* @export
|
|
792
|
-
* @interface AuthApiRedirectAuthRequest
|
|
793
781
|
*/
|
|
794
782
|
export interface AuthApiRedirectAuthRequest {
|
|
795
783
|
/**
|
|
796
784
|
* The redirect token to authenticate
|
|
797
|
-
* @type {RedirectAuthRequest}
|
|
798
|
-
* @memberof AuthApiRedirectAuth
|
|
799
785
|
*/
|
|
800
786
|
readonly redirectAuthRequest: RedirectAuthRequest;
|
|
801
787
|
}
|
|
802
788
|
|
|
803
789
|
/**
|
|
804
790
|
* Request parameters for requestProvider operation in AuthApi.
|
|
805
|
-
* @export
|
|
806
|
-
* @interface AuthApiRequestProviderRequest
|
|
807
791
|
*/
|
|
808
792
|
export interface AuthApiRequestProviderRequest {
|
|
809
793
|
/**
|
|
810
794
|
* An identifier for the auth provider
|
|
811
|
-
* @type {string}
|
|
812
|
-
* @memberof AuthApiRequestProvider
|
|
813
795
|
*/
|
|
814
796
|
readonly provider: string;
|
|
815
797
|
}
|
|
816
798
|
|
|
817
799
|
/**
|
|
818
800
|
* AuthApi - object-oriented interface
|
|
819
|
-
* @export
|
|
820
|
-
* @class AuthApi
|
|
821
|
-
* @extends {BaseAPI}
|
|
822
801
|
*/
|
|
823
802
|
export class AuthApi extends BaseAPI {
|
|
824
803
|
/**
|
|
@@ -827,7 +806,6 @@ export class AuthApi extends BaseAPI {
|
|
|
827
806
|
* @param {AuthApiCallbackProviderRequest} requestParameters Request parameters.
|
|
828
807
|
* @param {*} [options] Override http request option.
|
|
829
808
|
* @throws {RequiredError}
|
|
830
|
-
* @memberof AuthApi
|
|
831
809
|
*/
|
|
832
810
|
public callbackProvider(
|
|
833
811
|
requestParameters: AuthApiCallbackProviderRequest,
|
|
@@ -848,7 +826,6 @@ export class AuthApi extends BaseAPI {
|
|
|
848
826
|
* @summary Fetch the available auth providers
|
|
849
827
|
* @param {*} [options] Override http request option.
|
|
850
828
|
* @throws {RequiredError}
|
|
851
|
-
* @memberof AuthApi
|
|
852
829
|
*/
|
|
853
830
|
public listProviders(options?: RawAxiosRequestConfig) {
|
|
854
831
|
return AuthApiFp(this.configuration)
|
|
@@ -862,7 +839,6 @@ export class AuthApi extends BaseAPI {
|
|
|
862
839
|
* @param {AuthApiLoginAuthRequest} requestParameters Request parameters.
|
|
863
840
|
* @param {*} [options] Override http request option.
|
|
864
841
|
* @throws {RequiredError}
|
|
865
|
-
* @memberof AuthApi
|
|
866
842
|
*/
|
|
867
843
|
public loginAuth(
|
|
868
844
|
requestParameters: AuthApiLoginAuthRequest,
|
|
@@ -879,7 +855,6 @@ export class AuthApi extends BaseAPI {
|
|
|
879
855
|
* @param {AuthApiRedirectAuthRequest} requestParameters Request parameters.
|
|
880
856
|
* @param {*} [options] Override http request option.
|
|
881
857
|
* @throws {RequiredError}
|
|
882
|
-
* @memberof AuthApi
|
|
883
858
|
*/
|
|
884
859
|
public redirectAuth(
|
|
885
860
|
requestParameters: AuthApiRedirectAuthRequest,
|
|
@@ -895,7 +870,6 @@ export class AuthApi extends BaseAPI {
|
|
|
895
870
|
* @summary Refresh an auth token before it expires
|
|
896
871
|
* @param {*} [options] Override http request option.
|
|
897
872
|
* @throws {RequiredError}
|
|
898
|
-
* @memberof AuthApi
|
|
899
873
|
*/
|
|
900
874
|
public refreshAuth(options?: RawAxiosRequestConfig) {
|
|
901
875
|
return AuthApiFp(this.configuration)
|
|
@@ -909,7 +883,6 @@ export class AuthApi extends BaseAPI {
|
|
|
909
883
|
* @param {AuthApiRequestProviderRequest} requestParameters Request parameters.
|
|
910
884
|
* @param {*} [options] Override http request option.
|
|
911
885
|
* @throws {RequiredError}
|
|
912
|
-
* @memberof AuthApi
|
|
913
886
|
*/
|
|
914
887
|
public requestProvider(
|
|
915
888
|
requestParameters: AuthApiRequestProviderRequest,
|
|
@@ -925,7 +898,6 @@ export class AuthApi extends BaseAPI {
|
|
|
925
898
|
* @summary Verify validity for an authentication token
|
|
926
899
|
* @param {*} [options] Override http request option.
|
|
927
900
|
* @throws {RequiredError}
|
|
928
|
-
* @memberof AuthApi
|
|
929
901
|
*/
|
|
930
902
|
public verifyAuth(options?: RawAxiosRequestConfig) {
|
|
931
903
|
return AuthApiFp(this.configuration)
|