Skip to content

Commit

Permalink
source-zendesk-talk: ensure inline schemas, updated cdk, poetry (wher…
Browse files Browse the repository at this point in the history
…e possible) (#36625)

Co-authored-by: Serhii Lazebnyi <53845333+lazebnyi@users.noreply.github.com>
Co-authored-by: Serhii Lazebnyi <serhii.lazebnyi@globallogic.com>
  • Loading branch information
3 people authored May 7, 2024
1 parent 05b17f9 commit a0238d2
Show file tree
Hide file tree
Showing 17 changed files with 254 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: c8630570-086d-4a40-99ae-ea5b18673071
dockerImageTag: 0.2.0
dockerImageTag: 0.2.1
dockerRepository: airbyte/source-zendesk-talk
documentationUrl: https://docs.airbyte.com/integrations/sources/zendesk-talk
githubIssueLabel: source-zendesk-talk
Expand Down
10 changes: 5 additions & 5 deletions airbyte-integrations/connectors/source-zendesk-talk/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "0.2.0"
version = "0.2.1"
name = "source-zendesk-talk"
description = "Source implementation for Zendesk Talk."
authors = [ "Airbyte <contact@airbyte.io>",]
Expand All @@ -17,7 +17,7 @@ include = "source_zendesk_talk"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "^0"
airbyte-cdk = "0.80.0"

[tool.poetry.scripts]
source-zendesk-talk = "source_zendesk_talk.run:run"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,72 +3,95 @@
"type": "object",
"properties": {
"current_timestamp": {
"description": "Current timestamp at the time of the data retrieval",
"type": "integer"
},
"average_call_duration": {
"description": "Average duration of calls in seconds",
"type": ["null", "integer"]
},
"average_queue_wait_time": {
"description": "Average time callers spend waiting in the queue in seconds",
"type": ["null", "integer"]
},
"average_wrap_up_time": {
"description": "Average time taken by agents to complete call-related work after the call ends in seconds",
"type": ["null", "integer"]
},
"max_calls_waiting": {
"description": "Maximum number of calls waiting in the queue at a given time",
"type": ["null", "integer"]
},
"max_queue_wait_time": {
"description": "Longest wait time experienced by a caller in the queue in seconds",
"type": ["null", "integer"]
},
"total_call_duration": {
"description": "Total duration of all calls combined in seconds",
"type": ["null", "integer"]
},
"total_calls": {
"description": "Total number of calls handled",
"type": ["null", "integer"]
},
"total_voicemails": {
"description": "Total voicemails received",
"type": ["null", "integer"]
},
"total_wrap_up_time": {
"description": "Total time taken by agents for after-call tasks across all calls in seconds",
"type": ["null", "integer"]
},
"average_callback_wait_time": {
"description": "Average wait time before callback in seconds",
"type": ["null", "integer"]
},
"average_hold_time": {
"description": "Average time callers are put on hold in seconds",
"type": ["null", "integer"]
},
"average_time_to_answer": {
"description": "Average time taken to answer calls in seconds",
"type": ["null", "integer"]
},
"total_callback_calls": {
"description": "Total number of callbacks made",
"type": ["null", "integer"]
},
"total_calls_abandoned_in_queue": {
"description": "Total calls abandoned by callers while waiting in the queue",
"type": ["null", "integer"]
},
"total_calls_outside_business_hours": {
"description": "Total calls received outside normal business hours",
"type": ["null", "integer"]
},
"total_calls_with_exceeded_queue_wait_time": {
"description": "Total calls where wait time exceeded a defined threshold",
"type": ["null", "integer"]
},
"total_calls_with_requested_voicemail": {
"description": "Total calls where callers requested a voicemail",
"type": ["null", "integer"]
},
"total_hold_time": {
"description": "Total time callers were put on hold across all calls in seconds",
"type": ["null", "integer"]
},
"total_inbound_calls": {
"description": "Total incoming calls received",
"type": ["null", "integer"]
},
"total_outbound_calls": {
"description": "Total outgoing calls made",
"type": ["null", "integer"]
},
"total_textback_requests": {
"description": "Total requests for textback responses",
"type": ["null", "integer"]
},
"total_embeddable_callback_calls": {
"description": "Total number of calls that were callbacks from an embedded service",
"type": ["null", "integer"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,39 @@
"type": "object",
"properties": {
"city": {
"description": "The city where the address is located.",
"type": ["null", "string"]
},
"country_code": {
"description": "The country code of the address.",
"type": ["null", "string"]
},
"id": {
"description": "The unique identifier of the address.",
"type": ["null", "integer"]
},
"name": {
"description": "The name associated with the address.",
"type": ["null", "string"]
},
"provider_reference": {
"description": "Reference identifier provided by the address provider.",
"type": ["null", "string"]
},
"province": {
"description": "The province or region of the address.",
"type": ["null", "string"]
},
"state": {
"description": "The state of the address.",
"type": ["null", "string"]
},
"street": {
"description": "The street name and number of the address.",
"type": ["null", "string"]
},
"zip": {
"description": "The postal or zip code of the address.",
"type": ["null", "string"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,78 +3,103 @@
"type": "object",
"properties": {
"agent_id": {
"description": "Unique identifier for the agent.",
"type": ["null", "integer"]
},
"agent_state": {
"description": "Current state of the agent (e.g., available, away).",
"type": ["null", "string"]
},
"available_time": {
"description": "Total time the agent is available for calls.",
"type": ["null", "integer"]
},
"avatar_url": {
"description": "URL to the agent's avatar image.",
"type": ["null", "string"]
},
"away_time": {
"description": "Total time the agent is marked as away.",
"type": ["null", "integer"]
},
"call_status": {
"description": "Status of current call (e.g., ongoing, ended).",
"type": ["null", "string"]
},
"calls_accepted": {
"description": "Total number of calls accepted by the agent.",
"type": ["null", "integer"]
},
"calls_denied": {
"description": "Total number of calls denied by the agent.",
"type": ["null", "integer"]
},
"calls_missed": {
"description": "Total number of calls missed by the agent.",
"type": ["null", "integer"]
},
"forwarding_number": {
"description": "Phone number calls are forwarded to.",
"type": ["null", "string"]
},
"name": {
"description": "Name of the agent.",
"type": ["null", "string"]
},
"online_time": {
"description": "Total time the agent is online and active.",
"type": ["null", "integer"]
},
"total_call_duration": {
"description": "Total duration of all calls handled by the agent.",
"type": ["null", "integer"]
},
"total_talk_time": {
"description": "Total duration of talk time for all calls handled by the agent.",
"type": ["null", "integer"]
},
"total_wrap_up_time": {
"description": "Total time taken to wrap up calls after ending for the agent.",
"type": ["null", "integer"]
},
"via": {
"description": "Platform or channel via which calls are received (e.g., phone, chat).",
"type": ["null", "string"]
},
"accepted_third_party_conferences": {
"description": "Number of third-party conferences accepted by the agent.",
"type": ["null", "integer"]
},
"accepted_transfers": {
"description": "Number of transfers accepted by the agent.",
"type": ["null", "integer"]
},
"average_hold_time": {
"description": "Average time calls are put on hold before being resumed.",
"type": ["null", "integer"]
},
"average_talk_time": {
"description": "Average duration of talk time for calls.",
"type": ["null", "integer"]
},
"average_wrap_up_time": {
"description": "Average time taken to wrap up a call after ending.",
"type": ["null", "integer"]
},
"calls_put_on_hold": {
"description": "Total number of calls put on hold by the agent.",
"type": ["null", "integer"]
},
"started_third_party_conferences": {
"description": "Number of third-party conferences initiated by the agent.",
"type": ["null", "integer"]
},
"started_transfers": {
"description": "Number of transfers initiated by the agent.",
"type": ["null", "integer"]
},
"total_hold_time": {
"description": "Total time calls are put on hold by the agent.",
"type": ["null", "integer"]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,69 +3,91 @@
"type": "object",
"properties": {
"current_timestamp": {
"description": "The timestamp when the data was last updated.",
"type": "integer"
},
"average_wrap_up_time": {
"description": "The average time agents take to wrap up calls.",
"type": ["null", "integer"]
},
"total_calls_accepted": {
"description": "The total number of calls accepted by agents.",
"type": ["null", "integer"]
},
"total_calls_denied": {
"description": "The total number of calls denied by agents.",
"type": ["null", "integer"]
},
"total_calls_missed": {
"description": "The total number of calls missed by agents.",
"type": ["null", "integer"]
},
"total_talk_time": {
"description": "The total time agents have spent talking on calls.",
"type": ["null", "integer"]
},
"total_wrap_up_time": {
"description": "The total time agents have taken to wrap up all calls.",
"type": ["null", "integer"]
},
"average_accepted_transfers": {
"description": "The average number of transfers accepted by agents.",
"type": ["null", "integer"]
},
"average_available_time": {
"description": "The average amount of time agents are available to take calls.",
"type": ["null", "integer"]
},
"average_away_time": {
"description": "The average time agents are away from their desks.",
"type": ["null", "integer"]
},
"average_calls_accepted": {
"description": "The average number of calls accepted by agents.",
"type": ["null", "integer"]
},
"average_calls_denied": {
"description": "The average number of calls denied by agents.",
"type": ["null", "integer"]
},
"average_calls_missed": {
"description": "The average number of calls missed by agents.",
"type": ["null", "integer"]
},
"average_calls_put_on_hold": {
"description": "The average number of calls put on hold by agents.",
"type": ["null", "integer"]
},
"average_hold_time": {
"description": "The average time calls are put on hold by agents.",
"type": ["null", "integer"]
},
"average_online_time": {
"description": "The average amount of time agents spend online.",
"type": ["null", "integer"]
},
"average_started_transfers": {
"description": "The average number of transfers initiated by agents.",
"type": ["null", "integer"]
},
"average_talk_time": {
"description": "The average time agents spend talking on calls.",
"type": ["null", "integer"]
},
"total_accepted_transfers": {
"description": "The total number of transfers accepted by agents.",
"type": ["null", "integer"]
},
"total_calls_put_on_hold": {
"description": "The total number of calls put on hold by agents.",
"type": ["null", "integer"]
},
"total_hold_time": {
"description": "The total time calls are put on hold by agents.",
"type": ["null", "integer"]
},
"total_started_transfers": {
"description": "The total number of transfers initiated by agents.",
"type": ["null", "integer"]
}
}
Expand Down
Loading

0 comments on commit a0238d2

Please sign in to comment.