diff --git a/assets/build/api/docs.jsonopenapi.json b/assets/build/api/docs.jsonopenapi.json index 5b4d24a4a..44ac677ca 100644 --- a/assets/build/api/docs.jsonopenapi.json +++ b/assets/build/api/docs.jsonopenapi.json @@ -1 +1 @@ -{"openapi":"3.0.0","info":{"title":"Studio Backend API","description":"API for Studio generated by OpenApi Generator via zircote\/swagger-php","license":{"name":"GNU General Public License version 3 \u0026 Pimcore Commercial License","url":"https:\/\/www.pimcore.org\/license"},"version":"0.0.1"},"paths":{"\/pimcore-studio\/api\/assets\/{id}\/clone\/{parentId}":{"post":{"tags":["Assets"],"summary":"Clone a specific asset","description":"Clones a specific asset with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder\n","operationId":"asset_clone","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully copied asset"},"201":{"description":"Successfully copied parent asset and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying child assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/custom-metadata":{"get":{"tags":["Assets"],"summary":"Get custom metadata of an asset by ID","description":"Retrieves custom metadata based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset\n","operationId":"asset_custom_metadata_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved custom metadata as JSON","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomMetadata"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/custom-settings":{"get":{"tags":["Assets"],"summary":"Get custom settings of an asset by ID","description":"Retrieves custom settings based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset\n","operationId":"asset_custom_settings_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved custom settings as JSON","content":{"application\/json":{"schema":{"properties":{"items":{"$ref":"#\/components\/schemas\/CustomSettings"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/text":{"get":{"tags":["Assets"],"summary":"Get asset data in text UTF8 representation by ID","description":"Retrieves the text data in UTF8 representation of the asset based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset.\n","operationId":"asset_get_text_data_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved UTF8 encoded text data of asset","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"UTF 8 encoded text data","type":"string","example":"Test content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/document\/stream\/pdf-preview":{"get":{"tags":["Assets"],"summary":"Stream asset document PDF preview by ID","description":"Stream asset document PDF preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset document\n","operationId":"asset_document_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset PDF preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"application\/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/download\/csv\/{jobRunId}":{"get":{"tags":["Assets"],"summary":"Download CSV file for assets","description":"Download the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"asset_download_csv","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"CSV File as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/csv":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Assets"],"summary":"Delete asset CSV file based on jobRunId","description":"Delete the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"asset_delete_csv","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/download\/zip\/{jobRunId}":{"get":{"tags":["Assets"],"summary":"Download ZIP archive for assets","description":"Download the ZIP archive with assets based on the given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create zip endpoint\n","operationId":"asset_download_zip","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"ZIP archive as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/zip":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Assets"],"summary":"Delete asset ZIP file based on jobRunId","description":"Delete the ZIP file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create zip endpoint\n","operationId":"asset_delete_zip","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/download":{"get":{"tags":["Assets"],"summary":"Download asset by ID","description":"Download the original asset stream based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"asset_download_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Original asset binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/csv\/asset":{"post":{"tags":["Assets"],"summary":"Creating CSV file for assets","description":"Creating the CSV file for assets. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Eassets\u003C\/strong\u003E: Array of asset ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Delimiter and header options\u003C\/li\u003E\n\u003C\/ul\u003E Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E Header options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_csv_asset","requestBody":{"content":{"application\/json":{"schema":{"properties":{"assets":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"config":{"properties":{"delimiter":{"type":"string","example":";"},"header":{"type":"enum","enum":["asset_to_export","folder_to_export","asset_export_data","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array"],"example":"title"}},"type":"object"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/csv\/folder":{"post":{"tags":["Assets"],"summary":"Creating CSV file for assets based on folder","description":"Creating the CSV file for assets based on the folder. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Efolders\u003C\/strong\u003E: Array of folder ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint. For folders you can also use filters and sorting\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: Filter assets from folder based on the grid filter schema\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Delimiter and header options\u003C\/li\u003E\n\u003C\/ul\u003E Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E Header options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_csv_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"},"config":{"properties":{"delimiter":{"type":"string","example":";"},"header":{"type":"enum","enum":["asset_to_export","folder_to_export","asset_export_data","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array"],"example":"title"}},"type":"object"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/zip\/asset":{"post":{"tags":["Assets"],"summary":"Creating ZIP file for assets","description":"Creating a ZIP file for assets based on the provided asset IDs in \u003Cstrong\u003E{assets}\u003C\/strong\u003E parameter. \u003Cbr\u003E\nDownload has to be triggered separately via the zip download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_zip_asset","requestBody":{"content":{"application\/json":{"schema":{"properties":{"assets":{"type":"array","items":{"type":"integer"}}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for zip export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E413 - Max File Size Exceeded\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/zip\/folder":{"post":{"tags":["Assets"],"summary":"Creating ZIP file assets based on folder","description":"Creating a ZIP file for assets based on the provided folder IDs in \u003Cstrong\u003E{folders}\u003C\/strong\u003E parameter. \u003Cbr\u003E\nFilter assets from folder based on the grid filter schema. \u003Cbr\u003E\nDownload has to be triggered separately via the zip download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_zip_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[83]},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for zip export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E413 - Max File Size Exceeded\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}":{"get":{"tags":["Assets"],"summary":"Get asset by ID","description":"Retrieves a specific asset data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset.\n","operationId":"asset_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved one of asset type data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/Asset Document"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Assets"],"summary":"Update an asset by ID","description":"Update needs to have the complete data present. \u003Cbr\u003E You can create\/update\/delete list entries like metadata, custom settings and properties. \u003Cbr\u003E E.g. if you want to remove an entry from metadata simply do not include this entry in the update. \u003Cbr\u003E If you want to update only a single field, use the PATCH method.\n","operationId":"asset_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateCustomMetadata"},"nullable":true},"customSettings":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateCustomSettings"},"nullable":true},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"},"nullable":true},"image":{"oneOf":[{"$ref":"#\/components\/schemas\/ImageData"}],"nullable":true,"type":"object"}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"One of asset types","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/Asset Document"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{folderId}\/{configurationId}":{"delete":{"tags":["Asset Grid"],"summary":"Delete grid configuration for a specific folder and given configuration ID","description":"Delete grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"asset_delete_grid_configuration_by_configurationId","parameters":[{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"configurationId","in":"path","description":"ConfigurationId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/available-columns":{"get":{"tags":["Asset Grid"],"summary":"Get available grid column configurations","description":"Get all available grid columns for assets\n","operationId":"asset_get_available_grid_columns","responses":{"200":{"description":"All available grid column configurations for assets","content":{"application\/json":{"schema":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnConfiguration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{folderId}":{"get":{"tags":["Asset Grid"],"summary":"Get asset grid configuration for a specific folder","description":"Get asset saved grid configuration by \u003Cstrong\u003E{folderId}\u003C\/strong\u003E if a configuration-id is set, otherwise get the default configuration will be returned.\n","operationId":"asset_get_grid_configuration_by_folderId","parameters":[{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"configurationId","in":"query","description":"Configuration ID","required":false,"schema":{"type":"integer","example":null}}],"responses":{"200":{"description":"Asset grid configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configurations\/{folderId}":{"get":{"tags":["Asset Grid"],"summary":"Get all saved grid configurations for assets of the given folder","description":"Get all saved grid configurations for assets of the given folder for the current user and shared configurations for this user\n","operationId":"asset_get_saved_grid_configurations","parameters":[{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of saved grid configurations for the given folder","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Configuration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/save":{"post":{"tags":["Asset Grid"],"summary":"Save asset grid configuration for a specific folder\n","description":"Save asset grid configuration for a specific folder\n","operationId":"asset_save_grid_configuration","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"},"nullable":false},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"}],"nullable":true,"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid configuration saved successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/set-as-favorite\/{configurationId}\/{folderId}":{"post":{"tags":["Asset Grid"],"summary":"Set asset grid configuration as favorite for a specific folder","description":"Set asset grid configuration as favorite for the current user for a specific folder\n","operationId":"asset_set_grid_configuration_as_favorite","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}},{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"asset_set_grid_configuration_as_favorite_response"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/update\/{configurationId}":{"put":{"tags":["Asset Grid"],"summary":"Update asset grid configuration for a specific folder","description":"Update asset grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"asset_update_grid_configuration","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["pageSize","name","description","columns"],"properties":{"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"},"nullable":false},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"}],"nullable":true,"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid configuration updated successfully"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid":{"post":{"tags":["Asset Grid"],"summary":"Get asset data for grid","description":"Retrieve assets data for grid. \u003Cbr\u003E\nYou can use different query parameters to filter the asset data: \u003Cbr\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Cstrong\u003EfolderId\u003C\/strong\u003E: ID of parent folder\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Column Request\u003C\/strong\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Filter\u003C\/strong\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"asset_get_grid","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","columns"],"properties":{"folderId":{"type":"integer","example":1},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"type":"array","items":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/custom":{"get":{"tags":["Assets"],"summary":"Download custom image by ID and configuration","description":"Download the custom image based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_download_custom","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"mimeType","in":"query","description":"Mime type of downloaded image.","required":true,"schema":{"type":"string","enum":["JPEG","PNG"],"example":"JPEG"}},{"name":"resizeMode","in":"query","description":"Resize mode of downloaded image.","required":true,"schema":{"type":"string","enum":["resize","scaleByWidth","scaleByHeight"],"example":"scaleByWidth"}},{"name":"width","in":"query","description":"Width of downloaded image","schema":{"type":"integer","example":140}},{"name":"height","in":"query","description":"Height of downloaded image","schema":{"type":"integer","example":null}},{"name":"quality","in":"query","description":"Quality of downloaded image","schema":{"type":"integer","example":null}},{"name":"dpi","in":"query","description":"Dpi of downloaded image","schema":{"type":"integer","example":null}}],"responses":{"200":{"description":"Custom image binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}},"image\/png":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/format\/{format}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and format","description":"Download the image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{format}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_download_by_format","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"format","in":"path","description":"Find asset by matching format type.","required":true,"schema":{"type":"string","enum":["office","print","web"],"example":"web"}}],"responses":{"200":{"description":"Image asset binary file based on format","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/stream\/preview":{"get":{"tags":["Assets"],"summary":"Stream image asset preview by ID","description":"Stream image asset preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Image preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/thumbnail\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and thumbnail name","description":"Download the image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image \u003Cbr\u003E\nList of downloadable \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail image collection endpoint\n","operationId":"asset_image_download_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Image asset binary file based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets":{"patch":{"tags":["Assets"],"summary":"Patch assets by ID","description":"Patching assets based on the given ID and data. \u003Cbr\u003E Patching can be used for updating single or multiple fields. \u003Cbr\u003E If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.\n","operationId":"asset_patch_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["id"],"properties":{"id":{"description":"Asset ID","type":"integer","example":83},"parentId":{"type":"integer","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"},"nullable":true}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Successfully patched asset"},"201":{"description":"Successfully created jobRun for patching multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/folder":{"patch":{"tags":["Assets"],"summary":"Patch all assets based on folder ID and filters","description":"Patching assets based on the given folder ID and data. \u003Cbr\u003E Patching on folders will be done asynchronously. \u003Cbr\u003E\nYou can also use filters and sorting. Filter assets from folder based on the grid filter schema\n","operationId":"asset_patch_folder_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["folderId"],"properties":{"folderId":{"description":"Folder ID","type":"integer","example":83},"parentId":{"type":"integer","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"},"nullable":true}},"type":"object"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun for patching multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/tree":{"get":{"tags":["Assets"],"summary":"Get all asset data for the tree","description":"Listing of all assets and asset folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the assets and it is possible to exclude folders from the result completely\n","operationId":"asset_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter assets by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":null}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":null}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":null}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":null}}],"responses":{"200":{"description":"asset_get_tree_success_description","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/Asset Document"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/add\/{parentId}":{"post":{"tags":["Assets"],"summary":"Add a new asset","description":"Add a new asset based on the binary \u003Cstrong\u003E{file}\u003C\/strong\u003E to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of existing folder.\n","operationId":"asset_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"File to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"ID of successfully uploaded new asset","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created asset","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/exists\/{parentId}":{"get":{"tags":["Assets"],"summary":"Get information if asset already exists","description":"Get information if asset already exists based on the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E and \u003Cstrong\u003E{fileName}\u003C\/strong\u003E query parameter.\n","operationId":"asset_upload_info","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}},{"name":"fileName","in":"query","description":"Name of the file to upload","required":true,"schema":{"type":"string","example":"file.jpg"}}],"responses":{"200":{"description":"Returns true if asset with the same name and in the same path already exists, false otherwise","content":{"application\/json":{"schema":{"required":["exists"],"properties":{"exists":{"title":"exists","description":"True if asset exists, false otherwise","type":"boolean","example":true}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/replace":{"post":{"tags":["Assets"],"summary":"Replace existing asset binary","description":"Replace the existing asset binary based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E with the provided {file} binary. \u003Cbr\u003E \nThe new asset binary mime type must be the same as the existing asset binary mime type.\n","operationId":"asset_replace","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"File to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully replaced asset binary"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/add-zip\/{parentId}":{"post":{"tags":["Assets"],"summary":"Add new assets via ZIP archive","description":"Upload a ZIP archive with assets to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of existing folder.\nZip archive is extracted and assets are uploaded on the background. \u003Cbr\u003E The jobRun ID is returned in the response\n","operationId":"asset_upload_zip","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["zipFile"],"properties":{"zipFile":{"description":"Zip file to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun ID to upload multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/stream\/image-thumbnail":{"get":{"tags":["Assets"],"summary":"Stream video image thumbnail by ID and configuration","description":"Stream the video image thumbnail based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\n","operationId":"asset_video_image_thumbnail_stream","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"width","in":"query","description":"Width of the video image thumbnail","schema":{"type":"integer","example":265}},{"name":"height","in":"query","description":"Height of the video image thumbnail","schema":{"type":"integer","example":null}},{"name":"aspectRatio","in":"query","description":"Aspect ratio","schema":{"type":"boolean","example":null}},{"name":"frame","in":"query","description":"Frame","schema":{"type":"boolean","example":null}},{"name":"async","in":"query","description":"Generate the asset asynchronously","schema":{"type":"boolean","example":null}}],"responses":{"200":{"description":"Video image thumbnail stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/download\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Download video asset by ID and thumbnail name","description":"Download the video asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\nList of \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail video collection endpoint\n","operationId":"asset_video_download_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Video binary file based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"video\/mp4":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/stream\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Stream video asset by ID and thumbnail name","description":"Stream the video asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\nList of \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail video collection endpoint\n","operationId":"asset_video_stream_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Video stream based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"video\/mp4":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/login":{"post":{"tags":["Authorization"],"summary":"Session-based login with user credentials.","description":"Logs in a user with the provided credentials and returns the user information.","operationId":"login","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}}},"responses":{"200":{"description":"Login successful.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"401":{"description":"Invalid credentials Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvalidCredentials"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/logout":{"post":{"tags":["Authorization"],"summary":"Logout and invalidate current session for active user.","description":"Logout and invalidate current session for active user.","operationId":"logout","responses":{"200":{"description":"Logout successful."}}}},"\/pimcore-studio\/api\/class\/field-collection\/{objectId}\/object\/layout":{"get":{"tags":["Class Definition"],"summary":"Get all layouts from the field collection for an given object","description":"Get all layouts from the field collection for an given object\n","operationId":"class_field_collection_object_layout","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of layouts","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/LayoutDefinition"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/quantity-value\/convert-all":{"post":{"tags":["Class Definition"],"summary":"Convert quantity value from one unit to all other related units","description":"Convert quantity \u003Cstrong\u003E{value}\u003C\/strong\u003E from one unit to all other available units based on the given \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E. \u003Cbr\u003E\nUnits have to have \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E defined as base unit to be considered for conversion.\n","operationId":"class_quantity_value_unit_convert_all","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConvertAllParameters"}}}},"responses":{"200":{"description":"Converted quantity value","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConvertedQuantityValues"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/quantity-value\/convert":{"post":{"tags":["Class Definition"],"summary":"Convert quantity value from one unit to another","description":"Convert quantity \u003Cstrong\u003E{value}\u003C\/strong\u003E from one unit to another based on the given \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E and \u003Cstrong\u003E{toUnitId}\u003C\/strong\u003E\n","operationId":"class_quantity_value_unit_convert","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConvertParameters"}}}},"responses":{"200":{"description":"Converted quantity value","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Converted value","example":2,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/quantity-value\/unit-list":{"get":{"tags":["Class Definition"],"summary":"List of available quantity value units","description":"List of available quantity value units\n","operationId":"class_quantity_value_unit_list","responses":{"200":{"description":"List of quantity value units","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/QuantityValueUnit"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/add\/{parentId}":{"post":{"tags":["Data Objects"],"summary":"Successfully added a new data object","description":"Add a new data object to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of a folder or another data object. See the full description of request fields with the schema \u003Cstrong\u003EDataObjectAdd\u003C\/strong\u003E\n","operationId":"data_object_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DataObjectAddParameters"}}}},"responses":{"200":{"description":"ID of added data object","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created data object","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}\/clone\/{parentId}":{"post":{"tags":["Data Objects"],"summary":"Clone a specific data object","description":"Clones a specific data object with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder or another data object\n","operationId":"data_object_clone","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CloneParameters"}}}},"responses":{"200":{"description":"Successfully copied data object"},"201":{"description":"Successfully copied parent data object and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying child objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}":{"get":{"tags":["Data Objects"],"summary":"Get a specific data object by ID","description":"Retrieves a specific data object based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing data object or folder.\n","operationId":"data_object_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved data object data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Data Objects"],"summary":"Update a data object by ID","description":"Update needs to have the complete data present. \u003Cbr\u003E You can create\/update\/delete list entries like properties. \u003Cbr\u003E If you want to update only a single field, use the PATCH method.\n","operationId":"data_object_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"index":{"type":"integer","minimum":0,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"childrenSortBy":{"type":"string","nullable":true},"childrenSortOrder":{"type":"string","nullable":true},"published":{"type":"boolean","nullable":true},"editableData":{"type":"object","example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }","nullable":true},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"},"nullable":true}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully updated data object","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/available-columns\/{classId}\/folderId":{"get":{"tags":["Data Object Grid"],"summary":"Get all available grid columns for data objects","description":"Get all available grid columns for data objects\n","operationId":"data_object_get_available_grid_columns","parameters":[{"name":"classId","in":"path","description":"Identifies the class name for which the columns should be retrieved.","required":true,"schema":{"type":"string","example":"MyClass"}},{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of available grid columns for data objects","content":{"application\/json":{"schema":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnConfiguration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/grid":{"post":{"tags":["Data Object Grid"],"summary":"Get data object data for grid","description":"Retrieve data objects data for grid. \u003Cbr\u003E\nYou can use different query parameters to filter the data objects data: \u003Cbr\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Cstrong\u003EfolderId\u003C\/strong\u003E: ID of parent folder\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Column Request\u003C\/strong\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Filter\u003C\/strong\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"data_object_get_grid","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","columns"],"properties":{"folderId":{"type":"integer","example":1},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Data object grid data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"type":"array","items":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}\/layout":{"get":{"tags":["Data Objects"],"summary":"Get layout of a data object by ID","description":"Retrieves the layout of a specific data object based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing data object.\n","operationId":"data_object_get_layout_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved data object layout data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Layout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects":{"patch":{"tags":["Data Objects"],"summary":"Patch data objects by ID","description":"Patching data objects based on the given ID and data. \u003Cbr\u003E Patching can be used for updating single or multiple fields. \u003Cbr\u003E If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.\n","operationId":"data_object_patch_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["id"],"properties":{"id":{"description":"Data Object ID","type":"integer","example":83},"parentId":{"type":"integer","minimum":1,"nullable":true},"index":{"type":"integer","minimum":0,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"childrenSortBy":{"type":"string","nullable":true},"childrenSortOrder":{"type":"string","nullable":true},"published":{"type":"boolean","nullable":true}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Successfully patched data object"},"201":{"description":"Successfully created jobRun for patching multiple data objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{sourceId}\/replace\/{targetId}":{"post":{"tags":["Data Objects"],"summary":"Replace content of a data object","description":"Replace the content of the data object with the given \u003Cstrong\u003E{targetId}\u003C\/strong\u003E with the content of the data object matching the \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{targetId}\u003C\/strong\u003E and \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E must be an ID of existing data objects\n","operationId":"data_object_replace_content","parameters":[{"name":"sourceId","in":"path","description":"SourceId of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"targetId","in":"path","description":"TargetId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully replaced content of data object"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/tree":{"get":{"tags":["Data Objects"],"summary":"Get all data object data for the tree","description":"Listing of all data objects and data object folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the data objects and it is possible to exclude folders from the result completely\n","operationId":"data_object_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter data objects by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":null}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":null}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":null}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"className","in":"query","description":"Filter by class.","required":false,"schema":{"type":"string","enum":["AccessoryPart","BodyStyle","Car","Category","Customer","CustomerSegment","CustomerSegmentGroup","Eierlegenedewollmilchsau","Event","FilterDefinition","LinkActivityDefinition","Manufacturer","News","OfferToolCustomProduct","OfferToolOffer","OfferToolOfferItem","OnlineShopOrder","OnlineShopOrderItem","OnlineShopTaxClass","OnlineShopVoucherSeries","OnlineShopVoucherToken","PortalUser","PortalUserGroup","TermSegmentBuilderDefinition","test"],"example":null}}],"responses":{"200":{"description":"Paginated data objects with total count as header param as JSON","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/dependencies\/{elementType}\/{id}":{"get":{"tags":["Dependencies"],"summary":"Get all dependencies for provided element.","description":"Get paginated dependencies.\n Pass dependency mode to get either all elements that depend on the provided element\n or all dependencies for the provided element.","operationId":"dependency_get_collection_by_element_type","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"dependencyMode","in":"query","description":"Dependency mode","required":true,"schema":{"type":"string","enum":["required_by","requires"],"example":"required_by"}}],"responses":{"200":{"description":"Paginated dependencies with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Dependency"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/delete\/{id}":{"delete":{"tags":["Elements"],"summary":"Delete a specific element and its children","description":"Deletes a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E If element is a folder, all child elements will be deleted as well. Elements are moved into the Recycle Bin before deletion.\n","operationId":"element_delete","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Successfully deleted element"},"201":{"description":"Successfully created jobRun for deleting element and its children","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/delete-info\/{id}":{"get":{"tags":["Elements"],"summary":"Get delete info of the element by id and element type path parameter","description":"Get delete info for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing ID of an element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"element_get_delete_info","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Get delete info for an element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteInfo"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/folder\/{parentId}":{"post":{"tags":["Elements"],"summary":"Create a new element folder","description":"Creating a new folder by \u003Cstrong\u003E{parentId}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of an existing folder or element. \u003Cbr\u003E\nFor additional body parameters see the schema \u003Cstrong\u003EFolderData\u003C\/strong\u003E\n","operationId":"element_folder_create","parameters":[{"name":"parentId","in":"path","description":"ParentId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FolderData"}}}},"responses":{"200":{"description":"Successfully created folder"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/path":{"get":{"tags":["Elements"],"summary":"Get ID of the element by path query parameter and element type path parameter","description":"Get the element ID based on the given \u003Cstrong\u003E{path}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{path}\u003C\/strong\u003E must be a valid path of an existing element with provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E\n","operationId":"element_get_id_by_path","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"elementPath","in":"query","description":"Filter elements by matching element path.","required":true,"schema":{"type":"string","example":"path\/to\/element"}}],"responses":{"200":{"description":"element_get_id_by_path_response_description","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of the element","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/blocklist":{"get":{"tags":["E-Mails"],"summary":"Get paginated collection of blocklist entries","description":"Get paginated E-Mail blocklist entries. \u003Cbr\u003E\nYou can use different query parameters to filter the E-Mail blocklist\n","operationId":"email_blocklist_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"email","in":"query","description":"Email address to be filtered by","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"Paginated E-Mail blocklist entries with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/BlocklistEntry"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["E-Mails"],"summary":"Add an E-mail address to the blocklist","description":"Add an E-mail address to the blocklist. \u003Cbr\u003E The E-mail address has to be compliant with the PHP validate filter.\n","operationId":"email_blocklist_add","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailAddressParameter"}}}},"responses":{"200":{"description":"Successfully added E-mail address to blocklist"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["E-Mails"],"summary":"Delete an E-mail address from the blocklist","description":"Delete an E-mail address from the blocklist with the given \u003Cstrong\u003E{email}\u003C\/strong\u003E \u003Cbr\u003E The E-mail address has to be present in the blocklist.\n","operationId":"email_blocklist_delete","parameters":[{"name":"email","in":"query","description":"Email address to be deleted from blocklist","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"Successfully deleted E-mail address from blocklist"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails":{"get":{"tags":["E-Mails"],"summary":"Get paginated collection of E-Mail log entries","description":"Get paginated E-Mail log entries. \u003Cbr\u003E\nYou can use different query parameters to filter the E-Mail logs\n","operationId":"email_log_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Paginated E-Mail log entries with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/EmailLogEntry"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}":{"get":{"tags":["E-Mails"],"summary":"Get an E-Mail log entry by ID","description":"Get the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"E-Mail log entry data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailLogEntryDetail"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["E-Mails"],"summary":"Delete E-Mail log entry","description":"Delete the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_delete","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted E-Mail log entry"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/html":{"get":{"tags":["E-Mails"],"summary":"Get HTML content of an E-Mail log entry by ID","description":"Get the HTML content of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_html","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"HTML content of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry HTML data.","type":"string","example":"\u003Cp\u003ESome email HTML content\u003C\/p\u003E"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/params":{"get":{"tags":["E-Mails"],"summary":"Get parameters of an E-Mail log entry by ID","description":"Get the parameters of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_params","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Parameters of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailLogEntryParameter"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/text":{"get":{"tags":["E-Mails"],"summary":"Get text content of an E-Mail log entry by ID","description":"Get the text content of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_text","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Text content of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry text data.","type":"string","example":"Some email text content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/forward":{"post":{"tags":["E-Mails"],"summary":"Forward and existing E-Mail log entry","description":"Forward the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E to the given \u003Cstrong\u003E{email}\u003C\/strong\u003E\n","operationId":"email_log_forward_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailAddressParameter"}}}},"responses":{"200":{"description":"E-Mail was successfully forwarded"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/resend":{"post":{"tags":["E-Mails"],"summary":"Resend an existing E-Mail log entry","description":"Resend the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_resend_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"E-Mail was successfully resent"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/test":{"post":{"tags":["E-Mails"],"summary":"Send a test E-Mail","description":"Send a test E-Mail based on the provided query parameters. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ESendEmailParameters\u003C\/strong\u003E\n","operationId":"email_send_test","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendEmailParameters"}}}},"responses":{"200":{"description":"E-Mail was successfully sent"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/execution-engine\/abort\/{JobRunId}":{"post":{"tags":["Execution Engine"],"summary":"Abort Job Run by Id","description":"Abort Job Run","operationId":"execution_engine_abort_job_run_by_id","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/mercure\/auth":{"post":{"tags":["Mercure"],"summary":"Retrieve JWT token for Mercure hub as cookie","description":"Retrieve JWT token for Mercure hub as cookie","operationId":"mercure_create_cookie","responses":{"200":{"description":"Retrieve JWT token for Mercure hub as cookie"},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes":{"get":{"tags":["Notes"],"summary":"Get paginated notes","description":"Get paginated notes. \u003Cbr\u003E\nYou can use different query parameters to filter the notes\n","operationId":"note_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":50}},{"name":"sortBy","in":"query","description":"Sort by field. Only works in combination with sortOrder.","required":false,"schema":{"type":"string","enum":["id","type","cId","cType","cPath","date","title","description","locked"],"example":null}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":null}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":null}},{"name":"fieldFilters","in":"query","description":"Filter for specific fields, will be json decoded to an array. e.g.\n [{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022,\u0022type\u0022:\u0022string\u0022}]","required":false,"example":""}],"responses":{"200":{"description":"Paginated notes with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Note"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/{id}":{"delete":{"tags":["Notes"],"summary":"Delete note with given id","description":"Delete the note with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"note_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"note_delete_by_id_success_description"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/{elementType}\/{id}":{"get":{"tags":["Notes"],"summary":"Get paginated notes for an element by id","description":"Get paginated notes for a specific element by its \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nYou can use different query parameters to filter the notes\n","operationId":"note_element_get_collection","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":50}},{"name":"sortBy","in":"query","description":"Sort by field. Only works in combination with sortOrder.","required":false,"schema":{"type":"string","enum":["id","type","cId","cType","cPath","date","title","description","locked"],"example":null}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":null}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":null}},{"name":"fieldFilters","in":"query","description":"Filter for specific fields, will be json decoded to an array. e.g.\n [{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022,\u0022type\u0022:\u0022string\u0022}]","required":false,"example":""}],"responses":{"200":{"description":"Paginated notes with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Note"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Notes"],"summary":"Create a new note for element with given id","description":"Create a new note for the element with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe note will be created for the current user.\n","operationId":"note_element_create","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateNote"}}}},"responses":{"200":{"description":"Created note for element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Note"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/type\/{elementType}":{"get":{"tags":["Notes"],"summary":"Get note types","description":"Get note types collection by \u003Cstrong\u003E{elementType}\u003C\/strong\u003E","operationId":"note_element_get_type_collection","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Note types collection","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/NoteType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications":{"post":{"tags":["Notifications"],"summary":"Get paginated notifications","description":"Get all paginated notifications for current user. \u003Cbr\u003E You can specify different filters in your request body. Available filters are: \u003Cbr\u003E\n\u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Etitle\u003C\/strong\u003E: Filter by title string\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EcreationDate\u003C\/strong\u003E: Filter by creation date (on, from, to)\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Epage\u003C\/strong\u003E: Used for offset calculation in pagination. To be used, needs to be defined together with the page.size\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Epage.size\u003C\/strong\u003E: Used for limiting the result numbers per page. To be used, needs to be defined together with the page\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"notification_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Paginated notifications with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/NotificationListItem"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Notifications"],"summary":"Delete all user notifications","description":"Delete all notifications for the current user","operationId":"notification_delete_all","responses":{"200":{"description":"Successfully deleted all notifications"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications\/{id}":{"get":{"tags":["Notifications"],"summary":"Get notification by ID","description":"Get the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E Current user can only get notifications, where he is the recipient.\n","operationId":"notification_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Notification data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Notification"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Notifications"],"summary":"Mark notification as read","description":"Mark the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E as read. \u003Cbr\u003E Current user can only mark notifications as read, where he is the recipient.\n","operationId":"notification_read_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully marked notification as read"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Notifications"],"summary":"Delete notification with given id","description":"Delete the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E Current user can only delete notifications, where he is the recipient.\n","operationId":"notification_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted notification"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications\/send":{"post":{"tags":["Notifications"],"summary":"Send a notification","description":"Send a notification to the given \u003Cstrong\u003E{recipientId}\u003C\/strong\u003E. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ESendNotificationParameters\u003C\/strong\u003E\n","operationId":"notification_send","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendNotificationParameters"}}}},"responses":{"200":{"description":"Successfully sent notification"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties":{"get":{"tags":["Properties"],"summary":"Get all predefined properties. You can filter by type and query","description":"Listing all the predefined properties that are currently stored in the system. \u003Cbr\u003E\nTo list specific properties for a type you can use the \u003Cstrong\u003EelementType\u003C\/strong\u003E query parameter.\u003Cbr\u003E\nYou can also created element type specific listings for this, to show in the context of the element. \u003Cbr\u003E\nThe \u003Cstrong\u003Efilter\u003C\/strong\u003E query parameter is applied on the name of the property. \u003Cbr\u003E\nKeep in mind that the name is language specific.\n","operationId":"property_get_collection","parameters":[{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":false,"schema":{"type":"string","enum":["asset","document","data-object"],"example":null}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"Predefined properties filtered based on type and query parameters","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/property":{"post":{"tags":["Properties"],"summary":"Creating new property with default values","description":"Creating the property with default values. \u003Cbr\u003E\n\u003Cul\u003E\n \u003Cli\u003EName: New Property\u003C\/li\u003E\n \u003Cli\u003EKey: new_key\u003C\/li\u003E\n \u003Cli\u003EType: Text\u003C\/li\u003E\n \u003Cli\u003EElement Type: Document (Ctype)\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"property_create","responses":{"200":{"description":"Created predefined property with default values","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties\/{id}":{"put":{"tags":["Properties"],"summary":"Updating a property","description":"Updating the property with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EUpdatePredefinedProperty\u003C\/strong\u003E\n","operationId":"property_update","parameters":[{"name":"id","in":"path","description":"Id of the property","required":true,"schema":{"type":"string","example":"alpha-numerical"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdatePredefinedProperty"}}}},"responses":{"200":{"description":"Updated predefined property","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Properties"],"summary":"Delete property with given id","description":"Deleting the property with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nIf the property is used in any element, it will not be deleted.\n","operationId":"property_delete","parameters":[{"name":"id","in":"path","description":"Id of the property","required":true,"schema":{"type":"string","example":"alpha-numerical"}}],"responses":{"200":{"description":"Successfully deleted property with given id"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties\/{elementType}\/{id}":{"get":{"tags":["Properties"],"summary":"Get properties for an element based on the element type and the element id","description":"List all the saved properties of the element. \u003Cbr\u003E\nKeep in mind that inherited properties should not be send back in an update request. \u003Cbr\u003E\nThis will result in the loss of the inheritance. \u003Cbr\u003E\n","operationId":"property_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Element Properties data as json","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/ElementProperty"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/clone\/{id}":{"post":{"tags":["Role Management"],"summary":"Clone a specific Role.","operationId":"role_clone_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Cloned Role"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the cloned Role.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/folder":{"post":{"tags":["Role Management"],"summary":"Create a new role folder.","operationId":"role_folder_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Folder","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role":{"post":{"tags":["Role Management"],"summary":"Create a new role.","operationId":"role_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Role.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/folder\/{id}":{"delete":{"tags":["Role Management"],"summary":"Delete a specific folder with all sub roles.","operationId":"role_folder_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the folder","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/{id}":{"get":{"tags":["Role Management"],"summary":"Get all available user roles.","operationId":"role_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of available user roles.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedRole"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Role Management"],"summary":"Update role by id.","operationId":"role_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the Role","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateRole"}}}},"responses":{"200":{"description":"Updated data.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedRole"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Role Management"],"summary":"Delete a specific role.","operationId":"role_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/roles":{"get":{"tags":["Role Management"],"summary":"Get all available roles.","description":"Get all available roles with basic information","operationId":"role_get_collection","responses":{"200":{"description":"List of available roles.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleRole"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/roles\/tree":{"get":{"tags":["Role Management"],"summary":"Get collection of roles for tree view.","operationId":"role_get_tree","parameters":[{"name":"parentId","in":"query","description":"Filter roles by parent id.","required":true,"schema":{"type":"integer","minimum":0,"example":0}}],"responses":{"200":{"description":"Collection of roles including folders for the given parent id.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/TreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/schedules\/{id}":{"delete":{"tags":["Schedule"],"summary":"Delete schedule with given id","description":"Deletes a specific schedule based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"schedule_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the schedule","required":true,"schema":{"type":"integer","example":123}}],"responses":{"200":{"description":"Successfully deleted schedule"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/schedules\/{elementType}\/{id}":{"get":{"tags":["Schedule"],"summary":"Get schedules for an element","description":"Get all schedules for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\n","operationId":"schedule_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of schedules for element","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Schedule"],"summary":"Update schedules for an element","description":"Update schedules for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EUpdateSchedule\u003C\/strong\u003E\n","operationId":"schedule_update_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateSchedule"}}},"type":"object"}}}},"responses":{"200":{"description":"List of updated schedules","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Schedule"],"summary":"Create a schedule for element","description":"Create a new schedule with default values for the element with the given type \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe schedule will be created for the current user.\n","operationId":"schedule_create_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Created schedule for element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/settings":{"get":{"tags":["Settings"],"summary":"Get system settings","description":"Get system settings from different providers. \u003Cbr\u003E\nSystem settings are public and need no login.\n","operationId":"system_settings_get","responses":{"200":{"description":"System settings data","content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags":{"get":{"tags":["Tags"],"summary":"Get all tags for a parent","description":"Get all tags for a \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E\nYou can use different query parameters to filter the tags\n","operationId":"tag_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":false,"schema":{"type":"string","enum":["asset","document","data-object"],"example":null}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":null}},{"name":"parentId","in":"query","description":"Filter tags by parent id.","required":false,"schema":{"type":"integer","minimum":0,"example":null}}],"responses":{"200":{"description":"All tags for a parent filtered based on type and query parameters","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tag":{"post":{"tags":["Tags"],"summary":"Create a new tag","description":"Create a new tag. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ECreate Tag Parameters\u003C\/strong\u003E\n","operationId":"tag_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateTagParameters"}}}},"responses":{"200":{"description":"tag_create_success_description","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{id}":{"get":{"tags":["Tags"],"summary":"Get a tag by ID","description":"Retrieves a specific tag data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved tag data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Tags"],"summary":"Update a tag by ID","description":"Update a specific tag based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EChange Tag Parameters\u003C\/strong\u003E\n","operationId":"tag_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateTagParameters"}}}},"responses":{"200":{"description":"Successfully updated tag data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Tags"],"summary":"Delete a specific tag","description":"Delete a specific tag based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":10}}],"responses":{"200":{"description":"ID of successfully deleted tag","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of deleted tag","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/assign\/{elementType}\/{id}\/{tagId}":{"post":{"tags":["Tags for Element"],"summary":"Assign a tag to an element","description":"Assign a specific tag based on the given \u003Cstrong\u003E{tagId}\u003C\/strong\u003E to an element based on \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"tag_assign_to_element","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"tagId","in":"path","description":"TagId of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/batch\/{operation}\/{elementType}\/{id}":{"post":{"tags":["Tags for Element"],"summary":"Batch assign\/replace tags for children elements","description":"Batch assign\/replace multiple tags of the given parent based on the \u003Cstrong\u003E{elementId}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E to the children. \u003Cbr\u003E\nOperation parameter \u003Cstrong\u003E{operation}\u003C\/strong\u003E must be one of the \u003Cstrong\u003Eassign\u003C\/strong or \u003Cstrong\u003Ereplace\u003C\/strong\u003E.\n","operationId":"tag_batch_operation_to_elements_by_type_and_id","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"operation","in":"path","description":"Execute operation based on provided type.","required":true,"schema":{"type":"string","enum":["assign","replace"],"example":"assign"}}],"responses":{"201":{"description":"Successfully created jobRun for batch tag assignment\/replacement","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{elementType}\/{id}":{"get":{"tags":["Tags for Element"],"summary":"Get tags for an element","description":"Get paginated tag collection for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Paginated tags for element","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{elementType}\/{id}\/{tagId}":{"delete":{"tags":["Tags for Element"],"summary":"Unassign a tag from an element","description":"Unassign a specific tag based on the given \u003Cstrong\u003E{tagId}\u003C\/strong\u003E from an element based on \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"tag_unassign_from_element","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"tagId","in":"path","description":"TagId of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/thumbnails\/image":{"get":{"tags":["Asset Thumbnails"],"summary":"Get collection of thumbnails for images","description":"Get collection of thumbnails for images. \u003Cbr\u003E\nThe thumbnails have to be defined as downloadable in order to be listed in the collection.\n","operationId":"thumbnail_image_get_collection","responses":{"200":{"description":"All downloadable image thumbnails","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/thumbnails\/video":{"get":{"tags":["Asset Thumbnails"],"summary":"Get collection of thumbnails for videos","description":"Get collection of all thumbnails for videos.\n","operationId":"thumbnail_video_get_collection","responses":{"200":{"description":"All video thumbnails","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/translations":{"post":{"tags":["Translation"],"summary":"Get translations","description":"Get translations for given keys and locale","operationId":"translation_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Translation"}}}},"responses":{"200":{"description":"Key value pairs for given keys and locale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Translation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/clone\/{id}":{"post":{"tags":["User Management"],"summary":"Clone a specific user.","operationId":"user_clone_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Cloned User"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the cloned user.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/":{"post":{"tags":["User Management"],"summary":"Create a new user.","operationId":"user_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created User.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/folder":{"post":{"tags":["User Management"],"summary":"Create a new user folder.","operationId":"user_folder_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Folder.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/current-user-information":{"get":{"tags":["User Management"],"summary":"Retrieve information\u0027s about the current logged in user.","operationId":"user_get_current_information","responses":{"200":{"description":"Current user information\u0027s.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/{id}":{"get":{"tags":["User Management"],"summary":"Retrieve a specific user by ID.","operationId":"user_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Node of the requested user.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["User Management"],"summary":"Update user by id.","operationId":"user_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateUser"}}}},"responses":{"200":{"description":"Updated data.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["User Management"],"summary":"Delete a specific user.","operationId":"user_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/folder\/{id}":{"delete":{"tags":["User Management"],"summary":"Delete a specific user folder with all users in this folder.","operationId":"user_folder_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user-folder","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users\/default-key-bindings":{"get":{"tags":["User Management"],"summary":"Get default key bindings","description":"Get default key bindings for user management\n","operationId":"user_default_key_bindings","responses":{"200":{"description":"List of default key bindings","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/available-permissions":{"get":{"tags":["User Management"],"summary":"Get all available user permissions.","operationId":"user_get_available_permissions","responses":{"200":{"description":"List of available user permissions.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/UserPermission"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users":{"get":{"tags":["User Management"],"summary":"Get all users","description":"Get all users with basic information","operationId":"user_get_collection","responses":{"200":{"description":"List of users","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleUser"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/reset-password":{"post":{"tags":["User Management"],"summary":"Sending username to reset password.","operationId":"user_reset_password","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ResetPassword"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E429 - Too Many Requests","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/search":{"get":{"tags":["User Management"],"summary":"Search for users by query. The query can be a part of the username, first name, last name, email or user ID.","operationId":"pimcore_studio_api_user_search","parameters":[{"name":"searchQuery","in":"query","description":"Query to search for an user. This can be a part of username, firstname, lastname, email or id.","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"user_search_summary_response","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleUser"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/{id}\/password":{"put":{"tags":["User Management"],"summary":"Update password for a User by the User id.","operationId":"user_update_password_by_id","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["password","passwordConfirmation"],"properties":{"password":{"type":"string"},"passwordConfirmation":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/upload-image\/{id}":{"post":{"tags":["User Management"],"summary":"Upload user image","operationId":"user_upload_image","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["userImage"],"properties":{"userImage":{"description":"User image to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/image\/{id}":{"get":{"tags":["User Management"],"summary":"Get user profile image","operationId":"user_get_image","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"User profile image","content":{"image\/png":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users\/tree":{"get":{"tags":["User Management"],"summary":"Get collection of users for tree view.","operationId":"user_get_tree","parameters":[{"name":"parentId","in":"query","description":"Filter users by parent id.","required":true,"schema":{"type":"integer","minimum":0,"example":0}}],"responses":{"200":{"description":"Collection of users including folders for the given parent id.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/TreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/asset\/download":{"get":{"tags":["Versions"],"summary":"Download asset version by ID","description":"Download the asset version based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_asset_download_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset version binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/image\/stream":{"get":{"tags":["Versions"],"summary":"Stream image version thumbnail by ID","description":"Stream the image version thumbnail based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_image_stream_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Image thumbnail version stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/pdf\/stream":{"get":{"tags":["Versions"],"summary":"Stream PDF version by ID","description":"Stream the PDF version based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_pdf_stream_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"PDF version stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"application\/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}":{"get":{"tags":["Versions"],"summary":"Get a specific version by ID","description":"Retrieves a specific version data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved version data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetVersion"},{"$ref":"#\/components\/schemas\/DataObjectVersion"},{"$ref":"#\/components\/schemas\/DocumentVersion"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Versions"],"summary":"Update a version by ID","description":"Updates a version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version. \u003Cbr\u003E See the full description of updatable fields with the schema \u003Cstrong\u003EUpdateVersion\u003C\/strong\u003E\n","operationId":"version_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateVersion"}}}},"responses":{"200":{"description":"Successfully updated version"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Versions"],"summary":"Publish a specific version by ID","description":"Publishes a specific version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_publish_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"ID of the published version","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of published version","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Versions"],"summary":"Delete a specific version","description":"Deletes a specific version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted version"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{elementType}\/{id}":{"get":{"tags":["Versions"],"summary":"Get versions for an element","description":"List all the versions of the element. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"version_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Paginated element Versions data as JSON with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Version"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Versions"],"summary":"Cleanup all versions for an element","description":"Cleans up all versions for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"version_cleanup_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the ID of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"IDs of the removed versions","content":{"application\/json":{"schema":{"required":["ids"],"properties":{"ids":{"title":"IDs","description":"IDs of deleted versions","type":"array","items":{"type":"integer","example":420}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/workflows\/details":{"get":{"tags":["Workflows"],"summary":"Get all workflow details of an element","description":"Get details of the element workflows based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{elementId}\u003C\/strong\u003E.\n","operationId":"workflow_get_details","parameters":[{"name":"elementId","in":"query","description":"ID of the element","required":true,"schema":{"type":"integer","example":null}},{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Detail data of element workflows","content":{"application\/json":{"schema":{"properties":{"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowDetails"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/workflows\/action":{"post":{"tags":["Workflows"],"summary":"Submit workflow action","description":"Submit action based on the workflow name, action name and action type.","operationId":"workflow_action_submit","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubmitAction"}}}},"responses":{"200":{"description":"Json encoded name of workflow, name and type of submitted action.","content":{"application\/json":{"schema":{"properties":{"workflowName":{"title":"workflowName","type":"string","example":"MyAwesomeWorkflow"},"actionName":{"title":"actionName","type":"string","example":"MyAwesomeAction"},"actionType":{"title":"actionType","type":"string","example":"transition"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}}},"components":{"schemas":{"AllowedTransition":{"title":"AllowedTransition","required":["name","label","iconCls","objectLayout","unsavedChangesBehaviour","notes"],"properties":{"name":{"description":"name","type":"string","example":"start_workflow"},"label":{"description":"label","type":"string","example":"Start Workflow"},"iconCls":{"description":"iconCls","type":"string","example":"pimcore_workflow_start"},"objectLayout":{"description":"objectLayout","type":"boolean","example":false},"unsavedChangesBehaviour":{"description":"unsavedChangesBehaviour","type":"string","example":"warn"},"notes":{"description":"notes","type":"array","items":[],"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Archive":{"title":"Archive","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Asset":{"title":"Asset","required":["iconName","hasChildren","type","filename","mimeType","hasMetadata","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","hasWorkflowAvailable"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"hasChildren":{"description":"Has children","type":"boolean","example":false},"type":{"description":"Type","type":"string","example":"image"},"filename":{"description":"Filename","type":"string","example":"cool.jpg"},"mimeType":{"description":"Mimetype","type":"string","example":"image\/jpeg","nullable":true},"hasMetadata":{"description":"Has metadata","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/asset.jpg"},"permissions":{"$ref":"#\/components\/schemas\/AssetPermissions"}},"type":"object"}]},"Asset Document":{"title":"Asset Document","required":["pageCount","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"pageCount":{"description":"Page count","type":"integer","example":2,"nullable":true},"imageThumbnailPath":{"description":"Path to image thumbnail","type":"string","example":"\/path\/to\/document\/imagethumbnail.jpg","nullable":true}},"type":"object"}]},"AssetFolder":{"title":"Asset Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"AssetPermissions":{"title":"Asset Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"}]},"AssetVersion":{"title":"AssetVersion","required":["type","fileName","creationDate","fileSize","mimeType","metadata","dimensions"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"type":{"description":"asset type","type":"string","example":"image"},"fileName":{"description":"file name","type":"string","example":"myImageFile.png"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":"integer","example":1707312457,"nullable":true},"fileSize":{"description":"file size","type":"integer","example":41862},"mimeType":{"description":"mime type","type":"string","example":"image\/png"},"metadata":{"description":"Metadata","type":"array","items":{"$ref":"#\/components\/schemas\/CustomMetadataVersion"}},"dimensions":{"$ref":"#\/components\/schemas\/Dimensions"}},"type":"object"},"Audio":{"title":"Audio","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"BlocklistEntry":{"title":"Blocklist","required":["email","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"email":{"description":"email address","type":"string","example":"email@pimcore.com"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":"integer","example":1707312457,"nullable":true}},"type":"object"},"EmailAddressParameter":{"title":"Blocklist","required":["email"],"properties":{"email":{"description":"email address","type":"string","example":"someEmail@email-domain.com"}},"type":"object"},"UpdateTagParameters":{"title":"Change Tag Parameters","description":"Parameters for changing a tag","properties":{"parentId":{"description":"Parent id","type":"integer","example":0,"nullable":true},"name":{"description":"Tag name","type":"string","example":"tag 1","nullable":true}},"type":"object"},"Collection":{"title":"Collection","properties":{"totalItems":{"description":"total items","type":"integer","example":666},"items":{"description":"items","type":"mixed","example":["Asset","Folder","Document","DataObject"]}},"type":"object"},"ColumnSchema":{"title":"Column","required":["key","locale","group"],"properties":{"key":{"description":"Key of the Column","type":"string","example":"id"},"locale":{"description":"Locale of the Column","type":"string","example":"de","nullable":true},"group":{"description":"Group of the Column","type":"string","example":"system"}},"type":"object"},"ConvertAllParameters":{"title":"Convert All Units Parameters","required":["fromUnitId","value"],"properties":{"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"value":{"description":"Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"},"ConvertedQuantityValue":{"title":"Converted quantity values","required":["originalValue","fromUnitId","convertedValues"],"properties":{"unitAbbreviation":{"description":"Unit Abbreviation","type":"string","example":"m"},"unitLongName":{"description":"Unit Long Name","type":"string","example":"Meter"},"convertedValue":{"description":"Converted Values","type":"number","format":"float","example":160}},"type":"object"},"ConvertedQuantityValues":{"title":"Converted quantity values","required":["originalValue","fromUnitId","convertedValues"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"originalValue":{"description":"Original Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]},"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"convertedValues":{"description":"Converted Values","type":"array","items":{"$ref":"#\/components\/schemas\/ConvertedQuantityValue"}}},"type":"object"},"CreateTagParameters":{"title":"Create Tag Parameters","description":"Parameters for creating a new tag","properties":{"parentId":{"description":"Parent id","type":"integer","example":0},"name":{"description":"Tag name","type":"string","example":"tag 1"}},"type":"object"},"CreateNote":{"title":"CreateNote","required":["title","description","type"],"properties":{"title":{"description":"title","type":"string","example":"Title of note"},"description":{"description":"description","type":"string","example":"Description of note"},"type":{"description":"type","type":"string","example":"Type of note"}},"type":"object"},"Credentials":{"title":"Credentials","description":"Credentials for authentication","required":["username","password"],"properties":{"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"},"password":{"description":"Password","type":"string","example":"*****"}},"type":"object"},"CustomAttributes":{"title":"CustomAttributes","description":"Custom attributes used mainly for the tree","required":["icon","tooltip","additionalIcons","key","additionalCssClasses"],"properties":{"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon"}],"nullable":true,"description":"Custom Icon"},"tooltip":{"description":"Custom Tooltip","type":"string","example":"\u003Cb\u003EMy Tooltip\u003C\/b\u003E","nullable":true},"additionalIcons":{"description":"AdditionalIcons","type":"array","items":{"type":"string","example":"some_other_icon"}},"key":{"description":"Custom Key\/Filename","type":"string","example":"my_custom_key","nullable":true},"additionalCssClasses":{"description":"Additional Css Classes","type":"array","items":{"type":"string","example":"my_custom_class"}}},"type":"object"},"CustomMetadata":{"title":"CustomMetadata","required":["name","language","type","data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":"string","example":"data","nullable":true}},"type":"object"},"CustomMetadataVersion":{"title":"CustomMetadataVersion","required":["name","language","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":"string","example":"data","nullable":true}},"type":"object"},"CustomSettings":{"title":"CustomSettings","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"fixedCustomSettings":{"oneOf":[{"$ref":"#\/components\/schemas\/FixedCustomSettings"}],"nullable":true,"description":"fixed custom settings","example":"{ embeddedMetadata: { FileSize: 360 KiB }, checksum: b3685e8348e7ac4d30d0268f7e58902a }"},"dynamicCustomSettings":{"description":"dynamic custom settings - can be any key-value pair","type":"array","items":[],"example":"{ imageWidth: 1280, imageHeight: 720 }"}},"type":"object"},"CloneParameters":{"title":"Data Object Clone Parameters","required":["recursive","updateReferences"],"properties":{"recursive":{"description":"Recursive","type":"boolean","example":false},"updateReferences":{"description":"Update References","type":"boolean","example":false}},"type":"object"},"DataObjectFolder":{"title":"Data Object Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/DataObject"}]},"DataObjectPermissions":{"title":"Data Object Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"},{"properties":{"save":{"description":"Save","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true},"localizedEdit":{"description":"Localized Edit","type":"string","example":"default","nullable":true},"localizedView":{"description":"Localized View","type":"string","example":"default","nullable":true},"layouts":{"description":"Layouts","type":"string","example":"default","nullable":true}},"type":"object"}]},"DataObject":{"title":"DataObject","required":["key","className","type","published","hasChildren","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","index","objectData","allowInheritance","allowVariants","showVariants","hasPreview"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"allowInheritance":{"description":"Inheritance allowed","type":"boolean","example":false},"allowVariants":{"description":"Variants allowed","type":"boolean","example":false},"showVariants":{"description":"Show variants","type":"boolean","example":false},"hasPreview":{"description":"Has preview","type":"boolean","example":false},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"key":{"description":"Key","type":"string","example":"Giulietta"},"className":{"description":"Class name","type":"string","example":"car"},"type":{"description":"Type","type":"string","example":"image"},"published":{"description":"Published","type":"boolean","example":false},"hasChildren":{"description":"Has children","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/dataObject"},"permissions":{"$ref":"#\/components\/schemas\/DataObjectPermissions"},"index":{"description":"Custom index","type":"integer","example":0},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}}},"type":"object"}]},"DataObjectAddParameters":{"title":"DataObjectAdd","required":["key","classId","type"],"properties":{"key":{"description":"Key","type":"string","example":"my_new_data_object"},"classId":{"description":"Class Id","type":"string","example":"data_object_class_id"},"type":{"description":"Type","type":"enum","enum":["object","variant"],"example":"object"}},"type":"object"},"DataObjectVersion":{"title":"DataObjectVersion","required":["modificationDate","path","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"modificationDate":{"description":"modification date","type":"integer","example":1712823182},"path":{"description":"path","type":"string","example":"\/path\/to\/object"},"published":{"description":"published","type":"boolean","example":true}},"type":"object"},"ElementProperty":{"title":"DataProperty","required":["key","data","type","inheritable","inherited"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"key","type":"string","example":"key_of_the_property"},"data":{"description":"data","type":"mixed","example":"123","nullable":true},"type":{"description":"type","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false},"inherited":{"description":"inherited","type":"boolean","example":false},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"predefinedName":{"description":"predefinedName","type":"string","example":"name of the predefined property","nullable":true},"description":{"description":"description","type":"string","example":"Description of the predefined property","nullable":true}},"type":"object"},"DeleteInfo":{"title":"DeleteInfo","required":["hasDependencies","canUseRecycleBin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"hasDependencies":{"description":"hasDependencies","type":"boolean","example":true},"canUseRecycleBin":{"description":"canUseRecycleBin","type":"boolean","example":true}},"type":"object"},"Dependency":{"title":"Dependency","required":["id","path","type","subType","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer"},"path":{"description":"path","type":"string","example":"text"},"type":{"description":"type","type":"string","example":"asset"},"subType":{"description":"subType","type":"string","example":"image"},"published":{"description":"published","type":"boolean","example":"true"}},"type":"object"},"UserDependency":{"title":"Dependency to an Object","description":"Dependency to an Object","required":["id","path","subtype"],"properties":{"id":{"description":"ID of the object","type":"integer","example":42},"path":{"description":"Path to the object","type":"string","example":"\/path\/to\/object"},"subtype":{"description":"Subtype of the object","type":"string","example":"Car"}},"type":"object"},"DetailedRole":{"title":"Detailed User Role","description":"Contains all information about a role","required":["id","name","classes","parentId","permissions","docTypes","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or Role","type":"string","example":"admin","nullable":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":"integer","example":"2","nullable":true},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"docTypes":{"description":"List of document types for the role","type":"object","example":["1","2"]},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}}},"type":"object"},"DevError":{"title":"DevError","description":"Error with details for developers","required":["message","details"],"properties":{"message":{"description":"Message","type":"string","example":"I got a bad feeling about this"},"details":{"description":"Details","type":"string","example":"Search your feelings. (Stack trace)"}},"type":"object"},"Document":{"title":"Document","required":[],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/asset.jpg"}},"type":"object"}]},"DocumentVersion":{"title":"DocumentVersion","required":["modificationDate","path","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"modificationDate":{"description":"modification date","type":"integer","example":1712823182},"path":{"description":"path","type":"string","example":"\/path\/to\/object"},"published":{"description":"published","type":"boolean","example":true}},"type":"object"},"Element":{"title":"Element","required":["id","parentId","path","userOwner","userModification","locked","isLocked","creationDate","modificationDate","permissions"],"properties":{"id":{"description":"ID","type":"integer","example":83},"parentId":{"description":"ID of parent","type":"integer","example":1},"path":{"description":"path","type":"string","example":"\/path\/to\/element"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon"},"userOwner":{"description":"ID of owner","type":"integer","example":1},"userModification":{"description":"User that modified the element","type":"integer","example":1},"locked":{"description":"Locked","type":"string","example":"locked","nullable":true},"isLocked":{"description":"Is locked","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":"integer","example":221846400,"nullable":true},"modificationDate":{"description":"Modification date","type":"integer","example":327417600,"nullable":true}},"type":"object"},"ElementIcon":{"title":"ElementIcon","required":["type","value"],"properties":{"type":{"description":"Icon type","type":"enum","enum":["name","path"],"example":"path"},"value":{"description":"Icon value","type":"string","example":"\/path\/to\/icon"}},"type":"object"},"EmailDocumentParameters":{"title":"EmailDocumentParameters","required":["key","value"],"properties":{"key":{"description":"parameter key","type":"string","example":"some_parameter_key"},"value":{"description":"parameter value","type":"value","example":"some_parameter_value","nullable":true}},"type":"object"},"EmailLogEntry":{"title":"EmailLog","required":["id","sentDate","hasHtmlLog","hasTextLog","hasError","from","to","subject"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer","example":23},"sentDate":{"description":"sent date","type":"integer","example":1707312457},"hasHtmlLog":{"description":"HTML log exists","type":"boolean","example":true},"hasTextLog":{"description":"Text log exists","type":"boolean","example":true},"hasError":{"description":"Error occurred","type":"boolean","example":true},"from":{"description":"from","type":"string","example":"from@pimcore.com","nullable":true},"to":{"description":"to","type":"string","example":"to@pimcore.com","nullable":true},"subject":{"description":"subject","type":"string","example":"E-Mail subject","nullable":true}},"type":"object"},"EmailLogEntryDetail":{"title":"EmailLogDetail","required":["bcc","cc","error"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/EmailLogEntry"},{"properties":{"bcc":{"description":"bcc","type":"string","example":"email@pimcore.com","nullable":true},"cc":{"description":"cc","type":"string","example":"email@pimcore.com","nullable":true},"error":{"description":"error","type":"string","example":"Some error occurred","nullable":true}},"type":"object"}]},"ObjectParameter":{"title":"EmailLogObjectParameterData","required":["name","value"],"properties":{"id":{"description":"id","type":"integer","example":1020},"type":{"description":"type","type":"string","example":"object"},"class":{"description":"class","type":"string","example":"AppBundle\\Model\\MyObject"},"path":{"description":"path","type":"string","example":"\/path\/to\/object"}},"type":"object"},"EmailLogEntryParameter":{"title":"EmailLogParameters","required":["name","value","objectData"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"name","type":"string","example":"myParameter"},"value":{"description":"value","type":"string","example":"Some value","nullable":true},"objectData":{"oneOf":[{"$ref":"#\/components\/schemas\/ObjectParameter"}],"nullable":true,"description":"data for object parameters"}},"type":"object"},"Error":{"title":"Error","description":"Bad credentials or missing token, bad request, method not allowed, etc.","required":["message"],"properties":{"message":{"description":"Message","type":"string","example":"I am an error message"}},"type":"object"},"LayoutDefinition":{"title":"Field Collection Layout Definition","required":["key","title","width","height","collapsible","collapsed","datatype","children"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"Key of Field Collection","type":"string"},"datatype":{"description":"Data Type","type":"string","example":"layout"},"group":{"description":"Group","type":"string","example":"Group Name","nullable":true},"name":{"description":"Name","type":"string","example":"Layout","nullable":true},"type":{"description":"Type","type":"string","nullable":true},"region":{"description":"Region","type":"string","nullable":true},"title":{"description":"Title","type":"string","nullable":true},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"collapsed","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"}},"type":"object"},"FixedCustomSettings":{"title":"FixedCustomSettings","required":["embeddedMetadata","embeddedMetadataExtracted"],"properties":{"embeddedMetadata":{"description":"embedded meta data of the asset - array of any key-value pairs","type":"array","items":[],"example":"{ FileSize: \u0022265 KiB\u0022, MIMEType: \u0022image\/jpeg\u0022 }"},"embeddedMetadataExtracted":{"description":"flag to indicate if the embedded meta data has been extracted from the asset","type":"boolean","example":true}},"type":"object"},"FocalPoint":{"title":"FocalPoint","required":["x","y"],"properties":{"x":{"description":"x","type":"integer","example":50},"y":{"description":"y","type":"integer","example":50}},"type":"object"},"FolderData":{"title":"Folder Data","description":"Folder Data Scheme for API","required":["folderName"],"properties":{"folderName":{"description":"Folder Name","type":"string","example":"Awesome stuff inside"}},"type":"object"},"GlobalAction":{"title":"GlobalAction","required":["name","label","iconCls","objectLayout","notes"],"properties":{"name":{"description":"name","type":"string","example":"start_workflow"},"label":{"description":"label","type":"string","example":"Start Workflow"},"iconCls":{"description":"iconCls","type":"string","example":"pimcore_workflow_start"},"objectLayout":{"description":"objectLayout","type":"boolean","example":false},"notes":{"description":"notes","type":"array","items":[],"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Column":{"title":"Grid Column Request","description":"Contains all data that is needed to get all the data for the column.","required":["key","type","config"],"properties":{"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"type":{"description":"Type","type":"string","example":"system.integer"},"group":{"description":"Group","type":"string","example":"system","nullable":true},"config":{"description":"Config","type":"array","items":{"type":"string"},"example":{"key":"value"}}},"type":"object"},"Filter":{"title":"Grid Filter","description":"Contains all data that is needed to get all the data for the column.","required":["page","pageSize","includeDescendants"],"properties":{"page":{"description":"Page","type":"integer","example":1},"pageSize":{"description":"Page Size","type":"integer","example":50},"includeDescendants":{"description":"Include Descendant Items","type":"boolean","example":false},"columnFilters":{"description":"Column Filter","type":"object","example":"[{\u0022key\u0022:\u0022name\u0022,\u0022type\u0022: \u0022metadata.object\u0022,\u0022filterValue\u0022: 1}]"},"sortFilter":{"description":"Sort Filter","type":"object","example":"{\u0022key\u0022:\u0022id\u0022,\u0022direction\u0022: \u0022ASC\u0022}"}},"type":"object"},"ColumnConfiguration":{"title":"GridColumnConfiguration","description":"Contains all data to configure a grid column","required":["key","group","sortable","editable","localizable","type","config"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"Key","type":"string","example":"id"},"group":{"description":"Group","type":"string","example":"system"},"sortable":{"description":"Sortable","type":"boolean","example":true},"editable":{"description":"Editable","type":"boolean","example":false},"localizable":{"description":"Localizable","type":"boolean","example":false},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"type":{"description":"Type","type":"string","example":"integer"},"frontendType":{"description":"Frontend Type","type":"string","example":"integer"},"config":{"description":"Config","type":"object","example":{"key":"value"}}},"type":"object"},"ColumnData":{"title":"GridColumnData","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"value":{"description":"Value","type":"mixed","example":73,"nullable":true}},"type":"object"},"Configuration":{"title":"GridConfiguration","description":"Contains all data to configure a grid column","required":["id","name","description"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":"string","example":"My Configuration Description"}},"type":"object"},"DetailedConfiguration":{"title":"GridDetailedConfiguration","description":"Contains all data to configure a grid column","required":["name","description","shareGlobal","saveFilter","setAsFavorite","sharedUsers","sharedRoles","columns","filter","pageSize"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":"string","example":"My Configuration Description"},"shareGlobal":{"description":"shareGlobal","type":"boolean","example":false},"saveFilter":{"description":"saveFilter","type":"boolean","example":false},"setAsFavorite":{"description":"setAsFavorite","type":"boolean","example":false},"sharedUsers":{"description":"sharedUsers","type":"object","example":[42,1337]},"sharedRoles":{"description":"sharedRoles","type":"object","example":[42,1337]},"columns":{"description":"columns","type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"description":"filter","type":"array","items":{"$ref":"#\/components\/schemas\/Filter"}},"pageSize":{"description":"Page Size","type":"integer","example":42},"modificationDate":{"description":"Modification Date","type":"integer","example":1634025600,"nullable":true},"creationDate":{"description":"Creation Date","type":"integer","example":1634025600,"nullable":true},"ownerId":{"description":"ID of the owner","type":"integer","example":42,"nullable":true},"id":{"description":"ID of the configuration","type":"integer","example":42,"nullable":true}},"type":"object"},"Image":{"title":"Image","required":["format","width","height","isVectorGraphic","isAnimated","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"format":{"description":"Format","type":"string","example":"muhFormat"},"width":{"description":"width","type":"integer","example":666},"height":{"description":"height","type":"integer","example":333},"isVectorGraphic":{"description":"is vector graphic","type":"boolean","example":false},"isAnimated":{"description":"is animated","type":"boolean","example":false},"imageThumbnailPath":{"description":"path to thumbnail","type":"string","example":"\/path\/to\/element\/hulk-smash.jpg"}},"type":"object"}]},"ImageData":{"title":"ImageData","properties":{"focalPoint":{"$ref":"#\/components\/schemas\/FocalPoint"}},"type":"object"},"InvalidCredentials":{"title":"Invalid Credentials","description":"Invalid credentials after login attempt","required":["error"],"properties":{"error":{"description":"Error","type":"string","example":"Invalid credentials"}},"type":"object"},"KeyBinding":{"title":"Key Binding for a User","description":"Key Binding for a User","required":["key","action","ctrl","alt","shift"],"properties":{"key":{"description":"ASCII Code for a key on the Keyboard","type":"integer","example":"83"},"action":{"description":"The action the key binding shoudl execute","type":"string","example":"save"},"ctrl":{"description":"If CTRL key should be pressed","type":"boolean","example":"true"},"alt":{"description":"If ALT key should be pressed","type":"boolean","example":"true"},"shift":{"description":"If SHIFT key should be pressed","type":"boolean","example":"true"}},"type":"object"},"Layout":{"title":"Layout","required":["name","dataType","fieldType","type","layout","region","title","width","height","collapsible","collapsed","bodyStyle","locked","children","icon","labelAlign","labelWidth","border"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"Name","type":"string","example":"pimcore_root"},"dataType":{"description":"Data Type","type":"string","example":"layout"},"fieldType":{"description":"Field Type","type":"string","example":"panel"},"type":{"description":"Type","type":"string","example":null,"nullable":true},"layout":{"description":"Layout","type":"string","example":null,"nullable":true},"region":{"description":"Region","type":"string","example":"center","nullable":true},"title":{"description":"Title","type":"string","example":"MyLayout","nullable":true},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"Collapsed","type":"boolean","example":false},"bodyStyle":{"description":"Body Style","type":"string","example":"(float: left;)","nullable":true},"locked":{"description":"Locked","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"},"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon"}],"nullable":true,"description":"Icon"},"labelAlign":{"description":"Label Align","type":"string","example":"left"},"labelWidth":{"description":"Label Width","type":"integer","example":100},"border":{"description":"Border","type":"boolean","example":false}},"type":"object"},"Note":{"title":"Note","required":["id","type","cId","cType","cPath","date","title","description","locked","data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer","example":666},"type":{"description":"type","type":"string","example":"Type of note"},"cId":{"description":"Id of element","type":"integer","example":667},"cType":{"description":"Type of element","type":"string","example":"asset"},"cPath":{"description":"Path of element","type":"string","example":"\/path\/to\/element"},"date":{"description":"Creation date of note","type":"integer","example":1634025600},"title":{"description":"title","type":"string","example":"Title of note"},"description":{"description":"description","type":"string","example":"This is a description"},"locked":{"description":"Locked","type":"boolean","example":false},"data":{"description":"Data of note","type":"array","items":[],"example":"Can be pretty much anything"},"userId":{"description":"User ID","type":"integer","example":1,"nullable":true},"userName":{"description":"Username","type":"string","example":"shaquille.oatmeal","nullable":true}},"type":"object"},"NoteType":{"title":"NoteType","required":["id"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"string","example":"info"}},"type":"object"},"NoteTypeCollection":{"title":"NoteTypeCollection","required":["items"],"properties":{"items":{"description":"items","type":"array","items":{"$ref":"#\/components\/schemas\/NoteType"}}},"type":"object"},"Notification":{"title":"Notification","required":["message","payload","attachmentType","attachmentId"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/NotificationListItem"},{"properties":{"message":{"description":"message","type":"string","example":"Notification message","nullable":true},"payload":{"description":"payload","type":"string","example":"{\u0022key\u0022: \u0022value\u0022}","nullable":true},"attachmentType":{"description":"linked attachment type","type":"string","example":"object","nullable":true},"attachmentId":{"description":"linked attachment ID","type":"integer","example":3669,"nullable":true}},"type":"object"}]},"NotificationListItem":{"title":"NotificationListItem","required":["id","type","title","read","hasAttachment","sentDate","sender"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer","example":23},"type":{"description":"type","type":"string","example":"info"},"title":{"description":"title","type":"string","example":"Notification title"},"read":{"description":"read","type":"boolean","example":false},"hasAttachment":{"description":"has attachment","type":"boolean","example":true},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"sender":{"description":"sender","type":"string","example":"Pimcore Admin","nullable":true}},"type":"object"},"PatchCustomMetadata":{"title":"PatchCustomMetadata","required":["name"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en","nullable":true},"data":{"description":"Data","type":"string","example":"data","nullable":true}},"type":"object"},"PatchError":{"title":"PatchError","description":"Response for PATCH requests with errors","properties":{"id":{"description":"ID","type":"integer","example":83},"message":{"description":"Message","type":"string","example":"I am an error message"}},"type":"object"},"Permissions":{"title":"Permissions","properties":{"list":{"description":"List","type":"boolean","example":true},"view":{"description":"View","type":"boolean","example":true},"publish":{"description":"Publish","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"create":{"description":"Create","type":"boolean","example":true},"settings":{"description":"Settings","type":"boolean","example":true},"versions":{"description":"Versions","type":"boolean","example":true},"properties":{"description":"Properties","type":"boolean","example":true}},"type":"object"},"PredefinedProperty":{"title":"PredefinedProperty","required":["id","name","key","type","ctype","inheritable","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"string","example":"alpha-numerical-value"},"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":"string","example":"Detailed description of the property","nullable":true},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":"string","example":"test","nullable":true},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"ctype":{"description":"ctype","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":"integer","example":221846400},"modificationDate":{"description":"Modification date","type":"integer","example":327417600}},"type":"object"},"QuantityValueUnit":{"title":"QuantityValueUnit","required":["id","abbreviation","group","longName","baseUnit","reference","factor","conversionOffset","converter"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID","type":"string","example":"mm","nullable":true},"abbreviation":{"description":"Abbreviation","type":"string","example":"mm","nullable":true},"group":{"description":"Group","type":"string","example":null,"nullable":true},"longName":{"description":"Long Name","type":"string","example":"Millimeter","nullable":true},"baseUnit":{"description":"Base Unit","type":"string","example":"m","nullable":true},"reference":{"description":"Reference","type":"string","example":null,"nullable":true},"factor":{"description":"Factor","type":"number","format":"float","example":null,"nullable":true},"conversionOffset":{"description":"Conversion Offset","type":"number","format":"float","example":null,"nullable":true},"converter":{"description":"Converter","type":"string","example":null,"nullable":true}},"type":"object"},"ResetPassword":{"title":"ResetPassword","description":"Username","required":["username"],"properties":{"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"}},"type":"object"},"Progress":{"title":"SSEHandlerProgress","required":["progress","currentStep","totalSteps","jobStepName","jobName","jobRunId","user"],"properties":{"progress":{"description":"progress","type":"integer","example":69},"currentStep":{"description":"currentStep","type":"integer","example":1},"totalSteps":{"description":"totalSteps","type":"integer","example":3},"jobStepName":{"description":"jobStepName","type":"string","example":"Job Step Name"},"jobName":{"description":"jobName","type":"string","example":"Job Name"},"jobRunId":{"description":"jobRunId","type":"integer","example":73},"user":{"description":"user","type":"integer","example":2}},"type":"object"},"Finished":{"title":"SSEJobRunFinished","required":["jobRunId","jobRunName","ownerId","state","messages","notifyAll"],"properties":{"jobRunId":{"description":"jobRunId","type":"integer","example":73},"jobRunName":{"description":"jobRunName","type":"string","example":"my-job-name"},"ownerId":{"description":"ownerId","type":"integer","example":13},"status":{"description":"status","type":"string","example":"finished"},"messages":{"description":"messages","type":"list","example":["Something went wrong"]},"notifyAll":{"description":"notifyAll","type":"boolean","example":false}},"type":"object"},"Schedule":{"title":"Schedule","required":["id","ctype","date","active","userId","username"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer","example":666},"ctype":{"description":"ctype","type":"string","example":"Type of element"},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":"string","enum":["publish","delete"],"nullable":true},"version":{"description":"Version ID","type":"integer","example":987,"nullable":true},"active":{"description":"Active","type":"boolean","example":true},"userId":{"description":"User ID","type":"integer","example":999},"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"}},"type":"object"},"SendEmailParameters":{"title":"SendEmailParameters","required":["from","to","subject","contentType"],"properties":{"from":{"description":"from email address(es)","type":"string","example":"from@sender.com"},"to":{"description":"to email address(es)","type":"string","example":"to@receiver.com"},"subject":{"description":"email subject","type":"string","example":"My email subject"},"contentType":{"description":"email content type","type":"enum","enum":["document","html","text"],"example":"text"},"content":{"description":"email content","type":"string","example":"My email message","nullable":true},"documentPath":{"description":"path to the email document","type":"string","example":"\/path\/to\/document","nullable":true},"documentParameters":{"description":"email document parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailDocumentParameters"}},"attachmentId":{"description":"id of the asset attachment","type":"integer","example":83,"nullable":true}},"type":"object"},"SendNotificationParameters":{"title":"SendEmailParameters","required":["recipientId","title","message"],"properties":{"recipientId":{"description":"recipient ID","type":"integer","example":"33"},"title":{"description":"title","type":"string","example":"New notification"},"message":{"description":"message","type":"string","example":"My notification message"},"attachmentType":{"description":"type of the attachment","type":"enum","enum":["asset","document","object"],"example":null,"nullable":true},"attachmentId":{"description":"ID of the attachment","type":"integer","example":83,"nullable":true}},"type":"object"},"SimpleUser":{"title":"Simple User","description":"A user with the most imported information.","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"username":{"description":"Name of the User","type":"string","example":"role"}},"type":"object"},"SimpleRole":{"title":"Simple User Role","description":"A user role which is a combination of permissions and settings.","required":["id","category"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the Role","type":"integer","example":"1"},"name":{"description":"Name of the Role","type":"string","example":"role"}},"type":"object"},"SubmitAction":{"title":"SubmitAction","description":"Schema for submission of workflow action","required":["actionType","elementId","elementType","workflowName","transition","workflowOptions"],"properties":{"actionType":{"description":"type of the action","type":"string","example":"transition"},"elementId":{"description":"id of the element","type":"integer","example":50},"elementType":{"description":"type of the element","type":"string","example":"object"},"workflowName":{"description":"name of the workflow","type":"string","example":"my_first_workflow"},"transition":{"description":"transition","type":"string","example":"start_workflow"},"workflowOptions":{"description":"workflowOptions","type":"object","example":"{\u0022notes\u0022: \u0022Some note I want to write\u0022}"}},"type":"object"},"Tag":{"title":"Tag","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"tag ID","type":"integer","example":2},"parentId":{"description":"parent tag ID","type":"integer","example":0},"text":{"description":"tag text","type":"string","example":"Tag 1"},"path":{"description":"path","type":"string","example":"\/test"},"hasChildren":{"description":"has children","type":"boolean","example":false},"iconName":{"description":"IconName","type":"string","example":"pimcore_icon_pdf"},"children":{"description":"children","type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"},"Text":{"title":"Text","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Thumbnail":{"title":"Thumbnail","required":["id","text"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"string","example":"pimcore_system_treepreview"},"text":{"description":"text","type":"string","example":"original"}},"type":"object"},"ThumbnailCollection":{"title":"ThumbnailCollection","required":["items"],"properties":{"items":{"description":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"},"Translation":{"title":"Translation","description":"Translation Scheme for API","required":["locale","keys"],"properties":{"locale":{"description":"Locale","type":"string","example":"en"},"keys":{"description":"Keys","type":"array","items":{"type":"string","example":"not_your_typical_key"}}},"type":"object"},"TreeNode":{"title":"Tree Node","description":"One node in the a tree","required":["id","name","type","hasChildren"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"Unique Identifier","type":"integer","example":"1"},"name":{"description":"Name of the tree node","type":"string","example":"admin"},"type":{"description":"Is ether folder or a specific item in the folder","type":"string","example":"user"},"hasChildren":{"description":"If a folder has sub items","type":"boolean","example":true}},"type":"object"},"ConvertParameters":{"title":"Unit Convert Parameters","required":["fromUnitId","toUnitId","value"],"properties":{"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"toUnitId":{"description":"To Unit Id","type":"string","example":"mm"},"value":{"description":"Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"},"Unknown":{"title":"Unknown","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"UpdateRole":{"title":"Update User Role","description":"Contains all information about a role that can be updated.","required":["name","classes","parentId","permissions","docTypes","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces"],"properties":{"name":{"description":"Name of Folder or Role","type":"string","example":"admin","nullable":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":"integer","example":"2","nullable":true},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"docTypes":{"description":"List of document types for the role","type":"object","example":["1","2"]},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}}},"type":"object"},"UpdateCustomMetadata":{"title":"UpdateCustomMetadata","required":["name","language","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":"mixed","example":"data","nullable":true}},"type":"object"},"UpdateCustomSettings":{"title":"UpdateCustomSettings","required":["key","value"],"properties":{"key":{"description":"Key","type":"string","example":"my_custom_setting_key"},"value":{"description":"Value","type":"mixed","example":"data","nullable":true}},"type":"object"},"UpdateElementProperty":{"title":"UpdateDataProperty","required":["key","data","type","inheritable"],"properties":{"key":{"description":"key","type":"string","example":"Mister Proper"},"data":{"description":"data","type":"mixed","example":"123","nullable":true},"type":{"description":"type","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false}},"type":"object"},"UpdatePredefinedProperty":{"title":"UpdatePredefinedProperty","required":["name","key","type","ctype","inheritable"],"properties":{"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":"string","example":"Detailed description of the property","nullable":true},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":"string","example":"test","nullable":true},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"ctype":{"description":"ctype","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false}},"type":"object"},"UpdateSchedule":{"title":"UpdateSchedule","required":["id","date","active"],"properties":{"id":{"description":"Id of schedule, if null a new one will be created","type":"integer","example":666,"nullable":true},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":"string","enum":["publish","delete"],"nullable":true},"version":{"description":"Version ID","type":"integer","example":987,"nullable":true},"active":{"description":"Active","type":"boolean","example":true}},"type":"object"},"UpdateVersion":{"title":"UpdateVersion","properties":{"public":{"description":"Public","type":"boolean","example":null,"nullable":true},"note":{"description":"Note","type":"string","example":null,"nullable":true}},"type":"object"},"UpdateUser":{"title":"User","description":"User Schema to update a User.","required":["active","classes","closeWarning","allowDirtyClose","contentLanguages","keyBindings","language","memorizeTabs","parentId","permissions","roles","twoFactorAuthenticationEnabled","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","welcomeScreen","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces"],"properties":{"email":{"description":"Email of the User","type":"string","example":"","nullable":true},"firstname":{"description":"Firstname of the User","type":"string","example":"","nullable":true},"lastname":{"description":"Lastname of the User","type":"string","example":"","nullable":true},"admin":{"description":"If User is admin","type":"boolean","example":false},"active":{"description":"If User is active","type":"boolean","example":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"closeWarning":{"type":"boolean","example":true},"allowDirtyClose":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"language":{"description":"Language of the User","type":"string","example":"de"},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":"integer","example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"roles":{"description":"ID List of roles the user is assigned","type":"object","example":[12,14]},"twoFactorAuthenticationEnabled":{"type":"boolean","example":false},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"welcomeScreen":{"type":"boolean","example":true},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}}},"type":"object"},"User":{"title":"User","description":"Contains all information about a user","required":["id","active","admin","classes","closeWarning","allowDirtyClose","contentLanguages","hasImage","keyBindings","language","memorizeTabs","parentId","permissions","roles","twoFactorAuthenticationEnabled","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","welcomeScreen","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","objectDependencies"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or User","type":"string","example":"admin","nullable":true},"email":{"description":"Email of the User","type":"string","example":"","nullable":true},"firstname":{"description":"Firstname of the User","type":"string","example":"","nullable":true},"lastname":{"description":"Lastname of the User","type":"string","example":"","nullable":true},"active":{"description":"If a User is active","type":"boolean","example":true},"admin":{"description":"If User is admin","type":"boolean","example":false},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"closeWarning":{"type":"boolean","example":true},"allowDirtyClose":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"hasImage":{"type":"boolean","example":true},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"language":{"description":"Language of the User","type":"string","example":"de"},"lastLogin":{"description":"Timestamp of the last login","type":"integer","example":"1718757677","nullable":true},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":"integer","example":"2","nullable":true},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"roles":{"description":"ID List of roles the user is assigned","type":"object","example":[12,14]},"twoFactorAuthenticationEnabled":{"type":"boolean","example":false},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"welcomeScreen":{"type":"boolean","example":true},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"objectDependencies":{"$ref":"#\/components\/schemas\/ObjectDependencies"}},"type":"object"},"UserInformation":{"title":"User Information","description":"Information about the user","required":["username","permissions","isAdmin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"username":{"description":"Username","type":"string","example":"admin"},"permissions":{"description":"Permissions","type":"array","items":{"type":"string","example":"clear_cache"}},"isAdmin":{"description":"If user is an admin user","type":"boolean","example":false}},"type":"object"},"ObjectDependencies":{"title":"User Object Dependencies","description":"User Object Dependencies","required":["hasHidden","dependencies"],"properties":{"dependencies":{"description":"Dependencies to objects","type":"array","items":{"$ref":"#\/components\/schemas\/UserDependency"}},"hasHidden":{"description":"If is has hidden dependencies","type":"boolean","example":true}},"type":"object"},"UserPermission":{"title":"User Permission","description":"A permission for a user or role","required":["key","category"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"Key of the Permission","type":"string","example":"objects"},"category":{"description":"Category og the Permission","type":"string","example":"Datahub"}},"type":"object"},"UserWorkspace":{"title":"User Workspace","description":"Workspace of a user","required":["cid","cpath","list","view","publish","delete","rename","create","settings","versions","properties"],"properties":{"cid":{"description":"ID of the element","type":"integer","example":"1"},"cpath":{"description":"Path of the element","type":"string","example":"\/path\/to\/element"},"list":{"description":"List Permission","type":"boolean","example":true},"view":{"description":"View Permission","type":"boolean","example":true},"publish":{"description":"Publish Permission","type":"boolean","example":true},"delete":{"description":"Delete Permission","type":"boolean","example":true},"rename":{"description":"Rename Permission","type":"boolean","example":true},"create":{"description":"Create Permission","type":"boolean","example":true},"settings":{"description":"Settings Permission","type":"boolean","example":true},"versions":{"description":"Versions Permission","type":"boolean","example":true},"properties":{"description":"Properties Permission","type":"boolean","example":true}},"type":"object"},"Version":{"title":"Version","required":["id","cid","ctype","note","date","public","published","versionCount","autosave","user"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"version ID","type":"integer","example":2},"cid":{"description":"element ID","type":"integer","example":10},"ctype":{"description":"element type","type":"string","example":"object"},"note":{"description":"note","type":"string","example":"some note"},"date":{"description":"date","type":"integer","example":1712823182},"public":{"description":"public","type":"boolean","example":false},"published":{"description":"published","type":"boolean","example":false},"versionCount":{"description":"version count","type":"integer","example":10},"autosave":{"description":"autosave","type":"boolean","example":false},"user":{"$ref":"#\/components\/schemas\/VersionUser"},"scheduled":{"description":"scheduled","type":"integer","example":null,"nullable":true}},"type":"object"},"Dimensions":{"title":"VersionDimensions","properties":{"width":{"description":"width","type":"integer","example":1920,"nullable":true},"height":{"description":"height","type":"integer","example":1080,"nullable":true}},"type":"object"},"VersionUser":{"title":"VersionUser","properties":{"id":{"description":"ID","type":"integer","example":2,"nullable":true},"name":{"description":"name","type":"string","example":"John Doe","nullable":true}},"type":"object"},"Video":{"title":"Video","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"duration":{"description":"Duration","type":"number","format":"float","example":43560.5,"nullable":true},"width":{"description":"Width","type":"integer","example":1920,"nullable":true},"height":{"description":"Height","type":"integer","example":1080,"nullable":true},"imageThumbnailPath":{"description":"Path to Image Thumbnail","type":"string","example":"\/path\/to\/video\/imagethumbnail.jpg","nullable":true}},"type":"object"}]},"WorkflowDetails":{"title":"WorkflowDetails","required":["workflowName","workflowStatus","graph","allowedTransitions","globalActions"],"properties":{"workflowName":{"description":"workflowName","type":"string","example":"Sample Asset Workflow"},"workflowStatus":{"description":"workflowStatus","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowStatus"}},"graph":{"description":"graph","type":"string","example":"\u003Csvg\u003E...\u003C\/svg\u003E"},"allowedTransitions":{"description":"allowedTransitions","type":"array","items":{"$ref":"#\/components\/schemas\/AllowedTransition"}},"globalActions":{"description":"globalActions","type":"array","items":{"$ref":"#\/components\/schemas\/GlobalAction"}}},"type":"object"},"WorkflowStatus":{"title":"WorkflowStatus","required":["color","colorInverted","title","label"],"properties":{"color":{"description":"color","type":"string","example":"#3572b0"},"colorInverted":{"description":"colorInverted","type":"boolean","example":false},"title":{"description":"borderColor","type":"string","example":"#ffa500"},"label":{"description":"label","type":"string","example":"Edit Images"},"visibleInDetail":{"description":"visibleInDetail","type":"boolean","example":true}},"type":"object"}}},"tags":[{"name":"Assets","description":"Asset operations to get\/update\/create\/delete assets"},{"name":"Asset Grid","description":"Asset Grid operations"},{"name":"Asset Thumbnails","description":"List thumbnails for assets like videos and images"},{"name":"Authorization","description":"Session-based login via username and password or logout and invalidate the session"},{"name":"Class Definition","description":"Class definition operations"},{"name":"Data Objects","description":"DataObject operations to get\/update\/create\/delete data objects"},{"name":"Data Object Grid","description":"DataObject Grid operations"},{"name":"Dependencies","description":"Get dependencies for a single element"},{"name":"Elements","description":"Get element properties for a single element based on its type and provided parameters"},{"name":"Execution Engine","description":"Execution engine operations related to job runs"},{"name":"E-Mails","description":"E-mail operations to get\/update\/create\/delete\/test emails and E-mail blocklist"},{"name":"Mercure","description":"Retrieve JWT token for Mercure hub as cookie"},{"name":"Notes","description":"Note operations to list\/delete notes"},{"name":"Notifications","description":"Notification operations to get\/delete\/send notifications"},{"name":"Properties","description":"Property operations to get\/update\/create\/delete properties"},{"name":"Role Management","description":"Role Management operations"},{"name":"Schedule","description":"Get schedules for an element"},{"name":"Settings","description":"Get System Settings"},{"name":"Tags","description":"Tag operations to get\/list\/create\/update\/delete tags"},{"name":"Tags for Element","description":"Tag operations to get tags for an element"},{"name":"Translation","description":"Get translations either for a single key or multiple keys"},{"name":"User Management","description":"User Management operations"},{"name":"Versions","description":"Versions operations to get\/list\/publish\/delete and cleanup versions"},{"name":"Workflows","description":"Workflows operations to get element workflow details"}]} +{"openapi":"3.0.0","info":{"title":"Studio Backend API","description":"API for Studio generated by OpenApi Generator via zircote\/swagger-php","license":{"name":"GNU General Public License version 3 \u0026 Pimcore Commercial License","url":"https:\/\/www.pimcore.org\/license"},"version":"0.0.1"},"paths":{"\/pimcore-studio\/api\/assets\/{id}\/clone\/{parentId}":{"post":{"tags":["Assets"],"summary":"Clone a specific asset","description":"Clones a specific asset with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder\n","operationId":"asset_clone","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully copied asset"},"201":{"description":"Successfully copied parent asset and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying child assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/custom-metadata":{"get":{"tags":["Assets"],"summary":"Get custom metadata of an asset by ID","description":"Retrieves custom metadata based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset\n","operationId":"asset_custom_metadata_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved custom metadata as JSON","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CustomMetadata"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/custom-settings":{"get":{"tags":["Assets"],"summary":"Get custom settings of an asset by ID","description":"Retrieves custom settings based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset\n","operationId":"asset_custom_settings_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved custom settings as JSON","content":{"application\/json":{"schema":{"properties":{"items":{"$ref":"#\/components\/schemas\/CustomSettings"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/text":{"get":{"tags":["Assets"],"summary":"Get asset data in text UTF8 representation by ID","description":"Retrieves the text data in UTF8 representation of the asset based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset.\n","operationId":"asset_get_text_data_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved UTF8 encoded text data of asset","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"UTF 8 encoded text data","type":"string","example":"Test content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/document\/stream\/pdf-preview":{"get":{"tags":["Assets"],"summary":"Stream asset document PDF preview by ID","description":"Stream asset document PDF preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset document\n","operationId":"asset_document_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the document","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset PDF preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"application\/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/download\/csv\/{jobRunId}":{"get":{"tags":["Assets"],"summary":"Download CSV file for assets","description":"Download the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"asset_download_csv","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"CSV File as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/csv":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Assets"],"summary":"Delete asset CSV file based on jobRunId","description":"Delete the CSV file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create csv endpoint\n","operationId":"asset_delete_csv","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/download\/zip\/{jobRunId}":{"get":{"tags":["Assets"],"summary":"Download ZIP archive for assets","description":"Download the ZIP archive with assets based on the given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create zip endpoint\n","operationId":"asset_download_zip","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"ZIP archive as attachment","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/zip":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Assets"],"summary":"Delete asset ZIP file based on jobRunId","description":"Delete the ZIP file with given \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response of the create zip endpoint\n","operationId":"asset_delete_zip","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/download":{"get":{"tags":["Assets"],"summary":"Download asset by ID","description":"Download the original asset stream based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"asset_download_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Original asset binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/csv\/asset":{"post":{"tags":["Assets"],"summary":"Creating CSV file for assets","description":"Creating the CSV file for assets. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Eassets\u003C\/strong\u003E: Array of asset ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Delimiter and header options\u003C\/li\u003E\n\u003C\/ul\u003E Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E Header options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_csv_asset","requestBody":{"content":{"application\/json":{"schema":{"properties":{"assets":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"config":{"properties":{"delimiter":{"type":"string","example":";"},"header":{"type":"enum","enum":["asset_to_export","folder_to_export","asset_export_data","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array"],"example":"title"}},"type":"object"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/csv\/folder":{"post":{"tags":["Assets"],"summary":"Creating CSV file for assets based on folder","description":"Creating the CSV file for assets based on the folder. \u003Cbr\u003E Parameters are: \u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Efolders\u003C\/strong\u003E: Array of folder ids\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: Describes the columns that should be exported. Can be obtained via the grid endpoint. For folders you can also use filters and sorting\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: Filter assets from folder based on the grid filter schema\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Econfig\u003C\/strong\u003E: Delimiter and header options\u003C\/li\u003E\n\u003C\/ul\u003E Delimiter can be set to anything, but the default is a \u003Cstrong\u003Esemicolon\u003C\/strong\u003E \u003Cbr\u003E Header options are: \u003Cstrong\u003Eno_header\u003C\/strong\u003E, \u003Cstrong\u003Etitle\u003C\/strong\u003E and \u003Cstrong\u003Ename\u003C\/strong\u003E\u003Cbr\u003E\nDownload has to be triggered separately via the csv download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_csv_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[83]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"},"config":{"properties":{"delimiter":{"type":"string","example":";"},"header":{"type":"enum","enum":["asset_to_export","folder_to_export","asset_export_data","config","columns","filters","delimiter","header","no_header","title","name","\r\n","array"],"example":"title"}},"type":"object"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for csv export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/zip\/asset":{"post":{"tags":["Assets"],"summary":"Creating ZIP file for assets","description":"Creating a ZIP file for assets based on the provided asset IDs in \u003Cstrong\u003E{assets}\u003C\/strong\u003E parameter. \u003Cbr\u003E\nDownload has to be triggered separately via the zip download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_zip_asset","requestBody":{"content":{"application\/json":{"schema":{"properties":{"assets":{"type":"array","items":{"type":"integer"}}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for zip export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E413 - Max File Size Exceeded\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/export\/zip\/folder":{"post":{"tags":["Assets"],"summary":"Creating ZIP file assets based on folder","description":"Creating a ZIP file for assets based on the provided folder IDs in \u003Cstrong\u003E{folders}\u003C\/strong\u003E parameter. \u003Cbr\u003E\nFilter assets from folder based on the grid filter schema. \u003Cbr\u003E\nDownload has to be triggered separately via the zip download route with the \u003Cstrong\u003E{jobRunId}\u003C\/strong\u003E returned in the response\n","operationId":"asset_export_zip_folder","requestBody":{"content":{"application\/json":{"schema":{"properties":{"folders":{"type":"array","items":{"type":"integer"},"example":[83]},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for zip export","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E413 - Max File Size Exceeded\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}":{"get":{"tags":["Assets"],"summary":"Get asset by ID","description":"Retrieves a specific asset data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset.\n","operationId":"asset_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved one of asset type data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/Asset Document"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Assets"],"summary":"Update an asset by ID","description":"Update needs to have the complete data present. \u003Cbr\u003E You can create\/update\/delete list entries like metadata, custom settings and properties. \u003Cbr\u003E E.g. if you want to remove an entry from metadata simply do not include this entry in the update. \u003Cbr\u003E If you want to update only a single field, use the PATCH method.\n","operationId":"asset_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"data":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateCustomMetadata"},"nullable":true},"customSettings":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateCustomSettings"},"nullable":true},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"},"nullable":true},"image":{"oneOf":[{"$ref":"#\/components\/schemas\/ImageData"}],"nullable":true,"type":"object"}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"One of asset types","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/Asset Document"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{folderId}\/{configurationId}":{"delete":{"tags":["Asset Grid"],"summary":"Delete grid configuration for a specific folder and given configuration ID","description":"Delete grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"asset_delete_grid_configuration_by_configurationId","parameters":[{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"configurationId","in":"path","description":"ConfigurationId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/available-columns":{"get":{"tags":["Asset Grid"],"summary":"Get available grid column configurations","description":"Get all available grid columns for assets\n","operationId":"asset_get_available_grid_columns","responses":{"200":{"description":"All available grid column configurations for assets","content":{"application\/json":{"schema":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnConfiguration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/{folderId}":{"get":{"tags":["Asset Grid"],"summary":"Get asset grid configuration for a specific folder","description":"Get asset saved grid configuration by \u003Cstrong\u003E{folderId}\u003C\/strong\u003E if a configuration-id is set, otherwise get the default configuration will be returned.\n","operationId":"asset_get_grid_configuration_by_folderId","parameters":[{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"configurationId","in":"query","description":"Configuration ID","required":false,"schema":{"type":"integer","example":null}}],"responses":{"200":{"description":"Asset grid configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedConfiguration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configurations\/{folderId}":{"get":{"tags":["Asset Grid"],"summary":"Get all saved grid configurations for assets of the given folder","description":"Get all saved grid configurations for assets of the given folder for the current user and shared configurations for this user\n","operationId":"asset_get_saved_grid_configurations","parameters":[{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of saved grid configurations for the given folder","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Configuration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/save":{"post":{"tags":["Asset Grid"],"summary":"Save asset grid configuration for a specific folder\n","description":"Save asset grid configuration for a specific folder\n","operationId":"asset_save_grid_configuration","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","pageSize","name","description","columns"],"properties":{"folderId":{"type":"integer","example":1},"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"},"nullable":false},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"}],"nullable":true,"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid configuration saved successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Configuration"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/set-as-favorite\/{configurationId}\/{folderId}":{"post":{"tags":["Asset Grid"],"summary":"Set asset grid configuration as favorite for a specific folder","description":"Set asset grid configuration as favorite for the current user for a specific folder\n","operationId":"asset_set_grid_configuration_as_favorite","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}},{"name":"folderId","in":"path","description":"FolderId of the folderId","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"asset_set_grid_configuration_as_favorite_response"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid\/configuration\/update\/{configurationId}":{"put":{"tags":["Asset Grid"],"summary":"Update asset grid configuration for a specific folder","description":"Update asset grid configuration for a specific folder and given configuration ID \u003Cstrong\u003E{configurationId}\u003C\/strong\u003E\n","operationId":"asset_update_grid_configuration","parameters":[{"name":"configurationId","in":"path","description":"ConfigurationId of the configurationId","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["pageSize","name","description","columns"],"properties":{"pageSize":{"type":"integer","example":1},"name":{"type":"string"},"description":{"type":"string"},"shareGlobal":{"type":"boolean","example":true},"setAsFavorite":{"type":"boolean","example":true},"saveFilter":{"type":"boolean","example":true},"sharedUsers":{"type":"object","example":[42,1337]},"sharedRoles":{"type":"object","example":[42,1337]},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"},"nullable":false},"filter":{"oneOf":[{"$ref":"#\/components\/schemas\/Filter"}],"nullable":true,"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid configuration updated successfully"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/grid":{"post":{"tags":["Asset Grid"],"summary":"Get asset data for grid","description":"Retrieve assets data for grid. \u003Cbr\u003E\nYou can use different query parameters to filter the asset data: \u003Cbr\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Cstrong\u003EfolderId\u003C\/strong\u003E: ID of parent folder\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Column Request\u003C\/strong\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Filter\u003C\/strong\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"asset_get_grid","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","columns"],"properties":{"folderId":{"type":"integer","example":1},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Asset grid data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"type":"array","items":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/custom":{"get":{"tags":["Assets"],"summary":"Download custom image by ID and configuration","description":"Download the custom image based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_download_custom","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"mimeType","in":"query","description":"Mime type of downloaded image.","required":true,"schema":{"type":"string","enum":["JPEG","PNG"],"example":"JPEG"}},{"name":"resizeMode","in":"query","description":"Resize mode of downloaded image.","required":true,"schema":{"type":"string","enum":["resize","scaleByWidth","scaleByHeight"],"example":"scaleByWidth"}},{"name":"width","in":"query","description":"Width of downloaded image","schema":{"type":"integer","example":140}},{"name":"height","in":"query","description":"Height of downloaded image","schema":{"type":"integer","example":null}},{"name":"quality","in":"query","description":"Quality of downloaded image","schema":{"type":"integer","example":null}},{"name":"dpi","in":"query","description":"Dpi of downloaded image","schema":{"type":"integer","example":null}}],"responses":{"200":{"description":"Custom image binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}},"image\/png":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/format\/{format}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and format","description":"Download the image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{format}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_download_by_format","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"format","in":"path","description":"Find asset by matching format type.","required":true,"schema":{"type":"string","enum":["office","print","web"],"example":"web"}}],"responses":{"200":{"description":"Image asset binary file based on format","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/stream\/preview":{"get":{"tags":["Assets"],"summary":"Stream image asset preview by ID","description":"Stream image asset preview based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image\n","operationId":"asset_image_stream_preview","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Image preview stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/image\/download\/thumbnail\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Download image asset by ID and thumbnail name","description":"Download the image asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset image \u003Cbr\u003E\nList of downloadable \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail image collection endpoint\n","operationId":"asset_image_download_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the image","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Image asset binary file based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets":{"patch":{"tags":["Assets"],"summary":"Patch assets by ID","description":"Patching assets based on the given ID and data. \u003Cbr\u003E Patching can be used for updating single or multiple fields. \u003Cbr\u003E If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.\n","operationId":"asset_patch_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["id"],"properties":{"id":{"description":"Asset ID","type":"integer","example":83},"parentId":{"type":"integer","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"},"nullable":true}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Successfully patched asset"},"201":{"description":"Successfully created jobRun for patching multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/folder":{"patch":{"tags":["Assets"],"summary":"Patch all assets based on folder ID and filters","description":"Patching assets based on the given folder ID and data. \u003Cbr\u003E Patching on folders will be done asynchronously. \u003Cbr\u003E\nYou can also use filters and sorting. Filter assets from folder based on the grid filter schema\n","operationId":"asset_patch_folder_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["folderId"],"properties":{"folderId":{"description":"Folder ID","type":"integer","example":83},"parentId":{"type":"integer","minimum":1,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"metadata":{"type":"array","items":{"$ref":"#\/components\/schemas\/PatchCustomMetadata"},"nullable":true}},"type":"object"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun for patching multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/tree":{"get":{"tags":["Assets"],"summary":"Get all asset data for the tree","description":"Listing of all assets and asset folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the assets and it is possible to exclude folders from the result completely\n","operationId":"asset_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter assets by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":null}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":null}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":null}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":null}}],"responses":{"200":{"description":"asset_get_tree_success_description","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Image"},{"$ref":"#\/components\/schemas\/Asset Document"},{"$ref":"#\/components\/schemas\/Audio"},{"$ref":"#\/components\/schemas\/Video"},{"$ref":"#\/components\/schemas\/Archive"},{"$ref":"#\/components\/schemas\/Text"},{"$ref":"#\/components\/schemas\/AssetFolder"},{"$ref":"#\/components\/schemas\/Unknown"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/add\/{parentId}":{"post":{"tags":["Assets"],"summary":"Add a new asset","description":"Add a new asset based on the binary \u003Cstrong\u003E{file}\u003C\/strong\u003E to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of existing folder.\n","operationId":"asset_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"File to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"ID of successfully uploaded new asset","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created asset","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/exists\/{parentId}":{"get":{"tags":["Assets"],"summary":"Get information if asset already exists","description":"Get information if asset already exists based on the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E and \u003Cstrong\u003E{fileName}\u003C\/strong\u003E query parameter.\n","operationId":"asset_upload_info","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}},{"name":"fileName","in":"query","description":"Name of the file to upload","required":true,"schema":{"type":"string","example":"file.jpg"}}],"responses":{"200":{"description":"Returns true if asset with the same name and in the same path already exists, false otherwise","content":{"application\/json":{"schema":{"required":["exists"],"properties":{"exists":{"title":"exists","description":"True if asset exists, false otherwise","type":"boolean","example":true}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/replace":{"post":{"tags":["Assets"],"summary":"Replace existing asset binary","description":"Replace the existing asset binary based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E with the provided {file} binary. \u003Cbr\u003E \nThe new asset binary mime type must be the same as the existing asset binary mime type.\n","operationId":"asset_replace","parameters":[{"name":"id","in":"path","description":"Id of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["file"],"properties":{"file":{"description":"File to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully replaced asset binary"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/add-zip\/{parentId}":{"post":{"tags":["Assets"],"summary":"Add new assets via ZIP archive","description":"Upload a ZIP archive with assets to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of existing folder.\nZip archive is extracted and assets are uploaded on the background. \u003Cbr\u003E The jobRun ID is returned in the response\n","operationId":"asset_upload_zip","parameters":[{"name":"parentId","in":"path","description":"ParentId of the asset","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["zipFile"],"properties":{"zipFile":{"description":"Zip file to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"201":{"description":"Successfully created jobRun ID to upload multiple assets","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/stream\/image-thumbnail":{"get":{"tags":["Assets"],"summary":"Stream video image thumbnail by ID and configuration","description":"Stream the video image thumbnail based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and configuration parameters. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\n","operationId":"asset_video_image_thumbnail_stream","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"width","in":"query","description":"Width of the video image thumbnail","schema":{"type":"integer","example":265}},{"name":"height","in":"query","description":"Height of the video image thumbnail","schema":{"type":"integer","example":null}},{"name":"aspectRatio","in":"query","description":"Aspect ratio","schema":{"type":"boolean","example":null}},{"name":"frame","in":"query","description":"Frame","schema":{"type":"boolean","example":null}},{"name":"async","in":"query","description":"Generate the asset asynchronously","schema":{"type":"boolean","example":null}}],"responses":{"200":{"description":"Video image thumbnail stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/download\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Download video asset by ID and thumbnail name","description":"Download the video asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\nList of \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail video collection endpoint\n","operationId":"asset_video_download_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Video binary file based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"video\/mp4":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/assets\/{id}\/video\/stream\/{thumbnailName}":{"get":{"tags":["Assets"],"summary":"Stream video asset by ID and thumbnail name","description":"Stream the video asset based on the provided \u003Cstrong\u003E{id}\u003C\/strong\u003E and \u003Cstrong\u003E{thumbnailName}\u003C\/strong\u003E. \u003Cbr\u003E \nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing asset video \u003Cbr\u003E\nList of \u003Cb\u003Ethumbnail names\u003C\/b\u003E can be obtained via the thumbnail video collection endpoint\n","operationId":"asset_video_stream_by_thumbnail","parameters":[{"name":"id","in":"path","description":"Id of the video","required":true,"schema":{"type":"integer","example":83}},{"name":"thumbnailName","in":"path","description":"Find asset by matching thumbnail name.","required":true,"schema":{"type":"string","example":"pimcore-system-treepreview"}}],"responses":{"200":{"description":"Video stream based on thumbnail name","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"video\/mp4":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/login":{"post":{"tags":["Authorization"],"summary":"Session-based login with user credentials.","description":"Logs in a user with the provided credentials and returns the user information.","operationId":"login","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Credentials"}}}},"responses":{"200":{"description":"Login successful.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"401":{"description":"Invalid credentials Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InvalidCredentials"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/logout":{"post":{"tags":["Authorization"],"summary":"Logout and invalidate current session for active user.","description":"Logout and invalidate current session for active user.","operationId":"logout","responses":{"200":{"description":"Logout successful."}}}},"\/pimcore-studio\/api\/class\/field-collection\/{objectId}\/object\/layout":{"get":{"tags":["Class Definition"],"summary":"Get all layouts from the field collection for an given object","description":"Get all layouts from the field collection for an given object\n","operationId":"class_field_collection_object_layout","parameters":[{"name":"objectId","in":"path","description":"ObjectId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of layouts","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/LayoutDefinition"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/quantity-value\/convert-all":{"post":{"tags":["Class Definition"],"summary":"Convert quantity value from one unit to all other related units","description":"Convert quantity \u003Cstrong\u003E{value}\u003C\/strong\u003E from one unit to all other available units based on the given \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E. \u003Cbr\u003E\nUnits have to have \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E defined as base unit to be considered for conversion.\n","operationId":"class_quantity_value_unit_convert_all","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConvertAllParameters"}}}},"responses":{"200":{"description":"Converted quantity value","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConvertedQuantityValues"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/quantity-value\/convert":{"post":{"tags":["Class Definition"],"summary":"Convert quantity value from one unit to another","description":"Convert quantity \u003Cstrong\u003E{value}\u003C\/strong\u003E from one unit to another based on the given \u003Cstrong\u003E{fromUnitId}\u003C\/strong\u003E and \u003Cstrong\u003E{toUnitId}\u003C\/strong\u003E\n","operationId":"class_quantity_value_unit_convert","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConvertParameters"}}}},"responses":{"200":{"description":"Converted quantity value","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Converted value","example":2,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/class\/quantity-value\/unit-list":{"get":{"tags":["Class Definition"],"summary":"List of available quantity value units","description":"List of available quantity value units\n","operationId":"class_quantity_value_unit_list","responses":{"200":{"description":"List of quantity value units","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/QuantityValueUnit"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/add\/{parentId}":{"post":{"tags":["Data Objects"],"summary":"Successfully added a new data object","description":"Add a new data object to the given \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of a folder or another data object. See the full description of request fields with the schema \u003Cstrong\u003EDataObjectAdd\u003C\/strong\u003E\n","operationId":"data_object_add","parameters":[{"name":"parentId","in":"path","description":"ParentId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DataObjectAddParameters"}}}},"responses":{"200":{"description":"ID of added data object","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of created data object","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}\/clone\/{parentId}":{"post":{"tags":["Data Objects"],"summary":"Clone a specific data object","description":"Clones a specific data object with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be a folder or another data object\n","operationId":"data_object_clone","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"parentId","in":"path","description":"ParentId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CloneParameters"}}}},"responses":{"200":{"description":"Successfully copied data object"},"201":{"description":"Successfully copied parent data object and created \u003Cstrong\u003EjobRun\u003C\/strong\u003E for copying child objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}":{"get":{"tags":["Data Objects"],"summary":"Get a specific data object by ID","description":"Retrieves a specific data object based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing data object or folder.\n","operationId":"data_object_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved data object data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Data Objects"],"summary":"Update a data object by ID","description":"Update needs to have the complete data present. \u003Cbr\u003E You can create\/update\/delete list entries like properties. \u003Cbr\u003E If you want to update only a single field, use the PATCH method.\n","operationId":"data_object_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"index":{"type":"integer","minimum":0,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"childrenSortBy":{"type":"string","nullable":true},"childrenSortOrder":{"type":"string","nullable":true},"published":{"type":"boolean","nullable":true},"editableData":{"type":"object","example":"{ \u0022someFieldKey\u0022: \u0022someValue\u0022 }","nullable":true},"properties":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateElementProperty"},"nullable":true}},"type":"object"}},"type":"object"}}}},"responses":{"200":{"description":"Successfully updated data object","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-object\/grid\/available-columns\/{classId}\/folderId":{"get":{"tags":["Data Object Grid"],"summary":"Get all available grid columns for data objects","description":"Get all available grid columns for data objects\n","operationId":"data_object_get_available_grid_columns","parameters":[{"name":"classId","in":"path","description":"Identifies the class name for which the columns should be retrieved.","required":true,"schema":{"type":"string","example":"MyClass"}},{"name":"folderId","in":"path","description":"FolderId of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of available grid columns for data objects","content":{"application\/json":{"schema":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnConfiguration"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/grid":{"post":{"tags":["Data Object Grid"],"summary":"Get data object data for grid","description":"Retrieve data objects data for grid. \u003Cbr\u003E\nYou can use different query parameters to filter the data objects data: \u003Cbr\u003E\n\u003Cul\u003E\n\u003Cli\u003E\u003Cstrong\u003EfolderId\u003C\/strong\u003E: ID of parent folder\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Ecolumns\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Column Request\u003C\/strong\u003E\u003C\/li\u003E\n\u003Cli\u003E\u003Cstrong\u003Efilters\u003C\/strong\u003E: To see the full description of request fields see the schema \u003Cstrong\u003EGrid Filter\u003C\/strong\u003E\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"data_object_get_grid","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["folderId","columns"],"properties":{"folderId":{"type":"integer","example":1},"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/Column"}},"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Data object grid data","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"type":"array","items":{"properties":{"columns":{"type":"array","items":{"$ref":"#\/components\/schemas\/ColumnData"}}},"type":"object"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{id}\/layout":{"get":{"tags":["Data Objects"],"summary":"Get layout of a data object by ID","description":"Retrieves the layout of a specific data object based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of existing data object.\n","operationId":"data_object_get_layout_by_id","parameters":[{"name":"id","in":"path","description":"Id of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved data object layout data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Layout"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects":{"patch":{"tags":["Data Objects"],"summary":"Patch data objects by ID","description":"Patching data objects based on the given ID and data. \u003Cbr\u003E Patching can be used for updating single or multiple fields. \u003Cbr\u003E If single element is being patched, operation is executed synchronously. Multiple elements are patched asynchronously.\n","operationId":"data_object_patch_by_id","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"type":"array","items":{"required":["id"],"properties":{"id":{"description":"Data Object ID","type":"integer","example":83},"parentId":{"type":"integer","minimum":1,"nullable":true},"index":{"type":"integer","minimum":0,"nullable":true},"key":{"type":"string","nullable":true},"locked":{"type":"string","nullable":true},"childrenSortBy":{"type":"string","nullable":true},"childrenSortOrder":{"type":"string","nullable":true},"published":{"type":"boolean","nullable":true}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Successfully patched data object"},"201":{"description":"Successfully created jobRun for patching multiple data objects","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/{sourceId}\/replace\/{targetId}":{"post":{"tags":["Data Objects"],"summary":"Replace content of a data object","description":"Replace the content of the data object with the given \u003Cstrong\u003E{targetId}\u003C\/strong\u003E with the content of the data object matching the \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{targetId}\u003C\/strong\u003E and \u003Cstrong\u003E{sourceId}\u003C\/strong\u003E must be an ID of existing data objects\n","operationId":"data_object_replace_content","parameters":[{"name":"sourceId","in":"path","description":"SourceId of the data-object","required":true,"schema":{"type":"integer","example":83}},{"name":"targetId","in":"path","description":"TargetId of the data-object","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully replaced content of data object"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/data-objects\/tree":{"get":{"tags":["Data Objects"],"summary":"Get all data object data for the tree","description":"Listing of all data objects and data object folders in the system. \u003Cbr\u003E\nReturns only data which are relevant for the tree \u003Cbr\u003E\nYou can use different query parameters to filter the data objects and it is possible to exclude folders from the result completely\n","operationId":"data_object_get_tree","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"parentId","in":"query","description":"Filter data objects by parent id.","required":false,"schema":{"type":"integer","minimum":1,"example":null}},{"name":"idSearchTerm","in":"query","description":"Filter assets\/data-objects by matching ids. As a wildcard * can be used","required":false,"schema":{"type":"string","example":null}},{"name":"excludeFolders","in":"query","description":"Filter folders from result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"path","in":"query","description":"Filter by path.","required":false,"schema":{"type":"string","example":null}},{"name":"pathIncludeParent","in":"query","description":"Include the parent item in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"pathIncludeDescendants","in":"query","description":"Include all descendants in the result.","required":false,"schema":{"type":"boolean","example":null}},{"name":"className","in":"query","description":"Filter by class.","required":false,"schema":{"type":"string","enum":["AccessoryPart","BodyStyle","Car","Category","Customer","CustomerSegment","CustomerSegmentGroup","Eierlegenedewollmilchsau","Event","FilterDefinition","LinkActivityDefinition","Manufacturer","News","OfferToolCustomProduct","OfferToolOffer","OfferToolOfferItem","OnlineShopOrder","OnlineShopOrderItem","OnlineShopTaxClass","OnlineShopVoucherSeries","OnlineShopVoucherToken","PortalUser","PortalUserGroup","TermSegmentBuilderDefinition","test"],"example":null}}],"responses":{"200":{"description":"Paginated data objects with total count as header param as JSON","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/DataObject"},{"$ref":"#\/components\/schemas\/DataObjectFolder"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/dependencies\/{elementType}\/{id}":{"get":{"tags":["Dependencies"],"summary":"Get all dependencies for provided element.","description":"Get paginated dependencies.\n Pass dependency mode to get either all elements that depend on the provided element\n or all dependencies for the provided element.","operationId":"dependency_get_collection_by_element_type","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"dependencyMode","in":"query","description":"Dependency mode","required":true,"schema":{"type":"string","enum":["required_by","requires"],"example":"required_by"}}],"responses":{"200":{"description":"Paginated dependencies with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"anyOf":[{"$ref":"#\/components\/schemas\/Dependency"}]}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/delete\/{id}":{"delete":{"tags":["Elements"],"summary":"Delete a specific element and its children","description":"Deletes a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E If element is a folder, all child elements will be deleted as well. Elements are moved into the Recycle Bin before deletion.\n","operationId":"element_delete","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Successfully deleted element"},"201":{"description":"Successfully created jobRun for deleting element and its children","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/delete-info\/{id}":{"get":{"tags":["Elements"],"summary":"Get delete info of the element by id and element type path parameter","description":"Get delete info for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing ID of an element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"element_get_delete_info","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Get delete info for an element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteInfo"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/folder\/{parentId}":{"post":{"tags":["Elements"],"summary":"Create a new element folder","description":"Creating a new folder by \u003Cstrong\u003E{parentId}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{parentId}\u003C\/strong\u003E must be an ID of an existing folder or element. \u003Cbr\u003E\nFor additional body parameters see the schema \u003Cstrong\u003EFolderData\u003C\/strong\u003E\n","operationId":"element_folder_create","parameters":[{"name":"parentId","in":"path","description":"ParentId of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FolderData"}}}},"responses":{"200":{"description":"Successfully created folder"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/elements\/{elementType}\/path":{"get":{"tags":["Elements"],"summary":"Get ID of the element by path query parameter and element type path parameter","description":"Get the element ID based on the given \u003Cstrong\u003E{path}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{path}\u003C\/strong\u003E must be a valid path of an existing element with provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E\n","operationId":"element_get_id_by_path","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"elementPath","in":"query","description":"Filter elements by matching element path.","required":true,"schema":{"type":"string","example":"path\/to\/element"}}],"responses":{"200":{"description":"element_get_id_by_path_response_description","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of the element","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/blocklist":{"get":{"tags":["E-Mails"],"summary":"Get paginated collection of blocklist entries","description":"Get paginated E-Mail blocklist entries. \u003Cbr\u003E\nYou can use different query parameters to filter the E-Mail blocklist\n","operationId":"email_blocklist_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"email","in":"query","description":"Email address to be filtered by","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"Paginated E-Mail blocklist entries with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/BlocklistEntry"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["E-Mails"],"summary":"Add an E-mail address to the blocklist","description":"Add an E-mail address to the blocklist. \u003Cbr\u003E The E-mail address has to be compliant with the PHP validate filter.\n","operationId":"email_blocklist_add","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailAddressParameter"}}}},"responses":{"200":{"description":"Successfully added E-mail address to blocklist"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["E-Mails"],"summary":"Delete an E-mail address from the blocklist","description":"Delete an E-mail address from the blocklist with the given \u003Cstrong\u003E{email}\u003C\/strong\u003E \u003Cbr\u003E The E-mail address has to be present in the blocklist.\n","operationId":"email_blocklist_delete","parameters":[{"name":"email","in":"query","description":"Email address to be deleted from blocklist","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"Successfully deleted E-mail address from blocklist"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails":{"get":{"tags":["E-Mails"],"summary":"Get paginated collection of E-Mail log entries","description":"Get paginated E-Mail log entries. \u003Cbr\u003E\nYou can use different query parameters to filter the E-Mail logs\n","operationId":"email_log_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Paginated E-Mail log entries with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/EmailLogEntry"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}":{"get":{"tags":["E-Mails"],"summary":"Get an E-Mail log entry by ID","description":"Get the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"E-Mail log entry data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailLogEntryDetail"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["E-Mails"],"summary":"Delete E-Mail log entry","description":"Delete the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_delete","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted E-Mail log entry"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/html":{"get":{"tags":["E-Mails"],"summary":"Get HTML content of an E-Mail log entry by ID","description":"Get the HTML content of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_html","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"HTML content of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry HTML data.","type":"string","example":"\u003Cp\u003ESome email HTML content\u003C\/p\u003E"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/params":{"get":{"tags":["E-Mails"],"summary":"Get parameters of an E-Mail log entry by ID","description":"Get the parameters of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_params","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Parameters of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailLogEntryParameter"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/text":{"get":{"tags":["E-Mails"],"summary":"Get text content of an E-Mail log entry by ID","description":"Get the text content of the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_get_text","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Text content of the E-Mail log entry","content":{"application\/json":{"schema":{"required":["data"],"properties":{"data":{"title":"data","description":"Email log entry text data.","type":"string","example":"Some email text content"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/forward":{"post":{"tags":["E-Mails"],"summary":"Forward and existing E-Mail log entry","description":"Forward the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E to the given \u003Cstrong\u003E{email}\u003C\/strong\u003E\n","operationId":"email_log_forward_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmailAddressParameter"}}}},"responses":{"200":{"description":"E-Mail was successfully forwarded"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/{id}\/resend":{"post":{"tags":["E-Mails"],"summary":"Resend an existing E-Mail log entry","description":"Resend the E-Mail log entry with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"email_log_resend_by_id","parameters":[{"name":"id","in":"path","description":"Id of the E-Mail","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"E-Mail was successfully resent"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/emails\/test":{"post":{"tags":["E-Mails"],"summary":"Send a test E-Mail","description":"Send a test E-Mail based on the provided query parameters. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ESendEmailParameters\u003C\/strong\u003E\n","operationId":"email_send_test","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendEmailParameters"}}}},"responses":{"200":{"description":"E-Mail was successfully sent"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/execution-engine\/abort\/{JobRunId}":{"post":{"tags":["Execution Engine"],"summary":"Abort Job Run by Id","description":"Abort Job Run","operationId":"execution_engine_abort_job_run_by_id","parameters":[{"name":"jobRunId","in":"path","description":"JobRunId of the JobRun","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/mercure\/auth":{"post":{"tags":["Mercure"],"summary":"Retrieve JWT token for Mercure hub as cookie","description":"Retrieve JWT token for Mercure hub as cookie","operationId":"mercure_create_cookie","responses":{"200":{"description":"Retrieve JWT token for Mercure hub as cookie"},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes":{"get":{"tags":["Notes"],"summary":"Get paginated notes","description":"Get paginated notes. \u003Cbr\u003E\nYou can use different query parameters to filter the notes\n","operationId":"note_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":50}},{"name":"sortBy","in":"query","description":"Sort by field. Only works in combination with sortOrder.","required":false,"schema":{"type":"string","enum":["id","type","cId","cType","cPath","date","title","description","locked"],"example":null}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":null}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":null}},{"name":"fieldFilters","in":"query","description":"Filter for specific fields, will be json decoded to an array. e.g.\n [{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022,\u0022type\u0022:\u0022string\u0022}]","required":false,"example":""}],"responses":{"200":{"description":"Paginated notes with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Note"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/{id}":{"delete":{"tags":["Notes"],"summary":"Delete note with given id","description":"Delete the note with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"note_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"note_delete_by_id_success_description"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/{elementType}\/{id}":{"get":{"tags":["Notes"],"summary":"Get paginated notes for an element by id","description":"Get paginated notes for a specific element by its \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nYou can use different query parameters to filter the notes\n","operationId":"note_element_get_collection","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":50}},{"name":"sortBy","in":"query","description":"Sort by field. Only works in combination with sortOrder.","required":false,"schema":{"type":"string","enum":["id","type","cId","cType","cPath","date","title","description","locked"],"example":null}},{"name":"sortOrder","in":"query","description":"Sort order (asc or desc).","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"example":null}},{"name":"filter","in":"query","description":"Filter for notes","required":false,"schema":{"type":"string","example":null}},{"name":"fieldFilters","in":"query","description":"Filter for specific fields, will be json decoded to an array. e.g.\n [{\u0022operator\u0022:\u0022like\u0022,\u0022value\u0022:\u0022John\u0022,\u0022field\u0022:\u0022name\u0022,\u0022type\u0022:\u0022string\u0022}]","required":false,"example":""}],"responses":{"200":{"description":"Paginated notes with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Note"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Notes"],"summary":"Create a new note for element with given id","description":"Create a new note for the element with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe note will be created for the current user.\n","operationId":"note_element_create","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateNote"}}}},"responses":{"200":{"description":"Created note for element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Note"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notes\/type\/{elementType}":{"get":{"tags":["Notes"],"summary":"Get note types","description":"Get note types collection by \u003Cstrong\u003E{elementType}\u003C\/strong\u003E","operationId":"note_element_get_type_collection","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Note types collection","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/NoteType"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications":{"post":{"tags":["Notifications"],"summary":"Get paginated notifications","description":"Get all paginated notifications for current user. \u003Cbr\u003E You can specify different filters in your request body. Available filters are: \u003Cbr\u003E\n\u003Cul\u003E\n \u003Cli\u003E\u003Cstrong\u003Etitle\u003C\/strong\u003E: Filter by title string\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003EcreationDate\u003C\/strong\u003E: Filter by creation date (on, from, to)\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Epage\u003C\/strong\u003E: Used for offset calculation in pagination. To be used, needs to be defined together with the page.size\u003C\/li\u003E\n \u003Cli\u003E\u003Cstrong\u003Epage.size\u003C\/strong\u003E: Used for limiting the result numbers per page. To be used, needs to be defined together with the page\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"notification_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"filters":{"$ref":"#\/components\/schemas\/Filter"}},"type":"object"}}}},"responses":{"200":{"description":"Paginated notifications with total count","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/NotificationListItem"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Notifications"],"summary":"Delete all user notifications","description":"Delete all notifications for the current user","operationId":"notification_delete_all","responses":{"200":{"description":"Successfully deleted all notifications"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications\/{id}":{"get":{"tags":["Notifications"],"summary":"Get notification by ID","description":"Get the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E Current user can only get notifications, where he is the recipient.\n","operationId":"notification_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Notification data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Notification"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Notifications"],"summary":"Mark notification as read","description":"Mark the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E as read. \u003Cbr\u003E Current user can only mark notifications as read, where he is the recipient.\n","operationId":"notification_read_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully marked notification as read"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Notifications"],"summary":"Delete notification with given id","description":"Delete the notification with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E Current user can only delete notifications, where he is the recipient.\n","operationId":"notification_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the notification","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted notification"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/notifications\/send":{"post":{"tags":["Notifications"],"summary":"Send a notification","description":"Send a notification to the given \u003Cstrong\u003E{recipientId}\u003C\/strong\u003E. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ESendNotificationParameters\u003C\/strong\u003E\n","operationId":"notification_send","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendNotificationParameters"}}}},"responses":{"200":{"description":"Successfully sent notification"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties":{"get":{"tags":["Properties"],"summary":"Get all predefined properties. You can filter by type and query","description":"Listing all the predefined properties that are currently stored in the system. \u003Cbr\u003E\nTo list specific properties for a type you can use the \u003Cstrong\u003EelementType\u003C\/strong\u003E query parameter.\u003Cbr\u003E\nYou can also created element type specific listings for this, to show in the context of the element. \u003Cbr\u003E\nThe \u003Cstrong\u003Efilter\u003C\/strong\u003E query parameter is applied on the name of the property. \u003Cbr\u003E\nKeep in mind that the name is language specific.\n","operationId":"property_get_collection","parameters":[{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":false,"schema":{"type":"string","enum":["asset","document","data-object"],"example":null}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"Predefined properties filtered based on type and query parameters","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/property":{"post":{"tags":["Properties"],"summary":"Creating new property with default values","description":"Creating the property with default values. \u003Cbr\u003E\n\u003Cul\u003E\n \u003Cli\u003EName: New Property\u003C\/li\u003E\n \u003Cli\u003EKey: new_key\u003C\/li\u003E\n \u003Cli\u003EType: Text\u003C\/li\u003E\n \u003Cli\u003EElement Type: Document (Ctype)\u003C\/li\u003E\n\u003C\/ul\u003E\n","operationId":"property_create","responses":{"200":{"description":"Created predefined property with default values","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties\/{id}":{"put":{"tags":["Properties"],"summary":"Updating a property","description":"Updating the property with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EUpdatePredefinedProperty\u003C\/strong\u003E\n","operationId":"property_update","parameters":[{"name":"id","in":"path","description":"Id of the property","required":true,"schema":{"type":"string","example":"alpha-numerical"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdatePredefinedProperty"}}}},"responses":{"200":{"description":"Updated predefined property","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PredefinedProperty"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Properties"],"summary":"Delete property with given id","description":"Deleting the property with the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nIf the property is used in any element, it will not be deleted.\n","operationId":"property_delete","parameters":[{"name":"id","in":"path","description":"Id of the property","required":true,"schema":{"type":"string","example":"alpha-numerical"}}],"responses":{"200":{"description":"Successfully deleted property with given id"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/properties\/{elementType}\/{id}":{"get":{"tags":["Properties"],"summary":"Get properties for an element based on the element type and the element id","description":"List all the saved properties of the element. \u003Cbr\u003E\nKeep in mind that inherited properties should not be send back in an update request. \u003Cbr\u003E\nThis will result in the loss of the inheritance. \u003Cbr\u003E\n","operationId":"property_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Element Properties data as json","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/ElementProperty"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/clone\/{id}":{"post":{"tags":["Role Management"],"summary":"Clone a specific Role.","operationId":"role_clone_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Cloned Role"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the cloned Role.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/folder":{"post":{"tags":["Role Management"],"summary":"Create a new role folder.","operationId":"role_folder_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Folder","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role":{"post":{"tags":["Role Management"],"summary":"Create a new role.","operationId":"role_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Role.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/folder\/{id}":{"delete":{"tags":["Role Management"],"summary":"Delete a specific folder with all sub roles.","operationId":"role_folder_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the folder","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/role\/{id}":{"get":{"tags":["Role Management"],"summary":"Get all available user roles.","operationId":"role_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of available user roles.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedRole"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Role Management"],"summary":"Update role by id.","operationId":"role_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the Role","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateRole"}}}},"responses":{"200":{"description":"Updated data.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DetailedRole"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Role Management"],"summary":"Delete a specific role.","operationId":"role_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the role","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/roles":{"get":{"tags":["Role Management"],"summary":"Get all available roles.","description":"Get all available roles with basic information","operationId":"role_get_collection","responses":{"200":{"description":"List of available roles.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleRole"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/roles\/tree":{"get":{"tags":["Role Management"],"summary":"Get collection of roles for tree view.","operationId":"role_get_tree","parameters":[{"name":"parentId","in":"query","description":"Filter roles by parent id.","required":true,"schema":{"type":"integer","minimum":0,"example":0}}],"responses":{"200":{"description":"Collection of roles including folders for the given parent id.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/TreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/schedules\/{id}":{"delete":{"tags":["Schedule"],"summary":"Delete schedule with given id","description":"Deletes a specific schedule based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"schedule_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the schedule","required":true,"schema":{"type":"integer","example":123}}],"responses":{"200":{"description":"Successfully deleted schedule"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/schedules\/{elementType}\/{id}":{"get":{"tags":["Schedule"],"summary":"Get schedules for an element","description":"Get all schedules for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\n","operationId":"schedule_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"List of schedules for element","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Schedule"],"summary":"Update schedules for an element","description":"Update schedules for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EUpdateSchedule\u003C\/strong\u003E\n","operationId":"schedule_update_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/UpdateSchedule"}}},"type":"object"}}}},"responses":{"200":{"description":"List of updated schedules","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Schedule"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Schedule"],"summary":"Create a schedule for element","description":"Create a new schedule with default values for the element with the given type \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe schedule will be created for the current user.\n","operationId":"schedule_create_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Created schedule for element","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Schedule"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/settings":{"get":{"tags":["Settings"],"summary":"Get system settings","description":"Get system settings from different providers. \u003Cbr\u003E\nSystem settings are public and need no login.\n","operationId":"system_settings_get","responses":{"200":{"description":"System settings data","content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags":{"get":{"tags":["Tags"],"summary":"Get all tags for a parent","description":"Get all tags for a \u003Cstrong\u003E{parentId}\u003C\/strong\u003E. \u003Cbr\u003E\nYou can use different query parameters to filter the tags\n","operationId":"tag_get_collection","parameters":[{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}},{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":false,"schema":{"type":"string","enum":["asset","document","data-object"],"example":null}},{"name":"filter","in":"query","description":"Filter for properties","required":false,"schema":{"type":"string","example":null}},{"name":"parentId","in":"query","description":"Filter tags by parent id.","required":false,"schema":{"type":"integer","minimum":0,"example":null}}],"responses":{"200":{"description":"All tags for a parent filtered based on type and query parameters","content":{"application\/json":{"schema":{"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tag":{"post":{"tags":["Tags"],"summary":"Create a new tag","description":"Create a new tag. \u003Cbr\u003E See the full description of request fields with the schema \u003Cstrong\u003ECreate Tag Parameters\u003C\/strong\u003E\n","operationId":"tag_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateTagParameters"}}}},"responses":{"200":{"description":"tag_create_success_description","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{id}":{"get":{"tags":["Tags"],"summary":"Get a tag by ID","description":"Retrieves a specific tag data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved tag data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Tags"],"summary":"Update a tag by ID","description":"Update a specific tag based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nSee the full description of updatable fields with the schema \u003Cstrong\u003EChange Tag Parameters\u003C\/strong\u003E\n","operationId":"tag_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateTagParameters"}}}},"responses":{"200":{"description":"Successfully updated tag data as JSON","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Tag"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Tags"],"summary":"Delete a specific tag","description":"Delete a specific tag based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the tag","required":true,"schema":{"type":"integer","example":10}}],"responses":{"200":{"description":"ID of successfully deleted tag","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of deleted tag","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/assign\/{elementType}\/{id}\/{tagId}":{"post":{"tags":["Tags for Element"],"summary":"Assign a tag to an element","description":"Assign a specific tag based on the given \u003Cstrong\u003E{tagId}\u003C\/strong\u003E to an element based on \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"tag_assign_to_element","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"tagId","in":"path","description":"TagId of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/batch\/{operation}\/{elementType}\/{id}":{"post":{"tags":["Tags for Element"],"summary":"Batch assign\/replace tags for children elements","description":"Batch assign\/replace multiple tags of the given parent based on the \u003Cstrong\u003E{elementId}\u003C\/strong\u003E and \u003Cstrong\u003E{elementType}\u003C\/strong\u003E to the children. \u003Cbr\u003E\nOperation parameter \u003Cstrong\u003E{operation}\u003C\/strong\u003E must be one of the \u003Cstrong\u003Eassign\u003C\/strong or \u003Cstrong\u003Ereplace\u003C\/strong\u003E.\n","operationId":"tag_batch_operation_to_elements_by_type_and_id","parameters":[{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"operation","in":"path","description":"Execute operation based on provided type.","required":true,"schema":{"type":"string","enum":["assign","replace"],"example":"assign"}}],"responses":{"201":{"description":"Successfully created jobRun for batch tag assignment\/replacement","content":{"application\/json":{"schema":{"required":["jobRunId"],"properties":{"jobRunId":{"title":"jobRunId","description":"ID of created jobRun","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{elementType}\/{id}":{"get":{"tags":["Tags for Element"],"summary":"Get tags for an element","description":"Get paginated tag collection for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E\n","operationId":"tag_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Paginated tags for element","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/tags\/{elementType}\/{id}\/{tagId}":{"delete":{"tags":["Tags for Element"],"summary":"Unassign a tag from an element","description":"Unassign a specific tag based on the given \u003Cstrong\u003E{tagId}\u003C\/strong\u003E from an element based on \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E\nThe \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"tag_unassign_from_element","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"tagId","in":"path","description":"TagId of the tag","required":true,"schema":{"type":"integer","example":83}}],"responses":{"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/thumbnails\/image":{"get":{"tags":["Asset Thumbnails"],"summary":"Get collection of thumbnails for images","description":"Get collection of thumbnails for images. \u003Cbr\u003E\nThe thumbnails have to be defined as downloadable in order to be listed in the collection.\n","operationId":"thumbnail_image_get_collection","responses":{"200":{"description":"All downloadable image thumbnails","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/thumbnails\/video":{"get":{"tags":["Asset Thumbnails"],"summary":"Get collection of thumbnails for videos","description":"Get collection of all thumbnails for videos.\n","operationId":"thumbnail_video_get_collection","responses":{"200":{"description":"All video thumbnails","content":{"application\/json":{"schema":{"required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/translations":{"post":{"tags":["Translation"],"summary":"Get translations","description":"Get translations for given keys and locale","operationId":"translation_get_collection","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Translation"}}}},"responses":{"200":{"description":"Key value pairs for given keys and locale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Translation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/clone\/{id}":{"post":{"tags":["User Management"],"summary":"Clone a specific user.","operationId":"user_clone_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"properties":{"name":{"type":"string","example":"Cloned User"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the cloned user.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/":{"post":{"tags":["User Management"],"summary":"Create a new user.","operationId":"user_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created User.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/folder":{"post":{"tags":["User Management"],"summary":"Create a new user folder.","operationId":"user_folder_create","requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["parentId","name"],"properties":{"parentId":{"type":"integer","minimum":1,"nullable":true},"name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Node of the new created Folder.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TreeNode"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/current-user-information":{"get":{"tags":["User Management"],"summary":"Retrieve information\u0027s about the current logged in user.","operationId":"user_get_current_information","responses":{"200":{"description":"Current user information\u0027s.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserInformation"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/{id}":{"get":{"tags":["User Management"],"summary":"Retrieve a specific user by ID.","operationId":"user_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Node of the requested user.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["User Management"],"summary":"Update user by id.","operationId":"user_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateUser"}}}},"responses":{"200":{"description":"Updated data.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["User Management"],"summary":"Delete a specific user.","operationId":"user_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/folder\/{id}":{"delete":{"tags":["User Management"],"summary":"Delete a specific user folder with all users in this folder.","operationId":"user_folder_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the user-folder","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users\/default-key-bindings":{"get":{"tags":["User Management"],"summary":"Get default key bindings","description":"Get default key bindings for user management\n","operationId":"user_default_key_bindings","responses":{"200":{"description":"List of default key bindings","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/available-permissions":{"get":{"tags":["User Management"],"summary":"Get all available user permissions.","operationId":"user_get_available_permissions","responses":{"200":{"description":"List of available user permissions.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/UserPermission"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users":{"get":{"tags":["User Management"],"summary":"Get all users","description":"Get all users with basic information","operationId":"user_get_collection","responses":{"200":{"description":"List of users","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleUser"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/reset-password":{"post":{"tags":["User Management"],"summary":"Sending username to reset password.","operationId":"user_reset_password","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ResetPassword"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E429 - Too Many Requests","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/search":{"get":{"tags":["User Management"],"summary":"Search for users by query. The query can be a part of the username, first name, last name, email or user ID.","operationId":"pimcore_studio_api_user_search","parameters":[{"name":"searchQuery","in":"query","description":"Query to search for an user. This can be a part of username, firstname, lastname, email or id.","required":false,"schema":{"type":"string","example":null}}],"responses":{"200":{"description":"user_search_summary_response","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/SimpleUser"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content\u003Cbr\u003E500 - Internal Server Error","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/{id}\/password":{"put":{"tags":["User Management"],"summary":"Update password for a User by the User id.","operationId":"user_update_password_by_id","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"required":["password","passwordConfirmation"],"properties":{"password":{"type":"string"},"passwordConfirmation":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/upload-image\/{id}":{"post":{"tags":["User Management"],"summary":"Upload user image","operationId":"user_upload_image","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"required":["userImage"],"properties":{"userImage":{"description":"User image to upload","type":"string","format":"binary"}},"type":"object"}}}},"responses":{"200":{"description":"Success"},"default":{"description":"400 - Bad Request\u003Cbr\u003E403 - Forbidden\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/user\/image\/{id}":{"get":{"tags":["User Management"],"summary":"Get user profile image","operationId":"user_get_image","parameters":[{"name":"id","in":"path","description":"Id of the User","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"User profile image","content":{"image\/png":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/users\/tree":{"get":{"tags":["User Management"],"summary":"Get collection of users for tree view.","operationId":"user_get_tree","parameters":[{"name":"parentId","in":"query","description":"Filter users by parent id.","required":true,"schema":{"type":"integer","minimum":0,"example":0}}],"responses":{"200":{"description":"Collection of users including folders for the given parent id.","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/TreeNode"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/asset\/download":{"get":{"tags":["Versions"],"summary":"Download asset version by ID","description":"Download the asset version based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_asset_download_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Asset version binary file","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"attachment; filename=\u0022example.jpg\u0022"}}},"content":{"application\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/image\/stream":{"get":{"tags":["Versions"],"summary":"Stream image version thumbnail by ID","description":"Stream the image version thumbnail based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_image_stream_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Image thumbnail version stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"image\/*":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}\/pdf\/stream":{"get":{"tags":["Versions"],"summary":"Stream PDF version by ID","description":"Stream the PDF version based on the provided version \u003Cstrong\u003E{id}\u003C\/strong\u003E.\n","operationId":"version_pdf_stream_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"PDF version stream","headers":{"Content-Disposition":{"description":"Content-Disposition header","schema":{"type":"string","example":"inline; filename=\u0022example.jpg\u0022"}}},"content":{"application\/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{id}":{"get":{"tags":["Versions"],"summary":"Get a specific version by ID","description":"Retrieves a specific version data based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_get_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully retrieved version data as JSON","content":{"application\/json":{"schema":{"type":"object","oneOf":[{"$ref":"#\/components\/schemas\/AssetVersion"},{"$ref":"#\/components\/schemas\/DataObjectVersion"},{"$ref":"#\/components\/schemas\/DocumentVersion"}]}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"put":{"tags":["Versions"],"summary":"Update a version by ID","description":"Updates a version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version. \u003Cbr\u003E See the full description of updatable fields with the schema \u003Cstrong\u003EUpdateVersion\u003C\/strong\u003E\n","operationId":"version_update_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateVersion"}}}},"responses":{"200":{"description":"Successfully updated version"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"post":{"tags":["Versions"],"summary":"Publish a specific version by ID","description":"Publishes a specific version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_publish_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"ID of the published version","content":{"application\/json":{"schema":{"required":["id"],"properties":{"id":{"title":"id","description":"ID of published version","type":"integer","example":66}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Versions"],"summary":"Delete a specific version","description":"Deletes a specific version based on the given \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an id of existing version.\n","operationId":"version_delete_by_id","parameters":[{"name":"id","in":"path","description":"Id of the version","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"Successfully deleted version"},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/versions\/{elementType}\/{id}":{"get":{"tags":["Versions"],"summary":"Get versions for an element","description":"List all the versions of the element. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an ID of an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"version_get_collection_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the element","required":true,"schema":{"type":"integer","example":83}},{"name":"page","in":"query","description":"Page number","required":true,"schema":{"type":"integer","minimum":1,"example":1}},{"name":"pageSize","in":"query","description":"Number of items per page","required":true,"schema":{"type":"integer","minimum":1,"example":10}}],"responses":{"200":{"description":"Paginated element Versions data as JSON with total count as header param","content":{"application\/json":{"schema":{"required":["totalItems","items"],"properties":{"totalItems":{"title":"totalItems","type":"integer","example":666},"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Version"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}},"delete":{"tags":["Versions"],"summary":"Cleanup all versions for an element","description":"Cleans up all versions for a specific element based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{id}\u003C\/strong\u003E. \u003Cbr\u003E The \u003Cstrong\u003E{id}\u003C\/strong\u003E must be an existing element of the provided \u003Cstrong\u003E{elementType}\u003C\/strong\u003E.\n","operationId":"version_cleanup_for_element_by_type_and_id","parameters":[{"name":"elementType","in":"path","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}},{"name":"id","in":"path","description":"Id of the ID of the element","required":true,"schema":{"type":"integer","example":83}}],"responses":{"200":{"description":"IDs of the removed versions","content":{"application\/json":{"schema":{"required":["ids"],"properties":{"ids":{"title":"IDs","description":"IDs of deleted versions","type":"array","items":{"type":"integer","example":420}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/workflows\/details":{"get":{"tags":["Workflows"],"summary":"Get all workflow details of an element","description":"Get details of the element workflows based on the given \u003Cstrong\u003E{elementType}\u003C\/strong\u003E and \u003Cstrong\u003E{elementId}\u003C\/strong\u003E.\n","operationId":"workflow_get_details","parameters":[{"name":"elementId","in":"query","description":"ID of the element","required":true,"schema":{"type":"integer","example":null}},{"name":"elementType","in":"query","description":"Filter elements by matching element type.","required":true,"schema":{"type":"string","enum":["asset","document","data-object"],"example":"data-object"}}],"responses":{"200":{"description":"Detail data of element workflows","content":{"application\/json":{"schema":{"properties":{"items":{"title":"items","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowDetails"}}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}},"\/pimcore-studio\/api\/workflows\/action":{"post":{"tags":["Workflows"],"summary":"Submit workflow action","description":"Submit action based on the workflow name, action name and action type.","operationId":"workflow_action_submit","requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SubmitAction"}}}},"responses":{"200":{"description":"Json encoded name of workflow, name and type of submitted action.","content":{"application\/json":{"schema":{"properties":{"workflowName":{"title":"workflowName","type":"string","example":"MyAwesomeWorkflow"},"actionName":{"title":"actionName","type":"string","example":"MyAwesomeAction"},"actionType":{"title":"actionType","type":"string","example":"transition"}},"type":"object"}}}},"default":{"description":"400 - Bad Request\u003Cbr\u003E401 - Unauthorized\u003Cbr\u003E404 - Not Found\u003Cbr\u003E405 - Method Not Allowed\u003Cbr\u003E415 - Unsupported Media Type\u003Cbr\u003E422 - Unprocessable Content","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/Error"},{"$ref":"#\/components\/schemas\/DevError"}]}}}}}}}},"components":{"schemas":{"AllowedTransition":{"title":"AllowedTransition","required":["name","label","iconCls","objectLayout","unsavedChangesBehaviour","notes"],"properties":{"name":{"description":"name","type":"string","example":"start_workflow"},"label":{"description":"label","type":"string","example":"Start Workflow"},"iconCls":{"description":"iconCls","type":"string","example":"pimcore_workflow_start"},"objectLayout":{"description":"objectLayout","type":"boolean","example":false},"unsavedChangesBehaviour":{"description":"unsavedChangesBehaviour","type":"string","example":"warn"},"notes":{"description":"notes","type":"array","items":[],"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Archive":{"title":"Archive","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Asset":{"title":"Asset","required":["iconName","hasChildren","type","filename","mimeType","hasMetadata","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","hasWorkflowAvailable"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"hasChildren":{"description":"Has children","type":"boolean","example":false},"type":{"description":"Type","type":"string","example":"image"},"filename":{"description":"Filename","type":"string","example":"cool.jpg"},"mimeType":{"description":"Mimetype","type":"string","example":"image\/jpeg","nullable":true},"hasMetadata":{"description":"Has metadata","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/asset.jpg"},"permissions":{"$ref":"#\/components\/schemas\/AssetPermissions"}},"type":"object"}]},"Asset Document":{"title":"Asset Document","required":["pageCount","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"pageCount":{"description":"Page count","type":"integer","example":2,"nullable":true},"imageThumbnailPath":{"description":"Path to image thumbnail","type":"string","example":"\/path\/to\/document\/imagethumbnail.jpg","nullable":true}},"type":"object"}]},"AssetFolder":{"title":"Asset Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"AssetPermissions":{"title":"Asset Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"}]},"AssetVersion":{"title":"AssetVersion","required":["type","fileName","creationDate","fileSize","mimeType","metadata","dimensions"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"type":{"description":"asset type","type":"string","example":"image"},"fileName":{"description":"file name","type":"string","example":"myImageFile.png"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":"integer","example":1707312457,"nullable":true},"fileSize":{"description":"file size","type":"integer","example":41862},"mimeType":{"description":"mime type","type":"string","example":"image\/png"},"metadata":{"description":"Metadata","type":"array","items":{"$ref":"#\/components\/schemas\/CustomMetadataVersion"}},"dimensions":{"$ref":"#\/components\/schemas\/Dimensions"}},"type":"object"},"Audio":{"title":"Audio","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"BlocklistEntry":{"title":"Blocklist","required":["email","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"email":{"description":"email address","type":"string","example":"email@pimcore.com"},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"modificationDate":{"description":"modification date","type":"integer","example":1707312457,"nullable":true}},"type":"object"},"EmailAddressParameter":{"title":"Blocklist","required":["email"],"properties":{"email":{"description":"email address","type":"string","example":"someEmail@email-domain.com"}},"type":"object"},"UpdateTagParameters":{"title":"Change Tag Parameters","description":"Parameters for changing a tag","properties":{"parentId":{"description":"Parent id","type":"integer","example":0,"nullable":true},"name":{"description":"Tag name","type":"string","example":"tag 1","nullable":true}},"type":"object"},"Collection":{"title":"Collection","properties":{"totalItems":{"description":"total items","type":"integer","example":666},"items":{"description":"items","type":"mixed","example":["Asset","Folder","Document","DataObject"]}},"type":"object"},"ColumnSchema":{"title":"Column","required":["key","locale","group"],"properties":{"key":{"description":"Key of the Column","type":"string","example":"id"},"locale":{"description":"Locale of the Column","type":"string","example":"de","nullable":true},"group":{"description":"Group of the Column","type":"string","example":"system"}},"type":"object"},"ConvertAllParameters":{"title":"Convert All Units Parameters","required":["fromUnitId","value"],"properties":{"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"value":{"description":"Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"},"ConvertedQuantityValue":{"title":"Converted quantity values","required":["originalValue","fromUnitId","convertedValues"],"properties":{"unitAbbreviation":{"description":"Unit Abbreviation","type":"string","example":"m"},"unitLongName":{"description":"Unit Long Name","type":"string","example":"Meter"},"convertedValue":{"description":"Converted Values","type":"number","format":"float","example":160}},"type":"object"},"ConvertedQuantityValues":{"title":"Converted quantity values","required":["originalValue","fromUnitId","convertedValues"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"originalValue":{"description":"Original Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]},"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"convertedValues":{"description":"Converted Values","type":"array","items":{"$ref":"#\/components\/schemas\/ConvertedQuantityValue"}}},"type":"object"},"CreateTagParameters":{"title":"Create Tag Parameters","description":"Parameters for creating a new tag","properties":{"parentId":{"description":"Parent id","type":"integer","example":0},"name":{"description":"Tag name","type":"string","example":"tag 1"}},"type":"object"},"CreateNote":{"title":"CreateNote","required":["title","description","type"],"properties":{"title":{"description":"title","type":"string","example":"Title of note"},"description":{"description":"description","type":"string","example":"Description of note"},"type":{"description":"type","type":"string","example":"Type of note"}},"type":"object"},"Credentials":{"title":"Credentials","description":"Credentials for authentication","required":["username","password"],"properties":{"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"},"password":{"description":"Password","type":"string","example":"*****"}},"type":"object"},"CustomAttributes":{"title":"CustomAttributes","description":"Custom attributes used mainly for the tree","required":["icon","tooltip","additionalIcons","key","additionalCssClasses"],"properties":{"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon"}],"nullable":true,"description":"Custom Icon"},"tooltip":{"description":"Custom Tooltip","type":"string","example":"\u003Cb\u003EMy Tooltip\u003C\/b\u003E","nullable":true},"additionalIcons":{"description":"AdditionalIcons","type":"array","items":{"type":"string","example":"some_other_icon"}},"key":{"description":"Custom Key\/Filename","type":"string","example":"my_custom_key","nullable":true},"additionalCssClasses":{"description":"Additional Css Classes","type":"array","items":{"type":"string","example":"my_custom_class"}}},"type":"object"},"CustomMetadata":{"title":"CustomMetadata","required":["name","language","type","data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":"string","example":"data","nullable":true}},"type":"object"},"CustomMetadataVersion":{"title":"CustomMetadataVersion","required":["name","language","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":"string","example":"data","nullable":true}},"type":"object"},"CustomSettings":{"title":"CustomSettings","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"fixedCustomSettings":{"oneOf":[{"$ref":"#\/components\/schemas\/FixedCustomSettings"}],"nullable":true,"description":"fixed custom settings","example":"{ embeddedMetadata: { FileSize: 360 KiB }, checksum: b3685e8348e7ac4d30d0268f7e58902a }"},"dynamicCustomSettings":{"description":"dynamic custom settings - can be any key-value pair","type":"array","items":[],"example":"{ imageWidth: 1280, imageHeight: 720 }"}},"type":"object"},"CloneParameters":{"title":"Data Object Clone Parameters","required":["recursive","updateReferences"],"properties":{"recursive":{"description":"Recursive","type":"boolean","example":false},"updateReferences":{"description":"Update References","type":"boolean","example":false}},"type":"object"},"DataObjectFolder":{"title":"Data Object Folder","type":"object","allOf":[{"$ref":"#\/components\/schemas\/DataObject"}]},"DataObjectPermissions":{"title":"Data Object Permissions","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Permissions"},{"properties":{"save":{"description":"Save","type":"boolean","example":true},"unpublish":{"description":"Unpublish","type":"boolean","example":true},"localizedEdit":{"description":"Localized Edit","type":"string","example":"default","nullable":true},"localizedView":{"description":"Localized View","type":"string","example":"default","nullable":true},"layouts":{"description":"Layouts","type":"string","example":"default","nullable":true}},"type":"object"}]},"DataObject":{"title":"DataObject","required":["key","className","type","published","hasChildren","hasWorkflowWithPermissions","fullPath","customAttributes","permissions","index","objectData","allowInheritance","allowVariants","showVariants","hasPreview"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"allowInheritance":{"description":"Inheritance allowed","type":"boolean","example":false},"allowVariants":{"description":"Variants allowed","type":"boolean","example":false},"showVariants":{"description":"Show variants","type":"boolean","example":false},"hasPreview":{"description":"Has preview","type":"boolean","example":false},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"key":{"description":"Key","type":"string","example":"Giulietta"},"className":{"description":"Class name","type":"string","example":"car"},"type":{"description":"Type","type":"string","example":"image"},"published":{"description":"Published","type":"boolean","example":false},"hasChildren":{"description":"Has children","type":"boolean","example":false},"hasWorkflowWithPermissions":{"description":"Workflow permissions","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/dataObject"},"permissions":{"$ref":"#\/components\/schemas\/DataObjectPermissions"},"index":{"description":"Custom index","type":"integer","example":0},"objectData":{"description":"Detail object data","type":"object","example":{"fieldKey":"field value"}}},"type":"object"}]},"DataObjectAddParameters":{"title":"DataObjectAdd","required":["key","classId","type"],"properties":{"key":{"description":"Key","type":"string","example":"my_new_data_object"},"classId":{"description":"Class Id","type":"string","example":"data_object_class_id"},"type":{"description":"Type","type":"enum","enum":["object","variant"],"example":"object"}},"type":"object"},"DataObjectVersion":{"title":"DataObjectVersion","required":["modificationDate","path","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"modificationDate":{"description":"modification date","type":"integer","example":1712823182},"path":{"description":"path","type":"string","example":"\/path\/to\/object"},"published":{"description":"published","type":"boolean","example":true}},"type":"object"},"ElementProperty":{"title":"DataProperty","required":["key","data","type","inheritable","inherited"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"key","type":"string","example":"key_of_the_property"},"data":{"description":"data","type":"mixed","example":"123","nullable":true},"type":{"description":"type","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false},"inherited":{"description":"inherited","type":"boolean","example":false},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"predefinedName":{"description":"predefinedName","type":"string","example":"name of the predefined property","nullable":true},"description":{"description":"description","type":"string","example":"Description of the predefined property","nullable":true}},"type":"object"},"DeleteInfo":{"title":"DeleteInfo","required":["hasDependencies","canUseRecycleBin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"hasDependencies":{"description":"hasDependencies","type":"boolean","example":true},"canUseRecycleBin":{"description":"canUseRecycleBin","type":"boolean","example":true}},"type":"object"},"Dependency":{"title":"Dependency","required":["id","path","type","subType","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer"},"path":{"description":"path","type":"string","example":"text"},"type":{"description":"type","type":"string","example":"asset"},"subType":{"description":"subType","type":"string","example":"image"},"published":{"description":"published","type":"boolean","example":"true"}},"type":"object"},"UserDependency":{"title":"Dependency to an Object","description":"Dependency to an Object","required":["id","path","subtype"],"properties":{"id":{"description":"ID of the object","type":"integer","example":42},"path":{"description":"Path to the object","type":"string","example":"\/path\/to\/object"},"subtype":{"description":"Subtype of the object","type":"string","example":"Car"}},"type":"object"},"DetailedRole":{"title":"Detailed User Role","description":"Contains all information about a role","required":["id","name","classes","parentId","permissions","docTypes","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or Role","type":"string","example":"admin","nullable":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":"integer","example":"2","nullable":true},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"docTypes":{"description":"List of document types for the role","type":"object","example":["1","2"]},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}}},"type":"object"},"DevError":{"title":"DevError","description":"Error with details for developers","required":["message","details"],"properties":{"message":{"description":"Message","type":"string","example":"I got a bad feeling about this"},"details":{"description":"Details","type":"string","example":"Search your feelings. (Stack trace)"}},"type":"object"},"Document":{"title":"Document","required":[],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Element"},{"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"customAttributes":{"$ref":"#\/components\/schemas\/CustomAttributes"},"hasWorkflowAvailable":{"description":"Has workflow available","type":"boolean","example":false},"fullPath":{"description":"Full path","type":"string","example":"\/path\/to\/asset.jpg"}},"type":"object"}]},"DocumentVersion":{"title":"DocumentVersion","required":["modificationDate","path","published"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"modificationDate":{"description":"modification date","type":"integer","example":1712823182},"path":{"description":"path","type":"string","example":"\/path\/to\/object"},"published":{"description":"published","type":"boolean","example":true}},"type":"object"},"Element":{"title":"Element","required":["id","parentId","path","userOwner","userModification","locked","isLocked","creationDate","modificationDate","permissions"],"properties":{"id":{"description":"ID","type":"integer","example":83},"parentId":{"description":"ID of parent","type":"integer","example":1},"path":{"description":"path","type":"string","example":"\/path\/to\/element"},"icon":{"$ref":"#\/components\/schemas\/ElementIcon"},"userOwner":{"description":"ID of owner","type":"integer","example":1},"userModification":{"description":"User that modified the element","type":"integer","example":1},"locked":{"description":"Locked","type":"string","example":"locked","nullable":true},"isLocked":{"description":"Is locked","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":"integer","example":221846400,"nullable":true},"modificationDate":{"description":"Modification date","type":"integer","example":327417600,"nullable":true}},"type":"object"},"ElementIcon":{"title":"ElementIcon","required":["type","value"],"properties":{"type":{"description":"Icon type","type":"enum","enum":["name","path"],"example":"path"},"value":{"description":"Icon value","type":"string","example":"\/path\/to\/icon"}},"type":"object"},"EmailDocumentParameters":{"title":"EmailDocumentParameters","required":["key","value"],"properties":{"key":{"description":"parameter key","type":"string","example":"some_parameter_key"},"value":{"description":"parameter value","type":"value","example":"some_parameter_value","nullable":true}},"type":"object"},"EmailLogEntry":{"title":"EmailLog","required":["id","sentDate","hasHtmlLog","hasTextLog","hasError","from","to","subject"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer","example":23},"sentDate":{"description":"sent date","type":"integer","example":1707312457},"hasHtmlLog":{"description":"HTML log exists","type":"boolean","example":true},"hasTextLog":{"description":"Text log exists","type":"boolean","example":true},"hasError":{"description":"Error occurred","type":"boolean","example":true},"from":{"description":"from","type":"string","example":"from@pimcore.com","nullable":true},"to":{"description":"to","type":"string","example":"to@pimcore.com","nullable":true},"subject":{"description":"subject","type":"string","example":"E-Mail subject","nullable":true}},"type":"object"},"EmailLogEntryDetail":{"title":"EmailLogDetail","required":["bcc","cc","error"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/EmailLogEntry"},{"properties":{"bcc":{"description":"bcc","type":"string","example":"email@pimcore.com","nullable":true},"cc":{"description":"cc","type":"string","example":"email@pimcore.com","nullable":true},"error":{"description":"error","type":"string","example":"Some error occurred","nullable":true}},"type":"object"}]},"ObjectParameter":{"title":"EmailLogObjectParameterData","required":["name","value"],"properties":{"id":{"description":"id","type":"integer","example":1020},"type":{"description":"type","type":"string","example":"object"},"class":{"description":"class","type":"string","example":"AppBundle\\Model\\MyObject"},"path":{"description":"path","type":"string","example":"\/path\/to\/object"}},"type":"object"},"EmailLogEntryParameter":{"title":"EmailLogParameters","required":["name","value","objectData"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"name","type":"string","example":"myParameter"},"value":{"description":"value","type":"string","example":"Some value","nullable":true},"objectData":{"oneOf":[{"$ref":"#\/components\/schemas\/ObjectParameter"}],"nullable":true,"description":"data for object parameters"}},"type":"object"},"Error":{"title":"Error","description":"Bad credentials or missing token, bad request, method not allowed, etc.","required":["message"],"properties":{"message":{"description":"Message","type":"string","example":"I am an error message"}},"type":"object"},"LayoutDefinition":{"title":"Field Collection Layout Definition","required":["key","title","width","height","collapsible","collapsed","datatype","children"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"Key of Field Collection","type":"string"},"datatype":{"description":"Data Type","type":"string","example":"layout"},"group":{"description":"Group","type":"string","example":"Group Name","nullable":true},"name":{"description":"Name","type":"string","example":"Layout","nullable":true},"type":{"description":"Type","type":"string","nullable":true},"region":{"description":"Region","type":"string","nullable":true},"title":{"description":"Title","type":"string","nullable":true},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"collapsed","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"}},"type":"object"},"FixedCustomSettings":{"title":"FixedCustomSettings","required":["embeddedMetadata","embeddedMetadataExtracted"],"properties":{"embeddedMetadata":{"description":"embedded meta data of the asset - array of any key-value pairs","type":"array","items":[],"example":"{ FileSize: \u0022265 KiB\u0022, MIMEType: \u0022image\/jpeg\u0022 }"},"embeddedMetadataExtracted":{"description":"flag to indicate if the embedded meta data has been extracted from the asset","type":"boolean","example":true}},"type":"object"},"FocalPoint":{"title":"FocalPoint","required":["x","y"],"properties":{"x":{"description":"x","type":"integer","example":50},"y":{"description":"y","type":"integer","example":50}},"type":"object"},"FolderData":{"title":"Folder Data","description":"Folder Data Scheme for API","required":["folderName"],"properties":{"folderName":{"description":"Folder Name","type":"string","example":"Awesome stuff inside"}},"type":"object"},"GlobalAction":{"title":"GlobalAction","required":["name","label","iconCls","objectLayout","notes"],"properties":{"name":{"description":"name","type":"string","example":"start_workflow"},"label":{"description":"label","type":"string","example":"Start Workflow"},"iconCls":{"description":"iconCls","type":"string","example":"pimcore_workflow_start"},"objectLayout":{"description":"objectLayout","type":"boolean","example":false},"notes":{"description":"notes","type":"array","items":[],"example":{"commentEnabled":true,"commentRequired":true}}},"type":"object"},"Column":{"title":"Grid Column Request","description":"Contains all data that is needed to get all the data for the column.","required":["key","type","config"],"properties":{"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"type":{"description":"Type","type":"string","example":"system.integer"},"group":{"description":"Group","type":"string","example":"system","nullable":true},"config":{"description":"Config","type":"array","items":{"type":"string"},"example":{"key":"value"}}},"type":"object"},"Filter":{"title":"Grid Filter","description":"Contains all data that is needed to get all the data for the column.","required":["page","pageSize","includeDescendants"],"properties":{"page":{"description":"Page","type":"integer","example":1},"pageSize":{"description":"Page Size","type":"integer","example":50},"includeDescendants":{"description":"Include Descendant Items","type":"boolean","example":false},"columnFilters":{"description":"Column Filter","type":"object","example":"[{\u0022key\u0022:\u0022name\u0022,\u0022type\u0022: \u0022metadata.object\u0022,\u0022filterValue\u0022: 1}]"},"sortFilter":{"description":"Sort Filter","type":"object","example":"{\u0022key\u0022:\u0022id\u0022,\u0022direction\u0022: \u0022ASC\u0022}"}},"type":"object"},"ColumnConfiguration":{"title":"GridColumnConfiguration","description":"Contains all data to configure a grid column","required":["key","group","sortable","editable","localizable","type","config"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"Key","type":"string","example":"id"},"group":{"description":"Group","type":"string","example":"system"},"sortable":{"description":"Sortable","type":"boolean","example":true},"editable":{"description":"Editable","type":"boolean","example":false},"localizable":{"description":"Localizable","type":"boolean","example":false},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"type":{"description":"Type","type":"string","example":"integer"},"frontendType":{"description":"Frontend Type","type":"string","example":"integer"},"config":{"description":"Config","type":"object","example":{"key":"value"}}},"type":"object"},"ColumnData":{"title":"GridColumnData","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"Key","type":"string","example":"id"},"locale":{"description":"Locale","type":"string","example":"en","nullable":true},"value":{"description":"Value","type":"mixed","example":73,"nullable":true}},"type":"object"},"Configuration":{"title":"GridConfiguration","description":"Contains all data to configure a grid column","required":["id","name","description"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID","type":"integer","example":42},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":"string","example":"My Configuration Description"}},"type":"object"},"DetailedConfiguration":{"title":"GridDetailedConfiguration","description":"Contains all data to configure a grid column","required":["name","description","shareGlobal","saveFilter","setAsFavorite","sharedUsers","sharedRoles","columns","filter","pageSize"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"Name","type":"string","example":"My Configuration"},"description":{"description":"Description","type":"string","example":"My Configuration Description"},"shareGlobal":{"description":"shareGlobal","type":"boolean","example":false},"saveFilter":{"description":"saveFilter","type":"boolean","example":false},"setAsFavorite":{"description":"setAsFavorite","type":"boolean","example":false},"sharedUsers":{"description":"sharedUsers","type":"object","example":[42,1337]},"sharedRoles":{"description":"sharedRoles","type":"object","example":[42,1337]},"columns":{"description":"columns","type":"array","items":{"$ref":"#\/components\/schemas\/ColumnSchema"}},"filter":{"description":"filter","type":"array","items":{"$ref":"#\/components\/schemas\/Filter"}},"pageSize":{"description":"Page Size","type":"integer","example":42},"modificationDate":{"description":"Modification Date","type":"integer","example":1634025600,"nullable":true},"creationDate":{"description":"Creation Date","type":"integer","example":1634025600,"nullable":true},"ownerId":{"description":"ID of the owner","type":"integer","example":42,"nullable":true},"id":{"description":"ID of the configuration","type":"integer","example":42,"nullable":true}},"type":"object"},"Image":{"title":"Image","required":["format","width","height","isVectorGraphic","isAnimated","imageThumbnailPath"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"format":{"description":"Format","type":"string","example":"muhFormat"},"width":{"description":"width","type":"integer","example":666},"height":{"description":"height","type":"integer","example":333},"isVectorGraphic":{"description":"is vector graphic","type":"boolean","example":false},"isAnimated":{"description":"is animated","type":"boolean","example":false},"imageThumbnailPath":{"description":"path to thumbnail","type":"string","example":"\/path\/to\/element\/hulk-smash.jpg"}},"type":"object"}]},"ImageData":{"title":"ImageData","properties":{"focalPoint":{"$ref":"#\/components\/schemas\/FocalPoint"}},"type":"object"},"InvalidCredentials":{"title":"Invalid Credentials","description":"Invalid credentials after login attempt","required":["error"],"properties":{"error":{"description":"Error","type":"string","example":"Invalid credentials"}},"type":"object"},"KeyBinding":{"title":"Key Binding for a User","description":"Key Binding for a User","required":["key","action","ctrl","alt","shift"],"properties":{"key":{"description":"ASCII Code for a key on the Keyboard","type":"integer","example":"83"},"action":{"description":"The action the key binding shoudl execute","type":"string","example":"save"},"ctrl":{"description":"If CTRL key should be pressed","type":"boolean","example":"true"},"alt":{"description":"If ALT key should be pressed","type":"boolean","example":"true"},"shift":{"description":"If SHIFT key should be pressed","type":"boolean","example":"true"}},"type":"object"},"Layout":{"title":"Layout","required":["name","dataType","fieldType","type","layout","region","title","width","height","collapsible","collapsed","bodyStyle","locked","children","icon","labelAlign","labelWidth","border"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"name":{"description":"Name","type":"string","example":"pimcore_root"},"dataType":{"description":"Data Type","type":"string","example":"layout"},"fieldType":{"description":"Field Type","type":"string","example":"panel"},"type":{"description":"Type","type":"string","example":null,"nullable":true},"layout":{"description":"Layout","type":"string","example":null,"nullable":true},"region":{"description":"Region","type":"string","example":"center","nullable":true},"title":{"description":"Title","type":"string","example":"MyLayout","nullable":true},"width":{"description":"Width","type":"integer","example":0},"height":{"description":"Height","type":"integer","example":0},"collapsible":{"description":"Collapsible","type":"boolean","example":false},"collapsed":{"description":"Collapsed","type":"boolean","example":false},"bodyStyle":{"description":"Body Style","type":"string","example":"(float: left;)","nullable":true},"locked":{"description":"Locked","type":"boolean","example":false},"children":{"description":"Children","type":"array","items":[],"example":"[]"},"icon":{"oneOf":[{"$ref":"#\/components\/schemas\/ElementIcon"}],"nullable":true,"description":"Icon"},"labelAlign":{"description":"Label Align","type":"string","example":"left"},"labelWidth":{"description":"Label Width","type":"integer","example":100},"border":{"description":"Border","type":"boolean","example":false}},"type":"object"},"Note":{"title":"Note","required":["id","type","cId","cType","cPath","date","title","description","locked","data"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer","example":666},"type":{"description":"type","type":"string","example":"Type of note"},"cId":{"description":"Id of element","type":"integer","example":667},"cType":{"description":"Type of element","type":"string","example":"asset"},"cPath":{"description":"Path of element","type":"string","example":"\/path\/to\/element"},"date":{"description":"Creation date of note","type":"integer","example":1634025600},"title":{"description":"title","type":"string","example":"Title of note"},"description":{"description":"description","type":"string","example":"This is a description"},"locked":{"description":"Locked","type":"boolean","example":false},"data":{"description":"Data of note","type":"array","items":[],"example":"Can be pretty much anything"},"userId":{"description":"User ID","type":"integer","example":1,"nullable":true},"userName":{"description":"Username","type":"string","example":"shaquille.oatmeal","nullable":true}},"type":"object"},"NoteType":{"title":"NoteType","required":["id"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"string","example":"info"}},"type":"object"},"NoteTypeCollection":{"title":"NoteTypeCollection","required":["items"],"properties":{"items":{"description":"items","type":"array","items":{"$ref":"#\/components\/schemas\/NoteType"}}},"type":"object"},"Notification":{"title":"Notification","required":["message","payload","attachmentType","attachmentId"],"type":"object","allOf":[{"$ref":"#\/components\/schemas\/NotificationListItem"},{"properties":{"message":{"description":"message","type":"string","example":"Notification message","nullable":true},"payload":{"description":"payload","type":"string","example":"{\u0022key\u0022: \u0022value\u0022}","nullable":true},"attachmentType":{"description":"linked attachment type","type":"string","example":"object","nullable":true},"attachmentId":{"description":"linked attachment ID","type":"integer","example":3669,"nullable":true}},"type":"object"}]},"NotificationListItem":{"title":"NotificationListItem","required":["id","type","title","read","hasAttachment","sentDate","sender"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer","example":23},"type":{"description":"type","type":"string","example":"info"},"title":{"description":"title","type":"string","example":"Notification title"},"read":{"description":"read","type":"boolean","example":false},"hasAttachment":{"description":"has attachment","type":"boolean","example":true},"creationDate":{"description":"creation date","type":"integer","example":1707312457},"sender":{"description":"sender","type":"string","example":"Pimcore Admin","nullable":true}},"type":"object"},"PatchCustomMetadata":{"title":"PatchCustomMetadata","required":["name"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en","nullable":true},"data":{"description":"Data","type":"string","example":"data","nullable":true}},"type":"object"},"PatchError":{"title":"PatchError","description":"Response for PATCH requests with errors","properties":{"id":{"description":"ID","type":"integer","example":83},"message":{"description":"Message","type":"string","example":"I am an error message"}},"type":"object"},"Permissions":{"title":"Permissions","properties":{"list":{"description":"List","type":"boolean","example":true},"view":{"description":"View","type":"boolean","example":true},"publish":{"description":"Publish","type":"boolean","example":true},"delete":{"description":"Delete","type":"boolean","example":true},"rename":{"description":"Rename","type":"boolean","example":true},"create":{"description":"Create","type":"boolean","example":true},"settings":{"description":"Settings","type":"boolean","example":true},"versions":{"description":"Versions","type":"boolean","example":true},"properties":{"description":"Properties","type":"boolean","example":true}},"type":"object"},"PredefinedProperty":{"title":"PredefinedProperty","required":["id","name","key","type","ctype","inheritable","creationDate","modificationDate"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"string","example":"alpha-numerical-value"},"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":"string","example":"Detailed description of the property","nullable":true},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":"string","example":"test","nullable":true},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"ctype":{"description":"ctype","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false},"creationDate":{"description":"Creation date","type":"integer","example":221846400},"modificationDate":{"description":"Modification date","type":"integer","example":327417600}},"type":"object"},"QuantityValueUnit":{"title":"QuantityValueUnit","required":["id","abbreviation","group","longName","baseUnit","reference","factor","conversionOffset","converter"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID","type":"string","example":"mm","nullable":true},"abbreviation":{"description":"Abbreviation","type":"string","example":"mm","nullable":true},"group":{"description":"Group","type":"string","example":null,"nullable":true},"longName":{"description":"Long Name","type":"string","example":"Millimeter","nullable":true},"baseUnit":{"description":"Base Unit","type":"string","example":"m","nullable":true},"reference":{"description":"Reference","type":"string","example":null,"nullable":true},"factor":{"description":"Factor","type":"number","format":"float","example":null,"nullable":true},"conversionOffset":{"description":"Conversion Offset","type":"number","format":"float","example":null,"nullable":true},"converter":{"description":"Converter","type":"string","example":null,"nullable":true}},"type":"object"},"ResetPassword":{"title":"ResetPassword","description":"Username","required":["username"],"properties":{"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"}},"type":"object"},"Progress":{"title":"SSEHandlerProgress","required":["progress","currentStep","totalSteps","jobStepName","jobName","jobRunId","user"],"properties":{"progress":{"description":"progress","type":"integer","example":69},"currentStep":{"description":"currentStep","type":"integer","example":1},"totalSteps":{"description":"totalSteps","type":"integer","example":3},"jobStepName":{"description":"jobStepName","type":"string","example":"Job Step Name"},"jobName":{"description":"jobName","type":"string","example":"Job Name"},"jobRunId":{"description":"jobRunId","type":"integer","example":73},"user":{"description":"user","type":"integer","example":2}},"type":"object"},"Finished":{"title":"SSEJobRunFinished","required":["jobRunId","jobRunName","ownerId","state","messages","notifyAll"],"properties":{"jobRunId":{"description":"jobRunId","type":"integer","example":73},"jobRunName":{"description":"jobRunName","type":"string","example":"my-job-name"},"ownerId":{"description":"ownerId","type":"integer","example":13},"status":{"description":"status","type":"string","example":"finished"},"messages":{"description":"messages","type":"list","example":["Something went wrong"]},"notifyAll":{"description":"notifyAll","type":"boolean","example":false}},"type":"object"},"Schedule":{"title":"Schedule","required":["id","ctype","date","active","userId","username"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"integer","example":666},"ctype":{"description":"ctype","type":"string","example":"Type of element"},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":"string","enum":["publish","delete"],"nullable":true},"version":{"description":"Version ID","type":"integer","example":987,"nullable":true},"active":{"description":"Active","type":"boolean","example":true},"userId":{"description":"User ID","type":"integer","example":999},"username":{"description":"Username","type":"string","example":"shaquille.oatmeal"}},"type":"object"},"SendEmailParameters":{"title":"SendEmailParameters","required":["from","to","subject","contentType"],"properties":{"from":{"description":"from email address(es)","type":"string","example":"from@sender.com"},"to":{"description":"to email address(es)","type":"string","example":"to@receiver.com"},"subject":{"description":"email subject","type":"string","example":"My email subject"},"contentType":{"description":"email content type","type":"enum","enum":["document","html","text"],"example":"text"},"content":{"description":"email content","type":"string","example":"My email message","nullable":true},"documentPath":{"description":"path to the email document","type":"string","example":"\/path\/to\/document","nullable":true},"documentParameters":{"description":"email document parameters","type":"array","items":{"$ref":"#\/components\/schemas\/EmailDocumentParameters"}},"attachmentId":{"description":"id of the asset attachment","type":"integer","example":83,"nullable":true}},"type":"object"},"SendNotificationParameters":{"title":"SendEmailParameters","required":["recipientId","title","message"],"properties":{"recipientId":{"description":"recipient ID","type":"integer","example":"33"},"title":{"description":"title","type":"string","example":"New notification"},"message":{"description":"message","type":"string","example":"My notification message"},"attachmentType":{"description":"type of the attachment","type":"enum","enum":["asset","document","object"],"example":null,"nullable":true},"attachmentId":{"description":"ID of the attachment","type":"integer","example":83,"nullable":true}},"type":"object"},"SimpleUser":{"title":"Simple User","description":"A user with the most imported information.","required":["id","name"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"username":{"description":"Name of the User","type":"string","example":"role"}},"type":"object"},"SimpleRole":{"title":"Simple User Role","description":"A user role which is a combination of permissions and settings.","required":["id","category"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the Role","type":"integer","example":"1"},"name":{"description":"Name of the Role","type":"string","example":"role"}},"type":"object"},"SubmitAction":{"title":"SubmitAction","description":"Schema for submission of workflow action","required":["actionType","elementId","elementType","workflowName","transition","workflowOptions"],"properties":{"actionType":{"description":"type of the action","type":"string","example":"transition"},"elementId":{"description":"id of the element","type":"integer","example":50},"elementType":{"description":"type of the element","type":"string","example":"object"},"workflowName":{"description":"name of the workflow","type":"string","example":"my_first_workflow"},"transition":{"description":"transition","type":"string","example":"start_workflow"},"workflowOptions":{"description":"workflowOptions","type":"object","example":"{\u0022notes\u0022: \u0022Some note I want to write\u0022}"}},"type":"object"},"Tag":{"title":"Tag","properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"tag ID","type":"integer","example":2},"parentId":{"description":"parent tag ID","type":"integer","example":0},"text":{"description":"tag text","type":"string","example":"Tag 1"},"path":{"description":"path","type":"string","example":"\/test"},"hasChildren":{"description":"has children","type":"boolean","example":false},"iconName":{"description":"IconName","type":"string","example":"pimcore_icon_pdf"},"children":{"description":"children","type":"array","items":{"$ref":"#\/components\/schemas\/Tag"}}},"type":"object"},"Text":{"title":"Text","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"Thumbnail":{"title":"Thumbnail","required":["id","text"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"id","type":"string","example":"pimcore_system_treepreview"},"text":{"description":"text","type":"string","example":"original"}},"type":"object"},"ThumbnailCollection":{"title":"ThumbnailCollection","required":["items"],"properties":{"items":{"description":"items","type":"array","items":{"$ref":"#\/components\/schemas\/Thumbnail"}}},"type":"object"},"Translation":{"title":"Translation","description":"Translation Scheme for API","required":["locale","keys"],"properties":{"locale":{"description":"Locale","type":"string","example":"en"},"keys":{"description":"Keys","type":"array","items":{"type":"string","example":"not_your_typical_key"}}},"type":"object"},"TreeNode":{"title":"Tree Node","description":"One node in the a tree","required":["id","name","type","hasChildren"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"Unique Identifier","type":"integer","example":"1"},"name":{"description":"Name of the tree node","type":"string","example":"admin"},"type":{"description":"Is ether folder or a specific item in the folder","type":"string","example":"user"},"hasChildren":{"description":"If a folder has sub items","type":"boolean","example":true}},"type":"object"},"ConvertParameters":{"title":"Unit Convert Parameters","required":["fromUnitId","toUnitId","value"],"properties":{"fromUnitId":{"description":"From Unit Id","type":"string","example":"m"},"toUnitId":{"description":"To Unit Id","type":"string","example":"mm"},"value":{"description":"Value","example":5,"anyOf":[{"type":"float"},{"type":"integer"}]}},"type":"object"},"Unknown":{"title":"Unknown","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"}]},"UpdateRole":{"title":"Update User Role","description":"Contains all information about a role that can be updated.","required":["name","classes","parentId","permissions","docTypes","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces"],"properties":{"name":{"description":"Name of Folder or Role","type":"string","example":"admin","nullable":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"parentId":{"type":"integer","example":"2","nullable":true},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"docTypes":{"description":"List of document types for the role","type":"object","example":["1","2"]},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}}},"type":"object"},"UpdateCustomMetadata":{"title":"UpdateCustomMetadata","required":["name","language","type","data"],"properties":{"name":{"description":"Name","type":"string","example":"custom_metadata"},"language":{"description":"Language","type":"string","example":"en"},"type":{"description":"Type","type":"string","example":"input"},"data":{"description":"Data","type":"mixed","example":"data","nullable":true}},"type":"object"},"UpdateCustomSettings":{"title":"UpdateCustomSettings","required":["key","value"],"properties":{"key":{"description":"Key","type":"string","example":"my_custom_setting_key"},"value":{"description":"Value","type":"mixed","example":"data","nullable":true}},"type":"object"},"UpdateElementProperty":{"title":"UpdateDataProperty","required":["key","data","type","inheritable"],"properties":{"key":{"description":"key","type":"string","example":"Mister Proper"},"data":{"description":"data","type":"mixed","example":"123","nullable":true},"type":{"description":"type","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false}},"type":"object"},"UpdatePredefinedProperty":{"title":"UpdatePredefinedProperty","required":["name","key","type","ctype","inheritable"],"properties":{"name":{"description":"name","type":"string","example":"Mister Proper"},"description":{"description":"description","type":"string","example":"Detailed description of the property","nullable":true},"key":{"description":"key","type":"string","example":"Key for referencing"},"type":{"description":"type","type":"string","example":"text"},"data":{"description":"data","type":"string","example":"test","nullable":true},"config":{"description":"config","type":"string","example":"comma,separated,values","nullable":true},"ctype":{"description":"ctype","type":"string","example":"document"},"inheritable":{"description":"inheritable","type":"boolean","example":false}},"type":"object"},"UpdateSchedule":{"title":"UpdateSchedule","required":["id","date","active"],"properties":{"id":{"description":"Id of schedule, if null a new one will be created","type":"integer","example":666,"nullable":true},"date":{"description":"Date of schedule","type":"integer","example":1634025600},"action":{"description":"Action","type":"string","enum":["publish","delete"],"nullable":true},"version":{"description":"Version ID","type":"integer","example":987,"nullable":true},"active":{"description":"Active","type":"boolean","example":true}},"type":"object"},"UpdateVersion":{"title":"UpdateVersion","properties":{"public":{"description":"Public","type":"boolean","example":null,"nullable":true},"note":{"description":"Note","type":"string","example":null,"nullable":true}},"type":"object"},"UpdateUser":{"title":"User","description":"User Schema to update a User.","required":["active","classes","closeWarning","allowDirtyClose","contentLanguages","keyBindings","language","memorizeTabs","parentId","permissions","roles","twoFactorAuthenticationEnabled","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","welcomeScreen","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces"],"properties":{"email":{"description":"Email of the User","type":"string","example":"","nullable":true},"firstname":{"description":"Firstname of the User","type":"string","example":"","nullable":true},"lastname":{"description":"Lastname of the User","type":"string","example":"","nullable":true},"admin":{"description":"If User is admin","type":"boolean","example":false},"active":{"description":"If User is active","type":"boolean","example":true},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"closeWarning":{"type":"boolean","example":true},"allowDirtyClose":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"language":{"description":"Language of the User","type":"string","example":"de"},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":"integer","example":"2"},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"roles":{"description":"ID List of roles the user is assigned","type":"object","example":[12,14]},"twoFactorAuthenticationEnabled":{"type":"boolean","example":false},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"welcomeScreen":{"type":"boolean","example":true},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}}},"type":"object"},"User":{"title":"User","description":"Contains all information about a user","required":["id","active","admin","classes","closeWarning","allowDirtyClose","contentLanguages","hasImage","keyBindings","language","memorizeTabs","parentId","permissions","roles","twoFactorAuthenticationEnabled","websiteTranslationLanguagesEdit","websiteTranslationLanguagesView","welcomeScreen","assetWorkspaces","dataObjectWorkspaces","documentWorkspaces","objectDependencies"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"ID of the User","type":"integer","example":"1"},"name":{"description":"Name of Folder or User","type":"string","example":"admin","nullable":true},"email":{"description":"Email of the User","type":"string","example":"","nullable":true},"firstname":{"description":"Firstname of the User","type":"string","example":"","nullable":true},"lastname":{"description":"Lastname of the User","type":"string","example":"","nullable":true},"active":{"description":"If a User is active","type":"boolean","example":true},"admin":{"description":"If User is admin","type":"boolean","example":false},"classes":{"description":"Classes the user is allows to see","type":"object","example":["CAR"]},"closeWarning":{"type":"boolean","example":true},"allowDirtyClose":{"type":"boolean","example":true},"contentLanguages":{"description":"List of available content Language already sorted.","type":"object","example":["de","en"]},"hasImage":{"type":"boolean","example":true},"keyBindings":{"description":"Key Bindings","type":"array","items":{"$ref":"#\/components\/schemas\/KeyBinding"}},"language":{"description":"Language of the User","type":"string","example":"de"},"lastLogin":{"description":"Timestamp of the last login","type":"integer","example":"1718757677","nullable":true},"memorizeTabs":{"type":"boolean","example":true},"parentId":{"type":"integer","example":"2","nullable":true},"permissions":{"description":"List of permissions for the user","type":"object","example":["objects","documents"]},"roles":{"description":"ID List of roles the user is assigned","type":"object","example":[12,14]},"twoFactorAuthenticationEnabled":{"type":"boolean","example":false},"websiteTranslationLanguagesEdit":{"type":"object","example":["de","en"]},"websiteTranslationLanguagesView":{"type":"object","example":["de"]},"welcomeScreen":{"type":"boolean","example":true},"assetWorkspaces":{"description":"Asset Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"dataObjectWorkspaces":{"description":"Data Object Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"documentWorkspaces":{"description":"Document Workspace","type":"array","items":{"$ref":"#\/components\/schemas\/UserWorkspace"}},"objectDependencies":{"$ref":"#\/components\/schemas\/ObjectDependencies"}},"type":"object"},"UserInformation":{"title":"User Information","description":"Information about the user","required":["username","permissions","isAdmin"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"username":{"description":"Username","type":"string","example":"admin"},"permissions":{"description":"Permissions","type":"array","items":{"type":"string","example":"clear_cache"}},"isAdmin":{"description":"If user is an admin user","type":"boolean","example":false}},"type":"object"},"ObjectDependencies":{"title":"User Object Dependencies","description":"User Object Dependencies","required":["hasHidden","dependencies"],"properties":{"dependencies":{"description":"Dependencies to objects","type":"array","items":{"$ref":"#\/components\/schemas\/UserDependency"}},"hasHidden":{"description":"If is has hidden dependencies","type":"boolean","example":true}},"type":"object"},"UserPermission":{"title":"User Permission","description":"A permission for a user or role","required":["key","category"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"key":{"description":"Key of the Permission","type":"string","example":"objects"},"category":{"description":"Category og the Permission","type":"string","example":"Datahub"}},"type":"object"},"UserWorkspace":{"title":"User Workspace","description":"Workspace of a user","required":["cid","cpath","list","view","publish","delete","rename","create","settings","versions","properties"],"properties":{"cid":{"description":"ID of the element","type":"integer","example":"1"},"cpath":{"description":"Path of the element","type":"string","example":"\/path\/to\/element"},"list":{"description":"List Permission","type":"boolean","example":true},"view":{"description":"View Permission","type":"boolean","example":true},"publish":{"description":"Publish Permission","type":"boolean","example":true},"delete":{"description":"Delete Permission","type":"boolean","example":true},"rename":{"description":"Rename Permission","type":"boolean","example":true},"create":{"description":"Create Permission","type":"boolean","example":true},"settings":{"description":"Settings Permission","type":"boolean","example":true},"versions":{"description":"Versions Permission","type":"boolean","example":true},"properties":{"description":"Properties Permission","type":"boolean","example":true}},"type":"object"},"Version":{"title":"Version","required":["id","cid","ctype","note","date","public","published","versionCount","autosave","user"],"properties":{"additionalAttributes":{"description":"AdditionalAttributes","type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]}]}},"id":{"description":"version ID","type":"integer","example":2},"cid":{"description":"element ID","type":"integer","example":10},"ctype":{"description":"element type","type":"string","example":"object"},"note":{"description":"note","type":"string","example":"some note"},"date":{"description":"date","type":"integer","example":1712823182},"public":{"description":"public","type":"boolean","example":false},"published":{"description":"published","type":"boolean","example":false},"versionCount":{"description":"version count","type":"integer","example":10},"autosave":{"description":"autosave","type":"boolean","example":false},"user":{"$ref":"#\/components\/schemas\/VersionUser"},"scheduled":{"description":"scheduled","type":"integer","example":null,"nullable":true}},"type":"object"},"Dimensions":{"title":"VersionDimensions","properties":{"width":{"description":"width","type":"integer","example":1920,"nullable":true},"height":{"description":"height","type":"integer","example":1080,"nullable":true}},"type":"object"},"VersionUser":{"title":"VersionUser","properties":{"id":{"description":"ID","type":"integer","example":2,"nullable":true},"name":{"description":"name","type":"string","example":"John Doe","nullable":true}},"type":"object"},"Video":{"title":"Video","type":"object","allOf":[{"$ref":"#\/components\/schemas\/Asset"},{"properties":{"duration":{"description":"Duration","type":"number","format":"float","example":43560.5,"nullable":true},"width":{"description":"Width","type":"integer","example":1920,"nullable":true},"height":{"description":"Height","type":"integer","example":1080,"nullable":true},"imageThumbnailPath":{"description":"Path to Image Thumbnail","type":"string","example":"\/path\/to\/video\/imagethumbnail.jpg","nullable":true}},"type":"object"}]},"WorkflowDetails":{"title":"WorkflowDetails","required":["workflowName","workflowStatus","graph","allowedTransitions","globalActions"],"properties":{"workflowName":{"description":"workflowName","type":"string","example":"Sample Asset Workflow"},"workflowStatus":{"description":"workflowStatus","type":"array","items":{"$ref":"#\/components\/schemas\/WorkflowStatus"}},"graph":{"description":"graph","type":"string","example":"\u003Csvg\u003E...\u003C\/svg\u003E"},"allowedTransitions":{"description":"allowedTransitions","type":"array","items":{"$ref":"#\/components\/schemas\/AllowedTransition"}},"globalActions":{"description":"globalActions","type":"array","items":{"$ref":"#\/components\/schemas\/GlobalAction"}}},"type":"object"},"WorkflowStatus":{"title":"WorkflowStatus","required":["color","colorInverted","title","label"],"properties":{"color":{"description":"color","type":"string","example":"#3572b0"},"colorInverted":{"description":"colorInverted","type":"boolean","example":false},"title":{"description":"borderColor","type":"string","example":"#ffa500"},"label":{"description":"label","type":"string","example":"Edit Images"},"visibleInDetail":{"description":"visibleInDetail","type":"boolean","example":true}},"type":"object"}}},"tags":[{"name":"Assets","description":"Asset operations to get\/update\/create\/delete assets"},{"name":"Asset Grid","description":"Asset Grid operations"},{"name":"Asset Thumbnails","description":"List thumbnails for assets like videos and images"},{"name":"Authorization","description":"Session-based login via username and password or logout and invalidate the session"},{"name":"Class Definition","description":"Class definition operations"},{"name":"Data Objects","description":"DataObject operations to get\/update\/create\/delete data objects"},{"name":"Data Object Grid","description":"DataObject Grid operations"},{"name":"Dependencies","description":"Get dependencies for a single element"},{"name":"Elements","description":"Get element properties for a single element based on its type and provided parameters"},{"name":"Execution Engine","description":"Execution engine operations related to job runs"},{"name":"E-Mails","description":"E-mail operations to get\/update\/create\/delete\/test emails and E-mail blocklist"},{"name":"Mercure","description":"Retrieve JWT token for Mercure hub as cookie"},{"name":"Notes","description":"Note operations to list\/delete notes"},{"name":"Notifications","description":"Notification operations to get\/delete\/send notifications"},{"name":"Properties","description":"Property operations to get\/update\/create\/delete properties"},{"name":"Role Management","description":"Role Management operations"},{"name":"Schedule","description":"Get schedules for an element"},{"name":"Settings","description":"Get System Settings"},{"name":"Tags","description":"Tag operations to get\/list\/create\/update\/delete tags"},{"name":"Tags for Element","description":"Tag operations to get tags for an element"},{"name":"Translation","description":"Get translations either for a single key or multiple keys"},{"name":"User Management","description":"User Management operations"},{"name":"Versions","description":"Versions operations to get\/list\/publish\/delete and cleanup versions"},{"name":"Workflows","description":"Workflows operations to get element workflow details"}]} \ No newline at end of file diff --git a/assets/js/src/core/app/config/services/index.ts b/assets/js/src/core/app/config/services/index.ts index 44a6b4a0e..b654a9bd0 100644 --- a/assets/js/src/core/app/config/services/index.ts +++ b/assets/js/src/core/app/config/services/index.ts @@ -77,6 +77,7 @@ import { DynamicTypeObjectLayoutFieldContainer } from '@Pimcore/modules/element/ import { DynamicTypeObjectDataInput } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-input' import { DynamicTypeObjectDataTextarea } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-textarea' import { DynamicTypeObjectDataPassword } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-password' +import { DynamicTypeObjectDataInputQuantityValue } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-input-quantity-value' import { DynamicTypeObjectDataSelect } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-select' import { DynamicTypeObjectDataMultiSelect } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-multiselect' import { DynamicTypeObjectDataLanguage } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-language' @@ -88,6 +89,8 @@ import { DynamicTypeObjectDataBooleanSelect } from '@Pimcore/modules/element/dyn import { DynamicTypeObjectDataNumeric } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-numeric' import { DynamicTypeObjectDataNumericRange } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-numeric-range' import { DynamicTypeObjectDataSlider } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-slider' +import { DynamicTypeObjectDataQuantityValue } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-quantity-value' +import { DynamicTypeObjectDataQuantityValueRange } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-quantity-value-range' import { DynamicTypeObjectDataConsent } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-consent' import { DynamicTypeObjectDataFirstname } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-firstname' import { DynamicTypeObjectDataLastname } from '@Pimcore/modules/element/dynamic-types/defintinitions/objects/data-related/types/dynamic-type-object-data-lastname' @@ -214,6 +217,7 @@ container.bind(serviceIds['DynamicTypes/ObjectLayout/FieldContainer']).to(Dynami container.bind(serviceIds['DynamicTypes/ObjectDataRegistry']).to(DynamicTypeObjectDataRegistry).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/Input']).to(DynamicTypeObjectDataInput).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/Textarea']).to(DynamicTypeObjectDataTextarea).inSingletonScope() +container.bind(serviceIds['DynamicTypes/ObjectData/InputQuantityValue']).to(DynamicTypeObjectDataInputQuantityValue).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/Password']).to(DynamicTypeObjectDataPassword).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/Select']).to(DynamicTypeObjectDataSelect).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/MultiSelect']).to(DynamicTypeObjectDataMultiSelect).inSingletonScope() @@ -226,6 +230,8 @@ container.bind(serviceIds['DynamicTypes/ObjectData/BooleanSelect']).to(DynamicTy container.bind(serviceIds['DynamicTypes/ObjectData/Numeric']).to(DynamicTypeObjectDataNumeric).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/NumericRange']).to(DynamicTypeObjectDataNumericRange).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/Slider']).to(DynamicTypeObjectDataSlider).inSingletonScope() +container.bind(serviceIds['DynamicTypes/ObjectData/QuantityValue']).to(DynamicTypeObjectDataQuantityValue).inSingletonScope() +container.bind(serviceIds['DynamicTypes/ObjectData/QuantityValueRange']).to(DynamicTypeObjectDataQuantityValueRange).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/Consent']).to(DynamicTypeObjectDataConsent).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/Firstname']).to(DynamicTypeObjectDataFirstname).inSingletonScope() container.bind(serviceIds['DynamicTypes/ObjectData/Lastname']).to(DynamicTypeObjectDataLastname).inSingletonScope() diff --git a/assets/js/src/core/app/config/services/service-ids.ts b/assets/js/src/core/app/config/services/service-ids.ts index 404a4831a..02b6cf76c 100644 --- a/assets/js/src/core/app/config/services/service-ids.ts +++ b/assets/js/src/core/app/config/services/service-ids.ts @@ -112,6 +112,7 @@ export const serviceIds = { 'DynamicTypes/ObjectData/Input': 'DynamicTypes/ObjectData/Input', 'DynamicTypes/ObjectData/Textarea': 'DynamicTypes/ObjectData/Textarea', 'DynamicTypes/ObjectData/Password': 'DynamicTypes/ObjectData/Password', + 'DynamicTypes/ObjectData/InputQuantityValue': 'DynamicTypes/ObjectData/InputQuantityValue', 'DynamicTypes/ObjectData/Select': 'DynamicTypes/ObjectData/Select', 'DynamicTypes/ObjectData/MultiSelect': 'DynamicTypes/ObjectData/MultiSelect', 'DynamicTypes/ObjectData/Language': 'DynamicTypes/ObjectData/Language', @@ -123,6 +124,8 @@ export const serviceIds = { 'DynamicTypes/ObjectData/Numeric': 'DynamicTypes/ObjectData/Numeric', 'DynamicTypes/ObjectData/NumericRange': 'DynamicTypes/ObjectData/NumericRange', 'DynamicTypes/ObjectData/Slider': 'DynamicTypes/ObjectData/Slider', + 'DynamicTypes/ObjectData/QuantityValue': 'DynamicTypes/ObjectData/QuantityValue', + 'DynamicTypes/ObjectData/QuantityValueRange': 'DynamicTypes/ObjectData/QuantityValueRange', 'DynamicTypes/ObjectData/Consent': 'DynamicTypes/ObjectData/Consent', 'DynamicTypes/ObjectData/Firstname': 'DynamicTypes/ObjectData/Firstname', 'DynamicTypes/ObjectData/Lastname': 'DynamicTypes/ObjectData/Lastname', diff --git a/assets/js/src/core/assets/icons/calculator.inline.svg b/assets/js/src/core/assets/icons/calculator.inline.svg new file mode 100644 index 000000000..fe27557ca --- /dev/null +++ b/assets/js/src/core/assets/icons/calculator.inline.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/js/src/core/modules/data-object/hooks/use-quantity-value-units.ts b/assets/js/src/core/modules/data-object/hooks/use-quantity-value-units.ts new file mode 100644 index 000000000..37dbaec87 --- /dev/null +++ b/assets/js/src/core/modules/data-object/hooks/use-quantity-value-units.ts @@ -0,0 +1,90 @@ +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +import { + useClassQuantityValueUnitConvertMutation, + useClassQuantityValueUnitListQuery +} from '@Pimcore/modules/class-definition/class-definition-slice.gen' +import { type DefaultOptionType } from 'rc-select/lib/Select' +import { useTranslation } from 'react-i18next' +import _ from 'lodash' + +interface UseQuantityValueUnitsReturn { + getSelectOptions: (validUnits?: string[]) => DefaultOptionType[] + convertValue: (fromUnitId: string, toUnitId: string, value: number) => Promise + getAbbreviation: (unitId: string) => string +} + +export const useQuantityValueUnits = (): UseQuantityValueUnitsReturn => { + const { data: units } = useClassQuantityValueUnitListQuery() + const [convertQuantityValue] = useClassQuantityValueUnitConvertMutation() + const { t } = useTranslation() + + const getSelectOptions = (validUnits?: string[]): DefaultOptionType[] => { + if (units?.items === undefined) { + return [] + } + + return units + .items + .filter(unit => validUnits === undefined || (unit.id !== null && validUnits.includes(unit.id))) + .map(unit => ({ + label: unit.abbreviation === null ? unit.id : t(unit.abbreviation), + value: unit.id + })) + } + + const convertValue = async (fromUnitId: string, toUnitId: string, value: number): Promise => { + if (units?.items === undefined) { + return null + } + const fromUnit = units.items.find(unit => unit.id === fromUnitId) + const toUnit = units.items.find(unit => unit.id === toUnitId) + if (fromUnit === undefined || toUnit === undefined) { + return null + } + if (fromUnit.baseUnit === null || fromUnit.baseUnit !== toUnit.baseUnit) { + return null + } + + const { data } = await convertQuantityValue({ + convertParameters: { + fromUnitId, + toUnitId, + value + } + }).catch(() => { + throw new Error('Error converting quantity value.') + }) + + return data?.data ?? null + } + + const getAbbreviation = (unitId: string): string => { + if (units?.items === undefined) { + return '' + } + + const unit = units.items.find(unit => unit.id === unitId) + if (typeof unit?.abbreviation === 'string' && !_.isEmpty(unit.abbreviation)) { + return t(unit.abbreviation) + } + return unitId + } + + return { + getSelectOptions, + convertValue, + getAbbreviation + } +} diff --git a/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/input-quantity-value/input-quantity-value.styles.tsx b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/input-quantity-value/input-quantity-value.styles.tsx new file mode 100644 index 000000000..246b2afa5 --- /dev/null +++ b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/input-quantity-value/input-quantity-value.styles.tsx @@ -0,0 +1,38 @@ +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +import { createStyles } from 'antd-style' + +export const useStyles = createStyles(({ css, token }) => { + return { + select: css` + min-width: 100px; + `, + input: css` + min-width: 80px; + ` + } +}) diff --git a/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/input-quantity-value/input-quantity-value.tsx b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/input-quantity-value/input-quantity-value.tsx new file mode 100644 index 000000000..6ea9f671b --- /dev/null +++ b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/input-quantity-value/input-quantity-value.tsx @@ -0,0 +1,89 @@ +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +import React, { useEffect, useState } from 'react' +import { Flex } from '@Pimcore/components/flex/flex' +import { Input } from 'antd' +import _ from 'lodash' +import { useQuantityValueUnits } from '@Pimcore/modules/data-object/hooks/use-quantity-value-units' +import { Select } from '@Pimcore/components/select/select' +import { useTranslation } from 'react-i18next' +import { toCssDimension } from '@Pimcore/utils/css' +import { useStyles } from './input-quantity-value.styles' + +export interface InputQuantityValueProps { + value?: InputQuantityValueValue | null + className?: string + onChange?: (value: InputQuantityValueValue | null) => void + validUnits?: string[] | null + width?: string | null +} + +export interface InputQuantityValueValue { + value: string | null + unitId: string | null +} + +export const InputQuantityValue = (props: InputQuantityValueProps): React.JSX.Element => { + const [value, setValue] = useState(props.value ?? { value: null, unitId: null }) + const { getSelectOptions } = useQuantityValueUnits() + const { t } = useTranslation() + const { styles } = useStyles() + + const onChangeInput = (e: React.ChangeEvent): void => { + const newValue = e.target.value + + setValue({ + ...value, + value: _.isEmpty(newValue) ? null : newValue + }) + } + + const onChangeSelect = (unitId?: string): void => { + setValue({ + ...value, + unitId: _.isEmpty(unitId) ? null : (unitId ?? null) + }) + } + + useEffect(() => { + if (props.onChange !== undefined) { + props.onChange(value.value === null && value.unitId === null ? null : value) + } + }, [value]) + + return ( + + + + + ) +} diff --git a/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/components/calculator/calculator-button.tsx b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/components/calculator/calculator-button.tsx new file mode 100644 index 000000000..19e83b3f6 --- /dev/null +++ b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/components/calculator/calculator-button.tsx @@ -0,0 +1,66 @@ +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +import React, { useMemo, useState } from 'react' +import { IconButton } from '@Pimcore/components/icon-button/icon-button' +import { Popover } from 'antd' +import { QuantityValueCalculatorContent } from './calculator-content' +import { + type ConvertedQuantityValues, + useClassQuantityValueUnitConvertAllMutation +} from '@Pimcore/modules/class-definition/class-definition-slice.gen' + +interface QuantityValueCalculatorButtonProps { + value: number + unitId: string +} + +export const QuantityValueCalculatorButton = (props: QuantityValueCalculatorButtonProps): React.JSX.Element => { + const [apiResponse, setApiResponse] = useState(undefined) + const [convertQuantityValue] = useClassQuantityValueUnitConvertAllMutation() + + useMemo((): void => { + convertQuantityValue({ + convertAllParameters: { + value: props.value, + fromUnitId: props.unitId + } + }).then((res) => { + setApiResponse(res.data) + }).catch(() => { + throw new Error('Error converting quantity value.') + }) + }, [props.value, props.unitId]) + + if (apiResponse === undefined || apiResponse.convertedValues.length === 0) { + return <> + } + + return ( + + } + trigger="click" + > + + + ) +} diff --git a/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/components/calculator/calculator-content.tsx b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/components/calculator/calculator-content.tsx new file mode 100644 index 000000000..e702caee9 --- /dev/null +++ b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/components/calculator/calculator-content.tsx @@ -0,0 +1,51 @@ +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +import React from 'react' +import { + type ConvertedQuantityValues2 +} from '@Pimcore/modules/class-definition/class-definition-slice.gen' +import { formatNumber } from '@Pimcore/utils/number' +import { useTranslation } from 'react-i18next' +import { Header } from '@Pimcore/components/header/header' +import { Flex } from '@Pimcore/components/flex/flex' +import { useQuantityValueUnits } from '@Pimcore/modules/data-object/hooks/use-quantity-value-units' +import _ from 'lodash' + +interface QuantityValueCalculatorContentProps { + value: number + unitId: string + convertedValues: ConvertedQuantityValues2[] +} + +export const QuantityValueCalculatorContent = (props: QuantityValueCalculatorContentProps): React.JSX.Element => { + const { t } = useTranslation() + const { getAbbreviation } = useQuantityValueUnits() + + return ( + <> +
+ + {props.convertedValues.map((item) => ( + + {formatNumber({ value: props.value })} {getAbbreviation(props.unitId)} + = + {formatNumber({ value: item.convertedValue ?? 0 })} {!_.isEmpty(item.unitAbbreviation) ? t(item.unitAbbreviation!) : ''} + + ))} + + ) +} diff --git a/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/quantity-value.styles.tsx b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/quantity-value.styles.tsx new file mode 100644 index 000000000..246b2afa5 --- /dev/null +++ b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/quantity-value.styles.tsx @@ -0,0 +1,38 @@ +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +import { createStyles } from 'antd-style' + +export const useStyles = createStyles(({ css, token }) => { + return { + select: css` + min-width: 100px; + `, + input: css` + min-width: 80px; + ` + } +}) diff --git a/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/quantity-value.tsx b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/quantity-value.tsx new file mode 100644 index 000000000..a65997c4a --- /dev/null +++ b/assets/js/src/core/modules/element/dynamic-types/defintinitions/objects/data-related/components/quantity-value/quantity-value.tsx @@ -0,0 +1,115 @@ +/** +* Pimcore +* +* This source file is available under two different licenses: +* - Pimcore Open Core License (POCL) +* - Pimcore Commercial License (PCL) +* Full copyright and license information is available in +* LICENSE.md which is distributed with this source code. +* +* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org) +* @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL +*/ + +import React, { useEffect, useState } from 'react' +import { Flex } from '@Pimcore/components/flex/flex' +import { InputNumber } from 'antd' +import _ from 'lodash' +import { useQuantityValueUnits } from '@Pimcore/modules/data-object/hooks/use-quantity-value-units' +import { Select } from '@Pimcore/components/select/select' +import { useTranslation } from 'react-i18next' +import { toCssDimension } from '@Pimcore/utils/css' +import { type ValueType } from '@rc-component/mini-decimal/es/interface' +import { QuantityValueCalculatorButton } from './components/calculator/calculator-button' +import { useStyles } from './quantity-value.styles' +import cn from 'classnames' + +export interface QuantityValueProps { + value?: QuantityValueValue | null + className?: string + onChange?: (value: QuantityValueValue | null) => void + validUnits?: string[] | null + unitWidth?: string | null + width?: string | null + decimalPrecision?: number | null + autoConvert: boolean +} + +export interface QuantityValueValue { + value: ValueType | null + unitId: string | null +} + +export const QuantityValue = (props: QuantityValueProps): React.JSX.Element => { + const [value, setValue] = useState(props.value ?? { value: null, unitId: null }) + const { getSelectOptions } = useQuantityValueUnits() + const { t } = useTranslation() + const { convertValue } = useQuantityValueUnits() + const { styles } = useStyles() + + const onChangeNumber = (newValue: ValueType | null): void => { + setValue({ + ...value, + value: newValue ?? null + }) + } + + const onChangeSelect = (unitId?: string): void => { + if (props.autoConvert && !_.isEmpty(unitId) && typeof value?.value === 'number' && value?.unitId !== null) { + void convertValue(value.unitId, unitId!, value.value).then((convertedValue: number | null) => { + if (convertedValue === null) { + return + } + + setValue({ + unitId: unitId!, + value: convertedValue + }) + }) + } + + setValue({ + ...value, + unitId: _.isEmpty(unitId) ? null : (unitId ?? null) + }) + } + + useEffect(() => { + if (props.onChange !== undefined) { + props.onChange(value.value === null && value.unitId === null ? null : value) + } + }, [value]) + + return ( + + + ",n=document.createElement("div");return n.innerHTML=r,n.firstChild},_addItem:function(e){var t,r=document.createElement("label"),n=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=n):t=this._createRadioElement("leaflet-base-layers_"+a(this),n),this._layerControlInputs.push(t),t.layerId=a(e.layer),$t(t,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+e.name;var i=document.createElement("span");return r.appendChild(i),i.appendChild(t),i.appendChild(o),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(r),this._checkDisabledLayers(),r},_onInputClick:function(){if(!this._preventClick){var e,t,r=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var i=r.length-1;i>=0;i--)e=r[i],t=this._getLayer(e.layerId).layer,e.checked?n.push(t):e.checked||o.push(t);for(i=0;i=0;o--)e=r[o],t=this._getLayer(e.layerId).layer,e.disabled=void 0!==t.options.minZoom&&nt.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,$t(e,"click",Xt),this.expand();var t=this;setTimeout((function(){zt(e,"click",Xt),t._preventClick=!1}))}}),cr=function(e,t,r){return new lr(e,t,r)},ur=ar.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",r=mt("div",t+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,t+"-in",r,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,t+"-out",r,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),r},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,r,n,o){var i=mt("a",r,n);return i.innerHTML=e,i.href="#",i.title=t,i.setAttribute("role","button"),i.setAttribute("aria-label",t),Zt(i),$t(i,"click",qt),$t(i,"click",o,this),$t(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";St(this._zoomInButton,t),St(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(wt(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(wt(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});or.mergeOptions({zoomControl:!0}),or.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new ur,this.addControl(this.zoomControl))}));var fr=function(e){return new ur(e)},dr=ar.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",r=mt("div",t),n=this.options;return this._addScales(n,t+"-line",r),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),r},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,r){e.metric&&(this._mScale=mt("div",t,r)),e.imperial&&(this._iScale=mt("div",t,r))},_update:function(){var e=this._map,t=e.getSize().y/2,r=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(r)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),r=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,r,t/e)},_updateImperial:function(e){var t,r,n,o=3.2808399*e;o>5280?(t=o/5280,r=this._getRoundNum(t),this._updateScale(this._iScale,r+" mi",r/t)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(e,t,r){e.style.width=Math.round(this.options.maxWidth*r)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),r=e/t;return t*(r=r>=10?10:r>=5?5:r>=3?3:r>=2?2:1)}}),pr=function(e){return new dr(e)},hr='',mr=ar.extend({options:{position:"bottomright",prefix:''+(Be.inlineSvg?hr+" ":"")+"Leaflet"},initialize:function(e){p(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=mt("div","leaflet-control-attribution"),Zt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",(function(){this.removeAttribution(e.layer.getAttribution())}),this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var r=[];this.options.prefix&&r.push(this.options.prefix),e.length&&r.push(e.join(", ")),this._container.innerHTML=r.join(' ')}}});or.mergeOptions({attributionControl:!0}),or.addInitHook((function(){this.options.attributionControl&&(new mr).addTo(this)}));var yr=function(e){return new mr(e)};ar.Layers=lr,ar.Zoom=ur,ar.Scale=dr,ar.Attribution=mr,sr.layers=cr,sr.zoom=fr,sr.scale=pr,sr.attribution=yr;var gr=j.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});gr.addTo=function(e,t){return e.addHandler(t,this),this};var vr={Events:k},br=Be.touch?"touchstart mousedown":"mousedown",Or=A.extend({options:{clickTolerance:3},initialize:function(e,t,r,n){p(this,n),this._element=e,this._dragStartTarget=t||e,this._preventOutline=r},enable:function(){this._enabled||($t(this._dragStartTarget,br,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Or._dragging===this&&this.finishDrag(!0),zt(this._dragStartTarget,br,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!Ot(this._element,"leaflet-zoom-anim")))if(e.touches&&1!==e.touches.length)Or._dragging===this&&this.finishDrag();else if(!(Or._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||(Or._dragging=this,this._preventOutline&&Rt(this._element),Dt(),it(),this._moving))){this.fire("down");var t=e.touches?e.touches[0]:e,r=It(this._element);this._startPoint=new D(t.clientX,t.clientY),this._startPos=kt(this._element),this._parentScale=Nt(r);var n="mousedown"===e.type;$t(document,n?"mousemove":"touchmove",this._onMove,this),$t(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(e){if(this._enabled)if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,r=new D(t.clientX,t.clientY)._subtract(this._startPoint);(r.x||r.y)&&(Math.abs(r.x)+Math.abs(r.y)l&&(i=a,l=s);l>r&&(t[i]=1,kr(e,t,r,n,i),kr(e,t,r,i,o))}function Ar(e,t){for(var r=[e[0]],n=1,o=0,i=e.length;nt&&(r.push(e[n]),o=n);return ot.max.x&&(r|=2),e.yt.max.y&&(r|=8),r}function Mr(e,t){var r=t.x-e.x,n=t.y-e.y;return r*r+n*n}function Ir(e,t,r,n){var o,i=t.x,a=t.y,s=r.x-i,l=r.y-a,c=s*s+l*l;return c>0&&((o=((e.x-i)*s+(e.y-a)*l)/c)>1?(i=r.x,a=r.y):o>0&&(i+=s*o,a+=l*o)),s=e.x-i,l=e.y-a,n?s*s+l*l:new D(i,a)}function Nr(e){return!g(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function Br(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Nr(e)}function $r(e,t){var r,n,o,i,a,s,l,c;if(!e||0===e.length)throw new Error("latlngs not passed");Nr(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var u=z([0,0]),f=$(e);f.getNorthWest().distanceTo(f.getSouthWest())*f.getNorthEast().distanceTo(f.getNorthWest())<1700&&(u=xr(e));var d=e.length,p=[];for(r=0;rn){l=(i-n)/o,c=[s.x-l*(s.x-a.x),s.y-l*(s.y-a.y)];break}var m=t.unproject(M(c));return z([m.lat+u.lat,m.lng+u.lng])}var Fr={__proto__:null,simplify:Pr,pointToSegmentDistance:Tr,closestPointOnSegment:jr,clipSegment:Dr,_getEdgeIntersection:Lr,_getBitCode:Rr,_sqClosestPointOnSegment:Ir,isFlat:Nr,_flat:Br,polylineCenter:$r},zr={project:function(e){return new D(e.lng,e.lat)},unproject:function(e){return new F(e.y,e.x)},bounds:new I([-180,-90],[180,90])},Qr={R:6378137,R_MINOR:6356752.314245179,bounds:new I([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,r=this.R,n=e.lat*t,o=this.R_MINOR/r,i=Math.sqrt(1-o*o),a=i*Math.sin(n),s=Math.tan(Math.PI/4-n/2)/Math.pow((1-a)/(1+a),i/2);return n=-r*Math.log(Math.max(s,1e-10)),new D(e.lng*t*r,n)},unproject:function(e){for(var t,r=180/Math.PI,n=this.R,o=this.R_MINOR/n,i=Math.sqrt(1-o*o),a=Math.exp(-e.y/n),s=Math.PI/2-2*Math.atan(a),l=0,c=.1;l<15&&Math.abs(c)>1e-7;l++)t=i*Math.sin(s),t=Math.pow((1-t)/(1+t),i/2),s+=c=Math.PI/2-2*Math.atan(a*t)-s;return new F(s*r,e.x*r/n)}},Vr={__proto__:null,LonLat:zr,Mercator:Qr,SphericalMercator:W},Ur=r({},U,{code:"EPSG:3395",projection:Qr,transformation:function(){var e=.5/(Math.PI*Qr.R);return Z(e,.5,-e,.5)}()}),Gr=r({},U,{code:"EPSG:4326",projection:zr,transformation:Z(1/180,1,-1/180,.5)}),Wr=r({},V,{projection:zr,transformation:Z(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var r=t.lng-e.lng,n=t.lat-e.lat;return Math.sqrt(r*r+n*n)},infinite:!0});V.Earth=U,V.EPSG3395=Ur,V.EPSG3857=X,V.EPSG900913=q,V.EPSG4326=Gr,V.Simple=Wr;var Hr=A.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[a(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[a(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var r=this.getEvents();t.on(r,this),this.once("remove",(function(){t.off(r,this)}),this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});or.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=a(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=a(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return a(e)in this._layers},eachLayer:function(e,t){for(var r in this._layers)e.call(t,this._layers[r]);return this},_addLayers:function(e){for(var t=0,r=(e=e?g(e)?e:[e]:[]).length;tthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()=2&&t[0]instanceof F&&t[0].equals(t[r-1])&&t.pop(),t},_setLatLngs:function(e){un.prototype._setLatLngs.call(this,e),Nr(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Nr(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,r=new D(t,t);if(e=new I(e.min.subtract(r),e.max.add(r)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,i=this._rings.length;oe.y!=n.y>e.y&&e.x<(n.x-r.x)*(e.y-r.y)/(n.y-r.y)+r.x&&(c=!c);return c||un.prototype._containsPoint.call(this,e,!0)}});function pn(e,t){return new dn(e,t)}var hn=qr.extend({initialize:function(e,t){p(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,r,n,o=g(e)?e:e.features;if(o){for(t=0,r=o.length;t0&&o.push(o[0].slice()),o}function wn(e,t){return e.feature?r({},e.feature,{geometry:t}):Sn(t)}function Sn(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var xn={toGeoJSON:function(e){return wn(this,{type:"Point",coordinates:bn(this.getLatLng(),e)})}};function En(e,t){return new hn(e,t)}rn.include(xn),ln.include(xn),an.include(xn),un.include({toGeoJSON:function(e){var t=!Nr(this._latlngs);return wn(this,{type:(t?"Multi":"")+"LineString",coordinates:On(this._latlngs,t?1:0,!1,e)})}}),dn.include({toGeoJSON:function(e){var t=!Nr(this._latlngs),r=t&&!Nr(this._latlngs[0]),n=On(this._latlngs,r?2:t?1:0,!0,e);return t||(n=[n]),wn(this,{type:(r?"Multi":"")+"Polygon",coordinates:n})}}),Zr.include({toMultiPoint:function(e){var t=[];return this.eachLayer((function(r){t.push(r.toGeoJSON(e).geometry.coordinates)})),wn(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var r="GeometryCollection"===t,n=[];return this.eachLayer((function(t){if(t.toGeoJSON){var o=t.toGeoJSON(e);if(r)n.push(o.geometry);else{var i=Sn(o);"FeatureCollection"===i.type?n.push.apply(n,i.features):n.push(i)}}})),r?wn(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var _n=En,Pn=Hr.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,r){this._url=e,this._bounds=$(t),p(this,r)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(wt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){yt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&vt(this._image),this},bringToBack:function(){return this._map&&bt(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=$(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:mt("img");wt(t,"leaflet-image-layer"),this._zoomAnimated&&wt(t,"leaflet-zoom-animated"),this.options.className&&wt(t,this.options.className),t.onselectstart=c,t.onmousemove=c,t.onload=o(this.fire,this,"load"),t.onerror=o(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),r=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;jt(this._image,r,t)},_reset:function(){var e=this._image,t=new I(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),r=t.getSize();Ct(e,t.min),e.style.width=r.x+"px",e.style.height=r.y+"px"},_updateOpacity:function(){_t(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Tn=function(e,t,r){return new Pn(e,t,r)},jn=Pn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:mt("video");if(wt(t,"leaflet-image-layer"),this._zoomAnimated&&wt(t,"leaflet-zoom-animated"),this.options.className&&wt(t,this.options.className),t.onselectstart=c,t.onmousemove=c,t.onloadeddata=o(this.fire,this,"load"),e){for(var r=t.getElementsByTagName("source"),n=[],i=0;i0?n:[t.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var a=0;ao?(t.height=o+"px",wt(e,i)):St(e,i),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),r=this._getAnchor();Ct(this._container,t.add(r))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var e=this._map,t=parseInt(ht(this._container,"marginBottom"),10)||0,r=this._container.offsetHeight+t,n=this._containerWidth,o=new D(this._containerLeft,-r-this._containerBottom);o._add(kt(this._container));var i=e.layerPointToContainerPoint(o),a=M(this.options.autoPanPadding),s=M(this.options.autoPanPaddingTopLeft||a),l=M(this.options.autoPanPaddingBottomRight||a),c=e.getSize(),u=0,f=0;i.x+n+l.x>c.x&&(u=i.x+n-c.x+l.x),i.x-u-s.x<0&&(u=i.x-s.x),i.y+r+l.y>c.y&&(f=i.y+r-c.y+l.y),i.y-f-s.y<0&&(f=i.y-s.y),(u||f)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([u,f]))}},_getAnchor:function(){return M(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Rn=function(e,t){return new Ln(e,t)};or.mergeOptions({closePopupOnClick:!0}),or.include({openPopup:function(e,t,r){return this._initOverlay(Ln,e,t,r).openOn(this),this},closePopup:function(e){return(e=arguments.length?e:this._popup)&&e.close(),this}}),Hr.include({bindPopup:function(e,t){return this._popup=this._initOverlay(Ln,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof qr||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){qt(e);var t=e.layer||e.target;this._popup._source!==t||t instanceof on?(this._popup._source=t,this.openPopup(e.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var Mn=Dn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Dn.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Dn.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Dn.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=mt("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+a(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,r,n=this._map,o=this._container,i=n.latLngToContainerPoint(n.getCenter()),a=n.layerPointToContainerPoint(e),s=this.options.direction,l=o.offsetWidth,c=o.offsetHeight,u=M(this.options.offset),f=this._getAnchor();"top"===s?(t=l/2,r=c):"bottom"===s?(t=l/2,r=0):"center"===s?(t=l/2,r=c/2):"right"===s?(t=0,r=c/2):"left"===s?(t=l,r=c/2):a.xthis.options.maxZoom||rn&&this._retainParent(o,i,a,n))},_retainChildren:function(e,t,r,n){for(var o=2*e;o<2*e+2;o++)for(var i=2*t;i<2*t+2;i++){var a=new D(o,i);a.z=r+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),r+1this.options.maxZoom||void 0!==this.options.minZoom&&o1)this._setView(e,r);else{for(var f=o.min.y;f<=o.max.y;f++)for(var d=o.min.x;d<=o.max.x;d++){var p=new D(d,f);if(p.z=this._tileZoom,this._isValidTile(p)){var h=this._tiles[this._tileCoordsToKey(p)];h?h.current=!0:a.push(p)}}if(a.sort((function(e,t){return e.distanceTo(i)-t.distanceTo(i)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dr.max.x)||!t.wrapLat&&(e.yr.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(e);return $(this.options.bounds).overlaps(n)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,r=this.getTileSize(),n=e.scaleBy(r),o=n.add(r);return[t.unproject(n,e.z),t.unproject(o,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),r=new B(t[0],t[1]);return this.options.noWrap||(r=this._map.wrapLatLngBounds(r)),r},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),r=new D(+t[0],+t[1]);return r.z=+t[2],r},_removeTile:function(e){var t=this._tiles[e];t&&(yt(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){wt(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=c,e.onmousemove=c,Be.ielt9&&this.options.opacity<1&&_t(e,this.options.opacity)},_addTile:function(e,t){var r=this._getTilePos(e),n=this._tileCoordsToKey(e),i=this.createTile(this._wrapCoords(e),o(this._tileReady,this,e));this._initTile(i),this.createTile.length<2&&_(o(this._tileReady,this,e,null,i)),Ct(i,r),this._tiles[n]={el:i,coords:e,current:!0},t.appendChild(i),this.fire("tileloadstart",{tile:i,coords:e})},_tileReady:function(e,t,r){t&&this.fire("tileerror",{error:t,tile:r,coords:e});var n=this._tileCoordsToKey(e);(r=this._tiles[n])&&(r.loaded=+new Date,this._map._fadeAnimated?(_t(r.el,0),P(this._fadeFrame),this._fadeFrame=_(this._updateOpacity,this)):(r.active=!0,this._pruneTiles()),t||(wt(r.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:r.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Be.ielt9||!this._map._fadeAnimated?_(this._pruneTiles,this):setTimeout(o(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new D(this._wrapX?l(e.x,this._wrapX):e.x,this._wrapY?l(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new I(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function Fn(e){return new $n(e)}var zn=$n.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=p(this,t)).detectRetina&&Be.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var r=document.createElement("img");return $t(r,"load",o(this._tileOnLoad,this,t,r)),$t(r,"error",o(this._tileOnError,this,t,r)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(r.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(r.referrerPolicy=this.options.referrerPolicy),r.alt="",r.src=this.getTileUrl(e),r},getTileUrl:function(e){var t={r:Be.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=n),t["-y"]=n}return y(this._url,r(t,this.options))},_tileOnLoad:function(e,t){Be.ielt9?setTimeout(o(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,r){var n=this.options.errorTileUrl;n&&t.getAttribute("src")!==n&&(t.src=n),e(r,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom;return this.options.zoomReverse&&(e=t-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=c,t.onerror=c,!t.complete)){t.src=b;var r=this._tiles[e].coords;yt(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:r})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",b),$n.prototype._removeTile.call(this,e)},_tileReady:function(e,t,r){if(this._map&&(!r||r.getAttribute("src")!==b))return $n.prototype._tileReady.call(this,e,t,r)}});function Qn(e,t){return new zn(e,t)}var Vn=zn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var n=r({},this.defaultWmsParams);for(var o in t)o in this.options||(n[o]=t[o]);var i=(t=p(this,t)).detectRetina&&Be.retina?2:1,a=this.getTileSize();n.width=a.x*i,n.height=a.y*i,this.wmsParams=n},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,zn.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),r=this._crs,n=N(r.project(t[0]),r.project(t[1])),o=n.min,i=n.max,a=(this._wmsVersion>=1.3&&this._crs===Gr?[o.y,o.x,i.y,i.x]:[o.x,o.y,i.x,i.y]).join(","),s=zn.prototype.getTileUrl.call(this,e);return s+h(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(e,t){return r(this.wmsParams,e),t||this.redraw(),this}});function Un(e,t){return new Vn(e,t)}zn.WMS=Vn,Qn.wms=Un;var Gn=Hr.extend({options:{padding:.1},initialize:function(e){p(this,e),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),wt(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var r=this._map.getZoomScale(t,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,t),i=n.multiplyBy(-r).add(o).subtract(this._map._getNewPixelOrigin(e,t));Be.any3d?jt(this._container,i,r):Ct(this._container,i)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),r=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new I(r,r.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Wn=Gn.extend({options:{tolerance:0},getEvents:function(){var e=Gn.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Gn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");$t(e,"mousemove",this._onMouseMove,this),$t(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),$t(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){P(this._redrawRequest),delete this._ctx,yt(this._container),zt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Gn.prototype._update.call(this);var e=this._bounds,t=this._container,r=e.getSize(),n=Be.retina?2:1;Ct(t,e.min),t.width=n*r.x,t.height=n*r.y,t.style.width=r.x+"px",t.style.height=r.y+"px",Be.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){Gn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[a(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,r=t.next,n=t.prev;r?r.prev=n:this._drawLast=n,n?n.next=r:this._drawFirst=r,delete e._order,delete this._layers[a(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,r,n=e.options.dashArray.split(/[, ]+/),o=[];for(r=0;r')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Xn={_initContainer:function(){this._container=mt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Gn.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=Zn("shape");wt(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=Zn("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;yt(t),e.removeInteractiveTarget(t),delete this._layers[a(e)]},_updateStyle:function(e){var t=e._stroke,r=e._fill,n=e.options,o=e._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(t||(t=e._stroke=Zn("stroke")),o.appendChild(t),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,n.dashArray?t.dashStyle=g(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=n.lineCap.replace("butt","flat"),t.joinstyle=n.lineJoin):t&&(o.removeChild(t),e._stroke=null),n.fill?(r||(r=e._fill=Zn("fill")),o.appendChild(r),r.color=n.fillColor||n.color,r.opacity=n.fillOpacity):r&&(o.removeChild(r),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),r=Math.round(e._radius),n=Math.round(e._radiusY||r);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+r+","+n+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){vt(e._container)},_bringToBack:function(e){bt(e._container)}},qn=Be.vml?Zn:Y,Yn=Gn.extend({_initContainer:function(){this._container=qn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=qn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){yt(this._container),zt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Gn.prototype._update.call(this);var e=this._bounds,t=e.getSize(),r=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,r.setAttribute("width",t.x),r.setAttribute("height",t.y)),Ct(r,e.min),r.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=qn("path");e.options.className&&wt(t,e.options.className),e.options.interactive&&wt(t,"leaflet-interactive"),this._updateStyle(e),this._layers[a(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){yt(e._path),e.removeInteractiveTarget(e._path),delete this._layers[a(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,r=e.options;t&&(r.stroke?(t.setAttribute("stroke",r.color),t.setAttribute("stroke-opacity",r.opacity),t.setAttribute("stroke-width",r.weight),t.setAttribute("stroke-linecap",r.lineCap),t.setAttribute("stroke-linejoin",r.lineJoin),r.dashArray?t.setAttribute("stroke-dasharray",r.dashArray):t.removeAttribute("stroke-dasharray"),r.dashOffset?t.setAttribute("stroke-dashoffset",r.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),r.fill?(t.setAttribute("fill",r.fillColor||r.color),t.setAttribute("fill-opacity",r.fillOpacity),t.setAttribute("fill-rule",r.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,K(e._parts,t))},_updateCircle:function(e){var t=e._point,r=Math.max(Math.round(e._radius),1),n="a"+r+","+(Math.max(Math.round(e._radiusY),1)||r)+" 0 1,0 ",o=e._empty()?"M0 0":"M"+(t.x-r)+","+t.y+n+2*r+",0 "+n+2*-r+",0 ";this._setPath(e,o)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){vt(e._path)},_bringToBack:function(e){bt(e._path)}});function Kn(e){return Be.svg||Be.vml?new Yn(e):null}Be.vml&&Yn.include(Xn),or.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&Hn(e)||Kn(e)}});var Jn=dn.extend({initialize:function(e,t){dn.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=$(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function eo(e,t){return new Jn(e,t)}Yn.create=qn,Yn.pointsToPath=K,hn.geometryToLayer=mn,hn.coordsToLatLng=gn,hn.coordsToLatLngs=vn,hn.latLngToCoords=bn,hn.latLngsToCoords=On,hn.getFeature=wn,hn.asFeature=Sn,or.mergeOptions({boxZoom:!0});var to=gr.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){$t(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){zt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){yt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),it(),Dt(),this._startPoint=this._map.mouseEventToContainerPoint(e),$t(document,{contextmenu:qt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=mt("div","leaflet-zoom-box",this._container),wt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new I(this._point,this._startPoint),r=t.getSize();Ct(this._box,t.min),this._box.style.width=r.x+"px",this._box.style.height=r.y+"px"},_finish:function(){this._moved&&(yt(this._box),St(this._container,"leaflet-crosshair")),at(),Lt(),zt(document,{contextmenu:qt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(o(this._resetState,this),0);var t=new B(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});or.addInitHook("addHandler","boxZoom",to),or.mergeOptions({doubleClickZoom:!0});var ro=gr.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,r=t.getZoom(),n=t.options.zoomDelta,o=e.originalEvent.shiftKey?r-n:r+n;"center"===t.options.doubleClickZoom?t.setZoom(o):t.setZoomAround(e.containerPoint,o)}});or.addInitHook("addHandler","doubleClickZoom",ro),or.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var no=gr.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new Or(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}wt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){St(this._map._container,"leaflet-grab"),St(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=$(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,r=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(r),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.xt.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),r=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-t+r)%e+t-r,i=(n+t+r)%e-t-r,a=Math.abs(o+r)0?i:-i))-t;this._delta=0,this._startTime=null,a&&("center"===e.options.scrollWheelZoom?e.setZoom(t+a):e.setZoomAround(this._lastMousePos,t+a))}});or.addInitHook("addHandler","scrollWheelZoom",io);var ao=600;or.mergeOptions({tapHold:Be.touchNative&&Be.safari&&Be.mobile,tapTolerance:15});var so=gr.extend({addHooks:function(){$t(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){zt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),1===e.touches.length){var t=e.touches[0];this._startPos=this._newPos=new D(t.clientX,t.clientY),this._holdTimeout=setTimeout(o((function(){this._cancel(),this._isTapValid()&&($t(document,"touchend",Xt),$t(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))}),this),ao),$t(document,"touchend touchcancel contextmenu",this._cancel,this),$t(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){zt(document,"touchend",Xt),zt(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),zt(document,"touchend touchcancel contextmenu",this._cancel,this),zt(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new D(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var r=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});r._simulated=!0,t.target.dispatchEvent(r)}});or.addInitHook("addHandler","tapHold",so),or.mergeOptions({touchZoom:Be.touch,bounceAtZoomLimits:!0});var lo=gr.extend({addHooks:function(){wt(this._map._container,"leaflet-touch-zoom"),$t(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){St(this._map._container,"leaflet-touch-zoom"),zt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var r=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(r.add(n)._divideBy(2))),this._startDist=r.distanceTo(n),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),$t(document,"touchmove",this._onTouchMove,this),$t(document,"touchend touchcancel",this._onTouchEnd,this),Xt(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,r=t.mouseEventToContainerPoint(e.touches[0]),n=t.mouseEventToContainerPoint(e.touches[1]),i=r.distanceTo(n)/this._startDist;if(this._zoom=t.getScaleZoom(i,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoomt.getMaxZoom()&&i>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===i)return}else{var a=r._add(n)._divideBy(2)._subtract(this._centerPoint);if(1===i&&0===a.x&&0===a.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),P(this._animRequest);var s=o(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=_(s,this,!0),Xt(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,P(this._animRequest),zt(document,"touchmove",this._onTouchMove,this),zt(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});or.addInitHook("addHandler","touchZoom",lo),or.BoxZoom=to,or.DoubleClickZoom=ro,or.Drag=no,or.Keyboard=oo,or.ScrollWheelZoom=io,or.TapHold=so,or.TouchZoom=lo,e.Bounds=I,e.Browser=Be,e.CRS=V,e.Canvas=Wn,e.Circle=ln,e.CircleMarker=an,e.Class=j,e.Control=ar,e.DivIcon=Nn,e.DivOverlay=Dn,e.DomEvent=rr,e.DomUtil=Bt,e.Draggable=Or,e.Evented=A,e.FeatureGroup=qr,e.GeoJSON=hn,e.GridLayer=$n,e.Handler=gr,e.Icon=Kr,e.ImageOverlay=Pn,e.LatLng=F,e.LatLngBounds=B,e.Layer=Hr,e.LayerGroup=Zr,e.LineUtil=Fr,e.Map=or,e.Marker=rn,e.Mixin=vr,e.Path=on,e.Point=D,e.PolyUtil=_r,e.Polygon=dn,e.Polyline=un,e.Popup=Ln,e.PosAnimation=nr,e.Projection=Vr,e.Rectangle=Jn,e.Renderer=Gn,e.SVG=Yn,e.SVGOverlay=kn,e.TileLayer=zn,e.Tooltip=Mn,e.Transformation=H,e.Util=T,e.VideoOverlay=jn,e.bind=o,e.bounds=N,e.canvas=Hn,e.circle=cn,e.circleMarker=sn,e.control=sr,e.divIcon=Bn,e.extend=r,e.featureGroup=Yr,e.geoJSON=En,e.geoJson=_n,e.gridLayer=Fn,e.icon=Jr,e.imageOverlay=Tn,e.latLng=z,e.latLngBounds=$,e.layerGroup=Xr,e.map=ir,e.marker=nn,e.point=M,e.polygon=pn,e.polyline=fn,e.popup=Rn,e.rectangle=eo,e.setOptions=p,e.stamp=a,e.svg=Kn,e.svgOverlay=An,e.tileLayer=Qn,e.tooltip=In,e.transformation=Z,e.version=t,e.videoOverlay=Cn;var co=window.L;e.noConflict=function(){return window.L=co,this},window.L=e}(t)},96486:function(e,t,r){var n;e=r.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,f=128,d=256,p=1/0,h=9007199254740991,m=NaN,y=4294967295,g=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",d]],v="[object Arguments]",b="[object Array]",O="[object Boolean]",w="[object Date]",S="[object Error]",x="[object Function]",E="[object GeneratorFunction]",_="[object Map]",P="[object Number]",T="[object Object]",j="[object Promise]",C="[object RegExp]",k="[object Set]",A="[object String]",D="[object Symbol]",L="[object WeakMap]",R="[object ArrayBuffer]",M="[object DataView]",I="[object Float32Array]",N="[object Float64Array]",B="[object Int8Array]",$="[object Int16Array]",F="[object Int32Array]",z="[object Uint8Array]",Q="[object Uint8ClampedArray]",V="[object Uint16Array]",U="[object Uint32Array]",G=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Z=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,q=RegExp(Z.source),Y=RegExp(X.source),K=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,Oe=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Se=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Pe="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",je="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\ufe0e\\ufe0f",ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="['’]",De="["+Ee+"]",Le="["+ke+"]",Re="["+_e+"]",Me="\\d+",Ie="["+Pe+"]",Ne="["+Te+"]",Be="[^"+Ee+ke+Me+Pe+Te+je+"]",$e="\\ud83c[\\udffb-\\udfff]",Fe="[^"+Ee+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+je+"]",Ue="\\u200d",Ge="(?:"+Ne+"|"+Be+")",We="(?:"+Ve+"|"+Be+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Ze="(?:['’](?:D|LL|M|RE|S|T|VE))?",Xe="(?:"+Re+"|"+$e+")"+"?",qe="["+Ce+"]?",Ye=qe+Xe+("(?:"+Ue+"(?:"+[Fe,ze,Qe].join("|")+")"+qe+Xe+")*"),Ke="(?:"+[Ie,ze,Qe].join("|")+")"+Ye,Je="(?:"+[Fe+Re+"?",Re,ze,Qe,De].join("|")+")",et=RegExp(Ae,"g"),tt=RegExp(Re,"g"),rt=RegExp($e+"(?="+$e+")|"+Je+Ye,"g"),nt=RegExp([Ve+"?"+Ne+"+"+He+"(?="+[Le,Ve,"$"].join("|")+")",We+"+"+Ze+"(?="+[Le,Ve+Ge,"$"].join("|")+")",Ve+"?"+Ge+"+"+He,Ve+"+"+Ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ke].join("|"),"g"),ot=RegExp("["+Ue+Ee+_e+Ce+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[I]=lt[N]=lt[B]=lt[$]=lt[F]=lt[z]=lt[Q]=lt[V]=lt[U]=!0,lt[v]=lt[b]=lt[R]=lt[O]=lt[M]=lt[w]=lt[S]=lt[x]=lt[_]=lt[P]=lt[T]=lt[C]=lt[k]=lt[A]=lt[L]=!1;var ct={};ct[v]=ct[b]=ct[R]=ct[M]=ct[O]=ct[w]=ct[I]=ct[N]=ct[B]=ct[$]=ct[F]=ct[_]=ct[P]=ct[T]=ct[C]=ct[k]=ct[A]=ct[D]=ct[z]=ct[Q]=ct[V]=ct[U]=!0,ct[S]=ct[x]=ct[L]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ht||Function("return this")(),yt=t&&!t.nodeType&&t,gt=yt&&e&&!e.nodeType&&e,vt=gt&>.exports===yt,bt=vt&&pt.process,Ot=function(){try{var e=gt&>.require&>.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),wt=Ot&&Ot.isArrayBuffer,St=Ot&&Ot.isDate,xt=Ot&&Ot.isMap,Et=Ot&&Ot.isRegExp,_t=Ot&&Ot.isSet,Pt=Ot&&Ot.isTypedArray;function Tt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function jt(e,t,r,n){for(var o=-1,i=null==e?0:e.length;++o-1}function Rt(e,t,r){for(var n=-1,o=null==e?0:e.length;++n-1;);return r}function nr(e,t){for(var r=e.length;r--&&Vt(t,e[r],0)>-1;);return r}var or=Zt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ir=Zt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(e){return"\\"+ut[e]}function sr(e){return ot.test(e)}function lr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function cr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,o=0,i=[];++r",""":'"',"'":"'"});var gr=function e(t){var r,n=(t=null==t?mt:gr.defaults(mt.Object(),t,gr.pick(mt,at))).Array,se=t.Date,Ee=t.Error,_e=t.Function,Pe=t.Math,Te=t.Object,je=t.RegExp,Ce=t.String,ke=t.TypeError,Ae=n.prototype,De=_e.prototype,Le=Te.prototype,Re=t["__core-js_shared__"],Me=De.toString,Ie=Le.hasOwnProperty,Ne=0,Be=(r=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",$e=Le.toString,Fe=Me.call(Te),ze=mt._,Qe=je("^"+Me.call(Ie).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=vt?t.Buffer:o,Ue=t.Symbol,Ge=t.Uint8Array,We=Ve?Ve.allocUnsafe:o,He=cr(Te.getPrototypeOf,Te),Ze=Te.create,Xe=Le.propertyIsEnumerable,qe=Ae.splice,Ye=Ue?Ue.isConcatSpreadable:o,Ke=Ue?Ue.iterator:o,Je=Ue?Ue.toStringTag:o,rt=function(){try{var e=pi(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==mt.Date.now&&se.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Pe.ceil,yt=Pe.floor,gt=Te.getOwnPropertySymbols,bt=Ve?Ve.isBuffer:o,Ot=t.isFinite,Ft=Ae.join,Zt=cr(Te.keys,Te),vr=Pe.max,br=Pe.min,Or=se.now,wr=t.parseInt,Sr=Pe.random,xr=Ae.reverse,Er=pi(t,"DataView"),_r=pi(t,"Map"),Pr=pi(t,"Promise"),Tr=pi(t,"Set"),jr=pi(t,"WeakMap"),Cr=pi(Te,"create"),kr=jr&&new jr,Ar={},Dr=$i(Er),Lr=$i(_r),Rr=$i(Pr),Mr=$i(Tr),Ir=$i(jr),Nr=Ue?Ue.prototype:o,Br=Nr?Nr.valueOf:o,$r=Nr?Nr.toString:o;function Fr(e){if(rs(e)&&!Ga(e)&&!(e instanceof Ur)){if(e instanceof Vr)return e;if(Ie.call(e,"__wrapped__"))return Fi(e)}return new Vr(e)}var zr=function(){function e(){}return function(t){if(!ts(t))return{};if(Ze)return Ze(t);e.prototype=t;var r=new e;return e.prototype=o,r}}();function Qr(){}function Vr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Ur(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cn(e,t,r,n,i,a){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=i?r(e,n,i,a):r(e)),s!==o)return s;if(!ts(e))return e;var f=Ga(e);if(f){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Ao(e,s)}else{var d=yi(e),p=d==x||d==E;if(Xa(e))return _o(e,l);if(d==T||d==v||p&&!i){if(s=c||p?{}:vi(e),!l)return c?function(e,t){return Do(e,mi(e),t)}(e,function(e,t){return e&&Do(t,Ls(t),e)}(s,e)):function(e,t){return Do(e,hi(e),t)}(e,on(s,e))}else{if(!ct[d])return i?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case R:return Po(e);case O:case w:return new n(+e);case M:return function(e,t){var r=t?Po(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case I:case N:case B:case $:case F:case z:case Q:case V:case U:return To(e,r);case _:return new n;case P:case A:return new n(e);case C:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case k:return new n;case D:return o=e,Br?Te(Br.call(o)):{}}var o}(e,d,l)}}a||(a=new Xr);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach((function(n){s.add(cn(n,t,r,n,e,a))})):ns(e)&&e.forEach((function(n,o){s.set(o,cn(n,t,r,o,e,a))}));var m=f?o:(u?c?ai:ii:c?Ls:Ds)(e);return Ct(m||e,(function(n,o){m&&(n=e[o=n]),tn(s,o,cn(n,t,r,o,e,a))})),s}function un(e,t,r){var n=r.length;if(null==e)return!n;for(e=Te(e);n--;){var i=r[n],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function fn(e,t,r){if("function"!=typeof e)throw new ke(i);return Di((function(){e.apply(o,r)}),t)}function dn(e,t,r,n){var o=-1,i=Lt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;r&&(t=Mt(t,Jt(r))),n?(i=Rt,a=!1):t.length>=200&&(i=tr,a=!1,t=new Zr(t));e:for(;++o-1},Wr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Hr.prototype.clear=function(){this.size=0,this.__data__={hash:new Gr,map:new(_r||Wr),string:new Gr}},Hr.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Hr.prototype.get=function(e){return fi(this,e).get(e)},Hr.prototype.has=function(e){return fi(this,e).has(e)},Hr.prototype.set=function(e,t){var r=fi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Zr.prototype.add=Zr.prototype.push=function(e){return this.__data__.set(e,a),this},Zr.prototype.has=function(e){return this.__data__.has(e)},Xr.prototype.clear=function(){this.__data__=new Wr,this.size=0},Xr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Xr.prototype.get=function(e){return this.__data__.get(e)},Xr.prototype.has=function(e){return this.__data__.has(e)},Xr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Wr){var n=r.__data__;if(!_r||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Hr(n)}return r.set(e,t),this.size=r.size,this};var pn=Mo(wn),hn=Mo(Sn,!0);function mn(e,t){var r=!0;return pn(e,(function(e,n,o){return r=!!t(e,n,o)})),r}function yn(e,t,r){for(var n=-1,i=e.length;++n0&&r(s)?t>1?vn(s,t-1,r,n,o):It(o,s):n||(o[o.length]=s)}return o}var bn=Io(),On=Io(!0);function wn(e,t){return e&&bn(e,t,Ds)}function Sn(e,t){return e&&On(e,t,Ds)}function xn(e,t){return Dt(t,(function(t){return Ka(e[t])}))}function En(e,t){for(var r=0,n=(t=wo(t,e)).length;null!=e&&rt}function jn(e,t){return null!=e&&Ie.call(e,t)}function Cn(e,t){return null!=e&&t in Te(e)}function kn(e,t,r){for(var i=r?Rt:Lt,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Mt(d,Jt(t))),u=br(d.length,u),c[l]=!r&&(t||a>=120&&d.length>=120)?new Zr(l&&d):o}d=e[0];var p=-1,h=c[0];e:for(;++p=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Wn(e,t,r){for(var n=-1,o=t.length,i={};++n-1;)s!==e&&qe.call(s,l,1),qe.call(e,l,1);return e}function Zn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==i){var i=o;Oi(o)?qe.call(e,o,1):po(e,o)}}return e}function Xn(e,t){return e+yt(Sr()*(t-e+1))}function qn(e,t){var r="";if(!e||t<1||t>h)return r;do{t%2&&(r+=e),(t=yt(t/2))&&(e+=e)}while(t);return r}function Yn(e,t){return Li(ji(e,t,ol),e+"")}function Kn(e){return Yr(zs(e))}function Jn(e,t){var r=zs(e);return Ii(r,ln(t,0,r.length))}function eo(e,t,r,n){if(!ts(e))return e;for(var i=-1,a=(t=wo(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o>>1,a=e[i];null!==a&&!cs(a)&&(r?a<=t:a=200){var c=t?null:Yo(e);if(c)return fr(c);a=!1,o=tr,l=new Zr}else l=t?[]:s;e:for(;++n=n?e:oo(e,t,r)}var Eo=ot||function(e){return mt.clearTimeout(e)};function _o(e,t){if(t)return e.slice();var r=e.length,n=We?We(r):new e.constructor(r);return e.copy(n),n}function Po(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function To(e,t){var r=t?Po(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function jo(e,t){if(e!==t){var r=e!==o,n=null===e,i=e==e,a=cs(e),s=t!==o,l=null===t,c=t==t,u=cs(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||n&&s&&c||!r&&c||!i)return 1;if(!n&&!a&&!u&&e1?r[i-1]:o,s=i>2?r[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&wi(r[0],r[1],s)&&(a=i<3?o:a,i=1),t=Te(t);++n-1?i[a?t[s]:s]:o}}function zo(e){return oi((function(t){var r=t.length,n=r,a=Vr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new ke(i);if(a&&!l&&"wrapper"==li(s))var l=new Vr([],!0)}for(n=l?n:r;++n1&&O.reverse(),p&&ul))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var d=-1,p=!0,h=2&r?new Zr:o;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Ct(g,(function(r){var n="_."+r[0];t&r[1]&&!Lt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(n),r)))}function Mi(e){var t=0,r=0;return function(){var n=Or(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ii(e,t){var r=-1,n=e.length,i=n-1;for(t=t===o?n:t;++r1?e[t-1]:o;return r="function"==typeof r?(e.pop(),r):o,aa(e,r)}));function pa(e){var t=Fr(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Ur&&Oi(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new Vr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ya=Lo((function(e,t,r){Ie.call(e,r)?++e[r]:an(e,r,1)}));var ga=Fo(Ui),va=Fo(Gi);function ba(e,t){return(Ga(e)?Ct:pn)(e,ui(t,3))}function Oa(e,t){return(Ga(e)?kt:hn)(e,ui(t,3))}var wa=Lo((function(e,t,r){Ie.call(e,r)?e[r].push(t):an(e,r,[t])}));var Sa=Yn((function(e,t,r){var o=-1,i="function"==typeof t,a=Ha(e)?n(e.length):[];return pn(e,(function(e){a[++o]=i?Tt(t,e,r):An(e,t,r)})),a})),xa=Lo((function(e,t,r){an(e,r,t)}));function Ea(e,t){return(Ga(e)?Mt:Fn)(e,ui(t,3))}var _a=Lo((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Pa=Yn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&wi(e,t[0],t[1])?t=[]:r>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Gn(e,vn(t,1),[])})),Ta=ut||function(){return mt.Date.now()};function ja(e,t,r){return t=r?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function Ca(e,t){var r;if("function"!=typeof t)throw new ke(i);return e=ms(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=o),r}}var ka=Yn((function(e,t,r){var n=1;if(r.length){var o=ur(r,ci(ka));n|=c}return Jo(e,n,t,r,o)})),Aa=Yn((function(e,t,r){var n=3;if(r.length){var o=ur(r,ci(Aa));n|=c}return Jo(t,n,e,r,o)}));function Da(e,t,r){var n,a,s,l,c,u,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new ke(i);function m(t){var r=n,i=a;return n=a=o,f=t,l=e.apply(i,r)}function y(e){var r=e-u;return u===o||r>=t||r<0||p&&e-f>=s}function g(){var e=Ta();if(y(e))return v(e);c=Di(g,function(e){var r=t-(e-u);return p?br(r,s-(e-f)):r}(e))}function v(e){return c=o,h&&n?m(e):(n=a=o,l)}function b(){var e=Ta(),r=y(e);if(n=arguments,a=this,u=e,r){if(c===o)return function(e){return f=e,c=Di(g,t),d?m(e):l}(u);if(p)return Eo(c),c=Di(g,t),m(u)}return c===o&&(c=Di(g,t)),l}return t=gs(t)||0,ts(r)&&(d=!!r.leading,s=(p="maxWait"in r)?vr(gs(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),b.cancel=function(){c!==o&&Eo(c),f=0,n=u=a=c=o},b.flush=function(){return c===o?l:v(Ta())},b}var La=Yn((function(e,t){return fn(e,1,t)})),Ra=Yn((function(e,t,r){return fn(e,gs(t)||0,r)}));function Ma(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ke(i);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(Ma.Cache||Hr),r}function Ia(e){if("function"!=typeof e)throw new ke(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ma.Cache=Hr;var Na=So((function(e,t){var r=(t=1==t.length&&Ga(t[0])?Mt(t[0],Jt(ui())):Mt(vn(t,1),Jt(ui()))).length;return Yn((function(n){for(var o=-1,i=br(n.length,r);++o=t})),Ua=Dn(function(){return arguments}())?Dn:function(e){return rs(e)&&Ie.call(e,"callee")&&!Xe.call(e,"callee")},Ga=n.isArray,Wa=wt?Jt(wt):function(e){return rs(e)&&Pn(e)==R};function Ha(e){return null!=e&&es(e.length)&&!Ka(e)}function Za(e){return rs(e)&&Ha(e)}var Xa=bt||gl,qa=St?Jt(St):function(e){return rs(e)&&Pn(e)==w};function Ya(e){if(!rs(e))return!1;var t=Pn(e);return t==S||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Ka(e){if(!ts(e))return!1;var t=Pn(e);return t==x||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var ns=xt?Jt(xt):function(e){return rs(e)&&yi(e)==_};function os(e){return"number"==typeof e||rs(e)&&Pn(e)==P}function is(e){if(!rs(e)||Pn(e)!=T)return!1;var t=He(e);if(null===t)return!0;var r=Ie.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Me.call(r)==Fe}var as=Et?Jt(Et):function(e){return rs(e)&&Pn(e)==C};var ss=_t?Jt(_t):function(e){return rs(e)&&yi(e)==k};function ls(e){return"string"==typeof e||!Ga(e)&&rs(e)&&Pn(e)==A}function cs(e){return"symbol"==typeof e||rs(e)&&Pn(e)==D}var us=Pt?Jt(Pt):function(e){return rs(e)&&es(e.length)&&!!lt[Pn(e)]};var fs=Zo($n),ds=Zo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ha(e))return ls(e)?hr(e):Ao(e);if(Ke&&e[Ke])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Ke]());var t=yi(e);return(t==_?lr:t==k?fr:zs)(e)}function hs(e){return e?(e=gs(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),r=t%1;return t==t?r?t-r:t:0}function ys(e){return e?ln(ms(e),0,y):0}function gs(e){if("number"==typeof e)return e;if(cs(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var r=ge.test(e);return r||be.test(e)?dt(e.slice(2),r?2:8):ye.test(e)?m:+e}function vs(e){return Do(e,Ls(e))}function bs(e){return null==e?"":uo(e)}var Os=Ro((function(e,t){if(_i(t)||Ha(t))Do(t,Ds(t),e);else for(var r in t)Ie.call(t,r)&&tn(e,r,t[r])})),ws=Ro((function(e,t){Do(t,Ls(t),e)})),Ss=Ro((function(e,t,r,n){Do(t,Ls(t),e,n)})),xs=Ro((function(e,t,r,n){Do(t,Ds(t),e,n)})),Es=oi(sn);var _s=Yn((function(e,t){e=Te(e);var r=-1,n=t.length,i=n>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(n=1);++r1),t})),Do(e,ai(e),r),n&&(r=cn(r,7,ri));for(var o=t.length;o--;)po(r,t[o]);return r}));var Ns=oi((function(e,t){return null==e?{}:function(e,t){return Wn(e,t,(function(t,r){return js(e,r)}))}(e,t)}));function Bs(e,t){if(null==e)return{};var r=Mt(ai(e),(function(e){return[e]}));return t=ui(t),Wn(e,r,(function(e,r){return t(e,r[0])}))}var $s=Ko(Ds),Fs=Ko(Ls);function zs(e){return null==e?[]:er(e,Ds(e))}var Qs=Bo((function(e,t,r){return t=t.toLowerCase(),e+(r?Vs(t):t)}));function Vs(e){return Ys(bs(e).toLowerCase())}function Us(e){return(e=bs(e))&&e.replace(we,or).replace(tt,"")}var Gs=Bo((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ws=Bo((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Hs=No("toLowerCase");var Zs=Bo((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Xs=Bo((function(e,t,r){return e+(r?" ":"")+Ys(t)}));var qs=Bo((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Ys=No("toUpperCase");function Ks(e,t,r){return e=bs(e),(t=r?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Js=Yn((function(e,t){try{return Tt(e,o,t)}catch(e){return Ya(e)?e:new Ee(e)}})),el=oi((function(e,t){return Ct(t,(function(t){t=Bi(t),an(e,t,ka(e[t],e))})),e}));function tl(e){return function(){return e}}var rl=zo(),nl=zo(!0);function ol(e){return e}function il(e){return In("function"==typeof e?e:cn(e,1))}var al=Yn((function(e,t){return function(r){return An(r,e,t)}})),sl=Yn((function(e,t){return function(r){return An(e,r,t)}}));function ll(e,t,r){var n=Ds(t),o=xn(t,n);null!=r||ts(t)&&(o.length||!n.length)||(r=t,t=e,e=this,o=xn(t,Ds(t)));var i=!(ts(r)&&"chain"in r&&!r.chain),a=Ka(e);return Ct(o,(function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=e(this.__wrapped__);return(r.__actions__=Ao(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,It([this.value()],arguments))})})),e}function cl(){}var ul=Go(Mt),fl=Go(At),dl=Go($t);function pl(e){return Si(e)?Ht(Bi(e)):function(e){return function(t){return En(t,e)}}(e)}var hl=Ho(),ml=Ho(!0);function yl(){return[]}function gl(){return!1}var vl=Uo((function(e,t){return e+t}),0),bl=qo("ceil"),Ol=Uo((function(e,t){return e/t}),1),wl=qo("floor");var Sl,xl=Uo((function(e,t){return e*t}),1),El=qo("round"),_l=Uo((function(e,t){return e-t}),0);return Fr.after=function(e,t){if("function"!=typeof t)throw new ke(i);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Fr.ary=ja,Fr.assign=Os,Fr.assignIn=ws,Fr.assignInWith=Ss,Fr.assignWith=xs,Fr.at=Es,Fr.before=Ca,Fr.bind=ka,Fr.bindAll=el,Fr.bindKey=Aa,Fr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Fr.chain=pa,Fr.chunk=function(e,t,r){t=(r?wi(e,t,r):t===o)?1:vr(ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=n(ht(i/t));ai?0:i+r),(n=n===o||n>i?i:ms(n))<0&&(n+=i),n=r>n?0:ys(n);r>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=uo(t))&&sr(e)?xo(hr(e),0,r):e.split(t,r):[]},Fr.spread=function(e,t){if("function"!=typeof e)throw new ke(i);return t=null==t?0:vr(ms(t),0),Yn((function(r){var n=r[t],o=xo(r,0,t);return n&&It(o,n),Tt(e,this,o)}))},Fr.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Fr.take=function(e,t,r){return e&&e.length?oo(e,0,(t=r||t===o?1:ms(t))<0?0:t):[]},Fr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?oo(e,(t=n-(t=r||t===o?1:ms(t)))<0?0:t,n):[]},Fr.takeRightWhile=function(e,t){return e&&e.length?mo(e,ui(t,3),!1,!0):[]},Fr.takeWhile=function(e,t){return e&&e.length?mo(e,ui(t,3)):[]},Fr.tap=function(e,t){return t(e),e},Fr.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new ke(i);return ts(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Da(e,t,{leading:n,maxWait:t,trailing:o})},Fr.thru=ha,Fr.toArray=ps,Fr.toPairs=$s,Fr.toPairsIn=Fs,Fr.toPath=function(e){return Ga(e)?Mt(e,Bi):cs(e)?[e]:Ao(Ni(bs(e)))},Fr.toPlainObject=vs,Fr.transform=function(e,t,r){var n=Ga(e),o=n||Xa(e)||us(e);if(t=ui(t,4),null==r){var i=e&&e.constructor;r=o?n?new i:[]:ts(e)&&Ka(i)?zr(He(e)):{}}return(o?Ct:wn)(e,(function(e,n,o){return t(r,e,n,o)})),r},Fr.unary=function(e){return ja(e,1)},Fr.union=ra,Fr.unionBy=na,Fr.unionWith=oa,Fr.uniq=function(e){return e&&e.length?fo(e):[]},Fr.uniqBy=function(e,t){return e&&e.length?fo(e,ui(t,2)):[]},Fr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Fr.unset=function(e,t){return null==e||po(e,t)},Fr.unzip=ia,Fr.unzipWith=aa,Fr.update=function(e,t,r){return null==e?e:ho(e,t,Oo(r))},Fr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:ho(e,t,Oo(r),n)},Fr.values=zs,Fr.valuesIn=function(e){return null==e?[]:er(e,Ls(e))},Fr.without=sa,Fr.words=Ks,Fr.wrap=function(e,t){return Ba(Oo(t),e)},Fr.xor=la,Fr.xorBy=ca,Fr.xorWith=ua,Fr.zip=fa,Fr.zipObject=function(e,t){return vo(e||[],t||[],tn)},Fr.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},Fr.zipWith=da,Fr.entries=$s,Fr.entriesIn=Fs,Fr.extend=ws,Fr.extendWith=Ss,ll(Fr,Fr),Fr.add=vl,Fr.attempt=Js,Fr.camelCase=Qs,Fr.capitalize=Vs,Fr.ceil=bl,Fr.clamp=function(e,t,r){return r===o&&(r=t,t=o),r!==o&&(r=(r=gs(r))==r?r:0),t!==o&&(t=(t=gs(t))==t?t:0),ln(gs(e),t,r)},Fr.clone=function(e){return cn(e,4)},Fr.cloneDeep=function(e){return cn(e,5)},Fr.cloneDeepWith=function(e,t){return cn(e,5,t="function"==typeof t?t:o)},Fr.cloneWith=function(e,t){return cn(e,4,t="function"==typeof t?t:o)},Fr.conformsTo=function(e,t){return null==t||un(e,t,Ds(t))},Fr.deburr=Us,Fr.defaultTo=function(e,t){return null==e||e!=e?t:e},Fr.divide=Ol,Fr.endsWith=function(e,t,r){e=bs(e),t=uo(t);var n=e.length,i=r=r===o?n:ln(ms(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},Fr.eq=za,Fr.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(X,ir):e},Fr.escapeRegExp=function(e){return(e=bs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Fr.every=function(e,t,r){var n=Ga(e)?At:mn;return r&&wi(e,t,r)&&(t=o),n(e,ui(t,3))},Fr.find=ga,Fr.findIndex=Ui,Fr.findKey=function(e,t){return zt(e,ui(t,3),wn)},Fr.findLast=va,Fr.findLastIndex=Gi,Fr.findLastKey=function(e,t){return zt(e,ui(t,3),Sn)},Fr.floor=wl,Fr.forEach=ba,Fr.forEachRight=Oa,Fr.forIn=function(e,t){return null==e?e:bn(e,ui(t,3),Ls)},Fr.forInRight=function(e,t){return null==e?e:On(e,ui(t,3),Ls)},Fr.forOwn=function(e,t){return e&&wn(e,ui(t,3))},Fr.forOwnRight=function(e,t){return e&&Sn(e,ui(t,3))},Fr.get=Ts,Fr.gt=Qa,Fr.gte=Va,Fr.has=function(e,t){return null!=e&&gi(e,t,jn)},Fr.hasIn=js,Fr.head=Hi,Fr.identity=ol,Fr.includes=function(e,t,r,n){e=Ha(e)?e:zs(e),r=r&&!n?ms(r):0;var o=e.length;return r<0&&(r=vr(o+r,0)),ls(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&Vt(e,t,r)>-1},Fr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:ms(r);return o<0&&(o=vr(n+o,0)),Vt(e,t,o)},Fr.inRange=function(e,t,r){return t=hs(t),r===o?(r=t,t=0):r=hs(r),function(e,t,r){return e>=br(t,r)&&e=-9007199254740991&&e<=h},Fr.isSet=ss,Fr.isString=ls,Fr.isSymbol=cs,Fr.isTypedArray=us,Fr.isUndefined=function(e){return e===o},Fr.isWeakMap=function(e){return rs(e)&&yi(e)==L},Fr.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==Pn(e)},Fr.join=function(e,t){return null==e?"":Ft.call(e,t)},Fr.kebabCase=Gs,Fr.last=Yi,Fr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==o&&(i=(i=ms(r))<0?vr(n+i,0):br(i,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,i):Qt(e,Gt,i,!0)},Fr.lowerCase=Ws,Fr.lowerFirst=Hs,Fr.lt=fs,Fr.lte=ds,Fr.max=function(e){return e&&e.length?yn(e,ol,Tn):o},Fr.maxBy=function(e,t){return e&&e.length?yn(e,ui(t,2),Tn):o},Fr.mean=function(e){return Wt(e,ol)},Fr.meanBy=function(e,t){return Wt(e,ui(t,2))},Fr.min=function(e){return e&&e.length?yn(e,ol,$n):o},Fr.minBy=function(e,t){return e&&e.length?yn(e,ui(t,2),$n):o},Fr.stubArray=yl,Fr.stubFalse=gl,Fr.stubObject=function(){return{}},Fr.stubString=function(){return""},Fr.stubTrue=function(){return!0},Fr.multiply=xl,Fr.nth=function(e,t){return e&&e.length?Un(e,ms(t)):o},Fr.noConflict=function(){return mt._===this&&(mt._=ze),this},Fr.noop=cl,Fr.now=Ta,Fr.pad=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return Wo(yt(o),r)+e+Wo(ht(o),r)},Fr.padEnd=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var i=Sr();return br(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Xn(e,t)},Fr.reduce=function(e,t,r){var n=Ga(e)?Nt:Xt,o=arguments.length<3;return n(e,ui(t,4),r,o,pn)},Fr.reduceRight=function(e,t,r){var n=Ga(e)?Bt:Xt,o=arguments.length<3;return n(e,ui(t,4),r,o,hn)},Fr.repeat=function(e,t,r){return t=(r?wi(e,t,r):t===o)?1:ms(t),qn(bs(e),t)},Fr.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fr.result=function(e,t,r){var n=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++nh)return[];var r=y,n=br(e,y);t=ui(t),e-=y;for(var o=Yt(n,t);++r=a)return e;var l=r-pr(n);if(l<1)return n;var c=s?xo(s,0,l).join(""):e.slice(0,l);if(i===o)return c+n;if(s&&(l+=c.length-l),as(i)){if(e.slice(l).search(i)){var u,f=c;for(i.global||(i=je(i.source,bs(me.exec(i))+"g")),i.lastIndex=0;u=i.exec(f);)var d=u.index;c=c.slice(0,d===o?l:d)}}else if(e.indexOf(uo(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+n},Fr.unescape=function(e){return(e=bs(e))&&q.test(e)?e.replace(Z,yr):e},Fr.uniqueId=function(e){var t=++Ne;return bs(e)+t},Fr.upperCase=qs,Fr.upperFirst=Ys,Fr.each=ba,Fr.eachRight=Oa,Fr.first=Hi,ll(Fr,(Sl={},wn(Fr,(function(e,t){Ie.call(Fr.prototype,t)||(Sl[t]=e)})),Sl),{chain:!1}),Fr.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fr[e].placeholder=Fr})),Ct(["drop","take"],(function(e,t){Ur.prototype[e]=function(r){r=r===o?1:vr(ms(r),0);var n=this.__filtered__&&!t?new Ur(this):this.clone();return n.__filtered__?n.__takeCount__=br(r,n.__takeCount__):n.__views__.push({size:br(r,y),type:e+(n.__dir__<0?"Right":"")}),n},Ur.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Ur.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ui(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Ct(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Ur.prototype[e]=function(){return this[r](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Ur.prototype[e]=function(){return this.__filtered__?new Ur(this):this[r](1)}})),Ur.prototype.compact=function(){return this.filter(ol)},Ur.prototype.find=function(e){return this.filter(e).head()},Ur.prototype.findLast=function(e){return this.reverse().find(e)},Ur.prototype.invokeMap=Yn((function(e,t){return"function"==typeof e?new Ur(this):this.map((function(r){return An(r,e,t)}))})),Ur.prototype.reject=function(e){return this.filter(Ia(ui(e)))},Ur.prototype.slice=function(e,t){e=ms(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Ur(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==o&&(r=(t=ms(t))<0?r.dropRight(-t):r.take(t-e)),r)},Ur.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ur.prototype.toArray=function(){return this.take(y)},wn(Ur.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=Fr[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);i&&(Fr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,l=t instanceof Ur,c=s[0],u=l||Ga(t),f=function(e){var t=i.apply(Fr,It([e],s));return n&&d?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=l&&!p;if(!a&&u){t=m?t:new Ur(this);var y=e.apply(t,s);return y.__actions__.push({func:ha,args:[f],thisArg:o}),new Vr(y,d)}return h&&m?e.apply(this,s):(y=this.thru(f),h?n?y.value()[0]:y.value():y)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ae[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Fr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var o=this.value();return t.apply(Ga(o)?o:[],e)}return this[r]((function(r){return t.apply(Ga(r)?r:[],e)}))}})),wn(Ur.prototype,(function(e,t){var r=Fr[t];if(r){var n=r.name+"";Ie.call(Ar,n)||(Ar[n]=[]),Ar[n].push({name:t,func:r})}})),Ar[Qo(o,2).name]=[{name:"wrapper",func:o}],Ur.prototype.clone=function(){var e=new Ur(this.__wrapped__);return e.__actions__=Ao(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ao(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ao(this.__views__),e},Ur.prototype.reverse=function(){if(this.__filtered__){var e=new Ur(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ur.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ga(e),n=t<0,o=r?e.length:0,i=function(e,t,r){var n=-1,o=r.length;for(;++n=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Fr.prototype.plant=function(e){for(var t,r=this;r instanceof Qr;){var n=Fi(r);n.__index__=0,n.__values__=o,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},Fr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ur){var t=e;return this.__actions__.length&&(t=new Ur(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:o}),new Vr(t,this.__chain__)}return this.thru(ta)},Fr.prototype.toJSON=Fr.prototype.valueOf=Fr.prototype.value=function(){return yo(this.__wrapped__,this.__actions__)},Fr.prototype.first=Fr.prototype.head,Ke&&(Fr.prototype[Ke]=function(){return this}),Fr}();mt._=gr,(n=function(){return gr}.call(t,r,t,e))===o||(e.exports=n)}.call(this)},68255:(e,t,r)=>{"use strict";r.r(t)},44130:(e,t,r)=>{"use strict";r.r(t)},43114:(e,t,r)=>{"use strict";r.r(t)},29052:(e,t,r)=>{"use strict";r.r(t)},604:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(87462),o=r(89062),i=r(93324),a=r(71002),s=r(93967),l=r.n(s),c=r(21770),u=r(80334),f=r(36198),d=r(1422),p=r(22259),h=r(64217);function m(e){var t=e;if(!Array.isArray(t)){var r=(0,a.default)(t);t="number"===r||"string"===r?[t]:[]}return t.map((function(e){return String(e)}))}var y=f.forwardRef((function(e,t){var r=e.prefixCls,a=void 0===r?"rc-collapse":r,s=e.destroyInactivePanel,p=void 0!==s&&s,y=e.style,g=e.accordion,v=e.className,b=e.children,O=e.collapsible,w=e.openMotion,S=e.expandIcon,x=e.activeKey,E=e.defaultActiveKey,_=e.onChange,P=e.items,T=l()(a,v),j=(0,c.default)([],{value:x,onChange:function(e){return null==_?void 0:_(e)},defaultValue:E,postState:m}),C=(0,i.default)(j,2),k=C[0],A=C[1];(0,u.default)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(0,d.default)(P,b,{prefixCls:a,accordion:g,openMotion:w,expandIcon:S,collapsible:O,destroyInactivePanel:p,onItemClick:function(e){return A((function(){return g?k[0]===e?[]:[e]:k.indexOf(e)>-1?k.filter((function(t){return t!==e})):[].concat((0,o.default)(k),[e])}))},activeKey:k});return f.createElement("div",(0,n.default)({ref:t,className:T,style:y,role:g?"tablist":void 0},(0,h.default)(e,{aria:!0,data:!0})),D)}));const g=Object.assign(y,{Panel:p.default})},22259:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(1413),o=r(87462),i=r(4942),a=r(45987),s=r(93967),l=r.n(s),c=r(93587),u=r(15105),f=r(36198),d=r(90960),p=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"];const h=f.forwardRef((function(e,t){var r=e.showArrow,s=void 0===r||r,h=e.headerClass,m=e.isActive,y=e.onItemClick,g=e.forceRender,v=e.className,b=e.classNames,O=void 0===b?{}:b,w=e.styles,S=void 0===w?{}:w,x=e.prefixCls,E=e.collapsible,_=e.accordion,P=e.panelKey,T=e.extra,j=e.header,C=e.expandIcon,k=e.openMotion,A=e.destroyInactivePanel,D=e.children,L=(0,a.default)(e,p),R="disabled"===E,M=null!=T&&"boolean"!=typeof T,I=(0,i.default)((0,i.default)((0,i.default)({onClick:function(){null==y||y(P)},onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==u.default.ENTER&&e.which!==u.default.ENTER||null==y||y(P)},role:_?"tab":"button"},"aria-expanded",m),"aria-disabled",R),"tabIndex",R?-1:0),N="function"==typeof C?C(e):f.createElement("i",{className:"arrow"}),B=N&&f.createElement("div",(0,o.default)({className:"".concat(x,"-expand-icon")},["header","icon"].includes(E)?I:{}),N),$=l()("".concat(x,"-item"),(0,i.default)((0,i.default)({},"".concat(x,"-item-active"),m),"".concat(x,"-item-disabled"),R),v),F=l()(h,"".concat(x,"-header"),(0,i.default)({},"".concat(x,"-collapsible-").concat(E),!!E),O.header),z=(0,n.default)({className:F,style:S.header},["header","icon"].includes(E)?{}:I);return f.createElement("div",(0,o.default)({},L,{ref:t,className:$}),f.createElement("div",z,s&&B,f.createElement("span",(0,o.default)({className:"".concat(x,"-header-text")},"header"===E?I:{}),j),M&&f.createElement("div",{className:"".concat(x,"-extra")},T)),f.createElement(c.default,(0,o.default)({visible:m,leavedClassName:"".concat(x,"-content-hidden")},k,{forceRender:g,removeOnLeave:A}),(function(e,t){var r=e.className,n=e.style;return f.createElement(d.default,{ref:t,prefixCls:x,className:r,classNames:O,style:n,styles:S,isActive:m,forceRender:g,role:_?"tabpanel":void 0},D)})))}))},90960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(4942),o=r(93324),i=r(93967),a=r.n(i),s=r(36198),l=s.forwardRef((function(e,t){var r=e.prefixCls,i=e.forceRender,l=e.className,c=e.style,u=e.children,f=e.isActive,d=e.role,p=e.classNames,h=e.styles,m=s.useState(f||i),y=(0,o.default)(m,2),g=y[0],v=y[1];return s.useEffect((function(){(i||f)&&v(!0)}),[i,f]),g?s.createElement("div",{ref:t,className:a()("".concat(r,"-content"),(0,n.default)((0,n.default)({},"".concat(r,"-content-active"),f),"".concat(r,"-content-inactive"),!f),l),style:c,role:d},s.createElement("div",{className:a()("".concat(r,"-content-box"),null==p?void 0:p.body),style:null==h?void 0:h.body},u)):null}));l.displayName="PanelContent";const c=l},1422:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(87462),o=r(45987),i=r(50344),a=r(36198),s=r(22259),l=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];const c=function(e,t,r){return Array.isArray(e)?function(e,t){var r=t.prefixCls,i=t.accordion,c=t.collapsible,u=t.destroyInactivePanel,f=t.onItemClick,d=t.activeKey,p=t.openMotion,h=t.expandIcon;return e.map((function(e,t){var m=e.children,y=e.label,g=e.key,v=e.collapsible,b=e.onItemClick,O=e.destroyInactivePanel,w=(0,o.default)(e,l),S=String(null!=g?g:t),x=null!=v?v:c,E=null!=O?O:u,_=!1;return _=i?d[0]===S:d.indexOf(S)>-1,a.createElement(s.default,(0,n.default)({},w,{prefixCls:r,key:S,panelKey:S,isActive:_,accordion:i,openMotion:p,expandIcon:h,header:y,collapsible:x,onItemClick:function(e){"disabled"!==x&&(f(e),null==b||b(e))},destroyInactivePanel:E}),m)}))}(e,r):(0,i.default)(t).map((function(e,t){return function(e,t,r){if(!e)return null;var n=r.prefixCls,o=r.accordion,i=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,c=r.activeKey,u=r.openMotion,f=r.expandIcon,d=e.key||String(t),p=e.props,h=p.header,m=p.headerClass,y=p.destroyInactivePanel,g=p.collapsible,v=p.onItemClick,b=!1;b=o?c[0]===d:c.indexOf(d)>-1;var O=null!=g?g:i,w={key:d,panelKey:d,header:h,headerClass:m,isActive:b,prefixCls:n,destroyInactivePanel:null!=y?y:s,openMotion:u,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==O&&(l(e),null==v||v(e))},expandIcon:f,collapsible:O};return"string"==typeof e.type?e:(Object.keys(w).forEach((function(e){void 0===w[e]&&delete w[e]})),a.cloneElement(e,w))}(e,t,r)}))}},7790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Panel:()=>i,default:()=>o});var n=r(604);const o=n.default;var i=n.default.Panel},32890:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>j});var n=r(87462),o=r(45987),i=r(74165),a=r(15861),s=r(1413),l=r(89062),c=r(15671),u=r(43144),f=r(97326),d=r(60136),p=r(29388),h=r(4942),m=r(50344),y=r(91881),g=r(80334),v=r(36198),b=r(28665),O=r(82131),w=r(93409),S=r(416),x=r(53236),E=["name"],_=[];function P(e,t,r,n,o,i){return"function"==typeof e?e(t,r,"source"in i?{source:i.source}:{}):n!==o}var T=function(e){(0,d.default)(r,e);var t=(0,p.default)(r);function r(e){var n;((0,c.default)(this,r),n=t.call(this,e),(0,h.default)((0,f.default)(n),"state",{resetCount:0}),(0,h.default)((0,f.default)(n),"cancelRegisterFunc",null),(0,h.default)((0,f.default)(n),"mounted",!1),(0,h.default)((0,f.default)(n),"touched",!1),(0,h.default)((0,f.default)(n),"dirty",!1),(0,h.default)((0,f.default)(n),"validatePromise",void 0),(0,h.default)((0,f.default)(n),"prevValidating",void 0),(0,h.default)((0,f.default)(n),"errors",_),(0,h.default)((0,f.default)(n),"warnings",_),(0,h.default)((0,f.default)(n),"cancelRegister",(function(){var e=n.props,t=e.preserve,r=e.isListField,o=e.name;n.cancelRegisterFunc&&n.cancelRegisterFunc(r,t,(0,x.getNamePath)(o)),n.cancelRegisterFunc=null})),(0,h.default)((0,f.default)(n),"getNamePath",(function(){var e=n.props,t=e.name,r=e.fieldContext.prefixName,o=void 0===r?[]:r;return void 0!==t?[].concat((0,l.default)(o),(0,l.default)(t)):[]})),(0,h.default)((0,f.default)(n),"getRules",(function(){var e=n.props,t=e.rules,r=void 0===t?[]:t,o=e.fieldContext;return r.map((function(e){return"function"==typeof e?e(o):e}))})),(0,h.default)((0,f.default)(n),"refresh",(function(){n.mounted&&n.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,h.default)((0,f.default)(n),"metaCache",null),(0,h.default)((0,f.default)(n),"triggerMetaEvent",(function(e){var t=n.props.onMetaChange;if(t){var r=(0,s.default)((0,s.default)({},n.getMeta()),{},{destroy:e});(0,y.default)(n.metaCache,r)||t(r),n.metaCache=r}else n.metaCache=null})),(0,h.default)((0,f.default)(n),"onStoreChange",(function(e,t,r){var o=n.props,i=o.shouldUpdate,a=o.dependencies,s=void 0===a?[]:a,l=o.onReset,c=r.store,u=n.getNamePath(),f=n.getValue(e),d=n.getValue(c),p=t&&(0,x.containsNamePath)(t,u);switch("valueUpdate"!==r.type||"external"!==r.source||(0,y.default)(f,d)||(n.touched=!0,n.dirty=!0,n.validatePromise=null,n.errors=_,n.warnings=_,n.triggerMetaEvent()),r.type){case"reset":if(!t||p)return n.touched=!1,n.dirty=!1,n.validatePromise=void 0,n.errors=_,n.warnings=_,n.triggerMetaEvent(),null==l||l(),void n.refresh();break;case"remove":if(i&&P(i,e,c,f,d,r))return void n.reRender();break;case"setField":var h=r.data;if(p)return"touched"in h&&(n.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(n.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(n.errors=h.errors||_),"warnings"in h&&(n.warnings=h.warnings||_),n.dirty=!0,n.triggerMetaEvent(),void n.reRender();if("value"in h&&(0,x.containsNamePath)(t,u,!0))return void n.reRender();if(i&&!u.length&&P(i,e,c,f,d,r))return void n.reRender();break;case"dependenciesUpdate":if(s.map(x.getNamePath).some((function(e){return(0,x.containsNamePath)(r.relatedFields,e)})))return void n.reRender();break;default:if(p||(!s.length||u.length||i)&&P(i,e,c,f,d,r))return void n.reRender()}!0===i&&n.reRender()})),(0,h.default)((0,f.default)(n),"validateRules",(function(e){var t=n.getNamePath(),r=n.getValue(),o=e||{},s=o.triggerName,c=o.validateOnly,u=void 0!==c&&c,f=Promise.resolve().then((0,a.default)((0,i.default)().mark((function o(){var a,c,u,d,p,h,m;return(0,i.default)().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(n.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(a=n.props,c=a.validateFirst,u=void 0!==c&&c,d=a.messageVariables,p=a.validateDebounce,h=n.getRules(),s&&(h=h.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||(0,w.toArray)(t).includes(s)}))),!p||!s){o.next=10;break}return o.next=8,new Promise((function(e){setTimeout(e,p)}));case 8:if(n.validatePromise===f){o.next=10;break}return o.abrupt("return",[]);case 10:return(m=(0,S.validateRules)(t,r,h,e,u,d)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_;if(n.validatePromise===f){var t;n.validatePromise=null;var r=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors,i=void 0===n?_:n;t?o.push.apply(o,(0,l.default)(i)):r.push.apply(r,(0,l.default)(i))})),n.errors=r,n.warnings=o,n.triggerMetaEvent(),n.reRender()}})),o.abrupt("return",m);case 13:case"end":return o.stop()}}),o)}))));return u||(n.validatePromise=f,n.dirty=!0,n.errors=_,n.warnings=_,n.triggerMetaEvent(),n.reRender()),f})),(0,h.default)((0,f.default)(n),"isFieldValidating",(function(){return!!n.validatePromise})),(0,h.default)((0,f.default)(n),"isFieldTouched",(function(){return n.touched})),(0,h.default)((0,f.default)(n),"isFieldDirty",(function(){return!(!n.dirty&&void 0===n.props.initialValue)||void 0!==(0,n.props.fieldContext.getInternalHooks(b.HOOK_MARK).getInitialValue)(n.getNamePath())})),(0,h.default)((0,f.default)(n),"getErrors",(function(){return n.errors})),(0,h.default)((0,f.default)(n),"getWarnings",(function(){return n.warnings})),(0,h.default)((0,f.default)(n),"isListField",(function(){return n.props.isListField})),(0,h.default)((0,f.default)(n),"isList",(function(){return n.props.isList})),(0,h.default)((0,f.default)(n),"isPreserve",(function(){return n.props.preserve})),(0,h.default)((0,f.default)(n),"getMeta",(function(){return n.prevValidating=n.isFieldValidating(),{touched:n.isFieldTouched(),validating:n.prevValidating,errors:n.errors,warnings:n.warnings,name:n.getNamePath(),validated:null===n.validatePromise}})),(0,h.default)((0,f.default)(n),"getOnlyChild",(function(e){if("function"==typeof e){var t=n.getMeta();return(0,s.default)((0,s.default)({},n.getOnlyChild(e(n.getControlled(),t,n.props.fieldContext))),{},{isFunction:!0})}var r=(0,m.default)(e);return 1===r.length&&v.isValidElement(r[0])?{child:r[0],isFunction:!1}:{child:r,isFunction:!1}})),(0,h.default)((0,f.default)(n),"getValue",(function(e){var t=n.props.fieldContext.getFieldsValue,r=n.getNamePath();return(0,x.getValue)(e||t(!0),r)})),(0,h.default)((0,f.default)(n),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,r=t.name,o=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,l=t.normalize,c=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,p=n.getNamePath(),m=f.getInternalHooks,y=f.getFieldsValue,g=m(b.HOOK_MARK).dispatch,v=n.getValue(),O=u||function(e){return(0,h.default)({},c,e)},S=e[o],E=void 0!==r?O(v):{};var _=(0,s.default)((0,s.default)({},e),E);return _[o]=function(){var e;n.touched=!0,n.dirty=!0,n.triggerMetaEvent();for(var t=arguments.length,r=new Array(t),o=0;o{"use strict";r.r(t),r.d(t,{HOOK_MARK:()=>i,default:()=>s});var n=r(80334),o=r(36198),i="RC_FORM_INTERNAL_HOOKS",a=function(){(0,n.default)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const s=o.createContext({getFieldValue:a,getFieldsValue:a,getFieldError:a,getFieldWarning:a,getFieldsError:a,isFieldsTouched:a,isFieldTouched:a,isFieldValidating:a,isFieldsValidating:a,resetFields:a,setFields:a,setFieldValue:a,setFieldsValue:a,validateFields:a,submit:a,getInternalHooks:function(){return a(),{dispatch:a,initEntityValue:a,registerField:a,useSubscribe:a,setInitialValues:a,destroyForm:a,setCallbacks:a,registerWatch:a,getFields:a,setValidateMessages:a,setPreserve:a,getInitialValue:a}}})},5318:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(87462),o=r(1413),i=r(93324),a=r(45987),s=r(36198),l=r(5918),c=r(28665),u=r(81696),f=r(53236),d=r(82131),p=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];const h=function(e,t){var r=e.name,h=e.initialValues,m=e.fields,y=e.form,g=e.preserve,v=e.children,b=e.component,O=void 0===b?"form":b,w=e.validateMessages,S=e.validateTrigger,x=void 0===S?"onChange":S,E=e.onValuesChange,_=e.onFieldsChange,P=e.onFinish,T=e.onFinishFailed,j=e.clearOnDestroy,C=(0,a.default)(e,p),k=s.useRef(null),A=s.useContext(u.default),D=(0,l.default)(y),L=(0,i.default)(D,1)[0],R=L.getInternalHooks(c.HOOK_MARK),M=R.useSubscribe,I=R.setInitialValues,N=R.setCallbacks,B=R.setValidateMessages,$=R.setPreserve,F=R.destroyForm;s.useImperativeHandle(t,(function(){return(0,o.default)((0,o.default)({},L),{},{nativeElement:k.current})})),s.useEffect((function(){return A.registerForm(r,L),function(){A.unregisterForm(r)}}),[A,L,r]),B((0,o.default)((0,o.default)({},A.validateMessages),w)),N({onValuesChange:E,onFieldsChange:function(e){if(A.triggerFormChange(r,e),_){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";r.r(t),r.d(t,{FormProvider:()=>s,default:()=>l});var n=r(4942),o=r(1413),i=r(36198),a=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),s=function(e){var t=e.validateMessages,r=e.onFormChange,s=e.onFormFinish,l=e.children,c=i.useContext(a),u=i.useRef({});return i.createElement(a.Provider,{value:(0,o.default)((0,o.default)({},c),{},{validateMessages:(0,o.default)((0,o.default)({},c.validateMessages),t),triggerFormChange:function(e,t){r&&r(e,{changedFields:t,forms:u.current}),c.triggerFormChange(e,t)},triggerFormFinish:function(e,t){s&&s(e,{values:t,forms:u.current}),c.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(u.current=(0,o.default)((0,o.default)({},u.current),{},(0,n.default)({},e,t))),c.registerForm(e,t)},unregisterForm:function(e){var t=(0,o.default)({},u.current);delete t[e],u.current=t,c.unregisterForm(e)}})},l)};const l=a},45378:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(1413),o=r(89062),i=r(36198),a=r(80334),s=r(28665),l=r(32890),c=r(53236),u=r(82131);const f=function(e){var t=e.name,r=e.initialValue,f=e.children,d=e.rules,p=e.validateTrigger,h=e.isListField,m=i.useContext(s.default),y=i.useContext(u.default),g=i.useRef({keys:[],id:0}).current,v=i.useMemo((function(){var e=(0,c.getNamePath)(m.prefixName)||[];return[].concat((0,o.default)(e),(0,o.default)((0,c.getNamePath)(t)))}),[m.prefixName,t]),b=i.useMemo((function(){return(0,n.default)((0,n.default)({},m),{},{prefixName:v})}),[m,v]),O=i.useMemo((function(){return{getKey:function(e){var t=v.length,r=e[t];return[g.keys[r],e.slice(t+1)]}}}),[v]);return"function"!=typeof f?((0,a.default)(!1,"Form.List only accepts function as children."),null):i.createElement(u.default.Provider,{value:O},i.createElement(s.default.Provider,{value:b},i.createElement(l.default,{name:[],shouldUpdate:function(e,t,r){return"internal"!==r.source&&e!==t},rules:d,validateTrigger:p,initialValue:r,isList:!0,isListField:null!=h?h:!!y},(function(e,t){var r=e.value,n=void 0===r?[]:r,i=e.onChange,a=m.getFieldValue,s=function(){return a(v||[])||[]},l={add:function(e,t){var r=s();t>=0&&t<=r.length?(g.keys=[].concat((0,o.default)(g.keys.slice(0,t)),[g.id],(0,o.default)(g.keys.slice(t))),i([].concat((0,o.default)(r.slice(0,t)),[e],(0,o.default)(r.slice(t))))):(g.keys=[].concat((0,o.default)(g.keys),[g.id]),i([].concat((0,o.default)(r),[e]))),g.id+=1},remove:function(e){var t=s(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(g.keys=g.keys.filter((function(e,t){return!r.has(t)})),i(t.filter((function(e,t){return!r.has(t)}))))},move:function(e,t){if(e!==t){var r=s();e<0||e>=r.length||t<0||t>=r.length||(g.keys=(0,c.move)(g.keys,e,t),i((0,c.move)(r,e,t)))}}},u=n||[];return Array.isArray(u)||(u=[]),f(u.map((function(e,t){var r=g.keys[t];return void 0===r&&(g.keys[t]=g.id,r=g.keys[t],g.id+=1),{name:t,key:r,isListField:!0}})),l,t)}))))}},82131:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(36198).createContext(null)},6077:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Field:()=>o.default,FieldContext:()=>c.default,FormProvider:()=>l.FormProvider,List:()=>i.default,ListContext:()=>u.default,default:()=>p,useForm:()=>a.default,useWatch:()=>f.default});var n=r(36198),o=r(32890),i=r(45378),a=r(5918),s=r(5318),l=r(81696),c=r(28665),u=r(82131),f=r(21806),d=n.forwardRef(s.default);d.FormProvider=l.FormProvider,d.Field=o.default,d.List=i.default,d.useForm=a.default,d.useWatch=f.default;const p=d},5918:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormStore:()=>O,default:()=>w});var n=r(93324),o=r(1413),i=r(45987),a=r(89062),s=r(71002),l=r(43144),c=r(15671),u=r(4942),f=r(8880),d=r(80334),p=r(36198),h=r(28665),m=r(40496),y=r(42656),g=r(92332),v=r(53236),b=["name"],O=(0,l.default)((function e(t){var r=this;(0,c.default)(this,e),(0,u.default)(this,"formHooked",!1),(0,u.default)(this,"forceRootUpdate",void 0),(0,u.default)(this,"subscribable",!0),(0,u.default)(this,"store",{}),(0,u.default)(this,"fieldEntities",[]),(0,u.default)(this,"initialValues",{}),(0,u.default)(this,"callbacks",{}),(0,u.default)(this,"validateMessages",null),(0,u.default)(this,"preserve",null),(0,u.default)(this,"lastValidatePromise",null),(0,u.default)(this,"getForm",(function(){return{getFieldValue:r.getFieldValue,getFieldsValue:r.getFieldsValue,getFieldError:r.getFieldError,getFieldWarning:r.getFieldWarning,getFieldsError:r.getFieldsError,isFieldsTouched:r.isFieldsTouched,isFieldTouched:r.isFieldTouched,isFieldValidating:r.isFieldValidating,isFieldsValidating:r.isFieldsValidating,resetFields:r.resetFields,setFields:r.setFields,setFieldValue:r.setFieldValue,setFieldsValue:r.setFieldsValue,validateFields:r.validateFields,submit:r.submit,_init:!0,getInternalHooks:r.getInternalHooks}})),(0,u.default)(this,"getInternalHooks",(function(e){return e===h.HOOK_MARK?(r.formHooked=!0,{dispatch:r.dispatch,initEntityValue:r.initEntityValue,registerField:r.registerField,useSubscribe:r.useSubscribe,setInitialValues:r.setInitialValues,destroyForm:r.destroyForm,setCallbacks:r.setCallbacks,setValidateMessages:r.setValidateMessages,getFields:r.getFields,setPreserve:r.setPreserve,getInitialValue:r.getInitialValue,registerWatch:r.registerWatch}):((0,d.default)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,u.default)(this,"useSubscribe",(function(e){r.subscribable=e})),(0,u.default)(this,"prevWithoutPreserves",null),(0,u.default)(this,"setInitialValues",(function(e,t){if(r.initialValues=e||{},t){var n,o=(0,f.merge)(e,r.store);null===(n=r.prevWithoutPreserves)||void 0===n||n.map((function(t){var r=t.key;o=(0,v.setValue)(o,r,(0,v.getValue)(e,r))})),r.prevWithoutPreserves=null,r.updateStore(o)}})),(0,u.default)(this,"destroyForm",(function(e){if(e)r.updateStore({});else{var t=new g.default;r.getFieldEntities(!0).forEach((function(e){r.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)})),r.prevWithoutPreserves=t}})),(0,u.default)(this,"getInitialValue",(function(e){var t=(0,v.getValue)(r.initialValues,e);return e.length?(0,f.merge)(t):t})),(0,u.default)(this,"setCallbacks",(function(e){r.callbacks=e})),(0,u.default)(this,"setValidateMessages",(function(e){r.validateMessages=e})),(0,u.default)(this,"setPreserve",(function(e){r.preserve=e})),(0,u.default)(this,"watchList",[]),(0,u.default)(this,"registerWatch",(function(e){return r.watchList.push(e),function(){r.watchList=r.watchList.filter((function(t){return t!==e}))}})),(0,u.default)(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.watchList.length){var t=r.getFieldsValue(),n=r.getFieldsValue(!0);r.watchList.forEach((function(r){r(t,n,e)}))}})),(0,u.default)(this,"timeoutId",null),(0,u.default)(this,"warningUnhooked",(function(){0})),(0,u.default)(this,"updateStore",(function(e){r.store=e})),(0,u.default)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?r.fieldEntities.filter((function(e){return e.getNamePath().length})):r.fieldEntities})),(0,u.default)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new g.default;return r.getFieldEntities(e).forEach((function(e){var r=e.getNamePath();t.set(r,e)})),t})),(0,u.default)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return r.getFieldEntities(!0);var t=r.getFieldsMap(!0);return e.map((function(e){var r=(0,v.getNamePath)(e);return t.get(r)||{INVALIDATE_NAME_PATH:(0,v.getNamePath)(e)}}))})),(0,u.default)(this,"getFieldsValue",(function(e,t){var n,o,i;if(r.warningUnhooked(),!0===e||Array.isArray(e)?(n=e,o=t):e&&"object"===(0,s.default)(e)&&(i=e.strict,o=e.filter),!0===n&&!o)return r.store;var a=r.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null),l=[];return a.forEach((function(e){var t,r,a,s,c="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(s=e).isList)&&void 0!==a&&a.call(s))return}else if(!n&&null!==(t=(r=e).isListField)&&void 0!==t&&t.call(r))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&l.push(c)}else l.push(c)})),(0,v.cloneByNamePathList)(r.store,l.map(v.getNamePath))})),(0,u.default)(this,"getFieldValue",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return(0,v.getValue)(r.store,t)})),(0,u.default)(this,"getFieldsError",(function(e){return r.warningUnhooked(),r.getFieldEntitiesForNamePathList(e).map((function(t,r){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:(0,v.getNamePath)(e[r]),errors:[],warnings:[]}}))})),(0,u.default)(this,"getFieldError",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return r.getFieldsError([t])[0].errors})),(0,u.default)(this,"getFieldWarning",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return r.getFieldsError([t])[0].warnings})),(0,u.default)(this,"isFieldsTouched",(function(){r.warningUnhooked();for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=new g.default,n=r.getFieldEntities(!0);n.forEach((function(e){var r=e.props.initialValue,n=e.getNamePath();if(void 0!==r){var o=t.get(n)||new Set;o.add({entity:e,value:r}),t.set(n,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var r,n=t.get(e);n&&(r=o).push.apply(r,(0,a.default)((0,a.default)(n).map((function(e){return e.entity}))))}))):o=n,o.forEach((function(n){if(void 0!==n.props.initialValue){var o=n.getNamePath();if(void 0!==r.getInitialValue(o))(0,d.default)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,d.default)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var s=r.getFieldValue(o);n.isListField()||e.skipExist&&void 0!==s||r.updateStore((0,v.setValue)(r.store,o,(0,a.default)(i)[0].value))}}}}))})),(0,u.default)(this,"resetFields",(function(e){r.warningUnhooked();var t=r.store;if(!e)return r.updateStore((0,f.merge)(r.initialValues)),r.resetWithFieldInitialValue(),r.notifyObservers(t,null,{type:"reset"}),void r.notifyWatch();var n=e.map(v.getNamePath);n.forEach((function(e){var t=r.getInitialValue(e);r.updateStore((0,v.setValue)(r.store,e,t))})),r.resetWithFieldInitialValue({namePathList:n}),r.notifyObservers(t,n,{type:"reset"}),r.notifyWatch(n)})),(0,u.default)(this,"setFields",(function(e){r.warningUnhooked();var t=r.store,n=[];e.forEach((function(e){var o=e.name,a=(0,i.default)(e,b),s=(0,v.getNamePath)(o);n.push(s),"value"in a&&r.updateStore((0,v.setValue)(r.store,s,a.value)),r.notifyObservers(t,[s],{type:"setField",data:e})})),r.notifyWatch(n)})),(0,u.default)(this,"getFields",(function(){return r.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),n=e.getMeta(),i=(0,o.default)((0,o.default)({},n),{},{name:t,value:r.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i}))})),(0,u.default)(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var n=e.getNamePath();void 0===(0,v.getValue)(r.store,n)&&r.updateStore((0,v.setValue)(r.store,n,t))}})),(0,u.default)(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:r.preserve;return null==t||t})),(0,u.default)(this,"registerField",(function(e){r.fieldEntities.push(e);var t=e.getNamePath();if(r.notifyWatch([t]),void 0!==e.props.initialValue){var n=r.store;r.resetWithFieldInitialValue({entities:[e],skipExist:!0}),r.notifyObservers(n,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(n,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(r.fieldEntities=r.fieldEntities.filter((function(t){return t!==e})),!r.isMergedPreserve(o)&&(!n||i.length>1)){var a=n?void 0:r.getInitialValue(t);if(t.length&&r.getFieldValue(t)!==a&&r.fieldEntities.every((function(e){return!(0,v.matchNamePath)(e.getNamePath(),t)}))){var s=r.store;r.updateStore((0,v.setValue)(s,t,a,!0)),r.notifyObservers(s,[t],{type:"remove"}),r.triggerDependenciesUpdate(s,t)}}r.notifyWatch([t])}})),(0,u.default)(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,n=e.value;r.updateValue(t,n);break;case"validateField":var o=e.namePath,i=e.triggerName;r.validateFields([o],{triggerName:i})}})),(0,u.default)(this,"notifyObservers",(function(e,t,n){if(r.subscribable){var i=(0,o.default)((0,o.default)({},n),{},{store:r.getFieldsValue(!0)});r.getFieldEntities().forEach((function(r){(0,r.onStoreChange)(e,t,i)}))}else r.forceRootUpdate()})),(0,u.default)(this,"triggerDependenciesUpdate",(function(e,t){var n=r.getDependencyChildrenFields(t);return n.length&&r.validateFields(n),r.notifyObservers(e,n,{type:"dependenciesUpdate",relatedFields:[t].concat((0,a.default)(n))}),n})),(0,u.default)(this,"updateValue",(function(e,t){var n=(0,v.getNamePath)(e),o=r.store;r.updateStore((0,v.setValue)(r.store,n,t)),r.notifyObservers(o,[n],{type:"valueUpdate",source:"internal"}),r.notifyWatch([n]);var i=r.triggerDependenciesUpdate(o,n),s=r.callbacks.onValuesChange;s&&s((0,v.cloneByNamePathList)(r.store,[n]),r.getFieldsValue());r.triggerOnFieldsChange([n].concat((0,a.default)(i)))})),(0,u.default)(this,"setFieldsValue",(function(e){r.warningUnhooked();var t=r.store;if(e){var n=(0,f.merge)(r.store,e);r.updateStore(n)}r.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),r.notifyWatch()})),(0,u.default)(this,"setFieldValue",(function(e,t){r.setFields([{name:e,value:t}])})),(0,u.default)(this,"getDependencyChildrenFields",(function(e){var t=new Set,n=[],o=new g.default;r.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var r=(0,v.getNamePath)(t);o.update(r,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(r){(o.get(r)||new Set).forEach((function(r){if(!t.has(r)){t.add(r);var o=r.getNamePath();r.isFieldDirty()&&o.length&&(n.push(o),e(o))}}))}(e),n})),(0,u.default)(this,"triggerOnFieldsChange",(function(e,t){var n=r.callbacks.onFieldsChange;if(n){var o=r.getFields();if(t){var i=new g.default;t.forEach((function(e){var t=e.name,r=e.errors;i.set(t,r)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var r=t.name;return(0,v.containsNamePath)(e,r)}));a.length&&n(a,o)}})),(0,u.default)(this,"validateFields",(function(e,t){var n,i;r.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(n=e,i=t):i=e;var s=!!n,l=s?n.map(v.getNamePath):[],c=[],u=String(Date.now()),f=new Set,d=i||{},p=d.recursive,h=d.dirty;r.getFieldEntities(!0).forEach((function(e){if(s||l.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!h||e.isFieldDirty())){var t=e.getNamePath();if(f.add(t.join(u)),!s||(0,v.containsNamePath)(l,t,p)){var n=e.validateRules((0,o.default)({validateMessages:(0,o.default)((0,o.default)({},y.defaultValidateMessages),r.validateMessages)},i));c.push(n.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var r,n=[],o=[];return null===(r=e.forEach)||void 0===r||r.call(e,(function(e){var t=e.rule.warningOnly,r=e.errors;t?o.push.apply(o,(0,a.default)(r)):n.push.apply(n,(0,a.default)(r))})),n.length?Promise.reject({name:t,errors:n,warnings:o}):{name:t,errors:n,warnings:o}})))}}}));var g=(0,m.allPromiseFinish)(c);r.lastValidatePromise=g,g.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));r.notifyObservers(r.store,t,{type:"validateFinish"}),r.triggerOnFieldsChange(t,e)}));var b=g.then((function(){return r.lastValidatePromise===g?Promise.resolve(r.getFieldsValue(l)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:r.getFieldsValue(l),errorFields:t,outOfDate:r.lastValidatePromise!==g})}));b.catch((function(e){return e}));var O=l.filter((function(e){return f.has(e.join(u))}));return r.triggerOnFieldsChange(O),b})),(0,u.default)(this,"submit",(function(){r.warningUnhooked(),r.validateFields().then((function(e){var t=r.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=r.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));const w=function(e){var t=p.useRef(),r=p.useState({}),o=(0,n.default)(r,2)[1];if(!t.current)if(e)t.current=e;else{var i=new O((function(){o({})}));t.current=i.getForm()}return[t.current]}},21806:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u,stringify:()=>l});var n=r(93324),o=(r(80334),r(36198)),i=r(28665),a=r(93409),s=r(53236);function l(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var c=function(){};const u=function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(93324),o=r(89062),i=r(15671),a=r(43144),s=r(4942),l=r(71002),c="__@field_split__";function u(e){return e.map((function(e){return"".concat((0,l.default)(e),":").concat(e)})).join(c)}const f=function(){function e(){(0,i.default)(this,e),(0,s.default)(this,"kvs",new Map)}return(0,a.default)(e,[{key:"set",value:function(e,t){this.kvs.set(u(e),t)}},{key:"get",value:function(e){return this.kvs.get(u(e))}},{key:"update",value:function(e,t){var r=t(this.get(e));r?this.set(e,r):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(u(e))}},{key:"map",value:function(e){return(0,o.default)(this.kvs.entries()).map((function(t){var r=(0,n.default)(t,2),o=r[0],i=r[1],a=o.split(c);return e({key:a.map((function(e){var t=e.match(/^([^:]*):(.*)$/),r=(0,n.default)(t,3),o=r[1],i=r[2];return"number"===o?Number(i):i})),value:i})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var r=t.key,n=t.value;return e[r.join(".")]=n,null})),e}}]),e}()},40496:(e,t,r)=>{"use strict";function n(e){var t=!1,r=e.length,n=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){r-=1,n[a]=e,r>0||(t&&i(n),o(n))}))}))})):Promise.resolve([])}r.r(t),r.d(t,{allPromiseFinish:()=>n})},42656:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultValidateMessages:()=>o});var n="'${name}' is not a valid ${type}",o={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}}},93409:(e,t,r)=>{"use strict";function n(e){return null==e?[]:Array.isArray(e)?e:[e]}function o(e){return e&&!!e._init}r.r(t),r.d(t,{isFormInstance:()=>o,toArray:()=>n})},416:(e,t,r)=>{"use strict";r.r(t),r.d(t,{validateRules:()=>v});var n=r(89062),o=r(4942),i=r(74165),a=r(1413),s=r(15861),l=r(54572),c=r(36198),u=r(80334),f=r(42656),d=r(8880),p=l.default;function h(e,t){return e.replace(/\\?\$\{\w+\}/g,(function(e){if(e.startsWith("\\"))return e.slice(1);var r=e.slice(2,-1);return t[r]}))}var m="CODE_LOGIC_ERROR";function y(e,t,r,n,o){return g.apply(this,arguments)}function g(){return g=(0,s.default)((0,i.default)().mark((function e(t,r,s,l,u){var g,v,b,O,w,S,x,E,_;return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(g=(0,a.default)({},s)).ruleIndex,p.warning=function(){},g.validator&&(v=g.validator,g.validator=function(){try{return v.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(m)}}),b=null,g&&"array"===g.type&&g.defaultField&&(b=g.defaultField,delete g.defaultField),O=new p((0,o.default)({},t,[g])),w=(0,d.merge)(f.defaultValidateMessages,l.validateMessages),O.messages(w),S=[],e.prev=10,e.next=13,Promise.resolve(O.validate((0,o.default)({},t,r),(0,a.default)({},l)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(S=e.t0.errors.map((function(e,t){var r=e.message,n=r===m?w.default:r;return c.isValidElement(n)?c.cloneElement(n,{key:"error_".concat(t)}):n})));case 18:if(S.length||!b){e.next=23;break}return e.next=21,Promise.all(r.map((function(e,r){return y("".concat(t,".").concat(r),e,b,l,u)})));case 21:return x=e.sent,e.abrupt("return",x.reduce((function(e,t){return[].concat((0,n.default)(e),(0,n.default)(t))}),[]));case 23:return E=(0,a.default)((0,a.default)({},s),{},{name:t,enum:(s.enum||[]).join(", ")},u),_=S.map((function(e){return"string"==typeof e?h(e,E):e})),e.abrupt("return",_);case 26:case"end":return e.stop()}}),e,null,[[10,15]])}))),g.apply(this,arguments)}function v(e,t,r,n,o,l){var c,f=e.join("."),d=r.map((function(e,t){var r=e.validator,n=(0,a.default)((0,a.default)({},e),{},{ruleIndex:t});return r&&(n.validator=function(e,t,n){var o=!1,i=r(e,t,(function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{cloneByNamePathList:()=>c,containsNamePath:()=>u,defaultGetValueFromEvent:()=>p,getNamePath:()=>l,getValue:()=>i.default,isSimilar:()=>d,matchNamePath:()=>f,move:()=>h,setValue:()=>a.default});var n=r(89062),o=r(71002),i=r(88306),a=r(8880),s=r(93409);function l(e){return(0,s.toArray)(e)}function c(e,t){var r={};return t.forEach((function(t){var n=(0,i.default)(e,t);r=(0,a.default)(r,t,n)})),r}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return f(t,e,r)}))}function f(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,r){return e[r]===t})))}function d(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==(0,o.default)(e)||"object"!==(0,o.default)(t))return!1;var r=Object.keys(e),i=Object.keys(t),a=new Set([].concat(r,i));return(0,n.default)(a).every((function(r){var n=e[r],o=t[r];return"function"==typeof n&&"function"==typeof o||n===o}))}function p(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,o.default)(t.target)&&e in t.target?t.target[e]:t}function h(e,t,r){var o=e.length;if(t<0||t>=o||r<0||r>=o)return e;var i=e[t],a=t-r;return a>0?[].concat((0,n.default)(e.slice(0,r)),[i],(0,n.default)(e.slice(r,t)),(0,n.default)(e.slice(t+1,o))):a<0?[].concat((0,n.default)(e.slice(0,t)),(0,n.default)(e.slice(t+1,r+1)),[i],(0,n.default)(e.slice(r+1,o))):e}},48960:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(1413),o=r(87462),i=r(4942),a=r(71002),s=r(93967),l=r.n(s),c=r(36198),u=r(87887);const f=c.forwardRef((function(e,t){var r,s,f=e.inputElement,d=e.children,p=e.prefixCls,h=e.prefix,m=e.suffix,y=e.addonBefore,g=e.addonAfter,v=e.className,b=e.style,O=e.disabled,w=e.readOnly,S=e.focused,x=e.triggerFocus,E=e.allowClear,_=e.value,P=e.handleReset,T=e.hidden,j=e.classes,C=e.classNames,k=e.dataAttrs,A=e.styles,D=e.components,L=e.onClear,R=null!=d?d:f,M=(null==D?void 0:D.affixWrapper)||"span",I=(null==D?void 0:D.groupWrapper)||"span",N=(null==D?void 0:D.wrapper)||"span",B=(null==D?void 0:D.groupAddon)||"span",$=(0,c.useRef)(null),F=(0,u.hasPrefixSuffix)(e),z=(0,c.cloneElement)(R,{value:_,className:l()(R.props.className,!F&&(null==C?void 0:C.variant))||null}),Q=(0,c.useRef)(null);if(c.useImperativeHandle(t,(function(){return{nativeElement:Q.current||$.current}})),F){var V=null;if(E){var U=!O&&!w&&_,G="".concat(p,"-clear-icon"),W="object"===(0,a.default)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";V=c.createElement("span",{onClick:function(e){null==P||P(e),null==L||L()},onMouseDown:function(e){return e.preventDefault()},className:l()(G,(0,i.default)((0,i.default)({},"".concat(G,"-hidden"),!U),"".concat(G,"-has-suffix"),!!m)),role:"button",tabIndex:-1},W)}var H="".concat(p,"-affix-wrapper"),Z=l()(H,(0,i.default)((0,i.default)((0,i.default)((0,i.default)((0,i.default)({},"".concat(p,"-disabled"),O),"".concat(H,"-disabled"),O),"".concat(H,"-focused"),S),"".concat(H,"-readonly"),w),"".concat(H,"-input-with-clear-btn"),m&&E&&_),null==j?void 0:j.affixWrapper,null==C?void 0:C.affixWrapper,null==C?void 0:C.variant),X=(m||E)&&c.createElement("span",{className:l()("".concat(p,"-suffix"),null==C?void 0:C.suffix),style:null==A?void 0:A.suffix},V,m);z=c.createElement(M,(0,o.default)({className:Z,style:null==A?void 0:A.affixWrapper,onClick:function(e){var t;null!==(t=$.current)&&void 0!==t&&t.contains(e.target)&&(null==x||x())}},null==k?void 0:k.affixWrapper,{ref:$}),h&&c.createElement("span",{className:l()("".concat(p,"-prefix"),null==C?void 0:C.prefix),style:null==A?void 0:A.prefix},h),z,X)}if((0,u.hasAddon)(e)){var q="".concat(p,"-group"),Y="".concat(q,"-addon"),K="".concat(q,"-wrapper"),J=l()("".concat(p,"-wrapper"),q,null==j?void 0:j.wrapper,null==C?void 0:C.wrapper),ee=l()(K,(0,i.default)({},"".concat(K,"-disabled"),O),null==j?void 0:j.group,null==C?void 0:C.groupWrapper);z=c.createElement(I,{className:ee,ref:Q},c.createElement(N,{className:J},y&&c.createElement(B,{className:Y},y),z,g&&c.createElement(B,{className:Y},g)))}return c.cloneElement(z,{className:l()(null===(r=z.props)||void 0===r?void 0:r.className,v)||null,style:(0,n.default)((0,n.default)({},null===(s=z.props)||void 0===s?void 0:s.style),b),hidden:T})}))},91504:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(1413),o=r(87462),i=r(4942),a=r(89062),s=r(93324),l=r(45987),c=r(93967),u=r.n(c),f=r(21770),d=r(98423),p=r(36198),h=r(48960),m=r(82234),y=r(87887),g=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];const v=(0,p.forwardRef)((function(e,t){var r=e.autoComplete,c=e.onChange,v=e.onFocus,b=e.onBlur,O=e.onPressEnter,w=e.onKeyDown,S=e.onKeyUp,x=e.prefixCls,E=void 0===x?"rc-input":x,_=e.disabled,P=e.htmlSize,T=e.className,j=e.maxLength,C=e.suffix,k=e.showCount,A=e.count,D=e.type,L=void 0===D?"text":D,R=e.classes,M=e.classNames,I=e.styles,N=e.onCompositionStart,B=e.onCompositionEnd,$=(0,l.default)(e,g),F=(0,p.useState)(!1),z=(0,s.default)(F,2),Q=z[0],V=z[1],U=(0,p.useRef)(!1),G=(0,p.useRef)(!1),W=(0,p.useRef)(null),H=(0,p.useRef)(null),Z=function(e){W.current&&(0,y.triggerFocus)(W.current,e)},X=(0,f.default)(e.defaultValue,{value:e.value}),q=(0,s.default)(X,2),Y=q[0],K=q[1],J=null==Y?"":String(Y),ee=(0,p.useState)(null),te=(0,s.default)(ee,2),re=te[0],ne=te[1],oe=(0,m.default)(A,k),ie=oe.max||j,ae=oe.strategy(J),se=!!ie&&ae>ie;(0,p.useImperativeHandle)(t,(function(){var e;return{focus:Z,blur:function(){var e;null===(e=W.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,r){var n;null===(n=W.current)||void 0===n||n.setSelectionRange(e,t,r)},select:function(){var e;null===(e=W.current)||void 0===e||e.select()},input:W.current,nativeElement:(null===(e=H.current)||void 0===e?void 0:e.nativeElement)||W.current}})),(0,p.useEffect)((function(){V((function(e){return(!e||!_)&&e}))}),[_]);var le=function(e,t,r){var n,o,i=t;if(!U.current&&oe.exceedFormatter&&oe.max&&oe.strategy(t)>oe.max)t!==(i=oe.exceedFormatter(t,{max:oe.max}))&&ne([(null===(n=W.current)||void 0===n?void 0:n.selectionStart)||0,(null===(o=W.current)||void 0===o?void 0:o.selectionEnd)||0]);else if("compositionEnd"===r.source)return;K(i),W.current&&(0,y.resolveOnChange)(W.current,e,c,i)};(0,p.useEffect)((function(){var e;re&&(null===(e=W.current)||void 0===e||e.setSelectionRange.apply(e,(0,a.default)(re)))}),[re]);var ce,ue=function(e){le(e,e.target.value,{source:"change"})},fe=function(e){U.current=!1,le(e,e.currentTarget.value,{source:"compositionEnd"}),null==B||B(e)},de=function(e){O&&"Enter"===e.key&&!G.current&&(G.current=!0,O(e)),null==w||w(e)},pe=function(e){"Enter"===e.key&&(G.current=!1),null==S||S(e)},he=function(e){V(!0),null==v||v(e)},me=function(e){V(!1),null==b||b(e)},ye=se&&"".concat(E,"-out-of-range");return p.createElement(h.default,(0,o.default)({},$,{prefixCls:E,className:u()(T,ye),handleReset:function(e){K(""),Z(),W.current&&(0,y.resolveOnChange)(W.current,e,c)},value:J,focused:Q,triggerFocus:Z,suffix:function(){var e=Number(ie)>0;if(C||oe.show){var t=oe.showFormatter?oe.showFormatter({value:J,count:ae,maxLength:ie}):"".concat(ae).concat(e?" / ".concat(ie):"");return p.createElement(p.Fragment,null,oe.show&&p.createElement("span",{className:u()("".concat(E,"-show-count-suffix"),(0,i.default)({},"".concat(E,"-show-count-has-suffix"),!!C),null==M?void 0:M.count),style:(0,n.default)({},null==I?void 0:I.count)},t),C)}return null}(),disabled:_,classes:R,classNames:M,styles:I}),(ce=(0,d.default)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),p.createElement("input",(0,o.default)({autoComplete:r},ce,{onChange:ue,onFocus:he,onBlur:me,onKeyDown:de,onKeyUp:pe,className:u()(E,(0,i.default)({},"".concat(E,"-disabled"),_),null==M?void 0:M.input),style:null==I?void 0:I.input,ref:W,size:P,type:L,onCompositionStart:function(e){U.current=!0,null==N||N(e)},onCompositionEnd:fe}))))}))},82234:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,inCountRange:()=>l});var n=r(45987),o=r(1413),i=r(71002),a=r(36198),s=["show"];function l(e,t){return!t.max||t.strategy(e)<=t.max}function c(e,t){return a.useMemo((function(){var r={};t&&(r.show="object"===(0,i.default)(t)&&t.formatter?t.formatter:!!t);var a=r=(0,o.default)((0,o.default)({},r),e),l=a.show,c=(0,n.default)(a,s);return(0,o.default)((0,o.default)({},c),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:c.strategy||function(e){return e.length}})}),[e,t])}},10584:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseInput:()=>n.default,default:()=>o});var n=r(48960);const o=r(91504).default},87887:(e,t,r)=>{"use strict";function n(e){return!(!e.addonBefore&&!e.addonAfter)}function o(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,t,r){var n=t.cloneNode(!0),o=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=r,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function a(e,t,r,n){if(r){var o=t;"click"!==t.type?"file"===e.type||void 0===n?r(o):r(o=i(t,e,n)):r(o=i(t,e,""))}}function s(e,t){if(e){e.focus(t);var r=(t||{}).cursor;if(r){var n=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}}r.r(t),r.d(t,{hasAddon:()=>n,hasPrefixSuffix:()=>o,resolveOnChange:()=>a,triggerFocus:()=>s})},15407:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b,genCSSMotion:()=>v});var n=r(4942),o=r(1413),i=r(93324),a=r(71002),s=r(93967),l=r.n(s),c=r(34203),u=r(42550),f=r(36198),d=r(40507),p=r(44154),h=r(72215),m=r(10179),y=r(21279),g=r(94159);function v(e){var t=e;"object"===(0,a.default)(e)&&(t=e.transitionSupport);var r=f.forwardRef((function(e,r){var a=e.visible,s=void 0===a||a,v=e.removeOnLeave,b=void 0===v||v,O=e.forceRender,w=e.children,S=e.motionName,x=e.leavedClassName,E=e.eventProps,_=function(e,r){return!(!e.motionName||!t||!1===r)}(e,f.useContext(d.Context).motion),P=(0,f.useRef)(),T=(0,f.useRef)();var j=(0,h.default)(_,s,(function(){try{return P.current instanceof HTMLElement?P.current:(0,c.default)(T.current)}catch(e){return null}}),e),C=(0,i.default)(j,4),k=C[0],A=C[1],D=C[2],L=C[3],R=f.useRef(L);L&&(R.current=!0);var M,I=f.useCallback((function(e){P.current=e,(0,u.fillRef)(r,e)}),[r]),N=(0,o.default)((0,o.default)({},E),{},{visible:s});if(w)if(k===y.STATUS_NONE)M=L?w((0,o.default)({},N),I):!b&&R.current&&x?w((0,o.default)((0,o.default)({},N),{},{className:x}),I):O||!b&&!x?w((0,o.default)((0,o.default)({},N),{},{style:{display:"none"}}),I):null;else{var B;A===y.STEP_PREPARE?B="prepare":(0,m.isActive)(A)?B="active":A===y.STEP_START&&(B="start");var $=(0,g.getTransitionName)(S,"".concat(k,"-").concat(B));M=w((0,o.default)((0,o.default)({},N),{},{className:l()((0,g.getTransitionName)(S,k),(0,n.default)((0,n.default)({},$,$&&B),S,"string"==typeof S)),style:D}),I)}else M=null;f.isValidElement(M)&&(0,u.supportRef)(M)&&(M.ref||(M=f.cloneElement(M,{ref:I})));return f.createElement(p.default,{ref:T},M)}));return r.displayName="CSSMotion",r}const b=v(g.supportTransition)},84173:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>O,genCSSMotionList:()=>b});var n=r(87462),o=r(45987),i=r(1413),a=r(15671),s=r(43144),l=r(97326),c=r(60136),u=r(29388),f=r(4942),d=r(36198),p=r(15407),h=r(52378),m=r(94159),y=["component","children","onVisibleChanged","onAllRemoved"],g=["status"],v=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.default,r=function(e){(0,c.default)(p,e);var r=(0,u.default)(p);function p(){var e;(0,a.default)(this,p);for(var t=arguments.length,n=new Array(t),o=0;o{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(15671),o=r(43144),i=r(60136),a=r(29388);const s=function(e){(0,i.default)(r,e);var t=(0,a.default)(r);function r(){return(0,n.default)(this,r),t.apply(this,arguments)}return(0,o.default)(r,[{key:"render",value:function(){return this.props.children}}]),r}(r(36198).Component)},40507:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Context:()=>a,default:()=>s});var n=r(45987),o=r(36198),i=["children"],a=o.createContext({});function s(e){var t=e.children,r=(0,n.default)(e,i);return o.createElement(a.Provider,{value:r},t)}},68377:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198),o=r(94159);const i=function(e){var t=(0,n.useRef)();function r(t){t&&(t.removeEventListener(o.transitionEndName,e),t.removeEventListener(o.animationEndName,e))}return n.useEffect((function(){return function(){r(t.current)}}),[]),[function(n){t.current&&t.current!==n&&r(t.current),n&&n!==t.current&&(n.addEventListener(o.transitionEndName,e),n.addEventListener(o.animationEndName,e),t.current=n)},r]}},10586:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(98924),o=r(36198);const i=(0,n.default)()?o.useLayoutEffect:o.useEffect},54194:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(75164),o=r(36198);const i=function(){var e=o.useRef(null);function t(){n.default.cancel(e.current)}return o.useEffect((function(){return function(){t()}}),[]),[function r(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var a=(0,n.default)((function(){i<=1?o({isCanceled:function(){return a!==e.current}}):r(o,i-1)}));e.current=a},t]}},72215:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(1413),o=r(4942),i=r(93324),a=r(56790),s=r(30470),l=r(61848),c=r(36198),u=r(21279),f=r(68377),d=r(10586),p=r(10179);function h(e,t,r,h){var m=h.motionEnter,y=void 0===m||m,g=h.motionAppear,v=void 0===g||g,b=h.motionLeave,O=void 0===b||b,w=h.motionDeadline,S=h.motionLeaveImmediately,x=h.onAppearPrepare,E=h.onEnterPrepare,_=h.onLeavePrepare,P=h.onAppearStart,T=h.onEnterStart,j=h.onLeaveStart,C=h.onAppearActive,k=h.onEnterActive,A=h.onLeaveActive,D=h.onAppearEnd,L=h.onEnterEnd,R=h.onLeaveEnd,M=h.onVisibleChanged,I=(0,s.default)(),N=(0,i.default)(I,2),B=N[0],$=N[1],F=(0,l.default)(u.STATUS_NONE),z=(0,i.default)(F,2),Q=z[0],V=z[1],U=(0,s.default)(null),G=(0,i.default)(U,2),W=G[0],H=G[1],Z=Q(),X=(0,c.useRef)(!1),q=(0,c.useRef)(null);function Y(){return r()}var K=(0,c.useRef)(!1);function J(){V(u.STATUS_NONE),H(null,!0)}var ee=(0,a.useEvent)((function(e){var t=Q();if(t!==u.STATUS_NONE){var r=Y();if(!e||e.deadline||e.target===r){var n,o=K.current;t===u.STATUS_APPEAR&&o?n=null==D?void 0:D(r,e):t===u.STATUS_ENTER&&o?n=null==L?void 0:L(r,e):t===u.STATUS_LEAVE&&o&&(n=null==R?void 0:R(r,e)),o&&!1!==n&&J()}}})),te=(0,f.default)(ee),re=(0,i.default)(te,1)[0],ne=function(e){switch(e){case u.STATUS_APPEAR:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,x),u.STEP_START,P),u.STEP_ACTIVE,C);case u.STATUS_ENTER:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,E),u.STEP_START,T),u.STEP_ACTIVE,k);case u.STATUS_LEAVE:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,_),u.STEP_START,j),u.STEP_ACTIVE,A);default:return{}}},oe=c.useMemo((function(){return ne(Z)}),[Z]),ie=(0,p.default)(Z,!e,(function(e){if(e===u.STEP_PREPARE){var t=oe[u.STEP_PREPARE];return t?t(Y()):p.SkipStep}var r;le in oe&&H((null===(r=oe[le])||void 0===r?void 0:r.call(oe,Y(),null))||null);return le===u.STEP_ACTIVE&&Z!==u.STATUS_NONE&&(re(Y()),w>0&&(clearTimeout(q.current),q.current=setTimeout((function(){ee({deadline:!0})}),w))),le===u.STEP_PREPARED&&J(),p.DoStep})),ae=(0,i.default)(ie,2),se=ae[0],le=ae[1],ce=(0,p.isActive)(le);K.current=ce,(0,d.default)((function(){$(t);var r,n=X.current;X.current=!0,!n&&t&&v&&(r=u.STATUS_APPEAR),n&&t&&y&&(r=u.STATUS_ENTER),(n&&!t&&O||!n&&S&&!t&&O)&&(r=u.STATUS_LEAVE);var o=ne(r);r&&(e||o[u.STEP_PREPARE])?(V(r),se()):V(u.STATUS_NONE)}),[t]),(0,c.useEffect)((function(){(Z===u.STATUS_APPEAR&&!v||Z===u.STATUS_ENTER&&!y||Z===u.STATUS_LEAVE&&!O)&&V(u.STATUS_NONE)}),[v,y,O]),(0,c.useEffect)((function(){return function(){X.current=!1,clearTimeout(q.current)}}),[]);var ue=c.useRef(!1);(0,c.useEffect)((function(){B&&(ue.current=!0),void 0!==B&&Z===u.STATUS_NONE&&((ue.current||B)&&(null==M||M(B)),ue.current=!0)}),[B,Z]);var fe=W;return oe[u.STEP_PREPARE]&&le===u.STEP_START&&(fe=(0,n.default)({transition:"none"},fe)),[Z,le,fe,null!=B?B:t]}},10179:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DoStep:()=>d,SkipStep:()=>f,default:()=>h,isActive:()=>p});var n=r(93324),o=r(30470),i=r(36198),a=r(21279),s=r(10586),l=r(54194),c=[a.STEP_PREPARE,a.STEP_START,a.STEP_ACTIVE,a.STEP_ACTIVATED],u=[a.STEP_PREPARE,a.STEP_PREPARED],f=!1,d=!0;function p(e){return e===a.STEP_ACTIVE||e===a.STEP_ACTIVATED}const h=function(e,t,r){var d=(0,o.default)(a.STEP_NONE),p=(0,n.default)(d,2),h=p[0],m=p[1],y=(0,l.default)(),g=(0,n.default)(y,2),v=g[0],b=g[1];var O=t?u:c;return(0,s.default)((function(){if(h!==a.STEP_NONE&&h!==a.STEP_ACTIVATED){var e=O.indexOf(h),t=O[e+1],n=r(h);n===f?m(t,!0):t&&v((function(e){function r(){e.isCanceled()||m(t,!0)}!0===n?r():Promise.resolve(n).then(r)}))}}),[e,h]),i.useEffect((function(){return function(){b()}}),[]),[function(){m(a.STEP_PREPARE,!0)},h]}},93587:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CSSMotionList:()=>o.default,Provider:()=>i.default,default:()=>a});var n=r(15407),o=r(84173),i=r(40507);const a=n.default},21279:(e,t,r)=>{"use strict";r.r(t),r.d(t,{STATUS_APPEAR:()=>o,STATUS_ENTER:()=>i,STATUS_LEAVE:()=>a,STATUS_NONE:()=>n,STEP_ACTIVATED:()=>f,STEP_ACTIVE:()=>u,STEP_NONE:()=>s,STEP_PREPARE:()=>l,STEP_PREPARED:()=>d,STEP_START:()=>c});var n="none",o="appear",i="enter",a="leave",s="none",l="prepare",c="start",u="active",f="end",d="prepared"},52378:(e,t,r)=>{"use strict";r.r(t),r.d(t,{STATUS_ADD:()=>i,STATUS_KEEP:()=>a,STATUS_REMOVE:()=>s,STATUS_REMOVED:()=>l,diffKeys:()=>f,parseKeys:()=>u,wrapKeyToObject:()=>c});var n=r(1413),o=r(71002),i="add",a="keep",s="remove",l="removed";function c(e){var t;return t=e&&"object"===(0,o.default)(e)&&"key"in e?e:{key:e},(0,n.default)((0,n.default)({},t),{},{key:String(t.key)})}function u(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(c)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],o=0,l=t.length,c=u(e),f=u(t);c.forEach((function(e){for(var t=!1,c=o;c1})).forEach((function(e){(r=r.filter((function(t){var r=t.key,n=t.status;return r!==e||n!==s}))).forEach((function(t){t.key===e&&(t.status=a)}))})),r}},94159:(e,t,r)=>{"use strict";r.r(t),r.d(t,{animationEndName:()=>m,getTransitionName:()=>g,getVendorPrefixedEventName:()=>f,getVendorPrefixes:()=>a,supportTransition:()=>h,transitionEndName:()=>y});var n=r(71002),o=r(98924);function i(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function a(e,t){var r={animationend:i("Animation","AnimationEnd"),transitionend:i("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var s=a((0,o.default)(),"undefined"!=typeof window?window:{}),l={};if((0,o.default)()){var c=document.createElement("div");l=c.style}var u={};function f(e){if(u[e])return u[e];var t=s[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o{"use strict";r.r(t),r.d(t,{default:()=>n});const n={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},25541:(e,t,r)=>{"use strict";r.r(t),r.d(t,{commonLocale:()=>n});var n={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},18758:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(1413),o=r(25541);const i=(0,n.default)((0,n.default)({},o.commonLocale),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"})},64843:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(71002),o=r(36198),i=function(e){var t=e.bg,r=e.children;return o.createElement("div",{style:{width:"100%",height:"100%",background:t}},r)};function a(e,t){return Object.keys(e).map((function(r){var n=parseFloat(r),o="".concat(Math.floor(n*t),"%");return"".concat(e[r]," ").concat(o)}))}const s=o.forwardRef((function(e,t){var r=e.prefixCls,s=e.color,l=e.gradientId,c=e.radius,u=e.style,f=e.ptg,d=e.strokeLinecap,p=e.strokeWidth,h=e.size,m=e.gapDegree,y=s&&"object"===(0,n.default)(s),g=y?"#FFF":void 0,v=h/2,b=o.createElement("circle",{className:"".concat(r,"-circle-path"),r:c,cx:v,cy:v,stroke:g,strokeLinecap:d,strokeWidth:p,opacity:0===f?0:1,style:u,ref:t});if(!y)return b;var O="".concat(l,"-conic"),w=m?"".concat(180+m/2,"deg"):"0deg",S=a(s,(360-m)/360),x=a(s,1),E="conic-gradient(from ".concat(w,", ").concat(S.join(", "),")"),_="linear-gradient(to ".concat(m?"bottom":"top",", ").concat(x.join(", "),")");return o.createElement(o.Fragment,null,o.createElement("mask",{id:O},b),o.createElement("foreignObject",{x:0,y:0,width:h,height:h,mask:"url(#".concat(O,")")},o.createElement(i,{bg:_},o.createElement(i,{bg:E}))))}))},16859:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(87462),o=r(71002),i=r(1413),a=r(45987),s=r(36198),l=r(93967),c=r.n(l),u=r(49883),f=r(68403),d=r(64843),p=r(88826),h=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function m(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}const y=function(e){var t,r,l,y=(0,i.default)((0,i.default)({},u.defaultProps),e),g=y.id,v=y.prefixCls,b=y.steps,O=y.strokeWidth,w=y.trailWidth,S=y.gapDegree,x=void 0===S?0:S,E=y.gapPosition,_=y.trailColor,P=y.strokeLinecap,T=y.style,j=y.className,C=y.strokeColor,k=y.percent,A=(0,a.default)(y,h),D=p.VIEW_BOX_SIZE/2,L=(0,f.default)(g),R="".concat(L,"-gradient"),M=D-O/2,I=2*Math.PI*M,N=x>0?90+x/2:-90,B=I*((360-x)/360),$="object"===(0,o.default)(b)?b:{count:b,gap:2},F=$.count,z=$.gap,Q=m(k),V=m(C),U=V.find((function(e){return e&&"object"===(0,o.default)(e)})),G=U&&"object"===(0,o.default)(U)?"butt":P,W=(0,p.getCircleStyle)(I,B,0,100,N,x,E,_,G,O),H=(0,u.useTransitionDuration)();return s.createElement("svg",(0,n.default)({className:c()("".concat(v,"-circle"),j),viewBox:"0 0 ".concat(p.VIEW_BOX_SIZE," ").concat(p.VIEW_BOX_SIZE),style:T,id:g,role:"presentation"},A),!F&&s.createElement("circle",{className:"".concat(v,"-circle-trail"),r:M,cx:D,cy:D,stroke:_,strokeLinecap:G,strokeWidth:w||O,style:W}),F?(t=Math.round(F*(Q[0]/100)),r=100/F,l=0,new Array(F).fill(null).map((function(e,n){var i=n<=t-1?V[0]:_,a=i&&"object"===(0,o.default)(i)?"url(#".concat(R,")"):void 0,c=(0,p.getCircleStyle)(I,B,l,r,N,x,E,i,"butt",O,z);return l+=100*(B-c.strokeDashoffset+z)/B,s.createElement("circle",{key:n,className:"".concat(v,"-circle-path"),r:M,cx:D,cy:D,stroke:a,strokeWidth:O,opacity:1,style:c,ref:function(e){H[n]=e}})}))):function(){var e=0;return Q.map((function(t,r){var n=V[r]||V[V.length-1],o=(0,p.getCircleStyle)(I,B,e,t,N,x,E,n,G,O);return e+=t,s.createElement(d.default,{key:r,color:n,ptg:t,radius:M,prefixCls:v,gradientId:R,style:o,strokeLinecap:G,strokeWidth:O,gapDegree:x,ref:function(e){H[r]=e},size:p.VIEW_BOX_SIZE})})).reverse()}())}},88826:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VIEW_BOX_SIZE:()=>n,getCircleStyle:()=>o});var n=100,o=function(e,t,r,o,i,a,s,l,c,u){var f=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=r/100*360*((360-a)/360),p=0===a?0:{bottom:0,top:180,left:90,right:-90}[s],h=(100-o)/100*t;"round"===c&&100!==o&&(h+=u/2)>=t&&(h=t-.01);var m=n/2;return{stroke:"string"==typeof l?l:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:h+f,transform:"rotate(".concat(i+d+p,"deg)"),transformOrigin:"".concat(m,"px ").concat(m,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}}},10790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(87462),o=r(1413),i=r(45987),a=r(36198),s=r(93967),l=r.n(s),c=r(49883),u=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"];const f=function(e){var t=(0,o.default)((0,o.default)({},c.defaultProps),e),r=t.className,s=t.percent,f=t.prefixCls,d=t.strokeColor,p=t.strokeLinecap,h=t.strokeWidth,m=t.style,y=t.trailColor,g=t.trailWidth,v=t.transition,b=(0,i.default)(t,u);delete b.gapPosition;var O=Array.isArray(s)?s:[s],w=Array.isArray(d)?d:[d],S=(0,c.useTransitionDuration)(),x=h/2,E=100-h/2,_="M ".concat("round"===p?x:0,",").concat(x,"\n L ").concat("round"===p?E:100,",").concat(x),P="0 0 100 ".concat(h),T=0;return a.createElement("svg",(0,n.default)({className:l()("".concat(f,"-line"),r),viewBox:P,preserveAspectRatio:"none",style:m},b),a.createElement("path",{className:"".concat(f,"-line-trail"),d:_,strokeLinecap:p,stroke:y,strokeWidth:g||h,fillOpacity:"0"}),O.map((function(e,t){var r=1;switch(p){case"round":r=1-h/100;break;case"square":r=1-h/2/100;break;default:r=1}var n={strokeDasharray:"".concat(e*r,"px, 100px"),strokeDashoffset:"-".concat(T,"px"),transition:v||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},o=w[t]||w[w.length-1];return T+=e,a.createElement("path",{key:t,className:"".concat(f,"-line-path"),d:_,strokeLinecap:p,stroke:o,strokeWidth:h,fillOpacity:"0",ref:function(e){S[t]=e},style:n})})))}},49883:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultProps:()=>o,useTransitionDuration:()=>i});var n=r(36198),o={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},i=function(){var e=(0,n.useRef)([]),t=(0,n.useRef)(null);return(0,n.useEffect)((function(){var r=Date.now(),n=!1;e.current.forEach((function(e){if(e){n=!0;var o=e.style;o.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(o.transitionDuration="0s, 0s")}})),n&&(t.current=Date.now())})),e.current}},68403:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,isBrowserClient:()=>s});var n=r(93324),o=r(36198),i=r(98924),a=0,s=(0,i.default)();const l=function(e){var t=o.useState(),r=(0,n.default)(t,2),i=r[0],l=r[1];return o.useEffect((function(){var e;l("rc_progress_".concat((s?(e=a,a+=1):e="TEST_OR_SSR",e)))}),[]),e||i}},64528:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Circle:()=>o.default,Line:()=>n.default,default:()=>i});var n=r(10790),o=r(16859);const i={Line:n.default,Circle:o.default}},59138:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Collection:()=>i,CollectionContext:()=>o});var n=r(36198),o=n.createContext(null);function i(e){var t=e.children,r=e.onBatchResize,i=n.useRef(0),a=n.useRef([]),s=n.useContext(o),l=n.useCallback((function(e,t,n){i.current+=1;var o=i.current;a.current.push({size:e,element:t,data:n}),Promise.resolve().then((function(){o===i.current&&(null==r||r(a.current),a.current=[])})),null==s||s(e,t,n)}),[r,s]);return n.createElement(o.Provider,{value:l},t)}},86388:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(15671),o=r(43144),i=r(60136),a=r(29388),s=function(e){(0,i.default)(r,e);var t=(0,a.default)(r);function r(){return(0,n.default)(this,r),t.apply(this,arguments)}return(0,o.default)(r,[{key:"render",value:function(){return this.props.children}}]),r}(r(36198).Component)},31162:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(1413),o=r(71002),i=r(34203),a=r(42550),s=r(36198),l=r(59138),c=r(42591),u=r(86388);function f(e,t){var r=e.children,f=e.disabled,d=s.useRef(null),p=s.useRef(null),h=s.useContext(l.CollectionContext),m="function"==typeof r,y=m?r(d):r,g=s.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!m&&s.isValidElement(y)&&(0,a.supportRef)(y),b=v?y.ref:null,O=(0,a.useComposeRef)(b,d),w=function(){var e;return(0,i.default)(d.current)||(d.current&&"object"===(0,o.default)(d.current)?(0,i.default)(null===(e=d.current)||void 0===e?void 0:e.nativeElement):null)||(0,i.default)(p.current)};s.useImperativeHandle(t,(function(){return w()}));var S=s.useRef(e);S.current=e;var x=s.useCallback((function(e){var t=S.current,r=t.onResize,o=t.data,i=e.getBoundingClientRect(),a=i.width,s=i.height,l=e.offsetWidth,c=e.offsetHeight,u=Math.floor(a),f=Math.floor(s);if(g.current.width!==u||g.current.height!==f||g.current.offsetWidth!==l||g.current.offsetHeight!==c){var d={width:u,height:f,offsetWidth:l,offsetHeight:c};g.current=d;var p=l===Math.round(a)?a:l,m=c===Math.round(s)?s:c,y=(0,n.default)((0,n.default)({},d),{},{offsetWidth:p,offsetHeight:m});null==h||h(y,e,o),r&&Promise.resolve().then((function(){r(y,e)}))}}),[]);return s.useEffect((function(){var e=w();return e&&!f&&(0,c.observe)(e,x),function(){return(0,c.unobserve)(e,x)}}),[d.current,f]),s.createElement(u.default,{ref:p},v?s.cloneElement(y,{ref:O}):y)}const d=s.forwardRef(f)},4084:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_rs:()=>l._rs,default:()=>f});var n=r(87462),o=r(36198),i=r(50344),a=(r(80334),r(31162)),s=r(59138),l=r(42591);function c(e,t){var r=e.children;return("function"==typeof r?[r]:(0,i.default)(r)).map((function(r,i){var s=(null==r?void 0:r.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(a.default,(0,n.default)({},e,{key:s,ref:0===i?t:void 0}),r)}))}var u=o.forwardRef(c);u.Collection=s.Collection;const f=u},42591:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_el:()=>a,_rs:()=>s,observe:()=>l,unobserve:()=>c});var n=r(91033),o=new Map;var i=new n.default((function(e){e.forEach((function(e){var t,r=e.target;null===(t=o.get(r))||void 0===t||t.forEach((function(e){return e(r)}))}))})),a=null,s=null;function l(e,t){o.has(e)||(o.set(e,new Set),i.observe(e)),o.get(e).add(t)}function c(e,t){o.has(e)&&(o.get(e).delete(t),o.get(e).size||(i.unobserve(e),o.delete(e)))}},94782:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(87462),o=r(4942),i=r(1413),a=r(71002),s=r(93324),l=r(45987),c=r(93967),u=r.n(c),f=r(4084),d=r(8410),p=r(21770),h=r(75164),m=r(36198),y=r(72801),g=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"];const v=m.forwardRef((function(e,t){var r=e,c=r.prefixCls,v=r.defaultValue,b=r.value,O=r.autoSize,w=r.onResize,S=r.className,x=r.style,E=r.disabled,_=r.onChange,P=(r.onInternalAutoSize,(0,l.default)(r,g)),T=(0,p.default)(v,{value:b,postState:function(e){return null!=e?e:""}}),j=(0,s.default)(T,2),C=j[0],k=j[1],A=m.useRef();m.useImperativeHandle(t,(function(){return{textArea:A.current}}));var D=m.useMemo((function(){return O&&"object"===(0,a.default)(O)?[O.minRows,O.maxRows]:[]}),[O]),L=(0,s.default)(D,2),R=L[0],M=L[1],I=!!O,N=m.useState(2),B=(0,s.default)(N,2),$=B[0],F=B[1],z=m.useState(),Q=(0,s.default)(z,2),V=Q[0],U=Q[1],G=function(){F(0)};(0,d.default)((function(){I&&G()}),[b,R,M,I]),(0,d.default)((function(){if(0===$)F(1);else if(1===$){var e=(0,y.default)(A.current,!1,R,M);F(2),U(e)}else!function(){try{if(document.activeElement===A.current){var e=A.current,t=e.selectionStart,r=e.selectionEnd,n=e.scrollTop;A.current.setSelectionRange(t,r),A.current.scrollTop=n}}catch(e){}}()}),[$]);var W=m.useRef(),H=function(){h.default.cancel(W.current)};m.useEffect((function(){return H}),[]);var Z=I?V:null,X=(0,i.default)((0,i.default)({},x),Z);return 0!==$&&1!==$||(X.overflowY="hidden",X.overflowX="hidden"),m.createElement(f.default,{onResize:function(e){2===$&&(null==w||w(e),O&&(H(),W.current=(0,h.default)((function(){G()}))))},disabled:!(O||w)},m.createElement("textarea",(0,n.default)({},P,{ref:A,style:X,className:u()(c,S,(0,o.default)({},"".concat(c,"-disabled"),E)),disabled:E,value:C,onChange:function(e){k(e.target.value),null==_||_(e)}})))}))},15953:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(87462),o=r(4942),i=r(1413),a=r(89062),s=r(93324),l=r(45987),c=r(93967),u=r.n(c),f=r(10584),d=r(82234),p=r(87887),h=r(21770),m=r(36198),y=r(94782),g=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"];const v=m.forwardRef((function(e,t){var r,c=e.defaultValue,v=e.value,b=e.onFocus,O=e.onBlur,w=e.onChange,S=e.allowClear,x=e.maxLength,E=e.onCompositionStart,_=e.onCompositionEnd,P=e.suffix,T=e.prefixCls,j=void 0===T?"rc-textarea":T,C=e.showCount,k=e.count,A=e.className,D=e.style,L=e.disabled,R=e.hidden,M=e.classNames,I=e.styles,N=e.onResize,B=e.onClear,$=e.onPressEnter,F=e.readOnly,z=e.autoSize,Q=e.onKeyDown,V=(0,l.default)(e,g),U=(0,h.default)(c,{value:v,defaultValue:c}),G=(0,s.default)(U,2),W=G[0],H=G[1],Z=null==W?"":String(W),X=m.useState(!1),q=(0,s.default)(X,2),Y=q[0],K=q[1],J=m.useRef(!1),ee=m.useState(null),te=(0,s.default)(ee,2),re=te[0],ne=te[1],oe=(0,m.useRef)(null),ie=(0,m.useRef)(null),ae=function(){var e;return null===(e=ie.current)||void 0===e?void 0:e.textArea},se=function(){ae().focus()};(0,m.useImperativeHandle)(t,(function(){var e;return{resizableTextArea:ie.current,focus:se,blur:function(){ae().blur()},nativeElement:(null===(e=oe.current)||void 0===e?void 0:e.nativeElement)||ae()}})),(0,m.useEffect)((function(){K((function(e){return!L&&e}))}),[L]);var le=m.useState(null),ce=(0,s.default)(le,2),ue=ce[0],fe=ce[1];m.useEffect((function(){var e;ue&&(e=ae()).setSelectionRange.apply(e,(0,a.default)(ue))}),[ue]);var de,pe=(0,d.default)(k,C),he=null!==(r=pe.max)&&void 0!==r?r:x,me=Number(he)>0,ye=pe.strategy(Z),ge=!!he&&ye>he,ve=function(e,t){var r=t;!J.current&&pe.exceedFormatter&&pe.max&&pe.strategy(t)>pe.max&&t!==(r=pe.exceedFormatter(t,{max:pe.max}))&&fe([ae().selectionStart||0,ae().selectionEnd||0]),H(r),(0,p.resolveOnChange)(e.currentTarget,e,w,r)},be=P;pe.show&&(de=pe.showFormatter?pe.showFormatter({value:Z,count:ye,maxLength:he}):"".concat(ye).concat(me?" / ".concat(he):""),be=m.createElement(m.Fragment,null,be,m.createElement("span",{className:u()("".concat(j,"-data-count"),null==M?void 0:M.count),style:null==I?void 0:I.count},de)));var Oe=!z&&!C&&!S;return m.createElement(f.BaseInput,{ref:oe,value:Z,allowClear:S,handleReset:function(e){H(""),se(),(0,p.resolveOnChange)(ae(),e,w)},suffix:be,prefixCls:j,classNames:(0,i.default)((0,i.default)({},M),{},{affixWrapper:u()(null==M?void 0:M.affixWrapper,(0,o.default)((0,o.default)({},"".concat(j,"-show-count"),C),"".concat(j,"-textarea-allow-clear"),S))}),disabled:L,focused:Y,className:u()(A,ge&&"".concat(j,"-out-of-range")),style:(0,i.default)((0,i.default)({},D),re&&!Oe?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof de?de:void 0}},hidden:R,readOnly:F,onClear:B},m.createElement(y.default,(0,n.default)({},V,{autoSize:z,maxLength:x,onKeyDown:function(e){"Enter"===e.key&&$&&$(e),null==Q||Q(e)},onChange:function(e){ve(e,e.target.value)},onFocus:function(e){K(!0),null==b||b(e)},onBlur:function(e){K(!1),null==O||O(e)},onCompositionStart:function(e){J.current=!0,null==E||E(e)},onCompositionEnd:function(e){J.current=!1,ve(e,e.currentTarget.value),null==_||_(e)},className:u()(null==M?void 0:M.textarea),style:(0,i.default)((0,i.default)({},null==I?void 0:I.textarea),{},{resize:null==D?void 0:D.resize}),disabled:L,prefixCls:j,onResize:function(e){var t;null==N||N(e),null!==(t=ae())&&void 0!==t&&t.style.height&&ne(!0)},ref:ie,readOnly:F})))}))},72801:(e,t,r)=>{"use strict";r.r(t),r.d(t,{calculateNodeStyling:()=>s,default:()=>l});var n,o="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n",i=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],a={};function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&a[r])return a[r];var n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),s=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),l=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),c={sizingStyle:i.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),paddingSize:s,borderSize:l,boxSizing:o};return t&&r&&(a[r]=c),c}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;n||((n=document.createElement("textarea")).setAttribute("tab-index","-1"),n.setAttribute("aria-hidden","true"),n.setAttribute("name","hiddenTextarea"),document.body.appendChild(n)),e.getAttribute("wrap")?n.setAttribute("wrap",e.getAttribute("wrap")):n.removeAttribute("wrap");var a=s(e,t),l=a.paddingSize,c=a.borderSize,u=a.boxSizing,f=a.sizingStyle;n.setAttribute("style","".concat(f,";").concat(o)),n.value=e.value||e.placeholder||"";var d,p=void 0,h=void 0,m=n.scrollHeight;if("border-box"===u?m+=c:"content-box"===u&&(m-=l),null!==r||null!==i){n.value=" ";var y=n.scrollHeight-l;null!==r&&(p=y*r,"border-box"===u&&(p=p+l+c),m=Math.max(p,m)),null!==i&&(h=y*i,"border-box"===u&&(h=h+l+c),d=m>h?"":"hidden",m=Math.min(h,m))}var g={height:m,overflowY:d,resize:"none"};return p&&(g.minHeight=p),h&&(g.maxHeight=h),g}},11682:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ResizableTextArea:()=>o.default,default:()=>i});var n=r(15953),o=r(94782);const i=n.default},72810:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(93967),o=r.n(n),i=r(36198);function a(e){var t=e.children,r=e.prefixCls,n=e.id,a=e.overlayInnerStyle,s=e.className,l=e.style;return i.createElement("div",{className:o()("".concat(r,"-content"),s),style:l},i.createElement("div",{className:"".concat(r,"-inner"),id:n,role:"tooltip",style:a},"function"==typeof t?t():t))}},54981:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(87462),o=r(1413),i=r(45987),a=r(73439),s=r(36198),l=r(43159),c=r(72810),u=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],f=function(e,t){var r=e.overlayClassName,f=e.trigger,d=void 0===f?["hover"]:f,p=e.mouseEnterDelay,h=void 0===p?0:p,m=e.mouseLeaveDelay,y=void 0===m?.1:m,g=e.overlayStyle,v=e.prefixCls,b=void 0===v?"rc-tooltip":v,O=e.children,w=e.onVisibleChange,S=e.afterVisibleChange,x=e.transitionName,E=e.animation,_=e.motion,P=e.placement,T=void 0===P?"right":P,j=e.align,C=void 0===j?{}:j,k=e.destroyTooltipOnHide,A=void 0!==k&&k,D=e.defaultVisible,L=e.getTooltipContainer,R=e.overlayInnerStyle,M=(e.arrowContent,e.overlay),I=e.id,N=e.showArrow,B=void 0===N||N,$=(0,i.default)(e,u),F=(0,s.useRef)(null);(0,s.useImperativeHandle)(t,(function(){return F.current}));var z=(0,o.default)({},$);"visible"in e&&(z.popupVisible=e.visible);return s.createElement(a.default,(0,n.default)({popupClassName:r,prefixCls:b,popup:function(){return s.createElement(c.default,{key:"content",prefixCls:b,id:I,overlayInnerStyle:R},M)},action:d,builtinPlacements:l.placements,popupPlacement:T,ref:F,popupAlign:C,getPopupContainer:L,onPopupVisibleChange:w,afterPopupVisibleChange:S,popupTransitionName:x,popupAnimation:E,popupMotion:_,defaultPopupVisible:D,autoDestroy:A,mouseLeaveDelay:y,popupStyle:g,mouseEnterDelay:h,arrow:B},z),O)};const d=(0,s.forwardRef)(f)},69353:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Popup:()=>n.default,default:()=>o});var n=r(72810);const o=r(54981).default},43159:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s,placements:()=>a});var n={shiftX:64,adjustY:1},o={adjustX:1,shiftY:!0},i=[0,0],a={left:{points:["cr","cl"],overflow:o,offset:[-4,0],targetOffset:i},right:{points:["cl","cr"],overflow:o,offset:[4,0],targetOffset:i},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:i},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:i},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:i},leftTop:{points:["tr","tl"],overflow:o,offset:[-4,0],targetOffset:i},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:i},rightTop:{points:["tl","tr"],overflow:o,offset:[4,0],targetOffset:i},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:i},rightBottom:{points:["bl","br"],overflow:o,offset:[4,0],targetOffset:i},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:i},leftBottom:{points:["br","bl"],overflow:o,offset:[-4,0],targetOffset:i}};const s=a},50344:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(36198),o=r(11805);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return n.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?r=r.concat(i(e)):(0,o.isFragment)(e)&&e.props?r=r.concat(i(e.props.children,t)):r.push(e))})),r}},98924:(e,t,r)=>{"use strict";function n(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}r.r(t),r.d(t,{default:()=>n})},94999:(e,t,r)=>{"use strict";function n(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}r.r(t),r.d(t,{default:()=>n})},44958:(e,t,r)=>{"use strict";r.r(t),r.d(t,{clearContainerCache:()=>y,injectCSS:()=>p,removeCSS:()=>m,updateCSS:()=>g});var n=r(1413),o=r(98924),i=r(94999),a="data-rc-order",s="data-rc-priority",l="rc-util-key",c=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return Array.from((c.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var r=t.csp,n=t.prepend,i=t.priority,l=void 0===i?0:i,c=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(n),u="prependQueue"===c,p=document.createElement("style");p.setAttribute(a,c),u&&l&&p.setAttribute(s,"".concat(l)),null!=r&&r.nonce&&(p.nonce=null==r?void 0:r.nonce),p.innerHTML=e;var h=f(t),m=h.firstChild;if(n){if(u){var y=(t.styles||d(h)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(s)||0);return l>=t}));if(y.length)return h.insertBefore(p,y[y.length-1].nextSibling),p}h.insertBefore(p,m)}else h.appendChild(p);return p}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(t);return(t.styles||d(r)).find((function(r){return r.getAttribute(u(t))===e}))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t);r&&f(t).removeChild(r)}function y(){c.clear()}function g(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=f(r),a=d(o),s=(0,n.default)((0,n.default)({},r),{},{styles:a});!function(e,t){var r=c.get(e);if(!r||!(0,i.default)(document,r)){var n=p("",t),o=n.parentNode;c.set(e,o),e.removeChild(n)}}(o,s);var l=h(t,s);if(l){var m,y,g;if(null!==(m=s.csp)&&void 0!==m&&m.nonce&&l.nonce!==(null===(y=s.csp)||void 0===y?void 0:y.nonce))l.nonce=null===(g=s.csp)||void 0===g?void 0:g.nonce;return l.innerHTML!==e&&(l.innerHTML=e),l}var v=p(e,s);return v.setAttribute(u(s),t),v}},34203:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getDOM:()=>s,isDOM:()=>a});var n=r(71002),o=r(36198),i=r(18348);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){return e&&"object"===(0,n.default)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}function l(e){var t,r=s(e);return r||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},5110:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},27571:(e,t,r)=>{"use strict";function n(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return n(e)instanceof ShadowRoot}function i(e){return o(e)?n(e):null}r.r(t),r.d(t,{getShadowRoot:()=>i,inShadow:()=>o})},15105:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=n},38135:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{_r:()=>y,_u:()=>w,render:()=>g,unmount:()=>S});var o,i=r(74165),a=r(15861),s=r(71002),l=r(1413),c=r(18348),u=(0,l.default)({},n||(n=r.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.default)(t)&&(t.usingClientEntryPoint=e)}var m="__rc_react_root__";function y(e,t){0}function g(e,t){o?function(e,t){h(!0);var r=t[m]||o(t);h(!1),r.render(e),t[m]=r}(e,t):function(e,t){d(e,t)}(e,t)}function v(e){return b.apply(this,arguments)}function b(){return(b=(0,a.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[m])||void 0===e||e.unmount(),delete t[m]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){p(e)}function w(e){0}function S(e){return x.apply(this,arguments)}function x(){return(x=(0,a.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===o){e.next=2;break}return e.abrupt("return",v(t));case 2:O(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},74204:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a,getTargetScrollBarSize:()=>s});var n,o=r(44958);function i(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),r=document.createElement("div");r.id=t;var n,i,a=r.style;if(a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll",e){var s=getComputedStyle(e);a.scrollbarColor=s.scrollbarColor,a.scrollbarWidth=s.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),u=parseInt(l.height,10);try{var f=c?"width: ".concat(l.width,";"):"",d=u?"height: ".concat(l.height,";"):"";(0,o.updateCSS)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(f,"\n").concat(d,"\n}"),t)}catch(e){console.error(e),n=c,i=u}}document.body.appendChild(r);var p=e&&n&&!isNaN(n)?n:r.offsetWidth-r.clientWidth,h=e&&i&&!isNaN(i)?i:r.offsetHeight-r.clientHeight;return document.body.removeChild(r),(0,o.removeCSS)(t),{width:p,height:h}}function a(e){return"undefined"==typeof document?0:((e||void 0===n)&&(n=i()),n.width)}function s(e){return"undefined"!=typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},66680:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(36198);function o(e){var t=n.useRef();t.current=e;var r=n.useCallback((function(){for(var e,r=arguments.length,n=new Array(r),o=0;o{"use strict";var n;r.r(t),r.d(t,{default:()=>u,resetUuid:()=>l});var o=r(93324),i=r(1413),a=r(36198);var s=0;function l(){0}var c=(0,i.default)({},n||(n=r.t(a,2))).useId;const u=c?function(e){var t=c();return e||t}:function(e){var t=a.useState("ssr-id"),r=(0,o.default)(t,2),n=r[0],i=r[1];return a.useEffect((function(){var e=s;s+=1,i("rc_unique_".concat(e))}),[]),e||n}},8410:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s,useLayoutUpdateEffect:()=>a});var n=r(36198),o=(0,r(98924).default)()?n.useLayoutEffect:n.useEffect,i=function(e,t){var r=n.useRef(!0);o((function(){return e(r.current)}),t),o((function(){return r.current=!1,function(){r.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const s=i},56982:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(36198);function o(e,t,r){var o=n.useRef({});return"value"in o.current&&!r(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},21770:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(93324),o=r(66680),i=r(8410),a=r(30470);function s(e){return void 0!==e}function l(e,t){var r=t||{},l=r.defaultValue,c=r.value,u=r.onChange,f=r.postState,d=(0,a.default)((function(){return s(c)?c:s(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),p=(0,n.default)(d,2),h=p[0],m=p[1],y=void 0!==c?c:h,g=f?f(y):y,v=(0,o.default)(u),b=(0,a.default)([y]),O=(0,n.default)(b,2),w=O[0],S=O[1];return(0,i.useLayoutUpdateEffect)((function(){var e=w[0];h!==e&&v(h,e)}),[w]),(0,i.useLayoutUpdateEffect)((function(){s(c)||m(c)}),[c]),[g,(0,o.default)((function(e,t){m(e,t),S([y],t)}))]}},30470:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(93324),o=r(36198);function i(e){var t=o.useRef(!1),r=o.useState(e),i=(0,n.default)(r,2),a=i[0],s=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,r){r&&t.current||s(e)}]}},61848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(93324),o=r(36198),i=r(66680);function a(e){var t=o.useReducer((function(e){return e+1}),0),r=(0,n.default)(t,2)[1],a=o.useRef(e);return[(0,i.default)((function(){return a.current})),(0,i.default)((function(e){a.current="function"==typeof e?e(a.current):e,r()}))]}},56790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{get:()=>a.default,set:()=>s.default,supportNodeRef:()=>i.supportNodeRef,supportRef:()=>i.supportRef,useComposeRef:()=>i.useComposeRef,useEvent:()=>n.default,useMergedState:()=>o.default,warning:()=>l.default});var n=r(66680),o=r(21770),i=r(42550),a=r(88306),s=r(8880),l=r(80334)},91881:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(71002),o=r(80334);const i=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.default)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(r&&s>1)return!1;i.add(t);var c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},98423:(e,t,r)=>{"use strict";function n(e,t){var r=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete r[e]})),r}r.r(t),r.d(t,{default:()=>n})},64217:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(1413),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function s(e,t){return 0===e.indexOf(t)}function l(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===r?{aria:!0,data:!0,attr:!0}:!0===r?{aria:!0}:(0,n.default)({},r);var l={};return Object.keys(e).forEach((function(r){(t.aria&&("role"===r||s(r,i))||t.data&&s(r,a)||t.attr&&o.includes(r))&&(l[r]=e[r])})),l}},75164:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(n=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function s(e){a.delete(e)}var l=function(e){var t=i+=1;return function r(o){if(0===o)s(t),e();else{var i=n((function(){r(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return s(e),o(t)};const c=l},42550:(e,t,r)=>{"use strict";r.r(t),r.d(t,{composeRef:()=>l,fillRef:()=>s,getNodeRef:()=>p,supportNodeRef:()=>d,supportRef:()=>u,useComposeRef:()=>c});var n=r(71002),o=r(36198),i=r(11805),a=r(56982),s=function(e,t){"function"==typeof e?e(t):"object"===(0,n.default)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),r=0;r=19?function(e){return f(e)?e.props.ref:null}:function(e){return f(e)?e.ref:null}},88306:(e,t,r)=>{"use strict";function n(e,t){for(var r=e,n=0;nn})},8880:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,merge:()=>d});var n=r(71002),o=r(1413),i=r(89062),a=r(84506),s=r(88306);function l(e,t,r,n){if(!t.length)return r;var s,c=(0,a.default)(t),u=c[0],f=c.slice(1);return s=e||"number"!=typeof u?Array.isArray(e)?(0,i.default)(e):(0,o.default)({},e):[],n&&void 0===r&&1===f.length?delete s[u][f[0]]:s[u]=l(s[u],f,r,n),s}function c(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&n&&void 0===r&&!(0,s.default)(e,t.slice(0,-1))?e:l(e,t,r,n)}function u(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function d(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{call:()=>c,default:()=>d,note:()=>s,noteOnce:()=>f,preMessage:()=>i,resetWarned:()=>l,warning:()=>a,warningOnce:()=>u});var n={},o=[],i=function(e){o.push(e)};function a(e,t){}function s(e,t){}function l(){n={}}function c(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function u(e,t){c(a,e,t)}function f(e,t){c(s,e,t)}u.preMessage=i,u.resetWarned=l,u.noteOnce=f;const d=u},51162:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case s:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case m:case h:case l:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return g(e)===c},t.isContextProvider=function(e){return g(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return g(e)===f},t.isFragment=function(e){return g(e)===i},t.isLazy=function(e){return g(e)===m},t.isMemo=function(e){return g(e)===h},t.isPortal=function(e){return g(e)===o},t.isProfiler=function(e){return g(e)===s},t.isStrictMode=function(e){return g(e)===a},t.isSuspense=function(e){return g(e)===d},t.isSuspenseList=function(e){return g(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===d||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=g},11805:(e,t,r)=>{"use strict";e.exports=r(51162)},20745:(e,t,r)=>{"use strict";var n=r(18348);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},79655:(e,t,r)=>{"use strict";var n,o;r.r(t),r.d(t,{AbortedDeferredError:()=>s.AbortedDeferredError,Await:()=>s.Await,BrowserRouter:()=>I,Form:()=>V,HashRouter:()=>N,Link:()=>z,MemoryRouter:()=>s.MemoryRouter,NavLink:()=>Q,Navigate:()=>s.Navigate,NavigationType:()=>s.NavigationType,Outlet:()=>s.Outlet,Route:()=>s.Route,Router:()=>s.Router,RouterProvider:()=>L,Routes:()=>s.Routes,ScrollRestoration:()=>U,UNSAFE_DataRouterContext:()=>s.UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext:()=>s.UNSAFE_DataRouterStateContext,UNSAFE_ErrorResponseImpl:()=>l.UNSAFE_ErrorResponseImpl,UNSAFE_FetchersContext:()=>T,UNSAFE_LocationContext:()=>s.UNSAFE_LocationContext,UNSAFE_NavigationContext:()=>s.UNSAFE_NavigationContext,UNSAFE_RouteContext:()=>s.UNSAFE_RouteContext,UNSAFE_ViewTransitionContext:()=>P,UNSAFE_useRouteId:()=>s.UNSAFE_useRouteId,UNSAFE_useScrollRestoration:()=>ie,createBrowserRouter:()=>S,createHashRouter:()=>x,createMemoryRouter:()=>s.createMemoryRouter,createPath:()=>s.createPath,createRoutesFromChildren:()=>s.createRoutesFromChildren,createRoutesFromElements:()=>s.createRoutesFromElements,createSearchParams:()=>h,defer:()=>s.defer,generatePath:()=>s.generatePath,isRouteErrorResponse:()=>s.isRouteErrorResponse,json:()=>s.json,matchPath:()=>s.matchPath,matchRoutes:()=>s.matchRoutes,parsePath:()=>s.parsePath,redirect:()=>s.redirect,redirectDocument:()=>s.redirectDocument,renderMatches:()=>s.renderMatches,replace:()=>s.replace,resolvePath:()=>s.resolvePath,unstable_HistoryRouter:()=>B,unstable_usePrompt:()=>se,useActionData:()=>s.useActionData,useAsyncError:()=>s.useAsyncError,useAsyncValue:()=>s.useAsyncValue,useBeforeUnload:()=>ae,useBlocker:()=>s.useBlocker,useFetcher:()=>te,useFetchers:()=>re,useFormAction:()=>ee,useHref:()=>s.useHref,useInRouterContext:()=>s.useInRouterContext,useLinkClickHandler:()=>X,useLoaderData:()=>s.useLoaderData,useLocation:()=>s.useLocation,useMatch:()=>s.useMatch,useMatches:()=>s.useMatches,useNavigate:()=>s.useNavigate,useNavigation:()=>s.useNavigation,useNavigationType:()=>s.useNavigationType,useOutlet:()=>s.useOutlet,useOutletContext:()=>s.useOutletContext,useParams:()=>s.useParams,useResolvedPath:()=>s.useResolvedPath,useRevalidator:()=>s.useRevalidator,useRouteError:()=>s.useRouteError,useRouteLoaderData:()=>s.useRouteLoaderData,useRoutes:()=>s.useRoutes,useSearchParams:()=>q,useSubmit:()=>J,useViewTransitionState:()=>le});var i=r(36198),a=r(18348),s=r(89250),l=r(12599);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}const f="get",d="application/x-www-form-urlencoded";function p(e){return null!=e&&"string"==typeof e.tagName}function h(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map((e=>[r,e])):[[r,n]])}),[]))}let m=null;const y=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function g(e){return null==e||y.has(e)?e:null}function v(e,t){let r,n,o,i,a;if(p(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");n=a?(0,l.stripBasename)(a,t):null,r=e.getAttribute("method")||f,o=g(e.getAttribute("enctype"))||d,i=new FormData(e)}else if(function(e){return p(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return p(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a