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.mjs CHANGED
@@ -283,18 +283,18 @@ var ActivityApiAxiosParamCreator = function(configuration) {
283
283
  * @summary List Activity Events
284
284
  * @param {number} [pageIndex] Page number
285
285
  * @param {number} [pageSize] Number of items per page
286
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
287
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
286
288
  * @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.
287
289
  * @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;).
288
290
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
289
291
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
290
292
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
291
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
292
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
293
293
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
294
294
  * @param {*} [options] Override http request option.
295
295
  * @throws {RequiredError}
296
296
  */
297
- list: async (pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options = {}) => {
297
+ list: async (pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options = {}) => {
298
298
  const localVarPath = `/activity`;
299
299
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
300
300
  let baseOptions;
@@ -310,6 +310,12 @@ var ActivityApiAxiosParamCreator = function(configuration) {
310
310
  if (pageSize !== void 0) {
311
311
  localVarQueryParameter["pageSize"] = pageSize;
312
312
  }
313
+ if (dateFrom !== void 0) {
314
+ localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
315
+ }
316
+ if (dateTo !== void 0) {
317
+ localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
318
+ }
313
319
  if (type) {
314
320
  localVarQueryParameter["type"] = type;
315
321
  }
@@ -325,12 +331,6 @@ var ActivityApiAxiosParamCreator = function(configuration) {
325
331
  if (subjectDid !== void 0) {
326
332
  localVarQueryParameter["subjectDid"] = subjectDid;
327
333
  }
328
- if (dateFrom !== void 0) {
329
- localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
330
- }
331
- if (dateTo !== void 0) {
332
- localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
333
- }
334
334
  if (aPIVersion != null) {
335
335
  localVarHeaderParameter["API-Version"] = String(aPIVersion);
336
336
  }
@@ -352,19 +352,19 @@ var ActivityApiFp = function(configuration) {
352
352
  * @summary List Activity Events
353
353
  * @param {number} [pageIndex] Page number
354
354
  * @param {number} [pageSize] Number of items per page
355
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
356
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
355
357
  * @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.
356
358
  * @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;).
357
359
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
358
360
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
359
361
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
360
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
361
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
362
362
  * @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.
363
363
  * @param {*} [options] Override http request option.
364
364
  * @throws {RequiredError}
365
365
  */
366
- async list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options) {
367
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options);
366
+ async list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options);
368
368
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
369
369
  const localVarOperationServerBasePath = operationServerMap["ActivityApi.list"]?.[localVarOperationServerIndex]?.url;
370
370
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios3, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
@@ -379,19 +379,19 @@ var ActivityApiFactory = function(configuration, basePath, axios2) {
379
379
  * @summary List Activity Events
380
380
  * @param {number} [pageIndex] Page number
381
381
  * @param {number} [pageSize] Number of items per page
382
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
383
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
382
384
  * @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.
383
385
  * @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;).
384
386
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
385
387
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
386
388
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
387
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
388
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
389
389
  * @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.
390
390
  * @param {*} [options] Override http request option.
391
391
  * @throws {RequiredError}
392
392
  */
393
- list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options) {
394
- return localVarFp.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options).then((request) => request(axios2, basePath));
393
+ list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
394
+ return localVarFp.list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options).then((request) => request(axios2, basePath));
395
395
  }
396
396
  };
397
397
  };
@@ -401,20 +401,20 @@ var ActivityApi = class extends BaseAPI {
401
401
  * @summary List Activity Events
402
402
  * @param {number} [pageIndex] Page number
403
403
  * @param {number} [pageSize] Number of items per page
404
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
405
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
404
406
  * @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.
405
407
  * @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;).
406
408
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
407
409
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
408
410
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
409
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
410
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
411
411
  * @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.
412
412
  * @param {*} [options] Override http request option.
413
413
  * @throws {RequiredError}
414
414
  * @memberof ActivityApi
415
415
  */
