@settlemint/dalp-sdk 3.1.25 → 3.1.26-main.37113215468

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 +239 -172
  2. package/dist/auth/client.d.ts +103 -0
  3. package/dist/auth/invite-step-up.d.ts +2 -0
  4. package/dist/auth/live.d.ts +47 -0
  5. package/dist/auth/native-passkey.d.ts +9 -0
  6. package/dist/{auth-permissions.d.ts → auth/permissions.d.ts} +0 -8
  7. package/dist/{auth-wallet-plugins.d.ts → auth/wallet-plugins.d.ts} +68 -6
  8. package/dist/auth-surface.d.ts +2 -0
  9. package/dist/auth.d.ts +8 -115
  10. package/dist/auth.js +525 -0
  11. package/dist/chunk-16xvy8xj.js +271 -0
  12. package/dist/chunk-4f4kjtt0.js +149 -0
  13. package/dist/chunk-b03ycwb7.js +68 -0
  14. package/dist/chunk-ghgcmyhk.js +5 -0
  15. package/dist/chunk-h241xecg.js +1625 -0
  16. package/dist/chunk-hqz56e6q.js +4 -0
  17. package/dist/chunk-k3ntysxx.js +57 -0
  18. package/dist/chunk-pjjrxre1.js +36 -0
  19. package/dist/chunk-qvtjb3dz.js +102 -0
  20. package/dist/chunk-w361dpdk.js +5 -0
  21. package/dist/client/conditional-request.d.ts +8 -0
  22. package/dist/client/factory.d.ts +4 -0
  23. package/dist/client/query-serializer.d.ts +1 -0
  24. package/dist/client/request-compression.d.ts +12 -0
  25. package/dist/client/ssr-fetch.d.ts +10 -0
  26. package/dist/client/step-up-challenge.d.ts +10 -0
  27. package/dist/effect.d.ts +38 -0
  28. package/dist/effect.js +87 -0
  29. package/dist/errors/api-error.d.ts +35 -0
  30. package/dist/errors/error-codes.d.ts +21 -0
  31. package/dist/errors/find-current-error.d.ts +2 -0
  32. package/dist/errors/sdk-error.d.ts +52 -0
  33. package/dist/errors/sdk-error.js +8 -0
  34. package/dist/generated/api-types.d.ts +69961 -0
  35. package/dist/generated/console-routes.d.ts +12 -0
  36. package/dist/generated/error-catalog.d.ts +9 -0
  37. package/dist/generated/error-codes.d.ts +9 -0
  38. package/dist/generated/response-scalars.d.ts +9 -0
  39. package/dist/generated/response-schemas.d.ts +9 -0
  40. package/dist/generated/route-error-codes.d.ts +9 -0
  41. package/dist/generated/routes.d.ts +12 -0
  42. package/dist/index.d.ts +28 -45
  43. package/dist/index.js +150 -96216
  44. package/dist/proxy/builder.d.ts +17 -0
  45. package/dist/proxy/client-core.d.ts +28 -0
  46. package/dist/proxy/client.d.ts +5 -0
  47. package/dist/proxy/fetch-executor.d.ts +6 -0
  48. package/dist/proxy/flat-args.d.ts +24 -0
  49. package/dist/proxy/response-decode.d.ts +37 -0
  50. package/dist/proxy/sse.d.ts +11 -0
  51. package/dist/proxy/step-up-challenge.d.ts +4 -0
  52. package/dist/proxy/tanstack.d.ts +6 -0
  53. package/dist/proxy/transport.d.ts +63 -0
  54. package/dist/react-query.d.ts +2 -0
  55. package/dist/react-query.js +12 -0
  56. package/dist/readonly-deep.d.ts +3 -0
  57. package/dist/routes/console.d.ts +14 -0
  58. package/dist/routes/console.js +25 -0
  59. package/dist/routes/index.d.ts +4 -0
  60. package/dist/routes/index.js +10 -0
  61. package/dist/routes/types.d.ts +72 -0
  62. package/dist/runtime-exports.d.ts +4 -0
  63. package/dist/runtime-exports.js +16 -0
  64. package/dist/runtime.d.ts +11 -0
  65. package/dist/scalars/big-decimal.d.ts +4 -0
  66. package/dist/scalars/ethereum-address.d.ts +5 -0
  67. package/dist/scalars/exchange-rates.d.ts +13 -0
  68. package/dist/scalars/index.d.ts +10 -0
  69. package/dist/scalars/index.js +102 -0
  70. package/dist/scalars/organization-id.d.ts +5 -0
  71. package/dist/scalars/token-decimals.d.ts +4 -0
  72. package/dist/secret.d.ts +12 -0
  73. package/dist/sign-webhook-receipt.d.ts +16 -0
  74. package/dist/sign-webhook-receipt.js +26 -0
  75. package/dist/transport/cookie-store.d.ts +9 -0
  76. package/dist/transport/sse-lifecycle.d.ts +24 -0
  77. package/dist/types.d.ts +37 -114
  78. package/dist/url.d.ts +0 -1
  79. package/dist/verify-webhook.d.ts +17 -28
  80. package/dist/verify-webhook.js +8 -0
  81. package/dist/version.d.ts +0 -3
  82. package/dist/wait-for-transaction.d.ts +44 -86
  83. package/dist/wait-for-transaction.js +151 -0
  84. package/dist/webhook-events.d.ts +543 -33
  85. package/package.json +110 -34
  86. package/dist/api-types.generated.d.ts +0 -14160
  87. package/dist/api-types.generated.d.ts.map +0 -1
  88. package/dist/auth-permissions.d.ts.map +0 -1
  89. package/dist/auth-wallet-plugins.d.ts.map +0 -1
  90. package/dist/auth.d.ts.map +0 -1
  91. package/dist/bundler.d.ts +0 -217
  92. package/dist/bundler.d.ts.map +0 -1
  93. package/dist/chunk-xm8h1dzh.js +0 -33
  94. package/dist/client.d.ts +0 -19
  95. package/dist/client.d.ts.map +0 -1
  96. package/dist/contract-errors.d.ts +0 -4156
  97. package/dist/contract-errors.d.ts.map +0 -1
  98. package/dist/contract.d.ts +0 -22
  99. package/dist/contract.d.ts.map +0 -1
  100. package/dist/cookie-store.d.ts +0 -10
  101. package/dist/cookie-store.d.ts.map +0 -1
  102. package/dist/dapi-errors.d.ts +0 -654
  103. package/dist/dapi-errors.d.ts.map +0 -1
  104. package/dist/errors.d.ts +0 -637
  105. package/dist/errors.d.ts.map +0 -1
  106. package/dist/index.d.ts.map +0 -1
  107. package/dist/platform.d.ts +0 -41
  108. package/dist/platform.d.ts.map +0 -1
  109. package/dist/plugins/index.d.ts +0 -13
  110. package/dist/plugins/index.d.ts.map +0 -1
  111. package/dist/plugins/index.js +0 -10
  112. package/dist/sdk-error.d.ts +0 -74
  113. package/dist/sdk-error.d.ts.map +0 -1
  114. package/dist/serializers.d.ts +0 -41
  115. package/dist/serializers.d.ts.map +0 -1
  116. package/dist/types.d.ts.map +0 -1
  117. package/dist/url.d.ts.map +0 -1
  118. package/dist/verify-webhook.d.ts.map +0 -1
  119. package/dist/version.d.ts.map +0 -1
  120. package/dist/version.generated.d.ts +0 -8
  121. package/dist/version.generated.d.ts.map +0 -1
  122. package/dist/wait-for-transaction.d.ts.map +0 -1
  123. package/dist/webhook-events.d.ts.map +0 -1
