@settlemint/dalp-sdk 2.1.7-main.22916486052 → 2.1.7-main.22919188079

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 (2) hide show
  1. package/dist/index.js +13 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12671,28 +12671,28 @@ var create7 = v2Contract.route({
12671
12671
  description: "Create a new fixed yield schedule contract",
12672
12672
  successDescription: "Fixed yield schedule created",
12673
12673
  tags: [...TAGS20]
12674
- }).input(v2Input.body(FixedYieldScheduleCreateInputSchema)).output(createBlockchainMutationResponse(FixedYieldScheduleSchema2));
12674
+ }).input(v2Input.body(FixedYieldScheduleCreateInputSchema)).output(createAsyncBlockchainMutationResponse(FixedYieldScheduleSchema2));
12675
12675
  var topUp = v2Contract.route({
12676
12676
  method: "POST",
12677
12677
  path: "/addons/fixed-yield/{scheduleAddress}/top-up",
12678
12678
  description: "Top up the denomination asset in a fixed yield schedule",
12679
12679
  successDescription: "Fixed yield schedule topped up",
12680
12680
  tags: [...TAGS20]
12681
- }).input(v2Input.paramsBody(z295.object({ scheduleAddress: FixedYieldScheduleTopUpInputSchema.shape.scheduleAddress }), FixedYieldScheduleTopUpInputSchema.omit({ scheduleAddress: true }))).output(createBlockchainMutationResponse(FixedYieldScheduleTopUpOutputSchema));
12681
+ }).input(v2Input.paramsBody(z295.object({ scheduleAddress: FixedYieldScheduleTopUpInputSchema.shape.scheduleAddress }), FixedYieldScheduleTopUpInputSchema.omit({ scheduleAddress: true }))).output(createAsyncBlockchainMutationResponse(FixedYieldScheduleTopUpOutputSchema));
12682
12682
  var withdraw = v2Contract.route({
12683
12683
  method: "POST",
12684
12684
  path: "/addons/fixed-yield/{scheduleAddress}/withdraw",
12685
12685
  description: "Withdraw the denomination asset from a fixed yield schedule",
12686
12686
  successDescription: "Fixed yield schedule withdrawal completed",
12687
12687
  tags: [...TAGS20]
12688
- }).input(v2Input.paramsBody(z295.object({ scheduleAddress: FixedYieldScheduleWithdrawInputSchema.shape.scheduleAddress }), FixedYieldScheduleWithdrawInputSchema.omit({ scheduleAddress: true }))).output(createBlockchainMutationResponse(FixedYieldScheduleWithdrawOutputSchema));
12688
+ }).input(v2Input.paramsBody(z295.object({ scheduleAddress: FixedYieldScheduleWithdrawInputSchema.shape.scheduleAddress }), FixedYieldScheduleWithdrawInputSchema.omit({ scheduleAddress: true }))).output(createAsyncBlockchainMutationResponse(FixedYieldScheduleWithdrawOutputSchema));
12689
12689
  var claim = v2Contract.route({
12690
12690
  method: "POST",
12691
12691
  path: "/addons/fixed-yield/{scheduleAddress}/claim",
12692
12692
  description: "Claim yield from a fixed yield schedule contract",
12693
12693
  successDescription: "Fixed yield schedule claim completed",
12694
12694
  tags: [...TAGS20]
12695
- }).input(v2Input.paramsBody(z295.object({ scheduleAddress: FixedYieldScheduleClaimInputSchema.shape.scheduleAddress }), FixedYieldScheduleClaimInputSchema.omit({ scheduleAddress: true }))).output(createBlockchainMutationResponse(FixedYieldScheduleClaimOutputSchema));
12695
+ }).input(v2Input.paramsBody(z295.object({ scheduleAddress: FixedYieldScheduleClaimInputSchema.shape.scheduleAddress }), FixedYieldScheduleClaimInputSchema.omit({ scheduleAddress: true }))).output(createAsyncBlockchainMutationResponse(FixedYieldScheduleClaimOutputSchema));
12696
12696
  var fixedYieldV2Contract = {
12697
12697
  read: read10,
12698
12698
  create: create7,
@@ -12946,56 +12946,56 @@ var create9 = v2Contract.route({
12946
12946
  description: "Create a new XvP settlement via the system factory",
12947
12947
  successDescription: "Settlement created on-chain and encrypted secret stored securely",
12948
12948
  tags: TAGS22
12949
- }).input(v2Input.body(XvpCreateSchema)).output(createBlockchainMutationResponse(XvpCreateOutputSchema));
12949
+ }).input(v2Input.body(XvpCreateSchema)).output(createAsyncBlockchainMutationResponse(XvpCreateOutputSchema));
12950
12950
  var approve2 = v2Contract.route({
12951
12951
  method: "PUT",
12952
12952
  path: "/addons/xvp/approve",
12953
12953
  description: "Approve an XvP settlement",
12954
12954
  successDescription: "Settlement approved on-chain",
12955
12955
  tags: TAGS22
12956
- }).input(v2Input.body(XvpApproveInputSchema)).output(createBlockchainMutationResponse(XvpApproveOutputSchema));
12956
+ }).input(v2Input.body(XvpApproveInputSchema)).output(createAsyncBlockchainMutationResponse(XvpApproveOutputSchema));
12957
12957
  var revokeApproval2 = v2Contract.route({
12958
12958
  method: "PUT",
12959
12959
  path: "/addons/xvp/revoke-approval",
12960
12960
  description: "Revoke an XvP settlement approval",
12961
12961
  successDescription: "Approval revoked and escrowed assets refunded",
12962
12962
  tags: TAGS22
12963
- }).input(v2Input.body(XvpRevokeApprovalInputSchema)).output(createBlockchainMutationResponse(XvpRevokeApprovalOutputSchema));
12963
+ }).input(v2Input.body(XvpRevokeApprovalInputSchema)).output(createAsyncBlockchainMutationResponse(XvpRevokeApprovalOutputSchema));
12964
12964
  var execute3 = v2Contract.route({
12965
12965
  method: "PUT",
12966
12966
  path: "/addons/xvp/execute",
12967
12967
  description: "Execute an XvP settlement",
12968
12968
  successDescription: "Settlement executed on-chain",
12969
12969
  tags: TAGS22
12970
- }).input(v2Input.body(XvpExecuteInputSchema)).output(createBlockchainMutationResponse(XvpExecuteOutputSchema));
12970
+ }).input(v2Input.body(XvpExecuteInputSchema)).output(createAsyncBlockchainMutationResponse(XvpExecuteOutputSchema));
12971
12971
  var cancel2 = v2Contract.route({
12972
12972
  method: "PUT",
12973
12973
  path: "/addons/xvp/cancel",
12974
12974
  description: "Cancel an XvP settlement",
12975
12975
  successDescription: "Settlement cancellation proposed on-chain",
12976
12976
  tags: TAGS22
12977
- }).input(v2Input.body(XvpCancelInputSchema)).output(createBlockchainMutationResponse(XvpCancelOutputSchema));
12977
+ }).input(v2Input.body(XvpCancelInputSchema)).output(createAsyncBlockchainMutationResponse(XvpCancelOutputSchema));
12978
12978
  var withdrawCancel2 = v2Contract.route({
12979
12979
  method: "PUT",
12980
12980
  path: "/addons/xvp/withdraw-cancel",
12981
12981
  description: "Withdraw a cancel proposal for an XvP settlement",
12982
12982
  successDescription: "Cancel proposal withdrawn on-chain",
12983
12983
  tags: TAGS22
12984
- }).input(v2Input.body(XvpWithdrawCancelInputSchema)).output(createBlockchainMutationResponse(XvpWithdrawCancelOutputSchema));
12984
+ }).input(v2Input.body(XvpWithdrawCancelInputSchema)).output(createAsyncBlockchainMutationResponse(XvpWithdrawCancelOutputSchema));
12985
12985
  var withdrawExpired2 = v2Contract.route({
12986
12986
  method: "PUT",
12987
12987
  path: "/addons/xvp/withdraw-expired",
12988
12988
  description: "Return escrowed assets after a settlement expires",
12989
12989
  successDescription: "Expired settlement escrow refunded",
12990
12990
  tags: TAGS22
12991
- }).input(v2Input.body(XvpWithdrawExpiredInputSchema)).output(createBlockchainMutationResponse(XvpWithdrawExpiredOutputSchema));
12991
+ }).input(v2Input.body(XvpWithdrawExpiredInputSchema)).output(createAsyncBlockchainMutationResponse(XvpWithdrawExpiredOutputSchema));
12992
12992
  var revealSecret2 = v2Contract.route({
12993
12993
  method: "POST",
12994
12994
  path: "/addons/xvp/reveal-secret",
12995
12995
  description: "Reveal the secret for an XvP settlement",
12996
12996
  successDescription: "Secret revealed on-chain, enabling settlement execution",
12997
12997
  tags: TAGS22
12998
- }).input(v2Input.body(XvpRevealSecretInputSchema)).output(createBlockchainMutationResponse(XvpRevealSecretOutputSchema));
12998
+ }).input(v2Input.body(XvpRevealSecretInputSchema)).output(createAsyncBlockchainMutationResponse(XvpRevealSecretOutputSchema));
12999
12999
  var xvpV2Contract = {
13000
13000
  list: list15,
13001
13001
  read: read12,
@@ -16832,7 +16832,7 @@ var dalpSerializers = [
16832
16832
  // package.json
16833
16833
  var package_default = {
16834
16834
  name: "@settlemint/dalp-sdk",
16835
- version: "2.1.7-main.22916486052",
16835
+ version: "2.1.7-main.22919188079",
16836
16836
  private: false,
16837
16837
  description: "Fully typed SDK for the DALP tokenization platform API",
16838
16838
  homepage: "https://settlemint.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-sdk",
3
- "version": "2.1.7-main.22916486052",
3
+ "version": "2.1.7-main.22919188079",
4
4
  "private": false,
5
5
  "description": "Fully typed SDK for the DALP tokenization platform API",
6
6
  "homepage": "https://settlemint.com",