@researchdatabox/redbox-core-types 1.0.6-beta → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/Attachment.d.ts +0 -0
  2. package/dist/Attachment.js +0 -0
  3. package/dist/CoreController.d.ts +0 -0
  4. package/dist/CoreController.js +0 -0
  5. package/dist/CoreService.d.ts +0 -0
  6. package/dist/CoreService.js +0 -0
  7. package/dist/Datastream.d.ts +0 -0
  8. package/dist/Datastream.js +0 -0
  9. package/dist/DatastreamService.d.ts +0 -0
  10. package/dist/DatastreamService.js +0 -0
  11. package/dist/DatastreamServiceResponse.d.ts +0 -0
  12. package/dist/DatastreamServiceResponse.js +0 -0
  13. package/dist/QueueService.d.ts +0 -0
  14. package/dist/QueueService.js +0 -0
  15. package/dist/RecordAuditParams.d.ts +5 -0
  16. package/dist/RecordAuditParams.js +6 -0
  17. package/dist/RecordsService.d.ts +0 -0
  18. package/dist/RecordsService.js +0 -0
  19. package/dist/SearchService.d.ts +0 -0
  20. package/dist/SearchService.js +0 -0
  21. package/dist/StorageService.d.ts +1 -0
  22. package/dist/StorageService.js +0 -0
  23. package/dist/StorageServiceResponse.d.ts +0 -0
  24. package/dist/StorageServiceResponse.js +0 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +3 -1
  27. package/dist/model/APIActionResponse.d.ts +0 -0
  28. package/dist/model/APIActionResponse.js +0 -0
  29. package/dist/model/APIErrorResponse.d.ts +0 -0
  30. package/dist/model/APIErrorResponse.js +0 -0
  31. package/dist/model/APIHarvestResponse.d.ts +0 -0
  32. package/dist/model/APIHarvestResponse.js +0 -0
  33. package/dist/model/APIObjectActionResponse.d.ts +0 -0
  34. package/dist/model/APIObjectActionResponse.js +0 -0
  35. package/dist/model/ListAPIResponse.d.ts +0 -0
  36. package/dist/model/ListAPIResponse.js +0 -0
  37. package/dist/model/ListAPISummary.d.ts +0 -0
  38. package/dist/model/ListAPISummary.js +0 -0
  39. package/dist/model/RBValidationError.d.ts +3 -0
  40. package/dist/model/RBValidationError.js +10 -0
  41. package/dist/model/RecordAuditModel.d.ts +0 -0
  42. package/dist/model/RecordAuditModel.js +0 -0
  43. package/dist/model/RequestDetails.d.ts +0 -0
  44. package/dist/model/RequestDetails.js +0 -0
  45. package/dist/model/User.d.ts +0 -0
  46. package/dist/model/User.js +0 -0
  47. package/dist/model/api/CreateUserAPIResponse.d.ts +0 -0
  48. package/dist/model/api/CreateUserAPIResponse.js +0 -0
  49. package/dist/model/api/UserAPITokenAPIResponse.d.ts +0 -0
  50. package/dist/model/api/UserAPITokenAPIResponse.js +0 -0
  51. package/dist/model/api/index.d.ts +0 -0
  52. package/dist/model/api/index.js +0 -0
  53. package/dist/model/index.d.ts +1 -0
  54. package/dist/model/index.js +3 -1
  55. package/package.json +1 -1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ export declare class RecordAuditParams {
2
+ "oid": string;
3
+ "dateFrom": Date;
4
+ "dateTo": Date;
5
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecordAuditParams = void 0;
4
+ class RecordAuditParams {
5
+ }
6
+ exports.RecordAuditParams = RecordAuditParams;
File without changes
File without changes
File without changes
File without changes
@@ -12,4 +12,5 @@ export interface StorageService {
12
12
  getRecords(workflowState: any, recordType: any, start: any, rows: any, username: any, roles: any, brand: any, editAccessOnly: any, packageType: any, sort: any, fieldNames?: any, filterString?: any): Promise<any>;
13
13
  exportAllPlans(username: any, roles: any, brand: any, format: any, modBefore: any, modAfter: any, recType: any): Readable;
14
14
  createRecordAudit?(record: any): Promise<any>;
15
+ getRecordAudit(params: any): Promise<any>;
15
16
  }
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
@@ -9,4 +9,5 @@ export { QueueService } from "./QueueService";
9
9
  export { RecordsService } from "./RecordsService";
10
10
  export { SearchService } from "./SearchService";
11
11
  export { StorageService } from "./StorageService";
12
+ export { RecordAuditParams } from "./RecordAuditParams";
12
13
  export * from './model';
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.DatastreamServiceResponse = exports.StorageServiceResponse = exports.Datastream = exports.Services = exports.Controllers = exports.Attachment = void 0;
13
+ exports.RecordAuditParams = exports.DatastreamServiceResponse = exports.StorageServiceResponse = exports.Datastream = exports.Services = exports.Controllers = exports.Attachment = void 0;
14
14
  var Attachment_1 = require("./Attachment");
15
15
  Object.defineProperty(exports, "Attachment", { enumerable: true, get: function () { return Attachment_1.Attachment; } });
16
16
  var CoreController_1 = require("./CoreController");
@@ -23,4 +23,6 @@ var StorageServiceResponse_1 = require("./StorageServiceResponse");
23
23
  Object.defineProperty(exports, "StorageServiceResponse", { enumerable: true, get: function () { return StorageServiceResponse_1.StorageServiceResponse; } });
24
24
  var DatastreamServiceResponse_1 = require("./DatastreamServiceResponse");
25
25
  Object.defineProperty(exports, "DatastreamServiceResponse", { enumerable: true, get: function () { return DatastreamServiceResponse_1.DatastreamServiceResponse; } });
26
+ var RecordAuditParams_1 = require("./RecordAuditParams");
27
+ Object.defineProperty(exports, "RecordAuditParams", { enumerable: true, get: function () { return RecordAuditParams_1.RecordAuditParams; } });
26
28
  __exportStar(require("./model"), exports);
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ export declare class RBValidationError extends Error {
2
+ constructor(args: any);
3
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RBValidationError = void 0;
4
+ class RBValidationError extends Error {
5
+ constructor(args) {
6
+ super(args);
7
+ this.name = 'RBValidationError';
8
+ }
9
+ }
10
+ exports.RBValidationError = RBValidationError;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,6 +2,7 @@ export { APIActionResponse } from "./APIActionResponse";
2
2
  export { APIErrorResponse } from "./APIErrorResponse";
3
3
  export { APIObjectActionResponse } from "./APIObjectActionResponse";
4
4
  export { APIHarvestResponse } from "./APIHarvestResponse";
5
+ export { RBValidationError } from "./RBValidationError";
5
6
  export { ListAPIResponse } from "./ListAPIResponse";
6
7
  export { ListAPISummary } from "./ListAPISummary";
7
8
  export { RecordAuditModel } from "./RecordAuditModel";
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.User = exports.RequestDetails = exports.RecordAuditModel = exports.ListAPISummary = exports.ListAPIResponse = exports.APIHarvestResponse = exports.APIObjectActionResponse = exports.APIErrorResponse = exports.APIActionResponse = void 0;
13
+ exports.User = exports.RequestDetails = exports.RecordAuditModel = exports.ListAPISummary = exports.ListAPIResponse = exports.RBValidationError = exports.APIHarvestResponse = exports.APIObjectActionResponse = exports.APIErrorResponse = exports.APIActionResponse = void 0;
14
14
  var APIActionResponse_1 = require("./APIActionResponse");
15
15
  Object.defineProperty(exports, "APIActionResponse", { enumerable: true, get: function () { return APIActionResponse_1.APIActionResponse; } });
16
16
  var APIErrorResponse_1 = require("./APIErrorResponse");
@@ -19,6 +19,8 @@ var APIObjectActionResponse_1 = require("./APIObjectActionResponse");
19
19
  Object.defineProperty(exports, "APIObjectActionResponse", { enumerable: true, get: function () { return APIObjectActionResponse_1.APIObjectActionResponse; } });
20
20
  var APIHarvestResponse_1 = require("./APIHarvestResponse");
21
21
  Object.defineProperty(exports, "APIHarvestResponse", { enumerable: true, get: function () { return APIHarvestResponse_1.APIHarvestResponse; } });
22
+ var RBValidationError_1 = require("./RBValidationError");
23
+ Object.defineProperty(exports, "RBValidationError", { enumerable: true, get: function () { return RBValidationError_1.RBValidationError; } });
22
24
  var ListAPIResponse_1 = require("./ListAPIResponse");
23
25
  Object.defineProperty(exports, "ListAPIResponse", { enumerable: true, get: function () { return ListAPIResponse_1.ListAPIResponse; } });
24
26
  var ListAPISummary_1 = require("./ListAPISummary");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@researchdatabox/redbox-core-types",
3
- "version": "1.0.6-beta",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",