416
- list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options) {
417
- return ActivityApiFp(this.configuration).list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options).then((request) => request(this.axios, this.basePath));
416
+ list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options) {
417
+ return ActivityApiFp(this.configuration).list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options).then((request) => request(this.axios, this.basePath));
418
418
  }
419
419
  };
420
420
  var ListTypeEnum = {
@@ -1236,16 +1236,16 @@ var RequestsApiAxiosParamCreator = function(configuration) {
1236
1236
  * @param {number} [pageIndex] Page number
1237
1237
  * @param {number} [pageSize] Number of items per page
1238
1238
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
1239
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
1240
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
1239
1241
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
1240
1242
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
1241
1243
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
1242
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
1243
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
1244
1244
  * @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.
1245
1245
  * @param {*} [options] Override http request option.
1246
1246
  * @throws {RequiredError}
1247
1247
  */
1248
- list: async (pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options = {}) => {
1248
+ list: async (pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options = {}) => {
1249
1249
  const localVarPath = `/request`;
1250
1250
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1251
1251
  let baseOptions;
@@ -1264,6 +1264,12 @@ var RequestsApiAxiosParamCreator = function(configuration) {
1264
1264
  if (search !== void 0) {
1265
1265
  localVarQueryParameter["search"] = search;
1266
1266
  }
1267
+ if (dateFrom !== void 0) {
1268
+ localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
1269
+ }
1270
+ if (dateTo !== void 0) {
1271
+ localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
1272
+ }
1267
1273
  if (subject !== void 0) {
1268
1274
  localVarQueryParameter["subject"] = subject;
1269
1275
  }
@@ -1273,12 +1279,6 @@ var RequestsApiAxiosParamCreator = function(configuration) {
1273
1279
  if (securityLevel) {
1274
1280
  localVarQueryParameter["securityLevel"] = securityLevel;
1275
1281
  }
1276
- if (dateFrom !== void 0) {
1277
- localVarQueryParameter["dateFrom"] = dateFrom instanceof Date ? dateFrom.toISOString() : dateFrom;
1278
- }
1279
- if (dateTo !== void 0) {
1280
- localVarQueryParameter["dateTo"] = dateTo instanceof Date ? dateTo.toISOString() : dateTo;
1281
- }
1282
1282
  if (aPIVersion != null) {
1283
1283
  localVarHeaderParameter["API-Version"] = String(aPIVersion);
1284
1284
  }
@@ -1390,17 +1390,17 @@ var RequestsApiFp = function(configuration) {
1390
1390
  * @param {number} [pageIndex] Page number
1391
1391
  * @param {number} [pageSize] Number of items per page
1392
1392
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
1393
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
1394
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
1393
1395
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
1394
1396
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
1395
1397
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
1396
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
1397
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
1398
1398
  * @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.
1399
1399
  * @param {*} [options] Override http request option.
1400
1400
  * @throws {RequiredError}
1401
1401
  */
1402
- async list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options) {
1403
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options);
1402
+ async list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
1403
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options);
1404
1404
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1405
1405
  const localVarOperationServerBasePath = operationServerMap["RequestsApi.list"]?.[localVarOperationServerIndex]?.url;
1406
1406
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios7, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
@@ -1468,17 +1468,17 @@ var RequestsApiFactory = function(configuration, basePath, axios2) {
1468
1468
  * @param {number} [pageIndex] Page number
1469
1469
  * @param {number} [pageSize] Number of items per page
1470
1470
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
1471
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
1472
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
1471
1473
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
1472
1474
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
1473
1475
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
1474
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
1475
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
1476
1476
  * @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.
1477
1477
  * @param {*} [options] Override http request option.
1478
1478
  * @throws {RequiredError}
1479
1479
  */
1480
- list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options) {
1481
- return localVarFp.list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options).then((request) => request(axios2, basePath));
1480
+ list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
1481
+ return localVarFp.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(axios2, basePath));
1482
1482
  },
1483
1483
  /**
1484
1484
  * 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
@@ -1541,18 +1541,18 @@ var RequestsApi = class extends BaseAPI {
1541
1541
  * @param {number} [pageIndex] Page number
1542
1542
  * @param {number} [pageSize] Number of items per page
1543
1543
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
1544
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
1545
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
1544
1546
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
1545
1547
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
1546
1548
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
1547
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
1548
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
1549
1549
  * @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.
1550
1550
  * @param {*} [options] Override http request option.
1551
1551
  * @throws {RequiredError}
1552
1552
  * @memberof RequestsApi
1553
1553
  */
1554
- list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options) {
1555
- return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options).then((request) => request(this.axios, this.basePath));
1554
+ list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options) {
1555
+ return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(this.axios, this.basePath));
1556
1556
  }
