@settlemint/dalp-sdk 3.1.26-main.37116470199 → 3.1.26

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 (123) hide show
  1. package/README.md +172 -239
  2. package/dist/api-types.generated.d.ts +14160 -0
  3. package/dist/api-types.generated.d.ts.map +1 -0
  4. package/dist/{auth/permissions.d.ts → auth-permissions.d.ts} +8 -0
  5. package/dist/auth-permissions.d.ts.map +1 -0
  6. package/dist/{auth/wallet-plugins.d.ts → auth-wallet-plugins.d.ts} +6 -68
  7. package/dist/auth-wallet-plugins.d.ts.map +1 -0
  8. package/dist/auth.d.ts +115 -8
  9. package/dist/auth.d.ts.map +1 -0
  10. package/dist/bundler.d.ts +217 -0
  11. package/dist/bundler.d.ts.map +1 -0
  12. package/dist/chunk-xm8h1dzh.js +33 -0
  13. package/dist/client.d.ts +19 -0
  14. package/dist/client.d.ts.map +1 -0
  15. package/dist/contract-errors.d.ts +4156 -0
  16. package/dist/contract-errors.d.ts.map +1 -0
  17. package/dist/contract.d.ts +22 -0
  18. package/dist/contract.d.ts.map +1 -0
  19. package/dist/cookie-store.d.ts +10 -0
  20. package/dist/cookie-store.d.ts.map +1 -0
  21. package/dist/dapi-errors.d.ts +654 -0
  22. package/dist/dapi-errors.d.ts.map +1 -0
  23. package/dist/errors.d.ts +637 -0
  24. package/dist/errors.d.ts.map +1 -0
  25. package/dist/index.d.ts +45 -28
  26. package/dist/index.d.ts.map +1 -0
  27. package/dist/index.js +96216 -150
  28. package/dist/platform.d.ts +41 -0
  29. package/dist/platform.d.ts.map +1 -0
  30. package/dist/plugins/index.d.ts +13 -0
  31. package/dist/plugins/index.d.ts.map +1 -0
  32. package/dist/plugins/index.js +10 -0
  33. package/dist/sdk-error.d.ts +74 -0
  34. package/dist/sdk-error.d.ts.map +1 -0
  35. package/dist/serializers.d.ts +41 -0
  36. package/dist/serializers.d.ts.map +1 -0
  37. package/dist/types.d.ts +114 -37
  38. package/dist/types.d.ts.map +1 -0
  39. package/dist/url.d.ts +1 -0
  40. package/dist/url.d.ts.map +1 -0
  41. package/dist/verify-webhook.d.ts +28 -17
  42. package/dist/verify-webhook.d.ts.map +1 -0
  43. package/dist/version.d.ts +3 -0
  44. package/dist/version.d.ts.map +1 -0
  45. package/dist/version.generated.d.ts +8 -0
  46. package/dist/version.generated.d.ts.map +1 -0
  47. package/dist/wait-for-transaction.d.ts +86 -44
  48. package/dist/wait-for-transaction.d.ts.map +1 -0
  49. package/dist/webhook-events.d.ts +33 -543
  50. package/dist/webhook-events.d.ts.map +1 -0
  51. package/package.json +34 -110
  52. package/dist/auth/client.d.ts +0 -103
  53. package/dist/auth/invite-step-up.d.ts +0 -2
  54. package/dist/auth/live.d.ts +0 -47
  55. package/dist/auth/native-passkey.d.ts +0 -9
  56. package/dist/auth-surface.d.ts +0 -2
  57. package/dist/auth.js +0 -525
  58. package/dist/chunk-4f4kjtt0.js +0 -149
  59. package/dist/chunk-b03ycwb7.js +0 -68
  60. package/dist/chunk-ghgcmyhk.js +0 -5
  61. package/dist/chunk-h241xecg.js +0 -1625
  62. package/dist/chunk-hqz56e6q.js +0 -4
  63. package/dist/chunk-k3ntysxx.js +0 -57
  64. package/dist/chunk-pjjrxre1.js +0 -36
  65. package/dist/chunk-qvtjb3dz.js +0 -102
  66. package/dist/chunk-v54k7mgr.js +0 -271
  67. package/dist/chunk-w361dpdk.js +0 -5
  68. package/dist/client/conditional-request.d.ts +0 -8
  69. package/dist/client/factory.d.ts +0 -4
  70. package/dist/client/query-serializer.d.ts +0 -1
  71. package/dist/client/request-compression.d.ts +0 -12
  72. package/dist/client/ssr-fetch.d.ts +0 -10
  73. package/dist/client/step-up-challenge.d.ts +0 -10
  74. package/dist/effect.d.ts +0 -38
  75. package/dist/effect.js +0 -87
  76. package/dist/errors/api-error.d.ts +0 -35
  77. package/dist/errors/error-codes.d.ts +0 -21
  78. package/dist/errors/find-current-error.d.ts +0 -2
  79. package/dist/errors/sdk-error.d.ts +0 -52
  80. package/dist/errors/sdk-error.js +0 -8
  81. package/dist/generated/api-types.d.ts +0 -69961
  82. package/dist/generated/console-routes.d.ts +0 -12
  83. package/dist/generated/error-catalog.d.ts +0 -9
  84. package/dist/generated/error-codes.d.ts +0 -9
  85. package/dist/generated/response-scalars.d.ts +0 -9
  86. package/dist/generated/response-schemas.d.ts +0 -9
  87. package/dist/generated/route-error-codes.d.ts +0 -9
  88. package/dist/generated/routes.d.ts +0 -12
  89. package/dist/proxy/builder.d.ts +0 -17
  90. package/dist/proxy/client-core.d.ts +0 -28
  91. package/dist/proxy/client.d.ts +0 -5
  92. package/dist/proxy/fetch-executor.d.ts +0 -6
  93. package/dist/proxy/flat-args.d.ts +0 -24
  94. package/dist/proxy/response-decode.d.ts +0 -37
  95. package/dist/proxy/sse.d.ts +0 -11
  96. package/dist/proxy/step-up-challenge.d.ts +0 -4
  97. package/dist/proxy/tanstack.d.ts +0 -6
  98. package/dist/proxy/transport.d.ts +0 -63
  99. package/dist/react-query.d.ts +0 -2
  100. package/dist/react-query.js +0 -12
  101. package/dist/readonly-deep.d.ts +0 -3
  102. package/dist/routes/console.d.ts +0 -14
  103. package/dist/routes/console.js +0 -25
  104. package/dist/routes/index.d.ts +0 -4
  105. package/dist/routes/index.js +0 -10
  106. package/dist/routes/types.d.ts +0 -72
  107. package/dist/runtime-exports.d.ts +0 -4
  108. package/dist/runtime-exports.js +0 -16
  109. package/dist/runtime.d.ts +0 -11
  110. package/dist/scalars/big-decimal.d.ts +0 -4
  111. package/dist/scalars/ethereum-address.d.ts +0 -5
  112. package/dist/scalars/exchange-rates.d.ts +0 -13
  113. package/dist/scalars/index.d.ts +0 -10
  114. package/dist/scalars/index.js +0 -102
  115. package/dist/scalars/organization-id.d.ts +0 -5
  116. package/dist/scalars/token-decimals.d.ts +0 -4
  117. package/dist/secret.d.ts +0 -12
  118. package/dist/sign-webhook-receipt.d.ts +0 -16
  119. package/dist/sign-webhook-receipt.js +0 -26
  120. package/dist/transport/cookie-store.d.ts +0 -9
  121. package/dist/transport/sse-lifecycle.d.ts +0 -24
  122. package/dist/verify-webhook.js +0 -8
  123. package/dist/wait-for-transaction.js +0 -151
