gopadjs 2.6.3 → 2.6.4

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/settings.yml +73 -20
  3. package/.openapi-generator/FILES +1 -0
  4. package/.openapi-generator/VERSION +1 -1
  5. package/CHANGELOG.md +7 -0
  6. package/README.md +2 -2
  7. package/api/auth-api.ts +133 -1
  8. package/api/group-api.ts +1 -1
  9. package/api/profile-api.ts +1 -1
  10. package/api/user-api.ts +1 -1
  11. package/api.ts +1 -1
  12. package/base.ts +1 -1
  13. package/common.ts +1 -1
  14. package/configuration.ts +8 -2
  15. package/flake.lock +12 -12
  16. package/hack/generate-client.sh +2 -2
  17. package/hack/openapi/templates/gitignore +1 -0
  18. package/index.ts +1 -1
  19. package/model/auth-token.ts +1 -1
  20. package/model/auth-verify.ts +1 -1
  21. package/model/create-group-request.ts +1 -1
  22. package/model/create-user-request.ts +1 -1
  23. package/model/delete-group-from-user-request.ts +1 -1
  24. package/model/delete-user-from-group-request.ts +1 -1
  25. package/model/group.ts +1 -1
  26. package/model/index.ts +1 -0
  27. package/model/list-group-users200-response.ts +1 -1
  28. package/model/list-groups200-response.ts +1 -1
  29. package/model/list-providers200-response.ts +1 -1
  30. package/model/list-user-groups200-response.ts +1 -1
  31. package/model/list-users200-response.ts +1 -1
  32. package/model/login-auth-request.ts +1 -1
  33. package/model/notification.ts +1 -1
  34. package/model/permit-group-user-request.ts +1 -1
  35. package/model/permit-user-group-request.ts +1 -1
  36. package/model/profile.ts +1 -1
  37. package/model/provider.ts +1 -1
  38. package/model/redirect-auth-request.ts +27 -0
  39. package/model/update-profile-request.ts +1 -1
  40. package/model/update-user-request.ts +1 -1
  41. package/model/user-auth.ts +1 -1
  42. package/model/user-group.ts +1 -1
  43. package/model/user.ts +1 -1
  44. package/model/validation.ts +1 -1
  45. package/openapi.yml +1 -1
  46. package/package.json +1 -1
  47. package/openapitools.json +0 -7
package/.github/RELEASE CHANGED
@@ -1 +1 @@
1
- Mon Mar 17 08:13:38 UTC 2025
1
+ Mon Mar 24 08:13:29 UTC 2025
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  repository:
3
3
  name: gopad-js
4
- description: "Gopad: SDK for Javascript"
4
+ description: Javascript SDK for Gopad
5
5
  homepage: https://gopad.eu
6
6
  topics: gopad, etherpad, sdk, openapi, javascript
7
7
 
@@ -12,8 +12,8 @@ repository:
12
12
 
13
13
  default_branch: master
14
14
 
15
+ allow_merge_commit: false
15
16
  allow_squash_merge: true
16
- allow_merge_commit: true
17
17
  allow_rebase_merge: true
18
18
 
19
19
  allow_update_branch: true
@@ -22,24 +22,77 @@ repository:
22
22
  enable_automated_security_fixes: true
23
23
  enable_vulnerability_alerts: true
24
24
 
