@digdir/dialogporten-schema 1.8.1-5aea32b → 1.8.1-6301ef5
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.
- package/package.json +17 -2
- package/schema.verified.graphql +19 -13
- package/src/index.js +303 -0
- package/swagger.verified.json +233 -120
package/package.json
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digdir/dialogporten-schema",
|
|
3
|
-
"version": "1.8.1-
|
|
3
|
+
"version": "1.8.1-6301ef5",
|
|
4
4
|
"description": "GraphQl schema and OpenAPI spec for Dialogporten",
|
|
5
|
+
"engines": {
|
|
6
|
+
"node": "20"
|
|
7
|
+
},
|
|
5
8
|
"author": "DigDir",
|
|
9
|
+
"main": "src/index.js",
|
|
6
10
|
"repository": {
|
|
7
11
|
"url": "git+https://github.com/digdir/dialogporten.git"
|
|
8
12
|
},
|
|
9
|
-
"
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "./gql-to-js.js",
|
|
15
|
+
"prepublishOnly": "npm run build",
|
|
16
|
+
"test": "npm run build && vitest run --test-timeout=10000"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"vitest": "2.0.4",
|
|
20
|
+
"glob": "11.0.0",
|
|
21
|
+
"graphql-tag": "2.12.6"
|
|
22
|
+
},
|
|
23
|
+
"license": "ISC",
|
|
24
|
+
"type": "module"
|
|
10
25
|
}
|
package/schema.verified.graphql
CHANGED
|
@@ -71,9 +71,17 @@ type AuthorizedParty {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
type Content {
|
|
74
|
-
|
|
74
|
+
title: ContentValue!
|
|
75
|
+
summary: ContentValue!
|
|
76
|
+
senderName: ContentValue
|
|
77
|
+
additionalInfo: ContentValue
|
|
78
|
+
extendedStatus: ContentValue
|
|
79
|
+
mainContentReference: ContentValue
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
type ContentValue {
|
|
75
83
|
value: [Localization!]!
|
|
76
|
-
mediaType: String
|
|
84
|
+
mediaType: String!
|
|
77
85
|
}
|
|
78
86
|
|
|
79
87
|
type Dialog {
|
|
@@ -93,7 +101,7 @@ type Dialog {
|
|
|
93
101
|
updatedAt: DateTime!
|
|
94
102
|
dialogToken: String
|
|
95
103
|
status: DialogStatus!
|
|
96
|
-
content:
|
|
104
|
+
content: Content!
|
|
97
105
|
attachments: [Attachment!]!
|
|
98
106
|
guiActions: [GuiAction!]!
|
|
99
107
|
apiActions: [ApiAction!]!
|
|
@@ -142,6 +150,13 @@ type Queries @authorize(policy: "enduser") {
|
|
|
142
150
|
parties: [AuthorizedParty!]!
|
|
143
151
|
}
|
|
144
152
|
|
|
153
|
+
type SearchContent {
|
|
154
|
+
title: ContentValue!
|
|
155
|
+
summary: ContentValue!
|
|
156
|
+
senderName: ContentValue
|
|
157
|
+
extendedStatus: ContentValue
|
|
158
|
+
}
|
|
159
|
+
|
|
145
160
|
type SearchDialog {
|
|
146
161
|
id: UUID!
|
|
147
162
|
org: String!
|
|
@@ -156,7 +171,7 @@ type SearchDialog {
|
|
|
156
171
|
dueAt: DateTime
|
|
157
172
|
status: DialogStatus!
|
|
158
173
|
latestActivity: Activity
|
|
159
|
-
content:
|
|
174
|
+
content: SearchContent!
|
|
160
175
|
seenSinceLastUpdate: [SeenLog!]!
|
|
161
176
|
}
|
|
162
177
|
|
|
@@ -245,15 +260,6 @@ enum AttachmentUrlConsumer {
|
|
|
245
260
|
API
|
|
246
261
|
}
|
|
247
262
|
|
|
248
|
-
enum ContentType {
|
|
249
|
-
TITLE
|
|
250
|
-
SENDER_NAME
|
|
251
|
-
SUMMARY
|
|
252
|
-
ADDITIONAL_INFO
|
|
253
|
-
EXTENDED_STATUS
|
|
254
|
-
MAIN_CONTENT_REFERENCE
|
|
255
|
-
}
|
|
256
|
-
|
|
257
263
|
enum DialogStatus {
|
|
258
264
|
"The dialogue is considered new. Typically used for simple messages that do not require any interaction, or as an initial step for dialogues. This is the default."
|
|
259
265
|
NEW
|
package/src/index.js
ADDED
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
export const schema_verified_graphql = `schema {
|
|
2
|
+
query: Queries
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
interface DialogByIdError {
|
|
6
|
+
message: String!
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface SearchDialogError {
|
|
10
|
+
message: String!
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
type Activity {
|
|
14
|
+
id: UUID!
|
|
15
|
+
createdAt: DateTime
|
|
16
|
+
extendedType: URL
|
|
17
|
+
type: ActivityType!
|
|
18
|
+
relatedActivityId: UUID
|
|
19
|
+
performedBy: Actor!
|
|
20
|
+
description: [Localization!]!
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type Actor {
|
|
24
|
+
actorType: ActorType
|
|
25
|
+
actorId: String
|
|
26
|
+
actorName: String
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type ApiAction {
|
|
30
|
+
id: UUID!
|
|
31
|
+
action: String!
|
|
32
|
+
authorizationAttribute: String
|
|
33
|
+
isAuthorized: Boolean!
|
|
34
|
+
endpoints: [ApiActionEndpoint!]!
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type ApiActionEndpoint {
|
|
38
|
+
id: UUID!
|
|
39
|
+
version: String
|
|
40
|
+
url: URL!
|
|
41
|
+
httpMethod: HttpVerb!
|
|
42
|
+
documentationUrl: URL
|
|
43
|
+
requestSchema: URL
|
|
44
|
+
responseSchema: URL
|
|
45
|
+
deprecated: Boolean!
|
|
46
|
+
sunsetAt: DateTime
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
type Attachment {
|
|
50
|
+
id: UUID!
|
|
51
|
+
displayName: [Localization!]!
|
|
52
|
+
urls: [AttachmentUrl!]!
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
type AttachmentUrl {
|
|
56
|
+
id: UUID!
|
|
57
|
+
url: URL!
|
|
58
|
+
consumerType: AttachmentUrlConsumer!
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
type AuthorizedParty {
|
|
62
|
+
party: String!
|
|
63
|
+
name: String!
|
|
64
|
+
partyType: String!
|
|
65
|
+
isDeleted: Boolean!
|
|
66
|
+
hasKeyRole: Boolean!
|
|
67
|
+
isMainAdministrator: Boolean!
|
|
68
|
+
isAccessManager: Boolean!
|
|
69
|
+
hasOnlyAccessToSubParties: Boolean!
|
|
70
|
+
subParties: [AuthorizedParty!]
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type Content {
|
|
74
|
+
title: ContentValue!
|
|
75
|
+
summary: ContentValue!
|
|
76
|
+
senderName: ContentValue
|
|
77
|
+
additionalInfo: ContentValue
|
|
78
|
+
extendedStatus: ContentValue
|
|
79
|
+
mainContentReference: ContentValue
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
type ContentValue {
|
|
83
|
+
value: [Localization!]!
|
|
84
|
+
mediaType: String!
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
type Dialog {
|
|
88
|
+
id: UUID!
|
|
89
|
+
revision: UUID!
|
|
90
|
+
org: String!
|
|
91
|
+
serviceResource: String!
|
|
92
|
+
serviceResourceType: String!
|
|
93
|
+
party: String!
|
|
94
|
+
progress: Int
|
|
95
|
+
extendedStatus: String
|
|
96
|
+
externalReference: String
|
|
97
|
+
visibleFrom: DateTime
|
|
98
|
+
dueAt: DateTime
|
|
99
|
+
expiresAt: DateTime
|
|
100
|
+
createdAt: DateTime!
|
|
101
|
+
updatedAt: DateTime!
|
|
102
|
+
dialogToken: String
|
|
103
|
+
status: DialogStatus!
|
|
104
|
+
content: Content!
|
|
105
|
+
attachments: [Attachment!]!
|
|
106
|
+
guiActions: [GuiAction!]!
|
|
107
|
+
apiActions: [ApiAction!]!
|
|
108
|
+
activities: [Activity!]!
|
|
109
|
+
seenSinceLastUpdate: [SeenLog!]!
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
type DialogByIdDeleted implements DialogByIdError {
|
|
113
|
+
message: String!
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
type DialogByIdForbidden implements DialogByIdError {
|
|
117
|
+
message: String!
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
type DialogByIdNotFound implements DialogByIdError {
|
|
121
|
+
message: String!
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
type DialogByIdPayload {
|
|
125
|
+
dialog: Dialog
|
|
126
|
+
errors: [DialogByIdError!]!
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
type GuiAction {
|
|
130
|
+
id: UUID!
|
|
131
|
+
action: String!
|
|
132
|
+
url: URL!
|
|
133
|
+
authorizationAttribute: String
|
|
134
|
+
isAuthorized: Boolean!
|
|
135
|
+
isDeleteDialogAction: Boolean!
|
|
136
|
+
priority: GuiActionPriority!
|
|
137
|
+
httpMethod: HttpVerb!
|
|
138
|
+
title: [Localization!]!
|
|
139
|
+
prompt: [Localization!]
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
type Localization {
|
|
143
|
+
value: String!
|
|
144
|
+
languageCode: String!
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
type Queries @authorize(policy: "enduser") {
|
|
148
|
+
dialogById(dialogId: UUID!): DialogByIdPayload!
|
|
149
|
+
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
150
|
+
parties: [AuthorizedParty!]!
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
type SearchContent {
|
|
154
|
+
title: ContentValue!
|
|
155
|
+
summary: ContentValue!
|
|
156
|
+
senderName: ContentValue
|
|
157
|
+
extendedStatus: ContentValue
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
type SearchDialog {
|
|
161
|
+
id: UUID!
|
|
162
|
+
org: String!
|
|
163
|
+
serviceResource: String!
|
|
164
|
+
serviceResourceType: String!
|
|
165
|
+
party: String!
|
|
166
|
+
progress: Int
|
|
167
|
+
guiAttachmentCount: Int
|
|
168
|
+
extendedStatus: String
|
|
169
|
+
createdAt: DateTime!
|
|
170
|
+
updatedAt: DateTime!
|
|
171
|
+
dueAt: DateTime
|
|
172
|
+
status: DialogStatus!
|
|
173
|
+
latestActivity: Activity
|
|
174
|
+
content: SearchContent!
|
|
175
|
+
seenSinceLastUpdate: [SeenLog!]!
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
type SearchDialogForbidden implements SearchDialogError {
|
|
179
|
+
message: String!
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
type SearchDialogValidationError implements SearchDialogError {
|
|
183
|
+
message: String!
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
type SearchDialogsPayload {
|
|
187
|
+
items: [SearchDialog!]
|
|
188
|
+
hasNextPage: Boolean!
|
|
189
|
+
continuationToken: String
|
|
190
|
+
orderBy: String
|
|
191
|
+
errors: [SearchDialogError!]!
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
type SeenLog {
|
|
195
|
+
id: UUID!
|
|
196
|
+
seenAt: DateTime!
|
|
197
|
+
seenBy: Actor!
|
|
198
|
+
isCurrentEndUser: Boolean!
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
input SearchDialogInput {
|
|
202
|
+
"Filter by one or more service owner codes"
|
|
203
|
+
org: [String!]
|
|
204
|
+
"Filter by one or more service resources"
|
|
205
|
+
serviceResource: [String!]
|
|
206
|
+
"Filter by one or more owning parties"
|
|
207
|
+
party: [String!]
|
|
208
|
+
"Filter by one or more extended statuses"
|
|
209
|
+
extendedStatus: [String!]
|
|
210
|
+
"Filter by external reference"
|
|
211
|
+
externalReference: String
|
|
212
|
+
"Filter by status"
|
|
213
|
+
status: [DialogStatus!]
|
|
214
|
+
"Only return dialogs created after this date"
|
|
215
|
+
createdAfter: DateTime
|
|
216
|
+
"Only return dialogs created before this date"
|
|
217
|
+
createdBefore: DateTime
|
|
218
|
+
"Only return dialogs updated after this date"
|
|
219
|
+
updatedAfter: DateTime
|
|
220
|
+
"Only return dialogs updated before this date"
|
|
221
|
+
updatedBefore: DateTime
|
|
222
|
+
"Only return dialogs with due date after this date"
|
|
223
|
+
dueAfter: DateTime
|
|
224
|
+
"Only return dialogs with due date before this date"
|
|
225
|
+
dueBefore: DateTime
|
|
226
|
+
"Search string for free text search. Will attempt to fuzzily match in all free text fields in the aggregate"
|
|
227
|
+
search: String
|
|
228
|
+
"Limit free text search to texts with this language code, e.g. 'no', 'en'. Culture codes will be normalized to neutral language codes (ISO 639). Default: search all culture codes"
|
|
229
|
+
searchLanguageCode: String
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
enum ActivityType {
|
|
233
|
+
"Refers to a submission made by a party that has been received by the service provider."
|
|
234
|
+
SUBMISSION
|
|
235
|
+
"Indicates feedback from the service provider on a submission. Contains a reference to the current submission."
|
|
236
|
+
FEEDBACK
|
|
237
|
+
"Information from the service provider, not (directly) related to any submission."
|
|
238
|
+
INFORMATION
|
|
239
|
+
"Used to indicate an error situation, typically on a submission. Contains a service-specific activityErrorCode."
|
|
240
|
+
ERROR
|
|
241
|
+
"Indicates that the dialog is closed for further changes. This typically happens when the dialog is completed or deleted."
|
|
242
|
+
CLOSED
|
|
243
|
+
"When the dialog is forwarded (delegated access) by someone with access to others."
|
|
244
|
+
FORWARDED
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
enum ActorType {
|
|
248
|
+
PARTY_REPRESENTATIVE
|
|
249
|
+
SERVICE_OWNER
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
enum ApplyPolicy {
|
|
253
|
+
BEFORE_RESOLVER
|
|
254
|
+
AFTER_RESOLVER
|
|
255
|
+
VALIDATION
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
enum AttachmentUrlConsumer {
|
|
259
|
+
GUI
|
|
260
|
+
API
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
enum DialogStatus {
|
|
264
|
+
"The dialogue is considered new. Typically used for simple messages that do not require any interaction, or as an initial step for dialogues. This is the default."
|
|
265
|
+
NEW
|
|
266
|
+
"Started. In a serial process, this is used to indicate that, for example, a form filling is ongoing."
|
|
267
|
+
IN_PROGRESS
|
|
268
|
+
"Equivalent to 'InProgress', but will be used by the workspace\/frontend for display purposes."
|
|
269
|
+
SIGNING
|
|
270
|
+
"For processing by the service owner. In a serial process, this is used after a submission is made."
|
|
271
|
+
PROCESSING
|
|
272
|
+
"Used to indicate that the dialogue is in progress\/under work, but is in a state where the user must do something - for example, correct an error, or other conditions that hinder further processing."
|
|
273
|
+
REQUIRES_ATTENTION
|
|
274
|
+
"The dialogue was completed. This typically means that the dialogue is moved to a GUI archive or similar."
|
|
275
|
+
COMPLETED
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
enum GuiActionPriority {
|
|
279
|
+
PRIMARY
|
|
280
|
+
SECONDARY
|
|
281
|
+
TERTIARY
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
enum HttpVerb {
|
|
285
|
+
GET
|
|
286
|
+
POST
|
|
287
|
+
PUT
|
|
288
|
+
PATCH
|
|
289
|
+
DELETE
|
|
290
|
+
HEAD
|
|
291
|
+
OPTIONS
|
|
292
|
+
TRACE
|
|
293
|
+
CONNECT
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
directive @authorize("The name of the authorization policy that determines access to the annotated resource." policy: String "Roles that are allowed to access the annotated resource." roles: [String!] "Defines when when the authorize directive shall be applied.By default the authorize directives are applied during the validation phase." apply: ApplyPolicy! = BEFORE_RESOLVER) repeatable on OBJECT | FIELD_DEFINITION
|
|
297
|
+
|
|
298
|
+
"The 'DateTime' scalar represents an ISO-8601 compliant date time type."
|
|
299
|
+
scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time")
|
|
300
|
+
|
|
301
|
+
scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
|
|
302
|
+
|
|
303
|
+
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")`
|
package/swagger.verified.json
CHANGED
|
@@ -221,19 +221,17 @@
|
|
|
221
221
|
"DueAt": "2084-04-04T12:13:10.01344+00:00",
|
|
222
222
|
"ExpiresAt": "2095-05-04T12:13:10.01344+00:00",
|
|
223
223
|
"Status": 1,
|
|
224
|
-
"Content":
|
|
225
|
-
{
|
|
226
|
-
"Type": 1,
|
|
224
|
+
"Content": {
|
|
225
|
+
"Title": {
|
|
227
226
|
"Value": [
|
|
228
227
|
{
|
|
229
|
-
"Value": "Some
|
|
228
|
+
"Value": "Some title",
|
|
230
229
|
"LanguageCode": "en"
|
|
231
230
|
}
|
|
232
231
|
],
|
|
233
232
|
"MediaType": "text/plain"
|
|
234
233
|
},
|
|
235
|
-
{
|
|
236
|
-
"Type": 3,
|
|
234
|
+
"Summary": {
|
|
237
235
|
"Value": [
|
|
238
236
|
{
|
|
239
237
|
"Value": "Some Summary",
|
|
@@ -241,8 +239,20 @@
|
|
|
241
239
|
}
|
|
242
240
|
],
|
|
243
241
|
"MediaType": "text/plain"
|
|
244
|
-
}
|
|
245
|
-
|
|
242
|
+
},
|
|
243
|
+
"SenderName": null,
|
|
244
|
+
"AdditionalInfo": {
|
|
245
|
+
"Value": [
|
|
246
|
+
{
|
|
247
|
+
"Value": "Some description with *markdown* support",
|
|
248
|
+
"LanguageCode": "en"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"MediaType": "text/markdown"
|
|
252
|
+
},
|
|
253
|
+
"ExtendedStatus": null,
|
|
254
|
+
"MainContentReference": null
|
|
255
|
+
},
|
|
246
256
|
"SearchTags": [
|
|
247
257
|
{
|
|
248
258
|
"Value": "searchTag"
|
|
@@ -1949,10 +1959,7 @@
|
|
|
1949
1959
|
"$ref": "#/components/schemas/DialogStatus_Values"
|
|
1950
1960
|
},
|
|
1951
1961
|
"content": {
|
|
1952
|
-
"
|
|
1953
|
-
"items": {
|
|
1954
|
-
"$ref": "#/components/schemas/UpdateDialogContentDto"
|
|
1955
|
-
}
|
|
1962
|
+
"$ref": "#/components/schemas/UpdateDialogContentDto"
|
|
1956
1963
|
},
|
|
1957
1964
|
"searchTags": {
|
|
1958
1965
|
"type": "array",
|
|
@@ -2010,9 +2017,50 @@
|
|
|
2010
2017
|
"type": "object",
|
|
2011
2018
|
"additionalProperties": false,
|
|
2012
2019
|
"properties": {
|
|
2013
|
-
"
|
|
2014
|
-
"$ref": "#/components/schemas/
|
|
2020
|
+
"title": {
|
|
2021
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2022
|
+
},
|
|
2023
|
+
"summary": {
|
|
2024
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2025
|
+
},
|
|
2026
|
+
"senderName": {
|
|
2027
|
+
"nullable": true,
|
|
2028
|
+
"oneOf": [
|
|
2029
|
+
{
|
|
2030
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2031
|
+
}
|
|
2032
|
+
]
|
|
2033
|
+
},
|
|
2034
|
+
"additionalInfo": {
|
|
2035
|
+
"nullable": true,
|
|
2036
|
+
"oneOf": [
|
|
2037
|
+
{
|
|
2038
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2039
|
+
}
|
|
2040
|
+
]
|
|
2041
|
+
},
|
|
2042
|
+
"extendedStatus": {
|
|
2043
|
+
"nullable": true,
|
|
2044
|
+
"oneOf": [
|
|
2045
|
+
{
|
|
2046
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2047
|
+
}
|
|
2048
|
+
]
|
|
2015
2049
|
},
|
|
2050
|
+
"mainContentReference": {
|
|
2051
|
+
"nullable": true,
|
|
2052
|
+
"oneOf": [
|
|
2053
|
+
{
|
|
2054
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2055
|
+
}
|
|
2056
|
+
]
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
},
|
|
2060
|
+
"DialogContentValueDto": {
|
|
2061
|
+
"type": "object",
|
|
2062
|
+
"additionalProperties": false,
|
|
2063
|
+
"properties": {
|
|
2016
2064
|
"value": {
|
|
2017
2065
|
"type": "array",
|
|
2018
2066
|
"items": {
|
|
@@ -2020,31 +2068,10 @@
|
|
|
2020
2068
|
}
|
|
2021
2069
|
},
|
|
2022
2070
|
"mediaType": {
|
|
2023
|
-
"type": "string"
|
|
2024
|
-
"nullable": true
|
|
2071
|
+
"type": "string"
|
|
2025
2072
|
}
|
|
2026
2073
|
}
|
|
2027
2074
|
},
|
|
2028
|
-
"DialogContentType_Values": {
|
|
2029
|
-
"type": "string",
|
|
2030
|
-
"description": "",
|
|
2031
|
-
"x-enumNames": [
|
|
2032
|
-
"Title",
|
|
2033
|
-
"SenderName",
|
|
2034
|
-
"Summary",
|
|
2035
|
-
"AdditionalInfo",
|
|
2036
|
-
"ExtendedStatus",
|
|
2037
|
-
"MainContentReference"
|
|
2038
|
-
],
|
|
2039
|
-
"enum": [
|
|
2040
|
-
"Title",
|
|
2041
|
-
"SenderName",
|
|
2042
|
-
"Summary",
|
|
2043
|
-
"AdditionalInfo",
|
|
2044
|
-
"ExtendedStatus",
|
|
2045
|
-
"MainContentReference"
|
|
2046
|
-
]
|
|
2047
|
-
},
|
|
2048
2075
|
"LocalizationDto": {
|
|
2049
2076
|
"type": "object",
|
|
2050
2077
|
"additionalProperties": false,
|
|
@@ -2457,17 +2484,14 @@
|
|
|
2457
2484
|
}
|
|
2458
2485
|
]
|
|
2459
2486
|
},
|
|
2460
|
-
"content": {
|
|
2461
|
-
"type": "array",
|
|
2462
|
-
"items": {
|
|
2463
|
-
"$ref": "#/components/schemas/SearchDialogContentDtoSO"
|
|
2464
|
-
}
|
|
2465
|
-
},
|
|
2466
2487
|
"seenSinceLastUpdate": {
|
|
2467
2488
|
"type": "array",
|
|
2468
2489
|
"items": {
|
|
2469
2490
|
"$ref": "#/components/schemas/SearchDialogDialogSeenLogDtoSO"
|
|
2470
2491
|
}
|
|
2492
|
+
},
|
|
2493
|
+
"content": {
|
|
2494
|
+
"$ref": "#/components/schemas/SearchDialogContentDtoSO"
|
|
2471
2495
|
}
|
|
2472
2496
|
}
|
|
2473
2497
|
},
|
|
@@ -2525,21 +2549,6 @@
|
|
|
2525
2549
|
}
|
|
2526
2550
|
}
|
|
2527
2551
|
},
|
|
2528
|
-
"SearchDialogContentDtoSO": {
|
|
2529
|
-
"type": "object",
|
|
2530
|
-
"additionalProperties": false,
|
|
2531
|
-
"properties": {
|
|
2532
|
-
"type": {
|
|
2533
|
-
"$ref": "#/components/schemas/DialogContentType_Values"
|
|
2534
|
-
},
|
|
2535
|
-
"value": {
|
|
2536
|
-
"type": "array",
|
|
2537
|
-
"items": {
|
|
2538
|
-
"$ref": "#/components/schemas/LocalizationDto"
|
|
2539
|
-
}
|
|
2540
|
-
}
|
|
2541
|
-
}
|
|
2542
|
-
},
|
|
2543
2552
|
"SearchDialogDialogSeenLogDtoSO": {
|
|
2544
2553
|
"type": "object",
|
|
2545
2554
|
"additionalProperties": false,
|
|
@@ -2576,6 +2585,34 @@
|
|
|
2576
2585
|
}
|
|
2577
2586
|
}
|
|
2578
2587
|
},
|
|
2588
|
+
"SearchDialogContentDtoSO": {
|
|
2589
|
+
"type": "object",
|
|
2590
|
+
"additionalProperties": false,
|
|
2591
|
+
"properties": {
|
|
2592
|
+
"title": {
|
|
2593
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2594
|
+
},
|
|
2595
|
+
"summary": {
|
|
2596
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2597
|
+
},
|
|
2598
|
+
"senderName": {
|
|
2599
|
+
"nullable": true,
|
|
2600
|
+
"oneOf": [
|
|
2601
|
+
{
|
|
2602
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2603
|
+
}
|
|
2604
|
+
]
|
|
2605
|
+
},
|
|
2606
|
+
"extendedStatus": {
|
|
2607
|
+
"nullable": true,
|
|
2608
|
+
"oneOf": [
|
|
2609
|
+
{
|
|
2610
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2611
|
+
}
|
|
2612
|
+
]
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
},
|
|
2579
2616
|
"GetDialogDtoSO": {
|
|
2580
2617
|
"type": "object",
|
|
2581
2618
|
"additionalProperties": false,
|
|
@@ -2645,10 +2682,7 @@
|
|
|
2645
2682
|
"$ref": "#/components/schemas/DialogStatus_Values"
|
|
2646
2683
|
},
|
|
2647
2684
|
"content": {
|
|
2648
|
-
"
|
|
2649
|
-
"items": {
|
|
2650
|
-
"$ref": "#/components/schemas/GetDialogContentDtoSO"
|
|
2651
|
-
}
|
|
2685
|
+
"$ref": "#/components/schemas/GetDialogContentDtoSO"
|
|
2652
2686
|
},
|
|
2653
2687
|
"searchTags": {
|
|
2654
2688
|
"type": "array",
|
|
@@ -2695,18 +2729,43 @@
|
|
|
2695
2729
|
"type": "object",
|
|
2696
2730
|
"additionalProperties": false,
|
|
2697
2731
|
"properties": {
|
|
2698
|
-
"
|
|
2699
|
-
"$ref": "#/components/schemas/
|
|
2732
|
+
"title": {
|
|
2733
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2700
2734
|
},
|
|
2701
|
-
"
|
|
2702
|
-
"
|
|
2703
|
-
"items": {
|
|
2704
|
-
"$ref": "#/components/schemas/LocalizationDto"
|
|
2705
|
-
}
|
|
2735
|
+
"summary": {
|
|
2736
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2706
2737
|
},
|
|
2707
|
-
"
|
|
2708
|
-
"
|
|
2709
|
-
"
|
|
2738
|
+
"senderName": {
|
|
2739
|
+
"nullable": true,
|
|
2740
|
+
"oneOf": [
|
|
2741
|
+
{
|
|
2742
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2743
|
+
}
|
|
2744
|
+
]
|
|
2745
|
+
},
|
|
2746
|
+
"additionalInfo": {
|
|
2747
|
+
"nullable": true,
|
|
2748
|
+
"oneOf": [
|
|
2749
|
+
{
|
|
2750
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2751
|
+
}
|
|
2752
|
+
]
|
|
2753
|
+
},
|
|
2754
|
+
"extendedStatus": {
|
|
2755
|
+
"nullable": true,
|
|
2756
|
+
"oneOf": [
|
|
2757
|
+
{
|
|
2758
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2759
|
+
}
|
|
2760
|
+
]
|
|
2761
|
+
},
|
|
2762
|
+
"mainContentReference": {
|
|
2763
|
+
"nullable": true,
|
|
2764
|
+
"oneOf": [
|
|
2765
|
+
{
|
|
2766
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
2767
|
+
}
|
|
2768
|
+
]
|
|
2710
2769
|
}
|
|
2711
2770
|
}
|
|
2712
2771
|
},
|
|
@@ -3005,10 +3064,7 @@
|
|
|
3005
3064
|
"$ref": "#/components/schemas/DialogStatus_Values"
|
|
3006
3065
|
},
|
|
3007
3066
|
"content": {
|
|
3008
|
-
"
|
|
3009
|
-
"items": {
|
|
3010
|
-
"$ref": "#/components/schemas/CreateDialogContentDto"
|
|
3011
|
-
}
|
|
3067
|
+
"$ref": "#/components/schemas/CreateDialogContentDto"
|
|
3012
3068
|
},
|
|
3013
3069
|
"searchTags": {
|
|
3014
3070
|
"type": "array",
|
|
@@ -3046,18 +3102,43 @@
|
|
|
3046
3102
|
"type": "object",
|
|
3047
3103
|
"additionalProperties": false,
|
|
3048
3104
|
"properties": {
|
|
3049
|
-
"
|
|
3050
|
-
"$ref": "#/components/schemas/
|
|
3105
|
+
"title": {
|
|
3106
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3051
3107
|
},
|
|
3052
|
-
"
|
|
3053
|
-
"
|
|
3054
|
-
"items": {
|
|
3055
|
-
"$ref": "#/components/schemas/LocalizationDto"
|
|
3056
|
-
}
|
|
3108
|
+
"summary": {
|
|
3109
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3057
3110
|
},
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
3060
|
-
"
|
|
3111
|
+
"senderName": {
|
|
3112
|
+
"nullable": true,
|
|
3113
|
+
"oneOf": [
|
|
3114
|
+
{
|
|
3115
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3116
|
+
}
|
|
3117
|
+
]
|
|
3118
|
+
},
|
|
3119
|
+
"additionalInfo": {
|
|
3120
|
+
"nullable": true,
|
|
3121
|
+
"oneOf": [
|
|
3122
|
+
{
|
|
3123
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3124
|
+
}
|
|
3125
|
+
]
|
|
3126
|
+
},
|
|
3127
|
+
"extendedStatus": {
|
|
3128
|
+
"nullable": true,
|
|
3129
|
+
"oneOf": [
|
|
3130
|
+
{
|
|
3131
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3132
|
+
}
|
|
3133
|
+
]
|
|
3134
|
+
},
|
|
3135
|
+
"mainContentReference": {
|
|
3136
|
+
"nullable": true,
|
|
3137
|
+
"oneOf": [
|
|
3138
|
+
{
|
|
3139
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3140
|
+
}
|
|
3141
|
+
]
|
|
3061
3142
|
}
|
|
3062
3143
|
}
|
|
3063
3144
|
},
|
|
@@ -3505,17 +3586,14 @@
|
|
|
3505
3586
|
}
|
|
3506
3587
|
]
|
|
3507
3588
|
},
|
|
3508
|
-
"content": {
|
|
3509
|
-
"type": "array",
|
|
3510
|
-
"items": {
|
|
3511
|
-
"$ref": "#/components/schemas/SearchDialogContentDto"
|
|
3512
|
-
}
|
|
3513
|
-
},
|
|
3514
3589
|
"seenSinceLastUpdate": {
|
|
3515
3590
|
"type": "array",
|
|
3516
3591
|
"items": {
|
|
3517
3592
|
"$ref": "#/components/schemas/SearchDialogDialogSeenLogDto"
|
|
3518
3593
|
}
|
|
3594
|
+
},
|
|
3595
|
+
"content": {
|
|
3596
|
+
"$ref": "#/components/schemas/SearchDialogContentDto"
|
|
3519
3597
|
}
|
|
3520
3598
|
}
|
|
3521
3599
|
},
|
|
@@ -3573,21 +3651,6 @@
|
|
|
3573
3651
|
}
|
|
3574
3652
|
}
|
|
3575
3653
|
},
|
|
3576
|
-
"SearchDialogContentDto": {
|
|
3577
|
-
"type": "object",
|
|
3578
|
-
"additionalProperties": false,
|
|
3579
|
-
"properties": {
|
|
3580
|
-
"type": {
|
|
3581
|
-
"$ref": "#/components/schemas/DialogContentType_Values"
|
|
3582
|
-
},
|
|
3583
|
-
"value": {
|
|
3584
|
-
"type": "array",
|
|
3585
|
-
"items": {
|
|
3586
|
-
"$ref": "#/components/schemas/LocalizationDto"
|
|
3587
|
-
}
|
|
3588
|
-
}
|
|
3589
|
-
}
|
|
3590
|
-
},
|
|
3591
3654
|
"SearchDialogDialogSeenLogDto": {
|
|
3592
3655
|
"type": "object",
|
|
3593
3656
|
"additionalProperties": false,
|
|
@@ -3624,6 +3687,34 @@
|
|
|
3624
3687
|
}
|
|
3625
3688
|
}
|
|
3626
3689
|
},
|
|
3690
|
+
"SearchDialogContentDto": {
|
|
3691
|
+
"type": "object",
|
|
3692
|
+
"additionalProperties": false,
|
|
3693
|
+
"properties": {
|
|
3694
|
+
"title": {
|
|
3695
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3696
|
+
},
|
|
3697
|
+
"summary": {
|
|
3698
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3699
|
+
},
|
|
3700
|
+
"senderName": {
|
|
3701
|
+
"nullable": true,
|
|
3702
|
+
"oneOf": [
|
|
3703
|
+
{
|
|
3704
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3705
|
+
}
|
|
3706
|
+
]
|
|
3707
|
+
},
|
|
3708
|
+
"extendedStatus": {
|
|
3709
|
+
"nullable": true,
|
|
3710
|
+
"oneOf": [
|
|
3711
|
+
{
|
|
3712
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3713
|
+
}
|
|
3714
|
+
]
|
|
3715
|
+
}
|
|
3716
|
+
}
|
|
3717
|
+
},
|
|
3627
3718
|
"GetDialogDto": {
|
|
3628
3719
|
"type": "object",
|
|
3629
3720
|
"additionalProperties": false,
|
|
@@ -3688,10 +3779,7 @@
|
|
|
3688
3779
|
"$ref": "#/components/schemas/DialogStatus_Values"
|
|
3689
3780
|
},
|
|
3690
3781
|
"content": {
|
|
3691
|
-
"
|
|
3692
|
-
"items": {
|
|
3693
|
-
"$ref": "#/components/schemas/GetDialogContentDto"
|
|
3694
|
-
}
|
|
3782
|
+
"$ref": "#/components/schemas/GetDialogContentDto"
|
|
3695
3783
|
},
|
|
3696
3784
|
"dialogToken": {
|
|
3697
3785
|
"type": "string",
|
|
@@ -3733,18 +3821,43 @@
|
|
|
3733
3821
|
"type": "object",
|
|
3734
3822
|
"additionalProperties": false,
|
|
3735
3823
|
"properties": {
|
|
3736
|
-
"
|
|
3737
|
-
"$ref": "#/components/schemas/
|
|
3824
|
+
"title": {
|
|
3825
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3738
3826
|
},
|
|
3739
|
-
"
|
|
3740
|
-
"
|
|
3741
|
-
"items": {
|
|
3742
|
-
"$ref": "#/components/schemas/LocalizationDto"
|
|
3743
|
-
}
|
|
3827
|
+
"summary": {
|
|
3828
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3744
3829
|
},
|
|
3745
|
-
"
|
|
3746
|
-
"
|
|
3747
|
-
"
|
|
3830
|
+
"senderName": {
|
|
3831
|
+
"nullable": true,
|
|
3832
|
+
"oneOf": [
|
|
3833
|
+
{
|
|
3834
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3835
|
+
}
|
|
3836
|
+
]
|
|
3837
|
+
},
|
|
3838
|
+
"additionalInfo": {
|
|
3839
|
+
"nullable": true,
|
|
3840
|
+
"oneOf": [
|
|
3841
|
+
{
|
|
3842
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3843
|
+
}
|
|
3844
|
+
]
|
|
3845
|
+
},
|
|
3846
|
+
"extendedStatus": {
|
|
3847
|
+
"nullable": true,
|
|
3848
|
+
"oneOf": [
|
|
3849
|
+
{
|
|
3850
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3851
|
+
}
|
|
3852
|
+
]
|
|
3853
|
+
},
|
|
3854
|
+
"mainContentReference": {
|
|
3855
|
+
"nullable": true,
|
|
3856
|
+
"oneOf": [
|
|
3857
|
+
{
|
|
3858
|
+
"$ref": "#/components/schemas/DialogContentValueDto"
|
|
3859
|
+
}
|
|
3860
|
+
]
|
|
3748
3861
|
}
|
|
3749
3862
|
}
|
|
3750
3863
|
},
|