@mcp-abap-adt/interfaces-adt 8.0.0 → 10.0.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.
- package/CHANGELOG.md +123 -0
- package/README.md +109 -13
- package/dist/adt/IAdtAbapGit.d.ts +30 -8
- package/dist/adt/IAdtAbapGit.d.ts.map +1 -1
- package/dist/adt/IAdtCapabilities.d.ts +20 -7
- package/dist/adt/IAdtCapabilities.d.ts.map +1 -1
- package/dist/adt/IAdtFeatureToggle.d.ts +30 -6
- package/dist/adt/IAdtFeatureToggle.d.ts.map +1 -1
- package/dist/adt/IAdtObject.d.ts +20 -3
- package/dist/adt/IAdtObject.d.ts.map +1 -1
- package/dist/adt/IAdtTransport.d.ts +5 -2
- package/dist/adt/IAdtTransport.d.ts.map +1 -1
- package/dist/adt/IAdtUnitTest.d.ts +14 -4
- package/dist/adt/IAdtUnitTest.d.ts.map +1 -1
- package/dist/adt/IAdtUtilities.d.ts +84 -21
- package/dist/adt/IAdtUtilities.d.ts.map +1 -1
- package/dist/connection/ITimeoutConfig.d.ts +15 -0
- package/dist/connection/ITimeoutConfig.d.ts.map +1 -0
- package/dist/execution/IAdtRunnable.d.ts +23 -10
- package/dist/execution/IAdtRunnable.d.ts.map +1 -1
- package/dist/execution/IAdtRunnable.js +15 -0
- package/dist/execution/ITraceScheduling.d.ts +22 -6
- package/dist/execution/ITraceScheduling.d.ts.map +1 -1
- package/dist/feeds/IFeedRepository.d.ts +26 -7
- package/dist/feeds/IFeedRepository.d.ts.map +1 -1
- package/dist/index.d.ts +11 -36
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -23
- package/dist/runtime/IApplicationLog.d.ts +14 -4
- package/dist/runtime/IApplicationLog.d.ts.map +1 -1
- package/dist/runtime/IAtcLog.d.ts +10 -3
- package/dist/runtime/IAtcLog.d.ts.map +1 -1
- package/dist/runtime/IAtcRun.d.ts +10 -3
- package/dist/runtime/IAtcRun.d.ts.map +1 -1
- package/dist/runtime/ICrossTrace.d.ts +22 -6
- package/dist/runtime/ICrossTrace.d.ts.map +1 -1
- package/dist/runtime/IDdicActivation.d.ts +6 -2
- package/dist/runtime/IDdicActivation.d.ts.map +1 -1
- package/dist/runtime/IGatewayErrorLog.d.ts +10 -3
- package/dist/runtime/IGatewayErrorLog.d.ts.map +1 -1
- package/dist/runtime/IRuntimeDumps.d.ts +14 -4
- package/dist/runtime/IRuntimeDumps.d.ts.map +1 -1
- package/dist/runtime/ISt05Trace.d.ts +10 -3
- package/dist/runtime/ISt05Trace.d.ts.map +1 -1
- package/dist/runtime/ISystemMessages.d.ts +10 -3
- package/dist/runtime/ISystemMessages.d.ts.map +1 -1
- package/dist/runtime/ITrace.d.ts +41 -14
- package/dist/runtime/ITrace.d.ts.map +1 -1
- package/package.json +3 -5
- package/dist/Headers.d.ts +0 -38
- package/dist/Headers.d.ts.map +0 -1
- package/dist/Headers.js +0 -43
- package/dist/adt/AdtTypes.d.ts +0 -40
- package/dist/adt/AdtTypes.d.ts.map +0 -1
- package/dist/adt/AdtTypes.js +0 -5
- package/dist/auth/AssertionErrorCodes.d.ts +0 -15
- package/dist/auth/AssertionErrorCodes.d.ts.map +0 -1
- package/dist/auth/AssertionErrorCodes.js +0 -16
- package/dist/auth/AuthType.d.ts +0 -5
- package/dist/auth/AuthType.d.ts.map +0 -1
- package/dist/auth/IAssertionValidator.d.ts +0 -100
- package/dist/auth/IAssertionValidator.d.ts.map +0 -1
- package/dist/auth/IAssertionValidator.js +0 -10
- package/dist/auth/IAuthorizationConfig.d.ts +0 -15
- package/dist/auth/IAuthorizationConfig.d.ts.map +0 -1
- package/dist/auth/IAuthorizationConfig.js +0 -2
- package/dist/auth/IAuthorizationStrategy.d.ts +0 -59
- package/dist/auth/IAuthorizationStrategy.d.ts.map +0 -1
- package/dist/auth/IAuthorizationStrategy.js +0 -12
- package/dist/auth/ICallbackServer.d.ts +0 -139
- package/dist/auth/ICallbackServer.d.ts.map +0 -1
- package/dist/auth/ICallbackServer.js +0 -2
- package/dist/auth/ICertificateMaterialLoader.d.ts +0 -7
- package/dist/auth/ICertificateMaterialLoader.d.ts.map +0 -1
- package/dist/auth/ICertificateMaterialLoader.js +0 -2
- package/dist/auth/IConfig.d.ts +0 -8
- package/dist/auth/IConfig.d.ts.map +0 -1
- package/dist/auth/IConfig.js +0 -2
- package/dist/auth/IConnectionConfig.d.ts +0 -23
- package/dist/auth/IConnectionConfig.d.ts.map +0 -1
- package/dist/auth/IConnectionConfig.js +0 -2
- package/dist/sap/ISapConfig.d.ts +0 -22
- package/dist/sap/ISapConfig.d.ts.map +0 -1
- package/dist/sap/ISapConfig.js +0 -2
- package/dist/sap/SapAuthType.d.ts +0 -3
- package/dist/sap/SapAuthType.d.ts.map +0 -1
- package/dist/sap/SapAuthType.js +0 -2
- package/dist/serviceKey/IServiceKeyStore.d.ts +0 -31
- package/dist/serviceKey/IServiceKeyStore.d.ts.map +0 -1
- package/dist/serviceKey/IServiceKeyStore.js +0 -7
- package/dist/session/ISessionStore.d.ts +0 -59
- package/dist/session/ISessionStore.d.ts.map +0 -1
- package/dist/session/ISessionStore.js +0 -7
- package/dist/store/ISessionState.d.ts +0 -11
- package/dist/store/ISessionState.d.ts.map +0 -1
- package/dist/store/ISessionState.js +0 -2
- package/dist/store/ISessionStorage.d.ts +0 -26
- package/dist/store/ISessionStorage.d.ts.map +0 -1
- package/dist/store/ISessionStorage.js +0 -2
- package/dist/store/StoreErrorCodes.d.ts +0 -12
- package/dist/store/StoreErrorCodes.d.ts.map +0 -1
- package/dist/store/StoreErrorCodes.js +0 -13
- package/dist/token/AuthType.d.ts +0 -43
- package/dist/token/AuthType.d.ts.map +0 -1
- package/dist/token/AuthType.js +0 -41
- package/dist/token/ITokenProvider.d.ts +0 -27
- package/dist/token/ITokenProvider.d.ts.map +0 -1
- package/dist/token/ITokenProvider.js +0 -8
- package/dist/token/ITokenProviderOptions.d.ts +0 -23
- package/dist/token/ITokenProviderOptions.d.ts.map +0 -1
- package/dist/token/ITokenProviderOptions.js +0 -2
- package/dist/token/ITokenProviderResult.d.ts +0 -12
- package/dist/token/ITokenProviderResult.d.ts.map +0 -1
- package/dist/token/ITokenProviderResult.js +0 -2
- package/dist/token/ITokenRefresher.d.ts +0 -39
- package/dist/token/ITokenRefresher.d.ts.map +0 -1
- package/dist/token/ITokenRefresher.js +0 -12
- package/dist/token/ITokenResult.d.ts +0 -36
- package/dist/token/ITokenResult.d.ts.map +0 -1
- package/dist/token/ITokenResult.js +0 -7
- package/dist/token/TokenProviderErrorCodes.d.ts +0 -26
- package/dist/token/TokenProviderErrorCodes.d.ts.map +0 -1
- package/dist/token/TokenProviderErrorCodes.js +0 -24
- package/dist/utils/ITokenRefreshResult.d.ts +0 -8
- package/dist/utils/ITokenRefreshResult.d.ts.map +0 -1
- package/dist/utils/ITokenRefreshResult.js +0 -2
- package/dist/validation/IHeaderValidationResult.d.ts +0 -15
- package/dist/validation/IHeaderValidationResult.d.ts.map +0 -1
- package/dist/validation/IHeaderValidationResult.js +0 -2
- package/dist/validation/IValidatedAuthConfig.d.ts +0 -46
- package/dist/validation/IValidatedAuthConfig.d.ts.map +0 -1
- package/dist/validation/IValidatedAuthConfig.js +0 -15
- /package/dist/{auth/AuthType.js → connection/ITimeoutConfig.js} +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Validated authentication configuration
|
|
3
|
-
*/
|
|
4
|
-
import type { AuthType } from '../auth/AuthType';
|
|
5
|
-
/**
|
|
6
|
-
* Authentication method priority
|
|
7
|
-
* Higher number = higher priority
|
|
8
|
-
*/
|
|
9
|
-
export declare enum AuthMethodPriority {
|
|
10
|
-
SAP_DESTINATION = 4,// x-sap-destination (uses AuthBroker, JWT only)
|
|
11
|
-
MCP_DESTINATION = 3,// x-mcp-destination + x-sap-auth-type=jwt (uses AuthBroker)
|
|
12
|
-
DIRECT_JWT = 2,// x-sap-jwt-token + x-sap-auth-type=jwt
|
|
13
|
-
BASIC = 1,// x-sap-login + x-sap-password + x-sap-auth-type=basic
|
|
14
|
-
NONE = 0
|
|
15
|
-
}
|
|
16
|
-
export interface IValidatedAuthConfig {
|
|
17
|
-
/** Authentication method priority */
|
|
18
|
-
priority: AuthMethodPriority;
|
|
19
|
-
/** Authentication type */
|
|
20
|
-
authType: AuthType;
|
|
21
|
-
/** SAP URL */
|
|
22
|
-
sapUrl: string;
|
|
23
|
-
/** SAP Client (optional) */
|
|
24
|
-
sapClient?: string;
|
|
25
|
-
/** Destination name (for destination-based auth: x-sap-destination or x-mcp-destination) */
|
|
26
|
-
destination?: string;
|
|
27
|
-
/** JWT token (for direct JWT auth) */
|
|
28
|
-
jwtToken?: string;
|
|
29
|
-
/** Refresh token (optional, for JWT auth) */
|
|
30
|
-
refreshToken?: string;
|
|
31
|
-
/** UAA URL (optional, for JWT auth) */
|
|
32
|
-
uaaUrl?: string;
|
|
33
|
-
/** UAA Client ID (optional, for JWT auth) */
|
|
34
|
-
uaaClientId?: string;
|
|
35
|
-
/** UAA Client Secret (optional, for JWT auth) */
|
|
36
|
-
uaaClientSecret?: string;
|
|
37
|
-
/** Username (for basic auth) */
|
|
38
|
-
username?: string;
|
|
39
|
-
/** Password (for basic auth) */
|
|
40
|
-
password?: string;
|
|
41
|
-
/** Validation errors (if any) */
|
|
42
|
-
errors: string[];
|
|
43
|
-
/** Warnings (if any) */
|
|
44
|
-
warnings: string[];
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=IValidatedAuthConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IValidatedAuthConfig.d.ts","sourceRoot":"","sources":["../../src/validation/IValidatedAuthConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,eAAe,IAAI,CAAE,gDAAgD;IACrE,eAAe,IAAI,CAAE,4DAA4D;IACjF,UAAU,IAAI,CAAE,wCAAwC;IACxD,KAAK,IAAI,CAAE,uDAAuD;IAClE,IAAI,IAAI;CACT;AAED,MAAM,WAAW,oBAAoB;IACnC,qCAAqC;IACrC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,0BAA0B;IAC1B,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc;IACd,MAAM,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4FAA4F;IAC5F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,wBAAwB;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AuthMethodPriority = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Authentication method priority
|
|
6
|
-
* Higher number = higher priority
|
|
7
|
-
*/
|
|
8
|
-
var AuthMethodPriority;
|
|
9
|
-
(function (AuthMethodPriority) {
|
|
10
|
-
AuthMethodPriority[AuthMethodPriority["SAP_DESTINATION"] = 4] = "SAP_DESTINATION";
|
|
11
|
-
AuthMethodPriority[AuthMethodPriority["MCP_DESTINATION"] = 3] = "MCP_DESTINATION";
|
|
12
|
-
AuthMethodPriority[AuthMethodPriority["DIRECT_JWT"] = 2] = "DIRECT_JWT";
|
|
13
|
-
AuthMethodPriority[AuthMethodPriority["BASIC"] = 1] = "BASIC";
|
|
14
|
-
AuthMethodPriority[AuthMethodPriority["NONE"] = 0] = "NONE";
|
|
15
|
-
})(AuthMethodPriority || (exports.AuthMethodPriority = AuthMethodPriority = {}));
|
|
File without changes
|