@settlemint/dalp-sdk 3.1.19-main.35773592403 → 3.1.19-main.35786481207

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.
package/dist/auth.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  makeCookieStore2,
11
11
  createCookieStoreFetch2,
12
12
  SDK_USER_AGENT2
13
- } from "./chunk-qyg35yf5.js";
13
+ } from "./chunk-svcwezhv.js";
14
14
 
15
15
  // src/auth/live.ts
16
16
  import { apiKeyClient } from "@better-auth/api-key/client";
@@ -102,7 +102,7 @@ function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
102
102
  // package.json
103
103
  var package_default = {
104
104
  name: "@settlemint/dalp-sdk",
105
- version: "3.1.19-main.35773592403",
105
+ version: "3.1.19-main.35786481207",
106
106
  private: false,
107
107
  description: "Fully typed SDK for the DALP tokenization platform API",
108
108
  homepage: "https://settlemint.com",
@@ -205,8 +205,8 @@ var package_default = {
205
205
  codegen: "bun scripts/codegen.ts",
206
206
  publint: "publint run --strict --pack bun",
207
207
  attw: 'archive=$(bun pm pack --destination "$PWD" --quiet | tail -n 1) && attw "$archive" --profile esm-only; code=$?; rm -f "$archive"; exit $code',
208
- publish: 'cp ../../LICENSE . && bun run --cwd ../.. publish-if-absent "$PWD"',
209
- prepack: "cp ../../LICENSE .",
208
+ publish: 'cp ../LICENSE . && bun run --cwd .. publish-if-absent "$PWD"',
209
+ prepack: "cp ../LICENSE .",
210
210
  test: "bun --bun vitest run --config node_modules/@tools/vitest-config/vitest.config.mjs --configLoader native --project unit --testTimeout 30000 tests/unit",
211
211
  "test:coverage": "bun --bun vitest run --config node_modules/@tools/vitest-config/vitest.config.mjs --configLoader native --project unit --testTimeout 30000 tests/unit --coverage",
212
212
  lint: "oxlint --deny-warnings .",
@@ -495,7 +495,7 @@ export type ActionSystem = {
495
495
  readonly organizationName: string;
496
496
  };
497
497
 
498
- export type ActionType = "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite";
498
+ export type ActionType = "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite";
499
499
 
500
500
  export type ActivityDisplaySender = {
501
501
  readonly id: EvmAddress_160;
@@ -4102,6 +4102,16 @@ export type ChainIdResponse = {
4102
4102
  readonly links: SingleResourceLinks;
4103
4103
  };
4104
4104
 
4105
+ export type CheckerApprovalDecision = {
4106
+ readonly approvalId: string;
4107
+ readonly status: "approved" | "rejected";
4108
+ };
4109
+
4110
+ export type CheckerApprovalDecisionResponse = {
4111
+ readonly data: CheckerApprovalDecision;
4112
+ readonly links: SingleResourceLinks;
4113
+ };
4114
+
4105
4115
  export type ClaimData = InvestorClaimData | AssetClassificationClaimData | AssetIssuerClaimData | BasePriceClaimData | CollateralClaimData | ContractIdentityClaimData | IssuerJurisdictionClaimData | IssuerLicensedClaimData | IssuerProspectusExemptClaimData | IssuerProspectusFiledClaimData | IssuerReportingCompliantClaimData | UniqueIdentifierClaimData | AssetLocationClaimData | AssetCoordinatesClaimData | AssetPhysicalDetailsClaimData | DocumentHashClaimData | CustomClaimData;
4106
4116
 
4107
4117
  export type ClaimData_1 = InvestorClaimData_1 | AssetClassificationClaimData_1 | AssetIssuerClaimData_1 | BasePriceClaimData_1 | CollateralClaimData_1 | ContractIdentityClaimData_1 | IssuerJurisdictionClaimData_1 | IssuerLicensedClaimData_1 | IssuerProspectusExemptClaimData | IssuerProspectusFiledClaimData | IssuerReportingCompliantClaimData_1 | UniqueIdentifierClaimData | AssetLocationClaimData | AssetCoordinatesClaimData | AssetPhysicalDetailsClaimData | DocumentHashClaimData | CustomClaimData;
@@ -4585,7 +4595,7 @@ export type CollectionFilter_accruedAt_blockNumber_feeAmount_fromAddress_operati
4585
4595
  export type CollectionFilter_actionType_activeAt_executedAt_expiresAt_name_q_status_target_tokenAddress = {
4586
4596
  readonly q?: string;
4587
4597
  readonly status?: "PENDING" | "UPCOMING" | "EXECUTED" | "EXPIRED" | CollectionEnumFilterOperators;
4588
- readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | CollectionEnumFilterOperators;
4598
+ readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | CollectionEnumFilterOperators;
4589
4599
  readonly target?: string | CollectionTextFilterOperators;
4590
4600
  readonly tokenAddress?: string | CollectionTextFilterOperators;
4591
4601
  readonly name?: string | CollectionTextFilterOperators;
@@ -23785,6 +23795,22 @@ export type VotingPowerSnapshotWeightV2ItemCollectionResponse = {
23785
23795
  readonly links: CollectionPaginationLinks;
23786
23796
  };
23787
23797
 
23798
+ export type WalletCheckerIneligibleReason = "browser-wallet" | "multisig" | "signer-wallet" | "canton";
23799
+
23800
+ export type WalletCheckerPolicy = {
23801
+ readonly walletId: string;
23802
+ readonly checkerUserId: string | null;
23803
+ readonly checkerEmail: string | null;
23804
+ readonly eligible: boolean;
23805
+ readonly reason: WalletCheckerIneligibleReason | null;
23806
+ readonly providerOwnsSignOff: boolean;
23807
+ };
23808
+
23809
+ export type WalletCheckerPolicyResponse = {
23810
+ readonly data: WalletCheckerPolicy;
23811
+ readonly links: SingleResourceLinks;
23812
+ };
23813
+
23788
23814
  export type WalletCreateInput = {
23789
23815
  readonly walletVerification?: OptionalUserVerification;
23790
23816
  readonly providerConfigurationId: CustodyProviderConfigurationId_1;
@@ -24730,7 +24756,7 @@ export type actions_list_Request = {
24730
24756
  readonly isEmpty?: unknown;
24731
24757
  readonly isNotEmpty?: unknown;
24732
24758
  } & Readonly<Record<string, unknown>>;
24733
- readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
24759
+ readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
24734
24760
  readonly eq?: string;
24735
24761
  readonly ne?: string;
24736
24762
  readonly inArray?: string;
@@ -24826,7 +24852,7 @@ export type actions_list_RequestParts = {
24826
24852
  readonly isEmpty?: unknown;
24827
24853
  readonly isNotEmpty?: unknown;
24828
24854
  } & Readonly<Record<string, unknown>>;
24829
- readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
24855
+ readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
24830
24856
  readonly eq?: string;
24831
24857
  readonly ne?: string;
24832
24858
  readonly inArray?: string;
@@ -24924,7 +24950,7 @@ export type actions_stream_Request = {
24924
24950
  readonly isEmpty?: unknown;
24925
24951
  readonly isNotEmpty?: unknown;
24926
24952
  } & Readonly<Record<string, unknown>>;
24927
- readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
24953
+ readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
24928
24954
  readonly eq?: string;
24929
24955
  readonly ne?: string;
24930
24956
  readonly inArray?: string;
@@ -25020,7 +25046,7 @@ export type actions_stream_RequestParts = {
25020
25046
  readonly isEmpty?: unknown;
25021
25047
  readonly isNotEmpty?: unknown;
25022
25048
  } & Readonly<Record<string, unknown>>;
25023
- readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
25049
+ readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
25024
25050
  readonly eq?: string;
25025
25051
  readonly ne?: string;
25026
25052
  readonly inArray?: string;
@@ -25103,7 +25129,7 @@ export type actions_stream_RequestParts = {
25103
25129
  export type actions_stream_Response = {
25104
25130
  readonly data: ReadonlyArray<{
25105
25131
  readonly id: string;
25106
- readonly actionType: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite";
25132
+ readonly actionType: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite";
25107
25133
  readonly name: string;
25108
25134
  readonly target: unknown | null;
25109
25135
  readonly tokenAddress: unknown | null;
@@ -28637,6 +28663,23 @@ export type admin_users_resetOnboarding_RequestParts = {
28637
28663
 
28638
28664
  export type admin_users_resetOnboarding_Response = UserOnboardingResetStateResponse;
28639
28665
 
28666
+ export type checkerApprovals_decide_Request = {
28667
+ readonly approvalId: string;
28668
+ readonly decision: "approve" | "reject";
28669
+ };
28670
+
28671
+ export type checkerApprovals_decide_RequestParts = {
28672
+ readonly path: {
28673
+ readonly approvalId: string;
28674
+ };
28675
+ readonly query?: Readonly<Record<string, never>>;
28676
+ readonly body: {
28677
+ readonly decision: "approve" | "reject";
28678
+ };
28679
+ };
28680
+
28681
+ export type checkerApprovals_decide_Response = CheckerApprovalDecisionResponse;
28682
+
28640
28683
  export type complianceProviders_cancelSecretRotation_Request = {
28641
28684
  readonly providerId: string;
28642
28685
  };
@@ -41691,7 +41734,7 @@ export type token_actions_Request = {
41691
41734
  readonly isEmpty?: unknown;
41692
41735
  readonly isNotEmpty?: unknown;
41693
41736
  } & Readonly<Record<string, unknown>>;
41694
- readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
41737
+ readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
41695
41738
  readonly eq?: string;
41696
41739
  readonly ne?: string;
41697
41740
  readonly inArray?: string;
@@ -41790,7 +41833,7 @@ export type token_actions_RequestParts = {
41790
41833
  readonly isEmpty?: unknown;
41791
41834
  readonly isNotEmpty?: unknown;
41792
41835
  } & Readonly<Record<string, unknown>>;
41793
- readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
41836
+ readonly actionType?: "MatureBond" | "RedeemBond" | "ClaimYield" | "ClaimDividend" | "ApproveMaturityAllowance" | "ApproveYieldAllowance" | "ApproveXvPSettlement" | "ExecuteXvPSettlement" | "UpdateKYCData" | "MultisigApproval" | "custody-pending" | "CheckerApproval" | "CastVote" | "CastPollBallot" | "ActivateVotingPower" | "MultisigInvite" | {
41794
41837
  readonly eq?: string;
41795
41838
  readonly ne?: string;
41796
41839
  readonly inArray?: string;
@@ -52632,6 +52675,49 @@ export type userProfile_versions_RequestParts = {
52632
52675
 
52633
52676
  export type userProfile_versions_Response = UserProfileVersionCollectionResponse;
52634
52677
 
52678
+ export type walletCheckerPolicy_read_Request = {
52679
+ readonly walletId: string;
52680
+ };
52681
+
52682
+ export type walletCheckerPolicy_read_RequestParts = {
52683
+ readonly path: {
52684
+ readonly walletId: string;
52685
+ };
52686
+ readonly query?: Readonly<Record<string, never>>;
52687
+ };
52688
+
52689
+ export type walletCheckerPolicy_read_Response = WalletCheckerPolicyResponse;
52690
+
52691
+ export type walletCheckerPolicy_remove_Request = {
52692
+ readonly walletId: string;
52693
+ };
52694
+
52695
+ export type walletCheckerPolicy_remove_RequestParts = {
52696
+ readonly path: {
52697
+ readonly walletId: string;
52698
+ };
52699
+ readonly query?: Readonly<Record<string, never>>;
52700
+ };
52701
+
52702
+ export type walletCheckerPolicy_remove_Response = WalletCheckerPolicyResponse;
52703
+
52704
+ export type walletCheckerPolicy_set_Request = {
52705
+ readonly walletId: string;
52706
+ readonly checkerEmail: string;
52707
+ };
52708
+
52709
+ export type walletCheckerPolicy_set_RequestParts = {
52710
+ readonly path: {
52711
+ readonly walletId: string;
52712
+ };
52713
+ readonly query?: Readonly<Record<string, never>>;
52714
+ readonly body: {
52715
+ readonly checkerEmail: string;
52716
+ };
52717
+ };
52718
+
52719
+ export type walletCheckerPolicy_set_Response = WalletCheckerPolicyResponse;
52720
+
52635
52721
  export type wallets_allocations_read_Request = {
52636
52722
  readonly allocationId: string;
52637
52723
  };
@@ -55637,6 +55723,9 @@ export type DalpConsoleApi = {
55637
55723
  readonly resetOnboarding: DalpOperation<admin_users_resetOnboarding_Request, admin_users_resetOnboarding_Response>;
55638
55724
  };
55639
55725
  };
55726
+ readonly checkerApprovals: {
55727
+ readonly decide: DalpOperation<checkerApprovals_decide_Request, checkerApprovals_decide_Response>;
55728
+ };
55640
55729
  readonly complianceProviders: {
55641
55730
  readonly cancelSecretRotation: DalpOperation<complianceProviders_cancelSecretRotation_Request, complianceProviders_cancelSecretRotation_Response>;
55642
55731
  readonly create: DalpOperation<complianceProviders_create_Request, complianceProviders_create_Response>;
@@ -56493,6 +56582,11 @@ export type DalpConsoleApi = {
56493
56582
  readonly update: DalpOperation<userProfile_update_Request, userProfile_update_Response>;
56494
56583
  readonly versions: DalpOperation<userProfile_versions_Request, userProfile_versions_Response>;
56495
56584
  };
56585
+ readonly walletCheckerPolicy: {
56586
+ readonly read: DalpOperation<walletCheckerPolicy_read_Request, walletCheckerPolicy_read_Response>;
56587
+ readonly remove: DalpOperation<walletCheckerPolicy_remove_Request, walletCheckerPolicy_remove_Response>;
56588
+ readonly set: DalpOperation<walletCheckerPolicy_set_Request, walletCheckerPolicy_set_Response>;
56589
+ };
56496
56590
  readonly wallets: {
56497
56591
  readonly allocations: {
56498
56592
  readonly read: DalpOperation<wallets_allocations_read_Request, wallets_allocations_read_Response>;
@@ -62064,6 +62158,12 @@ export interface DalpConsoleRouteTypes {
62064
62158
  readonly response: admin_users_resetOnboarding_Response;
62065
62159
  readonly streaming: false;
62066
62160
  };
62161
+ readonly "checkerApprovals/decide": {
62162
+ readonly request: checkerApprovals_decide_Request;
62163
+ readonly requestParts: checkerApprovals_decide_RequestParts;
62164
+ readonly response: checkerApprovals_decide_Response;
62165
+ readonly streaming: false;
62166
+ };
62067
62167
  readonly "complianceProviders/cancelSecretRotation": {
62068
62168
  readonly request: complianceProviders_cancelSecretRotation_Request;
62069
62169
  readonly requestParts: complianceProviders_cancelSecretRotation_RequestParts;
@@ -66096,6 +66196,24 @@ export interface DalpConsoleRouteTypes {
66096
66196
  readonly response: userProfile_versions_Response;
66097
66197
  readonly streaming: false;
66098
66198
  };
66199
+ readonly "walletCheckerPolicy/read": {
66200
+ readonly request: walletCheckerPolicy_read_Request;
66201
+ readonly requestParts: walletCheckerPolicy_read_RequestParts;
66202
+ readonly response: walletCheckerPolicy_read_Response;
66203
+ readonly streaming: false;
66204
+ };
66205
+ readonly "walletCheckerPolicy/remove": {
66206
+ readonly request: walletCheckerPolicy_remove_Request;
66207
+ readonly requestParts: walletCheckerPolicy_remove_RequestParts;
66208
+ readonly response: walletCheckerPolicy_remove_Response;
66209
+ readonly streaming: false;
66210
+ };
66211
+ readonly "walletCheckerPolicy/set": {
66212
+ readonly request: walletCheckerPolicy_set_Request;
66213
+ readonly requestParts: walletCheckerPolicy_set_RequestParts;
66214
+ readonly response: walletCheckerPolicy_set_Response;
66215
+ readonly streaming: false;
66216
+ };
66099
66217
  readonly "wallets/allocations/read": {
66100
66218
  readonly request: wallets_allocations_read_Request;
66101
66219
  readonly requestParts: wallets_allocations_read_RequestParts;
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  createCookieStoreFetch2,
26
26
  SDK_VERSION2,
27
27
  SDK_USER_AGENT2
28
- } from "./chunk-qyg35yf5.js";
28
+ } from "./chunk-svcwezhv.js";
29
29
  import {
30
30
  readsAsIndexerRebuild2
31
31
  } from "./chunk-5qkmb0bq.js";