@digdir/dialogporten-schema 1.21.0 → 1.22.0-482b38a
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 +1 -1
- package/schema.verified.graphql +3 -1
- package/src/index.js +2 -0
- package/swagger.verified.json +23 -10
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -110,6 +110,7 @@ type Dialog {
|
|
|
110
110
|
createdAt: DateTime!
|
|
111
111
|
updatedAt: DateTime!
|
|
112
112
|
dialogToken: String
|
|
113
|
+
systemLabel: SystemLabel!
|
|
113
114
|
status: DialogStatus!
|
|
114
115
|
content: Content!
|
|
115
116
|
attachments: [Attachment!]!
|
|
@@ -192,6 +193,7 @@ type SearchDialog {
|
|
|
192
193
|
updatedAt: DateTime!
|
|
193
194
|
dueAt: DateTime
|
|
194
195
|
status: DialogStatus!
|
|
196
|
+
systemLabel: SystemLabel!
|
|
195
197
|
latestActivity: Activity
|
|
196
198
|
content: SearchContent!
|
|
197
199
|
seenSinceLastUpdate: [SeenLog!]!
|
|
@@ -391,4 +393,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
|
|
|
391
393
|
|
|
392
394
|
scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
|
|
393
395
|
|
|
394
|
-
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
|
396
|
+
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
package/src/index.js
CHANGED
|
@@ -110,6 +110,7 @@ type Dialog {
|
|
|
110
110
|
createdAt: DateTime!
|
|
111
111
|
updatedAt: DateTime!
|
|
112
112
|
dialogToken: String
|
|
113
|
+
systemLabel: SystemLabel!
|
|
113
114
|
status: DialogStatus!
|
|
114
115
|
content: Content!
|
|
115
116
|
attachments: [Attachment!]!
|
|
@@ -192,6 +193,7 @@ type SearchDialog {
|
|
|
192
193
|
updatedAt: DateTime!
|
|
193
194
|
dueAt: DateTime
|
|
194
195
|
status: DialogStatus!
|
|
196
|
+
systemLabel: SystemLabel!
|
|
195
197
|
latestActivity: Activity
|
|
196
198
|
content: SearchContent!
|
|
197
199
|
seenSinceLastUpdate: [SeenLog!]!
|
package/swagger.verified.json
CHANGED
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
"properties": {
|
|
71
71
|
"mediaType": {
|
|
72
72
|
"description": "Media type of the content (plaintext, Markdown). Can also indicate that the content is embeddable.",
|
|
73
|
-
"example": "text/plain\ntext/markdown\napplication/vnd.dialogporten.frontchannelembed",
|
|
74
73
|
"type": "string"
|
|
75
74
|
},
|
|
76
75
|
"value": {
|
|
@@ -231,7 +230,7 @@
|
|
|
231
230
|
"type": "string"
|
|
232
231
|
},
|
|
233
232
|
"process": {
|
|
234
|
-
"description": "Optional process identifier used to indicate a business process this dialog belongs to
|
|
233
|
+
"description": "Optional process identifier used to indicate a business process this dialog belongs to",
|
|
235
234
|
"nullable": true,
|
|
236
235
|
"type": "string"
|
|
237
236
|
},
|
|
@@ -262,7 +261,7 @@
|
|
|
262
261
|
]
|
|
263
262
|
},
|
|
264
263
|
"systemLabel": {
|
|
265
|
-
"description": "Set the system label of the dialog Migration purposes
|
|
264
|
+
"description": "Set the system label of the dialog Migration purposes",
|
|
266
265
|
"nullable": true,
|
|
267
266
|
"oneOf": [
|
|
268
267
|
{
|
|
@@ -297,7 +296,7 @@
|
|
|
297
296
|
"additionalProperties": false,
|
|
298
297
|
"properties": {
|
|
299
298
|
"additionalInfo": {
|
|
300
|
-
"description": "Additional information about the dialog
|
|
299
|
+
"description": "Additional information about the dialog.\nSupported media types: text/plain, text/markdown",
|
|
301
300
|
"nullable": true,
|
|
302
301
|
"oneOf": [
|
|
303
302
|
{
|
|
@@ -306,7 +305,7 @@
|
|
|
306
305
|
]
|
|
307
306
|
},
|
|
308
307
|
"extendedStatus": {
|
|
309
|
-
"description": "Used as the human-readable label used to describe the \u0022ExtendedStatus\u0022 field
|
|
308
|
+
"description": "Used as the human-readable label used to describe the \u0022ExtendedStatus\u0022 field.\nSupported media types: text/plain",
|
|
310
309
|
"nullable": true,
|
|
311
310
|
"oneOf": [
|
|
312
311
|
{
|
|
@@ -315,7 +314,7 @@
|
|
|
315
314
|
]
|
|
316
315
|
},
|
|
317
316
|
"mainContentReference": {
|
|
318
|
-
"description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.",
|
|
317
|
+
"description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.\nSupported media types: application/vnd.dialogporten.frontchannelembed\u002Bjson;type=markdown",
|
|
319
318
|
"nullable": true,
|
|
320
319
|
"oneOf": [
|
|
321
320
|
{
|
|
@@ -324,7 +323,7 @@
|
|
|
324
323
|
]
|
|
325
324
|
},
|
|
326
325
|
"senderName": {
|
|
327
|
-
"description": "Overridden sender name. If not supplied, assume \u0022org\u0022 as the sender name. Must be text/plain if supplied
|
|
326
|
+
"description": "Overridden sender name. If not supplied, assume \u0022org\u0022 as the sender name. Must be text/plain if supplied.\nSupported media types: text/plain",
|
|
328
327
|
"nullable": true,
|
|
329
328
|
"oneOf": [
|
|
330
329
|
{
|
|
@@ -333,7 +332,7 @@
|
|
|
333
332
|
]
|
|
334
333
|
},
|
|
335
334
|
"summary": {
|
|
336
|
-
"description": "A short summary of the dialog and its current state
|
|
335
|
+
"description": "A short summary of the dialog and its current state.\nSupported media types: text/plain",
|
|
337
336
|
"oneOf": [
|
|
338
337
|
{
|
|
339
338
|
"$ref": "#/components/schemas/ContentValueDto"
|
|
@@ -341,7 +340,7 @@
|
|
|
341
340
|
]
|
|
342
341
|
},
|
|
343
342
|
"title": {
|
|
344
|
-
"description": "The title of the dialog
|
|
343
|
+
"description": "The title of the dialog.\nSupported media types: text/plain",
|
|
345
344
|
"oneOf": [
|
|
346
345
|
{
|
|
347
346
|
"$ref": "#/components/schemas/ContentValueDto"
|
|
@@ -751,6 +750,13 @@
|
|
|
751
750
|
},
|
|
752
751
|
"type": "array"
|
|
753
752
|
},
|
|
753
|
+
"id": {
|
|
754
|
+
"description": "A self-defined UUIDv7 may be provided to support idempotent creation of transmission attachments. If not provided, a new UUIDv7 will be generated.",
|
|
755
|
+
"example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
|
|
756
|
+
"format": "guid",
|
|
757
|
+
"nullable": true,
|
|
758
|
+
"type": "string"
|
|
759
|
+
},
|
|
754
760
|
"urls": {
|
|
755
761
|
"description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
|
|
756
762
|
"items": {
|
|
@@ -4089,6 +4095,13 @@
|
|
|
4089
4095
|
},
|
|
4090
4096
|
"type": "array"
|
|
4091
4097
|
},
|
|
4098
|
+
"id": {
|
|
4099
|
+
"description": "A self-defined UUIDv7 may be provided to support idempotent creation of transmission attachments. If not provided, a new UUIDv7 will be generated.",
|
|
4100
|
+
"example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
|
|
4101
|
+
"format": "guid",
|
|
4102
|
+
"nullable": true,
|
|
4103
|
+
"type": "string"
|
|
4104
|
+
},
|
|
4092
4105
|
"urls": {
|
|
4093
4106
|
"description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
|
|
4094
4107
|
"items": {
|
|
@@ -5161,7 +5174,7 @@
|
|
|
5161
5174
|
}
|
|
5162
5175
|
},
|
|
5163
5176
|
{
|
|
5164
|
-
"description": "Filter by Display state
|
|
5177
|
+
"description": "Filter by Display state",
|
|
5165
5178
|
"explode": true,
|
|
5166
5179
|
"in": "query",
|
|
5167
5180
|
"name": "systemLabel",
|