toggle menu
ozone
common
switch theme
search in API
ozone
/
tools.ozone.communication
Package-level
declarations
Types
Types
Create
Template
Request
Link copied to clipboard
@
Serializable
data
class
CreateTemplateRequest
(
val
name
:
String
,
val
contentMarkdown
:
String
,
val
subject
:
String
,
val
lang
:
Language
?
=
null
,
val
createdBy
:
Did
?
=
null
)
Create
Template
Response
Link copied to clipboard
typealias
CreateTemplateResponse
=
TemplateView
Delete
Template
Request
Link copied to clipboard
@
Serializable
data
class
DeleteTemplateRequest
(
val
id
:
String
)
List
Templates
Response
Link copied to clipboard
@
Serializable
data
class
ListTemplatesResponse
(
val
communicationTemplates
:
List
<
TemplateView
>
)
Template
View
Link copied to clipboard
@
Serializable
data
class
TemplateView
(
val
id
:
String
,
val
name
:
String
,
val
subject
:
String
?
=
null
,
val
contentMarkdown
:
String
,
val
disabled
:
Boolean
,
val
lang
:
Language
?
=
null
,
val
lastUpdatedBy
:
Did
,
val
createdAt
:
Timestamp
,
val
updatedAt
:
Timestamp
)
Update
Template
Request
Link copied to clipboard
@
Serializable
data
class
UpdateTemplateRequest
(
val
id
:
String
,
val
name
:
String
?
=
null
,
val
lang
:
Language
?
=
null
,
val
contentMarkdown
:
String
?
=
null
,
val
subject
:
String
?
=
null
,
val
updatedBy
:
Did
?
=
null
,
val
disabled
:
Boolean
?
=
null
)
Update
Template
Response
Link copied to clipboard
typealias
UpdateTemplateResponse
=
TemplateView