@digdir/dialogporten-schema 1.44.2 → 1.45.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.44.2",
3
+ "version": "1.45.0",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -8,7 +8,7 @@
8
8
  "author": "DigDir",
9
9
  "main": "src/index.js",
10
10
  "repository": {
11
- "url": "git+https://github.com/digdir/dialogporten.git"
11
+ "url": "git+https://github.com/Altinn/dialogporten.git"
12
12
  },
13
13
  "scripts": {
14
14
  "build": "./gql-to-js.js",
@@ -304,20 +304,32 @@ input SetSystemLabelInput {
304
304
  }
305
305
 
306
306
  enum ActivityType {
307
- "Refers to a dialog that has been created."
307
+ "Indicates that a dialog has been created."
308
308
  DIALOG_CREATED
309
- "Refers to a dialog that has been closed."
309
+ "Indicates that a dialog has been closed."
310
310
  DIALOG_CLOSED
311
311
  "Information from the service provider, not (directly) related to any transmission."
312
312
  INFORMATION
313
- "Refers to a transmission that has been opened."
313
+ "Indicates that a transmission has been opened."
314
314
  TRANSMISSION_OPENED
315
315
  "Indicates that payment has been made."
316
316
  PAYMENT_MADE
317
317
  "Indicates that a signature has been provided."
318
318
  SIGNATURE_PROVIDED
319
- "Refers to a dialog that has been opened."
319
+ "Indicates that a dialog has been opened."
320
320
  DIALOG_OPENED
321
+ "Indicates that a dialog has been deleted."
322
+ DIALOG_DELETED
323
+ "Indicates that a dialog has been restored."
324
+ DIALOG_RESTORED
325
+ "Indicates that a dialog has been sent to signing."
326
+ SENT_TO_SIGNING
327
+ "Indicates that a dialog has been sent to form fill."
328
+ SENT_TO_FORM_FILL
329
+ "Indicates that a dialog has been sent to send in."
330
+ SENT_TO_SEND_IN
331
+ "Indicates that a dialog has been sent to payment."
332
+ SENT_TO_PAYMENT
321
333
  }
322
334
 
323
335
  enum ActorType {
package/src/index.js CHANGED
@@ -304,20 +304,32 @@ input SetSystemLabelInput {
304
304
  }
305
305
 
306
306
  enum ActivityType {
307
- "Refers to a dialog that has been created."
307
+ "Indicates that a dialog has been created."
308
308
  DIALOG_CREATED
309
- "Refers to a dialog that has been closed."
309
+ "Indicates that a dialog has been closed."
310
310
  DIALOG_CLOSED
311
311
  "Information from the service provider, not (directly) related to any transmission."
312
312
  INFORMATION
313
- "Refers to a transmission that has been opened."
313
+ "Indicates that a transmission has been opened."
314
314
  TRANSMISSION_OPENED
315
315
  "Indicates that payment has been made."
316
316
  PAYMENT_MADE
317
317
  "Indicates that a signature has been provided."
318
318
  SIGNATURE_PROVIDED
319
- "Refers to a dialog that has been opened."
319
+ "Indicates that a dialog has been opened."
320
320
  DIALOG_OPENED
321
+ "Indicates that a dialog has been deleted."
322
+ DIALOG_DELETED
323
+ "Indicates that a dialog has been restored."
324
+ DIALOG_RESTORED
325
+ "Indicates that a dialog has been sent to signing."
326
+ SENT_TO_SIGNING
327
+ "Indicates that a dialog has been sent to form fill."
328
+ SENT_TO_FORM_FILL
329
+ "Indicates that a dialog has been sent to send in."
330
+ SENT_TO_SEND_IN
331
+ "Indicates that a dialog has been sent to payment."
332
+ SENT_TO_PAYMENT
321
333
  }
322
334
 
323
335
  enum ActorType {
@@ -2094,6 +2094,13 @@
2094
2094
  },
2095
2095
  "nullable": true,
2096
2096
  "type": "array"
2097
+ },
2098
+ "id": {
2099
+ "description": "A self-defined UUIDv7 may be provided to support idempotent creation of Api Actions. If not provided, a new UUIDv7 will be generated.",
2100
+ "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
2101
+ "format": "guid",
2102
+ "nullable": true,
2103
+ "type": "string"
2097
2104
  }
2098
2105
  },