25
- branches:
26
- - name: master
27
- protection:
28
- required_pull_request_reviews: null
29
- required_status_checks:
30
- strict: true
31
- contexts:
32
- - testing
33
- enforce_admins: false
34
- restrictions:
35
- apps:
36
- - renovate
37
- - gopad
38
- users: []
39
- teams:
40
- - admins
41
- - bots
42
- - members
25
+ rulesets:
26
+ - name: prevent destruction
27
+ target: branch
28
+ enforcement: active
29
+ conditions:
30
+ ref_name:
31
+ include:
32
+ - "~DEFAULT_BRANCH"
33
+ exclude: []
34
+ rules:
35
+ - type: required_linear_history
36
+ - type: deletion
37
+ - type: non_fast_forward
38
+
39
+ - name: check verification
40
+ target: branch
41
+ enforcement: active
42
+ conditions:
43
+ ref_name:
44
+ include:
45
+ - "~DEFAULT_BRANCH"
46
+ exclude: []
47
+ rules:
48
+ - type: required_status_checks
49
+ parameters:
50
+ strict_required_status_checks_policy: true
51
+ required_status_checks:
52
+ - context: Semantic PR
53
+ integration_id: 198092
54
+ - context: testing
55
+ integration_id: 15368
56
+ bypass_actors:
57
+ - actor_id: 1
58
+ actor_type: OrganizationAdmin
59
+ bypass_mode: always
60
+ - actor_id: 906029 # app
61
+ actor_type: Integration
62
+ bypass_mode: always
63
+ - actor_id: 2825367 # bots
64
+ actor_type: Team
65
+ bypass_mode: always
66
+
67
+ - name: require reviewing
68
+ target: branch
69
+ enforcement: active
70
+ conditions:
71
+ ref_name:
72
+ include:
73
+ - "~DEFAULT_BRANCH"
74
+ exclude: []
75
+ rules:
76
+ - type: pull_request
77
+ parameters:
78
+ allowed_merge_methods:
79
+ - squash
80
+ - rebase
81
+ dismiss_stale_reviews_on_push: false
82
+ require_code_owner_review: false
83
+ require_last_push_approval: false
84
+ required_approving_review_count: 0
85
+ required_review_thread_resolution: false
86
+ bypass_actors:
87
+ - actor_id: 1
88
+ actor_type: OrganizationAdmin
89
+ bypass_mode: always
90
+ - actor_id: 906029 # app
91
+ actor_type: Integration
92
+ bypass_mode: always
93
+ - actor_id: 2825367 # bots
94
+ actor_type: Team
95
+ bypass_mode: always
43
96
 
44
97
  teams:
45
98
  - name: admins
@@ -28,6 +28,7 @@ model/permit-group-user-request.ts
28
28
  model/permit-user-group-request.ts
29
29
  model/profile.ts
30
30
  model/provider.ts
31
+ model/redirect-auth-request.ts
31
32
  model/update-profile-request.ts
32
33
  model/update-user-request.ts
33
34
  model/user-auth.ts
