@settlemint/dalp-cli 3.1.33-main.43509946116 → 3.1.33-main.43526476406

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.
@@ -75010,7 +75010,7 @@
75010
75010
  "fields": []
75011
75011
  }
75012
75012
  ],
75013
- "requestBodyDescription": "Returns the applicant's escrow, in one currency or, without `currency`, in every currency that still holds it. A currency without escrow is skipped. It works only when the issuer did not start the allocation within 30 days after the sale ended.",
75013
+ "requestBodyDescription": "Moves one application on. An escrow reclaim returns the escrow in one currency or, without `currency`, in every currency that still holds it, and works only when the issuer did not start the allocation within 30 days after the sale ended. The other targets act on a reservation.",
75014
75014
  "hasRequestBody": true,
75015
75015
  "bodyIsComplex": true,
75016
75016
  "bodyFields": [
@@ -75018,14 +75018,20 @@
75018
75018
  "name": "to",
75019
75019
  "in": "query",
75020
75020
  "required": true,
75021
- "description": null,
75021
+ "description": "`reclaimed`: anyone returns the applicant's escrow when the allocation never started, or, for a reservation past its end that is not on hold, delivers the shares when the wallet now passes and refunds the whole payment otherwise. `settled`: anyone delivers a reserved allocation once the wallet passes; the cost goes to the payee in the same transaction. `voided`: a sale admin refunds a reservation in full. `held`: a sale admin puts a reservation on hold with `reason`, which stops a reclaim. `reserved`: a sale admin lifts the hold.",
75022
75022
  "type": "string",
75023
75023
  "enum": [
75024
- "reclaimed"
75024
+ "reclaimed",
75025
+ "settled",
75026
+ "voided",
75027
+ "held",
75028
+ "reserved"
75025
75029
  ],
75026
75030
  "pattern": null,
75027
75031
  "examples": [
75028
- "reclaimed"
75032
+ "reclaimed",
75033
+ "settled",
75034
+ "voided"
75029
75035
  ],
75030
75036
  "fields": []
75031
75037
  },
@@ -75041,6 +75047,17 @@
75041
75047
  "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
75042
75048
  ],
75043
75049
  "fields": []
75050
+ },
75051
+ {
75052
+ "name": "reason",
75053
+ "in": "query",
75054
+ "required": false,
75055
+ "description": "Why the sale admin holds the reservation. Required with `held`, refused with any other target.",
75056
+ "type": "string",
75057
+ "enum": null,
75058
+ "pattern": null,
75059
+ "examples": [],
75060
+ "fields": []
75044
75061
  }
75045
75062
  ],
75046
75063
  "examples": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.1.33-main.43509946116",
3
+ "version": "3.1.33-main.43526476406",
4
4
  "private": false,
5
5
  "description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
6
6
  "homepage": "https://settlemint.com",
@@ -50,14 +50,14 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@modelcontextprotocol/server": "2.4.0",
53
- "@settlemint/dalp-sdk": "3.1.33-main.43509946116",
53
+ "@settlemint/dalp-sdk": "3.1.33-main.43526476406",
54
54
  "incur": "0.7.1",
55
55
  "zod": "4.6.7"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@arethetypeswrong/cli": "0.18.5",
59
- "@testkit/effect-bun-test": "3.1.33-main.43509946116",
60
- "@tools/typescript-config": "3.1.33-main.43509946116",
59
+ "@testkit/effect-bun-test": "3.1.33-main.43526476406",
60
+ "@tools/typescript-config": "3.1.33-main.43526476406",
61
61
  "@types/bun": "1.4.4",
62
62
  "publint": "0.3.25"
63
63
  },
@@ -75010,7 +75010,7 @@
75010
75010
  "fields": []
75011
75011
  }
75012
75012
  ],
75013
- "requestBodyDescription": "Returns the applicant's escrow, in one currency or, without `currency`, in every currency that still holds it. A currency without escrow is skipped. It works only when the issuer did not start the allocation within 30 days after the sale ended.",
75013
+ "requestBodyDescription": "Moves one application on. An escrow reclaim returns the escrow in one currency or, without `currency`, in every currency that still holds it, and works only when the issuer did not start the allocation within 30 days after the sale ended. The other targets act on a reservation.",
75014
75014
  "hasRequestBody": true,
75015
75015
  "bodyIsComplex": true,
