@merkl/api 1.3.73 → 1.3.75

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.
@@ -8379,50 +8379,6 @@ declare const app: Elysia<"", {
8379
8379
  } & {
8380
8380
  v4: {
8381
8381
  prices: {
8382
- ":addressOrSymbol": {
8383
- get: {
8384
- body: unknown;
8385
- params: {
8386
- addressOrSymbol: string;
8387
- };
8388
- query: unknown;
8389
- headers: unknown;
8390
- response: {
8391
- 200: number;
8392
- 422: {
8393
- type: "validation";
8394
- on: string;
8395
- summary?: string | undefined;
8396
- message?: string | undefined;
8397
- found?: unknown;
8398
- property?: string | undefined;
8399
- expected?: string | undefined;
8400
- };
8401
- };
8402
- };
8403
- };
8404
- } & {
8405
- sources: {
8406
- get: {
8407
- body: unknown;
8408
- params: {};
8409
- query: unknown;
8410
- headers: unknown;
8411
- response: {
8412
- 200: {
8413
- id: number;
8414
- type: import("@package/databases").PriceSourceType;
8415
- protected: boolean;
8416
- identifier: string;
8417
- method: import("@package/databases").PriceSourceMethod;
8418
- args: import("@prisma/client/runtime/client").JsonValue;
8419
- value: number | null;
8420
- updatedAt: number | null;
8421
- }[];
8422
- };
8423
- };
8424
- };
8425
- } & {
8426
8382
  sources: {
8427
8383
  ":addressOrSymbol": {
8428
8384
  get: {
@@ -8456,12 +8412,32 @@ declare const app: Elysia<"", {
8456
8412
  };
8457
8413
  };
8458
8414
  };
8415
+ } & {
8416
+ sources: {
8417
+ get: {
8418
+ body: unknown;
8419
+ params: {};
8420
+ query: unknown;
8421
+ headers: unknown;
8422
+ response: {
8423
+ 200: {
8424
+ id: number;
8425
+ type: import("@package/databases").PriceSourceType;
8426
+ protected: boolean;
8427
+ identifier: string;
8428
+ method: import("@package/databases").PriceSourceMethod;
8429
+ args: import("@prisma/client/runtime/client").JsonValue;
8430
+ value: number | null;
8431
+ updatedAt: number | null;
8432
+ }[];
8433
+ };
8434
+ };
8435
+ };
8459
8436
  } & {
8460
8437
  sources: {
8461
8438
  post: {
8462
8439
  body: {
8463
- identifier: string;
8464
- type: "ADDRESS" | "SYMBOL";
8440
+ addressOrSymbol: string;
8465
8441
  method: "COINGECKO" | "CONSTANT" | "DEFILLAMA" | "DEXSCREENER" | "EQUAL_TO" | "ERC4626" | "INDEXCOOP" | "ONCHAIN_CALL" | "UNISWAP_V2";
8466
8442
  args: {};
8467
8443
  protected?: boolean | undefined;
@@ -8528,8 +8504,7 @@ declare const app: Elysia<"", {
8528
8504
  ":addressOrSymbol": {
8529
8505
  patch: {
8530
8506
  body: {
8531
- identifier?: string | undefined;
8532
- type?: "ADDRESS" | "SYMBOL" | undefined;
8507
+ addressOrSymbol?: string | undefined;
8533
8508
  method?: "COINGECKO" | "CONSTANT" | "DEFILLAMA" | "DEXSCREENER" | "EQUAL_TO" | "ERC4626" | "INDEXCOOP" | "ONCHAIN_CALL" | "UNISWAP_V2" | undefined;
8534
8509
  args?: {} | undefined;
8535
8510
  protected?: boolean | undefined;
@@ -8567,43 +8542,66 @@ declare const app: Elysia<"", {
8567
8542
  };
8568
8543
  } & {
8569
8544
  sources: {
8570
- symbol: {
8571
- ":addressOrSymbol": {
8572
- delete: {
8573
- body: unknown;
8574
- params: {
8575
- addressOrSymbol: string;
8576
- } & {};
8577
- query: unknown;
8578
- headers: {
8579
- authorization: string;
8545
+ ":addressOrSymbol": {
8546
+ delete: {
8547
+ body: unknown;
8548
+ params: {
8549
+ addressOrSymbol: string;
8550
+ } & {};
8551
+ query: unknown;
8552
+ headers: {
8553
+ authorization: string;
8554
+ };
8555
+ response: {
8556
+ 200: {
8557
+ id: number;
8558
+ type: import("@package/databases").PriceSourceType;
8559
+ protected: boolean;
8560
+ identifier: string;
8561
+ method: import("@package/databases").PriceSourceMethod;
8562
+ args: import("@prisma/client/runtime/client").JsonValue;
8563
+ value: number | null;
8564
+ updatedAt: number | null;
8580
8565
  };
8581
- response: {
8582
- 200: {
8583
- id: number;
8584
- type: import("@package/databases").PriceSourceType;
8585
- protected: boolean;
8586
- identifier: string;
8587
- method: import("@package/databases").PriceSourceMethod;
8588
- args: import("@prisma/client/runtime/client").JsonValue;
8589
- value: number | null;
8590
- updatedAt: number | null;
8591
- };
8592
- 422: {
8593
- type: "validation";
8594
- on: string;
8595
- summary?: string | undefined;
8596
- message?: string | undefined;
8597
- found?: unknown;
8598
- property?: string | undefined;
8599
- expected?: string | undefined;
8600
- };
8566
+ 422: {
8567
+ type: "validation";
8568
+ on: string;
8569
+ summary?: string | undefined;
8570
+ message?: string | undefined;
8571
+ found?: unknown;
8572
+ property?: string | undefined;
8573
+ expected?: string | undefined;
8601
8574
  };
8602
8575
  };
8603
8576
  };
8604
8577
  };
8605
8578
  };
8606
8579
  };
8580
+ } & {
8581
+ prices: {
8582
+ ":addressOrSymbol": {
8583
+ get: {
8584
+ body: unknown;
8585
+ params: {
8586
+ addressOrSymbol: string;
8587
+ };
8588
+ query: unknown;
8589
+ headers: unknown;
8590
+ response: {
8591
+ 200: number;
8592
+ 422: {
8593
+ type: "validation";
8594
+ on: string;
8595
+ summary?: string | undefined;
8596
+ message?: string | undefined;
8597
+ found?: unknown;
8598
+ property?: string | undefined;
8599
+ expected?: string | undefined;
8600
+ };
8601
+ };
8602
+ };
8603
+ };
8604
+ };
8607
8605
  };
8608
8606
  } & {
8609
8607
  v4: {