@valtimo/document 12.14.1 → 13.0.1

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.
Files changed (38) hide show
  1. package/fesm2022/valtimo-document.mjs +137 -100
  2. package/fesm2022/valtimo-document.mjs.map +1 -1
  3. package/lib/models/advanced-document-search-request.d.ts +1 -1
  4. package/lib/models/case-tags.model.d.ts +1 -1
  5. package/lib/models/document.model.d.ts +38 -26
  6. package/lib/models/document.model.d.ts.map +1 -1
  7. package/lib/models/internal-case-status.model.d.ts +1 -1
  8. package/lib/models/process-document-definition-search.model.d.ts.map +1 -1
  9. package/lib/services/case-status.service.d.ts +7 -7
  10. package/lib/services/case-status.service.d.ts.map +1 -1
  11. package/lib/services/document.service.d.ts +26 -22
  12. package/lib/services/document.service.d.ts.map +1 -1
  13. package/lib/services/file-sort.service.d.ts +1 -1
  14. package/lib/services/tags.service.d.ts +7 -7
  15. package/lib/services/tags.service.d.ts.map +1 -1
  16. package/lib/utils/case-tags.utils.d.ts +1 -1
  17. package/lib/utils/internal-case-status.utils.d.ts +1 -1
  18. package/package.json +4 -6
  19. package/esm2022/lib/document.module.mjs +0 -26
  20. package/esm2022/lib/models/advanced-document-search-request.mjs +0 -56
  21. package/esm2022/lib/models/audit.model.mjs +0 -17
  22. package/esm2022/lib/models/case-tags.model.mjs +0 -17
  23. package/esm2022/lib/models/document-search-request.mjs +0 -64
  24. package/esm2022/lib/models/document.model.mjs +0 -53
  25. package/esm2022/lib/models/index.mjs +0 -24
  26. package/esm2022/lib/models/internal-case-status.model.mjs +0 -17
  27. package/esm2022/lib/models/list-sorting.model.mjs +0 -17
  28. package/esm2022/lib/models/process-document-definition-search.model.mjs +0 -2
  29. package/esm2022/lib/services/case-status.service.mjs +0 -54
  30. package/esm2022/lib/services/document.service.mjs +0 -276
  31. package/esm2022/lib/services/file-sort.service.mjs +0 -39
  32. package/esm2022/lib/services/index.mjs +0 -20
  33. package/esm2022/lib/services/tags.service.mjs +0 -54
  34. package/esm2022/lib/utils/case-tags.utils.mjs +0 -32
  35. package/esm2022/lib/utils/index.mjs +0 -18
  36. package/esm2022/lib/utils/internal-case-status.utils.mjs +0 -32
  37. package/esm2022/public_api.mjs +0 -23
  38. package/esm2022/valtimo-document.mjs +0 -5
@@ -2,13 +2,12 @@ import * as i1 from '@angular/common/http';
2
2
  import { HttpParams, HttpHeaders } from '@angular/common/http';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Injectable, NgModule } from '@angular/core';
5
- import * as i2 from '@valtimo/config';
6
- import { BaseApiService, TagColor } from '@valtimo/config';
7
- import { InterceptorSkip } from '@valtimo/security';
5
+ import * as i2 from '@valtimo/shared';
6
+ import { BaseApiService, InterceptorSkip, TagColor } from '@valtimo/shared';
8
7
  import { catchError, of, switchMap } from 'rxjs';
9
8
 
10
9
  /*
11
- * Copyright 2015-2024 Ritense BV, the Netherlands.
10
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
12
11
  *
13
12
  * Licensed under EUPL, Version 1.2 (the "License");
14
13
  * you may not use this file except in compliance with the License.
@@ -60,7 +59,7 @@ class DocumentDefinitionCreateRequest {
60
59
  }
61
60
 
62
61
  /*
63
- * Copyright 2015-2024 Ritense BV, the Netherlands.
62
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
64
63
  *
65
64
  * Licensed under EUPL, Version 1.2 (the "License");
66
65
  * you may not use this file except in compliance with the License.
@@ -76,7 +75,7 @@ class DocumentDefinitionCreateRequest {
76
75
  */
77
76
 
