@merkl/api 0.10.116 → 0.10.117

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/dist/database/api/.generated/default.d.ts +1 -1
  2. package/dist/database/api/.generated/edge.d.ts +1 -1
  3. package/dist/database/api/.generated/index.d.ts +335 -311
  4. package/dist/database/api/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  5. package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  6. package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  7. package/dist/database/api/.generated/package.json +15 -2
  8. package/dist/database/api/.generated/runtime/library.d.ts +195 -79
  9. package/dist/database/api/.generated/schema.prisma +1 -1
  10. package/dist/database/api/.generated/wasm.d.ts +1 -1
  11. package/dist/database/engine/.generated/default.d.ts +1 -1
  12. package/dist/database/engine/.generated/edge.d.ts +1 -1
  13. package/dist/database/engine/.generated/index.d.ts +16 -104
  14. package/dist/database/engine/.generated/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  15. package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  16. package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  17. package/dist/database/engine/.generated/package.json +14 -1
  18. package/dist/database/engine/.generated/runtime/library.d.ts +195 -79
  19. package/dist/database/engine/.generated/wasm.d.ts +1 -1
  20. package/dist/src/eden/index.d.ts +470 -414
  21. package/dist/src/index.d.ts +160 -138
  22. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +1 -1
  23. package/dist/src/modules/v4/accounting/accounting.repository.d.ts +8 -8
  24. package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
  25. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
  26. package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
  27. package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
  28. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +14 -14
  29. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +27 -27
  30. package/dist/src/modules/v4/campaign/campaign.service.d.ts +28 -28
  31. package/dist/src/modules/v4/chain/chain.controller.d.ts +5 -5
  32. package/dist/src/modules/v4/chain/chain.repository.d.ts +6 -6
  33. package/dist/src/modules/v4/chain/chain.service.d.ts +5 -5
  34. package/dist/src/modules/v4/explorer/explorer.repository.d.ts +2 -2
  35. package/dist/src/modules/v4/explorer/explorer.service.d.ts +2 -2
  36. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +22 -3
  37. package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +4 -4
  38. package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +4 -4
  39. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +36 -36
  40. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +94 -94
  41. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +57 -57
  42. package/dist/src/modules/v4/price/price.controller.d.ts +8 -8
  43. package/dist/src/modules/v4/price/price.repository.d.ts +10 -10
  44. package/dist/src/modules/v4/price/price.service.d.ts +8 -8
  45. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +12 -12
  46. package/dist/src/modules/v4/reward/reward.controller.d.ts +11 -8
  47. package/dist/src/modules/v4/reward/reward.model.d.ts +9 -9
  48. package/dist/src/modules/v4/reward/reward.repository.d.ts +42 -39
  49. package/dist/src/modules/v4/reward/reward.service.d.ts +133 -130
  50. package/dist/src/modules/v4/router.d.ts +160 -138
  51. package/dist/src/modules/v4/status/status.controller.d.ts +17 -17
  52. package/dist/src/modules/v4/status/status.repository.d.ts +32 -32
  53. package/dist/src/modules/v4/status/status.service.d.ts +20 -20
  54. package/dist/src/modules/v4/user/user.controller.d.ts +44 -44
  55. package/dist/src/modules/v4/user/user.repository.d.ts +3 -3
  56. package/dist/src/modules/v4/user/user.service.d.ts +3 -3
  57. package/dist/src/routes/v3/ERC20Campaigns.d.ts +160 -138
  58. package/dist/src/routes/v3/blacklist.d.ts +160 -138
  59. package/dist/src/routes/v3/campaigns.d.ts +160 -138
  60. package/dist/src/routes/v3/campaignsInfo.d.ts +160 -138
  61. package/dist/src/routes/v3/multiChainPositions.d.ts +160 -138
  62. package/dist/src/routes/v3/opportunity.d.ts +160 -138
  63. package/dist/src/routes/v3/positions.d.ts +160 -138
  64. package/dist/src/routes/v3/rewards.d.ts +160 -138
  65. package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -2
  66. package/dist/src/routes/v3/updates.d.ts +160 -138
  67. package/dist/src/routes/v3/userRewards.d.ts +160 -138
  68. package/dist/tsconfig.package.tsbuildinfo +1 -1
  69. package/package.json +3 -3
  70. package/dist/src/libs/campaigns/getRewards.d.ts +0 -29
