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.js
CHANGED
|
@@ -62,6 +62,7 @@ __export(index_exports, {
|
|
|
62
62
|
DIDApiFp: () => DIDApiFp,
|
|
63
63
|
DeliveryActionType: () => DeliveryActionType,
|
|
64
64
|
GenerateRequestDtoSecurityLevelEnum: () => GenerateRequestDtoSecurityLevelEnum,
|
|
65
|
+
GenerateRequestUserDtoLanguageEnum: () => GenerateRequestUserDtoLanguageEnum,
|
|
65
66
|
HumanosClient: () => HumanosClient,
|
|
66
67
|
IdentityEventEventTypeEnum: () => IdentityEventEventTypeEnum,
|
|
67
68
|
ListSecurityLevelEnum: () => ListSecurityLevelEnum,
|
|
@@ -393,18 +394,18 @@ var ActivityApiAxiosParamCreator = function(configuration) {
|
|
|
393
394
|
* @summary List Activity Events
|
|
394
395
|
* @param {number} [pageIndex] Page number
|
|
395
396
|
* @param {number} [pageSize] Number of items per page
|
|
397
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
398
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
396
399
|
* @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.
|
|
397
400
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
398
401
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
399
402
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
400
403
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
401
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
402
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
403
404
|
* @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.
|
|
404
405
|
* @param {*} [options] Override http request option.
|
|
405
406
|
* @throws {RequiredError}
|
|
406
407
|
*/
|
|
407
|
-
list: async (pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
408
|
+
list: async (pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options = {}) => {
|
|
408
409
|
const localVarPath = `/activity`;
|
|
409
410
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
410
411
|
let baseOptions;
|
|
@@ -420,6 +421,12 @@ var ActivityApiAxiosParamCreator = function(configuration) {
|
|
|
420
421
|
if (pageSize !== void 0) {
|
|
421
422
|
localVarQueryParameter["pageSize"] = pageSize;
|
|
422
423
|
}
|
|
424
|
+
if (dateFrom !== void 0) {
|
|
425
|
+
localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
|
|
426
|
+
}
|
|
427
|
+
if (dateTo !== void 0) {
|
|
428
|
+
localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
|
|
429
|
+
}
|
|
423
430
|
if (type) {
|
|
424
431
|
localVarQueryParameter["type"] = type;
|
|
425
432
|
}
|
|
@@ -435,12 +442,6 @@ var ActivityApiAxiosParamCreator = function(configuration) {
|
|
|
435
442
|
if (subjectDid !== void 0) {
|
|
436
443
|
localVarQueryParameter["subjectDid"] = subjectDid;
|
|
437
444
|
}
|
|
438
|
-
if (dateFrom !== void 0) {
|
|
439
|
-
localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
|
|
440
|
-
}
|
|
441
|
-
if (dateTo !== void 0) {
|
|
442
|
-
localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
|
|
443
|
-
}
|
|
444
445
|
if (aPIVersion != null) {
|
|
445
446
|
localVarHeaderParameter["API-Version"] = String(aPIVersion);
|
|
446
447
|
}
|
|
@@ -462,19 +463,19 @@ var ActivityApiFp = function(configuration) {
|
|
|
462
463
|
* @summary List Activity Events
|
|
463
464
|
* @param {number} [pageIndex] Page number
|
|
464
465
|
* @param {number} [pageSize] Number of items per page
|
|
466
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
467
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
465
468
|
* @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.
|
|
466
469
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
467
470
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
468
471
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
469
472
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
470
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
471
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
472
473
|
* @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.
|
|
473
474
|
* @param {*} [options] Override http request option.
|
|
474
475
|
* @throws {RequiredError}
|
|
475
476
|
*/
|
|
476
|
-
async list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
477
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
477
|
+
async list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
|
|
478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options);
|
|
478
479
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
479
480
|
const localVarOperationServerBasePath = operationServerMap["ActivityApi.list"]?.[localVarOperationServerIndex]?.url;
|
|
480
481
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios3.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
@@ -489,19 +490,19 @@ var ActivityApiFactory = function(configuration, basePath, axios2) {
|
|
|
489
490
|
* @summary List Activity Events
|
|
490
491
|
* @param {number} [pageIndex] Page number
|
|
491
492
|
* @param {number} [pageSize] Number of items per page
|
|
493
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
494
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
492
495
|
* @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.
|
|
493
496
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
494
497
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
495
498
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
496
499
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
497
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
498
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
499
500
|
* @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.
|
|
500
501
|
* @param {*} [options] Override http request option.
|
|
501
502
|
* @throws {RequiredError}
|
|
502
503
|
*/
|
|
503
|
-
list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
504
|
-
return localVarFp.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
504
|
+
list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
|
|
505
|
+
return localVarFp.list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options).then((request) => request(axios2, basePath));
|
|
505
506
|
}
|
|
506
507
|
};
|
|
507
508
|
};
|
|
@@ -511,20 +512,20 @@ var ActivityApi = class extends BaseAPI {
|
|
|
511
512
|
* @summary List Activity Events
|
|
512
513
|
* @param {number} [pageIndex] Page number
|
|
513
514
|
* @param {number} [pageSize] Number of items per page
|
|
515
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
516
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
514
517
|
* @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.
|
|
515
518
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
516
519
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
517
520
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
518
521
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
519
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
520
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
521
522
|
* @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.
|
|
522
523
|
* @param {*} [options] Override http request option.
|
|
523
524
|
* @throws {RequiredError}
|
|
524
525
|
* @memberof ActivityApi
|
|
525
526
|
*/
|
|
526
|
-
list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
527
|
-
return ActivityApiFp(this.configuration).list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
527
|
+
list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
|
|
528
|
+
return ActivityApiFp(this.configuration).list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options).then((request) => request(this.axios, this.basePath));
|
|
528
529
|
}
|
|
529
530
|
};
|
|
530
531
|
var ListTypeEnum = {
|
|
@@ -773,7 +774,6 @@ var ListTypesEnum = {
|
|
|
773
774
|
Form: "FORM",
|
|
774
775
|
Document: "DOCUMENT",
|
|
775
776
|
Json: "JSON",
|
|
776
|
-
Payment: "PAYMENT",
|
|
777
777
|
Policy: "POLICY"
|
|
778
778
|
};
|
|
779
779
|
var WorkflowsTypesEnum = {
|
|
@@ -781,7 +781,6 @@ var WorkflowsTypesEnum = {
|
|
|
781
781
|
Form: "FORM",
|
|
782
782
|
Document: "DOCUMENT",
|
|
783
783
|
Json: "JSON",
|
|
784
|
-
Payment: "PAYMENT",
|
|
785
784
|
Policy: "POLICY"
|
|
786
785
|
};
|
|
787
786
|
|
|
@@ -917,7 +916,7 @@ var CredentialsApiAxiosParamCreator = function(configuration) {
|
|
|
917
916
|
};
|
|
918
917
|
},
|
|
919
918
|
/**
|
|
920
|
-
* 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.
|
|
919
|
+
* 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.
|
|
921
920
|
* @summary Verify VP
|
|
922
921
|
* @param {VerifyPresentationDto} verifyPresentationDto
|
|
923
922
|
* @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.
|
|
@@ -1012,7 +1011,7 @@ var CredentialsApiFp = function(configuration) {
|
|
|
1012
1011
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios5.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
1013
1012
|
},
|
|
1014
1013
|
/**
|
|
1015
|
-
* 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.
|
|
1014
|
+
* 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.
|
|
1016
1015
|
* @summary Verify VP
|
|
1017
1016
|
* @param {VerifyPresentationDto} verifyPresentationDto
|
|
1018
1017
|
* @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.
|
|
@@ -1077,7 +1076,7 @@ var CredentialsApiFactory = function(configuration, basePath, axios2) {
|
|
|
1077
1076
|
return localVarFp.revoke(credentialId, aPIVersion, revokeCredentialDto, options).then((request) => request(axios2, basePath));
|
|
1078
1077
|
},
|
|
1079
1078
|
/**
|
|
1080
|
-
* 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.
|
|
1079
|
+
* 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.
|
|
1081
1080
|
* @summary Verify VP
|
|
1082
1081
|
* @param {VerifyPresentationDto} verifyPresentationDto
|
|
1083
1082
|
* @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.
|
|
@@ -1141,7 +1140,7 @@ var CredentialsApi = class extends BaseAPI {
|
|
|
1141
1140
|
return CredentialsApiFp(this.configuration).revoke(credentialId, aPIVersion, revokeCredentialDto, options).then((request) => request(this.axios, this.basePath));
|
|
1142
1141
|
}
|
|
1143
1142
|
/**
|
|
1144
|
-
* 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.
|
|
1143
|
+
* 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.
|
|
1145
1144
|
* @summary Verify VP
|
|
1146
1145
|
* @param {VerifyPresentationDto} verifyPresentationDto
|
|
1147
1146
|
* @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.
|
|
@@ -1346,16 +1345,16 @@ var RequestsApiAxiosParamCreator = function(configuration) {
|
|
|
1346
1345
|
* @param {number} [pageIndex] Page number
|
|
1347
1346
|
* @param {number} [pageSize] Number of items per page
|
|
1348
1347
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
1348
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
1349
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
1349
1350
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
1350
1351
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
1351
1352
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
1352
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
1353
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
1354
1353
|
* @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.
|
|
1355
1354
|
* @param {*} [options] Override http request option.
|
|
1356
1355
|
* @throws {RequiredError}
|
|
1357
1356
|
*/
|
|
1358
|
-
list: async (pageIndex, pageSize, search,
|
|
1357
|
+
list: async (pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options = {}) => {
|
|
1359
1358
|
const localVarPath = `/request`;
|
|
1360
1359
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1361
1360
|
let baseOptions;
|
|
@@ -1374,6 +1373,12 @@ var RequestsApiAxiosParamCreator = function(configuration) {
|
|
|
1374
1373
|
if (search !== void 0) {
|
|
1375
1374
|
localVarQueryParameter["search"] = search;
|
|
1376
1375
|
}
|
|
1376
|
+
if (dateFrom !== void 0) {
|
|
1377
|
+
localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
|
|
1378
|
+
}
|
|
1379
|
+
if (dateTo !== void 0) {
|
|
1380
|
+
localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
|
|
1381
|
+
}
|
|
1377
1382
|
if (subject !== void 0) {
|
|
1378
1383
|
localVarQueryParameter["subject"] = subject;
|
|
1379
1384
|
}
|
|
@@ -1383,12 +1388,6 @@ var RequestsApiAxiosParamCreator = function(configuration) {
|
|
|
1383
1388
|
if (securityLevel) {
|
|
1384
1389
|
localVarQueryParameter["securityLevel"] = securityLevel;
|
|
1385
1390
|
}
|
|
1386
|
-
if (dateFrom !== void 0) {
|
|
1387
|
-
localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
|
|
1388
|
-
}
|
|
1389
|
-
if (dateTo !== void 0) {
|
|
1390
|
-
localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
|
|
1391
|
-
}
|
|
1392
1391
|
if (aPIVersion != null) {
|
|
1393
1392
|
localVarHeaderParameter["API-Version"] = String(aPIVersion);
|
|
1394
1393
|
}
|
|
@@ -1401,7 +1400,7 @@ var RequestsApiAxiosParamCreator = function(configuration) {
|
|
|
1401
1400
|
};
|
|
1402
1401
|
},
|
|
1403
1402
|
/**
|
|
1404
|
-
* Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS
|
|
1403
|
+
* 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
|
|
1405
1404
|
* @summary Resend OTP
|
|
1406
1405
|
* @param {string} requestId Unique identifier of the request.
|
|
1407
1406
|
* @param {string} [contact] Verified contact value (email or phone)
|
|
@@ -1500,23 +1499,23 @@ var RequestsApiFp = function(configuration) {
|
|
|
1500
1499
|
* @param {number} [pageIndex] Page number
|
|
1501
1500
|
* @param {number} [pageSize] Number of items per page
|
|
1502
1501
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
1502
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
1503
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
1503
1504
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
1504
1505
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
1505
1506
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
1506
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
1507
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
1508
1507
|
* @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.
|
|
1509
1508
|
* @param {*} [options] Override http request option.
|
|
1510
1509
|
* @throws {RequiredError}
|
|
1511
1510
|
*/
|
|
1512
|
-
async list(pageIndex, pageSize, search,
|
|
1513
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search,
|
|
1511
|
+
async list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
|
|
1512
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options);
|
|
1514
1513
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1515
1514
|
const localVarOperationServerBasePath = operationServerMap["RequestsApi.list"]?.[localVarOperationServerIndex]?.url;
|
|
1516
1515
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios7.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
1517
1516
|
},
|
|
1518
1517
|
/**
|
|
1519
|
-
* Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS
|
|
1518
|
+
* 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
|
|
1520
1519
|
* @summary Resend OTP
|
|
1521
1520
|
* @param {string} requestId Unique identifier of the request.
|
|
1522
1521
|
* @param {string} [contact] Verified contact value (email or phone)
|
|
@@ -1578,20 +1577,20 @@ var RequestsApiFactory = function(configuration, basePath, axios2) {
|
|
|
1578
1577
|
* @param {number} [pageIndex] Page number
|
|
1579
1578
|
* @param {number} [pageSize] Number of items per page
|
|
1580
1579
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
1580
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
1581
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
1581
1582
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
1582
1583
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
1583
1584
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
1584
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
1585
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
1586
1585
|
* @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.
|
|
1587
1586
|
* @param {*} [options] Override http request option.
|
|
1588
1587
|
* @throws {RequiredError}
|
|
1589
1588
|
*/
|
|
1590
|
-
list(pageIndex, pageSize, search,
|
|
1591
|
-
return localVarFp.list(pageIndex, pageSize, search,
|
|
1589
|
+
list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
|
|
1590
|
+
return localVarFp.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(axios2, basePath));
|
|
1592
1591
|
},
|
|
1593
1592
|
/**
|
|
1594
|
-
* Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS
|
|
1593
|
+
* 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
|
|
1595
1594
|
* @summary Resend OTP
|
|
1596
1595
|
* @param {string} requestId Unique identifier of the request.
|
|
1597
1596
|
* @param {string} [contact] Verified contact value (email or phone)
|
|
@@ -1651,21 +1650,21 @@ var RequestsApi = class extends BaseAPI {
|
|
|
1651
1650
|
* @param {number} [pageIndex] Page number
|
|
1652
1651
|
* @param {number} [pageSize] Number of items per page
|
|
1653
1652
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
1653
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
1654
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
1654
1655
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
1655
1656
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
1656
1657
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
1657
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
1658
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
1659
1658
|
* @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.
|
|
1660
1659
|
* @param {*} [options] Override http request option.
|
|
1661
1660
|
* @throws {RequiredError}
|
|
1662
1661
|
* @memberof RequestsApi
|
|
1663
1662
|
*/
|
|
1664
|
-
list(pageIndex, pageSize, search,
|
|
1665
|
-
return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search,
|
|
1663
|
+
list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
|
|
1664
|
+
return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(this.axios, this.basePath));
|
|
1666
1665
|
}
|
|
1667
1666
|
/**
|
|
1668
|
-
* Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS
|
|
1667
|
+
* 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
|
|
1669
1668
|
* @summary Resend OTP
|
|
1670
1669
|
* @param {string} requestId Unique identifier of the request.
|
|
1671
1670
|
* @param {string} [contact] Verified contact value (email or phone)
|
|
@@ -1935,7 +1934,7 @@ var WebhooksApiAxiosParamCreator = function(configuration) {
|
|
|
1935
1934
|
};
|
|
1936
1935
|
},
|
|
1937
1936
|
/**
|
|
1938
|
-
* Fired when an OTP delivery to the
|
|
1937
|
+
* 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.
|
|
1939
1938
|
* @summary OTP Failed Event
|
|
1940
1939
|
* @param {OtpFailedEvent} otpFailedEvent
|
|
1941
1940
|
* @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.
|
|
@@ -2032,7 +2031,7 @@ var WebhooksApiFp = function(configuration) {
|
|
|
2032
2031
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios9.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
2033
2032
|
},
|
|
2034
2033
|
/**
|
|
2035
|
-
* Fired when an OTP delivery to the
|
|
2034
|
+
* 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.
|
|
2036
2035
|
* @summary OTP Failed Event
|
|
2037
2036
|
* @param {OtpFailedEvent} otpFailedEvent
|
|
2038
2037
|
* @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.
|
|
@@ -2087,7 +2086,7 @@ var WebhooksApiFactory = function(configuration, basePath, axios2) {
|
|
|
2087
2086
|
return localVarFp.identity(identityEvent, aPIVersion, options).then((request) => request(axios2, basePath));
|
|
2088
2087
|
},
|
|
2089
2088
|
/**
|
|
2090
|
-
* Fired when an OTP delivery to the
|
|
2089
|
+
* 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.
|
|
2091
2090
|
* @summary OTP Failed Event
|
|
2092
2091
|
* @param {OtpFailedEvent} otpFailedEvent
|
|
2093
2092
|
* @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.
|
|
@@ -2136,7 +2135,7 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
2136
2135
|
return WebhooksApiFp(this.configuration).identity(identityEvent, aPIVersion, options).then((request) => request(this.axios, this.basePath));
|
|
2137
2136
|
}
|
|
2138
2137
|
/**
|
|
2139
|
-
* Fired when an OTP delivery to the
|
|
2138
|
+
* 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.
|
|
2140
2139
|
* @summary OTP Failed Event
|
|
2141
2140
|
* @param {OtpFailedEvent} otpFailedEvent
|
|
2142
2141
|
* @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.
|
|
@@ -2291,6 +2290,14 @@ var GenerateRequestDtoSecurityLevelEnum = {
|
|
|
2291
2290
|
HumanosRevalidation: "HUMANOS_REVALIDATION"
|
|
2292
2291
|
};
|
|
2293
2292
|
|
|
2293
|
+
// generated/models/generate-request-user-dto.ts
|
|
2294
|
+
var GenerateRequestUserDtoLanguageEnum = {
|
|
2295
|
+
Eng: "ENG",
|
|
2296
|
+
Prt: "PRT",
|
|
2297
|
+
Spa: "SPA",
|
|
2298
|
+
Fra: "FRA"
|
|
2299
|
+
};
|
|
2300
|
+
|
|
2294
2301
|
// generated/models/identity-event.ts
|
|
2295
2302
|
var IdentityEventEventTypeEnum = {
|
|
2296
2303
|
Identity: "identity"
|
|
@@ -2355,7 +2362,6 @@ var ResourceEntityTypeEnum = {
|
|
|
2355
2362
|
Form: "FORM",
|
|
2356
2363
|
Document: "DOCUMENT",
|
|
2357
2364
|
Json: "JSON",
|
|
2358
|
-
Payment: "PAYMENT",
|
|
2359
2365
|
Policy: "POLICY"
|
|
2360
2366
|
};
|
|
2361
2367
|
|
|
@@ -2365,7 +2371,6 @@ var ResourceMinimalEntityTypeEnum = {
|
|
|
2365
2371
|
Form: "FORM",
|
|
2366
2372
|
Document: "DOCUMENT",
|
|
2367
2373
|
Json: "JSON",
|
|
2368
|
-
Payment: "PAYMENT",
|
|
2369
2374
|
Policy: "POLICY"
|
|
2370
2375
|
};
|
|
2371
2376
|
|
|
@@ -2375,7 +2380,6 @@ var ResourceQueryTypesEnum = {
|
|
|
2375
2380
|
Form: "FORM",
|
|
2376
2381
|
Document: "DOCUMENT",
|
|
2377
2382
|
Json: "JSON",
|
|
2378
|
-
Payment: "PAYMENT",
|
|
2379
2383
|
Policy: "POLICY"
|
|
2380
2384
|
};
|
|
2381
2385
|
|
|
@@ -2452,7 +2456,7 @@ function applySignatureInterceptor(axiosInstance, signatureSecret) {
|
|
|
2452
2456
|
}
|
|
2453
2457
|
|
|
2454
2458
|
// src/client.ts
|
|
2455
|
-
var API_VERSION = "2026-
|
|
2459
|
+
var API_VERSION = "2026-06-22";
|
|
2456
2460
|
var SDK_LANGUAGE = "typescript";
|
|
2457
2461
|
var HumanosClient = class {
|
|
2458
2462
|
constructor(clientConfig) {
|
|
@@ -2602,6 +2606,7 @@ function createWebhookHandler(config, handler) {
|
|
|
2602
2606
|
DIDApiFp,
|
|
2603
2607
|
DeliveryActionType,
|
|
2604
2608
|
GenerateRequestDtoSecurityLevelEnum,
|
|
2609
|
+
GenerateRequestUserDtoLanguageEnum,
|
|
2605
2610
|
HumanosClient,
|
|
2606
2611
|
IdentityEventEventTypeEnum,
|
|
2607
2612
|
ListSecurityLevelEnum,
|