@breign/client 1.0.106 → 1.0.108
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/ConversationsApi.d.ts +11 -11
- package/dist/apis/ConversationsApi.js +11 -10
- package/dist/apis/InstancesApi.d.ts +45 -0
- package/dist/apis/InstancesApi.js +120 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AuthCodeConfirmRequestUio.d.ts +4 -4
- package/dist/models/AuthCodeConfirmRequestUio.js +4 -6
- package/dist/models/AuthCodeRequestUio.d.ts +13 -6
- package/dist/models/AuthCodeRequestUio.js +13 -6
- package/dist/models/AuthCodeRequestUserUio.d.ts +32 -0
- package/dist/models/AuthCodeRequestUserUio.js +50 -0
- package/dist/models/ConversationUio.d.ts +19 -0
- package/dist/models/ConversationUio.js +7 -0
- package/dist/models/CreateCustomVariable200ResponseUio.d.ts +40 -0
- package/dist/models/CreateCustomVariable200ResponseUio.js +54 -0
- package/dist/models/InstanceContextPatchUio.d.ts +34 -0
- package/dist/models/InstanceContextPatchUio.js +50 -0
- package/dist/models/InstanceContextUio.d.ts +34 -0
- package/dist/models/InstanceContextUio.js +48 -0
- package/dist/models/OrganizationMemberUio.d.ts +3 -3
- package/dist/models/OrganizationMemberUio.js +3 -3
- package/dist/models/UserUio.d.ts +3 -3
- package/dist/models/UserUio.js +3 -3
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/dist/openapi.json +223 -65
- package/package.json +1 -1
- package/dist/models/AuthTypeUio.d.ts +0 -24
- package/dist/models/AuthTypeUio.js +0 -50
- package/dist/models/OrganizationMemberUserUio.d.ts +0 -32
- package/dist/models/OrganizationMemberUserUio.js +0 -50
package/dist/openapi.json
CHANGED
|
@@ -3252,6 +3252,99 @@
|
|
|
3252
3252
|
"tags" : [ "app" ]
|
|
3253
3253
|
}
|
|
3254
3254
|
},
|
|
3255
|
+
"/instances/{instanceId}/context" : {
|
|
3256
|
+
"get" : {
|
|
3257
|
+
"description" : "Returns the custom context variables for an app instance.",
|
|
3258
|
+
"operationId" : "getInstanceContext",
|
|
3259
|
+
"parameters" : [ {
|
|
3260
|
+
"description" : "Instance identifier",
|
|
3261
|
+
"in" : "path",
|
|
3262
|
+
"name" : "instanceId",
|
|
3263
|
+
"required" : true,
|
|
3264
|
+
"schema" : {
|
|
3265
|
+
"type" : "string"
|
|
3266
|
+
}
|
|
3267
|
+
} ],
|
|
3268
|
+
"responses" : {
|
|
3269
|
+
"200" : {
|
|
3270
|
+
"content" : {
|
|
3271
|
+
"application/json" : {
|
|
3272
|
+
"schema" : {
|
|
3273
|
+
"$ref" : "#/components/schemas/InstanceContext"
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
},
|
|
3277
|
+
"description" : "Instance context"
|
|
3278
|
+
},
|
|
3279
|
+
"401" : {
|
|
3280
|
+
"description" : "Unauthorized"
|
|
3281
|
+
},
|
|
3282
|
+
"403" : {
|
|
3283
|
+
"description" : "Forbidden"
|
|
3284
|
+
},
|
|
3285
|
+
"404" : {
|
|
3286
|
+
"description" : "Instance not found"
|
|
3287
|
+
},
|
|
3288
|
+
"500" : {
|
|
3289
|
+
"description" : "Server error"
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
"summary" : "Get instance context",
|
|
3293
|
+
"tags" : [ "instances" ]
|
|
3294
|
+
},
|
|
3295
|
+
"patch" : {
|
|
3296
|
+
"description" : "Replaces the custom context variables for an app instance.",
|
|
3297
|
+
"operationId" : "patchInstanceContext",
|
|
3298
|
+
"parameters" : [ {
|
|
3299
|
+
"description" : "Instance identifier",
|
|
3300
|
+
"in" : "path",
|
|
3301
|
+
"name" : "instanceId",
|
|
3302
|
+
"required" : true,
|
|
3303
|
+
"schema" : {
|
|
3304
|
+
"type" : "string"
|
|
3305
|
+
}
|
|
3306
|
+
} ],
|
|
3307
|
+
"requestBody" : {
|
|
3308
|
+
"content" : {
|
|
3309
|
+
"application/json" : {
|
|
3310
|
+
"schema" : {
|
|
3311
|
+
"$ref" : "#/components/schemas/InstanceContextPatch"
|
|
3312
|
+
}
|
|
3313
|
+
}
|
|
3314
|
+
},
|
|
3315
|
+
"required" : true
|
|
3316
|
+
},
|
|
3317
|
+
"responses" : {
|
|
3318
|
+
"200" : {
|
|
3319
|
+
"content" : {
|
|
3320
|
+
"application/json" : {
|
|
3321
|
+
"schema" : {
|
|
3322
|
+
"$ref" : "#/components/schemas/InstanceContext"
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
},
|
|
3326
|
+
"description" : "Updated instance context"
|
|
3327
|
+
},
|
|
3328
|
+
"400" : {
|
|
3329
|
+
"description" : "Invalid request body"
|
|
3330
|
+
},
|
|
3331
|
+
"401" : {
|
|
3332
|
+
"description" : "Unauthorized"
|
|
3333
|
+
},
|
|
3334
|
+
"403" : {
|
|
3335
|
+
"description" : "Forbidden"
|
|
3336
|
+
},
|
|
3337
|
+
"404" : {
|
|
3338
|
+
"description" : "Instance not found"
|
|
3339
|
+
},
|
|
3340
|
+
"500" : {
|
|
3341
|
+
"description" : "Server error"
|
|
3342
|
+
}
|
|
3343
|
+
},
|
|
3344
|
+
"summary" : "Update instance context",
|
|
3345
|
+
"tags" : [ "instances" ]
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3255
3348
|
"/apps/{appId}/configuration/{property}" : {
|
|
3256
3349
|
"get" : {
|
|
3257
3350
|
"description" : "Get app configuration property",
|
|
@@ -4157,7 +4250,7 @@
|
|
|
4157
4250
|
},
|
|
4158
4251
|
"/conversations/{conversationId}/context/custom" : {
|
|
4159
4252
|
"get" : {
|
|
4160
|
-
"description" : "
|
|
4253
|
+
"description" : "Returns all custom context variables for a conversation.",
|
|
4161
4254
|
"operationId" : "getContextCustomVariable",
|
|
4162
4255
|
"parameters" : [ {
|
|
4163
4256
|
"description" : "The ID of the conversation",
|
|
@@ -4180,7 +4273,7 @@
|
|
|
4180
4273
|
}
|
|
4181
4274
|
}
|
|
4182
4275
|
},
|
|
4183
|
-
"description" : "
|
|
4276
|
+
"description" : "Custom context variables for the conversation."
|
|
4184
4277
|
},
|
|
4185
4278
|
"401" : {
|
|
4186
4279
|
"description" : "Unauthorized"
|
|
@@ -4195,11 +4288,11 @@
|
|
|
4195
4288
|
"description" : "Server error"
|
|
4196
4289
|
}
|
|
4197
4290
|
},
|
|
4198
|
-
"summary" : "Get
|
|
4291
|
+
"summary" : "Get conversation custom context variables",
|
|
4199
4292
|
"tags" : [ "conversations" ]
|
|
4200
4293
|
},
|
|
4201
4294
|
"post" : {
|
|
4202
|
-
"description" : "
|
|
4295
|
+
"description" : "Replaces the full set of custom context variables for a conversation. Omitted keys are removed.",
|
|
4203
4296
|
"operationId" : "createCustomVariable",
|
|
4204
4297
|
"parameters" : [ {
|
|
4205
4298
|
"description" : "The ID of the conversation",
|
|
@@ -4225,7 +4318,17 @@
|
|
|
4225
4318
|
},
|
|
4226
4319
|
"responses" : {
|
|
4227
4320
|
"200" : {
|
|
4228
|
-
"
|
|
4321
|
+
"content" : {
|
|
4322
|
+
"application/json" : {
|
|
4323
|
+
"schema" : {
|
|
4324
|
+
"$ref" : "#/components/schemas/createCustomVariable_200_response"
|
|
4325
|
+
}
|
|
4326
|
+
}
|
|
4327
|
+
},
|
|
4328
|
+
"description" : "Custom context variables replaced successfully."
|
|
4329
|
+
},
|
|
4330
|
+
"400" : {
|
|
4331
|
+
"description" : "Invalid custom context keys or values"
|
|
4229
4332
|
},
|
|
4230
4333
|
"401" : {
|
|
4231
4334
|
"description" : "Unauthorized"
|
|
@@ -4240,7 +4343,7 @@
|
|
|
4240
4343
|
"description" : "Server error"
|
|
4241
4344
|
}
|
|
4242
4345
|
},
|
|
4243
|
-
"summary" : "
|
|
4346
|
+
"summary" : "Replace conversation custom context variables",
|
|
4244
4347
|
"tags" : [ "conversations" ]
|
|
4245
4348
|
}
|
|
4246
4349
|
},
|
|
@@ -10002,6 +10105,15 @@
|
|
|
10002
10105
|
"type" : "string"
|
|
10003
10106
|
}
|
|
10004
10107
|
},
|
|
10108
|
+
"instanceIdPath" : {
|
|
10109
|
+
"description" : "Instance identifier",
|
|
10110
|
+
"in" : "path",
|
|
10111
|
+
"name" : "instanceId",
|
|
10112
|
+
"required" : true,
|
|
10113
|
+
"schema" : {
|
|
10114
|
+
"type" : "string"
|
|
10115
|
+
}
|
|
10116
|
+
},
|
|
10005
10117
|
"propertyPath" : {
|
|
10006
10118
|
"description" : "Property to retrieve",
|
|
10007
10119
|
"in" : "path",
|
|
@@ -12671,6 +12783,31 @@
|
|
|
12671
12783
|
"required" : [ "ephemeral", "name" ],
|
|
12672
12784
|
"type" : "object"
|
|
12673
12785
|
},
|
|
12786
|
+
"InstanceContext" : {
|
|
12787
|
+
"additionalProperties" : false,
|
|
12788
|
+
"properties" : {
|
|
12789
|
+
"custom" : {
|
|
12790
|
+
"additionalProperties" : {
|
|
12791
|
+
"type" : "string"
|
|
12792
|
+
},
|
|
12793
|
+
"type" : "object"
|
|
12794
|
+
}
|
|
12795
|
+
},
|
|
12796
|
+
"type" : "object"
|
|
12797
|
+
},
|
|
12798
|
+
"InstanceContextPatch" : {
|
|
12799
|
+
"additionalProperties" : false,
|
|
12800
|
+
"properties" : {
|
|
12801
|
+
"custom" : {
|
|
12802
|
+
"additionalProperties" : {
|
|
12803
|
+
"type" : "string"
|
|
12804
|
+
},
|
|
12805
|
+
"type" : "object"
|
|
12806
|
+
}
|
|
12807
|
+
},
|
|
12808
|
+
"required" : [ "custom" ],
|
|
12809
|
+
"type" : "object"
|
|
12810
|
+
},
|
|
12674
12811
|
"AnimationCreateRequest" : {
|
|
12675
12812
|
"properties" : {
|
|
12676
12813
|
"category" : {
|
|
@@ -12758,6 +12895,15 @@
|
|
|
12758
12895
|
},
|
|
12759
12896
|
"type" : "object"
|
|
12760
12897
|
},
|
|
12898
|
+
"appId" : {
|
|
12899
|
+
"type" : "string"
|
|
12900
|
+
},
|
|
12901
|
+
"instanceId" : {
|
|
12902
|
+
"type" : "string"
|
|
12903
|
+
},
|
|
12904
|
+
"context" : {
|
|
12905
|
+
"$ref" : "#/components/schemas/ChatContext"
|
|
12906
|
+
},
|
|
12761
12907
|
"createdAt" : {
|
|
12762
12908
|
"type" : "string"
|
|
12763
12909
|
},
|
|
@@ -12771,10 +12917,11 @@
|
|
|
12771
12917
|
"AuthCodeRequest" : {
|
|
12772
12918
|
"properties" : {
|
|
12773
12919
|
"user" : {
|
|
12774
|
-
"$ref" : "#/components/schemas/
|
|
12920
|
+
"$ref" : "#/components/schemas/AuthCodeRequest_user"
|
|
12775
12921
|
},
|
|
12776
12922
|
"type" : {
|
|
12777
|
-
"
|
|
12923
|
+
"enum" : [ "API_KEY", "JWT" ],
|
|
12924
|
+
"type" : "string"
|
|
12778
12925
|
}
|
|
12779
12926
|
},
|
|
12780
12927
|
"required" : [ "type", "user" ],
|
|
@@ -12795,7 +12942,7 @@
|
|
|
12795
12942
|
"AuthCodeConfirmRequest" : {
|
|
12796
12943
|
"properties" : {
|
|
12797
12944
|
"user" : {
|
|
12798
|
-
"$ref" : "#/components/schemas/
|
|
12945
|
+
"$ref" : "#/components/schemas/AuthCodeRequest_user"
|
|
12799
12946
|
},
|
|
12800
12947
|
"code" : {
|
|
12801
12948
|
"type" : "string"
|
|
@@ -12804,7 +12951,7 @@
|
|
|
12804
12951
|
"type" : "string"
|
|
12805
12952
|
}
|
|
12806
12953
|
},
|
|
12807
|
-
"required" : [ "code", "
|
|
12954
|
+
"required" : [ "code", "user" ],
|
|
12808
12955
|
"type" : "object"
|
|
12809
12956
|
},
|
|
12810
12957
|
"AuthCodeConfirmResponse" : {
|
|
@@ -13835,7 +13982,7 @@
|
|
|
13835
13982
|
"type" : "string"
|
|
13836
13983
|
},
|
|
13837
13984
|
"user" : {
|
|
13838
|
-
"$ref" : "#/components/schemas/
|
|
13985
|
+
"$ref" : "#/components/schemas/AuthCodeRequest_user"
|
|
13839
13986
|
}
|
|
13840
13987
|
},
|
|
13841
13988
|
"required" : [ "createdAt", "id", "role", "user" ],
|
|
@@ -14875,51 +15022,6 @@
|
|
|
14875
15022
|
"required" : [ "id", "src", "type" ],
|
|
14876
15023
|
"type" : "object"
|
|
14877
15024
|
},
|
|
14878
|
-
"User" : {
|
|
14879
|
-
"properties" : {
|
|
14880
|
-
"id" : {
|
|
14881
|
-
"type" : "string"
|
|
14882
|
-
},
|
|
14883
|
-
"isAdmin" : {
|
|
14884
|
-
"type" : "boolean"
|
|
14885
|
-
},
|
|
14886
|
-
"user" : {
|
|
14887
|
-
"$ref" : "#/components/schemas/OrganizationMember_user"
|
|
14888
|
-
},
|
|
14889
|
-
"createdAt" : {
|
|
14890
|
-
"type" : "string"
|
|
14891
|
-
},
|
|
14892
|
-
"brains" : {
|
|
14893
|
-
"items" : {
|
|
14894
|
-
"type" : "string"
|
|
14895
|
-
},
|
|
14896
|
-
"type" : "array"
|
|
14897
|
-
},
|
|
14898
|
-
"canCreateAgents" : {
|
|
14899
|
-
"type" : "boolean"
|
|
14900
|
-
},
|
|
14901
|
-
"maxAgents" : {
|
|
14902
|
-
"nullable" : true
|
|
14903
|
-
},
|
|
14904
|
-
"apiKeys" : {
|
|
14905
|
-
"items" : {
|
|
14906
|
-
"type" : "string"
|
|
14907
|
-
},
|
|
14908
|
-
"type" : "array"
|
|
14909
|
-
},
|
|
14910
|
-
"locked" : {
|
|
14911
|
-
"type" : "boolean"
|
|
14912
|
-
},
|
|
14913
|
-
"allAgents" : {
|
|
14914
|
-
"type" : "boolean"
|
|
14915
|
-
}
|
|
14916
|
-
},
|
|
14917
|
-
"type" : "object"
|
|
14918
|
-
},
|
|
14919
|
-
"AuthType" : {
|
|
14920
|
-
"enum" : [ "API_KEY" ],
|
|
14921
|
-
"type" : "string"
|
|
14922
|
-
},
|
|
14923
15025
|
"AudioFileType" : {
|
|
14924
15026
|
"enum" : [ "reference" ],
|
|
14925
15027
|
"type" : "string"
|
|
@@ -15038,6 +15140,47 @@
|
|
|
15038
15140
|
"enum" : [ "ELEVENLABS" ],
|
|
15039
15141
|
"type" : "string"
|
|
15040
15142
|
},
|
|
15143
|
+
"User" : {
|
|
15144
|
+
"properties" : {
|
|
15145
|
+
"id" : {
|
|
15146
|
+
"type" : "string"
|
|
15147
|
+
},
|
|
15148
|
+
"isAdmin" : {
|
|
15149
|
+
"type" : "boolean"
|
|
15150
|
+
},
|
|
15151
|
+
"user" : {
|
|
15152
|
+
"$ref" : "#/components/schemas/AuthCodeRequest_user"
|
|
15153
|
+
},
|
|
15154
|
+
"createdAt" : {
|
|
15155
|
+
"type" : "string"
|
|
15156
|
+
},
|
|
15157
|
+
"brains" : {
|
|
15158
|
+
"items" : {
|
|
15159
|
+
"type" : "string"
|
|
15160
|
+
},
|
|
15161
|
+
"type" : "array"
|
|
15162
|
+
},
|
|
15163
|
+
"canCreateAgents" : {
|
|
15164
|
+
"type" : "boolean"
|
|
15165
|
+
},
|
|
15166
|
+
"maxAgents" : {
|
|
15167
|
+
"nullable" : true
|
|
15168
|
+
},
|
|
15169
|
+
"apiKeys" : {
|
|
15170
|
+
"items" : {
|
|
15171
|
+
"type" : "string"
|
|
15172
|
+
},
|
|
15173
|
+
"type" : "array"
|
|
15174
|
+
},
|
|
15175
|
+
"locked" : {
|
|
15176
|
+
"type" : "boolean"
|
|
15177
|
+
},
|
|
15178
|
+
"allAgents" : {
|
|
15179
|
+
"type" : "boolean"
|
|
15180
|
+
}
|
|
15181
|
+
},
|
|
15182
|
+
"type" : "object"
|
|
15183
|
+
},
|
|
15041
15184
|
"deleteMessageAudio_200_response" : {
|
|
15042
15185
|
"properties" : {
|
|
15043
15186
|
"message" : {
|
|
@@ -15057,6 +15200,21 @@
|
|
|
15057
15200
|
"required" : [ "conversationAttachmentMaxBytes" ],
|
|
15058
15201
|
"type" : "object"
|
|
15059
15202
|
},
|
|
15203
|
+
"createCustomVariable_200_response" : {
|
|
15204
|
+
"properties" : {
|
|
15205
|
+
"message" : {
|
|
15206
|
+
"type" : "string"
|
|
15207
|
+
},
|
|
15208
|
+
"custom" : {
|
|
15209
|
+
"additionalProperties" : {
|
|
15210
|
+
"type" : "string"
|
|
15211
|
+
},
|
|
15212
|
+
"type" : "object"
|
|
15213
|
+
}
|
|
15214
|
+
},
|
|
15215
|
+
"required" : [ "custom", "message" ],
|
|
15216
|
+
"type" : "object"
|
|
15217
|
+
},
|
|
15060
15218
|
"updateConversationTitle_request" : {
|
|
15061
15219
|
"properties" : {
|
|
15062
15220
|
"title" : {
|
|
@@ -15896,6 +16054,15 @@
|
|
|
15896
16054
|
"required" : [ "source", "task", "value" ],
|
|
15897
16055
|
"type" : "object"
|
|
15898
16056
|
},
|
|
16057
|
+
"AuthCodeRequest_user" : {
|
|
16058
|
+
"properties" : {
|
|
16059
|
+
"email" : {
|
|
16060
|
+
"type" : "string"
|
|
16061
|
+
}
|
|
16062
|
+
},
|
|
16063
|
+
"required" : [ "email" ],
|
|
16064
|
+
"type" : "object"
|
|
16065
|
+
},
|
|
15899
16066
|
"ChunkCreateRequest_content_inner" : {
|
|
15900
16067
|
"properties" : {
|
|
15901
16068
|
"fileName" : {
|
|
@@ -15974,15 +16141,6 @@
|
|
|
15974
16141
|
"required" : [ "id" ],
|
|
15975
16142
|
"type" : "object"
|
|
15976
16143
|
},
|
|
15977
|
-
"OrganizationMember_user" : {
|
|
15978
|
-
"properties" : {
|
|
15979
|
-
"email" : {
|
|
15980
|
-
"type" : "string"
|
|
15981
|
-
}
|
|
15982
|
-
},
|
|
15983
|
-
"required" : [ "email" ],
|
|
15984
|
-
"type" : "object"
|
|
15985
|
-
},
|
|
15986
16144
|
"KnowledgeFileSummary_knowledgeBaseId" : {
|
|
15987
16145
|
"oneOf" : [ {
|
|
15988
16146
|
"type" : "string"
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
*/
|
|
16
|
-
export declare const AuthTypeUio: {
|
|
17
|
-
readonly ApiKey: "API_KEY";
|
|
18
|
-
};
|
|
19
|
-
export type AuthTypeUio = typeof AuthTypeUio[keyof typeof AuthTypeUio];
|
|
20
|
-
export declare function instanceOfAuthTypeUio(value: any): boolean;
|
|
21
|
-
export declare function AuthTypeUioFromJSON(json: any): AuthTypeUio;
|
|
22
|
-
export declare function AuthTypeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthTypeUio;
|
|
23
|
-
export declare function AuthTypeUioToJSON(value?: AuthTypeUio | null): any;
|
|
24
|
-
export declare function AuthTypeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): AuthTypeUio;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.AuthTypeUio = void 0;
|
|
17
|
-
exports.instanceOfAuthTypeUio = instanceOfAuthTypeUio;
|
|
18
|
-
exports.AuthTypeUioFromJSON = AuthTypeUioFromJSON;
|
|
19
|
-
exports.AuthTypeUioFromJSONTyped = AuthTypeUioFromJSONTyped;
|
|
20
|
-
exports.AuthTypeUioToJSON = AuthTypeUioToJSON;
|
|
21
|
-
exports.AuthTypeUioToJSONTyped = AuthTypeUioToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.AuthTypeUio = {
|
|
27
|
-
ApiKey: 'API_KEY'
|
|
28
|
-
};
|
|
29
|
-
function instanceOfAuthTypeUio(value) {
|
|
30
|
-
for (const key in exports.AuthTypeUio) {
|
|
31
|
-
if (Object.prototype.hasOwnProperty.call(exports.AuthTypeUio, key)) {
|
|
32
|
-
if (exports.AuthTypeUio[key] === value) {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
function AuthTypeUioFromJSON(json) {
|
|
40
|
-
return AuthTypeUioFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function AuthTypeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
function AuthTypeUioToJSON(value) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
function AuthTypeUioToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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 OrganizationMemberUserUio
|
|
16
|
-
*/
|
|
17
|
-
export interface OrganizationMemberUserUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof OrganizationMemberUserUio
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the OrganizationMemberUserUio interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfOrganizationMemberUserUio(value: object): value is OrganizationMemberUserUio;
|
|
29
|
-
export declare function OrganizationMemberUserUioFromJSON(json: any): OrganizationMemberUserUio;
|
|
30
|
-
export declare function OrganizationMemberUserUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationMemberUserUio;
|
|
31
|
-
export declare function OrganizationMemberUserUioToJSON(json: any): OrganizationMemberUserUio;
|
|
32
|
-
export declare function OrganizationMemberUserUioToJSONTyped(value?: OrganizationMemberUserUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfOrganizationMemberUserUio = instanceOfOrganizationMemberUserUio;
|
|
17
|
-
exports.OrganizationMemberUserUioFromJSON = OrganizationMemberUserUioFromJSON;
|
|
18
|
-
exports.OrganizationMemberUserUioFromJSONTyped = OrganizationMemberUserUioFromJSONTyped;
|
|
19
|
-
exports.OrganizationMemberUserUioToJSON = OrganizationMemberUserUioToJSON;
|
|
20
|
-
exports.OrganizationMemberUserUioToJSONTyped = OrganizationMemberUserUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the OrganizationMemberUserUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfOrganizationMemberUserUio(value) {
|
|
25
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function OrganizationMemberUserUioFromJSON(json) {
|
|
30
|
-
return OrganizationMemberUserUioFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function OrganizationMemberUserUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'email': json['email'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function OrganizationMemberUserUioToJSON(json) {
|
|
41
|
-
return OrganizationMemberUserUioToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function OrganizationMemberUserUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'email': value['email'],
|
|
49
|
-
};
|
|
50
|
-
}
|