-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hassan Wari
authored and
Hassan Wari
committed
Dec 17, 2024
1 parent
e743b1c
commit 483ffac
Showing
6 changed files
with
1,244 additions
and
19 deletions.
There are no files selected for viewing
505 changes: 505 additions & 0 deletions
505
integrations/gorgias/mocks/nango/get/proxy/api/tickets/153006867/tickets.json
Large diffs are not rendered by default.
Oops, something went wrong.
179 changes: 179 additions & 0 deletions
179
integrations/gorgias/mocks/nango/get/proxy/api/tickets/153011972/tickets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
{ | ||
"id": 153011972, | ||
"uri": "/api/tickets/153011972/", | ||
"external_id": null, | ||
"events": [], | ||
"status": "closed", | ||
"priority": "normal", | ||
"channel": "email", | ||
"via": "helpdesk", | ||
"from_agent": true, | ||
"spam": false, | ||
"customer": { | ||
"id": 400756919, | ||
"email": "sse@gm.com", | ||
"name": null, | ||
"firstname": "", | ||
"lastname": "", | ||
"meta": { | ||
"name_set_via": "email" | ||
}, | ||
"channels": [ | ||
{ | ||
"id": 495083650, | ||
"type": "email", | ||
"address": "sse@gm.com", | ||
"preferred": true, | ||
"created_datetime": "2024-11-14T14:18:25.087882+00:00", | ||
"updated_datetime": "2024-11-14T14:18:25.087893+00:00", | ||
"deleted_datetime": null, | ||
"user": { | ||
"id": 400756919, | ||
"name": null | ||
}, | ||
"customer": { | ||
"id": 400756919, | ||
"name": null | ||
} | ||
} | ||
], | ||
"data": null, | ||
"customer": null, | ||
"integrations": {}, | ||
"external_id": null, | ||
"note": null, | ||
"external_data": {}, | ||
"ecommerce_data": {} | ||
}, | ||
"assignee_user": null, | ||
"assignee_user_id": null, | ||
"assignee_team": null, | ||
"assignee_team_id": null, | ||
"language": null, | ||
"subject": "", | ||
"meta": null, | ||
"tags": [], | ||
"messages": [ | ||
{ | ||
"id": 385387877, | ||
"uri": "/api/tickets/153011972/messages/385387877/", | ||
"message_id": "<173159390523.18061.2337754833809105040.153011972-385387877@helpdesk-rules-ticket-notifications-worker-5b78f4c9df-tqsf7>", | ||
"ticket_id": 153011972, | ||
"external_id": null, | ||
"public": true, | ||
"channel": "email", | ||
"via": "helpdesk", | ||
"source": { | ||
"type": "email", | ||
"to": [ | ||
{ | ||
"name": "", | ||
"address": "ssE@gm.com" | ||
} | ||
], | ||
"from": { | ||
"name": "John Support", | ||
"address": "n2kmlgdq82p5de16@email.gorgias.com" | ||
}, | ||
"extra": { | ||
"include_thread": false | ||
} | ||
}, | ||
"sender": { | ||
"id": 400746608, | ||
"email": "testwari254@gmail.com", | ||
"name": "John", | ||
"firstname": "John", | ||
"lastname": "", | ||
"meta": { | ||
"name_set_via": "agent" | ||
} | ||
}, | ||
"integration_id": 116873, | ||
"intents": [], | ||
"rule_id": null, | ||
"from_agent": true, | ||
"receiver": { | ||
"id": 400756919, | ||
"email": "sse@gm.com", | ||
"name": null, | ||
"firstname": "", | ||
"lastname": "", | ||
"meta": { | ||
"name_set_via": "email" | ||
} | ||
}, | ||
"subject": "", | ||
"body_text": "s", | ||
"body_html": "<div>s</div>", | ||
"stripped_text": "s", | ||
"stripped_html": "<div>s</div>", | ||
"stripped_signature": null, | ||
"attachments": null, | ||
"actions": null, | ||
"meta": null, | ||
"created_datetime": "2024-11-14T14:18:25.095107+00:00", | ||
"sent_datetime": "2024-11-14T14:18:25.285915+00:00", | ||
"failed_datetime": "2024-11-14T14:18:34.770384+00:00", | ||
"opened_datetime": null, | ||
"last_sending_error": { | ||
"error": "This message could not be sent because of a failure on our email provider's side. <br><b>Error Message:</b> Your message was rejected by recipient. Email was not delivered" | ||
}, | ||
"is_retriable": false | ||
} | ||
], | ||
"created_datetime": "2024-11-14T14:18:25.095107+00:00", | ||
"opened_datetime": null, | ||
"last_received_message_datetime": null, | ||
"last_message_datetime": "2024-11-14T14:18:25.095107+00:00", | ||
"updated_datetime": "2024-11-14T14:19:06.398263+00:00", | ||
"closed_datetime": "2024-11-14T14:19:06.338975+00:00", | ||
"trashed_datetime": null, | ||
"snooze_datetime": null, | ||
"satisfaction_survey": null, | ||
"reply_options": { | ||
"email": { | ||
"answerable": true | ||
}, | ||
"internal-note": { | ||
"answerable": true | ||
} | ||
}, | ||
"requester": { | ||
"id": 400756919, | ||
"email": "sse@gm.com", | ||
"name": null, | ||
"firstname": "", | ||
"lastname": "", | ||
"meta": { | ||
"name_set_via": "email" | ||
}, | ||
"channels": [ | ||
{ | ||
"id": 495083650, | ||
"type": "email", | ||
"address": "sse@gm.com", | ||
"preferred": true, | ||
"created_datetime": "2024-11-14T14:18:25.087882+00:00", | ||
"updated_datetime": "2024-11-14T14:18:25.087893+00:00", | ||
"deleted_datetime": null, | ||
"user": { | ||
"id": 400756919, | ||
"name": null | ||
}, | ||
"customer": { | ||
"id": 400756919, | ||
"name": null | ||
} | ||
} | ||
], | ||
"data": null, | ||
"customer": null, | ||
"integrations": {}, | ||
"external_id": null, | ||
"note": null, | ||
"external_data": {}, | ||
"ecommerce_data": {} | ||
}, | ||
"is_unread": false | ||
} |
114 changes: 114 additions & 0 deletions
114
integrations/gorgias/mocks/nango/get/proxy/api/tickets/tickets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"object": "list", | ||
"uri": "/api/tickets?limit=100", | ||
"data": [ | ||
{ | ||
"id": 153011972, | ||
"uri": "/api/tickets/153011972/", | ||
"external_id": null, | ||
"language": null, | ||
"status": "closed", | ||
"priority": "normal", | ||
"channel": "email", | ||
"via": "helpdesk", | ||
"from_agent": true, | ||
"customer": { | ||
"id": 400756919, | ||
"email": "sse@gm.com", | ||
"name": null, | ||
"firstname": "", | ||
"lastname": "", | ||
"meta": { | ||
"name_set_via": "email" | ||
} | ||
}, | ||
"assignee_user": null, | ||
"assignee_team": null, | ||
"subject": "", | ||
"excerpt": "s", | ||
"integrations": [ | ||
{ | ||
"name": "John Support", | ||
"address": "n2kmlgdq82p5de16@email.gorgias.com", | ||
"type": "email" | ||
} | ||
], | ||
"meta": null, | ||
"tags": [], | ||
"messages_count": 1, | ||
"is_unread": false, | ||
"spam": false, | ||
"created_datetime": "2024-11-14T14:18:25.095107+00:00", | ||
"opened_datetime": null, | ||
"last_received_message_datetime": null, | ||
"last_message_datetime": "2024-11-14T14:18:25.095107+00:00", | ||
"updated_datetime": "2024-11-14T14:19:06.398263+00:00", | ||
"closed_datetime": "2024-11-14T14:19:06.338975+00:00", | ||
"snooze_datetime": null, | ||
"trashed_datetime": null | ||
}, | ||
{ | ||
"id": 153006867, | ||
"uri": "/api/tickets/153006867/", | ||
"external_id": null, | ||
"language": "en", | ||
"status": "open", | ||
"priority": "normal", | ||
"channel": "email", | ||
"via": "email", | ||
"from_agent": false, | ||
"customer": { | ||
"id": 400746613, | ||
"email": "support@gorgias.com", | ||
"name": "Romain @Gorgias", | ||
"firstname": "Romain", | ||
"lastname": "@Gorgias", | ||
"meta": null | ||
}, | ||
"assignee_user": { | ||
"id": 400746608, | ||
"email": "testwari254@gmail.com", | ||
"name": "John", | ||
"firstname": "John", | ||
"lastname": "", | ||
"meta": { | ||
"name_set_via": "agent" | ||
}, | ||
"bio": null | ||
}, | ||
"assignee_team": null, | ||
"subject": "Let's send your first message!", | ||
"excerpt": "On Thu, Nov 14, 2024, at 02:25 PM, John Support <n2kmlgdq82p5de16@email.gorgias.com> wrote:\nthis is another\n \n\n\nOn Thu, Nov 14, 2024, at 02:17 PM, John Support <n2kmlgdq82p5de16@email.gorgias.co", | ||
"integrations": [ | ||
{ | ||
"name": "John Support", | ||
"address": "n2kmlgdq82p5de16@email.gorgias.com", | ||
"type": "email" | ||
} | ||
], | ||
"meta": null, | ||
"tags": [ | ||
{ | ||
"id": 1151716, | ||
"name": "sample ticket", | ||
"decoration": {} | ||
} | ||
], | ||
"messages_count": 6, | ||
"is_unread": false, | ||
"spam": false, | ||
"created_datetime": "2024-11-14T13:56:16.494726+00:00", | ||
"opened_datetime": null, | ||
"last_received_message_datetime": null, | ||
"last_message_datetime": "2024-11-14T14:27:00.654421+00:00", | ||
"updated_datetime": "2024-11-14T14:27:00.789718+00:00", | ||
"closed_datetime": null, | ||
"snooze_datetime": null, | ||
"trashed_datetime": null | ||
} | ||
], | ||
"meta": { | ||
"prev_cursor": null, | ||
"next_cursor": null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
Oops, something went wrong.