humanos 1.0.4 → 1.0.6

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 (148) hide show
  1. package/dist/index.d.mts +346 -231
  2. package/dist/index.d.ts +346 -231
  3. package/dist/index.js +65 -60
  4. package/dist/index.mjs +64 -60
  5. package/generated/.openapi-generator/FILES +5 -2
  6. package/generated/api/actions-api.ts +1 -1
  7. package/generated/api/activity-api.ts +28 -28
  8. package/generated/api/approval-api.ts +1 -3
  9. package/generated/api/credentials-api.ts +5 -5
  10. package/generated/api/didapi.ts +1 -1
  11. package/generated/api/requests-api.ts +32 -32
  12. package/generated/api/user-api.ts +1 -1
  13. package/generated/api/webhooks-api.ts +5 -5
  14. package/generated/api.ts +1 -1
  15. package/generated/base.ts +1 -1
  16. package/generated/common.ts +1 -1
  17. package/generated/configuration.ts +1 -1
  18. package/generated/index.ts +1 -1
  19. package/generated/models/action-dto.ts +1 -1
  20. package/generated/models/action-entity.ts +1 -1
  21. package/generated/models/action-list-entity.ts +1 -1
  22. package/generated/models/action-query.ts +1 -1
  23. package/generated/models/action-version-detail-entity.ts +1 -1
  24. package/generated/models/action-version-list-entity.ts +1 -1
  25. package/generated/models/action-version-summary-entity.ts +1 -1
  26. package/generated/models/activities-entity.ts +1 -1
  27. package/generated/models/activity-entity.ts +1 -1
  28. package/generated/models/activity-query.ts +13 -13
  29. package/generated/models/consent.ts +1 -1
  30. package/generated/models/contact-entity.ts +1 -1
  31. package/generated/models/create-presentation-dto.ts +1 -1
  32. package/generated/models/create-subject-dto.ts +1 -1
  33. package/generated/models/create-subject-entity.ts +1 -1
  34. package/generated/models/{credential-dto-data-inner.ts → credential-dto-data.ts} +4 -3
  35. package/generated/models/credential-dto.ts +5 -5
  36. package/generated/models/credential-entity.ts +1 -1
  37. package/generated/models/credential-event-decision.ts +1 -1
  38. package/generated/models/credential-event-user.ts +1 -1
  39. package/generated/models/credential-event.ts +1 -1
  40. package/generated/models/credential-placement-dto.ts +1 -1
  41. package/generated/models/credential-status.ts +1 -1
  42. package/generated/models/credentials-detail404-response.ts +1 -1
  43. package/generated/models/credentials-evidence404-response.ts +1 -1
  44. package/generated/models/credentials-issue-vp400-response.ts +1 -1
  45. package/generated/models/credentials-issue-vp403-response.ts +1 -1
  46. package/generated/models/credentials-issue-vp404-response.ts +1 -1
  47. package/generated/models/credentials-revoke400-response.ts +1 -1
  48. package/generated/models/credentials-revoke409-response.ts +1 -1
  49. package/generated/models/delivery-action-type.ts +1 -1
  50. package/generated/models/did-document-entity.ts +1 -1
  51. package/generated/models/evidence.ts +1 -1
  52. package/generated/models/generate-credential-entity.ts +1 -1
  53. package/generated/models/generate-request-dto.ts +16 -28
  54. package/generated/models/generate-request-entity.ts +1 -1
  55. package/generated/models/{otp-failed-event-otp-error.ts → generate-request-iframe-dto.ts} +6 -12
  56. package/generated/models/generate-request-user-dto.ts +64 -0
  57. package/generated/models/generate-subject-entity.ts +3 -3
  58. package/generated/models/group-entity.ts +1 -1
  59. package/generated/models/groups-entity.ts +1 -1
  60. package/generated/models/identity-dto.ts +1 -1
  61. package/generated/models/identity-event-decision.ts +1 -19
  62. package/generated/models/identity-event-user.ts +1 -1
  63. package/generated/models/identity-event.ts +4 -4
  64. package/generated/models/{w3-cverifiable-credential-valid-from.ts → identity-webhook-issue-date.ts} +3 -3
  65. package/generated/models/identity-webhook.ts +117 -0
  66. package/generated/models/index.ts +5 -2
  67. package/generated/models/organization-data-entity.ts +1 -1
  68. package/generated/models/otp-error.ts +1 -1
  69. package/generated/models/otp-failed-event-otp.ts +1 -1
  70. package/generated/models/otp-failed-event.ts +1 -1
  71. package/generated/models/partial-subject-entity.ts +1 -1
  72. package/generated/models/presentation-response-entity.ts +8 -2
  73. package/generated/models/receipt-entity.ts +1 -1
  74. package/generated/models/request-credential-entity.ts +1 -1
  75. package/generated/models/request-detail-entity.ts +1 -1
  76. package/generated/models/request-detail-subject-entity.ts +7 -1
  77. package/generated/models/request-entity.ts +1 -1
  78. package/generated/models/request-query.ts +13 -13
  79. package/generated/models/request-subject-entity.ts +7 -1
  80. package/generated/models/requests-create400-response.ts +1 -1
  81. package/generated/models/requests-detail404-response.ts +1 -1
  82. package/generated/models/requests-entity.ts +1 -1
  83. package/generated/models/requests-resend-otp403-response.ts +1 -1
  84. package/generated/models/resource-entity.ts +1 -2
  85. package/generated/models/resource-minimal-entity.ts +1 -2
  86. package/generated/models/resource-query.ts +1 -2
  87. package/generated/models/resources-entity.ts +1 -1
  88. package/generated/models/revoke-credential-dto.ts +1 -1
  89. package/generated/models/revoke-credential-entity.ts +1 -1
  90. package/generated/models/subject-issuer-entity.ts +1 -1
  91. package/generated/models/subject-query.ts +1 -1
  92. package/generated/models/success-entity.ts +1 -1
  93. package/generated/models/test-event.ts +1 -1
  94. package/generated/models/user-create400-response.ts +1 -1
  95. package/generated/models/user-detail400-response.ts +1 -1
  96. package/generated/models/user-detail404-response.ts +1 -1
  97. package/generated/models/verification-method-entity.ts +1 -1
  98. package/generated/models/verify-allow-response-entity.ts +1 -1
  99. package/generated/models/verify-deny-response-entity.ts +1 -1
  100. package/generated/models/verify-evaluation-entity.ts +1 -1
  101. package/generated/models/verify-presentation-dto.ts +8 -2
  102. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-action.ts +1 -1
  103. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-context.ts +1 -1
  104. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-grantor.ts +1 -1
  105. package/generated/models/w3-cverifiable-credential-credential-subject-mandate.ts +1 -1
  106. package/generated/models/w3-cverifiable-credential-credential-subject.ts +1 -1
  107. package/generated/models/w3-cverifiable-credential-proofs-inner.ts +1 -1
  108. package/generated/models/w3-cverifiable-credential.ts +1 -1
  109. package/generated/models/webhook-call-event.ts +2 -2
  110. package/package.json +1 -1
  111. package/generated/models/action-ref-dto.ts +0 -36
  112. package/generated/models/constraints-dto.ts +0 -36
  113. package/generated/models/create-presentation400-response.ts +0 -42
  114. package/generated/models/create-presentation403-response.ts +0 -42
  115. package/generated/models/create-presentation404-response.ts +0 -42
  116. package/generated/models/create400-response.ts +0 -42
  117. package/generated/models/generate400-response.ts +0 -42
  118. package/generated/models/get-credential404-response.ts +0 -42
  119. package/generated/models/get-evidence404-response.ts +0 -42
  120. package/generated/models/get-request-detail404-response.ts +0 -42
  121. package/generated/models/get-subject400-response.ts +0 -42
  122. package/generated/models/get-subject404-response.ts +0 -42
  123. package/generated/models/identity-payload.ts +0 -84
  124. package/generated/models/json-value.ts +0 -27
  125. package/generated/models/presentation-receipt-entity.ts +0 -42
  126. package/generated/models/resend-otp403-response.ts +0 -42
  127. package/generated/models/revoke-credential400-response.ts +0 -42
  128. package/generated/models/revoke-credential409-response.ts +0 -42
  129. package/generated/models/revoke-receipt-entity.ts +0 -42
  130. package/generated/models/schema-entity.ts +0 -57
  131. package/generated/models/schema-list-entity.ts +0 -39
  132. package/generated/models/schema-query.ts +0 -48
  133. package/generated/models/schema-response-entity.ts +0 -45
  134. package/generated/models/schema-version-detail-entity.ts +0 -72
  135. package/generated/models/schema-version-list-entity.ts +0 -39
  136. package/generated/models/schema-version-response-entity.ts +0 -54
  137. package/generated/models/schema-version-summary-entity.ts +0 -48
  138. package/generated/models/subject-contact-entity.ts +0 -42
  139. package/generated/models/verify-receipt-entity.ts +0 -42
  140. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint-constraint-schema.ts +0 -44
  141. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint.ts +0 -41
  142. package/generated/models/w3-cverifiable-credential-evidences-inner.ts +0 -42
  143. package/generated/models/w3-cverifiable-credential-valid-until.ts +0 -24
  144. package/generated/models/webhook-event-type-credential.ts +0 -30
  145. package/generated/models/webhook-event-type-identity.ts +0 -30
  146. package/generated/models/webhook-event-type-otpfailed.ts +0 -30
  147. package/generated/models/webhook-event-type-test.ts +0 -30
  148. package/generated/models/webhook-event-type.ts +0 -33
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -24,11 +24,17 @@ import type { ReceiptEntity } from './receipt-entity';
24
24
  */
