From 1198579204dd26e504041fec2dff7ec6f98347f8 Mon Sep 17 00:00:00 2001 From: Kyle Allan Date: Wed, 20 Jun 2018 15:20:48 -0400 Subject: [PATCH 1/2] add satisfaction rating to tickets --- tap_zendesk/schemas/tickets.json | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/tap_zendesk/schemas/tickets.json b/tap_zendesk/schemas/tickets.json index 99e9b53..82bfa87 100644 --- a/tap_zendesk/schemas/tickets.json +++ b/tap_zendesk/schemas/tickets.json @@ -296,6 +296,43 @@ "integer" ] }, + "satisfaction_rating": { + "type": [ + "null", + "object" + ], + "properties": { + "id": { + "type": ["null", "integer"] + }, + "assignee_id": { + "type": ["null", "integer"] + }, + "group_id": { + "type": ["null", "integer"] + }, + "requester_id": { + "type": ["null", "integer"] + }, + "ticket_id": { + "type": ["null", "integer"] + }, + "updated_at": { + "type": ["null", "string"], + "format": "date-time" + }, + "created_at": { + "type": ["null", "string"], + "format": "date-time" + }, + "url": { + "type": ["null", "string"] + }, + "score": { + "type": ["null", "string"] + } + } + }, "sharing_agreement_ids": { "type": [ "null", From 653e3de3ea88853a03c94daf2ecd47ee0636d287 Mon Sep 17 00:00:00 2001 From: Kyle Allan Date: Wed, 20 Jun 2018 15:30:04 -0400 Subject: [PATCH 2/2] adding more fields --- tap_zendesk/schemas/tickets.json | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/tap_zendesk/schemas/tickets.json b/tap_zendesk/schemas/tickets.json index 82bfa87..8aaf62d 100644 --- a/tap_zendesk/schemas/tickets.json +++ b/tap_zendesk/schemas/tickets.json @@ -12,6 +12,12 @@ "integer" ] }, + "problem_id": { + "type": [ + "null", + "integer" + ] + }, "is_public": { "type": [ "null", @@ -167,6 +173,12 @@ "boolean" ] }, + "allow_attachments": { + "type": [ + "null", + "boolean" + ] + }, "due_at": { "type": [ "null", @@ -305,12 +317,15 @@ "id": { "type": ["null", "integer"] }, - "assignee_id": { + "assignee_id": { "type": ["null", "integer"] }, "group_id": { "type": ["null", "integer"] }, + "reason_id": { + "type": ["null", "integer"] + }, "requester_id": { "type": ["null", "integer"] }, @@ -330,6 +345,12 @@ }, "score": { "type": ["null", "string"] + }, + "reason": { + "type": ["null", "string"] + }, + "comment": { + "type": ["null", "string"] } } },