78
77
  /*
79
- * Copyright 2015-2024 Ritense BV, the Netherlands.
78
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
80
79
  *
81
80
  * Licensed under EUPL, Version 1.2 (the "License");
82
81
  * you may not use this file except in compliance with the License.
@@ -92,7 +91,7 @@ class DocumentDefinitionCreateRequest {
92
91
  */
93
92
 
94
93
  /*
95
- * Copyright 2015-2024 Ritense BV, the Netherlands.
94
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
96
95
  *
97
96
  * Licensed under EUPL, Version 1.2 (the "License");
98
97
  * you may not use this file except in compliance with the License.
@@ -147,7 +146,7 @@ class AdvancedDocumentSearchRequestImpl {
147
146
  }
148
147
 
149
148
  /*
150
- * Copyright 2015-2024 Ritense BV, the Netherlands.
149
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
151
150
  *
152
151
  * Licensed under EUPL, Version 1.2 (the "License");
153
152
  * you may not use this file except in compliance with the License.
@@ -210,7 +209,7 @@ class DocumentSearchRequestImpl {
210
209
  }
211
210
 
212
211
  /*
213
- * Copyright 2015-2024 Ritense BV, the Netherlands.
212
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
214
213
  *
215
214
  * Licensed under EUPL, Version 1.2 (the "License");
216
215
  * you may not use this file except in compliance with the License.
@@ -226,7 +225,7 @@ class DocumentSearchRequestImpl {
226
225
  */
227
226
 
228
227
  /*
229
- * Copyright 2015-2024 Ritense BV, the Netherlands.
228
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
230
229
  *
231
230
  * Licensed under EUPL, Version 1.2 (the "License");
232
231
  * you may not use this file except in compliance with the License.
@@ -242,7 +241,7 @@ class DocumentSearchRequestImpl {
242
241
  */
243
242
 
244
243
  /*
245
- * Copyright 2015-2024 Ritense BV, the Netherlands.
244
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
246
245
  *
247
246
  * Licensed under EUPL, Version 1.2 (the "License");
248
247
  * you may not use this file except in compliance with the License.
@@ -258,7 +257,23 @@ class DocumentSearchRequestImpl {
258
257
  */
259
258
 
