humanos 1.0.5 → 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 (149) hide show
  1. package/dist/index.d.mts +292 -178
  2. package/dist/index.d.ts +292 -178
  3. package/dist/index.js +23 -18
  4. package/dist/index.mjs +22 -18
  5. package/generated/.openapi-generator/FILES +4 -1
  6. package/generated/api/actions-api.ts +1 -1
  7. package/generated/api/activity-api.ts +1 -1
  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 +5 -5
  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 +1 -1
  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.ts +1 -1
  35. package/generated/models/credential-dto.ts +1 -1
  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 +4 -1
  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 +1 -1
  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/credential-dto-data-inner.ts +0 -26
  118. package/generated/models/generate400-response.ts +0 -42
  119. package/generated/models/get-credential404-response.ts +0 -42
  120. package/generated/models/get-evidence404-response.ts +0 -42
  121. package/generated/models/get-request-detail404-response.ts +0 -42
  122. package/generated/models/get-subject400-response.ts +0 -42
  123. package/generated/models/get-subject404-response.ts +0 -42
  124. package/generated/models/identity-payload.ts +0 -84
  125. package/generated/models/json-value.ts +0 -27
  126. package/generated/models/presentation-receipt-entity.ts +0 -42
  127. package/generated/models/resend-otp403-response.ts +0 -42
  128. package/generated/models/revoke-credential400-response.ts +0 -42
  129. package/generated/models/revoke-credential409-response.ts +0 -42
  130. package/generated/models/revoke-receipt-entity.ts +0 -42
  131. package/generated/models/schema-entity.ts +0 -57
  132. package/generated/models/schema-list-entity.ts +0 -39
  133. package/generated/models/schema-query.ts +0 -48
  134. package/generated/models/schema-response-entity.ts +0 -45
  135. package/generated/models/schema-version-detail-entity.ts +0 -72
  136. package/generated/models/schema-version-list-entity.ts +0 -39
  137. package/generated/models/schema-version-response-entity.ts +0 -54
  138. package/generated/models/schema-version-summary-entity.ts +0 -48
  139. package/generated/models/subject-contact-entity.ts +0 -42
  140. package/generated/models/verify-receipt-entity.ts +0 -42
  141. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint-constraint-schema.ts +0 -44
  142. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint.ts +0 -41
  143. package/generated/models/w3-cverifiable-credential-evidences-inner.ts +0 -42
  144. package/generated/models/w3-cverifiable-credential-valid-until.ts +0 -24
  145. package/generated/models/webhook-event-type-credential.ts +0 -30
  146. package/generated/models/webhook-event-type-identity.ts +0 -30
  147. package/generated/models/webhook-event-type-otpfailed.ts +0 -30
  148. package/generated/models/webhook-event-type-test.ts +0 -30
  149. package/generated/models/webhook-event-type.ts +0 -33
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import axios__default, { AxiosInstance, RawAxiosRequestConfig, AxiosPromise, Int
3
3
 
4
4
  /**
5
5
  * Humanos API
6
- * Humanos API
6
+ * Humanos App Backend API
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  *
@@ -95,7 +95,7 @@ declare class Configuration {
95
95
 
96
96
  /**
97
97
  * Humanos API
98
- * Humanos API
98
+ * Humanos App Backend API
99
99
  *
100
100
  * The version of the OpenAPI document: 1.0
101
101
  *
@@ -128,7 +128,7 @@ declare class BaseAPI {
128
128
 
129
129
  /**
130
130
  * Humanos API
131
- * Humanos API
131
+ * Humanos App Backend API
132
132
  *
133
133
  * The version of the OpenAPI document: 1.0
134
134
  *
@@ -159,7 +159,7 @@ interface ActionDto {
159
159
 
160
160
  /**
161
161
  * Humanos API
162
- * Humanos API
162
+ * Humanos App Backend API
163
163
  *
164
164
  * The version of the OpenAPI document: 1.0
165
165
  *
@@ -202,7 +202,7 @@ interface ActionVersionSummaryEntity {
202
202
 
203
203
  /**
204
204
  * Humanos API
205
- * Humanos API
205
+ * Humanos App Backend API
206
206
  *
207
207
  * The version of the OpenAPI document: 1.0
208
208
  *
@@ -252,7 +252,7 @@ interface ActionEntity {
252
252
 
253
253
  /**
254
254
  * Humanos API
255
- * Humanos API
255
+ * Humanos App Backend API
256
256
  *
257
257
  * The version of the OpenAPI document: 1.0
258
258
  *
@@ -284,7 +284,7 @@ interface ActionListEntity {
284
284
 
285
285
  /**
286
286
  * Humanos API
287
- * Humanos API
287
+ * Humanos App Backend API
288
288
  *
289
289
  * The version of the OpenAPI document: 1.0
290
290
  *
@@ -327,7 +327,7 @@ interface ActionQuery {
327
327
 
328
328
  /**
329
329
  * Humanos API
330
- * Humanos API
330
+ * Humanos App Backend API
331
331
  *
332
332
  * The version of the OpenAPI document: 1.0
333
333
  *
@@ -394,7 +394,7 @@ interface ActionVersionDetailEntity {
394
394
 
395
395
  /**
396
396
  * Humanos API
397
- * Humanos API
397
+ * Humanos App Backend API
398
398
  *
399
399
  * The version of the OpenAPI document: 1.0
400
400
  *
@@ -426,7 +426,7 @@ interface ActionVersionListEntity {
426
426
 
427
427
  /**
428
428
  * Humanos API
429
- * Humanos API
429
+ * Humanos App Backend API
430
430
  *
431
431
  * The version of the OpenAPI document: 1.0
432
432
  *
@@ -508,7 +508,7 @@ type ActivityEntityTypeEnum = typeof ActivityEntityTypeEnum[keyof typeof Activit
508
508
 
509
509
  /**
510
510
  * Humanos API
511
- * Humanos API
511
+ * Humanos App Backend API
512
512
  *
513
513
  * The version of the OpenAPI document: 1.0
514
514
  *
@@ -540,7 +540,7 @@ interface ActivitiesEntity {
540
540
 
541
541
  /**
542
542
  * Humanos API
543
- * Humanos API
543
+ * Humanos App Backend API
544
544
  *
545
545
  * The version of the OpenAPI document: 1.0
546
546
  *
@@ -628,7 +628,7 @@ type ActivityQueryTypeEnum = typeof ActivityQueryTypeEnum[keyof typeof ActivityQ
628
628
 
629
629
  /**
630
630
  * Humanos API
631
- * Humanos API
631
+ * Humanos App Backend API
632
632
  *
633
633
  * The version of the OpenAPI document: 1.0
634
634
  *
@@ -659,7 +659,7 @@ interface CONSENT {
659
659
 
660
660
  /**
661
661
  * Humanos API
662
- * Humanos API
662
+ * Humanos App Backend API
663
663
  *
664
664
  * The version of the OpenAPI document: 1.0
665
665
  *
@@ -690,7 +690,7 @@ interface ContactEntity {
690
690
 
691
691
  /**
692
692
  * Humanos API
693
- * Humanos API
693
+ * Humanos App Backend API
694
694
  *
695
695
  * The version of the OpenAPI document: 1.0
696
696
  *
@@ -715,7 +715,7 @@ interface CreatePresentationDto {
715
715
 
716
716
  /**
717
717
  * Humanos API
718
- * Humanos API
718
+ * Humanos App Backend API
719
719
  *
720
720
  * The version of the OpenAPI document: 1.0
721
721
  *
@@ -842,7 +842,7 @@ interface IdentityDto {
842
842
 
843
843
  /**
844
844
  * Humanos API
845
- * Humanos API
845
+ * Humanos App Backend API
846
846
  *
847
847
  * The version of the OpenAPI document: 1.0
848
848
  *
@@ -886,7 +886,7 @@ interface CreateSubjectDto {
886
886
 
887
887
  /**
888
888
  * Humanos API
889
- * Humanos API
889
+ * Humanos App Backend API
890
890
  *
891
891
  * The version of the OpenAPI document: 1.0
892
892
  *
@@ -923,7 +923,7 @@ interface PartialSubjectEntity {
923
923
 
924
924
  /**
925
925
  * Humanos API
926
- * Humanos API
926
+ * Humanos App Backend API
927
927
  *
928
928
  * The version of the OpenAPI document: 1.0
929
929
  *
@@ -972,7 +972,7 @@ type CreateSubjectEntityStatusEnum = typeof CreateSubjectEntityStatusEnum[keyof
972
972
 
973
973
  /**
974
974
  * Humanos API
975
- * Humanos API
975
+ * Humanos App Backend API
976
976
  *
977
977
  * The version of the OpenAPI document: 1.0
978
978
  *
@@ -991,7 +991,7 @@ type CredentialDtoData = CONSENT | string;
991
991
 
992
992
  /**
993
993
  * Humanos API
994
- * Humanos API
994
+ * Humanos App Backend API
995
995
  *
996
996
  * The version of the OpenAPI document: 1.0
997
997
  *
@@ -1068,7 +1068,7 @@ type CredentialPlacementDtoTypeEnum = typeof CredentialPlacementDtoTypeEnum[keyo
1068
1068
 
1069
1069
  /**
1070
1070
  * Humanos API
1071
- * Humanos API
1071
+ * Humanos App Backend API
1072
1072
  *
1073
1073
  * The version of the OpenAPI document: 1.0
1074
1074
  *
@@ -1155,7 +1155,7 @@ type CredentialDtoTypeEnum = typeof CredentialDtoTypeEnum[keyof typeof Credentia
1155
1155
 
1156
1156
  /**
1157
1157
  * Humanos API
1158
- * Humanos API
1158
+ * Humanos App Backend API
1159
1159
  *
1160
1160
  * The version of the OpenAPI document: 1.0
1161
1161
  *
@@ -1237,7 +1237,7 @@ type CredentialEntityStatusEnum = typeof CredentialEntityStatusEnum[keyof typeof
1237
1237
 
1238
1238
  /**
1239
1239
  * Humanos API
1240
- * Humanos API
1240
+ * Humanos App Backend API
1241
1241
  *
1242
1242
  * The version of the OpenAPI document: 1.0
1243
1243
  *
@@ -1259,7 +1259,7 @@ type DeliveryActionType = typeof DeliveryActionType[keyof typeof DeliveryActionT
1259
1259
 
1260
1260
  /**
1261
1261
  * Humanos API
1262
- * Humanos API
1262
+ * Humanos App Backend API
1263
1263
  *
1264
1264
  * The version of the OpenAPI document: 1.0
1265
1265
  *
@@ -1291,7 +1291,7 @@ interface CredentialEventDecision {
1291
1291
 
1292
1292
  /**
1293
1293
  * Humanos API
1294
- * Humanos API
1294
+ * Humanos App Backend API
1295
1295
  *
1296
1296
  * The version of the OpenAPI document: 1.0
1297
1297
  *
@@ -1328,7 +1328,7 @@ interface CredentialEventUser {
1328
1328
 
1329
1329
  /**
1330
1330
  * Humanos API
1331
- * Humanos API
1331
+ * Humanos App Backend API
1332
1332
  *
1333
1333
  * The version of the OpenAPI document: 1.0
1334
1334
  *
@@ -1401,7 +1401,7 @@ type CredentialEventEventTypeEnum = typeof CredentialEventEventTypeEnum[keyof ty
1401
1401
 
1402
1402
  /**
1403
1403
  * Humanos API
1404
- * Humanos API
1404
+ * Humanos App Backend API
1405
1405
  *
1406
1406
  * The version of the OpenAPI document: 1.0
1407
1407
  *
@@ -1427,7 +1427,7 @@ type CredentialStatus = typeof CredentialStatus[keyof typeof CredentialStatus];
1427
1427
 
1428
1428
  /**
1429
1429
  * Humanos API
1430
- * Humanos API
1430
+ * Humanos App Backend API
1431
1431
  *
1432
1432
  * The version of the OpenAPI document: 1.0
1433
1433
  *
@@ -1464,7 +1464,7 @@ interface CredentialsDetail404Response {
1464
1464
 
1465
1465
  /**
1466
1466
  * Humanos API
1467
- * Humanos API
1467
+ * Humanos App Backend API
1468
1468
  *
1469
1469
  * The version of the OpenAPI document: 1.0
1470
1470
  *
@@ -1501,7 +1501,7 @@ interface CredentialsEvidence404Response {
1501
1501
 
1502
1502
  /**
1503
1503
  * Humanos API
1504
- * Humanos API
1504
+ * Humanos App Backend API
1505
1505
  *
1506
1506
  * The version of the OpenAPI document: 1.0
1507
1507
  *
@@ -1538,7 +1538,7 @@ interface CredentialsIssueVP400Response {
1538
1538
 
1539
1539
  /**
1540
1540
  * Humanos API
1541
- * Humanos API
1541
+ * Humanos App Backend API
1542
1542
  *
1543
1543
  * The version of the OpenAPI document: 1.0
1544
1544
  *
@@ -1575,7 +1575,7 @@ interface CredentialsIssueVP403Response {
1575
1575
 
1576
1576
  /**
1577
1577
  * Humanos API
1578
- * Humanos API
1578
+ * Humanos App Backend API
1579
1579
  *
1580
1580
  * The version of the OpenAPI document: 1.0
1581
1581
  *
@@ -1612,7 +1612,7 @@ interface CredentialsIssueVP404Response {
1612
1612
 
1613
1613
  /**
1614
1614
  * Humanos API
1615
- * Humanos API
1615
+ * Humanos App Backend API
1616
1616
  *
1617
1617
  * The version of the OpenAPI document: 1.0
1618
1618
  *
@@ -1649,7 +1649,7 @@ interface CredentialsRevoke400Response {
1649
1649
 
1650
1650
  /**
1651
1651
  * Humanos API
1652
- * Humanos API
1652
+ * Humanos App Backend API
1653
1653
  *
1654
1654
  * The version of the OpenAPI document: 1.0
1655
1655
  *
@@ -1686,7 +1686,7 @@ interface CredentialsRevoke409Response {
1686
1686
 
1687
1687
  /**
1688
1688
  * Humanos API
1689
- * Humanos API
1689
+ * Humanos App Backend API
1690
1690
  *
1691
1691
  * The version of the OpenAPI document: 1.0
1692
1692
  *
@@ -1729,7 +1729,7 @@ interface VerificationMethodEntity {
1729
1729
 
1730
1730
  /**
1731
1731
  * Humanos API
1732
- * Humanos API
1732
+ * Humanos App Backend API
1733
1733
  *
1734
1734
  * The version of the OpenAPI document: 1.0
1735
1735
  *
@@ -1785,7 +1785,7 @@ interface DidDocumentEntity {
1785
1785
 
1786
1786
  /**
1787
1787
  * Humanos API
1788
- * Humanos API
1788
+ * Humanos App Backend API
1789
1789
  *
1790
1790
  * The version of the OpenAPI document: 1.0
1791
1791
  *
@@ -1823,7 +1823,7 @@ interface Evidence {
1823
1823
 
1824
1824
  /**
1825
1825
  * Humanos API
1826
- * Humanos API
1826
+ * Humanos App Backend API
1827
1827
  *
1828
1828
  * The version of the OpenAPI document: 1.0
1829
1829
  *
@@ -1860,7 +1860,88 @@ interface GenerateCredentialEntity {
1860
1860
 
1861
1861
  /**
1862
1862
  * Humanos API
1863
+ * Humanos App Backend API
1864
+ *
1865
+ * The version of the OpenAPI document: 1.0
1866
+ *
1867
+ *
1868
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1869
+ * https://openapi-generator.tech
1870
+ * Do not edit the class manually.
1871
+ */
1872
+ /**
1873
+ *
1874
+ * @export
1875
+ * @interface GenerateRequestIFrameDto
1876
+ */
1877
+ interface GenerateRequestIFrameDto {
1878
+ /**
1879
+ * Base64-encoded P-256 SPKI public key to pre-register for postMessage payload encryption.
1880
+ * @type {string}
1881
+ * @memberof GenerateRequestIFrameDto
1882
+ */
1883
+ 'pubKey': string;
1884
+ }
1885
+
1886
+ /**
1863
1887
  * Humanos API
1888
+ * Humanos App Backend API
1889
+ *
1890
+ * The version of the OpenAPI document: 1.0
1891
+ *
1892
+ *
1893
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1894
+ * https://openapi-generator.tech
1895
+ * Do not edit the class manually.
1896
+ */
1897
+ /**
1898
+ *
1899
+ * @export
1900
+ * @interface GenerateRequestUserDto
1901
+ */
1902
+ interface GenerateRequestUserDto {
1903
+ /**
1904
+ * Contact email or phone number
1905
+ * @type {string}
1906
+ * @memberof GenerateRequestUserDto
1907
+ */
1908
+ 'contact': string;
1909
+ /**
1910
+ * Secondary contact email or phone number. When present, first contact will receive the OTP code and the secondary contact will receive the link to complete the request.
1911
+ * @type {string}
1912
+ * @memberof GenerateRequestUserDto
1913
+ */
1914
+ 'secondaryContact'?: string;
1915
+ /**
1916
+ * Known document ID of the user, expected to be returned by the KYC verification
1917
+ * @type {string}
1918
+ * @memberof GenerateRequestUserDto
1919
+ */
1920
+ 'docId'?: string;
1921
+ /**
1922
+ * Language for OTP notifications. Defaults to the contact phone nationality, or ENG.
1923
+ * @type {string}
1924
+ * @memberof GenerateRequestUserDto
1925
+ */
1926
+ 'language'?: GenerateRequestUserDtoLanguageEnum;
1927
+ /**
1928
+ * Signer quality for this request. Free text; if omitted for an existing member, the member quality is propagated.
1929
+ * @type {string}
1930
+ * @memberof GenerateRequestUserDto
1931
+ */
1932
+ 'signerQuality'?: string;
1933
+ }
1934
+ declare const GenerateRequestUserDtoLanguageEnum: {
1935
+ readonly Eng: "ENG";
1936
+ readonly Prt: "PRT";
1937
+ readonly Spa: "SPA";
1938
+ readonly Fra: "FRA";
1939
+ };
1940
+ type GenerateRequestUserDtoLanguageEnum = typeof GenerateRequestUserDtoLanguageEnum[keyof typeof GenerateRequestUserDtoLanguageEnum];
1941
+
1942
+ /**
1943
+ * Humanos API
1944
+ * Humanos App Backend API
1864
1945
  *
1865
1946
  * The version of the OpenAPI document: 1.0
1866
1947
  *
@@ -1883,11 +1964,17 @@ interface GenerateRequestDto {
1883
1964
  */
1884
1965
  'name'?: string;
1885
1966
  /**
1886
- * Array of contact emails or phone numbers
1887
- * @type {Array<string>}
1967
+ * Array of users to be included in the request
1968
+ * @type {Array<GenerateRequestUserDto>}
1888
1969
  * @memberof GenerateRequestDto
1889
1970
  */
1890
- 'contacts': Array<string>;
1971
+ 'users': Array<GenerateRequestUserDto>;
1972
+ /**
1973
+ * IFrame configuration for the request
1974
+ * @type {GenerateRequestIFrameDto}
1975
+ * @memberof GenerateRequestDto
1976
+ */
1977
+ 'iframe'?: GenerateRequestIFrameDto;
1891
1978
  /**
1892
1979
  * Security level for the request
1893
1980
  * @type {string}
@@ -1912,42 +1999,18 @@ interface GenerateRequestDto {
1912
1999
  * @memberof GenerateRequestDto
1913
2000
  */
1914
2001
  'credentials'?: Array<CredentialDto>;
1915
- /**
1916
- * What language to use when sending notifications to the user
1917
- * @type {string}
1918
- * @memberof GenerateRequestDto
1919
- */
1920
- 'language'?: string;
1921
- /**
1922
- * URL to redirect the subject after completing the request
1923
- * @type {string}
1924
- * @memberof GenerateRequestDto
1925
- */
1926
- 'redirectUrl'?: string;
1927
2002
  /**
1928
2003
  * Internal identifier for the request
1929
2004
  * @type {string}
1930
2005
  * @memberof GenerateRequestDto
1931
2006
  */
1932
2007
  'internalId'?: string;
1933
- /**
1934
- * Base64-encoded P-256 SPKI public key to pre-register for postMessage payload encryption.
1935
- * @type {string}
1936
- * @memberof GenerateRequestDto
1937
- */
1938
- 'pubKey'?: string;
1939
2008
  /**
1940
2009
  * Grants 3 types of access to the request: 1. READ access to request detail, credentials, and corresponding evidences. 2. Allows to create Verifiable Presentations (VPs) from mandates associated with this request 3. Allows to verify Verifiable Presentations (VPs) from mandates associated with this request By default, the requester DID are automatically appended to this list.
1941
2010
  * @type {Array<string>}
1942
2011
  * @memberof GenerateRequestDto
1943
2012
  */
1944
2013
  'authorizedDIDs'?: Array<string>;
1945
- /**
1946
- * List of known document IDs of the users This will force a KYC verification for each user if none of its Humanos identities match the document ID Will make sure the received identity from the KYC verification matches the document ID, and update the user\'s Humanos identities if needed
1947
- * @type {Array<string>}
1948
- * @memberof GenerateRequestDto
1949
- */
1950
- 'expectedDocIds'?: Array<string>;
1951
2014
  }
