humanos 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/index.d.mts +435 -321
  2. package/dist/index.d.ts +435 -321
  3. package/dist/index.js +15 -18
  4. package/dist/index.mjs +15 -18
  5. package/generated/.openapi-generator/FILES +9 -6
  6. package/generated/api/actions-api.ts +1 -1
  7. package/generated/api/activity-api.ts +1 -1
  8. package/generated/api/approval-api.ts +1 -1
  9. package/generated/api/credentials-api.ts +16 -16
  10. package/generated/api/didapi.ts +1 -1
  11. package/generated/api/requests-api.ts +5 -1
  12. package/generated/api/user-api.ts +1 -1
  13. package/generated/api/webhooks-api.ts +1 -1
  14. package/generated/api.ts +1 -1
  15. package/generated/base.ts +1 -1
  16. package/generated/common.ts +1 -1
  17. package/generated/configuration.ts +1 -1
  18. package/generated/index.ts +1 -1
  19. package/generated/models/action-dto.ts +1 -1
  20. package/generated/models/action-entity.ts +1 -1
  21. package/generated/models/action-list-entity.ts +1 -1
  22. package/generated/models/action-query.ts +1 -1
  23. package/generated/models/action-version-detail-entity.ts +1 -1
  24. package/generated/models/action-version-list-entity.ts +1 -1
  25. package/generated/models/action-version-summary-entity.ts +1 -1
  26. package/generated/models/activities-entity.ts +1 -1
  27. package/generated/models/activity-entity.ts +1 -1
  28. package/generated/models/activity-query.ts +1 -1
  29. package/generated/models/consent.ts +1 -1
  30. package/generated/models/contact-entity.ts +1 -1
  31. package/generated/models/create-presentation-dto.ts +2 -2
  32. package/generated/models/create-subject-dto.ts +1 -1
  33. package/generated/models/create-subject-entity.ts +4 -7
  34. package/generated/models/credential-dto-data.ts +1 -1
  35. package/generated/models/credential-dto.ts +1 -1
  36. package/generated/models/credential-entity.ts +3 -3
  37. package/generated/models/credential-event-decision.ts +1 -1
  38. package/generated/models/credential-event-user.ts +1 -1
  39. package/generated/models/credential-event.ts +1 -1
  40. package/generated/models/credential-placement-dto.ts +1 -1
  41. package/generated/models/{w3-cverifiable-credential-proofs-inner.ts → credential-proof.ts} +21 -9
  42. package/generated/models/credential-status.ts +1 -1
  43. package/generated/models/credentials-detail404-response.ts +1 -1
  44. package/generated/models/credentials-evidence404-response.ts +1 -1
  45. package/generated/models/credentials-issue-vp400-response.ts +1 -1
  46. package/generated/models/credentials-issue-vp403-response.ts +1 -1
  47. package/generated/models/credentials-issue-vp404-response.ts +1 -1
  48. package/generated/models/credentials-revoke400-response.ts +1 -1
  49. package/generated/models/credentials-revoke409-response.ts +1 -1
  50. package/generated/models/delivery-action-type.ts +1 -1
  51. package/generated/models/did-document-entity.ts +1 -1
  52. package/generated/models/evidence.ts +1 -1
  53. package/generated/models/generate-credential-entity.ts +1 -1
  54. package/generated/models/generate-request-dto.ts +1 -1
  55. package/generated/models/generate-request-entity.ts +1 -1
  56. package/generated/models/generate-request-iframe-cookie-dto.ts +36 -0
  57. package/generated/models/generate-request-iframe-dto.ts +10 -1
  58. package/generated/models/generate-request-user-dto.ts +1 -1
  59. package/generated/models/generate-subject-entity.ts +1 -1
  60. package/generated/models/group-entity.ts +1 -1
  61. package/generated/models/groups-entity.ts +1 -1
  62. package/generated/models/identity-dto.ts +1 -1
  63. package/generated/models/identity-event-decision.ts +1 -1
  64. package/generated/models/identity-event-user.ts +1 -1
  65. package/generated/models/identity-event.ts +1 -1
  66. package/generated/models/identity-webhook-issue-date.ts +1 -1
  67. package/generated/models/identity-webhook.ts +1 -1
  68. package/generated/models/index.ts +9 -6
  69. package/generated/models/{w3-cverifiable-credential-credential-subject-mandate-action.ts → mandate-action.ts} +6 -6
  70. package/generated/models/{w3-cverifiable-credential-credential-subject-mandate-context.ts → mandate-context.ts} +4 -4
  71. package/generated/models/{w3-cverifiable-credential-credential-subject-mandate-grantor.ts → mandate-grantor.ts} +3 -3
  72. package/generated/models/mandate.ts +65 -0
  73. package/generated/models/organization-data-entity.ts +1 -1
  74. package/generated/models/otp-error.ts +1 -1
  75. package/generated/models/otp-failed-event-otp.ts +1 -1
  76. package/generated/models/otp-failed-event.ts +1 -1
  77. package/generated/models/partial-subject-entity.ts +1 -1
  78. package/generated/models/{presentation-response-entity.ts → presentation-entity.ts} +7 -7
  79. package/generated/models/receipt-entity.ts +1 -1
  80. package/generated/models/request-credential-entity.ts +1 -1
  81. package/generated/models/request-detail-entity.ts +1 -1
  82. package/generated/models/request-detail-subject-entity.ts +1 -1
  83. package/generated/models/request-entity.ts +1 -1
  84. package/generated/models/request-query.ts +1 -1
  85. package/generated/models/request-subject-entity.ts +1 -1
  86. package/generated/models/requests-create400-response.ts +1 -1
  87. package/generated/models/requests-create402-response.ts +42 -0
  88. package/generated/models/requests-create409-response.ts +42 -0
  89. package/generated/models/requests-detail404-response.ts +1 -1
  90. package/generated/models/requests-entity.ts +1 -1
  91. package/generated/models/requests-resend-otp403-response.ts +1 -1
  92. package/generated/models/resource-entity.ts +1 -1
  93. package/generated/models/resource-minimal-entity.ts +1 -1
  94. package/generated/models/resource-query.ts +1 -1
  95. package/generated/models/resources-entity.ts +1 -1
  96. package/generated/models/revoke-credential-dto.ts +1 -1
  97. package/generated/models/revoke-credential-entity.ts +1 -10
  98. package/generated/models/subject-issuer-entity.ts +1 -1
  99. package/generated/models/subject-query.ts +1 -1
  100. package/generated/models/success-entity.ts +1 -1
  101. package/generated/models/test-event.ts +1 -1
  102. package/generated/models/user-create400-response.ts +1 -1
  103. package/generated/models/user-detail400-response.ts +1 -1
  104. package/generated/models/user-detail404-response.ts +1 -1
  105. package/generated/models/verification-method-entity.ts +1 -1
  106. package/generated/models/verify-allow-response-entity.ts +1 -1
  107. package/generated/models/verify-deny-response-entity.ts +1 -1
  108. package/generated/models/verify-evaluation-entity.ts +1 -1
  109. package/generated/models/verify-presentation-dto.ts +3 -3
  110. package/generated/models/w3-cverifiable-credential-credential-subject.ts +4 -4
  111. package/generated/models/w3-cverifiable-credential.ts +6 -6
  112. package/generated/models/webhook-call-event.ts +1 -1
  113. package/package.json +1 -1
  114. package/generated/models/w3-cverifiable-credential-credential-subject-mandate.ts +0 -65