260
259
  /*
261
- * Copyright 2015-2024 Ritense BV, the Netherlands.
260
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
261
+ *
262
+ * Licensed under EUPL, Version 1.2 (the "License");
263
+ * you may not use this file except in compliance with the License.
264
+ * You may obtain a copy of the License at
265
+ *
266
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
267
+ *
268
+ * Unless required by applicable law or agreed to in writing, software
269
+ * distributed under the License is distributed on an "AS IS" basis,
270
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
271
+ * See the License for the specific language governing permissions and
272
+ * limitations under the License.
273
+ */
274
+
275
+ /*
276
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
262
277
  *
263
278
  * Licensed under EUPL, Version 1.2 (the "License");
264
279
  * you may not use this file except in compliance with the License.
@@ -278,28 +293,28 @@ class CaseStatusService extends BaseApiService {
278
293
  this.httpClient = httpClient;
279
294
  this.configService = configService;
280
295
  }
281
- getInternalCaseStatusesManagement(caseDefinitionName) {
282
- return this.httpClient.get(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/internal-status`));
296
+ getInternalCaseStatuses(caseDefinitionKey) {
297
+ return this.httpClient.get(this.getApiUrl(`/v1/case-definition/${caseDefinitionKey}/internal-status`));
283
298
  }
284
- getInternalCaseStatuses(caseDefinitionName) {
285
- return this.httpClient.get(this.getApiUrl(`/v1/case-definition/${caseDefinitionName}/internal-status`));
299
+ getInternalCaseStatusesManagement(caseDefinitionKey) {
300
+ return this.httpClient.get(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/internal-status`));
286
301
  }
287
- saveInternalCaseStatus(caseDefinitionName, status) {
288
- return this.httpClient.post(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/internal-status`), status);
302
+ createInternalCaseStatus(caseDefinitionKey, internalCaseStatus) {
303
+ return this.httpClient.post(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/internal-status`), internalCaseStatus);
289
304
  }
290
- deleteInternalCaseStatus(caseDefinitionName, statusKey) {
291
- return this.httpClient.delete(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/internal-status/${statusKey}`));
305
+ updateInternalCaseStatuses(caseDefinitionKey, internalCaseStatuses) {
306
+ return this.httpClient.put(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/internal-status`), internalCaseStatuses);
292
307
  }
293
- updateInternalCaseStatus(caseDefinitionName, currentStatusKey, updatedStatus) {
294
- return this.httpClient.put(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/internal-status/${currentStatusKey}`), updatedStatus);
308
+ updateInternalCaseStatus(caseDefinitionKey, internalStatusKey, internalCaseStatus) {
309
+ return this.httpClient.put(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/internal-status/${internalStatusKey}`), internalCaseStatus);
295
310
  }
296
- updateInternalCaseStatuses(caseDefinitionName, reorderedStatus) {
297
- return this.httpClient.put(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/internal-status`), reorderedStatus);
311
+ deleteInternalCaseStatus(caseDefinitionKey, internalStatusKey) {
312
+ return this.httpClient.delete(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/internal-status/${internalStatusKey}`));
298
313
  }
299
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseStatusService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
300
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseStatusService, providedIn: 'root' }); }
314
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CaseStatusService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
315
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CaseStatusService, providedIn: 'root' }); }
301
316
  }
302
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseStatusService, decorators: [{
317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CaseStatusService, decorators: [{
303
318
  type: Injectable,
304
319
  args: [{
305
320
  providedIn: 'root',
@@ -307,7 +322,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
307
322
  }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.ConfigService }] });
308
323
 
309
324
  /*
310
- * Copyright 2015-2024 Ritense BV, the Netherlands.
325
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
311
326
  *
312
327
  * Licensed under EUPL, Version 1.2 (the "License");
313
328
  * you may not use this file except in compliance with the License.
@@ -388,36 +403,36 @@ class DocumentService {
388
403
  .post(`${this.valtimoEndpointUri}v1/case/${documentSearchRequest.definitionName}/search`, body, { params: documentSearchRequest.asHttpParams() })
389
404
  .pipe(catchError(() => of(this.EMPTY_DOCUMENTS_RESPONSE)));
390
405
  }
391
- getDocumentSearchFields(documentDefinitionName) {
392
- return this.http.get(`${this.valtimoEndpointUri}v1/document-search/${documentDefinitionName}/fields`);
406
+ getDocumentSearchFields(caseDefinitionKey) {
407
+ return this.http.get(`${this.valtimoEndpointUri}v1/document-search/${caseDefinitionKey}/fields`);
393
408
  }
394
- putDocumentSearch(documentDefinitionName, request) {
395
- return this.http.put(`${this.valtimoEndpointUri}v1/document-search/${documentDefinitionName}/fields`, [...request]);
409
+ putDocumentSearch(caseDefinitionKey, request) {
410
+ return this.http.put(`${this.valtimoEndpointUri}v1/document-search/${caseDefinitionKey}/fields`, request);
396
411
  }
397
- postDocumentSearch(documentDefinitionName, request) {
398
- return this.http.post(`${this.valtimoEndpointUri}v1/document-search/${documentDefinitionName}/fields`, { ...request });
412
+ postDocumentSearch(caseDefinitionKey, request) {
413
+ return this.http.post(`${this.valtimoEndpointUri}v1/document-search/${caseDefinitionKey}/fields`, { ...request });
399
414
  }
400
- deleteDocumentSearch(documentDefinitionName, key) {
415
+ deleteDocumentSearch(caseDefinitionKey, key) {
401
416
  const options = {
402
417
  headers: new HttpHeaders({
403
418
  'Content-Type': 'application/json',
404
419
  }),
405
420
  };
406
- return this.http.delete(`${this.valtimoEndpointUri}v1/document-search/${documentDefinitionName}/fields?key=${key}`, options);
421
+ return this.http.delete(`${this.valtimoEndpointUri}v1/document-search/${caseDefinitionKey}/fields?key=${key}`, options);
407
422
  }
408
423
  getDropdownDataProviders() {
409
424
  return this.http.get(`${this.valtimoEndpointUri}v1/data/dropdown-list/provider`);
410
425
  }
411
- getDropdownData(provider, documentDefinitionName, fieldKey) {
412
- const dropdownListKey = encodeURI(documentDefinitionName + '_' + fieldKey);
426
+ getDropdownData(provider, caseDefinitionKey, fieldKey) {
427
+ const dropdownListKey = encodeURI(caseDefinitionKey + '_' + fieldKey);
413
428
  return this.http.get(`${this.valtimoEndpointUri}v1/data/dropdown-list?provider=${provider}&key=${dropdownListKey}`);
414
429
  }
415
- postDropdownData(provider, documentDefinitionName, fieldKey, dropdownData) {
416
- const dropdownListKey = encodeURI(documentDefinitionName + '_' + fieldKey);
430
+ postDropdownData(provider, caseDefinitionKey, fieldKey, dropdownData) {
431
+ const dropdownListKey = encodeURI(caseDefinitionKey + '_' + fieldKey);
417
432
  return this.http.post(`${this.valtimoEndpointUri}v1/data/dropdown-list?provider=${provider}&key=${dropdownListKey}`, dropdownData);
418
433
  }
419
- deleteDropdownData(provider, documentDefinitionName, fieldKey) {
420
- const dropdownListKey = encodeURI(documentDefinitionName + '_' + fieldKey);
434
+ deleteDropdownData(provider, caseDefinitionKey, fieldKey) {
435
+ const dropdownListKey = encodeURI(caseDefinitionKey + '_' + fieldKey);
421
436
  return this.http.delete(`${this.valtimoEndpointUri}v1/data/dropdown-list?provider=${provider}&key=${dropdownListKey}`);
422
437
  }
423
438
  getDocument(documentId) {
@@ -429,24 +444,35 @@ class DocumentService {
429
444
  deleteDocument(documentId) {
430
445
  return this.http.delete(`${this.valtimoEndpointUri}v1/document/${documentId}`);
431
446
  }
432
- // ProcessDocument-calls
433
- getProcessDocumentDefinitions() {
434
- return this.http.get(`${this.valtimoEndpointUri}v1/process-document/definition`);
447
+ // ProcessDefinitionCaseDefinition-calls
448
+ findProcessDefinitionCaseDefinitions(caseDefinitionKey) {
449
+ return this.http.get(`${this.valtimoEndpointUri}v1/case-definition/${caseDefinitionKey}/case-process-link`);
435
450
  }
436
- findProcessDocumentDefinitions(documentDefinitionName) {
437
- return this.http.get(`${this.valtimoEndpointUri}v1/process-document/definition/document/${documentDefinitionName}`);
451
+ findProcessDefinitionCaseDefinitionsByStartableByUser(caseDefinitionKey, startableByUser) {
452
+ return this.http.get(`${this.valtimoEndpointUri}v1/case-definition/${caseDefinitionKey}/case-process-link?startableByUser=${startableByUser}`);
438
453
  }
439
- findProcessDocumentDefinitionsByStartableByUser(documentDefinitionName, startableByUser) {
440
- return this.http.get(`${this.valtimoEndpointUri}v1/process-document/definition/document/${documentDefinitionName}?startableByUser=${startableByUser}`);
454
+ findProcessDefinitionCaseDefinitionsByCanInitializeDocument(caseDefinitionKey, canInitializeDocument) {
455
+ return this.http.get(`${this.valtimoEndpointUri}v1/case-definition/${caseDefinitionKey}/case-process-link?canInitializeDocument=${canInitializeDocument}`);
441
456
  }
442
- findProcessDocumentDefinitionsByCanInitializeDocument(documentDefinitionName, canInitializeDocument) {
443
- return this.http.get(`${this.valtimoEndpointUri}v1/process-document/definition/document/${documentDefinitionName}?canInitializeDocument=${canInitializeDocument}`);
444
- }
445
- findProcessDocumentDefinitionsForDocument(documentId, searchRequest) {
457
+ findProcessDefinitionCaseDefinitionsForDocument(documentId, searchRequest) {
446
458
  const params = new HttpParams({
447
459
  fromObject: searchRequest,
448
460
  });
449
- return this.http.get(`${this.valtimoEndpointUri}v2/process-document/definition/document/${documentId}`, { params });
461
+ return this.http.get(`${this.valtimoEndpointUri}v1/document-instance/${documentId}/case-process-link`, { params });
462
+ }
463
+ findProcessDefinitionCaseDefinitionsByProcessDefinitionKey(processDefinitionKey) {
464
+ return this.http.get(`${this.valtimoEndpointUri}v1/process-document/definition/process/${processDefinitionKey}`);
465
+ }
466
+ // Case definition calls
467
+ getCaseDefinitions(params) {
468
+ return this.http.get(`${this.valtimoEndpointUri}v1/case-definition`, {
469
+ params,
470
+ });
471
+ }
472
+ getCaseDefinitionsManagement(params) {
473
+ return this.http.get(`${this.valtimoEndpointUri}management/v1/case-definition`, {
474
+ params,
475
+ });
450
476
  }
451
477
  findProcessDocumentDefinitionsByVersion(documentDefinitionName, version) {
452
478
  return this.http.get(`${this.valtimoEndpointUri}v1/process-document/definition/document/${documentDefinitionName}/version/${version}`);
@@ -482,6 +508,14 @@ class DocumentService {
482
508
  };
483
509
  return this.http.post(`${this.valtimoEndpointUri}management/v1/document-definition`, documentDefinitionCreateRequest, options);
484
510
  }
511
+ updateDocumentDefinitionForManagement(caseDefinitionKey, caseDefinitionVersionTag, request) {
512
+ const options = {
513
+ headers: new HttpHeaders({
514
+ 'Content-Type': 'application/json',
515
+ }),
516
+ };
517
+ return this.http.put(`${this.valtimoEndpointUri}management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/document-definition`, request, options);
518
+ }
485
519
  deleteProcessDocumentDefinition(request) {
486
520
  const options = {
487
521
  headers: new HttpHeaders({
@@ -513,15 +547,18 @@ class DocumentService {
513
547
  sendMessage(documentId, request) {
514
548
  return this.http.post(`${this.valtimoEndpointUri}v1/document/${documentId}/message`, request);
515
549
  }
516
- getDocumentTypes(documentDefinitionName) {
517
- return this.http.get(`${this.valtimoEndpointUri}v1/documentdefinition/${documentDefinitionName}/zaaktype/documenttype`);
550
+ getDocumentTypesForCase(caseDefinitionKey, versionTag) {
551
+ return this.http.get(`${this.valtimoEndpointUri}v1/case-definition/${caseDefinitionKey}/version/${versionTag}/zaaktype/documenttype`);
552
+ }
553
+ getDocumentTypesForDocument(documentId) {
554
+ return this.http.get(`${this.valtimoEndpointUri}v1/document/${documentId}/zaaktype/documenttype`);
518
555
  }
519
- getProcessDocumentDefinitionFromProcessInstanceId(processInstanceId) {
556
+ getProcessDefinitionCaseDefinitionFromProcessInstanceId(processInstanceId) {
520
557
  return this.configService.getFeatureToggle('enableSuppressDocumentError')
521
- ? this.http.get(`${this.valtimoEndpointUri}v1/process-document/definition/processinstance/${processInstanceId}`, {
558
+ ? this.http.get(`${this.valtimoEndpointUri}v1/process-instance/${processInstanceId}/case-process-link`, {
522
559
  headers: new HttpHeaders().set(InterceptorSkip, '400'),
523
560
  })
524
- : this.http.get(`${this.valtimoEndpointUri}v1/process-document/definition/processinstance/${processInstanceId}`);
561
+ : this.http.get(`${this.valtimoEndpointUri}v1/process-instance/${processInstanceId}/case-process-link`);
525
562
  }
526
563
  assignHandlerToDocument(documentId, assigneeId) {
527
564
  return this.http.post(`${this.valtimoEndpointUri}v1/document/${documentId}/assign`, { assigneeId });
@@ -535,14 +572,14 @@ class DocumentService {
535
572
  getOpenDocumentCount() {
536
573
  return this.http.get(`${this.valtimoEndpointUri}v1/document-definition/open/count`);
537
574
  }
538
- patchCaseSettingsForManagement(documentDefinitionName, request) {
539
- return this.http.patch(`${this.valtimoEndpointUri}management/v1/case/${documentDefinitionName}/settings`, { ...request });
575
+ patchCaseSettingsForManagement(caseDefinitionKey, caseDefinitionVersionTag, request) {
576
+ return this.http.patch(`${this.valtimoEndpointUri}management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/settings`, { ...request });
540
577
  }
541
- getCaseSettings(documentDefinitionName) {
542
- return this.http.get(`${this.valtimoEndpointUri}v1/case/${documentDefinitionName}/settings`);
578
+ getCaseSettings(caseDefinitionKey) {
579
+ return this.http.get(`${this.valtimoEndpointUri}v1/case-definition/${caseDefinitionKey}/settings`);
543
580
  }
544
- getCaseSettingsForManagement(documentDefinitionName) {
545
- return this.http.get(`${this.valtimoEndpointUri}management/v1/case/${documentDefinitionName}/settings`);
581
+ getCaseSettingsForManagement(caseDefinitionKey, caseDefinitionVersionTag) {
582
+ return this.http.get(`${this.valtimoEndpointUri}management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/settings`);
546
583
  }
547
584
  getCaseList(documentDefinitionName) {
548
585
  return this.http.get(`${this.valtimoEndpointUri}v1/case/${documentDefinitionName}/list-column`);
@@ -562,13 +599,13 @@ class DocumentService {
562
599
  getDocumentDefinitionVersions(documentDefinitionName) {
563
600
  return this.http.get(`${this.valtimoEndpointUri}management/v1/document-definition/${documentDefinitionName}/version`);
564
601
  }
565
- getDocumentDefinitionByVersion(documentDefinitionName, version) {
566
- return this.http.get(`${this.valtimoEndpointUri}management/v1/document-definition/${documentDefinitionName}/version/${version}`);
602
+ getDocumentDefinitionByVersion(caseDefinitionKey, caseDefinitionVersionTag) {
603
+ return this.http.get(`${this.valtimoEndpointUri}management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/document-definition`);
567
604
  }
568
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
569
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentService, providedIn: 'root' }); }
605
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DocumentService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
606
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DocumentService, providedIn: 'root' }); }
570
607
  }
571
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentService, decorators: [{
608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DocumentService, decorators: [{
572
609
  type: Injectable,
573
610
  args: [{
574
611
  providedIn: 'root',
@@ -576,7 +613,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
576
613
  }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.ConfigService }] });
577
614
 
578
615
  /*
579
- * Copyright 2015-2024 Ritense BV, the Netherlands.
616
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
580
617
  *
581
618
  * Licensed under EUPL, Version 1.2 (the "License");
582
619
  * you may not use this file except in compliance with the License.
@@ -601,10 +638,10 @@ class FileSortService {
601
638
  }
602
639
  return relatedFiles;
603
640
  }
604
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileSortService, deps: [{ token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
605
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileSortService, providedIn: 'root' }); }
641
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileSortService, deps: [{ token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
642
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileSortService, providedIn: 'root' }); }
606
643
  }
607
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileSortService, decorators: [{
644
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileSortService, decorators: [{
608
645
  type: Injectable,
609
646
  args: [{
610
647
  providedIn: 'root',
@@ -612,7 +649,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
612
649
  }], ctorParameters: () => [{ type: i2.ConfigService }] });
613
650
 
614
651
  /*
615
- * Copyright 2015-2024 Ritense BV, the Netherlands.
652
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
616
653
  *
617
654
  * Licensed under EUPL, Version 1.2 (the "License");
618
655
  * you may not use this file except in compliance with the License.
@@ -632,28 +669,28 @@ class CaseTagService extends BaseApiService {
632
669
  this.httpClient = httpClient;
633
670
  this.configService = configService;
634
671
  }
635
- getCaseTagsManagement(caseDefinitionName) {
636
- return this.httpClient.get(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/case-tag`));
672
+ getCaseTagsManagement(caseDefinitionKey, caseDefinitionVersionTag) {
673
+ return this.httpClient.get(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/case-tag`));
637
674
  }
638
- getCaseTags(caseDefinitionName) {
639
- return this.httpClient.get(this.getApiUrl(`/v1/case-definition/${caseDefinitionName}/case-tag`));
675
+ getCaseTags(caseDefinitionKey) {
676
+ return this.httpClient.get(this.getApiUrl(`/v1/case-definition/${caseDefinitionKey}/case-tag`));
640
677
  }
641
- saveCaseTag(caseDefinitionName, tag) {
642
- return this.httpClient.post(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/case-tag`), tag);
678
+ saveCaseTag(caseDefinitionKey, caseDefinitionVersionTag, tag) {
679
+ return this.httpClient.post(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/case-tag`), tag);
643
680
  }
644
- updateCaseTag(caseDefinitionName, currentTag, updatedTag) {
645
- return this.httpClient.put(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/case-tag/${currentTag}`), updatedTag);
681
+ updateCaseTag(caseDefinitionKey, caseDefinitionVersionTag, currentTag, updatedTag) {
682
+ return this.httpClient.put(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/case-tag/${currentTag}`), updatedTag);
646
683
  }
647
- deleteCaseTag(caseDefinitionName, tag) {
648
- return this.httpClient.delete(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/case-tag/${tag}`));
684
+ deleteCaseTag(caseDefinitionKey, caseDefinitionVersionTag, tag) {
685
+ return this.httpClient.delete(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/case-tag/${tag}`));
649
686
  }
650
- updateCaseTags(caseDefinitionName, reorderedStatus) {
651
- return this.httpClient.put(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionName}/case-tag`), reorderedStatus);
687
+ updateCaseTags(caseDefinitionKey, caseDefinitionVersionTag, reorderedTags) {
688
+ return this.httpClient.put(this.getApiUrl(`/management/v1/case-definition/${caseDefinitionKey}/version/${caseDefinitionVersionTag}/case-tag`), reorderedTags);
652
689
  }
653
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseTagService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
654
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseTagService, providedIn: 'root' }); }
690
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CaseTagService, deps: [{ token: i1.HttpClient }, { token: i2.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
691
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CaseTagService, providedIn: 'root' }); }
655
692
  }
656
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CaseTagService, decorators: [{
693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CaseTagService, decorators: [{
657
694
  type: Injectable,
658
695
  args: [{
659
696
  providedIn: 'root',
@@ -661,7 +698,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
661
698
  }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.ConfigService }] });
662
699
 
663
700
  /*
664
- * Copyright 2015-2024 Ritense BV, the Netherlands.
701
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
665
702
  *
666
703
  * Licensed under EUPL, Version 1.2 (the "License");
667
704
  * you may not use this file except in compliance with the License.
@@ -677,7 +714,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
677
714
  */
