Type Alias ClaimIntegrationPublicParamsType<T>

ClaimIntegrationPublicParamsType<T>: T extends "numUses"
    ? {
        displayAsUnlimited?: boolean;
        hideCurrentState?: boolean;
        maxUses: number;
    }
    : T extends "codes"
        ? {
            hideCurrentState?: boolean;
            numCodes: number;
        }
        : T extends "ip"
            ? {
                maxUsesPerIp: number;
            }
            : T extends OauthAppName
                ? {
                    blacklist?: boolean;
                    hasPrivateList: boolean;
                    maxUsesPerUser?: number;
                }
                : T extends "transferTimes"
                    ? {
                        transferTimes: iUintRange<JSPrimitiveNumberType>[];
                    }
                    : T extends "whitelist"
                        ? {
                            list?: iAddressList;
                            listId?: string;
                            maxUsesPerAddress?: number;
                        }
                        : T extends "geolocation"
                            ? {
                                allowedCountryCodes?: string[];
                                disallowedCountryCodes?: string[];
                                pindrop?: {
                                    latitude: number;
                                    longitude: number;
                                    radius: number;
                                };
                            }
                            : T extends "payments"
                                ? {
                                    paymentAddress: BitBadgesAddress;
                                    usdAmount: number;
                                }
                                : T extends "webhooks" | "successWebhooks"
                                    ? {
                                        passAddress?: boolean;
                                        passDiscord?: boolean;
                                        passEmail?: boolean;
                                        passFarcaster?: boolean;
                                        passGithub?: boolean;
                                        passGoogle?: boolean;
                                        passReddit?: boolean;
                                        passSlack?: boolean;
                                        passStrava?: boolean;
                                        passTelegram?: boolean;
                                        passTwitch?: boolean;
                                        passTwitter?: boolean;
                                        userInputsSchema?: (...)[];
                                    }
                                    : Record<string, any>

Public params are params that are visible to the public. For example, the number of uses for a claim code.

Type Parameters