@acorex-platform/module-integration-management-client 1.0.2 → 2.0.0-beta.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.
- package/fesm2022/{acorex-platform-module-integration-management-client-connect-with-credentials.command-DO_zqjHV.mjs → acorex-platform-module-integration-management-client-connect-with-credentials.command-i8HJe3MA.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-connect-with-credentials.command-DO_zqjHV.mjs.map → acorex-platform-module-integration-management-client-connect-with-credentials.command-i8HJe3MA.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-remote-record.mjs +1 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entities-integration-remote-record.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-DKHqdjry.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-k3HR1biJ.mjs.map → acorex-platform-module-integration-management-client-contracts-entity-catalog-acorex-platform-module-integration-management-client-contracts-entity-catalog-DKHqdjry.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-DhOHTht5.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-CWVIUVfP.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-DhOHTht5.mjs.map → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-application.entity-CWVIUVfP.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BAM1TCdS.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BT7Q1mi2.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BAM1TCdS.mjs.map → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-connection.entity-BT7Q1mi2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-CHsVwNda.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-dukBxh7a.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-CHsVwNda.mjs.map → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-oauth-state.entity-dukBxh7a.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-D9oTVEHF.mjs → acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-CwQDiNRP.mjs} +3 -2
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-CwQDiNRP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts.mjs +5 -1
- package/fesm2022/acorex-platform-module-integration-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-delete-connection.command-CCMZwP4W.mjs → acorex-platform-module-integration-management-client-delete-connection.command-DXxr1N1S.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-delete-connection.command-CCMZwP4W.mjs.map → acorex-platform-module-integration-management-client-delete-connection.command-DXxr1N1S.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-disconnect-connection.command-DpVoXBdW.mjs → acorex-platform-module-integration-management-client-disconnect-connection.command-DwgAYZvz.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-disconnect-connection.command-DpVoXBdW.mjs.map → acorex-platform-module-integration-management-client-disconnect-connection.command-DwgAYZvz.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-get-provider.query-Ds10RwnU.mjs → acorex-platform-module-integration-management-client-get-provider.query-C6OAU1vi.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-get-provider.query-Ds10RwnU.mjs.map → acorex-platform-module-integration-management-client-get-provider.query-C6OAU1vi.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-connection-lifecycle.dispatcher-DRWR9ysx.mjs → acorex-platform-module-integration-management-client-integration-connection-lifecycle.dispatcher-DjSMX8af.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-connection-lifecycle.dispatcher-DRWR9ysx.mjs.map → acorex-platform-module-integration-management-client-integration-connection-lifecycle.dispatcher-DjSMX8af.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-oauth-callback-page.component-CY0tOlNi.mjs → acorex-platform-module-integration-management-client-integration-oauth-callback-page.component-iBh2QP2t.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-oauth-callback-page.component-CY0tOlNi.mjs.map → acorex-platform-module-integration-management-client-integration-oauth-callback-page.component-iBh2QP2t.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-display.service-CP818xou.mjs → acorex-platform-module-integration-management-client-integration-ref-display.service-BQVHcUoD.mjs} +7 -43
- package/fesm2022/acorex-platform-module-integration-management-client-integration-ref-display.service-BQVHcUoD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-filter-widget-edit.component-BU72XW6W.mjs → acorex-platform-module-integration-management-client-integration-ref-filter-widget-edit.component-Dy9tVipC.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-filter-widget-edit.component-BU72XW6W.mjs.map → acorex-platform-module-integration-management-client-integration-ref-filter-widget-edit.component-Dy9tVipC.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-page.component-C131H4e1.mjs → acorex-platform-module-integration-management-client-integration-ref-page.component-DKotZKGJ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-page.component-C131H4e1.mjs.map → acorex-platform-module-integration-management-client-integration-ref-page.component-DKotZKGJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-widget-column.component-C253nF3T.mjs → acorex-platform-module-integration-management-client-integration-ref-widget-column.component-CNdvygau.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-widget-column.component-C253nF3T.mjs.map → acorex-platform-module-integration-management-client-integration-ref-widget-column.component-CNdvygau.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-widget-view.component-BRpGpWHZ.mjs → acorex-platform-module-integration-management-client-integration-ref-widget-view.component-BlO90XqK.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-integration-ref-widget-view.component-BRpGpWHZ.mjs.map → acorex-platform-module-integration-management-client-integration-ref-widget-view.component-BlO90XqK.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-integrations-page.component-B_YdPi2k.mjs → acorex-platform-module-integration-management-client-integrations-page.component-BUQG6o29.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-integration-management-client-integrations-page.component-B_YdPi2k.mjs.map → acorex-platform-module-integration-management-client-integrations-page.component-BUQG6o29.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-list-domains.query--GGD6J46.mjs → acorex-platform-module-integration-management-client-list-domains.query-Ca1m9f4f.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-list-domains.query--GGD6J46.mjs.map → acorex-platform-module-integration-management-client-list-domains.query-Ca1m9f4f.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-list-my-connections.query-CmHu1qFm.mjs → acorex-platform-module-integration-management-client-list-my-connections.query-DSeVnGtV.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-list-my-connections.query-CmHu1qFm.mjs.map → acorex-platform-module-integration-management-client-list-my-connections.query-DSeVnGtV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-list-providers.query-ODKJ_UhI.mjs → acorex-platform-module-integration-management-client-list-providers.query-J5DtFS0C.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-list-providers.query-ODKJ_UhI.mjs.map → acorex-platform-module-integration-management-client-list-providers.query-J5DtFS0C.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-update-connection.command-Kqir73pA.mjs → acorex-platform-module-integration-management-client-update-connection.command-B-WPsT5j.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-integration-management-client-update-connection.command-Kqir73pA.mjs.map → acorex-platform-module-integration-management-client-update-connection.command-B-WPsT5j.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-validate-connection.command-D4RZ6WPP.mjs → acorex-platform-module-integration-management-client-validate-connection.command-D2QgFRTV.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-integration-management-client-validate-connection.command-D4RZ6WPP.mjs.map → acorex-platform-module-integration-management-client-validate-connection.command-D2QgFRTV.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-integration-management-client.mjs +49 -31
- package/fesm2022/acorex-platform-module-integration-management-client.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-module-integration-management-client-contracts.d.ts +6 -2
- package/types/acorex-platform-module-integration-management-client.d.ts +2 -0
- package/fesm2022/acorex-platform-module-integration-management-client-contracts-entity-catalog-integration-remote-record.entity-D9oTVEHF.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-integration-management-client-integration-ref-display.service-CP818xou.mjs.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AXP_INTEGRATION_CONNECTION_STATUS, AXP_INTEGRATION_CONNECTION_SCOPE, AXP_INTEGRATION_CATEGORY, AXPIntegrationNotConnectedError, AXPIntegrationExpiredError, AXPIntegrationMissingScopeError } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';
|
|
3
|
-
import { AXPEntityService, configureEntityListColumnsSettingsMigrateDrop, configureEntityListColumnsSettingsVersion, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_MODIFIER } from '@acorex-platform/framework-client/layout/entity';
|
|
3
|
+
import { AXPEntityService, AXPRecordWriteScope, configureEntityListColumnsSettingsMigrateDrop, configureEntityListColumnsSettingsVersion, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_MODIFIER } from '@acorex-platform/framework-client/layout/entity';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { inject, Injectable, NgModule } from '@angular/core';
|
|
6
6
|
import { trim, defaultTo, isEmpty } from 'lodash';
|
|
7
7
|
import { RootConfig, AXPAdministrationPermissionKeys, AXMIntegrationManagementMenuKeys, AXMIntegrationManagementCommandKeys, AXMIntegrationManagementQueryKeys } from '@acorex-platform/module-integration-management-client/contracts';
|
|
8
8
|
export { IntegrationManagementManifest } from '@acorex-platform/module-integration-management-client/contracts';
|
|
9
|
-
import { AXPIntegrationRuntimeService, AXPIntegrationProviderRegistryService, AXP_INTEGRATION_SECRET_STORE, AXP_INTEGRATION_RUNTIME_PROVIDER, AXP_PROTECTED_ROUTE_GUARDS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_INTEGRATION_DOMAIN_PROVIDER } from '@acorex-platform/framework-client/common';
|
|
9
|
+
import { AXPIntegrationRuntimeService, AXPIntegrationProviderRegistryService, AXP_INTEGRATION_SECRET_STORE, AXP_INTEGRATION_RUNTIME_PROVIDER, AXP_PROTECTED_ROUTE_GUARDS, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_INTEGRATION_DOMAIN_PROVIDER, AXP_RECORD_CONCURRENCY } from '@acorex-platform/framework-client/common';
|
|
10
10
|
import { AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex-platform/framework-client/core';
|
|
11
11
|
import { AXP_PAGE_COMPONENT_PROVIDER } from '@acorex-platform/framework-client/layout/components';
|
|
12
12
|
import { AXP_WIDGET_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/layout/widget-core';
|
|
13
|
-
import { AXPRuntimeModule, provideCommandSetups, provideQuerySetups } from '@acorex-platform/framework-client/runtime';
|
|
13
|
+
import { AXPRuntimeModule, AXP_COMMAND_EXECUTION_PROVIDERS, provideCommandSetups, provideQuerySetups } from '@acorex-platform/framework-client/runtime';
|
|
14
14
|
import { CommonModule } from '@angular/common';
|
|
15
15
|
import { ROUTES } from '@angular/router';
|
|
16
16
|
import { AXPCommonMenuKeys, AXPCommonPermissionGroupKeys } from '@acorex-platform/module-common-client/contracts';
|
|
@@ -34,6 +34,7 @@ function hasConfigCredential(config) {
|
|
|
34
34
|
!isEmpty(trim(String(config['accessToken'] ?? ''))) ||
|
|
35
35
|
!isEmpty(trim(String(config['refreshToken'] ?? ''))) ||
|
|
36
36
|
!isEmpty(trim(String(config['clientSecret'] ?? ''))) ||
|
|
37
|
+
!isEmpty(trim(String(config['secretKey'] ?? ''))) ||
|
|
37
38
|
!isEmpty(trim(String(config['botToken'] ?? ''))) ||
|
|
38
39
|
!isEmpty(trim(String(config['token'] ?? ''))));
|
|
39
40
|
}
|
|
@@ -56,6 +57,7 @@ function scrubDisconnectedConnectionConfig(config) {
|
|
|
56
57
|
delete next['password'];
|
|
57
58
|
delete next['apiToken'];
|
|
58
59
|
delete next['apiKey'];
|
|
60
|
+
delete next['secretKey'];
|
|
59
61
|
delete next['botToken'];
|
|
60
62
|
return next;
|
|
61
63
|
}
|
|
@@ -111,6 +113,7 @@ class AXMIntegrationConnectionManager {
|
|
|
111
113
|
//#region ---- Services & Dependencies ----
|
|
112
114
|
this.entityService = inject(AXPEntityService);
|
|
113
115
|
this.sessionService = inject(AXPSessionService);
|
|
116
|
+
this.writeScope = inject(AXPRecordWriteScope, { optional: true });
|
|
114
117
|
}
|
|
115
118
|
//#endregion
|
|
116
119
|
//#region ---- Accessors ----
|
|
@@ -147,6 +150,10 @@ class AXMIntegrationConnectionManager {
|
|
|
147
150
|
}
|
|
148
151
|
//#endregion
|
|
149
152
|
//#region ---- Queries ----
|
|
153
|
+
connectionReadKey(input, context) {
|
|
154
|
+
return JSON.stringify(['unique', context.tenantId, context.applicationId, input.connectionScope,
|
|
155
|
+
input.connectionScope === AXP_INTEGRATION_CONNECTION_SCOPE.User ? context.userId : null, input.providerId, input.connectionKey]);
|
|
156
|
+
}
|
|
150
157
|
async listForCurrentUser(connectionScope) {
|
|
151
158
|
const { tenantId, applicationId, userId } = this.getSessionContext();
|
|
152
159
|
const result = await this.connectionAccessor().query({
|
|
@@ -206,7 +213,9 @@ class AXMIntegrationConnectionManager {
|
|
|
206
213
|
take: 1,
|
|
207
214
|
filter: { logic: 'and', filters },
|
|
208
215
|
});
|
|
209
|
-
|
|
216
|
+
const connection = result.items?.[0] ?? null;
|
|
217
|
+
this.writeScope?.capture(`${RootConfig.module.name}.${RootConfig.entities.integrationConnection.name}`, this.connectionReadKey(input, { tenantId, applicationId, userId }), connection);
|
|
218
|
+
return connection;
|
|
210
219
|
}
|
|
211
220
|
async getByIdForCurrentUser(connectionId) {
|
|
212
221
|
const connection = await this.connectionAccessor().byKey(connectionId);
|
|
@@ -241,7 +250,11 @@ class AXMIntegrationConnectionManager {
|
|
|
241
250
|
lastConnectedAt: data.lastConnectedAt ?? new Date().toISOString(),
|
|
242
251
|
};
|
|
243
252
|
if (existing) {
|
|
244
|
-
|
|
253
|
+
const condition = this.writeScope?.condition(`${RootConfig.module.name}.${RootConfig.entities.integrationConnection.name}`, this.connectionReadKey(data, { tenantId, applicationId, userId }));
|
|
254
|
+
const fields = payload;
|
|
255
|
+
if (condition && !Object.prototype.hasOwnProperty.call(fields, '_writeCondition') && !Object.prototype.hasOwnProperty.call(fields, '_writeStamp'))
|
|
256
|
+
fields['_writeCondition'] = condition;
|
|
257
|
+
await this.connectionAccessor().update(existing.id, payload, this.writeScope ? undefined : existing);
|
|
245
258
|
const updated = await this.connectionAccessor().byKey(existing.id);
|
|
246
259
|
if (!updated) {
|
|
247
260
|
throw new Error('Connection not found after update.');
|
|
@@ -283,7 +296,7 @@ class AXMIntegrationConnectionManager {
|
|
|
283
296
|
if (!existing) {
|
|
284
297
|
throw new Error('Connection not found or access denied.');
|
|
285
298
|
}
|
|
286
|
-
await this.connectionAccessor().update(connectionId, patch);
|
|
299
|
+
await this.connectionAccessor().update(connectionId, patch, this.writeScope ? undefined : existing);
|
|
287
300
|
const updated = await this.connectionAccessor().byKey(connectionId);
|
|
288
301
|
if (!updated) {
|
|
289
302
|
throw new Error('Connection not found after update.');
|
|
@@ -575,7 +588,7 @@ function integrationManagementRoutesFactory() {
|
|
|
575
588
|
children: [
|
|
576
589
|
{
|
|
577
590
|
path: '',
|
|
578
|
-
loadComponent: () => import('./acorex-platform-module-integration-management-client-integrations-page.component-
|
|
591
|
+
loadComponent: () => import('./acorex-platform-module-integration-management-client-integrations-page.component-BUQG6o29.mjs').then((c) => c.AXMIntegrationsPageComponent),
|
|
579
592
|
data: { reuse: true },
|
|
580
593
|
},
|
|
581
594
|
],
|
|
@@ -588,12 +601,12 @@ const integrationOAuthCallbackRoutes = [
|
|
|
588
601
|
// App-agnostic callback first — must win over `:appName/...` (else appName="integrations").
|
|
589
602
|
{
|
|
590
603
|
path: 'integrations/oauth/callback/:providerId',
|
|
591
|
-
loadComponent: () => import('./acorex-platform-module-integration-management-client-integration-oauth-callback-page.component-
|
|
604
|
+
loadComponent: () => import('./acorex-platform-module-integration-management-client-integration-oauth-callback-page.component-iBh2QP2t.mjs').then((c) => c.AXMIntegrationOAuthCallbackPageComponent),
|
|
592
605
|
},
|
|
593
606
|
// Legacy app-prefixed callback (older provider redirect URI configs).
|
|
594
607
|
{
|
|
595
608
|
path: ':appName/integrations/oauth/callback/:providerId',
|
|
596
|
-
loadComponent: () => import('./acorex-platform-module-integration-management-client-integration-oauth-callback-page.component-
|
|
609
|
+
loadComponent: () => import('./acorex-platform-module-integration-management-client-integration-oauth-callback-page.component-iBh2QP2t.mjs').then((c) => c.AXMIntegrationOAuthCallbackPageComponent),
|
|
597
610
|
},
|
|
598
611
|
];
|
|
599
612
|
|
|
@@ -619,9 +632,10 @@ const AXMIntegrationRefFilterWidget = {
|
|
|
619
632
|
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
620
633
|
components: {
|
|
621
634
|
edit: {
|
|
622
|
-
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-filter-widget-edit.component-
|
|
635
|
+
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-filter-widget-edit.component-Dy9tVipC.mjs').then((c) => c.AXMIntegrationRefFilterWidgetEditComponent),
|
|
623
636
|
},
|
|
624
637
|
},
|
|
638
|
+
toString: `display(value)`,
|
|
625
639
|
};
|
|
626
640
|
//#endregion
|
|
627
641
|
|
|
@@ -644,12 +658,13 @@ const AXMIntegrationRefWidget = {
|
|
|
644
658
|
properties: [],
|
|
645
659
|
components: {
|
|
646
660
|
column: {
|
|
647
|
-
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-widget-column.component-
|
|
661
|
+
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-widget-column.component-CNdvygau.mjs').then((c) => c.AXMIntegrationRefWidgetColumnComponent),
|
|
648
662
|
},
|
|
649
663
|
view: {
|
|
650
|
-
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-widget-view.component-
|
|
664
|
+
component: () => import('./acorex-platform-module-integration-management-client-integration-ref-widget-view.component-BlO90XqK.mjs').then((c) => c.AXMIntegrationRefWidgetViewComponent),
|
|
651
665
|
},
|
|
652
666
|
},
|
|
667
|
+
toString: `display(value)`,
|
|
653
668
|
};
|
|
654
669
|
//#endregion
|
|
655
670
|
|
|
@@ -781,6 +796,7 @@ function applyIntegrationRefEnhancements(ctx, options = {}) {
|
|
|
781
796
|
ctx.entity.pages ??= [];
|
|
782
797
|
const page = {
|
|
783
798
|
componentKey: AXM_INTEGRATION_REF_PAGE_COMPONENT_KEY,
|
|
799
|
+
readFields: ['integrationRef'],
|
|
784
800
|
title: pageTitle,
|
|
785
801
|
icon: pageIcon,
|
|
786
802
|
layout: { order: pageOrder, position: 'after' },
|
|
@@ -897,7 +913,7 @@ class AXMIntegrationRefPageComponentProvider {
|
|
|
897
913
|
return [
|
|
898
914
|
{
|
|
899
915
|
key: AXM_INTEGRATION_REF_PAGE_COMPONENT_KEY,
|
|
900
|
-
loader: () => import('./acorex-platform-module-integration-management-client-integration-ref-page.component-
|
|
916
|
+
loader: () => import('./acorex-platform-module-integration-management-client-integration-ref-page.component-DKotZKGJ.mjs').then((m) => m.AXMIntegrationRefPageComponent),
|
|
901
917
|
},
|
|
902
918
|
];
|
|
903
919
|
}
|
|
@@ -928,6 +944,7 @@ class AXMIntegrationManagementModule {
|
|
|
928
944
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
929
945
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationManagementModule, imports: [CommonModule, AXPRuntimeModule, AXMIntegrationRefPluginModule] }); }
|
|
930
946
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMIntegrationManagementModule, providers: [
|
|
947
|
+
{ provide: AXP_COMMAND_EXECUTION_PROVIDERS, multi: true, useFactory: () => inject(AXP_RECORD_CONCURRENCY, { optional: true }) ? [AXMIntegrationConnectionManager] : [] },
|
|
931
948
|
{
|
|
932
949
|
provide: ROUTES,
|
|
933
950
|
multi: true,
|
|
@@ -975,41 +992,41 @@ class AXMIntegrationManagementModule {
|
|
|
975
992
|
provideCommandSetups([
|
|
976
993
|
{
|
|
977
994
|
key: AXMIntegrationManagementCommandKeys.ConnectionConnectWithCredentials,
|
|
978
|
-
command: () => import('./acorex-platform-module-integration-management-client-connect-with-credentials.command-
|
|
995
|
+
command: () => import('./acorex-platform-module-integration-management-client-connect-with-credentials.command-i8HJe3MA.mjs').then((c) => c.ConnectWithCredentialsCommand),
|
|
979
996
|
},
|
|
980
997
|
{
|
|
981
998
|
key: AXMIntegrationManagementCommandKeys.ConnectionDisconnect,
|
|
982
|
-
command: () => import('./acorex-platform-module-integration-management-client-disconnect-connection.command-
|
|
999
|
+
command: () => import('./acorex-platform-module-integration-management-client-disconnect-connection.command-DwgAYZvz.mjs').then((c) => c.DisconnectConnectionCommand),
|
|
983
1000
|
},
|
|
984
1001
|
{
|
|
985
1002
|
key: AXMIntegrationManagementCommandKeys.ConnectionDelete,
|
|
986
|
-
command: () => import('./acorex-platform-module-integration-management-client-delete-connection.command-
|
|
1003
|
+
command: () => import('./acorex-platform-module-integration-management-client-delete-connection.command-DXxr1N1S.mjs').then((c) => c.DeleteConnectionCommand),
|
|
987
1004
|
},
|
|
988
1005
|
{
|
|
989
1006
|
key: AXMIntegrationManagementCommandKeys.ConnectionUpdate,
|
|
990
|
-
command: () => import('./acorex-platform-module-integration-management-client-update-connection.command-
|
|
1007
|
+
command: () => import('./acorex-platform-module-integration-management-client-update-connection.command-B-WPsT5j.mjs').then((c) => c.UpdateConnectionCommand),
|
|
991
1008
|
},
|
|
992
1009
|
{
|
|
993
1010
|
key: AXMIntegrationManagementCommandKeys.ConnectionValidate,
|
|
994
|
-
command: () => import('./acorex-platform-module-integration-management-client-validate-connection.command-
|
|
1011
|
+
command: () => import('./acorex-platform-module-integration-management-client-validate-connection.command-D2QgFRTV.mjs').then((c) => c.ValidateConnectionCommand),
|
|
995
1012
|
},
|
|
996
1013
|
]),
|
|
997
1014
|
provideQuerySetups([
|
|
998
1015
|
{
|
|
999
1016
|
key: AXMIntegrationManagementQueryKeys.DomainList,
|
|
1000
|
-
loader: () => import('./acorex-platform-module-integration-management-client-list-domains.query
|
|
1017
|
+
loader: () => import('./acorex-platform-module-integration-management-client-list-domains.query-Ca1m9f4f.mjs').then((c) => c.ListDomainsQuery),
|
|
1001
1018
|
},
|
|
1002
1019
|
{
|
|
1003
1020
|
key: AXMIntegrationManagementQueryKeys.ProviderList,
|
|
1004
|
-
loader: () => import('./acorex-platform-module-integration-management-client-list-providers.query-
|
|
1021
|
+
loader: () => import('./acorex-platform-module-integration-management-client-list-providers.query-J5DtFS0C.mjs').then((c) => c.ListProvidersQuery),
|
|
1005
1022
|
},
|
|
1006
1023
|
{
|
|
1007
1024
|
key: AXMIntegrationManagementQueryKeys.ProviderGet,
|
|
1008
|
-
loader: () => import('./acorex-platform-module-integration-management-client-get-provider.query-
|
|
1025
|
+
loader: () => import('./acorex-platform-module-integration-management-client-get-provider.query-C6OAU1vi.mjs').then((c) => c.GetProviderQuery),
|
|
1009
1026
|
},
|
|
1010
1027
|
{
|
|
1011
1028
|
key: AXMIntegrationManagementQueryKeys.ConnectionListMine,
|
|
1012
|
-
loader: () => import('./acorex-platform-module-integration-management-client-list-my-connections.query-
|
|
1029
|
+
loader: () => import('./acorex-platform-module-integration-management-client-list-my-connections.query-DSeVnGtV.mjs').then((c) => c.ListMyConnectionsQuery),
|
|
1013
1030
|
},
|
|
1014
1031
|
]),
|
|
1015
1032
|
], imports: [CommonModule, AXPRuntimeModule, AXMIntegrationRefPluginModule] }); }
|
|
@@ -1019,6 +1036,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
1019
1036
|
args: [{
|
|
1020
1037
|
imports: [CommonModule, AXPRuntimeModule, AXMIntegrationRefPluginModule],
|
|
1021
1038
|
providers: [
|
|
1039
|
+
{ provide: AXP_COMMAND_EXECUTION_PROVIDERS, multi: true, useFactory: () => inject(AXP_RECORD_CONCURRENCY, { optional: true }) ? [AXMIntegrationConnectionManager] : [] },
|
|
1022
1040
|
{
|
|
1023
1041
|
provide: ROUTES,
|
|
1024
1042
|
multi: true,
|
|
@@ -1066,41 +1084,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
1066
1084
|
provideCommandSetups([
|
|
1067
1085
|
{
|
|
1068
1086
|
key: AXMIntegrationManagementCommandKeys.ConnectionConnectWithCredentials,
|
|
1069
|
-
command: () => import('./acorex-platform-module-integration-management-client-connect-with-credentials.command-
|
|
1087
|
+
command: () => import('./acorex-platform-module-integration-management-client-connect-with-credentials.command-i8HJe3MA.mjs').then((c) => c.ConnectWithCredentialsCommand),
|
|
1070
1088
|
},
|
|
1071
1089
|
{
|
|
1072
1090
|
key: AXMIntegrationManagementCommandKeys.ConnectionDisconnect,
|
|
1073
|
-
command: () => import('./acorex-platform-module-integration-management-client-disconnect-connection.command-
|
|
1091
|
+
command: () => import('./acorex-platform-module-integration-management-client-disconnect-connection.command-DwgAYZvz.mjs').then((c) => c.DisconnectConnectionCommand),
|
|
1074
1092
|
},
|
|
1075
1093
|
{
|
|
1076
1094
|
key: AXMIntegrationManagementCommandKeys.ConnectionDelete,
|
|
1077
|
-
command: () => import('./acorex-platform-module-integration-management-client-delete-connection.command-
|
|
1095
|
+
command: () => import('./acorex-platform-module-integration-management-client-delete-connection.command-DXxr1N1S.mjs').then((c) => c.DeleteConnectionCommand),
|
|
1078
1096
|
},
|
|
1079
1097
|
{
|
|
1080
1098
|
key: AXMIntegrationManagementCommandKeys.ConnectionUpdate,
|
|
1081
|
-
command: () => import('./acorex-platform-module-integration-management-client-update-connection.command-
|
|
1099
|
+
command: () => import('./acorex-platform-module-integration-management-client-update-connection.command-B-WPsT5j.mjs').then((c) => c.UpdateConnectionCommand),
|
|
1082
1100
|
},
|
|
1083
1101
|
{
|
|
1084
1102
|
key: AXMIntegrationManagementCommandKeys.ConnectionValidate,
|
|
1085
|
-
command: () => import('./acorex-platform-module-integration-management-client-validate-connection.command-
|
|
1103
|
+
command: () => import('./acorex-platform-module-integration-management-client-validate-connection.command-D2QgFRTV.mjs').then((c) => c.ValidateConnectionCommand),
|
|
1086
1104
|
},
|
|
1087
1105
|
]),
|
|
1088
1106
|
provideQuerySetups([
|
|
1089
1107
|
{
|
|
1090
1108
|
key: AXMIntegrationManagementQueryKeys.DomainList,
|
|
1091
|
-
loader: () => import('./acorex-platform-module-integration-management-client-list-domains.query
|
|
1109
|
+
loader: () => import('./acorex-platform-module-integration-management-client-list-domains.query-Ca1m9f4f.mjs').then((c) => c.ListDomainsQuery),
|
|
1092
1110
|
},
|
|
1093
1111
|
{
|
|
1094
1112
|
key: AXMIntegrationManagementQueryKeys.ProviderList,
|
|
1095
|
-
loader: () => import('./acorex-platform-module-integration-management-client-list-providers.query-
|
|
1113
|
+
loader: () => import('./acorex-platform-module-integration-management-client-list-providers.query-J5DtFS0C.mjs').then((c) => c.ListProvidersQuery),
|
|
1096
1114
|
},
|
|
1097
1115
|
{
|
|
1098
1116
|
key: AXMIntegrationManagementQueryKeys.ProviderGet,
|
|
1099
|
-
loader: () => import('./acorex-platform-module-integration-management-client-get-provider.query-
|
|
1117
|
+
loader: () => import('./acorex-platform-module-integration-management-client-get-provider.query-C6OAU1vi.mjs').then((c) => c.GetProviderQuery),
|
|
1100
1118
|
},
|
|
1101
1119
|
{
|
|
1102
1120
|
key: AXMIntegrationManagementQueryKeys.ConnectionListMine,
|
|
1103
|
-
loader: () => import('./acorex-platform-module-integration-management-client-list-my-connections.query-
|
|
1121
|
+
loader: () => import('./acorex-platform-module-integration-management-client-list-my-connections.query-DSeVnGtV.mjs').then((c) => c.ListMyConnectionsQuery),
|
|
1104
1122
|
},
|
|
1105
1123
|
]),
|
|
1106
1124
|
],
|