@gambulls-org/gambulls-apis 3.0.769 → 3.0.770
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/.openapi-generator/FILES +2 -0
- package/apis/AdminUserManagementApi.js +38 -0
- package/apis/AdminUserManagementApi.ts +52 -0
- package/models/ApiAdminUsersGroupApiKeyUserIdPost200Response.js +61 -0
- package/models/ApiAdminUsersGroupApiKeyUserIdPost200Response.ts +100 -0
- package/models/ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject.js +50 -0
- package/models/ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject.ts +66 -0
- package/models/index.js +2 -0
- package/models/index.ts +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -407,6 +407,8 @@ models/ApiAdminUsersGet200ResponseResponseObjectItemsInner.ts
|
|
|
407
407
|
models/ApiAdminUsersGetFilterParameter.ts
|
|
408
408
|
models/ApiAdminUsersGetFilterParameterDeposits.ts
|
|
409
409
|
models/ApiAdminUsersGetFilterParameterDepositsAnyOf.ts
|
|
410
|
+
models/ApiAdminUsersGroupApiKeyUserIdPost200Response.ts
|
|
411
|
+
models/ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject.ts
|
|
410
412
|
models/ApiAdminUsersGroupPutRequest.ts
|
|
411
413
|
models/ApiAdminUsersRegisterPostRequest.ts
|
|
412
414
|
models/ApiAdminUsersUnflagAltAccountPost200Response.ts
|
|
@@ -481,6 +481,44 @@ class AdminUserManagementApi extends runtime.BaseAPI {
|
|
|
481
481
|
return yield response.value();
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
|
+
/**
|
|
485
|
+
* User Streamer Group Generate API Key
|
|
486
|
+
*/
|
|
487
|
+
apiAdminUsersGroupApiKeyUserIdPostRaw(requestParameters, initOverrides) {
|
|
488
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
489
|
+
if (requestParameters['userId'] == null) {
|
|
490
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling apiAdminUsersGroupApiKeyUserIdPost().');
|
|
491
|
+
}
|
|
492
|
+
const queryParameters = {};
|
|
493
|
+
const headerParameters = {};
|
|
494
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
495
|
+
headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
496
|
+
}
|
|
497
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
498
|
+
const token = this.configuration.accessToken;
|
|
499
|
+
const tokenString = yield token("BearerAuth", []);
|
|
500
|
+
if (tokenString) {
|
|
501
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
const response = yield this.request({
|
|
505
|
+
path: `/api/admin/users/group/api-key/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
506
|
+
method: 'POST',
|
|
507
|
+
headers: headerParameters,
|
|
508
|
+
query: queryParameters,
|
|
509
|
+
}, initOverrides);
|
|
510
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON)(jsonValue));
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* User Streamer Group Generate API Key
|
|
515
|
+
*/
|
|
516
|
+
apiAdminUsersGroupApiKeyUserIdPost(requestParameters, initOverrides) {
|
|
517
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
518
|
+
const response = yield this.apiAdminUsersGroupApiKeyUserIdPostRaw(requestParameters, initOverrides);
|
|
519
|
+
return yield response.value();
|
|
520
|
+
});
|
|
521
|
+
}
|
|
484
522
|
/**
|
|
485
523
|
* User Group Update
|
|
486
524
|
*/
|
|
@@ -29,6 +29,7 @@ import type {
|
|
|
29
29
|
ApiAdminUsersDocumentPostRequest,
|
|
30
30
|
ApiAdminUsersGet200Response,
|
|
31
31
|
ApiAdminUsersGetFilterParameter,
|
|
32
|
+
ApiAdminUsersGroupApiKeyUserIdPost200Response,
|
|
32
33
|
ApiAdminUsersGroupPutRequest,
|
|
33
34
|
ApiAdminUsersRegisterPostRequest,
|
|
34
35
|
ApiAdminUsersUnflagAltAccountPost200Response,
|
|
@@ -85,6 +86,8 @@ import {
|
|
|
85
86
|
ApiAdminUsersGet200ResponseToJSON,
|
|
86
87
|
ApiAdminUsersGetFilterParameterFromJSON,
|
|
87
88
|
ApiAdminUsersGetFilterParameterToJSON,
|
|
89
|
+
ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON,
|
|
90
|
+
ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSON,
|
|
88
91
|
ApiAdminUsersGroupPutRequestFromJSON,
|
|
89
92
|
ApiAdminUsersGroupPutRequestToJSON,
|
|
90
93
|
ApiAdminUsersRegisterPostRequestFromJSON,
|
|
@@ -201,6 +204,10 @@ export interface ApiAdminUsersGetRequest {
|
|
|
201
204
|
sort?: string;
|
|
202
205
|
}
|
|
203
206
|
|
|
207
|
+
export interface ApiAdminUsersGroupApiKeyUserIdPostRequest {
|
|
208
|
+
userId: string;
|
|
209
|
+
}
|
|
210
|
+
|
|
204
211
|
export interface ApiAdminUsersGroupPutOperationRequest {
|
|
205
212
|
apiAdminUsersGroupPutRequest?: ApiAdminUsersGroupPutRequest;
|
|
206
213
|
}
|
|
@@ -820,6 +827,51 @@ export class AdminUserManagementApi extends runtime.BaseAPI {
|
|
|
820
827
|
return await response.value();
|
|
821
828
|
}
|
|
822
829
|
|
|
830
|
+
/**
|
|
831
|
+
* User Streamer Group Generate API Key
|
|
832
|
+
*/
|
|
833
|
+
async apiAdminUsersGroupApiKeyUserIdPostRaw(requestParameters: ApiAdminUsersGroupApiKeyUserIdPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminUsersGroupApiKeyUserIdPost200Response>> {
|
|
834
|
+
if (requestParameters['userId'] == null) {
|
|
835
|
+
throw new runtime.RequiredError(
|
|
836
|
+
'userId',
|
|
837
|
+
'Required parameter "userId" was null or undefined when calling apiAdminUsersGroupApiKeyUserIdPost().'
|
|
838
|
+
);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
const queryParameters: any = {};
|
|
842
|
+
|
|
843
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
844
|
+
|
|
845
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
846
|
+
headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
850
|
+
const token = this.configuration.accessToken;
|
|
851
|
+
const tokenString = await token("BearerAuth", []);
|
|
852
|
+
|
|
853
|
+
if (tokenString) {
|
|
854
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
const response = await this.request({
|
|
858
|
+
path: `/api/admin/users/group/api-key/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
859
|
+
method: 'POST',
|
|
860
|
+
headers: headerParameters,
|
|
861
|
+
query: queryParameters,
|
|
862
|
+
}, initOverrides);
|
|
863
|
+
|
|
864
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON(jsonValue));
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* User Streamer Group Generate API Key
|
|
869
|
+
*/
|
|
870
|
+
async apiAdminUsersGroupApiKeyUserIdPost(requestParameters: ApiAdminUsersGroupApiKeyUserIdPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminUsersGroupApiKeyUserIdPost200Response> {
|
|
871
|
+
const response = await this.apiAdminUsersGroupApiKeyUserIdPostRaw(requestParameters, initOverrides);
|
|
872
|
+
return await response.value();
|
|
873
|
+
}
|
|
874
|
+
|
|
823
875
|
/**
|
|
824
876
|
* User Group Update
|
|
825
877
|
*/
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiAdminUsersGroupApiKeyUserIdPost200Response = instanceOfApiAdminUsersGroupApiKeyUserIdPost200Response;
|
|
17
|
+
exports.ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON = ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON;
|
|
18
|
+
exports.ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSONTyped = ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSON = ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSON;
|
|
20
|
+
exports.ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSONTyped = ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSONTyped;
|
|
21
|
+
const ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject_1 = require("./ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiAdminUsersGroupApiKeyUserIdPost200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiAdminUsersGroupApiKeyUserIdPost200Response(value) {
|
|
26
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON(json) {
|
|
35
|
+
return ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'success': json['success'],
|
|
43
|
+
'message': json['message'],
|
|
44
|
+
'responseObject': json['responseObject'] == null ? undefined : (0, ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject_1.ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSON)(json['responseObject']),
|
|
45
|
+
'statusCode': json['statusCode'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSON(json) {
|
|
49
|
+
return ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'success': value['success'],
|
|
57
|
+
'message': value['message'],
|
|
58
|
+
'responseObject': (0, ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject_1.ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSON)(value['responseObject']),
|
|
59
|
+
'statusCode': value['statusCode'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject } from './ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiAdminUsersGroupApiKeyUserIdPost200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiAdminUsersGroupApiKeyUserIdPost200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiAdminUsersGroupApiKeyUserIdPost200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiAdminUsersGroupApiKeyUserIdPost200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiAdminUsersGroupApiKeyUserIdPost200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiAdminUsersGroupApiKeyUserIdPost200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiAdminUsersGroupApiKeyUserIdPost200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiAdminUsersGroupApiKeyUserIdPost200Response(value: object): value is ApiAdminUsersGroupApiKeyUserIdPost200Response {
|
|
60
|
+
if (!('success' in value) || value['success'] === undefined) return false;
|
|
61
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
62
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSON(json: any): ApiAdminUsersGroupApiKeyUserIdPost200Response {
|
|
67
|
+
return ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiAdminUsersGroupApiKeyUserIdPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminUsersGroupApiKeyUserIdPost200Response {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': json['success'],
|
|
77
|
+
'message': json['message'],
|
|
78
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSON(json: any): ApiAdminUsersGroupApiKeyUserIdPost200Response {
|
|
84
|
+
return ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiAdminUsersGroupApiKeyUserIdPost200ResponseToJSONTyped(value?: ApiAdminUsersGroupApiKeyUserIdPost200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'success': value['success'],
|
|
95
|
+
'message': value['message'],
|
|
96
|
+
'responseObject': ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject = instanceOfApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject;
|
|
17
|
+
exports.ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSON = ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSON;
|
|
18
|
+
exports.ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSONTyped = ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSONTyped;
|
|
19
|
+
exports.ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSON = ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSON;
|
|
20
|
+
exports.ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSONTyped = ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject(value) {
|
|
25
|
+
if (!('apiKey' in value) || value['apiKey'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSON(json) {
|
|
30
|
+
return ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'apiKey': json['apiKey'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSON(json) {
|
|
41
|
+
return ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'apiKey': value['apiKey'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject
|
|
26
|
+
*/
|
|
27
|
+
apiKey: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject(value: object): value is ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject {
|
|
34
|
+
if (!('apiKey' in value) || value['apiKey'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSON(json: any): ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject {
|
|
39
|
+
return ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'apiKey': json['apiKey'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSON(json: any): ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject {
|
|
53
|
+
return ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObjectToJSONTyped(value?: ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'apiKey': value['apiKey'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/models/index.js
CHANGED
|
@@ -350,6 +350,8 @@ __exportStar(require("./ApiAdminUsersGet200ResponseResponseObjectItemsInner"), e
|
|
|
350
350
|
__exportStar(require("./ApiAdminUsersGetFilterParameter"), exports);
|
|
351
351
|
__exportStar(require("./ApiAdminUsersGetFilterParameterDeposits"), exports);
|
|
352
352
|
__exportStar(require("./ApiAdminUsersGetFilterParameterDepositsAnyOf"), exports);
|
|
353
|
+
__exportStar(require("./ApiAdminUsersGroupApiKeyUserIdPost200Response"), exports);
|
|
354
|
+
__exportStar(require("./ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject"), exports);
|
|
353
355
|
__exportStar(require("./ApiAdminUsersGroupPutRequest"), exports);
|
|
354
356
|
__exportStar(require("./ApiAdminUsersRegisterPostRequest"), exports);
|
|
355
357
|
__exportStar(require("./ApiAdminUsersUnflagAltAccountPost200Response"), exports);
|
package/models/index.ts
CHANGED
|
@@ -334,6 +334,8 @@ export * from './ApiAdminUsersGet200ResponseResponseObjectItemsInner';
|
|
|
334
334
|
export * from './ApiAdminUsersGetFilterParameter';
|
|
335
335
|
export * from './ApiAdminUsersGetFilterParameterDeposits';
|
|
336
336
|
export * from './ApiAdminUsersGetFilterParameterDepositsAnyOf';
|
|
337
|
+
export * from './ApiAdminUsersGroupApiKeyUserIdPost200Response';
|
|
338
|
+
export * from './ApiAdminUsersGroupApiKeyUserIdPost200ResponseResponseObject';
|
|
337
339
|
export * from './ApiAdminUsersGroupPutRequest';
|
|
338
340
|
export * from './ApiAdminUsersRegisterPostRequest';
|
|
339
341
|
export * from './ApiAdminUsersUnflagAltAccountPost200Response';
|