humanos 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
397
399
  * @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;).
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\&#39;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, dateFrom, dateTo, aPIVersion, options = {}) => {
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&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
466
468
  * @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;).
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\&#39;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, dateFrom, dateTo, aPIVersion, options) {
477
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options);
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&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
493
495
  * @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;).
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\&#39;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, dateFrom, dateTo, aPIVersion, options) {
504
- return localVarFp.list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options).then((request) => request(axios2, basePath));
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&#x3D;VP_VERIFIED&amp;type&#x3D;VP_VERIFICATION_DENIED.
515
517
  * @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;).
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\&#39;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, dateFrom, dateTo, aPIVersion, options) {
527
- return ActivityApiFp(this.configuration).list(pageIndex, pageSize, type, entityType, entityId, actorDid, subjectDid, dateFrom, dateTo, aPIVersion, options).then((request) => request(this.axios, this.basePath));
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\&#39;s date.
1355
1355
  * @param {*} [options] Override http request option.
1356
1356
  * @throws {RequiredError}
1357
1357
  */
1358
- list: async (pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options = {}) => {
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\&#39;s date.
1509
1509
  * @param {*} [options] Override http request option.
1510
1510
  * @throws {RequiredError}
1511
1511
  */
1512
- async list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options) {
1513
- const localVarAxiosArgs = await localVarAxiosParamCreator.list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options);
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\&#39;s date.
1587
1587
  * @param {*} [options] Override http request option.
1588
1588
  * @throws {RequiredError}
1589
1589
  */
1590
- list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options) {
1591
- return localVarFp.list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options).then((request) => request(axios2, basePath));
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\&#39;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, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options) {
1665
- return RequestsApiFp(this.configuration).list(pageIndex, pageSize, search, subject, internalId, securityLevel, dateFrom, dateTo, aPIVersion, options).then((request) => request(this.axios, this.basePath));
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
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
@@ -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