humanos 1.0.3 → 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 +56 -55
- package/dist/index.d.ts +56 -55
- package/dist/index.js +43 -43
- package/dist/index.mjs +43 -43
- package/generated/.openapi-generator/FILES +1 -1
- package/generated/api/activity-api.ts +27 -27
- package/generated/api/requests-api.ts +27 -27
- package/generated/models/activity-query.ts +12 -12
- package/generated/models/credential-dto-data.ts +27 -0
- package/generated/models/credential-dto.ts +4 -4
- package/generated/models/index.ts +1 -1
- package/generated/models/request-query.ts +12 -12
- package/package.json +12 -2
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
|
|
986
|
+
* @type CredentialDtoData
|
|
987
|
+
* Data associated with the credential
|
|
987
988
|
* @export
|
|
988
989
|
*/
|
|
989
|
-
type
|
|
990
|
+
type CredentialDtoData = CONSENT | string;
|
|
990
991
|
|
|
991
992
|
/**
|
|
992
993
|
* Humanos API
|
|
@@ -1126,11 +1127,11 @@ interface CredentialDto {
|
|
|
1126
1127
|
*/
|
|
1127
1128
|
'internalId'?: string;
|
|
1128
1129
|
/**
|
|
1129
|
-
*
|
|
1130
|
-
* @type {
|
|
1130
|
+
*
|
|
1131
|
+
* @type {CredentialDtoData}
|
|
1131
1132
|
* @memberof CredentialDto
|
|
1132
1133
|
*/
|
|
1133
|
-
'data'?:
|
|
1134
|
+
'data'?: CredentialDtoData;
|
|
1134
1135
|
/**
|
|
1135
1136
|
* Predefined signature placements for document credentials
|
|
1136
1137
|
* @type {Array<CredentialPlacementDto>}
|
|
@@ -3048,35 +3049,35 @@ interface RequestQuery {
|
|
|
3048
3049
|
*/
|
|
3049
3050
|
'search'?: string;
|
|
3050
3051
|
/**
|
|
3051
|
-
* Filter
|
|
3052
|
+
* Filter from date (will be converted to start of day in UTC)
|
|
3052
3053
|
* @type {string}
|
|
3053
3054
|
* @memberof RequestQuery
|
|
3054
3055
|
*/
|
|
3055
|
-
'
|
|
3056
|
+
'dateFrom'?: string;
|
|
3056
3057
|
/**
|
|
3057
|
-
*
|
|
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
|
-
'
|
|
3062
|
+
'dateTo'?: string;
|
|
3062
3063
|
/**
|
|
3063
|
-
* Filter by
|
|
3064
|
-
* @type {
|
|
3064
|
+
* Filter by subject (nested object with contact, id, or internalId).
|
|
3065
|
+
* @type {string}
|
|
3065
3066
|
* @memberof RequestQuery
|
|
3066
3067
|
*/
|
|
3067
|
-
'
|
|
3068
|
+
'subject'?: string;
|
|
3068
3069
|
/**
|
|
3069
|
-
*
|
|
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
|
-
'
|
|
3074
|
+
'internalId'?: string;
|
|
3074
3075
|
/**
|
|
3075
|
-
* Filter
|
|
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
|
-
'
|
|
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=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
4450
4453
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
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\'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,
|
|
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=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
4473
4476
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
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\'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,
|
|
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=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
4496
4499
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
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\'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,
|
|
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=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
4521
4524
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
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\'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,
|
|
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\'s date.
|
|
5047
5048
|
* @param {*} [options] Override http request option.
|
|
5048
5049
|
* @throws {RequiredError}
|
|
5049
5050
|
*/
|
|
5050
|
-
list: (pageIndex?: number, pageSize?: number, search?: string,
|
|
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\'s date.
|
|
5110
5111
|
* @param {*} [options] Override http request option.
|
|
5111
5112
|
* @throws {RequiredError}
|
|
5112
5113
|
*/
|
|
5113
|
-
list(pageIndex?: number, pageSize?: number, search?: string,
|
|
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\'s date.
|
|
5173
5174
|
* @param {*} [options] Override http request option.
|
|
5174
5175
|
* @throws {RequiredError}
|
|
5175
5176
|
*/
|
|
5176
|
-
list(pageIndex?: number, pageSize?: number, search?: string,
|
|
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\'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,
|
|
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
|
|
@@ -5558,7 +5559,7 @@ declare class WebhooksApi extends BaseAPI {
|
|
|
5558
5559
|
}
|
|
5559
5560
|
|
|
5560
5561
|
/** The API version this SDK release is pinned to (YYYY-MM-DD). */
|
|
5561
|
-
declare const API_VERSION = "2026-
|
|
5562
|
+
declare const API_VERSION = "2026-05-20";
|
|
5562
5563
|
/** Identifies this SDK's language in request headers. */
|
|
5563
5564
|
declare const SDK_LANGUAGE = "typescript";
|
|
5564
5565
|
interface HumanosClientConfig {
|
|
@@ -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
|
|
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.js
CHANGED
|
@@ -393,18 +393,18 @@ var ActivityApiAxiosParamCreator = function(configuration) {
|
|
|
393
393
|
* @summary List Activity Events
|
|
394
394
|
* @param {number} [pageIndex] Page number
|
|
395
395
|
* @param {number} [pageSize] Number of items per page
|
|
396
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
397
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
396
398
|
* @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
397
399
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
398
400
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
399
401
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
400
402
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
401
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
402
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
403
403
|
* @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\'s date.
|
|
404
404
|
* @param {*} [options] Override http request option.
|
|
405
405
|
* @throws {RequiredError}
|
|
406
406
|
*/
|
|
407
|
-
list: async (pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
407
|
+
list: async (pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options = {}) => {
|
|
408
408
|
const localVarPath = `/activity`;
|
|
409
409
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
410
410
|
let baseOptions;
|
|
@@ -420,6 +420,12 @@ var ActivityApiAxiosParamCreator = function(configuration) {
|
|
|
420
420
|
if (pageSize !== void 0) {
|
|
421
421
|
localVarQueryParameter["pageSize"] = pageSize;
|
|
422
422
|
}
|
|
423
|
+
if (dateFrom !== void 0) {
|
|
424
|
+
localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
|
|
425
|
+
}
|
|
426
|
+
if (dateTo !== void 0) {
|
|
427
|
+
localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
|
|
428
|
+
}
|
|
423
429
|
if (type) {
|
|
424
430
|
localVarQueryParameter["type"] = type;
|
|
425
431
|
}
|
|
@@ -435,12 +441,6 @@ var ActivityApiAxiosParamCreator = function(configuration) {
|
|
|
435
441
|
if (subjectDid !== void 0) {
|
|
436
442
|
localVarQueryParameter["subjectDid"] = subjectDid;
|
|
437
443
|
}
|
|
438
|
-
if (dateFrom !== void 0) {
|
|
439
|
-
localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
|
|
440
|
-
}
|
|
441
|
-
if (dateTo !== void 0) {
|
|
442
|
-
localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
|
|
443
|
-
}
|
|
444
444
|
if (aPIVersion != null) {
|
|
445
445
|
localVarHeaderParameter["API-Version"] = String(aPIVersion);
|
|
446
446
|
}
|
|
@@ -462,19 +462,19 @@ var ActivityApiFp = function(configuration) {
|
|
|
462
462
|
* @summary List Activity Events
|
|
463
463
|
* @param {number} [pageIndex] Page number
|
|
464
464
|
* @param {number} [pageSize] Number of items per page
|
|
465
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
466
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
465
467
|
* @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
466
468
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
467
469
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
468
470
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
469
471
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
470
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
471
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
472
472
|
* @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
473
|
* @param {*} [options] Override http request option.
|
|
474
474
|
* @throws {RequiredError}
|
|
475
475
|
*/
|
|
476
|
-
async list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
477
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
476
|
+
async list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
|
|
477
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options);
|
|
478
478
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
479
479
|
const localVarOperationServerBasePath = operationServerMap["ActivityApi.list"]?.[localVarOperationServerIndex]?.url;
|
|
480
480
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios3.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
@@ -489,19 +489,19 @@ var ActivityApiFactory = function(configuration, basePath, axios2) {
|
|
|
489
489
|
* @summary List Activity Events
|
|
490
490
|
* @param {number} [pageIndex] Page number
|
|
491
491
|
* @param {number} [pageSize] Number of items per page
|
|
492
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
493
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
492
494
|
* @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
493
495
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
494
496
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
495
497
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
496
498
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
497
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
498
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
499
499
|
* @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\'s date.
|
|
500
500
|
* @param {*} [options] Override http request option.
|
|
501
501
|
* @throws {RequiredError}
|
|
502
502
|
*/
|
|
503
|
-
list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
504
|
-
return localVarFp.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
503
|
+
list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
|
|
504
|
+
return localVarFp.list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options).then((request) => request(axios2, basePath));
|
|
505
505
|
}
|
|
506
506
|
};
|
|
507
507
|
};
|
|
@@ -511,20 +511,20 @@ var ActivityApi = class extends BaseAPI {
|
|
|
511
511
|
* @summary List Activity Events
|
|
512
512
|
* @param {number} [pageIndex] Page number
|
|
513
513
|
* @param {number} [pageSize] Number of items per page
|
|
514
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
515
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
514
516
|
* @param {Array<ListTypeEnum>} [type] Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
|
|
515
517
|
* @param {string} [entityType] Filter by the broad entity class the event was emitted against (e.g. \"credential\", \"request\", \"veriff\").
|
|
516
518
|
* @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
|
|
517
519
|
* @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
|
|
518
520
|
* @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
|
|
519
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day).
|
|
520
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
521
521
|
* @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\'s date.
|
|
522
522
|
* @param {*} [options] Override http request option.
|
|
523
523
|
* @throws {RequiredError}
|
|
524
524
|
* @memberof ActivityApi
|
|
525
525
|
*/
|
|
526
|
-
list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
527
|
-
return ActivityApiFp(this.configuration).list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid,
|
|
526
|
+
list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
|
|
527
|
+
return ActivityApiFp(this.configuration).list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options).then((request) => request(this.axios, this.basePath));
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
530
|
var ListTypeEnum = {
|
|
@@ -1346,16 +1346,16 @@ var RequestsApiAxiosParamCreator = function(configuration) {
|
|
|
1346
1346
|
* @param {number} [pageIndex] Page number
|
|
1347
1347
|
* @param {number} [pageSize] Number of items per page
|
|
1348
1348
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
1349
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
1350
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
1349
1351
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
1350
1352
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
1351
1353
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
1352
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
1353
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
1354
1354
|
* @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\'s date.
|
|
1355
1355
|
* @param {*} [options] Override http request option.
|
|
1356
1356
|
* @throws {RequiredError}
|
|
1357
1357
|
*/
|
|
1358
|
-
list: async (pageIndex, pageSize, search,
|
|
1358
|
+
list: async (pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options = {}) => {
|
|
1359
1359
|
const localVarPath = `/request`;
|
|
1360
1360
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1361
1361
|
let baseOptions;
|
|
@@ -1374,6 +1374,12 @@ var RequestsApiAxiosParamCreator = function(configuration) {
|
|
|
1374
1374
|
if (search !== void 0) {
|
|
1375
1375
|
localVarQueryParameter["search"] = search;
|
|
1376
1376
|
}
|
|
1377
|
+
if (dateFrom !== void 0) {
|
|
1378
|
+
localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
|
|
1379
|
+
}
|
|
1380
|
+
if (dateTo !== void 0) {
|
|
1381
|
+
localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
|
|
1382
|
+
}
|
|
1377
1383
|
if (subject !== void 0) {
|
|
1378
1384
|
localVarQueryParameter["subject"] = subject;
|
|
1379
1385
|
}
|
|
@@ -1383,12 +1389,6 @@ var RequestsApiAxiosParamCreator = function(configuration) {
|
|
|
1383
1389
|
if (securityLevel) {
|
|
1384
1390
|
localVarQueryParameter["securityLevel"] = securityLevel;
|
|
1385
1391
|
}
|
|
1386
|
-
if (dateFrom !== void 0) {
|
|
1387
|
-
localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
|
|
1388
|
-
}
|
|
1389
|
-
if (dateTo !== void 0) {
|
|
1390
|
-
localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
|
|
1391
|
-
}
|
|
1392
1392
|
if (aPIVersion != null) {
|
|
1393
1393
|
localVarHeaderParameter["API-Version"] = String(aPIVersion);
|
|
1394
1394
|
}
|
|
@@ -1500,17 +1500,17 @@ var RequestsApiFp = function(configuration) {
|
|
|
1500
1500
|
* @param {number} [pageIndex] Page number
|
|
1501
1501
|
* @param {number} [pageSize] Number of items per page
|
|
1502
1502
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
1503
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
1504
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
1503
1505
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
1504
1506
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
1505
1507
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
1506
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
1507
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
1508
1508
|
* @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\'s date.
|
|
1509
1509
|
* @param {*} [options] Override http request option.
|
|
1510
1510
|
* @throws {RequiredError}
|
|
1511
1511
|
*/
|
|
1512
|
-
async list(pageIndex, pageSize, search,
|
|
1513
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search,
|
|
1512
|
+
async list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
|
|
1513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options);
|
|
1514
1514
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1515
1515
|
const localVarOperationServerBasePath = operationServerMap["RequestsApi.list"]?.[localVarOperationServerIndex]?.url;
|
|
1516
1516
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, import_axios7.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
@@ -1578,17 +1578,17 @@ var RequestsApiFactory = function(configuration, basePath, axios2) {
|
|
|
1578
1578
|
* @param {number} [pageIndex] Page number
|
|
1579
1579
|
* @param {number} [pageSize] Number of items per page
|
|
1580
1580
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
1581
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
1582
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
1581
1583
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
1582
1584
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
1583
1585
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
1584
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
1585
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
1586
1586
|
* @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\'s date.
|
|
1587
1587
|
* @param {*} [options] Override http request option.
|
|
1588
1588
|
* @throws {RequiredError}
|
|
1589
1589
|
*/
|
|
1590
|
-
list(pageIndex, pageSize, search,
|
|
1591
|
-
return localVarFp.list(pageIndex, pageSize, search,
|
|
1590
|
+
list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
|
|
1591
|
+
return localVarFp.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(axios2, basePath));
|
|
1592
1592
|
},
|
|
1593
1593
|
/**
|
|
1594
1594
|
* 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
|
|
@@ -1651,18 +1651,18 @@ var RequestsApi = class extends BaseAPI {
|
|
|
1651
1651
|
* @param {number} [pageIndex] Page number
|
|
1652
1652
|
* @param {number} [pageSize] Number of items per page
|
|
1653
1653
|
* @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
|
|
1654
|
+
* @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
|
|
1655
|
+
* @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
1654
1656
|
* @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
|
|
1655
1657
|
* @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
1656
1658
|
* @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
|
|
1657
|
-
* @param {string} [dateFrom] Filter from date (will be converted to start of day)
|
|
1658
|
-
* @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
|
|
1659
1659
|
* @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\'s date.
|
|
1660
1660
|
* @param {*} [options] Override http request option.
|
|
1661
1661
|
* @throws {RequiredError}
|
|
1662
1662
|
* @memberof RequestsApi
|
|
1663
1663
|
*/
|
|
1664
|
-
list(pageIndex, pageSize, search,
|
|
1665
|
-
return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search,
|
|
1664
|
+
list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
|
|
1665
|
+
return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(this.axios, this.basePath));
|
|
1666
1666
|
}
|
|
1667
1667
|
/**
|
|
1668
1668
|
* 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
|
|
@@ -2452,7 +2452,7 @@ function applySignatureInterceptor(axiosInstance, signatureSecret) {
|
|
|
2452
2452
|
}
|
|
2453
2453
|
|
|
2454
2454
|
// src/client.ts
|
|
2455
|
-
var API_VERSION = "2026-
|
|
2455
|
+
var API_VERSION = "2026-05-20";
|
|
2456
2456
|
var SDK_LANGUAGE = "typescript";
|
|
2457
2457
|
var HumanosClient = class {
|
|
2458
2458
|
constructor(clientConfig) {
|