Skip to content

Commit

Permalink
Merge pull request #14 from Datateer/add-new-endpoints
Browse files Browse the repository at this point in the history
fix: Updated typing
  • Loading branch information
cmarche2ti authored Dec 1, 2023
2 parents e83d00a + 7b88e4a commit 19f0b70
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tap_freshservice/streams/tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def get_url_params(self, context: dict | None, next_page_token) -> dict[str, t.A
th.Property("subject", th.StringType),
th.Property("group_id", th.IntegerType),
th.Property("department_id", th.IntegerType),
th.Property("workspace_id", th.IntegerType),
th.Property("category", th.StringType),
th.Property("sub_category", th.StringType),
th.Property("item_category", th.StringType),
Expand All @@ -35,9 +36,9 @@ def get_url_params(self, context: dict | None, next_page_token) -> dict[str, t.A
th.Property("deleted", th.BooleanType),
th.Property("spam", th.BooleanType),
th.Property("email_config_id", th.IntegerType),
th.Property("fwd_emails", th.ArrayType(th.StringType)),
th.Property("reply_cc_emails", th.ArrayType(th.StringType)),
th.Property("cc_emails", th.ArrayType(th.StringType)),
th.Property("fwd_emails", th.StringType),
th.Property("reply_cc_emails", th.StringType),
th.Property("cc_emails", th.StringType),
th.Property("is_escalated", th.BooleanType),
th.Property("fr_due_by", th.StringType),
th.Property("id", th.IntegerType),
Expand All @@ -47,15 +48,16 @@ def get_url_params(self, context: dict | None, next_page_token) -> dict[str, t.A
th.Property("created_at", th.DateTimeType),
th.Property("updated_at", th.DateTimeType),
th.Property("requested_for_id", th.IntegerType),
th.Property("to_emails", th.ArrayType(th.StringType)),
th.Property("to_emails", th.StringType),
th.Property("type", th.StringType),
th.Property("description", th.StringType),
th.Property("description_text", th.StringType),
th.Property("custom_fields", th.ObjectType(
th.Property("estimate", th.StringType),
th.Property("pending_reason", th.StringType),
th.Property("quote_hrs", th.StringType),
th.Property("definition_of_done", th.StringType)
th.Property("definition_of_done", th.StringType),
th.Property("company_division", th.StringType)
)),
th.Property("stats", th.ObjectType(
th.Property("created_at", th.DateTimeType),
Expand Down

0 comments on commit 19f0b70

Please sign in to comment.