@@ -1,19 +1,19 @@
1
1
  /**
2
2
  * Generated webhook event types.
3
3
  *
4
- * Do not edit by hand. Run `bun run tools/scripts/generate-webhook-events-sdk.ts`.
4
+ * Do not edit by hand. Run `bun run --cwd sdk codegen:webhook-events-sdk`.
5
5
  *
6
6
  * @module
7
7
  */
8
8
  export declare namespace Webhook {
9
- const MANIFEST_VERSION = "2026-08-14";
9
+ const MANIFEST_VERSION = "2026-09-29";
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 ../../kit/docs/content/events/idempotency-and-on-chain-outcome.mdx
16
+ * @see ../../web/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,6 +24,7 @@ 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;
27
28
  readonly lifecycle_state: TState;
28
29
  readonly payload: TPayload;
29
30
  readonly related: Readonly<Record<string, string>>;
@@ -32,80 +33,324 @@ export declare namespace Webhook {
32
33
  };
33
34
  readonly is_replay?: boolean;
34
35
  } & SupersedesAccessor<TState>;
35
- type AccessControlRoleGrantedProvisionalV1 = EventEnvelope<"access-control.role-granted.provisional", 1, "provisional", {
36
+ type AccessControlRoleGrantedProvisionalV2 = EventEnvelope<"access-control.role-granted.provisional", 2, "provisional", {
36
37
  readonly accessManagerAddress: string;
37
- readonly accountAddress: string;
38
+ readonly accountAddress?: string;
39
+ readonly actorAddress?: string;
40
+ readonly adminRoleFieldName: string | null;
41
+ readonly adminRoleId: string | null;
38
42
  readonly blockNumber: string;
39
43
  readonly chainId: number;
44
+ readonly roleFieldName: string | null;
40
45
  readonly roleId: string;
41
- readonly sender: string;
42
46
  readonly systemAddress: string;
43
47
  readonly transactionHash: string;
44
48
  }>;
45
- type AccessControlRoleGrantedRetractedV1 = EventEnvelope<"access-control.role-granted.retracted", 1, "retracted", {
49
+ type AccessControlRoleGrantedRetractedV2 = EventEnvelope<"access-control.role-granted.retracted", 2, "retracted", {
46
50
  readonly accessManagerAddress: string;
47
- readonly accountAddress: string;
51
+ readonly accountAddress?: string;
52
+ readonly actorAddress?: string;
53
+ readonly adminRoleFieldName: string | null;
54
+ readonly adminRoleId: string | null;
48
55
  readonly blockNumber: string;
49
56
  readonly chainId: number;
50
57
  readonly reorgBlockNumber: number;
58
+ readonly roleFieldName: string | null;
51
59
  readonly roleId: string;
52
- readonly sender: string;
53
60
  readonly supersedes: string;
54
61
  readonly systemAddress: string;
55
62
  readonly transactionHash: string;
56
63
  }>;
57
- type AccessControlRoleRevokedProvisionalV1 = EventEnvelope<"access-control.role-revoked.provisional", 1, "provisional", {
64
+ type AccessControlRoleRevokedProvisionalV2 = EventEnvelope<"access-control.role-revoked.provisional", 2, "provisional", {
58
65
  readonly accessManagerAddress: string;
59
- readonly accountAddress: string;
66
+ readonly accountAddress?: string;
67
+ readonly actorAddress?: string;
68
+ readonly adminRoleFieldName: string | null;
69
+ readonly adminRoleId: string | null;
60
70
  readonly blockNumber: string;
61
71
  readonly chainId: number;
72
+ readonly roleFieldName: string | null;
62
73
  readonly roleId: string;
63
- readonly sender: string;
64
74
  readonly systemAddress: string;
65
75
  readonly transactionHash: string;
66
76
  }>;
67
- type AccessControlRoleRevokedRetractedV1 = EventEnvelope<"access-control.role-revoked.retracted", 1, "retracted", {
77
+ type AccessControlRoleRevokedRetractedV2 = EventEnvelope<"access-control.role-revoked.retracted", 2, "retracted", {
68
78
  readonly accessManagerAddress: string;
69
- readonly accountAddress: string;
79
+ readonly accountAddress?: string;
80
+ readonly actorAddress?: string;
81
+ readonly adminRoleFieldName: string | null;
82
+ readonly adminRoleId: string | null;
70
83
  readonly blockNumber: string;
71
84
  readonly chainId: number;
72
85
  readonly reorgBlockNumber: number;
86
+ readonly roleFieldName: string | null;
73
87
  readonly roleId: string;
74
- readonly sender: string;
75
88
  readonly supersedes: string;
76
89
  readonly systemAddress: string;
77
90
  readonly transactionHash: string;
78
91
  }>;
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
+ }>;
79
128
  type AssetIssuanceProvisionalV1 = EventEnvelope<"asset.issuance.provisional", 1, "provisional", {
80
129
  readonly assetAddress: string;
130
+ readonly blockNumber: number;
81
131
  readonly chainId: number;
82
- readonly issuer: string;
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;
83
145
  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;
84
190
  readonly transactionHash: string;
85
191
  }>;
86
192
  type ComplianceFreezeRecalledV1 = EventEnvelope<"compliance.freeze.recalled", 1, "recalled", {
87
193
  readonly chainId: number;
88
- readonly reasonCode: string;
194
+ readonly reasonCode?: string;
89
195
  readonly recalledBy: string;
90
- readonly subjectAddress: 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;
91
209
  readonly supersedes: string;
92
210
  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;
93
338
  }>;
94
339
  type IdentityRegistrationProvisionalV1 = EventEnvelope<"identity.registration.provisional", 1, "provisional", {
95
- readonly accountAddress: string;
340
+ readonly accountAddress?: string;
96
341
  readonly blockNumber: string;
97
342
  readonly chainId: number;
98
- readonly country: number;
343
+ readonly country?: number | null;
99
344
  readonly identityAddress: string;
100
345
  readonly registryAddress: string;
101
346
  readonly status: string;
102
347
  readonly transactionHash: string;
103
348
  }>;
104
349
  type IdentityRegistrationRetractedV1 = EventEnvelope<"identity.registration.retracted", 1, "retracted", {
105
- readonly accountAddress: string;
350
+ readonly accountAddress?: string;
106
351
  readonly blockNumber: string;
107
352
  readonly chainId: number;
108
- readonly country: number;
353
+ readonly country?: number | null;
109
354
  readonly identityAddress: string;
110
355
  readonly registryAddress: string;
111
356
  readonly reorgBlockNumber: number;
@@ -113,6 +358,70 @@ export declare namespace Webhook {
113
358
  readonly supersedes: string;
114
359
  readonly transactionHash: string;
115
360
  }>;
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
+ }>;
116
425
  type SettlementTransferRetractedV1 = EventEnvelope<"settlement.transfer.retracted", 1, "retracted", {
117
426
  readonly chainId: number;
118
427
  readonly reorgBlockNumber: number;
@@ -124,33 +433,235 @@ export declare namespace Webhook {
124
433
  readonly amount: string;
125
434
  readonly blockNumber: number;
126
435
  readonly chainId: number;
127
- readonly from: string;
436
+ readonly from?: string;
128
437
  readonly logIndex: number;
129
- readonly to: string;
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;
130
449
  readonly tokenAddress: string;
131
450
  readonly transactionHash: string;
132
451
  }>;
133
452
  type TokenTransferPendingV1 = EventEnvelope<"token.transfer.pending", 1, "pending", {
134
453
  readonly amount: string;
135
454
  readonly chainId: number;
136
- readonly from: string;
137
- readonly to: string;
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;
138
467
  readonly tokenAddress: string;
139
468
  readonly transactionHash: string;
140
469
  }>;
141
470
  type TokenTransferRetractedV1 = EventEnvelope<"token.transfer.retracted", 1, "retracted", {
142
471
  readonly amount: string;
143
- readonly blockNumber?: number;
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;
144
504
  readonly chainId: number;
145
- readonly from: string;
146
- readonly logIndex?: number;
505
+ readonly from?: string;
147
506
  readonly reorgBlockNumber: number;
148
507
  readonly supersedes: string;
149
- readonly to: string;
508
+ readonly to?: string;
150
509
  readonly tokenAddress: string;
151
510
  readonly transactionHash: string;
152
511
  }>;
153
- type AnyEvent = AccessControlRoleGrantedProvisionalV1 | AccessControlRoleGrantedRetractedV1 | AccessControlRoleRevokedProvisionalV1 | AccessControlRoleRevokedRetractedV1 | AssetIssuanceProvisionalV1 | ComplianceFreezeRecalledV1 | IdentityRegistrationProvisionalV1 | IdentityRegistrationRetractedV1 | SettlementTransferRetractedV1 | TokenTransferFinalV1 | TokenTransferPendingV1 | TokenTransferRetractedV1;
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;
154
665
  type EventType = AnyEvent["type"];
155
666
  type Event<TType extends EventType = EventType> = Extract<AnyEvent, {
156
667
  readonly type: TType;
@@ -163,5 +674,4 @@ export declare namespace Webhook {
163
674
  * on `Webhook.Event["type"]`; newer DALP deployments may add event types
164
675
  * without breaking older SDK versions.
165
676
  */
166
- export declare const WEBHOOK_MANIFEST_VERSION = "2026-08-14";
167
- //# sourceMappingURL=webhook-events.d.ts.map
677
+ export declare const WEBHOOK_MANIFEST_VERSION = "2026-09-29";