@digdir/dialogporten-schema 1.115.2 → 1.115.6-61fcf9a
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 +55 -2
- package/src/index.js +54 -1
- package/swagger.verified.json +215 -9
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -247,6 +247,11 @@ type DialogByIdDeleted implements DialogByIdError {
|
|
|
247
247
|
message: String!
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
+
type DialogByIdExpired implements DialogByIdError {
|
|
251
|
+
message: String!
|
|
252
|
+
expiredAt: DateTime!
|
|
253
|
+
}
|
|
254
|
+
|
|
250
255
|
type DialogByIdForbidden implements DialogByIdError {
|
|
251
256
|
message: String!
|
|
252
257
|
}
|
|
@@ -296,12 +301,18 @@ type DialogLookupAuthorizationEvidence {
|
|
|
296
301
|
type DialogLookupAuthorizationEvidenceItem {
|
|
297
302
|
grantType: DialogLookupGrantType!
|
|
298
303
|
subject: String!
|
|
304
|
+
name: [Localization!]!
|
|
305
|
+
links: DialogLookupLinks
|
|
299
306
|
}
|
|
300
307
|
|
|
301
308
|
type DialogLookupForbidden implements DialogLookupError {
|
|
302
309
|
message: String!
|
|
303
310
|
}
|
|
304
311
|
|
|
312
|
+
type DialogLookupLinks {
|
|
313
|
+
metadata: String!
|
|
314
|
+
}
|
|
315
|
+
|
|
305
316
|
type DialogLookupNotFound implements DialogLookupError {
|
|
306
317
|
message: String!
|
|
307
318
|
}
|
|
@@ -373,7 +384,7 @@ type Localization {
|
|
|
373
384
|
languageCode: String!
|
|
374
385
|
}
|
|
375
386
|
|
|
376
|
-
type Mutations {
|
|
387
|
+
type Mutations @authorize(policy: "enduser") {
|
|
377
388
|
setSystemLabel(input: SetSystemLabelInput!): SetSystemLabelPayload!
|
|
378
389
|
bulkSetSystemLabels(input: BulkSetSystemLabelInput!): BulkSetSystemLabelPayload!
|
|
379
390
|
}
|
|
@@ -384,6 +395,7 @@ type Queries @authorize(policy: "enduser") {
|
|
|
384
395
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
385
396
|
limits: Limits!
|
|
386
397
|
parties: [AuthorizedParty!]!
|
|
398
|
+
serviceResources: ServiceResourceMetadata!
|
|
387
399
|
}
|
|
388
400
|
|
|
389
401
|
type SearchContent {
|
|
@@ -499,6 +511,47 @@ type ServiceOwnerSearchLimits {
|
|
|
499
511
|
maxExtendedStatusFilterValues: Int!
|
|
500
512
|
}
|
|
501
513
|
|
|
514
|
+
type ServiceResourceMetadata {
|
|
515
|
+
items: [ServiceResourceMetadataItem!]!
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
type ServiceResourceMetadataAccessPackage {
|
|
519
|
+
urn: String!
|
|
520
|
+
name: [Localization!]!
|
|
521
|
+
links: ServiceResourceMetadataLinks!
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
type ServiceResourceMetadataItem {
|
|
525
|
+
serviceResource: ServiceResourceMetadataServiceResource!
|
|
526
|
+
roles: [ServiceResourceMetadataRole!]!
|
|
527
|
+
accessPackages: [ServiceResourceMetadataAccessPackage!]!
|
|
528
|
+
serviceOwner: ServiceResourceMetadataServiceOwner!
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
type ServiceResourceMetadataLinks {
|
|
532
|
+
metadata: String!
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
type ServiceResourceMetadataRole {
|
|
536
|
+
urn: String!
|
|
537
|
+
name: [Localization!]!
|
|
538
|
+
links: ServiceResourceMetadataLinks!
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
type ServiceResourceMetadataServiceOwner {
|
|
542
|
+
orgNumber: String!
|
|
543
|
+
code: String!
|
|
544
|
+
name: [Localization!]!
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
type ServiceResourceMetadataServiceResource {
|
|
548
|
+
id: String!
|
|
549
|
+
isDelegable: Boolean!
|
|
550
|
+
minimumAuthenticationLevel: Int!
|
|
551
|
+
name: [Localization!]!
|
|
552
|
+
links: ServiceResourceMetadataLinks!
|
|
553
|
+
}
|
|
554
|
+
|
|
502
555
|
type SetSystemLabelConcurrencyError implements SetSystemLabelError {
|
|
503
556
|
message: String!
|
|
504
557
|
}
|
|
@@ -807,4 +860,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
|
|
|
807
860
|
|
|
808
861
|
scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
|
|
809
862
|
|
|
810
|
-
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
|
863
|
+
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
package/src/index.js
CHANGED
|
@@ -247,6 +247,11 @@ type DialogByIdDeleted implements DialogByIdError {
|
|
|
247
247
|
message: String!
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
+
type DialogByIdExpired implements DialogByIdError {
|
|
251
|
+
message: String!
|
|
252
|
+
expiredAt: DateTime!
|
|
253
|
+
}
|
|
254
|
+
|
|
250
255
|
type DialogByIdForbidden implements DialogByIdError {
|
|
251
256
|
message: String!
|
|
252
257
|
}
|
|
@@ -296,12 +301,18 @@ type DialogLookupAuthorizationEvidence {
|
|
|
296
301
|
type DialogLookupAuthorizationEvidenceItem {
|
|
297
302
|
grantType: DialogLookupGrantType!
|
|
298
303
|
subject: String!
|
|
304
|
+
name: [Localization!]!
|
|
305
|
+
links: DialogLookupLinks
|
|
299
306
|
}
|
|
300
307
|
|
|
301
308
|
type DialogLookupForbidden implements DialogLookupError {
|
|
302
309
|
message: String!
|
|
303
310
|
}
|
|
304
311
|
|
|
312
|
+
type DialogLookupLinks {
|
|
313
|
+
metadata: String!
|
|
314
|
+
}
|
|
315
|
+
|
|
305
316
|
type DialogLookupNotFound implements DialogLookupError {
|
|
306
317
|
message: String!
|
|
307
318
|
}
|
|
@@ -373,7 +384,7 @@ type Localization {
|
|
|
373
384
|
languageCode: String!
|
|
374
385
|
}
|
|
375
386
|
|
|
376
|
-
type Mutations {
|
|
387
|
+
type Mutations @authorize(policy: "enduser") {
|
|
377
388
|
setSystemLabel(input: SetSystemLabelInput!): SetSystemLabelPayload!
|
|
378
389
|
bulkSetSystemLabels(input: BulkSetSystemLabelInput!): BulkSetSystemLabelPayload!
|
|
379
390
|
}
|
|
@@ -384,6 +395,7 @@ type Queries @authorize(policy: "enduser") {
|
|
|
384
395
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
385
396
|
limits: Limits!
|
|
386
397
|
parties: [AuthorizedParty!]!
|
|
398
|
+
serviceResources: ServiceResourceMetadata!
|
|
387
399
|
}
|
|
388
400
|
|
|
389
401
|
type SearchContent {
|
|
@@ -499,6 +511,47 @@ type ServiceOwnerSearchLimits {
|
|
|
499
511
|
maxExtendedStatusFilterValues: Int!
|
|
500
512
|
}
|
|
501
513
|
|
|
514
|
+
type ServiceResourceMetadata {
|
|
515
|
+
items: [ServiceResourceMetadataItem!]!
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
type ServiceResourceMetadataAccessPackage {
|
|
519
|
+
urn: String!
|
|
520
|
+
name: [Localization!]!
|
|
521
|
+
links: ServiceResourceMetadataLinks!
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
type ServiceResourceMetadataItem {
|
|
525
|
+
serviceResource: ServiceResourceMetadataServiceResource!
|
|
526
|
+
roles: [ServiceResourceMetadataRole!]!
|
|
527
|
+
accessPackages: [ServiceResourceMetadataAccessPackage!]!
|
|
528
|
+
serviceOwner: ServiceResourceMetadataServiceOwner!
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
type ServiceResourceMetadataLinks {
|
|
532
|
+
metadata: String!
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
type ServiceResourceMetadataRole {
|
|
536
|
+
urn: String!
|
|
537
|
+
name: [Localization!]!
|
|
538
|
+
links: ServiceResourceMetadataLinks!
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
type ServiceResourceMetadataServiceOwner {
|
|
542
|
+
orgNumber: String!
|
|
543
|
+
code: String!
|
|
544
|
+
name: [Localization!]!
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
type ServiceResourceMetadataServiceResource {
|
|
548
|
+
id: String!
|
|
549
|
+
isDelegable: Boolean!
|
|
550
|
+
minimumAuthenticationLevel: Int!
|
|
551
|
+
name: [Localization!]!
|
|
552
|
+
links: ServiceResourceMetadataLinks!
|
|
553
|
+
}
|
|
554
|
+
|
|
502
555
|
type SetSystemLabelConcurrencyError implements SetSystemLabelError {
|
|
503
556
|
message: String!
|
|
504
557
|
}
|
package/swagger.verified.json
CHANGED
|
@@ -143,6 +143,15 @@
|
|
|
143
143
|
"Correction"
|
|
144
144
|
]
|
|
145
145
|
},
|
|
146
|
+
"DigdirDomainDialogportenApplicationCommon_Link": {
|
|
147
|
+
"additionalProperties": false,
|
|
148
|
+
"properties": {
|
|
149
|
+
"metadata": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"type": "object"
|
|
154
|
+
},
|
|
146
155
|
"Http_HttpVerb": {
|
|
147
156
|
"description": "",
|
|
148
157
|
"enum": [
|
|
@@ -549,6 +558,21 @@
|
|
|
549
558
|
"grantType": {
|
|
550
559
|
"$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupGrantType"
|
|
551
560
|
},
|
|
561
|
+
"links": {
|
|
562
|
+
"nullable": true,
|
|
563
|
+
"oneOf": [
|
|
564
|
+
{
|
|
565
|
+
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
566
|
+
}
|
|
567
|
+
]
|
|
568
|
+
},
|
|
569
|
+
"name": {
|
|
570
|
+
"items": {
|
|
571
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
572
|
+
},
|
|
573
|
+
"nullable": true,
|
|
574
|
+
"type": "array"
|
|
575
|
+
},
|
|
552
576
|
"subject": {
|
|
553
577
|
"type": "string"
|
|
554
578
|
}
|
|
@@ -2680,6 +2704,142 @@
|
|
|
2680
2704
|
},
|
|
2681
2705
|
"type": "object"
|
|
2682
2706
|
},
|
|
2707
|
+
"V1MetadataServiceResourcesGet_ServiceResourceMetadataRequest": {
|
|
2708
|
+
"additionalProperties": false,
|
|
2709
|
+
"properties": {
|
|
2710
|
+
"acceptedLanguages": {
|
|
2711
|
+
"nullable": true,
|
|
2712
|
+
"oneOf": [
|
|
2713
|
+
{
|
|
2714
|
+
"$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
|
|
2715
|
+
}
|
|
2716
|
+
]
|
|
2717
|
+
}
|
|
2718
|
+
},
|
|
2719
|
+
"type": "object"
|
|
2720
|
+
},
|
|
2721
|
+
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadata": {
|
|
2722
|
+
"additionalProperties": false,
|
|
2723
|
+
"properties": {
|
|
2724
|
+
"items": {
|
|
2725
|
+
"items": {
|
|
2726
|
+
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataItem"
|
|
2727
|
+
},
|
|
2728
|
+
"nullable": true,
|
|
2729
|
+
"type": "array"
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
"type": "object"
|
|
2733
|
+
},
|
|
2734
|
+
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataAccessPackage": {
|
|
2735
|
+
"additionalProperties": false,
|
|
2736
|
+
"properties": {
|
|
2737
|
+
"links": {
|
|
2738
|
+
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
2739
|
+
},
|
|
2740
|
+
"name": {
|
|
2741
|
+
"items": {
|
|
2742
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2743
|
+
},
|
|
2744
|
+
"nullable": true,
|
|
2745
|
+
"type": "array"
|
|
2746
|
+
},
|
|
2747
|
+
"urn": {
|
|
2748
|
+
"type": "string"
|
|
2749
|
+
}
|
|
2750
|
+
},
|
|
2751
|
+
"type": "object"
|
|
2752
|
+
},
|
|
2753
|
+
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataItem": {
|
|
2754
|
+
"additionalProperties": false,
|
|
2755
|
+
"properties": {
|
|
2756
|
+
"accessPackages": {
|
|
2757
|
+
"items": {
|
|
2758
|
+
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataAccessPackage"
|
|
2759
|
+
},
|
|
2760
|
+
"nullable": true,
|
|
2761
|
+
"type": "array"
|
|
2762
|
+
},
|
|
2763
|
+
"roles": {
|
|
2764
|
+
"items": {
|
|
2765
|
+
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataRole"
|
|
2766
|
+
},
|
|
2767
|
+
"nullable": true,
|
|
2768
|
+
"type": "array"
|
|
2769
|
+
},
|
|
2770
|
+
"serviceOwner": {
|
|
2771
|
+
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataServiceOwner"
|
|
2772
|
+
},
|
|
2773
|
+
"serviceResource": {
|
|
2774
|
+
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataServiceResource"
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
"type": "object"
|
|
2778
|
+
},
|
|
2779
|
+
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataRole": {
|
|
2780
|
+
"additionalProperties": false,
|
|
2781
|
+
"properties": {
|
|
2782
|
+
"links": {
|
|
2783
|
+
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
2784
|
+
},
|
|
2785
|
+
"name": {
|
|
2786
|
+
"items": {
|
|
2787
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2788
|
+
},
|
|
2789
|
+
"nullable": true,
|
|
2790
|
+
"type": "array"
|
|
2791
|
+
},
|
|
2792
|
+
"urn": {
|
|
2793
|
+
"type": "string"
|
|
2794
|
+
}
|
|
2795
|
+
},
|
|
2796
|
+
"type": "object"
|
|
2797
|
+
},
|
|
2798
|
+
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataServiceOwner": {
|
|
2799
|
+
"additionalProperties": false,
|
|
2800
|
+
"properties": {
|
|
2801
|
+
"code": {
|
|
2802
|
+
"type": "string"
|
|
2803
|
+
},
|
|
2804
|
+
"name": {
|
|
2805
|
+
"items": {
|
|
2806
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2807
|
+
},
|
|
2808
|
+
"nullable": true,
|
|
2809
|
+
"type": "array"
|
|
2810
|
+
},
|
|
2811
|
+
"orgNumber": {
|
|
2812
|
+
"type": "string"
|
|
2813
|
+
}
|
|
2814
|
+
},
|
|
2815
|
+
"type": "object"
|
|
2816
|
+
},
|
|
2817
|
+
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataServiceResource": {
|
|
2818
|
+
"additionalProperties": false,
|
|
2819
|
+
"properties": {
|
|
2820
|
+
"id": {
|
|
2821
|
+
"type": "string"
|
|
2822
|
+
},
|
|
2823
|
+
"isDelegable": {
|
|
2824
|
+
"type": "boolean"
|
|
2825
|
+
},
|
|
2826
|
+
"links": {
|
|
2827
|
+
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
2828
|
+
},
|
|
2829
|
+
"minimumAuthenticationLevel": {
|
|
2830
|
+
"format": "int32",
|
|
2831
|
+
"type": "integer"
|
|
2832
|
+
},
|
|
2833
|
+
"name": {
|
|
2834
|
+
"items": {
|
|
2835
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2836
|
+
},
|
|
2837
|
+
"nullable": true,
|
|
2838
|
+
"type": "array"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
"type": "object"
|
|
2842
|
+
},
|
|
2683
2843
|
"V1ServiceOwnerCommonActors_Actor": {
|
|
2684
2844
|
"additionalProperties": false,
|
|
2685
2845
|
"properties": {
|
|
@@ -8339,6 +8499,61 @@
|
|
|
8339
8499
|
]
|
|
8340
8500
|
}
|
|
8341
8501
|
},
|
|
8502
|
+
"/api/v1/metadata/serviceresources": {
|
|
8503
|
+
"get": {
|
|
8504
|
+
"description": "Returns public service resource metadata with related service owner, role, and access package metadata.",
|
|
8505
|
+
"operationId": "V1MetadataServiceResourcesGet_ServiceResourceMetadata",
|
|
8506
|
+
"parameters": [
|
|
8507
|
+
{
|
|
8508
|
+
"in": "header",
|
|
8509
|
+
"name": "accept-Language",
|
|
8510
|
+
"schema": {
|
|
8511
|
+
"nullable": true,
|
|
8512
|
+
"oneOf": [
|
|
8513
|
+
{
|
|
8514
|
+
"$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
|
|
8515
|
+
}
|
|
8516
|
+
]
|
|
8517
|
+
}
|
|
8518
|
+
}
|
|
8519
|
+
],
|
|
8520
|
+
"responses": {
|
|
8521
|
+
"200": {
|
|
8522
|
+
"content": {
|
|
8523
|
+
"application/json": {
|
|
8524
|
+
"schema": {
|
|
8525
|
+
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadata"
|
|
8526
|
+
}
|
|
8527
|
+
}
|
|
8528
|
+
},
|
|
8529
|
+
"description": "Service resource metadata."
|
|
8530
|
+
},
|
|
8531
|
+
"503": {
|
|
8532
|
+
"content": {
|
|
8533
|
+
"text/plain": {
|
|
8534
|
+
"schema": {
|
|
8535
|
+
"example": "Service Unavailable",
|
|
8536
|
+
"type": "string"
|
|
8537
|
+
}
|
|
8538
|
+
}
|
|
8539
|
+
},
|
|
8540
|
+
"description": "Service Unavailable, used when Dialogporten is in maintenance mode",
|
|
8541
|
+
"headers": {
|
|
8542
|
+
"Retry-After": {
|
|
8543
|
+
"description": "Delay before retrying the request. Datetime format RFC1123",
|
|
8544
|
+
"schema": {
|
|
8545
|
+
"type": "string"
|
|
8546
|
+
}
|
|
8547
|
+
}
|
|
8548
|
+
}
|
|
8549
|
+
}
|
|
8550
|
+
},
|
|
8551
|
+
"summary": "Gets service resources currently in use in Dialogporten.",
|
|
8552
|
+
"tags": [
|
|
8553
|
+
"Metadata"
|
|
8554
|
+
]
|
|
8555
|
+
}
|
|
8556
|
+
},
|
|
8342
8557
|
"/api/v1/serviceowner/dialoglookup": {
|
|
8343
8558
|
"get": {
|
|
8344
8559
|
"description": "Resolves dialog metadata for a supported instance reference in service owner context.",
|
|
@@ -8810,9 +9025,6 @@
|
|
|
8810
9025
|
}
|
|
8811
9026
|
}
|
|
8812
9027
|
},
|
|
8813
|
-
"204": {
|
|
8814
|
-
"description": "No Content"
|
|
8815
|
-
},
|
|
8816
9028
|
"400": {
|
|
8817
9029
|
"content": {
|
|
8818
9030
|
"application/problem\u002Bjson": {
|
|
@@ -9884,9 +10096,6 @@
|
|
|
9884
10096
|
}
|
|
9885
10097
|
}
|
|
9886
10098
|
},
|
|
9887
|
-
"204": {
|
|
9888
|
-
"description": "No Content"
|
|
9889
|
-
},
|
|
9890
10099
|
"400": {
|
|
9891
10100
|
"content": {
|
|
9892
10101
|
"application/problem\u002Bjson": {
|
|
@@ -10800,9 +11009,6 @@
|
|
|
10800
11009
|
}
|
|
10801
11010
|
}
|
|
10802
11011
|
},
|
|
10803
|
-
"204": {
|
|
10804
|
-
"description": "No Content"
|
|
10805
|
-
},
|
|
10806
11012
|
"400": {
|
|
10807
11013
|
"content": {
|
|
10808
11014
|
"application/problem\u002Bjson": {
|