humanos 1.0.5 → 1.0.7

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.
Files changed (81) hide show
  1. package/dist/index.d.mts +551 -323
  2. package/dist/index.d.ts +551 -323
  3. package/dist/index.js +33 -31
  4. package/dist/index.mjs +32 -31
  5. package/generated/.openapi-generator/FILES +13 -7
  6. package/generated/api/approval-api.ts +0 -2
  7. package/generated/api/credentials-api.ts +15 -15
  8. package/generated/api/requests-api.ts +8 -4
  9. package/generated/api/webhooks-api.ts +4 -4
  10. package/generated/models/create-presentation-dto.ts +1 -1
  11. package/generated/models/create-subject-entity.ts +3 -6
  12. package/generated/models/credential-entity.ts +2 -2
  13. package/generated/models/{w3-cverifiable-credential-proofs-inner.ts → credential-proof.ts} +20 -8
  14. package/generated/models/generate-request-dto.ts +15 -27
  15. package/generated/models/generate-request-iframe-cookie-dto.ts +36 -0
  16. package/generated/models/generate-request-iframe-dto.ts +39 -0
  17. package/generated/models/generate-request-user-dto.ts +64 -0
  18. package/generated/models/generate-subject-entity.ts +2 -2
  19. package/generated/models/identity-event-decision.ts +0 -18
  20. package/generated/models/identity-event.ts +3 -3
  21. package/generated/models/{w3-cverifiable-credential-valid-from.ts → identity-webhook-issue-date.ts} +2 -2
  22. package/generated/models/identity-webhook.ts +117 -0
  23. package/generated/models/index.ts +13 -7
  24. package/generated/models/{w3-cverifiable-credential-evidences-inner.ts → mandate-action.ts} +7 -5
  25. package/generated/models/{w3-cverifiable-credential-credential-subject-mandate-context.ts → mandate-context.ts} +3 -3
  26. package/generated/models/{w3-cverifiable-credential-valid-until.ts → mandate-grantor.ts} +2 -2
  27. package/generated/models/mandate.ts +65 -0
  28. package/generated/models/presentation-entity.ts +45 -0
  29. package/generated/models/request-detail-subject-entity.ts +6 -0
  30. package/generated/models/request-subject-entity.ts +6 -0
  31. package/generated/models/{generate400-response.ts → requests-create402-response.ts} +5 -5
  32. package/generated/models/{create400-response.ts → requests-create409-response.ts} +5 -5
  33. package/generated/models/resource-entity.ts +0 -1
  34. package/generated/models/resource-minimal-entity.ts +0 -1
  35. package/generated/models/resource-query.ts +0 -1
  36. package/generated/models/revoke-credential-entity.ts +0 -9
  37. package/generated/models/verify-presentation-dto.ts +8 -2
  38. package/generated/models/w3-cverifiable-credential-credential-subject.ts +3 -3
  39. package/generated/models/w3-cverifiable-credential.ts +5 -5
  40. package/generated/models/webhook-call-event.ts +1 -1
  41. package/package.json +1 -1
  42. package/generated/models/action-ref-dto.ts +0 -36
  43. package/generated/models/constraints-dto.ts +0 -36
  44. package/generated/models/create-presentation400-response.ts +0 -42
  45. package/generated/models/create-presentation403-response.ts +0 -42
  46. package/generated/models/create-presentation404-response.ts +0 -42
  47. package/generated/models/credential-dto-data-inner.ts +0 -26
  48. package/generated/models/get-credential404-response.ts +0 -42
  49. package/generated/models/get-evidence404-response.ts +0 -42
  50. package/generated/models/get-request-detail404-response.ts +0 -42
  51. package/generated/models/get-subject400-response.ts +0 -42
  52. package/generated/models/get-subject404-response.ts +0 -42
  53. package/generated/models/identity-payload.ts +0 -84
  54. package/generated/models/json-value.ts +0 -27
  55. package/generated/models/otp-failed-event-otp-error.ts +0 -36
  56. package/generated/models/presentation-receipt-entity.ts +0 -42
  57. package/generated/models/presentation-response-entity.ts +0 -39
  58. package/generated/models/resend-otp403-response.ts +0 -42
  59. package/generated/models/revoke-credential400-response.ts +0 -42
  60. package/generated/models/revoke-credential409-response.ts +0 -42
  61. package/generated/models/revoke-receipt-entity.ts +0 -42
  62. package/generated/models/schema-entity.ts +0 -57
  63. package/generated/models/schema-list-entity.ts +0 -39
  64. package/generated/models/schema-query.ts +0 -48
  65. package/generated/models/schema-response-entity.ts +0 -45
  66. package/generated/models/schema-version-detail-entity.ts +0 -72
  67. package/generated/models/schema-version-list-entity.ts +0 -39
  68. package/generated/models/schema-version-response-entity.ts +0 -54
  69. package/generated/models/schema-version-summary-entity.ts +0 -48
  70. package/generated/models/subject-contact-entity.ts +0 -42
  71. package/generated/models/verify-receipt-entity.ts +0 -42
  72. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-action.ts +0 -44
  73. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint-constraint-schema.ts +0 -44
  74. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint.ts +0 -41
  75. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-grantor.ts +0 -24
  76. package/generated/models/w3-cverifiable-credential-credential-subject-mandate.ts +0 -65
  77. package/generated/models/webhook-event-type-credential.ts +0 -30
  78. package/generated/models/webhook-event-type-identity.ts +0 -30
  79. package/generated/models/webhook-event-type-otpfailed.ts +0 -30
  80. package/generated/models/webhook-event-type-test.ts +0 -30
  81. package/generated/models/webhook-event-type.ts +0 -33
