@digdir/dialogporten-schema 1.0.7

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.
@@ -0,0 +1,4380 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "Dialogporten",
5
+ "version": "v1"
6
+ },
7
+ "servers": [
8
+ {
9
+ "url": "https://altinn-dev-api.azure-api.net/dialogporten"
10
+ }
11
+ ],
12
+ "paths": {
13
+ "/api/v1/.well-known/oauth-authorization-server": {
14
+ "get": {
15
+ "tags": [
16
+ "Metadata"
17
+ ],
18
+ "summary": "Gets the OAuth 2.0 Metadata for automatic configuration of clients verifying dialog tokens.",
19
+ "description": "This endpoint can be used by client integrations supporting automatic discovery of \"OAuth 2.0 Authorization Server\" metadata, enabling verification of dialog tokens issues by Dialogporten.",
20
+ "operationId": "GetOauthAuthorizationServer",
21
+ "responses": {
22
+ "200": {
23
+ "description": "The OAuth 2.0 Authorization Server Metadata",
24
+ "content": {
25
+ "application/json": {
26
+ "schema": {
27
+ "$ref": "#/components/schemas/GetOauthAuthorizationServerDto"
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ },
35
+ "/api/v1/.well-known/jwks.json": {
36
+ "get": {
37
+ "tags": [
38
+ "Metadata"
39
+ ],
40
+ "summary": "Gets the JSON Web Key Set (JWKS) containing the public keys used to verify dialog token signatures",
41
+ "description": "This endpoint can be used by client integrations supporting automatic discovery of \"OAuth 2.0 Authorization Server\" metadata, enabling verification of dialog tokens issues by Dialogporten.",
42
+ "operationId": "GetJwks",
43
+ "responses": {
44
+ "200": {
45
+ "description": "The OAuth 2.0 Authorization Server Metadata",
46
+ "content": {
47
+ "application/json": {
48
+ "schema": {
49
+ "$ref": "#/components/schemas/GetJwksDto"
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ },
57
+ "/api/v1/serviceowner/dialogs/{dialogId}/seenlog": {
58
+ "get": {
59
+ "tags": [
60
+ "Serviceowner"
61
+ ],
62
+ "summary": "Gets a single dialog seen log record",
63
+ "description": "Gets a single dialog seen log record. For more information see the documentation (link TBD).",
64
+ "operationId": "SearchDialogSeenLogSO",
65
+ "parameters": [
66
+ {
67
+ "name": "dialogId",
68
+ "in": "path",
69
+ "required": true,
70
+ "schema": {
71
+ "type": "string",
72
+ "format": "guid"
73
+ }
74
+ }
75
+ ],
76
+ "responses": {
77
+ "401": {
78
+ "description": "Unauthorized"
79
+ },
80
+ "403": {
81
+ "description": "Forbidden"
82
+ },
83
+ "200": {
84
+ "description": "Successfully returned the dialog seen log record.",
85
+ "content": {
86
+ "application/json": {
87
+ "schema": {
88
+ "type": "array",
89
+ "items": {
90
+ "$ref": "#/components/schemas/SearchDialogSeenLogDtoSO"
91
+ }
92
+ }
93
+ }
94
+ }
95
+ },
96
+ "404": {
97
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
98
+ "content": {
99
+ "application/problem+json": {
100
+ "schema": {
101
+ "$ref": "#/components/schemas/ProblemDetails"
102
+ }
103
+ }
104
+ }
105
+ }
106
+ },
107
+ "security": [
108
+ {
109
+ "JWTBearerAuth": []
110
+ }
111
+ ]
112
+ }
113
+ },
114
+ "/api/v1/serviceowner/dialogs/{dialogId}/seenlog/{seenLogId}": {
115
+ "get": {
116
+ "tags": [
117
+ "Serviceowner"
118
+ ],
119
+ "summary": "Gets a single dialog seen log record",
120
+ "description": "Gets a single dialog seen log record. For more information see the documentation (link TBD).",
121
+ "operationId": "GetDialogSeenLogSO",
122
+ "parameters": [
123
+ {
124
+ "name": "dialogId",
125
+ "in": "path",
126
+ "required": true,
127
+ "schema": {
128
+ "type": "string",
129
+ "format": "guid"
130
+ }
131
+ },
132
+ {
133
+ "name": "seenLogId",
134
+ "in": "path",
135
+ "required": true,
136
+ "schema": {
137
+ "type": "string",
138
+ "format": "guid"
139
+ }
140
+ }
141
+ ],
142
+ "responses": {
143
+ "401": {
144
+ "description": "Unauthorized"
145
+ },
146
+ "403": {
147
+ "description": "Forbidden"
148
+ },
149
+ "200": {
150
+ "description": "Successfully returned the dialog seen log record.",
151
+ "content": {
152
+ "application/json": {
153
+ "schema": {
154
+ "$ref": "#/components/schemas/GetDialogSeenLogDtoSO"
155
+ }
156
+ }
157
+ }
158
+ },
159
+ "404": {
160
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
161
+ "content": {
162
+ "application/problem+json": {
163
+ "schema": {
164
+ "$ref": "#/components/schemas/ProblemDetails"
165
+ }
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "security": [
171
+ {
172
+ "JWTBearerAuth": []
173
+ }
174
+ ]
175
+ }
176
+ },
177
+ "/api/v1/serviceowner/dialogs/{dialogId}": {
178
+ "put": {
179
+ "tags": [
180
+ "Serviceowner"
181
+ ],
182
+ "summary": "Replaces a dialog",
183
+ "description": "Replaces a given dialog with the supplied model. 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.",
184
+ "operationId": "ReplaceDialog",
185
+ "parameters": [
186
+ {
187
+ "name": "dialogId",
188
+ "in": "path",
189
+ "required": true,
190
+ "schema": {
191
+ "type": "string",
192
+ "format": "guid"
193
+ }
194
+ },
195
+ {
196
+ "name": "if-Match",
197
+ "in": "header",
198
+ "schema": {
199
+ "type": "string",
200
+ "format": "guid",
201
+ "nullable": true
202
+ }
203
+ }
204
+ ],
205
+ "requestBody": {
206
+ "x-name": "dto",
207
+ "content": {
208
+ "application/json": {
209
+ "schema": {
210
+ "oneOf": [
211
+ {
212
+ "$ref": "#/components/schemas/UpdateDialogDto"
213
+ }
214
+ ]
215
+ },
216
+ "example": {
217
+ "Progress": 42,
218
+ "ExtendedStatus": "Some extended status",
219
+ "ExternalReference": "Some external reference",
220
+ "VisibleFrom": "2054-03-04T12:13:10.01344+00:00",
221
+ "DueAt": "2084-04-04T12:13:10.01344+00:00",
222
+ "ExpiresAt": "2095-05-04T12:13:10.01344+00:00",
223
+ "Status": 1,
224
+ "Content": [
225
+ {
226
+ "Type": 1,
227
+ "Value": [
228
+ {
229
+ "Value": "Some Title",
230
+ "CultureCode": "en-us"
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "Type": 3,
236
+ "Value": [
237
+ {
238
+ "Value": "Some Summary",
239
+ "CultureCode": "en-us"
240
+ }
241
+ ]
242
+ }
243
+ ],
244
+ "SearchTags": [
245
+ {
246
+ "Value": "searchTag"
247
+ },
248
+ {
249
+ "Value": "anotherSearchTag"
250
+ }
251
+ ],
252
+ "Elements": [
253
+ {
254
+ "Id": "02a72809-eddd-4192-864d-8f1755d72f4e",
255
+ "Type": "http://example.com/some-type",
256
+ "ExternalReference": null,
257
+ "AuthorizationAttribute": null,
258
+ "RelatedDialogElementId": null,
259
+ "DisplayName": [
260
+ {
261
+ "Value": "Some display name",
262
+ "CultureCode": "en-us"
263
+ }
264
+ ],
265
+ "Urls": [
266
+ {
267
+ "Id": "858177cb-8584-4d10-a086-3a5defa7a6c3",
268
+ "Url": "http://example.com/some-url",
269
+ "MimeType": "application/json",
270
+ "ConsumerType": 0
271
+ }
272
+ ]
273
+ }
274
+ ],
275
+ "GuiActions": [
276
+ {
277
+ "Id": "8c64ecc8-7678-44b2-8788-0b5852dd8fa0",
278
+ "Action": "submit",
279
+ "Url": "https://example.com/some-url",
280
+ "AuthorizationAttribute": null,
281
+ "IsBackChannel": false,
282
+ "IsDeleteAction": false,
283
+ "Priority": 1,
284
+ "Title": [
285
+ {
286
+ "Value": "GUI action title",
287
+ "CultureCode": "en-us"
288
+ },
289
+ {
290
+ "Value": "GUI action-tittel",
291
+ "CultureCode": "nb-no"
292
+ }
293
+ ]
294
+ }
295
+ ],
296
+ "ApiActions": [
297
+ {
298
+ "Id": "948b07ba-1a82-403e-8eaa-2e5784af07a9",
299
+ "Action": "submit",
300
+ "AuthorizationAttribute": null,
301
+ "DialogElementId": null,
302
+ "Endpoints": [
303
+ {
304
+ "Id": null,
305
+ "Version": "20231015",
306
+ "Url": "https://example.com/some-api-action",
307
+ "HttpMethod": 2,
308
+ "DocumentationUrl": "https://example.com/some-api-action-doc",
309
+ "RequestSchema": "https://example.com/some-api-action-request-schema",
310
+ "ResponseSchema": "https://example.com/some-api-action-response-schema",
311
+ "Deprecated": false,
312
+ "SunsetAt": null
313
+ }
314
+ ]
315
+ }
316
+ ],
317
+ "Activities": [
318
+ {
319
+ "Id": "8b95d42d-d2b6-4c01-8ca0-a817a4b3c50d",
320
+ "CreatedAt": null,
321
+ "ExtendedType": null,
322
+ "Type": 3,
323
+ "RelatedActivityId": null,
324
+ "DialogElementId": null,
325
+ "PerformedBy": [
326
+ {
327
+ "Value": "Some performer",
328
+ "CultureCode": "en-us"
329
+ },
330
+ {
331
+ "Value": "En utfører",
332
+ "CultureCode": "nb-no"
333
+ }
334
+ ],
335
+ "Description": [
336
+ {
337
+ "Value": "Some description",
338
+ "CultureCode": "en-us"
339
+ },
340
+ {
341
+ "Value": "En beskrivelse",
342
+ "CultureCode": "nb-no"
343
+ }
344
+ ]
345
+ }
346
+ ]
347
+ }
348
+ }
349
+ },
350
+ "required": true
351
+ },
352
+ "responses": {
353
+ "401": {
354
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
355
+ },
356
+ "403": {
357
+ "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
358
+ },
359
+ "204": {
360
+ "description": "The dialog aggregate was updated successfully."
361
+ },
362
+ "400": {
363
+ "description": "Validation error occured. See problem details for a list of errors.",
364
+ "content": {
365
+ "application/problem+json": {
366
+ "schema": {
367
+ "$ref": "#/components/schemas/ProblemDetails"
368
+ }
369
+ }
370
+ }
371
+ },
372
+ "404": {
373
+ "description": "The given dialog ID was not found or is already deleted.",
374
+ "content": {
375
+ "application/problem+json": {
376
+ "schema": {
377
+ "$ref": "#/components/schemas/ProblemDetails"
378
+ }
379
+ }
380
+ }
381
+ },
382
+ "412": {
383
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
384
+ "content": {
385
+ "application/problem+json": {
386
+ "schema": {
387
+ "$ref": "#/components/schemas/ProblemDetails"
388
+ }
389
+ }
390
+ }
391
+ },
392
+ "422": {
393
+ "description": "Domain error occured. See problem details for a list of errors.",
394
+ "content": {
395
+ "application/problem+json": {
396
+ "schema": {
397
+ "$ref": "#/components/schemas/ProblemDetails"
398
+ }
399
+ }
400
+ }
401
+ }
402
+ },
403
+ "security": [
404
+ {
405
+ "JWTBearerAuth": []
406
+ }
407
+ ]
408
+ },
409
+ "get": {
410
+ "tags": [
411
+ "Serviceowner"
412
+ ],
413
+ "summary": "Gets a single dialog",
414
+ "description": "Gets a single dialog aggregate. For more information see the documentation (link TBD).\n\nNote that this operation may return deleted dialogs (see the field `DeletedAt`).",
415
+ "operationId": "GetDialogSO",
416
+ "parameters": [
417
+ {
418
+ "name": "dialogId",
419
+ "in": "path",
420
+ "required": true,
421
+ "schema": {
422
+ "type": "string",
423
+ "format": "guid"
424
+ }
425
+ }
426
+ ],
427
+ "responses": {
428
+ "401": {
429
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
430
+ },
431
+ "403": {
432
+ "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
433
+ },
434
+ "200": {
435
+ "description": "Successfully returned the dialog aggregate.",
436
+ "content": {
437
+ "application/json": {
438
+ "schema": {
439
+ "$ref": "#/components/schemas/GetDialogDtoSO"
440
+ }
441
+ }
442
+ }
443
+ },
444
+ "404": {
445
+ "description": "The given dialog ID was not found or is already deleted.",
446
+ "content": {
447
+ "application/problem+json": {
448
+ "schema": {
449
+ "$ref": "#/components/schemas/ProblemDetails"
450
+ }
451
+ }
452
+ }
453
+ }
454
+ },
455
+ "security": [
456
+ {
457
+ "JWTBearerAuth": []
458
+ }
459
+ ]
460
+ },
461
+ "delete": {
462
+ "tags": [
463
+ "Serviceowner"
464
+ ],
465
+ "summary": "Deletes a dialog",
466
+ "description": "Deletes a given dialog (soft delete). For more information see the documentation (link TBD).\n\nNote that the dialog will still be available on the single details endpoint, but will have a deleted status. It will not appear on the list endpoint for either service owners nor end users.\nIf end users attempt to access the dialog via the details endpoint, they will get a 410 Gone response.\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 deleted by another request in the meantime.",
467
+ "operationId": "DeleteDialog",
468
+ "parameters": [
469
+ {
470
+ "name": "dialogId",
471
+ "in": "path",
472
+ "required": true,
473
+ "schema": {
474
+ "type": "string",
475
+ "format": "guid"
476
+ }
477
+ },
478
+ {
479
+ "name": "if-Match",
480
+ "in": "header",
481
+ "schema": {
482
+ "type": "string",
483
+ "format": "guid",
484
+ "nullable": true
485
+ }
486
+ }
487
+ ],
488
+ "responses": {
489
+ "401": {
490
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
491
+ },
492
+ "403": {
493
+ "description": "Unauthorized to delete the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
494
+ },
495
+ "204": {
496
+ "description": "The dialog aggregate was deleted successfully."
497
+ },
498
+ "404": {
499
+ "description": "The given dialog ID was not found or is already deleted.",
500
+ "content": {
501
+ "application/problem+json": {
502
+ "schema": {
503
+ "$ref": "#/components/schemas/ProblemDetails"
504
+ }
505
+ }
506
+ }
507
+ },
508
+ "412": {
509
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
510
+ "content": {
511
+ "application/problem+json": {
512
+ "schema": {
513
+ "$ref": "#/components/schemas/ProblemDetails"
514
+ }
515
+ }
516
+ }
517
+ }
518
+ },
519
+ "security": [
520
+ {
521
+ "JWTBearerAuth": []
522
+ }
523
+ ]
524
+ },
525
+ "patch": {
526
+ "tags": [
527
+ "Serviceowner"
528
+ ],
529
+ "summary": "Patch a single dialog",
530
+ "description": "Patches a dialog aggregate with a RFC6902 JSON Patch document. The patch document must be a JSON array of RFC6902 operations.\nSee [https://tools.ietf.org/html/rfc6902](https://tools.ietf.org/html/rfc6902) for more information.\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.",
531
+ "operationId": "PatchDialogs_Patch",
532
+ "parameters": [
533
+ {
534
+ "name": "dialogId",
535
+ "in": "path",
536
+ "required": true,
537
+ "schema": {
538
+ "type": "string",
539
+ "format": "guid"
540
+ },
541
+ "x-position": 1
542
+ },
543
+ {
544
+ "name": "If-Match",
545
+ "x-originalName": "etag",
546
+ "in": "header",
547
+ "schema": {
548
+ "type": "string",
549
+ "format": "guid",
550
+ "nullable": true
551
+ },
552
+ "x-position": 2
553
+ }
554
+ ],
555
+ "requestBody": {
556
+ "x-name": "patchDocument",
557
+ "content": {
558
+ "application/json": {
559
+ "schema": {
560
+ "type": "array",
561
+ "items": {
562
+ "$ref": "#/components/schemas/Operation"
563
+ }
564
+ }
565
+ }
566
+ },
567
+ "required": true,
568
+ "x-position": 3
569
+ },
570
+ "responses": {
571
+ "204": {
572
+ "description": "Patch was successfully applied."
573
+ },
574
+ "400": {
575
+ "description": "Validation error occured. See problem details for a list of errors.",
576
+ "content": {
577
+ "application/json": {
578
+ "schema": {
579
+ "$ref": "#/components/schemas/ProblemDetails"
580
+ }
581
+ }
582
+ }
583
+ },
584
+ "401": {
585
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \\\"digdir:dialogporten.serviceprovider\\\""
586
+ },
587
+ "403": {
588
+ "description": "Unauthorized to update a dialog for the given serviceResource (not owned by authenticated organization or has additional scope requirements defined in policy)"
589
+ },
590
+ "404": {
591
+ "description": "The given dialog ID was not found or is deleted",
592
+ "content": {
593
+ "application/json": {
594
+ "schema": {
595
+ "$ref": "#/components/schemas/ProblemDetails"
596
+ }
597
+ }
598
+ }
599
+ },
600
+ "412": {
601
+ "description": "The supplied Revision does not match the current Revision of the dialog",
602
+ "content": {
603
+ "application/json": {
604
+ "schema": {
605
+ "$ref": "#/components/schemas/ProblemDetails"
606
+ }
607
+ }
608
+ }
609
+ },
610
+ "422": {
611
+ "description": "Domain error occured. See problem details for a list of errors.",
612
+ "content": {
613
+ "application/json": {
614
+ "schema": {
615
+ "$ref": "#/components/schemas/ProblemDetails"
616
+ }
617
+ }
618
+ }
619
+ }
620
+ },
621
+ "security": [
622
+ {
623
+ "JWTBearerAuth": []
624
+ }
625
+ ]
626
+ }
627
+ },
628
+ "/api/v1/serviceowner/dialogs": {
629
+ "get": {
630
+ "tags": [
631
+ "Serviceowner"
632
+ ],
633
+ "summary": "Gets a list of dialogs",
634
+ "description": "Performs a search for dialogs, returning a paginated list of dialogs. For more information see the documentation (link TBD).\n\n* All date parameters must contain explicit time zone. Example: 2023-10-27T10:00:00Z or 2023-10-27T10:00:00+01:00\n* See \"continuationToken\" in the response for how to get the next page of results.\n* hasNextPage will be set to true if there are more items to get.",
635
+ "operationId": "GetDialogListSO",
636
+ "parameters": [
637
+ {
638
+ "name": "serviceResource",
639
+ "in": "query",
640
+ "style": "form",
641
+ "explode": true,
642
+ "description": "Filter by one or more service resources",
643
+ "schema": {
644
+ "type": "array",
645
+ "nullable": true,
646
+ "items": {
647
+ "type": "string"
648
+ }
649
+ }
650
+ },
651
+ {
652
+ "name": "party",
653
+ "in": "query",
654
+ "style": "form",
655
+ "explode": true,
656
+ "description": "Filter by one or more owning parties",
657
+ "schema": {
658
+ "type": "array",
659
+ "nullable": true,
660
+ "items": {
661
+ "type": "string"
662
+ }
663
+ }
664
+ },
665
+ {
666
+ "name": "endUserId",
667
+ "in": "query",
668
+ "description": "Filter by end user id",
669
+ "schema": {
670
+ "type": "string",
671
+ "nullable": true
672
+ }
673
+ },
674
+ {
675
+ "name": "extendedStatus",
676
+ "in": "query",
677
+ "style": "form",
678
+ "explode": true,
679
+ "description": "Filter by one or more extended statuses",
680
+ "schema": {
681
+ "type": "array",
682
+ "nullable": true,
683
+ "items": {
684
+ "type": "string"
685
+ }
686
+ }
687
+ },
688
+ {
689
+ "name": "externalReference",
690
+ "in": "query",
691
+ "description": "Filter by external reference",
692
+ "schema": {
693
+ "type": "string",
694
+ "nullable": true
695
+ }
696
+ },
697
+ {
698
+ "name": "status",
699
+ "in": "query",
700
+ "style": "form",
701
+ "explode": true,
702
+ "description": "Filter by status",
703
+ "schema": {
704
+ "type": "array",
705
+ "nullable": true,
706
+ "items": {
707
+ "$ref": "#/components/schemas/DialogStatus_Values"
708
+ }
709
+ }
710
+ },
711
+ {
712
+ "name": "createdAfter",
713
+ "in": "query",
714
+ "description": "Only return dialogs created after this date",
715
+ "schema": {
716
+ "type": "string",
717
+ "format": "date-time",
718
+ "nullable": true
719
+ }
720
+ },
721
+ {
722
+ "name": "createdBefore",
723
+ "in": "query",
724
+ "description": "Only return dialogs created before this date",
725
+ "schema": {
726
+ "type": "string",
727
+ "format": "date-time",
728
+ "nullable": true
729
+ }
730
+ },
731
+ {
732
+ "name": "updatedAfter",
733
+ "in": "query",
734
+ "description": "Only return dialogs updated after this date",
735
+ "schema": {
736
+ "type": "string",
737
+ "format": "date-time",
738
+ "nullable": true
739
+ }
740
+ },
741
+ {
742
+ "name": "updatedBefore",
743
+ "in": "query",
744
+ "description": "Only return dialogs updated before this date",
745
+ "schema": {
746
+ "type": "string",
747
+ "format": "date-time",
748
+ "nullable": true
749
+ }
750
+ },
751
+ {
752
+ "name": "dueAfter",
753
+ "in": "query",
754
+ "description": "Only return dialogs with due date after this date",
755
+ "schema": {
756
+ "type": "string",
757
+ "format": "date-time",
758
+ "nullable": true
759
+ }
760
+ },
761
+ {
762
+ "name": "dueBefore",
763
+ "in": "query",
764
+ "description": "Only return dialogs with due date before this date",
765
+ "schema": {
766
+ "type": "string",
767
+ "format": "date-time",
768
+ "nullable": true
769
+ }
770
+ },
771
+ {
772
+ "name": "visibleAfter",
773
+ "in": "query",
774
+ "description": "Only return dialogs with visible-from date after this date",
775
+ "schema": {
776
+ "type": "string",
777
+ "format": "date-time",
778
+ "nullable": true
779
+ }
780
+ },
781
+ {
782
+ "name": "visibleBefore",
783
+ "in": "query",
784
+ "description": "Only return dialogs with visible-from date before this date",
785
+ "schema": {
786
+ "type": "string",
787
+ "format": "date-time",
788
+ "nullable": true
789
+ }
790
+ },
791
+ {
792
+ "name": "search",
793
+ "in": "query",
794
+ "description": "Search string for free text search. Will attempt to fuzzily match in all free text fields in the aggregate",
795
+ "schema": {
796
+ "type": "string",
797
+ "nullable": true
798
+ }
799
+ },
800
+ {
801
+ "name": "searchCultureCode",
802
+ "in": "query",
803
+ "description": "Limit free text search to texts with this culture code, e.g. \\\"nb-NO\\\". Default: search all culture codes",
804
+ "schema": {
805
+ "type": "string",
806
+ "nullable": true
807
+ }
808
+ },
809
+ {
810
+ "name": "orderBy",
811
+ "in": "query",
812
+ "schema": {
813
+ "nullable": true,
814
+ "oneOf": [
815
+ {
816
+ "$ref": "#/components/schemas/OrderSetOfTOrderDefinitionAndTTarget"
817
+ }
818
+ ]
819
+ }
820
+ },
821
+ {
822
+ "name": "continuationToken",
823
+ "in": "query",
824
+ "description": "Supply \"continuationToken\" for the response to get the next page of results, if hasNextPage is true",
825
+ "schema": {
826
+ "nullable": true,
827
+ "oneOf": [
828
+ {
829
+ "$ref": "#/components/schemas/ContinuationTokenSetOfTOrderDefinitionAndTTarget"
830
+ }
831
+ ]
832
+ }
833
+ },
834
+ {
835
+ "name": "limit",
836
+ "in": "query",
837
+ "description": "Limit the number of results per page (1-1000, default: 100)",
838
+ "schema": {
839
+ "type": "integer",
840
+ "format": "int32",
841
+ "nullable": true
842
+ }
843
+ }
844
+ ],
845
+ "responses": {
846
+ "200": {
847
+ "description": "Successfully returned the dialog list.",
848
+ "content": {
849
+ "application/json": {
850
+ "schema": {
851
+ "$ref": "#/components/schemas/PaginatedListOfSearchDialogDtoSO"
852
+ }
853
+ }
854
+ }
855
+ },
856
+ "401": {
857
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider.search\"."
858
+ }
859
+ },
860
+ "security": [
861
+ {
862
+ "JWTBearerAuth": []
863
+ }
864
+ ]
865
+ },
866
+ "post": {
867
+ "tags": [
868
+ "Serviceowner"
869
+ ],
870
+ "summary": "Creates a new dialog",
871
+ "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)",
872
+ "operationId": "CreateDialog",
873
+ "requestBody": {
874
+ "x-name": "CreateDialogCommand",
875
+ "description": "",
876
+ "content": {
877
+ "application/json": {
878
+ "schema": {
879
+ "$ref": "#/components/schemas/CreateDialogCommand"
880
+ }
881
+ }
882
+ },
883
+ "required": true,
884
+ "x-position": 1
885
+ },
886
+ "responses": {
887
+ "401": {
888
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
889
+ },
890
+ "403": {
891
+ "description": "Unauthorized to create a dialog for the given serviceResource (not owned by authenticated organization or has additional scope requirements defined in policy)."
892
+ },
893
+ "201": {
894
+ "description": "The UUID of the created the dialog aggregate. A relative URL to the newly created activity is set in the \"Location\" header.",
895
+ "content": {
896
+ "application/json": {
897
+ "schema": {
898
+ "type": "string"
899
+ },
900
+ "example": "018bb8e5-d9d0-7434-8ec5-569a6c8e01fc"
901
+ }
902
+ }
903
+ },
904
+ "400": {
905
+ "description": "Validation error occured. See problem details for a list of errors.",
906
+ "content": {
907
+ "application/problem+json": {
908
+ "schema": {
909
+ "$ref": "#/components/schemas/ProblemDetails"
910
+ }
911
+ }
912
+ }
913
+ },
914
+ "422": {
915
+ "description": "Domain error occured. See problem details for a list of errors.",
916
+ "content": {
917
+ "application/problem+json": {
918
+ "schema": {
919
+ "$ref": "#/components/schemas/ProblemDetails"
920
+ }
921
+ }
922
+ }
923
+ }
924
+ },
925
+ "security": [
926
+ {
927
+ "JWTBearerAuth": []
928
+ }
929
+ ]
930
+ }
931
+ },
932
+ "/api/v1/serviceowner/dialogs/{dialogId}/actions/purge": {
933
+ "post": {
934
+ "tags": [
935
+ "Serviceowner"
936
+ ],
937
+ "summary": "Permanently deletes a dialog",
938
+ "description": "Deletes a given dialog (hard delete). 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 deleted by another request in the meantime.",
939
+ "operationId": "PurgeDialog",
940
+ "parameters": [
941
+ {
942
+ "name": "dialogId",
943
+ "in": "path",
944
+ "required": true,
945
+ "schema": {
946
+ "type": "string",
947
+ "format": "guid"
948
+ }
949
+ },
950
+ {
951
+ "name": "if-Match",
952
+ "in": "header",
953
+ "schema": {
954
+ "type": "string",
955
+ "format": "guid",
956
+ "nullable": true
957
+ }
958
+ }
959
+ ],
960
+ "responses": {
961
+ "401": {
962
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
963
+ },
964
+ "403": {
965
+ "description": "Unauthorized to delete the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
966
+ },
967
+ "204": {
968
+ "description": "The dialog aggregate was deleted successfully."
969
+ },
970
+ "404": {
971
+ "description": "The given dialog ID was not found or is already deleted.",
972
+ "content": {
973
+ "application/problem+json": {
974
+ "schema": {
975
+ "$ref": "#/components/schemas/ProblemDetails"
976
+ }
977
+ }
978
+ }
979
+ },
980
+ "412": {
981
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
982
+ "content": {
983
+ "application/problem+json": {
984
+ "schema": {
985
+ "$ref": "#/components/schemas/ProblemDetails"
986
+ }
987
+ }
988
+ }
989
+ }
990
+ },
991
+ "security": [
992
+ {
993
+ "JWTBearerAuth": []
994
+ }
995
+ ]
996
+ }
997
+ },
998
+ "/api/v1/serviceowner/dialogs/{dialogId}/elements/{elementId}": {
999
+ "put": {
1000
+ "tags": [
1001
+ "Serviceowner"
1002
+ ],
1003
+ "summary": "Replaces a dialog element",
1004
+ "description": "Replaces a given dialog element with the supplied model. 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 deleted by another request in the meantime.",
1005
+ "operationId": "ReplaceDialogElement",
1006
+ "parameters": [
1007
+ {
1008
+ "name": "dialogId",
1009
+ "in": "path",
1010
+ "required": true,
1011
+ "schema": {
1012
+ "type": "string",
1013
+ "format": "guid"
1014
+ }
1015
+ },
1016
+ {
1017
+ "name": "elementId",
1018
+ "in": "path",
1019
+ "required": true,
1020
+ "schema": {
1021
+ "type": "string",
1022
+ "format": "guid"
1023
+ }
1024
+ },
1025
+ {
1026
+ "name": "if-Match",
1027
+ "in": "header",
1028
+ "schema": {
1029
+ "type": "string",
1030
+ "format": "guid",
1031
+ "nullable": true
1032
+ }
1033
+ }
1034
+ ],
1035
+ "requestBody": {
1036
+ "x-name": "UpdateDialogElementRequest",
1037
+ "description": "",
1038
+ "content": {
1039
+ "application/json": {
1040
+ "schema": {
1041
+ "$ref": "#/components/schemas/UpdateDialogElementRequest"
1042
+ }
1043
+ }
1044
+ },
1045
+ "required": true,
1046
+ "x-position": 1
1047
+ },
1048
+ "responses": {
1049
+ "401": {
1050
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1051
+ },
1052
+ "403": {
1053
+ "description": "Unauthorized to update child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1054
+ },
1055
+ "204": {
1056
+ "description": "The dialog element was updated successfully."
1057
+ },
1058
+ "400": {
1059
+ "description": "Validation error occured. See problem details for a list of errors.",
1060
+ "content": {
1061
+ "application/problem+json": {
1062
+ "schema": {
1063
+ "$ref": "#/components/schemas/ProblemDetails"
1064
+ }
1065
+ }
1066
+ }
1067
+ },
1068
+ "404": {
1069
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1070
+ "content": {
1071
+ "application/problem+json": {
1072
+ "schema": {
1073
+ "$ref": "#/components/schemas/ProblemDetails"
1074
+ }
1075
+ }
1076
+ }
1077
+ },
1078
+ "412": {
1079
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
1080
+ "content": {
1081
+ "application/problem+json": {
1082
+ "schema": {
1083
+ "$ref": "#/components/schemas/ProblemDetails"
1084
+ }
1085
+ }
1086
+ }
1087
+ },
1088
+ "422": {
1089
+ "description": "Domain error occured. See problem details for a list of errors.",
1090
+ "content": {
1091
+ "application/problem+json": {
1092
+ "schema": {
1093
+ "$ref": "#/components/schemas/ProblemDetails"
1094
+ }
1095
+ }
1096
+ }
1097
+ }
1098
+ },
1099
+ "security": [
1100
+ {
1101
+ "JWTBearerAuth": []
1102
+ }
1103
+ ]
1104
+ },
1105
+ "get": {
1106
+ "tags": [
1107
+ "Serviceowner"
1108
+ ],
1109
+ "summary": "Gets a single dialog element",
1110
+ "description": "Gets a single element belonging to a dialog. For more information see the documentation (link TBD).",
1111
+ "operationId": "GetDialogElementSO",
1112
+ "parameters": [
1113
+ {
1114
+ "name": "dialogId",
1115
+ "in": "path",
1116
+ "required": true,
1117
+ "schema": {
1118
+ "type": "string",
1119
+ "format": "guid"
1120
+ }
1121
+ },
1122
+ {
1123
+ "name": "elementId",
1124
+ "in": "path",
1125
+ "required": true,
1126
+ "schema": {
1127
+ "type": "string",
1128
+ "format": "guid"
1129
+ }
1130
+ }
1131
+ ],
1132
+ "responses": {
1133
+ "401": {
1134
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1135
+ },
1136
+ "403": {
1137
+ "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)."
1138
+ },
1139
+ "200": {
1140
+ "description": "Successfully returned the dialog element."
1141
+ },
1142
+ "404": {
1143
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1144
+ "content": {
1145
+ "application/problem+json": {
1146
+ "schema": {
1147
+ "$ref": "#/components/schemas/ProblemDetails"
1148
+ }
1149
+ }
1150
+ }
1151
+ }
1152
+ },
1153
+ "security": [
1154
+ {
1155
+ "JWTBearerAuth": []
1156
+ }
1157
+ ]
1158
+ },
1159
+ "delete": {
1160
+ "tags": [
1161
+ "Serviceowner"
1162
+ ],
1163
+ "summary": "Deletes a dialog element",
1164
+ "description": "Deletes a given dialog element (hard delete). 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.",
1165
+ "operationId": "DeleteDialogElement",
1166
+ "parameters": [
1167
+ {
1168
+ "name": "dialogId",
1169
+ "in": "path",
1170
+ "required": true,
1171
+ "schema": {
1172
+ "type": "string",
1173
+ "format": "guid"
1174
+ }
1175
+ },
1176
+ {
1177
+ "name": "elementId",
1178
+ "in": "path",
1179
+ "required": true,
1180
+ "schema": {
1181
+ "type": "string",
1182
+ "format": "guid"
1183
+ }
1184
+ },
1185
+ {
1186
+ "name": "if-Match",
1187
+ "in": "header",
1188
+ "schema": {
1189
+ "type": "string",
1190
+ "format": "guid",
1191
+ "nullable": true
1192
+ }
1193
+ }
1194
+ ],
1195
+ "responses": {
1196
+ "401": {
1197
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1198
+ },
1199
+ "403": {
1200
+ "description": "Unauthorized to delete child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1201
+ },
1202
+ "204": {
1203
+ "description": "The dialog element was deleted successfully."
1204
+ },
1205
+ "400": {
1206
+ "description": "Bad Request",
1207
+ "content": {
1208
+ "application/problem+json": {
1209
+ "schema": {
1210
+ "$ref": "#/components/schemas/ProblemDetails"
1211
+ }
1212
+ }
1213
+ }
1214
+ },
1215
+ "404": {
1216
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1217
+ "content": {
1218
+ "application/problem+json": {
1219
+ "schema": {
1220
+ "$ref": "#/components/schemas/ProblemDetails"
1221
+ }
1222
+ }
1223
+ }
1224
+ },
1225
+ "412": {
1226
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
1227
+ "content": {
1228
+ "application/problem+json": {
1229
+ "schema": {
1230
+ "$ref": "#/components/schemas/ProblemDetails"
1231
+ }
1232
+ }
1233
+ }
1234
+ },
1235
+ "422": {
1236
+ "description": "",
1237
+ "content": {
1238
+ "application/problem+json": {
1239
+ "schema": {
1240
+ "$ref": "#/components/schemas/ProblemDetails"
1241
+ }
1242
+ }
1243
+ }
1244
+ }
1245
+ },
1246
+ "security": [
1247
+ {
1248
+ "JWTBearerAuth": []
1249
+ }
1250
+ ]
1251
+ }
1252
+ },
1253
+ "/api/v1/serviceowner/dialogs/{dialogId}/elements": {
1254
+ "get": {
1255
+ "tags": [
1256
+ "Serviceowner"
1257
+ ],
1258
+ "summary": "Gets a list of dialog elements",
1259
+ "description": "Gets the list of elements belonging to a dialog",
1260
+ "operationId": "GetDialogElementListSO",
1261
+ "parameters": [
1262
+ {
1263
+ "name": "dialogId",
1264
+ "in": "path",
1265
+ "required": true,
1266
+ "schema": {
1267
+ "type": "string",
1268
+ "format": "guid"
1269
+ }
1270
+ }
1271
+ ],
1272
+ "responses": {
1273
+ "200": {
1274
+ "description": "Successfully returned the dialog element list.",
1275
+ "content": {
1276
+ "text/plain": {
1277
+ "schema": {}
1278
+ },
1279
+ "application/json": {
1280
+ "schema": {}
1281
+ }
1282
+ }
1283
+ },
1284
+ "401": {
1285
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1286
+ },
1287
+ "403": {
1288
+ "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1289
+ }
1290
+ },
1291
+ "security": [
1292
+ {
1293
+ "JWTBearerAuth": []
1294
+ }
1295
+ ]
1296
+ },
1297
+ "post": {
1298
+ "tags": [
1299
+ "Serviceowner"
1300
+ ],
1301
+ "summary": "Creates a new dialog element",
1302
+ "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.",
1303
+ "operationId": "CreateDialogElement",
1304
+ "parameters": [
1305
+ {
1306
+ "name": "dialogId",
1307
+ "in": "path",
1308
+ "required": true,
1309
+ "schema": {
1310
+ "type": "string",
1311
+ "format": "guid"
1312
+ }
1313
+ },
1314
+ {
1315
+ "name": "if-Match",
1316
+ "in": "header",
1317
+ "schema": {
1318
+ "type": "string",
1319
+ "format": "guid",
1320
+ "nullable": true
1321
+ }
1322
+ }
1323
+ ],
1324
+ "requestBody": {
1325
+ "x-name": "CreateDialogElementRequest",
1326
+ "description": "",
1327
+ "content": {
1328
+ "application/json": {
1329
+ "schema": {
1330
+ "$ref": "#/components/schemas/CreateDialogElementRequest"
1331
+ }
1332
+ }
1333
+ },
1334
+ "required": true,
1335
+ "x-position": 1
1336
+ },
1337
+ "responses": {
1338
+ "401": {
1339
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1340
+ },
1341
+ "403": {
1342
+ "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)."
1343
+ },
1344
+ "201": {
1345
+ "description": "The UUID of the created the dialog element. A relative URL to the newly created activity is set in the \"Location\" header.",
1346
+ "content": {
1347
+ "application/json": {
1348
+ "schema": {
1349
+ "type": "string"
1350
+ },
1351
+ "example": "b6dc8b01-1cd8-2777-b759-d84b0e384f47"
1352
+ }
1353
+ }
1354
+ },
1355
+ "400": {
1356
+ "description": "Validation error occured. See problem details for a list of errors.",
1357
+ "content": {
1358
+ "application/problem+json": {
1359
+ "schema": {
1360
+ "$ref": "#/components/schemas/ProblemDetails"
1361
+ }
1362
+ }
1363
+ }
1364
+ },
1365
+ "404": {
1366
+ "description": "The given dialog ID was not found or is already deleted.",
1367
+ "content": {
1368
+ "application/problem+json": {
1369
+ "schema": {
1370
+ "$ref": "#/components/schemas/ProblemDetails"
1371
+ }
1372
+ }
1373
+ }
1374
+ },
1375
+ "412": {
1376
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
1377
+ "content": {
1378
+ "application/problem+json": {
1379
+ "schema": {
1380
+ "$ref": "#/components/schemas/ProblemDetails"
1381
+ }
1382
+ }
1383
+ }
1384
+ },
1385
+ "422": {
1386
+ "description": "Domain error occured. See problem details for a list of errors.",
1387
+ "content": {
1388
+ "application/problem+json": {
1389
+ "schema": {
1390
+ "$ref": "#/components/schemas/ProblemDetails"
1391
+ }
1392
+ }
1393
+ }
1394
+ }
1395
+ },
1396
+ "security": [
1397
+ {
1398
+ "JWTBearerAuth": []
1399
+ }
1400
+ ]
1401
+ }
1402
+ },
1403
+ "/api/v1/serviceowner/dialogs/{dialogId}/activities": {
1404
+ "get": {
1405
+ "tags": [
1406
+ "Serviceowner"
1407
+ ],
1408
+ "summary": "Gets a list of dialog activities",
1409
+ "description": "Gets the list of activities belonging to a dialog",
1410
+ "operationId": "GetDialogActivityListSO",
1411
+ "parameters": [
1412
+ {
1413
+ "name": "dialogId",
1414
+ "in": "path",
1415
+ "required": true,
1416
+ "schema": {
1417
+ "type": "string",
1418
+ "format": "guid"
1419
+ }
1420
+ }
1421
+ ],
1422
+ "responses": {
1423
+ "200": {
1424
+ "description": "Successfully returned the dialog activity list.",
1425
+ "content": {
1426
+ "text/plain": {
1427
+ "schema": {}
1428
+ },
1429
+ "application/json": {
1430
+ "schema": {}
1431
+ }
1432
+ }
1433
+ },
1434
+ "401": {
1435
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1436
+ },
1437
+ "403": {
1438
+ "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1439
+ }
1440
+ },
1441
+ "security": [
1442
+ {
1443
+ "JWTBearerAuth": []
1444
+ }
1445
+ ]
1446
+ },
1447
+ "post": {
1448
+ "tags": [
1449
+ "Serviceowner"
1450
+ ],
1451
+ "summary": "Adds a activity to a dialogs activity history",
1452
+ "description": "The activity 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.",
1453
+ "operationId": "CreateDialogActivity",
1454
+ "parameters": [
1455
+ {
1456
+ "name": "dialogId",
1457
+ "in": "path",
1458
+ "required": true,
1459
+ "schema": {
1460
+ "type": "string",
1461
+ "format": "guid"
1462
+ }
1463
+ },
1464
+ {
1465
+ "name": "if-Match",
1466
+ "in": "header",
1467
+ "schema": {
1468
+ "type": "string",
1469
+ "format": "guid",
1470
+ "nullable": true
1471
+ }
1472
+ }
1473
+ ],
1474
+ "requestBody": {
1475
+ "x-name": "CreateDialogActivityRequest",
1476
+ "description": "",
1477
+ "content": {
1478
+ "application/json": {
1479
+ "schema": {
1480
+ "$ref": "#/components/schemas/CreateDialogActivityRequest"
1481
+ }
1482
+ }
1483
+ },
1484
+ "required": true,
1485
+ "x-position": 1
1486
+ },
1487
+ "responses": {
1488
+ "401": {
1489
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1490
+ },
1491
+ "403": {
1492
+ "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)."
1493
+ },
1494
+ "201": {
1495
+ "description": "The UUID of the created the dialog activity. A relative URL to the newly created activity is set in the \"Location\" header.",
1496
+ "content": {
1497
+ "application/json": {
1498
+ "schema": {
1499
+ "type": "string"
1500
+ },
1501
+ "example": "018bb8e5-d9d0-7434-8ec5-569a6c8e01fc"
1502
+ }
1503
+ }
1504
+ },
1505
+ "400": {
1506
+ "description": "Validation error occured. See problem details for a list of errors.",
1507
+ "content": {
1508
+ "application/problem+json": {
1509
+ "schema": {
1510
+ "$ref": "#/components/schemas/ProblemDetails"
1511
+ }
1512
+ }
1513
+ }
1514
+ },
1515
+ "404": {
1516
+ "description": "The given dialog ID was not found or is already deleted.",
1517
+ "content": {
1518
+ "application/problem+json": {
1519
+ "schema": {
1520
+ "$ref": "#/components/schemas/ProblemDetails"
1521
+ }
1522
+ }
1523
+ }
1524
+ },
1525
+ "412": {
1526
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
1527
+ "content": {
1528
+ "application/problem+json": {
1529
+ "schema": {
1530
+ "$ref": "#/components/schemas/ProblemDetails"
1531
+ }
1532
+ }
1533
+ }
1534
+ },
1535
+ "422": {
1536
+ "description": "Domain error occured. See problem details for a list of errors.",
1537
+ "content": {
1538
+ "application/problem+json": {
1539
+ "schema": {
1540
+ "$ref": "#/components/schemas/ProblemDetails"
1541
+ }
1542
+ }
1543
+ }
1544
+ }
1545
+ },
1546
+ "security": [
1547
+ {
1548
+ "JWTBearerAuth": []
1549
+ }
1550
+ ]
1551
+ }
1552
+ },
1553
+ "/api/v1/serviceowner/dialogs/{dialogId}/activities/{activityId}": {
1554
+ "get": {
1555
+ "tags": [
1556
+ "Serviceowner"
1557
+ ],
1558
+ "summary": "Gets a single dialog activity",
1559
+ "description": "Gets a single activity belonging to a dialog. For more information see the documentation (link TBD).",
1560
+ "operationId": "GetDialogActivitySO",
1561
+ "parameters": [
1562
+ {
1563
+ "name": "dialogId",
1564
+ "in": "path",
1565
+ "required": true,
1566
+ "schema": {
1567
+ "type": "string",
1568
+ "format": "guid"
1569
+ }
1570
+ },
1571
+ {
1572
+ "name": "activityId",
1573
+ "in": "path",
1574
+ "required": true,
1575
+ "schema": {
1576
+ "type": "string",
1577
+ "format": "guid"
1578
+ }
1579
+ }
1580
+ ],
1581
+ "responses": {
1582
+ "401": {
1583
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1584
+ },
1585
+ "403": {
1586
+ "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)."
1587
+ },
1588
+ "200": {
1589
+ "description": "Successfully returned the dialog activity."
1590
+ },
1591
+ "404": {
1592
+ "description": "The given dialog ID was not found or was deleted, or the given activity ID was not found.",
1593
+ "content": {
1594
+ "application/problem+json": {
1595
+ "schema": {
1596
+ "$ref": "#/components/schemas/ProblemDetails"
1597
+ }
1598
+ }
1599
+ }
1600
+ }
1601
+ },
1602
+ "security": [
1603
+ {
1604
+ "JWTBearerAuth": []
1605
+ }
1606
+ ]
1607
+ }
1608
+ },
1609
+ "/api/v1/enduser/dialogs/{dialogId}/seenlog": {
1610
+ "get": {
1611
+ "tags": [
1612
+ "Enduser"
1613
+ ],
1614
+ "summary": "Gets a single dialog seen log record",
1615
+ "description": "Gets a single dialog seen log record. For more information see the documentation (link TBD).",
1616
+ "operationId": "SearchDialogSeenLog",
1617
+ "parameters": [
1618
+ {
1619
+ "name": "dialogId",
1620
+ "in": "path",
1621
+ "required": true,
1622
+ "schema": {
1623
+ "type": "string",
1624
+ "format": "guid"
1625
+ }
1626
+ }
1627
+ ],
1628
+ "responses": {
1629
+ "401": {
1630
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
1631
+ },
1632
+ "403": {
1633
+ "description": "Forbidden"
1634
+ },
1635
+ "200": {
1636
+ "description": "Successfully returned the dialog seen log record.",
1637
+ "content": {
1638
+ "application/json": {
1639
+ "schema": {
1640
+ "type": "array",
1641
+ "items": {
1642
+ "$ref": "#/components/schemas/SearchDialogSeenLogDto"
1643
+ }
1644
+ }
1645
+ }
1646
+ }
1647
+ },
1648
+ "404": {
1649
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1650
+ "content": {
1651
+ "application/problem+json": {
1652
+ "schema": {
1653
+ "$ref": "#/components/schemas/ProblemDetails"
1654
+ }
1655
+ }
1656
+ }
1657
+ }
1658
+ },
1659
+ "security": [
1660
+ {
1661
+ "JWTBearerAuth": []
1662
+ }
1663
+ ]
1664
+ }
1665
+ },
1666
+ "/api/v1/enduser/dialogs/{dialogId}/seenlog/{seenLogId}": {
1667
+ "get": {
1668
+ "tags": [
1669
+ "Enduser"
1670
+ ],
1671
+ "summary": "Gets a single dialog seen log record",
1672
+ "description": "Gets a single dialog seen log record. For more information see the documentation (link TBD).",
1673
+ "operationId": "GetDialogSeenLog",
1674
+ "parameters": [
1675
+ {
1676
+ "name": "dialogId",
1677
+ "in": "path",
1678
+ "required": true,
1679
+ "schema": {
1680
+ "type": "string",
1681
+ "format": "guid"
1682
+ }
1683
+ },
1684
+ {
1685
+ "name": "seenLogId",
1686
+ "in": "path",
1687
+ "required": true,
1688
+ "schema": {
1689
+ "type": "string",
1690
+ "format": "guid"
1691
+ }
1692
+ }
1693
+ ],
1694
+ "responses": {
1695
+ "401": {
1696
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
1697
+ },
1698
+ "403": {
1699
+ "description": "Forbidden"
1700
+ },
1701
+ "200": {
1702
+ "description": "Successfully returned the dialog seen log record.",
1703
+ "content": {
1704
+ "application/json": {
1705
+ "schema": {
1706
+ "$ref": "#/components/schemas/GetDialogSeenLogDto"
1707
+ }
1708
+ }
1709
+ }
1710
+ },
1711
+ "404": {
1712
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1713
+ "content": {
1714
+ "application/problem+json": {
1715
+ "schema": {
1716
+ "$ref": "#/components/schemas/ProblemDetails"
1717
+ }
1718
+ }
1719
+ }
1720
+ }
1721
+ },
1722
+ "security": [
1723
+ {
1724
+ "JWTBearerAuth": []
1725
+ }
1726
+ ]
1727
+ }
1728
+ },
1729
+ "/api/v1/enduser/dialogs": {
1730
+ "get": {
1731
+ "tags": [
1732
+ "Enduser"
1733
+ ],
1734
+ "summary": "Gets a list of dialogs",
1735
+ "description": "Performs a search for dialogs, returning a paginated list of dialogs. For more information see the documentation (link TBD).\n\n* All date parameters must contain explicit time zone. Example: 2023-10-27T10:00:00Z or 2023-10-27T10:00:00+01:00\n* See \"continuationToken\" in the response for how to get the next page of results.\n* hasNextPage will be set to true if there are more items to get.",
1736
+ "operationId": "GetDialogList",
1737
+ "parameters": [
1738
+ {
1739
+ "name": "org",
1740
+ "in": "query",
1741
+ "style": "form",
1742
+ "explode": true,
1743
+ "description": "Filter by one or more service owner codes",
1744
+ "schema": {
1745
+ "type": "array",
1746
+ "nullable": true,
1747
+ "items": {
1748
+ "type": "string"
1749
+ }
1750
+ }
1751
+ },
1752
+ {
1753
+ "name": "serviceResource",
1754
+ "in": "query",
1755
+ "style": "form",
1756
+ "explode": true,
1757
+ "description": "Filter by one or more service resources",
1758
+ "schema": {
1759
+ "type": "array",
1760
+ "nullable": true,
1761
+ "items": {
1762
+ "type": "string"
1763
+ }
1764
+ }
1765
+ },
1766
+ {
1767
+ "name": "party",
1768
+ "in": "query",
1769
+ "style": "form",
1770
+ "explode": true,
1771
+ "description": "Filter by one or more owning parties",
1772
+ "schema": {
1773
+ "type": "array",
1774
+ "nullable": true,
1775
+ "items": {
1776
+ "type": "string"
1777
+ }
1778
+ }
1779
+ },
1780
+ {
1781
+ "name": "extendedStatus",
1782
+ "in": "query",
1783
+ "style": "form",
1784
+ "explode": true,
1785
+ "description": "Filter by one or more extended statuses",
1786
+ "schema": {
1787
+ "type": "array",
1788
+ "nullable": true,
1789
+ "items": {
1790
+ "type": "string"
1791
+ }
1792
+ }
1793
+ },
1794
+ {
1795
+ "name": "externalReference",
1796
+ "in": "query",
1797
+ "description": "Filter by external reference",
1798
+ "schema": {
1799
+ "type": "string",
1800
+ "nullable": true
1801
+ }
1802
+ },
1803
+ {
1804
+ "name": "status",
1805
+ "in": "query",
1806
+ "style": "form",
1807
+ "explode": true,
1808
+ "description": "Filter by status",
1809
+ "schema": {
1810
+ "type": "array",
1811
+ "nullable": true,
1812
+ "items": {
1813
+ "$ref": "#/components/schemas/DialogStatus_Values"
1814
+ }
1815
+ }
1816
+ },
1817
+ {
1818
+ "name": "createdAfter",
1819
+ "in": "query",
1820
+ "description": "Only return dialogs created after this date",
1821
+ "schema": {
1822
+ "type": "string",
1823
+ "format": "date-time",
1824
+ "nullable": true
1825
+ }
1826
+ },
1827
+ {
1828
+ "name": "createdBefore",
1829
+ "in": "query",
1830
+ "description": "Only return dialogs created before this date",
1831
+ "schema": {
1832
+ "type": "string",
1833
+ "format": "date-time",
1834
+ "nullable": true
1835
+ }
1836
+ },
1837
+ {
1838
+ "name": "updatedAfter",
1839
+ "in": "query",
1840
+ "description": "Only return dialogs updated after this date",
1841
+ "schema": {
1842
+ "type": "string",
1843
+ "format": "date-time",
1844
+ "nullable": true
1845
+ }
1846
+ },
1847
+ {
1848
+ "name": "updatedBefore",
1849
+ "in": "query",
1850
+ "description": "Only return dialogs updated before this date",
1851
+ "schema": {
1852
+ "type": "string",
1853
+ "format": "date-time",
1854
+ "nullable": true
1855
+ }
1856
+ },
1857
+ {
1858
+ "name": "dueAfter",
1859
+ "in": "query",
1860
+ "description": "Only return dialogs with due date after this date",
1861
+ "schema": {
1862
+ "type": "string",
1863
+ "format": "date-time",
1864
+ "nullable": true
1865
+ }
1866
+ },
1867
+ {
1868
+ "name": "dueBefore",
1869
+ "in": "query",
1870
+ "description": "Only return dialogs with due date before this date",
1871
+ "schema": {
1872
+ "type": "string",
1873
+ "format": "date-time",
1874
+ "nullable": true
1875
+ }
1876
+ },
1877
+ {
1878
+ "name": "search",
1879
+ "in": "query",
1880
+ "description": "Search string for free text search. Will attempt to fuzzily match in all free text fields in the aggregate",
1881
+ "schema": {
1882
+ "type": "string",
1883
+ "nullable": true
1884
+ }
1885
+ },
1886
+ {
1887
+ "name": "searchCultureCode",
1888
+ "in": "query",
1889
+ "description": "Limit free text search to texts with this culture code, e.g. \\\"nb-NO\\\". Default: search all culture codes",
1890
+ "schema": {
1891
+ "type": "string",
1892
+ "nullable": true
1893
+ }
1894
+ },
1895
+ {
1896
+ "name": "orderBy",
1897
+ "in": "query",
1898
+ "schema": {
1899
+ "nullable": true,
1900
+ "oneOf": [
1901
+ {
1902
+ "$ref": "#/components/schemas/OrderSetOfTOrderDefinitionAndTTarget"
1903
+ }
1904
+ ]
1905
+ }
1906
+ },
1907
+ {
1908
+ "name": "continuationToken",
1909
+ "in": "query",
1910
+ "description": "Supply \"continuationToken\" for the response to get the next page of results, if hasNextPage is true",
1911
+ "schema": {
1912
+ "nullable": true,
1913
+ "oneOf": [
1914
+ {
1915
+ "$ref": "#/components/schemas/ContinuationTokenSetOfTOrderDefinitionAndTTarget"
1916
+ }
1917
+ ]
1918
+ }
1919
+ },
1920
+ {
1921
+ "name": "limit",
1922
+ "in": "query",
1923
+ "description": "Limit the number of results per page (1-1000, default: 100)",
1924
+ "schema": {
1925
+ "type": "integer",
1926
+ "format": "int32",
1927
+ "nullable": true
1928
+ }
1929
+ }
1930
+ ],
1931
+ "responses": {
1932
+ "200": {
1933
+ "description": "Successfully returned the dialog list.",
1934
+ "content": {
1935
+ "application/json": {
1936
+ "schema": {
1937
+ "$ref": "#/components/schemas/PaginatedListOfSearchDialogDto"
1938
+ }
1939
+ }
1940
+ }
1941
+ },
1942
+ "401": {
1943
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
1944
+ }
1945
+ },
1946
+ "security": [
1947
+ {
1948
+ "JWTBearerAuth": []
1949
+ }
1950
+ ]
1951
+ }
1952
+ },
1953
+ "/api/v1/enduser/dialogs/{dialogId}": {
1954
+ "get": {
1955
+ "tags": [
1956
+ "Enduser"
1957
+ ],
1958
+ "summary": "Gets a single dialog",
1959
+ "description": "Gets a single dialog aggregate. For more information see the documentation (link TBD).",
1960
+ "operationId": "GetDialog",
1961
+ "parameters": [
1962
+ {
1963
+ "name": "dialogId",
1964
+ "in": "path",
1965
+ "required": true,
1966
+ "schema": {
1967
+ "type": "string",
1968
+ "format": "guid"
1969
+ }
1970
+ }
1971
+ ],
1972
+ "responses": {
1973
+ "401": {
1974
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
1975
+ },
1976
+ "403": {
1977
+ "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1978
+ },
1979
+ "200": {
1980
+ "description": "Successfully returned the dialog aggregate.",
1981
+ "content": {
1982
+ "application/json": {
1983
+ "schema": {
1984
+ "$ref": "#/components/schemas/GetDialogDto"
1985
+ }
1986
+ }
1987
+ }
1988
+ },
1989
+ "404": {
1990
+ "description": "The given dialog ID was not found or is already deleted.",
1991
+ "content": {
1992
+ "application/problem+json": {
1993
+ "schema": {
1994
+ "$ref": "#/components/schemas/ProblemDetails"
1995
+ }
1996
+ }
1997
+ }
1998
+ }
1999
+ },
2000
+ "security": [
2001
+ {
2002
+ "JWTBearerAuth": []
2003
+ }
2004
+ ]
2005
+ }
2006
+ },
2007
+ "/api/v1/enduser/dialogs/{dialogId}/elements": {
2008
+ "get": {
2009
+ "tags": [
2010
+ "Enduser"
2011
+ ],
2012
+ "summary": "Gets a list of dialog elements",
2013
+ "description": "Gets the list of elements belonging to a dialog",
2014
+ "operationId": "GetDialogElementList",
2015
+ "parameters": [
2016
+ {
2017
+ "name": "dialogId",
2018
+ "in": "path",
2019
+ "required": true,
2020
+ "schema": {
2021
+ "type": "string",
2022
+ "format": "guid"
2023
+ }
2024
+ }
2025
+ ],
2026
+ "responses": {
2027
+ "200": {
2028
+ "description": "Successfully returned the dialog element list.",
2029
+ "content": {
2030
+ "text/plain": {
2031
+ "schema": {}
2032
+ },
2033
+ "application/json": {
2034
+ "schema": {}
2035
+ }
2036
+ }
2037
+ },
2038
+ "401": {
2039
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
2040
+ },
2041
+ "403": {
2042
+ "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
2043
+ }
2044
+ },
2045
+ "security": [
2046
+ {
2047
+ "JWTBearerAuth": []
2048
+ }
2049
+ ]
2050
+ }
2051
+ },
2052
+ "/api/v1/enduser/dialogs/{dialogId}/elements/{elementId}": {
2053
+ "get": {
2054
+ "tags": [
2055
+ "Enduser"
2056
+ ],
2057
+ "summary": "Gets a single dialog element",
2058
+ "description": "Gets a single element belonging to a dialog. For more information see the documentation (link TBD).",
2059
+ "operationId": "GetDialogElement",
2060
+ "parameters": [
2061
+ {
2062
+ "name": "dialogId",
2063
+ "in": "path",
2064
+ "required": true,
2065
+ "schema": {
2066
+ "type": "string",
2067
+ "format": "guid"
2068
+ }
2069
+ },
2070
+ {
2071
+ "name": "elementId",
2072
+ "in": "path",
2073
+ "required": true,
2074
+ "schema": {
2075
+ "type": "string",
2076
+ "format": "guid"
2077
+ }
2078
+ }
2079
+ ],
2080
+ "responses": {
2081
+ "401": {
2082
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
2083
+ },
2084
+ "403": {
2085
+ "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)."
2086
+ },
2087
+ "200": {
2088
+ "description": "Successfully returned the dialog element."
2089
+ },
2090
+ "404": {
2091
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
2092
+ "content": {
2093
+ "application/problem+json": {
2094
+ "schema": {
2095
+ "$ref": "#/components/schemas/ProblemDetails"
2096
+ }
2097
+ }
2098
+ }
2099
+ }
2100
+ },
2101
+ "security": [
2102
+ {
2103
+ "JWTBearerAuth": []
2104
+ }
2105
+ ]
2106
+ }
2107
+ },
2108
+ "/api/v1/enduser/dialogs/{dialogId}/activities": {
2109
+ "get": {
2110
+ "tags": [
2111
+ "Enduser"
2112
+ ],
2113
+ "summary": "Gets a list of dialog activities",
2114
+ "description": "Gets the list of activities belonging to a dialog",
2115
+ "operationId": "GetDialogActivityList",
2116
+ "parameters": [
2117
+ {
2118
+ "name": "dialogId",
2119
+ "in": "path",
2120
+ "required": true,
2121
+ "schema": {
2122
+ "type": "string",
2123
+ "format": "guid"
2124
+ }
2125
+ }
2126
+ ],
2127
+ "responses": {
2128
+ "200": {
2129
+ "description": "Successfully returned the dialog activity list.",
2130
+ "content": {
2131
+ "text/plain": {
2132
+ "schema": {}
2133
+ },
2134
+ "application/json": {
2135
+ "schema": {}
2136
+ }
2137
+ }
2138
+ },
2139
+ "401": {
2140
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
2141
+ },
2142
+ "403": {
2143
+ "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
2144
+ }
2145
+ },
2146
+ "security": [
2147
+ {
2148
+ "JWTBearerAuth": []
2149
+ }
2150
+ ]
2151
+ }
2152
+ },
2153
+ "/api/v1/enduser/dialogs/{dialogId}/activities/{activityId}": {
2154
+ "get": {
2155
+ "tags": [
2156
+ "Enduser"
2157
+ ],
2158
+ "summary": "Gets a single dialog activity",
2159
+ "description": "Gets a single activity belonging to a dialog. For more information see the documentation (link TBD).",
2160
+ "operationId": "GetDialogActivity",
2161
+ "parameters": [
2162
+ {
2163
+ "name": "dialogId",
2164
+ "in": "path",
2165
+ "required": true,
2166
+ "schema": {
2167
+ "type": "string",
2168
+ "format": "guid"
2169
+ }
2170
+ },
2171
+ {
2172
+ "name": "activityId",
2173
+ "in": "path",
2174
+ "required": true,
2175
+ "schema": {
2176
+ "type": "string",
2177
+ "format": "guid"
2178
+ }
2179
+ }
2180
+ ],
2181
+ "responses": {
2182
+ "401": {
2183
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
2184
+ },
2185
+ "403": {
2186
+ "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)."
2187
+ },
2188
+ "200": {
2189
+ "description": "Successfully returned the dialog activity."
2190
+ },
2191
+ "404": {
2192
+ "description": "The given dialog ID was not found or was deleted, or the given activity ID was not found.",
2193
+ "content": {
2194
+ "application/problem+json": {
2195
+ "schema": {
2196
+ "$ref": "#/components/schemas/ProblemDetails"
2197
+ }
2198
+ }
2199
+ }
2200
+ }
2201
+ },
2202
+ "security": [
2203
+ {
2204
+ "JWTBearerAuth": []
2205
+ }
2206
+ ]
2207
+ }
2208
+ }
2209
+ },
2210
+ "components": {
2211
+ "schemas": {
2212
+ "GetOauthAuthorizationServerDto": {
2213
+ "type": "object",
2214
+ "additionalProperties": false,
2215
+ "properties": {
2216
+ "issuer": {
2217
+ "type": "string"
2218
+ },
2219
+ "jwks_uri": {
2220
+ "type": "string"
2221
+ }
2222
+ }
2223
+ },
2224
+ "GetJwksDto": {
2225
+ "type": "object",
2226
+ "additionalProperties": false,
2227
+ "properties": {
2228
+ "keys": {
2229
+ "type": "array",
2230
+ "items": {
2231
+ "$ref": "#/components/schemas/Jwk"
2232
+ }
2233
+ }
2234
+ }
2235
+ },
2236
+ "Jwk": {
2237
+ "type": "object",
2238
+ "additionalProperties": false,
2239
+ "properties": {
2240
+ "kty": {
2241
+ "type": "string"
2242
+ },
2243
+ "use": {
2244
+ "type": "string"
2245
+ },
2246
+ "kid": {
2247
+ "type": "string"
2248
+ },
2249
+ "crv": {
2250
+ "type": "string"
2251
+ },
2252
+ "x": {
2253
+ "type": "string"
2254
+ },
2255
+ "alg": {
2256
+ "type": "string"
2257
+ }
2258
+ }
2259
+ },
2260
+ "SearchDialogSeenLogDtoSO": {
2261
+ "type": "object",
2262
+ "additionalProperties": false,
2263
+ "properties": {
2264
+ "id": {
2265
+ "type": "string",
2266
+ "format": "guid"
2267
+ },
2268
+ "seenAt": {
2269
+ "type": "string",
2270
+ "format": "date-time"
2271
+ },
2272
+ "endUserIdHash": {
2273
+ "type": "string"
2274
+ },
2275
+ "endUserName": {
2276
+ "type": "string",
2277
+ "nullable": true
2278
+ }
2279
+ }
2280
+ },
2281
+ "ProblemDetails": {
2282
+ "type": "object",
2283
+ "additionalProperties": false,
2284
+ "properties": {
2285
+ "type": {
2286
+ "type": "string",
2287
+ "default": "https://www.rfc-editor.org/rfc/rfc7231#section-6.5.1"
2288
+ },
2289
+ "title": {
2290
+ "type": "string",
2291
+ "default": "One or more validation errors occurred."
2292
+ },
2293
+ "status": {
2294
+ "type": "integer",
2295
+ "format": "int32",
2296
+ "default": 400
2297
+ },
2298
+ "instance": {
2299
+ "type": "string",
2300
+ "default": "/api/route"
2301
+ },
2302
+ "traceId": {
2303
+ "type": "string",
2304
+ "default": "0HMPNHL0JHL76:00000001"
2305
+ },
2306
+ "detail": {
2307
+ "type": "string",
2308
+ "nullable": true
2309
+ },
2310
+ "errors": {
2311
+ "type": "array",
2312
+ "items": {
2313
+ "$ref": "#/components/schemas/ProblemDetails_Error"
2314
+ }
2315
+ }
2316
+ }
2317
+ },
2318
+ "ProblemDetails_Error": {
2319
+ "type": "object",
2320
+ "additionalProperties": false,
2321
+ "properties": {
2322
+ "name": {
2323
+ "type": "string",
2324
+ "default": "Error or field name"
2325
+ },
2326
+ "reason": {
2327
+ "type": "string",
2328
+ "default": "Error reason"
2329
+ },
2330
+ "code": {
2331
+ "type": "string",
2332
+ "nullable": true
2333
+ },
2334
+ "severity": {
2335
+ "type": "string",
2336
+ "nullable": true
2337
+ }
2338
+ }
2339
+ },
2340
+ "GetDialogSeenLogDtoSO": {
2341
+ "type": "object",
2342
+ "additionalProperties": false,
2343
+ "properties": {
2344
+ "id": {
2345
+ "type": "string",
2346
+ "format": "guid"
2347
+ },
2348
+ "seenAt": {
2349
+ "type": "string",
2350
+ "format": "date-time"
2351
+ },
2352
+ "endUserIdHash": {
2353
+ "type": "string"
2354
+ },
2355
+ "endUserName": {
2356
+ "type": "string",
2357
+ "nullable": true
2358
+ }
2359
+ }
2360
+ },
2361
+ "UpdateDialogRequest": {
2362
+ "type": "object",
2363
+ "additionalProperties": false,
2364
+ "properties": {
2365
+ "dto": {
2366
+ "$ref": "#/components/schemas/UpdateDialogDto"
2367
+ }
2368
+ }
2369
+ },
2370
+ "UpdateDialogDto": {
2371
+ "type": "object",
2372
+ "additionalProperties": false,
2373
+ "properties": {
2374
+ "progress": {
2375
+ "type": "integer",
2376
+ "format": "int32",
2377
+ "nullable": true
2378
+ },
2379
+ "extendedStatus": {
2380
+ "type": "string",
2381
+ "nullable": true
2382
+ },
2383
+ "externalReference": {
2384
+ "type": "string",
2385
+ "nullable": true
2386
+ },
2387
+ "visibleFrom": {
2388
+ "type": "string",
2389
+ "format": "date-time",
2390
+ "nullable": true
2391
+ },
2392
+ "dueAt": {
2393
+ "type": "string",
2394
+ "format": "date-time",
2395
+ "nullable": true
2396
+ },
2397
+ "expiresAt": {
2398
+ "type": "string",
2399
+ "format": "date-time",
2400
+ "nullable": true
2401
+ },
2402
+ "status": {
2403
+ "$ref": "#/components/schemas/DialogStatus_Values"
2404
+ },
2405
+ "content": {
2406
+ "type": "array",
2407
+ "items": {
2408
+ "$ref": "#/components/schemas/UpdateDialogContentDto"
2409
+ }
2410
+ },
2411
+ "searchTags": {
2412
+ "type": "array",
2413
+ "items": {
2414
+ "$ref": "#/components/schemas/UpdateDialogSearchTagDto"
2415
+ }
2416
+ },
2417
+ "elements": {
2418
+ "type": "array",
2419
+ "items": {
2420
+ "$ref": "#/components/schemas/UpdateDialogDialogElementDto"
2421
+ }
2422
+ },
2423
+ "guiActions": {
2424
+ "type": "array",
2425
+ "items": {
2426
+ "$ref": "#/components/schemas/UpdateDialogDialogGuiActionDto"
2427
+ }
2428
+ },
2429
+ "apiActions": {
2430
+ "type": "array",
2431
+ "items": {
2432
+ "$ref": "#/components/schemas/UpdateDialogDialogApiActionDto"
2433
+ }
2434
+ },
2435
+ "activities": {
2436
+ "type": "array",
2437
+ "items": {
2438
+ "$ref": "#/components/schemas/UpdateDialogDialogActivityDto"
2439
+ }
2440
+ }
2441
+ }
2442
+ },
2443
+ "DialogStatus_Values": {
2444
+ "type": "string",
2445
+ "description": "",
2446
+ "x-enumNames": [
2447
+ "New",
2448
+ "InProgress",
2449
+ "Waiting",
2450
+ "Signing",
2451
+ "Cancelled",
2452
+ "Completed"
2453
+ ],
2454
+ "enum": [
2455
+ "New",
2456
+ "InProgress",
2457
+ "Waiting",
2458
+ "Signing",
2459
+ "Cancelled",
2460
+ "Completed"
2461
+ ]
2462
+ },
2463
+ "UpdateDialogContentDto": {
2464
+ "type": "object",
2465
+ "additionalProperties": false,
2466
+ "properties": {
2467
+ "type": {
2468
+ "$ref": "#/components/schemas/DialogContentType_Values"
2469
+ },
2470
+ "value": {
2471
+ "type": "array",
2472
+ "items": {
2473
+ "$ref": "#/components/schemas/LocalizationDto"
2474
+ }
2475
+ }
2476
+ }
2477
+ },
2478
+ "DialogContentType_Values": {
2479
+ "type": "string",
2480
+ "description": "",
2481
+ "x-enumNames": [
2482
+ "Title",
2483
+ "SenderName",
2484
+ "Summary",
2485
+ "AdditionalInfo",
2486
+ "ExtendedStatus"
2487
+ ],
2488
+ "enum": [
2489
+ "Title",
2490
+ "SenderName",
2491
+ "Summary",
2492
+ "AdditionalInfo",
2493
+ "ExtendedStatus"
2494
+ ]
2495
+ },
2496
+ "LocalizationDto": {
2497
+ "type": "object",
2498
+ "additionalProperties": false,
2499
+ "properties": {
2500
+ "value": {
2501
+ "type": "string"
2502
+ },
2503
+ "cultureCode": {
2504
+ "type": "string"
2505
+ }
2506
+ }
2507
+ },
2508
+ "UpdateDialogSearchTagDto": {
2509
+ "type": "object",
2510
+ "additionalProperties": false,
2511
+ "properties": {
2512
+ "value": {
2513
+ "type": "string"
2514
+ }
2515
+ }
2516
+ },
2517
+ "UpdateDialogDialogElementDto": {
2518
+ "type": "object",
2519
+ "additionalProperties": false,
2520
+ "properties": {
2521
+ "id": {
2522
+ "type": "string",
2523
+ "format": "guid",
2524
+ "nullable": true
2525
+ },
2526
+ "type": {
2527
+ "type": "string",
2528
+ "format": "uri",
2529
+ "nullable": true
2530
+ },
2531
+ "externalReference": {
2532
+ "type": "string",
2533
+ "nullable": true
2534
+ },
2535
+ "authorizationAttribute": {
2536
+ "type": "string",
2537
+ "nullable": true
2538
+ },
2539
+ "relatedDialogElementId": {
2540
+ "type": "string",
2541
+ "format": "guid",
2542
+ "nullable": true
2543
+ },
2544
+ "displayName": {
2545
+ "type": "array",
2546
+ "items": {
2547
+ "$ref": "#/components/schemas/LocalizationDto"
2548
+ }
2549
+ },
2550
+ "urls": {
2551
+ "type": "array",
2552
+ "items": {
2553
+ "$ref": "#/components/schemas/UpdateDialogDialogElementUrlDto"
2554
+ }
2555
+ }
2556
+ }
2557
+ },
2558
+ "UpdateDialogDialogElementUrlDto": {
2559
+ "type": "object",
2560
+ "additionalProperties": false,
2561
+ "properties": {
2562
+ "id": {
2563
+ "type": "string",
2564
+ "format": "guid",
2565
+ "nullable": true
2566
+ },
2567
+ "url": {
2568
+ "type": "string",
2569
+ "format": "uri"
2570
+ },
2571
+ "mimeType": {
2572
+ "type": "string",
2573
+ "nullable": true
2574
+ },
2575
+ "consumerType": {
2576
+ "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2577
+ }
2578
+ }
2579
+ },
2580
+ "DialogElementUrlConsumerType_Values": {
2581
+ "type": "string",
2582
+ "description": "",
2583
+ "x-enumNames": [
2584
+ "Gui",
2585
+ "Api"
2586
+ ],
2587
+ "enum": [
2588
+ "Gui",
2589
+ "Api"
2590
+ ]
2591
+ },
2592
+ "UpdateDialogDialogGuiActionDto": {
2593
+ "type": "object",
2594
+ "additionalProperties": false,
2595
+ "properties": {
2596
+ "id": {
2597
+ "type": "string",
2598
+ "format": "guid",
2599
+ "nullable": true
2600
+ },
2601
+ "action": {
2602
+ "type": "string"
2603
+ },
2604
+ "url": {
2605
+ "type": "string",
2606
+ "format": "uri"
2607
+ },
2608
+ "authorizationAttribute": {
2609
+ "type": "string",
2610
+ "nullable": true
2611
+ },
2612
+ "isBackChannel": {
2613
+ "type": "boolean"
2614
+ },
2615
+ "isDeleteAction": {
2616
+ "type": "boolean"
2617
+ },
2618
+ "priority": {
2619
+ "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
2620
+ },
2621
+ "title": {
2622
+ "type": "array",
2623
+ "items": {
2624
+ "$ref": "#/components/schemas/LocalizationDto"
2625
+ }
2626
+ }
2627
+ }
2628
+ },
2629
+ "DialogGuiActionPriority_Values": {
2630
+ "type": "string",
2631
+ "description": "",
2632
+ "x-enumNames": [
2633
+ "Primary",
2634
+ "Secondary",
2635
+ "Tertiary"
2636
+ ],
2637
+ "enum": [
2638
+ "Primary",
2639
+ "Secondary",
2640
+ "Tertiary"
2641
+ ]
2642
+ },
2643
+ "UpdateDialogDialogApiActionDto": {
2644
+ "type": "object",
2645
+ "additionalProperties": false,
2646
+ "properties": {
2647
+ "id": {
2648
+ "type": "string",
2649
+ "format": "guid",
2650
+ "nullable": true
2651
+ },
2652
+ "action": {
2653
+ "type": "string"
2654
+ },
2655
+ "authorizationAttribute": {
2656
+ "type": "string",
2657
+ "nullable": true
2658
+ },
2659
+ "dialogElementId": {
2660
+ "type": "string",
2661
+ "format": "guid",
2662
+ "nullable": true
2663
+ },
2664
+ "endpoints": {
2665
+ "type": "array",
2666
+ "items": {
2667
+ "$ref": "#/components/schemas/UpdateDialogDialogApiActionEndpointDto"
2668
+ }
2669
+ }
2670
+ }
2671
+ },
2672
+ "UpdateDialogDialogApiActionEndpointDto": {
2673
+ "type": "object",
2674
+ "additionalProperties": false,
2675
+ "properties": {
2676
+ "id": {
2677
+ "type": "string",
2678
+ "format": "guid",
2679
+ "nullable": true
2680
+ },
2681
+ "version": {
2682
+ "type": "string",
2683
+ "nullable": true
2684
+ },
2685
+ "url": {
2686
+ "type": "string",
2687
+ "format": "uri"
2688
+ },
2689
+ "httpMethod": {
2690
+ "$ref": "#/components/schemas/HttpVerb_Values"
2691
+ },
2692
+ "documentationUrl": {
2693
+ "type": "string",
2694
+ "format": "uri",
2695
+ "nullable": true
2696
+ },
2697
+ "requestSchema": {
2698
+ "type": "string",
2699
+ "format": "uri",
2700
+ "nullable": true
2701
+ },
2702
+ "responseSchema": {
2703
+ "type": "string",
2704
+ "format": "uri",
2705
+ "nullable": true
2706
+ },
2707
+ "deprecated": {
2708
+ "type": "boolean"
2709
+ },
2710
+ "sunsetAt": {
2711
+ "type": "string",
2712
+ "format": "date-time",
2713
+ "nullable": true
2714
+ }
2715
+ }
2716
+ },
2717
+ "HttpVerb_Values": {
2718
+ "type": "string",
2719
+ "description": "",
2720
+ "x-enumNames": [
2721
+ "GET",
2722
+ "POST",
2723
+ "PUT",
2724
+ "PATCH",
2725
+ "DELETE",
2726
+ "HEAD",
2727
+ "OPTIONS",
2728
+ "TRACE",
2729
+ "CONNECT"
2730
+ ],
2731
+ "enum": [
2732
+ "GET",
2733
+ "POST",
2734
+ "PUT",
2735
+ "PATCH",
2736
+ "DELETE",
2737
+ "HEAD",
2738
+ "OPTIONS",
2739
+ "TRACE",
2740
+ "CONNECT"
2741
+ ]
2742
+ },
2743
+ "UpdateDialogDialogActivityDto": {
2744
+ "type": "object",
2745
+ "additionalProperties": false,
2746
+ "properties": {
2747
+ "id": {
2748
+ "type": "string",
2749
+ "format": "guid",
2750
+ "nullable": true
2751
+ },
2752
+ "createdAt": {
2753
+ "type": "string",
2754
+ "format": "date-time",
2755
+ "nullable": true
2756
+ },
2757
+ "extendedType": {
2758
+ "type": "string",
2759
+ "format": "uri",
2760
+ "nullable": true
2761
+ },
2762
+ "type": {
2763
+ "$ref": "#/components/schemas/DialogActivityType_Values"
2764
+ },
2765
+ "relatedActivityId": {
2766
+ "type": "string",
2767
+ "format": "guid",
2768
+ "nullable": true
2769
+ },
2770
+ "dialogElementId": {
2771
+ "type": "string",
2772
+ "format": "guid",
2773
+ "nullable": true
2774
+ },
2775
+ "performedBy": {
2776
+ "type": "array",
2777
+ "items": {
2778
+ "$ref": "#/components/schemas/LocalizationDto"
2779
+ }
2780
+ },
2781
+ "description": {
2782
+ "type": "array",
2783
+ "items": {
2784
+ "$ref": "#/components/schemas/LocalizationDto"
2785
+ }
2786
+ }
2787
+ }
2788
+ },
2789
+ "DialogActivityType_Values": {
2790
+ "type": "string",
2791
+ "description": "",
2792
+ "x-enumNames": [
2793
+ "Submission",
2794
+ "Feedback",
2795
+ "Information",
2796
+ "Error",
2797
+ "Closed",
2798
+ "Forwarded"
2799
+ ],
2800
+ "enum": [
2801
+ "Submission",
2802
+ "Feedback",
2803
+ "Information",
2804
+ "Error",
2805
+ "Closed",
2806
+ "Forwarded"
2807
+ ]
2808
+ },
2809
+ "PaginatedListOfSearchDialogDtoSO": {
2810
+ "type": "object",
2811
+ "additionalProperties": false,
2812
+ "properties": {
2813
+ "items": {
2814
+ "type": "array",
2815
+ "items": {
2816
+ "$ref": "#/components/schemas/SearchDialogDtoSO"
2817
+ }
2818
+ },
2819
+ "hasNextPage": {
2820
+ "type": "boolean"
2821
+ },
2822
+ "continuationToken": {
2823
+ "type": "string",
2824
+ "nullable": true
2825
+ },
2826
+ "orderBy": {
2827
+ "type": "string"
2828
+ }
2829
+ }
2830
+ },
2831
+ "SearchDialogDtoSO": {
2832
+ "type": "object",
2833
+ "additionalProperties": false,
2834
+ "properties": {
2835
+ "id": {
2836
+ "type": "string",
2837
+ "format": "guid"
2838
+ },
2839
+ "org": {
2840
+ "type": "string"
2841
+ },
2842
+ "serviceResource": {
2843
+ "type": "string"
2844
+ },
2845
+ "party": {
2846
+ "type": "string"
2847
+ },
2848
+ "endUserId": {
2849
+ "type": "string",
2850
+ "nullable": true
2851
+ },
2852
+ "progress": {
2853
+ "type": "integer",
2854
+ "format": "int32",
2855
+ "nullable": true
2856
+ },
2857
+ "extendedStatus": {
2858
+ "type": "string",
2859
+ "nullable": true
2860
+ },
2861
+ "createdAt": {
2862
+ "type": "string",
2863
+ "format": "date-time"
2864
+ },
2865
+ "updatedAt": {
2866
+ "type": "string",
2867
+ "format": "date-time"
2868
+ },
2869
+ "dueAt": {
2870
+ "type": "string",
2871
+ "format": "date-time",
2872
+ "nullable": true
2873
+ },
2874
+ "visibleFrom": {
2875
+ "type": "string",
2876
+ "format": "date-time",
2877
+ "nullable": true
2878
+ },
2879
+ "status": {
2880
+ "$ref": "#/components/schemas/DialogStatus_Values"
2881
+ },
2882
+ "content": {
2883
+ "type": "array",
2884
+ "items": {
2885
+ "$ref": "#/components/schemas/SearchDialogContentDtoSO"
2886
+ }
2887
+ },
2888
+ "seenSinceLastUpdate": {
2889
+ "type": "array",
2890
+ "items": {
2891
+ "$ref": "#/components/schemas/SearchDialogDialogSeenLogDtoSO"
2892
+ }
2893
+ }
2894
+ }
2895
+ },
2896
+ "SearchDialogContentDtoSO": {
2897
+ "type": "object",
2898
+ "additionalProperties": false,
2899
+ "properties": {
2900
+ "type": {
2901
+ "$ref": "#/components/schemas/DialogContentType_Values"
2902
+ },
2903
+ "value": {
2904
+ "type": "array",
2905
+ "items": {
2906
+ "$ref": "#/components/schemas/LocalizationDto"
2907
+ }
2908
+ }
2909
+ }
2910
+ },
2911
+ "SearchDialogDialogSeenLogDtoSO": {
2912
+ "type": "object",
2913
+ "additionalProperties": false,
2914
+ "properties": {
2915
+ "id": {
2916
+ "type": "string",
2917
+ "format": "guid"
2918
+ },
2919
+ "createdAt": {
2920
+ "type": "string",
2921
+ "format": "date-time"
2922
+ },
2923
+ "endUserIdHash": {
2924
+ "type": "string"
2925
+ },
2926
+ "endUserName": {
2927
+ "type": "string",
2928
+ "nullable": true
2929
+ },
2930
+ "isCurrentEndUser": {
2931
+ "type": "boolean",
2932
+ "nullable": true
2933
+ }
2934
+ }
2935
+ },
2936
+ "GetDialogDtoSO": {
2937
+ "type": "object",
2938
+ "additionalProperties": false,
2939
+ "properties": {
2940
+ "id": {
2941
+ "type": "string",
2942
+ "format": "guid"
2943
+ },
2944
+ "revision": {
2945
+ "type": "string",
2946
+ "format": "guid"
2947
+ },
2948
+ "org": {
2949
+ "type": "string"
2950
+ },
2951
+ "serviceResource": {
2952
+ "type": "string"
2953
+ },
2954
+ "party": {
2955
+ "type": "string"
2956
+ },
2957
+ "progress": {
2958
+ "type": "integer",
2959
+ "format": "int32",
2960
+ "nullable": true
2961
+ },
2962
+ "extendedStatus": {
2963
+ "type": "string",
2964
+ "nullable": true
2965
+ },
2966
+ "externalReference": {
2967
+ "type": "string",
2968
+ "nullable": true
2969
+ },
2970
+ "deletedAt": {
2971
+ "type": "string",
2972
+ "format": "date-time",
2973
+ "nullable": true
2974
+ },
2975
+ "visibleFrom": {
2976
+ "type": "string",
2977
+ "format": "date-time",
2978
+ "nullable": true
2979
+ },
2980
+ "dueAt": {
2981
+ "type": "string",
2982
+ "format": "date-time",
2983
+ "nullable": true
2984
+ },
2985
+ "expiresAt": {
2986
+ "type": "string",
2987
+ "format": "date-time",
2988
+ "nullable": true
2989
+ },
2990
+ "createdAt": {
2991
+ "type": "string",
2992
+ "format": "date-time"
2993
+ },
2994
+ "updatedAt": {
2995
+ "type": "string",
2996
+ "format": "date-time"
2997
+ },
2998
+ "status": {
2999
+ "$ref": "#/components/schemas/DialogStatus_Values"
3000
+ },
3001
+ "content": {
3002
+ "type": "array",
3003
+ "items": {
3004
+ "$ref": "#/components/schemas/GetDialogContentDtoSO"
3005
+ }
3006
+ },
3007
+ "searchTags": {
3008
+ "type": "array",
3009
+ "nullable": true,
3010
+ "items": {
3011
+ "$ref": "#/components/schemas/GetDialogSearchTagDtoSO"
3012
+ }
3013
+ },
3014
+ "elements": {
3015
+ "type": "array",
3016
+ "items": {
3017
+ "$ref": "#/components/schemas/GetDialogDialogElementDtoSO"
3018
+ }
3019
+ },
3020
+ "guiActions": {
3021
+ "type": "array",
3022
+ "items": {
3023
+ "$ref": "#/components/schemas/GetDialogDialogGuiActionDtoSO"
3024
+ }
3025
+ },
3026
+ "apiActions": {
3027
+ "type": "array",
3028
+ "items": {
3029
+ "$ref": "#/components/schemas/GetDialogDialogApiActionDtoSO"
3030
+ }
3031
+ },
3032
+ "activities": {
3033
+ "type": "array",
3034
+ "items": {
3035
+ "$ref": "#/components/schemas/GetDialogDialogActivityDtoSO"
3036
+ }
3037
+ },
3038
+ "seenSinceLastUpdate": {
3039
+ "type": "array",
3040
+ "items": {
3041
+ "$ref": "#/components/schemas/GetDialogDialogSeenLogDtoSO"
3042
+ }
3043
+ }
3044
+ }
3045
+ },
3046
+ "OrderSetOfTOrderDefinitionAndTTarget": {},
3047
+ "ContinuationTokenSetOfTOrderDefinitionAndTTarget": {},
3048
+ "GetDialogContentDtoSO": {
3049
+ "type": "object",
3050
+ "additionalProperties": false,
3051
+ "properties": {
3052
+ "type": {
3053
+ "$ref": "#/components/schemas/DialogContentType_Values"
3054
+ },
3055
+ "value": {
3056
+ "type": "array",
3057
+ "items": {
3058
+ "$ref": "#/components/schemas/LocalizationDto"
3059
+ }
3060
+ }
3061
+ }
3062
+ },
3063
+ "GetDialogSearchTagDtoSO": {
3064
+ "type": "object",
3065
+ "additionalProperties": false,
3066
+ "properties": {
3067
+ "value": {
3068
+ "type": "string"
3069
+ }
3070
+ }
3071
+ },
3072
+ "GetDialogDialogElementDtoSO": {
3073
+ "type": "object",
3074
+ "additionalProperties": false,
3075
+ "properties": {
3076
+ "id": {
3077
+ "type": "string",
3078
+ "format": "guid"
3079
+ },
3080
+ "type": {
3081
+ "type": "string",
3082
+ "format": "uri",
3083
+ "nullable": true
3084
+ },
3085
+ "authorizationAttribute": {
3086
+ "type": "string",
3087
+ "nullable": true
3088
+ },
3089
+ "relatedDialogElementId": {
3090
+ "type": "string",
3091
+ "format": "guid",
3092
+ "nullable": true
3093
+ },
3094
+ "displayName": {
3095
+ "type": "array",
3096
+ "items": {
3097
+ "$ref": "#/components/schemas/LocalizationDto"
3098
+ }
3099
+ },
3100
+ "urls": {
3101
+ "type": "array",
3102
+ "items": {
3103
+ "$ref": "#/components/schemas/GetDialogDialogElementUrlDtoSO"
3104
+ }
3105
+ }
3106
+ }
3107
+ },
3108
+ "GetDialogDialogElementUrlDtoSO": {
3109
+ "type": "object",
3110
+ "additionalProperties": false,
3111
+ "properties": {
3112
+ "id": {
3113
+ "type": "string",
3114
+ "format": "guid"
3115
+ },
3116
+ "url": {
3117
+ "type": "string",
3118
+ "format": "uri"
3119
+ },
3120
+ "mimeType": {
3121
+ "type": "string",
3122
+ "nullable": true
3123
+ },
3124
+ "consumerType": {
3125
+ "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
3126
+ }
3127
+ }
3128
+ },
3129
+ "GetDialogDialogGuiActionDtoSO": {
3130
+ "type": "object",
3131
+ "additionalProperties": false,
3132
+ "properties": {
3133
+ "id": {
3134
+ "type": "string",
3135
+ "format": "guid"
3136
+ },
3137
+ "action": {
3138
+ "type": "string"
3139
+ },
3140
+ "url": {
3141
+ "type": "string",
3142
+ "format": "uri"
3143
+ },
3144
+ "authorizationAttribute": {
3145
+ "type": "string",
3146
+ "nullable": true
3147
+ },
3148
+ "isBackChannel": {
3149
+ "type": "boolean"
3150
+ },
3151
+ "isDeleteAction": {
3152
+ "type": "boolean"
3153
+ },
3154
+ "priority": {
3155
+ "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
3156
+ },
3157
+ "title": {
3158
+ "type": "array",
3159
+ "items": {
3160
+ "$ref": "#/components/schemas/LocalizationDto"
3161
+ }
3162
+ }
3163
+ }
3164
+ },
3165
+ "GetDialogDialogApiActionDtoSO": {
3166
+ "type": "object",
3167
+ "additionalProperties": false,
3168
+ "properties": {
3169
+ "id": {
3170
+ "type": "string",
3171
+ "format": "guid"
3172
+ },
3173
+ "action": {
3174
+ "type": "string"
3175
+ },
3176
+ "authorizationAttribute": {
3177
+ "type": "string",
3178
+ "nullable": true
3179
+ },
3180
+ "dialogElementId": {
3181
+ "type": "string",
3182
+ "format": "guid",
3183
+ "nullable": true
3184
+ },
3185
+ "endpoints": {
3186
+ "type": "array",
3187
+ "items": {
3188
+ "$ref": "#/components/schemas/GetDialogDialogApiActionEndpointDtoSO"
3189
+ }
3190
+ }
3191
+ }
3192
+ },
3193
+ "GetDialogDialogApiActionEndpointDtoSO": {
3194
+ "type": "object",
3195
+ "additionalProperties": false,
3196
+ "properties": {
3197
+ "id": {
3198
+ "type": "string",
3199
+ "format": "guid"
3200
+ },
3201
+ "version": {
3202
+ "type": "string",
3203
+ "nullable": true
3204
+ },
3205
+ "url": {
3206
+ "type": "string",
3207
+ "format": "uri"
3208
+ },
3209
+ "httpMethod": {
3210
+ "$ref": "#/components/schemas/HttpVerb_Values"
3211
+ },
3212
+ "documentationUrl": {
3213
+ "type": "string",
3214
+ "format": "uri",
3215
+ "nullable": true
3216
+ },
3217
+ "requestSchema": {
3218
+ "type": "string",
3219
+ "format": "uri",
3220
+ "nullable": true
3221
+ },
3222
+ "responseSchema": {
3223
+ "type": "string",
3224
+ "format": "uri",
3225
+ "nullable": true
3226
+ },
3227
+ "deprecated": {
3228
+ "type": "boolean"
3229
+ },
3230
+ "sunsetAt": {
3231
+ "type": "string",
3232
+ "format": "date-time",
3233
+ "nullable": true
3234
+ }
3235
+ }
3236
+ },
3237
+ "GetDialogDialogActivityDtoSO": {
3238
+ "type": "object",
3239
+ "additionalProperties": false,
3240
+ "properties": {
3241
+ "id": {
3242
+ "type": "string",
3243
+ "format": "guid"
3244
+ },
3245
+ "createdAt": {
3246
+ "type": "string",
3247
+ "format": "date-time",
3248
+ "nullable": true
3249
+ },
3250
+ "extendedType": {
3251
+ "type": "string",
3252
+ "format": "uri",
3253
+ "nullable": true
3254
+ },
3255
+ "type": {
3256
+ "$ref": "#/components/schemas/DialogActivityType_Values"
3257
+ },
3258
+ "relatedActivityId": {
3259
+ "type": "string",
3260
+ "format": "guid",
3261
+ "nullable": true
3262
+ },
3263
+ "dialogElementId": {
3264
+ "type": "string",
3265
+ "format": "guid",
3266
+ "nullable": true
3267
+ },
3268
+ "performedBy": {
3269
+ "type": "array",
3270
+ "nullable": true,
3271
+ "items": {
3272
+ "$ref": "#/components/schemas/LocalizationDto"
3273
+ }
3274
+ },
3275
+ "description": {
3276
+ "type": "array",
3277
+ "items": {
3278
+ "$ref": "#/components/schemas/LocalizationDto"
3279
+ }
3280
+ }
3281
+ }
3282
+ },
3283
+ "GetDialogDialogSeenLogDtoSO": {
3284
+ "type": "object",
3285
+ "additionalProperties": false,
3286
+ "properties": {
3287
+ "id": {
3288
+ "type": "string",
3289
+ "format": "guid"
3290
+ },
3291
+ "createdAt": {
3292
+ "type": "string",
3293
+ "format": "date-time"
3294
+ },
3295
+ "endUserIdHash": {
3296
+ "type": "string"
3297
+ },
3298
+ "endUserName": {
3299
+ "type": "string",
3300
+ "nullable": true
3301
+ },
3302
+ "isCurrentEndUser": {
3303
+ "type": "boolean",
3304
+ "nullable": true
3305
+ }
3306
+ }
3307
+ },
3308
+ "CreateDialogCommand": {
3309
+ "type": "object",
3310
+ "additionalProperties": false,
3311
+ "properties": {
3312
+ "id": {
3313
+ "type": "string",
3314
+ "format": "guid",
3315
+ "nullable": true
3316
+ },
3317
+ "serviceResource": {
3318
+ "type": "string"
3319
+ },
3320
+ "party": {
3321
+ "type": "string"
3322
+ },
3323
+ "progress": {
3324
+ "type": "integer",
3325
+ "format": "int32",
3326
+ "nullable": true
3327
+ },
3328
+ "extendedStatus": {
3329
+ "type": "string",
3330
+ "nullable": true
3331
+ },
3332
+ "externalReference": {
3333
+ "type": "string",
3334
+ "nullable": true
3335
+ },
3336
+ "visibleFrom": {
3337
+ "type": "string",
3338
+ "format": "date-time",
3339
+ "nullable": true
3340
+ },
3341
+ "dueAt": {
3342
+ "type": "string",
3343
+ "format": "date-time",
3344
+ "nullable": true
3345
+ },
3346
+ "expiresAt": {
3347
+ "type": "string",
3348
+ "format": "date-time",
3349
+ "nullable": true
3350
+ },
3351
+ "status": {
3352
+ "$ref": "#/components/schemas/DialogStatus_Values"
3353
+ },
3354
+ "content": {
3355
+ "type": "array",
3356
+ "items": {
3357
+ "$ref": "#/components/schemas/CreateDialogContentDto"
3358
+ }
3359
+ },
3360
+ "searchTags": {
3361
+ "type": "array",
3362
+ "items": {
3363
+ "$ref": "#/components/schemas/CreateDialogSearchTagDto"
3364
+ }
3365
+ },
3366
+ "elements": {
3367
+ "type": "array",
3368
+ "items": {
3369
+ "$ref": "#/components/schemas/CreateDialogDialogElementDto"
3370
+ }
3371
+ },
3372
+ "guiActions": {
3373
+ "type": "array",
3374
+ "items": {
3375
+ "$ref": "#/components/schemas/CreateDialogDialogGuiActionDto"
3376
+ }
3377
+ },
3378
+ "apiActions": {
3379
+ "type": "array",
3380
+ "items": {
3381
+ "$ref": "#/components/schemas/CreateDialogDialogApiActionDto"
3382
+ }
3383
+ },
3384
+ "activities": {
3385
+ "type": "array",
3386
+ "items": {
3387
+ "$ref": "#/components/schemas/CreateDialogDialogActivityDto"
3388
+ }
3389
+ }
3390
+ }
3391
+ },
3392
+ "CreateDialogContentDto": {
3393
+ "type": "object",
3394
+ "additionalProperties": false,
3395
+ "properties": {
3396
+ "type": {
3397
+ "$ref": "#/components/schemas/DialogContentType_Values"
3398
+ },
3399
+ "value": {
3400
+ "type": "array",
3401
+ "items": {
3402
+ "$ref": "#/components/schemas/LocalizationDto"
3403
+ }
3404
+ }
3405
+ }
3406
+ },
3407
+ "CreateDialogSearchTagDto": {
3408
+ "type": "object",
3409
+ "additionalProperties": false,
3410
+ "properties": {
3411
+ "value": {
3412
+ "type": "string"
3413
+ }
3414
+ }
3415
+ },
3416
+ "CreateDialogDialogElementDto": {
3417
+ "type": "object",
3418
+ "additionalProperties": false,
3419
+ "properties": {
3420
+ "id": {
3421
+ "type": "string",
3422
+ "format": "guid",
3423
+ "nullable": true
3424
+ },
3425
+ "type": {
3426
+ "type": "string",
3427
+ "format": "uri",
3428
+ "nullable": true
3429
+ },
3430
+ "externalReference": {
3431
+ "type": "string",
3432
+ "nullable": true
3433
+ },
3434
+ "authorizationAttribute": {
3435
+ "type": "string",
3436
+ "nullable": true
3437
+ },
3438
+ "relatedDialogElementId": {
3439
+ "type": "string",
3440
+ "format": "guid",
3441
+ "nullable": true
3442
+ },
3443
+ "displayName": {
3444
+ "type": "array",
3445
+ "items": {
3446
+ "$ref": "#/components/schemas/LocalizationDto"
3447
+ }
3448
+ },
3449
+ "urls": {
3450
+ "type": "array",
3451
+ "items": {
3452
+ "$ref": "#/components/schemas/CreateDialogDialogElementUrlDto"
3453
+ }
3454
+ }
3455
+ }
3456
+ },
3457
+ "CreateDialogDialogElementUrlDto": {
3458
+ "type": "object",
3459
+ "additionalProperties": false,
3460
+ "properties": {
3461
+ "url": {
3462
+ "type": "string",
3463
+ "format": "uri"
3464
+ },
3465
+ "mimeType": {
3466
+ "type": "string",
3467
+ "nullable": true
3468
+ },
3469
+ "consumerType": {
3470
+ "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
3471
+ }
3472
+ }
3473
+ },
3474
+ "CreateDialogDialogGuiActionDto": {
3475
+ "type": "object",
3476
+ "additionalProperties": false,
3477
+ "properties": {
3478
+ "action": {
3479
+ "type": "string"
3480
+ },
3481
+ "url": {
3482
+ "type": "string",
3483
+ "format": "uri"
3484
+ },
3485
+ "authorizationAttribute": {
3486
+ "type": "string",
3487
+ "nullable": true
3488
+ },
3489
+ "isBackChannel": {
3490
+ "type": "boolean"
3491
+ },
3492
+ "isDeleteAction": {
3493
+ "type": "boolean"
3494
+ },
3495
+ "priority": {
3496
+ "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
3497
+ },
3498
+ "title": {
3499
+ "type": "array",
3500
+ "items": {
3501
+ "$ref": "#/components/schemas/LocalizationDto"
3502
+ }
3503
+ }
3504
+ }
3505
+ },
3506
+ "CreateDialogDialogApiActionDto": {
3507
+ "type": "object",
3508
+ "additionalProperties": false,
3509
+ "properties": {
3510
+ "action": {
3511
+ "type": "string"
3512
+ },
3513
+ "authorizationAttribute": {
3514
+ "type": "string",
3515
+ "nullable": true
3516
+ },
3517
+ "dialogElementId": {
3518
+ "type": "string",
3519
+ "format": "guid",
3520
+ "nullable": true
3521
+ },
3522
+ "endpoints": {
3523
+ "type": "array",
3524
+ "items": {
3525
+ "$ref": "#/components/schemas/CreateDialogDialogApiActionEndpointDto"
3526
+ }
3527
+ }
3528
+ }
3529
+ },
3530
+ "CreateDialogDialogApiActionEndpointDto": {
3531
+ "type": "object",
3532
+ "additionalProperties": false,
3533
+ "properties": {
3534
+ "version": {
3535
+ "type": "string",
3536
+ "nullable": true
3537
+ },
3538
+ "url": {
3539
+ "type": "string",
3540
+ "format": "uri"
3541
+ },
3542
+ "httpMethod": {
3543
+ "$ref": "#/components/schemas/HttpVerb_Values"
3544
+ },
3545
+ "documentationUrl": {
3546
+ "type": "string",
3547
+ "format": "uri",
3548
+ "nullable": true
3549
+ },
3550
+ "requestSchema": {
3551
+ "type": "string",
3552
+ "format": "uri",
3553
+ "nullable": true
3554
+ },
3555
+ "responseSchema": {
3556
+ "type": "string",
3557
+ "format": "uri",
3558
+ "nullable": true
3559
+ },
3560
+ "deprecated": {
3561
+ "type": "boolean"
3562
+ },
3563
+ "sunsetAt": {
3564
+ "type": "string",
3565
+ "format": "date-time",
3566
+ "nullable": true
3567
+ }
3568
+ }
3569
+ },
3570
+ "CreateDialogDialogActivityDto": {
3571
+ "type": "object",
3572
+ "additionalProperties": false,
3573
+ "properties": {
3574
+ "id": {
3575
+ "type": "string",
3576
+ "format": "guid",
3577
+ "nullable": true
3578
+ },
3579
+ "createdAt": {
3580
+ "type": "string",
3581
+ "format": "date-time",
3582
+ "nullable": true
3583
+ },
3584
+ "extendedType": {
3585
+ "type": "string",
3586
+ "format": "uri",
3587
+ "nullable": true
3588
+ },
3589
+ "type": {
3590
+ "$ref": "#/components/schemas/DialogActivityType_Values"
3591
+ },
3592
+ "relatedActivityId": {
3593
+ "type": "string",
3594
+ "format": "guid",
3595
+ "nullable": true
3596
+ },
3597
+ "dialogElementId": {
3598
+ "type": "string",
3599
+ "format": "guid",
3600
+ "nullable": true
3601
+ },
3602
+ "performedBy": {
3603
+ "type": "array",
3604
+ "items": {
3605
+ "$ref": "#/components/schemas/LocalizationDto"
3606
+ }
3607
+ },
3608
+ "description": {
3609
+ "type": "array",
3610
+ "items": {
3611
+ "$ref": "#/components/schemas/LocalizationDto"
3612
+ }
3613
+ }
3614
+ }
3615
+ },
3616
+ "UpdateDialogElementRequest": {
3617
+ "type": "object",
3618
+ "additionalProperties": false,
3619
+ "properties": {
3620
+ "type": {
3621
+ "type": "string",
3622
+ "format": "uri",
3623
+ "nullable": true
3624
+ },
3625
+ "authorizationAttribute": {
3626
+ "type": "string",
3627
+ "nullable": true
3628
+ },
3629
+ "relatedDialogElementId": {
3630
+ "type": "string",
3631
+ "format": "guid",
3632
+ "nullable": true
3633
+ },
3634
+ "displayName": {
3635
+ "type": "array",
3636
+ "items": {
3637
+ "$ref": "#/components/schemas/LocalizationDto"
3638
+ }
3639
+ },
3640
+ "urls": {
3641
+ "type": "array",
3642
+ "items": {
3643
+ "$ref": "#/components/schemas/UpdateDialogDialogElementUrlDto"
3644
+ }
3645
+ }
3646
+ }
3647
+ },
3648
+ "CreateDialogElementRequest": {
3649
+ "type": "object",
3650
+ "additionalProperties": false,
3651
+ "properties": {
3652
+ "id": {
3653
+ "type": "string",
3654
+ "format": "guid",
3655
+ "nullable": true
3656
+ },
3657
+ "type": {
3658
+ "type": "string",
3659
+ "format": "uri",
3660
+ "nullable": true
3661
+ },
3662
+ "externalReference": {
3663
+ "type": "string",
3664
+ "nullable": true
3665
+ },
3666
+ "authorizationAttribute": {
3667
+ "type": "string",
3668
+ "nullable": true
3669
+ },
3670
+ "relatedDialogElementId": {
3671
+ "type": "string",
3672
+ "format": "guid",
3673
+ "nullable": true
3674
+ },
3675
+ "displayName": {
3676
+ "type": "array",
3677
+ "items": {
3678
+ "$ref": "#/components/schemas/LocalizationDto"
3679
+ }
3680
+ },
3681
+ "urls": {
3682
+ "type": "array",
3683
+ "items": {
3684
+ "$ref": "#/components/schemas/UpdateDialogDialogElementUrlDto"
3685
+ }
3686
+ }
3687
+ }
3688
+ },
3689
+ "CreateDialogActivityRequest": {
3690
+ "type": "object",
3691
+ "additionalProperties": false,
3692
+ "properties": {
3693
+ "id": {
3694
+ "type": "string",
3695
+ "format": "guid",
3696
+ "nullable": true
3697
+ },
3698
+ "createdAt": {
3699
+ "type": "string",
3700
+ "format": "date-time",
3701
+ "nullable": true
3702
+ },
3703
+ "extendedType": {
3704
+ "type": "string",
3705
+ "format": "uri",
3706
+ "nullable": true
3707
+ },
3708
+ "type": {
3709
+ "$ref": "#/components/schemas/DialogActivityType_Values"
3710
+ },
3711
+ "relatedActivityId": {
3712
+ "type": "string",
3713
+ "format": "guid",
3714
+ "nullable": true
3715
+ },
3716
+ "dialogElementId": {
3717
+ "type": "string",
3718
+ "format": "guid",
3719
+ "nullable": true
3720
+ },
3721
+ "performedBy": {
3722
+ "type": "array",
3723
+ "items": {
3724
+ "$ref": "#/components/schemas/LocalizationDto"
3725
+ }
3726
+ },
3727
+ "description": {
3728
+ "type": "array",
3729
+ "items": {
3730
+ "$ref": "#/components/schemas/LocalizationDto"
3731
+ }
3732
+ }
3733
+ }
3734
+ },
3735
+ "SearchDialogSeenLogDto": {
3736
+ "type": "object",
3737
+ "additionalProperties": false,
3738
+ "properties": {
3739
+ "id": {
3740
+ "type": "string",
3741
+ "format": "guid"
3742
+ },
3743
+ "seenAt": {
3744
+ "type": "string",
3745
+ "format": "date-time"
3746
+ },
3747
+ "endUserIdHash": {
3748
+ "type": "string"
3749
+ },
3750
+ "endUserName": {
3751
+ "type": "string",
3752
+ "nullable": true
3753
+ },
3754
+ "isCurrentEndUser": {
3755
+ "type": "boolean"
3756
+ }
3757
+ }
3758
+ },
3759
+ "GetDialogSeenLogDto": {
3760
+ "type": "object",
3761
+ "additionalProperties": false,
3762
+ "properties": {
3763
+ "id": {
3764
+ "type": "string",
3765
+ "format": "guid"
3766
+ },
3767
+ "seenAt": {
3768
+ "type": "string",
3769
+ "format": "date-time"
3770
+ },
3771
+ "endUserIdHash": {
3772
+ "type": "string"
3773
+ },
3774
+ "endUserName": {
3775
+ "type": "string",
3776
+ "nullable": true
3777
+ },
3778
+ "isCurrentEndUser": {
3779
+ "type": "boolean"
3780
+ }
3781
+ }
3782
+ },
3783
+ "PaginatedListOfSearchDialogDto": {
3784
+ "type": "object",
3785
+ "additionalProperties": false,
3786
+ "properties": {
3787
+ "items": {
3788
+ "type": "array",
3789
+ "items": {
3790
+ "$ref": "#/components/schemas/SearchDialogDto"
3791
+ }
3792
+ },
3793
+ "hasNextPage": {
3794
+ "type": "boolean"
3795
+ },
3796
+ "continuationToken": {
3797
+ "type": "string",
3798
+ "nullable": true
3799
+ },
3800
+ "orderBy": {
3801
+ "type": "string"
3802
+ }
3803
+ }
3804
+ },
3805
+ "SearchDialogDto": {
3806
+ "type": "object",
3807
+ "additionalProperties": false,
3808
+ "properties": {
3809
+ "id": {
3810
+ "type": "string",
3811
+ "format": "guid"
3812
+ },
3813
+ "org": {
3814
+ "type": "string"
3815
+ },
3816
+ "serviceResource": {
3817
+ "type": "string"
3818
+ },
3819
+ "party": {
3820
+ "type": "string"
3821
+ },
3822
+ "progress": {
3823
+ "type": "integer",
3824
+ "format": "int32",
3825
+ "nullable": true
3826
+ },
3827
+ "guiAttachmentCount": {
3828
+ "type": "integer",
3829
+ "format": "int32",
3830
+ "nullable": true
3831
+ },
3832
+ "extendedStatus": {
3833
+ "type": "string",
3834
+ "nullable": true
3835
+ },
3836
+ "createdAt": {
3837
+ "type": "string",
3838
+ "format": "date-time"
3839
+ },
3840
+ "updatedAt": {
3841
+ "type": "string",
3842
+ "format": "date-time"
3843
+ },
3844
+ "dueAt": {
3845
+ "type": "string",
3846
+ "format": "date-time",
3847
+ "nullable": true
3848
+ },
3849
+ "status": {
3850
+ "$ref": "#/components/schemas/DialogStatus_Values"
3851
+ },
3852
+ "latestActivity": {
3853
+ "nullable": true,
3854
+ "oneOf": [
3855
+ {
3856
+ "$ref": "#/components/schemas/SearchDialogDialogActivityDto"
3857
+ }
3858
+ ]
3859
+ },
3860
+ "content": {
3861
+ "type": "array",
3862
+ "items": {
3863
+ "$ref": "#/components/schemas/SearchDialogContentDto"
3864
+ }
3865
+ },
3866
+ "seenSinceLastUpdate": {
3867
+ "type": "array",
3868
+ "items": {
3869
+ "$ref": "#/components/schemas/SearchDialogDialogSeenLogDto"
3870
+ }
3871
+ }
3872
+ }
3873
+ },
3874
+ "SearchDialogDialogActivityDto": {
3875
+ "type": "object",
3876
+ "additionalProperties": false,
3877
+ "properties": {
3878
+ "id": {
3879
+ "type": "string",
3880
+ "format": "guid"
3881
+ },
3882
+ "createdAt": {
3883
+ "type": "string",
3884
+ "format": "date-time",
3885
+ "nullable": true
3886
+ },
3887
+ "extendedType": {
3888
+ "type": "string",
3889
+ "format": "uri",
3890
+ "nullable": true
3891
+ },
3892
+ "type": {
3893
+ "$ref": "#/components/schemas/DialogActivityType_Values"
3894
+ },
3895
+ "relatedActivityId": {
3896
+ "type": "string",
3897
+ "format": "guid",
3898
+ "nullable": true
3899
+ },
3900
+ "dialogElementId": {
3901
+ "type": "string",
3902
+ "format": "guid",
3903
+ "nullable": true
3904
+ },
3905
+ "performedBy": {
3906
+ "type": "array",
3907
+ "nullable": true,
3908
+ "items": {
3909
+ "$ref": "#/components/schemas/LocalizationDto"
3910
+ }
3911
+ },
3912
+ "description": {
3913
+ "type": "array",
3914
+ "items": {
3915
+ "$ref": "#/components/schemas/LocalizationDto"
3916
+ }
3917
+ }
3918
+ }
3919
+ },
3920
+ "SearchDialogContentDto": {
3921
+ "type": "object",
3922
+ "additionalProperties": false,
3923
+ "properties": {
3924
+ "type": {
3925
+ "$ref": "#/components/schemas/DialogContentType_Values"
3926
+ },
3927
+ "value": {
3928
+ "type": "array",
3929
+ "items": {
3930
+ "$ref": "#/components/schemas/LocalizationDto"
3931
+ }
3932
+ }
3933
+ }
3934
+ },
3935
+ "SearchDialogDialogSeenLogDto": {
3936
+ "type": "object",
3937
+ "additionalProperties": false,
3938
+ "properties": {
3939
+ "id": {
3940
+ "type": "string",
3941
+ "format": "guid"
3942
+ },
3943
+ "seenAt": {
3944
+ "type": "string",
3945
+ "format": "date-time"
3946
+ },
3947
+ "endUserIdHash": {
3948
+ "type": "string"
3949
+ },
3950
+ "endUserName": {
3951
+ "type": "string",
3952
+ "nullable": true
3953
+ },
3954
+ "isCurrentEndUser": {
3955
+ "type": "boolean"
3956
+ }
3957
+ }
3958
+ },
3959
+ "GetDialogDto": {
3960
+ "type": "object",
3961
+ "additionalProperties": false,
3962
+ "properties": {
3963
+ "id": {
3964
+ "type": "string",
3965
+ "format": "guid"
3966
+ },
3967
+ "revision": {
3968
+ "type": "string",
3969
+ "format": "guid"
3970
+ },
3971
+ "org": {
3972
+ "type": "string"
3973
+ },
3974
+ "serviceResource": {
3975
+ "type": "string"
3976
+ },
3977
+ "party": {
3978
+ "type": "string"
3979
+ },
3980
+ "progress": {
3981
+ "type": "integer",
3982
+ "format": "int32",
3983
+ "nullable": true
3984
+ },
3985
+ "extendedStatus": {
3986
+ "type": "string",
3987
+ "nullable": true
3988
+ },
3989
+ "externalReference": {
3990
+ "type": "string",
3991
+ "nullable": true
3992
+ },
3993
+ "visibleFrom": {
3994
+ "type": "string",
3995
+ "format": "date-time",
3996
+ "nullable": true
3997
+ },
3998
+ "dueAt": {
3999
+ "type": "string",
4000
+ "format": "date-time",
4001
+ "nullable": true
4002
+ },
4003
+ "expiresAt": {
4004
+ "type": "string",
4005
+ "format": "date-time",
4006
+ "nullable": true
4007
+ },
4008
+ "createdAt": {
4009
+ "type": "string",
4010
+ "format": "date-time"
4011
+ },
4012
+ "updatedAt": {
4013
+ "type": "string",
4014
+ "format": "date-time"
4015
+ },
4016
+ "status": {
4017
+ "$ref": "#/components/schemas/DialogStatus_Values"
4018
+ },
4019
+ "content": {
4020
+ "type": "array",
4021
+ "items": {
4022
+ "$ref": "#/components/schemas/GetDialogContentDto"
4023
+ }
4024
+ },
4025
+ "dialogToken": {
4026
+ "type": "string",
4027
+ "nullable": true
4028
+ },
4029
+ "elements": {
4030
+ "type": "array",
4031
+ "items": {
4032
+ "$ref": "#/components/schemas/GetDialogDialogElementDto"
4033
+ }
4034
+ },
4035
+ "guiActions": {
4036
+ "type": "array",
4037
+ "items": {
4038
+ "$ref": "#/components/schemas/GetDialogDialogGuiActionDto"
4039
+ }
4040
+ },
4041
+ "apiActions": {
4042
+ "type": "array",
4043
+ "items": {
4044
+ "$ref": "#/components/schemas/GetDialogDialogApiActionDto"
4045
+ }
4046
+ },
4047
+ "activities": {
4048
+ "type": "array",
4049
+ "items": {
4050
+ "$ref": "#/components/schemas/GetDialogDialogActivityDto"
4051
+ }
4052
+ },
4053
+ "seenSinceLastUpdate": {
4054
+ "type": "array",
4055
+ "items": {
4056
+ "$ref": "#/components/schemas/GetDialogDialogSeenLogDto"
4057
+ }
4058
+ }
4059
+ }
4060
+ },
4061
+ "GetDialogContentDto": {
4062
+ "type": "object",
4063
+ "additionalProperties": false,
4064
+ "properties": {
4065
+ "type": {
4066
+ "$ref": "#/components/schemas/DialogContentType_Values"
4067
+ },
4068
+ "value": {
4069
+ "type": "array",
4070
+ "items": {
4071
+ "$ref": "#/components/schemas/LocalizationDto"
4072
+ }
4073
+ }
4074
+ }
4075
+ },
4076
+ "GetDialogDialogElementDto": {
4077
+ "type": "object",
4078
+ "additionalProperties": false,
4079
+ "properties": {
4080
+ "id": {
4081
+ "type": "string",
4082
+ "format": "guid"
4083
+ },
4084
+ "type": {
4085
+ "type": "string",
4086
+ "format": "uri",
4087
+ "nullable": true
4088
+ },
4089
+ "externalReference": {
4090
+ "type": "string",
4091
+ "nullable": true
4092
+ },
4093
+ "authorizationAttribute": {
4094
+ "type": "string",
4095
+ "nullable": true
4096
+ },
4097
+ "isAuthorized": {
4098
+ "type": "boolean"
4099
+ },
4100
+ "relatedDialogElementId": {
4101
+ "type": "string",
4102
+ "format": "guid",
4103
+ "nullable": true
4104
+ },
4105
+ "displayName": {
4106
+ "type": "array",
4107
+ "items": {
4108
+ "$ref": "#/components/schemas/LocalizationDto"
4109
+ }
4110
+ },
4111
+ "urls": {
4112
+ "type": "array",
4113
+ "items": {
4114
+ "$ref": "#/components/schemas/GetDialogDialogElementUrlDto"
4115
+ }
4116
+ }
4117
+ }
4118
+ },
4119
+ "GetDialogDialogElementUrlDto": {
4120
+ "type": "object",
4121
+ "additionalProperties": false,
4122
+ "properties": {
4123
+ "id": {
4124
+ "type": "string",
4125
+ "format": "guid"
4126
+ },
4127
+ "url": {
4128
+ "type": "string",
4129
+ "format": "uri"
4130
+ },
4131
+ "mimeType": {
4132
+ "type": "string",
4133
+ "nullable": true
4134
+ },
4135
+ "consumerType": {
4136
+ "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
4137
+ }
4138
+ }
4139
+ },
4140
+ "GetDialogDialogGuiActionDto": {
4141
+ "type": "object",
4142
+ "additionalProperties": false,
4143
+ "properties": {
4144
+ "id": {
4145
+ "type": "string",
4146
+ "format": "guid"
4147
+ },
4148
+ "action": {
4149
+ "type": "string"
4150
+ },
4151
+ "url": {
4152
+ "type": "string",
4153
+ "format": "uri"
4154
+ },
4155
+ "authorizationAttribute": {
4156
+ "type": "string",
4157
+ "nullable": true
4158
+ },
4159
+ "isAuthorized": {
4160
+ "type": "boolean"
4161
+ },
4162
+ "isBackChannel": {
4163
+ "type": "boolean"
4164
+ },
4165
+ "isDeleteAction": {
4166
+ "type": "boolean"
4167
+ },
4168
+ "priority": {
4169
+ "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
4170
+ },
4171
+ "title": {
4172
+ "type": "array",
4173
+ "items": {
4174
+ "$ref": "#/components/schemas/LocalizationDto"
4175
+ }
4176
+ }
4177
+ }
4178
+ },
4179
+ "GetDialogDialogApiActionDto": {
4180
+ "type": "object",
4181
+ "additionalProperties": false,
4182
+ "properties": {
4183
+ "id": {
4184
+ "type": "string",
4185
+ "format": "guid"
4186
+ },
4187
+ "action": {
4188
+ "type": "string"
4189
+ },
4190
+ "authorizationAttribute": {
4191
+ "type": "string",
4192
+ "nullable": true
4193
+ },
4194
+ "isAuthorized": {
4195
+ "type": "boolean"
4196
+ },
4197
+ "dialogElementId": {
4198
+ "type": "string",
4199
+ "format": "guid",
4200
+ "nullable": true
4201
+ },
4202
+ "endpoints": {
4203
+ "type": "array",
4204
+ "items": {
4205
+ "$ref": "#/components/schemas/GetDialogDialogApiActionEndpointDto"
4206
+ }
4207
+ }
4208
+ }
4209
+ },
4210
+ "GetDialogDialogApiActionEndpointDto": {
4211
+ "type": "object",
4212
+ "additionalProperties": false,
4213
+ "properties": {
4214
+ "id": {
4215
+ "type": "string",
4216
+ "format": "guid"
4217
+ },
4218
+ "version": {
4219
+ "type": "string",
4220
+ "nullable": true
4221
+ },
4222
+ "url": {
4223
+ "type": "string",
4224
+ "format": "uri"
4225
+ },
4226
+ "httpMethod": {
4227
+ "$ref": "#/components/schemas/HttpVerb_Values"
4228
+ },
4229
+ "documentationUrl": {
4230
+ "type": "string",
4231
+ "format": "uri",
4232
+ "nullable": true
4233
+ },
4234
+ "requestSchema": {
4235
+ "type": "string",
4236
+ "format": "uri",
4237
+ "nullable": true
4238
+ },
4239
+ "responseSchema": {
4240
+ "type": "string",
4241
+ "format": "uri",
4242
+ "nullable": true
4243
+ },
4244
+ "deprecated": {
4245
+ "type": "boolean"
4246
+ },
4247
+ "sunsetAt": {
4248
+ "type": "string",
4249
+ "format": "date-time",
4250
+ "nullable": true
4251
+ }
4252
+ }
4253
+ },
4254
+ "GetDialogDialogActivityDto": {
4255
+ "type": "object",
4256
+ "additionalProperties": false,
4257
+ "properties": {
4258
+ "id": {
4259
+ "type": "string",
4260
+ "format": "guid"
4261
+ },
4262
+ "createdAt": {
4263
+ "type": "string",
4264
+ "format": "date-time",
4265
+ "nullable": true
4266
+ },
4267
+ "extendedType": {
4268
+ "type": "string",
4269
+ "format": "uri",
4270
+ "nullable": true
4271
+ },
4272
+ "type": {
4273
+ "$ref": "#/components/schemas/DialogActivityType_Values"
4274
+ },
4275
+ "relatedActivityId": {
4276
+ "type": "string",
4277
+ "format": "guid",
4278
+ "nullable": true
4279
+ },
4280
+ "dialogElementId": {
4281
+ "type": "string",
4282
+ "format": "guid",
4283
+ "nullable": true
4284
+ },
4285
+ "performedBy": {
4286
+ "type": "array",
4287
+ "nullable": true,
4288
+ "items": {
4289
+ "$ref": "#/components/schemas/LocalizationDto"
4290
+ }
4291
+ },
4292
+ "description": {
4293
+ "type": "array",
4294
+ "items": {
4295
+ "$ref": "#/components/schemas/LocalizationDto"
4296
+ }
4297
+ }
4298
+ }
4299
+ },
4300
+ "GetDialogDialogSeenLogDto": {
4301
+ "type": "object",
4302
+ "additionalProperties": false,
4303
+ "properties": {
4304
+ "id": {
4305
+ "type": "string",
4306
+ "format": "guid"
4307
+ },
4308
+ "seenAt": {
4309
+ "type": "string",
4310
+ "format": "date-time"
4311
+ },
4312
+ "endUserIdHash": {
4313
+ "type": "string"
4314
+ },
4315
+ "endUserName": {
4316
+ "type": "string",
4317
+ "nullable": true
4318
+ },
4319
+ "isCurrentEndUser": {
4320
+ "type": "boolean"
4321
+ }
4322
+ }
4323
+ },
4324
+ "Operation": {
4325
+ "type": "object",
4326
+ "additionalProperties": false,
4327
+ "properties": {
4328
+ "operationType": {
4329
+ "$ref": "#/components/schemas/OperationType"
4330
+ },
4331
+ "path": {
4332
+ "type": "string",
4333
+ "nullable": true
4334
+ },
4335
+ "op": {
4336
+ "type": "string",
4337
+ "nullable": true
4338
+ },
4339
+ "from": {
4340
+ "type": "string",
4341
+ "nullable": true
4342
+ },
4343
+ "value": {
4344
+ "nullable": true
4345
+ }
4346
+ }
4347
+ },
4348
+ "OperationType": {
4349
+ "type": "string",
4350
+ "description": "",
4351
+ "x-enumNames": [
4352
+ "Add",
4353
+ "Remove",
4354
+ "Replace",
4355
+ "Move",
4356
+ "Copy",
4357
+ "Test",
4358
+ "Invalid"
4359
+ ],
4360
+ "enum": [
4361
+ "Add",
4362
+ "Remove",
4363
+ "Replace",
4364
+ "Move",
4365
+ "Copy",
4366
+ "Test",
4367
+ "Invalid"
4368
+ ]
4369
+ }
4370
+ },
4371
+ "securitySchemes": {
4372
+ "JWTBearerAuth": {
4373
+ "type": "http",
4374
+ "description": "Enter a JWT token to authorize the requests...",
4375
+ "scheme": "Bearer",
4376
+ "bearerFormat": "JWT"
4377
+ }
4378
+ }
4379
+ }
4380
+ }