@merkl/api 1.0.95 → 1.0.96
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/src/eden/index.d.ts +66 -2
- package/dist/src/index.d.ts +33 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +12 -0
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +10 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +53 -45
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +41 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +20 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +36 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +15 -14
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -2
- package/dist/src/modules/v4/reward/reward.model.d.ts +10 -0
- package/dist/src/modules/v4/router.d.ts +33 -1
- package/dist/src/modules/v4/token/token.controller.d.ts +2 -1
- package/dist/src/modules/v4/token/token.model.d.ts +19 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -53,6 +53,7 @@ export declare const v4: Elysia<"/v4", {
|
|
53
53
|
creatorTag?: string | undefined;
|
54
54
|
distributionChainIds?: number[] | undefined;
|
55
55
|
types?: string[] | undefined;
|
56
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
56
57
|
withOpportunity?: boolean | undefined;
|
57
58
|
createdAfter?: Date | null | undefined;
|
58
59
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -106,6 +107,7 @@ export declare const v4: Elysia<"/v4", {
|
|
106
107
|
address: string;
|
107
108
|
id: string;
|
108
109
|
chainId: number;
|
110
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
109
111
|
icon: string;
|
110
112
|
isNative: boolean;
|
111
113
|
isPoint: boolean;
|
@@ -128,6 +130,7 @@ export declare const v4: Elysia<"/v4", {
|
|
128
130
|
address: string;
|
129
131
|
id: string;
|
130
132
|
chainId: number;
|
133
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
131
134
|
icon: string;
|
132
135
|
isNative: boolean;
|
133
136
|
isPoint: boolean;
|
@@ -175,6 +178,7 @@ export declare const v4: Elysia<"/v4", {
|
|
175
178
|
address: string;
|
176
179
|
id: string;
|
177
180
|
chainId: number;
|
181
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
178
182
|
icon: string;
|
179
183
|
isNative: boolean;
|
180
184
|
isPoint: boolean;
|
@@ -257,6 +261,7 @@ export declare const v4: Elysia<"/v4", {
|
|
257
261
|
campaigns?: boolean | undefined;
|
258
262
|
point?: boolean | undefined;
|
259
263
|
test?: boolean | undefined;
|
264
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
260
265
|
excludeSubCampaigns?: boolean | undefined;
|
261
266
|
};
|
262
267
|
headers: unknown;
|
@@ -308,6 +313,7 @@ export declare const v4: Elysia<"/v4", {
|
|
308
313
|
address: string;
|
309
314
|
id: string;
|
310
315
|
chainId: number;
|
316
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
311
317
|
icon: string;
|
312
318
|
isNative: boolean;
|
313
319
|
isPoint: boolean;
|
@@ -330,6 +336,7 @@ export declare const v4: Elysia<"/v4", {
|
|
330
336
|
address: string;
|
331
337
|
id: string;
|
332
338
|
chainId: number;
|
339
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
333
340
|
icon: string;
|
334
341
|
isNative: boolean;
|
335
342
|
isPoint: boolean;
|
@@ -395,6 +402,7 @@ export declare const v4: Elysia<"/v4", {
|
|
395
402
|
campaigns?: boolean | undefined;
|
396
403
|
point?: boolean | undefined;
|
397
404
|
test?: boolean | undefined;
|
405
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
398
406
|
excludeSubCampaigns?: boolean | undefined;
|
399
407
|
};
|
400
408
|
headers: unknown;
|
@@ -446,6 +454,7 @@ export declare const v4: Elysia<"/v4", {
|
|
446
454
|
address: string;
|
447
455
|
id: string;
|
448
456
|
chainId: number;
|
457
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
449
458
|
icon: string;
|
450
459
|
isNative: boolean;
|
451
460
|
isPoint: boolean;
|
@@ -468,6 +477,7 @@ export declare const v4: Elysia<"/v4", {
|
|
468
477
|
address: string;
|
469
478
|
id: string;
|
470
479
|
chainId: number;
|
480
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
471
481
|
icon: string;
|
472
482
|
isNative: boolean;
|
473
483
|
isPoint: boolean;
|
@@ -515,6 +525,7 @@ export declare const v4: Elysia<"/v4", {
|
|
515
525
|
address: string;
|
516
526
|
id: string;
|
517
527
|
chainId: number;
|
528
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
518
529
|
icon: string;
|
519
530
|
isNative: boolean;
|
520
531
|
isPoint: boolean;
|
@@ -611,6 +622,7 @@ export declare const v4: Elysia<"/v4", {
|
|
611
622
|
tags?: string | undefined;
|
612
623
|
test?: boolean | undefined;
|
613
624
|
page?: number | undefined;
|
625
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
614
626
|
excludeSubCampaigns?: boolean | undefined;
|
615
627
|
minimumTvl?: number | undefined;
|
616
628
|
maximumTvl?: number | undefined;
|
@@ -667,6 +679,7 @@ export declare const v4: Elysia<"/v4", {
|
|
667
679
|
address: string;
|
668
680
|
id: string;
|
669
681
|
chainId: number;
|
682
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
670
683
|
icon: string;
|
671
684
|
isNative: boolean;
|
672
685
|
isPoint: boolean;
|
@@ -689,6 +702,7 @@ export declare const v4: Elysia<"/v4", {
|
|
689
702
|
address: string;
|
690
703
|
id: string;
|
691
704
|
chainId: number;
|
705
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
692
706
|
icon: string;
|
693
707
|
isNative: boolean;
|
694
708
|
isPoint: boolean;
|
@@ -757,6 +771,7 @@ export declare const v4: Elysia<"/v4", {
|
|
757
771
|
tags?: string | undefined;
|
758
772
|
test?: boolean | undefined;
|
759
773
|
page?: number | undefined;
|
774
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
760
775
|
excludeSubCampaigns?: boolean | undefined;
|
761
776
|
minimumTvl?: number | undefined;
|
762
777
|
maximumTvl?: number | undefined;
|
@@ -807,6 +822,7 @@ export declare const v4: Elysia<"/v4", {
|
|
807
822
|
tags?: string | undefined;
|
808
823
|
test?: boolean | undefined;
|
809
824
|
page?: number | undefined;
|
825
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
810
826
|
excludeSubCampaigns?: boolean | undefined;
|
811
827
|
minimumTvl?: number | undefined;
|
812
828
|
maximumTvl?: number | undefined;
|
@@ -864,6 +880,7 @@ export declare const v4: Elysia<"/v4", {
|
|
864
880
|
tags?: string | undefined;
|
865
881
|
test?: boolean | undefined;
|
866
882
|
page?: number | undefined;
|
883
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
867
884
|
excludeSubCampaigns?: boolean | undefined;
|
868
885
|
minimumTvl?: number | undefined;
|
869
886
|
maximumTvl?: number | undefined;
|
@@ -923,6 +940,7 @@ export declare const v4: Elysia<"/v4", {
|
|
923
940
|
tags?: string | undefined;
|
924
941
|
test?: boolean | undefined;
|
925
942
|
page?: number | undefined;
|
943
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
926
944
|
excludeSubCampaigns?: boolean | undefined;
|
927
945
|
minimumTvl?: number | undefined;
|
928
946
|
maximumTvl?: number | undefined;
|
@@ -979,6 +997,7 @@ export declare const v4: Elysia<"/v4", {
|
|
979
997
|
tags?: string | undefined;
|
980
998
|
test?: boolean | undefined;
|
981
999
|
page?: number | undefined;
|
1000
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
982
1001
|
excludeSubCampaigns?: boolean | undefined;
|
983
1002
|
minimumTvl?: number | undefined;
|
984
1003
|
maximumTvl?: number | undefined;
|
@@ -1036,6 +1055,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1036
1055
|
tags?: string | undefined;
|
1037
1056
|
test?: boolean | undefined;
|
1038
1057
|
page?: number | undefined;
|
1058
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1039
1059
|
excludeSubCampaigns?: boolean | undefined;
|
1040
1060
|
minimumTvl?: number | undefined;
|
1041
1061
|
maximumTvl?: number | undefined;
|
@@ -1557,6 +1577,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1557
1577
|
address: string;
|
1558
1578
|
id: string;
|
1559
1579
|
chainId: number;
|
1580
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1560
1581
|
icon: string;
|
1561
1582
|
isNative: boolean;
|
1562
1583
|
isPoint: boolean;
|
@@ -1807,6 +1828,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1807
1828
|
creatorTag?: string | undefined;
|
1808
1829
|
distributionChainIds?: number[] | undefined;
|
1809
1830
|
types?: string[] | undefined;
|
1831
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1810
1832
|
withOpportunity?: boolean | undefined;
|
1811
1833
|
createdAfter?: Date | null | undefined;
|
1812
1834
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -1848,6 +1870,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1848
1870
|
address: string;
|
1849
1871
|
id: string;
|
1850
1872
|
chainId: number;
|
1873
|
+
type: "TOKEN" | "PRETGE" | "POINT";
|
1851
1874
|
icon: string;
|
1852
1875
|
isNative: boolean;
|
1853
1876
|
isPoint: boolean;
|
@@ -1919,6 +1942,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1919
1942
|
creatorTag?: string | undefined;
|
1920
1943
|
distributionChainIds?: number[] | undefined;
|
1921
1944
|
types?: string[] | undefined;
|
1945
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1922
1946
|
withOpportunity?: boolean | undefined;
|
1923
1947
|
createdAfter?: Date | null | undefined;
|
1924
1948
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -1969,6 +1993,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1969
1993
|
creatorTag?: string | undefined;
|
1970
1994
|
distributionChainIds?: number[] | undefined;
|
1971
1995
|
types?: string[] | undefined;
|
1996
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
1972
1997
|
withOpportunity?: boolean | undefined;
|
1973
1998
|
createdAfter?: Date | null | undefined;
|
1974
1999
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2024,6 +2049,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2024
2049
|
creatorTag?: string | undefined;
|
2025
2050
|
distributionChainIds?: number[] | undefined;
|
2026
2051
|
types?: string[] | undefined;
|
2052
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2027
2053
|
withOpportunity?: boolean | undefined;
|
2028
2054
|
createdAfter?: Date | null | undefined;
|
2029
2055
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2082,6 +2108,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2082
2108
|
creatorTag?: string | undefined;
|
2083
2109
|
distributionChainIds?: number[] | undefined;
|
2084
2110
|
types?: string[] | undefined;
|
2111
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2085
2112
|
withOpportunity?: boolean | undefined;
|
2086
2113
|
createdAfter?: Date | null | undefined;
|
2087
2114
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2137,6 +2164,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2137
2164
|
creatorTag?: string | undefined;
|
2138
2165
|
distributionChainIds?: number[] | undefined;
|
2139
2166
|
types?: string[] | undefined;
|
2167
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2140
2168
|
withOpportunity?: boolean | undefined;
|
2141
2169
|
createdAfter?: Date | null | undefined;
|
2142
2170
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2192,6 +2220,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2192
2220
|
creatorTag?: string | undefined;
|
2193
2221
|
distributionChainIds?: number[] | undefined;
|
2194
2222
|
types?: string[] | undefined;
|
2223
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2195
2224
|
withOpportunity?: boolean | undefined;
|
2196
2225
|
createdAfter?: Date | null | undefined;
|
2197
2226
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2246,6 +2275,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2246
2275
|
creatorTag?: string | undefined;
|
2247
2276
|
distributionChainIds?: number[] | undefined;
|
2248
2277
|
types?: string[] | undefined;
|
2278
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2249
2279
|
withOpportunity?: boolean | undefined;
|
2250
2280
|
createdAfter?: Date | null | undefined;
|
2251
2281
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -2299,6 +2329,7 @@ export declare const v4: Elysia<"/v4", {
|
|
2299
2329
|
creatorTag?: string | undefined;
|
2300
2330
|
distributionChainIds?: number[] | undefined;
|
2301
2331
|
types?: string[] | undefined;
|
2332
|
+
tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
|
2302
2333
|
withOpportunity?: boolean | undefined;
|
2303
2334
|
createdAfter?: Date | null | undefined;
|
2304
2335
|
excludeSubCampaigns?: boolean | undefined;
|
@@ -3480,7 +3511,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3480
3511
|
} & {
|
3481
3512
|
post: {
|
3482
3513
|
body: {
|
3483
|
-
|
3514
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
3484
3515
|
isTest?: boolean | undefined;
|
3485
3516
|
address: string;
|
3486
3517
|
chainId: number;
|
@@ -3526,6 +3557,7 @@ export declare const v4: Elysia<"/v4", {
|
|
3526
3557
|
patch: {
|
3527
3558
|
body: {
|
3528
3559
|
name?: string | undefined;
|
3560
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
3529
3561
|
icon?: string | undefined;
|
3530
3562
|
isPoint?: boolean | undefined;
|
3531
3563
|
isPreTGE?: boolean | undefined;
|
@@ -329,7 +329,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
329
329
|
} & {
|
330
330
|
post: {
|
331
331
|
body: {
|
332
|
-
|
332
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
333
333
|
isTest?: boolean | undefined;
|
334
334
|
address: string;
|
335
335
|
chainId: number;
|
@@ -375,6 +375,7 @@ export declare const TokenController: Elysia<"/tokens", {
|
|
375
375
|
patch: {
|
376
376
|
body: {
|
377
377
|
name?: string | undefined;
|
378
|
+
type?: "TOKEN" | "PRETGE" | "POINT" | undefined;
|
378
379
|
icon?: string | undefined;
|
379
380
|
isPoint?: boolean | undefined;
|
380
381
|
isPreTGE?: boolean | undefined;
|
@@ -27,6 +27,11 @@ export declare const TokenResourceDto: import("@sinclair/typebox").TObject<{
|
|
27
27
|
isPreTGE: import("@sinclair/typebox").TBoolean;
|
28
28
|
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TNull]>>;
|
29
29
|
symbol: import("@sinclair/typebox").TString;
|
30
|
+
type: import("@sinclair/typebox").TEnum<{
|
31
|
+
readonly TOKEN: "TOKEN";
|
32
|
+
readonly PRETGE: "PRETGE";
|
33
|
+
readonly POINT: "POINT";
|
34
|
+
}>;
|
30
35
|
}>;
|
31
36
|
export declare const FindUniqueTokenDto: import("@sinclair/typebox").TObject<{
|
32
37
|
id: import("@sinclair/typebox").TString;
|
@@ -70,6 +75,11 @@ export declare const UpdateTokenDto: import("@sinclair/typebox").TObject<{
|
|
70
75
|
isTest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
71
76
|
isPoint: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
72
77
|
isPreTGE: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
78
|
+
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
79
|
+
readonly TOKEN: "TOKEN";
|
80
|
+
readonly PRETGE: "PRETGE";
|
81
|
+
readonly POINT: "POINT";
|
82
|
+
}>>;
|
73
83
|
verified: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
74
84
|
icon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
75
85
|
displaySymbol: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
@@ -81,7 +91,11 @@ export declare const CreateTokenDto: import("@sinclair/typebox").TObject<{
|
|
81
91
|
icon: import("@sinclair/typebox").TString;
|
82
92
|
verified: import("@sinclair/typebox").TBoolean;
|
83
93
|
isTest: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
84
|
-
|
94
|
+
type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
95
|
+
readonly TOKEN: "TOKEN";
|
96
|
+
readonly PRETGE: "PRETGE";
|
97
|
+
readonly POINT: "POINT";
|
98
|
+
}>>;
|
85
99
|
}>;
|
86
100
|
export declare const NotionWebhookAddTokenDto: import("@sinclair/typebox").TObject<{
|
87
101
|
data: import("@sinclair/typebox").TObject<{
|
@@ -121,5 +135,8 @@ export declare const NotionWebhookAddTokenDto: import("@sinclair/typebox").TObje
|
|
121
135
|
export type TokenModel = typeof TokenDto.static;
|
122
136
|
export type GetTokenQueryModel = typeof GetTokenQueryDto.static;
|
123
137
|
export type UpdateTokenModel = typeof UpdateTokenDto.static;
|
124
|
-
export type CreateTokenModel = typeof CreateTokenDto.static
|
138
|
+
export type CreateTokenModel = typeof CreateTokenDto.static & {
|
139
|
+
isPoint?: boolean;
|
140
|
+
isPreTGE?: boolean;
|
141
|
+
};
|
125
142
|
export type NotionWebhookModel = typeof NotionWebhookAddTokenDto.static;
|