gopadjs 1.2.0 → 1.4.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 CHANGED
@@ -1 +1 @@
1
- Tue May 28 13:41:58 UTC 2024
1
+ Sun Jun 2 20:49:28 UTC 2024
@@ -4,7 +4,7 @@ name: openapi
4
4
  "on":
5
5
  workflow_dispatch:
6
6
  schedule:
7
- - cron: "0 8 * * 1"
7
+ - cron: "0 8 * * *"
8
8
 
9
9
  permissions:
10
10
  contents: write
@@ -29,13 +29,9 @@ jobs:
29
29
  run: |
30
30
  npm install -g \
31
31
  conventional-changelog-conventionalcommits@6.1.0 \
32
- semantic-release \
33
- @semantic-release/commit-analyzer \
34
- @semantic-release/release-notes-generator \
32
+ semantic-release@23.1.1 \
35
33
  @semantic-release/changelog \
36
34
  @semantic-release/git \
37
- @semantic-release/github \
38
- @semantic-release/npm \
39
35
  semantic-release-replace-plugin
40
36
 
41
37
  - name: Run releaser
@@ -2,14 +2,19 @@
2
2
  README.md
3
3
  api.ts
4
4
  api/auth-api.ts
5
+ api/profile-api.ts
5
6
  api/team-api.ts
6
7
  api/user-api.ts
7
8
  base.ts
8
9
  common.ts
9
10
  configuration.ts
10
11
  index.ts
12
+ model/auth-login.ts
13
+ model/auth-token.ts
14
+ model/auth-verify.ts
11
15
  model/index.ts
12
16
  model/notification.ts
17
+ model/profile.ts
13
18
  model/team-user-params.ts
14
19
  model/team-users.ts
