Skip to content

Commit

Permalink
Aggiornamento risultati json (#161)
Browse files Browse the repository at this point in the history
* AGGIORNAMENTO LISTA RISULTATI COME DA DOCUMENTAZIONE

* AGGIORNAMENTO LISTA RISULTATI COME DA DOCUMENTAZIONE

---------

Co-authored-by: MicheleBellizziNTT <[email protected]>
  • Loading branch information
MicheleBellizziNTT and MicheleBellizziNTT authored Feb 2, 2024
1 parent 8d4e631 commit 7f8ce81
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pn-local-validator",
"version": "2.1.3",
"version": "2.1.3.1",
"description": "A system that emulates some features of Piattaforma Notifiche platform.",
"main": "dist/main.js",
"scripts": {
Expand Down
20 changes: 10 additions & 10 deletions src/domain/checks/report.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { Group } from '../reportengine/reportengine';
import { DomainEnv } from '../DomainEnv';
import * as tcSend01 from './tcSend01';
import * as tcSend01bis from './tcSend01bis';
import * as tcSend02 from './tcSend02';
import * as tcSend03 from './tcSend03';
import * as tcPayment01 from './tcPayment01';
import * as tcInvio01 from './tcInvio01';
import * as tcInvio02 from './tcInvio02';
import * as tcInvio03 from './tcInvio03';
import * as tcInvio04 from './tcInvio04';
import * as tcCosto01 from './tcCosto01';

export const report = (env: DomainEnv) =>
Group({
'TC-SEND-01': tcSend01.tcSend01,
'TC-SEND-01bis': tcSend01bis.tcSend01bis,
'TC-SEND-02': tcSend02.tcSend02(env),
'TC-SEND-03': tcSend03.tcSend03,
'TC-PAYMENT-01': tcPayment01.tcPayment01,
'TC-INVIO-01': tcInvio01.tcInvio01,
'TC-INVIO-02': tcInvio02.tcInvio02,
'TC-INVIO-03': tcInvio03.tcInvio03(env),
'TC-INVIO-04': tcInvio04.tcInvio04,
'TC-COSTO-01': tcCosto01.tcCosto01,
});
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Group } from '../reportengine/reportengine';
import * as NewNotificationRequestRecordChecks from './NewNotificationRequestRecordChecks';
import * as GetNotificationPriceRecordChecks from './GetNotificationPriceRecordChecks';

export const tcPayment01 = Group({
export const tcCosto01 = Group({
'Create a notification request providing the same sender and creditor': Group({
'Have you filled at least one recipient where the field payment.creditorTaxId is the same as the senderTaxId?':
NewNotificationRequestRecordChecks.atLeastOneNotificationSameSenderAndCreatorC,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as PreLoadRecordChecks from './PreLoadRecordChecks';
import * as UploadToS3RecordChecks from './UploadToS3RecordChecks';
import * as NewNotificationRequestRecordChecks from './NewNotificationRequestRecordChecks';

export const tcSend01bis = Group({
export const tcInvio01 = Group({
'Request at least one upload slot': Group({
'Have you done at least one request?': PreLoadRecordChecks.atLeastOnePreLoadRecordC,
'Have you required at least one pdf?': PreLoadRecordChecks.atLeastOnePreLoadRecordWithPdfC,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as PreLoadRecordChecks from './PreLoadRecordChecks';
import * as UploadToS3RecordChecks from './UploadToS3RecordChecks';
import * as NewNotificationRequestRecordChecks from './NewNotificationRequestRecordChecks';

export const tcSend01 = Group({
export const tcInvio02 = Group({
'Request at least two upload slots': Group({
'Have you done at least one request?': PreLoadRecordChecks.atLeastOnePreLoadRecordC,
'Have you required at least one pdf?': PreLoadRecordChecks.atLeastOnePreLoadRecordWithPdfC,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DomainEnv } from '../DomainEnv';
import * as CreateEventStreamRecordChecks from './CreateEventStreamRecordChecks';
import * as ConsumeEventStreamRecordChecks from './ConsumeEventStreamRecordChecks';

export const tcSend02 = (env: DomainEnv) =>
export const tcInvio03 = (env: DomainEnv) =>
Group({
'Configure a stream where you can get the timeline events of a notification': Group({
'Have you created the stream with the property eventType set to TIMELINE?':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as GetNotificationDocumentMetadataChecks from './GetNotificationDocumen
import * as GetPaymentNotificationMetadataChecks from './GetPaymentNotificationMetadataChecks';
import * as LegalFactDownloadMetadataChecks from './LegalFactDownloadMetadataChecks';

export const tcSend03 = Group({
export const tcInvio04 = Group({
'Download documents attached to the notification': Group({
'Have you downloaded the notified document?': Group({
'Have you requested the metadata of the notification with the IUN retrieved previously?':
Expand Down

0 comments on commit 7f8ce81

Please sign in to comment.