@digdir/dialogporten-schema 1.82.0 → 1.83.3-4da9a05

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.82.0",
3
+ "version": "1.83.3-4da9a05",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -242,6 +242,11 @@ type DialogByIdNotFound implements DialogByIdError {
242
242
  message: String!
243
243
  }
244
244
 
245
+ type DialogByIdNotVisible implements DialogByIdError {
246
+ message: String!
247
+ visibleFrom: DateTime!
248
+ }
249
+
245
250
  type DialogByIdPayload {
246
251
  dialog: Dialog
247
252
  errors: [DialogByIdError!]!
@@ -401,15 +406,35 @@ type SeenLog {
401
406
  isCurrentEndUser: Boolean!
402
407
  }
403
408
 
409
+ type SetSystemLabelConcurrencyError implements SetSystemLabelError {
410
+ message: String!
411
+ }
412
+
413
+ type SetSystemLabelDomainError implements SetSystemLabelError {
414
+ message: String!
415
+ }
416
+
417
+ type SetSystemLabelEntityDeleted implements SetSystemLabelError {
418
+ message: String!
419
+ }
420
+
404
421
  type SetSystemLabelEntityNotFound implements SetSystemLabelError {
405
422
  message: String!
406
423
  }
407
424
 
425
+ type SetSystemLabelForbidden implements SetSystemLabelError {
426
+ message: String!
427
+ }
428
+
408
429
  type SetSystemLabelPayload {
409
430
  success: Boolean!
410
431
  errors: [SetSystemLabelError!]!
411
432
  }
412
433
 
434
+ type SetSystemLabelValidationError implements SetSystemLabelError {
435
+ message: String!
436
+ }
437
+
413
438
  type Subscriptions {
414
439
  "Requires a dialog token in the 'DigDir-Dialog-Token' header."
415
440
  dialogEvents(dialogId: UUID!): DialogEventPayload! @authorize(policy: "enduserSubscription", apply: VALIDATION)
@@ -663,4 +688,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
663
688
 
664
689
  scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
665
690
 
666
- scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
691
+ scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
package/src/index.js CHANGED
@@ -242,6 +242,11 @@ type DialogByIdNotFound implements DialogByIdError {
242
242
  message: String!
243
243
  }
244
244
 
245
+ type DialogByIdNotVisible implements DialogByIdError {
246
+ message: String!
247
+ visibleFrom: DateTime!
248
+ }
249
+
245
250
  type DialogByIdPayload {
246
251
  dialog: Dialog
247
252
  errors: [DialogByIdError!]!
@@ -401,15 +406,35 @@ type SeenLog {
401
406
  isCurrentEndUser: Boolean!
402
407
  }
403
408
 
409
+ type SetSystemLabelConcurrencyError implements SetSystemLabelError {
410
+ message: String!
411
+ }
412
+
413
+ type SetSystemLabelDomainError implements SetSystemLabelError {
414
+ message: String!
415
+ }
416
+
417
+ type SetSystemLabelEntityDeleted implements SetSystemLabelError {
418
+ message: String!
419
+ }
420
+
404
421
  type SetSystemLabelEntityNotFound implements SetSystemLabelError {
405
422
  message: String!
406
423
  }
407
424
 
425
+ type SetSystemLabelForbidden implements SetSystemLabelError {
426
+ message: String!
427
+ }
428
+
408
429
  type SetSystemLabelPayload {
409
430
  success: Boolean!
410
431
  errors: [SetSystemLabelError!]!
411
432
  }
412
433
 
434
+ type SetSystemLabelValidationError implements SetSystemLabelError {
435
+ message: String!
436
+ }
437
+
413
438
  type Subscriptions {
414
439
  "Requires a dialog token in the 'DigDir-Dialog-Token' header."
415
440
  dialogEvents(dialogId: UUID!): DialogEventPayload! @authorize(policy: "enduserSubscription", apply: VALIDATION)
@@ -453,6 +453,32 @@
453
453
  },
454
454
  "type": "object"
455
455
  },
456
+ "V1EndUserCommon_AcceptedLanguage": {
457
+ "additionalProperties": false,
458
+ "properties": {
459
+ "languageCode": {
460
+ "type": "string"
461
+ },
462
+ "weight": {
463
+ "format": "int32",
464
+ "type": "integer"
465
+ }
466
+ },
467
+ "type": "object"
468
+ },
469
+ "V1EndUserCommon_AcceptedLanguages": {
470
+ "additionalProperties": false,
471
+ "properties": {
472
+ "acceptedLanguage": {
473
+ "items": {
474
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguage"
475
+ },
476
+ "nullable": true,
477
+ "type": "array"
478
+ }
479
+ },
480
+ "type": "object"
481
+ },
456
482
  "V1EndUserCommonActors_Actor": {
457
483
  "additionalProperties": false,
458
484
  "properties": {
@@ -1042,6 +1068,20 @@
1042
1068
  },
1043
1069
  "type": "object"
1044
1070
  },
1071
+ "V1EndUserDialogsQueriesGet_DialogRequest": {
1072
+ "additionalProperties": false,
1073
+ "properties": {
1074
+ "acceptedLanguages": {
1075
+ "nullable": true,
1076
+ "oneOf": [
1077
+ {
1078
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
1079
+ }
1080
+ ]
1081
+ }
1082
+ },
1083
+ "type": "object"
1084
+ },
1045
1085
  "V1EndUserDialogsQueriesGet_DialogSeenLog": {
1046
1086
  "additionalProperties": false,
1047
1087
  "properties": {
@@ -1272,6 +1312,20 @@
1272
1312
  },
1273
1313
  "type": "object"
1274
1314
  },
1315
+ "V1EndUserDialogsQueriesGetActivity_ActivityRequest": {
1316
+ "additionalProperties": false,
1317
+ "properties": {
1318
+ "acceptedLanguages": {
1319
+ "nullable": true,
1320
+ "oneOf": [
1321
+ {
1322
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
1323
+ }
1324
+ ]
1325
+ }
1326
+ },
1327
+ "type": "object"
1328
+ },
1275
1329
  "V1EndUserDialogsQueriesGetSeenLog_SeenLog": {
1276
1330
  "additionalProperties": false,
1277
1331
  "properties": {
@@ -1460,6 +1514,20 @@
1460
1514
  },
1461
1515
  "type": "object"
1462
1516
  },
1517
+ "V1EndUserDialogsQueriesGetTransmission_TransmissionRequest": {
1518
+ "additionalProperties": false,
1519
+ "properties": {
1520
+ "acceptedLanguages": {
1521
+ "nullable": true,
1522
+ "oneOf": [
1523
+ {
1524
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
1525
+ }
1526
+ ]
1527
+ }
1528
+ },
1529
+ "type": "object"
1530
+ },
1463
1531
  "V1EndUserDialogsQueriesSearch_Content": {
1464
1532
  "additionalProperties": false,
1465
1533
  "properties": {
@@ -1739,6 +1807,20 @@
1739
1807
  },
1740
1808
  "type": "object"
1741
1809
  },
1810
+ "V1EndUserDialogsQueriesSearch_DialogRequest": {
1811
+ "additionalProperties": false,
1812
+ "properties": {
1813
+ "acceptedLanguages": {
1814
+ "nullable": true,
1815
+ "oneOf": [
1816
+ {
1817
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
1818
+ }
1819
+ ]
1820
+ }
1821
+ },
1822
+ "type": "object"
1823
+ },
1742
1824
  "V1EndUserDialogsQueriesSearch_DialogSeenLog": {
1743
1825
  "additionalProperties": false,
1744
1826
  "properties": {
@@ -1803,6 +1885,20 @@
1803
1885
  },
1804
1886
  "type": "object"
1805
1887
  },
1888
+ "V1EndUserDialogsQueriesSearchActivities_ActivityRequest": {
1889
+ "additionalProperties": false,
1890
+ "properties": {
1891
+ "acceptedLanguages": {
1892
+ "nullable": true,
1893
+ "oneOf": [
1894
+ {
1895
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
1896
+ }
1897
+ ]
1898
+ }
1899
+ },
1900
+ "type": "object"
1901
+ },
1806
1902
  "V1EndUserDialogsQueriesSearchSeenLogs_SeenLog": {
1807
1903
  "additionalProperties": false,
1808
1904
  "properties": {
@@ -1991,6 +2087,20 @@
1991
2087
  },
1992
2088
  "type": "object"
1993
2089
  },
2090
+ "V1EndUserDialogsQueriesSearchTransmissions_TransmissionRequest": {
2091
+ "additionalProperties": false,
2092
+ "properties": {
2093
+ "acceptedLanguages": {
2094
+ "nullable": true,
2095
+ "oneOf": [
2096
+ {
2097
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
2098
+ }
2099
+ ]
2100
+ }
2101
+ },
2102
+ "type": "object"
2103
+ },
1994
2104
  "V1EndUserEndUserContextCommandsBulkSetSystemLabels_BulkSetDialogSystemLabelsRequest": {
1995
2105
  "additionalProperties": false,
1996
2106
  "properties": {
@@ -5840,6 +5950,18 @@
5840
5950
  "nullable": true,
5841
5951
  "type": "integer"
5842
5952
  }
5953
+ },
5954
+ {
5955
+ "in": "header",
5956
+ "name": "accept-Language",
5957
+ "schema": {
5958
+ "nullable": true,
5959
+ "oneOf": [
5960
+ {
5961
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
5962
+ }
5963
+ ]
5964
+ }
5843
5965
  }
5844
5966
  ],
5845
5967
  "responses": {
@@ -5883,6 +6005,18 @@
5883
6005
  "format": "guid",
5884
6006
  "type": "string"
5885
6007
  }
6008
+ },
6009
+ {
6010
+ "in": "header",
6011
+ "name": "accept-Language",
6012
+ "schema": {
6013
+ "nullable": true,
6014
+ "oneOf": [
6015
+ {
6016
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
6017
+ }
6018
+ ]
6019
+ }
5886
6020
  }
