fusefx-repositorycontract 0.1.16
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/lib/LogicalExpression.d.ts +7 -0
- package/lib/LogicalExpression.d.ts.map +1 -0
- package/lib/LogicalExpression.js +13 -0
- package/lib/LogicalExpression.js.map +1 -0
- package/lib/PaginatedList.d.ts +5 -0
- package/lib/PaginatedList.d.ts.map +1 -0
- package/lib/PaginatedList.js +12 -0
- package/lib/PaginatedList.js.map +1 -0
- package/lib/PagingParams.d.ts +5 -0
- package/lib/PagingParams.d.ts.map +1 -0
- package/lib/PagingParams.js +12 -0
- package/lib/PagingParams.js.map +1 -0
- package/lib/RelationElement.d.ts +7 -0
- package/lib/RelationElement.d.ts.map +1 -0
- package/lib/RelationElement.js +13 -0
- package/lib/RelationElement.js.map +1 -0
- package/lib/SortingField.d.ts +5 -0
- package/lib/SortingField.d.ts.map +1 -0
- package/lib/SortingField.js +12 -0
- package/lib/SortingField.js.map +1 -0
- package/lib/dtos.d.ts +97 -0
- package/lib/dtos.d.ts.map +1 -0
- package/lib/dtos.js +128 -0
- package/lib/dtos.js.map +1 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +24 -0
- package/lib/index.js.map +1 -0
- package/lib/interfaces.d.ts +22 -0
- package/lib/interfaces.d.ts.map +1 -0
- package/lib/interfaces.js +4 -0
- package/lib/interfaces.js.map +1 -0
- package/lib/models.d.ts +1 -0
- package/lib/models.d.ts.map +1 -0
- package/lib/models.js +3 -0
- package/lib/models.js.map +1 -0
- package/package.json +34 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RelationElement } from './RelationElement';
|
|
2
|
+
export declare class LogicalExpression {
|
|
3
|
+
operator: 'or' | 'and' | 'not' | 'atom' | '';
|
|
4
|
+
expressionArguments: LogicalExpression[];
|
|
5
|
+
atomArguments: RelationElement[];
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=LogicalExpression.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogicalExpression.d.ts","sourceRoot":"","sources":["../src/LogicalExpression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,qBAAa,iBAAiB;IAC5B,QAAQ,EAAE,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,EAAE,CAAS;IACrD,mBAAmB,EAAE,iBAAiB,EAAE,CAAK;IAC7C,aAAa,EAAE,eAAe,EAAE,CAAK;CACtC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LogicalExpression = void 0;
|
|
4
|
+
var LogicalExpression = /** @class */ (function () {
|
|
5
|
+
function LogicalExpression() {
|
|
6
|
+
this.operator = 'atom';
|
|
7
|
+
this.expressionArguments = [];
|
|
8
|
+
this.atomArguments = [];
|
|
9
|
+
}
|
|
10
|
+
return LogicalExpression;
|
|
11
|
+
}());
|
|
12
|
+
exports.LogicalExpression = LogicalExpression;
|
|
13
|
+
//# sourceMappingURL=LogicalExpression.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogicalExpression.js","sourceRoot":"","sources":["../src/LogicalExpression.ts"],"names":[],"mappings":";;;AAEA;IAAA;QACE,aAAQ,GAAuC,MAAM,CAAA;QACrD,wBAAmB,GAAwB,EAAE,CAAA;QAC7C,kBAAa,GAAsB,EAAE,CAAA;IACvC,CAAC;IAAD,wBAAC;AAAD,CAAC,AAJD,IAIC;AAJY,8CAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaginatedList.d.ts","sourceRoot":"","sources":["../src/PaginatedList.ts"],"names":[],"mappings":"AAAA,qBAAa,aAAa;IACxB,IAAI,EAAE,GAAG,EAAE,CAAK;IAChB,KAAK,SAAI;CACV"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaginatedList = void 0;
|
|
4
|
+
var PaginatedList = /** @class */ (function () {
|
|
5
|
+
function PaginatedList() {
|
|
6
|
+
this.page = [];
|
|
7
|
+
this.total = 0;
|
|
8
|
+
}
|
|
9
|
+
return PaginatedList;
|
|
10
|
+
}());
|
|
11
|
+
exports.PaginatedList = PaginatedList;
|
|
12
|
+
//# sourceMappingURL=PaginatedList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaginatedList.js","sourceRoot":"","sources":["../src/PaginatedList.ts"],"names":[],"mappings":";;;AAAA;IAAA;QACE,SAAI,GAAU,EAAE,CAAA;QAChB,UAAK,GAAG,CAAC,CAAA;IACX,CAAC;IAAD,oBAAC;AAAD,CAAC,AAHD,IAGC;AAHY,sCAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PagingParams.d.ts","sourceRoot":"","sources":["../src/PagingParams.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IACvB,UAAU,SAAI;IACd,QAAQ,SAAK;CACd"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PagingParams = void 0;
|
|
4
|
+
var PagingParams = /** @class */ (function () {
|
|
5
|
+
function PagingParams() {
|
|
6
|
+
this.pageNumber = 1;
|
|
7
|
+
this.pageSize = 10;
|
|
8
|
+
}
|
|
9
|
+
return PagingParams;
|
|
10
|
+
}());
|
|
11
|
+
exports.PagingParams = PagingParams;
|
|
12
|
+
//# sourceMappingURL=PagingParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PagingParams.js","sourceRoot":"","sources":["../src/PagingParams.ts"],"names":[],"mappings":";;;AAAA;IAAA;QACE,eAAU,GAAG,CAAC,CAAA;QACd,aAAQ,GAAG,EAAE,CAAA;IACf,CAAC;IAAD,mBAAC;AAAD,CAAC,AAHD,IAGC;AAHY,oCAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationElement.d.ts","sourceRoot":"","sources":["../src/RelationElement.ts"],"names":[],"mappings":"AAAA,qBAAa,eAAe;IAC1B,QAAQ,SAAK;IACb,YAAY,SAAK;IACjB,YAAY,SAAK;IACjB,KAAK,EAAE,GAAG,CAAA;CACX"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RelationElement = void 0;
|
|
4
|
+
var RelationElement = /** @class */ (function () {
|
|
5
|
+
function RelationElement() {
|
|
6
|
+
this.relation = '';
|
|
7
|
+
this.propertyName = '';
|
|
8
|
+
this.propertyType = '';
|
|
9
|
+
}
|
|
10
|
+
return RelationElement;
|
|
11
|
+
}());
|
|
12
|
+
exports.RelationElement = RelationElement;
|
|
13
|
+
//# sourceMappingURL=RelationElement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationElement.js","sourceRoot":"","sources":["../src/RelationElement.ts"],"names":[],"mappings":";;;AAAA;IAAA;QACE,aAAQ,GAAG,EAAE,CAAA;QACb,iBAAY,GAAG,EAAE,CAAA;QACjB,iBAAY,GAAG,EAAE,CAAA;IAEnB,CAAC;IAAD,sBAAC;AAAD,CAAC,AALD,IAKC;AALY,0CAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortingField.d.ts","sourceRoot":"","sources":["../src/SortingField.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IACvB,SAAS,SAAK;IACd,UAAU,UAAQ;CACnB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SortingField = void 0;
|
|
4
|
+
var SortingField = /** @class */ (function () {
|
|
5
|
+
function SortingField() {
|
|
6
|
+
this.fieldName = '';
|
|
7
|
+
this.descending = false;
|
|
8
|
+
}
|
|
9
|
+
return SortingField;
|
|
10
|
+
}());
|
|
11
|
+
exports.SortingField = SortingField;
|
|
12
|
+
//# sourceMappingURL=SortingField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortingField.js","sourceRoot":"","sources":["../src/SortingField.ts"],"names":[],"mappings":";;;AAAA;IAAA;QACE,cAAS,GAAG,EAAE,CAAA;QACd,eAAU,GAAG,KAAK,CAAA;IACpB,CAAC;IAAD,mBAAC;AAAD,CAAC,AAHD,IAGC;AAHY,oCAAY"}
|
package/lib/dtos.d.ts
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains arguments for calling 'GetApiVersion'.
|
|
3
|
+
* Method: returns the version of the specification which is implemented by this API,
|
|
4
|
+
* (this can be used for backward compatibility within inhomogeneous infrastructures)
|
|
5
|
+
*/
|
|
6
|
+
export declare class GetApiVersionRequest {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Contains results from calling 'GetApiVersion'.
|
|
10
|
+
* Method: returns the version of the specification which is implemented by this API,
|
|
11
|
+
* (this can be used for backward compatibility within inhomogeneous infrastructures)
|
|
12
|
+
*/
|
|
13
|
+
export declare class GetApiVersionResponse {
|
|
14
|
+
/** This field contains error text equivalent to an Exception message! (note that only 'fault' XOR 'return' can have a value != null) */
|
|
15
|
+
fault?: string;
|
|
16
|
+
/** Return-Value of 'GetApiVersion' (String) */
|
|
17
|
+
return?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Contains arguments for calling 'GetCapabilities'.
|
|
21
|
+
* Method: returns a list of API-features (there are several 'services' for different use cases)
|
|
22
|
+
* supported by this implementation. The following values are possible:
|
|
23
|
+
* '...tbd...',
|
|
24
|
+
*/
|
|
25
|
+
export declare class GetCapabilitiesRequest {
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Contains results from calling 'GetCapabilities'.
|
|
29
|
+
* Method: returns a list of API-features (there are several 'services' for different use cases)
|
|
30
|
+
* supported by this implementation. The following values are possible:
|
|
31
|
+
* '...tbd...',
|
|
32
|
+
*/
|
|
33
|
+
export declare class GetCapabilitiesResponse {
|
|
34
|
+
/** This field contains error text equivalent to an Exception message! (note that only 'fault' XOR 'return' can have a value != null) */
|
|
35
|
+
fault?: string;
|
|
36
|
+
/** Return-Value of 'GetCapabilities' (String[]) */
|
|
37
|
+
return?: string[];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Contains arguments for calling 'GetPermittedAuthScopes'.
|
|
41
|
+
* Method: returns a list of available capabilities ("API:...") and/or
|
|
42
|
+
* data-scopes ("Tenant:FooBar")
|
|
43
|
+
* which are permitted for the CURRENT ACCESSOR and gives information about its 'authState', which can be:
|
|
44
|
+
* 0=auth needed /
|
|
45
|
+
* 1=authenticated /
|
|
46
|
+
* -1=auth expired /
|
|
47
|
+
* -2=auth invalid/disabled
|
|
48
|
+
*/
|
|
49
|
+
export declare class GetPermittedAuthScopesRequest {
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Contains results from calling 'GetPermittedAuthScopes'.
|
|
53
|
+
* Method: returns a list of available capabilities ("API:...") and/or
|
|
54
|
+
* data-scopes ("Tenant:FooBar")
|
|
55
|
+
* which are permitted for the CURRENT ACCESSOR and gives information about its 'authState', which can be:
|
|
56
|
+
* 0=auth needed /
|
|
57
|
+
* 1=authenticated /
|
|
58
|
+
* -1=auth expired /
|
|
59
|
+
* -2=auth invalid/disabled
|
|
60
|
+
*/
|
|
61
|
+
export declare class GetPermittedAuthScopesResponse {
|
|
62
|
+
/** Out-Argument of 'GetPermittedAuthScopes' (number) */
|
|
63
|
+
authState: number;
|
|
64
|
+
/** This field contains error text equivalent to an Exception message! (note that only 'fault' XOR 'return' can have a value != null) */
|
|
65
|
+
fault?: string;
|
|
66
|
+
/** Return-Value of 'GetPermittedAuthScopes' (String[]) */
|
|
67
|
+
return?: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Contains arguments for calling 'GetOAuthTokenRequestUrl'.
|
|
71
|
+
* Method: OPTIONAL: If the authentication on the current service is mapped
|
|
72
|
+
* using tokens and should provide information about the source at this point,
|
|
73
|
+
* the login URL to be called up via browser (OAuth ['CIBA-Flow'](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html)) is returned here.
|
|
74
|
+
*/
|
|
75
|
+
export declare class GetOAuthTokenRequestUrlRequest {
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Contains results from calling 'GetOAuthTokenRequestUrl'.
|
|
79
|
+
* Method: OPTIONAL: If the authentication on the current service is mapped
|
|
80
|
+
* using tokens and should provide information about the source at this point,
|
|
81
|
+
* the login URL to be called up via browser (OAuth ['CIBA-Flow'](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html)) is returned here.
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetOAuthTokenRequestUrlResponse {
|
|
84
|
+
/** This field contains error text equivalent to an Exception message! (note that only 'fault' XOR 'return' can have a value != null) */
|
|
85
|
+
fault?: string;
|
|
86
|
+
/** Return-Value of 'GetOAuthTokenRequestUrl' (String) */
|
|
87
|
+
return?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Contains arguments for calling 'GetEntitySchema'.
|
|
91
|
+
*/
|
|
92
|
+
export declare class GetEntitySchemaRequest {
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Contains results from calling 'GetEntitySchema'.
|
|
96
|
+
*/
|
|
97
|
+
//# sourceMappingURL=dtos.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dtos.d.ts","sourceRoot":"","sources":["../src/dtos.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,qBAAa,oBAAoB;CAAG;AAEpC;;;;GAIG;AACH,qBAAa,qBAAqB;IAChC,wIAAwI;IACjI,KAAK,CAAC,EAAE,MAAM,CAAC;IAEtB,+CAA+C;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;GAKG;AACH,qBAAa,sBAAsB;CAAG;AAEtC;;;;;GAKG;AACH,qBAAa,uBAAuB;IAClC,wIAAwI;IACjI,KAAK,CAAC,EAAE,MAAM,CAAC;IAEtB,mDAAmD;IAC5C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED;;;;;;;;;GASG;AACH,qBAAa,6BAA6B;CAAG;AAE7C;;;;;;;;;GASG;AACH,qBAAa,8BAA8B;IACzC,wDAAwD;IACjD,SAAS,EAAE,MAAM,CAAK;IAE7B,wIAAwI;IACjI,KAAK,CAAC,EAAE,MAAM,CAAC;IAEtB,0DAA0D;IACnD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED;;;;;GAKG;AACH,qBAAa,8BAA8B;CAAG;AAE9C;;;;;GAKG;AACH,qBAAa,+BAA+B;IAC1C,wIAAwI;IACjI,KAAK,CAAC,EAAE,MAAM,CAAC;IAEtB,yDAAyD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,sBAAsB;CAAG;AAEtC;;GAEG"}
|
package/lib/dtos.js
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* based on UDAS Contract v0.1.0.0 */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetEntitySchemaRequest = exports.GetOAuthTokenRequestUrlResponse = exports.GetOAuthTokenRequestUrlRequest = exports.GetPermittedAuthScopesResponse = exports.GetPermittedAuthScopesRequest = exports.GetCapabilitiesResponse = exports.GetCapabilitiesRequest = exports.GetApiVersionResponse = exports.GetApiVersionRequest = void 0;
|
|
5
|
+
// import * as Models from './models';
|
|
6
|
+
/**
|
|
7
|
+
* Contains arguments for calling 'GetApiVersion'.
|
|
8
|
+
* Method: returns the version of the specification which is implemented by this API,
|
|
9
|
+
* (this can be used for backward compatibility within inhomogeneous infrastructures)
|
|
10
|
+
*/
|
|
11
|
+
var GetApiVersionRequest = /** @class */ (function () {
|
|
12
|
+
function GetApiVersionRequest() {
|
|
13
|
+
}
|
|
14
|
+
return GetApiVersionRequest;
|
|
15
|
+
}());
|
|
16
|
+
exports.GetApiVersionRequest = GetApiVersionRequest;
|
|
17
|
+
/**
|
|
18
|
+
* Contains results from calling 'GetApiVersion'.
|
|
19
|
+
* Method: returns the version of the specification which is implemented by this API,
|
|
20
|
+
* (this can be used for backward compatibility within inhomogeneous infrastructures)
|
|
21
|
+
*/
|
|
22
|
+
var GetApiVersionResponse = /** @class */ (function () {
|
|
23
|
+
function GetApiVersionResponse() {
|
|
24
|
+
}
|
|
25
|
+
return GetApiVersionResponse;
|
|
26
|
+
}());
|
|
27
|
+
exports.GetApiVersionResponse = GetApiVersionResponse;
|
|
28
|
+
/**
|
|
29
|
+
* Contains arguments for calling 'GetCapabilities'.
|
|
30
|
+
* Method: returns a list of API-features (there are several 'services' for different use cases)
|
|
31
|
+
* supported by this implementation. The following values are possible:
|
|
32
|
+
* '...tbd...',
|
|
33
|
+
*/
|
|
34
|
+
var GetCapabilitiesRequest = /** @class */ (function () {
|
|
35
|
+
function GetCapabilitiesRequest() {
|
|
36
|
+
}
|
|
37
|
+
return GetCapabilitiesRequest;
|
|
38
|
+
}());
|
|
39
|
+
exports.GetCapabilitiesRequest = GetCapabilitiesRequest;
|
|
40
|
+
/**
|
|
41
|
+
* Contains results from calling 'GetCapabilities'.
|
|
42
|
+
* Method: returns a list of API-features (there are several 'services' for different use cases)
|
|
43
|
+
* supported by this implementation. The following values are possible:
|
|
44
|
+
* '...tbd...',
|
|
45
|
+
*/
|
|
46
|
+
var GetCapabilitiesResponse = /** @class */ (function () {
|
|
47
|
+
function GetCapabilitiesResponse() {
|
|
48
|
+
}
|
|
49
|
+
return GetCapabilitiesResponse;
|
|
50
|
+
}());
|
|
51
|
+
exports.GetCapabilitiesResponse = GetCapabilitiesResponse;
|
|
52
|
+
/**
|
|
53
|
+
* Contains arguments for calling 'GetPermittedAuthScopes'.
|
|
54
|
+
* Method: returns a list of available capabilities ("API:...") and/or
|
|
55
|
+
* data-scopes ("Tenant:FooBar")
|
|
56
|
+
* which are permitted for the CURRENT ACCESSOR and gives information about its 'authState', which can be:
|
|
57
|
+
* 0=auth needed /
|
|
58
|
+
* 1=authenticated /
|
|
59
|
+
* -1=auth expired /
|
|
60
|
+
* -2=auth invalid/disabled
|
|
61
|
+
*/
|
|
62
|
+
var GetPermittedAuthScopesRequest = /** @class */ (function () {
|
|
63
|
+
function GetPermittedAuthScopesRequest() {
|
|
64
|
+
}
|
|
65
|
+
return GetPermittedAuthScopesRequest;
|
|
66
|
+
}());
|
|
67
|
+
exports.GetPermittedAuthScopesRequest = GetPermittedAuthScopesRequest;
|
|
68
|
+
/**
|
|
69
|
+
* Contains results from calling 'GetPermittedAuthScopes'.
|
|
70
|
+
* Method: returns a list of available capabilities ("API:...") and/or
|
|
71
|
+
* data-scopes ("Tenant:FooBar")
|
|
72
|
+
* which are permitted for the CURRENT ACCESSOR and gives information about its 'authState', which can be:
|
|
73
|
+
* 0=auth needed /
|
|
74
|
+
* 1=authenticated /
|
|
75
|
+
* -1=auth expired /
|
|
76
|
+
* -2=auth invalid/disabled
|
|
77
|
+
*/
|
|
78
|
+
var GetPermittedAuthScopesResponse = /** @class */ (function () {
|
|
79
|
+
function GetPermittedAuthScopesResponse() {
|
|
80
|
+
/** Out-Argument of 'GetPermittedAuthScopes' (number) */
|
|
81
|
+
this.authState = 0;
|
|
82
|
+
}
|
|
83
|
+
return GetPermittedAuthScopesResponse;
|
|
84
|
+
}());
|
|
85
|
+
exports.GetPermittedAuthScopesResponse = GetPermittedAuthScopesResponse;
|
|
86
|
+
/**
|
|
87
|
+
* Contains arguments for calling 'GetOAuthTokenRequestUrl'.
|
|
88
|
+
* Method: OPTIONAL: If the authentication on the current service is mapped
|
|
89
|
+
* using tokens and should provide information about the source at this point,
|
|
90
|
+
* the login URL to be called up via browser (OAuth ['CIBA-Flow'](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html)) is returned here.
|
|
91
|
+
*/
|
|
92
|
+
var GetOAuthTokenRequestUrlRequest = /** @class */ (function () {
|
|
93
|
+
function GetOAuthTokenRequestUrlRequest() {
|
|
94
|
+
}
|
|
95
|
+
return GetOAuthTokenRequestUrlRequest;
|
|
96
|
+
}());
|
|
97
|
+
exports.GetOAuthTokenRequestUrlRequest = GetOAuthTokenRequestUrlRequest;
|
|
98
|
+
/**
|
|
99
|
+
* Contains results from calling 'GetOAuthTokenRequestUrl'.
|
|
100
|
+
* Method: OPTIONAL: If the authentication on the current service is mapped
|
|
101
|
+
* using tokens and should provide information about the source at this point,
|
|
102
|
+
* the login URL to be called up via browser (OAuth ['CIBA-Flow'](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html)) is returned here.
|
|
103
|
+
*/
|
|
104
|
+
var GetOAuthTokenRequestUrlResponse = /** @class */ (function () {
|
|
105
|
+
function GetOAuthTokenRequestUrlResponse() {
|
|
106
|
+
}
|
|
107
|
+
return GetOAuthTokenRequestUrlResponse;
|
|
108
|
+
}());
|
|
109
|
+
exports.GetOAuthTokenRequestUrlResponse = GetOAuthTokenRequestUrlResponse;
|
|
110
|
+
/**
|
|
111
|
+
* Contains arguments for calling 'GetEntitySchema'.
|
|
112
|
+
*/
|
|
113
|
+
var GetEntitySchemaRequest = /** @class */ (function () {
|
|
114
|
+
function GetEntitySchemaRequest() {
|
|
115
|
+
}
|
|
116
|
+
return GetEntitySchemaRequest;
|
|
117
|
+
}());
|
|
118
|
+
exports.GetEntitySchemaRequest = GetEntitySchemaRequest;
|
|
119
|
+
/**
|
|
120
|
+
* Contains results from calling 'GetEntitySchema'.
|
|
121
|
+
*/
|
|
122
|
+
// export class GetEntitySchemaResponse {
|
|
123
|
+
// /** This field contains error text equivalent to an Exception message! (note that only 'fault' XOR 'return' can have a value != null) */
|
|
124
|
+
// public fault?: string;
|
|
125
|
+
// /** Return-Value of 'GetEntitySchema' (SchemaRoot) */
|
|
126
|
+
// public return?: SchemaRoot;
|
|
127
|
+
// }
|
|
128
|
+
//# sourceMappingURL=dtos.js.map
|
package/lib/dtos.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dtos.js","sourceRoot":"","sources":["../src/dtos.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AAErC,sCAAsC;AAEtC;;;;GAIG;AACH;IAAA;IAAmC,CAAC;IAAD,2BAAC;AAAD,CAAC,AAApC,IAAoC;AAAvB,oDAAoB;AAEjC;;;;GAIG;AACH;IAAA;IAMA,CAAC;IAAD,4BAAC;AAAD,CAAC,AAND,IAMC;AANY,sDAAqB;AAQlC;;;;;GAKG;AACH;IAAA;IAAqC,CAAC;IAAD,6BAAC;AAAD,CAAC,AAAtC,IAAsC;AAAzB,wDAAsB;AAEnC;;;;;GAKG;AACH;IAAA;IAMA,CAAC;IAAD,8BAAC;AAAD,CAAC,AAND,IAMC;AANY,0DAAuB;AAQpC;;;;;;;;;GASG;AACH;IAAA;IAA4C,CAAC;IAAD,oCAAC;AAAD,CAAC,AAA7C,IAA6C;AAAhC,sEAA6B;AAE1C;;;;;;;;;GASG;AACH;IAAA;QACE,wDAAwD;QACjD,cAAS,GAAW,CAAC,CAAC;IAO/B,CAAC;IAAD,qCAAC;AAAD,CAAC,AATD,IASC;AATY,wEAA8B;AAW3C;;;;;GAKG;AACH;IAAA;IAA6C,CAAC;IAAD,qCAAC;AAAD,CAAC,AAA9C,IAA8C;AAAjC,wEAA8B;AAE3C;;;;;GAKG;AACH;IAAA;IAMA,CAAC;IAAD,sCAAC;AAAD,CAAC,AAND,IAMC;AANY,0EAA+B;AAQ5C;;GAEG;AACH;IAAA;IAAqC,CAAC;IAAD,6BAAC;AAAD,CAAC,AAAtC,IAAsC;AAAzB,wDAAsB;AAEnC;;GAEG;AACH,yCAAyC;AACzC,6IAA6I;AAC7I,2BAA2B;AAE3B,0DAA0D;AAC1D,gCAAgC;AAChC,IAAI"}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./dtos";
|
|
2
|
+
export * from "./interfaces";
|
|
3
|
+
export * from "./LogicalExpression";
|
|
4
|
+
export * from "./PaginatedList";
|
|
5
|
+
export * from "./PagingParams";
|
|
6
|
+
export * from "./RelationElement";
|
|
7
|
+
export * from "./SortingField";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA"}
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dtos"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
19
|
+
__exportStar(require("./LogicalExpression"), exports);
|
|
20
|
+
__exportStar(require("./PaginatedList"), exports);
|
|
21
|
+
__exportStar(require("./PagingParams"), exports);
|
|
22
|
+
__exportStar(require("./RelationElement"), exports);
|
|
23
|
+
__exportStar(require("./SortingField"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,+CAA4B;AAC5B,sDAAmC;AACnC,kDAA+B;AAC/B,iDAA8B;AAC9B,oDAAiC;AACjC,iDAA8B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface IUdasInfoService {
|
|
2
|
+
/**
|
|
3
|
+
* returns the version of the specification which is implemented by this API, (this can be used for backward compatibility within inhomogeneous infrastructures)
|
|
4
|
+
*/
|
|
5
|
+
GetApiVersion(): Promise<string>;
|
|
6
|
+
/**
|
|
7
|
+
* returns a list of API-features (there are several 'services' for different use cases) supported by this implementation. The following values are possible: '...tbd...',
|
|
8
|
+
*/
|
|
9
|
+
GetCapabilities(): Promise<string[]>;
|
|
10
|
+
/**
|
|
11
|
+
* returns a list of available capabilities ("API:...") and/or data-scopes ("Tenant:FooBar") which are permitted for the CURRENT ACCESSOR and gives information about its 'authState', which can be: 0=auth needed / 1=authenticated / -1=auth expired / -2=auth invalid/disabled
|
|
12
|
+
*/
|
|
13
|
+
GetPermittedAuthScopes(): Promise<{
|
|
14
|
+
authState: number;
|
|
15
|
+
return: string[];
|
|
16
|
+
}>;
|
|
17
|
+
/**
|
|
18
|
+
* OPTIONAL: If the authentication on the current service is mapped using tokens and should provide information about the source at this point, the login URL to be called up via browser (OAuth ['CIBA-Flow'](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html)) is returned here.
|
|
19
|
+
*/
|
|
20
|
+
GetOAuthTokenRequestUrl(): Promise<string>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAE/B;;OAEG;IACH,aAAa,IAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAElC;;OAEG;IACH,eAAe,IAAK,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEtC;;OAEG;IACH,sBAAsB,IAAK,OAAO,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAC,CAAC,CAAC;IAE1E;;OAEG;IACH,uBAAuB,IAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAO7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,qCAAqC"}
|
package/lib/models.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":""}
|
package/lib/models.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":";AAAA,qCAAqC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fusefx-repositorycontract",
|
|
3
|
+
"version": "0.1.16",
|
|
4
|
+
"description": "FUSE-fx RepositoryContract",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
|
|
11
|
+
"lint": "tslint -p tsconfig.json",
|
|
12
|
+
"prepare": "npm run build",
|
|
13
|
+
"prepublishOnly_": "npm run lint",
|
|
14
|
+
"preversion": "npm run lint",
|
|
15
|
+
"version": "npm run format && git add -A src",
|
|
16
|
+
"postversion": "git push && git push --tags"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/SmartStandards/FUSE-fx.RepositoryContract"
|
|
21
|
+
},
|
|
22
|
+
"author": "Smart Standards",
|
|
23
|
+
"license": "Apache-2.0",
|
|
24
|
+
"homepage": "kornsw.de",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"prettier": "^2.6.2",
|
|
27
|
+
"tslint": "^6.1.3",
|
|
28
|
+
"tslint-config-prettier": "^1.18.0",
|
|
29
|
+
"typescript": "^4.7.2"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"lib/**/*"
|
|
33
|
+
]
|
|
34
|
+
}
|