@digdir/dialogporten-schema 1.104.0 → 1.104.1-4041464

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.104.0",
3
+ "version": "1.104.1-4041464",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "24"
@@ -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
  }
@@ -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": {
@@ -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.",