15
20
  model/team.ts
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.0](https://github.com/gopad/gopad-js/compare/v1.3.0...v1.4.0) (2024-06-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * **deps:** update dependency @types/node to 12.11.5 - 20.14 ([8e0a25f](https://github.com/gopad/gopad-js/commit/8e0a25fadd96f0063e2b2230cff86daad2389505))
9
+
10
+ ## [1.3.0](https://github.com/gopad/gopad-js/compare/v1.2.0...v1.3.0) (2024-06-02)
11
+
12
+
13
+ ### Features
14
+
15
+ * automated openapi client update ([cd44205](https://github.com/gopad/gopad-js/commit/cd4420596825f5f176a28fc8eb95631843f691a0))
16
+ * **deps:** update dependency @types/node to 12.11.5 - 20.13 ([0634695](https://github.com/gopad/gopad-js/commit/0634695ee5b795ec716422400e0625f0afef3ff4))
17
+ * **deps:** update dependency prettier to v3.3.0 ([80f185e](https://github.com/gopad/gopad-js/commit/80f185e6ba47ee4f504de1a927c8245a592f2716))
18
+
3
19
  ## [1.2.0](https://github.com/gopad/gopad-js/compare/v1.1.0...v1.2.0) (2024-05-28)
4
20
 
5
21
 
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: 1.2.0
9
+ - Package version: 1.4.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@1.2.0
42
+ npm install --save gopadjs@1.4.0
43
43
  ```
44
44
 
45
45
  ### Installation with Git
package/api/auth-api.ts CHANGED
@@ -42,6 +42,12 @@ import {
42
42
  operationServerMap,
43
43
  } from "../base";
44
44
  // @ts-ignore
45
+ import type { AuthLogin } from "../model";
46
+ // @ts-ignore
47
+ import type { AuthToken } from "../model";
48
+ // @ts-ignore
49
+ import type { AuthVerify } from "../model";
50
+ // @ts-ignore
45
51
  import type { Notification } from "../model";
46
52
  /**
47
53
  * AuthApi - axios parameter creator
@@ -156,6 +162,170 @@ export const AuthApiAxiosParamCreator = function (
156
162
  ...options.headers,
157
163
  };
158
164
 
165
+ return {
166
+ url: toPathString(localVarUrlObj),
167
+ options: localVarRequestOptions,
168
+ };
169
+ },
170
+ /**
171
+ *
172
+ * @summary Authenticate an user by credentials
173
+ * @param {AuthLogin} authLogin The credentials to authenticate
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ loginAuth: async (
178
+ authLogin: AuthLogin,
179
+ options: RawAxiosRequestConfig = {},
180
+ ): Promise<RequestArgs> => {
181
+ // verify required parameter 'authLogin' is not null or undefined
182
+ assertParamExists("loginAuth", "authLogin", authLogin);
183
+ const localVarPath = `/auth/login`;
184
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
185
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
186
+ let baseOptions;
187
+ if (configuration) {
188
+ baseOptions = configuration.baseOptions;
189
+ }
190
+
191
+ const localVarRequestOptions = {
192
+ method: "POST",
193
+ ...baseOptions,
194
+ ...options,
195
+ };
196
+ const localVarHeaderParameter = {} as any;
197
+ const localVarQueryParameter = {} as any;
198
+
199
+ localVarHeaderParameter["Content-Type"] = "application/json";
200
+
201
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
202
+ let headersFromBaseOptions =
203
+ baseOptions && baseOptions.headers ? baseOptions.headers : {};
204
+ localVarRequestOptions.headers = {
205
+ ...localVarHeaderParameter,
206
+ ...headersFromBaseOptions,
207
+ ...options.headers,
208
+ };
209
+ localVarRequestOptions.data = serializeDataIfNeeded(
210
+ authLogin,
211
+ localVarRequestOptions,
212
+ configuration,
213
+ );
214
+
215
+ return {
216
+ url: toPathString(localVarUrlObj),
217
+ options: localVarRequestOptions,
218
+ };
219
+ },
220
+ /**
221
+ *
222
+ * @summary Refresh an auth token before it expires
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ refreshAuth: async (
227
+ options: RawAxiosRequestConfig = {},
228
+ ): Promise<RequestArgs> => {
229
+ const localVarPath = `/auth/refresh`;
230
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
231
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
232
+ let baseOptions;
233
+ if (configuration) {
234
+ baseOptions = configuration.baseOptions;
235
+ }
236
+
237
+ const localVarRequestOptions = {
238
+ method: "GET",
239
+ ...baseOptions,
240
+ ...options,
241
+ };
242
+ const localVarHeaderParameter = {} as any;
243
+ const localVarQueryParameter = {} as any;
244
+
245
+ // authentication Cookie required
246
+ await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
247
+
248
+ // authentication Basic required
249
+ // http basic authentication required
250
+ setBasicAuthToObject(localVarRequestOptions, configuration);
251
+
252
+ // authentication Header required
253
+ await setApiKeyToObject(
254
+ localVarHeaderParameter,
255
+ "X-API-Key",
256
+ configuration,
257
+ );
258
+
259
+ // authentication Bearer required
260
+ // http bearer authentication required
261
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
262
+
263
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
264
+ let headersFromBaseOptions =
265
+ baseOptions && baseOptions.headers ? baseOptions.headers : {};
266
+ localVarRequestOptions.headers = {
267
+ ...localVarHeaderParameter,
268
+ ...headersFromBaseOptions,
269
+ ...options.headers,
270
+ };
271
+
272
+ return {
273
+ url: toPathString(localVarUrlObj),
274
+ options: localVarRequestOptions,
275
+ };
276
+ },
277
+ /**
278
+ *
279
+ * @summary Verify validity for an authentication token
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ verifyAuth: async (
284
+ options: RawAxiosRequestConfig = {},
285
+ ): Promise<RequestArgs> => {
286
+ const localVarPath = `/auth/verify`;
287
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
288
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
289
+ let baseOptions;
290
+ if (configuration) {
291
+ baseOptions = configuration.baseOptions;
292
+ }
293
+
294
+ const localVarRequestOptions = {
295
+ method: "GET",
296
+ ...baseOptions,
297
+ ...options,
298
+ };
299
+ const localVarHeaderParameter = {} as any;
300
+ const localVarQueryParameter = {} as any;
301
+
302
+ // authentication Cookie required
303
+ await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
304
+
305
+ // authentication Basic required
306
+ // http basic authentication required
307
+ setBasicAuthToObject(localVarRequestOptions, configuration);
308
+
309
+ // authentication Header required
310
+ await setApiKeyToObject(
311
+ localVarHeaderParameter,
312
+ "X-API-Key",
313
+ configuration,
314
+ );
315
+
316
+ // authentication Bearer required
317
+ // http bearer authentication required
318
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
319
+
320
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
321
+ let headersFromBaseOptions =
322
+ baseOptions && baseOptions.headers ? baseOptions.headers : {};
323
+ localVarRequestOptions.headers = {
324
+ ...localVarHeaderParameter,
325
+ ...headersFromBaseOptions,
326
+ ...options.headers,
327
+ };
328
+
159
329
  return {
160
330
  url: toPathString(localVarUrlObj),
161
331
  options: localVarRequestOptions,
@@ -242,6 +412,86 @@ export const AuthApiFp = function (configuration?: Configuration) {
242
412
  configuration,
243
413
  )(axios, localVarOperationServerBasePath || basePath);
244
414
  },
415
+ /**
416
+ *
417
+ * @summary Authenticate an user by credentials
418
+ * @param {AuthLogin} authLogin The credentials to authenticate
419
+ * @param {*} [options] Override http request option.
420
+ * @throws {RequiredError}
421
+ */
422
+ async loginAuth(
423
+ authLogin: AuthLogin,
424
+ options?: RawAxiosRequestConfig,
425
+ ): Promise<
426
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthToken>
427
+ > {
428
+ const localVarAxiosArgs = await localVarAxiosParamCreator.loginAuth(
429
+ authLogin,
430
+ options,
431
+ );
432
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
433
+ const localVarOperationServerBasePath =
434
+ operationServerMap["AuthApi.loginAuth"]?.[localVarOperationServerIndex]
435
+ ?.url;
436
+ return (axios, basePath) =>
437
+ createRequestFunction(
438
+ localVarAxiosArgs,
439
+ globalAxios,
440
+ BASE_PATH,
441
+ configuration,
442
+ )(axios, localVarOperationServerBasePath || basePath);
443
+ },
444
+ /**
445
+ *
446
+ * @summary Refresh an auth token before it expires
447
+ * @param {*} [options] Override http request option.
448
+ * @throws {RequiredError}
449
+ */
450
+ async refreshAuth(
451
+ options?: RawAxiosRequestConfig,
452
+ ): Promise<
453
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthToken>
454
+ > {
455
+ const localVarAxiosArgs =
456
+ await localVarAxiosParamCreator.refreshAuth(options);
457
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
458
+ const localVarOperationServerBasePath =
459
+ operationServerMap["AuthApi.refreshAuth"]?.[
460
+ localVarOperationServerIndex
461
+ ]?.url;
462
+ return (axios, basePath) =>
463
+ createRequestFunction(
464
+ localVarAxiosArgs,
465
+ globalAxios,
466
+ BASE_PATH,
467
+ configuration,
468
+ )(axios, localVarOperationServerBasePath || basePath);
469
+ },
470
+ /**
471
+ *
472
+ * @summary Verify validity for an authentication token
473
+ * @param {*} [options] Override http request option.
474
+ * @throws {RequiredError}
475
+ */
476
+ async verifyAuth(
477
+ options?: RawAxiosRequestConfig,
478
+ ): Promise<
479
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthVerify>
480
+ > {
481
+ const localVarAxiosArgs =
482
+ await localVarAxiosParamCreator.verifyAuth(options);
483
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
484
+ const localVarOperationServerBasePath =
485
+ operationServerMap["AuthApi.verifyAuth"]?.[localVarOperationServerIndex]
486
+ ?.url;
487
+ return (axios, basePath) =>
488
+ createRequestFunction(
489
+ localVarAxiosArgs,
490
+ globalAxios,
491
+ BASE_PATH,
492
+ configuration,
493
+ )(axios, localVarOperationServerBasePath || basePath);
494
+ },
245
495
  };
246
496
  };
247
497
 
@@ -295,6 +545,43 @@ export const AuthApiFactory = function (
295
545
  )
296
546
  .then((request) => request(axios, basePath));
297
547
  },
548
+ /**
549
+ *
550
+ * @summary Authenticate an user by credentials
551
+ * @param {AuthApiLoginAuthRequest} requestParameters Request parameters.
552
+ * @param {*} [options] Override http request option.
553
+ * @throws {RequiredError}
554
+ */
555
+ loginAuth(
556
+ requestParameters: AuthApiLoginAuthRequest,
557
+ options?: RawAxiosRequestConfig,
558
+ ): AxiosPromise<AuthToken> {
559
+ return localVarFp
560
+ .loginAuth(requestParameters.authLogin, options)
561
+ .then((request) => request(axios, basePath));
562
+ },
563
+ /**
564
+ *
565
+ * @summary Refresh an auth token before it expires
566
+ * @param {*} [options] Override http request option.
567
+ * @throws {RequiredError}
568
+ */
569
+ refreshAuth(options?: RawAxiosRequestConfig): AxiosPromise<AuthToken> {
570
+ return localVarFp
571
+ .refreshAuth(options)
572
+ .then((request) => request(axios, basePath));
573
+ },
574
+ /**
575
+ *
576
+ * @summary Verify validity for an authentication token
577
+ * @param {*} [options] Override http request option.
578
+ * @throws {RequiredError}
579
+ */
580
+ verifyAuth(options?: RawAxiosRequestConfig): AxiosPromise<AuthVerify> {
581
+ return localVarFp
582
+ .verifyAuth(options)
583
+ .then((request) => request(axios, basePath));
584
+ },
298
585
  };
299
586
  };
300
587
 
@@ -347,6 +634,20 @@ export interface AuthApiExternalInitializeRequest {
347
634
  readonly state?: string;
348
635
  }
349
636
 
637
+ /**
638
+ * Request parameters for loginAuth operation in AuthApi.
639
+ * @export
640
+ * @interface AuthApiLoginAuthRequest
641
+ */
642
+ export interface AuthApiLoginAuthRequest {
643
+ /**
644
+ * The credentials to authenticate
645
+ * @type {AuthLogin}
646
+ * @memberof AuthApiLoginAuth
647
+ */
648
+ readonly authLogin: AuthLogin;
649
+ }
650
+
350
651
  /**
351
652
  * AuthApi - object-oriented interface
352
653
  * @export
@@ -396,4 +697,47 @@ export class AuthApi extends BaseAPI {
396
697
  )
397
698
  .then((request) => request(this.axios, this.basePath));
398
699
  }
700
+
701
+ /**
702
+ *
703
+ * @summary Authenticate an user by credentials
704
+ * @param {AuthApiLoginAuthRequest} requestParameters Request parameters.
705
+ * @param {*} [options] Override http request option.
706
+ * @throws {RequiredError}
707
+ * @memberof AuthApi
708
+ */
709
+ public loginAuth(
710
+ requestParameters: AuthApiLoginAuthRequest,
711
+ options?: RawAxiosRequestConfig,
712
+ ) {
713
+ return AuthApiFp(this.configuration)
714
+ .loginAuth(requestParameters.authLogin, options)
715
+ .then((request) => request(this.axios, this.basePath));
716
+ }
717
+
718
+ /**
719
+ *
720
+ * @summary Refresh an auth token before it expires
721
+ * @param {*} [options] Override http request option.
722
+ * @throws {RequiredError}
723
+ * @memberof AuthApi
724
+ */
725
+ public refreshAuth(options?: RawAxiosRequestConfig) {
726
+ return AuthApiFp(this.configuration)
727
+ .refreshAuth(options)
728
+ .then((request) => request(this.axios, this.basePath));
729
+ }
730
+
731
+ /**
732
+ *
733
+ * @summary Verify validity for an authentication token
734
+ * @param {*} [options] Override http request option.
735
+ * @throws {RequiredError}
736
+ * @memberof AuthApi
737
+ */
738
+ public verifyAuth(options?: RawAxiosRequestConfig) {
739
+ return AuthApiFp(this.configuration)
740
+ .verifyAuth(options)
741
+ .then((request) => request(this.axios, this.basePath));
742
+ }
399
743
  }
@@ -0,0 +1,431 @@
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
+ import type { Configuration } from "../configuration";
16
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from "axios";
17
+ import globalAxios from "axios";
18
+ // URLSearchParams not necessarily used
19
+ // @ts-ignore
20
+ import { URL, URLSearchParams } from "url";
21
+ // Some imports not used depending on template conditions
22
+ // @ts-ignore
23
+ import {
24
+ DUMMY_BASE_URL,
25
+ assertParamExists,
26
+ setApiKeyToObject,
27
+ setBasicAuthToObject,
28
+ setBearerAuthToObject,
29
+ setOAuthToObject,
30
+ setSearchParams,
31
+ serializeDataIfNeeded,
32
+ toPathString,
33
+ createRequestFunction,
34
+ } from "../common";
35
+ // @ts-ignore
36
+ import {
37
+ BASE_PATH,
38
+ COLLECTION_FORMATS,
39
+ type RequestArgs,
40
+ BaseAPI,
41
+ RequiredError,
42
+ operationServerMap,
43
+ } from "../base";
44
+ // @ts-ignore
45
+ import type { AuthToken } from "../model";
46
+ // @ts-ignore
47
+ import type { Notification } from "../model";
48
+ // @ts-ignore
49
+ import type { Profile } from "../model";
50
+ /**
51
+ * ProfileApi - axios parameter creator
52
+ * @export
53
+ */
54
+ export const ProfileApiAxiosParamCreator = function (
55
+ configuration?: Configuration,
56
+ ) {
57
+ return {
58
+ /**
59
+ *
60
+ * @summary Fetch profile details of the personal account
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ showProfile: async (
65
+ options: RawAxiosRequestConfig = {},
66
+ ): Promise<RequestArgs> => {
67
+ const localVarPath = `/profile/self`;
68
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
69
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70
+ let baseOptions;
71
+ if (configuration) {
72
+ baseOptions = configuration.baseOptions;
73
+ }
74
+
75
+ const localVarRequestOptions = {
76
+ method: "GET",
77
+ ...baseOptions,
78
+ ...options,
79
+ };
80
+ const localVarHeaderParameter = {} as any;
81
+ const localVarQueryParameter = {} as any;
82
+
83
+ // authentication Cookie required
84
+ await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
85
+
86
+ // authentication Basic required
87
+ // http basic authentication required
88
+ setBasicAuthToObject(localVarRequestOptions, configuration);
89
+
90
+ // authentication Header required
91
+ await setApiKeyToObject(
92
+ localVarHeaderParameter,
93
+ "X-API-Key",
94
+ configuration,
95
+ );
96
+
97
+ // authentication Bearer required
98
+ // http bearer authentication required
99
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
100
+
101
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
102
+ let headersFromBaseOptions =
103
+ baseOptions && baseOptions.headers ? baseOptions.headers : {};
104
+ localVarRequestOptions.headers = {
105
+ ...localVarHeaderParameter,
106
+ ...headersFromBaseOptions,
107
+ ...options.headers,
108
+ };
109
+
110
+ return {
111
+ url: toPathString(localVarUrlObj),
112
+ options: localVarRequestOptions,
113
+ };
114
+ },
115
+ /**
116
+ *
117
+ * @summary Retrieve an unlimited auth token
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ tokenProfile: async (
122
+ options: RawAxiosRequestConfig = {},
123
+ ): Promise<RequestArgs> => {
124
+ const localVarPath = `/profile/token`;
125
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
126
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127
+ let baseOptions;
128
+ if (configuration) {
129
+ baseOptions = configuration.baseOptions;
130
+ }
131
+
132
+ const localVarRequestOptions = {
133
+ method: "GET",
134
+ ...baseOptions,
135
+ ...options,
136
+ };
137
+ const localVarHeaderParameter = {} as any;
138
+ const localVarQueryParameter = {} as any;
139
+
140
+ // authentication Cookie required
141
+ await setApiKeyToObject(localVarHeaderParameter, "Cookie", configuration);
142
+
143
+ // authentication Basic required
144
+ // http basic authentication required
145
+ setBasicAuthToObject(localVarRequestOptions, configuration);
146
+
147
+ // authentication Header required
148
+ await setApiKeyToObject(
149
+ localVarHeaderParameter,
150
+ "X-API-Key",
151
+ configuration,
152
+ );
153
+
154
+ // authentication Bearer required
155
+ // http bearer authentication required
156
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
157
+
158
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
159
+ let headersFromBaseOptions =
160
+ baseOptions && baseOptions.headers ? baseOptions.headers : {};
161
+ localVarRequestOptions.headers = {
162
+ ...localVarHeaderParameter,
163
+ ...headersFromBaseOptions,
164
+ ...options.headers,
165
+ };
166
+
167
+ return {
168
+ url: toPathString(localVarUrlObj),
169
+ options: localVarRequestOptions,
170
+ };
171
+ },
172
+ /**
173
+ *
174
+ * @summary Update your own profile information
175
+ * @param {Profile} profile The profile data to update
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ updateProfile: async (
180
+ profile: Profile,
181
+ options: RawAxiosRequestConfig = {},
182
+ ): Promise<RequestArgs> => {
183
+ // verify required parameter 'profile' is not null or undefined
184
+ assertParamExists("updateProfile", "profile", profile);
185
+ const localVarPath = `/profile/self`;
186
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
187
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
188
+ let baseOptions;
189
+ if (configuration) {
190
+ baseOptions = configuration.baseOptions;
191
+ }
192
+
193
+ const localVarRequestOptions = {
194
+ method: "PUT",
195
+ ...baseOptions,
196
+ ...options,
197
+ };
198
+ const localVarHeaderParameter = {} as any;
199
+ const localVarQueryParameter = {} as any;
200
+
201
+ localVarHeaderParameter["Content-Type"] = "application/json";
202
+
203
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
204
+ let headersFromBaseOptions =
205
+ baseOptions && baseOptions.headers ? baseOptions.headers : {};
206
+ localVarRequestOptions.headers = {
207
+ ...localVarHeaderParameter,
208
+ ...headersFromBaseOptions,
209
+ ...options.headers,
210
+ };
211
+ localVarRequestOptions.data = serializeDataIfNeeded(
212
+ profile,
213
+ localVarRequestOptions,
214
+ configuration,
215
+ );
216
+
217
+ return {
218
+ url: toPathString(localVarUrlObj),
219
+ options: localVarRequestOptions,
220
+ };
221
+ },
222
+ };
223
+ };
224
+
225
+ /**
226
+ * ProfileApi - functional programming interface
227
+ * @export
228
+ */
229
+ export const ProfileApiFp = function (configuration?: Configuration) {
230
+ const localVarAxiosParamCreator = ProfileApiAxiosParamCreator(configuration);
231
+ return {
232
+ /**
233
+ *
234
+ * @summary Fetch profile details of the personal account
235
+ * @param {*} [options] Override http request option.
236
+ * @throws {RequiredError}
237
+ */
238
+ async showProfile(
239
+ options?: RawAxiosRequestConfig,
240
+ ): Promise<
241
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Profile>
242
+ > {
243
+ const localVarAxiosArgs =
244
+ await localVarAxiosParamCreator.showProfile(options);
245
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
246
+ const localVarOperationServerBasePath =
247
+ operationServerMap["ProfileApi.showProfile"]?.[
248
+ localVarOperationServerIndex
249
+ ]?.url;
250
+ return (axios, basePath) =>
251
+ createRequestFunction(
252
+ localVarAxiosArgs,
253
+ globalAxios,
254
+ BASE_PATH,
255
+ configuration,
256
+ )(axios, localVarOperationServerBasePath || basePath);
257
+ },
258
+ /**
259
+ *
260
+ * @summary Retrieve an unlimited auth token
261
+ * @param {*} [options] Override http request option.
262
+ * @throws {RequiredError}
263
+ */
264
+ async tokenProfile(
265
+ options?: RawAxiosRequestConfig,
266
+ ): Promise<
267
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthToken>
268
+ > {
269
+ const localVarAxiosArgs =
270
+ await localVarAxiosParamCreator.tokenProfile(options);
271
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
272
+ const localVarOperationServerBasePath =
273
+ operationServerMap["ProfileApi.tokenProfile"]?.[
274
+ localVarOperationServerIndex
275
+ ]?.url;
276
+ return (axios, basePath) =>
277
+ createRequestFunction(
278
+ localVarAxiosArgs,
279
+ globalAxios,
280
+ BASE_PATH,
281
+ configuration,
282
+ )(axios, localVarOperationServerBasePath || basePath);
283
+ },
284
+ /**
285
+ *
286
+ * @summary Update your own profile information
287
+ * @param {Profile} profile The profile data to update
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ async updateProfile(
292
+ profile: Profile,
293
+ options?: RawAxiosRequestConfig,
294
+ ): Promise<
295
+ (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Profile>
296
+ > {
297
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateProfile(
298
+ profile,
299
+ options,
300
+ );
301
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
302
+ const localVarOperationServerBasePath =
303
+ operationServerMap["ProfileApi.updateProfile"]?.[
304
+ localVarOperationServerIndex
305
+ ]?.url;
306
+ return (axios, basePath) =>
307
+ createRequestFunction(
308
+ localVarAxiosArgs,
309
+ globalAxios,
310
+ BASE_PATH,
311
+ configuration,
312
+ )(axios, localVarOperationServerBasePath || basePath);
313
+ },
314
+ };
315
+ };
316
+
317
+ /**
318
+ * ProfileApi - factory interface
319
+ * @export
320
+ */
321
+ export const ProfileApiFactory = function (
322
+ configuration?: Configuration,
323
+ basePath?: string,
324
+ axios?: AxiosInstance,
325
+ ) {
326
+ const localVarFp = ProfileApiFp(configuration);
327
+ return {
328
+ /**
329
+ *
330
+ * @summary Fetch profile details of the personal account
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ showProfile(options?: RawAxiosRequestConfig): AxiosPromise<Profile> {
335
+ return localVarFp
336
+ .showProfile(options)
337
+ .then((request) => request(axios, basePath));
338
+ },
339
+ /**
340
+ *
341
+ * @summary Retrieve an unlimited auth token
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ */
345
+ tokenProfile(options?: RawAxiosRequestConfig): AxiosPromise<AuthToken> {
346
+ return localVarFp
347
+ .tokenProfile(options)
348
+ .then((request) => request(axios, basePath));
349
+ },
350
+ /**
351
+ *
352
+ * @summary Update your own profile information
353
+ * @param {ProfileApiUpdateProfileRequest} requestParameters Request parameters.
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ */
357
+ updateProfile(
358
+ requestParameters: ProfileApiUpdateProfileRequest,
359
+ options?: RawAxiosRequestConfig,
360
+ ): AxiosPromise<Profile> {
361
+ return localVarFp
362
+ .updateProfile(requestParameters.profile, options)
363
+ .then((request) => request(axios, basePath));
364
+ },
365
+ };
366
+ };
367
+
368
+ /**
369
+ * Request parameters for updateProfile operation in ProfileApi.
370
+ * @export
371
+ * @interface ProfileApiUpdateProfileRequest
372
+ */
373
+ export interface ProfileApiUpdateProfileRequest {
374
+ /**
375
+ * The profile data to update
376
+ * @type {Profile}
377
+ * @memberof ProfileApiUpdateProfile
378
+ */
379
+ readonly profile: Profile;
380
+ }
381
+
382
+ /**
383
+ * ProfileApi - object-oriented interface
384
+ * @export
385
+ * @class ProfileApi
386
+ * @extends {BaseAPI}
387
+ */
388
+ export class ProfileApi extends BaseAPI {
389
+ /**
390
+ *
391
+ * @summary Fetch profile details of the personal account
392
+ * @param {*} [options] Override http request option.
393
+ * @throws {RequiredError}
394
+ * @memberof ProfileApi
395
+ */
396
+ public showProfile(options?: RawAxiosRequestConfig) {
397
+ return ProfileApiFp(this.configuration)
398
+ .showProfile(options)
399
+ .then((request) => request(this.axios, this.basePath));
400
+ }
401
+
402
+ /**
403
+ *
404
+ * @summary Retrieve an unlimited auth token
405
+ * @param {*} [options] Override http request option.
406
+ * @throws {RequiredError}
407
+ * @memberof ProfileApi
408
+ */
409
+ public tokenProfile(options?: RawAxiosRequestConfig) {
410
+ return ProfileApiFp(this.configuration)
411
+ .tokenProfile(options)
412
+ .then((request) => request(this.axios, this.basePath));
413
+ }
414
+
415
+ /**
416
+ *
417
+ * @summary Update your own profile information
418
+ * @param {ProfileApiUpdateProfileRequest} requestParameters Request parameters.
419
+ * @param {*} [options] Override http request option.
420
+ * @throws {RequiredError}
421
+ * @memberof ProfileApi
422
+ */
423
+ public updateProfile(
424
+ requestParameters: ProfileApiUpdateProfileRequest,
425
+ options?: RawAxiosRequestConfig,
426
+ ) {
427
+ return ProfileApiFp(this.configuration)
428
+ .updateProfile(requestParameters.profile, options)
429
+ .then((request) => request(this.axios, this.basePath));
430
+ }
431
+ }
package/api/team-api.ts CHANGED
@@ -109,6 +109,10 @@ export const TeamApiAxiosParamCreator = function (
109
109
  configuration,
110
110
  );
111
111
 
112
+ // authentication Bearer required
113
+ // http bearer authentication required
114
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
115
+
112
116
  localVarHeaderParameter["Content-Type"] = "application/json";
113
117
 
114
118
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -173,6 +177,10 @@ export const TeamApiAxiosParamCreator = function (
173
177
  configuration,
174
178
  );
175
179
 
180
+ // authentication Bearer required
181
+ // http bearer authentication required
182
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
183
+
176
184
  localVarHeaderParameter["Content-Type"] = "application/json";
177
185
 
178
186
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -240,6 +248,10 @@ export const TeamApiAxiosParamCreator = function (
240
248
  configuration,
241
249
  );
242
250
 
251
+ // authentication Bearer required
252
+ // http bearer authentication required
253
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
254
+
243
255
  setSearchParams(localVarUrlObj, localVarQueryParameter);
244
256
  let headersFromBaseOptions =
245
257
  baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -304,6 +316,10 @@ export const TeamApiAxiosParamCreator = function (
304
316
  configuration,
305
317
  );
306
318
 
319
+ // authentication Bearer required
320
+ // http bearer authentication required
321
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
322
+
307
323
  localVarHeaderParameter["Content-Type"] = "application/json";
308
324
 
309
325
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -381,6 +397,10 @@ export const TeamApiAxiosParamCreator = function (
381
397
  configuration,
382
398
  );
383
399
 
400
+ // authentication Bearer required
401
+ // http bearer authentication required
402
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
403
+
384
404
  if (search !== undefined) {
385
405
  localVarQueryParameter["search"] = search;
386
406
  }
@@ -464,6 +484,10 @@ export const TeamApiAxiosParamCreator = function (
464
484
  configuration,
465
485
  );
466
486
 
487
+ // authentication Bearer required
488
+ // http bearer authentication required
489
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
490
+
467
491
  if (search !== undefined) {
468
492
  localVarQueryParameter["search"] = search;
469
493
  }
@@ -548,6 +572,10 @@ export const TeamApiAxiosParamCreator = function (
548
572
  configuration,
549
573
  );
550
574
 
575
+ // authentication Bearer required
576
+ // http bearer authentication required
577
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
578
+
551
579
  localVarHeaderParameter["Content-Type"] = "application/json";
552
580
 
553
581
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -615,6 +643,10 @@ export const TeamApiAxiosParamCreator = function (
615
643
  configuration,
616
644
  );
617
645
 
646
+ // authentication Bearer required
647
+ // http bearer authentication required
648
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
649
+
618
650
  setSearchParams(localVarUrlObj, localVarQueryParameter);
619
651
  let headersFromBaseOptions =
620
652
  baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -679,6 +711,10 @@ export const TeamApiAxiosParamCreator = function (
679
711
  configuration,
680
712
  );
681
713
 
714
+ // authentication Bearer required
715
+ // http bearer authentication required
716
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
717
+
682
718
  localVarHeaderParameter["Content-Type"] = "application/json";
683
719
 
684
720
  setSearchParams(localVarUrlObj, localVarQueryParameter);
package/api/user-api.ts CHANGED
@@ -109,6 +109,10 @@ export const UserApiAxiosParamCreator = function (
109
109
  configuration,
110
110
  );
111
111
 
112
+ // authentication Bearer required
113
+ // http bearer authentication required
114
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
115
+
112
116
  localVarHeaderParameter["Content-Type"] = "application/json";
113
117
 
114
118
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -173,6 +177,10 @@ export const UserApiAxiosParamCreator = function (
173
177
  configuration,
174
178
  );
175
179
 
180
+ // authentication Bearer required
181
+ // http bearer authentication required
182
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
183
+
176
184
  localVarHeaderParameter["Content-Type"] = "application/json";
177
185
 
178
186
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -240,6 +248,10 @@ export const UserApiAxiosParamCreator = function (
240
248
  configuration,
241
249
  );
242
250
 
251
+ // authentication Bearer required
252
+ // http bearer authentication required
253
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
254
+
243
255
  setSearchParams(localVarUrlObj, localVarQueryParameter);
244
256
  let headersFromBaseOptions =
245
257
  baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -304,6 +316,10 @@ export const UserApiAxiosParamCreator = function (
304
316
  configuration,
305
317
  );
306
318
 
319
+ // authentication Bearer required
320
+ // http bearer authentication required
321
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
322
+
307
323
  localVarHeaderParameter["Content-Type"] = "application/json";
308
324
 
309
325
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -381,6 +397,10 @@ export const UserApiAxiosParamCreator = function (
381
397
  configuration,
382
398
  );
383
399
 
400
+ // authentication Bearer required
401
+ // http bearer authentication required
402
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
403
+
384
404
  if (search !== undefined) {
385
405
  localVarQueryParameter["search"] = search;
386
406
  }
@@ -464,6 +484,10 @@ export const UserApiAxiosParamCreator = function (
464
484
  configuration,
465
485
  );
466
486
 
487
+ // authentication Bearer required
488
+ // http bearer authentication required
489
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
490
+
467
491
  if (search !== undefined) {
468
492
  localVarQueryParameter["search"] = search;
469
493
  }
@@ -548,6 +572,10 @@ export const UserApiAxiosParamCreator = function (
548
572
  configuration,
549
573
  );
550
574
 
575
+ // authentication Bearer required
576
+ // http bearer authentication required
577
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
578
+
551
579
  localVarHeaderParameter["Content-Type"] = "application/json";
552
580
 
553
581
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -615,6 +643,10 @@ export const UserApiAxiosParamCreator = function (
615
643
  configuration,
616
644
  );
617
645
 
646
+ // authentication Bearer required
647
+ // http bearer authentication required
648
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
649
+
618
650
  setSearchParams(localVarUrlObj, localVarQueryParameter);
619
651
  let headersFromBaseOptions =
620
652
  baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -679,6 +711,10 @@ export const UserApiAxiosParamCreator = function (
679
711
  configuration,
680
712
  );
681
713
 
714
+ // authentication Bearer required
715
+ // http bearer authentication required
716
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
717
+
682
718
  localVarHeaderParameter["Content-Type"] = "application/json";
683
719
 
684
720
  setSearchParams(localVarUrlObj, localVarQueryParameter);
package/api.ts CHANGED
@@ -13,5 +13,6 @@
13
13
  */
14
14
 
15
15
  export * from "./api/auth-api";
16
+ export * from "./api/profile-api";
16
17
  export * from "./api/team-api";
17
18
  export * from "./api/user-api";
package/flake.lock CHANGED
@@ -39,11 +39,11 @@
39
39
  "pre-commit-hooks": "pre-commit-hooks"
40
40
  },
41
41
  "locked": {
42
- "lastModified": 1716772813,
43
- "narHash": "sha256-PLQ5Ap2BJ/EnLTY8KybwuOHDveVaH7Fvh+ItXzLL38M=",
42
+ "lastModified": 1716847473,
43
+ "narHash": "sha256-Sn3PpgNAmV9pLr8pefvVAiHzBebq23nFf5QeHqMfVGk=",
44
44
  "owner": "cachix",
45
45
  "repo": "devenv",
46
- "rev": "a1290a186b9420e2c0b21700f300b486ad90dcc9",
46
+ "rev": "60ed3dba92ed027bb886611b53cf9b9d1e7f149e",
47
47
  "type": "github"
48
48
  },
49
49
  "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 AuthLogin
19
+ */
20
+ export interface AuthLogin {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof AuthLogin
25
+ */
26
+ username: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof AuthLogin
31
+ */
32
+ password: string;
33
+ }
@@ -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 AuthToken
19
+ */
20
+ export interface AuthToken {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof AuthToken
25
+ */
26
+ token: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof AuthToken
31
+ */
32
+ expires_at?: string | null;
33
+ }
@@ -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 AuthVerify
19
+ */
20
+ export interface AuthVerify {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof AuthVerify
25
+ */
26
+ username: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof AuthVerify
31
+ */
32
+ created_at?: string | null;
33
+ }
package/model/index.ts CHANGED
@@ -1,4 +1,8 @@
1
+ export * from "./auth-login";
2
+ export * from "./auth-token";
3
+ export * from "./auth-verify";
1
4
  export * from "./notification";
5
+ export * from "./profile";
2
6
  export * from "./team";
3
7
  export * from "./team-user-params";
4
8
  export * from "./team-users";
@@ -0,0 +1,100 @@
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 { UserAuth } from "./user-auth";
18
+ // May contain unused imports in some cases
19
+ // @ts-ignore
20
+ import type { UserTeam } from "./user-team";
21
+
22
+ /**
23
+ * Model to represent profile
24
+ * @export
25
+ * @interface Profile
26
+ */
27
+ export interface Profile {
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof Profile
32
+ */
33
+ id?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof Profile
38
+ */
39
+ username?: string | null;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof Profile
44
+ */
45
+ password?: string | null;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof Profile
50
+ */
51
+ email?: string | null;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Profile
56
+ */
57
+ fullname?: string | null;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof Profile
62
+ */
63
+ profile?: string | null;
64
+ /**
65
+ *
66
+ * @type {boolean}
67
+ * @memberof Profile
68
+ */
69
+ admin?: boolean;
70
+ /**
71
+ *
72
+ * @type {boolean}
73
+ * @memberof Profile
74
+ */
75
+ active?: boolean;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof Profile
80
+ */
81
+ created_at?: string;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof Profile
86
+ */
87
+ updated_at?: string;
88
+ /**
89
+ *
90
+ * @type {Array<UserAuth>}
91
+ * @memberof Profile
92
+ */
93
+ auths?: Array<UserAuth> | null;
94
+ /**
95
+ *
96
+ * @type {Array<UserTeam>}
97
+ * @memberof Profile
98
+ */
99
+ teams?: Array<UserTeam> | null;
100
+ }
package/openapi.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  npmName: gopadjs
3
- npmVersion: 1.2.0
3
+ npmVersion: 1.4.0
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": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "OpenAPI client for Gopad",
5
5
  "homepage": "https://github.com/gopad/gopad-js#readme",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "axios": "^1.6.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@types/node": "12.11.5 - 20.12",
37
+ "@types/node": "12.11.5 - 20.14",
38
38
  "prettier": "^3.2.5",
39
39
  "typescript": "^4.0 || ^5.0"
40
40
  }