humanos 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/index.d.mts +346 -231
  2. package/dist/index.d.ts +346 -231
  3. package/dist/index.js +65 -60
  4. package/dist/index.mjs +64 -60
  5. package/generated/.openapi-generator/FILES +5 -2
  6. package/generated/api/actions-api.ts +1 -1
  7. package/generated/api/activity-api.ts +28 -28
  8. package/generated/api/approval-api.ts +1 -3
  9. package/generated/api/credentials-api.ts +5 -5
  10. package/generated/api/didapi.ts +1 -1
  11. package/generated/api/requests-api.ts +32 -32
  12. package/generated/api/user-api.ts +1 -1
  13. package/generated/api/webhooks-api.ts +5 -5
  14. package/generated/api.ts +1 -1
  15. package/generated/base.ts +1 -1
  16. package/generated/common.ts +1 -1
  17. package/generated/configuration.ts +1 -1
  18. package/generated/index.ts +1 -1
  19. package/generated/models/action-dto.ts +1 -1
  20. package/generated/models/action-entity.ts +1 -1
  21. package/generated/models/action-list-entity.ts +1 -1
  22. package/generated/models/action-query.ts +1 -1
  23. package/generated/models/action-version-detail-entity.ts +1 -1
  24. package/generated/models/action-version-list-entity.ts +1 -1
  25. package/generated/models/action-version-summary-entity.ts +1 -1
  26. package/generated/models/activities-entity.ts +1 -1
  27. package/generated/models/activity-entity.ts +1 -1
  28. package/generated/models/activity-query.ts +13 -13
  29. package/generated/models/consent.ts +1 -1
  30. package/generated/models/contact-entity.ts +1 -1
  31. package/generated/models/create-presentation-dto.ts +1 -1
  32. package/generated/models/create-subject-dto.ts +1 -1
  33. package/generated/models/create-subject-entity.ts +1 -1
  34. package/generated/models/{credential-dto-data-inner.ts → credential-dto-data.ts} +4 -3
  35. package/generated/models/credential-dto.ts +5 -5
  36. package/generated/models/credential-entity.ts +1 -1
  37. package/generated/models/credential-event-decision.ts +1 -1
  38. package/generated/models/credential-event-user.ts +1 -1
  39. package/generated/models/credential-event.ts +1 -1
  40. package/generated/models/credential-placement-dto.ts +1 -1
  41. package/generated/models/credential-status.ts +1 -1
  42. package/generated/models/credentials-detail404-response.ts +1 -1
  43. package/generated/models/credentials-evidence404-response.ts +1 -1
  44. package/generated/models/credentials-issue-vp400-response.ts +1 -1
  45. package/generated/models/credentials-issue-vp403-response.ts +1 -1
  46. package/generated/models/credentials-issue-vp404-response.ts +1 -1
  47. package/generated/models/credentials-revoke400-response.ts +1 -1
  48. package/generated/models/credentials-revoke409-response.ts +1 -1
  49. package/generated/models/delivery-action-type.ts +1 -1
  50. package/generated/models/did-document-entity.ts +1 -1
  51. package/generated/models/evidence.ts +1 -1
  52. package/generated/models/generate-credential-entity.ts +1 -1
  53. package/generated/models/generate-request-dto.ts +16 -28
  54. package/generated/models/generate-request-entity.ts +1 -1
  55. package/generated/models/{otp-failed-event-otp-error.ts → generate-request-iframe-dto.ts} +6 -12
  56. package/generated/models/generate-request-user-dto.ts +64 -0
  57. package/generated/models/generate-subject-entity.ts +3 -3
  58. package/generated/models/group-entity.ts +1 -1
  59. package/generated/models/groups-entity.ts +1 -1
  60. package/generated/models/identity-dto.ts +1 -1
  61. package/generated/models/identity-event-decision.ts +1 -19
  62. package/generated/models/identity-event-user.ts +1 -1
  63. package/generated/models/identity-event.ts +4 -4
  64. package/generated/models/{w3-cverifiable-credential-valid-from.ts → identity-webhook-issue-date.ts} +3 -3
  65. package/generated/models/identity-webhook.ts +117 -0
  66. package/generated/models/index.ts +5 -2
  67. package/generated/models/organization-data-entity.ts +1 -1
  68. package/generated/models/otp-error.ts +1 -1
  69. package/generated/models/otp-failed-event-otp.ts +1 -1
  70. package/generated/models/otp-failed-event.ts +1 -1
  71. package/generated/models/partial-subject-entity.ts +1 -1
  72. package/generated/models/presentation-response-entity.ts +8 -2
  73. package/generated/models/receipt-entity.ts +1 -1
  74. package/generated/models/request-credential-entity.ts +1 -1
  75. package/generated/models/request-detail-entity.ts +1 -1
  76. package/generated/models/request-detail-subject-entity.ts +7 -1
  77. package/generated/models/request-entity.ts +1 -1
  78. package/generated/models/request-query.ts +13 -13
  79. package/generated/models/request-subject-entity.ts +7 -1
  80. package/generated/models/requests-create400-response.ts +1 -1
  81. package/generated/models/requests-detail404-response.ts +1 -1
  82. package/generated/models/requests-entity.ts +1 -1
  83. package/generated/models/requests-resend-otp403-response.ts +1 -1
  84. package/generated/models/resource-entity.ts +1 -2
  85. package/generated/models/resource-minimal-entity.ts +1 -2
  86. package/generated/models/resource-query.ts +1 -2
  87. package/generated/models/resources-entity.ts +1 -1
  88. package/generated/models/revoke-credential-dto.ts +1 -1
  89. package/generated/models/revoke-credential-entity.ts +1 -1
  90. package/generated/models/subject-issuer-entity.ts +1 -1
  91. package/generated/models/subject-query.ts +1 -1
  92. package/generated/models/success-entity.ts +1 -1
  93. package/generated/models/test-event.ts +1 -1
  94. package/generated/models/user-create400-response.ts +1 -1
  95. package/generated/models/user-detail400-response.ts +1 -1
  96. package/generated/models/user-detail404-response.ts +1 -1
  97. package/generated/models/verification-method-entity.ts +1 -1
  98. package/generated/models/verify-allow-response-entity.ts +1 -1
  99. package/generated/models/verify-deny-response-entity.ts +1 -1
  100. package/generated/models/verify-evaluation-entity.ts +1 -1
  101. package/generated/models/verify-presentation-dto.ts +8 -2
  102. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-action.ts +1 -1
  103. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-context.ts +1 -1
  104. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-grantor.ts +1 -1
  105. package/generated/models/w3-cverifiable-credential-credential-subject-mandate.ts +1 -1
  106. package/generated/models/w3-cverifiable-credential-credential-subject.ts +1 -1
  107. package/generated/models/w3-cverifiable-credential-proofs-inner.ts +1 -1
  108. package/generated/models/w3-cverifiable-credential.ts +1 -1
  109. package/generated/models/webhook-call-event.ts +2 -2
  110. package/package.json +1 -1
  111. package/generated/models/action-ref-dto.ts +0 -36
  112. package/generated/models/constraints-dto.ts +0 -36
  113. package/generated/models/create-presentation400-response.ts +0 -42
  114. package/generated/models/create-presentation403-response.ts +0 -42
  115. package/generated/models/create-presentation404-response.ts +0 -42
  116. package/generated/models/create400-response.ts +0 -42
  117. package/generated/models/generate400-response.ts +0 -42
  118. package/generated/models/get-credential404-response.ts +0 -42
  119. package/generated/models/get-evidence404-response.ts +0 -42
  120. package/generated/models/get-request-detail404-response.ts +0 -42
  121. package/generated/models/get-subject400-response.ts +0 -42
  122. package/generated/models/get-subject404-response.ts +0 -42
  123. package/generated/models/identity-payload.ts +0 -84
  124. package/generated/models/json-value.ts +0 -27
  125. package/generated/models/presentation-receipt-entity.ts +0 -42
  126. package/generated/models/resend-otp403-response.ts +0 -42
  127. package/generated/models/revoke-credential400-response.ts +0 -42
  128. package/generated/models/revoke-credential409-response.ts +0 -42
  129. package/generated/models/revoke-receipt-entity.ts +0 -42
  130. package/generated/models/schema-entity.ts +0 -57
  131. package/generated/models/schema-list-entity.ts +0 -39
  132. package/generated/models/schema-query.ts +0 -48
  133. package/generated/models/schema-response-entity.ts +0 -45
  134. package/generated/models/schema-version-detail-entity.ts +0 -72
  135. package/generated/models/schema-version-list-entity.ts +0 -39
  136. package/generated/models/schema-version-response-entity.ts +0 -54
  137. package/generated/models/schema-version-summary-entity.ts +0 -48
  138. package/generated/models/subject-contact-entity.ts +0 -42
  139. package/generated/models/verify-receipt-entity.ts +0 -42
  140. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint-constraint-schema.ts +0 -44
  141. package/generated/models/w3-cverifiable-credential-credential-subject-mandate-constraint.ts +0 -41
  142. package/generated/models/w3-cverifiable-credential-evidences-inner.ts +0 -42
  143. package/generated/models/w3-cverifiable-credential-valid-until.ts +0 -24
  144. package/generated/models/webhook-event-type-credential.ts +0 -30
  145. package/generated/models/webhook-event-type-identity.ts +0 -30
  146. package/generated/models/webhook-event-type-otpfailed.ts +0 -30
  147. package/generated/models/webhook-event-type-test.ts +0 -30
  148. package/generated/models/webhook-event-type.ts +0 -33
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -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.
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.
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.
@@ -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.
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.
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\'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.
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.
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\'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.
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.
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\'s date.
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -169,16 +169,16 @@ export const RequestsApiAxiosParamCreator = function (configuration?: Configurat
169
169
  * @param {number} [pageIndex] Page number
170
170
  * @param {number} [pageSize] Number of items per page
171
171
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
172
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
173
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
172
174
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
173
175
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
174
176
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
175
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
176
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
177
177
  * @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.
178
178
  * @param {*} [options] Override http request option.
179
179
  * @throws {RequiredError}
180
180
  */
181
- list: async (pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
181
+ list: async (pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
182
182
  const localVarPath = `/request`;
183
183
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
184
184
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -203,18 +203,6 @@ export const RequestsApiAxiosParamCreator = function (configuration?: Configurat
203
203
  localVarQueryParameter['search'] = search;
204
204
  }
205
205
 
206
- if (subject !== undefined) {
207
- localVarQueryParameter['subject'] = subject;
208
- }
209
-
210
- if (internalId !== undefined) {
211
- localVarQueryParameter['internalId'] = internalId;
212
- }
213
-
214
- if (securityLevel) {
215
- localVarQueryParameter['securityLevel'] = securityLevel;
216
- }
217
-
218
206
  if (dateFrom !== undefined) {
219
207
  localVarQueryParameter['dateFrom'] = (dateFrom as any instanceof Date) ?
220
208
  (dateFrom as any).toISOString() :
@@ -227,6 +215,18 @@ export const RequestsApiAxiosParamCreator = function (configuration?: Configurat
227
215
  dateTo;
228
216
  }
229
217
 
218
+ if (subject !== undefined) {
219
+ localVarQueryParameter['subject'] = subject;
220
+ }
221
+
222
+ if (internalId !== undefined) {
223
+ localVarQueryParameter['internalId'] = internalId;
224
+ }
225
+
226
+ if (securityLevel) {
227
+ localVarQueryParameter['securityLevel'] = securityLevel;
228
+ }
229
+
230
230
 
231
231
 
232
232
  if (aPIVersion != null) {
@@ -242,7 +242,7 @@ export const RequestsApiAxiosParamCreator = function (configuration?: Configurat
242
242
  };
243
243
  },
244
244
  /**
245
- * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
245
+ * 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
246
246
  * @summary Resend OTP
247
247
  * @param {string} requestId Unique identifier of the request.
248
248
  * @param {string} [contact] Verified contact value (email or phone)
@@ -357,23 +357,23 @@ export const RequestsApiFp = function(configuration?: Configuration) {
357
357
  * @param {number} [pageIndex] Page number
358
358
  * @param {number} [pageSize] Number of items per page
359
359
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
360
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
361
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
360
362
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
361
363
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
362
364
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
363
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
364
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
365
365
  * @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.
366
366
  * @param {*} [options] Override http request option.
367
367
  * @throws {RequiredError}
368
368
  */
369
- async list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestsEntity>> {
370
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options);
369
+ async list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestsEntity>> {
370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options);
371
371
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
372
372
  const localVarOperationServerBasePath = operationServerMap['RequestsApi.list']?.[localVarOperationServerIndex]?.url;
373
373
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
374
374
  },
375
375
  /**
376
- * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
376
+ * 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
377
377
  * @summary Resend OTP
378
378
  * @param {string} requestId Unique identifier of the request.
379
379
  * @param {string} [contact] Verified contact value (email or phone)
@@ -440,20 +440,20 @@ export const RequestsApiFactory = function (configuration?: Configuration, baseP
440
440
  * @param {number} [pageIndex] Page number
441
441
  * @param {number} [pageSize] Number of items per page
442
442
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
443
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
444
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
443
445
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
444
446
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
445
447
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
446
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
447
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
448
448
  * @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.
449
449
  * @param {*} [options] Override http request option.
450
450
  * @throws {RequiredError}
451
451
  */
452
- list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity> {
453
- return localVarFp.list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options).then((request) => request(axios, basePath));
452
+ list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity> {
453
+ return localVarFp.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(axios, basePath));
454
454
  },
455
455
  /**
456
- * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
456
+ * 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
457
457
  * @summary Resend OTP
458
458
  * @param {string} requestId Unique identifier of the request.
459
459
  * @param {string} [contact] Verified contact value (email or phone)
@@ -523,22 +523,22 @@ export class RequestsApi extends BaseAPI {
523
523
  * @param {number} [pageIndex] Page number
524
524
  * @param {number} [pageSize] Number of items per page
525
525
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
526
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
527
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
526
528
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
527
529
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
528
530
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
529
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
530
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
531
531
  * @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.
532
532
  * @param {*} [options] Override http request option.
533
533
  * @throws {RequiredError}
534
534
  * @memberof RequestsApi
535
535
  */
536
- public list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) {
537
- return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options).then((request) => request(this.axios, this.basePath));
536
+ public list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig) {
537
+ return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(this.axios, this.basePath));
538
538
  }
