@optizio/merchant-identity 0.8.0 → 0.9.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +22 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1015,6 +1015,28 @@ export interface AffiliatePostCutoverBackfillClient {
1015
1015
  export interface AffiliatePostCutoverCatchupClient {
1016
1016
  runPostCutoverCommissionCatchup(input: AffiliatePostCutoverBackfillInput): Promise<AffiliatePostCutoverBackfillResult>;
1017
1017
  }
1018
+ /** A reviewed accounting decision, not an automatic clawback or ledger write. */
1019
+ export interface AffiliatePartnerAdjustmentReviewInput {
1020
+ transactionGid: string;
1021
+ disposition: 'prior_period_no_local_reversal' | 'manual_adjustment_recorded';
1022
+ /** Reference to privately retained evidence supporting this exact decision. */
1023
+ evidenceReference: string;
1024
+ reason: string;
1025
+ /** Existing negative USD manual adjustment for the affected affiliate, or null. */
1026
+ ledgerEntryId: string | null;
1027
+ /** Explicit reviewed amount of that existing ledger entry, or null. */
1028
+ ledgerAmountMinor: number | null;
1029
+ idempotencyKey: string;
1030
+ actorId: string;
1031
+ }
1032
+ export interface AffiliatePartnerAdjustmentReviewResult {
1033
+ transactionGid: string;
1034
+ disposition: AffiliatePartnerAdjustmentReviewInput['disposition'];
1035
+ }
1036
+ /** Narrow, audit-only Access operator capability. It never writes ledger money. */
1037
+ export interface AffiliatePartnerAdjustmentReviewClient {
1038
+ reviewShoffiPartnerAdjustment(input: AffiliatePartnerAdjustmentReviewInput): Promise<AffiliatePartnerAdjustmentReviewResult>;
1039
+ }
1018
1040
  /** Narrow operator surface for opening liabilities only. */
1019
1041
  export interface AffiliateOpeningBalanceActivationClient {
1020
1042
  activateShoffiOpeningBalanceImport(input: AffiliateOpeningBalanceActivationInput): Promise<AffiliateOpeningBalanceActivationResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optizio/merchant-identity",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Shared merchant/user identity + revenue types and RPC client contracts for the merchant-hub portfolio.",
5
5
  "repository": {
6
6
  "type": "git",