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 "email"
                ? OAuthAppParams
                : T extends OauthAppName
                    ? OAuthAppParams
                    : T extends "transferTimes"
                        ? {
                            transferTimes: iUintRange<JSPrimitiveNumberType>[];
                        }
                        : T extends "whitelist"
                            ? {
                                hasPrivateList?: boolean;
                                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 (...) | (...)
                                        ? {
                                            passAddress?: ...;
                                            passDiscord?: ...;
                                            passEmail?: ...;
                                            passFarcaster?: ...;
                                            passGithub?: ...;
                                            passGoogle?: ...;
                                            passReddit?: ...;
                                            passSlack?: ...;
                                            passStrava?: ...;
                                            passTelegram?: ...;
                                            passTwitch?: ...;
                                            passTwitter?: ...;
                                            userInputsSchema?: ...;
                                        }
                                        : Record<(...), (...)>

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

Type Parameters