@@ -1,19 +1,19 @@
1
1
  /**
2
2
  * Generated webhook event types.
3
3
  *
4
- * Do not edit by hand. Run `bun run --cwd sdk codegen:webhook-events-sdk`.
4
+ * Do not edit by hand. Run `bun run tools/scripts/generate-webhook-events-sdk.ts`.
5
5
  *
6
6
  * @module
7
7
  */
8
8
  export declare namespace Webhook {
9
- const MANIFEST_VERSION = "2026-09-29";
9
+ const MANIFEST_VERSION = "2026-08-14";
10
10
  type LifecycleState = "pending" | "provisional" | "final" | "retracted" | "recalled";
11
11
  type SupersedingLifecycleState = Extract<LifecycleState, "retracted" | "recalled">;
12
12
  /**
13
13
  * Adds `supersedes` only to lifecycle states that can authoritatively replace
14
14
  * an earlier event.
15
15
  *
16
- * @see ../../web/docs/content/events/idempotency-and-on-chain-outcome.mdx
16
+ * @see ../../kit/docs/content/events/idempotency-and-on-chain-outcome.mdx
17
17
  */
18
18
  type SupersedesAccessor<TState extends LifecycleState> = TState extends SupersedingLifecycleState ? {
19
19
  readonly supersedes: string;
@@ -24,7 +24,6 @@ export declare namespace Webhook {
24
24
  readonly type: TType;
25
25
  readonly version: TVersion;
26
26
  readonly evt_id: string;
27
- readonly source_id?: string;
28
27
  readonly lifecycle_state: TState;
29
28
  readonly payload: TPayload;
30
29
  readonly related: Readonly<Record<string, string>>;
@@ -33,324 +32,80 @@ export declare namespace Webhook {
33
32
  };
34
33
  readonly is_replay?: boolean;
35
34
  } & SupersedesAccessor<TState>;
36
- type AccessControlRoleGrantedProvisionalV2 = EventEnvelope<"access-control.role-granted.provisional", 2, "provisional", {
35
+ type AccessControlRoleGrantedProvisionalV1 = EventEnvelope<"access-control.role-granted.provisional", 1, "provisional", {
37
36
  readonly accessManagerAddress: string;
38
- readonly accountAddress?: string;
39
- readonly actorAddress?: string;
40
- readonly adminRoleFieldName: string | null;
41
- readonly adminRoleId: string | null;
37
+ readonly accountAddress: string;
42
38
  readonly blockNumber: string;
43
39
  readonly chainId: number;
44
- readonly roleFieldName: string | null;
45
40
  readonly roleId: string;
41
+ readonly sender: string;
46
42
  readonly systemAddress: string;
47
43
  readonly transactionHash: string;
48
44
  }>;
49
- type AccessControlRoleGrantedRetractedV2 = EventEnvelope<"access-control.role-granted.retracted", 2, "retracted", {
45
+ type AccessControlRoleGrantedRetractedV1 = EventEnvelope<"access-control.role-granted.retracted", 1, "retracted", {
50
46
  readonly accessManagerAddress: string;
51
- readonly accountAddress?: string;
52
- readonly actorAddress?: string;
53
- readonly adminRoleFieldName: string | null;
54
- readonly adminRoleId: string | null;
47
+ readonly accountAddress: string;
55
48
  readonly blockNumber: string;
56
49
  readonly chainId: number;
57
50
  readonly reorgBlockNumber: number;
58
- readonly roleFieldName: string | null;
59
51
  readonly roleId: string;
52
+ readonly sender: string;
60
53
  readonly supersedes: string;
61
54
  readonly systemAddress: string;
62
55
  readonly transactionHash: string;
63
56
  }>;
64
- type AccessControlRoleRevokedProvisionalV2 = EventEnvelope<"access-control.role-revoked.provisional", 2, "provisional", {
57
+ type AccessControlRoleRevokedProvisionalV1 = EventEnvelope<"access-control.role-revoked.provisional", 1, "provisional", {
65
58
  readonly accessManagerAddress: string;
66
- readonly accountAddress?: string;
67
- readonly actorAddress?: string;
68
- readonly adminRoleFieldName: string | null;
69
- readonly adminRoleId: string | null;
59
+ readonly accountAddress: string;
70
60
  readonly blockNumber: string;
71
61
  readonly chainId: number;
72
- readonly roleFieldName: string | null;
73
62
  readonly roleId: string;
63
+ readonly sender: string;
74
64
  readonly systemAddress: string;
75
65
  readonly transactionHash: string;
76
66
  }>;
77
- type AccessControlRoleRevokedRetractedV2 = EventEnvelope<"access-control.role-revoked.retracted", 2, "retracted", {
67
+ type AccessControlRoleRevokedRetractedV1 = EventEnvelope<"access-control.role-revoked.retracted", 1, "retracted", {
78
68
  readonly accessManagerAddress: string;
79
- readonly accountAddress?: string;
80
- readonly actorAddress?: string;
81
- readonly adminRoleFieldName: string | null;
82
- readonly adminRoleId: string | null;
69
+ readonly accountAddress: string;
83
70
  readonly blockNumber: string;
84
71
  readonly chainId: number;
85
72
  readonly reorgBlockNumber: number;
86
- readonly roleFieldName: string | null;
87
73
  readonly roleId: string;
74
+ readonly sender: string;
88
75
  readonly supersedes: string;
89
76
  readonly systemAddress: string;
90
77
  readonly transactionHash: string;
91
78
  }>;
92
- type AssetBurnFinalV1 = EventEnvelope<"asset.burn.final", 1, "final", {
93
- readonly assetAddress: string;
94
- readonly blockNumber: number;
95
- readonly chainId: number;
96
- readonly holder?: string;
97
- readonly logIndex: number;
98
- readonly operator?: string;
99
- readonly quantity: string;
100
- readonly transactionHash: string;
101
- readonly transferSourceId: string;
102
- }>;
103
- type AssetCreatedFinalV1 = EventEnvelope<"asset.created.final", 1, "final", {
104
- readonly assetAddress: string;
105
- readonly assetType: string;
106
- readonly blockNumber: number;
107
- readonly chainId: number;
108
- readonly creator?: string;
109
- readonly decimals: number;
110
- readonly factoryAddress: string;
111
- readonly identityAddress: string;
112
- readonly logIndex: number;
113
- readonly name: string;
114
- readonly symbol: string;
115
- readonly transactionHash: string;
116
- }>;
117
- type AssetIssuanceFinalV1 = EventEnvelope<"asset.issuance.final", 1, "final", {
118
- readonly assetAddress: string;
119
- readonly blockNumber: number;
120
- readonly chainId: number;
121
- readonly issuer?: string;
122
- readonly logIndex: number;
123
- readonly quantity: string;
124
- readonly recipient?: string;
125
- readonly transactionHash: string;
126
- readonly transferSourceId: string;
127
- }>;
128
79
  type AssetIssuanceProvisionalV1 = EventEnvelope<"asset.issuance.provisional", 1, "provisional", {
129
80
  readonly assetAddress: string;
130
- readonly blockNumber: number;
131
81
  readonly chainId: number;
132
- readonly issuer?: string;
133
- readonly logIndex: number;
134
- readonly quantity: string;
135
- readonly recipient?: string;
136
- readonly transactionHash: string;
137
- readonly transferSourceId: string;
138
- }>;
139
- type AssetIssuanceRetractedV1 = EventEnvelope<"asset.issuance.retracted", 1, "retracted", {
140
- readonly assetAddress: string;
141
- readonly blockNumber: number;
142
- readonly chainId: number;
143
- readonly issuer?: string;
144
- readonly logIndex: number;
82
+ readonly issuer: string;
145
83
  readonly quantity: string;
146
- readonly recipient?: string;
147
- readonly reorgBlockNumber: number;
148
- readonly supersedes: string;
149
- readonly transactionHash: string;
150
- readonly transferSourceId: string;
151
- }>;
152
- type AssetPauseFinalV1 = EventEnvelope<"asset.pause.final", 1, "final", {
153
- readonly assetAddress: string;
154
- readonly blockNumber: number;
155
- readonly chainId: number;
156
- readonly logIndex: number;
157
- readonly operator?: string | null;
158
- readonly paused: boolean;
159
- readonly transactionHash: string;
160
- }>;
161
- type AssetUnpauseFinalV1 = EventEnvelope<"asset.unpause.final", 1, "final", {
162
- readonly assetAddress: string;
163
- readonly blockNumber: number;
164
- readonly chainId: number;
165
- readonly logIndex: number;
166
- readonly operator?: string | null;
167
- readonly paused: boolean;
168
- readonly transactionHash: string;
169
- }>;
170
- type ComplianceFreezeFinalV1 = EventEnvelope<"compliance.freeze.final", 1, "final", {
171
- readonly amount: string | null;
172
- readonly blockNumber: number;
173
- readonly chainId: number;
174
- readonly logIndex: number;
175
- readonly operator?: string | null;
176
- readonly scope: "address" | "amount";
177
- readonly subjectAddress?: string;
178
- readonly tokenAddress: string;
179
- readonly transactionHash: string;
180
- }>;
181
- type ComplianceFreezeProvisionalV1 = EventEnvelope<"compliance.freeze.provisional", 1, "provisional", {
182
- readonly amount: string | null;
183
- readonly blockNumber: number;
184
- readonly chainId: number;
185
- readonly logIndex: number;
186
- readonly operator?: string | null;
187
- readonly scope: "address" | "amount";
188
- readonly subjectAddress?: string;
189
- readonly tokenAddress: string;
190
84
  readonly transactionHash: string;
191
85
  }>;
192
86
  type ComplianceFreezeRecalledV1 = EventEnvelope<"compliance.freeze.recalled", 1, "recalled", {
193
87
  readonly chainId: number;
194
- readonly reasonCode?: string;
88
+ readonly reasonCode: string;
195
89
  readonly recalledBy: string;
196
- readonly subjectAddress?: string;
197
- readonly supersedes: string;
198
- readonly tokenAddress: string;
199
- }>;
200
- type ComplianceFreezeRetractedV1 = EventEnvelope<"compliance.freeze.retracted", 1, "retracted", {
201
- readonly amount: string | null;
202
- readonly blockNumber: number;
203
- readonly chainId: number;
204
- readonly logIndex: number;
205
- readonly operator?: string | null;
206
- readonly reorgBlockNumber: number;
207
- readonly scope: "address" | "amount";
208
- readonly subjectAddress?: string;
90
+ readonly subjectAddress: string;
209
91
  readonly supersedes: string;
210
92
  readonly tokenAddress: string;
211
- readonly transactionHash: string;
212
- }>;
213
- type ComplianceUnfreezeFinalV1 = EventEnvelope<"compliance.unfreeze.final", 1, "final", {
214
- readonly amount: string | null;
215
- readonly blockNumber: number;
216
- readonly chainId: number;
217
- readonly logIndex: number;
218
- readonly operator?: string | null;
219
- readonly scope: "address" | "amount";
220
- readonly subjectAddress?: string;
221
- readonly tokenAddress: string;
222
- readonly transactionHash: string;
223
- }>;
224
- type ComplianceVerificationVerdictFinalV1 = EventEnvelope<"compliance.verification-verdict.final", 1, "final", {
225
- readonly chainId: number;
226
- readonly claimEffect: "issued" | "revoked" | "none";
227
- readonly decidedAt: string;
228
- readonly provider: string;
229
- readonly providerId: string;
230
- readonly status: "approved" | "rejected" | "under_review" | "action_required";
231
- readonly subjectIdentityAddress?: string;
232
- readonly topicName: string;
233
- }>;
234
- type CustodyAccountCreatedFinalV1 = EventEnvelope<"custody.account-created.final", 1, "final", {
235
- readonly accountAddress?: string;
236
- readonly blockNumber: number;
237
- readonly chainId: number;
238
- readonly factoryAddress: string;
239
- readonly identityAddress: string | null;
240
- readonly logIndex: number;
241
- readonly occurredAt: string;
242
- readonly ownerAddress?: string;
243
- readonly transactionHash: string;
244
- }>;
245
- type CustodySignerChangedFinalV1 = EventEnvelope<"custody.signer-changed.final", 1, "final", {
246
- readonly accountAddress?: string;
247
- readonly blockNumber: number;
248
- readonly chainId: number;
249
- readonly change: "signer-added" | "signer-removed" | "signer-weight-changed" | "threshold-changed" | "owner-changed";
250
- readonly logIndex: number;
251
- readonly occurredAt: string;
252
- readonly previousSignerHash: string | null;
253
- readonly previousThreshold: string | null;
254
- readonly signerHash: string | null;
255
- readonly threshold: string | null;
256
- readonly transactionHash: string;
257
- readonly validatorAddress: string;
258
- readonly weight: string | null;
259
- }>;
260
- type FundingRequirementExpiredV1 = EventEnvelope<"funding.requirement.expired", 1, "final", {
261
- readonly advisoryTotalWei?: string;
262
- readonly chainId: number;
263
- readonly entryPointAddress?: string;
264
- readonly expiresAt: string;
265
- readonly lastRefusalAt: string;
266
- readonly observedWei?: string;
267
- readonly requiredWei: string;
268
- readonly requirementId: string;
269
- readonly resolvedAt?: string;
270
- readonly role?: string;
271
- readonly status: "active" | "resolved" | "expired";
272
- readonly subjectAddress?: string;
273
- readonly subjectKind: "eoa" | "smart-account" | "paymaster-deposit";
274
- readonly subjectOwner?: string;
275
- readonly workflowExecutionId?: string;
276
- }>;
277
- type FundingRequirementRaisedV1 = EventEnvelope<"funding.requirement.raised", 1, "final", {
278
- readonly advisoryTotalWei?: string;
279
- readonly chainId: number;
280
- readonly entryPointAddress?: string;
281
- readonly expiresAt: string;
282
- readonly lastRefusalAt: string;
283
- readonly observedWei?: string;
284
- readonly requiredWei: string;
285
- readonly requirementId: string;
286
- readonly resolvedAt?: string;
287
- readonly role?: string;
288
- readonly status: "active" | "resolved" | "expired";
289
- readonly subjectAddress?: string;
290
- readonly subjectKind: "eoa" | "smart-account" | "paymaster-deposit";
291
- readonly subjectOwner?: string;
292
- readonly workflowExecutionId?: string;
293
- }>;
294
- type FundingRequirementResolvedV1 = EventEnvelope<"funding.requirement.resolved", 1, "final", {
295
- readonly advisoryTotalWei?: string;
296
- readonly chainId: number;
297
- readonly entryPointAddress?: string;
298
- readonly expiresAt: string;
299
- readonly lastRefusalAt: string;
300
- readonly observedWei?: string;
301
- readonly requiredWei: string;
302
- readonly requirementId: string;
303
- readonly resolvedAt?: string;
304
- readonly role?: string;
305
- readonly status: "active" | "resolved" | "expired";
306
- readonly subjectAddress?: string;
307
- readonly subjectKind: "eoa" | "smart-account" | "paymaster-deposit";
308
- readonly subjectOwner?: string;
309
- readonly workflowExecutionId?: string;
310
- }>;
311
- type IdentityClaimIssuedFinalV1 = EventEnvelope<"identity.claim-issued.final", 1, "final", {
312
- readonly accountAddress?: string;
313
- readonly blockNumber: number;
314
- readonly chainId: number;
315
- readonly change: "added" | "changed";
316
- readonly claimId: string;
317
- readonly identityAddress: string;
318
- readonly issuerAddress: string;
319
- readonly logIndex: number;
320
- readonly occurredAt: string;
321
- readonly registryAddress: string;
322
- readonly topicId: string;
323
- readonly transactionHash: string;
324
- }>;
325
- type IdentityClaimRevokedFinalV1 = EventEnvelope<"identity.claim-revoked.final", 1, "final", {
326
- readonly accountAddress?: string;
327
- readonly blockNumber: number;
328
- readonly chainId: number;
329
- readonly change: "removed" | "revoked";
330
- readonly claimId: string;
331
- readonly identityAddress: string;
332
- readonly issuerAddress: string;
333
- readonly logIndex: number;
334
- readonly occurredAt: string;
335
- readonly registryAddress: string;
336
- readonly topicId: string;
337
- readonly transactionHash: string;
338
93
  }>;
339
94
  type IdentityRegistrationProvisionalV1 = EventEnvelope<"identity.registration.provisional", 1, "provisional", {
340
- readonly accountAddress?: string;
95
+ readonly accountAddress: string;
341
96
  readonly blockNumber: string;
342
97
  readonly chainId: number;
343
- readonly country?: number | null;
98
+ readonly country: number;
344
99
  readonly identityAddress: string;
345
100
  readonly registryAddress: string;
346
101
  readonly status: string;
347
102
  readonly transactionHash: string;
348
103
  }>;
349
104
  type IdentityRegistrationRetractedV1 = EventEnvelope<"identity.registration.retracted", 1, "retracted", {
350
- readonly accountAddress?: string;
105
+ readonly accountAddress: string;
351
106
  readonly blockNumber: string;
352
107
  readonly chainId: number;
353
- readonly country?: number | null;
108
+ readonly country: number;
354
109
  readonly identityAddress: string;
355
110
  readonly registryAddress: string;
356
111
  readonly reorgBlockNumber: number;
@@ -358,70 +113,6 @@ export declare namespace Webhook {
358
113
  readonly supersedes: string;
359
114
  readonly transactionHash: string;
360
115
  }>;
361
- type IdentityStatusFinalV1 = EventEnvelope<"identity.status.final", 1, "final", {
362
- readonly accountAddress?: string;
363
- readonly blockNumber: number;
364
- readonly chainId: number;
365
- readonly change: "registered" | "accepted" | "identity-replaced" | "removed" | "recovered";
366
- readonly identityAddress: string;
367
- readonly logIndex: number;
368
- readonly occurredAt: string;
369
- readonly previousAccountAddress?: string | null;
370
- readonly previousIdentityAddress?: string | null;
371
- readonly previousStatus: "pending" | "active" | "removed" | null;
372
- readonly registryAddress: string;
373
- readonly status: "pending" | "active" | "removed";
374
- readonly transactionHash: string;
375
- }>;
376
- type PrimaryMarketDeliveryFinalV1 = EventEnvelope<"primary-market.delivery.final", 1, "final", {
377
- readonly blockNumber: number;
378
- readonly chainId: number;
379
- readonly investorAddress?: string;
380
- readonly logIndex: number;
381
- readonly occurredAt: string;
382
- readonly saleAddress: string;
383
- readonly tokenAddress: string;
384
- readonly tokenAmount: string;
385
- readonly transactionHash: string;
386
- }>;
387
- type PrimaryMarketProceedsWithdrawnFinalV1 = EventEnvelope<"primary-market.proceeds-withdrawn.final", 1, "final", {
388
- readonly amount: string;
389
- readonly blockNumber: number;
390
- readonly chainId: number;
391
- readonly currencyAddress: string;
392
- readonly logIndex: number;
393
- readonly occurredAt: string;
394
- readonly recipientAddress?: string;
395
- readonly saleAddress: string;
396
- readonly tokenAddress: string;
397
- readonly transactionHash: string;
398
- }>;
399
- type PrimaryMarketRefundFinalV1 = EventEnvelope<"primary-market.refund.final", 1, "final", {
400
- readonly amount: string;
401
- readonly blockNumber: number;
402
- readonly chainId: number;
403
- readonly currencyAddress: string;
404
- readonly investorAddress?: string;
405
- readonly logIndex: number;
406
- readonly occurredAt: string;
407
- readonly reason: "sale-failed" | "undeliverable-purchase";
408
- readonly saleAddress: string;
409
- readonly tokenAddress: string;
410
- readonly transactionHash: string;
411
- }>;
412
- type PrimaryMarketSubscriptionFinalV1 = EventEnvelope<"primary-market.subscription.final", 1, "final", {
413
- readonly blockNumber: number;
414
- readonly chainId: number;
415
- readonly investorAddress?: string;
416
- readonly logIndex: number;
417
- readonly occurredAt: string;
418
- readonly paymentAmount: string;
419
- readonly paymentCurrencyAddress: string;
420
- readonly saleAddress: string;
421
- readonly tokenAddress: string;
422
- readonly tokenAmount: string;
423
- readonly transactionHash: string;
424
- }>;
425
116
  type SettlementTransferRetractedV1 = EventEnvelope<"settlement.transfer.retracted", 1, "retracted", {
426
117
  readonly chainId: number;
427
118
  readonly reorgBlockNumber: number;
@@ -433,235 +124,33 @@ export declare namespace Webhook {
433
124
  readonly amount: string;
434
125
  readonly blockNumber: number;
435
126
  readonly chainId: number;
436
- readonly from?: string;
127
+ readonly from: string;
437
128
  readonly logIndex: number;
438
- readonly to?: string;
439
- readonly tokenAddress: string;
440
- readonly transactionHash: string;
441
- }>;
442
- type TokenTransferFinalV2 = EventEnvelope<"token.transfer.final", 2, "final", {
443
- readonly amount: string;
444
- readonly blockNumber: number;
445
- readonly chainId: number;
446
- readonly from?: string;
447
- readonly logIndex: number;
448
- readonly to?: string;
129
+ readonly to: string;
449
130
  readonly tokenAddress: string;
450
131
  readonly transactionHash: string;
451
132
  }>;
452
133
  type TokenTransferPendingV1 = EventEnvelope<"token.transfer.pending", 1, "pending", {
453
134
  readonly amount: string;
454
135
  readonly chainId: number;
455
- readonly from?: string;
456
- readonly to?: string;
457
- readonly tokenAddress: string;
458
- readonly transactionHash: string;
459
- }>;
460
- type TokenTransferProvisionalV1 = EventEnvelope<"token.transfer.provisional", 1, "provisional", {
461
- readonly amount: string;
462
- readonly blockNumber: number;
463
- readonly chainId: number;
464
- readonly from?: string;
465
- readonly logIndex: number;
466
- readonly to?: string;
136
+ readonly from: string;
137
+ readonly to: string;
467
138
  readonly tokenAddress: string;
468
139
  readonly transactionHash: string;
469
140
  }>;
470
141
  type TokenTransferRetractedV1 = EventEnvelope<"token.transfer.retracted", 1, "retracted", {
471
142
  readonly amount: string;
472
- readonly blockNumber: number;
473
- readonly chainId: number;
474
- readonly from?: string;
475
- readonly logIndex: number;
476
- readonly reorgBlockNumber: number;
477
- readonly supersedes: string;
478
- readonly to?: string;
479
- readonly tokenAddress: string;
480
- readonly transactionHash: string;
481
- } | {
482
- readonly amount: string;
483
- readonly chainId: number;
484
- readonly from?: string;
485
- readonly reorgBlockNumber: number;
486
- readonly supersedes: string;
487
- readonly to?: string;
488
- readonly tokenAddress: string;
489
- readonly transactionHash: string;
490
- }>;
491
- type TokenTransferRetractedV2 = EventEnvelope<"token.transfer.retracted", 2, "retracted", {
492
- readonly amount: string;
493
- readonly blockNumber: number;
494
- readonly chainId: number;
495
- readonly from?: string;
496
- readonly logIndex: number;
497
- readonly reorgBlockNumber: number;
498
- readonly supersedes: string;
499
- readonly to?: string;
500
- readonly tokenAddress: string;
501
- readonly transactionHash: string;
502
- } | {
503
- readonly amount: string;
143
+ readonly blockNumber?: number;
504
144
  readonly chainId: number;
505
- readonly from?: string;
145
+ readonly from: string;
146
+ readonly logIndex?: number;
506
147
  readonly reorgBlockNumber: number;
507
148
  readonly supersedes: string;
508
- readonly to?: string;
149
+ readonly to: string;
509
150
  readonly tokenAddress: string;
510
151
  readonly transactionHash: string;
511
152
  }>;
512
- type TradingVenueOrderStatusProvisionalV1 = EventEnvelope<"trading-venue.order-status.provisional", 1, "provisional", {
513
- readonly chainId: number;
514
- readonly closeReason: string | null;
515
- readonly filledQuantity: string;
516
- readonly makerAddress?: string;
517
- readonly marketId: string;
518
- readonly occurredAt: string;
519
- readonly orderId: string;
520
- readonly quantity: string;
521
- readonly remainingQuantity: string;
522
- readonly sequence: string;
523
- readonly side: "buy" | "sell";
524
- readonly status: "pending_reservation" | "armed" | "working" | "partially_filled" | "filled" | "cancelled" | "expired" | "rejected" | "pruned";
525
- }>;
526
- type XvpApprovalRevokedFinalV1 = EventEnvelope<"xvp.approval-revoked.final", 1, "final", {
527
- readonly accountAddress?: string;
528
- readonly approvedCount: number;
529
- readonly blockNumber: number;
530
- readonly chainId: number;
531
- readonly logIndex: number;
532
- readonly occurredAt: string;
533
- readonly requiredCount: number;
534
- readonly settlementAddress: string;
535
- readonly transactionHash: string;
536
- }>;
537
- type XvpAssetsLockedFinalV1 = EventEnvelope<"xvp.assets-locked.final", 1, "final", {
538
- readonly accountAddress?: string;
539
- readonly amount: string;
540
- readonly assetAddress: string;
541
- readonly blockNumber: number;
542
- readonly chainId: number;
543
- readonly logIndex: number;
544
- readonly occurredAt: string;
545
- readonly settlementAddress: string;
546
- readonly transactionHash: string;
547
- }>;
548
- type XvpAssetsRefundedFinalV1 = EventEnvelope<"xvp.assets-refunded.final", 1, "final", {
549
- readonly accountAddress?: string;
550
- readonly amount: string;
551
- readonly assetAddress: string;
552
- readonly blockNumber: number;
553
- readonly chainId: number;
554
- readonly logIndex: number;
555
- readonly occurredAt: string;
556
- readonly settlementAddress: string;
557
- readonly transactionHash: string;
558
- }>;
559
- type XvpDeliveryClaimedFinalV1 = EventEnvelope<"xvp.delivery-claimed.final", 1, "final", {
560
- readonly accountAddress?: string;
561
- readonly amount: string;
562
- readonly assetAddress: string;
563
- readonly blockNumber: number;
564
- readonly chainId: number;
565
- readonly logIndex: number;
566
- readonly occurredAt: string;
567
- readonly settlementAddress: string;
568
- readonly transactionHash: string;
569
- }>;
570
- type XvpDeliveryDeferredFinalV1 = EventEnvelope<"xvp.delivery-deferred.final", 1, "final", {
571
- readonly accountAddress?: string;
572
- readonly amount: string;
573
- readonly assetAddress: string;
574
- readonly blockNumber: number;
575
- readonly chainId: number;
576
- readonly logIndex: number;
577
- readonly occurredAt: string;
578
- readonly settlementAddress: string;
579
- readonly transactionHash: string;
580
- }>;
581
- type XvpRefundDeferredFinalV1 = EventEnvelope<"xvp.refund-deferred.final", 1, "final", {
582
- readonly accountAddress?: string;
583
- readonly amount: string;
584
- readonly assetAddress: string;
585
- readonly blockNumber: number;
586
- readonly chainId: number;
587
- readonly logIndex: number;
588
- readonly occurredAt: string;
589
- readonly settlementAddress: string;
590
- readonly transactionHash: string;
591
- }>;
592
- type XvpSettlementApprovedFinalV1 = EventEnvelope<"xvp.settlement-approved.final", 1, "final", {
593
- readonly accountAddress?: string;
594
- readonly approvedCount: number;
595
- readonly blockNumber: number;
596
- readonly chainId: number;
597
- readonly logIndex: number;
598
- readonly occurredAt: string;
599
- readonly requiredCount: number;
600
- readonly settlementAddress: string;
601
- readonly transactionHash: string;
602
- }>;
603
- type XvpSettlementCancelledFinalV1 = EventEnvelope<"xvp.settlement-cancelled.final", 1, "final", {
604
- readonly blockNumber: number;
605
- readonly cancellerAddress?: string;
606
- readonly chainId: number;
607
- readonly logIndex: number;
608
- readonly occurredAt: string;
609
- readonly settlementAddress: string;
610
- readonly transactionHash: string;
611
- }>;
612
- type XvpSettlementCreatedFinalV1 = EventEnvelope<"xvp.settlement-created.final", 1, "final", {
613
- readonly autoExecute: boolean;
614
- readonly blockNumber: number;
615
- readonly chainId: number;
616
- readonly creatorAddress?: string;
617
- readonly cutoffAt: string;
618
- readonly factoryAddress: string;
619
- readonly flows?: readonly {
620
- readonly amount: string;
621
- readonly assetAddress: string;
622
- readonly externalAssetDecimals: number | null;
623
- readonly externalChainId: number;
624
- readonly fromAddress: string;
625
- readonly legIndex: number;
626
- readonly toAddress: string;
627
- }[];
628
- readonly hasExternalFlows: boolean;
629
- readonly hashlock: string;
630
- readonly logIndex: number;
631
- readonly name?: string;
632
- readonly occurredAt: string;
633
- readonly settlementAddress: string;
634
- readonly transactionHash: string;
635
- }>;
636
- type XvpSettlementExecutedFinalV1 = EventEnvelope<"xvp.settlement-executed.final", 1, "final", {
637
- readonly blockNumber: number;
638
- readonly chainId: number;
639
- readonly executorAddress?: string;
640
- readonly flows?: readonly {
641
- readonly amount: string;
642
- readonly assetAddress: string;
643
- readonly externalAssetDecimals: number | null;
644
- readonly externalChainId: number;
645
- readonly fromAddress: string;
646
- readonly legIndex: number;
647
- readonly toAddress: string;
648
- }[];
649
- readonly logIndex: number;
650
- readonly occurredAt: string;
651
- readonly settlementAddress: string;
652
- readonly transactionHash: string;
653
- }>;
654
- type XvpSettlementExpiredFinalV1 = EventEnvelope<"xvp.settlement-expired.final", 1, "final", {
655
- readonly blockNumber: number;
656
- readonly callerAddress?: string;
657
- readonly chainId: number;
658
- readonly cutoffAt: string;
659
- readonly logIndex: number;
660
- readonly occurredAt: string;
661
- readonly settlementAddress: string;
662
- readonly transactionHash: string;
663
- }>;
664
- type AnyEvent = AccessControlRoleGrantedProvisionalV2 | AccessControlRoleGrantedRetractedV2 | AccessControlRoleRevokedProvisionalV2 | AccessControlRoleRevokedRetractedV2 | AssetBurnFinalV1 | AssetCreatedFinalV1 | AssetIssuanceFinalV1 | AssetIssuanceProvisionalV1 | AssetIssuanceRetractedV1 | AssetPauseFinalV1 | AssetUnpauseFinalV1 | ComplianceFreezeFinalV1 | ComplianceFreezeProvisionalV1 | ComplianceFreezeRecalledV1 | ComplianceFreezeRetractedV1 | ComplianceUnfreezeFinalV1 | ComplianceVerificationVerdictFinalV1 | CustodyAccountCreatedFinalV1 | CustodySignerChangedFinalV1 | FundingRequirementExpiredV1 | FundingRequirementRaisedV1 | FundingRequirementResolvedV1 | IdentityClaimIssuedFinalV1 | IdentityClaimRevokedFinalV1 | IdentityRegistrationProvisionalV1 | IdentityRegistrationRetractedV1 | IdentityStatusFinalV1 | PrimaryMarketDeliveryFinalV1 | PrimaryMarketProceedsWithdrawnFinalV1 | PrimaryMarketRefundFinalV1 | PrimaryMarketSubscriptionFinalV1 | SettlementTransferRetractedV1 | TokenTransferFinalV1 | TokenTransferFinalV2 | TokenTransferPendingV1 | TokenTransferProvisionalV1 | TokenTransferRetractedV1 | TokenTransferRetractedV2 | TradingVenueOrderStatusProvisionalV1 | XvpApprovalRevokedFinalV1 | XvpAssetsLockedFinalV1 | XvpAssetsRefundedFinalV1 | XvpDeliveryClaimedFinalV1 | XvpDeliveryDeferredFinalV1 | XvpRefundDeferredFinalV1 | XvpSettlementApprovedFinalV1 | XvpSettlementCancelledFinalV1 | XvpSettlementCreatedFinalV1 | XvpSettlementExecutedFinalV1 | XvpSettlementExpiredFinalV1;
153
+ type AnyEvent = AccessControlRoleGrantedProvisionalV1 | AccessControlRoleGrantedRetractedV1 | AccessControlRoleRevokedProvisionalV1 | AccessControlRoleRevokedRetractedV1 | AssetIssuanceProvisionalV1 | ComplianceFreezeRecalledV1 | IdentityRegistrationProvisionalV1 | IdentityRegistrationRetractedV1 | SettlementTransferRetractedV1 | TokenTransferFinalV1 | TokenTransferPendingV1 | TokenTransferRetractedV1;
665
154
  type EventType = AnyEvent["type"];
666
155
  type Event<TType extends EventType = EventType> = Extract<AnyEvent, {
667
156
  readonly type: TType;
@@ -674,4 +163,5 @@ export declare namespace Webhook {
674
163
  * on `Webhook.Event["type"]`; newer DALP deployments may add event types
675
164
  * without breaking older SDK versions.
676
165
  */
677
- export declare const WEBHOOK_MANIFEST_VERSION = "2026-09-29";
166
+ export declare const WEBHOOK_MANIFEST_VERSION = "2026-08-14";
167
+ //# sourceMappingURL=webhook-events.d.ts.map