@acorex/connectivity 21.0.0-next.83 → 21.0.0-next.88
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-connectivity-api.mjs +72 -5
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/{acorex-connectivity-mock-acorex-connectivity-mock-Btm13GJK.mjs → acorex-connectivity-mock-acorex-connectivity-mock-B4RpuTuH.mjs} +7073 -3015
- package/fesm2022/{acorex-connectivity-mock-acorex-connectivity-mock-Btm13GJK.mjs.map → acorex-connectivity-mock-acorex-connectivity-mock-B4RpuTuH.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-CY_5d0KF.mjs → acorex-connectivity-mock-assign-to-manager.activity-DM_691iw.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-assign-to-manager.activity-DM_691iw.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CIof4zTg.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-DAKUJIIt.mjs.map +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-Hj-2bHyJ.mjs → acorex-connectivity-mock-chat-generate-image.command-D6oMaUmf.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-chat-generate-image.command-D6oMaUmf.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-0ZnevjmT.mjs → acorex-connectivity-mock-chat-synthesize-speech.command-CiKasu2J.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-chat-synthesize-speech.command-CiKasu2J.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-D8sCgp69.mjs → acorex-connectivity-mock-chat-transcribe-speech.command-vx9t5m5w.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-chat-transcribe-speech.command-vx9t5m5w.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-check-permission.activity-vr3OHtjC.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-distribution-record.activity-a1_k9Czb.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-entity-create.activity-CdoUzUvF.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-entity-delete.activity-ErEN1c24.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-entity-read.activity-1fJW8gVe.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-entity-update.activity-06HTKiQQ.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-extract-document-text.command-nGfUTSf6.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-get-current-session-user.activity-CsmxwXsM.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-get-current-user-manager.activity-C1mj2bgB.mjs.map +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-product-list.query-Bv1im5yj.mjs → acorex-connectivity-mock-get-product-list.query-o9TcY_RC.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-o9TcY_RC.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-Cp65_mpB.mjs → acorex-connectivity-mock-get-product-pdf-data.query-DUZvwsmY.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-Cp65_mpB.mjs.map → acorex-connectivity-mock-get-product-pdf-data.query-DUZvwsmY.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-chart-data.query-CkQnH-F_.mjs → acorex-connectivity-mock-get-subscriptions-chart-data.query-BXDzY2Sd.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-chart-data.query-CkQnH-F_.mjs.map → acorex-connectivity-mock-get-subscriptions-chart-data.query-BXDzY2Sd.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-timeline.query-C_ecGCyk.mjs → acorex-connectivity-mock-get-subscriptions-timeline.query-D_jVT-7a.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-D_jVT-7a.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-tenant-application-access.query-t4BHU8qk.mjs → acorex-connectivity-mock-get-tenant-application-access.query-BG6t0137.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-BG6t0137.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-tenant-user-distribution.query-jQAsUf_h.mjs → acorex-connectivity-mock-get-tenant-user-distribution.query-gqSqvIaa.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-gqSqvIaa.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-if.activity-DvzuhItL.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-jira-instance-sync.command-BYOuTU3R.mjs +475 -0
- package/fesm2022/acorex-connectivity-mock-jira-instance-sync.command-BYOuTU3R.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-notification-management-email-send.command-DAQfIWoD.mjs → acorex-connectivity-mock-notification-management-email-send.command-Df6E-9-c.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-notification-management-email-send.command-Df6E-9-c.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-sample.command-CJmDL4pL.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-structured-text-completion.command-l31pjl9-.mjs.map +1 -1
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-D2QjJXu4.mjs → acorex-connectivity-mock-user-roles-for-list-column.query-B6arRXiE.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-D2QjJXu4.mjs.map → acorex-connectivity-mock-user-roles-for-list-column.query-B6arRXiE.mjs.map} +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-connectivity-api.d.ts +9 -2
- package/types/acorex-connectivity-mock.d.ts +449 -96
- package/fesm2022/acorex-connectivity-mock-assign-to-manager.activity-CY_5d0KF.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-chat-generate-image.command-Hj-2bHyJ.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-chat-synthesize-speech.command-0ZnevjmT.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-chat-transcribe-speech.command-D8sCgp69.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-contact-core.module-5TLCGWOR.mjs +0 -968
- package/fesm2022/acorex-connectivity-mock-contact-core.module-5TLCGWOR.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-Bv1im5yj.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-C_ecGCyk.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-t4BHU8qk.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-jQAsUf_h.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-notification-management-email-send.command-DAQfIWoD.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXP_ROOT_CONFIG_TOKEN, AXPFilterOperatorMiddlewareService, AXPFileStorageService } from '@acorex/platform/common';
|
|
1
|
+
import { AXP_ROOT_CONFIG_TOKEN, AXPFilterOperatorMiddlewareService, AXPFileStorageService, AXP_INTEGRATION_SECRET_STORE, AXP_INTEGRATION_OAUTH_SERVICE } from '@acorex/platform/common';
|
|
2
2
|
import { computeEntityAggregates, AXPEntityService, AXPEntityStorageService } from '@acorex/platform/layout/entity';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpParams, HttpClient, HttpHeaders } from '@angular/common/http';
|
|
@@ -12,11 +12,10 @@ import { AXP_USER_AVATAR_PROVIDER } from '@acorex/platform/layout/components';
|
|
|
12
12
|
import { STRATEGY_CONFIG_TOKEN } from '@acorex/platform/layout/widgets';
|
|
13
13
|
import * as i1$1 from 'angular-oauth2-oidc';
|
|
14
14
|
import { OAuthService, OAuthModule } from 'angular-oauth2-oidc';
|
|
15
|
-
import { AXPFileStorageStatus } from '@acorex/platform/contracts';
|
|
15
|
+
import { AXPFileStorageStatus, AXPDataGenerator } from '@acorex/platform/contracts';
|
|
16
16
|
import { AXM_AUTH_CONFIG_TOKEN } from '@acorex/modules/auth';
|
|
17
17
|
import { Router } from '@angular/router';
|
|
18
18
|
import { RootConfig } from '@acorex/modules/security-management';
|
|
19
|
-
import { AXPDataGenerator } from '@acorex/platform/core';
|
|
20
19
|
import { AXCUtilsModule, AXCExternalAuthorizationService } from '@acorex/connectivity/utils';
|
|
21
20
|
import { AXPRuntimeModule, provideCommandSetups } from '@acorex/platform/runtime';
|
|
22
21
|
import { AXPReportViewerService } from '@acorex/modules/report-management';
|
|
@@ -1155,10 +1154,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1155
1154
|
}]
|
|
1156
1155
|
}] });
|
|
1157
1156
|
|
|
1157
|
+
//#region ---- API secret store (production placeholder) ----
|
|
1158
|
+
/**
|
|
1159
|
+
* Production secret store placeholder.
|
|
1160
|
+
* Replace with server-side envelope encryption and KMS-backed storage.
|
|
1161
|
+
*/
|
|
1162
|
+
class AXCIntegrationSecretStoreApi {
|
|
1163
|
+
async store(_ref, _payload) {
|
|
1164
|
+
throw new Error('Integration secret store API is not configured. Use connectivity/mock for development.');
|
|
1165
|
+
}
|
|
1166
|
+
async rotate(_secretRef, _context, _payload) {
|
|
1167
|
+
throw new Error('Integration secret store API is not configured.');
|
|
1168
|
+
}
|
|
1169
|
+
async resolve(_secretRef, _context) {
|
|
1170
|
+
throw new Error('Integration secret store API is not configured.');
|
|
1171
|
+
}
|
|
1172
|
+
async revoke(_secretRef, _context) {
|
|
1173
|
+
throw new Error('Integration secret store API is not configured.');
|
|
1174
|
+
}
|
|
1175
|
+
async delete(_secretRef, _context) {
|
|
1176
|
+
throw new Error('Integration secret store API is not configured.');
|
|
1177
|
+
}
|
|
1178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationSecretStoreApi, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationSecretStoreApi, providedIn: 'root' }); }
|
|
1180
|
+
}
|
|
1181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationSecretStoreApi, decorators: [{
|
|
1182
|
+
type: Injectable,
|
|
1183
|
+
args: [{ providedIn: 'root' }]
|
|
1184
|
+
}] });
|
|
1185
|
+
//#endregion
|
|
1186
|
+
//#region ---- API OAuth service placeholder ----
|
|
1187
|
+
class AXCIntegrationOAuthApiService {
|
|
1188
|
+
async startAuthorization(_input) {
|
|
1189
|
+
throw new Error('Integration OAuth API is not configured.');
|
|
1190
|
+
}
|
|
1191
|
+
async completeCallback(_input) {
|
|
1192
|
+
throw new Error('Integration OAuth API is not configured.');
|
|
1193
|
+
}
|
|
1194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationOAuthApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1195
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationOAuthApiService, providedIn: 'root' }); }
|
|
1196
|
+
}
|
|
1197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationOAuthApiService, decorators: [{
|
|
1198
|
+
type: Injectable,
|
|
1199
|
+
args: [{ providedIn: 'root' }]
|
|
1200
|
+
}] });
|
|
1201
|
+
|
|
1202
|
+
class AXCIntegrationApiModule {
|
|
1203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationApiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1204
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationApiModule }); }
|
|
1205
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationApiModule, providers: [
|
|
1206
|
+
{ provide: AXP_INTEGRATION_SECRET_STORE, useClass: AXCIntegrationSecretStoreApi },
|
|
1207
|
+
{ provide: AXP_INTEGRATION_OAUTH_SERVICE, useExisting: AXCIntegrationOAuthApiService },
|
|
1208
|
+
AXCIntegrationOAuthApiService,
|
|
1209
|
+
] }); }
|
|
1210
|
+
}
|
|
1211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCIntegrationApiModule, decorators: [{
|
|
1212
|
+
type: NgModule,
|
|
1213
|
+
args: [{
|
|
1214
|
+
providers: [
|
|
1215
|
+
{ provide: AXP_INTEGRATION_SECRET_STORE, useClass: AXCIntegrationSecretStoreApi },
|
|
1216
|
+
{ provide: AXP_INTEGRATION_OAUTH_SERVICE, useExisting: AXCIntegrationOAuthApiService },
|
|
1217
|
+
AXCIntegrationOAuthApiService,
|
|
1218
|
+
],
|
|
1219
|
+
}]
|
|
1220
|
+
}] });
|
|
1221
|
+
|
|
1158
1222
|
class AXCApiModule {
|
|
1159
1223
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCApiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1160
1224
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXCApiModule, imports: [i1$1.OAuthModule, i2.AXPAuthModule, AXCUtilsModule,
|
|
1161
|
-
AXCReportManagementApiModule
|
|
1225
|
+
AXCReportManagementApiModule,
|
|
1226
|
+
AXCIntegrationApiModule] }); }
|
|
1162
1227
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCApiModule, providers: [
|
|
1163
1228
|
{
|
|
1164
1229
|
provide: AXPEntityStorageService,
|
|
@@ -1200,7 +1265,8 @@ class AXCApiModule {
|
|
|
1200
1265
|
strategies: [AXCAPIOidcStrategy],
|
|
1201
1266
|
}),
|
|
1202
1267
|
AXCUtilsModule,
|
|
1203
|
-
AXCReportManagementApiModule
|
|
1268
|
+
AXCReportManagementApiModule,
|
|
1269
|
+
AXCIntegrationApiModule] }); }
|
|
1204
1270
|
}
|
|
1205
1271
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCApiModule, decorators: [{
|
|
1206
1272
|
type: NgModule,
|
|
@@ -1212,6 +1278,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1212
1278
|
}),
|
|
1213
1279
|
AXCUtilsModule,
|
|
1214
1280
|
AXCReportManagementApiModule,
|
|
1281
|
+
AXCIntegrationApiModule,
|
|
1215
1282
|
],
|
|
1216
1283
|
providers: [
|
|
1217
1284
|
{
|