@digdir/dialogporten-schema 1.100.1 → 1.101.0-8996bbd

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.100.1",
3
+ "version": "1.101.0-8996bbd",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "24"
@@ -477,6 +477,8 @@ type Transmission {
477
477
  content: TransmissionContent!
478
478
  "The transmission-level attachments."
479
479
  attachments: [Attachment!]!
480
+ "The transmission-level navigational actions."
481
+ navigationalActions: [TransmissionNavigationalAction!]!
480
482
  }
481
483
 
482
484
  type TransmissionContent {
@@ -488,6 +490,15 @@ type TransmissionContent {
488
490
  contentReference: ContentValue
489
491
  }
490
492
 
493
+ type TransmissionNavigationalAction {
494
+ "The title of the navigational action."
495
+ title: [Localization!]!
496
+ "The fully qualified URL of the navigational action. Will be set to 'urn:dialogporten:unauthorized' if the user is not authorized to access the transmission, or 'urn:dialogporten:expired' if the action has expired."
497
+ url: URL!
498
+ "The UTC timestamp when the navigational action expires and is no longer available."
499
+ expiresAt: DateTime
500
+ }
501
+
491
502
  input BulkSetSystemLabelInput {
492
503
  dialogs: [DialogRevisionInput!]!
493
504
  "List of system labels to add to the target dialogs. If multiple instances of 'bin', 'archive', or 'default' are provided, the last one will be used."
package/src/index.js CHANGED
@@ -477,6 +477,8 @@ type Transmission {
477
477
  content: TransmissionContent!
478
478
  "The transmission-level attachments."
479
479
  attachments: [Attachment!]!
480
+ "The transmission-level navigational actions."
481
+ navigationalActions: [TransmissionNavigationalAction!]!
480
482
  }
481
483
 
482
484
  type TransmissionContent {
@@ -488,6 +490,15 @@ type TransmissionContent {
488
490
  contentReference: ContentValue
489
491
  }
490
492
 
493
+ type TransmissionNavigationalAction {
494
+ "The title of the navigational action."
495
+ title: [Localization!]!
496
+ "The fully qualified URL of the navigational action. Will be set to 'urn:dialogporten:unauthorized' if the user is not authorized to access the transmission, or 'urn:dialogporten:expired' if the action has expired."
497
+ url: URL!
498
+ "The UTC timestamp when the navigational action expires and is no longer available."
499
+ expiresAt: DateTime
500
+ }
501
+
491
502
  input BulkSetSystemLabelInput {
492
503
  dialogs: [DialogRevisionInput!]!
493
504
  "List of system labels to add to the target dialogs. If multiple instances of 'bin', 'archive', or 'default' are provided, the last one will be used."
@@ -1216,6 +1216,14 @@
1216
1216
  "description": "Indicates whether the dialog transmission has been opened.",
1217
1217
  "type": "boolean"
1218
1218
  },
1219
+ "navigationalActions": {
1220
+ "description": "The transmission-level navigational actions.",
1221
+ "items": {
1222
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGet_DialogTransmissionNavigationalAction"
1223
+ },
1224
+ "nullable": true,
1225
+ "type": "array"
1226
+ },
1219
1227
  "relatedTransmissionId": {
1220
1228
  "description": "Reference to any other transmission that this transmission is related to.",
1221
1229
  "format": "guid",
@@ -1337,6 +1345,32 @@
1337
1345
  },
1338
1346
  "type": "object"
1339
1347
  },
1348
+ "V1EndUserDialogsQueriesGet_DialogTransmissionNavigationalAction": {
1349
+ "additionalProperties": false,
1350
+ "properties": {
1351
+ "expiresAt": {
1352
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
1353
+ "format": "date-time",
1354
+ "nullable": true,
1355
+ "type": "string"
1356
+ },
1357
+ "title": {
1358
+ "description": "The title of the navigational action.",
1359
+ "items": {
1360
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1361
+ },
1362
+ "nullable": true,
1363
+ "type": "array"
1364
+ },
1365
+ "url": {
1366
+ "description": "The fully qualified URL of the navigational action. Will be set to \\\u0022urn:dialogporten:unauthorized\\\u0022 if the user is\nnot authorized to access the transmission, or \\\u0022urn:dialogporten:expired\\\u0022 if the action has expired.",
1367
+ "example": "https://example.com/path\nurn:dialogporten:unauthorized\nurn:dialogporten:expired",
1368
+ "format": "uri",
1369
+ "type": "string"
1370
+ }
1371
+ },
1372
+ "type": "object"
1373
+ },
1340
1374
  "V1EndUserDialogsQueriesGetActivity_Activity": {
1341
1375
  "additionalProperties": false,
1342
1376
  "properties": {
@@ -1508,6 +1542,32 @@
1508
1542
  },
1509
1543
  "type": "object"
1510
1544
  },
1545
+ "V1EndUserDialogsQueriesGetTransmission_NavigationalAction": {
1546
+ "additionalProperties": false,
1547
+ "properties": {
1548
+ "expiresAt": {
1549
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
1550
+ "format": "date-time",
1551
+ "nullable": true,
1552
+ "type": "string"
1553
+ },
1554
+ "title": {
1555
+ "description": "The title of the navigational action.",
1556
+ "items": {
1557
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1558
+ },
1559
+ "nullable": true,
1560
+ "type": "array"
1561
+ },
1562
+ "url": {
1563
+ "description": "The fully qualified URL of the navigational action. Will be set to \\\u0022urn:dialogporten:unauthorized\\\u0022 if the user is\nnot authorized to access the transmission, or \\\u0022urn:dialogporten:expired\\\u0022 if the action has expired.",
1564
+ "example": "https://example.com/path\nurn:dialogporten:unauthorized\nurn:dialogporten:expired",
1565
+ "format": "uri",
1566
+ "type": "string"
1567
+ }
1568
+ },
1569
+ "type": "object"
1570
+ },
1511
1571
  "V1EndUserDialogsQueriesGetTransmission_Transmission": {
1512
1572
  "additionalProperties": false,
1513
1573
  "properties": {
@@ -1563,6 +1623,14 @@
1563
1623
  "description": "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and\nthe attachments will not be available.",
1564
1624
  "type": "boolean"
1565
1625
  },
1626
+ "navigationalActions": {
1627
+ "description": "The navigational actions associated with the transmission.",
1628
+ "items": {
1629
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGetTransmission_NavigationalAction"
1630
+ },
1631
+ "nullable": true,
1632
+ "type": "array"
1633
+ },
1566
1634
  "relatedTransmissionId": {
1567
1635
  "description": "The unique identifier for the related transmission, if any.",
1568
1636
  "format": "guid",
@@ -2092,6 +2160,32 @@
2092
2160
  },
2093
2161
  "type": "object"
2094
2162
  },
2163
+ "V1EndUserDialogsQueriesSearchTransmissions_NavigationalAction": {
2164
+ "additionalProperties": false,
2165
+ "properties": {
2166
+ "expiresAt": {
2167
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
2168
+ "format": "date-time",
2169
+ "nullable": true,
2170
+ "type": "string"
2171
+ },
2172
+ "title": {
2173
+ "description": "The title of the navigational action.",
2174
+ "items": {
2175
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
2176
+ },
2177
+ "nullable": true,
2178
+ "type": "array"
2179
+ },
2180
+ "url": {
2181
+ "description": "The fully qualified URL of the navigational action. Will be set to \\\u0022urn:dialogporten:unauthorized\\\u0022 if the user is\nnot authorized to access the transmission, or \\\u0022urn:dialogporten:expired\\\u0022 if the action has expired.",
2182
+ "example": "https://example.com/path\nurn:dialogporten:unauthorized\nurn:dialogporten:expired",
2183
+ "format": "uri",
2184
+ "type": "string"
2185
+ }
2186
+ },
2187
+ "type": "object"
2188
+ },
2095
2189
  "V1EndUserDialogsQueriesSearchTransmissions_Transmission": {
2096
2190
  "additionalProperties": false,
2097
2191
  "properties": {
@@ -2147,6 +2241,14 @@
2147
2241
  "description": "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and\nthe attachments will not be available.",
2148
2242
  "type": "boolean"
2149
2243
  },
2244
+ "navigationalActions": {
2245
+ "description": "The navigational actions associated with the transmission.",
2246
+ "items": {
2247
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearchTransmissions_NavigationalAction"
2248
+ },
2249
+ "nullable": true,
2250
+ "type": "array"
2251
+ },
2150
2252
  "relatedTransmissionId": {
2151
2253
  "description": "The unique identifier for the related transmission, if any.",
2152
2254
  "format": "guid",
@@ -2969,6 +3071,19 @@
2969
3071
  "nullable": true,
2970
3072
  "type": "string"
2971
3073
  },
3074
+ "idempotentKey": {
3075
+ "description": "An optional key to ensure idempotency in transmission creation. If provided, it must be unique within the dialog; reusing the same key for the same dialog results in Conflict and no new transmission is created.",
3076
+ "nullable": true,
3077
+ "type": "string"
3078
+ },
3079
+ "navigationalActions": {
3080
+ "description": "The transmission-level navigational actions.",
3081
+ "items": {
3082
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_TransmissionNavigationalAction"
3083
+ },
3084
+ "nullable": true,
3085
+ "type": "array"
3086
+ },
2972
3087
  "relatedTransmissionId": {
2973
3088
  "description": "Reference to any other transmission that this transmission is related to.",
2974
3089
  "format": "guid",
@@ -3086,6 +3201,31 @@
3086
3201
  },
3087
3202
  "type": "object"
3088
3203
  },
3204
+ "V1ServiceOwnerDialogsCommandsCreate_TransmissionNavigationalAction": {
3205
+ "additionalProperties": false,
3206
+ "properties": {
3207
+ "expiresAt": {
3208
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
3209
+ "format": "date-time",
3210
+ "nullable": true,
3211
+ "type": "string"
3212
+ },
3213
+ "title": {
3214
+ "description": "The title of the navigational action.",
3215
+ "items": {
3216
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
3217
+ },
3218
+ "nullable": true,
3219
+ "type": "array"
3220
+ },
3221
+ "url": {
3222
+ "description": "The fully qualified URL of the navigational action.",
3223
+ "format": "uri",
3224
+ "type": "string"
3225
+ }
3226
+ },
3227
+ "type": "object"
3228
+ },
3089
3229
  "V1ServiceOwnerDialogsCommandsCreateActivity_ActivityRequest": {
3090
3230
  "additionalProperties": false,
3091
3231
  "properties": {
@@ -3233,6 +3373,31 @@
3233
3373
  },
3234
3374
  "type": "object"
3235
3375
  },
3376
+ "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionNavigationalAction": {
3377
+ "additionalProperties": false,
3378
+ "properties": {
3379
+ "expiresAt": {
3380
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
3381
+ "format": "date-time",
3382
+ "nullable": true,
3383
+ "type": "string"
3384
+ },
3385
+ "title": {
3386
+ "description": "The title of the navigational action.",
3387
+ "items": {
3388
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
3389
+ },
3390
+ "nullable": true,
3391
+ "type": "array"
3392
+ },
3393
+ "url": {
3394
+ "description": "The fully qualified URL of the navigational action.",
3395
+ "format": "uri",
3396
+ "type": "string"
3397
+ }
3398
+ },
3399
+ "type": "object"
3400
+ },
3236
3401
  "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionRequest": {
3237
3402
  "additionalProperties": false,
3238
3403
  "properties": {
@@ -3282,6 +3447,19 @@
3282
3447
  "nullable": true,
3283
3448
  "type": "string"
3284
3449
  },
3450
+ "idempotentKey": {
3451
+ "description": "An optional key to ensure idempotency in transmission creation. If provided, it must be unique within the dialog; reusing the same key for the same dialog results in Conflict and no new transmission is created.",
3452
+ "nullable": true,
3453
+ "type": "string"
3454
+ },
3455
+ "navigationalActions": {
3456
+ "description": "The transmission-level navigational actions.",
3457
+ "items": {
3458
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionNavigationalAction"
3459
+ },
3460
+ "nullable": true,
3461
+ "type": "array"
3462
+ },
3285
3463
  "relatedTransmissionId": {
3286
3464
  "description": "Reference to any other transmission that this transmission is related to.",
3287
3465
  "format": "guid",
@@ -3852,6 +4030,19 @@
3852
4030
  "nullable": true,
3853
4031
  "type": "string"
3854
4032
  },
4033
+ "idempotentKey": {
4034
+ "description": "An optional key to ensure idempotency in transmission creation. If provided, it must be unique within the dialog; reusing the same key for the same dialog results in Conflict and no new transmission is created.",
4035
+ "nullable": true,
4036
+ "type": "string"
4037
+ },
4038
+ "navigationalActions": {
4039
+ "description": "The transmission-level navigational actions.",
4040
+ "items": {
4041
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionNavigationalAction"
4042
+ },
4043
+ "nullable": true,
4044
+ "type": "array"
4045
+ },
3855
4046
  "relatedTransmissionId": {
3856
4047
  "description": "Reference to any other transmission that this transmission is related to.",
3857
4048
  "format": "guid",
@@ -3969,6 +4160,31 @@
3969
4160
  },
3970
4161
  "type": "object"
3971
4162
  },
4163
+ "V1ServiceOwnerDialogsCommandsUpdate_TransmissionNavigationalAction": {
4164
+ "additionalProperties": false,
4165
+ "properties": {
4166
+ "expiresAt": {
4167
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
4168
+ "format": "date-time",
4169
+ "nullable": true,
4170
+ "type": "string"
4171
+ },
4172
+ "title": {
4173
+ "description": "The title of the navigational action.",
4174
+ "items": {
4175
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
4176
+ },
4177
+ "nullable": true,
4178
+ "type": "array"
4179
+ },
4180
+ "url": {
4181
+ "description": "The fully qualified URL of the navigational action.",
4182
+ "format": "uri",
4183
+ "type": "string"
4184
+ }
4185
+ },
4186
+ "type": "object"
4187
+ },
3972
4188
  "V1ServiceOwnerDialogsQueriesGet_Content": {
3973
4189
  "additionalProperties": false,
3974
4190
  "properties": {
@@ -4695,6 +4911,11 @@
4695
4911
  "format": "guid",
4696
4912
  "type": "string"
4697
4913
  },
4914
+ "idempotentKey": {
4915
+ "description": "An optional key to ensure idempotency in transmission creation. If provided, it must be unique within the dialog; reusing the same key for the same dialog results in Conflict and no new transmission is created.",
4916
+ "nullable": true,
4917
+ "type": "string"
4918
+ },
4698
4919
  "isAuthorized": {
4699
4920
  "description": "Flag indicating if the authenticated user supplied in the query is authorized for this transmission.",
4700
4921
  "nullable": true,
@@ -4704,6 +4925,14 @@
4704
4925
  "description": "Indicates whether the dialog transmission has been opened.",
4705
4926
  "type": "boolean"
4706
4927
  },
4928
+ "navigationalActions": {
4929
+ "description": "The transmission-level navigational actions.",
4930
+ "items": {
4931
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogTransmissionNavigationalAction"
4932
+ },
4933
+ "nullable": true,
4934
+ "type": "array"
4935
+ },
4707
4936
  "relatedTransmissionId": {
4708
4937
  "description": "Reference to any other transmission that this transmission is related to.",
4709
4938
  "format": "guid",
@@ -4825,6 +5054,32 @@
4825
5054
  },
4826
5055
  "type": "object"
4827
5056
  },
5057
+ "V1ServiceOwnerDialogsQueriesGet_DialogTransmissionNavigationalAction": {
5058
+ "additionalProperties": false,
5059
+ "properties": {
5060
+ "expiresAt": {
5061
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5062
+ "format": "date-time",
5063
+ "nullable": true,
5064
+ "type": "string"
5065
+ },
5066
+ "title": {
5067
+ "description": "The title of the navigational action.",
5068
+ "items": {
5069
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5070
+ },
5071
+ "nullable": true,
5072
+ "type": "array"
5073
+ },
5074
+ "url": {
5075
+ "description": "The fully qualified URL of the navigational action.",
5076
+ "example": "https://example.com/path",
5077
+ "format": "uri",
5078
+ "type": "string"
5079
+ }
5080
+ },
5081
+ "type": "object"
5082
+ },
4828
5083
  "V1ServiceOwnerDialogsQueriesGet_Tag": {
4829
5084
  "additionalProperties": false,
4830
5085
  "properties": {
@@ -4995,6 +5250,32 @@
4995
5250
  },
4996
5251
  "type": "object"
4997
5252
  },
5253
+ "V1ServiceOwnerDialogsQueriesGetTransmission_NavigationalAction": {
5254
+ "additionalProperties": false,
5255
+ "properties": {
5256
+ "expiresAt": {
5257
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5258
+ "format": "date-time",
5259
+ "nullable": true,
5260
+ "type": "string"
5261
+ },
5262
+ "title": {
5263
+ "description": "The title of the navigational action.",
5264
+ "items": {
5265
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5266
+ },
5267
+ "nullable": true,
5268
+ "type": "array"
5269
+ },
5270
+ "url": {
5271
+ "description": "The fully qualified URL of the navigational action.",
5272
+ "example": "https://example.com/path",
5273
+ "format": "uri",
5274
+ "type": "string"
5275
+ }
5276
+ },
5277
+ "type": "object"
5278
+ },
4998
5279
  "V1ServiceOwnerDialogsQueriesGetTransmission_Transmission": {
4999
5280
  "additionalProperties": false,
5000
5281
  "properties": {
@@ -5046,6 +5327,19 @@
5046
5327
  "format": "guid",
5047
5328
  "type": "string"
5048
5329
  },
5330
+ "idempotentKey": {
5331
+ "description": "An optional key to ensure idempotency in transmission creation. If provided, it must be unique within the dialog; reusing the same key for the same dialog results in Conflict and no new transmission is created.",
5332
+ "nullable": true,
5333
+ "type": "string"
5334
+ },
5335
+ "navigationalActions": {
5336
+ "description": "The navigational actions associated with the transmission.",
5337
+ "items": {
5338
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetTransmission_NavigationalAction"
5339
+ },
5340
+ "nullable": true,
5341
+ "type": "array"
5342
+ },
5049
5343
  "relatedTransmissionId": {
5050
5344
  "description": "The unique identifier for the related transmission, if any.",
5051
5345
  "format": "guid",
@@ -5649,6 +5943,32 @@
5649
5943
  },
5650
5944
  "type": "object"
5651
5945
  },
5946
+ "V1ServiceOwnerDialogsQueriesSearchTransmissions_NavigationalAction": {
5947
+ "additionalProperties": false,
5948
+ "properties": {
5949
+ "expiresAt": {
5950
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5951
+ "format": "date-time",
5952
+ "nullable": true,
5953
+ "type": "string"
5954
+ },
5955
+ "title": {
5956
+ "description": "The title of the navigational action.",
5957
+ "items": {
5958
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5959
+ },
5960
+ "nullable": true,
5961
+ "type": "array"
5962
+ },
5963
+ "url": {
5964
+ "description": "The fully qualified URL of the navigational action.",
5965
+ "example": "https://example.com/path",
5966
+ "format": "uri",
5967
+ "type": "string"
5968
+ }
5969
+ },
5970
+ "type": "object"
5971
+ },
5652
5972
  "V1ServiceOwnerDialogsQueriesSearchTransmissions_Transmission": {
5653
5973
  "additionalProperties": false,
5654
5974
  "properties": {
@@ -5700,6 +6020,19 @@
5700
6020
  "format": "guid",
5701
6021
  "type": "string"
5702
6022
  },
6023
+ "idempotentKey": {
6024
+ "description": "An optional key to ensure idempotency in transmission creation. If provided, it must be unique within the dialog; reusing the same key for the same dialog results in Conflict and no new transmission is created.",
6025
+ "nullable": true,
6026
+ "type": "string"
6027
+ },
6028
+ "navigationalActions": {
6029
+ "description": "The navigational actions associated with the transmission.",
6030
+ "items": {
6031
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchTransmissions_NavigationalAction"
6032
+ },
6033
+ "nullable": true,
6034
+ "type": "array"
6035
+ },
5703
6036
  "relatedTransmissionId": {
5704
6037
  "description": "The unique identifier for the related transmission, if any.",
5705
6038
  "format": "guid",
@@ -7974,6 +8307,14 @@
7974
8307
  },
7975
8308
  "type": "array"
7976
8309
  }
8310
+ },
8311
+ "application/json-patch\u002Bjson": {
8312
+ "schema": {
8313
+ "items": {
8314
+ "$ref": "#/components/schemas/JsonPatchOperations_Operation"
8315
+ },
8316
+ "type": "array"
8317
+ }
7977
8318
  }
7978
8319
  },
7979
8320
  "required": true,