@meeco/svx-api-sdk 1.0.0-stage.20231129111134.b1ab71a → 1.0.0-stage.20231218095603.d71b65e
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/.openapi-generator/FILES +8 -1
- package/lib/esm/apis/ConnectionsApi.js +5 -2
- package/lib/esm/apis/SharesApi.js +4 -4
- package/lib/esm/apis/VerifiableCredentialsApi.js +2 -2
- package/lib/esm/models/ATOMCreateOrUpdateOrgRequest.js +2 -0
- package/lib/esm/models/ATOMOrg.js +2 -0
- package/lib/esm/models/IDPClientModelDto.js +6 -0
- package/lib/esm/models/IDPCreateClientDto.js +85 -0
- package/lib/esm/models/IDPCreateClientPayloadDto.js +44 -0
- package/lib/esm/models/IDPUpdateClientDto.js +61 -0
- package/lib/esm/models/IDPUpdateClientPayloadDto.js +44 -0
- package/lib/esm/models/{VCGenerateCredentialDtoCnf.js → VCClaimsDto.js} +12 -9
- package/lib/esm/models/VCCredentialVerificationResultResponseDto.js +2 -1
- package/lib/esm/models/VCFieldsDto.js +3 -2
- package/lib/esm/models/VCFieldsDtoFilter.js +48 -0
- package/lib/esm/models/VCFilterDto.js +48 -0
- package/lib/esm/models/VCGenerateCredentialDto.js +5 -5
- package/lib/esm/models/VCGenerateCredentialDtoClaims.js +40 -0
- package/lib/esm/models/VCIdTokenVerificationResultResponseDto.js +2 -1
- package/lib/esm/models/VCOldPresentationRequestResponseVerificationResultResponseDto.js +2 -1
- package/lib/esm/models/VCPresentationRequestResponseVerificationOptionsDto.js +2 -1
- package/lib/esm/models/VCPresentationRequestResponseVerificationResultResponseDto.js +2 -1
- package/lib/esm/models/VCPresentationRequestUpdateVerificationResultRequestDto.js +2 -1
- package/lib/esm/models/VCPresentationRequestVerificationResultResponseDto.js +2 -1
- package/lib/esm/models/VCPresentationVerificationOptionsDto.js +2 -1
- package/lib/esm/models/VCPresentationVerificationResultResponseDto.js +2 -1
- package/lib/esm/models/index.js +8 -1
- package/lib/types/apis/ConnectionsApi.d.ts +2 -1
- package/lib/types/apis/SharesApi.d.ts +4 -4
- package/lib/types/apis/VerifiableCredentialsApi.d.ts +2 -2
- package/lib/types/models/ATOMCreateOrUpdateOrgRequest.d.ts +6 -0
- package/lib/types/models/ATOMOrg.d.ts +6 -0
- package/lib/types/models/IDPClientModelDto.d.ts +12 -0
- package/lib/types/models/IDPCreateClientDto.d.ts +102 -0
- package/lib/types/models/IDPCreateClientPayloadDto.d.ts +32 -0
- package/lib/types/models/IDPUpdateClientDto.d.ts +70 -0
- package/lib/types/models/IDPUpdateClientPayloadDto.d.ts +32 -0
- package/lib/types/models/VCClaimsDto.d.ts +38 -0
- package/lib/types/models/VCCredentialVerificationResultResponseDto.d.ts +1 -0
- package/lib/types/models/VCFieldsDto.d.ts +3 -2
- package/lib/types/models/VCFieldsDtoFilter.d.ts +43 -0
- package/lib/types/models/VCFilterDto.d.ts +43 -0
- package/lib/types/models/VCGenerateCredentialDto.d.ts +6 -6
- package/lib/types/models/VCGenerateCredentialDtoClaims.d.ts +39 -0
- package/lib/types/models/VCIdTokenVerificationResultResponseDto.d.ts +1 -0
- package/lib/types/models/VCOldPresentationRequestResponseVerificationResultResponseDto.d.ts +1 -0
- package/lib/types/models/VCPresentationRequestResponseVerificationOptionsDto.d.ts +2 -1
- package/lib/types/models/VCPresentationRequestResponseVerificationResultResponseDto.d.ts +1 -0
- package/lib/types/models/VCPresentationRequestUpdateVerificationResultRequestDto.d.ts +1 -0
- package/lib/types/models/VCPresentationRequestVerificationResultResponseDto.d.ts +1 -0
- package/lib/types/models/VCPresentationVerificationOptionsDto.d.ts +1 -0
- package/lib/types/models/VCPresentationVerificationResultResponseDto.d.ts +1 -0
- package/lib/types/models/index.d.ts +8 -1
- package/lib/umd/apis/ConnectionsApi.js +5 -2
- package/lib/umd/apis/SharesApi.js +4 -4
- package/lib/umd/apis/VerifiableCredentialsApi.js +2 -2
- package/lib/umd/models/ATOMCreateOrUpdateOrgRequest.js +2 -0
- package/lib/umd/models/ATOMOrg.js +2 -0
- package/lib/umd/models/IDPClientModelDto.js +6 -0
- package/lib/umd/models/IDPCreateClientDto.js +92 -0
- package/lib/umd/models/IDPCreateClientPayloadDto.js +51 -0
- package/lib/umd/models/IDPUpdateClientDto.js +68 -0
- package/lib/umd/models/IDPUpdateClientPayloadDto.js +51 -0
- package/lib/umd/models/VCClaimsDto.js +53 -0
- package/lib/umd/models/VCCredentialVerificationResultResponseDto.js +2 -1
- package/lib/umd/models/VCFieldsDto.js +3 -2
- package/lib/umd/models/VCFieldsDtoFilter.js +55 -0
- package/lib/umd/models/VCFilterDto.js +55 -0
- package/lib/umd/models/VCGenerateCredentialDto.js +5 -5
- package/lib/umd/models/VCGenerateCredentialDtoClaims.js +47 -0
- package/lib/umd/models/VCIdTokenVerificationResultResponseDto.js +2 -1
- package/lib/umd/models/VCOldPresentationRequestResponseVerificationResultResponseDto.js +2 -1
- package/lib/umd/models/VCPresentationRequestResponseVerificationOptionsDto.js +2 -1
- package/lib/umd/models/VCPresentationRequestResponseVerificationResultResponseDto.js +2 -1
- package/lib/umd/models/VCPresentationRequestUpdateVerificationResultRequestDto.js +2 -1
- package/lib/umd/models/VCPresentationRequestVerificationResultResponseDto.js +2 -1
- package/lib/umd/models/VCPresentationVerificationOptionsDto.js +2 -1
- package/lib/umd/models/VCPresentationVerificationResultResponseDto.js +2 -1
- package/lib/umd/models/index.js +8 -1
- package/package.json +1 -1
- package/lib/types/models/VCGenerateCredentialDtoCnf.d.ts +0 -31
- package/lib/umd/models/VCGenerateCredentialDtoCnf.js +0 -50
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IDPCreateClientPayloadDtoToJSON = exports.IDPCreateClientPayloadDtoFromJSONTyped = exports.IDPCreateClientPayloadDtoFromJSON = exports.instanceOfIDPCreateClientPayloadDto = void 0;
|
|
17
|
+
const IDPCreateClientDto_1 = require("./IDPCreateClientDto");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the IDPCreateClientPayloadDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfIDPCreateClientPayloadDto(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "client" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfIDPCreateClientPayloadDto = instanceOfIDPCreateClientPayloadDto;
|
|
27
|
+
function IDPCreateClientPayloadDtoFromJSON(json) {
|
|
28
|
+
return IDPCreateClientPayloadDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.IDPCreateClientPayloadDtoFromJSON = IDPCreateClientPayloadDtoFromJSON;
|
|
31
|
+
function IDPCreateClientPayloadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'client': (0, IDPCreateClientDto_1.IDPCreateClientDtoFromJSON)(json['client']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.IDPCreateClientPayloadDtoFromJSONTyped = IDPCreateClientPayloadDtoFromJSONTyped;
|
|
40
|
+
function IDPCreateClientPayloadDtoToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'client': (0, IDPCreateClientDto_1.IDPCreateClientDtoToJSON)(value.client),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.IDPCreateClientPayloadDtoToJSON = IDPCreateClientPayloadDtoToJSON;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IDPUpdateClientDtoToJSON = exports.IDPUpdateClientDtoFromJSONTyped = exports.IDPUpdateClientDtoFromJSON = exports.instanceOfIDPUpdateClientDto = exports.IDPUpdateClientDtoTokenEndpointAuthMethodEnum = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.IDPUpdateClientDtoTokenEndpointAuthMethodEnum = {
|
|
22
|
+
ClientSecretBasic: 'client_secret_basic',
|
|
23
|
+
ClientSecretPost: 'client_secret_post',
|
|
24
|
+
None: 'none'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the IDPUpdateClientDto interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfIDPUpdateClientDto(value) {
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfIDPUpdateClientDto = instanceOfIDPUpdateClientDto;
|
|
34
|
+
function IDPUpdateClientDtoFromJSON(json) {
|
|
35
|
+
return IDPUpdateClientDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.IDPUpdateClientDtoFromJSON = IDPUpdateClientDtoFromJSON;
|
|
38
|
+
function IDPUpdateClientDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'scopes': !(0, runtime_1.exists)(json, 'scopes') ? undefined : json['scopes'],
|
|
44
|
+
'redirects': !(0, runtime_1.exists)(json, 'redirects') ? undefined : json['redirects'],
|
|
45
|
+
'logout_redirects': !(0, runtime_1.exists)(json, 'logout_redirects') ? undefined : json['logout_redirects'],
|
|
46
|
+
'is_active': !(0, runtime_1.exists)(json, 'is_active') ? undefined : json['is_active'],
|
|
47
|
+
'application_base_url': !(0, runtime_1.exists)(json, 'application_base_url') ? undefined : json['application_base_url'],
|
|
48
|
+
'token_endpoint_auth_method': !(0, runtime_1.exists)(json, 'token_endpoint_auth_method') ? undefined : json['token_endpoint_auth_method'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.IDPUpdateClientDtoFromJSONTyped = IDPUpdateClientDtoFromJSONTyped;
|
|
52
|
+
function IDPUpdateClientDtoToJSON(value) {
|
|
53
|
+
if (value === undefined) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
if (value === null) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'scopes': value.scopes,
|
|
61
|
+
'redirects': value.redirects,
|
|
62
|
+
'logout_redirects': value.logout_redirects,
|
|
63
|
+
'is_active': value.is_active,
|
|
64
|
+
'application_base_url': value.application_base_url,
|
|
65
|
+
'token_endpoint_auth_method': value.token_endpoint_auth_method,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
exports.IDPUpdateClientDtoToJSON = IDPUpdateClientDtoToJSON;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IDPUpdateClientPayloadDtoToJSON = exports.IDPUpdateClientPayloadDtoFromJSONTyped = exports.IDPUpdateClientPayloadDtoFromJSON = exports.instanceOfIDPUpdateClientPayloadDto = void 0;
|
|
17
|
+
const IDPUpdateClientDto_1 = require("./IDPUpdateClientDto");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the IDPUpdateClientPayloadDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfIDPUpdateClientPayloadDto(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "client" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfIDPUpdateClientPayloadDto = instanceOfIDPUpdateClientPayloadDto;
|
|
27
|
+
function IDPUpdateClientPayloadDtoFromJSON(json) {
|
|
28
|
+
return IDPUpdateClientPayloadDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.IDPUpdateClientPayloadDtoFromJSON = IDPUpdateClientPayloadDtoFromJSON;
|
|
31
|
+
function IDPUpdateClientPayloadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'client': (0, IDPUpdateClientDto_1.IDPUpdateClientDtoFromJSON)(json['client']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.IDPUpdateClientPayloadDtoFromJSONTyped = IDPUpdateClientPayloadDtoFromJSONTyped;
|
|
40
|
+
function IDPUpdateClientPayloadDtoToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'client': (0, IDPUpdateClientDto_1.IDPUpdateClientDtoToJSON)(value.client),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.IDPUpdateClientPayloadDtoToJSON = IDPUpdateClientPayloadDtoToJSON;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VCClaimsDtoToJSON = exports.VCClaimsDtoFromJSONTyped = exports.VCClaimsDtoFromJSON = exports.instanceOfVCClaimsDto = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const VCCnfDto_1 = require("./VCCnfDto");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the VCClaimsDto interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfVCClaimsDto(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfVCClaimsDto = instanceOfVCClaimsDto;
|
|
27
|
+
function VCClaimsDtoFromJSON(json) {
|
|
28
|
+
return VCClaimsDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.VCClaimsDtoFromJSON = VCClaimsDtoFromJSON;
|
|
31
|
+
function VCClaimsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
37
|
+
'cnf': !(0, runtime_1.exists)(json, 'cnf') ? undefined : (0, VCCnfDto_1.VCCnfDtoFromJSON)(json['cnf']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.VCClaimsDtoFromJSONTyped = VCClaimsDtoFromJSONTyped;
|
|
41
|
+
function VCClaimsDtoToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value.id,
|
|
50
|
+
'cnf': (0, VCCnfDto_1.VCCnfDtoToJSON)(value.cnf),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.VCClaimsDtoToJSON = VCClaimsDtoToJSON;
|
|
@@ -24,7 +24,8 @@ exports.VCCredentialVerificationResultResponseDtoChecksEnum = {
|
|
|
24
24
|
Expiration: 'expiration',
|
|
25
25
|
Nonce: 'nonce',
|
|
26
26
|
Schema: 'schema',
|
|
27
|
-
RevocationStatus: 'revocation_status'
|
|
27
|
+
RevocationStatus: 'revocation_status',
|
|
28
|
+
Constraints: 'constraints'
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* Check if a given object implements the VCCredentialVerificationResultResponseDto interface.
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.VCFieldsDtoToJSON = exports.VCFieldsDtoFromJSONTyped = exports.VCFieldsDtoFromJSON = exports.instanceOfVCFieldsDto = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const VCFieldsDtoFilter_1 = require("./VCFieldsDtoFilter");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the VCFieldsDto interface.
|
|
20
21
|
*/
|
|
@@ -35,7 +36,7 @@ function VCFieldsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
return {
|
|
36
37
|
'path': json['path'],
|
|
37
38
|
'purpose': !(0, runtime_1.exists)(json, 'purpose') ? undefined : json['purpose'],
|
|
38
|
-
'filter': !(0, runtime_1.exists)(json, 'filter') ? undefined : json['filter'],
|
|
39
|
+
'filter': !(0, runtime_1.exists)(json, 'filter') ? undefined : (0, VCFieldsDtoFilter_1.VCFieldsDtoFilterFromJSON)(json['filter']),
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
exports.VCFieldsDtoFromJSONTyped = VCFieldsDtoFromJSONTyped;
|
|
@@ -49,7 +50,7 @@ function VCFieldsDtoToJSON(value) {
|
|
|
49
50
|
return {
|
|
50
51
|
'path': value.path,
|
|
51
52
|
'purpose': value.purpose,
|
|
52
|
-
'filter': value.filter,
|
|
53
|
+
'filter': (0, VCFieldsDtoFilter_1.VCFieldsDtoFilterToJSON)(value.filter),
|
|
53
54
|
};
|
|
54
55
|
}
|
|
55
56
|
exports.VCFieldsDtoToJSON = VCFieldsDtoToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VCFieldsDtoFilterToJSON = exports.VCFieldsDtoFilterFromJSONTyped = exports.VCFieldsDtoFilterFromJSON = exports.instanceOfVCFieldsDtoFilter = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the VCFieldsDtoFilter interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfVCFieldsDtoFilter(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "type" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfVCFieldsDtoFilter = instanceOfVCFieldsDtoFilter;
|
|
27
|
+
function VCFieldsDtoFilterFromJSON(json) {
|
|
28
|
+
return VCFieldsDtoFilterFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.VCFieldsDtoFilterFromJSON = VCFieldsDtoFilterFromJSON;
|
|
31
|
+
function VCFieldsDtoFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'type': json['type'],
|
|
37
|
+
'_const': !(0, runtime_1.exists)(json, 'const') ? undefined : json['const'],
|
|
38
|
+
'pattern': !(0, runtime_1.exists)(json, 'pattern') ? undefined : json['pattern'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.VCFieldsDtoFilterFromJSONTyped = VCFieldsDtoFilterFromJSONTyped;
|
|
42
|
+
function VCFieldsDtoFilterToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'type': value.type,
|
|
51
|
+
'const': value._const,
|
|
52
|
+
'pattern': value.pattern,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.VCFieldsDtoFilterToJSON = VCFieldsDtoFilterToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VCFilterDtoToJSON = exports.VCFilterDtoFromJSONTyped = exports.VCFilterDtoFromJSON = exports.instanceOfVCFilterDto = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the VCFilterDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfVCFilterDto(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "type" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfVCFilterDto = instanceOfVCFilterDto;
|
|
27
|
+
function VCFilterDtoFromJSON(json) {
|
|
28
|
+
return VCFilterDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.VCFilterDtoFromJSON = VCFilterDtoFromJSON;
|
|
31
|
+
function VCFilterDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'type': json['type'],
|
|
37
|
+
'_const': !(0, runtime_1.exists)(json, 'const') ? undefined : json['const'],
|
|
38
|
+
'pattern': !(0, runtime_1.exists)(json, 'pattern') ? undefined : json['pattern'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.VCFilterDtoFromJSONTyped = VCFilterDtoFromJSONTyped;
|
|
42
|
+
function VCFilterDtoToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'type': value.type,
|
|
51
|
+
'const': value._const,
|
|
52
|
+
'pattern': value.pattern,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.VCFilterDtoToJSON = VCFilterDtoToJSON;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.VCGenerateCredentialDtoToJSON = exports.VCGenerateCredentialDtoFromJSONTyped = exports.VCGenerateCredentialDtoFromJSON = exports.instanceOfVCGenerateCredentialDto = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
18
|
+
const VCGenerateCredentialDtoClaims_1 = require("./VCGenerateCredentialDtoClaims");
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the VCGenerateCredentialDto interface.
|
|
21
21
|
*/
|
|
@@ -38,10 +38,10 @@ function VCGenerateCredentialDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
'credential_type_id': json['credential_type_id'],
|
|
40
40
|
'issuer': json['issuer'],
|
|
41
|
-
'claims': json['claims'],
|
|
41
|
+
'claims': (0, VCGenerateCredentialDtoClaims_1.VCGenerateCredentialDtoClaimsFromJSON)(json['claims']),
|
|
42
42
|
'revocable': !(0, runtime_1.exists)(json, 'revocable') ? undefined : json['revocable'],
|
|
43
43
|
'expires_at': !(0, runtime_1.exists)(json, 'expires_at') ? undefined : (new Date(json['expires_at'])),
|
|
44
|
-
'
|
|
44
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
exports.VCGenerateCredentialDtoFromJSONTyped = VCGenerateCredentialDtoFromJSONTyped;
|
|
@@ -55,10 +55,10 @@ function VCGenerateCredentialDtoToJSON(value) {
|
|
|
55
55
|
return {
|
|
56
56
|
'credential_type_id': value.credential_type_id,
|
|
57
57
|
'issuer': value.issuer,
|
|
58
|
-
'claims': value.claims,
|
|
58
|
+
'claims': (0, VCGenerateCredentialDtoClaims_1.VCGenerateCredentialDtoClaimsToJSON)(value.claims),
|
|
59
59
|
'revocable': value.revocable,
|
|
60
60
|
'expires_at': value.expires_at === undefined ? undefined : (value.expires_at.toISOString()),
|
|
61
|
-
'
|
|
61
|
+
'type': value.type,
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
exports.VCGenerateCredentialDtoToJSON = VCGenerateCredentialDtoToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VCGenerateCredentialDtoClaimsToJSON = exports.VCGenerateCredentialDtoClaimsFromJSONTyped = exports.VCGenerateCredentialDtoClaimsFromJSON = exports.instanceOfVCGenerateCredentialDtoClaims = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const VCCnfDto_1 = require("./VCCnfDto");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the VCGenerateCredentialDtoClaims interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfVCGenerateCredentialDtoClaims(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfVCGenerateCredentialDtoClaims = instanceOfVCGenerateCredentialDtoClaims;
|
|
27
|
+
function VCGenerateCredentialDtoClaimsFromJSON(json) {
|
|
28
|
+
return VCGenerateCredentialDtoClaimsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.VCGenerateCredentialDtoClaimsFromJSON = VCGenerateCredentialDtoClaimsFromJSON;
|
|
31
|
+
function VCGenerateCredentialDtoClaimsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return Object.assign(Object.assign({}, json), { 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'], 'cnf': !(0, runtime_1.exists)(json, 'cnf') ? undefined : (0, VCCnfDto_1.VCCnfDtoFromJSON)(json['cnf']) });
|
|
36
|
+
}
|
|
37
|
+
exports.VCGenerateCredentialDtoClaimsFromJSONTyped = VCGenerateCredentialDtoClaimsFromJSONTyped;
|
|
38
|
+
function VCGenerateCredentialDtoClaimsToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return Object.assign(Object.assign({}, value), { 'id': value.id, 'cnf': (0, VCCnfDto_1.VCCnfDtoToJSON)(value.cnf) });
|
|
46
|
+
}
|
|
47
|
+
exports.VCGenerateCredentialDtoClaimsToJSON = VCGenerateCredentialDtoClaimsToJSON;
|
|
@@ -24,7 +24,8 @@ exports.VCIdTokenVerificationResultResponseDtoChecksEnum = {
|
|
|
24
24
|
Expiration: 'expiration',
|
|
25
25
|
Nonce: 'nonce',
|
|
26
26
|
Schema: 'schema',
|
|
27
|
-
RevocationStatus: 'revocation_status'
|
|
27
|
+
RevocationStatus: 'revocation_status',
|
|
28
|
+
Constraints: 'constraints'
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* Check if a given object implements the VCIdTokenVerificationResultResponseDto interface.
|
|
@@ -24,7 +24,8 @@ exports.VCOldPresentationRequestResponseVerificationResultResponseDtoChecksEnum
|
|
|
24
24
|
Expiration: 'expiration',
|
|
25
25
|
Nonce: 'nonce',
|
|
26
26
|
Schema: 'schema',
|
|
27
|
-
RevocationStatus: 'revocation_status'
|
|
27
|
+
RevocationStatus: 'revocation_status',
|
|
28
|
+
Constraints: 'constraints'
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* Check if a given object implements the VCOldPresentationRequestResponseVerificationResultResponseDto interface.
|
|
@@ -22,7 +22,8 @@ const VCRequestVerificationOptionsDto_1 = require("./VCRequestVerificationOption
|
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
24
|
exports.VCPresentationRequestResponseVerificationOptionsDtoChecksEnum = {
|
|
25
|
-
Format: 'format'
|
|
25
|
+
Format: 'format',
|
|
26
|
+
Constraints: 'constraints'
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
29
|
* Check if a given object implements the VCPresentationRequestResponseVerificationOptionsDto interface.
|
|
@@ -27,7 +27,8 @@ exports.VCPresentationRequestResponseVerificationResultResponseDtoChecksEnum = {
|
|
|
27
27
|
Expiration: 'expiration',
|
|
28
28
|
Nonce: 'nonce',
|
|
29
29
|
Schema: 'schema',
|
|
30
|
-
RevocationStatus: 'revocation_status'
|
|
30
|
+
RevocationStatus: 'revocation_status',
|
|
31
|
+
Constraints: 'constraints'
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the VCPresentationRequestResponseVerificationResultResponseDto interface.
|
|
@@ -27,7 +27,8 @@ exports.VCPresentationRequestUpdateVerificationResultRequestDtoChecksEnum = {
|
|
|
27
27
|
Expiration: 'expiration',
|
|
28
28
|
Nonce: 'nonce',
|
|
29
29
|
Schema: 'schema',
|
|
30
|
-
RevocationStatus: 'revocation_status'
|
|
30
|
+
RevocationStatus: 'revocation_status',
|
|
31
|
+
Constraints: 'constraints'
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the VCPresentationRequestUpdateVerificationResultRequestDto interface.
|
|
@@ -24,7 +24,8 @@ exports.VCPresentationRequestVerificationResultResponseDtoChecksEnum = {
|
|
|
24
24
|
Expiration: 'expiration',
|
|
25
25
|
Nonce: 'nonce',
|
|
26
26
|
Schema: 'schema',
|
|
27
|
-
RevocationStatus: 'revocation_status'
|
|
27
|
+
RevocationStatus: 'revocation_status',
|
|
28
|
+
Constraints: 'constraints'
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* Check if a given object implements the VCPresentationRequestVerificationResultResponseDto interface.
|
|
@@ -22,7 +22,8 @@ exports.VCPresentationVerificationOptionsDtoChecksEnum = {
|
|
|
22
22
|
Format: 'format',
|
|
23
23
|
Signature: 'signature',
|
|
24
24
|
Expiration: 'expiration',
|
|
25
|
-
Nonce: 'nonce'
|
|
25
|
+
Nonce: 'nonce',
|
|
26
|
+
Constraints: 'constraints'
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
29
|
* Check if a given object implements the VCPresentationVerificationOptionsDto interface.
|
|
@@ -25,7 +25,8 @@ exports.VCPresentationVerificationResultResponseDtoChecksEnum = {
|
|
|
25
25
|
Expiration: 'expiration',
|
|
26
26
|
Nonce: 'nonce',
|
|
27
27
|
Schema: 'schema',
|
|
28
|
-
RevocationStatus: 'revocation_status'
|
|
28
|
+
RevocationStatus: 'revocation_status',
|
|
29
|
+
Constraints: 'constraints'
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* Check if a given object implements the VCPresentationVerificationResultResponseDto interface.
|
package/lib/umd/models/index.js
CHANGED
|
@@ -155,6 +155,8 @@ __exportStar(require("./IDPAuthorisationSiopSessionRequestPayloadDto"), exports)
|
|
|
155
155
|
__exportStar(require("./IDPClientModelDto"), exports);
|
|
156
156
|
__exportStar(require("./IDPClientResponseDto"), exports);
|
|
157
157
|
__exportStar(require("./IDPClientsResponseDto"), exports);
|
|
158
|
+
__exportStar(require("./IDPCreateClientDto"), exports);
|
|
159
|
+
__exportStar(require("./IDPCreateClientPayloadDto"), exports);
|
|
158
160
|
__exportStar(require("./IDPCreateInvitationDto"), exports);
|
|
159
161
|
__exportStar(require("./IDPCreateInvitationPayloadDto"), exports);
|
|
160
162
|
__exportStar(require("./IDPEndUserInvitationResponseDto"), exports);
|
|
@@ -175,6 +177,8 @@ __exportStar(require("./IDPJwtIssuerJWKSKeys"), exports);
|
|
|
175
177
|
__exportStar(require("./IDPJwtIssuerResponseDto"), exports);
|
|
176
178
|
__exportStar(require("./IDPLoginRequestDto"), exports);
|
|
177
179
|
__exportStar(require("./IDPMeta"), exports);
|
|
180
|
+
__exportStar(require("./IDPUpdateClientDto"), exports);
|
|
181
|
+
__exportStar(require("./IDPUpdateClientPayloadDto"), exports);
|
|
178
182
|
__exportStar(require("./IDPUserDto"), exports);
|
|
179
183
|
__exportStar(require("./IDPUserResponseDto"), exports);
|
|
180
184
|
__exportStar(require("./IDPWhoAmIResponseModelDto"), exports);
|
|
@@ -260,6 +264,7 @@ __exportStar(require("./ShreIntentListResponse"), exports);
|
|
|
260
264
|
__exportStar(require("./UpdateDelegationsRequest"), exports);
|
|
261
265
|
__exportStar(require("./VCApp"), exports);
|
|
262
266
|
__exportStar(require("./VCAppSignal"), exports);
|
|
267
|
+
__exportStar(require("./VCClaimsDto"), exports);
|
|
263
268
|
__exportStar(require("./VCCnfDto"), exports);
|
|
264
269
|
__exportStar(require("./VCComponent"), exports);
|
|
265
270
|
__exportStar(require("./VCConstraintsDto"), exports);
|
|
@@ -292,9 +297,11 @@ __exportStar(require("./VCDatabase"), exports);
|
|
|
292
297
|
__exportStar(require("./VCErrorResponseDto"), exports);
|
|
293
298
|
__exportStar(require("./VCErrorsResponseDto"), exports);
|
|
294
299
|
__exportStar(require("./VCFieldsDto"), exports);
|
|
300
|
+
__exportStar(require("./VCFieldsDtoFilter"), exports);
|
|
301
|
+
__exportStar(require("./VCFilterDto"), exports);
|
|
295
302
|
__exportStar(require("./VCFormatDto"), exports);
|
|
296
303
|
__exportStar(require("./VCGenerateCredentialDto"), exports);
|
|
297
|
-
__exportStar(require("./
|
|
304
|
+
__exportStar(require("./VCGenerateCredentialDtoClaims"), exports);
|
|
298
305
|
__exportStar(require("./VCGenerateCredentialPayloadDto"), exports);
|
|
299
306
|
__exportStar(require("./VCGeneratePresentationDto"), exports);
|
|
300
307
|
__exportStar(require("./VCGeneratePresentationPayloadDto"), exports);
|
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SVX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VCGenerateCredentialDtoCnf
|
|
16
|
-
*/
|
|
17
|
-
export interface VCGenerateCredentialDtoCnf {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {object}
|
|
21
|
-
* @memberof VCGenerateCredentialDtoCnf
|
|
22
|
-
*/
|
|
23
|
-
jwk: object;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the VCGenerateCredentialDtoCnf interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfVCGenerateCredentialDtoCnf(value: object): boolean;
|
|
29
|
-
export declare function VCGenerateCredentialDtoCnfFromJSON(json: any): VCGenerateCredentialDtoCnf;
|
|
30
|
-
export declare function VCGenerateCredentialDtoCnfFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCGenerateCredentialDtoCnf;
|
|
31
|
-
export declare function VCGenerateCredentialDtoCnfToJSON(value?: VCGenerateCredentialDtoCnf | null): any;
|