@meeco/svx-api-sdk 1.0.0-stage.20231211153548.58a6d84 → 1.0.0-stage.20240301124316.cffdd63
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 -2
- package/lib/esm/apis/OrganisationsApi.js +5 -2
- package/lib/esm/apis/SharesApi.js +4 -4
- package/lib/esm/apis/VerifiableCredentialsApi.js +2 -2
- package/lib/esm/models/{ATOMOrgIdAndName.js → ATOMAdministeredArchivedOrg.js} +6 -6
- package/lib/esm/models/ATOMAdministeredOrg.js +60 -0
- package/lib/esm/models/ATOMWhoAmI.js +9 -3
- package/lib/esm/models/IDPForgotPasswordDto.js +43 -0
- package/lib/esm/models/IDPLoginRequestDto.js +3 -0
- package/lib/esm/models/{VCGenerateCredentialDtoCnf.js → IDPResetPasswordDto.js} +9 -9
- package/lib/esm/models/VCClaimsDto.js +46 -0
- 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 -2
- package/lib/types/apis/OrganisationsApi.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/{ATOMOrgIdAndName.d.ts → ATOMAdministeredArchivedOrg.d.ts} +13 -13
- package/lib/types/models/ATOMAdministeredOrg.d.ts +67 -0
- package/lib/types/models/ATOMTenantInJwtForWhoAmI.d.ts +1 -1
- package/lib/types/models/ATOMWhoAmI.d.ts +16 -3
- package/lib/types/models/IDPForgotPasswordDto.d.ts +31 -0
- package/lib/types/models/IDPLoginRequestDto.d.ts +6 -0
- package/lib/types/models/IDPResetPasswordDto.d.ts +31 -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 -2
- package/lib/umd/apis/OrganisationsApi.js +5 -2
- package/lib/umd/apis/SharesApi.js +4 -4
- package/lib/umd/apis/VerifiableCredentialsApi.js +2 -2
- package/lib/umd/models/{ATOMOrgIdAndName.js → ATOMAdministeredArchivedOrg.js} +11 -11
- package/lib/umd/models/ATOMAdministeredOrg.js +67 -0
- package/lib/umd/models/ATOMWhoAmI.js +9 -3
- package/lib/umd/models/IDPForgotPasswordDto.js +50 -0
- package/lib/umd/models/IDPLoginRequestDto.js +3 -0
- package/lib/umd/models/IDPResetPasswordDto.js +50 -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 -2
- package/package.json +1 -1
- package/lib/types/models/VCGenerateCredentialDtoCnf.d.ts +0 -31
- package/lib/umd/models/VCGenerateCredentialDtoCnf.js +0 -50
|
@@ -19,6 +19,7 @@ exports.IDPLoginRequestDtoToJSON = exports.IDPLoginRequestDtoFromJSONTyped = exp
|
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfIDPLoginRequestDto(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "g_recaptcha_response" in value;
|
|
22
23
|
isInstance = isInstance && "user" in value;
|
|
23
24
|
isInstance = isInstance && "password" in value;
|
|
24
25
|
return isInstance;
|
|
@@ -33,6 +34,7 @@ function IDPLoginRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
return json;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
37
|
+
'g_recaptcha_response': json['g-recaptcha-response'],
|
|
36
38
|
'user': json['user'],
|
|
37
39
|
'password': json['password'],
|
|
38
40
|
};
|
|
@@ -46,6 +48,7 @@ function IDPLoginRequestDtoToJSON(value) {
|
|
|
46
48
|
return null;
|
|
47
49
|
}
|
|
48
50
|
return {
|
|
51
|
+
'g-recaptcha-response': value.g_recaptcha_response,
|
|
49
52
|
'user': value.user,
|
|
50
53
|
'password': value.password,
|
|
51
54
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
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.IDPResetPasswordDtoToJSON = exports.IDPResetPasswordDtoFromJSONTyped = exports.IDPResetPasswordDtoFromJSON = exports.instanceOfIDPResetPasswordDto = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the IDPResetPasswordDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfIDPResetPasswordDto(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "g_recaptcha_response" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfIDPResetPasswordDto = instanceOfIDPResetPasswordDto;
|
|
26
|
+
function IDPResetPasswordDtoFromJSON(json) {
|
|
27
|
+
return IDPResetPasswordDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.IDPResetPasswordDtoFromJSON = IDPResetPasswordDtoFromJSON;
|
|
30
|
+
function IDPResetPasswordDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'g_recaptcha_response': json['g-recaptcha-response'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.IDPResetPasswordDtoFromJSONTyped = IDPResetPasswordDtoFromJSONTyped;
|
|
39
|
+
function IDPResetPasswordDtoToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'g-recaptcha-response': value.g_recaptcha_response,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.IDPResetPasswordDtoToJSON = IDPResetPasswordDtoToJSON;
|
|
@@ -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
|
@@ -18,6 +18,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./ATOMActiveAndArchivedOrgList"), exports);
|
|
20
20
|
__exportStar(require("./ATOMAdmin"), exports);
|
|
21
|
+
__exportStar(require("./ATOMAdministeredArchivedOrg"), exports);
|
|
22
|
+
__exportStar(require("./ATOMAdministeredOrg"), exports);
|
|
21
23
|
__exportStar(require("./ATOMAgentList"), exports);
|
|
22
24
|
__exportStar(require("./ATOMAgentToken"), exports);
|
|
23
25
|
__exportStar(require("./ATOMApplicationVersion"), exports);
|
|
@@ -41,7 +43,6 @@ __exportStar(require("./ATOMOneUser"), exports);
|
|
|
41
43
|
__exportStar(require("./ATOMOrg"), exports);
|
|
42
44
|
__exportStar(require("./ATOMOrgAgent"), exports);
|
|
43
45
|
__exportStar(require("./ATOMOrgDescription"), exports);
|
|
44
|
-
__exportStar(require("./ATOMOrgIdAndName"), exports);
|
|
45
46
|
__exportStar(require("./ATOMOrgList"), exports);
|
|
46
47
|
__exportStar(require("./ATOMPaginatedAdminList"), exports);
|
|
47
48
|
__exportStar(require("./ATOMPaginatedOrgList"), exports);
|
|
@@ -167,6 +168,7 @@ __exportStar(require("./IDPEndUserResponseModelDto"), exports);
|
|
|
167
168
|
__exportStar(require("./IDPEndUsersResponseDto"), exports);
|
|
168
169
|
__exportStar(require("./IDPErrorResponseModel"), exports);
|
|
169
170
|
__exportStar(require("./IDPErrorsResponseModelDto"), exports);
|
|
171
|
+
__exportStar(require("./IDPForgotPasswordDto"), exports);
|
|
170
172
|
__exportStar(require("./IDPGenerateShortLivedAccessTokenDto"), exports);
|
|
171
173
|
__exportStar(require("./IDPGenerateShortLivedAccessTokenPayloadDto"), exports);
|
|
172
174
|
__exportStar(require("./IDPInvitationResponseDto"), exports);
|
|
@@ -177,6 +179,7 @@ __exportStar(require("./IDPJwtIssuerJWKSKeys"), exports);
|
|
|
177
179
|
__exportStar(require("./IDPJwtIssuerResponseDto"), exports);
|
|
178
180
|
__exportStar(require("./IDPLoginRequestDto"), exports);
|
|
179
181
|
__exportStar(require("./IDPMeta"), exports);
|
|
182
|
+
__exportStar(require("./IDPResetPasswordDto"), exports);
|
|
180
183
|
__exportStar(require("./IDPUpdateClientDto"), exports);
|
|
181
184
|
__exportStar(require("./IDPUpdateClientPayloadDto"), exports);
|
|
182
185
|
__exportStar(require("./IDPUserDto"), exports);
|
|
@@ -264,6 +267,7 @@ __exportStar(require("./ShreIntentListResponse"), exports);
|
|
|
264
267
|
__exportStar(require("./UpdateDelegationsRequest"), exports);
|
|
265
268
|
__exportStar(require("./VCApp"), exports);
|
|
266
269
|
__exportStar(require("./VCAppSignal"), exports);
|
|
270
|
+
__exportStar(require("./VCClaimsDto"), exports);
|
|
267
271
|
__exportStar(require("./VCCnfDto"), exports);
|
|
268
272
|
__exportStar(require("./VCComponent"), exports);
|
|
269
273
|
__exportStar(require("./VCConstraintsDto"), exports);
|
|
@@ -296,9 +300,11 @@ __exportStar(require("./VCDatabase"), exports);
|
|
|
296
300
|
__exportStar(require("./VCErrorResponseDto"), exports);
|
|
297
301
|
__exportStar(require("./VCErrorsResponseDto"), exports);
|
|
298
302
|
__exportStar(require("./VCFieldsDto"), exports);
|
|
303
|
+
__exportStar(require("./VCFieldsDtoFilter"), exports);
|
|
304
|
+
__exportStar(require("./VCFilterDto"), exports);
|
|
299
305
|
__exportStar(require("./VCFormatDto"), exports);
|
|
300
306
|
__exportStar(require("./VCGenerateCredentialDto"), exports);
|
|
301
|
-
__exportStar(require("./
|
|
307
|
+
__exportStar(require("./VCGenerateCredentialDtoClaims"), exports);
|
|
302
308
|
__exportStar(require("./VCGenerateCredentialPayloadDto"), exports);
|
|
303
309
|
__exportStar(require("./VCGeneratePresentationDto"), exports);
|
|
304
310
|
__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;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.VCGenerateCredentialDtoCnfToJSON = exports.VCGenerateCredentialDtoCnfFromJSONTyped = exports.VCGenerateCredentialDtoCnfFromJSON = exports.instanceOfVCGenerateCredentialDtoCnf = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the VCGenerateCredentialDtoCnf interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfVCGenerateCredentialDtoCnf(value) {
|
|
21
|
-
let isInstance = true;
|
|
22
|
-
isInstance = isInstance && "jwk" in value;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfVCGenerateCredentialDtoCnf = instanceOfVCGenerateCredentialDtoCnf;
|
|
26
|
-
function VCGenerateCredentialDtoCnfFromJSON(json) {
|
|
27
|
-
return VCGenerateCredentialDtoCnfFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.VCGenerateCredentialDtoCnfFromJSON = VCGenerateCredentialDtoCnfFromJSON;
|
|
30
|
-
function VCGenerateCredentialDtoCnfFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'jwk': json['jwk'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.VCGenerateCredentialDtoCnfFromJSONTyped = VCGenerateCredentialDtoCnfFromJSONTyped;
|
|
39
|
-
function VCGenerateCredentialDtoCnfToJSON(value) {
|
|
40
|
-
if (value === undefined) {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'jwk': value.jwk,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.VCGenerateCredentialDtoCnfToJSON = VCGenerateCredentialDtoCnfToJSON;
|