75016
75016
  "bodyFields": [
@@ -75018,14 +75018,20 @@
75018
75018
  "name": "to",
75019
75019
  "in": "query",
75020
75020
  "required": true,
75021
- "description": null,
75021
+ "description": "`reclaimed`: anyone returns the applicant's escrow when the allocation never started, or, for a reservation past its end that is not on hold, delivers the shares when the wallet now passes and refunds the whole payment otherwise. `settled`: anyone delivers a reserved allocation once the wallet passes; the cost goes to the payee in the same transaction. `voided`: a sale admin refunds a reservation in full. `held`: a sale admin puts a reservation on hold with `reason`, which stops a reclaim. `reserved`: a sale admin lifts the hold.",
75022
75022
  "type": "string",
75023
75023
  "enum": [
75024
- "reclaimed"
75024
+ "reclaimed",
75025
+ "settled",
75026
+ "voided",
75027
+ "held",
75028
+ "reserved"
75025
75029
  ],
75026
75030
  "pattern": null,
75027
75031
  "examples": [
75028
- "reclaimed"
75032
+ "reclaimed",
75033
+ "settled",
75034
+ "voided"
75029
75035
  ],
75030
75036
  "fields": []
75031
75037
  },
@@ -75041,6 +75047,17 @@
75041
75047
  "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
75042
75048
  ],
75043
75049
  "fields": []
75050
+ },
75051
+ {
75052
+ "name": "reason",
75053
+ "in": "query",
75054
+ "required": false,
75055
+ "description": "Why the sale admin holds the reservation. Required with `held`, refused with any other target.",
75056
+ "type": "string",
75057
+ "enum": null,
75058
+ "pattern": null,
75059
+ "examples": [],
75060
+ "fields": []
75044
75061
  }
75045
75062
  ],
75046
75063
  "examples": [
@@ -504,6 +504,17 @@ export const WEBHOOK_FIXTURES = [
504
504
  "webhook-timestamp": "1767225600",
505
505
  },
506
506
  },
507
+ {
508
+ eventName: "primary-market.allocation-reserved.final",
509
+ version: 1,
510
+ body: '{"evt_id":"evt_5a088b567b72d7cec3c9f4ef385d8059","lifecycle_state":"final","payload":{"blockNumber":18445260,"chainId":537001,"investorAddress":"0x6666666666666666666666666666666666666666","logIndex":4,"occurredAt":"2026-09-28T09:15:00.000Z","reservedUntil":"2026-10-28T09:15:00.000Z","saleAddress":"0x1212121212121212121212121212121212121212","step":"reserved","tokenAddress":"0x5555555555555555555555555555555555555555","tokenAmount":"8000000000000000000000","transactionHash":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"related":{"idxr_token_sale":"0x1212121212121212121212121212121212121212"},"source_id":"example:primary-market.allocation-reserved.final@1:0","type":"primary-market.allocation-reserved.final","version":1}',
511
+ headers: {
512
+ "content-type": "application/json",
513
+ "webhook-id": "evt_5a088b567b72d7cec3c9f4ef385d8059",
514
+ "webhook-signature": "v1,RPFEJGzEHLEbH96cZod9h732gGuRPNTlnjCbyO1pC2c=",
515
+ "webhook-timestamp": "1767225600",
516
+ },
517
+ },
507
518
  {
508
519
  eventName: "primary-market.delivery.final",
509
520
  version: 1,
@@ -537,6 +548,61 @@ export const WEBHOOK_FIXTURES = [
537
548
  "webhook-timestamp": "1767225600",
538
549
  },
539
550
  },
