humanos 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -567,6 +567,18 @@ interface ActivityQuery {
567
567
  * @memberof ActivityQuery
568
568
  */
569
569
  'pageSize'?: number;
570
+ /**
571
+ * Filter from date (will be converted to start of day in UTC)
572
+ * @type {string}
573
+ * @memberof ActivityQuery
574
+ */
575
+ 'dateFrom'?: string;
576
+ /**
577
+ * Filter to date (will be converted to end of day in UTC). Requires dateFrom.
578
+ * @type {string}
579
+ * @memberof ActivityQuery
580
+ */
581
+ 'dateTo'?: string;
570
582
  /**
571
583
  * Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
572
584
  * @type {Array<string>}
@@ -597,18 +609,6 @@ interface ActivityQuery {
597
609
  * @memberof ActivityQuery
598
610
  */
599
611
  'subjectDid'?: string;
600
- /**
601
- * Filter from date (will be converted to start of day).
602
- * @type {string}
603
- * @memberof ActivityQuery
604
- */
605
- 'dateFrom'?: string;
606
- /**
607
- * Filter to date (will be converted to end of day). Requires dateFrom.
608
- * @type {string}
609
- * @memberof ActivityQuery
610
- */
611
- 'dateTo'?: string;
612
612
  }
613
613
  declare const ActivityQueryTypeEnum: {
614
614
  readonly RequestCreated: "REQUEST_CREATED";
@@ -983,10 +983,11 @@ type CreateSubjectEntityStatusEnum = typeof CreateSubjectEntityStatusEnum[keyof
983
983
  */
984
984
 
985
985
  /**
986
- * @type CredentialDtoDataInner
986
+ * @type CredentialDtoData
987
+ * Data associated with the credential
987
988
  * @export
988
989
  */
989
- type CredentialDtoDataInner = CONSENT | string;
990
+ type CredentialDtoData = CONSENT | string;
990
991
 
991
992
  /**
992
993
  * Humanos API
@@ -1126,11 +1127,11 @@ interface CredentialDto {
1126
1127
  */
1127
1128
  'internalId'?: string;
1128
1129
  /**
1129
- * Data associated with the credential
1130
- * @type {Array<CredentialDtoDataInner>}
1130
+ *
1131
+ * @type {CredentialDtoData}
1131
1132
  * @memberof CredentialDto
1132
1133
  */
1133
- 'data'?: Array<CredentialDtoDataInner>;
1134
+ 'data'?: CredentialDtoData;
1134
1135
  /**
1135
1136
  * Predefined signature placements for document credentials
1136
1137
  * @type {Array<CredentialPlacementDto>}
@@ -3048,35 +3049,35 @@ interface RequestQuery {
3048
3049
  */
3049
3050
  'search'?: string;
3050
3051
  /**
3051
- * Filter by subject (nested object with contact, id, or internalId).
3052
+ * Filter from date (will be converted to start of day in UTC)
3052
3053
  * @type {string}
3053
3054
  * @memberof RequestQuery
3054
3055
  */
3055
- 'subject'?: string;
3056
+ 'dateFrom'?: string;
3056
3057
  /**
3057
- * Identifier to help you identify the request in your own system. We recommend using a unique value.
3058
+ * Filter to date (will be converted to end of day in UTC). Requires dateFrom.
3058
3059
  * @type {string}
3059
3060
  * @memberof RequestQuery
3060
3061
  */
3061
- 'internalId'?: string;
3062
+ 'dateTo'?: string;
3062
3063
  /**
3063
- * Filter by security level. Can be a single value or array
3064
- * @type {Array<string>}
3064
+ * Filter by subject (nested object with contact, id, or internalId).
3065
+ * @type {string}
3065
3066
  * @memberof RequestQuery
3066
3067
  */
3067
- 'securityLevel'?: Array<RequestQuerySecurityLevelEnum>;
3068
+ 'subject'?: string;
3068
3069
  /**
3069
- * Filter from date (will be converted to start of day)
3070
+ * Identifier to help you identify the request in your own system. We recommend using a unique value.
3070
3071
  * @type {string}
3071
3072
  * @memberof RequestQuery
3072
3073
  */
3073
- 'dateFrom'?: string;
3074
+ 'internalId'?: string;
3074
3075
  /**
3075
- * Filter to date (will be converted to end of day). Requires dateFrom.
3076
- * @type {string}
3076
+ * Filter by security level. Can be a single value or array
3077
+ * @type {Array<string>}
3077
3078
  * @memberof RequestQuery
3078
3079
  */
3079
- 'dateTo'?: string;
3080
+ 'securityLevel'?: Array<RequestQuerySecurityLevelEnum>;
3080
3081
  }
3081
3082
  declare const RequestQuerySecurityLevelEnum: {
3082
3083
  readonly Contact: "CONTACT";
@@ -4446,18 +4447,18 @@ declare const ActivityApiAxiosParamCreator: (configuration?: Configuration) => {
4446
4447
  * @summary List Activity Events
4447
4448
  * @param {number} [pageIndex] Page number
4448
4449
  * @param {number} [pageSize] Number of items per page
4450
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
4451
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
4449
4452
  * @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
4450
4453
  * @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \&quot;credential\&quot;, \&quot;request\&quot;, \&quot;veriff\&quot;).
4451
4454
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
4452
4455
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
4453
4456
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
4454
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
4455
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
4456
4457
  * @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.
4457
4458
  * @param {*} [options] Override http request option.
4458
4459
  * @throws {RequiredError}
4459
4460
  */
4460
- list: (pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4461
+ list: (pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4461
4462
  };
4462
4463
  /**
4463
4464
  * ActivityApi - functional programming interface
@@ -4469,18 +4470,18 @@ declare const ActivityApiFp: (configuration?: Configuration) => {
4469
4470
  * @summary List Activity Events
4470
4471
  * @param {number} [pageIndex] Page number
4471
4472
  * @param {number} [pageSize] Number of items per page
4473
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
4474
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
4472
4475
  * @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
4473
4476
  * @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \&quot;credential\&quot;, \&quot;request\&quot;, \&quot;veriff\&quot;).
4474
4477
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
4475
4478
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
4476
4479
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
4477
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
4478
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
4479
4480
  * @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.
4480
4481
  * @param {*} [options] Override http request option.
4481
4482
  * @throws {RequiredError}
4482
4483
  */
4483
- list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivitiesEntity>>;
4484
+ list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivitiesEntity>>;
4484
4485
  };
4485
4486
  /**
4486
4487
  * ActivityApi - factory interface
@@ -4492,18 +4493,18 @@ declare const ActivityApiFactory: (configuration?: Configuration, basePath?: str
4492
4493
  * @summary List Activity Events
4493
4494
  * @param {number} [pageIndex] Page number
4494
4495
  * @param {number} [pageSize] Number of items per page
4496
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
4497
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
4495
4498
  * @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
4496
4499
  * @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \&quot;credential\&quot;, \&quot;request\&quot;, \&quot;veriff\&quot;).
4497
4500
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
4498
4501
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
4499
4502
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
4500
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
4501
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
4502
4503
  * @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.
4503
4504
  * @param {*} [options] Override http request option.
4504
4505
  * @throws {RequiredError}
4505
4506
  */
4506
- list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivitiesEntity>;
4507
+ list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivitiesEntity>;
4507
4508
  };
4508
4509
  /**
4509
4510
  * ActivityApi - object-oriented interface
@@ -4517,19 +4518,19 @@ declare class ActivityApi extends BaseAPI {
4517
4518
  * @summary List Activity Events
4518
4519
  * @param {number} [pageIndex] Page number
4519
4520
  * @param {number} [pageSize] Number of items per page
4521
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
4522
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
4520
4523
  * @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
4521
4524
  * @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \&quot;credential\&quot;, \&quot;request\&quot;, \&quot;veriff\&quot;).
4522
4525
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
4523
4526
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
4524
4527
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
4525
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
4526
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
4527
4528
  * @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.
4528
4529
  * @param {*} [options] Override http request option.
4529
4530
  * @throws {RequiredError}
4530
4531
  * @memberof ActivityApi
4531
4532
  */
4532
- list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ActivitiesEntity, any, {}>>;
4533
+ list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ActivitiesEntity, any, {}>>;
4533
4534
  }
