@valtimo/plugin 5.7.0 → 5.8.0

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.
@@ -169,8 +169,13 @@ class PluginManagementService {
169
169
  getPluginConfigurationsByCategory(categoryId) {
170
170
  return this.http.get(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration?category=${categoryId}`);
171
171
  }
172
- getAllPluginConfigurationsWithLogos() {
173
- return this.returnPluginConfigurationsWithLogos(this.getAllPluginConfigurations());
172
+ getPluginConfigurationsWithActionsForActivityType(activityType) {
173
+ return this.http.get(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration?activityType=${activityType}`);
174
+ }
175
+ getAllPluginConfigurationsWithLogos(activityType) {
176
+ return activityType && activityType.length > 0
177
+ ? this.returnPluginConfigurationsWithLogos(this.getPluginConfigurationsWithActionsForActivityType(activityType))
178
+ : this.returnPluginConfigurationsWithLogos(this.getAllPluginConfigurations());
174
179
  }
175
180
  savePluginConfiguration(pluginConfiguration) {
176
181
  return this.http.post(`${this.VALTIMO_API_ENDPOINT_URI}plugin/configuration`, pluginConfiguration);
@@ -1411,7 +1416,7 @@ const documentenApiPluginSpecification = {
1411
1416
  description: 'API voor opslag en ontsluiting van documenten en daarbij behorende metadata.',
1412
1417
  'store-temp-document': 'Document opslaan',
1413
1418
  configurationTitle: 'Configuratienaam',
1414
- configurationTitleTooltip: 'Hier kunt u een eigen naam verzinnen. Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
1419
+ configurationTitleTooltip: 'Hier kunt je een eigen naam verzinnen. Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
1415
1420
  url: 'Documenten API URL',
1416
1421
  urlTooltip: 'In dit veld moet de verwijzing komen naar de REST API van Documenten. Deze url moet dus eindigen op /documenten/api/v1/',
1417
1422
  bronorganisatie: 'Bronorganisatie RSIN',
@@ -1439,7 +1444,7 @@ const documentenApiPluginSpecification = {
1439
1444
  configurationTitle: 'Configuration name',
1440
1445
  configurationTitleTooltip: 'Here you can enter a name for the plugin. This name will be used to recognize the plugin throughout the rest of the application',
1441
1446
  url: 'Documenten API URL',
1442
- urlTooltip: 'This field must contain the URL to the rest API of Documenten, therefore this URL should end with /documenten/api/v1/',
1447
+ urlTooltip: 'This field must contain the URL to the REST API of Documenten, therefore this URL should end with /documenten/api/v1/',
1443
1448
  bronorganisatie: 'Organisation RSIN',
1444
1449
  bronorganisatieTooltip: 'Enter here the RSIN of the organization responsible for the documents. The RSIN is a dutch identification number for legal entities and partnerships ',
1445
1450
  localDocumentLocation: 'Name of process variable with document',
@@ -1465,7 +1470,7 @@ const documentenApiPluginSpecification = {
1465
1470
  configurationTitle: 'Konfigurationsname',
1466
1471
  configurationTitleTooltip: 'Hier können Sie einen Namen für das Plugin eingeben. Dieser Name wird verwendet, um das Plugin im Rest der Anwendung zu erkennen',
1467
1472
  url: 'Documenten API URL',
1468
- urlTooltip: 'Dieses Feld muss die URL zur rest API von Documenten enthalten, daher sollte diese URL mit enden /documenten/api/v1/',
1473
+ urlTooltip: 'Dieses Feld muss die URL zur REST API von Documenten enthalten, daher sollte diese URL mit enden /documenten/api/v1/',
1469
1474
  bronorganisatie: 'Organisation RSIN',
1470
1475
  bronorganisatieTooltip: 'Geben Sie hier den RAIN der für die Dokumente verantwortlichen Organisation ein. Der RAIN ist eine niederländische Identifikationsnummer für juristische Personen und Personengesellschaften',
1471
1476
  localDocumentLocation: 'Name Prozessvariable mit Dokument',