@digdir/dialogporten-schema 1.101.0 → 1.102.4-7aa4100

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.101.0",
3
+ "version": "1.102.4-7aa4100",
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",
@@ -2467,6 +2569,13 @@
2467
2569
  }
2468
2570
  ]
2469
2571
  },
2572
+ "id": {
2573
+ "description": "A self-defined UUIDv7 may be provided to support idempotent creation of Api Action Endpoints. If not provided, a new UUIDv7 will be generated.",
2574
+ "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
2575
+ "format": "guid",
2576
+ "nullable": true,
2577
+ "type": "string"
2578
+ },
2470
2579
  "requestSchema": {
2471
2580
  "description": "Link to the request schema for the endpoint. Used to provide documentation for integrators.\nDialogporten will not validate information on this endpoint.",
2472
2581
  "format": "uri",
@@ -2969,6 +3078,19 @@
2969
3078
  "nullable": true,
2970
3079
  "type": "string"
2971
3080
  },
3081
+ "idempotentKey": {
3082
+ "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.",
3083
+ "nullable": true,
3084
+ "type": "string"
3085
+ },
3086
+ "navigationalActions": {
3087
+ "description": "The transmission-level navigational actions.",
3088
+ "items": {
3089
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_TransmissionNavigationalAction"
3090
+ },
3091
+ "nullable": true,
3092
+ "type": "array"
3093
+ },
2972
3094
  "relatedTransmissionId": {
2973
3095
  "description": "Reference to any other transmission that this transmission is related to.",
2974
3096
  "format": "guid",
@@ -3086,6 +3208,31 @@
3086
3208
  },
3087
3209
  "type": "object"
3088
3210
  },
3211
+ "V1ServiceOwnerDialogsCommandsCreate_TransmissionNavigationalAction": {
3212
+ "additionalProperties": false,
3213
+ "properties": {
3214
+ "expiresAt": {
3215
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
3216
+ "format": "date-time",
3217
+ "nullable": true,
3218
+ "type": "string"
3219
+ },
3220
+ "title": {
3221
+ "description": "The title of the navigational action.",
3222
+ "items": {
3223
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
3224
+ },
3225
+ "nullable": true,
3226
+ "type": "array"
3227
+ },
3228
+ "url": {
3229
+ "description": "The fully qualified URL of the navigational action.",
3230
+ "format": "uri",
3231
+ "type": "string"
3232
+ }
3233
+ },
3234
+ "type": "object"
3235
+ },
3089
3236
  "V1ServiceOwnerDialogsCommandsCreateActivity_ActivityRequest": {
3090
3237
  "additionalProperties": false,
3091
3238
  "properties": {
@@ -3233,6 +3380,31 @@
3233
3380
  },
3234
3381
  "type": "object"
3235
3382
  },
3383
+ "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionNavigationalAction": {
3384
+ "additionalProperties": false,
3385
+ "properties": {
3386
+ "expiresAt": {
3387
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
3388
+ "format": "date-time",
3389
+ "nullable": true,
3390
+ "type": "string"
3391
+ },
3392
+ "title": {
3393
+ "description": "The title of the navigational action.",
3394
+ "items": {
3395
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
3396
+ },
3397
+ "nullable": true,
3398
+ "type": "array"
3399
+ },
3400
+ "url": {
3401
+ "description": "The fully qualified URL of the navigational action.",
3402
+ "format": "uri",
3403
+ "type": "string"
3404
+ }
3405
+ },
3406
+ "type": "object"
3407
+ },
3236
3408
  "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionRequest": {
3237
3409
  "additionalProperties": false,
3238
3410
  "properties": {
@@ -3282,6 +3454,19 @@
3282
3454
  "nullable": true,
3283
3455
  "type": "string"
3284
3456
  },
3457
+ "idempotentKey": {
3458
+ "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.",
3459
+ "nullable": true,
3460
+ "type": "string"
3461
+ },
3462
+ "navigationalActions": {
3463
+ "description": "The transmission-level navigational actions.",
3464
+ "items": {
3465
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionNavigationalAction"
3466
+ },
3467
+ "nullable": true,
3468
+ "type": "array"
3469
+ },
3285
3470
  "relatedTransmissionId": {
3286
3471
  "description": "Reference to any other transmission that this transmission is related to.",
3287
3472
  "format": "guid",
@@ -3422,7 +3607,7 @@
3422
3607
  ]
3423
3608
  },
