{ "version": 3, "sources": ["../../node_modules/@goauthentik/api/dist/esm/models/TypeCreate.js", "../../node_modules/@goauthentik/api/dist/esm/models/UserSetting.js"], "sourcesContent": ["/* tslint:disable */\n/* eslint-disable */\n/**\n * authentik\n * Making authentication simple.\n *\n * The version of the OpenAPI document: 2024.12.3\n * Contact: hello@goauthentik.io\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/**\n * Check if a given object implements the TypeCreate interface.\n */\nexport function instanceOfTypeCreate(value) {\n if (!('name' in value) || value['name'] === undefined)\n return false;\n if (!('description' in value) || value['description'] === undefined)\n return false;\n if (!('component' in value) || value['component'] === undefined)\n return false;\n if (!('modelName' in value) || value['modelName'] === undefined)\n return false;\n return true;\n}\nexport function TypeCreateFromJSON(json) {\n return TypeCreateFromJSONTyped(json, false);\n}\nexport function TypeCreateFromJSONTyped(json, ignoreDiscriminator) {\n if (json == null) {\n return json;\n }\n return {\n 'name': json['name'],\n 'description': json['description'],\n 'component': json['component'],\n 'modelName': json['model_name'],\n 'iconUrl': json['icon_url'] == null ? undefined : json['icon_url'],\n 'requiresEnterprise': json['requires_enterprise'] == null ? undefined : json['requires_enterprise'],\n };\n}\nexport function TypeCreateToJSON(json) {\n return TypeCreateToJSONTyped(json, false);\n}\nexport function TypeCreateToJSONTyped(value, ignoreDiscriminator = false) {\n if (value == null) {\n return value;\n }\n return {\n 'name': value['name'],\n 'description': value['description'],\n 'component': value['component'],\n 'model_name': value['modelName'],\n 'icon_url': value['iconUrl'],\n 'requires_enterprise': value['requiresEnterprise'],\n };\n}\n", "/* tslint:disable */\n/* eslint-disable */\n/**\n * authentik\n * Making authentication simple.\n *\n * The version of the OpenAPI document: 2024.12.3\n * Contact: hello@goauthentik.io\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/**\n * Check if a given object implements the UserSetting interface.\n */\nexport function instanceOfUserSetting(value) {\n if (!('objectUid' in value) || value['objectUid'] === undefined)\n return false;\n if (!('component' in value) || value['component'] === undefined)\n return false;\n if (!('title' in value) || value['title'] === undefined)\n return false;\n return true;\n}\nexport function UserSettingFromJSON(json) {\n return UserSettingFromJSONTyped(json, false);\n}\nexport function UserSettingFromJSONTyped(json, ignoreDiscriminator) {\n if (json == null) {\n return json;\n }\n return {\n 'objectUid': json['object_uid'],\n 'component': json['component'],\n 'title': json['title'],\n 'configureUrl': json['configure_url'] == null ? undefined : json['configure_url'],\n 'iconUrl': json['icon_url'] == null ? undefined : json['icon_url'],\n };\n}\nexport function UserSettingToJSON(json) {\n return UserSettingToJSONTyped(json, false);\n}\nexport function UserSettingToJSONTyped(value, ignoreDiscriminator = false) {\n if (value == null) {\n return value;\n }\n return {\n 'object_uid': value['objectUid'],\n 'component': value['component'],\n 'title': value['title'],\n 'configure_url': value['configureUrl'],\n 'icon_url': value['iconUrl'],\n };\n}\n"], "mappings": "AA2BO,SAASA,EAAmBC,EAAM,CACrC,OAAOC,EAAwBD,EAAM,EAAK,CAC9C,CACO,SAASC,EAAwBD,EAAME,EAAqB,CAC/D,OAAIF,GAAQ,KACDA,EAEJ,CACH,KAAQA,EAAK,KACb,YAAeA,EAAK,YACpB,UAAaA,EAAK,UAClB,UAAaA,EAAK,WAClB,QAAWA,EAAK,UAAe,KAAO,OAAYA,EAAK,SACvD,mBAAsBA,EAAK,qBAA0B,KAAO,OAAYA,EAAK,mBACjF,CACJ,CCjBO,SAASG,EAAoBC,EAAM,CACtC,OAAOC,EAAyBD,EAAM,EAAK,CAC/C,CACO,SAASC,EAAyBD,EAAME,EAAqB,CAChE,OAAIF,GAAQ,KACDA,EAEJ,CACH,UAAaA,EAAK,WAClB,UAAaA,EAAK,UAClB,MAASA,EAAK,MACd,aAAgBA,EAAK,eAAoB,KAAO,OAAYA,EAAK,cACjE,QAAWA,EAAK,UAAe,KAAO,OAAYA,EAAK,QAC3D,CACJ", "names": ["TypeCreateFromJSON", "json", "TypeCreateFromJSONTyped", "ignoreDiscriminator", "UserSettingFromJSON", "json", "UserSettingFromJSONTyped", "ignoreDiscriminator"] }