1557
1557
  /**
1558
1558
  * 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
@@ -2342,7 +2342,7 @@ function applySignatureInterceptor(axiosInstance, signatureSecret) {
2342
2342
  }
2343
2343
 
2344
2344
  // src/client.ts
2345
- var API_VERSION = "2026-03-24";
2345
+ var API_VERSION = "2026-05-20";
2346
2346
  var SDK_LANGUAGE = "typescript";
2347
2347
  var HumanosClient = class {
2348
2348
  constructor(clientConfig) {
@@ -30,7 +30,7 @@ models/contact-entity.ts
30
30
  models/create-presentation-dto.ts
31
31
  models/create-subject-dto.ts
32
32
  models/create-subject-entity.ts
33
- models/credential-dto-data-inner.ts
33
+ models/credential-dto-data.ts
34
34
  models/credential-dto.ts
35
35
  models/credential-entity.ts
36
36
  models/credential-event-decision.ts
@@ -34,18 +34,18 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat
34
34
  * @summary List Activity Events
35
35
  * @param {number} [pageIndex] Page number
36
36
  * @param {number} [pageSize] Number of items per page
37
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
38
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
37
39
  * @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.
38
40
  * @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;).
39
41
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
40
42
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
41
43
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
42
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
43
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
44
44
  * @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.
45
45
  * @param {*} [options] Override http request option.
46
46
  * @throws {RequiredError}
47
47
  */
48
- list: async (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> => {
48
+ list: async (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> => {
49
49
  const localVarPath = `/activity`;
50
50
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
51
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -66,6 +66,18 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat
66
66
  localVarQueryParameter['pageSize'] = pageSize;
67
67
  }
68
68
 
69
+ if (dateFrom !== undefined) {
70
+ localVarQueryParameter['dateFrom'] = (dateFrom as any instanceof Date) ?
71
+ (dateFrom as any).toISOString() :
72
+ dateFrom;
73
+ }
74
+
75
+ if (dateTo !== undefined) {
76
+ localVarQueryParameter['dateTo'] = (dateTo as any instanceof Date) ?
77
+ (dateTo as any).toISOString() :
78
+ dateTo;
79
+ }
80
+
69
81
  if (type) {
70
82
  localVarQueryParameter['type'] = type;
71
83
  }
@@ -86,18 +98,6 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat
86
98
  localVarQueryParameter['subjectDid'] = subjectDid;
87
99
  }
88
100
 
89
- if (dateFrom !== undefined) {
90
- localVarQueryParameter['dateFrom'] = (dateFrom as any instanceof Date) ?
91
- (dateFrom as any).toISOString() :
92
- dateFrom;
93
- }
94
-
95
- if (dateTo !== undefined) {
96
- localVarQueryParameter['dateTo'] = (dateTo as any instanceof Date) ?
97
- (dateTo as any).toISOString() :
98
- dateTo;
99
- }
100
-
101
101
 
102
102
 
103
103
  if (aPIVersion != null) {
@@ -127,19 +127,19 @@ export const ActivityApiFp = function(configuration?: Configuration) {
127
127
  * @summary List Activity Events
128
128
  * @param {number} [pageIndex] Page number
129
129
  * @param {number} [pageSize] Number of items per page
130
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
131
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
130
132
  * @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.
131
133
  * @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;).
132
134
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
133
135
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
134
136
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
135
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
136
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
137
137
  * @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.
138
138
  * @param {*} [options] Override http request option.
139
139
  * @throws {RequiredError}
140
140
  */
141
- async 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>> {
142
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options);
141
+ async 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>> {
142
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options);
143
143
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
144
144
  const localVarOperationServerBasePath = operationServerMap['ActivityApi.list']?.[localVarOperationServerIndex]?.url;
145
145
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -159,19 +159,19 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP
159
159
  * @summary List Activity Events
160
160
  * @param {number} [pageIndex] Page number
161
161
  * @param {number} [pageSize] Number of items per page
162
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
163
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
162
164
  * @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.
163
165
  * @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;).
164
166
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
165
167
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
166
168
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
167
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
168
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
169
169
  * @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.
170
170
  * @param {*} [options] Override http request option.
171
171
  * @throws {RequiredError}
172
172
  */
173
- 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> {
174
- return localVarFp.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options).then((request) => request(axios, basePath));
173
+ 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> {
174
+ return localVarFp.list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options).then((request) => request(axios, basePath));
175
175
  },
176
176
  };
