@settlemint/dalp-sdk 2.1.7-main.26724205928 → 2.1.7-main.26724507968

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.js +572 -509
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30687,7 +30687,7 @@ var tokenV2MutationsContract = {
30687
30687
  };
30688
30688
 
30689
30689
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.reads.contract.ts
30690
- import { z as z459 } from "zod";
30690
+ import { z as z461 } from "zod";
30691
30691
 
30692
30692
  // ../../packages/dalp/api-contract/src/routes/token/routes/token.conversion-feature-probe.schema.ts
30693
30693
  import { z as z429 } from "zod";
@@ -31600,37 +31600,84 @@ var TokenFeeAccrualEventV2ItemSchema = z450.object({
31600
31600
  });
31601
31601
  var TokenFeeAccrualEventsV2OutputSchema = createPaginatedResponse(TokenFeeAccrualEventV2ItemSchema);
31602
31602
 
31603
- // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.fee-accrual-payer.schema.ts
31603
+ // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.fee-reconciliations.list.schema.ts
31604
31604
  import { z as z451 } from "zod";
31605
- var TokenFeeAccrualPayerV2InputSchema = z451.object({
31605
+ var TOKEN_FEE_RECONCILIATIONS_COLLECTION_FIELDS = {
31606
+ periodEnd: dateField(),
31607
+ blockNumber: bigintField(),
31608
+ caller: addressField({ defaultOperator: "iLike" }),
31609
+ recipient: addressField({ defaultOperator: "iLike" }),
31610
+ amount: bigintField()
31611
+ };
31612
+ var TokenFeeReconciliationsV2InputSchema = createCollectionInputSchema(TOKEN_FEE_RECONCILIATIONS_COLLECTION_FIELDS, {
31613
+ defaultSort: "-periodEnd",
31614
+ globalSearch: false
31615
+ });
31616
+ var TokenFeeReconciliationV2ItemSchema = z451.object({
31617
+ id: z451.string().uuid(),
31618
+ caller: ethereumAddress,
31619
+ recipient: ethereumAddress,
31620
+ periodEnd: timestamp(),
31621
+ amount: bigDecimal(),
31622
+ amountExact: apiBigInt,
31623
+ blockNumber: apiBigInt,
31624
+ blockTimestamp: timestamp(),
31625
+ txHash: ethereumHash,
31626
+ logIndex: z451.number().int().nonnegative()
31627
+ });
31628
+ var TokenFeeReconciliationsV2OutputSchema = createPaginatedResponse(TokenFeeReconciliationV2ItemSchema);
31629
+
31630
+ // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.fee-exemptions.list.schema.ts
31631
+ import { z as z452 } from "zod";
31632
+ var TOKEN_FEE_EXEMPTIONS_COLLECTION_FIELDS = {
31633
+ account: addressField({ defaultOperator: "iLike" }),
31634
+ isExempt: booleanField(),
31635
+ updatedAt: dateField(),
31636
+ updatedAtBlock: bigintField()
31637
+ };
31638
+ var TokenFeeExemptionsV2InputSchema = createCollectionInputSchema(TOKEN_FEE_EXEMPTIONS_COLLECTION_FIELDS, {
31639
+ defaultSort: "-updatedAt",
31640
+ globalSearch: false
31641
+ });
31642
+ var TokenFeeExemptionV2ItemSchema = z452.object({
31643
+ account: ethereumAddress,
31644
+ isExempt: z452.boolean(),
31645
+ updatedAt: timestamp(),
31646
+ updatedAtBlock: apiBigInt
31647
+ });
31648
+ var TokenFeeExemptionsV2OutputSchema = createPaginatedResponse(TokenFeeExemptionV2ItemSchema);
31649
+
31650
+ // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.fee-accrual-payer.schema.ts
31651
+ import { z as z453 } from "zod";
31652
+ var TokenFeeAccrualPayerV2InputSchema = z453.object({
31606
31653
  payer: ethereumAddress.meta({
31607
31654
  description: "Payer address whose accrued fees to summarise.",
31608
31655
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
31609
31656
  })
31610
31657
  });
31611
- var TokenFeeAccrualPayerBreakdownItemSchema = z451.object({
31612
- operationType: z451.enum(FEE_ACCRUAL_OPERATION_TYPE_OPTIONS),
31613
- eventCount: z451.number().int().nonnegative(),
31658
+ var TokenFeeAccrualPayerBreakdownItemSchema = z453.object({
31659
+ operationType: z453.enum(FEE_ACCRUAL_OPERATION_TYPE_OPTIONS),
31660
+ eventCount: z453.number().int().nonnegative(),
31614
31661
  totalOperationAmount: bigDecimal(),
31615
31662
  totalOperationAmountExact: apiBigInt,
31616
31663
  totalFeeAmount: bigDecimal(),
31617
31664
  totalFeeAmountExact: apiBigInt
31618
31665
  });
31619
- var TokenFeeAccrualPayerV2OutputSchema = z451.object({
31620
- data: z451.object({
31666
+ var TokenFeeAccrualPayerV2OutputSchema = z453.object({
31667
+ data: z453.object({
31621
31668
  payer: ethereumAddress,
31622
- totalEvents: z451.number().int().nonnegative(),
31669
+ totalEvents: z453.number().int().nonnegative(),
31623
31670
  totalFeeAmount: bigDecimal(),
31624
31671
  totalFeeAmountExact: apiBigInt,
31625
31672
  totalOperationAmount: bigDecimal(),
31626
31673
  totalOperationAmountExact: apiBigInt,
31627
- breakdown: z451.array(TokenFeeAccrualPayerBreakdownItemSchema),
31628
- recentEvents: z451.array(TokenFeeAccrualEventV2ItemSchema)
31674
+ breakdown: z453.array(TokenFeeAccrualPayerBreakdownItemSchema),
31675
+ recentEvents: z453.array(TokenFeeAccrualEventV2ItemSchema)
31629
31676
  })
31630
31677
  });
31631
31678
 
31632
31679
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.external-fee-collection-events.list.schema.ts
31633
- import { z as z452 } from "zod";
31680
+ import { z as z454 } from "zod";
31634
31681
  var EXTERNAL_OPERATION_TYPE_OPTIONS = ["mint", "burn", "transfer", "unknown"];
31635
31682
  var TOKEN_EXTERNAL_FEE_COLLECTION_EVENTS_COLLECTION_FIELDS = {
31636
31683
  collectedAt: dateField(),
@@ -31644,22 +31691,22 @@ var TokenExternalFeeCollectionEventsV2InputSchema = createCollectionInputSchema(
31644
31691
  defaultSort: "-collectedAt",
31645
31692
  globalSearch: false
31646
31693
  });
31647
- var TokenExternalFeeCollectionEventV2ItemSchema = z452.object({
31648
- id: z452.uuid(),
31694
+ var TokenExternalFeeCollectionEventV2ItemSchema = z454.object({
31695
+ id: z454.uuid(),
31649
31696
  payer: ethereumAddress,
31650
31697
  feeToken: ethereumAddress,
31651
- operationType: z452.enum(EXTERNAL_OPERATION_TYPE_OPTIONS),
31698
+ operationType: z454.enum(EXTERNAL_OPERATION_TYPE_OPTIONS),
31652
31699
  feeAmount: bigDecimal(),
31653
31700
  feeAmountExact: apiBigInt,
31654
31701
  blockNumber: apiBigInt,
31655
31702
  blockTimestamp: timestamp(),
31656
31703
  txHash: ethereumHash,
31657
- logIndex: z452.number().int().nonnegative()
31704
+ logIndex: z454.number().int().nonnegative()
31658
31705
  });
31659
31706
  var TokenExternalFeeCollectionEventsV2OutputSchema = createPaginatedResponse(TokenExternalFeeCollectionEventV2ItemSchema);
31660
31707
 
31661
31708
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.aum-fee-events.list.schema.ts
31662
- import { z as z453 } from "zod";
31709
+ import { z as z455 } from "zod";
31663
31710
  var TOKEN_AUM_FEE_EVENTS_COLLECTION_FIELDS = {
31664
31711
  collectedAt: dateField(),
31665
31712
  blockNumber: bigintField(),
@@ -31671,8 +31718,8 @@ var TokenAumFeeEventsV2InputSchema = createCollectionInputSchema(TOKEN_AUM_FEE_E
31671
31718
  defaultSort: "-collectedAt",
31672
31719
  globalSearch: false
31673
31720
  });
31674
- var TokenAumFeeEventV2ItemSchema = z453.object({
31675
- id: z453.uuid(),
31721
+ var TokenAumFeeEventV2ItemSchema = z455.object({
31722
+ id: z455.uuid(),
31676
31723
  collector: ethereumAddress,
31677
31724
  recipient: ethereumAddress,
31678
31725
  feeAmount: bigDecimal(),
@@ -31681,12 +31728,12 @@ var TokenAumFeeEventV2ItemSchema = z453.object({
31681
31728
  blockNumber: apiBigInt,
31682
31729
  blockTimestamp: timestamp(),
31683
31730
  txHash: ethereumHash,
31684
- logIndex: z453.number().int().nonnegative()
31731
+ logIndex: z455.number().int().nonnegative()
31685
31732
  });
31686
31733
  var TokenAumFeeEventsV2OutputSchema = createPaginatedResponse(TokenAumFeeEventV2ItemSchema);
31687
31734
 
31688
31735
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.maturity-redemption-events.list.schema.ts
31689
- import { z as z454 } from "zod";
31736
+ import { z as z456 } from "zod";
31690
31737
  var TOKEN_MATURITY_REDEMPTION_EVENTS_COLLECTION_FIELDS = {
31691
31738
  redeemedAt: dateField(),
31692
31739
  blockNumber: bigintField(),
@@ -31698,8 +31745,8 @@ var TokenMaturityRedemptionEventsV2InputSchema = createCollectionInputSchema(TOK
31698
31745
  defaultSort: "-redeemedAt",
31699
31746
  globalSearch: false
31700
31747
  });
31701
- var TokenMaturityRedemptionEventV2ItemSchema = z454.object({
31702
- id: z454.uuid(),
31748
+ var TokenMaturityRedemptionEventV2ItemSchema = z456.object({
31749
+ id: z456.uuid(),
31703
31750
  holder: ethereumAddress,
31704
31751
  featureAddress: ethereumAddress,
31705
31752
  redeemedAmount: bigDecimal(),
@@ -31709,12 +31756,12 @@ var TokenMaturityRedemptionEventV2ItemSchema = z454.object({
31709
31756
  blockNumber: apiBigInt,
31710
31757
  blockTimestamp: timestamp(),
31711
31758
  txHash: ethereumHash,
31712
- logIndex: z454.number().int().nonnegative()
31759
+ logIndex: z456.number().int().nonnegative()
31713
31760
  });
31714
31761
  var TokenMaturityRedemptionEventsV2OutputSchema = createPaginatedResponse(TokenMaturityRedemptionEventV2ItemSchema);
31715
31762
 
31716
31763
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.feature-permit-replay-history.schema.ts
31717
- import { z as z455 } from "zod";
31764
+ import { z as z457 } from "zod";
31718
31765
  var PERMIT_REPLAY_HISTORY_COLLECTION_FIELDS = {
31719
31766
  blockTime: dateField()
31720
31767
  };
@@ -31722,7 +31769,7 @@ var TokenFeaturePermitReplayHistoryV2InputSchema = createCollectionInputSchema(P
31722
31769
  defaultSort: "-blockTime",
31723
31770
  globalSearch: false
31724
31771
  });
31725
- var TokenFeaturePermitReplayHistoryV2ItemSchema = z455.object({
31772
+ var TokenFeaturePermitReplayHistoryV2ItemSchema = z457.object({
31726
31773
  nonce: apiBigInt.meta({
31727
31774
  description: "Per-owner sequence number derived from the count of prior projection rows for the same (chainId, tokenAddress, owner) tuple.",
31728
31775
  examples: ["0"]
@@ -31754,10 +31801,10 @@ var TransferApprovalsV2InputSchema = createCollectionInputSchema(TRANSFER_APPROV
31754
31801
  var TransferApprovalsV2OutputSchema = createPaginatedResponse(TransferApprovalSchema);
31755
31802
 
31756
31803
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.treasury-health.schema.ts
31757
- import { z as z456 } from "zod";
31804
+ import { z as z458 } from "zod";
31758
31805
  var TreasuryHealthInputSchema = TokenReadInputSchema;
31759
- var TreasuryHealthApprovalSchema = z456.object({
31760
- kind: z456.enum(["maturity-redemption", "fixed-treasury-yield"]).meta({
31806
+ var TreasuryHealthApprovalSchema = z458.object({
31807
+ kind: z458.enum(["maturity-redemption", "fixed-treasury-yield"]).meta({
31761
31808
  description: "Which feature this approval row gates.",
31762
31809
  examples: ["maturity-redemption"]
31763
31810
  }),
@@ -31781,21 +31828,21 @@ var TreasuryHealthApprovalSchema = z456.object({
31781
31828
  description: "Required allowance ceiling for the feature, scaled by denomination asset decimals.",
31782
31829
  examples: ["1000.00"]
31783
31830
  }),
31784
- satisfied: z456.boolean().meta({
31831
+ satisfied: z458.boolean().meta({
31785
31832
  description: "True when the indexed allowance is greater than or equal to the required ceiling.",
31786
31833
  examples: [true, false]
31787
31834
  })
31788
31835
  });
31789
- var TreasuryHealthImplementationSchema = z456.object({
31790
- treasuryIsContract: z456.boolean().nullable().meta({
31836
+ var TreasuryHealthImplementationSchema = z458.object({
31837
+ treasuryIsContract: z458.boolean().nullable().meta({
31791
31838
  description: "Whether the configured treasury address is a contract (`true`), an EOA (`false`), or has not yet been classified by the indexer (`null`).",
31792
31839
  examples: [false, true, null]
31793
31840
  })
31794
31841
  }).nullable().meta({
31795
31842
  description: "Treasury implementation classification. `null` when no maturity / yield feature is attached."
31796
31843
  });
31797
- var TreasuryHealthResponseSchema = z456.object({
31798
- approvals: z456.array(TreasuryHealthApprovalSchema).meta({
31844
+ var TreasuryHealthResponseSchema = z458.object({
31845
+ approvals: z458.array(TreasuryHealthApprovalSchema).meta({
31799
31846
  description: "Per-feature approval rows. Empty when the token has neither a maturity-redemption nor a fixed-treasury-yield feature attached."
31800
31847
  }),
31801
31848
  implementation: TreasuryHealthImplementationSchema,
@@ -31807,11 +31854,11 @@ var TreasuryHealthResponseSchema = z456.object({
31807
31854
  description: "Projected next-period denomination need (next scheduled redemption / unclaimed yield), scaled by denomination asset decimals. Used to set the `yellow` threshold.",
31808
31855
  examples: ["1000.00"]
31809
31856
  }),
31810
- status: z456.enum(["green", "yellow", "red"]).meta({
31857
+ status: z458.enum(["green", "yellow", "red"]).meta({
31811
31858
  description: "Badge status. `green` = approvals satisfy ceilings (or do not apply) AND balance covers projected need. `yellow` = approvals satisfy (or do not apply) but balance is below projected need. `red` = at least one approval is below its ceiling. Allowance ceilings only apply to EOA treasuries, so `red` is reserved for a classified EOA treasury (`implementation.treasuryIsContract === false`); contract/vault and not-yet-classified treasuries fall through to the balance check.",
31812
31859
  examples: ["green", "yellow", "red"]
31813
31860
  }),
31814
- reason: z456.string().nullable().meta({
31861
+ reason: z458.string().nullable().meta({
31815
31862
  description: "Human-readable reason for the non-green status. `null` for `green`.",
31816
31863
  examples: ["balance below projected", "approval below ceiling", null]
31817
31864
  }),
@@ -31822,7 +31869,7 @@ var TreasuryHealthResponseSchema = z456.object({
31822
31869
  });
31823
31870
 
31824
31871
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.voting-delegations.schema.ts
31825
- import { z as z457 } from "zod";
31872
+ import { z as z459 } from "zod";
31826
31873
  var VOTING_DELEGATIONS_COLLECTION_FIELDS = {
31827
31874
  account: addressField({ defaultOperator: "iLike" }),
31828
31875
  delegate: addressField({ defaultOperator: "iLike" }),
@@ -31836,49 +31883,49 @@ var VotingDelegationsV2InputSchema = createCollectionInputSchema(VOTING_DELEGATI
31836
31883
  defaultSort: "-delegatedAt",
31837
31884
  globalSearch: false
31838
31885
  });
31839
- var VotingDelegationV2ItemSchema = z457.object({
31840
- id: z457.string().uuid(),
31886
+ var VotingDelegationV2ItemSchema = z459.object({
31887
+ id: z459.string().uuid(),
31841
31888
  delegator: ethereumAddress,
31842
31889
  fromDelegate: ethereumAddress.nullable(),
31843
31890
  toDelegate: ethereumAddress,
31844
31891
  delegatedAt: timestamp(),
31845
31892
  delegatedBlockNumber: apiBigInt,
31846
31893
  delegatedTxHash: ethereumHash,
31847
- delegatedLogIndex: z457.number().int().nonnegative(),
31894
+ delegatedLogIndex: z459.number().int().nonnegative(),
31848
31895
  undelegatedAt: timestamp().nullable(),
31849
31896
  undelegatedBlockNumber: apiBigInt.nullable(),
31850
31897
  undelegatedTxHash: ethereumHash.nullable(),
31851
- undelegatedLogIndex: z457.number().int().nonnegative().nullable(),
31852
- isActive: z457.boolean()
31898
+ undelegatedLogIndex: z459.number().int().nonnegative().nullable(),
31899
+ isActive: z459.boolean()
31853
31900
  });
31854
31901
  var VotingDelegationsV2OutputSchema = createPaginatedResponse(VotingDelegationV2ItemSchema);
31855
31902
 
31856
31903
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.voting-power-distribution.schema.ts
31857
- import { z as z458 } from "zod";
31904
+ import { z as z460 } from "zod";
31858
31905
  var DEFAULT_TOP_N = 50;
31859
31906
  var MAX_TOP_N = 200;
31860
- var VotingPowerDistributionV2InputSchema = z458.object({
31861
- topN: z458.coerce.number().int().min(1).max(MAX_TOP_N).default(DEFAULT_TOP_N).meta({
31907
+ var VotingPowerDistributionV2InputSchema = z460.object({
31908
+ topN: z460.coerce.number().int().min(1).max(MAX_TOP_N).default(DEFAULT_TOP_N).meta({
31862
31909
  description: `Number of top holders to return individually (1-${MAX_TOP_N}). Remaining holders aggregate into the "other" bucket.`,
31863
31910
  examples: [DEFAULT_TOP_N]
31864
31911
  })
31865
31912
  });
31866
- var VotingPowerDistributionHolderSchema = z458.object({
31913
+ var VotingPowerDistributionHolderSchema = z460.object({
31867
31914
  account: ethereumAddress,
31868
- votes: z458.string(),
31915
+ votes: z460.string(),
31869
31916
  votesExact: apiBigInt
31870
31917
  });
31871
- var VotingPowerDistributionOtherSchema = z458.object({
31872
- holders: z458.number().int().nonnegative(),
31873
- votes: z458.string(),
31918
+ var VotingPowerDistributionOtherSchema = z460.object({
31919
+ holders: z460.number().int().nonnegative(),
31920
+ votes: z460.string(),
31874
31921
  votesExact: apiBigInt
31875
31922
  });
31876
- var VotingPowerDistributionV2DataSchema = z458.object({
31877
- total: z458.number().int().nonnegative(),
31878
- topN: z458.number().int().nonnegative(),
31879
- totalVotes: z458.string(),
31923
+ var VotingPowerDistributionV2DataSchema = z460.object({
31924
+ total: z460.number().int().nonnegative(),
31925
+ topN: z460.number().int().nonnegative(),
31926
+ totalVotes: z460.string(),
31880
31927
  totalVotesExact: apiBigInt,
31881
- holders: z458.array(VotingPowerDistributionHolderSchema),
31928
+ holders: z460.array(VotingPowerDistributionHolderSchema),
31882
31929
  other: VotingPowerDistributionOtherSchema
31883
31930
  });
31884
31931
  var VotingPowerDistributionV2OutputSchema = createSingleResponse(VotingPowerDistributionV2DataSchema);
@@ -31897,21 +31944,21 @@ var allowance = v2Contract.route({
31897
31944
  description: "Get token allowance for a specific owner/spender pair.",
31898
31945
  successDescription: "Token allowance details retrieved successfully.",
31899
31946
  tags: [V2_TAG.token]
31900
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenAllowanceInputSchema.shape.tokenAddress }), z459.object(TokenAllowanceInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(TokenAllowanceResponseSchema));
31947
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenAllowanceInputSchema.shape.tokenAddress }), z461.object(TokenAllowanceInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(TokenAllowanceResponseSchema));
31901
31948
  var holder = v2Contract.route({
31902
31949
  method: "GET",
31903
31950
  path: "/tokens/{tokenAddress}/holder-balances",
31904
31951
  description: "Get a specific token holder's balance information.",
31905
31952
  successDescription: "Token holder balance details retrieved successfully.",
31906
31953
  tags: [V2_TAG.token]
31907
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenHolderInputSchema.shape.tokenAddress }), z459.object(TokenHolderInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(TokenHolderResponseSchema));
31954
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenHolderInputSchema.shape.tokenAddress }), z461.object(TokenHolderInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(TokenHolderResponseSchema));
31908
31955
  var holders = v2Contract.route({
31909
31956
  method: "GET",
31910
31957
  path: "/tokens/{tokenAddress}/holders",
31911
31958
  description: "Get token holders and their balances.",
31912
31959
  successDescription: "List of token holders with balance information.",
31913
31960
  tags: [V2_TAG.token]
31914
- }).input(v2Input.paramsQuery(z459.object({
31961
+ }).input(v2Input.paramsQuery(z461.object({
31915
31962
  tokenAddress: ethereumAddress.meta({
31916
31963
  description: "The token contract address",
31917
31964
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -31923,7 +31970,7 @@ var actions = v2Contract.route({
31923
31970
  description: "List actions targeting a specific token. Supports JSON:API pagination, sorting, filtering, and faceted counts.",
31924
31971
  successDescription: "Paginated list of actions targeting the specified token.",
31925
31972
  tags: [V2_TAG.token]
31926
- }).input(v2Input.paramsQuery(z459.object({
31973
+ }).input(v2Input.paramsQuery(z461.object({
31927
31974
  tokenAddress: ethereumAddress.meta({
31928
31975
  description: "The token contract address to filter actions by",
31929
31976
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -31935,7 +31982,7 @@ var events2 = v2Contract.route({
31935
31982
  description: "List token events with pagination, filtering, sorting, and faceted counts.",
31936
31983
  successDescription: "Paginated list of token events with metadata and pagination links.",
31937
31984
  tags: [V2_TAG.token]
31938
- }).input(v2Input.paramsQuery(z459.object({
31985
+ }).input(v2Input.paramsQuery(z461.object({
31939
31986
  tokenAddress: ethereumAddress.meta({
31940
31987
  description: "The token contract address",
31941
31988
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -31947,7 +31994,7 @@ var holdings = v2Contract.route({
31947
31994
  description: "List every asset the specified token holds a balance in (its treasury). Supports JSON:API pagination, sorting, filtering, and faceted counts.",
31948
31995
  successDescription: "Paginated list of assets the specified token holds a balance in.",
31949
31996
  tags: [V2_TAG.token]
31950
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), HoldingsV2InputSchema)).output(HoldingsV2OutputSchema);
31997
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), HoldingsV2InputSchema)).output(HoldingsV2OutputSchema);
31951
31998
  var compliance = v2Contract.route({
31952
31999
  method: "GET",
31953
32000
  path: "/tokens/{tokenAddress}/compliance-modules",
@@ -31982,7 +32029,7 @@ var transferApprovals = v2Contract.route({
31982
32029
  description: "List transfer approvals created on the TransferApprovalComplianceModule for this token. Includes pending, consumed, and revoked approvals.",
31983
32030
  successDescription: "List of transfer approvals with their current status.",
31984
32031
  tags: [V2_TAG.compliance]
31985
- }).input(v2Input.paramsQuery(z459.object({
32032
+ }).input(v2Input.paramsQuery(z461.object({
31986
32033
  tokenAddress: TransferApprovalsInputSchema.shape.tokenAddress
31987
32034
  }), TransferApprovalsV2InputSchema)).output(TransferApprovalsV2OutputSchema);
31988
32035
  var price = v2Contract.route({
@@ -31998,72 +32045,72 @@ var conversionTriggers = v2Contract.route({
31998
32045
  description: "List conversion triggers for a token. Includes computed effective price (after discount and cap). Supports JSON:API pagination, sorting, filtering, and faceted counts.",
31999
32046
  successDescription: "Paginated list of conversion triggers with effective pricing.",
32000
32047
  tags: [V2_TAG.token]
32001
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConversionTriggersV2InputSchema)).output(ConversionTriggersV2OutputSchema);
32048
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConversionTriggersV2InputSchema)).output(ConversionTriggersV2OutputSchema);
32002
32049
  var conversionRecords = v2Contract.route({
32003
32050
  method: "GET",
32004
32051
  path: "/tokens/{tokenAddress}/conversion/records",
32005
32052
  description: "List conversion lifecycle records for a token. Includes conversion-minter issuance details when available. Supports JSON:API pagination, sorting, filtering, and faceted counts.",
32006
32053
  successDescription: "Paginated list of conversion records.",
32007
32054
  tags: [V2_TAG.token]
32008
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConversionRecordsV2InputSchema)).output(ConversionRecordsV2OutputSchema);
32055
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConversionRecordsV2InputSchema)).output(ConversionRecordsV2OutputSchema);
32009
32056
  var conversionTriggerEvents = v2Contract.route({
32010
32057
  method: "GET",
32011
32058
  path: "/tokens/{tokenAddress}/conversion/events",
32012
32059
  description: "List the append-only TriggerPublished / TriggerDisabled / republish lifecycle observations for a token's attached conversion feature. Supports JSON:API pagination, sorting, filtering, and faceted counts.",
32013
32060
  successDescription: "Paginated list of conversion trigger lifecycle events.",
32014
32061
  tags: [V2_TAG.token]
32015
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConversionTriggerEventsV2InputSchema)).output(ConversionTriggerEventsV2OutputSchema);
32062
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConversionTriggerEventsV2InputSchema)).output(ConversionTriggerEventsV2OutputSchema);
32016
32063
  var convertsTo = v2Contract.route({
32017
32064
  method: "GET",
32018
32065
  path: "/tokens/{tokenAddress}/conversion/converts-to",
32019
32066
  description: "List target tokens that this token has been authorized to convert into. Reads the forward direction of the bidirectional conversion authorization edges.",
32020
32067
  successDescription: "Paginated list of forward conversion authorization edges.",
32021
32068
  tags: [V2_TAG.token]
32022
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConvertsToV2InputSchema)).output(ConvertsToV2OutputSchema);
32069
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConvertsToV2InputSchema)).output(ConvertsToV2OutputSchema);
32023
32070
  var convertedFrom = v2Contract.route({
32024
32071
  method: "GET",
32025
32072
  path: "/tokens/{tokenAddress}/conversion/converted-from",
32026
32073
  description: "List source tokens that have been authorized to convert into this token. Reads the reverse direction of the bidirectional conversion authorization edges.",
32027
32074
  successDescription: "Paginated list of reverse conversion authorization edges.",
32028
32075
  tags: [V2_TAG.token]
32029
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConvertedFromV2InputSchema)).output(ConvertedFromV2OutputSchema);
32076
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), ConvertedFromV2InputSchema)).output(ConvertedFromV2OutputSchema);
32030
32077
  var conversionHolderState = v2Contract.route({
32031
32078
  method: "GET",
32032
32079
  path: "/tokens/{tokenAddress}/conversion/holder-state",
32033
32080
  description: "Read holder-specific conversion state from the token's attached conversion feature. Returns null when no conversion feature is attached.",
32034
32081
  successDescription: "Conversion holder state retrieved successfully.",
32035
32082
  tags: [V2_TAG.token]
32036
- }).input(v2Input.paramsQuery(z459.object({
32083
+ }).input(v2Input.paramsQuery(z461.object({
32037
32084
  tokenAddress: TokenConversionHolderStateInputSchema.shape.tokenAddress
32038
- }), z459.object(TokenConversionHolderStateInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(TokenConversionHolderStateResponseSchema));
32085
+ }), z461.object(TokenConversionHolderStateInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(TokenConversionHolderStateResponseSchema));
32039
32086
  var votingDelegations = v2Contract.route({
32040
32087
  method: "GET",
32041
32088
  path: "/tokens/{tokenAddress}/voting-delegations",
32042
32089
  description: "List voting delegation lifecycle rows for a token's voting-power feature. Supports JSON:API pagination, sorting, filtering, and faceted active counts.",
32043
32090
  successDescription: "Paginated list of voting delegation lifecycle rows.",
32044
32091
  tags: [V2_TAG.token]
32045
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), VotingDelegationsV2InputSchema)).output(VotingDelegationsV2OutputSchema);
32092
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), VotingDelegationsV2InputSchema)).output(VotingDelegationsV2OutputSchema);
32046
32093
  var votingPowerDistribution = v2Contract.route({
32047
32094
  method: "GET",
32048
32095
  path: "/tokens/{tokenAddress}/voting-power/distribution",
32049
32096
  description: "Histogram of current voting power per delegate for a token's voting-power feature. Returns the top-N holders by latest votes plus a single aggregated 'other' bucket covering remaining holders.",
32050
32097
  successDescription: "Voting-power distribution summary retrieved successfully.",
32051
32098
  tags: [V2_TAG.token]
32052
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), VotingPowerDistributionV2InputSchema)).output(VotingPowerDistributionV2OutputSchema);
32099
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), VotingPowerDistributionV2InputSchema)).output(VotingPowerDistributionV2OutputSchema);
32053
32100
  var permitInfo = v2Contract.route({
32054
32101
  method: "GET",
32055
32102
  path: "/tokens/{tokenAddress}/permit-info",
32056
32103
  description: "Read EIP-2612 permit metadata from the token's attached permit feature, including the domain separator and optional owner nonce.",
32057
32104
  successDescription: "Permit feature metadata retrieved successfully.",
32058
32105
  tags: [V2_TAG.token]
32059
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenPermitInfoInputSchema.shape.tokenAddress }), z459.object(TokenPermitInfoInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(TokenPermitInfoResponseSchema));
32106
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenPermitInfoInputSchema.shape.tokenAddress }), z461.object(TokenPermitInfoInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(TokenPermitInfoResponseSchema));
32060
32107
  var featurePermitReplayHistory = v2Contract.route({
32061
32108
  method: "GET",
32062
32109
  path: "/tokens/{tokenAddress}/permit/replay-history/{owner}",
32063
32110
  description: "List relayed `permit()` calls scoped to a single holder for a token's attached Permit feature. Forensic/audit view derived from the indexer projection that filters Approval events on the EIP-2612 permit function selector. History begins at the U2 selector bump landing date — pre-bump events do not appear because their `selector` column is NULL. Permits routed through ERC-4337 `EntryPoint.handleOps` (smart-wallet / UserOp paths) are conservatively excluded in this backend slice because the outer transaction selector reflects the EntryPoint, not the EIP-2612 selector; promoting AA-routed permits requires inner-call decoding tracked as a follow-up.",
32064
32111
  successDescription: "Paginated list of permit replay events for the specified owner.",
32065
32112
  tags: [V2_TAG.token]
32066
- }).input(v2Input.paramsQuery(z459.object({
32113
+ }).input(v2Input.paramsQuery(z461.object({
32067
32114
  tokenAddress: TokenReadInputSchema.shape.tokenAddress,
32068
32115
  owner: ethereumAddress.meta({
32069
32116
  description: "Token holder whose permit replay history is being requested.",
@@ -32076,21 +32123,21 @@ var historicalBalances = v2Contract.route({
32076
32123
  description: "List historical balance checkpoints for a token's historical-balances feature. Account rows are returned by default; total-supply rows are reachable through filter[kind]=totalSupply or filter[account]=0x0000000000000000000000000000000000000000.",
32077
32124
  successDescription: "Paginated list of historical balance checkpoints.",
32078
32125
  tags: [V2_TAG.token, V2_TAG.tokenHistoricalBalances]
32079
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenHistoricalBalancesV2InputSchema)).output(TokenHistoricalBalancesV2OutputSchema);
32126
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenHistoricalBalancesV2InputSchema)).output(TokenHistoricalBalancesV2OutputSchema);
32080
32127
  var historicalBalanceAtBlock = v2Contract.route({
32081
32128
  method: "GET",
32082
32129
  path: "/tokens/{tokenAddress}/historical-balances/balance-at-block",
32083
32130
  description: "Read a holder balance and total supply from the token's attached historical-balances feature at a specific feature clock timepoint.",
32084
32131
  successDescription: "Historical balance snapshot retrieved successfully.",
32085
32132
  tags: [V2_TAG.token, V2_TAG.tokenHistoricalBalances]
32086
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenHistoricalBalanceAtBlockV2InputQuerySchema)).output(TokenHistoricalBalanceAtBlockV2OutputSchema);
32133
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenHistoricalBalanceAtBlockV2InputQuerySchema)).output(TokenHistoricalBalanceAtBlockV2OutputSchema);
32087
32134
  var historicalHoldersAtBlock = v2Contract.route({
32088
32135
  method: "GET",
32089
32136
  path: "/tokens/{tokenAddress}/historical-balances/holders-at-block",
32090
32137
  description: "List holder balances read from the token's attached historical-balances feature at a specific feature clock timepoint.",
32091
32138
  successDescription: "Paginated historical holder snapshot retrieved successfully.",
32092
32139
  tags: [V2_TAG.token, V2_TAG.tokenHistoricalBalances]
32093
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenHistoricalHoldersAtBlockV2InputSchema)).output(TokenHistoricalHoldersAtBlockV2OutputSchema);
32140
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenHistoricalHoldersAtBlockV2InputSchema)).output(TokenHistoricalHoldersAtBlockV2OutputSchema);
32094
32141
  var historicalBalanceAtBlockByHolder = v2Contract.route({
32095
32142
  method: "GET",
32096
32143
  path: "/tokens/{tokenAddress}/historical-balances/{holderAddress}",
@@ -32111,49 +32158,63 @@ var transactionFeeCollections = v2Contract.route({
32111
32158
  description: "List transaction-fee collections for a token's transaction-fee feature. Supports JSON:API pagination, sorting, filtering, and faceted operation counts.",
32112
32159
  successDescription: "Paginated list of transaction-fee collections.",
32113
32160
  tags: [V2_TAG.token]
32114
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenTransactionFeeCollectionsV2InputSchema)).output(TokenTransactionFeeCollectionsV2OutputSchema);
32161
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenTransactionFeeCollectionsV2InputSchema)).output(TokenTransactionFeeCollectionsV2OutputSchema);
32115
32162
  var transactionFeeCollectionPayer = v2Contract.route({
32116
32163
  method: "GET",
32117
32164
  path: "/tokens/{tokenAddress}/transaction-fee/payers/{payer}",
32118
32165
  description: "Per-payer summary of collected transaction fees on a token's transaction-fee feature — totals, per-operation-type breakdown, and the most recent collection events for the payer.",
32119
32166
  successDescription: "Per-payer transaction-fee collection summary.",
32120
32167
  tags: [V2_TAG.token]
32121
- }).input(v2Input.params(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }).extend(TokenTransactionFeeCollectionPayerV2InputSchema.shape))).output(TokenTransactionFeeCollectionPayerV2OutputSchema);
32168
+ }).input(v2Input.params(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }).extend(TokenTransactionFeeCollectionPayerV2InputSchema.shape))).output(TokenTransactionFeeCollectionPayerV2OutputSchema);
32122
32169
  var feeAccrualEvents = v2Contract.route({
32123
32170
  method: "GET",
32124
32171
  path: "/tokens/{tokenAddress}/transaction-fee-accounting/accrual-events",
32125
32172
  description: "List fee-accrual events for a token's transaction-fee-accounting feature. Each row captures the full FeeAccrued payload (payer, from, to, fee type, operation amount, fee bps, fee amount). Supports JSON:API pagination, sorting, filtering, and faceted operation counts.",
32126
32173
  successDescription: "Paginated list of fee-accrual events.",
32127
32174
  tags: [V2_TAG.token]
32128
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenFeeAccrualEventsV2InputSchema)).output(TokenFeeAccrualEventsV2OutputSchema);
32175
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenFeeAccrualEventsV2InputSchema)).output(TokenFeeAccrualEventsV2OutputSchema);
32129
32176
  var feeAccrualPayer = v2Contract.route({
32130
32177
  method: "GET",
32131
32178
  path: "/tokens/{tokenAddress}/transaction-fee-accounting/payers/{payer}",
32132
32179
  description: "Per-payer summary of accrued transaction fees on a token's transaction-fee-accounting feature — totals, per-operation-type breakdown, and the most recent accrual events for the payer.",
32133
32180
  successDescription: "Per-payer accrual summary.",
32134
32181
  tags: [V2_TAG.token]
32135
- }).input(v2Input.params(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }).extend(TokenFeeAccrualPayerV2InputSchema.shape))).output(TokenFeeAccrualPayerV2OutputSchema);
32182
+ }).input(v2Input.params(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }).extend(TokenFeeAccrualPayerV2InputSchema.shape))).output(TokenFeeAccrualPayerV2OutputSchema);
32183
+ var feeReconciliations = v2Contract.route({
32184
+ method: "GET",
32185
+ path: "/tokens/{tokenAddress}/transaction-fee-accounting/reconciliations",
32186
+ description: "List fee-reconciliation rows for a token's transaction-fee-accounting feature. Each row captures one FeesReconciled observation (period end, caller, recipient, reconciled amount). Supports JSON:API pagination, sorting, and filtering; defaults to newest period end first.",
32187
+ successDescription: "Paginated list of fee reconciliations.",
32188
+ tags: [V2_TAG.token]
32189
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenFeeReconciliationsV2InputSchema)).output(TokenFeeReconciliationsV2OutputSchema);
32190
+ var feeExemptions = v2Contract.route({
32191
+ method: "GET",
32192
+ path: "/tokens/{tokenAddress}/transaction-fee-accounting/exemptions",
32193
+ description: "List fee-exemption rows for a token's transaction-fee-accounting feature. Each row is the current exemption state for one account (account, exempt flag, last-updated time and block). Supports JSON:API pagination, sorting, and filtering; defaults to newest update first.",
32194
+ successDescription: "Paginated list of fee exemptions.",
32195
+ tags: [V2_TAG.token]
32196
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenFeeExemptionsV2InputSchema)).output(TokenFeeExemptionsV2OutputSchema);
32136
32197
  var externalFeeCollectionEvents = v2Contract.route({
32137
32198
  method: "GET",
32138
32199
  path: "/tokens/{tokenAddress}/external-transaction-fee/collection-events",
32139
32200
  description: "List external-fee collection events for a token's external-transaction-fee feature. Each row captures the full ExternalFeeCollected payload (payer, fee token, operation type, fee amount). Supports JSON:API pagination, sorting, filtering, and faceted operation counts.",
32140
32201
  successDescription: "Paginated list of external-fee collection events.",
32141
32202
  tags: [V2_TAG.token]
32142
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenExternalFeeCollectionEventsV2InputSchema)).output(TokenExternalFeeCollectionEventsV2OutputSchema);
32203
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenExternalFeeCollectionEventsV2InputSchema)).output(TokenExternalFeeCollectionEventsV2OutputSchema);
32143
32204
  var aumFeeEvents = v2Contract.route({
32144
32205
  method: "GET",
32145
32206
  path: "/tokens/{tokenAddress}/aum-fee/collection-events",
32146
32207
  description: "List AUM-fee collection events for a token's AUM-fee feature. Each row captures the AUMFeeCollected payload (collector, recipient, fee amount, on-chain timestamp). Supports JSON:API pagination, sorting, and filtering by date / recipient / collector / fee amount.",
32147
32208
  successDescription: "Paginated list of AUM-fee collection events.",
32148
32209
  tags: [V2_TAG.token]
32149
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenAumFeeEventsV2InputSchema)).output(TokenAumFeeEventsV2OutputSchema);
32210
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenAumFeeEventsV2InputSchema)).output(TokenAumFeeEventsV2OutputSchema);
32150
32211
  var maturityRedemptionEvents = v2Contract.route({
32151
32212
  method: "GET",
32152
32213
  path: "/tokens/{tokenAddress}/maturity-redemption/redemption-events",
32153
32214
  description: "List per-holder maturity-redemption `Redeemed` events for a token's maturity-redemption feature. Each row captures the holder, redeemed token amount, denomination-asset payout amount, and block metadata. Filter by holder to render per-holder redemption history. Supports JSON:API pagination, sorting, and filtering.",
32154
32215
  successDescription: "Paginated list of maturity-redemption events.",
32155
32216
  tags: [V2_TAG.token]
32156
- }).input(v2Input.paramsQuery(z459.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenMaturityRedemptionEventsV2InputSchema)).output(TokenMaturityRedemptionEventsV2OutputSchema);
32217
+ }).input(v2Input.paramsQuery(z461.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenMaturityRedemptionEventsV2InputSchema)).output(TokenMaturityRedemptionEventsV2OutputSchema);
32157
32218
  var treasuryHealth = v2Contract.route({
32158
32219
  method: "GET",
32159
32220
  path: "/tokens/{tokenAddress}/treasury/health",
@@ -32193,6 +32254,8 @@ var tokenV2ReadsContract = {
32193
32254
  transactionFeeCollectionPayer,
32194
32255
  feeAccrualEvents,
32195
32256
  feeAccrualPayer,
32257
+ feeReconciliations,
32258
+ feeExemptions,
32196
32259
  externalFeeCollectionEvents,
32197
32260
  aumFeeEvents,
32198
32261
  maturityRedemptionEvents,
@@ -32202,7 +32265,7 @@ var tokenV2ReadsContract = {
32202
32265
  };
32203
32266
 
32204
32267
  // ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.stats.contract.ts
32205
- import { z as z460 } from "zod";
32268
+ import { z as z462 } from "zod";
32206
32269
  var statsBondStatus = v2Contract.route({
32207
32270
  method: "GET",
32208
32271
  path: "/tokens/{tokenAddress}/stats/bond-status",
@@ -32223,25 +32286,25 @@ var statsTotalSupply = v2Contract.route({
32223
32286
  description: "Get total supply history statistics for a specific token.",
32224
32287
  successDescription: "Token total supply history statistics.",
32225
32288
  tags: [V2_TAG.tokenStats]
32226
- }).input(v2Input.paramsQuery(z460.object({
32289
+ }).input(v2Input.paramsQuery(z462.object({
32227
32290
  tokenAddress: StatsTotalSupplyInputSchema.shape.tokenAddress
32228
- }), z460.object(StatsTotalSupplyInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(StatsTotalSupplyOutputSchema));
32291
+ }), z462.object(StatsTotalSupplyInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(StatsTotalSupplyOutputSchema));
32229
32292
  var statsSupplyChanges = v2Contract.route({
32230
32293
  method: "GET",
32231
32294
  path: "/tokens/{tokenAddress}/stats/supply-changes",
32232
32295
  description: "Get supply changes history (minted/burned) statistics for a specific token.",
32233
32296
  successDescription: "Token supply changes history statistics.",
32234
32297
  tags: [V2_TAG.tokenStats]
32235
- }).input(v2Input.paramsQuery(z460.object({
32298
+ }).input(v2Input.paramsQuery(z462.object({
32236
32299
  tokenAddress: StatsSupplyChangesInputSchema.shape.tokenAddress
32237
- }), z460.object(StatsSupplyChangesInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(StatsSupplyChangesOutputSchema));
32300
+ }), z462.object(StatsSupplyChangesInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(StatsSupplyChangesOutputSchema));
32238
32301
  var statsVolume = v2Contract.route({
32239
32302
  method: "GET",
32240
32303
  path: "/tokens/{tokenAddress}/stats/volume",
32241
32304
  description: "Get total volume history statistics for a specific token.",
32242
32305
  successDescription: "Token total volume history statistics.",
32243
32306
  tags: [V2_TAG.tokenStats]
32244
- }).input(v2Input.paramsQuery(z460.object({ tokenAddress: StatsVolumeInputSchema.shape.tokenAddress }), z460.object(StatsVolumeInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(StatsVolumeOutputSchema));
32307
+ }).input(v2Input.paramsQuery(z462.object({ tokenAddress: StatsVolumeInputSchema.shape.tokenAddress }), z462.object(StatsVolumeInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(StatsVolumeOutputSchema));
32245
32308
  var statsWalletDistribution = v2Contract.route({
32246
32309
  method: "GET",
32247
32310
  path: "/tokens/{tokenAddress}/stats/wallet-distribution",
@@ -32275,46 +32338,46 @@ var tokenV2StatsContract = {
32275
32338
  };
32276
32339
 
32277
32340
  // ../../packages/dalp/api-contract/src/routes/v2/token/topic-schemes/topic-schemes.v2.contract.ts
32278
- import { z as z464 } from "zod";
32341
+ import { z as z466 } from "zod";
32279
32342
 
32280
32343
  // ../../packages/dalp/api-contract/src/routes/token/topic-schemes/routes/topic-scheme.list.schema.ts
32281
- import { z as z461 } from "zod";
32282
- var TokenTopicSchemeInheritanceLevelSchema = z461.enum(["token", "system", "global"]).meta({
32344
+ import { z as z463 } from "zod";
32345
+ var TokenTopicSchemeInheritanceLevelSchema = z463.enum(["token", "system", "global"]).meta({
32283
32346
  description: "Chain-of-trust tier that registered the scheme. `token` rows are token-specific and removable; `system` and `global` rows are inherited and read-only.",
32284
32347
  examples: ["token"]
32285
32348
  });
32286
- var TokenTopicSchemeSchema = z461.object({
32287
- id: z461.string().meta({
32349
+ var TokenTopicSchemeSchema = z463.object({
32350
+ id: z463.string().meta({
32288
32351
  description: "Synthetic identifier for the topic scheme row (registry + topicId).",
32289
32352
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F#1"]
32290
32353
  }),
32291
- topicId: z461.string().meta({
32354
+ topicId: z463.string().meta({
32292
32355
  description: "Numeric topic id as a decimal string (matches the on-chain uint256).",
32293
32356
  examples: ["1", "100"]
32294
32357
  }),
32295
- name: z461.string().meta({
32358
+ name: z463.string().meta({
32296
32359
  description: "Human-readable topic-scheme name registered on the registry.",
32297
32360
  examples: ["Know Your Customer", "Accredited Investor"]
32298
32361
  }),
32299
- signature: z461.string().meta({
32362
+ signature: z463.string().meta({
32300
32363
  description: "ABI signature describing the claim data shape verified by this scheme.",
32301
32364
  examples: ["(string)", "(uint256,bool)"]
32302
32365
  }),
32303
- registry: z461.object({
32366
+ registry: z463.object({
32304
32367
  id: ethereumAddress.meta({
32305
32368
  description: "Topic Scheme Registry contract address that holds this row.",
32306
32369
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32307
32370
  })
32308
32371
  }),
32309
32372
  inheritanceLevel: TokenTopicSchemeInheritanceLevelSchema,
32310
- isShadowed: z461.boolean().meta({
32373
+ isShadowed: z463.boolean().meta({
32311
32374
  description: "TRUE when another registry in the resolved chain registered the same numeric topicId with a different signature. Surfaces inheritance shadowing before a token admin mutates the row.",
32312
32375
  examples: [false]
32313
32376
  })
32314
32377
  });
32315
32378
 
32316
32379
  // ../../packages/dalp/api-contract/src/routes/v2/token/topic-schemes/topic-schemes.v2.list.schema.ts
32317
- import { z as z462 } from "zod";
32380
+ import { z as z464 } from "zod";
32318
32381
  var TOKEN_TOPIC_SCHEMES_COLLECTION_FIELDS = {
32319
32382
  topicId: bigintField({ defaultOperator: "eq" }),
32320
32383
  name: textField({ defaultOperator: "iLike" }),
@@ -32326,14 +32389,14 @@ var TokenTopicSchemesV2ListInputSchema = createCollectionInputSchema(TOKEN_TOPIC
32326
32389
  globalSearch: true
32327
32390
  });
32328
32391
  var TokenTopicSchemesV2ListOutputSchema = createPaginatedResponse(TokenTopicSchemeSchema, {
32329
- hasTokenRegistry: z462.boolean().meta({
32392
+ hasTokenRegistry: z464.boolean().meta({
32330
32393
  description: "Whether the token has an attached token-level Topic Scheme Registry. " + "When false, only inherited system/global schemes resolve and no token-specific scheme can be added or removed."
32331
32394
  })
32332
32395
  });
32333
32396
 
32334
32397
  // ../../packages/dalp/api-contract/src/routes/v2/token/topic-schemes/topic-schemes.v2.mutations.schema.ts
32335
32398
  import { parseAbiParameters } from "viem";
32336
- import { z as z463 } from "zod";
32399
+ import { z as z465 } from "zod";
32337
32400
  function normalizeClaimDataSignature(signature) {
32338
32401
  return `(${signature.trim()})`;
32339
32402
  }
@@ -32347,7 +32410,7 @@ function isAbiTypeList(typeList) {
32347
32410
  return false;
32348
32411
  }
32349
32412
  }
32350
- var ClaimDataSignatureSchema = z463.string().min(1, "Signature is required").superRefine((value3, ctx) => {
32413
+ var ClaimDataSignatureSchema = z465.string().min(1, "Signature is required").superRefine((value3, ctx) => {
32351
32414
  if (value3.length === 0) {
32352
32415
  return;
32353
32416
  }
@@ -32360,7 +32423,7 @@ var ClaimDataSignatureSchema = z463.string().min(1, "Signature is required").sup
32360
32423
  }
32361
32424
  });
32362
32425
  var TokenTopicSchemeCreateInputSchema = MutationInputSchema.extend({
32363
- name: z463.string().min(1, "Topic scheme name is required").max(100, "Topic scheme name must be less than 100 characters").meta({
32426
+ name: z465.string().min(1, "Topic scheme name is required").max(100, "Topic scheme name must be less than 100 characters").meta({
32364
32427
  description: "Human-readable name for the token-level topic scheme.",
32365
32428
  examples: ["Custom Compliance", "Asset Origin"]
32366
32429
  }),
@@ -32370,20 +32433,20 @@ var TokenTopicSchemeCreateInputSchema = MutationInputSchema.extend({
32370
32433
  })
32371
32434
  });
32372
32435
  var TokenTopicSchemeCreateOutputSchema = BaseMutationOutputSchema.extend({
32373
- name: z463.string().meta({
32436
+ name: z465.string().meta({
32374
32437
  description: "Name of the created token-level topic scheme.",
32375
32438
  examples: ["Custom Compliance", "Asset Origin"]
32376
32439
  })
32377
32440
  });
32378
- var TokenTopicSchemeDeleteParamsSchema = z463.object({
32379
- topicId: z463.string().min(1, "topicId is required").regex(/^\d+$/, "topicId must be a numeric decimal string").meta({
32441
+ var TokenTopicSchemeDeleteParamsSchema = z465.object({
32442
+ topicId: z465.string().min(1, "topicId is required").regex(/^\d+$/, "topicId must be a numeric decimal string").meta({
32380
32443
  description: "Numeric topic id of the token-level scheme to remove (decimal string).",
32381
32444
  examples: ["1", "100"]
32382
32445
  })
32383
32446
  });
32384
32447
  var TokenTopicSchemeDeleteInputSchema = MutationInputSchema;
32385
32448
  var TokenTopicSchemeDeleteOutputSchema = BaseMutationOutputSchema.extend({
32386
- topicId: z463.string().meta({
32449
+ topicId: z465.string().meta({
32387
32450
  description: "Numeric topic id of the removed token-level scheme.",
32388
32451
  examples: ["1", "100"]
32389
32452
  })
@@ -32412,7 +32475,7 @@ var del12 = v2Contract.route({
32412
32475
  description: "Remove a token-specific topic scheme from the token-level Topic Scheme Registry by topic id.",
32413
32476
  successDescription: "Token topic scheme removed successfully.",
32414
32477
  tags: [V2_TAG.claimTopics]
32415
- }).meta({ contractErrors: [...TOKEN_TOPIC_SCHEME_DELETE_ERRORS] }).input(v2Input.paramsBody(z464.object({ ...TokenReadInputSchema.shape, ...TokenTopicSchemeDeleteParamsSchema.shape }), TokenTopicSchemeDeleteInputSchema)).output(createAsyncBlockchainMutationResponse(TokenTopicSchemeDeleteOutputSchema));
32478
+ }).meta({ contractErrors: [...TOKEN_TOPIC_SCHEME_DELETE_ERRORS] }).input(v2Input.paramsBody(z466.object({ ...TokenReadInputSchema.shape, ...TokenTopicSchemeDeleteParamsSchema.shape }), TokenTopicSchemeDeleteInputSchema)).output(createAsyncBlockchainMutationResponse(TokenTopicSchemeDeleteOutputSchema));
32416
32479
  var tokenV2TopicSchemesContract = {
32417
32480
  list: list40,
32418
32481
  create: create19,
@@ -32420,54 +32483,54 @@ var tokenV2TopicSchemesContract = {
32420
32483
  };
32421
32484
 
32422
32485
  // ../../packages/dalp/api-contract/src/routes/v2/token/trusted-issuers/trusted-issuers.v2.contract.ts
32423
- import { z as z468 } from "zod";
32486
+ import { z as z470 } from "zod";
32424
32487
 
32425
32488
  // ../../packages/dalp/api-contract/src/routes/token/trusted-issuers/routes/trusted-issuer.list.schema.ts
32426
- import { z as z465 } from "zod";
32427
- var TokenTrustedIssuerInheritanceLevelSchema = z465.enum(["token", "system", "global"]).meta({
32489
+ import { z as z467 } from "zod";
32490
+ var TokenTrustedIssuerInheritanceLevelSchema = z467.enum(["token", "system", "global"]).meta({
32428
32491
  description: "Chain-of-trust tier that registered the issuer. `token` rows are token-specific and removable; `system` and `global` rows are inherited and read-only.",
32429
32492
  examples: ["token"]
32430
32493
  });
32431
- var TokenTrustedIssuerClaimTopicSchema = z465.object({
32432
- topicId: z465.string().meta({
32494
+ var TokenTrustedIssuerClaimTopicSchema = z467.object({
32495
+ topicId: z467.string().meta({
32433
32496
  description: "Numeric topic id as a decimal string (matches the on-chain uint256).",
32434
32497
  examples: ["1", "100"]
32435
32498
  }),
32436
- name: z465.string().meta({
32499
+ name: z467.string().meta({
32437
32500
  description: "Human-readable topic-scheme name resolved from the token's topic-scheme registry chain.",
32438
32501
  examples: ["Know Your Customer", "Accredited Investor"]
32439
32502
  })
32440
32503
  });
32441
- var TokenTrustedIssuerSchema = z465.object({
32504
+ var TokenTrustedIssuerSchema = z467.object({
32442
32505
  id: ethereumAddress.meta({
32443
32506
  description: "Issuer identity address — the on-chain key for the trusted issuer.",
32444
32507
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32445
32508
  }),
32446
- account: z465.object({
32509
+ account: z467.object({
32447
32510
  id: ethereumAddress.meta({
32448
32511
  description: "Issuer wallet address.",
32449
32512
  examples: ["0x2546BcD3c84621e976D8185a91A922aE77ECEc30"]
32450
32513
  })
32451
32514
  }).nullable().optional().meta({ description: "Identity account associated with the issuer, when resolvable." }),
32452
- claimTopics: z465.array(TokenTrustedIssuerClaimTopicSchema).meta({
32515
+ claimTopics: z467.array(TokenTrustedIssuerClaimTopicSchema).meta({
32453
32516
  description: "Claim topics this issuer is trusted for at its registry tier.",
32454
32517
  examples: [[]]
32455
32518
  }),
32456
- registry: z465.object({
32519
+ registry: z467.object({
32457
32520
  id: ethereumAddress.meta({
32458
32521
  description: "Trusted Issuer Registry contract address that holds this row.",
32459
32522
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32460
32523
  })
32461
32524
  }),
32462
32525
  inheritanceLevel: TokenTrustedIssuerInheritanceLevelSchema,
32463
- isInheritedElsewhere: z465.boolean().meta({
32526
+ isInheritedElsewhere: z467.boolean().meta({
32464
32527
  description: "True when the same trusted issuer is also active in a parent-tier (system/global) registry of this token's resolved chain. " + "A `token`-tier row with this flag set keeps inherited trust after a token-level remove; `system`/`global` rows are always false.",
32465
32528
  examples: [false]
32466
32529
  })
32467
32530
  });
32468
32531
 
32469
32532
  // ../../packages/dalp/api-contract/src/routes/v2/token/trusted-issuers/trusted-issuers.v2.list.schema.ts
32470
- import { z as z466 } from "zod";
32533
+ import { z as z468 } from "zod";
32471
32534
  var TOKEN_TRUSTED_ISSUERS_COLLECTION_FIELDS = {
32472
32535
  account: textField({ defaultOperator: "iLike" }),
32473
32536
  source: enumField(["token", "system", "global"], { sortable: false })
@@ -32477,18 +32540,18 @@ var TokenTrustedIssuersV2ListInputSchema = createCollectionInputSchema(TOKEN_TRU
32477
32540
  globalSearch: true
32478
32541
  });
32479
32542
  var TokenTrustedIssuersV2ListOutputSchema = createPaginatedResponse(TokenTrustedIssuerSchema, {
32480
- hasTrustedIssuersRegistry: z466.boolean().meta({
32543
+ hasTrustedIssuersRegistry: z468.boolean().meta({
32481
32544
  description: "Whether the token has an attached token-level Trusted Issuer Registry. " + "When false, only inherited system/global issuers resolve and no token-specific issuer can be added or removed."
32482
32545
  })
32483
32546
  });
32484
32547
 
32485
32548
  // ../../packages/dalp/api-contract/src/routes/v2/token/trusted-issuers/trusted-issuers.v2.mutations.schema.ts
32486
- import { z as z467 } from "zod";
32549
+ import { z as z469 } from "zod";
32487
32550
  var MAX_UINT2566 = 2n ** 256n - 1n;
32488
32551
  var MAX_CLAIM_TOPIC_IDS = 50;
32489
32552
  var CLAIM_TOPIC_ID_FORMAT_MESSAGE = "Each claim topic id must be a non-negative decimal integer.";
32490
32553
  var CLAIM_TOPIC_ID_RANGE_MESSAGE = "Each claim topic id must fit within uint256.";
32491
- var ClaimTopicIdSchema = z467.string().min(1, "Claim topic id is required").superRefine((value3, ctx) => {
32554
+ var ClaimTopicIdSchema = z469.string().min(1, "Claim topic id is required").superRefine((value3, ctx) => {
32492
32555
  if (!/^\d+$/.test(value3)) {
32493
32556
  ctx.addIssue({ code: "custom", message: CLAIM_TOPIC_ID_FORMAT_MESSAGE });
32494
32557
  return;
@@ -32502,7 +32565,7 @@ var TokenTrustedIssuerCreateInputSchema = MutationInputSchema.extend({
32502
32565
  description: "Identity address of the trusted issuer to add to the token-level registry.",
32503
32566
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32504
32567
  }),
32505
- claimTopicIds: z467.array(ClaimTopicIdSchema).min(1, "At least one claim topic id is required").max(MAX_CLAIM_TOPIC_IDS, `A trusted issuer may be granted at most ${MAX_CLAIM_TOPIC_IDS} claim topics`).meta({
32568
+ claimTopicIds: z469.array(ClaimTopicIdSchema).min(1, "At least one claim topic id is required").max(MAX_CLAIM_TOPIC_IDS, `A trusted issuer may be granted at most ${MAX_CLAIM_TOPIC_IDS} claim topics`).meta({
32506
32569
  description: "Decimal-string topic ids the issuer is trusted for, passed as the on-chain uint256[] argument.",
32507
32570
  examples: [["1", "2", "100"]]
32508
32571
  })
@@ -32513,7 +32576,7 @@ var TokenTrustedIssuerCreateOutputSchema = BaseMutationOutputSchema.extend({
32513
32576
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32514
32577
  })
32515
32578
  });
32516
- var TokenTrustedIssuerDeleteParamsSchema = z467.object({
32579
+ var TokenTrustedIssuerDeleteParamsSchema = z469.object({
32517
32580
  issuerAddress: ethereumAddress.meta({
32518
32581
  description: "Identity address of the token-level trusted issuer to remove.",
32519
32582
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -32550,7 +32613,7 @@ var del13 = v2Contract.route({
32550
32613
  description: "Remove a token-specific trusted issuer from the token-level Trusted Issuer Registry by issuer address.",
32551
32614
  successDescription: "Token trusted issuer removed successfully.",
32552
32615
  tags: [V2_TAG.trustedIssuers]
32553
- }).meta({ contractErrors: [...TOKEN_TRUSTED_ISSUER_DELETE_ERRORS] }).input(v2Input.paramsBody(z468.object({ ...TokenReadInputSchema.shape, ...TokenTrustedIssuerDeleteParamsSchema.shape }), TokenTrustedIssuerDeleteInputSchema)).output(createAsyncBlockchainMutationResponse(TokenTrustedIssuerDeleteOutputSchema));
32616
+ }).meta({ contractErrors: [...TOKEN_TRUSTED_ISSUER_DELETE_ERRORS] }).input(v2Input.paramsBody(z470.object({ ...TokenReadInputSchema.shape, ...TokenTrustedIssuerDeleteParamsSchema.shape }), TokenTrustedIssuerDeleteInputSchema)).output(createAsyncBlockchainMutationResponse(TokenTrustedIssuerDeleteOutputSchema));
32554
32617
  var tokenV2TrustedIssuersContract = {
32555
32618
  list: list41,
32556
32619
  create: create20,
@@ -32558,7 +32621,7 @@ var tokenV2TrustedIssuersContract = {
32558
32621
  };
32559
32622
 
32560
32623
  // ../../packages/dalp/api-contract/src/routes/v2/token/features/features.v2.attach.schema.ts
32561
- import { z as z469 } from "zod";
32624
+ import { z as z471 } from "zod";
32562
32625
 
32563
32626
  // ../../packages/dalp/api-contract/src/routes/token/routes/mutations/features/token.aum-fee-create.schema.ts
32564
32627
  var TokenFeatureAumFeeCreateBaseSchema = TokenMutationInputSchema.extend({
@@ -32603,53 +32666,53 @@ var TokenFeatureTransactionFeeCreateBodySchema = TokenFeatureTransactionFeeCreat
32603
32666
  });
32604
32667
 
32605
32668
  // ../../packages/dalp/api-contract/src/routes/v2/token/features/features.v2.attach.schema.ts
32606
- var TokenFeatureAttachBodySchema = z469.union([
32607
- z469.object({ name: z469.literal("fixed-treasury-yield") }).and(TokenFeatureFixedTreasuryYieldCreateBodySchema),
32608
- z469.object({ name: z469.literal("maturity-redemption") }).and(TokenFeatureMaturityRedemptionCreateBodySchema),
32609
- z469.object({ name: z469.literal("permit") }).and(TokenFeaturePermitCreateBodySchema),
32610
- z469.object({ name: z469.literal("transaction-fee") }).and(TokenFeatureTransactionFeeCreateBodySchema),
32611
- z469.object({ name: z469.literal("external-transaction-fee") }).and(TokenFeatureExternalTransactionFeeCreateBodySchema),
32612
- z469.object({ name: z469.literal("conversion-minter") }).and(TokenFeatureConversionMinterCreateBodySchema),
32613
- z469.object({ name: z469.literal("aum-fee") }).and(TokenFeatureAumFeeCreateBodySchema),
32614
- z469.object({ name: z469.literal("voting-power") }).and(TokenFeatureVotingPowerCreateBodySchema),
32615
- z469.object({ name: z469.literal("transaction-fee-accounting") }).and(TokenFeatureTransactionFeeAccountingCreateBodySchema)
32669
+ var TokenFeatureAttachBodySchema = z471.union([
32670
+ z471.object({ name: z471.literal("fixed-treasury-yield") }).and(TokenFeatureFixedTreasuryYieldCreateBodySchema),
32671
+ z471.object({ name: z471.literal("maturity-redemption") }).and(TokenFeatureMaturityRedemptionCreateBodySchema),
32672
+ z471.object({ name: z471.literal("permit") }).and(TokenFeaturePermitCreateBodySchema),
32673
+ z471.object({ name: z471.literal("transaction-fee") }).and(TokenFeatureTransactionFeeCreateBodySchema),
32674
+ z471.object({ name: z471.literal("external-transaction-fee") }).and(TokenFeatureExternalTransactionFeeCreateBodySchema),
32675
+ z471.object({ name: z471.literal("conversion-minter") }).and(TokenFeatureConversionMinterCreateBodySchema),
32676
+ z471.object({ name: z471.literal("aum-fee") }).and(TokenFeatureAumFeeCreateBodySchema),
32677
+ z471.object({ name: z471.literal("voting-power") }).and(TokenFeatureVotingPowerCreateBodySchema),
32678
+ z471.object({ name: z471.literal("transaction-fee-accounting") }).and(TokenFeatureTransactionFeeAccountingCreateBodySchema)
32616
32679
  ]);
32617
32680
 
32618
32681
  // ../../packages/dalp/api-contract/src/routes/v2/token/features/features.v2.detach.schema.ts
32619
- import { z as z470 } from "zod";
32682
+ import { z as z472 } from "zod";
32620
32683
  var baseDetachBody = TokenMutationInputSchema.omit({ tokenAddress: true });
32621
- var TokenFeatureDetachBodySchema = z470.union([
32622
- z470.object({ name: z470.literal("fixed-treasury-yield") }).and(baseDetachBody),
32623
- z470.object({ name: z470.literal("maturity-redemption") }).and(baseDetachBody),
32624
- z470.object({ name: z470.literal("permit") }).and(baseDetachBody),
32625
- z470.object({ name: z470.literal("transaction-fee") }).and(baseDetachBody),
32626
- z470.object({ name: z470.literal("external-transaction-fee") }).and(baseDetachBody),
32627
- z470.object({ name: z470.literal("conversion-minter") }).and(baseDetachBody),
32628
- z470.object({ name: z470.literal("aum-fee") }).and(baseDetachBody),
32629
- z470.object({ name: z470.literal("voting-power") }).and(baseDetachBody),
32630
- z470.object({ name: z470.literal("transaction-fee-accounting") }).and(baseDetachBody)
32684
+ var TokenFeatureDetachBodySchema = z472.union([
32685
+ z472.object({ name: z472.literal("fixed-treasury-yield") }).and(baseDetachBody),
32686
+ z472.object({ name: z472.literal("maturity-redemption") }).and(baseDetachBody),
32687
+ z472.object({ name: z472.literal("permit") }).and(baseDetachBody),
32688
+ z472.object({ name: z472.literal("transaction-fee") }).and(baseDetachBody),
32689
+ z472.object({ name: z472.literal("external-transaction-fee") }).and(baseDetachBody),
32690
+ z472.object({ name: z472.literal("conversion-minter") }).and(baseDetachBody),
32691
+ z472.object({ name: z472.literal("aum-fee") }).and(baseDetachBody),
32692
+ z472.object({ name: z472.literal("voting-power") }).and(baseDetachBody),
32693
+ z472.object({ name: z472.literal("transaction-fee-accounting") }).and(baseDetachBody)
32631
32694
  ]);
32632
32695
 
32633
32696
  // ../../packages/dalp/api-contract/src/routes/token/routes/token.features.schema.ts
32634
- import { z as z472 } from "zod";
32697
+ import { z as z474 } from "zod";
32635
32698
 
32636
32699
  // ../../packages/core/validation/src/feature-types.ts
32637
- import { z as z471 } from "zod";
32700
+ import { z as z473 } from "zod";
32638
32701
  var featureTypes = tokenFeatureIds;
32639
- var FeatureTypeSchema = z471.enum(featureTypes);
32702
+ var FeatureTypeSchema = z473.enum(featureTypes);
32640
32703
 
32641
32704
  // ../../packages/dalp/api-contract/src/routes/token/routes/token.features.schema.ts
32642
32705
  var feeRate = (description) => feeRateBps().meta({
32643
32706
  description: `${description} (1 bps = 0.01%, max 10 000 = 100%)`,
32644
32707
  examples: [200]
32645
32708
  });
32646
- var TokenFeatureAUMFeeSchema = z472.object({
32709
+ var TokenFeatureAUMFeeSchema = z474.object({
32647
32710
  feeBps: feeRate("Annual AUM fee rate"),
32648
32711
  feeRecipient: nonZeroEthereumAddress.meta({
32649
32712
  description: "Address receiving the collected AUM fee",
32650
32713
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32651
32714
  }),
32652
- isFrozen: z472.boolean().meta({
32715
+ isFrozen: z474.boolean().meta({
32653
32716
  description: "Whether fee collection is frozen",
32654
32717
  examples: [false]
32655
32718
  }),
@@ -32662,7 +32725,7 @@ var TokenFeatureAUMFeeSchema = z472.object({
32662
32725
  examples: ["1000.50"]
32663
32726
  })
32664
32727
  }).nullable();
32665
- var TokenFeatureMaturityRedemptionSchema = z472.object({
32728
+ var TokenFeatureMaturityRedemptionSchema = z474.object({
32666
32729
  maturityDate: timestamp().meta({
32667
32730
  description: "Bond maturity date",
32668
32731
  examples: ["2025-01-01T00:00:00Z"]
@@ -32679,7 +32742,7 @@ var TokenFeatureMaturityRedemptionSchema = z472.object({
32679
32742
  description: "Treasury holding denomination assets for redemption",
32680
32743
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32681
32744
  }),
32682
- isMatured: z472.boolean().meta({
32745
+ isMatured: z474.boolean().meta({
32683
32746
  description: "Whether the bond has reached maturity",
32684
32747
  examples: [false]
32685
32748
  }),
@@ -32692,7 +32755,7 @@ var TokenFeatureMaturityRedemptionSchema = z472.object({
32692
32755
  examples: ["500.00"]
32693
32756
  })
32694
32757
  }).nullable();
32695
- var TokenFeatureTransactionFeeSchema = z472.object({
32758
+ var TokenFeatureTransactionFeeSchema = z474.object({
32696
32759
  mintFeeBps: feeRate("Mint fee rate"),
32697
32760
  burnFeeBps: feeRate("Burn fee rate"),
32698
32761
  transferFeeBps: feeRate("Transfer fee rate"),
@@ -32700,7 +32763,7 @@ var TokenFeatureTransactionFeeSchema = z472.object({
32700
32763
  description: "Address receiving collected transaction fees",
32701
32764
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32702
32765
  }),
32703
- isFrozen: z472.boolean().meta({
32766
+ isFrozen: z474.boolean().meta({
32704
32767
  description: "Whether fee collection is frozen",
32705
32768
  examples: [false]
32706
32769
  }),
@@ -32709,7 +32772,7 @@ var TokenFeatureTransactionFeeSchema = z472.object({
32709
32772
  examples: ["250.75"]
32710
32773
  })
32711
32774
  }).nullable();
32712
- var TokenFeatureHistoricalBalancesSchema = z472.object({
32775
+ var TokenFeatureHistoricalBalancesSchema = z474.object({
32713
32776
  enabledAt: timestamp().meta({
32714
32777
  description: "When historical balance tracking was enabled",
32715
32778
  examples: ["2024-11-14T22:13:20Z"]
@@ -32719,7 +32782,7 @@ var TokenFeatureHistoricalBalancesSchema = z472.object({
32719
32782
  examples: ["1000000.00"]
32720
32783
  })
32721
32784
  }).nullable();
32722
- var TokenFeatureFixedTreasuryYieldSchema = z472.object({
32785
+ var TokenFeatureFixedTreasuryYieldSchema = z474.object({
32723
32786
  startDate: timestamp().meta({
32724
32787
  description: "Yield schedule start",
32725
32788
  examples: ["2024-11-14T22:13:20Z"]
@@ -32728,11 +32791,11 @@ var TokenFeatureFixedTreasuryYieldSchema = z472.object({
32728
32791
  description: "Yield schedule end",
32729
32792
  examples: ["2025-01-01T00:00:00Z"]
32730
32793
  }),
32731
- rate: z472.number().meta({
32794
+ rate: z474.number().meta({
32732
32795
  description: "Annual yield rate (percentage, e.g. 5.5 = 5.5%)",
32733
32796
  examples: [5.5]
32734
32797
  }),
32735
- interval: z472.coerce.string().meta({
32798
+ interval: z474.coerce.string().meta({
32736
32799
  description: "Payout interval in seconds (string-encoded interval)",
32737
32800
  examples: ["2592000"]
32738
32801
  }),
@@ -32764,13 +32827,13 @@ var TokenFeatureFixedTreasuryYieldSchema = z472.object({
32764
32827
  description: "Period scheduled to start after the current one; null on the final period",
32765
32828
  examples: [null]
32766
32829
  }),
32767
- periods: z472.array(fixedYieldSchedulePeriod()).meta({
32830
+ periods: z474.array(fixedYieldSchedulePeriod()).meta({
32768
32831
  description: "All scheduled periods. Per-period totalYield/totalUnclaimed populate as each period closes; configured rows exist from creation",
32769
32832
  examples: [[]]
32770
32833
  })
32771
32834
  }).nullable();
32772
- var TokenFeatureVotingPowerSchema = z472.object({}).nullable();
32773
- var TokenFeatureExternalTransactionFeeSchema = z472.object({
32835
+ var TokenFeatureVotingPowerSchema = z474.object({}).nullable();
32836
+ var TokenFeatureExternalTransactionFeeSchema = z474.object({
32774
32837
  feeToken: ethereumAddress.meta({
32775
32838
  description: "ERC-20 token used to pay fees",
32776
32839
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -32791,7 +32854,7 @@ var TokenFeatureExternalTransactionFeeSchema = z472.object({
32791
32854
  description: "Address receiving collected external fees",
32792
32855
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32793
32856
  }),
32794
- isFrozen: z472.boolean().meta({
32857
+ isFrozen: z474.boolean().meta({
32795
32858
  description: "Whether fee collection is frozen",
32796
32859
  examples: [false]
32797
32860
  }),
@@ -32800,7 +32863,7 @@ var TokenFeatureExternalTransactionFeeSchema = z472.object({
32800
32863
  examples: ["100.00"]
32801
32864
  })
32802
32865
  }).nullable();
32803
- var TokenFeatureTransactionFeeAccountingSchema = z472.object({
32866
+ var TokenFeatureTransactionFeeAccountingSchema = z474.object({
32804
32867
  mintFeeBps: feeRate("Mint fee rate (accounting mode)"),
32805
32868
  burnFeeBps: feeRate("Burn fee rate (accounting mode)"),
32806
32869
  transferFeeBps: feeRate("Transfer fee rate (accounting mode)"),
@@ -32808,7 +32871,7 @@ var TokenFeatureTransactionFeeAccountingSchema = z472.object({
32808
32871
  description: "Address receiving accrued fees upon reconciliation",
32809
32872
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32810
32873
  }),
32811
- isFrozen: z472.boolean().meta({
32874
+ isFrozen: z474.boolean().meta({
32812
32875
  description: "Whether fee accrual is frozen",
32813
32876
  examples: [false]
32814
32877
  }),
@@ -32821,7 +32884,7 @@ var TokenFeatureTransactionFeeAccountingSchema = z472.object({
32821
32884
  examples: ["100.00"]
32822
32885
  })
32823
32886
  }).nullable();
32824
- var TokenFeatureConversionSchema = z472.object({
32887
+ var TokenFeatureConversionSchema = z474.object({
32825
32888
  targetToken: ethereumAddress.meta({
32826
32889
  description: "Token that holders can convert to",
32827
32890
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -32838,17 +32901,17 @@ var TokenFeatureConversionSchema = z472.object({
32838
32901
  description: "Conversion discount rate (1 bps = 0.01%, max 9999 = 99.99%) — strictly less than 100% per on-chain invariant",
32839
32902
  examples: [200, 2000]
32840
32903
  }),
32841
- partialAllowed: z472.boolean().meta({
32904
+ partialAllowed: z474.boolean().meta({
32842
32905
  description: "Whether partial conversions are allowed",
32843
32906
  examples: [true]
32844
32907
  })
32845
32908
  }).nullable();
32846
- var TokenFeatureConversionMinterSchema = z472.object({
32847
- authorizedConverters: z472.array(ethereumAddress).meta({
32909
+ var TokenFeatureConversionMinterSchema = z474.object({
32910
+ authorizedConverters: z474.array(ethereumAddress).meta({
32848
32911
  description: "Addresses authorized to perform conversions",
32849
32912
  examples: [["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]]
32850
32913
  }),
32851
- totalIssuances: z472.number().int().meta({
32914
+ totalIssuances: z474.number().int().meta({
32852
32915
  description: "Total number of conversion issuances performed",
32853
32916
  examples: [42]
32854
32917
  }),
@@ -32857,17 +32920,17 @@ var TokenFeatureConversionMinterSchema = z472.object({
32857
32920
  examples: ["50000.00"]
32858
32921
  })
32859
32922
  }).nullable();
32860
- var TokenFeaturePermitSchema = z472.object({
32861
- typeId: z472.literal("permit").meta({
32923
+ var TokenFeaturePermitSchema = z474.object({
32924
+ typeId: z474.literal("permit").meta({
32862
32925
  description: "Permit feature type identifier",
32863
32926
  examples: ["permit"]
32864
32927
  }),
32865
- featureFactory: z472.object({
32866
- typeId: z472.string().meta({
32928
+ featureFactory: z474.object({
32929
+ typeId: z474.string().meta({
32867
32930
  description: "Permit feature factory type identifier",
32868
32931
  examples: ["permit-feature-factory"]
32869
32932
  }),
32870
- name: z472.string().meta({
32933
+ name: z474.string().meta({
32871
32934
  description: "Human-readable name of the permit feature factory",
32872
32935
  examples: ["Permit Feature Factory"]
32873
32936
  })
@@ -32877,7 +32940,7 @@ var TokenFeaturePermitSchema = z472.object({
32877
32940
  examples: ["2024-11-14T22:13:20Z"]
32878
32941
  })
32879
32942
  }).nullable();
32880
- var TokenFeatureSchema = z472.object({
32943
+ var TokenFeatureSchema = z474.object({
32881
32944
  featureAddress: ethereumAddress.meta({
32882
32945
  description: "Feature contract address",
32883
32946
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -32886,17 +32949,17 @@ var TokenFeatureSchema = z472.object({
32886
32949
  description: "Feature type identifier",
32887
32950
  examples: ["aum-fee", "maturity-redemption", "transaction-fee"]
32888
32951
  }),
32889
- featureFactory: z472.object({
32890
- typeId: z472.string().meta({
32952
+ featureFactory: z474.object({
32953
+ typeId: z474.string().meta({
32891
32954
  description: "Feature factory type identifier",
32892
32955
  examples: ["aum-fee", "maturity-redemption"]
32893
32956
  }),
32894
- name: z472.string().meta({
32957
+ name: z474.string().meta({
32895
32958
  description: "Human-readable name of the feature factory",
32896
32959
  examples: ["AUM Fee Feature Factory"]
32897
32960
  })
32898
32961
  }),
32899
- isAttached: z472.boolean().meta({
32962
+ isAttached: z474.boolean().meta({
32900
32963
  description: "Whether the feature is currently attached to the token",
32901
32964
  examples: [true]
32902
32965
  }),
@@ -32953,13 +33016,13 @@ var TokenFeatureSchema = z472.object({
32953
33016
  examples: [null]
32954
33017
  })
32955
33018
  });
32956
- var TokenFeaturesResponseSchema = z472.object({
32957
- configurable: z472.object({
32958
- features: z472.array(TokenFeatureSchema).meta({
33019
+ var TokenFeaturesResponseSchema = z474.object({
33020
+ configurable: z474.object({
33021
+ features: z474.array(TokenFeatureSchema).meta({
32959
33022
  description: "Feature configurations for the token",
32960
33023
  examples: [[]]
32961
33024
  }),
32962
- featuresCount: z472.number().int().meta({
33025
+ featuresCount: z474.number().int().meta({
32963
33026
  description: "Total number of features attached to the token",
32964
33027
  examples: [3]
32965
33028
  })
@@ -32970,7 +33033,7 @@ var TokenFeaturesResponseSchema = z472.object({
32970
33033
  });
32971
33034
 
32972
33035
  // ../../packages/dalp/api-contract/src/routes/v2/token/features/features.v2.list.schema.ts
32973
- import { z as z473 } from "zod";
33036
+ import { z as z475 } from "zod";
32974
33037
  var TOKEN_FEATURES_COLLECTION_FIELDS = {
32975
33038
  name: enumField([...tokenFeatureIds], { sortable: true, filterable: true })
32976
33039
  };
@@ -32978,7 +33041,7 @@ var TokenFeaturesV2ListInputSchema = createCollectionInputSchema(TOKEN_FEATURES_
32978
33041
  defaultSort: "name"
32979
33042
  });
32980
33043
  var ATTACHED_TOKEN_FEATURE_BASE_FIELDS = {
32981
- featureAddress: z473.string().meta({
33044
+ featureAddress: z475.string().meta({
32982
33045
  description: "On-chain address of the deployed feature contract instance.",
32983
33046
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
32984
33047
  }),
@@ -32986,59 +33049,59 @@ var ATTACHED_TOKEN_FEATURE_BASE_FIELDS = {
32986
33049
  description: "Timestamp when the feature was attached, or null if not yet indexed."
32987
33050
  })
32988
33051
  };
32989
- var AttachedTokenFeatureSchema = z473.discriminatedUnion("name", [
32990
- z473.object({
32991
- name: z473.literal("historical-balances"),
33052
+ var AttachedTokenFeatureSchema = z475.discriminatedUnion("name", [
33053
+ z475.object({
33054
+ name: z475.literal("historical-balances"),
32992
33055
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
32993
33056
  config: TokenFeatureHistoricalBalancesSchema
32994
33057
  }),
32995
- z473.object({
32996
- name: z473.literal("maturity-redemption"),
33058
+ z475.object({
33059
+ name: z475.literal("maturity-redemption"),
32997
33060
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
32998
33061
  config: TokenFeatureMaturityRedemptionSchema
32999
33062
  }),
33000
- z473.object({
33001
- name: z473.literal("fixed-treasury-yield"),
33063
+ z475.object({
33064
+ name: z475.literal("fixed-treasury-yield"),
33002
33065
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33003
33066
  config: TokenFeatureFixedTreasuryYieldSchema
33004
33067
  }),
33005
- z473.object({
33006
- name: z473.literal("voting-power"),
33068
+ z475.object({
33069
+ name: z475.literal("voting-power"),
33007
33070
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33008
33071
  config: TokenFeatureVotingPowerSchema
33009
33072
  }),
33010
- z473.object({
33011
- name: z473.literal("aum-fee"),
33073
+ z475.object({
33074
+ name: z475.literal("aum-fee"),
33012
33075
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33013
33076
  config: TokenFeatureAUMFeeSchema
33014
33077
  }),
33015
- z473.object({
33016
- name: z473.literal("transaction-fee"),
33078
+ z475.object({
33079
+ name: z475.literal("transaction-fee"),
33017
33080
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33018
33081
  config: TokenFeatureTransactionFeeSchema
33019
33082
  }),
33020
- z473.object({
33021
- name: z473.literal("transaction-fee-accounting"),
33083
+ z475.object({
33084
+ name: z475.literal("transaction-fee-accounting"),
33022
33085
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33023
33086
  config: TokenFeatureTransactionFeeAccountingSchema
33024
33087
  }),
33025
- z473.object({
33026
- name: z473.literal("external-transaction-fee"),
33088
+ z475.object({
33089
+ name: z475.literal("external-transaction-fee"),
33027
33090
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33028
33091
  config: TokenFeatureExternalTransactionFeeSchema
33029
33092
  }),
33030
- z473.object({
33031
- name: z473.literal("conversion"),
33093
+ z475.object({
33094
+ name: z475.literal("conversion"),
33032
33095
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33033
33096
  config: TokenFeatureConversionSchema
33034
33097
  }),
33035
- z473.object({
33036
- name: z473.literal("conversion-minter"),
33098
+ z475.object({
33099
+ name: z475.literal("conversion-minter"),
33037
33100
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33038
33101
  config: TokenFeatureConversionMinterSchema
33039
33102
  }),
33040
- z473.object({
33041
- name: z473.literal("permit"),
33103
+ z475.object({
33104
+ name: z475.literal("permit"),
33042
33105
  ...ATTACHED_TOKEN_FEATURE_BASE_FIELDS,
33043
33106
  config: TokenFeaturePermitSchema
33044
33107
  })
@@ -33112,7 +33175,7 @@ var tokenV2Contract = {
33112
33175
  };
33113
33176
 
33114
33177
  // ../../packages/core/validation/src/transaction-request-state.ts
33115
- import { z as z474 } from "zod";
33178
+ import { z as z476 } from "zod";
33116
33179
  var transactionRequestStates = [
33117
33180
  "RECEIVED",
33118
33181
  "QUEUED",
@@ -33127,7 +33190,7 @@ var transactionRequestStates = [
33127
33190
  "CANCELLED"
33128
33191
  ];
33129
33192
  var TERMINAL_STATES = ["COMPLETED", "FAILED", "DEAD_LETTER", "CANCELLED"];
33130
- var TransactionRequestStateSchema = z474.enum(transactionRequestStates).meta({
33193
+ var TransactionRequestStateSchema = z476.enum(transactionRequestStates).meta({
33131
33194
  description: "Current state in the transaction request lifecycle",
33132
33195
  examples: ["RECEIVED", "QUEUED", "BROADCASTING", "COMPLETED", "FAILED"]
33133
33196
  });
@@ -33169,96 +33232,96 @@ var transactionSubStatuses = [
33169
33232
  "WORKFLOW_BATCH_COMPLETED",
33170
33233
  "WORKFLOW_BATCH_FAILED"
33171
33234
  ];
33172
- var TransactionSubStatusSchema = z474.enum(transactionSubStatuses).meta({
33235
+ var TransactionSubStatusSchema = z476.enum(transactionSubStatuses).meta({
33173
33236
  description: "Detailed sub-status for transaction failures",
33174
33237
  examples: ["REVERTED", "NONCE_CONFLICT", "INSUFFICIENT_BALANCE"]
33175
33238
  });
33176
33239
 
33177
33240
  // ../../packages/dalp/api-contract/src/routes/v2/transaction/transaction.v2.admin.schema.ts
33178
- import { z as z475 } from "zod";
33179
- var TransactionForceRetryInputSchema = z475.object({
33180
- transactionId: z475.uuid().meta({
33241
+ import { z as z477 } from "zod";
33242
+ var TransactionForceRetryInputSchema = z477.object({
33243
+ transactionId: z477.uuid().meta({
33181
33244
  description: "Queue transaction identifier (UUIDv7) to retry",
33182
33245
  examples: ["01934567-89ab-7def-8123-456789abcdef"]
33183
33246
  })
33184
33247
  });
33185
- var TransactionForceRetryBodySchema = z475.object({
33186
- gasPrice: z475.string().optional().meta({
33248
+ var TransactionForceRetryBodySchema = z477.object({
33249
+ gasPrice: z477.string().optional().meta({
33187
33250
  description: "Override gas price in wei (decimal string)",
33188
33251
  examples: ["20000000000"]
33189
33252
  }),
33190
- nonce: z475.number().int().nonnegative().optional().meta({
33253
+ nonce: z477.number().int().nonnegative().optional().meta({
33191
33254
  description: "Override nonce for the retried transaction",
33192
33255
  examples: [42]
33193
33256
  })
33194
33257
  }).default({});
33195
- var TransactionForceRetryResultSchema = z475.object({
33196
- transactionId: z475.uuid().meta({ description: "The requeued transaction ID" }),
33258
+ var TransactionForceRetryResultSchema = z477.object({
33259
+ transactionId: z477.uuid().meta({ description: "The requeued transaction ID" }),
33197
33260
  previousStatus: transactionRequestState().meta({ description: "State before force retry" }),
33198
33261
  status: transactionRequestState().meta({ description: "New state after force retry (QUEUED)" })
33199
33262
  });
33200
33263
  var TransactionV2ForceRetryOutputSchema = createSingleResponse(TransactionForceRetryResultSchema);
33201
- var TransactionForceFailInputSchema = z475.object({
33202
- transactionId: z475.uuid().meta({
33264
+ var TransactionForceFailInputSchema = z477.object({
33265
+ transactionId: z477.uuid().meta({
33203
33266
  description: "Queue transaction identifier (UUIDv7) to force-fail",
33204
33267
  examples: ["01934567-89ab-7def-8123-456789abcdef"]
33205
33268
  })
33206
33269
  });
33207
- var TransactionForceFailBodySchema = z475.object({
33208
- reason: z475.string().min(1).max(1000).meta({
33270
+ var TransactionForceFailBodySchema = z477.object({
33271
+ reason: z477.string().min(1).max(1000).meta({
33209
33272
  description: "Human-readable reason for forcing this transaction to failed state",
33210
33273
  examples: ["Manual intervention: stuck transaction after nonce conflict"]
33211
33274
  })
33212
33275
  });
33213
- var TransactionForceFailResultSchema = z475.object({
33214
- transactionId: z475.uuid().meta({ description: "The force-failed transaction ID" }),
33276
+ var TransactionForceFailResultSchema = z477.object({
33277
+ transactionId: z477.uuid().meta({ description: "The force-failed transaction ID" }),
33215
33278
  previousStatus: transactionRequestState().meta({ description: "State before force fail" }),
33216
33279
  status: transactionRequestState().meta({ description: "New state (FAILED)" }),
33217
- reason: z475.string().meta({ description: "The reason provided for the force-fail" })
33280
+ reason: z477.string().meta({ description: "The reason provided for the force-fail" })
33218
33281
  });
33219
33282
  var TransactionV2ForceFailOutputSchema = createSingleResponse(TransactionForceFailResultSchema);
33220
- var TransactionForceNonceInputSchema = z475.object({
33221
- transactionId: z475.uuid().meta({
33283
+ var TransactionForceNonceInputSchema = z477.object({
33284
+ transactionId: z477.uuid().meta({
33222
33285
  description: "Queue transaction identifier — the nonce is forced on its sender wallet",
33223
33286
  examples: ["01934567-89ab-7def-8123-456789abcdef"]
33224
33287
  })
33225
33288
  });
33226
- var TransactionForceNonceBodySchema = z475.object({
33227
- nonce: z475.number().int().nonnegative().meta({
33289
+ var TransactionForceNonceBodySchema = z477.object({
33290
+ nonce: z477.number().int().nonnegative().meta({
33228
33291
  description: "Nonce value to force-set on the sender's nonce tracker",
33229
33292
  examples: [42]
33230
33293
  })
33231
33294
  });
33232
- var TransactionForceNonceResultSchema = z475.object({
33233
- previous: z475.number().nullable().meta({ description: "Previous nonce value (null if uninitialized)" }),
33234
- new: z475.number().meta({ description: "New nonce value after force-set" })
33295
+ var TransactionForceNonceResultSchema = z477.object({
33296
+ previous: z477.number().nullable().meta({ description: "Previous nonce value (null if uninitialized)" }),
33297
+ new: z477.number().meta({ description: "New nonce value after force-set" })
33235
33298
  });
33236
33299
  var TransactionV2ForceNonceOutputSchema = createSingleResponse(TransactionForceNonceResultSchema);
33237
33300
 
33238
33301
  // ../../packages/dalp/api-contract/src/routes/v2/transaction/transaction.v2.cancel.schema.ts
33239
- import { z as z476 } from "zod";
33240
- var TransactionV2CancelInputSchema = z476.object({
33241
- transactionId: z476.uuid().meta({
33302
+ import { z as z478 } from "zod";
33303
+ var TransactionV2CancelInputSchema = z478.object({
33304
+ transactionId: z478.uuid().meta({
33242
33305
  description: "Queue transaction identifier (UUIDv7) to cancel",
33243
33306
  examples: ["01934567-89ab-7def-8123-456789abcdef"]
33244
33307
  })
33245
33308
  });
33246
- var TransactionCancelResultSchema = z476.object({
33247
- status: z476.enum(["cancelled", "cancellation_pending", "error"]).meta({
33309
+ var TransactionCancelResultSchema = z478.object({
33310
+ status: z478.enum(["cancelled", "cancellation_pending", "error"]).meta({
33248
33311
  description: "Cancel result: 'cancelled' for immediate cancel, " + "'cancellation_pending' for post-broadcast RBF cancel, 'error' if cancel failed",
33249
33312
  examples: ["cancelled", "cancellation_pending"]
33250
33313
  }),
33251
- cancelTransactionId: z476.string().optional().meta({
33314
+ cancelTransactionId: z478.string().optional().meta({
33252
33315
  description: "RBF replacement transaction ID when cancellation is pending on-chain"
33253
33316
  }),
33254
- message: z476.string().optional().meta({
33317
+ message: z478.string().optional().meta({
33255
33318
  description: "Human-readable error or status message"
33256
33319
  })
33257
33320
  });
33258
33321
  var TransactionV2CancelOutputSchema = createSingleResponse(TransactionCancelResultSchema);
33259
33322
 
33260
33323
  // ../../packages/dalp/api-contract/src/routes/v2/transaction/transaction.v2.list.schema.ts
33261
- import { z as z477 } from "zod";
33324
+ import { z as z479 } from "zod";
33262
33325
  var TRANSACTION_COLLECTION_FIELDS = {
33263
33326
  status: enumField([...transactionRequestStates]),
33264
33327
  operationType: textField(),
@@ -33271,12 +33334,12 @@ var TransactionV2ListInputSchema = createCollectionInputSchema(TRANSACTION_COLLE
33271
33334
  defaultSort: "createdAt",
33272
33335
  globalSearch: true
33273
33336
  });
33274
- var TransactionListItemSchema = z477.object({
33275
- transactionId: z477.uuid().meta({
33337
+ var TransactionListItemSchema = z479.object({
33338
+ transactionId: z479.uuid().meta({
33276
33339
  description: "Queue transaction identifier (UUIDv7)",
33277
33340
  examples: ["01934567-89ab-7def-8123-456789abcdef"]
33278
33341
  }),
33279
- kind: z477.string().meta({
33342
+ kind: z479.string().meta({
33280
33343
  description: "Mutation kind submitted to the queue",
33281
33344
  examples: ["token.create", "token.mint"]
33282
33345
  }),
@@ -33284,19 +33347,19 @@ var TransactionListItemSchema = z477.object({
33284
33347
  description: "Current transaction queue state",
33285
33348
  examples: ["QUEUED", "COMPLETED", "FAILED"]
33286
33349
  }),
33287
- subStatus: z477.string().nullable().meta({
33350
+ subStatus: z479.string().nullable().meta({
33288
33351
  description: "Optional queue sub-status with finer-grained detail",
33289
33352
  examples: ["TIMEOUT", null]
33290
33353
  }),
33291
- fromAddress: z477.string().meta({
33354
+ fromAddress: z479.string().meta({
33292
33355
  description: "Sender wallet address",
33293
33356
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
33294
33357
  }),
33295
- chainId: z477.number().int().meta({
33358
+ chainId: z479.number().int().meta({
33296
33359
  description: "Target chain ID",
33297
33360
  examples: [1]
33298
33361
  }),
33299
- transactionHash: z477.string().nullable().meta({
33362
+ transactionHash: z479.string().nullable().meta({
33300
33363
  description: "Primary transaction hash once broadcast",
33301
33364
  examples: ["0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", null]
33302
33365
  }),
@@ -33316,19 +33379,19 @@ var TransactionV2ReadInputSchema = TransactionReadInputSchema;
33316
33379
  var TransactionV2ReadOutputSchema = createSingleResponse(TransactionReadOutputSchema);
33317
33380
 
33318
33381
  // ../../packages/dalp/api-contract/src/routes/transaction/routes/transaction.status.schema.ts
33319
- import { z as z478 } from "zod";
33320
- var TransactionStatusInputSchema = z478.object({
33321
- transactionId: z478.uuid().meta({
33382
+ import { z as z480 } from "zod";
33383
+ var TransactionStatusInputSchema = z480.object({
33384
+ transactionId: z480.uuid().meta({
33322
33385
  description: "Queue transaction identifier (UUIDv7)",
33323
33386
  examples: ["01934567-89ab-7def-8123-456789abcdef"]
33324
33387
  })
33325
33388
  });
33326
- var TransactionStatusOutputSchema = z478.object({
33327
- transactionId: z478.uuid().meta({
33389
+ var TransactionStatusOutputSchema = z480.object({
33390
+ transactionId: z480.uuid().meta({
33328
33391
  description: "Queue transaction identifier (UUIDv7)",
33329
33392
  examples: ["01934567-89ab-7def-8123-456789abcdef"]
33330
33393
  }),
33331
- kind: z478.string().meta({
33394
+ kind: z480.string().meta({
33332
33395
  description: "Mutation kind submitted to the queue",
33333
33396
  examples: ["token.create", "token.mint"]
33334
33397
  }),
@@ -33336,23 +33399,23 @@ var TransactionStatusOutputSchema = z478.object({
33336
33399
  description: "Current transaction queue state",
33337
33400
  examples: ["QUEUED", "PREPARING", "CONFIRMING", "COMPLETED", "FAILED"]
33338
33401
  }),
33339
- subStatus: z478.string().nullable().meta({
33402
+ subStatus: z480.string().nullable().meta({
33340
33403
  description: "Optional queue sub-status with finer-grained progress or failure detail",
33341
33404
  examples: ["TIMEOUT", "WORKFLOW_GRANTING_PERMISSIONS", null]
33342
33405
  }),
33343
- transactionHash: z478.string().nullable().meta({
33406
+ transactionHash: z480.string().nullable().meta({
33344
33407
  description: "Primary transaction hash once broadcast",
33345
33408
  examples: ["0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", null]
33346
33409
  }),
33347
- transactionHashes: z478.array(z478.string()).optional().meta({
33410
+ transactionHashes: z480.array(z480.string()).optional().meta({
33348
33411
  description: "All transaction hashes for batch operations. Only present when the operation produced multiple transactions.",
33349
33412
  examples: [["0xabc...", "0xdef..."]]
33350
33413
  }),
33351
- blockNumber: z478.string().nullable().meta({
33414
+ blockNumber: z480.string().nullable().meta({
33352
33415
  description: "Confirmed block number when available",
33353
33416
  examples: ["12345678", null]
33354
33417
  }),
33355
- errorMessage: z478.string().nullable().meta({
33418
+ errorMessage: z480.string().nullable().meta({
33356
33419
  description: "Human-readable error or timeout detail when available",
33357
33420
  examples: ["Execution reverted", "Receipt not found after repeated checks", null]
33358
33421
  }),
@@ -33431,12 +33494,12 @@ var transactionV2Contract = {
33431
33494
  };
33432
33495
 
33433
33496
  // ../../packages/dalp/api-contract/src/routes/v2/user/user.v2.contract.ts
33434
- import { z as z484 } from "zod";
33497
+ import { z as z486 } from "zod";
33435
33498
 
33436
33499
  // ../../packages/dalp/api-contract/src/routes/user/routes/user.read-by-national-id.schema.ts
33437
- import { z as z479 } from "zod";
33438
- var UserReadByNationalIdInputSchema = z479.object({
33439
- nationalId: z479.string().min(1).max(50).trim().meta({ description: "The national ID to look up (exact match against approved KYC)", examples: ["AB123456"] })
33500
+ import { z as z481 } from "zod";
33501
+ var UserReadByNationalIdInputSchema = z481.object({
33502
+ nationalId: z481.string().min(1).max(50).trim().meta({ description: "The national ID to look up (exact match against approved KYC)", examples: ["AB123456"] })
33440
33503
  });
33441
33504
 
33442
33505
  // ../../packages/dalp/api-contract/src/routes/v2/user/user.v2.admin-list.schema.ts
@@ -33454,13 +33517,13 @@ var UserAdminListV2InputSchema = createCollectionInputSchema(USER_ADMIN_LIST_COL
33454
33517
  var UserAdminListV2OutputSchema = createPaginatedResponse(UserListItemSchema);
33455
33518
 
33456
33519
  // ../../packages/dalp/api-contract/src/routes/v2/user/user.v2.assets.schema.ts
33457
- import { z as z480 } from "zod";
33458
- var TokenAssetV2Schema = z480.object({
33520
+ import { z as z482 } from "zod";
33521
+ var TokenAssetV2Schema = z482.object({
33459
33522
  id: ethereumAddress.meta({
33460
33523
  description: "The token contract address",
33461
33524
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
33462
33525
  }),
33463
- name: z480.string().meta({
33526
+ name: z482.string().meta({
33464
33527
  description: "The token name",
33465
33528
  examples: ["Bond Token", "Equity Share"]
33466
33529
  }),
@@ -33480,19 +33543,19 @@ var TokenAssetV2Schema = z480.object({
33480
33543
  description: "The total supply of the token (raw on-chain uint256)",
33481
33544
  examples: ["1000000000000000000000", "101000000000000000000000000"]
33482
33545
  }),
33483
- bond: z480.object({
33484
- isMatured: z480.boolean().meta({
33546
+ bond: z482.object({
33547
+ isMatured: z482.boolean().meta({
33485
33548
  description: "Whether the bond is matured",
33486
33549
  examples: [true, false]
33487
33550
  })
33488
33551
  }).optional().nullable().meta({ description: "The bond details", examples: [] }),
33489
- yield: z480.object({
33490
- schedule: z480.object({
33552
+ yield: z482.object({
33553
+ schedule: z482.object({
33491
33554
  id: ethereumAddress.meta({
33492
33555
  description: "The yield schedule contract address",
33493
33556
  examples: ["0x8ba1f109551bD432803012645Ac136ddd64DBA72"]
33494
33557
  }),
33495
- denominationAsset: z480.object({
33558
+ denominationAsset: z482.object({
33496
33559
  id: ethereumAddress.meta({
33497
33560
  description: "The denomination asset contract address",
33498
33561
  examples: ["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"]
@@ -33512,7 +33575,7 @@ var TokenAssetV2Schema = z480.object({
33512
33575
  }).nullable().meta({ description: "The yield schedule details", examples: [] })
33513
33576
  }).nullable().meta({ description: "The yield details", examples: [] })
33514
33577
  });
33515
- var UserAssetWalletBalanceV2ItemSchema = z480.object({
33578
+ var UserAssetWalletBalanceV2ItemSchema = z482.object({
33516
33579
  wallet: ethereumAddress.meta({
33517
33580
  description: "Wallet address that owns this portion of the aggregate balance.",
33518
33581
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -33530,7 +33593,7 @@ var UserAssetWalletBalanceV2ItemSchema = z480.object({
33530
33593
  examples: ["1000000000000000000"]
33531
33594
  })
33532
33595
  });
33533
- var UserAssetBalanceV2ItemSchema = z480.object({
33596
+ var UserAssetBalanceV2ItemSchema = z482.object({
33534
33597
  id: ethereumAddress.meta({
33535
33598
  description: "The token contract address for this aggregated balance row.",
33536
33599
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -33555,7 +33618,7 @@ var UserAssetBalanceV2ItemSchema = z480.object({
33555
33618
  description: "Balance multiplied by the token's resolved price, expressed in the organization's base currency. Null when no FX/price path is available for the token.",
33556
33619
  examples: ["5.00", null]
33557
33620
  }),
33558
- priceInBaseCurrencyReliable: z480.boolean().meta({
33621
+ priceInBaseCurrencyReliable: z482.boolean().meta({
33559
33622
  description: "Whether the FX chain used to populate the token's resolved base-currency price was fully reliable (all hops via active feeds). False when no price is available or when any hop fell back to a stale/backfilled rate.",
33560
33623
  examples: [true, false]
33561
33624
  }),
@@ -33563,10 +33626,10 @@ var UserAssetBalanceV2ItemSchema = z480.object({
33563
33626
  description: "The token details",
33564
33627
  examples: []
33565
33628
  }),
33566
- byWallet: z480.array(UserAssetWalletBalanceV2ItemSchema).meta({
33629
+ byWallet: z482.array(UserAssetWalletBalanceV2ItemSchema).meta({
33567
33630
  description: "Per-wallet balance breakdown for this token. Aggregate row fields remain summed across the returned wallet set."
33568
33631
  }),
33569
- metadataValues: z480.record(z480.string(), z480.string()).optional().meta({
33632
+ metadataValues: z482.record(z482.string(), z482.string()).optional().meta({
33570
33633
  description: "Subset of token metadata values relevant to the current groupBy/filter request. Only populated for keys named by groupBy and any active filter[metadata.<key>]."
33571
33634
  })
33572
33635
  });
@@ -33582,9 +33645,9 @@ var BaseUserAssetsInputSchema = createCollectionInputSchema(USER_ASSETS_COLLECTI
33582
33645
  defaultSort: "-balance",
33583
33646
  globalSearch: true
33584
33647
  });
33585
- var UserAssetsV2ListInputSchema = z480.preprocess(liftMetadataWireFilters, z480.intersection(BaseUserAssetsInputSchema, MetadataGroupingOverlaySchema));
33648
+ var UserAssetsV2ListInputSchema = z482.preprocess(liftMetadataWireFilters, z482.intersection(BaseUserAssetsInputSchema, MetadataGroupingOverlaySchema));
33586
33649
  var UserAssetsV2ListOutputSchema = createPaginatedResponse(UserAssetBalanceV2ItemSchema, {
33587
- groups: z480.array(MetadataGroupSummarySchema).optional().meta({
33650
+ groups: z482.array(MetadataGroupSummarySchema).optional().meta({
33588
33651
  description: "Per-group aggregate summaries for the wallet's filtered balance set; present only when groupBy is set on the request."
33589
33652
  }),
33590
33653
  groupBy: MetadataGroupByAxisSchema.optional().meta({
@@ -33621,10 +33684,10 @@ var UserV2ListInputSchema = createCollectionInputSchema(USERS_COLLECTION_FIELDS,
33621
33684
  var UserV2ListOutputSchema = createPaginatedResponse(UserListItemSchema);
33622
33685
 
33623
33686
  // ../../packages/dalp/api-contract/src/routes/v2/user/kyc/kyc.v2.contract.ts
33624
- import { z as z483 } from "zod";
33687
+ import { z as z485 } from "zod";
33625
33688
 
33626
33689
  // ../../packages/dalp/api-contract/src/routes/v2/user/kyc/kyc-profile-version-documents.v2.list.schema.ts
33627
- import { z as z481 } from "zod";
33690
+ import { z as z483 } from "zod";
33628
33691
  var KYC_PROFILE_VERSION_DOCUMENTS_COLLECTION_FIELDS = {
33629
33692
  fileName: textField(),
33630
33693
  documentType: enumField(kycDocumentTypes, { facetable: true }),
@@ -33635,19 +33698,19 @@ var KYC_PROFILE_VERSION_DOCUMENTS_COLLECTION_FIELDS = {
33635
33698
  var KycProfileVersionDocumentsV2ListInputSchema = createCollectionInputSchema(KYC_PROFILE_VERSION_DOCUMENTS_COLLECTION_FIELDS, {
33636
33699
  defaultSort: "uploadedAt"
33637
33700
  });
33638
- var KycProfileVersionDocumentsV2ListItemSchema = z481.object({
33639
- id: z481.string(),
33701
+ var KycProfileVersionDocumentsV2ListItemSchema = z483.object({
33702
+ id: z483.string(),
33640
33703
  documentType: kycDocumentType(),
33641
- fileName: z481.string(),
33642
- fileSize: z481.number(),
33643
- mimeType: z481.string(),
33704
+ fileName: z483.string(),
33705
+ fileSize: z483.number(),
33706
+ mimeType: z483.string(),
33644
33707
  uploadedAt: timestamp(),
33645
- uploadedBy: z481.string().nullable()
33708
+ uploadedBy: z483.string().nullable()
33646
33709
  });
33647
33710
  var KycProfileVersionDocumentsV2ListOutputSchema = createPaginatedResponse(KycProfileVersionDocumentsV2ListItemSchema);
33648
33711
 
33649
33712
  // ../../packages/dalp/api-contract/src/routes/v2/user/kyc/kyc-profile-versions.v2.list.schema.ts
33650
- import { z as z482 } from "zod";
33713
+ import { z as z484 } from "zod";
33651
33714
  var KYC_VERSION_STATUSES = ["draft", "submitted", "under_review", "approved", "rejected"];
33652
33715
  var KYC_REVIEW_OUTCOMES = ["approved", "rejected", "changes_requested"];
33653
33716
  var KYC_PROFILE_VERSIONS_COLLECTION_FIELDS = {
@@ -33660,21 +33723,21 @@ var KYC_PROFILE_VERSIONS_COLLECTION_FIELDS = {
33660
33723
  var KycProfileVersionsV2ListInputSchema = createCollectionInputSchema(KYC_PROFILE_VERSIONS_COLLECTION_FIELDS, {
33661
33724
  defaultSort: "versionNumber"
33662
33725
  });
33663
- var KycProfileVersionsV2ListItemSchema = z482.object({
33664
- id: z482.string(),
33665
- versionNumber: z482.number(),
33726
+ var KycProfileVersionsV2ListItemSchema = z484.object({
33727
+ id: z484.string(),
33728
+ versionNumber: z484.number(),
33666
33729
  status: kycVersionStatus(),
33667
33730
  createdAt: timestamp(),
33668
- createdBy: z482.string().nullable(),
33731
+ createdBy: z484.string().nullable(),
33669
33732
  submittedAt: timestamp().nullable(),
33670
- submittedBy: z482.string().nullable(),
33733
+ submittedBy: z484.string().nullable(),
33671
33734
  reviewedAt: timestamp().nullable(),
33672
- reviewedBy: z482.string().nullable(),
33673
- reviewOutcome: z482.enum(KYC_REVIEW_OUTCOMES).nullable(),
33674
- isDraft: z482.boolean(),
33675
- isUnderReview: z482.boolean(),
33676
- isApproved: z482.boolean(),
33677
- isCurrent: z482.boolean()
33735
+ reviewedBy: z484.string().nullable(),
33736
+ reviewOutcome: z484.enum(KYC_REVIEW_OUTCOMES).nullable(),
33737
+ isDraft: z484.boolean(),
33738
+ isUnderReview: z484.boolean(),
33739
+ isApproved: z484.boolean(),
33740
+ isCurrent: z484.boolean()
33678
33741
  });
33679
33742
  var KycProfileVersionsV2ListOutputSchema = createPaginatedResponse(KycProfileVersionsV2ListItemSchema);
33680
33743
 
@@ -33692,14 +33755,14 @@ var versionsList = v2Contract.route({
33692
33755
  description: "List KYC profile versions for a user with pagination, sorting, and filtering. Sortable by versionNumber, status, createdAt, submittedAt, reviewedAt.",
33693
33756
  successDescription: "Paginated array of KYC profile versions with total count and faceted filter values.",
33694
33757
  tags: [V2_TAG.userKyc]
33695
- }).input(v2Input.paramsQuery(z483.object({ userId: z483.string().min(1) }), KycProfileVersionsV2ListInputSchema)).output(KycProfileVersionsV2ListOutputSchema);
33758
+ }).input(v2Input.paramsQuery(z485.object({ userId: z485.string().min(1) }), KycProfileVersionsV2ListInputSchema)).output(KycProfileVersionsV2ListOutputSchema);
33696
33759
  var versionsCreate = v2Contract.route({
33697
33760
  method: "POST",
33698
33761
  path: "/kyc-profiles/{userId}/versions",
33699
33762
  description: "Create a new draft KYC profile version, optionally cloning from an existing version.",
33700
33763
  successDescription: "KYC profile version created successfully.",
33701
33764
  tags: [V2_TAG.userKyc]
33702
- }).input(v2Input.paramsBody(z483.object({ userId: KycProfileVersionsCreateInputSchema.shape.userId }), KycProfileVersionsCreateInputSchema.omit({ userId: true }))).output(createSingleResponse(KycProfileVersionsCreateOutputSchema));
33765
+ }).input(v2Input.paramsBody(z485.object({ userId: KycProfileVersionsCreateInputSchema.shape.userId }), KycProfileVersionsCreateInputSchema.omit({ userId: true }))).output(createSingleResponse(KycProfileVersionsCreateOutputSchema));
33703
33766
  var versionRead = v2Contract.route({
33704
33767
  method: "GET",
33705
33768
  path: "/kyc-profile-versions/{versionId}",
@@ -33713,7 +33776,7 @@ var versionUpdate = v2Contract.route({
33713
33776
  description: "Update fields on a draft KYC profile version. Only draft versions can be edited.",
33714
33777
  successDescription: "KYC profile version updated successfully.",
33715
33778
  tags: [V2_TAG.userKyc]
33716
- }).input(v2Input.paramsBody(z483.object({ versionId: KycProfileVersionUpdateInputSchema.shape.versionId }), KycProfileVersionUpdateInputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionUpdateOutputSchema));
33779
+ }).input(v2Input.paramsBody(z485.object({ versionId: KycProfileVersionUpdateInputSchema.shape.versionId }), KycProfileVersionUpdateInputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionUpdateOutputSchema));
33717
33780
  var versionSubmit = v2Contract.route({
33718
33781
  method: "POST",
33719
33782
  path: "/kyc-profile-versions/{versionId}/submissions",
@@ -33727,28 +33790,28 @@ var versionApprove = v2Contract.route({
33727
33790
  description: "Approve a KYC profile version that is under review. Requires KYC_REVIEWER role.",
33728
33791
  successDescription: "KYC profile version approved.",
33729
33792
  tags: [V2_TAG.userKyc]
33730
- }).input(v2Input.paramsBody(z483.object({ versionId: KycProfileVersionApproveInputSchema.shape.versionId }), KycProfileVersionApproveInputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionApproveOutputSchema));
33793
+ }).input(v2Input.paramsBody(z485.object({ versionId: KycProfileVersionApproveInputSchema.shape.versionId }), KycProfileVersionApproveInputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionApproveOutputSchema));
33731
33794
  var versionReject = v2Contract.route({
33732
33795
  method: "POST",
33733
33796
  path: "/kyc-profile-versions/{versionId}/rejections",
33734
33797
  description: "Reject a KYC profile version that is under review. Requires KYC_REVIEWER role.",
33735
33798
  successDescription: "KYC profile version rejected.",
33736
33799
  tags: [V2_TAG.userKyc]
33737
- }).input(v2Input.paramsBody(z483.object({ versionId: KycProfileVersionRejectInputSchema.shape.versionId }), KycProfileVersionRejectInputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionRejectOutputSchema));
33800
+ }).input(v2Input.paramsBody(z485.object({ versionId: KycProfileVersionRejectInputSchema.shape.versionId }), KycProfileVersionRejectInputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionRejectOutputSchema));
33738
33801
  var versionRequestUpdate = v2Contract.route({
33739
33802
  method: "POST",
33740
33803
  path: "/kyc-profile-versions/{versionId}/update-requests",
33741
33804
  description: "Request changes on a KYC version under review. Creates an action request for the user.",
33742
33805
  successDescription: "Update request created successfully.",
33743
33806
  tags: [V2_TAG.userKyc]
33744
- }).input(v2Input.paramsBody(z483.object({ versionId: KycProfileVersionRequestUpdateInputSchema.shape.versionId }), KycProfileVersionRequestUpdateInputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionRequestUpdateOutputSchema));
33807
+ }).input(v2Input.paramsBody(z485.object({ versionId: KycProfileVersionRequestUpdateInputSchema.shape.versionId }), KycProfileVersionRequestUpdateInputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionRequestUpdateOutputSchema));
33745
33808
  var documentsList = v2Contract.route({
33746
33809
  method: "GET",
33747
33810
  path: "/kyc-profile-versions/{versionId}/documents",
33748
33811
  description: "List documents attached to a KYC profile version with pagination, sorting, and filtering. Sortable by fileName, documentType, fileSize, uploadedAt.",
33749
33812
  successDescription: "Paginated array of KYC documents with total count and faceted filter values.",
33750
33813
  tags: [V2_TAG.userKyc]
33751
- }).input(v2Input.paramsQuery(z483.object({ versionId: z483.string().min(1) }), KycProfileVersionDocumentsV2ListInputSchema)).output(KycProfileVersionDocumentsV2ListOutputSchema);
33814
+ }).input(v2Input.paramsQuery(z485.object({ versionId: z485.string().min(1) }), KycProfileVersionDocumentsV2ListInputSchema)).output(KycProfileVersionDocumentsV2ListOutputSchema);
33752
33815
  var documentsDelete = v2Contract.route({
33753
33816
  method: "DELETE",
33754
33817
  path: "/kyc-profile-versions/{versionId}/documents/{documentId}",
@@ -33762,7 +33825,7 @@ var documentsConfirmUpload = v2Contract.route({
33762
33825
  description: "Upload a KYC document through DAPI so the payload is encrypted before object storage.",
33763
33826
  successDescription: "Document uploaded successfully.",
33764
33827
  tags: [V2_TAG.userKyc]
33765
- }).input(v2Input.paramsBody(z483.object({ versionId: KycProfileVersionDocumentConfirmUploadV2InputSchema.shape.versionId }), KycProfileVersionDocumentConfirmUploadV2InputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionDocumentConfirmUploadOutputSchema));
33828
+ }).input(v2Input.paramsBody(z485.object({ versionId: KycProfileVersionDocumentConfirmUploadV2InputSchema.shape.versionId }), KycProfileVersionDocumentConfirmUploadV2InputSchema.omit({ versionId: true }))).output(createSingleResponse(KycProfileVersionDocumentConfirmUploadOutputSchema));
33766
33829
  var documentsGetDownloadUrl = v2Contract.route({
33767
33830
  method: "POST",
33768
33831
  path: "/kyc-profile-versions/{versionId}/documents/{documentId}/downloads",
@@ -33839,14 +33902,14 @@ var readByUserId2 = v2Contract.route({
33839
33902
  description: "Read a single user by their internal database ID.",
33840
33903
  successDescription: "User retrieved successfully.",
33841
33904
  tags: [V2_TAG.user]
33842
- }).input(v2Input.params(z484.object({ userId: z484.string() }))).output(createSingleResponse(UserReadOutputSchema));
33905
+ }).input(v2Input.params(z486.object({ userId: z486.string() }))).output(createSingleResponse(UserReadOutputSchema));
33843
33906
  var readByWallet3 = v2Contract.route({
33844
33907
  method: "GET",
33845
33908
  path: "/wallets/{wallet}/user",
33846
33909
  description: "Read a single user by their Ethereum wallet address.",
33847
33910
  successDescription: "User retrieved successfully.",
33848
33911
  tags: [V2_TAG.user]
33849
- }).input(v2Input.params(z484.object({ wallet: ethereumAddress }))).output(createSingleResponse(UserReadOutputSchema));
33912
+ }).input(v2Input.params(z486.object({ wallet: ethereumAddress }))).output(createSingleResponse(UserReadOutputSchema));
33850
33913
  var readByNationalId = v2Contract.route({
33851
33914
  method: "GET",
33852
33915
  path: "/national-ids/{nationalId}/user",
@@ -33955,30 +34018,30 @@ var userV2Contract = {
33955
34018
  };
33956
34019
 
33957
34020
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.chain-of-custody.schema.ts
33958
- import { z as z485 } from "zod";
33959
- var WebhooksV2ChainOfCustodyInputSchema = z485.object({
33960
- evtId: z485.string().trim().min(1)
33961
- });
33962
- var WebhooksV2ChainOfCustodyOutputSchema = createSingleResponse(z485.object({
33963
- evtId: z485.string(),
33964
- hops: z485.array(z485.object({
33965
- stage: z485.string(),
33966
- contentHash: z485.string(),
33967
- signedBy: z485.string().optional(),
33968
- recordedAt: z485.coerce.date()
34021
+ import { z as z487 } from "zod";
34022
+ var WebhooksV2ChainOfCustodyInputSchema = z487.object({
34023
+ evtId: z487.string().trim().min(1)
34024
+ });
34025
+ var WebhooksV2ChainOfCustodyOutputSchema = createSingleResponse(z487.object({
34026
+ evtId: z487.string(),
34027
+ hops: z487.array(z487.object({
34028
+ stage: z487.string(),
34029
+ contentHash: z487.string(),
34030
+ signedBy: z487.string().optional(),
34031
+ recordedAt: z487.coerce.date()
33969
34032
  })),
33970
- merkleRoot: z485.string(),
33971
- platformSignature: z485.string()
34033
+ merkleRoot: z487.string(),
34034
+ platformSignature: z487.string()
33972
34035
  }));
33973
34036
 
33974
34037
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.create.schema.ts
33975
- import { z as z487 } from "zod";
34038
+ import { z as z489 } from "zod";
33976
34039
 
33977
34040
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.list.schema.ts
33978
- import { z as z486 } from "zod";
33979
- var WebhookPayloadShapeSchema = z486.enum(["thin", "fat"]);
33980
- var WebhookBreakerStateSchema = z486.enum(["closed", "half_open", "open"]);
33981
- var WebhookDeliveryFailureClassSchema = z486.enum([
34041
+ import { z as z488 } from "zod";
34042
+ var WebhookPayloadShapeSchema = z488.enum(["thin", "fat"]);
34043
+ var WebhookBreakerStateSchema = z488.enum(["closed", "half_open", "open"]);
34044
+ var WebhookDeliveryFailureClassSchema = z488.enum([
33982
34045
  "DNS_FAIL",
33983
34046
  "TLS_FAIL",
33984
34047
  "CONNECT_TIMEOUT",
@@ -33990,35 +34053,35 @@ var WebhookDeliveryFailureClassSchema = z486.enum([
33990
34053
  "RECEIPT_INVALID_SIG",
33991
34054
  "RECEIPT_HASH_MISMATCH"
33992
34055
  ]);
33993
- var WebhookFinalityStateSchema = z486.enum(["pending", "provisional", "final", "retracted", "recalled"]);
33994
- var WebhookSigningSecretStatusSchema = z486.enum(["active", "previous", "revoked"]);
33995
- var WebhookFatEventsAcknowledgmentSchema = z486.object({
33996
- acknowledgedAt: z486.coerce.date(),
33997
- acknowledgedByUserId: z486.string(),
33998
- fieldsAcknowledged: z486.array(z486.string())
33999
- });
34000
- var WebhookEndpointSchema = z486.object({
34001
- id: z486.uuid(),
34002
- tenantId: z486.string(),
34003
- systemId: z486.string(),
34004
- url: z486.url(),
34005
- displayName: z486.string().nullable(),
34006
- subscriptions: z486.array(z486.string()),
34056
+ var WebhookFinalityStateSchema = z488.enum(["pending", "provisional", "final", "retracted", "recalled"]);
34057
+ var WebhookSigningSecretStatusSchema = z488.enum(["active", "previous", "revoked"]);
34058
+ var WebhookFatEventsAcknowledgmentSchema = z488.object({
34059
+ acknowledgedAt: z488.coerce.date(),
34060
+ acknowledgedByUserId: z488.string(),
34061
+ fieldsAcknowledged: z488.array(z488.string())
34062
+ });
34063
+ var WebhookEndpointSchema = z488.object({
34064
+ id: z488.uuid(),
34065
+ tenantId: z488.string(),
34066
+ systemId: z488.string(),
34067
+ url: z488.url(),
34068
+ displayName: z488.string().nullable(),
34069
+ subscriptions: z488.array(z488.string()),
34007
34070
  defaultPayloadShape: WebhookPayloadShapeSchema,
34008
- counterSignedReceipts: z486.boolean(),
34071
+ counterSignedReceipts: z488.boolean(),
34009
34072
  breakerState: WebhookBreakerStateSchema,
34010
- disabledAt: z486.coerce.date().nullable(),
34011
- disabledReason: z486.string().nullable(),
34073
+ disabledAt: z488.coerce.date().nullable(),
34074
+ disabledReason: z488.string().nullable(),
34012
34075
  fatEventsAcknowledgment: WebhookFatEventsAcknowledgmentSchema.nullable(),
34013
- secret: z486.object({
34014
- activeVersion: z486.number().int().positive().nullable(),
34015
- previousVersion: z486.number().int().positive().nullable(),
34016
- previousRevokesAt: z486.coerce.date().nullable(),
34017
- lastUsedAt: z486.coerce.date().nullable()
34076
+ secret: z488.object({
34077
+ activeVersion: z488.number().int().positive().nullable(),
34078
+ previousVersion: z488.number().int().positive().nullable(),
34079
+ previousRevokesAt: z488.coerce.date().nullable(),
34080
+ lastUsedAt: z488.coerce.date().nullable()
34018
34081
  }),
34019
- createdAt: z486.coerce.date(),
34020
- updatedAt: z486.coerce.date(),
34021
- createdByUserId: z486.string().nullable()
34082
+ createdAt: z488.coerce.date(),
34083
+ updatedAt: z488.coerce.date(),
34084
+ createdByUserId: z488.string().nullable()
34022
34085
  });
34023
34086
  var WEBHOOKS_COLLECTION_FIELDS = {
34024
34087
  displayName: textField(),
@@ -34037,44 +34100,44 @@ var WebhooksV2ListInputSchema = createCollectionInputSchema(WEBHOOKS_COLLECTION_
34037
34100
  var WebhooksV2ListOutputSchema = createPaginatedResponse(WebhookEndpointSchema);
34038
34101
 
34039
34102
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.create.schema.ts
34040
- var WebhooksV2CreateInputSchema = z487.object({
34041
- url: z487.url(),
34042
- displayName: z487.string().trim().min(1).max(200).optional(),
34043
- subscriptions: z487.array(z487.string().trim().min(1)).min(1).default(["*.final", "*.retracted", "*.recalled"]),
34103
+ var WebhooksV2CreateInputSchema = z489.object({
34104
+ url: z489.url(),
34105
+ displayName: z489.string().trim().min(1).max(200).optional(),
34106
+ subscriptions: z489.array(z489.string().trim().min(1)).min(1).default(["*.final", "*.retracted", "*.recalled"]),
34044
34107
  defaultPayloadShape: WebhookPayloadShapeSchema.default("thin"),
34045
- counterSignedReceipts: z487.boolean().default(false)
34108
+ counterSignedReceipts: z489.boolean().default(false)
34046
34109
  });
34047
34110
  var WebhookEndpointCreateResultSchema = WebhookEndpointSchema.extend({
34048
- signingSecret: z487.string().nullable()
34111
+ signingSecret: z489.string().nullable()
34049
34112
  });
34050
34113
  var WebhooksV2CreateOutputSchema = createSingleResponse(WebhookEndpointCreateResultSchema);
34051
34114
 
34052
34115
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.delete.schema.ts
34053
- import { z as z488 } from "zod";
34054
- var WebhooksV2DeleteInputSchema = z488.object({
34055
- id: z488.uuid()
34116
+ import { z as z490 } from "zod";
34117
+ var WebhooksV2DeleteInputSchema = z490.object({
34118
+ id: z490.uuid()
34056
34119
  });
34057
34120
  var WebhooksV2DeleteOutputSchema = DeleteResponseSchema;
34058
34121
 
34059
34122
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.deliveries.list.schema.ts
34060
- import { z as z489 } from "zod";
34061
- var WebhookDeliveryStatusSchema = z489.enum(["pending", "delivered", "failed"]);
34062
- var WebhookDeliverySchema = z489.object({
34063
- id: z489.uuid(),
34064
- eventOutboxId: z489.uuid(),
34065
- endpointId: z489.uuid(),
34066
- tenantId: z489.string(),
34067
- evtId: z489.string(),
34068
- eventType: z489.string(),
34069
- attemptN: z489.number().int().nonnegative(),
34070
- attemptedAt: z489.coerce.date(),
34071
- responseStatus: z489.number().int().nullable(),
34123
+ import { z as z491 } from "zod";
34124
+ var WebhookDeliveryStatusSchema = z491.enum(["pending", "delivered", "failed"]);
34125
+ var WebhookDeliverySchema = z491.object({
34126
+ id: z491.uuid(),
34127
+ eventOutboxId: z491.uuid(),
34128
+ endpointId: z491.uuid(),
34129
+ tenantId: z491.string(),
34130
+ evtId: z491.string(),
34131
+ eventType: z491.string(),
34132
+ attemptN: z491.number().int().nonnegative(),
34133
+ attemptedAt: z491.coerce.date(),
34134
+ responseStatus: z491.number().int().nullable(),
34072
34135
  failureClass: WebhookDeliveryFailureClassSchema.nullable(),
34073
34136
  status: WebhookDeliveryStatusSchema,
34074
- deliveredAt: z489.coerce.date().nullable(),
34075
- isReplay: z489.boolean(),
34076
- isTest: z489.boolean(),
34077
- traceId: z489.string().nullable()
34137
+ deliveredAt: z491.coerce.date().nullable(),
34138
+ isReplay: z491.boolean(),
34139
+ isTest: z491.boolean(),
34140
+ traceId: z491.string().nullable()
34078
34141
  });
34079
34142
  var WEBHOOK_DELIVERIES_COLLECTION_FIELDS = {
34080
34143
  status: enumField(["pending", "delivered", "failed"]),
@@ -34100,167 +34163,167 @@ var WebhooksV2DeliveriesListInputSchema = createCollectionInputSchema(WEBHOOK_DE
34100
34163
  defaultSort: "attemptedAt",
34101
34164
  globalSearch: false
34102
34165
  });
34103
- var WebhooksV2DeliveriesListParamsSchema = z489.object({
34104
- id: z489.uuid()
34166
+ var WebhooksV2DeliveriesListParamsSchema = z491.object({
34167
+ id: z491.uuid()
34105
34168
  });
34106
34169
  var WebhooksV2DeliveriesListOutputSchema = createPaginatedResponse(WebhookDeliverySchema);
34107
34170
 
34108
34171
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.deliveries.read.schema.ts
34109
- import { z as z490 } from "zod";
34110
- var WebhooksV2DeliveriesReadInputSchema = z490.object({
34111
- id: z490.uuid(),
34112
- deliveryId: z490.uuid()
34172
+ import { z as z492 } from "zod";
34173
+ var WebhooksV2DeliveriesReadInputSchema = z492.object({
34174
+ id: z492.uuid(),
34175
+ deliveryId: z492.uuid()
34113
34176
  });
34114
34177
  var WebhookDeliveryDetailSchema = WebhookDeliverySchema.extend({
34115
- request: z490.object({
34116
- payload: z490.record(z490.string(), z490.json()),
34117
- signedHeaders: z490.record(z490.string(), z490.union([z490.string(), z490.array(z490.string())])),
34118
- signedStringPreview: z490.string()
34178
+ request: z492.object({
34179
+ payload: z492.record(z492.string(), z492.json()),
34180
+ signedHeaders: z492.record(z492.string(), z492.union([z492.string(), z492.array(z492.string())])),
34181
+ signedStringPreview: z492.string()
34119
34182
  }),
34120
- response: z490.object({
34121
- headers: z490.record(z490.string(), z490.union([z490.string(), z490.array(z490.string())])).nullable(),
34122
- body: z490.string().nullable(),
34123
- timings: z490.object({
34124
- dnsMs: z490.number().int().nullable(),
34125
- tlsMs: z490.number().int().nullable(),
34126
- connectMs: z490.number().int().nullable(),
34127
- ttfbMs: z490.number().int().nullable()
34183
+ response: z492.object({
34184
+ headers: z492.record(z492.string(), z492.union([z492.string(), z492.array(z492.string())])).nullable(),
34185
+ body: z492.string().nullable(),
34186
+ timings: z492.object({
34187
+ dnsMs: z492.number().int().nullable(),
34188
+ tlsMs: z492.number().int().nullable(),
34189
+ connectMs: z492.number().int().nullable(),
34190
+ ttfbMs: z492.number().int().nullable()
34128
34191
  })
34129
34192
  })
34130
34193
  });
34131
34194
  var WebhooksV2DeliveriesReadOutputSchema = createSingleResponse(WebhookDeliveryDetailSchema);
34132
34195
 
34133
34196
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.deliveries.retry.schema.ts
34134
- import { z as z491 } from "zod";
34135
- var WebhooksV2DeliveriesRetryInputSchema = z491.object({
34136
- id: z491.uuid(),
34137
- deliveryId: z491.uuid()
34197
+ import { z as z493 } from "zod";
34198
+ var WebhooksV2DeliveriesRetryInputSchema = z493.object({
34199
+ id: z493.uuid(),
34200
+ deliveryId: z493.uuid()
34138
34201
  });
34139
- var WebhooksV2DeliveriesRetryOutputSchema = createSingleResponse(z491.object({
34140
- deliveryId: z491.uuid(),
34141
- scheduled: z491.boolean()
34202
+ var WebhooksV2DeliveriesRetryOutputSchema = createSingleResponse(z493.object({
34203
+ deliveryId: z493.uuid(),
34204
+ scheduled: z493.boolean()
34142
34205
  }));
34143
34206
 
34144
34207
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.read.schema.ts
34145
- import { z as z492 } from "zod";
34146
- var WebhooksV2ReadInputSchema = z492.object({
34147
- id: z492.uuid()
34208
+ import { z as z494 } from "zod";
34209
+ var WebhooksV2ReadInputSchema = z494.object({
34210
+ id: z494.uuid()
34148
34211
  });
34149
34212
  var WebhooksV2ReadOutputSchema = createSingleResponse(WebhookEndpointSchema);
34150
34213
 
34151
34214
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.recalls.schema.ts
34152
- import { z as z493 } from "zod";
34153
- var WebhooksV2RecallsParamsSchema = z493.object({
34154
- evtId: z493.string().trim().min(1)
34155
- });
34156
- var WebhooksV2RecallsBodySchema = z493.object({
34157
- reason: z493.string().trim().min(1).max(2000)
34158
- });
34159
- var WebhooksV2RecallsOutputSchema = createSingleResponse(z493.object({
34160
- evtId: z493.string(),
34161
- recalledEvtId: z493.string(),
34162
- supersedes: z493.string(),
34163
- reason: z493.string(),
34164
- recalledByUserId: z493.string()
34215
+ import { z as z495 } from "zod";
34216
+ var WebhooksV2RecallsParamsSchema = z495.object({
34217
+ evtId: z495.string().trim().min(1)
34218
+ });
34219
+ var WebhooksV2RecallsBodySchema = z495.object({
34220
+ reason: z495.string().trim().min(1).max(2000)
34221
+ });
34222
+ var WebhooksV2RecallsOutputSchema = createSingleResponse(z495.object({
34223
+ evtId: z495.string(),
34224
+ recalledEvtId: z495.string(),
34225
+ supersedes: z495.string(),
34226
+ reason: z495.string(),
34227
+ recalledByUserId: z495.string()
34165
34228
  }));
34166
34229
 
34167
34230
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.replays.schema.ts
34168
- import { z as z494 } from "zod";
34169
- var WebhooksV2ReplayByRangeSchema = z494.object({
34170
- fromBlock: z494.coerce.bigint(),
34171
- toBlock: z494.coerce.bigint().optional(),
34172
- chainId: z494.coerce.number().int().positive(),
34173
- confirmLargeRange: z494.boolean().default(false)
34231
+ import { z as z496 } from "zod";
34232
+ var WebhooksV2ReplayByRangeSchema = z496.object({
34233
+ fromBlock: z496.coerce.bigint(),
34234
+ toBlock: z496.coerce.bigint().optional(),
34235
+ chainId: z496.coerce.number().int().positive(),
34236
+ confirmLargeRange: z496.boolean().default(false)
34174
34237
  });
34175
- var WebhooksV2ReplayByEventSchema = z494.object({
34176
- evtId: z494.string().trim().min(1),
34177
- chainId: z494.coerce.number().int().positive().optional()
34238
+ var WebhooksV2ReplayByEventSchema = z496.object({
34239
+ evtId: z496.string().trim().min(1),
34240
+ chainId: z496.coerce.number().int().positive().optional()
34178
34241
  });
34179
- var WebhooksV2ReplaysParamsSchema = z494.object({
34180
- id: z494.uuid()
34242
+ var WebhooksV2ReplaysParamsSchema = z496.object({
34243
+ id: z496.uuid()
34181
34244
  });
34182
- var WebhooksV2ReplaysBodySchema = z494.union([WebhooksV2ReplayByRangeSchema, WebhooksV2ReplayByEventSchema]);
34183
- var WebhooksV2ReplaysOutputSchema = createSingleResponse(z494.object({
34184
- replayId: z494.uuid(),
34185
- endpointId: z494.uuid(),
34186
- eventsEnqueued: z494.number().int().nonnegative(),
34187
- snapshotToBlock: z494.string().nullable()
34245
+ var WebhooksV2ReplaysBodySchema = z496.union([WebhooksV2ReplayByRangeSchema, WebhooksV2ReplayByEventSchema]);
34246
+ var WebhooksV2ReplaysOutputSchema = createSingleResponse(z496.object({
34247
+ replayId: z496.uuid(),
34248
+ endpointId: z496.uuid(),
34249
+ eventsEnqueued: z496.number().int().nonnegative(),
34250
+ snapshotToBlock: z496.string().nullable()
34188
34251
  }));
34189
34252
 
34190
34253
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.revoke-secret.schema.ts
34191
- import { z as z495 } from "zod";
34192
- var WebhooksV2RevokeSecretInputSchema = z495.object({
34193
- id: z495.uuid()
34194
- });
34195
- var WebhooksV2RevokeSecretOutputSchema = createSingleResponse(z495.object({
34196
- endpointId: z495.uuid(),
34197
- activeVersion: z495.number().int().positive(),
34198
- previousVersion: z495.number().int().positive().nullable(),
34199
- revokedVersion: z495.number().int().positive()
34254
+ import { z as z497 } from "zod";
34255
+ var WebhooksV2RevokeSecretInputSchema = z497.object({
34256
+ id: z497.uuid()
34257
+ });
34258
+ var WebhooksV2RevokeSecretOutputSchema = createSingleResponse(z497.object({
34259
+ endpointId: z497.uuid(),
34260
+ activeVersion: z497.number().int().positive(),
34261
+ previousVersion: z497.number().int().positive().nullable(),
34262
+ revokedVersion: z497.number().int().positive()
34200
34263
  }));
34201
34264
 
34202
34265
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.rotate-secret.schema.ts
34203
- import { z as z496 } from "zod";
34204
- var WebhooksV2RotateSecretInputSchema = z496.object({
34205
- id: z496.uuid()
34266
+ import { z as z498 } from "zod";
34267
+ var WebhooksV2RotateSecretInputSchema = z498.object({
34268
+ id: z498.uuid()
34206
34269
  });
34207
- var WebhooksV2RotateSecretOutputSchema = createSingleResponse(z496.object({
34208
- endpointId: z496.uuid(),
34209
- activeVersion: z496.number().int().positive(),
34210
- previousVersion: z496.number().int().positive().nullable(),
34211
- previousRevokesAt: z496.coerce.date().nullable(),
34212
- signingSecret: z496.string().nullable()
34270
+ var WebhooksV2RotateSecretOutputSchema = createSingleResponse(z498.object({
34271
+ endpointId: z498.uuid(),
34272
+ activeVersion: z498.number().int().positive(),
34273
+ previousVersion: z498.number().int().positive().nullable(),
34274
+ previousRevokesAt: z498.coerce.date().nullable(),
34275
+ signingSecret: z498.string().nullable()
34213
34276
  }));
34214
34277
 
34215
34278
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.stats.schema.ts
34216
- import { z as z497 } from "zod";
34217
- var WebhooksV2StatsInputSchema = z497.object({
34218
- endpointId: z497.uuid().optional()
34279
+ import { z as z499 } from "zod";
34280
+ var WebhooksV2StatsInputSchema = z499.object({
34281
+ endpointId: z499.uuid().optional()
34219
34282
  });
34220
- var WebhooksV2StatsOutputDataSchema = z497.object({
34221
- totalDeliveries: z497.number().int().min(0),
34222
- delivered: z497.number().int().min(0),
34223
- failed: z497.number().int().min(0),
34224
- hourlyBuckets: z497.array(z497.number().int().min(0)).length(24)
34283
+ var WebhooksV2StatsOutputDataSchema = z499.object({
34284
+ totalDeliveries: z499.number().int().min(0),
34285
+ delivered: z499.number().int().min(0),
34286
+ failed: z499.number().int().min(0),
34287
+ hourlyBuckets: z499.array(z499.number().int().min(0)).length(24)
34225
34288
  });
34226
34289
  var WebhooksV2StatsOutputSchema = createSingleResponse(WebhooksV2StatsOutputDataSchema);
34227
34290
 
34228
34291
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.test-event.schema.ts
34229
- import { z as z498 } from "zod";
34230
- var WebhooksV2TestEventParamsSchema = z498.object({
34231
- id: z498.uuid()
34292
+ import { z as z500 } from "zod";
34293
+ var WebhooksV2TestEventParamsSchema = z500.object({
34294
+ id: z500.uuid()
34232
34295
  });
34233
- var WebhooksV2TestEventBodySchema = z498.object({
34234
- eventType: z498.string().trim().min(1).default("webhook.test.final")
34296
+ var WebhooksV2TestEventBodySchema = z500.object({
34297
+ eventType: z500.string().trim().min(1).default("webhook.test.final")
34235
34298
  });
34236
- var WebhooksV2TestEventOutputSchema = createSingleResponse(z498.object({
34237
- evtId: z498.string(),
34238
- deliveryId: z498.uuid().nullable(),
34239
- isTest: z498.literal(true)
34299
+ var WebhooksV2TestEventOutputSchema = createSingleResponse(z500.object({
34300
+ evtId: z500.string(),
34301
+ deliveryId: z500.uuid().nullable(),
34302
+ isTest: z500.literal(true)
34240
34303
  }));
34241
34304
 
34242
34305
  // ../../packages/dalp/api-contract/src/routes/v2/webhooks/webhooks.v2.update.schema.ts
34243
- import { z as z499 } from "zod";
34244
- var WebhooksV2UpdateParamsSchema = z499.object({
34245
- id: z499.uuid()
34306
+ import { z as z501 } from "zod";
34307
+ var WebhooksV2UpdateParamsSchema = z501.object({
34308
+ id: z501.uuid()
34246
34309
  });
34247
- var WebhooksV2UpdateBodySchema = z499.object({
34248
- url: z499.url().optional(),
34249
- displayName: z499.string().trim().min(1).max(200).nullable().optional(),
34250
- subscriptions: z499.array(z499.string().trim().min(1)).min(1).optional(),
34310
+ var WebhooksV2UpdateBodySchema = z501.object({
34311
+ url: z501.url().optional(),
34312
+ displayName: z501.string().trim().min(1).max(200).nullable().optional(),
34313
+ subscriptions: z501.array(z501.string().trim().min(1)).min(1).optional(),
34251
34314
  defaultPayloadShape: WebhookPayloadShapeSchema.optional(),
34252
- counterSignedReceipts: z499.boolean().optional(),
34253
- disabled: z499.boolean().optional(),
34254
- disabledReason: z499.string().trim().min(1).max(500).nullable().optional(),
34315
+ counterSignedReceipts: z501.boolean().optional(),
34316
+ disabled: z501.boolean().optional(),
34317
+ disabledReason: z501.string().trim().min(1).max(500).nullable().optional(),
34255
34318
  fatEventsAcknowledgment: WebhookFatEventsAcknowledgmentSchema.omit({
34256
34319
  acknowledgedAt: true,
34257
34320
  acknowledgedByUserId: true
34258
34321
  }).optional()
34259
34322
  });
34260
- var WebhooksV2UpdateQuerySchema = z499.object({
34261
- acknowledgePending: z499.union([z499.literal("true"), z499.literal(true)]).transform(() => true).optional()
34323
+ var WebhooksV2UpdateQuerySchema = z501.object({
34324
+ acknowledgePending: z501.union([z501.literal("true"), z501.literal(true)]).transform(() => true).optional()
34262
34325
  }).optional();
34263
- var WebhooksV2UpdateInputSchema = z499.object({
34326
+ var WebhooksV2UpdateInputSchema = z501.object({
34264
34327
  params: WebhooksV2UpdateParamsSchema,
34265
34328
  body: WebhooksV2UpdateBodySchema,
34266
34329
  query: WebhooksV2UpdateQuerySchema
@@ -34395,21 +34458,21 @@ var webhooksV2Contract = {
34395
34458
  };
34396
34459
 
34397
34460
  // ../../packages/dalp/api-contract/src/routes/v2/webhook-receipts/webhook-receipts.v2.create.schema.ts
34398
- import { z as z501 } from "zod";
34461
+ import { z as z503 } from "zod";
34399
34462
 
34400
34463
  // ../../packages/dalp/api-contract/src/routes/v2/webhook-receipts/webhook-receipts.v2.list.schema.ts
34401
- import { z as z500 } from "zod";
34402
- var WebhookReceiptVerificationFailureClassSchema = z500.enum(["RECEIPT_INVALID_SIG", "RECEIPT_HASH_MISMATCH"]);
34403
- var WebhookReceiptSchema = z500.object({
34404
- id: z500.uuid(),
34405
- deliveryId: z500.uuid(),
34406
- evtId: z500.string(),
34407
- tenantId: z500.string(),
34408
- endpointId: z500.uuid(),
34409
- consumerSignature: z500.string(),
34410
- innerEventHash: z500.string(),
34411
- receivedAt: z500.coerce.date(),
34412
- verifiedAt: z500.coerce.date().nullable(),
34464
+ import { z as z502 } from "zod";
34465
+ var WebhookReceiptVerificationFailureClassSchema = z502.enum(["RECEIPT_INVALID_SIG", "RECEIPT_HASH_MISMATCH"]);
34466
+ var WebhookReceiptSchema = z502.object({
34467
+ id: z502.uuid(),
34468
+ deliveryId: z502.uuid(),
34469
+ evtId: z502.string(),
34470
+ tenantId: z502.string(),
34471
+ endpointId: z502.uuid(),
34472
+ consumerSignature: z502.string(),
34473
+ innerEventHash: z502.string(),
34474
+ receivedAt: z502.coerce.date(),
34475
+ verifiedAt: z502.coerce.date().nullable(),
34413
34476
  verificationFailureClass: WebhookReceiptVerificationFailureClassSchema.nullable()
34414
34477
  });
34415
34478
  var WEBHOOK_RECEIPTS_COLLECTION_FIELDS = {
@@ -34426,19 +34489,19 @@ var WebhookReceiptsV2ListInputSchema = createCollectionInputSchema(WEBHOOK_RECEI
34426
34489
  var WebhookReceiptsV2ListOutputSchema = createPaginatedResponse(WebhookReceiptSchema);
34427
34490
 
34428
34491
  // ../../packages/dalp/api-contract/src/routes/v2/webhook-receipts/webhook-receipts.v2.create.schema.ts
34429
- var WebhookReceiptsV2CreateInputSchema = z501.object({
34430
- deliveryId: z501.uuid(),
34431
- evtId: z501.string().trim().min(1),
34432
- endpointId: z501.uuid(),
34433
- consumerSignature: z501.string().trim().min(1),
34434
- innerEventHash: z501.string().trim().min(1)
34492
+ var WebhookReceiptsV2CreateInputSchema = z503.object({
34493
+ deliveryId: z503.uuid(),
34494
+ evtId: z503.string().trim().min(1),
34495
+ endpointId: z503.uuid(),
34496
+ consumerSignature: z503.string().trim().min(1),
34497
+ innerEventHash: z503.string().trim().min(1)
34435
34498
  });
34436
34499
  var WebhookReceiptsV2CreateOutputSchema = createSingleResponse(WebhookReceiptSchema);
34437
34500
 
34438
34501
  // ../../packages/dalp/api-contract/src/routes/v2/webhook-receipts/webhook-receipts.v2.read.schema.ts
34439
- import { z as z502 } from "zod";
34440
- var WebhookReceiptsV2ReadInputSchema = z502.object({
34441
- id: z502.uuid()
34502
+ import { z as z504 } from "zod";
34503
+ var WebhookReceiptsV2ReadInputSchema = z504.object({
34504
+ id: z504.uuid()
34442
34505
  });
34443
34506
  var WebhookReceiptsV2ReadOutputSchema = createSingleResponse(WebhookReceiptSchema);
34444
34507
 
@@ -34720,7 +34783,7 @@ function normalizeDalpBaseUrl(url) {
34720
34783
  // package.json
34721
34784
  var package_default = {
34722
34785
  name: "@settlemint/dalp-sdk",
34723
- version: "2.1.7-main.26724205928",
34786
+ version: "2.1.7-main.26724507968",
34724
34787
  private: false,
34725
34788
  description: "Fully typed SDK for the DALP tokenization platform API",
34726
34789
  homepage: "https://settlemint.com",