@digdir/dialogporten-schema 1.63.0 → 1.65.1-0bb7a70
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 +1 -1
- package/schema.verified.graphql +2 -0
- package/src/index.js +2 -0
- package/swagger.verified.json +94 -85
package/package.json
CHANGED
package/schema.verified.graphql
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!
|
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!
|
package/swagger.verified.json
CHANGED
|
@@ -1482,14 +1482,9 @@
|
|
|
1482
1482
|
},
|
|
1483
1483
|
"type": "object"
|
|
1484
1484
|
},
|
|
1485
|
-
"
|
|
1485
|
+
"V1EndUserDialogSystemLabelsSet_SetDialogSystemLabelRequest": {
|
|
1486
1486
|
"additionalProperties": false,
|
|
1487
1487
|
"properties": {
|
|
1488
|
-
"ifMatchDialogRevision": {
|
|
1489
|
-
"format": "guid",
|
|
1490
|
-
"nullable": true,
|
|
1491
|
-
"type": "string"
|
|
1492
|
-
},
|
|
1493
1488
|
"label": {
|
|
1494
1489
|
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
1495
1490
|
}
|
|
@@ -1866,6 +1861,11 @@
|
|
|
1866
1861
|
"example": "Organization",
|
|
1867
1862
|
"type": "string"
|
|
1868
1863
|
},
|
|
1864
|
+
"partyUuid": {
|
|
1865
|
+
"description": "The UUID for the party.",
|
|
1866
|
+
"format": "guid",
|
|
1867
|
+
"type": "string"
|
|
1868
|
+
},
|
|
1869
1869
|
"subParties": {
|
|
1870
1870
|
"description": "The sub parties of this party, if any. The sub party uses the same data model.",
|
|
1871
1871
|
"items": {
|
|
@@ -2475,7 +2475,7 @@
|
|
|
2475
2475
|
]
|
|
2476
2476
|
},
|
|
2477
2477
|
"systemLabel": {
|
|
2478
|
-
"description": "Set the system label of the dialog
|
|
2478
|
+
"description": "Set the system label of the dialog.",
|
|
2479
2479
|
"nullable": true,
|
|
2480
2480
|
"oneOf": [
|
|
2481
2481
|
{
|
|
@@ -4924,7 +4924,7 @@
|
|
|
4924
4924
|
"paths": {
|
|
4925
4925
|
"/api/v1/.well-known/jwks.json": {
|
|
4926
4926
|
"get": {
|
|
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
|
|
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.",
|
|
4928
4928
|
"operationId": "V1WellKnownJwksGet_Jwks",
|
|
4929
4929
|
"responses": {
|
|
4930
4930
|
"200": {
|
|
@@ -4946,7 +4946,7 @@
|
|
|
4946
4946
|
},
|
|
4947
4947
|
"/api/v1/.well-known/oauth-authorization-server": {
|
|
4948
4948
|
"get": {
|
|
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
|
|
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.",
|
|
4950
4950
|
"operationId": "V1WellKnownOauthAuthorizationServerGet_OauthAuthorizationServer",
|
|
4951
4951
|
"responses": {
|
|
4952
4952
|
"200": {
|
|
@@ -5404,7 +5404,7 @@
|
|
|
5404
5404
|
]
|
|
5405
5405
|
}
|
|
5406
5406
|
},
|
|
5407
|
-
"/api/v1/enduser/dialogs/{dialogId}/labellog": {
|
|
5407
|
+
"/api/v1/enduser/dialogs/{dialogId}/context/labellog": {
|
|
5408
5408
|
"get": {
|
|
5409
5409
|
"operationId": "V1EndUserDialogLabelAssignmentLogsSearch_DialogLabelAssignmentLog",
|
|
5410
5410
|
"parameters": [
|
|
@@ -5464,10 +5464,9 @@
|
|
|
5464
5464
|
]
|
|
5465
5465
|
}
|
|
5466
5466
|
},
|
|
5467
|
-
"/api/v1/enduser/dialogs/{dialogId}/
|
|
5468
|
-
"
|
|
5469
|
-
"
|
|
5470
|
-
"operationId": "V1EndUserDialogSeenLogsSearch_DialogSeenLog",
|
|
5467
|
+
"/api/v1/enduser/dialogs/{dialogId}/context/systemlabels": {
|
|
5468
|
+
"put": {
|
|
5469
|
+
"operationId": "V1EndUserDialogSystemLabelsSet_SetDialogSystemLabel",
|
|
5471
5470
|
"parameters": [
|
|
5472
5471
|
{
|
|
5473
5472
|
"in": "path",
|
|
@@ -5477,24 +5476,46 @@
|
|
|
5477
5476
|
"format": "guid",
|
|
5478
5477
|
"type": "string"
|
|
5479
5478
|
}
|
|
5479
|
+
},
|
|
5480
|
+
{
|
|
5481
|
+
"in": "header",
|
|
5482
|
+
"name": "if-Match",
|
|
5483
|
+
"schema": {
|
|
5484
|
+
"format": "guid",
|
|
5485
|
+
"nullable": true,
|
|
5486
|
+
"type": "string"
|
|
5487
|
+
}
|
|
5480
5488
|
}
|
|
5481
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
|
+
},
|
|
5482
5503
|
"responses": {
|
|
5483
|
-
"
|
|
5504
|
+
"204": {
|
|
5505
|
+
"description": "No Content"
|
|
5506
|
+
},
|
|
5507
|
+
"400": {
|
|
5484
5508
|
"content": {
|
|
5485
|
-
"application/
|
|
5509
|
+
"application/problem\u002Bjson": {
|
|
5486
5510
|
"schema": {
|
|
5487
|
-
"
|
|
5488
|
-
"$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesSearch_SeenLog"
|
|
5489
|
-
},
|
|
5490
|
-
"type": "array"
|
|
5511
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
5491
5512
|
}
|
|
5492
5513
|
}
|
|
5493
5514
|
},
|
|
5494
|
-
"description": "
|
|
5515
|
+
"description": "Bad Request"
|
|
5495
5516
|
},
|
|
5496
5517
|
"401": {
|
|
5497
|
-
"description": "
|
|
5518
|
+
"description": "Unauthorized"
|
|
5498
5519
|
},
|
|
5499
5520
|
"403": {
|
|
5500
5521
|
"description": "Forbidden"
|
|
@@ -5508,6 +5529,29 @@
|
|
|
5508
5529
|
}
|
|
5509
5530
|
},
|
|
5510
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": ""
|
|
5511
5555
|
}
|
|
5512
5556
|
},
|
|
5513
5557
|
"security": [
|
|
@@ -5517,16 +5561,15 @@
|
|
|
5517
5561
|
]
|
|
5518
5562
|
}
|
|
5519
5563
|
],
|
|
5520
|
-
"summary": "Gets all seen log records for a dialog",
|
|
5521
5564
|
"tags": [
|
|
5522
5565
|
"Enduser"
|
|
5523
5566
|
]
|
|
5524
5567
|
}
|
|
5525
5568
|
},
|
|
5526
|
-
"/api/v1/enduser/dialogs/{dialogId}/seenlog
|
|
5569
|
+
"/api/v1/enduser/dialogs/{dialogId}/seenlog": {
|
|
5527
5570
|
"get": {
|
|
5528
|
-
"description": "Gets
|
|
5529
|
-
"operationId": "
|
|
5571
|
+
"description": "Gets all seen log records for a dialog.",
|
|
5572
|
+
"operationId": "V1EndUserDialogSeenLogsSearch_DialogSeenLog",
|
|
5530
5573
|
"parameters": [
|
|
5531
5574
|
{
|
|
5532
5575
|
"in": "path",
|
|
@@ -5536,15 +5579,6 @@
|
|
|
5536
5579
|
"format": "guid",
|
|
5537
5580
|
"type": "string"
|
|
5538
5581
|
}
|
|
5539
|
-
},
|
|
5540
|
-
{
|
|
5541
|
-
"in": "path",
|
|
5542
|
-
"name": "seenLogId",
|
|
5543
|
-
"required": true,
|
|
5544
|
-
"schema": {
|
|
5545
|
-
"format": "guid",
|
|
5546
|
-
"type": "string"
|
|
5547
|
-
}
|
|
5548
5582
|
}
|
|
5549
5583
|
],
|
|
5550
5584
|
"responses": {
|
|
@@ -5552,11 +5586,14 @@
|
|
|
5552
5586
|
"content": {
|
|
5553
5587
|
"application/json": {
|
|
5554
5588
|
"schema": {
|
|
5555
|
-
"
|
|
5589
|
+
"items": {
|
|
5590
|
+
"$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesSearch_SeenLog"
|
|
5591
|
+
},
|
|
5592
|
+
"type": "array"
|
|
5556
5593
|
}
|
|
5557
5594
|
}
|
|
5558
5595
|
},
|
|
5559
|
-
"description": "Successfully returned the dialog seen log
|
|
5596
|
+
"description": "Successfully returned the dialog seen log records."
|
|
5560
5597
|
},
|
|
5561
5598
|
"401": {
|
|
5562
5599
|
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
|
|
@@ -5582,15 +5619,16 @@
|
|
|
5582
5619
|
]
|
|
5583
5620
|
}
|
|
5584
5621
|
],
|
|
5585
|
-
"summary": "Gets
|
|
5622
|
+
"summary": "Gets all seen log records for a dialog",
|
|
5586
5623
|
"tags": [
|
|
5587
5624
|
"Enduser"
|
|
5588
5625
|
]
|
|
5589
5626
|
}
|
|
5590
5627
|
},
|
|
5591
|
-
"/api/v1/enduser/dialogs/{dialogId}/
|
|
5592
|
-
"
|
|
5593
|
-
"
|
|
5628
|
+
"/api/v1/enduser/dialogs/{dialogId}/seenlog/{seenLogId}": {
|
|
5629
|
+
"get": {
|
|
5630
|
+
"description": "Gets a single dialog seen log record.",
|
|
5631
|
+
"operationId": "V1EndUserDialogSeenLogsGet_DialogSeenLog",
|
|
5594
5632
|
"parameters": [
|
|
5595
5633
|
{
|
|
5596
5634
|
"in": "path",
|
|
@@ -5600,37 +5638,30 @@
|
|
|
5600
5638
|
"format": "guid",
|
|
5601
5639
|
"type": "string"
|
|
5602
5640
|
}
|
|
5641
|
+
},
|
|
5642
|
+
{
|
|
5643
|
+
"in": "path",
|
|
5644
|
+
"name": "seenLogId",
|
|
5645
|
+
"required": true,
|
|
5646
|
+
"schema": {
|
|
5647
|
+
"format": "guid",
|
|
5648
|
+
"type": "string"
|
|
5649
|
+
}
|
|
5603
5650
|
}
|
|
5604
5651
|
],
|
|
5605
|
-
"requestBody": {
|
|
5606
|
-
"content": {
|
|
5607
|
-
"application/json": {
|
|
5608
|
-
"schema": {
|
|
5609
|
-
"$ref": "#/components/schemas/V1EndUserDialogSystemLabelsCommandsSet_SystemLabelCommand"
|
|
5610
|
-
}
|
|
5611
|
-
}
|
|
5612
|
-
},
|
|
5613
|
-
"description": "",
|
|
5614
|
-
"required": true,
|
|
5615
|
-
"x-name": "SystemLabelCommand",
|
|
5616
|
-
"x-position": 1
|
|
5617
|
-
},
|
|
5618
5652
|
"responses": {
|
|
5619
|
-
"
|
|
5620
|
-
"description": "No Content"
|
|
5621
|
-
},
|
|
5622
|
-
"400": {
|
|
5653
|
+
"200": {
|
|
5623
5654
|
"content": {
|
|
5624
|
-
"application/
|
|
5655
|
+
"application/json": {
|
|
5625
5656
|
"schema": {
|
|
5626
|
-
"$ref": "#/components/schemas/
|
|
5657
|
+
"$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesGet_SeenLog"
|
|
5627
5658
|
}
|
|
5628
5659
|
}
|
|
5629
5660
|
},
|
|
5630
|
-
"description": "
|
|
5661
|
+
"description": "Successfully returned the dialog seen log record."
|
|
5631
5662
|
},
|
|
5632
5663
|
"401": {
|
|
5633
|
-
"description": "
|
|
5664
|
+
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
|
|
5634
5665
|
},
|
|
5635
5666
|
"403": {
|
|
5636
5667
|
"description": "Forbidden"
|
|
@@ -5644,29 +5675,6 @@
|
|
|
5644
5675
|
}
|
|
5645
5676
|
},
|
|
5646
5677
|
"description": "Not Found"
|
|
5647
|
-
},
|
|
5648
|
-
"410": {
|
|
5649
|
-
"description": ""
|
|
5650
|
-
},
|
|
5651
|
-
"412": {
|
|
5652
|
-
"content": {
|
|
5653
|
-
"application/problem\u002Bjson": {
|
|
5654
|
-
"schema": {
|
|
5655
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5656
|
-
}
|
|
5657
|
-
}
|
|
5658
|
-
},
|
|
5659
|
-
"description": ""
|
|
5660
|
-
},
|
|
5661
|
-
"422": {
|
|
5662
|
-
"content": {
|
|
5663
|
-
"application/problem\u002Bjson": {
|
|
5664
|
-
"schema": {
|
|
5665
|
-
"$ref": "#/components/schemas/ProblemDetails"
|
|
5666
|
-
}
|
|
5667
|
-
}
|
|
5668
|
-
},
|
|
5669
|
-
"description": ""
|
|
5670
5678
|
}
|
|
5671
5679
|
},
|
|
5672
5680
|
"security": [
|
|
@@ -5676,6 +5684,7 @@
|
|
|
5676
5684
|
]
|
|
5677
5685
|
}
|
|
5678
5686
|
],
|
|
5687
|
+
"summary": "Gets a single dialog seen log record",
|
|
5679
5688
|
"tags": [
|
|
5680
5689
|
"Enduser"
|
|
5681
5690
|
]
|