diff --git a/echo/directus/sync/collections/dashboards.json b/echo/directus/sync/collections/dashboards.json index 918fb16e..f1afe9b2 100644 --- a/echo/directus/sync/collections/dashboards.json +++ b/echo/directus/sync/collections/dashboards.json @@ -6,6 +6,13 @@ "color": "#2ECDA7", "_syncId": "79cde56d-c5cd-4a4c-9903-d99d3b4b796b" }, + { + "name": "Announcements", + "icon": "space_dashboard", + "note": null, + "color": null, + "_syncId": "d88e3e89-f55a-4279-87a5-159d8efc6dbc" + }, { "name": "ECHO", "icon": "space_dashboard", diff --git a/echo/directus/sync/collections/panels.json b/echo/directus/sync/collections/panels.json index c9a6038b..25620d18 100644 --- a/echo/directus/sync/collections/panels.json +++ b/echo/directus/sync/collections/panels.json @@ -20,6 +20,29 @@ }, "_syncId": "10d105b0-55c3-4011-9e20-773f6a21ba80" }, + { + "dashboard": "d88e3e89-f55a-4279-87a5-159d8efc6dbc", + "name": "Announcement Readers Graph", + "icon": null, + "color": null, + "show_header": true, + "note": null, + "type": "time-series", + "position_x": 27, + "position_y": 1, + "width": 25, + "height": 16, + "options": { + "collection": "announcement_activity", + "precision": "day", + "function": "countDistinct", + "dateField": "created_at", + "valueField": "user_id", + "range": "auto", + "missingData": "ignore" + }, + "_syncId": "1479f9f7-00ba-428c-beef-50d9f53c34bf" + }, { "dashboard": "fadfb3fb-a781-41f1-a202-ef0f92174226", "name": "report views weekly", @@ -404,6 +427,26 @@ }, "_syncId": "a3492153-f6b8-45ee-9796-c21a3019bfcc" }, + { + "dashboard": "d88e3e89-f55a-4279-87a5-159d8efc6dbc", + "name": "Total Read Announcements", + "icon": null, + "color": null, + "show_header": true, + "note": "Shows the number of people who marked announcement as read", + "type": "metric", + "position_x": 1, + "position_y": 17, + "width": 24, + "height": 18, + "options": { + "collection": "announcement_activity", + "field": "read", + "sortField": "id", + "function": "count" + }, + "_syncId": "a5a88e2e-38b4-43a5-b7b4-266bdbc8debb" + }, { "dashboard": "fadfb3fb-a781-41f1-a202-ef0f92174226", "name": "reports / day", @@ -471,6 +514,26 @@ }, "_syncId": "bb95bf10-c43b-401b-adb3-97ea6898f160" }, + { + "dashboard": "d88e3e89-f55a-4279-87a5-159d8efc6dbc", + "name": "Read By Users", + "icon": null, + "color": null, + "show_header": true, + "note": "Shows the number of people who marked announcement as read", + "type": "metric", + "position_x": 1, + "position_y": 1, + "width": 24, + "height": 16, + "options": { + "collection": "announcement_activity", + "field": "user_id", + "sortField": "id", + "function": "countDistinct" + }, + "_syncId": "c478c29d-8855-46e3-a84a-06c5350b1e11" + }, { "dashboard": "79cde56d-c5cd-4a4c-9903-d99d3b4b796b", "name": "Number of insights", @@ -655,6 +718,37 @@ }, "_syncId": "de507cdf-90d9-4f7b-bc91-1e21921b0507" }, + { + "dashboard": "d88e3e89-f55a-4279-87a5-159d8efc6dbc", + "name": "Read Count Per User", + "icon": null, + "color": null, + "show_header": true, + "note": null, + "type": "metric-list", + "position_x": 27, + "position_y": 17, + "width": 25, + "height": 18, + "options": { + "collection": "announcement_activity", + "aggregateField": "read", + "groupByField": "user_id", + "aggregateFunction": "countDistinct", + "sortField": "user_id", + "displayTemplate": "{{user_created.first_name}}", + "aggregation": "countDistinct", + "xAxis": "read", + "yAxis": "sort", + "grouping": "user_id", + "column": "user_id", + "donut": true, + "legend": "bottom", + "showLabels": true, + "limit": null + }, + "_syncId": "e73a55b3-f505-41d2-aa84-012f7d76ad0a" + }, { "dashboard": "79cde56d-c5cd-4a4c-9903-d99d3b4b796b", "name": null, diff --git a/echo/directus/sync/collections/permissions.json b/echo/directus/sync/collections/permissions.json index e028a607..5874eb11 100644 --- a/echo/directus/sync/collections/permissions.json +++ b/echo/directus/sync/collections/permissions.json @@ -2353,6 +2353,142 @@ "policy": "2446660a-ab6c-4801-ad69-5711030cba83", "_syncId": "b3a01e3c-d32c-45f0-8834-8d5d08a7abe4" }, + { + "collection": "announcement_activity", + "action": "create", + "permissions": null, + "validation": { + "_and": [ + { + "user_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "presets": null, + "fields": [ + "id", + "sort", + "created_at", + "user_created", + "user_updated", + "updated_at", + "read", + "user_id", + "announcement_activity" + ], + "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", + "_syncId": "a22d1e0e-556f-4e75-a7a7-b359d847ba62" + }, + { + "collection": "announcement_activity", + "action": "read", + "permissions": { + "_and": [ + { + "user_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "id", + "user_created", + "created_at", + "sort", + "updated_at", + "user_updated", + "user_id", + "read", + "announcement_activity" + ], + "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", + "_syncId": "b625d325-8d04-4f7e-9e18-44b0ac70f840" + }, + { + "collection": "announcement_activity", + "action": "update", + "permissions": { + "_and": [ + { + "user_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "id", + "user_created", + "created_at", + "sort", + "updated_at", + "user_updated", + "user_id", + "read", + "announcement_activity" + ], + "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", + "_syncId": "f9d6e17c-73f4-4e58-9b5b-c4187364318b" + }, + { + "collection": "announcement_translations", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "id", + "message", + "title", + "languages_code", + "announcement_id" + ], + "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", + "_syncId": "fe9d0dc9-bc69-4d7e-a647-9dfc087b6863" + }, + { + "collection": "announcement", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", + "_syncId": "bb806129-2228-4a2a-8509-2a1b824f2d02" + }, + { + "collection": "announcement", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", + "_syncId": "37b3f2a9-10c6-4418-90ff-861dc3e7ac51" + }, + { + "collection": "announcement", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "37a60e48-dd00-4867-af07-1fb22ac89078", + "_syncId": "ace5fc6d-b127-4443-bdcb-ffee193049f2" + }, { "collection": "aspect", "action": "create", diff --git a/echo/directus/sync/snapshot/collections/announcement.json b/echo/directus/sync/snapshot/collections/announcement.json new file mode 100644 index 00000000..cc0dc7ab --- /dev/null +++ b/echo/directus/sync/snapshot/collections/announcement.json @@ -0,0 +1,28 @@ +{ + "collection": "announcement", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "announcement", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": null, + "sort_field": "sort", + "translations": null, + "unarchive_value": "draft", + "versioning": false + }, + "schema": { + "name": "announcement" + } +} diff --git a/echo/directus/sync/snapshot/collections/announcement_activity.json b/echo/directus/sync/snapshot/collections/announcement_activity.json new file mode 100644 index 00000000..8674356a --- /dev/null +++ b/echo/directus/sync/snapshot/collections/announcement_activity.json @@ -0,0 +1,28 @@ +{ + "collection": "announcement_activity", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "announcement_activity", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": null, + "sort_field": "sort", + "translations": null, + "unarchive_value": "draft", + "versioning": false + }, + "schema": { + "name": "announcement_activity" + } +} diff --git a/echo/directus/sync/snapshot/collections/announcement_translations.json b/echo/directus/sync/snapshot/collections/announcement_translations.json new file mode 100644 index 00000000..14c19eab --- /dev/null +++ b/echo/directus/sync/snapshot/collections/announcement_translations.json @@ -0,0 +1,28 @@ +{ + "collection": "announcement_translations", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "announcement_translations", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": null, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "announcement_translations" + } +} diff --git a/echo/directus/sync/snapshot/collections/dashboard_announcements_translations.json b/echo/directus/sync/snapshot/collections/dashboard_announcements_translations.json new file mode 100644 index 00000000..6c284c6b --- /dev/null +++ b/echo/directus/sync/snapshot/collections/dashboard_announcements_translations.json @@ -0,0 +1,28 @@ +{ + "collection": "dashboard_announcements_translations", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "dashboard_announcements_translations", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": null, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "dashboard_announcements_translations" + } +} diff --git a/echo/directus/sync/snapshot/collections/languages.json b/echo/directus/sync/snapshot/collections/languages.json new file mode 100644 index 00000000..9af62bed --- /dev/null +++ b/echo/directus/sync/snapshot/collections/languages.json @@ -0,0 +1,28 @@ +{ + "collection": "languages", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "languages", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": null, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "languages" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/activity.json b/echo/directus/sync/snapshot/fields/announcement/activity.json new file mode 100644 index 00000000..1566edf3 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/activity.json @@ -0,0 +1,29 @@ +{ + "collection": "announcement", + "field": "activity", + "type": "alias", + "meta": { + "collection": "announcement", + "conditions": null, + "display": null, + "display_options": null, + "field": "activity", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "template": "{{user_created.first_name}} . {{user_created.last_name}} . {{read}}" + }, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/created_at.json b/echo/directus/sync/snapshot/fields/announcement/created_at.json new file mode 100644 index 00000000..e454ea0a --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/created_at.json @@ -0,0 +1,47 @@ +{ + "collection": "announcement", + "field": "created_at", + "type": "timestamp", + "meta": { + "collection": "announcement", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "created_at", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "created_at", + "table": "announcement", + "data_type": "timestamp with time zone", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/expires_at.json b/echo/directus/sync/snapshot/fields/announcement/expires_at.json new file mode 100644 index 00000000..c9f72bee --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/expires_at.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement", + "field": "expires_at", + "type": "dateTime", + "meta": { + "collection": "announcement", + "conditions": null, + "display": null, + "display_options": null, + "field": "expires_at", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "expires_at", + "table": "announcement", + "data_type": "timestamp without time zone", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/id.json b/echo/directus/sync/snapshot/fields/announcement/id.json new file mode 100644 index 00000000..ec332836 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/id.json @@ -0,0 +1,45 @@ +{ + "collection": "announcement", + "field": "id", + "type": "uuid", + "meta": { + "collection": "announcement", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "announcement", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/level.json b/echo/directus/sync/snapshot/fields/announcement/level.json new file mode 100644 index 00000000..13c47c7f --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/level.json @@ -0,0 +1,73 @@ +{ + "collection": "announcement", + "field": "level", + "type": "string", + "meta": { + "collection": "announcement", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#3399FF", + "icon": "info", + "text": "info", + "value": "info" + }, + { + "color": "#E35169", + "icon": "exclamation", + "text": "urgent", + "value": "urgent" + } + ] + }, + "field": "level", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "color": "#3399FF", + "icon": "info", + "text": "info", + "value": "info" + }, + { + "color": "#E35169", + "icon": "exclamation", + "text": "urgent", + "value": "urgent" + } + ] + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "level", + "table": "announcement", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/sort.json b/echo/directus/sync/snapshot/fields/announcement/sort.json new file mode 100644 index 00000000..2b7a99f7 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/sort.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement", + "field": "sort", + "type": "integer", + "meta": { + "collection": "announcement", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "sort", + "table": "announcement", + "data_type": "integer", + "default_value": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/translations.json b/echo/directus/sync/snapshot/fields/announcement/translations.json new file mode 100644 index 00000000..07423137 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/translations.json @@ -0,0 +1,31 @@ +{ + "collection": "announcement", + "field": "translations", + "type": "alias", + "meta": { + "collection": "announcement", + "conditions": null, + "display": null, + "display_options": null, + "field": "translations", + "group": null, + "hidden": false, + "interface": "translations", + "note": null, + "options": { + "defaultLanguage": "en-US", + "languageField": "code", + "userLanguage": true + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "translations" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/updated_at.json b/echo/directus/sync/snapshot/fields/announcement/updated_at.json new file mode 100644 index 00000000..cb7f4a81 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/updated_at.json @@ -0,0 +1,47 @@ +{ + "collection": "announcement", + "field": "updated_at", + "type": "timestamp", + "meta": { + "collection": "announcement", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "updated_at", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 6, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "updated_at", + "table": "announcement", + "data_type": "timestamp with time zone", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/user_created.json b/echo/directus/sync/snapshot/fields/announcement/user_created.json new file mode 100644 index 00000000..1724e8ca --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "announcement", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "announcement", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "announcement", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement/user_updated.json b/echo/directus/sync/snapshot/fields/announcement/user_updated.json new file mode 100644 index 00000000..41eb161d --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "announcement", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "announcement", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 5, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "announcement", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/announcement_activity.json b/echo/directus/sync/snapshot/fields/announcement_activity/announcement_activity.json new file mode 100644 index 00000000..d3e876ef --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/announcement_activity.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement_activity", + "field": "announcement_activity", + "type": "uuid", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": null, + "display_options": null, + "field": "announcement_activity", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "announcement_activity", + "table": "announcement_activity", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "announcement", + "foreign_key_column": "id" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/created_at.json b/echo/directus/sync/snapshot/fields/announcement_activity/created_at.json new file mode 100644 index 00000000..905e82a5 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/created_at.json @@ -0,0 +1,47 @@ +{ + "collection": "announcement_activity", + "field": "created_at", + "type": "timestamp", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "created_at", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "created_at", + "table": "announcement_activity", + "data_type": "timestamp with time zone", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/id.json b/echo/directus/sync/snapshot/fields/announcement_activity/id.json new file mode 100644 index 00000000..a2b99aea --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/id.json @@ -0,0 +1,45 @@ +{ + "collection": "announcement_activity", + "field": "id", + "type": "uuid", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "announcement_activity", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/read.json b/echo/directus/sync/snapshot/fields/announcement_activity/read.json new file mode 100644 index 00000000..9a686e55 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/read.json @@ -0,0 +1,45 @@ +{ + "collection": "announcement_activity", + "field": "read", + "type": "boolean", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": null, + "display_options": null, + "field": "read", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "read", + "table": "announcement_activity", + "data_type": "boolean", + "default_value": false, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/sort.json b/echo/directus/sync/snapshot/fields/announcement_activity/sort.json new file mode 100644 index 00000000..c7d433d8 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/sort.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement_activity", + "field": "sort", + "type": "integer", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "sort", + "table": "announcement_activity", + "data_type": "integer", + "default_value": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/updated_at.json b/echo/directus/sync/snapshot/fields/announcement_activity/updated_at.json new file mode 100644 index 00000000..25655ad3 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/updated_at.json @@ -0,0 +1,47 @@ +{ + "collection": "announcement_activity", + "field": "updated_at", + "type": "timestamp", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "updated_at", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 6, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "updated_at", + "table": "announcement_activity", + "data_type": "timestamp with time zone", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/user_created.json b/echo/directus/sync/snapshot/fields/announcement_activity/user_created.json new file mode 100644 index 00000000..d82fc3c9 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "announcement_activity", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "announcement_activity", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/user_id.json b/echo/directus/sync/snapshot/fields/announcement_activity/user_id.json new file mode 100644 index 00000000..bfc5aef8 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/user_id.json @@ -0,0 +1,45 @@ +{ + "collection": "announcement_activity", + "field": "user_id", + "type": "uuid", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": null, + "display_options": null, + "field": "user_id", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_id", + "table": "announcement_activity", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_activity/user_updated.json b/echo/directus/sync/snapshot/fields/announcement_activity/user_updated.json new file mode 100644 index 00000000..ac748cc2 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_activity/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "announcement_activity", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "announcement_activity", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 5, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "announcement_activity", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_translations/announcement_id.json b/echo/directus/sync/snapshot/fields/announcement_translations/announcement_id.json new file mode 100644 index 00000000..a11f6e62 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_translations/announcement_id.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement_translations", + "field": "announcement_id", + "type": "uuid", + "meta": { + "collection": "announcement_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "announcement_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "announcement_id", + "table": "announcement_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "announcement", + "foreign_key_column": "id" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_translations/id.json b/echo/directus/sync/snapshot/fields/announcement_translations/id.json new file mode 100644 index 00000000..20550a02 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_translations/id.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement_translations", + "field": "id", + "type": "integer", + "meta": { + "collection": "announcement_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "announcement_translations", + "data_type": "integer", + "default_value": "nextval('announcement_translations_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_translations/languages_code.json b/echo/directus/sync/snapshot/fields/announcement_translations/languages_code.json new file mode 100644 index 00000000..e88997db --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_translations/languages_code.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement_translations", + "field": "languages_code", + "type": "string", + "meta": { + "collection": "announcement_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "languages_code", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "languages_code", + "table": "announcement_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "languages", + "foreign_key_column": "code" + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_translations/message.json b/echo/directus/sync/snapshot/fields/announcement_translations/message.json new file mode 100644 index 00000000..17f14ced --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_translations/message.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement_translations", + "field": "message", + "type": "text", + "meta": { + "collection": "announcement_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "message", + "group": null, + "hidden": false, + "interface": "input-rich-text-md", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "message", + "table": "announcement_translations", + "data_type": "text", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/announcement_translations/title.json b/echo/directus/sync/snapshot/fields/announcement_translations/title.json new file mode 100644 index 00000000..aaf375aa --- /dev/null +++ b/echo/directus/sync/snapshot/fields/announcement_translations/title.json @@ -0,0 +1,43 @@ +{ + "collection": "announcement_translations", + "field": "title", + "type": "text", + "meta": { + "collection": "announcement_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input-rich-text-md", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "title", + "table": "announcement_translations", + "data_type": "text", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/id.json b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/id.json new file mode 100644 index 00000000..e0d7c552 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/id.json @@ -0,0 +1,43 @@ +{ + "collection": "dashboard_announcements_translations", + "field": "id", + "type": "integer", + "meta": { + "collection": "dashboard_announcements_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "dashboard_announcements_translations", + "data_type": "integer", + "default_value": "nextval('dashboard_announcements_translations_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/languages_code.json b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/languages_code.json new file mode 100644 index 00000000..f6389c2f --- /dev/null +++ b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/languages_code.json @@ -0,0 +1,43 @@ +{ + "collection": "dashboard_announcements_translations", + "field": "languages_code", + "type": "string", + "meta": { + "collection": "dashboard_announcements_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "languages_code", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "languages_code", + "table": "dashboard_announcements_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "languages", + "foreign_key_column": "code" + } +} diff --git a/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/mark_all_as_read.json b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/mark_all_as_read.json new file mode 100644 index 00000000..dfda1941 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/mark_all_as_read.json @@ -0,0 +1,43 @@ +{ + "collection": "dashboard_announcements_translations", + "field": "mark_all_as_read", + "type": "string", + "meta": { + "collection": "dashboard_announcements_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "mark_all_as_read", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "mark_all_as_read", + "table": "dashboard_announcements_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/title.json b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/title.json new file mode 100644 index 00000000..0b06c9f3 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/title.json @@ -0,0 +1,43 @@ +{ + "collection": "dashboard_announcements_translations", + "field": "title", + "type": "string", + "meta": { + "collection": "dashboard_announcements_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "dashboard_announcements_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/unread_notifications.json b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/unread_notifications.json new file mode 100644 index 00000000..8d3e3a46 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/dashboard_announcements_translations/unread_notifications.json @@ -0,0 +1,43 @@ +{ + "collection": "dashboard_announcements_translations", + "field": "unread_notifications", + "type": "string", + "meta": { + "collection": "dashboard_announcements_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "unread_notifications", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "unread_notifications", + "table": "dashboard_announcements_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/languages/code.json b/echo/directus/sync/snapshot/fields/languages/code.json new file mode 100644 index 00000000..fca9bd7b --- /dev/null +++ b/echo/directus/sync/snapshot/fields/languages/code.json @@ -0,0 +1,43 @@ +{ + "collection": "languages", + "field": "code", + "type": "string", + "meta": { + "collection": "languages", + "conditions": null, + "display": null, + "display_options": null, + "field": "code", + "group": null, + "hidden": false, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "code", + "table": "languages", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/languages/direction.json b/echo/directus/sync/snapshot/fields/languages/direction.json new file mode 100644 index 00000000..2eb9e18c --- /dev/null +++ b/echo/directus/sync/snapshot/fields/languages/direction.json @@ -0,0 +1,66 @@ +{ + "collection": "languages", + "field": "direction", + "type": "string", + "meta": { + "collection": "languages", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:left_to_right", + "value": "ltr" + }, + { + "text": "$t:right_to_left", + "value": "rtl" + } + ], + "format": false + }, + "field": "direction", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "text": "$t:left_to_right", + "value": "ltr" + }, + { + "text": "$t:right_to_left", + "value": "rtl" + } + ] + }, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "direction", + "table": "languages", + "data_type": "character varying", + "default_value": "ltr", + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/fields/languages/name.json b/echo/directus/sync/snapshot/fields/languages/name.json new file mode 100644 index 00000000..40bb6eb5 --- /dev/null +++ b/echo/directus/sync/snapshot/fields/languages/name.json @@ -0,0 +1,43 @@ +{ + "collection": "languages", + "field": "name", + "type": "string", + "meta": { + "collection": "languages", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "group": null, + "hidden": false, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "name", + "table": "languages", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/echo/directus/sync/snapshot/relations/announcement/user_created.json b/echo/directus/sync/snapshot/relations/announcement/user_created.json new file mode 100644 index 00000000..5888d983 --- /dev/null +++ b/echo/directus/sync/snapshot/relations/announcement/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "announcement", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "announcement", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "announcement", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "announcement_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/echo/directus/sync/snapshot/relations/announcement/user_updated.json b/echo/directus/sync/snapshot/relations/announcement/user_updated.json new file mode 100644 index 00000000..437e1244 --- /dev/null +++ b/echo/directus/sync/snapshot/relations/announcement/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "announcement", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "announcement", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "announcement", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "announcement_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/echo/directus/sync/snapshot/relations/announcement_activity/announcement_activity.json b/echo/directus/sync/snapshot/relations/announcement_activity/announcement_activity.json new file mode 100644 index 00000000..c470fdc4 --- /dev/null +++ b/echo/directus/sync/snapshot/relations/announcement_activity/announcement_activity.json @@ -0,0 +1,25 @@ +{ + "collection": "announcement_activity", + "field": "announcement_activity", + "related_collection": "announcement", + "meta": { + "junction_field": null, + "many_collection": "announcement_activity", + "many_field": "announcement_activity", + "one_allowed_collections": null, + "one_collection": "announcement", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "activity", + "sort_field": "sort" + }, + "schema": { + "table": "announcement_activity", + "column": "announcement_activity", + "foreign_key_table": "announcement", + "foreign_key_column": "id", + "constraint_name": "announcement_activity_announcement_activity_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/echo/directus/sync/snapshot/relations/announcement_activity/user_created.json b/echo/directus/sync/snapshot/relations/announcement_activity/user_created.json new file mode 100644 index 00000000..49c76928 --- /dev/null +++ b/echo/directus/sync/snapshot/relations/announcement_activity/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "announcement_activity", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "announcement_activity", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "announcement_activity", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "announcement_activity_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/echo/directus/sync/snapshot/relations/announcement_activity/user_updated.json b/echo/directus/sync/snapshot/relations/announcement_activity/user_updated.json new file mode 100644 index 00000000..8aba92dd --- /dev/null +++ b/echo/directus/sync/snapshot/relations/announcement_activity/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "announcement_activity", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "announcement_activity", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "announcement_activity", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "announcement_activity_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/echo/directus/sync/snapshot/relations/announcement_translations/announcement_id.json b/echo/directus/sync/snapshot/relations/announcement_translations/announcement_id.json new file mode 100644 index 00000000..f3a0e4fb --- /dev/null +++ b/echo/directus/sync/snapshot/relations/announcement_translations/announcement_id.json @@ -0,0 +1,25 @@ +{ + "collection": "announcement_translations", + "field": "announcement_id", + "related_collection": "announcement", + "meta": { + "junction_field": "languages_code", + "many_collection": "announcement_translations", + "many_field": "announcement_id", + "one_allowed_collections": null, + "one_collection": "announcement", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "translations", + "sort_field": null + }, + "schema": { + "table": "announcement_translations", + "column": "announcement_id", + "foreign_key_table": "announcement", + "foreign_key_column": "id", + "constraint_name": "announcement_translations_announcement_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/echo/directus/sync/snapshot/relations/announcement_translations/languages_code.json b/echo/directus/sync/snapshot/relations/announcement_translations/languages_code.json new file mode 100644 index 00000000..8b3334e7 --- /dev/null +++ b/echo/directus/sync/snapshot/relations/announcement_translations/languages_code.json @@ -0,0 +1,25 @@ +{ + "collection": "announcement_translations", + "field": "languages_code", + "related_collection": "languages", + "meta": { + "junction_field": "announcement_id", + "many_collection": "announcement_translations", + "many_field": "languages_code", + "one_allowed_collections": null, + "one_collection": "languages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "announcement_translations", + "column": "languages_code", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "constraint_name": "announcement_translations_languages_code_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/echo/directus/sync/snapshot/relations/dashboard_announcements_translations/languages_code.json b/echo/directus/sync/snapshot/relations/dashboard_announcements_translations/languages_code.json new file mode 100644 index 00000000..1ecdff52 --- /dev/null +++ b/echo/directus/sync/snapshot/relations/dashboard_announcements_translations/languages_code.json @@ -0,0 +1,25 @@ +{ + "collection": "dashboard_announcements_translations", + "field": "languages_code", + "related_collection": "languages", + "meta": { + "junction_field": "dashboard_announcements_id", + "many_collection": "dashboard_announcements_translations", + "many_field": "languages_code", + "one_allowed_collections": null, + "one_collection": "languages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "dashboard_announcements_translations", + "column": "languages_code", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "constraint_name": "dashboard_announcements_translations_languages_code_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/echo/directus/sync/specs/item.graphql b/echo/directus/sync/specs/item.graphql index f9344cf1..ba9fb122 100644 --- a/echo/directus/sync/specs/item.graphql +++ b/echo/directus/sync/specs/item.graphql @@ -1,16 +1,12 @@ type Query { - processing_status(filter: processing_status_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [processing_status!]! - processing_status_by_id(id: ID!, version: String): processing_status - processing_status_aggregated(groupBy: [String], filter: processing_status_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [processing_status_aggregated!]! - processing_status_by_version(version: String!, id: ID!): version_processing_status + directus_sync_id_map(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_sync_id_map!]! + directus_sync_id_map_by_id(id: ID!, version: String): directus_sync_id_map + directus_sync_id_map_aggregated(groupBy: [String], filter: directus_sync_id_map_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_sync_id_map_aggregated!]! + directus_sync_id_map_by_version(version: String!, id: ID!): version_directus_sync_id_map aspect(filter: aspect_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [aspect!]! aspect_by_id(id: ID!, version: String): aspect aspect_aggregated(groupBy: [String], filter: aspect_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [aspect_aggregated!]! aspect_by_version(version: String!, id: ID!): version_aspect - conversation_chunk(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_chunk!]! - conversation_chunk_by_id(id: ID!, version: String): conversation_chunk - conversation_chunk_aggregated(groupBy: [String], filter: conversation_chunk_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_chunk_aggregated!]! - conversation_chunk_by_version(version: String!, id: ID!): version_conversation_chunk account(filter: account_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [account!]! account_by_id(id: ID!, version: String): account account_aggregated(groupBy: [String], filter: account_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [account_aggregated!]! @@ -23,10 +19,6 @@ type Query { view_by_id(id: ID!, version: String): view view_aggregated(groupBy: [String], filter: view_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [view_aggregated!]! view_by_version(version: String!, id: ID!): version_view - conversation(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation!]! - conversation_by_id(id: ID!, version: String): conversation - conversation_aggregated(groupBy: [String], filter: conversation_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_aggregated!]! - conversation_by_version(version: String!, id: ID!): version_conversation conversation_project_tag(filter: conversation_project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_project_tag!]! conversation_project_tag_by_id(id: ID!, version: String): conversation_project_tag conversation_project_tag_aggregated(groupBy: [String], filter: conversation_project_tag_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_project_tag_aggregated!]! @@ -39,10 +31,6 @@ type Query { conversation_reply_by_id(id: ID!, version: String): conversation_reply conversation_reply_aggregated(groupBy: [String], filter: conversation_reply_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_reply_aggregated!]! conversation_reply_by_version(version: String!, id: ID!): version_conversation_reply - conversation_segment(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment!]! - conversation_segment_by_id(id: ID!, version: String): conversation_segment - conversation_segment_aggregated(groupBy: [String], filter: conversation_segment_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_segment_aggregated!]! - conversation_segment_by_version(version: String!, id: ID!): version_conversation_segment conversation_segment_conversation_chunk(filter: conversation_segment_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment_conversation_chunk!]! conversation_segment_conversation_chunk_by_id(id: ID!, version: String): conversation_segment_conversation_chunk conversation_segment_conversation_chunk_aggregated(groupBy: [String], filter: conversation_segment_conversation_chunk_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_segment_conversation_chunk_aggregated!]! @@ -63,18 +51,10 @@ type Query { project_chat_by_id(id: ID!, version: String): project_chat project_chat_aggregated(groupBy: [String], filter: project_chat_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [project_chat_aggregated!]! project_chat_by_version(version: String!, id: ID!): version_project_chat - project(filter: project_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project!]! - project_by_id(id: ID!, version: String): project - project_aggregated(groupBy: [String], filter: project_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [project_aggregated!]! - project_by_version(version: String!, id: ID!): version_project project_chat_conversation(filter: project_chat_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_conversation!]! project_chat_conversation_by_id(id: ID!, version: String): project_chat_conversation project_chat_conversation_aggregated(groupBy: [String], filter: project_chat_conversation_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [project_chat_conversation_aggregated!]! project_chat_conversation_by_version(version: String!, id: ID!): version_project_chat_conversation - project_chat_message(filter: project_chat_message_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message!]! - project_chat_message_by_id(id: ID!, version: String): project_chat_message - project_chat_message_aggregated(groupBy: [String], filter: project_chat_message_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [project_chat_message_aggregated!]! - project_chat_message_by_version(version: String!, id: ID!): version_project_chat_message project_chat_message_conversation(filter: project_chat_message_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message_conversation!]! project_chat_message_conversation_by_id(id: ID!, version: String): project_chat_message_conversation project_chat_message_conversation_aggregated(groupBy: [String], filter: project_chat_message_conversation_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [project_chat_message_conversation_aggregated!]! @@ -107,6 +87,26 @@ type Query { quote_aspect_by_id(id: ID!, version: String): quote_aspect quote_aspect_aggregated(groupBy: [String], filter: quote_aspect_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [quote_aspect_aggregated!]! quote_aspect_by_version(version: String!, id: ID!): version_quote_aspect + conversation_segment(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment!]! + conversation_segment_by_id(id: ID!, version: String): conversation_segment + conversation_segment_aggregated(groupBy: [String], filter: conversation_segment_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_segment_aggregated!]! + conversation_segment_by_version(version: String!, id: ID!): version_conversation_segment + conversation(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation!]! + conversation_by_id(id: ID!, version: String): conversation + conversation_aggregated(groupBy: [String], filter: conversation_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_aggregated!]! + conversation_by_version(version: String!, id: ID!): version_conversation + project_chat_message(filter: project_chat_message_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message!]! + project_chat_message_by_id(id: ID!, version: String): project_chat_message + project_chat_message_aggregated(groupBy: [String], filter: project_chat_message_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [project_chat_message_aggregated!]! + project_chat_message_by_version(version: String!, id: ID!): version_project_chat_message + project(filter: project_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project!]! + project_by_id(id: ID!, version: String): project + project_aggregated(groupBy: [String], filter: project_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [project_aggregated!]! + project_by_version(version: String!, id: ID!): version_project + conversation_chunk(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_chunk!]! + conversation_chunk_by_id(id: ID!, version: String): conversation_chunk + conversation_chunk_aggregated(groupBy: [String], filter: conversation_chunk_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [conversation_chunk_aggregated!]! + conversation_chunk_by_version(version: String!, id: ID!): version_conversation_chunk quote_aspect_1(filter: quote_aspect_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [quote_aspect_1!]! quote_aspect_1_by_id(id: ID!, version: String): quote_aspect_1 quote_aspect_1_aggregated(groupBy: [String], filter: quote_aspect_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [quote_aspect_1_aggregated!]! @@ -115,35 +115,49 @@ type Query { quote_conversation_chunk_by_id(id: ID!, version: String): quote_conversation_chunk quote_conversation_chunk_aggregated(groupBy: [String], filter: quote_conversation_chunk_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [quote_conversation_chunk_aggregated!]! quote_conversation_chunk_by_version(version: String!, id: ID!): version_quote_conversation_chunk - directus_sync_id_map(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_sync_id_map!]! - directus_sync_id_map_by_id(id: ID!, version: String): directus_sync_id_map - directus_sync_id_map_aggregated(groupBy: [String], filter: directus_sync_id_map_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_sync_id_map_aggregated!]! - directus_sync_id_map_by_version(version: String!, id: ID!): version_directus_sync_id_map + processing_status(filter: processing_status_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [processing_status!]! + processing_status_by_id(id: ID!, version: String): processing_status + processing_status_aggregated(groupBy: [String], filter: processing_status_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [processing_status_aggregated!]! + processing_status_by_version(version: String!, id: ID!): version_processing_status + announcement(filter: announcement_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [announcement!]! + announcement_by_id(id: ID!, version: String): announcement + announcement_aggregated(groupBy: [String], filter: announcement_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [announcement_aggregated!]! + announcement_by_version(version: String!, id: ID!): version_announcement + languages(filter: languages_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [languages!]! + languages_by_id(id: ID!, version: String): languages + languages_aggregated(groupBy: [String], filter: languages_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [languages_aggregated!]! + languages_by_version(version: String!, id: ID!): version_languages + announcement_translations(filter: announcement_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [announcement_translations!]! + announcement_translations_by_id(id: ID!, version: String): announcement_translations + announcement_translations_aggregated(groupBy: [String], filter: announcement_translations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [announcement_translations_aggregated!]! + announcement_translations_by_version(version: String!, id: ID!): version_announcement_translations + dashboard_announcements_translations(filter: dashboard_announcements_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [dashboard_announcements_translations!]! + dashboard_announcements_translations_by_id(id: ID!, version: String): dashboard_announcements_translations + dashboard_announcements_translations_aggregated(groupBy: [String], filter: dashboard_announcements_translations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [dashboard_announcements_translations_aggregated!]! + dashboard_announcements_translations_by_version(version: String!, id: ID!): version_dashboard_announcements_translations + announcement_activity(filter: announcement_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [announcement_activity!]! + announcement_activity_by_id(id: ID!, version: String): announcement_activity + announcement_activity_aggregated(groupBy: [String], filter: announcement_activity_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [announcement_activity_aggregated!]! + announcement_activity_by_version(version: String!, id: ID!): version_announcement_activity } type Mutation { - create_processing_status_items(filter: processing_status_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_processing_status_input!]): [processing_status!]! - create_processing_status_item(data: create_processing_status_input!): processing_status + create_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_sync_id_map_input!]): [directus_sync_id_map!]! + create_directus_sync_id_map_item(data: create_directus_sync_id_map_input!): directus_sync_id_map create_aspect_items(filter: aspect_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_aspect_input!]): [aspect!]! create_aspect_item(data: create_aspect_input!): aspect - create_conversation_chunk_items(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_chunk_input!]): [conversation_chunk!]! - create_conversation_chunk_item(data: create_conversation_chunk_input!): conversation_chunk create_account_items(filter: account_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_account_input!]): [account!]! create_account_item(data: create_account_input!): account create_account_directus_users_items(filter: account_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_account_directus_users_input!]): [account_directus_users!]! create_account_directus_users_item(data: create_account_directus_users_input!): account_directus_users create_view_items(filter: view_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_view_input!]): [view!]! create_view_item(data: create_view_input!): view - create_conversation_items(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_input!]): [conversation!]! - create_conversation_item(data: create_conversation_input!): conversation create_conversation_project_tag_items(filter: conversation_project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_project_tag_input!]): [conversation_project_tag!]! create_conversation_project_tag_item(data: create_conversation_project_tag_input!): conversation_project_tag create_project_tag_items(filter: project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_tag_input!]): [project_tag!]! create_project_tag_item(data: create_project_tag_input!): project_tag create_conversation_reply_items(filter: conversation_reply_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_reply_input!]): [conversation_reply!]! create_conversation_reply_item(data: create_conversation_reply_input!): conversation_reply - create_conversation_segment_items(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_segment_input!]): [conversation_segment!]! - create_conversation_segment_item(data: create_conversation_segment_input!): conversation_segment create_conversation_segment_conversation_chunk_items(filter: conversation_segment_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_segment_conversation_chunk_input!]): [conversation_segment_conversation_chunk!]! create_conversation_segment_conversation_chunk_item(data: create_conversation_segment_conversation_chunk_input!): conversation_segment_conversation_chunk create_document_items(filter: document_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_document_input!]): [document!]! @@ -154,12 +168,8 @@ type Mutation { create_insight_item(data: create_insight_input!): insight create_project_chat_items(filter: project_chat_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_chat_input!]): [project_chat!]! create_project_chat_item(data: create_project_chat_input!): project_chat - create_project_items(filter: project_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_input!]): [project!]! - create_project_item(data: create_project_input!): project create_project_chat_conversation_items(filter: project_chat_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_chat_conversation_input!]): [project_chat_conversation!]! create_project_chat_conversation_item(data: create_project_chat_conversation_input!): project_chat_conversation - create_project_chat_message_items(filter: project_chat_message_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_chat_message_input!]): [project_chat_message!]! - create_project_chat_message_item(data: create_project_chat_message_input!): project_chat_message create_project_chat_message_conversation_items(filter: project_chat_message_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_chat_message_conversation_input!]): [project_chat_message_conversation!]! create_project_chat_message_conversation_item(data: create_project_chat_message_conversation_input!): project_chat_message_conversation create_project_chat_message_conversation_1_items(filter: project_chat_message_conversation_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_chat_message_conversation_1_input!]): [project_chat_message_conversation_1!]! @@ -176,21 +186,38 @@ type Mutation { create_quote_item(data: create_quote_input!): quote create_quote_aspect_items(filter: quote_aspect_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_quote_aspect_input!]): [quote_aspect!]! create_quote_aspect_item(data: create_quote_aspect_input!): quote_aspect + create_conversation_segment_items(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_segment_input!]): [conversation_segment!]! + create_conversation_segment_item(data: create_conversation_segment_input!): conversation_segment + create_conversation_items(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_input!]): [conversation!]! + create_conversation_item(data: create_conversation_input!): conversation + create_project_chat_message_items(filter: project_chat_message_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_chat_message_input!]): [project_chat_message!]! + create_project_chat_message_item(data: create_project_chat_message_input!): project_chat_message + create_project_items(filter: project_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_project_input!]): [project!]! + create_project_item(data: create_project_input!): project + create_conversation_chunk_items(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_conversation_chunk_input!]): [conversation_chunk!]! + create_conversation_chunk_item(data: create_conversation_chunk_input!): conversation_chunk create_quote_aspect_1_items(filter: quote_aspect_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_quote_aspect_1_input!]): [quote_aspect_1!]! create_quote_aspect_1_item(data: create_quote_aspect_1_input!): quote_aspect_1 create_quote_conversation_chunk_items(filter: quote_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_quote_conversation_chunk_input!]): [quote_conversation_chunk!]! create_quote_conversation_chunk_item(data: create_quote_conversation_chunk_input!): quote_conversation_chunk - create_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_sync_id_map_input!]): [directus_sync_id_map!]! - create_directus_sync_id_map_item(data: create_directus_sync_id_map_input!): directus_sync_id_map - update_processing_status_items(filter: processing_status_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_processing_status_input!): [processing_status!]! - update_processing_status_batch(filter: processing_status_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_processing_status_input!]): [processing_status!]! - update_processing_status_item(id: ID!, data: update_processing_status_input!): processing_status + create_processing_status_items(filter: processing_status_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_processing_status_input!]): [processing_status!]! + create_processing_status_item(data: create_processing_status_input!): processing_status + create_announcement_items(filter: announcement_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_announcement_input!]): [announcement!]! + create_announcement_item(data: create_announcement_input!): announcement + create_languages_items(filter: languages_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_languages_input!]): [languages!]! + create_languages_item(data: create_languages_input!): languages + create_announcement_translations_items(filter: announcement_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_announcement_translations_input!]): [announcement_translations!]! + create_announcement_translations_item(data: create_announcement_translations_input!): announcement_translations + create_dashboard_announcements_translations_items(filter: dashboard_announcements_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_dashboard_announcements_translations_input!]): [dashboard_announcements_translations!]! + create_dashboard_announcements_translations_item(data: create_dashboard_announcements_translations_input!): dashboard_announcements_translations + create_announcement_activity_items(filter: announcement_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_announcement_activity_input!]): [announcement_activity!]! + create_announcement_activity_item(data: create_announcement_activity_input!): announcement_activity + update_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_sync_id_map_input!): [directus_sync_id_map!]! + update_directus_sync_id_map_batch(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_sync_id_map_input!]): [directus_sync_id_map!]! + update_directus_sync_id_map_item(id: ID!, data: update_directus_sync_id_map_input!): directus_sync_id_map update_aspect_items(filter: aspect_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_aspect_input!): [aspect!]! update_aspect_batch(filter: aspect_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_aspect_input!]): [aspect!]! update_aspect_item(id: ID!, data: update_aspect_input!): aspect - update_conversation_chunk_items(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_chunk_input!): [conversation_chunk!]! - update_conversation_chunk_batch(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_chunk_input!]): [conversation_chunk!]! - update_conversation_chunk_item(id: ID!, data: update_conversation_chunk_input!): conversation_chunk update_account_items(filter: account_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_account_input!): [account!]! update_account_batch(filter: account_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_account_input!]): [account!]! update_account_item(id: ID!, data: update_account_input!): account @@ -200,9 +227,6 @@ type Mutation { update_view_items(filter: view_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_view_input!): [view!]! update_view_batch(filter: view_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_view_input!]): [view!]! update_view_item(id: ID!, data: update_view_input!): view - update_conversation_items(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_input!): [conversation!]! - update_conversation_batch(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_input!]): [conversation!]! - update_conversation_item(id: ID!, data: update_conversation_input!): conversation update_conversation_project_tag_items(filter: conversation_project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_project_tag_input!): [conversation_project_tag!]! update_conversation_project_tag_batch(filter: conversation_project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_project_tag_input!]): [conversation_project_tag!]! update_conversation_project_tag_item(id: ID!, data: update_conversation_project_tag_input!): conversation_project_tag @@ -212,9 +236,6 @@ type Mutation { update_conversation_reply_items(filter: conversation_reply_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_reply_input!): [conversation_reply!]! update_conversation_reply_batch(filter: conversation_reply_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_reply_input!]): [conversation_reply!]! update_conversation_reply_item(id: ID!, data: update_conversation_reply_input!): conversation_reply - update_conversation_segment_items(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_segment_input!): [conversation_segment!]! - update_conversation_segment_batch(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_segment_input!]): [conversation_segment!]! - update_conversation_segment_item(id: ID!, data: update_conversation_segment_input!): conversation_segment update_conversation_segment_conversation_chunk_items(filter: conversation_segment_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_segment_conversation_chunk_input!): [conversation_segment_conversation_chunk!]! update_conversation_segment_conversation_chunk_batch(filter: conversation_segment_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_segment_conversation_chunk_input!]): [conversation_segment_conversation_chunk!]! update_conversation_segment_conversation_chunk_item(id: ID!, data: update_conversation_segment_conversation_chunk_input!): conversation_segment_conversation_chunk @@ -230,15 +251,9 @@ type Mutation { update_project_chat_items(filter: project_chat_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_project_chat_input!): [project_chat!]! update_project_chat_batch(filter: project_chat_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_project_chat_input!]): [project_chat!]! update_project_chat_item(id: ID!, data: update_project_chat_input!): project_chat - update_project_items(filter: project_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_project_input!): [project!]! - update_project_batch(filter: project_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_project_input!]): [project!]! - update_project_item(id: ID!, data: update_project_input!): project update_project_chat_conversation_items(filter: project_chat_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_project_chat_conversation_input!): [project_chat_conversation!]! update_project_chat_conversation_batch(filter: project_chat_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_project_chat_conversation_input!]): [project_chat_conversation!]! update_project_chat_conversation_item(id: ID!, data: update_project_chat_conversation_input!): project_chat_conversation - update_project_chat_message_items(filter: project_chat_message_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_project_chat_message_input!): [project_chat_message!]! - update_project_chat_message_batch(filter: project_chat_message_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_project_chat_message_input!]): [project_chat_message!]! - update_project_chat_message_item(id: ID!, data: update_project_chat_message_input!): project_chat_message update_project_chat_message_conversation_items(filter: project_chat_message_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_project_chat_message_conversation_input!): [project_chat_message_conversation!]! update_project_chat_message_conversation_batch(filter: project_chat_message_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_project_chat_message_conversation_input!]): [project_chat_message_conversation!]! update_project_chat_message_conversation_item(id: ID!, data: update_project_chat_message_conversation_input!): project_chat_message_conversation @@ -263,37 +278,61 @@ type Mutation { update_quote_aspect_items(filter: quote_aspect_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_quote_aspect_input!): [quote_aspect!]! update_quote_aspect_batch(filter: quote_aspect_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_quote_aspect_input!]): [quote_aspect!]! update_quote_aspect_item(id: ID!, data: update_quote_aspect_input!): quote_aspect + update_conversation_segment_items(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_segment_input!): [conversation_segment!]! + update_conversation_segment_batch(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_segment_input!]): [conversation_segment!]! + update_conversation_segment_item(id: ID!, data: update_conversation_segment_input!): conversation_segment + update_conversation_items(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_input!): [conversation!]! + update_conversation_batch(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_input!]): [conversation!]! + update_conversation_item(id: ID!, data: update_conversation_input!): conversation + update_project_chat_message_items(filter: project_chat_message_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_project_chat_message_input!): [project_chat_message!]! + update_project_chat_message_batch(filter: project_chat_message_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_project_chat_message_input!]): [project_chat_message!]! + update_project_chat_message_item(id: ID!, data: update_project_chat_message_input!): project_chat_message + update_project_items(filter: project_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_project_input!): [project!]! + update_project_batch(filter: project_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_project_input!]): [project!]! + update_project_item(id: ID!, data: update_project_input!): project + update_conversation_chunk_items(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_conversation_chunk_input!): [conversation_chunk!]! + update_conversation_chunk_batch(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_conversation_chunk_input!]): [conversation_chunk!]! + update_conversation_chunk_item(id: ID!, data: update_conversation_chunk_input!): conversation_chunk update_quote_aspect_1_items(filter: quote_aspect_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_quote_aspect_1_input!): [quote_aspect_1!]! update_quote_aspect_1_batch(filter: quote_aspect_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_quote_aspect_1_input!]): [quote_aspect_1!]! update_quote_aspect_1_item(id: ID!, data: update_quote_aspect_1_input!): quote_aspect_1 update_quote_conversation_chunk_items(filter: quote_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_quote_conversation_chunk_input!): [quote_conversation_chunk!]! update_quote_conversation_chunk_batch(filter: quote_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_quote_conversation_chunk_input!]): [quote_conversation_chunk!]! update_quote_conversation_chunk_item(id: ID!, data: update_quote_conversation_chunk_input!): quote_conversation_chunk - update_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_sync_id_map_input!): [directus_sync_id_map!]! - update_directus_sync_id_map_batch(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_sync_id_map_input!]): [directus_sync_id_map!]! - update_directus_sync_id_map_item(id: ID!, data: update_directus_sync_id_map_input!): directus_sync_id_map - delete_processing_status_items(ids: [ID]!): delete_many - delete_processing_status_item(id: ID!): delete_one + update_processing_status_items(filter: processing_status_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_processing_status_input!): [processing_status!]! + update_processing_status_batch(filter: processing_status_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_processing_status_input!]): [processing_status!]! + update_processing_status_item(id: ID!, data: update_processing_status_input!): processing_status + update_announcement_items(filter: announcement_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_announcement_input!): [announcement!]! + update_announcement_batch(filter: announcement_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_announcement_input!]): [announcement!]! + update_announcement_item(id: ID!, data: update_announcement_input!): announcement + update_languages_items(filter: languages_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_languages_input!): [languages!]! + update_languages_batch(filter: languages_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_languages_input!]): [languages!]! + update_languages_item(id: ID!, data: update_languages_input!): languages + update_announcement_translations_items(filter: announcement_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_announcement_translations_input!): [announcement_translations!]! + update_announcement_translations_batch(filter: announcement_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_announcement_translations_input!]): [announcement_translations!]! + update_announcement_translations_item(id: ID!, data: update_announcement_translations_input!): announcement_translations + update_dashboard_announcements_translations_items(filter: dashboard_announcements_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_dashboard_announcements_translations_input!): [dashboard_announcements_translations!]! + update_dashboard_announcements_translations_batch(filter: dashboard_announcements_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_dashboard_announcements_translations_input!]): [dashboard_announcements_translations!]! + update_dashboard_announcements_translations_item(id: ID!, data: update_dashboard_announcements_translations_input!): dashboard_announcements_translations + update_announcement_activity_items(filter: announcement_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_announcement_activity_input!): [announcement_activity!]! + update_announcement_activity_batch(filter: announcement_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_announcement_activity_input!]): [announcement_activity!]! + update_announcement_activity_item(id: ID!, data: update_announcement_activity_input!): announcement_activity + delete_directus_sync_id_map_items(ids: [ID]!): delete_many + delete_directus_sync_id_map_item(id: ID!): delete_one delete_aspect_items(ids: [ID]!): delete_many delete_aspect_item(id: ID!): delete_one - delete_conversation_chunk_items(ids: [ID]!): delete_many - delete_conversation_chunk_item(id: ID!): delete_one delete_account_items(ids: [ID]!): delete_many delete_account_item(id: ID!): delete_one delete_account_directus_users_items(ids: [ID]!): delete_many delete_account_directus_users_item(id: ID!): delete_one delete_view_items(ids: [ID]!): delete_many delete_view_item(id: ID!): delete_one - delete_conversation_items(ids: [ID]!): delete_many - delete_conversation_item(id: ID!): delete_one delete_conversation_project_tag_items(ids: [ID]!): delete_many delete_conversation_project_tag_item(id: ID!): delete_one delete_project_tag_items(ids: [ID]!): delete_many delete_project_tag_item(id: ID!): delete_one delete_conversation_reply_items(ids: [ID]!): delete_many delete_conversation_reply_item(id: ID!): delete_one - delete_conversation_segment_items(ids: [ID]!): delete_many - delete_conversation_segment_item(id: ID!): delete_one delete_conversation_segment_conversation_chunk_items(ids: [ID]!): delete_many delete_conversation_segment_conversation_chunk_item(id: ID!): delete_one delete_document_items(ids: [ID]!): delete_many @@ -304,12 +343,8 @@ type Mutation { delete_insight_item(id: ID!): delete_one delete_project_chat_items(ids: [ID]!): delete_many delete_project_chat_item(id: ID!): delete_one - delete_project_items(ids: [ID]!): delete_many - delete_project_item(id: ID!): delete_one delete_project_chat_conversation_items(ids: [ID]!): delete_many delete_project_chat_conversation_item(id: ID!): delete_one - delete_project_chat_message_items(ids: [ID]!): delete_many - delete_project_chat_message_item(id: ID!): delete_one delete_project_chat_message_conversation_items(ids: [ID]!): delete_many delete_project_chat_message_conversation_item(id: ID!): delete_one delete_project_chat_message_conversation_1_items(ids: [ID]!): delete_many @@ -326,54 +361,70 @@ type Mutation { delete_quote_item(id: ID!): delete_one delete_quote_aspect_items(ids: [ID]!): delete_many delete_quote_aspect_item(id: ID!): delete_one + delete_conversation_segment_items(ids: [ID]!): delete_many + delete_conversation_segment_item(id: ID!): delete_one + delete_conversation_items(ids: [ID]!): delete_many + delete_conversation_item(id: ID!): delete_one + delete_project_chat_message_items(ids: [ID]!): delete_many + delete_project_chat_message_item(id: ID!): delete_one + delete_project_items(ids: [ID]!): delete_many + delete_project_item(id: ID!): delete_one + delete_conversation_chunk_items(ids: [ID]!): delete_many + delete_conversation_chunk_item(id: ID!): delete_one delete_quote_aspect_1_items(ids: [ID]!): delete_many delete_quote_aspect_1_item(id: ID!): delete_one delete_quote_conversation_chunk_items(ids: [ID]!): delete_many delete_quote_conversation_chunk_item(id: ID!): delete_one - delete_directus_sync_id_map_items(ids: [ID]!): delete_many - delete_directus_sync_id_map_item(id: ID!): delete_one + delete_processing_status_items(ids: [ID]!): delete_many + delete_processing_status_item(id: ID!): delete_one + delete_announcement_items(ids: [ID]!): delete_many + delete_announcement_item(id: ID!): delete_one + delete_languages_items(ids: [ID]!): delete_many + delete_languages_item(id: ID!): delete_one + delete_announcement_translations_items(ids: [ID]!): delete_many + delete_announcement_translations_item(id: ID!): delete_one + delete_dashboard_announcements_translations_items(ids: [ID]!): delete_many + delete_dashboard_announcements_translations_item(id: ID!): delete_one + delete_announcement_activity_items(ids: [ID]!): delete_many + delete_announcement_activity_item(id: ID!): delete_one } type Subscription { directus_roles_mutated(event: EventEnum): directus_roles_mutated - processing_status_mutated(event: EventEnum): processing_status_mutated directus_revisions_mutated(event: EventEnum): directus_revisions_mutated directus_folders_mutated(event: EventEnum): directus_folders_mutated directus_activity_mutated(event: EventEnum): directus_activity_mutated - directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated directus_files_mutated(event: EventEnum): directus_files_mutated - directus_permissions_mutated(event: EventEnum): directus_permissions_mutated directus_presets_mutated(event: EventEnum): directus_presets_mutated + directus_permissions_mutated(event: EventEnum): directus_permissions_mutated directus_settings_mutated(event: EventEnum): directus_settings_mutated + directus_panels_mutated(event: EventEnum): directus_panels_mutated + directus_notifications_mutated(event: EventEnum): directus_notifications_mutated + directus_flows_mutated(event: EventEnum): directus_flows_mutated + directus_shares_mutated(event: EventEnum): directus_shares_mutated + directus_operations_mutated(event: EventEnum): directus_operations_mutated + directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated + directus_translations_mutated(event: EventEnum): directus_translations_mutated + directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated + directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated + directus_policies_mutated(event: EventEnum): directus_policies_mutated + directus_access_mutated(event: EventEnum): directus_access_mutated + directus_comments_mutated(event: EventEnum): directus_comments_mutated + directus_versions_mutated(event: EventEnum): directus_versions_mutated aspect_mutated(event: EventEnum): aspect_mutated - conversation_chunk_mutated(event: EventEnum): conversation_chunk_mutated + directus_users_mutated(event: EventEnum): directus_users_mutated account_mutated(event: EventEnum): account_mutated account_directus_users_mutated(event: EventEnum): account_directus_users_mutated view_mutated(event: EventEnum): view_mutated - conversation_mutated(event: EventEnum): conversation_mutated conversation_project_tag_mutated(event: EventEnum): conversation_project_tag_mutated project_tag_mutated(event: EventEnum): project_tag_mutated conversation_reply_mutated(event: EventEnum): conversation_reply_mutated - conversation_segment_mutated(event: EventEnum): conversation_segment_mutated conversation_segment_conversation_chunk_mutated(event: EventEnum): conversation_segment_conversation_chunk_mutated document_mutated(event: EventEnum): document_mutated project_analysis_run_mutated(event: EventEnum): project_analysis_run_mutated insight_mutated(event: EventEnum): insight_mutated project_chat_mutated(event: EventEnum): project_chat_mutated - project_mutated(event: EventEnum): project_mutated project_chat_conversation_mutated(event: EventEnum): project_chat_conversation_mutated - directus_panels_mutated(event: EventEnum): directus_panels_mutated - directus_notifications_mutated(event: EventEnum): directus_notifications_mutated - directus_shares_mutated(event: EventEnum): directus_shares_mutated - directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated - directus_flows_mutated(event: EventEnum): directus_flows_mutated - directus_operations_mutated(event: EventEnum): directus_operations_mutated - directus_users_mutated(event: EventEnum): directus_users_mutated - directus_translations_mutated(event: EventEnum): directus_translations_mutated - directus_policies_mutated(event: EventEnum): directus_policies_mutated - directus_access_mutated(event: EventEnum): directus_access_mutated - directus_versions_mutated(event: EventEnum): directus_versions_mutated - project_chat_message_mutated(event: EventEnum): project_chat_message_mutated project_chat_message_conversation_mutated(event: EventEnum): project_chat_message_conversation_mutated project_chat_message_conversation_1_mutated(event: EventEnum): project_chat_message_conversation_1_mutated project_chat_message_metadata_mutated(event: EventEnum): project_chat_message_metadata_mutated @@ -382,10 +433,19 @@ type Subscription { project_report_notification_participants_mutated(event: EventEnum): project_report_notification_participants_mutated quote_mutated(event: EventEnum): quote_mutated quote_aspect_mutated(event: EventEnum): quote_aspect_mutated + conversation_segment_mutated(event: EventEnum): conversation_segment_mutated + conversation_mutated(event: EventEnum): conversation_mutated + project_chat_message_mutated(event: EventEnum): project_chat_message_mutated + project_mutated(event: EventEnum): project_mutated + conversation_chunk_mutated(event: EventEnum): conversation_chunk_mutated quote_aspect_1_mutated(event: EventEnum): quote_aspect_1_mutated quote_conversation_chunk_mutated(event: EventEnum): quote_conversation_chunk_mutated - directus_comments_mutated(event: EventEnum): directus_comments_mutated - directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated + processing_status_mutated(event: EventEnum): processing_status_mutated + announcement_mutated(event: EventEnum): announcement_mutated + languages_mutated(event: EventEnum): languages_mutated + announcement_translations_mutated(event: EventEnum): announcement_translations_mutated + dashboard_announcements_translations_mutated(event: EventEnum): dashboard_announcements_translations_mutated + announcement_activity_mutated(event: EventEnum): announcement_activity_mutated } """The `Boolean` scalar type represents `true` or `false`.""" @@ -501,6 +561,148 @@ type account_mutated { data: account } +type announcement { + id: ID! + sort: Int + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + created_at: Date + created_at_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + updated_at: Date + updated_at_func: datetime_functions + expires_at: Date + expires_at_func: datetime_functions + level: String + translations(filter: announcement_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [announcement_translations] + translations_func: count_functions + activity(filter: announcement_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [announcement_activity] + activity_func: count_functions +} + +type announcement_activity { + id: ID! + sort: Int + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + created_at: Date + created_at_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + updated_at: Date + updated_at_func: datetime_functions + user_id: String + read: Boolean + announcement_activity(filter: announcement_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): announcement +} + +type announcement_activity_aggregated { + group: JSON + countAll: Int + count: announcement_activity_aggregated_count + countDistinct: announcement_activity_aggregated_count + avg: announcement_activity_aggregated_fields + sum: announcement_activity_aggregated_fields + avgDistinct: announcement_activity_aggregated_fields + sumDistinct: announcement_activity_aggregated_fields + min: announcement_activity_aggregated_fields + max: announcement_activity_aggregated_fields +} + +type announcement_activity_aggregated_count { + id: Int + sort: Int + user_created: Int + created_at: Int + user_updated: Int + updated_at: Int + user_id: Int + read: Int + announcement_activity: Int +} + +type announcement_activity_aggregated_fields { + sort: Float +} + +type announcement_activity_mutated { + key: ID! + event: EventEnum + data: announcement_activity +} + +type announcement_aggregated { + group: JSON + countAll: Int + count: announcement_aggregated_count + countDistinct: announcement_aggregated_count + avg: announcement_aggregated_fields + sum: announcement_aggregated_fields + avgDistinct: announcement_aggregated_fields + sumDistinct: announcement_aggregated_fields + min: announcement_aggregated_fields + max: announcement_aggregated_fields +} + +type announcement_aggregated_count { + id: Int + sort: Int + user_created: Int + created_at: Int + user_updated: Int + updated_at: Int + expires_at: Int + level: Int + translations: Int + activity: Int +} + +type announcement_aggregated_fields { + sort: Float +} + +type announcement_mutated { + key: ID! + event: EventEnum + data: announcement +} + +type announcement_translations { + id: ID! + announcement_id(filter: announcement_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): announcement + languages_code(filter: languages_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): languages + title: String + message: String +} + +type announcement_translations_aggregated { + group: JSON + countAll: Int + count: announcement_translations_aggregated_count + countDistinct: announcement_translations_aggregated_count + avg: announcement_translations_aggregated_fields + sum: announcement_translations_aggregated_fields + avgDistinct: announcement_translations_aggregated_fields + sumDistinct: announcement_translations_aggregated_fields + min: announcement_translations_aggregated_fields + max: announcement_translations_aggregated_fields +} + +type announcement_translations_aggregated_count { + id: Int + announcement_id: Int + languages_code: Int + title: Int + message: Int +} + +type announcement_translations_aggregated_fields { + id: Float +} + +type announcement_translations_mutated { + key: ID! + event: EventEnum + data: announcement_translations +} + type aspect { created_at: Date created_at_func: datetime_functions @@ -555,7 +757,6 @@ type conversation { description: String duration: Float id: ID! - is_audio_processing_finished: Boolean is_finished: Boolean merged_audio_path: String merged_transcript: String @@ -572,10 +773,9 @@ type conversation { title: String updated_at: Date updated_at_func: datetime_functions + is_audio_processing_finished: Boolean chunks(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_chunk] chunks_func: count_functions - conversation_segments(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment] - conversation_segments_func: count_functions project_chat_messages(filter: project_chat_message_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message_conversation] project_chat_messages_func: count_functions project_chats(filter: project_chat_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_conversation] @@ -584,6 +784,8 @@ type conversation { replies_func: count_functions tags(filter: conversation_project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_project_tag] tags_func: count_functions + conversation_segments(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment] + conversation_segments_func: count_functions } type conversation_aggregated { @@ -605,7 +807,6 @@ type conversation_aggregated_count { description: Int duration: Int id: Int - is_audio_processing_finished: Int is_finished: Int merged_audio_path: Int merged_transcript: Int @@ -621,12 +822,13 @@ type conversation_aggregated_count { summary: Int title: Int updated_at: Int + is_audio_processing_finished: Int chunks: Int - conversation_segments: Int project_chat_messages: Int project_chats: Int replies: Int tags: Int + conversation_segments: Int } type conversation_aggregated_fields { @@ -799,12 +1001,12 @@ type conversation_reply_mutated { type conversation_segment { config_id: String contextual_transcript: String - conversation_id(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): conversation counter: Float id: ID! lightrag_flag: Boolean path: String transcript: String + conversation_id(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): conversation chunks(filter: conversation_segment_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment_conversation_chunk] chunks_func: count_functions } @@ -825,12 +1027,12 @@ type conversation_segment_aggregated { type conversation_segment_aggregated_count { config_id: Int contextual_transcript: Int - conversation_id: Int counter: Int id: Int lightrag_flag: Int path: Int transcript: Int + conversation_id: Int chunks: Int } @@ -885,6 +1087,45 @@ type count_functions { count: Int } +type dashboard_announcements_translations { + id: ID! + languages_code(filter: languages_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): languages + title: String + unread_notifications: String + mark_all_as_read: String +} + +type dashboard_announcements_translations_aggregated { + group: JSON + countAll: Int + count: dashboard_announcements_translations_aggregated_count + countDistinct: dashboard_announcements_translations_aggregated_count + avg: dashboard_announcements_translations_aggregated_fields + sum: dashboard_announcements_translations_aggregated_fields + avgDistinct: dashboard_announcements_translations_aggregated_fields + sumDistinct: dashboard_announcements_translations_aggregated_fields + min: dashboard_announcements_translations_aggregated_fields + max: dashboard_announcements_translations_aggregated_fields +} + +type dashboard_announcements_translations_aggregated_count { + id: Int + languages_code: Int + title: Int + unread_notifications: Int + mark_all_as_read: Int +} + +type dashboard_announcements_translations_aggregated_fields { + id: Float +} + +type dashboard_announcements_translations_mutated { + key: ID! + event: EventEnum + data: dashboard_announcements_translations +} + type datetime_functions { year: Int month: Int @@ -1550,6 +1791,31 @@ type insight_mutated { data: insight } +type languages { + code: ID! + name: String + direction: String +} + +type languages_aggregated { + group: JSON + countAll: Int + count: languages_aggregated_count + countDistinct: languages_aggregated_count +} + +type languages_aggregated_count { + code: Int + name: Int + direction: Int +} + +type languages_mutated { + key: ID! + event: EventEnum + data: languages +} + type processing_status { collection_name: String duration_ms: Int @@ -1628,14 +1894,14 @@ type project { get_reply_mode: String conversations(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation] conversations_func: count_functions + tags(filter: project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_tag] + tags_func: count_functions project_analysis_runs(filter: project_analysis_run_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_analysis_run] project_analysis_runs_func: count_functions project_chats(filter: project_chat_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat] project_chats_func: count_functions project_reports(filter: project_report_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_report] project_reports_func: count_functions - tags(filter: project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_tag] - tags_func: count_functions } type project_aggregated { @@ -1673,10 +1939,10 @@ type project_aggregated_count { updated_at: Int get_reply_mode: Int conversations: Int + tags: Int project_analysis_runs: Int project_chats: Int project_reports: Int - tags: Int } type project_analysis_run { @@ -1809,9 +2075,9 @@ type project_chat_message { id: ID! message_from: String project_chat_id(filter: project_chat_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): project_chat - template_key: String text: String tokens_count: Int + template_key: String added_conversations(filter: project_chat_message_conversation_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message_conversation_1] added_conversations_func: count_functions chat_message_metadata(filter: project_chat_message_metadata_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message_metadata] @@ -1839,9 +2105,9 @@ type project_chat_message_aggregated_count { id: Int message_from: Int project_chat_id: Int - template_key: Int text: Int tokens_count: Int + template_key: Int """delta conversations added""" added_conversations: Int @@ -2334,6 +2600,42 @@ type version_account_directus_users { id: ID } +"""""" +type version_announcement { + id: ID + sort: Int + user_created: JSON + created_at: Date + user_updated: JSON + updated_at: Date + expires_at: Date + level: String + translations: JSON + activity: JSON +} + +"""""" +type version_announcement_activity { + id: ID + sort: Int + user_created: JSON + created_at: Date + user_updated: JSON + updated_at: Date + user_id: String + read: Boolean + announcement_activity: JSON +} + +"""""" +type version_announcement_translations { + id: ID + announcement_id: JSON + languages_code: JSON + title: String + message: String +} + """""" type version_aspect { created_at: Date @@ -2357,7 +2659,6 @@ type version_conversation { description: String duration: Float id: ID - is_audio_processing_finished: Boolean is_finished: Boolean merged_audio_path: String merged_transcript: String @@ -2373,12 +2674,13 @@ type version_conversation { summary: String title: String updated_at: Date + is_audio_processing_finished: Boolean chunks: JSON - conversation_segments: JSON project_chat_messages: JSON project_chats: JSON replies: JSON tags: JSON + conversation_segments: JSON } """""" @@ -2427,12 +2729,12 @@ type version_conversation_reply { type version_conversation_segment { config_id: String contextual_transcript: String - conversation_id: JSON counter: Float id: ID lightrag_flag: Boolean path: String transcript: String + conversation_id: JSON chunks: JSON } @@ -2443,6 +2745,15 @@ type version_conversation_segment_conversation_chunk { id: ID } +"""""" +type version_dashboard_announcements_translations { + id: ID + languages_code: JSON + title: String + unread_notifications: String + mark_all_as_read: String +} + """""" type version_directus_sync_id_map { id: ID @@ -2479,6 +2790,13 @@ type version_insight { quotes: JSON } +"""""" +type version_languages { + code: ID + name: String + direction: String +} + """""" type version_processing_status { collection_name: String @@ -2520,10 +2838,10 @@ type version_project { updated_at: Date get_reply_mode: String conversations: JSON + tags: JSON project_analysis_runs: JSON project_chats: JSON project_reports: JSON - tags: JSON } """""" @@ -2570,9 +2888,9 @@ type version_project_chat_message { id: ID message_from: String project_chat_id: JSON - template_key: String text: String tokens_count: Int + template_key: String added_conversations: JSON chat_message_metadata: JSON used_conversations: JSON @@ -2773,6 +3091,52 @@ input account_filter { _or: [account_filter] } +input announcement_activity_filter { + id: string_filter_operators + sort: number_filter_operators + user_created: directus_users_filter + created_at: date_filter_operators + created_at_func: datetime_function_filter_operators + user_updated: directus_users_filter + updated_at: date_filter_operators + updated_at_func: datetime_function_filter_operators + user_id: string_filter_operators + read: boolean_filter_operators + announcement_activity: announcement_filter + _and: [announcement_activity_filter] + _or: [announcement_activity_filter] +} + +input announcement_filter { + id: string_filter_operators + sort: number_filter_operators + user_created: directus_users_filter + created_at: date_filter_operators + created_at_func: datetime_function_filter_operators + user_updated: directus_users_filter + updated_at: date_filter_operators + updated_at_func: datetime_function_filter_operators + expires_at: date_filter_operators + expires_at_func: datetime_function_filter_operators + level: string_filter_operators + translations: announcement_translations_filter + translations_func: count_function_filter_operators + activity: announcement_activity_filter + activity_func: count_function_filter_operators + _and: [announcement_filter] + _or: [announcement_filter] +} + +input announcement_translations_filter { + id: number_filter_operators + announcement_id: announcement_filter + languages_code: languages_filter + title: string_filter_operators + message: string_filter_operators + _and: [announcement_translations_filter] + _or: [announcement_translations_filter] +} + input aspect_filter { created_at: date_filter_operators created_at_func: datetime_function_filter_operators @@ -2852,7 +3216,6 @@ input conversation_filter { description: string_filter_operators duration: number_filter_operators id: string_filter_operators - is_audio_processing_finished: boolean_filter_operators is_finished: boolean_filter_operators merged_audio_path: string_filter_operators merged_transcript: string_filter_operators @@ -2867,10 +3230,9 @@ input conversation_filter { title: string_filter_operators updated_at: date_filter_operators updated_at_func: datetime_function_filter_operators + is_audio_processing_finished: boolean_filter_operators chunks: conversation_chunk_filter chunks_func: count_function_filter_operators - conversation_segments: conversation_segment_filter - conversation_segments_func: count_function_filter_operators project_chat_messages: project_chat_message_conversation_filter project_chat_messages_func: count_function_filter_operators project_chats: project_chat_conversation_filter @@ -2879,6 +3241,8 @@ input conversation_filter { replies_func: count_function_filter_operators tags: conversation_project_tag_filter tags_func: count_function_filter_operators + conversation_segments: conversation_segment_filter + conversation_segments_func: count_function_filter_operators _and: [conversation_filter] _or: [conversation_filter] } @@ -2915,12 +3279,12 @@ input conversation_segment_conversation_chunk_filter { input conversation_segment_filter { config_id: string_filter_operators contextual_transcript: string_filter_operators - conversation_id: conversation_filter counter: number_filter_operators id: number_filter_operators lightrag_flag: boolean_filter_operators path: string_filter_operators transcript: string_filter_operators + conversation_id: conversation_filter chunks: conversation_segment_conversation_chunk_filter chunks_func: count_function_filter_operators _and: [conversation_segment_filter] @@ -2945,6 +3309,39 @@ input create_account_input { users: [create_account_directus_users_input] } +input create_announcement_activity_input { + id: ID + sort: Int + user_created: create_directus_users_input + created_at: Date + user_updated: create_directus_users_input + updated_at: Date + user_id: String + read: Boolean + announcement_activity: create_announcement_input +} + +input create_announcement_input { + id: ID + sort: Int + user_created: create_directus_users_input + created_at: Date + user_updated: create_directus_users_input + updated_at: Date + expires_at: Date + level: String + translations: [create_announcement_translations_input] + activity: [create_announcement_activity_input] +} + +input create_announcement_translations_input { + id: ID + announcement_id: create_announcement_input + languages_code: create_languages_input + title: String + message: String +} + input create_aspect_input { created_at: Date description: String @@ -2989,7 +3386,6 @@ input create_conversation_input { description: String duration: Float id: ID - is_audio_processing_finished: Boolean is_finished: Boolean merged_audio_path: String merged_transcript: String @@ -3005,12 +3401,13 @@ input create_conversation_input { summary: String title: String updated_at: Date + is_audio_processing_finished: Boolean chunks: [create_conversation_chunk_input] - conversation_segments: [create_conversation_segment_input] project_chat_messages: [create_project_chat_message_conversation_input] project_chats: [create_project_chat_conversation_input] replies: [create_conversation_reply_input] tags: [create_conversation_project_tag_input] + conversation_segments: [create_conversation_segment_input] } input create_conversation_project_tag_input { @@ -3038,15 +3435,23 @@ input create_conversation_segment_conversation_chunk_input { input create_conversation_segment_input { config_id: String contextual_transcript: String - conversation_id: create_conversation_input counter: Float id: ID lightrag_flag: Boolean path: String transcript: String + conversation_id: create_conversation_input chunks: [create_conversation_segment_conversation_chunk_input] } +input create_dashboard_announcements_translations_input { + id: ID + languages_code: create_languages_input + title: String + unread_notifications: String + mark_all_as_read: String +} + input create_directus_access_input { id: ID role: create_directus_roles_input @@ -3198,6 +3603,12 @@ input create_insight_input { quotes: [create_quote_input] } +input create_languages_input { + code: ID! + name: String + direction: String +} + input create_processing_status_input { collection_name: String duration_ms: Int @@ -3261,9 +3672,9 @@ input create_project_chat_message_input { id: ID message_from: String project_chat_id: create_project_chat_input - template_key: String text: String tokens_count: Int + template_key: String added_conversations: [create_project_chat_message_conversation_1_input] chat_message_metadata: [create_project_chat_message_metadata_input] used_conversations: [create_project_chat_message_conversation_input] @@ -3307,10 +3718,10 @@ input create_project_input { updated_at: Date get_reply_mode: String conversations: [create_conversation_input] + tags: [create_project_tag_input] project_analysis_runs: [create_project_analysis_run_input] project_chats: [create_project_chat_input] project_reports: [create_project_report_input] - tags: [create_project_tag_input] } input create_project_report_input { @@ -3405,6 +3816,16 @@ input create_view_input { aspects: [create_aspect_input] } +input dashboard_announcements_translations_filter { + id: number_filter_operators + languages_code: languages_filter + title: string_filter_operators + unread_notifications: string_filter_operators + mark_all_as_read: string_filter_operators + _and: [dashboard_announcements_translations_filter] + _or: [dashboard_announcements_translations_filter] +} + input date_filter_operators { _eq: String _neq: String @@ -3760,6 +4181,14 @@ input insight_filter { _or: [insight_filter] } +input languages_filter { + code: string_filter_operators + name: string_filter_operators + direction: string_filter_operators + _and: [languages_filter] + _or: [languages_filter] +} + input number_filter_operators { _eq: GraphQLStringOrFloat _neq: GraphQLStringOrFloat @@ -3864,9 +4293,9 @@ input project_chat_message_filter { id: string_filter_operators message_from: string_filter_operators project_chat_id: project_chat_filter - template_key: string_filter_operators text: string_filter_operators tokens_count: number_filter_operators + template_key: string_filter_operators added_conversations: project_chat_message_conversation_1_filter added_conversations_func: count_function_filter_operators chat_message_metadata: project_chat_message_metadata_filter @@ -3917,14 +4346,14 @@ input project_filter { get_reply_mode: string_filter_operators conversations: conversation_filter conversations_func: count_function_filter_operators + tags: project_tag_filter + tags_func: count_function_filter_operators project_analysis_runs: project_analysis_run_filter project_analysis_runs_func: count_function_filter_operators project_chats: project_chat_filter project_chats_func: count_function_filter_operators project_reports: project_report_filter project_reports_func: count_function_filter_operators - tags: project_tag_filter - tags_func: count_function_filter_operators _and: [project_filter] _or: [project_filter] } @@ -4073,6 +4502,39 @@ input update_account_input { users: [update_account_directus_users_input] } +input update_announcement_activity_input { + id: ID + sort: Int + user_created: update_directus_users_input + created_at: Date + user_updated: update_directus_users_input + updated_at: Date + user_id: String + read: Boolean + announcement_activity: update_announcement_input +} + +input update_announcement_input { + id: ID + sort: Int + user_created: update_directus_users_input + created_at: Date + user_updated: update_directus_users_input + updated_at: Date + expires_at: Date + level: String + translations: [update_announcement_translations_input] + activity: [update_announcement_activity_input] +} + +input update_announcement_translations_input { + id: ID + announcement_id: update_announcement_input + languages_code: update_languages_input + title: String + message: String +} + input update_aspect_input { created_at: Date description: String @@ -4117,7 +4579,6 @@ input update_conversation_input { description: String duration: Float id: ID - is_audio_processing_finished: Boolean is_finished: Boolean merged_audio_path: String merged_transcript: String @@ -4133,12 +4594,13 @@ input update_conversation_input { summary: String title: String updated_at: Date + is_audio_processing_finished: Boolean chunks: [update_conversation_chunk_input] - conversation_segments: [update_conversation_segment_input] project_chat_messages: [update_project_chat_message_conversation_input] project_chats: [update_project_chat_conversation_input] replies: [update_conversation_reply_input] tags: [update_conversation_project_tag_input] + conversation_segments: [update_conversation_segment_input] } input update_conversation_project_tag_input { @@ -4166,15 +4628,23 @@ input update_conversation_segment_conversation_chunk_input { input update_conversation_segment_input { config_id: String contextual_transcript: String - conversation_id: update_conversation_input counter: Float id: ID lightrag_flag: Boolean path: String transcript: String + conversation_id: update_conversation_input chunks: [update_conversation_segment_conversation_chunk_input] } +input update_dashboard_announcements_translations_input { + id: ID + languages_code: update_languages_input + title: String + unread_notifications: String + mark_all_as_read: String +} + input update_directus_access_input { id: ID role: update_directus_roles_input @@ -4326,6 +4796,12 @@ input update_insight_input { quotes: [update_quote_input] } +input update_languages_input { + code: ID + name: String + direction: String +} + input update_processing_status_input { collection_name: String duration_ms: Int @@ -4389,9 +4865,9 @@ input update_project_chat_message_input { id: ID message_from: String project_chat_id: update_project_chat_input - template_key: String text: String tokens_count: Int + template_key: String added_conversations: [update_project_chat_message_conversation_1_input] chat_message_metadata: [update_project_chat_message_metadata_input] used_conversations: [update_project_chat_message_conversation_input] @@ -4435,10 +4911,10 @@ input update_project_input { updated_at: Date get_reply_mode: String conversations: [update_conversation_input] + tags: [update_project_tag_input] project_analysis_runs: [update_project_analysis_run_input] project_chats: [update_project_chat_input] project_reports: [update_project_report_input] - tags: [update_project_tag_input] } input update_project_report_input { diff --git a/echo/directus/sync/specs/openapi.json b/echo/directus/sync/specs/openapi.json index cf39d5c3..db14664b 100644 --- a/echo/directus/sync/specs/openapi.json +++ b/echo/directus/sync/specs/openapi.json @@ -1753,39 +1753,87 @@ ] } }, - "/items/processing_status": { - "post": { - "summary": "Create an Item", - "description": "Create a new processing_status item.", - "tags": [ - "Items", - "ItemsProcessingStatus" - ], - "operationId": "createItemsProcessingStatus", + "/revisions": { + "get": { + "summary": "List Revisions", + "description": "List the revisions.", + "operationId": "getRevisions", "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, { "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Page" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsProcessingStatus" + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Revisions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } - }, - { - "$ref": "#/components/schemas/ItemsProcessingStatus" } - ] + } } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } }, + "tags": [ + "Revisions" + ] + } + }, + "/revisions/{id}": { + "get": { + "summary": "Retrieve a Revision", + "description": "Retrieve a single revision by unique identifier.", + "operationId": "getRevision", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], "responses": { "200": { "description": "Successful request", @@ -1795,9 +1843,7 @@ "type": "object", "properties": { "data": { - "items": { - "$ref": "#/components/schemas/ItemsProcessingStatus" - } + "$ref": "#/components/schemas/Revisions" } } } @@ -1806,22 +1852,21 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "get": { - "summary": "List Items", - "description": "List the processing_status items.", + }, "tags": [ - "Items", - "ItemsProcessingStatus" - ], - "operationId": "readItemsProcessingStatus", - "security": [ - { - "Auth": [] - } - ], + "Revisions" + ] + } + }, + "/folders": { + "get": { + "summary": "List Folders", + "description": "List the folders.", + "operationId": "getFolders", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -1829,9 +1874,6 @@ { "$ref": "#/components/parameters/Limit" }, - { - "$ref": "#/components/parameters/Meta" - }, { "$ref": "#/components/parameters/Offset" }, @@ -1843,6 +1885,9 @@ }, { "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" } ], "responses": { @@ -1856,8 +1901,7 @@ "data": { "type": "array", "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsProcessingStatus" + "$ref": "#/components/schemas/Folders" } }, "meta": { @@ -1870,17 +1914,84 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Folders" + ] + }, + "post": { + "summary": "Create a Folder", + "description": "Create a new folder.", + "operationId": "createFolder", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "Amsterdam", + "description": "Name of the folder." + }, + "parent": { + "description": "Unique identifier of the parent folder. This allows for nested folders.", + "type": "integer" + } + }, + "required": [ + "name" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Folders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] }, "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple processing_status items at the same time.", + "summary": "Update Multiple Folders", + "description": "Update multiple folders at the same time.", "tags": [ - "Items", - "ItemsProcessingStatus" + "Folders" ], - "operationId": "updateItemsProcessingStatus", + "operationId": "updateFolders", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -1908,17 +2019,32 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "Amsterdam", + "description": "Name of the folder." + }, + "parent": { + "description": "Unique identifier of the parent folder. This allows for nested folders.", + "type": "integer" + } + }, + "required": [ + "name" + ] + }, + "keys": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProcessingStatus" + "type": "string" } - }, - { - "$ref": "#/components/schemas/ItemsProcessingStatus" } - ] + } } } } @@ -1929,27 +2055,34 @@ "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { + "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProcessingStatus" + "$ref": "#/components/schemas/Folders" } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" } } }, "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing processing_status items.", + "summary": "Delete Multiple Folders", + "description": "Delete multiple existing folders.", "tags": [ - "Items", - "ItemsProcessingStatus" + "Folders" ], - "operationId": "deleteItemsProcessingStatus", + "operationId": "deleteFolders", "responses": { "200": { "description": "Successful request" @@ -1957,48 +2090,23 @@ "401": { "$ref": "#/components/responses/UnauthorizedError" } - }, - "parameters": [] + } } }, - "/items/processing_status/{id}": { + "/folders/{id}": { "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single processing_status item by unique identifier.", - "tags": [ - "Items", - "ItemsProcessingStatus" - ], - "operationId": "readSingleItemsProcessingStatus", + "summary": "Retrieve a Folder", + "description": "Retrieve a single folder by unique identifier.", + "operationId": "getFolder", "parameters": [ { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/UUId" }, { - "$ref": "#/components/parameters/Version" + "$ref": "#/components/parameters/Fields" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/Meta" } ], "responses": { @@ -2010,8 +2118,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsProcessingStatus" + "$ref": "#/components/schemas/Folders" } } } @@ -2024,42 +2131,24 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Folders" + ] }, "patch": { - "summary": "Update an Item", - "description": "Update an existing processing_status item.", - "tags": [ - "Items", - "ItemsProcessingStatus" - ], - "operationId": "updateSingleItemsProcessingStatus", + "summary": "Update a Folder", + "description": "Update an existing folder", + "operationId": "updateFolder", "parameters": [ { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/UUId" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Fields" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/Meta" } ], "requestBody": { @@ -2067,7 +2156,17 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProcessingStatus" + "properties": { + "name": { + "type": "string", + "description": "Name of the folder. Can't be null or empty." + }, + "parent": { + "type": "integer", + "example": 3, + "description": "Unique identifier of the parent folder. This allows for nested folders." + } + } } } } @@ -2081,8 +2180,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsProcessingStatus" + "$ref": "#/components/schemas/Folders" } } } @@ -2095,16 +2193,15 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Folders" + ] }, "delete": { - "summary": "Delete an Item", - "description": "Delete an existing processing_status item.", - "tags": [ - "Items", - "ItemsProcessingStatus" - ], - "operationId": "deleteSingleItemsProcessingStatus", + "summary": "Delete a Folder", + "description": "Delete an existing folder", + "operationId": "deleteFolder", "responses": { "200": { "description": "Successful request" @@ -2116,35 +2213,21 @@ "$ref": "#/components/responses/NotFoundError" } }, + "tags": [ + "Folders" + ], "parameters": [ { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/UUId" } ] } }, - "/revisions": { + "/activity": { "get": { - "summary": "List Revisions", - "description": "List the revisions.", - "operationId": "getRevisions", + "operationId": "getActivities", + "summary": "List Activity Actions", + "description": "Returns a list of activity actions.", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -2153,10 +2236,10 @@ "$ref": "#/components/parameters/Limit" }, { - "$ref": "#/components/parameters/Offset" + "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Offset" }, { "$ref": "#/components/parameters/Sort" @@ -2166,14 +2249,10 @@ }, { "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" } ], "responses": { "200": { - "description": "Successful request", "content": { "application/json": { "schema": { @@ -2182,7 +2261,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Revisions" + "$ref": "#/components/schemas/Activity" } }, "meta": { @@ -2191,7 +2270,8 @@ } } } - } + }, + "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" @@ -2201,15 +2281,15 @@ } }, "tags": [ - "Revisions" + "Activity" ] } }, - "/revisions/{id}": { + "/activity/{id}": { "get": { - "summary": "Retrieve a Revision", - "description": "Retrieve a single revision by unique identifier.", - "operationId": "getRevision", + "summary": "Retrieve an Activity Action", + "description": "Retrieves the details of an existing activity action. Provide the primary key of the activity action and Directus will return the corresponding information.", + "operationId": "getActivity", "parameters": [ { "$ref": "#/components/parameters/Id" @@ -2230,7 +2310,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Revisions" + "$ref": "#/components/schemas/Activity" } } } @@ -2245,36 +2325,21 @@ } }, "tags": [ - "Revisions" + "Activity" ] } }, - "/folders": { + "/fields": { "get": { - "summary": "List Folders", - "description": "List the folders.", - "operationId": "getFolders", + "summary": "List All Fields", + "description": "Returns a list of the fields available in the project.", + "operationId": "getFields", "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, { "$ref": "#/components/parameters/Limit" }, - { - "$ref": "#/components/parameters/Offset" - }, { "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" } ], "responses": { @@ -2288,11 +2353,8 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Folders" + "$ref": "#/components/schemas/Fields" } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" } } } @@ -2307,44 +2369,29 @@ } }, "tags": [ - "Folders" + "Fields" ] - }, - "post": { - "summary": "Create a Folder", - "description": "Create a new folder.", - "operationId": "createFolder", + } + }, + "/fields/{collection}": { + "get": { + "summary": "List Fields in Collection", + "description": "Returns a list of the fields available in the given collection.", + "operationId": "getCollectionFields", "parameters": [ { - "$ref": "#/components/parameters/Fields" + "description": "Unique identifier of the collection the item resides in.", + "in": "path", + "name": "collection", + "required": true, + "schema": { + "type": "string" + } }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Sort" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "Amsterdam", - "description": "Name of the folder." - }, - "parent": { - "description": "Unique identifier of the parent folder. This allows for nested folders.", - "type": "integer" - } - }, - "required": [ - "name" - ] - } - } - } - }, "responses": { "200": { "description": "Successful request", @@ -2354,7 +2401,10 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Folders" + "type": "array", + "items": { + "$ref": "#/components/schemas/Fields" + } } } } @@ -2369,66 +2419,218 @@ } }, "tags": [ - "Folders" + "Fields" ] }, - "patch": { - "summary": "Update Multiple Folders", - "description": "Update multiple folders at the same time.", - "tags": [ - "Folders" - ], - "operationId": "updateFolders", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - } - ], + "post": { + "summary": "Create Field in Collection", + "description": "Create a new field in a given collection.", + "operationId": "createField", "requestBody": { "content": { "application/json": { "schema": { + "required": [ + "field", + "datatype", + "type", + "length" + ], "type": "object", "properties": { - "data": { + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "id", + "type": "string" + }, + "type": { + "description": "Directus specific data type. Used to cast values in the API.", + "example": "integer", + "type": "string" + }, + "schema": { + "description": "The schema info.", "type": "object", "properties": { "name": { + "description": "The name of the field.", + "example": "title", + "type": "string" + }, + "table": { + "description": "The collection of the field.", + "example": "posts", + "type": "string" + }, + "type": { + "description": "The type of the field.", + "example": "string", + "type": "string" + }, + "default_value": { + "description": "The default value of the field.", + "example": null, "type": "string", - "example": "Amsterdam", - "description": "Name of the folder." + "nullable": true }, - "parent": { - "description": "Unique identifier of the parent folder. This allows for nested folders.", - "type": "integer" + "max_length": { + "description": "The max length of the field.", + "example": null, + "type": "integer", + "nullable": true + }, + "is_nullable": { + "description": "If the field is nullable.", + "example": false, + "type": "boolean" + }, + "is_primary_key": { + "description": "If the field is primary key.", + "example": false, + "type": "boolean" + }, + "has_auto_increment": { + "description": "If the field has auto increment.", + "example": false, + "type": "boolean" + }, + "foreign_key_column": { + "description": "Related column from the foreign key constraint.", + "example": null, + "type": "string", + "nullable": true + }, + "foreign_key_table": { + "description": "Related table from the foreign key constraint.", + "example": null, + "type": "string", + "nullable": true + }, + "comment": { + "description": "Comment as saved in the database.", + "example": null, + "type": "string", + "nullable": true + }, + "schema": { + "description": "Database schema (pg only).", + "example": "public", + "type": "string" + }, + "foreign_key_schema": { + "description": "Related schema from the foreign key constraint (pg only).", + "example": null, + "type": "string", + "nullable": true } - }, - "required": [ - "name" - ] + } }, - "keys": { - "type": "array", - "items": { - "type": "string" + "meta": { + "description": "The meta info.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier for the field in the `directus_fields` collection.", + "example": 3, + "type": "integer" + }, + "collection": { + "description": "Unique name of the collection this field is in.", + "example": "posts", + "type": "string" + }, + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "title", + "type": "string" + }, + "special": { + "description": "Transformation flag for field", + "example": null, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "system-interface": { + "description": "What interface is used in the admin app to edit the value for this field.", + "example": "primary-key", + "type": "string", + "nullable": true + }, + "options": { + "description": "Options for the interface that's used. This format is based on the individual interface.", + "example": null, + "type": "object", + "nullable": true + }, + "display": { + "description": "What display is used in the admin app to display the value for this field.", + "example": null, + "type": "string", + "nullable": true + }, + "display_options": { + "description": "Options for the display that's used. This format is based on the individual display.", + "example": null, + "type": "object", + "nullable": true + }, + "locked": { + "description": "If the field can be altered by the end user. Directus system fields have this value set to `true`.", + "example": true, + "type": "boolean" + }, + "readonly": { + "description": "Prevents the user from editing the value in the field.", + "example": false, + "type": "boolean" + }, + "hidden": { + "description": "If this field should be hidden.", + "example": true, + "type": "boolean" + }, + "sort": { + "description": "Sort order of this field on the edit page of the admin app.", + "example": 1, + "type": "integer", + "nullable": true + }, + "width": { + "description": "Width of the field on the edit form.", + "example": null, + "type": "string", + "nullable": true, + "enum": [ + "half", + "half-left", + "half-right", + "full", + "fill", + null + ] + }, + "group": { + "description": "What field group this field is part of.", + "example": null, + "type": "integer", + "nullable": true + }, + "translation": { + "description": "Key value pair of `: ` that allows the user to change the displayed name of the field in the admin app.", + "example": null, + "type": "object", + "nullable": true + }, + "note": { + "description": "A user provided note for the field. Will be rendered alongside the interface on the edit page.", + "example": "", + "type": "string", + "nullable": true + } } } } @@ -2438,64 +2640,48 @@ }, "responses": { "200": { - "description": "Successful request", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Folders" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "$ref": "#/components/schemas/Fields" } } } } - } + }, + "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "delete": { - "summary": "Delete Multiple Folders", - "description": "Delete multiple existing folders.", + }, "tags": [ - "Folders" + "Fields" ], - "operationId": "deleteFolders", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" + "parameters": [ + { + "description": "Unique identifier of the collection the item resides in.", + "in": "path", + "name": "collection", + "required": true, + "schema": { + "type": "string" + } } - } + ] } }, - "/folders/{id}": { + "/fields/{collection}/{id}": { "get": { - "summary": "Retrieve a Folder", - "description": "Retrieve a single folder by unique identifier.", - "operationId": "getFolder", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], + "summary": "Retrieve a Field", + "description": "Retrieves the details of a single field in a given collection.", + "operationId": "getCollectionField", "responses": { "200": { "description": "Successful request", @@ -2505,7 +2691,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Folders" + "$ref": "#/components/schemas/Fields" } } } @@ -2520,144 +2706,292 @@ } }, "tags": [ - "Folders" - ] - }, - "patch": { - "summary": "Update a Folder", - "description": "Update an existing folder", - "operationId": "updateFolder", + "Fields" + ], "parameters": [ { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" + "name": "collection", + "in": "path", + "description": "Unique identifier of the collection the item resides in.", + "schema": { + "type": "string" + }, + "required": true }, { - "$ref": "#/components/parameters/Meta" + "name": "id", + "in": "path", + "description": "Unique identifier of the field.", + "schema": { + "type": "string" + }, + "required": true } - ], + ] + }, + "patch": { + "summary": "Update a Field", + "description": "Update an existing field.", + "operationId": "updateField", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "Name of the folder. Can't be null or empty." + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "id", + "type": "string" }, - "parent": { - "type": "integer", - "example": 3, - "description": "Unique identifier of the parent folder. This allows for nested folders." - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Folders" + "type": { + "description": "Directus specific data type. Used to cast values in the API.", + "example": "integer", + "type": "string" + }, + "schema": { + "description": "The schema info.", + "type": "object", + "properties": { + "name": { + "description": "The name of the field.", + "example": "title", + "type": "string" + }, + "table": { + "description": "The collection of the field.", + "example": "posts", + "type": "string" + }, + "type": { + "description": "The type of the field.", + "example": "string", + "type": "string" + }, + "default_value": { + "description": "The default value of the field.", + "example": null, + "type": "string", + "nullable": true + }, + "max_length": { + "description": "The max length of the field.", + "example": null, + "type": "integer", + "nullable": true + }, + "is_nullable": { + "description": "If the field is nullable.", + "example": false, + "type": "boolean" + }, + "is_primary_key": { + "description": "If the field is primary key.", + "example": false, + "type": "boolean" + }, + "has_auto_increment": { + "description": "If the field has auto increment.", + "example": false, + "type": "boolean" + }, + "foreign_key_column": { + "description": "Related column from the foreign key constraint.", + "example": null, + "type": "string", + "nullable": true + }, + "foreign_key_table": { + "description": "Related table from the foreign key constraint.", + "example": null, + "type": "string", + "nullable": true + }, + "comment": { + "description": "Comment as saved in the database.", + "example": null, + "type": "string", + "nullable": true + }, + "schema": { + "description": "Database schema (pg only).", + "example": "public", + "type": "string" + }, + "foreign_key_schema": { + "description": "Related schema from the foreign key constraint (pg only).", + "example": null, + "type": "string", + "nullable": true + } } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ] - }, - "delete": { - "summary": "Delete a Folder", - "description": "Delete an existing folder", - "operationId": "deleteFolder", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/activity": { - "get": { - "operationId": "getActivities", - "summary": "List Activity Actions", - "description": "Returns a list of activity actions.", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - } - ], - "responses": { + }, + "meta": { + "description": "The meta info.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier for the field in the `directus_fields` collection.", + "example": 3, + "type": "integer" + }, + "collection": { + "description": "Unique name of the collection this field is in.", + "example": "posts", + "type": "string" + }, + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "title", + "type": "string" + }, + "special": { + "description": "Transformation flag for field", + "example": null, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "system-interface": { + "description": "What interface is used in the admin app to edit the value for this field.", + "example": "primary-key", + "type": "string", + "nullable": true + }, + "options": { + "description": "Options for the interface that's used. This format is based on the individual interface.", + "example": null, + "type": "object", + "nullable": true + }, + "display": { + "description": "What display is used in the admin app to display the value for this field.", + "example": null, + "type": "string", + "nullable": true + }, + "display_options": { + "description": "Options for the display that's used. This format is based on the individual display.", + "example": null, + "type": "object", + "nullable": true + }, + "locked": { + "description": "If the field can be altered by the end user. Directus system fields have this value set to `true`.", + "example": true, + "type": "boolean" + }, + "readonly": { + "description": "Prevents the user from editing the value in the field.", + "example": false, + "type": "boolean" + }, + "hidden": { + "description": "If this field should be hidden.", + "example": true, + "type": "boolean" + }, + "sort": { + "description": "Sort order of this field on the edit page of the admin app.", + "example": 1, + "type": "integer", + "nullable": true + }, + "width": { + "description": "Width of the field on the edit form.", + "example": null, + "type": "string", + "nullable": true, + "enum": [ + "half", + "half-left", + "half-right", + "full", + "fill", + null + ] + }, + "group": { + "description": "What field group this field is part of.", + "example": null, + "type": "integer", + "nullable": true + }, + "translation": { + "description": "Key value pair of `: ` that allows the user to change the displayed name of the field in the admin app.", + "example": null, + "type": "object", + "nullable": true + }, + "note": { + "description": "A user provided note for the field. Will be rendered alongside the interface on the edit page.", + "example": "", + "type": "string", + "nullable": true + } + } + } + } + } + } + } + }, + "responses": { "200": { + "description": "Successful request", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Activity" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "$ref": "#/components/schemas/Fields" } } } } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Fields" + ], + "parameters": [ + { + "name": "collection", + "in": "path", + "description": "Unique identifier of the collection the item resides in.", + "schema": { + "type": "string" + }, + "required": true + }, + { + "name": "id", + "in": "path", + "description": "Unique identifier of the field.", + "schema": { + "type": "string" }, + "required": true + } + ] + }, + "delete": { + "summary": "Delete a Field", + "description": "Delete an existing field.", + "operationId": "deleteField", + "responses": { + "200": { "description": "Successful request" }, "401": { @@ -2668,21 +3002,56 @@ } }, "tags": [ - "Activity" + "Fields" + ], + "parameters": [ + { + "name": "collection", + "in": "path", + "description": "Unique identifier of the collection the item resides in.", + "schema": { + "type": "string" + }, + "required": true + }, + { + "name": "id", + "in": "path", + "description": "Unique identifier of the field.", + "schema": { + "type": "string" + }, + "required": true + } ] } }, - "/activity/{id}": { + "/files": { "get": { - "summary": "Retrieve an Activity Action", - "description": "Retrieves the details of an existing activity action. Provide the primary key of the activity action and Directus will return the corresponding information.", - "operationId": "getActivity", + "summary": "List Files", + "description": "List the files.", + "tags": [ + "Files" + ], + "operationId": "getFiles", "parameters": [ { - "$ref": "#/components/parameters/Id" + "$ref": "#/components/parameters/Fields" }, { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" }, { "$ref": "#/components/parameters/Meta" @@ -2697,7 +3066,13 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Activity" + "type": "array", + "items": { + "$ref": "#/components/schemas/Files" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -2706,21 +3081,30 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, + } + }, + "post": { + "summary": "Create a File", + "description": "Create a new file", "tags": [ - "Activity" - ] - } - }, - "/webhooks": { - "get": { - "summary": "List Webhooks", - "description": "Get all webhooks.", - "operationId": "getWebhooks", + "Files" + ], + "operationId": "createFile", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "string" + } + } + } + } + } + }, "responses": { "200": { "description": "Successful request", @@ -2730,7 +3114,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Webhooks" + "$ref": "#/components/schemas/Files" } } } @@ -2739,105 +3123,16 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ] - }, - "post": { - "summary": "Create a Webhook", - "description": "Create a new webhook.", - "operationId": "createWebhook", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "active" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null - }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Webhooks" - ] + } }, "patch": { - "summary": "Update Multiple Webhooks", - "description": "Update multiple webhooks at the same time.", + "summary": "Update Multiple Files", + "description": "Update multiple files at the same time.", "tags": [ - "Webhooks" + "Files" ], - "operationId": "updateWebhooks", + "operationId": "updateFiles", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -2865,44 +3160,15 @@ "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { + "type": "object", "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "active" - }, "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null - }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null + "type": "string" } - }, - "type": "object" + } }, "keys": { "type": "array", @@ -2910,8 +3176,7 @@ "type": "string" } } - }, - "type": "object" + } } } } @@ -2927,7 +3192,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Webhooks" + "$ref": "#/components/schemas/Files" } }, "meta": { @@ -2944,12 +3209,12 @@ } }, "delete": { - "summary": "Delete Multiple Webhooks", - "description": "Delete multiple existing webhooks.", + "summary": "Delete Multiple Files", + "description": "Delete multiple existing files.", "tags": [ - "Webhooks" + "Files" ], - "operationId": "deleteWebhooks", + "operationId": "deleteFiles", "responses": { "200": { "description": "Successful request" @@ -2960,11 +3225,25 @@ } } }, - "/webhooks/{id}": { + "/files/{id}": { "get": { - "summary": "Retrieve a Webhook", - "description": "Retrieve a single webhook by unique identifier.", - "operationId": "getWebhook", + "summary": "Retrieve a Files", + "description": "Retrieve a single file by unique identifier.", + "tags": [ + "Files" + ], + "operationId": "getFile", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], "responses": { "200": { "description": "Successful request", @@ -2974,7 +3253,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Webhooks" + "$ref": "#/components/schemas/Files" } } } @@ -2983,24 +3262,16 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Webhooks" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] + } }, "patch": { - "summary": "Update a Webhook", - "description": "Update an existing webhook", - "operationId": "updateWebhook", + "summary": "Update a File", + "description": "Update an existing file, and/or replace it's file contents.", + "tags": [ + "Files" + ], + "operationId": "updateFile", "parameters": [ { "$ref": "#/components/parameters/UUId" @@ -3014,44 +3285,95 @@ ], "requestBody": { "content": { - "application/json": { + "multipart/data": { "schema": { + "type": "object", + "required": [ + "file" + ], "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" + "title": { + "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", + "example": "User Avatar", + "type": "string" }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null + "filename_download": { + "description": "Preferred filename when file is downloaded.", + "type": "string" }, - "status": { - "description": "The status of the webhook.", + "description": { + "description": "Description for the file.", "type": "string", - "example": "active" + "nullable": true }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true + "folder": { + "description": "Virtual folder where this file resides in.", + "example": null, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Folders" + } + ], + "nullable": true }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null + "tags": { + "description": "Tags for the file. Is automatically populated based on Exif data for images.", + "type": "array", + "nullable": true, + "items": { + "type": "string" + } }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null + "file": { + "description": "File contents.", + "format": "binary" } - }, - "type": "object" + } + } + }, + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", + "example": "User Avatar", + "type": "string" + }, + "filename_download": { + "description": "Preferred filename when file is downloaded.", + "type": "string" + }, + "description": { + "description": "Description for the file.", + "type": "string", + "nullable": true + }, + "folder": { + "description": "Virtual folder where this file resides in.", + "example": null, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Folders" + } + ], + "nullable": true + }, + "tags": { + "description": "Tags for the file. Is automatically populated based on Exif data for images.", + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + } } } } @@ -3065,7 +3387,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Roles" + "$ref": "#/components/schemas/Files" } } } @@ -3074,33 +3396,24 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Webhooks" - ] + } }, "delete": { - "summary": "Delete a Webhook", - "description": "Delete an existing webhook", - "operationId": "deleteWebhook", + "summary": "Delete a File", + "description": "Delete an existing file.", + "tags": [ + "Files" + ], + "operationId": "deleteFile", "responses": { "200": { "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Webhooks" - ], "parameters": [ { "$ref": "#/components/parameters/UUId" @@ -3108,14 +3421,11 @@ ] } }, - "/files": { + "/relations": { "get": { - "summary": "List Files", - "description": "List the files.", - "tags": [ - "Files" - ], - "operationId": "getFiles", + "summary": "List Relations", + "description": "List the relations.", + "operationId": "getRelations", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -3126,6 +3436,9 @@ { "$ref": "#/components/parameters/Offset" }, + { + "$ref": "#/components/parameters/Meta" + }, { "$ref": "#/components/parameters/Sort" }, @@ -3136,7 +3449,7 @@ "$ref": "#/components/parameters/Search" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Page" } ], "responses": { @@ -3150,11 +3463,8 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Files" + "$ref": "#/components/schemas/Relations" } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" } } } @@ -3163,26 +3473,58 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Relations" + ] }, "post": { - "summary": "Create a File", - "description": "Create a new file", - "tags": [ - "Files" + "summary": "Create a Relation", + "description": "Create a new relation.", + "operationId": "createRelation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } ], - "operationId": "createFile", "requestBody": { "content": { "application/json": { "schema": { - "type": "object", "properties": { - "data": { + "collection_many": { + "description": "Collection that has the field that holds the foreign key.", + "type": "string", + "example": "articles" + }, + "collection_one": { + "description": "Collection on the _one_ side of the relationship.", + "type": "string", + "example": "authors" + }, + "field_many": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "type": "string", + "example": "author" + }, + "field_one": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "type": "string", + "example": "books" + }, + "junction_field": { + "description": "Field on the junction table that holds the primary key of the related collection.", "type": "string" } - } + }, + "type": "object" } } } @@ -3196,7 +3538,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Files" + "$ref": "#/components/schemas/Relations" } } } @@ -3205,60 +3547,102 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "patch": { - "summary": "Update Multiple Files", - "description": "Update multiple files at the same time.", + }, "tags": [ - "Files" - ], - "operationId": "updateFiles", + "Relations" + ] + } + }, + "/relations/{id}": { + "get": { + "summary": "Retrieve a Relation", + "description": "Retrieve a single relation by unique identifier.", + "operationId": "getRelation", "parameters": [ { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/Id" }, { - "$ref": "#/components/parameters/Limit" + "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } }, - { - "$ref": "#/components/parameters/Offset" + "401": { + "$ref": "#/components/responses/UnauthorizedError" }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + }, + "patch": { + "summary": "Update a Relation", + "description": "Update an existing relation", + "operationId": "updateRelation", + "parameters": [ { - "$ref": "#/components/parameters/Sort" + "$ref": "#/components/parameters/Id" }, { - "$ref": "#/components/parameters/Filter" + "$ref": "#/components/parameters/Fields" }, { - "$ref": "#/components/parameters/Search" + "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", "properties": { - "data": { - "type": "object", - "properties": { - "data": { - "type": "string" - } - } + "collection_many": { + "description": "Collection that has the field that holds the foreign key.", + "type": "string" }, - "keys": { - "type": "array", - "items": { - "type": "string" - } + "collection_one": { + "description": "Collection on the _one_ side of the relationship.", + "type": "string" + }, + "field_many": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "type": "string" + }, + "field_one": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "type": "string", + "example": "books" + }, + "junction_field": { + "description": "Field on the junction table that holds the primary key of the related collection.", + "type": "string" } - } + }, + "type": "object" } } } @@ -3272,13 +3656,7 @@ "type": "object", "properties": { "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Files" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "$ref": "#/components/schemas/Relations" } } } @@ -3287,40 +3665,74 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - } - } + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] }, "delete": { - "summary": "Delete Multiple Files", - "description": "Delete multiple existing files.", - "tags": [ - "Files" - ], - "operationId": "deleteFiles", + "summary": "Delete a Relation", + "description": "Delete an existing relation.", + "operationId": "deleteRelation", "responses": { "200": { "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Relations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/Id" + } + ] } }, - "/files/{id}": { + "/presets": { "get": { - "summary": "Retrieve a Files", - "description": "Retrieve a single file by unique identifier.", "tags": [ - "Files" + "Presets" + ], + "operationId": "getPresets", + "summary": "List Presets", + "description": "List the presets.", + "security": [ + { + "Auth": [] + } ], - "operationId": "getFile", "parameters": [ { - "$ref": "#/components/parameters/UUId" + "$ref": "#/components/parameters/Fields" }, { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Page" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" }, { "$ref": "#/components/parameters/Meta" @@ -3335,7 +3747,13 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Files" + "type": "array", + "items": { + "$ref": "#/components/schemas/Presets" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -3347,17 +3765,14 @@ } } }, - "patch": { - "summary": "Update a File", - "description": "Update an existing file, and/or replace it's file contents.", + "post": { "tags": [ - "Files" + "Presets" ], - "operationId": "updateFile", + "operationId": "createPreset", + "summary": "Create a Preset", + "description": "Create a new preset.", "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, { "$ref": "#/components/parameters/Fields" }, @@ -3367,93 +3782,67 @@ ], "requestBody": { "content": { - "multipart/data": { + "application/json": { "schema": { "type": "object", "required": [ - "file" + "collection" ], "properties": { - "title": { - "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", - "example": "User Avatar", - "type": "string" + "collection": { + "type": "string", + "description": "What collection this collection preset is used for.", + "example": "articles" }, - "filename_download": { - "description": "Preferred filename when file is downloaded.", - "type": "string" + "title": { + "type": "string", + "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", + "example": "Highly rated articles" }, - "description": { - "description": "Description for the file.", + "role": { "type": "string", - "nullable": true + "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role.", + "example": null }, - "folder": { - "description": "Virtual folder where this file resides in.", - "example": null, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Folders" - } - ], - "nullable": true + "search": { + "type": "string", + "description": "What the user searched for in search/filter in the header bar." }, - "tags": { - "description": "Tags for the file. Is automatically populated based on Exif data for images.", + "filters": { "type": "array", - "nullable": true, "items": { - "type": "string" + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "aHKLAakdVghzD" + }, + "field": { + "type": "string", + "example": "rating" + }, + "operator": { + "type": "string", + "example": "gte" + }, + "value": { + "type": "integer", + "example": 4.5 + } + } } }, - "file": { - "description": "File contents.", - "format": "binary" - } - } - } - }, - "application/json": { - "schema": { - "type": "object", - "properties": { - "title": { - "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", - "example": "User Avatar", - "type": "string" - }, - "filename_download": { - "description": "Preferred filename when file is downloaded.", - "type": "string" - }, - "description": { - "description": "Description for the file.", + "layout": { "type": "string", - "nullable": true + "description": "Name of the view type that is used." }, - "folder": { - "description": "Virtual folder where this file resides in.", - "example": null, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Folders" - } - ], - "nullable": true + "layout_query": { + "type": "string", + "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." }, - "tags": { - "description": "Tags for the file. Is automatically populated based on Exif data for images.", - "type": "array", - "nullable": true, - "items": { - "type": "string" - } + "layout_options": { + "type": "string", + "description": "Options of the views. The properties in here are controlled by the layout." } } } @@ -3469,7 +3858,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Files" + "$ref": "#/components/schemas/Presets" } } } @@ -3481,33 +3870,13 @@ } } }, - "delete": { - "summary": "Delete a File", - "description": "Delete an existing file.", + "patch": { + "summary": "Update Multiple Presets", + "description": "Update multiple presets at the same time.", "tags": [ - "Files" + "Presets" ], - "operationId": "deleteFile", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/permissions": { - "get": { - "summary": "List Permissions", - "description": "List all permissions.", - "operationId": "getPermissions", + "operationId": "updatePresets", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -3516,10 +3885,10 @@ "$ref": "#/components/parameters/Limit" }, { - "$ref": "#/components/parameters/Offset" + "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Offset" }, { "$ref": "#/components/parameters/Sort" @@ -3529,156 +3898,84 @@ }, { "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Permissions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Permissions" - ] - }, - "post": { - "summary": "Create a Permission", - "description": "Create a new permission.", - "operationId": "createPermission", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { + "type": "object", "properties": { - "collection": { - "description": "What collection this permission applies to.", - "type": "string", - "example": "customers" - }, - "comment": { - "description": "If the user can post comments.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "full" - ] - }, - "create": { - "description": "If the user can create items.", - "type": "string", - "enum": [ - "none", - "full" - ] - }, - "delete": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "explain": { - "description": "If the user is required to leave a comment explaining what was changed.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "always" - ] - }, - "read": { - "description": "If the user can read items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "role": { - "description": "Unique identifier of the role this permission applies to.", - "type": "integer", - "example": 3 - }, - "read_field_blacklist": { - "description": "Explicitly denies read access for specific fields.", - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "featured_image" - ] - }, - "status": { - "description": "What status this permission applies to.", - "type": "string" - }, - "status_blacklist": { - "description": "Explicitly denies specific statuses to be used.", + "keys": { "type": "array", "items": { "type": "string" } }, - "update": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "write_field_blacklist": { - "description": "Explicitly denies write access for specific fields.", - "type": "array", - "items": { - "type": "string" + "data": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "What collection this collection preset is used for.", + "example": "articles" + }, + "title": { + "type": "string", + "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", + "example": "Highly rated articles" + }, + "role": { + "type": "string", + "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role.", + "example": null + }, + "search": { + "type": "string", + "description": "What the user searched for in search/filter in the header bar." + }, + "filters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "aHKLAakdVghzD" + }, + "field": { + "type": "string", + "example": "rating" + }, + "operator": { + "type": "string", + "example": "gte" + }, + "value": { + "type": "integer", + "example": 4.5 + } + } + } + }, + "layout": { + "type": "string", + "description": "Name of the view type that is used." + }, + "layout_query": { + "type": "string", + "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." + }, + "layout_options": { + "type": "string", + "description": "Options of the views. The properties in here are controlled by the layout." + } } } - }, - "type": "object" + } } } } @@ -3692,7 +3989,13 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Permissions" + "type": "array", + "items": { + "$ref": "#/components/schemas/Presets" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -3701,163 +4004,50 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Permissions" - ] + } }, - "patch": { - "summary": "Update Multiple Permissions", - "description": "Update multiple permissions at the same time.", + "delete": { + "summary": "Delete Multiple Presets", + "description": "Delete multiple existing presets.", "tags": [ - "Permissions" + "Presets" ], - "operationId": "updatePermissions", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" + "operationId": "deletePresets", + "responses": { + "200": { + "description": "Successful request" }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/presets/{id}": { + "get": { + "tags": [ + "Presets" + ], + "operationId": "getPreset", + "summary": "Retrieve a Preset", + "description": "Retrieve a single preset by unique identifier.", + "security": [ { - "$ref": "#/components/parameters/Offset" - }, + "Auth": [] + } + ], + "parameters": [ { - "$ref": "#/components/parameters/Sort" + "$ref": "#/components/parameters/Id" }, { - "$ref": "#/components/parameters/Filter" + "$ref": "#/components/parameters/Fields" }, { - "$ref": "#/components/parameters/Search" + "$ref": "#/components/parameters/Meta" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "properties": { - "collection": { - "description": "What collection this permission applies to.", - "type": "string", - "example": "customers" - }, - "comment": { - "description": "If the user can post comments.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "full" - ] - }, - "create": { - "description": "If the user can create items.", - "type": "string", - "enum": [ - "none", - "full" - ] - }, - "delete": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "explain": { - "description": "If the user is required to leave a comment explaining what was changed.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "always" - ] - }, - "read": { - "description": "If the user can read items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "role": { - "description": "Unique identifier of the role this permission applies to.", - "type": "integer", - "example": 3 - }, - "read_field_blacklist": { - "description": "Explicitly denies read access for specific fields.", - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "featured_image" - ] - }, - "status": { - "description": "What status this permission applies to.", - "type": "string" - }, - "status_blacklist": { - "description": "Explicitly denies specific statuses to be used.", - "type": "array", - "items": { - "type": "string" - } - }, - "update": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "write_field_blacklist": { - "description": "Explicitly denies write access for specific fields.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - } - } - } - } - } - }, "responses": { "200": { "description": "Successful request", @@ -3867,13 +4057,7 @@ "type": "object", "properties": { "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Permissions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "$ref": "#/components/schemas/Presets" } } } @@ -3885,64 +4069,13 @@ } } }, - "delete": { - "summary": "Delete Multiple Permissions", - "description": "Delete multiple existing permissions.", + "patch": { "tags": [ - "Permissions" + "Presets" ], - "operationId": "deletePermissions", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/permissions/me": { - "get": { - "summary": "List My Permissions", - "description": "List the permissions that apply to the current user.", - "operationId": "getMyPermissions", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Permissions" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Permissions" - ] - } - }, - "/permissions/{id}": { - "get": { - "summary": "Retrieve a Permission", - "description": "Retrieve a single permissions object by unique identifier.", - "operationId": "getPermission", + "operationId": "updatePreset", + "summary": "Update a Preset", + "description": "Update an existing preset.", "parameters": [ { "$ref": "#/components/parameters/Id" @@ -3954,6 +4087,74 @@ "$ref": "#/components/parameters/Meta" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "What collection this collection preset is used for.", + "example": "articles" + }, + "title": { + "type": "string", + "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", + "example": "Highly rated articles" + }, + "role": { + "type": "integer", + "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role." + }, + "search_query": { + "type": "string", + "description": "What the user searched for in search/filter in the header bar." + }, + "filters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "example": "rating" + }, + "operator": { + "type": "string", + "example": "gte" + }, + "value": { + "type": "integer", + "example": 4.5 + } + } + } + }, + "view_type": { + "type": "string", + "description": "Name of the view type that is used. Defaults to tabular." + }, + "view_query": { + "type": "string", + "description": "View query that's saved per view type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." + }, + "view_options": { + "type": "string", + "description": "Options of the views. The properties in here are controlled by the layout." + }, + "translation": { + "type": "object", + "description": "Key value pair of language-translation. Can be used to translate the bookmark title in multiple languages." + } + } + } + } + } + }, "responses": { "200": { "description": "Successful request", @@ -3963,7 +4164,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Permissions" + "$ref": "#/components/schemas/Presets" } } } @@ -3972,23 +4173,105 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Permissions" - ] + } }, - "patch": { - "summary": "Update a Permission", - "description": "Update an existing permission", - "operationId": "updatePermission", + "delete": { + "tags": [ + "Presets" + ], + "operationId": "deletePreset", + "summary": "Delete a Preset", + "description": "Delete an existing preset.", + "security": [ + { + "Auth": [] + } + ], + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, "parameters": [ { "$ref": "#/components/parameters/Id" + } + ] + } + }, + "/permissions": { + "get": { + "summary": "List Permissions", + "description": "List all permissions.", + "operationId": "getPermissions", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Permissions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Permissions" + ] + }, + "post": { + "summary": "Create a Permission", + "description": "Create a new permission.", + "operationId": "createPermission", + "parameters": [ { "$ref": "#/components/parameters/Meta" } @@ -4000,15 +4283,17 @@ "properties": { "collection": { "description": "What collection this permission applies to.", - "type": "object" + "type": "string", + "example": "customers" }, "comment": { - "description": "If the user can post comments. `full`.", + "description": "If the user can post comments.", "type": "string", "enum": [ "none", "create", - "update" + "update", + "full" ] }, "create": { @@ -4049,21 +4334,31 @@ "full" ] }, - "read_field_blacklist": { - "description": "Explicitly denies read access for specific fields.", - "type": "object" - }, "role": { "description": "Unique identifier of the role this permission applies to.", - "type": "object" + "type": "integer", + "example": 3 + }, + "read_field_blacklist": { + "description": "Explicitly denies read access for specific fields.", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "featured_image" + ] }, "status": { "description": "What status this permission applies to.", - "type": "object" + "type": "string" }, "status_blacklist": { "description": "Explicitly denies specific statuses to be used.", - "type": "object" + "type": "array", + "items": { + "type": "string" + } }, "update": { "description": "If the user can update items.", @@ -4077,7 +4372,10 @@ }, "write_field_blacklist": { "description": "Explicitly denies write access for specific fields.", - "type": "object" + "type": "array", + "items": { + "type": "string" + } } }, "type": "object" @@ -4112,36 +4410,13 @@ "Permissions" ] }, - "delete": { - "summary": "Delete a Permission", - "description": "Delete an existing permission", - "operationId": "deletePermission", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, + "patch": { + "summary": "Update Multiple Permissions", + "description": "Update multiple permissions at the same time.", "tags": [ "Permissions" ], - "parameters": [ - { - "$ref": "#/components/parameters/Id" - } - ] - } - }, - "/relations": { - "get": { - "summary": "List Relations", - "description": "List the relations.", - "operationId": "getRelations", + "operationId": "updatePermissions", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -4150,10 +4425,10 @@ "$ref": "#/components/parameters/Limit" }, { - "$ref": "#/components/parameters/Offset" + "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Offset" }, { "$ref": "#/components/parameters/Sort" @@ -4163,132 +4438,175 @@ }, { "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Relations" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ] - }, - "post": { - "summary": "Create a Relation", - "description": "Create a new relation.", - "operationId": "createRelation", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { + "type": "object", "properties": { - "collection_many": { - "description": "Collection that has the field that holds the foreign key.", - "type": "string", - "example": "articles" - }, - "collection_one": { - "description": "Collection on the _one_ side of the relationship.", - "type": "string", - "example": "authors" - }, - "field_many": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "type": "string", - "example": "author" - }, - "field_one": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "type": "string", - "example": "books" - }, - "junction_field": { - "description": "Field on the junction table that holds the primary key of the related collection.", - "type": "string" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Relations" + "keys": { + "type": "array", + "items": { + "type": "string" } - } + }, + "data": { + "properties": { + "collection": { + "description": "What collection this permission applies to.", + "type": "string", + "example": "customers" + }, + "comment": { + "description": "If the user can post comments.", + "type": "string", + "enum": [ + "none", + "create", + "update", + "full" + ] + }, + "create": { + "description": "If the user can create items.", + "type": "string", + "enum": [ + "none", + "full" + ] + }, + "delete": { + "description": "If the user can update items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "explain": { + "description": "If the user is required to leave a comment explaining what was changed.", + "type": "string", + "enum": [ + "none", + "create", + "update", + "always" + ] + }, + "read": { + "description": "If the user can read items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "role": { + "description": "Unique identifier of the role this permission applies to.", + "type": "integer", + "example": 3 + }, + "read_field_blacklist": { + "description": "Explicitly denies read access for specific fields.", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "featured_image" + ] + }, + "status": { + "description": "What status this permission applies to.", + "type": "string" + }, + "status_blacklist": { + "description": "Explicitly denies specific statuses to be used.", + "type": "array", + "items": { + "type": "string" + } + }, + "update": { + "description": "If the user can update items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "write_field_blacklist": { + "description": "Explicitly denies write access for specific fields.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Permissions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } } } } }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, + } + }, + "delete": { + "summary": "Delete Multiple Permissions", + "description": "Delete multiple existing permissions.", "tags": [ - "Relations" - ] + "Permissions" + ], + "operationId": "deletePermissions", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } } }, - "/relations/{id}": { + "/permissions/me": { "get": { - "summary": "Retrieve a Relation", - "description": "Retrieve a single relation by unique identifier.", - "operationId": "getRelation", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], + "summary": "List My Permissions", + "description": "List the permissions that apply to the current user.", + "operationId": "getMyPermissions", "responses": { "200": { "description": "Successful request", @@ -4298,7 +4616,10 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Relations" + "type": "array", + "items": { + "$ref": "#/components/schemas/Permissions" + } } } } @@ -4313,13 +4634,15 @@ } }, "tags": [ - "Relations" + "Permissions" ] - }, - "patch": { - "summary": "Update a Relation", - "description": "Update an existing relation", - "operationId": "updateRelation", + } + }, + "/permissions/{id}": { + "get": { + "summary": "Retrieve a Permission", + "description": "Retrieve a single permissions object by unique identifier.", + "operationId": "getPermission", "parameters": [ { "$ref": "#/components/parameters/Id" @@ -4331,38 +4654,6 @@ "$ref": "#/components/parameters/Meta" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "collection_many": { - "description": "Collection that has the field that holds the foreign key.", - "type": "string" - }, - "collection_one": { - "description": "Collection on the _one_ side of the relationship.", - "type": "string" - }, - "field_many": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "type": "string" - }, - "field_one": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "type": "string", - "example": "books" - }, - "junction_field": { - "description": "Field on the junction table that holds the primary key of the related collection.", - "type": "string" - } - }, - "type": "object" - } - } - } - }, "responses": { "200": { "description": "Successful request", @@ -4372,7 +4663,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Relations" + "$ref": "#/components/schemas/Permissions" } } } @@ -4387,180 +4678,109 @@ } }, "tags": [ - "Relations" + "Permissions" ] }, - "delete": { - "summary": "Delete a Relation", - "description": "Delete an existing relation.", - "operationId": "deleteRelation", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ], + "patch": { + "summary": "Update a Permission", + "description": "Update an existing permission", + "operationId": "updatePermission", "parameters": [ { "$ref": "#/components/parameters/Id" - } - ] - } - }, - "/presets": { - "get": { - "tags": [ - "Presets" - ], - "operationId": "getPresets", - "summary": "List Presets", - "description": "List the presets.", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Page" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Presets" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "post": { - "tags": [ - "Presets" - ], - "operationId": "createPreset", - "summary": "Create a Preset", - "description": "Create a new preset.", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "required": [ - "collection" - ], "properties": { "collection": { - "type": "string", - "description": "What collection this collection preset is used for.", - "example": "articles" + "description": "What collection this permission applies to.", + "type": "object" }, - "title": { + "comment": { + "description": "If the user can post comments. `full`.", "type": "string", - "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", - "example": "Highly rated articles" + "enum": [ + "none", + "create", + "update" + ] }, - "role": { + "create": { + "description": "If the user can create items.", "type": "string", - "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role.", - "example": null + "enum": [ + "none", + "full" + ] }, - "search": { + "delete": { + "description": "If the user can update items.", "type": "string", - "description": "What the user searched for in search/filter in the header bar." - }, - "filters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "example": "aHKLAakdVghzD" - }, - "field": { - "type": "string", - "example": "rating" - }, - "operator": { - "type": "string", - "example": "gte" - }, - "value": { - "type": "integer", - "example": 4.5 - } - } - } + "enum": [ + "none", + "mine", + "role", + "full" + ] }, - "layout": { + "explain": { + "description": "If the user is required to leave a comment explaining what was changed.", "type": "string", - "description": "Name of the view type that is used." + "enum": [ + "none", + "create", + "update", + "always" + ] }, - "layout_query": { + "read": { + "description": "If the user can read items.", "type": "string", - "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." + "enum": [ + "none", + "mine", + "role", + "full" + ] }, - "layout_options": { + "read_field_blacklist": { + "description": "Explicitly denies read access for specific fields.", + "type": "object" + }, + "role": { + "description": "Unique identifier of the role this permission applies to.", + "type": "object" + }, + "status": { + "description": "What status this permission applies to.", + "type": "object" + }, + "status_blacklist": { + "description": "Explicitly denies specific statuses to be used.", + "type": "object" + }, + "update": { + "description": "If the user can update items.", "type": "string", - "description": "Options of the views. The properties in here are controlled by the layout." + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "write_field_blacklist": { + "description": "Explicitly denies write access for specific fields.", + "type": "object" } - } + }, + "type": "object" } } } @@ -4574,7 +4794,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Presets" + "$ref": "#/components/schemas/Permissions" } } } @@ -4583,117 +4803,97 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Permissions" + ] }, - "patch": { - "summary": "Update Multiple Presets", - "description": "Update multiple presets at the same time.", + "delete": { + "summary": "Delete a Permission", + "description": "Delete an existing permission", + "operationId": "deletePermission", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, "tags": [ - "Presets" + "Permissions" ], - "operationId": "updatePresets", "parameters": [ { - "$ref": "#/components/parameters/Fields" - }, + "$ref": "#/components/parameters/Id" + } + ] + } + }, + "/settings": { + "get": { + "summary": "Retrieve Settings", + "description": "List the settings.", + "operationId": "getSettings", + "parameters": [ { "$ref": "#/components/parameters/Limit" }, - { - "$ref": "#/components/parameters/Meta" - }, { "$ref": "#/components/parameters/Offset" }, { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" + "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Search" + "$ref": "#/components/parameters/Page" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "What collection this collection preset is used for.", - "example": "articles" - }, - "title": { - "type": "string", - "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", - "example": "Highly rated articles" - }, - "role": { - "type": "string", - "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role.", - "example": null - }, - "search": { - "type": "string", - "description": "What the user searched for in search/filter in the header bar." - }, - "filters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "example": "aHKLAakdVghzD" - }, - "field": { - "type": "string", - "example": "rating" - }, - "operator": { - "type": "string", - "example": "gte" - }, - "value": { - "type": "integer", - "example": 4.5 - } - } - } - }, - "layout": { - "type": "string", - "description": "Name of the view type that is used." - }, - "layout_query": { - "type": "string", - "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." - }, - "layout_options": { - "type": "string", - "description": "Options of the views. The properties in here are controlled by the layout." - } + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Settings" } } } } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Settings" + ] + }, + "patch": { + "summary": "Update Settings", + "description": "Update the settings", + "operationId": "updateSetting", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } } }, "responses": { @@ -4705,13 +4905,7 @@ "type": "object", "properties": { "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Presets" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "$ref": "#/components/schemas/Settings" } } } @@ -4720,50 +4914,21 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Presets", - "description": "Delete multiple existing presets.", - "tags": [ - "Presets" - ], - "operationId": "deletePresets", - "responses": { - "200": { - "description": "Successful request" }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Settings" + ] } }, - "/presets/{id}": { + "/flows": { "get": { - "tags": [ - "Presets" - ], - "operationId": "getPreset", - "summary": "Retrieve a Preset", - "description": "Retrieve a single preset by unique identifier.", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], + "summary": "List Flows", + "description": "Get all flows.", + "operationId": "getFlows", "responses": { "200": { "description": "Successful request", @@ -4773,7 +4938,13 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Presets" + "type": "array", + "items": { + "$ref": "#/components/schemas/Flows" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -4782,20 +4953,20 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "patch": { + }, "tags": [ - "Presets" - ], - "operationId": "updatePreset", - "summary": "Update a Preset", - "description": "Update an existing preset.", + "Flows" + ] + }, + "post": { + "summary": "Create a Flow", + "description": "Create a new flow.", + "operationId": "createFlow", "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, { "$ref": "#/components/parameters/Fields" }, @@ -4807,66 +4978,11 @@ "content": { "application/json": { "schema": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "What collection this collection preset is used for.", - "example": "articles" - }, - "title": { - "type": "string", - "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", - "example": "Highly rated articles" - }, - "role": { - "type": "integer", - "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role." - }, - "search_query": { - "type": "string", - "description": "What the user searched for in search/filter in the header bar." - }, - "filters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string", - "example": "rating" - }, - "operator": { - "type": "string", - "example": "gte" - }, - "value": { - "type": "integer", - "example": 4.5 - } - } - } - }, - "view_type": { - "type": "string", - "description": "Name of the view type that is used. Defaults to tabular." - }, - "view_query": { - "type": "string", - "description": "View query that's saved per view type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." - }, - "view_options": { - "type": "string", - "description": "Options of the views. The properties in here are controlled by the layout." - }, - "translation": { - "type": "object", - "description": "Key value pair of language-translation. Can be used to translate the bookmark title in multiple languages." + "anyOf": [ + { + "$ref": "#/components/schemas/Flows" } - } + ] } } } @@ -4880,7 +4996,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Presets" + "$ref": "#/components/schemas/Flows" } } } @@ -4889,55 +5005,69 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Flows" + ] }, - "delete": { + "patch": { + "summary": "Update Multiple Flows", + "description": "Update multiple flows at the same time.", "tags": [ - "Presets" - ], - "operationId": "deletePreset", - "summary": "Delete a Preset", - "description": "Delete an existing preset.", - "security": [ - { - "Auth": [] - } + "Flows" ], - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, + "operationId": "updateFlows", "parameters": [ { - "$ref": "#/components/parameters/Id" - } - ] - } - }, - "/settings": { - "get": { - "summary": "Retrieve Settings", - "description": "List the settings.", - "operationId": "getSettings", - "parameters": [ + "$ref": "#/components/parameters/Fields" + }, { "$ref": "#/components/parameters/Limit" }, + { + "$ref": "#/components/parameters/Meta" + }, { "$ref": "#/components/parameters/Offset" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Sort" }, { - "$ref": "#/components/parameters/Page" + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "anyOf": [ + { + "$ref": "#/components/schemas/Flows" + } + ] + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, "responses": { "200": { "description": "Successful request", @@ -4947,7 +5077,13 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Settings" + "type": "array", + "items": { + "$ref": "#/components/schemas/Flows" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -4956,28 +5092,31 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Settings" - ] + } }, - "patch": { - "summary": "Update Settings", - "description": "Update the settings", - "operationId": "updateSetting", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } + "delete": { + "summary": "Delete Multiple Flows", + "description": "Delete multiple existing flows.", + "tags": [ + "Flows" + ], + "operationId": "deleteFlows", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" } - }, + } + } + }, + "/flows/{id}": { + "get": { + "summary": "Retrieve a Flow", + "description": "Retrieve a single flow by unique identifier.", + "operationId": "getFlow", "responses": { "200": { "description": "Successful request", @@ -4987,7 +5126,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Settings" + "$ref": "#/components/schemas/Flows" } } } @@ -5002,20 +5141,25 @@ } }, "tags": [ - "Settings" - ] - } - }, - "/items/aspect": { - "post": { - "summary": "Create an Item", - "description": "Create a new aspect item.", - "tags": [ - "Items", - "ItemsAspect" + "Flows" ], - "operationId": "createItemsAspect", "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + }, + "patch": { + "summary": "Update a Flow", + "description": "Update an existing flow", + "operationId": "updateFlow", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, { "$ref": "#/components/parameters/Meta" } @@ -5024,15 +5168,9 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAspect" - } - }, + "anyOf": [ { - "$ref": "#/components/schemas/ItemsAspect" + "$ref": "#/components/schemas/Flows" } ] } @@ -5048,9 +5186,7 @@ "type": "object", "properties": { "data": { - "items": { - "$ref": "#/components/schemas/ItemsAspect" - } + "$ref": "#/components/schemas/Flows" } } } @@ -5059,45 +5195,45 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "get": { - "summary": "List Items", - "description": "List the aspect items.", + }, "tags": [ - "Items", - "ItemsAspect" - ], - "operationId": "readItemsAspect", - "security": [ - { - "Auth": [] + "Flows" + ] + }, + "delete": { + "summary": "Delete a Flow", + "description": "Delete an existing flow", + "operationId": "deleteFlow", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } + }, + "tags": [ + "Flows" ], "parameters": [ { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" + "$ref": "#/components/parameters/UUId" } - ], + ] + } + }, + "/operations": { + "get": { + "summary": "List Operations", + "description": "Get all operations.", + "operationId": "getOperations", "responses": { "200": { "description": "Successful request", @@ -5109,8 +5245,7 @@ "data": { "type": "array", "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsAspect" + "$ref": "#/components/schemas/Operations" } }, "meta": { @@ -5123,32 +5258,89 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple aspect items at the same time.", + }, "tags": [ - "Items", - "ItemsAspect" - ], - "operationId": "updateItemsAspect", + "Operations" + ] + }, + "post": { + "summary": "Create an Operation", + "description": "Create a new operation.", + "operationId": "createOperation", "parameters": [ { "$ref": "#/components/parameters/Fields" }, - { - "$ref": "#/components/parameters/Limit" - }, { "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Operations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Operations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Operations" + ] + }, + "patch": { + "summary": "Update Multiple Operations", + "description": "Update multiple operations at the same time.", + "tags": [ + "Operations" + ], + "operationId": "updateOperations", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" }, { "$ref": "#/components/parameters/Filter" @@ -5161,17 +5353,22 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { + "type": "object", + "properties": { + "data": { + "anyOf": [ + { + "$ref": "#/components/schemas/Operations" + } + ] + }, + "keys": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsAspect" + "type": "string" } - }, - { - "$ref": "#/components/schemas/ItemsAspect" } - ] + } } } } @@ -5182,27 +5379,34 @@ "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { + "type": "array", "items": { - "$ref": "#/components/schemas/ItemsAspect" + "$ref": "#/components/schemas/Operations" } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" } } }, "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing aspect items.", + "summary": "Delete Multiple Operations", + "description": "Delete multiple existing operations.", "tags": [ - "Items", - "ItemsAspect" + "Operations" ], - "operationId": "deleteItemsAspect", + "operationId": "deleteOperations", "responses": { "200": { "description": "Successful request" @@ -5210,50 +5414,14 @@ "401": { "$ref": "#/components/responses/UnauthorizedError" } - }, - "parameters": [] + } } }, - "/items/aspect/{id}": { + "/operations/{id}": { "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single aspect item by unique identifier.", - "tags": [ - "Items", - "ItemsAspect" - ], - "operationId": "readSingleItemsAspect", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Version" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], + "summary": "Retrieve an Operation", + "description": "Retrieve a single operation by unique identifier.", + "operationId": "getOperation", "responses": { "200": { "description": "Successful request", @@ -5263,8 +5431,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsAspect" + "$ref": "#/components/schemas/Operations" } } } @@ -5277,50 +5444,40 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing aspect item.", + }, "tags": [ - "Items", - "ItemsAspect" + "Operations" ], - "operationId": "updateSingleItemsAspect", "parameters": [ { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/UUId" + } + ] + }, + "patch": { + "summary": "Update an Operation", + "description": "Update an existing operation", + "operationId": "updateOperation", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Fields" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsAspect" + "anyOf": [ + { + "$ref": "#/components/schemas/Operations" + } + ] } } } @@ -5334,8 +5491,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsAspect" + "$ref": "#/components/schemas/Operations" } } } @@ -5348,16 +5504,15 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Operations" + ] }, "delete": { - "summary": "Delete an Item", - "description": "Delete an existing aspect item.", - "tags": [ - "Items", - "ItemsAspect" - ], - "operationId": "deleteSingleItemsAspect", + "summary": "Delete an Operation", + "description": "Delete an existing operation", + "operationId": "deleteOperation", "responses": { "200": { "description": "Successful request" @@ -5369,39 +5524,25 @@ "$ref": "#/components/responses/NotFoundError" } }, + "tags": [ + "Operations" + ], "parameters": [ { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/UUId" } ] } }, - "/items/conversation_chunk": { + "/items/directus_sync_id_map": { "post": { "summary": "Create an Item", - "description": "Create a new conversation_chunk item.", + "description": "Create a new directus_sync_id_map item.", "tags": [ "Items", - "ItemsConversationChunk" + "ItemsDirectusSyncIDMap" ], - "operationId": "createItemsConversationChunk", + "operationId": "createItemsDirectusSyncIDMap", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -5415,11 +5556,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } }, { - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } ] } @@ -5436,7 +5577,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } } } @@ -5451,12 +5592,12 @@ }, "get": { "summary": "List Items", - "description": "List the conversation_chunk items.", + "description": "List the directus_sync_id_map items.", "tags": [ "Items", - "ItemsConversationChunk" + "ItemsDirectusSyncIDMap" ], - "operationId": "readItemsConversationChunk", + "operationId": "readItemsDirectusSyncIDMap", "security": [ { "Auth": [] @@ -5497,7 +5638,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } }, "meta": { @@ -5515,12 +5656,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple conversation_chunk items at the same time.", + "description": "Update multiple directus_sync_id_map items at the same time.", "tags": [ "Items", - "ItemsConversationChunk" + "ItemsDirectusSyncIDMap" ], - "operationId": "updateItemsConversationChunk", + "operationId": "updateItemsDirectusSyncIDMap", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -5552,11 +5693,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } }, { - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } ] } @@ -5572,7 +5713,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } } } @@ -5584,12 +5725,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing conversation_chunk items.", + "description": "Delete multiple existing directus_sync_id_map items.", "tags": [ "Items", - "ItemsConversationChunk" + "ItemsDirectusSyncIDMap" ], - "operationId": "deleteItemsConversationChunk", + "operationId": "deleteItemsDirectusSyncIDMap", "responses": { "200": { "description": "Successful request" @@ -5601,15 +5742,15 @@ "parameters": [] } }, - "/items/conversation_chunk/{id}": { + "/items/directus_sync_id_map/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single conversation_chunk item by unique identifier.", + "description": "Retrieve a single directus_sync_id_map item by unique identifier.", "tags": [ "Items", - "ItemsConversationChunk" + "ItemsDirectusSyncIDMap" ], - "operationId": "readSingleItemsConversationChunk", + "operationId": "readSingleItemsDirectusSyncIDMap", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -5651,7 +5792,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } } } @@ -5668,12 +5809,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing conversation_chunk item.", + "description": "Update an existing directus_sync_id_map item.", "tags": [ "Items", - "ItemsConversationChunk" + "ItemsDirectusSyncIDMap" ], - "operationId": "updateSingleItemsConversationChunk", + "operationId": "updateSingleItemsDirectusSyncIDMap", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -5707,7 +5848,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } } } @@ -5722,7 +5863,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" } } } @@ -5739,12 +5880,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing conversation_chunk item.", + "description": "Delete an existing directus_sync_id_map item.", "tags": [ "Items", - "ItemsConversationChunk" + "ItemsDirectusSyncIDMap" ], - "operationId": "deleteSingleItemsConversationChunk", + "operationId": "deleteSingleItemsDirectusSyncIDMap", "responses": { "200": { "description": "Successful request" @@ -5780,254 +5921,265 @@ ] } }, - "/items/account": { - "post": { - "summary": "Create an Item", - "description": "Create a new account item.", - "tags": [ - "Items", - "ItemsAccount" - ], - "operationId": "createItemsAccount", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAccount" - } - }, - { - "$ref": "#/components/schemas/ItemsAccount" - } - ] - } - } - } - }, + "/extensions": { + "get": { + "summary": "List Extensions", + "description": "List the installed extensions and their configuration in the project.", + "operationId": "listExtensions", "responses": { "200": { - "description": "Successful request", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { + "type": "array", "items": { - "$ref": "#/components/schemas/ItemsAccount" + "$ref": "#/components/schemas/Extensions" } } } } } - } + }, + "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" } - } - }, - "get": { - "summary": "List Items", - "description": "List the account items.", + }, "tags": [ - "Items", - "ItemsAccount" - ], - "operationId": "readItemsAccount", - "security": [ - { - "Auth": [] - } - ], + "Extensions" + ] + } + }, + "/extensions/{name}": { + "patch": { + "summary": "Update an Extension", + "description": "Update an existing extension.", + "operationId": "updateExtensions", "parameters": [ { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "meta": { + "type": "object", + "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", + "properties": { + "enabled": { + "description": "Whether or not the extension is enabled.", + "example": true, + "type": "boolean" + } + } + } + } + } + } + } + }, "responses": { "200": { - "description": "Successful request", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsAccount" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "$ref": "#/components/schemas/Extensions" } } } } - } + }, + "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple account items at the same time.", + }, "tags": [ - "Items", - "ItemsAccount" - ], - "operationId": "updateItemsAccount", + "Extensions" + ] + } + }, + "/extensions/{bundle}/{name}": { + "patch": { + "summary": "Update an Extension", + "description": "Update an existing extension.", + "operationId": "updateExtensionBundle", "parameters": [ { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" + "in": "path", + "name": "bundle", + "required": true, + "schema": { + "type": "string" + } }, { - "$ref": "#/components/parameters/Search" + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAccount" + "type": "object", + "properties": { + "meta": { + "type": "object", + "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", + "properties": { + "enabled": { + "description": "Whether or not the extension is enabled.", + "example": true, + "type": "boolean" + } } - }, - { - "$ref": "#/components/schemas/ItemsAccount" } - ] + } } } } }, "responses": { "200": { - "description": "Successful request", "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { - "items": { - "$ref": "#/components/schemas/ItemsAccount" - } + "$ref": "#/components/schemas/Extensions" } } } } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing account items.", - "tags": [ - "Items", - "ItemsAccount" - ], - "operationId": "deleteItemsAccount", - "responses": { - "200": { + }, "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } }, - "parameters": [] + "tags": [ + "Extensions" + ] } }, - "/items/account/{id}": { + "/webhooks": { "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single account item by unique identifier.", + "summary": "List Webhooks", + "description": "Get all webhooks.", + "operationId": "getWebhooks", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Webhooks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, "tags": [ - "Items", - "ItemsAccount" - ], - "operationId": "readSingleItemsAccount", + "Webhooks" + ] + }, + "post": { + "summary": "Create a Webhook", + "description": "Create a new webhook.", + "operationId": "createWebhook", "parameters": [ { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Version" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null + } }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] + "type": "object" + } } } - ], + }, "responses": { "200": { "description": "Successful request", @@ -6037,8 +6189,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsAccount" + "$ref": "#/components/schemas/Roles" } } } @@ -6051,50 +6202,92 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Webhooks" + ] }, "patch": { - "summary": "Update an Item", - "description": "Update an existing account item.", + "summary": "Update Multiple Webhooks", + "description": "Update multiple webhooks at the same time.", "tags": [ - "Items", - "ItemsAccount" + "Webhooks" ], - "operationId": "updateSingleItemsAccount", + "operationId": "updateWebhooks", "parameters": [ { "$ref": "#/components/parameters/Fields" }, + { + "$ref": "#/components/parameters/Limit" + }, { "$ref": "#/components/parameters/Meta" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsAccount" + "properties": { + "data": { + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null + } + }, + "type": "object" + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" } } } @@ -6108,8 +6301,13 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsAccount" + "type": "array", + "items": { + "$ref": "#/components/schemas/Webhooks" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -6118,65 +6316,74 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } } }, "delete": { - "summary": "Delete an Item", - "description": "Delete an existing account item.", + "summary": "Delete Multiple Webhooks", + "description": "Delete multiple existing webhooks.", "tags": [ - "Items", - "ItemsAccount" + "Webhooks" ], - "operationId": "deleteSingleItemsAccount", + "operationId": "deleteWebhooks", "responses": { "200": { "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "parameters": [ - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + } + }, + "/webhooks/{id}": { + "get": { + "summary": "Retrieve a Webhook", + "description": "Retrieve a single webhook by unique identifier.", + "operationId": "getWebhook", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Webhooks" + } + } } - ] + } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - ] - } - }, - "/items/account_directus_users": { - "post": { - "summary": "Create an Item", - "description": "Create a new account_directus_users item.", + }, "tags": [ - "Items", - "ItemsAccountDirectusUsers" + "Webhooks" ], - "operationId": "createItemsAccountDirectusUsers", "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + }, + "patch": { + "summary": "Update a Webhook", + "description": "Update an existing webhook", + "operationId": "updateWebhook", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, { "$ref": "#/components/parameters/Meta" } @@ -6185,17 +6392,42 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" - } + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" }, - { - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null } - ] + }, + "type": "object" } } } @@ -6209,9 +6441,7 @@ "type": "object", "properties": { "data": { - "items": { - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" - } + "$ref": "#/components/schemas/Roles" } } } @@ -6220,17 +6450,48 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Webhooks" + ] }, + "delete": { + "summary": "Delete a Webhook", + "description": "Delete an existing webhook", + "operationId": "deleteWebhook", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/comments": { "get": { - "summary": "List Items", - "description": "List the account_directus_users items.", "tags": [ - "Items", - "ItemsAccountDirectusUsers" + "Comments" ], - "operationId": "readItemsAccountDirectusUsers", + "operationId": "getComments", + "summary": "List Comments", + "description": "List the comments.", "security": [ { "Auth": [] @@ -6244,10 +6505,10 @@ "$ref": "#/components/parameters/Limit" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Offset" }, { - "$ref": "#/components/parameters/Offset" + "$ref": "#/components/parameters/Page" }, { "$ref": "#/components/parameters/Sort" @@ -6257,6 +6518,9 @@ }, { "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" } ], "responses": { @@ -6270,8 +6534,7 @@ "data": { "type": "array", "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" + "$ref": "#/components/schemas/Comments" } }, "meta": { @@ -6287,52 +6550,46 @@ } } }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple account_directus_users items at the same time.", + "post": { "tags": [ - "Items", - "ItemsAccountDirectusUsers" + "Comments" ], - "operationId": "updateItemsAccountDirectusUsers", + "operationId": "createComment", + "summary": "Create a Comment", + "description": "Create a new comment.", "parameters": [ { "$ref": "#/components/parameters/Fields" }, - { - "$ref": "#/components/parameters/Limit" - }, { "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" } ], "requestBody": { "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" - } + "type": "object", + "required": [ + "collection", + "item", + "comment" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this collection comment is for.", + "example": "projects" }, - { - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "A new comment" } - ] + } } } } @@ -6343,78 +6600,89 @@ "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { - "items": { - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" - } + "$ref": "#/components/schemas/Comments" } } } } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" } } }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing account_directus_users items.", + "patch": { + "summary": "Update Multiple Comments", + "description": "Update multiple comments at the same time.", "tags": [ - "Items", - "ItemsAccountDirectusUsers" + "Comments" ], - "operationId": "deleteItemsAccountDirectusUsers", - "responses": { - "200": { - "description": "Successful request" + "operationId": "updateComments", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/account_directus_users/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single account_directus_users item by unique identifier.", - "tags": [ - "Items", - "ItemsAccountDirectusUsers" - ], - "operationId": "readSingleItemsAccountDirectusUsers", - "parameters": [ { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/Limit" }, { "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Version" + "$ref": "#/components/parameters/Offset" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this collection comment is for.", + "example": "projects" + }, + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "A new comment" + } + } + } } - ] + } } } - ], + }, "responses": { "200": { "description": "Successful request", @@ -6424,8 +6692,13 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" + "type": "array", + "items": { + "$ref": "#/components/schemas/Comments" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -6434,58 +6707,47 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } } }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing account_directus_users item.", + "delete": { + "summary": "Delete Multiple Comments", + "description": "Delete multiple existing comments.", "tags": [ - "Items", - "ItemsAccountDirectusUsers" + "Comments" + ], + "operationId": "deleteComments", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/comments/{id}": { + "get": { + "tags": [ + "Comments" + ], + "operationId": "getComment", + "summary": "Retrieve a Comment", + "description": "Retrieve a single comment by unique identifier.", + "security": [ + { + "Auth": [] + } ], - "operationId": "updateSingleItemsAccountDirectusUsers", "parameters": [ { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" - } - } - } - }, "responses": { "200": { "description": "Successful request", @@ -6495,8 +6757,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" + "$ref": "#/components/schemas/Comments" } } } @@ -6505,65 +6766,20 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } } }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing account_directus_users item.", + "patch": { "tags": [ - "Items", - "ItemsAccountDirectusUsers" + "Comments" ], - "operationId": "deleteSingleItemsAccountDirectusUsers", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, + "operationId": "updateComment", + "summary": "Update a Comment", + "description": "Update an existing comment.", "parameters": [ { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ] - } - }, - "/items/view": { - "post": { - "summary": "Create an Item", - "description": "Create a new view item.", - "tags": [ - "Items", - "ItemsView" - ], - "operationId": "createItemsView", - "parameters": [ + "$ref": "#/components/parameters/Fields" + }, { "$ref": "#/components/parameters/Meta" } @@ -6572,17 +6788,25 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsView" - } + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this comment is for.", + "example": "projects" }, - { - "$ref": "#/components/schemas/ItemsView" + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "An updated comment" } - ] + } } } } @@ -6596,9 +6820,7 @@ "type": "object", "properties": { "data": { - "items": { - "$ref": "#/components/schemas/ItemsView" - } + "$ref": "#/components/schemas/Comments" } } } @@ -6607,22 +6829,39 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } } }, - "get": { - "summary": "List Items", - "description": "List the view items.", + "delete": { "tags": [ - "Items", - "ItemsView" + "Comments" ], - "operationId": "readItemsView", + "operationId": "deleteComment", + "summary": "Delete a Comment", + "description": "Delete an existing comment.", "security": [ { "Auth": [] } ], + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/versions": { + "get": { + "summary": "List Content Versions", + "description": "Get all Content Versions.", + "operationId": "getContentVersions", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -6631,10 +6870,10 @@ "$ref": "#/components/parameters/Limit" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Offset" }, { - "$ref": "#/components/parameters/Offset" + "$ref": "#/components/parameters/Meta" }, { "$ref": "#/components/parameters/Sort" @@ -6657,8 +6896,7 @@ "data": { "type": "array", "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsView" + "$ref": "#/components/schemas/Versions" } }, "meta": { @@ -6671,17 +6909,71 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple view items at the same time.", + }, "tags": [ - "Items", - "ItemsView" + "Versions" + ] + }, + "post": { + "summary": "Create Multiple Content Versions", + "description": "Create multiple new Content Versions.", + "operationId": "createContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } ], - "operationId": "updateItemsView", + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Versions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "patch": { + "summary": "Update Multiple Content Versions", + "description": "Update multiple Content Versions at the same time.", + "operationId": "updateContentVersions", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -6709,17 +7001,22 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { + "type": "object", + "properties": { + "data": { + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] + }, + "keys": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsView" + "type": "string" } - }, - { - "$ref": "#/components/schemas/ItemsView" } - ] + } } } } @@ -6730,27 +7027,34 @@ "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { + "type": "array", "items": { - "$ref": "#/components/schemas/ItemsView" + "$ref": "#/components/schemas/Versions" } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" } - } + }, + "tags": [ + "Versions" + ] }, "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing view items.", - "tags": [ - "Items", - "ItemsView" - ], - "operationId": "deleteItemsView", + "summary": "Delete Multiple Content Versions", + "description": "Delete multiple existing Content Versions.", + "operationId": "deleteContentVersions", "responses": { "200": { "description": "Successful request" @@ -6759,47 +7063,25 @@ "$ref": "#/components/responses/UnauthorizedError" } }, - "parameters": [] + "tags": [ + "Versions" + ] } }, - "/items/view/{id}": { + "/versions/{id}": { "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single view item by unique identifier.", - "tags": [ - "Items", - "ItemsView" - ], - "operationId": "readSingleItemsView", + "summary": "Retrieve a Content Version", + "description": "Retrieve a single Content Version by unique identifier.", + "operationId": "getContentVersion", "parameters": [ { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/UUId" }, { - "$ref": "#/components/parameters/Version" + "$ref": "#/components/parameters/Fields" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/Meta" } ], "responses": { @@ -6811,8 +7093,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsView" + "$ref": "#/components/schemas/Versions" } } } @@ -6825,50 +7106,35 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Versions" + ] }, "patch": { - "summary": "Update an Item", - "description": "Update an existing view item.", - "tags": [ - "Items", - "ItemsView" - ], - "operationId": "updateSingleItemsView", + "summary": "Update a Content Version", + "description": "Update an existing Content Version.", + "operationId": "updateContentVersion", "parameters": [ { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/UUId" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Fields" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsView" + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] } } } @@ -6882,8 +7148,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsView" + "$ref": "#/components/schemas/Versions" } } } @@ -6896,16 +7161,15 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Versions" + ] }, "delete": { - "summary": "Delete an Item", - "description": "Delete an existing view item.", - "tags": [ - "Items", - "ItemsView" - ], - "operationId": "deleteSingleItemsView", + "summary": "Delete a Content Version", + "description": "Delete an existing Content Version.", + "operationId": "deleteContentVersion", "responses": { "200": { "description": "Successful request" @@ -6917,39 +7181,159 @@ "$ref": "#/components/responses/NotFoundError" } }, + "tags": [ + "Versions" + ], "parameters": [ { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/versions/{id}/save": { + "post": { + "summary": "Save to a Content Version", + "description": "Save item changes to an existing Content Version.", + "operationId": "saveContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} } - ] + } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } + }, + "tags": [ + "Versions" ] } }, - "/items/conversation": { + "/versions/{id}/compare": { + "get": { + "summary": "Compare a Content Version", + "description": "Compare an existing Content Version with the main version of the item.", + "operationId": "compareContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "object" + } + }, + "type": "object" + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/versions/{id}/promote": { + "post": { + "summary": "Promote a Content Version", + "description": "Pass the current hash of the main version of the item (obtained from the `compare` endpoint) along with an optional array of field names of which the values are to be promoted (by default, all fields are selected).", + "operationId": "promoteContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "mainHash": { + "description": "Hash of the main version of the item to be promoted.", + "type": "string" + }, + "fields": { + "description": "Optional array of field names of which the values are to be promoted.", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/items/aspect": { "post": { "summary": "Create an Item", - "description": "Create a new conversation item.", + "description": "Create a new aspect item.", "tags": [ "Items", - "ItemsConversation" + "ItemsAspect" ], - "operationId": "createItemsConversation", + "operationId": "createItemsAspect", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -6963,11 +7347,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } }, { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } ] } @@ -6984,7 +7368,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } } } @@ -6999,12 +7383,12 @@ }, "get": { "summary": "List Items", - "description": "List the conversation items.", + "description": "List the aspect items.", "tags": [ "Items", - "ItemsConversation" + "ItemsAspect" ], - "operationId": "readItemsConversation", + "operationId": "readItemsAspect", "security": [ { "Auth": [] @@ -7045,7 +7429,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } }, "meta": { @@ -7063,12 +7447,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple conversation items at the same time.", + "description": "Update multiple aspect items at the same time.", "tags": [ "Items", - "ItemsConversation" + "ItemsAspect" ], - "operationId": "updateItemsConversation", + "operationId": "updateItemsAspect", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -7100,11 +7484,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } }, { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } ] } @@ -7120,7 +7504,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } } } @@ -7132,12 +7516,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing conversation items.", + "description": "Delete multiple existing aspect items.", "tags": [ "Items", - "ItemsConversation" + "ItemsAspect" ], - "operationId": "deleteItemsConversation", + "operationId": "deleteItemsAspect", "responses": { "200": { "description": "Successful request" @@ -7149,15 +7533,15 @@ "parameters": [] } }, - "/items/conversation/{id}": { + "/items/aspect/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single conversation item by unique identifier.", + "description": "Retrieve a single aspect item by unique identifier.", "tags": [ "Items", - "ItemsConversation" + "ItemsAspect" ], - "operationId": "readSingleItemsConversation", + "operationId": "readSingleItemsAspect", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -7199,7 +7583,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } } } @@ -7216,12 +7600,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing conversation item.", + "description": "Update an existing aspect item.", "tags": [ "Items", - "ItemsConversation" + "ItemsAspect" ], - "operationId": "updateSingleItemsConversation", + "operationId": "updateSingleItemsAspect", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -7255,7 +7639,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } } } @@ -7270,7 +7654,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } } } @@ -7287,12 +7671,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing conversation item.", + "description": "Delete an existing aspect item.", "tags": [ "Items", - "ItemsConversation" + "ItemsAspect" ], - "operationId": "deleteSingleItemsConversation", + "operationId": "deleteSingleItemsAspect", "responses": { "200": { "description": "Successful request" @@ -7328,39 +7712,34 @@ ] } }, - "/items/conversation_project_tag": { - "post": { - "summary": "Create an Item", - "description": "Create a new conversation_project_tag item.", - "tags": [ - "Items", - "ItemsConversationProjectTag" - ], - "operationId": "createItemsConversationProjectTag", + "/users": { + "get": { + "summary": "List Users", + "description": "List the users.", + "operationId": "getUsers", "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, { "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsConversationProjectTag" - } - }, - { - "$ref": "#/components/schemas/ItemsConversationProjectTag" - } - ] - } - } - } - }, "responses": { "200": { "description": "Successful request", @@ -7370,9 +7749,13 @@ "type": "object", "properties": { "data": { + "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationProjectTag" + "$ref": "#/components/schemas/Users" } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -7381,45 +7764,33 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "get": { - "summary": "List Items", - "description": "List the conversation_project_tag items.", + }, "tags": [ - "Items", - "ItemsConversationProjectTag" - ], - "operationId": "readItemsConversationProjectTag", - "security": [ - { - "Auth": [] - } - ], + "Users" + ] + }, + "post": { + "summary": "Create a User", + "description": "Create a new user.", + "operationId": "createUser", "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, { "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Users" + } + } + } + }, "responses": { "200": { "description": "Successful request", @@ -7429,14 +7800,7 @@ "type": "object", "properties": { "data": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsConversationProjectTag" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "$ref": "#/components/schemas/Users" } } } @@ -7445,17 +7809,22 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Users" + ] }, "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple conversation_project_tag items at the same time.", + "summary": "Update Multiple Users", + "description": "Update multiple users at the same time.", "tags": [ - "Items", - "ItemsConversationProjectTag" + "Users" ], - "operationId": "updateItemsConversationProjectTag", + "operationId": "updateUsers", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -7483,17 +7852,18 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + }, + "keys": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationProjectTag" + "type": "string" } - }, - { - "$ref": "#/components/schemas/ItemsConversationProjectTag" } - ] + } } } } @@ -7504,27 +7874,34 @@ "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { + "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationProjectTag" + "$ref": "#/components/schemas/Users" } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } } } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" } } }, "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing conversation_project_tag items.", + "summary": "Delete Multiple Users", + "description": "Delete multiple existing users.", "tags": [ - "Items", - "ItemsConversationProjectTag" + "Users" ], - "operationId": "deleteItemsConversationProjectTag", + "operationId": "deleteUsers", "responses": { "200": { "description": "Successful request" @@ -7532,48 +7909,23 @@ "401": { "$ref": "#/components/responses/UnauthorizedError" } - }, - "parameters": [] + } } }, - "/items/conversation_project_tag/{id}": { + "/users/{id}": { "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single conversation_project_tag item by unique identifier.", - "tags": [ - "Items", - "ItemsConversationProjectTag" - ], - "operationId": "readSingleItemsConversationProjectTag", + "summary": "Retrieve a User", + "description": "Retrieve a single user by unique identifier.", + "operationId": "getUser", "parameters": [ { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/UUId" }, { - "$ref": "#/components/parameters/Version" + "$ref": "#/components/parameters/Fields" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/Meta" } ], "responses": { @@ -7585,8 +7937,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsConversationProjectTag" + "$ref": "#/components/schemas/Users" } } } @@ -7599,70 +7950,50 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Users" + ] }, "patch": { - "summary": "Update an Item", - "description": "Update an existing conversation_project_tag item.", - "tags": [ - "Items", - "ItemsConversationProjectTag" - ], - "operationId": "updateSingleItemsConversationProjectTag", + "summary": "Update a User", + "description": "Update an existing user", + "operationId": "updateUser", "parameters": [ { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/UUId" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Fields" }, { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsConversationProjectTag" + "$ref": "#/components/schemas/Users" } } } }, "responses": { "200": { - "description": "Successful request", "content": { "application/json": { "schema": { - "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsConversationProjectTag" + "type": "object" } - } + }, + "type": "object" } } - } + }, + "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" @@ -7670,16 +8001,15 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } + }, + "tags": [ + "Users" + ] }, "delete": { - "summary": "Delete an Item", - "description": "Delete an existing conversation_project_tag item.", - "tags": [ - "Items", - "ItemsConversationProjectTag" - ], - "operationId": "deleteSingleItemsConversationProjectTag", + "summary": "Delete a User", + "description": "Delete an existing user", + "operationId": "deleteUser", "responses": { "200": { "description": "Successful request" @@ -7691,59 +8021,32 @@ "$ref": "#/components/responses/NotFoundError" } }, + "tags": [ + "Users" + ], "parameters": [ { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "$ref": "#/components/parameters/UUId" } ] } }, - "/items/project_tag": { + "/users/invite": { "post": { - "summary": "Create an Item", - "description": "Create a new project_tag item.", - "tags": [ - "Items", - "ItemsProjectTag" - ], - "operationId": "createItemsProjectTag", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], + "summary": "Invite User(s)", + "description": "Invites one or more users to this project. It creates a user with an invited status, and then sends an email to the user with instructions on how to activate their account.", + "operationId": "invite", "requestBody": { "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsProjectTag" - } - }, - { - "$ref": "#/components/schemas/ItemsProjectTag" + "type": "object", + "properties": { + "email": { + "description": "Email address or array of email addresses of the to-be-invited user(s).", + "type": "string" } - ] + } } } } @@ -7757,9 +8060,7 @@ "type": "object", "properties": { "data": { - "items": { - "$ref": "#/components/schemas/ItemsProjectTag" - } + "$ref": "#/components/schemas/Users" } } } @@ -7768,45 +8069,44 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "get": { - "summary": "List Items", - "description": "List the project_tag items.", + }, "tags": [ - "Items", - "ItemsProjectTag" - ], - "operationId": "readItemsProjectTag", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" + "Users" + ] + } + }, + "/users/invite/accept": { + "post": { + "summary": "Accept User Invite", + "description": "Accepts and enables an invited user using a JWT invitation token.", + "operationId": "acceptInvite", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "type": "string", + "example": "eyJh...KmUk", + "description": "Accept invite token." + }, + "password": { + "type": "string", + "description": "Password of the user.", + "format": "password", + "example": "d1r3ctu5" + } + } + } + } } - ], + }, "responses": { "200": { "description": "Successful request", @@ -7816,14 +8116,7 @@ "type": "object", "properties": { "data": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsProjectTag" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "$ref": "#/components/schemas/Users" } } } @@ -7832,137 +8125,60 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple project_tag items at the same time.", + }, "tags": [ - "Items", - "ItemsProjectTag" - ], - "operationId": "updateItemsProjectTag", + "Users" + ] + } + }, + "/users/me": { + "get": { + "summary": "Retrieve Current User", + "description": "Retrieve the currently authenticated user.", + "operationId": "getMe", "parameters": [ { "$ref": "#/components/parameters/Fields" }, - { - "$ref": "#/components/parameters/Limit" - }, { "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsProjectTag" - } - }, - { - "$ref": "#/components/schemas/ItemsProjectTag" - } - ] - } - } - } - }, "responses": { "200": { "description": "Successful request", "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { - "items": { - "$ref": "#/components/schemas/ItemsProjectTag" - } + "$ref": "#/components/schemas/Users" } } } } } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_tag items.", - "tags": [ - "Items", - "ItemsProjectTag" - ], - "operationId": "deleteItemsProjectTag", - "responses": { - "200": { - "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } }, - "parameters": [] - } - }, - "/items/project_tag/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single project_tag item by unique identifier.", "tags": [ - "Items", - "ItemsProjectTag" - ], - "operationId": "readSingleItemsProjectTag", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Version" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], + "Users" + ] + }, + "patch": { + "summary": "Update Current User", + "description": "Update the currently authenticated user.", + "operationId": "updateMe", "responses": { "200": { "description": "Successful request", @@ -7972,8 +8188,7 @@ "type": "object", "properties": { "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsProjectTag" + "$ref": "#/components/schemas/Users" } } } @@ -7986,70 +8201,35 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing project_tag item.", + }, "tags": [ - "Items", - "ItemsProjectTag" - ], - "operationId": "updateSingleItemsProjectTag", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], + "Users" + ] + } + }, + "/users/me/track/page": { + "patch": { + "summary": "Update Last Page", + "description": "Updates the last used page field of the currently authenticated user. This is used internally to be able to open the Directus admin app from the last page you used.", + "operationId": "updateLastUsedPageMe", "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsProjectTag" + "properties": { + "last_page": { + "description": "Path of the page you used last.", + "type": "string" + } + }, + "type": "object" } } } }, "responses": { "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsProjectTag" - } - } - } - } - } + "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" @@ -8057,16 +8237,17 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing project_tag item.", + }, "tags": [ - "Items", - "ItemsProjectTag" - ], - "operationId": "deleteSingleItemsProjectTag", + "Users" + ] + } + }, + "/users/me/tfa/enable": { + "post": { + "summary": "Enable 2FA", + "description": "Enables two-factor authentication for the currently authenticated user.", + "operationId": "meTfaEnable", "responses": { "200": { "description": "Successful request" @@ -8078,39 +8259,41 @@ "$ref": "#/components/responses/NotFoundError" } }, - "parameters": [ - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } + "tags": [ + "Users" + ] + } + }, + "/users/me/tfa/disable": { + "post": { + "summary": "Disable 2FA", + "description": "Disables two-factor authentication for the currently authenticated user.", + "operationId": "meTfaDisable", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } + }, + "tags": [ + "Users" ] } }, - "/items/conversation_reply": { + "/items/account": { "post": { "summary": "Create an Item", - "description": "Create a new conversation_reply item.", + "description": "Create a new account item.", "tags": [ "Items", - "ItemsConversationReply" + "ItemsAccount" ], - "operationId": "createItemsConversationReply", + "operationId": "createItemsAccount", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -8124,11 +8307,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } }, { - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } ] } @@ -8145,7 +8328,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } } } @@ -8160,12 +8343,12 @@ }, "get": { "summary": "List Items", - "description": "List the conversation_reply items.", + "description": "List the account items.", "tags": [ "Items", - "ItemsConversationReply" + "ItemsAccount" ], - "operationId": "readItemsConversationReply", + "operationId": "readItemsAccount", "security": [ { "Auth": [] @@ -8206,7 +8389,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } }, "meta": { @@ -8224,12 +8407,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple conversation_reply items at the same time.", + "description": "Update multiple account items at the same time.", "tags": [ "Items", - "ItemsConversationReply" + "ItemsAccount" ], - "operationId": "updateItemsConversationReply", + "operationId": "updateItemsAccount", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -8261,11 +8444,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } }, { - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } ] } @@ -8281,7 +8464,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } } } @@ -8293,12 +8476,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing conversation_reply items.", + "description": "Delete multiple existing account items.", "tags": [ "Items", - "ItemsConversationReply" + "ItemsAccount" ], - "operationId": "deleteItemsConversationReply", + "operationId": "deleteItemsAccount", "responses": { "200": { "description": "Successful request" @@ -8310,15 +8493,15 @@ "parameters": [] } }, - "/items/conversation_reply/{id}": { + "/items/account/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single conversation_reply item by unique identifier.", + "description": "Retrieve a single account item by unique identifier.", "tags": [ "Items", - "ItemsConversationReply" + "ItemsAccount" ], - "operationId": "readSingleItemsConversationReply", + "operationId": "readSingleItemsAccount", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -8360,7 +8543,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } } } @@ -8377,12 +8560,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing conversation_reply item.", + "description": "Update an existing account item.", "tags": [ "Items", - "ItemsConversationReply" + "ItemsAccount" ], - "operationId": "updateSingleItemsConversationReply", + "operationId": "updateSingleItemsAccount", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -8416,7 +8599,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } } } @@ -8431,7 +8614,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsAccount" } } } @@ -8448,12 +8631,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing conversation_reply item.", + "description": "Delete an existing account item.", "tags": [ "Items", - "ItemsConversationReply" + "ItemsAccount" ], - "operationId": "deleteSingleItemsConversationReply", + "operationId": "deleteSingleItemsAccount", "responses": { "200": { "description": "Successful request" @@ -8489,15 +8672,15 @@ ] } }, - "/items/conversation_segment": { + "/items/account_directus_users": { "post": { "summary": "Create an Item", - "description": "Create a new conversation_segment item.", + "description": "Create a new account_directus_users item.", "tags": [ "Items", - "ItemsConversationSegment" + "ItemsAccountDirectusUsers" ], - "operationId": "createItemsConversationSegment", + "operationId": "createItemsAccountDirectusUsers", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -8511,11 +8694,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } }, { - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } ] } @@ -8532,7 +8715,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } } } @@ -8547,12 +8730,12 @@ }, "get": { "summary": "List Items", - "description": "List the conversation_segment items.", + "description": "List the account_directus_users items.", "tags": [ "Items", - "ItemsConversationSegment" + "ItemsAccountDirectusUsers" ], - "operationId": "readItemsConversationSegment", + "operationId": "readItemsAccountDirectusUsers", "security": [ { "Auth": [] @@ -8593,7 +8776,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } }, "meta": { @@ -8611,12 +8794,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple conversation_segment items at the same time.", + "description": "Update multiple account_directus_users items at the same time.", "tags": [ "Items", - "ItemsConversationSegment" + "ItemsAccountDirectusUsers" ], - "operationId": "updateItemsConversationSegment", + "operationId": "updateItemsAccountDirectusUsers", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -8648,11 +8831,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } }, { - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } ] } @@ -8668,7 +8851,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } } } @@ -8680,12 +8863,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing conversation_segment items.", + "description": "Delete multiple existing account_directus_users items.", "tags": [ "Items", - "ItemsConversationSegment" + "ItemsAccountDirectusUsers" ], - "operationId": "deleteItemsConversationSegment", + "operationId": "deleteItemsAccountDirectusUsers", "responses": { "200": { "description": "Successful request" @@ -8697,15 +8880,15 @@ "parameters": [] } }, - "/items/conversation_segment/{id}": { + "/items/account_directus_users/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single conversation_segment item by unique identifier.", + "description": "Retrieve a single account_directus_users item by unique identifier.", "tags": [ "Items", - "ItemsConversationSegment" + "ItemsAccountDirectusUsers" ], - "operationId": "readSingleItemsConversationSegment", + "operationId": "readSingleItemsAccountDirectusUsers", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -8747,7 +8930,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } } } @@ -8764,12 +8947,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing conversation_segment item.", + "description": "Update an existing account_directus_users item.", "tags": [ "Items", - "ItemsConversationSegment" + "ItemsAccountDirectusUsers" ], - "operationId": "updateSingleItemsConversationSegment", + "operationId": "updateSingleItemsAccountDirectusUsers", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -8803,7 +8986,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } } } @@ -8818,7 +9001,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" } } } @@ -8835,12 +9018,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing conversation_segment item.", + "description": "Delete an existing account_directus_users item.", "tags": [ "Items", - "ItemsConversationSegment" + "ItemsAccountDirectusUsers" ], - "operationId": "deleteSingleItemsConversationSegment", + "operationId": "deleteSingleItemsAccountDirectusUsers", "responses": { "200": { "description": "Successful request" @@ -8876,15 +9059,15 @@ ] } }, - "/items/conversation_segment_conversation_chunk": { + "/items/view": { "post": { "summary": "Create an Item", - "description": "Create a new conversation_segment_conversation_chunk item.", + "description": "Create a new view item.", "tags": [ "Items", - "ItemsConversationSegmentConversationChunk" + "ItemsView" ], - "operationId": "createItemsConversationSegmentConversationChunk", + "operationId": "createItemsView", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -8898,11 +9081,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } }, { - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } ] } @@ -8919,7 +9102,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } } } @@ -8934,12 +9117,12 @@ }, "get": { "summary": "List Items", - "description": "List the conversation_segment_conversation_chunk items.", + "description": "List the view items.", "tags": [ "Items", - "ItemsConversationSegmentConversationChunk" + "ItemsView" ], - "operationId": "readItemsConversationSegmentConversationChunk", + "operationId": "readItemsView", "security": [ { "Auth": [] @@ -8980,7 +9163,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } }, "meta": { @@ -8998,12 +9181,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple conversation_segment_conversation_chunk items at the same time.", + "description": "Update multiple view items at the same time.", "tags": [ "Items", - "ItemsConversationSegmentConversationChunk" + "ItemsView" ], - "operationId": "updateItemsConversationSegmentConversationChunk", + "operationId": "updateItemsView", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9035,11 +9218,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } }, { - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } ] } @@ -9055,7 +9238,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } } } @@ -9067,12 +9250,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing conversation_segment_conversation_chunk items.", + "description": "Delete multiple existing view items.", "tags": [ "Items", - "ItemsConversationSegmentConversationChunk" + "ItemsView" ], - "operationId": "deleteItemsConversationSegmentConversationChunk", + "operationId": "deleteItemsView", "responses": { "200": { "description": "Successful request" @@ -9084,15 +9267,15 @@ "parameters": [] } }, - "/items/conversation_segment_conversation_chunk/{id}": { + "/items/view/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single conversation_segment_conversation_chunk item by unique identifier.", + "description": "Retrieve a single view item by unique identifier.", "tags": [ "Items", - "ItemsConversationSegmentConversationChunk" + "ItemsView" ], - "operationId": "readSingleItemsConversationSegmentConversationChunk", + "operationId": "readSingleItemsView", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9134,7 +9317,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } } } @@ -9151,12 +9334,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing conversation_segment_conversation_chunk item.", + "description": "Update an existing view item.", "tags": [ "Items", - "ItemsConversationSegmentConversationChunk" + "ItemsView" ], - "operationId": "updateSingleItemsConversationSegmentConversationChunk", + "operationId": "updateSingleItemsView", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9190,7 +9373,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } } } @@ -9205,7 +9388,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsView" } } } @@ -9222,12 +9405,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing conversation_segment_conversation_chunk item.", + "description": "Delete an existing view item.", "tags": [ "Items", - "ItemsConversationSegmentConversationChunk" + "ItemsView" ], - "operationId": "deleteSingleItemsConversationSegmentConversationChunk", + "operationId": "deleteSingleItemsView", "responses": { "200": { "description": "Successful request" @@ -9263,15 +9446,15 @@ ] } }, - "/items/document": { + "/items/conversation_project_tag": { "post": { "summary": "Create an Item", - "description": "Create a new document item.", + "description": "Create a new conversation_project_tag item.", "tags": [ "Items", - "ItemsDocument" + "ItemsConversationProjectTag" ], - "operationId": "createItemsDocument", + "operationId": "createItemsConversationProjectTag", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -9285,11 +9468,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } }, { - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } ] } @@ -9306,7 +9489,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } } } @@ -9321,12 +9504,12 @@ }, "get": { "summary": "List Items", - "description": "List the document items.", + "description": "List the conversation_project_tag items.", "tags": [ "Items", - "ItemsDocument" + "ItemsConversationProjectTag" ], - "operationId": "readItemsDocument", + "operationId": "readItemsConversationProjectTag", "security": [ { "Auth": [] @@ -9367,7 +9550,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } }, "meta": { @@ -9385,12 +9568,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple document items at the same time.", + "description": "Update multiple conversation_project_tag items at the same time.", "tags": [ "Items", - "ItemsDocument" + "ItemsConversationProjectTag" ], - "operationId": "updateItemsDocument", + "operationId": "updateItemsConversationProjectTag", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9422,11 +9605,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } }, { - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } ] } @@ -9442,7 +9625,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } } } @@ -9454,12 +9637,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing document items.", + "description": "Delete multiple existing conversation_project_tag items.", "tags": [ "Items", - "ItemsDocument" + "ItemsConversationProjectTag" ], - "operationId": "deleteItemsDocument", + "operationId": "deleteItemsConversationProjectTag", "responses": { "200": { "description": "Successful request" @@ -9471,15 +9654,15 @@ "parameters": [] } }, - "/items/document/{id}": { + "/items/conversation_project_tag/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single document item by unique identifier.", + "description": "Retrieve a single conversation_project_tag item by unique identifier.", "tags": [ "Items", - "ItemsDocument" + "ItemsConversationProjectTag" ], - "operationId": "readSingleItemsDocument", + "operationId": "readSingleItemsConversationProjectTag", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9521,7 +9704,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } } } @@ -9538,12 +9721,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing document item.", + "description": "Update an existing conversation_project_tag item.", "tags": [ "Items", - "ItemsDocument" + "ItemsConversationProjectTag" ], - "operationId": "updateSingleItemsDocument", + "operationId": "updateSingleItemsConversationProjectTag", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9577,7 +9760,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } } } @@ -9592,7 +9775,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsDocument" + "$ref": "#/components/schemas/ItemsConversationProjectTag" } } } @@ -9609,12 +9792,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing document item.", + "description": "Delete an existing conversation_project_tag item.", "tags": [ "Items", - "ItemsDocument" + "ItemsConversationProjectTag" ], - "operationId": "deleteSingleItemsDocument", + "operationId": "deleteSingleItemsConversationProjectTag", "responses": { "200": { "description": "Successful request" @@ -9650,15 +9833,15 @@ ] } }, - "/items/project_analysis_run": { + "/items/project_tag": { "post": { "summary": "Create an Item", - "description": "Create a new project_analysis_run item.", + "description": "Create a new project_tag item.", "tags": [ "Items", - "ItemsProjectAnalysisRun" + "ItemsProjectTag" ], - "operationId": "createItemsProjectAnalysisRun", + "operationId": "createItemsProjectTag", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -9672,11 +9855,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } }, { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } ] } @@ -9693,7 +9876,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } } } @@ -9708,12 +9891,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_analysis_run items.", + "description": "List the project_tag items.", "tags": [ "Items", - "ItemsProjectAnalysisRun" + "ItemsProjectTag" ], - "operationId": "readItemsProjectAnalysisRun", + "operationId": "readItemsProjectTag", "security": [ { "Auth": [] @@ -9754,7 +9937,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } }, "meta": { @@ -9772,12 +9955,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_analysis_run items at the same time.", + "description": "Update multiple project_tag items at the same time.", "tags": [ "Items", - "ItemsProjectAnalysisRun" + "ItemsProjectTag" ], - "operationId": "updateItemsProjectAnalysisRun", + "operationId": "updateItemsProjectTag", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9809,11 +9992,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } }, { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } ] } @@ -9829,7 +10012,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } } } @@ -9841,12 +10024,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_analysis_run items.", + "description": "Delete multiple existing project_tag items.", "tags": [ "Items", - "ItemsProjectAnalysisRun" + "ItemsProjectTag" ], - "operationId": "deleteItemsProjectAnalysisRun", + "operationId": "deleteItemsProjectTag", "responses": { "200": { "description": "Successful request" @@ -9858,15 +10041,15 @@ "parameters": [] } }, - "/items/project_analysis_run/{id}": { + "/items/project_tag/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_analysis_run item by unique identifier.", + "description": "Retrieve a single project_tag item by unique identifier.", "tags": [ "Items", - "ItemsProjectAnalysisRun" + "ItemsProjectTag" ], - "operationId": "readSingleItemsProjectAnalysisRun", + "operationId": "readSingleItemsProjectTag", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9908,7 +10091,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } } } @@ -9925,12 +10108,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_analysis_run item.", + "description": "Update an existing project_tag item.", "tags": [ "Items", - "ItemsProjectAnalysisRun" + "ItemsProjectTag" ], - "operationId": "updateSingleItemsProjectAnalysisRun", + "operationId": "updateSingleItemsProjectTag", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -9964,7 +10147,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } } } @@ -9979,7 +10162,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProjectTag" } } } @@ -9996,12 +10179,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_analysis_run item.", + "description": "Delete an existing project_tag item.", "tags": [ "Items", - "ItemsProjectAnalysisRun" + "ItemsProjectTag" ], - "operationId": "deleteSingleItemsProjectAnalysisRun", + "operationId": "deleteSingleItemsProjectTag", "responses": { "200": { "description": "Successful request" @@ -10037,15 +10220,15 @@ ] } }, - "/items/insight": { + "/items/conversation_reply": { "post": { "summary": "Create an Item", - "description": "Create a new insight item.", + "description": "Create a new conversation_reply item.", "tags": [ "Items", - "ItemsInsight" + "ItemsConversationReply" ], - "operationId": "createItemsInsight", + "operationId": "createItemsConversationReply", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -10059,11 +10242,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } }, { - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } ] } @@ -10080,7 +10263,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } } } @@ -10095,12 +10278,12 @@ }, "get": { "summary": "List Items", - "description": "List the insight items.", + "description": "List the conversation_reply items.", "tags": [ "Items", - "ItemsInsight" + "ItemsConversationReply" ], - "operationId": "readItemsInsight", + "operationId": "readItemsConversationReply", "security": [ { "Auth": [] @@ -10141,7 +10324,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } }, "meta": { @@ -10159,12 +10342,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple insight items at the same time.", + "description": "Update multiple conversation_reply items at the same time.", "tags": [ "Items", - "ItemsInsight" + "ItemsConversationReply" ], - "operationId": "updateItemsInsight", + "operationId": "updateItemsConversationReply", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -10196,11 +10379,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } }, { - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } ] } @@ -10216,7 +10399,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } } } @@ -10228,12 +10411,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing insight items.", + "description": "Delete multiple existing conversation_reply items.", "tags": [ "Items", - "ItemsInsight" + "ItemsConversationReply" ], - "operationId": "deleteItemsInsight", + "operationId": "deleteItemsConversationReply", "responses": { "200": { "description": "Successful request" @@ -10245,15 +10428,15 @@ "parameters": [] } }, - "/items/insight/{id}": { + "/items/conversation_reply/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single insight item by unique identifier.", + "description": "Retrieve a single conversation_reply item by unique identifier.", "tags": [ "Items", - "ItemsInsight" + "ItemsConversationReply" ], - "operationId": "readSingleItemsInsight", + "operationId": "readSingleItemsConversationReply", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -10295,7 +10478,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } } } @@ -10312,12 +10495,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing insight item.", + "description": "Update an existing conversation_reply item.", "tags": [ "Items", - "ItemsInsight" + "ItemsConversationReply" ], - "operationId": "updateSingleItemsInsight", + "operationId": "updateSingleItemsConversationReply", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -10351,7 +10534,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } } } @@ -10366,7 +10549,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/ItemsConversationReply" } } } @@ -10383,12 +10566,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing insight item.", + "description": "Delete an existing conversation_reply item.", "tags": [ "Items", - "ItemsInsight" + "ItemsConversationReply" ], - "operationId": "deleteSingleItemsInsight", + "operationId": "deleteSingleItemsConversationReply", "responses": { "200": { "description": "Successful request" @@ -10424,15 +10607,15 @@ ] } }, - "/items/project_chat": { + "/items/conversation_segment_conversation_chunk": { "post": { "summary": "Create an Item", - "description": "Create a new project_chat item.", + "description": "Create a new conversation_segment_conversation_chunk item.", "tags": [ "Items", - "ItemsProjectChat" + "ItemsConversationSegmentConversationChunk" ], - "operationId": "createItemsProjectChat", + "operationId": "createItemsConversationSegmentConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -10446,11 +10629,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } }, { - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } ] } @@ -10467,7 +10650,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } } } @@ -10482,12 +10665,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_chat items.", + "description": "List the conversation_segment_conversation_chunk items.", "tags": [ "Items", - "ItemsProjectChat" + "ItemsConversationSegmentConversationChunk" ], - "operationId": "readItemsProjectChat", + "operationId": "readItemsConversationSegmentConversationChunk", "security": [ { "Auth": [] @@ -10528,7 +10711,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } }, "meta": { @@ -10546,12 +10729,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_chat items at the same time.", + "description": "Update multiple conversation_segment_conversation_chunk items at the same time.", "tags": [ "Items", - "ItemsProjectChat" + "ItemsConversationSegmentConversationChunk" ], - "operationId": "updateItemsProjectChat", + "operationId": "updateItemsConversationSegmentConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -10583,11 +10766,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } }, { - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } ] } @@ -10603,7 +10786,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } } } @@ -10615,12 +10798,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_chat items.", + "description": "Delete multiple existing conversation_segment_conversation_chunk items.", "tags": [ "Items", - "ItemsProjectChat" + "ItemsConversationSegmentConversationChunk" ], - "operationId": "deleteItemsProjectChat", + "operationId": "deleteItemsConversationSegmentConversationChunk", "responses": { "200": { "description": "Successful request" @@ -10632,15 +10815,15 @@ "parameters": [] } }, - "/items/project_chat/{id}": { + "/items/conversation_segment_conversation_chunk/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_chat item by unique identifier.", + "description": "Retrieve a single conversation_segment_conversation_chunk item by unique identifier.", "tags": [ "Items", - "ItemsProjectChat" + "ItemsConversationSegmentConversationChunk" ], - "operationId": "readSingleItemsProjectChat", + "operationId": "readSingleItemsConversationSegmentConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -10682,7 +10865,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } } } @@ -10699,12 +10882,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_chat item.", + "description": "Update an existing conversation_segment_conversation_chunk item.", "tags": [ "Items", - "ItemsProjectChat" + "ItemsConversationSegmentConversationChunk" ], - "operationId": "updateSingleItemsProjectChat", + "operationId": "updateSingleItemsConversationSegmentConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -10738,7 +10921,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } } } @@ -10753,7 +10936,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } } } @@ -10770,12 +10953,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_chat item.", + "description": "Delete an existing conversation_segment_conversation_chunk item.", "tags": [ "Items", - "ItemsProjectChat" + "ItemsConversationSegmentConversationChunk" ], - "operationId": "deleteSingleItemsProjectChat", + "operationId": "deleteSingleItemsConversationSegmentConversationChunk", "responses": { "200": { "description": "Successful request" @@ -10811,15 +10994,15 @@ ] } }, - "/items/project": { + "/items/document": { "post": { "summary": "Create an Item", - "description": "Create a new project item.", + "description": "Create a new document item.", "tags": [ "Items", - "ItemsProject" + "ItemsDocument" ], - "operationId": "createItemsProject", + "operationId": "createItemsDocument", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -10833,11 +11016,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } }, { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } ] } @@ -10854,7 +11037,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } } } @@ -10869,12 +11052,12 @@ }, "get": { "summary": "List Items", - "description": "List the project items.", + "description": "List the document items.", "tags": [ "Items", - "ItemsProject" + "ItemsDocument" ], - "operationId": "readItemsProject", + "operationId": "readItemsDocument", "security": [ { "Auth": [] @@ -10915,7 +11098,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } }, "meta": { @@ -10933,12 +11116,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project items at the same time.", + "description": "Update multiple document items at the same time.", "tags": [ "Items", - "ItemsProject" + "ItemsDocument" ], - "operationId": "updateItemsProject", + "operationId": "updateItemsDocument", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -10970,11 +11153,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } }, { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } ] } @@ -10990,7 +11173,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } } } @@ -11002,12 +11185,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project items.", + "description": "Delete multiple existing document items.", "tags": [ "Items", - "ItemsProject" + "ItemsDocument" ], - "operationId": "deleteItemsProject", + "operationId": "deleteItemsDocument", "responses": { "200": { "description": "Successful request" @@ -11019,15 +11202,15 @@ "parameters": [] } }, - "/items/project/{id}": { + "/items/document/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project item by unique identifier.", + "description": "Retrieve a single document item by unique identifier.", "tags": [ "Items", - "ItemsProject" + "ItemsDocument" ], - "operationId": "readSingleItemsProject", + "operationId": "readSingleItemsDocument", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -11069,7 +11252,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } } } @@ -11086,12 +11269,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project item.", + "description": "Update an existing document item.", "tags": [ "Items", - "ItemsProject" + "ItemsDocument" ], - "operationId": "updateSingleItemsProject", + "operationId": "updateSingleItemsDocument", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -11125,7 +11308,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } } } @@ -11140,7 +11323,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsDocument" } } } @@ -11157,12 +11340,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project item.", + "description": "Delete an existing document item.", "tags": [ "Items", - "ItemsProject" + "ItemsDocument" ], - "operationId": "deleteSingleItemsProject", + "operationId": "deleteSingleItemsDocument", "responses": { "200": { "description": "Successful request" @@ -11198,15 +11381,15 @@ ] } }, - "/items/project_chat_conversation": { + "/items/project_analysis_run": { "post": { "summary": "Create an Item", - "description": "Create a new project_chat_conversation item.", + "description": "Create a new project_analysis_run item.", "tags": [ "Items", - "ItemsProjectChatConversation" + "ItemsProjectAnalysisRun" ], - "operationId": "createItemsProjectChatConversation", + "operationId": "createItemsProjectAnalysisRun", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -11220,11 +11403,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } }, { - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } ] } @@ -11241,7 +11424,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } } } @@ -11256,12 +11439,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_chat_conversation items.", + "description": "List the project_analysis_run items.", "tags": [ "Items", - "ItemsProjectChatConversation" + "ItemsProjectAnalysisRun" ], - "operationId": "readItemsProjectChatConversation", + "operationId": "readItemsProjectAnalysisRun", "security": [ { "Auth": [] @@ -11302,7 +11485,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } }, "meta": { @@ -11320,12 +11503,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_chat_conversation items at the same time.", + "description": "Update multiple project_analysis_run items at the same time.", "tags": [ "Items", - "ItemsProjectChatConversation" + "ItemsProjectAnalysisRun" ], - "operationId": "updateItemsProjectChatConversation", + "operationId": "updateItemsProjectAnalysisRun", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -11357,11 +11540,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } }, { - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } ] } @@ -11377,7 +11560,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } } } @@ -11389,12 +11572,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_chat_conversation items.", + "description": "Delete multiple existing project_analysis_run items.", "tags": [ "Items", - "ItemsProjectChatConversation" + "ItemsProjectAnalysisRun" ], - "operationId": "deleteItemsProjectChatConversation", + "operationId": "deleteItemsProjectAnalysisRun", "responses": { "200": { "description": "Successful request" @@ -11406,15 +11589,15 @@ "parameters": [] } }, - "/items/project_chat_conversation/{id}": { + "/items/project_analysis_run/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_chat_conversation item by unique identifier.", + "description": "Retrieve a single project_analysis_run item by unique identifier.", "tags": [ "Items", - "ItemsProjectChatConversation" + "ItemsProjectAnalysisRun" ], - "operationId": "readSingleItemsProjectChatConversation", + "operationId": "readSingleItemsProjectAnalysisRun", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -11456,7 +11639,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } } } @@ -11473,12 +11656,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_chat_conversation item.", + "description": "Update an existing project_analysis_run item.", "tags": [ "Items", - "ItemsProjectChatConversation" + "ItemsProjectAnalysisRun" ], - "operationId": "updateSingleItemsProjectChatConversation", + "operationId": "updateSingleItemsProjectAnalysisRun", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -11512,7 +11695,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } } } @@ -11527,7 +11710,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } } } @@ -11544,12 +11727,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_chat_conversation item.", + "description": "Delete an existing project_analysis_run item.", "tags": [ "Items", - "ItemsProjectChatConversation" + "ItemsProjectAnalysisRun" ], - "operationId": "deleteSingleItemsProjectChatConversation", + "operationId": "deleteSingleItemsProjectAnalysisRun", "responses": { "200": { "description": "Successful request" @@ -11585,19 +11768,39 @@ ] } }, - "/fields": { - "get": { - "summary": "List All Fields", - "description": "Returns a list of the fields available in the project.", - "operationId": "getFields", + "/items/insight": { + "post": { + "summary": "Create an Item", + "description": "Create a new insight item.", + "tags": [ + "Items", + "ItemsInsight" + ], + "operationId": "createItemsInsight", "parameters": [ { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Sort" + "$ref": "#/components/parameters/Meta" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsInsight" + } + }, + { + "$ref": "#/components/schemas/ItemsInsight" + } + ] + } + } + } + }, "responses": { "200": { "description": "Successful request", @@ -11607,9 +11810,8 @@ "type": "object", "properties": { "data": { - "type": "array", "items": { - "$ref": "#/components/schemas/Fields" + "$ref": "#/components/schemas/ItemsInsight" } } } @@ -11619,33 +11821,43 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Fields" - ] - } - }, - "/fields/{collection}": { + } + }, "get": { - "summary": "List Fields in Collection", - "description": "Returns a list of the fields available in the given collection.", - "operationId": "getCollectionFields", + "summary": "List Items", + "description": "List the insight items.", + "tags": [ + "Items", + "ItemsInsight" + ], + "operationId": "readItemsInsight", + "security": [ + { + "Auth": [] + } + ], "parameters": [ { - "description": "Unique identifier of the collection the item resides in.", - "in": "path", - "name": "collection", - "required": true, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" }, { "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } ], "responses": { @@ -11659,8 +11871,12 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Fields" + "type": "object", + "$ref": "#/components/schemas/ItemsInsight" } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -11669,246 +11885,224 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple insight items at the same time.", + "tags": [ + "Items", + "ItemsInsight" + ], + "operationId": "updateItemsInsight", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" }, - "404": { - "$ref": "#/components/responses/NotFoundError" + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsInsight" + } + }, + { + "$ref": "#/components/schemas/ItemsInsight" + } + ] + } + } } }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsInsight" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing insight items.", "tags": [ - "Fields" - ] + "Items", + "ItemsInsight" + ], + "operationId": "deleteItemsInsight", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/insight/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single insight item by unique identifier.", + "tags": [ + "Items", + "ItemsInsight" + ], + "operationId": "readSingleItemsInsight", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsInsight" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } }, - "post": { - "summary": "Create Field in Collection", - "description": "Create a new field in a given collection.", - "operationId": "createField", + "patch": { + "summary": "Update an Item", + "description": "Update an existing insight item.", + "tags": [ + "Items", + "ItemsInsight" + ], + "operationId": "updateSingleItemsInsight", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], "requestBody": { "content": { "application/json": { "schema": { - "required": [ - "field", - "datatype", - "type", - "length" - ], "type": "object", - "properties": { - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "id", - "type": "string" - }, - "type": { - "description": "Directus specific data type. Used to cast values in the API.", - "example": "integer", - "type": "string" - }, - "schema": { - "description": "The schema info.", - "type": "object", - "properties": { - "name": { - "description": "The name of the field.", - "example": "title", - "type": "string" - }, - "table": { - "description": "The collection of the field.", - "example": "posts", - "type": "string" - }, - "type": { - "description": "The type of the field.", - "example": "string", - "type": "string" - }, - "default_value": { - "description": "The default value of the field.", - "example": null, - "type": "string", - "nullable": true - }, - "max_length": { - "description": "The max length of the field.", - "example": null, - "type": "integer", - "nullable": true - }, - "is_nullable": { - "description": "If the field is nullable.", - "example": false, - "type": "boolean" - }, - "is_primary_key": { - "description": "If the field is primary key.", - "example": false, - "type": "boolean" - }, - "has_auto_increment": { - "description": "If the field has auto increment.", - "example": false, - "type": "boolean" - }, - "foreign_key_column": { - "description": "Related column from the foreign key constraint.", - "example": null, - "type": "string", - "nullable": true - }, - "foreign_key_table": { - "description": "Related table from the foreign key constraint.", - "example": null, - "type": "string", - "nullable": true - }, - "comment": { - "description": "Comment as saved in the database.", - "example": null, - "type": "string", - "nullable": true - }, - "schema": { - "description": "Database schema (pg only).", - "example": "public", - "type": "string" - }, - "foreign_key_schema": { - "description": "Related schema from the foreign key constraint (pg only).", - "example": null, - "type": "string", - "nullable": true - } - } - }, - "meta": { - "description": "The meta info.", - "type": "object", - "nullable": true, - "properties": { - "id": { - "description": "Unique identifier for the field in the `directus_fields` collection.", - "example": 3, - "type": "integer" - }, - "collection": { - "description": "Unique name of the collection this field is in.", - "example": "posts", - "type": "string" - }, - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "title", - "type": "string" - }, - "special": { - "description": "Transformation flag for field", - "example": null, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "system-interface": { - "description": "What interface is used in the admin app to edit the value for this field.", - "example": "primary-key", - "type": "string", - "nullable": true - }, - "options": { - "description": "Options for the interface that's used. This format is based on the individual interface.", - "example": null, - "type": "object", - "nullable": true - }, - "display": { - "description": "What display is used in the admin app to display the value for this field.", - "example": null, - "type": "string", - "nullable": true - }, - "display_options": { - "description": "Options for the display that's used. This format is based on the individual display.", - "example": null, - "type": "object", - "nullable": true - }, - "locked": { - "description": "If the field can be altered by the end user. Directus system fields have this value set to `true`.", - "example": true, - "type": "boolean" - }, - "readonly": { - "description": "Prevents the user from editing the value in the field.", - "example": false, - "type": "boolean" - }, - "hidden": { - "description": "If this field should be hidden.", - "example": true, - "type": "boolean" - }, - "sort": { - "description": "Sort order of this field on the edit page of the admin app.", - "example": 1, - "type": "integer", - "nullable": true - }, - "width": { - "description": "Width of the field on the edit form.", - "example": null, - "type": "string", - "nullable": true, - "enum": [ - "half", - "half-left", - "half-right", - "full", - "fill", - null - ] - }, - "group": { - "description": "What field group this field is part of.", - "example": null, - "type": "integer", - "nullable": true - }, - "translation": { - "description": "Key value pair of `: ` that allows the user to change the displayed name of the field in the admin app.", - "example": null, - "type": "object", - "nullable": true - }, - "note": { - "description": "A user provided note for the field. Will be rendered alongside the interface on the edit page.", - "example": "", - "type": "string", - "nullable": true - } - } - } - } + "$ref": "#/components/schemas/ItemsInsight" } } } }, "responses": { "200": { + "description": "Successful request", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Fields" + "type": "object", + "$ref": "#/components/schemas/ItemsInsight" } } } } - }, - "description": "Successful request" + } }, "401": { "$ref": "#/components/responses/UnauthorizedError" @@ -11916,43 +12110,19 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing insight item.", "tags": [ - "Fields" + "Items", + "ItemsInsight" ], - "parameters": [ - { - "description": "Unique identifier of the collection the item resides in.", - "in": "path", - "name": "collection", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/fields/{collection}/{id}": { - "get": { - "summary": "Retrieve a Field", - "description": "Retrieves the details of a single field in a given collection.", - "operationId": "getCollectionField", + "operationId": "deleteSingleItemsInsight", "responses": { "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Fields" - } - } - } - } - } + "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" @@ -11961,232 +12131,1758 @@ "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Fields" - ], "parameters": [ - { - "name": "collection", - "in": "path", - "description": "Unique identifier of the collection the item resides in.", - "schema": { - "type": "string" - }, - "required": true - }, { "name": "id", + "description": "Index of the item.", "in": "path", - "description": "Unique identifier of the field.", + "required": true, "schema": { - "type": "string" - }, - "required": true - } - ] - }, - "patch": { - "summary": "Update a Field", - "description": "Update an existing field.", - "operationId": "updateField", + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/project_chat": { + "post": { + "summary": "Create an Item", + "description": "Create a new project_chat item.", + "tags": [ + "Items", + "ItemsProjectChat" + ], + "operationId": "createItemsProjectChat", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "id", - "type": "string" - }, - "type": { - "description": "Directus specific data type. Used to cast values in the API.", - "example": "integer", - "type": "string" + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChat" + } }, - "schema": { - "description": "The schema info.", - "type": "object", - "properties": { - "name": { - "description": "The name of the field.", - "example": "title", - "type": "string" - }, - "table": { - "description": "The collection of the field.", - "example": "posts", - "type": "string" - }, - "type": { - "description": "The type of the field.", - "example": "string", - "type": "string" - }, - "default_value": { - "description": "The default value of the field.", - "example": null, - "type": "string", - "nullable": true - }, - "max_length": { - "description": "The max length of the field.", - "example": null, - "type": "integer", - "nullable": true - }, - "is_nullable": { - "description": "If the field is nullable.", - "example": false, - "type": "boolean" - }, - "is_primary_key": { - "description": "If the field is primary key.", - "example": false, - "type": "boolean" - }, - "has_auto_increment": { - "description": "If the field has auto increment.", - "example": false, - "type": "boolean" - }, - "foreign_key_column": { - "description": "Related column from the foreign key constraint.", - "example": null, - "type": "string", - "nullable": true - }, - "foreign_key_table": { - "description": "Related table from the foreign key constraint.", - "example": null, - "type": "string", - "nullable": true - }, - "comment": { - "description": "Comment as saved in the database.", - "example": null, - "type": "string", - "nullable": true - }, - "schema": { - "description": "Database schema (pg only).", - "example": "public", - "type": "string" - }, - "foreign_key_schema": { - "description": "Related schema from the foreign key constraint (pg only).", - "example": null, - "type": "string", - "nullable": true + { + "$ref": "#/components/schemas/ItemsProjectChat" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChat" } } - }, - "meta": { - "description": "The meta info.", - "type": "object", - "nullable": true, - "properties": { - "id": { - "description": "Unique identifier for the field in the `directus_fields` collection.", - "example": 3, - "type": "integer" - }, - "collection": { - "description": "Unique name of the collection this field is in.", - "example": "posts", - "type": "string" - }, - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "title", - "type": "string" - }, - "special": { - "description": "Transformation flag for field", - "example": null, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "system-interface": { - "description": "What interface is used in the admin app to edit the value for this field.", - "example": "primary-key", - "type": "string", - "nullable": true - }, - "options": { - "description": "Options for the interface that's used. This format is based on the individual interface.", - "example": null, - "type": "object", - "nullable": true - }, - "display": { - "description": "What display is used in the admin app to display the value for this field.", - "example": null, - "type": "string", - "nullable": true - }, - "display_options": { - "description": "Options for the display that's used. This format is based on the individual display.", - "example": null, + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the project_chat items.", + "tags": [ + "Items", + "ItemsProjectChat" + ], + "operationId": "readItemsProjectChat", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { "type": "object", - "nullable": true - }, - "locked": { - "description": "If the field can be altered by the end user. Directus system fields have this value set to `true`.", - "example": true, - "type": "boolean" - }, - "readonly": { - "description": "Prevents the user from editing the value in the field.", - "example": false, - "type": "boolean" - }, - "hidden": { - "description": "If this field should be hidden.", - "example": true, - "type": "boolean" - }, - "sort": { - "description": "Sort order of this field on the edit page of the admin app.", - "example": 1, - "type": "integer", - "nullable": true - }, - "width": { - "description": "Width of the field on the edit form.", - "example": null, - "type": "string", - "nullable": true, - "enum": [ - "half", - "half-left", - "half-right", - "full", - "fill", - null - ] - }, - "group": { - "description": "What field group this field is part of.", - "example": null, - "type": "integer", - "nullable": true - }, - "translation": { - "description": "Key value pair of `: ` that allows the user to change the displayed name of the field in the admin app.", - "example": null, + "$ref": "#/components/schemas/ItemsProjectChat" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple project_chat items at the same time.", + "tags": [ + "Items", + "ItemsProjectChat" + ], + "operationId": "updateItemsProjectChat", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChat" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChat" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChat" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing project_chat items.", + "tags": [ + "Items", + "ItemsProjectChat" + ], + "operationId": "deleteItemsProjectChat", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/project_chat/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single project_chat item by unique identifier.", + "tags": [ + "Items", + "ItemsProjectChat" + ], + "operationId": "readSingleItemsProjectChat", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChat" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing project_chat item.", + "tags": [ + "Items", + "ItemsProjectChat" + ], + "operationId": "updateSingleItemsProjectChat", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChat" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChat" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing project_chat item.", + "tags": [ + "Items", + "ItemsProjectChat" + ], + "operationId": "deleteSingleItemsProjectChat", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/project_chat_conversation": { + "post": { + "summary": "Create an Item", + "description": "Create a new project_chat_conversation item.", + "tags": [ + "Items", + "ItemsProjectChatConversation" + ], + "operationId": "createItemsProjectChatConversation", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the project_chat_conversation items.", + "tags": [ + "Items", + "ItemsProjectChatConversation" + ], + "operationId": "readItemsProjectChatConversation", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple project_chat_conversation items at the same time.", + "tags": [ + "Items", + "ItemsProjectChatConversation" + ], + "operationId": "updateItemsProjectChatConversation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing project_chat_conversation items.", + "tags": [ + "Items", + "ItemsProjectChatConversation" + ], + "operationId": "deleteItemsProjectChatConversation", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/project_chat_conversation/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single project_chat_conversation item by unique identifier.", + "tags": [ + "Items", + "ItemsProjectChatConversation" + ], + "operationId": "readSingleItemsProjectChatConversation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing project_chat_conversation item.", + "tags": [ + "Items", + "ItemsProjectChatConversation" + ], + "operationId": "updateSingleItemsProjectChatConversation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing project_chat_conversation item.", + "tags": [ + "Items", + "ItemsProjectChatConversation" + ], + "operationId": "deleteSingleItemsProjectChatConversation", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/project_chat_message_conversation": { + "post": { + "summary": "Create an Item", + "description": "Create a new project_chat_message_conversation item.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation" + ], + "operationId": "createItemsProjectChatMessageConversation", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the project_chat_message_conversation items.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation" + ], + "operationId": "readItemsProjectChatMessageConversation", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple project_chat_message_conversation items at the same time.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation" + ], + "operationId": "updateItemsProjectChatMessageConversation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing project_chat_message_conversation items.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation" + ], + "operationId": "deleteItemsProjectChatMessageConversation", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/project_chat_message_conversation/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single project_chat_message_conversation item by unique identifier.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation" + ], + "operationId": "readSingleItemsProjectChatMessageConversation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing project_chat_message_conversation item.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation" + ], + "operationId": "updateSingleItemsProjectChatMessageConversation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing project_chat_message_conversation item.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation" + ], + "operationId": "deleteSingleItemsProjectChatMessageConversation", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/project_chat_message_conversation_1": { + "post": { + "summary": "Create an Item", + "description": "Create a new project_chat_message_conversation_1 item.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation1" + ], + "operationId": "createItemsProjectChatMessageConversation1", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the project_chat_message_conversation_1 items.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation1" + ], + "operationId": "readItemsProjectChatMessageConversation1", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple project_chat_message_conversation_1 items at the same time.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation1" + ], + "operationId": "updateItemsProjectChatMessageConversation1", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing project_chat_message_conversation_1 items.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation1" + ], + "operationId": "deleteItemsProjectChatMessageConversation1", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/project_chat_message_conversation_1/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single project_chat_message_conversation_1 item by unique identifier.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation1" + ], + "operationId": "readSingleItemsProjectChatMessageConversation1", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing project_chat_message_conversation_1 item.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation1" + ], + "operationId": "updateSingleItemsProjectChatMessageConversation1", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing project_chat_message_conversation_1 item.", + "tags": [ + "Items", + "ItemsProjectChatMessageConversation1" + ], + "operationId": "deleteSingleItemsProjectChatMessageConversation1", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/project_chat_message_metadata": { + "post": { + "summary": "Create an Item", + "description": "Create a new project_chat_message_metadata item.", + "tags": [ + "Items", + "ItemsProjectChatMessageMetadata" + ], + "operationId": "createItemsProjectChatMessageMetadata", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the project_chat_message_metadata items.", + "tags": [ + "Items", + "ItemsProjectChatMessageMetadata" + ], + "operationId": "readItemsProjectChatMessageMetadata", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { "type": "object", - "nullable": true - }, - "note": { - "description": "A user provided note for the field. Will be rendered alongside the interface on the edit page.", - "example": "", - "type": "string", - "nullable": true + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple project_chat_message_metadata items at the same time.", + "tags": [ + "Items", + "ItemsProjectChatMessageMetadata" + ], + "operationId": "updateItemsProjectChatMessageMetadata", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" } } } @@ -12194,6 +13890,238 @@ } } } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing project_chat_message_metadata items.", + "tags": [ + "Items", + "ItemsProjectChatMessageMetadata" + ], + "operationId": "deleteItemsProjectChatMessageMetadata", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/project_chat_message_metadata/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single project_chat_message_metadata item by unique identifier.", + "tags": [ + "Items", + "ItemsProjectChatMessageMetadata" + ], + "operationId": "readSingleItemsProjectChatMessageMetadata", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing project_chat_message_metadata item.", + "tags": [ + "Items", + "ItemsProjectChatMessageMetadata" + ], + "operationId": "updateSingleItemsProjectChatMessageMetadata", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing project_chat_message_metadata item.", + "tags": [ + "Items", + "ItemsProjectChatMessageMetadata" + ], + "operationId": "deleteSingleItemsProjectChatMessageMetadata", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/project_report": { + "post": { + "summary": "Create an Item", + "description": "Create a new project_report item.", + "tags": [ + "Items", + "ItemsProjectReport" + ], + "operationId": "createItemsProjectReport", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectReport" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectReport" + } + ] + } + } + } }, "responses": { "200": { @@ -12204,7 +14132,9 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Fields" + "items": { + "$ref": "#/components/schemas/ItemsProjectReport" + } } } } @@ -12213,80 +14143,201 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the project_report items.", + "tags": [ + "Items", + "ItemsProjectReport" + ], + "operationId": "readItemsProjectReport", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" }, - "404": { - "$ref": "#/components/responses/NotFoundError" + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } - }, + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReport" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple project_report items at the same time.", "tags": [ - "Fields" + "Items", + "ItemsProjectReport" ], + "operationId": "updateItemsProjectReport", "parameters": [ { - "name": "collection", - "in": "path", - "description": "Unique identifier of the collection the item resides in.", - "schema": { - "type": "string" - }, - "required": true + "$ref": "#/components/parameters/Fields" }, { - "name": "id", - "in": "path", - "description": "Unique identifier of the field.", - "schema": { - "type": "string" - }, - "required": true + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } - ] + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectReport" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectReport" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsProjectReport" + } + } + } + } + } + } + } + } }, "delete": { - "summary": "Delete a Field", - "description": "Delete an existing field.", - "operationId": "deleteField", + "summary": "Delete Multiple Items", + "description": "Delete multiple existing project_report items.", + "tags": [ + "Items", + "ItemsProjectReport" + ], + "operationId": "deleteItemsProjectReport", "responses": { "200": { "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } }, + "parameters": [] + } + }, + "/items/project_report/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single project_report item by unique identifier.", "tags": [ - "Fields" + "Items", + "ItemsProjectReport" ], + "operationId": "readSingleItemsProjectReport", "parameters": [ { - "name": "collection", - "in": "path", - "description": "Unique identifier of the collection the item resides in.", - "schema": { - "type": "string" - }, - "required": true + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" }, { "name": "id", + "description": "Index of the item.", "in": "path", - "description": "Unique identifier of the field.", + "required": true, "schema": { - "type": "string" - }, - "required": true + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } - ] - } - }, - "/flows": { - "get": { - "summary": "List Flows", - "description": "Get all flows.", - "operationId": "getFlows", + ], "responses": { "200": { "description": "Successful request", @@ -12296,13 +14347,8 @@ "type": "object", "properties": { "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Flows" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReport" } } } @@ -12315,32 +14361,50 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Flows" - ] + } }, - "post": { - "summary": "Create a Flow", - "description": "Create a new flow.", - "operationId": "createFlow", + "patch": { + "summary": "Update an Item", + "description": "Update an existing project_report item.", + "tags": [ + "Items", + "ItemsProjectReport" + ], + "operationId": "updateSingleItemsProjectReport", "parameters": [ { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ], "requestBody": { "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Flows" - } - ] + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReport" } } } @@ -12354,7 +14418,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Flows" + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReport" } } } @@ -12367,61 +14432,80 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Flows" - ] + } }, - "patch": { - "summary": "Update Multiple Flows", - "description": "Update multiple flows at the same time.", + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing project_report item.", "tags": [ - "Flows" + "Items", + "ItemsProjectReport" ], - "operationId": "updateFlows", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" + "operationId": "deleteSingleItemsProjectReport", + "responses": { + "200": { + "description": "Successful request" }, - { - "$ref": "#/components/parameters/Sort" + "401": { + "$ref": "#/components/responses/UnauthorizedError" }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ { - "$ref": "#/components/parameters/Filter" - }, + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/project_report_metric": { + "post": { + "summary": "Create an Item", + "description": "Create a new project_report_metric item.", + "tags": [ + "Items", + "ItemsProjectReportMetric" + ], + "operationId": "createItemsProjectReportMetric", + "parameters": [ { - "$ref": "#/components/parameters/Search" + "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { - "anyOf": [ - { - "$ref": "#/components/schemas/Flows" - } - ] - }, - "keys": { + "oneOf": [ + { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemsProjectReportMetric" } + }, + { + "$ref": "#/components/schemas/ItemsProjectReportMetric" } - } + ] } } } @@ -12435,13 +14519,9 @@ "type": "object", "properties": { "data": { - "type": "array", "items": { - "$ref": "#/components/schemas/Flows" + "$ref": "#/components/schemas/ItemsProjectReportMetric" } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" } } } @@ -12453,28 +14533,42 @@ } } }, - "delete": { - "summary": "Delete Multiple Flows", - "description": "Delete multiple existing flows.", + "get": { + "summary": "List Items", + "description": "List the project_report_metric items.", "tags": [ - "Flows" + "Items", + "ItemsProjectReportMetric" ], - "operationId": "deleteFlows", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" + "operationId": "readItemsProjectReportMetric", + "security": [ + { + "Auth": [] } - } - } - }, - "/flows/{id}": { - "get": { - "summary": "Retrieve a Flow", - "description": "Retrieve a single flow by unique identifier.", - "operationId": "getFlow", + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], "responses": { "200": { "description": "Successful request", @@ -12484,7 +14578,14 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Flows" + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReportMetric" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -12493,42 +14594,53 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Flows" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" } - ] + } }, "patch": { - "summary": "Update a Flow", - "description": "Update an existing flow", - "operationId": "updateFlow", + "summary": "Update Multiple Items", + "description": "Update multiple project_report_metric items at the same time.", + "tags": [ + "Items", + "ItemsProjectReportMetric" + ], + "operationId": "updateItemsProjectReportMetric", "parameters": [ { - "$ref": "#/components/parameters/UUId" + "$ref": "#/components/parameters/Fields" }, { - "$ref": "#/components/parameters/Fields" + "$ref": "#/components/parameters/Limit" }, { "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } ], "requestBody": { "content": { "application/json": { "schema": { - "anyOf": [ + "oneOf": [ { - "$ref": "#/components/schemas/Flows" + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectReportMetric" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectReportMetric" } ] } @@ -12541,115 +14653,78 @@ "content": { "application/json": { "schema": { - "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Flows" + "items": { + "$ref": "#/components/schemas/ItemsProjectReportMetric" + } } } } } } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Flows" - ] + } }, "delete": { - "summary": "Delete a Flow", - "description": "Delete an existing flow", - "operationId": "deleteFlow", + "summary": "Delete Multiple Items", + "description": "Delete multiple existing project_report_metric items.", + "tags": [ + "Items", + "ItemsProjectReportMetric" + ], + "operationId": "deleteItemsProjectReportMetric", "responses": { "200": { "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Flows" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] + "parameters": [] } }, - "/operations": { + "/items/project_report_metric/{id}": { "get": { - "summary": "List Operations", - "description": "Get all operations.", - "operationId": "getOperations", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operations" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, + "summary": "Retrieve an Item", + "description": "Retrieve a single project_report_metric item by unique identifier.", "tags": [ - "Operations" - ] - }, - "post": { - "summary": "Create an Operation", - "description": "Create a new operation.", - "operationId": "createOperation", + "Items", + "ItemsProjectReportMetric" + ], + "operationId": "readSingleItemsProjectReportMetric", "parameters": [ { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Operations" - } - ] - } + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] } } - }, + ], "responses": { "200": { "description": "Successful request", @@ -12659,7 +14734,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Operations" + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReportMetric" } } } @@ -12672,39 +14748,42 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Operations" - ] + } }, "patch": { - "summary": "Update Multiple Operations", - "description": "Update multiple operations at the same time.", + "summary": "Update an Item", + "description": "Update an existing project_report_metric item.", "tags": [ - "Operations" + "Items", + "ItemsProjectReportMetric" ], - "operationId": "updateOperations", + "operationId": "updateSingleItemsProjectReportMetric", "parameters": [ { "$ref": "#/components/parameters/Fields" }, - { - "$ref": "#/components/parameters/Limit" - }, { "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ], "requestBody": { @@ -12712,21 +14791,7 @@ "application/json": { "schema": { "type": "object", - "properties": { - "data": { - "anyOf": [ - { - "$ref": "#/components/schemas/Operations" - } - ] - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } + "$ref": "#/components/schemas/ItemsProjectReportMetric" } } } @@ -12737,16 +14802,11 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operations" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReportMetric" } } } @@ -12755,47 +14815,24 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } } }, "delete": { - "summary": "Delete Multiple Operations", - "description": "Delete multiple existing operations.", + "summary": "Delete an Item", + "description": "Delete an existing project_report_metric item.", "tags": [ - "Operations" + "Items", + "ItemsProjectReportMetric" ], - "operationId": "deleteOperations", + "operationId": "deleteSingleItemsProjectReportMetric", "responses": { "200": { "description": "Successful request" }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/operations/{id}": { - "get": { - "summary": "Retrieve an Operation", - "description": "Retrieve a single operation by unique identifier.", - "operationId": "getOperation", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Operations" - } - } - } - } - } - }, "401": { "$ref": "#/components/responses/UnauthorizedError" }, @@ -12803,26 +14840,40 @@ "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Operations" - ], "parameters": [ { - "$ref": "#/components/parameters/UUId" + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ] - }, - "patch": { - "summary": "Update an Operation", - "description": "Update an existing operation", - "operationId": "updateOperation", + } + }, + "/items/project_report_notification_participants": { + "post": { + "summary": "Create an Item", + "description": "Create a new project_report_notification_participants item.", + "tags": [ + "Items", + "ItemsProjectReportNotificationParticipants" + ], + "operationId": "createItemsProjectReportNotificationParticipants", "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, { "$ref": "#/components/parameters/Meta" } @@ -12831,9 +14882,15 @@ "content": { "application/json": { "schema": { - "anyOf": [ + "oneOf": [ { - "$ref": "#/components/schemas/Operations" + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + } + }, + { + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" } ] } @@ -12849,7 +14906,9 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Operations" + "items": { + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + } } } } @@ -12858,45 +14917,22 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Operations" - ] + } }, - "delete": { - "summary": "Delete an Operation", - "description": "Delete an existing operation", - "operationId": "deleteOperation", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, + "get": { + "summary": "List Items", + "description": "List the project_report_notification_participants items.", "tags": [ - "Operations" + "Items", + "ItemsProjectReportNotificationParticipants" ], - "parameters": [ + "operationId": "readItemsProjectReportNotificationParticipants", + "security": [ { - "$ref": "#/components/parameters/UUId" + "Auth": [] } - ] - } - }, - "/users": { - "get": { - "summary": "List Users", - "description": "List the users.", - "operationId": "getUsers", + ], "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -12905,10 +14941,10 @@ "$ref": "#/components/parameters/Limit" }, { - "$ref": "#/components/parameters/Offset" + "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Offset" }, { "$ref": "#/components/parameters/Sort" @@ -12931,7 +14967,8 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Users" + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" } }, "meta": { @@ -12944,67 +14981,17 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "post": { - "summary": "Create a User", - "description": "Create a new user.", - "operationId": "createUser", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Users" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Users" - ] + } }, "patch": { - "summary": "Update Multiple Users", - "description": "Update multiple users at the same time.", + "summary": "Update Multiple Items", + "description": "Update multiple project_report_notification_participants items at the same time.", "tags": [ - "Users" + "Items", + "ItemsProjectReportNotificationParticipants" ], - "operationId": "updateUsers", + "operationId": "updateItemsProjectReportNotificationParticipants", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -13032,18 +15019,17 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - }, - "keys": { + "oneOf": [ + { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" } + }, + { + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" } - } + ] } } } @@ -13054,34 +15040,27 @@ "content": { "application/json": { "schema": { - "type": "object", "properties": { "data": { - "type": "array", "items": { - "$ref": "#/components/schemas/Users" + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" } } } } } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" } } }, "delete": { - "summary": "Delete Multiple Users", - "description": "Delete multiple existing users.", + "summary": "Delete Multiple Items", + "description": "Delete multiple existing project_report_notification_participants items.", "tags": [ - "Users" + "Items", + "ItemsProjectReportNotificationParticipants" ], - "operationId": "deleteUsers", + "operationId": "deleteItemsProjectReportNotificationParticipants", "responses": { "200": { "description": "Successful request" @@ -13089,23 +15068,48 @@ "401": { "$ref": "#/components/responses/UnauthorizedError" } - } + }, + "parameters": [] } }, - "/users/{id}": { - "get": { - "summary": "Retrieve a User", - "description": "Retrieve a single user by unique identifier.", - "operationId": "getUser", + "/items/project_report_notification_participants/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single project_report_notification_participants item by unique identifier.", + "tags": [ + "Items", + "ItemsProjectReportNotificationParticipants" + ], + "operationId": "readSingleItemsProjectReportNotificationParticipants", "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ], "responses": { @@ -13117,7 +15121,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Users" + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" } } } @@ -13130,50 +15135,70 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Users" - ] + } }, "patch": { - "summary": "Update a User", - "description": "Update an existing user", - "operationId": "updateUser", + "summary": "Update an Item", + "description": "Update an existing project_report_notification_participants item.", + "tags": [ + "Items", + "ItemsProjectReportNotificationParticipants" + ], + "operationId": "updateSingleItemsProjectReportNotificationParticipants", "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Users" + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" } } } }, "responses": { "200": { + "description": "Successful request", "content": { "application/json": { "schema": { + "type": "object", "properties": { "data": { - "type": "object" + "type": "object", + "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" } - }, - "type": "object" + } } } - }, - "description": "Successful request" + } }, "401": { "$ref": "#/components/responses/UnauthorizedError" @@ -13181,15 +15206,16 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Users" - ] + } }, "delete": { - "summary": "Delete a User", - "description": "Delete an existing user", - "operationId": "deleteUser", + "summary": "Delete an Item", + "description": "Delete an existing project_report_notification_participants item.", + "tags": [ + "Items", + "ItemsProjectReportNotificationParticipants" + ], + "operationId": "deleteSingleItemsProjectReportNotificationParticipants", "responses": { "200": { "description": "Successful request" @@ -13201,88 +15227,59 @@ "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Users" - ], "parameters": [ { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/users/invite": { - "post": { - "summary": "Invite User(s)", - "description": "Invites one or more users to this project. It creates a user with an invited status, and then sends an email to the user with instructions on how to activate their account.", - "operationId": "invite", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "email": { - "description": "Email address or array of email addresses of the to-be-invited user(s).", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" } - } + ] } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Users" ] } }, - "/users/invite/accept": { + "/items/quote": { "post": { - "summary": "Accept User Invite", - "description": "Accepts and enables an invited user using a JWT invitation token.", - "operationId": "acceptInvite", + "summary": "Create an Item", + "description": "Create a new quote item.", + "tags": [ + "Items", + "ItemsQuote" + ], + "operationId": "createItemsQuote", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], "requestBody": { - "required": true, "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "token": { - "type": "string", - "example": "eyJh...KmUk", - "description": "Accept invite token." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsQuote" + } }, - "password": { - "type": "string", - "description": "Password of the user.", - "format": "password", - "example": "d1r3ctu5" + { + "$ref": "#/components/schemas/ItemsQuote" } - } + ] } } } @@ -13296,7 +15293,9 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Users" + "items": { + "$ref": "#/components/schemas/ItemsQuote" + } } } } @@ -13305,27 +15304,43 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me": { + } + }, "get": { - "summary": "Retrieve Current User", - "description": "Retrieve the currently authenticated user.", - "operationId": "getMe", + "summary": "List Items", + "description": "List the quote items.", + "tags": [ + "Items", + "ItemsQuote" + ], + "operationId": "readItemsQuote", + "security": [ + { + "Auth": [] + } + ], "parameters": [ { "$ref": "#/components/parameters/Fields" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } ], "responses": { @@ -13337,7 +15352,14 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Users" + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsQuote" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -13346,170 +15368,195 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Users" - ] + } }, "patch": { - "summary": "Update Current User", - "description": "Update the currently authenticated user.", - "operationId": "updateMe", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } + "summary": "Update Multiple Items", + "description": "Update multiple quote items at the same time.", + "tags": [ + "Items", + "ItemsQuote" + ], + "operationId": "updateItemsQuote", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" + { + "$ref": "#/components/parameters/Limit" }, - "404": { - "$ref": "#/components/responses/NotFoundError" + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me/track/page": { - "patch": { - "summary": "Update Last Page", - "description": "Updates the last used page field of the currently authenticated user. This is used internally to be able to open the Directus admin app from the last page you used.", - "operationId": "updateLastUsedPageMe", + ], "requestBody": { "content": { "application/json": { "schema": { - "properties": { - "last_page": { - "description": "Path of the page you used last.", - "type": "string" + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsQuote" + } + }, + { + "$ref": "#/components/schemas/ItemsQuote" } - }, - "type": "object" + ] } } } }, "responses": { "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/ItemsQuote" + } + } + } + } + } + } } - }, + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing quote items.", "tags": [ - "Users" - ] - } - }, - "/users/me/tfa/enable": { - "post": { - "summary": "Enable 2FA", - "description": "Enables two-factor authentication for the currently authenticated user.", - "operationId": "meTfaEnable", + "Items", + "ItemsQuote" + ], + "operationId": "deleteItemsQuote", "responses": { "200": { "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Users" - ] + "parameters": [] } }, - "/users/me/tfa/disable": { - "post": { - "summary": "Disable 2FA", - "description": "Disables two-factor authentication for the currently authenticated user.", - "operationId": "meTfaDisable", - "responses": { - "200": { - "description": "Successful request" + "/items/quote/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single quote item by unique identifier.", + "tags": [ + "Items", + "ItemsQuote" + ], + "operationId": "readSingleItemsQuote", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" + { + "$ref": "#/components/parameters/Meta" }, - "404": { - "$ref": "#/components/responses/NotFoundError" + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } - }, - "tags": [ - "Users" - ] - } - }, - "/extensions": { - "get": { - "summary": "List Extensions", - "description": "List the installed extensions and their configuration in the project.", - "operationId": "listExtensions", + ], "responses": { "200": { + "description": "Successful request", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Extensions" - } + "type": "object", + "$ref": "#/components/schemas/ItemsQuote" } } } } - }, - "description": "Successful request" + } }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Extensions" - ] - } - }, - "/extensions/{name}": { + } + }, "patch": { - "summary": "Update an Extension", - "description": "Update an existing extension.", - "operationId": "updateExtensions", + "summary": "Update an Item", + "description": "Update an existing quote item.", + "tags": [ + "Items", + "ItemsQuote" + ], + "operationId": "updateSingleItemsQuote", "parameters": [ { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", "in": "path", - "name": "name", "required": true, "schema": { - "type": "string" + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] } } ], @@ -13518,37 +15565,46 @@ "application/json": { "schema": { "type": "object", - "properties": { - "meta": { - "type": "object", - "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", - "properties": { - "enabled": { - "description": "Whether or not the extension is enabled.", - "example": true, - "type": "boolean" - } - } - } - } + "$ref": "#/components/schemas/ItemsQuote" } } } }, "responses": { "200": { + "description": "Successful request", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Extensions" + "type": "object", + "$ref": "#/components/schemas/ItemsQuote" } } } } - }, + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing quote item.", + "tags": [ + "Items", + "ItemsQuote" + ], + "operationId": "deleteSingleItemsQuote", + "responses": { + "200": { "description": "Successful request" }, "401": { @@ -13558,89 +15614,99 @@ "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Extensions" - ] - } - }, - "/extensions/{bundle}/{name}": { - "patch": { - "summary": "Update an Extension", - "description": "Update an existing extension.", - "operationId": "updateExtensionBundle", "parameters": [ { + "name": "id", + "description": "Index of the item.", "in": "path", - "name": "bundle", "required": true, "schema": { - "type": "string" + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] } - }, + } + ] + } + }, + "/items/quote_aspect": { + "post": { + "summary": "Create an Item", + "description": "Create a new quote_aspect item.", + "tags": [ + "Items", + "ItemsQuoteAspect" + ], + "operationId": "createItemsQuoteAspect", + "parameters": [ { - "in": "path", - "name": "name", - "required": true, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "meta": { - "type": "object", - "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", - "properties": { - "enabled": { - "description": "Whether or not the extension is enabled.", - "example": true, - "type": "boolean" - } + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsQuoteAspect" } + }, + { + "$ref": "#/components/schemas/ItemsQuoteAspect" } - } + ] } } } }, "responses": { "200": { + "description": "Successful request", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Extensions" + "items": { + "$ref": "#/components/schemas/ItemsQuoteAspect" + } } } } } - }, - "description": "Successful request" + } }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Extensions" - ] - } - }, - "/versions": { + } + }, "get": { - "summary": "List Content Versions", - "description": "Get all Content Versions.", - "operationId": "getContentVersions", + "summary": "List Items", + "description": "List the quote_aspect items.", + "tags": [ + "Items", + "ItemsQuoteAspect" + ], + "operationId": "readItemsQuoteAspect", + "security": [ + { + "Auth": [] + } + ], "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -13649,10 +15715,10 @@ "$ref": "#/components/parameters/Limit" }, { - "$ref": "#/components/parameters/Offset" + "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Offset" }, { "$ref": "#/components/parameters/Sort" @@ -13675,7 +15741,8 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Versions" + "type": "object", + "$ref": "#/components/schemas/ItemsQuoteAspect" } }, "meta": { @@ -13688,71 +15755,17 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "post": { - "summary": "Create Multiple Content Versions", - "description": "Create multiple new Content Versions.", - "operationId": "createContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Versions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Versions" - ] + } }, "patch": { - "summary": "Update Multiple Content Versions", - "description": "Update multiple Content Versions at the same time.", - "operationId": "updateContentVersions", + "summary": "Update Multiple Items", + "description": "Update multiple quote_aspect items at the same time.", + "tags": [ + "Items", + "ItemsQuoteAspect" + ], + "operationId": "updateItemsQuoteAspect", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -13780,22 +15793,17 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] - }, - "keys": { + "oneOf": [ + { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemsQuoteAspect" } + }, + { + "$ref": "#/components/schemas/ItemsQuoteAspect" } - } + ] } } } @@ -13806,34 +15814,27 @@ "content": { "application/json": { "schema": { - "type": "object", "properties": { "data": { - "type": "array", "items": { - "$ref": "#/components/schemas/Versions" + "$ref": "#/components/schemas/ItemsQuoteAspect" } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" } } } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "tags": [ - "Versions" - ] + } + } + } + } }, "delete": { - "summary": "Delete Multiple Content Versions", - "description": "Delete multiple existing Content Versions.", - "operationId": "deleteContentVersions", + "summary": "Delete Multiple Items", + "description": "Delete multiple existing quote_aspect items.", + "tags": [ + "Items", + "ItemsQuoteAspect" + ], + "operationId": "deleteItemsQuoteAspect", "responses": { "200": { "description": "Successful request" @@ -13842,25 +15843,47 @@ "$ref": "#/components/responses/UnauthorizedError" } }, - "tags": [ - "Versions" - ] + "parameters": [] } }, - "/versions/{id}": { + "/items/quote_aspect/{id}": { "get": { - "summary": "Retrieve a Content Version", - "description": "Retrieve a single Content Version by unique identifier.", - "operationId": "getContentVersion", + "summary": "Retrieve an Item", + "description": "Retrieve a single quote_aspect item by unique identifier.", + "tags": [ + "Items", + "ItemsQuoteAspect" + ], + "operationId": "readSingleItemsQuoteAspect", "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ], "responses": { @@ -13872,7 +15895,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Versions" + "type": "object", + "$ref": "#/components/schemas/ItemsQuoteAspect" } } } @@ -13885,35 +15909,50 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Versions" - ] + } }, "patch": { - "summary": "Update a Content Version", - "description": "Update an existing Content Version.", - "operationId": "updateContentVersion", + "summary": "Update an Item", + "description": "Update an existing quote_aspect item.", + "tags": [ + "Items", + "ItemsQuoteAspect" + ], + "operationId": "updateSingleItemsQuoteAspect", "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ], "requestBody": { "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] + "type": "object", + "$ref": "#/components/schemas/ItemsQuoteAspect" } } } @@ -13927,7 +15966,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Versions" + "type": "object", + "$ref": "#/components/schemas/ItemsQuoteAspect" } } } @@ -13940,103 +15980,18 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Versions" - ] + } }, "delete": { - "summary": "Delete a Content Version", - "description": "Delete an existing Content Version.", - "operationId": "deleteContentVersion", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/versions/{id}/save": { - "post": { - "summary": "Save to a Content Version", - "description": "Save item changes to an existing Content Version.", - "operationId": "saveContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, + "summary": "Delete an Item", + "description": "Delete an existing quote_aspect item.", "tags": [ - "Versions" - ] - } - }, - "/versions/{id}/compare": { - "get": { - "summary": "Compare a Content Version", - "description": "Compare an existing Content Version with the main version of the item.", - "operationId": "compareContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } + "Items", + "ItemsQuoteAspect" ], + "operationId": "deleteSingleItemsQuoteAspect", "responses": { "200": { - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "object" - } - }, - "type": "object" - } - } - }, "description": "Successful request" }, "401": { @@ -14046,73 +16001,39 @@ "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Versions" - ] - } - }, - "/versions/{id}/promote": { - "post": { - "summary": "Promote a Content Version", - "description": "Pass the current hash of the main version of the item (obtained from the `compare` endpoint) along with an optional array of field names of which the values are to be promoted (by default, all fields are selected).", - "operationId": "promoteContentVersion", "parameters": [ { - "$ref": "#/components/parameters/UUId" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "mainHash": { - "description": "Hash of the main version of the item to be promoted.", - "type": "string" - }, - "fields": { - "description": "Optional array of field names of which the values are to be promoted.", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" } - } + ] } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Versions" ] } }, - "/items/project_chat_message": { + "/items/conversation_segment": { "post": { "summary": "Create an Item", - "description": "Create a new project_chat_message item.", + "description": "Create a new conversation_segment item.", "tags": [ "Items", - "ItemsProjectChatMessage" + "ItemsConversationSegment" ], - "operationId": "createItemsProjectChatMessage", + "operationId": "createItemsConversationSegment", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -14126,11 +16047,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } }, { - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } ] } @@ -14147,7 +16068,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } } } @@ -14162,12 +16083,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_chat_message items.", + "description": "List the conversation_segment items.", "tags": [ "Items", - "ItemsProjectChatMessage" + "ItemsConversationSegment" ], - "operationId": "readItemsProjectChatMessage", + "operationId": "readItemsConversationSegment", "security": [ { "Auth": [] @@ -14208,7 +16129,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } }, "meta": { @@ -14226,12 +16147,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_chat_message items at the same time.", + "description": "Update multiple conversation_segment items at the same time.", "tags": [ "Items", - "ItemsProjectChatMessage" + "ItemsConversationSegment" ], - "operationId": "updateItemsProjectChatMessage", + "operationId": "updateItemsConversationSegment", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -14263,11 +16184,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } }, { - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } ] } @@ -14283,7 +16204,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } } } @@ -14295,12 +16216,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_chat_message items.", + "description": "Delete multiple existing conversation_segment items.", "tags": [ "Items", - "ItemsProjectChatMessage" + "ItemsConversationSegment" ], - "operationId": "deleteItemsProjectChatMessage", + "operationId": "deleteItemsConversationSegment", "responses": { "200": { "description": "Successful request" @@ -14312,15 +16233,15 @@ "parameters": [] } }, - "/items/project_chat_message/{id}": { + "/items/conversation_segment/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_chat_message item by unique identifier.", + "description": "Retrieve a single conversation_segment item by unique identifier.", "tags": [ "Items", - "ItemsProjectChatMessage" + "ItemsConversationSegment" ], - "operationId": "readSingleItemsProjectChatMessage", + "operationId": "readSingleItemsConversationSegment", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -14362,7 +16283,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } } } @@ -14379,12 +16300,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_chat_message item.", + "description": "Update an existing conversation_segment item.", "tags": [ "Items", - "ItemsProjectChatMessage" + "ItemsConversationSegment" ], - "operationId": "updateSingleItemsProjectChatMessage", + "operationId": "updateSingleItemsConversationSegment", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -14418,7 +16339,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } } } @@ -14433,7 +16354,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsConversationSegment" } } } @@ -14450,12 +16371,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_chat_message item.", + "description": "Delete an existing conversation_segment item.", "tags": [ "Items", - "ItemsProjectChatMessage" + "ItemsConversationSegment" ], - "operationId": "deleteSingleItemsProjectChatMessage", + "operationId": "deleteSingleItemsConversationSegment", "responses": { "200": { "description": "Successful request" @@ -14491,15 +16412,15 @@ ] } }, - "/items/project_chat_message_conversation": { + "/items/conversation": { "post": { "summary": "Create an Item", - "description": "Create a new project_chat_message_conversation item.", + "description": "Create a new conversation item.", "tags": [ "Items", - "ItemsProjectChatMessageConversation" + "ItemsConversation" ], - "operationId": "createItemsProjectChatMessageConversation", + "operationId": "createItemsConversation", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -14513,11 +16434,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } }, { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } ] } @@ -14534,7 +16455,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } } } @@ -14549,12 +16470,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_chat_message_conversation items.", + "description": "List the conversation items.", "tags": [ "Items", - "ItemsProjectChatMessageConversation" + "ItemsConversation" ], - "operationId": "readItemsProjectChatMessageConversation", + "operationId": "readItemsConversation", "security": [ { "Auth": [] @@ -14595,7 +16516,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } }, "meta": { @@ -14613,12 +16534,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_chat_message_conversation items at the same time.", + "description": "Update multiple conversation items at the same time.", "tags": [ "Items", - "ItemsProjectChatMessageConversation" + "ItemsConversation" ], - "operationId": "updateItemsProjectChatMessageConversation", + "operationId": "updateItemsConversation", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -14650,11 +16571,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } }, { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } ] } @@ -14670,7 +16591,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } } } @@ -14682,12 +16603,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_chat_message_conversation items.", + "description": "Delete multiple existing conversation items.", "tags": [ "Items", - "ItemsProjectChatMessageConversation" + "ItemsConversation" ], - "operationId": "deleteItemsProjectChatMessageConversation", + "operationId": "deleteItemsConversation", "responses": { "200": { "description": "Successful request" @@ -14699,15 +16620,15 @@ "parameters": [] } }, - "/items/project_chat_message_conversation/{id}": { + "/items/conversation/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_chat_message_conversation item by unique identifier.", + "description": "Retrieve a single conversation item by unique identifier.", "tags": [ "Items", - "ItemsProjectChatMessageConversation" + "ItemsConversation" ], - "operationId": "readSingleItemsProjectChatMessageConversation", + "operationId": "readSingleItemsConversation", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -14749,7 +16670,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } } } @@ -14766,12 +16687,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_chat_message_conversation item.", + "description": "Update an existing conversation item.", "tags": [ "Items", - "ItemsProjectChatMessageConversation" + "ItemsConversation" ], - "operationId": "updateSingleItemsProjectChatMessageConversation", + "operationId": "updateSingleItemsConversation", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -14805,7 +16726,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } } } @@ -14820,7 +16741,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsConversation" } } } @@ -14837,12 +16758,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_chat_message_conversation item.", + "description": "Delete an existing conversation item.", "tags": [ "Items", - "ItemsProjectChatMessageConversation" + "ItemsConversation" ], - "operationId": "deleteSingleItemsProjectChatMessageConversation", + "operationId": "deleteSingleItemsConversation", "responses": { "200": { "description": "Successful request" @@ -14878,15 +16799,15 @@ ] } }, - "/items/project_chat_message_conversation_1": { + "/items/project_chat_message": { "post": { "summary": "Create an Item", - "description": "Create a new project_chat_message_conversation_1 item.", + "description": "Create a new project_chat_message item.", "tags": [ "Items", - "ItemsProjectChatMessageConversation1" + "ItemsProjectChatMessage" ], - "operationId": "createItemsProjectChatMessageConversation1", + "operationId": "createItemsProjectChatMessage", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -14900,11 +16821,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } }, { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } ] } @@ -14921,7 +16842,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } } } @@ -14936,12 +16857,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_chat_message_conversation_1 items.", + "description": "List the project_chat_message items.", "tags": [ "Items", - "ItemsProjectChatMessageConversation1" + "ItemsProjectChatMessage" ], - "operationId": "readItemsProjectChatMessageConversation1", + "operationId": "readItemsProjectChatMessage", "security": [ { "Auth": [] @@ -14982,7 +16903,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } }, "meta": { @@ -15000,12 +16921,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_chat_message_conversation_1 items at the same time.", + "description": "Update multiple project_chat_message items at the same time.", "tags": [ "Items", - "ItemsProjectChatMessageConversation1" + "ItemsProjectChatMessage" ], - "operationId": "updateItemsProjectChatMessageConversation1", + "operationId": "updateItemsProjectChatMessage", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15037,11 +16958,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } }, { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } ] } @@ -15057,7 +16978,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } } } @@ -15069,12 +16990,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_chat_message_conversation_1 items.", + "description": "Delete multiple existing project_chat_message items.", "tags": [ "Items", - "ItemsProjectChatMessageConversation1" + "ItemsProjectChatMessage" ], - "operationId": "deleteItemsProjectChatMessageConversation1", + "operationId": "deleteItemsProjectChatMessage", "responses": { "200": { "description": "Successful request" @@ -15086,15 +17007,15 @@ "parameters": [] } }, - "/items/project_chat_message_conversation_1/{id}": { + "/items/project_chat_message/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_chat_message_conversation_1 item by unique identifier.", + "description": "Retrieve a single project_chat_message item by unique identifier.", "tags": [ "Items", - "ItemsProjectChatMessageConversation1" + "ItemsProjectChatMessage" ], - "operationId": "readSingleItemsProjectChatMessageConversation1", + "operationId": "readSingleItemsProjectChatMessage", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15136,7 +17057,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } } } @@ -15153,12 +17074,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_chat_message_conversation_1 item.", + "description": "Update an existing project_chat_message item.", "tags": [ "Items", - "ItemsProjectChatMessageConversation1" + "ItemsProjectChatMessage" ], - "operationId": "updateSingleItemsProjectChatMessageConversation1", + "operationId": "updateSingleItemsProjectChatMessage", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15192,7 +17113,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } } } @@ -15207,7 +17128,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } } } @@ -15224,12 +17145,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_chat_message_conversation_1 item.", + "description": "Delete an existing project_chat_message item.", "tags": [ "Items", - "ItemsProjectChatMessageConversation1" + "ItemsProjectChatMessage" ], - "operationId": "deleteSingleItemsProjectChatMessageConversation1", + "operationId": "deleteSingleItemsProjectChatMessage", "responses": { "200": { "description": "Successful request" @@ -15265,15 +17186,15 @@ ] } }, - "/items/project_chat_message_metadata": { + "/items/project": { "post": { "summary": "Create an Item", - "description": "Create a new project_chat_message_metadata item.", + "description": "Create a new project item.", "tags": [ "Items", - "ItemsProjectChatMessageMetadata" + "ItemsProject" ], - "operationId": "createItemsProjectChatMessageMetadata", + "operationId": "createItemsProject", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -15287,11 +17208,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } }, { - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } ] } @@ -15308,7 +17229,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } } } @@ -15323,12 +17244,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_chat_message_metadata items.", + "description": "List the project items.", "tags": [ "Items", - "ItemsProjectChatMessageMetadata" + "ItemsProject" ], - "operationId": "readItemsProjectChatMessageMetadata", + "operationId": "readItemsProject", "security": [ { "Auth": [] @@ -15369,7 +17290,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } }, "meta": { @@ -15387,12 +17308,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_chat_message_metadata items at the same time.", + "description": "Update multiple project items at the same time.", "tags": [ "Items", - "ItemsProjectChatMessageMetadata" + "ItemsProject" ], - "operationId": "updateItemsProjectChatMessageMetadata", + "operationId": "updateItemsProject", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15424,11 +17345,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } }, { - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } ] } @@ -15444,7 +17365,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } } } @@ -15456,12 +17377,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_chat_message_metadata items.", + "description": "Delete multiple existing project items.", "tags": [ "Items", - "ItemsProjectChatMessageMetadata" + "ItemsProject" ], - "operationId": "deleteItemsProjectChatMessageMetadata", + "operationId": "deleteItemsProject", "responses": { "200": { "description": "Successful request" @@ -15473,15 +17394,15 @@ "parameters": [] } }, - "/items/project_chat_message_metadata/{id}": { + "/items/project/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_chat_message_metadata item by unique identifier.", + "description": "Retrieve a single project item by unique identifier.", "tags": [ "Items", - "ItemsProjectChatMessageMetadata" + "ItemsProject" ], - "operationId": "readSingleItemsProjectChatMessageMetadata", + "operationId": "readSingleItemsProject", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15523,7 +17444,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } } } @@ -15540,12 +17461,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_chat_message_metadata item.", + "description": "Update an existing project item.", "tags": [ "Items", - "ItemsProjectChatMessageMetadata" + "ItemsProject" ], - "operationId": "updateSingleItemsProjectChatMessageMetadata", + "operationId": "updateSingleItemsProject", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15579,7 +17500,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } } } @@ -15594,7 +17515,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsProject" } } } @@ -15611,12 +17532,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_chat_message_metadata item.", + "description": "Delete an existing project item.", "tags": [ "Items", - "ItemsProjectChatMessageMetadata" + "ItemsProject" ], - "operationId": "deleteSingleItemsProjectChatMessageMetadata", + "operationId": "deleteSingleItemsProject", "responses": { "200": { "description": "Successful request" @@ -15652,15 +17573,15 @@ ] } }, - "/items/project_report": { + "/items/conversation_chunk": { "post": { "summary": "Create an Item", - "description": "Create a new project_report item.", + "description": "Create a new conversation_chunk item.", "tags": [ "Items", - "ItemsProjectReport" + "ItemsConversationChunk" ], - "operationId": "createItemsProjectReport", + "operationId": "createItemsConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -15674,11 +17595,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } }, { - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } ] } @@ -15695,7 +17616,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } } } @@ -15710,12 +17631,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_report items.", + "description": "List the conversation_chunk items.", "tags": [ "Items", - "ItemsProjectReport" + "ItemsConversationChunk" ], - "operationId": "readItemsProjectReport", + "operationId": "readItemsConversationChunk", "security": [ { "Auth": [] @@ -15756,7 +17677,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } }, "meta": { @@ -15774,12 +17695,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_report items at the same time.", + "description": "Update multiple conversation_chunk items at the same time.", "tags": [ "Items", - "ItemsProjectReport" + "ItemsConversationChunk" ], - "operationId": "updateItemsProjectReport", + "operationId": "updateItemsConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15811,11 +17732,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } }, { - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } ] } @@ -15831,7 +17752,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } } } @@ -15843,12 +17764,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_report items.", + "description": "Delete multiple existing conversation_chunk items.", "tags": [ "Items", - "ItemsProjectReport" + "ItemsConversationChunk" ], - "operationId": "deleteItemsProjectReport", + "operationId": "deleteItemsConversationChunk", "responses": { "200": { "description": "Successful request" @@ -15860,15 +17781,15 @@ "parameters": [] } }, - "/items/project_report/{id}": { + "/items/conversation_chunk/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_report item by unique identifier.", + "description": "Retrieve a single conversation_chunk item by unique identifier.", "tags": [ "Items", - "ItemsProjectReport" + "ItemsConversationChunk" ], - "operationId": "readSingleItemsProjectReport", + "operationId": "readSingleItemsConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15910,7 +17831,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } } } @@ -15927,12 +17848,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_report item.", + "description": "Update an existing conversation_chunk item.", "tags": [ "Items", - "ItemsProjectReport" + "ItemsConversationChunk" ], - "operationId": "updateSingleItemsProjectReport", + "operationId": "updateSingleItemsConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15966,7 +17887,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } } } @@ -15981,7 +17902,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsConversationChunk" } } } @@ -15998,12 +17919,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_report item.", + "description": "Delete an existing conversation_chunk item.", "tags": [ "Items", - "ItemsProjectReport" + "ItemsConversationChunk" ], - "operationId": "deleteSingleItemsProjectReport", + "operationId": "deleteSingleItemsConversationChunk", "responses": { "200": { "description": "Successful request" @@ -16039,15 +17960,15 @@ ] } }, - "/items/project_report_metric": { + "/items/quote_aspect_1": { "post": { "summary": "Create an Item", - "description": "Create a new project_report_metric item.", + "description": "Create a new quote_aspect_1 item.", "tags": [ "Items", - "ItemsProjectReportMetric" + "ItemsQuoteAspect1" ], - "operationId": "createItemsProjectReportMetric", + "operationId": "createItemsQuoteAspect1", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -16061,11 +17982,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } }, { - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } ] } @@ -16082,7 +18003,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } } } @@ -16097,12 +18018,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_report_metric items.", + "description": "List the quote_aspect_1 items.", "tags": [ "Items", - "ItemsProjectReportMetric" + "ItemsQuoteAspect1" ], - "operationId": "readItemsProjectReportMetric", + "operationId": "readItemsQuoteAspect1", "security": [ { "Auth": [] @@ -16143,7 +18064,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } }, "meta": { @@ -16161,12 +18082,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_report_metric items at the same time.", + "description": "Update multiple quote_aspect_1 items at the same time.", "tags": [ "Items", - "ItemsProjectReportMetric" + "ItemsQuoteAspect1" ], - "operationId": "updateItemsProjectReportMetric", + "operationId": "updateItemsQuoteAspect1", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -16198,11 +18119,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } }, { - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } ] } @@ -16218,7 +18139,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } } } @@ -16230,12 +18151,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_report_metric items.", + "description": "Delete multiple existing quote_aspect_1 items.", "tags": [ "Items", - "ItemsProjectReportMetric" + "ItemsQuoteAspect1" ], - "operationId": "deleteItemsProjectReportMetric", + "operationId": "deleteItemsQuoteAspect1", "responses": { "200": { "description": "Successful request" @@ -16247,15 +18168,15 @@ "parameters": [] } }, - "/items/project_report_metric/{id}": { + "/items/quote_aspect_1/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_report_metric item by unique identifier.", + "description": "Retrieve a single quote_aspect_1 item by unique identifier.", "tags": [ "Items", - "ItemsProjectReportMetric" + "ItemsQuoteAspect1" ], - "operationId": "readSingleItemsProjectReportMetric", + "operationId": "readSingleItemsQuoteAspect1", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -16297,7 +18218,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } } } @@ -16314,12 +18235,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_report_metric item.", + "description": "Update an existing quote_aspect_1 item.", "tags": [ "Items", - "ItemsProjectReportMetric" + "ItemsQuoteAspect1" ], - "operationId": "updateSingleItemsProjectReportMetric", + "operationId": "updateSingleItemsQuoteAspect1", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -16353,7 +18274,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } } } @@ -16368,7 +18289,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReportMetric" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } } } @@ -16385,12 +18306,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_report_metric item.", + "description": "Delete an existing quote_aspect_1 item.", "tags": [ "Items", - "ItemsProjectReportMetric" + "ItemsQuoteAspect1" ], - "operationId": "deleteSingleItemsProjectReportMetric", + "operationId": "deleteSingleItemsQuoteAspect1", "responses": { "200": { "description": "Successful request" @@ -16426,15 +18347,15 @@ ] } }, - "/items/project_report_notification_participants": { + "/items/quote_conversation_chunk": { "post": { "summary": "Create an Item", - "description": "Create a new project_report_notification_participants item.", + "description": "Create a new quote_conversation_chunk item.", "tags": [ "Items", - "ItemsProjectReportNotificationParticipants" + "ItemsQuoteConversationChunk" ], - "operationId": "createItemsProjectReportNotificationParticipants", + "operationId": "createItemsQuoteConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -16448,11 +18369,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } }, { - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } ] } @@ -16469,7 +18390,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } } } @@ -16484,12 +18405,12 @@ }, "get": { "summary": "List Items", - "description": "List the project_report_notification_participants items.", + "description": "List the quote_conversation_chunk items.", "tags": [ "Items", - "ItemsProjectReportNotificationParticipants" + "ItemsQuoteConversationChunk" ], - "operationId": "readItemsProjectReportNotificationParticipants", + "operationId": "readItemsQuoteConversationChunk", "security": [ { "Auth": [] @@ -16530,7 +18451,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } }, "meta": { @@ -16548,12 +18469,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple project_report_notification_participants items at the same time.", + "description": "Update multiple quote_conversation_chunk items at the same time.", "tags": [ "Items", - "ItemsProjectReportNotificationParticipants" + "ItemsQuoteConversationChunk" ], - "operationId": "updateItemsProjectReportNotificationParticipants", + "operationId": "updateItemsQuoteConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -16585,11 +18506,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } }, { - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } ] } @@ -16605,7 +18526,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } } } @@ -16617,12 +18538,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing project_report_notification_participants items.", + "description": "Delete multiple existing quote_conversation_chunk items.", "tags": [ "Items", - "ItemsProjectReportNotificationParticipants" + "ItemsQuoteConversationChunk" ], - "operationId": "deleteItemsProjectReportNotificationParticipants", + "operationId": "deleteItemsQuoteConversationChunk", "responses": { "200": { "description": "Successful request" @@ -16634,15 +18555,15 @@ "parameters": [] } }, - "/items/project_report_notification_participants/{id}": { + "/items/quote_conversation_chunk/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single project_report_notification_participants item by unique identifier.", + "description": "Retrieve a single quote_conversation_chunk item by unique identifier.", "tags": [ "Items", - "ItemsProjectReportNotificationParticipants" + "ItemsQuoteConversationChunk" ], - "operationId": "readSingleItemsProjectReportNotificationParticipants", + "operationId": "readSingleItemsQuoteConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -16684,7 +18605,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } } } @@ -16701,12 +18622,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing project_report_notification_participants item.", + "description": "Update an existing quote_conversation_chunk item.", "tags": [ "Items", - "ItemsProjectReportNotificationParticipants" + "ItemsQuoteConversationChunk" ], - "operationId": "updateSingleItemsProjectReportNotificationParticipants", + "operationId": "updateSingleItemsQuoteConversationChunk", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -16740,7 +18661,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } } } @@ -16755,7 +18676,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsProjectReportNotificationParticipants" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } } } @@ -16772,12 +18693,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing project_report_notification_participants item.", + "description": "Delete an existing quote_conversation_chunk item.", "tags": [ "Items", - "ItemsProjectReportNotificationParticipants" + "ItemsQuoteConversationChunk" ], - "operationId": "deleteSingleItemsProjectReportNotificationParticipants", + "operationId": "deleteSingleItemsQuoteConversationChunk", "responses": { "200": { "description": "Successful request" @@ -16813,15 +18734,15 @@ ] } }, - "/items/quote": { + "/items/processing_status": { "post": { "summary": "Create an Item", - "description": "Create a new quote item.", + "description": "Create a new processing_status item.", "tags": [ "Items", - "ItemsQuote" + "ItemsProcessingStatus" ], - "operationId": "createItemsQuote", + "operationId": "createItemsProcessingStatus", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -16835,11 +18756,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } }, { - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } ] } @@ -16856,7 +18777,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } } } @@ -16871,12 +18792,12 @@ }, "get": { "summary": "List Items", - "description": "List the quote items.", + "description": "List the processing_status items.", "tags": [ "Items", - "ItemsQuote" + "ItemsProcessingStatus" ], - "operationId": "readItemsQuote", + "operationId": "readItemsProcessingStatus", "security": [ { "Auth": [] @@ -16917,7 +18838,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } }, "meta": { @@ -16935,12 +18856,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple quote items at the same time.", + "description": "Update multiple processing_status items at the same time.", "tags": [ "Items", - "ItemsQuote" + "ItemsProcessingStatus" ], - "operationId": "updateItemsQuote", + "operationId": "updateItemsProcessingStatus", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -16972,11 +18893,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } }, { - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } ] } @@ -16992,7 +18913,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } } } @@ -17004,12 +18925,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing quote items.", + "description": "Delete multiple existing processing_status items.", "tags": [ "Items", - "ItemsQuote" + "ItemsProcessingStatus" ], - "operationId": "deleteItemsQuote", + "operationId": "deleteItemsProcessingStatus", "responses": { "200": { "description": "Successful request" @@ -17021,15 +18942,15 @@ "parameters": [] } }, - "/items/quote/{id}": { + "/items/processing_status/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single quote item by unique identifier.", + "description": "Retrieve a single processing_status item by unique identifier.", "tags": [ "Items", - "ItemsQuote" + "ItemsProcessingStatus" ], - "operationId": "readSingleItemsQuote", + "operationId": "readSingleItemsProcessingStatus", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -17071,7 +18992,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } } } @@ -17088,12 +19009,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing quote item.", + "description": "Update an existing processing_status item.", "tags": [ "Items", - "ItemsQuote" + "ItemsProcessingStatus" ], - "operationId": "updateSingleItemsQuote", + "operationId": "updateSingleItemsProcessingStatus", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -17127,7 +19048,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } } } @@ -17142,7 +19063,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsProcessingStatus" } } } @@ -17159,12 +19080,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing quote item.", + "description": "Delete an existing processing_status item.", "tags": [ "Items", - "ItemsQuote" + "ItemsProcessingStatus" ], - "operationId": "deleteSingleItemsQuote", + "operationId": "deleteSingleItemsProcessingStatus", "responses": { "200": { "description": "Successful request" @@ -17200,15 +19121,15 @@ ] } }, - "/items/quote_aspect": { + "/items/announcement": { "post": { "summary": "Create an Item", - "description": "Create a new quote_aspect item.", + "description": "Create a new announcement item.", "tags": [ "Items", - "ItemsQuoteAspect" + "ItemsAnnouncement" ], - "operationId": "createItemsQuoteAspect", + "operationId": "createItemsAnnouncement", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -17222,11 +19143,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } }, { - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } ] } @@ -17243,7 +19164,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } } } @@ -17258,12 +19179,12 @@ }, "get": { "summary": "List Items", - "description": "List the quote_aspect items.", + "description": "List the announcement items.", "tags": [ "Items", - "ItemsQuoteAspect" + "ItemsAnnouncement" ], - "operationId": "readItemsQuoteAspect", + "operationId": "readItemsAnnouncement", "security": [ { "Auth": [] @@ -17304,7 +19225,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } }, "meta": { @@ -17322,12 +19243,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple quote_aspect items at the same time.", + "description": "Update multiple announcement items at the same time.", "tags": [ "Items", - "ItemsQuoteAspect" + "ItemsAnnouncement" ], - "operationId": "updateItemsQuoteAspect", + "operationId": "updateItemsAnnouncement", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -17359,11 +19280,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } }, { - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } ] } @@ -17379,7 +19300,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } } } @@ -17391,12 +19312,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing quote_aspect items.", + "description": "Delete multiple existing announcement items.", "tags": [ "Items", - "ItemsQuoteAspect" + "ItemsAnnouncement" ], - "operationId": "deleteItemsQuoteAspect", + "operationId": "deleteItemsAnnouncement", "responses": { "200": { "description": "Successful request" @@ -17408,15 +19329,15 @@ "parameters": [] } }, - "/items/quote_aspect/{id}": { + "/items/announcement/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single quote_aspect item by unique identifier.", + "description": "Retrieve a single announcement item by unique identifier.", "tags": [ "Items", - "ItemsQuoteAspect" + "ItemsAnnouncement" ], - "operationId": "readSingleItemsQuoteAspect", + "operationId": "readSingleItemsAnnouncement", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -17458,7 +19379,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } } } @@ -17475,12 +19396,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing quote_aspect item.", + "description": "Update an existing announcement item.", "tags": [ "Items", - "ItemsQuoteAspect" + "ItemsAnnouncement" ], - "operationId": "updateSingleItemsQuoteAspect", + "operationId": "updateSingleItemsAnnouncement", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -17514,7 +19435,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } } } @@ -17529,7 +19450,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteAspect" + "$ref": "#/components/schemas/ItemsAnnouncement" } } } @@ -17546,12 +19467,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing quote_aspect item.", + "description": "Delete an existing announcement item.", "tags": [ "Items", - "ItemsQuoteAspect" + "ItemsAnnouncement" ], - "operationId": "deleteSingleItemsQuoteAspect", + "operationId": "deleteSingleItemsAnnouncement", "responses": { "200": { "description": "Successful request" @@ -17587,15 +19508,15 @@ ] } }, - "/items/quote_aspect_1": { + "/items/languages": { "post": { "summary": "Create an Item", - "description": "Create a new quote_aspect_1 item.", + "description": "Create a new languages item.", "tags": [ "Items", - "ItemsQuoteAspect1" + "ItemsLanguages" ], - "operationId": "createItemsQuoteAspect1", + "operationId": "createItemsLanguages", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -17609,11 +19530,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } }, { - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } ] } @@ -17630,7 +19551,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } } } @@ -17645,12 +19566,12 @@ }, "get": { "summary": "List Items", - "description": "List the quote_aspect_1 items.", + "description": "List the languages items.", "tags": [ "Items", - "ItemsQuoteAspect1" + "ItemsLanguages" ], - "operationId": "readItemsQuoteAspect1", + "operationId": "readItemsLanguages", "security": [ { "Auth": [] @@ -17691,7 +19612,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } }, "meta": { @@ -17709,12 +19630,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple quote_aspect_1 items at the same time.", + "description": "Update multiple languages items at the same time.", "tags": [ "Items", - "ItemsQuoteAspect1" + "ItemsLanguages" ], - "operationId": "updateItemsQuoteAspect1", + "operationId": "updateItemsLanguages", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -17746,11 +19667,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } }, { - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } ] } @@ -17766,7 +19687,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } } } @@ -17778,12 +19699,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing quote_aspect_1 items.", + "description": "Delete multiple existing languages items.", "tags": [ "Items", - "ItemsQuoteAspect1" + "ItemsLanguages" ], - "operationId": "deleteItemsQuoteAspect1", + "operationId": "deleteItemsLanguages", "responses": { "200": { "description": "Successful request" @@ -17795,15 +19716,15 @@ "parameters": [] } }, - "/items/quote_aspect_1/{id}": { + "/items/languages/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single quote_aspect_1 item by unique identifier.", + "description": "Retrieve a single languages item by unique identifier.", "tags": [ "Items", - "ItemsQuoteAspect1" + "ItemsLanguages" ], - "operationId": "readSingleItemsQuoteAspect1", + "operationId": "readSingleItemsLanguages", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -17845,7 +19766,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } } } @@ -17862,12 +19783,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing quote_aspect_1 item.", + "description": "Update an existing languages item.", "tags": [ "Items", - "ItemsQuoteAspect1" + "ItemsLanguages" ], - "operationId": "updateSingleItemsQuoteAspect1", + "operationId": "updateSingleItemsLanguages", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -17901,7 +19822,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } } } @@ -17916,7 +19837,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsLanguages" } } } @@ -17933,12 +19854,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing quote_aspect_1 item.", + "description": "Delete an existing languages item.", "tags": [ "Items", - "ItemsQuoteAspect1" + "ItemsLanguages" ], - "operationId": "deleteSingleItemsQuoteAspect1", + "operationId": "deleteSingleItemsLanguages", "responses": { "200": { "description": "Successful request" @@ -17974,15 +19895,15 @@ ] } }, - "/items/quote_conversation_chunk": { + "/items/announcement_translations": { "post": { "summary": "Create an Item", - "description": "Create a new quote_conversation_chunk item.", + "description": "Create a new announcement_translations item.", "tags": [ "Items", - "ItemsQuoteConversationChunk" + "ItemsAnnouncementTranslations" ], - "operationId": "createItemsQuoteConversationChunk", + "operationId": "createItemsAnnouncementTranslations", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -17996,11 +19917,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } }, { - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } ] } @@ -18017,7 +19938,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } } } @@ -18032,12 +19953,12 @@ }, "get": { "summary": "List Items", - "description": "List the quote_conversation_chunk items.", + "description": "List the announcement_translations items.", "tags": [ "Items", - "ItemsQuoteConversationChunk" + "ItemsAnnouncementTranslations" ], - "operationId": "readItemsQuoteConversationChunk", + "operationId": "readItemsAnnouncementTranslations", "security": [ { "Auth": [] @@ -18078,7 +19999,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } }, "meta": { @@ -18096,12 +20017,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple quote_conversation_chunk items at the same time.", + "description": "Update multiple announcement_translations items at the same time.", "tags": [ "Items", - "ItemsQuoteConversationChunk" + "ItemsAnnouncementTranslations" ], - "operationId": "updateItemsQuoteConversationChunk", + "operationId": "updateItemsAnnouncementTranslations", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -18133,11 +20054,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } }, { - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } ] } @@ -18153,7 +20074,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } } } @@ -18165,12 +20086,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing quote_conversation_chunk items.", + "description": "Delete multiple existing announcement_translations items.", "tags": [ "Items", - "ItemsQuoteConversationChunk" + "ItemsAnnouncementTranslations" ], - "operationId": "deleteItemsQuoteConversationChunk", + "operationId": "deleteItemsAnnouncementTranslations", "responses": { "200": { "description": "Successful request" @@ -18182,15 +20103,15 @@ "parameters": [] } }, - "/items/quote_conversation_chunk/{id}": { + "/items/announcement_translations/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single quote_conversation_chunk item by unique identifier.", + "description": "Retrieve a single announcement_translations item by unique identifier.", "tags": [ "Items", - "ItemsQuoteConversationChunk" + "ItemsAnnouncementTranslations" ], - "operationId": "readSingleItemsQuoteConversationChunk", + "operationId": "readSingleItemsAnnouncementTranslations", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -18232,7 +20153,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } } } @@ -18249,12 +20170,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing quote_conversation_chunk item.", + "description": "Update an existing announcement_translations item.", "tags": [ "Items", - "ItemsQuoteConversationChunk" + "ItemsAnnouncementTranslations" ], - "operationId": "updateSingleItemsQuoteConversationChunk", + "operationId": "updateSingleItemsAnnouncementTranslations", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -18288,7 +20209,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } } } @@ -18303,7 +20224,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } } } @@ -18320,12 +20241,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing quote_conversation_chunk item.", + "description": "Delete an existing announcement_translations item.", "tags": [ "Items", - "ItemsQuoteConversationChunk" + "ItemsAnnouncementTranslations" ], - "operationId": "deleteSingleItemsQuoteConversationChunk", + "operationId": "deleteSingleItemsAnnouncementTranslations", "responses": { "200": { "description": "Successful request" @@ -18361,45 +20282,39 @@ ] } }, - "/comments": { - "get": { + "/items/dashboard_announcements_translations": { + "post": { + "summary": "Create an Item", + "description": "Create a new dashboard_announcements_translations item.", "tags": [ - "Comments" - ], - "operationId": "getComments", - "summary": "List Comments", - "description": "List the comments.", - "security": [ - { - "Auth": [] - } + "Items", + "ItemsDashboardAnnouncementsTranslations" ], + "operationId": "createItemsDashboardAnnouncementsTranslations", "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Page" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, { "$ref": "#/components/parameters/Meta" } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" + } + }, + { + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" + } + ] + } + } + } + }, "responses": { "200": { "description": "Successful request", @@ -18409,13 +20324,9 @@ "type": "object", "properties": { "data": { - "type": "array", "items": { - "$ref": "#/components/schemas/Comments" + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" } } } @@ -18427,50 +20338,42 @@ } } }, - "post": { + "get": { + "summary": "List Items", + "description": "List the dashboard_announcements_translations items.", "tags": [ - "Comments" + "Items", + "ItemsDashboardAnnouncementsTranslations" + ], + "operationId": "readItemsDashboardAnnouncementsTranslations", + "security": [ + { + "Auth": [] + } ], - "operationId": "createComment", - "summary": "Create a Comment", - "description": "Create a new comment.", "parameters": [ { "$ref": "#/components/parameters/Fields" }, + { + "$ref": "#/components/parameters/Limit" + }, { "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "collection", - "item", - "comment" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this collection comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "A new comment" - } - } - } - } - } - }, "responses": { "200": { "description": "Successful request", @@ -18480,7 +20383,14 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Comments" + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -18493,12 +20403,13 @@ } }, "patch": { - "summary": "Update Multiple Comments", - "description": "Update multiple comments at the same time.", + "summary": "Update Multiple Items", + "description": "Update multiple dashboard_announcements_translations items at the same time.", "tags": [ - "Comments" + "Items", + "ItemsDashboardAnnouncementsTranslations" ], - "operationId": "updateComments", + "operationId": "updateItemsDashboardAnnouncementsTranslations", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -18526,36 +20437,17 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "keys": { + "oneOf": [ + { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" } }, - "data": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this collection comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "A new comment" - } - } + { + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" } - } + ] } } } @@ -18566,34 +20458,27 @@ "content": { "application/json": { "schema": { - "type": "object", "properties": { "data": { - "type": "array", "items": { - "$ref": "#/components/schemas/Comments" + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" } } } } } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" } } }, "delete": { - "summary": "Delete Multiple Comments", - "description": "Delete multiple existing comments.", + "summary": "Delete Multiple Items", + "description": "Delete multiple existing dashboard_announcements_translations items.", "tags": [ - "Comments" + "Items", + "ItemsDashboardAnnouncementsTranslations" ], - "operationId": "deleteComments", + "operationId": "deleteItemsDashboardAnnouncementsTranslations", "responses": { "200": { "description": "Successful request" @@ -18601,28 +20486,48 @@ "401": { "$ref": "#/components/responses/UnauthorizedError" } - } + }, + "parameters": [] } }, - "/comments/{id}": { + "/items/dashboard_announcements_translations/{id}": { "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single dashboard_announcements_translations item by unique identifier.", "tags": [ - "Comments" - ], - "operationId": "getComment", - "summary": "Retrieve a Comment", - "description": "Retrieve a single comment by unique identifier.", - "security": [ - { - "Auth": [] - } + "Items", + "ItemsDashboardAnnouncementsTranslations" ], + "operationId": "readSingleItemsDashboardAnnouncementsTranslations", "parameters": [ { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ], "responses": { @@ -18634,7 +20539,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Comments" + "type": "object", + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" } } } @@ -18643,22 +20549,46 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } } }, "patch": { + "summary": "Update an Item", + "description": "Update an existing dashboard_announcements_translations item.", "tags": [ - "Comments" + "Items", + "ItemsDashboardAnnouncementsTranslations" ], - "operationId": "updateComment", - "summary": "Update a Comment", - "description": "Update an existing comment.", + "operationId": "updateSingleItemsDashboardAnnouncementsTranslations", "parameters": [ { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } } ], "requestBody": { @@ -18666,24 +20596,7 @@ "application/json": { "schema": { "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "An updated comment" - } - } + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" } } } @@ -18697,7 +20610,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Comments" + "type": "object", + "$ref": "#/components/schemas/ItemsDashboardAnnouncementsTranslations" } } } @@ -18713,36 +20627,57 @@ } }, "delete": { + "summary": "Delete an Item", + "description": "Delete an existing dashboard_announcements_translations item.", "tags": [ - "Comments" - ], - "operationId": "deleteComment", - "summary": "Delete a Comment", - "description": "Delete an existing comment.", - "security": [ - { - "Auth": [] - } + "Items", + "ItemsDashboardAnnouncementsTranslations" ], + "operationId": "deleteSingleItemsDashboardAnnouncementsTranslations", "responses": { "200": { "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } - } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] } }, - "/items/directus_sync_id_map": { + "/items/announcement_activity": { "post": { "summary": "Create an Item", - "description": "Create a new directus_sync_id_map item.", + "description": "Create a new announcement_activity item.", "tags": [ "Items", - "ItemsDirectusSyncIDMap" + "ItemsAnnouncementActivity" ], - "operationId": "createItemsDirectusSyncIDMap", + "operationId": "createItemsAnnouncementActivity", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -18756,11 +20691,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } }, { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } ] } @@ -18777,7 +20712,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } } } @@ -18792,12 +20727,12 @@ }, "get": { "summary": "List Items", - "description": "List the directus_sync_id_map items.", + "description": "List the announcement_activity items.", "tags": [ "Items", - "ItemsDirectusSyncIDMap" + "ItemsAnnouncementActivity" ], - "operationId": "readItemsDirectusSyncIDMap", + "operationId": "readItemsAnnouncementActivity", "security": [ { "Auth": [] @@ -18838,7 +20773,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } }, "meta": { @@ -18856,12 +20791,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple directus_sync_id_map items at the same time.", + "description": "Update multiple announcement_activity items at the same time.", "tags": [ "Items", - "ItemsDirectusSyncIDMap" + "ItemsAnnouncementActivity" ], - "operationId": "updateItemsDirectusSyncIDMap", + "operationId": "updateItemsAnnouncementActivity", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -18893,11 +20828,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } }, { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } ] } @@ -18913,7 +20848,7 @@ "properties": { "data": { "items": { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } } } @@ -18925,12 +20860,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing directus_sync_id_map items.", + "description": "Delete multiple existing announcement_activity items.", "tags": [ "Items", - "ItemsDirectusSyncIDMap" + "ItemsAnnouncementActivity" ], - "operationId": "deleteItemsDirectusSyncIDMap", + "operationId": "deleteItemsAnnouncementActivity", "responses": { "200": { "description": "Successful request" @@ -18942,15 +20877,15 @@ "parameters": [] } }, - "/items/directus_sync_id_map/{id}": { + "/items/announcement_activity/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single directus_sync_id_map item by unique identifier.", + "description": "Retrieve a single announcement_activity item by unique identifier.", "tags": [ "Items", - "ItemsDirectusSyncIDMap" + "ItemsAnnouncementActivity" ], - "operationId": "readSingleItemsDirectusSyncIDMap", + "operationId": "readSingleItemsAnnouncementActivity", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -18992,7 +20927,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } } } @@ -19009,12 +20944,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing directus_sync_id_map item.", + "description": "Update an existing announcement_activity item.", "tags": [ "Items", - "ItemsDirectusSyncIDMap" + "ItemsAnnouncementActivity" ], - "operationId": "updateSingleItemsDirectusSyncIDMap", + "operationId": "updateSingleItemsAnnouncementActivity", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -19048,7 +20983,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } } } @@ -19063,7 +20998,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } } } @@ -19080,12 +21015,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing directus_sync_id_map item.", + "description": "Delete an existing announcement_activity item.", "tags": [ "Items", - "ItemsDirectusSyncIDMap" + "ItemsAnnouncementActivity" ], - "operationId": "deleteSingleItemsDirectusSyncIDMap", + "operationId": "deleteSingleItemsAnnouncementActivity", "responses": { "200": { "description": "Successful request" @@ -19165,10 +21100,6 @@ "description": "Collections are the individual collections of items, similar to tables in a database. Changes to collections will alter the schema of the database.", "x-collection": "directus_collections" }, - { - "name": "ItemsProcessingStatus", - "x-collection": "processing_status" - }, { "name": "Revisions", "description": "Revisions are individual changes to items made. Directus keeps track of changes made, so you're able to revert to a previous state at will.", @@ -19185,20 +21116,15 @@ "x-collection": "directus_activity" }, { - "name": "Webhooks", - "description": "Webhooks.", - "x-collection": "directus_webhooks" + "name": "Fields", + "description": "Fields are individual pieces of content within an item. They are mapped to columns in the database.", + "x-collection": "directus_fields" }, { "name": "Files", "description": "Files can be saved in any given location. Directus has a powerful assets endpoint that can be used to generate thumbnails for images on the fly.", "x-collection": "directus_files" }, - { - "name": "Permissions", - "description": "Permissions control who has access to what and when.", - "x-collection": "directus_permissions" - }, { "name": "Relations", "description": "What data is linked to what other data. Allows you to assign authors to articles, products to sales, and whatever other structures you can think of.", @@ -19210,17 +21136,57 @@ "x-collection": "directus_presets" }, { - "name": "Settings", - "description": "Settings control the way the platform works and acts.", - "x-collection": "directus_settings" + "name": "Permissions", + "description": "Permissions control who has access to what and when.", + "x-collection": "directus_permissions" + }, + { + "name": "Settings", + "description": "Settings control the way the platform works and acts.", + "x-collection": "directus_settings" + }, + { + "name": "Flows", + "description": "Flows enable custom, event-driven data processing and task automation.", + "x-collection": "directus_flows" + }, + { + "name": "Operations", + "description": "Operations are the building blocks within Data Flows.", + "x-collection": "directus_operations" + }, + { + "name": "ItemsDirectusSyncIDMap", + "x-collection": "directus_sync_id_map" + }, + { + "name": "Extensions", + "description": "Directus can easily be extended through the addition of several types of extensions, including layouts, interfaces, and modules.", + "x-collection": "directus_extensions" + }, + { + "name": "Webhooks", + "description": "Webhooks.", + "x-collection": "directus_webhooks" + }, + { + "name": "Comments", + "description": "Comments can be added to items.", + "x-collection": "directus_comments" + }, + { + "name": "Versions", + "description": "Enables users to create unpublished copies of an item, modify them independently from the main version, and promote them to become the new main version when ready.", + "x-collection": "directus_versions" }, { "name": "ItemsAspect", "x-collection": "aspect" }, { - "name": "ItemsConversationChunk", - "x-collection": "conversation_chunk" + "name": "Users", + "description": "Users are what gives you access to the data.", + "x-collection": "directus_users" }, { "name": "ItemsAccount", @@ -19234,10 +21200,6 @@ "name": "ItemsView", "x-collection": "view" }, - { - "name": "ItemsConversation", - "x-collection": "conversation" - }, { "name": "ItemsConversationProjectTag", "x-collection": "conversation_project_tag" @@ -19250,10 +21212,6 @@ "name": "ItemsConversationReply", "x-collection": "conversation_reply" }, - { - "name": "ItemsConversationSegment", - "x-collection": "conversation_segment" - }, { "name": "ItemsConversationSegmentConversationChunk", "x-collection": "conversation_segment_conversation_chunk" @@ -19274,48 +21232,10 @@ "name": "ItemsProjectChat", "x-collection": "project_chat" }, - { - "name": "ItemsProject", - "x-collection": "project" - }, { "name": "ItemsProjectChatConversation", "x-collection": "project_chat_conversation" }, - { - "name": "Fields", - "description": "Fields are individual pieces of content within an item. They are mapped to columns in the database.", - "x-collection": "directus_fields" - }, - { - "name": "Flows", - "description": "Flows enable custom, event-driven data processing and task automation.", - "x-collection": "directus_flows" - }, - { - "name": "Operations", - "description": "Operations are the building blocks within Data Flows.", - "x-collection": "directus_operations" - }, - { - "name": "Users", - "description": "Users are what gives you access to the data.", - "x-collection": "directus_users" - }, - { - "name": "Extensions", - "description": "Directus can easily be extended through the addition of several types of extensions, including layouts, interfaces, and modules.", - "x-collection": "directus_extensions" - }, - { - "name": "Versions", - "description": "Enables users to create unpublished copies of an item, modify them independently from the main version, and promote them to become the new main version when ready.", - "x-collection": "directus_versions" - }, - { - "name": "ItemsProjectChatMessage", - "x-collection": "project_chat_message" - }, { "name": "ItemsProjectChatMessageConversation", "x-collection": "project_chat_message_conversation" @@ -19348,6 +21268,26 @@ "name": "ItemsQuoteAspect", "x-collection": "quote_aspect" }, + { + "name": "ItemsConversationSegment", + "x-collection": "conversation_segment" + }, + { + "name": "ItemsConversation", + "x-collection": "conversation" + }, + { + "name": "ItemsProjectChatMessage", + "x-collection": "project_chat_message" + }, + { + "name": "ItemsProject", + "x-collection": "project" + }, + { + "name": "ItemsConversationChunk", + "x-collection": "conversation_chunk" + }, { "name": "ItemsQuoteAspect1", "x-collection": "quote_aspect_1" @@ -19357,13 +21297,28 @@ "x-collection": "quote_conversation_chunk" }, { - "name": "Comments", - "description": "Comments can be added to items.", - "x-collection": "directus_comments" + "name": "ItemsProcessingStatus", + "x-collection": "processing_status" }, { - "name": "ItemsDirectusSyncIDMap", - "x-collection": "directus_sync_id_map" + "name": "ItemsAnnouncement", + "x-collection": "announcement" + }, + { + "name": "ItemsLanguages", + "x-collection": "languages" + }, + { + "name": "ItemsAnnouncementTranslations", + "x-collection": "announcement_translations" + }, + { + "name": "ItemsDashboardAnnouncementsTranslations", + "x-collection": "dashboard_announcements_translations" + }, + { + "name": "ItemsAnnouncementActivity", + "x-collection": "announcement_activity" } ], "components": { @@ -19848,232 +21803,611 @@ "type": "string", "nullable": true }, - "last_access": { - "description": "When this user used the API last.", - "example": "2020-05-31T14:32:37Z", - "type": "string", + "last_access": { + "description": "When this user used the API last.", + "example": "2020-05-31T14:32:37Z", + "type": "string", + "nullable": true, + "format": "date-time" + }, + "last_page": { + "description": "Last page that the user was on.", + "example": "/my-project/settings/collections/a", + "type": "string", + "nullable": true + }, + "provider": { + "nullable": false, + "type": "string" + }, + "external_identifier": { + "nullable": true, + "type": "string" + }, + "auth_data": { + "nullable": true + }, + "email_notifications": { + "nullable": true, + "type": "boolean" + }, + "appearance": { + "nullable": true, + "type": "string" + }, + "theme_dark": { + "nullable": true, + "type": "string" + }, + "theme_light": { + "nullable": true, + "type": "string" + }, + "theme_light_overrides": { + "nullable": true + }, + "theme_dark_overrides": { + "nullable": true + }, + "disable_create_project": { + "nullable": true, + "description": "If this is set, user won't be able to create projects using the Dashboard. Limitation: Internally / using the API they still can", + "type": "boolean" + }, + "accounts": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsAccountDirectusUsers" + } + ] + } + }, + "projects": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProject" + } + ] + } + }, + "policies": { + "nullable": true + } + }, + "x-collection": "directus_users" + }, + "Query": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Control what fields are being returned in the object.", + "example": [ + "*", + "*.*" + ] + }, + "filter": { + "type": "object", + "example": { + "": { + "": "" + } + } + }, + "search": { + "description": "Filter by items that contain the given search query in one of their fields.", + "type": "string" + }, + "sort": { + "type": "array", + "items": { + "type": "string" + }, + "description": "How to sort the returned items.", + "example": [ + "-date_created" + ] + }, + "limit": { + "type": "number", + "description": "Set the maximum number of items that will be returned" + }, + "offset": { + "type": "number", + "description": "How many items to skip when fetching data." + }, + "page": { + "type": "number", + "description": "Cursor for use in pagination. Often used in combination with limit." + }, + "deep": { + "type": "object", + "description": "Deep allows you to set any of the other query parameters on a nested relational dataset.", + "example": { + "related_articles": { + "_limit": 3 + } + } + } + } + }, + "x-metadata": { + "type": "object", + "properties": { + "total_count": { + "description": "Returns the total item count of the collection you're querying.", + "type": "integer" + }, + "filter_count": { + "description": "Returns the item count of the collection you're querying, taking the current filter/search parameters into account.", + "type": "integer" + } + } + }, + "Collections": { + "type": "object", + "properties": { + "collection": { + "description": "The collection key.", + "example": "customers", + "type": "string" + }, + "icon": { "nullable": true, - "format": "date-time" - }, - "last_page": { - "description": "Last page that the user was on.", - "example": "/my-project/settings/collections/a", - "type": "string", - "nullable": true + "type": "string" }, - "provider": { - "nullable": false, + "note": { + "nullable": true, "type": "string" }, - "external_identifier": { + "display_template": { "nullable": true, "type": "string" }, - "auth_data": { + "hidden": { + "nullable": false, + "type": "boolean" + }, + "singleton": { + "nullable": false, + "type": "boolean" + }, + "translations": { "nullable": true }, - "email_notifications": { + "archive_field": { "nullable": true, + "type": "string" + }, + "archive_app_filter": { + "nullable": false, "type": "boolean" }, - "appearance": { + "archive_value": { "nullable": true, "type": "string" }, - "theme_dark": { + "unarchive_value": { "nullable": true, "type": "string" }, - "theme_light": { + "sort_field": { "nullable": true, "type": "string" }, - "theme_light_overrides": { - "nullable": true + "accountability": { + "nullable": true, + "type": "string" }, - "theme_dark_overrides": { + "color": { + "nullable": true, + "type": "string" + }, + "item_duplication_fields": { "nullable": true }, - "disable_create_project": { + "sort": { "nullable": true, - "description": "If this is set, user won't be able to create projects using the Dashboard. Limitation: Internally / using the API they still can", - "type": "boolean" + "type": "integer" }, - "accounts": { + "group": { "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsAccountDirectusUsers" - } - ] - } + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] }, - "projects": { + "collapse": { + "nullable": false, + "type": "string" + }, + "preview_url": { "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsProject" - } - ] - } + "type": "string" }, - "policies": { - "nullable": true + "versioning": { + "nullable": false, + "type": "boolean" } }, - "x-collection": "directus_users" + "x-collection": "directus_collections" }, - "Query": { + "Revisions": { "type": "object", "properties": { - "fields": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Control what fields are being returned in the object.", - "example": [ - "*", - "*.*" + "id": { + "description": "Unique identifier for the revision.", + "example": 1, + "type": "integer" + }, + "activity": { + "description": "Unique identifier for the activity record.", + "example": 2, + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/Activity" + } ] }, - "filter": { + "collection": { + "description": "Collection of the updated item.", + "example": "articles", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "item": { + "description": "Primary key of updated item.", + "example": "168", + "type": "string" + }, + "data": { + "description": "Copy of item state at time of update.", + "example": { + "author": 1, + "body": "This is my first post", + "featured_image": 15, + "id": "168", + "title": "Hello, World!" + }, "type": "object", + "nullable": true + }, + "delta": { + "description": "Changes between the previous and the current revision.", "example": { - "": { - "": "" + "title": "Hello, World!" + }, + "type": "object" + }, + "parent": { + "description": "If the current item was updated relationally, this is the id of the parent revision record", + "example": null, + "type": "integer", + "nullable": true + }, + "version": { + "description": "Associated version of this revision.", + "example": "draft", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Versions" } - } + ] + } + }, + "x-collection": "directus_revisions" + }, + "Activity": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the object.", + "example": 2, + "type": "integer" + }, + "action": { + "description": "Action that was performed.", + "example": "update", + "type": "string", + "enum": [ + "create", + "update", + "delete", + "login" + ] + }, + "user": { + "description": "The user who performed this action.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ], + "nullable": true + }, + "timestamp": { + "description": "When the action happened.", + "example": "2019-12-05T22:52:09Z", + "type": "string", + "format": "date-time" + }, + "ip": { + "description": "The IP address of the user at the time the action took place.", + "example": "127.0.0.1", + "oneOf": [ + { + "type": "string", + "format": "ipv4" + } + ] + }, + "user_agent": { + "description": "User agent string of the browser the user used when the action took place.", + "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/78.0.3904.108 Safari/537.36", + "type": "string" + }, + "collection": { + "description": "Collection identifier in which the item resides.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "item": { + "description": "Unique identifier for the item the action applied to. This is always a string, even for integer primary keys.", + "example": "328", + "type": "string" }, - "search": { - "description": "Filter by items that contain the given search query in one of their fields.", + "origin": { + "description": "Origin of the request when the action took place.", + "example": "https://directus.io", "type": "string" }, - "sort": { + "revisions": { + "nullable": true, "type": "array", "items": { - "type": "string" - }, - "description": "How to sort the returned items.", - "example": [ - "-date_created" - ] - }, - "limit": { - "type": "number", - "description": "Set the maximum number of items that will be returned" - }, - "offset": { - "type": "number", - "description": "How many items to skip when fetching data." - }, - "page": { - "type": "number", - "description": "Cursor for use in pagination. Often used in combination with limit." - }, - "deep": { - "type": "object", - "description": "Deep allows you to set any of the other query parameters on a nested relational dataset.", - "example": { - "related_articles": { - "_limit": 3 - } + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/Revisions" + } + ] } } - } + }, + "x-collection": "directus_activity" }, - "x-metadata": { + "Fields": { "type": "object", "properties": { - "total_count": { - "description": "Returns the total item count of the collection you're querying.", + "id": { + "nullable": false, "type": "integer" }, - "filter_count": { - "description": "Returns the item count of the collection you're querying, taking the current filter/search parameters into account.", - "type": "integer" - } - } - }, - "Collections": { - "type": "object", - "properties": { "collection": { - "description": "The collection key.", - "example": "customers", + "description": "Unique name of the collection this field is in.", + "example": "about_us", "type": "string" }, - "icon": { - "nullable": true, + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "id", "type": "string" }, - "note": { + "special": { + "nullable": true, + "type": "array", + "items": { + "type": "string" + } + }, + "interface": { "nullable": true, "type": "string" }, - "display_template": { + "options": { + "nullable": true + }, + "display": { "nullable": true, "type": "string" }, - "hidden": { + "display_options": { + "nullable": true + }, + "readonly": { "nullable": false, "type": "boolean" }, - "singleton": { + "hidden": { "nullable": false, "type": "boolean" }, + "sort": { + "nullable": true, + "type": "integer" + }, + "width": { + "nullable": true, + "type": "string" + }, "translations": { "nullable": true }, - "archive_field": { + "note": { "nullable": true, "type": "string" }, - "archive_app_filter": { - "nullable": false, + "conditions": { + "nullable": true + }, + "required": { + "nullable": true, "type": "boolean" }, - "archive_value": { + "group": { "nullable": true, - "type": "string" + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/Fields" + } + ] }, - "unarchive_value": { + "validation": { + "nullable": true + }, + "validation_message": { "nullable": true, "type": "string" + } + }, + "x-collection": "directus_fields" + }, + "Relations": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the relation.", + "example": 1, + "type": "integer" + }, + "many_collection": { + "description": "Collection that has the field that holds the foreign key.", + "example": "directus_activity", + "type": "string" }, - "sort_field": { - "nullable": true, + "many_field": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "example": "user", "type": "string" }, - "accountability": { - "nullable": true, + "one_collection": { + "description": "Collection on the _one_ side of the relationship.", + "example": "directus_users", "type": "string" }, - "color": { + "one_field": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "example": null, + "type": "string", + "nullable": true + }, + "one_collection_field": { "nullable": true, "type": "string" }, - "item_duplication_fields": { + "one_allowed_collections": { + "nullable": true, + "type": "array", + "items": { + "type": "string" + } + }, + "junction_field": { + "description": "Field on the junction table that holds the many field of the related relation.", + "example": null, + "type": "string", "nullable": true }, - "sort": { + "sort_field": { "nullable": true, + "type": "string" + }, + "one_deselect_action": { + "nullable": false, + "type": "string" + } + }, + "x-collection": "directus_relations" + }, + "Presets": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for this single collection preset.", + "example": 155, "type": "integer" }, - "group": { + "bookmark": { + "description": "Name for the bookmark. If this is set, the preset will be considered a bookmark.", + "nullable": true, + "type": "string" + }, + "user": { + "description": "The unique identifier of the user to whom this collection preset applies.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "role": { + "description": "The unique identifier of a role in the platform. If `user` is null, this will be used to apply the collection preset or bookmark for all users in the role.", + "example": "50419801-0f30-8644-2b3c-9bc2d980d0a0", "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Roles" + } + ] + }, + "collection": { + "description": "What collection this collection preset is used for.", + "example": "articles", "oneOf": [ { "type": "string" @@ -20083,771 +22417,860 @@ } ] }, - "collapse": { - "nullable": false, - "type": "string" + "search": { + "description": "Search query.", + "type": "string", + "nullable": true + }, + "layout": { + "description": "Key of the layout that is used.", + "type": "string", + "example": null + }, + "layout_query": { + "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters.", + "example": { + "cards": { + "sort": "-published_on" + } + }, + "nullable": true + }, + "layout_options": { + "description": "Options of the views. The properties in here are controlled by the layout.", + "example": { + "cards": { + "icon": "account_circle", + "title": "{{ first_name }} {{ last_name }}", + "subtitle": "{{ title }}", + "size": 3 + } + }, + "nullable": true + }, + "refresh_interval": { + "nullable": true, + "type": "integer" + }, + "filter": { + "nullable": true }, - "preview_url": { + "icon": { "nullable": true, "type": "string" }, - "versioning": { - "nullable": false, - "type": "boolean" + "color": { + "nullable": true, + "type": "string" } }, - "x-collection": "directus_collections" + "x-collection": "directus_presets" }, - "ItemsProcessingStatus": { + "Permissions": { "type": "object", "properties": { - "collection_name": { - "nullable": true, - "type": "string" - }, - "duration_ms": { - "nullable": true, + "id": { + "description": "Unique identifier for the permission.", + "example": 1, "type": "integer" }, - "event": { - "nullable": true, + "collection": { + "description": "What collection this permission applies to.", + "example": "customers", "type": "string" }, - "id": { - "nullable": false, - "type": "integer", - "format": "int64" + "action": { + "description": "What action this permission applies to.", + "example": "create", + "type": "string", + "enum": [ + "create", + "read", + "update", + "delete" + ] }, - "item_id": { - "nullable": true, - "type": "string" + "permissions": { + "description": "JSON structure containing the permissions checks for this permission.", + "type": "object", + "nullable": true }, - "json": { - "nullable": true, - "type": "string" + "validation": { + "description": "JSON structure containing the validation checks for this permission.", + "type": "object", + "nullable": true }, - "message": { - "nullable": true, - "type": "string" + "presets": { + "description": "JSON structure containing the preset value for created/updated items.", + "type": "object", + "nullable": true }, - "timestamp": { - "nullable": true, - "type": "string", - "format": "timestamp" + "fields": { + "description": "CSV of fields that the user is allowed to interact with.", + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "policy": { + "nullable": false } }, - "x-collection": "processing_status" + "x-collection": "directus_permissions" }, - "Revisions": { + "Settings": { "type": "object", "properties": { "id": { - "description": "Unique identifier for the revision.", - "example": 1, - "type": "integer" + "description": "Unique identifier for the setting.", + "type": "integer", + "example": 1 }, - "activity": { - "description": "Unique identifier for the activity record.", - "example": 2, - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/Activity" - } - ] + "project_name": { + "description": "The name of the project.", + "type": "string", + "example": "Directus" }, - "collection": { - "description": "Collection of the updated item.", - "example": "articles", - "oneOf": [ - { + "project_url": { + "description": "The url of the project.", + "type": "string", + "example": null, + "nullable": true + }, + "project_color": { + "description": "The brand color of the project.", + "type": "string", + "example": null, + "nullable": true + }, + "project_logo": { + "description": "The logo of the project.", + "type": "string", + "example": null, + "nullable": true + }, + "public_foreground": { + "description": "The foreground of the project.", + "type": "string", + "example": null, + "nullable": true + }, + "public_background": { + "description": "The background of the project.", + "type": "object", + "properties": { + "id": { "type": "string" }, - { - "$ref": "#/components/schemas/Collections" + "type": { + "type": "string" } - ] + }, + "example": null, + "nullable": true }, - "item": { - "description": "Primary key of updated item.", - "example": "168", - "type": "string" + "public_note": { + "description": "Note rendered on the public pages of the app.", + "type": "string", + "example": null, + "nullable": true }, - "data": { - "description": "Copy of item state at time of update.", - "example": { - "author": 1, - "body": "This is my first post", - "featured_image": 15, - "id": "168", - "title": "Hello, World!" - }, - "type": "object", + "auth_login_attempts": { + "description": "Allowed authentication login attempts before the user's status is set to blocked.", + "type": "integer", + "example": 25 + }, + "auth_password_policy": { + "description": "Authentication password policy.", + "type": "string", "nullable": true }, - "delta": { - "description": "Changes between the previous and the current revision.", - "example": { - "title": "Hello, World!" + "storage_asset_transform": { + "description": "What transformations are allowed in the assets endpoint.", + "type": "string", + "enum": [ + "all", + "none", + "presets" + ], + "example": "all", + "nullable": true + }, + "storage_asset_presets": { + "description": "Array of allowed", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "Key for the asset. Used in the assets endpoint.", + "type": "string" + }, + "fit": { + "description": "Whether to crop the thumbnail to match the size, or maintain the aspect ratio.", + "type": "string", + "enum": [ + "cover", + "contain", + "inside", + "outside" + ] + }, + "width": { + "description": "Width of the thumbnail.", + "type": "integer" + }, + "height": { + "description": "Height of the thumbnail.", + "type": "integer" + }, + "withoutEnlargement": { + "description": "No image upscale", + "type": "boolean" + }, + "quality": { + "description": "Quality of the compression used.", + "type": "integer" + }, + "format": { + "description": "Reformat output image", + "type": "string", + "enum": [ + "", + "jpeg", + "png", + "webp", + "tiff", + "avif" + ] + }, + "transforms": { + "description": "Additional transformations to apply", + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "method": { + "description": "The Sharp method name", + "type": "string" + }, + "arguments": { + "description": "A list of arguments to pass to the Sharp method", + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "argument": { + "description": "A JSON representation of the argument value", + "type": "string" + } + } + } + } + } + } + } + } }, - "type": "object" - }, - "parent": { - "description": "If the current item was updated relationally, this is the id of the parent revision record", "example": null, - "type": "integer", "nullable": true }, - "version": { - "description": "Associated version of this revision.", - "example": "draft", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Versions" - } - ] - } - }, - "x-collection": "directus_revisions" - }, - "Activity": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the object.", - "example": 2, - "type": "integer" + "custom_css": { + "nullable": true, + "type": "string" }, - "action": { - "description": "Action that was performed.", - "example": "update", + "storage_default_folder": { + "description": "Default folder to place files", "type": "string", - "enum": [ - "create", - "update", - "delete", - "login" - ] + "format": "uuid" }, - "user": { - "description": "The user who performed this action.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ], + "basemaps": { "nullable": true }, - "timestamp": { - "description": "When the action happened.", - "example": "2019-12-05T22:52:09Z", - "type": "string", - "format": "date-time" + "mapbox_key": { + "nullable": true, + "type": "string" }, - "ip": { - "description": "The IP address of the user at the time the action took place.", - "example": "127.0.0.1", - "oneOf": [ - { - "type": "string", - "format": "ipv4" - } - ] + "module_bar": { + "nullable": true }, - "user_agent": { - "description": "User agent string of the browser the user used when the action took place.", - "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/78.0.3904.108 Safari/537.36", + "project_descriptor": { + "nullable": true, "type": "string" }, - "collection": { - "description": "Collection identifier in which the item resides.", + "default_language": { + "nullable": false, + "type": "string" + }, + "custom_aspect_ratios": { + "nullable": true + }, + "public_favicon": { + "nullable": true, + "description": "$t:field_options.directus_settings.project_favicon_note", "oneOf": [ { - "type": "string" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/Collections" + "$ref": "#/components/schemas/Files" } ] }, - "item": { - "description": "Unique identifier for the item the action applied to. This is always a string, even for integer primary keys.", - "example": "328", - "type": "string" - }, - "origin": { - "description": "Origin of the request when the action took place.", - "example": "https://directus.io", + "default_appearance": { + "nullable": false, "type": "string" }, - "revisions": { + "default_theme_light": { "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/Revisions" - } - ] - } - } - }, - "x-collection": "directus_activity" - }, - "Webhooks": { - "type": "object", - "properties": { - "id": { - "description": "The index of the webhook.", - "type": "integer", - "example": 1 + "type": "string" }, - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" + "theme_light_overrides": { + "nullable": true }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" + "default_theme_dark": { + "nullable": true, + "type": "string" }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null, + "theme_dark_overrides": { "nullable": true }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "inactive" + "report_error_url": { + "nullable": true, + "type": "string" }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true + "report_bug_url": { + "nullable": true, + "type": "string" }, - "actions": { - "description": "The actions that triggers this webhook.", - "type": "array", - "items": { - "type": "string" - }, - "example": null, - "nullable": true + "report_feature_url": { + "nullable": true, + "type": "string" }, - "collections": { + "public_registration": { "nullable": false, - "type": "array", - "items": { - "type": "string" - } - }, - "headers": { - "nullable": true + "description": "$t:fields.directus_settings.public_registration_note", + "type": "boolean" }, - "was_active_before_deprecation": { + "public_registration_verify_email": { "nullable": false, + "description": "$t:fields.directus_settings.public_registration_verify_email_note", "type": "boolean" }, - "migrated_flow": { + "public_registration_role": { "nullable": true, + "description": "$t:fields.directus_settings.public_registration_role_note", "oneOf": [ { "type": "string", "format": "uuid" }, - { - "$ref": "#/components/schemas/Flows" - } - ] - } - }, - "x-collection": "directus_webhooks" - }, - "Permissions": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the permission.", - "example": 1, - "type": "integer" - }, - "collection": { - "description": "What collection this permission applies to.", - "example": "customers", - "type": "string" - }, - "action": { - "description": "What action this permission applies to.", - "example": "create", - "type": "string", - "enum": [ - "create", - "read", - "update", - "delete" - ] - }, - "permissions": { - "description": "JSON structure containing the permissions checks for this permission.", - "type": "object", - "nullable": true - }, - "validation": { - "description": "JSON structure containing the validation checks for this permission.", - "type": "object", - "nullable": true - }, - "presets": { - "description": "JSON structure containing the preset value for created/updated items.", - "type": "object", - "nullable": true - }, - "fields": { - "description": "CSV of fields that the user is allowed to interact with.", - "type": "array", - "items": { - "type": "string" - }, - "nullable": true + { + "$ref": "#/components/schemas/Roles" + } + ] }, - "policy": { - "nullable": false + "public_registration_email_filter": { + "nullable": true, + "description": "$t:fields.directus_settings.public_registration_email_filter_note" } }, - "x-collection": "directus_permissions" + "x-collection": "directus_settings" }, - "Relations": { + "Flows": { "type": "object", "properties": { "id": { - "description": "Unique identifier for the relation.", - "example": 1, - "type": "integer" - }, - "many_collection": { - "description": "Collection that has the field that holds the foreign key.", - "example": "directus_activity", - "type": "string" + "description": "Unique identifier for the flow.", + "type": "string", + "example": "2f24211d-d928-469a-aea3-3c8f53d4e426" }, - "many_field": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "example": "user", - "type": "string" + "name": { + "description": "The name of the flow.", + "type": "string", + "example": "Update Articles Flow" }, - "one_collection": { - "description": "Collection on the _one_ side of the relationship.", - "example": "directus_users", - "type": "string" + "icon": { + "description": "Icon displayed in the Admin App for the flow.", + "type": "string", + "example": "bolt" }, - "one_field": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "example": null, + "color": { + "description": "Color of the icon displayed in the Admin App for the flow.", "type": "string", + "example": "#112233", "nullable": true }, - "one_collection_field": { + "description": { "nullable": true, "type": "string" }, - "one_allowed_collections": { - "nullable": true, - "type": "array", - "items": { - "type": "string" - } + "status": { + "description": "Current status of the flow.", + "type": "string", + "example": "active", + "default": "active", + "enum": [ + "active", + "inactive" + ] }, - "junction_field": { - "description": "Field on the junction table that holds the many field of the related relation.", + "trigger": { + "description": "Type of trigger for the flow. One of `hook`, `webhook`, `operation`, `schedule`, `manual`.", + "type": "string", + "example": "manual" + }, + "accountability": { + "description": "The permission used during the flow. One of `$public`, `$trigger`, `$full`, or UUID of a role.", + "type": "string", + "example": "$trigger" + }, + "options": { + "description": "Options of the selected trigger for the flow.", + "type": "object", "example": null, + "nullable": true + }, + "operation": { + "description": "UUID of the operation connected to the trigger in the flow.", + "example": "92e82998-e421-412f-a513-13701e83e4ce", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Operations" + } + ] + }, + "date_created": { + "description": "Timestamp in ISO8601 when the flow was created.", "type": "string", + "example": "2022-05-11T13:14:52Z", + "format": "date-time", "nullable": true }, - "sort_field": { - "nullable": true, - "type": "string" + "user_created": { + "description": "The user who created the flow.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] }, - "one_deselect_action": { - "nullable": false, - "type": "string" + "operations": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Operations" + } + ] + } } }, - "x-collection": "directus_relations" + "x-collection": "directus_flows" }, - "Presets": { + "Operations": { "type": "object", "properties": { "id": { - "description": "Unique identifier for this single collection preset.", - "example": 155, - "type": "integer" + "description": "Unique identifier for the operation.", + "type": "string", + "example": "2f24211d-d928-469a-aea3-3c8f53d4e426" }, - "bookmark": { - "description": "Name for the bookmark. If this is set, the preset will be considered a bookmark.", - "nullable": true, - "type": "string" + "name": { + "description": "The name of the operation.", + "type": "string", + "example": "Log to Console" }, - "user": { - "description": "The unique identifier of the user to whom this collection preset applies.", + "key": { + "description": "Key for the operation. Must be unique within a given flow.", + "type": "string", + "example": "log_console" + }, + "type": { + "description": "Type of operation. One of `log`, `mail`, `notification`, `create`, `read`, `request`, `sleep`, `transform`, `trigger`, `condition`, or any type of custom operation extensions.", + "type": "string", + "example": "log" + }, + "position_x": { + "description": "Position of the operation on the X axis within the flow workspace.", + "type": "integer", + "example": 12 + }, + "position_y": { + "description": "Position of the operation on the Y axis within the flow workspace.", + "type": "integer", + "example": 12 + }, + "options": { + "description": "Options depending on the type of the operation.", + "type": "object", + "example": null, + "nullable": true + }, + "resolve": { + "description": "The operation triggered when the current operation succeeds (or `then` logic of a condition operation).", "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "nullable": true, "oneOf": [ { "type": "string" }, { - "$ref": "#/components/schemas/Users" + "$ref": "#/components/schemas/Operations" } ] }, - "role": { - "description": "The unique identifier of a role in the platform. If `user` is null, this will be used to apply the collection preset or bookmark for all users in the role.", - "example": "50419801-0f30-8644-2b3c-9bc2d980d0a0", - "nullable": true, + "reject": { + "description": "The operation triggered when the current operation fails (or `otherwise` logic of a condition operation).", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", "oneOf": [ { "type": "string" }, { - "$ref": "#/components/schemas/Roles" + "$ref": "#/components/schemas/Operations" } ] }, - "collection": { - "description": "What collection this collection preset is used for.", - "example": "articles", + "flow": { + "nullable": false, "oneOf": [ { - "type": "string" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/Collections" + "$ref": "#/components/schemas/Flows" } ] }, - "search": { - "description": "Search query.", - "type": "string", - "nullable": true - }, - "layout": { - "description": "Key of the layout that is used.", + "date_created": { + "description": "Timestamp in ISO8601 when the operation was created.", "type": "string", - "example": null - }, - "layout_query": { - "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters.", - "example": { - "cards": { - "sort": "-published_on" - } - }, + "example": "2022-05-11T13:14:52Z", + "format": "date-time", "nullable": true }, - "layout_options": { - "description": "Options of the views. The properties in here are controlled by the layout.", - "example": { - "cards": { - "icon": "account_circle", - "title": "{{ first_name }} {{ last_name }}", - "subtitle": "{{ title }}", - "size": 3 + "user_created": { + "description": "The user who created the operation.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" } - }, - "nullable": true - }, - "refresh_interval": { - "nullable": true, + ] + } + }, + "x-collection": "directus_operations" + }, + "ItemsDirectusSyncIDMap": { + "type": "object", + "properties": { + "id": { + "nullable": false, "type": "integer" }, - "filter": { - "nullable": true + "table": { + "nullable": false, + "type": "string" + }, + "sync_id": { + "nullable": false, + "type": "string" }, - "icon": { - "nullable": true, + "local_id": { + "nullable": false, "type": "string" }, - "color": { + "created_at": { "nullable": true, - "type": "string" + "type": "string", + "format": "timestamp" } }, - "x-collection": "directus_presets" + "x-collection": "directus_sync_id_map", + "required": [ + "table", + "sync_id", + "local_id" + ] }, - "Settings": { + "Extensions": { "type": "object", "properties": { - "id": { - "description": "Unique identifier for the setting.", - "type": "integer", - "example": 1 + "enabled": { + "nullable": false, + "type": "boolean" }, - "project_name": { - "description": "The name of the project.", + "id": { + "nullable": false, "type": "string", - "example": "Directus" + "format": "uuid" }, - "project_url": { - "description": "The url of the project.", - "type": "string", - "example": null, - "nullable": true + "folder": { + "nullable": false, + "type": "string" }, - "project_color": { - "description": "The brand color of the project.", - "type": "string", - "example": null, - "nullable": true + "source": { + "nullable": false, + "type": "string" }, - "project_logo": { - "description": "The logo of the project.", + "bundle": { + "description": "Name of the bundle the extension is in.", + "example": "directus-extension-my-bundle", "type": "string", - "example": null, "nullable": true + } + }, + "x-collection": "directus_extensions" + }, + "Webhooks": { + "type": "object", + "properties": { + "id": { + "description": "The index of the webhook.", + "type": "integer", + "example": 1 }, - "public_foreground": { - "description": "The foreground of the project.", + "name": { + "description": "The name of the webhook.", "type": "string", - "example": null, - "nullable": true + "example": "create articles" }, - "public_background": { - "description": "The background of the project.", - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "example": null, - "nullable": true + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" }, - "public_note": { - "description": "Note rendered on the public pages of the app.", + "url": { + "description": "The url of the webhook.", "type": "string", "example": null, "nullable": true }, - "auth_login_attempts": { - "description": "Allowed authentication login attempts before the user's status is set to blocked.", - "type": "integer", - "example": 25 - }, - "auth_password_policy": { - "description": "Authentication password policy.", + "status": { + "description": "The status of the webhook.", "type": "string", - "nullable": true + "example": "inactive" }, - "storage_asset_transform": { - "description": "What transformations are allowed in the assets endpoint.", - "type": "string", - "enum": [ - "all", - "none", - "presets" - ], - "example": "all", - "nullable": true + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true }, - "storage_asset_presets": { - "description": "Array of allowed", + "actions": { + "description": "The actions that triggers this webhook.", "type": "array", "items": { - "type": "object", - "properties": { - "key": { - "description": "Key for the asset. Used in the assets endpoint.", - "type": "string" - }, - "fit": { - "description": "Whether to crop the thumbnail to match the size, or maintain the aspect ratio.", - "type": "string", - "enum": [ - "cover", - "contain", - "inside", - "outside" - ] - }, - "width": { - "description": "Width of the thumbnail.", - "type": "integer" - }, - "height": { - "description": "Height of the thumbnail.", - "type": "integer" - }, - "withoutEnlargement": { - "description": "No image upscale", - "type": "boolean" - }, - "quality": { - "description": "Quality of the compression used.", - "type": "integer" - }, - "format": { - "description": "Reformat output image", - "type": "string", - "enum": [ - "", - "jpeg", - "png", - "webp", - "tiff", - "avif" - ] - }, - "transforms": { - "description": "Additional transformations to apply", - "type": "array", - "nullable": true, - "items": { - "type": "object", - "properties": { - "method": { - "description": "The Sharp method name", - "type": "string" - }, - "arguments": { - "description": "A list of arguments to pass to the Sharp method", - "type": "array", - "nullable": true, - "items": { - "type": "object", - "properties": { - "argument": { - "description": "A JSON representation of the argument value", - "type": "string" - } - } - } - } - } - } - } - } + "type": "string" }, "example": null, "nullable": true }, - "custom_css": { - "nullable": true, - "type": "string" - }, - "storage_default_folder": { - "description": "Default folder to place files", - "type": "string", - "format": "uuid" + "collections": { + "nullable": false, + "type": "array", + "items": { + "type": "string" + } }, - "basemaps": { + "headers": { "nullable": true }, - "mapbox_key": { + "was_active_before_deprecation": { + "nullable": false, + "type": "boolean" + }, + "migrated_flow": { "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Flows" + } + ] + } + }, + "x-collection": "directus_webhooks" + }, + "Comments": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for this single collection preset.", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", "type": "string" }, - "module_bar": { - "nullable": true + "collection": { + "description": "The collection of the item the Comment is created for.", + "example": "articles", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] }, - "project_descriptor": { - "nullable": true, + "item": { + "description": "The item the Comment is created for.", + "example": "123", "type": "string" }, - "default_language": { - "nullable": false, + "comment": { + "description": "User comment. This will store the comments that show up in the right sidebar of the item edit page in the admin app.", + "example": "This is a comment", "type": "string" }, - "custom_aspect_ratios": { + "date_created": { + "description": "When the Comment was created.", + "type": "string", + "example": "2024-01-23T12:34:56Z", + "format": "date-time", "nullable": true }, - "public_favicon": { - "nullable": true, - "description": "$t:field_options.directus_settings.project_favicon_note", + "date_updated": { + "description": "When the Comment was updated.", + "type": "string", + "example": "2024-01-23T12:34:56Z", + "format": "date-time", + "nullable": true + }, + "user_created": { + "description": "User that created the Comment.", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", "oneOf": [ { - "type": "string", - "format": "uuid" + "type": "string" }, { - "$ref": "#/components/schemas/Files" + "$ref": "#/components/schemas/Users" } ] }, - "default_appearance": { - "nullable": false, + "user_updated": { + "description": "User that updated the Comment.", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "directus_comments" + }, + "Versions": { + "type": "object", + "properties": { + "id": { + "description": "Primary key of the Content Version.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", "type": "string" }, - "default_theme_light": { - "nullable": true, + "key": { + "description": "Key of the Content Version, used as the value for the \"version\" query parameter.", + "example": "draft", "type": "string" }, - "theme_light_overrides": { - "nullable": true - }, - "default_theme_dark": { - "nullable": true, + "name": { + "description": "Descriptive name of the Content Version.", + "example": "My Draft", "type": "string" }, - "theme_dark_overrides": { - "nullable": true + "collection": { + "description": "Name of the collection the Content Version is created on.", + "example": "articles", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] }, - "report_error_url": { - "nullable": true, + "item": { + "description": "The item the Content Version is created on.", + "example": "168", "type": "string" }, - "report_bug_url": { + "hash": { "nullable": true, "type": "string" }, - "report_feature_url": { - "nullable": true, - "type": "string" + "date_created": { + "description": "When the Content Version was created.", + "type": "string", + "example": "2022-05-11T13:14:52Z", + "format": "date-time", + "nullable": true }, - "public_registration": { - "nullable": false, - "description": "$t:fields.directus_settings.public_registration_note", - "type": "boolean" + "date_updated": { + "description": "When the Content Version was last updated.", + "type": "string", + "example": "2022-05-11T13:14:53Z", + "format": "date-time", + "nullable": true }, - "public_registration_verify_email": { - "nullable": false, - "description": "$t:fields.directus_settings.public_registration_verify_email_note", - "type": "boolean" + "user_created": { + "description": "User that created the Content Version.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] }, - "public_registration_role": { - "nullable": true, - "description": "$t:fields.directus_settings.public_registration_role_note", + "user_updated": { + "description": "User that last updated the Content Version.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", "oneOf": [ { - "type": "string", - "format": "uuid" + "type": "string" }, { - "$ref": "#/components/schemas/Roles" + "$ref": "#/components/schemas/Users" } ] }, - "public_registration_email_filter": { - "nullable": true, - "description": "$t:fields.directus_settings.public_registration_email_filter_note" + "delta": { + "description": "The current changes compared to the main version of the item.", + "example": { + "my_field": "Updated Value" + }, + "type": "object" } }, - "x-collection": "directus_settings" + "x-collection": "directus_versions" }, "ItemsAspect": { "type": "object", @@ -20911,127 +23334,12 @@ "type": "integer" }, { - "$ref": "#/components/schemas/ItemsQuoteAspect" - } - ] - } - }, - "representative_quotes": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsQuoteAspect1" - } - ] - } - } - }, - "x-collection": "aspect", - "required": [ - "id" - ] - }, - "ItemsConversationChunk": { - "type": "object", - "properties": { - "conversation_id": { - "nullable": false, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsConversation" - } - ] - }, - "created_at": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "path": { - "nullable": true, - "type": "string" - }, - "processing_message": { - "nullable": true, - "type": "string" - }, - "processing_status": { - "nullable": true, - "type": "string" - }, - "source": { - "nullable": true, - "description": "This is set if not through PORTAL", - "type": "string" - }, - "timestamp": { - "nullable": false, - "type": "string", - "format": "timestamp" - }, - "transcript": { - "nullable": true, - "type": "string" - }, - "updated_at": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "runpod_job_status_link": { - "nullable": true, - "type": "string" - }, - "runpod_request_count": { - "nullable": true, - "type": "integer" - }, - "cross_talk_instances": { - "nullable": true, - "type": "integer" - }, - "diarization": { - "nullable": true - }, - "noise_ratio": { - "nullable": true, - "type": "number", - "format": "float" - }, - "silence_ratio": { - "nullable": true, - "type": "number", - "format": "float" - }, - "conversation_segments": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsQuoteAspect" } ] } }, - "quotes": { + "representative_quotes": { "nullable": true, "type": "array", "items": { @@ -21040,17 +23348,15 @@ "type": "integer" }, { - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } ] } } }, - "x-collection": "conversation_chunk", + "x-collection": "aspect", "required": [ - "conversation_id", - "id", - "timestamp" + "id" ] }, "ItemsAccount": { @@ -21210,57 +23516,268 @@ "id" ] }, - "ItemsConversation": { + "ItemsConversationProjectTag": { "type": "object", "properties": { - "context": { + "conversation_id": { "nullable": true, - "type": "string" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversation" + } + ] + }, + "id": { + "nullable": false, + "type": "integer" }, + "project_tag_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProjectTag" + } + ] + } + }, + "x-collection": "conversation_project_tag" + }, + "ItemsProjectTag": { + "type": "object", + "properties": { "created_at": { "nullable": true, "type": "string", "format": "timestamp" }, - "description": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "project_id": { + "nullable": false, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProject" + } + ] + }, + "sort": { + "nullable": true, + "type": "integer" + }, + "text": { "nullable": true, "type": "string" }, - "duration": { + "updated_at": { "nullable": true, - "type": "number", - "format": "float" + "type": "string", + "format": "timestamp" + }, + "conversations": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsConversationProjectTag" + } + ] + } + } + }, + "x-collection": "project_tag", + "required": [ + "id", + "project_id" + ] + }, + "ItemsConversationReply": { + "type": "object", + "properties": { + "content_text": { + "nullable": true, + "type": "string" + }, + "conversation_id": { + "nullable": true, + "type": "string" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" }, "id": { "nullable": false, "type": "string", "format": "uuid" }, - "is_audio_processing_finished": { + "reply": { "nullable": true, - "type": "boolean" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversation" + } + ] }, - "is_finished": { + "sort": { "nullable": true, + "type": "integer" + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "conversation_reply", + "required": [ + "id" + ] + }, + "ItemsConversationSegmentConversationChunk": { + "type": "object", + "properties": { + "conversation_chunk_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversationChunk" + } + ] + }, + "conversation_segment_id": { + "nullable": true, + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsConversationSegment" + } + ] + }, + "id": { + "nullable": false, + "type": "integer" + } + }, + "x-collection": "conversation_segment_conversation_chunk" + }, + "ItemsDocument": { + "type": "object", + "properties": { + "context": { + "nullable": true, + "type": "string" + }, + "created_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "description": { + "nullable": true, + "type": "string" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "is_processed": { + "nullable": false, "type": "boolean" }, - "merged_audio_path": { + "original_filename": { "nullable": true, "type": "string" }, - "merged_transcript": { + "path": { "nullable": true, "type": "string" }, - "participant_email": { + "processing_error": { "nullable": true, "type": "string" }, - "participant_name": { + "project_id": { + "nullable": false, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProject" + } + ] + }, + "title": { "nullable": true, "type": "string" }, - "participant_user_agent": { + "type": { + "nullable": true, + "type": "string" + }, + "updated_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + } + }, + "x-collection": "document", + "required": [ + "id", + "is_processed", + "project_id" + ] + }, + "ItemsProjectAnalysisRun": { + "type": "object", + "properties": { + "created_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "processing_completed_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "processing_error": { "nullable": true, "type": "string" }, @@ -21268,12 +23785,17 @@ "nullable": true, "type": "string" }, + "processing_started_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, "processing_status": { "nullable": true, "type": "string" }, "project_id": { - "nullable": false, + "nullable": true, "oneOf": [ { "type": "string", @@ -21284,25 +23806,12 @@ } ] }, - "source": { - "nullable": true, - "description": "This is set if not through PORTAL", - "type": "string" - }, - "summary": { - "nullable": true, - "type": "string" - }, - "title": { - "nullable": true, - "type": "string" - }, "updated_at": { "nullable": true, "type": "string", "format": "timestamp" }, - "chunks": { + "insights": { "nullable": true, "type": "array", "items": { @@ -21312,54 +23821,12 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversationChunk" - } - ] - } - }, - "conversation_segments": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsConversationSegment" - } - ] - } - }, - "project_chat_messages": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" - } - ] - } - }, - "project_chats": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsProjectChatConversation" + "$ref": "#/components/schemas/ItemsInsight" } ] } }, - "replies": { + "quotes": { "nullable": true, "type": "array", "items": { @@ -21369,67 +23836,33 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversationReply" + "$ref": "#/components/schemas/ItemsQuote" } ] } }, - "tags": { + "views": { "nullable": true, "type": "array", "items": { "oneOf": [ { - "type": "integer" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversationProjectTag" + "$ref": "#/components/schemas/ItemsView" } ] } } }, - "x-collection": "conversation", + "x-collection": "project_analysis_run", "required": [ - "id", - "project_id" + "id" ] }, - "ItemsConversationProjectTag": { - "type": "object", - "properties": { - "conversation_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsConversation" - } - ] - }, - "id": { - "nullable": false, - "type": "integer" - }, - "project_tag_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsProjectTag" - } - ] - } - }, - "x-collection": "conversation_project_tag" - }, - "ItemsProjectTag": { + "ItemsInsight": { "type": "object", "properties": { "created_at": { @@ -21442,23 +23875,23 @@ "type": "string", "format": "uuid" }, - "project_id": { - "nullable": false, + "project_analysis_run_id": { + "nullable": true, "oneOf": [ { "type": "string", "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" } ] }, - "sort": { + "summary": { "nullable": true, - "type": "integer" + "type": "string" }, - "text": { + "title": { "nullable": true, "type": "string" }, @@ -21467,39 +23900,40 @@ "type": "string", "format": "timestamp" }, - "conversations": { + "quotes": { "nullable": true, "type": "array", "items": { "oneOf": [ { - "type": "integer" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversationProjectTag" + "$ref": "#/components/schemas/ItemsQuote" } ] } } }, - "x-collection": "project_tag", + "x-collection": "insight", "required": [ - "id", - "project_id" + "id" ] }, - "ItemsConversationReply": { + "ItemsProjectChat": { "type": "object", "properties": { - "content_text": { + "auto_select": { "nullable": true, - "type": "string" + "type": "boolean" }, - "conversation_id": { + "date_created": { "nullable": true, - "type": "string" + "type": "string", + "format": "timestamp" }, - "date_created": { + "date_updated": { "nullable": true, "type": "string", "format": "timestamp" @@ -21509,7 +23943,11 @@ "type": "string", "format": "uuid" }, - "reply": { + "name": { + "nullable": true, + "type": "string" + }, + "project_id": { "nullable": true, "oneOf": [ { @@ -21517,36 +23955,11 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsProject" } ] }, - "sort": { - "nullable": true, - "type": "integer" - }, - "type": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "conversation_reply", - "required": [ - "id" - ] - }, - "ItemsConversationSegment": { - "type": "object", - "properties": { - "config_id": { - "nullable": true, - "type": "string" - }, - "contextual_transcript": { - "nullable": true, - "type": "string" - }, - "conversation_id": { + "user_created": { "nullable": true, "oneOf": [ { @@ -21554,32 +23967,38 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/Users" } ] }, - "counter": { - "nullable": true, - "type": "number", - "format": "float" - }, - "id": { - "nullable": false, - "type": "integer" - }, - "lightrag_flag": { - "nullable": true, - "type": "boolean" - }, - "path": { + "user_updated": { "nullable": true, - "type": "string" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] }, - "transcript": { + "project_chat_messages": { "nullable": true, - "type": "string" + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessage" + } + ] + } }, - "chunks": { + "used_conversations": { "nullable": true, "type": "array", "items": { @@ -21588,18 +24007,55 @@ "type": "integer" }, { - "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + "$ref": "#/components/schemas/ItemsProjectChatConversation" } ] } } }, - "x-collection": "conversation_segment" + "x-collection": "project_chat", + "required": [ + "id" + ] + }, + "ItemsProjectChatConversation": { + "type": "object", + "properties": { + "conversation_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversation" + } + ] + }, + "id": { + "nullable": false, + "type": "integer" + }, + "project_chat_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProjectChat" + } + ] + } + }, + "x-collection": "project_chat_conversation" }, - "ItemsConversationSegmentConversationChunk": { + "ItemsProjectChatMessageConversation": { "type": "object", "properties": { - "conversation_chunk_id": { + "conversation_id": { "nullable": true, "oneOf": [ { @@ -21607,102 +24063,79 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsConversation" } ] }, - "conversation_segment_id": { + "id": { + "nullable": false, + "type": "integer" + }, + "project_chat_message_id": { "nullable": true, "oneOf": [ { - "type": "integer" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversationSegment" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } ] - }, - "id": { - "nullable": false, - "type": "integer" } }, - "x-collection": "conversation_segment_conversation_chunk" + "x-collection": "project_chat_message_conversation" }, - "ItemsDocument": { + "ItemsProjectChatMessageConversation1": { "type": "object", "properties": { - "context": { - "nullable": true, - "type": "string" - }, - "created_at": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "description": { + "conversation_id": { "nullable": true, - "type": "string" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversation" + } + ] }, "id": { "nullable": false, - "type": "string", - "format": "uuid" - }, - "is_processed": { - "nullable": false, - "type": "boolean" - }, - "original_filename": { - "nullable": true, - "type": "string" - }, - "path": { - "nullable": true, - "type": "string" + "type": "integer" }, - "processing_error": { + "project_chat_message_id": { "nullable": true, - "type": "string" - }, - "project_id": { - "nullable": false, "oneOf": [ { "type": "string", "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } ] - }, - "title": { - "nullable": true, - "type": "string" - }, - "type": { - "nullable": true, - "type": "string" - }, - "updated_at": { - "nullable": true, - "type": "string", - "format": "timestamp" } }, - "x-collection": "document", - "required": [ - "id", - "is_processed", - "project_id" - ] + "x-collection": "project_chat_message_conversation_1" }, - "ItemsProjectAnalysisRun": { + "ItemsProjectChatMessageMetadata": { "type": "object", "properties": { - "created_at": { + "conversation": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversation" + } + ] + }, + "date_created": { "nullable": true, "type": "string", "format": "timestamp" @@ -21712,29 +24145,7 @@ "type": "string", "format": "uuid" }, - "processing_completed_at": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "processing_error": { - "nullable": true, - "type": "string" - }, - "processing_message": { - "nullable": true, - "type": "string" - }, - "processing_started_at": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "processing_status": { - "nullable": true, - "type": "string" - }, - "project_id": { + "message_metadata": { "nullable": true, "oneOf": [ { @@ -21742,80 +24153,60 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsProjectChatMessage" } ] }, - "updated_at": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "insights": { + "ratio": { "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsInsight" - } - ] - } + "type": "number", + "format": "float" }, - "quotes": { + "reference_text": { "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsQuote" - } - ] - } + "type": "string" }, - "views": { + "type": { "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsView" - } - ] - } + "type": "string" } }, - "x-collection": "project_analysis_run", + "x-collection": "project_chat_message_metadata", "required": [ "id" ] }, - "ItemsInsight": { + "ItemsProjectReport": { "type": "object", "properties": { - "created_at": { + "content": { + "nullable": true, + "type": "string" + }, + "date_created": { "nullable": true, "type": "string", "format": "timestamp" }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "error_code": { + "nullable": true, + "type": "string" + }, "id": { "nullable": false, - "type": "string", - "format": "uuid" + "type": "integer", + "format": "int64" }, - "project_analysis_run_id": { + "language": { + "nullable": true, + "type": "string" + }, + "project_id": { "nullable": true, "oneOf": [ { @@ -21823,51 +24214,24 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/ItemsProject" } ] }, - "summary": { - "nullable": true, - "type": "string" - }, - "title": { - "nullable": true, - "type": "string" - }, - "updated_at": { + "show_portal_link": { "nullable": true, - "type": "string", - "format": "timestamp" + "type": "boolean" }, - "quotes": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsQuote" - } - ] - } + "status": { + "nullable": false, + "type": "string" } }, - "x-collection": "insight", - "required": [ - "id" - ] + "x-collection": "project_report" }, - "ItemsProjectChat": { + "ItemsProjectReportMetric": { "type": "object", "properties": { - "auto_select": { - "nullable": true, - "type": "boolean" - }, "date_created": { "nullable": true, "type": "string", @@ -21880,38 +24244,36 @@ }, "id": { "nullable": false, - "type": "string", - "format": "uuid" + "type": "integer", + "format": "int64" }, - "name": { + "ip": { "nullable": true, "type": "string" }, - "project_id": { + "project_report_id": { "nullable": true, "oneOf": [ { - "type": "string", - "format": "uuid" + "type": "integer", + "format": "int64" }, { - "$ref": "#/components/schemas/ItemsProject" + "$ref": "#/components/schemas/ItemsProjectReport" } ] }, - "user_created": { + "type": { "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "user_updated": { + "type": "string" + } + }, + "x-collection": "project_report_metric" + }, + "ItemsProjectReportNotificationParticipants": { + "type": "object", + "properties": { + "conversation_id": { "nullable": true, "oneOf": [ { @@ -21919,234 +24281,177 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/Users" + "$ref": "#/components/schemas/ItemsConversation" } ] }, - "project_chat_messages": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsProjectChatMessage" - } - ] - } - }, - "used_conversations": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsProjectChatConversation" - } - ] - } - } - }, - "x-collection": "project_chat", - "required": [ - "id" - ] - }, - "ItemsProject": { - "type": "object", - "properties": { - "context": { - "nullable": true, - "type": "string" - }, - "conversation_ask_for_participant_name_label": { - "nullable": true, - "type": "string" - }, - "created_at": { + "date_submitted": { "nullable": true, "type": "string", "format": "timestamp" }, - "default_conversation_ask_for_participant_name": { + "date_updated": { "nullable": true, - "type": "boolean" + "type": "string", + "format": "timestamp" }, - "default_conversation_description": { + "email": { "nullable": true, "type": "string" }, - "default_conversation_finish_text": { + "email_opt_in": { "nullable": true, - "type": "string" + "type": "boolean" }, - "default_conversation_title": { + "email_opt_out_token": { "nullable": true, - "type": "string" + "type": "string", + "format": "uuid" }, - "default_conversation_transcript_prompt": { - "nullable": true, - "type": "string" + "id": { + "nullable": false, + "type": "string", + "format": "uuid" }, - "default_conversation_tutorial_slug": { + "project_id": { "nullable": true, - "description": "Manually syncronize this with https://admin-dembrane.azurewebsites.net/admin/content/echo__portal_tutorial", "type": "string" }, - "directus_user_id": { + "sort": { "nullable": true, + "type": "integer" + } + }, + "x-collection": "project_report_notification_participants", + "required": [ + "id" + ] + }, + "ItemsQuote": { + "type": "object", + "properties": { + "conversation_id": { + "nullable": false, "oneOf": [ { "type": "string", "format": "uuid" }, { - "$ref": "#/components/schemas/Users" + "$ref": "#/components/schemas/ItemsConversation" } ] }, - "get_reply_prompt": { + "created_at": { "nullable": true, - "type": "string" - }, - "id": { - "nullable": false, "type": "string", - "format": "uuid" + "format": "timestamp" }, - "image_generation_model": { + "embedding": { "nullable": true, "type": "string" }, - "is_conversation_allowed": { + "id": { "nullable": false, - "type": "boolean" - }, - "is_enhanced_audio_processing_enabled": { - "nullable": true, - "type": "boolean" + "type": "string", + "format": "uuid" }, - "is_get_reply_enabled": { + "insight_id": { "nullable": true, - "type": "boolean" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsInsight" + } + ] }, - "is_project_notification_subscription_allowed": { + "order": { "nullable": true, - "type": "boolean" + "type": "integer" }, - "language": { + "project_analysis_run_id": { "nullable": true, - "type": "string" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + } + ] }, - "name": { - "nullable": true, + "text": { + "nullable": false, "type": "string" }, - "pin": { + "timestamp": { "nullable": true, - "type": "string" + "type": "string", + "format": "date-time" }, "updated_at": { "nullable": true, "type": "string", "format": "timestamp" }, - "get_reply_mode": { - "nullable": true, - "type": "string" - }, - "conversations": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsConversation" - } - ] - } - }, - "project_analysis_runs": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" - } - ] - } - }, - "project_chats": { + "aspects": { "nullable": true, "type": "array", "items": { "oneOf": [ { - "type": "string", - "format": "uuid" + "type": "integer" }, { - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsQuoteAspect" } ] } }, - "project_reports": { + "conversation_chunks": { "nullable": true, "type": "array", "items": { "oneOf": [ { - "type": "integer", - "format": "int64" + "type": "integer" }, { - "$ref": "#/components/schemas/ItemsProjectReport" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } ] } }, - "tags": { + "representative_aspects": { "nullable": true, "type": "array", "items": { "oneOf": [ { - "type": "string", - "format": "uuid" + "type": "integer" }, { - "$ref": "#/components/schemas/ItemsProjectTag" + "$ref": "#/components/schemas/ItemsQuoteAspect1" } ] } } }, - "x-collection": "project", + "x-collection": "quote", "required": [ + "conversation_id", "id", - "is_conversation_allowed" + "text" ] }, - "ItemsProjectChatConversation": { + "ItemsQuoteAspect": { "type": "object", "properties": { - "conversation_id": { + "aspect_id": { "nullable": true, "oneOf": [ { @@ -22154,7 +24459,7 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } ] }, @@ -22162,7 +24467,7 @@ "nullable": false, "type": "integer" }, - "project_chat_id": { + "quote_id": { "nullable": true, "oneOf": [ { @@ -22170,188 +24475,210 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsProjectChat" + "$ref": "#/components/schemas/ItemsQuote" } ] } }, - "x-collection": "project_chat_conversation" + "x-collection": "quote_aspect" }, - "Fields": { + "ItemsConversationSegment": { "type": "object", "properties": { + "config_id": { + "nullable": true, + "type": "string" + }, + "contextual_transcript": { + "nullable": true, + "type": "string" + }, + "counter": { + "nullable": true, + "type": "number", + "format": "float" + }, "id": { "nullable": false, "type": "integer" }, - "collection": { - "description": "Unique name of the collection this field is in.", - "example": "about_us", + "lightrag_flag": { + "nullable": true, + "type": "boolean" + }, + "path": { + "nullable": true, "type": "string" }, - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "id", + "transcript": { + "nullable": true, "type": "string" }, - "special": { + "conversation_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversation" + } + ] + }, + "chunks": { "nullable": true, "type": "array", "items": { - "type": "string" + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" + } + ] } - }, - "interface": { + } + }, + "x-collection": "conversation_segment" + }, + "ItemsConversation": { + "type": "object", + "properties": { + "context": { "nullable": true, "type": "string" }, - "options": { - "nullable": true + "created_at": { + "nullable": true, + "type": "string", + "format": "timestamp" }, - "display": { + "description": { "nullable": true, "type": "string" }, - "display_options": { - "nullable": true + "duration": { + "nullable": true, + "type": "number", + "format": "float" }, - "readonly": { + "id": { "nullable": false, - "type": "boolean" + "type": "string", + "format": "uuid" }, - "hidden": { - "nullable": false, + "is_finished": { + "nullable": true, "type": "boolean" }, - "sort": { + "merged_audio_path": { "nullable": true, - "type": "integer" + "type": "string" }, - "width": { + "merged_transcript": { "nullable": true, "type": "string" }, - "translations": { - "nullable": true + "participant_email": { + "nullable": true, + "type": "string" }, - "note": { + "participant_name": { "nullable": true, "type": "string" }, - "conditions": { - "nullable": true + "participant_user_agent": { + "nullable": true, + "type": "string" }, - "required": { + "processing_message": { "nullable": true, - "type": "boolean" + "type": "string" }, - "group": { + "processing_status": { "nullable": true, + "type": "string" + }, + "project_id": { + "nullable": false, "oneOf": [ { - "type": "integer" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/Fields" + "$ref": "#/components/schemas/ItemsProject" } ] }, - "validation": { - "nullable": true - }, - "validation_message": { + "source": { "nullable": true, + "description": "This is set if not through PORTAL", "type": "string" - } - }, - "x-collection": "directus_fields" - }, - "Flows": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the flow.", - "type": "string", - "example": "2f24211d-d928-469a-aea3-3c8f53d4e426" - }, - "name": { - "description": "The name of the flow.", - "type": "string", - "example": "Update Articles Flow" - }, - "icon": { - "description": "Icon displayed in the Admin App for the flow.", - "type": "string", - "example": "bolt" }, - "color": { - "description": "Color of the icon displayed in the Admin App for the flow.", - "type": "string", - "example": "#112233", - "nullable": true - }, - "description": { + "summary": { "nullable": true, "type": "string" }, - "status": { - "description": "Current status of the flow.", - "type": "string", - "example": "active", - "default": "active", - "enum": [ - "active", - "inactive" - ] - }, - "trigger": { - "description": "Type of trigger for the flow. One of `hook`, `webhook`, `operation`, `schedule`, `manual`.", - "type": "string", - "example": "manual" + "title": { + "nullable": true, + "type": "string" }, - "accountability": { - "description": "The permission used during the flow. One of `$public`, `$trigger`, `$full`, or UUID of a role.", + "updated_at": { + "nullable": true, "type": "string", - "example": "$trigger" + "format": "timestamp" }, - "options": { - "description": "Options of the selected trigger for the flow.", - "type": "object", - "example": null, - "nullable": true + "is_audio_processing_finished": { + "nullable": true, + "type": "boolean" }, - "operation": { - "description": "UUID of the operation connected to the trigger in the flow.", - "example": "92e82998-e421-412f-a513-13701e83e4ce", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Operations" - } - ] + "chunks": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversationChunk" + } + ] + } }, - "date_created": { - "description": "Timestamp in ISO8601 when the flow was created.", - "type": "string", - "example": "2022-05-11T13:14:52Z", - "format": "date-time", - "nullable": true + "project_chat_messages": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + ] + } }, - "user_created": { - "description": "The user who created the flow.", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ] + "project_chats": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsProjectChatConversation" + } + ] + } }, - "operations": { + "replies": { "nullable": true, "type": "array", "items": { @@ -22361,236 +24688,343 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/Operations" + "$ref": "#/components/schemas/ItemsConversationReply" + } + ] + } + }, + "tags": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsConversationProjectTag" + } + ] + } + }, + "conversation_segments": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsConversationSegment" } ] } } }, - "x-collection": "directus_flows" + "x-collection": "conversation", + "required": [ + "id", + "project_id" + ] }, - "Operations": { + "ItemsProjectChatMessage": { "type": "object", "properties": { - "id": { - "description": "Unique identifier for the operation.", - "type": "string", - "example": "2f24211d-d928-469a-aea3-3c8f53d4e426" - }, - "name": { - "description": "The name of the operation.", + "date_created": { + "nullable": true, "type": "string", - "example": "Log to Console" + "format": "timestamp" }, - "key": { - "description": "Key for the operation. Must be unique within a given flow.", + "date_updated": { + "nullable": true, "type": "string", - "example": "log_console" + "format": "timestamp" }, - "type": { - "description": "Type of operation. One of `log`, `mail`, `notification`, `create`, `read`, `request`, `sleep`, `transform`, `trigger`, `condition`, or any type of custom operation extensions.", + "id": { + "nullable": false, "type": "string", - "example": "log" - }, - "position_x": { - "description": "Position of the operation on the X axis within the flow workspace.", - "type": "integer", - "example": 12 - }, - "position_y": { - "description": "Position of the operation on the Y axis within the flow workspace.", - "type": "integer", - "example": 12 - }, - "options": { - "description": "Options depending on the type of the operation.", - "type": "object", - "example": null, - "nullable": true - }, - "resolve": { - "description": "The operation triggered when the current operation succeeds (or `then` logic of a condition operation).", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Operations" - } - ] + "format": "uuid" }, - "reject": { - "description": "The operation triggered when the current operation fails (or `otherwise` logic of a condition operation).", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Operations" - } - ] + "message_from": { + "nullable": true, + "type": "string" }, - "flow": { - "nullable": false, + "project_chat_id": { + "nullable": true, "oneOf": [ { "type": "string", "format": "uuid" }, { - "$ref": "#/components/schemas/Flows" + "$ref": "#/components/schemas/ItemsProjectChat" } ] }, - "date_created": { - "description": "Timestamp in ISO8601 when the operation was created.", - "type": "string", - "example": "2022-05-11T13:14:52Z", - "format": "date-time", - "nullable": true + "text": { + "nullable": true, + "type": "string" }, - "user_created": { - "description": "The user who created the operation.", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ] + "tokens_count": { + "nullable": true, + "type": "integer" + }, + "template_key": { + "nullable": true, + "type": "string" + }, + "added_conversations": { + "nullable": true, + "description": "delta conversations added", + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" + } + ] + } + }, + "chat_message_metadata": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + } + ] + } + }, + "used_conversations": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + } + ] + } } }, - "x-collection": "directus_operations" + "x-collection": "project_chat_message", + "required": [ + "id" + ] }, - "Extensions": { + "ItemsProject": { "type": "object", "properties": { - "enabled": { - "nullable": false, - "type": "boolean" + "context": { + "nullable": true, + "type": "string" }, - "id": { - "nullable": false, + "conversation_ask_for_participant_name_label": { + "nullable": true, + "type": "string" + }, + "created_at": { + "nullable": true, "type": "string", - "format": "uuid" + "format": "timestamp" }, - "folder": { - "nullable": false, + "default_conversation_ask_for_participant_name": { + "nullable": true, + "type": "boolean" + }, + "default_conversation_description": { + "nullable": true, "type": "string" }, - "source": { - "nullable": false, + "default_conversation_finish_text": { + "nullable": true, "type": "string" }, - "bundle": { - "description": "Name of the bundle the extension is in.", - "example": "directus-extension-my-bundle", - "type": "string", - "nullable": true - } - }, - "x-collection": "directus_extensions" - }, - "Versions": { - "type": "object", - "properties": { - "id": { - "description": "Primary key of the Content Version.", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "default_conversation_title": { + "nullable": true, "type": "string" }, - "key": { - "description": "Key of the Content Version, used as the value for the \"version\" query parameter.", - "example": "draft", + "default_conversation_transcript_prompt": { + "nullable": true, "type": "string" }, - "name": { - "description": "Descriptive name of the Content Version.", - "example": "My Draft", + "default_conversation_tutorial_slug": { + "nullable": true, + "description": "Manually syncronize this with https://admin-dembrane.azurewebsites.net/admin/content/echo__portal_tutorial", "type": "string" }, - "collection": { - "description": "Name of the collection the Content Version is created on.", - "example": "articles", + "directus_user_id": { + "nullable": true, "oneOf": [ { - "type": "string" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/Collections" + "$ref": "#/components/schemas/Users" } ] }, - "item": { - "description": "The item the Content Version is created on.", - "example": "168", + "get_reply_prompt": { + "nullable": true, "type": "string" }, - "hash": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "image_generation_model": { "nullable": true, "type": "string" }, - "date_created": { - "description": "When the Content Version was created.", - "type": "string", - "example": "2022-05-11T13:14:52Z", - "format": "date-time", - "nullable": true + "is_conversation_allowed": { + "nullable": false, + "type": "boolean" }, - "date_updated": { - "description": "When the Content Version was last updated.", + "is_enhanced_audio_processing_enabled": { + "nullable": true, + "type": "boolean" + }, + "is_get_reply_enabled": { + "nullable": true, + "type": "boolean" + }, + "is_project_notification_subscription_allowed": { + "nullable": true, + "type": "boolean" + }, + "language": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "pin": { + "nullable": true, + "type": "string" + }, + "updated_at": { + "nullable": true, "type": "string", - "example": "2022-05-11T13:14:53Z", - "format": "date-time", - "nullable": true + "format": "timestamp" }, - "user_created": { - "description": "User that created the Content Version.", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ] + "get_reply_mode": { + "nullable": true, + "type": "string" }, - "user_updated": { - "description": "User that last updated the Content Version.", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ] + "conversations": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversation" + } + ] + } }, - "delta": { - "description": "The current changes compared to the main version of the item.", - "example": { - "my_field": "Updated Value" - }, - "type": "object" + "tags": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProjectTag" + } + ] + } + }, + "project_analysis_runs": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + } + ] + } + }, + "project_chats": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsProjectChat" + } + ] + } + }, + "project_reports": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "$ref": "#/components/schemas/ItemsProjectReport" + } + ] + } } }, - "x-collection": "directus_versions" + "x-collection": "project", + "required": [ + "id", + "is_conversation_allowed" + ] }, - "ItemsProjectChatMessage": { + "ItemsConversationChunk": { "type": "object", "properties": { - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" + "conversation_id": { + "nullable": false, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsConversation" + } + ] }, - "date_updated": { + "created_at": { "nullable": true, "type": "string", "format": "timestamp" @@ -22600,65 +25034,77 @@ "type": "string", "format": "uuid" }, - "message_from": { + "path": { "nullable": true, "type": "string" }, - "project_chat_id": { + "processing_message": { "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsProjectChat" - } - ] + "type": "string" }, - "template_key": { + "processing_status": { "nullable": true, "type": "string" }, - "text": { + "source": { "nullable": true, + "description": "This is set if not through PORTAL", "type": "string" }, - "tokens_count": { + "timestamp": { + "nullable": false, + "type": "string", + "format": "timestamp" + }, + "transcript": { + "nullable": true, + "type": "string" + }, + "updated_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "runpod_job_status_link": { + "nullable": true, + "type": "string" + }, + "runpod_request_count": { "nullable": true, "type": "integer" }, - "added_conversations": { + "cross_talk_instances": { "nullable": true, - "description": "delta conversations added", - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation1" - } - ] - } + "type": "integer" + }, + "diarization": { + "nullable": true + }, + "noise_ratio": { + "nullable": true, + "type": "number", + "format": "float" + }, + "silence_ratio": { + "nullable": true, + "type": "number", + "format": "float" }, - "chat_message_metadata": { + "conversation_segments": { "nullable": true, "type": "array", "items": { "oneOf": [ { - "type": "string", - "format": "uuid" + "type": "integer" }, { - "$ref": "#/components/schemas/ItemsProjectChatMessageMetadata" + "$ref": "#/components/schemas/ItemsConversationSegmentConversationChunk" } ] } }, - "used_conversations": { + "quotes": { "nullable": true, "type": "array", "items": { @@ -22667,21 +25113,23 @@ "type": "integer" }, { - "$ref": "#/components/schemas/ItemsProjectChatMessageConversation" + "$ref": "#/components/schemas/ItemsQuoteConversationChunk" } ] } } }, - "x-collection": "project_chat_message", + "x-collection": "conversation_chunk", "required": [ - "id" + "conversation_id", + "id", + "timestamp" ] }, - "ItemsProjectChatMessageConversation": { + "ItemsQuoteAspect1": { "type": "object", "properties": { - "conversation_id": { + "aspect_id": { "nullable": true, "oneOf": [ { @@ -22689,7 +25137,7 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsAspect" } ] }, @@ -22697,7 +25145,7 @@ "nullable": false, "type": "integer" }, - "project_chat_message_id": { + "quote_id": { "nullable": true, "oneOf": [ { @@ -22705,17 +25153,17 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsQuote" } ] } }, - "x-collection": "project_chat_message_conversation" + "x-collection": "quote_aspect_1" }, - "ItemsProjectChatMessageConversation1": { + "ItemsQuoteConversationChunk": { "type": "object", "properties": { - "conversation_id": { + "conversation_chunk_id": { "nullable": true, "oneOf": [ { @@ -22723,7 +25171,7 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsConversation" + "$ref": "#/components/schemas/ItemsConversationChunk" } ] }, @@ -22731,47 +25179,7 @@ "nullable": false, "type": "integer" }, - "project_chat_message_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsProjectChatMessage" - } - ] - } - }, - "x-collection": "project_chat_message_conversation_1" - }, - "ItemsProjectChatMessageMetadata": { - "type": "object", - "properties": { - "conversation": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsConversation" - } - ] - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "message_metadata": { + "quote_id": { "nullable": true, "oneOf": [ { @@ -22779,210 +25187,66 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsProjectChatMessage" + "$ref": "#/components/schemas/ItemsQuote" } ] - }, - "ratio": { - "nullable": true, - "type": "number", - "format": "float" - }, - "reference_text": { - "nullable": true, - "type": "string" - }, - "type": { - "nullable": true, - "type": "string" } }, - "x-collection": "project_chat_message_metadata", - "required": [ - "id" - ] + "x-collection": "quote_conversation_chunk" }, - "ItemsProjectReport": { + "ItemsProcessingStatus": { "type": "object", "properties": { - "content": { - "nullable": true, - "type": "string" - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "error_code": { - "nullable": true, - "type": "string" - }, - "id": { - "nullable": false, - "type": "integer", - "format": "int64" - }, - "language": { + "collection_name": { "nullable": true, "type": "string" }, - "project_id": { + "duration_ms": { "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsProject" - } - ] + "type": "integer" }, - "show_portal_link": { + "event": { "nullable": true, - "type": "boolean" - }, - "status": { - "nullable": false, "type": "string" - } - }, - "x-collection": "project_report" - }, - "ItemsProjectReportMetric": { - "type": "object", - "properties": { - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" }, "id": { "nullable": false, "type": "integer", "format": "int64" }, - "ip": { - "nullable": true, - "type": "string" - }, - "project_report_id": { - "nullable": true, - "oneOf": [ - { - "type": "integer", - "format": "int64" - }, - { - "$ref": "#/components/schemas/ItemsProjectReport" - } - ] - }, - "type": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "project_report_metric" - }, - "ItemsProjectReportNotificationParticipants": { - "type": "object", - "properties": { - "conversation_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsConversation" - } - ] - }, - "date_submitted": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "email": { - "nullable": true, - "type": "string" - }, - "email_opt_in": { - "nullable": true, - "type": "boolean" - }, - "email_opt_out_token": { - "nullable": true, - "type": "string", - "format": "uuid" - }, - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "project_id": { + "item_id": { "nullable": true, "type": "string" }, - "sort": { - "nullable": true, - "type": "integer" - } - }, - "x-collection": "project_report_notification_participants", - "required": [ - "id" - ] - }, - "ItemsQuote": { - "type": "object", - "properties": { - "conversation_id": { - "nullable": false, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsConversation" - } - ] - }, - "created_at": { + "json": { "nullable": true, - "type": "string", - "format": "timestamp" + "type": "string" }, - "embedding": { + "message": { "nullable": true, "type": "string" }, + "timestamp": { + "nullable": true, + "type": "string", + "format": "timestamp" + } + }, + "x-collection": "processing_status" + }, + "ItemsAnnouncement": { + "type": "object", + "properties": { "id": { "nullable": false, "type": "string", "format": "uuid" }, - "insight_id": { + "sort": { + "nullable": true, + "type": "integer" + }, + "user_created": { "nullable": true, "oneOf": [ { @@ -22990,15 +25254,16 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsInsight" + "$ref": "#/components/schemas/Users" } ] }, - "order": { + "created_at": { "nullable": true, - "type": "integer" + "type": "string", + "format": "timestamp" }, - "project_analysis_run_id": { + "user_updated": { "nullable": true, "oneOf": [ { @@ -23006,39 +25271,25 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsProjectAnalysisRun" + "$ref": "#/components/schemas/Users" } ] }, - "text": { - "nullable": false, - "type": "string" - }, - "timestamp": { + "updated_at": { "nullable": true, "type": "string", - "format": "date-time" + "format": "timestamp" }, - "updated_at": { + "expires_at": { "nullable": true, "type": "string", - "format": "timestamp" + "format": "date-time" }, - "aspects": { + "level": { "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsQuoteAspect" - } - ] - } + "type": "string" }, - "conversation_chunks": { + "translations": { "nullable": true, "type": "array", "items": { @@ -23047,87 +25298,61 @@ "type": "integer" }, { - "$ref": "#/components/schemas/ItemsQuoteConversationChunk" + "$ref": "#/components/schemas/ItemsAnnouncementTranslations" } ] } }, - "representative_aspects": { + "activity": { "nullable": true, "type": "array", "items": { "oneOf": [ { - "type": "integer" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsQuoteAspect1" + "$ref": "#/components/schemas/ItemsAnnouncementActivity" } ] } } }, - "x-collection": "quote", + "x-collection": "announcement", "required": [ - "conversation_id", - "id", - "text" + "id" ] }, - "ItemsQuoteAspect": { + "ItemsLanguages": { "type": "object", "properties": { - "aspect_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsAspect" - } - ] - }, - "id": { + "code": { "nullable": false, - "type": "integer" + "type": "string" }, - "quote_id": { + "name": { "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsQuote" - } - ] + "type": "string" + }, + "direction": { + "nullable": true, + "type": "string" } }, - "x-collection": "quote_aspect" + "x-collection": "languages", + "required": [ + "code" + ] }, - "ItemsQuoteAspect1": { + "ItemsAnnouncementTranslations": { "type": "object", "properties": { - "aspect_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsAspect" - } - ] - }, "id": { "nullable": false, "type": "integer" }, - "quote_id": { + "announcement_id": { "nullable": true, "oneOf": [ { @@ -23135,148 +25360,136 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsQuote" + "$ref": "#/components/schemas/ItemsAnnouncement" } ] - } - }, - "x-collection": "quote_aspect_1" - }, - "ItemsQuoteConversationChunk": { - "type": "object", - "properties": { - "conversation_chunk_id": { + }, + "languages_code": { "nullable": true, "oneOf": [ { - "type": "string", - "format": "uuid" + "type": "string" }, { - "$ref": "#/components/schemas/ItemsConversationChunk" + "$ref": "#/components/schemas/ItemsLanguages" } ] }, - "id": { - "nullable": false, - "type": "integer" + "title": { + "nullable": true, + "type": "string" }, - "quote_id": { + "message": { "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsQuote" - } - ] + "type": "string" } }, - "x-collection": "quote_conversation_chunk" + "x-collection": "announcement_translations" }, - "Comments": { + "ItemsDashboardAnnouncementsTranslations": { "type": "object", "properties": { "id": { - "description": "Unique identifier for this single collection preset.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", - "type": "string" + "nullable": false, + "type": "integer" }, - "collection": { - "description": "The collection of the item the Comment is created for.", - "example": "articles", + "languages_code": { + "nullable": true, "oneOf": [ { "type": "string" }, { - "$ref": "#/components/schemas/Collections" + "$ref": "#/components/schemas/ItemsLanguages" } ] }, - "item": { - "description": "The item the Comment is created for.", - "example": "123", + "title": { + "nullable": true, "type": "string" }, - "comment": { - "description": "User comment. This will store the comments that show up in the right sidebar of the item edit page in the admin app.", - "example": "This is a comment", + "unread_notifications": { + "nullable": true, "type": "string" }, - "date_created": { - "description": "When the Comment was created.", + "mark_all_as_read": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "dashboard_announcements_translations" + }, + "ItemsAnnouncementActivity": { + "type": "object", + "properties": { + "id": { + "nullable": false, "type": "string", - "example": "2024-01-23T12:34:56Z", - "format": "date-time", - "nullable": true + "format": "uuid" }, - "date_updated": { - "description": "When the Comment was updated.", - "type": "string", - "example": "2024-01-23T12:34:56Z", - "format": "date-time", - "nullable": true + "sort": { + "nullable": true, + "type": "integer" }, "user_created": { - "description": "User that created the Comment.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "nullable": true, "oneOf": [ { - "type": "string" + "type": "string", + "format": "uuid" }, { "$ref": "#/components/schemas/Users" } ] }, + "created_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, "user_updated": { - "description": "User that updated the Comment.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "nullable": true, "oneOf": [ { - "type": "string" + "type": "string", + "format": "uuid" }, { "$ref": "#/components/schemas/Users" } ] - } - }, - "x-collection": "directus_comments" - }, - "ItemsDirectusSyncIDMap": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "integer" }, - "table": { - "nullable": false, - "type": "string" + "updated_at": { + "nullable": true, + "type": "string", + "format": "timestamp" }, - "sync_id": { - "nullable": false, - "type": "string" + "user_id": { + "nullable": true, + "type": "string", + "format": "uuid" }, - "local_id": { - "nullable": false, - "type": "string" + "read": { + "nullable": true, + "type": "boolean" }, - "created_at": { + "announcement_activity": { "nullable": true, - "type": "string", - "format": "timestamp" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsAnnouncement" + } + ] } }, - "x-collection": "directus_sync_id_map", + "x-collection": "announcement_activity", "required": [ - "table", - "sync_id", - "local_id" + "id" ] } }, diff --git a/echo/directus/sync/specs/system.graphql b/echo/directus/sync/specs/system.graphql index 5fe9d882..98243de5 100644 --- a/echo/directus/sync/specs/system.graphql +++ b/echo/directus/sync/specs/system.graphql @@ -29,18 +29,15 @@ type Query { activity(filter: directus_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_activity!]! activity_by_id(id: ID!, version: String): directus_activity activity_aggregated(groupBy: [String], filter: directus_activity_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_activity_aggregated!]! - webhooks(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_webhooks!]! - webhooks_by_id(id: ID!, version: String): directus_webhooks - webhooks_aggregated(groupBy: [String], filter: directus_webhooks_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_webhooks_aggregated!]! files(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_files!]! files_by_id(id: ID!, version: String): directus_files files_aggregated(groupBy: [String], filter: directus_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_files_aggregated!]! - permissions(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_permissions!]! - permissions_by_id(id: ID!, version: String): directus_permissions - permissions_aggregated(groupBy: [String], filter: directus_permissions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_permissions_aggregated!]! presets(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_presets!]! presets_by_id(id: ID!, version: String): directus_presets presets_aggregated(groupBy: [String], filter: directus_presets_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_presets_aggregated!]! + permissions(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_permissions!]! + permissions_by_id(id: ID!, version: String): directus_permissions + permissions_aggregated(groupBy: [String], filter: directus_permissions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_permissions_aggregated!]! settings(version: String): directus_settings panels(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_panels!]! panels_by_id(id: ID!, version: String): directus_panels @@ -48,36 +45,39 @@ type Query { notifications(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_notifications!]! notifications_by_id(id: ID!, version: String): directus_notifications notifications_aggregated(groupBy: [String], filter: directus_notifications_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_notifications_aggregated!]! - shares(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_shares!]! - shares_by_id(id: ID!, version: String): directus_shares - shares_aggregated(groupBy: [String], filter: directus_shares_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_shares_aggregated!]! - dashboards(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_dashboards!]! - dashboards_by_id(id: ID!, version: String): directus_dashboards - dashboards_aggregated(groupBy: [String], filter: directus_dashboards_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_dashboards_aggregated!]! flows(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_flows!]! flows_by_id(id: ID!, version: String): directus_flows flows_aggregated(groupBy: [String], filter: directus_flows_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_flows_aggregated!]! + shares(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_shares!]! + shares_by_id(id: ID!, version: String): directus_shares + shares_aggregated(groupBy: [String], filter: directus_shares_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_shares_aggregated!]! operations(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_operations!]! operations_by_id(id: ID!, version: String): directus_operations operations_aggregated(groupBy: [String], filter: directus_operations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_operations_aggregated!]! - users(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_users!]! - users_by_id(id: ID!, version: String): directus_users - users_aggregated(groupBy: [String], filter: directus_users_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_users_aggregated!]! + dashboards(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_dashboards!]! + dashboards_by_id(id: ID!, version: String): directus_dashboards + dashboards_aggregated(groupBy: [String], filter: directus_dashboards_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_dashboards_aggregated!]! translations(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_translations!]! translations_by_id(id: ID!, version: String): directus_translations translations_aggregated(groupBy: [String], filter: directus_translations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_translations_aggregated!]! + webhooks(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_webhooks!]! + webhooks_by_id(id: ID!, version: String): directus_webhooks + webhooks_aggregated(groupBy: [String], filter: directus_webhooks_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_webhooks_aggregated!]! policies(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_policies!]! policies_by_id(id: ID!, version: String): directus_policies policies_aggregated(groupBy: [String], filter: directus_policies_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_policies_aggregated!]! access(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_access!]! access_by_id(id: ID!, version: String): directus_access access_aggregated(groupBy: [String], filter: directus_access_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_access_aggregated!]! - versions(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_versions!]! - versions_by_id(id: ID!, version: String): directus_versions - versions_aggregated(groupBy: [String], filter: directus_versions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_versions_aggregated!]! comments(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_comments!]! comments_by_id(id: ID!, version: String): directus_comments comments_aggregated(groupBy: [String], filter: directus_comments_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_comments_aggregated!]! + versions(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_versions!]! + versions_by_id(id: ID!, version: String): directus_versions + versions_aggregated(groupBy: [String], filter: directus_versions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_versions_aggregated!]! + users(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_users!]! + users_by_id(id: ID!, version: String): directus_users + users_aggregated(groupBy: [String], filter: directus_users_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_users_aggregated!]! } type Mutation { @@ -115,56 +115,53 @@ type Mutation { create_roles_item(data: create_directus_roles_input!): directus_roles create_folders_items(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_folders_input!]): [directus_folders!]! create_folders_item(data: create_directus_folders_input!): directus_folders - create_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_webhooks_input!]): [directus_webhooks!]! - create_webhooks_item(data: create_directus_webhooks_input!): directus_webhooks create_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_files_input!]): [directus_files!]! create_files_item(data: create_directus_files_input!): directus_files - create_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_permissions_input!]): [directus_permissions!]! - create_permissions_item(data: create_directus_permissions_input!): directus_permissions create_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_presets_input!]): [directus_presets!]! create_presets_item(data: create_directus_presets_input!): directus_presets + create_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_permissions_input!]): [directus_permissions!]! + create_permissions_item(data: create_directus_permissions_input!): directus_permissions create_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_panels_input!]): [directus_panels!]! create_panels_item(data: create_directus_panels_input!): directus_panels create_notifications_items(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_notifications_input!]): [directus_notifications!]! create_notifications_item(data: create_directus_notifications_input!): directus_notifications - create_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_shares_input!]): [directus_shares!]! - create_shares_item(data: create_directus_shares_input!): directus_shares - create_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_dashboards_input!]): [directus_dashboards!]! - create_dashboards_item(data: create_directus_dashboards_input!): directus_dashboards create_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_flows_input!]): [directus_flows!]! create_flows_item(data: create_directus_flows_input!): directus_flows + create_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_shares_input!]): [directus_shares!]! + create_shares_item(data: create_directus_shares_input!): directus_shares create_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_operations_input!]): [directus_operations!]! create_operations_item(data: create_directus_operations_input!): directus_operations - create_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_users_input!]): [directus_users!]! - create_users_item(data: create_directus_users_input!): directus_users + create_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_dashboards_input!]): [directus_dashboards!]! + create_dashboards_item(data: create_directus_dashboards_input!): directus_dashboards create_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_translations_input!]): [directus_translations!]! create_translations_item(data: create_directus_translations_input!): directus_translations + create_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_webhooks_input!]): [directus_webhooks!]! + create_webhooks_item(data: create_directus_webhooks_input!): directus_webhooks create_policies_items(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_policies_input!]): [directus_policies!]! create_policies_item(data: create_directus_policies_input!): directus_policies create_access_items(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_access_input!]): [directus_access!]! create_access_item(data: create_directus_access_input!): directus_access - create_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_versions_input!]): [directus_versions!]! - create_versions_item(data: create_directus_versions_input!): directus_versions create_comments_items(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_comments_input!]): [directus_comments!]! create_comments_item(data: create_directus_comments_input!): directus_comments + create_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_versions_input!]): [directus_versions!]! + create_versions_item(data: create_directus_versions_input!): directus_versions + create_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_users_input!]): [directus_users!]! + create_users_item(data: create_directus_users_input!): directus_users update_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_roles_input!): [directus_roles!]! update_roles_batch(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_roles_input!]): [directus_roles!]! update_roles_item(id: ID!, data: update_directus_roles_input!): directus_roles update_folders_items(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_folders_input!): [directus_folders!]! update_folders_batch(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_folders_input!]): [directus_folders!]! update_folders_item(id: ID!, data: update_directus_folders_input!): directus_folders - update_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_webhooks_input!): [directus_webhooks!]! - update_webhooks_batch(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_webhooks_input!]): [directus_webhooks!]! - update_webhooks_item(id: ID!, data: update_directus_webhooks_input!): directus_webhooks update_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_files_input!): [directus_files!]! update_files_batch(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_files_input!]): [directus_files!]! update_files_item(id: ID!, data: update_directus_files_input!): directus_files - update_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_permissions_input!): [directus_permissions!]! - update_permissions_batch(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_permissions_input!]): [directus_permissions!]! - update_permissions_item(id: ID!, data: update_directus_permissions_input!): directus_permissions update_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_presets_input!): [directus_presets!]! update_presets_batch(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_presets_input!]): [directus_presets!]! update_presets_item(id: ID!, data: update_directus_presets_input!): directus_presets + update_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_permissions_input!): [directus_permissions!]! + update_permissions_batch(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_permissions_input!]): [directus_permissions!]! + update_permissions_item(id: ID!, data: update_directus_permissions_input!): directus_permissions update_settings(data: update_directus_settings_input!): directus_settings update_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_panels_input!): [directus_panels!]! update_panels_batch(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_panels_input!]): [directus_panels!]! @@ -172,114 +169,113 @@ type Mutation { update_notifications_items(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_notifications_input!): [directus_notifications!]! update_notifications_batch(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_notifications_input!]): [directus_notifications!]! update_notifications_item(id: ID!, data: update_directus_notifications_input!): directus_notifications - update_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_shares_input!): [directus_shares!]! - update_shares_batch(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_shares_input!]): [directus_shares!]! - update_shares_item(id: ID!, data: update_directus_shares_input!): directus_shares - update_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_dashboards_input!): [directus_dashboards!]! - update_dashboards_batch(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_dashboards_input!]): [directus_dashboards!]! - update_dashboards_item(id: ID!, data: update_directus_dashboards_input!): directus_dashboards update_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_flows_input!): [directus_flows!]! update_flows_batch(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_flows_input!]): [directus_flows!]! update_flows_item(id: ID!, data: update_directus_flows_input!): directus_flows + update_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_shares_input!): [directus_shares!]! + update_shares_batch(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_shares_input!]): [directus_shares!]! + update_shares_item(id: ID!, data: update_directus_shares_input!): directus_shares update_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_operations_input!): [directus_operations!]! update_operations_batch(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_operations_input!]): [directus_operations!]! update_operations_item(id: ID!, data: update_directus_operations_input!): directus_operations - update_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_users_input!): [directus_users!]! - update_users_batch(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_users_input!]): [directus_users!]! - update_users_item(id: ID!, data: update_directus_users_input!): directus_users + update_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_dashboards_input!): [directus_dashboards!]! + update_dashboards_batch(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_dashboards_input!]): [directus_dashboards!]! + update_dashboards_item(id: ID!, data: update_directus_dashboards_input!): directus_dashboards update_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_translations_input!): [directus_translations!]! update_translations_batch(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_translations_input!]): [directus_translations!]! update_translations_item(id: ID!, data: update_directus_translations_input!): directus_translations + update_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_webhooks_input!): [directus_webhooks!]! + update_webhooks_batch(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_webhooks_input!]): [directus_webhooks!]! + update_webhooks_item(id: ID!, data: update_directus_webhooks_input!): directus_webhooks update_policies_items(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_policies_input!): [directus_policies!]! update_policies_batch(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_policies_input!]): [directus_policies!]! update_policies_item(id: ID!, data: update_directus_policies_input!): directus_policies update_access_items(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_access_input!): [directus_access!]! update_access_batch(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_access_input!]): [directus_access!]! update_access_item(id: ID!, data: update_directus_access_input!): directus_access - update_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_versions_input!): [directus_versions!]! - update_versions_batch(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_versions_input!]): [directus_versions!]! - update_versions_item(id: ID!, data: update_directus_versions_input!): directus_versions update_comments_items(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_comments_input!): [directus_comments!]! update_comments_batch(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_comments_input!]): [directus_comments!]! update_comments_item(id: ID!, data: update_directus_comments_input!): directus_comments + update_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_versions_input!): [directus_versions!]! + update_versions_batch(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_versions_input!]): [directus_versions!]! + update_versions_item(id: ID!, data: update_directus_versions_input!): directus_versions + update_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_users_input!): [directus_users!]! + update_users_batch(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_users_input!]): [directus_users!]! + update_users_item(id: ID!, data: update_directus_users_input!): directus_users delete_roles_items(ids: [ID]!): delete_many delete_roles_item(id: ID!): delete_one delete_folders_items(ids: [ID]!): delete_many delete_folders_item(id: ID!): delete_one - delete_webhooks_items(ids: [ID]!): delete_many - delete_webhooks_item(id: ID!): delete_one delete_files_items(ids: [ID]!): delete_many delete_files_item(id: ID!): delete_one - delete_permissions_items(ids: [ID]!): delete_many - delete_permissions_item(id: ID!): delete_one delete_presets_items(ids: [ID]!): delete_many delete_presets_item(id: ID!): delete_one + delete_permissions_items(ids: [ID]!): delete_many + delete_permissions_item(id: ID!): delete_one delete_panels_items(ids: [ID]!): delete_many delete_panels_item(id: ID!): delete_one delete_notifications_items(ids: [ID]!): delete_many delete_notifications_item(id: ID!): delete_one - delete_shares_items(ids: [ID]!): delete_many - delete_shares_item(id: ID!): delete_one - delete_dashboards_items(ids: [ID]!): delete_many - delete_dashboards_item(id: ID!): delete_one delete_flows_items(ids: [ID]!): delete_many delete_flows_item(id: ID!): delete_one + delete_shares_items(ids: [ID]!): delete_many + delete_shares_item(id: ID!): delete_one delete_operations_items(ids: [ID]!): delete_many delete_operations_item(id: ID!): delete_one - delete_users_items(ids: [ID]!): delete_many - delete_users_item(id: ID!): delete_one + delete_dashboards_items(ids: [ID]!): delete_many + delete_dashboards_item(id: ID!): delete_one delete_translations_items(ids: [ID]!): delete_many delete_translations_item(id: ID!): delete_one + delete_webhooks_items(ids: [ID]!): delete_many + delete_webhooks_item(id: ID!): delete_one delete_policies_items(ids: [ID]!): delete_many delete_policies_item(id: ID!): delete_one delete_access_items(ids: [ID]!): delete_many delete_access_item(id: ID!): delete_one - delete_versions_items(ids: [ID]!): delete_many - delete_versions_item(id: ID!): delete_one delete_comments_items(ids: [ID]!): delete_many delete_comments_item(id: ID!): delete_one + delete_versions_items(ids: [ID]!): delete_many + delete_versions_item(id: ID!): delete_one + delete_users_items(ids: [ID]!): delete_many + delete_users_item(id: ID!): delete_one } type Subscription { directus_roles_mutated(event: EventEnum): directus_roles_mutated - processing_status_mutated(event: EventEnum): processing_status_mutated directus_revisions_mutated(event: EventEnum): directus_revisions_mutated directus_folders_mutated(event: EventEnum): directus_folders_mutated directus_activity_mutated(event: EventEnum): directus_activity_mutated - directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated directus_files_mutated(event: EventEnum): directus_files_mutated - directus_permissions_mutated(event: EventEnum): directus_permissions_mutated directus_presets_mutated(event: EventEnum): directus_presets_mutated + directus_permissions_mutated(event: EventEnum): directus_permissions_mutated directus_settings_mutated(event: EventEnum): directus_settings_mutated + directus_panels_mutated(event: EventEnum): directus_panels_mutated + directus_notifications_mutated(event: EventEnum): directus_notifications_mutated + directus_flows_mutated(event: EventEnum): directus_flows_mutated + directus_shares_mutated(event: EventEnum): directus_shares_mutated + directus_operations_mutated(event: EventEnum): directus_operations_mutated + directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated + directus_translations_mutated(event: EventEnum): directus_translations_mutated + directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated + directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated + directus_policies_mutated(event: EventEnum): directus_policies_mutated + directus_access_mutated(event: EventEnum): directus_access_mutated + directus_comments_mutated(event: EventEnum): directus_comments_mutated + directus_versions_mutated(event: EventEnum): directus_versions_mutated aspect_mutated(event: EventEnum): aspect_mutated - conversation_chunk_mutated(event: EventEnum): conversation_chunk_mutated + directus_users_mutated(event: EventEnum): directus_users_mutated account_mutated(event: EventEnum): account_mutated account_directus_users_mutated(event: EventEnum): account_directus_users_mutated view_mutated(event: EventEnum): view_mutated - conversation_mutated(event: EventEnum): conversation_mutated conversation_project_tag_mutated(event: EventEnum): conversation_project_tag_mutated project_tag_mutated(event: EventEnum): project_tag_mutated conversation_reply_mutated(event: EventEnum): conversation_reply_mutated - conversation_segment_mutated(event: EventEnum): conversation_segment_mutated conversation_segment_conversation_chunk_mutated(event: EventEnum): conversation_segment_conversation_chunk_mutated document_mutated(event: EventEnum): document_mutated project_analysis_run_mutated(event: EventEnum): project_analysis_run_mutated insight_mutated(event: EventEnum): insight_mutated project_chat_mutated(event: EventEnum): project_chat_mutated - project_mutated(event: EventEnum): project_mutated project_chat_conversation_mutated(event: EventEnum): project_chat_conversation_mutated - directus_panels_mutated(event: EventEnum): directus_panels_mutated - directus_notifications_mutated(event: EventEnum): directus_notifications_mutated - directus_shares_mutated(event: EventEnum): directus_shares_mutated - directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated - directus_flows_mutated(event: EventEnum): directus_flows_mutated - directus_operations_mutated(event: EventEnum): directus_operations_mutated - directus_users_mutated(event: EventEnum): directus_users_mutated - directus_translations_mutated(event: EventEnum): directus_translations_mutated - directus_policies_mutated(event: EventEnum): directus_policies_mutated - directus_access_mutated(event: EventEnum): directus_access_mutated - directus_versions_mutated(event: EventEnum): directus_versions_mutated - project_chat_message_mutated(event: EventEnum): project_chat_message_mutated project_chat_message_conversation_mutated(event: EventEnum): project_chat_message_conversation_mutated project_chat_message_conversation_1_mutated(event: EventEnum): project_chat_message_conversation_1_mutated project_chat_message_metadata_mutated(event: EventEnum): project_chat_message_metadata_mutated @@ -288,10 +284,19 @@ type Subscription { project_report_notification_participants_mutated(event: EventEnum): project_report_notification_participants_mutated quote_mutated(event: EventEnum): quote_mutated quote_aspect_mutated(event: EventEnum): quote_aspect_mutated + conversation_segment_mutated(event: EventEnum): conversation_segment_mutated + conversation_mutated(event: EventEnum): conversation_mutated + project_chat_message_mutated(event: EventEnum): project_chat_message_mutated + project_mutated(event: EventEnum): project_mutated + conversation_chunk_mutated(event: EventEnum): conversation_chunk_mutated quote_aspect_1_mutated(event: EventEnum): quote_aspect_1_mutated quote_conversation_chunk_mutated(event: EventEnum): quote_conversation_chunk_mutated - directus_comments_mutated(event: EventEnum): directus_comments_mutated - directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated + processing_status_mutated(event: EventEnum): processing_status_mutated + announcement_mutated(event: EventEnum): announcement_mutated + languages_mutated(event: EventEnum): languages_mutated + announcement_translations_mutated(event: EventEnum): announcement_translations_mutated + dashboard_announcements_translations_mutated(event: EventEnum): dashboard_announcements_translations_mutated + announcement_activity_mutated(event: EventEnum): announcement_activity_mutated } """The `Boolean` scalar type represents `true` or `false`.""" @@ -397,6 +402,64 @@ type account_mutated { data: account } +type announcement { + id: ID! + sort: Int + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + created_at: Date + created_at_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + updated_at: Date + updated_at_func: datetime_functions + expires_at: Date + expires_at_func: datetime_functions + level: String + translations(filter: announcement_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [announcement_translations] + translations_func: count_functions + activity(filter: announcement_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [announcement_activity] + activity_func: count_functions +} + +type announcement_activity { + id: ID! + sort: Int + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + created_at: Date + created_at_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + updated_at: Date + updated_at_func: datetime_functions + user_id: String + read: Boolean + announcement_activity(filter: announcement_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): announcement +} + +type announcement_activity_mutated { + key: ID! + event: EventEnum + data: announcement_activity +} + +type announcement_mutated { + key: ID! + event: EventEnum + data: announcement +} + +type announcement_translations { + id: ID! + announcement_id(filter: announcement_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): announcement + languages_code(filter: languages_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): languages + title: String + message: String +} + +type announcement_translations_mutated { + key: ID! + event: EventEnum + data: announcement_translations +} + type aspect { created_at: Date created_at_func: datetime_functions @@ -435,7 +498,6 @@ type conversation { description: String duration: Float id: ID! - is_audio_processing_finished: Boolean is_finished: Boolean merged_audio_path: String merged_transcript: String @@ -452,10 +514,9 @@ type conversation { title: String updated_at: Date updated_at_func: datetime_functions + is_audio_processing_finished: Boolean chunks(filter: conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_chunk] chunks_func: count_functions - conversation_segments(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment] - conversation_segments_func: count_functions project_chat_messages(filter: project_chat_message_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message_conversation] project_chat_messages_func: count_functions project_chats(filter: project_chat_conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_conversation] @@ -464,6 +525,8 @@ type conversation { replies_func: count_functions tags(filter: conversation_project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_project_tag] tags_func: count_functions + conversation_segments(filter: conversation_segment_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment] + conversation_segments_func: count_functions } type conversation_chunk { @@ -539,12 +602,12 @@ type conversation_reply_mutated { type conversation_segment { config_id: String contextual_transcript: String - conversation_id(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): conversation counter: Float id: ID! lightrag_flag: Boolean path: String transcript: String + conversation_id(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): conversation chunks(filter: conversation_segment_conversation_chunk_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation_segment_conversation_chunk] chunks_func: count_functions } @@ -571,6 +634,20 @@ type count_functions { count: Int } +type dashboard_announcements_translations { + id: ID! + languages_code(filter: languages_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): languages + title: String + unread_notifications: String + mark_all_as_read: String +} + +type dashboard_announcements_translations_mutated { + key: ID! + event: EventEnum + data: dashboard_announcements_translations +} + type datetime_functions { year: Int month: Int @@ -1885,6 +1962,18 @@ type insight_mutated { data: insight } +type languages { + code: ID! + name: String + direction: String +} + +type languages_mutated { + key: ID! + event: EventEnum + data: languages +} + type policy_me_globals_type { enforce_tfa: Boolean app_access: Boolean @@ -1940,14 +2029,14 @@ type project { get_reply_mode: String conversations(filter: conversation_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [conversation] conversations_func: count_functions + tags(filter: project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_tag] + tags_func: count_functions project_analysis_runs(filter: project_analysis_run_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_analysis_run] project_analysis_runs_func: count_functions project_chats(filter: project_chat_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat] project_chats_func: count_functions project_reports(filter: project_report_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_report] project_reports_func: count_functions - tags(filter: project_tag_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_tag] - tags_func: count_functions } type project_analysis_run { @@ -2015,9 +2104,9 @@ type project_chat_message { id: ID! message_from: String project_chat_id(filter: project_chat_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): project_chat - template_key: String text: String tokens_count: Int + template_key: String added_conversations(filter: project_chat_message_conversation_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message_conversation_1] added_conversations_func: count_functions chat_message_metadata(filter: project_chat_message_metadata_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [project_chat_message_metadata] @@ -2320,6 +2409,52 @@ input account_filter { _or: [account_filter] } +input announcement_activity_filter { + id: string_filter_operators + sort: number_filter_operators + user_created: directus_users_filter + created_at: date_filter_operators + created_at_func: datetime_function_filter_operators + user_updated: directus_users_filter + updated_at: date_filter_operators + updated_at_func: datetime_function_filter_operators + user_id: string_filter_operators + read: boolean_filter_operators + announcement_activity: announcement_filter + _and: [announcement_activity_filter] + _or: [announcement_activity_filter] +} + +input announcement_filter { + id: string_filter_operators + sort: number_filter_operators + user_created: directus_users_filter + created_at: date_filter_operators + created_at_func: datetime_function_filter_operators + user_updated: directus_users_filter + updated_at: date_filter_operators + updated_at_func: datetime_function_filter_operators + expires_at: date_filter_operators + expires_at_func: datetime_function_filter_operators + level: string_filter_operators + translations: announcement_translations_filter + translations_func: count_function_filter_operators + activity: announcement_activity_filter + activity_func: count_function_filter_operators + _and: [announcement_filter] + _or: [announcement_filter] +} + +input announcement_translations_filter { + id: number_filter_operators + announcement_id: announcement_filter + languages_code: languages_filter + title: string_filter_operators + message: string_filter_operators + _and: [announcement_translations_filter] + _or: [announcement_translations_filter] +} + input aspect_filter { created_at: date_filter_operators created_at_func: datetime_function_filter_operators @@ -2399,7 +2534,6 @@ input conversation_filter { description: string_filter_operators duration: number_filter_operators id: string_filter_operators - is_audio_processing_finished: boolean_filter_operators is_finished: boolean_filter_operators merged_audio_path: string_filter_operators merged_transcript: string_filter_operators @@ -2414,10 +2548,9 @@ input conversation_filter { title: string_filter_operators updated_at: date_filter_operators updated_at_func: datetime_function_filter_operators + is_audio_processing_finished: boolean_filter_operators chunks: conversation_chunk_filter chunks_func: count_function_filter_operators - conversation_segments: conversation_segment_filter - conversation_segments_func: count_function_filter_operators project_chat_messages: project_chat_message_conversation_filter project_chat_messages_func: count_function_filter_operators project_chats: project_chat_conversation_filter @@ -2426,6 +2559,8 @@ input conversation_filter { replies_func: count_function_filter_operators tags: conversation_project_tag_filter tags_func: count_function_filter_operators + conversation_segments: conversation_segment_filter + conversation_segments_func: count_function_filter_operators _and: [conversation_filter] _or: [conversation_filter] } @@ -2462,12 +2597,12 @@ input conversation_segment_conversation_chunk_filter { input conversation_segment_filter { config_id: string_filter_operators contextual_transcript: string_filter_operators - conversation_id: conversation_filter counter: number_filter_operators id: number_filter_operators lightrag_flag: boolean_filter_operators path: string_filter_operators transcript: string_filter_operators + conversation_id: conversation_filter chunks: conversation_segment_conversation_chunk_filter chunks_func: count_function_filter_operators _and: [conversation_segment_filter] @@ -2536,7 +2671,6 @@ input create_conversation_input { description: String duration: Float id: ID - is_audio_processing_finished: Boolean is_finished: Boolean merged_audio_path: String merged_transcript: String @@ -2552,12 +2686,13 @@ input create_conversation_input { summary: String title: String updated_at: Date + is_audio_processing_finished: Boolean chunks: [create_conversation_chunk_input] - conversation_segments: [create_conversation_segment_input] project_chat_messages: [create_project_chat_message_conversation_input] project_chats: [create_project_chat_conversation_input] replies: [create_conversation_reply_input] tags: [create_conversation_project_tag_input] + conversation_segments: [create_conversation_segment_input] } input create_conversation_project_tag_input { @@ -2585,12 +2720,12 @@ input create_conversation_segment_conversation_chunk_input { input create_conversation_segment_input { config_id: String contextual_transcript: String - conversation_id: create_conversation_input counter: Float id: ID lightrag_flag: Boolean path: String transcript: String + conversation_id: create_conversation_input chunks: [create_conversation_segment_conversation_chunk_input] } @@ -2962,9 +3097,9 @@ input create_project_chat_message_input { id: ID message_from: String project_chat_id: create_project_chat_input - template_key: String text: String tokens_count: Int + template_key: String added_conversations: [create_project_chat_message_conversation_1_input] chat_message_metadata: [create_project_chat_message_metadata_input] used_conversations: [create_project_chat_message_conversation_input] @@ -3008,10 +3143,10 @@ input create_project_input { updated_at: Date get_reply_mode: String conversations: [create_conversation_input] + tags: [create_project_tag_input] project_analysis_runs: [create_project_analysis_run_input] project_chats: [create_project_chat_input] project_reports: [create_project_report_input] - tags: [create_project_tag_input] } input create_project_report_input { @@ -3600,6 +3735,14 @@ input insight_filter { _or: [insight_filter] } +input languages_filter { + code: string_filter_operators + name: string_filter_operators + direction: string_filter_operators + _and: [languages_filter] + _or: [languages_filter] +} + input number_filter_operators { _eq: GraphQLStringOrFloat _neq: GraphQLStringOrFloat @@ -3690,9 +3833,9 @@ input project_chat_message_filter { id: string_filter_operators message_from: string_filter_operators project_chat_id: project_chat_filter - template_key: string_filter_operators text: string_filter_operators tokens_count: number_filter_operators + template_key: string_filter_operators added_conversations: project_chat_message_conversation_1_filter added_conversations_func: count_function_filter_operators chat_message_metadata: project_chat_message_metadata_filter @@ -3743,14 +3886,14 @@ input project_filter { get_reply_mode: string_filter_operators conversations: conversation_filter conversations_func: count_function_filter_operators + tags: project_tag_filter + tags_func: count_function_filter_operators project_analysis_runs: project_analysis_run_filter project_analysis_runs_func: count_function_filter_operators project_chats: project_chat_filter project_chats_func: count_function_filter_operators project_reports: project_report_filter project_reports_func: count_function_filter_operators - tags: project_tag_filter - tags_func: count_function_filter_operators _and: [project_filter] _or: [project_filter] } @@ -3914,7 +4057,6 @@ input update_conversation_input { description: String duration: Float id: ID - is_audio_processing_finished: Boolean is_finished: Boolean merged_audio_path: String merged_transcript: String @@ -3930,12 +4072,13 @@ input update_conversation_input { summary: String title: String updated_at: Date + is_audio_processing_finished: Boolean chunks: [update_conversation_chunk_input] - conversation_segments: [update_conversation_segment_input] project_chat_messages: [update_project_chat_message_conversation_input] project_chats: [update_project_chat_conversation_input] replies: [update_conversation_reply_input] tags: [update_conversation_project_tag_input] + conversation_segments: [update_conversation_segment_input] } input update_conversation_project_tag_input { @@ -3963,12 +4106,12 @@ input update_conversation_segment_conversation_chunk_input { input update_conversation_segment_input { config_id: String contextual_transcript: String - conversation_id: update_conversation_input counter: Float id: ID lightrag_flag: Boolean path: String transcript: String + conversation_id: update_conversation_input chunks: [update_conversation_segment_conversation_chunk_input] } @@ -4381,9 +4524,9 @@ input update_project_chat_message_input { id: ID message_from: String project_chat_id: update_project_chat_input - template_key: String text: String tokens_count: Int + template_key: String added_conversations: [update_project_chat_message_conversation_1_input] chat_message_metadata: [update_project_chat_message_metadata_input] used_conversations: [update_project_chat_message_conversation_input] @@ -4427,10 +4570,10 @@ input update_project_input { updated_at: Date get_reply_mode: String conversations: [update_conversation_input] + tags: [update_project_tag_input] project_analysis_runs: [update_project_analysis_run_input] project_chats: [update_project_chat_input] project_reports: [update_project_report_input] - tags: [update_project_tag_input] } input update_project_report_input { diff --git a/echo/frontend/src/components/announcement/AnnouncementDrawerHeader.tsx b/echo/frontend/src/components/announcement/AnnouncementDrawerHeader.tsx new file mode 100644 index 00000000..45455723 --- /dev/null +++ b/echo/frontend/src/components/announcement/AnnouncementDrawerHeader.tsx @@ -0,0 +1,55 @@ +import { t } from "@lingui/core/macro"; +import { Trans } from "@lingui/react/macro"; +import { ActionIcon, Button, Group, Stack, Text } from "@mantine/core"; +import { IconX } from "@tabler/icons-react"; +import { useUnreadAnnouncements } from "./hooks"; + +export const AnnouncementDrawerHeader = ({ + onClose, + onMarkAllAsRead, + isPending, +}: { + onClose: () => void; + onMarkAllAsRead: () => void; + isPending: boolean; +}) => { + const { data: unreadCount, isLoading: isLoadingUnread } = + useUnreadAnnouncements(); + const hasUnreadAnnouncements = unreadCount && unreadCount > 0; + + return ( + + + + Announcements + + + + + + + {hasUnreadAnnouncements && ( + + {unreadCount} {unreadCount === 1 ? t`unread announcement` : t`unread announcements`} + + )} + {hasUnreadAnnouncements && ( + + )} + + + ); +}; diff --git a/echo/frontend/src/components/announcement/AnnouncementIcon.tsx b/echo/frontend/src/components/announcement/AnnouncementIcon.tsx new file mode 100644 index 00000000..87bc708e --- /dev/null +++ b/echo/frontend/src/components/announcement/AnnouncementIcon.tsx @@ -0,0 +1,67 @@ +import { ActionIcon, Box, Group, Indicator, Loader, Text } from "@mantine/core"; +import { IconSpeakerphone } from "@tabler/icons-react"; +import { useLatestAnnouncement, useUnreadAnnouncements } from "./hooks"; +import { useLanguage } from "@/hooks/useLanguage"; +import { useAnnouncementDrawer } from "@/hooks/useAnnouncementDrawer"; +import { getTranslatedContent } from "@/hooks/useProcessedAnnouncements"; +import { Markdown } from "@/components/common/Markdown"; + +export const AnnouncementIcon = () => { + const { open } = useAnnouncementDrawer(); + const { language } = useLanguage(); + const { data: latestAnnouncement, isLoading: isLoadingLatest } = + useLatestAnnouncement(); + const { data: unreadCount, isLoading: isLoadingUnread } = + useUnreadAnnouncements(); + + // Get latest urgent announcement message + const urgentMessage = latestAnnouncement + ? getTranslatedContent(latestAnnouncement as Announcement, language).message + : ""; + + // Check if the latest announcement is unread + const isUrgentUnread = latestAnnouncement + ? !latestAnnouncement.activity?.some( + (activity: AnnouncementActivity) => activity.read === true, + ) + : false; + + const isLoading = isLoadingLatest || isLoadingUnread; + + return ( + + + + {unreadCount || 0} + + } + size={20} + disabled={(unreadCount || 0) === 0} + withBorder + > + + {isLoading ? ( + + ) : ( + + )} + + + + + {isUrgentUnread && urgentMessage && ( + + + + )} + + ); +}; diff --git a/echo/frontend/src/components/announcement/AnnouncementItem.tsx b/echo/frontend/src/components/announcement/AnnouncementItem.tsx new file mode 100644 index 00000000..6c68c2f2 --- /dev/null +++ b/echo/frontend/src/components/announcement/AnnouncementItem.tsx @@ -0,0 +1,161 @@ +import { + Box, + Button, + Group, + Stack, + Text, + useMantineTheme, + ThemeIcon, +} from "@mantine/core"; +import { + IconChecks, + IconChevronDown, + IconChevronUp, + IconInfoCircle, + IconAlertTriangle, +} from "@tabler/icons-react"; +import { Trans } from "@lingui/react/macro"; +import { useEffect, useRef, useState, forwardRef } from "react"; +import { Markdown } from "@/components/common/Markdown"; +import { useFormatDate } from "./utils/dateUtils"; + +type Announcement = { + id: string; + title: string; + message: string; + created_at: string | Date | null | undefined; + expires_at?: string | Date | null | undefined; + read?: boolean | null; + level: "info" | "urgent"; +}; + +interface AnnouncementItemProps { + announcement: Announcement; + onMarkAsRead: (id: string) => void; + index: number; +} + +export const AnnouncementItem = forwardRef< + HTMLDivElement, + AnnouncementItemProps +>(({ announcement, onMarkAsRead, index }, ref) => { + const theme = useMantineTheme(); + const [showMore, setShowMore] = useState(false); + const [showReadMoreButton, setShowReadMoreButton] = useState(false); + const messageRef = useRef(null); + const formatDate = useFormatDate(); + + useEffect(() => { + if (messageRef.current) { + setShowReadMoreButton( + messageRef.current.scrollHeight !== messageRef.current.clientHeight, + ); + } + }, []); + + return ( + + + + { + + {announcement.level === "urgent" ? ( + + ) : ( + + )} + + } + + +
+ +
+ + + + {formatDate(announcement.created_at)} + + + {/* this part needs a second look */} + {!announcement.read && ( +
+ )} + {/* this part needs a second look */} + + + + + + + + + {showReadMoreButton && ( + + )} + + + {!announcement.read && ( + + )} + + + + + + + ); +}); + +AnnouncementItem.displayName = "AnnouncementItem"; diff --git a/echo/frontend/src/components/announcement/AnnouncementSkeleton.tsx b/echo/frontend/src/components/announcement/AnnouncementSkeleton.tsx new file mode 100644 index 00000000..9a5d0b00 --- /dev/null +++ b/echo/frontend/src/components/announcement/AnnouncementSkeleton.tsx @@ -0,0 +1,67 @@ +import { Box, Group, Stack, ThemeIcon } from "@mantine/core"; +import { IconAlertTriangle, IconInfoCircle } from "@tabler/icons-react"; + +export const AnnouncementSkeleton = () => ( + + {[1, 2, 3, 4, 5, 6].map((i) => ( + + + + + {/* Use a generic icon skeleton */} + + + + + + + + + + + + + + + + + + + + + + + + + ))} + +); diff --git a/echo/frontend/src/components/announcement/Announcements.tsx b/echo/frontend/src/components/announcement/Announcements.tsx new file mode 100644 index 00000000..1f20d767 --- /dev/null +++ b/echo/frontend/src/components/announcement/Announcements.tsx @@ -0,0 +1,143 @@ +import { Box, ScrollArea, Stack, Text, Loader, Center } from "@mantine/core"; +import { Trans } from "@lingui/react/macro"; +import { useState, useEffect } from "react"; +import { useInView } from "react-intersection-observer"; +import { Drawer } from "../common/Drawer"; +import { AnnouncementItem } from "./AnnouncementItem"; +import { + useInfiniteAnnouncements, + useMarkAsReadMutation, + useMarkAllAsReadMutation, +} from "./hooks"; +import { useLanguage } from "@/hooks/useLanguage"; +import { AnnouncementSkeleton } from "./AnnouncementSkeleton"; +import { AnnouncementDrawerHeader } from "./AnnouncementDrawerHeader"; +import { useProcessedAnnouncements } from "@/hooks/useProcessedAnnouncements"; +import { useAnnouncementDrawer } from "@/hooks/useAnnouncementDrawer"; + +export const Announcements = () => { + const { isOpen, close } = useAnnouncementDrawer(); + const { language } = useLanguage(); + const markAsReadMutation = useMarkAsReadMutation(); + const markAllAsReadMutation = useMarkAllAsReadMutation(); + const [openedOnce, setOpenedOnce] = useState(false); + + const { ref: loadMoreRef, inView } = useInView(); + + // Track when drawer is opened for the first time + useEffect(() => { + if (isOpen && !openedOnce) { + setOpenedOnce(true); + } + }, [isOpen, openedOnce]); + + const { + data: announcementsData, + fetchNextPage, + hasNextPage, + isFetchingNextPage, + isLoading, + isError, + error, + } = useInfiniteAnnouncements({ + options: { + initialLimit: 10, + }, + enabled: openedOnce, + }); + + // Flatten all announcements from all pages + const allAnnouncements = + announcementsData?.pages.flatMap((page) => page.announcements) ?? []; + + // Process announcements with translations and read status + const processedAnnouncements = useProcessedAnnouncements( + allAnnouncements as Announcement[], + language, + ); + + // Load more announcements when user scrolls to bottom + useEffect(() => { + if (inView && hasNextPage && !isFetchingNextPage) { + fetchNextPage(); + } + }, [inView, hasNextPage, isFetchingNextPage, fetchNextPage]); + + const handleMarkAsRead = async (id: string) => { + markAsReadMutation.mutate({ + announcementId: id, + }); + }; + + const handleMarkAllAsRead = async () => { + markAllAsReadMutation.mutate(); + }; + + if (isError) { + console.error("Error loading announcements:", error); + } + + return ( + + } + classNames={{ + content: "border-0", + title: "px-3 w-full", + header: "border-b", + body: "p-0", + }} + withCloseButton={false} + styles={{ + content: { + maxWidth: "95%", + }, + }} + > + + + + {isLoading ? ( + + ) : processedAnnouncements.length === 0 ? ( + + + No announcements available + + + ) : ( + <> + {processedAnnouncements.map((announcement, index) => ( + + ))} + {isFetchingNextPage && ( +
+ +
+ )} + + )} +
+
+
+
+ ); +}; diff --git a/echo/frontend/src/components/announcement/TopAnnouncementBar.tsx b/echo/frontend/src/components/announcement/TopAnnouncementBar.tsx new file mode 100644 index 00000000..a58aa3fd --- /dev/null +++ b/echo/frontend/src/components/announcement/TopAnnouncementBar.tsx @@ -0,0 +1,107 @@ +import { + Box, + Group, + Text, + useMantineTheme, + ActionIcon, + ThemeIcon, +} from "@mantine/core"; +import { IconAlertTriangle, IconX } from "@tabler/icons-react"; +import { useLatestAnnouncement, useMarkAsReadMutation } from "./hooks"; +import { theme } from "@/theme"; +import { useState, useEffect } from "react"; +import { useAnnouncementDrawer } from "@/hooks/useAnnouncementDrawer"; +import { useLanguage } from "@/hooks/useLanguage"; +import { Markdown } from "@/components/common/Markdown"; +import { getTranslatedContent } from "@/hooks/useProcessedAnnouncements"; +import { toast } from "@/components/common/Toaster"; +import { t } from "@lingui/core/macro"; + +export function TopAnnouncementBar() { + const theme = useMantineTheme(); + const { data: announcement, isLoading } = useLatestAnnouncement(); + const markAsReadMutation = useMarkAsReadMutation(); + const [isClosed, setIsClosed] = useState(false); + const { open } = useAnnouncementDrawer(); + const { language } = useLanguage(); + + // Check if the announcement has been read by the current user + // Directus already filters activity data for the current user + const isRead = announcement?.activity?.some( + (activity: AnnouncementActivity) => activity.read === true, + ); + + useEffect(() => { + const shouldUseDefaultHeight = + isLoading || + !announcement || + announcement.level !== "urgent" || + isClosed || + isRead; + + const height = shouldUseDefaultHeight ? "60px" : "112px"; + const root = document.documentElement.style; + + root.setProperty("--base-layout-height", `calc(100% - ${height})`, "important"); + root.setProperty("--base-layout-padding", height, "important"); + root.setProperty("--project-layout-height", `calc(100vh - ${height})`, "important"); + }, [isLoading, announcement, isClosed, isRead]); + + // Only show if we have an urgent announcement, it's not closed, and it's not read + if ( + isLoading || + !announcement || + announcement.level !== "urgent" || + isClosed || + isRead + ) { + return null; + } + + const { title } = getTranslatedContent(announcement as Announcement, language); + + const handleClose = async (e: React.MouseEvent) => { + e.stopPropagation(); + setIsClosed(true); + + // Mark announcement as read + if (announcement.id) { + markAsReadMutation.mutate({ + announcementId: announcement.id, + }); + } + }; + + const handleBarClick = () => { + open(); + }; + + return ( + + + + + + + + + + + + + ); +} diff --git a/echo/frontend/src/components/announcement/hooks/index.ts b/echo/frontend/src/components/announcement/hooks/index.ts new file mode 100644 index 00000000..2e44c957 --- /dev/null +++ b/echo/frontend/src/components/announcement/hooks/index.ts @@ -0,0 +1,474 @@ +import { + useQuery, + useInfiniteQuery, + useMutation, + useQueryClient, +} from "@tanstack/react-query"; +import { Query, readItems, createItems, aggregate } from "@directus/sdk"; +import { directus } from "@/lib/directus"; +import { useCurrentUser } from "@/lib/query"; +import { toast } from "@/components/common/Toaster"; +import { t } from "@lingui/core/macro"; + +export const useLatestAnnouncement = () => { + const { data: currentUser } = useCurrentUser(); + + return useQuery({ + queryKey: ["announcements", "latest"], + queryFn: async () => { + try { + const response = await directus.request( + readItems("announcement", { + filter: { + _or: [ + { + expires_at: { + // @ts-ignore + _gte: new Date().toISOString(), + }, + }, + { + expires_at: { + _null: true, + }, + }, + ], + }, + fields: [ + "id", + "created_at", + "expires_at", + "level", + { + translations: ["id", "languages_code", "title", "message"], + }, + { + activity: ["id", "user_id", "announcement_activity", "read"], + }, + ], + deep: { + // @ts-ignore + activity: { + _filter: { + user_id: { + _eq: currentUser?.id, + }, + }, + }, + }, + sort: ["-created_at"], + limit: 1, + }), + ); + + return response.length > 0 ? response[0] : null; + } catch (error) { + console.error("Error fetching latest announcement:", error); + return null; + } + }, + retry: 2, + staleTime: 1000 * 60 * 5, // 5 minutes + }); +}; + +export const useInfiniteAnnouncements = ({ + query, + options = { + initialLimit: 10, + }, + enabled = true, +}: { + query?: Partial>; + options?: { + initialLimit?: number; + }; + enabled?: boolean; +}) => { + const { data: currentUser } = useCurrentUser(); + const { initialLimit = 10 } = options; + + return useInfiniteQuery({ + queryKey: ["announcements", "infinite", query], + enabled, + queryFn: async ({ pageParam = 0 }) => { + try { + const response = await directus.request( + readItems("announcement", { + filter: { + _or: [ + { + expires_at: { + // @ts-ignore + _gte: new Date().toISOString(), + }, + }, + { + expires_at: { + _null: true, + }, + }, + ], + }, + fields: [ + "id", + "created_at", + "expires_at", + "level", + { + translations: ["id", "languages_code", "title", "message"], + }, + { + activity: ["id", "user_id", "announcement_activity", "read"], + }, + ], + deep: { + // @ts-ignore + activity: { + _filter: { + user_id: { + _eq: currentUser?.id, + }, + }, + }, + }, + sort: ["-created_at"], + limit: initialLimit, + offset: pageParam * initialLimit, + ...query, + }), + ); + + return { + announcements: response, + nextOffset: + response.length === initialLimit ? pageParam + 1 : undefined, + }; + } catch (error) { + console.error("Error fetching announcements:", error); + return { + announcements: [], + nextOffset: undefined, + }; + } + }, + initialPageParam: 0, + getNextPageParam: (lastPage) => lastPage.nextOffset, + }); +}; + +export const useMarkAsReadMutation = () => { + const queryClient = useQueryClient(); + return useMutation({ + mutationFn: async ({ + announcementId, + userId, + }: { + announcementId: string; + userId?: string; + }) => { + try { + return await directus.request( + createItems("announcement_activity", { + announcement_activity: announcementId, + read: true, + ...(userId ? { user_id: userId } : {}), + } as any), + ); + } catch (error) { + console.error("Error in mutationFn:", error); + return { + success: false, + error: error, + }; + } + }, + onMutate: async ({ announcementId }) => { + // Cancel any outgoing refetches + await queryClient.cancelQueries({ queryKey: ["announcements"] }); + + // Snapshot the previous value + const previousAnnouncements = queryClient.getQueriesData({ + queryKey: ["announcements"], + }); + + // Optimistically update infinite announcements + queryClient.setQueriesData( + { queryKey: ["announcements", "infinite"] }, + (old: any) => { + if (!old) return old; + return { + ...old, + pages: old.pages.map((page: any) => ({ + ...page, + announcements: page.announcements.map((announcement: any) => { + if (announcement.id === announcementId) { + return { + ...announcement, + activity: [ + { + id: `temp-${announcement.id}`, + read: true, + user_id: null, + announcement_activity: announcement.id, + }, + ], + }; + } + return announcement; + }), + })), + }; + }, + ); + + // // Optimistically update latest announcement + queryClient.setQueriesData( + { queryKey: ["announcements", "latest"] }, + (old: any) => { + if (!old || old.id !== announcementId) return old; + return { + ...old, + activity: [ + { + id: `temp-${old.id}`, + read: true, + user_id: null, + announcement_activity: old.id, + }, + ], + }; + }, + ); + + // // Optimistically update unread count + queryClient.setQueriesData( + { queryKey: ["announcements", "unread"] }, + (old: number) => { + if (typeof old !== "number") return old; + return Math.max(0, old - 1); + }, + ); + + // Return a context object with the snapshotted value + return { previousAnnouncements }; + }, + onError: (err, _newAnnouncementId, context) => { + // If the mutation fails, use the context returned from onMutate to roll back + if (context?.previousAnnouncements) { + context.previousAnnouncements.forEach(([queryKey, data]) => { + queryClient.setQueriesData({ queryKey }, data); + }); + } + console.error("Error marking announcement as read:", err); + toast.error(t`Failed to mark announcement as read`); + }, + onSettled: () => { + // refetch after error or success to ensure cache consistency + queryClient.invalidateQueries({ queryKey: ["announcements"] }); + }, + }); +}; + +export const useMarkAllAsReadMutation = () => { + const queryClient = useQueryClient(); + const { data: currentUser } = useCurrentUser(); + + return useMutation({ + mutationFn: async () => { + try { + // Step 1: Find all announcement IDs that don't have activity for this user + const unreadAnnouncements = await directus.request( + readItems("announcement", { + filter: { + _and: [ + { + // Only get announcements that don't have activity records for this user + activity: { + _none: { + user_id: { + _eq: currentUser?.id, + }, + }, + }, + }, + { + _or: [ + { + expires_at: { + // @ts-ignore + _gte: new Date().toISOString(), + }, + }, + { + expires_at: { + _null: true, + }, + }, + ], + }, + ], + }, + fields: ["id"], + }), + ); + + // Step 2: Create activity records for all unread announcements + if (unreadAnnouncements.length > 0) { + return await directus.request( + createItems( + "announcement_activity", + unreadAnnouncements.map((announcement) => ({ + announcement_activity: announcement.id, + read: true, + ...(currentUser?.id ? { user_id: currentUser.id } : {}), + })) as any, + ), + ); + } + + return []; + } catch (error) { + console.error("Error in markAllAsRead mutationFn:", error); + throw error; + } + }, + onMutate: async () => { + // Cancel any outgoing refetches + await queryClient.cancelQueries({ queryKey: ["announcements"] }); + + // Snapshot the previous value + const previousAnnouncements = queryClient.getQueriesData({ + queryKey: ["announcements"], + }); + + // Optimistically update infinite announcements - mark all as read + queryClient.setQueriesData( + { queryKey: ["announcements", "infinite"] }, + (old: any) => { + if (!old) return old; + return { + ...old, + pages: old.pages.map((page: any) => ({ + ...page, + announcements: page.announcements.map((announcement: any) => ({ + ...announcement, + activity: [ + { + id: `temp-all-${announcement.id}`, + read: true, + user_id: currentUser?.id || null, + announcement_activity: announcement.id, + }, + ], + })), + })), + }; + }, + ); + + // Optimistically update latest announcement + queryClient.setQueriesData( + { queryKey: ["announcements", "latest"] }, + (old: any) => { + if (!old) return old; + return { + ...old, + activity: [ + { + id: `temp-all-${old.id}`, + read: true, + user_id: currentUser?.id || null, + announcement_activity: old.id, + }, + ], + }; + }, + ); + + // Optimistically update unread count to 0 + queryClient.setQueriesData({ queryKey: ["announcements", "unread"] }, 0); + + // Return a context object with the snapshotted value + return { previousAnnouncements }; + }, + onError: (err, _variables, context) => { + // If the mutation fails, use the context returned from onMutate to roll back + if (context?.previousAnnouncements) { + context.previousAnnouncements.forEach(([queryKey, data]) => { + queryClient.setQueriesData({ queryKey }, data); + }); + } + console.error("Error marking all announcements as read:", err); + toast.error(t`Failed to mark all announcements as read`); + }, + onSettled: () => { + // refetch after error or success to ensure cache consistency + queryClient.invalidateQueries({ queryKey: ["announcements"] }); + }, + }); +}; + +export const useUnreadAnnouncements = () => { + const { data: currentUser } = useCurrentUser(); + + return useQuery({ + queryKey: ["announcements", "unread", currentUser?.id], + queryFn: async () => { + try { + // If no user is logged in, return 0 + if (!currentUser?.id) { + return 0; + } + + const unreadAnnouncements = await directus.request( + aggregate("announcement", { + aggregate: { count: "*" }, + query: { + filter: { + _or: [ + { + expires_at: { + _gte: new Date().toISOString(), + }, + }, + { + expires_at: { + _null: true, + }, + }, + ], + }, + }, + }), + ); + + const activities = await directus.request( + aggregate("announcement_activity", { + aggregate: { count: "*" }, + query: { + filter: { + _and: [ + { + user_id: { _eq: currentUser.id }, + }, + ], + }, + }, + }), + ); + + const count = + parseInt(unreadAnnouncements?.[0]?.count?.toString() ?? "0") - + parseInt(activities?.[0]?.count?.toString() ?? "0"); + return Math.max(0, count); + } catch (error) { + console.error("Error fetching unread announcements count:", error); + return 0; + } + }, + enabled: !!currentUser?.id, // Only run query if user is logged in + retry: 2, + staleTime: 1000 * 60 * 5, // 5 minutes + }); +}; diff --git a/echo/frontend/src/components/announcement/utils/dateUtils.ts b/echo/frontend/src/components/announcement/utils/dateUtils.ts new file mode 100644 index 00000000..6ae0cb40 --- /dev/null +++ b/echo/frontend/src/components/announcement/utils/dateUtils.ts @@ -0,0 +1,38 @@ +import { formatRelative } from "date-fns"; +import { enUS, nl, de, fr, es } from "date-fns/locale"; +import { useLanguage } from "@/hooks/useLanguage"; + +// Map of supported locales to date-fns locales +const localeMap = { + "en-US": enUS, + "nl-NL": nl, + "de-DE": de, + "fr-FR": fr, + "es-ES": es, +} as const; + +type SupportedLocale = keyof typeof localeMap; + +export const formatDate = ( + date: string | Date | null | undefined, + locale: string = "en-US", +): string => { + if (!date) return ""; + + const dateObj = typeof date === "string" ? new Date(date) : date; + + if (isNaN(dateObj.getTime())) return ""; + + const currentLocale = + localeMap[locale as SupportedLocale] || localeMap["en-US"]; + + return formatRelative(dateObj, new Date(), { locale: currentLocale }); +}; + +export const useFormatDate = () => { + const { i18n } = useLanguage(); + + return (date: string | Date | null | undefined): string => { + return formatDate(date, i18n.locale); + }; +}; diff --git a/echo/frontend/src/components/common/Drawer.tsx b/echo/frontend/src/components/common/Drawer.tsx new file mode 100644 index 00000000..6a6a0018 --- /dev/null +++ b/echo/frontend/src/components/common/Drawer.tsx @@ -0,0 +1,36 @@ +import { + Drawer as MantineDrawer, + DrawerProps as MantineDrawerProps, + Text, +} from "@mantine/core"; +import { ReactNode } from "react"; + +type DrawerProps = Partial & { + opened: boolean; + onClose: () => void; + title?: ReactNode; + children?: ReactNode; +}; + +export const Drawer = ({ + opened, + onClose, + title, + children, + position = "right", + size = "md", + ...rest +}: DrawerProps) => { + return ( + + {children} + + ); +}; diff --git a/echo/frontend/src/components/layout/BaseLayout.tsx b/echo/frontend/src/components/layout/BaseLayout.tsx index 03eafaf8..eaa80dba 100644 --- a/echo/frontend/src/components/layout/BaseLayout.tsx +++ b/echo/frontend/src/components/layout/BaseLayout.tsx @@ -8,12 +8,12 @@ import { ErrorBoundary } from "../error/ErrorBoundary"; export const BaseLayout = ({ children }: PropsWithChildren) => { return ( - +
-
+
{children}
diff --git a/echo/frontend/src/components/layout/Header.tsx b/echo/frontend/src/components/layout/Header.tsx index 1d4002ff..bba72af9 100644 --- a/echo/frontend/src/components/layout/Header.tsx +++ b/echo/frontend/src/components/layout/Header.tsx @@ -25,6 +25,10 @@ import { useState, useEffect } from "react"; import * as Sentry from "@sentry/react"; import { useLanguage } from "@/hooks/useLanguage"; import { useParams } from "react-router-dom"; +import { AnnouncementIcon } from "../announcement/AnnouncementIcon"; +import { Announcements } from "../announcement/Announcements"; +import { TopAnnouncementBar } from "../announcement/TopAnnouncementBar"; +import { ENABLE_ANNOUNCEMENTS } from "@/config"; const User = ({ name, email }: { name: string; email: string }) => (
{ }; return ( + <> + {isAuthenticated && user && ENABLE_ANNOUNCEMENTS && } { {!loading && isAuthenticated && user ? ( - - - - - - - - - - - - - } - component="a" - href={docUrl} - target="_blank" - > - - Documentation - - - - - - } onClick={handleLogout}> - Logout - - - - - - - - + + {ENABLE_ANNOUNCEMENTS && ( + <> + + + + )} + + + + + + + + + + + + + } + component="a" + href={docUrl} + target="_blank" + > + + Documentation + + + + + + } onClick={handleLogout}> + Logout + + + + + + + + + ) : ( @@ -172,5 +186,6 @@ export const Header = () => { )} + ); }; diff --git a/echo/frontend/src/components/layout/ProjectLayout.tsx b/echo/frontend/src/components/layout/ProjectLayout.tsx index 34e6de53..ae9900ac 100644 --- a/echo/frontend/src/components/layout/ProjectLayout.tsx +++ b/echo/frontend/src/components/layout/ProjectLayout.tsx @@ -17,7 +17,7 @@ export const ProjectLayout = () => {