@digdir/dialogporten-schema 1.59.0-cbbe4c6 → 1.61.1-86f834a

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/README.md CHANGED
@@ -11,7 +11,7 @@ This package includes:
11
11
  To use this package, include it in your project dependencies using npm:
12
12
  To install the Dialogporten Schema Package in your JavaScript project, follow these steps:
13
13
 
14
- 1. Ensure you have npm installed. You can check by running `npm -v` in your terminal. If npm is not installed, download and install Node.js from [nodejs.org](https://nodejs.org/), which includes npm.
14
+ 1. Ensure you have `npm` installed. You can check by running `npm -v` in your terminal. If npm is not installed, download and install Node.js from [nodejs.org](https://nodejs.org/), which includes npm.
15
15
 
16
16
  2. Add the Dialogporten Schema Package to your project dependencies. Run the following command in your project directory:
17
17
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.59.0-cbbe4c6",
3
+ "version": "1.61.1-86f834a",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -16,7 +16,7 @@
16
16
  "test": "npm run build && vitest run --test-timeout=10000"
17
17
  },
18
18
  "devDependencies": {
19
- "vitest": "3.0.7",
19
+ "vitest": "3.0.9",
20
20
  "glob": "11.0.1",
21
21
  "graphql-tag": "2.12.6"
22
22
  },
@@ -369,6 +369,10 @@ enum ActivityType {
369
369
  FORM_SUBMITTED
370
370
  "Indicates that a form associated with the dialog has been saved."
371
371
  FORM_SAVED
372
+ "Indicates that a correspondence has been opened."
373
+ CORRESPONDENCE_OPENED
374
+ "Indicates that a correspondence has been confirmed."
375
+ CORRESPONDENCE_CONFIRMED
372
376
  }
373
377
 
374
378
  enum ActorType {
package/src/index.js CHANGED
@@ -369,6 +369,10 @@ enum ActivityType {
369
369
  FORM_SUBMITTED
370
370
  "Indicates that a form associated with the dialog has been saved."
371
371
  FORM_SAVED
372
+ "Indicates that a correspondence has been opened."
373
+ CORRESPONDENCE_OPENED
374
+ "Indicates that a correspondence has been confirmed."
375
+ CORRESPONDENCE_CONFIRMED
372
376
  }
373
377
 
374
378
  enum ActorType {
@@ -91,7 +91,9 @@
91
91
  "SentToSendIn",
92
92
  "SentToPayment",
93
93
  "FormSubmitted",
94
- "FormSaved"
94
+ "FormSaved",
95
+ "CorrespondenceOpened",
96
+ "CorrespondenceConfirmed"
95
97
  ],
96
98
  "type": "string",
97
99
  "x-enumNames": [
@@ -109,7 +111,9 @@
109
111
  "SentToSendIn",
110
112
  "SentToPayment",
111
113
  "FormSubmitted",
112
- "FormSaved"
114
+ "FormSaved",
115
+ "CorrespondenceOpened",
116
+ "CorrespondenceConfirmed"
113
117
  ]
114
118
  },
115
119
  "DialogsEntitiesTransmissions_DialogTransmissionType": {
@@ -2368,6 +2372,7 @@
2368
2372
  "description": "If set, will override the date and time when the dialog is set as created.\nIf not supplied, the current date /time will be used.",
2369
2373
  "example": "2022-12-31T23:59:59Z",
2370
2374
  "format": "date-time",
2375
+ "nullable": true,
2371
2376
  "type": "string"
2372
2377
  },
2373
2378
  "dueAt": {
@@ -2477,6 +2482,7 @@
2477
2482
  "description": "If set, will override the date and time when the dialog is set as last updated.\nIf not supplied, the current date /time will be used.",
2478
2483
  "example": "2022-12-31T23:59:59Z",
2479
2484
  "format": "date-time",
2485
+ "nullable": true,
2480
2486
  "type": "string"
2481
2487
  },
2482
2488
  "visibleFrom": {