3424
3609
  "id": {
3425
- "description": "A UUIDv7 used for merging existing data, unknown IDs will be ignored as this entity does not support user-defined IDs.",
3610
+ "description": "A self-defined UUIDv7 may be provided to support idempotent creation of Api Action Endpoints. If not provided, a new UUIDv7 will be generated.",
3426
3611
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
3427
3612
  "format": "guid",
3428
3613
  "nullable": true,
@@ -3852,6 +4037,19 @@
3852
4037
  "nullable": true,
3853
4038
  "type": "string"
3854
4039
  },
4040
+ "idempotentKey": {
4041
+ "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.",
4042
+ "nullable": true,
4043
+ "type": "string"
4044
+ },
4045
+ "navigationalActions": {
4046
+ "description": "The transmission-level navigational actions.",
4047
+ "items": {
4048
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionNavigationalAction"
4049
+ },
4050
+ "nullable": true,
4051
+ "type": "array"
4052
+ },
3855
4053
  "relatedTransmissionId": {
3856
4054
  "description": "Reference to any other transmission that this transmission is related to.",
3857
4055
  "format": "guid",
@@ -3969,6 +4167,31 @@
3969
4167
  },
3970
4168
  "type": "object"
3971
4169
  },
4170
+ "V1ServiceOwnerDialogsCommandsUpdate_TransmissionNavigationalAction": {
4171
+ "additionalProperties": false,
4172
+ "properties": {
4173
+ "expiresAt": {
4174
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
4175
+ "format": "date-time",
4176
+ "nullable": true,
4177
+ "type": "string"
4178
+ },
4179
+ "title": {
4180
+ "description": "The title of the navigational action.",
4181
+ "items": {
4182
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
4183
+ },
4184
+ "nullable": true,
4185
+ "type": "array"
4186
+ },
4187
+ "url": {
4188
+ "description": "The fully qualified URL of the navigational action.",
4189
+ "format": "uri",
4190
+ "type": "string"
4191
+ }
4192
+ },
4193
+ "type": "object"
4194
+ },
3972
4195
  "V1ServiceOwnerDialogsQueriesGet_Content": {
3973
4196
  "additionalProperties": false,
3974
4197
  "properties": {
@@ -4695,6 +4918,11 @@
4695
4918
  "format": "guid",
4696
4919
  "type": "string"
4697
4920
  },
4921
+ "idempotentKey": {
4922
+ "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.",
4923
+ "nullable": true,
4924
+ "type": "string"
4925
+ },
4698
4926
  "isAuthorized": {
4699
4927
  "description": "Flag indicating if the authenticated user supplied in the query is authorized for this transmission.",
4700
4928
  "nullable": true,
@@ -4704,6 +4932,14 @@
4704
4932
  "description": "Indicates whether the dialog transmission has been opened.",
4705
4933
  "type": "boolean"
4706
4934
  },
4935
+ "navigationalActions": {
4936
+ "description": "The transmission-level navigational actions.",
4937
+ "items": {
4938
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogTransmissionNavigationalAction"
4939
+ },
4940
+ "nullable": true,
4941
+ "type": "array"
4942
+ },
4707
4943
  "relatedTransmissionId": {
4708
4944
  "description": "Reference to any other transmission that this transmission is related to.",
4709
4945
  "format": "guid",
@@ -4825,6 +5061,32 @@
4825
5061
  },
4826
5062
  "type": "object"
4827
5063
  },