539
539
 
540
540
  /**
541
- * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
541
+ * 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
542
542
  * @summary Resend OTP
543
543
  * @param {string} requestId Unique identifier of the request.
544
544
  * @param {string} [contact] Verified contact value (email or phone)
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -116,7 +116,7 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
116
116
  };
117
117
  },
118
118
  /**
119
- * Fired when an OTP delivery to the subject fails. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
119
+ * 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.
120
120
  * @summary OTP Failed Event
121
121
  * @param {OtpFailedEvent} otpFailedEvent
122
122
  * @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.
@@ -234,7 +234,7 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
234
234
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
235
235
  },
236
236
  /**
237
- * Fired when an OTP delivery to the subject fails. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
237
+ * 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.
238
238
  * @summary OTP Failed Event
239
239
  * @param {OtpFailedEvent} otpFailedEvent
240
240
  * @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.
@@ -294,7 +294,7 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
294
294
  return localVarFp.identity(identityEvent, aPIVersion, options).then((request) => request(axios, basePath));
295
295
  },
296
296
  /**
297
- * Fired when an OTP delivery to the subject fails. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
297
+ * 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.
298
298
  * @summary OTP Failed Event
299
299
  * @param {OtpFailedEvent} otpFailedEvent
300
300
  * @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.
@@ -352,7 +352,7 @@ export class WebhooksApi extends BaseAPI {
352
352
  }
353
353
 
354
354
  /**
355
- * Fired when an OTP delivery to the subject fails. **Inbound webhook callback** — Humanos POSTs this payload to your registered webhook URL. This is not an endpoint you call; it is documented as a path so SDK code generators emit a typed payload model.
355
+ * 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.
356
356
  * @summary OTP Failed Event
357
357
  * @param {OtpFailedEvent} otpFailedEvent
358
358
  * @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.
package/generated/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
package/generated/base.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -32,6 +32,18 @@ export interface ActivityQuery {
32
32
  * @memberof ActivityQuery
33
33
  */