@@ -176,6 +176,7 @@ export class PrismaClient<
176
176
  */
177
177
  $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
178
178
 
179
+
179
180
  /**
180
181
  * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
181
182
  * @example
@@ -335,7 +336,6 @@ export namespace Prisma {
335
336
  export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
336
337
  export import PrismaClientInitializationError = runtime.PrismaClientInitializationError
337
338
  export import PrismaClientValidationError = runtime.PrismaClientValidationError
338
- export import NotFoundError = runtime.NotFoundError
339
339
 
340
340
  /**
341
341
  * Re-export of sql-template-tag
@@ -346,6 +346,8 @@ export namespace Prisma {
346
346
  export import raw = runtime.raw
347
347
  export import Sql = runtime.Sql
348
348
 
349
+
350
+
349
351
  /**
350
352
  * Decimal.js
351
353
  */
@@ -372,8 +374,8 @@ export namespace Prisma {
372
374
  export import Exact = $Public.Exact
373
375
 
374
376
  /**
375
- * Prisma Client JS version: 5.18.0
376
- * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
377
+ * Prisma Client JS version: 6.0.1
378
+ * Query Engine version: 5dbef10bdbfb579e07d35cc85fb1518d357cb99e
377
379
  */
378
380
  export type PrismaVersion = {
379
381
  client: string
@@ -385,51 +387,13 @@ export namespace Prisma {
385
387
  * Utility Types
386
388
  */
387
389
 
388
- /**
389
- * From https://github.com/sindresorhus/type-fest/
390
- * Matches a JSON object.
391
- * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.
392
- */
393
- export type JsonObject = {[Key in string]?: JsonValue}
394
390
 
395
- /**
396
- * From https://github.com/sindresorhus/type-fest/
397
- * Matches a JSON array.
398
- */
399
- export interface JsonArray extends Array<JsonValue> {}
400
-
401
- /**
402
- * From https://github.com/sindresorhus/type-fest/
403
- * Matches any valid JSON value.
404
- */
405
- export type JsonValue = string | number | boolean | JsonObject | JsonArray | null
406
-
407
- /**
408
- * Matches a JSON object.
409
- * Unlike `JsonObject`, this type allows undefined and read-only properties.
410
- */
411
- export type InputJsonObject = {readonly [Key in string]?: InputJsonValue | null}
412
-
413
- /**
414
- * Matches a JSON array.
415
- * Unlike `JsonArray`, readonly arrays are assignable to this type.
416
- */
417
- export interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {}
418
-
419
- /**
420
- * Matches any valid value that can be used as an input for operations like
421
- * create and update as the value of a JSON field. Unlike `JsonValue`, this
422
- * type allows read-only arrays and read-only object properties and disallows
423
- * `null` at the top level.
424
- *
425
- * `null` cannot be used as the value of a JSON field because its meaning
426
- * would be ambiguous. Use `Prisma.JsonNull` to store the JSON null value or
427
- * `Prisma.DbNull` to clear the JSON value and set the field to the database
428
- * NULL value instead.
429
- *
430
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values
431
- */
432
- export type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | { toJSON(): unknown }
391
+ export import JsonObject = runtime.JsonObject
392
+ export import JsonArray = runtime.JsonArray
393
+ export import JsonValue = runtime.JsonValue
394
+ export import InputJsonObject = runtime.InputJsonObject
395
+ export import InputJsonArray = runtime.InputJsonArray
396
+ export import InputJsonValue = runtime.InputJsonValue
433
397
 
434
398
  /**
435
399
  * Types of the values used to represent different kinds of `null` values when working with JSON fields.
@@ -1668,15 +1632,11 @@ export namespace Prisma {
1668
1632
  other: {
1669
1633
  payload: any
1670
1634
  operations: {
1671
- $executeRawUnsafe: {
1672
- args: [query: string, ...values: any[]],
1673
- result: any
1674
- }
1675
1635
  $executeRaw: {
1676
1636
  args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
1677
1637
  result: any
1678
1638
  }
1679
- $queryRawUnsafe: {
1639
+ $executeRawUnsafe: {
1680
1640
  args: [query: string, ...values: any[]],
1681
1641
  result: any
1682
1642
  }
@@ -1684,6 +1644,10 @@ export namespace Prisma {
1684
1644
  args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
1685
1645
  result: any
1686
1646
  }
1647
+ $queryRawUnsafe: {
1648
+ args: [query: string, ...values: any[]],
1649
+ result: any
1650
+ }
1687
1651
  }
1688
1652
  }
1689
1653
  }
@@ -16275,58 +16239,6 @@ export namespace Prisma {
16275
16239
 
16276
16240
 
16277
16241
 
16278
- /**
16279
- * Aliases for legacy arg types
16280
- */
16281
- /**
16282
- * @deprecated Use TempLeavesDefaultArgs instead
16283
- */
16284
- export type TempLeavesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TempLeavesDefaultArgs<ExtArgs>
16285
- /**
16286
- * @deprecated Use LeavesDefaultArgs instead
16287
- */
16288
- export type LeavesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = LeavesDefaultArgs<ExtArgs>
16289
- /**
16290
- * @deprecated Use ProofsDefaultArgs instead
16291
- */
16292
- export type ProofsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ProofsDefaultArgs<ExtArgs>
16293
- /**
16294
- * @deprecated Use MerklRootsDefaultArgs instead
16295
- */
16296
- export type MerklRootsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MerklRootsDefaultArgs<ExtArgs>
16297
- /**
16298
- * @deprecated Use CampaignsDefaultArgs instead
16299
- */
16300
- export type CampaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignsDefaultArgs<ExtArgs>
16301
- /**
16302
- * @deprecated Use CampaignsToProcessDefaultArgs instead
16303
- */
16304
- export type CampaignsToProcessArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignsToProcessDefaultArgs<ExtArgs>
16305
- /**
16306
- * @deprecated Use ClaimsDefaultArgs instead
16307
- */
16308
- export type ClaimsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ClaimsDefaultArgs<ExtArgs>
16309
- /**
16310
- * @deprecated Use ClaimsOverTimeDefaultArgs instead
16311
- */
16312
- export type ClaimsOverTimeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ClaimsOverTimeDefaultArgs<ExtArgs>
16313
- /**
16314
- * @deprecated Use ALMsDefaultArgs instead
16315
- */
16316
- export type ALMsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ALMsDefaultArgs<ExtArgs>
16317
- /**
16318
- * @deprecated Use ERC20HoldersDefaultArgs instead
16319
- */
16320
- export type ERC20HoldersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ERC20HoldersDefaultArgs<ExtArgs>
16321
- /**
16322
- * @deprecated Use TokensDefaultArgs instead
16323
- */
16324
- export type TokensArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TokensDefaultArgs<ExtArgs>
16325
- /**
16326
- * @deprecated Use CampaignCreatorsDefaultArgs instead
16327
- */
16328
- export type CampaignCreatorsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CampaignCreatorsDefaultArgs<ExtArgs>
16329
-
16330
16242
  /**
16331
16243
  * Batch Payload for updateMany & deleteMany & createMany
16332
16244
  */
@@ -77,8 +77,21 @@
77
77
  "import": "./generator-build/index.js",
78
78
  "default": "./generator-build/index.js"
79
79
  },
80
+ "./sql": {
81
+ "require": {
82
+ "types": "./sql.d.ts",
83
+ "node": "./sql.js",
84
+ "default": "./sql.js"
85
+ },
86
+ "import": {
87
+ "types": "./sql.d.ts",
88
+ "node": "./sql.mjs",
89
+ "default": "./sql.mjs"
90
+ },
91
+ "default": "./sql.js"
92
+ },
80
93
  "./*": "./*"
81
94
  },
82
- "version": "5.18.0",
95
+ "version": "6.0.1",
83
96
  "sideEffects": false
84
97
  }