678
715
 
679
716
  /*
680
- * Copyright 2015-2024 Ritense BV, the Netherlands.
717
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
681
718
  *
682
719
  * Licensed under EUPL, Version 1.2 (the "License");
683
720
  * you may not use this file except in compliance with the License.
@@ -692,16 +729,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
692
729
  * limitations under the License.
693
730
  */
694
731
  class DocumentModule {
695
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
696
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DocumentModule }); }
697
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentModule }); }
732
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DocumentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
733
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: DocumentModule }); }
734
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DocumentModule }); }
698
735
  }
699
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentModule, decorators: [{
736
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DocumentModule, decorators: [{
700
737
  type: NgModule
701
738
  }] });
702
739
 
703
740
  /*
704
- * Copyright 2015-2024 Ritense BV, the Netherlands.
741
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
705
742
  *
706
743
  * Licensed under EUPL, Version 1.2 (the "License");
707
744
  * you may not use this file except in compliance with the License.
@@ -731,7 +768,7 @@ class InternalCaseStatusUtils {
731
768
  }
732
769
 
733
770
  /*
734
- * Copyright 2015-2024 Ritense BV, the Netherlands.
771
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
735
772
  *
736
773
  * Licensed under EUPL, Version 1.2 (the "License");
737
774
  * you may not use this file except in compliance with the License.
@@ -761,7 +798,7 @@ class CaseTagsUtils {
761
798
  }
762
799
 
763
800
  /*
764
- * Copyright 2015-2024 Ritense BV, the Netherlands.
801
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
765
802
  *
766
803
  * Licensed under EUPL, Version 1.2 (the "License");
767
804
  * you may not use this file except in compliance with the License.
@@ -777,7 +814,7 @@ class CaseTagsUtils {
777
814
  */
778
815
 
779
816
  /*
780
- * Copyright 2015-2024 Ritense BV, the Netherlands.
817
+ * Copyright 2015-2025 Ritense BV, the Netherlands.
781
818
  *
782
819
  * Licensed under EUPL, Version 1.2 (the "License");
783
820
  * you may not use this file except in compliance with the License.