Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
it-bott-integrasjoner
topdesk-client
Commits
19644768
Commit
19644768
authored
Sep 17, 2019
by
Jo Sama
😱
Browse files
Phone and mobile is optional for operators/persons
parent
3c3a31e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
topdesk_client/models.py
View file @
19644768
...
...
@@ -166,8 +166,8 @@ class Operator(BaseModel):
first_name
:
str
last_name
:
str
user_name
:
str
phone
:
str
mobile
:
str
phone
:
Optional
[
str
]
mobile
:
Optional
[
str
]
email
:
str
branch
:
BranchReference
# TODO: Remove the password field when proper auth is in place
...
...
@@ -195,8 +195,8 @@ class Person(BaseModel):
first_name
:
str
last_name
:
str
user_name
:
str
phone
:
str
mobile
:
str
phone
:
Optional
[
str
]
mobile
:
Optional
[
str
]
email
:
str
employee_number
:
str
branch
:
BranchReference
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment