@carbonbox/domain 0.42.0 → 0.44.0
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/build/carbonbox/reporting/report-content-generation-jobs/domain/entity/IReportContentGenerationJob.js +2 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/entity/ReportContentGenerationJob.js +158 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/enums/ReportContentGenerationStatus.js +14 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/exceptions/ReportContentGenerationJobInvalidStatusTransitionError.js +31 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/repository/IReportContentGenerationJobRepository.js +2 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/types/ReportContentGenerationJobPrimitives.js +2 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/types/ReportContentGenerationJobProps.js +2 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobAttemptCount.js +30 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCarbonClientId.js +23 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCompletedAt.js +20 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCreatedAt.js +20 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobFailureReason.js +20 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobId.js +44 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobReportInstanceId.js +23 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobRequestedByStakeholderId.js +23 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobStartedAt.js +20 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobStatus.js +60 -0
- package/build/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobUpdatedAt.js +20 -0
- package/build/carbonbox/reporting/report-instances/domain/entity/ReportInstance.js +18 -2
- package/build/carbonbox/reporting/shared/domain/enums/AssuranceLevel.js +23 -0
- package/build/carbonbox/reporting/shared/domain/enums/DataBindingSource.js +6 -0
- package/build/carbonbox/reporting/shared/domain/enums/VerificationType.js +22 -0
- package/build/carbonbox/reporting/shared/domain/exceptions/InvalidReportAssuranceError.js +29 -0
- package/build/carbonbox/reporting/shared/domain/types/ReportAssurancePrimitives.js +2 -0
- package/build/carbonbox/reporting/shared/domain/value-objects/ReportAssurance.js +78 -0
- package/build/carbonbox/shared/domain/enums/ErrorCode.js +2 -0
- package/build/carbonbox/shared/domain/enums/SemanticUuidPrefix.js +1 -0
- package/build/main/index.js +46 -9
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/entity/IReportContentGenerationJob.d.ts +24 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/entity/IReportContentGenerationJob.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/entity/ReportContentGenerationJob.d.ts +56 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/entity/ReportContentGenerationJob.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/enums/ReportContentGenerationStatus.d.ts +11 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/enums/ReportContentGenerationStatus.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/exceptions/ReportContentGenerationJobInvalidStatusTransitionError.d.ts +7 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/exceptions/ReportContentGenerationJobInvalidStatusTransitionError.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/repository/IReportContentGenerationJobRepository.d.ts +20 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/repository/IReportContentGenerationJobRepository.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/types/ReportContentGenerationJobPrimitives.d.ts +19 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/types/ReportContentGenerationJobPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/types/ReportContentGenerationJobProps.d.ts +15 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/types/ReportContentGenerationJobProps.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobAttemptCount.d.ts +10 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobAttemptCount.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCarbonClientId.d.ts +9 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCarbonClientId.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCompletedAt.d.ts +9 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCompletedAt.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCreatedAt.d.ts +9 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCreatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobFailureReason.d.ts +9 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobFailureReason.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobId.d.ts +11 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobId.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobReportInstanceId.d.ts +9 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobReportInstanceId.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobRequestedByStakeholderId.d.ts +9 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobRequestedByStakeholderId.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobStartedAt.d.ts +9 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobStartedAt.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobStatus.d.ts +21 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobStatus.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobUpdatedAt.d.ts +9 -0
- package/build/types/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobUpdatedAt.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/report-instances/domain/entity/IReportInstance.d.ts +2 -0
- package/build/types/carbonbox/reporting/report-instances/domain/entity/IReportInstance.d.ts.map +1 -1
- package/build/types/carbonbox/reporting/report-instances/domain/entity/ReportInstance.d.ts +4 -0
- package/build/types/carbonbox/reporting/report-instances/domain/entity/ReportInstance.d.ts.map +1 -1
- package/build/types/carbonbox/reporting/report-instances/domain/types/ReportInstancePrimitives.d.ts +2 -0
- package/build/types/carbonbox/reporting/report-instances/domain/types/ReportInstancePrimitives.d.ts.map +1 -1
- package/build/types/carbonbox/reporting/report-instances/domain/types/ReportInstanceProps.d.ts +2 -0
- package/build/types/carbonbox/reporting/report-instances/domain/types/ReportInstanceProps.d.ts.map +1 -1
- package/build/types/carbonbox/reporting/shared/domain/enums/AssuranceLevel.d.ts +20 -0
- package/build/types/carbonbox/reporting/shared/domain/enums/AssuranceLevel.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/shared/domain/enums/DataBindingSource.d.ts +4 -0
- package/build/types/carbonbox/reporting/shared/domain/enums/DataBindingSource.d.ts.map +1 -1
- package/build/types/carbonbox/reporting/shared/domain/enums/VerificationType.d.ts +19 -0
- package/build/types/carbonbox/reporting/shared/domain/enums/VerificationType.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportAssuranceError.d.ts +7 -0
- package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportAssuranceError.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/shared/domain/types/ReportAssurancePrimitives.d.ts +13 -0
- package/build/types/carbonbox/reporting/shared/domain/types/ReportAssurancePrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/reporting/shared/domain/value-objects/ReportAssurance.d.ts +26 -0
- package/build/types/carbonbox/reporting/shared/domain/value-objects/ReportAssurance.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/enums/ErrorCode.d.ts +2 -0
- package/build/types/carbonbox/shared/domain/enums/ErrorCode.d.ts.map +1 -1
- package/build/types/carbonbox/shared/domain/enums/SemanticUuidPrefix.d.ts +2 -1
- package/build/types/carbonbox/shared/domain/enums/SemanticUuidPrefix.d.ts.map +1 -1
- package/build/types/main/index.d.ts +23 -0
- package/build/types/main/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Nullable } from '../../../../shared/domain/types/Nullable';
|
|
2
|
+
import { ReportContentGenerationJob } from '../entity/ReportContentGenerationJob';
|
|
3
|
+
import { ReportContentGenerationJobId } from '../value-objects/ReportContentGenerationJobId';
|
|
4
|
+
import { ReportContentGenerationJobReportInstanceId } from '../value-objects/ReportContentGenerationJobReportInstanceId';
|
|
5
|
+
/**
|
|
6
|
+
* Repository contract for the ReportContentGenerationJob aggregate (DT-83).
|
|
7
|
+
*/
|
|
8
|
+
export interface IReportContentGenerationJobRepository {
|
|
9
|
+
/** Persists a job (create or update). */
|
|
10
|
+
save(job: ReportContentGenerationJob): Promise<void>;
|
|
11
|
+
/** Finds a job by its id, or null. */
|
|
12
|
+
findById(id: ReportContentGenerationJobId): Promise<Nullable<ReportContentGenerationJob>>;
|
|
13
|
+
/** Every job requested for a report instance, newest first. */
|
|
14
|
+
findAllByReportInstanceId(reportInstanceId: ReportContentGenerationJobReportInstanceId): Promise<ReportContentGenerationJob[]>;
|
|
15
|
+
/** The job still QUEUED or PROCESSING for a report instance, or null when none is running. */
|
|
16
|
+
findActiveByReportInstanceId(reportInstanceId: ReportContentGenerationJobReportInstanceId): Promise<Nullable<ReportContentGenerationJob>>;
|
|
17
|
+
/** The most recently created job for a report instance, whatever its status, or null. */
|
|
18
|
+
findLatestByReportInstanceId(reportInstanceId: ReportContentGenerationJobReportInstanceId): Promise<Nullable<ReportContentGenerationJob>>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=IReportContentGenerationJobRepository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IReportContentGenerationJobRepository.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/repository/IReportContentGenerationJobRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,0CAA0C,EAAE,MAAM,6DAA6D,CAAC;AAEzH;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,yCAAyC;IACzC,IAAI,CAAC,GAAG,EAAE,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD,sCAAsC;IACtC,QAAQ,CAAC,EAAE,EAAE,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC,CAAC;IAE1F,+DAA+D;IAC/D,yBAAyB,CAAC,gBAAgB,EAAE,0CAA0C,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC;IAE/H,8FAA8F;IAC9F,4BAA4B,CAAC,gBAAgB,EAAE,0CAA0C,GAAG,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC,CAAC;IAE1I,yFAAyF;IACzF,4BAA4B,CAAC,gBAAgB,EAAE,0CAA0C,GAAG,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC,CAAC;CAC3I"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AggregateRootPrimitives } from '../../../../shared/domain/types/AggregateRootPrimitives';
|
|
2
|
+
import { ReportContentGenerationStatus } from '../enums/ReportContentGenerationStatus';
|
|
3
|
+
/**
|
|
4
|
+
* Persisted shape of an asynchronous report content generation job (DT-83).
|
|
5
|
+
* Timestamps use the domain datetime format (`DD/MM/YYYY HH:mm:ss`).
|
|
6
|
+
*/
|
|
7
|
+
export type ReportContentGenerationJobPrimitives = AggregateRootPrimitives & {
|
|
8
|
+
reportInstanceId: string;
|
|
9
|
+
carbonClientId: string;
|
|
10
|
+
requestedByStakeholderId: string;
|
|
11
|
+
status: ReportContentGenerationStatus;
|
|
12
|
+
attemptCount: number;
|
|
13
|
+
failureReason: string | null;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
startedAt: string | null;
|
|
17
|
+
completedAt: string | null;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=ReportContentGenerationJobPrimitives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobPrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/types/ReportContentGenerationJobPrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAEvF;;;GAGG;AACH,MAAM,MAAM,oCAAoC,GAAG,uBAAuB,GAAG;IAC3E,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,EAAE,MAAM,CAAC;IACjC,MAAM,EAAE,6BAA6B,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AggregateRootProps } from '../../../../shared/domain/types/AggregateRootProps';
|
|
2
|
+
import { ReportContentGenerationStatus } from '../enums/ReportContentGenerationStatus';
|
|
3
|
+
export type ReportContentGenerationJobProps = AggregateRootProps & {
|
|
4
|
+
reportInstanceId: string;
|
|
5
|
+
carbonClientId: string;
|
|
6
|
+
requestedByStakeholderId: string;
|
|
7
|
+
status: ReportContentGenerationStatus;
|
|
8
|
+
attemptCount: number;
|
|
9
|
+
failureReason: string | null;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
startedAt: string | null;
|
|
13
|
+
completedAt: string | null;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=ReportContentGenerationJobProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/types/ReportContentGenerationJobProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAEvF,MAAM,MAAM,+BAA+B,GAAG,kBAAkB,GAAG;IACjE,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,EAAE,MAAM,CAAC;IACjC,MAAM,EAAE,6BAA6B,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Numeric } from '../../../../shared/domain/value-objects/Numeric';
|
|
2
|
+
export declare class ReportContentGenerationJobAttemptCount extends Numeric {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: number): ReportContentGenerationJobAttemptCount;
|
|
6
|
+
static fromPrimitives(primitive: number): ReportContentGenerationJobAttemptCount;
|
|
7
|
+
increment(): ReportContentGenerationJobAttemptCount;
|
|
8
|
+
toPrimitives(): number;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=ReportContentGenerationJobAttemptCount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobAttemptCount.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobAttemptCount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iDAAiD,CAAC;AAE1E,qBAAa,sCAAuC,SAAQ,OAAO;IACjE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAkB;IAEvD,OAAO;WAgBgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,sCAAsC;WAI7D,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,sCAAsC;IAIzF,SAAS,IAAI,sCAAsC;IAI1C,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
|
|
2
|
+
export declare class ReportContentGenerationJobCarbonClientId extends AggregateId {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: string): ReportContentGenerationJobCarbonClientId;
|
|
6
|
+
static fromPrimitives(primitive: string): ReportContentGenerationJobCarbonClientId;
|
|
7
|
+
toPrimitives(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ReportContentGenerationJobCarbonClientId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobCarbonClientId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCarbonClientId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,wCAAyC,SAAQ,WAAW;IACvE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAoB;IAEzD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,wCAAwC;WAQ/D,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,wCAAwC;IAIlF,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NullableDateTimeString } from '../../../../shared/domain/value-objects/NullableDateTimeString';
|
|
2
|
+
export declare class ReportContentGenerationJobCompletedAt extends NullableDateTimeString {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: string | null): ReportContentGenerationJobCompletedAt;
|
|
6
|
+
static fromPrimitives(primitive: string | null): ReportContentGenerationJobCompletedAt;
|
|
7
|
+
toPrimitives(): string | null;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ReportContentGenerationJobCompletedAt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobCompletedAt.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCompletedAt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAExG,qBAAa,qCAAsC,SAAQ,sBAAsB;IAC/E,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAiB;IAEtD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,qCAAqC;WAInE,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,qCAAqC;IAItF,YAAY,IAAI,MAAM,GAAG,IAAI;CAG9C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DateTimeString } from '../../../../shared/domain/value-objects/DateTimeString';
|
|
2
|
+
export declare class ReportContentGenerationJobCreatedAt extends DateTimeString {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: string): ReportContentGenerationJobCreatedAt;
|
|
6
|
+
static fromPrimitives(primitive: string): ReportContentGenerationJobCreatedAt;
|
|
7
|
+
toPrimitives(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ReportContentGenerationJobCreatedAt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobCreatedAt.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobCreatedAt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAExF,qBAAa,mCAAoC,SAAQ,cAAc;IACrE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAe;IAEpD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,mCAAmC;WAI1D,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,mCAAmC;IAI7E,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NullableString } from '../../../../shared/domain/value-objects/NullableString';
|
|
2
|
+
export declare class ReportContentGenerationJobFailureReason extends NullableString {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: string | null): ReportContentGenerationJobFailureReason;
|
|
6
|
+
static fromPrimitives(primitive: string | null): ReportContentGenerationJobFailureReason;
|
|
7
|
+
toPrimitives(): string | null;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ReportContentGenerationJobFailureReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobFailureReason.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobFailureReason.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAExF,qBAAa,uCAAwC,SAAQ,cAAc;IACzE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAmB;IAExD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,uCAAuC;WAIrE,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,uCAAuC;IAIxF,YAAY,IAAI,MAAM,GAAG,IAAI;CAG9C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
|
|
2
|
+
export declare class ReportContentGenerationJobId extends AggregateId {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private static readonly VALID_PREFIXES;
|
|
5
|
+
private constructor();
|
|
6
|
+
static create(value: string): ReportContentGenerationJobId;
|
|
7
|
+
private static guardAgainstInvalidPrefix;
|
|
8
|
+
static fromPrimitives(primitive: string): ReportContentGenerationJobId;
|
|
9
|
+
toPrimitives(): string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ReportContentGenerationJobId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,4BAA6B,SAAQ,WAAW;IAC3D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B;IAU1E,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA4BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,4BAA4B;IAItE,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
|
|
2
|
+
export declare class ReportContentGenerationJobReportInstanceId extends AggregateId {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: string): ReportContentGenerationJobReportInstanceId;
|
|
6
|
+
static fromPrimitives(primitive: string): ReportContentGenerationJobReportInstanceId;
|
|
7
|
+
toPrimitives(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ReportContentGenerationJobReportInstanceId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobReportInstanceId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobReportInstanceId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,0CAA2C,SAAQ,WAAW;IACzE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAsB;IAE3D,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,0CAA0C;WAQjE,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,0CAA0C;IAIpF,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
|
|
2
|
+
export declare class ReportContentGenerationJobRequestedByStakeholderId extends AggregateId {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: string): ReportContentGenerationJobRequestedByStakeholderId;
|
|
6
|
+
static fromPrimitives(primitive: string): ReportContentGenerationJobRequestedByStakeholderId;
|
|
7
|
+
toPrimitives(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ReportContentGenerationJobRequestedByStakeholderId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobRequestedByStakeholderId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobRequestedByStakeholderId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,kDAAmD,SAAQ,WAAW;IACjF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAA8B;IAEnE,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,kDAAkD;WAQzE,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,kDAAkD;IAI5F,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NullableDateTimeString } from '../../../../shared/domain/value-objects/NullableDateTimeString';
|
|
2
|
+
export declare class ReportContentGenerationJobStartedAt extends NullableDateTimeString {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: string | null): ReportContentGenerationJobStartedAt;
|
|
6
|
+
static fromPrimitives(primitive: string | null): ReportContentGenerationJobStartedAt;
|
|
7
|
+
toPrimitives(): string | null;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ReportContentGenerationJobStartedAt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobStartedAt.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobStartedAt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAExG,qBAAa,mCAAoC,SAAQ,sBAAsB;IAC7E,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAe;IAEpD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,mCAAmC;WAIjE,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,mCAAmC;IAIpF,YAAY,IAAI,MAAM,GAAG,IAAI;CAG9C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { String } from '../../../../shared/domain/value-objects/String';
|
|
2
|
+
import { ReportContentGenerationStatus } from '../enums/ReportContentGenerationStatus';
|
|
3
|
+
export declare class ReportContentGenerationJobStatus extends String {
|
|
4
|
+
private static readonly PROPERTY_NAME;
|
|
5
|
+
private static readonly VALID_STATUSES;
|
|
6
|
+
private constructor();
|
|
7
|
+
static create(value: string): ReportContentGenerationJobStatus;
|
|
8
|
+
static fromPrimitives(primitive: string): ReportContentGenerationJobStatus;
|
|
9
|
+
private static validateStatus;
|
|
10
|
+
isQueued(): boolean;
|
|
11
|
+
isProcessing(): boolean;
|
|
12
|
+
isCompleted(): boolean;
|
|
13
|
+
isFailed(): boolean;
|
|
14
|
+
isFinal(): boolean;
|
|
15
|
+
canTransitionToProcessing(): boolean;
|
|
16
|
+
canTransitionToCompleted(): boolean;
|
|
17
|
+
canTransitionToFailed(): boolean;
|
|
18
|
+
toEnum(): ReportContentGenerationStatus;
|
|
19
|
+
toPrimitives(): string;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=ReportContentGenerationJobStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobStatus.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobStatus.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,gDAAgD,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAEvF,qBAAa,gCAAiC,SAAQ,MAAM;IAC1D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAY;IAEjD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAiF;IAEvH,OAAO;WAQgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gCAAgC;WAOvD,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gCAAgC;IAI1F,OAAO,CAAC,MAAM,CAAC,cAAc;IAUtB,QAAQ,IAAI,OAAO;IAInB,YAAY,IAAI,OAAO;IAIvB,WAAW,IAAI,OAAO;IAItB,QAAQ,IAAI,OAAO;IAInB,OAAO,IAAI,OAAO;IAIlB,yBAAyB,IAAI,OAAO;IAIpC,wBAAwB,IAAI,OAAO;IAInC,qBAAqB,IAAI,OAAO;IAIhC,MAAM,IAAI,6BAA6B;IAI9B,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DateTimeString } from '../../../../shared/domain/value-objects/DateTimeString';
|
|
2
|
+
export declare class ReportContentGenerationJobUpdatedAt extends DateTimeString {
|
|
3
|
+
private static readonly PROPERTY_NAME;
|
|
4
|
+
private constructor();
|
|
5
|
+
static create(value: string): ReportContentGenerationJobUpdatedAt;
|
|
6
|
+
static fromPrimitives(primitive: string): ReportContentGenerationJobUpdatedAt;
|
|
7
|
+
toPrimitives(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ReportContentGenerationJobUpdatedAt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportContentGenerationJobUpdatedAt.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-content-generation-jobs/domain/value-objects/ReportContentGenerationJobUpdatedAt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AAExF,qBAAa,mCAAoC,SAAQ,cAAc;IACrE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAe;IAEpD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,mCAAmC;WAI1D,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,mCAAmC;IAI7E,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -9,6 +9,7 @@ export interface IReportInstance extends IAggregateRoot {
|
|
|
9
9
|
getPeriod(): ReportInstanceProps['period'];
|
|
10
10
|
getFilters(): ReportInstanceProps['filters'];
|
|
11
11
|
getQuestionnaireAnswers(): ReportInstanceProps['questionnaireAnswers'];
|
|
12
|
+
getAssurance(): ReportInstanceProps['assurance'];
|
|
12
13
|
getDataSnapshot(): Record<string, unknown>;
|
|
13
14
|
getGeneratedContent(): Record<string, unknown> | null;
|
|
14
15
|
getPdfUrl(): string | null;
|
|
@@ -32,5 +33,6 @@ export interface IReportInstance extends IAggregateRoot {
|
|
|
32
33
|
hasGeneratedContent(): boolean;
|
|
33
34
|
hasPdf(): boolean;
|
|
34
35
|
requiresClientApproval(): boolean;
|
|
36
|
+
isVerified(): boolean;
|
|
35
37
|
}
|
|
36
38
|
//# sourceMappingURL=IReportInstance.d.ts.map
|
package/build/types/carbonbox/reporting/report-instances/domain/entity/IReportInstance.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IReportInstance.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-instances/domain/entity/IReportInstance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AAEjG,MAAM,WAAW,eAAgB,SAAQ,cAAc;IAErD,KAAK,IAAI,MAAM,CAAC;IAChB,aAAa,IAAI,MAAM,CAAC;IACxB,kBAAkB,IAAI,MAAM,CAAC;IAC7B,iBAAiB,IAAI,MAAM,CAAC;IAC5B,SAAS,IAAI,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAC3C,UAAU,IAAI,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAC7C,uBAAuB,IAAI,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;IACvE,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACtD,SAAS,IAAI,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,IAAI,MAAM,CAAC;IACpB,YAAY,IAAI,wBAAwB,EAAE,CAAC;IAC3C,eAAe,IAAI,mBAAmB,CAAC,cAAc,CAAC,CAAC;IACvD,YAAY,IAAI,MAAM,CAAC;IACvB,YAAY,IAAI,MAAM,CAAC;IAGvB,OAAO,IAAI,OAAO,CAAC;IACnB,YAAY,IAAI,OAAO,CAAC;IACxB,iBAAiB,IAAI,OAAO,CAAC;IAC7B,eAAe,IAAI,OAAO,CAAC;IAC3B,UAAU,IAAI,OAAO,CAAC;IACtB,WAAW,IAAI,OAAO,CAAC;IACvB,UAAU,IAAI,OAAO,CAAC;IAGtB,cAAc,IAAI,OAAO,CAAC;IAC1B,uBAAuB,IAAI,OAAO,CAAC;IACnC,qBAAqB,IAAI,OAAO,CAAC;IACjC,cAAc,IAAI,OAAO,CAAC;IAC1B,aAAa,IAAI,OAAO,CAAC;IAGzB,mBAAmB,IAAI,OAAO,CAAC;IAC/B,MAAM,IAAI,OAAO,CAAC;IAClB,sBAAsB,IAAI,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"IReportInstance.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-instances/domain/entity/IReportInstance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AAEjG,MAAM,WAAW,eAAgB,SAAQ,cAAc;IAErD,KAAK,IAAI,MAAM,CAAC;IAChB,aAAa,IAAI,MAAM,CAAC;IACxB,kBAAkB,IAAI,MAAM,CAAC;IAC7B,iBAAiB,IAAI,MAAM,CAAC;IAC5B,SAAS,IAAI,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAC3C,UAAU,IAAI,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAC7C,uBAAuB,IAAI,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;IACvE,YAAY,IAAI,mBAAmB,CAAC,WAAW,CAAC,CAAC;IACjD,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACtD,SAAS,IAAI,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,IAAI,MAAM,CAAC;IACpB,YAAY,IAAI,wBAAwB,EAAE,CAAC;IAC3C,eAAe,IAAI,mBAAmB,CAAC,cAAc,CAAC,CAAC;IACvD,YAAY,IAAI,MAAM,CAAC;IACvB,YAAY,IAAI,MAAM,CAAC;IAGvB,OAAO,IAAI,OAAO,CAAC;IACnB,YAAY,IAAI,OAAO,CAAC;IACxB,iBAAiB,IAAI,OAAO,CAAC;IAC7B,eAAe,IAAI,OAAO,CAAC;IAC3B,UAAU,IAAI,OAAO,CAAC;IACtB,WAAW,IAAI,OAAO,CAAC;IACvB,UAAU,IAAI,OAAO,CAAC;IAGtB,cAAc,IAAI,OAAO,CAAC;IAC1B,uBAAuB,IAAI,OAAO,CAAC;IACnC,qBAAqB,IAAI,OAAO,CAAC;IACjC,cAAc,IAAI,OAAO,CAAC;IAC1B,aAAa,IAAI,OAAO,CAAC;IAGzB,mBAAmB,IAAI,OAAO,CAAC;IAC/B,MAAM,IAAI,OAAO,CAAC;IAClB,sBAAsB,IAAI,OAAO,CAAC;IAClC,UAAU,IAAI,OAAO,CAAC;CACvB"}
|
|
@@ -6,6 +6,7 @@ import { ApprovalRecordPrimitives } from '../../../shared/domain/types/ApprovalR
|
|
|
6
6
|
import { ReportPeriodPrimitives } from '../../../shared/domain/types/ReportPeriodPrimitives';
|
|
7
7
|
import { QuestionnaireAnswerPrimitives } from '../../../shared/domain/types/QuestionnaireAnswerPrimitives';
|
|
8
8
|
import { AIExecutionRecordPrimitives } from '../../../shared/domain/types/AIExecutionRecordPrimitives';
|
|
9
|
+
import { ReportAssurancePrimitives } from '../../../shared/domain/types/ReportAssurancePrimitives';
|
|
9
10
|
export declare class ReportInstance extends AggregateRoot<ReportInstancePrimitives> implements IReportInstance {
|
|
10
11
|
#private;
|
|
11
12
|
private constructor();
|
|
@@ -20,6 +21,7 @@ export declare class ReportInstance extends AggregateRoot<ReportInstancePrimitiv
|
|
|
20
21
|
getPeriod(): ReportPeriodPrimitives;
|
|
21
22
|
getFilters(): ReportInstanceProps['filters'];
|
|
22
23
|
getQuestionnaireAnswers(): QuestionnaireAnswerPrimitives[];
|
|
24
|
+
getAssurance(): ReportAssurancePrimitives;
|
|
23
25
|
getDataSnapshot(): Record<string, unknown>;
|
|
24
26
|
getGeneratedContent(): Record<string, unknown> | null;
|
|
25
27
|
getPdfUrl(): string | null;
|
|
@@ -56,6 +58,8 @@ export declare class ReportInstance extends AggregateRoot<ReportInstancePrimitiv
|
|
|
56
58
|
hasGeneratedContent(): boolean;
|
|
57
59
|
hasPdf(): boolean;
|
|
58
60
|
requiresClientApproval(): boolean;
|
|
61
|
+
/** GAP 6: whether the inventory of this report was verified (limited or reasonable assurance). */
|
|
62
|
+
isVerified(): boolean;
|
|
59
63
|
getApprovalCount(): number;
|
|
60
64
|
hasInternalApproval(): boolean;
|
|
61
65
|
hasClientApproval(): boolean;
|
package/build/types/carbonbox/reporting/report-instances/domain/entity/ReportInstance.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportInstance.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-instances/domain/entity/ReportInstance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AAEjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,4DAA4D,CAAC;AAC3G,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"ReportInstance.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-instances/domain/entity/ReportInstance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AAEjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,4DAA4D,CAAC;AAC3G,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AASnG,qBAAa,cAAe,SAAQ,aAAa,CAAC,wBAAwB,CAAE,YAAW,eAAe;;IAoCpG,OAAO;WA2BgB,MAAM,CAC3B,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,WAAW,GAAG,WAAW,GAAG,kBAAkB,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,cAAc,CAAC,GACpI,cAAc;WAiBM,cAAc,CAAC,UAAU,EAAE,wBAAwB,GAAG,cAAc;IAuB3F,IAAoB,YAAY,IAAI,wBAAwB,CAmB3D;IAEM,OAAO,IAAI,mBAAmB;IAsB9B,KAAK,IAAI,MAAM;IAIf,aAAa,IAAI,MAAM;IAIvB,kBAAkB,IAAI,MAAM;IAI5B,iBAAiB,IAAI,MAAM;I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IAAI;IAgBpB,mBAAmB,IAAI,OAAO;IAI9B,MAAM,IAAI,OAAO;IAIjB,sBAAsB,IAAI,OAAO;IAMxC,kGAAkG;IAC3F,UAAU,IAAI,OAAO;IAIrB,gBAAgB,IAAI,MAAM;IAI1B,mBAAmB,IAAI,OAAO;IAI9B,iBAAiB,IAAI,OAAO;IAI5B,mBAAmB,IAAI,MAAM,GAAG,IAAI;IAKpC,oBAAoB,IAAI,MAAM;CAGtC"}
|
package/build/types/carbonbox/reporting/report-instances/domain/types/ReportInstancePrimitives.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ReportPeriodPrimitives } from '../../../shared/domain/types/ReportPerio
|
|
|
4
4
|
import { QuestionnaireAnswerPrimitives } from '../../../shared/domain/types/QuestionnaireAnswerPrimitives';
|
|
5
5
|
import { ApprovalRecordPrimitives } from '../../../shared/domain/types/ApprovalRecordPrimitives';
|
|
6
6
|
import { AIExecutionRecordPrimitives } from '../../../shared/domain/types/AIExecutionRecordPrimitives';
|
|
7
|
+
import { ReportAssurancePrimitives } from '../../../shared/domain/types/ReportAssurancePrimitives';
|
|
7
8
|
export type ReportInstancePrimitives = AggregateRootPrimitives & {
|
|
8
9
|
templateId: string;
|
|
9
10
|
templateVersion: number;
|
|
@@ -16,6 +17,7 @@ export type ReportInstancePrimitives = AggregateRootPrimitives & {
|
|
|
16
17
|
segments: string[] | null;
|
|
17
18
|
};
|
|
18
19
|
questionnaireAnswers: QuestionnaireAnswerPrimitives[];
|
|
20
|
+
assurance: ReportAssurancePrimitives;
|
|
19
21
|
dataSnapshot: Record<string, unknown>;
|
|
20
22
|
generatedContent: Record<string, unknown> | null;
|
|
21
23
|
pdfUrl: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportInstancePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-instances/domain/types/ReportInstancePrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,4DAA4D,CAAC;AAC3G,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"ReportInstancePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-instances/domain/types/ReportInstancePrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,4DAA4D,CAAC;AAC3G,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AAEnG,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,GAAG;IAC/D,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAC5B,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAC5B,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;KAC3B,CAAC;IACF,oBAAoB,EAAE,6BAA6B,EAAE,CAAC;IACtD,SAAS,EAAE,yBAAyB,CAAC;IACrC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACjD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,oBAAoB,CAAC;IAC7B,SAAS,EAAE,wBAAwB,EAAE,CAAC;IACtC,YAAY,EAAE,2BAA2B,EAAE,CAAC;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
package/build/types/carbonbox/reporting/report-instances/domain/types/ReportInstanceProps.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ReportPeriodPrimitives } from '../../../shared/domain/types/ReportPerio
|
|
|
4
4
|
import { QuestionnaireAnswerPrimitives } from '../../../shared/domain/types/QuestionnaireAnswerPrimitives';
|
|
5
5
|
import { ApprovalRecordPrimitives } from '../../../shared/domain/types/ApprovalRecordPrimitives';
|
|
6
6
|
import { AIExecutionRecordPrimitives } from '../../../shared/domain/types/AIExecutionRecordPrimitives';
|
|
7
|
+
import { ReportAssurancePrimitives } from '../../../shared/domain/types/ReportAssurancePrimitives';
|
|
7
8
|
export type ReportInstanceProps = AggregateRootProps & {
|
|
8
9
|
templateId: string;
|
|
9
10
|
templateVersion: number;
|
|
@@ -16,6 +17,7 @@ export type ReportInstanceProps = AggregateRootProps & {
|
|
|
16
17
|
segments: string[] | null;
|
|
17
18
|
};
|
|
18
19
|
questionnaireAnswers: QuestionnaireAnswerPrimitives[];
|
|
20
|
+
assurance: ReportAssurancePrimitives;
|
|
19
21
|
dataSnapshot: Record<string, unknown>;
|
|
20
22
|
generatedContent: Record<string, unknown> | null;
|
|
21
23
|
pdfUrl: string | null;
|
package/build/types/carbonbox/reporting/report-instances/domain/types/ReportInstanceProps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportInstanceProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-instances/domain/types/ReportInstanceProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,4DAA4D,CAAC;AAC3G,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;
|
|
1
|
+
{"version":3,"file":"ReportInstanceProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/report-instances/domain/types/ReportInstanceProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,4DAA4D,CAAC;AAC3G,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AAEnG,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,GAAG;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAC5B,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QACxB,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAC5B,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;KAC3B,CAAC;IACF,oBAAoB,EAAE,6BAA6B,EAAE,CAAC;IACtD,SAAS,EAAE,yBAAyB,CAAC;IACrC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACjD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,oBAAoB,CAAC;IAC7B,SAAS,EAAE,wBAAwB,EAAE,CAAC;IACtC,YAAY,EAAE,2BAA2B,EAAE,CAAC;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assurance level enumeration (ISO 14064-3)
|
|
3
|
+
* Level of assurance a GHG inventory verification provides, as declared on a report instance
|
|
4
|
+
* (ISO 14064-1 §9.3.1: the report states whether the inventory was verified and at which level)
|
|
5
|
+
*/
|
|
6
|
+
export declare enum AssuranceLevel {
|
|
7
|
+
/**
|
|
8
|
+
* The inventory of the reporting period has not been verified
|
|
9
|
+
*/
|
|
10
|
+
NONE = "NONE",
|
|
11
|
+
/**
|
|
12
|
+
* Limited assurance: the verifier found nothing indicating the inventory is materially misstated
|
|
13
|
+
*/
|
|
14
|
+
LIMITED = "LIMITED",
|
|
15
|
+
/**
|
|
16
|
+
* Reasonable assurance: the verifier affirms the inventory is fairly stated (higher evidence)
|
|
17
|
+
*/
|
|
18
|
+
REASONABLE = "REASONABLE"
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=AssuranceLevel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssuranceLevel.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/shared/domain/enums/AssuranceLevel.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,cAAc;IACxB;;OAEG;IACH,IAAI,SAAS;IAEb;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,UAAU,eAAe;CAC1B"}
|
|
@@ -45,6 +45,10 @@ export declare enum DataBindingSource {
|
|
|
45
45
|
BASE_YEAR_JUSTIFICATION = "baseYear.justification",
|
|
46
46
|
BASE_YEAR_RECALCULATION_POLICY = "baseYear.recalculationPolicy",
|
|
47
47
|
BASE_YEAR_SIGNIFICANCE_THRESHOLD_PERCENTAGE = "baseYear.significanceThresholdPercentage",
|
|
48
|
+
ASSURANCE_LEVEL = "assurance.level",
|
|
49
|
+
ASSURANCE_VERIFICATION_TYPE = "assurance.verificationType",
|
|
50
|
+
ASSURANCE_VERIFIER = "assurance.verifier",
|
|
51
|
+
ASSURANCE_STATEMENT = "assurance.statement",
|
|
48
52
|
EMISSION_FACTOR_VALUE = "emissionFactor.value",
|
|
49
53
|
EMISSION_FACTOR_UNIT = "emissionFactor.unit",
|
|
50
54
|
EMISSION_FACTOR_INFORMATION_SOURCE = "emissionFactor.informationSource",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataBindingSource.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/shared/domain/enums/DataBindingSource.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,iBAAiB;IAE3B,mBAAmB,wBAAwB;IAC3C,yBAAyB,qCAAqC;IAC9D,qBAAqB,yBAAyB;IAC9C,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,mBAAmB,wBAAwB;IAC3C,0BAA0B,8BAA8B;IACxD,sBAAsB,2BAA2B;IACjD,uBAAuB,4BAA4B;IAGnD,iBAAiB,qBAAqB;IACtC,eAAe,mBAAmB;IAClC,sBAAsB,0BAA0B;IAChD,WAAW,gBAAgB;IAG3B,iBAAiB,sBAAsB;IACvC,uBAAuB,2BAA2B;IAGlD,mBAAmB,uBAAuB;IAC1C,mBAAmB,uBAAuB;IAC1C,mBAAmB,uBAAuB;IAC1C,oBAAoB,wBAAwB;IAG5C,uBAAuB,2BAA2B;IAClD,2BAA2B,gCAAgC;IAC3D,8BAA8B,mCAAmC;IACjE,0BAA0B,+BAA+B;IAGzD,kBAAkB,sBAAsB;IACxC,mBAAmB,wBAAwB;IAC3C,mBAAmB,wBAAwB;IAC3C,mBAAmB,wBAAwB;IAG3C,sBAAsB,0BAA0B;IAGhD,oBAAoB,yBAAyB;IAC7C,wBAAwB,4BAA4B;IAGpD,kCAAkC,uCAAuC;IACzE,6BAA6B,kCAAkC;IAC/D,uCAAuC,0CAA0C;IACjF,uCAAuC,0CAA0C;IACjF,iCAAiC,qCAAqC;IAItE,gBAAgB,oBAAoB;IACpC,qBAAqB,wBAAwB;IAC7C,8BAA8B,iCAAiC;IAC/D,uBAAuB,2BAA2B;IAClD,8BAA8B,iCAAiC;IAC/D,2CAA2C,6CAA6C;
|
|
1
|
+
{"version":3,"file":"DataBindingSource.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/shared/domain/enums/DataBindingSource.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,iBAAiB;IAE3B,mBAAmB,wBAAwB;IAC3C,yBAAyB,qCAAqC;IAC9D,qBAAqB,yBAAyB;IAC9C,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,mBAAmB,wBAAwB;IAC3C,0BAA0B,8BAA8B;IACxD,sBAAsB,2BAA2B;IACjD,uBAAuB,4BAA4B;IAGnD,iBAAiB,qBAAqB;IACtC,eAAe,mBAAmB;IAClC,sBAAsB,0BAA0B;IAChD,WAAW,gBAAgB;IAG3B,iBAAiB,sBAAsB;IACvC,uBAAuB,2BAA2B;IAGlD,mBAAmB,uBAAuB;IAC1C,mBAAmB,uBAAuB;IAC1C,mBAAmB,uBAAuB;IAC1C,oBAAoB,wBAAwB;IAG5C,uBAA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qB,yBAAyB;IAG9C,uBAAuB,4BAA4B;IACnD,2BAA2B,+BAA+B;IAC1D,2BAA2B,+BAA+B;IAG1D,kBAAkB,kBAAkB;IACpC,gBAAgB,qBAAqB;IACrC,qBAAqB,0BAA0B;IAG/C,sBAAsB,4BAA4B;IAClD,cAAc,qBAAqB;IACnC,uBAAuB,6BAA6B;CACrD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verification type enumeration (ISO 14064-3 / ISO 17029 party types)
|
|
3
|
+
* Who performed the verification of the GHG inventory declared on a report instance
|
|
4
|
+
*/
|
|
5
|
+
export declare enum VerificationType {
|
|
6
|
+
/**
|
|
7
|
+
* First-party: internal verification by the organization itself
|
|
8
|
+
*/
|
|
9
|
+
FIRST_PARTY = "FIRST_PARTY",
|
|
10
|
+
/**
|
|
11
|
+
* Second-party: verification by a party with a user interest (customer, group company)
|
|
12
|
+
*/
|
|
13
|
+
SECOND_PARTY = "SECOND_PARTY",
|
|
14
|
+
/**
|
|
15
|
+
* Third-party: verification by an independent body
|
|
16
|
+
*/
|
|
17
|
+
THIRD_PARTY = "THIRD_PARTY"
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=VerificationType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerificationType.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/shared/domain/enums/VerificationType.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,WAAW,gBAAgB;CAC5B"}
|
package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportAssuranceError.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CodedRootError } from '../../../../shared/domain/exceptions/CodedRootError';
|
|
2
|
+
export declare class InvalidReportAssuranceError extends CodedRootError {
|
|
3
|
+
private constructor();
|
|
4
|
+
static create(reason: string): InvalidReportAssuranceError;
|
|
5
|
+
logError(): string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=InvalidReportAssuranceError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvalidReportAssuranceError.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/shared/domain/exceptions/InvalidReportAssuranceError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAGrF,qBAAa,2BAA4B,SAAQ,cAAc;IAC7D,OAAO;WAmBgB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,2BAA2B;IAI1D,QAAQ,IAAI,MAAM;CAGnC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AssuranceLevel } from '../enums/AssuranceLevel';
|
|
2
|
+
import { VerificationType } from '../enums/VerificationType';
|
|
3
|
+
/**
|
|
4
|
+
* Report assurance primitives (GAP 6, ISO 14064-1 §9.3.1)
|
|
5
|
+
* Declaration of whether the GHG inventory of a report instance was verified, by which kind of
|
|
6
|
+
* party and with which level of assurance. With level NONE the other two fields are null.
|
|
7
|
+
*/
|
|
8
|
+
export interface ReportAssurancePrimitives {
|
|
9
|
+
readonly level: AssuranceLevel;
|
|
10
|
+
readonly verificationType: VerificationType | null;
|
|
11
|
+
readonly verifierName: string | null;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=ReportAssurancePrimitives.d.ts.map
|
package/build/types/carbonbox/reporting/shared/domain/types/ReportAssurancePrimitives.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportAssurancePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/shared/domain/types/ReportAssurancePrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACnD,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CACtC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ValueObject } from '../../../../shared/domain/value-objects/ValueObject';
|
|
2
|
+
import { ReportAssurancePrimitives } from '../types/ReportAssurancePrimitives';
|
|
3
|
+
import { AssuranceLevel } from '../enums/AssuranceLevel';
|
|
4
|
+
import { VerificationType } from '../enums/VerificationType';
|
|
5
|
+
/**
|
|
6
|
+
* Assurance declaration of a report instance (GAP 6, ISO 14064-1 §9.3.1 / ISO 14064-3).
|
|
7
|
+
* Invariants: with level NONE nothing else is declared; with LIMITED or REASONABLE the
|
|
8
|
+
* verification type and the verifier name are mandatory.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ReportAssurance extends ValueObject<ReportAssurancePrimitives> {
|
|
11
|
+
private static readonly PROPERTY_NAME;
|
|
12
|
+
private static readonly EXPECTED_TYPE;
|
|
13
|
+
private static readonly VERIFIER_NAME_MAX_LENGTH;
|
|
14
|
+
private constructor();
|
|
15
|
+
static create(value: ReportAssurancePrimitives): ReportAssurance;
|
|
16
|
+
static fromPrimitives(primitives: ReportAssurancePrimitives): ReportAssurance;
|
|
17
|
+
static notVerified(): ReportAssurance;
|
|
18
|
+
private validateReportAssurance;
|
|
19
|
+
getLevel(): AssuranceLevel;
|
|
20
|
+
getVerificationType(): VerificationType | null;
|
|
21
|
+
getVerifierName(): string | null;
|
|
22
|
+
isVerified(): boolean;
|
|
23
|
+
isIndependentlyVerified(): boolean;
|
|
24
|
+
toPrimitives(): ReportAssurancePrimitives;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=ReportAssurance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportAssurance.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/reporting/shared/domain/value-objects/ReportAssurance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAG7D;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,WAAW,CAAC,yBAAyB,CAAC;IACzE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAqB;IAE1D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAA+B;IAEpE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,wBAAwB,CAAO;IAEvD,OAAO;WAaO,MAAM,CAAC,KAAK,EAAE,yBAAyB,GAAG,eAAe;WAIzD,cAAc,CAAC,UAAU,EAAE,yBAAyB,GAAG,eAAe;WAItE,WAAW,IAAI,eAAe;IAI5C,OAAO,CAAC,uBAAuB;IA8BxB,QAAQ,IAAI,cAAc;IAI1B,mBAAmB,IAAI,gBAAgB,GAAG,IAAI;IAI9C,eAAe,IAAI,MAAM,GAAG,IAAI;IAIhC,UAAU,IAAI,OAAO;IAIrB,uBAAuB,IAAI,OAAO;IAIlC,YAAY,IAAI,yBAAyB;CAOjD"}
|
|
@@ -141,6 +141,8 @@ export declare enum ErrorCode {
|
|
|
141
141
|
REPORT_PREPARATION_QUESTIONNAIRE_CANNOT_BE_REOPENED = "CBX-RPT-025",
|
|
142
142
|
INVALID_PREPARATION_QUESTION = "CBX-RPT-026",
|
|
143
143
|
INVALID_REPORT_BLOCK_DATA_BINDING = "CBX-RPT-027",
|
|
144
|
+
INVALID_REPORT_ASSURANCE = "CBX-RPT-028",
|
|
145
|
+
REPORT_CONTENT_GENERATION_JOB_INVALID_STATUS_TRANSITION = "CBX-RPT-029",
|
|
144
146
|
INVALID_EMAIL = "CBX-SHR-001",
|
|
145
147
|
INVALID_DATE_FORMAT = "CBX-SHR-002",
|
|
146
148
|
INVALID_COORDINATES = "CBX-SHR-003",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorCode.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/enums/ErrorCode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,SAAS;IAEnB,mBAAmB,iBAAiB;IACpC,aAAa,iBAAiB;IAC9B,aAAa,iBAAiB;IAC9B,mBAAmB,iBAAiB;IACpC,cAAc,iBAAiB;IAC/B,kBAAkB,iBAAiB;IACnC,sBAAsB,iBAAiB;IAGvC,kBAAkB,gBAAgB;IAClC,uBAAuB,gBAAgB;IACvC,qBAAqB,gBAAgB;IACrC,oBAAoB,gBAAgB;IACpC,eAAe,gBAAgB;IAC/B,gBAAgB,gBAAgB;IAChC,yBAAyB,gBAAgB;IAGzC,qBAAqB,gBAAgB;IACrC,6BAA6B,gBAAgB;IAC7C,wBAAwB,gBAAgB;IACxC,gBAAgB,gBAAgB;IAGhC,8BAA8B,gBAAgB;IAC9C,6BAA6B,gBAAgB;IAC7C,wBAAwB,gBAAgB;IACxC,sBAAsB,gBAAgB;IACtC,sBAAsB,gBAAgB;IACtC,wBAAwB,gBAAgB;IACxC,6BAA6B,gBAAgB;IAC7C,uBAAuB,gBAAgB;IAGvC,+BAA+B,gBAAgB;IAC/C,mBAAmB,gBAAgB;IACnC,gCAAgC,gBAAgB;IAChD,8BAA8B,gBAAgB;IAC9C,4BAA4B,gBAAgB;IAG5C,2BAA2B,gBAAgB;IAC3C,yBAAyB,gBAAgB;IACzC,sBAAsB,gBAAgB;IACtC,qBAAqB,gBAAgB;IACrC,sBAAsB,gBAAgB;IACtC,sBAAsB,gBAAgB;IAC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gBAAgB;IAC3B,cAAc,gBAAgB;IAC9B,gBAAgB,gBAAgB;IAChC,iBAAiB,gBAAgB;IACjC,kBAAkB,gBAAgB;IAGlC,gCAAgC,gBAAgB;IAChD,8BAA8B,gBAAgB;IAC9C,kCAAkC,gBAAgB;IAClD,kBAAkB,gBAAgB;IAClC,kBAAkB,gBAAgB;IAClC,+BAA+B,gBAAgB;IAC/C,wCAAwC,gBAAgB;IACxD,wCAAwC,gBAAgB;IACxD,iDAAiD,gBAAgB;IACjE,kDAAkD,gBAAgB;IAGlE,iCAAiC,gBAAgB;IACjD,iCAAiC,gBAAgB;IAGjD,qBAAqB,gBAAgB;IACrC,qCAAqC,gBAAgB;IACrD,4BAA4B,gBAAgB;IAC5C,mBAAmB,gBAAgB;IACnC,uBAAuB,gBAAgB;IACvC,wBAAwB,gBAAgB;IACxC,iCAAiC,gBAAgB;CAClD"}
|
|
@@ -68,6 +68,7 @@ export declare enum SemanticUuidPrefix {
|
|
|
68
68
|
RPT_SECTION = "RPT-SEC",
|
|
69
69
|
RPT_BLOCK = "RPT-BLK",
|
|
70
70
|
RPT_PREPARATION_QUESTIONNAIRE = "RPT-PRE",
|
|
71
|
-
RPT_PREPARATION_QUESTION = "RPT-PRE-QST"
|
|
71
|
+
RPT_PREPARATION_QUESTION = "RPT-PRE-QST",
|
|
72
|
+
RPT_CONTENT_GENERATION_JOB = "RPT-CGJ"
|
|
72
73
|
}
|
|
73
74
|
//# sourceMappingURL=SemanticUuidPrefix.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemanticUuidPrefix.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/enums/SemanticUuidPrefix.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,kBAAkB;IAE5B,GAAG,QAAQ,CAAE,0CAA0C;IAGvD,eAAe,YAAY;IAC3B,UAAU,YAAY;IACtB,SAAS,YAAY;IACrB,UAAU,YAAY;IACtB,SAAS,YAAY;IACrB,eAAe,YAAY;IAC3B,oBAAoB,YAAY;IAGhC,aAAa,YAAY;IACzB,qBAAqB,gBAAgB;IACrC,wBAAwB,gBAAgB;IACxC,SAAS,YAAY;IACrB,mBAAmB,gBAAgB;IACnC,oBAAoB,gBAAgB;IACpC,WAAW,YAAY;IACvB,mBAAmB,gBAAgB;IACnC,sBAAsB,gBAAgB;IACtC,oBAAoB,gBAAgB;IACpC,aAAa,YAAY;IACzB,WAAW,YAAY;IACvB,cAAc,YAAY;IAG1B,UAAU,YAAY;IACtB,iBAAiB,gBAAgB;IACjC,cAAc,YAAY;IAC1B,YAAY,YAAY;IAGxB,WAAW,gBAAgB;IAC3B,aAAa,YAAY;IACzB,WAAW,YAAY;IACvB,OAAO,YAAY;IAGnB,QAAQ,YAAY;IACpB,aAAa,YAAY;IACzB,aAAa,YAAY;IAGzB,gBAAgB,YAAY;IAC5B,gBAAgB,YAAY;IAC5B,eAAe,YAAY;IAG3B,GAAG,QAAQ,CAAE,0BAA0B;IAGvC,cAAc,gBAAgB;IAC9B,mBAAmB,gBAAgB;IACnC,YAAY,gBAAgB;IAC5B,eAAe,gBAAgB;IAG/B,mBAAmB,WAAW;IAC9B,mBAAmB,WAAW;IAC9B,qBAAqB,WAAW;IAChC,kBAAkB,WAAW;IAC7B,uBAAuB,WAAW;IAGlC,UAAU,YAAY;IACtB,UAAU,YAAY;IAGtB,YAAY,YAAY;IACxB,YAAY,YAAY;IACxB,aAAa,YAAY;IACzB,WAAW,YAAY;IACvB,SAAS,YAAY;IACrB,6BAA6B,YAAY;IACzC,wBAAwB,gBAAgB;
|
|
1
|
+
{"version":3,"file":"SemanticUuidPrefix.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/enums/SemanticUuidPrefix.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,kBAAkB;IAE5B,GAAG,QAAQ,CAAE,0CAA0C;IAGvD,eAAe,YAAY;IAC3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