@witnium-tech/witniumchain 0.12.2 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1472,16 +1472,6 @@ interface paths$1 {
1472
1472
  email: string;
1473
1473
  /** @description Optional external identifier supplied by the org admin at user-create time. Lets B2B2C apps correlate users to their own records. */
1474
1474
  externalUserId: string | null;
1475
- /**
1476
- * @description On-chain witness contract bound to the user (null until provisioned).
1477
- * @example 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0
1478
- */
1479
- contractAddress: string | null;
1480
- /**
1481
- * @description Owner Ed25519 public key for the user's contract (null until provisioned).
1482
- * @example 4cdde7a3e3a1d8a48d2b9eaf2bcbe2db1d57d3e1a8d6c20e0a86c0f9c4b6cf2e
1483
- */
1484
- ownerPublicKey: string | null;
1485
1475
  /**
1486
1476
  * Format: date-time
1487
1477
  * @description ISO 8601 date-time string
@@ -3181,7 +3171,7 @@ interface paths$1 {
3181
3171
  put?: never;
3182
3172
  /**
3183
3173
  * Apply a manual credit adjustment
3184
- * @description Sysadmin-only. Use sparingly — for correcting billing errors, granting goodwill credits, or backfilling balance after migrations. Recorded as `reason: adjustment` in the ledger with the supplied `note`.
3174
+ * @description Sysadmin-only. Use sparingly — for correcting billing errors, granting goodwill credits, or backfilling balance after migrations. Recorded as `reason: adjustment` in the ledger with the supplied `note`. A positive delta is purchased credit (never expires); a negative one takes purchased credit first, then plan allowance. 400 when it would make the balance negative.
3185
3175
  */
3186
3176
  post: {
3187
3177
  parameters: {
@@ -3221,6 +3211,31 @@ interface paths$1 {
3221
3211
  };
3222
3212
  };
3223
3213
  };
3214
+ /** @description Bad Request — validation failed */
3215
+ 400: {
3216
+ headers: {
3217
+ [name: string]: unknown;
3218
+ };
3219
+ content: {
3220
+ "application/json": {
3221
+ /**
3222
+ * @description HTTP status code
3223
+ * @example 400
3224
+ */
3225
+ statusCode?: number;
3226
+ /**
3227
+ * @description Short error label
3228
+ * @example Bad Request
3229
+ */
3230
+ error?: string;
3231
+ /**
3232
+ * @description Human-readable error message. Validation errors from `ZodError.flatten()` may be returned as an array.
3233
+ * @example Validation failed
3234
+ */
3235
+ message: string | string[];
3236
+ };
3237
+ };
3238
+ };
3224
3239
  /** @description Unauthorized — authentication required or invalid */
3225
3240
  401: {
3226
3241
  headers: {
@@ -6928,18 +6943,6 @@ interface paths$1 {
6928
6943
  * @example 2026-05-20T10:30:00.000Z
6929
6944
  */
6930
6945
  emailVerifiedAt: string | null;
6931
- /**
6932
- * @description Ethereum address (0x + 40 hex characters)
6933
- * @example 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0
6934
- */
6935
- contractAddress: string | null;
6936
- /**
6937
- * @description Ed25519 public key — 32 bytes hex-encoded (64 chars, no 0x prefix)
6938
- * @example 4cdde7a3e3a1d8a48d2b9eaf2bcbe2db1d57d3e1a8d6c20e0a86c0f9c4b6cf2e
6939
- */
6940
- ownerPublicKey: string | null;
6941
- /** @description Server-cached owner nonce (`ownerNonceCached`). */
6942
- ownerNonce: number | null;
6943
6946
  externalUserId: string | null;
6944
6947
  /**
6945
6948
  * Format: uri
@@ -6982,6 +6985,29 @@ interface paths$1 {
6982
6985
  balance: number | null;
6983
6986
  isPersonal: boolean;
6984
6987
  };
6988
+ /**
6989
+ * AccountContract
6990
+ * @description The active contract of the user's organization; null until provisioned.
6991
+ */
6992
+ contract: {
6993
+ /**
6994
+ * @description Ethereum address (0x + 40 hex characters)
6995
+ * @example 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0
6996
+ */
6997
+ address: string;
6998
+ /** @description WitnessRegistry version chain-api deployed, e.g. `5.0.0`. */
6999
+ version: string;
7000
+ /**
7001
+ * @description Ed25519 public key — 32 bytes hex-encoded (64 chars, no 0x prefix)
7002
+ * @example 4cdde7a3e3a1d8a48d2b9eaf2bcbe2db1d57d3e1a8d6c20e0a86c0f9c4b6cf2e
7003
+ */
7004
+ ownerPublicKey: string;
7005
+ /**
7006
+ * @description Who holds the owner key: `witnium` (managed keys) or `customer` (self-custody). The owner nonce is on chain (chain-api contract info).
7007
+ * @enum {string}
7008
+ */
7009
+ custody: "witnium" | "customer";
7010
+ } | null;
6985
7011
  signingKeys: {
6986
7012
  /**
6987
7013
  * @description Ed25519 public key — 32 bytes hex-encoded (64 chars, no 0x prefix)
@@ -10706,778 +10732,6 @@ interface paths {
10706
10732
  patch?: never;
10707
10733
  trace?: never;
10708
10734
  };
10709
- "/admin/validators/propose": {
10710
- parameters: {
10711
- query?: never;
10712
- header?: never;
10713
- path?: never;
10714
- cookie?: never;
10715
- };
10716
- get?: never;
10717
- put?: never;
10718
- /**
10719
- * Propose adding or removing a validator
10720
- * @description Submit a vote to add or remove a validator from the network.
10721
- */
10722
- post: {
10723
- parameters: {
10724
- query?: never;
10725
- header?: never;
10726
- path?: never;
10727
- cookie?: never;
10728
- };
10729
- requestBody?: {
10730
- content: {
10731
- "application/json": {
10732
- /**
10733
- * @description Ethereum address (0x + 40 hex characters)
10734
- * @example 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0
10735
- */
10736
- validatorAddress: string;
10737
- /** @description true = vote to add, false = vote to remove */
10738
- add: boolean;
10739
- };
10740
- };
10741
- };
10742
- responses: {
10743
- /** @description Success */
10744
- 200: {
10745
- headers: {
10746
- [name: string]: unknown;
10747
- };
10748
- content: {
10749
- "application/json": {
10750
- /** @enum {boolean} */
10751
- success: true;
10752
- /**
10753
- * @description Ethereum address (0x + 40 hex characters)
10754
- * @example 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0
10755
- */
10756
- validatorAddress: string;
10757
- add: boolean;
10758
- message: string;
10759
- };
10760
- };
10761
- };
10762
- /** @description Bad Request - Validation failed */
10763
- 400: {
10764
- headers: {
10765
- [name: string]: unknown;
10766
- };
10767
- content: {
10768
- "application/json": {
10769
- /**
10770
- * @description Error message
10771
- * @example Validation failed
10772
- */
10773
- error: string;
10774
- /**
10775
- * @description Machine-readable error code
10776
- * @example VALIDATION_FAILED
10777
- */
10778
- code?: string;
10779
- /** @description Field-level validation errors */
10780
- details?: {
10781
- [key: string]: string[];
10782
- };
10783
- };
10784
- };
10785
- };
10786
- /** @description Internal Server Error */
10787
- 500: {
10788
- headers: {
10789
- [name: string]: unknown;
10790
- };
10791
- content: {
10792
- "application/json": {
10793
- /**
10794
- * @description Error message
10795
- * @example Validation failed
10796
- */
10797
- error: string;
10798
- /**
10799
- * @description Machine-readable error code
10800
- * @example VALIDATION_FAILED
10801
- */
10802
- code?: string;
10803
- /** @description Field-level validation errors */
10804
- details?: {
10805
- [key: string]: string[];
10806
- };
10807
- };
10808
- };
10809
- };
10810
- };
10811
- };
10812
- delete?: never;
10813
- options?: never;
10814
- head?: never;
10815
- patch?: never;
10816
- trace?: never;
10817
- };
10818
- "/admin/validators/vote/{address}": {
10819
- parameters: {
10820
- query?: never;
10821
- header?: never;
10822
- path?: never;
10823
- cookie?: never;
10824
- };
10825
- get?: never;
10826
- put?: never;
10827
- post?: never;
10828
- /**
10829
- * Discard a vote for a validator
10830
- * @description Remove a vote for adding or removing a validator.
10831
- */
10832
- delete: {
10833
- parameters: {
10834
- query?: never;
10835
- header?: never;
10836
- path: {
10837
- /** @description Ethereum address (0x + 40 hex characters) */
10838
- address: string;
10839
- };
10840
- cookie?: never;
10841
- };
10842
- requestBody?: never;
10843
- responses: {
10844
- /** @description Success */
10845
- 200: {
10846
- headers: {
10847
- [name: string]: unknown;
10848
- };
10849
- content: {
10850
- "application/json": {
10851
- /** @enum {boolean} */
10852
- success: true;
10853
- message: string;
10854
- };
10855
- };
10856
- };
10857
- /** @description Bad Request - Validation failed */
10858
- 400: {
10859
- headers: {
10860
- [name: string]: unknown;
10861
- };
10862
- content: {
10863
- "application/json": {
10864
- /**
10865
- * @description Error message
10866
- * @example Validation failed
10867
- */
10868
- error: string;
10869
- /**
10870
- * @description Machine-readable error code
10871
- * @example VALIDATION_FAILED
10872
- */
10873
- code?: string;
10874
- /** @description Field-level validation errors */
10875
- details?: {
10876
- [key: string]: string[];
10877
- };
10878
- };
10879
- };
10880
- };
10881
- /** @description Not Found */
10882
- 404: {
10883
- headers: {
10884
- [name: string]: unknown;
10885
- };
10886
- content: {
10887
- "application/json": {
10888
- /**
10889
- * @description Error message
10890
- * @example Validation failed
10891
- */
10892
- error: string;
10893
- /**
10894
- * @description Machine-readable error code
10895
- * @example VALIDATION_FAILED
10896
- */
10897
- code?: string;
10898
- /** @description Field-level validation errors */
10899
- details?: {
10900
- [key: string]: string[];
10901
- };
10902
- };
10903
- };
10904
- };
10905
- /** @description Internal Server Error */
10906
- 500: {
10907
- headers: {
10908
- [name: string]: unknown;
10909
- };
10910
- content: {
10911
- "application/json": {
10912
- /**
10913
- * @description Error message
10914
- * @example Validation failed
10915
- */
10916
- error: string;
10917
- /**
10918
- * @description Machine-readable error code
10919
- * @example VALIDATION_FAILED
10920
- */
10921
- code?: string;
10922
- /** @description Field-level validation errors */
10923
- details?: {
10924
- [key: string]: string[];
10925
- };
10926
- };
10927
- };
10928
- };
10929
- };
10930
- };
10931
- options?: never;
10932
- head?: never;
10933
- patch?: never;
10934
- trace?: never;
10935
- };
10936
- "/admin/validators": {
10937
- parameters: {
10938
- query?: never;
10939
- header?: never;
10940
- path?: never;
10941
- cookie?: never;
10942
- };
10943
- /**
10944
- * Get list of validators
10945
- * @description Get the current list of validators in the network.
10946
- */
10947
- get: {
10948
- parameters: {
10949
- query?: never;
10950
- header?: never;
10951
- path?: never;
10952
- cookie?: never;
10953
- };
10954
- requestBody?: never;
10955
- responses: {
10956
- /** @description Success */
10957
- 200: {
10958
- headers: {
10959
- [name: string]: unknown;
10960
- };
10961
- content: {
10962
- "application/json": {
10963
- validators: {
10964
- /**
10965
- * @description Ethereum address (0x + 40 hex characters)
10966
- * @example 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0
10967
- */
10968
- address: string;
10969
- added: boolean;
10970
- }[];
10971
- };
10972
- };
10973
- };
10974
- /** @description Internal Server Error */
10975
- 500: {
10976
- headers: {
10977
- [name: string]: unknown;
10978
- };
10979
- content: {
10980
- "application/json": {
10981
- /**
10982
- * @description Error message
10983
- * @example Validation failed
10984
- */
10985
- error: string;
10986
- /**
10987
- * @description Machine-readable error code
10988
- * @example VALIDATION_FAILED
10989
- */
10990
- code?: string;
10991
- /** @description Field-level validation errors */
10992
- details?: {
10993
- [key: string]: string[];
10994
- };
10995
- };
10996
- };
10997
- };
10998
- };
10999
- };
11000
- put?: never;
11001
- post?: never;
11002
- delete?: never;
11003
- options?: never;
11004
- head?: never;
11005
- patch?: never;
11006
- trace?: never;
11007
- };
11008
- "/admin/validators/pending": {
11009
- parameters: {
11010
- query?: never;
11011
- header?: never;
11012
- path?: never;
11013
- cookie?: never;
11014
- };
11015
- /**
11016
- * Get list of pending validators
11017
- * @description Get validators that have votes but are not yet added/removed.
11018
- */
11019
- get: {
11020
- parameters: {
11021
- query?: never;
11022
- header?: never;
11023
- path?: never;
11024
- cookie?: never;
11025
- };
11026
- requestBody?: never;
11027
- responses: {
11028
- /** @description Success */
11029
- 200: {
11030
- headers: {
11031
- [name: string]: unknown;
11032
- };
11033
- content: {
11034
- "application/json": {
11035
- pending: {
11036
- /**
11037
- * @description Ethereum address (0x + 40 hex characters)
11038
- * @example 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0
11039
- */
11040
- address: string;
11041
- addVotes: number;
11042
- removeVotes: number;
11043
- }[];
11044
- };
11045
- };
11046
- };
11047
- /** @description Internal Server Error */
11048
- 500: {
11049
- headers: {
11050
- [name: string]: unknown;
11051
- };
11052
- content: {
11053
- "application/json": {
11054
- /**
11055
- * @description Error message
11056
- * @example Validation failed
11057
- */
11058
- error: string;
11059
- /**
11060
- * @description Machine-readable error code
11061
- * @example VALIDATION_FAILED
11062
- */
11063
- code?: string;
11064
- /** @description Field-level validation errors */
11065
- details?: {
11066
- [key: string]: string[];
11067
- };
11068
- };
11069
- };
11070
- };
11071
- };
11072
- };
11073
- put?: never;
11074
- post?: never;
11075
- delete?: never;
11076
- options?: never;
11077
- head?: never;
11078
- patch?: never;
11079
- trace?: never;
11080
- };
11081
- "/admin/network/status": {
11082
- parameters: {
11083
- query?: never;
11084
- header?: never;
11085
- path?: never;
11086
- cookie?: never;
11087
- };
11088
- /**
11089
- * Get network status
11090
- * @description Get the current status of the blockchain network.
11091
- */
11092
- get: {
11093
- parameters: {
11094
- query?: never;
11095
- header?: never;
11096
- path?: never;
11097
- cookie?: never;
11098
- };
11099
- requestBody?: never;
11100
- responses: {
11101
- /** @description Success */
11102
- 200: {
11103
- headers: {
11104
- [name: string]: unknown;
11105
- };
11106
- content: {
11107
- "application/json": {
11108
- chainId: number;
11109
- blockNumber: number;
11110
- validatorCount: number;
11111
- };
11112
- };
11113
- };
11114
- /** @description Internal Server Error */
11115
- 500: {
11116
- headers: {
11117
- [name: string]: unknown;
11118
- };
11119
- content: {
11120
- "application/json": {
11121
- /**
11122
- * @description Error message
11123
- * @example Validation failed
11124
- */
11125
- error: string;
11126
- /**
11127
- * @description Machine-readable error code
11128
- * @example VALIDATION_FAILED
11129
- */
11130
- code?: string;
11131
- /** @description Field-level validation errors */
11132
- details?: {
11133
- [key: string]: string[];
11134
- };
11135
- };
11136
- };
11137
- };
11138
- };
11139
- };
11140
- put?: never;
11141
- post?: never;
11142
- delete?: never;
11143
- options?: never;
11144
- head?: never;
11145
- patch?: never;
11146
- trace?: never;
11147
- };
11148
- "/admin/network/peers": {
11149
- parameters: {
11150
- query?: never;
11151
- header?: never;
11152
- path?: never;
11153
- cookie?: never;
11154
- };
11155
- /**
11156
- * Get network peers
11157
- * @description Get the list of connected network peers.
11158
- */
11159
- get: {
11160
- parameters: {
11161
- query?: never;
11162
- header?: never;
11163
- path?: never;
11164
- cookie?: never;
11165
- };
11166
- requestBody?: never;
11167
- responses: {
11168
- /** @description Success */
11169
- 200: {
11170
- headers: {
11171
- [name: string]: unknown;
11172
- };
11173
- content: {
11174
- "application/json": {
11175
- peers: {
11176
- id: string;
11177
- name?: string;
11178
- enode: string;
11179
- /** @enum {string} */
11180
- status: "connected" | "disconnected";
11181
- }[];
11182
- };
11183
- };
11184
- };
11185
- /** @description Internal Server Error */
11186
- 500: {
11187
- headers: {
11188
- [name: string]: unknown;
11189
- };
11190
- content: {
11191
- "application/json": {
11192
- /**
11193
- * @description Error message
11194
- * @example Validation failed
11195
- */
11196
- error: string;
11197
- /**
11198
- * @description Machine-readable error code
11199
- * @example VALIDATION_FAILED
11200
- */
11201
- code?: string;
11202
- /** @description Field-level validation errors */
11203
- details?: {
11204
- [key: string]: string[];
11205
- };
11206
- };
11207
- };
11208
- };
11209
- };
11210
- };
11211
- put?: never;
11212
- /**
11213
- * Add a network peer
11214
- * @description Add a peer to the network.
11215
- */
11216
- post: {
11217
- parameters: {
11218
- query?: never;
11219
- header?: never;
11220
- path?: never;
11221
- cookie?: never;
11222
- };
11223
- requestBody?: {
11224
- content: {
11225
- "application/json": {
11226
- enode: string;
11227
- };
11228
- };
11229
- };
11230
- responses: {
11231
- /** @description Success */
11232
- 200: {
11233
- headers: {
11234
- [name: string]: unknown;
11235
- };
11236
- content: {
11237
- "application/json": {
11238
- /** @enum {boolean} */
11239
- success: true;
11240
- message: string;
11241
- };
11242
- };
11243
- };
11244
- /** @description Bad Request - Validation failed */
11245
- 400: {
11246
- headers: {
11247
- [name: string]: unknown;
11248
- };
11249
- content: {
11250
- "application/json": {
11251
- /**
11252
- * @description Error message
11253
- * @example Validation failed
11254
- */
11255
- error: string;
11256
- /**
11257
- * @description Machine-readable error code
11258
- * @example VALIDATION_FAILED
11259
- */
11260
- code?: string;
11261
- /** @description Field-level validation errors */
11262
- details?: {
11263
- [key: string]: string[];
11264
- };
11265
- };
11266
- };
11267
- };
11268
- /** @description Internal Server Error */
11269
- 500: {
11270
- headers: {
11271
- [name: string]: unknown;
11272
- };
11273
- content: {
11274
- "application/json": {
11275
- /**
11276
- * @description Error message
11277
- * @example Validation failed
11278
- */
11279
- error: string;
11280
- /**
11281
- * @description Machine-readable error code
11282
- * @example VALIDATION_FAILED
11283
- */
11284
- code?: string;
11285
- /** @description Field-level validation errors */
11286
- details?: {
11287
- [key: string]: string[];
11288
- };
11289
- };
11290
- };
11291
- };
11292
- };
11293
- };
11294
- /**
11295
- * Remove a network peer
11296
- * @description Remove a peer from the network.
11297
- */
11298
- delete: {
11299
- parameters: {
11300
- query?: never;
11301
- header?: never;
11302
- path?: never;
11303
- cookie?: never;
11304
- };
11305
- requestBody?: {
11306
- content: {
11307
- "application/json": {
11308
- enode: string;
11309
- };
11310
- };
11311
- };
11312
- responses: {
11313
- /** @description Success */
11314
- 200: {
11315
- headers: {
11316
- [name: string]: unknown;
11317
- };
11318
- content: {
11319
- "application/json": {
11320
- /** @enum {boolean} */
11321
- success: true;
11322
- message: string;
11323
- };
11324
- };
11325
- };
11326
- /** @description Bad Request - Validation failed */
11327
- 400: {
11328
- headers: {
11329
- [name: string]: unknown;
11330
- };
11331
- content: {
11332
- "application/json": {
11333
- /**
11334
- * @description Error message
11335
- * @example Validation failed
11336
- */
11337
- error: string;
11338
- /**
11339
- * @description Machine-readable error code
11340
- * @example VALIDATION_FAILED
11341
- */
11342
- code?: string;
11343
- /** @description Field-level validation errors */
11344
- details?: {
11345
- [key: string]: string[];
11346
- };
11347
- };
11348
- };
11349
- };
11350
- /** @description Internal Server Error */
11351
- 500: {
11352
- headers: {
11353
- [name: string]: unknown;
11354
- };
11355
- content: {
11356
- "application/json": {
11357
- /**
11358
- * @description Error message
11359
- * @example Validation failed
11360
- */
11361
- error: string;
11362
- /**
11363
- * @description Machine-readable error code
11364
- * @example VALIDATION_FAILED
11365
- */
11366
- code?: string;
11367
- /** @description Field-level validation errors */
11368
- details?: {
11369
- [key: string]: string[];
11370
- };
11371
- };
11372
- };
11373
- };
11374
- };
11375
- };
11376
- options?: never;
11377
- head?: never;
11378
- patch?: never;
11379
- trace?: never;
11380
- };
11381
- "/admin/utils/pubkey-to-address": {
11382
- parameters: {
11383
- query?: never;
11384
- header?: never;
11385
- path?: never;
11386
- cookie?: never;
11387
- };
11388
- get?: never;
11389
- put?: never;
11390
- /**
11391
- * Convert public key to Ethereum address
11392
- * @description Utility endpoint to convert a public key to an Ethereum address.
11393
- */
11394
- post: {
11395
- parameters: {
11396
- query?: never;
11397
- header?: never;
11398
- path?: never;
11399
- cookie?: never;
11400
- };
11401
- requestBody?: {
11402
- content: {
11403
- "application/json": {
11404
- pubkey: string;
11405
- };
11406
- };
11407
- };
11408
- responses: {
11409
- /** @description Success */
11410
- 200: {
11411
- headers: {
11412
- [name: string]: unknown;
11413
- };
11414
- content: {
11415
- "application/json": {
11416
- /**
11417
- * @description Ethereum address (0x + 40 hex characters)
11418
- * @example 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0
11419
- */
11420
- address: string;
11421
- pubkey: string;
11422
- };
11423
- };
11424
- };
11425
- /** @description Bad Request - Validation failed */
11426
- 400: {
11427
- headers: {
11428
- [name: string]: unknown;
11429
- };
11430
- content: {
11431
- "application/json": {
11432
- /**
11433
- * @description Error message
11434
- * @example Validation failed
11435
- */
11436
- error: string;
11437
- /**
11438
- * @description Machine-readable error code
11439
- * @example VALIDATION_FAILED
11440
- */
11441
- code?: string;
11442
- /** @description Field-level validation errors */
11443
- details?: {
11444
- [key: string]: string[];
11445
- };
11446
- };
11447
- };
11448
- };
11449
- /** @description Internal Server Error */
11450
- 500: {
11451
- headers: {
11452
- [name: string]: unknown;
11453
- };
11454
- content: {
11455
- "application/json": {
11456
- /**
11457
- * @description Error message
11458
- * @example Validation failed
11459
- */
11460
- error: string;
11461
- /**
11462
- * @description Machine-readable error code
11463
- * @example VALIDATION_FAILED
11464
- */
11465
- code?: string;
11466
- /** @description Field-level validation errors */
11467
- details?: {
11468
- [key: string]: string[];
11469
- };
11470
- };
11471
- };
11472
- };
11473
- };
11474
- };
11475
- delete?: never;
11476
- options?: never;
11477
- head?: never;
11478
- patch?: never;
11479
- trace?: never;
11480
- };
11481
10735
  "/health/live": {
11482
10736
  parameters: {
11483
10737
  query?: never;