@quantum-hub/qhubctl 1.12.1 → 1.14.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/README.md +1 -1
- package/dist/commands/services-build-logs.d.ts +6 -0
- package/dist/commands/services-build-logs.js +85 -0
- package/dist/lib/error.js +3 -2
- package/dist/program.js +2 -0
- package/dist/service/auth-service.d.ts +2 -2
- package/dist/service/quantum-hub-service.d.ts +1 -0
- package/dist/service/quantum-hub-service.js +14 -2
- package/dist/service/user-service.d.ts +3 -3
- package/dist/service/user-service.js +9 -9
- package/package.json +1 -1
- package/dist/client/users/apis/AuthenticationApi.d.ts +0 -31
- package/dist/client/users/apis/AuthenticationApi.js +0 -46
- package/dist/client/users/apis/ExpertsApi.d.ts +0 -44
- package/dist/client/users/apis/ExpertsApi.js +0 -75
- package/dist/client/users/apis/SearchApi.d.ts +0 -46
- package/dist/client/users/apis/SearchApi.js +0 -97
- package/dist/client/users/apis/UserSettingsApi.d.ts +0 -139
- package/dist/client/users/apis/UserSettingsApi.js +0 -380
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +0 -64
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +0 -147
- package/dist/client/users/apis/UsersApi.d.ts +0 -70
- package/dist/client/users/apis/UsersApi.js +0 -133
- package/dist/client/users/apis/index.d.ts +0 -6
- package/dist/client/users/apis/index.js +0 -8
- package/dist/client/users/index.d.ts +0 -3
- package/dist/client/users/index.js +0 -5
- package/dist/client/users/models/AccessTokenCreateRequest.d.ts +0 -51
- package/dist/client/users/models/AccessTokenCreateRequest.js +0 -53
- package/dist/client/users/models/AccessTokenDto.d.ts +0 -75
- package/dist/client/users/models/AccessTokenDto.js +0 -61
- package/dist/client/users/models/AccessTokensResponse.d.ts +0 -38
- package/dist/client/users/models/AccessTokensResponse.js +0 -41
- package/dist/client/users/models/DefaultAccessTokenResponse.d.ts +0 -31
- package/dist/client/users/models/DefaultAccessTokenResponse.js +0 -38
- package/dist/client/users/models/Language.d.ts +0 -31
- package/dist/client/users/models/Language.js +0 -38
- package/dist/client/users/models/PageUserDto.d.ts +0 -94
- package/dist/client/users/models/PageUserDto.js +0 -61
- package/dist/client/users/models/Pageable.d.ts +0 -43
- package/dist/client/users/models/Pageable.js +0 -42
- package/dist/client/users/models/PageableObject.d.ts +0 -62
- package/dist/client/users/models/PageableObject.js +0 -49
- package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +0 -38
- package/dist/client/users/models/PersonalAccessTokenPrincipal.js +0 -41
- package/dist/client/users/models/Skill.d.ts +0 -31
- package/dist/client/users/models/Skill.js +0 -38
- package/dist/client/users/models/SortObject.d.ts +0 -43
- package/dist/client/users/models/SortObject.js +0 -42
- package/dist/client/users/models/UpdateUserRequest.d.ts +0 -61
- package/dist/client/users/models/UpdateUserRequest.js +0 -48
- package/dist/client/users/models/UserDto.d.ts +0 -111
- package/dist/client/users/models/UserDto.js +0 -66
- package/dist/client/users/models/UserOverviewDto.d.ts +0 -67
- package/dist/client/users/models/UserOverviewDto.js +0 -50
- package/dist/client/users/models/index.d.ts +0 -14
- package/dist/client/users/models/index.js +0 -16
- package/dist/client/users/runtime.d.ts +0 -181
- package/dist/client/users/runtime.js +0 -325
|
@@ -1,147 +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 { AccessTokenCreateRequestToJSON, AccessTokenDtoFromJSON, AccessTokensResponseFromJSON, DefaultAccessTokenResponseFromJSON, } from '../models/index.js';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export class UserSettingsPersonalAccessTokensApi extends runtime.BaseAPI {
|
|
20
|
-
/**
|
|
21
|
-
* Creates a new personal access token for the current user.
|
|
22
|
-
* Creates a new personal access token for the current user.
|
|
23
|
-
*/
|
|
24
|
-
async createAccessTokenRaw(requestParameters, initOverrides) {
|
|
25
|
-
if (requestParameters['accessTokenCreateRequest'] == null) {
|
|
26
|
-
throw new runtime.RequiredError('accessTokenCreateRequest', 'Required parameter "accessTokenCreateRequest" was null or undefined when calling createAccessToken().');
|
|
27
|
-
}
|
|
28
|
-
const queryParameters = {};
|
|
29
|
-
const headerParameters = {};
|
|
30
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
31
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
32
|
-
headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
|
|
33
|
-
}
|
|
34
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
35
|
-
// oauth required
|
|
36
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
|
|
37
|
-
}
|
|
38
|
-
const response = await this.request({
|
|
39
|
-
path: `/me/access-tokens`,
|
|
40
|
-
method: 'POST',
|
|
41
|
-
headers: headerParameters,
|
|
42
|
-
query: queryParameters,
|
|
43
|
-
body: AccessTokenCreateRequestToJSON(requestParameters['accessTokenCreateRequest']),
|
|
44
|
-
}, initOverrides);
|
|
45
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => AccessTokenDtoFromJSON(jsonValue));
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Creates a new personal access token for the current user.
|
|
49
|
-
* Creates a new personal access token for the current user.
|
|
50
|
-
*/
|
|
51
|
-
async createAccessToken(requestParameters, initOverrides) {
|
|
52
|
-
const response = await this.createAccessTokenRaw(requestParameters, initOverrides);
|
|
53
|
-
return await response.value();
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Deletes a personal access token of the current user.
|
|
57
|
-
* Deletes a personal access token of the current user.
|
|
58
|
-
*/
|
|
59
|
-
async deleteAccessTokenRaw(requestParameters, initOverrides) {
|
|
60
|
-
if (requestParameters['id'] == null) {
|
|
61
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteAccessToken().');
|
|
62
|
-
}
|
|
63
|
-
const queryParameters = {};
|
|
64
|
-
const headerParameters = {};
|
|
65
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
66
|
-
headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
|
|
67
|
-
}
|
|
68
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
69
|
-
// oauth required
|
|
70
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
|
|
71
|
-
}
|
|
72
|
-
const response = await this.request({
|
|
73
|
-
path: `/me/access-tokens/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
74
|
-
method: 'DELETE',
|
|
75
|
-
headers: headerParameters,
|
|
76
|
-
query: queryParameters,
|
|
77
|
-
}, initOverrides);
|
|
78
|
-
return new runtime.VoidApiResponse(response);
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Deletes a personal access token of the current user.
|
|
82
|
-
* Deletes a personal access token of the current user.
|
|
83
|
-
*/
|
|
84
|
-
async deleteAccessToken(requestParameters, initOverrides) {
|
|
85
|
-
await this.deleteAccessTokenRaw(requestParameters, initOverrides);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Returns the personal access tokens of the current user.
|
|
89
|
-
* Returns the personal access tokens of the current user.
|
|
90
|
-
*/
|
|
91
|
-
async getAccessTokensRaw(initOverrides) {
|
|
92
|
-
const queryParameters = {};
|
|
93
|
-
const headerParameters = {};
|
|
94
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
95
|
-
headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
|
|
96
|
-
}
|
|
97
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
98
|
-
// oauth required
|
|
99
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
|
|
100
|
-
}
|
|
101
|
-
const response = await this.request({
|
|
102
|
-
path: `/me/access-tokens`,
|
|
103
|
-
method: 'GET',
|
|
104
|
-
headers: headerParameters,
|
|
105
|
-
query: queryParameters,
|
|
106
|
-
}, initOverrides);
|
|
107
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => AccessTokensResponseFromJSON(jsonValue));
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Returns the personal access tokens of the current user.
|
|
111
|
-
* Returns the personal access tokens of the current user.
|
|
112
|
-
*/
|
|
113
|
-
async getAccessTokens(initOverrides) {
|
|
114
|
-
const response = await this.getAccessTokensRaw(initOverrides);
|
|
115
|
-
return await response.value();
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Updates the default personal access token of the current user.
|
|
119
|
-
* Updates the default personal access token of the current user.
|
|
120
|
-
*/
|
|
121
|
-
async updateDefaultAccessTokenRaw(initOverrides) {
|
|
122
|
-
const queryParameters = {};
|
|
123
|
-
const headerParameters = {};
|
|
124
|
-
if (this.configuration && this.configuration.apiKey) {
|
|
125
|
-
headerParameters["X-Auth-Token"] = await this.configuration.apiKey("X-Auth-Token"); // apiKey authentication
|
|
126
|
-
}
|
|
127
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
128
|
-
// oauth required
|
|
129
|
-
headerParameters["Authorization"] = await this.configuration.accessToken("oauth2", []);
|
|
130
|
-
}
|
|
131
|
-
const response = await this.request({
|
|
132
|
-
path: `/me/access-tokens/default`,
|
|
133
|
-
method: 'PUT',
|
|
134
|
-
headers: headerParameters,
|
|
135
|
-
query: queryParameters,
|
|
136
|
-
}, initOverrides);
|
|
137
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => DefaultAccessTokenResponseFromJSON(jsonValue));
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Updates the default personal access token of the current user.
|
|
141
|
-
* Updates the default personal access token of the current user.
|
|
142
|
-
*/
|
|
143
|
-
async updateDefaultAccessToken(initOverrides) {
|
|
144
|
-
const response = await this.updateDefaultAccessTokenRaw(initOverrides);
|
|
145
|
-
return await response.value();
|
|
146
|
-
}
|
|
147
|
-
}
|
|
@@ -1,70 +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 * as runtime from '../runtime.js';
|
|
13
|
-
import type { UserOverviewDto } from '../models/index.js';
|
|
14
|
-
export interface ExistsByIdRequest {
|
|
15
|
-
id: string;
|
|
16
|
-
}
|
|
17
|
-
export interface FindByIdRequest {
|
|
18
|
-
id: string;
|
|
19
|
-
}
|
|
20
|
-
export interface GetBackgroundImageRequest {
|
|
21
|
-
id: string;
|
|
22
|
-
}
|
|
23
|
-
export interface GetProfileImageRequest {
|
|
24
|
-
id: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
export declare class UsersApi extends runtime.BaseAPI {
|
|
30
|
-
/**
|
|
31
|
-
* Checks if a user with the given id exists.
|
|
32
|
-
* Checks if a user with the given id exists.
|
|
33
|
-
*/
|
|
34
|
-
existsByIdRaw(requestParameters: ExistsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
35
|
-
/**
|
|
36
|
-
* Checks if a user with the given id exists.
|
|
37
|
-
* Checks if a user with the given id exists.
|
|
38
|
-
*/
|
|
39
|
-
existsById(requestParameters: ExistsByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
40
|
-
/**
|
|
41
|
-
* Returns the user details of the user with the given id.
|
|
42
|
-
* Returns the user details of the user with the given id.
|
|
43
|
-
*/
|
|
44
|
-
findByIdRaw(requestParameters: FindByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserOverviewDto>>;
|
|
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
|
-
findById(requestParameters: FindByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserOverviewDto>;
|
|
50
|
-
/**
|
|
51
|
-
* Returns the current background image of the given user.
|
|
52
|
-
* Returns the current background image of the given user.
|
|
53
|
-
*/
|
|
54
|
-
getBackgroundImageRaw(requestParameters: GetBackgroundImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
55
|
-
/**
|
|
56
|
-
* Returns the current background image of the given user.
|
|
57
|
-
* Returns the current background image of the given user.
|
|
58
|
-
*/
|
|
59
|
-
getBackgroundImage(requestParameters: GetBackgroundImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
60
|
-
/**
|
|
61
|
-
* Returns the current profile image of the given user.
|
|
62
|
-
* Returns the current profile image of the given user.
|
|
63
|
-
*/
|
|
64
|
-
getProfileImageRaw(requestParameters: GetProfileImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
65
|
-
/**
|
|
66
|
-
* Returns the current profile image of the given user.
|
|
67
|
-
* Returns the current profile image of the given user.
|
|
68
|
-
*/
|
|
69
|
-
getProfileImage(requestParameters: GetProfileImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
70
|
-
}
|
|
@@ -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,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,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;
|