@quantum-hub/qhubctl 1.12.1 → 1.13.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 (55) hide show
  1. package/README.md +1 -1
  2. package/dist/lib/error.js +3 -2
  3. package/dist/service/auth-service.d.ts +2 -2
  4. package/dist/service/quantum-hub-service.js +1 -1
  5. package/dist/service/user-service.d.ts +3 -3
  6. package/dist/service/user-service.js +9 -9
  7. package/package.json +1 -1
  8. package/dist/client/users/apis/AuthenticationApi.d.ts +0 -31
  9. package/dist/client/users/apis/AuthenticationApi.js +0 -46
  10. package/dist/client/users/apis/ExpertsApi.d.ts +0 -44
  11. package/dist/client/users/apis/ExpertsApi.js +0 -75
  12. package/dist/client/users/apis/SearchApi.d.ts +0 -46
  13. package/dist/client/users/apis/SearchApi.js +0 -97
  14. package/dist/client/users/apis/UserSettingsApi.d.ts +0 -139
  15. package/dist/client/users/apis/UserSettingsApi.js +0 -380
  16. package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +0 -64
  17. package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +0 -147
  18. package/dist/client/users/apis/UsersApi.d.ts +0 -70
  19. package/dist/client/users/apis/UsersApi.js +0 -133
  20. package/dist/client/users/apis/index.d.ts +0 -6
  21. package/dist/client/users/apis/index.js +0 -8
  22. package/dist/client/users/index.d.ts +0 -3
  23. package/dist/client/users/index.js +0 -5
  24. package/dist/client/users/models/AccessTokenCreateRequest.d.ts +0 -51
  25. package/dist/client/users/models/AccessTokenCreateRequest.js +0 -53
  26. package/dist/client/users/models/AccessTokenDto.d.ts +0 -75
  27. package/dist/client/users/models/AccessTokenDto.js +0 -61
  28. package/dist/client/users/models/AccessTokensResponse.d.ts +0 -38
  29. package/dist/client/users/models/AccessTokensResponse.js +0 -41
  30. package/dist/client/users/models/DefaultAccessTokenResponse.d.ts +0 -31
  31. package/dist/client/users/models/DefaultAccessTokenResponse.js +0 -38
  32. package/dist/client/users/models/Language.d.ts +0 -31
  33. package/dist/client/users/models/Language.js +0 -38
  34. package/dist/client/users/models/PageUserDto.d.ts +0 -94
  35. package/dist/client/users/models/PageUserDto.js +0 -61
  36. package/dist/client/users/models/Pageable.d.ts +0 -43
  37. package/dist/client/users/models/Pageable.js +0 -42
  38. package/dist/client/users/models/PageableObject.d.ts +0 -62
  39. package/dist/client/users/models/PageableObject.js +0 -49
  40. package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +0 -38
  41. package/dist/client/users/models/PersonalAccessTokenPrincipal.js +0 -41
  42. package/dist/client/users/models/Skill.d.ts +0 -31
  43. package/dist/client/users/models/Skill.js +0 -38
  44. package/dist/client/users/models/SortObject.d.ts +0 -43
  45. package/dist/client/users/models/SortObject.js +0 -42
  46. package/dist/client/users/models/UpdateUserRequest.d.ts +0 -61
  47. package/dist/client/users/models/UpdateUserRequest.js +0 -48
  48. package/dist/client/users/models/UserDto.d.ts +0 -111
  49. package/dist/client/users/models/UserDto.js +0 -66
  50. package/dist/client/users/models/UserOverviewDto.d.ts +0 -67
  51. package/dist/client/users/models/UserOverviewDto.js +0 -50
  52. package/dist/client/users/models/index.d.ts +0 -14
  53. package/dist/client/users/models/index.js +0 -16
  54. package/dist/client/users/runtime.d.ts +0 -181
  55. package/dist/client/users/runtime.js +0 -325
