@mojaloop/platform-shared-lib-public-messages-lib
Advanced tools
Comparing version 0.1.160 to 0.3.1
@@ -238,1 +238,69 @@ /***** | ||
} | ||
export type AccountLookupBCRequiredDestinationParticipantIsNotActiveErrorPayload = { | ||
partyId: string; | ||
partyType: string; | ||
partySubType: string | null; | ||
destinationFspId: string | null; | ||
errorDescription: string; | ||
}; | ||
export declare class AccountLookupBCRequiredDestinationParticipantIsNotActiveErrorEvent extends DomainEventMsg { | ||
boundedContextName: string; | ||
aggregateId: string; | ||
aggregateName: string; | ||
msgKey: string; | ||
msgTopic: string; | ||
payload: AccountLookupBCRequiredDestinationParticipantIsNotActiveErrorPayload; | ||
constructor(payload: AccountLookupBCRequiredDestinationParticipantIsNotActiveErrorPayload); | ||
validatePayload(): void; | ||
} | ||
export type AccountLookupBCRequiredRequesterParticipantIsNotActiveErrorPayload = { | ||
partyId: string; | ||
partyType: string; | ||
partySubType: string | null; | ||
requesterFspId: string | null; | ||
errorDescription: string; | ||
}; | ||
export declare class AccountLookupBCRequiredRequesterParticipantIsNotActiveErrorEvent extends DomainEventMsg { | ||
boundedContextName: string; | ||
aggregateId: string; | ||
aggregateName: string; | ||
msgKey: string; | ||
msgTopic: string; | ||
payload: AccountLookupBCRequiredRequesterParticipantIsNotActiveErrorPayload; | ||
constructor(payload: AccountLookupBCRequiredRequesterParticipantIsNotActiveErrorPayload); | ||
validatePayload(): void; | ||
} | ||
export type AccountLookupBCRequiredDestinationParticipantIsNotApprovedErrorPayload = { | ||
partyId: string; | ||
partyType: string; | ||
partySubType: string | null; | ||
destinationFspId: string | null; | ||
errorDescription: string; | ||
}; | ||
export declare class AccountLookupBCRequiredDestinationParticipantIsNotApprovedErrorEvent extends DomainEventMsg { | ||
boundedContextName: string; | ||
aggregateId: string; | ||
aggregateName: string; | ||
msgKey: string; | ||
msgTopic: string; | ||
payload: AccountLookupBCRequiredDestinationParticipantIsNotApprovedErrorPayload; | ||
constructor(payload: AccountLookupBCRequiredDestinationParticipantIsNotApprovedErrorPayload); | ||
validatePayload(): void; | ||
} | ||
export type AccountLookupBCRequiredRequesterParticipantIsNotApprovedErrorPayload = { | ||
partyId: string; | ||
partyType: string; | ||
partySubType: string | null; | ||
requesterFspId: string | null; | ||
errorDescription: string; | ||
}; | ||
export declare class AccountLookupBCRequiredRequesterParticipantIsNotApprovedErrorEvent extends DomainEventMsg { | ||
boundedContextName: string; | ||
aggregateId: string; | ||
aggregateName: string; | ||
msgKey: string; | ||
msgTopic: string; | ||
payload: AccountLookupBCRequiredRequesterParticipantIsNotApprovedErrorPayload; | ||
constructor(payload: AccountLookupBCRequiredRequesterParticipantIsNotApprovedErrorPayload); | ||
validatePayload(): void; | ||
} |
@@ -36,3 +36,3 @@ /***** | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AccountLookUpBCOperatorErrorEvent = exports.AccountLookUpUnknownErrorEvent = exports.AccountLookupBCInvalidRequesterParticipantErrorEvent = exports.AccountLookupBCRequesterParticipantNotFoundErrorEvent = exports.AccountLookupBCInvalidDestinationParticipantErrorEvent = exports.AccountLookupBCDestinationParticipantNotFoundErrorEvent = exports.AccountLookUpUnableToGetParticipantFromOracleErrorEvent = exports.AccountLookupBCUnableToGetOracleAdapterErrorEvent = exports.AccountLookupBCUnableToDisassociateParticipantErrorEvent = exports.AccountLookupBCUnableToAssociateParticipantErrorEvent = exports.AccountLookupBCInvalidMessageTypeErrorEvent = exports.AccountLookupBCInvalidMessagePayloadErrorEvent = void 0; | ||
exports.AccountLookupBCRequiredRequesterParticipantIsNotApprovedErrorEvent = exports.AccountLookupBCRequiredDestinationParticipantIsNotApprovedErrorEvent = exports.AccountLookupBCRequiredRequesterParticipantIsNotActiveErrorEvent = exports.AccountLookupBCRequiredDestinationParticipantIsNotActiveErrorEvent = exports.AccountLookUpBCOperatorErrorEvent = exports.AccountLookUpUnknownErrorEvent = exports.AccountLookupBCInvalidRequesterParticipantErrorEvent = exports.AccountLookupBCRequesterParticipantNotFoundErrorEvent = exports.AccountLookupBCInvalidDestinationParticipantErrorEvent = exports.AccountLookupBCDestinationParticipantNotFoundErrorEvent = exports.AccountLookUpUnableToGetParticipantFromOracleErrorEvent = exports.AccountLookupBCUnableToGetOracleAdapterErrorEvent = exports.AccountLookupBCUnableToDisassociateParticipantErrorEvent = exports.AccountLookupBCUnableToAssociateParticipantErrorEvent = exports.AccountLookupBCInvalidMessageTypeErrorEvent = exports.AccountLookupBCInvalidMessagePayloadErrorEvent = void 0; | ||
const platform_shared_lib_messaging_types_lib_1 = require("@mojaloop/platform-shared-lib-messaging-types-lib"); | ||
@@ -208,2 +208,58 @@ const _1 = require("."); | ||
exports.AccountLookUpBCOperatorErrorEvent = AccountLookUpBCOperatorErrorEvent; | ||
class AccountLookupBCRequiredDestinationParticipantIsNotActiveErrorEvent extends platform_shared_lib_messaging_types_lib_1.DomainEventMsg { | ||
constructor(payload) { | ||
super(); | ||
this.boundedContextName = _1.ACCOUNT_LOOKUP_BOUNDED_CONTEXT_NAME; | ||
this.aggregateName = _1.ACCOUNT_LOOKUP_AGGREGATE_NAME; | ||
this.msgTopic = _1.AccountLookupBCTopics.DomainErrors; | ||
this.aggregateId = this.msgKey = payload.partyId; | ||
this.payload = payload; | ||
} | ||
validatePayload() { | ||
// NOT IMPLEMENTED | ||
} | ||
} | ||
exports.AccountLookupBCRequiredDestinationParticipantIsNotActiveErrorEvent = AccountLookupBCRequiredDestinationParticipantIsNotActiveErrorEvent; | ||
class AccountLookupBCRequiredRequesterParticipantIsNotActiveErrorEvent extends platform_shared_lib_messaging_types_lib_1.DomainEventMsg { | ||
constructor(payload) { | ||
super(); | ||
this.boundedContextName = _1.ACCOUNT_LOOKUP_BOUNDED_CONTEXT_NAME; | ||
this.aggregateName = _1.ACCOUNT_LOOKUP_AGGREGATE_NAME; | ||
this.msgTopic = _1.AccountLookupBCTopics.DomainErrors; | ||
this.aggregateId = this.msgKey = payload.partyId; | ||
this.payload = payload; | ||
} | ||
validatePayload() { | ||
// NOT IMPLEMENTED | ||
} | ||
} | ||
exports.AccountLookupBCRequiredRequesterParticipantIsNotActiveErrorEvent = AccountLookupBCRequiredRequesterParticipantIsNotActiveErrorEvent; | ||
class AccountLookupBCRequiredDestinationParticipantIsNotApprovedErrorEvent extends platform_shared_lib_messaging_types_lib_1.DomainEventMsg { | ||
constructor(payload) { | ||
super(); | ||
this.boundedContextName = _1.ACCOUNT_LOOKUP_BOUNDED_CONTEXT_NAME; | ||
this.aggregateName = _1.ACCOUNT_LOOKUP_AGGREGATE_NAME; | ||
this.msgTopic = _1.AccountLookupBCTopics.DomainErrors; | ||
this.aggregateId = this.msgKey = payload.partyId; | ||
this.payload = payload; | ||
} | ||
validatePayload() { | ||
// NOT IMPLEMENTED | ||
} | ||
} | ||
exports.AccountLookupBCRequiredDestinationParticipantIsNotApprovedErrorEvent = AccountLookupBCRequiredDestinationParticipantIsNotApprovedErrorEvent; | ||
class AccountLookupBCRequiredRequesterParticipantIsNotApprovedErrorEvent extends platform_shared_lib_messaging_types_lib_1.DomainEventMsg { | ||
constructor(payload) { | ||
super(); | ||
this.boundedContextName = _1.ACCOUNT_LOOKUP_BOUNDED_CONTEXT_NAME; | ||
this.aggregateName = _1.ACCOUNT_LOOKUP_AGGREGATE_NAME; | ||
this.msgTopic = _1.AccountLookupBCTopics.DomainErrors; | ||
this.aggregateId = this.msgKey = payload.partyId; | ||
this.payload = payload; | ||
} | ||
validatePayload() { | ||
// NOT IMPLEMENTED | ||
} | ||
} | ||
exports.AccountLookupBCRequiredRequesterParticipantIsNotApprovedErrorEvent = AccountLookupBCRequiredRequesterParticipantIsNotApprovedErrorEvent; | ||
//# sourceMappingURL=errors.js.map |
@@ -141,2 +141,34 @@ /***** | ||
} | ||
export type QuoteBCRequiredDestinationParticipantIsNotApprovedErrorPayload = { | ||
destinationFspId: string; | ||
errorDescription: string; | ||
quoteId: string | null; | ||
bulkQuoteId: string | null; | ||
}; | ||
export declare class QuoteBCRequiredDestinationParticipantIsNotApprovedErrorEvent extends DomainEventMsg { | ||
boundedContextName: string; | ||
aggregateId: string; | ||
aggregateName: string; | ||
msgKey: string; | ||
msgTopic: string; | ||
payload: QuoteBCRequiredDestinationParticipantIsNotApprovedErrorPayload; | ||
constructor(payload: QuoteBCRequiredDestinationParticipantIsNotApprovedErrorPayload); | ||
validatePayload(): void; | ||
} | ||
export type QuoteBCRequiredRequesterParticipantIsNotApprovedErrorPayload = { | ||
requesterFspId: string; | ||
errorDescription: string; | ||
quoteId: string | null; | ||
bulkQuoteId: string | null; | ||
}; | ||
export declare class QuoteBCRequiredRequesterParticipantIsNotApprovedErrorEvent extends DomainEventMsg { | ||
boundedContextName: string; | ||
aggregateId: string; | ||
aggregateName: string; | ||
msgKey: string; | ||
msgTopic: string; | ||
payload: QuoteBCRequiredRequesterParticipantIsNotApprovedErrorPayload; | ||
constructor(payload: QuoteBCRequiredRequesterParticipantIsNotApprovedErrorPayload); | ||
validatePayload(): void; | ||
} | ||
export type QuoteBCRequiredDestinationParticipantIsNotActiveErrorPayload = { | ||
@@ -170,4 +202,4 @@ destinationFspId: string; | ||
msgTopic: string; | ||
payload: QuoteBCRequiredDestinationParticipantIsNotActiveErrorPayload; | ||
constructor(payload: QuoteBCRequiredDestinationParticipantIsNotActiveErrorPayload); | ||
payload: QuoteBCRequiredRequesterParticipantIsNotActiveErrorPayload; | ||
constructor(payload: QuoteBCRequiredRequesterParticipantIsNotActiveErrorPayload); | ||
validatePayload(): void; | ||
@@ -174,0 +206,0 @@ } |
@@ -36,3 +36,3 @@ /***** | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.QuoteBCQuoteRuleSchemeViolatedResponseErrorEvent = exports.QuoteBCQuoteRuleSchemeViolatedRequestErrorEvent = exports.QuoteBCInvalidBulkQuoteLengthErrorEvent = exports.QuoteBCUnableToUpdateBulkQuoteInDatabaseErrorEvent = exports.QuoteBCUnableToUpdateQuoteInDatabaseErrorEvent = exports.QuoteBCUnableToAddBulkQuoteToDatabaseErrorEvent = exports.QuoteBCUnableToAddQuoteToDatabaseErrorEvent = exports.QuoteBCBulkQuoteExpiredErrorEvent = exports.QuoteBCQuoteExpiredErrorEvent = exports.QuoteBCOperatorErrorEvent = exports.QuoteBCUnknownErrorEvent = exports.QuoteBCInvalidDestinationFspIdErrorEvent = exports.QuoteBCInvalidRequesterFspIdErrorEvent = exports.QuoteBCRequiredRequesterParticipantIsNotActiveErrorEvent = exports.QuoteBCRequiredDestinationParticipantIsNotActiveErrorEvent = exports.QuoteBCRequesterParticipantNotFoundErrorEvent = exports.QuoteBCDestinationParticipantNotFoundErrorEvent = exports.QuoteBCInvalidMessageTypeErrorEvent = exports.QuoteBCInvalidMessagePayloadErrorEvent = exports.QuoteBCBulkQuoteNotFoundErrorEvent = exports.QuoteBCQuoteNotFoundErrorEvent = exports.QuoteBCDuplicateQuoteErrorEvent = void 0; | ||
exports.QuoteBCQuoteRuleSchemeViolatedResponseErrorEvent = exports.QuoteBCQuoteRuleSchemeViolatedRequestErrorEvent = exports.QuoteBCInvalidBulkQuoteLengthErrorEvent = exports.QuoteBCUnableToUpdateBulkQuoteInDatabaseErrorEvent = exports.QuoteBCUnableToUpdateQuoteInDatabaseErrorEvent = exports.QuoteBCUnableToAddBulkQuoteToDatabaseErrorEvent = exports.QuoteBCUnableToAddQuoteToDatabaseErrorEvent = exports.QuoteBCBulkQuoteExpiredErrorEvent = exports.QuoteBCQuoteExpiredErrorEvent = exports.QuoteBCOperatorErrorEvent = exports.QuoteBCUnknownErrorEvent = exports.QuoteBCInvalidDestinationFspIdErrorEvent = exports.QuoteBCInvalidRequesterFspIdErrorEvent = exports.QuoteBCRequiredRequesterParticipantIsNotActiveErrorEvent = exports.QuoteBCRequiredDestinationParticipantIsNotActiveErrorEvent = exports.QuoteBCRequiredRequesterParticipantIsNotApprovedErrorEvent = exports.QuoteBCRequiredDestinationParticipantIsNotApprovedErrorEvent = exports.QuoteBCRequesterParticipantNotFoundErrorEvent = exports.QuoteBCDestinationParticipantNotFoundErrorEvent = exports.QuoteBCInvalidMessageTypeErrorEvent = exports.QuoteBCInvalidMessagePayloadErrorEvent = exports.QuoteBCBulkQuoteNotFoundErrorEvent = exports.QuoteBCQuoteNotFoundErrorEvent = exports.QuoteBCDuplicateQuoteErrorEvent = void 0; | ||
const platform_shared_lib_messaging_types_lib_1 = require("@mojaloop/platform-shared-lib-messaging-types-lib"); | ||
@@ -138,2 +138,30 @@ const _1 = require("."); | ||
exports.QuoteBCRequesterParticipantNotFoundErrorEvent = QuoteBCRequesterParticipantNotFoundErrorEvent; | ||
class QuoteBCRequiredDestinationParticipantIsNotApprovedErrorEvent extends platform_shared_lib_messaging_types_lib_1.DomainEventMsg { | ||
constructor(payload) { | ||
super(); | ||
this.boundedContextName = _1.QUOTING_BOUNDED_CONTEXT_NAME; | ||
this.aggregateName = _1.QUOTING_AGGREGATE_NAME; | ||
this.msgTopic = _1.QuotingBCTopics.DomainEvents; | ||
this.aggregateId = this.msgKey = (payload.destinationFspId ?? payload.destinationFspId); | ||
this.payload = payload; | ||
} | ||
validatePayload() { | ||
// NOT IMPLEMENTED | ||
} | ||
} | ||
exports.QuoteBCRequiredDestinationParticipantIsNotApprovedErrorEvent = QuoteBCRequiredDestinationParticipantIsNotApprovedErrorEvent; | ||
class QuoteBCRequiredRequesterParticipantIsNotApprovedErrorEvent extends platform_shared_lib_messaging_types_lib_1.DomainEventMsg { | ||
constructor(payload) { | ||
super(); | ||
this.boundedContextName = _1.QUOTING_BOUNDED_CONTEXT_NAME; | ||
this.aggregateName = _1.QUOTING_AGGREGATE_NAME; | ||
this.msgTopic = _1.QuotingBCTopics.DomainEvents; | ||
this.aggregateId = this.msgKey = (payload.requesterFspId ?? payload.requesterFspId); | ||
this.payload = payload; | ||
} | ||
validatePayload() { | ||
// NOT IMPLEMENTED | ||
} | ||
} | ||
exports.QuoteBCRequiredRequesterParticipantIsNotApprovedErrorEvent = QuoteBCRequiredRequesterParticipantIsNotApprovedErrorEvent; | ||
class QuoteBCRequiredDestinationParticipantIsNotActiveErrorEvent extends platform_shared_lib_messaging_types_lib_1.DomainEventMsg { | ||
@@ -159,3 +187,3 @@ constructor(payload) { | ||
this.msgTopic = _1.QuotingBCTopics.DomainEvents; | ||
this.aggregateId = this.msgKey = (payload.destinationFspId ?? payload.destinationFspId); | ||
this.aggregateId = this.msgKey = (payload.requesterFspId ?? payload.requesterFspId); | ||
this.payload = payload; | ||
@@ -162,0 +190,0 @@ } |
{ | ||
"name": "@mojaloop/platform-shared-lib-public-messages-lib", | ||
"version": "0.1.160", | ||
"version": "0.3.1", | ||
"description": "mojaloop vnext platform shared libraries - public messages lib", | ||
@@ -38,11 +38,11 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@mojaloop/platform-shared-lib-messaging-types-lib": "~0.2.82" | ||
"@mojaloop/platform-shared-lib-messaging-types-lib": "~0.2.102" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.38.0", | ||
"jest": "^29.5.0", | ||
"npm-check-updates": "^16.10.9", | ||
"ts-jest": "^29.1.0", | ||
"eslint": "^8.53.0", | ||
"jest": "^29.7.0", | ||
"npm-check-updates": "^16.14.6", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^4.6.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
337652
6603
1