@settlemint/dalp-cli 2.1.7-main.23656347356 → 2.1.7-main.23667535862

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 +38 -48
  2. package/package.json +1 -1
package/dist/dalp.js CHANGED
@@ -63182,16 +63182,6 @@ var CUSTOM_ERRORS = {
63182
63182
  message: "Resource already exists",
63183
63183
  status: 409
63184
63184
  },
63185
- THE_GRAPH_ERROR: {
63186
- message: "The Graph error",
63187
- status: 500,
63188
- data: exports_external.object({
63189
- document: exports_external.unknown(),
63190
- variables: exports_external.unknown(),
63191
- stack: exports_external.string().optional(),
63192
- responseValidation: exports_external.string().optional()
63193
- })
63194
- },
63195
63185
  CONFLICT: {
63196
63186
  message: "Conflict",
63197
63187
  status: 409
@@ -64479,11 +64469,11 @@ var RecoveryExecuteOutputSchema = exports_external.object({
64479
64469
  })
64480
64470
  });
64481
64471
  var identityStatuses = ["pending", "registered"];
64482
- var theGraphIdentityStatuses = ["PENDING", "ACTIVE"];
64472
+ var indexedIdentityStatuses = ["PENDING", "ACTIVE"];
64483
64473
  var IdentityStatusSchema = exports_external.enum(identityStatuses).meta({ description: "On-chain identity registration status", examples: ["pending", "registered"] });
64484
64474
  var identityStatus = () => IdentityStatusSchema;
