feat: Generate Schema Files - 18113073 (no-changelog) (#12927)

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Jon
2025-01-30 14:59:04 +00:00
committed by GitHub
parent cdfa22593b
commit 9d027339fd
661 changed files with 76670 additions and 1 deletions

View File

@@ -0,0 +1,140 @@
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"id": {
"type": "integer"
},
"via": {
"type": "object",
"properties": {
"channel": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"rel": {
"type": "null"
}
},
"required": [
"from",
"to",
"rel"
]
}
},
"required": [
"channel",
"source"
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"generated_timestamp": {
"type": "integer"
},
"description": {
"type": "string"
},
"status": {
"type": "string"
},
"requester_id": {
"type": "integer"
},
"submitter_id": {
"type": "integer"
},
"forum_topic_id": {
"type": "null"
},
"problem_id": {
"type": "null"
},
"has_incidents": {
"type": "boolean"
},
"is_public": {
"type": "boolean"
},
"due_at": {
"type": "null"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"custom_fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
},
"required": [
"id",
"value"
]
}
},
"satisfaction_rating": {
"type": "object",
"properties": {
"score": {
"type": "string"
}
},
"required": [
"score"
]
},
"custom_status_id": {
"type": "integer"
},
"encoded_id": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
},
"required": [
"id",
"value"
]
}
},
"ticket_form_id": {
"type": "integer"
},
"brand_id": {
"type": "integer"
},
"allow_channelback": {
"type": "boolean"
},
"allow_attachments": {
"type": "boolean"
},
"from_messaging_channel": {
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,195 @@
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"id": {
"type": "integer"
},
"via": {
"type": "object",
"properties": {
"channel": {
"type": "string"
}
},
"required": [
"channel",
"source"
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"generated_timestamp": {
"type": "integer"
},
"subject": {
"type": "string"
},
"raw_subject": {
"type": "string"
},
"description": {
"type": "string"
},
"status": {
"type": "string"
},
"requester_id": {
"type": "integer"
},
"submitter_id": {
"type": "integer"
},
"collaborator_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"follower_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"email_cc_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"forum_topic_id": {
"type": "null"
},
"problem_id": {
"type": "null"
},
"has_incidents": {
"type": "boolean"
},
"is_public": {
"type": "boolean"
},
"due_at": {
"type": "null"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"custom_fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
},
"required": [
"id",
"value"
]
}
},
"satisfaction_rating": {
"type": "object",
"properties": {
"score": {
"type": "string"
}
},
"required": [
"score"
]
},
"custom_status_id": {
"type": "integer"
},
"encoded_id": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
},
"required": [
"id",
"value"
]
}
},
"followup_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"brand_id": {
"type": "integer"
},
"allow_channelback": {
"type": "boolean"
},
"allow_attachments": {
"type": "boolean"
},
"from_messaging_channel": {
"type": "boolean"
}
},
"required": [
"url",
"id",
"external_id",
"via",
"created_at",
"updated_at",
"generated_timestamp",
"type",
"subject",
"raw_subject",
"description",
"priority",
"status",
"recipient",
"requester_id",
"submitter_id",
"assignee_id",
"organization_id",
"group_id",
"collaborator_ids",
"follower_ids",
"email_cc_ids",
"forum_topic_id",
"problem_id",
"has_incidents",
"is_public",
"due_at",
"tags",
"custom_fields",
"satisfaction_rating",
"sharing_agreement_ids",
"custom_status_id",
"encoded_id",
"fields",
"followup_ids",
"brand_id",
"allow_channelback",
"allow_attachments",
"from_messaging_channel"
]
}

View File

@@ -0,0 +1,164 @@
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"id": {
"type": "integer"
},
"via": {
"type": "object",
"properties": {
"channel": {
"type": "string"
}
},
"required": [
"channel",
"source"
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"generated_timestamp": {
"type": "integer"
},
"subject": {
"type": "string"
},
"raw_subject": {
"type": "string"
},
"description": {
"type": "string"
},
"status": {
"type": "string"
},
"requester_id": {
"type": "integer"
},
"submitter_id": {
"type": "integer"
},
"collaborator_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"follower_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"email_cc_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"forum_topic_id": {
"type": "null"
},
"problem_id": {
"type": "null"
},
"has_incidents": {
"type": "boolean"
},
"is_public": {
"type": "boolean"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"custom_fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
},
"required": [
"id",
"value"
]
}
},
"satisfaction_rating": {
"type": "object",
"properties": {
"score": {
"type": "string"
}
},
"required": [
"score"
]
},
"custom_status_id": {
"type": "integer"
},
"encoded_id": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
},
"required": [
"id",
"value"
]
}
},
"followup_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"brand_id": {
"type": "integer"
},
"allow_channelback": {
"type": "boolean"
},
"allow_attachments": {
"type": "boolean"
},
"from_messaging_channel": {
"type": "boolean"
},
"result_type": {
"type": "string"
}
},
"required": [
"url",
"id",
"via",
"created_at",
"updated_at",
"subject",
"recipient",
"brand_id"
]
}