5064
+ "V1ServiceOwnerDialogsQueriesGet_DialogTransmissionNavigationalAction": {
5065
+ "additionalProperties": false,
5066
+ "properties": {
5067
+ "expiresAt": {
5068
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5069
+ "format": "date-time",
5070
+ "nullable": true,
5071
+ "type": "string"
5072
+ },
5073
+ "title": {
5074
+ "description": "The title of the navigational action.",
5075
+ "items": {
5076
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5077
+ },
5078
+ "nullable": true,
5079
+ "type": "array"
5080
+ },
5081
+ "url": {
5082
+ "description": "The fully qualified URL of the navigational action.",
5083
+ "example": "https://example.com/path",
5084
+ "format": "uri",
5085
+ "type": "string"
5086
+ }
5087
+ },
5088
+ "type": "object"
5089
+ },
4828
5090
  "V1ServiceOwnerDialogsQueriesGet_Tag": {
4829
5091
  "additionalProperties": false,
4830
5092
  "properties": {
@@ -4995,6 +5257,32 @@
4995
5257
  },
4996
5258
  "type": "object"
4997
5259
  },
5260
+ "V1ServiceOwnerDialogsQueriesGetTransmission_NavigationalAction": {
5261
+ "additionalProperties": false,
5262
+ "properties": {
5263
+ "expiresAt": {
5264
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5265
+ "format": "date-time",
5266
+ "nullable": true,
5267
+ "type": "string"
5268
+ },
5269
+ "title": {
5270
+ "description": "The title of the navigational action.",
5271
+ "items": {
5272
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5273
+ },
5274
+ "nullable": true,
5275
+ "type": "array"
5276
+ },
5277
+ "url": {
5278
+ "description": "The fully qualified URL of the navigational action.",
5279
+ "example": "https://example.com/path",
5280
+ "format": "uri",
5281
+ "type": "string"
5282
+ }
5283
+ },
5284
+ "type": "object"
5285
+ },
4998
5286
  "V1ServiceOwnerDialogsQueriesGetTransmission_Transmission": {
4999
5287
  "additionalProperties": false,
5000
5288
  "properties": {
@@ -5046,6 +5334,19 @@
5046
5334
  "format": "guid",
5047
5335
  "type": "string"
5048
5336
  },
5337
+ "idempotentKey": {
5338
+ "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.",
5339
+ "nullable": true,
5340
+ "type": "string"
5341
+ },
5342
+ "navigationalActions": {
5343
+ "description": "The navigational actions associated with the transmission.",
5344
+ "items": {
5345
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetTransmission_NavigationalAction"
5346
+ },
5347
+ "nullable": true,
5348
+ "type": "array"
5349
+ },
5049
5350
  "relatedTransmissionId": {
5050
5351
  "description": "The unique identifier for the related transmission, if any.",
5051
5352
  "format": "guid",
@@ -5649,6 +5950,32 @@
5649
5950
  },
5650
5951
  "type": "object"
5651
5952
  },
5953
+ "V1ServiceOwnerDialogsQueriesSearchTransmissions_NavigationalAction": {
5954
+ "additionalProperties": false,
5955
+ "properties": {
5956
+ "expiresAt": {
5957
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5958
+ "format": "date-time",
5959
+ "nullable": true,
5960
+ "type": "string"
5961
+ },
5962
+ "title": {
5963
+ "description": "The title of the navigational action.",
5964
+ "items": {
5965
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5966
+ },
5967
+ "nullable": true,
5968
+ "type": "array"
5969
+ },
5970
+ "url": {
5971
+ "description": "The fully qualified URL of the navigational action.",
5972
+ "example": "https://example.com/path",
5973
+ "format": "uri",
5974
+ "type": "string"
5975
+ }
5976
+ },
5977
+ "type": "object"
5978
+ },
5652
5979
  "V1ServiceOwnerDialogsQueriesSearchTransmissions_Transmission": {
5653
5980
  "additionalProperties": false,
5654
5981
  "properties": {
@@ -5700,6 +6027,19 @@
5700
6027
  "format": "guid",
5701
6028
  "type": "string"
5702
6029
  },
6030
+ "idempotentKey": {
6031
+ "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.",
6032
+ "nullable": true,
6033
+ "type": "string"
6034
+ },
6035
+ "navigationalActions": {
6036
+ "description": "The navigational actions associated with the transmission.",
6037
+ "items": {
6038
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchTransmissions_NavigationalAction"
6039
+ },
6040
+ "nullable": true,
6041
+ "type": "array"
6042
+ },
5703
6043
  "relatedTransmissionId": {
5704
6044
  "description": "The unique identifier for the related transmission, if any.",
5705
6045
  "format": "guid",