2099
2106
  "type": "object"
@@ -2161,6 +2168,12 @@
2161
2168
  "nullable": true,
2162
2169
  "type": "array"
2163
2170
  },
2171
+ "id": {
2172
+ "description": "A self-defined UUIDv7 may be provided to support idempotent creation of attachments. If not provided, a new UUIDv7 will be generated.",
2173
+ "format": "guid",
2174
+ "nullable": true,
2175
+ "type": "string"
2176
+ },
2164
2177
  "urls": {
2165
2178
  "description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
2166
2179
  "items": {
@@ -2432,6 +2445,13 @@
2432
2445
  }
2433
2446
  ]
2434
2447
  },
2448
+ "id": {
2449
+ "description": "A self-defined UUIDv7 may be provided to support idempotent creation of Gui Actions. If not provided, a new UUIDv7 will be generated.",
2450
+ "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
2451
+ "format": "guid",
2452
+ "nullable": true,
2453
+ "type": "string"
2454
+ },
2435
2455
  "isDeleteDialogAction": {
2436
2456
  "description": "Indicates whether the action results in the dialog being deleted. Used by frontends to implement custom UX\nfor delete actions.",
2437
2457
  "type": "boolean"
@@ -2710,7 +2730,7 @@
2710
2730
  "type": "array"
2711
2731
  },
2712
2732
  "id": {
2713
- "description": "A UUIDv7 used for merging existing data, unknown IDs will be ignored as this entity does not support user-defined IDs.",
2733
+ "description": "A self-defined UUIDv7 may be provided to support idempotent additions of Api Actions. If not provided, a new UUIDv7 will be generated.",
2714
2734
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
2715
2735
  "format": "guid",
2716
2736
  "nullable": true,
@@ -2790,7 +2810,7 @@
2790
2810
  "type": "array"
2791
2811
  },
2792
2812
  "id": {
2793
- "description": "A UUIDv7 used for merging existing data, unknown IDs will be ignored as this entity does not support user-defined IDs.",
2813
+ "description": "A self-defined UUIDv7 may be provided to support idempotent additions of attachments. If not provided, a new UUIDv7 will be generated.",
2794
2814
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
2795
2815
  "format": "guid",
2796
2816
  "nullable": true,
@@ -3027,7 +3047,7 @@
3027
3047
  ]
3028
3048
  },
3029
3049
  "id": {
3030
- "description": "A UUIDv7 used for merging existing data, unknown IDs will be ignored as this entity does not support user-defined IDs.",
3050
+ "description": "A self-defined UUIDv7 may be provided to support idempotent additions of Gui Actions. If not provided, a new UUIDv7 will be generated.",
3031
3051
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
3032
3052
  "format": "guid",
3033
3053
  "nullable": true,
@@ -3160,7 +3180,7 @@
3160
3180
  "type": "array"
3161
3181
  },
3162
3182
  "id": {
3163
- "description": "A self-defined UUIDv7 may be provided to support idempotent creation of transmission attachments. If not provided, a new UUIDv7 will be generated.",
3183
+ "description": "A self-defined UUIDv7 may be provided to support idempotent additions of transmission attachments. If not provided, a new UUIDv7 will be generated.",
3164
3184
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
3165
3185
  "format": "guid",
3166
3186
  "nullable": true,
@@ -5838,7 +5858,7 @@
5838
5858
  ]
5839
5859
  },
5840
5860
  "post": {
5841
- "description": "The dialog is created with the given configuration. For more information see the documentation (link TBD).\n\nFor detailed information on validation rules, see [the source for CreateDialogCommandValidator](https://github.com/digdir/dialogporten/blob/main/src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogCommandValidator.cs)",
5861
+ "description": "The dialog is created with the given configuration. For more information see the documentation (link TBD).\n\nFor detailed information on validation rules, see [the source for CreateDialogCommandValidator](https://github.com/altinn/dialogporten/blob/main/src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogCommandValidator.cs)",
5842
5862
  "operationId": "V1ServiceOwnerDialogsCreate_Dialog",
5843
5863
  "requestBody": {
5844
5864
  "content": {
@@ -7036,4 +7056,4 @@
7036
7056
  "url": "https://altinn-dev-api.azure-api.net/dialogporten"
7037
7057
  }
7038
7058
  ]
7039
- }
7059
+ }