5887
6021
  ],
5888
6022
  "responses": {
@@ -5939,6 +6073,18 @@
5939
6073
  "format": "guid",
5940
6074
  "type": "string"
5941
6075
  }
6076
+ },
6077
+ {
6078
+ "in": "header",
6079
+ "name": "accept-Language",
6080
+ "schema": {
6081
+ "nullable": true,
6082
+ "oneOf": [
6083
+ {
6084
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
6085
+ }
6086
+ ]
6087
+ }
5942
6088
  }
5943
6089
  ],
5944
6090
  "responses": {
@@ -6007,6 +6153,18 @@
6007
6153
  "format": "guid",
6008
6154
  "type": "string"
6009
6155
  }
6156
+ },
6157
+ {
6158
+ "in": "header",
6159
+ "name": "accept-Language",
6160
+ "schema": {
6161
+ "nullable": true,
6162
+ "oneOf": [
6163
+ {
6164
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
6165
+ }
6166
+ ]
6167
+ }
6010
6168
  }
6011
6169
  ],
6012
6170
  "responses": {
@@ -6362,6 +6520,18 @@
6362
6520
  "format": "guid",
6363
6521
  "type": "string"
6364
6522
  }
6523
+ },
6524
+ {
6525
+ "in": "header",
6526
+ "name": "accept-Language",
6527
+ "schema": {
6528
+ "nullable": true,
6529
+ "oneOf": [
6530
+ {
6531
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
6532
+ }
6533
+ ]
6534
+ }
6365
6535
  }
6366
6536
  ],
6367
6537
  "responses": {
@@ -6433,6 +6603,18 @@
6433
6603
  "format": "guid",
6434
6604
  "type": "string"
6435
6605
  }
6606
+ },
6607
+ {
6608
+ "in": "header",
6609
+ "name": "accept-Language",
6610
+ "schema": {
6611
+ "nullable": true,
6612
+ "oneOf": [
6613
+ {
6614
+ "$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
6615
+ }
6616
+ ]
6617
+ }
6436
6618
  }
6437
6619
  ],
6438
6620
  "responses": {
@@ -8729,4 +8911,4 @@
8729
8911
  }
8730
8912
  }
8731
8913
  }
8732
- }
8914
+ }