@breign/client 1.0.181 → 1.0.182
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/AdminApi.d.ts +33 -10
- package/dist/apis/AdminApi.js +70 -15
- package/dist/apis/EngineApi.d.ts +29 -1
- package/dist/apis/EngineApi.js +66 -0
- package/dist/models/ModelUserAccessUio.d.ts +50 -0
- package/dist/models/ModelUserAccessUio.js +62 -0
- package/dist/models/OrganisationPlatformEngineUsageModelsInnerUio.d.ts +56 -0
- package/dist/models/OrganisationPlatformEngineUsageModelsInnerUio.js +66 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +7 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.js +5 -0
- package/dist/models/OrganizationModelAccessUio.d.ts +33 -0
- package/dist/models/OrganizationModelAccessUio.js +51 -0
- package/dist/models/OrganizationUio.d.ts +0 -6
- package/dist/models/OrganizationUio.js +0 -2
- package/dist/models/PlatformEngineAccessModelsInnerUio.d.ts +38 -0
- package/dist/models/PlatformEngineAccessModelsInnerUio.js +54 -0
- package/dist/models/PlatformEngineAccessUio.d.ts +33 -0
- package/dist/models/PlatformEngineAccessUio.js +51 -0
- package/dist/models/SetModelUserAccessUio.d.ts +44 -0
- package/dist/models/SetModelUserAccessUio.js +58 -0
- package/dist/models/index.d.ts +6 -1
- package/dist/models/index.js +6 -1
- package/dist/openapi.json +292 -57
- package/package.json +1 -1
- package/dist/models/AllowPlatformEnginesUio.d.ts +0 -32
- package/dist/models/AllowPlatformEnginesUio.js +0 -50
package/dist/openapi.json
CHANGED
|
@@ -8052,13 +8052,42 @@
|
|
|
8052
8052
|
"tags" : [ "admin" ]
|
|
8053
8053
|
}
|
|
8054
8054
|
},
|
|
8055
|
-
"/admin/
|
|
8056
|
-
"
|
|
8057
|
-
"description" : "Superadmin.
|
|
8058
|
-
"operationId" : "
|
|
8055
|
+
"/admin/platform-engines/{id}/access" : {
|
|
8056
|
+
"get" : {
|
|
8057
|
+
"description" : "Superadmin. Organisations qui ont accès à chaque modèle du moteur plateforme.",
|
|
8058
|
+
"operationId" : "getPlatformEngineAccess",
|
|
8059
8059
|
"parameters" : [ {
|
|
8060
8060
|
"in" : "path",
|
|
8061
|
-
"name" : "
|
|
8061
|
+
"name" : "id",
|
|
8062
|
+
"required" : true,
|
|
8063
|
+
"schema" : {
|
|
8064
|
+
"type" : "string"
|
|
8065
|
+
}
|
|
8066
|
+
} ],
|
|
8067
|
+
"responses" : {
|
|
8068
|
+
"200" : {
|
|
8069
|
+
"content" : {
|
|
8070
|
+
"application/json" : {
|
|
8071
|
+
"schema" : {
|
|
8072
|
+
"$ref" : "#/components/schemas/PlatformEngineAccess"
|
|
8073
|
+
}
|
|
8074
|
+
}
|
|
8075
|
+
},
|
|
8076
|
+
"description" : "Access per model"
|
|
8077
|
+
},
|
|
8078
|
+
"404" : {
|
|
8079
|
+
"description" : "Platform engine not found"
|
|
8080
|
+
}
|
|
8081
|
+
},
|
|
8082
|
+
"summary" : "Get platform engine access",
|
|
8083
|
+
"tags" : [ "admin" ]
|
|
8084
|
+
},
|
|
8085
|
+
"put" : {
|
|
8086
|
+
"description" : "Superadmin. Remplace, pour chaque modèle listé, les organisations qui y ont accès. Les modèles absents du corps gardent leurs organisations.\n",
|
|
8087
|
+
"operationId" : "setPlatformEngineAccess",
|
|
8088
|
+
"parameters" : [ {
|
|
8089
|
+
"in" : "path",
|
|
8090
|
+
"name" : "id",
|
|
8062
8091
|
"required" : true,
|
|
8063
8092
|
"schema" : {
|
|
8064
8093
|
"type" : "string"
|
|
@@ -8068,7 +8097,7 @@
|
|
|
8068
8097
|
"content" : {
|
|
8069
8098
|
"application/json" : {
|
|
8070
8099
|
"schema" : {
|
|
8071
|
-
"$ref" : "#/components/schemas/
|
|
8100
|
+
"$ref" : "#/components/schemas/PlatformEngineAccess"
|
|
8072
8101
|
}
|
|
8073
8102
|
}
|
|
8074
8103
|
},
|
|
@@ -8079,20 +8108,128 @@
|
|
|
8079
8108
|
"content" : {
|
|
8080
8109
|
"application/json" : {
|
|
8081
8110
|
"schema" : {
|
|
8082
|
-
"$ref" : "#/components/schemas/
|
|
8111
|
+
"$ref" : "#/components/schemas/PlatformEngineAccess"
|
|
8083
8112
|
}
|
|
8084
8113
|
}
|
|
8085
8114
|
},
|
|
8086
8115
|
"description" : "Updated access"
|
|
8087
8116
|
},
|
|
8088
8117
|
"400" : {
|
|
8089
|
-
"description" : "
|
|
8118
|
+
"description" : "Unknown model or organisation"
|
|
8090
8119
|
},
|
|
8091
8120
|
"404" : {
|
|
8092
|
-
"description" : "
|
|
8121
|
+
"description" : "Platform engine not found"
|
|
8122
|
+
}
|
|
8123
|
+
},
|
|
8124
|
+
"summary" : "Set platform engine access",
|
|
8125
|
+
"tags" : [ "admin" ]
|
|
8126
|
+
}
|
|
8127
|
+
},
|
|
8128
|
+
"/organizations/{organizationId}/engines/access" : {
|
|
8129
|
+
"get" : {
|
|
8130
|
+
"description" : "Admin de l'organisation. Modèles réservés à certains membres.",
|
|
8131
|
+
"operationId" : "getOrganizationModelAccess",
|
|
8132
|
+
"parameters" : [ {
|
|
8133
|
+
"in" : "path",
|
|
8134
|
+
"name" : "organizationId",
|
|
8135
|
+
"required" : true,
|
|
8136
|
+
"schema" : {
|
|
8137
|
+
"type" : "string"
|
|
8138
|
+
}
|
|
8139
|
+
} ],
|
|
8140
|
+
"responses" : {
|
|
8141
|
+
"200" : {
|
|
8142
|
+
"content" : {
|
|
8143
|
+
"application/json" : {
|
|
8144
|
+
"schema" : {
|
|
8145
|
+
"$ref" : "#/components/schemas/OrganizationModelAccess"
|
|
8146
|
+
}
|
|
8147
|
+
}
|
|
8148
|
+
},
|
|
8149
|
+
"description" : "Model access rules"
|
|
8150
|
+
},
|
|
8151
|
+
"403" : {
|
|
8152
|
+
"description" : "Not an admin of the organization"
|
|
8153
|
+
}
|
|
8154
|
+
},
|
|
8155
|
+
"summary" : "List model user restrictions of an organization",
|
|
8156
|
+
"tags" : [ "engine" ]
|
|
8157
|
+
}
|
|
8158
|
+
},
|
|
8159
|
+
"/organizations/{organizationId}/engines/providers/{providerId}/access" : {
|
|
8160
|
+
"put" : {
|
|
8161
|
+
"description" : "Admin de l'organisation. Réserve un modèle (de l'organisation ou plateforme ouvert à l'organisation) à certains membres, ou le rouvre à tous avec `restrictToUsers: false`.\n",
|
|
8162
|
+
"operationId" : "setModelUserAccess",
|
|
8163
|
+
"parameters" : [ {
|
|
8164
|
+
"in" : "path",
|
|
8165
|
+
"name" : "organizationId",
|
|
8166
|
+
"required" : true,
|
|
8167
|
+
"schema" : {
|
|
8168
|
+
"type" : "string"
|
|
8169
|
+
}
|
|
8170
|
+
}, {
|
|
8171
|
+
"in" : "path",
|
|
8172
|
+
"name" : "providerId",
|
|
8173
|
+
"required" : true,
|
|
8174
|
+
"schema" : {
|
|
8175
|
+
"type" : "string"
|
|
8176
|
+
}
|
|
8177
|
+
} ],
|
|
8178
|
+
"requestBody" : {
|
|
8179
|
+
"content" : {
|
|
8180
|
+
"application/json" : {
|
|
8181
|
+
"schema" : {
|
|
8182
|
+
"$ref" : "#/components/schemas/SetModelUserAccess"
|
|
8183
|
+
}
|
|
8184
|
+
}
|
|
8185
|
+
},
|
|
8186
|
+
"required" : true
|
|
8187
|
+
},
|
|
8188
|
+
"responses" : {
|
|
8189
|
+
"200" : {
|
|
8190
|
+
"content" : {
|
|
8191
|
+
"application/json" : {
|
|
8192
|
+
"schema" : {
|
|
8193
|
+
"$ref" : "#/components/schemas/ModelUserAccess"
|
|
8194
|
+
}
|
|
8195
|
+
}
|
|
8196
|
+
},
|
|
8197
|
+
"description" : "Updated rule"
|
|
8198
|
+
},
|
|
8199
|
+
"400" : {
|
|
8200
|
+
"description" : "Model not available to the organization, or user not a member"
|
|
8201
|
+
},
|
|
8202
|
+
"403" : {
|
|
8203
|
+
"description" : "Not an admin of the organization"
|
|
8204
|
+
}
|
|
8205
|
+
},
|
|
8206
|
+
"summary" : "Restrict a model to some members",
|
|
8207
|
+
"tags" : [ "engine" ]
|
|
8208
|
+
}
|
|
8209
|
+
},
|
|
8210
|
+
"/admin/organisations" : {
|
|
8211
|
+
"get" : {
|
|
8212
|
+
"description" : "Superadmin. Toutes les organisations de la plateforme, avec leurs membres.",
|
|
8213
|
+
"operationId" : "listAdminOrganisations",
|
|
8214
|
+
"responses" : {
|
|
8215
|
+
"200" : {
|
|
8216
|
+
"content" : {
|
|
8217
|
+
"application/json" : {
|
|
8218
|
+
"schema" : {
|
|
8219
|
+
"items" : {
|
|
8220
|
+
"$ref" : "#/components/schemas/Organization"
|
|
8221
|
+
},
|
|
8222
|
+
"type" : "array"
|
|
8223
|
+
}
|
|
8224
|
+
}
|
|
8225
|
+
},
|
|
8226
|
+
"description" : "Organisations"
|
|
8227
|
+
},
|
|
8228
|
+
"403" : {
|
|
8229
|
+
"description" : "Not a superadmin"
|
|
8093
8230
|
}
|
|
8094
8231
|
},
|
|
8095
|
-
"summary" : "
|
|
8232
|
+
"summary" : "List all organisations",
|
|
8096
8233
|
"tags" : [ "admin" ]
|
|
8097
8234
|
}
|
|
8098
8235
|
},
|
|
@@ -26886,13 +27023,110 @@
|
|
|
26886
27023
|
"required" : [ "agentsByModel", "defaultEnginesByModel", "knowledgeBases" ],
|
|
26887
27024
|
"type" : "object"
|
|
26888
27025
|
},
|
|
26889
|
-
"
|
|
27026
|
+
"PlatformEngineAccess" : {
|
|
27027
|
+
"description" : "Organisations qui ont accès à chaque modèle d'un moteur plateforme.",
|
|
27028
|
+
"properties" : {
|
|
27029
|
+
"models" : {
|
|
27030
|
+
"items" : {
|
|
27031
|
+
"$ref" : "#/components/schemas/PlatformEngineAccess_models_inner"
|
|
27032
|
+
},
|
|
27033
|
+
"type" : "array"
|
|
27034
|
+
}
|
|
27035
|
+
},
|
|
27036
|
+
"required" : [ "models" ],
|
|
27037
|
+
"type" : "object"
|
|
27038
|
+
},
|
|
27039
|
+
"OrganizationModelAccess" : {
|
|
27040
|
+
"properties" : {
|
|
27041
|
+
"rules" : {
|
|
27042
|
+
"description" : "Seuls les modèles restreints, ou l'ayant été, figurent ici. Absent ⇒ tous les membres.",
|
|
27043
|
+
"items" : {
|
|
27044
|
+
"$ref" : "#/components/schemas/ModelUserAccess"
|
|
27045
|
+
},
|
|
27046
|
+
"type" : "array"
|
|
27047
|
+
}
|
|
27048
|
+
},
|
|
27049
|
+
"required" : [ "rules" ],
|
|
27050
|
+
"type" : "object"
|
|
27051
|
+
},
|
|
27052
|
+
"ModelUserAccess" : {
|
|
27053
|
+
"description" : "Restriction d'un modèle à certains membres d'une organisation.",
|
|
27054
|
+
"properties" : {
|
|
27055
|
+
"providerId" : {
|
|
27056
|
+
"type" : "string"
|
|
27057
|
+
},
|
|
27058
|
+
"modelId" : {
|
|
27059
|
+
"type" : "string"
|
|
27060
|
+
},
|
|
27061
|
+
"restrictToUsers" : {
|
|
27062
|
+
"description" : "Vrai ⇒ seuls `userIds` et les admins de l'organisation peuvent utiliser le modèle.",
|
|
27063
|
+
"type" : "boolean"
|
|
27064
|
+
},
|
|
27065
|
+
"userIds" : {
|
|
27066
|
+
"items" : {
|
|
27067
|
+
"type" : "string"
|
|
27068
|
+
},
|
|
27069
|
+
"type" : "array"
|
|
27070
|
+
}
|
|
27071
|
+
},
|
|
27072
|
+
"required" : [ "modelId", "providerId", "restrictToUsers", "userIds" ],
|
|
27073
|
+
"type" : "object"
|
|
27074
|
+
},
|
|
27075
|
+
"SetModelUserAccess" : {
|
|
26890
27076
|
"properties" : {
|
|
26891
|
-
"
|
|
27077
|
+
"modelId" : {
|
|
27078
|
+
"type" : "string"
|
|
27079
|
+
},
|
|
27080
|
+
"restrictToUsers" : {
|
|
26892
27081
|
"type" : "boolean"
|
|
27082
|
+
},
|
|
27083
|
+
"userIds" : {
|
|
27084
|
+
"items" : {
|
|
27085
|
+
"type" : "string"
|
|
27086
|
+
},
|
|
27087
|
+
"type" : "array"
|
|
27088
|
+
}
|
|
27089
|
+
},
|
|
27090
|
+
"required" : [ "modelId", "restrictToUsers", "userIds" ],
|
|
27091
|
+
"type" : "object"
|
|
27092
|
+
},
|
|
27093
|
+
"Organization" : {
|
|
27094
|
+
"properties" : {
|
|
27095
|
+
"id" : {
|
|
27096
|
+
"type" : "string"
|
|
27097
|
+
},
|
|
27098
|
+
"name" : {
|
|
27099
|
+
"type" : "string"
|
|
27100
|
+
},
|
|
27101
|
+
"slug" : {
|
|
27102
|
+
"type" : "string"
|
|
27103
|
+
},
|
|
27104
|
+
"engine" : {
|
|
27105
|
+
"$ref" : "#/components/schemas/OrganizationEngine"
|
|
27106
|
+
},
|
|
27107
|
+
"ocr" : {
|
|
27108
|
+
"$ref" : "#/components/schemas/OrganizationOcrConfig"
|
|
27109
|
+
},
|
|
27110
|
+
"users" : {
|
|
27111
|
+
"items" : {
|
|
27112
|
+
"$ref" : "#/components/schemas/OrganizationUser"
|
|
27113
|
+
},
|
|
27114
|
+
"type" : "array"
|
|
26893
27115
|
}
|
|
26894
27116
|
},
|
|
26895
|
-
"required" : [ "
|
|
27117
|
+
"required" : [ "id", "name", "slug" ],
|
|
27118
|
+
"type" : "object"
|
|
27119
|
+
},
|
|
27120
|
+
"OrganizationUser" : {
|
|
27121
|
+
"properties" : {
|
|
27122
|
+
"id" : {
|
|
27123
|
+
"type" : "string"
|
|
27124
|
+
},
|
|
27125
|
+
"role" : {
|
|
27126
|
+
"type" : "string"
|
|
27127
|
+
}
|
|
27128
|
+
},
|
|
27129
|
+
"required" : [ "id", "role" ],
|
|
26896
27130
|
"type" : "object"
|
|
26897
27131
|
},
|
|
26898
27132
|
"OrganisationPlatformEngineUsage" : {
|
|
@@ -26906,9 +27140,16 @@
|
|
|
26906
27140
|
},
|
|
26907
27141
|
"knowledgeBases" : {
|
|
26908
27142
|
"type" : "integer"
|
|
27143
|
+
},
|
|
27144
|
+
"models" : {
|
|
27145
|
+
"description" : "Le même usage, modèle par modèle.",
|
|
27146
|
+
"items" : {
|
|
27147
|
+
"$ref" : "#/components/schemas/OrganisationPlatformEngineUsage_models_inner"
|
|
27148
|
+
},
|
|
27149
|
+
"type" : "array"
|
|
26909
27150
|
}
|
|
26910
27151
|
},
|
|
26911
|
-
"required" : [ "agents", "defaultEngine", "knowledgeBases" ],
|
|
27152
|
+
"required" : [ "agents", "defaultEngine", "knowledgeBases", "models" ],
|
|
26912
27153
|
"type" : "object"
|
|
26913
27154
|
},
|
|
26914
27155
|
"FileWithDownloadUrl" : {
|
|
@@ -27360,49 +27601,6 @@
|
|
|
27360
27601
|
},
|
|
27361
27602
|
"type" : "object"
|
|
27362
27603
|
},
|
|
27363
|
-
"Organization" : {
|
|
27364
|
-
"properties" : {
|
|
27365
|
-
"id" : {
|
|
27366
|
-
"type" : "string"
|
|
27367
|
-
},
|
|
27368
|
-
"name" : {
|
|
27369
|
-
"type" : "string"
|
|
27370
|
-
},
|
|
27371
|
-
"slug" : {
|
|
27372
|
-
"type" : "string"
|
|
27373
|
-
},
|
|
27374
|
-
"engine" : {
|
|
27375
|
-
"$ref" : "#/components/schemas/OrganizationEngine"
|
|
27376
|
-
},
|
|
27377
|
-
"ocr" : {
|
|
27378
|
-
"$ref" : "#/components/schemas/OrganizationOcrConfig"
|
|
27379
|
-
},
|
|
27380
|
-
"allowPlatformEngines" : {
|
|
27381
|
-
"description" : "L'organisation peut choisir les moteurs plateforme Breign.",
|
|
27382
|
-
"type" : "boolean"
|
|
27383
|
-
},
|
|
27384
|
-
"users" : {
|
|
27385
|
-
"items" : {
|
|
27386
|
-
"$ref" : "#/components/schemas/OrganizationUser"
|
|
27387
|
-
},
|
|
27388
|
-
"type" : "array"
|
|
27389
|
-
}
|
|
27390
|
-
},
|
|
27391
|
-
"required" : [ "id", "name", "slug" ],
|
|
27392
|
-
"type" : "object"
|
|
27393
|
-
},
|
|
27394
|
-
"OrganizationUser" : {
|
|
27395
|
-
"properties" : {
|
|
27396
|
-
"id" : {
|
|
27397
|
-
"type" : "string"
|
|
27398
|
-
},
|
|
27399
|
-
"role" : {
|
|
27400
|
-
"type" : "string"
|
|
27401
|
-
}
|
|
27402
|
-
},
|
|
27403
|
-
"required" : [ "id", "role" ],
|
|
27404
|
-
"type" : "object"
|
|
27405
|
-
},
|
|
27406
27604
|
"Role" : {
|
|
27407
27605
|
"properties" : {
|
|
27408
27606
|
"id" : {
|
|
@@ -35714,6 +35912,43 @@
|
|
|
35714
35912
|
"required" : [ "id", "name", "organizationId" ],
|
|
35715
35913
|
"type" : "object"
|
|
35716
35914
|
},
|
|
35915
|
+
"PlatformEngineAccess_models_inner" : {
|
|
35916
|
+
"properties" : {
|
|
35917
|
+
"modelId" : {
|
|
35918
|
+
"type" : "string"
|
|
35919
|
+
},
|
|
35920
|
+
"organizationIds" : {
|
|
35921
|
+
"items" : {
|
|
35922
|
+
"type" : "string"
|
|
35923
|
+
},
|
|
35924
|
+
"type" : "array"
|
|
35925
|
+
}
|
|
35926
|
+
},
|
|
35927
|
+
"required" : [ "modelId", "organizationIds" ],
|
|
35928
|
+
"type" : "object"
|
|
35929
|
+
},
|
|
35930
|
+
"OrganisationPlatformEngineUsage_models_inner" : {
|
|
35931
|
+
"properties" : {
|
|
35932
|
+
"providerId" : {
|
|
35933
|
+
"type" : "string"
|
|
35934
|
+
},
|
|
35935
|
+
"modelId" : {
|
|
35936
|
+
"type" : "string"
|
|
35937
|
+
},
|
|
35938
|
+
"agents" : {
|
|
35939
|
+
"type" : "integer"
|
|
35940
|
+
},
|
|
35941
|
+
"defaultEngine" : {
|
|
35942
|
+
"type" : "boolean"
|
|
35943
|
+
},
|
|
35944
|
+
"knowledgeBases" : {
|
|
35945
|
+
"description" : "Bases de connaissances indexées avec ce modèle d'embedding.",
|
|
35946
|
+
"type" : "integer"
|
|
35947
|
+
}
|
|
35948
|
+
},
|
|
35949
|
+
"required" : [ "agents", "defaultEngine", "knowledgeBases", "modelId", "providerId" ],
|
|
35950
|
+
"type" : "object"
|
|
35951
|
+
},
|
|
35717
35952
|
"MetricForAgent_identifier" : {
|
|
35718
35953
|
"properties" : {
|
|
35719
35954
|
"agentId" : {
|
package/package.json
CHANGED
|
@@ -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 AllowPlatformEnginesUio
|
|
16
|
-
*/
|
|
17
|
-
export interface AllowPlatformEnginesUio {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof AllowPlatformEnginesUio
|
|
22
|
-
*/
|
|
23
|
-
allowPlatformEngines: boolean;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the AllowPlatformEnginesUio interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfAllowPlatformEnginesUio(value: object): value is AllowPlatformEnginesUio;
|
|
29
|
-
export declare function AllowPlatformEnginesUioFromJSON(json: any): AllowPlatformEnginesUio;
|
|
30
|
-
export declare function AllowPlatformEnginesUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowPlatformEnginesUio;
|
|
31
|
-
export declare function AllowPlatformEnginesUioToJSON(json: any): AllowPlatformEnginesUio;
|
|
32
|
-
export declare function AllowPlatformEnginesUioToJSONTyped(value?: AllowPlatformEnginesUio | 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.instanceOfAllowPlatformEnginesUio = instanceOfAllowPlatformEnginesUio;
|
|
17
|
-
exports.AllowPlatformEnginesUioFromJSON = AllowPlatformEnginesUioFromJSON;
|
|
18
|
-
exports.AllowPlatformEnginesUioFromJSONTyped = AllowPlatformEnginesUioFromJSONTyped;
|
|
19
|
-
exports.AllowPlatformEnginesUioToJSON = AllowPlatformEnginesUioToJSON;
|
|
20
|
-
exports.AllowPlatformEnginesUioToJSONTyped = AllowPlatformEnginesUioToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AllowPlatformEnginesUio interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAllowPlatformEnginesUio(value) {
|
|
25
|
-
if (!('allowPlatformEngines' in value) || value['allowPlatformEngines'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function AllowPlatformEnginesUioFromJSON(json) {
|
|
30
|
-
return AllowPlatformEnginesUioFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function AllowPlatformEnginesUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'allowPlatformEngines': json['allowPlatformEngines'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function AllowPlatformEnginesUioToJSON(json) {
|
|
41
|
-
return AllowPlatformEnginesUioToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function AllowPlatformEnginesUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'allowPlatformEngines': value['allowPlatformEngines'],
|
|
49
|
-
};
|
|
50
|
-
}
|