@breign/client 1.0.126 → 1.0.128
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/dist/apis/AiGatewayApi.d.ts +100 -0
- package/dist/apis/AiGatewayApi.js +248 -0
- package/dist/apis/AppApi.d.ts +17 -3
- package/dist/apis/AppApi.js +36 -2
- package/dist/apis/AuthApi.d.ts +40 -1
- package/dist/apis/AuthApi.js +82 -0
- package/dist/apis/ConfigurationApi.d.ts +16 -3
- package/dist/apis/ConfigurationApi.js +33 -2
- package/dist/apis/ConversationsApi.d.ts +73 -3
- package/dist/apis/ConversationsApi.js +174 -2
- package/dist/apis/EngineApi.d.ts +17 -16
- package/dist/apis/EngineApi.js +33 -30
- package/dist/apis/EnginesApi.d.ts +3 -3
- package/dist/apis/EnginesApi.js +4 -4
- package/dist/apis/OrganizationsApi.d.ts +10 -111
- package/dist/apis/OrganizationsApi.js +12 -264
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +1 -1
- package/dist/apis/ToolsApi.d.ts +1 -2
- package/dist/apis/ToolsApi.js +3 -6
- package/dist/apis/UsersApi.d.ts +127 -0
- package/dist/apis/UsersApi.js +308 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AgentPatchUio.d.ts +7 -0
- package/dist/models/AgentPatchUio.js +3 -0
- package/dist/models/AgentSandboxConfigurationUio.d.ts +58 -0
- package/dist/models/AgentSandboxConfigurationUio.js +62 -0
- package/dist/models/AgentSandboxNetworkConfigurationUio.d.ts +57 -0
- package/dist/models/AgentSandboxNetworkConfigurationUio.js +65 -0
- package/dist/models/AgentUio.d.ts +7 -0
- package/dist/models/AgentUio.js +3 -0
- package/dist/models/AiGatewayChatCompletionRequestUio.d.ts +57 -0
- package/dist/models/AiGatewayChatCompletionRequestUio.js +61 -0
- package/dist/models/AiGatewayChatCompletionResponseUio.d.ts +47 -0
- package/dist/models/AiGatewayChatCompletionResponseUio.js +54 -0
- package/dist/models/AiGatewayEmbeddingRequestUio.d.ts +38 -0
- package/dist/models/AiGatewayEmbeddingRequestUio.js +54 -0
- package/dist/models/AiGatewayEmbeddingResponseUio.d.ts +47 -0
- package/dist/models/AiGatewayEmbeddingResponseUio.js +54 -0
- package/dist/models/AiGatewayErrorUio.d.ts +33 -0
- package/dist/models/AiGatewayErrorUio.js +51 -0
- package/dist/models/AiGatewayMessageUio.d.ts +47 -0
- package/dist/models/AiGatewayMessageUio.js +63 -0
- package/dist/models/AiGatewayModelListDataInnerUio.d.ts +57 -0
- package/dist/models/AiGatewayModelListDataInnerUio.js +69 -0
- package/dist/models/AiGatewayModelListUio.d.ts +46 -0
- package/dist/models/AiGatewayModelListUio.js +62 -0
- package/dist/models/AiGatewayModelUio.d.ts +57 -0
- package/dist/models/AiGatewayModelUio.js +69 -0
- package/dist/models/ApiKeyCreateRequestUio.d.ts +32 -0
- package/dist/models/ApiKeyCreateRequestUio.js +50 -0
- package/dist/models/ApiKeyCreatedUio.d.ts +44 -0
- package/dist/models/{ApiKeyUio.js → ApiKeyCreatedUio.js} +13 -13
- package/dist/models/ApiKeyRefUio.d.ts +38 -0
- package/dist/models/ApiKeyRefUio.js +54 -0
- package/dist/models/AppInstanceEphemeralCreateRequestUio.d.ts +1 -1
- package/dist/models/AppInstanceEphemeralCreateRequestUio.js +3 -1
- package/dist/models/AppReplaceRequestUio.d.ts +94 -0
- package/dist/models/AppReplaceRequestUio.js +82 -0
- package/dist/models/AppTextToSpeechResponseUio.d.ts +3 -3
- package/dist/models/AppTextToSpeechResponseUio.js +3 -3
- package/dist/models/AppUpdateRequestEphemeralInstancesUio.d.ts +38 -0
- package/dist/models/AppUpdateRequestEphemeralInstancesUio.js +50 -0
- package/dist/models/AppUpdateRequestUio.d.ts +12 -12
- package/dist/models/AppUpdateRequestUio.js +3 -3
- package/dist/models/AttachmentProcessedRequestUio.d.ts +50 -0
- package/dist/models/AttachmentProcessedRequestUio.js +62 -0
- package/dist/models/AuthCodeConfirmRequestUio.d.ts +1 -1
- package/dist/models/AuthCodeConfirmRequestUio.js +3 -1
- package/dist/models/AuthCodeConfirmResponseUio.d.ts +15 -3
- package/dist/models/AuthCodeConfirmResponseUio.js +6 -3
- package/dist/models/ChatMessageUio.d.ts +6 -0
- package/dist/models/ChatMessageUio.js +2 -0
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.d.ts +7 -6
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.js +7 -8
- package/dist/models/ConfigurationDefaultFillerPhrasesUpdateRequestUio.d.ts +39 -0
- package/dist/models/ConfigurationDefaultFillerPhrasesUpdateRequestUio.js +55 -0
- package/dist/models/ContextLocationRequestUio.d.ts +38 -0
- package/dist/models/ContextLocationRequestUio.js +54 -0
- package/dist/models/ConversationDetailUio.d.ts +101 -0
- package/dist/models/ConversationDetailUio.js +75 -0
- package/dist/models/ConversationMessagesInnerUio.d.ts +6 -0
- package/dist/models/ConversationMessagesInnerUio.js +2 -0
- package/dist/models/DeleteOrganizationUser200ResponseUio.d.ts +32 -0
- package/dist/models/DeleteOrganizationUser200ResponseUio.js +50 -0
- package/dist/models/DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio.d.ts +50 -0
- package/dist/models/DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio.js +54 -0
- package/dist/models/DeleteProvider200ResponseUio.d.ts +45 -0
- package/dist/models/DeleteProvider200ResponseUio.js +55 -0
- package/dist/models/EmbeddingProviderModelsInnerUio.d.ts +44 -0
- package/dist/models/EmbeddingProviderModelsInnerUio.js +58 -0
- package/dist/models/EmbeddingProviderUio.d.ts +57 -0
- package/dist/models/EmbeddingProviderUio.js +65 -0
- package/dist/models/FillerPhraseUio.d.ts +38 -0
- package/dist/models/FillerPhraseUio.js +54 -0
- package/dist/models/GetJwks200ResponseUio.d.ts +34 -0
- package/dist/models/GetJwks200ResponseUio.js +50 -0
- package/dist/models/MarkAttachmentProcessed400ResponseUio.d.ts +40 -0
- package/dist/models/MarkAttachmentProcessed400ResponseUio.js +52 -0
- package/dist/models/MessageUio.d.ts +7 -1
- package/dist/models/MessageUio.js +2 -0
- package/dist/models/OpenAiChatCompletionRequestStreamOptionsUio.d.ts +32 -0
- package/dist/models/OpenAiChatCompletionRequestStreamOptionsUio.js +48 -0
- package/dist/models/OpenAiChatCompletionRequestUio.d.ts +64 -0
- package/dist/models/OpenAiChatCompletionRequestUio.js +64 -0
- package/dist/models/OpenAiChatCompletionResponseUio.d.ts +67 -0
- package/dist/models/OpenAiChatCompletionResponseUio.js +60 -0
- package/dist/models/OrganizationMemberUio.d.ts +3 -3
- package/dist/models/OrganizationMemberUio.js +3 -3
- package/dist/models/OrganizationMemberUserUio.d.ts +32 -0
- package/dist/models/OrganizationMemberUserUio.js +50 -0
- package/dist/models/PinRequestUio.d.ts +3 -3
- package/dist/models/PinRequestUio.js +3 -3
- package/dist/models/ProviderValiationRequestUio.d.ts +1 -1
- package/dist/models/ProviderValiationRequestUio.js +1 -3
- package/dist/models/SetContextLocation400ResponseUio.d.ts +40 -0
- package/dist/models/SetContextLocation400ResponseUio.js +52 -0
- package/dist/models/TTSRequestUio.d.ts +1 -1
- package/dist/models/TTSRequestUio.js +1 -3
- package/dist/models/UserCreateRequestUio.d.ts +45 -0
- package/dist/models/UserCreateRequestUio.js +57 -0
- package/dist/models/UserDetailUio.d.ts +88 -0
- package/dist/models/UserDetailUio.js +80 -0
- package/dist/models/UserIdentifierRequestUio.d.ts +32 -0
- package/dist/models/UserIdentifierRequestUio.js +50 -0
- package/dist/models/UserIdentifierUio.d.ts +38 -0
- package/dist/models/UserIdentifierUio.js +52 -0
- package/dist/models/UserLockRequestUio.d.ts +32 -0
- package/dist/models/UserLockRequestUio.js +50 -0
- package/dist/models/UserUpdateRequestUio.d.ts +63 -0
- package/dist/models/UserUpdateRequestUio.js +59 -0
- package/dist/models/WorkspaceFileContentUio.d.ts +62 -0
- package/dist/models/WorkspaceFileContentUio.js +70 -0
- package/dist/models/WorkspaceFileEntryUio.d.ts +56 -0
- package/dist/models/WorkspaceFileEntryUio.js +66 -0
- package/dist/models/index.d.ts +41 -14
- package/dist/models/index.js +41 -14
- package/dist/openapi.json +3890 -2297
- package/package.json +1 -1
- package/dist/models/AccessRoleCreateRequestUio.d.ts +0 -45
- package/dist/models/AccessRoleCreateRequestUio.js +0 -55
- package/dist/models/AccessRolePermissionsRequestUio.d.ts +0 -33
- package/dist/models/AccessRolePermissionsRequestUio.js +0 -51
- package/dist/models/AccessRoleUio.d.ts +0 -75
- package/dist/models/AccessRoleUio.js +0 -75
- package/dist/models/AccessRoleUpdateRequestUio.d.ts +0 -38
- package/dist/models/AccessRoleUpdateRequestUio.js +0 -52
- package/dist/models/ApiKeyUio.d.ts +0 -44
- package/dist/models/AudioFile1Uio.d.ts +0 -45
- package/dist/models/AudioFile1Uio.js +0 -59
- package/dist/models/Conversation1Uio.d.ts +0 -46
- package/dist/models/Conversation1Uio.js +0 -60
- package/dist/models/OrganizationPermissionKeyUio.d.ts +0 -59
- package/dist/models/OrganizationPermissionKeyUio.js +0 -85
- package/dist/models/PermissionEntryUio.d.ts +0 -39
- package/dist/models/PermissionEntryUio.js +0 -55
- package/dist/models/ProviderSimpleUio.d.ts +0 -57
- package/dist/models/ProviderSimpleUio.js +0 -65
- package/dist/models/UserAccessRolesRequestUio.d.ts +0 -32
- package/dist/models/UserAccessRolesRequestUio.js +0 -50
- package/dist/models/UserAccessUio.d.ts +0 -39
- package/dist/models/UserAccessUio.js +0 -55
- package/dist/models/UserDirectPermissionsRequestUio.d.ts +0 -33
- package/dist/models/UserDirectPermissionsRequestUio.js +0 -51
- package/dist/models/UserUio.d.ts +0 -87
- package/dist/models/UserUio.js +0 -67
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 AiGatewayMessageUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AiGatewayMessageUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiGatewayMessageUio
|
|
22
|
+
*/
|
|
23
|
+
role: AiGatewayMessageUioRoleEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiGatewayMessageUio
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const AiGatewayMessageUioRoleEnum: {
|
|
35
|
+
readonly User: "user";
|
|
36
|
+
readonly System: "system";
|
|
37
|
+
readonly Assistant: "assistant";
|
|
38
|
+
};
|
|
39
|
+
export type AiGatewayMessageUioRoleEnum = typeof AiGatewayMessageUioRoleEnum[keyof typeof AiGatewayMessageUioRoleEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the AiGatewayMessageUio interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfAiGatewayMessageUio(value: object): value is AiGatewayMessageUio;
|
|
44
|
+
export declare function AiGatewayMessageUioFromJSON(json: any): AiGatewayMessageUio;
|
|
45
|
+
export declare function AiGatewayMessageUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayMessageUio;
|
|
46
|
+
export declare function AiGatewayMessageUioToJSON(json: any): AiGatewayMessageUio;
|
|
47
|
+
export declare function AiGatewayMessageUioToJSONTyped(value?: AiGatewayMessageUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.AiGatewayMessageUioRoleEnum = void 0;
|
|
17
|
+
exports.instanceOfAiGatewayMessageUio = instanceOfAiGatewayMessageUio;
|
|
18
|
+
exports.AiGatewayMessageUioFromJSON = AiGatewayMessageUioFromJSON;
|
|
19
|
+
exports.AiGatewayMessageUioFromJSONTyped = AiGatewayMessageUioFromJSONTyped;
|
|
20
|
+
exports.AiGatewayMessageUioToJSON = AiGatewayMessageUioToJSON;
|
|
21
|
+
exports.AiGatewayMessageUioToJSONTyped = AiGatewayMessageUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AiGatewayMessageUioRoleEnum = {
|
|
26
|
+
User: 'user',
|
|
27
|
+
System: 'system',
|
|
28
|
+
Assistant: 'assistant'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AiGatewayMessageUio interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfAiGatewayMessageUio(value) {
|
|
34
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function AiGatewayMessageUioFromJSON(json) {
|
|
41
|
+
return AiGatewayMessageUioFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AiGatewayMessageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'role': json['role'],
|
|
49
|
+
'content': json['content'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function AiGatewayMessageUioToJSON(json) {
|
|
53
|
+
return AiGatewayMessageUioToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function AiGatewayMessageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'role': value['role'],
|
|
61
|
+
'content': value['content'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 AiGatewayModelListDataInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AiGatewayModelListDataInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
* Identifiant du modèle côté provider (`modelId`) — la valeur à renvoyer dans `model` sur les endpoints de complétion et d'embedding.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiGatewayModelListDataInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiGatewayModelListDataInnerUio
|
|
28
|
+
*/
|
|
29
|
+
object: AiGatewayModelListDataInnerUioObjectEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AiGatewayModelListDataInnerUio
|
|
34
|
+
*/
|
|
35
|
+
created: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AiGatewayModelListDataInnerUio
|
|
40
|
+
*/
|
|
41
|
+
ownedBy: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const AiGatewayModelListDataInnerUioObjectEnum: {
|
|
47
|
+
readonly Model: "model";
|
|
48
|
+
};
|
|
49
|
+
export type AiGatewayModelListDataInnerUioObjectEnum = typeof AiGatewayModelListDataInnerUioObjectEnum[keyof typeof AiGatewayModelListDataInnerUioObjectEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AiGatewayModelListDataInnerUio interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfAiGatewayModelListDataInnerUio(value: object): value is AiGatewayModelListDataInnerUio;
|
|
54
|
+
export declare function AiGatewayModelListDataInnerUioFromJSON(json: any): AiGatewayModelListDataInnerUio;
|
|
55
|
+
export declare function AiGatewayModelListDataInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayModelListDataInnerUio;
|
|
56
|
+
export declare function AiGatewayModelListDataInnerUioToJSON(json: any): AiGatewayModelListDataInnerUio;
|
|
57
|
+
export declare function AiGatewayModelListDataInnerUioToJSONTyped(value?: AiGatewayModelListDataInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.AiGatewayModelListDataInnerUioObjectEnum = void 0;
|
|
17
|
+
exports.instanceOfAiGatewayModelListDataInnerUio = instanceOfAiGatewayModelListDataInnerUio;
|
|
18
|
+
exports.AiGatewayModelListDataInnerUioFromJSON = AiGatewayModelListDataInnerUioFromJSON;
|
|
19
|
+
exports.AiGatewayModelListDataInnerUioFromJSONTyped = AiGatewayModelListDataInnerUioFromJSONTyped;
|
|
20
|
+
exports.AiGatewayModelListDataInnerUioToJSON = AiGatewayModelListDataInnerUioToJSON;
|
|
21
|
+
exports.AiGatewayModelListDataInnerUioToJSONTyped = AiGatewayModelListDataInnerUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AiGatewayModelListDataInnerUioObjectEnum = {
|
|
26
|
+
Model: 'model'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the AiGatewayModelListDataInnerUio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfAiGatewayModelListDataInnerUio(value) {
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('object' in value) || value['object'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('ownedBy' in value) || value['ownedBy'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function AiGatewayModelListDataInnerUioFromJSON(json) {
|
|
43
|
+
return AiGatewayModelListDataInnerUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AiGatewayModelListDataInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'object': json['object'],
|
|
52
|
+
'created': json['created'],
|
|
53
|
+
'ownedBy': json['owned_by'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function AiGatewayModelListDataInnerUioToJSON(json) {
|
|
57
|
+
return AiGatewayModelListDataInnerUioToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function AiGatewayModelListDataInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'object': value['object'],
|
|
66
|
+
'created': value['created'],
|
|
67
|
+
'owned_by': value['ownedBy'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 { AiGatewayModelListDataInnerUio } from './AiGatewayModelListDataInnerUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AiGatewayModelListUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AiGatewayModelListUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AiGatewayModelListUio
|
|
23
|
+
*/
|
|
24
|
+
object: AiGatewayModelListUioObjectEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<AiGatewayModelListDataInnerUio>}
|
|
28
|
+
* @memberof AiGatewayModelListUio
|
|
29
|
+
*/
|
|
30
|
+
data: Array<AiGatewayModelListDataInnerUio>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const AiGatewayModelListUioObjectEnum: {
|
|
36
|
+
readonly List: "list";
|
|
37
|
+
};
|
|
38
|
+
export type AiGatewayModelListUioObjectEnum = typeof AiGatewayModelListUioObjectEnum[keyof typeof AiGatewayModelListUioObjectEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AiGatewayModelListUio interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAiGatewayModelListUio(value: object): value is AiGatewayModelListUio;
|
|
43
|
+
export declare function AiGatewayModelListUioFromJSON(json: any): AiGatewayModelListUio;
|
|
44
|
+
export declare function AiGatewayModelListUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayModelListUio;
|
|
45
|
+
export declare function AiGatewayModelListUioToJSON(json: any): AiGatewayModelListUio;
|
|
46
|
+
export declare function AiGatewayModelListUioToJSONTyped(value?: AiGatewayModelListUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.AiGatewayModelListUioObjectEnum = void 0;
|
|
17
|
+
exports.instanceOfAiGatewayModelListUio = instanceOfAiGatewayModelListUio;
|
|
18
|
+
exports.AiGatewayModelListUioFromJSON = AiGatewayModelListUioFromJSON;
|
|
19
|
+
exports.AiGatewayModelListUioFromJSONTyped = AiGatewayModelListUioFromJSONTyped;
|
|
20
|
+
exports.AiGatewayModelListUioToJSON = AiGatewayModelListUioToJSON;
|
|
21
|
+
exports.AiGatewayModelListUioToJSONTyped = AiGatewayModelListUioToJSONTyped;
|
|
22
|
+
const AiGatewayModelListDataInnerUio_1 = require("./AiGatewayModelListDataInnerUio");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AiGatewayModelListUioObjectEnum = {
|
|
27
|
+
List: 'list'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AiGatewayModelListUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAiGatewayModelListUio(value) {
|
|
33
|
+
if (!('object' in value) || value['object'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AiGatewayModelListUioFromJSON(json) {
|
|
40
|
+
return AiGatewayModelListUioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AiGatewayModelListUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'object': json['object'],
|
|
48
|
+
'data': (json['data'].map(AiGatewayModelListDataInnerUio_1.AiGatewayModelListDataInnerUioFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function AiGatewayModelListUioToJSON(json) {
|
|
52
|
+
return AiGatewayModelListUioToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function AiGatewayModelListUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'object': value['object'],
|
|
60
|
+
'data': (value['data'].map(AiGatewayModelListDataInnerUio_1.AiGatewayModelListDataInnerUioToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 AiGatewayModelUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AiGatewayModelUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiGatewayModelUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiGatewayModelUio
|
|
28
|
+
*/
|
|
29
|
+
object: AiGatewayModelUioObjectEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Horodatage Unix généré à chaque appel, pas une date de création réelle.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AiGatewayModelUio
|
|
34
|
+
*/
|
|
35
|
+
created: number;
|
|
36
|
+
/**
|
|
37
|
+
* Nom du provider qui expose le modèle.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AiGatewayModelUio
|
|
40
|
+
*/
|
|
41
|
+
ownedBy: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const AiGatewayModelUioObjectEnum: {
|
|
47
|
+
readonly Model: "model";
|
|
48
|
+
};
|
|
49
|
+
export type AiGatewayModelUioObjectEnum = typeof AiGatewayModelUioObjectEnum[keyof typeof AiGatewayModelUioObjectEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AiGatewayModelUio interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfAiGatewayModelUio(value: object): value is AiGatewayModelUio;
|
|
54
|
+
export declare function AiGatewayModelUioFromJSON(json: any): AiGatewayModelUio;
|
|
55
|
+
export declare function AiGatewayModelUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayModelUio;
|
|
56
|
+
export declare function AiGatewayModelUioToJSON(json: any): AiGatewayModelUio;
|
|
57
|
+
export declare function AiGatewayModelUioToJSONTyped(value?: AiGatewayModelUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.AiGatewayModelUioObjectEnum = void 0;
|
|
17
|
+
exports.instanceOfAiGatewayModelUio = instanceOfAiGatewayModelUio;
|
|
18
|
+
exports.AiGatewayModelUioFromJSON = AiGatewayModelUioFromJSON;
|
|
19
|
+
exports.AiGatewayModelUioFromJSONTyped = AiGatewayModelUioFromJSONTyped;
|
|
20
|
+
exports.AiGatewayModelUioToJSON = AiGatewayModelUioToJSON;
|
|
21
|
+
exports.AiGatewayModelUioToJSONTyped = AiGatewayModelUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AiGatewayModelUioObjectEnum = {
|
|
26
|
+
Model: 'model'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the AiGatewayModelUio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfAiGatewayModelUio(value) {
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('object' in value) || value['object'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('ownedBy' in value) || value['ownedBy'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function AiGatewayModelUioFromJSON(json) {
|
|
43
|
+
return AiGatewayModelUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AiGatewayModelUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'object': json['object'],
|
|
52
|
+
'created': json['created'],
|
|
53
|
+
'ownedBy': json['owned_by'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function AiGatewayModelUioToJSON(json) {
|
|
57
|
+
return AiGatewayModelUioToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function AiGatewayModelUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'object': value['object'],
|
|
66
|
+
'created': value['created'],
|
|
67
|
+
'owned_by': value['ownedBy'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 ApiKeyCreateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiKeyCreateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* Nom descriptif de la clé
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiKeyCreateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiKeyCreateRequestUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiKeyCreateRequestUio(value: object): value is ApiKeyCreateRequestUio;
|
|
29
|
+
export declare function ApiKeyCreateRequestUioFromJSON(json: any): ApiKeyCreateRequestUio;
|
|
30
|
+
export declare function ApiKeyCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeyCreateRequestUio;
|
|
31
|
+
export declare function ApiKeyCreateRequestUioToJSON(json: any): ApiKeyCreateRequestUio;
|
|
32
|
+
export declare function ApiKeyCreateRequestUioToJSONTyped(value?: ApiKeyCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfApiKeyCreateRequestUio = instanceOfApiKeyCreateRequestUio;
|
|
17
|
+
exports.ApiKeyCreateRequestUioFromJSON = ApiKeyCreateRequestUioFromJSON;
|
|
18
|
+
exports.ApiKeyCreateRequestUioFromJSONTyped = ApiKeyCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.ApiKeyCreateRequestUioToJSON = ApiKeyCreateRequestUioToJSON;
|
|
20
|
+
exports.ApiKeyCreateRequestUioToJSONTyped = ApiKeyCreateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiKeyCreateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiKeyCreateRequestUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ApiKeyCreateRequestUioFromJSON(json) {
|
|
30
|
+
return ApiKeyCreateRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ApiKeyCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiKeyCreateRequestUioToJSON(json) {
|
|
41
|
+
return ApiKeyCreateRequestUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiKeyCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 ApiKeyCreatedUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiKeyCreatedUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiKeyCreatedUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiKeyCreatedUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Valeur de la clé. Renvoyée uniquement à la création.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiKeyCreatedUio
|
|
34
|
+
*/
|
|
35
|
+
keySecret: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiKeyCreatedUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiKeyCreatedUio(value: object): value is ApiKeyCreatedUio;
|
|
41
|
+
export declare function ApiKeyCreatedUioFromJSON(json: any): ApiKeyCreatedUio;
|
|
42
|
+
export declare function ApiKeyCreatedUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeyCreatedUio;
|
|
43
|
+
export declare function ApiKeyCreatedUioToJSON(json: any): ApiKeyCreatedUio;
|
|
44
|
+
export declare function ApiKeyCreatedUioToJSONTyped(value?: ApiKeyCreatedUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfApiKeyCreatedUio = instanceOfApiKeyCreatedUio;
|
|
17
|
+
exports.ApiKeyCreatedUioFromJSON = ApiKeyCreatedUioFromJSON;
|
|
18
|
+
exports.ApiKeyCreatedUioFromJSONTyped = ApiKeyCreatedUioFromJSONTyped;
|
|
19
|
+
exports.ApiKeyCreatedUioToJSON = ApiKeyCreatedUioToJSON;
|
|
20
|
+
exports.ApiKeyCreatedUioToJSONTyped = ApiKeyCreatedUioToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the ApiKeyCreatedUio interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfApiKeyCreatedUio(value) {
|
|
25
25
|
if (!('id' in value) || value['id'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
@@ -30,10 +30,10 @@ function instanceOfApiKeyUio(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function ApiKeyCreatedUioFromJSON(json) {
|
|
34
|
+
return ApiKeyCreatedUioFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function ApiKeyCreatedUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function ApiKeyUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'keySecret': json['keySecret'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function ApiKeyCreatedUioToJSON(json) {
|
|
47
|
+
return ApiKeyCreatedUioToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ApiKeyCreatedUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|