@digdir/dialogporten-schema 1.104.0 → 1.104.1-4b9520f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema.verified.graphql +19 -0
- package/src/index.js +19 -0
- package/swagger.verified.json +103 -10
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -272,6 +272,13 @@ type EndUserContext {
|
|
|
272
272
|
systemLabels: [SystemLabel!]!
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
type EndUserSearchLimits {
|
|
276
|
+
maxPartyFilterValues: Int!
|
|
277
|
+
maxServiceResourceFilterValues: Int!
|
|
278
|
+
maxOrgFilterValues: Int!
|
|
279
|
+
maxExtendedStatusFilterValues: Int!
|
|
280
|
+
}
|
|
281
|
+
|
|
275
282
|
type GuiAction {
|
|
276
283
|
"The unique identifier for the action in UUIDv7 format."
|
|
277
284
|
id: UUID!
|
|
@@ -295,6 +302,11 @@ type GuiAction {
|
|
|
295
302
|
prompt: [Localization!]
|
|
296
303
|
}
|
|
297
304
|
|
|
305
|
+
type Limits {
|
|
306
|
+
endUserSearch: EndUserSearchLimits!
|
|
307
|
+
serviceOwnerSearch: ServiceOwnerSearchLimits!
|
|
308
|
+
}
|
|
309
|
+
|
|
298
310
|
type Localization {
|
|
299
311
|
value: String!
|
|
300
312
|
languageCode: String!
|
|
@@ -308,6 +320,7 @@ type Mutations {
|
|
|
308
320
|
type Queries @authorize(policy: "enduser") {
|
|
309
321
|
dialogById(dialogId: UUID!): DialogByIdPayload!
|
|
310
322
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
323
|
+
limits: Limits!
|
|
311
324
|
parties: [AuthorizedParty!]!
|
|
312
325
|
}
|
|
313
326
|
|
|
@@ -416,6 +429,12 @@ type SeenLog {
|
|
|
416
429
|
isCurrentEndUser: Boolean!
|
|
417
430
|
}
|
|
418
431
|
|
|
432
|
+
type ServiceOwnerSearchLimits {
|
|
433
|
+
maxPartyFilterValues: Int!
|
|
434
|
+
maxServiceResourceFilterValues: Int!
|
|
435
|
+
maxExtendedStatusFilterValues: Int!
|
|
436
|
+
}
|
|
437
|
+
|
|
419
438
|
type SetSystemLabelConcurrencyError implements SetSystemLabelError {
|
|
420
439
|
message: String!
|
|
421
440
|
}
|
package/src/index.js
CHANGED
|
@@ -272,6 +272,13 @@ type EndUserContext {
|
|
|
272
272
|
systemLabels: [SystemLabel!]!
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
type EndUserSearchLimits {
|
|
276
|
+
maxPartyFilterValues: Int!
|
|
277
|
+
maxServiceResourceFilterValues: Int!
|
|
278
|
+
maxOrgFilterValues: Int!
|
|
279
|
+
maxExtendedStatusFilterValues: Int!
|
|
280
|
+
}
|
|
281
|
+
|
|
275
282
|
type GuiAction {
|
|
276
283
|
"The unique identifier for the action in UUIDv7 format."
|
|
277
284
|
id: UUID!
|
|
@@ -295,6 +302,11 @@ type GuiAction {
|
|
|
295
302
|
prompt: [Localization!]
|
|
296
303
|
}
|
|
297
304
|
|
|
305
|
+
type Limits {
|
|
306
|
+
endUserSearch: EndUserSearchLimits!
|
|
307
|
+
serviceOwnerSearch: ServiceOwnerSearchLimits!
|
|
308
|
+
}
|
|
309
|
+
|
|
298
310
|
type Localization {
|
|
299
311
|
value: String!
|
|
300
312
|
languageCode: String!
|
|
@@ -308,6 +320,7 @@ type Mutations {
|
|
|
308
320
|
type Queries @authorize(policy: "enduser") {
|
|
309
321
|
dialogById(dialogId: UUID!): DialogByIdPayload!
|
|
310
322
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
323
|
+
limits: Limits!
|
|
311
324
|
parties: [AuthorizedParty!]!
|
|
312
325
|
}
|
|
313
326
|
|
|
@@ -416,6 +429,12 @@ type SeenLog {
|
|
|
416
429
|
isCurrentEndUser: Boolean!
|
|
417
430
|
}
|
|
418
431
|
|
|
432
|
+
type ServiceOwnerSearchLimits {
|
|
433
|
+
maxPartyFilterValues: Int!
|
|
434
|
+
maxServiceResourceFilterValues: Int!
|
|
435
|
+
maxExtendedStatusFilterValues: Int!
|
|
436
|
+
}
|
|
437
|
+
|
|
419
438
|
type SetSystemLabelConcurrencyError implements SetSystemLabelError {
|
|
420
439
|
message: String!
|
|
421
440
|
}
|
package/swagger.verified.json
CHANGED
|
@@ -2429,6 +2429,58 @@
|
|
|
2429
2429
|
},
|
|
2430
2430
|
"type": "object"
|
|
2431
2431
|
},
|
|
2432
|
+
"V1MetadataLimitsQueriesGet_EndUserSearchLimits": {
|
|
2433
|
+
"additionalProperties": false,
|
|
2434
|
+
"properties": {
|
|
2435
|
+
"maxExtendedStatusFilterValues": {
|
|
2436
|
+
"format": "int32",
|
|
2437
|
+
"type": "integer"
|
|
2438
|
+
},
|
|
2439
|
+
"maxOrgFilterValues": {
|
|
2440
|
+
"format": "int32",
|
|
2441
|
+
"type": "integer"
|
|
2442
|
+
},
|
|
2443
|
+
"maxPartyFilterValues": {
|
|
2444
|
+
"format": "int32",
|
|
2445
|
+
"type": "integer"
|
|
2446
|
+
},
|
|
2447
|
+
"maxServiceResourceFilterValues": {
|
|
2448
|
+
"format": "int32",
|
|
2449
|
+
"type": "integer"
|
|
2450
|
+
}
|
|
2451
|
+
},
|
|
2452
|
+
"type": "object"
|
|
2453
|
+
},
|
|
2454
|
+
"V1MetadataLimitsQueriesGet_Limits": {
|
|
2455
|
+
"additionalProperties": false,
|
|
2456
|
+
"properties": {
|
|
2457
|
+
"endUserSearch": {
|
|
2458
|
+
"$ref": "#/components/schemas/V1MetadataLimitsQueriesGet_EndUserSearchLimits"
|
|
2459
|
+
},
|
|
2460
|
+
"serviceOwnerSearch": {
|
|
2461
|
+
"$ref": "#/components/schemas/V1MetadataLimitsQueriesGet_ServiceOwnerSearchLimits"
|
|
2462
|
+
}
|
|
2463
|
+
},
|
|
2464
|
+
"type": "object"
|
|
2465
|
+
},
|
|
2466
|
+
"V1MetadataLimitsQueriesGet_ServiceOwnerSearchLimits": {
|
|
2467
|
+
"additionalProperties": false,
|
|
2468
|
+
"properties": {
|
|
2469
|
+
"maxExtendedStatusFilterValues": {
|
|
2470
|
+
"format": "int32",
|
|
2471
|
+
"type": "integer"
|
|
2472
|
+
},
|
|
2473
|
+
"maxPartyFilterValues": {
|
|
2474
|
+
"format": "int32",
|
|
2475
|
+
"type": "integer"
|
|
2476
|
+
},
|
|
2477
|
+
"maxServiceResourceFilterValues": {
|
|
2478
|
+
"format": "int32",
|
|
2479
|
+
"type": "integer"
|
|
2480
|
+
}
|
|
2481
|
+
},
|
|
2482
|
+
"type": "object"
|
|
2483
|
+
},
|
|
2432
2484
|
"V1ServiceOwnerCommonActors_Actor": {
|
|
2433
2485
|
"additionalProperties": false,
|
|
2434
2486
|
"properties": {
|
|
@@ -2483,7 +2535,7 @@
|
|
|
2483
2535
|
"additionalProperties": false,
|
|
2484
2536
|
"properties": {
|
|
2485
2537
|
"createdAt": {
|
|
2486
|
-
"description": "If supplied, overrides the creating date and time for the
|
|
2538
|
+
"description": "If supplied, overrides the creating date and time for the activity.\nIf not supplied, the current date /time will be used.",
|
|
2487
2539
|
"format": "date-time",
|
|
2488
2540
|
"nullable": true,
|
|
2489
2541
|
"type": "string"
|
|
@@ -2497,7 +2549,7 @@
|
|
|
2497
2549
|
"type": "array"
|
|
2498
2550
|
},
|
|
2499
2551
|
"extendedType": {
|
|
2500
|
-
"description": "Arbitrary URI/URN describing a service-specific
|
|
2552
|
+
"description": "Arbitrary URI/URN describing a service-specific activity type.",
|
|
2501
2553
|
"format": "uri",
|
|
2502
2554
|
"nullable": true,
|
|
2503
2555
|
"type": "string"
|
|
@@ -2524,7 +2576,7 @@
|
|
|
2524
2576
|
"type": "string"
|
|
2525
2577
|
},
|
|
2526
2578
|
"type": {
|
|
2527
|
-
"description": "The type of
|
|
2579
|
+
"description": "The type of activity.",
|
|
2528
2580
|
"oneOf": [
|
|
2529
2581
|
{
|
|
2530
2582
|
"$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
|
|
@@ -3273,7 +3325,7 @@
|
|
|
3273
3325
|
"additionalProperties": false,
|
|
3274
3326
|
"properties": {
|
|
3275
3327
|
"createdAt": {
|
|
3276
|
-
"description": "If supplied, overrides the creating date and time for the
|
|
3328
|
+
"description": "If supplied, overrides the creating date and time for the activity.\nIf not supplied, the current date /time will be used.",
|
|
3277
3329
|
"format": "date-time",
|
|
3278
3330
|
"nullable": true,
|
|
3279
3331
|
"type": "string"
|
|
@@ -3287,7 +3339,7 @@
|
|
|
3287
3339
|
"type": "array"
|
|
3288
3340
|
},
|
|
3289
3341
|
"extendedType": {
|
|
3290
|
-
"description": "Arbitrary URI/URN describing a service-specific
|
|
3342
|
+
"description": "Arbitrary URI/URN describing a service-specific activity type.",
|
|
3291
3343
|
"format": "uri",
|
|
3292
3344
|
"nullable": true,
|
|
3293
3345
|
"type": "string"
|
|
@@ -3314,7 +3366,7 @@
|
|
|
3314
3366
|
"type": "string"
|
|
3315
3367
|
},
|
|
3316
3368
|
"type": {
|
|
3317
|
-
"description": "The type of
|
|
3369
|
+
"description": "The type of activity",
|
|
3318
3370
|
"oneOf": [
|
|
3319
3371
|
{
|
|
3320
3372
|
"$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
|
|
@@ -3538,7 +3590,7 @@
|
|
|
3538
3590
|
"additionalProperties": false,
|
|
3539
3591
|
"properties": {
|
|
3540
3592
|
"createdAt": {
|
|
3541
|
-
"description": "If supplied, overrides the creating date and time for the
|
|
3593
|
+
"description": "If supplied, overrides the creating date and time for the activity.\nIf not supplied, the current date /time will be used.",
|
|
3542
3594
|
"format": "date-time",
|
|
3543
3595
|
"nullable": true,
|
|
3544
3596
|
"type": "string"
|
|
@@ -3552,7 +3604,7 @@
|
|
|
3552
3604
|
"type": "array"
|
|
3553
3605
|
},
|
|
3554
3606
|
"extendedType": {
|
|
3555
|
-
"description": "Arbitrary URI/URN describing a service-specific
|
|
3607
|
+
"description": "Arbitrary URI/URN describing a service-specific activity type.",
|
|
3556
3608
|
"format": "uri",
|
|
3557
3609
|
"nullable": true,
|
|
3558
3610
|
"type": "string"
|
|
@@ -3579,7 +3631,7 @@
|
|
|
3579
3631
|
"type": "string"
|
|
3580
3632
|
},
|
|
3581
3633
|
"type": {
|
|
3582
|
-
"description": "The type of
|
|
3634
|
+
"description": "The type of activity.",
|
|
3583
3635
|
"oneOf": [
|
|
3584
3636
|
{
|
|
3585
3637
|
"$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
|
|
@@ -7725,6 +7777,47 @@
|
|
|
7725
7777
|
]
|
|
7726
7778
|
}
|
|
7727
7779
|
},
|
|
7780
|
+
"/api/v1/metadata/limits": {
|
|
7781
|
+
"get": {
|
|
7782
|
+
"description": "Returns the active limits for EndUser and ServiceOwner search filters.",
|
|
7783
|
+
"operationId": "V1MetadataLimitsGet_Limits",
|
|
7784
|
+
"responses": {
|
|
7785
|
+
"200": {
|
|
7786
|
+
"content": {
|
|
7787
|
+
"application/json": {
|
|
7788
|
+
"schema": {
|
|
7789
|
+
"$ref": "#/components/schemas/V1MetadataLimitsQueriesGet_Limits"
|
|
7790
|
+
}
|
|
7791
|
+
}
|
|
7792
|
+
},
|
|
7793
|
+
"description": "The currently enforced application-level query limits."
|
|
7794
|
+
},
|
|
7795
|
+
"503": {
|
|
7796
|
+
"content": {
|
|
7797
|
+
"text/plain": {
|
|
7798
|
+
"schema": {
|
|
7799
|
+
"example": "Service Unavailable",
|
|
7800
|
+
"type": "string"
|
|
7801
|
+
}
|
|
7802
|
+
}
|
|
7803
|
+
},
|
|
7804
|
+
"description": "Service Unavailable, used when Dialogporten is in maintenance mode",
|
|
7805
|
+
"headers": {
|
|
7806
|
+
"Retry-After": {
|
|
7807
|
+
"description": "Delay before retrying the request. Datetime format RFC1123",
|
|
7808
|
+
"schema": {
|
|
7809
|
+
"type": "string"
|
|
7810
|
+
}
|
|
7811
|
+
}
|
|
7812
|
+
}
|
|
7813
|
+
}
|
|
7814
|
+
},
|
|
7815
|
+
"summary": "Gets currently enforced application-level query limits",
|
|
7816
|
+
"tags": [
|
|
7817
|
+
"Metadata"
|
|
7818
|
+
]
|
|
7819
|
+
}
|
|
7820
|
+
},
|
|
7728
7821
|
"/api/v1/serviceowner/dialogs": {
|
|
7729
7822
|
"get": {
|
|
7730
7823
|
"description": "Performs a search for dialogs, returning a paginated list of dialogs.\n\n* All date parameters must contain explicit time zone. Example: 2023-10-27T10:00:00Z or 2023-10-27T10:00:00\u002B01:00\n* See \u0022continuationToken\u0022 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.",
|
|
@@ -10473,4 +10566,4 @@
|
|
|
10473
10566
|
}
|
|
10474
10567
|
}
|
|
10475
10568
|
}
|
|
10476
|
-
}
|
|
10569
|
+
}
|