1952
2015
  declare const GenerateRequestDtoSecurityLevelEnum: {
1953
2016
  readonly Contact: "CONTACT";
@@ -1959,7 +2022,7 @@ type GenerateRequestDtoSecurityLevelEnum = typeof GenerateRequestDtoSecurityLeve
1959
2022
 
1960
2023
  /**
1961
2024
  * Humanos API
1962
- * Humanos API
2025
+ * Humanos App Backend API
1963
2026
  *
1964
2027
  * The version of the OpenAPI document: 1.0
1965
2028
  *
@@ -1987,11 +2050,11 @@ interface GenerateSubjectEntity {
1987
2050
  */
1988
2051
  'id': string;
1989
2052
  /**
1990
- * Code for the subject-OTP link. Only present if the issuer is configured to not send the OTP.
2053
+ * Secondary contact (phone or email) used in 2FA mode to receive the signing link.
1991
2054
  * @type {string}
1992
2055
  * @memberof GenerateSubjectEntity
1993
2056
  */
1994
- 'code'?: string;
2057
+ 'secondaryContact'?: string;
1995
2058
  /**
1996
2059
  * Link to the subject-OTP link. Only present if the issuer is configured to not send the OTP.
1997
2060
  * @type {string}
@@ -2002,7 +2065,7 @@ interface GenerateSubjectEntity {
2002
2065
 
2003
2066
  /**
2004
2067
  * Humanos API
2005
- * Humanos API
2068
+ * Humanos App Backend API
2006
2069
  *
2007
2070
  * The version of the OpenAPI document: 1.0
2008
2071
  *
@@ -2040,7 +2103,7 @@ interface GenerateRequestEntity {
2040
2103
 
2041
2104
  /**
2042
2105
  * Humanos API
2043
- * Humanos API
2106
+ * Humanos App Backend API
2044
2107
  *
2045
2108
  * The version of the OpenAPI document: 1.0
2046
2109
  *
@@ -2091,14 +2154,13 @@ declare const ResourceMinimalEntityTypeEnum: {
2091
2154
  readonly Form: "FORM";
2092
2155
  readonly Document: "DOCUMENT";
2093
2156
  readonly Json: "JSON";
2094
- readonly Payment: "PAYMENT";
2095
2157
  readonly Policy: "POLICY";
2096
2158
  };
2097
2159
  type ResourceMinimalEntityTypeEnum = typeof ResourceMinimalEntityTypeEnum[keyof typeof ResourceMinimalEntityTypeEnum];
2098
2160
 
2099
2161
  /**
2100
2162
  * Humanos API
2101
- * Humanos API
2163
+ * Humanos App Backend API
2102
2164
  *
2103
2165
  * The version of the OpenAPI document: 1.0
2104
2166
  *
@@ -2154,7 +2216,7 @@ interface GroupEntity {
2154
2216
 
2155
2217
  /**
2156
2218
  * Humanos API
2157
- * Humanos API
2219
+ * Humanos App Backend API
2158
2220
  *
2159
2221
  * The version of the OpenAPI document: 1.0
2160
2222
  *
@@ -2186,7 +2248,7 @@ interface GroupsEntity {
2186
2248
 
2187
2249
  /**
2188
2250
  * Humanos API
2189
- * Humanos API
2251
+ * Humanos App Backend API
2190
2252
  *
2191
2253
  * The version of the OpenAPI document: 1.0
2192
2254
  *
@@ -2207,30 +2269,12 @@ interface IdentityEventDecision {
2207
2269
  * @memberof IdentityEventDecision
2208
2270
  */
2209
2271
  'success': boolean;
2210
- /**
2211
- *
2212
- * @type {boolean}
2213
- * @memberof IdentityEventDecision
2214
- */
2215
- 'isFraud': boolean;
2216
- /**
2217
- *
2218
- * @type {number}
2219
- * @memberof IdentityEventDecision
2220
- */
2221
- 'riskScore'?: number;
2222
2272
  /**
2223
2273
  *
2224
2274
  * @type {string}
2225
2275
  * @memberof IdentityEventDecision
2226
2276
  */
2227
2277
  'message'?: string;
2228
- /**
2229
- *
2230
- * @type {string}
2231
- * @memberof IdentityEventDecision
2232
- */
2233
- 'outcome'?: string;
2234
2278
  /**
2235
2279
  *
2236
2280
  * @type {string}
@@ -2241,7 +2285,7 @@ interface IdentityEventDecision {
2241
2285
 
2242
2286
  /**
2243
2287
  * Humanos API
2244
- * Humanos API
2288
+ * Humanos App Backend API
2245
2289
  *
2246
2290
  * The version of the OpenAPI document: 1.0
2247
2291
  *
@@ -2278,7 +2322,26 @@ interface IdentityEventUser {
2278
2322
 
2279
2323
  /**
2280
2324
  * Humanos API
2325
+ * Humanos App Backend API
2326
+ *
2327
+ * The version of the OpenAPI document: 1.0
2328
+ *
2329
+ *
2330
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2331
+ * https://openapi-generator.tech
2332
+ * Do not edit the class manually.
2333
+ */
2334
+ /**
2335
+ *
2336
+ * @export
2337
+ * @interface IdentityWebhookIssueDate
2338
+ */
2339
+ interface IdentityWebhookIssueDate {
2340
+ }
2341
+
2342
+ /**
2281
2343
  * Humanos API
2344
+ * Humanos App Backend API
2282
2345
  *
2283
2346
  * The version of the OpenAPI document: 1.0
2284
2347
  *
@@ -2287,77 +2350,108 @@ interface IdentityEventUser {
2287
2350
  * https://openapi-generator.tech
2288
2351
  * Do not edit the class manually.
2289
2352
  */
2353
+
2290
2354
  /**
2291
2355
  *
2292
2356
  * @export
2293
- * @interface IdentityPayload
2357
+ * @interface IdentityWebhook
2294
2358
  */
2295
- interface IdentityPayload {
2359
+ interface IdentityWebhook {
2296
2360
  /**
2297
2361
  *
2298
2362
  * @type {string}
2299
- * @memberof IdentityPayload
2363
+ * @memberof IdentityWebhook
2300
2364
  */
2301
- 'fullName': string;
2365
+ 'nationality'?: string;
2302
2366
  /**
2303
2367
  *
2304
2368
  * @type {string}
2305
- * @memberof IdentityPayload
2369
+ * @memberof IdentityWebhook
2306
2370
  */
2307
- 'gender': string;
2371
+ 'placeOfBirth'?: string;
2372
+ /**
2373
+ *
2374
+ * @type {Array<string>}
2375
+ * @memberof IdentityWebhook
2376
+ */
2377
+ 'addresses'?: Array<string>;
2378
+ /**
2379
+ *
2380
+ * @type {number}
2381
+ * @memberof IdentityWebhook
2382
+ */
2383
+ 'height'?: number;
2384
+ /**
2385
+ *
2386
+ * @type {number}
2387
+ * @memberof IdentityWebhook
2388
+ */
2389
+ 'weight'?: number;
2308
2390
  /**
2309
2391
  *
2310
2392
  * @type {string}
2311
- * @memberof IdentityPayload
2393
+ * @memberof IdentityWebhook
2312
2394
  */
2313
- 'birth': string;
2395
+ 'documentType'?: string;
2396
+ /**
2397
+ *
2398
+ * @type {IdentityWebhookIssueDate}
2399
+ * @memberof IdentityWebhook
2400
+ */
2401
+ 'issueDate'?: IdentityWebhookIssueDate;
2402
+ /**
2403
+ *
2404
+ * @type {IdentityWebhookIssueDate}
2405
+ * @memberof IdentityWebhook
2406
+ */
2407
+ 'expiresAt'?: IdentityWebhookIssueDate;
2314
2408
  /**
2315
2409
  *
2316
2410
  * @type {string}
2317
- * @memberof IdentityPayload
2411
+ * @memberof IdentityWebhook
2318
2412
  */
2319
- 'docId': string;
2413
+ 'placeOfIssue'?: string;
2320
2414
  /**
2321
2415
  *
2322
2416
  * @type {string}
2323
- * @memberof IdentityPayload
2417
+ * @memberof IdentityWebhook
2324
2418
  */
2325
- 'fullDocId': string;
2419
+ 'fullName': string;
2326
2420
  /**
2327
2421
  *
2328
2422
  * @type {string}
2329
- * @memberof IdentityPayload
2423
+ * @memberof IdentityWebhook
2330
2424
  */
2331
- 'expiresAt': string;
2425
+ 'gender'?: string;
2332
2426
  /**
2333
2427
  *
2334
2428
  * @type {string}
2335
- * @memberof IdentityPayload
2429
+ * @memberof IdentityWebhook
2336
2430
  */
2337
- 'issueDate': string;
2431
+ 'birth': string;
2338
2432
  /**
2339
2433
  *
2340
2434
  * @type {string}
2341
- * @memberof IdentityPayload
2435
+ * @memberof IdentityWebhook
2342
2436
  */
2343
- 'placeOfBirth': string;
2437
+ 'docId': string;
2344
2438
  /**
2345
2439
  *
2346
2440
  * @type {string}
2347
- * @memberof IdentityPayload
2441
+ * @memberof IdentityWebhook
2348
2442
  */
2349
- 'documentType': string;
2443
+ 'fullDocId': string;
2350
2444
  /**
2351
2445
  *
2352
2446
  * @type {string}
2353
- * @memberof IdentityPayload
2447
+ * @memberof IdentityWebhook
2354
2448
  */
2355
2449
  'countryAlpha3': string;
2356
2450
  }
2357
2451
 
2358
2452
  /**
2359
2453
  * Humanos API
2360
- * Humanos API
2454
+ * Humanos App Backend API
2361
2455
  *
2362
2456
  * The version of the OpenAPI document: 1.0
2363
2457
  *
@@ -2412,10 +2506,10 @@ interface IdentityEvent {
2412
2506
  'api_version': string;
2413
2507
  /**
2414
2508
  *
2415
- * @type {IdentityPayload}
2509
+ * @type {IdentityWebhook}
2416
2510
  * @memberof IdentityEvent
2417
2511
  */
2418
- 'identity'?: IdentityPayload;
2512
+ 'identity'?: IdentityWebhook;
2419
2513
  /**
2420
2514
  *
2421
2515
  * @type {IdentityEventDecision}
@@ -2430,7 +2524,7 @@ type IdentityEventEventTypeEnum = typeof IdentityEventEventTypeEnum[keyof typeof
2430
2524
 
2431
2525
  /**
2432
2526
  * Humanos API
2433
- * Humanos API
2527
+ * Humanos App Backend API
2434
2528
  *
2435
2529
  * The version of the OpenAPI document: 1.0
2436
2530
  *
@@ -2455,7 +2549,7 @@ interface OrganizationDataEntity {
2455
2549
 
2456
2550
  /**
2457
2551
  * Humanos API
2458
- * Humanos API
2552
+ * Humanos App Backend API
2459
2553
  *
2460
2554
  * The version of the OpenAPI document: 1.0
2461
2555
  *
@@ -2486,7 +2580,7 @@ interface OtpError {
2486
2580
 
2487
2581
  /**
2488
2582
  * Humanos API
2489
- * Humanos API
2583
+ * Humanos App Backend API
2490
2584
  *
2491
2585
  * The version of the OpenAPI document: 1.0
2492
2586
  *
@@ -2518,7 +2612,7 @@ interface OtpFailedEventOtp {
2518
2612
 
2519
2613
  /**
2520
2614
  * Humanos API
2521
- * Humanos API
2615
+ * Humanos App Backend API
2522
2616
  *
2523
2617
  * The version of the OpenAPI document: 1.0
2524
2618
  *
@@ -2585,7 +2679,7 @@ type OtpFailedEventEventTypeEnum = typeof OtpFailedEventEventTypeEnum[keyof type
2585
2679
 
2586
2680
  /**
2587
2681
  * Humanos API
2588
- * Humanos API
2682
+ * Humanos App Backend API
2589
2683
  *
2590
2684
  * The version of the OpenAPI document: 1.0
2591
2685
  *
@@ -2616,7 +2710,7 @@ interface ReceiptEntity {
2616
2710
 
2617
2711
  /**
2618
2712
  * Humanos API
2619
- * Humanos API
2713
+ * Humanos App Backend API
2620
2714
  *
2621
2715
  * The version of the OpenAPI document: 1.0
2622
2716
  *
@@ -2633,11 +2727,17 @@ interface ReceiptEntity {
2633
2727
  */
2634
2728
  interface PresentationResponseEntity {
2635
2729
  /**
2636
- * Signed W3C Verifiable Presentation. Includes @context, type, holder, verifiableCredential[], and proof. Pass this object as `presentation` to POST /credential/verify.
2730
+ * Signed W3C Verifiable Presentation (@context, type, holder, verifiableCredential, proof). Pass it back to POST /credential/verify as `presentation` or, recommended, use `presentationEncoded` below.
2637
2731
  * @type {object}
2638
2732
  * @memberof PresentationResponseEntity
2639
2733
  */
2640
2734
  'presentation': object;
2735
+ /**
2736
+ * 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.
2737
+ * @type {string}
2738
+ * @memberof PresentationResponseEntity
2739
+ */
2740
+ 'presentationEncoded': string;
2641
2741
  /**
2642
2742
  * VP_CREATED receipt issued for this presentation
2643
2743
  * @type {ReceiptEntity}
@@ -2648,7 +2748,7 @@ interface PresentationResponseEntity {
2648
2748
 
2649
2749
  /**
2650
2750
  * Humanos API
2651
- * Humanos API
2751
+ * Humanos App Backend API
2652
2752
  *
2653
2753
  * The version of the OpenAPI document: 1.0
2654
2754
  *
@@ -2712,7 +2812,7 @@ type RequestCredentialEntityStatusEnum = typeof RequestCredentialEntityStatusEnu
2712
2812
 
2713
2813
  /**
2714
2814
  * Humanos API
2715
- * Humanos API
2815
+ * Humanos App Backend API
2716
2816
  *
2717
2817
  * The version of the OpenAPI document: 1.0
2718
2818
  *
@@ -2776,6 +2876,12 @@ interface RequestDetailSubjectEntity {
2776
2876
  * @memberof RequestDetailSubjectEntity
2777
2877
  */
2778
2878
  'kyc'?: string;
2879
+ /**
2880
+ * 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.
2881
+ * @type {string}
2882
+ * @memberof RequestDetailSubjectEntity
2883
+ */
2884
+ 'secondaryContact'?: string;
2779
2885
  }
2780
2886
  declare const RequestDetailSubjectEntityIdentityStatusEnum: {
2781
2887
  readonly None: "NONE";
@@ -2786,7 +2892,7 @@ type RequestDetailSubjectEntityIdentityStatusEnum = typeof RequestDetailSubjectE
2786
2892
 
2787
2893
  /**
2788
2894
  * Humanos API
2789
- * Humanos API
2895
+ * Humanos App Backend API
2790
2896
  *
2791
2897
  * The version of the OpenAPI document: 1.0
2792
2898
  *
@@ -2873,7 +2979,7 @@ type RequestDetailEntitySecurityLevelEnum = typeof RequestDetailEntitySecurityLe
2873
2979
 
2874
2980
  /**
2875
2981
  * Humanos API
2876
- * Humanos API
2982
+ * Humanos App Backend API
2877
2983
  *
2878
2984
  * The version of the OpenAPI document: 1.0
2879
2985
  *
@@ -2918,6 +3024,12 @@ interface RequestSubjectEntity {
2918
3024
  * @memberof RequestSubjectEntity
2919
3025
  */
2920
3026
  'kyc'?: string;
3027
+ /**
3028
+ * 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.
3029
+ * @type {string}
3030
+ * @memberof RequestSubjectEntity
3031
+ */
3032
+ 'secondaryContact'?: string;
2921
3033
  }
2922
3034
  declare const RequestSubjectEntityIdentityStatusEnum: {
2923
3035
  readonly None: "NONE";
@@ -2928,7 +3040,7 @@ type RequestSubjectEntityIdentityStatusEnum = typeof RequestSubjectEntityIdentit
2928
3040
 
2929
3041
  /**
2930
3042
  * Humanos API
2931
- * Humanos API
3043
+ * Humanos App Backend API
2932
3044
  *
2933
3045
  * The version of the OpenAPI document: 1.0
2934
3046
  *
@@ -3015,7 +3127,7 @@ type RequestEntitySecurityLevelEnum = typeof RequestEntitySecurityLevelEnum[keyo
3015
3127
 
3016
3128
  /**
3017
3129
  * Humanos API
3018
- * Humanos API
3130
+ * Humanos App Backend API
3019
3131
  *
3020
3132
  * The version of the OpenAPI document: 1.0
3021
3133
  *
@@ -3089,7 +3201,7 @@ type RequestQuerySecurityLevelEnum = typeof RequestQuerySecurityLevelEnum[keyof
3089
3201
 
3090
3202
  /**
3091
3203
  * Humanos API
3092
- * Humanos API
3204
+ * Humanos App Backend API
3093
3205
  *
3094
3206
  * The version of the OpenAPI document: 1.0
3095
3207
  *
@@ -3126,7 +3238,7 @@ interface RequestsCreate400Response {
3126
3238
 
3127
3239
  /**
3128
3240
  * Humanos API
3129
- * Humanos API
3241
+ * Humanos App Backend API
3130
3242
  *
3131
3243
  * The version of the OpenAPI document: 1.0
3132
3244
  *
@@ -3163,7 +3275,7 @@ interface RequestsDetail404Response {
3163
3275
 
3164
3276
  /**
3165
3277
  * Humanos API
3166
- * Humanos API
3278
+ * Humanos App Backend API
3167
3279
  *
3168
3280
  * The version of the OpenAPI document: 1.0
3169
3281
  *
@@ -3195,7 +3307,7 @@ interface RequestsEntity {
3195
3307
 
3196
3308
  /**
3197
3309
  * Humanos API
3198
- * Humanos API
3310
+ * Humanos App Backend API
3199
3311
  *
3200
3312
  * The version of the OpenAPI document: 1.0
3201
3313
  *
@@ -3232,7 +3344,7 @@ interface RequestsResendOtp403Response {
3232
3344
 
3233
3345
  /**
3234
3346
  * Humanos API
3235
- * Humanos API
3347
+ * Humanos App Backend API
3236
3348
  *
3237
3349
  * The version of the OpenAPI document: 1.0
3238
3350
  *
@@ -3319,14 +3431,13 @@ declare const ResourceEntityTypeEnum: {
3319
3431
  readonly Form: "FORM";
3320
3432
  readonly Document: "DOCUMENT";
3321
3433
  readonly Json: "JSON";
3322
- readonly Payment: "PAYMENT";
3323
3434
  readonly Policy: "POLICY";
3324
3435
  };
3325
3436
  type ResourceEntityTypeEnum = typeof ResourceEntityTypeEnum[keyof typeof ResourceEntityTypeEnum];
3326
3437
 
3327
3438
  /**
3328
3439
  * Humanos API
3329
- * Humanos API
3440
+ * Humanos App Backend API
3330
3441
  *
3331
3442
  * The version of the OpenAPI document: 1.0
3332
3443
  *
@@ -3383,14 +3494,13 @@ declare const ResourceQueryTypesEnum: {
3383
3494
  readonly Form: "FORM";
3384
3495
  readonly Document: "DOCUMENT";
3385
3496
  readonly Json: "JSON";
3386
- readonly Payment: "PAYMENT";
3387
3497
  readonly Policy: "POLICY";
3388
3498
  };
3389
3499
  type ResourceQueryTypesEnum = typeof ResourceQueryTypesEnum[keyof typeof ResourceQueryTypesEnum];
3390
3500
 
3391
3501
  /**
3392
3502
  * Humanos API
3393
- * Humanos API
3503
+ * Humanos App Backend API
3394
3504
  *
3395
3505
  * The version of the OpenAPI document: 1.0
3396
3506
  *
@@ -3422,7 +3532,7 @@ interface ResourcesEntity {
3422
3532
 
3423
3533
  /**
3424
3534
  * Humanos API
3425
- * Humanos API
3535
+ * Humanos App Backend API
3426
3536
  *
3427
3537
  * The version of the OpenAPI document: 1.0
3428
3538
  *
@@ -3447,7 +3557,7 @@ interface RevokeCredentialDto {
3447
3557
 
3448
3558
  /**
3449
3559
  * Humanos API
3450
- * Humanos API
3560
+ * Humanos App Backend API
3451
3561
  *
3452
3562
  * The version of the OpenAPI document: 1.0
3453
3563
  *
@@ -3500,7 +3610,7 @@ type RevokeCredentialEntityStatusEnum = typeof RevokeCredentialEntityStatusEnum[
3500
3610
 
3501
3611
  /**
3502
3612
  * Humanos API
3503
- * Humanos API
3613
+ * Humanos App Backend API
3504
3614
  *
3505
3615
  * The version of the OpenAPI document: 1.0
3506
3616
  *
@@ -3556,7 +3666,7 @@ type SubjectIssuerEntityIdentityStatusEnum = typeof SubjectIssuerEntityIdentityS
3556
3666
 
3557
3667
  /**
3558
3668
  * Humanos API
3559
- * Humanos API
3669
+ * Humanos App Backend API
3560
3670
  *
3561
3671
  * The version of the OpenAPI document: 1.0
3562
3672
  *
@@ -3593,7 +3703,7 @@ interface SubjectQuery {
3593
3703
 
3594
3704
  /**
3595
3705
  * Humanos API
3596
- * Humanos API
3706
+ * Humanos App Backend API
3597
3707
  *
3598
3708
  * The version of the OpenAPI document: 1.0
3599
3709
  *
@@ -3618,7 +3728,7 @@ interface SuccessEntity {
3618
3728
 
3619
3729
  /**
3620
3730
  * Humanos API
3621
- * Humanos API
3731
+ * Humanos App Backend API
3622
3732
  *
3623
3733
  * The version of the OpenAPI document: 1.0
3624
3734
  *
@@ -3685,7 +3795,7 @@ type TestEventEventTypeEnum = typeof TestEventEventTypeEnum[keyof typeof TestEve
3685
3795
 
3686
3796
  /**
3687
3797
  * Humanos API
3688
- * Humanos API
3798
+ * Humanos App Backend API
3689
3799
  *
3690
3800
  * The version of the OpenAPI document: 1.0
3691
3801
  *
@@ -3722,7 +3832,7 @@ interface UserCreate400Response {
3722
3832
 
3723
3833
  /**
3724
3834
  * Humanos API
3725
- * Humanos API
3835
+ * Humanos App Backend API
3726
3836
  *
3727
3837
  * The version of the OpenAPI document: 1.0
3728
3838
  *
@@ -3759,7 +3869,7 @@ interface UserDetail400Response {
3759
3869
 
3760
3870
  /**
3761
3871
  * Humanos API
3762
- * Humanos API
3872
+ * Humanos App Backend API
3763
3873
  *
3764
3874
  * The version of the OpenAPI document: 1.0
3765
3875
  *
@@ -3796,7 +3906,7 @@ interface UserDetail404Response {
3796
3906
 
3797
3907
  /**
3798
3908
  * Humanos API
3799
- * Humanos API
3909
+ * Humanos App Backend API
3800
3910
  *
3801
3911
  * The version of the OpenAPI document: 1.0
3802
3912
  *
@@ -3839,7 +3949,7 @@ type VerifyEvaluationEntityResultEnum = typeof VerifyEvaluationEntityResultEnum[
3839
3949
 
3840
3950
  /**
3841
3951
  * Humanos API
3842
- * Humanos API
3952
+ * Humanos App Backend API
3843
3953
  *
3844
3954
  * The version of the OpenAPI document: 1.0
3845
3955
  *
@@ -3887,7 +3997,7 @@ type VerifyAllowResponseEntityDecisionEnum = typeof VerifyAllowResponseEntityDec
3887
3997
 
3888
3998
  /**
3889
3999
  * Humanos API
3890
- * Humanos API
4000
+ * Humanos App Backend API
3891
4001
  *
3892
4002
  * The version of the OpenAPI document: 1.0
3893
4003
  *
@@ -3953,7 +4063,7 @@ type VerifyDenyResponseEntityDecisionEnum = typeof VerifyDenyResponseEntityDecis
3953
4063
 
3954
4064
  /**
3955
4065
  * Humanos API
3956
- * Humanos API
4066
+ * Humanos App Backend API
3957
4067
  *
3958
4068
  * The version of the OpenAPI document: 1.0
3959
4069
  *
@@ -3969,11 +4079,17 @@ type VerifyDenyResponseEntityDecisionEnum = typeof VerifyDenyResponseEntityDecis
3969
4079
  */
3970
4080
  interface VerifyPresentationDto {
3971
4081
  /**
3972
- * Signed W3C Verifiable Presentation. Includes @context, type, holder, verifiableCredential[], and proof. Pass this object as `presentation` to POST /credential/verify.
4082
+ * 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).
3973
4083
  * @type {object}
3974
4084
  * @memberof VerifyPresentationDto
3975
4085
  */
3976
4086
  'presentation': object;
4087
+ /**
4088
+ * 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.
4089
+ * @type {string}
4090
+ * @memberof VerifyPresentationDto
4091
+ */
4092
+ 'presentationEncoded'?: string;
3977
4093
  /**
3978
4094
  * 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>`.
3979
4095
  * @type {object}
@@ -3984,7 +4100,7 @@ interface VerifyPresentationDto {
3984
4100
 
3985
4101
  /**
3986
4102
  * Humanos API
3987
- * Humanos API
4103
+ * Humanos App Backend API
3988
4104
  *
3989
4105
  * The version of the OpenAPI document: 1.0
3990
4106
  *
@@ -4022,7 +4138,7 @@ interface W3CVerifiableCredentialCredentialSubjectMandateAction {
4022
4138
 
4023
4139
  /**
4024
4140
  * Humanos API
4025
- * Humanos API
4141
+ * Humanos App Backend API
4026
4142
  *
4027
4143
  * The version of the OpenAPI document: 1.0
4028
4144
  *
@@ -4048,7 +4164,7 @@ interface W3CVerifiableCredentialCredentialSubjectMandateContext {
4048
4164
 
4049
4165
  /**
4050
4166
  * Humanos API
4051
- * Humanos API
4167
+ * Humanos App Backend API
4052
4168
  *
4053
4169
  * The version of the OpenAPI document: 1.0
4054
4170
  *
@@ -4067,7 +4183,7 @@ interface W3CVerifiableCredentialCredentialSubjectMandateGrantor {
4067
4183
 
4068
4184
  /**
4069
4185
  * Humanos API
4070
- * Humanos API
4186
+ * Humanos App Backend API
4071
4187
  *
4072
4188
  * The version of the OpenAPI document: 1.0
4073
4189
  *
@@ -4120,7 +4236,7 @@ interface W3CVerifiableCredentialCredentialSubjectMandate {
4120
4236
 
4121
4237
  /**
4122
4238
  * Humanos API
4123
- * Humanos API
4239
+ * Humanos App Backend API
4124
4240
  *
4125
4241
  * The version of the OpenAPI document: 1.0
4126
4242
  *
@@ -4153,7 +4269,7 @@ interface W3CVerifiableCredentialCredentialSubject {
4153
4269
 
4154
4270
  /**
4155
4271
  * Humanos API
4156
- * Humanos API
4272
+ * Humanos App Backend API
4157
4273
  *
4158
4274
  * The version of the OpenAPI document: 1.0
4159
4275
  *
@@ -4209,7 +4325,7 @@ interface W3CVerifiableCredentialProofsInner {
4209
4325
 
4210
4326
  /**
4211
4327
  * Humanos API
4212
- * Humanos API
4328
+ * Humanos App Backend API
4213
4329
  *
4214
4330
  * The version of the OpenAPI document: 1.0
4215
4331
  *
@@ -4284,7 +4400,7 @@ interface W3CVerifiableCredential {
4284
4400
 
4285
4401
  /**
4286
4402
  * Humanos API
4287
- * Humanos API
4403
+ * Humanos App Backend API
4288
4404
  *
4289
4405
  * The version of the OpenAPI document: 1.0
4290
4406
  *
@@ -4699,7 +4815,6 @@ declare const ListTypesEnum: {
4699
4815
  readonly Form: "FORM";
4700
4816
  readonly Document: "DOCUMENT";
4701
4817
  readonly Json: "JSON";
4702
- readonly Payment: "PAYMENT";
4703
4818
  readonly Policy: "POLICY";
4704
4819
  };
4705
4820
  type ListTypesEnum = typeof ListTypesEnum[keyof typeof ListTypesEnum];
@@ -4711,7 +4826,6 @@ declare const WorkflowsTypesEnum: {
4711
4826
  readonly Form: "FORM";
4712
4827
  readonly Document: "DOCUMENT";
4713
4828
  readonly Json: "JSON";
4714
- readonly Payment: "PAYMENT";
4715
4829
  readonly Policy: "POLICY";
4716
4830
  };
4717
4831
  type WorkflowsTypesEnum = typeof WorkflowsTypesEnum[keyof typeof WorkflowsTypesEnum];
@@ -4760,7 +4874,7 @@ declare const CredentialsApiAxiosParamCreator: (configuration?: Configuration) =
4760
4874
  */
4761
4875
  revoke: (credentialId: string, aPIVersion?: string, revokeCredentialDto?: RevokeCredentialDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4762
4876
  /**
4763
- * Evaluate a VP against runtime context. On allow, returns 200 with the signed receipt. On deny, returns 403 with the reason, evaluations, and receipt in the error body. If the mandate has no constraint schema, only signatures, verifier access, and validity are checked.
4877
+ * Evaluate a VP against runtime context. On allow, returns 200 with the signed receipt. On deny, returns 403 with the reason, evaluations, and receipt in the error body. If the mandate has no constraint schema, only signatures, verifier access, and validity are checked. Supply the presentation exactly as returned by POST /credential/vp/:vcId — do not re-serialize or modify it. Pass it as either `presentation` (the signed VP object) or `presentationEncoded` (its base64 string); at least one is required (400 otherwise), and if both are sent `presentationEncoded` wins. `presentationEncoded` is the recommended field: being an opaque string it is immune to JSON re-serialization / formatting changes (e.g. some HTTP clients reformatting date strings) that would otherwise break the signature.
4764
4878
  * @summary Verify VP
4765
4879
  * @param {VerifyPresentationDto} verifyPresentationDto
4766
4880
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -4813,7 +4927,7 @@ declare const CredentialsApiFp: (configuration?: Configuration) => {
4813
4927
  */
4814
4928
  revoke(credentialId: string, aPIVersion?: string, revokeCredentialDto?: RevokeCredentialDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RevokeCredentialEntity>>;
4815
4929
  /**
4816
- * Evaluate a VP against runtime context. On allow, returns 200 with the signed receipt. On deny, returns 403 with the reason, evaluations, and receipt in the error body. If the mandate has no constraint schema, only signatures, verifier access, and validity are checked.
4930
+ * Evaluate a VP against runtime context. On allow, returns 200 with the signed receipt. On deny, returns 403 with the reason, evaluations, and receipt in the error body. If the mandate has no constraint schema, only signatures, verifier access, and validity are checked. Supply the presentation exactly as returned by POST /credential/vp/:vcId — do not re-serialize or modify it. Pass it as either `presentation` (the signed VP object) or `presentationEncoded` (its base64 string); at least one is required (400 otherwise), and if both are sent `presentationEncoded` wins. `presentationEncoded` is the recommended field: being an opaque string it is immune to JSON re-serialization / formatting changes (e.g. some HTTP clients reformatting date strings) that would otherwise break the signature.
4817
4931
  * @summary Verify VP
4818
4932
  * @param {VerifyPresentationDto} verifyPresentationDto
4819
4933
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -4866,7 +4980,7 @@ declare const CredentialsApiFactory: (configuration?: Configuration, basePath?:
4866
4980
  */
4867
4981
  revoke(credentialId: string, aPIVersion?: string, revokeCredentialDto?: RevokeCredentialDto, options?: RawAxiosRequestConfig): AxiosPromise<RevokeCredentialEntity>;
4868
4982
  /**
4869
- * Evaluate a VP against runtime context. On allow, returns 200 with the signed receipt. On deny, returns 403 with the reason, evaluations, and receipt in the error body. If the mandate has no constraint schema, only signatures, verifier access, and validity are checked.
4983
+ * Evaluate a VP against runtime context. On allow, returns 200 with the signed receipt. On deny, returns 403 with the reason, evaluations, and receipt in the error body. If the mandate has no constraint schema, only signatures, verifier access, and validity are checked. Supply the presentation exactly as returned by POST /credential/vp/:vcId — do not re-serialize or modify it. Pass it as either `presentation` (the signed VP object) or `presentationEncoded` (its base64 string); at least one is required (400 otherwise), and if both are sent `presentationEncoded` wins. `presentationEncoded` is the recommended field: being an opaque string it is immune to JSON re-serialization / formatting changes (e.g. some HTTP clients reformatting date strings) that would otherwise break the signature.
4870
4984
  * @summary Verify VP
4871
4985
  * @param {VerifyPresentationDto} verifyPresentationDto
4872
4986
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -4925,7 +5039,7 @@ declare class CredentialsApi extends BaseAPI {
4925
5039
  */
4926
5040
  revoke(credentialId: string, aPIVersion?: string, revokeCredentialDto?: RevokeCredentialDto, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<RevokeCredentialEntity, any, {}>>;
4927
5041
  /**
4928
- * Evaluate a VP against runtime context. On allow, returns 200 with the signed receipt. On deny, returns 403 with the reason, evaluations, and receipt in the error body. If the mandate has no constraint schema, only signatures, verifier access, and validity are checked.
5042
+ * Evaluate a VP against runtime context. On allow, returns 200 with the signed receipt. On deny, returns 403 with the reason, evaluations, and receipt in the error body. If the mandate has no constraint schema, only signatures, verifier access, and validity are checked. Supply the presentation exactly as returned by POST /credential/vp/:vcId — do not re-serialize or modify it. Pass it as either `presentation` (the signed VP object) or `presentationEncoded` (its base64 string); at least one is required (400 otherwise), and if both are sent `presentationEncoded` wins. `presentationEncoded` is the recommended field: being an opaque string it is immune to JSON re-serialization / formatting changes (e.g. some HTTP clients reformatting date strings) that would otherwise break the signature.
4929
5043
  * @summary Verify VP
4930
5044
  * @param {VerifyPresentationDto} verifyPresentationDto
4931
5045
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -5050,7 +5164,7 @@ declare const RequestsApiAxiosParamCreator: (configuration?: Configuration) => {
5050
5164
  */
5051
5165
  list: (pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5052
5166
  /**
5053
- * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5167
+ * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5054
5168
  * @summary Resend OTP
5055
5169
  * @param {string} requestId Unique identifier of the request.
5056
5170
  * @param {string} [contact] Verified contact value (email or phone)
@@ -5113,7 +5227,7 @@ declare const RequestsApiFp: (configuration?: Configuration) => {
5113
5227
  */
5114
5228
  list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestsEntity>>;
5115
5229
  /**
5116
- * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5230
+ * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5117
5231
  * @summary Resend OTP
5118
5232
  * @param {string} requestId Unique identifier of the request.
5119
5233
  * @param {string} [contact] Verified contact value (email or phone)
@@ -5176,7 +5290,7 @@ declare const RequestsApiFactory: (configuration?: Configuration, basePath?: str
5176
5290
  */
5177
5291
  list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity>;
5178
5292
  /**
5179
- * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5293
+ * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5180
5294
  * @summary Resend OTP
5181
5295
  * @param {string} requestId Unique identifier of the request.
5182
5296
  * @param {string} [contact] Verified contact value (email or phone)
@@ -5245,7 +5359,7 @@ declare class RequestsApi extends BaseAPI {
5245
5359
  */
5246
5360
  list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<RequestsEntity, any, {}>>;
5247
5361
  /**
5248
- * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5362
+ * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5249
5363
  * @summary Resend OTP
5250
5364
  * @param {string} requestId Unique identifier of the request.
5251
5365
  * @param {string} [contact] Verified contact value (email or phone)
@@ -5407,7 +5521,7 @@ declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
5407
5521
  */
5408
5522
  identity: (identityEvent: IdentityEvent, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5409
5523
  /**
5410
- * Fired when an OTP delivery to the subject fails. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
5524
+ * Fired when an OTP **SMS** could not be delivered: every eligible SMS provider was tried (synchronously or via carrier delivery reports) and none succeeded. Email OTP failures do not emit this event. Carrier delivery reports are asynchronous and occasionally corrected to \"delivered\" afterwards, so treat this event as *Humanos stopped retrying*, not as a guarantee the SMS never arrived. The safe reaction is to `PATCH` the `otp.resendEndpoint` URL exactly as delivered — a resend issues a fresh code and invalidates the old one, so it is harmless even if the original message did arrive late. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
5411
5525
  * @summary OTP Failed Event
5412
5526
  * @param {OtpFailedEvent} otpFailedEvent
5413
5527
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -5449,7 +5563,7 @@ declare const WebhooksApiFp: (configuration?: Configuration) => {
5449
5563
  */
5450
5564
  identity(identityEvent: IdentityEvent, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5451
5565
  /**
5452
- * Fired when an OTP delivery to the subject fails. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
5566
+ * Fired when an OTP **SMS** could not be delivered: every eligible SMS provider was tried (synchronously or via carrier delivery reports) and none succeeded. Email OTP failures do not emit this event. Carrier delivery reports are asynchronous and occasionally corrected to \"delivered\" afterwards, so treat this event as *Humanos stopped retrying*, not as a guarantee the SMS never arrived. The safe reaction is to `PATCH` the `otp.resendEndpoint` URL exactly as delivered — a resend issues a fresh code and invalidates the old one, so it is harmless even if the original message did arrive late. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
5453
5567
  * @summary OTP Failed Event
5454
5568
  * @param {OtpFailedEvent} otpFailedEvent
5455
5569
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -5491,7 +5605,7 @@ declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: str
5491
5605
  */
5492
5606
  identity(identityEvent: IdentityEvent, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5493
5607
  /**
5494
- * Fired when an OTP delivery to the subject fails. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
5608
+ * Fired when an OTP **SMS** could not be delivered: every eligible SMS provider was tried (synchronously or via carrier delivery reports) and none succeeded. Email OTP failures do not emit this event. Carrier delivery reports are asynchronous and occasionally corrected to \"delivered\" afterwards, so treat this event as *Humanos stopped retrying*, not as a guarantee the SMS never arrived. The safe reaction is to `PATCH` the `otp.resendEndpoint` URL exactly as delivered — a resend issues a fresh code and invalidates the old one, so it is harmless even if the original message did arrive late. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
5495
5609
  * @summary OTP Failed Event
5496
5610
  * @param {OtpFailedEvent} otpFailedEvent
5497
5611
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -5537,7 +5651,7 @@ declare class WebhooksApi extends BaseAPI {
5537
5651
  */
5538
5652
  identity(identityEvent: IdentityEvent, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
5539
5653
  /**
5540
- * Fired when an OTP delivery to the subject fails. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
5654
+ * Fired when an OTP **SMS** could not be delivered: every eligible SMS provider was tried (synchronously or via carrier delivery reports) and none succeeded. Email OTP failures do not emit this event. Carrier delivery reports are asynchronous and occasionally corrected to \"delivered\" afterwards, so treat this event as *Humanos stopped retrying*, not as a guarantee the SMS never arrived. The safe reaction is to `PATCH` the `otp.resendEndpoint` URL exactly as delivered — a resend issues a fresh code and invalidates the old one, so it is harmless even if the original message did arrive late. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
5541
5655
  * @summary OTP Failed Event
5542
5656
  * @param {OtpFailedEvent} otpFailedEvent
5543
5657
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -5559,7 +5673,7 @@ declare class WebhooksApi extends BaseAPI {
5559
5673
  }
5560
5674
 
5561
5675
  /** The API version this SDK release is pinned to (YYYY-MM-DD). */
5562
- declare const API_VERSION = "2026-05-20";
5676
+ declare const API_VERSION = "2026-06-22";
5563
5677
  /** Identifies this SDK's language in request headers. */
5564
5678
  declare const SDK_LANGUAGE = "typescript";
5565
5679
  interface HumanosClientConfig {
@@ -5701,4 +5815,4 @@ declare function processWebhook<T = unknown>(rawBody: string, headers: WebhookHe
5701
5815
  */
5702
5816
  declare function createWebhookHandler<T = unknown>(config: WebhookConfig, handler: (payload: T) => void | Promise<void>): (req: any, res: any) => Promise<void>;
5703
5817
 
5704
- export { API_VERSION, type ActionDto, type ActionEntity, type ActionListEntity, type ActionQuery, type ActionVersionDetailEntity, type ActionVersionListEntity, type ActionVersionSummaryEntity, ActionsApi, ActionsApiAxiosParamCreator, ActionsApiFactory, ActionsApiFp, type ActivitiesEntity, ActivityApi, ActivityApiAxiosParamCreator, ActivityApiFactory, ActivityApiFp, type ActivityEntity, ActivityEntityTypeEnum, type ActivityQuery, ActivityQueryTypeEnum, ApprovalApi, ApprovalApiAxiosParamCreator, ApprovalApiFactory, ApprovalApiFp, type CONSENT, Configuration, type ConfigurationParameters, type ContactEntity, type CreatePresentationDto, type CreateSubjectDto, type CreateSubjectEntity, CreateSubjectEntityStatusEnum, type CredentialDto, type CredentialDtoData, CredentialDtoTypeEnum, type CredentialEntity, CredentialEntityStatusEnum, type CredentialEvent, type CredentialEventDecision, CredentialEventEventTypeEnum, type CredentialEventUser, type CredentialPlacementDto, CredentialPlacementDtoTypeEnum, CredentialStatus, CredentialsApi, CredentialsApiAxiosParamCreator, CredentialsApiFactory, CredentialsApiFp, type CredentialsDetail404Response, type CredentialsEvidence404Response, type CredentialsIssueVP400Response, type CredentialsIssueVP403Response, type CredentialsIssueVP404Response, type CredentialsRevoke400Response, type CredentialsRevoke409Response, DIDApi, DIDApiAxiosParamCreator, DIDApiFactory, DIDApiFp, DeliveryActionType, type DidDocumentEntity, type EncryptedPayload, type Evidence, type GenerateCredentialEntity, type GenerateRequestDto, GenerateRequestDtoSecurityLevelEnum, type GenerateRequestEntity, type GenerateSubjectEntity, type GroupEntity, type GroupsEntity, HumanosClient, type HumanosClientConfig, type IdentityDto, type IdentityEvent, type IdentityEventDecision, IdentityEventEventTypeEnum, type IdentityEventUser, type IdentityPayload, ListSecurityLevelEnum, ListTypeEnum, ListTypesEnum, type OrganizationDataEntity, type OtpError, type OtpFailedEvent, OtpFailedEventEventTypeEnum, type OtpFailedEventOtp, type PartialSubjectEntity, type PresentationResponseEntity, type ReceiptEntity, type RequestCredentialEntity, RequestCredentialEntityStatusEnum, type RequestDetailEntity, RequestDetailEntitySecurityLevelEnum, type RequestDetailSubjectEntity, RequestDetailSubjectEntityIdentityStatusEnum, type RequestEntity, RequestEntitySecurityLevelEnum, type RequestQuery, RequestQuerySecurityLevelEnum, type RequestSubjectEntity, RequestSubjectEntityIdentityStatusEnum, RequestsApi, RequestsApiAxiosParamCreator, RequestsApiFactory, RequestsApiFp, type RequestsCreate400Response, type RequestsDetail404Response, type RequestsEntity, type RequestsResendOtp403Response, type ResourceEntity, ResourceEntityTypeEnum, type ResourceMinimalEntity, ResourceMinimalEntityTypeEnum, type ResourceQuery, ResourceQueryTypesEnum, type ResourcesEntity, type RevokeCredentialDto, type RevokeCredentialEntity, RevokeCredentialEntityStatusEnum, SDK_LANGUAGE, type SubjectIssuerEntity, SubjectIssuerEntityIdentityStatusEnum, type SubjectQuery, type SuccessEntity, type TestEvent, TestEventEventTypeEnum, UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp, type UserCreate400Response, type UserDetail400Response, type UserDetail404Response, type VerificationMethodEntity, type VerifyAllowResponseEntity, VerifyAllowResponseEntityDecisionEnum, type VerifyDenyResponseEntity, VerifyDenyResponseEntityDecisionEnum, type VerifyEvaluationEntity, VerifyEvaluationEntityResultEnum, type VerifyPresentationDto, type W3CVerifiableCredential, type W3CVerifiableCredentialCredentialSubject, type W3CVerifiableCredentialCredentialSubjectMandate, type W3CVerifiableCredentialCredentialSubjectMandateAction, type W3CVerifiableCredentialCredentialSubjectMandateContext, type W3CVerifiableCredentialCredentialSubjectMandateGrantor, type W3CVerifiableCredentialProofsInner, type WebhookCallEvent, type WebhookConfig, type WebhookHeaders, WebhooksApi, WebhooksApiAxiosParamCreator, WebhooksApiFactory, WebhooksApiFp, WorkflowsTypesEnum, applySignatureInterceptor, createHumanosClient, createSignatureInterceptor, createWebhookHandler, decryptWebhookPayload, generateSignature, processWebhook, verifyWebhookSignature };
5818
+ export { API_VERSION, type ActionDto, type ActionEntity, type ActionListEntity, type ActionQuery, type ActionVersionDetailEntity, type ActionVersionListEntity, type ActionVersionSummaryEntity, ActionsApi, ActionsApiAxiosParamCreator, ActionsApiFactory, ActionsApiFp, type ActivitiesEntity, ActivityApi, ActivityApiAxiosParamCreator, ActivityApiFactory, ActivityApiFp, type ActivityEntity, ActivityEntityTypeEnum, type ActivityQuery, ActivityQueryTypeEnum, ApprovalApi, ApprovalApiAxiosParamCreator, ApprovalApiFactory, ApprovalApiFp, type CONSENT, Configuration, type ConfigurationParameters, type ContactEntity, type CreatePresentationDto, type CreateSubjectDto, type CreateSubjectEntity, CreateSubjectEntityStatusEnum, type CredentialDto, type CredentialDtoData, CredentialDtoTypeEnum, type CredentialEntity, CredentialEntityStatusEnum, type CredentialEvent, type CredentialEventDecision, CredentialEventEventTypeEnum, type CredentialEventUser, type CredentialPlacementDto, CredentialPlacementDtoTypeEnum, CredentialStatus, CredentialsApi, CredentialsApiAxiosParamCreator, CredentialsApiFactory, CredentialsApiFp, type CredentialsDetail404Response, type CredentialsEvidence404Response, type CredentialsIssueVP400Response, type CredentialsIssueVP403Response, type CredentialsIssueVP404Response, type CredentialsRevoke400Response, type CredentialsRevoke409Response, DIDApi, DIDApiAxiosParamCreator, DIDApiFactory, DIDApiFp, DeliveryActionType, type DidDocumentEntity, type EncryptedPayload, type Evidence, type GenerateCredentialEntity, type GenerateRequestDto, GenerateRequestDtoSecurityLevelEnum, type GenerateRequestEntity, type GenerateRequestIFrameDto, type GenerateRequestUserDto, GenerateRequestUserDtoLanguageEnum, type GenerateSubjectEntity, type GroupEntity, type GroupsEntity, HumanosClient, type HumanosClientConfig, type IdentityDto, type IdentityEvent, type IdentityEventDecision, IdentityEventEventTypeEnum, type IdentityEventUser, type IdentityWebhook, type IdentityWebhookIssueDate, ListSecurityLevelEnum, ListTypeEnum, ListTypesEnum, type OrganizationDataEntity, type OtpError, type OtpFailedEvent, OtpFailedEventEventTypeEnum, type OtpFailedEventOtp, type PartialSubjectEntity, type PresentationResponseEntity, type ReceiptEntity, type RequestCredentialEntity, RequestCredentialEntityStatusEnum, type RequestDetailEntity, RequestDetailEntitySecurityLevelEnum, type RequestDetailSubjectEntity, RequestDetailSubjectEntityIdentityStatusEnum, type RequestEntity, RequestEntitySecurityLevelEnum, type RequestQuery, RequestQuerySecurityLevelEnum, type RequestSubjectEntity, RequestSubjectEntityIdentityStatusEnum, RequestsApi, RequestsApiAxiosParamCreator, RequestsApiFactory, RequestsApiFp, type RequestsCreate400Response, type RequestsDetail404Response, type RequestsEntity, type RequestsResendOtp403Response, type ResourceEntity, ResourceEntityTypeEnum, type ResourceMinimalEntity, ResourceMinimalEntityTypeEnum, type ResourceQuery, ResourceQueryTypesEnum, type ResourcesEntity, type RevokeCredentialDto, type RevokeCredentialEntity, RevokeCredentialEntityStatusEnum, SDK_LANGUAGE, type SubjectIssuerEntity, SubjectIssuerEntityIdentityStatusEnum, type SubjectQuery, type SuccessEntity, type TestEvent, TestEventEventTypeEnum, UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp, type UserCreate400Response, type UserDetail400Response, type UserDetail404Response, type VerificationMethodEntity, type VerifyAllowResponseEntity, VerifyAllowResponseEntityDecisionEnum, type VerifyDenyResponseEntity, VerifyDenyResponseEntityDecisionEnum, type VerifyEvaluationEntity, VerifyEvaluationEntityResultEnum, type VerifyPresentationDto, type W3CVerifiableCredential, type W3CVerifiableCredentialCredentialSubject, type W3CVerifiableCredentialCredentialSubjectMandate, type W3CVerifiableCredentialCredentialSubjectMandateAction, type W3CVerifiableCredentialCredentialSubjectMandateContext, type W3CVerifiableCredentialCredentialSubjectMandateGrantor, type W3CVerifiableCredentialProofsInner, type WebhookCallEvent, type WebhookConfig, type WebhookHeaders, WebhooksApi, WebhooksApiAxiosParamCreator, WebhooksApiFactory, WebhooksApiFp, WorkflowsTypesEnum, applySignatureInterceptor, createHumanosClient, createSignatureInterceptor, createWebhookHandler, decryptWebhookPayload, generateSignature, processWebhook, verifyWebhookSignature };