551
+ {
552
+ eventName: "primary-market.reserved-allocation-delivered.final",
553
+ version: 1,
554
+ body: '{"evt_id":"evt_f30d11277f0f2d0d6dc42a7dabb62a40","lifecycle_state":"final","payload":{"blockNumber":18445260,"chainId":537001,"investorAddress":"0x6666666666666666666666666666666666666666","logIndex":4,"occurredAt":"2026-09-28T09:15:00.000Z","saleAddress":"0x1212121212121212121212121212121212121212","step":"delivered","tokenAddress":"0x5555555555555555555555555555555555555555","tokenAmount":"8000000000000000000000","transactionHash":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","walletAddress":"0x6666666666666666666666666666666666666666"},"related":{"idxr_token_sale":"0x1212121212121212121212121212121212121212"},"source_id":"example:primary-market.reserved-allocation-delivered.final@1:0","type":"primary-market.reserved-allocation-delivered.final","version":1}',
555
+ headers: {
556
+ "content-type": "application/json",
557
+ "webhook-id": "evt_f30d11277f0f2d0d6dc42a7dabb62a40",
558
+ "webhook-signature": "v1,vwoq+1joA76O6491xL5pkT7lnazOY7CftmFzrrqHK/w=",
559
+ "webhook-timestamp": "1767225600",
560
+ },
561
+ },
562
+ {
563
+ eventName: "primary-market.reserved-allocation-held.final",
564
+ version: 1,
565
+ body: '{"evt_id":"evt_153e08ef10f866c4e861ff4caf01a027","lifecycle_state":"final","payload":{"blockNumber":18445260,"chainId":537001,"investorAddress":"0x6666666666666666666666666666666666666666","logIndex":4,"occurredAt":"2026-09-28T09:15:00.000Z","reason":"Source of funds review","saleAddress":"0x1212121212121212121212121212121212121212","step":"held","tokenAddress":"0x5555555555555555555555555555555555555555","transactionHash":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"related":{"idxr_token_sale":"0x1212121212121212121212121212121212121212"},"source_id":"example:primary-market.reserved-allocation-held.final@1:0","type":"primary-market.reserved-allocation-held.final","version":1}',
566
+ headers: {
567
+ "content-type": "application/json",
568
+ "webhook-id": "evt_153e08ef10f866c4e861ff4caf01a027",
569
+ "webhook-signature": "v1,QE7tdkVTzqKhjA3eelTXZBb/nG7DBros7EprsLeUB/4=",
570
+ "webhook-timestamp": "1767225600",
571
+ },
572
+ },
573
+ {
574
+ eventName: "primary-market.reserved-allocation-reclaimed.final",
575
+ version: 1,
576
+ body: '{"evt_id":"evt_86a0f17e0c462d4577b4db8d6c459717","lifecycle_state":"final","payload":{"blockNumber":18445260,"chainId":537001,"delivered":false,"investorAddress":"0x6666666666666666666666666666666666666666","logIndex":4,"occurredAt":"2026-09-28T09:15:00.000Z","saleAddress":"0x1212121212121212121212121212121212121212","step":"reclaimed","tokenAddress":"0x5555555555555555555555555555555555555555","transactionHash":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"related":{"idxr_token_sale":"0x1212121212121212121212121212121212121212"},"source_id":"example:primary-market.reserved-allocation-reclaimed.final@1:0","type":"primary-market.reserved-allocation-reclaimed.final","version":1}',
577
+ headers: {
578
+ "content-type": "application/json",
579
+ "webhook-id": "evt_86a0f17e0c462d4577b4db8d6c459717",
580
+ "webhook-signature": "v1,/RrXtqU0lmVIR5IQKKVubXARIoZGVvNQ7xAtp4Akiz4=",
581
+ "webhook-timestamp": "1767225600",
582
+ },
583
+ },
584
+ {
585
+ eventName: "primary-market.reserved-allocation-refunded.final",
586
+ version: 1,
587
+ body: '{"evt_id":"evt_2a0d62f38cf118468d53ca2c9f0782cf","lifecycle_state":"final","payload":{"blockNumber":18445260,"chainId":537001,"investorAddress":"0x6666666666666666666666666666666666666666","logIndex":4,"occurredAt":"2026-09-28T09:15:00.000Z","saleAddress":"0x1212121212121212121212121212121212121212","step":"refunded","tokenAddress":"0x5555555555555555555555555555555555555555","tokenAmount":"8000000000000000000000","transactionHash":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"related":{"idxr_token_sale":"0x1212121212121212121212121212121212121212"},"source_id":"example:primary-market.reserved-allocation-refunded.final@1:0","type":"primary-market.reserved-allocation-refunded.final","version":1}',
588
+ headers: {
589
+ "content-type": "application/json",
590
+ "webhook-id": "evt_2a0d62f38cf118468d53ca2c9f0782cf",
591
+ "webhook-signature": "v1,bJZ+cosg7QVSphMX7fY4zEMtoM0/LTtAvSVPadgtHxI=",
592
+ "webhook-timestamp": "1767225600",
593
+ },
594
+ },
595
+ {
596
+ eventName: "primary-market.reserved-allocation-released.final",
597
+ version: 1,
598
+ body: '{"evt_id":"evt_d064f59f80bdab20aa67a423fa4129eb","lifecycle_state":"final","payload":{"blockNumber":18445260,"chainId":537001,"investorAddress":"0x6666666666666666666666666666666666666666","logIndex":4,"occurredAt":"2026-09-28T09:15:00.000Z","saleAddress":"0x1212121212121212121212121212121212121212","step":"released","tokenAddress":"0x5555555555555555555555555555555555555555","transactionHash":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"},"related":{"idxr_token_sale":"0x1212121212121212121212121212121212121212"},"source_id":"example:primary-market.reserved-allocation-released.final@1:0","type":"primary-market.reserved-allocation-released.final","version":1}',
599
+ headers: {
600
+ "content-type": "application/json",
601
+ "webhook-id": "evt_d064f59f80bdab20aa67a423fa4129eb",
602
+ "webhook-signature": "v1,8/EDKSk83Iv/2zxTTYU8YO9Z4czrQIA5qXUxx/2IlC8=",
603
+ "webhook-timestamp": "1767225600",
604
+ },
605
+ },
540
606
  {
541
607
  eventName: "primary-market.sale-activated.final",
542
608
  version: 1,