flock-core 0.4.538__py3-none-any.whl → 0.4.539__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flock-core might be problematic. Click here for more details.
- flock/tools/zendesk_tools.py +4 -2
- {flock_core-0.4.538.dist-info → flock_core-0.4.539.dist-info}/METADATA +1 -1
- {flock_core-0.4.538.dist-info → flock_core-0.4.539.dist-info}/RECORD +6 -6
- {flock_core-0.4.538.dist-info → flock_core-0.4.539.dist-info}/WHEEL +0 -0
- {flock_core-0.4.538.dist-info → flock_core-0.4.539.dist-info}/entry_points.txt +0 -0
- {flock_core-0.4.538.dist-info → flock_core-0.4.539.dist-info}/licenses/LICENSE +0 -0
flock/tools/zendesk_tools.py
CHANGED
|
@@ -174,13 +174,15 @@ def zendesk_add_comment_to_ticket(ticket_id: str, comment_body: str, public: boo
|
|
|
174
174
|
|
|
175
175
|
@mcp.tool()
|
|
176
176
|
def zendesk_set_ticket_custom_field(
|
|
177
|
-
ticket_id: str, custom_field_id: int, custom_field_value: str
|
|
177
|
+
ticket_id: str, custom_field_id: int, custom_field_value: str, is_multi_option: bool = False
|
|
178
178
|
) -> dict:
|
|
179
179
|
"""Set the custom field value of a Zendesk ticket.
|
|
180
180
|
|
|
181
181
|
Uses Zendesk's Update Ticket API to set a custom field value:
|
|
182
182
|
PUT /api/v2/tickets/{ticket_id}.json
|
|
183
|
-
"""
|
|
183
|
+
"""#
|
|
184
|
+
if is_multi_option:
|
|
185
|
+
custom_field_value = [custom_field_value]
|
|
184
186
|
ZENDESK_SUBDOMAIN = os.getenv("ZENDESK_SUBDOMAIN_TICKET")
|
|
185
187
|
BASE_URL = f"https://{ZENDESK_SUBDOMAIN}.zendesk.com"
|
|
186
188
|
url = f"{BASE_URL}/api/v2/tickets/{ticket_id}.json"
|
|
@@ -488,7 +488,7 @@ flock/tools/markdown_tools.py,sha256=94fjGAJ5DEutoioD0ke-YRbxF6IWJQKuPVBLkNqdBo4
|
|
|
488
488
|
flock/tools/system_tools.py,sha256=IUB8MiSxtQH5ZfTGOck3vl4TKva8m1lfU4-W5D5b-4w,202
|
|
489
489
|
flock/tools/text_tools.py,sha256=mMQ8tkyYDxIorqqzl9ccGyWYjrSynYiYFIeP9qypfdg,22491
|
|
490
490
|
flock/tools/web_tools.py,sha256=h44L5rknxGw1mVnFTYO-z0xwUr5ctOvMiJBIfeq56UE,2555
|
|
491
|
-
flock/tools/zendesk_tools.py,sha256=
|
|
491
|
+
flock/tools/zendesk_tools.py,sha256=zAPc69CuU3HOZ2_WvDMLfI-awG3jjnIJivBKKVGBi9E,9296
|
|
492
492
|
flock/webapp/__init__.py,sha256=YtRbbyciN3Z2oMB9fdXZuvM3e49R8m2mY5qHLDoapRA,37
|
|
493
493
|
flock/webapp/run.py,sha256=btKVwIqrFg3FhLRuj2RN_fazwaFat3Ue5yiFiIg60rQ,9054
|
|
494
494
|
flock/webapp/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -563,8 +563,8 @@ flock/workflow/agent_execution_activity.py,sha256=hLqWEWsxwTgjsE9wvBejf3pN2TdIfU
|
|
|
563
563
|
flock/workflow/flock_workflow.py,sha256=iSUF_soFvWar0ffpkzE4irkDZRx0p4HnwmEBi_Ne2sY,9666
|
|
564
564
|
flock/workflow/temporal_config.py,sha256=3_8O7SDEjMsSMXsWJBfnb6XTp0TFaz39uyzSlMTSF_I,3988
|
|
565
565
|
flock/workflow/temporal_setup.py,sha256=YIHnSBntzOchHfMSh8hoLeNXrz3B1UbR14YrR6soM7A,1606
|
|
566
|
-
flock_core-0.4.
|
|
567
|
-
flock_core-0.4.
|
|
568
|
-
flock_core-0.4.
|
|
569
|
-
flock_core-0.4.
|
|
570
|
-
flock_core-0.4.
|
|
566
|
+
flock_core-0.4.539.dist-info/METADATA,sha256=_cq-9opPfTInXKCVmS0_-KZ1HBzJhwlBiXYDcr_ARPs,22800
|
|
567
|
+
flock_core-0.4.539.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
568
|
+
flock_core-0.4.539.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
|
|
569
|
+
flock_core-0.4.539.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
|
|
570
|
+
flock_core-0.4.539.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|