@@ -1,42 +0,0 @@
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 RevokeCredential409Response
21
- */
22
- export interface RevokeCredential409Response {
23
- /**
24
- *
25
- * @type {number}
26
- * @memberof RevokeCredential409Response
27
- */
28
- 'statusCode'?: number;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof RevokeCredential409Response
33
- */
34
- 'message'?: string;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof RevokeCredential409Response
39
- */
40
- 'error'?: string;
41
- }
42
-
@@ -1,42 +0,0 @@
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 RevokeReceiptEntity
21
- */
22
- export interface RevokeReceiptEntity {
23
- /**
24
- * Receipt id
25
- * @type {string}
26
- * @memberof RevokeReceiptEntity
27
- */
28
- 'id': string;
29
- /**
30
- * Receipt DID
31
- * @type {string}
32
- * @memberof RevokeReceiptEntity
33
- */
34
- 'did': string;
35
- /**
36
- * Receipt issuance timestamp (ISO 8601)
37
- * @type {string}
38
- * @memberof RevokeReceiptEntity
39
- */
40
- 'timestamp': string;
41
- }
42
-
@@ -1,57 +0,0 @@
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 { SchemaVersionSummaryEntity } from './schema-version-summary-entity';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface SchemaEntity
24
- */
25
- export interface SchemaEntity {
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof SchemaEntity
30
- */
31
- 'id': string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof SchemaEntity
36
- */
37
- 'name': string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof SchemaEntity
42
- */
43
- 'description'?: string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof SchemaEntity
48
- */
49
- 'updatedAt': string;
50
- /**
51
- *
52
- * @type {Array<SchemaVersionSummaryEntity>}
53
- * @memberof SchemaEntity
54
- */
55
- 'versions': Array<SchemaVersionSummaryEntity>;
56
- }
57
-
@@ -1,39 +0,0 @@
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 { SchemaEntity } from './schema-entity';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface SchemaListEntity
24
- */
25
- export interface SchemaListEntity {
26
- /**
27
- *
28
- * @type {Array<SchemaEntity>}
29
- * @memberof SchemaListEntity
30
- */
31
- 'data': Array<SchemaEntity>;
32
- /**
33
- *
34
- * @type {number}
35
- * @memberof SchemaListEntity
36
- */
37
- 'totalPages': number;
38
- }
39
-
@@ -1,48 +0,0 @@
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 SchemaQuery
21
- */
22
- export interface SchemaQuery {
23
- /**
24
- * Page number
25
- * @type {number}
26
- * @memberof SchemaQuery
27
- */
28
- 'pageIndex'?: number;
29
- /**
30
- * Number of items per page
31
- * @type {number}
32
- * @memberof SchemaQuery
33
- */
34
- 'pageSize'?: number;
35
- /**
36
- * Search query to filter by. Is case-insensitive and does not need to match the entire value.
37
- * @type {string}
38
- * @memberof SchemaQuery
39
- */
40
- 'search'?: string;
41
- /**
42
- * Filter by active status. Accepts true/false as string or boolean.
43
- * @type {boolean}
44
- * @memberof SchemaQuery
45
- */
46
- 'active'?: boolean;
47
- }
48
-
@@ -1,45 +0,0 @@
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 { SchemaVersionResponseEntity } from './schema-version-response-entity';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface SchemaResponseEntity
24
- */
25
- export interface SchemaResponseEntity {
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof SchemaResponseEntity
30
- */
31
- 'name': string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof SchemaResponseEntity
36
- */
37
- 'description'?: string;
38
- /**
39
- *
40
- * @type {Array<SchemaVersionResponseEntity>}
41
- * @memberof SchemaResponseEntity
42
- */
43
- 'versions': Array<SchemaVersionResponseEntity>;
44
- }
45
-
@@ -1,72 +0,0 @@
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 SchemaVersionDetailEntity
21
- */
22
- export interface SchemaVersionDetailEntity {
23
- /**
24
- * URN of the schema version (rewritten from `urn` to `id` on the response)
25
- * @type {string}
26
- * @memberof SchemaVersionDetailEntity
27
- */
28
- 'id': string;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof SchemaVersionDetailEntity
33
- */
34
- 'schemaId': string;
35
- /**
36
- *
37
- * @type {number}
38
- * @memberof SchemaVersionDetailEntity
39
- */
40
- 'version': number;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof SchemaVersionDetailEntity
45
- */
46
- 'digestSRI'?: string;
47
- /**
48
- * JSON content of the constraint schema
49
- * @type {object}
50
- * @memberof SchemaVersionDetailEntity
51
- */
52
- 'content'?: object;
53
- /**
54
- *
55
- * @type {boolean}
56
- * @memberof SchemaVersionDetailEntity
57
- */
58
- 'published': boolean;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof SchemaVersionDetailEntity
63
- */
64
- 'createdAt': string;
65
- /**
66
- *
67
- * @type {string}
68
- * @memberof SchemaVersionDetailEntity
69
- */
70
- 'updatedAt': string;
71
- }
72
-
@@ -1,39 +0,0 @@
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 { SchemaVersionDetailEntity } from './schema-version-detail-entity';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface SchemaVersionListEntity
24
- */
25
- export interface SchemaVersionListEntity {
26
- /**
27
- *
28
- * @type {Array<SchemaVersionDetailEntity>}
29
- * @memberof SchemaVersionListEntity
30
- */
31
- 'data': Array<SchemaVersionDetailEntity>;
32
- /**
33
- *
34
- * @type {number}
35
- * @memberof SchemaVersionListEntity
36
- */
37
- 'totalPages': number;
38
- }
39
-
@@ -1,54 +0,0 @@
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 SchemaVersionResponseEntity
21
- */
22
- export interface SchemaVersionResponseEntity {
23
- /**
24
- * URN of the schema version (rewritten from `urn` to `id` on the response)
25
- * @type {string}
26
- * @memberof SchemaVersionResponseEntity
27
- */
28
- 'id': string;
29
- /**
30
- *
31
- * @type {number}
32
- * @memberof SchemaVersionResponseEntity
33
- */
34
- 'version': number;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof SchemaVersionResponseEntity
39
- */
40
- 'digestSRI'?: string;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof SchemaVersionResponseEntity
45
- */
46
- 'createdAt': string;
47
- /**
48
- * JSON content of the constraint schema
49
- * @type {string}
50
- * @memberof SchemaVersionResponseEntity
51
- */
52
- 'content'?: string;
53
- }
54
-
@@ -1,48 +0,0 @@
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 SchemaVersionSummaryEntity
21
- */
22
- export interface SchemaVersionSummaryEntity {
23
- /**
24
- * URN of the schema version (rewritten from `urn` to `id` on the response)
25
- * @type {string}
26
- * @memberof SchemaVersionSummaryEntity
27
- */
28
- 'id': string;
29
- /**
30
- *
31
- * @type {number}
32
- * @memberof SchemaVersionSummaryEntity
33
- */
34
- 'version': number;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof SchemaVersionSummaryEntity
39
- */
40
- 'digestSRI'?: string;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof SchemaVersionSummaryEntity
45
- */
46
- 'createdAt': string;
47
- }
48
-
@@ -1,42 +0,0 @@
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 SubjectContactEntity
21
- */
22
- export interface SubjectContactEntity {
23
- /**
24
- * Public Unique Identifier (DID) of the users contact
25
- * @type {string}
26
- * @memberof SubjectContactEntity
27
- */
28
- 'id'?: string;
29
- /**
30
- * Verified contact value (email or phone)
31
- * @type {string}
32
- * @memberof SubjectContactEntity
33
- */
34
- 'contact': string;
35
- /**
36
- *
37
- * @type {Array<string>}
38
- * @memberof SubjectContactEntity
39
- */
40
- 'publicKeys': Array<string>;
41
- }
42
-
@@ -1,42 +0,0 @@
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 VerifyReceiptEntity
21
- */
22
- export interface VerifyReceiptEntity {
23
- /**
24
- * Receipt id
25
- * @type {string}
26
- * @memberof VerifyReceiptEntity
27
- */
28
- 'id': string;
29
- /**
30
- * Receipt DID
31
- * @type {string}
32
- * @memberof VerifyReceiptEntity
33
- */
34
- 'did': string;
35
- /**
36
- * Receipt issuance timestamp (ISO 8601)
37
- * @type {string}
38
- * @memberof VerifyReceiptEntity
39
- */
40
- 'timestamp': string;
41
- }
42
-
@@ -1,44 +0,0 @@
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 W3CVerifiableCredentialCredentialSubjectMandateAction
21
- */
22
- export interface W3CVerifiableCredentialCredentialSubjectMandateAction {
23
- [key: string]: any;
24
-
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof W3CVerifiableCredentialCredentialSubjectMandateAction
29
- */
30
- 'id': string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof W3CVerifiableCredentialCredentialSubjectMandateAction
35
- */
36
- 'digestSRI': string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof W3CVerifiableCredentialCredentialSubjectMandateAction
41
- */
42
- 'location': string;
43
- }
44
-
@@ -1,44 +0,0 @@
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 W3CVerifiableCredentialCredentialSubjectMandateConstraintConstraintSchema
21
- */
22
- export interface W3CVerifiableCredentialCredentialSubjectMandateConstraintConstraintSchema {
23
- [key: string]: any;
24
-
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof W3CVerifiableCredentialCredentialSubjectMandateConstraintConstraintSchema
29
- */
30
- 'id': string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof W3CVerifiableCredentialCredentialSubjectMandateConstraintConstraintSchema
35
- */
36
- 'digestSRI': string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof W3CVerifiableCredentialCredentialSubjectMandateConstraintConstraintSchema
41
- */
42
- 'location': string;
43
- }
44
-