package/dist/index.js CHANGED
@@ -851,7 +851,7 @@ var CredentialsApiAxiosParamCreator = function(configuration) {
851
851
  /**
852
852
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
853
853
  * @summary Issue VP
854
- * @param {string} vcId DID of the credential to present.
854
+ * @param {string} vcId URN of the credential to present.
855
855
  * @param {CreatePresentationDto} createPresentationDto
856
856
  * @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.
857
857
  * @param {*} [options] Override http request option.
@@ -883,7 +883,7 @@ var CredentialsApiAxiosParamCreator = function(configuration) {
883
883
  };
884
884
  },
885
885
  /**
886
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
886
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
887
887
  * @summary Revoke Credential
888
888
  * @param {string} credentialId URN of the credential to revoke
889
889
  * @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.
@@ -916,7 +916,7 @@ var CredentialsApiAxiosParamCreator = function(configuration) {
916
916
  };
917
917
  },
918
918
  /**
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.
919
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
920
920
  * @summary Verify VP
921
921
  * @param {VerifyPresentationDto} verifyPresentationDto
922
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.
@@ -983,7 +983,7 @@ var CredentialsApiFp = function(configuration) {
983
983
  /**
984
984
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
985
985
  * @summary Issue VP
986
- * @param {string} vcId DID of the credential to present.
986
+ * @param {string} vcId URN of the credential to present.
987
987
  * @param {CreatePresentationDto} createPresentationDto
988
988
  * @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.
989
989
  * @param {*} [options] Override http request option.
@@ -996,7 +996,7 @@ var CredentialsApiFp = function(configuration) {
996
996
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios5.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
997
997
  },
998
998
  /**
999
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
999
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
1000
1000
  * @summary Revoke Credential
1001
1001
  * @param {string} credentialId URN of the credential to revoke
1002
1002
  * @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.
@@ -1011,7 +1011,7 @@ var CredentialsApiFp = function(configuration) {
1011
1011
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios5.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
1012
1012
  },
1013
1013
  /**
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.
1014
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
1015
1015
  * @summary Verify VP
1016
1016
  * @param {VerifyPresentationDto} verifyPresentationDto
1017
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.
@@ -1054,7 +1054,7 @@ var CredentialsApiFactory = function(configuration, basePath, axios2) {
1054
1054
  /**
1055
1055
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
1056
1056
  * @summary Issue VP
1057
- * @param {string} vcId DID of the credential to present.
1057
+ * @param {string} vcId URN of the credential to present.
1058
1058
  * @param {CreatePresentationDto} createPresentationDto
1059
1059
  * @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.
1060
1060
  * @param {*} [options] Override http request option.
@@ -1064,7 +1064,7 @@ var CredentialsApiFactory = function(configuration, basePath, axios2) {
1064
1064
  return localVarFp.issueVP(vcId, createPresentationDto, aPIVersion, options).then((request) => request(axios2, basePath));
1065
1065
  },
1066
1066
  /**
1067
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
1067
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
1068
1068
  * @summary Revoke Credential
1069
1069
  * @param {string} credentialId URN of the credential to revoke
1070
1070
  * @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.
@@ -1076,7 +1076,7 @@ var CredentialsApiFactory = function(configuration, basePath, axios2) {
1076
1076
  return localVarFp.revoke(credentialId, aPIVersion, revokeCredentialDto, options).then((request) => request(axios2, basePath));
1077
1077
  },
1078
1078
  /**
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.
1079
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
1080
1080
  * @summary Verify VP
1081
1081
  * @param {VerifyPresentationDto} verifyPresentationDto
1082
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.
@@ -1116,7 +1116,7 @@ var CredentialsApi = class extends BaseAPI {
1116
1116
  /**
1117
1117
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
1118
1118
  * @summary Issue VP
1119
- * @param {string} vcId DID of the credential to present.
1119
+ * @param {string} vcId URN of the credential to present.
1120
1120
  * @param {CreatePresentationDto} createPresentationDto
1121
1121
  * @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.
1122
1122
  * @param {*} [options] Override http request option.
@@ -1127,7 +1127,7 @@ var CredentialsApi = class extends BaseAPI {
1127
1127
  return CredentialsApiFp(this.configuration).issueVP(vcId, createPresentationDto, aPIVersion, options).then((request) => request(this.axios, this.basePath));
1128
1128
  }
1129
1129
  /**
1130
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
1130
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
1131
1131
  * @summary Revoke Credential
1132
1132
  * @param {string} credentialId URN of the credential to revoke
1133
1133
  * @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.
@@ -1140,7 +1140,7 @@ var CredentialsApi = class extends BaseAPI {
1140
1140
  return CredentialsApiFp(this.configuration).revoke(credentialId, aPIVersion, revokeCredentialDto, options).then((request) => request(this.axios, this.basePath));
1141
1141
  }
1142
1142
  /**
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.
1143
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
1144
1144
  * @summary Verify VP
1145
1145
  * @param {VerifyPresentationDto} verifyPresentationDto
1146
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.
@@ -2222,14 +2222,11 @@ var ActivityQueryTypeEnum = {
2222
2222
 
2223
2223
  // generated/models/create-subject-entity.ts
2224
2224
  var CreateSubjectEntityStatusEnum = {
2225
- NUMBER_200: 200,
2226
2225
  NUMBER_201: 201,
2227
2226
  NUMBER_400: 400,
2228
- NUMBER_402: 402,
2229
- NUMBER_407: 407,
2230
- NUMBER_408: 408,
2231
2227
  NUMBER_409: 409,
2232
- NUMBER_410: 410
2228
+ NUMBER_410: 410,
2229
+ NUMBER_500: 500
2233
2230
  };
2234
2231
 
2235
2232
  // generated/models/credential-dto.ts
@@ -2456,7 +2453,7 @@ function applySignatureInterceptor(axiosInstance, signatureSecret) {
2456
2453
  }
2457
2454
 
2458
2455
  // src/client.ts
2459
- var API_VERSION = "2026-06-22";
2456
+ var API_VERSION = "2026-07-07";
2460
2457
  var SDK_LANGUAGE = "typescript";
2461
2458
  var HumanosClient = class {
2462
2459
  constructor(clientConfig) {
package/dist/index.mjs CHANGED
@@ -740,7 +740,7 @@ var CredentialsApiAxiosParamCreator = function(configuration) {
740
740
  /**
741
741
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
742
742
  * @summary Issue VP
743
- * @param {string} vcId DID of the credential to present.
743
+ * @param {string} vcId URN of the credential to present.
744
744
  * @param {CreatePresentationDto} createPresentationDto
745
745
  * @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.
746
746
  * @param {*} [options] Override http request option.
@@ -772,7 +772,7 @@ var CredentialsApiAxiosParamCreator = function(configuration) {
772
772
  };
773
773
  },
774
774
  /**
775
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
775
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
776
776
  * @summary Revoke Credential
777
777
  * @param {string} credentialId URN of the credential to revoke
778
778
  * @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.
@@ -805,7 +805,7 @@ var CredentialsApiAxiosParamCreator = function(configuration) {
805
805
  };
806
806
  },
807
807
  /**
808
- * 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.
808
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
809
809
  * @summary Verify VP
810
810
  * @param {VerifyPresentationDto} verifyPresentationDto
811
811
  * @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.
@@ -872,7 +872,7 @@ var CredentialsApiFp = function(configuration) {
872
872
  /**
873
873
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
874
874
  * @summary Issue VP
875
- * @param {string} vcId DID of the credential to present.
875
+ * @param {string} vcId URN of the credential to present.
876
876
  * @param {CreatePresentationDto} createPresentationDto
877
877
  * @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.
878
878
  * @param {*} [options] Override http request option.
@@ -885,7 +885,7 @@ var CredentialsApiFp = function(configuration) {
885
885
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
886
886
  },
887
887
  /**
888
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
888
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
889
889
  * @summary Revoke Credential
890
890
  * @param {string} credentialId URN of the credential to revoke
891
891
  * @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.
@@ -900,7 +900,7 @@ var CredentialsApiFp = function(configuration) {
900
900
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios5, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
901
901
  },
902
902
  /**
903
- * 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.
903
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
904
904
  * @summary Verify VP
905
905
  * @param {VerifyPresentationDto} verifyPresentationDto
906
906
  * @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.
@@ -943,7 +943,7 @@ var CredentialsApiFactory = function(configuration, basePath, axios2) {
943
943
  /**
944
944
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
945
945
  * @summary Issue VP
946
- * @param {string} vcId DID of the credential to present.
946
+ * @param {string} vcId URN of the credential to present.
947
947
  * @param {CreatePresentationDto} createPresentationDto
948
948
  * @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.
949
949
  * @param {*} [options] Override http request option.
@@ -953,7 +953,7 @@ var CredentialsApiFactory = function(configuration, basePath, axios2) {
953
953
  return localVarFp.issueVP(vcId, createPresentationDto, aPIVersion, options).then((request) => request(axios2, basePath));
954
954
  },
955
955
  /**
956
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
956
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
957
957
  * @summary Revoke Credential
958
958
  * @param {string} credentialId URN of the credential to revoke
959
959
  * @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.
@@ -965,7 +965,7 @@ var CredentialsApiFactory = function(configuration, basePath, axios2) {
965
965
  return localVarFp.revoke(credentialId, aPIVersion, revokeCredentialDto, options).then((request) => request(axios2, basePath));
966
966
  },
967
967
  /**
968
- * 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.
968
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
969
969
  * @summary Verify VP
970
970
  * @param {VerifyPresentationDto} verifyPresentationDto
971
971
  * @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.
@@ -1005,7 +1005,7 @@ var CredentialsApi = class extends BaseAPI {
1005
1005
  /**
1006
1006
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
1007
1007
  * @summary Issue VP
1008
- * @param {string} vcId DID of the credential to present.
1008
+ * @param {string} vcId URN of the credential to present.
1009
1009
  * @param {CreatePresentationDto} createPresentationDto
1010
1010
  * @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.
1011
1011
  * @param {*} [options] Override http request option.
@@ -1016,7 +1016,7 @@ var CredentialsApi = class extends BaseAPI {
1016
1016
  return CredentialsApiFp(this.configuration).issueVP(vcId, createPresentationDto, aPIVersion, options).then((request) => request(this.axios, this.basePath));
1017
1017
  }
1018
1018
  /**
1019
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
1019
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
1020
1020
  * @summary Revoke Credential
1021
1021
  * @param {string} credentialId URN of the credential to revoke
1022
1022
  * @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.
@@ -1029,7 +1029,7 @@ var CredentialsApi = class extends BaseAPI {
1029
1029
  return CredentialsApiFp(this.configuration).revoke(credentialId, aPIVersion, revokeCredentialDto, options).then((request) => request(this.axios, this.basePath));
1030
1030
  }
1031
1031
  /**
1032
- * 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.
1032
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
1033
1033
  * @summary Verify VP
1034
1034
  * @param {VerifyPresentationDto} verifyPresentationDto
1035
1035
  * @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.
@@ -2111,14 +2111,11 @@ var ActivityQueryTypeEnum = {
2111
2111
 
2112
2112
  // generated/models/create-subject-entity.ts
2113
2113
  var CreateSubjectEntityStatusEnum = {
2114
- NUMBER_200: 200,
2115
2114
  NUMBER_201: 201,
2116
2115
  NUMBER_400: 400,
2117
- NUMBER_402: 402,
2118
- NUMBER_407: 407,
2119
- NUMBER_408: 408,
2120
2116
  NUMBER_409: 409,
2121
- NUMBER_410: 410
2117
+ NUMBER_410: 410,
2118
+ NUMBER_500: 500
2122
2119
  };
2123
2120
 
2124
2121
  // generated/models/credential-dto.ts
@@ -2345,7 +2342,7 @@ function applySignatureInterceptor(axiosInstance, signatureSecret) {
2345
2342
  }
2346
2343
 
2347
2344
  // src/client.ts
2348
- var API_VERSION = "2026-06-22";
2345
+ var API_VERSION = "2026-07-07";
2349
2346
  var SDK_LANGUAGE = "typescript";
2350
2347
  var HumanosClient = class {
2351
2348
  constructor(clientConfig) {
@@ -37,6 +37,7 @@ models/credential-event-decision.ts
37
37
  models/credential-event-user.ts
38
38
  models/credential-event.ts
39
39
  models/credential-placement-dto.ts
40
+ models/credential-proof.ts
40
41
  models/credential-status.ts
41
42
  models/credentials-detail404-response.ts
42
43
  models/credentials-evidence404-response.ts
@@ -51,6 +52,7 @@ models/evidence.ts
51
52
  models/generate-credential-entity.ts
52
53
  models/generate-request-dto.ts
53
54
  models/generate-request-entity.ts
55
+ models/generate-request-iframe-cookie-dto.ts
54
56
  models/generate-request-iframe-dto.ts
55
57
  models/generate-request-user-dto.ts
56
58
  models/generate-subject-entity.ts
@@ -63,12 +65,16 @@ models/identity-event.ts
63
65
  models/identity-webhook-issue-date.ts
64
66
  models/identity-webhook.ts
65
67
  models/index.ts
68
+ models/mandate-action.ts
69
+ models/mandate-context.ts
70
+ models/mandate-grantor.ts
71
+ models/mandate.ts
66
72
  models/organization-data-entity.ts
67
73
  models/otp-error.ts
68
74
  models/otp-failed-event-otp.ts
69
75
  models/otp-failed-event.ts
70
76
  models/partial-subject-entity.ts
71
- models/presentation-response-entity.ts
77
+ models/presentation-entity.ts
72
78
  models/receipt-entity.ts
73
79
  models/request-credential-entity.ts
74
80
  models/request-detail-entity.ts
@@ -77,6 +83,8 @@ models/request-entity.ts
77
83
  models/request-query.ts
78
84
  models/request-subject-entity.ts
79
85
  models/requests-create400-response.ts
86
+ models/requests-create402-response.ts
87
+ models/requests-create409-response.ts
80
88
  models/requests-detail404-response.ts
81
89
  models/requests-entity.ts
82
90
  models/requests-resend-otp403-response.ts
@@ -98,12 +106,7 @@ models/verify-allow-response-entity.ts
98
106
  models/verify-deny-response-entity.ts
99
107
  models/verify-evaluation-entity.ts
100
108
  models/verify-presentation-dto.ts
101
- models/w3-cverifiable-credential-credential-subject-mandate-action.ts
102
- models/w3-cverifiable-credential-credential-subject-mandate-context.ts
103
- models/w3-cverifiable-credential-credential-subject-mandate-grantor.ts
104
- models/w3-cverifiable-credential-credential-subject-mandate.ts
105
109
  models/w3-cverifiable-credential-credential-subject.ts
106
- models/w3-cverifiable-credential-proofs-inner.ts
107
110
  models/w3-cverifiable-credential.ts
108
111
  models/webhook-call-event.ts
109
112
  package.json
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -40,7 +40,7 @@ import type { CredentialsRevoke400Response } from '../models';
40
40
  // @ts-ignore
41
41
  import type { CredentialsRevoke409Response } from '../models';
42
42
  // @ts-ignore
43
- import type { PresentationResponseEntity } from '../models';
43
+ import type { PresentationEntity } from '../models';
44
44
  // @ts-ignore
45
45
  import type { RevokeCredentialDto } from '../models';
46
46
  // @ts-ignore
@@ -136,7 +136,7 @@ export const CredentialsApiAxiosParamCreator = function (configuration?: Configu
136
136
  /**
137
137
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
138
138
  * @summary Issue VP
139
- * @param {string} vcId DID of the credential to present.
139
+ * @param {string} vcId URN of the credential to present.
140
140
  * @param {CreatePresentationDto} createPresentationDto
141
141
  * @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.
142
142
  * @param {*} [options] Override http request option.
@@ -178,7 +178,7 @@ export const CredentialsApiAxiosParamCreator = function (configuration?: Configu
178
178
  };
179
179
  },
180
180
  /**
181
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
181
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
182
182
  * @summary Revoke Credential
183
183
  * @param {string} credentialId URN of the credential to revoke
184
184
  * @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.
@@ -220,7 +220,7 @@ export const CredentialsApiAxiosParamCreator = function (configuration?: Configu
220
220
  };
221
221
  },
222
222
  /**
223
- * 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.
223
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
224
224
  * @summary Verify VP
225
225
  * @param {VerifyPresentationDto} verifyPresentationDto
226
226
  * @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.
@@ -300,20 +300,20 @@ export const CredentialsApiFp = function(configuration?: Configuration) {
300
300
  /**
301
301
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
302
302
  * @summary Issue VP
303
- * @param {string} vcId DID of the credential to present.
303
+ * @param {string} vcId URN of the credential to present.
304
304
  * @param {CreatePresentationDto} createPresentationDto
305
305
  * @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.
306
306
  * @param {*} [options] Override http request option.
307
307
  * @throws {RequiredError}
308
308
  */
309
- async issueVP(vcId: string, createPresentationDto: CreatePresentationDto, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresentationResponseEntity>> {
309
+ async issueVP(vcId: string, createPresentationDto: CreatePresentationDto, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresentationEntity>> {
310
310
  const localVarAxiosArgs = await localVarAxiosParamCreator.issueVP(vcId, createPresentationDto, aPIVersion, options);
311
311
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
312
312
  const localVarOperationServerBasePath = operationServerMap['CredentialsApi.issueVP']?.[localVarOperationServerIndex]?.url;
313
313
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
314
314
  },
315
315
  /**
316
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
316
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
317
317
  * @summary Revoke Credential
318
318
  * @param {string} credentialId URN of the credential to revoke
319
319
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -328,7 +328,7 @@ export const CredentialsApiFp = function(configuration?: Configuration) {
328
328
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
329
329
  },
330
330
  /**
331
- * 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.
331
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
332
332
  * @summary Verify VP
333
333
  * @param {VerifyPresentationDto} verifyPresentationDto
334
334
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -376,17 +376,17 @@ export const CredentialsApiFactory = function (configuration?: Configuration, ba
376
376
  /**
377
377
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
378
378
  * @summary Issue VP
379
- * @param {string} vcId DID of the credential to present.
379
+ * @param {string} vcId URN of the credential to present.
380
380
  * @param {CreatePresentationDto} createPresentationDto
381
381
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
382
382
  * @param {*} [options] Override http request option.
383
383
  * @throws {RequiredError}
384
384
  */
385
- issueVP(vcId: string, createPresentationDto: CreatePresentationDto, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<PresentationResponseEntity> {
385
+ issueVP(vcId: string, createPresentationDto: CreatePresentationDto, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<PresentationEntity> {
386
386
  return localVarFp.issueVP(vcId, createPresentationDto, aPIVersion, options).then((request) => request(axios, basePath));
387
387
  },
388
388
  /**
389
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
389
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
390
390
  * @summary Revoke Credential
391
391
  * @param {string} credentialId URN of the credential to revoke
392
392
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -398,7 +398,7 @@ export const CredentialsApiFactory = function (configuration?: Configuration, ba
398
398
  return localVarFp.revoke(credentialId, aPIVersion, revokeCredentialDto, options).then((request) => request(axios, basePath));
399
399
  },
400
400
  /**
401
- * 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.
401
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
402
402
  * @summary Verify VP
403
403
  * @param {VerifyPresentationDto} verifyPresentationDto
404
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\&#39;s date.
@@ -447,7 +447,7 @@ export class CredentialsApi extends BaseAPI {
447
447
  /**
448
448
  * Build and sign a W3C Verifiable Presentation for a stored credential. The API key must belong to the credential owner.
449
449
  * @summary Issue VP
450
- * @param {string} vcId DID of the credential to present.
450
+ * @param {string} vcId URN of the credential to present.
451
451
  * @param {CreatePresentationDto} createPresentationDto
452
452
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
453
453
  * @param {*} [options] Override http request option.
@@ -459,7 +459,7 @@ export class CredentialsApi extends BaseAPI {
459
459
  }
460
460
 
461
461
  /**
462
- * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Issues a MANDATE_REVOKED receipt, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
462
+ * Permanently revoke an active credential. Flips status to REVOKED, records revokedAt and revocationReason, Appends a REVOKE proof to the credential, and emits a MANDATE_REVOKED activity event. Subsequent /vp and /verify calls for this credential are denied with reason credential_revoked.
463
463
  * @summary Revoke Credential
464
464
  * @param {string} credentialId URN of the credential to revoke
465
465
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -473,7 +473,7 @@ export class CredentialsApi extends BaseAPI {
473
473
  }
474
474
 
475
475
  /**
476
- * 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.
476
+ * Evaluate a VP against runtime context. On allow, returns 201 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.
477
477
  * @summary Verify VP
478
478
  * @param {VerifyPresentationDto} verifyPresentationDto
479
479
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -30,6 +30,10 @@ import type { RequestDetailEntity } from '../models';
30
30
  // @ts-ignore
31
31
  import type { RequestsCreate400Response } from '../models';
32
32
  // @ts-ignore
33
+ import type { RequestsCreate402Response } from '../models';
34
+ // @ts-ignore
35
+ import type { RequestsCreate409Response } from '../models';
36
+ // @ts-ignore
33
37
  import type { RequestsDetail404Response } from '../models';
34
38
  // @ts-ignore
35
39
  import type { RequestsEntity } from '../models';
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
package/generated/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
package/generated/base.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos App Backend API
5
+ * Humanos API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *