@settlemint/dalp-cli 3.0.7-main.28442722030 → 3.0.7-main.28445337912

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 +621 -333
  2. package/package.json +1 -1
package/dist/dalp.js CHANGED
@@ -68729,6 +68729,90 @@ var ENTRIES_INDEX = {
68729
68729
  owner: "dapi",
68730
68730
  orpcCode: "SETTINGS_COMPLIANCE_LEGACY_TEMPLATES_DISABLED"
68731
68731
  },
68732
+ "DALP-0683": {
68733
+ id: "DALP-0683",
68734
+ kind: "route",
68735
+ category: "domain",
68736
+ status: 404,
68737
+ retryable: false,
68738
+ expectedClientError: true,
68739
+ public: {
68740
+ message: "No airdrop addon is deployed in this system",
68741
+ why: "Listing or reading airdrops needs at least one airdrop factory registered in the active system, and this system has none.",
68742
+ fix: "Deploy an airdrop addon for this system, then retry the request."
68743
+ },
68744
+ observability: {
68745
+ severity: "info",
68746
+ otelEventName: "dapi.error",
68747
+ metricAttributeKey: "dapi.error.id",
68748
+ dimensions: [
68749
+ "error.id",
68750
+ "error.category",
68751
+ "surface",
68752
+ "route",
68753
+ "status_class",
68754
+ "retryable"
68755
+ ]
68756
+ },
68757
+ owner: "dapi",
68758
+ orpcCode: "AIRDROP_ADDON_NOT_FOUND"
68759
+ },
68760
+ "DALP-0684": {
68761
+ id: "DALP-0684",
68762
+ kind: "route",
68763
+ category: "client",
68764
+ status: 404,
68765
+ retryable: false,
68766
+ expectedClientError: true,
68767
+ public: {
68768
+ message: "The requested airdrop was not found",
68769
+ why: "No airdrop at the requested address has been indexed for the active chain, so there is nothing to return.",
68770
+ fix: "Confirm the airdrop address and that it has been deployed and indexed, then retry."
68771
+ },
68772
+ observability: {
68773
+ severity: "info",
68774
+ otelEventName: "dapi.error",
68775
+ metricAttributeKey: "dapi.error.id",
68776
+ dimensions: [
68777
+ "error.id",
68778
+ "error.category",
68779
+ "surface",
68780
+ "route",
68781
+ "status_class",
68782
+ "retryable"
68783
+ ]
68784
+ },
68785
+ owner: "dapi",
68786
+ orpcCode: "AIRDROP_NOT_FOUND_INDEXER"
68787
+ },
68788
+ "DALP-0685": {
68789
+ id: "DALP-0685",
68790
+ kind: "route",
68791
+ category: "domain",
68792
+ status: 404,
68793
+ retryable: false,
68794
+ expectedClientError: true,
68795
+ public: {
68796
+ message: "The requested airdrop belongs to another system",
68797
+ why: "The airdrop at this address was deployed under a different system than the active one, so this endpoint does not return it.",
68798
+ fix: "Read this airdrop from the system that owns it, or pick an airdrop deployed in the active system."
68799
+ },
68800
+ observability: {
68801
+ severity: "info",
68802
+ otelEventName: "dapi.error",
68803
+ metricAttributeKey: "dapi.error.id",
68804
+ dimensions: [
68805
+ "error.id",
68806
+ "error.category",
68807
+ "surface",
68808
+ "route",
68809
+ "status_class",
68810
+ "retryable"
68811
+ ]
68812
+ },
68813
+ owner: "dapi",
68814
+ orpcCode: "AIRDROP_NOT_IN_OWNER_SCOPE"
68815
+ },
68732
68816
  "DALP-1001": {
68733
68817
  id: "DALP-1001",
68734
68818
  kind: "contract",
@@ -94329,6 +94413,9 @@ var DALP_ERROR_TYPED_FIELD_NAMES = {
94329
94413
  "DALP-0678": [],
94330
94414
  "DALP-0679": [],
94331
94415
  "DALP-0680": [],
94416
+ "DALP-0683": [],
94417
+ "DALP-0684": [],
94418
+ "DALP-0685": [],
94332
94419
  "DALP-1001": [
94333
94420
  "args",
94334
94421
  "correlationId",
@@ -104405,6 +104492,9 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID = {
104405
104492
  "DALP-0678": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
104406
104493
  "DALP-0679": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
104407
104494
  "DALP-0680": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
104495
+ "DALP-0683": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
104496
+ "DALP-0684": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
104497
+ "DALP-0685": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA,
104408
104498
  "DALP-1001": DALP_ORPC_ERROR_DATA_BASE_SCHEMA.extend({
104409
104499
  args: exports_external.record(exports_external.string(), exports_external.string()),
104410
104500
  correlationId: exports_external.string(),
@@ -116256,6 +116346,18 @@ var CUSTOM_ERRORS = {
116256
116346
  status: 403,
116257
116347
  message: "Insufficient role for this operation"
116258
116348
  },
116349
+ AIRDROP_ADDON_NOT_FOUND: {
116350
+ status: 404,
116351
+ message: "No airdrop addon is deployed in this system"
116352
+ },
116353
+ AIRDROP_NOT_FOUND_INDEXER: {
116354
+ status: 404,
116355
+ message: "The requested airdrop was not found"
116356
+ },
116357
+ AIRDROP_NOT_IN_OWNER_SCOPE: {
116358
+ status: 404,
116359
+ message: "The requested airdrop belongs to another system"
116360
+ },
116259
116361
  API_KEY_NOT_SUPPORTED_ON_RPC: {
116260
116362
  status: 403,
116261
116363
  message: "This authentication method is not supported on this endpoint. Use the REST API instead."
@@ -118986,6 +119088,7 @@ var V2_TAG_DEFINITIONS = [
118986
119088
  },
118987
119089
  { name: "v2-xvp", displayName: "XvP Settlements", group: "Operations" },
118988
119090
  { name: "v2-token-sale", displayName: "Token Sales", group: "Operations" },
119091
+ { name: "v2-airdrop", displayName: "Airdrops", group: "Operations" },
118989
119092
  { name: "v2-fixed-yield", displayName: "Fixed Yield", group: "Operations" },
118990
119093
  { name: "v2-governance", displayName: "Governance", group: "Operations" },
118991
119094
  { name: "v2-actions", displayName: "Actions", group: "Operations" },
@@ -119054,7 +119157,11 @@ var V2_TAG_DEFINITIONS = [
119054
119157
  { name: "v2-addon-factory", displayName: "Addon Factory", group: "System" },
119055
119158
  { name: "v2-directory", displayName: "Directory", group: "System" },
119056
119159
  { name: "v2-paymaster", displayName: "Paymaster", group: "System" },
119057
- { name: "v2-refund-splitter", displayName: "Refund Splitter", group: "System" },
119160
+ {
119161
+ name: "v2-refund-splitter",
119162
+ displayName: "Refund Splitter",
119163
+ group: "System"
119164
+ },
119058
119165
  { name: "v2-bundler", displayName: "Bundler", group: "System" },
119059
119166
  {
119060
119167
  name: "v2-api-monitoring",
@@ -119235,6 +119342,7 @@ var V2_TAG = {
119235
119342
  smartWallets: "v2-smart-wallets",
119236
119343
  xvp: "v2-xvp",
119237
119344
  tokenSale: "v2-token-sale",
119345
+ airdrop: "v2-airdrop",
119238
119346
  fixedYield: "v2-fixed-yield",
119239
119347
  governance: "v2-governance",
119240
119348
  actions: "v2-actions",
@@ -130780,44 +130888,109 @@ var actionsV2Contract = {
130780
130888
  list: list13,
130781
130889
  stream
130782
130890
  };
130783
- var TAGS23 = [V2_TAG.fixedYield];
130891
+ var AirdropTypeSchema = exports_external.enum(["push-airdrop", "vesting-airdrop", "time-bound-airdrop"]).meta({
130892
+ description: "Airdrop factory variant",
130893
+ examples: ["push-airdrop", "vesting-airdrop", "time-bound-airdrop"]
130894
+ });
130895
+ var AirdropListItemSchema = exports_external.object({
130896
+ id: ethereumAddress,
130897
+ typeId: AirdropTypeSchema,
130898
+ name: exports_external.string(),
130899
+ token: exports_external.object({
130900
+ id: ethereumAddress,
130901
+ symbol: assetSymbol(),
130902
+ decimals: decimals()
130903
+ }).nullable(),
130904
+ merkleRoot: exports_external.string(),
130905
+ distributionCap: bigDecimal().nullable(),
130906
+ distributionCapExact: apiBigInt.nullable(),
130907
+ amountTransferred: bigDecimal().nullable(),
130908
+ amountTransferredExact: apiBigInt,
130909
+ withdrawalScheduled: exports_external.boolean(),
130910
+ withdrawalEligibleAt: timestamp().nullable(),
130911
+ vestingStrategy: ethereumAddress.nullable(),
130912
+ vestingInitializationDeadlineAt: timestamp().nullable(),
130913
+ createdAt: timestamp()
130914
+ });
130915
+ var AirdropReadResponseSchema = AirdropListItemSchema.extend({
130916
+ recipientCount: exports_external.number().int().nonnegative()
130917
+ });
130918
+ var AIRDROP_COLLECTION_FIELDS = {
130919
+ typeId: enumField(["push-airdrop", "vesting-airdrop", "time-bound-airdrop"]),
130920
+ name: textField(),
130921
+ token: addressField({ defaultOperator: "eq" }),
130922
+ systemAddon: addressField(),
130923
+ createdAt: dateField()
130924
+ };
130925
+ var AirdropV2ListInputSchema = createCollectionInputSchema(AIRDROP_COLLECTION_FIELDS, {
130926
+ defaultSort: "createdAt",
130927
+ globalSearch: true
130928
+ });
130929
+ var AirdropV2ListOutputSchema = createPaginatedResponse(AirdropListItemSchema);
130930
+ var AirdropReadInputSchema = exports_external.object({
130931
+ airdropAddress: ethereumAddress.meta({
130932
+ description: "Address of the airdrop instance to fetch."
130933
+ })
130934
+ });
130935
+ var TAGS23 = [V2_TAG.airdrop];
130936
+ var list14 = v2Contract.route({
130937
+ method: "GET",
130938
+ path: "/addons/airdrops",
130939
+ description: "List airdrop distribution instances for the active system, across all three factory variants (push, time-bound, vesting). Filterable by `typeId`, sold `token`, and `systemAddon` (factory) address; sortable by `createdAt`. Scoped to the active chain (resolved via system context) and the authenticated tenant's airdrop factories.",
130940
+ successDescription: "Paginated array of airdrop instances with total count and faceted filter values.",
130941
+ tags: [...TAGS23]
130942
+ }).input(v2Input.query(AirdropV2ListInputSchema)).output(AirdropV2ListOutputSchema);
130784
130943
  var read9 = v2Contract.route({
130944
+ method: "GET",
130945
+ path: "/addons/airdrops/{airdropAddress}",
130946
+ description: "Fetch a single airdrop instance with its variant fields and indexed recipient count. Scoped to the authenticated system; an airdrop belonging to another system is rejected.",
130947
+ successDescription: "Detailed airdrop payload returned.",
130948
+ tags: [...TAGS23]
130949
+ }).input(exports_external.object({
130950
+ params: AirdropReadInputSchema
130951
+ })).output(createSingleResponse(AirdropReadResponseSchema));
130952
+ var airdropV2Contract = {
130953
+ list: list14,
130954
+ read: read9
130955
+ };
130956
+ var TAGS24 = [V2_TAG.fixedYield];
130957
+ var read10 = v2Contract.route({
130785
130958
  method: "GET",
130786
130959
  path: "/addons/fixed-yield-schedules/{scheduleAddress}",
130787
130960
  description: "Get a fixed yield schedule by contract address",
130788
130961
  successDescription: "Fixed yield schedule details",
130789
- tags: [...TAGS23]
130962
+ tags: [...TAGS24]
130790
130963
  }).input(v2Input.params(FixedYieldScheduleReadInputSchema)).output(createSingleResponse(FixedYieldScheduleSchema2));
130791
130964
  var create5 = v2Contract.route({
130792
130965
  method: "POST",
130793
130966
  path: "/addons/fixed-yield-schedules",
130794
130967
  description: "Create a new fixed yield schedule contract",
130795
130968
  successDescription: "Fixed yield schedule created",
130796
- tags: [...TAGS23]
130969
+ tags: [...TAGS24]
130797
130970
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4225", "DALP-4261"] }).input(v2Input.body(FixedYieldScheduleCreateInputSchema)).output(createAsyncBlockchainMutationResponse(FixedYieldScheduleSchema2));
130798
130971
  var topUp = v2Contract.route({
130799
130972
  method: "POST",
130800
130973
  path: "/addons/fixed-yield-schedules/{scheduleAddress}/top-ups",
130801
130974
  description: "Top up the denomination asset in a fixed yield schedule",
130802
130975
  successDescription: "Fixed yield schedule topped up",
130803
- tags: [...TAGS23]
130976
+ tags: [...TAGS24]
130804
130977
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4324"] }).input(v2Input.paramsBody(exports_external.object({ scheduleAddress: FixedYieldScheduleTopUpInputSchema.shape.scheduleAddress }), FixedYieldScheduleTopUpInputSchema.omit({ scheduleAddress: true }))).output(createAsyncBlockchainMutationResponse(FixedYieldScheduleTopUpOutputSchema));
130805
130978
  var withdraw = v2Contract.route({
130806
130979
  method: "POST",
130807
130980
  path: "/addons/fixed-yield-schedules/{scheduleAddress}/withdrawals",
130808
130981
  description: "Withdraw the denomination asset from a fixed yield schedule",
130809
130982
  successDescription: "Fixed yield schedule withdrawal completed",
130810
- tags: [...TAGS23]
130983
+ tags: [...TAGS24]
130811
130984
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4325"] }).input(v2Input.paramsBody(exports_external.object({ scheduleAddress: FixedYieldScheduleWithdrawInputSchema.shape.scheduleAddress }), FixedYieldScheduleWithdrawInputSchema.omit({ scheduleAddress: true }))).output(createAsyncBlockchainMutationResponse(FixedYieldScheduleWithdrawOutputSchema));
130812
130985
  var claim = v2Contract.route({
130813
130986
  method: "POST",
130814
130987
  path: "/addons/fixed-yield-schedules/{scheduleAddress}/claims",
130815
130988
  description: "Claim yield from a fixed yield schedule contract",
130816
130989
  successDescription: "Fixed yield schedule claim completed",
130817
- tags: [...TAGS23]
130990
+ tags: [...TAGS24]
130818
130991
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4320", "DALP-4322"] }).input(v2Input.paramsBody(exports_external.object({ scheduleAddress: FixedYieldScheduleClaimInputSchema.shape.scheduleAddress }), FixedYieldScheduleClaimInputSchema.omit({ scheduleAddress: true }))).output(createAsyncBlockchainMutationResponse(FixedYieldScheduleClaimOutputSchema));
130819
130992
  var fixedYieldV2Contract = {
130820
- read: read9,
130993
+ read: read10,
130821
130994
  create: create5,
130822
130995
  topUp,
130823
130996
  withdraw,
@@ -131234,101 +131407,101 @@ var GovernanceBallotsV2ListInputSchema = createCollectionInputSchema(GOVERNANCE_
131234
131407
  defaultSort: "castAt"
131235
131408
  });
131236
131409
  var GovernanceBallotsV2ListOutputSchema = createPaginatedResponse(GovernanceBallotItemSchema);
131237
- var TAGS24 = [V2_TAG.governance];
131238
- var list14 = v2Contract.route({
131410
+ var TAGS25 = [V2_TAG.governance];
131411
+ var list15 = v2Contract.route({
131239
131412
  method: "GET",
131240
131413
  path: "/addons/governance/proposals",
131241
131414
  description: "List governance proposals across the system's token governors, filterable by token, status, mode, and proposer.",
131242
131415
  successDescription: "Paginated array of governance proposals with total count and faceted filter values.",
131243
- tags: TAGS24
131416
+ tags: TAGS25
131244
131417
  }).input(v2Input.query(GovernanceV2ListInputSchema)).output(GovernanceV2ListOutputSchema);
131245
- var read10 = v2Contract.route({
131418
+ var read11 = v2Contract.route({
131246
131419
  method: "GET",
131247
131420
  path: "/addons/governance/governors/{governorAddress}/proposals/{proposalId}",
131248
131421
  description: "Fetch a single governance proposal with config, tallies, quorum progress, and platform metadata.",
131249
131422
  successDescription: "Detailed proposal payload returned.",
131250
- tags: TAGS24
131423
+ tags: TAGS25
131251
131424
  }).input(v2Input.params(GovernanceProposalReadInputSchema)).output(createSingleResponse(GovernanceProposalReadSchema));
131252
131425
  var create6 = v2Contract.route({
131253
131426
  method: "POST",
131254
131427
  path: "/addons/governance/proposals",
131255
131428
  description: "Create a governance proposal (resolution, multi-option resolution, or executable) via proposeWithConfig; bootstraps the token's governor pair on first use.",
131256
131429
  successDescription: "Proposal created on-chain and indexed; platform metadata stored.",
131257
- tags: TAGS24
131430
+ tags: TAGS25
131258
131431
  }).input(v2Input.body(GovernanceCreateSchema)).output(createAsyncBlockchainMutationResponse(GovernanceCreateOutputSchema));
131259
131432
  var castVote = v2Contract.route({
131260
131433
  method: "POST",
131261
131434
  path: "/addons/governance/votes",
131262
131435
  description: "Cast a vote on an active proposal using the caller's snapshot voting weight.",
131263
131436
  successDescription: "Vote cast on-chain.",
131264
- tags: TAGS24
131437
+ tags: TAGS25
131265
131438
  }).input(v2Input.body(GovernanceCastVoteSchema)).output(createAsyncBlockchainMutationResponse(GovernanceCastVoteOutputSchema));
131266
131439
  var queue = v2Contract.route({
131267
131440
  method: "POST",
131268
131441
  path: "/addons/governance/queue-operations",
131269
131442
  description: "Queue a succeeded executable proposal on the timelock (single-id via GovernorStorage).",
131270
131443
  successDescription: "Proposal queued on the timelock.",
131271
- tags: TAGS24
131444
+ tags: TAGS25
131272
131445
  }).input(v2Input.body(GovernanceLifecycleInputSchema)).output(createAsyncBlockchainMutationResponse(GovernanceLifecycleOutputSchema));
131273
131446
  var execute3 = v2Contract.route({
131274
131447
  method: "POST",
131275
131448
  path: "/addons/governance/executions",
131276
131449
  description: "Execute a queued proposal after the timelock delay (single-id via GovernorStorage).",
131277
131450
  successDescription: "Proposal executed through the timelock.",
131278
- tags: TAGS24
131451
+ tags: TAGS25
131279
131452
  }).input(v2Input.body(GovernanceLifecycleInputSchema)).output(createAsyncBlockchainMutationResponse(GovernanceLifecycleOutputSchema));
131280
131453
  var cancel2 = v2Contract.route({
131281
131454
  method: "POST",
131282
131455
  path: "/addons/governance/cancellations",
131283
131456
  description: "Cancel a pending or queued proposal as a current governance-role holder.",
131284
131457
  successDescription: "Proposal canceled on-chain.",
131285
- tags: TAGS24
131458
+ tags: TAGS25
131286
131459
  }).input(v2Input.body(GovernanceLifecycleInputSchema)).output(createAsyncBlockchainMutationResponse(GovernanceLifecycleOutputSchema));
131287
131460
  var ballots = v2Contract.route({
131288
131461
  method: "GET",
131289
131462
  path: "/addons/governance/governors/{governorAddress}/proposals/{proposalId}/ballots",
131290
131463
  description: "List individual ballots cast on a proposal.",
131291
131464
  successDescription: "Paginated array of ballots with voter, support, weight, and reason.",
131292
- tags: TAGS24
131465
+ tags: TAGS25
131293
131466
  }).input(v2Input.paramsQuery(GovernanceProposalReadInputSchema, GovernanceBallotsV2ListInputSchema)).output(GovernanceBallotsV2ListOutputSchema);
131294
131467
  var exportCsv = v2Contract.route({
131295
131468
  method: "GET",
131296
131469
  path: "/addons/governance/governors/{governorAddress}/proposals/{proposalId}/export",
131297
131470
  description: "Export a proposal's ballots, delegation snapshot, outcome summary, and per-voter frozen-balance flags as CSV.",
131298
131471
  successDescription: "CSV export payload returned.",
131299
- tags: TAGS24
131472
+ tags: TAGS25
131300
131473
  }).input(v2Input.params(GovernanceProposalReadInputSchema)).output(createSingleResponse(GovernanceExportOutputSchema));
131301
131474
  var instanceRead = v2Contract.route({
131302
131475
  method: "GET",
131303
131476
  path: "/addons/governance/instances/{tokenAddress}",
131304
131477
  description: "Read the governance instance (governor + timelock pair) deployed for a token, if any.",
131305
131478
  successDescription: "Governance instance state returned.",
131306
- tags: TAGS24
131479
+ tags: TAGS25
131307
131480
  }).input(v2Input.params(GovernanceInstanceReadInputSchema)).output(createSingleResponse(GovernanceInstanceSchema));
131308
131481
  var preflight = v2Contract.route({
131309
131482
  method: "POST",
131310
131483
  path: "/addons/governance/preflights",
131311
131484
  description: "Validate vote-creation prerequisites: governor existence, voting-power attachment, and per-action timelock authority with a grant-role CTA payload.",
131312
131485
  successDescription: "Preflight evaluation returned.",
131313
- tags: TAGS24
131486
+ tags: TAGS25
131314
131487
  }).input(v2Input.body(GovernancePreflightSchema)).output(createSingleResponse(GovernancePreflightOutputSchema));
131315
131488
  var getUploadUrl = v2Contract.route({
131316
131489
  method: "POST",
131317
131490
  path: "/addons/governance/document-uploads",
131318
131491
  description: "Generate a presigned URL to upload a proposal document to private storage.",
131319
131492
  successDescription: "Presigned PUT URL and object key returned.",
131320
- tags: TAGS24
131493
+ tags: TAGS25
131321
131494
  }).input(v2Input.body(GovernanceGetUploadUrlInputSchema)).output(createSingleResponse(GovernanceGetUploadUrlOutputSchema));
131322
131495
  var getDownloadUrl = v2Contract.route({
131323
131496
  method: "POST",
131324
131497
  path: "/addons/governance/document-downloads",
131325
131498
  description: "Generate a presigned URL to download a proposal document attached to a proposal.",
131326
131499
  successDescription: "Presigned GET URL returned.",
131327
- tags: TAGS24
131500
+ tags: TAGS25
131328
131501
  }).input(v2Input.body(GovernanceGetDownloadUrlInputSchema)).output(createSingleResponse(GovernanceGetDownloadUrlOutputSchema));
131329
131502
  var governanceV2Contract = {
131330
- list: list14,
131331
- read: read10,
131503
+ list: list15,
131504
+ read: read11,
131332
131505
  create: create6,
131333
131506
  castVote,
131334
131507
  getUploadUrl,
@@ -131416,60 +131589,60 @@ var GovernancePollsV2ListInputSchema = createCollectionInputSchema(GOVERNANCE_PO
131416
131589
  globalSearch: true
131417
131590
  });
131418
131591
  var GovernancePollsV2ListOutputSchema = createPaginatedResponse(GovernancePollSchema);
131419
- var TAGS25 = [V2_TAG.governance];
131592
+ var TAGS26 = [V2_TAG.governance];
131420
131593
  var create7 = v2Contract.route({
131421
131594
  method: "POST",
131422
131595
  path: "/addons/governance/polls",
131423
131596
  description: "Create an off-chain signalling poll for a token's holders",
131424
131597
  successDescription: "Poll created with an immutable definition hash",
131425
- tags: TAGS25
131598
+ tags: TAGS26
131426
131599
  }).input(v2Input.body(GovernancePollCreateInputSchema)).output(createSingleResponse(GovernancePollSchema));
131427
- var list15 = v2Contract.route({
131600
+ var list16 = v2Contract.route({
131428
131601
  method: "GET",
131429
131602
  path: "/addons/governance/polls",
131430
131603
  description: "List governance polls, filterable by token, status, and schedule",
131431
131604
  successDescription: "Paginated poll collection",
131432
- tags: TAGS25
131605
+ tags: TAGS26
131433
131606
  }).input(v2Input.query(GovernancePollsV2ListInputSchema)).output(GovernancePollsV2ListOutputSchema);
131434
- var read11 = v2Contract.route({
131607
+ var read12 = v2Contract.route({
131435
131608
  method: "GET",
131436
131609
  path: "/addons/governance/polls/{pollId}",
131437
131610
  description: "Read a governance poll with its current (or frozen) tally",
131438
131611
  successDescription: "Poll with per-option tally",
131439
- tags: TAGS25
131612
+ tags: TAGS26
131440
131613
  }).input(v2Input.params(GovernancePollParamsSchema)).output(createSingleResponse(GovernancePollWithTallySchema));
131441
131614
  var castBallot = v2Contract.route({
131442
131615
  method: "POST",
131443
131616
  path: "/addons/governance/polls/{pollId}/ballots",
131444
131617
  description: "Cast an EIP-712-signed ballot on an open poll. The latest ballot per voter wins until the poll closes.",
131445
131618
  successDescription: "Ballot verified, weighted at the record date, and recorded",
131446
- tags: TAGS25
131619
+ tags: TAGS26
131447
131620
  }).input(v2Input.paramsBody(GovernancePollParamsSchema, GovernancePollCastBallotInputSchema)).output(createSingleResponse(GovernancePollBallotSchema));
131448
131621
  var signBallot = v2Contract.route({
131449
131622
  method: "POST",
131450
131623
  path: "/addons/governance/polls/{pollId}/ballots/sign",
131451
131624
  description: "Custodially sign the PollBallot typed data with the caller's managed wallet key and cast the ballot in " + "one step. The voter is always the caller's executor wallet; wallet verification is required.",
131452
131625
  successDescription: "Ballot signed with the caller's custodial key, verified, weighted, and recorded",
131453
- tags: TAGS25
131626
+ tags: TAGS26
131454
131627
  }).input(v2Input.paramsBody(GovernancePollParamsSchema, GovernancePollSignBallotInputSchema)).output(createSingleResponse(GovernancePollBallotSchema));
131455
131628
  var close = v2Contract.route({
131456
131629
  method: "POST",
131457
131630
  path: "/addons/governance/polls/{pollId}/close",
131458
131631
  description: "Close a poll, re-verify ballot weights against the indexed snapshots, and freeze the tally",
131459
131632
  successDescription: "Poll closed and tally frozen",
131460
- tags: TAGS25
131633
+ tags: TAGS26
131461
131634
  }).input(v2Input.params(GovernancePollParamsSchema)).output(createSingleResponse(GovernancePollWithTallySchema));
131462
131635
  var exportBallots = v2Contract.route({
131463
131636
  method: "GET",
131464
131637
  path: "/addons/governance/polls/{pollId}/export",
131465
131638
  description: "Export a poll's ballots, weights, and tally as CSV",
131466
131639
  successDescription: "CSV export of poll ballots",
131467
- tags: TAGS25
131640
+ tags: TAGS26
131468
131641
  }).input(v2Input.params(GovernancePollParamsSchema)).output(createSingleResponse(GovernancePollExportSchema));
131469
131642
  var governancePollsV2Contract = {
131470
131643
  create: create7,
131471
- list: list15,
131472
- read: read11,
131644
+ list: list16,
131645
+ read: read12,
131473
131646
  castBallot,
131474
131647
  signBallot,
131475
131648
  close,
@@ -132133,34 +132306,34 @@ var TokenSaleDocumentDeleteParamsSchema = exports_external.object({
132133
132306
  saleAddress: exports_external.string(),
132134
132307
  documentId: exports_external.string().min(1, "Document ID is required")
132135
132308
  });
132136
- var TAGS26 = [V2_TAG.tokenSale];
132137
- var list16 = v2Contract.route({
132309
+ var TAGS27 = [V2_TAG.tokenSale];
132310
+ var list17 = v2Contract.route({
132138
132311
  method: "GET",
132139
132312
  path: "/addons/token-sales",
132140
132313
  description: "List token sale events, optionally filtered by systemAddon address. Sortable by saleStartTime, saleEndTime, createdAt, totalSold. Scoped to the active chain (resolved via system context); cross-chain aggregation is intentionally not supported because each row's status is refined against that chain's clock. The response `status` field is computed per request from the indexed status plus the active chain's timestamp (PRESALE auto-advances to PUBLIC_SALE once `presaleEndTime` is crossed), so it is not exposed as a filterable or facetable field — clients that need to group or filter by status should do so on the response payload.",
132141
132314
  successDescription: "Paginated array of token sales with total count and faceted filter values.",
132142
- tags: [...TAGS26]
132315
+ tags: [...TAGS27]
132143
132316
  }).input(v2Input.query(TokenSaleV2ListInputSchema)).output(TokenSaleV2ListOutputSchema);
132144
132317
  var investments = v2Contract.route({
132145
132318
  method: "GET",
132146
132319
  path: "/addons/token-sale-investments",
132147
132320
  description: "List the authenticated caller's token-sale investments: every sale their wallet set (executor + signing EOAs) participated in, plus sales they are coarsely eligible for but have not bought. Each row carries the caller's aggregate position (purchased / claimable-now / refundable per currency). Buyer-scoped and caller-own only; never accepts an impersonation target. Scoped to the active chain (resolved via system context). The response `status` field is computed per request from the indexed status plus the active chain's timestamp, so it is not exposed as a filterable or facetable field.",
132148
132321
  successDescription: "Paginated array of the caller's investments with total count and faceted filter values.",
132149
- tags: [...TAGS26]
132322
+ tags: [...TAGS27]
132150
132323
  }).input(v2Input.query(TokenSaleInvestmentsV2ListInputSchema)).output(TokenSaleInvestmentsV2ListOutputSchema);
132151
132324
  var operationsList = v2Contract.route({
132152
132325
  method: "GET",
132153
132326
  path: "/addons/token-sale-operations",
132154
132327
  description: "List every token sale across all tokens in the tenant for the cross-token Operations view. Scoped registry-wide via the addon-registry parent address (NOT a single systemAddon factory) and gated on a system-level ops role (admin / tokenManager) so a caller privileged on one token cannot enumerate other tokens' sales. Each row carries an operations `alert` (near-cap, presale-ended, awaiting-finalization, grace-closing) and the distinct investor count. Sortable by saleStartTime, saleEndTime, createdAt, totalSold. Scoped to the active chain; the `status` and `alert` fields are computed per request from the chain clock and are therefore not filterable or facetable.",
132155
132328
  successDescription: "Paginated array of token sales across all tenant tokens with operations alerts and investor counts.",
132156
- tags: [...TAGS26]
132329
+ tags: [...TAGS27]
132157
132330
  }).input(v2Input.query(TokenSaleV2OperationsInputSchema)).output(TokenSaleV2OperationsOutputSchema);
132158
- var read12 = v2Contract.route({
132331
+ var read13 = v2Contract.route({
132159
132332
  method: "GET",
132160
132333
  path: "/addons/token-sales/{saleAddress}",
132161
132334
  description: "Fetch a single token sale with full details",
132162
132335
  successDescription: "Detailed token sale payload returned",
132163
- tags: [...TAGS26]
132336
+ tags: [...TAGS27]
132164
132337
  }).input(exports_external.object({
132165
132338
  params: TokenSaleReadInputSchema,
132166
132339
  query: TokenSaleReadQuerySchema.optional()
@@ -132170,216 +132343,216 @@ var capTable = v2Contract.route({
132170
132343
  path: "/addons/token-sales/{saleAddress}/cap-table",
132171
132344
  description: "Fetch the manager-gated cap table for a token sale: per-buyer identity, KYC status, and aggregated allocation. Returns investor PII and is restricted to a caller holding SALE_ADMIN or FUNDS_MANAGER (or admin / tokenManager) on the sold token's access manager; non-managers are rejected.",
132172
132345
  successDescription: "Identity-resolved cap table for the sale's buyers.",
132173
- tags: [...TAGS26]
132346
+ tags: [...TAGS27]
132174
132347
  }).input(exports_external.object({ params: TokenSaleReadInputSchema })).output(createSingleResponse(TokenSaleCapTableResponseSchema));
132175
132348
  var currentTime = v2Contract.route({
132176
132349
  method: "GET",
132177
132350
  path: "/addons/token-sales/current-time",
132178
132351
  description: "Fetch the current timestamp of the latest chain head block used for token sale scheduling",
132179
132352
  successDescription: "Current chain timestamp returned",
132180
- tags: [...TAGS26]
132353
+ tags: [...TAGS27]
132181
132354
  }).input(v2Input.query(TokenSaleCurrentTimeInputSchema)).output(createSingleResponse(TokenSaleCurrentTimeOutputSchema));
132182
132355
  var create8 = v2Contract.route({
132183
132356
  method: "POST",
132184
132357
  path: "/addons/token-sales",
132185
132358
  description: "Create a new token sale via the system factory",
132186
132359
  successDescription: "Token sale created on-chain",
132187
- tags: [...TAGS26]
132360
+ tags: [...TAGS27]
132188
132361
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4222", "DALP-4238"] }).input(v2Input.body(TokenSaleCreateSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleCreateOutputSchema));
132189
132362
  var activate = v2Contract.route({
132190
132363
  method: "POST",
132191
132364
  path: "/addons/token-sale-activations",
132192
132365
  description: "Activate a token sale",
132193
132366
  successDescription: "Token sale activated on-chain",
132194
- tags: [...TAGS26]
132367
+ tags: [...TAGS27]
132195
132368
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4250", "DALP-4251"] }).input(v2Input.body(TokenSaleActivateInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleActivateOutputSchema));
132196
132369
  var transitionToPublic = v2Contract.route({
132197
132370
  method: "POST",
132198
132371
  path: "/addons/token-sale-public-transitions",
132199
132372
  description: "Transition a token sale from its presale phase to the public sale phase",
132200
132373
  successDescription: "Token sale transitioned to public sale on-chain",
132201
- tags: [...TAGS26]
132374
+ tags: [...TAGS27]
132202
132375
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4182", "DALP-4260"] }).input(v2Input.body(TokenSaleTransitionToPublicInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleTransitionToPublicOutputSchema));
132203
132376
  var buy = v2Contract.route({
132204
132377
  method: "POST",
132205
132378
  path: "/addons/token-sale-purchases",
132206
132379
  description: "Purchase tokens from a token sale",
132207
132380
  successDescription: "Tokens purchased on-chain",
132208
- tags: [...TAGS26]
132381
+ tags: [...TAGS27]
132209
132382
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4252", "DALP-4253", "DALP-4254", "DALP-4255"] }).input(v2Input.body(TokenSaleBuyInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleBuyOutputSchema));
132210
132383
  var configureVesting = v2Contract.route({
132211
132384
  method: "PATCH",
132212
132385
  path: "/addons/token-sale-vesting-configurations",
132213
132386
  description: "Configure vesting for a token sale",
132214
132387
  successDescription: "Vesting configured on-chain",
132215
- tags: [...TAGS26]
132388
+ tags: [...TAGS27]
132216
132389
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4257"] }).input(v2Input.body(TokenSaleConfigureVestingInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleConfigureVestingOutputSchema));
132217
132390
  var end = v2Contract.route({
132218
132391
  method: "POST",
132219
132392
  path: "/addons/token-sale-closures",
132220
132393
  description: "End a token sale",
132221
132394
  successDescription: "Token sale ended on-chain",
132222
- tags: [...TAGS26]
132395
+ tags: [...TAGS27]
132223
132396
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4250", "DALP-4251"] }).input(v2Input.body(TokenSaleEndInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleEndOutputSchema));
132224
132397
  var finalize2 = v2Contract.route({
132225
132398
  method: "POST",
132226
132399
  path: "/addons/token-sale-finalizations",
132227
132400
  description: "Finalize a token sale",
132228
132401
  successDescription: "Token sale finalized on-chain",
132229
- tags: [...TAGS26]
132402
+ tags: [...TAGS27]
132230
132403
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleFinalizeInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleFinalizeOutputSchema));
132231
132404
  var withdrawFunds = v2Contract.route({
132232
132405
  method: "POST",
132233
132406
  path: "/addons/token-sale-fund-withdrawals",
132234
132407
  description: "Withdraw funds from a token sale",
132235
132408
  successDescription: "Funds withdrawn on-chain",
132236
- tags: [...TAGS26]
132409
+ tags: [...TAGS27]
132237
132410
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleWithdrawFundsInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleWithdrawFundsOutputSchema));
132238
132411
  var withdrawTokens = v2Contract.route({
132239
132412
  method: "POST",
132240
132413
  path: "/addons/token-sale-token-withdrawals",
132241
132414
  description: "Withdraw unsold tokens from a token sale",
132242
132415
  successDescription: "Unsold tokens withdrawn on-chain",
132243
- tags: [...TAGS26]
132416
+ tags: [...TAGS27]
132244
132417
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleWithdrawTokensInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleWithdrawTokensOutputSchema));
132245
132418
  var withdrawUnsoldTokens = v2Contract.route({
132246
132419
  method: "POST",
132247
132420
  path: "/addons/token-sale-unsold-token-withdrawals",
132248
132421
  description: "Withdraw unsold tokens from a completed token sale",
132249
132422
  successDescription: "Unsold tokens withdrawn on-chain",
132250
- tags: [...TAGS26]
132423
+ tags: [...TAGS27]
132251
132424
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleWithdrawUnsoldTokensInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleWithdrawUnsoldTokensOutputSchema));
132252
132425
  var pauseSale = v2Contract.route({
132253
132426
  method: "POST",
132254
132427
  path: "/addons/token-sale-pauses",
132255
132428
  description: "Pause a token sale",
132256
132429
  successDescription: "Token sale paused on-chain",
132257
- tags: [...TAGS26]
132430
+ tags: [...TAGS27]
132258
132431
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSalePauseSaleInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSalePauseSaleOutputSchema));
132259
132432
  var unpauseSale = v2Contract.route({
132260
132433
  method: "DELETE",
132261
132434
  path: "/addons/token-sale-pauses",
132262
132435
  description: "Unpause a token sale",
132263
132436
  successDescription: "Token sale unpaused on-chain",
132264
- tags: [...TAGS26]
132437
+ tags: [...TAGS27]
132265
132438
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleUnpauseSaleInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleUnpauseSaleOutputSchema));
132266
132439
  var acknowledgeTerms = v2Contract.route({
132267
132440
  method: "POST",
132268
132441
  path: "/addons/token-sale-term-acknowledgements",
132269
132442
  description: "Acknowledge terms and conditions for a token sale",
132270
132443
  successDescription: "Terms acknowledged on-chain",
132271
- tags: [...TAGS26]
132444
+ tags: [...TAGS27]
132272
132445
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4258"] }).input(v2Input.body(TokenSaleAcknowledgeTermsInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleAcknowledgeTermsOutputSchema));
132273
132446
  var claimRefund = v2Contract.route({
132274
132447
  method: "POST",
132275
132448
  path: "/addons/token-sale-refund-claims",
132276
132449
  description: "Claim refund from a failed token sale",
132277
132450
  successDescription: "Refund claimed on-chain",
132278
- tags: [...TAGS26]
132451
+ tags: [...TAGS27]
132279
132452
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-4256"] }).input(v2Input.body(TokenSaleClaimRefundInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleClaimRefundOutputSchema));
132280
132453
  var addToPresaleWhitelist = v2Contract.route({
132281
132454
  method: "POST",
132282
132455
  path: "/addons/token-sale-presale-whitelist-entries",
132283
132456
  description: "Add addresses to presale whitelist",
132284
132457
  successDescription: "Addresses added to presale whitelist on-chain",
132285
- tags: [...TAGS26]
132458
+ tags: [...TAGS27]
132286
132459
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleAddToPresaleWhitelistInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleAddToPresaleWhitelistOutputSchema));
132287
132460
  var removeFromPresaleWhitelist = v2Contract.route({
132288
132461
  method: "DELETE",
132289
132462
  path: "/addons/token-sale-presale-whitelist-entries",
132290
132463
  description: "Remove addresses from presale whitelist",
132291
132464
  successDescription: "Addresses removed from presale whitelist on-chain",
132292
- tags: [...TAGS26]
132465
+ tags: [...TAGS27]
132293
132466
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleRemoveFromPresaleWhitelistInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleRemoveFromPresaleWhitelistOutputSchema));
132294
132467
  var addPaymentCurrency = v2Contract.route({
132295
132468
  method: "POST",
132296
132469
  path: "/addons/token-sale-payment-currencies",
132297
132470
  description: "Add a payment currency to a token sale",
132298
132471
  successDescription: "Payment currency added on-chain",
132299
- tags: [...TAGS26]
132472
+ tags: [...TAGS27]
132300
132473
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleAddPaymentCurrencyInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleAddPaymentCurrencyOutputSchema));
132301
132474
  var removePaymentCurrency = v2Contract.route({
132302
132475
  method: "DELETE",
132303
132476
  path: "/addons/token-sale-payment-currencies",
132304
132477
  description: "Remove a payment currency from a token sale",
132305
132478
  successDescription: "Payment currency removed on-chain",
132306
- tags: [...TAGS26]
132479
+ tags: [...TAGS27]
132307
132480
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleRemovePaymentCurrencyInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleRemovePaymentCurrencyOutputSchema));
132308
132481
  var setSoftCap = v2Contract.route({
132309
132482
  method: "PATCH",
132310
132483
  path: "/addons/token-sale-soft-caps",
132311
132484
  description: "Set the soft cap for a token sale",
132312
132485
  successDescription: "Soft cap set on-chain",
132313
- tags: [...TAGS26]
132486
+ tags: [...TAGS27]
132314
132487
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleSetSoftCapInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleSetSoftCapOutputSchema));
132315
132488
  var setPurchaseLimits = v2Contract.route({
132316
132489
  method: "PATCH",
132317
132490
  path: "/addons/token-sale-purchase-limits",
132318
132491
  description: "Set minimum and maximum purchase limits for a token sale",
132319
132492
  successDescription: "Purchase limits set on-chain",
132320
- tags: [...TAGS26]
132493
+ tags: [...TAGS27]
132321
132494
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleSetPurchaseLimitsInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleSetPurchaseLimitsOutputSchema));
132322
132495
  var setTermsHash = v2Contract.route({
132323
132496
  method: "PATCH",
132324
132497
  path: "/addons/token-sale-terms",
132325
132498
  description: "Set the terms and conditions hash for a token sale",
132326
132499
  successDescription: "Terms hash set on-chain",
132327
- tags: [...TAGS26]
132500
+ tags: [...TAGS27]
132328
132501
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleSetTermsHashInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleSetTermsHashOutputSchema));
132329
132502
  var grantRoleByParticipant = v2Contract.route({
132330
132503
  method: "POST",
132331
132504
  path: "/addons/token-sale-participant-role-grants",
132332
132505
  description: "Grant a sale role (Sale Admin / Funds Manager) to every wallet owned by a participant, on the sold token's access manager",
132333
132506
  successDescription: "Role grant submitted on-chain for the participant's wallets",
132334
- tags: [...TAGS26]
132507
+ tags: [...TAGS27]
132335
132508
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleGrantRoleByParticipantInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleGrantRoleByParticipantOutputSchema));
132336
132509
  var revokeRoleByParticipant = v2Contract.route({
132337
132510
  method: "DELETE",
132338
132511
  path: "/addons/token-sale-participant-role-grants",
132339
132512
  description: "Revoke a sale role (Sale Admin / Funds Manager) from every wallet owned by a participant, on the sold token's access manager",
132340
132513
  successDescription: "Role revoke submitted on-chain for the participant's wallets",
132341
- tags: [...TAGS26]
132514
+ tags: [...TAGS27]
132342
132515
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.body(TokenSaleRevokeRoleByParticipantInputSchema)).output(createAsyncBlockchainMutationResponse(TokenSaleRevokeRoleByParticipantOutputSchema));
132343
132516
  var documentsGetUploadUrl = v2Contract.route({
132344
132517
  method: "POST",
132345
132518
  path: "/addons/token-sales/{saleAddress}/document-uploads",
132346
132519
  description: "Get presigned URL for direct token-sale document upload to object storage.",
132347
132520
  successDescription: "Presigned URL for upload.",
132348
- tags: [...TAGS26]
132521
+ tags: [...TAGS27]
132349
132522
  }).input(v2Input.paramsBody(TokenSaleReadInputSchema, TokenSaleDocumentGetUploadUrlBodySchema)).output(createSingleResponse(TokenSaleDocumentGetUploadUrlOutputSchema));
132350
132523
  var documentsConfirmUpload = v2Contract.route({
132351
132524
  method: "POST",
132352
132525
  path: "/addons/token-sales/{saleAddress}/documents",
132353
132526
  description: "Create token-sale document record after file has been uploaded via presigned URL.",
132354
132527
  successDescription: "Document record created successfully.",
132355
- tags: [...TAGS26]
132528
+ tags: [...TAGS27]
132356
132529
  }).input(v2Input.paramsBody(TokenSaleReadInputSchema, TokenSaleDocumentConfirmUploadBodySchema)).output(createSingleResponse(TokenSaleDocumentConfirmUploadOutputSchema));
132357
132530
  var documentsList = v2Contract.route({
132358
132531
  method: "GET",
132359
132532
  path: "/addons/token-sales/{saleAddress}/documents",
132360
132533
  description: "List documents for a token sale with pagination, sorting, and filtering. Visibility-tiered: public always visible; holders tier requires token balance or purchase position; restricted tier requires sale manager.",
132361
132534
  successDescription: "Paginated array of token-sale documents with total count and faceted filter values.",
132362
- tags: [...TAGS26]
132535
+ tags: [...TAGS27]
132363
132536
  }).input(v2Input.paramsQuery(TokenSaleReadInputSchema, TokenSaleDocumentsV2ListInputSchema)).output(TokenSaleDocumentsV2ListOutputSchema);
132364
132537
  var documentsGetDownloadUrl = v2Contract.route({
132365
132538
  method: "POST",
132366
132539
  path: "/addons/token-sales/{saleAddress}/documents/{documentId}/downloads",
132367
132540
  description: "Get presigned URL for secure token-sale document download.",
132368
132541
  successDescription: "Presigned URL for download.",
132369
- tags: [...TAGS26]
132542
+ tags: [...TAGS27]
132370
132543
  }).input(v2Input.params(TokenSaleDocumentGetDownloadUrlParamsSchema)).output(createSingleResponse(TokenSaleDocumentGetDownloadUrlOutputSchema));
132371
132544
  var documentsDelete = v2Contract.route({
132372
132545
  method: "DELETE",
132373
132546
  path: "/addons/token-sales/{saleAddress}/documents/{documentId}",
132374
132547
  description: "Delete a token-sale document.",
132375
132548
  successDescription: "Document deleted successfully.",
132376
- tags: [...TAGS26]
132549
+ tags: [...TAGS27]
132377
132550
  }).input(v2Input.params(TokenSaleDocumentDeleteParamsSchema)).output(DeleteResponseSchema);
132378
132551
  var tokenSaleV2Contract = {
132379
- list: list16,
132552
+ list: list17,
132380
132553
  investments,
132381
132554
  operationsList,
132382
- read: read12,
132555
+ read: read13,
132383
132556
  capTable,
132384
132557
  currentTime,
132385
132558
  create: create8,
@@ -132448,95 +132621,95 @@ var XvpStoreSecretOutputSchema = exports_external.object({
132448
132621
  examples: [true]
132449
132622
  })
132450
132623
  });
132451
- var TAGS27 = [V2_TAG.xvp];
132624
+ var TAGS28 = [V2_TAG.xvp];
132452
132625
  var XVP_COMMON = ["DALP-4001"];
132453
- var list17 = v2Contract.route({
132626
+ var list18 = v2Contract.route({
132454
132627
  method: "GET",
132455
132628
  path: "/addons/xvp-settlements",
132456
132629
  description: "List exchange-vs-payment settlement contracts, optionally filtered by participant or systemAddon address. Sortable by createdAt, cutoffDate, name.",
132457
132630
  successDescription: "Paginated array of XvP settlements with total count and faceted filter values.",
132458
- tags: TAGS27
132631
+ tags: TAGS28
132459
132632
  }).input(v2Input.query(XvpV2ListInputSchema)).output(XvpV2ListOutputSchema);
132460
- var read13 = v2Contract.route({
132633
+ var read14 = v2Contract.route({
132461
132634
  method: "GET",
132462
132635
  path: "/addons/xvp-settlements/{settlementAddress}",
132463
132636
  description: "Fetch a single XvP settlement with approvals, votes, and flows",
132464
132637
  successDescription: "Detailed settlement payload returned",
132465
- tags: TAGS27
132638
+ tags: TAGS28
132466
132639
  }).input(v2Input.params(XvpSettlementReadInputSchema)).output(createSingleResponse(XvpSettlementReadSchema));
132467
132640
  var decrypt2 = v2Contract.route({
132468
132641
  method: "POST",
132469
132642
  path: "/addons/xvp-secret-decryptions",
132470
132643
  description: "Decrypt an encrypted XvP settlement secret",
132471
132644
  successDescription: "Secret decrypted using wallet-derived signature",
132472
- tags: TAGS27
132645
+ tags: TAGS28
132473
132646
  }).input(v2Input.body(XvpDecryptInputSchema)).output(createSingleResponse(XvpDecryptOutputSchema));
132474
132647
  var create9 = v2Contract.route({
132475
132648
  method: "POST",
132476
132649
  path: "/addons/xvp-settlements",
132477
132650
  description: "Create a new XvP settlement via the system factory",
132478
132651
  successDescription: "Settlement created on-chain; for HTLC settlements, store the secret via the xvp-secrets follow-up mutation",
132479
- tags: TAGS27
132652
+ tags: TAGS28
132480
132653
  }).meta({ contractErrors: [...XVP_COMMON, "DALP-4003", "DALP-2001", "DALP-2003"] }).input(v2Input.body(XvpCreateSchema)).output(createAsyncBlockchainMutationResponse(XvpCreateOutputSchema));
132481
132654
  var approve2 = v2Contract.route({
132482
132655
  method: "POST",
132483
132656
  path: "/addons/xvp-approvals",
132484
132657
  description: "Approve an XvP settlement. Any required ERC-20 allowance transactions and the settlement approve run as one chained operation: async requests receive a single 202 handle covering the whole chain, and `Prefer: wait=N` (RFC 7240) waits for the chain synchronously.",
132485
132658
  successDescription: "Settlement approved on-chain",
132486
- tags: TAGS27
132659
+ tags: TAGS28
132487
132660
  }).meta({ contractErrors: [...XVP_COMMON, "DALP-2004", "DALP-2005", "DALP-4032"] }).input(v2Input.body(XvpApproveInputSchema)).output(createAsyncBlockchainMutationResponse(XvpApproveOutputSchema));
132488
132661
  var revokeApproval2 = v2Contract.route({
132489
132662
  method: "DELETE",
132490
132663
  path: "/addons/xvp-approvals",
132491
132664
  description: "Revoke an XvP settlement approval",
132492
132665
  successDescription: "Approval revoked and escrowed assets refunded",
132493
- tags: TAGS27
132666
+ tags: TAGS28
132494
132667
  }).meta({ contractErrors: [...XVP_COMMON, "DALP-2004", "DALP-2006"] }).input(v2Input.body(XvpRevokeApprovalInputSchema)).output(createAsyncBlockchainMutationResponse(XvpRevokeApprovalOutputSchema));
132495
132668
  var execute4 = v2Contract.route({
132496
132669
  method: "POST",
132497
132670
  path: "/addons/xvp-executions",
132498
132671
  description: "Execute an XvP settlement",
132499
132672
  successDescription: "Settlement executed on-chain",
132500
- tags: TAGS27
132673
+ tags: TAGS28
132501
132674
  }).meta({ contractErrors: [...XVP_COMMON, "DALP-2007", "DALP-2008", "DALP-2009", "DALP-4033"] }).input(v2Input.body(XvpExecuteInputSchema)).output(createAsyncBlockchainMutationResponse(XvpExecuteOutputSchema));
132502
132675
  var cancel3 = v2Contract.route({
132503
132676
  method: "POST",
132504
132677
  path: "/addons/xvp-cancellation-requests",
132505
132678
  description: "Cancel an XvP settlement",
132506
132679
  successDescription: "Settlement cancellation proposed on-chain",
132507
- tags: TAGS27
132680
+ tags: TAGS28
132508
132681
  }).meta({ contractErrors: [...XVP_COMMON, "DALP-2004", "DALP-4034"] }).input(v2Input.body(XvpCancelInputSchema)).output(createAsyncBlockchainMutationResponse(XvpCancelOutputSchema));
132509
132682
  var withdrawCancel2 = v2Contract.route({
132510
132683
  method: "DELETE",
132511
132684
  path: "/addons/xvp-cancellation-requests",
132512
132685
  description: "Withdraw a cancel proposal for an XvP settlement",
132513
132686
  successDescription: "Cancel proposal withdrawn on-chain",
132514
- tags: TAGS27
132687
+ tags: TAGS28
132515
132688
  }).meta({ contractErrors: [...XVP_COMMON, "DALP-2004", "DALP-4035"] }).input(v2Input.body(XvpWithdrawCancelInputSchema)).output(createAsyncBlockchainMutationResponse(XvpWithdrawCancelOutputSchema));
132516
132689
  var withdrawExpired2 = v2Contract.route({
132517
132690
  method: "POST",
132518
132691
  path: "/addons/xvp-expiry-withdrawals",
132519
132692
  description: "Return escrowed assets after a settlement expires",
132520
132693
  successDescription: "Expired settlement escrow refunded",
132521
- tags: TAGS27
132694
+ tags: TAGS28
132522
132695
  }).meta({ contractErrors: [...XVP_COMMON, "DALP-2004", "DALP-4136"] }).input(v2Input.body(XvpWithdrawExpiredInputSchema)).output(createAsyncBlockchainMutationResponse(XvpWithdrawExpiredOutputSchema));
132523
132696
  var storeSecret = v2Contract.route({
132524
132697
  method: "POST",
132525
132698
  path: "/addons/xvp-secrets",
132526
132699
  description: "Sign, encrypt, and store the HTLC secret for a deployed XvP settlement (post-settlement follow-up to create)",
132527
132700
  successDescription: "Encrypted secret stored for the settlement",
132528
- tags: TAGS27
132701
+ tags: TAGS28
132529
132702
  }).input(v2Input.body(XvpStoreSecretInputSchema)).output(createSingleResponse(XvpStoreSecretOutputSchema));
132530
132703
  var revealSecret2 = v2Contract.route({
132531
132704
  method: "POST",
132532
132705
  path: "/addons/xvp-secret-revelations",
132533
132706
  description: "Reveal the secret for an XvP settlement",
132534
132707
  successDescription: "Secret revealed on-chain, enabling settlement execution",
132535
- tags: TAGS27
132708
+ tags: TAGS28
132536
132709
  }).meta({ contractErrors: [...XVP_COMMON, "DALP-2004"] }).input(v2Input.body(XvpRevealSecretInputSchema)).output(createAsyncBlockchainMutationResponse(XvpRevealSecretOutputSchema));
132537
132710
  var xvpV2Contract = {
132538
- list: list17,
132539
- read: read13,
132711
+ list: list18,
132712
+ read: read14,
132540
132713
  decrypt: decrypt2,
132541
132714
  create: create9,
132542
132715
  approve: approve2,
@@ -132553,6 +132726,7 @@ var governanceContract = {
132553
132726
  polls: governancePollsV2Contract
132554
132727
  };
132555
132728
  var addonsV2Contract = {
132729
+ airdrop: airdropV2Contract,
132556
132730
  fixedYield: fixedYieldV2Contract,
132557
132731
  xvp: xvpV2Contract,
132558
132732
  tokenSale: tokenSaleV2Contract,
@@ -133338,14 +133512,14 @@ var ContactsV2ReadInputSchema = exports_external.object({
133338
133512
  var ContactsV2ReadOutputSchema = createSingleResponse(ContactSchema);
133339
133513
  var ContactsV2UpsertInputSchema = ContactsUpsertSchema;
133340
133514
  var ContactsV2UpsertOutputSchema = createSingleResponse(ContactSchema);
133341
- var list18 = v2Contract.route({
133515
+ var list19 = v2Contract.route({
133342
133516
  method: "GET",
133343
133517
  path: "/contacts",
133344
133518
  description: "List all contacts for the authenticated user. Sortable by name, wallet, createdAt, updatedAt.",
133345
133519
  successDescription: "Paginated array of contacts with total count and faceted filter values.",
133346
133520
  tags: [V2_TAG.contacts]
133347
133521
  }).input(v2Input.query(ContactsV2ListInputSchema)).output(ContactsV2ListOutputSchema);
133348
- var read14 = v2Contract.route({
133522
+ var read15 = v2Contract.route({
133349
133523
  method: "GET",
133350
133524
  path: "/contacts/{id}",
133351
133525
  description: "Read a single contact entry owned by the authenticated user.",
@@ -133367,8 +133541,8 @@ var del4 = v2Contract.route({
133367
133541
  tags: [V2_TAG.contacts]
133368
133542
  }).input(v2Input.params(ContactsV2DeleteInputSchema)).output(ContactsV2DeleteOutputSchema);
133369
133543
  var contactsV2Contract = {
133370
- list: list18,
133371
- read: read14,
133544
+ list: list19,
133545
+ read: read15,
133372
133546
  upsert: upsert3,
133373
133547
  delete: del4
133374
133548
  };
@@ -133426,7 +133600,7 @@ var ContractsV2ReadResponseSchema = exports_external.object({
133426
133600
  examples: [{ eligible: false, blockingReason: "no-code" }]
133427
133601
  })
133428
133602
  });
133429
- var read15 = v2Contract.route({
133603
+ var read16 = v2Contract.route({
133430
133604
  method: "GET",
133431
133605
  path: "/contracts/{address}",
133432
133606
  description: "Inspect any contract address. Combines the active organization's indexed knowledge (factory tokens, registered external tokens, system components) with best-effort ERC-20 + SMART (ERC-3643 family) introspection on the chain. Returns a deliberately minimal preview plus an external-token registration preflight verdict.",
@@ -133434,7 +133608,7 @@ var read15 = v2Contract.route({
133434
133608
  tags: [V2_TAG.contracts]
133435
133609
  }).input(v2Input.params(ContractsV2ReadParamsSchema)).output(createSingleResponse(ContractsV2ReadResponseSchema));
133436
133610
  var contractsV2Contract = {
133437
- read: read15
133611
+ read: read16
133438
133612
  };
133439
133613
  var COMPLIANCE_PROVIDER_AUTH_MODES = {
133440
133614
  sumsub: ["hmac"],
@@ -134238,27 +134412,27 @@ var CustodyProbeResultSchema = exports_external.object({
134238
134412
  capability: exports_external.enum(["read", "create"]),
134239
134413
  workspaceVerified: exports_external.boolean().optional()
134240
134414
  });
134241
- var TAGS28 = [V2_TAG.custody];
134415
+ var TAGS29 = [V2_TAG.custody];
134242
134416
  var get2 = v2Contract.route({
134243
134417
  method: "GET",
134244
134418
  path: "/custody",
134245
134419
  description: "Read the active organization's custody configuration as a masked view: provider, credential source, lock state, and validation status. Org-managed records additionally expose non-secret metadata, the credential version, and a credential fingerprint; platform-managed records expose nothing derived from platform credentials.",
134246
134420
  successDescription: "Masked custody configuration retrieved successfully.",
134247
- tags: [...TAGS28]
134421
+ tags: [...TAGS29]
134248
134422
  }).output(createSingleResponse(CustodyMaskedReadSchema));
134249
134423
  var testCredentials = v2Contract.route({
134250
134424
  method: "POST",
134251
134425
  path: "/custody/test-credentials",
134252
134426
  description: "Probe-validate candidate custody credentials against the provider without writing them. Callable during onboarding before any organization exists; with an active organization the probe additionally verifies the credentials against the custody record's pinned workspace.",
134253
134427
  successDescription: "Credential probe succeeded.",
134254
- tags: [...TAGS28]
134428
+ tags: [...TAGS29]
134255
134429
  }).input(v2Input.body(CustodyTestCredentialsInputSchema)).output(createSingleResponse(CustodyProbeResultSchema));
134256
134430
  var rotateCredentials = v2Contract.route({
134257
134431
  method: "PUT",
134258
134432
  path: "/custody/credentials",
134259
134433
  description: "Rotate the active organization's custody credentials for its locked provider. The payload carries credentials and an optional workspace pin — provider switching is rejected. The new credentials are probe-validated against the supplied pin (or, absent one, the record's pinned workspace) before the version pointer flips; a supplied pin is persisted atomically with the rotation, which is how a platform-managed record is adopted with its workspace identity.",
134260
134434
  successDescription: "Credentials rotated; masked custody configuration returned.",
134261
- tags: [...TAGS28]
134435
+ tags: [...TAGS29]
134262
134436
  }).input(v2Input.body(CustodyRotateCredentialsInputSchema)).output(createSingleResponse(CustodyMaskedReadSchema));
134263
134437
  var adminGet = v2Contract.route({
134264
134438
  method: "GET",
@@ -134330,14 +134504,14 @@ var DirectoryTopicSchemesV2ListInputSchema = createCollectionInputSchema(DIRECTO
134330
134504
  globalSearch: true
134331
134505
  });
134332
134506
  var DirectoryTopicSchemesV2ListOutputSchema = createPaginatedResponse(DirectoryTopicSchemeSchema);
134333
- var list19 = v2Contract.route({
134507
+ var list20 = v2Contract.route({
134334
134508
  method: "GET",
134335
134509
  path: "/directory/topic-schemes",
134336
134510
  description: "List topic schemes registered on the on-chain directory (global) Topic Scheme Registry. Supports `?filter[q]=` global search across name, signature, and topicId.",
134337
134511
  successDescription: "Paginated array of directory topic schemes with total count and faceted filter values.",
134338
134512
  tags: [V2_TAG.claimTopics]
134339
134513
  }).input(v2Input.query(DirectoryTopicSchemesV2ListInputSchema)).output(DirectoryTopicSchemesV2ListOutputSchema);
134340
- var read16 = v2Contract.route({
134514
+ var read17 = v2Contract.route({
134341
134515
  method: "GET",
134342
134516
  path: "/directory/topic-schemes/{name}",
134343
134517
  description: "Get details for a directory (global) topic scheme by name.",
@@ -134345,8 +134519,8 @@ var read16 = v2Contract.route({
134345
134519
  tags: [V2_TAG.claimTopics]
134346
134520
  }).input(v2Input.params(DirectoryTopicSchemeReadInputSchema)).output(createSingleResponse(DirectoryTopicSchemeReadOutputSchema));
134347
134521
  var directoryTopicSchemesV2Contract = {
134348
- list: list19,
134349
- read: read16
134522
+ list: list20,
134523
+ read: read17
134350
134524
  };
134351
134525
  var DirectoryTrustedIssuerTopicSchema = exports_external.object({
134352
134526
  id: exports_external.string().meta({ description: "Topic scheme identifier", examples: ["topic-001"] }),
@@ -134407,14 +134581,14 @@ var DirectoryTrustedIssuerTopicsV2ListInputSchema = createCollectionInputSchema(
134407
134581
  globalSearch: true
134408
134582
  });
134409
134583
  var DirectoryTrustedIssuerTopicsV2ListOutputSchema = createPaginatedResponse(DirectoryTrustedIssuerTopicSchema);
134410
- var list20 = v2Contract.route({
134584
+ var list21 = v2Contract.route({
134411
134585
  method: "GET",
134412
134586
  path: "/directory/trusted-issuers",
134413
134587
  description: "List trusted claim issuers registered in the on-chain directory (global) trusted issuers registry. Sortable by id.",
134414
134588
  successDescription: "Paginated array of directory trusted issuers with total count and faceted filter values.",
134415
134589
  tags: [V2_TAG.trustedIssuers]
134416
134590
  }).input(v2Input.query(DirectoryTrustedIssuersV2ListInputSchema)).output(DirectoryTrustedIssuersV2ListOutputSchema);
134417
- var read17 = v2Contract.route({
134591
+ var read18 = v2Contract.route({
134418
134592
  method: "GET",
134419
134593
  path: "/directory/trusted-issuers/{issuerAddress}",
134420
134594
  description: "Get details for a directory (global) trusted issuer by identity address.",
@@ -134429,8 +134603,8 @@ var topics = v2Contract.route({
134429
134603
  tags: [V2_TAG.trustedIssuers]
134430
134604
  }).input(v2Input.paramsQuery(DirectoryTrustedIssuerTopicsV2ListParamsSchema, DirectoryTrustedIssuerTopicsV2ListInputSchema)).output(DirectoryTrustedIssuerTopicsV2ListOutputSchema);
134431
134605
  var directoryTrustedIssuersV2Contract = {
134432
- list: list20,
134433
- read: read17,
134606
+ list: list21,
134607
+ read: read18,
134434
134608
  topics
134435
134609
  };
134436
134610
  var directoryV2Contract = {
@@ -134519,14 +134693,14 @@ var ExchangeRateSchema = exports_external.object({
134519
134693
  rate: exports_external.number(),
134520
134694
  effectiveAt: timestamp()
134521
134695
  });
134522
- var read18 = v2Contract.route({
134696
+ var read19 = v2Contract.route({
134523
134697
  method: "GET",
134524
134698
  path: "/exchange-rates/{baseCurrency}/{quoteCurrency}",
134525
134699
  description: "Get the current exchange rate between two currencies.",
134526
134700
  successDescription: "Exchange rate retrieved successfully.",
134527
134701
  tags: [V2_TAG.exchangeRates]
134528
134702
  }).input(v2Input.params(ExchangeRatesReadSchema)).output(createSingleResponse(ExchangeRateSchema));
134529
- var list21 = v2Contract.route({
134703
+ var list222 = v2Contract.route({
134530
134704
  method: "GET",
134531
134705
  path: "/exchange-rates",
134532
134706
  description: "List all available exchange rates with pagination, sorting, filtering, and faceted counts.",
@@ -134551,8 +134725,8 @@ var supportedCurrencies = v2Contract.route({
134551
134725
  tags: [V2_TAG.exchangeRates]
134552
134726
  }).output(ExchangeRatesSupportedCurrenciesOutputSchema);
134553
134727
  var exchangeRatesV2Contract = {
134554
- read: read18,
134555
- list: list21,
134728
+ read: read19,
134729
+ list: list222,
134556
134730
  history: history3,
134557
134731
  supportedCurrencies
134558
134732
  };
@@ -134575,7 +134749,7 @@ var ExternalTokenV2RegisterOutputSchema = createAsyncBlockchainMutationResponse(
134575
134749
  examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
134576
134750
  })
134577
134751
  }));
134578
- var list222 = v2Contract.route({
134752
+ var list23 = v2Contract.route({
134579
134753
  method: "GET",
134580
134754
  path: "/external-tokens",
134581
134755
  description: "List externally registered tokens not deployed through the platform. Sortable by name, symbol, type, externalRegisteredAt.",
@@ -134590,7 +134764,7 @@ var register3 = v2Contract.route({
134590
134764
  tags: [V2_TAG.externalToken]
134591
134765
  }).input(v2Input.body(ExternalTokenV2RegisterInputSchema)).output(ExternalTokenV2RegisterOutputSchema);
134592
134766
  var externalTokenV2Contract = {
134593
- list: list222,
134767
+ list: list23,
134594
134768
  register: register3
134595
134769
  };
134596
134770
  var HISTORICAL_BALANCES_AT_BLOCK_KIND_OPTIONS = ["account", "totalSupply"];
@@ -134937,48 +135111,48 @@ var InvitationV2InviteWithRolesOutputSchema = exports_external.object({
134937
135111
  onChainRoles: exports_external.array(systemAccessControlRole),
134938
135112
  expiresAt: timestamp()
134939
135113
  });
134940
- var TAGS29 = [V2_TAG.invitation];
135114
+ var TAGS30 = [V2_TAG.invitation];
134941
135115
  var deploy = v2Contract.route({
134942
135116
  method: "POST",
134943
135117
  path: "/invitations",
134944
135118
  description: "Accept an invitation and start the invitee-onboarding deployment workflow (new-user variant). Asynchronous by default: the request is accepted with a 202 + `Location` response that points at the typed deploy-status read, which clients poll until terminal. Clients may set `Prefer: wait=N` (RFC 7240) to wait synchronously — the handler attaches to the workflow result and returns 200 on terminal success, degrading back to the same 202 + `Location` shape when the wait budget elapses before the workflow terminates. The server echoes the honored directives via `Preference-Applied`. Clients may additionally set the `Prefer: dalp-fail-on-indexer-reindexing` directive (honored only by the onboarding deploy endpoints) to opt into indexer-reindex backpressure: while the indexer is reindexing the request is rejected with `503 INDEXER_REINDEXING` + a `Retry-After` header and a `data.retryAfterSeconds` estimate instead of being submitted. Without the directive the gate is off and the deploy proceeds (the workflow waits out the reindex).",
134945
135119
  successDescription: "Deployment terminated successfully within the sync wait budget; response echoes `Preference-Applied`. Async/degraded paths return 202 + `Location` pointing at the typed deploy-status read (see deployStatus).",
134946
- tags: [...TAGS29]
135120
+ tags: [...TAGS30]
134947
135121
  }).input(v2Input.body(InvitationV2DeployInputSchema)).output(InvitationV2DeployOutputSchema);
134948
135122
  var accept = v2Contract.route({
134949
135123
  method: "POST",
134950
135124
  path: "/invitation-acceptances",
134951
135125
  description: "Accept an invitation (existing-user variant). Backend internally skips wallet creation when the caller already has an on-chain wallet. Asynchronous by default: the request is accepted with a 202 + `Location` response that points at the typed deploy-status read, which clients poll until terminal. Clients may set `Prefer: wait=N` (RFC 7240) to wait synchronously — the handler attaches to the workflow result and returns 200 on terminal success, degrading back to the same 202 + `Location` shape when the wait budget elapses before the workflow terminates. The server echoes the honored directives via `Preference-Applied`. Clients may additionally set the `Prefer: dalp-fail-on-indexer-reindexing` directive (honored only by the onboarding deploy endpoints) to opt into indexer-reindex backpressure: while the indexer is reindexing the request is rejected with `503 INDEXER_REINDEXING` + a `Retry-After` header and a `data.retryAfterSeconds` estimate instead of being submitted. Without the directive the gate is off and the deploy proceeds (the workflow waits out the reindex).",
134952
135126
  successDescription: "Deployment terminated successfully within the sync wait budget; response echoes `Preference-Applied`. Async/degraded paths return 202 + `Location` pointing at the typed deploy-status read (see deployStatus).",
134953
- tags: [...TAGS29]
135127
+ tags: [...TAGS30]
134954
135128
  }).input(v2Input.body(InvitationV2AcceptInputSchema)).output(InvitationV2AcceptOutputSchema);
134955
135129
  var deployStream = v2Contract.route({
134956
135130
  method: "GET",
134957
135131
  path: "/invitations/deployments/{deploymentId}/stream",
134958
135132
  description: "Stream invitation deployment progress via SSE for a specific deployment",
134959
135133
  successDescription: "Streaming deployment events delivered as server-sent events",
134960
- tags: [...TAGS29]
135134
+ tags: [...TAGS30]
134961
135135
  }).input(v2Input.params(InvitationV2DeployStreamInputSchema)).output(InvitationV2DeployStreamOutputSchema);
134962
135136
  var deployStatus = v2Contract.route({
134963
135137
  method: "GET",
134964
135138
  path: "/invitations/deployments/{deploymentId}",
134965
135139
  description: 'Read the current status of an invitation deployment as typed JSON (poll without SSE). Returns HTTP 200 on every branch including `status: "absent"` — callers must branch on the `status` field rather than the HTTP code.',
134966
135140
  successDescription: "Deployment status: in-progress, completed, failed, or absent",
134967
- tags: [...TAGS29]
135141
+ tags: [...TAGS30]
134968
135142
  }).input(v2Input.params(InvitationV2DeployStatusParamsSchema)).output(InvitationV2DeployStatusOutputSchema);
134969
135143
  var retry = v2Contract.route({
134970
135144
  method: "POST",
134971
135145
  path: "/invitation-retries",
134972
135146
  description: "Prepare the invitation workflow for a user-initiated retry by purging the prior failed invocation and wiping KV state.",
134973
135147
  successDescription: "Retry prepared; caller can re-invoke deploy/accept",
134974
- tags: [...TAGS29]
135148
+ tags: [...TAGS30]
134975
135149
  }).input(v2Input.body(InvitationV2RetryInputSchema)).output(InvitationV2RetryOutputSchema);
134976
135150
  var inviteWithRoles = v2Contract.route({
134977
135151
  method: "POST",
134978
135152
  path: "/role-invitations",
134979
135153
  description: "Create an organization invitation that pre-assigns on-chain roles, gated on the inviter's wallet verification (PIN / OTP / OIDC-MFA). The selected on-chain roles are persisted on the invitation and granted to the invitee on acceptance by the invitation workflow. This is the only client-facing writer of an invitation's on-chain roles — the standard invite path cannot set them. Requires at least one on-chain role; role-less invites use the standard invitation flow.",
134980
135154
  successDescription: "Invitation created with the selected on-chain roles recorded and authorized.",
134981
- tags: [...TAGS29]
135155
+ tags: [...TAGS30]
134982
135156
  }).input(v2Input.body(InvitationV2InviteWithRolesInputSchema)).output(InvitationV2InviteWithRolesOutputSchema);
134983
135157
  var invitationV2Contract = {
134984
135158
  deploy,
@@ -134998,7 +135172,7 @@ var MetadataSchema = exports_external.object({
134998
135172
  payload: exports_external.string()
134999
135173
  });
135000
135174
  var MetadataV2ReadOutputSchema = createSingleResponse(MetadataSchema);
135001
- var read19 = v2Contract.route({
135175
+ var read20 = v2Contract.route({
135002
135176
  method: "GET",
135003
135177
  path: "/metadata/{hash}",
135004
135178
  description: "Resolve content-addressed token metadata by bytes32 hash.",
@@ -135006,7 +135180,7 @@ var read19 = v2Contract.route({
135006
135180
  tags: [V2_TAG.metadata]
135007
135181
  }).input(v2Input.params(MetadataV2ReadInputSchema)).output(MetadataV2ReadOutputSchema);
135008
135182
  var metadataV2Contract = {
135009
- read: read19
135183
+ read: read20
135010
135184
  };
135011
135185
  var OrganizationV2AddMemberInputSchema = exports_external.object({
135012
135186
  userId: exports_external.string().meta({
@@ -135079,34 +135253,34 @@ var OrganizationV2DeployStreamInputSchema = exports_external.object({
135079
135253
  deploymentId: exports_external.string()
135080
135254
  });
135081
135255
  var OrganizationV2DeployStreamOutputSchema = eventIterator(DeploymentEventSchema);
135082
- var TAGS30 = [V2_TAG.organization];
135256
+ var TAGS31 = [V2_TAG.organization];
135083
135257
  var deploy2 = v2Contract.route({
135084
135258
  method: "POST",
135085
135259
  path: "/organizations",
135086
135260
  description: "Create an organization and start the deployment workflow. Asynchronous by default: the request is accepted with a 202 + `Location` response that points at the typed deploy-status read, which clients poll until terminal. Clients may set `Prefer: wait=N` (RFC 7240) to wait synchronously — the handler attaches to the workflow result and returns 200 on terminal success, degrading back to the same 202 + `Location` shape when the wait budget elapses before the workflow terminates. The server echoes the honored directives via `Preference-Applied`. Clients may additionally set the `Prefer: dalp-fail-on-indexer-reindexing` directive (honored only by the onboarding deploy endpoints) to opt into indexer-reindex backpressure: while the indexer is reindexing the request is rejected with `503 INDEXER_REINDEXING` + a `Retry-After` header and a `data.retryAfterSeconds` estimate instead of being submitted. Without the directive the gate is off and the deploy proceeds (the workflow waits out the reindex).",
135087
135261
  successDescription: "Deployment terminated successfully within the sync wait budget; response echoes `Preference-Applied`. Async/degraded paths return 202 + `Location` pointing at the typed deploy-status read (see deployStatus).",
135088
- tags: [...TAGS30]
135262
+ tags: [...TAGS31]
135089
135263
  }).input(v2Input.body(OrganizationV2DeployInputSchema)).output(OrganizationV2DeployOutputSchema);
135090
135264
  var deployStream2 = v2Contract.route({
135091
135265
  method: "GET",
135092
135266
  path: "/organizations/deployments/{deploymentId}/stream",
135093
135267
  description: "Stream deployment progress via SSE for a specific deployment",
135094
135268
  successDescription: "Streaming deployment events delivered as server-sent events",
135095
- tags: [...TAGS30]
135269
+ tags: [...TAGS31]
135096
135270
  }).input(v2Input.params(OrganizationV2DeployStreamInputSchema)).output(OrganizationV2DeployStreamOutputSchema);
135097
135271
  var deployStatus2 = v2Contract.route({
135098
135272
  method: "GET",
135099
135273
  path: "/organizations/deployments/{deploymentId}",
135100
135274
  description: 'Read the current status of an organization deployment as typed JSON (poll without SSE). Returns HTTP 200 on every branch including `status: "absent"` — callers must branch on the `status` field rather than the HTTP code.',
135101
135275
  successDescription: "Deployment status: in-progress, completed, failed, or absent",
135102
- tags: [...TAGS30]
135276
+ tags: [...TAGS31]
135103
135277
  }).input(v2Input.params(OrganizationV2DeployStatusParamsSchema)).output(OrganizationV2DeployStatusOutputSchema);
135104
135278
  var addMember = v2Contract.route({
135105
135279
  method: "POST",
135106
135280
  path: "/organizations/members",
135107
135281
  description: "Add an existing user directly to the active organization, bypassing the invitation flow. Requires the caller to hold the `identityManager` role. Uses the server-side Better Auth `auth.api.addMember` under the hood since that call is not HTTP-exposed by Better Auth.",
135108
135282
  successDescription: "Member added; returns the new membership record",
135109
- tags: [...TAGS30]
135283
+ tags: [...TAGS31]
135110
135284
  }).input(v2Input.body(OrganizationV2AddMemberInputSchema)).output(createSingleResponse(OrganizationV2AddMemberOutputSchema));
135111
135285
  var organizationV2Contract = {
135112
135286
  deploy: deploy2,
@@ -135178,7 +135352,7 @@ var ActivityListV2InputSchema = createCollectionInputSchema(ACTIVITY_LIST_COLLEC
135178
135352
  globalSearch: true
135179
135353
  });
135180
135354
  var ActivityListV2OutputSchema = createPaginatedResponse(ActivityEventV2ItemSchema);
135181
- var read20 = v2Contract.route({
135355
+ var read21 = v2Contract.route({
135182
135356
  method: "GET",
135183
135357
  path: "/participants/{participantId}/compliance-eligibility",
135184
135358
  description: "Evaluate a participant's global eligibility against installed system compliance modules. Returns a verdict (allowed, needs-action, blocked) with optional per-rule reasons. Use `?live=true` to bypass the indexer and evaluate live on-chain.",
@@ -135186,7 +135360,7 @@ var read20 = v2Contract.route({
135186
135360
  tags: [V2_TAG.compliance]
135187
135361
  }).input(v2Input.paramsQuery(EligibilityReadParamsSchema, EligibilityReadQuerySchema)).output(EligibilityReadOutputSchema);
135188
135362
  var complianceEligibilityV2Contract = {
135189
- read: read20
135363
+ read: read21
135190
135364
  };
135191
135365
  var ParticipantActivityParamsSchema = exports_external.object({
135192
135366
  participantId: exports_external.string().min(1).meta({
@@ -135258,7 +135432,7 @@ var SmartWalletReadDataSchema = exports_external.object({
135258
135432
  signingAddress: ethereumAddress
135259
135433
  });
135260
135434
  var SmartWalletReadOutputSchema = createSingleResponse(exports_external.union([exports_external.null(), SmartWalletReadDataSchema]));
135261
- var list23 = v2Contract.route({
135435
+ var list24 = v2Contract.route({
135262
135436
  method: "GET",
135263
135437
  path: "/participants",
135264
135438
  description: "List participant search entries for a required purpose. Sortable by kind, displayName, and address.",
@@ -135301,7 +135475,7 @@ var assumableList = v2Contract.route({
135301
135475
  tags: [V2_TAG.participants]
135302
135476
  }).input(v2Input.query(AssumableParticipantsV2ListInputSchema)).output(AssumableParticipantsV2ListOutputSchema);
135303
135477
  var participantsV2Contract = {
135304
- list: list23,
135478
+ list: list24,
135305
135479
  assumableList,
135306
135480
  addressKinds,
135307
135481
  smartWalletRead,
@@ -136043,7 +136217,7 @@ var UpdateAssetClassInputSchema = exports_external.object({
136043
136217
  }).meta({
136044
136218
  description: "Input schema for updating an asset class definition"
136045
136219
  });
136046
- var list24 = v2Contract.route({
136220
+ var list25 = v2Contract.route({
136047
136221
  method: "GET",
136048
136222
  path: "/settings/asset-class-definitions",
136049
136223
  description: "List asset class definitions with pagination, sorting, and filtering. Sortable by name, createdAt, updatedAt.",
@@ -136057,7 +136231,7 @@ var create10 = v2Contract.route({
136057
136231
  successDescription: "Asset class definition created successfully.",
136058
136232
  tags: [V2_TAG.assetClassDefinitions]
136059
136233
  }).input(v2Input.body(CreateAssetClassInputSchema)).output(createSingleResponse(AssetClassDefinitionSchema));
136060
- var read21 = v2Contract.route({
136234
+ var read22 = v2Contract.route({
136061
136235
  method: "GET",
136062
136236
  path: "/settings/asset-class-definitions/{id}",
136063
136237
  description: "Read a single asset class definition by ID.",
@@ -136079,9 +136253,9 @@ var del5 = v2Contract.route({
136079
136253
  tags: [V2_TAG.assetClassDefinitions]
136080
136254
  }).input(v2Input.params(DeleteAssetClassInputSchema)).output(DeleteResponseSchema);
136081
136255
  var assetClassDefinitionsV2Contract = {
136082
- list: list24,
136256
+ list: list25,
136083
136257
  create: create10,
136084
- read: read21,
136258
+ read: read22,
136085
136259
  update: update4,
136086
136260
  delete: del5
136087
136261
  };
@@ -136263,7 +136437,7 @@ var UpdateInputSchema2 = exports_external.object({
136263
136437
  }).meta({
136264
136438
  description: "Input schema for updating an asset type template"
136265
136439
  });
136266
- var list25 = v2Contract.route({
136440
+ var list26 = v2Contract.route({
136267
136441
  method: "GET",
136268
136442
  path: "/settings/asset-type-templates",
136269
136443
  description: "List asset type templates with pagination, sorting, and filtering. Sortable by name, createdAt, updatedAt.",
@@ -136277,7 +136451,7 @@ var create11 = v2Contract.route({
136277
136451
  successDescription: "Template created successfully.",
136278
136452
  tags: [V2_TAG.assetTypeTemplates]
136279
136453
  }).input(v2Input.body(CreateInputSchema)).output(createSingleResponse(AssetTypeTemplateSchema));
136280
- var read22 = v2Contract.route({
136454
+ var read23 = v2Contract.route({
136281
136455
  method: "GET",
136282
136456
  path: "/settings/asset-type-templates/{id}",
136283
136457
  description: "Read a single asset type template by ID.",
@@ -136306,9 +136480,9 @@ var del6 = v2Contract.route({
136306
136480
  tags: [V2_TAG.assetTypeTemplates]
136307
136481
  }).input(v2Input.params(DeleteInputSchema2)).output(DeleteResponseSchema);
136308
136482
  var assetTypeTemplatesV2Contract = {
136309
- list: list25,
136483
+ list: list26,
136310
136484
  create: create11,
136311
- read: read22,
136485
+ read: read23,
136312
136486
  update: update5,
136313
136487
  publish: publish2,
136314
136488
  delete: del6
@@ -136327,7 +136501,7 @@ var ComplianceTemplatesV2ListInputSchema = createCollectionInputSchema(COMPLIANC
136327
136501
  globalSearch: true
136328
136502
  });
136329
136503
  var ComplianceTemplatesV2ListOutputSchema = createPaginatedResponse(ComplianceTemplateSchema);
136330
- var list26 = v2Contract.route({
136504
+ var list27 = v2Contract.route({
136331
136505
  method: "GET",
136332
136506
  path: "/settings/compliance-templates",
136333
136507
  description: "List compliance templates with pagination, sorting, and filtering. Sortable by name, createdAt, updatedAt.",
@@ -136341,7 +136515,7 @@ var create12 = v2Contract.route({
136341
136515
  successDescription: "Template created successfully.",
136342
136516
  tags: [V2_TAG.complianceTemplates]
136343
136517
  }).input(v2Input.body(ComplianceTemplateCreateInputSchema)).output(createSingleResponse(ComplianceTemplateSchema));
136344
- var read23 = v2Contract.route({
136518
+ var read24 = v2Contract.route({
136345
136519
  method: "GET",
136346
136520
  path: "/settings/compliance-templates/{id}",
136347
136521
  description: "Read a single compliance template by ID.",
@@ -136370,21 +136544,21 @@ var del7 = v2Contract.route({
136370
136544
  tags: [V2_TAG.complianceTemplates]
136371
136545
  }).input(v2Input.params(DeleteInputSchema)).output(DeleteResponseSchema);
136372
136546
  var complianceTemplatesV2Contract = {
136373
- list: list26,
136547
+ list: list27,
136374
136548
  create: create12,
136375
- read: read23,
136549
+ read: read24,
136376
136550
  update: update6,
136377
136551
  publish: publish3,
136378
136552
  delete: del7
136379
136553
  };
136380
- var read24 = v2Contract.route({
136554
+ var read25 = v2Contract.route({
136381
136555
  method: "GET",
136382
136556
  path: "/settings/{key}",
136383
136557
  description: "Read a single setting by key.",
136384
136558
  successDescription: "Setting retrieved successfully.",
136385
136559
  tags: [V2_TAG.settings]
136386
136560
  }).input(v2Input.params(SettingsReadSchema)).output(createSingleResponse(exports_external.object({ value: exports_external.string().nullable() })));
136387
- var list27 = v2Contract.route({
136561
+ var list28 = v2Contract.route({
136388
136562
  method: "GET",
136389
136563
  path: "/settings",
136390
136564
  description: "List all settings with pagination, sorting, filtering, and faceted counts.",
@@ -136462,8 +136636,8 @@ var globalThemeSet2 = v2Contract.route({
136462
136636
  tags: [V2_TAG.settings]
136463
136637
  }).input(v2Input.body(GlobalThemeSetSchema)).output(createSingleResponse(exports_external.object({ success: exports_external.boolean() })));
136464
136638
  var settingsV2Contract = {
136465
- read: read24,
136466
- list: list27,
136639
+ read: read25,
136640
+ list: list28,
136467
136641
  upsert: upsert4,
136468
136642
  delete: del8,
136469
136643
  publicConfig: {
@@ -136635,34 +136809,34 @@ var SmartWalletApprovalsV2ListInputSchema = createCollectionInputSchema(SMART_WA
136635
136809
  globalSearch: false
136636
136810
  });
136637
136811
  var SmartWalletApprovalsV2ListOutputSchema = createPaginatedResponse(MultisigApprovalSchema);
136638
- var TAGS31 = [V2_TAG.smartWallets];
136812
+ var TAGS32 = [V2_TAG.smartWallets];
136639
136813
  var createApproval = v2Contract.route({
136640
136814
  method: "POST",
136641
136815
  path: "/smart-wallets/{address}/approvals",
136642
136816
  description: "Create a new multisig approval for a UserOperation. The initiator's signature and weight are recorded immediately. A Restate workflow tracks the approval lifecycle.",
136643
136817
  successDescription: "Multisig approval created.",
136644
- tags: [...TAGS31]
136818
+ tags: [...TAGS32]
136645
136819
  }).input(v2Input.paramsBody(ApprovalAddressParamsSchema, CreateApprovalInputSchema)).output(createSingleResponse(MultisigApprovalSchema));
136646
136820
  var listApprovals = v2Contract.route({
136647
136821
  method: "GET",
136648
136822
  path: "/smart-wallets/{address}/approvals",
136649
136823
  description: "List multisig approvals for a smart wallet with pagination, filtering, sorting, and faceted counts. Returns approvals with their collected signatures.",
136650
136824
  successDescription: "Paginated list of multisig approvals with metadata and pagination links.",
136651
- tags: [...TAGS31]
136825
+ tags: [...TAGS32]
136652
136826
  }).input(v2Input.paramsQuery(ApprovalAddressParamsSchema, SmartWalletApprovalsV2ListInputSchema)).output(SmartWalletApprovalsV2ListOutputSchema);
136653
136827
  var signApproval = v2Contract.route({
136654
136828
  method: "POST",
136655
136829
  path: "/smart-wallets/{address}/approvals/{userOpHash}/sign",
136656
136830
  description: "Add a co-signer's signature to a pending multisig approval. If the cumulative weight meets the threshold, the UserOperation is submitted automatically.",
136657
136831
  successDescription: "Signature added to the approval.",
136658
- tags: [...TAGS31]
136832
+ tags: [...TAGS32]
136659
136833
  }).input(v2Input.paramsBody(ApprovalDetailParamsSchema, SignApprovalInputSchema)).output(createSingleResponse(MultisigApprovalSchema));
136660
136834
  var readApproval = v2Contract.route({
136661
136835
  method: "GET",
136662
136836
  path: "/smart-wallets/{address}/approvals/{userOpHash}",
136663
136837
  description: "Read a single multisig approval by userOpHash, including all collected signatures and current approval status.",
136664
136838
  successDescription: "Multisig approval details.",
136665
- tags: [...TAGS31]
136839
+ tags: [...TAGS32]
136666
136840
  }).input(v2Input.params(ApprovalDetailParamsSchema)).output(createSingleResponse(MultisigApprovalSchema));
136667
136841
  var smartWalletsV2ApprovalsContract = {
136668
136842
  createApproval,
@@ -136670,7 +136844,7 @@ var smartWalletsV2ApprovalsContract = {
136670
136844
  signApproval,
136671
136845
  readApproval
136672
136846
  };
136673
- var TAGS32 = [V2_TAG.smartWallets];
136847
+ var TAGS33 = [V2_TAG.smartWallets];
136674
136848
  var InstallModuleParamsSchema = exports_external.object({
136675
136849
  address: ethereumAddress
136676
136850
  });
@@ -136687,14 +136861,14 @@ var installModule = v2Contract.route({
136687
136861
  path: "/smart-wallets/{address}/modules",
136688
136862
  description: "Install an ERC-7579 validator module on a smart wallet.",
136689
136863
  successDescription: "Module installation submitted.",
136690
- tags: [...TAGS32]
136864
+ tags: [...TAGS33]
136691
136865
  }).input(v2Input.paramsBody(InstallModuleParamsSchema, InstallModuleBodySchema)).output(createAsyncBlockchainMutationResponse(SmartWalletSchema));
136692
136866
  var uninstallModule = v2Contract.route({
136693
136867
  method: "DELETE",
136694
136868
  path: "/smart-wallets/{address}/modules/{moduleAddress}",
136695
136869
  description: "Uninstall a validator module from a smart wallet.",
136696
136870
  successDescription: "Module uninstallation submitted.",
136697
- tags: [...TAGS32]
136871
+ tags: [...TAGS33]
136698
136872
  }).input(v2Input.params(UninstallModuleParamsSchema)).output(createAsyncBlockchainMutationResponse(SmartWalletSchema));
136699
136873
  var smartWalletsV2ModulesContract = {
136700
136874
  installModule,
@@ -136711,7 +136885,7 @@ var SmartWalletSignersV2ListInputSchema = createCollectionInputSchema(SMART_WALL
136711
136885
  globalSearch: false
136712
136886
  });
136713
136887
  var SmartWalletSignersV2ListOutputSchema = createPaginatedResponse(SmartWalletSignerSchema);
136714
- var TAGS33 = [V2_TAG.smartWallets];
136888
+ var TAGS34 = [V2_TAG.smartWallets];
136715
136889
  var ListSignersParamsSchema = exports_external.object({
136716
136890
  address: ethereumAddress
136717
136891
  });
@@ -136731,28 +136905,28 @@ var listSigners = v2Contract.route({
136731
136905
  path: "/smart-wallets/{address}/signers",
136732
136906
  description: "List all authorized signers for a smart wallet with pagination, filtering, and sorting.",
136733
136907
  successDescription: "Paginated list of signers with their weights and validator assignments.",
136734
- tags: [...TAGS33]
136908
+ tags: [...TAGS34]
136735
136909
  }).input(v2Input.paramsQuery(ListSignersParamsSchema, SmartWalletSignersV2ListInputSchema)).output(SmartWalletSignersV2ListOutputSchema);
136736
136910
  var addSigner = v2Contract.route({
136737
136911
  method: "POST",
136738
136912
  path: "/smart-wallets/{address}/signers",
136739
136913
  description: "Add a new multisig signer to a smart wallet. Only the wallet owner may call this endpoint; co-signers must use the multisig approval flow.",
136740
136914
  successDescription: "Signer addition submitted.",
136741
- tags: [...TAGS33]
136915
+ tags: [...TAGS34]
136742
136916
  }).input(v2Input.paramsBody(AddSignerParamsSchema, AddSignerBodySchema)).output(createAsyncBlockchainMutationResponse(SmartWalletSchema));
136743
136917
  var removeSigner = v2Contract.route({
136744
136918
  method: "DELETE",
136745
136919
  path: "/smart-wallets/{address}/signers/{signer}",
136746
136920
  description: "Remove a signer from a smart wallet. Only the wallet owner may call this endpoint; co-signers must use the multisig approval flow.",
136747
136921
  successDescription: "Signer removal submitted.",
136748
- tags: [...TAGS33]
136922
+ tags: [...TAGS34]
136749
136923
  }).input(v2Input.params(RemoveSignerParamsSchema)).output(createAsyncBlockchainMutationResponse(SmartWalletSchema));
136750
136924
  var smartWalletsV2SignersContract = {
136751
136925
  listSigners,
136752
136926
  addSigner,
136753
136927
  removeSigner
136754
136928
  };
136755
- var TAGS34 = [V2_TAG.smartWallets];
136929
+ var TAGS35 = [V2_TAG.smartWallets];
136756
136930
  var SetThresholdParamsSchema = exports_external.object({
136757
136931
  address: ethereumAddress
136758
136932
  });
@@ -136764,57 +136938,57 @@ var setThreshold = v2Contract.route({
136764
136938
  path: "/smart-wallets/{address}/threshold",
136765
136939
  description: "Set the multisig threshold for a smart wallet. The threshold must not exceed the sum of all signer weights. Only the wallet owner may call this endpoint; co-signers must use the multisig approval flow.",
136766
136940
  successDescription: "Threshold update submitted.",
136767
- tags: [...TAGS34]
136941
+ tags: [...TAGS35]
136768
136942
  }).input(v2Input.paramsBody(SetThresholdParamsSchema, SetThresholdBodySchema)).output(createAsyncBlockchainMutationResponse(SmartWalletSchema));
136769
136943
  var smartWalletsV2ThresholdContract = {
136770
136944
  setThreshold
136771
136945
  };
136772
- var TAGS35 = [V2_TAG.smartWallets];
136773
- var list28 = v2Contract.route({
136946
+ var TAGS36 = [V2_TAG.smartWallets];
136947
+ var list29 = v2Contract.route({
136774
136948
  method: "GET",
136775
136949
  path: "/smart-wallets",
136776
136950
  description: "List smart wallets where the authenticated user is a signer with pagination, filtering, sorting, and faceted counts.",
136777
136951
  successDescription: "Paginated list of smart wallets with metadata and pagination links.",
136778
- tags: [...TAGS35]
136952
+ tags: [...TAGS36]
136779
136953
  }).input(v2Input.query(SmartWalletsV2ListInputSchema)).output(SmartWalletsV2ListOutputSchema);
136780
- var read25 = v2Contract.route({
136954
+ var read26 = v2Contract.route({
136781
136955
  method: "GET",
136782
136956
  path: "/smart-wallets/{address}",
136783
136957
  description: "Read a single smart wallet by contract address, including validators, signers, and gas status.",
136784
136958
  successDescription: "Smart wallet details.",
136785
- tags: [...TAGS35]
136959
+ tags: [...TAGS36]
136786
136960
  }).input(v2Input.params(SmartWalletAddressParamsSchema)).output(createSingleResponse(SmartWalletSchema));
136787
136961
  var gasStatus = v2Contract.route({
136788
136962
  method: "GET",
136789
136963
  path: "/smart-wallets/{address}/gas-status",
136790
136964
  description: "Check gas funding status for a smart wallet — EntryPoint deposit, wallet balance, and paymaster availability.",
136791
136965
  successDescription: "Gas status for the wallet.",
136792
- tags: [...TAGS35]
136966
+ tags: [...TAGS36]
136793
136967
  }).input(v2Input.paramsQuery(SmartWalletAddressParamsSchema, SmartWalletGasStatusQuerySchema)).output(createSingleResponse(SmartWalletGasStatusSchema));
136794
136968
  var create13 = v2Contract.route({
136795
136969
  method: "POST",
136796
136970
  path: "/smart-wallets",
136797
136971
  description: "Deploy a new ERC-4337 smart wallet via the DALPAccountFactory. When no multisig config is provided, the factory's default validator (ECDSA) is installed. When multisig config is provided, a MultisigWeightedValidator is installed with the specified signers, weights, and threshold.",
136798
136972
  successDescription: "Smart wallet creation submitted.",
136799
- tags: [...TAGS35]
136973
+ tags: [...TAGS36]
136800
136974
  }).input(v2Input.body(SmartWalletCreateInputSchema)).output(createAsyncBlockchainMutationResponse(SmartWalletSchema));
136801
136975
  var update7 = v2Contract.route({
136802
136976
  method: "PATCH",
136803
136977
  path: "/smart-wallets/{address}",
136804
136978
  description: "Update off-chain metadata (description) for a smart wallet.",
136805
136979
  successDescription: "Smart wallet metadata updated.",
136806
- tags: [...TAGS35]
136980
+ tags: [...TAGS36]
136807
136981
  }).input(v2Input.paramsBody(SmartWalletAddressParamsSchema, SmartWalletUpdateInputSchema)).output(createSingleResponse(SmartWalletSchema));
136808
136982
  var custodyGasBalance = v2Contract.route({
136809
136983
  method: "GET",
136810
136984
  path: "/smart-wallets/custody/gas-balance",
136811
136985
  description: "Read the native gas-token balance of the caller's custody wallet from the configured custody provider. " + "Returns null when the active signer provider is not DFNS (getWalletAssets is DFNS-specific). " + "The walletId is sourced from the authenticated session.",
136812
136986
  successDescription: "Custody wallet native gas-token balance, or null for non-DFNS tenants.",
136813
- tags: [...TAGS35]
136987
+ tags: [...TAGS36]
136814
136988
  }).input(v2Input.query(exports_external.object({}).strict())).output(createSingleResponse(CustodyGasBalanceSchema));
136815
136989
  var smartWalletsV2Contract = {
136816
- list: list28,
136817
- read: read25,
136990
+ list: list29,
136991
+ read: read26,
136818
136992
  gasStatus,
136819
136993
  custodyGasBalance,
136820
136994
  create: create13,
@@ -136940,26 +137114,26 @@ var BundlerBalanceSchema = exports_external.object({
136940
137114
  balance: exports_external.string(),
136941
137115
  nativeTokenSymbol: exports_external.string()
136942
137116
  });
136943
- var TAGS36 = [V2_TAG.bundler];
137117
+ var TAGS37 = [V2_TAG.bundler];
136944
137118
  var status4 = v2Contract.route({
136945
137119
  method: "GET",
136946
137120
  path: "/system/bundler/status",
136947
137121
  description: "Get the bundler wallet status for the current system",
136948
137122
  successDescription: "Bundler status",
136949
- tags: [...TAGS36]
137123
+ tags: [...TAGS37]
136950
137124
  }).output(createSingleResponse(BundlerStatusSchema));
136951
137125
  var balance = v2Contract.route({
136952
137126
  method: "GET",
136953
137127
  path: "/system/bundler/balance",
136954
137128
  description: "Get the native token balance of the bundler EOA wallet",
136955
137129
  successDescription: "Bundler balance",
136956
- tags: [...TAGS36]
137130
+ tags: [...TAGS37]
136957
137131
  }).output(createSingleResponse(BundlerBalanceSchema));
136958
137132
  var bundlerV2Contract = {
136959
137133
  status: status4,
136960
137134
  balance
136961
137135
  };
136962
- var list29 = v2Contract.route({
137136
+ var list30 = v2Contract.route({
136963
137137
  method: "GET",
136964
137138
  path: "/system/accounts/{accountAddress}/activities",
136965
137139
  description: "List blockchain events where the specified account address is involved. Sortable by " + "blockTimestamp (default desc) and blockNumber. Filterable on eventName.",
@@ -136974,7 +137148,7 @@ var stats3 = v2Contract.route({
136974
137148
  tags: [V2_TAG.system]
136975
137149
  }).input(v2Input.paramsQuery(exports_external.object({ accountAddress: ActivityStatsInputSchema.shape.accountAddress }), ActivityStatsInputSchema.omit({ accountAddress: true }))).output(createSingleResponse(ActivityStatsOutputSchema));
136976
137150
  var activityV2Contract = {
136977
- list: list29,
137151
+ list: list30,
136978
137152
  stats: stats3
136979
137153
  };
136980
137154
  var ADDON_KIND_OPTIONS = ["singleton", "factory", "unknown"];
@@ -137025,33 +137199,33 @@ var AddonFactoryV2ListInputSchema = createCollectionInputSchema(ADDON_FACTORY_CO
137025
137199
  globalSearch: true
137026
137200
  });
137027
137201
  var AddonFactoryV2ListOutputSchema = createPaginatedResponse(AddonFactoryV2ItemSchema);
137028
- var TAGS37 = [V2_TAG.addonFactory];
137202
+ var TAGS38 = [V2_TAG.addonFactory];
137029
137203
  var FACTORY_ERRORS = ["DALP-4001", "DALP-4003", "DALP-4018"];
137030
- var list30 = v2Contract.route({
137204
+ var list31 = v2Contract.route({
137031
137205
  method: "GET",
137032
137206
  path: "/system/addon-factories",
137033
137207
  description: "List system addon factories (extensions that add functionality to tokens). Sortable by id, name, typeId.",
137034
137208
  successDescription: "Paginated array of addon factories with total count and faceted filter values.",
137035
- tags: [...TAGS37]
137209
+ tags: [...TAGS38]
137036
137210
  }).input(v2Input.query(AddonFactoryV2ListInputSchema)).output(AddonFactoryV2ListOutputSchema);
137037
137211
  var create14 = v2Contract.route({
137038
137212
  method: "POST",
137039
137213
  path: "/system/addon-factories",
137040
137214
  description: "Register system addon factory to extend SMART system functionality",
137041
137215
  successDescription: "System addon factory registered successfully",
137042
- tags: [...TAGS37]
137216
+ tags: [...TAGS38]
137043
137217
  }).meta({ contractErrors: [...FACTORY_ERRORS] }).input(v2Input.body(SystemAddonCreateSchema)).output(createAsyncBlockchainMutationResponse(SystemSchema));
137044
- var read26 = v2Contract.route({
137218
+ var read27 = v2Contract.route({
137045
137219
  method: "GET",
137046
137220
  path: "/system/addon-factories/{factoryAddress}",
137047
137221
  description: "Get an addon factory by address",
137048
137222
  successDescription: "Addon factory data with type information",
137049
- tags: [...TAGS37]
137223
+ tags: [...TAGS38]
137050
137224
  }).input(v2Input.params(exports_external.object({ factoryAddress: AddonFactoryReadInputSchema.shape.addonFactoryAddress }))).output(createSingleResponse(AddonFactoryReadOutputSchema));
137051
137225
  var addonFactoryV2Contract = {
137052
- list: list30,
137226
+ list: list31,
137053
137227
  create: create14,
137054
- read: read26
137228
+ read: read27
137055
137229
  };
137056
137230
  var CLAIM_TOPICS_COLLECTION_FIELDS = {
137057
137231
  topicId: textField(),
@@ -137063,7 +137237,7 @@ var ClaimTopicsV2ListInputSchema = createCollectionInputSchema(CLAIM_TOPICS_COLL
137063
137237
  });
137064
137238
  var ClaimTopicsV2ListOutputSchema = createPaginatedResponse(TopicSchemeSchema);
137065
137239
  var CLAIM_TOPIC_ERRORS = ["DALP-4001", "DALP-4003", "DALP-3003", "DALP-3004"];
137066
- var list31 = v2Contract.route({
137240
+ var list32 = v2Contract.route({
137067
137241
  method: "GET",
137068
137242
  path: "/system/claim-topics",
137069
137243
  description: "List identity claim topics registered in the on-chain claim topic registry. Sortable by topicId, name.",
@@ -137077,7 +137251,7 @@ var create15 = v2Contract.route({
137077
137251
  successDescription: "Topic scheme registered successfully.",
137078
137252
  tags: [V2_TAG.claimTopics]
137079
137253
  }).meta({ contractErrors: [...CLAIM_TOPIC_ERRORS] }).input(v2Input.body(TopicCreateInputSchema)).output(createAsyncBlockchainMutationResponse(TopicCreateOutputSchema));
137080
- var read27 = v2Contract.route({
137254
+ var read28 = v2Contract.route({
137081
137255
  method: "GET",
137082
137256
  path: "/system/claim-topics/{name}",
137083
137257
  description: "Get detailed information about a specific claim topic including its trusted issuers.",
@@ -137099,9 +137273,9 @@ var del9 = v2Contract.route({
137099
137273
  tags: [V2_TAG.claimTopics]
137100
137274
  }).meta({ contractErrors: [...CLAIM_TOPIC_ERRORS] }).input(v2Input.paramsBody(exports_external.object({ name: TopicDeleteInputSchema.shape.name }), TopicDeleteInputSchema.omit({ name: true }))).output(createAsyncBlockchainMutationResponse(TopicDeleteOutputSchema));
137101
137275
  var claimTopicsV2Contract = {
137102
- list: list31,
137276
+ list: list32,
137103
137277
  create: create15,
137104
- read: read27,
137278
+ read: read28,
137105
137279
  update: update8,
137106
137280
  delete: del9
137107
137281
  };
@@ -137169,7 +137343,7 @@ var ComplianceModuleV2ListInputSchema = createCollectionInputSchema(COMPLIANCE_M
137169
137343
  });
137170
137344
  var ComplianceModuleV2ListOutputSchema = createPaginatedResponse(ComplianceModuleV2ItemSchema);
137171
137345
  var COMPLIANCE_MODULE_ERRORS = ["DALP-4001", "DALP-4003", "DALP-1029", "DALP-1032"];
137172
- var list32 = v2Contract.route({
137346
+ var list33 = v2Contract.route({
137173
137347
  method: "GET",
137174
137348
  path: "/system/compliance-modules",
137175
137349
  description: "List all compliance modules registered in the system",
@@ -137219,7 +137393,7 @@ var setScopedParams = v2Contract.route({
137219
137393
  tags: [V2_TAG.compliance]
137220
137394
  }).meta({ contractErrors: [...COMPLIANCE_MODULE_ERRORS] }).input(v2Input.body(SystemSetScopedComplianceParamsInputSchema)).output(createAsyncBlockchainMutationResponse(SystemSchema));
137221
137395
  var complianceModuleV2Contract = {
137222
- list: list32,
137396
+ list: list33,
137223
137397
  create: create16,
137224
137398
  uninstall,
137225
137399
  configure,
@@ -137256,14 +137430,14 @@ var SystemV2InputSchema = createCollectionInputSchema(SYSTEM_COLLECTION_FIELDS,
137256
137430
  globalSearch: false
137257
137431
  });
137258
137432
  var SystemV2OutputSchema = createPaginatedResponse(SystemV2ItemSchema);
137259
- var list33 = v2Contract.route({
137433
+ var list34 = v2Contract.route({
137260
137434
  method: "GET",
137261
137435
  path: "/systems",
137262
137436
  description: "List all SMART systems deployed on the blockchain with their registry contracts and configuration",
137263
137437
  successDescription: "List of SMART systems with deployment details and registry addresses",
137264
137438
  tags: [V2_TAG.system]
137265
137439
  }).input(v2Input.query(SystemV2InputSchema)).output(SystemV2OutputSchema);
137266
- var read28 = v2Contract.route({
137440
+ var read29 = v2Contract.route({
137267
137441
  method: "GET",
137268
137442
  path: "/systems/{systemAddress}",
137269
137443
  description: "Get details of a specific SMART system (use 'default' for the dApp system)",
@@ -137273,10 +137447,10 @@ var read28 = v2Contract.route({
137273
137447
  systemAddress: exports_external.literal("default").or(ethereumAddress)
137274
137448
  }))).output(createSingleResponse(SystemSchema));
137275
137449
  var coreV2Contract = {
137276
- list: list33,
137277
- read: read28
137450
+ list: list34,
137451
+ read: read29
137278
137452
  };
137279
- var read29 = v2Contract.route({
137453
+ var read30 = v2Contract.route({
137280
137454
  method: "GET",
137281
137455
  path: "/system/directory",
137282
137456
  description: "Get the Directory configuration including" + " system implementations, registered asset" + " types, compliance modules, and addons",
@@ -137284,7 +137458,7 @@ var read29 = v2Contract.route({
137284
137458
  tags: [V2_TAG.directory]
137285
137459
  }).input(v2Input.query(DirectoryReadInputSchema)).output(createSingleResponse(DirectoryReadOutputSchema.nullable()));
137286
137460
  var directoryV2Contract2 = {
137287
- read: read29
137461
+ read: read30
137288
137462
  };
137289
137463
  var ENTITIES_COLLECTION_FIELDS = {
137290
137464
  lastActivity: dateField(),
@@ -137297,7 +137471,7 @@ var EntityV2ListInputSchema = createCollectionInputSchema(ENTITIES_COLLECTION_FI
137297
137471
  globalSearch: true
137298
137472
  });
137299
137473
  var EntityV2ListOutputSchema = createPaginatedResponse(EntityItemSchema);
137300
- var list34 = v2Contract.route({
137474
+ var list35 = v2Contract.route({
137301
137475
  method: "GET",
137302
137476
  path: "/system/entities",
137303
137477
  description: "List on-chain registered identities from the identity registry. Filterable by entityType. Sortable by lastActivity, identityAddress.",
@@ -137305,7 +137479,7 @@ var list34 = v2Contract.route({
137305
137479
  tags: [V2_TAG.entity]
137306
137480
  }).input(v2Input.query(EntityV2ListInputSchema)).output(EntityV2ListOutputSchema);
137307
137481
  var entityV2Contract = {
137308
- list: list34
137482
+ list: list35
137309
137483
  };
137310
137484
  var TOKEN_FEATURE_TYPE_IDS = [
137311
137485
  "aum-fee",
@@ -137346,7 +137520,7 @@ var FeatureInventoryV2ListInputSchema = createCollectionInputSchema(FEATURE_INVE
137346
137520
  globalSearch: true
137347
137521
  });
137348
137522
  var FeatureInventoryV2ListOutputSchema = createPaginatedResponse(FeatureInventoryV2ItemSchema);
137349
- var list35 = v2Contract.route({
137523
+ var list36 = v2Contract.route({
137350
137524
  method: "GET",
137351
137525
  path: "/system/feature-inventory",
137352
137526
  description: "List the active system's per-feature attachment rollup: for each token-feature type, the number of distinct tokens currently carrying a live attachment plus the most recent attachment timestamp.",
@@ -137354,7 +137528,7 @@ var list35 = v2Contract.route({
137354
137528
  tags: [V2_TAG.system]
137355
137529
  }).input(v2Input.query(FeatureInventoryV2ListInputSchema)).output(FeatureInventoryV2ListOutputSchema);
137356
137530
  var featureInventoryV2Contract = {
137357
- list: list35
137531
+ list: list36
137358
137532
  };
137359
137533
  var AdapterV2ItemSchema = exports_external.object({
137360
137534
  adapterAddress: ethereumAddress.meta({
@@ -137427,34 +137601,34 @@ var IssuerSignedFeedsV2ListInputSchema = createCollectionInputSchema(ISSUER_SIGN
137427
137601
  globalSearch: true
137428
137602
  });
137429
137603
  var IssuerSignedFeedsV2ListOutputSchema = createPaginatedResponse(IssuerSignedFeedV2ItemSchema);
137430
- var TAGS38 = [V2_TAG.feeds];
137604
+ var TAGS39 = [V2_TAG.feeds];
137431
137605
  var capabilities2 = v2Contract.route({
137432
137606
  method: "GET",
137433
137607
  path: "/system/feeds/capabilities",
137434
137608
  description: "Get the current installation state of feed-related modules (directory, factories, adapters)",
137435
137609
  successDescription: "Feed capabilities with addon installation status",
137436
- tags: [...TAGS38]
137610
+ tags: [...TAGS39]
137437
137611
  }).output(createSingleResponse(FeedsCapabilitiesOutputSchema));
137438
- var list36 = v2Contract.route({
137612
+ var list37 = v2Contract.route({
137439
137613
  method: "GET",
137440
137614
  path: "/system/feeds",
137441
137615
  description: "List all feeds registered in the feeds directory with optional filtering",
137442
137616
  successDescription: "Paginated list of feeds with latest values",
137443
- tags: [...TAGS38]
137617
+ tags: [...TAGS39]
137444
137618
  }).input(v2Input.query(FeedsV2ListInputSchema)).output(FeedsV2ListOutputSchema);
137445
137619
  var resolve22 = v2Contract.route({
137446
137620
  method: "GET",
137447
137621
  path: "/system/feeds/resolve",
137448
137622
  description: "Resolve the feed registered for a (subject, topic) pair via direct chain read with optional indexed enrichment",
137449
137623
  successDescription: "Feed resolution result",
137450
- tags: [...TAGS38]
137624
+ tags: [...TAGS39]
137451
137625
  }).input(v2Input.query(FeedResolveInputSchema)).output(createSingleResponse(FeedResolveOutputSchema));
137452
- var read30 = v2Contract.route({
137626
+ var read31 = v2Contract.route({
137453
137627
  method: "GET",
137454
137628
  path: "/system/feeds/{feedAddress}",
137455
137629
  description: "Read a single feed by its contract address",
137456
137630
  successDescription: "Feed details with latest value",
137457
- tags: [...TAGS38]
137631
+ tags: [...TAGS39]
137458
137632
  }).input(v2Input.params(FeedReadInputSchema)).output(createSingleResponse(FeedReadOutputSchema));
137459
137633
  var registerExternal2 = v2Contract.route({
137460
137634
  method: "POST",
@@ -137462,63 +137636,63 @@ var registerExternal2 = v2Contract.route({
137462
137636
  description: "Register an already-deployed Chainlink-compatible feed address in the feeds directory",
137463
137637
  successDescription: "Feed registered successfully",
137464
137638
  successStatus: 201,
137465
- tags: [...TAGS38]
137639
+ tags: [...TAGS39]
137466
137640
  }).input(v2Input.body(FeedRegisterExternalInputSchema)).output(createAsyncBlockchainMutationResponse(FeedRegisterExternalOutputSchema));
137467
137641
  var replace2 = v2Contract.route({
137468
137642
  method: "PUT",
137469
137643
  path: "/system/feeds/replace",
137470
137644
  description: "Replace the feed registered for a (subject, topic) pair with a new feed address",
137471
137645
  successDescription: "Feed replaced successfully",
137472
- tags: [...TAGS38]
137646
+ tags: [...TAGS39]
137473
137647
  }).input(v2Input.body(FeedReplaceInputSchema)).output(createAsyncBlockchainMutationResponse(FeedReplaceOutputSchema));
137474
137648
  var remove3 = v2Contract.route({
137475
137649
  method: "DELETE",
137476
137650
  path: "/system/feeds/remove",
137477
137651
  description: "Remove the feed registered for a (subject, topic) pair from the directory",
137478
137652
  successDescription: "Feed removed successfully",
137479
- tags: [...TAGS38]
137653
+ tags: [...TAGS39]
137480
137654
  }).input(v2Input.body(FeedRemoveInputSchema)).output(createAsyncBlockchainMutationResponse(FeedRemoveOutputSchema));
137481
137655
  var latest2 = v2Contract.route({
137482
137656
  method: "GET",
137483
137657
  path: "/system/feeds/{feedAddress}/latest",
137484
137658
  description: "Get the latest round data from a feed via direct chain read",
137485
137659
  successDescription: "Latest feed value with metadata",
137486
- tags: [...TAGS38]
137660
+ tags: [...TAGS39]
137487
137661
  }).input(v2Input.params(FeedLatestInputSchema)).output(createSingleResponse(FeedLatestOutputSchema));
137488
137662
  var round22 = v2Contract.route({
137489
137663
  method: "GET",
137490
137664
  path: "/system/feeds/{feedAddress}/round/{roundId}",
137491
137665
  description: "Get historical round data from a feed",
137492
137666
  successDescription: "Round data for the requested round ID",
137493
- tags: [...TAGS38]
137667
+ tags: [...TAGS39]
137494
137668
  }).input(v2Input.params(FeedRoundInputSchema)).output(createSingleResponse(FeedRoundOutputSchema));
137495
137669
  var staleness2 = v2Contract.route({
137496
137670
  method: "GET",
137497
137671
  path: "/system/feeds/{feedAddress}/staleness",
137498
137672
  description: "Evaluate whether a feed value is stale based on a maximum age threshold",
137499
137673
  successDescription: "Staleness evaluation result",
137500
- tags: [...TAGS38]
137674
+ tags: [...TAGS39]
137501
137675
  }).input(v2Input.paramsQuery(exports_external.object({ feedAddress: FeedStalenessInputSchema.shape.feedAddress }), exports_external.object(FeedStalenessInputSchema.shape).omit({ feedAddress: true }))).output(createSingleResponse(FeedStalenessOutputSchema));
137502
137676
  var config22 = v2Contract.route({
137503
137677
  method: "GET",
137504
137678
  path: "/system/feeds/{feedAddress}/config",
137505
137679
  description: "Read immutable configuration from an IssuerSignedScalarFeed instance",
137506
137680
  successDescription: "Feed configuration",
137507
- tags: [...TAGS38]
137681
+ tags: [...TAGS39]
137508
137682
  }).input(v2Input.params(FeedConfigInputSchema)).output(createSingleResponse(FeedConfigOutputSchema));
137509
137683
  var nonce2 = v2Contract.route({
137510
137684
  method: "GET",
137511
137685
  path: "/system/feeds/{feedAddress}/nonce/{issuerIdentity}",
137512
137686
  description: "Get the current nonce for an issuer identity contract on a specific feed",
137513
137687
  successDescription: "Current and next nonce values",
137514
- tags: [...TAGS38]
137688
+ tags: [...TAGS39]
137515
137689
  }).input(v2Input.params(FeedNonceInputSchema)).output(createSingleResponse(FeedNonceOutputSchema));
137516
137690
  var submit2 = v2Contract.route({
137517
137691
  method: "POST",
137518
137692
  path: "/system/feeds/{feedAddress}/submit",
137519
137693
  description: "Sign and submit a feed update using the backend-managed signer (EIP-712)",
137520
137694
  successDescription: "Feed update submitted",
137521
- tags: [...TAGS38]
137695
+ tags: [...TAGS39]
137522
137696
  }).input(v2Input.paramsBody(exports_external.object({ feedAddress: FeedSubmitInputSchema.shape.feedAddress }), exports_external.object(FeedSubmitInputSchema.shape).omit({ feedAddress: true }))).output(createAsyncBlockchainMutationResponse(FeedSubmitOutputSchema));
137523
137697
  var issuerSignedCreate2 = v2Contract.route({
137524
137698
  method: "POST",
@@ -137526,14 +137700,14 @@ var issuerSignedCreate2 = v2Contract.route({
137526
137700
  description: "Create a new issuer-signed scalar feed via the factory and auto-register in the directory",
137527
137701
  successDescription: "Feed created and registered",
137528
137702
  successStatus: 201,
137529
- tags: [...TAGS38]
137703
+ tags: [...TAGS39]
137530
137704
  }).input(v2Input.body(IssuerSignedCreateInputSchema)).output(createAsyncBlockchainMutationResponse(IssuerSignedCreateOutputSchema));
137531
137705
  var issuerSignedList2 = v2Contract.route({
137532
137706
  method: "GET",
137533
137707
  path: "/system/feeds/issuer-signed",
137534
137708
  description: "List feeds created via the IssuerSignedScalarFeedFactory",
137535
137709
  successDescription: "Paginated list of factory-created feeds",
137536
- tags: [...TAGS38]
137710
+ tags: [...TAGS39]
137537
137711
  }).input(v2Input.query(IssuerSignedFeedsV2ListInputSchema)).output(IssuerSignedFeedsV2ListOutputSchema);
137538
137712
  var adapterCreate2 = v2Contract.route({
137539
137713
  method: "POST",
@@ -137541,20 +137715,20 @@ var adapterCreate2 = v2Contract.route({
137541
137715
  description: "Create a stable-address adapter for a (subject, topic) pair",
137542
137716
  successDescription: "Adapter created",
137543
137717
  successStatus: 201,
137544
- tags: [...TAGS38]
137718
+ tags: [...TAGS39]
137545
137719
  }).input(v2Input.body(AdapterCreateInputSchema)).output(createAsyncBlockchainMutationResponse(AdapterCreateOutputSchema));
137546
137720
  var adapterList2 = v2Contract.route({
137547
137721
  method: "GET",
137548
137722
  path: "/system/feeds/adapters",
137549
137723
  description: "List adapters created via the ScalarFeedAggregatorAdapterFactory",
137550
137724
  successDescription: "Paginated list of adapters",
137551
- tags: [...TAGS38]
137725
+ tags: [...TAGS39]
137552
137726
  }).input(v2Input.query(AdaptersV2ListInputSchema)).output(AdaptersV2ListOutputSchema);
137553
137727
  var feedsV2Contract = {
137554
137728
  capabilities: capabilities2,
137555
- list: list36,
137729
+ list: list37,
137556
137730
  resolve: resolve22,
137557
- read: read30,
137731
+ read: read31,
137558
137732
  registerExternal: registerExternal2,
137559
137733
  replace: replace2,
137560
137734
  remove: remove3,
@@ -137747,7 +137921,7 @@ var IdentityV2ListInputSchema = createCollectionInputSchema(IDENTITY_COLLECTION_
137747
137921
  globalSearch: true
137748
137922
  });
137749
137923
  var IdentityV2ListOutputSchema = createPaginatedResponse(IdentityV2ListItemSchema);
137750
- var TAGS39 = [V2_TAG.identity];
137924
+ var TAGS40 = [V2_TAG.identity];
137751
137925
  var IDENTITY_ERRORS = ["DALP-4001", "DALP-4003", "DALP-1027", "DALP-1028"];
137752
137926
  var identityMutationOutput = createAsyncBlockchainMutationResponse(IdentitySchema);
137753
137927
  var create17 = v2Contract.route({
@@ -137755,28 +137929,28 @@ var create17 = v2Contract.route({
137755
137929
  path: "/identities",
137756
137930
  description: "Create a new blockchain identity contract for the authenticated user.",
137757
137931
  successDescription: "Identity created successfully.",
137758
- tags: TAGS39
137932
+ tags: TAGS40
137759
137933
  }).meta({ contractErrors: [...IDENTITY_ERRORS] }).input(v2Input.body(IdentityCreateSchema)).output(identityMutationOutput);
137760
137934
  var register22 = v2Contract.route({
137761
137935
  method: "POST",
137762
137936
  path: "/system/identity-registrations",
137763
137937
  description: "Register identity claims for the current user and current system.",
137764
137938
  successDescription: "Identity claims registered successfully.",
137765
- tags: TAGS39
137939
+ tags: TAGS40
137766
137940
  }).meta({ contractErrors: [...IDENTITY_ERRORS] }).input(v2Input.body(IdentityRegisterSchema)).output(identityMutationOutput);
137767
137941
  var registerPending = v2Contract.route({
137768
137942
  method: "POST",
137769
137943
  path: "/system/pending-identity-registrations",
137770
137944
  description: "Register an existing identity contract in the current system as PENDING.",
137771
137945
  successDescription: "Identity registered as PENDING.",
137772
- tags: TAGS39
137946
+ tags: TAGS40
137773
137947
  }).meta({ contractErrors: [...IDENTITY_ERRORS] }).input(v2Input.body(IdentityRegisterPendingSchema)).output(identityMutationOutput);
137774
137948
  var readByWallet2 = v2Contract.route({
137775
137949
  method: "GET",
137776
137950
  path: "/system/wallets/{wallet}/identity",
137777
137951
  description: "Read identity information by wallet address with claim validation.",
137778
137952
  successDescription: "Identity information retrieved successfully.",
137779
- tags: TAGS39
137953
+ tags: TAGS40
137780
137954
  }).input(v2Input.paramsQuery(exports_external.object({
137781
137955
  wallet: ethereumAddress.meta({
137782
137956
  description: "The wallet address of the user",
@@ -137793,7 +137967,7 @@ var readById = v2Contract.route({
137793
137967
  path: "/system/identities/{identityAddress}",
137794
137968
  description: "Read identity information by identity contract address.",
137795
137969
  successDescription: "Identity information retrieved successfully.",
137796
- tags: TAGS39
137970
+ tags: TAGS40
137797
137971
  }).input(v2Input.paramsQuery(exports_external.object({
137798
137972
  identityAddress: ethereumAddress.meta({
137799
137973
  description: "The address of the identity contract to read",
@@ -137810,70 +137984,70 @@ var search3 = v2Contract.route({
137810
137984
  path: "/system/identity-searches",
137811
137985
  description: "Search for basic identity information by account or contract address.",
137812
137986
  successDescription: "Identity search completed successfully.",
137813
- tags: TAGS39
137987
+ tags: TAGS40
137814
137988
  }).meta({ contractErrors: [...IDENTITY_ERRORS] }).input(v2Input.body(IdentitySearchSchema)).output(createSingleResponse(IdentitySearchResultSchema));
137815
137989
  var me2 = v2Contract.route({
137816
137990
  method: "GET",
137817
137991
  path: "/system/identities/me",
137818
137992
  description: "Get the authenticated user's identity information.",
137819
137993
  successDescription: "Identity retrieved successfully.",
137820
- tags: TAGS39
137994
+ tags: TAGS40
137821
137995
  }).output(createSingleResponse(IdentitySchema));
137822
- var list37 = v2Contract.route({
137996
+ var list38 = v2Contract.route({
137823
137997
  method: "GET",
137824
137998
  path: "/system/identities",
137825
137999
  description: "List registered blockchain identities with pagination, sorting, filtering, and faceted counts.",
137826
138000
  successDescription: "Identities fetched successfully.",
137827
- tags: TAGS39
138001
+ tags: TAGS40
137828
138002
  }).input(v2Input.query(IdentityV2ListInputSchema)).output(IdentityV2ListOutputSchema);
137829
138003
  var keys = v2Contract.route({
137830
138004
  method: "GET",
137831
138005
  path: "/system/identities/{identityAddress}/keys",
137832
138006
  description: "List ERC-734 keys registered on a contract identity (typically the system organisation identity). Indexer-backed, role-gated.",
137833
138007
  successDescription: "Identity keys retrieved successfully.",
137834
- tags: TAGS39
138008
+ tags: TAGS40
137835
138009
  }).input(v2Input.paramsQuery(IdentityV2KeysParamsSchema, IdentityV2KeysInputSchema)).output(IdentityV2KeysOutputSchema);
137836
138010
  var identityDelete2 = v2Contract.route({
137837
138011
  method: "DELETE",
137838
138012
  path: "/system/wallets/{wallet}/identity",
137839
138013
  description: "Delete an identity from the system's identity registry.",
137840
138014
  successDescription: "Identity deleted successfully.",
137841
- tags: TAGS39
138015
+ tags: TAGS40
137842
138016
  }).meta({ contractErrors: [...IDENTITY_ERRORS] }).input(v2Input.paramsBody(exports_external.object({ wallet: IdentityDeleteInputSchema.shape.wallet }), IdentityDeleteInputSchema.omit({ wallet: true }))).output(createAsyncBlockchainMutationResponse(IdentityDeleteOutputSchema));
137843
138017
  var updateCountry = v2Contract.route({
137844
138018
  method: "PATCH",
137845
138019
  path: "/system/identity-countries",
137846
138020
  description: "Update the country for a registered identity.",
137847
138021
  successDescription: "Identity country updated successfully.",
137848
- tags: TAGS39
138022
+ tags: TAGS40
137849
138023
  }).meta({ contractErrors: [...IDENTITY_ERRORS] }).input(v2Input.body(IdentityUpdateCountrySchema)).output(identityMutationOutput);
137850
138024
  var registrationStatus = v2Contract.route({
137851
138025
  method: "GET",
137852
138026
  path: "/system/identity-registration-statuses",
137853
138027
  description: "Check if a user's identity needs registration in a system.",
137854
138028
  successDescription: "Registration status retrieved successfully.",
137855
- tags: TAGS39
138029
+ tags: TAGS40
137856
138030
  }).input(v2Input.query(IdentityRegistrationStatusInputSchema)).output(createSingleResponse(IdentityRegistrationStatusOutputSchema));
137857
138031
  var claimHistory = v2Contract.route({
137858
138032
  method: "GET",
137859
138033
  path: "/system/identities/{identityAddress}/claim-events",
137860
138034
  description: "List chronological claim events for an identity with pagination, sorting, filtering, and faceted counts.",
137861
138035
  successDescription: "Claim history retrieved successfully.",
137862
- tags: TAGS39
138036
+ tags: TAGS40
137863
138037
  }).input(v2Input.paramsQuery(ClaimsHistoryV2ParamsSchema, ClaimsHistoryV2InputSchema)).output(ClaimsHistoryV2OutputSchema);
137864
138038
  var claimIssue = v2Contract.route({
137865
138039
  method: "POST",
137866
138040
  path: "/system/identity-claims",
137867
138041
  description: "Issue a new claim to a user's on-chain identity.",
137868
138042
  successDescription: "Claim issued successfully.",
137869
- tags: TAGS39
138043
+ tags: TAGS40
137870
138044
  }).meta({ contractErrors: [...IDENTITY_ERRORS] }).input(v2Input.body(ClaimsIssueInputSchema)).output(createAsyncBlockchainMutationResponse(ClaimsIssueOutputSchema));
137871
138045
  var claimRevoke = v2Contract.route({
137872
138046
  method: "POST",
137873
138047
  path: "/system/identity-claim-revocations",
137874
138048
  description: "Revoke an existing claim from a user's on-chain identity.",
137875
138049
  successDescription: "Claim revoked successfully.",
137876
- tags: TAGS39
138050
+ tags: TAGS40
137877
138051
  }).meta({ contractErrors: [...IDENTITY_ERRORS] }).input(v2Input.body(ClaimsRevokeInputSchema)).output(createAsyncBlockchainMutationResponse(ClaimsRevokeOutputSchema));
137878
138052
  var identityV2ContractShape = {
137879
138053
  create: create17,
@@ -137883,7 +138057,7 @@ var identityV2ContractShape = {
137883
138057
  readById,
137884
138058
  search: search3,
137885
138059
  me: me2,
137886
- list: list37,
138060
+ list: list38,
137887
138061
  keys,
137888
138062
  delete: identityDelete2,
137889
138063
  updateCountry,
@@ -138121,62 +138295,62 @@ var RefundSplitterHistoryInputSchema = exports_external.intersection(RefundSplit
138121
138295
  limit: Math.min(input.limit, input.days)
138122
138296
  }));
138123
138297
  var RefundSplitterHistoryOutputSchema = createPaginatedResponse(RefundSplitterRunwaySnapshotSchema);
138124
- var TAGS40 = [V2_TAG.refundSplitter];
138298
+ var TAGS41 = [V2_TAG.refundSplitter];
138125
138299
  var getStatus = v2Contract.route({
138126
138300
  method: "GET",
138127
138301
  path: "/system/refund-splitter/status",
138128
138302
  description: "Get refund splitter treasury status for the current organization.",
138129
138303
  successDescription: "Refund splitter treasury status",
138130
- tags: [...TAGS40]
138304
+ tags: [...TAGS41]
138131
138305
  }).output(createSingleResponse(RefundSplitterStatusSchema));
138132
138306
  var getHistory = v2Contract.route({
138133
138307
  method: "GET",
138134
138308
  path: "/system/refund-splitter/history",
138135
138309
  description: "Get refund splitter treasury runway snapshots for the current organization.",
138136
138310
  successDescription: "Paginated refund splitter runway history",
138137
- tags: [...TAGS40]
138311
+ tags: [...TAGS41]
138138
138312
  }).input(v2Input.query(RefundSplitterHistoryInputSchema)).output(RefundSplitterHistoryOutputSchema);
138139
138313
  var setBps = v2Contract.route({
138140
138314
  method: "PUT",
138141
138315
  path: "/system/refund-splitter/bps",
138142
138316
  description: "Update the on-chain refund splitter basis-point allocation.",
138143
138317
  successDescription: "Refund splitter basis-point update queued",
138144
- tags: [...TAGS40]
138318
+ tags: [...TAGS41]
138145
138319
  }).input(v2Input.body(RefundSplitterSetBpsInputSchema)).output(createAsyncBlockchainMutationResponse(RefundSplitterStatusSchema));
138146
138320
  var setSponsorship = v2Contract.route({
138147
138321
  method: "PUT",
138148
138322
  path: "/system/refund-splitter/sponsorship",
138149
138323
  description: "Update the on-chain refund splitter sponsorship flag.",
138150
138324
  successDescription: "Refund splitter sponsorship update queued",
138151
- tags: [...TAGS40]
138325
+ tags: [...TAGS41]
138152
138326
  }).input(v2Input.body(RefundSplitterSetSponsorshipInputSchema)).output(createAsyncBlockchainMutationResponse(RefundSplitterStatusSchema));
138153
138327
  var getThresholds = v2Contract.route({
138154
138328
  method: "GET",
138155
138329
  path: "/system/refund-splitter/thresholds",
138156
138330
  description: "Get AA treasury runway warning thresholds for the current organization.",
138157
138331
  successDescription: "Refund splitter runway thresholds",
138158
- tags: [...TAGS40]
138332
+ tags: [...TAGS41]
138159
138333
  }).output(createSingleResponse(RefundSplitterThresholdsSchema));
138160
138334
  var setThresholds = v2Contract.route({
138161
138335
  method: "PUT",
138162
138336
  path: "/system/refund-splitter/thresholds",
138163
138337
  description: "Update AA treasury runway warning thresholds.",
138164
138338
  successDescription: "Refund splitter runway thresholds updated",
138165
- tags: [...TAGS40]
138339
+ tags: [...TAGS41]
138166
138340
  }).input(v2Input.body(RefundSplitterSetThresholdsInputSchema)).output(createSingleResponse(RefundSplitterThresholdsSchema));
138167
138341
  var recoverNative = v2Contract.route({
138168
138342
  method: "POST",
138169
138343
  path: "/system/refund-splitter/recover-native",
138170
138344
  description: "Recover native token balance from the refund splitter contract.",
138171
138345
  successDescription: "Native recovery queued",
138172
- tags: [...TAGS40]
138346
+ tags: [...TAGS41]
138173
138347
  }).input(v2Input.body(RefundSplitterRecoverNativeInputSchema)).output(createAsyncBlockchainMutationResponse(RefundSplitterStatusSchema));
138174
138348
  var recoverErc20 = v2Contract.route({
138175
138349
  method: "POST",
138176
138350
  path: "/system/refund-splitter/recover-erc20",
138177
138351
  description: "Recover ERC20 token balance from the refund splitter contract.",
138178
138352
  successDescription: "ERC20 recovery queued",
138179
- tags: [...TAGS40]
138353
+ tags: [...TAGS41]
138180
138354
  }).input(v2Input.body(RefundSplitterRecoverErc20InputSchema)).output(createAsyncBlockchainMutationResponse(RefundSplitterStatusSchema));
138181
138355
  var refundSplitterV2Contract = {
138182
138356
  getStatus,
@@ -138489,47 +138663,47 @@ var TokenFactoryV2ListInputSchema = createCollectionInputSchema(TOKEN_FACTORY_CO
138489
138663
  globalSearch: true
138490
138664
  });
138491
138665
  var TokenFactoryV2ListOutputSchema = createPaginatedResponse(TokenFactoryV2ItemSchema);
138492
- var TAGS41 = [V2_TAG.tokenFactory];
138666
+ var TAGS42 = [V2_TAG.tokenFactory];
138493
138667
  var FACTORY_ERRORS2 = ["DALP-4001", "DALP-4003", "DALP-4013", "DALP-4014"];
138494
- var list38 = v2Contract.route({
138668
+ var list39 = v2Contract.route({
138495
138669
  method: "GET",
138496
138670
  path: "/system/factories",
138497
138671
  description: "List all token factories. Sortable by id, name, typeId, hasTokens.",
138498
138672
  successDescription: "Paginated array of token factories with total count and faceted filter values.",
138499
- tags: [...TAGS41]
138673
+ tags: [...TAGS42]
138500
138674
  }).input(v2Input.query(TokenFactoryV2ListInputSchema)).output(TokenFactoryV2ListOutputSchema);
138501
138675
  var create18 = v2Contract.route({
138502
138676
  method: "POST",
138503
138677
  path: "/system/factories",
138504
138678
  description: "Deploy one or more token factory contracts for creating specific token types",
138505
138679
  successDescription: "Token factory deployed successfully",
138506
- tags: [...TAGS41]
138680
+ tags: [...TAGS42]
138507
138681
  }).meta({ contractErrors: [...FACTORY_ERRORS2] }).input(v2Input.body(FactoryCreateSchema)).output(createAsyncBlockchainMutationResponse(SystemSchema));
138508
- var read31 = v2Contract.route({
138682
+ var read32 = v2Contract.route({
138509
138683
  method: "GET",
138510
138684
  path: "/system/factories/{factoryAddress}",
138511
138685
  description: "Get a token factory by address",
138512
138686
  successDescription: "Token factory details",
138513
- tags: [...TAGS41]
138687
+ tags: [...TAGS42]
138514
138688
  }).input(v2Input.params(FactoryReadSchema)).output(createSingleResponse(TokenFactoryDetailSchema));
138515
138689
  var available = v2Contract.route({
138516
138690
  method: "GET",
138517
138691
  path: "/system/factory-address-availability-checks",
138518
138692
  description: "Check if a predicted access-manager address is available before deployment",
138519
138693
  successDescription: "Predicted access-manager address and availability status",
138520
- tags: [...TAGS41]
138694
+ tags: [...TAGS42]
138521
138695
  }).input(v2Input.query(AvailableInputSchema)).output(createSingleResponse(AvailableOutputSchema));
138522
138696
  var predictAccessManagerAddress = v2Contract.route({
138523
138697
  method: "POST",
138524
138698
  path: "/system/factory-address-predictions",
138525
138699
  description: "Predict the access-manager address for a token factory deployment",
138526
138700
  successDescription: "Predicted access-manager address",
138527
- tags: [...TAGS41]
138701
+ tags: [...TAGS42]
138528
138702
  }).meta({ contractErrors: [...FACTORY_ERRORS2] }).input(v2Input.body(PredictAccessManagerAddressInputSchema)).output(createSingleResponse(PredictAccessManagerAddressOutputSchema));
138529
138703
  var tokenFactoryV2Contract = {
138530
- list: list38,
138704
+ list: list39,
138531
138705
  create: create18,
138532
- read: read31,
138706
+ read: read32,
138533
138707
  available,
138534
138708
  predictAccessManagerAddress
138535
138709
  };
@@ -138570,58 +138744,58 @@ var PaymasterV2ListInputSchema = createCollectionInputSchema(PAYMASTER_COLLECTIO
138570
138744
  globalSearch: false
138571
138745
  });
138572
138746
  var PaymasterV2ListOutputSchema = createPaginatedResponse(PaymasterSchema);
138573
- var TAGS42 = [V2_TAG.paymaster];
138574
- var list39 = v2Contract.route({
138747
+ var TAGS43 = [V2_TAG.paymaster];
138748
+ var list40 = v2Contract.route({
138575
138749
  method: "GET",
138576
138750
  path: "/system/paymasters",
138577
138751
  description: "List all paymasters for the current system",
138578
138752
  successDescription: "List of paymasters",
138579
- tags: [...TAGS42]
138753
+ tags: [...TAGS43]
138580
138754
  }).input(v2Input.query(PaymasterV2ListInputSchema)).output(PaymasterV2ListOutputSchema);
138581
138755
  var balance2 = v2Contract.route({
138582
138756
  method: "GET",
138583
138757
  path: "/system/paymasters/{address}/balance",
138584
138758
  description: "Get the EntryPoint deposit balance for a paymaster",
138585
138759
  successDescription: "Paymaster balance",
138586
- tags: [...TAGS42]
138760
+ tags: [...TAGS43]
138587
138761
  }).input(v2Input.params(PaymasterAddressParamsSchema)).output(createSingleResponse(PaymasterBalanceSchema));
138588
138762
  var deposit = v2Contract.route({
138589
138763
  method: "POST",
138590
138764
  path: "/system/paymasters/{address}/deposits",
138591
138765
  description: "Fund a paymaster's EntryPoint deposit",
138592
138766
  successDescription: "Deposit initiated",
138593
- tags: [...TAGS42]
138767
+ tags: [...TAGS43]
138594
138768
  }).input(v2Input.paramsBody(PaymasterAddressParamsSchema, PaymasterDepositInputSchema)).output(createAsyncBlockchainMutationResponse(PaymasterBalanceSchema));
138595
138769
  var rotateSignerKey = v2Contract.route({
138596
138770
  method: "POST",
138597
138771
  path: "/system/paymasters/{address}/signer-key/rotate",
138598
138772
  description: "Rotate the sponsorship ticket signing key for one sponsorship paymaster. " + "Updates that paymaster via setSigner() and then persists the new paymaster-scoped key in secrets. " + "The on-chain signer switches immediately — in-flight UserOps signed with the old key will be rejected.",
138599
138773
  successDescription: "Signing key rotated successfully.",
138600
- tags: [...TAGS42]
138774
+ tags: [...TAGS43]
138601
138775
  }).input(v2Input.paramsBody(PaymasterAddressParamsSchema, MutationInputSchema)).output(createAsyncBlockchainMutationResponse(PaymasterSignerKeyRotationSchema));
138602
138776
  var signerKeyStatus = v2Contract.route({
138603
138777
  method: "GET",
138604
138778
  path: "/system/paymasters/{address}/signer-key/status",
138605
138779
  description: "Get the signer key rotation status for a paymaster",
138606
138780
  successDescription: "Signer key status",
138607
- tags: [...TAGS42]
138781
+ tags: [...TAGS43]
138608
138782
  }).input(v2Input.params(PaymasterAddressParamsSchema)).output(createSingleResponse(PaymasterSignerKeyStatusSchema));
138609
138783
  var getConfig = v2Contract.route({
138610
138784
  method: "GET",
138611
138785
  path: "/system/paymasters/config",
138612
138786
  description: "Read the org-level paymaster configuration (sponsorship toggle and any future knobs). " + "Available to any authenticated org member; mutation is gated separately by setConfig.",
138613
138787
  successDescription: "Current paymaster configuration",
138614
- tags: [...TAGS42]
138788
+ tags: [...TAGS43]
138615
138789
  }).output(createSingleResponse(PaymasterConfigSchema));
138616
138790
  var setConfig = v2Contract.route({
138617
138791
  method: "PUT",
138618
138792
  path: "/system/paymasters/config",
138619
138793
  description: "Update the org-level paymaster configuration. Toggles whether AA user operations attach " + "paymaster sponsorship for this organization. Restricted to on-chain admin / systemManager / " + "gasManager roles — same boundary as paymaster deposit and signer-key rotation.",
138620
138794
  successDescription: "Updated paymaster configuration",
138621
- tags: [...TAGS42]
138795
+ tags: [...TAGS43]
138622
138796
  }).input(v2Input.body(PaymasterConfigSchema)).output(createSingleResponse(PaymasterConfigSchema));
138623
138797
  var paymasterV2Contract = {
138624
- list: list39,
138798
+ list: list40,
138625
138799
  balance: balance2,
138626
138800
  deposit,
138627
138801
  rotateSignerKey,
@@ -138672,14 +138846,14 @@ var TrustedIssuerTopicsV2ListInputSchema = createCollectionInputSchema(TRUSTED_I
138672
138846
  });
138673
138847
  var TrustedIssuerTopicsV2ListOutputSchema = createPaginatedResponse(TrustedIssuerTopicSchema);
138674
138848
  var TRUSTED_ISSUER_ERRORS = ["DALP-4001", "DALP-4003"];
138675
- var list40 = v2Contract.route({
138849
+ var list41 = v2Contract.route({
138676
138850
  method: "GET",
138677
138851
  path: "/system/trusted-issuers",
138678
138852
  description: "List trusted claim issuers registered in the on-chain trusted issuers registry. Sortable by id.",
138679
138853
  successDescription: "Paginated array of trusted issuers with total count and faceted filter values.",
138680
138854
  tags: [V2_TAG.trustedIssuers]
138681
138855
  }).input(v2Input.query(TrustedIssuersV2ListInputSchema)).output(TrustedIssuersV2ListOutputSchema);
138682
- var read32 = v2Contract.route({
138856
+ var read33 = v2Contract.route({
138683
138857
  method: "GET",
138684
138858
  path: "/system/trusted-issuers/{issuerAddress}",
138685
138859
  description: "Get details for a trusted issuer by identity address.",
@@ -138736,8 +138910,8 @@ var removeClaimTopic = v2Contract.route({
138736
138910
  tags: [V2_TAG.trustedIssuers]
138737
138911
  }).meta({ contractErrors: [...TRUSTED_ISSUER_ERRORS] }).input(v2Input.paramsBody(TrustedIssuerClaimTopicMutationParamsSchema, TrustedIssuerClaimTopicMutationBodySchema)).output(createAsyncBlockchainMutationResponse(TrustedIssuerClaimTopicMutationOutputSchema));
138738
138912
  var trustedIssuersV2Contract = {
138739
- list: list40,
138740
- read: read32,
138913
+ list: list41,
138914
+ read: read33,
138741
138915
  create: create19,
138742
138916
  update: update9,
138743
138917
  upsert: upsert5,
@@ -138867,7 +139041,7 @@ var TokenDocumentsV2ListItemSchema = exports_external.object({
138867
139041
  thumbnailUrl: exports_external.string().nullable()
138868
139042
  });
138869
139043
  var TokenDocumentsV2ListOutputSchema = createPaginatedResponse(TokenDocumentsV2ListItemSchema);
138870
- var list41 = v2Contract.route({
139044
+ var list42 = v2Contract.route({
138871
139045
  method: "GET",
138872
139046
  path: "/tokens/{tokenAddress}/documents",
138873
139047
  description: "List documents for a token with pagination, sorting, and filtering. Sortable by fileName, documentType, visibility, fileSize, uploadedAt.",
@@ -138903,7 +139077,7 @@ var getDownloadUrl2 = v2Contract.route({
138903
139077
  tags: [V2_TAG.tokenDocuments]
138904
139078
  }).input(v2Input.params(TokenDocumentGetDownloadUrlInputSchema)).output(createSingleResponse(TokenDocumentGetDownloadUrlOutputSchema));
138905
139079
  var tokenV2DocumentsContract = {
138906
- list: list41,
139080
+ list: list42,
138907
139081
  delete: del11,
138908
139082
  getUploadUrl: getUploadUrl2,
138909
139083
  confirmUpload,
@@ -141787,7 +141961,7 @@ var VotingPowerSnapshotWeightV2ItemSchema = exports_external.object({
141787
141961
  asOfLogIndex: exports_external.number().int().nonnegative()
141788
141962
  });
141789
141963
  var VotingPowerSnapshotWeightsV2OutputSchema = createPaginatedResponse(VotingPowerSnapshotWeightV2ItemSchema);
141790
- var read33 = v2Contract.route({
141964
+ var read34 = v2Contract.route({
141791
141965
  method: "GET",
141792
141966
  path: "/tokens/{tokenAddress}",
141793
141967
  description: "Get a token by address.",
@@ -142103,7 +142277,7 @@ var treasuryHealth = v2Contract.route({
142103
142277
  tags: [V2_TAG.token]
142104
142278
  }).input(v2Input.params(TreasuryHealthInputSchema)).output(createSingleResponse(TreasuryHealthResponseSchema));
142105
142279
  var tokenV2ReadsContract = {
142106
- read: read33,
142280
+ read: read34,
142107
142281
  allowance,
142108
142282
  recipientEligibility,
142109
142283
  transferSimulate,
@@ -142323,7 +142497,7 @@ var TokenTopicSchemeDeleteOutputSchema = BaseMutationOutputSchema.extend({
142323
142497
  });
142324
142498
  var TOKEN_TOPIC_SCHEME_CREATE_ERRORS = ["DALP-4001", "DALP-4003", "DALP-4319"];
142325
142499
  var TOKEN_TOPIC_SCHEME_DELETE_ERRORS = ["DALP-4001", "DALP-4003", "DALP-4320", "DALP-4321"];
142326
- var list42 = v2Contract.route({
142500
+ var list43 = v2Contract.route({
142327
142501
  method: "GET",
142328
142502
  path: "/tokens/{tokenAddress}/topic-schemes",
142329
142503
  description: "List the resolved token → system → global topic-scheme chain for a token, each row annotated with its inheritance level. Supports `?filter[q]=` global search across name, signature, and topicId, and `?filter[source]=` by chain tier.",
@@ -142345,7 +142519,7 @@ var del12 = v2Contract.route({
142345
142519
  tags: [V2_TAG.claimTopics]
142346
142520
  }).meta({ contractErrors: [...TOKEN_TOPIC_SCHEME_DELETE_ERRORS] }).input(v2Input.paramsBody(exports_external.object({ ...TokenReadInputSchema.shape, ...TokenTopicSchemeDeleteParamsSchema.shape }), TokenTopicSchemeDeleteInputSchema)).output(createAsyncBlockchainMutationResponse(TokenTopicSchemeDeleteOutputSchema));
142347
142521
  var tokenV2TopicSchemesContract = {
142348
- list: list42,
142522
+ list: list43,
142349
142523
  create: create21,
142350
142524
  delete: del12
142351
142525
  };
@@ -142447,7 +142621,7 @@ var TokenTrustedIssuerDeleteOutputSchema = BaseMutationOutputSchema.extend({
142447
142621
  });
142448
142622
  var TOKEN_TRUSTED_ISSUER_CREATE_ERRORS = ["DALP-4001", "DALP-4003", "DALP-4214"];
142449
142623
  var TOKEN_TRUSTED_ISSUER_DELETE_ERRORS = ["DALP-4001", "DALP-4003"];
142450
- var list43 = v2Contract.route({
142624
+ var list44 = v2Contract.route({
142451
142625
  method: "GET",
142452
142626
  path: "/tokens/{tokenAddress}/trusted-issuers",
142453
142627
  description: "List the resolved token → system → global trusted-issuer chain for a token, each row annotated with its inheritance level and the claim topics it is trusted for. Supports `?filter[q]=` global search across the issuer account address and `?filter[source]=` by chain tier.",
@@ -142469,7 +142643,7 @@ var del13 = v2Contract.route({
142469
142643
  tags: [V2_TAG.trustedIssuers]
142470
142644
  }).meta({ contractErrors: [...TOKEN_TRUSTED_ISSUER_DELETE_ERRORS] }).input(v2Input.paramsBody(exports_external.object({ ...TokenReadInputSchema.shape, ...TokenTrustedIssuerDeleteParamsSchema.shape }), TokenTrustedIssuerDeleteInputSchema)).output(createAsyncBlockchainMutationResponse(TokenTrustedIssuerDeleteOutputSchema));
142471
142645
  var tokenV2TrustedIssuersContract = {
142472
- list: list43,
142646
+ list: list44,
142473
142647
  create: create222,
142474
142648
  delete: del13
142475
142649
  };
@@ -142940,7 +143114,7 @@ var AttachedTokenFeatureSchema = exports_external.discriminatedUnion("name", [
142940
143114
  })
142941
143115
  ]);
142942
143116
  var TokenFeaturesV2ListOutputSchema = createPaginatedResponse(AttachedTokenFeatureSchema);
142943
- var TAGS43 = [V2_TAG.token];
143117
+ var TAGS44 = [V2_TAG.token];
142944
143118
  var mutationOutput11 = createAsyncBlockchainMutationResponse(TokenSchema);
142945
143119
  var TokenFeatureNameParamsSchema = TokenReadInputSchema.extend({
142946
143120
  name: tokenFeatureIdSchema.meta({
@@ -142953,38 +143127,38 @@ var attach = v2Contract.route({
142953
143127
  path: "/tokens/{tokenAddress}/features",
142954
143128
  description: "Deploy and attach a feature to a CONFIGURABLE token via the matching feature factory. The `name` field in the body selects the factory; the remaining fields are the factory's configuration parameters. Rejects attach when the feature is already attached or when an incompatible feature pair would result.",
142955
143129
  successDescription: "Feature deployed and attached successfully.",
142956
- tags: [...TAGS43]
143130
+ tags: [...TAGS44]
142957
143131
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenFeatureAttachBodySchema)).output(mutationOutput11);
142958
- var list44 = v2Contract.route({
143132
+ var list45 = v2Contract.route({
142959
143133
  method: "GET",
142960
143134
  path: "/tokens/{tokenAddress}/features",
142961
143135
  description: "List the currently-attached feature instances for a token. Each row carries the feature type identifier, the deployed contract address, and the current on-chain configuration snapshot.",
142962
143136
  successDescription: "Paginated array of attached feature instances.",
142963
- tags: [...TAGS43]
143137
+ tags: [...TAGS44]
142964
143138
  }).input(v2Input.paramsQuery(TokenReadInputSchema, TokenFeaturesV2ListInputSchema)).output(TokenFeaturesV2ListOutputSchema);
142965
143139
  var detach = v2Contract.route({
142966
143140
  method: "DELETE",
142967
143141
  path: "/tokens/{tokenAddress}/features/{name}",
142968
143142
  description: "Detach the live instance of the given feature from a CONFIGURABLE token via ISMARTConfigurable.setFeatures. The indexer preserves the row with a detached_at timestamp for historical lookups. For the permit feature, in-flight signatures are invalidated on detach.",
142969
143143
  successDescription: "Feature detached successfully.",
142970
- tags: [...TAGS43]
143144
+ tags: [...TAGS44]
142971
143145
  }).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-0632"] }).input(v2Input.paramsBody(TokenFeatureNameParamsSchema, TokenFeatureDetachBodySchema)).output(mutationOutput11);
142972
143146
  var rotate = v2Contract.route({
142973
143147
  method: "PUT",
142974
143148
  path: "/tokens/{tokenAddress}/features/{name}",
142975
143149
  description: "Deploy a new instance of the given feature and swap it in for the currently-attached one via ISMARTConfigurable.setFeatures. The `name` field in the body must match the `name` path parameter — the path identifies the REST resource and the body discriminates the factory; the handler enforces equality. Mirrors the attach flow but replaces the existing feature address rather than appending.",
142976
143150
  successDescription: "Feature rotated successfully.",
142977
- tags: [...TAGS43]
143151
+ tags: [...TAGS44]
142978
143152
  }).meta({
142979
143153
  contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-0632"]
142980
143154
  }).input(v2Input.paramsBody(TokenFeatureNameParamsSchema, TokenFeatureAttachBodySchema)).output(mutationOutput11);
142981
143155
  var tokenV2FeaturesContract = {
142982
143156
  attach,
142983
- list: list44,
143157
+ list: list45,
142984
143158
  detach,
142985
143159
  rotate
142986
143160
  };
142987
- var list45 = v2Contract.route({
143161
+ var list46 = v2Contract.route({
142988
143162
  method: "GET",
142989
143163
  path: "/tokens",
142990
143164
  description: "List deployed tokens visible to the authenticated user, optionally filtered by tokenFactory address. Sortable by name, symbol, decimals, createdAt.",
@@ -142992,7 +143166,7 @@ var list45 = v2Contract.route({
142992
143166
  tags: [V2_TAG.token]
142993
143167
  }).input(v2Input.query(TokenV2ListInputSchema)).output(TokenV2ListOutputSchema);
142994
143168
  var tokenV2Contract = {
142995
- list: list45,
143169
+ list: list46,
142996
143170
  ...tokenV2ReadsContract,
142997
143171
  ...tokenV2MutationsContract,
142998
143172
  ...tokenV2StatsContract,
@@ -143219,7 +143393,7 @@ var TransactionV2StatusInputSchema = TransactionStatusInputSchema;
143219
143393
  var TransactionV2StatusOutputSchema = createSingleResponse(TransactionStatusOutputSchema);
143220
143394
  var TransactionV2StatusStreamInputSchema = TransactionStatusInputSchema;
143221
143395
  var TransactionV2StatusStreamOutputSchema = eventIterator(TransactionStatusOutputSchema);
143222
- var read34 = v2Contract.route({
143396
+ var read35 = v2Contract.route({
143223
143397
  method: "GET",
143224
143398
  path: "/blockchain-transactions/{transactionHash}",
143225
143399
  description: "Get transaction details by hash including receipt data. Receipt is null for pending transactions.",
@@ -143240,7 +143414,7 @@ var statusStream = v2Contract.route({
143240
143414
  successDescription: "Streaming transaction status events delivered as server-sent events.",
143241
143415
  tags: [V2_TAG.transaction]
143242
143416
  }).input(v2Input.params(TransactionV2StatusStreamInputSchema)).output(TransactionV2StatusStreamOutputSchema);
143243
- var list46 = v2Contract.route({
143417
+ var list47 = v2Contract.route({
143244
143418
  method: "GET",
143245
143419
  path: "/transaction-requests",
143246
143420
  description: "List transaction queue entries with optional filtering by status, sender address, chain ID, and date range. Supports sorting and offset pagination.",
@@ -143276,10 +143450,10 @@ var forceNonce = v2Contract.route({
143276
143450
  tags: [V2_TAG.transactionAdmin]
143277
143451
  }).input(v2Input.paramsBody(TransactionForceNonceInputSchema, TransactionForceNonceBodySchema)).output(TransactionV2ForceNonceOutputSchema);
143278
143452
  var transactionV2Contract = {
143279
- read: read34,
143453
+ read: read35,
143280
143454
  status: status5,
143281
143455
  statusStream,
143282
- list: list46,
143456
+ list: list47,
143283
143457
  cancel: cancel4,
143284
143458
  forceRetry,
143285
143459
  forceFail,
@@ -143770,7 +143944,7 @@ var kycV2Contract = {
143770
143944
  },
143771
143945
  actionRequest: { fulfill: actionRequestFulfill }
143772
143946
  };
143773
- var list47 = v2Contract.route({
143947
+ var list48 = v2Contract.route({
143774
143948
  method: "GET",
143775
143949
  path: "/users",
143776
143950
  description: "List all users in the current organization. Sortable by createdAt, name, email, wallet.",
@@ -143926,7 +144100,7 @@ var adminTriggerPasswordReset2 = v2Contract.route({
143926
144100
  tags: [V2_TAG.userAdmin]
143927
144101
  }).input(v2Input.params(UserAdminInputSchema)).output(createSingleResponse(AdminMutationOutputSchema));
143928
144102
  var userV2Contract = {
143929
- list: list47,
144103
+ list: list48,
143930
144104
  events: events3,
143931
144105
  me: me3,
143932
144106
  update: update11,
@@ -144218,115 +144392,115 @@ var WebhooksV2UpdateInputSchema = exports_external.object({
144218
144392
  query: WebhooksV2UpdateQuerySchema
144219
144393
  });
144220
144394
  var WebhooksV2UpdateOutputSchema = createSingleResponse(WebhookEndpointSchema);
144221
- var TAGS44 = [V2_TAG.webhooks];
144222
- var list48 = v2Contract.route({
144395
+ var TAGS45 = [V2_TAG.webhooks];
144396
+ var list49 = v2Contract.route({
144223
144397
  method: "GET",
144224
144398
  path: "/webhooks",
144225
144399
  description: "List webhook endpoints in the active tenant scope.",
144226
144400
  successDescription: "Paginated webhook endpoint list.",
144227
- tags: TAGS44
144401
+ tags: TAGS45
144228
144402
  }).input(v2Input.query(WebhooksV2ListInputSchema)).output(WebhooksV2ListOutputSchema);
144229
- var read35 = v2Contract.route({
144403
+ var read36 = v2Contract.route({
144230
144404
  method: "GET",
144231
144405
  path: "/webhooks/{id}",
144232
144406
  description: "Read webhook endpoint metadata. Signing secrets are never returned after creation or rotation.",
144233
144407
  successDescription: "Webhook endpoint metadata returned.",
144234
- tags: TAGS44
144408
+ tags: TAGS45
144235
144409
  }).input(v2Input.params(WebhooksV2ReadInputSchema)).output(WebhooksV2ReadOutputSchema);
144236
144410
  var create24 = v2Contract.route({
144237
144411
  method: "POST",
144238
144412
  path: "/webhooks",
144239
144413
  description: "Create a webhook endpoint and reveal the initial signing secret once.",
144240
144414
  successDescription: "Webhook endpoint created.",
144241
- tags: TAGS44
144415
+ tags: TAGS45
144242
144416
  }).input(v2Input.body(WebhooksV2CreateInputSchema)).output(WebhooksV2CreateOutputSchema);
144243
144417
  var update12 = v2Contract.route({
144244
144418
  method: "PATCH",
144245
144419
  path: "/webhooks/{id}",
144246
144420
  description: "Update webhook endpoint metadata, URL, subscriptions, or delivery settings.",
144247
144421
  successDescription: "Webhook endpoint updated.",
144248
- tags: TAGS44
144422
+ tags: TAGS45
144249
144423
  }).input(v2Input.paramsBodyQuery(WebhooksV2UpdateParamsSchema, WebhooksV2UpdateBodySchema, WebhooksV2UpdateQuerySchema)).output(WebhooksV2UpdateOutputSchema);
144250
144424
  var del14 = v2Contract.route({
144251
144425
  method: "DELETE",
144252
144426
  path: "/webhooks/{id}",
144253
144427
  description: "Disable a webhook endpoint. Historical outbox rows remain for audit.",
144254
144428
  successDescription: "Webhook endpoint disabled.",
144255
- tags: TAGS44
144429
+ tags: TAGS45
144256
144430
  }).input(v2Input.params(WebhooksV2DeleteInputSchema)).output(WebhooksV2DeleteOutputSchema);
144257
144431
  var testEvents = v2Contract.route({
144258
144432
  method: "POST",
144259
144433
  path: "/webhooks/{id}/test-events",
144260
144434
  description: "Enqueue a synthetic webhook event tagged as a test event.",
144261
144435
  successDescription: "Test event enqueued.",
144262
- tags: TAGS44
144436
+ tags: TAGS45
144263
144437
  }).input(v2Input.paramsBody(WebhooksV2TestEventParamsSchema, WebhooksV2TestEventBodySchema)).output(WebhooksV2TestEventOutputSchema);
144264
144438
  var deliveriesList = v2Contract.route({
144265
144439
  method: "GET",
144266
144440
  path: "/webhooks/{id}/deliveries",
144267
144441
  description: "List delivery attempts for a webhook endpoint.",
144268
144442
  successDescription: "Paginated delivery attempt list.",
144269
- tags: TAGS44
144443
+ tags: TAGS45
144270
144444
  }).input(v2Input.paramsQuery(WebhooksV2DeliveriesListParamsSchema, WebhooksV2DeliveriesListInputSchema)).output(WebhooksV2DeliveriesListOutputSchema);
144271
144445
  var deliveriesRead = v2Contract.route({
144272
144446
  method: "GET",
144273
144447
  path: "/webhooks/{id}/deliveries/{deliveryId}",
144274
144448
  description: "Read one webhook delivery attempt with request and response debug details.",
144275
144449
  successDescription: "Delivery attempt details returned.",
144276
- tags: TAGS44
144450
+ tags: TAGS45
144277
144451
  }).input(v2Input.params(WebhooksV2DeliveriesReadInputSchema)).output(WebhooksV2DeliveriesReadOutputSchema);
144278
144452
  var deliveriesRetry = v2Contract.route({
144279
144453
  method: "POST",
144280
144454
  path: "/webhooks/{id}/deliveries/{deliveryId}/retries",
144281
144455
  description: "Schedule a manual retry for one webhook delivery event.",
144282
144456
  successDescription: "Delivery retry scheduled.",
144283
- tags: TAGS44
144457
+ tags: TAGS45
144284
144458
  }).input(v2Input.params(WebhooksV2DeliveriesRetryInputSchema)).output(WebhooksV2DeliveriesRetryOutputSchema);
144285
144459
  var replays = v2Contract.route({
144286
144460
  method: "POST",
144287
144461
  path: "/webhooks/{id}/replays",
144288
144462
  description: "Replay historical webhook events by block range or event id.",
144289
144463
  successDescription: "Replay request accepted.",
144290
- tags: TAGS44
144464
+ tags: TAGS45
144291
144465
  }).input(v2Input.paramsBody(WebhooksV2ReplaysParamsSchema, WebhooksV2ReplaysBodySchema)).output(WebhooksV2ReplaysOutputSchema);
144292
144466
  var recall = v2Contract.route({
144293
144467
  method: "POST",
144294
144468
  path: "/webhooks/events/{evtId}/recall",
144295
144469
  description: "Recall a webhook event. Requires the compliance_recall organization capability.",
144296
144470
  successDescription: "Recall event enqueued.",
144297
- tags: TAGS44
144471
+ tags: TAGS45
144298
144472
  }).input(v2Input.paramsBody(WebhooksV2RecallsParamsSchema, WebhooksV2RecallsBodySchema)).output(WebhooksV2RecallsOutputSchema);
144299
144473
  var chainOfCustody = v2Contract.route({
144300
144474
  method: "GET",
144301
144475
  path: "/webhooks/events/{evtId}/chain-of-custody",
144302
144476
  description: "Return DALP's hop hashes, Merkle root, and platform signature for a webhook event.",
144303
144477
  successDescription: "Chain-of-custody proof returned.",
144304
- tags: TAGS44
144478
+ tags: TAGS45
144305
144479
  }).input(v2Input.params(WebhooksV2ChainOfCustodyInputSchema)).output(WebhooksV2ChainOfCustodyOutputSchema);
144306
144480
  var rotateSecret2 = v2Contract.route({
144307
144481
  method: "POST",
144308
144482
  path: "/webhooks/{id}/rotate-secret",
144309
144483
  description: "Rotate a webhook endpoint signing secret with a 24 hour previous-secret overlap.",
144310
144484
  successDescription: "Signing secret rotated and revealed once.",
144311
- tags: TAGS44
144485
+ tags: TAGS45
144312
144486
  }).input(v2Input.params(WebhooksV2RotateSecretInputSchema)).output(WebhooksV2RotateSecretOutputSchema);
144313
144487
  var revokeSecret = v2Contract.route({
144314
144488
  method: "POST",
144315
144489
  path: "/webhooks/{id}/revoke-previous-secret",
144316
144490
  description: "Revoke the previous signing secret immediately, ending the 24h rotation overlap. Requires that at least one delivery has already been observed under the new secret (`isSafeToRevokePreviousSecret`).",
144317
144491
  successDescription: "Previous signing secret revoked.",
144318
- tags: TAGS44
144492
+ tags: TAGS45
144319
144493
  }).input(v2Input.params(WebhooksV2RevokeSecretInputSchema)).output(WebhooksV2RevokeSecretOutputSchema);
144320
144494
  var stats5 = v2Contract.route({
144321
144495
  method: "GET",
144322
144496
  path: "/webhooks/stats",
144323
144497
  description: "Aggregate webhook delivery stats for the last 24h. Tenant-wide by default; pass `endpointId` to scope to one endpoint.",
144324
144498
  successDescription: "Aggregate webhook delivery stats returned.",
144325
- tags: TAGS44
144499
+ tags: TAGS45
144326
144500
  }).input(v2Input.query(WebhooksV2StatsInputSchema)).output(WebhooksV2StatsOutputSchema);
144327
144501
  var webhooksV2Contract = {
144328
- list: list48,
144329
- read: read35,
144502
+ list: list49,
144503
+ read: read36,
144330
144504
  create: create24,
144331
144505
  update: update12,
144332
144506
  delete: del14,
@@ -144380,31 +144554,31 @@ var WebhookReceiptsV2ReadInputSchema = exports_external.object({
144380
144554
  id: exports_external.uuid()
144381
144555
  });
144382
144556
  var WebhookReceiptsV2ReadOutputSchema = createSingleResponse(WebhookReceiptSchema);
144383
- var TAGS45 = [V2_TAG.webhooks];
144384
- var list49 = v2Contract.route({
144557
+ var TAGS46 = [V2_TAG.webhooks];
144558
+ var list50 = v2Contract.route({
144385
144559
  method: "GET",
144386
144560
  path: "/webhook-receipts",
144387
144561
  description: "List counter-signed webhook receipts in the active tenant scope.",
144388
144562
  successDescription: "Paginated webhook receipt list.",
144389
- tags: TAGS45
144563
+ tags: TAGS46
144390
144564
  }).input(v2Input.query(WebhookReceiptsV2ListInputSchema)).output(WebhookReceiptsV2ListOutputSchema);
144391
- var read36 = v2Contract.route({
144565
+ var read37 = v2Contract.route({
144392
144566
  method: "GET",
144393
144567
  path: "/webhook-receipts/{id}",
144394
144568
  description: "Read one webhook receipt.",
144395
144569
  successDescription: "Webhook receipt returned.",
144396
- tags: TAGS45
144570
+ tags: TAGS46
144397
144571
  }).input(v2Input.params(WebhookReceiptsV2ReadInputSchema)).output(WebhookReceiptsV2ReadOutputSchema);
144398
144572
  var create25 = v2Contract.route({
144399
144573
  method: "POST",
144400
144574
  path: "/webhook-receipts",
144401
144575
  description: "Submit a consumer counter-signed webhook receipt.",
144402
144576
  successDescription: "Webhook receipt accepted.",
144403
- tags: TAGS45
144577
+ tags: TAGS46
144404
144578
  }).input(v2Input.body(WebhookReceiptsV2CreateInputSchema)).output(WebhookReceiptsV2CreateOutputSchema);
144405
144579
  var webhookReceiptsV2Contract = {
144406
- list: list49,
144407
- read: read36,
144580
+ list: list50,
144581
+ read: read37,
144408
144582
  create: create25
144409
144583
  };
144410
144584
  var v2Contract2 = {
@@ -144658,7 +144832,7 @@ function normalizeDalpBaseUrl(url2) {
144658
144832
  }
144659
144833
  var package_default = {
144660
144834
  name: "@settlemint/dalp-sdk",
144661
- version: "3.0.7-main.28442722030",
144835
+ version: "3.0.7-main.28445337912",
144662
144836
  private: false,
144663
144837
  description: "Fully typed SDK for the DALP tokenization platform API",
144664
144838
  homepage: "https://settlemint.com",
@@ -145841,6 +146015,9 @@ var DAPI_ROUTE_ERROR_IDS = {
145841
146015
  "DALP-0678": "DALP-0678",
145842
146016
  "DALP-0679": "DALP-0679",
145843
146017
  "DALP-0680": "DALP-0680",
146018
+ "DALP-0683": "DALP-0683",
146019
+ "DALP-0684": "DALP-0684",
146020
+ "DALP-0685": "DALP-0685",
145844
146021
  "DALP-9070": "DALP-9070",
145845
146022
  "DALP-9071": "DALP-9071",
145846
146023
  "DALP-9072": "DALP-9072",
@@ -145904,7 +146081,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
145904
146081
  // package.json
145905
146082
  var package_default2 = {
145906
146083
  name: "@settlemint/dalp-cli",
145907
- version: "3.0.7-main.28442722030",
146084
+ version: "3.0.7-main.28445337912",
145908
146085
  private: false,
145909
146086
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
145910
146087
  homepage: "https://settlemint.com",
@@ -146411,6 +146588,27 @@ adminCommand.command("platform-setup-complete", {
146411
146588
  }
146412
146589
  });
146413
146590
 
146591
+ // src/commands/airdrops.ts
146592
+ var airdropsCommand = exports_Cli.create("airdrops", {
146593
+ description: "Airdrop read operations",
146594
+ vars: cliVars
146595
+ });
146596
+ airdropsCommand.command("list", {
146597
+ description: "List airdrop instances (push / time-bound / vesting)",
146598
+ run(c) {
146599
+ return c.var.orpc.addons.airdrop.list({ query: {} });
146600
+ }
146601
+ });
146602
+ airdropsCommand.command("read", {
146603
+ description: "Read airdrop instance details",
146604
+ args: exports_external.object({ address: exports_external.string().describe("Airdrop instance address") }),
146605
+ run(c) {
146606
+ return c.var.orpc.addons.airdrop.read({
146607
+ params: { airdropAddress: c.args.address }
146608
+ });
146609
+ }
146610
+ });
146611
+
146414
146612
  // ../../packages/core/validation/src/asset-types.ts
146415
146613
  var assetTypes2 = ["bond", "equity", "fund", "stablecoin", "deposit", "real-estate", "precious-metal"];
146416
146614
  var assetFactoryTypeIds2 = [
@@ -163972,6 +164170,90 @@ var ENTRIES_INDEX2 = {
163972
164170
  owner: "dapi",
163973
164171
  orpcCode: "SETTINGS_COMPLIANCE_LEGACY_TEMPLATES_DISABLED"
163974
164172
  },
164173
+ "DALP-0683": {
164174
+ id: "DALP-0683",
164175
+ kind: "route",
164176
+ category: "domain",
164177
+ status: 404,
164178
+ retryable: false,
164179
+ expectedClientError: true,
164180
+ public: {
164181
+ message: "No airdrop addon is deployed in this system",
164182
+ why: "Listing or reading airdrops needs at least one airdrop factory registered in the active system, and this system has none.",
164183
+ fix: "Deploy an airdrop addon for this system, then retry the request."
164184
+ },
164185
+ observability: {
164186
+ severity: "info",
164187
+ otelEventName: "dapi.error",
164188
+ metricAttributeKey: "dapi.error.id",
164189
+ dimensions: [
164190
+ "error.id",
164191
+ "error.category",
164192
+ "surface",
164193
+ "route",
164194
+ "status_class",
164195
+ "retryable"
164196
+ ]
164197
+ },
164198
+ owner: "dapi",
164199
+ orpcCode: "AIRDROP_ADDON_NOT_FOUND"
164200
+ },
164201
+ "DALP-0684": {
164202
+ id: "DALP-0684",
164203
+ kind: "route",
164204
+ category: "client",
164205
+ status: 404,
164206
+ retryable: false,
164207
+ expectedClientError: true,
164208
+ public: {
164209
+ message: "The requested airdrop was not found",
164210
+ why: "No airdrop at the requested address has been indexed for the active chain, so there is nothing to return.",
164211
+ fix: "Confirm the airdrop address and that it has been deployed and indexed, then retry."
164212
+ },
164213
+ observability: {
164214
+ severity: "info",
164215
+ otelEventName: "dapi.error",
164216
+ metricAttributeKey: "dapi.error.id",
164217
+ dimensions: [
164218
+ "error.id",
164219
+ "error.category",
164220
+ "surface",
164221
+ "route",
164222
+ "status_class",
164223
+ "retryable"
164224
+ ]
164225
+ },
164226
+ owner: "dapi",
164227
+ orpcCode: "AIRDROP_NOT_FOUND_INDEXER"
164228
+ },
164229
+ "DALP-0685": {
164230
+ id: "DALP-0685",
164231
+ kind: "route",
164232
+ category: "domain",
164233
+ status: 404,
164234
+ retryable: false,
164235
+ expectedClientError: true,
164236
+ public: {
164237
+ message: "The requested airdrop belongs to another system",
164238
+ why: "The airdrop at this address was deployed under a different system than the active one, so this endpoint does not return it.",
164239
+ fix: "Read this airdrop from the system that owns it, or pick an airdrop deployed in the active system."
164240
+ },
164241
+ observability: {
164242
+ severity: "info",
164243
+ otelEventName: "dapi.error",
164244
+ metricAttributeKey: "dapi.error.id",
164245
+ dimensions: [
164246
+ "error.id",
164247
+ "error.category",
164248
+ "surface",
164249
+ "route",
164250
+ "status_class",
164251
+ "retryable"
164252
+ ]
164253
+ },
164254
+ owner: "dapi",
164255
+ orpcCode: "AIRDROP_NOT_IN_OWNER_SCOPE"
164256
+ },
163975
164257
  "DALP-1001": {
163976
164258
  id: "DALP-1001",
163977
164259
  kind: "contract",
@@ -189589,6 +189871,9 @@ var DALP_ERROR_TYPED_FIELD_NAMES2 = {
189589
189871
  "DALP-0678": [],
189590
189872
  "DALP-0679": [],
189591
189873
  "DALP-0680": [],
189874
+ "DALP-0683": [],
189875
+ "DALP-0684": [],
189876
+ "DALP-0685": [],
189592
189877
  "DALP-1001": [
189593
189878
  "args",
189594
189879
  "correlationId",
@@ -199667,6 +199952,9 @@ var DALP_ERROR_DATA_SCHEMA_BY_ID2 = {
199667
199952
  "DALP-0678": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
199668
199953
  "DALP-0679": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
199669
199954
  "DALP-0680": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
199955
+ "DALP-0683": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
199956
+ "DALP-0684": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
199957
+ "DALP-0685": DALP_ORPC_ERROR_DATA_WIRE_SCHEMA2,
199670
199958
  "DALP-1001": DALP_ORPC_ERROR_DATA_BASE_SCHEMA2.extend({
199671
199959
  args: exports_external.record(exports_external.string(), exports_external.string()),
199672
199960
  correlationId: exports_external.string(),
@@ -217303,7 +217591,7 @@ Fix: Run 'dalp login' against the DALP instance you want to manage, then retry t
217303
217591
  c.set("orpc", createOrpcClient(credentials.apiUrl, credentials));
217304
217592
  return next();
217305
217593
  });
217306
- cli.command(loginCommand).command(logoutCommand).command(configCommand).command(errorsCommand).command(whoamiCommand).command(accountCommand).command(actionsCommand).command(adminCommand).command(tokensCommand).command(tokenSalesCommand).command(fixedYieldSchedulesCommand).command(xvpSettlementsCommand).command(governanceCommand).command(governancePollsCommand).command(contactsCommand).command(custodyCommand).command(exchangeRatesCommand).command(externalTokensCommand).command(identitiesCommand).command(identityRecoveriesCommand).command(kycCommand).command(usersCommand).command(settingsCommand).command(assetTypeTemplatesCommand).command(complianceTemplatesCommand).command(complianceProvidersCommand).command(monitoringCommand).command(systemCommand).command(blockchainTransactionsCommand).command(participantsCommand).command(directoryCommand).command(restateCommand).command(webhookReceiptsCommand).command(platformStatusCommand).command(organizationsCommand).command(contractsCommand).command(searchResultsCommand).command(webhooksCommand2).command(smartWalletsCommand).command(authCommand);
217594
+ cli.command(loginCommand).command(logoutCommand).command(configCommand).command(errorsCommand).command(whoamiCommand).command(accountCommand).command(actionsCommand).command(adminCommand).command(tokensCommand).command(tokenSalesCommand).command(airdropsCommand).command(fixedYieldSchedulesCommand).command(xvpSettlementsCommand).command(governanceCommand).command(governancePollsCommand).command(contactsCommand).command(custodyCommand).command(exchangeRatesCommand).command(externalTokensCommand).command(identitiesCommand).command(identityRecoveriesCommand).command(kycCommand).command(usersCommand).command(settingsCommand).command(assetTypeTemplatesCommand).command(complianceTemplatesCommand).command(complianceProvidersCommand).command(monitoringCommand).command(systemCommand).command(blockchainTransactionsCommand).command(participantsCommand).command(directoryCommand).command(restateCommand).command(webhookReceiptsCommand).command(platformStatusCommand).command(organizationsCommand).command(contractsCommand).command(searchResultsCommand).command(webhooksCommand2).command(smartWalletsCommand).command(authCommand);
217307
217595
  if (__require.main == __require.module) {
217308
217596
  cli.serve();
217309
217597
  }