4534
4535
  /**
4535
4536
  * @export
@@ -5038,16 +5039,16 @@ declare const RequestsApiAxiosParamCreator: (configuration?: Configuration) => {
5038
5039
  * @param {number} [pageIndex] Page number
5039
5040
  * @param {number} [pageSize] Number of items per page
5040
5041
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
5042
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
5043
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
5041
5044
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
5042
5045
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
5043
5046
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
5044
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
5045
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
5046
5047
  * @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.
5047
5048
  * @param {*} [options] Override http request option.
5048
5049
  * @throws {RequiredError}
5049
5050
  */
5050
- list: (pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5051
+ list: (pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5051
5052
  /**
5052
5053
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5053
5054
  * @summary Resend OTP
@@ -5101,16 +5102,16 @@ declare const RequestsApiFp: (configuration?: Configuration) => {
5101
5102
  * @param {number} [pageIndex] Page number
5102
5103
  * @param {number} [pageSize] Number of items per page
5103
5104
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
5105
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
5106
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
5104
5107
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
5105
5108
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
5106
5109
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
5107
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
5108
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
5109
5110
  * @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.
5110
5111
  * @param {*} [options] Override http request option.
5111
5112
  * @throws {RequiredError}
5112
5113
  */
5113
- 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>>;
5114
+ list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestsEntity>>;
5114
5115
  /**
5115
5116
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5116
5117
  * @summary Resend OTP
@@ -5164,16 +5165,16 @@ declare const RequestsApiFactory: (configuration?: Configuration, basePath?: str
5164
5165
  * @param {number} [pageIndex] Page number
5165
5166
  * @param {number} [pageSize] Number of items per page
5166
5167
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
5168
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
5169
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
5167
5170
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
5168
5171
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
5169
5172
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
5170
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
5171
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
5172
5173
  * @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.
5173
5174
  * @param {*} [options] Override http request option.
5174
5175
  * @throws {RequiredError}
5175
5176
  */
5176
- list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity>;
5177
+ list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity>;
5177
5178
  /**
5178
5179
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5179
5180
  * @summary Resend OTP
@@ -5232,17 +5233,17 @@ declare class RequestsApi extends BaseAPI {
5232
5233
  * @param {number} [pageIndex] Page number
5233
5234
  * @param {number} [pageSize] Number of items per page
5234
5235
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
5236
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
5237
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
5235
5238
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
5236
5239
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
5237
5240
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
5238
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
5239
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
5240
5241
  * @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.
5241
5242
  * @param {*} [options] Override http request option.
5242
5243
  * @throws {RequiredError}
5243
5244
  * @memberof RequestsApi
5244
5245
  */
5245
- list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<RequestsEntity, any, {}>>;
5246
+ list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<RequestsEntity, any, {}>>;
5246
5247
  /**
5247
5248
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5248
5249
  * @summary Resend OTP
@@ -5700,4 +5701,4 @@ declare function processWebhook<T = unknown>(rawBody: string, headers: WebhookHe
5700
5701
  */
5701
5702
  declare function createWebhookHandler<T = unknown>(config: WebhookConfig, handler: (payload: T) => void | Promise<void>): (req: any, res: any) => Promise<void>;
5702
5703
 
5703
- export { API_VERSION, type ActionDto, type ActionEntity, type ActionListEntity, type ActionQuery, type ActionVersionDetailEntity, type ActionVersionListEntity, type ActionVersionSummaryEntity, ActionsApi, ActionsApiAxiosParamCreator, ActionsApiFactory, ActionsApiFp, type ActivitiesEntity, ActivityApi, ActivityApiAxiosParamCreator, ActivityApiFactory, ActivityApiFp, type ActivityEntity, ActivityEntityTypeEnum, type ActivityQuery, ActivityQueryTypeEnum, ApprovalApi, ApprovalApiAxiosParamCreator, ApprovalApiFactory, ApprovalApiFp, type CONSENT, Configuration, type ConfigurationParameters, type ContactEntity, type CreatePresentationDto, type CreateSubjectDto, type CreateSubjectEntity, CreateSubjectEntityStatusEnum, type CredentialDto, type CredentialDtoDataInner, CredentialDtoTypeEnum, type CredentialEntity, CredentialEntityStatusEnum, type CredentialEvent, type CredentialEventDecision, CredentialEventEventTypeEnum, type CredentialEventUser, type CredentialPlacementDto, CredentialPlacementDtoTypeEnum, CredentialStatus, CredentialsApi, CredentialsApiAxiosParamCreator, CredentialsApiFactory, CredentialsApiFp, type CredentialsDetail404Response, type CredentialsEvidence404Response, type CredentialsIssueVP400Response, type CredentialsIssueVP403Response, type CredentialsIssueVP404Response, type CredentialsRevoke400Response, type CredentialsRevoke409Response, DIDApi, DIDApiAxiosParamCreator, DIDApiFactory, DIDApiFp, DeliveryActionType, type DidDocumentEntity, type EncryptedPayload, type Evidence, type GenerateCredentialEntity, type GenerateRequestDto, GenerateRequestDtoSecurityLevelEnum, type GenerateRequestEntity, type GenerateSubjectEntity, type GroupEntity, type GroupsEntity, HumanosClient, type HumanosClientConfig, type IdentityDto, type IdentityEvent, type IdentityEventDecision, IdentityEventEventTypeEnum, type IdentityEventUser, type IdentityPayload, ListSecurityLevelEnum, ListTypeEnum, ListTypesEnum, type OrganizationDataEntity, type OtpError, type OtpFailedEvent, OtpFailedEventEventTypeEnum, type OtpFailedEventOtp, type PartialSubjectEntity, type PresentationResponseEntity, type ReceiptEntity, type RequestCredentialEntity, RequestCredentialEntityStatusEnum, type RequestDetailEntity, RequestDetailEntitySecurityLevelEnum, type RequestDetailSubjectEntity, RequestDetailSubjectEntityIdentityStatusEnum, type RequestEntity, RequestEntitySecurityLevelEnum, type RequestQuery, RequestQuerySecurityLevelEnum, type RequestSubjectEntity, RequestSubjectEntityIdentityStatusEnum, RequestsApi, RequestsApiAxiosParamCreator, RequestsApiFactory, RequestsApiFp, type RequestsCreate400Response, type RequestsDetail404Response, type RequestsEntity, type RequestsResendOtp403Response, type ResourceEntity, ResourceEntityTypeEnum, type ResourceMinimalEntity, ResourceMinimalEntityTypeEnum, type ResourceQuery, ResourceQueryTypesEnum, type ResourcesEntity, type RevokeCredentialDto, type RevokeCredentialEntity, RevokeCredentialEntityStatusEnum, SDK_LANGUAGE, type SubjectIssuerEntity, SubjectIssuerEntityIdentityStatusEnum, type SubjectQuery, type SuccessEntity, type TestEvent, TestEventEventTypeEnum, UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp, type UserCreate400Response, type UserDetail400Response, type UserDetail404Response, type VerificationMethodEntity, type VerifyAllowResponseEntity, VerifyAllowResponseEntityDecisionEnum, type VerifyDenyResponseEntity, VerifyDenyResponseEntityDecisionEnum, type VerifyEvaluationEntity, VerifyEvaluationEntityResultEnum, type VerifyPresentationDto, type W3CVerifiableCredential, type W3CVerifiableCredentialCredentialSubject, type W3CVerifiableCredentialCredentialSubjectMandate, type W3CVerifiableCredentialCredentialSubjectMandateAction, type W3CVerifiableCredentialCredentialSubjectMandateContext, type W3CVerifiableCredentialCredentialSubjectMandateGrantor, type W3CVerifiableCredentialProofsInner, type WebhookCallEvent, type WebhookConfig, type WebhookHeaders, WebhooksApi, WebhooksApiAxiosParamCreator, WebhooksApiFactory, WebhooksApiFp, WorkflowsTypesEnum, applySignatureInterceptor, createHumanosClient, createSignatureInterceptor, createWebhookHandler, decryptWebhookPayload, generateSignature, processWebhook, verifyWebhookSignature };
5704
+ export { API_VERSION, type ActionDto, type ActionEntity, type ActionListEntity, type ActionQuery, type ActionVersionDetailEntity, type ActionVersionListEntity, type ActionVersionSummaryEntity, ActionsApi, ActionsApiAxiosParamCreator, ActionsApiFactory, ActionsApiFp, type ActivitiesEntity, ActivityApi, ActivityApiAxiosParamCreator, ActivityApiFactory, ActivityApiFp, type ActivityEntity, ActivityEntityTypeEnum, type ActivityQuery, ActivityQueryTypeEnum, ApprovalApi, ApprovalApiAxiosParamCreator, ApprovalApiFactory, ApprovalApiFp, type CONSENT, Configuration, type ConfigurationParameters, type ContactEntity, type CreatePresentationDto, type CreateSubjectDto, type CreateSubjectEntity, CreateSubjectEntityStatusEnum, type CredentialDto, type CredentialDtoData, CredentialDtoTypeEnum, type CredentialEntity, CredentialEntityStatusEnum, type CredentialEvent, type CredentialEventDecision, CredentialEventEventTypeEnum, type CredentialEventUser, type CredentialPlacementDto, CredentialPlacementDtoTypeEnum, CredentialStatus, CredentialsApi, CredentialsApiAxiosParamCreator, CredentialsApiFactory, CredentialsApiFp, type CredentialsDetail404Response, type CredentialsEvidence404Response, type CredentialsIssueVP400Response, type CredentialsIssueVP403Response, type CredentialsIssueVP404Response, type CredentialsRevoke400Response, type CredentialsRevoke409Response, DIDApi, DIDApiAxiosParamCreator, DIDApiFactory, DIDApiFp, DeliveryActionType, type DidDocumentEntity, type EncryptedPayload, type Evidence, type GenerateCredentialEntity, type GenerateRequestDto, GenerateRequestDtoSecurityLevelEnum, type GenerateRequestEntity, type GenerateSubjectEntity, type GroupEntity, type GroupsEntity, HumanosClient, type HumanosClientConfig, type IdentityDto, type IdentityEvent, type IdentityEventDecision, IdentityEventEventTypeEnum, type IdentityEventUser, type IdentityPayload, ListSecurityLevelEnum, ListTypeEnum, ListTypesEnum, type OrganizationDataEntity, type OtpError, type OtpFailedEvent, OtpFailedEventEventTypeEnum, type OtpFailedEventOtp, type PartialSubjectEntity, type PresentationResponseEntity, type ReceiptEntity, type RequestCredentialEntity, RequestCredentialEntityStatusEnum, type RequestDetailEntity, RequestDetailEntitySecurityLevelEnum, type RequestDetailSubjectEntity, RequestDetailSubjectEntityIdentityStatusEnum, type RequestEntity, RequestEntitySecurityLevelEnum, type RequestQuery, RequestQuerySecurityLevelEnum, type RequestSubjectEntity, RequestSubjectEntityIdentityStatusEnum, RequestsApi, RequestsApiAxiosParamCreator, RequestsApiFactory, RequestsApiFp, type RequestsCreate400Response, type RequestsDetail404Response, type RequestsEntity, type RequestsResendOtp403Response, type ResourceEntity, ResourceEntityTypeEnum, type ResourceMinimalEntity, ResourceMinimalEntityTypeEnum, type ResourceQuery, ResourceQueryTypesEnum, type ResourcesEntity, type RevokeCredentialDto, type RevokeCredentialEntity, RevokeCredentialEntityStatusEnum, SDK_LANGUAGE, type SubjectIssuerEntity, SubjectIssuerEntityIdentityStatusEnum, type SubjectQuery, type SuccessEntity, type TestEvent, TestEventEventTypeEnum, UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp, type UserCreate400Response, type UserDetail400Response, type UserDetail404Response, type VerificationMethodEntity, type VerifyAllowResponseEntity, VerifyAllowResponseEntityDecisionEnum, type VerifyDenyResponseEntity, VerifyDenyResponseEntityDecisionEnum, type VerifyEvaluationEntity, VerifyEvaluationEntityResultEnum, type VerifyPresentationDto, type W3CVerifiableCredential, type W3CVerifiableCredentialCredentialSubject, type W3CVerifiableCredentialCredentialSubjectMandate, type W3CVerifiableCredentialCredentialSubjectMandateAction, type W3CVerifiableCredentialCredentialSubjectMandateContext, type W3CVerifiableCredentialCredentialSubjectMandateGrantor, type W3CVerifiableCredentialProofsInner, type WebhookCallEvent, type WebhookConfig, type WebhookHeaders, WebhooksApi, WebhooksApiAxiosParamCreator, WebhooksApiFactory, WebhooksApiFp, WorkflowsTypesEnum, applySignatureInterceptor, createHumanosClient, createSignatureInterceptor, createWebhookHandler, decryptWebhookPayload, generateSignature, processWebhook, verifyWebhookSignature };
package/dist/index.d.ts CHANGED
@@ -567,6 +567,18 @@ interface ActivityQuery {
567
567
  * @memberof ActivityQuery
568
568
  */
569
569
  'pageSize'?: number;
570
+ /**
571
+ * Filter from date (will be converted to start of day in UTC)
572
+ * @type {string}
573
+ * @memberof ActivityQuery
574
+ */
575
+ 'dateFrom'?: string;
576
+ /**
577
+ * Filter to date (will be converted to end of day in UTC). Requires dateFrom.
578
+ * @type {string}
579
+ * @memberof ActivityQuery
580
+ */
581
+ 'dateTo'?: string;
570
582
  /**
571
583
  * Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
572
584
  * @type {Array<string>}
@@ -597,18 +609,6 @@ interface ActivityQuery {
597
609
  * @memberof ActivityQuery
598
610
  */
599
611
  'subjectDid'?: string;
600
- /**
601
- * Filter from date (will be converted to start of day).
602
- * @type {string}
603
- * @memberof ActivityQuery
604
- */
605
- 'dateFrom'?: string;
606
- /**
607
- * Filter to date (will be converted to end of day). Requires dateFrom.
608
- * @type {string}
609
- * @memberof ActivityQuery
610
- */
611
- 'dateTo'?: string;
612
612
  }
613
613
  declare const ActivityQueryTypeEnum: {
614
614
  readonly RequestCreated: "REQUEST_CREATED";
@@ -983,10 +983,11 @@ type CreateSubjectEntityStatusEnum = typeof CreateSubjectEntityStatusEnum[keyof
983
983
  */
984
984
 
985
985
  /**
986
- * @type CredentialDtoDataInner
986
+ * @type CredentialDtoData
987
+ * Data associated with the credential
987
988
  * @export
988
989
  */
989
- type CredentialDtoDataInner = CONSENT | string;
990
+ type CredentialDtoData = CONSENT | string;
990
991
 
991
992
  /**
992
993
  * Humanos API
@@ -1126,11 +1127,11 @@ interface CredentialDto {
1126
1127
  */
1127
1128
  'internalId'?: string;
1128
1129
  /**
1129
- * Data associated with the credential
1130
- * @type {Array<CredentialDtoDataInner>}
1130
+ *
1131
+ * @type {CredentialDtoData}
1131
1132
  * @memberof CredentialDto
1132
1133
  */
1133
- 'data'?: Array<CredentialDtoDataInner>;
1134
+ 'data'?: CredentialDtoData;
1134
1135
  /**
1135
1136
  * Predefined signature placements for document credentials
1136
1137
  * @type {Array<CredentialPlacementDto>}
@@ -3048,35 +3049,35 @@ interface RequestQuery {
3048
3049
  */
3049
3050
  'search'?: string;
3050
3051
  /**
3051
- * Filter by subject (nested object with contact, id, or internalId).
3052
+ * Filter from date (will be converted to start of day in UTC)
3052
3053
  * @type {string}
3053
3054
  * @memberof RequestQuery
3054
3055
  */
3055
- 'subject'?: string;
3056
+ 'dateFrom'?: string;
3056
3057
  /**
3057
- * Identifier to help you identify the request in your own system. We recommend using a unique value.
3058
+ * Filter to date (will be converted to end of day in UTC). Requires dateFrom.
3058
3059
  * @type {string}
3059
3060
  * @memberof RequestQuery
3060
3061
  */
3061
- 'internalId'?: string;
3062
+ 'dateTo'?: string;
3062
3063
  /**
3063
- * Filter by security level. Can be a single value or array
3064
- * @type {Array<string>}
3064
+ * Filter by subject (nested object with contact, id, or internalId).
3065
+ * @type {string}
3065
3066
  * @memberof RequestQuery
3066
3067
  */
3067
- 'securityLevel'?: Array<RequestQuerySecurityLevelEnum>;
3068
+ 'subject'?: string;
3068
3069
  /**
3069
- * Filter from date (will be converted to start of day)
3070
+ * Identifier to help you identify the request in your own system. We recommend using a unique value.
3070
3071
  * @type {string}
3071
3072
  * @memberof RequestQuery
3072
3073
  */
3073
- 'dateFrom'?: string;
3074
+ 'internalId'?: string;
3074
3075
  /**
3075
- * Filter to date (will be converted to end of day). Requires dateFrom.
3076
- * @type {string}
3076
+ * Filter by security level. Can be a single value or array
3077
+ * @type {Array<string>}
3077
3078
  * @memberof RequestQuery
3078
3079
  */
3079
- 'dateTo'?: string;
3080
+ 'securityLevel'?: Array<RequestQuerySecurityLevelEnum>;
3080
3081
  }
3081
3082
  declare const RequestQuerySecurityLevelEnum: {
3082
3083
  readonly Contact: "CONTACT";
@@ -4446,18 +4447,18 @@ declare const ActivityApiAxiosParamCreator: (configuration?: Configuration) => {
4446
4447
  * @summary List Activity Events
4447
4448
  * @param {number} [pageIndex] Page number
4448
4449
  * @param {number} [pageSize] Number of items per page
4450
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
4451
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
4449
4452
  * @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
4450
4453
  * @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \&quot;credential\&quot;, \&quot;request\&quot;, \&quot;veriff\&quot;).
4451
4454
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
4452
4455
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
4453
4456
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
4454
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
4455
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
4456
4457
  * @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.
4457
4458
  * @param {*} [options] Override http request option.
4458
4459
  * @throws {RequiredError}
4459
4460
  */
4460
- list: (pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4461
+ list: (pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4461
4462
  };
4462
4463
  /**
4463
4464
  * ActivityApi - functional programming interface
@@ -4469,18 +4470,18 @@ declare const ActivityApiFp: (configuration?: Configuration) => {
4469
4470
  * @summary List Activity Events
4470
4471
  * @param {number} [pageIndex] Page number
4471
4472
  * @param {number} [pageSize] Number of items per page
4473
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
4474
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
4472
4475
  * @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
4473
4476
  * @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \&quot;credential\&quot;, \&quot;request\&quot;, \&quot;veriff\&quot;).
4474
4477
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
4475
4478
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
4476
4479
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
4477
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
4478
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
4479
4480
  * @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.
4480
4481
  * @param {*} [options] Override http request option.
4481
4482
  * @throws {RequiredError}
4482
4483
  */
4483
- list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivitiesEntity>>;
4484
+ list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivitiesEntity>>;
4484
4485
  };
4485
4486
  /**
4486
4487
  * ActivityApi - factory interface
@@ -4492,18 +4493,18 @@ declare const ActivityApiFactory: (configuration?: Configuration, basePath?: str
4492
4493
  * @summary List Activity Events
4493
4494
  * @param {number} [pageIndex] Page number
4494
4495
  * @param {number} [pageSize] Number of items per page
4496
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
4497
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
4495
4498
  * @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
4496
4499
  * @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \&quot;credential\&quot;, \&quot;request\&quot;, \&quot;veriff\&quot;).
4497
4500
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
4498
4501
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
4499
4502
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
4500
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
4501
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
4502
4503
  * @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.
4503
4504
  * @param {*} [options] Override http request option.
4504
4505
  * @throws {RequiredError}
4505
4506
  */
4506
- list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivitiesEntity>;
4507
+ list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivitiesEntity>;
4507
4508
  };
4508
4509
  /**
4509
4510
  * ActivityApi - object-oriented interface
@@ -4517,19 +4518,19 @@ declare class ActivityApi extends BaseAPI {
4517
4518
  * @summary List Activity Events
4518
4519
  * @param {number} [pageIndex] Page number
4519
4520
  * @param {number} [pageSize] Number of items per page
4521
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
4522
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
4520
4523
  * @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
4521
4524
  * @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \&quot;credential\&quot;, \&quot;request\&quot;, \&quot;veriff\&quot;).
4522
4525
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
4523
4526
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
4524
4527
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
4525
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
4526
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
4527
4528
  * @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.
4528
4529
  * @param {*} [options] Override http request option.
4529
4530
  * @throws {RequiredError}
4530
4531
  * @memberof ActivityApi
4531
4532
  */
4532
- list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ActivitiesEntity, any, {}>>;
4533
+ list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ActivitiesEntity, any, {}>>;
4533
4534
  }
4534
4535
  /**
4535
4536
  * @export
@@ -5038,16 +5039,16 @@ declare const RequestsApiAxiosParamCreator: (configuration?: Configuration) => {
5038
5039
  * @param {number} [pageIndex] Page number
5039
5040
  * @param {number} [pageSize] Number of items per page
5040
5041
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
5042
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
5043
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
5041
5044
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
5042
5045
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
5043
5046
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
5044
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
5045
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
5046
5047
  * @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.
5047
5048
  * @param {*} [options] Override http request option.
5048
5049
  * @throws {RequiredError}
5049
5050
  */
5050
- list: (pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5051
+ list: (pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5051
5052
  /**
5052
5053
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5053
5054
  * @summary Resend OTP
@@ -5101,16 +5102,16 @@ declare const RequestsApiFp: (configuration?: Configuration) => {
5101
5102
  * @param {number} [pageIndex] Page number
5102
5103
  * @param {number} [pageSize] Number of items per page
5103
5104
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
5105
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
5106
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
5104
5107
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
5105
5108
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
5106
5109
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
5107
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
5108
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
5109
5110
  * @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.
5110
5111
  * @param {*} [options] Override http request option.
5111
5112
  * @throws {RequiredError}
5112
5113
  */
5113
- 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>>;
5114
+ list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestsEntity>>;
5114
5115
  /**
5115
5116
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5116
5117
  * @summary Resend OTP
@@ -5164,16 +5165,16 @@ declare const RequestsApiFactory: (configuration?: Configuration, basePath?: str
5164
5165
  * @param {number} [pageIndex] Page number
5165
5166
  * @param {number} [pageSize] Number of items per page
5166
5167
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
5168
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
5169
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
5167
5170
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
5168
5171
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
5169
5172
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
5170
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
5171
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
5172
5173
  * @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.
5173
5174
  * @param {*} [options] Override http request option.
5174
5175
  * @throws {RequiredError}
5175
5176
  */
5176
- list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity>;
5177
+ list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity>;
5177
5178
  /**
5178
5179
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5179
5180
  * @summary Resend OTP
@@ -5232,17 +5233,17 @@ declare class RequestsApi extends BaseAPI {
5232
5233
  * @param {number} [pageIndex] Page number
5233
5234
  * @param {number} [pageSize] Number of items per page
5234
5235
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
5236
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
5237
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
5235
5238
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
5236
5239
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
5237
5240
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
5238
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
5239
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
5240
5241
  * @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.
5241
5242
  * @param {*} [options] Override http request option.
5242
5243
  * @throws {RequiredError}
5243
5244
  * @memberof RequestsApi
5244
5245
  */
5245
- list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<RequestsEntity, any, {}>>;
5246
+ list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<RequestsEntity, any, {}>>;
5246
5247
  /**
5247
5248
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
5248
5249
  * @summary Resend OTP
@@ -5700,4 +5701,4 @@ declare function processWebhook<T = unknown>(rawBody: string, headers: WebhookHe
5700
5701
  */
5701
5702
  declare function createWebhookHandler<T = unknown>(config: WebhookConfig, handler: (payload: T) => void | Promise<void>): (req: any, res: any) => Promise<void>;
5702
5703
 
5703
- export { API_VERSION, type ActionDto, type ActionEntity, type ActionListEntity, type ActionQuery, type ActionVersionDetailEntity, type ActionVersionListEntity, type ActionVersionSummaryEntity, ActionsApi, ActionsApiAxiosParamCreator, ActionsApiFactory, ActionsApiFp, type ActivitiesEntity, ActivityApi, ActivityApiAxiosParamCreator, ActivityApiFactory, ActivityApiFp, type ActivityEntity, ActivityEntityTypeEnum, type ActivityQuery, ActivityQueryTypeEnum, ApprovalApi, ApprovalApiAxiosParamCreator, ApprovalApiFactory, ApprovalApiFp, type CONSENT, Configuration, type ConfigurationParameters, type ContactEntity, type CreatePresentationDto, type CreateSubjectDto, type CreateSubjectEntity, CreateSubjectEntityStatusEnum, type CredentialDto, type CredentialDtoDataInner, CredentialDtoTypeEnum, type CredentialEntity, CredentialEntityStatusEnum, type CredentialEvent, type CredentialEventDecision, CredentialEventEventTypeEnum, type CredentialEventUser, type CredentialPlacementDto, CredentialPlacementDtoTypeEnum, CredentialStatus, CredentialsApi, CredentialsApiAxiosParamCreator, CredentialsApiFactory, CredentialsApiFp, type CredentialsDetail404Response, type CredentialsEvidence404Response, type CredentialsIssueVP400Response, type CredentialsIssueVP403Response, type CredentialsIssueVP404Response, type CredentialsRevoke400Response, type CredentialsRevoke409Response, DIDApi, DIDApiAxiosParamCreator, DIDApiFactory, DIDApiFp, DeliveryActionType, type DidDocumentEntity, type EncryptedPayload, type Evidence, type GenerateCredentialEntity, type GenerateRequestDto, GenerateRequestDtoSecurityLevelEnum, type GenerateRequestEntity, type GenerateSubjectEntity, type GroupEntity, type GroupsEntity, HumanosClient, type HumanosClientConfig, type IdentityDto, type IdentityEvent, type IdentityEventDecision, IdentityEventEventTypeEnum, type IdentityEventUser, type IdentityPayload, ListSecurityLevelEnum, ListTypeEnum, ListTypesEnum, type OrganizationDataEntity, type OtpError, type OtpFailedEvent, OtpFailedEventEventTypeEnum, type OtpFailedEventOtp, type PartialSubjectEntity, type PresentationResponseEntity, type ReceiptEntity, type RequestCredentialEntity, RequestCredentialEntityStatusEnum, type RequestDetailEntity, RequestDetailEntitySecurityLevelEnum, type RequestDetailSubjectEntity, RequestDetailSubjectEntityIdentityStatusEnum, type RequestEntity, RequestEntitySecurityLevelEnum, type RequestQuery, RequestQuerySecurityLevelEnum, type RequestSubjectEntity, RequestSubjectEntityIdentityStatusEnum, RequestsApi, RequestsApiAxiosParamCreator, RequestsApiFactory, RequestsApiFp, type RequestsCreate400Response, type RequestsDetail404Response, type RequestsEntity, type RequestsResendOtp403Response, type ResourceEntity, ResourceEntityTypeEnum, type ResourceMinimalEntity, ResourceMinimalEntityTypeEnum, type ResourceQuery, ResourceQueryTypesEnum, type ResourcesEntity, type RevokeCredentialDto, type RevokeCredentialEntity, RevokeCredentialEntityStatusEnum, SDK_LANGUAGE, type SubjectIssuerEntity, SubjectIssuerEntityIdentityStatusEnum, type SubjectQuery, type SuccessEntity, type TestEvent, TestEventEventTypeEnum, UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp, type UserCreate400Response, type UserDetail400Response, type UserDetail404Response, type VerificationMethodEntity, type VerifyAllowResponseEntity, VerifyAllowResponseEntityDecisionEnum, type VerifyDenyResponseEntity, VerifyDenyResponseEntityDecisionEnum, type VerifyEvaluationEntity, VerifyEvaluationEntityResultEnum, type VerifyPresentationDto, type W3CVerifiableCredential, type W3CVerifiableCredentialCredentialSubject, type W3CVerifiableCredentialCredentialSubjectMandate, type W3CVerifiableCredentialCredentialSubjectMandateAction, type W3CVerifiableCredentialCredentialSubjectMandateContext, type W3CVerifiableCredentialCredentialSubjectMandateGrantor, type W3CVerifiableCredentialProofsInner, type WebhookCallEvent, type WebhookConfig, type WebhookHeaders, WebhooksApi, WebhooksApiAxiosParamCreator, WebhooksApiFactory, WebhooksApiFp, WorkflowsTypesEnum, applySignatureInterceptor, createHumanosClient, createSignatureInterceptor, createWebhookHandler, decryptWebhookPayload, generateSignature, processWebhook, verifyWebhookSignature };
5704
+ export { API_VERSION, type ActionDto, type ActionEntity, type ActionListEntity, type ActionQuery, type ActionVersionDetailEntity, type ActionVersionListEntity, type ActionVersionSummaryEntity, ActionsApi, ActionsApiAxiosParamCreator, ActionsApiFactory, ActionsApiFp, type ActivitiesEntity, ActivityApi, ActivityApiAxiosParamCreator, ActivityApiFactory, ActivityApiFp, type ActivityEntity, ActivityEntityTypeEnum, type ActivityQuery, ActivityQueryTypeEnum, ApprovalApi, ApprovalApiAxiosParamCreator, ApprovalApiFactory, ApprovalApiFp, type CONSENT, Configuration, type ConfigurationParameters, type ContactEntity, type CreatePresentationDto, type CreateSubjectDto, type CreateSubjectEntity, CreateSubjectEntityStatusEnum, type CredentialDto, type CredentialDtoData, CredentialDtoTypeEnum, type CredentialEntity, CredentialEntityStatusEnum, type CredentialEvent, type CredentialEventDecision, CredentialEventEventTypeEnum, type CredentialEventUser, type CredentialPlacementDto, CredentialPlacementDtoTypeEnum, CredentialStatus, CredentialsApi, CredentialsApiAxiosParamCreator, CredentialsApiFactory, CredentialsApiFp, type CredentialsDetail404Response, type CredentialsEvidence404Response, type CredentialsIssueVP400Response, type CredentialsIssueVP403Response, type CredentialsIssueVP404Response, type CredentialsRevoke400Response, type CredentialsRevoke409Response, DIDApi, DIDApiAxiosParamCreator, DIDApiFactory, DIDApiFp, DeliveryActionType, type DidDocumentEntity, type EncryptedPayload, type Evidence, type GenerateCredentialEntity, type GenerateRequestDto, GenerateRequestDtoSecurityLevelEnum, type GenerateRequestEntity, type GenerateSubjectEntity, type GroupEntity, type GroupsEntity, HumanosClient, type HumanosClientConfig, type IdentityDto, type IdentityEvent, type IdentityEventDecision, IdentityEventEventTypeEnum, type IdentityEventUser, type IdentityPayload, ListSecurityLevelEnum, ListTypeEnum, ListTypesEnum, type OrganizationDataEntity, type OtpError, type OtpFailedEvent, OtpFailedEventEventTypeEnum, type OtpFailedEventOtp, type PartialSubjectEntity, type PresentationResponseEntity, type ReceiptEntity, type RequestCredentialEntity, RequestCredentialEntityStatusEnum, type RequestDetailEntity, RequestDetailEntitySecurityLevelEnum, type RequestDetailSubjectEntity, RequestDetailSubjectEntityIdentityStatusEnum, type RequestEntity, RequestEntitySecurityLevelEnum, type RequestQuery, RequestQuerySecurityLevelEnum, type RequestSubjectEntity, RequestSubjectEntityIdentityStatusEnum, RequestsApi, RequestsApiAxiosParamCreator, RequestsApiFactory, RequestsApiFp, type RequestsCreate400Response, type RequestsDetail404Response, type RequestsEntity, type RequestsResendOtp403Response, type ResourceEntity, ResourceEntityTypeEnum, type ResourceMinimalEntity, ResourceMinimalEntityTypeEnum, type ResourceQuery, ResourceQueryTypesEnum, type ResourcesEntity, type RevokeCredentialDto, type RevokeCredentialEntity, RevokeCredentialEntityStatusEnum, SDK_LANGUAGE, type SubjectIssuerEntity, SubjectIssuerEntityIdentityStatusEnum, type SubjectQuery, type SuccessEntity, type TestEvent, TestEventEventTypeEnum, UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp, type UserCreate400Response, type UserDetail400Response, type UserDetail404Response, type VerificationMethodEntity, type VerifyAllowResponseEntity, VerifyAllowResponseEntityDecisionEnum, type VerifyDenyResponseEntity, VerifyDenyResponseEntityDecisionEnum, type VerifyEvaluationEntity, VerifyEvaluationEntityResultEnum, type VerifyPresentationDto, type W3CVerifiableCredential, type W3CVerifiableCredentialCredentialSubject, type W3CVerifiableCredentialCredentialSubjectMandate, type W3CVerifiableCredentialCredentialSubjectMandateAction, type W3CVerifiableCredentialCredentialSubjectMandateContext, type W3CVerifiableCredentialCredentialSubjectMandateGrantor, type W3CVerifiableCredentialProofsInner, type WebhookCallEvent, type WebhookConfig, type WebhookHeaders, WebhooksApi, WebhooksApiAxiosParamCreator, WebhooksApiFactory, WebhooksApiFp, WorkflowsTypesEnum, applySignatureInterceptor, createHumanosClient, createSignatureInterceptor, createWebhookHandler, decryptWebhookPayload, generateSignature, processWebhook, verifyWebhookSignature };