@digdir/dialogporten-schema 1.106.1-bd68c22 → 1.106.2-bfcc35e
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 +64 -1
- package/src/index.js +63 -0
- package/swagger.verified.json +373 -5
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -12,6 +12,10 @@ interface DialogByIdError {
|
|
|
12
12
|
message: String!
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
interface DialogLookupError {
|
|
16
|
+
message: String!
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
interface SearchDialogError {
|
|
16
20
|
message: String!
|
|
17
21
|
}
|
|
@@ -267,6 +271,57 @@ type DialogEventPayload {
|
|
|
267
271
|
type: DialogEventType!
|
|
268
272
|
}
|
|
269
273
|
|
|
274
|
+
type DialogLookup {
|
|
275
|
+
dialogId: UUID!
|
|
276
|
+
instanceRef: String!
|
|
277
|
+
serviceResource: DialogLookupServiceResource!
|
|
278
|
+
serviceOwner: DialogLookupServiceOwner!
|
|
279
|
+
authorizationEvidence: DialogLookupAuthorizationEvidence!
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
type DialogLookupAuthorizationEvidence {
|
|
283
|
+
minimumAuthenticationLevel: Int!
|
|
284
|
+
currentAuthenticationLevel: Int!
|
|
285
|
+
viaRole: Boolean!
|
|
286
|
+
viaAccessPackage: Boolean!
|
|
287
|
+
viaResourceDelegation: Boolean!
|
|
288
|
+
viaInstanceDelegation: Boolean!
|
|
289
|
+
evidence: [DialogLookupAuthorizationEvidenceItem!]!
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
type DialogLookupAuthorizationEvidenceItem {
|
|
293
|
+
grantType: DialogLookupGrantType!
|
|
294
|
+
subject: String!
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
type DialogLookupForbidden implements DialogLookupError {
|
|
298
|
+
message: String!
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
type DialogLookupNotFound implements DialogLookupError {
|
|
302
|
+
message: String!
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
type DialogLookupPayload {
|
|
306
|
+
lookup: DialogLookup
|
|
307
|
+
errors: [DialogLookupError!]!
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
type DialogLookupServiceOwner {
|
|
311
|
+
orgNumber: String!
|
|
312
|
+
code: String!
|
|
313
|
+
name: [Localization!]!
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
type DialogLookupServiceResource {
|
|
317
|
+
id: String!
|
|
318
|
+
name: [Localization!]!
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
type DialogLookupValidationError implements DialogLookupError {
|
|
322
|
+
message: String!
|
|
323
|
+
}
|
|
324
|
+
|
|
270
325
|
type EndUserContext {
|
|
271
326
|
revision: UUID!
|
|
272
327
|
systemLabels: [SystemLabel!]!
|
|
@@ -318,6 +373,7 @@ type Mutations {
|
|
|
318
373
|
}
|
|
319
374
|
|
|
320
375
|
type Queries @authorize(policy: "enduser") {
|
|
376
|
+
dialogLookup(instanceRef: String!): DialogLookupPayload!
|
|
321
377
|
dialogById(dialogId: UUID!): DialogByIdPayload!
|
|
322
378
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
323
379
|
limits: Limits!
|
|
@@ -658,6 +714,13 @@ enum DialogEventType {
|
|
|
658
714
|
DIALOG_DELETED
|
|
659
715
|
}
|
|
660
716
|
|
|
717
|
+
enum DialogLookupGrantType {
|
|
718
|
+
ROLE
|
|
719
|
+
ACCESS_PACKAGE
|
|
720
|
+
RESOURCE_DELEGATION
|
|
721
|
+
INSTANCE_DELEGATION
|
|
722
|
+
}
|
|
723
|
+
|
|
661
724
|
enum DialogStatus {
|
|
662
725
|
"Started. In a serial process, this is used to indicate that, for example, a form filling is ongoing."
|
|
663
726
|
IN_PROGRESS
|
|
@@ -734,4 +797,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
|
|
|
734
797
|
|
|
735
798
|
scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
|
|
736
799
|
|
|
737
|
-
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
|
800
|
+
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
package/src/index.js
CHANGED
|
@@ -12,6 +12,10 @@ interface DialogByIdError {
|
|
|
12
12
|
message: String!
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
interface DialogLookupError {
|
|
16
|
+
message: String!
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
interface SearchDialogError {
|
|
16
20
|
message: String!
|
|
17
21
|
}
|
|
@@ -267,6 +271,57 @@ type DialogEventPayload {
|
|
|
267
271
|
type: DialogEventType!
|
|
268
272
|
}
|
|
269
273
|
|
|
274
|
+
type DialogLookup {
|
|
275
|
+
dialogId: UUID!
|
|
276
|
+
instanceRef: String!
|
|
277
|
+
serviceResource: DialogLookupServiceResource!
|
|
278
|
+
serviceOwner: DialogLookupServiceOwner!
|
|
279
|
+
authorizationEvidence: DialogLookupAuthorizationEvidence!
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
type DialogLookupAuthorizationEvidence {
|
|
283
|
+
minimumAuthenticationLevel: Int!
|
|
284
|
+
currentAuthenticationLevel: Int!
|
|
285
|
+
viaRole: Boolean!
|
|
286
|
+
viaAccessPackage: Boolean!
|
|
287
|
+
viaResourceDelegation: Boolean!
|
|
288
|
+
viaInstanceDelegation: Boolean!
|
|
289
|
+
evidence: [DialogLookupAuthorizationEvidenceItem!]!
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
type DialogLookupAuthorizationEvidenceItem {
|
|
293
|
+
grantType: DialogLookupGrantType!
|
|
294
|
+
subject: String!
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
type DialogLookupForbidden implements DialogLookupError {
|
|
298
|
+
message: String!
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
type DialogLookupNotFound implements DialogLookupError {
|
|
302
|
+
message: String!
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
type DialogLookupPayload {
|
|
306
|
+
lookup: DialogLookup
|
|
307
|
+
errors: [DialogLookupError!]!
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
type DialogLookupServiceOwner {
|
|
311
|
+
orgNumber: String!
|
|
312
|
+
code: String!
|
|
313
|
+
name: [Localization!]!
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
type DialogLookupServiceResource {
|
|
317
|
+
id: String!
|
|
318
|
+
name: [Localization!]!
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
type DialogLookupValidationError implements DialogLookupError {
|
|
322
|
+
message: String!
|
|
323
|
+
}
|
|
324
|
+
|
|
270
325
|
type EndUserContext {
|
|
271
326
|
revision: UUID!
|
|
272
327
|
systemLabels: [SystemLabel!]!
|
|
@@ -318,6 +373,7 @@ type Mutations {
|
|
|
318
373
|
}
|
|
319
374
|
|
|
320
375
|
type Queries @authorize(policy: "enduser") {
|
|
376
|
+
dialogLookup(instanceRef: String!): DialogLookupPayload!
|
|
321
377
|
dialogById(dialogId: UUID!): DialogByIdPayload!
|
|
322
378
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
323
379
|
limits: Limits!
|
|
@@ -658,6 +714,13 @@ enum DialogEventType {
|
|
|
658
714
|
DIALOG_DELETED
|
|
659
715
|
}
|
|
660
716
|
|
|
717
|
+
enum DialogLookupGrantType {
|
|
718
|
+
ROLE
|
|
719
|
+
ACCESS_PACKAGE
|
|
720
|
+
RESOURCE_DELEGATION
|
|
721
|
+
INSTANCE_DELEGATION
|
|
722
|
+
}
|
|
723
|
+
|
|
661
724
|
enum DialogStatus {
|
|
662
725
|
"Started. In a serial process, this is used to indicate that, for example, a form filling is ongoing."
|
|
663
726
|
IN_PROGRESS
|
package/swagger.verified.json
CHANGED
|
@@ -479,6 +479,157 @@
|
|
|
479
479
|
},
|
|
480
480
|
"type": "object"
|
|
481
481
|
},
|
|
482
|
+
"V1CommonIdentifierLookup_EndUserIdentifierLookup": {
|
|
483
|
+
"additionalProperties": false,
|
|
484
|
+
"properties": {
|
|
485
|
+
"authorizationEvidence": {
|
|
486
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupAuthorizationEvidence"
|
|
487
|
+
},
|
|
488
|
+
"dialogId": {
|
|
489
|
+
"format": "guid",
|
|
490
|
+
"type": "string"
|
|
491
|
+
},
|
|
492
|
+
"instanceRef": {
|
|
493
|
+
"type": "string"
|
|
494
|
+
},
|
|
495
|
+
"serviceOwner": {
|
|
496
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupServiceOwner"
|
|
497
|
+
},
|
|
498
|
+
"serviceResource": {
|
|
499
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupServiceResource"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"type": "object"
|
|
503
|
+
},
|
|
504
|
+
"V1CommonIdentifierLookup_IdentifierLookupAuthorizationEvidence": {
|
|
505
|
+
"additionalProperties": false,
|
|
506
|
+
"properties": {
|
|
507
|
+
"currentAuthenticationLevel": {
|
|
508
|
+
"format": "int32",
|
|
509
|
+
"type": "integer"
|
|
510
|
+
},
|
|
511
|
+
"evidence": {
|
|
512
|
+
"items": {
|
|
513
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupAuthorizationEvidenceItem"
|
|
514
|
+
},
|
|
515
|
+
"nullable": true,
|
|
516
|
+
"type": "array"
|
|
517
|
+
},
|
|
518
|
+
"minimumAuthenticationLevel": {
|
|
519
|
+
"format": "int32",
|
|
520
|
+
"type": "integer"
|
|
521
|
+
},
|
|
522
|
+
"viaAccessPackage": {
|
|
523
|
+
"type": "boolean"
|
|
524
|
+
},
|
|
525
|
+
"viaInstanceDelegation": {
|
|
526
|
+
"type": "boolean"
|
|
527
|
+
},
|
|
528
|
+
"viaResourceDelegation": {
|
|
529
|
+
"type": "boolean"
|
|
530
|
+
},
|
|
531
|
+
"viaRole": {
|
|
532
|
+
"type": "boolean"
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"type": "object"
|
|
536
|
+
},
|
|
537
|
+
"V1CommonIdentifierLookup_IdentifierLookupAuthorizationEvidenceItem": {
|
|
538
|
+
"additionalProperties": false,
|
|
539
|
+
"properties": {
|
|
540
|
+
"grantType": {
|
|
541
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupGrantType"
|
|
542
|
+
},
|
|
543
|
+
"subject": {
|
|
544
|
+
"type": "string"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"type": "object"
|
|
548
|
+
},
|
|
549
|
+
"V1CommonIdentifierLookup_IdentifierLookupGrantType": {
|
|
550
|
+
"description": "",
|
|
551
|
+
"enum": [
|
|
552
|
+
"Role",
|
|
553
|
+
"AccessPackage",
|
|
554
|
+
"ResourceDelegation",
|
|
555
|
+
"InstanceDelegation"
|
|
556
|
+
],
|
|
557
|
+
"type": "string",
|
|
558
|
+
"x-enumNames": [
|
|
559
|
+
"Role",
|
|
560
|
+
"AccessPackage",
|
|
561
|
+
"ResourceDelegation",
|
|
562
|
+
"InstanceDelegation"
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
"V1CommonIdentifierLookup_IdentifierLookupServiceOwner": {
|
|
566
|
+
"additionalProperties": false,
|
|
567
|
+
"properties": {
|
|
568
|
+
"code": {
|
|
569
|
+
"type": "string"
|
|
570
|
+
},
|
|
571
|
+
"name": {
|
|
572
|
+
"items": {
|
|
573
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
574
|
+
},
|
|
575
|
+
"nullable": true,
|
|
576
|
+
"type": "array"
|
|
577
|
+
},
|
|
578
|
+
"orgNumber": {
|
|
579
|
+
"type": "string"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"type": "object"
|
|
583
|
+
},
|
|
584
|
+
"V1CommonIdentifierLookup_IdentifierLookupServiceResource": {
|
|
585
|
+
"additionalProperties": false,
|
|
586
|
+
"properties": {
|
|
587
|
+
"id": {
|
|
588
|
+
"type": "string"
|
|
589
|
+
},
|
|
590
|
+
"name": {
|
|
591
|
+
"items": {
|
|
592
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
593
|
+
},
|
|
594
|
+
"nullable": true,
|
|
595
|
+
"type": "array"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
"type": "object"
|
|
599
|
+
},
|
|
600
|
+
"V1CommonIdentifierLookup_ServiceOwnerIdentifierLookup": {
|
|
601
|
+
"additionalProperties": false,
|
|
602
|
+
"properties": {
|
|
603
|
+
"dialogId": {
|
|
604
|
+
"format": "guid",
|
|
605
|
+
"type": "string"
|
|
606
|
+
},
|
|
607
|
+
"instanceRef": {
|
|
608
|
+
"type": "string"
|
|
609
|
+
},
|
|
610
|
+
"nonSensitiveTitle": {
|
|
611
|
+
"items": {
|
|
612
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
613
|
+
},
|
|
614
|
+
"nullable": true,
|
|
615
|
+
"type": "array"
|
|
616
|
+
},
|
|
617
|
+
"serviceOwner": {
|
|
618
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupServiceOwner"
|
|
619
|
+
},
|
|
620
|
+
"serviceResource": {
|
|
621
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupServiceResource"
|
|
622
|
+
},
|
|
623
|
+
"title": {
|
|
624
|
+
"items": {
|
|
625
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
626
|
+
},
|
|
627
|
+
"nullable": true,
|
|
628
|
+
"type": "array"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"type": "object"
|
|
632
|
+
},
|
|
482
633
|
"V1CommonLocalizations_Localization": {
|
|
483
634
|
"additionalProperties": false,
|
|
484
635
|
"properties": {
|
|
@@ -546,6 +697,20 @@
|
|
|
546
697
|
},
|
|
547
698
|
"type": "object"
|
|
548
699
|
},
|
|
700
|
+
"V1EndUserDialogLookupQueriesGet_DialogLookupRequest": {
|
|
701
|
+
"additionalProperties": false,
|
|
702
|
+
"properties": {
|
|
703
|
+
"acceptedLanguages": {
|
|
704
|
+
"nullable": true,
|
|
705
|
+
"oneOf": [
|
|
706
|
+
{
|
|
707
|
+
"$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
|
|
708
|
+
}
|
|
709
|
+
]
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
"type": "object"
|
|
713
|
+
},
|
|
549
714
|
"V1EndUserDialogsQueriesGet_Content": {
|
|
550
715
|
"additionalProperties": false,
|
|
551
716
|
"properties": {
|
|
@@ -2531,6 +2696,20 @@
|
|
|
2531
2696
|
"Awaiting"
|
|
2532
2697
|
]
|
|
2533
2698
|
},
|
|
2699
|
+
"V1ServiceOwnerDialogLookupQueriesGet_DialogLookupRequest": {
|
|
2700
|
+
"additionalProperties": false,
|
|
2701
|
+
"properties": {
|
|
2702
|
+
"acceptedLanguages": {
|
|
2703
|
+
"nullable": true,
|
|
2704
|
+
"oneOf": [
|
|
2705
|
+
{
|
|
2706
|
+
"$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
|
|
2707
|
+
}
|
|
2708
|
+
]
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2711
|
+
"type": "object"
|
|
2712
|
+
},
|
|
2534
2713
|
"V1ServiceOwnerDialogsCommandsCreate_Activity": {
|
|
2535
2714
|
"additionalProperties": false,
|
|
2536
2715
|
"properties": {
|
|
@@ -6477,6 +6656,102 @@
|
|
|
6477
6656
|
]
|
|
6478
6657
|
}
|
|
6479
6658
|
},
|
|
6659
|
+
"/api/v1/enduser/dialoglookup": {
|
|
6660
|
+
"get": {
|
|
6661
|
+
"description": "Resolves dialog metadata and authorization evidence for a supported instance reference.",
|
|
6662
|
+
"operationId": "V1EndUserDialogLookupQueriesGet_DialogLookup",
|
|
6663
|
+
"parameters": [
|
|
6664
|
+
{
|
|
6665
|
+
"in": "query",
|
|
6666
|
+
"name": "instanceRef",
|
|
6667
|
+
"required": true,
|
|
6668
|
+
"schema": {
|
|
6669
|
+
"type": "string"
|
|
6670
|
+
}
|
|
6671
|
+
},
|
|
6672
|
+
{
|
|
6673
|
+
"in": "header",
|
|
6674
|
+
"name": "accept-Language",
|
|
6675
|
+
"schema": {
|
|
6676
|
+
"nullable": true,
|
|
6677
|
+
"oneOf": [
|
|
6678
|
+
{
|
|
6679
|
+
"$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
|
|
6680
|
+
}
|
|
6681
|
+
]
|
|
6682
|
+
}
|
|
6683
|
+
}
|
|
6684
|
+
],
|
|
6685
|
+
"responses": {
|
|
6686
|
+
"200": {
|
|
6687
|
+
"content": {
|
|
6688
|
+
"application/json": {
|
|
6689
|
+
"schema": {
|
|
6690
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_EndUserIdentifierLookup"
|
|
6691
|
+
}
|
|
6692
|
+
}
|
|
6693
|
+
},
|
|
6694
|
+
"description": "Successfully resolved dialog lookup metadata."
|
|
6695
|
+
},
|
|
6696
|
+
"400": {
|
|
6697
|
+
"content": {
|
|
6698
|
+
"application/problem\u002Bjson": {
|
|
6699
|
+
"schema": {
|
|
6700
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
6701
|
+
}
|
|
6702
|
+
}
|
|
6703
|
+
},
|
|
6704
|
+
"description": "Validation error occurred. See problem details for a list of errors."
|
|
6705
|
+
},
|
|
6706
|
+
"401": {
|
|
6707
|
+
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
|
|
6708
|
+
},
|
|
6709
|
+
"403": {
|
|
6710
|
+
"description": "Authenticated end user is not authorized for the supplied instance reference."
|
|
6711
|
+
},
|
|
6712
|
+
"404": {
|
|
6713
|
+
"content": {
|
|
6714
|
+
"application/problem\u002Bjson": {
|
|
6715
|
+
"schema": {
|
|
6716
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
6717
|
+
}
|
|
6718
|
+
}
|
|
6719
|
+
},
|
|
6720
|
+
"description": "No dialog match was found for the supplied instance reference."
|
|
6721
|
+
},
|
|
6722
|
+
"503": {
|
|
6723
|
+
"content": {
|
|
6724
|
+
"text/plain": {
|
|
6725
|
+
"schema": {
|
|
6726
|
+
"example": "Service Unavailable",
|
|
6727
|
+
"type": "string"
|
|
6728
|
+
}
|
|
6729
|
+
}
|
|
6730
|
+
},
|
|
6731
|
+
"description": "Service Unavailable, used when Dialogporten is in maintenance mode",
|
|
6732
|
+
"headers": {
|
|
6733
|
+
"Retry-After": {
|
|
6734
|
+
"description": "Delay before retrying the request. Datetime format RFC1123",
|
|
6735
|
+
"schema": {
|
|
6736
|
+
"type": "string"
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
}
|
|
6740
|
+
}
|
|
6741
|
+
},
|
|
6742
|
+
"security": [
|
|
6743
|
+
{
|
|
6744
|
+
"JWTBearerAuth": [
|
|
6745
|
+
"digdir:dialogporten"
|
|
6746
|
+
]
|
|
6747
|
+
}
|
|
6748
|
+
],
|
|
6749
|
+
"summary": "Looks up a dialog by instance reference",
|
|
6750
|
+
"tags": [
|
|
6751
|
+
"Enduser"
|
|
6752
|
+
]
|
|
6753
|
+
}
|
|
6754
|
+
},
|
|
6480
6755
|
"/api/v1/enduser/dialogs": {
|
|
6481
6756
|
"get": {
|
|
6482
6757
|
"description": "Performs a search for dialogs, returning a paginated list of dialogs. \n\n* All date parameters must contain explicit time zone. Example: 2023-10-27T10:00:00Z or 2023-10-27T10:00:00\u002B01:00\n* See \u0022continuationToken\u0022 in the response for how to get the next page of results.\n* hasNextPage will be set to true if there are more items to get.",
|
|
@@ -7729,10 +8004,7 @@
|
|
|
7729
8004
|
"content": {
|
|
7730
8005
|
"application/json": {
|
|
7731
8006
|
"schema": {
|
|
7732
|
-
"
|
|
7733
|
-
"$ref": "#/components/schemas/V1AccessManagementQueriesGetParties_Parties"
|
|
7734
|
-
},
|
|
7735
|
-
"type": "array"
|
|
8007
|
+
"$ref": "#/components/schemas/V1AccessManagementQueriesGetParties_Parties"
|
|
7736
8008
|
}
|
|
7737
8009
|
}
|
|
7738
8010
|
},
|
|
@@ -7818,6 +8090,102 @@
|
|
|
7818
8090
|
]
|
|
7819
8091
|
}
|
|
7820
8092
|
},
|
|
8093
|
+
"/api/v1/serviceowner/dialoglookup": {
|
|
8094
|
+
"get": {
|
|
8095
|
+
"description": "Resolves dialog metadata for a supported instance reference in service owner context.",
|
|
8096
|
+
"operationId": "V1ServiceOwnerDialogLookupQueriesGet_DialogLookup",
|
|
8097
|
+
"parameters": [
|
|
8098
|
+
{
|
|
8099
|
+
"in": "query",
|
|
8100
|
+
"name": "instanceRef",
|
|
8101
|
+
"required": true,
|
|
8102
|
+
"schema": {
|
|
8103
|
+
"type": "string"
|
|
8104
|
+
}
|
|
8105
|
+
},
|
|
8106
|
+
{
|
|
8107
|
+
"in": "header",
|
|
8108
|
+
"name": "accept-Language",
|
|
8109
|
+
"schema": {
|
|
8110
|
+
"nullable": true,
|
|
8111
|
+
"oneOf": [
|
|
8112
|
+
{
|
|
8113
|
+
"$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
|
|
8114
|
+
}
|
|
8115
|
+
]
|
|
8116
|
+
}
|
|
8117
|
+
}
|
|
8118
|
+
],
|
|
8119
|
+
"responses": {
|
|
8120
|
+
"200": {
|
|
8121
|
+
"content": {
|
|
8122
|
+
"application/json": {
|
|
8123
|
+
"schema": {
|
|
8124
|
+
"$ref": "#/components/schemas/V1CommonIdentifierLookup_ServiceOwnerIdentifierLookup"
|
|
8125
|
+
}
|
|
8126
|
+
}
|
|
8127
|
+
},
|
|
8128
|
+
"description": "Successfully resolved instance reference lookup metadata."
|
|
8129
|
+
},
|
|
8130
|
+
"400": {
|
|
8131
|
+
"content": {
|
|
8132
|
+
"application/problem\u002Bjson": {
|
|
8133
|
+
"schema": {
|
|
8134
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
8135
|
+
}
|
|
8136
|
+
}
|
|
8137
|
+
},
|
|
8138
|
+
"description": "Validation error occurred. See problem details for a list of errors."
|
|
8139
|
+
},
|
|
8140
|
+
"401": {
|
|
8141
|
+
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
|
|
8142
|
+
},
|
|
8143
|
+
"403": {
|
|
8144
|
+
"description": "Authenticated service owner does not own the resolved dialog."
|
|
8145
|
+
},
|
|
8146
|
+
"404": {
|
|
8147
|
+
"content": {
|
|
8148
|
+
"application/problem\u002Bjson": {
|
|
8149
|
+
"schema": {
|
|
8150
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
8151
|
+
}
|
|
8152
|
+
}
|
|
8153
|
+
},
|
|
8154
|
+
"description": "No dialog match was found for the supplied instance reference."
|
|
8155
|
+
},
|
|
8156
|
+
"503": {
|
|
8157
|
+
"content": {
|
|
8158
|
+
"text/plain": {
|
|
8159
|
+
"schema": {
|
|
8160
|
+
"example": "Service Unavailable",
|
|
8161
|
+
"type": "string"
|
|
8162
|
+
}
|
|
8163
|
+
}
|
|
8164
|
+
},
|
|
8165
|
+
"description": "Service Unavailable, used when Dialogporten is in maintenance mode",
|
|
8166
|
+
"headers": {
|
|
8167
|
+
"Retry-After": {
|
|
8168
|
+
"description": "Delay before retrying the request. Datetime format RFC1123",
|
|
8169
|
+
"schema": {
|
|
8170
|
+
"type": "string"
|
|
8171
|
+
}
|
|
8172
|
+
}
|
|
8173
|
+
}
|
|
8174
|
+
}
|
|
8175
|
+
},
|
|
8176
|
+
"security": [
|
|
8177
|
+
{
|
|
8178
|
+
"JWTBearerAuth": [
|
|
8179
|
+
"digdir:dialogporten.serviceprovider"
|
|
8180
|
+
]
|
|
8181
|
+
}
|
|
8182
|
+
],
|
|
8183
|
+
"summary": "Looks up a dialog by instance reference",
|
|
8184
|
+
"tags": [
|
|
8185
|
+
"Serviceowner"
|
|
8186
|
+
]
|
|
8187
|
+
}
|
|
8188
|
+
},
|
|
7821
8189
|
"/api/v1/serviceowner/dialogs": {
|
|
7822
8190
|
"get": {
|
|
7823
8191
|
"description": "Performs a search for dialogs, returning a paginated list of dialogs.\n\n* All date parameters must contain explicit time zone. Example: 2023-10-27T10:00:00Z or 2023-10-27T10:00:00\u002B01:00\n* See \u0022continuationToken\u0022 in the response for how to get the next page of results.\n* hasNextPage will be set to true if there are more items to get.",
|
|
@@ -10567,4 +10935,4 @@
|
|
|
10567
10935
|
}
|
|
10568
10936
|
}
|
|
10569
10937
|
}
|
|
10570
|
-
}
|
|
10938
|
+
}
|