-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbilling_responsible_person.go
57 lines (48 loc) · 1.58 KB
/
billing_responsible_person.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package tdproto
type ResponsiblePerson struct {
Id string `json:"id"`
DisplayName string `json:"display_name"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Patronymic *string `json:"patronymic,omitempty"`
Phone string `json:"phone"`
Email string `json:"email"`
HeldPost *string `json:"held_post,omitempty"`
}
type ResponsiblePersonCreateRequest struct {
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Patronymic *string `json:"patronymic,omitempty"`
Phone string `json:"phone"`
Email string `json:"email"`
HeldPost *string `json:"held_post,omitempty"`
}
type ResponsiblePersonCreateResponse struct {
ResponsiblePerson
}
type ResponsiblePersonUpdateRequest struct {
Id string `json:"id"`
DisplayName string `json:"display_name"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Patronymic *string `json:"patronymic,omitempty"`
Phone string `json:"phone"`
Email string `json:"email"`
HeldPost *string `json:"held_post,omitempty"`
}
type ResponsiblePersonUpdateResponse struct {
ResponsiblePerson
}
type ResponsiblePersonGetRequest struct {
ResponsiblePersonIds string `json:"responsible_person_ids"`
}
type ResponsiblePersonGetListRequest struct {
Limit *uint32 `json:"limit,omitempty"`
Offset *uint64 `json:"offset,omitempty"`
}
type ResponsiblePersonGetResponse struct {
ResponsiblePersonList []ResponsiblePerson `json:"responsible_person_list"`
}
type ResponsiblePersonDeleteRequest struct {
Id string `json:"id"`
}