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.
- package/dist/index.d.mts +346 -231
- package/dist/index.d.ts +346 -231
- package/dist/index.js +65 -60
- package/dist/index.mjs +64 -60
- package/generated/.openapi-generator/FILES +5 -2
- package/generated/api/actions-api.ts +1 -1
- package/generated/api/activity-api.ts +28 -28
- package/generated/api/approval-api.ts +1 -3
- package/generated/api/credentials-api.ts +5 -5
- package/generated/api/didapi.ts +1 -1
- package/generated/api/requests-api.ts +32 -32
- package/generated/api/user-api.ts +1 -1
- package/generated/api/webhooks-api.ts +5 -5
- package/generated/api.ts +1 -1
- package/generated/base.ts +1 -1
- package/generated/common.ts +1 -1
- package/generated/configuration.ts +1 -1
- package/generated/index.ts +1 -1
- package/generated/models/action-dto.ts +1 -1
- package/generated/models/action-entity.ts +1 -1
- package/generated/models/action-list-entity.ts +1 -1
- package/generated/models/action-query.ts +1 -1
- package/generated/models/action-version-detail-entity.ts +1 -1
- package/generated/models/action-version-list-entity.ts +1 -1
- package/generated/models/action-version-summary-entity.ts +1 -1
- package/generated/models/activities-entity.ts +1 -1
- package/generated/models/activity-entity.ts +1 -1
- package/generated/models/activity-query.ts +13 -13
- package/generated/models/consent.ts +1 -1
- package/generated/models/contact-entity.ts +1 -1
- package/generated/models/create-presentation-dto.ts +1 -1
- package/generated/models/create-subject-dto.ts +1 -1
- package/generated/models/create-subject-entity.ts +1 -1
- package/generated/models/{credential-dto-data-inner.ts → credential-dto-data.ts} +4 -3
- package/generated/models/credential-dto.ts +5 -5
- package/generated/models/credential-entity.ts +1 -1
- package/generated/models/credential-event-decision.ts +1 -1
- package/generated/models/credential-event-user.ts +1 -1
- package/generated/models/credential-event.ts +1 -1
- package/generated/models/credential-placement-dto.ts +1 -1
- package/generated/models/credential-status.ts +1 -1
- package/generated/models/credentials-detail404-response.ts +1 -1
- package/generated/models/credentials-evidence404-response.ts +1 -1
- package/generated/models/credentials-issue-vp400-response.ts +1 -1
- package/generated/models/credentials-issue-vp403-response.ts +1 -1
- package/generated/models/credentials-issue-vp404-response.ts +1 -1
- package/generated/models/credentials-revoke400-response.ts +1 -1
- package/generated/models/credentials-revoke409-response.ts +1 -1
- package/generated/models/delivery-action-type.ts +1 -1
- package/generated/models/did-document-entity.ts +1 -1
- package/generated/models/evidence.ts +1 -1
- package/generated/models/generate-credential-entity.ts +1 -1
- package/generated/models/generate-request-dto.ts +16 -28
- package/generated/models/generate-request-entity.ts +1 -1
- package/generated/models/{otp-failed-event-otp-error.ts → generate-request-iframe-dto.ts} +6 -12
- package/generated/models/generate-request-user-dto.ts +64 -0
- package/generated/models/generate-subject-entity.ts +3 -3
- package/generated/models/group-entity.ts +1 -1
- package/generated/models/groups-entity.ts +1 -1
- package/generated/models/identity-dto.ts +1 -1
- package/generated/models/identity-event-decision.ts +1 -19
- package/generated/models/identity-event-user.ts +1 -1
- package/generated/models/identity-event.ts +4 -4
- package/generated/models/{w3-cverifiable-credential-valid-from.ts → identity-webhook-issue-date.ts} +3 -3
- package/generated/models/identity-webhook.ts +117 -0
- package/generated/models/index.ts +5 -2
- package/generated/models/organization-data-entity.ts +1 -1
- package/generated/models/otp-error.ts +1 -1
- package/generated/models/otp-failed-event-otp.ts +1 -1
- package/generated/models/otp-failed-event.ts +1 -1
- package/generated/models/partial-subject-entity.ts +1 -1
- package/generated/models/presentation-response-entity.ts +8 -2
- package/generated/models/receipt-entity.ts +1 -1
- package/generated/models/request-credential-entity.ts +1 -1
- package/generated/models/request-detail-entity.ts +1 -1
- package/generated/models/request-detail-subject-entity.ts +7 -1
- package/generated/models/request-entity.ts +1 -1
- package/generated/models/request-query.ts +13 -13
- package/generated/models/request-subject-entity.ts +7 -1
- package/generated/models/requests-create400-response.ts +1 -1
- package/generated/models/requests-detail404-response.ts +1 -1
- package/generated/models/requests-entity.ts +1 -1
- package/generated/models/requests-resend-otp403-response.ts +1 -1
- package/generated/models/resource-entity.ts +1 -2
- package/generated/models/resource-minimal-entity.ts +1 -2
- package/generated/models/resource-query.ts +1 -2
- package/generated/models/resources-entity.ts +1 -1
- package/generated/models/revoke-credential-dto.ts +1 -1
- package/generated/models/revoke-credential-entity.ts +1 -1
- package/generated/models/subject-issuer-entity.ts +1 -1
- package/generated/models/subject-query.ts +1 -1
- package/generated/models/success-entity.ts +1 -1
- package/generated/models/test-event.ts +1 -1
- package/generated/models/user-create400-response.ts +1 -1
- package/generated/models/user-detail400-response.ts +1 -1
- package/generated/models/user-detail404-response.ts +1 -1
- package/generated/models/verification-method-entity.ts +1 -1
- package/generated/models/verify-allow-response-entity.ts +1 -1
- package/generated/models/verify-deny-response-entity.ts +1 -1
- package/generated/models/verify-evaluation-entity.ts +1 -1
- package/generated/models/verify-presentation-dto.ts +8 -2
- package/generated/models/w3-cverifiable-credential-credential-subject-mandate-action.ts +1 -1
- package/generated/models/w3-cverifiable-credential-credential-subject-mandate-context.ts +1 -1
- package/generated/models/w3-cverifiable-credential-credential-subject-mandate-grantor.ts +1 -1
- package/generated/models/w3-cverifiable-credential-credential-subject-mandate.ts +1 -1
- package/generated/models/w3-cverifiable-credential-credential-subject.ts +1 -1
- package/generated/models/w3-cverifiable-credential-proofs-inner.ts +1 -1
- package/generated/models/w3-cverifiable-credential.ts +1 -1
- package/generated/models/webhook-call-event.ts +2 -2
- package/package.json +1 -1
- package/generated/models/action-ref-dto.ts +0 -36
- package/generated/models/constraints-dto.ts +0 -36
- package/generated/models/create-presentation400-response.ts +0 -42
- package/generated/models/create-presentation403-response.ts +0 -42
- package/generated/models/create-presentation404-response.ts +0 -42
- package/generated/models/create400-response.ts +0 -42
- package/generated/models/generate400-response.ts +0 -42
- package/generated/models/get-credential404-response.ts +0 -42
- package/generated/models/get-evidence404-response.ts +0 -42
- package/generated/models/get-request-detail404-response.ts +0 -42
- package/generated/models/get-subject400-response.ts +0 -42
- package/generated/models/get-subject404-response.ts +0 -42
- package/generated/models/identity-payload.ts +0 -84
- package/generated/models/json-value.ts +0 -27
- package/generated/models/presentation-receipt-entity.ts +0 -42
- package/generated/models/resend-otp403-response.ts +0 -42
- package/generated/models/revoke-credential400-response.ts +0 -42
- package/generated/models/revoke-credential409-response.ts +0 -42
- package/generated/models/revoke-receipt-entity.ts +0 -42
- package/generated/models/schema-entity.ts +0 -57
- package/generated/models/schema-list-entity.ts +0 -39
- package/generated/models/schema-query.ts +0 -48
- package/generated/models/schema-response-entity.ts +0 -45
- package/generated/models/schema-version-detail-entity.ts +0 -72
- package/generated/models/schema-version-list-entity.ts +0 -39
- package/generated/models/schema-version-response-entity.ts +0 -54
- package/generated/models/schema-version-summary-entity.ts +0 -48
- package/generated/models/subject-contact-entity.ts +0 -42
- package/generated/models/verify-receipt-entity.ts +0 -42
- package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint-constraint-schema.ts +0 -44
- package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint.ts +0 -41
- package/generated/models/w3-cverifiable-credential-evidences-inner.ts +0 -42
- package/generated/models/w3-cverifiable-credential-valid-until.ts +0 -24
- package/generated/models/webhook-event-type-credential.ts +0 -30
- package/generated/models/webhook-event-type-identity.ts +0 -30
- package/generated/models/webhook-event-type-otpfailed.ts +0 -30
- package/generated/models/webhook-event-type-test.ts +0 -30
- package/generated/models/webhook-event-type.ts +0 -33
package/dist/index.d.mts
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
|
*
|
|
@@ -567,6 +567,18 @@ interface ActivityQuery {
|
|
|
567
567
|
* @memberof ActivityQuery
|
|
568
568
|
*/
|
|
569
569
|
'pageSize'?: number;
|
|
570
|
+
/**
|
|
571
|
+
* Filter from date (will be converted to start of day in UTC)
|
|
572
|
+
* @type {string}
|
|
573
|
+
* @memberof ActivityQuery
|
|
574
|
+
*/
|
|
575
|
+
'dateFrom'?: string;
|
|
576
|
+
/**
|
|
577
|
+
* Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
578
|
+
* @type {string}
|
|
579
|
+
* @memberof ActivityQuery
|
|
580
|
+
*/
|
|
581
|
+
'dateTo'?: string;
|
|
570
582
|
/**
|
|
571
583
|
* Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
572
584
|
* @type {Array<string>}
|
|
@@ -597,18 +609,6 @@ interface ActivityQuery {
|
|
|
597
609
|
* @memberof ActivityQuery
|
|
598
610
|
*/
|
|
599
611
|
'subjectDid'?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Filter from date (will be converted to start of day).
|
|
602
|
-
* @type {string}
|
|
603
|
-
* @memberof ActivityQuery
|
|
604
|
-
*/
|
|
605
|
-
'dateFrom'?: string;
|
|
606
|
-
/**
|
|
607
|
-
* Filter to date (will be converted to end of day). Requires dateFrom.
|
|
608
|
-
* @type {string}
|
|
609
|
-
* @memberof ActivityQuery
|
|
610
|
-
*/
|
|
611
|
-
'dateTo'?: string;
|
|
612
612
|
}
|
|
613
613
|
declare const ActivityQueryTypeEnum: {
|
|
614
614
|
readonly RequestCreated: "REQUEST_CREATED";
|
|
@@ -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
|
*
|
|
@@ -983,14 +983,15 @@ type CreateSubjectEntityStatusEnum = typeof CreateSubjectEntityStatusEnum[keyof
|
|
|
983
983
|
*/
|
|
984
984
|
|
|
985
985
|
/**
|
|
986
|
-
* @type
|
|
986
|
+
* @type CredentialDtoData
|
|
987
|
+
* Data associated with the credential
|
|
987
988
|
* @export
|
|
988
989
|
*/
|
|
989
|
-
type
|
|
990
|
+
type CredentialDtoData = CONSENT | string;
|
|
990
991
|
|
|
991
992
|
/**
|
|
992
993
|
* Humanos API
|
|
993
|
-
* Humanos API
|
|
994
|
+
* Humanos App Backend API
|
|
994
995
|
*
|
|
995
996
|
* The version of the OpenAPI document: 1.0
|
|
996
997
|
*
|
|
@@ -1067,7 +1068,7 @@ type CredentialPlacementDtoTypeEnum = typeof CredentialPlacementDtoTypeEnum[keyo
|
|
|
1067
1068
|
|
|
1068
1069
|
/**
|
|
1069
1070
|
* Humanos API
|
|
1070
|
-
* Humanos API
|
|
1071
|
+
* Humanos App Backend API
|
|
1071
1072
|
*
|
|
1072
1073
|
* The version of the OpenAPI document: 1.0
|
|
1073
1074
|
*
|
|
@@ -1126,11 +1127,11 @@ interface CredentialDto {
|
|
|
1126
1127
|
*/
|
|
1127
1128
|
'internalId'?: string;
|
|
1128
1129
|
/**
|
|
1129
|
-
*
|
|
1130
|
-
* @type {
|
|
1130
|
+
*
|
|
1131
|
+
* @type {CredentialDtoData}
|
|
1131
1132
|
* @memberof CredentialDto
|
|
1132
1133
|
*/
|
|
1133
|
-
'data'?:
|
|
1134
|
+
'data'?: CredentialDtoData;
|
|
1134
1135
|
/**
|
|
1135
1136
|
* Predefined signature placements for document credentials
|
|
1136
1137
|
* @type {Array<CredentialPlacementDto>}
|
|
@@ -1154,7 +1155,7 @@ type CredentialDtoTypeEnum = typeof CredentialDtoTypeEnum[keyof typeof Credentia
|
|
|
1154
1155
|
|
|
1155
1156
|
/**
|
|
1156
1157
|
* Humanos API
|
|
1157
|
-
* Humanos API
|
|
1158
|
+
* Humanos App Backend API
|
|
1158
1159
|
*
|
|
1159
1160
|
* The version of the OpenAPI document: 1.0
|
|
1160
1161
|
*
|
|
@@ -1236,7 +1237,7 @@ type CredentialEntityStatusEnum = typeof CredentialEntityStatusEnum[keyof typeof
|
|
|
1236
1237
|
|
|
1237
1238
|
/**
|
|
1238
1239
|
* Humanos API
|
|
1239
|
-
* Humanos API
|
|
1240
|
+
* Humanos App Backend API
|
|
1240
1241
|
*
|
|
1241
1242
|
* The version of the OpenAPI document: 1.0
|
|
1242
1243
|
*
|
|
@@ -1258,7 +1259,7 @@ type DeliveryActionType = typeof DeliveryActionType[keyof typeof DeliveryActionT
|
|
|
1258
1259
|
|
|
1259
1260
|
/**
|
|
1260
1261
|
* Humanos API
|
|
1261
|
-
* Humanos API
|
|
1262
|
+
* Humanos App Backend API
|
|
1262
1263
|
*
|
|
1263
1264
|
* The version of the OpenAPI document: 1.0
|
|
1264
1265
|
*
|
|
@@ -1290,7 +1291,7 @@ interface CredentialEventDecision {
|
|
|
1290
1291
|
|
|
1291
1292
|
/**
|
|
1292
1293
|
* Humanos API
|
|
1293
|
-
* Humanos API
|
|
1294
|
+
* Humanos App Backend API
|
|
1294
1295
|
*
|
|
1295
1296
|
* The version of the OpenAPI document: 1.0
|
|
1296
1297
|
*
|
|
@@ -1327,7 +1328,7 @@ interface CredentialEventUser {
|
|
|
1327
1328
|
|
|
1328
1329
|
/**
|
|
1329
1330
|
* Humanos API
|
|
1330
|
-
* Humanos API
|
|
1331
|
+
* Humanos App Backend API
|
|
1331
1332
|
*
|
|
1332
1333
|
* The version of the OpenAPI document: 1.0
|
|
1333
1334
|
*
|
|
@@ -1400,7 +1401,7 @@ type CredentialEventEventTypeEnum = typeof CredentialEventEventTypeEnum[keyof ty
|
|
|
1400
1401
|
|
|
1401
1402
|
/**
|
|
1402
1403
|
* Humanos API
|
|
1403
|
-
* Humanos API
|
|
1404
|
+
* Humanos App Backend API
|
|
1404
1405
|
*
|
|
1405
1406
|
* The version of the OpenAPI document: 1.0
|
|
1406
1407
|
*
|
|
@@ -1426,7 +1427,7 @@ type CredentialStatus = typeof CredentialStatus[keyof typeof CredentialStatus];
|
|
|
1426
1427
|
|
|
1427
1428
|
/**
|
|
1428
1429
|
* Humanos API
|
|
1429
|
-
* Humanos API
|
|
1430
|
+
* Humanos App Backend API
|
|
1430
1431
|
*
|
|
1431
1432
|
* The version of the OpenAPI document: 1.0
|
|
1432
1433
|
*
|
|
@@ -1463,7 +1464,7 @@ interface CredentialsDetail404Response {
|
|
|
1463
1464
|
|
|
1464
1465
|
/**
|
|
1465
1466
|
* Humanos API
|
|
1466
|
-
* Humanos API
|
|
1467
|
+
* Humanos App Backend API
|
|
1467
1468
|
*
|
|
1468
1469
|
* The version of the OpenAPI document: 1.0
|
|
1469
1470
|
*
|
|
@@ -1500,7 +1501,7 @@ interface CredentialsEvidence404Response {
|
|
|
1500
1501
|
|
|
1501
1502
|
/**
|
|
1502
1503
|
* Humanos API
|
|
1503
|
-
* Humanos API
|
|
1504
|
+
* Humanos App Backend API
|
|
1504
1505
|
*
|
|
1505
1506
|
* The version of the OpenAPI document: 1.0
|
|
1506
1507
|
*
|
|
@@ -1537,7 +1538,7 @@ interface CredentialsIssueVP400Response {
|
|
|
1537
1538
|
|
|
1538
1539
|
/**
|
|
1539
1540
|
* Humanos API
|
|
1540
|
-
* Humanos API
|
|
1541
|
+
* Humanos App Backend API
|
|
1541
1542
|
*
|
|
1542
1543
|
* The version of the OpenAPI document: 1.0
|
|
1543
1544
|
*
|
|
@@ -1574,7 +1575,7 @@ interface CredentialsIssueVP403Response {
|
|
|
1574
1575
|
|
|
1575
1576
|
/**
|
|
1576
1577
|
* Humanos API
|
|
1577
|
-
* Humanos API
|
|
1578
|
+
* Humanos App Backend API
|
|
1578
1579
|
*
|
|
1579
1580
|
* The version of the OpenAPI document: 1.0
|
|
1580
1581
|
*
|
|
@@ -1611,7 +1612,7 @@ interface CredentialsIssueVP404Response {
|
|
|
1611
1612
|
|
|
1612
1613
|
/**
|
|
1613
1614
|
* Humanos API
|
|
1614
|
-
* Humanos API
|
|
1615
|
+
* Humanos App Backend API
|
|
1615
1616
|
*
|
|
1616
1617
|
* The version of the OpenAPI document: 1.0
|
|
1617
1618
|
*
|
|
@@ -1648,7 +1649,7 @@ interface CredentialsRevoke400Response {
|
|
|
1648
1649
|
|
|
1649
1650
|
/**
|
|
1650
1651
|
* Humanos API
|
|
1651
|
-
* Humanos API
|
|
1652
|
+
* Humanos App Backend API
|
|
1652
1653
|
*
|
|
1653
1654
|
* The version of the OpenAPI document: 1.0
|
|
1654
1655
|
*
|
|
@@ -1685,7 +1686,7 @@ interface CredentialsRevoke409Response {
|
|
|
1685
1686
|
|
|
1686
1687
|
/**
|
|
1687
1688
|
* Humanos API
|
|
1688
|
-
* Humanos API
|
|
1689
|
+
* Humanos App Backend API
|
|
1689
1690
|
*
|
|
1690
1691
|
* The version of the OpenAPI document: 1.0
|
|
1691
1692
|
*
|
|
@@ -1728,7 +1729,7 @@ interface VerificationMethodEntity {
|
|
|
1728
1729
|
|
|
1729
1730
|
/**
|
|
1730
1731
|
* Humanos API
|
|
1731
|
-
* Humanos API
|
|
1732
|
+
* Humanos App Backend API
|
|
1732
1733
|
*
|
|
1733
1734
|
* The version of the OpenAPI document: 1.0
|
|
1734
1735
|
*
|
|
@@ -1784,7 +1785,7 @@ interface DidDocumentEntity {
|
|
|
1784
1785
|
|
|
1785
1786
|
/**
|
|
1786
1787
|
* Humanos API
|
|
1787
|
-
* Humanos API
|
|
1788
|
+
* Humanos App Backend API
|
|
1788
1789
|
*
|
|
1789
1790
|
* The version of the OpenAPI document: 1.0
|
|
1790
1791
|
*
|
|
@@ -1822,7 +1823,7 @@ interface Evidence {
|
|
|
1822
1823
|
|
|
1823
1824
|
/**
|
|
1824
1825
|
* Humanos API
|
|
1825
|
-
* Humanos API
|
|
1826
|
+
* Humanos App Backend API
|
|
1826
1827
|
*
|
|
1827
1828
|
* The version of the OpenAPI document: 1.0
|
|
1828
1829
|
*
|
|
@@ -1859,7 +1860,88 @@ interface GenerateCredentialEntity {
|
|
|
1859
1860
|
|
|
1860
1861
|
/**
|
|
1861
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
|
+
/**
|
|
1862
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
|
|
1863
1945
|
*
|
|
1864
1946
|
* The version of the OpenAPI document: 1.0
|
|
1865
1947
|
*
|
|
@@ -1882,11 +1964,17 @@ interface GenerateRequestDto {
|
|
|
1882
1964
|
*/
|
|
1883
1965
|
'name'?: string;
|
|
1884
1966
|
/**
|
|
1885
|
-
* Array of
|
|
1886
|
-
* @type {Array<
|
|
1967
|
+
* Array of users to be included in the request
|
|
1968
|
+
* @type {Array<GenerateRequestUserDto>}
|
|
1887
1969
|
* @memberof GenerateRequestDto
|
|
1888
1970
|
*/
|
|
1889
|
-
'
|
|
1971
|
+
'users': Array<GenerateRequestUserDto>;
|
|
1972
|
+
/**
|
|
1973
|
+
* IFrame configuration for the request
|
|
1974
|
+
* @type {GenerateRequestIFrameDto}
|
|
1975
|
+
* @memberof GenerateRequestDto
|
|
1976
|
+
*/
|
|
1977
|
+
'iframe'?: GenerateRequestIFrameDto;
|
|
1890
1978
|
/**
|
|
1891
1979
|
* Security level for the request
|
|
1892
1980
|
* @type {string}
|
|
@@ -1911,42 +1999,18 @@ interface GenerateRequestDto {
|
|
|
1911
1999
|
* @memberof GenerateRequestDto
|
|
1912
2000
|
*/
|
|
1913
2001
|
'credentials'?: Array<CredentialDto>;
|
|
1914
|
-
/**
|
|
1915
|
-
* What language to use when sending notifications to the user
|
|
1916
|
-
* @type {string}
|
|
1917
|
-
* @memberof GenerateRequestDto
|
|
1918
|
-
*/
|
|
1919
|
-
'language'?: string;
|
|
1920
|
-
/**
|
|
1921
|
-
* URL to redirect the subject after completing the request
|
|
1922
|
-
* @type {string}
|
|
1923
|
-
* @memberof GenerateRequestDto
|
|
1924
|
-
*/
|
|
1925
|
-
'redirectUrl'?: string;
|
|
1926
2002
|
/**
|
|
1927
2003
|
* Internal identifier for the request
|
|
1928
2004
|
* @type {string}
|
|
1929
2005
|
* @memberof GenerateRequestDto
|
|
1930
2006
|
*/
|
|
1931
2007
|
'internalId'?: string;
|
|
1932
|
-
/**
|
|
1933
|
-
* Base64-encoded P-256 SPKI public key to pre-register for postMessage payload encryption.
|
|
1934
|
-
* @type {string}
|
|
1935
|
-
* @memberof GenerateRequestDto
|
|
1936
|
-
*/
|
|
1937
|
-
'pubKey'?: string;
|
|
1938
2008
|
/**
|
|
1939
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.
|
|
1940
2010
|
* @type {Array<string>}
|
|
1941
2011
|
* @memberof GenerateRequestDto
|
|
1942
2012
|
*/
|
|
1943
2013
|
'authorizedDIDs'?: Array<string>;
|
|
1944
|
-
/**
|
|
1945
|
-
* 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
|
|
1946
|
-
* @type {Array<string>}
|
|
1947
|
-
* @memberof GenerateRequestDto
|
|
1948
|
-
*/
|
|
1949
|
-
'expectedDocIds'?: Array<string>;
|
|
1950
2014
|
}
|
|
1951
2015
|
declare const GenerateRequestDtoSecurityLevelEnum: {
|
|
1952
2016
|
readonly Contact: "CONTACT";
|
|
@@ -1958,7 +2022,7 @@ type GenerateRequestDtoSecurityLevelEnum = typeof GenerateRequestDtoSecurityLeve
|
|
|
1958
2022
|
|
|
1959
2023
|
/**
|
|
1960
2024
|
* Humanos API
|
|
1961
|
-
* Humanos API
|
|
2025
|
+
* Humanos App Backend API
|
|
1962
2026
|
*
|
|
1963
2027
|
* The version of the OpenAPI document: 1.0
|
|
1964
2028
|
*
|
|
@@ -1986,11 +2050,11 @@ interface GenerateSubjectEntity {
|
|
|
1986
2050
|
*/
|
|
1987
2051
|
'id': string;
|
|
1988
2052
|
/**
|
|
1989
|
-
*
|
|
2053
|
+
* Secondary contact (phone or email) used in 2FA mode to receive the signing link.
|
|
1990
2054
|
* @type {string}
|
|
1991
2055
|
* @memberof GenerateSubjectEntity
|
|
1992
2056
|
*/
|
|
1993
|
-
'
|
|
2057
|
+
'secondaryContact'?: string;
|
|
1994
2058
|
/**
|
|
1995
2059
|
* Link to the subject-OTP link. Only present if the issuer is configured to not send the OTP.
|
|
1996
2060
|
* @type {string}
|
|
@@ -2001,7 +2065,7 @@ interface GenerateSubjectEntity {
|
|
|
2001
2065
|
|
|
2002
2066
|
/**
|
|
2003
2067
|
* Humanos API
|
|
2004
|
-
* Humanos API
|
|
2068
|
+
* Humanos App Backend API
|
|
2005
2069
|
*
|
|
2006
2070
|
* The version of the OpenAPI document: 1.0
|
|
2007
2071
|
*
|
|
@@ -2039,7 +2103,7 @@ interface GenerateRequestEntity {
|
|
|
2039
2103
|
|
|
2040
2104
|
/**
|
|
2041
2105
|
* Humanos API
|
|
2042
|
-
* Humanos API
|
|
2106
|
+
* Humanos App Backend API
|
|
2043
2107
|
*
|
|
2044
2108
|
* The version of the OpenAPI document: 1.0
|
|
2045
2109
|
*
|
|
@@ -2090,14 +2154,13 @@ declare const ResourceMinimalEntityTypeEnum: {
|
|
|
2090
2154
|
readonly Form: "FORM";
|
|
2091
2155
|
readonly Document: "DOCUMENT";
|
|
2092
2156
|
readonly Json: "JSON";
|
|
2093
|
-
readonly Payment: "PAYMENT";
|
|
2094
2157
|
readonly Policy: "POLICY";
|
|
2095
2158
|
};
|
|
2096
2159
|
type ResourceMinimalEntityTypeEnum = typeof ResourceMinimalEntityTypeEnum[keyof typeof ResourceMinimalEntityTypeEnum];
|
|
2097
2160
|
|
|
2098
2161
|
/**
|
|
2099
2162
|
* Humanos API
|
|
2100
|
-
* Humanos API
|
|
2163
|
+
* Humanos App Backend API
|
|
2101
2164
|
*
|
|
2102
2165
|
* The version of the OpenAPI document: 1.0
|
|
2103
2166
|
*
|
|
@@ -2153,7 +2216,7 @@ interface GroupEntity {
|
|
|
2153
2216
|
|
|
2154
2217
|
/**
|
|
2155
2218
|
* Humanos API
|
|
2156
|
-
* Humanos API
|
|
2219
|
+
* Humanos App Backend API
|
|
2157
2220
|
*
|
|
2158
2221
|
* The version of the OpenAPI document: 1.0
|
|
2159
2222
|
*
|
|
@@ -2185,7 +2248,7 @@ interface GroupsEntity {
|
|
|
2185
2248
|
|
|
2186
2249
|
/**
|
|
2187
2250
|
* Humanos API
|
|
2188
|
-
* Humanos API
|
|
2251
|
+
* Humanos App Backend API
|
|
2189
2252
|
*
|
|
2190
2253
|
* The version of the OpenAPI document: 1.0
|
|
2191
2254
|
*
|
|
@@ -2206,30 +2269,12 @@ interface IdentityEventDecision {
|
|
|
2206
2269
|
* @memberof IdentityEventDecision
|
|
2207
2270
|
*/
|
|
2208
2271
|
'success': boolean;
|
|
2209
|
-
/**
|
|
2210
|
-
*
|
|
2211
|
-
* @type {boolean}
|
|
2212
|
-
* @memberof IdentityEventDecision
|
|
2213
|
-
*/
|
|
2214
|
-
'isFraud': boolean;
|
|
2215
|
-
/**
|
|
2216
|
-
*
|
|
2217
|
-
* @type {number}
|
|
2218
|
-
* @memberof IdentityEventDecision
|
|
2219
|
-
*/
|
|
2220
|
-
'riskScore'?: number;
|
|
2221
2272
|
/**
|
|
2222
2273
|
*
|
|
2223
2274
|
* @type {string}
|
|
2224
2275
|
* @memberof IdentityEventDecision
|
|
2225
2276
|
*/
|
|
2226
2277
|
'message'?: string;
|
|
2227
|
-
/**
|
|
2228
|
-
*
|
|
2229
|
-
* @type {string}
|
|
2230
|
-
* @memberof IdentityEventDecision
|
|
2231
|
-
*/
|
|
2232
|
-
'outcome'?: string;
|
|
2233
2278
|
/**
|
|
2234
2279
|
*
|
|
2235
2280
|
* @type {string}
|
|
@@ -2240,7 +2285,7 @@ interface IdentityEventDecision {
|
|
|
2240
2285
|
|
|
2241
2286
|
/**
|
|
2242
2287
|
* Humanos API
|
|
2243
|
-
* Humanos API
|
|
2288
|
+
* Humanos App Backend API
|
|
2244
2289
|
*
|
|
2245
2290
|
* The version of the OpenAPI document: 1.0
|
|
2246
2291
|
*
|
|
@@ -2277,7 +2322,26 @@ interface IdentityEventUser {
|
|
|
2277
2322
|
|
|
2278
2323
|
/**
|
|
2279
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
|
+
/**
|
|
2280
2343
|
* Humanos API
|
|
2344
|
+
* Humanos App Backend API
|
|
2281
2345
|
*
|
|
2282
2346
|
* The version of the OpenAPI document: 1.0
|
|
2283
2347
|
*
|
|
@@ -2286,77 +2350,108 @@ interface IdentityEventUser {
|
|
|
2286
2350
|
* https://openapi-generator.tech
|
|
2287
2351
|
* Do not edit the class manually.
|
|
2288
2352
|
*/
|
|
2353
|
+
|
|
2289
2354
|
/**
|
|
2290
2355
|
*
|
|
2291
2356
|
* @export
|
|
2292
|
-
* @interface
|
|
2357
|
+
* @interface IdentityWebhook
|
|
2293
2358
|
*/
|
|
2294
|
-
interface
|
|
2359
|
+
interface IdentityWebhook {
|
|
2295
2360
|
/**
|
|
2296
2361
|
*
|
|
2297
2362
|
* @type {string}
|
|
2298
|
-
* @memberof
|
|
2363
|
+
* @memberof IdentityWebhook
|
|
2299
2364
|
*/
|
|
2300
|
-
'
|
|
2365
|
+
'nationality'?: string;
|
|
2301
2366
|
/**
|
|
2302
2367
|
*
|
|
2303
2368
|
* @type {string}
|
|
2304
|
-
* @memberof
|
|
2369
|
+
* @memberof IdentityWebhook
|
|
2370
|
+
*/
|
|
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
|
|
2305
2388
|
*/
|
|
2306
|
-
'
|
|
2389
|
+
'weight'?: number;
|
|
2307
2390
|
/**
|
|
2308
2391
|
*
|
|
2309
2392
|
* @type {string}
|
|
2310
|
-
* @memberof
|
|
2393
|
+
* @memberof IdentityWebhook
|
|
2311
2394
|
*/
|
|
2312
|
-
'
|
|
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;
|
|
2313
2408
|
/**
|
|
2314
2409
|
*
|
|
2315
2410
|
* @type {string}
|
|
2316
|
-
* @memberof
|
|
2411
|
+
* @memberof IdentityWebhook
|
|
2317
2412
|
*/
|
|
2318
|
-
'
|
|
2413
|
+
'placeOfIssue'?: string;
|
|
2319
2414
|
/**
|
|
2320
2415
|
*
|
|
2321
2416
|
* @type {string}
|
|
2322
|
-
* @memberof
|
|
2417
|
+
* @memberof IdentityWebhook
|
|
2323
2418
|
*/
|
|
2324
|
-
'
|
|
2419
|
+
'fullName': string;
|
|
2325
2420
|
/**
|
|
2326
2421
|
*
|
|
2327
2422
|
* @type {string}
|
|
2328
|
-
* @memberof
|
|
2423
|
+
* @memberof IdentityWebhook
|
|
2329
2424
|
*/
|
|
2330
|
-
'
|
|
2425
|
+
'gender'?: string;
|
|
2331
2426
|
/**
|
|
2332
2427
|
*
|
|
2333
2428
|
* @type {string}
|
|
2334
|
-
* @memberof
|
|
2429
|
+
* @memberof IdentityWebhook
|
|
2335
2430
|
*/
|
|
2336
|
-
'
|
|
2431
|
+
'birth': string;
|
|
2337
2432
|
/**
|
|
2338
2433
|
*
|
|
2339
2434
|
* @type {string}
|
|
2340
|
-
* @memberof
|
|
2435
|
+
* @memberof IdentityWebhook
|
|
2341
2436
|
*/
|
|
2342
|
-
'
|
|
2437
|
+
'docId': string;
|
|
2343
2438
|
/**
|
|
2344
2439
|
*
|
|
2345
2440
|
* @type {string}
|
|
2346
|
-
* @memberof
|
|
2441
|
+
* @memberof IdentityWebhook
|
|
2347
2442
|
*/
|
|
2348
|
-
'
|
|
2443
|
+
'fullDocId': string;
|
|
2349
2444
|
/**
|
|
2350
2445
|
*
|
|
2351
2446
|
* @type {string}
|
|
2352
|
-
* @memberof
|
|
2447
|
+
* @memberof IdentityWebhook
|
|
2353
2448
|
*/
|
|
2354
2449
|
'countryAlpha3': string;
|
|
2355
2450
|
}
|
|
2356
2451
|
|
|
2357
2452
|
/**
|
|
2358
2453
|
* Humanos API
|
|
2359
|
-
* Humanos API
|
|
2454
|
+
* Humanos App Backend API
|
|
2360
2455
|
*
|
|
2361
2456
|
* The version of the OpenAPI document: 1.0
|
|
2362
2457
|
*
|
|
@@ -2411,10 +2506,10 @@ interface IdentityEvent {
|
|
|
2411
2506
|
'api_version': string;
|
|
2412
2507
|
/**
|
|
2413
2508
|
*
|
|
2414
|
-
* @type {
|
|
2509
|
+
* @type {IdentityWebhook}
|
|
2415
2510
|
* @memberof IdentityEvent
|
|
2416
2511
|
*/
|
|
2417
|
-
'identity'?:
|
|
2512
|
+
'identity'?: IdentityWebhook;
|
|
2418
2513
|
/**
|
|
2419
2514
|
*
|
|
2420
2515
|
* @type {IdentityEventDecision}
|
|
@@ -2429,7 +2524,7 @@ type IdentityEventEventTypeEnum = typeof IdentityEventEventTypeEnum[keyof typeof
|
|
|
2429
2524
|
|
|
2430
2525
|
/**
|
|
2431
2526
|
* Humanos API
|
|
2432
|
-
* Humanos API
|
|
2527
|
+
* Humanos App Backend API
|
|
2433
2528
|
*
|
|
2434
2529
|
* The version of the OpenAPI document: 1.0
|
|
2435
2530
|
*
|
|
@@ -2454,7 +2549,7 @@ interface OrganizationDataEntity {
|
|
|
2454
2549
|
|
|
2455
2550
|
/**
|
|
2456
2551
|
* Humanos API
|
|
2457
|
-
* Humanos API
|
|
2552
|
+
* Humanos App Backend API
|
|
2458
2553
|
*
|
|
2459
2554
|
* The version of the OpenAPI document: 1.0
|
|
2460
2555
|
*
|
|
@@ -2485,7 +2580,7 @@ interface OtpError {
|
|
|
2485
2580
|
|
|
2486
2581
|
/**
|
|
2487
2582
|
* Humanos API
|
|
2488
|
-
* Humanos API
|
|
2583
|
+
* Humanos App Backend API
|
|
2489
2584
|
*
|
|
2490
2585
|
* The version of the OpenAPI document: 1.0
|
|
2491
2586
|
*
|
|
@@ -2517,7 +2612,7 @@ interface OtpFailedEventOtp {
|
|
|
2517
2612
|
|
|
2518
2613
|
/**
|
|
2519
2614
|
* Humanos API
|
|
2520
|
-
* Humanos API
|
|
2615
|
+
* Humanos App Backend API
|
|
2521
2616
|
*
|
|
2522
2617
|
* The version of the OpenAPI document: 1.0
|
|
2523
2618
|
*
|
|
@@ -2584,7 +2679,7 @@ type OtpFailedEventEventTypeEnum = typeof OtpFailedEventEventTypeEnum[keyof type
|
|
|
2584
2679
|
|
|
2585
2680
|
/**
|
|
2586
2681
|
* Humanos API
|
|
2587
|
-
* Humanos API
|
|
2682
|
+
* Humanos App Backend API
|
|
2588
2683
|
*
|
|
2589
2684
|
* The version of the OpenAPI document: 1.0
|
|
2590
2685
|
*
|
|
@@ -2615,7 +2710,7 @@ interface ReceiptEntity {
|
|
|
2615
2710
|
|
|
2616
2711
|
/**
|
|
2617
2712
|
* Humanos API
|
|
2618
|
-
* Humanos API
|
|
2713
|
+
* Humanos App Backend API
|
|
2619
2714
|
*
|
|
2620
2715
|
* The version of the OpenAPI document: 1.0
|
|
2621
2716
|
*
|
|
@@ -2632,11 +2727,17 @@ interface ReceiptEntity {
|
|
|
2632
2727
|
*/
|
|
2633
2728
|
interface PresentationResponseEntity {
|
|
2634
2729
|
/**
|
|
2635
|
-
* Signed W3C Verifiable Presentation
|
|
2730
|
+
* Signed W3C Verifiable Presentation (@context, type, holder, verifiableCredential, proof). Pass it back to POST /credential/verify as `presentation` — or, recommended, use `presentationEncoded` below.
|
|
2636
2731
|
* @type {object}
|
|
2637
2732
|
* @memberof PresentationResponseEntity
|
|
2638
2733
|
*/
|
|
2639
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;
|
|
2640
2741
|
/**
|
|
2641
2742
|
* VP_CREATED receipt issued for this presentation
|
|
2642
2743
|
* @type {ReceiptEntity}
|
|
@@ -2647,7 +2748,7 @@ interface PresentationResponseEntity {
|
|
|
2647
2748
|
|
|
2648
2749
|
/**
|
|
2649
2750
|
* Humanos API
|
|
2650
|
-
* Humanos API
|
|
2751
|
+
* Humanos App Backend API
|
|
2651
2752
|
*
|
|
2652
2753
|
* The version of the OpenAPI document: 1.0
|
|
2653
2754
|
*
|
|
@@ -2711,7 +2812,7 @@ type RequestCredentialEntityStatusEnum = typeof RequestCredentialEntityStatusEnu
|
|
|
2711
2812
|
|
|
2712
2813
|
/**
|
|
2713
2814
|
* Humanos API
|
|
2714
|
-
* Humanos API
|
|
2815
|
+
* Humanos App Backend API
|
|
2715
2816
|
*
|
|
2716
2817
|
* The version of the OpenAPI document: 1.0
|
|
2717
2818
|
*
|
|
@@ -2775,6 +2876,12 @@ interface RequestDetailSubjectEntity {
|
|
|
2775
2876
|
* @memberof RequestDetailSubjectEntity
|
|
2776
2877
|
*/
|
|
2777
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;
|
|
2778
2885
|
}
|
|
2779
2886
|
declare const RequestDetailSubjectEntityIdentityStatusEnum: {
|
|
2780
2887
|
readonly None: "NONE";
|
|
@@ -2785,7 +2892,7 @@ type RequestDetailSubjectEntityIdentityStatusEnum = typeof RequestDetailSubjectE
|
|
|
2785
2892
|
|
|
2786
2893
|
/**
|
|
2787
2894
|
* Humanos API
|
|
2788
|
-
* Humanos API
|
|
2895
|
+
* Humanos App Backend API
|
|
2789
2896
|
*
|
|
2790
2897
|
* The version of the OpenAPI document: 1.0
|
|
2791
2898
|
*
|
|
@@ -2872,7 +2979,7 @@ type RequestDetailEntitySecurityLevelEnum = typeof RequestDetailEntitySecurityLe
|
|
|
2872
2979
|
|
|
2873
2980
|
/**
|
|
2874
2981
|
* Humanos API
|
|
2875
|
-
* Humanos API
|
|
2982
|
+
* Humanos App Backend API
|
|
2876
2983
|
*
|
|
2877
2984
|
* The version of the OpenAPI document: 1.0
|
|
2878
2985
|
*
|
|
@@ -2917,6 +3024,12 @@ interface RequestSubjectEntity {
|
|
|
2917
3024
|
* @memberof RequestSubjectEntity
|
|
2918
3025
|
*/
|
|
2919
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;
|
|
2920
3033
|
}
|
|
2921
3034
|
declare const RequestSubjectEntityIdentityStatusEnum: {
|
|
2922
3035
|
readonly None: "NONE";
|
|
@@ -2927,7 +3040,7 @@ type RequestSubjectEntityIdentityStatusEnum = typeof RequestSubjectEntityIdentit
|
|
|
2927
3040
|
|
|
2928
3041
|
/**
|
|
2929
3042
|
* Humanos API
|
|
2930
|
-
* Humanos API
|
|
3043
|
+
* Humanos App Backend API
|
|
2931
3044
|
*
|
|
2932
3045
|
* The version of the OpenAPI document: 1.0
|
|
2933
3046
|
*
|
|
@@ -3014,7 +3127,7 @@ type RequestEntitySecurityLevelEnum = typeof RequestEntitySecurityLevelEnum[keyo
|
|
|
3014
3127
|
|
|
3015
3128
|
/**
|
|
3016
3129
|
* Humanos API
|
|
3017
|
-
* Humanos API
|
|
3130
|
+
* Humanos App Backend API
|
|
3018
3131
|
*
|
|
3019
3132
|
* The version of the OpenAPI document: 1.0
|
|
3020
3133
|
*
|
|
@@ -3048,35 +3161,35 @@ interface RequestQuery {
|
|
|
3048
3161
|
*/
|
|
3049
3162
|
'search'?: string;
|
|
3050
3163
|
/**
|
|
3051
|
-
* Filter
|
|
3164
|
+
* Filter from date (will be converted to start of day in UTC)
|
|
3052
3165
|
* @type {string}
|
|
3053
3166
|
* @memberof RequestQuery
|
|
3054
3167
|
*/
|
|
3055
|
-
'
|
|
3168
|
+
'dateFrom'?: string;
|
|
3056
3169
|
/**
|
|
3057
|
-
*
|
|
3170
|
+
* Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
3058
3171
|
* @type {string}
|
|
3059
3172
|
* @memberof RequestQuery
|
|
3060
3173
|
*/
|
|
3061
|
-
'
|
|
3174
|
+
'dateTo'?: string;
|
|
3062
3175
|
/**
|
|
3063
|
-
* Filter by
|
|
3064
|
-
* @type {
|
|
3176
|
+
* Filter by subject (nested object with contact, id, or internalId).
|
|
3177
|
+
* @type {string}
|
|
3065
3178
|
* @memberof RequestQuery
|
|
3066
3179
|
*/
|
|
3067
|
-
'
|
|
3180
|
+
'subject'?: string;
|
|
3068
3181
|
/**
|
|
3069
|
-
*
|
|
3182
|
+
* Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
3070
3183
|
* @type {string}
|
|
3071
3184
|
* @memberof RequestQuery
|
|
3072
3185
|
*/
|
|
3073
|
-
'
|
|
3186
|
+
'internalId'?: string;
|
|
3074
3187
|
/**
|
|
3075
|
-
* Filter
|
|
3076
|
-
* @type {string}
|
|
3188
|
+
* Filter by security level. Can be a single value or array
|
|
3189
|
+
* @type {Array<string>}
|
|
3077
3190
|
* @memberof RequestQuery
|
|
3078
3191
|
*/
|
|
3079
|
-
'
|
|
3192
|
+
'securityLevel'?: Array<RequestQuerySecurityLevelEnum>;
|
|
3080
3193
|
}
|
|
3081
3194
|
declare const RequestQuerySecurityLevelEnum: {
|
|
3082
3195
|
readonly Contact: "CONTACT";
|
|
@@ -3088,7 +3201,7 @@ type RequestQuerySecurityLevelEnum = typeof RequestQuerySecurityLevelEnum[keyof
|
|
|
3088
3201
|
|
|
3089
3202
|
/**
|
|
3090
3203
|
* Humanos API
|
|
3091
|
-
* Humanos API
|
|
3204
|
+
* Humanos App Backend API
|
|
3092
3205
|
*
|
|
3093
3206
|
* The version of the OpenAPI document: 1.0
|
|
3094
3207
|
*
|
|
@@ -3125,7 +3238,7 @@ interface RequestsCreate400Response {
|
|
|
3125
3238
|
|
|
3126
3239
|
/**
|
|
3127
3240
|
* Humanos API
|
|
3128
|
-
* Humanos API
|
|
3241
|
+
* Humanos App Backend API
|
|
3129
3242
|
*
|
|
3130
3243
|
* The version of the OpenAPI document: 1.0
|
|
3131
3244
|
*
|
|
@@ -3162,7 +3275,7 @@ interface RequestsDetail404Response {
|
|
|
3162
3275
|
|
|
3163
3276
|
/**
|
|
3164
3277
|
* Humanos API
|
|
3165
|
-
* Humanos API
|
|
3278
|
+
* Humanos App Backend API
|
|
3166
3279
|
*
|
|
3167
3280
|
* The version of the OpenAPI document: 1.0
|
|
3168
3281
|
*
|
|
@@ -3194,7 +3307,7 @@ interface RequestsEntity {
|
|
|
3194
3307
|
|
|
3195
3308
|
/**
|
|
3196
3309
|
* Humanos API
|
|
3197
|
-
* Humanos API
|
|
3310
|
+
* Humanos App Backend API
|
|
3198
3311
|
*
|
|
3199
3312
|
* The version of the OpenAPI document: 1.0
|
|
3200
3313
|
*
|
|
@@ -3231,7 +3344,7 @@ interface RequestsResendOtp403Response {
|
|
|
3231
3344
|
|
|
3232
3345
|
/**
|
|
3233
3346
|
* Humanos API
|
|
3234
|
-
* Humanos API
|
|
3347
|
+
* Humanos App Backend API
|
|
3235
3348
|
*
|
|
3236
3349
|
* The version of the OpenAPI document: 1.0
|
|
3237
3350
|
*
|
|
@@ -3318,14 +3431,13 @@ declare const ResourceEntityTypeEnum: {
|
|
|
3318
3431
|
readonly Form: "FORM";
|
|
3319
3432
|
readonly Document: "DOCUMENT";
|
|
3320
3433
|
readonly Json: "JSON";
|
|
3321
|
-
readonly Payment: "PAYMENT";
|
|
3322
3434
|
readonly Policy: "POLICY";
|
|
3323
3435
|
};
|
|
3324
3436
|
type ResourceEntityTypeEnum = typeof ResourceEntityTypeEnum[keyof typeof ResourceEntityTypeEnum];
|
|
3325
3437
|
|
|
3326
3438
|
/**
|
|
3327
3439
|
* Humanos API
|
|
3328
|
-
* Humanos API
|
|
3440
|
+
* Humanos App Backend API
|
|
3329
3441
|
*
|
|
3330
3442
|
* The version of the OpenAPI document: 1.0
|
|
3331
3443
|
*
|
|
@@ -3382,14 +3494,13 @@ declare const ResourceQueryTypesEnum: {
|
|
|
3382
3494
|
readonly Form: "FORM";
|
|
3383
3495
|
readonly Document: "DOCUMENT";
|
|
3384
3496
|
readonly Json: "JSON";
|
|
3385
|
-
readonly Payment: "PAYMENT";
|
|
3386
3497
|
readonly Policy: "POLICY";
|
|
3387
3498
|
};
|
|
3388
3499
|
type ResourceQueryTypesEnum = typeof ResourceQueryTypesEnum[keyof typeof ResourceQueryTypesEnum];
|
|
3389
3500
|
|
|
3390
3501
|
/**
|
|
3391
3502
|
* Humanos API
|
|
3392
|
-
* Humanos API
|
|
3503
|
+
* Humanos App Backend API
|
|
3393
3504
|
*
|
|
3394
3505
|
* The version of the OpenAPI document: 1.0
|
|
3395
3506
|
*
|
|
@@ -3421,7 +3532,7 @@ interface ResourcesEntity {
|
|
|
3421
3532
|
|
|
3422
3533
|
/**
|
|
3423
3534
|
* Humanos API
|
|
3424
|
-
* Humanos API
|
|
3535
|
+
* Humanos App Backend API
|
|
3425
3536
|
*
|
|
3426
3537
|
* The version of the OpenAPI document: 1.0
|
|
3427
3538
|
*
|
|
@@ -3446,7 +3557,7 @@ interface RevokeCredentialDto {
|
|
|
3446
3557
|
|
|
3447
3558
|
/**
|
|
3448
3559
|
* Humanos API
|
|
3449
|
-
* Humanos API
|
|
3560
|
+
* Humanos App Backend API
|
|
3450
3561
|
*
|
|
3451
3562
|
* The version of the OpenAPI document: 1.0
|
|
3452
3563
|
*
|
|
@@ -3499,7 +3610,7 @@ type RevokeCredentialEntityStatusEnum = typeof RevokeCredentialEntityStatusEnum[
|
|
|
3499
3610
|
|
|
3500
3611
|
/**
|
|
3501
3612
|
* Humanos API
|
|
3502
|
-
* Humanos API
|
|
3613
|
+
* Humanos App Backend API
|
|
3503
3614
|
*
|
|
3504
3615
|
* The version of the OpenAPI document: 1.0
|
|
3505
3616
|
*
|
|
@@ -3555,7 +3666,7 @@ type SubjectIssuerEntityIdentityStatusEnum = typeof SubjectIssuerEntityIdentityS
|
|
|
3555
3666
|
|
|
3556
3667
|
/**
|
|
3557
3668
|
* Humanos API
|
|
3558
|
-
* Humanos API
|
|
3669
|
+
* Humanos App Backend API
|
|
3559
3670
|
*
|
|
3560
3671
|
* The version of the OpenAPI document: 1.0
|
|
3561
3672
|
*
|
|
@@ -3592,7 +3703,7 @@ interface SubjectQuery {
|
|
|
3592
3703
|
|
|
3593
3704
|
/**
|
|
3594
3705
|
* Humanos API
|
|
3595
|
-
* Humanos API
|
|
3706
|
+
* Humanos App Backend API
|
|
3596
3707
|
*
|
|
3597
3708
|
* The version of the OpenAPI document: 1.0
|
|
3598
3709
|
*
|
|
@@ -3617,7 +3728,7 @@ interface SuccessEntity {
|
|
|
3617
3728
|
|
|
3618
3729
|
/**
|
|
3619
3730
|
* Humanos API
|
|
3620
|
-
* Humanos API
|
|
3731
|
+
* Humanos App Backend API
|
|
3621
3732
|
*
|
|
3622
3733
|
* The version of the OpenAPI document: 1.0
|
|
3623
3734
|
*
|
|
@@ -3684,7 +3795,7 @@ type TestEventEventTypeEnum = typeof TestEventEventTypeEnum[keyof typeof TestEve
|
|
|
3684
3795
|
|
|
3685
3796
|
/**
|
|
3686
3797
|
* Humanos API
|
|
3687
|
-
* Humanos API
|
|
3798
|
+
* Humanos App Backend API
|
|
3688
3799
|
*
|
|
3689
3800
|
* The version of the OpenAPI document: 1.0
|
|
3690
3801
|
*
|
|
@@ -3721,7 +3832,7 @@ interface UserCreate400Response {
|
|
|
3721
3832
|
|
|
3722
3833
|
/**
|
|
3723
3834
|
* Humanos API
|
|
3724
|
-
* Humanos API
|
|
3835
|
+
* Humanos App Backend API
|
|
3725
3836
|
*
|
|
3726
3837
|
* The version of the OpenAPI document: 1.0
|
|
3727
3838
|
*
|
|
@@ -3758,7 +3869,7 @@ interface UserDetail400Response {
|
|
|
3758
3869
|
|
|
3759
3870
|
/**
|
|
3760
3871
|
* Humanos API
|
|
3761
|
-
* Humanos API
|
|
3872
|
+
* Humanos App Backend API
|
|
3762
3873
|
*
|
|
3763
3874
|
* The version of the OpenAPI document: 1.0
|
|
3764
3875
|
*
|
|
@@ -3795,7 +3906,7 @@ interface UserDetail404Response {
|
|
|
3795
3906
|
|
|
3796
3907
|
/**
|
|
3797
3908
|
* Humanos API
|
|
3798
|
-
* Humanos API
|
|
3909
|
+
* Humanos App Backend API
|
|
3799
3910
|
*
|
|
3800
3911
|
* The version of the OpenAPI document: 1.0
|
|
3801
3912
|
*
|
|
@@ -3838,7 +3949,7 @@ type VerifyEvaluationEntityResultEnum = typeof VerifyEvaluationEntityResultEnum[
|
|
|
3838
3949
|
|
|
3839
3950
|
/**
|
|
3840
3951
|
* Humanos API
|
|
3841
|
-
* Humanos API
|
|
3952
|
+
* Humanos App Backend API
|
|
3842
3953
|
*
|
|
3843
3954
|
* The version of the OpenAPI document: 1.0
|
|
3844
3955
|
*
|
|
@@ -3886,7 +3997,7 @@ type VerifyAllowResponseEntityDecisionEnum = typeof VerifyAllowResponseEntityDec
|
|
|
3886
3997
|
|
|
3887
3998
|
/**
|
|
3888
3999
|
* Humanos API
|
|
3889
|
-
* Humanos API
|
|
4000
|
+
* Humanos App Backend API
|
|
3890
4001
|
*
|
|
3891
4002
|
* The version of the OpenAPI document: 1.0
|
|
3892
4003
|
*
|
|
@@ -3952,7 +4063,7 @@ type VerifyDenyResponseEntityDecisionEnum = typeof VerifyDenyResponseEntityDecis
|
|
|
3952
4063
|
|
|
3953
4064
|
/**
|
|
3954
4065
|
* Humanos API
|
|
3955
|
-
* Humanos API
|
|
4066
|
+
* Humanos App Backend API
|
|
3956
4067
|
*
|
|
3957
4068
|
* The version of the OpenAPI document: 1.0
|
|
3958
4069
|
*
|
|
@@ -3968,11 +4079,17 @@ type VerifyDenyResponseEntityDecisionEnum = typeof VerifyDenyResponseEntityDecis
|
|
|
3968
4079
|
*/
|
|
3969
4080
|
interface VerifyPresentationDto {
|
|
3970
4081
|
/**
|
|
3971
|
-
* Signed W3C Verifiable Presentation
|
|
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).
|
|
3972
4083
|
* @type {object}
|
|
3973
4084
|
* @memberof VerifyPresentationDto
|
|
3974
4085
|
*/
|
|
3975
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;
|
|
3976
4093
|
/**
|
|
3977
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>`.
|
|
3978
4095
|
* @type {object}
|
|
@@ -3983,7 +4100,7 @@ interface VerifyPresentationDto {
|
|
|
3983
4100
|
|
|
3984
4101
|
/**
|
|
3985
4102
|
* Humanos API
|
|
3986
|
-
* Humanos API
|
|
4103
|
+
* Humanos App Backend API
|
|
3987
4104
|
*
|
|
3988
4105
|
* The version of the OpenAPI document: 1.0
|
|
3989
4106
|
*
|
|
@@ -4021,7 +4138,7 @@ interface W3CVerifiableCredentialCredentialSubjectMandateAction {
|
|
|
4021
4138
|
|
|
4022
4139
|
/**
|
|
4023
4140
|
* Humanos API
|
|
4024
|
-
* Humanos API
|
|
4141
|
+
* Humanos App Backend API
|
|
4025
4142
|
*
|
|
4026
4143
|
* The version of the OpenAPI document: 1.0
|
|
4027
4144
|
*
|
|
@@ -4047,7 +4164,7 @@ interface W3CVerifiableCredentialCredentialSubjectMandateContext {
|
|
|
4047
4164
|
|
|
4048
4165
|
/**
|
|
4049
4166
|
* Humanos API
|
|
4050
|
-
* Humanos API
|
|
4167
|
+
* Humanos App Backend API
|
|
4051
4168
|
*
|
|
4052
4169
|
* The version of the OpenAPI document: 1.0
|
|
4053
4170
|
*
|
|
@@ -4066,7 +4183,7 @@ interface W3CVerifiableCredentialCredentialSubjectMandateGrantor {
|
|
|
4066
4183
|
|
|
4067
4184
|
/**
|
|
4068
4185
|
* Humanos API
|
|
4069
|
-
* Humanos API
|
|
4186
|
+
* Humanos App Backend API
|
|
4070
4187
|
*
|
|
4071
4188
|
* The version of the OpenAPI document: 1.0
|
|
4072
4189
|
*
|
|
@@ -4119,7 +4236,7 @@ interface W3CVerifiableCredentialCredentialSubjectMandate {
|
|
|
4119
4236
|
|
|
4120
4237
|
/**
|
|
4121
4238
|
* Humanos API
|
|
4122
|
-
* Humanos API
|
|
4239
|
+
* Humanos App Backend API
|
|
4123
4240
|
*
|
|
4124
4241
|
* The version of the OpenAPI document: 1.0
|
|
4125
4242
|
*
|
|
@@ -4152,7 +4269,7 @@ interface W3CVerifiableCredentialCredentialSubject {
|
|
|
4152
4269
|
|
|
4153
4270
|
/**
|
|
4154
4271
|
* Humanos API
|
|
4155
|
-
* Humanos API
|
|
4272
|
+
* Humanos App Backend API
|
|
4156
4273
|
*
|
|
4157
4274
|
* The version of the OpenAPI document: 1.0
|
|
4158
4275
|
*
|
|
@@ -4208,7 +4325,7 @@ interface W3CVerifiableCredentialProofsInner {
|
|
|
4208
4325
|
|
|
4209
4326
|
/**
|
|
4210
4327
|
* Humanos API
|
|
4211
|
-
* Humanos API
|
|
4328
|
+
* Humanos App Backend API
|
|
4212
4329
|
*
|
|
4213
4330
|
* The version of the OpenAPI document: 1.0
|
|
4214
4331
|
*
|
|
@@ -4283,7 +4400,7 @@ interface W3CVerifiableCredential {
|
|
|
4283
4400
|
|
|
4284
4401
|
/**
|
|
4285
4402
|
* Humanos API
|
|
4286
|
-
* Humanos API
|
|
4403
|
+
* Humanos App Backend API
|
|
4287
4404
|
*
|
|
4288
4405
|
* The version of the OpenAPI document: 1.0
|
|
4289
4406
|
*
|
|
@@ -4446,18 +4563,18 @@ declare const ActivityApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
4446
4563
|
* @summary List Activity Events
|
|
4447
4564
|
* @param {number} [pageIndex] Page number
|
|
4448
4565
|
* @param {number} [pageSize] Number of items per page
|
|
4566
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
4567
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
4449
4568
|
* @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
4450
4569
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
4451
4570
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
4452
4571
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
4453
4572
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
4454
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
4455
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
4456
4573
|
* @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\'s date.
|
|
4457
4574
|
* @param {*} [options] Override http request option.
|
|
4458
4575
|
* @throws {RequiredError}
|
|
4459
4576
|
*/
|
|
4460
|
-
list: (pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string,
|
|
4577
|
+
list: (pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4461
4578
|
};
|
|
4462
4579
|
/**
|
|
4463
4580
|
* ActivityApi - functional programming interface
|
|
@@ -4469,18 +4586,18 @@ declare const ActivityApiFp: (configuration?: Configuration) => {
|
|
|
4469
4586
|
* @summary List Activity Events
|
|
4470
4587
|
* @param {number} [pageIndex] Page number
|
|
4471
4588
|
* @param {number} [pageSize] Number of items per page
|
|
4589
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
4590
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
4472
4591
|
* @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
4473
4592
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
4474
4593
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
4475
4594
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
4476
4595
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
4477
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
4478
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
4479
4596
|
* @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\'s date.
|
|
4480
4597
|
* @param {*} [options] Override http request option.
|
|
4481
4598
|
* @throws {RequiredError}
|
|
4482
4599
|
*/
|
|
4483
|
-
list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string,
|
|
4600
|
+
list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivitiesEntity>>;
|
|
4484
4601
|
};
|
|
4485
4602
|
/**
|
|
4486
4603
|
* ActivityApi - factory interface
|
|
@@ -4492,18 +4609,18 @@ declare const ActivityApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
4492
4609
|
* @summary List Activity Events
|
|
4493
4610
|
* @param {number} [pageIndex] Page number
|
|
4494
4611
|
* @param {number} [pageSize] Number of items per page
|
|
4612
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
4613
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
4495
4614
|
* @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
4496
4615
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
4497
4616
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
4498
4617
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
4499
4618
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
4500
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
4501
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
4502
4619
|
* @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\'s date.
|
|
4503
4620
|
* @param {*} [options] Override http request option.
|
|
4504
4621
|
* @throws {RequiredError}
|
|
4505
4622
|
*/
|
|
4506
|
-
list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string,
|
|
4623
|
+
list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivitiesEntity>;
|
|
4507
4624
|
};
|
|
4508
4625
|
/**
|
|
4509
4626
|
* ActivityApi - object-oriented interface
|
|
@@ -4517,19 +4634,19 @@ declare class ActivityApi extends BaseAPI {
|
|
|
4517
4634
|
* @summary List Activity Events
|
|
4518
4635
|
* @param {number} [pageIndex] Page number
|
|
4519
4636
|
* @param {number} [pageSize] Number of items per page
|
|
4637
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
4638
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
4520
4639
|
* @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
4521
4640
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
4522
4641
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
4523
4642
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
4524
4643
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
4525
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
4526
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
4527
4644
|
* @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\'s date.
|
|
4528
4645
|
* @param {*} [options] Override http request option.
|
|
4529
4646
|
* @throws {RequiredError}
|
|
4530
4647
|
* @memberof ActivityApi
|
|
4531
4648
|
*/
|
|
4532
|
-
list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string,
|
|
4649
|
+
list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ActivitiesEntity, any, {}>>;
|
|
4533
4650
|
}
|
|
4534
4651
|
/**
|
|
4535
4652
|
* @export
|
|
@@ -4698,7 +4815,6 @@ declare const ListTypesEnum: {
|
|
|
4698
4815
|
readonly Form: "FORM";
|
|
4699
4816
|
readonly Document: "DOCUMENT";
|
|
4700
4817
|
readonly Json: "JSON";
|
|
4701
|
-
readonly Payment: "PAYMENT";
|
|
4702
4818
|
readonly Policy: "POLICY";
|
|
4703
4819
|
};
|
|
4704
4820
|
type ListTypesEnum = typeof ListTypesEnum[keyof typeof ListTypesEnum];
|
|
@@ -4710,7 +4826,6 @@ declare const WorkflowsTypesEnum: {
|
|
|
4710
4826
|
readonly Form: "FORM";
|
|
4711
4827
|
readonly Document: "DOCUMENT";
|
|
4712
4828
|
readonly Json: "JSON";
|
|
4713
|
-
readonly Payment: "PAYMENT";
|
|
4714
4829
|
readonly Policy: "POLICY";
|
|
4715
4830
|
};
|
|
4716
4831
|
type WorkflowsTypesEnum = typeof WorkflowsTypesEnum[keyof typeof WorkflowsTypesEnum];
|
|
@@ -4759,7 +4874,7 @@ declare const CredentialsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
4759
4874
|
*/
|
|
4760
4875
|
revoke: (credentialId: string, aPIVersion?: string, revokeCredentialDto?: RevokeCredentialDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4761
4876
|
/**
|
|
4762
|
-
* 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.
|
|
4763
4878
|
* @summary Verify VP
|
|
4764
4879
|
* @param {VerifyPresentationDto} verifyPresentationDto
|
|
4765
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\'s date.
|
|
@@ -4812,7 +4927,7 @@ declare const CredentialsApiFp: (configuration?: Configuration) => {
|
|
|
4812
4927
|
*/
|
|
4813
4928
|
revoke(credentialId: string, aPIVersion?: string, revokeCredentialDto?: RevokeCredentialDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RevokeCredentialEntity>>;
|
|
4814
4929
|
/**
|
|
4815
|
-
* 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.
|
|
4816
4931
|
* @summary Verify VP
|
|
4817
4932
|
* @param {VerifyPresentationDto} verifyPresentationDto
|
|
4818
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\'s date.
|
|
@@ -4865,7 +4980,7 @@ declare const CredentialsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4865
4980
|
*/
|
|
4866
4981
|
revoke(credentialId: string, aPIVersion?: string, revokeCredentialDto?: RevokeCredentialDto, options?: RawAxiosRequestConfig): AxiosPromise<RevokeCredentialEntity>;
|
|
4867
4982
|
/**
|
|
4868
|
-
* 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.
|
|
4869
4984
|
* @summary Verify VP
|
|
4870
4985
|
* @param {VerifyPresentationDto} verifyPresentationDto
|
|
4871
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\'s date.
|
|
@@ -4924,7 +5039,7 @@ declare class CredentialsApi extends BaseAPI {
|
|
|
4924
5039
|
*/
|
|
4925
5040
|
revoke(credentialId: string, aPIVersion?: string, revokeCredentialDto?: RevokeCredentialDto, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<RevokeCredentialEntity, any, {}>>;
|
|
4926
5041
|
/**
|
|
4927
|
-
* 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.
|
|
4928
5043
|
* @summary Verify VP
|
|
4929
5044
|
* @param {VerifyPresentationDto} verifyPresentationDto
|
|
4930
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\'s date.
|
|
@@ -5038,18 +5153,18 @@ declare const RequestsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
5038
5153
|
* @param {number} [pageIndex] Page number
|
|
5039
5154
|
* @param {number} [pageSize] Number of items per page
|
|
5040
5155
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
5156
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
5157
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
5041
5158
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
5042
5159
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
5043
5160
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
5044
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
5045
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
5046
5161
|
* @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\'s date.
|
|
5047
5162
|
* @param {*} [options] Override http request option.
|
|
5048
5163
|
* @throws {RequiredError}
|
|
5049
5164
|
*/
|
|
5050
|
-
list: (pageIndex?: number, pageSize?: number, search?: string,
|
|
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>;
|
|
5051
5166
|
/**
|
|
5052
|
-
* Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS
|
|
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
|
|
5053
5168
|
* @summary Resend OTP
|
|
5054
5169
|
* @param {string} requestId Unique identifier of the request.
|
|
5055
5170
|
* @param {string} [contact] Verified contact value (email or phone)
|
|
@@ -5101,18 +5216,18 @@ declare const RequestsApiFp: (configuration?: Configuration) => {
|
|
|
5101
5216
|
* @param {number} [pageIndex] Page number
|
|
5102
5217
|
* @param {number} [pageSize] Number of items per page
|
|
5103
5218
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
5219
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
5220
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
5104
5221
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
5105
5222
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
5106
5223
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
5107
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
5108
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
5109
5224
|
* @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\'s date.
|
|
5110
5225
|
* @param {*} [options] Override http request option.
|
|
5111
5226
|
* @throws {RequiredError}
|
|
5112
5227
|
*/
|
|
5113
|
-
list(pageIndex?: number, pageSize?: number, search?: string,
|
|
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>>;
|
|
5114
5229
|
/**
|
|
5115
|
-
* Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS
|
|
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
|
|
5116
5231
|
* @summary Resend OTP
|
|
5117
5232
|
* @param {string} requestId Unique identifier of the request.
|
|
5118
5233
|
* @param {string} [contact] Verified contact value (email or phone)
|
|
@@ -5164,18 +5279,18 @@ declare const RequestsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
5164
5279
|
* @param {number} [pageIndex] Page number
|
|
5165
5280
|
* @param {number} [pageSize] Number of items per page
|
|
5166
5281
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
5282
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
5283
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
5167
5284
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
5168
5285
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
5169
5286
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
5170
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
5171
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
5172
5287
|
* @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\'s date.
|
|
5173
5288
|
* @param {*} [options] Override http request option.
|
|
5174
5289
|
* @throws {RequiredError}
|
|
5175
5290
|
*/
|
|
5176
|
-
list(pageIndex?: number, pageSize?: number, search?: string,
|
|
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>;
|
|
5177
5292
|
/**
|
|
5178
|
-
* Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS
|
|
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
|
|
5179
5294
|
* @summary Resend OTP
|
|
5180
5295
|
* @param {string} requestId Unique identifier of the request.
|
|
5181
5296
|
* @param {string} [contact] Verified contact value (email or phone)
|
|
@@ -5232,19 +5347,19 @@ declare class RequestsApi extends BaseAPI {
|
|
|
5232
5347
|
* @param {number} [pageIndex] Page number
|
|
5233
5348
|
* @param {number} [pageSize] Number of items per page
|
|
5234
5349
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
5350
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
5351
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
5235
5352
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
5236
5353
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
5237
5354
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
5238
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
5239
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
5240
5355
|
* @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\'s date.
|
|
5241
5356
|
* @param {*} [options] Override http request option.
|
|
5242
5357
|
* @throws {RequiredError}
|
|
5243
5358
|
* @memberof RequestsApi
|
|
5244
5359
|
*/
|
|
5245
|
-
list(pageIndex?: number, pageSize?: number, search?: string,
|
|
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, {}>>;
|
|
5246
5361
|
/**
|
|
5247
|
-
* Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS
|
|
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
|
|
5248
5363
|
* @summary Resend OTP
|
|
5249
5364
|
* @param {string} requestId Unique identifier of the request.
|
|
5250
5365
|
* @param {string} [contact] Verified contact value (email or phone)
|
|
@@ -5406,7 +5521,7 @@ declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
5406
5521
|
*/
|
|
5407
5522
|
identity: (identityEvent: IdentityEvent, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5408
5523
|
/**
|
|
5409
|
-
* Fired when an OTP delivery to the
|
|
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.
|
|
5410
5525
|
* @summary OTP Failed Event
|
|
5411
5526
|
* @param {OtpFailedEvent} otpFailedEvent
|
|
5412
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\'s date.
|
|
@@ -5448,7 +5563,7 @@ declare const WebhooksApiFp: (configuration?: Configuration) => {
|
|
|
5448
5563
|
*/
|
|
5449
5564
|
identity(identityEvent: IdentityEvent, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5450
5565
|
/**
|
|
5451
|
-
* Fired when an OTP delivery to the
|
|
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.
|
|
5452
5567
|
* @summary OTP Failed Event
|
|
5453
5568
|
* @param {OtpFailedEvent} otpFailedEvent
|
|
5454
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\'s date.
|
|
@@ -5490,7 +5605,7 @@ declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
5490
5605
|
*/
|
|
5491
5606
|
identity(identityEvent: IdentityEvent, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
5492
5607
|
/**
|
|
5493
|
-
* Fired when an OTP delivery to the
|
|
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.
|
|
5494
5609
|
* @summary OTP Failed Event
|
|
5495
5610
|
* @param {OtpFailedEvent} otpFailedEvent
|
|
5496
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\'s date.
|
|
@@ -5536,7 +5651,7 @@ declare class WebhooksApi extends BaseAPI {
|
|
|
5536
5651
|
*/
|
|
5537
5652
|
identity(identityEvent: IdentityEvent, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
|
|
5538
5653
|
/**
|
|
5539
|
-
* Fired when an OTP delivery to the
|
|
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.
|
|
5540
5655
|
* @summary OTP Failed Event
|
|
5541
5656
|
* @param {OtpFailedEvent} otpFailedEvent
|
|
5542
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\'s date.
|
|
@@ -5558,7 +5673,7 @@ declare class WebhooksApi extends BaseAPI {
|
|
|
5558
5673
|
}
|
|
5559
5674
|
|
|
5560
5675
|
/** The API version this SDK release is pinned to (YYYY-MM-DD). */
|
|
5561
|
-
declare const API_VERSION = "2026-
|
|
5676
|
+
declare const API_VERSION = "2026-06-22";
|
|
5562
5677
|
/** Identifies this SDK's language in request headers. */
|
|
5563
5678
|
declare const SDK_LANGUAGE = "typescript";
|
|
5564
5679
|
interface HumanosClientConfig {
|
|
@@ -5700,4 +5815,4 @@ declare function processWebhook<T = unknown>(rawBody: string, headers: WebhookHe
|
|
|
5700
5815
|
*/
|
|
5701
5816
|
declare function createWebhookHandler<T = unknown>(config: WebhookConfig, handler: (payload: T) => void | Promise<void>): (req: any, res: any) => Promise<void>;
|
|
5702
5817
|
|
|
5703
|
-
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
|
|
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 };
|