@digdir/dialogporten-schema 1.65.1 → 1.66.0-d9a6086

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.65.1",
3
+ "version": "1.66.0-d9a6086",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -70,6 +70,7 @@ type AuthorizedParty {
70
70
  hasOnlyAccessToSubParties: Boolean!
71
71
  subParties: [AuthorizedSubParty!]
72
72
  party: String!
73
+ partyUuid: UUID!
73
74
  name: String!
74
75
  partyType: String!
75
76
  isDeleted: Boolean!
@@ -81,6 +82,7 @@ type AuthorizedParty {
81
82
 
82
83
  type AuthorizedSubParty {
83
84
  party: String!
85
+ partyUuid: UUID!
84
86
  name: String!
85
87
  partyType: String!
86
88
  isDeleted: Boolean!
package/src/index.js CHANGED
@@ -70,6 +70,7 @@ type AuthorizedParty {
70
70
  hasOnlyAccessToSubParties: Boolean!
71
71
  subParties: [AuthorizedSubParty!]
72
72
  party: String!
73
+ partyUuid: UUID!
73
74
  name: String!
74
75
  partyType: String!
75
76
  isDeleted: Boolean!
@@ -81,6 +82,7 @@ type AuthorizedParty {
81
82
 
82
83
  type AuthorizedSubParty {
83
84
  party: String!
85
+ partyUuid: UUID!
84
86
  name: String!
85
87
  partyType: String!
86
88
  isDeleted: Boolean!
@@ -1861,6 +1861,11 @@
1861
1861
  "example": "Organization",
1862
1862
  "type": "string"
1863
1863
  },
1864
+ "partyUuid": {
1865
+ "description": "The UUID for the party.",
1866
+ "format": "guid",
1867
+ "type": "string"
1868
+ },
1864
1869
  "subParties": {
1865
1870
  "description": "The sub parties of this party, if any. The sub party uses the same data model.",
1866
1871
  "items": {
@@ -2470,7 +2475,7 @@
2470
2475
  ]
2471
2476
  },
2472
2477
  "systemLabel": {
2473
- "description": "Set the system label of the dialog Migration purposes.",
2478
+ "description": "Set the system label of the dialog.",
2474
2479
  "nullable": true,
2475
2480
  "oneOf": [
2476
2481
  {
@@ -4919,7 +4924,7 @@
4919
4924
  "paths": {
4920
4925
  "/api/v1/.well-known/jwks.json": {
4921
4926
  "get": {
4922
- "description": "This endpoint can be used by client integrations supporting automatic discovery of \u0022OAuth 2.0 Authorization Server\u0022 metadata, enabling verification of dialog tokens issues by Dialogporten.",
4927
+ "description": "This endpoint can be used by client integrations supporting automatic discovery of \u0022OAuth 2.0 Authorization Server\u0022 metadata, enabling verification of dialog tokens issued by Dialogporten.",
4923
4928
  "operationId": "V1WellKnownJwksGet_Jwks",
4924
4929
  "responses": {
4925
4930
  "200": {
@@ -4941,7 +4946,7 @@
4941
4946
  },
4942
4947
  "/api/v1/.well-known/oauth-authorization-server": {
4943
4948
  "get": {
4944
- "description": "This endpoint can be used by client integrations supporting automatic discovery of \u0022OAuth 2.0 Authorization Server\u0022 metadata, enabling verification of dialog tokens issues by Dialogporten.",
4949
+ "description": "This endpoint can be used by client integrations supporting automatic discovery of \u0022OAuth 2.0 Authorization Server\u0022 metadata, enabling verification of dialog tokens issued by Dialogporten.",
4945
4950
  "operationId": "V1WellKnownOauthAuthorizationServerGet_OauthAuthorizationServer",
4946
4951
  "responses": {
4947
4952
  "200": {
@@ -5399,7 +5404,7 @@
5399
5404
  ]
5400
5405
  }
5401
5406
  },
5402
- "/api/v1/enduser/dialogs/{dialogId}/labellog": {
5407
+ "/api/v1/enduser/dialogs/{dialogId}/context/labellog": {
5403
5408
  "get": {
5404
5409
  "operationId": "V1EndUserDialogLabelAssignmentLogsSearch_DialogLabelAssignmentLog",
5405
5410
  "parameters": [
@@ -5459,10 +5464,9 @@
5459
5464
  ]
5460
5465
  }
5461
5466
  },
5462
- "/api/v1/enduser/dialogs/{dialogId}/seenlog": {
5463
- "get": {
5464
- "description": "Gets all seen log records for a dialog.",
5465
- "operationId": "V1EndUserDialogSeenLogsSearch_DialogSeenLog",
5467
+ "/api/v1/enduser/dialogs/{dialogId}/context/systemlabels": {
5468
+ "put": {
5469
+ "operationId": "V1EndUserDialogSystemLabelsSet_SetDialogSystemLabel",
5466
5470
  "parameters": [
5467
5471
  {
5468
5472
  "in": "path",
@@ -5472,24 +5476,46 @@
5472
5476
  "format": "guid",
5473
5477
  "type": "string"
5474
5478
  }
5479
+ },
5480
+ {
5481
+ "in": "header",
5482
+ "name": "if-Match",
5483
+ "schema": {
5484
+ "format": "guid",
5485
+ "nullable": true,
5486
+ "type": "string"
5487
+ }
5475
5488
  }
5476
5489
  ],
5490
+ "requestBody": {
5491
+ "content": {
5492
+ "application/json": {
5493
+ "schema": {
5494
+ "$ref": "#/components/schemas/V1EndUserDialogSystemLabelsSet_SetDialogSystemLabelRequest"
5495
+ }
5496
+ }
5497
+ },
5498
+ "description": "",
5499
+ "required": true,
5500
+ "x-name": "SetDialogSystemLabelRequest",
5501
+ "x-position": 1
5502
+ },
5477
5503
  "responses": {
5478
- "200": {
5504
+ "204": {
5505
+ "description": "No Content"
5506
+ },
5507
+ "400": {
5479
5508
  "content": {
5480
- "application/json": {
5509
+ "application/problem\u002Bjson": {
5481
5510
  "schema": {
5482
- "items": {
5483
- "$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesSearch_SeenLog"
5484
- },
5485
- "type": "array"
5511
+ "$ref": "#/components/schemas/ProblemDetails"
5486
5512
  }
5487
5513
  }
5488
5514
  },
5489
- "description": "Successfully returned the dialog seen log records."
5515
+ "description": "Bad Request"
5490
5516
  },
5491
5517
  "401": {
5492
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
5518
+ "description": "Unauthorized"
5493
5519
  },
5494
5520
  "403": {
5495
5521
  "description": "Forbidden"
@@ -5503,6 +5529,29 @@
5503
5529
  }
5504
5530
  },
5505
5531
  "description": "Not Found"
5532
+ },
5533
+ "410": {
5534
+ "description": ""
5535
+ },
5536
+ "412": {
5537
+ "content": {
5538
+ "application/problem\u002Bjson": {
5539
+ "schema": {
5540
+ "$ref": "#/components/schemas/ProblemDetails"
5541
+ }
5542
+ }
5543
+ },
5544
+ "description": ""
5545
+ },
5546
+ "422": {
5547
+ "content": {
5548
+ "application/problem\u002Bjson": {
5549
+ "schema": {
5550
+ "$ref": "#/components/schemas/ProblemDetails"
5551
+ }
5552
+ }
5553
+ },
5554
+ "description": ""
5506
5555
  }
5507
5556
  },
5508
5557
  "security": [
@@ -5512,16 +5561,15 @@
5512
5561
  ]
5513
5562
  }
5514
5563
  ],
5515
- "summary": "Gets all seen log records for a dialog",
5516
5564
  "tags": [
5517
5565
  "Enduser"
5518
5566
  ]
5519
5567
  }
5520
5568
  },
5521
- "/api/v1/enduser/dialogs/{dialogId}/seenlog/{seenLogId}": {
5569
+ "/api/v1/enduser/dialogs/{dialogId}/seenlog": {
5522
5570
  "get": {
5523
- "description": "Gets a single dialog seen log record.",
5524
- "operationId": "V1EndUserDialogSeenLogsGet_DialogSeenLog",
5571
+ "description": "Gets all seen log records for a dialog.",
5572
+ "operationId": "V1EndUserDialogSeenLogsSearch_DialogSeenLog",
5525
5573
  "parameters": [
5526
5574
  {
5527
5575
  "in": "path",
@@ -5531,15 +5579,6 @@
5531
5579
  "format": "guid",
5532
5580
  "type": "string"
5533
5581
  }
5534
- },
5535
- {
5536
- "in": "path",
5537
- "name": "seenLogId",
5538
- "required": true,
5539
- "schema": {
5540
- "format": "guid",
5541
- "type": "string"
5542
- }
5543
5582
  }
5544
5583
  ],
5545
5584
  "responses": {
@@ -5547,11 +5586,14 @@
5547
5586
  "content": {
5548
5587
  "application/json": {
5549
5588
  "schema": {
5550
- "$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesGet_SeenLog"
5589
+ "items": {
5590
+ "$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesSearch_SeenLog"
5591
+ },
5592
+ "type": "array"
5551
5593
  }
5552
5594
  }
5553
5595
  },
5554
- "description": "Successfully returned the dialog seen log record."
5596
+ "description": "Successfully returned the dialog seen log records."
5555
5597
  },
5556
5598
  "401": {
5557
5599
  "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
@@ -5577,15 +5619,16 @@
5577
5619
  ]
5578
5620
  }
5579
5621
  ],
5580
- "summary": "Gets a single dialog seen log record",
5622
+ "summary": "Gets all seen log records for a dialog",
5581
5623
  "tags": [
5582
5624
  "Enduser"
5583
5625
  ]
5584
5626
  }
5585
5627
  },
5586
- "/api/v1/enduser/dialogs/{dialogId}/systemlabels": {
5587
- "put": {
5588
- "operationId": "V1EndUserDialogSystemLabelsSet_SetDialogSystemLabel",
5628
+ "/api/v1/enduser/dialogs/{dialogId}/seenlog/{seenLogId}": {
5629
+ "get": {
5630
+ "description": "Gets a single dialog seen log record.",
5631
+ "operationId": "V1EndUserDialogSeenLogsGet_DialogSeenLog",
5589
5632
  "parameters": [
5590
5633
  {
5591
5634
  "in": "path",
@@ -5597,44 +5640,28 @@
5597
5640
  }
5598
5641
  },
5599
5642
  {
5600
- "in": "header",
5601
- "name": "if-Match",
5643
+ "in": "path",
5644
+ "name": "seenLogId",
5645
+ "required": true,
5602
5646
  "schema": {
5603
5647
  "format": "guid",
5604
- "nullable": true,
5605
5648
  "type": "string"
5606
5649
  }
5607
5650
  }
5608
5651
  ],
5609
- "requestBody": {
5610
- "content": {
5611
- "application/json": {
5612
- "schema": {
5613
- "$ref": "#/components/schemas/V1EndUserDialogSystemLabelsSet_SetDialogSystemLabelRequest"
5614
- }
5615
- }
5616
- },
5617
- "description": "",
5618
- "required": true,
5619
- "x-name": "SetDialogSystemLabelRequest",
5620
- "x-position": 1
5621
- },
5622
5652
  "responses": {
5623
- "204": {
5624
- "description": "No Content"
5625
- },
5626
- "400": {
5653
+ "200": {
5627
5654
  "content": {
5628
- "application/problem\u002Bjson": {
5655
+ "application/json": {
5629
5656
  "schema": {
5630
- "$ref": "#/components/schemas/ProblemDetails"
5657
+ "$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesGet_SeenLog"
5631
5658
  }
5632
5659
  }
5633
5660
  },
5634
- "description": "Bad Request"
5661
+ "description": "Successfully returned the dialog seen log record."
5635
5662
  },
5636
5663
  "401": {
5637
- "description": "Unauthorized"
5664
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
5638
5665
  },
5639
5666
  "403": {
5640
5667
  "description": "Forbidden"
@@ -5648,29 +5675,6 @@
5648
5675
  }
5649
5676
  },
5650
5677
  "description": "Not Found"
5651
- },
5652
- "410": {
5653
- "description": ""
5654
- },
5655
- "412": {
5656
- "content": {
5657
- "application/problem\u002Bjson": {
5658
- "schema": {
5659
- "$ref": "#/components/schemas/ProblemDetails"
5660
- }
5661
- }
5662
- },
5663
- "description": ""
5664
- },
5665
- "422": {
5666
- "content": {
5667
- "application/problem\u002Bjson": {
5668
- "schema": {
5669
- "$ref": "#/components/schemas/ProblemDetails"
5670
- }
5671
- }
5672
- },
5673
- "description": ""
5674
5678
  }
5675
5679
  },
5676
5680
  "security": [
@@ -5680,6 +5684,7 @@
5680
5684
  ]
5681
5685
  }
5682
5686
  ],
5687
+ "summary": "Gets a single dialog seen log record",
5683
5688
  "tags": [
5684
5689
  "Enduser"
5685
5690
  ]
@@ -6995,7 +7000,7 @@
6995
7000
  ]
6996
7001
  }
6997
7002
  ],
6998
- "summary": "Adds a activity to a dialogs activity history",
7003
+ "summary": "Adds an activity to a dialog\u0027s activity history",
6999
7004
  "tags": [
7000
7005
  "Serviceowner"
7001
7006
  ]