@owneraio/finp2p-sdk-js 0.29.19 → 0.29.20

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.
@@ -431,7 +431,10 @@ export interface RequestCollateralCoverageRecheckResponse {
431
431
  * conflicts (`NegotiationClosed`, `NegotiationRoundStale`, `SubstitutionAlreadyAgreed`,
432
432
  * `NoLiveContainer`, `ReportDispositionInProgress`, `AgreementNotActive`) and HTTP 422 for the rest.
433
433
  * `NotPledgingParty`, `NoApprovingParty`, `NotApprover`, `ProposalAlreadyDecided`,
434
- * `ProposalNotApproved` and `SingleLegException` are all HTTP 422.
434
+ * `ProposalNotApproved`, `SingleLegException`, `ReportRejected` and `AssetNotEligible` are all HTTP 422.
435
+ * `ReportRejected` applies to `ProposeAttribution` when any organization rejected the report.
436
+ * `AssetNotEligible` applies when a proposed asset is outside the agreement's nonempty eligible-assets
437
+ * list, on `ProposeAttribution` or approval via `RespondAttributionProposal`.
435
438
  *
436
439
  * Non-domain errors use the APIErrors envelope (`{ errors: [{ code, message }] }`): HTTP 400/code
437
440
  * 1002 for decoding or OAS validation (including an empty array), code 1300 for owner or guard
@@ -450,7 +453,7 @@ export interface RequestCollateralCoverageRecheckResponse {
450
453
  * response arrived) and `error.data.error` is the response body: a flat domain code is
451
454
  * `error.data.error.code`, an envelope code is `error.data.error.errors[0].code`.
452
455
  */
453
- export type CollateralDomainErrorCode = 'TermsTemplateMismatch' | 'NoSuchContainer' | 'AmbiguousContainer' | 'NoContainerForParty' | 'CalledPartyNotBound' | 'AgreementNotActive' | 'NoLiveContainer' | 'NotValuationEngine' | 'AgreementNotIdle' | 'ReportEvaluationPending' | 'LastReportIncomplete' | 'ReportNotOpen' | 'NotReportParty' | 'ReportAlreadyAnswered' | 'ReportDispositionInProgress' | 'NegotiationRoundStale' | 'NegotiationClosed' | 'NotExecutableReport' | 'NotNegotiableReport' | 'NotNegotiatedReport' | 'NegotiationKindMismatch' | 'NotThreadOpener' | 'NotOfferingParty' | 'SubstitutionAlreadyAgreed' | 'UnknownSourceAccount' | 'NoDispositionOwed' | 'ReportIdentitiesUnpinned' | 'NotAgreementParticipant' | 'SelfApproval' | 'ExceptionAlreadyResolved' | 'NotPledgingParty' | 'NoApprovingParty' | 'NotApprover' | 'ProposalAlreadyDecided' | 'ProposalNotApproved' | 'SingleLegException';
456
+ export type CollateralDomainErrorCode = 'TermsTemplateMismatch' | 'NoSuchContainer' | 'AmbiguousContainer' | 'NoContainerForParty' | 'CalledPartyNotBound' | 'AgreementNotActive' | 'NoLiveContainer' | 'NotValuationEngine' | 'AgreementNotIdle' | 'ReportEvaluationPending' | 'LastReportIncomplete' | 'ReportNotOpen' | 'NotReportParty' | 'ReportAlreadyAnswered' | 'ReportDispositionInProgress' | 'NegotiationRoundStale' | 'NegotiationClosed' | 'NotExecutableReport' | 'NotNegotiableReport' | 'NotNegotiatedReport' | 'NegotiationKindMismatch' | 'NotThreadOpener' | 'NotOfferingParty' | 'SubstitutionAlreadyAgreed' | 'UnknownSourceAccount' | 'NoDispositionOwed' | 'ReportIdentitiesUnpinned' | 'NotAgreementParticipant' | 'SelfApproval' | 'ExceptionAlreadyResolved' | 'NotPledgingParty' | 'NoApprovingParty' | 'NotApprover' | 'ProposalAlreadyDecided' | 'ProposalNotApproved' | 'SingleLegException' | 'ReportRejected' | 'AssetNotEligible';
454
457
  export interface CollateralDomainError {
455
458
  code: CollateralDomainErrorCode;
456
459
  message: string;
@@ -413,7 +413,7 @@ export interface CollateralReportStatusEntryOss {
413
413
  emitterRole: string | null;
414
414
  /** Null today: the facade fold does not populate it yet */
415
415
  emitterOrgId: string | null;
416
- /** Why the engine declared this status: `deadline`, or `plan-failed: <planId> — <reason>` */
416
+ /** Why the engine declared this status: `deadline`, `rejected`, or `plan-failed: <planId> — <reason>` */
417
417
  note: string | null;
418
418
  timestamp: number | null;
419
419
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@owneraio/finp2p-sdk-js",
3
3
  "main": "lib/index.js",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
- "version": "0.29.19",
5
+ "version": "0.29.20",
6
6
  "homepage": "https://ownera.io/",
7
7
  "scripts": {
8
8
  "build": "yarn clean && tsc",