@digdir/dialogporten-schema 1.94.0 → 1.97.1-3130256

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,9 +1,9 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.94.0",
3
+ "version": "1.97.1-3130256",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
- "node": "22"
6
+ "node": "24"
7
7
  },
8
8
  "author": "DigDir",
9
9
  "main": "src/index.js",
@@ -3081,7 +3081,7 @@
3081
3081
  "type": "string"
3082
3082
  },
3083
3083
  "id": {
3084
- "description": "The UUDIv7 of the action may be provided to support idempotent additions to the list of activities.\nIf not supplied, a new UUIDv7 will be generated.",
3084
+ "description": "A UUIDv7 may be provided to support idempotent additions to the list of activities.\nIf not supplied, a new UUIDv7 will be generated.",
3085
3085
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
3086
3086
  "format": "guid",
3087
3087
  "nullable": true,
@@ -3112,13 +3112,105 @@
3112
3112
  },
3113
3113
  "type": "object"
3114
3114
  },
3115
+ "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionAttachment": {
3116
+ "additionalProperties": false,
3117
+ "properties": {
3118
+ "displayName": {
3119
+ "description": "The display name of the attachment that should be used in GUIs.",
3120
+ "items": {
3121
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
3122
+ },
3123
+ "nullable": true,
3124
+ "type": "array"
3125
+ },
3126
+ "expiresAt": {
3127
+ "description": "The UTC timestamp when the attachment expires and is no longer available.",
3128
+ "format": "date-time",
3129
+ "nullable": true,
3130
+ "type": "string"
3131
+ },
3132
+ "id": {
3133
+ "description": "A self-defined UUIDv7 may be provided to support idempotent additions of transmission attachments. If not provided, a new UUIDv7 will be generated.",
3134
+ "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
3135
+ "format": "guid",
3136
+ "nullable": true,
3137
+ "type": "string"
3138
+ },
3139
+ "urls": {
3140
+ "description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
3141
+ "items": {
3142
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionAttachmentUrl"
3143
+ },
3144
+ "nullable": true,
3145
+ "type": "array"
3146
+ }
3147
+ },
3148
+ "type": "object"
3149
+ },
3150
+ "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionAttachmentUrl": {
3151
+ "additionalProperties": false,
3152
+ "properties": {
3153
+ "consumerType": {
3154
+ "description": "The type of consumer the URL is intended for.",
3155
+ "oneOf": [
3156
+ {
3157
+ "$ref": "#/components/schemas/Attachments_AttachmentUrlConsumerType"
3158
+ }
3159
+ ]
3160
+ },
3161
+ "mediaType": {
3162
+ "description": "The media type of the attachment.",
3163
+ "example": "application/pdf\napplication/zip",
3164
+ "nullable": true,
3165
+ "type": "string"
3166
+ },
3167
+ "url": {
3168
+ "description": "The fully qualified URL of the attachment.",
3169
+ "format": "uri",
3170
+ "type": "string"
3171
+ }
3172
+ },
3173
+ "type": "object"
3174
+ },
3175
+ "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionContent": {
3176
+ "additionalProperties": false,
3177
+ "properties": {
3178
+ "contentReference": {
3179
+ "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL. Must be HTTPS.",
3180
+ "nullable": true,
3181
+ "oneOf": [
3182
+ {
3183
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
3184
+ }
3185
+ ]
3186
+ },
3187
+ "summary": {
3188
+ "description": "The transmission summary.",
3189
+ "nullable": true,
3190
+ "oneOf": [
3191
+ {
3192
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
3193
+ }
3194
+ ]
3195
+ },
3196
+ "title": {
3197
+ "description": "The transmission title. Must be text/plain.",
3198
+ "oneOf": [
3199
+ {
3200
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
3201
+ }
3202
+ ]
3203
+ }
3204
+ },
3205
+ "type": "object"
3206
+ },
3115
3207
  "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionRequest": {
3116
3208
  "additionalProperties": false,
3117
3209
  "properties": {
3118
3210
  "attachments": {
3119
3211
  "description": "The transmission-level attachments.",
3120
3212
  "items": {
3121
- "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionAttachment"
3213
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionAttachment"
3122
3214
  },
3123
3215
  "nullable": true,
3124
3216
  "type": "array"
@@ -3134,7 +3226,7 @@
3134
3226
  "nullable": true,
3135
3227
  "oneOf": [
3136
3228
  {
3137
- "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionContent"
3229
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionContent"
3138
3230
  }
3139
3231
  ]
3140
3232
  },
@@ -3155,7 +3247,7 @@
3155
3247
  "type": "string"
3156
3248
  },
3157
3249
  "id": {
3158
- "description": "The UUDIv7 of the action may be provided to support idempotent additions to the list of transmissions.\nIf not supplied, a new UUIDv7 will be generated.",
3250
+ "description": "A UUIDv7 may be provided to support idempotent additions to the list of transmissions.\nIf not supplied, a new UUIDv7 will be generated.",
3159
3251
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
3160
3252
  "format": "guid",
3161
3253
  "nullable": true,
@@ -3210,7 +3302,7 @@
3210
3302
  "type": "string"
3211
3303
  },
3212
3304
  "id": {
3213
- "description": "The UUDIv7 of the action may be provided to support idempotent additions to the list of activities.\nIf not supplied, a new UUIDv7 will be generated.",
3305
+ "description": "A UUIDv7 may be provided to support idempotent additions to the list of activities.\nIf not supplied, a new UUIDv7 will be generated.",
3214
3306
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
3215
3307
  "format": "guid",
3216
3308
  "nullable": true,
@@ -3725,7 +3817,7 @@
3725
3817
  "type": "string"
3726
3818
  },
3727
3819
  "id": {
3728
- "description": "The UUDIv7 of the action may be provided to support idempotent additions to the list of transmissions.\nIf not supplied, a new UUIDv7 will be generated.",
3820
+ "description": "A UUIDv7 may be provided to support idempotent additions to the list of transmissions.\nIf not supplied, a new UUIDv7 will be generated.",
3729
3821
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
3730
3822
  "format": "guid",
3731
3823
  "nullable": true,
@@ -5611,6 +5703,15 @@
5611
5703
  "nullable": true,
5612
5704
  "type": "array"
5613
5705
  },
5706
+ "performedBy": {
5707
+ "description": "Optional actor metadata describing who performed the operation. Only available for admin-integrations when EndUserId is omitted.",
5708
+ "nullable": true,
5709
+ "oneOf": [
5710
+ {
5711
+ "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
5712
+ }
5713
+ ]
5714
+ },
5614
5715
  "removeLabels": {
5615
5716
  "description": "List of system labels to remove from the target dialogs. If \u0027bin\u0027 or \u0027archive\u0027 is removed, the \u0027default\u0027 label will be added automatically unless \u0027bin\u0027 or \u0027archive\u0027 is also in the AddLabels list.",
5616
5717
  "items": {
@@ -5660,6 +5761,15 @@
5660
5761
  "nullable": true,
5661
5762
  "type": "array"
5662
5763
  },
5764
+ "performedBy": {
5765
+ "description": "Optional actor metadata describing who performed the change. Only available for admin-integrations when EnduserId is omitted.",
5766
+ "nullable": true,
5767
+ "oneOf": [
5768
+ {
5769
+ "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
5770
+ }
5771
+ ]
5772
+ },
5663
5773
  "removeLabels": {
5664
5774
  "description": "List of system labels to remove from target dialogs. If \u0027bin\u0027 or \u0027archive\u0027 is removed, the \u0027default\u0027 label will be added automatically unless \u0027bin\u0027 or \u0027archive\u0027 is also in the AddLabels list.",
5665
5775
  "items": {
@@ -8452,8 +8562,8 @@
8452
8562
  {
8453
8563
  "in": "query",
8454
8564
  "name": "enduserId",
8455
- "required": true,
8456
8565
  "schema": {
8566
+ "nullable": true,
8457
8567
  "type": "string"
8458
8568
  }
8459
8569
  },
@@ -8946,8 +9056,8 @@
8946
9056
  {
8947
9057
  "in": "query",
8948
9058
  "name": "enduserId",
8949
- "required": true,
8950
9059
  "schema": {
9060
+ "nullable": true,
8951
9061
  "type": "string"
8952
9062
  }
8953
9063
  }
@@ -9018,4 +9128,4 @@
9018
9128
  }
9019
9129
  }
9020
9130
  }
9021
- }
9131
+ }