@merkl/api 0.10.192 → 0.10.193

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,11 +12,12 @@ import type { Status } from "../status";
12
12
  export type Campaign<C extends CampaignType = CampaignType> = Resource<"Campaign", "opportunityId" | "rewardTokenId" | "params", {
13
13
  chain: Chain["model"];
14
14
  rewardToken: Token["model"];
15
- params: CampaignParameters<ConvertedCampaignType<C>>["campaignParameters"];
16
15
  distributionChain?: Chain["model"];
17
16
  campaignStatus?: Status["model"];
18
17
  }>;
19
- export type CampaignWithParams<C extends CampaignType = CampaignType> = Campaign<C> & Resource<"Campaign", "opportunityId" | "rewardTokenId" | (keyof Campaign["model"] & keyof Resource<"Campaign">)>;
18
+ export type CampaignWithParams<C extends CampaignType = CampaignType> = Campaign<C> & Resource<"Campaign", "opportunityId" | "rewardTokenId" | (keyof Campaign["model"] & keyof Resource<"Campaign">), {
19
+ params: CampaignParameters<ConvertedCampaignType<C>>["campaignParameters"];
20
+ }>;
20
21
  export declare const campaignTypeToEnumMap: {
21
22
  readonly INVALID: any;
22
23
  readonly CLAMM: any;