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/.github/RELEASE CHANGED
@@ -1 +1 @@
1
- Mon Sep 15 08:14:24 UTC 2025
1
+ Mon Oct 27 08:14:53 UTC 2025
@@ -19,9 +19,9 @@ jobs:
19
19
  uses: actions/checkout@v5
20
20
 
21
21
  - name: Setup nodejs
22
- uses: actions/setup-node@v5
22
+ uses: actions/setup-node@v6
23
23
  with:
24
- node-version: 22.x
24
+ node-version: 24.x
25
25
  cache: 'npm'
26
26
  cache-dependency-path: package-lock.json
27
27
 
@@ -32,9 +32,9 @@ jobs:
32
32
  uses: actions/checkout@v5
33
33
 
34
34
  - name: Setup nodejs
35
- uses: actions/setup-node@v5
35
+ uses: actions/setup-node@v6
36
36
  with:
37
- node-version: 22.x
37
+ node-version: 24.x
38
38
  cache: 'npm'
39
39
  cache-dependency-path: package-lock.json
40
40
 
@@ -22,9 +22,9 @@ jobs:
22
22
  token: ${{ secrets.BOT_ACCESS_TOKEN }}
23
23
 
24
24
  - name: Setup nodejs
25
- uses: actions/setup-node@v5
25
+ uses: actions/setup-node@v6
26
26
  with:
27
- node-version: 22.x
27
+ node-version: 24.x
28
28
 
29
29
  - name: Install releaser
30
30
  run: |
@@ -17,11 +17,11 @@ docs/DeleteGroupFromUserRequest.md
17
17
  docs/DeleteUserFromGroupRequest.md
18
18
  docs/Group.md
19
19
  docs/GroupApi.md
20
- docs/InlineObject.md
21
- docs/InlineObject1.md
22
- docs/InlineObject2.md
23
- docs/InlineObject3.md
24
- docs/InlineObject4.md
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/inline-object.ts
50
- model/inline-object1.ts
51
- model/inline-object2.ts
52
- model/inline-object3.ts
53
- model/inline-object4.ts
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.14.0
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: 2.18.0
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@2.18.0
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 { InlineObject } from "../model";
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
- (axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>
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(options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
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)