177
177
  };
@@ -188,20 +188,20 @@ export class ActivityApi extends BaseAPI {
188
188
  * @summary List Activity Events
189
189
  * @param {number} [pageIndex] Page number
190
190
  * @param {number} [pageSize] Number of items per page
191
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
192
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
191
193
  * @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.
192
194
  * @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;).
193
195
  * @param {string} [entityId] Filter by a specific entity id (must be a valid MongoDB ObjectId).
194
196
  * @param {string} [actorDid] Filter by the DID of the actor that triggered the event.
195
197
  * @param {string} [subjectDid] Filter by the DID of the subject affected by the event.
196
- * @param {string} [dateFrom] Filter from date (will be converted to start of day).
197
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
198
198
  * @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.
199
199
  * @param {*} [options] Override http request option.
200
200
  * @throws {RequiredError}
201
201
  * @memberof ActivityApi
202
202
  */
203
- public list(pageIndex?: number, pageSize?: number, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) {
204
- return ActivityApiFp(this.configuration).list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options).then((request) => request(this.axios, this.basePath));
203
+ public list(pageIndex?: number, pageSize?: number, dateFrom?: string, dateTo?: string, type?: Array<ListTypeEnum>, entityType?: string, entityId?: string, actorDid?: string, subjectDid?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) {
204
+ return ActivityApiFp(this.configuration).list(pageIndex, pageSize, dateFrom, dateTo, type, entityType, entityId, actorDid, subjectDid, aPIVersion, options).then((request) => request(this.axios, this.basePath));
205
205
  }
206
206
  }
207
207
 