34
34
  'pageSize'?: number;
35
+ /**
36
+ * Filter from date (will be converted to start of day in UTC)
37
+ * @type {string}
38
+ * @memberof ActivityQuery
39
+ */
40
+ 'dateFrom'?: string;
41
+ /**
42
+ * Filter to date (will be converted to end of day in UTC). Requires dateFrom.
43
+ * @type {string}
44
+ * @memberof ActivityQuery
45
+ */
46
+ 'dateTo'?: string;
35
47
  /**
36
48
  * 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.
37
49
  * @type {Array<string>}
@@ -62,18 +74,6 @@ export interface ActivityQuery {
62
74
  * @memberof ActivityQuery
63
75
  */
64
76
  'subjectDid'?: string;
65
- /**
66
- * Filter from date (will be converted to start of day).
67
- * @type {string}
68
- * @memberof ActivityQuery
69
- */
70
- 'dateFrom'?: string;
71
- /**
72
- * Filter to date (will be converted to end of day). Requires dateFrom.
73
- * @type {string}
74
- * @memberof ActivityQuery
75
- */
76
- 'dateTo'?: string;
77
77
  }
78
78
 
79
79
  export const ActivityQueryTypeEnum = {
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -18,9 +18,10 @@
18
18
  import type { CONSENT } from './consent';
19
19
 
20
20
  /**
21
- * @type CredentialDtoDataInner
21
+ * @type CredentialDtoData
22
+ * Data associated with the credential
22
23
  * @export
23
24
  */
24
- export type CredentialDtoDataInner = CONSENT | string;
25
+ export type CredentialDtoData = CONSENT | string;
25
26
 
26
27
 
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -18,7 +18,7 @@
18
18
  import type { ActionDto } from './action-dto';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import type { CredentialDtoDataInner } from './credential-dto-data-inner';
21
+ import type { CredentialDtoData } from './credential-dto-data';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import type { CredentialPlacementDto } from './credential-placement-dto';
@@ -72,11 +72,11 @@ export interface CredentialDto {
72
72
  */
73
73
  'internalId'?: string;
74
74
  /**
75
- * Data associated with the credential
76
- * @type {Array<CredentialDtoDataInner>}
75
+ *
76
+ * @type {CredentialDtoData}
77
77
  * @memberof CredentialDto
78
78
  */
79
- 'data'?: Array<CredentialDtoDataInner>;
79
+ 'data'?: CredentialDtoData;
80
80
  /**
81
81
  * Predefined signature placements for document credentials
82
82
  * @type {Array<CredentialPlacementDto>}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Humanos API
5
- * Humanos API
5
+ * Humanos App Backend API
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  *