View File

@@ -0,0 +1,142 @@
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"id": {
"type": "integer"
},
"via": {
"type": "object",
"properties": {
"channel": {
"type": "string"
}
},
"required": [
"channel",
"source"
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"generated_timestamp": {
"type": "integer"
},
"description": {
"type": "string"
},
"status": {
"type": "string"
},
"requester_id": {
"type": "integer"
},
"submitter_id": {
"type": "integer"
},
"collaborator_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"follower_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"email_cc_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"forum_topic_id": {
"type": "null"
},
"problem_id": {
"type": "null"
},
"has_incidents": {
"type": "boolean"
},
"is_public": {
"type": "boolean"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"custom_fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
},
"required": [
"id",
"value"
]
}
},
"satisfaction_rating": {
"type": "object",
"properties": {
"score": {
"type": "string"
}
},
"required": [
"score"
]
},
"custom_status_id": {
"type": "integer"
},
"encoded_id": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
}
},
"required": [
"id",
"value"
]
}
},
"ticket_form_id": {
"type": "integer"
},
"brand_id": {
"type": "integer"
},
"allow_channelback": {
"type": "boolean"
},
"allow_attachments": {
"type": "boolean"
},
"from_messaging_channel": {
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,126 @@
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"title": {
"type": "string"
},
"raw_title": {
"type": "string"
},
"description": {
"type": "string"
},
"raw_description": {
"type": "string"
},
"position": {
"type": "integer"
},
"active": {
"type": "boolean"
},
"required": {
"type": "boolean"
},
"collapsed_for_agents": {
"type": "boolean"
},
"regexp_for_validation": {
"type": "null"
},
"title_in_portal": {
"type": "string"
},
"raw_title_in_portal": {
"type": "string"
},
"visible_in_portal": {
"type": "boolean"
},
"editable_in_portal": {
"type": "boolean"
},
"required_in_portal": {
"type": "boolean"
},
"tag": {
"type": "null"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"removable": {
"type": "boolean"
},
"key": {
"type": "null"
},
"custom_field_options": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"raw_name": {
"type": "string"
},
"value": {
"type": "string"
},
"default": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"raw_name",
"value",
"default"
]
}
}
},
"required": [
"url",
"id",
"type",
"title",
"raw_title",
"description",
"raw_description",
"position",
"active",
"required",
"collapsed_for_agents",
"regexp_for_validation",
"title_in_portal",
"raw_title_in_portal",
"visible_in_portal",
"editable_in_portal",
"required_in_portal",
"tag",
"created_at",
"updated_at",
"removable",
"key",
"agent_description"
]
}

View File

@@ -0,0 +1,68 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"time_zone": {
"type": "string"
},
"iana_time_zone": {
"type": "string"
},
"locale_id": {
"type": "integer"
},
"locale": {
"type": "string"
},
"role": {
"type": "string"
},
"verified": {
"type": "boolean"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"active": {
"type": "boolean"
},
"shared": {
"type": "boolean"
},
"shared_agent": {
"type": "boolean"
},
"moderator": {
"type": "boolean"
},
"only_private_comments": {
"type": "boolean"
},
"restricted_agent": {
"type": "boolean"
},
"suspended": {
"type": "boolean"
},
"report_csv": {
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,110 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"time_zone": {
"type": "string"
},
"iana_time_zone": {
"type": "string"
},
"locale_id": {
"type": "integer"
},
"locale": {
"type": "string"
},
"role": {
"type": "string"
},
"verified": {
"type": "boolean"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"active": {
"type": "boolean"
},
"shared": {
"type": "boolean"
},
"shared_agent": {
"type": "boolean"
},
"two_factor_auth_enabled": {
"type": "null"
},
"moderator": {
"type": "boolean"
},
"only_private_comments": {
"type": "boolean"
},
"restricted_agent": {
"type": "boolean"
},
"suspended": {
"type": "boolean"
},
"report_csv": {
"type": "boolean"
}
},
"required": [
"id",
"url",
"name",
"email",
"created_at",
"updated_at",
"time_zone",
"iana_time_zone",
"phone",
"shared_phone_number",
"photo",
"locale_id",
"locale",
"organization_id",
"role",
"verified",
"external_id",
"tags",
"alias",
"active",
"shared",
"shared_agent",
"last_login_at",
"two_factor_auth_enabled",
"signature",
"details",
"notes",
"role_type",
"custom_role_id",
"moderator",
"ticket_restriction",
"only_private_comments",
"restricted_agent",
"suspended",
"default_group_id",
"report_csv",
"user_fields"
]
}