@digdir/dialogporten-schema 1.70.0-9f4cd91 → 1.70.0-deec550

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-9f4cd91",
3
+ "version": "1.70.0-deec550",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -119,7 +119,7 @@ type BulkSetSystemLabelValidationError implements BulkSetSystemLabelError {
119
119
 
120
120
  type Content {
121
121
  title: ContentValue!
122
- summary: ContentValue
122
+ summary: ContentValue!
123
123
  senderName: ContentValue
124
124
  additionalInfo: ContentValue
125
125
  extendedStatus: ContentValue
@@ -224,7 +224,7 @@ type Queries @authorize(policy: "enduser") {
224
224
 
225
225
  type SearchContent {
226
226
  title: ContentValue!
227
- summary: ContentValue
227
+ summary: ContentValue!
228
228
  senderName: ContentValue
229
229
  extendedStatus: ContentValue
230
230
  }
@@ -320,7 +320,7 @@ type Transmission {
320
320
 
321
321
  type TransmissionContent {
322
322
  title: ContentValue!
323
- summary: ContentValue
323
+ summary: ContentValue!
324
324
  contentReference: ContentValue
325
325
  }
326
326
 
@@ -450,6 +450,8 @@ enum DialogEventType {
450
450
  }
451
451
 
452
452
  enum DialogStatus {
453
+ "No explicit status. This is the default."
454
+ NOT_APPLICABLE
453
455
  "Started. In a serial process, this is used to indicate that, for example, a form filling is ongoing."
454
456
  IN_PROGRESS
455
457
  "Used to indicate user-initiated dialogs not yet sent."
@@ -460,8 +462,6 @@ enum DialogStatus {
460
462
  REQUIRES_ATTENTION
461
463
  "The dialogue was completed. This typically means that the dialogue is moved to a GUI archive or similar."
462
464
  COMPLETED
463
- "No explicit status. This is the default."
464
- NOT_APPLICABLE
465
465
  }
466
466
 
467
467
  enum GuiActionPriority {
package/src/index.js CHANGED
@@ -119,7 +119,7 @@ type BulkSetSystemLabelValidationError implements BulkSetSystemLabelError {
119
119
 
120
120
  type Content {
121
121
  title: ContentValue!
122
- summary: ContentValue
122
+ summary: ContentValue!
123
123
  senderName: ContentValue
124
124
  additionalInfo: ContentValue
125
125
  extendedStatus: ContentValue
@@ -224,7 +224,7 @@ type Queries @authorize(policy: "enduser") {
224
224
 
225
225
  type SearchContent {
226
226
  title: ContentValue!
227
- summary: ContentValue
227
+ summary: ContentValue!
228
228
  senderName: ContentValue
229
229
  extendedStatus: ContentValue
230
230
  }
@@ -320,7 +320,7 @@ type Transmission {
320
320
 
321
321
  type TransmissionContent {
322
322
  title: ContentValue!
323
- summary: ContentValue
323
+ summary: ContentValue!
324
324
  contentReference: ContentValue
325
325
  }
326
326
 
@@ -450,6 +450,8 @@ enum DialogEventType {
450
450
  }
451
451
 
452
452
  enum DialogStatus {
453
+ "No explicit status. This is the default."
454
+ NOT_APPLICABLE
453
455
  "Started. In a serial process, this is used to indicate that, for example, a form filling is ongoing."
454
456
  IN_PROGRESS
455
457
  "Used to indicate user-initiated dialogs not yet sent."
@@ -460,8 +462,6 @@ enum DialogStatus {
460
462
  REQUIRES_ATTENTION
461
463
  "The dialogue was completed. This typically means that the dialogue is moved to a GUI archive or similar."
462
464
  COMPLETED
463
- "No explicit status. This is the default."
464
- NOT_APPLICABLE
465
465
  }
466
466
 
467
467
  enum GuiActionPriority {
@@ -43,21 +43,21 @@
43
43
  "DialogsEntities_DialogStatus": {
44
44
  "description": "",
45
45
  "enum": [
46
+ "NotApplicable",
46
47
  "InProgress",
47
48
  "Draft",
49
+ "Awaiting",
48
50
  "RequiresAttention",
49
- "Completed",
50
- "NotApplicable",
51
- "Awaiting"
51
+ "Completed"
52
52
  ],
53
53
  "type": "string",
54
54
  "x-enumNames": [
55
+ "NotApplicable",
55
56
  "InProgress",
56
57
  "Draft",
58
+ "Awaiting",
57
59
  "RequiresAttention",
58
- "Completed",
59
- "NotApplicable",
60
- "Awaiting"
60
+ "Completed"
61
61
  ]
62
62
  },
63
63
  "DialogsEntitiesActions_DialogGuiActionPriority": {
@@ -516,7 +516,6 @@
516
516
  },
517
517
  "summary": {
518
518
  "description": "A short summary of the dialog and its current state.",
519
- "nullable": true,
520
519
  "oneOf": [
521
520
  {
522
521
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -687,16 +686,6 @@
687
686
  }
688
687
  ]
689
688
  },
690
- "systemLabel": {
691
- "deprecated": true,
692
- "description": "System defined label used to categorize dialogs.\nThis is obsolete and will only show; Default, Bin or Archive.\nUse SystemLabels on EndUserContext instead.",
693
- "oneOf": [
694
- {
695
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
696
- }
697
- ],
698
- "x-deprecatedMessage": "Use EndUserContext.SystemLabels instead."
699
- },
700
689
  "transmissions": {
701
690
  "description": "The immutable list of transmissions associated with the dialog.",
702
691
  "items": {
@@ -1180,7 +1169,6 @@
1180
1169
  },
1181
1170
  "summary": {
1182
1171
  "description": "The transmission summary.",
1183
- "nullable": true,
1184
1172
  "oneOf": [
1185
1173
  {
1186
1174
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -1331,7 +1319,6 @@
1331
1319
  },
1332
1320
  "summary": {
1333
1321
  "description": "The summary of the content.",
1334
- "nullable": true,
1335
1322
  "oneOf": [
1336
1323
  {
1337
1324
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -1447,7 +1434,6 @@
1447
1434
  },
1448
1435
  "summary": {
1449
1436
  "description": "A short summary of the dialog and its current state.",
1450
- "nullable": true,
1451
1437
  "oneOf": [
1452
1438
  {
1453
1439
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -1583,16 +1569,6 @@
1583
1569
  }
1584
1570
  ]
1585
1571
  },
1586
- "systemLabel": {
1587
- "deprecated": true,
1588
- "description": "System defined label used to categorize dialogs.\nThis is obsolete and will only show; Default, Bin or Archive.\nUse SystemLabels on EndUserContext instead.",
1589
- "oneOf": [
1590
- {
1591
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
1592
- }
1593
- ],
1594
- "x-deprecatedMessage": "Use EndUserContext.SystemLabels instead."
1595
- },
1596
1572
  "updatedAt": {
1597
1573
  "description": "The date and time when the dialog was last updated.",
1598
1574
  "example": "2022-12-31T23:59:59Z",
@@ -1834,7 +1810,6 @@
1834
1810
  },
1835
1811
  "summary": {
1836
1812
  "description": "The summary of the content.",
1837
- "nullable": true,
1838
1813
  "oneOf": [
1839
1814
  {
1840
1815
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -2033,30 +2008,6 @@
2033
2008
  },
2034
2009
  "type": "object"
2035
2010
  },
2036
- "V1ServiceOwnerCommonDialogStatuses_DialogStatusInput": {
2037
- "description": "",
2038
- "enum": [
2039
- "New",
2040
- "InProgress",
2041
- "Draft",
2042
- "Sent",
2043
- "RequiresAttention",
2044
- "Completed",
2045
- "NotApplicable",
2046
- "Awaiting"
2047
- ],
2048
- "type": "string",
2049
- "x-enumNames": [
2050
- "New",
2051
- "InProgress",
2052
- "Draft",
2053
- "Sent",
2054
- "RequiresAttention",
2055
- "Completed",
2056
- "NotApplicable",
2057
- "Awaiting"
2058
- ]
2059
- },
2060
2011
  "V1ServiceOwnerDialogsCommandsCreate_Activity": {
2061
2012
  "additionalProperties": false,
2062
2013
  "properties": {
@@ -2314,7 +2265,6 @@
2314
2265
  },
2315
2266
  "summary": {
2316
2267
  "description": "A short summary of the dialog and its current state.\nSupported media types: text/plain",
2317
- "nullable": true,
2318
2268
  "oneOf": [
2319
2269
  {
2320
2270
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -2470,7 +2420,7 @@
2470
2420
  "description": "The aggregated status of the dialog.",
2471
2421
  "oneOf": [
2472
2422
  {
2473
- "$ref": "#/components/schemas/V1ServiceOwnerCommonDialogStatuses_DialogStatusInput"
2423
+ "$ref": "#/components/schemas/DialogsEntities_DialogStatus"
2474
2424
  }
2475
2425
  ]
2476
2426
  },
@@ -2759,7 +2709,6 @@
2759
2709
  },
2760
2710
  "summary": {
2761
2711
  "description": "The transmission summary.",
2762
- "nullable": true,
2763
2712
  "oneOf": [
2764
2713
  {
2765
2714
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -3178,7 +3127,6 @@
3178
3127
  },
3179
3128
  "summary": {
3180
3129
  "description": "A short summary of the dialog and its current state. Must be text/plain.",
3181
- "nullable": true,
3182
3130
  "oneOf": [
3183
3131
  {
3184
3132
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -3296,7 +3244,7 @@
3296
3244
  "description": "The aggregated status of the dialog.",
3297
3245
  "oneOf": [
3298
3246
  {
3299
- "$ref": "#/components/schemas/V1ServiceOwnerCommonDialogStatuses_DialogStatusInput"
3247
+ "$ref": "#/components/schemas/DialogsEntities_DialogStatus"
3300
3248
  }
3301
3249
  ]
3302
3250
  },
@@ -3545,7 +3493,6 @@
3545
3493
  },
3546
3494
  "summary": {
3547
3495
  "description": "The transmission summary.",
3548
- "nullable": true,
3549
3496
  "oneOf": [
3550
3497
  {
3551
3498
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -3622,7 +3569,6 @@
3622
3569
  },
3623
3570
  "summary": {
3624
3571
  "description": "A short summary of the dialog and its current state.",
3625
- "nullable": true,
3626
3572
  "oneOf": [
3627
3573
  {
3628
3574
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -3816,16 +3762,6 @@
3816
3762
  }
3817
3763
  ]
3818
3764
  },
3819
- "systemLabel": {
3820
- "deprecated": true,
3821
- "description": "System defined label used to categorize dialogs.\nThis is obsolete and will only show; Default, Bin or Archive.\nUse SystemLabels on EndUserContext instead.",
3822
- "oneOf": [
3823
- {
3824
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
3825
- }
3826
- ],
3827
- "x-deprecatedMessage": "Use EndUserContext.SystemLabels instead."
3828
- },
3829
3765
  "transmissions": {
3830
3766
  "description": "The immutable list of transmissions associated with the dialog.",
3831
3767
  "items": {
@@ -4352,7 +4288,6 @@
4352
4288
  },
4353
4289
  "summary": {
4354
4290
  "description": "The transmission summary.",
4355
- "nullable": true,
4356
4291
  "oneOf": [
4357
4292
  {
4358
4293
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -4516,7 +4451,6 @@
4516
4451
  },
4517
4452
  "summary": {
4518
4453
  "description": "The summary of the content.",
4519
- "nullable": true,
4520
4454
  "oneOf": [
4521
4455
  {
4522
4456
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -4667,7 +4601,6 @@
4667
4601
  },
4668
4602
  "summary": {
4669
4603
  "description": "A short summary of the dialog and its current state.",
4670
- "nullable": true,
4671
4604
  "oneOf": [
4672
4605
  {
4673
4606
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -4824,16 +4757,6 @@
4824
4757
  }
4825
4758
  ]
4826
4759
  },
4827
- "systemLabel": {
4828
- "deprecated": true,
4829
- "description": "System defined label used to categorize dialogs.\nThis is obsolete and will only show; Default, Bin or Archive.\nUse SystemLabels on EndUserContext instead.",
4830
- "oneOf": [
4831
- {
4832
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
4833
- }
4834
- ],
4835
- "x-deprecatedMessage": "Use EndUserContext.SystemLabels instead."
4836
- },
4837
4760
  "updatedAt": {
4838
4761
  "description": "The date and time when the dialog was last updated.",
4839
4762
  "example": "2022-12-31T23:59:59Z",
@@ -5110,7 +5033,6 @@
5110
5033
  },
5111
5034
  "summary": {
5112
5035
  "description": "The summary of the content.",
5113
- "nullable": true,
5114
5036
  "oneOf": [
5115
5037
  {
5116
5038
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"