@@ -1,133 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Platform User Service API
5
- * Part of the OpenAPI specification for the Quantum Platform.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support-hub@kipu-quantum.com
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
- import * as runtime from '../runtime.js';
15
- import { UserOverviewDtoFromJSON, } from '../models/index.js';
16
- /**
17
- *
18
- */
19
- export class UsersApi extends runtime.BaseAPI {
20
- /**
21
- * Checks if a user with the given id exists.
22
- * Checks if a user with the given id exists.
23
- */
24
- async existsByIdRaw(requestParameters, initOverrides) {
25
- if (requestParameters['id'] == null) {
26
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling existsById().');
27
- }
28
- const queryParameters = {};
29
- const headerParameters = {};
30
- const response = await this.request({
31
- path: `/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
32
- method: 'HEAD',
33
- headers: headerParameters,
34
- query: queryParameters,
35
- }, initOverrides);
36
- return new runtime.VoidApiResponse(response);
37
- }
38
- /**
39
- * Checks if a user with the given id exists.
40
- * Checks if a user with the given id exists.
41
- */
42
- async existsById(requestParameters, initOverrides) {
43
- await this.existsByIdRaw(requestParameters, initOverrides);
44
- }
45
- /**
46
- * Returns the user details of the user with the given id.
47
- * Returns the user details of the user with the given id.
48
- */
49
- async findByIdRaw(requestParameters, initOverrides) {
50
- if (requestParameters['id'] == null) {
51
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling findById().');
52
- }
53
- const queryParameters = {};
54
- const headerParameters = {};
55
- const response = await this.request({
56
- path: `/users/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
57
- method: 'GET',
58
- headers: headerParameters,
59
- query: queryParameters,
60
- }, initOverrides);
61
- return new runtime.JSONApiResponse(response, (jsonValue) => UserOverviewDtoFromJSON(jsonValue));
62
- }
63
- /**
64
- * Returns the user details of the user with the given id.
65
- * Returns the user details of the user with the given id.
66
- */
67
- async findById(requestParameters, initOverrides) {
68
- const response = await this.findByIdRaw(requestParameters, initOverrides);
69
- return await response.value();
70
- }
71
- /**
72
- * Returns the current background image of the given user.
73
- * Returns the current background image of the given user.
74
- */
75
- async getBackgroundImageRaw(requestParameters, initOverrides) {
76
- if (requestParameters['id'] == null) {
77
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getBackgroundImage().');
78
- }
79
- const queryParameters = {};
80
- const headerParameters = {};
81
- const response = await this.request({
82
- path: `/{id}/background-image`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
83
- method: 'GET',
84
- headers: headerParameters,
85
- query: queryParameters,
86
- }, initOverrides);
87
- if (this.isJsonMime(response.headers.get('content-type'))) {
88
- return new runtime.JSONApiResponse(response);
89
- }
90
- else {
91
- return new runtime.TextApiResponse(response);
92
- }
93
- }
94
- /**
95
- * Returns the current background image of the given user.
96
- * Returns the current background image of the given user.
97
- */
98
- async getBackgroundImage(requestParameters, initOverrides) {
99
- const response = await this.getBackgroundImageRaw(requestParameters, initOverrides);
100
- return await response.value();
101
- }
102
- /**
103
- * Returns the current profile image of the given user.
104
- * Returns the current profile image of the given user.
105
- */
106
- async getProfileImageRaw(requestParameters, initOverrides) {
107
- if (requestParameters['id'] == null) {
108
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getProfileImage().');
109
- }
110
- const queryParameters = {};
111
- const headerParameters = {};
112
- const response = await this.request({
113
- path: `/{id}/profile-image`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
114
- method: 'GET',
115
- headers: headerParameters,
116
- query: queryParameters,
117
- }, initOverrides);
118
- if (this.isJsonMime(response.headers.get('content-type'))) {
119
- return new runtime.JSONApiResponse(response);
120
- }
121
- else {
122
- return new runtime.TextApiResponse(response);
123
- }
124
- }
125
- /**
126
- * Returns the current profile image of the given user.
127
- * Returns the current profile image of the given user.
128
- */
129
- async getProfileImage(requestParameters, initOverrides) {
130
- const response = await this.getProfileImageRaw(requestParameters, initOverrides);
131
- return await response.value();
132
- }
133
- }
@@ -1,6 +0,0 @@
1
- export * from './AuthenticationApi.js';
2
- export * from './ExpertsApi.js';
3
- export * from './SearchApi.js';
4
- export * from './UserSettingsApi.js';
5
- export * from './UserSettingsPersonalAccessTokensApi.js';
6
- export * from './UsersApi.js';
@@ -1,8 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export * from './AuthenticationApi.js';
4
- export * from './ExpertsApi.js';
5
- export * from './SearchApi.js';
6
- export * from './UserSettingsApi.js';
7
- export * from './UserSettingsPersonalAccessTokensApi.js';
8
- export * from './UsersApi.js';
@@ -1,3 +0,0 @@
1
- export * from './runtime.js';
2
- export * from './apis/index.js';
3
- export * from './models/index.js';
@@ -1,5 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- export * from './runtime.js';
4
- export * from './apis/index.js';
5
- export * from './models/index.js';
@@ -1,51 +0,0 @@
1
- /**
2
- * Quantum Platform User Service API
3
- * Part of the OpenAPI specification for the Quantum Platform.
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support-hub@kipu-quantum.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface AccessTokenCreateRequest
16
- */
17
- export interface AccessTokenCreateRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AccessTokenCreateRequest
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {Set<string>}
27
- * @memberof AccessTokenCreateRequest
28
- */
29
- scopes: Set<AccessTokenCreateRequestScopesEnum>;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AccessTokenCreateRequest
34
- */
35
- expiresAt?: string;
36
- }
37
- /**
38
- * @export
39
- */
40
- export declare const AccessTokenCreateRequestScopesEnum: {
41
- readonly Api: "API";
42
- readonly QuantumTokens: "QUANTUM_TOKENS";
43
- };
44
- export type AccessTokenCreateRequestScopesEnum = typeof AccessTokenCreateRequestScopesEnum[keyof typeof AccessTokenCreateRequestScopesEnum];
45
- /**
46
- * Check if a given object implements the AccessTokenCreateRequest interface.
47
- */
48
- export declare function instanceOfAccessTokenCreateRequest(value: object): value is AccessTokenCreateRequest;
49
- export declare function AccessTokenCreateRequestFromJSON(json: any): AccessTokenCreateRequest;
50
- export declare function AccessTokenCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessTokenCreateRequest;
51
- export declare function AccessTokenCreateRequestToJSON(value?: AccessTokenCreateRequest | null): any;
@@ -1,53 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Platform User Service API
5
- * Part of the OpenAPI specification for the Quantum Platform.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support-hub@kipu-quantum.com
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
- * @export
16
- */
17
- export const AccessTokenCreateRequestScopesEnum = {
18
- Api: 'API',
19
- QuantumTokens: 'QUANTUM_TOKENS'
20
- };
21
- /**
22
- * Check if a given object implements the AccessTokenCreateRequest interface.
23
- */
24
- export function instanceOfAccessTokenCreateRequest(value) {
25
- if (!('name' in value) || value['name'] === undefined)
26
- return false;
27
- if (!('scopes' in value) || value['scopes'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- export function AccessTokenCreateRequestFromJSON(json) {
32
- return AccessTokenCreateRequestFromJSONTyped(json, false);
33
- }
34
- export function AccessTokenCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'name': json['name'],
40
- 'scopes': json['scopes'],
41
- 'expiresAt': json['expiresAt'] == null ? undefined : json['expiresAt'],
42
- };
43
- }
44
- export function AccessTokenCreateRequestToJSON(value) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'name': value['name'],
50
- 'scopes': Array.from(value['scopes']),
51
- 'expiresAt': value['expiresAt'],
52
- };
53
- }
@@ -1,75 +0,0 @@
1
- /**
2
- * Quantum Platform User Service API
3
- * Part of the OpenAPI specification for the Quantum Platform.
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support-hub@kipu-quantum.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface AccessTokenDto
16
- */
17
- export interface AccessTokenDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AccessTokenDto
22
- */
23
- id?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AccessTokenDto
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {Set<string>}
33
- * @memberof AccessTokenDto
34
- */
35
- scopes: Set<AccessTokenDtoScopesEnum>;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof AccessTokenDto
40
- */
41
- createdAt?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof AccessTokenDto
46
- */
47
- usedAt?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof AccessTokenDto
52
- */
53
- expiresAt?: string;
54
- /**
55
- * Only available after creation.
56
- * @type {string}
57
- * @memberof AccessTokenDto
58
- */
59
- value?: string;
60
- }
61
- /**
62
- * @export
63
- */
64
- export declare const AccessTokenDtoScopesEnum: {
65
- readonly Api: "API";
66
- readonly QuantumTokens: "QUANTUM_TOKENS";
67
- };
68
- export type AccessTokenDtoScopesEnum = typeof AccessTokenDtoScopesEnum[keyof typeof AccessTokenDtoScopesEnum];
69
- /**
70
- * Check if a given object implements the AccessTokenDto interface.
71
- */
72
- export declare function instanceOfAccessTokenDto(value: object): value is AccessTokenDto;
73
- export declare function AccessTokenDtoFromJSON(json: any): AccessTokenDto;
74
- export declare function AccessTokenDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessTokenDto;
75
- export declare function AccessTokenDtoToJSON(value?: AccessTokenDto | null): any;
@@ -1,61 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Platform User Service API
5
- * Part of the OpenAPI specification for the Quantum Platform.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support-hub@kipu-quantum.com
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
- * @export
16
- */
17
- export const AccessTokenDtoScopesEnum = {
18
- Api: 'API',
19
- QuantumTokens: 'QUANTUM_TOKENS'
20
- };
21
- /**
22
- * Check if a given object implements the AccessTokenDto interface.
23
- */
24
- export function instanceOfAccessTokenDto(value) {
25
- if (!('name' in value) || value['name'] === undefined)
26
- return false;
27
- if (!('scopes' in value) || value['scopes'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- export function AccessTokenDtoFromJSON(json) {
32
- return AccessTokenDtoFromJSONTyped(json, false);
33
- }
34
- export function AccessTokenDtoFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'] == null ? undefined : json['id'],
40
- 'name': json['name'],
41
- 'scopes': json['scopes'],
42
- 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
43
- 'usedAt': json['usedAt'] == null ? undefined : json['usedAt'],
44
- 'expiresAt': json['expiresAt'] == null ? undefined : json['expiresAt'],
45
- 'value': json['value'] == null ? undefined : json['value'],
46
- };
47
- }
48
- export function AccessTokenDtoToJSON(value) {
49
- if (value == null) {
50
- return value;
51
- }
52
- return {
53
- 'id': value['id'],
54
- 'name': value['name'],
55
- 'scopes': Array.from(value['scopes']),
56
- 'createdAt': value['createdAt'],
57
- 'usedAt': value['usedAt'],
58
- 'expiresAt': value['expiresAt'],
59
- 'value': value['value'],
60
- };
61
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * Quantum Platform User Service API
3
- * Part of the OpenAPI specification for the Quantum Platform.
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support-hub@kipu-quantum.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { AccessTokenDto } from './AccessTokenDto.js';
13
- /**
14
- *
15
- * @export
16
- * @interface AccessTokensResponse
17
- */
18
- export interface AccessTokensResponse {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof AccessTokensResponse
23
- */
24
- defaultToken?: string;
25
- /**
26
- *
27
- * @type {Array<AccessTokenDto>}
28
- * @memberof AccessTokensResponse
29
- */
30
- accessTokens?: Array<AccessTokenDto>;
31
- }
32
- /**
33
- * Check if a given object implements the AccessTokensResponse interface.
34
- */
35
- export declare function instanceOfAccessTokensResponse(value: object): value is AccessTokensResponse;
36
- export declare function AccessTokensResponseFromJSON(json: any): AccessTokensResponse;
37
- export declare function AccessTokensResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessTokensResponse;
38
- export declare function AccessTokensResponseToJSON(value?: AccessTokensResponse | null): any;
@@ -1,41 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Platform User Service API
5
- * Part of the OpenAPI specification for the Quantum Platform.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support-hub@kipu-quantum.com
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
- import { AccessTokenDtoFromJSON, AccessTokenDtoToJSON, } from './AccessTokenDto.js';
15
- /**
16
- * Check if a given object implements the AccessTokensResponse interface.
17
- */
18
- export function instanceOfAccessTokensResponse(value) {
19
- return true;
20
- }
21
- export function AccessTokensResponseFromJSON(json) {
22
- return AccessTokensResponseFromJSONTyped(json, false);
23
- }
24
- export function AccessTokensResponseFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'defaultToken': json['defaultToken'] == null ? undefined : json['defaultToken'],
30
- 'accessTokens': json['accessTokens'] == null ? undefined : (json['accessTokens'].map(AccessTokenDtoFromJSON)),
31
- };
32
- }
33
- export function AccessTokensResponseToJSON(value) {
34
- if (value == null) {
35
- return value;
36
- }
37
- return {
38
- 'defaultToken': value['defaultToken'],
39
- 'accessTokens': value['accessTokens'] == null ? undefined : (value['accessTokens'].map(AccessTokenDtoToJSON)),
40
- };
41
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * Quantum Platform User Service API
3
- * Part of the OpenAPI specification for the Quantum Platform.
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support-hub@kipu-quantum.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface DefaultAccessTokenResponse
16
- */
17
- export interface DefaultAccessTokenResponse {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof DefaultAccessTokenResponse
22
- */
23
- defaultToken?: string;
24
- }
25
- /**
26
- * Check if a given object implements the DefaultAccessTokenResponse interface.
27
- */
28
- export declare function instanceOfDefaultAccessTokenResponse(value: object): value is DefaultAccessTokenResponse;
29
- export declare function DefaultAccessTokenResponseFromJSON(json: any): DefaultAccessTokenResponse;
30
- export declare function DefaultAccessTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefaultAccessTokenResponse;
31
- export declare function DefaultAccessTokenResponseToJSON(value?: DefaultAccessTokenResponse | null): any;
@@ -1,38 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Platform User Service API
5
- * Part of the OpenAPI specification for the Quantum Platform.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support-hub@kipu-quantum.com
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
- * Check if a given object implements the DefaultAccessTokenResponse interface.
16
- */
17
- export function instanceOfDefaultAccessTokenResponse(value) {
18
- return true;
19
- }
20
- export function DefaultAccessTokenResponseFromJSON(json) {
21
- return DefaultAccessTokenResponseFromJSONTyped(json, false);
22
- }
23
- export function DefaultAccessTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'defaultToken': json['defaultToken'] == null ? undefined : json['defaultToken'],
29
- };
30
- }
31
- export function DefaultAccessTokenResponseToJSON(value) {
32
- if (value == null) {
33
- return value;
34
- }
35
- return {
36
- 'defaultToken': value['defaultToken'],
37
- };
38
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * Quantum Platform User Service API
3
- * Part of the OpenAPI specification for the Quantum Platform.
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: support-hub@kipu-quantum.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface Language
16
- */
17
- export interface Language {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof Language
22
- */
23
- isoCode?: string;
24
- }
25
- /**
26
- * Check if a given object implements the Language interface.
27
- */
28
- export declare function instanceOfLanguage(value: object): value is Language;
29
- export declare function LanguageFromJSON(json: any): Language;
30
- export declare function LanguageFromJSONTyped(json: any, ignoreDiscriminator: boolean): Language;
31
- export declare function LanguageToJSON(value?: Language | null): any;
@@ -1,38 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Quantum Platform User Service API
5
- * Part of the OpenAPI specification for the Quantum Platform.
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: support-hub@kipu-quantum.com
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
- * Check if a given object implements the Language interface.
16
- */
17
- export function instanceOfLanguage(value) {
18
- return true;
19
- }
20
- export function LanguageFromJSON(json) {
21
- return LanguageFromJSONTyped(json, false);
22
- }
23
- export function LanguageFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'isoCode': json['isoCode'] == null ? undefined : json['isoCode'],
29
- };
30
- }
31
- export function LanguageToJSON(value) {
32
- if (value == null) {
33
- return value;
34
- }
35
- return {
36
- 'isoCode': value['isoCode'],
37
- };
38
- }