25
25
  export interface PresentationResponseEntity {
26
26
  /**
27
- * Signed W3C Verifiable Presentation. Includes @context, type, holder, verifiableCredential[], and proof. Pass this object as `presentation` to POST /credential/verify.
27
+ * Signed W3C Verifiable Presentation (@context, type, holder, verifiableCredential, proof). Pass it back to POST /credential/verify as `presentation` or, recommended, use `presentationEncoded` below.
28
28
  * @type {object}
29
29
  * @memberof PresentationResponseEntity
30
30
  */
31
31
  'presentation': object;
32
+ /**
33
+ * Base64-encoded JSON of the signed Verifiable Presentation above. Pass it back to POST /credential/verify as `presentationEncoded` (recommended) to avoid signature failures caused by JSON re-serialization in some HTTP clients.
34
+ * @type {string}
35
+ * @memberof PresentationResponseEntity
36
+ */
37
+ 'presentationEncoded': string;
32
38
  /**
33
39
  * VP_CREATED receipt issued for this presentation
34
40
  * @type {ReceiptEntity}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -74,6 +74,12 @@ export interface RequestDetailSubjectEntity {
74
74
  * @memberof RequestDetailSubjectEntity
75
75
  */
76
76
  'kyc'?: string;
77
+ /**
78
+ * Secondary contact (email or phone) used for two-factor authentication in this request. Present when the request was created with a secondary contact for 2FA.
79
+ * @type {string}
80
+ * @memberof RequestDetailSubjectEntity
81
+ */
82
+ 'secondaryContact'?: string;
77
83
  }