64485
- var TheGraphIdentityStatusSchema = exports_external.enum(theGraphIdentityStatuses).meta({ description: "TheGraph subgraph identity registration status", examples: ["PENDING", "ACTIVE"] });
64486
- var theGraphIdentityStatus = () => TheGraphIdentityStatusSchema;
64475
+ var IndexedIdentityStatusSchema = exports_external.enum(indexedIdentityStatuses).meta({ description: "Indexed identity registration status", examples: ["PENDING", "ACTIVE"] });
64476
+ var indexedIdentityStatus = () => IndexedIdentityStatusSchema;
64487
64477
  var RecoveryPreviewInputSchema = exports_external.object({
64488
64478
  userId: exports_external.string().min(1).meta({
64489
64479
  description: "The internal database ID of the user to recover"
@@ -64923,7 +64913,7 @@ var claimIssuer = exports_external.object({
64923
64913
  });
64924
64914
  var identityClaimBase = exports_external.object({
64925
64915
  id: exports_external.string().meta({
64926
- description: "Composite claim ID from subgraph (identity + claimId)",
64916
+ description: "Composite claim ID (identity + claimId)",
64927
64917
  examples: ["0x123abc-42", "0x456def-1"]
64928
64918
  }),
64929
64919
  name: exports_external.string().meta({
@@ -65319,7 +65309,7 @@ var IdentityUnifiedResponseSchema = exports_external.object({
65319
65309
  }),
65320
65310
  registered: exports_external.array(exports_external.object({
65321
65311
  id: exports_external.string(),
65322
- status: theGraphIdentityStatus(),
65312
+ status: indexedIdentityStatus(),
65323
65313
  country: exports_external.number().nullable(),
65324
65314
  claims: exports_external.array(RegisteredIdentityClaimSchema).default([])
65325
65315
  })).nullable().optional()
@@ -66854,7 +66844,7 @@ var SystemSchema = exports_external.object({
66854
66844
  description: "ISO country code",
66855
66845
  examples: [840, 826, 276]
66856
66846
  }).nullable(),
66857
- status: theGraphIdentityStatus()
66847
+ status: indexedIdentityStatus()
66858
66848
  })).meta({
66859
66849
  description: "Registered identities for the user",
66860
66850
  examples: []
@@ -67136,7 +67126,7 @@ var BootstrappedSystemSchema = SystemSchema.omit({
67136
67126
  userIdentityRegistered: true
67137
67127
  }).extend({
67138
67128
  chainId: exports_external.number().nullable().default(null).meta({
67139
- description: "EVM chain ID (null for TheGraph-sourced systems)",
67129
+ description: "EVM chain ID (null for legacy imported systems)",
67140
67130
  examples: [1, 80002]
67141
67131
  }),
67142
67132
  tokenFactoryRegistry: exports_external.object({
@@ -67171,7 +67161,7 @@ var BootstrappedSystemSchema = SystemSchema.omit({
67171
67161
  id: ethereumAddress
67172
67162
  }),
67173
67163
  country: exports_external.number().nullable(),
67174
- status: theGraphIdentityStatus()
67164
+ status: indexedIdentityStatus()
67175
67165
  }))
67176
67166
  }),
67177
67167
  trustedIssuersRegistry: exports_external.object({
@@ -67220,7 +67210,7 @@ var SystemAddonListSchema = SortableListSchema.extend({
67220
67210
  }),
67221
67211
  orderBy: exports_external.enum(["id", "name", "typeId"]).optional().default("id")
67222
67212
  });
67223
- var TheGraphSystemAddonSchema = exports_external.object({
67213
+ var IndexedSystemAddonSchema = exports_external.object({
67224
67214
  id: ethereumAddress.meta({
67225
67215
  description: "The addon contract address",
67226
67216
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
@@ -67247,7 +67237,7 @@ var TheGraphSystemAddonSchema = exports_external.object({
67247
67237
  var AddonsResponseSchema = exports_external.object({
67248
67238
  system: exports_external.object({
67249
67239
  systemAddonRegistry: exports_external.object({
67250
- systemAddons: exports_external.array(TheGraphSystemAddonSchema)
67240
+ systemAddons: exports_external.array(IndexedSystemAddonSchema)
67251
67241
  }).nullable()
67252
67242
  })
67253
67243
  });
@@ -67792,7 +67782,7 @@ var FeedListOutputSchema = exports_external.object({
67792
67782
  items: exports_external.array(FeedItemSchema),
67793
67783
  totalCount: exports_external.number()
67794
67784
  });
67795
- var TheGraphFeedSchema = exports_external.object({
67785
+ var IndexedFeedSchema = exports_external.object({
67796
67786
  id: exports_external.string(),
67797
67787
  feedAddress: exports_external.string(),
67798
67788
  subject: exports_external.string(),
@@ -67824,7 +67814,7 @@ var TheGraphFeedSchema = exports_external.object({
67824
67814
  var FeedsListResponseSchema = exports_external.object({
67825
67815
  system: exports_external.object({
67826
67816
  feedsDirectory: exports_external.object({
67827
- feeds: exports_external.array(TheGraphFeedSchema)
67817
+ feeds: exports_external.array(IndexedFeedSchema)
67828
67818
  }).nullable()
67829
67819
  })
67830
67820
  });
@@ -68055,7 +68045,7 @@ var list8 = v1Contract.route({
68055
68045
  var resolve2 = v1Contract.route({
68056
68046
  method: "GET",
68057
68047
  path: "/system/feeds/resolve",
68058
- description: "Resolve the feed registered for a (subject, topic) pair via direct chain read with optional subgraph enrichment. Accepts topicName, topicId, or both.",
68048
+ description: "Resolve the feed registered for a (subject, topic) pair via direct chain read with optional indexed enrichment. Accepts topicName, topicId, or both.",
68059
68049
  successDescription: "Feed resolution result",
68060
68050
  tags: TAGS12
68061
68051
  }).input(FeedResolveInputSchema).output(FeedResolveOutputSchema);
@@ -68127,7 +68117,7 @@ var issuerSignedCreate = v1Contract.route({
68127
68117
  var issuerSignedList = v1Contract.route({
68128
68118
  method: "GET",
68129
68119
  path: "/system/feeds/issuer-signed",
68130
- description: "List feeds created via the IssuerSignedScalarFeedFactory (indexed via subgraph)",
68120
+ description: "List feeds created via the IssuerSignedScalarFeedFactory",
68131
68121
  successDescription: "List of factory-created feeds",
68132
68122
  tags: TAGS12
68133
68123
  }).input(IssuerSignedListInputSchema).output(IssuerSignedListOutputSchema);
@@ -68156,7 +68146,7 @@ var adapterCreate = v1Contract.route({
68156
68146
  var adapterList = v1Contract.route({
68157
68147
  method: "GET",
68158
68148
  path: "/system/feeds/adapters",
68159
- description: "List adapters created via the ScalarFeedAggregatorAdapterFactory (indexed via subgraph)",
68149
+ description: "List adapters created via the ScalarFeedAggregatorAdapterFactory",
68160
68150
  successDescription: "List of adapters",
68161
68151
  tags: TAGS12
68162
68152
  }).input(AdapterListInputSchema).output(AdapterListOutputSchema);
@@ -68519,7 +68509,7 @@ var ClaimsRevokeOutputSchema = BaseMutationOutputSchema.extend({
68519
68509
  var history2 = v1Contract.route({
68520
68510
  method: "GET",
68521
68511
  path: "/system/identity/claim/history",
68522
- description: "Retrieve chronological claim events for an identity directly from TheGraph. Supports optional filtering for focused audit trails.",
68512
+ description: "Retrieve chronological claim events for an identity from indexed event history. Supports optional filtering for focused audit trails.",
68523
68513
  successDescription: "Claim history retrieved successfully",
68524
68514
  tags: ["claims"]
68525
68515
  }).input(ClaimsHistoryInputSchema).output(ClaimsHistoryOutputSchema);
@@ -68650,7 +68640,7 @@ var IdentitySearchGraphQlResponseSchema = exports_external.object({
68650
68640
  }),
68651
68641
  registered: exports_external.array(exports_external.object({
68652
68642
  id: ethereumHex,
68653
- status: theGraphIdentityStatus(),
68643
+ status: indexedIdentityStatus(),
68654
68644
  country: exports_external.number().nullable()
68655
68645
  })).nullable().optional()
68656
68646
  })).nullable().optional()
@@ -72811,7 +72801,7 @@ var ActionsV2ListOutputSchema = createSingleResponse(exports_external.object({
72811
72801
  var list12 = v2Contract.route({
72812
72802
  method: "GET",
72813
72803
  path: "/actions",
72814
- description: "List actions available to the authenticated user. Includes both on-chain actions from TheGraph and off-chain KYC actions.",
72804
+ description: "List actions available to the authenticated user. Includes both indexed on-chain actions and off-chain KYC actions.",
72815
72805
  successDescription: "User actions retrieved successfully.",
72816
72806
  tags: ["v2-actions"]
72817
72807
  }).input(v2Input.query(ActionsV2ListInputSchema)).output(ActionsV2ListOutputSchema);
@@ -73749,13 +73739,13 @@ var BlockchainMonitoringV2ServicesInputSchema = exports_external.object({
73749
73739
  });
73750
73740
  var ServiceBreakdownItemSchema = exports_external.object({
73751
73741
  serviceId: exports_external.uuid().meta({ description: "Service dimension table ID" }),
73752
- serviceType: exports_external.enum(["chain-rpc", "graph-node"]).meta({ description: "Service type" }),
73742
+ serviceType: exports_external.enum(["chain-rpc", "indexer"]).meta({ description: "Service type" }),
73753
73743
  chainId: exports_external.number().meta({ description: "Chain ID" }),
73754
73744
  networkName: exports_external.string().meta({ description: "Human-readable network name" }),
73755
73745
  latestStatus: exports_external.enum(["healthy", "degraded", "critical", "unknown"]).meta({ description: "Most recent health status" }),
73756
73746
  latestSampledAt: exports_external.date().nullable().meta({ description: "Timestamp of the most recent health check" }),
73757
73747
  snapshotCount: exports_external.number().meta({ description: "Number of snapshots in the queried time range" }),
73758
- avgSyncLag: exports_external.number().nullable().meta({ description: "Average sync lag in blocks (Graph Node only)" }),
73748
+ avgSyncLag: exports_external.number().nullable().meta({ description: "Average sync lag in blocks" }),
73759
73749
  avgBlockAgeSeconds: exports_external.number().nullable().meta({ description: "Average head block age in seconds" }),
73760
73750
  avgFinalityLagBlocks: exports_external.number().nullable().meta({ description: "Average finality lag in blocks" }),
73761
73751
  avgStallSeconds: exports_external.number().nullable().meta({ description: "Average head-stall duration in seconds" }),
@@ -73773,23 +73763,23 @@ var BlockchainMonitoringV2SnapshotsInputSchema = exports_external.object({
73773
73763
  to: exports_external.date().optional().meta({ description: "End of the time range (exclusive)" }),
73774
73764
  serviceId: exports_external.uuid().optional().meta({ description: "Filter by service ID" }),
73775
73765
  status: exports_external.enum(["healthy", "degraded", "critical", "unknown"]).optional().meta({ description: "Filter by classified health status" }),
73776
- serviceType: exports_external.enum(["chain-rpc", "graph-node"]).optional().meta({ description: "Filter by service type" }),
73766
+ serviceType: exports_external.enum(["chain-rpc", "indexer"]).optional().meta({ description: "Filter by service type" }),
73777
73767
  search: exports_external.string().max(200).optional().meta({ description: "Search by network name (substring match)" }),
73778
73768
  cursor: exports_external.uuid().optional().meta({ description: "Keyset pagination cursor (last seen snapshot ID)" }),
73779
73769
  limit: exports_external.number().int().min(1).max(100).default(20).meta({ description: "Maximum number of results to return" })
73780
73770
  });
73781
73771
  var SnapshotItemSchema = exports_external.object({
73782
73772
  id: exports_external.uuid().meta({ description: "Snapshot ID (UUIDv7)" }),
73783
- serviceType: exports_external.enum(["chain-rpc", "graph-node"]).meta({ description: "Service type" }),
73773
+ serviceType: exports_external.enum(["chain-rpc", "indexer"]).meta({ description: "Service type" }),
73784
73774
  chainId: exports_external.number().meta({ description: "Chain ID" }),
73785
73775
  networkName: exports_external.string().meta({ description: "Human-readable network name" }),
73786
73776
  status: exports_external.enum(["healthy", "degraded", "critical", "unknown"]).meta({ description: "Classified health status" }),
73787
73777
  rawStatus: exports_external.enum(["healthy", "degraded", "critical", "unknown"]).meta({ description: "Raw per-snapshot classification before hysteresis smoothing" }),
73788
73778
  sampledAt: exports_external.date().meta({ description: "When this health check was taken" }),
73789
73779
  blockHeight: exports_external.number().nullable().meta({ description: "Current block height reported by the service" }),
73790
- chainHeadBlock: exports_external.number().nullable().meta({ description: "Chain head block (Graph Node only)" }),
73791
- syncLag: exports_external.number().nullable().meta({ description: "Difference between chain head and service block (Graph Node only)" }),
73792
- entityCount: exports_external.number().nullable().meta({ description: "Number of indexed entities (Graph Node only)" }),
73780
+ chainHeadBlock: exports_external.number().nullable().meta({ description: "Chain head block (indexer only)" }),
73781
+ syncLag: exports_external.number().nullable().meta({ description: "Difference between chain head and service block (indexer only)" }),
73782
+ entityCount: exports_external.number().nullable().meta({ description: "Number of indexed entities (currently unused)" }),
73793
73783
  blockAgeSeconds: exports_external.number().nullable().meta({ description: "Head block age in seconds (chain-RPC only)" }),
73794
73784
  finalityLagBlocks: exports_external.number().nullable().meta({ description: "Finality lag in blocks (chain-RPC only)" }),
73795
73785
  stallSeconds: exports_external.number().nullable().meta({ description: "Seconds since head block last advanced (chain-RPC only)" }),
@@ -73804,16 +73794,16 @@ var BlockchainMonitoringV2SnapshotsOutputSchema = exports_external.object({
73804
73794
  var BlockchainHealthSnapshotEventSchema = exports_external.object({
73805
73795
  id: exports_external.uuid().meta({ description: "Snapshot ID (UUIDv7)" }),
73806
73796
  serviceId: exports_external.uuid().meta({ description: "Service dimension table ID" }),
73807
- serviceType: exports_external.enum(["chain-rpc", "graph-node"]).meta({ description: "Service type" }),
73797
+ serviceType: exports_external.enum(["chain-rpc", "indexer"]).meta({ description: "Service type" }),
73808
73798
  chainId: exports_external.number().meta({ description: "Chain ID" }),
73809
73799
  networkName: exports_external.string().meta({ description: "Human-readable network name" }),
73810
73800
  status: exports_external.enum(["healthy", "degraded", "critical", "unknown"]).meta({ description: "Classified health status after hysteresis smoothing" }),
73811
73801
  rawStatus: exports_external.enum(["healthy", "degraded", "critical", "unknown"]).meta({ description: "Raw per-snapshot classification before hysteresis smoothing" }),
73812
73802
  sampledAt: exports_external.date().meta({ description: "When this health check was taken" }),
73813
73803
  blockHeight: exports_external.number().nullable().meta({ description: "Current block height reported by the service" }),
73814
- chainHeadBlock: exports_external.number().nullable().meta({ description: "Chain head block (Graph Node only)" }),
73815
- syncLag: exports_external.number().nullable().meta({ description: "Difference between chain head and service block (Graph Node only)" }),
73816
- entityCount: exports_external.number().nullable().meta({ description: "Number of indexed entities (Graph Node only)" }),
73804
+ chainHeadBlock: exports_external.number().nullable().meta({ description: "Chain head block (indexer only)" }),
73805
+ syncLag: exports_external.number().nullable().meta({ description: "Difference between chain head and service block (indexer only)" }),
73806
+ entityCount: exports_external.number().nullable().meta({ description: "Number of indexed entities (currently unused)" }),
73817
73807
  blockAgeSeconds: exports_external.number().nullable().meta({ description: "Head block age in seconds (chain-RPC only)" }),
73818
73808
  finalityLagBlocks: exports_external.number().nullable().meta({ description: "Finality lag in blocks (chain-RPC only)" }),
73819
73809
  stallSeconds: exports_external.number().nullable().meta({ description: "Seconds since head block last advanced (chain-RPC only)" }),
@@ -73834,13 +73824,13 @@ var BlockchainMonitoringV2SummaryInputSchema = exports_external.object({
73834
73824
  });
73835
73825
  var BlockchainServiceSummarySchema = exports_external.object({
73836
73826
  serviceId: exports_external.uuid().meta({ description: "Service dimension table ID" }),
73837
- serviceType: exports_external.enum(["chain-rpc", "graph-node"]).meta({ description: "Service type" }),
73827
+ serviceType: exports_external.enum(["chain-rpc", "indexer"]).meta({ description: "Service type" }),
73838
73828
  chainId: exports_external.number().meta({ description: "Chain ID" }),
73839
73829
  networkName: exports_external.string().meta({ description: "Human-readable network name" }),
73840
73830
  latestStatus: exports_external.enum(["healthy", "degraded", "critical", "unknown"]).meta({ description: "Most recent health status" }),
73841
73831
  latestSampledAt: exports_external.date().nullable().meta({ description: "Timestamp of the most recent health check" }),
73842
73832
  snapshotCount: exports_external.number().meta({ description: "Number of snapshots in the queried time range" }),
73843
- syncLag: exports_external.number().nullable().meta({ description: "Sync lag in blocks (Graph Node only)" }),
73833
+ syncLag: exports_external.number().nullable().meta({ description: "Sync lag in blocks (indexer only)" }),
73844
73834
  blockHeight: exports_external.number().nullable().meta({ description: "Latest block height observed for this service" }),
73845
73835
  blockAgeSeconds: exports_external.number().nullable().meta({ description: "Head block age in seconds (chain-RPC only)" }),
73846
73836
  finalityLagBlocks: exports_external.number().nullable().meta({ description: "Finality lag in blocks (chain-RPC only)" }),
@@ -73865,7 +73855,7 @@ var BlockchainMonitoringV2TimelineInputSchema = exports_external.object({
73865
73855
  });
73866
73856
  var BlockchainTimelineServicePointSchema = exports_external.object({
73867
73857
  serviceKey: exports_external.string().meta({ description: "Service identifier (serviceType-chainId)" }),
73868
- serviceType: exports_external.enum(["chain-rpc", "graph-node"]).meta({ description: "Service type" }),
73858
+ serviceType: exports_external.enum(["chain-rpc", "indexer"]).meta({ description: "Service type" }),
73869
73859
  chainId: exports_external.number().meta({ description: "Chain ID" }),
73870
73860
  networkName: exports_external.string().meta({ description: "Network name" }),
73871
73861
  healthyPct: exports_external.number().meta({ description: "Percentage of healthy checks in this bucket (0-100)" }),
@@ -75018,7 +75008,7 @@ var list29 = v2Contract.route({
75018
75008
  var resolve22 = v2Contract.route({
75019
75009
  method: "GET",
75020
75010
  path: "/system/feeds/resolve",
75021
- description: "Resolve the feed registered for a (subject, topic) pair via direct chain read with optional subgraph enrichment",
75011
+ description: "Resolve the feed registered for a (subject, topic) pair via direct chain read with optional indexed enrichment",
75022
75012
  successDescription: "Feed resolution result",
75023
75013
  tags: [...TAGS27]
75024
75014
  }).input(v2Input.query(FeedResolveInputSchema)).output(createSingleResponse(FeedResolveOutputSchema));
@@ -75104,7 +75094,7 @@ var issuerSignedCreate2 = v2Contract.route({
75104
75094
  var issuerSignedList2 = v2Contract.route({
75105
75095
  method: "GET",
75106
75096
  path: "/system/feeds/issuer-signed",
75107
- description: "List feeds created via the IssuerSignedScalarFeedFactory (indexed via subgraph)",
75097
+ description: "List feeds created via the IssuerSignedScalarFeedFactory",
75108
75098
  successDescription: "List of factory-created feeds",
75109
75099
  tags: [...TAGS27]
75110
75100
  }).input(v2Input.query(IssuerSignedListInputSchema)).output(createSingleResponse(IssuerSignedListOutputSchema));
@@ -75119,7 +75109,7 @@ var adapterCreate2 = v2Contract.route({
75119
75109
  var adapterList2 = v2Contract.route({
75120
75110
  method: "GET",
75121
75111
  path: "/system/feeds/adapters",
75122
- description: "List adapters created via the ScalarFeedAggregatorAdapterFactory (indexed via subgraph)",
75112
+ description: "List adapters created via the ScalarFeedAggregatorAdapterFactory",
75123
75113
  successDescription: "List of adapters",
75124
75114
  tags: [...TAGS27]
75125
75115
  }).input(v2Input.query(AdapterListInputSchema)).output(createSingleResponse(AdapterListOutputSchema));
@@ -76697,7 +76687,7 @@ var TokenFeatureFixedTreasuryYieldSchema = exports_external.object({
76697
76687
  examples: [5.5]
76698
76688
  }),
76699
76689
  interval: exports_external.coerce.string().meta({
76700
- description: "Payout interval in seconds (string from subgraph)",
76690
+ description: "Payout interval in seconds (string-encoded interval)",
76701
76691
  examples: ["2592000"]
76702
76692
  }),
76703
76693
  denominationAsset: ethereumAddress.meta({
@@ -83085,7 +83075,7 @@ var timestampSerializer = {
83085
83075
  };
83086
83076
  var package_default = {
83087
83077
  name: "@settlemint/dalp-sdk",
83088
- version: "2.1.7-main.23656347356",
83078
+ version: "2.1.7-main.23667535862",
83089
83079
  private: false,
83090
83080
  description: "Fully typed SDK for the DALP tokenization platform API",
83091
83081
  homepage: "https://settlemint.com",
@@ -83228,7 +83218,7 @@ function createDalpClient(config3) {
83228
83218
  // package.json
83229
83219
  var package_default2 = {
83230
83220
  name: "@settlemint/dalp-cli",
83231
- version: "2.1.7-main.23656347356",
83221
+ version: "2.1.7-main.23667535862",
83232
83222
  private: false,
83233
83223
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
83234
83224
  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.23656347356",
3
+ "version": "2.1.7-main.23667535862",
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",