@@ -169,16 +169,16 @@ export const RequestsApiAxiosParamCreator = function (configuration?: Configurat
169
169
  * @param {number} [pageIndex] Page number
170
170
  * @param {number} [pageSize] Number of items per page
171
171
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
172
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
173
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
172
174
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
173
175
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
174
176
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
175
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
176
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
177
177
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
178
178
  * @param {*} [options] Override http request option.
179
179
  * @throws {RequiredError}
180
180
  */
181
- list: async (pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
181
+ list: async (pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
182
182
  const localVarPath = `/request`;
183
183
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
184
184
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -203,18 +203,6 @@ export const RequestsApiAxiosParamCreator = function (configuration?: Configurat
203
203
  localVarQueryParameter['search'] = search;
204
204
  }
205
205
 
206
- if (subject !== undefined) {
207
- localVarQueryParameter['subject'] = subject;
208
- }
209
-
210
- if (internalId !== undefined) {
211
- localVarQueryParameter['internalId'] = internalId;
212
- }
213
-
214
- if (securityLevel) {
215
- localVarQueryParameter['securityLevel'] = securityLevel;
216
- }
217
-
218
206
  if (dateFrom !== undefined) {
219
207
  localVarQueryParameter['dateFrom'] = (dateFrom as any instanceof Date) ?
220
208
  (dateFrom as any).toISOString() :
@@ -227,6 +215,18 @@ export const RequestsApiAxiosParamCreator = function (configuration?: Configurat
227
215
  dateTo;
228
216
  }
229
217
 
218
+ if (subject !== undefined) {
219
+ localVarQueryParameter['subject'] = subject;
220
+ }
221
+
222
+ if (internalId !== undefined) {
223
+ localVarQueryParameter['internalId'] = internalId;
224
+ }
225
+
226
+ if (securityLevel) {
227
+ localVarQueryParameter['securityLevel'] = securityLevel;
228
+ }
229
+
230
230
 
231
231
 
232
232
  if (aPIVersion != null) {
@@ -357,17 +357,17 @@ export const RequestsApiFp = function(configuration?: Configuration) {
357
357
  * @param {number} [pageIndex] Page number
358
358
  * @param {number} [pageSize] Number of items per page
359
359
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
360
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
361
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
360
362
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
361
363
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
362
364
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
363
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
364
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
365
365
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
366
366
  * @param {*} [options] Override http request option.
367
367
  * @throws {RequiredError}
368
368
  */
369
- async list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestsEntity>> {
370
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options);
369
+ async list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestsEntity>> {
370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options);
371
371
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
372
372
  const localVarOperationServerBasePath = operationServerMap['RequestsApi.list']?.[localVarOperationServerIndex]?.url;
373
373
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -440,17 +440,17 @@ export const RequestsApiFactory = function (configuration?: Configuration, baseP
440
440
  * @param {number} [pageIndex] Page number
441
441
  * @param {number} [pageSize] Number of items per page
442
442
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
443
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
444
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
443
445
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
444
446
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
445
447
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
446
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
447
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
448
448
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
449
449
  * @param {*} [options] Override http request option.
450
450
  * @throws {RequiredError}
451
451
  */
452
- list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity> {
453
- return localVarFp.list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options).then((request) => request(axios, basePath));
452
+ list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig): AxiosPromise<RequestsEntity> {
453
+ return localVarFp.list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(axios, basePath));
454
454
  },
455
455
  /**
456
456
  * Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS (depending on their contact type) with a code and a signing URL. The endpoint validates: - The request is not canceled - Maximum attempts have not been reached, only successful OTP sends count towards resend limits - Sufficient time has passed since the last successful resend - Billing restrictions apply
@@ -523,18 +523,18 @@ export class RequestsApi extends BaseAPI {
523
523
  * @param {number} [pageIndex] Page number
524
524
  * @param {number} [pageSize] Number of items per page
525
525
  * @param {string} [search] Search query to filter by. Is case-insensitive and does not need to match the entire value.
526
+ * @param {string} [dateFrom] Filter from date (will be converted to start of day in UTC)
527
+ * @param {string} [dateTo] Filter to date (will be converted to end of day in UTC). Requires dateFrom.
526
528
  * @param {string} [subject] Filter by subject (nested object with contact, id, or internalId).
527
529
  * @param {string} [internalId] Identifier to help you identify the request in your own system. We recommend using a unique value.
528
530
  * @param {Array<ListSecurityLevelEnum>} [securityLevel] Filter by security level. Can be a single value or array
529
- * @param {string} [dateFrom] Filter from date (will be converted to start of day)
530
- * @param {string} [dateTo] Filter to date (will be converted to end of day). Requires dateFrom.
531
531
  * @param {string} [aPIVersion] Pin responses to a specific API version (YYYY-MM-DD). When omitted, defaults to the version stored in your issuer config or today\&#39;s date.
532
532
  * @param {*} [options] Override http request option.
533
533
  * @throws {RequiredError}
534
534
  * @memberof RequestsApi
535
535
  */
536
- public list(pageIndex?: number, pageSize?: number, search?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, dateFrom?: string, dateTo?: string, aPIVersion?: string, options?: RawAxiosRequestConfig) {
537
- return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options).then((request) => request(this.axios, this.basePath));
536
+ public list(pageIndex?: number, pageSize?: number, search?: string, dateFrom?: string, dateTo?: string, subject?: string, internalId?: string, securityLevel?: Array<ListSecurityLevelEnum>, aPIVersion?: string, options?: RawAxiosRequestConfig) {
537
+ return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, dateFrom, dateTo, subject, internalId, securityLevel, aPIVersion, options).then((request) => request(this.axios, this.basePath));
538
538
  }
539
539
 
540
540
  /**
@@ -32,6 +32,18 @@ export interface ActivityQuery {
32
32
  * @memberof ActivityQuery
33
33
  */
34
34
  'pageSize'?: number;
35
+ /**
36
+ * Filter from date (will be converted to start of day in UTC)
37
+ * @type {string}
38
+ * @memberof ActivityQuery
39
+ */
40
+ 'dateFrom'?: string;
41
+ /**
42
+ * Filter to date (will be converted to end of day in UTC). Requires dateFrom.
43
+ * @type {string}
44
+ * @memberof ActivityQuery
45
+ */
46
+ 'dateTo'?: string;
35
47
  /**
36
48
  * Filter by one or more activity event types. Repeat the query parameter to pass multiple values, e.g. ?type=VP_VERIFIED&type=VP_VERIFICATION_DENIED.
37
49
  * @type {Array<string>}
@@ -62,18 +74,6 @@ export interface ActivityQuery {
62
74
  * @memberof ActivityQuery
63
75
  */
64
76
  'subjectDid'?: string;
65
- /**
66
- * Filter from date (will be converted to start of day).
67
- * @type {string}
68
- * @memberof ActivityQuery
69
- */
70
- 'dateFrom'?: string;
71
- /**
72
- * Filter to date (will be converted to end of day). Requires dateFrom.
73
- * @type {string}
74
- * @memberof ActivityQuery
75
- */
76
- 'dateTo'?: string;
77
77
  }
78
78
 
79
79
  export const ActivityQueryTypeEnum = {
@@ -0,0 +1,27 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Humanos API
5
+ * Humanos API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { CONSENT } from './consent';
19
+
20
+ /**
21
+ * @type CredentialDtoData
22
+ * Data associated with the credential
23
+ * @export
24
+ */
25
+ export type CredentialDtoData = CONSENT | string;
26
+
27
+
@@ -18,7 +18,7 @@
18
18
  import type { ActionDto } from './action-dto';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import type { CredentialDtoDataInner } from './credential-dto-data-inner';
21
+ import type { CredentialDtoData } from './credential-dto-data';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import type { CredentialPlacementDto } from './credential-placement-dto';
@@ -72,11 +72,11 @@ export interface CredentialDto {
72
72
  */
73
73
  'internalId'?: string;
74
74
  /**
75
- * Data associated with the credential
76
- * @type {Array<CredentialDtoDataInner>}
75
+ *
76
+ * @type {CredentialDtoData}
77
77
  * @memberof CredentialDto
78
78
  */
79
- 'data'?: Array<CredentialDtoDataInner>;
79
+ 'data'?: CredentialDtoData;
80
80
  /**
81
81
  * Predefined signature placements for document credentials
82
82
  * @type {Array<CredentialPlacementDto>}
@@ -14,7 +14,7 @@ export * from './create-presentation-dto';
14
14
  export * from './create-subject-dto';
15
15
  export * from './create-subject-entity';
16
16
  export * from './credential-dto';
17
- export * from './credential-dto-data-inner';
17
+ export * from './credential-dto-data';
18
18
  export * from './credential-entity';
19
19
  export * from './credential-event';
20
20
  export * from './credential-event-decision';