Skip to content

Commit a0238d2

Browse files
bleonardlazebnyi
andauthored
source-zendesk-talk: ensure inline schemas, updated cdk, poetry (where possible) (#36625)
Co-authored-by: Serhii Lazebnyi <[email protected]> Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent 05b17f9 commit a0238d2

17 files changed

+254
-15
lines changed

airbyte-integrations/connectors/source-zendesk-talk/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data:
1111
connectorSubtype: api
1212
connectorType: source
1313
definitionId: c8630570-086d-4a40-99ae-ea5b18673071
14-
dockerImageTag: 0.2.0
14+
dockerImageTag: 0.2.1
1515
dockerRepository: airbyte/source-zendesk-talk
1616
documentationUrl: https://docs.airbyte.com/integrations/sources/zendesk-talk
1717
githubIssueLabel: source-zendesk-talk

airbyte-integrations/connectors/source-zendesk-talk/poetry.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-zendesk-talk/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "0.2.0"
6+
version = "0.2.1"
77
name = "source-zendesk-talk"
88
description = "Source implementation for Zendesk Talk."
99
authors = [ "Airbyte <[email protected]>",]
@@ -17,7 +17,7 @@ include = "source_zendesk_talk"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.80.0"
2121

2222
[tool.poetry.scripts]
2323
source-zendesk-talk = "source_zendesk_talk.run:run"

airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/schemas/account_overview.json

+23
Original file line numberDiff line numberDiff line change
@@ -3,72 +3,95 @@
33
"type": "object",
44
"properties": {
55
"current_timestamp": {
6+
"description": "Current timestamp at the time of the data retrieval",
67
"type": "integer"
78
},
89
"average_call_duration": {
10+
"description": "Average duration of calls in seconds",
911
"type": ["null", "integer"]
1012
},
1113
"average_queue_wait_time": {
14+
"description": "Average time callers spend waiting in the queue in seconds",
1215
"type": ["null", "integer"]
1316
},
1417
"average_wrap_up_time": {
18+
"description": "Average time taken by agents to complete call-related work after the call ends in seconds",
1519
"type": ["null", "integer"]
1620
},
1721
"max_calls_waiting": {
22+
"description": "Maximum number of calls waiting in the queue at a given time",
1823
"type": ["null", "integer"]
1924
},
2025
"max_queue_wait_time": {
26+
"description": "Longest wait time experienced by a caller in the queue in seconds",
2127
"type": ["null", "integer"]
2228
},
2329
"total_call_duration": {
30+
"description": "Total duration of all calls combined in seconds",
2431
"type": ["null", "integer"]
2532
},
2633
"total_calls": {
34+
"description": "Total number of calls handled",
2735
"type": ["null", "integer"]
2836
},
2937
"total_voicemails": {
38+
"description": "Total voicemails received",
3039
"type": ["null", "integer"]
3140
},
3241
"total_wrap_up_time": {
42+
"description": "Total time taken by agents for after-call tasks across all calls in seconds",
3343
"type": ["null", "integer"]
3444
},
3545
"average_callback_wait_time": {
46+
"description": "Average wait time before callback in seconds",
3647
"type": ["null", "integer"]
3748
},
3849
"average_hold_time": {
50+
"description": "Average time callers are put on hold in seconds",
3951
"type": ["null", "integer"]
4052
},
4153
"average_time_to_answer": {
54+
"description": "Average time taken to answer calls in seconds",
4255
"type": ["null", "integer"]
4356
},
4457
"total_callback_calls": {
58+
"description": "Total number of callbacks made",
4559
"type": ["null", "integer"]
4660
},
4761
"total_calls_abandoned_in_queue": {
62+
"description": "Total calls abandoned by callers while waiting in the queue",
4863
"type": ["null", "integer"]
4964
},
5065
"total_calls_outside_business_hours": {
66+
"description": "Total calls received outside normal business hours",
5167
"type": ["null", "integer"]
5268
},
5369
"total_calls_with_exceeded_queue_wait_time": {
70+
"description": "Total calls where wait time exceeded a defined threshold",
5471
"type": ["null", "integer"]
5572
},
5673
"total_calls_with_requested_voicemail": {
74+
"description": "Total calls where callers requested a voicemail",
5775
"type": ["null", "integer"]
5876
},
5977
"total_hold_time": {
78+
"description": "Total time callers were put on hold across all calls in seconds",
6079
"type": ["null", "integer"]
6180
},
6281
"total_inbound_calls": {
82+
"description": "Total incoming calls received",
6383
"type": ["null", "integer"]
6484
},
6585
"total_outbound_calls": {
86+
"description": "Total outgoing calls made",
6687
"type": ["null", "integer"]
6788
},
6889
"total_textback_requests": {
90+
"description": "Total requests for textback responses",
6991
"type": ["null", "integer"]
7092
},
7193
"total_embeddable_callback_calls": {
94+
"description": "Total number of calls that were callbacks from an embedded service",
7295
"type": ["null", "integer"]
7396
}
7497
}

airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/schemas/addresses.json

+9
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,39 @@
33
"type": "object",
44
"properties": {
55
"city": {
6+
"description": "The city where the address is located.",
67
"type": ["null", "string"]
78
},
89
"country_code": {
10+
"description": "The country code of the address.",
911
"type": ["null", "string"]
1012
},
1113
"id": {
14+
"description": "The unique identifier of the address.",
1215
"type": ["null", "integer"]
1316
},
1417
"name": {
18+
"description": "The name associated with the address.",
1519
"type": ["null", "string"]
1620
},
1721
"provider_reference": {
22+
"description": "Reference identifier provided by the address provider.",
1823
"type": ["null", "string"]
1924
},
2025
"province": {
26+
"description": "The province or region of the address.",
2127
"type": ["null", "string"]
2228
},
2329
"state": {
30+
"description": "The state of the address.",
2431
"type": ["null", "string"]
2532
},
2633
"street": {
34+
"description": "The street name and number of the address.",
2735
"type": ["null", "string"]
2836
},
2937
"zip": {
38+
"description": "The postal or zip code of the address.",
3039
"type": ["null", "string"]
3140
}
3241
}

airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/schemas/agents_activity.json

+25
Original file line numberDiff line numberDiff line change
@@ -3,78 +3,103 @@
33
"type": "object",
44
"properties": {
55
"agent_id": {
6+
"description": "Unique identifier for the agent.",
67
"type": ["null", "integer"]
78
},
89
"agent_state": {
10+
"description": "Current state of the agent (e.g., available, away).",
911
"type": ["null", "string"]
1012
},
1113
"available_time": {
14+
"description": "Total time the agent is available for calls.",
1215
"type": ["null", "integer"]
1316
},
1417
"avatar_url": {
18+
"description": "URL to the agent's avatar image.",
1519
"type": ["null", "string"]
1620
},
1721
"away_time": {
22+
"description": "Total time the agent is marked as away.",
1823
"type": ["null", "integer"]
1924
},
2025
"call_status": {
26+
"description": "Status of current call (e.g., ongoing, ended).",
2127
"type": ["null", "string"]
2228
},
2329
"calls_accepted": {
30+
"description": "Total number of calls accepted by the agent.",
2431
"type": ["null", "integer"]
2532
},
2633
"calls_denied": {
34+
"description": "Total number of calls denied by the agent.",
2735
"type": ["null", "integer"]
2836
},
2937
"calls_missed": {
38+
"description": "Total number of calls missed by the agent.",
3039
"type": ["null", "integer"]
3140
},
3241
"forwarding_number": {
42+
"description": "Phone number calls are forwarded to.",
3343
"type": ["null", "string"]
3444
},
3545
"name": {
46+
"description": "Name of the agent.",
3647
"type": ["null", "string"]
3748
},
3849
"online_time": {
50+
"description": "Total time the agent is online and active.",
3951
"type": ["null", "integer"]
4052
},
4153
"total_call_duration": {
54+
"description": "Total duration of all calls handled by the agent.",
4255
"type": ["null", "integer"]
4356
},
4457
"total_talk_time": {
58+
"description": "Total duration of talk time for all calls handled by the agent.",
4559
"type": ["null", "integer"]
4660
},
4761
"total_wrap_up_time": {
62+
"description": "Total time taken to wrap up calls after ending for the agent.",
4863
"type": ["null", "integer"]
4964
},
5065
"via": {
66+
"description": "Platform or channel via which calls are received (e.g., phone, chat).",
5167
"type": ["null", "string"]
5268
},
5369
"accepted_third_party_conferences": {
70+
"description": "Number of third-party conferences accepted by the agent.",
5471
"type": ["null", "integer"]
5572
},
5673
"accepted_transfers": {
74+
"description": "Number of transfers accepted by the agent.",
5775
"type": ["null", "integer"]
5876
},
5977
"average_hold_time": {
78+
"description": "Average time calls are put on hold before being resumed.",
6079
"type": ["null", "integer"]
6180
},
6281
"average_talk_time": {
82+
"description": "Average duration of talk time for calls.",
6383
"type": ["null", "integer"]
6484
},
6585
"average_wrap_up_time": {
86+
"description": "Average time taken to wrap up a call after ending.",
6687
"type": ["null", "integer"]
6788
},
6889
"calls_put_on_hold": {
90+
"description": "Total number of calls put on hold by the agent.",
6991
"type": ["null", "integer"]
7092
},
7193
"started_third_party_conferences": {
94+
"description": "Number of third-party conferences initiated by the agent.",
7295
"type": ["null", "integer"]
7396
},
7497
"started_transfers": {
98+
"description": "Number of transfers initiated by the agent.",
7599
"type": ["null", "integer"]
76100
},
77101
"total_hold_time": {
102+
"description": "Total time calls are put on hold by the agent.",
78103
"type": ["null", "integer"]
79104
}
80105
}

airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/schemas/agents_overview.json

+22
Original file line numberDiff line numberDiff line change
@@ -3,69 +3,91 @@
33
"type": "object",
44
"properties": {
55
"current_timestamp": {
6+
"description": "The timestamp when the data was last updated.",
67
"type": "integer"
78
},
89
"average_wrap_up_time": {
10+
"description": "The average time agents take to wrap up calls.",
911
"type": ["null", "integer"]
1012
},
1113
"total_calls_accepted": {
14+
"description": "The total number of calls accepted by agents.",
1215
"type": ["null", "integer"]
1316
},
1417
"total_calls_denied": {
18+
"description": "The total number of calls denied by agents.",
1519
"type": ["null", "integer"]
1620
},
1721
"total_calls_missed": {
22+
"description": "The total number of calls missed by agents.",
1823
"type": ["null", "integer"]
1924
},
2025
"total_talk_time": {
26+
"description": "The total time agents have spent talking on calls.",
2127
"type": ["null", "integer"]
2228
},
2329
"total_wrap_up_time": {
30+
"description": "The total time agents have taken to wrap up all calls.",
2431
"type": ["null", "integer"]
2532
},
2633
"average_accepted_transfers": {
34+
"description": "The average number of transfers accepted by agents.",
2735
"type": ["null", "integer"]
2836
},
2937
"average_available_time": {
38+
"description": "The average amount of time agents are available to take calls.",
3039
"type": ["null", "integer"]
3140
},
3241
"average_away_time": {
42+
"description": "The average time agents are away from their desks.",
3343
"type": ["null", "integer"]
3444
},
3545
"average_calls_accepted": {
46+
"description": "The average number of calls accepted by agents.",
3647
"type": ["null", "integer"]
3748
},
3849
"average_calls_denied": {
50+
"description": "The average number of calls denied by agents.",
3951
"type": ["null", "integer"]
4052
},
4153
"average_calls_missed": {
54+
"description": "The average number of calls missed by agents.",
4255
"type": ["null", "integer"]
4356
},
4457
"average_calls_put_on_hold": {
58+
"description": "The average number of calls put on hold by agents.",
4559
"type": ["null", "integer"]
4660
},
4761
"average_hold_time": {
62+
"description": "The average time calls are put on hold by agents.",
4863
"type": ["null", "integer"]
4964
},
5065
"average_online_time": {
66+
"description": "The average amount of time agents spend online.",
5167
"type": ["null", "integer"]
5268
},
5369
"average_started_transfers": {
70+
"description": "The average number of transfers initiated by agents.",
5471
"type": ["null", "integer"]
5572
},
5673
"average_talk_time": {
74+
"description": "The average time agents spend talking on calls.",
5775
"type": ["null", "integer"]
5876
},
5977
"total_accepted_transfers": {
78+
"description": "The total number of transfers accepted by agents.",
6079
"type": ["null", "integer"]
6180
},
6281
"total_calls_put_on_hold": {
82+
"description": "The total number of calls put on hold by agents.",
6383
"type": ["null", "integer"]
6484
},
6585
"total_hold_time": {
86+
"description": "The total time calls are put on hold by agents.",
6687
"type": ["null", "integer"]
6788
},
6889
"total_started_transfers": {
90+
"description": "The total number of transfers initiated by agents.",
6991
"type": ["null", "integer"]
7092
}
7193
}

0 commit comments

Comments
 (0)