@digdir/dialogporten-schema 1.119.1 → 1.120.0

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.119.1",
3
+ "version": "1.120.0",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "24"
@@ -8,6 +8,7 @@ type Queries @authorize(policy: "enduser") {
8
8
  dialogLookup(instanceRef: String!): DialogLookupPayload!
9
9
  dialogById(dialogId: UUID!): DialogByIdPayload!
10
10
  searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
11
+ labelAssignmentLog(dialogId: UUID!): LabelAssignmentLogPayload!
11
12
  limits: Limits!
12
13
  parties: [AuthorizedParty!]!
13
14
  serviceResources(parties: [String!], includeUnauthorized: Boolean! = false): ServiceResourceMetadata!
@@ -391,6 +392,35 @@ type GuiAction {
391
392
  prompt: [Localization!]
392
393
  }
393
394
 
395
+ type LabelAssignmentLog {
396
+ "The date and time when the label assignment log entry was created."
397
+ createdAt: DateTime!
398
+ "The name of the system label that was changed."
399
+ name: String!
400
+ "The action that was performed on the label, e.g. 'set' or 'removed'."
401
+ action: String!
402
+ "The actor that performed the label assignment."
403
+ performedBy: Actor!
404
+ }
405
+
406
+ type LabelAssignmentLogDeleted implements LabelAssignmentLogError {
407
+ message: String!
408
+ }
409
+
410
+ type LabelAssignmentLogForbidden implements LabelAssignmentLogError {
411
+ message: String!
412
+ }
413
+
414
+ type LabelAssignmentLogNotFound implements LabelAssignmentLogError {
415
+ message: String!
416
+ }
417
+
418
+ type LabelAssignmentLogPayload {
419
+ "The immutable list of label assignment log entries for the dialog's end-user context."
420
+ labelAssignmentLog: [LabelAssignmentLog!]!
421
+ errors: [LabelAssignmentLogError!]!
422
+ }
423
+
394
424
  type Limits {
395
425
  endUserSearch: EndUserSearchLimits!
396
426
  serviceOwnerSearch: ServiceOwnerSearchLimits!
@@ -671,6 +701,10 @@ interface DialogLookupError {
671
701
  message: String!
672
702
  }
673
703
 
704
+ interface LabelAssignmentLogError {
705
+ message: String!
706
+ }
707
+
674
708
  interface SearchDialogError {
675
709
  message: String!
676
710
  }
package/src/index.js CHANGED
@@ -8,6 +8,7 @@ type Queries @authorize(policy: "enduser") {
8
8
  dialogLookup(instanceRef: String!): DialogLookupPayload!
9
9
  dialogById(dialogId: UUID!): DialogByIdPayload!
10
10
  searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
11
+ labelAssignmentLog(dialogId: UUID!): LabelAssignmentLogPayload!
11
12
  limits: Limits!
12
13
  parties: [AuthorizedParty!]!
13
14
  serviceResources(parties: [String!], includeUnauthorized: Boolean! = false): ServiceResourceMetadata!
@@ -391,6 +392,35 @@ type GuiAction {
391
392
  prompt: [Localization!]
392
393
  }
393
394
 
395
+ type LabelAssignmentLog {
396
+ "The date and time when the label assignment log entry was created."
397
+ createdAt: DateTime!
398
+ "The name of the system label that was changed."
399
+ name: String!
400
+ "The action that was performed on the label, e.g. 'set' or 'removed'."
401
+ action: String!
402
+ "The actor that performed the label assignment."
403
+ performedBy: Actor!
404
+ }
405
+
406
+ type LabelAssignmentLogDeleted implements LabelAssignmentLogError {
407
+ message: String!
408
+ }
409
+
410
+ type LabelAssignmentLogForbidden implements LabelAssignmentLogError {
411
+ message: String!
412
+ }
413
+
414
+ type LabelAssignmentLogNotFound implements LabelAssignmentLogError {
415
+ message: String!
416
+ }
417
+
418
+ type LabelAssignmentLogPayload {
419
+ "The immutable list of label assignment log entries for the dialog's end-user context."
420
+ labelAssignmentLog: [LabelAssignmentLog!]!
421
+ errors: [LabelAssignmentLogError!]!
422
+ }
423
+
394
424
  type Limits {
395
425
  endUserSearch: EndUserSearchLimits!
396
426
  serviceOwnerSearch: ServiceOwnerSearchLimits!
@@ -671,6 +701,10 @@ interface DialogLookupError {
671
701
  message: String!
672
702
  }
673
703
 
704
+ interface LabelAssignmentLogError {
705
+ message: String!
706
+ }
707
+
674
708
  interface SearchDialogError {
675
709
  message: String!
676
710
  }
@@ -11568,7 +11568,7 @@
11568
11568
  {
11569
11569
  "description": "Filter by one or more owning parties",
11570
11570
  "example": [
11571
- ""
11571
+ "urn:altinn:organization:identifier-no:912345678"
11572
11572
  ],
11573
11573
  "explode": true,
11574
11574
  "in": "query",