@settlemint/dalp-cli 2.1.7-main.25402904048 → 2.1.7-main.25404192364

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/dalp.js +17 -4
  2. package/package.json +1 -1
package/dist/dalp.js CHANGED
@@ -59794,6 +59794,19 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
59794
59794
  reason: exports_external.string()
59795
59795
  })
59796
59796
  })
59797
+ },
59798
+ {
59799
+ code: "SETTINGS_TEMPLATE_NAME_ALREADY_EXISTS",
59800
+ definition: dapiError({
59801
+ id: "DALP-0463",
59802
+ category: "client",
59803
+ status: 409,
59804
+ message: "A template with this name already exists in this organization",
59805
+ why: "The organization already has a non-system template with the submitted name.",
59806
+ fix: "Choose a unique template name or update the existing template instead.",
59807
+ retryable: false,
59808
+ expectedClientError: true
59809
+ })
59797
59810
  }
59798
59811
  ];
59799
59812
  var DAPI_ROUTE_ERROR_DEFINITIONS = Object.fromEntries(DAPI_ROUTE_ERROR_ENTRIES.map(({ code: code2, definition }) => [code2, definition]));
@@ -72981,7 +72994,7 @@ var AssetTypeTemplateSchema = exports_external.object({
72981
72994
  description: "Complete asset type template with all fields"
72982
72995
  });
72983
72996
  var CreateInputSchema = exports_external.object({
72984
- name: exports_external.string().min(1).max(255),
72997
+ name: exports_external.string().trim().min(1).max(255),
72985
72998
  description: exports_external.string().optional(),
72986
72999
  typeId: exports_external.string().min(1).meta({ description: "Concrete asset type slug (e.g. 'bond', 'kbc-deposit')" }),
72987
73000
  baseAssetType: assetType().optional().meta({
@@ -73026,7 +73039,7 @@ var ReadInputSchema2 = exports_external.object({
73026
73039
  });
73027
73040
  var UpdateInputSchema2 = exports_external.object({
73028
73041
  id: exports_external.string().min(1).meta({ description: "Template ID" }),
73029
- name: exports_external.string().min(1).max(255).optional(),
73042
+ name: exports_external.string().trim().min(1).max(255).optional(),
73030
73043
  description: exports_external.string().nullable().optional(),
73031
73044
  typeId: exports_external.string().min(1).meta({ description: "Concrete asset type slug (e.g. 'bond', 'kbc-deposit')" }).optional(),
73032
73045
  baseAssetType: assetType().optional().meta({
@@ -77999,7 +78012,7 @@ function normalizeDalpBaseUrl(url3) {
77999
78012
  }
78000
78013
  var package_default = {
78001
78014
  name: "@settlemint/dalp-sdk",
78002
- version: "2.1.7-main.25402904048",
78015
+ version: "2.1.7-main.25404192364",
78003
78016
  private: false,
78004
78017
  description: "Fully typed SDK for the DALP tokenization platform API",
78005
78018
  homepage: "https://settlemint.com",
@@ -78550,7 +78563,7 @@ function trimConfigValue(name, value3) {
78550
78563
  // package.json
78551
78564
  var package_default2 = {
78552
78565
  name: "@settlemint/dalp-cli",
78553
- version: "2.1.7-main.25402904048",
78566
+ version: "2.1.7-main.25404192364",
78554
78567
  private: false,
78555
78568
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
78556
78569
  homepage: "https://settlemint.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "2.1.7-main.25402904048",
3
+ "version": "2.1.7-main.25404192364",
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",