@settlemint/dalp-cli 3.1.32-main.42823790714 → 3.1.32-main.42853725435
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/dalp.js +19 -19
- package/dist/dalp.js.map +11 -11
- package/dist/{openapi-surface-vkyxwdem.json → openapi-surface-h76p7xrr.json} +261 -561
- package/package.json +4 -4
- package/src/generated/openapi-surface.json +261 -561
- package/src/lib/webhook-fixtures.ts +22 -77
|
@@ -350,61 +350,6 @@ export const WEBHOOK_FIXTURES = [
|
|
|
350
350
|
"webhook-timestamp": "1767225600",
|
|
351
351
|
},
|
|
352
352
|
},
|
|
353
|
-
{
|
|
354
|
-
eventName: "custody.deposit-held.retracted",
|
|
355
|
-
version: 1,
|
|
356
|
-
body: '{"evt_id":"evt_73cdf1598c08c74f124a22c0f0c47886","lifecycle_state":"retracted","payload":{"amount":"2500000000","assetKey":"usdc","chainId":537001,"depositId":"537001:0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:4","journalEntryId":"jrn_01J9ZQ8F3H5K7M9P1R3T5V7X9Z","logIndex":4,"occurredAt":"2026-09-28T09:18:27.634Z","participantId":"ptc_01J9ZQ8E2G4J6L8N0Q2S4U6W8Y","reason":"reorged","supersedes":"evt_custodydepositheld001","transactionHash":"0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","walletId":"wal_01J9ZQ8D1F3H5K7M9P1R3T5V7X"},"related":{"depositId":"537001:0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:4","journalEntryId":"jrn_01J9ZQ8F3H5K7M9P1R3T5V7X9Z"},"source_id":"example:custody.deposit-held.retracted@1:0","supersedes":"evt_custodydepositheld001","type":"custody.deposit-held.retracted","version":1}',
|
|
357
|
-
headers: {
|
|
358
|
-
"content-type": "application/json",
|
|
359
|
-
"webhook-id": "evt_73cdf1598c08c74f124a22c0f0c47886",
|
|
360
|
-
"webhook-signature": "v1,m7k+RMY48VzSYPXqaxxC3wqf3netfHWUZ8SR3qGRs/E=",
|
|
361
|
-
"webhook-timestamp": "1767225600",
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
eventName: "custody.deposit.final",
|
|
366
|
-
version: 1,
|
|
367
|
-
body: '{"evt_id":"evt_bbe68c0c337ff48cd2bebe940543c305","lifecycle_state":"final","payload":{"amount":"2500000000","assetKey":"usdc","chainId":537001,"depositId":"537001:0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:4","journalEntryId":"jrn_01J9ZQ8F3H5K7M9P1R3T5V7X9Z","logIndex":4,"occurredAt":"2026-09-28T09:18:27.634Z","participantId":"ptc_01J9ZQ8E2G4J6L8N0Q2S4U6W8Y","transactionHash":"0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","walletId":"wal_01J9ZQ8D1F3H5K7M9P1R3T5V7X"},"related":{"depositId":"537001:0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:4","journalEntryId":"jrn_01J9ZQ8F3H5K7M9P1R3T5V7X9Z"},"source_id":"example:custody.deposit.final@1:0","type":"custody.deposit.final","version":1}',
|
|
368
|
-
headers: {
|
|
369
|
-
"content-type": "application/json",
|
|
370
|
-
"webhook-id": "evt_bbe68c0c337ff48cd2bebe940543c305",
|
|
371
|
-
"webhook-signature": "v1,z0RkYc/VlwpvvLDq/B3ZpZMHYYJTCXAt+O6u0JrJlwc=",
|
|
372
|
-
"webhook-timestamp": "1767225600",
|
|
373
|
-
},
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
eventName: "custody.deposit.held",
|
|
377
|
-
version: 1,
|
|
378
|
-
body: '{"evt_id":"evt_70898ff402e38c2f957585cb8a250519","lifecycle_state":"provisional","payload":{"amount":"2500000000","assetKey":"usdc","chainId":537001,"depositId":"537001:0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:4","journalEntryId":"jrn_01J9ZQ8F3H5K7M9P1R3T5V7X9Z","logIndex":4,"occurredAt":"2026-09-28T09:18:27.634Z","participantId":"ptc_01J9ZQ8E2G4J6L8N0Q2S4U6W8Y","transactionHash":"0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","walletId":"wal_01J9ZQ8D1F3H5K7M9P1R3T5V7X"},"related":{"depositId":"537001:0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:4","journalEntryId":"jrn_01J9ZQ8F3H5K7M9P1R3T5V7X9Z"},"source_id":"example:custody.deposit.held@1:0","type":"custody.deposit.held","version":1}',
|
|
379
|
-
headers: {
|
|
380
|
-
"content-type": "application/json",
|
|
381
|
-
"webhook-id": "evt_70898ff402e38c2f957585cb8a250519",
|
|
382
|
-
"webhook-signature": "v1,s0l1glYNxr7yIerJW4hW21mi4GmujRNN07q6h1KnZxA=",
|
|
383
|
-
"webhook-timestamp": "1767225600",
|
|
384
|
-
},
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
eventName: "custody.deposit.retracted",
|
|
388
|
-
version: 1,
|
|
389
|
-
body: '{"evt_id":"evt_937853dc54b4c60d1f0f4e79582d04dc","lifecycle_state":"retracted","payload":{"amount":"2500000000","assetKey":"usdc","chainId":537001,"depositId":"537001:0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:4","journalEntryId":"jrn_01J9ZQ8G4J6L8N0Q2S4U6W8Y0B","logIndex":4,"occurredAt":"2026-09-28T09:41:12.208Z","participantId":"ptc_01J9ZQ8E2G4J6L8N0Q2S4U6W8Y","reason":"reorged","supersedes":"evt_custodydeposit001","transactionHash":"0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc","walletId":"wal_01J9ZQ8D1F3H5K7M9P1R3T5V7X"},"related":{"depositId":"537001:0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc:4","journalEntryId":"jrn_01J9ZQ8G4J6L8N0Q2S4U6W8Y0B"},"source_id":"example:custody.deposit.retracted@1:0","supersedes":"evt_custodydeposit001","type":"custody.deposit.retracted","version":1}',
|
|
390
|
-
headers: {
|
|
391
|
-
"content-type": "application/json",
|
|
392
|
-
"webhook-id": "evt_937853dc54b4c60d1f0f4e79582d04dc",
|
|
393
|
-
"webhook-signature": "v1,cYF2/RVLhxkERImxZc+N9+wXa8jHanfh/0Bzb/PXPRk=",
|
|
394
|
-
"webhook-timestamp": "1767225600",
|
|
395
|
-
},
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
eventName: "custody.fee.final",
|
|
399
|
-
version: 1,
|
|
400
|
-
body: '{"evt_id":"evt_12d1343cb092dcfb44a6ba8d0913c6d2","lifecycle_state":"final","payload":{"amount":"2500000","assetKey":"usdc","chainId":537001,"feeId":"hld_01J9ZQ8J6L8N0Q2S4U6W8Y0B2D:withdrawal-fee","holdId":"hld_01J9ZQ8J6L8N0Q2S4U6W8Y0B2D","journalEntryId":"jrn_01J9ZQ8L8N0Q2S4U6W8Y0B2D4F","kind":"withdrawal","occurredAt":"2026-09-28T10:05:44.071Z","participantId":"ptc_01J9ZQ8E2G4J6L8N0Q2S4U6W8Y","walletId":"wal_01J9ZQ8D1F3H5K7M9P1R3T5V7X","withdrawalId":"wdr_01J9ZQ8H5K7M9P1R3T5V7X9Z1C"},"related":{"feeId":"hld_01J9ZQ8J6L8N0Q2S4U6W8Y0B2D:withdrawal-fee","holdId":"hld_01J9ZQ8J6L8N0Q2S4U6W8Y0B2D","journalEntryId":"jrn_01J9ZQ8L8N0Q2S4U6W8Y0B2D4F","withdrawalId":"wdr_01J9ZQ8H5K7M9P1R3T5V7X9Z1C"},"source_id":"example:custody.fee.final@1:0","type":"custody.fee.final","version":1}',
|
|
401
|
-
headers: {
|
|
402
|
-
"content-type": "application/json",
|
|
403
|
-
"webhook-id": "evt_12d1343cb092dcfb44a6ba8d0913c6d2",
|
|
404
|
-
"webhook-signature": "v1,cT26VgIeAHR7Y311osKIcx+gOKsOpU35PnNUS0wOUPA=",
|
|
405
|
-
"webhook-timestamp": "1767225600",
|
|
406
|
-
},
|
|
407
|
-
},
|
|
408
353
|
{
|
|
409
354
|
eventName: "custody.gateway-deposit.settled",
|
|
410
355
|
version: 1,
|
|
@@ -438,28 +383,6 @@ export const WEBHOOK_FIXTURES = [
|
|
|
438
383
|
"webhook-timestamp": "1767225600",
|
|
439
384
|
},
|
|
440
385
|
},
|
|
441
|
-
{
|
|
442
|
-
eventName: "custody.withdrawal.final",
|
|
443
|
-
version: 1,
|
|
444
|
-
body: '{"evt_id":"evt_7afc978b8540fa8cf8c8b55a34bf0df6","lifecycle_state":"final","payload":{"amount":"1000000000","assetKey":"usdc","chainId":537001,"holdId":"hld_01J9ZQ8J6L8N0Q2S4U6W8Y0B2D","journalEntryId":"jrn_01J9ZQ8K7M9P1R3T5V7X9Z1C3E","occurredAt":"2026-09-28T10:05:44.071Z","participantId":"ptc_01J9ZQ8E2G4J6L8N0Q2S4U6W8Y","walletId":"wal_01J9ZQ8D1F3H5K7M9P1R3T5V7X","withdrawalId":"wdr_01J9ZQ8H5K7M9P1R3T5V7X9Z1C"},"related":{"holdId":"hld_01J9ZQ8J6L8N0Q2S4U6W8Y0B2D","journalEntryId":"jrn_01J9ZQ8K7M9P1R3T5V7X9Z1C3E","withdrawalId":"wdr_01J9ZQ8H5K7M9P1R3T5V7X9Z1C"},"source_id":"example:custody.withdrawal.final@1:0","type":"custody.withdrawal.final","version":1}',
|
|
445
|
-
headers: {
|
|
446
|
-
"content-type": "application/json",
|
|
447
|
-
"webhook-id": "evt_7afc978b8540fa8cf8c8b55a34bf0df6",
|
|
448
|
-
"webhook-signature": "v1,UtVlXSgvyggSRyQxkyQD3L6z+9JgtRl2KWBDNqqRcr4=",
|
|
449
|
-
"webhook-timestamp": "1767225600",
|
|
450
|
-
},
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
eventName: "custody.withdrawal.released",
|
|
454
|
-
version: 1,
|
|
455
|
-
body: '{"evt_id":"evt_401adc4bbc08c6f84a1fdae413c60837","lifecycle_state":"final","payload":{"amount":"1000000000","assetKey":"usdc","chainId":537001,"holdId":"hld_01J9ZQ8J6L8N0Q2S4U6W8Y0B2D","journalEntryId":"jrn_01J9ZQ8K7M9P1R3T5V7X9Z1C3E","occurredAt":"2026-09-28T10:05:44.071Z","participantId":"ptc_01J9ZQ8E2G4J6L8N0Q2S4U6W8Y","walletId":"wal_01J9ZQ8D1F3H5K7M9P1R3T5V7X","withdrawalId":"wdr_01J9ZQ8H5K7M9P1R3T5V7X9Z1C"},"related":{"holdId":"hld_01J9ZQ8J6L8N0Q2S4U6W8Y0B2D","journalEntryId":"jrn_01J9ZQ8K7M9P1R3T5V7X9Z1C3E","withdrawalId":"wdr_01J9ZQ8H5K7M9P1R3T5V7X9Z1C"},"source_id":"example:custody.withdrawal.released@1:0","type":"custody.withdrawal.released","version":1}',
|
|
456
|
-
headers: {
|
|
457
|
-
"content-type": "application/json",
|
|
458
|
-
"webhook-id": "evt_401adc4bbc08c6f84a1fdae413c60837",
|
|
459
|
-
"webhook-signature": "v1,3RfclJm7xhgX6EUIDRs4hBYt7YTpUIXVbSEJnoO4iyk=",
|
|
460
|
-
"webhook-timestamp": "1767225600",
|
|
461
|
-
},
|
|
462
|
-
},
|
|
463
386
|
{
|
|
464
387
|
eventName: "funding.requirement.expired",
|
|
465
388
|
version: 1,
|
|
@@ -768,6 +691,17 @@ export const WEBHOOK_FIXTURES = [
|
|
|
768
691
|
"webhook-timestamp": "1767225600",
|
|
769
692
|
},
|
|
770
693
|
},
|
|
694
|
+
{
|
|
695
|
+
eventName: "token.coupon-claim.final",
|
|
696
|
+
version: 1,
|
|
697
|
+
body: '{"evt_id":"evt_b5b1f5033ccf28fe3f2c6863f6ff24ff","lifecycle_state":"final","payload":{"amount":"1250","blockNumber":18445260,"chainId":537001,"claimId":"18445260:4","denominationAddress":"0x3333333333333333333333333333333333333333","featureAddress":"0x6666666666666666666666666666666666666666","fromPeriod":1,"holder":"0x7777777777777777777777777777777777777777","logIndex":4,"occurredAt":"2026-09-28T09:15:00.000Z","toPeriod":3,"tokenAddress":"0x5555555555555555555555555555555555555555","transactionHash":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"related":{"tokenAddress":"0x5555555555555555555555555555555555555555"},"source_id":"example:token.coupon-claim.final@1:0","type":"token.coupon-claim.final","version":1}',
|
|
698
|
+
headers: {
|
|
699
|
+
"content-type": "application/json",
|
|
700
|
+
"webhook-id": "evt_b5b1f5033ccf28fe3f2c6863f6ff24ff",
|
|
701
|
+
"webhook-signature": "v1,JKpz6ay3ME2Ain7supuOZ0omlj0J6tjt3y0y1yyjsxY=",
|
|
702
|
+
"webhook-timestamp": "1767225600",
|
|
703
|
+
},
|
|
704
|
+
},
|
|
771
705
|
{
|
|
772
706
|
eventName: "token.document.published",
|
|
773
707
|
version: 1,
|
|
@@ -801,6 +735,17 @@ export const WEBHOOK_FIXTURES = [
|
|
|
801
735
|
"webhook-timestamp": "1767225600",
|
|
802
736
|
},
|
|
803
737
|
},
|
|
738
|
+
{
|
|
739
|
+
eventName: "token.maturity-redemption.final",
|
|
740
|
+
version: 1,
|
|
741
|
+
body: '{"evt_id":"evt_eaca52e8faafe00af8c380f5bd3d77de","lifecycle_state":"final","payload":{"amount":"100000000","blockNumber":18445300,"chainId":537001,"denominationAddress":"0x3333333333333333333333333333333333333333","featureAddress":"0x8888888888888888888888888888888888888888","holder":"0x7777777777777777777777777777777777777777","logIndex":2,"occurredAt":"2026-09-30T00:00:12.000Z","redemptionId":"18445300:2","tokenAddress":"0x5555555555555555555555555555555555555555","tokenAmount":"1000000000000000000","transactionHash":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"related":{"tokenAddress":"0x5555555555555555555555555555555555555555"},"source_id":"example:token.maturity-redemption.final@1:0","type":"token.maturity-redemption.final","version":1}',
|
|
742
|
+
headers: {
|
|
743
|
+
"content-type": "application/json",
|
|
744
|
+
"webhook-id": "evt_eaca52e8faafe00af8c380f5bd3d77de",
|
|
745
|
+
"webhook-signature": "v1,KwhFR/QOqgeyk9WHtBKHpCV0q+Mpiso3aIASmC5rGYI=",
|
|
746
|
+
"webhook-timestamp": "1767225600",
|
|
747
|
+
},
|
|
748
|
+
},
|
|
804
749
|
{
|
|
805
750
|
eventName: "token.transfer.final",
|
|
806
751
|
version: 2,
|