@digdir/dialogporten-schema 1.8.1-51eb898 → 1.8.1-dbe296a

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.8.1-51eb898",
3
+ "version": "1.8.1-dbe296a",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "author": "DigDir",
6
6
  "repository": {
@@ -16,7 +16,6 @@ type Activity {
16
16
  extendedType: URL
17
17
  type: ActivityType!
18
18
  relatedActivityId: UUID
19
- dialogElementId: UUID
20
19
  performedBy: String
21
20
  description: [Localization!]!
22
21
  }
@@ -26,7 +25,6 @@ type ApiAction {
26
25
  action: String!
27
26
  authorizationAttribute: String
28
27
  isAuthorized: Boolean!
29
- dialogElementId: UUID
30
28
  endpoints: [ApiActionEndpoint!]!
31
29
  }
32
30
 
@@ -42,6 +40,18 @@ type ApiActionEndpoint {
42
40
  sunsetAt: DateTime
43
41
  }
44
42
 
43
+ type Attachment {
44
+ id: UUID!
45
+ displayName: [Localization!]!
46
+ urls: [AttachmentUrl!]!
47
+ }
48
+
49
+ type AttachmentUrl {
50
+ id: UUID!
51
+ url: URL!
52
+ consumerType: AttachmentUrlConsumer!
53
+ }
54
+
45
55
  type AuthorizedParty {
46
56
  party: String!
47
57
  name: String!
@@ -57,6 +67,7 @@ type AuthorizedParty {
57
67
  type Content {
58
68
  type: ContentType!
59
69
  value: [Localization!]!
70
+ mediaType: String
60
71
  }
61
72
 
62
73
  type Dialog {
@@ -77,7 +88,7 @@ type Dialog {
77
88
  dialogToken: String
78
89
  status: DialogStatus!
79
90
  content: [Content!]!
80
- elements: [Element!]!
91
+ attachments: [Attachment!]!
81
92
  guiActions: [GuiAction!]!
82
93
  apiActions: [ApiAction!]!
83
94
  activities: [Activity!]!
@@ -101,24 +112,6 @@ type DialogByIdPayload {
101
112
  errors: [DialogByIdError!]!
102
113
  }
103
114
 
104
- type Element {
105
- id: UUID!
106
- type: URL
107
- externalReference: String
108
- authorizationAttribute: String
109
- isAuthorized: Boolean!
110
- relatedDialogElementId: UUID
111
- displayName: [Localization!]!
112
- urls: [ElementUrl!]!
113
- }
114
-
115
- type ElementUrl {
116
- id: UUID!
117
- url: URL!
118
- mediaType: String
119
- consumerType: ElementUrlConsumer!
120
- }
121
-
122
115
  type GuiAction {
123
116
  id: UUID!
124
117
  action: String!
@@ -237,6 +230,11 @@ enum ApplyPolicy {
237
230
  VALIDATION
238
231
  }
239
232
 
233
+ enum AttachmentUrlConsumer {
234
+ GUI
235
+ API
236
+ }
237
+
240
238
  enum ContentType {
241
239
  TITLE
242
240
  SENDER_NAME
@@ -260,11 +258,6 @@ enum DialogStatus {
260
258
  COMPLETED
261
259
  }
262
260
 
263
- enum ElementUrlConsumer {
264
- GUI
265
- API
266
- }
267
-
268
261
  enum GuiActionPriority {
269
262
  PRIMARY
270
263
  SECONDARY
@@ -94,7 +94,7 @@
94
94
  }
95
95
  },
96
96
  "404": {
97
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
97
+ "description": "Not Found",
98
98
  "content": {
99
99
  "application/problem+json": {
100
100
  "schema": {
@@ -157,7 +157,7 @@
157
157
  }
158
158
  },
159
159
  "404": {
160
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
160
+ "description": "Not Found",
161
161
  "content": {
162
162
  "application/problem+json": {
163
163
  "schema": {
@@ -229,7 +229,8 @@
229
229
  "Value": "Some Title",
230
230
  "CultureCode": "en-us"
231
231
  }
232
- ]
232
+ ],
233
+ "MediaType": null
233
234
  },
234
235
  {
235
236
  "Type": 3,
@@ -238,7 +239,8 @@
238
239
  "Value": "Some Summary",
239
240
  "CultureCode": "en-us"
240
241
  }
241
- ]
242
+ ],
243
+ "MediaType": null
242
244
  }
243
245
  ],
244
246
  "SearchTags": [
@@ -249,13 +251,9 @@
249
251
  "Value": "anotherSearchTag"
250
252
  }
251
253
  ],
252
- "Elements": [
254
+ "Attachments": [
253
255
  {
254
256
  "Id": "02a72809-eddd-4192-864d-8f1755d72f4e",
255
- "Type": "http://example.com/some-type",
256
- "ExternalReference": null,
257
- "AuthorizationAttribute": null,
258
- "RelatedDialogElementId": null,
259
257
  "DisplayName": [
260
258
  {
261
259
  "Value": "Some display name",
@@ -265,8 +263,8 @@
265
263
  "Urls": [
266
264
  {
267
265
  "Id": "858177cb-8584-4d10-a086-3a5defa7a6c3",
268
- "Url": "http://example.com/some-url",
269
- "MediaType": "application/json",
266
+ "Url": "https://example.com/some-url",
267
+ "MediaType": null,
270
268
  "ConsumerType": 0
271
269
  }
272
270
  ]
@@ -299,7 +297,6 @@
299
297
  "Id": "948b07ba-1a82-403e-8eaa-2e5784af07a9",
300
298
  "Action": "submit",
301
299
  "AuthorizationAttribute": null,
302
- "DialogElementId": null,
303
300
  "Endpoints": [
304
301
  {
305
302
  "Id": null,
@@ -322,7 +319,6 @@
322
319
  "ExtendedType": null,
323
320
  "Type": 3,
324
321
  "RelatedActivityId": null,
325
- "DialogElementId": null,
326
322
  "PerformedBy": "Some performed",
327
323
  "Description": [
328
324
  {
@@ -987,212 +983,6 @@
987
983
  ]
988
984
  }
989
985
  },
990
- "/api/v1/serviceowner/dialogs/{dialogId}/elements": {
991
- "get": {
992
- "tags": [
993
- "Serviceowner"
994
- ],
995
- "summary": "Gets a list of dialog elements",
996
- "description": "Gets the list of elements belonging to a dialog",
997
- "operationId": "GetDialogElementListSO",
998
- "parameters": [
999
- {
1000
- "name": "dialogId",
1001
- "in": "path",
1002
- "required": true,
1003
- "schema": {
1004
- "type": "string",
1005
- "format": "guid"
1006
- }
1007
- }
1008
- ],
1009
- "responses": {
1010
- "200": {
1011
- "description": "Successfully returned the dialog element list.",
1012
- "content": {
1013
- "text/plain": {
1014
- "schema": {}
1015
- },
1016
- "application/json": {
1017
- "schema": {}
1018
- }
1019
- }
1020
- },
1021
- "401": {
1022
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1023
- },
1024
- "403": {
1025
- "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1026
- }
1027
- },
1028
- "security": [
1029
- {
1030
- "JWTBearerAuth": []
1031
- }
1032
- ]
1033
- },
1034
- "post": {
1035
- "tags": [
1036
- "Serviceowner"
1037
- ],
1038
- "summary": "Creates a new dialog element",
1039
- "description": "The dialog element is created with the given configuration. For more information see the documentation (link TBD).\n\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not modified/deleted by another request in the meantime.",
1040
- "operationId": "CreateDialogElement",
1041
- "parameters": [
1042
- {
1043
- "name": "dialogId",
1044
- "in": "path",
1045
- "required": true,
1046
- "schema": {
1047
- "type": "string",
1048
- "format": "guid"
1049
- }
1050
- },
1051
- {
1052
- "name": "if-Match",
1053
- "in": "header",
1054
- "schema": {
1055
- "type": "string",
1056
- "format": "guid",
1057
- "nullable": true
1058
- }
1059
- }
1060
- ],
1061
- "requestBody": {
1062
- "x-name": "CreateDialogElementRequest",
1063
- "description": "",
1064
- "content": {
1065
- "application/json": {
1066
- "schema": {
1067
- "$ref": "#/components/schemas/CreateDialogElementRequest"
1068
- }
1069
- }
1070
- },
1071
- "required": true,
1072
- "x-position": 1
1073
- },
1074
- "responses": {
1075
- "401": {
1076
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1077
- },
1078
- "403": {
1079
- "description": "Unauthorized to create child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1080
- },
1081
- "201": {
1082
- "description": "The UUID of the created the dialog element. A relative URL to the newly created activity is set in the \"Location\" header.",
1083
- "content": {
1084
- "application/json": {
1085
- "schema": {
1086
- "type": "string"
1087
- },
1088
- "example": "b6dc8b01-1cd8-2777-b759-d84b0e384f47"
1089
- }
1090
- }
1091
- },
1092
- "400": {
1093
- "description": "Validation error occured. See problem details for a list of errors.",
1094
- "content": {
1095
- "application/problem+json": {
1096
- "schema": {
1097
- "$ref": "#/components/schemas/ProblemDetails"
1098
- }
1099
- }
1100
- }
1101
- },
1102
- "404": {
1103
- "description": "The given dialog ID was not found or is already deleted.",
1104
- "content": {
1105
- "application/problem+json": {
1106
- "schema": {
1107
- "$ref": "#/components/schemas/ProblemDetails"
1108
- }
1109
- }
1110
- }
1111
- },
1112
- "412": {
1113
- "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
1114
- "content": {
1115
- "application/problem+json": {
1116
- "schema": {
1117
- "$ref": "#/components/schemas/ProblemDetails"
1118
- }
1119
- }
1120
- }
1121
- },
1122
- "422": {
1123
- "description": "Domain error occured. See problem details for a list of errors.",
1124
- "content": {
1125
- "application/problem+json": {
1126
- "schema": {
1127
- "$ref": "#/components/schemas/ProblemDetails"
1128
- }
1129
- }
1130
- }
1131
- }
1132
- },
1133
- "security": [
1134
- {
1135
- "JWTBearerAuth": []
1136
- }
1137
- ]
1138
- }
1139
- },
1140
- "/api/v1/serviceowner/dialogs/{dialogId}/elements/{elementId}": {
1141
- "get": {
1142
- "tags": [
1143
- "Serviceowner"
1144
- ],
1145
- "summary": "Gets a single dialog element",
1146
- "description": "Gets a single element belonging to a dialog. For more information see the documentation (link TBD).",
1147
- "operationId": "GetDialogElementSO",
1148
- "parameters": [
1149
- {
1150
- "name": "dialogId",
1151
- "in": "path",
1152
- "required": true,
1153
- "schema": {
1154
- "type": "string",
1155
- "format": "guid"
1156
- }
1157
- },
1158
- {
1159
- "name": "elementId",
1160
- "in": "path",
1161
- "required": true,
1162
- "schema": {
1163
- "type": "string",
1164
- "format": "guid"
1165
- }
1166
- }
1167
- ],
1168
- "responses": {
1169
- "401": {
1170
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1171
- },
1172
- "403": {
1173
- "description": "Unauthorized to get child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1174
- },
1175
- "200": {
1176
- "description": "Successfully returned the dialog element."
1177
- },
1178
- "404": {
1179
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1180
- "content": {
1181
- "application/problem+json": {
1182
- "schema": {
1183
- "$ref": "#/components/schemas/ProblemDetails"
1184
- }
1185
- }
1186
- }
1187
- }
1188
- },
1189
- "security": [
1190
- {
1191
- "JWTBearerAuth": []
1192
- }
1193
- ]
1194
- }
1195
- },
1196
986
  "/api/v1/serviceowner/dialogs/{dialogId}/activities": {
1197
987
  "get": {
1198
988
  "tags": [
@@ -1475,7 +1265,7 @@
1475
1265
  }
1476
1266
  },
1477
1267
  "404": {
1478
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1268
+ "description": "Not Found",
1479
1269
  "content": {
1480
1270
  "application/problem+json": {
1481
1271
  "schema": {
@@ -1538,7 +1328,7 @@
1538
1328
  }
1539
1329
  },
1540
1330
  "404": {
1541
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1331
+ "description": "Not Found",
1542
1332
  "content": {
1543
1333
  "application/problem+json": {
1544
1334
  "schema": {
@@ -1833,107 +1623,6 @@
1833
1623
  ]
1834
1624
  }
1835
1625
  },
1836
- "/api/v1/enduser/dialogs/{dialogId}/elements": {
1837
- "get": {
1838
- "tags": [
1839
- "Enduser"
1840
- ],
1841
- "summary": "Gets a list of dialog elements",
1842
- "description": "Gets the list of elements belonging to a dialog",
1843
- "operationId": "GetDialogElementList",
1844
- "parameters": [
1845
- {
1846
- "name": "dialogId",
1847
- "in": "path",
1848
- "required": true,
1849
- "schema": {
1850
- "type": "string",
1851
- "format": "guid"
1852
- }
1853
- }
1854
- ],
1855
- "responses": {
1856
- "200": {
1857
- "description": "Successfully returned the dialog element list.",
1858
- "content": {
1859
- "text/plain": {
1860
- "schema": {}
1861
- },
1862
- "application/json": {
1863
- "schema": {}
1864
- }
1865
- }
1866
- },
1867
- "401": {
1868
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
1869
- },
1870
- "403": {
1871
- "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1872
- }
1873
- },
1874
- "security": [
1875
- {
1876
- "JWTBearerAuth": []
1877
- }
1878
- ]
1879
- }
1880
- },
1881
- "/api/v1/enduser/dialogs/{dialogId}/elements/{elementId}": {
1882
- "get": {
1883
- "tags": [
1884
- "Enduser"
1885
- ],
1886
- "summary": "Gets a single dialog element",
1887
- "description": "Gets a single element belonging to a dialog. For more information see the documentation (link TBD).",
1888
- "operationId": "GetDialogElement",
1889
- "parameters": [
1890
- {
1891
- "name": "dialogId",
1892
- "in": "path",
1893
- "required": true,
1894
- "schema": {
1895
- "type": "string",
1896
- "format": "guid"
1897
- }
1898
- },
1899
- {
1900
- "name": "elementId",
1901
- "in": "path",
1902
- "required": true,
1903
- "schema": {
1904
- "type": "string",
1905
- "format": "guid"
1906
- }
1907
- }
1908
- ],
1909
- "responses": {
1910
- "401": {
1911
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
1912
- },
1913
- "403": {
1914
- "description": "Unauthorized to get child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1915
- },
1916
- "200": {
1917
- "description": "Successfully returned the dialog element."
1918
- },
1919
- "404": {
1920
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1921
- "content": {
1922
- "application/problem+json": {
1923
- "schema": {
1924
- "$ref": "#/components/schemas/ProblemDetails"
1925
- }
1926
- }
1927
- }
1928
- }
1929
- },
1930
- "security": [
1931
- {
1932
- "JWTBearerAuth": []
1933
- }
1934
- ]
1935
- }
1936
- },
1937
1626
  "/api/v1/enduser/dialogs/{dialogId}/activities": {
1938
1627
  "get": {
1939
1628
  "tags": [
@@ -2243,10 +1932,10 @@
2243
1932
  "$ref": "#/components/schemas/UpdateDialogSearchTagDto"
2244
1933
  }
2245
1934
  },
2246
- "elements": {
1935
+ "attachments": {
2247
1936
  "type": "array",
2248
1937
  "items": {
2249
- "$ref": "#/components/schemas/UpdateDialogDialogElementDto"
1938
+ "$ref": "#/components/schemas/UpdateDialogDialogAttachmentDto"
2250
1939
  }
2251
1940
  },
2252
1941
  "guiActions": {
@@ -2301,6 +1990,10 @@
2301
1990
  "items": {
2302
1991
  "$ref": "#/components/schemas/LocalizationDto"
2303
1992
  }
1993
+ },
1994
+ "mediaType": {
1995
+ "type": "string",
1996
+ "nullable": true
2304
1997
  }
2305
1998
  }
2306
1999
  },
@@ -2312,14 +2005,16 @@
2312
2005
  "SenderName",
2313
2006
  "Summary",
2314
2007
  "AdditionalInfo",
2315
- "ExtendedStatus"
2008
+ "ExtendedStatus",
2009
+ "MainContentReference"
2316
2010
  ],
2317
2011
  "enum": [
2318
2012
  "Title",
2319
2013
  "SenderName",
2320
2014
  "Summary",
2321
2015
  "AdditionalInfo",
2322
- "ExtendedStatus"
2016
+ "ExtendedStatus",
2017
+ "MainContentReference"
2323
2018
  ]
2324
2019
  },
2325
2020
  "LocalizationDto": {
@@ -2343,7 +2038,7 @@
2343
2038
  }
2344
2039
  }
2345
2040
  },
2346
- "UpdateDialogDialogElementDto": {
2041
+ "UpdateDialogDialogAttachmentDto": {
2347
2042
  "type": "object",
2348
2043
  "additionalProperties": false,
2349
2044
  "properties": {
@@ -2352,24 +2047,6 @@
2352
2047
  "format": "guid",
2353
2048
  "nullable": true
2354
2049
  },
2355
- "type": {
2356
- "type": "string",
2357
- "format": "uri",
2358
- "nullable": true
2359
- },
2360
- "externalReference": {
2361
- "type": "string",
2362
- "nullable": true
2363
- },
2364
- "authorizationAttribute": {
2365
- "type": "string",
2366
- "nullable": true
2367
- },
2368
- "relatedDialogElementId": {
2369
- "type": "string",
2370
- "format": "guid",
2371
- "nullable": true
2372
- },
2373
2050
  "displayName": {
2374
2051
  "type": "array",
2375
2052
  "items": {
@@ -2379,12 +2056,12 @@
2379
2056
  "urls": {
2380
2057
  "type": "array",
2381
2058
  "items": {
2382
- "$ref": "#/components/schemas/UpdateDialogDialogElementUrlDto"
2059
+ "$ref": "#/components/schemas/UpdateDialogDialogAttachmentUrlDto"
2383
2060
  }
2384
2061
  }
2385
2062
  }
2386
2063
  },
2387
- "UpdateDialogDialogElementUrlDto": {
2064
+ "UpdateDialogDialogAttachmentUrlDto": {
2388
2065
  "type": "object",
2389
2066
  "additionalProperties": false,
2390
2067
  "properties": {
@@ -2402,11 +2079,11 @@
2402
2079
  "nullable": true
2403
2080
  },
2404
2081
  "consumerType": {
2405
- "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2082
+ "$ref": "#/components/schemas/DialogAttachmentUrlConsumerType_Values"
2406
2083
  }
2407
2084
  }
2408
2085
  },
2409
- "DialogElementUrlConsumerType_Values": {
2086
+ "DialogAttachmentUrlConsumerType_Values": {
2410
2087
  "type": "string",
2411
2088
  "description": "",
2412
2089
  "x-enumNames": [
@@ -2523,11 +2200,6 @@
2523
2200
  "type": "string",
2524
2201
  "nullable": true
2525
2202
  },
2526
- "dialogElementId": {
2527
- "type": "string",
2528
- "format": "guid",
2529
- "nullable": true
2530
- },
2531
2203
  "endpoints": {
2532
2204
  "type": "array",
2533
2205
  "items": {
@@ -2608,11 +2280,6 @@
2608
2280
  "format": "guid",
2609
2281
  "nullable": true
2610
2282
  },
2611
- "dialogElementId": {
2612
- "type": "string",
2613
- "format": "guid",
2614
- "nullable": true
2615
- },
2616
2283
  "performedBy": {
2617
2284
  "type": "string",
2618
2285
  "nullable": true
@@ -2856,10 +2523,10 @@
2856
2523
  "$ref": "#/components/schemas/GetDialogSearchTagDtoSO"
2857
2524
  }
2858
2525
  },
2859
- "elements": {
2526
+ "attachments": {
2860
2527
  "type": "array",
2861
2528
  "items": {
2862
- "$ref": "#/components/schemas/GetDialogDialogElementDtoSO"
2529
+ "$ref": "#/components/schemas/GetDialogDialogAttachmentDtoSO"
2863
2530
  }
2864
2531
  },
2865
2532
  "guiActions": {
@@ -2902,6 +2569,10 @@
2902
2569
  "items": {
2903
2570
  "$ref": "#/components/schemas/LocalizationDto"
2904
2571
  }
2572
+ },
2573
+ "mediaType": {
2574
+ "type": "string",
2575
+ "nullable": true
2905
2576
  }
2906
2577
  }
2907
2578
  },
@@ -2914,7 +2585,7 @@
2914
2585
  }
2915
2586
  }
2916
2587
  },
2917
- "GetDialogDialogElementDtoSO": {
2588
+ "GetDialogDialogAttachmentDtoSO": {
2918
2589
  "type": "object",
2919
2590
  "additionalProperties": false,
2920
2591
  "properties": {
@@ -2922,20 +2593,6 @@
2922
2593
  "type": "string",
2923
2594
  "format": "guid"
2924
2595
  },
2925
- "type": {
2926
- "type": "string",
2927
- "format": "uri",
2928
- "nullable": true
2929
- },
2930
- "authorizationAttribute": {
2931
- "type": "string",
2932
- "nullable": true
2933
- },
2934
- "relatedDialogElementId": {
2935
- "type": "string",
2936
- "format": "guid",
2937
- "nullable": true
2938
- },
2939
2596
  "displayName": {
2940
2597
  "type": "array",
2941
2598
  "items": {
@@ -2945,12 +2602,12 @@
2945
2602
  "urls": {
2946
2603
  "type": "array",
2947
2604
  "items": {
2948
- "$ref": "#/components/schemas/GetDialogDialogElementUrlDtoSO"
2605
+ "$ref": "#/components/schemas/GetDialogDialogAttachmentUrlDtoSO"
2949
2606
  }
2950
2607
  }
2951
2608
  }
2952
2609
  },
2953
- "GetDialogDialogElementUrlDtoSO": {
2610
+ "GetDialogDialogAttachmentUrlDtoSO": {
2954
2611
  "type": "object",
2955
2612
  "additionalProperties": false,
2956
2613
  "properties": {
@@ -2967,7 +2624,7 @@
2967
2624
  "nullable": true
2968
2625
  },
2969
2626
  "consumerType": {
2970
- "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2627
+ "$ref": "#/components/schemas/DialogAttachmentUrlConsumerType_Values"
2971
2628
  }
2972
2629
  }
2973
2630
  },
@@ -3029,11 +2686,6 @@
3029
2686
  "type": "string",
3030
2687
  "nullable": true
3031
2688
  },
3032
- "dialogElementId": {
3033
- "type": "string",
3034
- "format": "guid",
3035
- "nullable": true
3036
- },
3037
2689
  "endpoints": {
3038
2690
  "type": "array",
3039
2691
  "items": {
@@ -3112,11 +2764,6 @@
3112
2764
  "format": "guid",
3113
2765
  "nullable": true
3114
2766
  },
3115
- "dialogElementId": {
3116
- "type": "string",
3117
- "format": "guid",
3118
- "nullable": true
3119
- },
3120
2767
  "performedBy": {
3121
2768
  "type": "string",
3122
2769
  "nullable": true
@@ -3212,10 +2859,10 @@
3212
2859
  "$ref": "#/components/schemas/CreateDialogSearchTagDto"
3213
2860
  }
3214
2861
  },
3215
- "elements": {
2862
+ "attachments": {
3216
2863
  "type": "array",
3217
2864
  "items": {
3218
- "$ref": "#/components/schemas/CreateDialogDialogElementDto"
2865
+ "$ref": "#/components/schemas/CreateDialogDialogAttachmentDto"
3219
2866
  }
3220
2867
  },
3221
2868
  "guiActions": {
@@ -3250,6 +2897,10 @@
3250
2897
  "items": {
3251
2898
  "$ref": "#/components/schemas/LocalizationDto"
3252
2899
  }
2900
+ },
2901
+ "mediaType": {
2902
+ "type": "string",
2903
+ "nullable": true
3253
2904
  }
3254
2905
  }
3255
2906
  },
@@ -3262,7 +2913,7 @@
3262
2913
  }
3263
2914
  }
3264
2915
  },
3265
- "CreateDialogDialogElementDto": {
2916
+ "CreateDialogDialogAttachmentDto": {
3266
2917
  "type": "object",
3267
2918
  "additionalProperties": false,
3268
2919
  "properties": {
@@ -3271,24 +2922,6 @@
3271
2922
  "format": "guid",
3272
2923
  "nullable": true
3273
2924
  },
3274
- "type": {
3275
- "type": "string",
3276
- "format": "uri",
3277
- "nullable": true
3278
- },
3279
- "externalReference": {
3280
- "type": "string",
3281
- "nullable": true
3282
- },
3283
- "authorizationAttribute": {
3284
- "type": "string",
3285
- "nullable": true
3286
- },
3287
- "relatedDialogElementId": {
3288
- "type": "string",
3289
- "format": "guid",
3290
- "nullable": true
3291
- },
3292
2925
  "displayName": {
3293
2926
  "type": "array",
3294
2927
  "items": {
@@ -3298,12 +2931,12 @@
3298
2931
  "urls": {
3299
2932
  "type": "array",
3300
2933
  "items": {
3301
- "$ref": "#/components/schemas/CreateDialogDialogElementUrlDto"
2934
+ "$ref": "#/components/schemas/CreateDialogDialogAttachmentUrlDto"
3302
2935
  }
3303
2936
  }
3304
2937
  }
3305
2938
  },
3306
- "CreateDialogDialogElementUrlDto": {
2939
+ "CreateDialogDialogAttachmentUrlDto": {
3307
2940
  "type": "object",
3308
2941
  "additionalProperties": false,
3309
2942
  "properties": {
@@ -3316,7 +2949,7 @@
3316
2949
  "nullable": true
3317
2950
  },
3318
2951
  "consumerType": {
3319
- "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2952
+ "$ref": "#/components/schemas/DialogAttachmentUrlConsumerType_Values"
3320
2953
  }
3321
2954
  }
3322
2955
  },
@@ -3375,11 +3008,6 @@
3375
3008
  "type": "string",
3376
3009
  "nullable": true
3377
3010
  },
3378
- "dialogElementId": {
3379
- "type": "string",
3380
- "format": "guid",
3381
- "nullable": true
3382
- },
3383
3011
  "endpoints": {
3384
3012
  "type": "array",
3385
3013
  "items": {
@@ -3455,11 +3083,6 @@
3455
3083
  "format": "guid",
3456
3084
  "nullable": true
3457
3085
  },
3458
- "dialogElementId": {
3459
- "type": "string",
3460
- "format": "guid",
3461
- "nullable": true
3462
- },
3463
3086
  "performedBy": {
3464
3087
  "type": "string",
3465
3088
  "nullable": true
@@ -3472,47 +3095,6 @@
3472
3095
  }
3473
3096
  }
3474
3097
  },
3475
- "CreateDialogElementRequest": {
3476
- "type": "object",
3477
- "additionalProperties": false,
3478
- "properties": {
3479
- "id": {
3480
- "type": "string",
3481
- "format": "guid",
3482
- "nullable": true
3483
- },
3484
- "type": {
3485
- "type": "string",
3486
- "format": "uri",
3487
- "nullable": true
3488
- },
3489
- "externalReference": {
3490
- "type": "string",
3491
- "nullable": true
3492
- },
3493
- "authorizationAttribute": {
3494
- "type": "string",
3495
- "nullable": true
3496
- },
3497
- "relatedDialogElementId": {
3498
- "type": "string",
3499
- "format": "guid",
3500
- "nullable": true
3501
- },
3502
- "displayName": {
3503
- "type": "array",
3504
- "items": {
3505
- "$ref": "#/components/schemas/LocalizationDto"
3506
- }
3507
- },
3508
- "urls": {
3509
- "type": "array",
3510
- "items": {
3511
- "$ref": "#/components/schemas/UpdateDialogDialogElementUrlDto"
3512
- }
3513
- }
3514
- }
3515
- },
3516
3098
  "CreateDialogActivityRequest": {
3517
3099
  "type": "object",
3518
3100
  "additionalProperties": false,
@@ -3540,11 +3122,6 @@
3540
3122
  "format": "guid",
3541
3123
  "nullable": true
3542
3124
  },
3543
- "dialogElementId": {
3544
- "type": "string",
3545
- "format": "guid",
3546
- "nullable": true
3547
- },
3548
3125
  "performedBy": {
3549
3126
  "type": "string",
3550
3127
  "nullable": true
@@ -3774,11 +3351,6 @@
3774
3351
  "format": "guid",
3775
3352
  "nullable": true
3776
3353
  },
3777
- "dialogElementId": {
3778
- "type": "string",
3779
- "format": "guid",
3780
- "nullable": true
3781
- },
3782
3354
  "performedBy": {
3783
3355
  "type": "string",
3784
3356
  "nullable": true
@@ -3903,10 +3475,10 @@
3903
3475
  "type": "string",
3904
3476
  "nullable": true
3905
3477
  },
3906
- "elements": {
3478
+ "attachments": {
3907
3479
  "type": "array",
3908
3480
  "items": {
3909
- "$ref": "#/components/schemas/GetDialogDialogElementDto"
3481
+ "$ref": "#/components/schemas/GetDialogDialogAttachmentDto"
3910
3482
  }
3911
3483
  },
3912
3484
  "guiActions": {
@@ -3947,10 +3519,14 @@
3947
3519
  "items": {
3948
3520
  "$ref": "#/components/schemas/LocalizationDto"
3949
3521
  }
3522
+ },
3523
+ "mediaType": {
3524
+ "type": "string",
3525
+ "nullable": true
3950
3526
  }
3951
3527
  }
3952
3528
  },
3953
- "GetDialogDialogElementDto": {
3529
+ "GetDialogDialogAttachmentDto": {
3954
3530
  "type": "object",
3955
3531
  "additionalProperties": false,
3956
3532
  "properties": {
@@ -3958,27 +3534,6 @@
3958
3534
  "type": "string",
3959
3535
  "format": "guid"
3960
3536
  },
3961
- "type": {
3962
- "type": "string",
3963
- "format": "uri",
3964
- "nullable": true
3965
- },
3966
- "externalReference": {
3967
- "type": "string",
3968
- "nullable": true
3969
- },
3970
- "authorizationAttribute": {
3971
- "type": "string",
3972
- "nullable": true
3973
- },
3974
- "isAuthorized": {
3975
- "type": "boolean"
3976
- },
3977
- "relatedDialogElementId": {
3978
- "type": "string",
3979
- "format": "guid",
3980
- "nullable": true
3981
- },
3982
3537
  "displayName": {
3983
3538
  "type": "array",
3984
3539
  "items": {
@@ -3988,12 +3543,12 @@
3988
3543
  "urls": {
3989
3544
  "type": "array",
3990
3545
  "items": {
3991
- "$ref": "#/components/schemas/GetDialogDialogElementUrlDto"
3546
+ "$ref": "#/components/schemas/GetDialogDialogAttachmentUrlDto"
3992
3547
  }
3993
3548
  }
3994
3549
  }
3995
3550
  },
3996
- "GetDialogDialogElementUrlDto": {
3551
+ "GetDialogDialogAttachmentUrlDto": {
3997
3552
  "type": "object",
3998
3553
  "additionalProperties": false,
3999
3554
  "properties": {
@@ -4010,7 +3565,7 @@
4010
3565
  "nullable": true
4011
3566
  },
4012
3567
  "consumerType": {
4013
- "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
3568
+ "$ref": "#/components/schemas/DialogAttachmentUrlConsumerType_Values"
4014
3569
  }
4015
3570
  }
4016
3571
  },
@@ -4078,11 +3633,6 @@
4078
3633
  "isAuthorized": {
4079
3634
  "type": "boolean"
4080
3635
  },
4081
- "dialogElementId": {
4082
- "type": "string",
4083
- "format": "guid",
4084
- "nullable": true
4085
- },
4086
3636
  "endpoints": {
4087
3637
  "type": "array",
4088
3638
  "items": {
@@ -4161,11 +3711,6 @@
4161
3711
  "format": "guid",
4162
3712
  "nullable": true
4163
3713
  },
4164
- "dialogElementId": {
4165
- "type": "string",
4166
- "format": "guid",
4167
- "nullable": true
4168
- },
4169
3714
  "performedBy": {
4170
3715
  "type": "string",
4171
3716
  "nullable": true