@@ -1 +1 @@
1
- 7.6.0
1
+ 7.12.0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.6.4](https://github.com/gopad/gopad-js/compare/v2.6.3...v2.6.4) (2025-03-31)
4
+
5
+
6
+ ### Bugfixes
7
+
8
+ * use correct spec and update definition ([5f997ae](https://github.com/gopad/gopad-js/commit/5f997ae8ee5aefa335cb083d5aed50f2503a2677))
9
+
3
10
  ## [2.6.3](https://github.com/gopad/gopad-js/compare/v2.6.2...v2.6.3) (2025-03-24)
4
11
 
5
12
 
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.6.3
9
+ - Package version: 2.6.4
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.6.3
42
+ npm install --save gopadjs@2.6.4
43
43
  ```
44
44
 
45
45
  ### Installation with Git
package/api/auth-api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -51,6 +51,8 @@ import type { ListProviders200Response } from "../model";
51
51
  import type { LoginAuthRequest } from "../model";
52
52
  // @ts-ignore
53
53
  import type { Notification } from "../model";
54
+ // @ts-ignore
55
+ import type { RedirectAuthRequest } from "../model";
54
56
  /**
55
57
  * AuthApi - axios parameter creator
56
58
  * @export
@@ -206,6 +208,60 @@ export const AuthApiAxiosParamCreator = function (
206
208
  options: localVarRequestOptions,
207
209
  };
208
210
  },
211
+ /**
212
+ *
213
+ * @summary Retrieve real token after redirect
214
+ * @param {RedirectAuthRequest} redirectAuthRequest The redirect token to authenticate
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ redirectAuth: async (
219
+ redirectAuthRequest: RedirectAuthRequest,
220
+ options: RawAxiosRequestConfig = {},
221
+ ): Promise<RequestArgs> => {
222
+ // verify required parameter 'redirectAuthRequest' is not null or undefined
223
+ assertParamExists(
224
+ "redirectAuth",
225
+ "redirectAuthRequest",
226
+ redirectAuthRequest,
227
+ );
228
+ const localVarPath = `/auth/redirect`;
229
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
230
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
231
+ let baseOptions;
232
+ if (configuration) {
233
+ baseOptions = configuration.baseOptions;
234
+ }
235
+
236
+ const localVarRequestOptions = {
237
+ method: "POST",
238
+ ...baseOptions,
239
+ ...options,
240
+ };
241
+ const localVarHeaderParameter = {} as any;
242
+ const localVarQueryParameter = {} as any;
243
+
244
+ localVarHeaderParameter["Content-Type"] = "application/json";
245
+
246
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
247
+ let headersFromBaseOptions =
248
+ baseOptions && baseOptions.headers ? baseOptions.headers : {};
249
+ localVarRequestOptions.headers = {
250
+ ...localVarHeaderParameter,
251
+ ...headersFromBaseOptions,
252
+ ...options.headers,
253
+ };
254
+ localVarRequestOptions.data = serializeDataIfNeeded(
255
+ redirectAuthRequest,
256
+ localVarRequestOptions,
257
+ configuration,
258
+ );
259
+
260
+ return {
261
+ url: toPathString(localVarUrlObj),
262
+ options: localVarRequestOptions,
263
+ };
264
+ },
209
265
  /**
210
266
  *
211
267
  * @summary Refresh an auth token before it expires
@@ -465,6 +521,36 @@ export const AuthApiFp = function (configuration?: Configuration) {
465
521
  configuration,
466
522
  )(axios, localVarOperationServerBasePath || basePath);
467
523
  },
524
+ /**
525
+ *
526
+ * @summary Retrieve real token after redirect
527
+ * @param {RedirectAuthRequest} redirectAuthRequest The redirect token to authenticate
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ async redirectAuth(
532
+ redirectAuthRequest: RedirectAuthRequest,
533
+ options?: RawAxiosRequestConfig,
534
+ ): Promise<
535
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthToken>
536
+ > {
537
+ const localVarAxiosArgs = await localVarAxiosParamCreator.redirectAuth(
538
+ redirectAuthRequest,
539
+ options,
540
+ );
541
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
542
+ const localVarOperationServerBasePath =
543
+ operationServerMap["AuthApi.redirectAuth"]?.[
544
+ localVarOperationServerIndex
545
+ ]?.url;
546
+ return (axios, basePath) =>
547
+ createRequestFunction(
548
+ localVarAxiosArgs,
549
+ globalAxios,
550
+ BASE_PATH,
551
+ configuration,
552
+ )(axios, localVarOperationServerBasePath || basePath);
553
+ },
468
554
  /**
469
555
  *
470
556
  * @summary Refresh an auth token before it expires
@@ -608,6 +694,21 @@ export const AuthApiFactory = function (
608
694
  .loginAuth(requestParameters.loginAuthRequest, options)
609
695
  .then((request) => request(axios, basePath));
610
696
  },
697
+ /**
698
+ *
699
+ * @summary Retrieve real token after redirect
700
+ * @param {AuthApiRedirectAuthRequest} requestParameters Request parameters.
701
+ * @param {*} [options] Override http request option.
702
+ * @throws {RequiredError}
703
+ */
704
+ redirectAuth(
705
+ requestParameters: AuthApiRedirectAuthRequest,
706
+ options?: RawAxiosRequestConfig,
707
+ ): AxiosPromise<AuthToken> {
708
+ return localVarFp
709
+ .redirectAuth(requestParameters.redirectAuthRequest, options)
710
+ .then((request) => request(axios, basePath));
711
+ },
611
712
  /**
612
713
  *
613
714
  * @summary Refresh an auth token before it expires
@@ -690,6 +791,20 @@ export interface AuthApiLoginAuthRequest {
690
791
  readonly loginAuthRequest: LoginAuthRequest;
691
792
  }
692
793
 
794
+ /**
795
+ * Request parameters for redirectAuth operation in AuthApi.
796
+ * @export
797
+ * @interface AuthApiRedirectAuthRequest
798
+ */
799
+ export interface AuthApiRedirectAuthRequest {
800
+ /**
801
+ * The redirect token to authenticate
802
+ * @type {RedirectAuthRequest}
803
+ * @memberof AuthApiRedirectAuth
804
+ */
805
+ readonly redirectAuthRequest: RedirectAuthRequest;
806
+ }
807
+
693
808
  /**
694
809
  * Request parameters for requestProvider operation in AuthApi.
695
810
  * @export
@@ -763,6 +878,23 @@ export class AuthApi extends BaseAPI {
763
878
  .then((request) => request(this.axios, this.basePath));
764
879
  }
765
880
 
881
+ /**
882
+ *
883
+ * @summary Retrieve real token after redirect
884
+ * @param {AuthApiRedirectAuthRequest} requestParameters Request parameters.
885
+ * @param {*} [options] Override http request option.
886
+ * @throws {RequiredError}
887
+ * @memberof AuthApi
888
+ */
889
+ public redirectAuth(
890
+ requestParameters: AuthApiRedirectAuthRequest,
891
+ options?: RawAxiosRequestConfig,
892
+ ) {
893
+ return AuthApiFp(this.configuration)
894
+ .redirectAuth(requestParameters.redirectAuthRequest, options)
895
+ .then((request) => request(this.axios, this.basePath));
896
+ }
897
+
766
898
  /**
767
899
  *
768
900
  * @summary Refresh an auth token before it expires
package/api/group-api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/api/user-api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/base.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/common.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/configuration.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -104,7 +104,13 @@ export class Configuration {
104
104
  this.accessToken = param.accessToken;
105
105
  this.basePath = param.basePath;
106
106
  this.serverIndex = param.serverIndex;
107
- this.baseOptions = param.baseOptions;
107
+ this.baseOptions = {
108
+ ...param.baseOptions,
109
+ headers: {
110
+ "User-Agent": "gopad-js/1.0.0-alpha1",
111
+ ...param.baseOptions?.headers,
112
+ },
113
+ };
108
114
  this.formDataCtor = param.formDataCtor;
109
115
  }
110
116
 
package/flake.lock CHANGED
@@ -37,11 +37,11 @@
37
37
  "nixpkgs": "nixpkgs_3"
38
38
  },
39
39
  "locked": {
40
- "lastModified": 1742147141,
41
- "narHash": "sha256-pTgorBdmI0rMrFirATgMIye65/jL72De8Kxh7rBT/58=",
40
+ "lastModified": 1742659231,
41
+ "narHash": "sha256-7bvafmxXeRfoAtWSJeTFmHlCHMte0cZecGE/BvvgyqE=",
42
42
  "owner": "cachix",
43
43
  "repo": "devenv",
44
- "rev": "e1eb23d427a3a0871c277268a28163898fd37266",
44
+ "rev": "c651cb04013be972767aaecb3e9a98fc930d080e",
45
45
  "type": "github"
46
46
  },
47
47
  "original": {
@@ -154,11 +154,11 @@
154
154
  "nixpkgs": "nixpkgs_4"
155
155
  },
156
156
  "locked": {
157
- "lastModified": 1742058297,
158
- "narHash": "sha256-b4SZc6TkKw8WQQssbN5O2DaCEzmFfvSTPYHlx/SFW9Y=",
157
+ "lastModified": 1742649964,
158
+ "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=",
159
159
  "owner": "cachix",
160
160
  "repo": "git-hooks.nix",
161
- "rev": "59f17850021620cd348ad2e9c0c64f4e6325ce2a",
161
+ "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
162
162
  "type": "github"
163
163
  },
164
164
  "original": {
@@ -245,11 +245,11 @@
245
245
  ]
246
246
  },
247
247
  "locked": {
248
- "lastModified": 1734114420,
249
- "narHash": "sha256-n52PUzub5jZWc8nI/sR7UICOheU8rNA+YZ73YaHeCBg=",
248
+ "lastModified": 1741798497,
249
+ "narHash": "sha256-E3j+3MoY8Y96mG1dUIiLFm2tZmNbRvSiyN7CrSKuAVg=",
250
250
  "owner": "domenkozar",
251
251
  "repo": "nix",
252
- "rev": "bde6a1a0d1f2af86caa4d20d23eca019f3d57eee",
252
+ "rev": "f3f44b2baaf6c4c6e179de8cbb1cc6db031083cd",
253
253
  "type": "github"
254
254
  },
255
255
  "original": {
@@ -340,11 +340,11 @@
340
340
  },
341
341
  "nixpkgs_5": {
342
342
  "locked": {
343
- "lastModified": 1742069588,
344
- "narHash": "sha256-C7jVfohcGzdZRF6DO+ybyG/sqpo1h6bZi9T56sxLy+k=",
343
+ "lastModified": 1742669843,
344
+ "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
345
345
  "owner": "NixOS",
346
346
  "repo": "nixpkgs",
347
- "rev": "c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5",
347
+ "rev": "1e5b653dff12029333a6546c11e108ede13052eb",
348
348
  "type": "github"
349
349
  },
350
350
  "original": {
@@ -14,11 +14,11 @@ if ! hash openapi-generator-cli 2>/dev/null; then
14
14
  fi
15
15
 
16
16
  SPEC_VERSION="1.0.0-alpha1"
17
- SPEC_DOWNLOAD=${SPEC:-https://dl.gopad.eu/openapi/${SPEC_VERSION}.yml}
17
+ SPEC_DOWNLOAD=${SPEC:-https://dl.gopad.eu/openapi/${SPEC_VERSION}.yaml}
18
18
 
19
19
  pushd "${ROOT}" >/dev/null
20
20
  echo "> deleting apis and models"
21
- rm -rf api model
21
+ rm -rf api model openapitools.json
22
22
 
23
23
  export TS_POST_PROCESS_FILE="npx prettier -w"
24
24
 
@@ -6,3 +6,4 @@ dist/
6
6
  node_modules/
7
7
 
8
8
  .pre-commit-config.yaml
9
+ openapitools.json
package/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/model/group.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/model/index.ts CHANGED
@@ -16,6 +16,7 @@ export * from "./permit-group-user-request";
16
16
  export * from "./permit-user-group-request";
17
17
  export * from "./profile";
18
18
  export * from "./provider";
19
+ export * from "./redirect-auth-request";
19
20
  export * from "./update-profile-request";
20
21
  export * from "./update-user-request";
21
22
  export * from "./user";
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/model/profile.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/model/provider.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -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 RedirectAuthRequest
19
+ */
20
+ export interface RedirectAuthRequest {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof RedirectAuthRequest
25
+ */
26
+ token: string;
27
+ }
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/model/user.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Gopad OpenAPI
5
- * API definition for Gopad, Etherpad for markdown with go
5
+ * API definition for Gopad, Etherpad for markdown with Go
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0.0-alpha1
8
8
  * Contact: gopad@webhippie.de
package/openapi.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  npmName: gopadjs
3
- npmVersion: 2.6.3
3
+ npmVersion: 2.6.4
4
4
  supportsES6: true
5
5
  useSingleRequestParameter: true
6
6
  withNodeImports: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gopadjs",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "OpenAPI client for Gopad",
5
5
  "homepage": "https://github.com/gopad/gopad-js#readme",
6
6
  "license": "Apache-2.0",
package/openapitools.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
- "spaces": 2,
4
- "generator-cli": {
5
- "version": "7.6.0"
6
- }
7
- }