78
84
 
79
85
  export const RequestDetailSubjectEntityIdentityStatusEnum = {
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -39,35 +39,35 @@ export interface RequestQuery {
39
39
  */
40
40
  'search'?: string;
41
41
  /**
42
- * Filter by subject (nested object with contact, id, or internalId).
42
+ * Filter from date (will be converted to start of day in UTC)
43
43
  * @type {string}
44
44
  * @memberof RequestQuery
45
45
  */
46
- 'subject'?: string;
46
+ 'dateFrom'?: string;
47
47
  /**
48
- * Identifier to help you identify the request in your own system. We recommend using a unique value.
48
+ * Filter to date (will be converted to end of day in UTC). Requires dateFrom.
49
49
  * @type {string}
50
50
  * @memberof RequestQuery
51
51
  */
52
- 'internalId'?: string;
52
+ 'dateTo'?: string;
53
53
  /**
54
- * Filter by security level. Can be a single value or array
55
- * @type {Array<string>}
54
+ * Filter by subject (nested object with contact, id, or internalId).
55
+ * @type {string}
56
56
  * @memberof RequestQuery
57
57
  */
58
- 'securityLevel'?: Array<RequestQuerySecurityLevelEnum>;
58
+ 'subject'?: string;
59
59
  /**
60
- * Filter from date (will be converted to start of day)
60
+ * Identifier to help you identify the request in your own system. We recommend using a unique value.
61
61
  * @type {string}
62
62
  * @memberof RequestQuery
63
63
  */
64
- 'dateFrom'?: string;
64
+ 'internalId'?: string;
65
65
  /**
66
- * Filter to date (will be converted to end of day). Requires dateFrom.
67
- * @type {string}
66
+ * Filter by security level. Can be a single value or array
67
+ * @type {Array<string>}
68
68
  * @memberof RequestQuery
69
69
  */
70
- 'dateTo'?: string;
70
+ 'securityLevel'?: Array<RequestQuerySecurityLevelEnum>;
71
71
  }
72
72
 
73
73
  export const RequestQuerySecurityLevelEnum = {
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -50,6 +50,12 @@ export interface RequestSubjectEntity {
50
50
  * @memberof RequestSubjectEntity
51
51
  */
52
52
  'kyc'?: string;
53
+ /**
54
+ * Secondary contact (email or phone) used for two-factor authentication in this request. Present when the request was created with a secondary contact for 2FA.
55
+ * @type {string}
56
+ * @memberof RequestSubjectEntity
57
+ */
58
+ 'secondaryContact'?: string;
53
59
  }
54
60
 
55
61
  export const RequestSubjectEntityIdentityStatusEnum = {
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -93,7 +93,6 @@ export const ResourceEntityTypeEnum = {
93
93
  Form: 'FORM',
94
94
  Document: 'DOCUMENT',
95
95
  Json: 'JSON',
96
- Payment: 'PAYMENT',
97
96
  Policy: 'POLICY'
98
97
  } as const;
99
98
 
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -57,7 +57,6 @@ export const ResourceMinimalEntityTypeEnum = {
57
57
  Form: 'FORM',
58
58
  Document: 'DOCUMENT',
59
59
  Json: 'JSON',
60
- Payment: 'PAYMENT',
61
60
  Policy: 'POLICY'
62
61
  } as const;
63
62
 
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -63,7 +63,6 @@ export const ResourceQueryTypesEnum = {
63
63
  Form: 'FORM',
64
64
  Document: 'DOCUMENT',
65
65
  Json: 'JSON',
66
- Payment: 'PAYMENT',
67
66
  Policy: 'POLICY'
68
67
  } as const;
69
68
 
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -21,11 +21,17 @@
21
21
  */
22
22
  export interface VerifyPresentationDto {
23
23
  /**
24
- * Signed W3C Verifiable Presentation. Includes @context, type, holder, verifiableCredential[], and proof. Pass this object as `presentation` to POST /credential/verify.
24
+ * Signed W3C Verifiable Presentation (@context, type, holder, verifiableCredential, proof), exactly as returned by POST /credential/vp/:vcId — do not re-serialize or modify it. Provide this or `presentationEncoded` (at least one is required; `presentationEncoded` overrides and is recommended, since a base64 string avoids JSON formatting changes that can break the signature).
25
25
  * @type {object}
26
26
  * @memberof VerifyPresentationDto
27
27
  */
28
28
  'presentation': object;
29
+ /**
30
+ * Base64-encoded JSON of the signed Verifiable Presentation, exactly as returned by POST /credential/vp/:vcId. Either this or `presentation` is required — sending neither returns 400 — and when both are present this overrides `presentation` and is the source of truth. **Recommended** over `presentation`: as an opaque string it is immune to JSON re-serialization / formatting changes in some HTTP clients (e.g. C#/.NET reformatting date strings) that would otherwise break the JCS signature.
31
+ * @type {string}
32
+ * @memberof VerifyPresentationDto
33
+ */
34
+ 'presentationEncoded'?: string;
29
35
  /**
30
36
  * Params the agent intends to supply when invoking the action. Validated against the action\'s declared `executionParams` shape and exposed to CEL rules as `executionParams.<field>`.
31
37
  * @type {object}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -30,7 +30,7 @@ import type { IdentityEventDecision } from './identity-event-decision';
30
30
  import type { IdentityEventUser } from './identity-event-user';
31
31
  // May contain unused imports in some cases
32
32
  // @ts-ignore
33
- import type { IdentityPayload } from './identity-payload';
33
+ import type { IdentityWebhook } from './identity-webhook';
34
34
  // May contain unused imports in some cases
35
35
  // @ts-ignore
36
36
  import type { OtpFailedEvent } from './otp-failed-event';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "humanos",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Official Humanos API SDK for TypeScript/JavaScript with automatic request signing and webhook verification",
5
5
  "author": "Humanos <tech@humanos.tech>",
6
6
  "main": "dist/index.js",
@@ -1,36 +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 ActionRefDto
21
- */
22
- export interface ActionRefDto {
23
- /**
24
- * The identifier of a public action version
25
- * @type {string}
26
- * @memberof ActionRefDto
27
- */
28
- 'actionUrn': string;
29
- /**
30
- * Issuer-pinned values for the action\'s declared userParams
31
- * @type {object}
32
- * @memberof ActionRefDto
33
- */
34
- 'userParams': object;
35
- }
36
-
@@ -1,36 +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 ConstraintsDto
21
- */
22
- export interface ConstraintsDto {
23
- /**
24
- * The identifier of a public schema version
25
- * @type {string}
26
- * @memberof ConstraintsDto
27
- */
28
- 'schemaUrn': string;
29
- /**
30
- * The constraints for the credential
31
- * @type {object}
32
- * @memberof ConstraintsDto
33
- */
34
- 'constants': object;
35
- }
36
-
@@ -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 CreatePresentation400Response
21
- */
22
- export interface CreatePresentation400Response {
23
- /**
24
- *
25
- * @type {number}
26
- * @memberof CreatePresentation400Response
27
- */
28
- 'statusCode'?: number;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof CreatePresentation400Response
33
- */
34
- 'message'?: string;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof CreatePresentation400Response
39
- */
40
- 'error'?: string;
41
- }
42
-