@settlemint/dalp-cli 3.1.18-release.33864081845 → 3.1.18-release.33886186961

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 +137 -7
  2. package/package.json +1 -1
package/dist/dalp.js CHANGED
@@ -68080,6 +68080,34 @@ var ENTRIES_INDEX = {
68080
68080
  owner: "webhooks",
68081
68081
  orpcCode: "WEBHOOK_TEST_EVENT_NOT_QUEUED"
68082
68082
  },
68083
+ "DALP-0681": {
68084
+ id: "DALP-0681",
68085
+ kind: "route",
68086
+ category: "auth",
68087
+ status: 400,
68088
+ retryable: false,
68089
+ expectedClientError: true,
68090
+ public: {
68091
+ message: "Wallet verification is required",
68092
+ why: "This operation signs with the wallet, so the request must carry a `walletVerification` object with the code and the verification type. The request carried none.",
68093
+ fix: "Send `walletVerification` in the request body with `secretVerificationCode` and `verificationType` (`PINCODE`, `SECRET_CODES`, `OTP`, or `OIDC_MFA`), then retry."
68094
+ },
68095
+ observability: {
68096
+ severity: "info",
68097
+ otelEventName: "dapi.error",
68098
+ metricAttributeKey: "dapi.error.id",
68099
+ dimensions: [
68100
+ "error.id",
68101
+ "error.category",
68102
+ "surface",
68103
+ "route",
68104
+ "status_class",
68105
+ "retryable"
68106
+ ]
68107
+ },
68108
+ owner: "dapi",
68109
+ orpcCode: "WALLET_VERIFICATION_REQUIRED"
68110
+ },
68083
68111
  "DALP-1001": {
68084
68112
  id: "DALP-1001",
68085
68113
  kind: "contract",
@@ -92009,6 +92037,34 @@ var ENTRIES_INDEX = {
92009
92037
  owner: "dapi",
92010
92038
  orpcCode: "USER_ONBOARDING_RESET_FAILED"
92011
92039
  },
92040
+ "DALP-9102": {
92041
+ id: "DALP-9102",
92042
+ kind: "route",
92043
+ category: "client",
92044
+ status: 409,
92045
+ retryable: false,
92046
+ expectedClientError: true,
92047
+ public: {
92048
+ message: "This identity creation already failed. Start a new one with a fresh idempotency key.",
92049
+ why: "An earlier identity creation sent under this idempotency key ended in failure, and the platform keeps that outcome so the same key never produces a second on-chain attempt.",
92050
+ fix: "Send the identity creation again with a new `Idempotency-Key` value. The wallet stays eligible, so the fresh attempt runs from the start."
92051
+ },
92052
+ observability: {
92053
+ severity: "info",
92054
+ otelEventName: "dapi.error",
92055
+ metricAttributeKey: "dapi.error.id",
92056
+ dimensions: [
92057
+ "error.id",
92058
+ "error.category",
92059
+ "surface",
92060
+ "route",
92061
+ "status_class",
92062
+ "retryable"
92063
+ ]
92064
+ },
92065
+ owner: "dapi",
92066
+ orpcCode: "SYSTEM_IDENTITY_CREATE_PREVIOUS_ATTEMPT_FAILED"
92067
+ },
92012
92068
  "DALP-CHAIN-EMPTY-REVERT": {
92013
92069
  id: "DALP-CHAIN-EMPTY-REVERT",
92014
92070
  kind: "contract",
@@ -93274,6 +93330,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES = {
93274
93330
  "DALP-0678": [],
93275
93331
  "DALP-0679": [],
93276
93332
  "DALP-0680": [],
93333
+ "DALP-0681": [],
93277
93334
  "DALP-1001": [
93278
93335
  "args",
93279
93336
  "correlationId",
@@ -102346,6 +102403,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES = {
102346
102403
  "DALP-9099": [],
102347
102404
  "DALP-9100": [],
102348
102405
  "DALP-9101": [],
102406
+ "DALP-9102": [],
102349
102407
  "DALP-CHAIN-EMPTY-REVERT": [
102350
102408
  "args",
102351
102409
  "correlationId",
@@ -103307,6 +103365,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID = {
103307
103365
  "DALP-0678": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
103308
103366
  "DALP-0679": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
103309
103367
  "DALP-0680": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
103368
+ "DALP-0681": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
103310
103369
  "DALP-1001": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
103311
103370
  args: exports_external.record(exports_external.string(), exports_external.string()),
103312
103371
  correlationId: exports_external.string(),
@@ -112379,6 +112438,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID = {
112379
112438
  "DALP-9099": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
112380
112439
  "DALP-9100": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
112381
112440
  "DALP-9101": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
112441
+ "DALP-9102": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
112382
112442
  "DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
112383
112443
  args: exports_external.record(exports_external.string(), exports_external.string()),
112384
112444
  correlationId: exports_external.string(),
@@ -116412,6 +116472,10 @@ var CUSTOM_ERRORS = {
116412
116472
  status: 503,
116413
116473
  message: "System context not available. Ensure systemMiddleware is active"
116414
116474
  },
116475
+ SYSTEM_IDENTITY_CREATE_PREVIOUS_ATTEMPT_FAILED: {
116476
+ status: 409,
116477
+ message: "This identity creation already failed. Start a new one with a fresh idempotency key."
116478
+ },
116415
116479
  SYSTEM_IDENTITY_DATABASE_CONTEXT_REQUIRED_VALIDATE_KNOWYOURCUSTOMER_CLAIM_VALUES: {
116416
116480
  status: 500,
116417
116481
  message: "Database context missing; needed to validate knowYourCustomer claim values",
@@ -117438,6 +117502,10 @@ var CUSTOM_ERRORS = {
117438
117502
  status: 503,
117439
117503
  message: "Workflow engine client is not available"
117440
117504
  },
117505
+ WALLET_VERIFICATION_REQUIRED: {
117506
+ status: 400,
117507
+ message: "Wallet verification is required"
117508
+ },
117441
117509
  WEBHOOK_DELIVERY_NOT_FOUND: {
117442
117510
  status: 404,
117443
117511
  message: "Webhook delivery not found"
@@ -135562,10 +135630,10 @@ var RefundSplitterRunwaySnapshotSchema = exports_external.object({
135562
135630
  burn7dWei: RefundSplitterDecimalStringSchema,
135563
135631
  runwayDays: exports_external.string().nullable()
135564
135632
  });
135565
- var RefundSplitterSetBpsInputSchema = exports_external.object({
135633
+ var RefundSplitterSetBpsInputSchema = MutationInputSchema.extend({
135566
135634
  bps: exports_external.number().int().min(0).max(1e4)
135567
135635
  });
135568
- var RefundSplitterSetSponsorshipInputSchema = exports_external.object({
135636
+ var RefundSplitterSetSponsorshipInputSchema = MutationInputSchema.extend({
135569
135637
  enabled: exports_external.boolean()
135570
135638
  });
135571
135639
  var RefundSplitterSetThresholdsInputSchema = exports_external.object({
@@ -135579,11 +135647,11 @@ var RefundSplitterThresholdsSchema = exports_external.object({
135579
135647
  warnDays: exports_external.number().int().min(1),
135580
135648
  criticalDays: exports_external.number().int().min(1)
135581
135649
  });
135582
- var RefundSplitterRecoverNativeInputSchema = exports_external.object({
135650
+ var RefundSplitterRecoverNativeInputSchema = MutationInputSchema.extend({
135583
135651
  to: ethereumAddress,
135584
135652
  amount: RefundSplitterPositiveDecimalStringSchema
135585
135653
  });
135586
- var RefundSplitterRecoverErc20InputSchema = exports_external.object({
135654
+ var RefundSplitterRecoverErc20InputSchema = MutationInputSchema.extend({
135587
135655
  token: ethereumAddress,
135588
135656
  to: ethereumAddress,
135589
135657
  amount: RefundSplitterPositiveDecimalStringSchema
@@ -141877,7 +141945,7 @@ function normalizeDalpBaseUrl(url2) {
141877
141945
  }
141878
141946
  var package_default = {
141879
141947
  name: "@settlemint/dalp-sdk",
141880
- version: "3.1.18-release.33864081845",
141948
+ version: "3.1.18-release.33886186961",
141881
141949
  private: false,
141882
141950
  description: "Fully typed SDK for the DALP tokenization platform API",
141883
141951
  homepage: "https://settlemint.com",
@@ -143049,6 +143117,7 @@ var DAPI_ROUTE_ERROR_IDS = {
143049
143117
  "DALP-0678": "DALP-0678",
143050
143118
  "DALP-0679": "DALP-0679",
143051
143119
  "DALP-0680": "DALP-0680",
143120
+ "DALP-0681": "DALP-0681",
143052
143121
  "DALP-9070": "DALP-9070",
143053
143122
  "DALP-9071": "DALP-9071",
143054
143123
  "DALP-9072": "DALP-9072",
@@ -143076,7 +143145,8 @@ var DAPI_ROUTE_ERROR_IDS = {
143076
143145
  "DALP-9098": "DALP-9098",
143077
143146
  "DALP-9099": "DALP-9099",
143078
143147
  "DALP-9100": "DALP-9100",
143079
- "DALP-9101": "DALP-9101"
143148
+ "DALP-9101": "DALP-9101",
143149
+ "DALP-9102": "DALP-9102"
143080
143150
  };
143081
143151
  var DAPI_ERROR_IDS = {
143082
143152
  ...DAPI_ROUTE_ERROR_IDS,
@@ -143099,7 +143169,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
143099
143169
  // package.json
143100
143170
  var package_default2 = {
143101
143171
  name: "@settlemint/dalp-cli",
143102
- version: "3.1.18-release.33864081845",
143172
+ version: "3.1.18-release.33886186961",
143103
143173
  private: false,
143104
143174
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
143105
143175
  homepage: "https://settlemint.com",
@@ -161111,6 +161181,34 @@ var ENTRIES_INDEX2 = {
161111
161181
  owner: "webhooks",
161112
161182
  orpcCode: "WEBHOOK_TEST_EVENT_NOT_QUEUED"
161113
161183
  },
161184
+ "DALP-0681": {
161185
+ id: "DALP-0681",
161186
+ kind: "route",
161187
+ category: "auth",
161188
+ status: 400,
161189
+ retryable: false,
161190
+ expectedClientError: true,
161191
+ public: {
161192
+ message: "Wallet verification is required",
161193
+ why: "This operation signs with the wallet, so the request must carry a `walletVerification` object with the code and the verification type. The request carried none.",
161194
+ fix: "Send `walletVerification` in the request body with `secretVerificationCode` and `verificationType` (`PINCODE`, `SECRET_CODES`, `OTP`, or `OIDC_MFA`), then retry."
161195
+ },
161196
+ observability: {
161197
+ severity: "info",
161198
+ otelEventName: "dapi.error",
161199
+ metricAttributeKey: "dapi.error.id",
161200
+ dimensions: [
161201
+ "error.id",
161202
+ "error.category",
161203
+ "surface",
161204
+ "route",
161205
+ "status_class",
161206
+ "retryable"
161207
+ ]
161208
+ },
161209
+ owner: "dapi",
161210
+ orpcCode: "WALLET_VERIFICATION_REQUIRED"
161211
+ },
161114
161212
  "DALP-1001": {
161115
161213
  id: "DALP-1001",
161116
161214
  kind: "contract",
@@ -185040,6 +185138,34 @@ var ENTRIES_INDEX2 = {
185040
185138
  owner: "dapi",
185041
185139
  orpcCode: "USER_ONBOARDING_RESET_FAILED"
185042
185140
  },
185141
+ "DALP-9102": {
185142
+ id: "DALP-9102",
185143
+ kind: "route",
185144
+ category: "client",
185145
+ status: 409,
185146
+ retryable: false,
185147
+ expectedClientError: true,
185148
+ public: {
185149
+ message: "This identity creation already failed. Start a new one with a fresh idempotency key.",
185150
+ why: "An earlier identity creation sent under this idempotency key ended in failure, and the platform keeps that outcome so the same key never produces a second on-chain attempt.",
185151
+ fix: "Send the identity creation again with a new `Idempotency-Key` value. The wallet stays eligible, so the fresh attempt runs from the start."
185152
+ },
185153
+ observability: {
185154
+ severity: "info",
185155
+ otelEventName: "dapi.error",
185156
+ metricAttributeKey: "dapi.error.id",
185157
+ dimensions: [
185158
+ "error.id",
185159
+ "error.category",
185160
+ "surface",
185161
+ "route",
185162
+ "status_class",
185163
+ "retryable"
185164
+ ]
185165
+ },
185166
+ owner: "dapi",
185167
+ orpcCode: "SYSTEM_IDENTITY_CREATE_PREVIOUS_ATTEMPT_FAILED"
185168
+ },
185043
185169
  "DALP-CHAIN-EMPTY-REVERT": {
185044
185170
  id: "DALP-CHAIN-EMPTY-REVERT",
185045
185171
  kind: "contract",
@@ -186322,6 +186448,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES2 = {
186322
186448
  "DALP-0678": [],
186323
186449
  "DALP-0679": [],
186324
186450
  "DALP-0680": [],
186451
+ "DALP-0681": [],
186325
186452
  "DALP-1001": [
186326
186453
  "args",
186327
186454
  "correlationId",
@@ -195394,6 +195521,7 @@ var DALP_ERROR_TYPED_FIELD_NAMES2 = {
195394
195521
  "DALP-9099": [],
195395
195522
  "DALP-9100": [],
195396
195523
  "DALP-9101": [],
195524
+ "DALP-9102": [],
195397
195525
  "DALP-CHAIN-EMPTY-REVERT": [
195398
195526
  "args",
195399
195527
  "correlationId",
@@ -196357,6 +196485,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID2 = {
196357
196485
  "DALP-0678": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
196358
196486
  "DALP-0679": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
196359
196487
  "DALP-0680": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
196488
+ "DALP-0681": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
196360
196489
  "DALP-1001": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
196361
196490
  args: exports_external.record(exports_external.string(), exports_external.string()),
196362
196491
  correlationId: exports_external.string(),
@@ -205429,6 +205558,7 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID2 = {
205429
205558
  "DALP-9099": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
205430
205559
  "DALP-9100": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
205431
205560
  "DALP-9101": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
205561
+ "DALP-9102": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
205432
205562
  "DALP-CHAIN-EMPTY-REVERT": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
205433
205563
  args: exports_external.record(exports_external.string(), exports_external.string()),
205434
205564
  correlationId: exports_external.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.1.18-release.33864081845",
3
+ "version": "3.1.18-release.33886186961",
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",