@clossir-tech/ts-sdk 0.10.3 → 0.10.4
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/esm/funcs/account-timeseries-get-accounts-holdings.js +1 -1
- package/esm/funcs/account-timeseries-get-accounts-holdings.js.map +1 -1
- package/esm/funcs/account-timeseries-get-accounts-portfolio.js +1 -1
- package/esm/funcs/account-timeseries-get-accounts-portfolio.js.map +1 -1
- package/esm/funcs/assets-get-orgs-by-org-id-assets-by-asset-id-holders.js +2 -0
- package/esm/funcs/assets-get-orgs-by-org-id-assets-by-asset-id-holders.js.map +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.d.ts +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.js +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets.d.ts +1 -1
- package/esm/funcs/assets-post-orgs-by-org-id-assets.js +1 -1
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js +2 -0
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js.map +1 -1
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.js +2 -0
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.js.map +1 -1
- package/esm/funcs/fees-get-orgs-by-org-id-fee-distributions.js +2 -0
- package/esm/funcs/fees-get-orgs-by-org-id-fee-distributions.js.map +1 -1
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orderbook.js +2 -0
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orderbook.js.map +1 -1
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js +2 -0
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js.map +1 -1
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.js +2 -0
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.js.map +1 -1
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.js +2 -0
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.js.map +1 -1
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets.js +2 -0
- package/esm/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets.js.map +1 -1
- package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.d.ts +1 -1
- package/esm/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.js +1 -1
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.js +2 -0
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.js.map +1 -1
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.js +2 -0
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.js.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js +2 -0
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.js +2 -0
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.js.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.js +2 -0
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/operations/get-accounts-holdings-history.d.ts +6 -0
- package/esm/models/operations/get-accounts-holdings-history.d.ts.map +1 -1
- package/esm/models/operations/get-accounts-holdings-history.js.map +1 -1
- package/esm/models/operations/get-accounts-ledger.d.ts +6 -0
- package/esm/models/operations/get-accounts-ledger.d.ts.map +1 -1
- package/esm/models/operations/get-accounts-ledger.js.map +1 -1
- package/esm/models/operations/get-accounts-transactions.d.ts +6 -0
- package/esm/models/operations/get-accounts-transactions.d.ts.map +1 -1
- package/esm/models/operations/get-accounts-transactions.js.map +1 -1
- package/esm/models/operations/get-accounts-transfers.d.ts +6 -0
- package/esm/models/operations/get-accounts-transfers.d.ts.map +1 -1
- package/esm/models/operations/get-accounts-transfers.js.map +1 -1
- package/esm/models/operations/get-assets-by-asset-id.d.ts +1 -1
- package/esm/models/operations/get-assets-by-asset-id.js +1 -1
- package/esm/models/operations/get-assets.d.ts +1 -1
- package/esm/models/operations/get-assets.js +1 -1
- package/esm/models/operations/get-chains-by-eid.d.ts +0 -1
- package/esm/models/operations/get-chains-by-eid.d.ts.map +1 -1
- package/esm/models/operations/get-chains-by-eid.js +0 -2
- package/esm/models/operations/get-chains-by-eid.js.map +1 -1
- package/esm/models/operations/get-chains.d.ts +0 -1
- package/esm/models/operations/get-chains.d.ts.map +1 -1
- package/esm/models/operations/get-chains.js +0 -2
- package/esm/models/operations/get-chains.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.d.ts +4 -20
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js +4 -29
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.d.ts +4 -20
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.js +4 -28
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.d.ts +5 -10
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.js +2 -13
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.d.ts +9 -3
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js +3 -3
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.d.ts +11 -5
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.js +5 -5
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.d.ts +1 -5
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.js +1 -7
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.d.ts +1 -5
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.js +1 -7
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.d.ts +1 -5
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.js +1 -6
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.d.ts +1 -5
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.js +1 -6
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.d.ts +5 -25
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js +5 -30
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.d.ts +1 -5
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.js +1 -6
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.d.ts +1 -5
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.js +1 -6
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-fee-distributions.d.ts +4 -20
- package/esm/models/operations/get-orgs-by-org-id-fee-distributions.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-fee-distributions.js +4 -25
- package/esm/models/operations/get-orgs-by-org-id-fee-distributions.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-holdings-history.d.ts +6 -0
- package/esm/models/operations/get-orgs-by-org-id-holdings-history.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-holdings-history.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-ledger-export.d.ts +6 -0
- package/esm/models/operations/get-orgs-by-org-id-ledger-export.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-ledger-export.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-ledger.d.ts +6 -0
- package/esm/models/operations/get-orgs-by-org-id-ledger.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-ledger.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.d.ts +2 -10
- package/esm/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.js +2 -13
- package/esm/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-transfer-events.d.ts +6 -0
- package/esm/models/operations/get-orgs-by-org-id-transfer-events.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-transfer-events.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.d.ts +4 -5
- package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.js +1 -7
- package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.d.ts +2 -10
- package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.js +2 -13
- package/esm/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.js.map +1 -1
- package/esm/models/operations/get-public-tickers-history.d.ts +6 -0
- package/esm/models/operations/get-public-tickers-history.d.ts.map +1 -1
- package/esm/models/operations/get-public-tickers-history.js.map +1 -1
- package/esm/models/operations/get-transfers-by-transfer-id.d.ts +4 -1
- package/esm/models/operations/get-transfers-by-transfer-id.d.ts.map +1 -1
- package/esm/models/operations/get-transfers-by-transfer-id.js +1 -1
- package/esm/models/operations/get-transfers-by-transfer-id.js.map +1 -1
- package/esm/models/operations/get-transfers.d.ts +16 -15
- package/esm/models/operations/get-transfers.d.ts.map +1 -1
- package/esm/models/operations/get-transfers.js +9 -19
- package/esm/models/operations/get-transfers.js.map +1 -1
- package/esm/models/operations/post-uploads-presigned.d.ts +4 -4
- package/esm/models/operations/post-uploads-presigned.d.ts.map +1 -1
- package/esm/models/operations/post-uploads-presigned.js +3 -3
- package/esm/models/operations/post-uploads-presigned.js.map +1 -1
- package/esm/sdk/assets.d.ts +2 -2
- package/esm/sdk/assets.js +2 -2
- package/esm/sdk/markets.d.ts +1 -1
- package/esm/sdk/markets.js +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/account-timeseries-get-accounts-holdings.ts +1 -1
- package/src/funcs/account-timeseries-get-accounts-portfolio.ts +1 -1
- package/src/funcs/assets-get-orgs-by-org-id-assets-by-asset-id-holders.ts +3 -0
- package/src/funcs/assets-post-orgs-by-org-id-assets-by-asset-id-deploy.ts +1 -1
- package/src/funcs/assets-post-orgs-by-org-id-assets.ts +1 -1
- package/src/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.ts +3 -0
- package/src/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.ts +3 -0
- package/src/funcs/fees-get-orgs-by-org-id-fee-distributions.ts +3 -0
- package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orderbook.ts +3 -0
- package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts +3 -0
- package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.ts +3 -0
- package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.ts +3 -0
- package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets.ts +3 -0
- package/src/funcs/markets-post-orgs-by-org-id-assets-by-asset-id-markets.ts +1 -1
- package/src/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.ts +3 -0
- package/src/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.ts +3 -0
- package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.ts +3 -0
- package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.ts +3 -0
- package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/operations/get-accounts-holdings-history.ts +6 -0
- package/src/models/operations/get-accounts-ledger.ts +6 -0
- package/src/models/operations/get-accounts-transactions.ts +6 -0
- package/src/models/operations/get-accounts-transfers.ts +6 -0
- package/src/models/operations/get-assets-by-asset-id.ts +2 -2
- package/src/models/operations/get-assets.ts +2 -2
- package/src/models/operations/get-chains-by-eid.ts +0 -3
- package/src/models/operations/get-chains.ts +0 -3
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.ts +8 -121
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.ts +8 -122
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-holders.ts +7 -53
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts +12 -6
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.ts +16 -10
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id.ts +2 -30
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-markets.ts +2 -30
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.ts +2 -29
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.ts +2 -27
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.ts +10 -117
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.ts +2 -27
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.ts +2 -27
- package/src/models/operations/get-orgs-by-org-id-fee-distributions.ts +8 -92
- package/src/models/operations/get-orgs-by-org-id-holdings-history.ts +6 -0
- package/src/models/operations/get-orgs-by-org-id-ledger-export.ts +6 -0
- package/src/models/operations/get-orgs-by-org-id-ledger.ts +6 -0
- package/src/models/operations/get-orgs-by-org-id-members-by-user-id-holdings.ts +4 -57
- package/src/models/operations/get-orgs-by-org-id-transfer-events.ts +6 -0
- package/src/models/operations/get-orgs-by-org-id-users-by-user-id-balance-summary.ts +5 -26
- package/src/models/operations/get-orgs-by-org-id-users-by-user-id-holdings.ts +4 -55
- package/src/models/operations/get-public-tickers-history.ts +6 -0
- package/src/models/operations/get-transfers-by-transfer-id.ts +5 -2
- package/src/models/operations/get-transfers.ts +20 -41
- package/src/models/operations/post-uploads-presigned.ts +11 -19
- package/src/sdk/assets.ts +2 -2
- package/src/sdk/markets.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transfers.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-transfers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"get-transfers.d.ts","sourceRoot":"","sources":["../../../src/models/operations/get-transfers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAA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AO,CACoC,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CA2BP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CAIP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v4-mini";
|
|
5
5
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
6
7
|
import * as types from "../../types/primitives.js";
|
|
7
8
|
import { smartUnion } from "../../types/smart-union.js";
|
|
8
9
|
export const GetTransfersStatusFailed = {
|
|
@@ -17,11 +18,13 @@ export const GetTransfersStatusSubmitting = {
|
|
|
17
18
|
export const GetTransfersStatusPending = {
|
|
18
19
|
Pending: "pending",
|
|
19
20
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export const
|
|
21
|
+
/**
|
|
22
|
+
* Transfer kind. Clients must tolerate values beyond this list.
|
|
23
|
+
*/
|
|
24
|
+
export const GetTransfersType = {
|
|
24
25
|
Allocation: "allocation",
|
|
26
|
+
Transfer: "transfer",
|
|
27
|
+
Bridge: "bridge",
|
|
25
28
|
};
|
|
26
29
|
/** @internal */
|
|
27
30
|
export const GetTransfersSecurity$outboundSchema = z.object({
|
|
@@ -82,17 +85,7 @@ export function getTransfersDstChainEidFromJSON(jsonString) {
|
|
|
82
85
|
return safeParse(jsonString, (x) => GetTransfersDstChainEid$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTransfersDstChainEid' from JSON`);
|
|
83
86
|
}
|
|
84
87
|
/** @internal */
|
|
85
|
-
export const
|
|
86
|
-
/** @internal */
|
|
87
|
-
export const TypeAllocation$inboundSchema = z.enum(TypeAllocation);
|
|
88
|
-
/** @internal */
|
|
89
|
-
export const GetTransfersTypeUnion$inboundSchema = smartUnion([
|
|
90
|
-
TypeAllocation$inboundSchema,
|
|
91
|
-
GetTransfersTypeEnum$inboundSchema,
|
|
92
|
-
]);
|
|
93
|
-
export function getTransfersTypeUnionFromJSON(jsonString) {
|
|
94
|
-
return safeParse(jsonString, (x) => GetTransfersTypeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetTransfersTypeUnion' from JSON`);
|
|
95
|
-
}
|
|
88
|
+
export const GetTransfersType$inboundSchema = openEnums.inboundSchema(GetTransfersType);
|
|
96
89
|
/** @internal */
|
|
97
90
|
export const GetTransfersTransfer$inboundSchema = z.object({
|
|
98
91
|
id: types.string(),
|
|
@@ -115,10 +108,7 @@ export const GetTransfersTransfer$inboundSchema = z.object({
|
|
|
115
108
|
srcChainEid: types.nullable(smartUnion([types.string(), types.number()])),
|
|
116
109
|
dstChainEid: types.nullable(smartUnion([types.string(), types.number()])),
|
|
117
110
|
isCrossChain: types.boolean(),
|
|
118
|
-
type:
|
|
119
|
-
TypeAllocation$inboundSchema,
|
|
120
|
-
GetTransfersTypeEnum$inboundSchema,
|
|
121
|
-
]),
|
|
111
|
+
type: GetTransfersType$inboundSchema,
|
|
122
112
|
requestId: types.nullable(types.string()),
|
|
123
113
|
memo: types.nullable(types.string()),
|
|
124
114
|
createdAt: types.nullable(types.string()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transfers.js","sourceRoot":"","sources":["../../../src/models/operations/get-transfers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,C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CAAC;IACpE,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EACyC;IAC3D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AAAA,CACH"}
|
|
@@ -14,7 +14,7 @@ export declare const TypeAvatar: {
|
|
|
14
14
|
readonly Avatar: "avatar";
|
|
15
15
|
};
|
|
16
16
|
export type TypeAvatar = ClosedEnum<typeof TypeAvatar>;
|
|
17
|
-
export type
|
|
17
|
+
export type Type = TypeAvatar | TypeLogo | TypeBanner;
|
|
18
18
|
export type PostUploadsPresignedRequest = {
|
|
19
19
|
type: TypeAvatar | TypeLogo | TypeBanner;
|
|
20
20
|
contentType: string;
|
|
@@ -36,10 +36,10 @@ export declare const TypeLogo$outboundSchema: z.ZodMiniEnum<typeof TypeLogo>;
|
|
|
36
36
|
/** @internal */
|
|
37
37
|
export declare const TypeAvatar$outboundSchema: z.ZodMiniEnum<typeof TypeAvatar>;
|
|
38
38
|
/** @internal */
|
|
39
|
-
export type
|
|
39
|
+
export type Type$Outbound = string | string | string;
|
|
40
40
|
/** @internal */
|
|
41
|
-
export declare const
|
|
42
|
-
export declare function
|
|
41
|
+
export declare const Type$outboundSchema: z.ZodMiniType<Type$Outbound, Type>;
|
|
42
|
+
export declare function typeToJSON(type: Type): string;
|
|
43
43
|
/** @internal */
|
|
44
44
|
export type PostUploadsPresignedRequest$Outbound = {
|
|
45
45
|
type: string | string | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-uploads-presigned.d.ts","sourceRoot":"","sources":["../../../src/models/operations/post-uploads-presigned.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa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R;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,4BAA4B,EAC5B,OAAO,CAMP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -23,13 +23,13 @@ export const TypeLogo$outboundSchema = z.enum(TypeLogo);
|
|
|
23
23
|
export const TypeAvatar$outboundSchema = z
|
|
24
24
|
.enum(TypeAvatar);
|
|
25
25
|
/** @internal */
|
|
26
|
-
export const
|
|
26
|
+
export const Type$outboundSchema = smartUnion([
|
|
27
27
|
TypeAvatar$outboundSchema,
|
|
28
28
|
TypeLogo$outboundSchema,
|
|
29
29
|
TypeBanner$outboundSchema,
|
|
30
30
|
]);
|
|
31
|
-
export function
|
|
32
|
-
return JSON.stringify(
|
|
31
|
+
export function typeToJSON(type) {
|
|
32
|
+
return JSON.stringify(Type$outboundSchema.parse(type));
|
|
33
33
|
}
|
|
34
34
|
/** @internal */
|
|
35
35
|
export const PostUploadsPresignedRequest$outboundSchema = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-uploads-presigned.js","sourceRoot":"","sources":["../../../src/models/operations/post-uploads-presigned.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;CACR,CAAC;AAqBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GAAqC,CAAC;KACzE,IAAI,CAAC,UAAU,CAAC,CAAC;AAEpB,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB,GAAmC,CAAC,CAAC,IAAI,CAC3E,QAAQ,CACT,CAAC;AAEF,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GAAqC,CAAC;KACzE,IAAI,CAAC,UAAU,CAAC,CAAC;AAKpB,gBAAgB;AAChB,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"post-uploads-presigned.js","sourceRoot":"","sources":["../../../src/models/operations/post-uploads-presigned.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;CACR,CAAC;AAqBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GAAqC,CAAC;KACzE,IAAI,CAAC,UAAU,CAAC,CAAC;AAEpB,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB,GAAmC,CAAC,CAAC,IAAI,CAC3E,QAAQ,CACT,CAAC;AAEF,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GAAqC,CAAC;KACzE,IAAI,CAAC,UAAU,CAAC,CAAC;AAKpB,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAC9B,UAAU,CAAC;IACT,yBAAyB;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
14
|
* @remarks
|
|
15
|
-
* Creates a compliance-regulated asset definition (CRE, security token, etc.). The asset is not deployed on-chain until explicitly triggered. Requires write:assets permission.
|
|
15
|
+
* Creates a compliance-regulated asset definition (CRE, security token, etc.). The asset is not deployed on-chain until explicitly triggered. Requires write:assets permission. decimals is optional and must be 18 (the ClossirAssetOFT contract's own); any other value returns 422 with title unsupported_decimals.
|
|
16
16
|
*/
|
|
17
17
|
postOrgsByOrgIdAssets(security: operations.PostOrgsByOrgIdAssetsSecurity, orgId: string, body: operations.PostOrgsByOrgIdAssetsRequestBody, options?: RequestOptions): Promise<operations.PostOrgsByOrgIdAssetsResponse>;
|
|
18
18
|
/**
|
|
@@ -89,7 +89,7 @@ export declare class Assets extends ClientSDK {
|
|
|
89
89
|
* Deploy asset to chain
|
|
90
90
|
*
|
|
91
91
|
* @remarks
|
|
92
|
-
* Triggers on-chain deployment of the asset as a compliance-gated OFT (Omnichain Fungible Token). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Two paths: (1) first-chain deploy from status draft, pending_review or approved — mints the full supply and transitions the asset to deploying; (2) additional-chain deploy from status deployed — deploys a zero-mint spoke clone and wires SET_PEER mesh with all existing chains, without changing the asset status. The org must have server wallets provisioned. Returns 409 if the asset is already deployed on the target chain, if a deployment to that chain is already in progress, if the asset is active/paused/retired (add a chain through POST /orgs/:orgId/assets/:assetId/markets), or if its status changed while the request was in flight. Returns 409 with title chain_frozen if the target chain is frozen. Poll the asset detail endpoint for deployment status updates.
|
|
92
|
+
* Triggers on-chain deployment of the asset as a compliance-gated OFT (Omnichain Fungible Token). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Two paths: (1) first-chain deploy from status draft, pending_review or approved — mints the full supply and transitions the asset to deploying; (2) additional-chain deploy from status deployed — deploys a zero-mint spoke clone and wires SET_PEER mesh with all existing chains, without changing the asset status. The org must have server wallets provisioned. Returns 409 if the asset is already deployed on the target chain, if a deployment to that chain is already in progress, if the asset is active/paused/retired (add a chain through POST /orgs/:orgId/assets/:assetId/markets), or if its status changed while the request was in flight. Returns 409 with title chain_frozen if the target chain is frozen. Returns 422 with title solana_deploy_paused if the target chain is Solana. Poll the asset detail endpoint for deployment status updates.
|
|
93
93
|
*/
|
|
94
94
|
postOrgsByOrgIdAssetsByAssetIdDeploy(security: operations.PostOrgsByOrgIdAssetsByAssetIdDeploySecurity, orgId: string, assetId: string, body: operations.PostOrgsByOrgIdAssetsByAssetIdDeployRequestBody, options?: RequestOptions): Promise<operations.PostOrgsByOrgIdAssetsByAssetIdDeployResponse>;
|
|
95
95
|
/**
|
package/esm/sdk/assets.js
CHANGED
|
@@ -33,7 +33,7 @@ export class Assets extends ClientSDK {
|
|
|
33
33
|
* Create a new asset
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* Creates a compliance-regulated asset definition (CRE, security token, etc.). The asset is not deployed on-chain until explicitly triggered. Requires write:assets permission.
|
|
36
|
+
* Creates a compliance-regulated asset definition (CRE, security token, etc.). The asset is not deployed on-chain until explicitly triggered. Requires write:assets permission. decimals is optional and must be 18 (the ClossirAssetOFT contract's own); any other value returns 422 with title unsupported_decimals.
|
|
37
37
|
*/
|
|
38
38
|
async postOrgsByOrgIdAssets(security, orgId, body, options) {
|
|
39
39
|
return unwrapAsync(assetsPostOrgsByOrgIdAssets(this, security, orgId, body, options));
|
|
@@ -132,7 +132,7 @@ export class Assets extends ClientSDK {
|
|
|
132
132
|
* Deploy asset to chain
|
|
133
133
|
*
|
|
134
134
|
* @remarks
|
|
135
|
-
* Triggers on-chain deployment of the asset as a compliance-gated OFT (Omnichain Fungible Token). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Two paths: (1) first-chain deploy from status draft, pending_review or approved — mints the full supply and transitions the asset to deploying; (2) additional-chain deploy from status deployed — deploys a zero-mint spoke clone and wires SET_PEER mesh with all existing chains, without changing the asset status. The org must have server wallets provisioned. Returns 409 if the asset is already deployed on the target chain, if a deployment to that chain is already in progress, if the asset is active/paused/retired (add a chain through POST /orgs/:orgId/assets/:assetId/markets), or if its status changed while the request was in flight. Returns 409 with title chain_frozen if the target chain is frozen. Poll the asset detail endpoint for deployment status updates.
|
|
135
|
+
* Triggers on-chain deployment of the asset as a compliance-gated OFT (Omnichain Fungible Token). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Two paths: (1) first-chain deploy from status draft, pending_review or approved — mints the full supply and transitions the asset to deploying; (2) additional-chain deploy from status deployed — deploys a zero-mint spoke clone and wires SET_PEER mesh with all existing chains, without changing the asset status. The org must have server wallets provisioned. Returns 409 if the asset is already deployed on the target chain, if a deployment to that chain is already in progress, if the asset is active/paused/retired (add a chain through POST /orgs/:orgId/assets/:assetId/markets), or if its status changed while the request was in flight. Returns 409 with title chain_frozen if the target chain is frozen. Returns 422 with title solana_deploy_paused if the target chain is Solana. Poll the asset detail endpoint for deployment status updates.
|
|
136
136
|
*/
|
|
137
137
|
async postOrgsByOrgIdAssetsByAssetIdDeploy(security, orgId, assetId, body, options) {
|
|
138
138
|
return unwrapAsync(assetsPostOrgsByOrgIdAssetsByAssetIdDeploy(this, security, orgId, assetId, body, options));
|
package/esm/sdk/markets.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare class Markets extends ClientSDK {
|
|
|
5
5
|
* Deploy a market for an asset
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Triggers on-chain deployment of a compliance-gated secondary market for a deployed asset. If the asset is not yet deployed on the target chain, the system will auto-bridge the asset first, then automatically deploy the market once the bridge completes — no extra user interaction needed. Returns 409 with title chain_frozen if the target chain is frozen (it takes no new markets). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Fee collection is configured with the org wallet as fee collector and Signum protocol wallet for protocol fees. Poll the market detail endpoint for deployment status updates.
|
|
8
|
+
* Triggers on-chain deployment of a compliance-gated secondary market for a deployed asset. If the asset is not yet deployed on the target chain, the system will auto-bridge the asset first, then automatically deploy the market once the bridge completes — no extra user interaction needed. Returns 409 with title chain_frozen if the target chain is frozen (it takes no new markets). Returns 422 with title solana_deploy_paused if the target chain is Solana. The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Fee collection is configured with the org wallet as fee collector and Signum protocol wallet for protocol fees. Poll the market detail endpoint for deployment status updates.
|
|
9
9
|
*/
|
|
10
10
|
postOrgsByOrgIdAssetsByAssetIdMarkets(security: operations.PostOrgsByOrgIdAssetsByAssetIdMarketsSecurity, orgId: string, assetId: string, body: operations.PostOrgsByOrgIdAssetsByAssetIdMarketsRequestBody, options?: RequestOptions): Promise<operations.PostOrgsByOrgIdAssetsByAssetIdMarketsResponse>;
|
|
11
11
|
/**
|
package/esm/sdk/markets.js
CHANGED
|
@@ -18,7 +18,7 @@ export class Markets extends ClientSDK {
|
|
|
18
18
|
* Deploy a market for an asset
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Triggers on-chain deployment of a compliance-gated secondary market for a deployed asset. If the asset is not yet deployed on the target chain, the system will auto-bridge the asset first, then automatically deploy the market once the bridge completes — no extra user interaction needed. Returns 409 with title chain_frozen if the target chain is frozen (it takes no new markets). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Fee collection is configured with the org wallet as fee collector and Signum protocol wallet for protocol fees. Poll the market detail endpoint for deployment status updates.
|
|
21
|
+
* Triggers on-chain deployment of a compliance-gated secondary market for a deployed asset. If the asset is not yet deployed on the target chain, the system will auto-bridge the asset first, then automatically deploy the market once the bridge completes — no extra user interaction needed. Returns 409 with title chain_frozen if the target chain is frozen (it takes no new markets). Returns 422 with title solana_deploy_paused if the target chain is Solana. The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Fee collection is configured with the org wallet as fee collector and Signum protocol wallet for protocol fees. Poll the market detail endpoint for deployment status updates.
|
|
22
22
|
*/
|
|
23
23
|
async postOrgsByOrgIdAssetsByAssetIdMarkets(security, orgId, assetId, body, options) {
|
|
24
24
|
return unwrapAsync(marketsPostOrgsByOrgIdAssetsByAssetIdMarkets(this, security, orgId, assetId, body, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clossir-tech/ts-sdk",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
4
4
|
"author": "Clossir Team",
|
|
5
5
|
"description": "TypeScript SDK for the Clossir platform API",
|
|
6
6
|
"homepage": "https://docs.clossir.com",
|
|
7
7
|
"publishConfig": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"access": "public",
|
|
9
|
+
"registry": "https://registry.npmjs.org"
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
@@ -141,7 +141,7 @@ async function $do(
|
|
|
141
141
|
M.jsonErr([401, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
142
142
|
ctype: "application/problem+json",
|
|
143
143
|
}),
|
|
144
|
-
M.jsonErr(503, errors.ProblemDetailsError$inboundSchema, {
|
|
144
|
+
M.jsonErr([500, 503], errors.ProblemDetailsError$inboundSchema, {
|
|
145
145
|
ctype: "application/problem+json",
|
|
146
146
|
}),
|
|
147
147
|
M.fail("4XX"),
|
|
@@ -141,7 +141,7 @@ async function $do(
|
|
|
141
141
|
M.jsonErr([401, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
142
142
|
ctype: "application/problem+json",
|
|
143
143
|
}),
|
|
144
|
-
M.jsonErr(503, errors.ProblemDetailsError$inboundSchema, {
|
|
144
|
+
M.jsonErr([500, 503], errors.ProblemDetailsError$inboundSchema, {
|
|
145
145
|
ctype: "application/problem+json",
|
|
146
146
|
}),
|
|
147
147
|
M.fail("4XX"),
|
|
@@ -203,6 +203,9 @@ async function $do(
|
|
|
203
203
|
M.jsonErr([403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
204
204
|
ctype: "application/problem+json",
|
|
205
205
|
}),
|
|
206
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
207
|
+
ctype: "application/problem+json",
|
|
208
|
+
}),
|
|
206
209
|
M.fail("4XX"),
|
|
207
210
|
M.fail("5XX"),
|
|
208
211
|
)(response, req, { extraFields: responseFields });
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Deploy asset to chain
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Triggers on-chain deployment of the asset as a compliance-gated OFT (Omnichain Fungible Token). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Two paths: (1) first-chain deploy from status draft, pending_review or approved — mints the full supply and transitions the asset to deploying; (2) additional-chain deploy from status deployed — deploys a zero-mint spoke clone and wires SET_PEER mesh with all existing chains, without changing the asset status. The org must have server wallets provisioned. Returns 409 if the asset is already deployed on the target chain, if a deployment to that chain is already in progress, if the asset is active/paused/retired (add a chain through POST /orgs/:orgId/assets/:assetId/markets), or if its status changed while the request was in flight. Returns 409 with title chain_frozen if the target chain is frozen. Poll the asset detail endpoint for deployment status updates.
|
|
34
|
+
* Triggers on-chain deployment of the asset as a compliance-gated OFT (Omnichain Fungible Token). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Two paths: (1) first-chain deploy from status draft, pending_review or approved — mints the full supply and transitions the asset to deploying; (2) additional-chain deploy from status deployed — deploys a zero-mint spoke clone and wires SET_PEER mesh with all existing chains, without changing the asset status. The org must have server wallets provisioned. Returns 409 if the asset is already deployed on the target chain, if a deployment to that chain is already in progress, if the asset is active/paused/retired (add a chain through POST /orgs/:orgId/assets/:assetId/markets), or if its status changed while the request was in flight. Returns 409 with title chain_frozen if the target chain is frozen. Returns 422 with title solana_deploy_paused if the target chain is Solana. Poll the asset detail endpoint for deployment status updates.
|
|
35
35
|
*/
|
|
36
36
|
export function assetsPostOrgsByOrgIdAssetsByAssetIdDeploy(
|
|
37
37
|
client: ClossirCore,
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Create a new asset
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Creates a compliance-regulated asset definition (CRE, security token, etc.). The asset is not deployed on-chain until explicitly triggered. Requires write:assets permission.
|
|
34
|
+
* Creates a compliance-regulated asset definition (CRE, security token, etc.). The asset is not deployed on-chain until explicitly triggered. Requires write:assets permission. decimals is optional and must be 18 (the ClossirAssetOFT contract's own); any other value returns 422 with title unsupported_decimals.
|
|
35
35
|
*/
|
|
36
36
|
export function assetsPostOrgsByOrgIdAssets(
|
|
37
37
|
client: ClossirCore,
|
package/src/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.ts
CHANGED
|
@@ -194,6 +194,9 @@ async function $do(
|
|
|
194
194
|
M.jsonErr([403, 404, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
195
195
|
ctype: "application/problem+json",
|
|
196
196
|
}),
|
|
197
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
198
|
+
ctype: "application/problem+json",
|
|
199
|
+
}),
|
|
197
200
|
M.fail("4XX"),
|
|
198
201
|
M.fail("5XX"),
|
|
199
202
|
)(response, req, { extraFields: responseFields });
|
|
@@ -185,6 +185,9 @@ async function $do(
|
|
|
185
185
|
M.jsonErr([403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
186
186
|
ctype: "application/problem+json",
|
|
187
187
|
}),
|
|
188
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
189
|
+
ctype: "application/problem+json",
|
|
190
|
+
}),
|
|
188
191
|
M.fail("4XX"),
|
|
189
192
|
M.fail("5XX"),
|
|
190
193
|
)(response, req, { extraFields: responseFields });
|
|
@@ -173,6 +173,9 @@ async function $do(
|
|
|
173
173
|
M.jsonErr([401, 403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
174
174
|
ctype: "application/problem+json",
|
|
175
175
|
}),
|
|
176
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
177
|
+
ctype: "application/problem+json",
|
|
178
|
+
}),
|
|
176
179
|
M.fail("4XX"),
|
|
177
180
|
M.fail("5XX"),
|
|
178
181
|
)(response, req, { extraFields: responseFields });
|
package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orderbook.ts
CHANGED
|
@@ -219,6 +219,9 @@ async function $do(
|
|
|
219
219
|
M.jsonErr([403, 404, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
220
220
|
ctype: "application/problem+json",
|
|
221
221
|
}),
|
|
222
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
223
|
+
ctype: "application/problem+json",
|
|
224
|
+
}),
|
|
222
225
|
M.fail("4XX"),
|
|
223
226
|
M.fail("5XX"),
|
|
224
227
|
)(response, req, { extraFields: responseFields });
|
package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-orders.ts
CHANGED
|
@@ -214,6 +214,9 @@ async function $do(
|
|
|
214
214
|
M.jsonErr([403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
215
215
|
ctype: "application/problem+json",
|
|
216
216
|
}),
|
|
217
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
218
|
+
ctype: "application/problem+json",
|
|
219
|
+
}),
|
|
217
220
|
M.fail("4XX"),
|
|
218
221
|
M.fail("5XX"),
|
|
219
222
|
)(response, req, { extraFields: responseFields });
|
package/src/funcs/markets-get-orgs-by-org-id-assets-by-asset-id-markets-by-market-id-trades.ts
CHANGED
|
@@ -227,6 +227,9 @@ async function $do(
|
|
|
227
227
|
M.jsonErr([403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
228
228
|
ctype: "application/problem+json",
|
|
229
229
|
}),
|
|
230
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
231
|
+
ctype: "application/problem+json",
|
|
232
|
+
}),
|
|
230
233
|
M.fail("4XX"),
|
|
231
234
|
M.fail("5XX"),
|
|
232
235
|
)(response, req, { extraFields: responseFields });
|
|
@@ -216,6 +216,9 @@ async function $do(
|
|
|
216
216
|
M.jsonErr([403, 404, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
217
217
|
ctype: "application/problem+json",
|
|
218
218
|
}),
|
|
219
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
220
|
+
ctype: "application/problem+json",
|
|
221
|
+
}),
|
|
219
222
|
M.fail("4XX"),
|
|
220
223
|
M.fail("5XX"),
|
|
221
224
|
)(response, req, { extraFields: responseFields });
|
|
@@ -203,6 +203,9 @@ async function $do(
|
|
|
203
203
|
M.jsonErr([403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
204
204
|
ctype: "application/problem+json",
|
|
205
205
|
}),
|
|
206
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
207
|
+
ctype: "application/problem+json",
|
|
208
|
+
}),
|
|
206
209
|
M.fail("4XX"),
|
|
207
210
|
M.fail("5XX"),
|
|
208
211
|
)(response, req, { extraFields: responseFields });
|
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Deploy a market for an asset
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Triggers on-chain deployment of a compliance-gated secondary market for a deployed asset. If the asset is not yet deployed on the target chain, the system will auto-bridge the asset first, then automatically deploy the market once the bridge completes — no extra user interaction needed. Returns 409 with title chain_frozen if the target chain is frozen (it takes no new markets). The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Fee collection is configured with the org wallet as fee collector and Signum protocol wallet for protocol fees. Poll the market detail endpoint for deployment status updates.
|
|
34
|
+
* Triggers on-chain deployment of a compliance-gated secondary market for a deployed asset. If the asset is not yet deployed on the target chain, the system will auto-bridge the asset first, then automatically deploy the market once the bridge completes — no extra user interaction needed. Returns 409 with title chain_frozen if the target chain is frozen (it takes no new markets). Returns 422 with title solana_deploy_paused if the target chain is Solana. The deployment is processed asynchronously via CQRS — returns 202 Accepted immediately. Fee collection is configured with the org wallet as fee collector and Signum protocol wallet for protocol fees. Poll the market detail endpoint for deployment status updates.
|
|
35
35
|
*/
|
|
36
36
|
export function marketsPostOrgsByOrgIdAssetsByAssetIdMarkets(
|
|
37
37
|
client: ClossirCore,
|
|
@@ -184,6 +184,9 @@ async function $do(
|
|
|
184
184
|
M.jsonErr([403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
185
185
|
ctype: "application/problem+json",
|
|
186
186
|
}),
|
|
187
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
188
|
+
ctype: "application/problem+json",
|
|
189
|
+
}),
|
|
187
190
|
M.fail("4XX"),
|
|
188
191
|
M.fail("5XX"),
|
|
189
192
|
)(response, req, { extraFields: responseFields });
|
|
@@ -183,6 +183,9 @@ async function $do(
|
|
|
183
183
|
M.jsonErr([403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
184
184
|
ctype: "application/problem+json",
|
|
185
185
|
}),
|
|
186
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
187
|
+
ctype: "application/problem+json",
|
|
188
|
+
}),
|
|
186
189
|
M.fail("4XX"),
|
|
187
190
|
M.fail("5XX"),
|
|
188
191
|
)(response, req, { extraFields: responseFields });
|
|
@@ -184,6 +184,9 @@ async function $do(
|
|
|
184
184
|
M.jsonErr([401, 403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
185
185
|
ctype: "application/problem+json",
|
|
186
186
|
}),
|
|
187
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
188
|
+
ctype: "application/problem+json",
|
|
189
|
+
}),
|
|
187
190
|
M.fail("4XX"),
|
|
188
191
|
M.fail("5XX"),
|
|
189
192
|
)(response, req, { extraFields: responseFields });
|
|
@@ -184,6 +184,9 @@ async function $do(
|
|
|
184
184
|
M.jsonErr([401, 403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
185
185
|
ctype: "application/problem+json",
|
|
186
186
|
}),
|
|
187
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
188
|
+
ctype: "application/problem+json",
|
|
189
|
+
}),
|
|
187
190
|
M.fail("4XX"),
|
|
188
191
|
M.fail("5XX"),
|
|
189
192
|
)(response, req, { extraFields: responseFields });
|
|
@@ -181,6 +181,9 @@ async function $do(
|
|
|
181
181
|
M.jsonErr([401, 403, 428], errors.ProblemDetailsError$inboundSchema, {
|
|
182
182
|
ctype: "application/problem+json",
|
|
183
183
|
}),
|
|
184
|
+
M.jsonErr(500, errors.ProblemDetailsError$inboundSchema, {
|
|
185
|
+
ctype: "application/problem+json",
|
|
186
|
+
}),
|
|
184
187
|
M.fail("4XX"),
|
|
185
188
|
M.fail("5XX"),
|
|
186
189
|
)(response, req, { extraFields: responseFields });
|
package/src/lib/config.ts
CHANGED
|
@@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "2.0.0",
|
|
68
|
-
sdkVersion: "0.10.
|
|
68
|
+
sdkVersion: "0.10.4",
|
|
69
69
|
genVersion: "2.916.4",
|
|
70
70
|
userAgent:
|
|
71
|
-
"speakeasy-sdk/typescript 0.10.
|
|
71
|
+
"speakeasy-sdk/typescript 0.10.4 2.916.4 2.0.0 @clossir-tech/ts-sdk",
|
|
72
72
|
} as const;
|
|
@@ -11,7 +11,13 @@ import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
|
11
11
|
export type GetAccountsHoldingsHistoryRequest = {
|
|
12
12
|
limit?: string | undefined;
|
|
13
13
|
offset?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
|
|
16
|
+
*/
|
|
14
17
|
from?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
|
|
20
|
+
*/
|
|
15
21
|
to?: string | undefined;
|
|
16
22
|
};
|
|
17
23
|
|
|
@@ -11,7 +11,13 @@ import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
|
11
11
|
export type GetAccountsLedgerRequest = {
|
|
12
12
|
limit?: string | undefined;
|
|
13
13
|
offset?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
|
|
16
|
+
*/
|
|
14
17
|
from?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
|
|
20
|
+
*/
|
|
15
21
|
to?: string | undefined;
|
|
16
22
|
};
|
|
17
23
|
|
|
@@ -11,7 +11,13 @@ import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
|
11
11
|
export type GetAccountsTransactionsRequest = {
|
|
12
12
|
limit?: string | undefined;
|
|
13
13
|
offset?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
|
|
16
|
+
*/
|
|
14
17
|
from?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
|
|
20
|
+
*/
|
|
15
21
|
to?: string | undefined;
|
|
16
22
|
};
|
|
17
23
|
|
|
@@ -11,7 +11,13 @@ import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
|
11
11
|
export type GetAccountsTransfersRequest = {
|
|
12
12
|
limit?: string | undefined;
|
|
13
13
|
offset?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
|
|
16
|
+
*/
|
|
14
17
|
from?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ISO-8601 date (YYYY-MM-DD) or RFC 3339 date-time with Z or ±HH:MM offset
|
|
20
|
+
*/
|
|
15
21
|
to?: string | undefined;
|
|
16
22
|
};
|
|
17
23
|
|
|
@@ -64,7 +64,7 @@ export type GetAssetsByAssetIdResponse = {
|
|
|
64
64
|
orgLogoUrl?: string | null | undefined;
|
|
65
65
|
orgBannerUrl?: string | null | undefined;
|
|
66
66
|
isOwnOrg: boolean;
|
|
67
|
-
heldBalance:
|
|
67
|
+
heldBalance: string | null;
|
|
68
68
|
deployments: Array<GetAssetsByAssetIdDeployment>;
|
|
69
69
|
compliance: Compliance;
|
|
70
70
|
};
|
|
@@ -210,7 +210,7 @@ export const GetAssetsByAssetIdResponse$inboundSchema: z.ZodMiniType<
|
|
|
210
210
|
org_logo_url: z.optional(z.nullable(types.string())),
|
|
211
211
|
org_banner_url: z.optional(z.nullable(types.string())),
|
|
212
212
|
is_own_org: types.boolean(),
|
|
213
|
-
held_balance: types.nullable(types.
|
|
213
|
+
held_balance: types.nullable(types.string()),
|
|
214
214
|
deployments: z.array(
|
|
215
215
|
z.lazy(() => GetAssetsByAssetIdDeployment$inboundSchema),
|
|
216
216
|
),
|
|
@@ -79,7 +79,7 @@ export type GetAssetsAsset = {
|
|
|
79
79
|
orgLogoUrl?: string | null | undefined;
|
|
80
80
|
orgBannerUrl?: string | null | undefined;
|
|
81
81
|
isOwnOrg: boolean;
|
|
82
|
-
heldBalance:
|
|
82
|
+
heldBalance: string | null;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -192,7 +192,7 @@ export const GetAssetsAsset$inboundSchema: z.ZodMiniType<
|
|
|
192
192
|
org_logo_url: z.optional(z.nullable(types.string())),
|
|
193
193
|
org_banner_url: z.optional(z.nullable(types.string())),
|
|
194
194
|
is_own_org: types.boolean(),
|
|
195
|
-
held_balance: types.nullable(types.
|
|
195
|
+
held_balance: types.nullable(types.string()),
|
|
196
196
|
}),
|
|
197
197
|
z.transform((v) => {
|
|
198
198
|
return remap$(v, {
|