@merkl/api 1.14.26 → 1.16.6
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/constants.js.map +1 -1
- package/dist/src/eden/index.d.ts +519 -35
- package/dist/src/engine/deprecated/dynamicData/implementations/EventBased.js.map +1 -1
- package/dist/src/engine/implementations/AaveNetBorrowing/metadata.js.map +1 -1
- package/dist/src/engine/implementations/AaveNetLending/metadata.js.map +1 -1
- package/dist/src/engine/implementations/AaveV4Hub/metadata.d.ts +41 -0
- package/dist/src/engine/implementations/AaveV4Hub/metadata.js.map +1 -0
- package/dist/src/engine/implementations/AaveV4Spoke/metadata.d.ts +40 -0
- package/dist/src/engine/implementations/AaveV4Spoke/metadata.js.map +1 -0
- package/dist/src/engine/implementations/Blend/metadata.js.map +1 -1
- package/dist/src/engine/implementations/Blend/tvl.d.ts +13 -0
- package/dist/src/engine/implementations/Blend/tvl.js.map +1 -0
- package/dist/src/engine/implementations/Ekubo/tvl.js.map +1 -1
- package/dist/src/engine/implementations/FluidVault/tvl.js.map +1 -1
- package/dist/src/engine/implementations/SacHolder/tvl.d.ts +12 -0
- package/dist/src/engine/implementations/SacHolder/tvl.js.map +1 -0
- package/dist/src/engine/implementations/clamm/utils.js.map +1 -1
- package/dist/src/engine/implementations/morphoCollateral/tvl.js.map +1 -1
- package/dist/src/engine/implementations/uniswapv4/tvl.js.map +1 -1
- package/dist/src/engine/metadata/factory.js.map +1 -1
- package/dist/src/engine/tvl/factory.js.map +1 -1
- package/dist/src/engine/tvl/logStates.js.map +1 -1
- package/dist/src/index.d.ts +593 -38
- package/dist/src/jobs/auto-claim-etl/config.d.ts +2 -0
- package/dist/src/jobs/auto-claim-etl/config.js.map +1 -0
- package/dist/src/jobs/auto-claim-etl/index.js.map +1 -0
- package/dist/src/jobs/diff-breakdown-etl/index.js.map +1 -1
- package/dist/src/jobs/diff-etl/index.js.map +1 -1
- package/dist/src/jobs/leaf-breakdown-etl/index.js.map +1 -1
- package/dist/src/jobs/leaf-etl/index.js.map +1 -1
- package/dist/src/jobs/reward-breakdowns-etl/index.js.map +1 -1
- package/dist/src/jobs/rewards-etl/index.js.map +1 -1
- package/dist/src/jobs/tx-executor/hooks/auto-claim.d.ts +10 -0
- package/dist/src/jobs/tx-executor/hooks/auto-claim.js.map +1 -0
- package/dist/src/jobs/tx-executor/hooks/index.d.ts +9 -0
- package/dist/src/jobs/tx-executor/hooks/index.js.map +1 -0
- package/dist/src/jobs/tx-executor/index.d.ts +1 -0
- package/dist/src/jobs/tx-executor/index.js.map +1 -0
- package/dist/src/jobs/tx-executor/process.d.ts +11 -0
- package/dist/src/jobs/tx-executor/process.js.map +1 -0
- package/dist/src/jobs/tx-executor/types.d.ts +56 -0
- package/dist/src/jobs/tx-executor/types.js.map +1 -0
- package/dist/src/jobs/update-commit-stats.d.ts +1 -0
- package/dist/src/jobs/update-commit-stats.js.map +1 -0
- package/dist/src/jobs/update-rpc-calls-cache.js.map +1 -1
- package/dist/src/jobs/utils/etl.d.ts +4 -32
- package/dist/src/jobs/utils/etl.js.map +1 -1
- package/dist/src/modules/v4/autoclaim/autoclaim.controller.d.ts +430 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.controller.js.map +1 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.model.d.ts +52 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.model.js.map +1 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.pricing.d.ts +10 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.pricing.js.map +1 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.repository.d.ts +260 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.repository.js.map +1 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.service.d.ts +219 -0
- package/dist/src/modules/v4/autoclaim/autoclaim.service.js.map +1 -0
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +3 -1
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +3 -1
- package/dist/src/modules/v4/blacklist/blacklist.service.js.map +1 -1
- package/dist/src/modules/v4/cache/cache.repository.d.ts +2 -0
- package/dist/src/modules/v4/cache/cache.repository.js.map +1 -1
- package/dist/src/modules/v4/cache/cache.service.d.ts +4 -0
- package/dist/src/modules/v4/cache/cache.service.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +16 -4
- package/dist/src/modules/v4/campaign/campaign.controller.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.formatter.d.ts +2 -1
- package/dist/src/modules/v4/campaign/campaign.formatter.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +4 -2
- package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +70 -70
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +11 -0
- package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +24 -10
- package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +4 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +1 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +1 -1
- package/dist/src/modules/v4/campaignToProcess/campaignToProcess.repository.js.map +1 -1
- package/dist/src/modules/v4/chain/chain.service.d.ts +1 -0
- package/dist/src/modules/v4/chain/chain.service.js.map +1 -1
- package/dist/src/modules/v4/claims/claims.service.js.map +1 -1
- package/dist/src/modules/v4/clamm/clamm.controller.js.map +1 -1
- package/dist/src/modules/v4/clamm/clamm.service.js.map +1 -1
- package/dist/src/modules/v4/coingecko/coingecko.service.js.map +1 -1
- package/dist/src/modules/v4/config/config.controller.d.ts +1 -0
- package/dist/src/modules/v4/config/config.service.d.ts +1 -0
- package/dist/src/modules/v4/creator/creator.controller.d.ts +6 -1
- package/dist/src/modules/v4/creator/creator.controller.js.map +1 -1
- package/dist/src/modules/v4/creator/creator.model.d.ts +1 -0
- package/dist/src/modules/v4/creator/creator.service.d.ts +3 -1
- package/dist/src/modules/v4/credit/credit.controller.d.ts +181 -0
- package/dist/src/modules/v4/credit/credit.controller.js.map +1 -0
- package/dist/src/modules/v4/credit/credit.model.d.ts +20 -0
- package/dist/src/modules/v4/credit/credit.model.js.map +1 -0
- package/dist/src/modules/v4/credit/credit.repository.d.ts +51 -0
- package/dist/src/modules/v4/credit/credit.repository.js.map +1 -0
- package/dist/src/modules/v4/credit/credit.service.d.ts +52 -0
- package/dist/src/modules/v4/credit/credit.service.js.map +1 -0
- package/dist/src/modules/v4/discord/discord.service.d.ts +1 -6
- package/dist/src/modules/v4/discord/discord.service.js.map +1 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.service.js.map +1 -1
- package/dist/src/modules/v4/enum/enum.service.js.map +1 -1
- package/dist/src/modules/v4/euler/euler.controller.js.map +1 -1
- package/dist/src/modules/v4/euler/euler.service.js.map +1 -1
- package/dist/src/modules/v4/icon/icon.service.d.ts +1 -1
- package/dist/src/modules/v4/icon/icon.service.js.map +1 -1
- package/dist/src/modules/v4/indexingRange/indexingRange.repository.d.ts +5 -0
- package/dist/src/modules/v4/indexingRange/indexingRange.repository.js.map +1 -1
- package/dist/src/modules/v4/leaf/leaf.repository.d.ts +4 -0
- package/dist/src/modules/v4/leaf/leaf.service.d.ts +12 -8
- package/dist/src/modules/v4/leaf/leaf.service.js.map +1 -1
- package/dist/src/modules/v4/leaf/leafClaim.repository.d.ts +9 -3
- package/dist/src/modules/v4/leaf/leafClaim.repository.js.map +1 -1
- package/dist/src/modules/v4/legacy-claims/claims.controller.js.map +1 -1
- package/dist/src/modules/v4/legacy-claims/claims.service.d.ts +0 -12
- package/dist/src/modules/v4/legacy-claims/claims.service.js.map +1 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +0 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.repository.js.map +1 -1
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +8 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.service.js.map +1 -1
- package/dist/src/modules/v4/node/nodeStatus.service.js.map +1 -1
- package/dist/src/modules/v4/ofac/ofac.controller.js.map +1 -1
- package/dist/src/modules/v4/ofac/ofac.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +16 -0
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +2 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +4 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +9 -0
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +11 -2
- package/dist/src/modules/v4/payload/payload.controller.d.ts +3 -0
- package/dist/src/modules/v4/payload/payload.service.d.ts +4 -0
- package/dist/src/modules/v4/programPayload/programPayload.service.js.map +1 -1
- package/dist/src/modules/v4/protocol/protocol.controller.js.map +1 -1
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +1 -5
- package/dist/src/modules/v4/protocol/protocol.service.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.controller.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +6 -1
- package/dist/src/modules/v4/reward/reward.service.js.map +1 -1
- package/dist/src/modules/v4/router.d.ts +593 -38
- package/dist/src/modules/v4/router.js.map +1 -1
- package/dist/src/modules/v4/stateDescription/stateDescription.controller.js.map +1 -1
- package/dist/src/modules/v4/stateDescription/stateDescription.service.d.ts +0 -6
- package/dist/src/modules/v4/stateDescription/stateDescription.service.js.map +1 -1
- package/dist/src/modules/v4/token/token.service.d.ts +5 -0
- package/dist/src/modules/v4/token/token.service.js.map +1 -1
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +2178 -1650
- package/dist/src/modules/v4/uniswap/uniswap.controller.js.map +1 -1
- package/dist/src/modules/v4/uniswap/uniswap.service.js.map +1 -1
- package/dist/src/modules/v4/user/user.service.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +1299 -1035
- package/dist/src/utils/parseDistributionType.d.ts +268 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/jobs/auto-claim/index.js.map +0 -1
- package/dist/src/modules/v4/bucket/bucket.model.d.ts +0 -9
- package/dist/src/modules/v4/bucket/bucket.model.js.map +0 -1
- package/dist/src/modules/v4/bucket/bucket.service.d.ts +0 -14
- package/dist/src/modules/v4/bucket/bucket.service.js.map +0 -1
- package/dist/src/modules/v4/github/github.controller.d.ts +0 -61
- package/dist/src/modules/v4/github/github.controller.js.map +0 -1
- /package/dist/src/jobs/{auto-claim → auto-claim-etl}/index.d.ts +0 -0
package/dist/src/index.d.ts
CHANGED
|
@@ -568,6 +568,407 @@ declare const app: Elysia<"", {
|
|
|
568
568
|
};
|
|
569
569
|
};
|
|
570
570
|
};
|
|
571
|
+
} & {
|
|
572
|
+
autoclaim: {
|
|
573
|
+
get: {
|
|
574
|
+
body: unknown;
|
|
575
|
+
params: {};
|
|
576
|
+
query: {
|
|
577
|
+
page?: number | undefined;
|
|
578
|
+
items?: number | undefined;
|
|
579
|
+
chainId?: number | undefined;
|
|
580
|
+
scopeType?: "CAMPAIGN" | "CREATOR" | "TOKEN" | "USER" | undefined;
|
|
581
|
+
creatorId?: string | undefined;
|
|
582
|
+
tokenAddress?: string | undefined;
|
|
583
|
+
userAddress?: string | undefined;
|
|
584
|
+
active?: boolean | undefined;
|
|
585
|
+
};
|
|
586
|
+
headers: unknown;
|
|
587
|
+
response: {
|
|
588
|
+
200: ({
|
|
589
|
+
Campaign: {
|
|
590
|
+
id: string;
|
|
591
|
+
computeChainId: number;
|
|
592
|
+
distributionChainId: number;
|
|
593
|
+
campaignId: string;
|
|
594
|
+
type: string;
|
|
595
|
+
distributionType: import("@package/databases").DistributionType;
|
|
596
|
+
subType: number | null;
|
|
597
|
+
rewardTokenId: string;
|
|
598
|
+
amount: string;
|
|
599
|
+
opportunityId: string;
|
|
600
|
+
startTimestamp: bigint;
|
|
601
|
+
endTimestamp: bigint;
|
|
602
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
|
603
|
+
description: string | null;
|
|
604
|
+
pauseCompute: string | null;
|
|
605
|
+
pausePrecompute: string | null;
|
|
606
|
+
dailyRewards: number;
|
|
607
|
+
apr: number;
|
|
608
|
+
creatorAddress: string;
|
|
609
|
+
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
610
|
+
createdAt: Date;
|
|
611
|
+
rootCampaignId: string | null;
|
|
612
|
+
parentCampaignId: string | null;
|
|
613
|
+
isPrivate: boolean;
|
|
614
|
+
campaignEncodingHash: string | null;
|
|
615
|
+
} | null;
|
|
616
|
+
Creator: {
|
|
617
|
+
Credit: {
|
|
618
|
+
creatorId: string;
|
|
619
|
+
amount: number;
|
|
620
|
+
} | null;
|
|
621
|
+
} & {
|
|
622
|
+
id: string;
|
|
623
|
+
icon: string | null;
|
|
624
|
+
name: string;
|
|
625
|
+
rebateFee: number;
|
|
626
|
+
hubspotCompanyId: string | null;
|
|
627
|
+
};
|
|
628
|
+
Token: {
|
|
629
|
+
id: string;
|
|
630
|
+
name: string | null;
|
|
631
|
+
chainId: number;
|
|
632
|
+
address: string;
|
|
633
|
+
decimals: number;
|
|
634
|
+
symbol: string;
|
|
635
|
+
displaySymbol: string;
|
|
636
|
+
icon: string;
|
|
637
|
+
verified: boolean;
|
|
638
|
+
isTest: boolean;
|
|
639
|
+
type: import("@package/databases").TokenType;
|
|
640
|
+
isNative: boolean;
|
|
641
|
+
underlyingTokenId: string | null;
|
|
642
|
+
price: number | null;
|
|
643
|
+
updatedAt: number | null;
|
|
644
|
+
priceSource: string | null;
|
|
645
|
+
} | null;
|
|
646
|
+
User: {
|
|
647
|
+
address: string;
|
|
648
|
+
tags: string[];
|
|
649
|
+
creatorId: string | null;
|
|
650
|
+
} | null;
|
|
651
|
+
} & {
|
|
652
|
+
chainId: number;
|
|
653
|
+
scopeType: import("@package/databases").AutoClaimScopeType;
|
|
654
|
+
scopeId: string;
|
|
655
|
+
creatorId: string;
|
|
656
|
+
tokenAddress: string | null;
|
|
657
|
+
campaignId: string | null;
|
|
658
|
+
userAddress: string | null;
|
|
659
|
+
minimumAmount: number | null;
|
|
660
|
+
minimumInterval: number | null;
|
|
661
|
+
active: boolean;
|
|
662
|
+
pricingConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
663
|
+
})[];
|
|
664
|
+
422: {
|
|
665
|
+
type: "validation";
|
|
666
|
+
on: string;
|
|
667
|
+
summary?: string | undefined;
|
|
668
|
+
message?: string | undefined;
|
|
669
|
+
found?: unknown;
|
|
670
|
+
property?: string | undefined;
|
|
671
|
+
expected?: string | undefined;
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
} & {
|
|
677
|
+
autoclaim: {
|
|
678
|
+
":chainId": {
|
|
679
|
+
":scopeId": {
|
|
680
|
+
get: {
|
|
681
|
+
body: unknown;
|
|
682
|
+
params: {
|
|
683
|
+
chainId: number;
|
|
684
|
+
scopeId: string;
|
|
685
|
+
};
|
|
686
|
+
query: unknown;
|
|
687
|
+
headers: unknown;
|
|
688
|
+
response: {
|
|
689
|
+
200: {
|
|
690
|
+
Campaign: {
|
|
691
|
+
id: string;
|
|
692
|
+
computeChainId: number;
|
|
693
|
+
distributionChainId: number;
|
|
694
|
+
campaignId: string;
|
|
695
|
+
type: string;
|
|
696
|
+
distributionType: import("@package/databases").DistributionType;
|
|
697
|
+
subType: number | null;
|
|
698
|
+
rewardTokenId: string;
|
|
699
|
+
amount: string;
|
|
700
|
+
opportunityId: string;
|
|
701
|
+
startTimestamp: bigint;
|
|
702
|
+
endTimestamp: bigint;
|
|
703
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
|
704
|
+
description: string | null;
|
|
705
|
+
pauseCompute: string | null;
|
|
706
|
+
pausePrecompute: string | null;
|
|
707
|
+
dailyRewards: number;
|
|
708
|
+
apr: number;
|
|
709
|
+
creatorAddress: string;
|
|
710
|
+
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
|
711
|
+
createdAt: Date;
|
|
712
|
+
rootCampaignId: string | null;
|
|
713
|
+
parentCampaignId: string | null;
|
|
714
|
+
isPrivate: boolean;
|
|
715
|
+
campaignEncodingHash: string | null;
|
|
716
|
+
} | null;
|
|
717
|
+
Creator: {
|
|
718
|
+
Credit: {
|
|
719
|
+
creatorId: string;
|
|
720
|
+
amount: number;
|
|
721
|
+
} | null;
|
|
722
|
+
} & {
|
|
723
|
+
id: string;
|
|
724
|
+
icon: string | null;
|
|
725
|
+
name: string;
|
|
726
|
+
rebateFee: number;
|
|
727
|
+
hubspotCompanyId: string | null;
|
|
728
|
+
};
|
|
729
|
+
Token: {
|
|
730
|
+
id: string;
|
|
731
|
+
name: string | null;
|
|
732
|
+
chainId: number;
|
|
733
|
+
address: string;
|
|
734
|
+
decimals: number;
|
|
735
|
+
symbol: string;
|
|
736
|
+
displaySymbol: string;
|
|
737
|
+
icon: string;
|
|
738
|
+
verified: boolean;
|
|
739
|
+
isTest: boolean;
|
|
740
|
+
type: import("@package/databases").TokenType;
|
|
741
|
+
isNative: boolean;
|
|
742
|
+
underlyingTokenId: string | null;
|
|
743
|
+
price: number | null;
|
|
744
|
+
updatedAt: number | null;
|
|
745
|
+
priceSource: string | null;
|
|
746
|
+
} | null;
|
|
747
|
+
User: {
|
|
748
|
+
address: string;
|
|
749
|
+
tags: string[];
|
|
750
|
+
creatorId: string | null;
|
|
751
|
+
} | null;
|
|
752
|
+
} & {
|
|
753
|
+
chainId: number;
|
|
754
|
+
scopeType: import("@package/databases").AutoClaimScopeType;
|
|
755
|
+
scopeId: string;
|
|
756
|
+
creatorId: string;
|
|
757
|
+
tokenAddress: string | null;
|
|
758
|
+
campaignId: string | null;
|
|
759
|
+
userAddress: string | null;
|
|
760
|
+
minimumAmount: number | null;
|
|
761
|
+
minimumInterval: number | null;
|
|
762
|
+
active: boolean;
|
|
763
|
+
pricingConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
764
|
+
};
|
|
765
|
+
422: {
|
|
766
|
+
type: "validation";
|
|
767
|
+
on: string;
|
|
768
|
+
summary?: string | undefined;
|
|
769
|
+
message?: string | undefined;
|
|
770
|
+
found?: unknown;
|
|
771
|
+
property?: string | undefined;
|
|
772
|
+
expected?: string | undefined;
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
} & {
|
|
780
|
+
autoclaim: {
|
|
781
|
+
post: {
|
|
782
|
+
body: {
|
|
783
|
+
chainId: number;
|
|
784
|
+
scopeType: "CAMPAIGN" | "CREATOR" | "TOKEN" | "USER";
|
|
785
|
+
scopeId: string;
|
|
786
|
+
creatorId: string;
|
|
787
|
+
tokenAddress?: string | undefined;
|
|
788
|
+
campaignId?: string | undefined;
|
|
789
|
+
userAddress?: string | undefined;
|
|
790
|
+
minimumAmount?: number | undefined;
|
|
791
|
+
minimumInterval?: number | undefined;
|
|
792
|
+
pricingConfig?: {
|
|
793
|
+
type: import("@package/resources/enums").PricingConfigType.PER_CLAIM;
|
|
794
|
+
pricePerClaim?: number | undefined;
|
|
795
|
+
allowNegativeCredits?: boolean | undefined;
|
|
796
|
+
} | undefined;
|
|
797
|
+
};
|
|
798
|
+
params: {};
|
|
799
|
+
query: unknown;
|
|
800
|
+
headers: {
|
|
801
|
+
authorization: string;
|
|
802
|
+
};
|
|
803
|
+
response: {
|
|
804
|
+
200: {
|
|
805
|
+
chainId: number;
|
|
806
|
+
scopeType: import("@package/databases").AutoClaimScopeType;
|
|
807
|
+
scopeId: string;
|
|
808
|
+
creatorId: string;
|
|
809
|
+
tokenAddress: string | null;
|
|
810
|
+
campaignId: string | null;
|
|
811
|
+
userAddress: string | null;
|
|
812
|
+
minimumAmount: number | null;
|
|
813
|
+
minimumInterval: number | null;
|
|
814
|
+
active: boolean;
|
|
815
|
+
pricingConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
816
|
+
};
|
|
817
|
+
422: {
|
|
818
|
+
type: "validation";
|
|
819
|
+
on: string;
|
|
820
|
+
summary?: string | undefined;
|
|
821
|
+
message?: string | undefined;
|
|
822
|
+
found?: unknown;
|
|
823
|
+
property?: string | undefined;
|
|
824
|
+
expected?: string | undefined;
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
} & {
|
|
830
|
+
autoclaim: {
|
|
831
|
+
":chainId": {
|
|
832
|
+
":scopeId": {
|
|
833
|
+
tracked: {
|
|
834
|
+
get: {
|
|
835
|
+
body: unknown;
|
|
836
|
+
params: {
|
|
837
|
+
chainId: number;
|
|
838
|
+
scopeId: string;
|
|
839
|
+
};
|
|
840
|
+
query: unknown;
|
|
841
|
+
headers: {
|
|
842
|
+
authorization: string;
|
|
843
|
+
};
|
|
844
|
+
response: {
|
|
845
|
+
200: {
|
|
846
|
+
recipient: string;
|
|
847
|
+
tokenAddress: string;
|
|
848
|
+
tokenSymbol: string;
|
|
849
|
+
tokenDecimals: number;
|
|
850
|
+
tokenIcon: string;
|
|
851
|
+
distributionChainId: number;
|
|
852
|
+
amount: string;
|
|
853
|
+
claimed: string;
|
|
854
|
+
unclaimed: string;
|
|
855
|
+
unclaimedUsd: number;
|
|
856
|
+
proof: string[];
|
|
857
|
+
root: string;
|
|
858
|
+
lastClaimedTimestamp: number | undefined;
|
|
859
|
+
}[];
|
|
860
|
+
422: {
|
|
861
|
+
type: "validation";
|
|
862
|
+
on: string;
|
|
863
|
+
summary?: string | undefined;
|
|
864
|
+
message?: string | undefined;
|
|
865
|
+
found?: unknown;
|
|
866
|
+
property?: string | undefined;
|
|
867
|
+
expected?: string | undefined;
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
} & {
|
|
876
|
+
autoclaim: {
|
|
877
|
+
":chainId": {
|
|
878
|
+
":scopeId": {
|
|
879
|
+
claims: {
|
|
880
|
+
get: {
|
|
881
|
+
body: unknown;
|
|
882
|
+
params: {
|
|
883
|
+
chainId: number;
|
|
884
|
+
scopeId: string;
|
|
885
|
+
};
|
|
886
|
+
query: unknown;
|
|
887
|
+
headers: {
|
|
888
|
+
authorization: string;
|
|
889
|
+
};
|
|
890
|
+
response: {
|
|
891
|
+
200: {
|
|
892
|
+
recipient: string;
|
|
893
|
+
tokenAddress: string;
|
|
894
|
+
tokenSymbol: string;
|
|
895
|
+
tokenDecimals: number;
|
|
896
|
+
tokenIcon: string;
|
|
897
|
+
distributionChainId: number;
|
|
898
|
+
amount: string;
|
|
899
|
+
claimed: string;
|
|
900
|
+
unclaimed: string;
|
|
901
|
+
unclaimedUsd: number;
|
|
902
|
+
proof: string[];
|
|
903
|
+
root: string;
|
|
904
|
+
lastClaimedTimestamp: number | undefined;
|
|
905
|
+
}[];
|
|
906
|
+
422: {
|
|
907
|
+
type: "validation";
|
|
908
|
+
on: string;
|
|
909
|
+
summary?: string | undefined;
|
|
910
|
+
message?: string | undefined;
|
|
911
|
+
found?: unknown;
|
|
912
|
+
property?: string | undefined;
|
|
913
|
+
expected?: string | undefined;
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
} & {
|
|
922
|
+
autoclaim: {
|
|
923
|
+
":chainId": {
|
|
924
|
+
":scopeId": {
|
|
925
|
+
patch: {
|
|
926
|
+
body: {
|
|
927
|
+
minimumAmount?: number | undefined;
|
|
928
|
+
minimumInterval?: number | undefined;
|
|
929
|
+
active?: boolean | undefined;
|
|
930
|
+
pricingConfig?: {
|
|
931
|
+
type: import("@package/resources/enums").PricingConfigType.PER_CLAIM;
|
|
932
|
+
pricePerClaim?: number | undefined;
|
|
933
|
+
allowNegativeCredits?: boolean | undefined;
|
|
934
|
+
} | null | undefined;
|
|
935
|
+
};
|
|
936
|
+
params: {
|
|
937
|
+
chainId: number;
|
|
938
|
+
scopeId: string;
|
|
939
|
+
};
|
|
940
|
+
query: unknown;
|
|
941
|
+
headers: {
|
|
942
|
+
authorization: string;
|
|
943
|
+
};
|
|
944
|
+
response: {
|
|
945
|
+
200: {
|
|
946
|
+
chainId: number;
|
|
947
|
+
scopeType: import("@package/databases").AutoClaimScopeType;
|
|
948
|
+
scopeId: string;
|
|
949
|
+
creatorId: string;
|
|
950
|
+
tokenAddress: string | null;
|
|
951
|
+
campaignId: string | null;
|
|
952
|
+
userAddress: string | null;
|
|
953
|
+
minimumAmount: number | null;
|
|
954
|
+
minimumInterval: number | null;
|
|
955
|
+
active: boolean;
|
|
956
|
+
pricingConfig: import("@prisma/client/runtime/client").JsonValue;
|
|
957
|
+
};
|
|
958
|
+
422: {
|
|
959
|
+
type: "validation";
|
|
960
|
+
on: string;
|
|
961
|
+
summary?: string | undefined;
|
|
962
|
+
message?: string | undefined;
|
|
963
|
+
found?: unknown;
|
|
964
|
+
property?: string | undefined;
|
|
965
|
+
expected?: string | undefined;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
};
|
|
971
|
+
};
|
|
571
972
|
} & {
|
|
572
973
|
blacklists: {
|
|
573
974
|
get: {
|
|
@@ -607,7 +1008,9 @@ declare const app: Elysia<"", {
|
|
|
607
1008
|
params: {};
|
|
608
1009
|
query: unknown;
|
|
609
1010
|
headers: unknown;
|
|
610
|
-
response: {
|
|
1011
|
+
response: {
|
|
1012
|
+
200: Record<string, boolean>;
|
|
1013
|
+
};
|
|
611
1014
|
};
|
|
612
1015
|
};
|
|
613
1016
|
};
|
|
@@ -889,7 +1292,7 @@ declare const app: Elysia<"", {
|
|
|
889
1292
|
authorization: string;
|
|
890
1293
|
};
|
|
891
1294
|
response: {
|
|
892
|
-
200: Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
1295
|
+
200: Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "pausePrecompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
893
1296
|
subType: number | null;
|
|
894
1297
|
startTimestamp: number;
|
|
895
1298
|
endTimestamp: number;
|
|
@@ -897,6 +1300,7 @@ declare const app: Elysia<"", {
|
|
|
897
1300
|
parentCampaignId?: string | undefined;
|
|
898
1301
|
rootCampaignId?: string | undefined;
|
|
899
1302
|
pauseCompute?: string | undefined;
|
|
1303
|
+
pausePrecompute?: string | undefined;
|
|
900
1304
|
} & {
|
|
901
1305
|
Opportunity: {
|
|
902
1306
|
chainId: number;
|
|
@@ -1146,6 +1550,7 @@ declare const app: Elysia<"", {
|
|
|
1146
1550
|
onChainCampaignId?: string | undefined;
|
|
1147
1551
|
}[] | undefined;
|
|
1148
1552
|
pauseCompute?: string | null | undefined;
|
|
1553
|
+
pausePrecompute?: string | null | undefined;
|
|
1149
1554
|
hasOverrides?: boolean | undefined;
|
|
1150
1555
|
isPrivate: boolean;
|
|
1151
1556
|
campaignEncodingHash?: string | undefined;
|
|
@@ -1272,6 +1677,7 @@ declare const app: Elysia<"", {
|
|
|
1272
1677
|
params: unknown;
|
|
1273
1678
|
parentCampaignId?: string | null | undefined;
|
|
1274
1679
|
pauseCompute?: string | null | undefined;
|
|
1680
|
+
pausePrecompute?: string | null | undefined;
|
|
1275
1681
|
rewardToken: {
|
|
1276
1682
|
id: string;
|
|
1277
1683
|
name: string | null;
|
|
@@ -1730,6 +2136,7 @@ declare const app: Elysia<"", {
|
|
|
1730
2136
|
onChainCampaignId?: string | undefined;
|
|
1731
2137
|
}[] | undefined;
|
|
1732
2138
|
pauseCompute?: string | null | undefined;
|
|
2139
|
+
pausePrecompute?: string | null | undefined;
|
|
1733
2140
|
hasOverrides?: boolean | undefined;
|
|
1734
2141
|
isPrivate: boolean;
|
|
1735
2142
|
campaignEncodingHash?: string | undefined;
|
|
@@ -2010,6 +2417,7 @@ declare const app: Elysia<"", {
|
|
|
2010
2417
|
onChainCampaignId?: string | undefined;
|
|
2011
2418
|
}[] | undefined;
|
|
2012
2419
|
pauseCompute?: string | null | undefined;
|
|
2420
|
+
pausePrecompute?: string | null | undefined;
|
|
2013
2421
|
hasOverrides?: boolean | undefined;
|
|
2014
2422
|
isPrivate: boolean;
|
|
2015
2423
|
campaignEncodingHash?: string | undefined;
|
|
@@ -2290,6 +2698,7 @@ declare const app: Elysia<"", {
|
|
|
2290
2698
|
onChainCampaignId?: string | undefined;
|
|
2291
2699
|
}[] | undefined;
|
|
2292
2700
|
pauseCompute?: string | null | undefined;
|
|
2701
|
+
pausePrecompute?: string | null | undefined;
|
|
2293
2702
|
hasOverrides?: boolean | undefined;
|
|
2294
2703
|
isPrivate: boolean;
|
|
2295
2704
|
campaignEncodingHash?: string | undefined;
|
|
@@ -2617,6 +3026,7 @@ declare const app: Elysia<"", {
|
|
|
2617
3026
|
onChainCampaignId?: string | undefined;
|
|
2618
3027
|
}[] | undefined;
|
|
2619
3028
|
pauseCompute?: string | null | undefined;
|
|
3029
|
+
pausePrecompute?: string | null | undefined;
|
|
2620
3030
|
hasOverrides?: boolean | undefined;
|
|
2621
3031
|
isPrivate: boolean;
|
|
2622
3032
|
campaignEncodingHash?: string | undefined;
|
|
@@ -2743,6 +3153,7 @@ declare const app: Elysia<"", {
|
|
|
2743
3153
|
params: unknown;
|
|
2744
3154
|
parentCampaignId?: string | null | undefined;
|
|
2745
3155
|
pauseCompute?: string | null | undefined;
|
|
3156
|
+
pausePrecompute?: string | null | undefined;
|
|
2746
3157
|
rewardToken: {
|
|
2747
3158
|
id: string;
|
|
2748
3159
|
name: string | null;
|
|
@@ -3045,7 +3456,7 @@ declare const app: Elysia<"", {
|
|
|
3045
3456
|
authorization: string;
|
|
3046
3457
|
};
|
|
3047
3458
|
response: {
|
|
3048
|
-
200: Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
3459
|
+
200: Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "pausePrecompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
3049
3460
|
subType: number | null;
|
|
3050
3461
|
startTimestamp: number;
|
|
3051
3462
|
endTimestamp: number;
|
|
@@ -3053,6 +3464,7 @@ declare const app: Elysia<"", {
|
|
|
3053
3464
|
parentCampaignId?: string | undefined;
|
|
3054
3465
|
rootCampaignId?: string | undefined;
|
|
3055
3466
|
pauseCompute?: string | undefined;
|
|
3467
|
+
pausePrecompute?: string | undefined;
|
|
3056
3468
|
} & {
|
|
3057
3469
|
Opportunity: {
|
|
3058
3470
|
chainId: number;
|
|
@@ -3215,6 +3627,7 @@ declare const app: Elysia<"", {
|
|
|
3215
3627
|
body: {
|
|
3216
3628
|
description?: string | undefined;
|
|
3217
3629
|
pauseCompute?: string | null | undefined;
|
|
3630
|
+
pausePrecompute?: string | null | undefined;
|
|
3218
3631
|
};
|
|
3219
3632
|
params: {
|
|
3220
3633
|
id: string;
|
|
@@ -3226,7 +3639,7 @@ declare const app: Elysia<"", {
|
|
|
3226
3639
|
authorization: string;
|
|
3227
3640
|
};
|
|
3228
3641
|
response: {
|
|
3229
|
-
200: (Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
3642
|
+
200: (Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "pausePrecompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
3230
3643
|
subType: number | null;
|
|
3231
3644
|
startTimestamp: number;
|
|
3232
3645
|
endTimestamp: number;
|
|
@@ -3234,7 +3647,8 @@ declare const app: Elysia<"", {
|
|
|
3234
3647
|
parentCampaignId?: string | undefined;
|
|
3235
3648
|
rootCampaignId?: string | undefined;
|
|
3236
3649
|
pauseCompute?: string | undefined;
|
|
3237
|
-
|
|
3650
|
+
pausePrecompute?: string | undefined;
|
|
3651
|
+
})[] | (Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "pausePrecompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
3238
3652
|
subType: number | null;
|
|
3239
3653
|
startTimestamp: number;
|
|
3240
3654
|
endTimestamp: number;
|
|
@@ -3242,6 +3656,7 @@ declare const app: Elysia<"", {
|
|
|
3242
3656
|
parentCampaignId?: string | undefined;
|
|
3243
3657
|
rootCampaignId?: string | undefined;
|
|
3244
3658
|
pauseCompute?: string | undefined;
|
|
3659
|
+
pausePrecompute?: string | undefined;
|
|
3245
3660
|
} & {
|
|
3246
3661
|
Opportunity: {
|
|
3247
3662
|
chainId: number;
|
|
@@ -4089,6 +4504,7 @@ declare const app: Elysia<"", {
|
|
|
4089
4504
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
4090
4505
|
description: string | null;
|
|
4091
4506
|
pauseCompute: string | null;
|
|
4507
|
+
pausePrecompute: string | null;
|
|
4092
4508
|
dailyRewards: number;
|
|
4093
4509
|
apr: number;
|
|
4094
4510
|
creatorAddress: string;
|
|
@@ -4954,6 +5370,7 @@ declare const app: Elysia<"", {
|
|
|
4954
5370
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
4955
5371
|
description: string | null;
|
|
4956
5372
|
pauseCompute: string | null;
|
|
5373
|
+
pausePrecompute: string | null;
|
|
4957
5374
|
dailyRewards: number;
|
|
4958
5375
|
apr: number;
|
|
4959
5376
|
creatorAddress: string;
|
|
@@ -5218,6 +5635,7 @@ declare const app: Elysia<"", {
|
|
|
5218
5635
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
5219
5636
|
description: string | null;
|
|
5220
5637
|
pauseCompute: string | null;
|
|
5638
|
+
pausePrecompute: string | null;
|
|
5221
5639
|
dailyRewards: number;
|
|
5222
5640
|
apr: number;
|
|
5223
5641
|
creatorAddress: string;
|
|
@@ -5481,6 +5899,7 @@ declare const app: Elysia<"", {
|
|
|
5481
5899
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
5482
5900
|
description: string | null;
|
|
5483
5901
|
pauseCompute: string | null;
|
|
5902
|
+
pausePrecompute: string | null;
|
|
5484
5903
|
dailyRewards: number;
|
|
5485
5904
|
apr: number;
|
|
5486
5905
|
creatorAddress: string;
|
|
@@ -8903,6 +9322,7 @@ declare const app: Elysia<"", {
|
|
|
8903
9322
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
8904
9323
|
description: string | null;
|
|
8905
9324
|
pauseCompute: string | null;
|
|
9325
|
+
pausePrecompute: string | null;
|
|
8906
9326
|
dailyRewards: number;
|
|
8907
9327
|
apr: number;
|
|
8908
9328
|
creatorAddress: string;
|
|
@@ -9901,6 +10321,7 @@ declare const app: Elysia<"", {
|
|
|
9901
10321
|
maximumDailyRewards?: number | undefined;
|
|
9902
10322
|
status?: string | undefined;
|
|
9903
10323
|
identifier?: string | undefined;
|
|
10324
|
+
id?: string | undefined;
|
|
9904
10325
|
tokens?: string | undefined;
|
|
9905
10326
|
stablecoin?: boolean | undefined;
|
|
9906
10327
|
rewardTokenSymbol?: string | undefined;
|
|
@@ -9959,6 +10380,7 @@ declare const app: Elysia<"", {
|
|
|
9959
10380
|
maximumDailyRewards?: number | undefined;
|
|
9960
10381
|
status?: string | undefined;
|
|
9961
10382
|
identifier?: string | undefined;
|
|
10383
|
+
id?: string | undefined;
|
|
9962
10384
|
tokens?: string | undefined;
|
|
9963
10385
|
stablecoin?: boolean | undefined;
|
|
9964
10386
|
rewardTokenSymbol?: string | undefined;
|
|
@@ -10248,6 +10670,7 @@ declare const app: Elysia<"", {
|
|
|
10248
10670
|
onChainCampaignId?: string | undefined;
|
|
10249
10671
|
}[] | undefined;
|
|
10250
10672
|
pauseCompute?: string | null | undefined;
|
|
10673
|
+
pausePrecompute?: string | null | undefined;
|
|
10251
10674
|
hasOverrides?: boolean | undefined;
|
|
10252
10675
|
isPrivate: boolean;
|
|
10253
10676
|
campaignEncodingHash?: string | undefined;
|
|
@@ -10281,7 +10704,7 @@ declare const app: Elysia<"", {
|
|
|
10281
10704
|
};
|
|
10282
10705
|
headers: unknown;
|
|
10283
10706
|
response: {
|
|
10284
|
-
200: (Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
10707
|
+
200: (Omit<import("./modules/v4/campaign/campaign.model").CampaignWithParams<import("@package/resources/enums").CampaignType>, "createdAt" | "endTimestamp" | "manualOverrides" | "parentCampaignId" | "pauseCompute" | "pausePrecompute" | "rootCampaignId" | "startTimestamp" | "subType"> & {
|
|
10285
10708
|
subType: number | null;
|
|
10286
10709
|
startTimestamp: number;
|
|
10287
10710
|
endTimestamp: number;
|
|
@@ -10289,6 +10712,7 @@ declare const app: Elysia<"", {
|
|
|
10289
10712
|
parentCampaignId?: string | undefined;
|
|
10290
10713
|
rootCampaignId?: string | undefined;
|
|
10291
10714
|
pauseCompute?: string | undefined;
|
|
10715
|
+
pausePrecompute?: string | undefined;
|
|
10292
10716
|
})[] | ({
|
|
10293
10717
|
Opportunity: {
|
|
10294
10718
|
id: string;
|
|
@@ -10334,6 +10758,7 @@ declare const app: Elysia<"", {
|
|
|
10334
10758
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
10335
10759
|
description: string | null;
|
|
10336
10760
|
pauseCompute: string | null;
|
|
10761
|
+
pausePrecompute: string | null;
|
|
10337
10762
|
dailyRewards: number;
|
|
10338
10763
|
apr: number;
|
|
10339
10764
|
creatorAddress: string;
|
|
@@ -10520,6 +10945,149 @@ declare const app: Elysia<"", {
|
|
|
10520
10945
|
};
|
|
10521
10946
|
};
|
|
10522
10947
|
};
|
|
10948
|
+
} & {
|
|
10949
|
+
credits: {
|
|
10950
|
+
":creatorId": {
|
|
10951
|
+
get: {
|
|
10952
|
+
body: unknown;
|
|
10953
|
+
params: {
|
|
10954
|
+
creatorId: string;
|
|
10955
|
+
};
|
|
10956
|
+
query: unknown;
|
|
10957
|
+
headers: unknown;
|
|
10958
|
+
response: {
|
|
10959
|
+
200: {
|
|
10960
|
+
Creator: {
|
|
10961
|
+
id: string;
|
|
10962
|
+
icon: string | null;
|
|
10963
|
+
name: string;
|
|
10964
|
+
rebateFee: number;
|
|
10965
|
+
hubspotCompanyId: string | null;
|
|
10966
|
+
};
|
|
10967
|
+
CreditOperations: {
|
|
10968
|
+
id: string;
|
|
10969
|
+
creatorId: string;
|
|
10970
|
+
type: import("@package/databases").CreditOperationType;
|
|
10971
|
+
amount: number;
|
|
10972
|
+
label: string;
|
|
10973
|
+
timestamp: Date;
|
|
10974
|
+
}[];
|
|
10975
|
+
} & {
|
|
10976
|
+
creatorId: string;
|
|
10977
|
+
amount: number;
|
|
10978
|
+
};
|
|
10979
|
+
422: {
|
|
10980
|
+
type: "validation";
|
|
10981
|
+
on: string;
|
|
10982
|
+
summary?: string | undefined;
|
|
10983
|
+
message?: string | undefined;
|
|
10984
|
+
found?: unknown;
|
|
10985
|
+
property?: string | undefined;
|
|
10986
|
+
expected?: string | undefined;
|
|
10987
|
+
};
|
|
10988
|
+
};
|
|
10989
|
+
};
|
|
10990
|
+
};
|
|
10991
|
+
};
|
|
10992
|
+
} & {
|
|
10993
|
+
credits: {
|
|
10994
|
+
":creatorId": {
|
|
10995
|
+
operations: {
|
|
10996
|
+
get: {
|
|
10997
|
+
body: unknown;
|
|
10998
|
+
params: {
|
|
10999
|
+
creatorId: string;
|
|
11000
|
+
};
|
|
11001
|
+
query: {
|
|
11002
|
+
page?: number | undefined;
|
|
11003
|
+
items?: number | undefined;
|
|
11004
|
+
};
|
|
11005
|
+
headers: unknown;
|
|
11006
|
+
response: {
|
|
11007
|
+
200: {
|
|
11008
|
+
id: string;
|
|
11009
|
+
creatorId: string;
|
|
11010
|
+
type: import("@package/databases").CreditOperationType;
|
|
11011
|
+
amount: number;
|
|
11012
|
+
label: string;
|
|
11013
|
+
timestamp: string;
|
|
11014
|
+
}[];
|
|
11015
|
+
422: {
|
|
11016
|
+
type: "validation";
|
|
11017
|
+
on: string;
|
|
11018
|
+
summary?: string | undefined;
|
|
11019
|
+
message?: string | undefined;
|
|
11020
|
+
found?: unknown;
|
|
11021
|
+
property?: string | undefined;
|
|
11022
|
+
expected?: string | undefined;
|
|
11023
|
+
};
|
|
11024
|
+
};
|
|
11025
|
+
};
|
|
11026
|
+
};
|
|
11027
|
+
};
|
|
11028
|
+
};
|
|
11029
|
+
} & {
|
|
11030
|
+
credits: {
|
|
11031
|
+
post: {
|
|
11032
|
+
body: {
|
|
11033
|
+
creatorId: string;
|
|
11034
|
+
amount: number;
|
|
11035
|
+
label: string;
|
|
11036
|
+
};
|
|
11037
|
+
params: {};
|
|
11038
|
+
query: unknown;
|
|
11039
|
+
headers: {
|
|
11040
|
+
authorization: string;
|
|
11041
|
+
};
|
|
11042
|
+
response: {
|
|
11043
|
+
200: {
|
|
11044
|
+
creatorId: string;
|
|
11045
|
+
amount: number;
|
|
11046
|
+
};
|
|
11047
|
+
422: {
|
|
11048
|
+
type: "validation";
|
|
11049
|
+
on: string;
|
|
11050
|
+
summary?: string | undefined;
|
|
11051
|
+
message?: string | undefined;
|
|
11052
|
+
found?: unknown;
|
|
11053
|
+
property?: string | undefined;
|
|
11054
|
+
expected?: string | undefined;
|
|
11055
|
+
};
|
|
11056
|
+
};
|
|
11057
|
+
};
|
|
11058
|
+
};
|
|
11059
|
+
} & {
|
|
11060
|
+
credits: {
|
|
11061
|
+
subtract: {
|
|
11062
|
+
post: {
|
|
11063
|
+
body: {
|
|
11064
|
+
creatorId: string;
|
|
11065
|
+
amount: number;
|
|
11066
|
+
label: string;
|
|
11067
|
+
};
|
|
11068
|
+
params: {};
|
|
11069
|
+
query: unknown;
|
|
11070
|
+
headers: {
|
|
11071
|
+
authorization: string;
|
|
11072
|
+
};
|
|
11073
|
+
response: {
|
|
11074
|
+
200: {
|
|
11075
|
+
creatorId: string;
|
|
11076
|
+
amount: number;
|
|
11077
|
+
};
|
|
11078
|
+
422: {
|
|
11079
|
+
type: "validation";
|
|
11080
|
+
on: string;
|
|
11081
|
+
summary?: string | undefined;
|
|
11082
|
+
message?: string | undefined;
|
|
11083
|
+
found?: unknown;
|
|
11084
|
+
property?: string | undefined;
|
|
11085
|
+
expected?: string | undefined;
|
|
11086
|
+
};
|
|
11087
|
+
};
|
|
11088
|
+
};
|
|
11089
|
+
};
|
|
11090
|
+
};
|
|
10523
11091
|
} & {
|
|
10524
11092
|
diffs: {
|
|
10525
11093
|
get: {
|
|
@@ -11289,38 +11857,6 @@ declare const app: Elysia<"", {
|
|
|
11289
11857
|
};
|
|
11290
11858
|
};
|
|
11291
11859
|
};
|
|
11292
|
-
} & {
|
|
11293
|
-
github: {
|
|
11294
|
-
get: {
|
|
11295
|
-
body: unknown;
|
|
11296
|
-
params: {};
|
|
11297
|
-
query: {
|
|
11298
|
-
month: number;
|
|
11299
|
-
year: number;
|
|
11300
|
-
};
|
|
11301
|
-
headers: {
|
|
11302
|
-
authorization: string;
|
|
11303
|
-
};
|
|
11304
|
-
response: {
|
|
11305
|
-
200: {
|
|
11306
|
-
count: number;
|
|
11307
|
-
additions: number;
|
|
11308
|
-
deletions: number;
|
|
11309
|
-
author: string;
|
|
11310
|
-
category: string;
|
|
11311
|
-
}[];
|
|
11312
|
-
422: {
|
|
11313
|
-
type: "validation";
|
|
11314
|
-
on: string;
|
|
11315
|
-
summary?: string | undefined;
|
|
11316
|
-
message?: string | undefined;
|
|
11317
|
-
found?: unknown;
|
|
11318
|
-
property?: string | undefined;
|
|
11319
|
-
expected?: string | undefined;
|
|
11320
|
-
};
|
|
11321
|
-
};
|
|
11322
|
-
};
|
|
11323
|
-
};
|
|
11324
11860
|
} & {
|
|
11325
11861
|
"indexing-range": {
|
|
11326
11862
|
workflow: {
|
|
@@ -12343,6 +12879,7 @@ declare const app: Elysia<"", {
|
|
|
12343
12879
|
onChainCampaignId?: string | undefined;
|
|
12344
12880
|
}[] | undefined;
|
|
12345
12881
|
pauseCompute?: string | null | undefined;
|
|
12882
|
+
pausePrecompute?: string | null | undefined;
|
|
12346
12883
|
hasOverrides?: boolean | undefined;
|
|
12347
12884
|
isPrivate: boolean;
|
|
12348
12885
|
campaignEncodingHash?: string | undefined;
|
|
@@ -12662,6 +13199,7 @@ declare const app: Elysia<"", {
|
|
|
12662
13199
|
onChainCampaignId?: string | undefined;
|
|
12663
13200
|
}[] | undefined;
|
|
12664
13201
|
pauseCompute?: string | null | undefined;
|
|
13202
|
+
pausePrecompute?: string | null | undefined;
|
|
12665
13203
|
hasOverrides?: boolean | undefined;
|
|
12666
13204
|
isPrivate: boolean;
|
|
12667
13205
|
campaignEncodingHash?: string | undefined;
|
|
@@ -12941,6 +13479,7 @@ declare const app: Elysia<"", {
|
|
|
12941
13479
|
onChainCampaignId?: string | undefined;
|
|
12942
13480
|
}[] | undefined;
|
|
12943
13481
|
pauseCompute?: string | null | undefined;
|
|
13482
|
+
pausePrecompute?: string | null | undefined;
|
|
12944
13483
|
hasOverrides?: boolean | undefined;
|
|
12945
13484
|
isPrivate: boolean;
|
|
12946
13485
|
campaignEncodingHash?: string | undefined;
|
|
@@ -13261,6 +13800,7 @@ declare const app: Elysia<"", {
|
|
|
13261
13800
|
onChainCampaignId?: string | undefined;
|
|
13262
13801
|
}[] | undefined;
|
|
13263
13802
|
pauseCompute?: string | null | undefined;
|
|
13803
|
+
pausePrecompute?: string | null | undefined;
|
|
13264
13804
|
hasOverrides?: boolean | undefined;
|
|
13265
13805
|
isPrivate: boolean;
|
|
13266
13806
|
campaignEncodingHash?: string | undefined;
|
|
@@ -13385,6 +13925,7 @@ declare const app: Elysia<"", {
|
|
|
13385
13925
|
maximumDailyRewards?: number | undefined;
|
|
13386
13926
|
status?: string | undefined;
|
|
13387
13927
|
identifier?: string | undefined;
|
|
13928
|
+
id?: string | undefined;
|
|
13388
13929
|
campaigns?: boolean | undefined;
|
|
13389
13930
|
tokens?: string | undefined;
|
|
13390
13931
|
stablecoin?: boolean | undefined;
|
|
@@ -13677,6 +14218,7 @@ declare const app: Elysia<"", {
|
|
|
13677
14218
|
onChainCampaignId?: string | undefined;
|
|
13678
14219
|
}[] | undefined;
|
|
13679
14220
|
pauseCompute?: string | null | undefined;
|
|
14221
|
+
pausePrecompute?: string | null | undefined;
|
|
13680
14222
|
hasOverrides?: boolean | undefined;
|
|
13681
14223
|
isPrivate: boolean;
|
|
13682
14224
|
campaignEncodingHash?: string | undefined;
|
|
@@ -13956,6 +14498,7 @@ declare const app: Elysia<"", {
|
|
|
13956
14498
|
onChainCampaignId?: string | undefined;
|
|
13957
14499
|
}[] | undefined;
|
|
13958
14500
|
pauseCompute?: string | null | undefined;
|
|
14501
|
+
pausePrecompute?: string | null | undefined;
|
|
13959
14502
|
hasOverrides?: boolean | undefined;
|
|
13960
14503
|
isPrivate: boolean;
|
|
13961
14504
|
campaignEncodingHash?: string | undefined;
|
|
@@ -14002,6 +14545,7 @@ declare const app: Elysia<"", {
|
|
|
14002
14545
|
maximumDailyRewards?: number | undefined;
|
|
14003
14546
|
status?: string | undefined;
|
|
14004
14547
|
identifier?: string | undefined;
|
|
14548
|
+
id?: string | undefined;
|
|
14005
14549
|
campaigns?: boolean | undefined;
|
|
14006
14550
|
tokens?: string | undefined;
|
|
14007
14551
|
stablecoin?: boolean | undefined;
|
|
@@ -14063,6 +14607,7 @@ declare const app: Elysia<"", {
|
|
|
14063
14607
|
maximumDailyRewards?: number | undefined;
|
|
14064
14608
|
status?: string | undefined;
|
|
14065
14609
|
identifier?: string | undefined;
|
|
14610
|
+
id?: string | undefined;
|
|
14066
14611
|
campaigns?: boolean | undefined;
|
|
14067
14612
|
tokens?: string | undefined;
|
|
14068
14613
|
stablecoin?: boolean | undefined;
|
|
@@ -14131,6 +14676,7 @@ declare const app: Elysia<"", {
|
|
|
14131
14676
|
maximumDailyRewards?: number | undefined;
|
|
14132
14677
|
status?: string | undefined;
|
|
14133
14678
|
identifier?: string | undefined;
|
|
14679
|
+
id?: string | undefined;
|
|
14134
14680
|
campaigns?: boolean | undefined;
|
|
14135
14681
|
tokens?: string | undefined;
|
|
14136
14682
|
stablecoin?: boolean | undefined;
|
|
@@ -14199,6 +14745,7 @@ declare const app: Elysia<"", {
|
|
|
14199
14745
|
maximumDailyRewards?: number | undefined;
|
|
14200
14746
|
status?: string | undefined;
|
|
14201
14747
|
identifier?: string | undefined;
|
|
14748
|
+
id?: string | undefined;
|
|
14202
14749
|
campaigns?: boolean | undefined;
|
|
14203
14750
|
tokens?: string | undefined;
|
|
14204
14751
|
stablecoin?: boolean | undefined;
|
|
@@ -14269,6 +14816,7 @@ declare const app: Elysia<"", {
|
|
|
14269
14816
|
maximumDailyRewards?: number | undefined;
|
|
14270
14817
|
status?: string | undefined;
|
|
14271
14818
|
identifier?: string | undefined;
|
|
14819
|
+
id?: string | undefined;
|
|
14272
14820
|
campaigns?: boolean | undefined;
|
|
14273
14821
|
tokens?: string | undefined;
|
|
14274
14822
|
stablecoin?: boolean | undefined;
|
|
@@ -14336,6 +14884,7 @@ declare const app: Elysia<"", {
|
|
|
14336
14884
|
maximumDailyRewards?: number | undefined;
|
|
14337
14885
|
status?: string | undefined;
|
|
14338
14886
|
identifier?: string | undefined;
|
|
14887
|
+
id?: string | undefined;
|
|
14339
14888
|
campaigns?: boolean | undefined;
|
|
14340
14889
|
tokens?: string | undefined;
|
|
14341
14890
|
stablecoin?: boolean | undefined;
|
|
@@ -14404,6 +14953,7 @@ declare const app: Elysia<"", {
|
|
|
14404
14953
|
maximumDailyRewards?: number | undefined;
|
|
14405
14954
|
status?: string | undefined;
|
|
14406
14955
|
identifier?: string | undefined;
|
|
14956
|
+
id?: string | undefined;
|
|
14407
14957
|
campaigns?: boolean | undefined;
|
|
14408
14958
|
tokens?: string | undefined;
|
|
14409
14959
|
stablecoin?: boolean | undefined;
|
|
@@ -14511,6 +15061,7 @@ declare const app: Elysia<"", {
|
|
|
14511
15061
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
14512
15062
|
description: string | null;
|
|
14513
15063
|
pauseCompute: string | null;
|
|
15064
|
+
pausePrecompute: string | null;
|
|
14514
15065
|
dailyRewards: number;
|
|
14515
15066
|
apr: number;
|
|
14516
15067
|
creatorAddress: string;
|
|
@@ -15014,6 +15565,7 @@ declare const app: Elysia<"", {
|
|
|
15014
15565
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
15015
15566
|
description: string | null;
|
|
15016
15567
|
pauseCompute: string | null;
|
|
15568
|
+
pausePrecompute: string | null;
|
|
15017
15569
|
dailyRewards: number;
|
|
15018
15570
|
apr: number;
|
|
15019
15571
|
creatorAddress: string;
|
|
@@ -15634,6 +16186,7 @@ declare const app: Elysia<"", {
|
|
|
15634
16186
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
15635
16187
|
description: string | null;
|
|
15636
16188
|
pauseCompute: string | null;
|
|
16189
|
+
pausePrecompute: string | null;
|
|
15637
16190
|
dailyRewards: number;
|
|
15638
16191
|
apr: number;
|
|
15639
16192
|
creatorAddress: string;
|
|
@@ -15916,6 +16469,7 @@ declare const app: Elysia<"", {
|
|
|
15916
16469
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
15917
16470
|
description: string | null;
|
|
15918
16471
|
pauseCompute: string | null;
|
|
16472
|
+
pausePrecompute: string | null;
|
|
15919
16473
|
dailyRewards: number;
|
|
15920
16474
|
apr: number;
|
|
15921
16475
|
creatorAddress: string;
|
|
@@ -16199,6 +16753,7 @@ declare const app: Elysia<"", {
|
|
|
16199
16753
|
params: import("@prisma/client/runtime/client").JsonValue;
|
|
16200
16754
|
description: string | null;
|
|
16201
16755
|
pauseCompute: string | null;
|
|
16756
|
+
pausePrecompute: string | null;
|
|
16202
16757
|
dailyRewards: number;
|
|
16203
16758
|
apr: number;
|
|
16204
16759
|
creatorAddress: string;
|