@settlemint/dalp-cli 3.1.7-main.32974979698 → 3.1.7-main.32976095585

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/dist/dalp.js CHANGED
@@ -46201,7 +46201,7 @@ var API_ERROR_CATEGORIES = new Set([
46201
46201
  // ../sdk/package.json
46202
46202
  var package_default = {
46203
46203
  name: "@settlemint/dalp-sdk",
46204
- version: "3.1.7-main.32974979698",
46204
+ version: "3.1.7-main.32976095585",
46205
46205
  private: false,
46206
46206
  description: "Fully typed SDK for the DALP tokenization platform API",
46207
46207
  homepage: "https://settlemint.com",
@@ -61117,6 +61117,24 @@ var zCreateManagedCustodyAccountOutputResponse = strictObject({
61117
61117
  data: zCreateManagedCustodyAccountOutput,
61118
61118
  links: zSingleResourceLinks
61119
61119
  });
61120
+ var zCustodyAccountLifecycleRequestId2 = string2().min(1);
61121
+ var zCustodyAccountLifecycleRequestState1 = _enum2([
61122
+ "awaiting-proof",
61123
+ "awaiting-existing-approval",
61124
+ "claimed",
61125
+ "awaiting-aa-reconciliation",
61126
+ "reconciling",
61127
+ "awaiting-external-message-authorization",
61128
+ "awaiting-external-authorization",
61129
+ "succeeded",
61130
+ "failed",
61131
+ "expired"
61132
+ ]);
61133
+ var zCustodyAccountLifecycleAccepted = strictObject({
61134
+ requestId: zCustodyAccountLifecycleRequestId2,
61135
+ state: zCustodyAccountLifecycleRequestState1,
61136
+ statusUrl: string2()
61137
+ });
61120
61138
  var zUserId = string2().min(1);
61121
61139
  var zCustodyAccountLedger = _enum2(["evm", "canton"]);
61122
61140
  var zCustodyAccountProofBindingEncoded = strictObject({
@@ -61195,6 +61213,10 @@ var zCustodyAccountLifecycleStatusOutputResponse = strictObject({
61195
61213
  var zPrepareExistingCustodyAccountControlInput = strictObject({
61196
61214
  operation: _enum2(["revoke", "archive"])
61197
61215
  });
61216
+ var zCustodyAccountLifecycleStatusOutputResponse1 = strictObject({
61217
+ data: zCustodyAccountLifecycleStatusOutputEncoded,
61218
+ links: zSingleResourceLinks
61219
+ });
61198
61220
  var zCustodyAccountApprovalPreparationOutputEncoded = strictObject({
61199
61221
  requestId: zCustodyAccountLifecycleRequestId1,
61200
61222
  custodyAccountId: zCustodyAccountId,
@@ -80247,7 +80269,10 @@ var zV2UserCreateManagedCustodyAccountHeaders = object({
80247
80269
  "Idempotency-Key": string2().optional(),
80248
80270
  Prefer: string2().optional()
80249
80271
  });
80250
- var zV2UserCreateManagedCustodyAccountResponse = zCreateManagedCustodyAccountOutputResponse;
80272
+ var zV2UserCreateManagedCustodyAccountResponse = union([
80273
+ zCreateManagedCustodyAccountOutputResponse,
80274
+ zCustodyAccountLifecycleAccepted
80275
+ ]);
80251
80276
  var zV2UserPrepareCustodyAccountControlBody = strictObject({
80252
80277
  providerConfigurationId: zCustodyProviderConfigurationId,
80253
80278
  signingAddress: zEvmAddress1
@@ -80264,7 +80289,10 @@ var zV2UserStartCustodyAccountLifecycleHeaders = object({
80264
80289
  "Idempotency-Key": string2().optional(),
80265
80290
  Prefer: string2().optional()
80266
80291
  });
80267
- var zV2UserStartCustodyAccountLifecycleResponse = zCustodyAccountLifecycleStatusOutputResponse;
80292
+ var zV2UserStartCustodyAccountLifecycleResponse = union([
80293
+ zCustodyAccountLifecycleStatusOutputResponse,
80294
+ zCustodyAccountLifecycleAccepted
80295
+ ]);
80268
80296
  var zV2UserPrepareExistingCustodyAccountControlBody = zPrepareExistingCustodyAccountControlInput;
80269
80297
  var zV2UserPrepareExistingCustodyAccountControlHeaders = object({
80270
80298
  "Idempotency-Key": string2().optional(),
@@ -80282,11 +80310,14 @@ var zV2UserStartManagedCustodyAccountLifecycleHeaders = object({
80282
80310
  var zV2UserStartManagedCustodyAccountLifecyclePath = object({
80283
80311
  custodyAccountId: zCustodyAccountId
80284
80312
  });
80285
- var zV2UserStartManagedCustodyAccountLifecycleResponse = zCustodyAccountLifecycleStatusOutputResponse;
80313
+ var zV2UserStartManagedCustodyAccountLifecycleResponse = union([
80314
+ zCustodyAccountLifecycleStatusOutputResponse,
80315
+ zCustodyAccountLifecycleAccepted
80316
+ ]);
80286
80317
  var zV2UserReadCustodyAccountLifecyclePath = object({
80287
80318
  requestId: zCustodyAccountLifecycleRequestId1
80288
80319
  });
80289
- var zV2UserReadCustodyAccountLifecycleResponse = zCustodyAccountLifecycleStatusOutputResponse;
80320
+ var zV2UserReadCustodyAccountLifecycleResponse = zCustodyAccountLifecycleStatusOutputResponse1;
80290
80321
  var zV2UserPrepareCustodyAccountApprovalBody = strictObject({
80291
80322
  existingSignerCustodyAccountId: zCustodyAccountId
80292
80323
  });
@@ -80309,7 +80340,10 @@ var zV2UserApproveCustodyAccountLifecycleHeaders = object({
80309
80340
  var zV2UserApproveCustodyAccountLifecyclePath = object({
80310
80341
  requestId: zCustodyAccountLifecycleRequestId1
80311
80342
  });
80312
- var zV2UserApproveCustodyAccountLifecycleResponse = zCustodyAccountLifecycleStatusOutputResponse;
80343
+ var zV2UserApproveCustodyAccountLifecycleResponse = union([
80344
+ zCustodyAccountLifecycleStatusOutputResponse,
80345
+ zCustodyAccountLifecycleAccepted
80346
+ ]);
80313
80347
  var zV2UserResumeCustodyAccountLifecycleBody = strictObject({
80314
80348
  externalMessageAuthorization: zExternalMessageAuthorization.optional()
80315
80349
  });
@@ -80320,7 +80354,10 @@ var zV2UserResumeCustodyAccountLifecycleHeaders = object({
80320
80354
  var zV2UserResumeCustodyAccountLifecyclePath = object({
80321
80355
  requestId: zCustodyAccountLifecycleRequestId1
80322
80356
  });
80323
- var zV2UserResumeCustodyAccountLifecycleResponse = zCustodyAccountLifecycleStatusOutputResponse;
80357
+ var zV2UserResumeCustodyAccountLifecycleResponse = union([
80358
+ zCustodyAccountLifecycleStatusOutputResponse,
80359
+ zCustodyAccountLifecycleAccepted
80360
+ ]);
80324
80361
  var zV2UserAdminGetSecurityPath = object({
80325
80362
  userId: string2()
80326
80363
  });
@@ -99565,12 +99602,16 @@ __export(exports_schemas3, {
99565
99602
  zCustodyAccountId: () => zCustodyAccountId,
99566
99603
  zCustodyAccountInjectedClientConfiguration: () => zCustodyAccountInjectedClientConfiguration,
99567
99604
  zCustodyAccountLedger: () => zCustodyAccountLedger,
99605
+ zCustodyAccountLifecycleAccepted: () => zCustodyAccountLifecycleAccepted,
99568
99606
  zCustodyAccountLifecycleOperation: () => zCustodyAccountLifecycleOperation,
99569
99607
  zCustodyAccountLifecycleRequestId: () => zCustodyAccountLifecycleRequestId,
99570
99608
  zCustodyAccountLifecycleRequestId1: () => zCustodyAccountLifecycleRequestId1,
99609
+ zCustodyAccountLifecycleRequestId2: () => zCustodyAccountLifecycleRequestId2,
99571
99610
  zCustodyAccountLifecycleRequestState: () => zCustodyAccountLifecycleRequestState,
99611
+ zCustodyAccountLifecycleRequestState1: () => zCustodyAccountLifecycleRequestState1,
99572
99612
  zCustodyAccountLifecycleStatusOutputEncoded: () => zCustodyAccountLifecycleStatusOutputEncoded,
99573
99613
  zCustodyAccountLifecycleStatusOutputResponse: () => zCustodyAccountLifecycleStatusOutputResponse,
99614
+ zCustodyAccountLifecycleStatusOutputResponse1: () => zCustodyAccountLifecycleStatusOutputResponse1,
99574
99615
  zCustodyAccountListResponse: () => zCustodyAccountListResponse,
99575
99616
  zCustodyAccountOrganizationContextId: () => zCustodyAccountOrganizationContextId,
99576
99617
  zCustodyAccountPortfolioAuthorityV2: () => zCustodyAccountPortfolioAuthorityV2,
@@ -140238,8 +140279,8 @@ var openapi_surface_default = {
140238
140279
  method: "POST",
140239
140280
  url: "/api/v2/users/me/custody-accounts/managed",
140240
140281
  summary: "Create a managed custody account",
140241
- description: "Creates an account with the selected enabled managed provider configuration and links it through the durable account lifecycle.",
140242
- help: "Creates an account with the selected enabled managed provider configuration and links it through the durable account lifecycle.",
140282
+ description: "Creates an account with the selected enabled managed provider configuration and links it through the durable account lifecycle. By default the platform accepts the request and answers the lifecycle handle with its status URL under status 202. A caller that sends Prefer: wait=<seconds> waits for the lifecycle to settle and receives the settled result.",
140283
+ help: "Creates an account with the selected enabled managed provider configuration and links it through the durable account lifecycle. By default the platform accepts the request and answers the lifecycle handle with its status URL under status 202. A caller that sends Prefer: wait=<seconds> waits for the lifecycle to settle and receives the settled result.",
140243
140284
  tags: [
140244
140285
  "Users"
140245
140286
  ],
@@ -140326,8 +140367,8 @@ var openapi_surface_default = {
140326
140367
  method: "POST",
140327
140368
  url: "/api/v2/users/me/custody-account-requests",
140328
140369
  summary: "Start a custody account lifecycle request",
140329
- description: "Starts onboarding, Add account, revocation, or archival from a control proof bound to the authenticated holder and active organization.",
140330
- help: "Starts onboarding, Add account, revocation, or archival from a control proof bound to the authenticated holder and active organization.",
140370
+ description: "Starts onboarding, Add account, revocation, or archival from a control proof bound to the authenticated holder and active organization. A request whose reconciliation is still running answers the 202 lifecycle handle unless Prefer: wait=<seconds> holds the request until it settles.",
140371
+ help: "Starts onboarding, Add account, revocation, or archival from a control proof bound to the authenticated holder and active organization. A request whose reconciliation is still running answers the 202 lifecycle handle unless Prefer: wait=<seconds> holds the request until it settles.",
140331
140372
  tags: [
140332
140373
  "Users"
140333
140374
  ],
@@ -140444,8 +140485,8 @@ var openapi_surface_default = {
140444
140485
  method: "POST",
140445
140486
  url: "/api/v2/users/me/custody-accounts/{custodyAccountId}/managed-lifecycle",
140446
140487
  summary: "Start managed custody account revocation or archival",
140447
- description: "Starts an exact managed-account lifecycle operation with a server-created provider attestation. External accounts must use the control preparation and signed lifecycle start operations.",
140448
- help: "Starts an exact managed-account lifecycle operation with a server-created provider attestation. External accounts must use the control preparation and signed lifecycle start operations.",
140488
+ description: "Starts an exact managed-account lifecycle operation with a server-created provider attestation. External accounts must use the control preparation and signed lifecycle start operations. A request whose reconciliation is still running answers the 202 lifecycle handle unless Prefer: wait=<seconds> holds the request until it settles.",
140489
+ help: "Starts an exact managed-account lifecycle operation with a server-created provider attestation. External accounts must use the control preparation and signed lifecycle start operations. A request whose reconciliation is still running answers the 202 lifecycle handle unless Prefer: wait=<seconds> holds the request until it settles.",
140449
140490
  tags: [
140450
140491
  "Users"
140451
140492
  ],
@@ -140605,8 +140646,8 @@ var openapi_surface_default = {
140605
140646
  method: "POST",
140606
140647
  url: "/api/v2/users/me/custody-account-requests/{requestId}/approval",
140607
140648
  summary: "Approve a custody account lifecycle request",
140608
- description: "Approves with the selected existing account. Omit artifact for a managed signer. An external signer must submit the signature artifact over the prepared message.",
140609
- help: "Approves with the selected existing account. Omit artifact for a managed signer. An external signer must submit the signature artifact over the prepared message.",
140649
+ description: "Approves with the selected existing account. Omit artifact for a managed signer. An external signer must submit the signature artifact over the prepared message. A request whose reconciliation is still running answers the 202 lifecycle handle unless Prefer: wait=<seconds> holds the request until it settles.",
140650
+ help: "Approves with the selected existing account. Omit artifact for a managed signer. An external signer must submit the signature artifact over the prepared message. A request whose reconciliation is still running answers the 202 lifecycle handle unless Prefer: wait=<seconds> holds the request until it settles.",
140610
140651
  tags: [
140611
140652
  "Users"
140612
140653
  ],
@@ -140673,8 +140714,8 @@ var openapi_surface_default = {
140673
140714
  method: "POST",
140674
140715
  url: "/api/v2/users/me/custody-account-requests/{requestId}/resume",
140675
140716
  summary: "Resume a custody account lifecycle request",
140676
- description: "Resumes a lifecycle request that paused for external message authorization after the client submits the server-bound authorization artifact.",
140677
- help: "Resumes a lifecycle request that paused for external message authorization after the client submits the server-bound authorization artifact.",
140717
+ description: "Resumes a lifecycle request that paused for external message authorization after the client submits the server-bound authorization artifact. A request whose reconciliation is still running answers the 202 lifecycle handle unless Prefer: wait=<seconds> holds the request until it settles.",
140718
+ help: "Resumes a lifecycle request that paused for external message authorization after the client submits the server-bound authorization artifact. A request whose reconciliation is still running answers the 202 lifecycle handle unless Prefer: wait=<seconds> holds the request until it settles.",
140678
140719
  tags: [
140679
140720
  "Users"
140680
140721
  ],
@@ -168871,7 +168912,7 @@ async function runCommand(context, operation, errorContext = UNKNOWN_COMMAND_ERR
168871
168912
  // package.json
168872
168913
  var package_default2 = {
168873
168914
  name: "@settlemint/dalp-cli",
168874
- version: "3.1.7-main.32974979698",
168915
+ version: "3.1.7-main.32976095585",
168875
168916
  private: false,
168876
168917
  description: "CLI for the Digital Asset Lifecycle Platform \u2014 manage tokens, identities, compliance, and more from the command line.",
168877
168918
  homepage: "https://settlemint.com",
@@ -170602,4 +170643,4 @@ if (false) {}
170602
170643
  // src/bin.ts
170603
170644
  await cli.serve();
170604
170645
 
170605
- //# debugId=BAD9E4EE0D43AF1464756E2164756E21
170646
+ //# debugId=056EDC3EA403D4CC64756E2164756E21