@digdir/dialogporten-schema 1.18.0 → 1.18.1
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 +9 -3
- package/src/index.js +8 -2
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -132,8 +132,9 @@ type DialogByIdPayload {
|
|
|
132
132
|
errors: [DialogByIdError!]!
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
type
|
|
135
|
+
type DialogEventPayload {
|
|
136
136
|
id: UUID!
|
|
137
|
+
type: DialogEventType!
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
type GuiAction {
|
|
@@ -211,7 +212,7 @@ type SeenLog {
|
|
|
211
212
|
}
|
|
212
213
|
|
|
213
214
|
type Subscriptions @authorize(policy: "enduser") {
|
|
214
|
-
|
|
215
|
+
dialogEvents(dialogId: UUID!): DialogEventPayload!
|
|
215
216
|
}
|
|
216
217
|
|
|
217
218
|
type Transmission {
|
|
@@ -296,6 +297,11 @@ enum AttachmentUrlConsumer {
|
|
|
296
297
|
API
|
|
297
298
|
}
|
|
298
299
|
|
|
300
|
+
enum DialogEventType {
|
|
301
|
+
DIALOG_UPDATED
|
|
302
|
+
DIALOG_DELETED
|
|
303
|
+
}
|
|
304
|
+
|
|
299
305
|
enum DialogStatus {
|
|
300
306
|
"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."
|
|
301
307
|
NEW
|
|
@@ -355,4 +361,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
|
|
|
355
361
|
|
|
356
362
|
scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
|
|
357
363
|
|
|
358
|
-
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
|
364
|
+
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
package/src/index.js
CHANGED
|
@@ -132,8 +132,9 @@ type DialogByIdPayload {
|
|
|
132
132
|
errors: [DialogByIdError!]!
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
type
|
|
135
|
+
type DialogEventPayload {
|
|
136
136
|
id: UUID!
|
|
137
|
+
type: DialogEventType!
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
type GuiAction {
|
|
@@ -211,7 +212,7 @@ type SeenLog {
|
|
|
211
212
|
}
|
|
212
213
|
|
|
213
214
|
type Subscriptions @authorize(policy: "enduser") {
|
|
214
|
-
|
|
215
|
+
dialogEvents(dialogId: UUID!): DialogEventPayload!
|
|
215
216
|
}
|
|
216
217
|
|
|
217
218
|
type Transmission {
|
|
@@ -296,6 +297,11 @@ enum AttachmentUrlConsumer {
|
|
|
296
297
|
API
|
|
297
298
|
}
|
|
298
299
|
|
|
300
|
+
enum DialogEventType {
|
|
301
|
+
DIALOG_UPDATED
|
|
302
|
+
DIALOG_DELETED
|
|
303
|
+
}
|
|
304
|
+
|
|
299
305
|
enum DialogStatus {
|
|
300
306
|
"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."
|
|
301
307
|
NEW
|