humanos 1.0.1
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/README.md +246 -0
- package/dist/index.d.mts +3898 -0
- package/dist/index.d.ts +3898 -0
- package/dist/index.js +1526 -0
- package/dist/index.mjs +1437 -0
- package/generated/.openapi-generator/FILES +82 -0
- package/generated/.openapi-generator/VERSION +1 -0
- package/generated/.openapi-generator-ignore +23 -0
- package/generated/README.md +46 -0
- package/generated/api/credentials-api.ts +148 -0
- package/generated/api/requests-api.ts +577 -0
- package/generated/api/resource-api.ts +318 -0
- package/generated/api/user-api.ts +241 -0
- package/generated/api/webhooks-api.ts +352 -0
- package/generated/api.ts +21 -0
- package/generated/base.ts +86 -0
- package/generated/common.ts +150 -0
- package/generated/configuration.ts +110 -0
- package/generated/git_push.sh +57 -0
- package/generated/index.ts +18 -0
- package/generated/models/action-type.ts +33 -0
- package/generated/models/agent-detail-entity.ts +36 -0
- package/generated/models/cancel-request404-response.ts +42 -0
- package/generated/models/create-subject-dto.ts +45 -0
- package/generated/models/create-subject-entity.ts +59 -0
- package/generated/models/credential-dto.ts +57 -0
- package/generated/models/credential-entity.ts +64 -0
- package/generated/models/credential-event-user.ts +42 -0
- package/generated/models/credential-event.ts +94 -0
- package/generated/models/credential-full-entity.ts +82 -0
- package/generated/models/credential-status.ts +33 -0
- package/generated/models/credential-subject.ts +39 -0
- package/generated/models/delivery-action-type.ts +31 -0
- package/generated/models/generate-credential-entity.ts +42 -0
- package/generated/models/generate-request-dto.ts +106 -0
- package/generated/models/generate-request-entity.ts +48 -0
- package/generated/models/generate-subject-entity.ts +48 -0
- package/generated/models/generate400-response.ts +42 -0
- package/generated/models/get-credential-entity.ts +48 -0
- package/generated/models/get-credential404-response.ts +42 -0
- package/generated/models/get-request-detail404-response.ts +42 -0
- package/generated/models/get-subject400-response.ts +42 -0
- package/generated/models/get-subject404-response.ts +42 -0
- package/generated/models/group-entity.ts +63 -0
- package/generated/models/group-resource-entity.ts +64 -0
- package/generated/models/groups-entity.ts +39 -0
- package/generated/models/identity-dto.ts +132 -0
- package/generated/models/identity-event-decision.ts +48 -0
- package/generated/models/identity-event-identity.ts +84 -0
- package/generated/models/identity-event.ts +94 -0
- package/generated/models/identity-field-placement.ts +73 -0
- package/generated/models/identity-field-type.ts +38 -0
- package/generated/models/index.ts +64 -0
- package/generated/models/issuer-detail-entity.ts +36 -0
- package/generated/models/mandate-data-dto-type.ts +73 -0
- package/generated/models/mandate-data-dto-value.ts +24 -0
- package/generated/models/mandate-data-dto.ts +71 -0
- package/generated/models/mandate-data-type.ts +37 -0
- package/generated/models/otp-failed-event-otp-error.ts +36 -0
- package/generated/models/otp-failed-event-otp.ts +39 -0
- package/generated/models/otp-failed-event.ts +85 -0
- package/generated/models/request-detail-entity.ts +94 -0
- package/generated/models/request-entity.ts +94 -0
- package/generated/models/request-query.ts +100 -0
- package/generated/models/request-subject-entity.ts +48 -0
- package/generated/models/requests-entity.ts +39 -0
- package/generated/models/resource-entity.ts +94 -0
- package/generated/models/resource-query.ts +70 -0
- package/generated/models/resources-entity.ts +39 -0
- package/generated/models/signature-placement-item-dto.ts +72 -0
- package/generated/models/signature-placement.ts +56 -0
- package/generated/models/subject-contact-entity.ts +42 -0
- package/generated/models/subject-entity.ts +48 -0
- package/generated/models/subject-query.ts +42 -0
- package/generated/models/subject.ts +42 -0
- package/generated/models/success-entity.ts +30 -0
- package/generated/models/test-event.ts +82 -0
- package/generated/models/w3-cproof.ts +82 -0
- package/generated/models/w3-cverifiable-credential.ts +90 -0
- package/generated/models/webhook-call-event.ts +56 -0
- package/generated/models/webhook-event-type-credential.ts +30 -0
- package/generated/models/webhook-event-type-identity.ts +30 -0
- package/generated/models/webhook-event-type-otpfailed.ts +30 -0
- package/generated/models/webhook-event-type-test.ts +30 -0
- package/generated/models/webhook-event-type.ts +33 -0
- package/generated/package.json +33 -0
- package/generated/tsconfig.esm.json +7 -0
- package/generated/tsconfig.json +18 -0
- package/package.json +68 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { MandateDataDto } from './mandate-data-dto';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { W3CProof } from './w3-cproof';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CredentialFullEntity
|
|
27
|
+
*/
|
|
28
|
+
export interface CredentialFullEntity {
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the created credential
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CredentialFullEntity
|
|
33
|
+
*/
|
|
34
|
+
'id': string;
|
|
35
|
+
/**
|
|
36
|
+
* Name of the credential
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CredentialFullEntity
|
|
39
|
+
*/
|
|
40
|
+
'name'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Identifier to help you identify the credential in your own system. We recommend using a unique value.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CredentialFullEntity
|
|
45
|
+
*/
|
|
46
|
+
'internalId'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Type of resource for this credential (e.g., DOCUMENT, CONSENT, FORM)
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CredentialFullEntity
|
|
51
|
+
*/
|
|
52
|
+
'resourceType': string;
|
|
53
|
+
/**
|
|
54
|
+
* Status of the credential
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CredentialFullEntity
|
|
57
|
+
*/
|
|
58
|
+
'status': CredentialFullEntityStatusEnum;
|
|
59
|
+
/**
|
|
60
|
+
* Cryptographic proof(s) for the credential
|
|
61
|
+
* @type {Array<W3CProof>}
|
|
62
|
+
* @memberof CredentialFullEntity
|
|
63
|
+
*/
|
|
64
|
+
'proofs': Array<W3CProof>;
|
|
65
|
+
/**
|
|
66
|
+
* Raw mandate data array containing the credential field values.
|
|
67
|
+
* @type {Array<MandateDataDto>}
|
|
68
|
+
* @memberof CredentialFullEntity
|
|
69
|
+
*/
|
|
70
|
+
'data': Array<MandateDataDto>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export const CredentialFullEntityStatusEnum = {
|
|
74
|
+
Pending: 'PENDING',
|
|
75
|
+
Approved: 'APPROVED',
|
|
76
|
+
Rejected: 'REJECTED',
|
|
77
|
+
Revoked: 'REVOKED'
|
|
78
|
+
} as const;
|
|
79
|
+
|
|
80
|
+
export type CredentialFullEntityStatusEnum = typeof CredentialFullEntityStatusEnum[keyof typeof CredentialFullEntityStatusEnum];
|
|
81
|
+
|
|
82
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const CredentialStatus = {
|
|
24
|
+
Pending: 'PENDING',
|
|
25
|
+
Approved: 'APPROVED',
|
|
26
|
+
Rejected: 'REJECTED',
|
|
27
|
+
Revoked: 'REVOKED'
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
export type CredentialStatus = typeof CredentialStatus[keyof typeof CredentialStatus];
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { MandateDataDto } from './mandate-data-dto';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CredentialSubject
|
|
24
|
+
*/
|
|
25
|
+
export interface CredentialSubject {
|
|
26
|
+
/**
|
|
27
|
+
* Public Decentralized Identifier (DID) of the user
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CredentialSubject
|
|
30
|
+
*/
|
|
31
|
+
'id': string;
|
|
32
|
+
/**
|
|
33
|
+
* Data of the credential subject
|
|
34
|
+
* @type {Array<MandateDataDto>}
|
|
35
|
+
* @memberof CredentialSubject
|
|
36
|
+
*/
|
|
37
|
+
'data': Array<MandateDataDto>;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const DeliveryActionType = {
|
|
24
|
+
Accept: 'accept',
|
|
25
|
+
Reject: 'reject'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type DeliveryActionType = typeof DeliveryActionType[keyof typeof DeliveryActionType];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GenerateCredentialEntity
|
|
21
|
+
*/
|
|
22
|
+
export interface GenerateCredentialEntity {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the created credential
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GenerateCredentialEntity
|
|
27
|
+
*/
|
|
28
|
+
'id': string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the credential
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GenerateCredentialEntity
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Identifier to help you identify the credential in your own system. We recommend using a unique value.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GenerateCredentialEntity
|
|
39
|
+
*/
|
|
40
|
+
'internalId'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { CredentialDto } from './credential-dto';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { SignaturePlacementItemDto } from './signature-placement-item-dto';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface GenerateRequestDto
|
|
27
|
+
*/
|
|
28
|
+
export interface GenerateRequestDto {
|
|
29
|
+
/**
|
|
30
|
+
* Name to be assigned to the request
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GenerateRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'name'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Array of contact emails or phone numbers
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof GenerateRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'contacts': Array<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Security level for the request
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GenerateRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'securityLevel'?: GenerateRequestDtoSecurityLevelEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Whether filters or allows credentials with the exact same data to be requested. This applies to both duplicate resourceIds passed in the body or associated with groupIds provided.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof GenerateRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'allowDuplicates'?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Ids of existing group resources to be included in the request
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof GenerateRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'groupIds'?: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Ids of existing resources to be included in the request
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof GenerateRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'resourcesIds'?: Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Inline JSON credentials to be included in the request
|
|
67
|
+
* @type {Array<CredentialDto>}
|
|
68
|
+
* @memberof GenerateRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'credentials'?: Array<CredentialDto>;
|
|
71
|
+
/**
|
|
72
|
+
* Predefined signature placements for document credentials
|
|
73
|
+
* @type {Array<SignaturePlacementItemDto>}
|
|
74
|
+
* @memberof GenerateRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'signaturePlacements'?: Array<SignaturePlacementItemDto>;
|
|
77
|
+
/**
|
|
78
|
+
* What language to use when sending notifications to the user
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof GenerateRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'language'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* URL to redirect the subject after completing the request
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof GenerateRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'redirectUrl'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Internal identifier for the request
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof GenerateRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'internalId'?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export const GenerateRequestDtoSecurityLevelEnum = {
|
|
98
|
+
Contact: 'CONTACT',
|
|
99
|
+
OrganizationKyc: 'ORGANIZATION_KYC',
|
|
100
|
+
HumanosKyc: 'HUMANOS_KYC',
|
|
101
|
+
HumanosRevalidation: 'HUMANOS_REVALIDATION'
|
|
102
|
+
} as const;
|
|
103
|
+
|
|
104
|
+
export type GenerateRequestDtoSecurityLevelEnum = typeof GenerateRequestDtoSecurityLevelEnum[keyof typeof GenerateRequestDtoSecurityLevelEnum];
|
|
105
|
+
|
|
106
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { GenerateCredentialEntity } from './generate-credential-entity';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { GenerateSubjectEntity } from './generate-subject-entity';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface GenerateRequestEntity
|
|
27
|
+
*/
|
|
28
|
+
export interface GenerateRequestEntity {
|
|
29
|
+
/**
|
|
30
|
+
* List of credentials created in this request. Each credential is associated with one or more subjects.
|
|
31
|
+
* @type {Array<GenerateCredentialEntity>}
|
|
32
|
+
* @memberof GenerateRequestEntity
|
|
33
|
+
*/
|
|
34
|
+
'credentials': Array<GenerateCredentialEntity>;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier for the request
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GenerateRequestEntity
|
|
39
|
+
*/
|
|
40
|
+
'id': string;
|
|
41
|
+
/**
|
|
42
|
+
* List of subjects (users) associated with this request
|
|
43
|
+
* @type {Array<GenerateSubjectEntity>}
|
|
44
|
+
* @memberof GenerateRequestEntity
|
|
45
|
+
*/
|
|
46
|
+
'subjects': Array<GenerateSubjectEntity>;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GenerateSubjectEntity
|
|
21
|
+
*/
|
|
22
|
+
export interface GenerateSubjectEntity {
|
|
23
|
+
/**
|
|
24
|
+
* Contact value (email or phone)
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GenerateSubjectEntity
|
|
27
|
+
*/
|
|
28
|
+
'contact': string;
|
|
29
|
+
/**
|
|
30
|
+
* Public Decentralized Identifier (DID) of the user
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GenerateSubjectEntity
|
|
33
|
+
*/
|
|
34
|
+
'did': string;
|
|
35
|
+
/**
|
|
36
|
+
* Code for the subject-OTP link. Only present if the issuer is configured to not send the OTP.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GenerateSubjectEntity
|
|
39
|
+
*/
|
|
40
|
+
'code'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Link to the subject-OTP link. Only present if the issuer is configured to not send the OTP.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GenerateSubjectEntity
|
|
45
|
+
*/
|
|
46
|
+
'link'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface Generate400Response
|
|
21
|
+
*/
|
|
22
|
+
export interface Generate400Response {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof Generate400Response
|
|
27
|
+
*/
|
|
28
|
+
'statusCode'?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Generate400Response
|
|
33
|
+
*/
|
|
34
|
+
'message'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Generate400Response
|
|
39
|
+
*/
|
|
40
|
+
'error'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { CredentialFullEntity } from './credential-full-entity';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { W3CVerifiableCredential } from './w3-cverifiable-credential';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface GetCredentialEntity
|
|
27
|
+
*/
|
|
28
|
+
export interface GetCredentialEntity {
|
|
29
|
+
/**
|
|
30
|
+
* Credential full entity
|
|
31
|
+
* @type {CredentialFullEntity}
|
|
32
|
+
* @memberof GetCredentialEntity
|
|
33
|
+
*/
|
|
34
|
+
'credential': CredentialFullEntity;
|
|
35
|
+
/**
|
|
36
|
+
* W3C Verifiable Credential in JSON-LD format
|
|
37
|
+
* @type {W3CVerifiableCredential}
|
|
38
|
+
* @memberof GetCredentialEntity
|
|
39
|
+
*/
|
|
40
|
+
'w3cCredential': W3CVerifiableCredential;
|
|
41
|
+
/**
|
|
42
|
+
* Base64-encoded PDF document (only included when includePdf=true and resource type is DOCUMENT)
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GetCredentialEntity
|
|
45
|
+
*/
|
|
46
|
+
'pdf'?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GetCredential404Response
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCredential404Response {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetCredential404Response
|
|
27
|
+
*/
|
|
28
|
+
'statusCode'?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetCredential404Response
|
|
33
|
+
*/
|
|
34
|
+
'message'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GetCredential404Response
|
|
39
|
+
*/
|
|
40
|
+
'error'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GetRequestDetail404Response
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRequestDetail404Response {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetRequestDetail404Response
|
|
27
|
+
*/
|
|
28
|
+
'statusCode'?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetRequestDetail404Response
|
|
33
|
+
*/
|
|
34
|
+
'message'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GetRequestDetail404Response
|
|
39
|
+
*/
|
|
40
|
+
'error'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GetSubject400Response
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSubject400Response {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetSubject400Response
|
|
27
|
+
*/
|
|
28
|
+
'statusCode'?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetSubject400Response
|
|
33
|
+
*/
|
|
34
|
+
'message'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GetSubject400Response
|
|
39
|
+
*/
|
|
40
|
+
'error'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Humanos API
|
|
5
|
+
* Humanos API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GetSubject404Response
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSubject404Response {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetSubject404Response
|
|
27
|
+
*/
|
|
28
|
+
'statusCode'?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetSubject404Response
|
|
33
|
+
*/
|
|
34
|
+
'message'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GetSubject404Response
|
|
39
|
+
*/
|
|
40
|
+
'error'?: string;
|
|
41
|
+
}
|
|
42
|
+
|