@digdir/dialogporten-schema 1.70.0-29be76e → 1.70.0-517290a

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.70.0-29be76e",
3
+ "version": "1.70.0-517290a",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -4,10 +4,6 @@
4
4
  subscription: Subscriptions
5
5
  }
6
6
 
7
- interface BulkSetSystemLabelError {
8
- message: String!
9
- }
10
-
11
7
  interface DialogByIdError {
12
8
  message: String!
13
9
  }
@@ -96,30 +92,9 @@ type AuthorizedSubParty {
96
92
  isAccessManager: Boolean!
97
93
  }
98
94
 
99
- type BulkSetSystemLabelConcurrencyError implements BulkSetSystemLabelError {
100
- message: String!
101
- }
102
-
103
- type BulkSetSystemLabelDomainError implements BulkSetSystemLabelError {
104
- message: String!
105
- }
106
-
107
- type BulkSetSystemLabelNotFound implements BulkSetSystemLabelError {
108
- message: String!
109
- }
110
-
111
- type BulkSetSystemLabelPayload {
112
- success: Boolean!
113
- errors: [BulkSetSystemLabelError!]!
114
- }
115
-
116
- type BulkSetSystemLabelValidationError implements BulkSetSystemLabelError {
117
- message: String!
118
- }
119
-
120
95
  type Content {
121
96
  title: ContentValue!
122
- summary: ContentValue
97
+ summary: ContentValue!
123
98
  senderName: ContentValue
124
99
  additionalInfo: ContentValue
125
100
  extendedStatus: ContentValue
@@ -149,6 +124,7 @@ type Dialog {
149
124
  createdAt: DateTime!
150
125
  updatedAt: DateTime!
151
126
  dialogToken: String
127
+ systemLabel: SystemLabel!
152
128
  status: DialogStatus!
153
129
  "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
154
130
  isApiOnly: Boolean!
@@ -159,7 +135,6 @@ type Dialog {
159
135
  activities: [Activity!]!
160
136
  seenSinceLastUpdate: [SeenLog!]!
161
137
  transmissions: [Transmission!]!
162
- endUserContext: EndUserContext!
163
138
  }
164
139
 
165
140
  type DialogByIdDeleted implements DialogByIdError {
@@ -188,11 +163,6 @@ type DialogEventPayload {
188
163
  type: DialogEventType!
189
164
  }
190
165
 
191
- type EndUserContext {
192
- revision: UUID!
193
- systemLabels: [SystemLabel!]!
194
- }
195
-
196
166
  type GuiAction {
197
167
  id: UUID!
198
168
  action: String!
@@ -213,7 +183,6 @@ type Localization {
213
183
 
214
184
  type Mutations {
215
185
  setSystemLabel(input: SetSystemLabelInput!): SetSystemLabelPayload!
216
- bulkSetSystemLabels(input: BulkSetSystemLabelInput!): BulkSetSystemLabelPayload!
217
186
  }
218
187
 
219
188
  type Queries @authorize(policy: "enduser") {
@@ -224,7 +193,7 @@ type Queries @authorize(policy: "enduser") {
224
193
 
225
194
  type SearchContent {
226
195
  title: ContentValue!
227
- summary: ContentValue
196
+ summary: ContentValue!
228
197
  senderName: ContentValue
229
198
  extendedStatus: ContentValue
230
199
  }
@@ -244,12 +213,12 @@ type SearchDialog {
244
213
  updatedAt: DateTime!
245
214
  dueAt: DateTime
246
215
  status: DialogStatus!
216
+ systemLabel: SystemLabel!
247
217
  "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
248
218
  isApiOnly: Boolean!
249
219
  latestActivity: Activity
250
220
  content: SearchContent!
251
221
  seenSinceLastUpdate: [SeenLog!]!
252
- endUserContext: EndUserContext!
253
222
  }
254
223
 
255
224
  type SearchDialogContinuationTokenParsingError implements SearchDialogError {
@@ -320,20 +289,10 @@ type Transmission {
320
289
 
321
290
  type TransmissionContent {
322
291
  title: ContentValue!
323
- summary: ContentValue
292
+ summary: ContentValue!
324
293
  contentReference: ContentValue
325
294
  }
326
295
 
327
- input BulkSetSystemLabelInput {
328
- dialogs: [DialogRevisionInput!]!
329
- systemLabels: [SystemLabel!]!
330
- }
331
-
332
- input DialogRevisionInput {
333
- dialogId: UUID!
334
- enduserContextRevision: UUID
335
- }
336
-
337
296
  input SearchDialogInput {
338
297
  "Filter by one or more service owner codes"
339
298
  org: [String!]
@@ -384,7 +343,7 @@ input SearchDialogSortTypeInput {
384
343
 
385
344
  input SetSystemLabelInput {
386
345
  dialogId: UUID!
387
- systemLabels: [SystemLabel!]!
346
+ label: SystemLabel!
388
347
  }
389
348
 
390
349
  enum ActivityType {
package/src/index.js CHANGED
@@ -4,10 +4,6 @@ export const schema_verified_graphql = `schema {
4
4
  subscription: Subscriptions
5
5
  }
6
6
 
7
- interface BulkSetSystemLabelError {
8
- message: String!
9
- }
10
-
11
7
  interface DialogByIdError {
12
8
  message: String!
13
9
  }
@@ -96,30 +92,9 @@ type AuthorizedSubParty {
96
92
  isAccessManager: Boolean!
97
93
  }
98
94
 
99
- type BulkSetSystemLabelConcurrencyError implements BulkSetSystemLabelError {
100
- message: String!
101
- }
102
-
103
- type BulkSetSystemLabelDomainError implements BulkSetSystemLabelError {
104
- message: String!
105
- }
106
-
107
- type BulkSetSystemLabelNotFound implements BulkSetSystemLabelError {
108
- message: String!
109
- }
110
-
111
- type BulkSetSystemLabelPayload {
112
- success: Boolean!
113
- errors: [BulkSetSystemLabelError!]!
114
- }
115
-
116
- type BulkSetSystemLabelValidationError implements BulkSetSystemLabelError {
117
- message: String!
118
- }
119
-
120
95
  type Content {
121
96
  title: ContentValue!
122
- summary: ContentValue
97
+ summary: ContentValue!
123
98
  senderName: ContentValue
124
99
  additionalInfo: ContentValue
125
100
  extendedStatus: ContentValue
@@ -149,6 +124,7 @@ type Dialog {
149
124
  createdAt: DateTime!
150
125
  updatedAt: DateTime!
151
126
  dialogToken: String
127
+ systemLabel: SystemLabel!
152
128
  status: DialogStatus!
153
129
  "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
154
130
  isApiOnly: Boolean!
@@ -159,7 +135,6 @@ type Dialog {
159
135
  activities: [Activity!]!
160
136
  seenSinceLastUpdate: [SeenLog!]!
161
137
  transmissions: [Transmission!]!
162
- endUserContext: EndUserContext!
163
138
  }
164
139
 
165
140
  type DialogByIdDeleted implements DialogByIdError {
@@ -188,11 +163,6 @@ type DialogEventPayload {
188
163
  type: DialogEventType!
189
164
  }
190
165
 
191
- type EndUserContext {
192
- revision: UUID!
193
- systemLabels: [SystemLabel!]!
194
- }
195
-
196
166
  type GuiAction {
197
167
  id: UUID!
198
168
  action: String!
@@ -213,7 +183,6 @@ type Localization {
213
183
 
214
184
  type Mutations {
215
185
  setSystemLabel(input: SetSystemLabelInput!): SetSystemLabelPayload!
216
- bulkSetSystemLabels(input: BulkSetSystemLabelInput!): BulkSetSystemLabelPayload!
217
186
  }
218
187
 
219
188
  type Queries @authorize(policy: "enduser") {
@@ -224,7 +193,7 @@ type Queries @authorize(policy: "enduser") {
224
193
 
225
194
  type SearchContent {
226
195
  title: ContentValue!
227
- summary: ContentValue
196
+ summary: ContentValue!
228
197
  senderName: ContentValue
229
198
  extendedStatus: ContentValue
230
199
  }
@@ -244,12 +213,12 @@ type SearchDialog {
244
213
  updatedAt: DateTime!
245
214
  dueAt: DateTime
246
215
  status: DialogStatus!
216
+ systemLabel: SystemLabel!
247
217
  "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
248
218
  isApiOnly: Boolean!
249
219
  latestActivity: Activity
250
220
  content: SearchContent!
251
221
  seenSinceLastUpdate: [SeenLog!]!
252
- endUserContext: EndUserContext!
253
222
  }
254
223
 
255
224
  type SearchDialogContinuationTokenParsingError implements SearchDialogError {
@@ -320,20 +289,10 @@ type Transmission {
320
289
 
321
290
  type TransmissionContent {
322
291
  title: ContentValue!
323
- summary: ContentValue
292
+ summary: ContentValue!
324
293
  contentReference: ContentValue
325
294
  }
326
295
 
327
- input BulkSetSystemLabelInput {
328
- dialogs: [DialogRevisionInput!]!
329
- systemLabels: [SystemLabel!]!
330
- }
331
-
332
- input DialogRevisionInput {
333
- dialogId: UUID!
334
- enduserContextRevision: UUID
335
- }
336
-
337
296
  input SearchDialogInput {
338
297
  "Filter by one or more service owner codes"
339
298
  org: [String!]
@@ -384,7 +343,7 @@ input SearchDialogSortTypeInput {
384
343
 
385
344
  input SetSystemLabelInput {
386
345
  dialogId: UUID!
387
- systemLabels: [SystemLabel!]!
346
+ label: SystemLabel!
388
347
  }
389
348
 
390
349
  enum ActivityType {